/* =========================================================
   ECHTLEDERJACKEN
   GrÃ¶ÃŸen- und Passformguide
   size-guide.css
   ========================================================= */


/* ---------------------------------------------------------
   FOUNDATION
   --------------------------------------------------------- */

.size-guide-page {
    width: 100%;
    max-width: none;

    margin: 0;
    padding: 0;

    background-color:
        var(--color-secondary);

    overflow-x: clip;
}


body.page-template-page-size-fit-guide
#main-content.size-guide-page,
body.page-template-page-size-fit-guide
.site-main {
    width: 100% !important;
    max-width: none !important;

    margin: 0 !important;
    padding: 0 !important;
}


.size-guide-container {
    width: 100%;
    max-width: 1560px;

    margin-inline: auto;

    padding-inline:
        clamp(1.5rem, 4.5vw, 5rem);
}


.size-guide-container--narrow {
    max-width: 1120px;
}


/* ---------------------------------------------------------
   BREADCRUMB
   --------------------------------------------------------- */

.size-guide-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 0.6rem;

    margin-bottom:
        clamp(2.25rem, 4vw, 4rem);

    color:
        var(--color-text-muted);

    font-size: 0.62rem;
    font-weight: 600;

    letter-spacing:
        0.08em;

    text-transform: uppercase;
}


.size-guide-breadcrumb a {
    color:
        inherit;

    text-decoration: none;
}


.size-guide-breadcrumb a:hover {
    color:
        var(--color-accent-gold);
}


/* ---------------------------------------------------------
   HERO
   --------------------------------------------------------- */

.size-guide-hero {
    padding:
        clamp(2.5rem, 5vw, 5rem)
        0
        clamp(4rem, 7vw, 7rem);

    border-bottom:
        1px solid var(--color-border);
}


.size-guide-hero__grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(300px, 420px);

    gap:
        clamp(4rem, 8vw, 9rem);

    align-items: end;
}


.size-guide-hero__content
h1 {
    max-width: 980px;

    margin:
        0
        0
        1.5rem;

    color:
        var(--color-primary);

    font-family:
        var(--font-display);

    font-size:
        clamp(3.5rem, 6vw, 6.6rem);

    font-weight: 400;

    line-height: 0.94;

    letter-spacing:
        -0.055em;
}


.size-guide-hero__lead {
    max-width: 850px;

    margin: 0;

    color:
        var(--color-text-muted);

    font-size:
        clamp(1rem, 1.15vw, 1.12rem);

    line-height: 1.8;
}


.size-guide-hero__note {
    display: grid;

    grid-template-columns:
        42px
        minmax(0, 1fr);

    gap: 1rem;

    padding:
        1.5rem
        0;

    border-top:
        1px solid var(--color-primary);

    border-bottom:
        1px solid var(--color-border);
}


.size-guide-hero__note-number {
    color:
        var(--color-accent-gold);

    font-family:
        var(--font-display);

    font-size: 0.84rem;

    font-style: italic;
}


.size-guide-hero__note
strong {
    display: block;

    margin-bottom:
        0.5rem;

    color:
        var(--color-primary);

    font-family:
        var(--font-display);

    font-size:
        1.25rem;

    font-weight: 400;
}


.size-guide-hero__note
p {
    margin: 0;

    color:
        var(--color-text-muted);

    font-size: 0.78rem;

    line-height: 1.7;
}


/* ---------------------------------------------------------
   SHARED SECTION HEADING
   --------------------------------------------------------- */

.size-guide-section-heading {
    max-width: 900px;

    margin-bottom:
        clamp(2.5rem, 5vw, 4.5rem);
}


.size-guide-section-heading
h2 {
    margin:
        0
        0
        1rem;

    color:
        var(--color-primary);

    font-size:
        clamp(2.5rem, 4vw, 4.4rem);

    line-height: 0.98;
}


.size-guide-section-heading
p {
    max-width: 760px;

    margin: 0;

    color:
        var(--color-text-muted);

    line-height: 1.8;
}


.size-guide-section-heading--split {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(320px, 520px);

    gap:
        clamp(3rem, 7vw, 8rem);

    max-width: none;

    align-items: end;
}


