/**
 * Content Pages Stylesheet
 *
 * Styles for all secondary/content pages:
 *   - Shared page hero (compact utility header)
 *   - About page
 *   - Contact page
 *   - FAQ accordion
 *   - Shipping & Returns
 *   - Privacy Policy / Legal pages
 *   - Store Finder
 *
 * All values use CSS custom properties from tokens.css / style.css.
 * Mobile-first: base styles are mobile, @media min-width adds desktop layout.
 *
 * @package RetailStoreTheme
 * @since   1.8.0
 */

/* =============================================================================
   SHARED: PAGE HERO (compact utility header)
   Used by Contact, FAQ, Shipping, Privacy, Store Finder pages.
   ============================================================================= */

.rst-page-hero {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    color: var(--color-white);
    padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(2rem, 4vw, 4rem);
}

.rst-page-hero .woocommerce-breadcrumb {
    color: rgba(255, 255, 255, 0.7);
    font-size: var(--font-size-sm);
    margin-bottom: 1rem;
}

.rst-page-hero .woocommerce-breadcrumb a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
}

.rst-page-hero .woocommerce-breadcrumb a:hover {
    color: var(--color-white);
    text-decoration: underline;
}

.rst-page-hero__title {
    font-size: clamp(1.75rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--color-white);
    margin: 0 0 0.75rem;
    line-height: 1.15;
}

.rst-page-hero__sub {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255, 255, 255, 0.9);
    max-width: 65ch;
    margin: 0;
    line-height: 1.6;
}

/* Reassuring variant (Shipping & Returns) — adds highlight list */
.rst-policy__hero-highlights {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.5rem;
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.9);
}

.rst-policy__hero-highlights span {
    color: #6ee7b7; /* soft green for checkmarks */
    font-weight: 700;
    margin-right: 0.25rem;
}


/* =============================================================================
   SHARED: SECTION PATTERNS
   ============================================================================= */

.rst-section {
    padding: clamp(3rem, 7vw, 6rem) 0;
}

.rst-section--alt {
    background-color: var(--color-off-white);
}

.rst-section-title {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 700;
    color: var(--color-primary);
    margin: 0 0 0.75rem;
    line-height: 1.2;
}

.rst-section-title--centered {
    text-align: center;
}

.rst-section-subtitle {
    color: var(--color-dark-gray);
    max-width: 60ch;
    margin: 0 0 2.5rem;
    font-size: 1.05rem;
    line-height: 1.6;
}

.rst-section-title--centered + .rst-section-subtitle {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

/* Shared container width */
.rst-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(1rem, 4vw, 2rem);
}


/* =============================================================================
   SHARED: BUTTON STYLES (referenced across all templates)
   ============================================================================= */

.rst-btn {
    display: inline-block;
    padding: 0.75rem 1.75rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    cursor: pointer;
    border: 2px solid transparent;
    transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.1s;
    line-height: 1;
    text-align: center;
}

.rst-btn:active {
    transform: translateY(1px);
}

.rst-btn--primary {
    background-color: var(--color-accent);
    color: var(--color-white);
    border-color: var(--color-accent);
}

.rst-btn--primary:hover,
.rst-btn--primary:focus-visible {
    background-color: var(--color-accent-light);
    border-color: var(--color-accent-light);
    color: var(--color-white);
}

.rst-btn--secondary {
    background-color: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
}

.rst-btn--secondary:hover,
.rst-btn--secondary:focus-visible {
    background-color: var(--color-primary-light);
    border-color: var(--color-primary-light);
    color: var(--color-white);
}

