/* Size Chart — Ghasum 2026 theme */

.gh-sizechart,
.gh-sizechart * { box-sizing: border-box; }
.gh-sizechart {
    width: 100%;
    max-width: 100vw;
    overflow: clip;
    color: var(--gh-ink);
    background:
        radial-gradient(ellipse 80% 50% at 0% 0%, rgba(225, 29, 46, 0.05), transparent 55%),
        linear-gradient(180deg, var(--gh-fog) 0%, #e7eaef 40%, var(--gh-fog) 100%);
}
.gh-sizechart a { color: inherit; text-decoration: none; }
.gh-sizechart img { display: block; max-width: 100%; }
.gh-sizechart button { font: inherit; cursor: pointer; }

.gh-sizechart .gh-header.is-scrolled,
.gh-sizechart .gh-header {
    color: var(--gh-ink);
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--gh-line);
    backdrop-filter: blur(12px);
}
.gh-sizechart .gh-header .gh-logo__default { display: none !important; }
.gh-sizechart .gh-header .gh-logo__scrolled { display: block !important; }
.gh-sizechart .gh-nav > a,
.gh-sizechart .gh-nav .gh-nav__drop-toggle { opacity: 0.92; color: var(--gh-ink) !important; }
.gh-sizechart .gh-nav > a:hover,
.gh-sizechart .gh-nav__drop.is-open .gh-nav__drop-toggle,
.gh-sizechart .gh-nav__drop:hover .gh-nav__drop-toggle,
.gh-sizechart .gh-nav .gh-nav__drop-toggle:hover { color: var(--gh-red) !important; }
.gh-sizechart .gh-menu-toggle { border-color: var(--gh-line); color: var(--gh-ink); }

/* Hero */
.gh-sc-hero {
    position: relative;
    min-height: 68svh;
    display: flex;
    align-items: flex-end;
    color: var(--gh-white);
    background: var(--gh-ink);
    overflow: hidden;
}
.gh-sc-hero__media {
    position: absolute;
    inset: 0;
    background: url('../images/sportswear/category/gym-vest.webp') center center / cover no-repeat;
    transform: scale(1.06);
    animation: gh-hero-drift 18s ease-in-out infinite alternate;
}
@media (prefers-reduced-motion: reduce) {
    .gh-sc-hero__media { animation: none; transform: scale(1); }
}
.gh-sc-hero__shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(8, 10, 14, 0.4) 0%, rgba(8, 10, 14, 0.72) 50%, rgba(8, 10, 14, 0.94) 100%),
        linear-gradient(90deg, rgba(8, 10, 14, 0.48) 0%, transparent 55%);
}
.gh-sc-hero__content {
    position: relative;
    z-index: 1;
    padding: 120px 0 72px;
    max-width: 720px;
}
.gh-sc-hero h1 {
    margin: 0;
    max-width: 12ch;
    font-family: var(--gh-display);
    font-size: clamp(36px, 5.5vw, 64px);
    line-height: 1.02;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--gh-white) !important;
}
.gh-sc-hero__lead {
    margin: 20px 0 28px;
    max-width: 48ch;
    color: rgba(255, 255, 255, 0.84);
    font-size: 17px;
    line-height: 1.65;
}