.size-guide-section-heading--split
p {
    margin-bottom: 0.35rem;
}


/* ---------------------------------------------------------
   PROCESS
   --------------------------------------------------------- */

.size-guide-process {
    padding:
        clamp(4.5rem, 8vw, 8rem)
        0;
}


.size-guide-process__grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    border-top:
        1px solid var(--color-primary);

    border-bottom:
        1px solid var(--color-border);
}


.size-guide-process__item {
    min-height: 260px;

    padding:
        1.75rem
        clamp(1.25rem, 2.5vw, 2.25rem)
        2rem;
}


.size-guide-process__item
+ .size-guide-process__item {
    border-left:
        1px solid var(--color-border);
}


.size-guide-process__number {
    display: block;

    margin-bottom:
        clamp(3rem, 5vw, 5rem);

    color:
        var(--color-accent-gold);

    font-family:
        var(--font-display);

    font-size:
        0.8rem;

    font-style: italic;
}


.size-guide-process__item
h3 {
    margin:
        0
        0
        0.75rem;

    color:
        var(--color-primary);

    font-family:
        var(--font-display);

    font-size:
        clamp(1.45rem, 2vw, 1.9rem);

    font-weight: 400;

    line-height: 1.1;
}


.size-guide-process__item
p {
    margin: 0;

    color:
        var(--color-text-muted);

    font-size:
        0.84rem;

    line-height: 1.7;
}


/* ---------------------------------------------------------
   SIZE TABLES
   --------------------------------------------------------- */

.size-guide-tables {
    padding:
        clamp(4.5rem, 8vw, 8rem)
        0;

    background-color:
        var(--color-background-alt);

    border-top:
        1px solid var(--color-border);

    border-bottom:
        1px solid var(--color-border);
}


.size-guide-tables__grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap:
        clamp(1.25rem, 2.5vw, 2.5rem);
}


.size-guide-table-card {
    background-color:
        var(--color-secondary);

    border:
        1px solid var(--color-border);
}


.size-guide-table-card__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 1rem;

    padding:
        1.5rem
        1.5rem
        1.25rem;

    border-bottom:
        1px solid var(--color-primary);
}


.size-guide-table-card__eyebrow {
    display: block;

    margin-bottom:
        0.4rem;

    color:
        var(--color-accent-gold);

    font-size:
        0.55rem;

    font-weight: 700;

    letter-spacing:
        0.12em;

    text-transform: uppercase;
}


.size-guide-table-card__header
h3 {
    margin: 0;

    color:
        var(--color-primary);

    font-family:
        var(--font-display);

    font-size:
        clamp(1.7rem, 2.4vw, 2.4rem);

    font-weight: 400;

    line-height: 1;
}


.size-guide-table-card__unit {
    color:
        var(--color-text-muted);

    font-size:
        0.58rem;

    font-weight: 700;

    letter-spacing:
        0.1em;

    text-transform: uppercase;
}


.size-guide-table-wrap {
    width: 100%;

    overflow-x: auto;
}


.size-guide-table {
    width: 100%;

    border-collapse: collapse;

    table-layout: fixed;
}


.size-guide-table
th,
.size-guide-table
td {
    padding:
        1rem
        1.25rem;

    border-bottom:
        1px solid var(--color-border);

    text-align: left;

    vertical-align: middle;
}


.size-guide-table
thead
th {
    color:
        var(--color-text-muted);

    font-size:
        0.54rem;

    font-weight: 700;

    letter-spacing:
        0.09em;

    text-transform: uppercase;
}


.size-guide-table
tbody
th {
    width: 18%;

    color:
        var(--color-primary);

    font-family:
        var(--font-display);

    font-size:
        1.3rem;

    font-weight: 400;
}


.size-guide-table
tbody
td {
    color:
        var(--color-text-muted);

    font-size:
        0.78rem;

    line-height: 1.5;
}


.size-guide-table
tbody
td:nth-child(2) {
    color:
        var(--color-primary);

    font-weight: 600;
}


.size-guide-table
tbody
tr:last-child
th,
.size-guide-table
tbody
tr:last-child
td {
    border-bottom: 0;
}