.rst-btn--outline {
    background-color: transparent;
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.rst-btn--outline:hover,
.rst-btn--outline:focus-visible {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.rst-btn--ghost {
    background-color: transparent;
    color: var(--color-primary);
    border-color: var(--color-light-gray);
    font-weight: 500;
}

.rst-btn--ghost:hover,
.rst-btn--ghost:focus-visible {
    background-color: var(--color-light-gray);
}


/* =============================================================================
   SHARED: FORM FIELDS
   ============================================================================= */

.rst-form-field {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.rst-form-field__label {
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--color-near-black);
}

.rst-form-field__required {
    color: var(--color-error);
    margin-left: 0.2rem;
}

.rst-form-field__optional {
    color: var(--color-dark-gray);
    font-weight: 400;
    margin-left: 0.2rem;
}

.rst-form-field__input,
.rst-form-field__select,
.rst-form-field__textarea {
    width: 100%;
    padding: 0.65rem 0.9rem;
    border: 1px solid var(--color-medium-gray);
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    color: var(--color-near-black);
    background-color: var(--color-white);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.rst-form-field__input:focus,
.rst-form-field__select:focus,
.rst-form-field__textarea:focus {
    outline: none;
    border-color: var(--color-primary-light);
    box-shadow: 0 0 0 3px rgba(37, 99, 168, 0.18);
}

.rst-form-field__input[aria-invalid="true"],
.rst-form-field__select[aria-invalid="true"],
.rst-form-field__textarea[aria-invalid="true"] {
    border-color: var(--color-error);
}

.rst-form-field__textarea {
    resize: vertical;
    min-height: 140px;
}

.rst-form-field__error {
    font-size: 0.82rem;
    color: var(--color-error);
    min-height: 1.2em;
}

.rst-form-field__hint {
    font-size: 0.82rem;
    color: var(--color-dark-gray);
}

/* Checkbox variant */
.rst-form-field--checkbox {
    flex-direction: row;
    align-items: flex-start;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.rst-form-field__checkbox {
    width: 1.2rem;
    height: 1.2rem;
    flex-shrink: 0;
    margin-top: 0.15rem;
    accent-color: var(--color-primary);
}

.rst-form-field__label--checkbox {
    font-weight: 400;
    flex: 1;
    cursor: pointer;
}

.rst-form-field--checkbox .rst-form-field__error {
    width: 100%;
    padding-left: 1.8rem;
}

/* Fieldset reset */
.rst-contact__fieldset {
    border: none;
    padding: 0;
    margin: 0 0 1.5rem;
}

.rst-contact__fieldset-legend {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-dark-gray);
    margin-bottom: 1rem;
}

/* Honeypot */
.rst-contact__honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Screen reader only */
.rst-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}


/* =============================================================================
   SHARED: CTA STRIP
   ============================================================================= */

.rst-cta-strip {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    color: var(--color-white);
    padding: clamp(2.5rem, 5vw, 4rem) 0;
}

.rst-cta-strip__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.5rem 2rem;
}

.rst-cta-strip__title {
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    font-weight: 700;
    color: var(--color-white);
    margin: 0 0 0.4rem;
}

.rst-cta-strip__text p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

.rst-cta-strip__actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    flex-shrink: 0;
}


/* =============================================================================
   ABOUT PAGE
   ============================================================================= */

/* Hero */
.rst-about__hero {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 60%, #1e6b9e 100%);
    color: var(--color-white);
    padding: clamp(4rem, 10vw, 8rem) 0 clamp(3rem, 7vw, 6rem);
    text-align: center;
}

.rst-about__hero-eyebrow {
    font-size: var(--font-size-sm);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.75);
    margin: 0 0 0.75rem;
}

.rst-about__hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    color: var(--color-white);
    line-height: 1.1;
    margin: 0 0 1.25rem;
}

.rst-about__hero-title-accent {
    display: block;
    color: var(--color-accent-light);
}

.rst-about__hero-sub {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255, 255, 255, 0.85);
    max-width: 60ch;
    margin: 0 auto 2rem;
    line-height: 1.65;
}

/* Story two-column */
.rst-about__story-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: start;
}

@media (min-width: 900px) {
    .rst-about__story-grid {
        grid-template-columns: 3fr 2fr;
        gap: 4rem;
        align-items: center;
    }
}

.rst-about__story-text p {
    color: var(--color-dark-gray);
    line-height: 1.75;
    margin: 0 0 1.2rem;
}

