/* Jeans Guide Landing Page */
.jeans-guide {
    width: 100%;
    background: #fff;
    color: #1b1d1f;
    font-family: "GTAmerica", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

    .jeans-guide a:hover,
    .jeans-guide a:focus {
        text-decoration: none;
    }

/* ===== HERO ===== */
.jg-hero {
    position: relative;
    width: 100%;
    height: 100dvh;
    min-height: 100dvh;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    background: #1b1d1f;
}

.jg-hero__media {
    position: absolute;
    inset: 0;
    z-index: 0;
}

    .jg-hero__video,
    .jg-hero__media img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

.jg-hero__content {
    position: relative;
    z-index: 1;
    padding: 2.5rem 2.5rem 3.5rem;
    max-width: 720px;
    color: #fff;
}

.jg-hero__eyebrow {
    display: block;
    font-family: "Garamond96DTPro", Georgia, "Times New Roman", serif;
    font-style: italic;
    font-size: 1.25rem;
    line-height: 1.4;
    margin-bottom: 0.35rem;
    color: #fff;
}

.jg-hero__title {
    font-family: "GTAmerica", sans-serif;
    font-size: 64px;
    /* font-weight: 700; */
    line-height: 1.05;
    margin: 0 0 0.5rem;
    letter-spacing: 0;
    color: #fff;
    text-transform: capitalize;
}

.jg-hero__subtitle {
    font-family: "GTAmerica", sans-serif;
    font-size: 1.125rem;
    font-weight: 400;
    line-height: 1.5;
    margin: 0 0 1.25rem;
    color: #fff;
}

.jg-hero__cta {
    color: #fff !important;
    text-decoration: underline;
    text-underline-offset: 4px;
    font-size: 0.9375rem;
    font-weight: 500;
}

    .jg-hero__cta:hover,
    .jg-hero__cta:focus {
        color: #fff !important;
        opacity: 0.85;
    }

@media (max-width: 1024px) {
    .jg-hero {
        height: 100dvh;
        min-height: 100dvh;
    }

    .jg-hero__content {
        padding: 1.5rem 1.25rem 2rem;
    }

    .jg-hero__title {
        font-size: 40px;
    }
}

/* ===== TABS (sticky, left-aligned) ===== */
.jg-tabs {
    position: sticky;
    top: 120px;
    z-index: 100;
    background: #fff;
    border-bottom: 1px solid #e5e5e5;
    width: 100%;
    margin-bottom: 20px;
}

.jg-tabs__inner {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 2rem;
    padding: 0 2.5rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

    .jg-tabs__inner::-webkit-scrollbar {
        display: none;
    }

.jg-tabs__item {
    flex: 0 0 auto;
    padding: 1rem 0;
    color: #464c52 !important;
    font-family: "GTAmerica", sans-serif;
    font-size: 1rem;
    font-weight: 400;
    text-decoration: none !important;
    border-bottom: 2px solid transparent;
    white-space: nowrap;
    line-height: 1.375;
    lettr: 0;
}

    .jg-tabs__item:hover,
    .jg-tabs__item:focus {
        color: #1b1d1f !important;
        text-decoration: none !important;
    }

    .jg-tabs__item.active {
        border-bottom-color: #000;
        color: black !important;
    }

@media (max-width: 768px) {
    .jg-tabs__inner {
        gap: 1.25rem;
        padding: 0 1.25rem;
    }

    .jg-tabs__item {
        font-size: 0.875rem;
        padding: 0.875rem 0;
    }
}

/* ===== FIT SECTION ===== */
.jg-fit {
    width: 100%;
}

.jg-fit__layout {
    display: flex;
    align-items: flex-start;
    width: 100%;
}

.jg-fit__media {
    position: sticky;
    top: 57px;
    width: 50%;
    height: calc(100dvh - 57px);
    overflow: hidden;
    background: #d6e4ef;
    flex-shrink: 0;
    align-self: flex-start;
}

.jg-fit__video,
.jg-fit__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.jg-fit__model-note {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    font-size: 0.75rem;
    line-height: 1.35;
    padding: 0.5rem 0.75rem;
    max-width: 70%;
}

.jg-fit__content {
    width: 50%;
    padding: 2.5rem 2.5rem 3.5rem;
    background: #fff;
    box-sizing: border-box;
}

.jg-fit__heading-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.jg-fit__title {
    font-family: "GTAmerica", sans-serif;
    font-size: 2.5rem;
    margin: 0;
    line-height: 1.15;
    color: #1b1d1f;
    text-transform: capitalize;
    letter-spacing: 0;
}

.jg-fit__shop-link {
    color: #1b1d1f !important;
    text-decoration: underline !important;
    text-underline-offset: 3px;
    font-family: "GTAmerica", sans-serif;
    font-size: 0.875rem;
    font-weight: 400;
    white-space: nowrap;
    margin-top: 0.65rem;
}

    .jg-fit__shop-link:hover,
    .jg-fit__shop-link:focus {
        color: #1b1d1f !important;
        opacity: 0.7;
    }

.jg-fit__subtitle {
    font-family: "GTAmerica", sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    margin: 0 0 1.25rem;
    color: #1b1d1f;
}

.jg-fit__bullets {
    list-style: disc;
    padding-left: 1.25rem;
    margin: 0 0 2rem;
    float: left;
    width: 100%;
    display: flex;
    flex-direction: column;
}

    .jg-fit__bullets li {
        font-family: "GTAmerica", sans-serif;
        font-size: .875rem;
        font-weight: 400;
        line-height: 1.6;
        margin-bottom: 0.15rem;
        color: #1b1d1f;
        list-style: disc;
    }

.jg-fit__details-title {
    font-family: "GTAmerica", sans-serif;
    font-size: 1.25rem;
    margin: 0 0 1rem;
    color: #1b1d1f;
    letter-spacing: 0;
    text-transform: initial;
    font-weight: normal;
}

.jg-fit__details-grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 0.5rem) / 2.5);
    justify-content: start;
    gap: 0.25rem;
    overflow: hidden;
}

