﻿.apparel-home {
    --apparel-green-dark: #00542d;
    --apparel-text: #111827;
    --apparel-muted: #4b5563;
    --apparel-neutral: #F3F2F0;
    --apparel-soft: #f8faf8;
    --apparel-border: #e5e7eb;
    --apparel-border-green: rgba(0, 104, 56, 0.14);
    --apparel-card-shadow: 0 10px 26px rgba(0, 0, 0, 0.06);
    --section-padding-x: clamp(20px, 5vw, 72px);
    --section-padding-y: clamp(48px, 7vw, 80px);
}

.apparel-home {
    background: var(--apparel-surface);
    overflow-x: hidden;
}

.section-title {
    font-family: "Bevan", serif;
    letter-spacing: 0.08em;
    line-height: 1.15;
    transform: scaleX(0.96);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    font-weight: 800;
    color: var(--apparel-text);
}

/* Apparel Code Row */
.apparel-code-section {
    width: 100%;
    background: var(--apparel-surface);
    padding: clamp(24px, 4vw, 40px) 12px;
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 12px;
}

.apparel-action-card {
    flex: 1 1 0;
    max-width: 520px;
    min-width: 0;
    text-align: center;
    padding: 1.35rem;
    border-radius: 22px;
    background: var(--apparel-surface);
    border: 1px solid var(--apparel-border-green);
    box-shadow: var(--apparel-card-shadow);
    display: flex;
    flex-direction: column;
    align-items: center;
}


.apparel-action-icon {
    color: var(--apparel-green);
    margin-bottom: 0.6rem;
}

.apparel-action-title {
    font-weight: 800;
    margin-bottom: 0.4rem;
    color: var(--apparel-text);
}

.apparel-action-description {
    line-height: 1.55;
    color: rgba(0, 0, 0, 0.7);
    margin-bottom: 1rem;
    max-width: 42ch;
}

.apparel-action-button {
    min-height: 48px;
    padding-inline: 1.5rem;
    font-weight: 800;
    border-radius: 14px;
    text-transform: none;
    box-shadow: 0 10px 22px rgba(0, 104, 56, 0.18);
}

    .apparel-action-button:hover {
        transform: translateY(-1px);
        box-shadow: 0 14px 28px rgba(0, 104, 56, 0.24);
    }

.apparel-choice-divider {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 2px;
}

    .apparel-choice-divider span {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 6px 8px;
        border-radius: 999px;
        background: var(--apparel-surface);
        border: 1px solid rgba(0, 104, 56, 0.18);
        color: var(--apparel-green);
        font-size: 0.72rem;
        font-weight: 800;
        letter-spacing: 0.06em;
        white-space: nowrap;
    }

/* Shared Text */
.section-copy {
    color: var(--apparel-muted);
    max-width: 620px;
    line-height: 1.7;
}

.card-title {
    font-weight: 700;
    color: var(--apparel-text);
}

.fw-700 {
    font-weight: 700;
}

/* Benefits Section */
.why-store-section {
    padding: var(--section-padding-y) var(--section-padding-x);
    background: linear-gradient( 180deg, var(--apparel-soft) 0%, var(--apparel-soft) 100% );
}

.why-store-heading {
    font-size: clamp(2rem, 3vw, 3rem);
    letter-spacing: 0.04em;
    line-height: 1.1;
    margin-bottom: 48px;
}

.why-store-layout {
    align-items: stretch;
}

    .why-store-layout > .mud-grid-item {
        display: block;
    }

.why-store-card {
    width: 100%;
    max-width: 720px;
    margin-left: auto;
    padding: clamp(20px, 2.5vw, 32px) !important;
    border-radius: 32px;
    background: var(--apparel-surface);
    border: 1px solid var(--apparel-border);
    box-shadow: 0 22px 60px rgba(17, 24, 39, 0.10);
}

    .why-store-card .mud-grid {
        width: 100%;
        margin: 0;
    }

.why-store-content {
    width: min(100%, 720px);
    max-width: 100%;
    margin-left: auto;
    height: auto;
}