.rst-about__story-visual {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.rst-about__story-card {
    background: var(--color-off-white);
    border-left: 4px solid var(--color-primary);
    border-radius: 8px;
    padding: 1.25rem 1.5rem;
}

.rst-about__story-card--offset {
    border-left-color: var(--color-accent);
    margin-left: 1rem;
}

.rst-about__story-card-inner {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.rst-about__story-icon {
    font-size: 1.5rem;
    line-height: 1;
    flex-shrink: 0;
}

.rst-about__story-card-text {
    font-size: var(--font-size-sm);
    color: var(--color-dark-gray);
    margin: 0;
    line-height: 1.6;
}

/* Stats bar */
.rst-about__stats {
    background: var(--color-primary);
    padding: clamp(2.5rem, 5vw, 4rem) 0;
}

.rst-about__stats-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 1rem;
    text-align: center;
}

@media (min-width: 700px) {
    .rst-about__stats-list {
        grid-template-columns: repeat(4, 1fr);
    }
}

.rst-about__stat-number {
    display: block;
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    font-weight: 800;
    color: var(--color-accent-light);
    line-height: 1;
    margin-bottom: 0.4rem;
}

.rst-about__stat-label {
    display: block;
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* Values grid */
.rst-about__values-grid {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 640px) {
    .rst-about__values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.rst-about__value {
    background: var(--color-white);
    border: 1px solid var(--color-light-gray);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: transform 0.2s, box-shadow 0.2s;
}

.rst-about__value:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.09);
}

.rst-about__value-icon {
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.rst-about__value-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-primary);
    margin: 0 0 0.6rem;
}

.rst-about__value-text {
    color: var(--color-dark-gray);
    font-size: var(--font-size-sm);
    line-height: 1.7;
    margin: 0;
}

/* Network */
.rst-about__network-grid {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

@media (min-width: 600px) {
    .rst-about__network-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 900px) {
    .rst-about__network-grid {
        grid-template-columns: repeat(7, 1fr);
    }
}

.rst-about__network-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
    padding: 1.25rem 0.75rem;
    background: var(--color-white);
    border: 1px solid var(--color-light-gray);
    border-radius: 8px;
    gap: 0.3rem;
    transition: border-color 0.2s, background-color 0.2s;
}

.rst-about__network-link:hover {
    border-color: var(--color-primary);
    background-color: rgba(26, 58, 92, 0.04);
}

.rst-about__network-town {
    font-weight: 700;
    color: var(--color-primary);
    font-size: 0.95rem;
}

.rst-about__network-county {
    font-size: 0.78rem;
    color: var(--color-dark-gray);
}

.rst-about__network-cta {
    text-align: center;
    margin-top: 2rem;
}


/* =============================================================================
   CONTACT PAGE
   ============================================================================= */

/* Methods bar */
.rst-contact__methods {
    background: var(--color-white);
    border-bottom: 1px solid var(--color-light-gray);
    padding: 2rem 0;
}

.rst-contact__methods-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 700px) {
    .rst-contact__methods-list {
        grid-template-columns: repeat(3, 1fr);
    }
}

.rst-contact__method {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.rst-contact__method-icon {
    color: var(--color-primary);
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.rst-contact__method-detail {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.rst-contact__method-label {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--color-dark-gray);
    font-weight: 600;
}

.rst-contact__method-value {
    font-weight: 700;
    color: var(--color-primary);
    text-decoration: none;
    font-size: 1rem;
}

.rst-contact__method-value:hover {
    color: var(--color-primary-light);
    text-decoration: underline;
}

.rst-contact__method-sub {
    font-size: 0.82rem;
    color: var(--color-dark-gray);
}

/* Two-column main */
.rst-contact__main-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 960px) {
    .rst-contact__main-grid {
        grid-template-columns: 3fr 2fr;
        gap: 4rem;
        align-items: start;
    }
}

.rst-contact__form-title,
.rst-contact__stores-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    margin: 0 0 1.5rem;
}

/* Form field rows */
.rst-contact__field-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-bottom: 1.25rem;
}

@media (min-width: 560px) {
    .rst-contact__field-row {
        grid-template-columns: 1fr 1fr;
    }
}

.rst-contact__form-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
}

.rst-contact__required-note {
    font-size: var(--font-size-sm);
    color: var(--color-dark-gray);
    margin: 0;
}

/* Submit button states */
.rst-contact__submit--loading .rst-contact__submit-text {
    display: none;
}
.rst-contact__submit-loading {
    display: none;
}
.rst-contact__submit--loading .rst-contact__submit-loading {
    display: inline;
}

