/* The theme ships a font-2..font-14 utility-class "picker" (Albert Sans,
   Playfair Display, Gloock, DM Sans, etc.) for its demo skins, independent of
   --poppins-or-cario. A few of those classes are actually used in this
   project's views (e.g. .font-14 on the home page section titles, .font-4 on
   quantity inputs) and were quietly rendering in their original theme font
   instead of Brown. Force all of them back to the site's one font. */
/* `body .font-N` (extra element selector) so this beats the theme's plain
   `.font-N { ... !important }` in styles.css on specificity instead of losing
   to it on source order (custom.css loads before styles.css). */
body .font-2,
body .font-3,
body .font-4,
body .font-5,
body .font-6,
body .font-7,
body .font-8,
body .font-9,
body .font-10,
body .font-11,
body .font-12,
body .font-13,
body .font-14 {
    font-family: var(--poppins-or-cario) !important;
}

/* Nothing on the site should render lighter than regular weight - bootstrap's
   .fw-light utility (section titles, product card names, etc.) is 300 by
   default, which reads too thin. */
.fw-light {
    font-weight: 400 !important;
}
.delivery-time-note {
    color: var(--text-4);
}
.search-result-item{
    text-align: start !important;
}
/* Bootstrap's .modal-content is `display:flex;flex-direction:column;height:100%`.
   With this theme's `padding:68px 0` and only one real flex child (.container,
   since .header is position:fixed and removed from flex flow), that single
   child renders vertically centered - confirmed via computed-style + rendered
   screenshot diffing, even though justify-content:flex-start is the correct
   computed value (some flex/overflow:auto interaction quirk). Forcing block
   layout keeps the full-height white coverage but makes content lay out
   top-down via normal flow instead, so the search box never re-centers when
   the featured-product swiper below it gets/loses content. */
.popup-search .modal-content {
    display: block !important;
}

.popup-search .row {
    align-items: flex-start !important;
    align-content: flex-start !important;
}

.tf-breadcrumb-list span,
.tf-breadcrumb-list a {
    font-size: 14px !important;
    font-weight: 600;
}

/* Keyframes for floating */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-5px);
        /* move up */
    }

    100% {
        transform: translateY(0px);
    }
}
.title{
    font-size: 32px ;
}

.wd-load:has(#infiniteScrollList) {
    display: flex;
    justify-content: center;
}

.icon-heart2.active {
    color: var(--primary);
}

/* Font Awesome's bookmark glyph fills more of its em-box than this theme's
   custom icon font, so it reads larger than the other .nav-icon-item icons
   (search/user/cart) at the same font-size. Scale it down to match. */
.nav-icon-item .fa-bookmark {
    font-size: 0.7em;
}

/* .card-product .box-icon .icon is 18px, but that rule only matches the
   theme's custom icon-font class - the FA bookmark span has no .icon class.
   Same scale-down as the header bookmark, off the same 18px base. */
.card-product .box-icon .fa-bookmark {
    font-size: 13px;
}

.fa-bookmark.active {
    color: var(--primary);
}

.wg-quantity {
    justify-content: center;
    /* Square corners, matching the site-wide "buttons have border-radius 0"
       rule (theme default is a border-radius: 43px pill). */
    border-radius: 0 !important;
}

/* Sale badge ("9% OFF" etc.): same idea - the theme's 22px pill reads more like
   a kids'-store sticker than a boutique sale tag. Covers both the product card
   badge and the product-detail-page one (separate classes, same shape). */
.card-product .on-sale-item,
.tf-product-info-wrap .badge-sale {
    border-radius: 0 !important;
}

/* Product card title/category/price are Bootstrap's `.text-start`, which is
   hardcoded `text-align: left !important` (not the logical `start`), so in
   RTL it never flips - text keeps hugging the left instead of the card's
   start (right) edge. Mirror the existing `.rtl .flat-title.text-start`
   pattern in styles.css for this element too. */
.rtl .card-product-info.text-start {
    text-align: right !important;
}

/* style-2 product cards keep their action buttons (cart/wishlist) pinned to
   the physical right in RTL too (see the `.rtl .card-product.style-2
   .list-product-btn` rules in styles.css - style-2 is excluded from the
   left-flip other card styles get). `.on-sale-wrap`'s flex items default to
   `flex-start`, which in RTL resolves to the physical right as well, so the
   discount badge lands directly under the action buttons. Push it to the
   opposite (left) side to match. */
.rtl .card-product.style-2 .on-sale-wrap {
    justify-content: flex-end;
}

#remove-all {
    border-color: var(--line) !important;
    border: 1px solid var(--line) !important;
}

#remove-all:hover {
    border-color: var(--dark) !important;
    border: 1px solid var(--dark) !important;
}

.tf-mini-cart-items:has(.cart-empty-wrap) {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.choose-addresses-box {
    border: 1px solid var(--dark) !important;
    padding: 10px;
    border-radius: 5px;
}

.tf-small {
    font-size: 14px !important;
    padding: 6px 12px !important;
    width: fit-content !important;
}

.title-checkout-button-cont {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.info-detail-checkout p {
    font-size: 14px !important;
    line-height: 14px !important;
}

.account-address-item-checkout {
    width: 250px !important
}

.list-account-address-checkout {
    display: flex !important;
}

.account-review-cont {
    border: 1px solid #ccc !important;
    margin: 10px;
}

#order_notes_cont label {
    top: 20px !important;
    transform: unset !important;
}

#order_notes_cont textarea:focus+label {
    transform: translateY(-10px) !important;
}

.cart-empty-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.remove-cart {
    cursor: pointer;
}

.tf-mini-cart-item {
    margin-bottom: 20px;
}

.tf-checkout-cart-main .check-ship:has(.tf-check-rounded) {
    border: 1px solid var(--line) !important;
}

.light-mode .spinner-child::before {
    background-color: black !important;
}

.tf-mini-cart-item .tf-mini-cart-info .wg-quantity {
    text-align: center;
    justify-content: center;
}

button:hover .light-mode .spinner-child::before,
a:hover .light-mode .spinner-child::before {
    background-color: white !important;
}

.payment-item {
    cursor: pointer !important;
}

.account-address-item.editing {
    background-color: var(--surface);
}

.remove-warning-cont {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.cart-head {
    font-size: 14px;
}

.stagger-wrap .stagger-item {
    opacity: 1 !important;
    transform: unset !important;
}

.size-btn-custom.disabled {
    opacity: 0.4;
    text-decoration: line-through;
}

.color-btn.disabled .check-color {
    position: relative;
    overflow: hidden;
    pointer-events: none;
    opacity: 0.9;
}

.color-btn.disabled .check-color::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    border-radius: inherit;
    pointer-events: none;
    background-image: repeating-linear-gradient(135deg,
            rgba(0, 0, 0, 1) 0 2px,
            rgba(0, 0, 0, 0) 2px 10px);
}

/* Out-of-stock variant option: the variant EXISTS but has no stock. Uses the same
   crossed-out look as .disabled, but stays clickable — selecting it shows the
   out-of-stock state and disables the add-to-cart button (see below) instead of
   hiding it. .disabled (combination doesn't exist) stays non-clickable. */
.size-btn-custom.out-of-stock {
    opacity: 0.4;
    text-decoration: line-through;
}

.color-btn.out-of-stock .check-color {
    position: relative;
    overflow: hidden;
    opacity: 0.9;
}

.color-btn.out-of-stock .check-color::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    border-radius: inherit;
    pointer-events: none;
    background-image: repeating-linear-gradient(135deg,
            rgba(0, 0, 0, 1) 0 2px,
            rgba(0, 0, 0, 0) 2px 10px);
}

/* Selected variant is out of stock: keep the quantity picker and add-to-cart
   button visible but disabled (do not hide them). */
.tf-product-total-quantity .wg-quantity.is-out-of-stock {
    opacity: 0.5;
    pointer-events: none;
}

.btn-add-to-cart.is-disabled {
    opacity: 0.5;
    pointer-events: none;
    cursor: not-allowed;
}

.review-section {
    width: 100%;
}

.size-btn-custom {
    min-width: 48px;
    height: 42px;
    padding: 0 12px;
    border-radius: 0;
    border: 1px solid var(--line);
    font-size: 14px;
    white-space: nowrap;
    color: var(--dark);
    font-weight: 500;
    transition: all 0.3s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.size-btn-custom.active {
    border: 1px solid black;
}

.price-row {
    display: flex;
    justify-content: space-between;
    margin: 6px 0;
    display: flex;
    justify-content: space-between;
    margin: 6px 0;
    font-size: 16px;
    font-weight: 400;
    padding-block: 4px;
    border-bottom: 1px solid rgb(200, 200, 200, 0.4);
}

.total-row {
    font-weight: 600;
    font-size: 18px;
    margin-top: 10px;
}

.total-row span {
    font-size: 16px;
}

.ship-item {
    margin: 8px 0;
}

.region-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    cursor: pointer;
}

.check-regoin-cont {
    display: flex;
    gap: 5px;
    align-items: center;
}

.price-row-shipping {
    flex-direction: column !important;
}

.price-row-shipping>div {
    padding-inline-start: 20px;
}

.iti {
    width: 100%;
}

.coupon-button-input-cont {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

#coupon-input {
    flex: 1;
}

.glow-red {
    border-color: #dc3545 !important;
    /* Bootstrap red or any red you prefer */
    box-shadow: 0 0 0 2px rgba(220, 53, 69, 0.25);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.categories-footer-container {
    display: flex;
}

.v-text-span {
    all: inherit !important;
    display: inline-block !important;
}

@keyframes skeleton-shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

.modal-content:has(#search-input) {
    overflow: visible !important;
}

.showImportant {
    display: block !important;
}

.age-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 0;
}

.row-age {
    display: flex;
    flex: 1;
}

.age-wrapper a {
    flex: 1 1 calc(25% - 0px);
    max-width: 100%;
    box-sizing: border-box;
}

a:has(.age-item):hover {
    transform: scale(1.15);
}

a:has(.age-item) {
    flex: 1;
}

.age-item {
    width: 100%;
    aspect-ratio: 1/1;
    /* keeps it square */
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    max-width: 200px;
    max-height: 200px;
    transition: transform 0.3s ease;
}

.age-item::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: inherit;
    background-size: cover;
    background-position: center;
    z-index: 0;
    transition: transform 0.3s ease;
}

.age-item:hover::before {
    transform: scale(1.1);
}

.age-item span {
    color: #fff;
    font-size: 1.8rem;
    font-weight: 400;
    text-align: center;
    line-height: 1.3;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
    z-index: 1;
    padding: 10px;
    font-family: var(--poppins-or-cario);

}

.row-age {
    justify-content: center;
}

.row-age:first-child a:nth-child(even) .age-item {
    margin-top: 80px;
}

.row-age:nth-child(2) a:nth-child(odd) .age-item {
    margin-top: 80px;
}

.hero-link {
    width: 100%;
}

.card-title {
    margin-bottom: 15px;
    color: var(--my-secondary) !important;
    font-size: 22px !important;
    font-weight: 600;
}

.card button {
    padding: 6px 16px;
    font-weight: 600;
    font-size: 12px;
}

@media (max-width: 767px) {
    .card img {
        height: 200px;
    }
}

.custom-category-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    grid-template-rows: repeat(3, 200px);
    grid-template-areas:
        "item1 item4"
        "item2 item4"
        "item3 item5";
    gap: 15px;
}

.custom-category-card {
    position: relative;
    /* border-radius: 12px; */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    padding: 15px;
    overflow: hidden;
    text-decoration: none;
    color: #000;
    transition: all 0.4s ease-in-out;
}

.text-category-image3-cont {
    max-width: 200px;
}

.category3-links {
    font-size: 14px;
    font-weight: 600;
    color: #dc3545;
    text-decoration: underline;
    opacity: 0;
    transform: translateY(20px);
    width: 100%;
    text-align: start;
    transition: all 0.3s ease-in-out;
}

.category-image-link:first-child {
    margin-inline-end: 6px;
}

.custom-category-card:hover .category3-links {
    opacity: 1;
    transform: translateY(0);
}

html[dir="rtl"] .tf-field.style-3 .tf-field-label {
    left: unset;
    right: 12px;
}

html[dir='rtl'] #search-input {
    padding-inline-start: 50px;
}

.js-countdown {
    direction: ltr;

}

#mobileCategoriesDropdown .title,
#mobileCategoriesDropdown .title-sub,
#mobileCategoriesDropdown .title-sub-sub {
    font-size: 12px !important;
}

#mobileCategoriesDropdown .mb-4 {
    margin-bottom: 0 !important;
}

#mobileCategoriesDropdown .icon {
    font-size: 6px !important;
}

.custom-item4 .text-category-image3-cont {
    margin-inline-start: 50px;
}

.custom-item5 .text-category-image3-cont {
    margin-inline-end: 50px;
}

.text-category-image3-even {
    margin-inline-start: auto !important;
}

html[dir='rtl'] .text-category-image3-odd {
    margin-inline-start: auto !important;
}

html[dir='rtl'] .text-category-image3-even {
    margin-inline-start: unset !important;
}

.custom-category-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-image: inherit;
    transition: transform 0.4s ease-in-out;
    z-index: 1;
}

.custom-category-card:hover::before {
    transform: scale(1.1);
}

.custom-overlay {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: all 0.3s ease-in-out;
}

.text-category-image3-cont {
    max-width: 170px;
}

.custom-category-title {
    margin: 0;
    font-size: 22px !important;
    font-weight: 500;
    z-index: 3000;
    display: inline-block;
    font-size: 1.1rem;
    color: #000;
    position: relative;
    z-index: 3;
    border-radius: 6px;
    display: inline-block;
}

.custom-category-link {
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease-in-out;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 6px;
    text-decoration: none;
    color: #000;
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
}

.custom-category-card:hover .custom-category-link {
    opacity: 1;
    transform: translateY(0);
}

/* Alternating left/right alignment */
.custom-item1 .custom-overlay,
.custom-item3 .custom-overlay,
.custom-item5 .custom-overlay {
    justify-content: center;
    align-items: flex-start;
    text-align: left;
}

.custom-item2 .custom-overlay,
.custom-item4 .custom-overlay {
    justify-content: center;
    align-items: flex-end;
    text-align: right;
}

/* grid mapping */
.custom-item1 {
    grid-area: item1;
}

.custom-item2 {
    grid-area: item2;
}

.custom-item3 {
    grid-area: item3;
}

.custom-item4 {
    grid-area: item4;
}

/* Big tall block */
.custom-item5 {
    grid-area: item5;
}

/* Wide bottom block */

@media (max-width: 1199px) {

    .custom-item4 .text-category-image3-cont,
    .custom-item5 .text-category-image3-cont {
        margin-inline-start: 0;
        margin-inline-end: 0;
    }
}

@media (max-width: 1000px) {
    .age-wrapper a {
        flex: 0 0 0;
    }

    .age-item {
        width: 120px;
        height: 120px;
    }

    .row-age a .age-item {
        margin-top: 0;
    }

    .row-age:first-child a:nth-child(even) .age-item {
        margin-top: 20px;
    }

    .row-age {
        margin-bottom: 10px;
        gap: 35px;
    }

    @media (max-width: 330px) {
        .row-age {
            gap: 10px;
        }
    }

    .row-age:nth-child(2) a:nth-child(odd) .age-item {
        margin-top: 20px;
    }
}

.flat-wrap-media-product .swiper-wrapper {
    height: auto !important;
}

.pswp__img {
    object-fit: contain;
}

@media (max-width: 400px) {
    .age-wrapper a {
        flex: 0 0 80px;
    }
}

.card-product .price-wrap .price-new {
    color: var(--primary);
}

.subcategory-list {
    display: none !important;
    /* force hidden */
    padding-left: 1rem;
    margin-top: 0.5rem;
}

.cate-item.open>.subcategory-list {
    display: block !important;
    /* only show when .open is toggled */
}

.toggle-icon {
    float: right;
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.cate-item.open>a>.toggle-icon {
    transform: rotate(180deg);
}

.current-scrollbar {
    max-height: fit-content !important;
    padding-inline-end: 10px;
}

.cate-item>a {
    width: 100%;
}

#reviews-container {
    display: flex;
    flex-wrap: wrap;
    row-gap: 10px;
    justify-content: center;
}

.card-product-wrapper img {
    object-fit: contain !important;
}

.tf-product-delivery-return {
    width: fit-content;
}

.brand-item img {
    object-fit: contain;
    width: auto !important;
    padding-inline: 10px;
}

.box-icon img {
    height: 30px;
    max-width: 30px;
    object-fit: contain;
}

.account-review-cont {
    max-width: 400px;
    width: 400px;
}

@media (max-width: 768px) {
    .account-review-cont {
        max-width: 300px;
        width: 300px;
    }
}

.add-to-cart-footer-options-cont {
    display: flex;
    gap: 10px;
}

.add-to-cart-footer-options-cont .tf-sticky-atc-variant-price {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Used to mirror the whole hero (image + overlay) for RTL via
   `transform: scaleX(-1)`, but .box-content is already full-width/centered
   so it never needed repositioning - the mirror only flipped the model's
   pose and, worse, mirrored the Arabic glyphs into unreadable garbage. RTL
   text alignment is instead handled surgically below via `direction: rtl`
   + `text-align: start` on .box-content, so this whole-section mirror was
   removed. */

.slider-fashion-1 .swiper-slide {
    height: 100% !important;
}

.card-product .list-product-btn li.wishlist,
.card-product .list-product-btn li.compare {
    display: block !important;
}

/* style-2 cards put the cart/wishlist buttons as a bottom-center pill with
   square-ish joined corners; product wants them back at the top-right as
   separate circular buttons (the theme's default, non-style-2 look). */
.card-product.style-2 .list-product-btn {
    top: 8px !important;
    right: 8px !important;
    left: unset !important;
    bottom: unset !important;
    transform: none !important;
    flex-direction: column !important;
    gap: 8px !important;
}

.card-product.style-2 .list-product-btn .box-icon {
    border-radius: 50% !important;
    border: none !important;
}

.category-toggle.active {
    color: var(--primary) !important;
}

.size-btn-custom-home {
    border: 1px solid rgb(213, 213, 213);
}

.category-toggle {
    display: flex;
    justify-content: space-around;
}

.category-toggle>span {
    flex: 1;
}

/* Shop sidebar category list reads too small on wide screens - top-level
   categories (Shoes, Clothing, ...) up to 18px, nested subcategories
   (Shorts, T-Shirts, ...) to 16px so the hierarchy still reads. Scoped to
   .sidebar-filter and off the shared .text-sm utility class itself, since
   that class is reused all over the site for unrelated small text. */
@media (min-width: 1300px) {
    .sidebar-filter .list-categories > .cate-item > .category-toggle.text-sm {
        font-size: 18px;
    }
    .sidebar-filter .subcategory-list .category-toggle.text-sm {
        font-size: 16px;
    }
}

.js-countdown .countdown__timer:not(:first-child) {
    display: none !important;
}

.phone-input2 {
    padding-block: 0 !important;
}

.filter-group-check .list-item .label {
    width: 100%;
}

.tf-acually-dark {
    border: 1px solid var(--dark) !important;
    background-color: var(--dark) !important;
}

.tag-pills-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 10px 0;
}

.tag-pill {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.tag-pill:hover {
    background-color: #e9ecef;
    border-color: #adb5bd;
    transform: translateY(-1px);
}

.tag-pill.active {
    background-color: var(--primary, #007bff);
    border-color: var(--primary, #007bff);
    color: white;
}

.tag-pill.active:hover {
    background-color: color-mix(in srgb, var(--primary) 80%, black);
    border-color: color-mix(in srgb, var(--primary) 80%, black);
}

.tag-text {
    font-weight: 500;
    line-height: 1;
}

.reason-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1050;
}

.reason-modal-content {
    background: white;
    border-radius: 8px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.reason-modal-header {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #dee2e6;
    display: flex;
    justify-content: between;
    align-items: center;
}

.reason-modal-title {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
}

.reason-btn-close {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    margin-left: auto;
}

.reason-modal-body {
    padding: 1.5rem;
}

.reason-modal-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid #dee2e6;
    display: flex;
    gap: 0.5rem;
    justify-content: flex-end;
}

.reason-form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.reason-form-control {
    width: 100%;
    padding: 0.5rem 0.75rem;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-size: 1rem;
}

.reason-btn {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 0;
    cursor: pointer;
    font-size: 0.875rem;
    transition: all 0.2s;
}

.reason-btn-secondary {
    background-color: #6c757d;
    color: white;
}

.category-name-product-item {
    color: #a5a5a5;
    transition: .3s all ease;
}

/* Product name text bump, scoped to the home page's New Arrivals + On Sale
   swipers only (.sw-over-product wraps both) - product-item.js's
   `.name-product` also renders inside the shop grid, product page related
   items, cart drawer, etc., where this size wasn't requested. */
.page-home .sw-over-product .name-product.text-sm {
    font-size: 18px;
}

/* "Our Categories" card video: same cover/hover-zoom treatment styles.css
   gives the `<img>` variant (.hover-img .img-style>img) so a video category
   card looks identical to an image one. */
.hover-img .img-style>video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.5s ease, transform 2s cubic-bezier(0, 0, 0.44, 1.18);
}

.hover-img:hover .img-style>video {
    transform: scale(1.06);
}

.category-name-product-item:hover {
    color: var(--primary);
}

.shipping-info-card {}

.btn-danger {
    background-color: #dc3545;
    color: white;
}

.btn:hover:not(:disabled) {
    opacity: 0.9;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Language switcher in burger container */
.langue-burger-container {
    display: flex;
    align-items: center;
    gap: 16px;
}

.langue-burger-container .mobile-menu {
    display: flex;
    align-items: center;
    justify-content: center;
}

.langue-burger-container .item-link {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 16px;
    font-weight: 500;
    color: #333;
    text-transform: uppercase;
    text-decoration: none;
}

.langue-burger-container .item-link:hover {
    color: var(--primary);
}

.langue-burger-container .item-link i {
    font-size: 18px;
}

/* Language switcher beside the search icon (desktop) */
.nav-lang .lang-toggle {
    gap: 4px;
    background: transparent;
    text-decoration: none;
}

.nav-lang .lang-toggle .lang-toggle-code {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    line-height: 1;
    text-transform: uppercase;
}

/* Backstop for the whole storefront. If any single element ever does escape
   its container again, it must not take the page's horizontal scroll with it -
   which is what put the shop page ~150px off its left edge, clipping the
   breadcrumb, the product grid and the header all at once.
   `clip` rather than `hidden` on purpose: `hidden` would make <body> a scroll
   container and kill `position: sticky` on the header. */
body {
    overflow-x: clip;
}

/* Mobile: the category heading band was eating a third of the first screen -
   30px of section padding above the title, the theme's 12px grid gap, an 18px
   margin above the subcategory row, then 30px of section margin plus the
   product section's own 64px of top padding below it, so ~94px of dead air
   before the breadcrumb. Tighten every step so the row sits just under the
   header and the breadcrumb follows it closely. */
@media (max-width: 767.98px) {

    .section-product.flat-spacing-24 {
        padding-top: 20px;
    }
}

.widget-accordion.wd-product-descriptions .accordion-title {
    font-size: 18px;
}

.widget-accordion.wd-product-descriptions .accordion-body {
    font-size: 16px;
}

.product-attributes .attribute-item {
    display: flex;
    border-bottom: 1px solid #ccc;
    max-width: 400px;
    padding-bottom: 8px;
    justify-content: space-between;
    margin-bottom: 8px;
}

.product-attributes .attribute-label {
    font-weight: 500;
    min-width: 80px;
    margin-right: 10px;
}

.all-categories-cont {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
    margin-top: 20px;
    row-gap: 20px;
}

.main-category-card {
    width: 240px;
}

.shipping-info-card {
    background-color: rgb(255, 255, 255, 1);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    color: #333;
    position: absolute;
    bottom: 10px;
    left: 50%;
    display: flex;
    gap: 5px;
    align-items: center;
    transform: translateX(-50%);
    padding: 8px 12px;
    border-radius: 4px;
    z-index: 10000000;
    transition: all .3s ease-in;
    opacity: 0;
}

.shipping-info-card span {
    font-size: 12px !important;

}

.card-product:hover .shipping-info-card {
    transform: translateX(-50%) translateY(-10px);
    opacity: 1;
}

@keyframes bounceIn {
    0% {
        transform: translateX(-50%) translateY(15px) scale(0.95);
        opacity: 0;
    }

    60% {
        transform: translateX(-50%) translateY(-4px) scale(1.05);
        opacity: 1;
    }

    80% {
        transform: translateX(-50%) translateY(2px) scale(0.98);
    }

    100% {
        transform: translateX(-50%) translateY(0) scale(1);
    }
}

.main-category-card {
    font-size: 20px;
    color: #333;
    font-weight: 500;
    text-align: center;
}

.main-category-card span {
    display: inline-block;
    padding-block: 4px !important;
}

.main-category-card img {
    transition: scale 0.3s ease-in-out;
    display: block;
    width: 100%;
}

.whatsapp-float {
    display: flex;
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    z-index: 100; 
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    color: white;
    transform: scale(1.1);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
    text-decoration: none;
}

.whatsapp-float i {
    line-height: 1;
    font-size: 32px;
}

.cart-empty-wrap {
    gap: 10px;
}

/* The outerwear slider is a full-bleed peek slider - it starts hard against the
   inline-start edge. (It used to carry a 40px margin-inline-start on >=991px,
   which read as a gap of dead whitespace beside it.) */
/* Responsive adjustments */
@media (max-width: 768px) {
    .phone-sub-cont {
        width: 100%;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 24px;
        bottom: 90px;
        right: 15px;
    }
}

.btn-outline-primary {
    border: 1px solid var(--primary);
    color: var(--primary) !important;
    background-color: transparent;
    font-size: 12px;
    transition: all 0.3s ease;
}

.btn-sm {
    padding: 6px 12px;
    border-radius: 0;
}

.breadcrumb-wrapper {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding-top: 20px;
}

.breadcrumb-link {
    color: #6b6b6b;
    cursor: pointer;
    text-decoration: none;
}

.breadcrumb-link:hover {
    color: #1a1a1a;
    text-decoration: underline;
}

.breadcrumb-separator {
    color: #c2c2c2;
}

.product-sku {
    font-size: 12px;
    letter-spacing: 0.5px;
    color: #8a8a8a;
    margin-bottom: 6px;
}

.facet-title {
    overflow-x: hidden !important;
}

@media (max-width: 991px) {
    .main-category-card {
        width: 167px;
        height: 230px;
        box-sizing: border-box;
    }

    .main-category-card {
        font-size: 17px;
        font-weight: 400;
    }
}

.main-category-card img:hover {
    scale: 1.03
}

/* Center hero slider images */
.center-this-image-please {
    object-fit: cover;
    object-position: center center !important;
}

/* Full-bleed hero, at every breakpoint.
   `.slider-fashion-1` is a flex container (styles.css) but the swiper inside it
   is given no flex sizing, so as a flex item it sizes to its content and can
   settle narrower than the viewport - leaving white gutters either side of the
   hero. Because the header over it is `header-white`, its white nav text then
   disappears against the page background wherever the image stops, which reads
   as the menu being cut off rather than the image being narrow.
   Pinning the swiper to a 100% flex-basis is the actual fix; the width/max-width
   on the rest of the chain keeps any level from reintroducing an inset. Swiper
   sets the per-slide widths inline from the container's width, so it lands on
   the right numbers once the container is correct. */
.slider-fashion-1 .tf-sw-slideshow {
    flex: 1 0 100%;
    min-width: 0;
    margin-inline: 0;
}

.slider-fashion-1,
.slider-fashion-1 .tf-sw-slideshow,
.slider-fashion-1 .swiper-wrapper,
.slider-fashion-1 .swiper-slide,
.slider-fashion-1 .slider-wrap {
    width: 100%;
    max-width: 100%;
}

/* Fullscreen hero: video + responsive (desktop/mobile) picture fill the slide */
.slider-fashion-1 .slider-wrap .image,
.slider-fashion-1 .hero-picture {
    display: block;
    width: 100%;
    height: 100%;
}

.slider-fashion-1 .hero-video,
.slider-fashion-1 .hero-picture img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

/* Stop native image/link dragging in the hero so swiping the slider doesn't
   trigger the browser's ghost-drag effect. (Firefox uses the draggable="false"
   attribute in the markup; this covers Chrome/Safari.) */
.slider-fashion-1 .hero-link,
.slider-fashion-1 .hero-video,
.slider-fashion-1 .hero-picture img {
    -webkit-user-drag: none;
    user-select: none;
}

/* Mobile hero: show post_image2 (fallback) instead of the video. */
.slider-fashion-1 .hero-video-fallback {
    display: none;
}

/* Desktop/tablet hero: exactly 100vh (not the theme's `calc(100vh - 24px)`,
   which left a sliver you had to scroll past to see the rest of the slide)
   so every slide is the same height and the hero fills the first screen
   exactly. `.slider-fashion-1.slider-viewport` (two classes) beats the
   theme's single-class `!important` rules in styles.css regardless of load
   order. Mobile keeps its own fixed 350px height below instead of 100vh. */
@media (min-width: 768px) {
    .slider-fashion-1.slider-viewport,
    .slider-fashion-1.slider-viewport .tf-sw-slideshow,
    .slider-fashion-1.slider-viewport .swiper-slide,
    .slider-fashion-1.slider-viewport .slider-wrap,
    .slider-fashion-1.slider-viewport .image,
    .slider-fashion-1.slider-viewport .image img {
        height: 100vh !important;
        min-height: 100vh !important;
    }
}

@media (max-width: 767px) {
    .slider-fashion-1 .hero-video {
        display: none !important;
    }
    .slider-fashion-1 .hero-video-fallback {
        display: block;
    }

    /* Fixed hero height on mobile so slides don't change height as you swipe.
       The !important beats the theme's `min-height: calc(100vh - 24px) !important`
       on .slider-fashion-1 .image / .image img (styles.css). */
    .slider-fashion-1.slider-viewport .tf-sw-slideshow,
    .slider-fashion-1 .swiper-slide,
    .slider-fashion-1 .slider-wrap,
    .slider-fashion-1 .image,
    .slider-fashion-1 .image img {
        height: 350px !important;
        min-height: 0 !important;
    }
    .slider-fashion-1 .hero-link {
        display: block;
    }
}

/* ============================================================
   Hero overlay copy (eyebrow / headline / CTA)
   -------------------------------------------------------------
   All four pieces are CMS fields on the hero_banner post
   (post_sub / post_title / post_desc / post_button) and each one
   is optional - a slide with none of them renders no overlay at
   all, which is how the hero behaved before.

   Placement follows the reference: bottom-start of the slide,
   white type over the image, headline oversized and light.
   The theme centres `.slider-default .box-content` vertically -
   these rules pull it down to the bottom instead.
   ============================================================ */
.slider-fashion-1.slider-default .box-content {
    top: auto;
    bottom: clamp(28px, 6vh, 90px);
    transform: none;
    pointer-events: none;
}

/* The swiper element carries a hard-coded dir="ltr" (see __home.view.php) so
   Swiper's fade/slide maths stays in one direction. That also forces the copy
   overlay to LTR, which is why `text-align: start` was resolving to the LEFT
   edge in Arabic. Put the overlay - and only the overlay - back into RTL. */
html[dir='rtl'] .slider-fashion-1 .box-content {
    direction: rtl;
}

.slider-fashion-1 .hero-content {
    gap: clamp(14px, 2vh, 26px);
    color: #fff;
    text-align: start;
    /* The overlay sits inside the slide-wide <a>, so nothing here needs to be
       clickable - but keep the text selectable/legible above the image. */
    text-shadow: 0 1px 16px rgba(0, 0, 0, .35);
}

.slider-fashion-1 .hero-eyebrow {
    display: block;
    font-size: clamp(10px, .8vw, 13px);
    font-weight: 400;
    letter-spacing: .35em;
    text-transform: uppercase;
    color: #fff;
}

.slider-fashion-1 .hero-heading {
    margin: 0;
    color: #fff;
    font-weight: 400;
    font-size: clamp(2.2rem, 6.5vw, 6rem);
    line-height: 1.02;
    letter-spacing: .01em;
    text-transform: uppercase;
}

.slider-fashion-1 .hero-sub {
    margin: 0;
    max-width: 46ch;
    color: #fff;
}

.slider-fashion-1 .box-btn-slider {
    margin-top: clamp(6px, 1.4vh, 18px);
}

/* On wide screens .container's own auto-centering gutter (it caps at
   1488px, see styles.css) pushes the overlay copy well away from the true
   left edge, making it look centered/floating instead of anchored to the
   corner like the reference. Drop the cap and use a small viewport-scaled
   inset instead - `padding-inline-start` so it still lands on the trailing
   edge in rtl. */
@media (min-width: 1300px) {
    .slider-fashion-1.slider-default .box-content > .container {
        max-width: 100%;
        padding-inline-start: clamp(24px, 4vw, 64px);
    }
}

/* Styled as a button but rendered as a <span> (see __home.view.php) - give it
   the inline-flex box the theme's <a>.tf-btn gets for free. */
.slider-fashion-1 .hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    font-size: clamp(11px, .85vw, 14px);
    letter-spacing: .12em;
    text-transform: uppercase;
    text-shadow: none;
}

@media (max-width: 767px) {
    /* The mobile hero is a fixed 350px box - keep the copy inside it. */
    .slider-fashion-1.slider-default .box-content {
        bottom: 20px;
    }

    .slider-fashion-1 .hero-heading {
        font-size: clamp(1.6rem, 8vw, 2.4rem);
    }

    .slider-fashion-1 .hero-sub {
        display: none;
    }

    .slider-fashion-1 .hero-btn {
        padding: 9px 16px;
    }
}

/* Truly center the header logo on desktop. The markup is nav(col-xl-8) +
   logo(col-xl-2) + icons(col-xl-2) - since the nav column is 4x wider than
   the icons column, the logo sits wherever the 8-wide column happens to end
   (off to the right), not at the page's actual center. Making the nav and
   icons columns equal flexible widths (instead of Bootstrap's fixed 8/2/2
   split) puts the logo, which stays sized to its own content, exactly in
   the middle regardless of how wide the nav or icon list are. */
@media (min-width: 1200px) {
    .header-default .wrapper-header > .col-xl-8 {
        flex: 1 1 0%;
        width: auto;
        max-width: none;
    }

    .header-default .wrapper-header > div:has(.logo-header) {
        flex: 0 0 auto;
        width: auto;
        max-width: none;
        display: flex;
        justify-content: center;
    }

    .header-default .wrapper-header > div:has(.nav-icon) {
        flex: 1 1 0%;
        width: auto;
        max-width: none;
    }
}

/* Scrolled (sticky) header: light background instead of the theme's dark.
   The actual background lives in the compact-header block at the end of this
   file (translucent white + backdrop blur, shared with the inner pages). */

/* Flip nav text/icons to dark so they stay readable on the light background. */
#header.header-white.header-bg .mobile-menu,
#header.header-white.header-bg .nav-icon .nav-icon-item,
#header.header-white.header-bg .box-nav-menu .item-link {
    color: var(--dark);
}

