/* =========================================================
   BORN REGAL
   SIZE GUIDE
   PREMIUM WHITE / BLACK / GOLD
========================================================= */

:root {

    --size-black: #111111;
    --size-black-soft: #171717;

    --size-white: #ffffff;
    --size-light: #f8f8f6;
    --size-light-gold: #fcfaf4;

    --size-text: #111111;
    --size-soft: #555555;
    --size-muted: #858585;

    --size-gold: #c8a74e;
    --size-gold-dark: #a98935;
    --size-gold-light: #eee4c8;

    --size-border: #dedede;
    --size-border-soft: #e9e9e9;

    --size-radius: 8px;
    --size-transition: .25s ease;
}


/* =========================================================
   RESET
========================================================= */

.size-guide-page,
.size-guide-page *,
.size-guide-page *::before,
.size-guide-page *::after {

    box-sizing: border-box;
}


.size-guide-page {

    width: 100%;

    margin: 0;
    padding: 0;

    background: var(--size-white);

    color: var(--size-text);

    font-family:
        "Helvetica Neue",
        Helvetica,
        Arial,
        sans-serif;

    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}


.size-guide-page button {

    font-family: inherit;
}


/* =========================================================
   CONTAINER
========================================================= */

.size-container {

    width: min(
        1080px,
        calc(100% - 48px)
    );

    margin: 0 auto;
}


/* =========================================================
   HERO
========================================================= */

.size-hero {

    position: relative;

    padding: 68px 0 62px;

    background:
        radial-gradient(
            circle at 85% 30%,
            rgba(200, 167, 78, .09),
            transparent 28%
        ),
        linear-gradient(
            135deg,
            #ffffff 0%,
            #fbfbfa 58%,
            #f8f5ec 100%
        );

    border-bottom: 1px solid var(--size-border-soft);

    overflow: hidden;
}


.size-hero::after {

    content: "";

    position: absolute;

    left: 50%;

    bottom: -100px;

    width: 280px;
    height: 280px;

    transform: translateX(-50%);

    border: 1px solid rgba(200, 167, 78, .14);

    border-radius: 50%;

    pointer-events: none;
}


.size-hero-content {

    position: relative;
    z-index: 1;

    max-width: 720px;

    margin: 0 auto;

    text-align: center;

    animation: sizeFade .5s ease both;
}


.size-eyebrow {

    display: block;

    margin-bottom: 13px;

    color: var(--size-gold-dark);

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 3.2px;

    line-height: 1.4;

    text-transform: uppercase;
}


.size-hero h1 {

    margin: 0;

    color: var(--size-black);

    font-size: clamp(
        42px,
        5vw,
        60px
    );

    line-height: 1;

    font-weight: 600;

    letter-spacing: -2.2px;
}


.size-hero p {

    max-width: 620px;

    margin: 18px auto 0;

    color: var(--size-soft);

    font-size: 14px;

    line-height: 1.75;
}


/* =========================================================
   MAIN SECTION
========================================================= */

.size-section {

    padding: 64px 0 75px;

    background: var(--size-white);
}


/* =========================================================
   INTRO
========================================================= */

.size-intro {

    max-width: 720px;

    margin: 0 auto 36px;

    text-align: center;
}


.size-intro > span {

    display: block;

    margin-bottom: 10px;

    color: var(--size-gold-dark);

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 2.8px;

    line-height: 1.4;

    text-transform: uppercase;
}


.size-intro h2 {

    margin: 0;

    color: var(--size-black);

    font-size: clamp(
        32px,
        4vw,
        44px
    );

    line-height: 1.1;

    font-weight: 600;

    letter-spacing: -1.4px;
}


.size-intro p {

    max-width: 600px;

    margin: 13px auto 0;

    color: var(--size-soft);

    font-size: 14px;

    line-height: 1.7;
}


/* =========================================================
   TABS
========================================================= */

.size-tabs {

    display: flex;

    align-items: center;

    justify-content: center;

    flex-wrap: wrap;

    gap: 8px;

    margin-bottom: 32px;
}


.size-tab {

    position: relative;

    min-height: 40px;

    padding: 10px 18px;

    background: var(--size-white);

    border: 1px solid var(--size-border);

    border-radius: 5px;

    color: var(--size-soft);

    font-size: 12px;

    font-weight: 600;

    line-height: 1;

    cursor: pointer;

    transition:
        background var(--size-transition),
        color var(--size-transition),
        border-color var(--size-transition),
        transform var(--size-transition),
        box-shadow var(--size-transition);
}