/* Status message */
.rst-contact__status {
    border-radius: 6px;
    padding: 0;
    font-weight: 600;
    font-size: var(--font-size-sm);
    margin-bottom: 1.5rem;
    min-height: 0;
    transition: all 0.2s;
}

.rst-contact__status--success {
    background: rgba(45, 122, 58, 0.1);
    color: var(--color-success);
    padding: 1rem 1.25rem;
    border: 1px solid rgba(45, 122, 58, 0.3);
}

.rst-contact__status--error {
    background: rgba(192, 57, 43, 0.08);
    color: var(--color-error);
    padding: 1rem 1.25rem;
    border: 1px solid rgba(192, 57, 43, 0.25);
}

/* Character count */
.rst-contact__char-count {
    text-align: right;
}

/* Store list */
.rst-contact__stores-intro {
    color: var(--color-dark-gray);
    margin: 0 0 1.5rem;
    line-height: 1.6;
}

.rst-contact__store-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.rst-contact__store-card {
    padding: 1.1rem 1.25rem;
    border: 1px solid var(--color-light-gray);
    border-radius: 8px;
    background: var(--color-white);
}

.rst-contact__store-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-primary);
    margin: 0 0 0.4rem;
}

.rst-contact__store-address {
    font-style: normal;
    font-size: var(--font-size-sm);
    color: var(--color-dark-gray);
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    margin-bottom: 0.5rem;
}

.rst-contact__store-phone {
    display: block;
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--color-primary);
    text-decoration: none;
    margin-bottom: 0.25rem;
}

.rst-contact__store-hours {
    font-size: 0.8rem;
    color: var(--color-dark-gray);
    margin: 0;
}

.rst-contact__stores-more {
    width: 100%;
    text-align: center;
}


/* =============================================================================
   FAQ PAGE
   ============================================================================= */

.rst-faq__toc {
    background: var(--color-white);
    border-bottom: 1px solid var(--color-light-gray);
    padding: 0.75rem 0;
    position: sticky;
    top: 0;
    z-index: 50;
}

.rst-faq__toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem 0.5rem;
}

.rst-faq__toc-link {
    display: inline-block;
    padding: 0.4rem 0.85rem;
    border-radius: 20px;
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--color-primary);
    text-decoration: none;
    border: 1px solid var(--color-light-gray);
    transition: background-color 0.2s, border-color 0.2s;
}

.rst-faq__toc-link:hover {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-white);
}

.rst-faq__container {
    max-width: 800px;
}

.rst-faq__category {
    margin-bottom: 3rem;
}

.rst-faq__category-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--color-primary);
    margin: 0 0 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--color-primary);
}

.rst-faq__category-icon {
    font-size: 1.25rem;
}

/* Accordion items */
.rst-faq__item {
    border-bottom: 1px solid var(--color-light-gray);
    overflow: hidden;
}

.rst-faq__item:first-of-type {
    border-top: 1px solid var(--color-light-gray);
}

.rst-faq__question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1.1rem 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-near-black);
    cursor: pointer;
    list-style: none; /* Remove browser default marker */
    user-select: none;
    transition: color 0.15s;
}

/* Remove default details marker in all browsers */
.rst-faq__question::-webkit-details-marker { display: none; }
.rst-faq__question::marker { display: none; content: ''; }

.rst-faq__question:hover {
    color: var(--color-primary);
}

.rst-faq__chevron {
    flex-shrink: 0;
    color: var(--color-primary);
    transition: transform 0.25s;
}

.rst-faq__item[open] > .rst-faq__question .rst-faq__chevron {
    transform: rotate(180deg);
}

.rst-faq__item[open] > .rst-faq__question {
    color: var(--color-primary);
}

/* Answer panel — animated via JS max-height transition */
.rst-faq__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.rst-faq__item[open] > .rst-faq__answer {
    /* JS sets explicit max-height; fallback for no-JS */
    max-height: 1000px;
}

.rst-faq__answer-inner {
    padding: 0.25rem 0 1.25rem;
    color: var(--color-dark-gray);
    line-height: 1.75;
}

.rst-faq__answer-inner p {
    margin: 0;
}

