@font-face { font-family: 'Inter'; src: url('../../fonts/Inter-Regular.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: block; }
@font-face { font-family: 'Inter'; src: url('../../fonts/Inter-Medium.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: block; }
@font-face { font-family: 'Inter'; src: url('../../fonts/Inter-SemiBold.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: block; }
@font-face { font-family: 'Inter'; src: url('../../fonts/Inter-Bold.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: block; }
@font-face { font-family: 'Oswald'; src: url('../../fonts/Oswald-SemiBold.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: block; }
@font-face { font-family: 'Oswald'; src: url('../../fonts/Oswald-Bold.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: block; }

:root {
    --blue: #0b2f73;
    --blue-2: #0b2f73;
    --blue-dark: #072457;
    --red: #d7181f;
    --red-hover: #b61218;
    --green: #16a34a;
    --yellow: #ffbf00;
    --dark: #111827;
    --navy: #0f172a;
    --text: #101828;
    --muted: #667085;
    --line: #e4e7ec;
    --panel: #ffffff;
    --bg: #f7f8fa;
    --white: #ffffff;
    --radius: 20px;
    --container: 1280px;
    --pad: clamp(20px, 4vw, 48px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; background: var(--bg); overflow-x: hidden; }
body {
    min-height: 100vh;
    background: linear-gradient(180deg, #fafbfc 0%, #f3f5f7 100%);
    color: var(--text);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button { border: 0; background: none; cursor: pointer; }

.size-page { width: 100%; overflow-x: hidden; padding: 22px 0 32px; }
.size-chart-wrap,
.footer-inner {
    width: min(1240px, calc(100% - 80px));
    max-width: 100%;
    margin: 0 auto;
}
.size-chart-wrap,
.size-main-grid,
.size-card,
.table-card,
.guide-card,
.jersey-guide,
.measure-scene { min-width: 0; }

.page-intro {
    margin-bottom: 16px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
}
.eyebrow {
    display: inline-flex;
    align-items: center;
    margin-bottom: 10px;
    padding: 7px 14px;
    border-radius: 999px;
    background: #e8eefb;
    color: var(--blue);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .14em;
    text-transform: uppercase;
}
.page-intro h1 {
    margin: 0 0 8px;
    color: #0f172a;
    font-family: 'Oswald', sans-serif;
    font-size: clamp(40px, 4vw, 58px);
    line-height: .98;
    text-transform: uppercase;
}
.page-intro p {
    max-width: 620px;
    margin: 0;
    color: #475467;
    font-size: 16px;
    line-height: 1.6;
    font-weight: 600;
}

.size-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 14px;
}
.size-tab {
    min-height: 78px;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) 18px;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid #e4e7ec;
    border-radius: 18px;
    background: #fff;
    text-align: left;
    color: #0f172a;
    box-shadow: none !important;
}
.size-tab.active {
    border-color: transparent;
    background: linear-gradient(135deg, #072457 0%, #0b2f73 78%, #123d8e 100%);
    color: #fff;
    box-shadow: none !important;
}
.tab-icon {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: rgba(255,255,255,.14);
    box-shadow: none !important;
}
.size-tab:not(.active) .tab-icon { background: #eef2f7; color: var(--blue); }
.tab-icon svg, .tab-arrow svg { width: 20px; height: 20px; }
.size-tab strong { display: block; font-size: 15px; font-weight: 900; letter-spacing: .01em; }
.size-tab small { display: block; margin-top: 3px; font-size: 12px; font-weight: 600; color: inherit; opacity: .86; }
.tab-arrow { color: inherit; opacity: .82; }

.size-main-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, .95fr);
    gap: 16px;
    width: 100%;
}
.size-card,
.measure-card,
.note-card {
    border: 1px solid #e5e7eb;
    border-radius: 22px;
    background: #fff;
    box-shadow: none;
}
.size-card { padding: clamp(18px, 2vw, 24px); overflow: hidden; }
.card-head,
.section-head { margin-bottom: 16px; }
.card-head h2,
.section-head h2 {
    margin: 0;
    color: #0f172a;
    font-family: 'Oswald', sans-serif;
    font-size: clamp(26px, 2vw, 34px);
    line-height: 1;
    text-transform: uppercase;
}
.size-table-wrap {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    border: 1px solid #e4e7ec;
    border-radius: 18px;
    background: #fff;
}
.size-table {
    width: 100%;
    min-width: 620px;
    border-collapse: collapse;
    table-layout: fixed;
}

.size-table .col-size { width: 10%; }
.size-table .col-chest { width: 22%; }
.size-table .col-length { width: 24%; }
.size-table .col-shoulder { width: 17%; }
.size-table .col-weight { width: 27%; }
.size-table thead { display: table-header-group; }
.size-table tbody { display: table-row-group; }
.size-table tr { display: table-row; }
.size-table th,
.size-table td { display: table-cell; }
.size-table thead th {
    padding: 14px 16px;
    background: #082b67;
    color: #fff;
    border-right: 1px solid rgba(255,255,255,.12);
    font-size: 12px;
    font-weight: 900;
    text-align: center;
    white-space: normal;
}
.size-table tbody td {
    padding: 14px 16px;
    border-top: 1px solid #e5e7eb;
    border-right: 1px solid #edf0f4;
    color: #111827;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    white-space: nowrap;
}
.size-table tbody td:last-child,
.size-table thead th:last-child { border-right: 0; }
.size-table td::before { content: none !important; display: none !important; }
.table-scroll-hint { display: none; }
.table-note { margin-top: 12px; color: #667085; font-size: 12px; line-height: 1.5; font-weight: 600; }
.table-note p + p { margin-top: 4px; }

.jersey-guide {
    width: 100%;
    max-width: 100%;
    min-height: 100%;
    display: grid;
    place-items: center;
    padding: 12px 6px 4px;
    overflow: hidden;
}
.measure-scene {
    position: relative;
    width: min(100%, 360px);
    max-width: 100%;
    aspect-ratio: 1 / 1.04;
    overflow: visible;
}
.measure-scene img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.measure-label { position: absolute; z-index: 2; color: #0f172a; font-family: 'Oswald', sans-serif; font-size: 20px; line-height: 1; text-transform: uppercase; }
.measure-label.shoulder { top: 10px; left: 50%; transform: translateX(-50%); }
.measure-label.chest { top: 42%; left: 50%; transform: translate(-50%, -50%); color: #fff; text-shadow: 0 2px 10px rgba(0,0,0,.25); }
.measure-label.length { bottom: 10px; left: 50%; transform: translateX(-50%); text-align: center; }
.measure-line, .measure-dot { position: absolute; z-index: 2; }
.measure-line { background: #e02424; }
.line-top { top: 36px; left: 52px; right: 52px; height: 3px; }
.line-left { top: 38px; left: 58px; width: 3px; height: calc(100% - 76px); }
.line-right { top: 38px; right: 58px; width: 3px; height: calc(100% - 76px); }
.line-mid { top: 44%; left: 68px; right: 68px; height: 3px; }
.line-bottom { bottom: 28px; left: 56px; width: 3px; height: 52%; }
.measure-dot { width: 10px; height: 10px; border-radius: 50%; background: #e02424; box-shadow: 0 0 0 4px rgba(224,36,36,.15); }
.dot-a { top: 34px; left: 52px; }
.dot-b { top: 34px; right: 52px; }
.dot-c { top: 44%; left: 58px; transform: translateY(-50%); }
.dot-d { bottom: 24px; left: 52px; }

.how-measure,
.important-note,
.size-cta,
.benefits-row { margin-top: 16px; }
.measure-grid,
.note-grid,
.benefits-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.measure-card { position: relative; padding: 16px 14px; }
.step-no { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 999px; background: var(--blue); color: #fff; font-size: 14px; font-weight: 900; }
.mini-figure { position: relative; width: 88px; height: 76px; margin: 12px auto 10px; }
.mf-shirt { position: absolute; inset: 8px 20px 8px; border: 2px solid #0b2f73; border-top-left-radius: 10px; border-top-right-radius: 10px; border-bottom-left-radius: 12px; border-bottom-right-radius: 12px; }
.mf-shirt::before,
.mf-shirt::after { content: ''; position: absolute; top: 2px; width: 18px; height: 18px; border-top: 2px solid #0b2f73; }
.mf-shirt::before { left: -16px; border-left: 2px solid #0b2f73; transform: skewY(-20deg); }
.mf-shirt::after { right: -16px; border-right: 2px solid #0b2f73; transform: skewY(20deg); }
.mf-line { position: absolute; background: #e02424; }
.chest .mf-line.one { left: 18px; right: 18px; top: 34px; height: 3px; }
.length .mf-line.one { top: 10px; bottom: 10px; left: 50%; width: 3px; transform: translateX(-50%); }
.shoulder .mf-line.one { top: 16px; left: 14px; right: 14px; height: 3px; }
.compare .mf-line.one { display: none; }
.measure-copy h3 { margin: 0 0 8px; color: #111827; font-size: 16px; font-weight: 800; }
.measure-copy p { margin: 0; color: #667085; font-size: 13px; line-height: 1.55; font-weight: 600; }
.note-head h2 { color: #d7181f; }
.note-card { display: flex; align-items: flex-start; gap: 12px; padding: 16px 14px; }
.note-icon { width: 42px; height: 42px; flex: 0 0 42px; display: grid; place-items: center; border-radius: 12px; background: #fff5f5; color: #d7181f; }
.note-icon svg { width: 22px; height: 22px; }
.note-card p { margin: 0; color: #475467; font-size: 14px; line-height: 1.55; font-weight: 600; }

.size-cta { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; padding: 22px 24px; border-radius: 22px; overflow: hidden; background: linear-gradient(120deg, #072457 0%, #0b2f73 66%, #0f172a 100%); color: #fff; }
.cta-copy { display: flex; align-items: center; gap: 14px; }
.cta-icon { width: 56px; height: 56px; flex: 0 0 56px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,191,0,.12); color: var(--yellow); }
.cta-icon svg { width: 28px; height: 28px; }
.cta-copy h3 { margin: 0 0 6px; font-family: 'Oswald', sans-serif; font-size: clamp(28px, 3vw, 40px); line-height: 1; text-transform: uppercase; }
.cta-copy p { margin: 0; max-width: 560px; color: rgba(255,255,255,.88); font-size: 15px; line-height: 1.6; }
.cta-actions { display: flex; align-items: center; gap: 12px; }
.cta-btn { min-width: 156px; min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 18px; border-radius: 12px; font-size: 14px; font-weight: 800; text-transform: uppercase; }
.cta-btn.primary { background: #d7181f; color: #fff; }
.cta-btn.secondary { background: #fff; color: #111827; }
.cta-btn svg { width: 16px; height: 16px; }
.benefit-box { min-height: 68px; display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-top: 1px solid #e5e7eb; color: #111827; }
.benefit-icon { width: 40px; height: 40px; flex: 0 0 40px; display: grid; place-items: center; color: var(--blue); }
.benefit-icon svg { width: 22px; height: 22px; }
.benefit-box span:last-child { font-size: 14px; font-weight: 700; line-height: 1.35; }

.site-footer { position: relative; overflow: hidden; padding: 34px 0 12px; color: var(--white); background: #072a68; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .7fr .85fr 1fr; gap: 44px; align-items: start; padding-bottom: 18px; }
.footer-logo { display: inline-flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.footer-logo-mark { width: 46px; height: 46px; flex: 0 0 46px; display: grid; place-items: center; border-radius: 50%; background: var(--yellow); color: #082b67; font-size: 26px; font-weight: 800; box-shadow: 0 10px 24px rgba(0,0,0,.18); }
.footer-logo-text { display: flex; flex-direction: column; line-height: 1; }
.footer-logo-text strong { text-transform: uppercase; font-family: 'Oswald', sans-serif; font-size: 34px; letter-spacing: .02em; }
.footer-logo-text span { margin-top: 2px; opacity: .9; font-size: 14px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.footer-brand p { max-width: 320px; margin-bottom: 22px; color: rgba(255,255,255,.88); font-size: 16px; line-height: 1.45; }
.footer-social { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; }
.footer-social a { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; background: rgba(255,255,255,.04); color: var(--white); }
.footer-social svg { width: 18px; height: 18px; }
.footer-col h4 { margin-bottom: 18px; text-transform: uppercase; font-size: 18px; font-weight: 800; letter-spacing: .04em; }
.footer-links, .footer-contact-list { list-style: none; display: flex; flex-direction: column; gap: 10px; padding: 0; }
.footer-links a, .footer-contact-list a, .footer-contact-text { color: rgba(255,255,255,.90); font-size: 16px; line-height: 1.35; }
.footer-contact-list li { display: flex; align-items: flex-start; gap: 12px; }
.footer-contact-icon { width: 22px; height: 22px; flex: 0 0 22px; margin-top: 1px; }
.footer-contact-icon svg { width: 100%; height: 100%; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 14px; text-align: center; color: rgba(255,255,255,.84); font-size: 14px; }

@media (max-width: 1100px) {
    .size-tabs { grid-template-columns: 1fr; }
    .size-main-grid { grid-template-columns: 1fr; }
    .measure-grid, .note-grid, .benefits-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .size-cta { grid-template-columns: 1fr; }
    .cta-actions { justify-content: flex-start; }
    .footer-grid { grid-template-columns: 1.2fr .8fr .8fr 1fr; gap: 28px; }
}
@media (max-width: 960px) {
    .size-chart-wrap,
    .footer-inner { width: min(900px, calc(100% - 48px)); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
    .size-chart-wrap,
    .footer-inner { width: min(100% - 36px, 520px); }
    .size-page { padding-top: 16px; }
    .page-intro { margin-bottom: 14px; }
    .page-intro h1 { font-size: 40px; }
    .page-intro p { font-size: 14px; line-height: 1.55; }
    .size-tabs {
        display: flex;
        gap: 10px;
        width: 100%;
        max-width: 100%;
        overflow-x: auto;
        padding-bottom: 2px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .size-tabs::-webkit-scrollbar { display: none; }
    .size-tab {
        width: min(270px, 82vw);
        flex: 0 0 min(270px, 82vw);
        min-height: 72px;
        grid-template-columns: 38px minmax(0, 1fr) 16px;
        gap: 10px;
        padding: 12px 14px;
        border-radius: 16px;
        box-shadow: none !important;
    }
    .size-tab strong { font-size: 14px; }
    .size-tab small { font-size: 11px; }
    .size-card { padding: 16px; border-radius: 18px; }
    .card-head h2, .section-head h2 { font-size: 28px; }
    .table-card { width: 100%; max-width: 100%; overflow: hidden; }
    .size-table-wrap { width: 100%; max-width: 100%; overflow-x: auto; border-radius: 15px; }
    .size-table { width: 100%; min-width: 600px; max-width: none; }
    .size-table thead th,
    .size-table tbody td { padding-left: 14px; padding-right: 14px; }
    .table-scroll-hint { display: block; margin: 8px 2px 0; color: #667085; font-size: 11px; font-weight: 700; }
    .guide-card { width: 100%; max-width: 100%; overflow: hidden; }
    .jersey-guide { padding: 8px 0 0; overflow: hidden; }
    .measure-scene { width: min(100%, 310px); margin: 0 auto; }
    .measure-label { font-size: 16px; }
    .line-top { left: 34px; right: 34px; }
    .line-left { left: 38px; }
    .line-right { right: 38px; }
    .line-mid { left: 46px; right: 46px; }
    .dot-a { left: 30px; }
    .dot-b { right: 30px; }
    .dot-c { left: 38px; }
    .dot-d { left: 30px; }
    .measure-grid, .note-grid { grid-template-columns: 1fr; }
    .benefits-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .measure-card { padding: 14px; display: grid; grid-template-columns: 32px 70px minmax(0, 1fr); gap: 10px; align-items: center; }
    .mini-figure { width: 70px; height: 58px; margin: 0; }
    .measure-copy h3 { font-size: 15px; margin-bottom: 4px; }
    .measure-copy p { font-size: 12px; line-height: 1.45; }
    .note-card { padding: 13px; gap: 10px; }
    .note-icon { width: 36px; height: 36px; flex-basis: 36px; }
    .note-card p { font-size: 13px; }
    .size-cta { grid-template-columns: 1fr; padding: 18px 16px; border-radius: 18px; gap: 16px; }
    .cta-copy { align-items: flex-start; }
    .cta-icon { width: 48px; height: 48px; flex-basis: 48px; }
    .cta-copy h3 { font-size: 28px; }
    .cta-copy p { font-size: 13px; }
    .cta-actions { flex-direction: column; }
    .cta-btn { width: 100%; min-height: 46px; }
    .benefit-box { min-height: 58px; padding: 10px 8px; gap: 8px; }
    .benefit-icon { width: 32px; height: 32px; flex-basis: 32px; }
    .benefit-box span:last-child { font-size: 12px; }
    .footer-grid { grid-template-columns: 1fr; }
    .site-footer { padding-top: 26px; }
}
@media (max-width: 380px) {
    .size-chart-wrap,
    .footer-inner { width: min(100% - 30px, 360px); }
    .size-table { width: 100%; min-width: 600px; }
    .size-table thead th,
    .size-table tbody td { padding-left: 12px; padding-right: 12px; font-size: 12px; }
    .measure-card { grid-template-columns: 30px minmax(0, 1fr); }
    .mini-figure { display: none; }
    .benefits-row { grid-template-columns: 1fr; }
}


/* 20260627sm: ikut top bar/sidebar/footer shop page 100% */
.size-page,
.size-page * {
    box-sizing: border-box;
}

/* jangan ada shadow dekat 3 button tab */
.size-tabs .size-tab,
.size-tabs .size-tab.active {
    box-shadow: none !important;
}

/* pastikan content size chart sahaja yang bergerak, bukan header/footer */
.size-page {
    width: 100%;
    overflow-x: clip;
}

@media (max-width: 720px) {
    .size-page {
        padding-top: 0;
    }
}