.size-guide-table-card__link {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 1rem;

    padding:
        1rem
        1.25rem;

    border-top:
        1px solid var(--color-border);

    color:
        var(--color-primary);

    font-size:
        0.62rem;

    font-weight: 700;

    letter-spacing:
        0.07em;

    text-decoration: none;

    text-transform: uppercase;
}


.size-guide-table-card__link
span {
    color:
        var(--color-accent-gold);

    transition:
        transform var(--transition-fast);
}


.size-guide-table-card__link:hover
span {
    transform:
        translateX(4px);
}


/* ---------------------------------------------------------
   ESTIMATE NOTE
   --------------------------------------------------------- */

.size-guide-estimate-note {
    display: grid;

    grid-template-columns:
        42px
        minmax(0, 1fr);

    gap: 1rem;

    max-width: 960px;

    margin:
        clamp(2.5rem, 5vw, 4.5rem)
        auto
        0;

    padding:
        1.4rem
        0;

    border-top:
        1px solid var(--color-primary);

    border-bottom:
        1px solid var(--color-border);
}


.size-guide-estimate-note__number {
    color:
        var(--color-accent-gold);

    font-family:
        var(--font-display);

    font-size:
        0.8rem;

    font-style: italic;
}


.size-guide-estimate-note
strong {
    display: block;

    margin-bottom:
        0.35rem;

    color:
        var(--color-primary);

    font-family:
        var(--font-display);

    font-size:
        1.15rem;

    font-weight: 400;
}


.size-guide-estimate-note
p {
    margin: 0;

    color:
        var(--color-text-muted);

    font-size:
        0.78rem;

    line-height: 1.7;
}


/* ---------------------------------------------------------
   MEASUREMENT
   --------------------------------------------------------- */

.size-guide-measure {
    padding:
        clamp(4.5rem, 8vw, 8rem)
        0;
}


.size-guide-measure__grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 1rem;
}


.size-guide-measure__item {
    min-height:
        230px;

    padding:
        1.4rem;

    background-color:
        var(--color-background-alt);

    border:
        1px solid var(--color-border);
}


.size-guide-measure__item
> span {
    display: block;

    margin-bottom:
        clamp(2rem, 4vw, 4rem);

    color:
        var(--color-accent-gold);

    font-family:
        var(--font-display);

    font-size:
        0.72rem;

    font-style: italic;
}


.size-guide-measure__item
h3 {
    margin:
        0
        0
        0.7rem;

    color:
        var(--color-primary);

    font-family:
        var(--font-display);

    font-size:
        1.45rem;

    font-weight: 400;
}


.size-guide-measure__item
p {
    margin: 0;

    color:
        var(--color-text-muted);

    font-size:
        0.78rem;

    line-height: 1.65;
}


/* ---------------------------------------------------------
   FIT
   --------------------------------------------------------- */

.size-guide-fit {
    padding:
        clamp(4.5rem, 8vw, 8rem)
        0;

    background-color:
        var(--color-primary);

    color:
        var(--color-secondary);
}


.size-guide-fit__grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(360px, 520px);

    gap:
        clamp(4rem, 8vw, 9rem);

    align-items: start;
}


.size-guide-fit
.eyebrow {
    color:
        var(--color-accent-gold);
}


.size-guide-fit__content
h2 {
    max-width: 760px;

    margin:
        0
        0
        1.5rem;

    color:
        var(--color-secondary);

    font-size:
        clamp(2.7rem, 4.5vw, 4.8rem);

    line-height: 0.98;
}


.size-guide-fit__content
p {
    max-width: 760px;

    color:
        rgba(249, 254, 252, 0.68);

    line-height: 1.8;
}


.size-guide-fit__principles {
    border-top:
        1px solid rgba(249, 254, 252, 0.28);
}


.size-guide-fit__principles
> div {
    display: grid;

    grid-template-columns:
        38px
        minmax(0, 1fr);

    gap: 0.9rem;

    padding:
        1.25rem
        0;

    border-bottom:
        1px solid rgba(249, 254, 252, 0.18);
}


.size-guide-fit__principles
> div
> span {
    color:
        var(--color-accent-gold);

    font-family:
        var(--font-display);

    font-size:
        0.72rem;

    font-style: italic;
}