.rst-faq__answer-inner a {
    color: var(--color-primary-light);
    text-decoration: underline;
}

/* Contact prompt */
.rst-faq__contact-prompt {
    margin-top: 1rem;
    padding: 2rem 0;
}

.rst-faq__contact-prompt-inner {
    background: var(--color-off-white);
    border: 1px solid var(--color-light-gray);
    border-radius: 12px;
    padding: 1.75rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    max-width: 800px;
}

.rst-faq__contact-prompt-text {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--color-near-black);
    margin: 0;
}


/* =============================================================================
   SHIPPING & RETURNS
   ============================================================================= */

/* Delivery options cards */
.rst-shipping__options-grid {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 700px) {
    .rst-shipping__options-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.rst-shipping__option-card {
    border: 2px solid var(--color-light-gray);
    border-radius: 12px;
    padding: 2rem 1.5rem;
    background: var(--color-white);
    position: relative;
    text-align: center;
    transition: border-color 0.2s;
}

.rst-shipping__option-card--featured {
    border-color: var(--color-primary);
}

.rst-shipping__option-badge {
    position: absolute;
    top: -0.7rem;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-primary);
    color: var(--color-white);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    white-space: nowrap;
}

.rst-shipping__option-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
    line-height: 1;
}

.rst-shipping__option-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-primary);
    margin: 0 0 0.4rem;
}

.rst-shipping__option-cost {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--color-near-black);
    margin: 0 0 0.25rem;
}

.rst-shipping__option-free {
    font-size: var(--font-size-sm);
    color: var(--color-success);
    font-weight: 600;
    margin: 0 0 0.5rem;
}

.rst-shipping__option-time {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-primary-light);
    margin: 0 0 0.75rem;
}

.rst-shipping__option-note {
    font-size: var(--font-size-sm);
    color: var(--color-dark-gray);
    margin: 0;
    line-height: 1.5;
}

/* Timeline */
.rst-shipping__steps {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    position: relative;
}

@media (min-width: 700px) {
    .rst-shipping__steps {
        grid-template-columns: repeat(3, 1fr);
        gap: 0;
    }

    /* Horizontal connector line between steps */
    .rst-shipping__steps::before {
        content: '';
        position: absolute;
        top: 1.5rem;
        left: calc(100% / 6);
        right: calc(100% / 6);
        height: 2px;
        background: var(--color-primary);
        z-index: 0;
    }
}

.rst-shipping__step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 1;
}

.rst-shipping__step-number {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: var(--color-primary);
    color: var(--color-white);
    font-size: 1.25rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    flex-shrink: 0;
}

.rst-shipping__step-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-primary);
    margin: 0 0 0.5rem;
}

.rst-shipping__step p {
    font-size: var(--font-size-sm);
    color: var(--color-dark-gray);
    line-height: 1.65;
    margin: 0;
    max-width: 22ch;
}

/* Returns methods */
.rst-shipping__returns-methods {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 700px) {
    .rst-shipping__returns-methods {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

.rst-shipping__return-method-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-primary);
    margin: 0 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--color-primary);
}

.rst-shipping__return-steps {
    padding-left: 1.4rem;
    margin: 0;
    color: var(--color-dark-gray);
    line-height: 1.75;
}

.rst-shipping__return-steps li {
    margin-bottom: 0.6rem;
}

/* Policy conditions two columns */
.rst-shipping__conditions-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 700px) {
    .rst-shipping__conditions-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

.rst-shipping__conditions-col-title {
    font-size: 1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 0 1rem;
}

.rst-shipping__conditions-col-title--accept {
    color: var(--color-success);
}

.rst-shipping__conditions-col-title--except {
    color: var(--color-warning);
}

.rst-shipping__conditions-list {
    padding-left: 1.25rem;
    margin: 0;
    color: var(--color-dark-gray);
    line-height: 1.8;
}

/* Refunds */
.rst-shipping__refunds-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 700px) {
    .rst-shipping__refunds-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

.rst-shipping__refund-card {
    background: var(--color-off-white);
    border: 1px solid var(--color-light-gray);
    border-radius: 10px;
    padding: 1.75rem;
}

.rst-shipping__refund-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-primary);
    margin: 0 0 0.75rem;
}