.size-tab:hover {

    border-color: var(--size-gold);

    color: var(--size-black);

    transform: translateY(-1px);

    box-shadow:
        0 4px 12px rgba(0, 0, 0, .05);
}


.size-tab.active {

    background: var(--size-black);

    border-color: var(--size-black);

    color: var(--size-white);

    box-shadow:
        0 5px 14px rgba(0, 0, 0, .10);
}


.size-tab.active::after {

    content: "";

    position: absolute;

    left: 50%;

    bottom: -5px;

    width: 8px;
    height: 8px;

    background: var(--size-black);

    transform: translateX(-50%) rotate(45deg);

    border-radius: 1px;
}


/* =========================================================
   SIZE PANEL
========================================================= */

.size-panel {

    display: none;

    animation: sizePanelFade .3s ease both;
}


.size-panel.active {

    display: block;
}


/* =========================================================
   PANEL HEADING
========================================================= */

.size-panel-heading {

    margin-bottom: 20px;

    text-align: center;
}


.size-panel-heading span {

    display: block;

    margin-bottom: 7px;

    color: var(--size-gold-dark);

    font-size: 9px;

    font-weight: 700;

    letter-spacing: 2.2px;

    line-height: 1.4;

    text-transform: uppercase;
}


.size-panel-heading h3 {

    margin: 0;

    color: var(--size-black);

    font-size: 26px;

    line-height: 1.25;

    font-weight: 600;

    letter-spacing: -.6px;
}


.size-panel-heading p {

    max-width: 650px;

    margin: 9px auto 0;

    color: var(--size-soft);

    font-size: 13px;

    line-height: 1.65;
}


/* =========================================================
   CHART META
========================================================= */

.size-chart-meta {

    display: flex;

    align-items: center;

    justify-content: center;

    flex-wrap: wrap;

    gap: 6px 24px;

    margin-top: 13px;

    color: var(--size-muted);

    font-size: 10px;

    letter-spacing: .5px;

    text-transform: uppercase;
}


.size-chart-meta span {

    display: inline-flex;

    align-items: center;

    gap: 4px;
}


.size-chart-meta strong {

    color: var(--size-black);

    font-weight: 600;
}


/* =========================================================
   TABLE WRAPPER
========================================================= */

.size-table-wrapper {

    position: relative;

    width: 100%;

    overflow-x: auto;

    border: 1px solid var(--size-border);

    border-radius: var(--size-radius);

    background: var(--size-white);

    box-shadow:
        0 8px 28px rgba(0, 0, 0, .035);

    scrollbar-width: thin;

    scrollbar-color:
        #bdbdbd
        #f5f5f5;
}


.size-table-wrapper::-webkit-scrollbar {

    height: 7px;
}


.size-table-wrapper::-webkit-scrollbar-track {

    background: #f5f5f5;

    border-radius: 10px;
}


.size-table-wrapper::-webkit-scrollbar-thumb {

    background: #bdbdbd;

    border-radius: 10px;
}


/* =========================================================
   TABLE
========================================================= */

.size-table {

    width: 100%;

    min-width: 720px;

    border-collapse: separate;

    border-spacing: 0;

    table-layout: fixed;
}


/* =========================================================
   TABLE HEADER
========================================================= */

.size-table thead {

    background: var(--size-black);

    color: var(--size-white);
}


.size-table th,
.size-table td {

    padding: 17px 12px;

    border-right: 1px solid var(--size-border);

    border-bottom: 1px solid var(--size-border);

    text-align: center;

    font-size: 13px;

    line-height: 1.4;
}


.size-table thead th {

    background: var(--size-black);

    border-color: #303030;

    color: var(--size-white);

    font-size: 11px;

    font-weight: 600;

    letter-spacing: .5px;

    text-transform: uppercase;
}


.size-table thead th:first-child {

    width: 135px;

    text-align: left;

    padding-left: 20px;

    border-top-left-radius: 7px;
}


.size-table thead th:last-child {

    border-top-right-radius: 7px;
}


/* =========================================================
   TABLE BODY
========================================================= */