.size-guide-fit__principles
p {
    margin: 0;

    color:
        rgba(249, 254, 252, 0.66);

    font-size:
        0.78rem;

    line-height: 1.65;
}


.size-guide-fit__principles
strong {
    display: block;

    margin-bottom:
        0.3rem;

    color:
        var(--color-secondary);

    font-family:
        var(--font-display);

    font-size:
        1.05rem;

    font-weight: 400;
}


/* ---------------------------------------------------------
   FAQ
   --------------------------------------------------------- */

.size-guide-faq {
    padding:
        clamp(4.5rem, 8vw, 8rem)
        0;
}


.size-guide-faq__items {
    border-top:
        1px solid var(--color-primary);
}


.size-guide-faq
details {
    border-bottom:
        1px solid var(--color-border);
}


.size-guide-faq
summary {
    position: relative;

    padding:
        1.35rem
        3rem
        1.35rem
        0;

    color:
        var(--color-primary);

    font-family:
        var(--font-display);

    font-size:
        clamp(1.15rem, 1.6vw, 1.4rem);

    cursor: pointer;

    list-style: none;
}


.size-guide-faq
summary::-webkit-details-marker {
    display: none;
}


.size-guide-faq
summary::before,
.size-guide-faq
summary::after {
    content: "";

    position: absolute;

    top: 50%;
    right: 0;

    width: 14px;
    height: 1px;

    background-color:
        var(--color-primary);
}


.size-guide-faq
summary::after {
    transform:
        rotate(90deg);

    transition:
        transform var(--transition-fast);
}


.size-guide-faq
details[open]
summary::after {
    transform:
        rotate(0);
}


.size-guide-faq
details
div {
    max-width: 850px;

    padding:
        0
        0
        1.5rem;
}


.size-guide-faq
details
p {
    margin: 0;

    color:
        var(--color-text-muted);

    line-height: 1.8;
}


/* ---------------------------------------------------------
   FINAL CTA
   --------------------------------------------------------- */

.size-guide-cta {
    padding:
        clamp(4rem, 7vw, 7rem)
        0;

    background-color:
        var(--color-background-alt);

    border-top:
        1px solid var(--color-border);
}


.size-guide-cta__inner {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        auto;

    gap:
        clamp(3rem, 7vw, 8rem);

    align-items: end;
}


.size-guide-cta
h2 {
    max-width: 980px;

    margin: 0;

    color:
        var(--color-primary);

    font-size:
        clamp(2.7rem, 4.5vw, 4.8rem);

    line-height: 0.98;
}


.size-guide-cta__button {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;

    gap: 1.5rem;

    min-width:
        250px;

    min-height:
        54px;

    padding:
        1rem
        1.15rem !important;
}


.size-guide-cta__button
span {
    color:
        var(--color-accent-gold);
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1024px) {

    .size-guide-hero__grid,
    .size-guide-fit__grid {
        grid-template-columns:
            1fr;

        gap:
            3rem;
    }


    .size-guide-hero__note {
        max-width:
            720px;
    }


    .size-guide-section-heading--split {
        grid-template-columns:
            1fr;

        gap:
            1.25rem;
    }


    .size-guide-process__grid {
        grid-template-columns:
            1fr;
    }


    .size-guide-process__item {
        min-height: 0;
    }


    .size-guide-process__item
    + .size-guide-process__item {
        border-left: 0;

        border-top:
            1px solid var(--color-border);
    }


    .size-guide-process__number {
        margin-bottom:
            2rem;
    }


    .size-guide-measure__grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }


    .size-guide-cta__inner {
        grid-template-columns:
            1fr;

        gap:
            2rem;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 680px) {

    .size-guide-container {
        padding-inline:
            1.25rem;
    }


    .size-guide-hero {
        padding-top:
            2rem;

        padding-bottom:
            4rem;
    }


    .size-guide-hero__content
    h1 {
        font-size:
            clamp(3rem, 14vw, 4.6rem);
    }


    .size-guide-hero__note {
        grid-template-columns:
            30px
            minmax(0, 1fr);
    }


    .size-guide-tables__grid {
        grid-template-columns:
            1fr;
    }


    .size-guide-table
    th,
    .size-guide-table
    td {
        padding:
            0.9rem
            0.8rem;
    }


    .size-guide-table
    thead
    th {
        font-size:
            0.48rem;
    }


    .size-guide-table
    tbody
    td {
        font-size:
            0.7rem;
    }


    .size-guide-estimate-note {
        grid-template-columns:
            30px
            minmax(0, 1fr);
    }


    .size-guide-measure__grid {
        grid-template-columns:
            1fr;
    }


    .size-guide-measure__item {
        min-height: 0;
    }


    .size-guide-measure__item
    > span {
        margin-bottom:
            2rem;
    }


    .size-guide-fit__content
    h2,
    .size-guide-cta
    h2 {
        font-size:
            clamp(2.5rem, 11vw, 3.8rem);
    }


    .size-guide-cta__button {
        width:
            100%;

        min-width: 0;
    }

}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .size-guide-table-card__link
    span,
    .size-guide-faq
    summary::after {
        transition:
            none !important;
    }


    .size-guide-table-card__link:hover
    span {
        transform:
            none !important;
    }

}