.why-store-card-section {
    width: 100%;
    padding-inline: 4px;
}

.why-store-card-title {
    font-size: 1.45rem;
    line-height: 1.3;
    color: #111827;
}

.why-little-title {
    font-family: "Bevan", serif;
    color: var(--apparel-green);
    letter-spacing: 0.08em;
    line-height: 1.15;
    transform: scaleX(0.96);
    margin-left: -16px;
}

.benefit-row,
.product-row,
.provide-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
}

.benefit-icon {
    color: var(--apparel-green);
    flex-shrink: 0;
    margin-top: 2px;
}

.benefit-text {
    font-size: 1.05rem;
    line-height: 1.7;
    font-weight: 500;
    color: #1f2937;
}

.provide-item {
    padding: 16px 0;
    border-bottom: 1px solid var(--apparel-border);
}

    .provide-item:first-of-type {
        padding-top: 0;
    }

    .provide-item:last-child {
        margin-bottom: 0;
        padding-bottom: 0;
        border-bottom: 0;
    }

.provide-title {
    font-size: 1.05rem;
    line-height: 1.5;
    color: #111827;
}

.provide-description {
    font-size: 1rem;
    line-height: 1.8;
    color: #4b5563;
    margin-top: 4px;
}

.fundraising-copy {
    font-size: 1.05rem;
    line-height: 1.9;
    color: #374151;
}

.why-store-image-wrap {
    width: 100%;
    height: 1000px;
    border-radius: 28px;
    overflow: visible;
    display: flex;
    align-items: center;
    justify-content: center;
}

.why-store-image {
    height: 90%;
    object-fit: cover;
    object-position: center 65%;
    transform: scale(1.3);
    transition: transform 220ms ease;
    display: block;
}

/* Voucher Section */
.split-section {
    padding: 0;
}

.green-section {
    background: #d5dfd5;
}

    .green-section .image-side {
        height: 500px;
    }

.neutral-background {
    background-color: var(--apparel-neutral);
}

.school-store-grid {
    min-height: 320px;
    margin: 0;
}

.image-side {
    min-height: 320px;
    padding: 0 !important;
    overflow: hidden;
}

.split-image-side {
    padding: 0 !important;
}

.split-image-wrapper {
    width: 100%;
    height: 100%;
    min-height: 420px;
    overflow: hidden;
    position: relative;
}

.split-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right top;
    display: block;
}

.content-side {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(36px, 4vw, 56px) var(--section-padding-x);
}

.content-wrapper {
    max-width: 560px;
}

.voucher-content-side {
    justify-content: flex-start;
    padding-left: clamp(24px, 3vw, 44px);
    padding-right: clamp(16px, 2vw, 28px);
}

    .voucher-content-side .content-wrapper {
        width: 100%;
        max-width: 860px;
    }

    .voucher-content-side .section-copy {
        max-width: none;
    }

.school-store-copy {
    color: #111827;
    font-size: 1.15rem;
    line-height: 1.85;
    font-weight: 400;
    max-width: 34ch;
    margin-left: 16px;
}

.voucher-content-side .school-store-copy {
    max-width: 58ch;
    font-size: 1.18rem;
    line-height: 2;
}

.primary-button {
    background-color: var(--apparel-green);
    color: white;
    box-shadow: 0 12px 28px rgba(0, 104, 56, 0.22);
    transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
    font-weight: 700;
    text-transform: none;
    border-radius: 14px;
    min-height: 50px;
    padding-inline: 30px;
}

    .primary-button:hover {
        background-color: var(--apparel-green-dark);
        transform: translateY(-1px);
        box-shadow: 0 16px 34px var(--apparel-border-green-strong);
    }