.jg-fit__details-item {
    display: block;
    overflow: hidden;
}

    .jg-fit__details-item img {
        width: 100%;
        height: auto;
        aspect-ratio: 5 / 7;
        display: block;
        object-fit: cover;
    }

/* Products / vitrin */
.jg-fit__products {
    margin-top: 3.5rem;
    padding-top: 0.5rem;
}

.jg-fit__products-head {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
    margin-bottom: 1.25rem;
}

.jg-fit__products-title {
    font-family: "GTAmerica", sans-serif;
    font-size: 1.25rem;
    font-weight: 400;
    margin: 0;
    line-height: 1.3;
    color: #1b1d1f;
    text-transform: capitalize;
    letter-spacing: 0;
}

.jg-fit__filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.jg-fit__filter {
    appearance: none;
    border: 1px solid #1b1d1f;
    background: #fff;
    color: #1b1d1f;
    border-radius: 0;
    padding: 4px 12px;
    font-family: "GTAmerica", sans-serif;
    font-size: 0.875rem;
    font-weight: 400;
    cursor: pointer;
    line-height: 1.3;
    transition: background-color 0.15s ease, color 0.15s ease;
}

    .jg-fit__filter:hover {
        background: #1b1d1f;
        color: #fff;
    }

    .jg-fit__filter.active {
        background: #1b1d1f;
        color: #fff;
    }

.jg-fit__panel {
    display: none;
}

    .jg-fit__panel.active {
        display: block;
    }

