/* ============================================================
   THE NEW KITS — Size Guide Stylesheet
   ============================================================ */

.tnk-size-page {
    --black: #131313;
    --white: #ffffff;
    --red: #E31E24;
    --red-dark: #B81015;
    --grey-50: #fafafa;
    --grey-100: #f5f5f5;
    --grey-150: #ededed;
    --grey-200: #e5e5e5;
    --grey-300: #d4d4d4;
    --grey-400: #a3a3a3;
    --grey-500: #6b6862;
    --grey-700: #404040;
    --section: 72px;
    --pad: 32px;
}

.tnk-size-page {
    margin: 0;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--black);
    background: var(--white);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

.tnk-size-page .container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 var(--pad);
}
@media (max-width: 640px) {
    .tnk-size-page .container { padding: 0 20px; }
    .tnk-size-page { --section: 48px; }
}

/* Shared button */
.tnk-size-page .btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: var(--red);
    color: var(--white) !important;
    border-radius: 999px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    transition: background 0.15s, transform 0.15s, box-shadow 0.2s;
}
.tnk-size-page .btn-primary:hover {
    background: var(--red-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(227,30,36,0.3);
}
.tnk-size-page .btn-primary svg { transition: transform 0.2s; }
.tnk-size-page .btn-primary:hover svg { transform: translateX(3px); }

/* ============= HERO ============= */
.tnk-size-page .size-hero {
    padding: 56px 0 40px;
    background: linear-gradient(180deg, #f7f5f0 0%, #fff 100%);
    border-bottom: 1px solid var(--grey-150);
}
.tnk-size-page .size-hero__breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--grey-500);
    margin-bottom: 22px;
    flex-wrap: wrap;
}
.tnk-size-page .size-hero__breadcrumb a {
    color: inherit;
    text-decoration: none;
    transition: color 0.15s;
}
.tnk-size-page .size-hero__breadcrumb a:hover { color: var(--black); }
.tnk-size-page .size-hero__breadcrumb svg { color: var(--grey-400); }
.tnk-size-page .size-hero__eyebrow {
    display: inline-block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.2em;
    color: var(--red);
    text-transform: uppercase;
    background: rgba(227,30,36,0.08);
    padding: 6px 12px;
    border-radius: 999px;
    margin-bottom: 18px;
}
.tnk-size-page .size-hero h1 {
    font-size: clamp(36px, 6vw, 64px);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: var(--black);
    margin: 0 0 14px;
}
.tnk-size-page .size-hero__lede {
    font-size: 17px;
    line-height: 1.55;
    color: var(--grey-700);
    max-width: 640px;
    margin: 0;
}