.prevent-zoom {
    transform: scale(1) !important;
}

/* The home-page topbar + header are now a transparent/blurred overlay (see
   .topbar-overlay below) that floats over the fullscreen hero, instead of the
   hero starting only below them. So the hero needs to be pulled up by the
   topbar + header's *combined* rendered height, not just the header's own
   hardcoded height (which is what the theme's default -87px/-108px assumed
   and is why it used to crop the topbar). main.js measures both on load/resize
   and writes the total to --chrome-h, so this always cancels out exactly. */
/* Only the HOME overlay header (header-absolute + header-white) pulls the hero up
   underneath it. Other pages are now transparent too (.header-transparent) but must
   stay in normal flow, so the negative margin is scoped to the home combo only. */
.header-absolute.header-white {
    margin-bottom: calc(-1 * var(--chrome-h, 130px)) !important;
}

/* .tf-topbar.topbar-overlay (two classes) so this beats .topbar-bg's
   `background: var(--my-secondary) !important` further down this file -
   same !important tier, so without the extra specificity source order wins
   and the gradient-replacement color loses. */
.tf-topbar.topbar-overlay {
    position: relative;
    z-index: 999;
    background: rgba(0, 0, 0, 0.4) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: none;
}

@media (min-width: 1250px) {
    .col-lg-15 {
        width: 14%;
    }

    .col-lg-25 {
        width: 18%;
    }

}

@media (min-width: 992px) {
    .col-lg-15 {
        width: 12%;
    }

    .col-lg-25 {
        width: 20%;
    }

    .category-image-zoom {
        width: 100%;
        min-height: 145px;
    }
}

.category-image1 {
    transition: scale 0.4s cubic-bezier(.25, .8, .25, 1);
}

.category-image1:hover {
    scale: 1.08;
}

.category-image2:hover {
    scale: 1 !important;
}

.category-image-zoom img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.toy-header {
    margin-top: 50px;
}

.liner-continer-category {
    margin-bottom: 30px;
}

@media (max-width: 768px) {
    .trending-categories-section {
        padding-bottom: 0 !important;
    }

    .toy-header {
        font-size: 22px !important;
    }

    .tf-group-filter {
        justify-content: space-between;
        width: 100%;
    }

    .categories-footer-header {
        text-align: start !important;
    }

    .categories-footer-container {
        display: none;
    }
}

@media (max-width: 420px) {

    .age-item {
        width: 100px !important;
        height: 100px !important;
        aspect-ratio: unset;
    }

    .age-item span {
        font-size: 1.3rem;

    }

    .row-age {
        max-width: 100vw;
        max-width: 100dvw;
    }
}

@media (max-width: 380px) {
    .row-age {
        gap: 10px;
    }

    .age-item {
        width: 90px !important;
        height: 90px !important;
        aspect-ratio: unset;
    }

}

@media (max-width: 345px) {

    .age-item {
        width: 80px !important;
        height: 80px !important;
        aspect-ratio: unset;
    }
}

.footer {
    background-color: #fff !important;
    color: #1a1a1a;
    font-size: 15px;
    padding-top: 40px;
    padding-bottom: 32px;
}

.footer-title {
    font-weight: 600 !important;
    font-size: 16px !important;
    color: #1a1a1a;
    margin-bottom: 22px;
    letter-spacing: 0.2px;
}

.footer a {
    color: #3d3d3d;
    text-decoration: none;
    transition: color 0.3s ease;
}

.header-bg .logo {
    width: 80px !important;
}

.footer-sub-cont-have-a-question i {
    color: #1a1a1a;
}

.footer-sub-cont-have-a-question p {
    font-size: 15px !important;
    font-weight: 400;
    margin-bottom: 16px;
}

.footer-sub-cont-follow-us i {
    border: none;
    padding: 0;
    width: auto;
    height: auto;
    border-radius: 0;
}

@media (min-width:991px) {

    #header .container,
    .tf-topbar .container {
        max-width: unset;
        padding-inline: 50px;
    }
}

.s-term-user .content {
    gap: 20px !important;
}

.topbar-wraper {
    padding-inline-start: 19px;
}

.topbar-wraper p {
    color: rgb(255, 255, 255, .8);
}

.footer a:hover {
    color: #1a1a1a;
    text-decoration: underline;
}

.footer .footer-bottom {
    color: #6b6b6b;
    font-size: 13px;
    font-weight: 400;
    margin-top: 56px !important;
    padding-top: 24px !important;
    border-top: 1px solid #e2e2e2 !important;
}

.footer .footer-bottom a {
    color: #6b6b6b;
}

.footer .footer-bottom a:hover {
    color: #1a1a1a;
}

.footer-social-row {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-top: 0;
}

.footer-social-icon {
    font-size: 22px;
    color: #1a1a1a;
    line-height: 1;
}

.footer-social-icon:hover {
    color: #7a7a7a;
}

.topbar-bg {
    background: var(--my-secondary) !important;
}

.signup-banner {
    background-color: var(--my-secondary);
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    min-height: 80px;
}

.signup-text {
    color: white;
    font-size: 18px;
    font-weight: 400;
    margin-right: 30px;
}

.signup-form {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.email-input {
    padding: 12px 20px;
    width: 400px !important;
    font-size: 16px;
    max-width: calc(100vw - 20px);
    margin-inline: auto;
    border: none;
    border-radius: 4px;
    outline: none;
    color: #666;
}

.email-input::placeholder {
    color: #999;
}

.banners-section {
    padding-bottom: 32px !important;
}

.footer-sub-cont-have-a-question i {
    font-size: 16px;
}

.signup-button {
    background-color: rgb(233, 28, 37);
    color: white;
    border: none;
    white-space: nowrap;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.signup-button:hover {
    background-color: #dc2626;
}

@media (max-width: 768px) {
    .logo {
        width: 100px !important;
    }

    .signup-text {
        font-size: 18px !important;
        text-align: start;
    }

    .email-input {
        width: 100% !important;
    }

    /* the gold announcement strip shows on phones BELOW the header (the copy printed
       under it); the copy above the header is for desktop. */
    .tf-topbar:not(.bijoule-topbar),
    .tf-topbar.bijoule-topbar--above {
        display: none !important;
    }

    .signup-banner {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }

    .signup-text {
        margin-right: 0;
        margin-bottom: 20px;
        font-size: 20px;
    }

    .email-input {
        width: 250px;
    }
}

@media (max-width: 480px) {
    .signup-form {
        flex-direction: column;
        width: 100%;
    }

    .email-input {
        width: 100%;
        border-radius: 4px;
        margin-bottom: 10px;
    }

    .signup-button {
        width: 100%;
        border-radius: 4px;
    }
}

.footer ul li a {
    display: inline-block;
    margin-bottom: 16px;
    color: #3d3d3d;
    font-size: 15px;
    font-weight: 400;
    font-family: var(--poppins-or-cario);
}
.copyright-text{
    font-size: 13px;
    font-weight: 400;
}
.container-product-page{
    max-width: 100vw;
}
.footer {
    background-color: #fff !important;
}

.footer .container-custom {
    width: 100%;
    margin-inline: auto;
    padding-inline: 20px;
}

@media (min-width: 992px) {
    .footer .container-custom {
        width: 100%;
        max-width: 1400px;
        padding-inline: 80px;
    }

    /* Four equal columns. Follow Us used to be narrowed and end-aligned to close
       the gap at the container's end edge; the mismatched column width read worse
       than the gap did, so all four now share the same width and the same
       start-aligned content. */
    .footer-row .footer-sub-cont {
        flex: 0 0 auto;
        width: 25%;
        max-width: 25%;
    }

}

.box-title .title {
    color: white;
}

.socilize-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 22px;
    color: rgb(122, 122, 122);
}

.main-container {
    display: flex;
    align-items: center;
    min-height: 100vh;
    padding: 40px 0;
}

.content-section {
    padding-left: 60px;
}

.main-title {
    font-size: 52px;
    font-weight: 700;
    color: #333333;
    line-height: 1.1;
    margin-bottom: 20px;
}

.highlight {
    color: #FF0000;
}

.description {
    font-size: 16px;
    color: #666666;
    margin-bottom: 30px;
    line-height: 1.5;
}

.arrow {
    font-size: 14px;
}

@media (max-width: 992px) {

    .footer .container-custom {
        padding-inline: 12px;
    }

    .content-section {
        padding-left: 30px;
    }

    .main-title {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .main-container {
        flex-direction: column;
        text-align: center;
    }

    .content-section {
        padding-left: 0;
        padding-top: 30px;
    }

    .main-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 576px) {
    .main-title {
        font-size: 2rem;
    }
}

.card-trending {
    border: 1px solid #ccc;
}

.card-trending .card-body {
    padding-bottom: 43px !important;
}

.justify-content-center {
    justify-content: center !important;
}

@media (max-width: 1199px) {
    .custom-category-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(5, 200px);
        grid-template-areas:
            "item1"
            "item2"
            "item3"
            "item4"
            "item5";
        margin-bottom: -80px;
    }

    .custom-item5 {
        padding-block: 15px;
        height: fit-content;
    }

    .banners-section {
        padding-bottom: 0 !important;
        margin-bottom: 0 !important;
    }
}

@media (max-width: 991px) {
    .apps-links {
        display: flex;
        flex-direction: column;
    }

    .footer-row {
        flex-direction: column-reverse !important;
        align-items: start !important;
        text-align: start !important;
    }

    .footer .footer-bottom {
        margin-bottom: 40px;
    }

    .footer-sub-cont-logo {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

/* ===== Footer: collapsible accordion sections on mobile (<=991px) ===== */
@media (max-width: 991px) {
    /* Flatten the row into the footer column so each section is a sibling of
       .footer-bottom and the whole stack can be ordered from one place.
       display:contents lets the row's children join the container-custom flow. */
    .footer .container-custom {
        display: flex;
        flex-direction: column;
    }
    .footer-row {
        display: contents;
    }

    /* every section spans full width and is separated by a divider */
    .footer-row .footer-sub-cont {
        order: 1;
        width: 100%;
        max-width: 100%;
        margin-bottom: 0 !important;
        border-top: 1px solid #e2e2e2;
    }

    /* visual order: accordions (1) -> follow us (2) -> bottom (3).
       Follow Us order MUST come after the .footer-sub-cont rule above (equal
       specificity, so source order decides) or it would inherit order:1. */
    .footer-row .footer-sub-cont-follow-us { order: 2; }
    .footer .footer-bottom { order: 3; }

    /* accordion header: title on the left, +/- toggle on the right, full-width tap area */
    .footer-title[data-bs-toggle="collapse"] {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 0;
        padding: 18px 2px;
        cursor: pointer;
    }

    /* CSS-drawn plus that becomes a minus when the section is expanded */
    .footer-acc-icon {
        position: relative;
        flex: 0 0 auto;
        width: 14px;
        height: 14px;
    }
    .footer-acc-icon::before,
    .footer-acc-icon::after {
        content: "";
        position: absolute;
        background: #1a1a1a;
        transition: transform 0.25s ease;
    }
    .footer-acc-icon::before {
        top: 50%;
        left: 0;
        width: 100%;
        height: 1.5px;
        transform: translateY(-50%);
    }
    .footer-acc-icon::after {
        left: 50%;
        top: 0;
        height: 100%;
        width: 1.5px;
        transform: translateX(-50%);
    }
    .footer-title[data-bs-toggle="collapse"][aria-expanded="true"] .footer-acc-icon::after {
        transform: translateX(-50%) scaleY(0);
    }

    /* breathing room for the expanded body */
    .footer-collapse {
        padding-bottom: 12px;
    }

    /* Follow Us has no toggle — match the section's header padding */
    .footer-row .footer-sub-cont-follow-us .footer-title {
        padding: 18px 2px;
        margin-bottom: 8px;
    }

    /* copyright text + payment icons: stacked in a column and centered */
    .footer .footer-bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 16px;
    }
}

/* Desktop (>=992px): classic always-expanded columns, no accordion */
@media (min-width: 992px) {
    .footer-collapse.collapse {
        display: block !important;
        height: auto !important;
        visibility: visible;
    }
    .footer-title[data-bs-toggle="collapse"] {
        pointer-events: none;
    }
    .footer-acc-icon {
        display: none;
    }
}

.canvas-categories {
    max-width: 100%;
    padding-bottom: 50px;
    width: 400px;
}

.canvas-categories .canvas-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    border-bottom: 1px solid var(--line);
    background: #fff;
}

.canvas-categories .canvas-header h5 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: var(--dark);
}

.canvas-categories .canvas-header .icon-left {
    font-size: 20px;
    color: var(--dark);
    margin-right: 10px;
}

.canvas-categories .canvas-header .icon-close-popup {
    font-size: 16px;
    color: var(--dark);
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    line-height: 1;
}

.canvas-categories .canvas-body {
    padding: 20px;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
}

/* Categories facet styles */
.wd-facet-categories {
    margin-bottom: 20px;
    border-bottom: 1px solid var(--line);
    padding-bottom: 0;
}

.wd-facet-categories:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.wd-facet-categories .facet-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
}

.wd-facet-categories .facet-title:hover {
    color: var(--primary);
}

.wd-facet-categories .facet-title .title {
    font-size: 16px;
    font-weight: 400;
    color: var(--dark);
    margin: 0;
}

.wd-facet-categories .facet-title a {
    text-decoration: none;
    color: inherit;
    text-align: start;
    flex: 1;
}

.wd-facet-categories .facet-title a:hover {
    color: var(--primary);
}

.text-333 {
    color: #333 !important;
}

.wd-facet-categories .icon {
    font-size: 10px;
    color: #333;
    transition: transform 0.3s ease;
    margin-left: 10px;
}

.wd-facet-categories .facet-title.collapsed .icon.rotate-arrow {
    transform: rotate(0deg);
}

.wd-facet-categories .facet-title:not(.collapsed) .icon.rotate-arrow {
    transform: rotate(180deg);
}

.wd-facet-categories .facet-body {
    list-style: none;
    margin: 0;
    padding: 0;
    padding-top: 10px;
    padding-inline-start: 10px;
}

.wd-facet-categories .facet-body .item {
    display: block;
    padding: 8px 0;
    text-decoration: none;
    color: #ccc;
    font-size: 14px;
    transition: color 0.3s ease;
}

.wd-facet-categories .facet-body .item:hover {
    color: var(--primary);
}

.wd-facet-categories .facet-body .title-sub {
    font-size: 14px;
    font-weight: 500;
}

.wd-facet-categories .facet-sub-body {
    list-style: none;
    margin: 0;
    padding: 0;
    margin-top: 8px;
}

.wd-facet-categories .facet-sub-body .item {
    padding: 6px 0;
    font-size: 13px;
}

.wd-facet-categories .facet-sub-body .title-sub-sub {
    font-size: 13px;
    font-weight: 400;
    color: var(--grey-3);
}

/* Text utility classes */
.text-caption-1 {
    font-size: 14px;
    line-height: 1.4;
}

.text-caption-2 {
    font-size: 13px;
    line-height: 1.4;
}

.text-tertiary {
    color: var(--grey-3) !important;
}

/* Rotate arrow animation */
.rotate-arrow {
    transition: transform 0.3s ease;
}

/* Bootstrap collapse enhancement */
.collapse {
    transition: height 0.35s ease;
}

.collapse.show {
    height: auto;
}

/* ============================================================
   HEADER MEGA MENU (.mega-fits)
   One panel per ROOT category, opened by the theme's existing
   `.menu-item:hover > .sub-menu` rule. The reference lays its panel
   out on FOUR equal columns and gives each part a share of them; for
   a category whose subcategories are one flat list (its Shoes and
   Accessories panels, and every category in this catalogue) the
   shares are:

     subcategory links   1 column
     product previews    1 column
     category visual     2 columns  <- half the panel

   The panel is only 2/1/1 (double-width links, quarter-width photo)
   when the links block carries a second, hand-curated group next to
   the subcategories, which is the one thing this catalogue has no
   data for.
   ============================================================ */

/* Full-bleed: the header container is edge-to-edge (see the
   `#header .container { max-width: unset }` rule above), so pinning
   the panel to 0/0 spans the whole viewport like the reference. */
.box-nav-menu .mega-menu.mega-fits {
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100vw;
    margin: 0;
    padding: 0;
    border-radius: 0;
    overflow: hidden;
    /* Reference panel chrome: plain white, no shadow, a single hairline
       separating it from the header. */
    background: #fff;
    border-top: 1px solid #e9e9e8;
    box-shadow: none;
}

/* The theme opens dropdowns with `transform: translateY(-30px)` (styles.css,
   `.box-nav-menu .menu-item:hover > .sub-menu`), which lifts the panel back up
   through the 33px of bottom padding on .menu-item - so it lands ON the link
   being hovered instead of below it. That offset suits the theme's small boxed
   dropdowns; a full-bleed mega panel has to start at the header's bottom edge.
   Land it at top:100% exactly, and keep the closed state's 10px so it still
   slides up into place. */
.box-nav-menu .menu-item:hover > .sub-menu.mega-fits {
    transform: none;
}

/* Geometry below is MEASURED off the reference (piniparma.com's
   `mm-mega-menu-wrapper`, mm-header.css + its inline overrides + the
   mm-variables/mm-fonts scales), not eyeballed:

     panel        4 equal columns, full width, white, 1px #e9e9e8 top rule,
                  min-height 55vh (45vh at <=1280px)
     block        padding 20px, 1px #e9e9e8 inline-end rule, none on the last;
                  no padding at all on the one holding the visual
     group        gap 10px between the heading and its links
     heading      12px / 130% / letter-spacing 3.08px / uppercase, with a
                  10px padding-bottom and a 1px #e9e9e8 underline
     sublink      14px / 130%, #64645f, 10px apart
     products     3 rows, dropping to 2 at <=1280px
     visual       image fills its two columns; caption padded
                  20px 20px 70px, gap 10px

   The reference lets the panel grow with the longest link list rather than
   capping and scrolling it, so the old max-height/overflow pair is gone. */
.mega-fits-inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: stretch;
    min-height: 55vh;
}

.mega-fits .mega-col,
.mega-fits .mega-visual {
    border-inline-end: 1px solid #e9e9e8;
}

.mega-fits .mega-col:last-child,
.mega-fits .mega-visual:last-child {
    border-inline-end: 0;
}

/* The visual takes HALF the panel - the reference's `mm-mega-menu-block-span-2`
   on its collection block. Links and products take one column each. */
.mega-fits .mega-visual {
    grid-column: span 2;
}

/* A category with no products drops that column entirely (see .is-empty
   below), so the links take its share rather than leaving a blank quarter. */
.mega-fits-inner:has(.mega-col-products.is-empty) .mega-col-links {
    grid-column: span 2;
}

.mega-fits .mega-col-links,
.mega-fits .mega-col-products {
    padding: 20px;
    text-align: start;
}

/* Specificity note: the theme ships its OWN `.box-nav-menu .mega-menu
   .menu-heading` rule (styles.css, three classes) for its native mega-tab
   feature, and our panel keeps the `mega-menu` class alongside `mega-fits`
   so the theme's existing hover-open behaviour still fires. styles.css
   loads after custom.css, so on an equal-specificity tie the theme rule
   would win regardless of load order - it doesn't tie, it's MORE specific
   (3 classes vs. our 2), so it silently won outright (14px/500/black
   instead of the reference's 12px/400/#22221b) until this selector added
   `.box-nav-menu .mega-menu` to out-specify it at 4 classes. */
.box-nav-menu .mega-menu.mega-fits .menu-heading {
    text-align: start;
    width: 100%;
    margin: 0;
    font-size: 12px;
    line-height: 130%;
    letter-spacing: 3.08px;
    text-transform: uppercase;
    font-weight: 400;
    /* Not var(--dark): this theme's --dark is pure #000, the reference's
       actual near-black (--black-900) is #22221b. Same reasoning on every
       other var(--dark) in this block below. */
    color: #22221b;
    padding-bottom: 10px;
    border-bottom: 1px solid #e9e9e8;
}

.mega-fits .mega-links {
    list-style: none;
    padding: 0;
    margin: 10px 0 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mega-fits .mega-links .menu-link-text {
    display: block;
    font-size: 16px;
    font-weight: 400;
    line-height: 130%;
    color: #64645f;
    transition: color 0.2s ease;
}

.mega-fits .mega-links .menu-link-text:hover {
    color: #22221b;
}

/* --- product previews --- */
.mega-fits .mega-col-products.is-empty {
    display: none;
}

.mega-fits .mega-products {
    list-style: none;
    padding: 0;
    margin: 10px 0 0;
    display: flex;
    flex-direction: column;
    /* Between rows - not the same 15px as inside a row (thumb-to-text,
       .mega-product-link below). Reference: product-list-product-container
       10px, product-list-product-container>a 15px. */
    gap: 10px;
}

/* Reference product row (mm-mega-menu-product-list-*): an 86px 2:3 thumb,
   15px to the text, 10px inside it - and a "Shop Now" link under the name
   where a price would otherwise go. Three rows on a full-width desktop; the
   reference drops the third at <=1280px (`:nth-child(n+3) { display: none }`),
   which is the only breakpoint it has above the mobile drawer. */
.mega-fits .mega-product-link {
    display: flex;
    align-items: center;
    gap: 15px;
}

.mega-fits .mega-product-thumb {
    flex: 0 0 auto;
    width: 86px;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    background-color: var(--line);
    display: block;
}

.mega-fits .mega-product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    /* If the image itself ever fails, the row falls back to the plain grey
       tile - never to the alt text rendered as body copy inside a 64px box,
       which is what a failed load looks like in Firefox. The name is already
       spelled out next to the thumb, so nothing is lost. */
    font-size: 0;
    color: transparent;
}