.jg-product-slider {
    margin: 0;
    position: relative;
}

    .jg-product-slider .slick-list {
        margin: 0;
    }

    .jg-product-slider .slick-track {
        display: flex !important;
        margin-left: 0;
    }

    .jg-product-slider .slick-slide {
        height: auto;
        float: none;
    }

        .jg-product-slider .slick-slide > div {
            height: 100%;
        }

    .jg-product-slider .slick-arrow,
    .jg-product-slider .jg-slider-arrow {
        position: absolute;
        /* Center on product image area (not full slide with name/price) */
        top: 42%;
        transform: translateY(-50%);
        width: 48px;
        height: 48px;
        border-radius: 50%;
        background: #fff !important;
        border: none;
        z-index: 3;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
        display: flex !important;
        align-items: center;
        justify-content: center;
        padding: 0;
        cursor: pointer;
        font-size: 0;
        color: transparent;
        line-height: 0;
    }

        .jg-product-slider .slick-arrow:before,
        .jg-product-slider .jg-slider-arrow:before {
            display: none !important;
            content: none !important;
        }

        .jg-product-slider .jg-slider-arrow .svg-icon,
        .jg-product-slider .jg-slider-arrow svg {
            display: block;
            width: 16px;
            height: 16px;
            color: #1b1d1f;
            fill: #1b1d1f;
        }

    .jg-product-slider .slick-disabled {
        opacity: 0.35;
        pointer-events: none;
    }

    .jg-product-slider .slick-next,
    .jg-product-slider .jg-slider-arrow--next {
        right: 8px;
        left: auto;
    }

    .jg-product-slider .slick-prev,
    .jg-product-slider .jg-slider-arrow--prev {
        left: 8px;
        right: auto;
    }

.jg-p-item {
    padding: 0 0.125rem; /* 2px each side = 4px / .25rem gap */
    box-sizing: border-box;
    max-width: 100%;
}

.jg-p-item__media {
    position: relative;
    margin-bottom: 0.75rem;
    overflow: hidden;
    background: #f5f5f5;
    aspect-ratio: 460 / 615;
}

.jg-p-item__fav {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    z-index: 5;
}

    .jg-p-item__fav .btn-fav {
        display: block;
        padding: 4px;
        cursor: pointer;
        line-height: 0;
        background: transparent;
        border: none;
    }

        .jg-p-item__fav .btn-fav .svg-icon {
            display: none;
            width: 20px;
            height: 20px;
        }

            .jg-p-item__fav .btn-fav .svg-icon svg {
                width: 20px;
                height: 20px;
                display: block;
            }

            .jg-p-item__fav .btn-fav .svg-icon.empty {
                display: block;
            }

            .jg-p-item__fav .btn-fav .svg-icon.filled {
                display: none;
            }

        .jg-p-item__fav .btn-fav.js-active .svg-icon.empty {
            display: none;
        }

        .jg-p-item__fav .btn-fav.js-active .svg-icon.filled {
            display: block;
        }

.jg-p-item__image {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none !important;
}

    .jg-p-item__image img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: contain;
        object-position: center;
        background: #f5f5f5;
    }

.jg-p-item__state {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    bottom: auto;
    right: auto;
    z-index: 4;
    pointer-events: none;
}

    .jg-p-item__state .p-badges {
        position: static;
        display: block;
    }

    .jg-p-item__state .badge {
        position: static !important;
        display: inline-block;
        width: auto;
        margin: 0;
        padding: 0.35rem 0.65rem;
        border-radius: 0;
        background: #fff;
        color: #1b1d1f;
        font-family: "GTAmerica", sans-serif;
        font-size: 0.875rem;
        font-weight: 400;
        letter-spacing: 0;
        line-height: 1.2;
        text-align: left;
    }

        .jg-p-item__state .badge.discount,
        .jg-p-item__state .badge.soldout,
        .jg-p-item__state .badge.soon {
            background: #cc0c2f;
            color: #fff;
        }

        .jg-p-item__state .badge.soldout,
        .jg-p-item__state .badge.soon {
            background: #6b6b6b;
        }

        .jg-p-item__state .badge.exclusive {
            background: #fff;
            color: #1b1d1f;
        }

/* Guard: never allow nested product-media slick inside jeans guide cards */
.jg-p-item .product-media-holder,
.jg-p-item .product-media-wrapper,
.jg-p-item [data-js=slider-product-media] {
    display: block !important;
    width: 100% !important;
}

    .jg-p-item .product-media.other-image,
    .jg-p-item .slick-dots,
    .jg-p-item .product-media-holder > .slick-arrow,
    .jg-p-item [data-js=slider-product-media] > .slick-arrow {
        display: none !important;
    }