/* Promo Banner */
.promo-banner-section {
    position: relative;
    width: 100%;
    margin: clamp(40px, 6vw, 72px) 0;
    padding: 0 clamp(20px, 4vw, 48px);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.promo-banner-image {
    width: 100%;
    max-width: 1200px;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: center;
}

/* Gallery */
.full-bleed-gallery {
    width: 100%;
    overflow: hidden;
    background: var(--apparel-neutral);
    margin-bottom: clamp(24px, 4vw, 64px);
}

.gallery-row {
    display: flex;
    width: 100%;
    gap: 0;
}

.gallery-item {
    flex: 1 1 0;
    min-width: 0;
    height: clamp(220px, 34vw, 520px);
    overflow: hidden;
    position: relative;
}

    .gallery-image,
    .gallery-image img,
    .gallery-item img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        object-position: center;
        display: block;
    }

        .gallery-image img,
        .gallery-item img {
            margin-bottom: 10px;
        }

/* Tablet */
@media (max-width: 960px) {
    .school-store-grid {
        min-height: auto;
    }

    .content-side,
    .voucher-content-side {
        justify-content: center;
        text-align: center;
        padding: 44px 24px;
    }

        .content-wrapper,
        .voucher-content-side .content-wrapper {
            width: 100%;
            max-width: 680px;
            margin: 0 auto;
        }

        .section-copy,
        .school-store-copy,
        .voucher-content-side .school-store-copy {
            max-width: 46ch;
            margin-left: auto;
            margin-right: auto;
            font-size: 1.08rem;
            line-height: 1.85;
        }

    .why-store-content {
        max-width: 100%;
        margin-left: 0;
    }

    .voucher-content-side .primary-button {
        margin-left: 0;
    }

    .image-side {
        min-height: 360px;
    }

    .why-store-image-wrap,
    .why-store-image {
        height: 100%;
    }

    .why-store-image {
        width: 100%;
        object-fit: cover;
        object-position: center center;
        transform: none;
    }

    .why-little-title {
        margin-left: 0;
        text-align: center;
        font-size: clamp(1.65rem, 7vw, 2.35rem);
        line-height: 1.2;
    }

    .split-image-wrapper {
        min-height: 320px;
    }

    .green-section .image-side {
        height: auto;
    }
}

@media (max-width: 900px) {
    .gallery-item {
        height: clamp(180px, 32vw, 320px);
    }
}

/* Phone / Small Tablet */
@media (max-width: 760px) {
    .apparel-code-section {
        flex-direction: column;
        align-items: center;
        gap: 12px;
        padding: 20px 12px 28px;
    }

    .apparel-action-card {
        width: min(100%, 520px);
        padding: 1.25rem;
    }

    .apparel-choice-divider {
        min-width: 32px;
        padding-inline: 0;
    }

        .apparel-choice-divider span {
            margin: 0 4px;
        }

    .content-side {
        padding: 44px 22px;
    }

    .image-side {
        min-height: 300px;
    }

    .why-store-section {
        padding: 52px 20px 32px;
    }

    .why-store-image-wrap {
        height: 100%;
        border-radius: 22px;
    }

    .why-store-image {
        height: 100%;
    }

    .promo-banner-section {
        height: 240px;
    }
}

@media (max-width: 600px) {
    .content-side,
    .voucher-content-side {
        padding: 36px 18px;
    }

    .primary-button {
        width: 100%;
        max-width: 320px;
        margin-inline: auto;
    }

    .benefit-row {
        gap: 8px;
    }

    .why-store-heading {
        font-size: clamp(1.75rem, 8vw, 2.25rem);
        line-height: 1.2;
    }

    .school-store-copy,
    .voucher-content-side .school-store-copy,
    .section-copy {
        max-width: 34ch;
        font-size: 1rem;
        line-height: 1.75;
    }

    .why-store-section {
        padding: 52px 20px 36px;
    }

    .why-store-card {
        border-radius: 22px;
        padding: 22px !important;
    }

    .why-store-card-title,
    .why-little-title {
        font-size: 1.45rem;
    }

    .benefit-text,
    .provide-title,
    .provide-description {
        font-size: 0.98rem;
    }

    .gallery-item {
        height: 140px;
    }

    .split-image-wrapper {
        min-height: 260px;
    }
}

@media (max-width: 420px) {
    .apparel-code-section {
        padding-inline: 8px;
    }

    .apparel-action-card {
        border-radius: 18px;
    }
}