.mega-fits .mega-product-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    min-width: 0;
}

.mega-fits .mega-product-name {
    font-size: 14px;
    font-weight: 400;
    line-height: 130%;
    color: #64645f;
    /* Three lines, as the reference clamps it. */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.mega-fits .mega-product-link:hover .mega-product-name {
    color: #22221b;
}

/* The underlined "Shop Now" link that sits where our price used to. */
.mega-fits .mega-product-cta {
    font-size: 14px;
    line-height: 130%;
    color: #22221b;
    width: fit-content;
    padding-bottom: 5px;
    border-bottom: 1px solid #22221b;
    transition: border-color .3s ease;
}

.mega-fits .mega-product-link:hover .mega-product-cta {
    border-bottom-color: transparent;
}

/* Skeleton rows: only ever visible if a hover lands before the fetch
   resolves, since the idle prefetch normally fills these in first. */
.mega-fits .mega-product-item.is-skeleton {
    display: flex;
    align-items: center;
    gap: 15px;
}

.mega-fits .mega-product-item.is-skeleton .mega-product-thumb {
    background-color: var(--line);
}

.mega-fits .mega-product-item.is-skeleton .mega-product-name,
.mega-fits .mega-product-item.is-skeleton .mega-product-price {
    display: block;
    height: 10px;
    border-radius: 2px;
    background-color: var(--line);
}

.mega-fits .mega-product-item.is-skeleton .mega-product-name {
    width: 140px;
}

.mega-fits .mega-product-item.is-skeleton .mega-product-price {
    width: 76px;
}

/* --- right-hand category visual --- */
/* One quarter of the panel, image bleeding to its edges with the caption
   sitting on top - the reference's image block, whose own padding lives on
   the caption below. */
.mega-fits .mega-visual {
    position: relative;
    display: block;
    overflow: hidden;
}

.mega-fits .mega-visual img {
    width: 100%;
    height: 100%;
    /* Crops rather than distorts, so a portrait category photo still fills the
       column at any panel height. */
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.mega-fits .mega-visual:hover img {
    transform: scale(1.04);
}

/* The reference's collection tile: a flat 25% black wash over the whole photo
   (not a bottom gradient), with the caption filling the tile and pushed to the
   bottom by 70px of padding - centred, 10px between title and button. */
.mega-fits .mega-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background: #22221b;
    opacity: .25;
    z-index: 1;
}

.mega-fits .mega-visual-caption {
    position: absolute;
    inset: 0;
    padding: 20px 20px 70px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    text-align: center;
    gap: 10px;
    color: var(--white);
    z-index: 2;
}

.mega-fits .mega-visual-title {
    font-size: 24px;
    line-height: 130%;
    letter-spacing: -.96px;
    font-weight: 400;
    color: var(--white);
}

/* Tertiary button: outline only until hover, then it fills. Reference's
   mm-btn-tertiary borders/fills with --secondary (#f4f4f4, an off-white),
   not pure white - the caption text above it IS pure white
   (var(--white)/#fff), so this is a real, deliberate difference between the
   two, not the same token twice. */
.mega-fits .mega-visual-btn {
    width: fit-content;
    padding: 15px 20px;
    font-size: 14px;
    line-height: 130%;
    border: 1px solid #f4f4f4;
    background-color: transparent;
    color: #f4f4f4;
    transition: all 0.3s ease;
}

.mega-fits .mega-visual:hover .mega-visual-btn {
    background-color: #f4f4f4;
    color: #22221b;
}

/* The reference shortens the panel on narrower desktops rather than
   reflowing it, and drops the third product row. Nothing else changes: below
   1200px the theme hides this whole nav (`d-none d-xl-block` on its column)
   and the mobile drawer in footer.tpl.php takes over. */
@media (max-width: 1280px) {
    .mega-fits-inner {
        min-height: 45vh;
    }

    .mega-fits .mega-product-item:nth-child(n + 3) {
        display: none;
    }
}

/* Safety net for a catalogue with more root categories than the bar can
   comfortably hold: tighten the gap and centre the row rather than let it
   overflow the header. Deliberately NOT an overflow-scroll container -
   any overflow other than `visible` would clip the mega panel, which is
   an absolutely-positioned child of this list. */
.header-default .box-nav-menu {
    flex-wrap: wrap;
    justify-content: center;
    column-gap: 20px;
    row-gap: 0;
}

.header-default .box-nav-menu .item-link {
    white-space: nowrap;
}

/* ============================================================
   Shop toolbar: count/pills and sorting on one row
   -------------------------------------------------------------
   .meta-filter-shop is now a child of .tf-shop-control, which
   already brings the theme's `justify-content: space-between`.
   Two things need undoing for it to sit on that row cleanly: the
   24px margin-bottom the theme gives it as a standalone block,
   and its default width - it has to take the free space so the
   filter/sort group is pushed to the end edge and wrapping pills
   grow leftwards rather than shoving the sort control around.
   ============================================================ */
.tf-shop-control .meta-filter-shop {
    flex: 1 1 auto;
    min-width: 0;
    margin-bottom: 0;
}

.tf-shop-control .tf-group-filter {
    flex: 0 0 auto;
}

/* Enough filter pills and the two halves stop fitting side by side;
   let the row wrap instead of squeezing the sort dropdown. */
.tf-shop-control {
    flex-wrap: wrap;
    row-gap: 12px;
}

/* --- mobile drawer --- */
.nav-ul-mb .mb-utility-item .mb-menu-link {
    color: var(--text);
}

.nav-ul-mb .mb-lang-code {
    font-size: 13px;
    font-weight: 500;
    color: var(--dark);
}

.nav-ul-mb .sub-nav-menu {
    list-style: none;
}

/* Drawer head + search row.
   The theme parks the close button absolutely at the top-left and pays for it
   with `padding-top: 60px` on the content grid. We want a real header row
   (brand on the start edge, close on the end edge) plus a search row beneath
   it, so the grid becomes a plain column and the close button rejoins the
   flow. Everything is scoped to #mobileMenu - the other offcanvas panels
   (cart, login, filters) still use the theme's absolute close button. */
/* Drawer geometry is MEASURED off the reference (piniparma.com's
   `mm-mobile-menu-wrapper`, mm-header.css):

     panel        width calc(100vw - 60px), full height - it deliberately
                  leaves a 60px strip of the page rather than covering it,
                  where the theme's default is min(90%, 320px)
     head/search  padding 15px block / 10px inline, 1px #e9e9e8 underline,
                  head is header-height (55px) tall
     row          padding 15px block / 10px inline, 1px #e9e9e8 underline
     secondary    the utility links sit tight under the rule instead of
                  being rows in their own right; block padding-bottom 15px
     backdrop     #22221b at .9, blurred

   The theme caps the panel in two places, so both are overridden. */
.canvas-mb#mobileMenu,
#mobileMenu .mb-canvas-content {
    width: calc(100vw - 60px);
    max-width: calc(100vw - 60px);
}

#mobileMenu .mb-canvas-content {
    display: flex;
    flex-direction: column;
    padding-top: 0;
    min-width: 0;
}

#mobileMenu .mb-body {
    flex: 1 1 auto;
    min-height: 0;
    /* Rows carry the 10px inline padding themselves, so their underlines run
       the full width of the panel the way the reference's do. */
    padding: 0 0 10px;
    border-bottom: 0;
}

/* Reference scrim: near-opaque and blurred, not Bootstrap's 50% black.
   Scoped with :has so the cart / filter / login drawers keep the default. */
body:has(#mobileMenu.show) .offcanvas-backdrop.show {
    background-color: #22221b;
    opacity: .9;
    -webkit-backdrop-filter: blur(54px);
    backdrop-filter: blur(54px);
}

#mobileMenu .mb-drawer-head,
#mobileMenu .mb-drawer-search {
    flex: 0 0 auto;
}

#mobileMenu .mb-drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 15px 10px;
    min-height: 55px;
    border-bottom: 1px solid #e9e9e8;
}

#mobileMenu .mb-drawer-brand {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.2;
    color: var(--dark);
}

#mobileMenu .icon-close-popup {
    position: static;
    margin-inline-start: auto;
}

/* Looks like a field, behaves like a button: it dismisses the drawer and
   opens the #search modal. */
#mobileMenu .mb-drawer-search {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 15px 10px;
    background: none;
    border: 0;
    border-bottom: 1px solid #e9e9e8;
    border-radius: 0;
    color: var(--text);
    font-size: 14px;
    text-align: start;
    cursor: pointer;
}

#mobileMenu .mb-drawer-search .icon {
    font-size: 16px;
    color: var(--dark);
    flex: 0 0 auto;
}

#mobileMenu .mb-drawer-search span {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

/* Rows: the theme's 40px min-height / 40px line-height pair is replaced by the
   reference's padding-driven row (15px block, 10px inline, 14px text at 130%),
   and every row carries the hairline - not just the ones before the last. */
#mobileMenu .nav-ul-mb .nav-mb-item {
    padding: 0;
    border-bottom: 1px solid #e9e9e8;
}

#mobileMenu .nav-ul-mb .mb-menu-link {
    min-height: 0;
    padding: 15px 10px;
    font-size: 14px;
    font-weight: 400;
    line-height: 130%;
}

#mobileMenu .nav-ul-mb .sub-nav-menu {
    padding: 0 0 10px 20px;
}

#mobileMenu .nav-ul-mb .sub-nav-link {
    padding: 8px 10px;
    font-size: 14px;
    line-height: 130%;
}

/* Current page. The theme's own `.nav-mb-item.active` colour is var(--primary)
   (#262626), which is all but identical to the default link colour, so the
   highlight is the brand tone already used for the shop's subcategory row. */
#mobileMenu .nav-ul-mb .nav-mb-item.active > .mb-menu-link {
    color: #8c7355;
}

#mobileMenu .nav-ul-mb .sub-nav-link.active {
    color: #8c7355;
}

/* Expandable category rows carry two controls side by side - the name (a link
   to the category's shop page) and the chevron (the collapse toggle). The row
   is the flex container so the two sit on one line and the collapsed sub-list
   wraps onto its own full-width line below them. */
#mobileMenu .nav-ul-mb .nav-mb-item.mb-has-sub {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

#mobileMenu .nav-ul-mb .mb-has-sub > .mb-menu-link {
    flex: 1 1 auto;
    min-width: 0;
}

#mobileMenu .nav-ul-mb .mb-has-sub > .collapse,
#mobileMenu .nav-ul-mb .mb-has-sub > .collapsing {
    flex: 0 0 100%;
    width: 100%;
}

/* The toggle is a bare button: no chrome, and a wide enough hit area that the
   chevron is comfortably tappable without eating into the link next to it. */
#mobileMenu .nav-ul-mb .mb-sub-toggle {
    flex: 0 0 auto;
    align-self: stretch;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 10px;
    background: none;
    border: 0;
    color: inherit;
}

/* Chevron instead of the theme's +/- for expandable rows. The theme draws a
   plus from two absolutely-centred bars (::before vertical, ::after
   horizontal) and rotates ::before to 90deg when open; here ::after is
   dropped and ::before becomes a bordered box rotated into a chevron. The
   #mobileMenu id is what outranks the theme's own transform rule. */
#mobileMenu .nav-ul-mb .btn-open-sub::after {
    display: none;
}

#mobileMenu .nav-ul-mb .btn-open-sub::before {
    width: 8px;
    height: 8px;
    background-color: transparent;
    border-top: 1.5px solid var(--dark);
    border-right: 1.5px solid var(--dark);
    transform: rotate(45deg);
}

#mobileMenu .nav-ul-mb .mb-sub-toggle:not(.collapsed) .btn-open-sub::before {
    transform: rotate(135deg);
}

#mobileMenu .nav-ul-mb .nav-mb-item.active .btn-open-sub::before {
    border-color: var(--dark);
}

/* RTL: the chevron points the other way, so it is the opposite pair of
   borders and the mirrored rotation. */
html[dir='rtl'] #mobileMenu .nav-ul-mb .btn-open-sub::before {
    border-right: 0;
    border-left: 1.5px solid var(--dark);
    transform: rotate(-45deg);
}

html[dir='rtl'] #mobileMenu .nav-ul-mb .mb-sub-toggle:not(.collapsed) .btn-open-sub::before {
    transform: rotate(-135deg);
}

/* "Language" heads the secondary block, so it carries the weight - and it is
   the last row that reads as a row. */
#mobileMenu .nav-ul-mb .mb-utility-lead .mb-menu-link {
    color: var(--dark);
    font-weight: 700;
}

/* Secondary links are a tight block under the rule, not full rows: no
   hairlines and ~6px between them, with the reference's 15px of breathing
   room under the last one. */
#mobileMenu .nav-ul-mb .mb-utility-item:not(.mb-utility-lead) {
    border-bottom: 0;
}

#mobileMenu .nav-ul-mb .mb-utility-item:not(.mb-utility-lead) .mb-menu-link {
    padding: 8px 10px;
}

#mobileMenu .nav-ul-mb .mb-utility-item:last-child .mb-menu-link {
    padding-bottom: 15px;
}

/* First secondary link sits 15px clear of the Language row above it. */
#mobileMenu .nav-ul-mb .mb-utility-lead + .mb-utility-item .mb-menu-link {
    padding-top: 15px;
}

.langue-burger-container{
    display: flex;
    align-items: center; 
    gap: 10px;
}

.langue-burger-container .item-link{
    direction: ltr;
}
.tf-cart-item td{
    flex-direction: column;
}
.toolbar-label {
    white-space: nowrap;
}

/* Outerwear slider (peek-style swiper, "1 and 1/3" slides visible).
   "Discover more" lives outside the swiper's scroll mechanics entirely - it's an
   overlay panel toggled by JS (.is-visible) only once swiper.isEnd is true, so it
   never has to be dragged/scrolled into view as part of the slide list. */
.outerwear-wrap {
    position: relative;
}

.outerwear-wrap .nav-swiper {
    z-index: 5;
}

.outerwear-slide-inner {
    position: relative;
    overflow: hidden;
    /* Matches the ~1400x800 slide on the original site (~16/9) instead of a
       fixed px height, so it scales with the slide's own (responsive) width
       at every breakpoint instead of needing a separate magic number per
       breakpoint like before. */
    aspect-ratio: 16 / 9;
    min-height: 320px;
    cursor: pointer;
}

.outerwear-picture,
.outerwear-img {
    display: block;
    width: 100%;
    height: 100%;
}

.outerwear-img {
    object-fit: cover;
}

.outerwear-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    padding: 0 32px;
}

.outerwear-title {
    margin: 0;
    color: var(--white);
    font-size: 86px;
    line-height: 1;
    font-weight: 500;
    text-transform: uppercase;
}

.outerwear-btn-bar {
    font-weight: 400;
}

.outerwear-cta-panel {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 16px;
    max-height: 0;
    overflow: hidden;
    padding: 0 24px;
    background-color: var(--white);
    transition: max-height 0.4s ease, opacity 0.4s ease, padding 0.4s ease;
    opacity: 0;
}

.outerwear-cta-panel.is-visible { 
    opacity: 1;
    padding: 24px;
}

.outerwear-cta-title {
    margin: 0;
    font-size: 28px;
    font-weight: 500;
}

.outerwear-cta-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.outerwear-cta-link {
    justify-content: space-between;
}

@media (min-width: 768px) {
    .outerwear-wrap {
        overflow: hidden;
    }

    .outerwear-cta-panel {
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        width: 300px;
        padding: 24px;
        transition: opacity 0.4s ease;
        pointer-events: none;
        z-index: 6;
    }

    .outerwear-cta-panel.is-visible {
        pointer-events: auto;
    }

    /* full height + visibility are forced here (higher specificity than the
       mobile .is-visible rule above) so the panel always spans the slide's
       full height and only ever fades, instead of sliding in like a slide */
    .outerwear-cta-panel,
    .outerwear-cta-panel.is-visible {
        max-height: none;
        overflow: visible;
    }
}

@media (min-width: 1200px) {
    .outerwear-cta-panel {
        width: 360px;
        padding: 40px;
    }
}

@media (max-width: 1200px) {
    .outerwear-title {
        font-size: 42px;
    }
}

@media (max-width: 767px) {
    .outerwear-title {
        font-size: 28px;
    }

    .outerwear-overlay {
        flex-direction: column;
        align-items: flex-start;
        bottom: 20px;
        padding: 0 16px;
        gap: 10px;
    }

    .outerwear-cta-panel {
        display: none;
    }
}

.promo-cta-banner {
    position: relative;
    overflow: hidden;
    height: 90vh;
}

.promo-cta-picture,
.promo-cta-img {
    display: block;
    width: 100%;
    height: auto;
}

.promo-cta-img {
    object-fit: contain;
}

.promo-cta-overlay {
    position: absolute;
    inset-inline-start: 56px;
    bottom: 64px;
    max-width: calc(100% - 80px);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: start;
    gap: 16px;
}

.promo-cta-sub {
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
    font-weight: 500;
}

.promo-cta-title {
    margin: 0;
    color: var(--white);
    font-size: 80px;
    line-height: 1;
    font-weight: 500;
    text-transform: uppercase;
}

.promo-cta-desc {
    margin: 0;
    color: var(--white);
    max-width: 560px;
    font-size: 16px;
}

@media (max-width: 1200px) {
    .promo-cta-title {
        font-size: 56px;
    }
}

@media (max-width: 767px) {
    .promo-cta-banner {
        height: fit-content;
    }

    .promo-cta-overlay {
        inset-inline-start: 24px;
        bottom: 32px;
        max-width: calc(100% - 48px);
    }

    .promo-cta-title {
        font-size: 36px;
    }
}

/* ------------------------------------------------------------------ *
 * Product media videos (gallery main slide, thumbnails, product cards)
 * ------------------------------------------------------------------ */

/* Main gallery video slide — let the video keep its own (natural) aspect ratio */
.tf-product-media-main .product-media-video {
    width: 100%;
    line-height: 0;
}

.tf-product-media-main .product-media-video video {
    width: 100%;
    height: auto;
    display: block;
}

/* Thumbnail video: show the first frame + a small play badge */
.tf-product-media-thumbs .product-thumb-video {
    position: relative;
    width: 100%;
    height: 100%;
}

.tf-product-media-thumbs .product-thumb-video video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.tf-product-media-thumbs .thumb-video-icon {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: rgba(0, 0, 0, 0.45);
    border-radius: 50%;
    pointer-events: none;
}

/* Product card (related / complementary / listings) video */
.card-product-wrapper video.img-product {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    transition-duration: 700ms;
}

/* Video cards have no separate .img-hover, so the theme's hover rule
   (opacity:0 on .img-product) would blank them out. Keep the video visible
   on hover instead. */
.card-product .card-product-wrapper:hover .product-img video.img-product {
    opacity: 1;
    transform: scale(1.05);
}

/* Size Chart drawer (product_usage CK editor HTML). Wider than the theme's
   default .popup-style-1 (340px) - a chart image/table needs the room. */
.popup-size-chart {
    max-width: 480px;
}

.popup-size-chart .canvas-body {
    overflow-y: auto;
}

.ck-content {
    max-width: 100%;
    overflow-x: auto;
}

.ck-content table {
    border-collapse: collapse;
    width: 100%;
}

.ck-content table td,
.ck-content table th {
    border: 1px solid #e0e0e0;
    padding: 8px 10px;
}

.ck-content img {
    max-width: 100%;
    height: auto;
}

/* ============ Our Categories (home page) ============ */
/* The row must start at the SAME left edge as the "Our Categories" heading
   above it. All four numbers below are MEASURED off the rendered page, not
   assumed - an earlier version of this rule modelled `.container` as
   "max-width:1488px, centered, padding-left:15px" and was wrong on every
   count, putting the first card at 255px against the heading's 40px:

     .container   max-width 2200px, padding-inline 40px, margin auto
     heading left 40px  (container is full-width below 2200px, so its
                         left inset is just that 40px padding)
     row padding-inline 24px  (theme's own, on .slider-layout-right)

   So the row's own box has to start 24px EARLIER than the target inset for
   its content to land on it: 40 - 24 = 16px. Above 2200px the container
   starts centering, hence the max() gutter term.

   `100%` (of the full-width parent <section>), never `100vw`: vw includes
   the scrollbar, which is what made the old rule overflow the document by
   15px. Width is the remainder out to the right edge, so the row still
   bleeds flush right - only the left edge moves (per client request: move
   the categories, not the title). Logical `margin-inline-start` so rtl
   mirrors instead of inheriting a hardcoded left.

   `.page-home` prefix (not just `.slider-layout-right`) is required, not
   decorative - custom.css loads BEFORE styles.css (see header.tpl.php), so
   a same-specificity `.slider-layout-right` here would lose the cascade to
   styles.css's own base rule despite coming "after" it in this file. */
@media (min-width: 1300px) {
    .page-home .slider-layout-right {
        margin-inline-start: calc(max(0px, 100% - 2200px) / 2 + 16px);
        width: calc(100% - max(0px, 100% - 2200px) / 2 - 16px);
    }
}

/* ============ Product page layout (template: product-bottom-thumbnail) ============ */
/* Gallery on the left with the thumbnail strip underneath, buy box + side
   accordions on the right. Even 50/50 columns; the media column stays pinned
   while the info column scrolls. */
@media (min-width: 768px) {
    .tf-main-product .container-product-page > .row {
        margin-inline: 0;
    }

    .tf-main-product .product-media-col {
        width: 50%;
        padding-inline-start: clamp(16px, 3vw, 48px);
        padding-inline-end: clamp(12px, 2vw, 32px);
    }

    .tf-main-product .product-info-col {
        width: 50%;
        padding-inline-start: clamp(12px, 2vw, 32px);
        padding-inline-end: clamp(16px, 4vw, 72px);
    }

    /* keep the pinned gallery clear of the viewport edge */
    .product-media-col .tf-product-media-wrap.sticky-top {
        top: 24px;
    }
}

/* Side accordions (description / specifications / reviews) under the buy box. */
.tf-product-side-accordions {
    margin-top: 32px;
}

/* Mobile: small inline breathing room around the single-product section. */
@media (max-width: 767px) {
    .flat-single-product {
        margin-inline: 8px;
    }
}

/* FBT bundle: complementary items with real choices (a variable product, or one
   with multi-valued props) pick them inline, so several selects can sit in one
   item. The theme only ever sized a single select here. */
.tf-product-fbt .tf-bundle-product-item .bundle-variant {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* trimmed down from the theme's full-size select, which dwarfs a bundle row.
   logical padding so the RTL caret (.rtl .tf-select::after) keeps its gutter. */
.tf-product-fbt .tf-bundle-product-item .bundle-variant select {
    padding-block: 5px;
    padding-inline: 12px 28px;
    font-size: 14px;
    line-height: 20px;
}

.tf-product-fbt .tf-bundle-product-item .bundle-sold-out {
    color: var(--rgba-dark);
}

/* Standalone size-chart link, shown only for an outfit - whose variant picker
   (the link's usual home) is hidden. Sits between the product title and the
   bundle, so it needs the vertical rhythm the picker used to provide. */
.tf-product-size-chart-link {
    margin-bottom: 16px;
}

/* Per-row quantity picker, sitting in the same wrapping row as the selects.
   `.wg-quantity.small` is the theme's 30px variant; trimmed a little further
   so a size select + a quantity control still fit one bundle row. */
.tf-product-fbt .bundle-variant .wg-quantity {
    flex: 0 0 auto;
    align-self: center;
}

.tf-product-fbt .bundle-variant .wg-quantity .btn-quantity,
.tf-product-fbt .bundle-variant .wg-quantity .quantity-product {
    width: 28px;
    height: 30px;
}

.tf-product-fbt .bundle-variant .wg-quantity .quantity-product {
    font-size: 13px;
}

/* The theme fades an unticked bundle row to opacity .4 (.item-has-checkbox in
   styles.css). The bundle now opens with nothing ticked, and a whole block of
   washed-out rows reads as "disabled, don't bother" - so keep every row at full
   strength and let the checkbox alone carry the state. Two classes to outrank
   the theme's single-class rule (styles.css loads after this file). */
.tf-product-fbt .item-has-checkbox {
    opacity: 1;
}

/* ============================================================
   Compact premium header (Pini Parma-style proportions)
   -------------------------------------------------------------
   Scales the whole header down - shorter bar, smaller centered
   logo, lighter nav, smaller icons, tighter spacing - and turns
   the bar transparent on every page. All selectors are #header-
   scoped on purpose: styles.css loads AFTER custom.css, so an
   id in the selector is what guarantees these win over the
   theme's equal-specificity .header-default rules.
   ============================================================ */

/* Transparent on every page, not just home. Only while pinned at the
   top; main.js adds .header-bg on scroll, which restores a solid bar
   (white on inner pages, dark on the home overlay). */
#header.header-transparent:not(.header-bg) {
    background-color: transparent;
}

/* Scrolled (sticky) bar: translucent white + backdrop blur rather than a solid
   slab of white, which reads heavy at this small header height. Matches the
   Pini Parma reference, whose own header group is a translucent white over a
   blur. Both selectors are needed: the second (same specificity as the older
   `#header.header-white.header-bg` rule further up, but later in the file) is
   what covers the home overlay; the first covers every other page, beating the
   theme's `header.header-bg`. Opacity is on the BACKGROUND only - an `opacity`
   on the element would fade the logo and nav text with it. */
#header.header-bg,
#header.header-white.header-bg {
    background-color: rgba(255, 255, 255, .9);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

/* Hover-to-fill: while the bar is still transparent (top of the page, not yet
   scrolled), hovering it fills in with the same translucent white as the sticky
   state, so the nav becomes readable without having to scroll. This is what the
   Pini Parma reference does - theirs snaps to fully solid white; we keep the
   lighter .7 + blur to match our own sticky bar. `hover: hover` guards it so it
   can never latch on touch devices. The theme's `transition: .2s ease-out` on
   `header` already animates the fill. */
@media (hover: hover) {
    #header.header-transparent:not(.header-bg):hover {
        background-color: rgba(255, 255, 255, .9);
        -webkit-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px);
    }

    /* The home overlay draws its nav in WHITE for the dark hero behind it. Once
       the bar fills in, white-on-white would disappear, so flip to dark for the
       duration of the hover - same swap `.header-bg` already does on scroll. */
    #header.header-white.header-transparent:not(.header-bg):hover .mobile-menu,
    #header.header-white.header-transparent:not(.header-bg):hover .nav-icon .nav-icon-item,
    #header.header-white.header-transparent:not(.header-bg):hover .box-nav-menu .item-link {
        color: var(--dark);
    }
}

/* No backdrop-filter support -> fall back to a more opaque white so the nav
   never sits unreadable on top of raw page content. */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    #header.header-bg,
    #header.header-white.header-bg {
        background-color: rgba(255, 255, 255, .92);
    }
    @media (hover: hover) {
        #header.header-transparent:not(.header-bg):hover {
            background-color: rgba(255, 255, 255, .92);
        }
    }
}

/* Shorter bar. The theme's real height comes from the 33px top/bottom
   padding on each menu item, so that's the main lever. */
#header .wrapper-header {
    min-height: 54px;
}
#header .box-nav-menu .menu-item {
    padding: 15px 0;
}

/* Lighter, tighter primary navigation */
#header .box-nav-menu {
    gap: 20px;
}
#header .box-nav-menu .item-link {
    font-size: 18px;
    line-height: 1.4;
    letter-spacing: .2px;
}