.jg-p-item__name {
    display: block;
    color: #1b1d1f !important;
    font-family: "GTAmerica", sans-serif;
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.35;
    text-decoration: none !important;
    margin-bottom: 0.25rem;
}

    .jg-p-item__name:hover,
    .jg-p-item__name:focus {
        color: #1b1d1f !important;
        text-decoration: underline !important;
    }

.jg-p-item__price {
    font-family: "GTAmerica", sans-serif;
    font-size: 0.875rem;
    color: #1b1d1f;
}

.jg-p-item__price--old {
    text-decoration: line-through;
    color: #777;
    margin-right: 0.35rem;
}

.jg-p-item__price--current.discounted {
    color: #c00;
}

.jg-fit__cta-wrap {
    margin-top: 1.75rem;
}

.jg-fit__cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 200px;
    padding: 19px 31px;
    background: #1b1d1f;
    color: #fff !important;
    text-decoration: none !important;
    font-family: "GTAmerica", sans-serif;
    font-size: 0.9375rem;
    font-weight: 500;
    border: none;
}

    .jg-fit__cta-btn:hover,
    .jg-fit__cta-btn:focus {
        color: #fff !important;
        opacity: 0.88;
        text-decoration: none !important;
    }

@media (max-width: 1024px) {
    .jg-fit__layout {
        flex-direction: column;
    }

    .jg-fit__media {
        position: relative;
        top: auto;
        width: 100%;
        height: 120vw;
        max-height: 560px;
    }

    .jg-fit__content {
        width: 100%;
        padding: 1.5rem 1.25rem 2.5rem;
    }

    .jg-fit__title {
        font-size: 1.75rem;
    }

    .jg-fit__heading-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.35rem;
    }

    .jg-fit__shop-link {
        margin-top: 0;
    }

    .jg-fit__products-head {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ===== WASHES ===== */
.jg-washes {
    padding: 3rem 40px 0;
    box-sizing: border-box;
}

.jg-washes__title {
    font-family: "GTAmerica", sans-serif;
    font-size: 1.75rem;
    font-weight: 400;
    margin: 0 0 1.25rem;
    color: #1b1d1f;
    text-transform: capitalize;
    letter-spacing: 0;
}

.jg-washes__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.25rem; /* 4px */
}

.jg-washes__item {
    position: relative;
    display: block;
    overflow: hidden;
    color: #fff !important;
    text-decoration: none !important;
}

    .jg-washes__item:hover,
    .jg-washes__item:focus {
        color: #fff !important;
        text-decoration: none !important;
    }

.jg-washes__image {
    width: 100%;
    height: 100%;
    min-height: 420px;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.jg-washes__item:hover .jg-washes__image {
    transform: scale(1.04);
}

.jg-washes__overlay {
    position: absolute;
    left: 5rem;
    bottom: 5rem;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    pointer-events: none;
}

.jg-washes__name,
.jg-washes__shop {
    color: #fff !important;
}

.jg-washes__item:hover .jg-washes__name,
.jg-washes__item:hover .jg-washes__shop,
.jg-washes__item:focus .jg-washes__name,
.jg-washes__item:focus .jg-washes__shop {
    color: #fff !important;
}

.jg-washes__name {
    font-family: "GTAmerica", sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
}

.jg-washes__shop {
    font-family: "GTAmerica", sans-serif;
    font-size: 0.875rem;
    font-weight: 400;
    text-decoration: underline;
    text-underline-offset: 3px;
}

@media (max-width: 768px) {
    .jg-washes {
        padding: 2rem 1.25rem 0;
    }

    .jg-washes__title {
        font-size: 1.375rem;
        margin-bottom: 1rem;
    }

    .jg-washes__grid {
        grid-template-columns: 1fr;
        gap: 0.25rem;
    }

    .jg-washes__image {
        min-height: 280px;
    }
    .jg-washes {
        margin-bottom: 40px;
    }

    .jg-washes__overlay {
        left: 40px;
        bottom: 40px;
    }

    .jg-tabs {
        top: 96px;
    }

    .jg-p-item {
        max-width: 100%;
    }
}