.rst-shipping__refund-card p {
    color: var(--color-dark-gray);
    font-size: var(--font-size-sm);
    line-height: 1.7;
    margin: 0;
}

/* Faulty goods */
.rst-shipping__faulty-content p {
    color: var(--color-dark-gray);
    line-height: 1.75;
    margin: 0 0 1rem;
}

.rst-shipping__faulty-rights {
    background: rgba(37, 99, 168, 0.08);
    border-left: 4px solid var(--color-primary-light);
    border-radius: 4px;
    padding: 1.25rem 1.5rem;
    margin-top: 1.5rem;
}

.rst-shipping__faulty-rights-text {
    font-size: var(--font-size-sm);
    color: var(--color-near-black);
    margin: 0;
    line-height: 1.65;
}


/* =============================================================================
   PRIVACY POLICY / LEGAL PAGES
   ============================================================================= */

.rst-legal__body {
    background: var(--color-white);
}

.rst-legal__layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: start;
}

@media (min-width: 1024px) {
    .rst-legal__layout {
        grid-template-columns: 220px 1fr;
        gap: 4rem;
    }
}

/* Sticky TOC sidebar */
.rst-legal__toc {
    position: sticky;
    top: 2rem;
    background: var(--color-off-white);
    border: 1px solid var(--color-light-gray);
    border-radius: 10px;
    padding: 1.5rem;
}

.rst-legal__toc-heading {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    font-weight: 700;
    color: var(--color-dark-gray);
    margin: 0 0 0.75rem;
}

.rst-legal__toc-list {
    list-style: decimal;
    padding-left: 1.25rem;
    margin: 0;
}

.rst-legal__toc-list li {
    margin-bottom: 0.45rem;
}

.rst-legal__toc-link {
    font-size: var(--font-size-sm);
    color: var(--color-primary);
    text-decoration: none;
    line-height: 1.4;
}

.rst-legal__toc-link:hover {
    text-decoration: underline;
}

/* Legal content prose */
.rst-legal__content section {
    padding-bottom: 2.5rem;
    margin-bottom: 2.5rem;
    border-bottom: 1px solid var(--color-light-gray);
}

.rst-legal__content section:last-child {
    border-bottom: none;
}

.rst-legal__content h2 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--color-primary);
    margin: 0 0 1rem;
}

.rst-legal__content h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-near-black);
    margin: 1.5rem 0 0.6rem;
}

.rst-legal__content p {
    color: var(--color-dark-gray);
    line-height: 1.75;
    margin: 0 0 1rem;
}

.rst-legal__content ul,
.rst-legal__content ol {
    padding-left: 1.5rem;
    margin: 0 0 1.25rem;
    color: var(--color-dark-gray);
    line-height: 1.8;
}

.rst-legal__content li {
    margin-bottom: 0.4rem;
}

/* Definition list */
.rst-legal__definition-list {
    margin: 0 0 1.25rem;
}

.rst-legal__definition-list dt {
    font-weight: 700;
    color: var(--color-primary);
    margin-top: 1rem;
    font-size: 0.95rem;
}

.rst-legal__definition-list dt:first-child {
    margin-top: 0;
}

.rst-legal__definition-list dd {
    margin: 0.25rem 0 0 1.25rem;
    color: var(--color-dark-gray);
    line-height: 1.7;
}

/* Data table */
.rst-legal__table {
    width: 100%;
    border-collapse: collapse;
    font-size: var(--font-size-sm);
    margin: 0 0 1.25rem;
    overflow-x: auto;
    display: block;
}

@media (min-width: 700px) {
    .rst-legal__table {
        display: table;
    }
}

.rst-legal__table th,
.rst-legal__table td {
    padding: 0.75rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--color-light-gray);
    vertical-align: top;
}

.rst-legal__table th {
    background: var(--color-off-white);
    font-weight: 700;
    color: var(--color-primary);
    white-space: nowrap;
}

.rst-legal__table td {
    color: var(--color-dark-gray);
    line-height: 1.5;
}

.rst-legal__table tr:last-child td {
    border-bottom: none;
}