/* Smaller centered logo (kept short so it never drives the bar height).
   width:auto, NOT a fixed box: the lockup is 720x347, so against any of the
   max-heights here object-fit:contain is always height-bound and a fixed
   232px box just letterboxed ~100px of dead space either side of it. Sizing
   by height only means the box hugs the artwork - same rendered logo, no
   empty column around it, and the bar's height follows one number. */
#header .logo-header img {
    width: auto;
    max-width: 100%;
    max-height: 70px;
    object-fit: contain;
}
/* Scrolled/sticky state shrinks it a touch more, in step with the theme. */
#header.header-bg .logo {
    width: 84px !important;
}
/* On wide screens the unscrolled logo is a lot taller (see the min-width:2560px
   block below), so shrinking all the way down to 84px on scroll reads as too
   drastic a drop - bump the scrolled floor up to match. Same 2560px gate as
   that block; see the note there for why it isn't an inch-derived number. */
@media (min-width: 2560px) {
    #header.header-bg .logo {
        width: 108px !important;
    }
}

/* .box-nav-menu is only shown at xl+ (min-width:1200px), but the bigger
   link text + logo push the nav onto two lines well beyond 1300px -
   measured (headless Chrome, 7 items incl. Gifts/Outfits): the 18px/
   gap:20px desktop styling above wraps as late as 1780px in rtl (Arabic
   "Outfits" needs more room than English) and clears only at ~1850px.
   Below that, drop to smaller (12px) links. Only very wide screens
   (>=1850px) get the bigger look.

   The gap here was measured at 6px (nothing wrapped anywhere down to
   1200px, ltr and rtl); it is 15px by client request, so the ltr nav now
   has ~54px less slack than the measured-safe value - if it ever wraps
   again at the narrow end of this range, the gap is the first lever. */
@media (max-width: 1849px) {
    #header .box-nav-menu {
        gap: 15px;
    }
    #header .box-nav-menu .item-link {
        font-size: 12px;
    }
    #header .logo-header img {
        max-height: 42px;
    }
    /* Arabic "الهدايا"/"الأطقم" run wider than "Gifts"/"Outfits" at the
       same size, so rtl still wraps at the very bottom of this range
       (measured: 1200px) even though ltr already fits. A touch tighter
       just for rtl closes it without shrinking the ltr nav further. */
    html[dir='rtl'] #header .box-nav-menu {
        gap: 2px;
    }
    html[dir='rtl'] #header .box-nav-menu .item-link {
        font-size: 10px;
    }
}

/* Bigger logo on wide screens - the 232x70/42 sizing above still renders
   tiny (the source lockup's natural aspect ratio needs far more height than
   the old 42-70px cap gave it). `max-width:100%` keeps it from ever
   overflowing the col-xl-2 logo column no matter how tall the cap allows it
   to grow. Capped at 88px (not the full lockup's natural size) and paired
   with a taller wrapper-header below - 110px made the bar balloon into a
   tall mostly-empty white strip since the row has no other content that
   tall; this keeps the logo prominent while the bar grows to fit it on
   purpose instead of by accident.

   The gate is 2560px, and deliberately NOT an inch-derived number. The
   client asked for "18 inch and up", but CSS cannot measure physical
   screen size: the 96px-per-inch in `1in = 96px` is a fixed notional unit,
   unrelated to a display's real density, and `min-resolution` only reports
   devicePixelRatio * 96, not DPI. A 15.6" laptop and a 24" monitor both
   report 1920px wide, so no query can separate them. The earlier literal
   conversion (18 * 96 = 1728px) therefore FIRED ON a 15.6" 1920x1080
   laptop - measured there at 166x88 with a 92px bar, which is the
   "way too big" report. 2560px is the nearest usable proxy: it needs a
   27"-class QHD panel, while every 1920-wide display (laptop or 24")
   falls back to the 70px base cap above. */
@media (min-width: 2560px) {
    #header .wrapper-header {
        min-height: 92px;
    }
    #header .logo-header img {
        width: auto;
        max-width: 100%;
        max-height: 88px;
    }
}

/* Smaller right-side icons + tighter gaps */
#header .nav-icon {
    gap: 15px;
}
#header .nav-icon .nav-icon-item {
    font-size: 18px;
}

/* Our Stores / Account / Cart render as small text links on desktop -
   normal weight, small size, not the big icon em-size. */
#header .nav-icon .nav-text {
    font-size: 13px;
    font-weight: 400;
    letter-spacing: .2px;
    line-height: 1;
    white-space: nowrap;
}

/* Cart count bubble sits higher on desktop. There the cart is a TEXT link
   ("Cart", 13px/1) rather than the 18px icon, so the theme's `top:0` +
   `margin-top:3px` lands the bubble in the middle of the word instead of
   above it. Pull it up so it reads as a superscript on the word's top-right.
   Scoped to >=xl on purpose: below that the cart is an icon again and the
   theme's default position is already correct (and matches the wishlist
   bubble sitting next to it). */
@media (min-width: 1200px) {
    #header .nav-cart .nav-icon-item .count-box {
        margin-top: -4px;
    }
}

/* Vertical divider (|) separating the icon group from the text links */
#header .nav-sep {
    align-items: center;
}
#header .nav-divider {
    display: inline-block;
    width: 1px;
    height: 16px;
    background-color: currentColor;
    opacity: .3;
}

/* Keep the AR toggle proportional to the smaller icons */
#header .nav-lang .lang-toggle .lang-toggle-code {
    font-size: 12px;
}

/* On wide screens the AR / Our Stores / Account / Cart row reads too small
   next to the 18px icons beside it - bring the text up to match.

   Gated at 1850px on purpose, NOT 1300px: this is the same breakpoint the
   left-hand nav links use to go 12px -> 18px (see the max-width:1849px
   block above). At 1300px the two sides fell out of step - the right-hand
   text was already 18px while the left links were still 12px, so the
   header read lopsided across the whole 1300-1849px band. Sharing the
   breakpoint means both sides are small together on narrower screens and
   both land on 18px together once there's room. */
@media (min-width: 1850px) {
    #header .nav-icon .nav-text,
    #header .nav-lang .lang-toggle .lang-toggle-code {
        font-size: 18px;
    }
}

/* ---- Tablet / mobile: Account & Cart fall back to icons (markup does
   this via d-xl-none / d-none d-xl-inline); just tighten spacing and
   keep the logo compact and responsive. ---- */
@media (max-width: 1199.98px) {
    #header .nav-icon {
        gap: 13px;
    }
    #header .nav-icon .nav-icon-item {
        font-size: 18px;
    }
    #header .logo-header img {
        width: auto;
    }
}

@media (max-width: 767px) {
    #header .wrapper-header {
        min-height: 50px;
    }
    #header .nav-icon {
        gap: 11px;
    }
    /* !important to beat the global `.logo { width: 100px !important }`
       mobile rule further up this file - without it the box keeps that
       100px width and the letterboxing comes back on phones only. */
    #header .logo-header img {
        width: auto !important;
    }
}

/* ============================================================
   "Shop by Style" welcome popup (home page, every visit)
   -------------------------------------------------------------
   Position is Valeria's own: a panel in the bottom-inline-end
   corner over the hero, no backdrop, the page still visible and
   scrollable behind it.

   The panel itself is drawn like the Pini Parma style selector -
   solid white (not frosted), the question on top, and the styles
   as ONE STACKED COLUMN of outlined buttons rather than side by
   side, which is what made it read as a different component next
   to the reference.
   ============================================================ */

/* Numbers below are MEASURED off piniparma.com's live popup (a Klaviyo form)
   via getComputedStyle at 1440x757 and 1920x757 - identical at both, so the
   panel is a fixed 700px, not a percentage of the viewport:

     wrapper   720 x 344, right: 0,  bottom: 0
     panel     700 x 324, right: 10, bottom: 10
               background rgba(255,255,255,.84), 1px solid #fff, NO shadow
     title     25px / 500, centred, full content width
     buttons   318 x 54, centred, 10px apart, 2px solid border, 20px / 500
     close     20 x 20 at top 8 / right 8

   The 84% white is the point of the whole thing - the hero stays readable
   through the panel. Don't "clean it up" to a solid #fff.

   Width is the one number deliberately NOT copied from the reference: 700px
   left the 318px buttons floating in a lot of empty panel. 460px keeps the
   button/panel proportion tight while staying wider than the buttons. */
.style-popup {
    position: fixed;
    z-index: 1055;
    /* Clears the WhatsApp FAB, which is pinned bottom-right and 60px wide at
       right:20px - 20 + 60 + 12 of breathing room. Kept in a custom property so
       the width calc below stays in sync with whatever this ends up being. */
    --style-popup-inline-end: 92px;
    inset-inline-end: var(--style-popup-inline-end);
    inset-block-end: 10px;
    width: min(460px, calc(100vw - var(--style-popup-inline-end) - 10px));
    opacity: 0;
    transform: translateY(12px);
    transition: opacity .35s ease, transform .35s ease;
}
.style-popup.is-open {
    opacity: 1;
    transform: none;
}

/* In Arabic the panel flips to the inline-start (left) edge while the FAB stays
   on the right (it uses `right`, not a logical property), so there is nothing to
   clear - drop back to the plain 10px margin. */
html[dir='rtl'] .style-popup {
    --style-popup-inline-end: 10px;
}

.style-popup-panel {
    position: relative;
    max-height: calc(100vh - 20px);
    overflow-y: auto;
    padding: 10px;
    background-color: rgba(255, 255, 255, .84);
    border: 1px solid #fff;
    box-shadow: none;
    font-family: var(--poppins-or-cario);
    text-align: center;
}

/* Plain 20x20 (x) tucked into the corner - the reference has no circle
   around it. */
.style-popup-close {
    position: absolute;
    inset-block-start: 8px;
    inset-inline-end: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    padding: 0;
    border: 0;
    /* The theme rounds bare buttons; with no border or background that is
       invisible, but keep it square so a future background doesn't surprise. */
    border-radius: 0;
    background: transparent;
    font-size: 10px;
    line-height: 1;
    color: var(--dark);
    opacity: .55;
    transition: opacity .2s ease;
}
/* The theme has `button .icon { font-size: 22px }`, which outranks inheritance
   from the button - without this the x is drawn far bigger than its 20px box. */
.style-popup-close .icon {
    font-size: 11px;
}

.style-popup-close:hover {
    opacity: 1;
}

/* The panel's only copy - there is no subtitle under it. It carries the whole
   question in the reference, so it has to wrap comfortably over 2-3 lines. */
/* Spans the full content width (the reference wraps it over two lines rather
   than narrowing the column), 25px with no extra tracking. */
.style-popup-title {
    margin: 20px auto;
    max-width: none;
    font-size: 25px;
    font-weight: 500;
    letter-spacing: normal;
    line-height: 1.2;
    text-transform: uppercase;
    color: var(--dark);
}

/* Outlined buttons, one per row - the reference's defining element. They sit
   at ~45% of the panel width and centred, NOT stretched to full width. */
.style-popup-options {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.style-popup-option {
    display: flex;
    align-items: center;
    justify-content: center;
    width: min(318px, 100%);
    min-height: 54px;
    padding: 8px 18px;
    border: 2px solid var(--dark);
    /* Same 84% white as the panel, so it composites over it exactly the way
       the reference does rather than punching a transparent hole. */
    background-color: rgba(255, 255, 255, .84);
    font-size: 20px;
    font-weight: 500;
    letter-spacing: normal;
    line-height: 1.2;
    text-transform: uppercase;
    text-align: center;
    color: var(--dark);
    transition: background-color .25s ease, color .25s ease;
}
.style-popup-option:hover,
.style-popup-option:focus-visible {
    background-color: var(--dark);
    color: var(--white);
}

/* Skip reads as a quiet text link, not a fourth equal choice. */
.style-popup-skip {
    display: block;
    width: 100%;
    margin-block-start: 24px;
    padding: 4px;
    border: 0;
    background: transparent;
    font-size: 12px;
    letter-spacing: .06em;
    text-decoration: underline;
    text-underline-offset: 3px;
    color: var(--dark);
    opacity: .6;
    transition: opacity .2s ease;
}
.style-popup-skip:hover {
    opacity: 1;
}

/* ---- Mobile: full-width sheet along the bottom edge ----
   The reference's 700px panel and 25px/20px type don't fit a phone, so the
   desktop numbers above are scaled down here rather than overflowing. */
@media (max-width: 575.98px) {
    .style-popup {
        inset-inline: 0;
        inset-block-end: 0;
        width: 100%;
        transform: translateY(24px);
    }
    .style-popup-panel {
        padding: 16px 12px;
    }
    .style-popup-title {
        font-size: 17px;
        margin-block: 12px 16px;
    }
    .style-popup-option {
        width: 100%;
        min-height: 48px;
        font-size: 15px;
    }
}

/* Short viewports (landscape phones): the panel scrolls inside itself rather
   than pushing past the screen edges. */
@media (max-height: 520px) {
    .style-popup-panel {
        max-height: calc(100vh - 20px);
    }
    .style-popup-title {
        margin-block: 10px;
        font-size: 18px;
    }
    .style-popup-option {
        min-height: 44px;
        font-size: 16px;
    }
}

/* ============================================================
   Wide screens: stop parking content in a narrow centred column
   -------------------------------------------------------------
   The theme's `.container` caps at 1488px, so on a 1920px+ monitor
   every section sits in the middle with ~200px of dead margin on
   each side. Home and Shop are edge-to-edge layouts (full-bleed
   sliders and banners already break out of the container), so the
   centred column reads as a mistake next to them.

   Scoped to the pages that asked for it via the `page-*` body class
   (set in template/header.tpl.php) - Cart, Checkout, Account etc.
   are forms and genuinely want the narrower measure.
   ============================================================ */

/* `section > .container` on purpose: it targets the page's own sections and
   leaves the shared overlays alone (the search modal and the mini-cart also
   use `.container` but live in footer.tpl.php, outside any <section>).

   The header rides along with whatever page it is on, so the nav always lines up
   with the content under it instead of sitting in a narrower column. It is one
   shared template, hence the per-page selectors - these are separate full page
   loads, so the width simply differs per page rather than shifting in view.
   Pages not listed here (cart, checkout, account, ...) keep the theme's 1488px
   header, which still matches their own narrower content. */

@media (min-width: 1500px) {
    /* Home: much wider measure, but still a measure - the sections are
       image grids and product rows that would look stretched at 100%. */
    .page-home section > .container,
    .page-home header > .container {
        max-width: 1840px;
        padding-inline: 40px;
    }
}

@media (min-width: 1920px) {
    .page-home section > .container,
    .page-home header > .container {
        max-width: 2200px;
    }
}

/* Shop: genuinely full width - sidebar filters on one edge, product
   grid filling the rest, no centred column. */
@media (min-width: 1500px) {
    .page-shop section > .container,
    .page-shop header > .container {
        max-width: 100%;
        padding-inline: 40px;
    }
}

/* Product: `.container-product-page` is already max-width:100vw, so the header
   is the only thing still boxed in - match it. */
@media (min-width: 1500px) {
    .page-product header > .container {
        max-width: 100%;
        padding-inline: 40px;
    }
}

/* ============================================================
   Whish Pay result page (/<lang>/whish/result/...)
   Centered single-column confirmation, shared by the paid and
   the not-paid states.
   ============================================================ */

.whish-result {
    max-width: 560px;
    margin-inline: auto;
    text-align: center;
}

.whish-result-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 20px;
}

.whish-result-title {
    color: var(--dark);
    margin-bottom: 12px;
}

.whish-result-text {
    margin-bottom: 28px;
}

.whish-result-summary {
    list-style: none;
    padding: 20px;
    margin-bottom: 28px;
    border: 1px solid var(--line, #e5e5e5);
    border-radius: 8px;
    text-align: start;
}

.whish-result-summary li {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding-block: 8px;
}

.whish-result-summary li + li {
    border-top: 1px solid var(--line, #e5e5e5);
}

.whish-result-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.whish-result-actions .tf-btn {
    width: 100%;
    max-width: 320px;
}

.whish-result-link {
    text-decoration: underline;
}

/* Footer follows the same rule: full width with modest padding rather
   than the 1400px centred block it used above 992px. */
@media (min-width: 1500px) {
    .footer .container-custom {
        max-width: 100%;
        padding-inline: 90px;
    }
}

/* ============================================================
   Product page: inline-start breathing room
   -------------------------------------------------------------
   `.container-product-page` is max-width:100vw, so the breadcrumb and
   the description accordions (Overview / Size Chart / Specifications /
   Reviews) sat flush against the viewport edge with only the theme's
   15px container padding. Give them the same inline-start inset as the
   rest of the page's content.
   ============================================================ */

.page-product .breadcrumb-wrapper {
    padding-inline-start: 20px;
}

.page-product .wd-product-descriptions {
    padding-inline-start: 20px;
}

@media (min-width: 768px) {
    .page-product .breadcrumb-wrapper {
        padding-inline-start: clamp(20px, 3vw, 56px);
    }

    .page-product .wd-product-descriptions {
        padding-inline-start: clamp(20px, 3vw, 56px);
    }
}

/* ==========================================================================
   Valeria footer - the template's `footer-default` layout (logo + socials,
   contact, about us, link columns, copyright) in the brand
   palette: near-black #131313, cream #ffffff, gold #ffffff.

   Scoped with #footer.bijoule-footer so it wins over the theme's own
   .footer-default / .footer-bg colour rules without !important.
   ========================================================================== */
#footer.bijoule-footer {
    background-color: #131313;
    color: #e8e8e8;
}

#footer.bijoule-footer .footer-logo {
    max-width: 150px;
}

#footer.bijoule-footer .footer-top,
#footer.bijoule-footer .footer-bottom,
#footer.bijoule-footer .row-footer .s1,
#footer.bijoule-footer .row-footer .s2 {
    border-color: rgba(255, 255, 255, 0.22);
}

#footer.bijoule-footer a,
#footer.bijoule-footer .item,
#footer.bijoule-footer .item a,
#footer.bijoule-footer p {
    color: #e8e8e8;
}

#footer.bijoule-footer a:hover,
#footer.bijoule-footer .item a:hover,
#footer.bijoule-footer .footer-menu-list a:hover {
    color: #ffffff;
}

#footer.bijoule-footer .footer-heading {
    color: #ffffff;
    letter-spacing: 0.02em;
}

#footer.bijoule-footer .footer-heading-mobile::before,
#footer.bijoule-footer .footer-heading-mobile::after {
    background-color: #ffffff;
}

/* Contact icons: gold outline, filled gold on hover. */
#footer.bijoule-footer .footer-info .box-icon {
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: #ffffff;
}

#footer.bijoule-footer .footer-info .box-icon i {
    color: inherit;
    font-size: 13px;
}

#footer.bijoule-footer .footer-info .box-icon:hover {
    background-color: #ffffff;
    border-color: #ffffff;
    color: #131313;
}

#footer.bijoule-footer .tf-social-icon .social-item:not(:hover) {
    background-color: transparent;
    border-color: rgba(255, 255, 255, 0.5);
    color: #ffffff;
}

#footer.bijoule-footer .tf-social-icon .social-item:hover {
    background-color: #ffffff;
    border-color: #ffffff;
    color: #131313;
}

#footer.bijoule-footer .btn-line-dark {
    color: #e8e8e8;
}

#footer.bijoule-footer .btn-line-dark::after {
    background-color: #ffffff;
}

#footer.bijoule-footer .btn-line-dark:hover {
    color: #ffffff;
}

#footer.bijoule-footer .footer-credit,
#footer.bijoule-footer .footer-credit a {
    font-size: 13px;
    color: rgba(233, 226, 208, 0.75);
}

#footer.bijoule-footer .footer-credit a:hover {
    color: #ffffff;
}

/* Copyright / credit line: centred on its own now that the payment icons are gone. */
#footer.bijoule-footer .footer-bottom-wrap {
    justify-content: center;
    text-align: center;
}

#footer.bijoule-footer .footer-bottom-wrap .footer-credit {
    margin: 0;
    width: 100%;
    text-align: center;
}

/* About Us blurb. */
#footer.bijoule-footer .footer-about-text {
    max-width: 340px;
    margin: 0;
    font-size: 14px;
    line-height: 1.7;
    color: rgba(233, 226, 208, 0.8);
}

/* On phones the floating WhatsApp button sits over the bottom-right corner, so
   lift the credit line clear of it when the page is scrolled to the end. */
@media (max-width: 767px) {
    #footer.bijoule-footer .footer-bottom-wrap {
        padding-bottom: 76px;
    }
}

/* ==========================================================================
   Valeria loading screen. Near-black like the logo's own background, with the
   gold logo fading in, a light sweep running across the lettering, a soft glow
   that breathes, and a thin gold line sliding underneath.
   `.preload.preload-container` out-ranks the theme's white .preload-container
   (styles.css loads after this file).
   ========================================================================== */
.preload.preload-container.bijoule-preload {
    background: #131313;
    /* Safety net: if scripts never run, don't trap the visitor on this screen. */
    animation: bijoulePreloadFailsafe 0.01s linear 9s forwards;
}

.bijoule-preload-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 26px;
    padding: 0 24px;
}

.bijoule-preload-logo {
    position: relative;
    width: min(120px, 36vw);
    animation: bijoulePreloadIn 0.9s cubic-bezier(0.22, 0.8, 0.28, 1) both,
               bijoulePreloadGlow 2.6s ease-in-out 0.9s infinite;
}

.bijoule-preload-logo img {
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
}

/* The sweep is masked by the logo's own alpha, so light only runs over the letters. */
.bijoule-preload-shine {
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, transparent 35%, rgba(255, 252, 230, 0.95) 50%, transparent 65%);
    background-size: 280% 100%;
    background-position: 130% 0;
    -webkit-mask: url("../img/valeria-footer-logo.png") center / contain no-repeat;
            mask: url("../img/valeria-footer-logo.png") center / contain no-repeat;
    animation: bijoulePreloadShine 2.2s ease-in-out 0.8s infinite;
    pointer-events: none;
}

.bijoule-preload-bar {
    position: relative;
    width: 120px;
    height: 2px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.2);
    overflow: hidden;
    animation: bijoulePreloadBarIn 0.6s ease 0.5s both;
}

.bijoule-preload-bar span {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 45%;
    border-radius: 2px;
    background: linear-gradient(90deg, transparent, #ffffff, transparent);
    animation: bijoulePreloadBar 1.3s ease-in-out infinite;
}

@keyframes bijoulePreloadIn {
    from { opacity: 0; transform: translateY(10px) scale(0.96); }
    to   { opacity: 1; transform: none; }
}

@keyframes bijoulePreloadGlow {
    0%, 100% { filter: drop-shadow(0 0 0 rgba(255, 255, 255, 0)); }
    50%      { filter: drop-shadow(0 0 16px rgba(255, 255, 255, 0.45)); }
}

@keyframes bijoulePreloadShine {
    0%   { background-position: 130% 0; }
    60%, 100% { background-position: -30% 0; }
}

@keyframes bijoulePreloadBarIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes bijoulePreloadBar {
    0%   { transform: translateX(-110%); }
    100% { transform: translateX(260%); }
}

@keyframes bijoulePreloadFailsafe {
    to { opacity: 0; visibility: hidden; pointer-events: none; }
}

@media (prefers-reduced-motion: reduce) {
    .bijoule-preload-logo,
    .bijoule-preload-shine,
    .bijoule-preload-bar span {
        animation: none;
    }
    .bijoule-preload-bar span {
        width: 100%;
        background: rgba(255, 255, 255, 0.6);
    }
}

/* No page scrollbar poking out beside the loading screen. */
html:has(.bijoule-preload) {
    overflow: hidden;
}

/* Page background: white.
   `html body` out-ranks the theme's plain `body` rule, which loads after this file. */
html body {
    background-color: #ffffff;
}

/* The shop's filter sidebar is a white panel by default; on desktop it sits
   inline on the page, so let the cream page background show through. (On
   mobile it is an off-canvas drawer and stays white.) */
@media (min-width: 1200px) {
    .canvas-sidebar.sidebar-filter,
    .canvas-sidebar.sidebar-filter .canvas-body {
        background-color: transparent;
    }
}

/* ==========================================================================
   Product page - "You may also like". Same card design as the template's
   "People Also Bought" section (product-description-side-accordions): rounded
   image, pill sale badge, round hover buttons, medium-weight name, accent-
   coloured price, no category line. Applied to this section, the search popup's "Featured Products" and the /shop
   product grid; the rest of the site deliberately uses squarer cards (see the border-radius: 0
   overrides near the top of this file).
   ========================================================================== */
.product-related-section .card-product .card-product-wrapper,
.page-shop .wrapper-shop .card-product .card-product-wrapper,
.popup-search .featured-product .card-product .card-product-wrapper,
.home-sellers .card-product .card-product-wrapper {
    border-radius: 16px;
}

/* the site-wide `img { object-fit: contain }` letterboxes; the template crops to fill */
.product-related-section .card-product .card-product-wrapper img,
.page-shop .wrapper-shop .card-product .card-product-wrapper img,
.popup-search .featured-product .card-product .card-product-wrapper img,
.home-sellers .card-product .card-product-wrapper img {
    object-fit: cover !important;
}

.product-related-section .card-product .on-sale-item,
.page-shop .wrapper-shop .card-product .on-sale-item,
.popup-search .featured-product .card-product .on-sale-item,
.home-sellers .card-product .on-sale-item {
    border-radius: 22px !important;
}

.product-related-section .card-product .list-product-btn .box-icon,
.page-shop .wrapper-shop .card-product .list-product-btn .box-icon,
.popup-search .featured-product .card-product .list-product-btn .box-icon,
.home-sellers .card-product .list-product-btn .box-icon {
    border-radius: 50% !important;
}

.product-related-section .card-product .name-product,
.page-shop .wrapper-shop .card-product .name-product,
.popup-search .featured-product .card-product .name-product,
.home-sellers .card-product .name-product {
    font-size: 16px !important;
    line-height: 24px !important;
    font-weight: 500 !important;
    color: var(--dark) !important;
}

.product-related-section .card-product .price-wrap .price-new,
.page-shop .wrapper-shop .card-product .price-wrap .price-new,
.popup-search .featured-product .card-product .price-wrap .price-new,
.home-sellers .card-product .price-wrap .price-new {
    color: var(--primary) !important;
}

.product-related-section .card-product .category-name-product-item,
.page-shop .wrapper-shop .card-product .category-name-product-item,
.popup-search .featured-product .card-product .category-name-product-item,
.home-sellers .card-product .category-name-product-item {
    display: none;
}

/* ==========================================================================
   Contact Us page. Template layout (title bar, maps, details + socials) with
   shorter maps - the theme's are 589px tall - and an image panel standing in
   for the template's "Get In Touch" form column. One map per branch.
   ========================================================================== */
.s-contact .wg-map {
    margin-bottom: 56px;
}

.s-contact .wg-map .map {
    height: 320px;
}

/* Icon badge before each contact detail (address, phone, WhatsApp, email). */
.s-contact .contact-list li p {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.s-contact .contact-list .contact-icon {
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #131313;
    color: #ffffff;
    font-size: 14px;
}

.s-contact .contact-list .contact-text {
    padding-top: 6px;
}

.s-contact .contact-image {
    height: 100%;
    min-height: 360px;
    padding: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: #131313;
    border: 1px solid rgba(255, 255, 255, 0.35);
}

.s-contact .contact-image img {
    display: block;
    width: min(300px, 80%);
    height: auto;
}

@media (max-width: 767px) {
    .s-contact .wg-map .map {
        height: 260px;
    }

    .s-contact .contact-image {
        min-height: 260px;
    }
}

/* Page-title breadcrumb: the title band is near-black here, but the theme colours
   the current crumb dark, which made it invisible. */
.tf-page-title .breadcrumb-list .breadcrumb-item {
    color: rgba(255, 255, 255, 0.75);
}

.tf-page-title .breadcrumb-list .breadcrumb-item.current {
    color: #fff;
}

.tf-page-title .breadcrumb-list a.breadcrumb-item:hover {
    color: #ffffff;
}

/* ==========================================================================
   Shop - category cards (the template's "Sub Collection" carousel from
   product-style-02). Replaces the old plain heading + subcategory links.
   ========================================================================== */
.shop-category-cards {
    padding: 28px 0 8px;
}

/* square tiles like the template's Sub Collection (its photos are 1:1); ours are 4:5, so crop */
.shop-category-cards .wg-cls .image {
    aspect-ratio: 1 / 1;
}

.shop-category-cards .wg-cls .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* when the cards are a leaf category's siblings, mark the one being viewed */
.shop-category-cards .wg-cls.is-current .cls-content .link {
    text-decoration: underline;
    text-underline-offset: 5px;
}

/* Shop pagination: the template's round buttons (theme .wg-pagination). */
.shop-wg-pagination {
    margin-top: 40px;
    flex-wrap: wrap;
}

/* the "previous" button reuses the right arrow, mirrored */
.shop-wg-pagination .pagination-prev-arrow i {
    display: inline-block;
    transform: scaleX(-1);
}

/* "..." between page numbers: plain text, not a button */
.shop-wg-pagination .pagination-dots {
    border-color: transparent;
    pointer-events: none;
}

/* ==========================================================================
   Header - announcement marquee on top, then the bar: logo left, menu centred,
   icons right (search / account / wishlist / cart). Brand-dark bar so the gold
   logo reads properly (it is designed for a dark ground), gold announcement
   strip above it. Opaque on every page, home included (the hero is sized below
   it). Scoped to #header.header-bijoule so it beats the older transparent-header
   rules above.
   ========================================================================== */
.tf-topbar.bijoule-topbar {
    background: #ffffff !important;
    border-bottom: 0;
    padding: 8px 0;
    overflow: hidden;
}

.tf-topbar.bijoule-topbar .marquee-child-item p {
    color: #131313;
    font-size: 12px;
    letter-spacing: .6px;
}

.tf-topbar.bijoule-topbar .marquee-child-item .dot {
    background-color: #131313;
}

#header.header-bijoule,
#header.header-bijoule.header-bg {
    background-color: #131313;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    border-bottom: 1px solid rgba(255, 255, 255, .18);
}

#header.header-bijoule .wrapper-header {
    min-height: 112px;
}