/* Intro */
.gh-sc-intro {
    padding-block: 88px;
    background: var(--gh-white);
    border-bottom: 1px solid var(--gh-line);
}
.gh-sc-intro__grid {
    display: grid;
    grid-template-columns: 1.35fr 0.85fr;
    gap: 40px;
    align-items: start;
}
.gh-sc-intro__copy h2 {
    margin: 0 0 18px;
    font-family: var(--gh-display);
    font-size: clamp(32px, 4vw, 44px);
    line-height: 1;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--gh-ink) !important;
}
.gh-sc-intro__copy p {
    margin: 0 0 14px;
    color: #4a5160;
    font-size: 16px;
    line-height: 1.7;
}
.gh-sc-intro__copy p:last-child { margin-bottom: 0; }
.gh-sc-intro__copy a {
    color: var(--gh-red);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.gh-sc-intro__copy a:hover { color: var(--gh-red-dark); }
.gh-sc-tips {
    padding: 28px 26px;
    background: var(--gh-fog);
    border: 1px solid var(--gh-line);
    border-left: 3px solid var(--gh-red);
}
.gh-sc-tips h3 {
    margin: 0 0 16px;
    font-family: var(--gh-display);
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--gh-ink) !important;
}
.gh-sc-tips ul {
    margin: 0;
    padding: 0 0 0 18px;
    color: #4a5160;
    font-size: 15px;
    line-height: 1.65;
}
.gh-sc-tips li + li { margin-top: 10px; }

/* Sticky chart nav */
.gh-sc-nav-wrap {
    position: sticky;
    top: 72px;
    z-index: 40;
    padding: 14px 0;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--gh-line);
    backdrop-filter: blur(12px);
}
.gh-sc-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.gh-sc-nav a {
    padding: 8px 14px;
    border: 1px solid var(--gh-line);
    background: var(--gh-white);
    color: var(--gh-ink) !important;
    font-family: var(--gh-display);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: border-color .2s ease, color .2s ease, background .2s ease;
}
.gh-sc-nav a:hover,
.gh-sc-nav a.is-active {
    border-color: var(--gh-red);
    color: var(--gh-red) !important;
    background: rgba(225, 29, 46, 0.04);
}

/* Chart blocks */
.gh-sc-charts {
    padding-block: 72px 88px;
}
.gh-sc-charts__stack {
    display: grid;
    gap: 56px;
}
.gh-sc-chart {
    scroll-margin-top: 140px;
    padding: 32px 32px 28px;
    background: var(--gh-white);
    border: 1px solid var(--gh-line);
}
.gh-sc-chart__head {
    max-width: 720px;
    margin-bottom: 24px;
}
.gh-sc-chart__category {
    display: inline-block;
    margin-bottom: 10px;
    color: var(--gh-red);
    font-family: var(--gh-display);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.gh-sc-chart__head h2 {
    margin: 0 0 12px;
    font-family: var(--gh-display);
    font-size: clamp(26px, 3vw, 34px);
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--gh-ink) !important;
}
.gh-sc-chart__head p {
    margin: 0;
    color: #4a5160;
    font-size: 15px;
    line-height: 1.65;
}
.gh-sc-chart__frame {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border: 1px solid var(--gh-line);
    background: #f8f9fb;
    padding: 12px;
}
.gh-sc-chart__frame img {
    width: 100%;
    min-width: 520px;
    height: auto;
    margin-inline: auto;
}

/* Section headings + CTA — beat Creote */
.gh-sizechart .gh-section-head h2 { color: var(--gh-ink) !important; }
.gh-sizechart .gh-section-head p { color: var(--gh-mute) !important; }
.gh-sizechart .gh-final-cta h2 { color: var(--gh-white) !important; }
.gh-sizechart .gh-final-cta p { color: rgba(255, 255, 255, 0.88) !important; }

/* Reveal */
.gh-sizechart .gh-reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .65s ease, transform .65s ease;
}
.gh-sizechart .gh-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
    .gh-sizechart .gh-reveal {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

@media (max-width: 900px) {
    .gh-sc-intro__grid { grid-template-columns: 1fr; }
    .gh-sc-intro { padding-block: 64px; }
    .gh-sc-charts { padding-block: 56px 72px; }
    .gh-sc-chart { padding: 24px 20px; }
    .gh-sc-nav-wrap { top: 72px; }
}

@media (max-width: 600px) {
    .gh-sc-hero__content { padding: 108px 0 56px; }
    .gh-sc-nav a {
        flex: 1 1 calc(50% - 8px);
        text-align: center;
        font-size: 11px;
        padding: 8px 10px;
    }
}
