/* Green Loop – Sustainable Sportswear for Kids */

:root {
    /* Last Bottle style: white page, dark nav, forest green accent */
    --navy: #1A1A1A;
    --midnight: #f5f5f5;
    /* Secondary (sections, cards) */
    --steel: #e8e8e8;
    --sky: #2E6C3B;
    /* Accent - brand forest green */
    --light-blue: #2E6C3B;
    --green: #3d8b4f;
    /* Text */
    --text: #000000;
    --text-muted: rgba(0, 0, 0, 0.72);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: auto;
    overflow: hidden;
    height: 100%;
}

body {
    margin: 0;
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text);
    background-color: #FFFFFF;
    overflow: hidden;
    height: 100%;
}

main {
    height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
    scroll-behavior: auto;
}

h1, h2, h3 {
    font-family: 'Outfit', sans-serif;
}

h1 { font-weight: 700; }
h2, h3 { font-weight: 600; }

a {
    color: var(--light-blue);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.container {
    max-width: 72rem;
    margin: 0 auto;
    padding: 0 1rem;
}

/* ---- Navigation ---- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background-color: #FFFFFF;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.nav-inner {
    max-width: 72rem;
    margin: 0 auto;
    padding: 0.75rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.nav-logo-img {
    height: 3.5rem;
    width: auto;
    display: block;
}

.nav-logo:hover {
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex: 1;
    justify-content: center;
}

.nav-link {
    color: #000000;
    font-size: 0.95rem;
    text-decoration: none;
}

.nav-link:hover {
    color: var(--light-blue);
    text-decoration: underline;
}

.nav-link.active {
    color: var(--light-blue);
    font-weight: 600;
    text-decoration: underline;
}

.nav-cta.active {
    box-shadow: 0 0 0 2px var(--light-blue);
}

.nav-actions .nav-cta.active {
    box-shadow: 0 0 0 2px var(--light-blue);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

/* 항상 2px 링 공간 확보 → active 시 크기 안 바뀜. 호버 시에도 동일 크기 유지 */
.nav-actions .btn {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    line-height: 1;
    width: 8.25rem;
    min-width: 8.25rem;
    height: 2.25rem;
    min-height: 2.25rem;
    box-sizing: border-box;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 0 0 2px transparent;
}

.nav-actions .btn:hover {
    box-shadow: 0 0 0 2px transparent, 0 4px 14px rgba(46, 108, 59, 0.4);
}

.nav-actions .nav-cta.active:hover {
    box-shadow: 0 0 0 2px var(--light-blue), 0 4px 14px rgba(46, 108, 59, 0.4);
}

@media (max-width: 900px) {
    .nav-links {
        gap: 1rem;
    }
    .nav-link {
        font-size: 0.85rem;
    }
}

@media (max-width: 700px) {
    .nav-inner {
        flex-wrap: wrap;
        justify-content: center;
    }
    .nav-links {
        order: 3;
        width: 100%;
        justify-content: center;
        flex: none;
    }
    .nav-actions {
        margin-left: auto;
    }
}

/* ---- Buttons ---- */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    text-align: center;
    border-radius: 0.5rem;
    border: none;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn:hover {
    text-decoration: none;
    transform: translateY(-1px);
}

.btn-primary {
    background: var(--light-blue);
    color: #FFFFFF;
}

.btn-primary:hover:not(:disabled) {
    box-shadow: 0 4px 14px rgba(46, 108, 59, 0.4);
}

.btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-secondary {
    background: var(--green);
    color: #FFFFFF;
}

.btn-secondary:hover {
    box-shadow: 0 4px 14px rgba(46, 108, 59, 0.45);
}

.btn-accent {
    background: var(--green);
    color: #FFFFFF;
}

.btn-outline {
    background: transparent;
    color: var(--text);
    border: 2px solid var(--sky);
}

.btn-outline:hover {
    border-color: var(--light-blue);
    color: var(--light-blue);
}

/* ---- Sections ---- */
.section-page {
    display: none !important;
    min-height: 100vh;
    flex-direction: column;
    padding: 0;
}

.section-page.active {
    display: flex !important;
}

.section {
    padding: 4rem 0;
    flex: 1;
}

.section-hero {
    padding: 0;
    background: #FFFFFF;
    position: relative;
    min-height: 100vh;
    flex-direction: column;
}

.section-hero.active {
    display: flex;
}

.hero-background {
    position: relative;
    width: 100%;
    min-height: 70vh;
    background-image: url('images/mainimg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 1;
}

.hero-content-wrapper {
    position: relative;
    z-index: 2;
    width: 100%;
    padding-top: 6rem;
    padding-bottom: 4rem;
}

.section-about,
.section-products,
.section-impact,
.section-involved {
    background: var(--midnight);
}

.section-about {
    padding: 0;
    background: #FFFFFF;
    position: relative;
    min-height: 100vh;
    flex-direction: column;
}

.section-about.active {
    display: flex;
}

.section-products {
    padding-top: 8rem;
    padding-bottom: 8rem;
}

.section-contact,
.section-donate,
.section-purchase {
    background: #FFFFFF;
}

.section-impact .container,
.section-involved .container {
    padding-top: 4rem;
}

.section-contact .container {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.section-title {
    font-size: clamp(1.75rem, 3.5vw, 2.25rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0 0 0.5rem;
    text-align: center;
}

.section-title-handwritten {
    font-size: 30px;
    font-family: 'Rock Salt', cursive;
    font-weight: 400;
    font-style: normal;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.05rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    margin: 0 auto 2rem;
    max-width: 36rem;
    line-height: 1.5;
}

.subsection-title {
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    margin: 2rem 0 1rem;
}

.subsection-title-handwritten {
    font-size: 30px;
    font-family: 'Rock Salt', cursive;
    font-weight: 400;
    font-style: normal;
    text-align: center;
    margin-bottom: 1.5rem;
}

/* ---- Hero ---- */
.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-title {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    line-height: 1.2;
    margin: 0 0 1rem;
    color: #FFFFFF;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    text-align: center;
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.95);
    margin: 0 0 1.5rem;
    font-size: 1.05rem;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ---- Hero Overlay Content Below Image ---- */
.hero-overlay-content {
    background: #FFFFFF;
    padding: 4rem 0;
    width: 100%;
}

.hero-overlay-content .container {
    max-width: 72rem;
}

.hero-overlay-title {
    font-size: 30px;
    text-align: center;
    font-family: 'Rock Salt', cursive;
    font-weight: 400;
    font-style: normal;
    line-height: 1.65;
    margin: 0 0 2.5rem;
    color: #000000;
}

.hero-overlay-title-sub {
    font-size: 0.88em;
    display: block;
    margin-top: 0.35em;
}

.hero-overlay-text {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 1rem;
    line-height: 1.7;
    color: #000000;
    text-align: left;
}

.hero-overlay-text p {
    margin: 0 0 1.25rem;
    color: rgba(0, 0, 0, 0.85);
}

.hero-overlay-text p:last-child {
    margin-bottom: 0;
}

.hero-overlay-text p strong {
    font-weight: 600;
    color: #000000;
}

@media (max-width: 640px) {
    .hero-overlay-content {
        padding: 3rem 0;
    }
    
    .hero-overlay-text {
        font-size: 0.95rem;
        line-height: 1.65;
    }
    
    .hero-overlay-text p {
        margin-bottom: 1rem;
    }
}

/* ---- Home Section Styles ---- */
.home-section {
    padding: 3rem 0;
    background: #FFFFFF;
}

.home-section-title {
    font-size: clamp(1.75rem, 3.5vw, 2.25rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0 0 0.5rem;
    text-align: center;
    color: #000000;
}

.home-section-title-handwritten {
    font-size: 30px;
    text-align: center;
    font-family: 'Rock Salt', cursive;
    font-weight: 400;
    font-style: normal;
    margin-bottom: 2.5rem;
}

/* Large Image (Centered, Blog Post Style) */
.home-image-large {
    max-width: 100%;
    margin: 0 auto 2rem;
    padding-top: 1rem;
    text-align: center;
}

.home-image-large img {
    max-width: 100%;
    width: auto;
    max-width: 450px;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    border-radius: 0.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Full Width Image (Blog Post Style - Not Too Large) */
.home-image-fullwidth {
    width: 100%;
    margin: 0 auto 2rem;
    padding-top: 1rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
}

.home-image-fullwidth img {
    width: 100%;
    max-width: 1200px;
    height: auto;
    display: block;
    margin: 0 auto;
    object-fit: contain;
    border-radius: 0.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* From waste to confidence - two images side by side */
.home-confidence-images {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin: 1rem 0 1.5rem;
}

.home-confidence-images .home-image-large {
    margin: 0;
    flex: 1 1 280px;
    max-width: 450px;
    height: 320px;
    overflow: hidden;
    border-radius: 0.5rem;
}

.home-confidence-images .home-image-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.home-confidence-caption {
    text-align: center;
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--text-muted, rgba(0, 0, 0, 0.75));
    margin: 0 auto 0.5rem;
    max-width: 36rem;
}

.home-confidence-sub {
    text-align: center;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text, rgba(0, 0, 0, 0.9));
    margin: 0 0 2rem;
}

.home-confidence-sub.home-section-title-handwritten {
    font-size: 30px;
    font-weight: 400;
}

/* Why It Matters Text */
.home-why-matters-text {
    max-width: 48rem;
    margin: 0 auto;
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 1.05rem;
    line-height: 1.75;
    color: rgba(0, 0, 0, 0.85);
    text-align: left;
}

.home-why-matters-text p {
    margin: 0 0 1.5rem;
}

.home-why-matters-text p:last-child {
    margin-bottom: 0;
}

.home-why-matters-text p strong {
    font-weight: 600;
    color: #000000;
}

/* Call to Action Buttons */
.home-cta {
    padding: 5rem 0;
}

.home-cta-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.1rem;
    min-width: 200px;
    text-align: center;
}

@media (max-width: 640px) {
    .home-section {
        padding: 2rem 0;
    }
    
    .home-section-title {
        font-size: clamp(1.5rem, 5vw, 2rem);
        margin-bottom: 1.5rem;
    }
    
    .home-image-large img {
        max-width: 100%;
    }
    
    .home-confidence-images {
        flex-direction: column;
        align-items: center;
    }
    
    .home-confidence-images .home-image-large {
        max-width: 100%;
    }
    
    .home-confidence-caption {
        font-size: 1rem;
    }
    
    .home-image-fullwidth {
        max-width: 100%;
    }
    
    .home-why-matters-text {
        font-size: 1rem;
        line-height: 1.7;
    }
    
    .home-cta {
        padding: 2.5rem 0;
    }
    
    .btn-large {
        padding: 1rem 2rem;
        font-size: 1rem;
        min-width: 160px;
        width: 100%;
        max-width: 280px;
    }
    
    .home-cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }
}

.hero-values {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 2;
}

.value-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    background: var(--steel);
    border-radius: 0.75rem;
    min-width: 120px;
}

.value-icon {
    font-size: 1.5rem;
}

.value-label {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* ---- About Hero Background ---- */
.about-hero-background {
    position: relative;
    width: 100%;
    min-height: 70vh;
    background-image: url('images/about-greenloop/about_green.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 1;
}

.about-hero-content-wrapper {
    position: relative;
    z-index: 2;
    width: 100%;
    padding-top: 6rem;
    padding-bottom: 4rem;
}

.about-hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

.about-hero-title {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    line-height: 1.2;
    margin: 0 0 1rem;
    color: #FFFFFF;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    text-align: center;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

.about-hero-subtitle {
    font-size: clamp(1.5rem, 3.5vw, 2.1rem);
    line-height: 1.25;
    margin: 0;
    color: #FFFFFF;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    text-align: center;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

/* ---- About ---- */
.section-about .container {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.section-about .section-title {
    font-size: clamp(1.85rem, 3.5vw, 2.35rem);
    margin-top: 0;
}

.section-about .section-subtitle {
    font-size: 1.1rem;
    max-width: 28rem;
}

.about-section-title-handwritten {
    font-size: 30px;
    text-align: center;
    font-family: 'Rock Salt', cursive;
    font-weight: 400;
    font-style: normal;
    margin-bottom: 1.5rem;
    color: var(--text);
}

.about-body {
    max-width: 42rem;
    margin: 0 auto 2rem;
}

.about-body p {
    margin: 0 0 1.25rem;
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.65;
}

.about-body p:last-child {
    margin-bottom: 0;
}

.about-challenges {
    max-width: 42rem;
    margin: 0 auto 2rem;
}

.about-challenges-intro {
    color: var(--text);
    margin: 0 0 0.75rem;
}

.about-challenges ul {
    margin: 0 0 1.25rem;
    padding-left: 1.5rem;
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.6;
}

.about-challenges ul li {
    margin-bottom: 0.35rem;
}

.about-challenges p:last-of-type {
    margin: 0;
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.65;
}

.about-closing {
    max-width: 42rem;
    margin: 0 auto 2.5rem;
    font-weight: 600;
    color: var(--text);
    font-size: 1.05rem;
    line-height: 1.65;
}

.about-founder {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 3rem;
    align-items: start;
    margin-bottom: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.about-founder-title {
    grid-column: 1 / -1;
    margin-bottom: 2rem;
    margin-top: 0;
}

.about-founder-content {
    min-width: 0;
}

.about-founder-name {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    margin: 0.5rem 0 0.15rem;
    color: var(--text);
}

.about-founder-role {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin: 0 0 1rem;
}

.about-founder-content p {
    margin: 0 0 1rem;
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.65;
}

.about-founder-content p:last-child {
    margin-bottom: 0;
}

.about-founder-photo {
    flex-shrink: 0;
}

.about-founder-photo-placeholder {
    width: 280px;
    height: 400px;
    background: var(--steel);
    border: 2px dashed rgba(0, 0, 0, 0.15);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.about-founder-photo-img {
    width: 280px;
    height: 400px;
    border-radius: 0.75rem;
    display: block;
    object-fit: cover;
    object-position: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

@media (max-width: 700px) {
    .about-founder {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .about-founder-title {
        grid-column: 1;
        margin-bottom: 1.5rem;
    }
    .about-founder-photo {
        order: 0;
        justify-self: center;
    }
    .about-founder-photo-placeholder {
        width: 200px;
        height: 300px;
    }
    .about-founder-photo-img {
        width: 200px;
        height: 300px;
    }
}

.process-flow {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    margin: 2.5rem 0;
}

.process-flow-vertical .process-step {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(46, 108, 59, 0.25);
    border-radius: 1rem;
    min-width: 220px;
    justify-content: flex-start;
    font-weight: 500;
    font-size: 0.95rem;
    transition: background 0.2s, border-color 0.2s;
}

.process-flow-vertical .process-step:hover {
    background: #FFFFFF;
    border-color: rgba(46, 108, 59, 0.4);
}

.process-step-highlight {
    background: linear-gradient(135deg, rgba(46, 108, 59, 0.15), rgba(46, 108, 59, 0.3)) !important;
    border-color: rgba(46, 108, 59, 0.5) !important;
    color: var(--text);
    font-weight: 600;
}

.process-flow-vertical .process-arrow {
    color: var(--sky);
    font-size: 1rem;
    opacity: 0.8;
    margin: 0.35rem 0;
}

.process-icon {
    font-size: 1.35rem;
    flex-shrink: 0;
}

.process-flow-horizontal {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 0.5rem 0;
    margin-top: 1rem;
}

.process-step-h {
    padding: 0.875rem 1.5rem;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(46, 108, 59, 0.3);
    border-radius: 2rem;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    transition: background 0.2s, border-color 0.2s;
}

.process-step-h:hover {
    background: #FFFFFF;
    border-color: rgba(46, 108, 59, 0.5);
}

.process-arrow-h {
    color: var(--sky);
    font-size: 1.1rem;
    opacity: 0.9;
    align-self: center;
    margin: 0 0.25rem;
}

.how-it-works {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.how-it-works-images {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.how-it-works-images img {
    flex: 1 1 280px;
    max-width: 420px;
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 0.75rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.how-it-works .subsection-title {
    text-align: center;
    margin-top: 0;
}

.how-subtitle {
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 1.25rem;
    font-size: 0.95rem;
    max-width: 32rem;
    margin-left: auto;
    margin-right: auto;
}

.about-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}

/* ---- What We Make ---- */
.section-products .section-title {
    font-size: clamp(1.85rem, 3.5vw, 2.35rem);
}

.section-products .section-subtitle {
    font-size: 1.1rem;
    max-width: 28rem;
}

.products-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.product-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(46, 108, 59, 0.25);
    border-radius: 1rem;
    font-weight: 500;
    font-size: 0.95rem;
    transition: background 0.2s, border-color 0.2s;
}

.product-step:hover {
    background: #FFFFFF;
    border-color: rgba(46, 108, 59, 0.4);
}

.product-icon {
    font-size: 1.5rem;
}
.product-icon img {
    width: 9.5rem;
    height: auto;
    display: block;
}

.product-arrow {
    color: var(--sky);
    font-size: 1.1rem;
    opacity: 0.9;
}

.product-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.product-card {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(46, 108, 59, 0.2);
    padding: 1.75rem;
    border-radius: 1rem;
    transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.product-card:hover {
    background: #FFFFFF;
    border-color: rgba(46, 108, 59, 0.4);
    transform: translateY(-2px);
}

.product-card-title {
    margin: 0 0 0.5rem;
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.product-card p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.55;
}

.products-note {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 1.75rem;
    font-weight: 500;
}

.product-image-center {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.product-image-center img {
    max-width: 60%;
    width: auto;
    height: auto;
    border-radius: 0.5rem;
    display: block;
}

.product-t-shirt-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    margin-top: 3rem;
    margin-bottom: 3rem;
}

.product-t-shirt-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-t-shirt-image img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 0.5rem;
    display: block;
}

.product-t-shirt-content {
    display: flex;
    flex-direction: column;
}

.product-t-shirt-heading {
    font-family: 'Rock Salt', cursive;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 400;
    font-style: normal;
    line-height: 1.3;
    margin: 0 0 1rem;
    color: var(--text);
}

.product-t-shirt-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 0 2rem;
    color: var(--text);
}

.product-t-shirt-description {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.product-t-shirt-description p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.product-t-shirt-section-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 0.5rem;
    color: var(--text);
}

.product-pen-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    margin-top: 3rem;
    margin-bottom: 3rem;
}

.product-pen-image {
    display: flex;
    align-items: center;
    justify-content: center;
    order: 2;
}

.product-pen-image img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 0.5rem;
    display: block;
}

.product-pen-content {
    display: flex;
    flex-direction: column;
    order: 1;
}

.product-pen-heading {
    font-family: 'Rock Salt', cursive;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 400;
    font-style: normal;
    line-height: 1.3;
    margin: 0 0 1rem;
    color: var(--text);
}

.product-pen-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 0 2rem;
    color: var(--text);
}

.product-pen-description {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.product-pen-description p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.product-pen-section-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 0.5rem;
    color: var(--text);
}

.products-divider {
    margin: 3rem 0;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.products-performance-gear {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.products-performance-gear .subsection-title {
    margin-top: 0;
    margin-bottom: 1rem;
}

.products-performance-gear > p {
    margin-bottom: 2rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.products-sportswear {
    margin-top: 2rem;
    text-align: center;
}

.product-subsection-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 1rem;
    color: var(--text-primary);
}

.product-subsection-title-handwritten {
    font-size: 30px;
    font-family: 'Rock Salt', cursive;
    font-weight: 400;
    font-style: normal;
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--text);
}

.product-sportswear-item {
    margin-top: 1.5rem;
}

.product-item-title {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 0.5rem;
    color: var(--text-primary);
}

.product-sportswear-item p,
.products-grs p,
.products-pens p {
    margin: 0 0 1rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.product-image {
    margin-top: 1.5rem;
}

.product-image img {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 0.5rem;
    display: block;
    margin: 0 auto;
}

.products-grs {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.grs-download-text {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    text-align: center;
}

.products-pens {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    text-align: center;
}

.product-images-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.product-images-grid .product-image {
    margin-top: 0;
}

.product-images-grid .product-image img {
    max-width: 100%;
}

/* ---- Gallery (5 slots per section) ---- */
.section-gallery {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.section-gallery .gallery-title {
    text-align: center;
    margin-top: 0;
    margin-bottom: 1.5rem;
}

.gallery-grid {
    display: grid;
    gap: 1rem;
    justify-items: center;
}

.gallery-grid-5 {
    grid-template-columns: repeat(5, 1fr);
}

.gallery-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.gallery-grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 900px) {
    .gallery-grid-5 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 560px) {
    .gallery-grid-5 {
        grid-template-columns: repeat(2, 1fr);
    }
    .gallery-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    .gallery-grid-2 {
        grid-template-columns: 1fr;
    }
}

.gallery-item {
    margin: 0;
    border-radius: 0.75rem;
    overflow: hidden;
    background: var(--steel);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.gallery-item img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
    vertical-align: middle;
}

.gallery-item figcaption {
    padding: 0.5rem 0.75rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    text-align: center;
}

/* ---- About Solution subsection ---- */
.about-solution {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.about-solution .subsection-title {
    text-align: center;
    margin-top: 0;
}

.about-solution-desc {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.95rem;
    max-width: 36rem;
    margin: 0 auto 1.5rem;
    line-height: 1.55;
}

/* ---- Impact ---- */
.impact-jerseys-pens {
    text-align: center;
    padding: 2rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, rgba(46, 108, 59, 0.08) 0%, rgba(61, 139, 79, 0.06) 100%);
    border-radius: 1rem;
    border: 1px solid rgba(46, 108, 59, 0.15);
}

.impact-jerseys-pens-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.impact-jerseys-pens-icon {
    width: 11rem;
    height: 11rem;
    object-fit: cover;
    border-radius: 0.5rem;
    filter: drop-shadow(0 2px 4px rgba(46, 108, 59, 0.2));
}

.impact-jerseys-pens-pen {
    width: 11rem;
    height: 11rem;
}

.impact-jerseys-pens-eco {
    width: 9rem;
    height: 12rem;
    opacity: 0.95;
}

.impact-jerseys-pens-title {
    margin: 0 0 0.5rem;
    font-size: 1.35rem;
    color: var(--light-blue);
}

.impact-jerseys-pens-desc {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.98rem;
}

.impact-arrow {
    text-align: center;
    font-size: 1.5rem;
    color: var(--light-blue);
    margin: 1rem 0 1.5rem;
    opacity: 0.8;
}

.impact-partners-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(1.5rem, 4vw, 2.75rem);
    align-items: start;
    margin-bottom: 2.5rem;
    padding: 1.5rem 0;
}

.impact-partners-photo {
    margin: 0;
    align-self: center;
    justify-self: stretch;
    width: 100%;
    max-width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 0.75rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.impact-partners-photo img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center center;
}

.impact-partners {
    margin-bottom: 0;
    padding: 0;
    text-align: left;
}

.impact-partners-layout .impact-partners-title,
.impact-partners-layout .impact-partners-subtitle {
    text-align: left;
}

.impact-partners-title {
    margin-bottom: 0.5rem;
}

.impact-partners-subtitle {
    font-size: 1.15rem;
    font-weight: 600;
    margin: 0 0 1rem;
    color: var(--text);
}

.impact-partners-intro,
.impact-partners-closing,
.impact-partners-dignity {
    margin: 0 0 1rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.impact-partners-list-label {
    margin: 1rem 0 0.5rem;
    font-weight: 600;
    color: var(--text);
}

.impact-partners-list {
    margin: 0 0 1rem;
    padding-left: 1.5rem;
    color: var(--text-muted);
    line-height: 1.8;
    display: block;
    text-align: left;
}

.impact-expanding {
    margin-bottom: 2.5rem;
    padding: 1.5rem 0;
    padding-left: 15%;
    padding-right: 15%;
}

.impact-expanding-title {
    margin-bottom: 2rem;
}

.impact-un-logo-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 1.5rem;
}

.impact-un-logo-img {
    display: block;
    max-width: 100%;
    width: 640px;
    height: auto;
    object-fit: contain;
}

.impact-expanding-intro,
.impact-expanding-goals,
.impact-expanding-closing {
    margin: 0 0 1rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.impact-expanding-list {
    margin: 0 0 1rem;
    padding-left: 1.5rem;
    color: var(--text-muted);
    line-height: 1.8;
}

.impact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.impact-card {
    background: var(--steel);
    padding: 2rem;
    border-radius: 0.75rem;
    text-align: center;
}

.impact-icon {
    width: 9rem;
    height: auto;
    display: block;
    margin: 0 auto 0.75rem;
}

.impact-title {
    margin: 0 0 0.5rem;
    font-size: 1.1rem;
}

.impact-stat {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 2.5rem;
    color: var(--light-blue);
    margin: 0.5rem 0;
}

.impact-desc {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ---- Get Involved ---- */
.involved-hero-image {
    width: 100%;
    margin: 2rem 0 3rem;
    text-align: center;
}

.involved-hero-image img {
    width: 100%;
    max-width: 1200px;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 0.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.involved-main-heading {
    font-size: clamp(2rem, 4vw, 3rem);
    font-family: 'Rock Salt', cursive;
    font-weight: 400;
    font-style: normal;
    text-align: center;
    margin: 0 0 2rem;
    color: var(--text);
    line-height: 1.2;
}

.involved-intro {
    max-width: 48rem;
    margin: 0 auto 3rem;
    text-align: center;
}

.involved-intro p {
    margin: 0 0 1.25rem;
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.7;
}

.involved-intro p:last-child {
    margin-bottom: 0;
}

.involved-emphasis {
    font-size: clamp(1.5rem, 3vw, 2rem) !important;
    font-weight: 700 !important;
    color: var(--text) !important;
    line-height: 1.3 !important;
    margin-top: 1.5rem !important;
}

.involved-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.involved-card {
    background: #FFFFFF;
    border: 2px solid rgba(46, 108, 59, 0.2);
    border-radius: 1rem;
    padding: 0;
    color: var(--text);
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.involved-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(46, 108, 59, 0.15);
    text-decoration: none;
    color: var(--text);
    border-color: rgba(46, 108, 59, 0.4);
}

.involved-card-image-container {
    position: relative;
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, rgba(46, 108, 59, 0.1) 0%, rgba(61, 139, 79, 0.08) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.involved-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Fallback when image fails to load */
.involved-card-image-container img:not([src]),
.involved-card-image[src=""],
.involved-card-image[src*="undefined"] {
    display: none;
}

.involved-card-image-container:has(img:not([src])),
.involved-card-image-container:has(img[src=""]),
.involved-card-image-container:has(img[src*="undefined"]) {
    height: auto;
    min-height: 150px;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(46, 108, 59, 0.15) 0%, rgba(61, 139, 79, 0.12) 100%);
}

.involved-card-image-container:has(img:not([src])) .involved-card-title,
.involved-card-image-container:has(img[src=""]) ~ .involved-card-title,
.involved-card-image-container:has(img[src*="undefined"]) ~ .involved-card-title {
    margin-top: 0;
    font-size: clamp(2rem, 3vw, 2.5rem);
}

.involved-card-image-container .involved-icon {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 2rem;
    background: rgba(255, 255, 255, 0.9);
    padding: 0.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.involved-card-title {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 700;
    margin: 1.5rem 1.5rem 0.5rem;
    color: var(--text);
    text-align: center;
}

.involved-card-subtitle {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 1.5rem 1rem;
    color: var(--light-blue);
    text-align: center;
}

.involved-card-content {
    padding: 0 1.5rem 1.5rem;
    flex: 1;
}

.involved-card-content p {
    margin: 0 0 1rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    text-align: left;
}

.involved-card-content p:last-child {
    margin-bottom: 0;
}

.involved-card-highlight {
    font-weight: 600 !important;
    color: var(--text) !important;
    font-size: 1rem !important;
}

.involved-icon {
    font-size: 1.5rem;
    display: block;
}

/* Fallback when image is not available - show large title */
.involved-card-image-container:has(img[src=""]) {
    height: auto;
    min-height: 150px;
    padding: 2rem;
}

.involved-card-image-container:has(img[src=""]) .involved-card-title {
    margin-top: 0;
    font-size: clamp(2rem, 3vw, 2.5rem);
}

@media (max-width: 768px) {
    .product-t-shirt-section {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-top: 2rem;
        margin-bottom: 2rem;
    }
    
    .product-t-shirt-image {
        order: 1;
    }
    
    .product-t-shirt-content {
        order: 2;
    }
    
    .product-pen-section {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-top: 2rem;
        margin-bottom: 2rem;
    }
    
    .product-pen-content {
        order: 1;
    }
    
    .product-pen-image {
        order: 2;
    }
    
    .impact-expanding {
        padding-left: 5%;
        padding-right: 5%;
    }
    
    .impact-partners-layout {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .involved-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .involved-card-image-container {
        height: 180px;
    }
    
    .involved-main-heading {
        font-size: clamp(1.75rem, 5vw, 2.25rem);
    }
    
    .involved-emphasis {
        font-size: clamp(1.25rem, 4vw, 1.75rem) !important;
    }
}

/* ---- Contact ---- */
.section-contact .container {
    padding-top: 3rem;
    padding-bottom: 4rem;
}

.contact-headline {
    text-align: center;
    font-size: clamp(1.25rem, 2.5vw, 1.6rem) !important;
    max-width: 56rem;
    margin: 0 auto 3rem;
    line-height: 1.4;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.8fr;
    gap: 4rem;
    align-items: start;
    margin-bottom: 2.5rem;
}

.contact-left {
    padding-right: 1rem;
}

.contact-left-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 1rem;
    color: var(--text);
}

.contact-left-desc {
    margin: 0 0 1.5rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.contact-newsletter {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.contact-newsletter-input {
    padding: 0.75rem 1rem;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 0.25rem;
    background: #f5f5f5;
    color: var(--text);
    font-family: inherit;
    font-size: 1rem;
}

.contact-newsletter-input::placeholder {
    color: var(--text-muted);
}

.contact-newsletter-input:focus {
    outline: none;
    border-color: var(--light-blue);
}

.contact-newsletter-btn {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.contact-left-info {
    margin: 0 0 1.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

.contact-left-details {
    margin: 0 0 1.5rem;
}

.contact-left-details p {
    margin: 0 0 0.35rem;
    font-size: 0.9rem;
}

.contact-left-details a {
    color: var(--light-blue);
}

.contact-social {
    display: flex;
    gap: 1rem;
}

.contact-social a {
    color: var(--text-muted);
    font-size: 1rem;
    text-decoration: none;
}

.contact-social a:hover {
    color: var(--light-blue);
}

.contact-form-title {
    font-size: 1.5rem !important;
    margin: 0 0 1.5rem !important;
    text-align: left !important;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact-form-field {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.contact-form-field label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text);
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    padding: 0.75rem 1rem;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 0.25rem;
    background: #FFFFFF;
    color: var(--text);
    font-family: inherit;
    font-size: 1rem;
}

.contact-form select {
    cursor: pointer;
    appearance: auto;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--text-muted);
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    border-color: var(--light-blue);
}

.contact-bottom-msg {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .contact-left {
        padding-right: 0;
    }
}

/* ---- Donation ---- */
.section-donate {
    padding-top: 6rem;
}

.donate-step {
    max-width: 36rem;
    margin: 0 auto;
    text-align: center;
}

.donate-step.hidden {
    display: none;
}

.donate-amounts {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin: 2rem 0;
}

.donate-option {
    flex: 1;
    min-width: 140px;
    max-width: 180px;
    padding: 1.5rem;
    background: var(--steel);
    border: 2px solid transparent;
    border-radius: 0.75rem;
    color: var(--text);
    font-family: inherit;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
}

.donate-option:hover {
    background: rgba(46, 108, 59, 0.12);
}

.donate-option.selected {
    border-color: var(--light-blue);
    background: rgba(46, 108, 59, 0.08);
}

.donate-amount {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--light-blue);
}

.donate-desc {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

.donate-summary {
    background: var(--steel);
    padding: 1.5rem;
    border-radius: 0.75rem;
    margin: 1.5rem 0;
    text-align: left;
}

.donate-confirm-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1.5rem;
}

.donate-thank-you .btn {
    margin-top: 1rem;
}

/* ---- Purchase / Customize T-Shirt ---- */
.section-purchase {
    padding: 0;
    padding-top: 6rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.section-purchase.active {
    display: flex !important;
}

.purchase-layout {
    display: grid;
    grid-template-columns: 1fr 520px;
    min-height: calc(100vh - 6rem);
    flex: 1;
}

.purchase-left {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5rem 2rem 4rem;
    background: var(--midnight);
}

.purchase-tshirt-image {
    width: 100%;
    max-width: 560px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.purchase-tshirt-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

.purchase-right {
    display: flex;
    flex-direction: column;
    background: #FFFFFF;
    border-left: 1px solid rgba(0, 0, 0, 0.08);
    overflow-y: auto;
}

.purchase-toolbar {
    padding: 2rem 2rem 3rem;
    max-width: 100%;
}

.purchase-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 1rem;
    line-height: 1.3;
    color: var(--text);
}

.purchase-intro {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text);
    margin: 0 0 0.5rem;
    line-height: 1.5;
}

.purchase-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0 0 1.5rem;
}

.purchase-block {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.purchase-block-title {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 0.5rem;
    color: var(--text);
}

.purchase-block-text {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.55;
    margin: 0;
}

.purchase-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 0.75rem;
}

.purchase-option {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.75rem 1rem;
    padding: 1rem 1.25rem;
    background: var(--steel);
    border: 2px solid transparent;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
}

.purchase-option:hover {
    background: rgba(46, 108, 59, 0.08);
}

.purchase-option input {
    margin: 0;
    accent-color: var(--light-blue);
}

.purchase-option input:checked + .purchase-option-label {
    font-weight: 600;
    color: var(--text);
}

.purchase-option:has(input:checked) {
    border-color: var(--light-blue);
    background: rgba(46, 108, 59, 0.08);
}

.purchase-option-label {
    flex: 1 1 auto;
    font-size: 1rem;
    color: var(--text);
}

.purchase-option-price {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--light-blue);
}

.purchase-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 2rem;
}

.purchase-actions .btn {
    width: 100%;
    justify-content: center;
}

.purchase-btn {
    padding: 0.875rem 1.5rem;
}

/* Customize toolbar (shell) */
.purchase-customize-toolbar .purchase-block-title {
    margin-bottom: 0.75rem;
}

.customize-toolbar-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.customize-toolbar-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 0.75rem;
    background: var(--steel);
    border-radius: 0.35rem;
    font-size: 0.9rem;
    color: var(--text);
}

.customize-toolbar-icon {
    width: 1.75rem;
    height: 1.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.12);
    border-radius: 0.25rem;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.customize-toolbar-icon-new {
    position: relative;
}

.customize-toolbar-badge {
    margin-left: auto;
    font-size: 0.65rem;
    font-weight: 700;
    background: #ff8c00;
    color: #fff;
    padding: 0.15rem 0.4rem;
    border-radius: 0.2rem;
}

/* Color swatches (shell) */
.purchase-block-sub {
    font-weight: 400;
    color: var(--text-muted);
    font-size: 0.9em;
}

.purchase-block-help {
    font-weight: 400;
    color: var(--text-muted);
    cursor: help;
}

.color-swatches {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.5rem;
}

.color-swatch {
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    border: 2px solid transparent;
    cursor: default;
    flex-shrink: 0;
}

.color-swatch-selected {
    border-color: #ff8c00;
    box-shadow: 0 0 0 1px #fff;
}

/* Size buttons (shell) */
.size-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.size-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.5rem 0.9rem;
    border: 1px solid rgba(0,0,0,0.25);
    border-radius: 0.25rem;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: default;
    background: #fff;
}

.size-btn-selected {
    border-color: #ff8c00;
    border-width: 2px;
}

.size-extra {
    font-size: 0.75em;
    color: var(--text-muted);
}

/* Quantity (shell) */
.qty-discount-bubble {
    margin-top: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: #f0f0f0;
    border-radius: 0.35rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.qty-discount-close {
    padding: 0 0.25rem;
    border: none;
    background: none;
    font-size: 1.1rem;
    color: var(--text-muted);
    cursor: default;
    line-height: 1;
}

.qty-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
    flex-wrap: wrap;
}

.qty-btn {
    width: 2rem;
    height: 2rem;
    padding: 0;
    border: 1px solid rgba(0,0,0,0.2);
    border-radius: 0.25rem;
    background: #fff;
    font-size: 1.1rem;
    line-height: 1;
    cursor: default;
}

.qty-value {
    min-width: 2rem;
    text-align: center;
    font-weight: 600;
}

.qty-price-table {
    margin-left: 0.5rem;
    padding: 0.4rem 0.6rem;
    font-size: 0.8rem;
    border: 1px solid rgba(0,0,0,0.2);
    border-radius: 0.25rem;
    background: #fff;
    cursor: default;
    font-family: inherit;
}

.qty-note {
    margin: 0.35rem 0 0;
    font-size: 0.8rem;
    color: var(--text-muted);
}

@media (max-width: 900px) {
    .purchase-layout {
        grid-template-columns: 1fr;
    }

    .purchase-left {
        padding: 4rem 1.5rem 2rem;
        min-height: 320px;
    }

    .purchase-right {
        border-left: none;
        border-top: 1px solid rgba(0, 0, 0, 0.08);
    }

    .purchase-toolbar {
        padding: 1.5rem 1.5rem 2.5rem;
    }

    .purchase-title {
        font-size: 1.35rem;
    }
}

/* ---- Footer ---- */
.footer {
    background: var(--midnight);
    padding: 3rem 0 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    margin-top: auto;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 2rem;
    align-items: start;
}

@media (max-width: 640px) {
    .footer-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

.footer-logo {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text);
}

.footer-tagline {
    margin: 0.5rem 0 0;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: var(--text-muted);
}

.footer-links a:hover {
    color: var(--light-blue);
}

.footer-contact a {
    color: var(--light-blue);
}

.footer-certi {
    text-align: center;
    padding: 2rem 1.5rem 3rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.footer-certi-label {
    margin: 0 0 1rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text);
}

.footer-certi-img {
    max-width: 280px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.footer-bottom {
    margin-top: 2rem;
    padding: 1rem 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ---- Utility ---- */
.hidden {
    display: none !important;
}

/* ---- Lightbox ---- */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.88);
    cursor: pointer;
}

.lightbox.is-open {
    display: flex;
}

.lightbox-backdrop {
    position: absolute;
    inset: 0;
}

.lightbox-img {
    position: relative;
    z-index: 1;
    max-width: 92vw;
    max-height: 88vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 0.5rem;
    cursor: default;
}

.lightbox-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 2;
    width: 2.5rem;
    height: 2.5rem;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    color: #FFFFFF;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.35);
}

/* ---- Sign in / Create account modal (Amazon-style) ---- */
.signin-modal {
    position: fixed;
    inset: 0;
    z-index: 1001;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.signin-modal.is-open {
    display: flex;
}

.signin-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
}

.signin-modal-card {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 380px;
    background: #FFFFFF;
    border-radius: 0.5rem;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
    padding: 2rem 2rem 2.5rem;
}

.signin-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 2rem;
    height: 2rem;
    padding: 0;
    border: none;
    background: transparent;
    color: var(--text-muted);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
}

.signin-modal-close:hover {
    color: var(--text);
}

.signin-modal-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0 0 1.25rem;
    color: var(--text);
}

.signin-modal-form {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.signin-modal-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text);
}

.signin-modal-input {
    width: 100%;
    padding: 0.6rem 0.75rem;
    border: 1px solid #ccc;
    border-radius: 0.25rem;
    font-size: 1rem;
    font-family: inherit;
    box-sizing: border-box;
}

.signin-modal-input:focus {
    outline: none;
    border-color: var(--light-blue);
    box-shadow: 0 0 0 2px rgba(46, 108, 59, 0.2);
}

.signin-modal-continue {
    width: 100%;
    margin-top: 0.5rem;
    padding: 0.6rem 1rem;
    background: #ffd814;
    border: 1px solid #fcd200;
    border-radius: 0.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: #000000;
    cursor: pointer;
    font-family: inherit;
}

.signin-modal-continue:hover {
    background: #f7ca00;
}

.signin-modal-legal {
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0 0 1rem;
}

.signin-modal-legal a {
    color: var(--light-blue);
}

.signin-modal-help {
    font-size: 0.9rem;
    color: var(--light-blue);
    margin-bottom: 1rem;
    display: inline-block;
}

.signin-modal-sep {
    border: none;
    border-top: 1px solid #e0e0e0;
    margin: 0 0 1rem;
}

.signin-modal-business-label {
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0 0 0.35rem;
    color: var(--text);
}

.signin-modal-business-link {
    font-size: 0.9rem;
    color: var(--light-blue);
}

.gallery-item img,
.how-it-works-images img,
.footer-certi-img {
    cursor: pointer;
}

/* Focus for accessibility */
.btn:focus-visible,
.donate-option:focus-visible,
.nav-link:focus-visible,
.contact-form input:focus-visible,
.contact-form textarea:focus-visible,
.contact-form select:focus-visible {
    outline: 2px solid var(--light-blue);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}