#header.header-bijoule .box-nav-menu {
    justify-content: center;
    gap: 38px;
}

#header.header-bijoule .box-nav-menu .menu-item {
    padding: 0;
}

#header.header-bijoule .box-nav-menu .item-link {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: #ffffff;
    padding: 6px 0;
}

#header.header-bijoule .box-nav-menu .item-link:hover {
    color: #ffffff;
}

#header.header-bijoule .logo-header img.logo {
    width: auto !important;
    max-width: 100%;
    height: 94px;
    max-height: 94px;
    object-fit: contain;
    display: block;
    padding: 0;
}

#header.header-bijoule.header-bg .wrapper-header {
    min-height: 84px;
}

#header.header-bijoule.header-bg .logo-header img.logo {
    height: 68px;
    max-height: 68px;
}

#header.header-bijoule .nav-icon {
    gap: 24px;
}

#header.header-bijoule .nav-icon .nav-icon-item,
#header.header-bijoule .mobile-menu {
    font-size: 22px;
    color: #ffffff;
}

#header.header-bijoule .nav-icon .nav-icon-item:hover {
    color: #ffffff;
}

#header.header-bijoule .nav-icon .count-box {
    background-color: #ffffff;
    color: #131313;
}

@media (min-width: 1200px) {
    #header.header-bijoule .wrapper-header > .header-logo-col {
        flex: 0 0 25%;
        max-width: 25%;
        width: 25%;
        display: flex;
        justify-content: flex-start;
    }

    #header.header-bijoule .wrapper-header > .header-nav-col {
        flex: 0 0 50%;
        max-width: 50%;
        width: 50%;
    }

    #header.header-bijoule .wrapper-header > div:has(.nav-icon) {
        flex: 0 0 25%;
        max-width: 25%;
        width: 25%;
    }
}

@media (max-width: 1199.98px) {
    #header.header-bijoule .wrapper-header,
    #header.header-bijoule.header-bg .wrapper-header {
        min-height: 76px;
    }

    #header.header-bijoule .logo-header img.logo,
    #header.header-bijoule.header-bg .logo-header img.logo {
        height: 60px;
        max-height: 60px;
    }

    #header.header-bijoule .wrapper-header > .header-logo-col {
        text-align: center;
    }

    #header.header-bijoule .logo-header {
        display: flex;
        justify-content: center;
    }

    #header.header-bijoule .nav-icon {
        gap: 16px;
    }
}

/* Search popup: let the whole popup scroll vertically so the featured product
   cards (image, price, swatches) are never cut off on short screens. The
   dialog had overflow:hidden (to keep the carousel arrows from adding a
   horizontal scrollbar), so only x stays clipped. */
.popup-search .modal-dialog.modal-fullscreen {
    overflow-x: hidden !important;
    overflow-y: auto !important;
}

.popup-search .modal-content {
    height: auto !important;
    min-height: 100%;
}


/* Home hero slider (the template's home-sportwear slider). Dark brand ground
   behind each slide so the white copy stays readable when a slide has no image
   (or its image fails to load); the photo covers it when present. */
.slider-sportwear .slider-wrap {
    background: linear-gradient(135deg, #131313 0%, #1f1f1f 55%, #3a3a3a 100%);
}

/* The sportwear slider centres its copy vertically (the theme default), unlike the
   old bottom-anchored hero above. Higher specificity than the .slider-fashion-1
   rules so only this slider is affected. */
.slider-sportwear.slider-fashion-1.slider-default .box-content {
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
    pointer-events: auto;
}

@media (min-width: 1300px) {
    .slider-sportwear.slider-fashion-1.slider-default .box-content > .container {
        max-width: 1488px;
        padding-inline-start: 15px;
    }
}

@media (max-width: 767px) {
    .slider-sportwear.slider-fashion-1.slider-default .box-content {
        bottom: auto;
    }
}

/* Home hero = the template's home-handcraft slider (.slider-style-3): rounded
   slides peeking in from the sides. Slides use the template's proportions
   (about 2.05:1 on desktop - 1115x545 at 1500px wide) so they size without a
   fixed height, and carry the dark brand gradient behind the photo for any
   slide whose image is missing. Copy is white (our photos are dark, the
   template's are light) on a soft left-to-right shade; the CTA is a gold pill. */
.slider-style-3 .slider-wrap {
    position: relative;
    aspect-ratio: 2.05 / 1;
    background: linear-gradient(135deg, #131313 0%, #1f1f1f 55%, #3a3a3a 100%);
}

.slider-style-3 .slider-wrap .image,
.slider-style-3 .slider-wrap .hero-picture {
    display: block;
    height: 100%;
}

.slider-style-3 .slider-wrap.has-copy::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, .25) 45%, rgba(0, 0, 0, 0) 75%);
    pointer-events: none;
}

.slider-style-3 .slider-wrap .box-content {
    z-index: 2;
}

.slider-style-3 .box-title-slider .sub {
    color: #ffffff;
    letter-spacing: .12em;
}

.slider-style-3 .box-title-slider .heading {
    color: #fff;
    text-shadow: 0 1px 14px rgba(0, 0, 0, .3);
}

.slider-style-3 .hero-cta {
    background-color: #ffffff;
    color: #131313;
    border-radius: 100px;
}

.slider-style-3 .hero-cta:hover {
    background-color: #e9e9e9;
    color: #131313;
}

@media (max-width: 767px) {
    .slider-style-3 .slider-wrap {
        aspect-ratio: 39 / 40;
    }
}

/* Home categories (the template's home-bicycle "Category" cards): the white
   label on each card is a round pill there, while buttons elsewhere on this
   site are deliberately squarer. */
.wg-cls.style-abs.type-2 .tf-btn.btn-cls {
    border-radius: 100px;
}

/* Home promo grid (the template's home-mega-electronic banners). The third banner
   is the dark brand variant, so its copy flips to light. */
.grid-mega .promo-dark .box-title h6,
.grid-mega .promo-dark .box-title p {
    color: #ffffff;
}

.grid-mega .promo-dark .tf-btn.btn-white {
    color: #131313;
}

/* Banners are cropped to the card (object-fit: cover): on narrow cards keep the
   photo side in view and let the plain gradient on the left be what gets cut. */
.grid-mega .s-cls.abs-left-center .image img {
    object-position: right center;
}

.grid-mega .item1 .content h4 {
    max-width: 340px;
}

/* Phones: the cards are nearly square, so instead of cropping the banner (which
   pushes the photo under the copy) show it whole on the right and let the card's
   own colour fill the rest. */
@media (max-width: 575.98px) {
    .grid-mega .item1 { background: linear-gradient(135deg, #fafafa 0%, #efefef 50%, #dedede 100%); }
    .grid-mega .item2 { background: linear-gradient(135deg, #f6f1e6 0%, #ece3cf 50%, #dccfae 100%); }
    .grid-mega .item3 { background: linear-gradient(135deg, #131313 0%, #201b11 50%, #3b3118 100%); }

    .grid-mega .s-cls.abs-left-center .image img {
        object-fit: contain;
        object-position: right center;
    }
}

/* "Our Categories" sits directly under the hero slider now; give the slider's
   pagination dots some air above the heading. */
.home-categories {
    padding-top: 48px;
}

/* Outerwear slider redesign: rounded slides with a soft bottom shade for the
   copy, a lighter title, and a pill button (no more hairline-bordered boxes,
   no '|' bar). */
.outerwear-slide-inner {
    border-radius: 24px;
    background: linear-gradient(135deg, #131313 0%, #1f1f1f 55%, #3a3a3a 100%);
}

.outerwear-slide-inner::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, .55) 100%);
    pointer-events: none;
}

.outerwear-img {
    border: 0;
}

.outerwear-overlay {
    z-index: 2;
    bottom: 36px;
    padding: 0 40px;
}

.outerwear-title {
    font-size: 64px;
    font-weight: 500;
    letter-spacing: .02em;
    text-shadow: 0 2px 18px rgba(0, 0, 0, .35);
}

.outerwear-overlay .tf-btn.btn-white.outerwear-btn {
    background-color: #ffffff;
    color: #131313;
    border: 0;
    border-radius: 100px;
    padding: 14px 28px;
    gap: 10px;
    font-weight: 500;
}

.outerwear-overlay .tf-btn.btn-white.outerwear-btn:hover {
    background-color: #e9e9e9;
    color: #131313;
}

.outerwear-overlay .tf-btn.btn-white.outerwear-btn .outerwear-btn-bar {
    display: none;
}

@media (max-width: 1200px) {
    .outerwear-title { font-size: 38px; }
}

@media (max-width: 767px) {
    .outerwear-slide-inner { border-radius: 18px; }
    .outerwear-title { font-size: 26px; }
    .outerwear-overlay { padding: 0 18px; bottom: 20px; }
    .outerwear-overlay .tf-btn.btn-white.outerwear-btn { padding: 10px 20px; }
}

/* Header "Collections" mega menu, laid out like the template's .mega-product panel:
   spans the header with a 100px inset each side (left/right, centred on the page),
   32px 104px 60px padding, 16px radius, columns left-aligned inside it. Our version
   has no product slider, so the category lists take the whole width in 5 columns. */
.box-nav-menu .mega-product.mega-all-categories {
    left: 100px;
    right: 100px;
    width: auto;
    max-width: none;
    padding: 32px 104px 60px;
    border-radius: 16px;
    display: block;
}

.box-nav-menu .mega-product.mega-all-categories .wrapper-sub-menu {
    width: 100%;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 36px 28px;
    align-items: start;
    justify-items: stretch;
    text-align: left;
}

html[dir='rtl'] .box-nav-menu .mega-product.mega-all-categories .wrapper-sub-menu {
    text-align: right;
}

.box-nav-menu .mega-all-categories .mega-cat-group + .mega-cat-group {
    margin-top: 28px;
}

.box-nav-menu .mega-all-categories .menu-heading a {
    color: inherit;
}

.box-nav-menu .mega-all-categories .menu-heading a:hover {
    color: #b8975a;
}

#header.header-bijoule .box-nav-menu .item-link .icon-arr-down {
    color: currentColor;
    font-size: 10px;
    margin-inline-start: 6px;
}

/* Main categories fill a 5-column grid, one category per cell, so they wrap into two
   rows whose headings line up across the columns (the second row starts level). */

/* ==========================================================================
   Mobile bottom tab bar - app style. A floating, rounded dark bar in the brand
   colours (matches the header/footer), cream icons + labels, the current tab in
   gold with a small indicator, gold cart badge. The icons are inline SVGs with
   hard-coded black/grey fills, so they are recoloured through currentColor.
   ========================================================================== */
@media (max-width: 1199.98px) {
    body .tf-toolbar-bottom {
        left: 12px;
        right: 12px;
        bottom: calc(12px + env(safe-area-inset-bottom, 0px));
        padding: 8px 6px;
        border: 1px solid rgba(255, 255, 255, .2) !important;
        border-radius: 26px !important;
        background: rgba(19, 19, 19, .94) !important;
        -webkit-backdrop-filter: blur(14px);
        backdrop-filter: blur(14px);
        box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
    }

    .tf-toolbar-bottom .toolbar-item {
        flex: 1 1 0;
        min-width: 0;
    }

    .tf-toolbar-bottom .toolbar-item a {
        position: relative;
        gap: 3px;
        padding: 6px 2px 4px;
        color: #bdb6a4;
        border-radius: 18px;
        transition: color .2s ease, background-color .2s ease;
        -webkit-tap-highlight-color: transparent;
    }

    .tf-toolbar-bottom .toolbar-item a .toolbar-icon {
        width: 24px;
        height: 24px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: inherit;
    }

    .tf-toolbar-bottom .toolbar-item a .toolbar-icon svg {
        width: 22px;
        height: 22px;
    }

    .tf-toolbar-bottom .toolbar-item a .toolbar-icon svg path {
        fill: currentColor;
    }

    .tf-toolbar-bottom .toolbar-item a .toolbar-icon i {
        font-size: 19px !important;
        color: inherit;
    }

    .tf-toolbar-bottom .toolbar-item a .toolbar-label {
        font-size: 10.5px;
        font-weight: 500;
        line-height: 14px;
        letter-spacing: .2px;
        color: inherit;
    }

    .tf-toolbar-bottom .toolbar-item.is-active a {
        color: #ffffff;
        background-color: rgba(255, 255, 255, .12);
    }

    .tf-toolbar-bottom .toolbar-item.is-active a::before {
        content: '';
        position: absolute;
        top: 0;
        left: 50%;
        width: 18px;
        height: 3px;
        margin-left: -9px;
        border-radius: 0 0 3px 3px;
        background: #ffffff;
    }

    .tf-toolbar-bottom .toolbar-item a:active {
        background-color: rgba(255, 255, 255, .18);
    }

    .tf-toolbar-bottom .toolbar-item a .toolbar-count {
        top: -5px;
        right: -8px;
        width: 17px;
        height: 17px;
        background-color: #ffffff;
        color: #131313;
        border: 2px solid #131313;
        box-sizing: content-box;
        font-size: 10px;
        font-weight: 600;
    }

    /* keep page content and the WhatsApp button clear of the floating bar */
    .xl-pb-70 {
        padding-bottom: 96px;
    }

    .whatsapp-float {
        bottom: 98px !important;
    }
}

/* Footer "Have a Question?" starts expanded on phones (the other footer
   sections stay collapsed). It still toggles like the rest. */
@media (max-width: 575.98px) {
    #footer .footer-col-block.s1.open .tf-collapse-content {
        display: block;
    }
}

/* Mobile drawer, as the template: "+" / "-" on expandable rows (not a chevron),
   compact 45px rows, and the Wishlist / Login buttons pinned at the bottom
   while the list scrolls above them. Later in the file than the chevron rules
   above, same #mobileMenu specificity, so these win. */
#mobileMenu .nav-ul-mb .btn-open-sub {
    position: relative;
    display: block;
    width: 14px;
    height: 14px;
}

#mobileMenu .nav-ul-mb .btn-open-sub::before,
#mobileMenu .nav-ul-mb .btn-open-sub::after {
    content: '';
    display: block;
    position: absolute;
    background-color: var(--dark);
    border: 0;
    transition: transform .25s ease;
}

#mobileMenu .nav-ul-mb .btn-open-sub::after {
    top: 50%;
    left: 0;
    width: 14px;
    height: 1.5px;
    margin-top: -.75px;
    transform: none;
}

#mobileMenu .nav-ul-mb .btn-open-sub::before {
    left: 50%;
    top: 0;
    width: 1.5px;
    height: 14px;
    margin-left: -.75px;
    transform: none;
}

#mobileMenu .nav-ul-mb .mb-sub-toggle:not(.collapsed) .btn-open-sub::before {
    transform: rotate(90deg);
}

html[dir='rtl'] #mobileMenu .nav-ul-mb .btn-open-sub::before {
    border: 0;
    transform: none;
}

html[dir='rtl'] #mobileMenu .nav-ul-mb .mb-sub-toggle:not(.collapsed) .btn-open-sub::before {
    transform: rotate(90deg);
}

#mobileMenu .nav-ul-mb .mb-menu-link {
    padding: 13px 20px;
    font-weight: 500;
}

#mobileMenu .nav-ul-mb .mb-sub-toggle {
    padding: 13px 20px;
}

#mobileMenu .mb-body {
    display: flex;
    flex-direction: column;
}

#mobileMenu .mb-content-top {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
}

#mobileMenu .mb-other-content {
    flex: 0 0 auto;
    padding: 16px 20px calc(16px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid #e9e9e8;
    background: #fff;
}

#mobileMenu .mb-other-content .group-icon {
    display: flex;
    gap: 10px;
}

#mobileMenu .mb-other-content .site-nav-icon {
    flex: 1 1 0;
    justify-content: center;
    min-height: 44px;
    padding: 0 12px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 8px;
    border: 0;
    background-color: #f1eee8;
    color: #131313;
}

#mobileMenu .mb-other-content .site-nav-icon:hover {
    background-color: #131313;
    color: #ffffff;
}

#mobileMenu .nav-ul-mb .mb-utility-item .mb-menu-link {
    padding-inline: 20px;
}

/* Outerwear slider on phones: show the WHOLE 16:9 photo (it was forced to a
   320px-tall box, which cropped the sides) and put the title + button in a
   dark caption under it instead of over the picture. */
@media (max-width: 767px) {
    .outerwear-slide-inner {
        aspect-ratio: auto;
        min-height: 0;
        display: flex;
        flex-direction: column;
        background: #131313;
    }

    .outerwear-slide-inner::after {
        display: none;
    }

    .outerwear-slide-inner .outerwear-picture {
        aspect-ratio: 16 / 9;
        height: auto;
        flex: 0 0 auto;
    }

    .outerwear-slide-inner .outerwear-img {
        height: 100%;
    }

    .outerwear-slide-inner .outerwear-overlay {
        position: static;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        flex-wrap: nowrap;
        gap: 12px;
        padding: 14px 16px;
    }

    .outerwear-title {
        font-size: 20px;
        letter-spacing: .04em;
    }

    .outerwear-overlay .tf-btn.btn-white.outerwear-btn {
        padding: 9px 16px;
        font-size: 13px;
        white-space: nowrap;
    }
}

/* ==========================================================================
   Home page scroll-triggered animation (see template/assets/js/scroll-anim.js).
   Everything is gated on html.sa-ready, which the script adds, so without JS (or
   with reduced motion) nothing is hidden or moved.
   ========================================================================== */
html.sa-ready .sa-reveal {
    opacity: 0;
    transform: translate3d(0, 48px, 0);
    transition: opacity .9s cubic-bezier(.2, .7, .2, 1), transform .9s cubic-bezier(.2, .7, .2, 1);
    will-change: opacity, transform;
}

html.sa-ready .sa-reveal.sa-in {
    opacity: 1;
    transform: none;
}

/* scroll-linked growth: --sa-p goes 0 -> 1 as the block rises into the screen */
html.sa-ready .sa-scale {
    transform: scale(calc(.92 + .08 * var(--sa-p, 1)));
    opacity: calc(.35 + .65 * var(--sa-p, 1));
    transform-origin: 50% 0;
    will-change: transform, opacity;
}

/* parallax photo: drifts against the scroll inside its clipped frame (>= tablet,
   where the slide is a fixed 16:9 box; on phones the photo is shown whole) */
@media (min-width: 768px) {
    html.sa-ready .sa-parallax {
        overflow: hidden;
    }

    html.sa-ready .sa-parallax img {
        transform: translate3d(0, calc((var(--sa-pp, .5) - .5) * -90px), 0) scale(1.18);
        will-change: transform;
    }
}

/* hero slider shrinks and softens as it scrolls away (--sa-h: 0 -> 1) */
html.sa-ready .sa-hero {
    transform: scale(calc(1 - .06 * var(--sa-h, 0)));
    opacity: calc(1 - .45 * var(--sa-h, 0));
    transform-origin: 50% 0;
    will-change: transform, opacity;
}

/* Product page on mobile/tablet: no bottom tab bar (the sticky add-to-cart bar owns
   the bottom edge there), so that bar drops to the screen edge and the page / WhatsApp
   button no longer reserve room for the tab bar. Desktop is unaffected. */
@media (max-width: 1199.98px) {
    body.page-product .tf-toolbar-bottom {
        display: none !important;
    }

    body.page-product .tf-sticky-btn-atc {
        bottom: 0;
    }

    body.page-product .xl-pb-70 {
        padding-bottom: 130px;
    }

    body.page-product .whatsapp-float {
        bottom: 135px !important;
    }
}

/* Cart icon + count badge: dark ink on the white header, white on the dark mobile tab bar. */
#header.header-bijoule .nav-cart .nav-icon-item {
    color: #131313 !important;
}
.tf-toolbar-bottom .toolbar-item:last-child a,
.tf-toolbar-bottom .toolbar-item:last-child a .toolbar-label {
    color: #ffffff !important;
}

#header.header-bijoule .nav-icon .count-box {
    background-color: #131313 !important;
    color: #ffffff !important;
}
.tf-toolbar-bottom .toolbar-item a .toolbar-count {
    background-color: #ffffff !important;
    color: #131313 !important;
}
body .tf-toolbar-bottom .toolbar-item a .toolbar-count {
    border-color: #131313;
}

/* Desktop: only the strip above the header; the copy under it is phones-only. */
@media (min-width: 769px) {
    .tf-topbar.bijoule-topbar--below {
        display: none !important;
    }
}

/* Announcement strip scrolls faster (theme default is 30s per loop). */
.tf-topbar.bijoule-topbar .marquee-wrapper {
    animation-duration: 25s;
}

/* Promo grid on phones: keep the copy in the left half of the card (the product photo
   fills the right half), let headings wrap, and size the type to fit. */
@media (max-width: 575.98px) {
    .grid-mega .s-cls .content {
        width: 52%;
        right: auto;
        gap: 14px;
    }

    .grid-mega .item1 .content h4,
    .grid-mega .s-cls .content h6 {
        max-width: none;
        font-size: 21px;
        line-height: 1.25;
    }

    .grid-mega .s-cls .content .text-md {
        font-size: 13px;
        line-height: 1.4;
    }

    .grid-mega .item1 .content .display-md {
        font-size: 26px;
    }

    .grid-mega .s-cls .content .tf-btn {
        padding: 10px 18px;
        font-size: 13px;
        white-space: nowrap;
    }
}

/* Keep the sticky header pinned from the very first pixel of scroll. main.js sets an inline
   `top: unset` until the page has scrolled past the header height, which turns sticky off
   and lets the bar slide up (leaving a gap) before it snaps back to the top. */
body #header,
body header#header {
    top: 0 !important;
}

/* iOS Safari: a hairline of page background can show above the sticky header (sub-pixel viewport
   offset while the toolbar collapses). Paint the overscroll area dark and extend the bar upward
   with a same-colour shadow so nothing light is ever visible above it. */
html {
    background-color: #131313;
}
body #header.header-bijoule {
    box-shadow: 0 -6px 0 #131313;
}


/* ==========================================================================
   Minimal header (Pull&Bear-style): thin two-line menu button on the start
   edge, centred logo, and on the end edge an underlined "Search" field plus
   account / wishlist / cart. White bar, dark ink. The desktop mega-nav is
   hidden (its links live in the #mobileMenu drawer). Declared last, with the
   same #header.header-bijoule selectors as the dark-bar rules above, so it wins.
   ========================================================================== */
#header.header-bijoule,
#header.header-bijoule.header-bg {
    background-color: #fff;
    border-bottom: 1px solid rgba(19, 19, 19, .08);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}

#header.header-bijoule .wrapper-header,
#header.header-bijoule.header-bg .wrapper-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    min-height: 112px;
    margin: 0;
}

#header.header-bijoule .wrapper-header > .header-nav-col {
    display: none !important;
}

#header.header-bijoule .wrapper-header > div {
    width: auto;
    max-width: none;
    flex: none;
    padding-left: 0;
    padding-right: 0;
}

#header.header-bijoule .wrapper-header > .header-burger-col {
    justify-self: start;
    display: flex;
}

#header.header-bijoule .wrapper-header > .header-logo-col {
    justify-self: center;
    text-align: center;
}

#header.header-bijoule .wrapper-header > div:has(.nav-icon) {
    justify-self: end;
}

/* Centred logo, kept compact like the reference. */
#header.header-bijoule .logo-header {
    display: flex;
    justify-content: center;
}
#header.header-bijoule .logo-header img.logo,
#header.header-bijoule.header-bg .logo-header img.logo {
    height: 86px;
    max-height: 86px;
    width: auto !important;
    max-width: none !important;
    object-fit: contain;
}

/* Burger: three bars of different lengths in a round outlined button; the short
   bars grow to full length on hover. */
#header.header-bijoule .header-burger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 1px solid #131313;
    border-radius: 50%;
    color: #131313;
    transition: background-color .2s ease;
}
.hamburger-lines {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    width: 20px;
}
.hamburger-lines span {
    display: block;
    height: 2px;
    border-radius: 2px;
    background: #131313;
    transition: width .25s ease, background-color .2s ease;
}
.hamburger-lines span:nth-child(1) { width: 20px; }
.hamburger-lines span:nth-child(2) { width: 14px; }
.hamburger-lines span:nth-child(3) { width: 17px; }
#header.header-bijoule .header-burger:hover {
    background-color: #131313;
}
#header.header-bijoule .header-burger:hover .hamburger-lines span {
    width: 20px;
    background: #fff;
}

/* Icons: dark ink, no gold */
#header.header-bijoule .nav-icon {
    gap: 22px;
}
#header.header-bijoule .nav-icon .nav-icon-item {
    font-size: 22px;
    color: #131313;
}
#header.header-bijoule .nav-icon .nav-icon-item:hover {
    color: #5f5a52;
}
#header.header-bijoule .nav-icon .count-box {
    background-color: #131313;
    color: #fff;
}

/* Underlined "Search" field (opens the search popup) */
#header.header-bijoule .header-search-field {
    display: block;
    width: 190px;
    padding: 4px 0;
    border-bottom: 1px solid #131313;
    color: #131313;
    font-size: 14px;
    line-height: 1.4;
}
#header.header-bijoule .header-search-field:hover {
    color: #5f5a52;
    border-bottom-color: #5f5a52;
}

/* Account is hidden below lg in the markup; keep it visible so the right side
   matches the reference (search, account, bag) on every size. */
#header.header-bijoule .nav-account {
    display: flex !important;
}

@media (max-width: 767.98px) {
    #header.header-bijoule .wrapper-header,
    #header.header-bijoule.header-bg .wrapper-header {
        min-height: 84px;
    }
    #header.header-bijoule .logo-header img.logo,
    #header.header-bijoule.header-bg .logo-header img.logo {
        height: 64px;
        max-height: 64px;
    }
    #header.header-bijoule .nav-icon {
        gap: 14px;
    }
    #header.header-bijoule .nav-icon .nav-icon-item {
        font-size: 20px;
    }
}