.size-table tbody th {

    background: #fafafa;

    color: var(--size-black);

    font-weight: 600;

    text-align: left;

    padding-left: 20px;

    text-transform: none;
}


.size-table tbody td {

    color: var(--size-soft);

    background: var(--size-white);

    font-weight: 500;

    font-variant-numeric: tabular-nums;

    transition:
        background var(--size-transition),
        color var(--size-transition);
}


.size-table tbody tr:hover td {

    background: #fcfaf4;

    color: var(--size-black);
}


.size-table tbody tr:hover th {

    background: var(--size-light-gold);
}


.size-table tbody tr:last-child th,
.size-table tbody tr:last-child td {

    border-bottom: 0;
}


.size-table th:last-child,
.size-table td:last-child {

    border-right: 0;
}


/* =========================================================
   TEMPORARY NOTICE
========================================================= */

.temporary-notice {

    display: flex;

    align-items: flex-start;

    gap: 13px;

    margin-bottom: 15px;

    padding: 17px 19px;

    background: #fffdf5;

    border: 1px solid var(--size-gold-light);

    border-radius: var(--size-radius);

    box-shadow:
        0 4px 16px rgba(0, 0, 0, .025);
}


.temporary-notice > i {

    flex: 0 0 auto;

    margin-top: 2px;

    color: var(--size-gold-dark);

    font-size: 17px;
}


.temporary-notice strong {

    display: block;

    margin-bottom: 4px;

    color: var(--size-black);

    font-size: 13px;

    font-weight: 600;
}


.temporary-notice p {

    margin: 0;

    color: var(--size-soft);

    font-size: 12px;

    line-height: 1.55;
}


/* =========================================================
   HOW TO MEASURE
========================================================= */

.measure-section {

    margin-top: 54px;

    padding-top: 46px;

    border-top: 1px solid var(--size-border-soft);
}


.measure-content {

    margin-bottom: 28px;

    text-align: center;
}


.measure-content > span {

    display: block;

    margin-bottom: 9px;

    color: var(--size-gold-dark);

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 2.6px;

    line-height: 1.4;

    text-transform: uppercase;
}


.measure-content h2 {

    margin: 0;

    color: var(--size-black);

    font-size: 32px;

    line-height: 1.15;

    font-weight: 600;

    letter-spacing: -.8px;
}


.measure-content p {

    max-width: 620px;

    margin: 11px auto 0;

    color: var(--size-soft);

    font-size: 13px;

    line-height: 1.7;
}


/* =========================================================
   MEASURE POINTS
========================================================= */

.measure-points {

    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 15px;
}


.measure-point {

    position: relative;

    display: flex;

    align-items: flex-start;

    gap: 16px;

    min-height: 120px;

    padding: 23px;

    background: var(--size-white);

    border: 1px solid var(--size-border);

    border-radius: var(--size-radius);

    box-shadow:
        0 6px 22px rgba(0, 0, 0, .035);

    transition:
        border-color var(--size-transition),
        box-shadow var(--size-transition),
        transform var(--size-transition);
}


.measure-point:hover {

    border-color: var(--size-gold-light);

    box-shadow:
        0 10px 28px rgba(0, 0, 0, .06);

    transform: translateY(-2px);
}


.measure-icon {

    width: 44px;
    height: 44px;

    flex: 0 0 44px;

    display: flex;

    align-items: center;
    justify-content: center;

    background: var(--size-light-gold);

    border: 1px solid var(--size-gold-light);

    border-radius: 50%;

    color: var(--size-gold-dark);

    font-size: 14px;
}


.measure-point h3 {

    margin: 1px 0 6px;

    color: var(--size-black);

    font-size: 16px;

    line-height: 1.3;

    font-weight: 600;
}


.measure-point p {

    margin: 0;

    color: var(--size-soft);

    font-size: 13px;

    line-height: 1.6;
}


/* =========================================================
   NOTE
========================================================= */

.size-note {

    display: flex;

    align-items: flex-start;

    gap: 11px;

    margin-top: 22px;

    padding: 16px 18px;

    background: var(--size-light);

    border: 1px solid var(--size-border-soft);

    border-left: 3px solid var(--size-gold);

    border-radius: 0 6px 6px 0;
}


.size-note > i {

    flex: 0 0 auto;

    margin-top: 3px;

    color: var(--size-gold-dark);

    font-size: 14px;
}