/* =========================================================
   EXPANDED SIZE TABLES + MEASUREMENT IMAGES
   ========================================================= */


/* Full-width stacked tables accommodate the larger datasets. */

.size-guide-tables__stack {
    display: grid;

    grid-template-columns:
        1fr;

    gap:
        clamp(1.5rem, 3vw, 2.5rem);
}


.size-guide-table-card--wide {
    width: 100%;
}


.size-guide-table-card--wide
.size-guide-table {
    table-layout: auto;

    min-width: 780px;
}


.size-guide-table--women {
    min-width: 980px !important;
}


.size-guide-table-card--wide
.size-guide-table
th,
.size-guide-table-card--wide
.size-guide-table
td {
    white-space: nowrap;
}


.size-guide-table-card--wide
.size-guide-table
tbody
th {
    width: auto;

    min-width: 100px;
}


.size-guide-table-card--wide
.size-guide-table
tbody
td:nth-child(2) {
    color:
        var(--color-text-muted);

    font-weight:
        400;
}


/*
 * Sticky first column helps keep the jacket size visible
 * while horizontally scrolling on smaller screens.
 */

.size-guide-table-card--wide
.size-guide-table
thead
th:first-child,
.size-guide-table-card--wide
.size-guide-table
tbody
th:first-child {
    position: sticky;

    left: 0;

    z-index: 2;

    background-color:
        var(--color-secondary);
}


.size-guide-table-card--wide
.size-guide-table
thead
th:first-child {
    z-index: 3;
}


/* Measurement image cards */

.size-guide-measure-visuals {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap:
        clamp(1.25rem, 2.5vw, 2.5rem);

    margin-bottom:
        clamp(2.5rem, 5vw, 4.5rem);
}


.size-guide-measure-visual {
    min-width: 0;

    margin: 0;

    background-color:
        var(--color-background-alt);

    border:
        1px solid var(--color-border);
}


.size-guide-measure-visual__media {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 100%;

    min-height: 420px;

    padding:
        clamp(0.75rem, 2vw, 1.5rem);

    overflow: hidden;

    background-color:
        #f7f7f5;
}


.size-guide-measure-visual__media
.size-guide-measure-visual__image,
.size-guide-measure-visual__media
img {
    display: block !important;

    width: 100% !important;
    max-width: 100% !important;

    height: auto !important;
    max-height: 720px !important;

    margin: 0 auto !important;

    opacity: 1 !important;
    visibility: visible !important;

    object-fit: contain !important;
}


.size-guide-measure-visual__media
picture {
    display: block;

    width: 100%;
}


.size-guide-measure-visual
figcaption {
    padding:
        1.35rem
        1.5rem
        1.5rem;

    border-top:
        1px solid var(--color-border);
}


.size-guide-measure-visual
figcaption
> span {
    display: block;

    margin-bottom:
        0.35rem;

    color:
        var(--color-accent-gold);

    font-size:
        0.55rem;

    font-weight:
        700;

    letter-spacing:
        0.12em;

    text-transform:
        uppercase;
}