/* ==========================================================================
   Search popup - "Featured Products" as a clean row of product images
   (Pull&Bear-style): plain white ground, no tinted card backgrounds, no
   rounded corners, no discount pill or hover buttons, whole garment visible
   (contain, not cropped), with a small quiet name + price underneath.
   Six across on desktop (see the swiper breakpoints in footer.tpl.php).
   ========================================================================== */
.popup-search .featured-product-heading {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: .12em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.popup-search .featured-product .card-product .card-product-wrapper {
    background: #fff !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.popup-search .featured-product .card-product .card-product-wrapper img {
    object-fit: contain !important;
    background: #fff !important;
}

.popup-search .featured-product .card-product .on-sale-item,
.popup-search .featured-product .card-product .list-product-btn,
.popup-search .featured-product .card-product .category-name-product-item {
    display: none !important;
}

.popup-search .featured-product .card-product .card-product-info {
    padding-top: 10px;
    text-align: center;
}

.popup-search .featured-product .card-product .name-product {
    font-size: 13px !important;
    line-height: 18px !important;
    font-weight: 400 !important;
}

.popup-search .featured-product .card-product .price-wrap,
.popup-search .featured-product .card-product .price-wrap .price-new,
.popup-search .featured-product .card-product .price-wrap .price-old {
    font-size: 12px !important;
    justify-content: center;
}

.popup-search .featured-product .card-product .price-wrap .price-new {
    color: #131313 !important;
}


/* ==========================================================================
   Drawer menu - Woman / Man switcher with headed columns (Pull&Bear-style).
   Plain text only: no images, no highlights column. Desktop: switcher on the
   start edge, four columns of links beside it. Phones: switcher as a row of
   tabs, sections stacked.
   ========================================================================== */
#mobileMenu .mb-gender-menu {
    display: block;
    padding: 28px 24px 8px;
    border: 0;
}

#mobileMenu .mb-gender-tabs {
    list-style: none;
    margin: 0 0 22px;
    padding: 0;
    display: flex;
    gap: 28px;
}

#mobileMenu .mb-gender-tab {
    padding: 0 0 4px;
    border: 0;
    border-bottom: 2px solid transparent;
    background: none;
    color: #131313;
    font-size: 18px;
    font-weight: 400;
    letter-spacing: .02em;
    text-transform: uppercase;
    cursor: pointer;
}
#mobileMenu .mb-gender-tab.active {
    font-weight: 700;
    border-bottom-color: #131313;
}

#mobileMenu .mb-sections {
    display: grid;
    grid-template-columns: 1fr;
    gap: 26px;
}

#mobileMenu .mb-section-title {
    display: block;
    margin-bottom: 14px;
    color: #131313;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

#mobileMenu .mb-section-links {
    list-style: none;
    margin: 0;
    padding: 0;
}
#mobileMenu .mb-section-links li {
    margin: 0 0 12px;
    padding: 0;
    border: 0;
}
#mobileMenu .mb-section-links a {
    color: #131313;
    font-size: 15px;
    line-height: 1.35;
}
#mobileMenu .mb-section-links a:hover,
#mobileMenu .mb-section-links a.active {
    text-decoration: underline;
    text-underline-offset: 3px;
}

@media (min-width: 768px) {
    #mobileMenu .mb-sections {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1200px) {
    #mobileMenu .mb-gender-menu {
        display: grid;
        grid-template-columns: 200px 1fr;
        column-gap: 40px;
        padding: 36px 48px 12px;
    }
    #mobileMenu .mb-gender-tabs {
        flex-direction: column;
        gap: 10px;
        margin: 0;
    }
    #mobileMenu .mb-gender-tab {
        border-bottom: 0;
        padding: 0;
        font-size: 17px;
    }
    #mobileMenu .mb-sections {
        grid-template-columns: repeat(4, 1fr);
        gap: 40px;
    }
}

/* Logo column must be exactly as wide as the logo, or the image overflows its
   collapsed box and the logo drifts off-centre. */
#header.header-bijoule .wrapper-header > .header-logo-col {
    width: max-content !important;
    min-width: max-content;
    justify-self: center;
}
#header.header-bijoule .logo-header {
    display: flex;
    justify-content: center;
}
#header.header-bijoule .logo-header img.logo {
    flex: none;
}


/* ==========================================================================
   Log in / Create account / Reset password drawers - minimal redesign.
   Valeria logo on top, large uppercase title, underline-style fields, a
   square black primary button and the secondary action stacked beneath it.
   ========================================================================== */
.popup-login.popup-style-1,
.popup-register.popup-style-1,
.popup-reset-pass.popup-style-1 {
    background: #fff;
}

.popup-login .popup-header,
.popup-register .popup-header,
.popup-reset-pass .popup-header {
    padding: 28px 32px 0;
    border-bottom: 0;
    margin: 0;
}

.popup-login .popup-header .title,
.popup-register .popup-header .title,
.popup-reset-pass .popup-header .title {
    font-size: 15px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #131313;
}

.popup-login .popup-inner,
.popup-register .popup-inner,
.popup-reset-pass .popup-inner {
    padding: 28px 32px 40px;
}


/* Underline fields instead of boxed inputs */
.popup-login .form-login fieldset input:not([type="checkbox"]),
.popup-register .form-login fieldset input:not([type="checkbox"]),
.popup-reset-pass .form-login fieldset input:not([type="checkbox"]) {
    height: 52px;
    padding: 14px 0;
    border: 0 !important;
    border-bottom: 1px solid #c9c9c9 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    font-size: 15px;
    color: #131313;
    transition: border-color .2s ease;
}

.popup-login .form-login fieldset input:not([type="checkbox"]):focus,
.popup-register .form-login fieldset input:not([type="checkbox"]):focus,
.popup-reset-pass .form-login fieldset input:not([type="checkbox"]):focus {
    border-bottom-color: #131313 !important;
}

.popup-login .form-login input::placeholder,
.popup-register .form-login input::placeholder,
.popup-reset-pass .form-login input::placeholder {
    color: #8a8a8a;
    text-transform: none;
}

.popup-login .form-login fieldset.mb_12,
.popup-register .form-login fieldset.mb_12 {
    margin-bottom: 10px;
}

/* eye button sits flush with the end of the underline */
.popup-login .form-login .password button,
.popup-register .form-login .password button {
    right: 0 !important;
}

/* Links and helper text */
.popup-login .bot > a,
.popup-reset-pass .bot > a {
    display: inline-block;
    margin: 18px 0 28px;
    font-size: 13px;
    color: #131313;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.popup-register .bot > p {
    margin: 22px 0 28px;
    font-size: 13px;
    line-height: 1.6;
    color: #6b6b66;
}

.popup-register .form-login fieldset.checkbox {
    margin-top: 18px !important;
}

/* Buttons: full-width, square, stacked */
.popup-login .button-wrap,
.popup-register .button-wrap,
.popup-reset-pass .button-wrap {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.popup-login .button-wrap .tf-btn,
.popup-register .button-wrap .tf-btn,
.popup-reset-pass .button-wrap .tf-btn {
    width: 100%;
    height: 52px;
    justify-content: center;
    border-radius: 0;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.popup-login .button-wrap .tf-btn.bg-primary,
.popup-register .button-wrap .tf-btn.bg-primary,
.popup-reset-pass .button-wrap .tf-btn.bg-primary {
    background-color: #131313;
    border: 1px solid #131313;
    color: #fff;
}
.popup-login .button-wrap .tf-btn.bg-primary:hover,
.popup-register .button-wrap .tf-btn.bg-primary:hover,
.popup-reset-pass .button-wrap .tf-btn.bg-primary:hover {
    background-color: #2f2f2f;
}

.popup-login .button-wrap .btn-out-line-dark2,
.popup-register .button-wrap .btn-out-line-dark2,
.popup-reset-pass .button-wrap .btn-out-line-dark2 {
    background: #fff;
    border: 1px solid #131313;
    color: #131313;
}
.popup-login .button-wrap .btn-out-line-dark2:hover,
.popup-register .button-wrap .btn-out-line-dark2:hover,
.popup-reset-pass .button-wrap .btn-out-line-dark2:hover {
    background: #131313;
    color: #fff;
}

@media (max-width: 575.98px) {
    .popup-login .popup-header,
    .popup-register .popup-header,
    .popup-reset-pass .popup-header {
        padding: 22px 20px 0;
    }
    .popup-login .popup-inner,
    .popup-register .popup-inner,
    .popup-reset-pass .popup-inner {
        padding: 4px 20px 32px;
    }
}

.popup-login .form-login fieldset,
.popup-register .form-login fieldset,
.popup-reset-pass .form-login fieldset {
    width: 100%;
}
.popup-login .form-login fieldset input:not([type="checkbox"]),
.popup-register .form-login fieldset input:not([type="checkbox"]),
.popup-reset-pass .form-login fieldset input:not([type="checkbox"]) {
    width: 100%;
}


/* ==========================================================================
   Shopping cart drawer - minimal redesign (matches the login panels).
   Small uppercase title, flat rows with a tall product image, outlined square
   quantity stepper, flat "You may also like" cards, and a bottom bar with the
   total and two square full-width buttons. Markup and Vue logic untouched.
   ========================================================================== */
.popup-shopping-cart .popup-header {
    padding: 28px 32px 18px;
    border-bottom: 1px solid #ececec;
    margin: 0;
}
.popup-shopping-cart .popup-header .title {
    font-size: 15px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #131313;
}

.popup-shopping-cart .tf-mini-cart-sroll {
    padding: 8px 0 24px;
}

/* Item rows */
.popup-shopping-cart .tf-mini-cart-item {
    gap: 18px;
    padding: 20px 32px;
    border: 0;
    border-bottom: 1px solid #ececec;
    border-radius: 0;
    background: transparent;
}
.popup-shopping-cart .tf-mini-cart-item .tf-mini-cart-image {
    flex: 0 0 96px;
    width: 96px;
    height: 124px;
    border-radius: 0;
    overflow: hidden;
    background: #f5f5f4;
}
.popup-shopping-cart .tf-mini-cart-item .tf-mini-cart-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}
.popup-shopping-cart .tf-mini-cart-info {
    gap: 6px;
}
.popup-shopping-cart .tf-mini-cart-info .title {
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 1.4;
    color: #131313;
}
.popup-shopping-cart .tf-mini-cart-info .price-wrap,
.popup-shopping-cart .tf-mini-cart-info .price-wrap .new-price {
    font-size: 14px;
    font-weight: 600;
    color: #131313 !important;
}
.popup-shopping-cart .tf-mini-cart-info .icon-close.remove {
    font-size: 11px;
    color: #8a8a8a;
    cursor: pointer;
    transition: color .15s ease;
}
.popup-shopping-cart .tf-mini-cart-info .icon-close.remove:hover {
    color: #131313;
}

/* Quantity stepper: outlined, square */
.popup-shopping-cart .wg-quantity.small {
    display: inline-flex;
    align-items: center;
    width: auto;
    height: 34px;
    margin-top: 4px;
    border: 1px solid #d6d6d3;
    border-radius: 0;
    background: #fff;
}
.popup-shopping-cart .wg-quantity.small .btn-quantity {
    width: 32px;
    height: 100%;
    background: transparent;
    font-size: 16px;
    color: #131313;
}
.popup-shopping-cart .wg-quantity.small .btn-quantity:disabled {
    color: #bdbdba;
}
.popup-shopping-cart .wg-quantity.small .quantity-product {
    width: 32px;
    height: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
}

/* Empty cart */
.popup-shopping-cart .cart-empty-wrap {
    padding: 56px 0;
    text-align: center;
}
.popup-shopping-cart .cart-empty-wrap .display-sm {
    font-size: 15px;
    letter-spacing: .06em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

/* You may also like: flat cards */
.popup-shopping-cart .tf-minicart-recommendations {
    margin-top: 28px;
}
.popup-shopping-cart .tf-minicart-recommendations-title {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.popup-shopping-cart .tf-minicart-recommendations .tf-mini-cart-item.line {
    border: 1px solid #ececec;
    border-radius: 0 !important;
    padding: 12px;
}
.popup-shopping-cart .tf-minicart-recommendations .tf-btn {
    height: 36px;
    padding: 0 18px;
    border-radius: 0;
    background: #fff;
    border: 1px solid #131313;
    color: #131313;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
}
.popup-shopping-cart .tf-minicart-recommendations .tf-btn:hover {
    background: #131313;
    color: #fff;
}

/* Bottom bar */
.popup-shopping-cart .tf-mini-cart-bottom {
    border-top: 1px solid #ececec;
    background: #fff;
}
.popup-shopping-cart .tf-mini-cart-bottom-wrap {
    padding: 20px 32px 24px;
}
.popup-shopping-cart .tf-cart-totals-discounts {
    margin-bottom: 18px;
}
.popup-shopping-cart .tf-cart-total,
.popup-shopping-cart .tf-totals-total-value {
    font-size: 14px !important;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
}
.popup-shopping-cart .tf-totals-total-value {
    font-size: 18px !important;
    letter-spacing: 0;
}
.popup-shopping-cart .tf-mini-cart-view-checkout {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.popup-shopping-cart .tf-mini-cart-view-checkout .tf-btn {
    width: 100%;
    height: 52px;
    justify-content: center;
    border-radius: 0;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
}
.popup-shopping-cart .tf-mini-cart-view-checkout .tf-btn.bg-primary {
    background-color: #131313;
    border: 1px solid #131313;
    color: #fff;
}
.popup-shopping-cart .tf-mini-cart-view-checkout .tf-btn.bg-primary:hover {
    background-color: #2f2f2f;
}
.popup-shopping-cart .tf-mini-cart-view-checkout .btn-out-line-dark2 {
    background: #fff;
    border: 1px solid #131313;
    color: #131313;
}
.popup-shopping-cart .tf-mini-cart-view-checkout .btn-out-line-dark2:hover {
    background: #131313;
    color: #fff;
}
.popup-shopping-cart .tf-mini-cart-continue-shopping a {
    font-size: 12px;
    letter-spacing: .08em;
    color: #6b6b66;
    text-decoration: underline;
    text-underline-offset: 3px;
}

@media (max-width: 575.98px) {
    .popup-shopping-cart .popup-header { padding: 22px 20px 16px; }
    .popup-shopping-cart .tf-mini-cart-sroll { padding: 4px 0 20px; }
    .popup-shopping-cart .tf-mini-cart-bottom-wrap { padding: 16px 20px 20px; }
    .popup-shopping-cart .tf-mini-cart-item { padding-left: 20px; padding-right: 20px; }
}

/* Cart fixes: keep the side padding on item rows, and make the "Choose options"
   buttons beat the theme's .bg-dark-2 / .tf-btn colours. */
.popup-shopping-cart .tf-minicart-recommendations .tf-mini-cart-item.line {
    padding: 12px !important;
    margin: 0;
}
.popup-shopping-cart .tf-minicart-recommendations {
    padding-left: 32px;
    padding-right: 32px;
}
.popup-shopping-cart .tf-minicart-recommendations .tf-btn,
.popup-shopping-cart .tf-minicart-recommendations .tf-btn.bg-dark-2 {
    background: #fff !important;
    color: #131313 !important;
    border: 1px solid #131313 !important;
    border-radius: 0 !important;
    height: 36px;
    padding: 0 18px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
}
.popup-shopping-cart .tf-minicart-recommendations .tf-btn:hover,
.popup-shopping-cart .tf-minicart-recommendations .tf-btn.bg-dark-2:hover {
    background: #131313 !important;
    color: #fff !important;
}
@media (max-width: 575.98px) {
    .popup-shopping-cart .tf-minicart-recommendations { padding-left: 20px; padding-right: 20px; }
}


/* ==========================================================================
   Cart page - "You may also like" in the same clean style as the search
   popup's featured products: white ground, no tinted card backgrounds, no
   discount pill or hover buttons, whole product visible, small centred name
   and price. Six across on desktop (see the swiper breakpoints in the view).
   ========================================================================== */
.cart-also-like .title {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: .12em;
    text-transform: uppercase;
    margin-bottom: 20px !important;
}

.cart-also-like .card-product .card-product-wrapper {
    background: #fff !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.cart-also-like .card-product .card-product-wrapper img {
    object-fit: contain !important;
    background: #fff !important;
}

.cart-also-like .card-product .on-sale-item,
.cart-also-like .card-product .list-product-btn,
.cart-also-like .card-product .category-name-product-item {
    display: none !important;
}

.cart-also-like .card-product .card-product-info {
    padding-top: 10px;
    text-align: center;
}

.cart-also-like .card-product .name-product {
    font-size: 13px !important;
    line-height: 18px !important;
    font-weight: 400 !important;
}

.cart-also-like .card-product .price-wrap,
.cart-also-like .card-product .price-wrap .price-new,
.cart-also-like .card-product .price-wrap .price-old {
    font-size: 12px !important;
    justify-content: center;
}

.cart-also-like .card-product .price-wrap .price-new {
    color: #131313 !important;
}


/* ==========================================================================
   Cart page - items table, discount code and order summary (minimal redesign,
   same language as the cart drawer and login panels). Fixes the product cell,
   which an old `.tf-cart-item td { flex-direction: column }` rule stacked into
   a centred image-over-name column.
   ========================================================================== */
.table-page-cart thead tr {
    border-top: 0;
    border-bottom: 1px solid #131313;
}
.table-page-cart thead tr th {
    padding: 0 9px 14px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #131313;
}
.table-page-cart thead tr th:first-child {
    text-align: start;
    padding-left: 0;
}

.table-page-cart .tf-cart-item {
    border-bottom: 1px solid #ececec;
}
.table-page-cart .tf-cart-item td {
    padding: 28px 9px;
    vertical-align: middle;
}

/* Product cell: image left, text right */
.table-page-cart .tf-cart-item td.tf-cart-item_product {
    flex-direction: row;
    align-items: center;
    gap: 20px;
}
.table-page-cart .tf-cart-item_product .img-box {
    flex: 0 0 104px;
    width: 104px;
    max-width: 104px;
    height: 136px;
    max-height: 136px;
    margin: 0;
    border-radius: 0;
    background: #f5f5f4;
    overflow: hidden;
}
.table-page-cart .tf-cart-item_product .img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.table-page-cart .tf-cart-item_product .cart-info {
    text-align: start;
}
.table-page-cart .tf-cart-item_product .cart-info .name {
    display: inline-block;
    margin-bottom: 10px;
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 1.4;
    color: #131313;
}
.table-page-cart .tf-cart-item_product .cart-info br {
    display: none;
}
.table-page-cart .tf-cart-item_product .cart-info .remove-cart {
    font-size: 12px;
    color: #6b6b66;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}
.table-page-cart .tf-cart-item_product .cart-info .remove-cart:hover {
    color: #131313;
}

.table-page-cart .tf-cart-item .cart-price,
.table-page-cart .tf-cart-item .cart-total {
    font-size: 14px;
    font-weight: 600;
    color: #131313;
}

/* Quantity: outlined square stepper */
.table-page-cart .tf-cart-item .wg-quantity {
    display: inline-flex;
    align-items: center;
    height: 38px;
    padding: 0;
    border: 1px solid #d6d6d3;
    border-radius: 0;
    background: #fff;
}
.table-page-cart .tf-cart-item .wg-quantity .btn-quantity {
    width: 34px;
    height: 100%;
    align-items: center;
    justify-content: center;
    background: transparent;
    font-size: 16px;
    color: #131313;
    cursor: pointer;
}
.table-page-cart .tf-cart-item .wg-quantity .quantity-product {
    width: 34px;
    height: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
}

/* Discount code: underline field + outlined square button */
.tf-page-cart-main .box-ip-discount {
    max-width: 460px;
    margin: 28px 0;
}
.tf-page-cart-main .box-ip-discount .discount-ip {
    gap: 12px;
    align-items: flex-end;
}
.tf-page-cart-main .box-ip-discount input {
    flex: 1;
    height: 46px;
    padding: 0;
    border: 0 !important;
    border-bottom: 1px solid #c9c9c9 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    font-size: 14px;
}
.tf-page-cart-main .box-ip-discount input:focus {
    border-bottom-color: #131313 !important;
}
.tf-page-cart-main .box-ip-discount .tf-btn {
    height: 46px;
    padding: 0 26px;
    border-radius: 0;
    border: 1px solid #131313;
    background: #fff;
    color: #131313;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
}
.tf-page-cart-main .box-ip-discount .tf-btn:hover {
    background: #131313;
    color: #fff;
}

/* Order summary: flat panel */
.tf-page-cart-sidebar .cart-box {
    padding: 28px;
    border: 1px solid #ececec;
    border-radius: 0;
    background: #fff;
}
.tf-page-cart-sidebar .checkout-cart-box .price-row {
    font-size: 14px;
}
.tf-page-cart-sidebar .checkout-cart-box .total-discount {
    font-size: 14px !important;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
}
.tf-page-cart-sidebar .checkout-cart-box .total-discount .total {
    font-size: 20px;
    letter-spacing: 0;
}
.tf-page-cart-sidebar .checkout-cart-box .checkout-btn .tf-btn {
    height: 52px;
    justify-content: center;
    border-radius: 0;
    background: #131313;
    border: 1px solid #131313;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
}
.tf-page-cart-sidebar .checkout-cart-box .checkout-btn .tf-btn:hover {
    background: #2f2f2f;
}


/* ==========================================================================
   Checkout page - minimal redesign (same language as the cart and login):
   no boxed card around the form, small uppercase section titles, underline
   fields, flat payment options, a flat order summary and a square black
   "Place order" button. Scoped to #vue-checkout; markup and Vue logic are
   untouched.
   ========================================================================== */
#vue-checkout .tf-checkout-cart-main {
    padding: 0;
    border: 0;
    border-radius: 0;
}

/* Section titles */
#vue-checkout .tf-checkout-cart-main .title,
#vue-checkout .tf-checkout-cart-main .title .text-lg,
#vue-checkout .tf-checkout-cart-main .title > span {
    font-size: 12px !important;
    font-weight: 600 !important;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #131313;
}
#vue-checkout .tf-checkout-cart-main .title {
    margin-bottom: 22px;
    padding-bottom: 12px;
    border-bottom: 1px solid #131313;
}
#vue-checkout .tf-checkout-cart-main .box-ip-contact,
#vue-checkout .tf-checkout-cart-main .box-ip-checkout,
#vue-checkout .tf-checkout-cart-main .box-ip-payment {
    margin-bottom: 44px;
}

/* Returning customer */
#vue-checkout .returning-customer {
    padding: 14px 0;
    margin-bottom: 28px !important;
    border-bottom: 1px solid #ececec;
}
#vue-checkout .returning-customer a {
    padding: 0;
    border: 0;
    background: none;
    color: #131313;
    font-size: 13px;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Underline fields */
#vue-checkout .tf-checkout-cart-main .grid-2 {
    gap: 24px;
}
#vue-checkout .tf-field .tf-input,
#vue-checkout .tf-field.style-2 .tf-input,
#vue-checkout .tf-field.style-3 .tf-input {
    padding-left: 0;
    padding-right: 0;
    border: 0 !important;
    border-bottom: 1px solid #c9c9c9 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    font-size: 15px;
    color: #131313;
    transition: border-color .2s ease;
}
#vue-checkout .tf-field .tf-input:focus {
    border-bottom-color: #131313 !important;
}
#vue-checkout .tf-field .tf-field-label,
#vue-checkout .tf-field.style-3 .tf-field-label,
#vue-checkout .tf-field.style-2 .tf-input:not(:placeholder-shown) ~ .tf-field-label,
#vue-checkout .tf-field.style-2 .tf-input:focus ~ .tf-field-label,
#vue-checkout .tf-field.style-3 .tf-input:not(:placeholder-shown) ~ .tf-field-label,
#vue-checkout .tf-field.style-3 .tf-input:focus ~ .tf-field-label {
    left: 0;
    color: #8a8a8a;
}
#vue-checkout .tf-field textarea.tf-input {
    padding-top: 28px;
}
#vue-checkout .tf-field .tf-input.glow-red,
#vue-checkout .tf-field .tf-input:disabled {
    background: transparent !important;
}
#vue-checkout .tf-field .tf-input.glow-red {
    border-bottom-color: #dc3545 !important;
    box-shadow: none !important;
}
#vue-checkout .tf-field .tf-input:disabled {
    color: #6b6b66;
}

/* Phone field: flag button blends into the underline */
#vue-checkout .iti input,
#vue-checkout .phone-input2 input {
    border: 0 !important;
    border-bottom: 1px solid #c9c9c9 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}
#vue-checkout .iti__selected-country,
#vue-checkout .iti__country-container button {
    background: transparent !important;
}

/* Coupon */
#vue-checkout .coupon-button-input-cont {
    align-items: flex-end;
    gap: 12px;
}
#vue-checkout #coupon-input {
    height: 46px;
}
#vue-checkout .coupon-button-input-cont .tf-btn {
    height: 46px;
    padding: 0 26px;
    border-radius: 0;
    border: 1px solid #131313;
    background: #fff;
    color: #131313;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
}
#vue-checkout .coupon-button-input-cont .tf-btn:hover {
    background: #131313;
    color: #fff;
}

/* Payment options */
#vue-checkout .payment-item {
    border: 1px solid #d6d6d3;
    border-radius: 0;
    transition: border-color .2s ease;
}
#vue-checkout .payment-item:has(input:checked) {
    border-color: #131313;
}
#vue-checkout .payment-item .payment-header {
    padding: 16px 18px;
    color: #131313;
}
#vue-checkout .payment-item .pay-title {
    font-size: 14px;
    font-weight: 500;
}
#vue-checkout .box-ip-payment > p {
    font-size: 12px !important;
    line-height: 1.6;
    color: #6b6b66;
}

/* Order summary */
#vue-checkout .tf-page-cart-sidebar .cart-box {
    padding: 28px;
    border: 1px solid #ececec;
    border-radius: 0;
    background: #fff;
}
#vue-checkout .order-box > .title {
    font-size: 12px !important;
    font-weight: 600 !important;
    letter-spacing: .14em;
    text-transform: uppercase;
    margin-bottom: 14px !important;
}
#vue-checkout .order-box .order-header {
    padding-bottom: 12px;
    margin-bottom: 18px !important;
    border-bottom: 1px solid #131313;
}
#vue-checkout .order-box .order-header p {
    font-size: 11px !important;
    font-weight: 600 !important;
    letter-spacing: .12em;
    text-transform: uppercase;
}
#vue-checkout .order-box .order-item .img-product {
    width: 72px;
    height: 94px;
    background: #f5f5f4;
}
#vue-checkout .order-box .order-item .img-product img {
    border-radius: 0;
}
#vue-checkout .order-box .order-item .name {
    font-size: 13px;
    font-weight: 500 !important;
}
#vue-checkout .order-box .list-order-product {
    border-bottom-color: #ececec;
}
#vue-checkout .order-box .subtotal {
    font-size: 14px !important;
    font-weight: 600 !important;
    letter-spacing: .1em;
    text-transform: uppercase;
}
#vue-checkout .order-box .subtotal .total-price-order {
    font-size: 20px;
    letter-spacing: 0;
}
#vue-checkout .order-box .btn-order .tf-btn {
    height: 52px;
    justify-content: center;
    border-radius: 0;
    background: #131313;
    border: 1px solid #131313;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase !important;
}
#vue-checkout .order-box .btn-order .tf-btn:hover {
    background: #2f2f2f;
}


/* ==========================================================================
   Footer - light, minimal redesign. Soft grey ground, black logo, small
   uppercase column headings, quiet links, hairline dividers. Same selectors
   as the dark footer rules above, declared after them so these win.
   ========================================================================== */
#footer.bijoule-footer {
    background-color: #f5f5f4;
    color: #131313;
    border-top: 1px solid #e2e2df;
}

#footer.bijoule-footer a,
#footer.bijoule-footer .item,
#footer.bijoule-footer .item a,
#footer.bijoule-footer p,
#footer.bijoule-footer .footer-menu-list a {
    color: #3d3d3a;
}
#footer.bijoule-footer a:hover,
#footer.bijoule-footer .item a:hover,
#footer.bijoule-footer .footer-menu-list a:hover {
    color: #131313;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Top row: logo + socials */