.size-note p {

    margin: 0;

    color: var(--size-soft);

    font-size: 12px;

    line-height: 1.65;
}


.size-note strong {

    color: var(--size-black);

    font-weight: 600;
}


/* =========================================================
   ANIMATIONS
========================================================= */

@keyframes sizeFade {

    from {

        opacity: 0;

        transform: translateY(12px);
    }

    to {

        opacity: 1;

        transform: translateY(0);
    }

}


@keyframes sizePanelFade {

    from {

        opacity: 0;

        transform: translateY(7px);
    }

    to {

        opacity: 1;

        transform: translateY(0);
    }

}


/* =========================================================
   LARGE DESKTOP
========================================================= */

@media (min-width: 1200px) {

    .size-container {

        width: min(
            1080px,
            calc(100% - 64px)
        );
    }


    .size-section {

        padding-top: 70px;
    }

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .size-container {

        width: min(
            100% - 40px,
            760px
        );
    }


    .size-hero {

        padding: 56px 0 50px;
    }


    .size-section {

        padding: 52px 0 62px;
    }


    .size-tabs {

        justify-content: flex-start;

        overflow-x: auto;

        flex-wrap: nowrap;

        padding: 4px 2px 8px;

        scrollbar-width: none;
    }


    .size-tabs::-webkit-scrollbar {

        display: none;
    }


    .size-tab {

        flex: 0 0 auto;
    }


    .measure-points {

        grid-template-columns: 1fr;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .size-container {

        width: calc(100% - 30px);
    }


    /* HERO */

    .size-hero {

        padding: 44px 0 42px;
    }


    .size-hero::after {

        width: 210px;
        height: 210px;

        bottom: -80px;
    }


    .size-eyebrow {

        margin-bottom: 11px;

        font-size: 9px;

        letter-spacing: 2.5px;
    }


    .size-hero h1 {

        font-size: 39px;

        letter-spacing: -1.6px;
    }


    .size-hero p {

        margin-top: 15px;

        font-size: 12.5px;

        line-height: 1.65;
    }


    /* MAIN */

    .size-section {

        padding: 45px 0 52px;
    }


    /* INTRO */

    .size-intro {

        margin-bottom: 27px;
    }


    .size-intro > span {

        font-size: 9px;

        letter-spacing: 2.3px;
    }


    .size-intro h2 {

        font-size: 30px;

        letter-spacing: -1px;
    }


    .size-intro p {

        margin-top: 11px;

        font-size: 12.5px;

        line-height: 1.65;
    }


    /* TABS */

    .size-tabs {

        justify-content: flex-start;

        gap: 6px;

        margin: 0 -2px 26px;

        padding: 4px 2px 9px;
    }


    .size-tab {

        min-height: 38px;

        padding: 9px 13px;

        border-radius: 4px;

        font-size: 10.5px;
    }


    .size-tab.active::after {

        display: none;
    }


    /* PANEL */

    .size-panel-heading {

        margin-bottom: 15px;
    }


    .size-panel-heading span {

        font-size: 8px;

        letter-spacing: 1.8px;
    }


    .size-panel-heading h3 {

        font-size: 21px;

        letter-spacing: -.4px;
    }


    .size-panel-heading p {

        font-size: 11.5px;

        line-height: 1.6;
    }


    .size-chart-meta {

        gap: 5px 15px;

        margin-top: 10px;

        font-size: 9px;
    }


    /* TABLE */

    .size-table-wrapper {

        border-radius: 6px;

        box-shadow:
            0 5px 18px rgba(0, 0, 0, .035);
    }


    .size-table {

        min-width: 650px;
    }


    .size-table th,
    .size-table td {

        padding: 13px 9px;

        font-size: 11px;
    }


    .size-table thead th {

        font-size: 10px;
    }


    .size-table thead th:first-child,
    .size-table tbody th {

        width: 105px;

        padding-left: 13px;
    }


    /* NOTICE */

    .temporary-notice {

        gap: 11px;

        padding: 14px;

        border-radius: 6px;
    }


    .temporary-notice > i {

        font-size: 15px;
    }


    .temporary-notice strong {

        font-size: 12px;
    }


    .temporary-notice p {

        font-size: 11px;
    }


    /* HOW TO MEASURE */

    .measure-section {

        margin-top: 40px;

        padding-top: 34px;
    }


    .measure-content {

        margin-bottom: 22px;
    }


    .measure-content > span {

        font-size: 9px;

        letter-spacing: 2.2px;
    }


    .measure-content h2 {

        font-size: 27px;

        letter-spacing: -.6px;
    }


    .measure-content p {

        margin-top: 9px;

        font-size: 11.5px;

        line-height: 1.65;
    }


    /* MEASURE CARDS */

    .measure-points {

        gap: 10px;
    }


    .measure-point {

        min-height: auto;

        gap: 13px;

        padding: 17px;

        border-radius: 7px;
    }


    .measure-icon {

        width: 39px;
        height: 39px;

        flex-basis: 39px;

        font-size: 12px;
    }


    .measure-point h3 {

        margin-top: 0;

        margin-bottom: 5px;

        font-size: 14px;
    }


    .measure-point p {

        font-size: 11.5px;

        line-height: 1.55;
    }


    /* NOTE */

    .size-note {

        gap: 9px;

        margin-top: 16px;

        padding: 13px 14px;
    }


    .size-note > i {

        font-size: 12px;
    }


    .size-note p {

        font-size: 10.5px;

        line-height: 1.6;
    }

}


/* =========================================================
   SMALL MOBILE - 360px
========================================================= */

@media (max-width: 380px) {

    .size-container {

        width: calc(100% - 24px);
    }


    .size-hero {

        padding: 38px 0 36px;
    }


    .size-hero h1 {

        font-size: 35px;

        letter-spacing: -1.4px;
    }


    .size-hero p {

        font-size: 11.5px;
    }


    .size-section {

        padding: 38px 0 45px;
    }


    .size-intro h2 {

        font-size: 27px;
    }


    .size-intro p {

        font-size: 11.5px;
    }


    .size-tab {

        min-height: 36px;

        padding: 8px 11px;

        font-size: 10px;
    }


    .size-panel-heading h3 {

        font-size: 19px;
    }


    .size-table {

        min-width: 625px;
    }


    .size-table th,
    .size-table td {

        padding: 12px 8px;

        font-size: 10.5px;
    }


    .size-table thead th {

        font-size: 9.5px;
    }


    .size-table thead th:first-child,
    .size-table tbody th {

        width: 95px;

        padding-left: 11px;
    }


    .measure-content h2 {

        font-size: 25px;
    }


    .measure-point {

        padding: 15px;
    }


    .measure-icon {

        width: 36px;
        height: 36px;

        flex-basis: 36px;
    }


    .measure-point h3 {

        font-size: 13px;
    }


    .measure-point p {

        font-size: 10.5px;
    }

}


/* =========================================================
   EXTRA SMALL MOBILE - 320px
========================================================= */

@media (max-width: 330px) {

    .size-container {

        width: calc(100% - 20px);
    }


    .size-hero h1 {

        font-size: 32px;
    }


    .size-eyebrow {

        font-size: 8px;

        letter-spacing: 2px;
    }


    .size-intro h2 {

        font-size: 25px;
    }


    .size-panel-heading h3 {

        font-size: 18px;
    }


    .size-chart-meta {

        font-size: 8px;

        gap: 4px 10px;
    }


    .size-table {

        min-width: 600px;
    }


    .size-table th,
    .size-table td {

        padding: 11px 7px;

        font-size: 10px;
    }


    .size-table thead th {

        font-size: 9px;
    }


    .size-table thead th:first-child,
    .size-table tbody th {

        width: 88px;

        padding-left: 9px;
    }


    .measure-content h2 {

        font-size: 23px;
    }


    .measure-point {

        gap: 10px;

        padding: 13px;
    }


    .measure-icon {

        width: 34px;
        height: 34px;

        flex-basis: 34px;

        font-size: 11px;
    }


    .measure-point h3 {

        font-size: 12.5px;
    }


    .measure-point p {

        font-size: 10px;
    }


    .size-note {

        padding: 11px 12px;
    }


    .size-note p {

        font-size: 10px;
    }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .size-guide-page *,
    .size-guide-page *::before,
    .size-guide-page *::after {

        animation-duration: .01ms !important;

        animation-iteration-count: 1 !important;

        scroll-behavior: auto !important;

        transition-duration: .01ms !important;
    }

}