/* Contact address */
.rst-legal__contact-address {
    font-style: normal;
    background: var(--color-off-white);
    border: 1px solid var(--color-light-gray);
    border-radius: 8px;
    padding: 1.25rem 1.5rem;
    margin: 0.75rem 0 1.5rem;
    line-height: 1.8;
    font-size: var(--font-size-sm);
    color: var(--color-dark-gray);
}

.rst-legal__contact-address strong {
    display: block;
    color: var(--color-primary);
    font-size: 1rem;
    margin-bottom: 0.2rem;
}

.rst-legal__contact-address a {
    color: var(--color-primary-light);
}


/* =============================================================================
   STORE FINDER
   ============================================================================= */

.rst-store-finder__filters {
    background: var(--color-white);
    border-bottom: 1px solid var(--color-light-gray);
    padding: 1.25rem 0;
    position: sticky;
    top: 0;
    z-index: 50;
}

.rst-store-finder__filters-inner {
    display: flex;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 1rem;
}

.rst-store-finder__filter-field {
    flex: 1;
    min-width: 180px;
    max-width: 280px;
}

.rst-store-finder__count {
    font-size: var(--font-size-sm);
    color: var(--color-dark-gray);
    font-weight: 600;
    margin-left: auto;
    padding-bottom: 0.55rem; /* align with inputs */
}

.rst-store-finder__grid {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .rst-store-finder__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .rst-store-finder__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.rst-store-card {
    border: 1px solid var(--color-light-gray);
    border-radius: 12px;
    background: var(--color-white);
    padding: 1.5rem;
    position: relative;
    transition: box-shadow 0.2s;
}

.rst-store-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.rst-store-card__badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(26, 58, 92, 0.1);
    color: var(--color-primary);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.25rem 0.6rem;
    border-radius: 20px;
}

.rst-store-card__name {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-primary);
    margin: 0 0 0.6rem;
    padding-right: 6rem; /* clear badge */
}

.rst-store-card__address {
    font-style: normal;
    font-size: var(--font-size-sm);
    color: var(--color-dark-gray);
    line-height: 1.6;
    margin-bottom: 0.75rem;
    display: flex;
    flex-direction: column;
}

.rst-store-card__eircode {
    font-weight: 600;
    color: var(--color-near-black);
}

.rst-store-card__phone {
    display: block;
    font-weight: 700;
    color: var(--color-primary);
    text-decoration: none;
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
}

.rst-store-card__phone:hover {
    color: var(--color-primary-light);
    text-decoration: underline;
}

.rst-store-card__hours {
    margin: 0 0 1.25rem;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.15rem 1rem;
    font-size: var(--font-size-sm);
    border-top: 1px solid var(--color-light-gray);
    padding-top: 0.75rem;
}

.rst-store-card__hours-day {
    font-weight: 600;
    color: var(--color-near-black);
}

.rst-store-card__hours-time {
    color: var(--color-dark-gray);
}

.rst-store-card__actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.rst-store-card__directions,
.rst-store-card__map-toggle {
    font-size: var(--font-size-sm);
    padding: 0.55rem 1rem;
}

/* Map region */
.rst-store-card__map {
    margin-top: 1.25rem;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--color-light-gray);
}

.rst-store-card__map[hidden] {
    display: none;
}

.rst-store-card__map iframe {
    display: block;
    width: 100%;
    height: 260px;
    border: none;
}

.rst-store-card__map-credit {
    font-size: 0.72rem;
    color: var(--color-dark-gray);
    padding: 0.35rem 0.75rem;
    margin: 0;
    background: var(--color-off-white);
    text-align: right;
}

.rst-store-card__map-credit a {
    color: var(--color-primary-light);
}

/* Toggle button text swap */
.rst-store-card__map-toggle .rst-store-card__map-toggle-hide {
    display: none;
}

.rst-store-card__map-toggle[aria-expanded="true"] .rst-store-card__map-toggle-show {
    display: none;
}

.rst-store-card__map-toggle[aria-expanded="true"] .rst-store-card__map-toggle-hide {
    display: inline;
}

/* Empty state */
.rst-store-finder__empty {
    text-align: center;
    color: var(--color-dark-gray);
    padding: 3rem 0;
    font-size: 1.05rem;
}