#footer.bijoule-footer .footer-top,
#footer.bijoule-footer .footer-bottom {
    border-color: #e2e2df;
}
#footer.bijoule-footer .footer-top-wrap {
    padding: 36px 0;
}
#footer.bijoule-footer .footer-logo {
    max-width: none;
}
#footer.bijoule-footer .footer-logo img.logo {
    height: 76px;
    width: auto;
    max-width: none;
}
#footer.bijoule-footer .tf-social-icon .social-item:not(:hover) {
    background: transparent;
    border: 1px solid #131313;
    color: #131313;
}
#footer.bijoule-footer .tf-social-icon .social-item:hover {
    background: #131313;
    border-color: #131313;
    color: #fff;
    text-decoration: none;
}

/* Columns: a clean grid, no vertical rules */
#footer.bijoule-footer .footer-body {
    border-top: 1px solid #e2e2df;
}
@media (min-width: 992px) {
    #footer.bijoule-footer .row-footer {
        display: grid;
        grid-template-columns: 1.3fr 1.1fr 1.6fr;
        gap: 64px;
        padding: 48px 0 52px;
    }
    #footer.bijoule-footer .row-footer .s1,
    #footer.bijoule-footer .row-footer .s2 {
        border: 0;
        padding: 0;
        margin: 0;
    }
    #footer.bijoule-footer .row-footer .s3 {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 40px;
        padding: 0;
        margin: 0;
        border: 0;
    }
}

/* Headings */
#footer.bijoule-footer .footer-heading {
    margin-bottom: 20px;
    font-size: 12px !important;
    font-weight: 700 !important;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #131313;
}
#footer.bijoule-footer .footer-heading-mobile::before,
#footer.bijoule-footer .footer-heading-mobile::after {
    background-color: #131313;
}

/* Contact list: plain icons, no circles */
#footer.bijoule-footer .footer-info .item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 14px;
    font-size: 14px;
    line-height: 1.5;
}
#footer.bijoule-footer .footer-info .box-icon {
    flex: 0 0 auto;
    width: 18px;
    height: 22px;
    border: 0;
    background: transparent;
    color: #131313;
}
#footer.bijoule-footer .footer-info .box-icon:hover {
    background: transparent;
    color: #131313;
}
#footer.bijoule-footer .footer-info .box-icon i {
    font-size: 14px;
}

/* Link lists */
#footer.bijoule-footer .footer-menu-list li {
    margin-bottom: 12px;
}
#footer.bijoule-footer .footer-menu-list a {
    font-size: 14px;
}

#footer.bijoule-footer .btn-line-dark {
    color: #131313;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
}
#footer.bijoule-footer .btn-line-dark::after {
    background-color: #131313;
}

#footer.bijoule-footer .footer-about-text {
    max-width: 340px;
    font-size: 14px;
    line-height: 1.8;
    color: #6b6b66;
}

/* Bottom bar */
#footer.bijoule-footer .footer-bottom {
    border-top: 1px solid #e2e2df;
}
#footer.bijoule-footer .footer-credit,
#footer.bijoule-footer .footer-credit a {
    font-size: 12px;
    letter-spacing: .04em;
    color: #8a8a8a;
}
#footer.bijoule-footer .footer-credit a:hover {
    color: #131313;
}

#footer.bijoule-footer .footer-top-wrap {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}
#footer.bijoule-footer .footer-heading,
#footer.bijoule-footer .footer-col-block {
    width: 100%;
    max-width: none;
}

#footer.bijoule-footer .footer-logo {
    width: auto;
    flex: 0 0 auto;
}

@media (min-width: 992px) {
    #footer.bijoule-footer .row-footer .s3 {
        grid-column: auto;
        width: auto;
    }
    #footer.bijoule-footer .row-footer .s1,
    #footer.bijoule-footer .row-footer .s2 {
        width: auto;
    }
}


/* ==========================================================================
   Shop page - filter sidebar, minimal redesign (same language as the rest of
   the site): small uppercase facet titles on hairline dividers, a quiet
   category tree with a guide line for sub-levels, underline price fields on a
   thin slider, square checkboxes, round colour dots, square size chips.
   Scoped to .sidebar-filter; markup and Vue logic are untouched.
   ========================================================================== */
.sidebar-filter .widget-facet:not(:last-child) {
    margin-bottom: 0;
    padding-bottom: 8px;
    border-bottom: 1px solid #e2e2df;
}
.sidebar-filter .widget-facet {
    padding-top: 6px;
    padding-bottom: 8px;
}
.sidebar-filter .widget-facet .facet-title {
    padding: 14px 0;
    margin-bottom: 0;
}
.sidebar-filter .widget-facet .facet-title,
.sidebar-filter .widget-facet .facet-title span {
    font-size: 12px !important;
    font-weight: 700 !important;
    letter-spacing: .14em;
    text-transform: uppercase !important;
    color: #131313;
}
.sidebar-filter .widget-facet .facet-title .icon {
    font-size: 7px;
}
.sidebar-filter .widget-facet .collapse-body {
    padding: 4px 0 14px;
}

/* Category tree */
.sidebar-filter .list-categories,
.sidebar-filter .subcategory-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.sidebar-filter .subcategory-list {
    margin: 6px 0 10px 4px;
    padding-left: 14px;
    border-left: 1px solid #e2e2df;
}
.sidebar-filter .widget-facet .cate-item:not(:last-child) {
    margin-bottom: 4px;
}
.sidebar-filter .category-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 7px 0;
    color: #3d3d3a;
    transition: color .15s ease;
}
.sidebar-filter .category-toggle:hover {
    color: #131313;
}
.sidebar-filter .category-toggle.active {
    color: #131313;
    font-weight: 700;
}
.sidebar-filter .list-categories > .cate-item > .category-toggle.text-sm {
    font-size: 15px;
    font-weight: 500;
    color: #131313;
}
.sidebar-filter .subcategory-list .category-toggle.text-sm {
    font-size: 14px;
    font-weight: 400;
}
.sidebar-filter .category-toggle .toggle-icon {
    font-size: 9px;
    color: #8a8a8a;
}

/* Price: underline fields + thin slider */
.sidebar-filter .price-range-slider {
    padding: 4px 0 8px;
}
.sidebar-filter .price-input input {
    height: 38px;
    border: 0 !important;
    border-bottom: 1px solid #c9c9c9 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    font-size: 14px;
}
.sidebar-filter .price-input input:focus {
    border-bottom-color: #131313 !important;
}
.sidebar-filter .slider-track {
    height: 2px;
    margin: 22px 0 14px;
    border-radius: 0;
    background: #d6d6d3;
}
.sidebar-filter .slider-range {
    border-radius: 0;
    background: #131313 !important;
}
.sidebar-filter .slider-thumb {
    width: 14px;
    height: 14px;
    background: #131313 !important;
    border: 2px solid #fff;
    box-shadow: 0 0 0 1px #131313;
}

/* Checkbox lists (season, brand, ...) */
.sidebar-filter .filter-group-check .list-item {
    gap: 12px;
}
.sidebar-filter .filter-group-check .list-item:not(:last-child) {
    margin-bottom: 12px;
}
.sidebar-filter .filter-group-check .list-item .label {
    font-size: 14px;
    color: #3d3d3a;
}
.sidebar-filter .filter-group-check .list-item .tf-check:checked ~ .label {
    color: #131313;
    font-weight: 600;
}
.sidebar-filter .tf-check {
    width: 16px;
    height: 16px;
    border: 1px solid #131313;
    border-radius: 0;
}
.sidebar-filter .tf-check:checked {
    background-color: #131313;
    border-color: #131313;
}

/* Colour dots */
.sidebar-filter .filter-color-box {
    gap: 12px;
}
.sidebar-filter .filter-color-box .color-item {
    width: 28px;
    height: 28px;
    border: 1px solid #d6d6d3;
}
.sidebar-filter .filter-color-box .color-item.active {
    padding: 3px;
    border-color: #131313 !important;
}

/* Size chips: square outlines, black when selected */
.sidebar-filter .filter-size-box {
    gap: 8px;
}
.sidebar-filter .filter-size-box .size-item {
    padding: 7px 14px;
    border-radius: 0;
    border: 1px solid #d6d6d3;
    font-size: 13px;
    line-height: 18px;
    color: #131313;
}
.sidebar-filter .filter-size-box .size-item:hover {
    border-color: #131313;
}
.sidebar-filter .filter-size-box .size-item.active {
    background: #131313;
    border-color: #131313;
    color: #fff;
}

/* Tag pills (if enabled) */
.sidebar-filter .tag-pill {
    border-radius: 0;
    background: #fff;
    border: 1px solid #d6d6d3;
    font-size: 13px;
}
.sidebar-filter .tag-pill:hover {
    background: #fff;
    border-color: #131313;
    transform: none;
}
.sidebar-filter .tag-pill.active {
    background: #131313;
    border-color: #131313;
    color: #fff;
}

.sidebar-filter .widget-facet .facet-title .icon {
    font-size: 7px !important;
    letter-spacing: 0;
}


/* ==========================================================================
   Shop page - product grid in a fashion-editorial style: tight gaps, tall
   3:4 images that fill the whole tile (no rounded corners, no tinted card
   backgrounds), a small square sale tag, and on hover a full-width black
   "Add" bar sliding up from the bottom of the image (the label comes from
   the existing add-to-cart / choose-options tooltip text, so it keeps its
   translation). Wishlist button sits top-right. Scoped to the shop grid.
   ========================================================================== */
.page-shop .wrapper-shop {
    gap: 28px 10px;
}

.page-shop .wrapper-shop .card-product .card-product-wrapper {
    aspect-ratio: 3 / 4;
    border-radius: 0 !important;
    background: #f4f4f3 !important;
    box-shadow: none !important;
}
.page-shop .wrapper-shop .card-product .card-product-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover !important;
    border-radius: 0 !important;
}

/* sale tag: small square, top-left */
.page-shop .wrapper-shop .card-product .on-sale-wrap {
    top: 10px;
    left: 10px;
    right: auto;
}
.page-shop .wrapper-shop .card-product .on-sale-item {
    border-radius: 0 !important;
    padding: 3px 8px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .04em;
}

/* hover actions */
.page-shop .wrapper-shop .card-product .list-product-btn {
    position: static;
    display: block;
}
.page-shop .wrapper-shop .card-product .list-product-btn li {
    transition: transform .3s ease, opacity .3s ease;
}

/* "Add" bar: first action, full width along the bottom */
.page-shop .wrapper-shop .card-product .list-product-btn li:first-child {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 7;
}
.page-shop .wrapper-shop .card-product .list-product-btn li:first-child .box-icon {
    width: 100%;
    height: 46px;
    border-radius: 0;
    background: #131313;
    color: #fff;
    box-shadow: none;
}
.page-shop .wrapper-shop .card-product .list-product-btn li:first-child .box-icon .icon {
    display: none;
}
.page-shop .wrapper-shop .card-product .list-product-btn li:first-child .tooltip {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    padding: 0;
    background: none;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    white-space: nowrap;
}
.page-shop .wrapper-shop .card-product .list-product-btn li:first-child .tooltip::before,
.page-shop .wrapper-shop .card-product .list-product-btn li:first-child .tooltip::after {
    display: none;
}

/* wishlist: small square top-right */
.page-shop .wrapper-shop .card-product .list-product-btn li.wishlist {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 7;
}
.page-shop .wrapper-shop .card-product .list-product-btn li.wishlist .box-icon {
    width: 34px;
    height: 34px;
    border-radius: 0 !important;
    background: #fff;
}
.page-shop .wrapper-shop .card-product .list-product-btn li.wishlist .tooltip {
    display: none;
}

/* slide the bar up on hover where hover exists; always visible on touch */
@media (hover: hover) {
    .page-shop .wrapper-shop .card-product .list-product-btn li:first-child {
        transform: translateY(100%) !important;
        opacity: 1;
        visibility: visible;
    }
    .page-shop .wrapper-shop .card-product:hover .list-product-btn li:first-child {
        transform: translateY(0) !important;
    }
    .page-shop .wrapper-shop .card-product .list-product-btn li.wishlist {
        transform: none !important;
    }
}

/* info under the image */
.page-shop .wrapper-shop .card-product .card-product-info {
    padding-top: 10px;
}
.page-shop .wrapper-shop .card-product .name-product {
    font-size: 13px !important;
    line-height: 18px !important;
    font-weight: 400 !important;
}
.page-shop .wrapper-shop .card-product .price-wrap,
.page-shop .wrapper-shop .card-product .price-wrap .price-new,
.page-shop .wrapper-shop .card-product .price-wrap .price-old {
    font-size: 13px;
}
.page-shop .wrapper-shop .card-product .price-wrap .price-new {
    color: #131313 !important;
}

/* Shop "Add" / "Choose options" bar: an older rule forces round corners on all
   card buttons with !important, which turned the bar into an oval on phones. */
.page-shop .wrapper-shop .card-product .list-product-btn li:first-child {
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: auto;
}
.page-shop .wrapper-shop .card-product .list-product-btn li:first-child .box-icon,
.page-shop .wrapper-shop .card-product .list-product-btn li:first-child a.box-icon {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100% !important;
    height: 44px !important;
    border-radius: 0 !important;
    background: #131313 !important;
    color: #fff !important;
    box-shadow: none !important;
}
@media (max-width: 767.98px) {
    .page-shop .wrapper-shop .card-product .list-product-btn li:first-child .tooltip {
        font-size: 11px;
        letter-spacing: .08em;
    }
}

/* Keep the bar's label visible (the theme hides/positions .tooltip on hover-tooltip links) */
.page-shop .wrapper-shop .card-product .list-product-btn li:first-child .box-icon .tooltip,
.page-shop .wrapper-shop .card-product .list-product-btn li:first-child .hover-tooltip .tooltip {
    display: block !important;
    position: static !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    width: auto !important;
    height: auto !important;
    padding: 0 !important;
    margin: 0 !important;
    background: none !important;
    color: #fff !important;
    font-size: 12px !important;
    line-height: 1 !important;
    pointer-events: none;
}


/* ==========================================================================
   Product page - editorial 3-column layout (fashion-editorial style):
     [ accordions ]  [ vertical thumbnails | large image ]  [ buy box ]
   Done with CSS grid + display: contents on the two wrapper columns, so the
   existing markup and Vue bindings are unchanged. Desktop (>=992px) only;
   below that the theme's stacked layout is kept.
   ========================================================================== */
@media (min-width: 992px) {
    .page-product .flat-single-product .container-product-page > .row {
        display: grid;
        grid-template-columns: 250px minmax(0, 1fr) 340px;
        column-gap: 40px;
        align-items: start;
        margin: 0;
    }
    .page-product .flat-single-product .product-info-col,
    .page-product .flat-single-product .tf-product-info-wrap {
        display: contents;
    }
    .page-product .flat-single-product .tf-zoom-main {
        display: none;
    }
    .page-product .flat-single-product .product-media-col {
        grid-column: 2;
        grid-row: 1;
        width: auto;
        max-width: none;
        padding: 0;
    }
    .page-product .flat-single-product .tf-product-info-list {
        grid-column: 3;
        grid-row: 1;
        padding: 0;
    }
    .page-product .flat-single-product .tf-product-side-accordions {
        grid-column: 1;
        grid-row: 1;
        align-self: center;
        margin: 0;
    }
}

/* Gallery: thumbnails in a column on the start edge, big image beside them */
.page-product .product-thumbs-slider.thumbs-bottom {
    display: flex;
    flex-direction: row-reverse;
    gap: 12px;
    align-items: flex-start;
}
.page-product .tf-product-media-main {
    flex: 1 1 auto;
    min-width: 0;
    background: #f1f1f0;
}
.page-product .tf-product-media-main .swiper-slide {
    background: #f1f1f0;
}
.page-product .tf-product-media-main .swiper-slide img,
.page-product .tf-product-media-main .swiper-slide video {
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: contain;
    background: #f1f1f0;
}
.page-product .tf-product-media-thumbs {
    flex: 0 0 60px;
    width: 60px !important;
    max-height: 560px;
    overflow-y: auto;
    scrollbar-width: none;
}
.page-product .tf-product-media-thumbs::-webkit-scrollbar {
    display: none;
}
.page-product .tf-product-media-thumbs .swiper-wrapper {
    flex-direction: column;
    gap: 6px;
    transform: none !important;
    height: auto !important;
}
.page-product .tf-product-media-thumbs .swiper-slide {
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
}
.page-product .tf-product-media-thumbs .swiper-slide .item {
    border: 1px solid transparent;
    background: #f1f1f0;
}
.page-product .tf-product-media-thumbs .swiper-slide-thumb-active .item,
.page-product .tf-product-media-thumbs .swiper-slide:hover .item {
    border-color: #131313;
}
.page-product .tf-product-media-thumbs img {
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    border-radius: 0;
    display: block;
}
.page-product .tf-product-media-main .swiper-button-next,
.page-product .tf-product-media-main .swiper-button-prev {
    border-radius: 0;
}

/* Buy box typography */
.page-product .tf-product-heading .product-name {
    font-size: 14px;
    font-weight: 700 !important;
    line-height: 1.4;
    color: #131313;
}
.page-product .tf-product-heading .product-sku {
    font-size: 12px;
    color: #6b6b66;
    margin-bottom: 6px;
}
.page-product .tf-product-heading .product-price {
    margin: 8px 0 18px;
    gap: 10px;
}
.page-product .tf-product-heading .product-price .price-new,
.page-product .tf-product-heading .product-price .price-old {
    font-size: 14px !important;
    font-weight: 700;
}
.page-product .tf-product-heading .product-price .price-old {
    font-weight: 400;
    color: #8a8a8a;
}
.page-product .tf-product-heading .badge-sale {
    border-radius: 0;
    background: #131313;
    color: #fff;
    font-size: 11px;
    padding: 2px 8px;
}

/* Variant pickers: small square swatches / chips */
.page-product .tf-product-variant {
    margin-top: 6px;
    padding-top: 18px;
    border-top: 1px solid #e2e2df;
}
.page-product .variant-picker-label {
    font-size: 12px;
    color: #131313;
    margin-bottom: 10px;
}
.page-product .variant-picker-item {
    margin-bottom: 18px;
}
.page-product .variant-color .color-btn {
    width: 22px;
    height: 22px;
    border-radius: 0;
    border: 1px solid #d6d6d3;
    padding: 2px;
}
.page-product .variant-color .color-btn .check-color {
    border-radius: 0;
}
.page-product .variant-color .color-btn.active {
    border-color: #131313;
}
.page-product .size-btn-custom {
    min-width: 44px;
    padding: 9px 14px;
    border: 1px solid #d6d6d3;
    border-radius: 0;
    background: #fff;
    color: #131313;
    font-size: 13px;
    text-align: center;
}
.page-product .size-btn-custom:hover {
    border-color: #131313;
}
.page-product .size-btn-custom.active {
    background: #131313;
    border-color: #131313;
    color: #fff;
}
.page-product .size-btn-custom.disabled,
.page-product .size-btn-custom.out-of-stock {
    color: #bdbdba;
    border-color: #ececec;
    text-decoration: line-through;
}
.page-product .variant-picker-label a.size-guide {
    font-size: 12px;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Quantity + Add */
.page-product .tf-product-total-quantity .group-btn {
    gap: 10px;
    align-items: stretch;
}
.page-product .tf-product-total-quantity .wg-quantity {
    height: 44px;
    border: 1px solid #131313;
    border-radius: 0;
    background: #fff;
}
.page-product .tf-product-total-quantity .btn-add-to-cart {
    height: 44px;
    border-radius: 0;
    background: #131313 !important;
    border: 1px solid #131313;
    color: #fff !important;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .06em;
}
.page-product .tf-product-total-quantity .btn-add-to-cart:hover {
    background: #2f2f2f !important;
}

/* Left accordions: plain rows with a chevron, like a spec list */
.page-product .tf-product-side-accordions .widget-accordion {
    border: 0;
    margin: 0;
}
.page-product .tf-product-side-accordions .accordion-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    border: 0;
}
.page-product .tf-product-side-accordions .accordion-title span {
    font-size: 13px;
    font-weight: 400;
    color: #131313;
}
.page-product .tf-product-side-accordions .accordion-title .icon {
    font-size: 7px;
}
.page-product .tf-product-side-accordions .accordion-body {
    padding: 0 0 14px;
    font-size: 13px;
    line-height: 1.6;
    color: #3d3d3a;
}