/* ============= HOW-TO CARD ============= */
.tnk-size-page .size-howto {
    padding: 32px 0;
    background: #fff;
}
.tnk-size-page .howto-card {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    background: var(--grey-50);
    border: 1px solid var(--grey-150);
    border-left: 4px solid var(--red);
    border-radius: 12px;
    padding: 24px 28px;
}
@media (max-width: 640px) {
    .tnk-size-page .howto-card { flex-direction: column; gap: 12px; padding: 20px; }
}
.tnk-size-page .howto-card__icon {
    width: 56px;
    height: 56px;
    background: var(--black);
    color: var(--white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.tnk-size-page .howto-card__body h2 {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.015em;
    color: var(--black);
    margin: 0 0 6px;
}
.tnk-size-page .howto-card__body p {
    font-size: 14.5px;
    line-height: 1.65;
    color: var(--grey-700);
    margin: 0;
}
.tnk-size-page .howto-card__body strong { color: var(--black); font-weight: 700; }

/* ============= TABS ============= */
.tnk-size-page .size-tabs-section {
    padding: 24px 0 var(--section);
    background: #fff;
}
.tnk-size-page .size-tabs {
    display: flex;
    gap: 4px;
    overflow-x: auto;
    margin-bottom: 32px;
    padding-bottom: 6px;
    border-bottom: 2px solid var(--grey-150);
    scrollbar-width: thin;
}
.tnk-size-page .size-tabs::-webkit-scrollbar { height: 4px; }
.tnk-size-page .size-tabs::-webkit-scrollbar-thumb { background: var(--grey-300); border-radius: 2px; }
.tnk-size-page .size-tab {
    flex-shrink: 0;
    background: transparent;
    border: none;
    padding: 14px 22px;
    margin-bottom: -2px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    color: var(--grey-500);
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: color 0.15s, border-color 0.15s, background 0.15s;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
}
.tnk-size-page .size-tab:hover {
    color: var(--black);
    background: var(--grey-50);
}
.tnk-size-page .size-tab.is-active {
    color: var(--black);
    font-weight: 700;
    border-bottom-color: var(--red);
}

/* ============= PANELS ============= */
.tnk-size-page .size-panel { display: none; }
.tnk-size-page .size-panel.is-active { display: block; }
.tnk-size-page .panel-head {
    margin-bottom: 20px;
}
.tnk-size-page .panel-head h2 {
    font-size: clamp(22px, 3vw, 28px);
    font-weight: 800;
    letter-spacing: -0.015em;
    color: var(--black);
    margin: 0 0 6px;
}
.tnk-size-page .panel-head p {
    font-size: 14.5px;
    line-height: 1.55;
    color: var(--grey-700);
    margin: 0;
    max-width: 720px;
}
.tnk-size-page .size-note {
    margin: 16px 0 0;
    font-size: 12.5px;
    color: var(--grey-500);
    font-style: italic;
}

/* ============= TABLE ============= */
.tnk-size-page .size-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--grey-200);
    border-radius: 12px;
    background: #fff;
    -webkit-overflow-scrolling: touch;
}
.tnk-size-page .size-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    min-width: 600px;
}
.tnk-size-page .size-table thead th {
    background: var(--black);
    color: var(--white);
    text-align: left;
    padding: 14px 16px;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
    border-right: 1px solid rgba(255,255,255,0.08);
}
.tnk-size-page .size-table thead th:last-child { border-right: none; }
.tnk-size-page .size-table thead th span {
    display: inline-block;
    font-size: 10px;
    color: rgba(255,255,255,0.55);
    font-weight: 600;
    margin-left: 4px;
    text-transform: lowercase;
    letter-spacing: 0.02em;
}
.tnk-size-page .size-table tbody tr {
    transition: background 0.1s;
}
.tnk-size-page .size-table tbody tr:hover { background: var(--grey-50); }
.tnk-size-page .size-table tbody tr:nth-child(odd) { background: rgba(255,255,255,0.7); }
.tnk-size-page .size-table tbody tr:nth-child(odd):hover { background: var(--grey-50); }
.tnk-size-page .size-table tbody td {
    padding: 14px 16px;
    border-top: 1px solid var(--grey-150);
    color: var(--grey-700);
    text-align: left;
    font-variant-numeric: tabular-nums;
}
.tnk-size-page .size-table tbody td:first-child {
    font-weight: 700;
    color: var(--black);
    white-space: nowrap;
}

/* ============= TIPS ============= */
.tnk-size-page .size-tips {
    padding: var(--section) 0;
    background: var(--grey-50);
    border-top: 1px solid var(--grey-150);
    border-bottom: 1px solid var(--grey-150);
}
.tnk-size-page .size-tips h2 {
    font-size: clamp(24px, 4vw, 36px);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--black);
    margin: 0 0 36px;
    text-align: center;
}
.tnk-size-page .tips-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1180px;
    margin: 0 auto;
}
@media (max-width: 900px) {
    .tnk-size-page .tips-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
    .tnk-size-page .tips-grid { grid-template-columns: 1fr; gap: 12px; }
}
.tnk-size-page .tip {
    background: #fff;
    border: 1px solid var(--grey-200);
    border-radius: 14px;
    padding: 26px 22px;
    transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.tnk-size-page .tip:hover {
    border-color: var(--black);
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.05);
}
.tnk-size-page .tip__num {
    font-size: 24px;
    font-weight: 900;
    color: var(--red);
    line-height: 1;
    margin-bottom: 14px;
    letter-spacing: -0.02em;
}
.tnk-size-page .tip h3 {
    font-size: 16px;
    font-weight: 800;
    color: var(--black);
    margin: 0 0 8px;
    letter-spacing: -0.01em;
    line-height: 1.3;
}
.tnk-size-page .tip p {
    font-size: 13.5px;
    line-height: 1.55;
    color: var(--grey-700);
    margin: 0;
}
.tnk-size-page .tip p a {
    color: var(--red);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.tnk-size-page .tip p a:hover { color: var(--red-dark); }

/* ============= CTA ============= */
.tnk-size-page .size-cta {
    padding: var(--section) 0;
    background: var(--black);
    color: var(--white);
    text-align: center;
}
.tnk-size-page .size-cta h2 {
    font-size: clamp(28px, 4.5vw, 44px);
    font-weight: 900;
    letter-spacing: -0.025em;
    line-height: 1.1;
    color: var(--white);
    margin: 0 0 14px;
}
.tnk-size-page .size-cta p {
    font-size: 16px;
    color: rgba(255,255,255,0.7);
    max-width: 520px;
    margin: 0 auto 28px;
}
@media (max-width: 639px) {
    .tnk-size-page .size-cta .btn-primary {
        display: flex;
        justify-content: center;
        margin: 0 auto;
        max-width: 280px;
    }
}