.size-guide-measure-visual
figcaption
strong {
    display: block;

    margin-bottom:
        0.5rem;

    color:
        var(--color-primary);

    font-family:
        var(--font-display);

    font-size:
        1.35rem;

    font-weight:
        400;
}


.size-guide-measure-visual
figcaption
p {
    margin: 0;

    color:
        var(--color-text-muted);

    font-size:
        0.76rem;

    line-height:
        1.65;
}


/* Five measuring notes instead of four. */

.size-guide-measure__grid {
    grid-template-columns:
        repeat(5, minmax(0, 1fr));
}


@media (max-width: 1180px) {

    .size-guide-measure__grid {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }

}


@media (max-width: 900px) {

    .size-guide-measure-visuals {
        grid-template-columns:
            1fr;
    }


    .size-guide-measure__grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


@media (max-width: 680px) {

    .size-guide-table-wrap {
        margin-inline:
            -1px;

        -webkit-overflow-scrolling:
            touch;
    }


    .size-guide-table-card--wide
    .size-guide-table {
        min-width:
            720px;
    }


    .size-guide-table--women {
        min-width:
            900px !important;
    }


    .size-guide-measure-visual__media {
        min-height: 0;

        padding:
            0.75rem;
    }


    .size-guide-measure-visual__media
    .size-guide-measure-visual__image,
    .size-guide-measure-visual__media
    img {
        max-height:
            none !important;
    }


    .size-guide-measure__grid {
        grid-template-columns:
            1fr;
    }

}

/* =========================================================
   FINAL MOBILE SIZE TABLE LAYOUT
   Convert wide tables into readable size cards
   ========================================================= */

@media (max-width: 680px) {

    /* -----------------------------------------------------
       TABLE CONTAINER
       ----------------------------------------------------- */

    body.page-template-page-size-fit-guide
    .size-guide-table-wrap {
        width: 100% !important;
        max-width: 100% !important;

        margin: 0 !important;

        overflow: visible !important;
    }


    body.page-template-page-size-fit-guide
    .size-guide-table-card--wide
    .size-guide-table {
        display: block !important;

        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;

        margin: 0 !important;

        table-layout: auto !important;
    }


    body.page-template-page-size-fit-guide
    .size-guide-table-card--wide
    .size-guide-table--women {
        min-width: 0 !important;
    }


    /* -----------------------------------------------------
       HIDE DESKTOP TABLE HEADER
       Labels are recreated inside each mobile card.
       ----------------------------------------------------- */

    body.page-template-page-size-fit-guide
    .size-guide-table-card--wide
    .size-guide-table
    thead {
        display: none !important;
    }


    body.page-template-page-size-fit-guide
    .size-guide-table-card--wide
    .size-guide-table
    tbody {
        display: grid !important;

        grid-template-columns:
            1fr;

        gap:
            0.75rem;

        width: 100% !important;

        padding:
            0.85rem;
    }


    /* -----------------------------------------------------
       EACH SIZE = ONE MOBILE CARD
       ----------------------------------------------------- */

    body.page-template-page-size-fit-guide
    .size-guide-table-card--wide
    .size-guide-table
    tbody
    tr {
        display: block !important;

        width: 100% !important;

        margin: 0 !important;

        padding:
            0.95rem
            1rem !important;

        background-color:
            var(--color-background-alt);

        border:
            1px solid var(--color-border) !important;
    }


    /* Size heading */

    body.page-template-page-size-fit-guide
    .size-guide-table-card--wide
    .size-guide-table
    tbody
    th {
        position: static !important;

        display: block !important;

        width: 100% !important;
        min-width: 0 !important;

        margin:
            0
            0
            0.65rem !important;

        padding:
            0
            0
            0.7rem !important;

        background:
            transparent !important;

        border:
            0 !important;
        border-bottom:
            1px solid var(--color-primary) !important;

        color:
            var(--color-primary) !important;

        font-family:
            var(--font-display);

        font-size:
            1.6rem !important;

        font-weight:
            400;

        line-height:
            1 !important;

        text-align:
            left !important;

        white-space:
            normal !important;
    }


    /* Individual measurements */

    body.page-template-page-size-fit-guide
    .size-guide-table-card--wide
    .size-guide-table
    tbody
    td {
        display: flex !important;

        align-items:
            baseline;

        justify-content:
            space-between;

        gap:
            1rem;

        width: 100% !important;
        min-width: 0 !important;

        margin: 0 !important;

        padding:
            0.55rem
            0 !important;

        background:
            transparent !important;

        border:
            0 !important;
        border-bottom:
            1px solid var(--color-border) !important;

        color:
            var(--color-primary) !important;

        font-size:
            0.76rem !important;

        font-weight:
            600 !important;

        line-height:
            1.4;

        text-align:
            right !important;

        white-space:
            normal !important;
    }


    body.page-template-page-size-fit-guide
    .size-guide-table-card--wide
    .size-guide-table
    tbody
    td:last-child {
        border-bottom:
            0 !important;
    }


    /* Shared mobile labels */

    body.page-template-page-size-fit-guide
    .size-guide-table-card--wide
    .size-guide-table
    tbody
    td::before {
        flex:
            0 0 auto;

        max-width:
            55%;

        color:
            var(--color-text-muted);

        font-size:
            0.5rem;

        font-weight:
            700;

        line-height:
            1.3;

        letter-spacing:
            0.075em;

        text-align:
            left;

        text-transform:
            uppercase;
    }


    /* -----------------------------------------------------
       MEN LABELS
       ----------------------------------------------------- */

    body.page-template-page-size-fit-guide
    .size-guide-table--men
    tbody
    td:nth-child(2)::before {
        content:
            "US-Größe";
    }


    body.page-template-page-size-fit-guide
    .size-guide-table--men
    tbody
    td:nth-child(3)::before {
        content:
            "EU-Größe";
    }


    body.page-template-page-size-fit-guide
    .size-guide-table--men
    tbody
    td:nth-child(4)::before {
        content:
            "Brustumfang";
    }


    body.page-template-page-size-fit-guide
    .size-guide-table--men
    tbody
    td:nth-child(5)::before {
        content:
            "Ärmellänge";
    }


    /* -----------------------------------------------------
       WOMEN LABELS
       ----------------------------------------------------- */

    body.page-template-page-size-fit-guide
    .size-guide-table--women
    tbody
    td:nth-child(2)::before {
        content:
            "US-Größe";
    }


    body.page-template-page-size-fit-guide
    .size-guide-table--women
    tbody
    td:nth-child(3)::before {
        content:
            "UK-Größe";
    }


    body.page-template-page-size-fit-guide
    .size-guide-table--women
    tbody
    td:nth-child(4)::before {
        content:
            "Brustumfang";
    }


    body.page-template-page-size-fit-guide
    .size-guide-table--women
    tbody
    td:nth-child(5)::before {
        content:
            "Taillenumfang";
    }


    body.page-template-page-size-fit-guide
    .size-guide-table--women
    tbody
    td:nth-child(6)::before {
        content:
            "Hüftumfang";
    }


    body.page-template-page-size-fit-guide
    .size-guide-table--women
    tbody
    td:nth-child(7)::before {
        content:
            "Ärmellänge";
    }


    /* -----------------------------------------------------
       CARD HEADER / LINK SPACING
       ----------------------------------------------------- */

    body.page-template-page-size-fit-guide
    .size-guide-table-card__header {
        padding:
            1.25rem;
    }


    body.page-template-page-size-fit-guide
    .size-guide-table-card__header
    h3 {
        font-size:
            1.8rem;
    }


    body.page-template-page-size-fit-guide
    .size-guide-table-card__link {
        padding:
            1rem
            1.25rem;
    }

}


/* =========================================================
   VERY SMALL PHONES
   ========================================================= */

@media (max-width: 390px) {

    body.page-template-page-size-fit-guide
    .size-guide-table-card--wide
    .size-guide-table
    tbody {
        padding:
            0.65rem;
    }


    body.page-template-page-size-fit-guide
    .size-guide-table-card--wide
    .size-guide-table
    tbody
    tr {
        padding:
            0.85rem !important;
    }


    body.page-template-page-size-fit-guide
    .size-guide-table-card--wide
    .size-guide-table
    tbody
    td {
        gap:
            0.75rem;
    }

}