/* "You may also like": same editorial cards as the shop grid */
.page-product section .flat-title .title {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.page-product .product-related-section .card-product .card-product-wrapper {
    aspect-ratio: 3 / 4;
    border-radius: 0 !important;
    background: #f4f4f3 !important;
}
.page-product .product-related-section .card-product .card-product-wrapper img {
    object-fit: cover !important;
    border-radius: 0 !important;
}
.page-product .product-related-section .card-product .on-sale-wrap {
    right: auto;
}
.page-product .product-related-section .card-product .on-sale-item {
    border-radius: 0 !important;
    font-size: 11px;
    padding: 3px 8px;
}
.page-product .product-related-section .card-product .list-product-btn .box-icon {
    border-radius: 0 !important;
}
.page-product .product-related-section .card-product .name-product {
    font-size: 13px !important;
    line-height: 18px !important;
    font-weight: 400 !important;
}
.page-product .product-related-section .card-product .price-wrap,
.page-product .product-related-section .card-product .price-wrap .price-new,
.page-product .product-related-section .card-product .price-wrap .price-old {
    font-size: 13px;
}
.page-product .product-related-section .card-product .price-wrap .price-new {
    color: #131313 !important;
}


/* Product page grid placement (final): every buy-box block flows down the right
   column; the gallery and the accordions span the whole height. The last row is
   flexible so the spanning items never stretch the right-column rows apart. */
@media (min-width: 992px) {
    .page-product .flat-single-product .container-product-page > .row {
        grid-template-rows: repeat(8, min-content) 1fr;
        row-gap: 0;
    }
    .page-product .flat-single-product .product-media-col {
        grid-column: 2;
        grid-row: 1 / -1;
    }
    .page-product .flat-single-product .tf-product-side-accordions {
        grid-column: 1;
        grid-row: 1 / -1;
        align-self: center;
    }
    .page-product .flat-single-product .tf-product-info-list,
    .page-product .flat-single-product .tf-product-variant,
    .page-product .flat-single-product .tf-product-total-quantity,
    .page-product .flat-single-product .tf-product-extra-link,
    .page-product .flat-single-product .tf-product-cate-sku,
    .page-product .flat-single-product .tf-product-delivery-return,
    .page-product .flat-single-product .tf-product-fbt,
    .page-product .flat-single-product .tf-product-size-chart-link {
        grid-column: 3;
        grid-row: auto;
        margin-left: 0;
        margin-right: 0;
    }
    .page-product .tf-product-variant {
        margin-top: 0;
    }
    .page-product .tf-product-total-quantity {
        margin-top: 8px;
    }
    .page-product .tf-product-cate-sku {
        padding-left: 0;
        margin: 14px 0 0;
        font-size: 12px;
    }
    .page-product .tf-product-extra-link {
        margin-top: 14px;
        font-size: 12px;
    }
}


/* Product page polish */
@media (min-width: 992px) {
    .page-product .flat-single-product .container-product-page {
        padding-left: 48px;
        padding-right: 48px;
    }
    .page-product .flat-single-product .container-product-page > .row {
        grid-template-columns: 250px minmax(0, 540px) 340px;
        justify-content: center;
        column-gap: 48px;
    }
}

.page-product .tf-product-media-main,
.page-product .tf-product-media-main .swiper-slide,
.page-product .tf-product-media-main .swiper-slide img,
.page-product .tf-product-media-main .swiper-slide video,
.page-product .tf-product-media-thumbs .swiper-slide .item,
.page-product .tf-product-media-thumbs img {
    border-radius: 0 !important;
}
.page-product .tf-product-media-main .swiper-slide img,
.page-product .tf-product-media-main .swiper-slide video {
    object-fit: cover;
}

.page-product .variant-picker-label,
.page-product .variant-picker-label div,
.page-product .variant-picker-label span {
    font-size: 12px !important;
    font-weight: 400;
}
.page-product .variant-picker-label .variant-picker-label-value {
    font-weight: 700;
    margin-left: 6px;
}
.page-product .variant-picker-values .color-btn,
.page-product .variant-color .color-btn {
    width: 24px !important;
    height: 24px !important;
    border-radius: 0 !important;
    padding: 2px !important;
    border: 1px solid #d6d6d3 !important;
}
.page-product .variant-picker-values .color-btn.active {
    border-color: #131313 !important;
}
.page-product .variant-picker-values .color-btn .check-color,
.page-product .variant-picker-values .color-btn span {
    border-radius: 0 !important;
}
.page-product .size-btn-custom {
    font-size: 13px !important;
    padding: 8px 14px !important;
    border-radius: 0 !important;
}
.page-product .product-stock .stock,
.page-product .product-stock span {
    border-radius: 0 !important;
}

/* delivery note: flat, quiet */
.page-product .tf-product-delivery-return,
.page-product .tf-product-delivery-return .product-delivery {
    border-radius: 0 !important;
}
.page-product .tf-product-delivery-return {
    margin-top: 16px;
}
.page-product .tf-product-delivery-return .product-delivery,
.page-product .tf-product-delivery-return .product-delivery * {
    font-size: 12px !important;
    line-height: 1.5;
    text-align: start;
}
.page-product .tf-product-delivery-return .product-delivery {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border: 1px solid #e2e2df;
    background: #fff;
}
.page-product .tf-product-delivery-return .product-delivery .icon {
    font-size: 18px !important;
}

.page-product .tf-product-delivery-return {
    border: 0 !important;
    padding: 0 !important;
    background: none !important;
    box-shadow: none !important;
}


/* ==========================================================================
   Product page "You may also like" - same look and size as the search popup's
   Featured Products: six across on desktop, plain white ground, whole item
   visible, no badge / hover buttons, small centered name + price.
   ========================================================================== */
.page-product .product-related-section .card-product .card-product-wrapper {
    aspect-ratio: auto;
    background: #fff !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}
.page-product .product-related-section .card-product .card-product-wrapper img {
    object-fit: contain !important;
    background: #fff !important;
}
.page-product .product-related-section .card-product .on-sale-wrap,
.page-product .product-related-section .card-product .on-sale-item,
.page-product .product-related-section .card-product .list-product-btn,
.page-product .product-related-section .card-product .category-name-product-item {
    display: none !important;
}
.page-product .product-related-section .card-product .card-product-info {
    padding-top: 10px;
    text-align: center;
}
.page-product .product-related-section .card-product .name-product {
    font-size: 13px !important;
    line-height: 18px !important;
    font-weight: 400 !important;
}
.page-product .product-related-section .card-product .price-wrap,
.page-product .product-related-section .card-product .price-wrap .price-new,
.page-product .product-related-section .card-product .price-wrap .price-old {
    font-size: 12px !important;
    justify-content: center;
}


/* ==========================================================================
   Product page loading skeleton - mirrors the 3-column layout:
     [ accordion rows ]  [ thumbnail column | tall image ]  [ buy box ]
   The markup is the shared product-page-skelton component (title, price,
   stock, swatches, buttons, meta); the left rows and thumbnails are drawn
   with ::before / ::after so the shared files stay untouched.
   ========================================================================== */
.product-page-skeleton {
    margin-top: 90px;
    margin-bottom: 80px;
    padding: 0 16px;
    gap: 24px;
}
.product-page-skeleton .product-page-skeleton-box,
.product-page-skeleton::before,
.product-page-skeleton::after {
    background: linear-gradient(90deg, #f0f0ee 25%, #e2e2de 37%, #f0f0ee 63%);
    background-size: 400% 100%;
    animation: product-page-shimmer 1.4s infinite;
}
.product-page-skeleton .product-page-image {
    aspect-ratio: 3 / 4;
    border-radius: 0;
    min-width: 0;
    max-width: none;
    width: 100%;
}
.product-page-skeleton .product-page-title { width: 70%; height: 16px; border-radius: 0; }
.product-page-skeleton .product-page-price { width: 35%; height: 16px; border-radius: 0; }
.product-page-skeleton .product-page-stock { width: 28%; height: 24px; border-radius: 0; }
.product-page-skeleton .product-page-color { width: 24px; height: 24px; border-radius: 0; }
.product-page-skeleton .product-page-btn { max-width: none; height: 44px; border-radius: 0; }
.product-page-skeleton .product-page-meta { width: 60%; height: 14px; border-radius: 0; }
.product-page-skeleton .product-page-info { gap: 16px; }

@media (min-width: 992px) {
    .product-page-skeleton {
        display: grid;
        grid-template-columns: 200px 60px minmax(0, 516px) 340px;
        column-gap: 12px;
        align-items: start;
        justify-content: center;
        padding: 0 48px;
    }
    /* accordion rows (Overview / Specifications / Reviews) */
    .product-page-skeleton::before {
        content: "";
        grid-column: 1;
        grid-row: 1;
        align-self: center;
        margin-right: 0;
        height: 150px;
        -webkit-mask: repeating-linear-gradient(#000 0 14px, transparent 14px 50px);
        mask: repeating-linear-gradient(#000 0 14px, transparent 14px 50px);
    }
    /* thumbnail column */
    .product-page-skeleton::after {
        content: "";
        grid-column: 2;
        grid-row: 1;
        height: 330px;
        -webkit-mask: repeating-linear-gradient(#000 0 80px, transparent 80px 86px);
        mask: repeating-linear-gradient(#000 0 80px, transparent 80px 86px);
    }
    .product-page-skeleton .product-page-image { grid-column: 3; grid-row: 1; }
    .product-page-skeleton .product-page-info { grid-column: 4; grid-row: 1; margin-left: 60px; }
}
@media (max-width: 991.98px) {
    .product-page-skeleton { flex-direction: column; gap: 20px; }
    .product-page-skeleton .product-page-image { max-width: 100%; }
}

/* beat the shared stylesheet's margin so the skeleton starts where the real content does */
.page-product div.product-page-skeleton {
    margin-top: 90px;
    margin-bottom: 80px;
}
@media (max-width: 991.98px) {
    .page-product div.product-page-skeleton { margin-top: 20px; }
}


/* ==========================================================================
   Shop - sub-category text bar ("See all | Jackets | Coats | ...")
   ========================================================================== */
.shop-subbar {
    padding: 18px 0 4px;
}
.shop-subbar-list {
    display: flex;
    align-items: center;
    gap: 36px;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
    padding: 6px 2px;
}
.shop-subbar-list::-webkit-scrollbar {
    display: none;
}
.shop-subbar-link {
    flex: 0 0 auto;
    font-size: 14px;
    color: #131313;
    text-decoration: none;
    padding-bottom: 4px;
    border-bottom: 1px solid transparent;
}
.shop-subbar-link:hover {
    border-bottom-color: #131313;
}
.shop-subbar-link.active {
    font-weight: 700;
}
@media (max-width: 767.98px) {
    .shop-subbar-list { gap: 24px; }
}

/* Filter group headings (Collection, Shoes | Bags, …) only expand/collapse */
.sidebar-filter .category-heading{cursor:default}
.sidebar-filter .category-heading:hover{color:inherit}

/* Shop sub-category bar: centered */
.shop-subbar-list{justify-content:center}
@media (max-width:767px){.shop-subbar-list{justify-content:flex-start}}

/* Sub-category bar as slider */
.shop-subbar-wrap{position:relative;display:flex;align-items:center;gap:8px}
.shop-subbar-list.swiper{flex:1 1 auto;min-width:0;display:block;overflow:hidden;padding:6px 2px}
.shop-subbar-list .swiper-slide{width:auto;flex-shrink:0}
.subbar-nav{flex:0 0 28px;width:28px;height:28px;border:0;border-radius:50%;background:#eee;color:#131313;font-size:18px;line-height:1;cursor:pointer;display:none;align-items:center;justify-content:center;padding:0}
.subbar-nav.swiper-button-disabled{opacity:.35;cursor:default}
@media (min-width:768px){.subbar-nav{display:flex}}

/* First-visit Woman / Man splash (shown after the logo loader) */
.gender-gate{position:fixed;inset:0;z-index:99999999;background:#131313;transition:opacity .5s ease}
.gender-gate.is-leaving{opacity:0;pointer-events:none}
html.gender-gate-open,html.gender-gate-open body{overflow:hidden}
.gender-gate-grid{display:grid;grid-template-columns:1fr 1fr;width:100%;height:100%}
.gender-gate-item{position:relative;display:block;overflow:hidden;color:#fff;text-decoration:none}
.gender-gate-item img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform 1.2s ease}
.gender-gate-item:hover img{transform:scale(1.04)}
.gender-gate-item::after{content:"";position:absolute;inset:0;background:rgba(0,0,0,.18);transition:background .3s}
.gender-gate-item:hover::after{background:rgba(0,0,0,.05)}
.gender-gate-title{position:absolute;z-index:2;left:0;right:0;top:50%;transform:translateY(-50%);text-align:center;font-size:clamp(34px,5vw,64px);font-weight:700;letter-spacing:.02em;text-transform:uppercase;color:#fff}
.gender-gate-logo{position:absolute;z-index:3;top:22px;left:50%;transform:translateX(-50%);pointer-events:none}
.gender-gate-logo img{height:56px;width:auto;filter:brightness(0) invert(1)}
.gender-gate-close{position:absolute;z-index:3;top:20px;right:24px;width:40px;height:40px;border:0;border-radius:50%;background:rgba(255,255,255,.18);color:#fff;font-size:26px;line-height:1;cursor:pointer}
.gender-gate-close:hover{background:rgba(255,255,255,.35)}
@media (max-width:767px){.gender-gate-logo img{height:40px}.gender-gate-close{top:14px;right:14px}}
.gender-gate-close{display:none}
.gender-gate-logo{top:28px}
.gender-gate-logo img{height:110px}
@media (max-width:767px){.gender-gate-logo{top:20px}.gender-gate-logo img{height:76px}}
.gender-gate-logo img{filter:none}

/* Drawer: New Arrivals / On Sale rows above the Woman / Man switcher */
#mobileMenu .nav-ul-mb .mb-collection-item .mb-menu-link{font-weight:600;padding:12px 20px;font-size:16px}
#mobileMenu .nav-ul-mb .mb-collection-item:last-of-type .mb-menu-link{padding-bottom:12px}

/* Shop filter: New Arrivals / On Sale quick buttons */
.filter-quick-list{display:flex;flex-wrap:wrap;gap:10px}
.filter-quick-btn{flex:1 1 auto;padding:10px 16px;border:1px solid #131313;background:#fff;color:#131313;font-size:14px;font-weight:500;cursor:pointer;transition:background .2s,color .2s}
.filter-quick-btn:hover,.filter-quick-btn.active{background:#131313;color:#fff}

/* ==========================================================================
   Mobile bottom tab bar - redesign: clean white bar, thin line icons, the
   current tab in black with a short bar above it, black cart badge.
   ========================================================================== */
@media (max-width: 1199.98px) {
    body .tf-toolbar-bottom {
        left: 0; right: 0; bottom: 0;
        padding: 6px 4px calc(6px + env(safe-area-inset-bottom, 0px));
        border: 0 !important;
        border-top: 1px solid #e6e6e6 !important;
        border-radius: 0 !important;
        background: rgba(255, 255, 255, .97) !important;
        -webkit-backdrop-filter: blur(12px);
        backdrop-filter: blur(12px);
        box-shadow: 0 -4px 18px rgba(0, 0, 0, .06);
    }
    body .tf-toolbar-bottom .toolbar-item a,
    body .tf-toolbar-bottom .toolbar-item:last-child a,
    body .tf-toolbar-bottom .toolbar-item:last-child a .toolbar-label {
        color: #8a8a8a !important;
        background: transparent !important;
        border-radius: 0;
        padding: 8px 2px 4px;
        gap: 4px;
    }
    body .tf-toolbar-bottom .toolbar-item a .toolbar-icon { width: 26px; height: 26px; }
    body .tf-toolbar-bottom .toolbar-item a .toolbar-icon svg { width: 24px; height: 24px; }
    body .tf-toolbar-bottom .toolbar-item a .toolbar-icon svg path { fill: none; }
    body .tf-toolbar-bottom .toolbar-item a .toolbar-label { font-size: 10.5px; font-weight: 500; letter-spacing: .3px; }
    body .tf-toolbar-bottom .toolbar-item.is-active a,
    body .tf-toolbar-bottom .toolbar-item.is-active a .toolbar-label { color: #131313 !important; }
    body .tf-toolbar-bottom .toolbar-item.is-active a .toolbar-label { font-weight: 700; }
    body .tf-toolbar-bottom .toolbar-item.is-active a::before {
        top: -7px; width: 26px; height: 2px; margin-left: -13px; border-radius: 0 0 2px 2px; background: #131313;
    }
    body .tf-toolbar-bottom .toolbar-item a:active { background: transparent !important; opacity: .6; }
    body .tf-toolbar-bottom .toolbar-item a .toolbar-count {
        top: -6px; right: -9px; width: 17px; height: 17px;
        background-color: #131313 !important; color: #fff !important;
        border: 2px solid #fff !important; box-sizing: content-box;
    }
    .xl-pb-70 { padding-bottom: 76px; }
    .whatsapp-float { bottom: 78px !important; }
}

/* Mobile tab bar: small animations */
@media (max-width: 1199.98px) {
    @keyframes tabbarSlideUp { from { transform: translateY(100%); opacity: 0; } to { transform: none; opacity: 1; } }
    @keyframes tabbarBar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
    @keyframes tabbarIconPop { 0% { transform: translateY(4px) scale(.8); } 55% { transform: translateY(-4px) scale(1.12); } 100% { transform: none; } }
    @keyframes tabbarBadge { 0% { transform: scale(0); } 60% { transform: scale(1.3); } 100% { transform: scale(1); } }

    body .tf-toolbar-bottom { animation: tabbarSlideUp .5s cubic-bezier(.22,1,.36,1) .15s both; }
    body .tf-toolbar-bottom .toolbar-item a .toolbar-icon { transition: transform .25s cubic-bezier(.34,1.56,.64,1); }
    body .tf-toolbar-bottom .toolbar-item a:active .toolbar-icon { transform: scale(.82); }
    body .tf-toolbar-bottom .toolbar-item a .toolbar-label { transition: color .2s ease; }
    body .tf-toolbar-bottom .toolbar-item.is-active a .toolbar-icon { animation: tabbarIconPop .55s cubic-bezier(.34,1.56,.64,1) .45s both; }
    body .tf-toolbar-bottom .toolbar-item.is-active a::before { transform-origin: center; animation: tabbarBar .4s ease .5s both; }
    body .tf-toolbar-bottom .toolbar-item a .toolbar-count { animation: tabbarBadge .4s cubic-bezier(.34,1.56,.64,1) both; }
}
@media (prefers-reduced-motion: reduce) {
    body .tf-toolbar-bottom, body .tf-toolbar-bottom * , body .tf-toolbar-bottom .toolbar-item a::before { animation: none !important; transition: none !important; }
}

/* ==========================================================================
   Woman / Man landing pages (Pull&Bear-style)
   ========================================================================== */
.gender-page{display:block}
.gp-hero{position:relative;width:100%;height:calc(100vh - 112px);min-height:480px;max-height:900px;overflow:hidden;background:#d8c4ad}
.gp-hero picture,.gp-hero img{display:block;width:100%;height:100%}
.gp-hero img{object-fit:cover}
.gp-hero-copy{position:absolute;left:5%;bottom:12%;color:#fff;max-width:560px}
.gender-man .gp-hero-copy,.gender-woman .gp-hero-copy{color:#131313}
.gp-hero-copy h1{font-size:clamp(40px,6.2vw,96px);line-height:.95;font-weight:800;text-transform:uppercase;letter-spacing:-.01em;margin:0 0 24px}
.gp-btn{display:inline-block;padding:14px 34px;border:1px solid #131313;background:#fff;color:#131313;font-size:13px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;text-decoration:none;transition:background .25s,color .25s}
.gp-btn:hover{background:#131313;color:#fff}
.gp-btn-dark{background:#131313;color:#fff}
.gp-btn-dark:hover{background:#fff;color:#131313}
.gp-tiles{padding:4px 0 0}
.gp-tiles-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:4px}
.gp-tile{position:relative;display:block;aspect-ratio:3/4;overflow:hidden;background:#eee}
.gp-tile img{width:100%;height:100%;object-fit:cover;transition:transform .8s ease}
.gp-tile:hover img{transform:scale(1.05)}
.gp-tile-label{position:absolute;left:0;right:0;bottom:22px;text-align:center;color:#131313;font-size:15px;font-weight:700;letter-spacing:.14em;text-transform:uppercase}
.gp-banners{display:grid;grid-template-columns:1fr 1fr;gap:4px;margin-top:4px}
.gp-banner{position:relative;display:block;aspect-ratio:4/5;overflow:hidden;background:#eee;color:#131313;text-decoration:none}
.gp-banner img{width:100%;height:100%;object-fit:cover;transition:transform .8s ease}
.gp-banner:hover img{transform:scale(1.04)}
.gp-banner-copy{position:absolute;left:0;right:0;top:7%;display:flex;flex-direction:column;align-items:center;gap:14px;text-align:center}
.gp-banner-copy strong{font-size:clamp(24px,3.2vw,44px);font-weight:800;text-transform:uppercase;line-height:1}
.gp-banner-cta{font-size:12px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;border-bottom:1px solid #131313;padding-bottom:3px}
.gp-products{margin-top:50px}
.gp-products-head{display:flex;align-items:baseline;justify-content:space-between;margin-bottom:24px}
.gp-products-head .title{margin:0;font-size:22px;font-weight:700;text-transform:uppercase;letter-spacing:.08em}
.gp-link{font-size:13px;color:#131313;text-decoration:underline}
.gp-shopall{text-align:center;padding:30px 0 70px}
@media (max-width:767px){
  .gp-hero{height:calc(100vh - 150px);min-height:420px}
  .gp-hero-copy{left:6%;bottom:9%}
  .gp-tiles-grid{grid-template-columns:repeat(2,1fr)}
  .gp-banners{grid-template-columns:1fr}
  .gp-tile-label{bottom:14px;font-size:13px}
}

/* Tab bar: every tab is icon box + label, top-aligned identically (the Cart tab has no href and carries a badge) */
body .tf-toolbar-bottom .toolbar-item{display:flex;align-items:flex-start;justify-content:center}
body .tf-toolbar-bottom .toolbar-item a{justify-content:flex-start;height:100%;cursor:pointer}
body .tf-toolbar-bottom .toolbar-item a .toolbar-icon{position:relative !important;flex:0 0 26px;height:26px;display:flex;align-items:center;justify-content:center}
body .tf-toolbar-bottom .toolbar-item a .toolbar-icon svg{display:block;flex:none}
body .tf-toolbar-bottom .toolbar-item a .toolbar-count{position:absolute !important;top:-6px;right:-9px}
body .tf-toolbar-bottom .toolbar-item a .toolbar-label{margin:0;line-height:14px}
body .tf-toolbar-bottom .toolbar-item a .toolbar-label{line-height:14px !important;height:14px !important;flex:none !important}
body .tf-toolbar-bottom .toolbar-item a .toolbar-label{padding:0 !important;margin:0 !important}

/* Product gallery on phones/tablets: big image on top, thumbnails in a row underneath
   (the side column is desktop-only). */
@media (max-width: 1199.98px) {
    .page-product .product-thumbs-slider.thumbs-bottom {
        flex-direction: column;
        gap: 10px;
        align-items: stretch;
    }
    .page-product .product-thumbs-slider .flat-wrap-media-product { width: 100%; }
    .page-product .tf-product-media-main { width: 100%; flex: none; }
    .page-product .tf-product-media-thumbs {
        order: 1;
        flex: none;
        width: 100% !important;
        max-height: none;
        overflow-x: auto;
        overflow-y: hidden;
    }
    .page-product .tf-product-media-thumbs .swiper-wrapper {
        flex-direction: row;
        gap: 8px;
        width: max-content;
    }
    .page-product .tf-product-media-thumbs .swiper-slide {
        width: 64px !important;
        flex: 0 0 64px;
    }
}

/* Home page = Woman / Man chooser, filling the screen under the header */
.home-chooser{height:calc(100vh - 112px);min-height:460px}
.home-chooser-grid{display:grid;grid-template-columns:1fr 1fr;width:100%;height:100%}
@media (max-width:767px){.home-chooser{height:calc(100vh - 150px)}}

/* Woman / Man pages: 3-up category banners + wide banner */
.gp-collections{display:grid;grid-template-columns:repeat(3,1fr);gap:4px;margin-top:4px}
.gp-col{aspect-ratio:4/5}
.gp-col-copy{top:auto;bottom:6%}
.gp-col-copy strong{font-size:clamp(20px,2.4vw,34px)}
.gp-wide{position:relative;display:block;margin-top:4px;overflow:hidden;color:#131313;text-decoration:none;background:#eee}
.gp-wide img{display:block;width:100%;height:auto;aspect-ratio:3/1;object-fit:cover;transition:transform .8s ease}
.gp-wide:hover img{transform:scale(1.03)}
.gp-wide-copy{position:absolute;left:0;right:0;top:50%;transform:translateY(-50%);display:flex;flex-direction:column;align-items:center;gap:14px;text-align:center;padding:0 5%}
.gp-wide-copy strong{font-size:clamp(22px,3.6vw,54px);font-weight:800;text-transform:uppercase;line-height:1;background:rgba(255,255,255,.82);padding:10px 22px}
@media (max-width:767px){
  .gp-collections{grid-template-columns:1fr}
  .gp-col{aspect-ratio:1/1}
  .gp-wide img{aspect-ratio:3/2}
}
.gp-col-copy{left:50%;right:auto;transform:translateX(-50%);white-space:nowrap}
.gp-col-copy strong{background:rgba(255,255,255,.85);padding:8px 18px}

/* Home page = full-screen Woman / Man chooser with the header floating over it (no strip, no footer) */
body.page-home .tf-topbar{display:none !important}
body.page-home footer#footer{display:none !important}
body.page-home #header.header-bijoule,
body.page-home #header.header-bijoule.header-bg{
    position:absolute;top:0;left:0;right:0;width:100%;background:transparent !important;border:0 !important;box-shadow:none !important;z-index:20}
body.page-home .home-chooser{height:100vh;min-height:520px}
body.page-home .home-chooser .gender-gate-title{font-size:clamp(34px,5vw,72px)}
body.page-home .xl-pb-70{padding-bottom:0}
@media (max-width:767px){body.page-home .home-chooser{height:100vh;height:100svh}}

/* Search popup field: editorial underline input + round black submit button */
.popup-search .form-search{position:relative}
.popup-search .form-search fieldset.text{margin:0}
.popup-search .form-search input#search-input{
    width:100%;height:68px;padding:0 72px 0 4px;border:0 !important;border-bottom:2px solid #131313 !important;
    border-radius:0 !important;background:transparent !important;box-shadow:none !important;
    font-size:clamp(18px,2.2vw,26px);font-weight:500;color:#131313;letter-spacing:.01em;transition:border-color .2s}
.popup-search .form-search input#search-input::placeholder{color:#9a9a9a;font-weight:400}
.popup-search .form-search input#search-input:focus{outline:none;border-bottom-color:#131313}
.popup-search .form-search button[type="submit"]{
    position:absolute;right:0;top:12px;transform:none;width:44px;height:44px;border-radius:50%;
    background:#131313;color:#fff;display:flex;align-items:center;justify-content:center;transition:transform .2s,background .2s}
.popup-search .form-search button[type="submit"] .icon{font-size:18px;color:#fff}
.popup-search .form-search button[type="submit"]:hover{transform:scale(1.08)}
html[dir='rtl'] .popup-search .form-search input#search-input{padding:0 4px 0 72px}
html[dir='rtl'] .popup-search .form-search button[type="submit"]{right:auto;left:0}

/* Woman / Man switcher fixed on the left edge */
.gender-switch{position:fixed;left:0;top:50%;transform:translateY(-50%);z-index:900;display:flex;flex-direction:column;gap:8px;
    animation:gsIn .6s cubic-bezier(.22,1,.36,1) .6s both}
body.page-home .gender-switch{display:none}
.gender-switch-btn{display:flex;align-items:center;gap:8px;height:44px;min-width:44px;padding:0 12px;background:#fff;color:#131313;
    border:1px solid #d9d9d9;border-left:0;border-radius:0 10px 10px 0;box-shadow:0 4px 14px rgba(0,0,0,.08);text-decoration:none;
    overflow:hidden;transition:background .25s,color .25s,transform .3s cubic-bezier(.34,1.56,.64,1),box-shadow .25s}
.gender-switch-btn svg{width:22px;height:22px;flex:0 0 22px;transition:transform .3s}
.gender-switch-btn span{max-width:0;opacity:0;white-space:nowrap;font-size:13px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;
    transition:max-width .35s ease,opacity .25s ease}
.gender-switch-btn:hover{transform:translateX(4px);box-shadow:0 6px 18px rgba(0,0,0,.14)}
.gender-switch-btn:hover span,.gender-switch-btn.is-active span{max-width:80px;opacity:1}
.gender-switch-btn:hover svg{transform:scale(1.1)}
.gender-switch-btn.is-active{background:#131313;color:#fff;border-color:#131313}
@keyframes gsIn{from{transform:translate(-100%,-50%);opacity:0}to{transform:translate(0,-50%);opacity:1}}
@media (max-width:767px){.gender-switch{top:42%}.gender-switch-btn{height:38px;min-width:38px;padding:0 9px}.gender-switch-btn.is-active span{max-width:0;opacity:0}}
@media (prefers-reduced-motion:reduce){.gender-switch{animation:none}.gender-switch-btn,.gender-switch-btn *{transition:none}}
.gender-switch{gap:6px}
.gender-switch-btn{height:38px;min-width:38px;padding:0 8px}
.gender-switch-btn svg{width:20px;height:20px;flex-basis:20px}
.gender-switch-btn.is-active span{max-width:0;opacity:0}
.gender-switch-btn:hover span{max-width:80px;opacity:1}

/* Woman / Man switcher: right edge */
.gender-switch{left:auto;right:0;align-items:flex-end;animation-name:gsInRight}
.gender-switch-btn{flex-direction:row-reverse;border:1px solid #d9d9d9;border-right:0;border-radius:10px 0 0 10px}
.gender-switch-btn.is-active{border-color:#131313}
.gender-switch-btn:hover{transform:translateX(-4px)}
@keyframes gsInRight{from{transform:translate(100%,-50%);opacity:0}to{transform:translate(0,-50%);opacity:1}}

/* Shop filter: Woman / Man tabs - only the chosen side's categories are listed, groups always open */
.filter-gender-tabs{display:flex;gap:6px;margin:4px 0 14px}
.filter-gender-tab{flex:1 1 0;padding:9px 0;border:1px solid #131313;background:#fff;color:#131313;font-size:13px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;cursor:pointer;transition:background .2s,color .2s}
html[data-filter-gender="woman"] .filter-gender-tab[data-g="woman"],
html[data-filter-gender="man"] .filter-gender-tab[data-g="man"]{background:#131313;color:#fff}
html[data-filter-gender="woman"] .sidebar-filter .list-categories > .cate-item[data-root="man"],
html[data-filter-gender="man"] .sidebar-filter .list-categories > .cate-item[data-root="woman"]{display:none}
.sidebar-filter .list-categories > .cate-item[data-root] > .category-toggle{display:none}
.sidebar-filter .list-categories > .cate-item[data-root] > .subcategory-list{display:block !important;margin:0;padding:0;border-left:0}

/* Colour swatches: square (shop filter + product cards) instead of round dots */
.sidebar-filter .filter-color-box{gap:10px}
.sidebar-filter .filter-color-box .color-item{width:30px;height:30px;border-radius:0;border:1px solid #d6d6d3;padding:0;overflow:hidden;background:#fff}
.sidebar-filter .filter-color-box .color-item .color{border-radius:0}
.sidebar-filter .filter-color-box .color-item:hover{border-color:#131313}
.sidebar-filter .filter-color-box .color-item.active{padding:3px;border:1px solid #131313 !important}
.list-color-product .list-color-item,
.list-color-product .list-color-item .swatch-value{border-radius:0 !important}
.list-color-product .list-color-item{border:1px solid #d6d6d3}
.list-color-product .list-color-item.active{border-color:#131313}

/* Selected colour: clear little frame with a white gap around the swatch */
.sidebar-filter .filter-color-box .color-item{box-sizing:border-box;transition:border-color .2s,padding .2s}
.sidebar-filter .filter-color-box .color-item.active{padding:3px !important;border:2px solid #131313 !important;background:#fff !important}

/* Product page: selected colour gets the same clear frame (white gap + 2px black border) */
.page-product .variant-picker-values .color-btn,
.page-product .variant-color .color-btn {
    width: 28px !important;
    height: 28px !important;
    box-sizing: border-box;
    padding: 3px !important;
    background: #fff;
    transition: border-color .2s;
}
.page-product .variant-picker-values .color-btn:hover,
.page-product .variant-color .color-btn:hover { border-color: #131313 !important; }
.page-product .variant-picker-values .color-btn.active,
.page-product .variant-color .color-btn.active {
    border: 2px solid #131313 !important;
}
/* the theme sizes the inner colour block at 32px with its own grey border, which painted over the frame */
.page-product .variant-picker-values .color-btn .check-color,
.page-product .variant-color .color-btn .check-color {
    width: 100% !important;
    height: 100% !important;
    flex: 1 1 auto !important;
    border: 0 !important;
    border-radius: 0 !important;
}

/* Quantity picker: "+" greys out at the stock limit, with a small note */
.wg-quantity .btn-quantity:disabled{opacity:.35;cursor:not-allowed}
.qty-max-note{margin-top:8px;font-size:12px;color:#8a5a00}

/* Product page: larger title and price */
.page-product .tf-product-heading .product-name { font-size: 20px !important; line-height: 1.3; }
.page-product .tf-product-heading .product-price .price-new { font-size: 22px !important; }
.page-product .tf-product-heading .product-price .price-old { font-size: 16px !important; }
.page-product .tf-product-heading .badge-sale { font-size: 12px; padding: 4px 10px; }
.page-product .tf-product-heading .product-price { margin: 12px 0 20px; align-items: center; }

/* Out-of-stock / unavailable size: same diagonal-stripe look as the out-of-stock colour swatch */
.page-product .variant-picker-values .size-btn-custom.out-of-stock,
.page-product .variant-picker-values .size-btn-custom.disabled {
    position: relative;
    overflow: hidden;
    opacity: 1;
    text-decoration: none;
    color: #131313;
}
.page-product .variant-picker-values .size-btn-custom.out-of-stock::after,
.page-product .variant-picker-values .size-btn-custom.disabled::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background-image: repeating-linear-gradient(135deg, rgba(0,0,0,1) 0 2px, rgba(0,0,0,0) 2px 10px);
}
.page-product .variant-picker-values .size-btn-custom.out-of-stock.active { color: #fff; }
.page-product .variant-picker-values .size-btn-custom.out-of-stock.active::after {
    background-image: repeating-linear-gradient(135deg, rgba(255,255,255,1) 0 2px, rgba(255,255,255,0) 2px 10px);
}

/* Search suggestions: thumbnail + name/price */
.search-results-container .result-link{display:flex;align-items:center;gap:12px}
.search-results-container .result-thumb{flex:0 0 52px;width:52px;height:64px;object-fit:cover;background:#f1f1f0}
.search-results-container .result-info{min-width:0}
.search-results-container .result-name{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.search-results-container{max-height:360px}
/* keep the Woman / Man switcher clear of the Sort dropdown at the top of the product grid */
.gender-switch{top:62%}
