/* 400 storefront refresh — isolated overrides for easy rollback. */

.announcement-bar {
    min-height: 48px;
    display: flex;
    align-items: center;
}

.announcement-bar .wrap-announcement-bar {
    width: 100%;
    padding-inline: 48px;
}

.announcement-bar .box-sw-announcement-bar {
    max-width: 100%;
}

.announcement-bar .announcement-bar-item p {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
}

/* Header */
.header-refresh {
    position: relative;
    z-index: 888;
    background: #fff;
    border-bottom: 1px solid rgba(17, 17, 17, .1);
}

.header-refresh .main-header {
    background: #fff !important;
}

/* Homepage glass header: overlays the hero while retaining the white identity. */
.home-redesign #header.header-refresh {
    --home-header-height: 80px;
    position: sticky;
    top: 0;
    width: 100%;
    margin-bottom: calc(0px - var(--home-header-height));
    border-bottom-color: rgba(255, 255, 255, .55);
    background: rgba(255, 255, 255, .78);
    box-shadow: 0 10px 32px rgba(17, 17, 17, .07);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    backdrop-filter: blur(18px) saturate(140%);
}

.home-redesign #header.header-refresh .main-header {
    background: transparent !important;
}

.home-redesign #header.header-refresh.header-bg {
    border-bottom-color: rgba(17, 17, 17, .08);
    background: rgba(255, 255, 255, .9);
    box-shadow: 0 12px 34px rgba(17, 17, 17, .1);
}

.header-refresh .header-refresh-row {
    min-height: 82px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: clamp(20px, 2vw, 38px);
}

.header-refresh .header-brand,
.header-refresh .header-actions,
.header-refresh .nav-icon,
.header-refresh .box-nav-ul {
    display: flex;
    align-items: center;
}

.header-refresh .header-brand {
    min-width: 0;
    display: flex;
    align-items: center;
    justify-self: start;
}

.header-refresh .logo-header {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    padding: 0;
}

.header-refresh .logo-header img.logo {
    display: block;
    width: clamp(128px, 10.5vw, 166px);
    height: 48px;
    max-width: none;
    object-fit: contain;
}

.header-refresh .header-primary-nav {
    min-width: 0;
    justify-self: center;
}

.header-refresh .box-nav-ul {
    gap: clamp(16px, 1.55vw, 28px);
    white-space: nowrap;
}

.header-refresh .box-nav-ul .menu-item {
    padding: 0 !important;
}

.header-refresh .box-nav-ul .item-link {
    min-height: 82px;
    font-size: 13px !important;
    font-weight: 600 !important;
    letter-spacing: .015em;
}

.home-redesign #header.header-refresh .header-refresh-row,
.home-redesign #header.header-refresh .box-nav-ul .item-link {
    min-height: var(--home-header-height);
}

.home-redesign #header.header-refresh .logo-header img.logo {
    width: clamp(132px, 10vw, 160px);
    height: 46px;
}

.home-redesign #header.header-refresh .box-nav-ul .item-link {
    font-size: 13px !important;
}

.home-redesign #header.header-refresh .market-switcher__trigger {
    min-height: 40px;
    padding: 5px 10px;
}

.home-redesign #header.header-refresh .market-switcher__globe {
    width: 26px;
    height: 26px;
}

.header-refresh .header-actions {
    flex: 0 0 auto;
    justify-self: end;
    gap: clamp(14px, 1.4vw, 24px);
}

.header-refresh .market-switcher {
    position: relative;
    flex: 0 0 auto;
}

.header-refresh .market-switcher__trigger {
    min-height: 44px;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 6px 12px;
    border: 1px solid rgba(17, 17, 17, .16);
    border-radius: 10px;
    background: #fff;
    color: #111;
    box-shadow: 0 3px 12px rgba(17, 17, 17, .055);
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.header-refresh .market-switcher__trigger:hover,
.header-refresh .market-switcher__trigger[aria-expanded="true"] {
    transform: translateY(-1px);
    border-color: rgba(17, 17, 17, .4);
    box-shadow: 0 8px 22px rgba(17, 17, 17, .11);
}

.header-refresh .market-switcher__globe,
.header-refresh .market-switcher__chevron {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.header-refresh .market-switcher__globe {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: #111;
    color: #ffe293;
}

.header-refresh .market-switcher__globe svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.45;
}

.header-refresh .market-switcher__country {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.header-refresh .market-switcher__country img {
    width: 18px;
    height: 13px;
    object-fit: cover;
    border: 1px solid rgba(17, 17, 17, .15);
    border-radius: 2px;
}

.header-refresh .market-switcher__language,
.header-refresh .market-switcher__currency {
    min-width: 27px;
    text-align: center;
    letter-spacing: .045em;
}

.header-refresh .market-switcher__separator {
    width: 1px;
    height: 18px;
    background: rgba(17, 17, 17, .14);
}

.header-refresh .market-switcher__chevron svg {
    width: 10px;
    height: 7px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.5;
    transition: transform .2s ease;
}

.header-refresh .market-switcher__trigger[aria-expanded="true"] .market-switcher__chevron svg {
    transform: rotate(180deg);
}

.header-refresh .market-switcher__panel[hidden] {
    display: none !important;
}

.header-refresh .market-switcher__panel {
    position: absolute;
    top: calc(100% + 12px);
    inset-inline-end: 0;
    z-index: 1005;
    width: 350px;
    padding: 20px;
    overflow: hidden;
    border: 1px solid rgba(17, 17, 17, .1);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 22px 60px rgba(17, 17, 17, .18);
}

.header-refresh .market-switcher__panel::before {
    content: "";
    position: absolute;
    top: 0;
    inset-inline: 0;
    height: 3px;
    background: #ffe293;
}

.header-refresh .market-switcher__panel-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}

.header-refresh .market-switcher__panel-head > div {
    display: grid;
    gap: 5px;
}

.header-refresh .market-switcher__eyebrow {
    color: #8b8b8b;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.header-refresh .market-switcher__panel-head strong {
    color: #111;
    font-size: 17px;
    font-weight: 700;
}

.header-refresh .market-switcher__close {
    width: 30px;
    height: 30px;
    border: 0;
    border-radius: 50%;
    background: #f2f2f2;
    color: #111;
    font-size: 20px;
    line-height: 1;
}

.header-refresh .market-switcher__section {
    display: grid;
    gap: 9px;
}

.header-refresh .market-switcher__section-title {
    color: #777;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .04em;
}

.header-refresh .market-switcher__country-options {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
}

.header-refresh .market-switcher__country-option {
    min-height: 70px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 9px 6px;
    border: 1px solid #e6e6e6;
    border-radius: 9px;
    background: #fff;
    color: #333;
    font-size: 11px;
    font-weight: 650;
}

.header-refresh .market-switcher__country-option:hover,
.header-refresh .market-switcher__country-option.is-active {
    border-color: #111;
    color: #111;
}

.header-refresh .market-switcher__country-option.is-active {
    background: #faf9f5;
}

.header-refresh .market-switcher__country-option img {
    width: 28px;
    height: 19px;
    object-fit: cover;
    border: 1px solid rgba(17, 17, 17, .12);
    border-radius: 2px;
}

.header-refresh .market-switcher__country-option svg {
    position: absolute;
    top: 7px;
    inset-inline-end: 7px;
    width: 14px;
    height: 14px;
    fill: none;
    stroke: #111;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.header-refresh .market-switcher__preferences-grid {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 16px;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid #ececec;
}

.header-refresh .market-switcher__choice-group {
    display: flex;
    gap: 6px;
}

.header-refresh .market-switcher__choice {
    min-width: 38px;
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 9px;
    border: 1px solid #dfdfdf;
    border-radius: 7px;
    background: #fff;
    color: #555;
    font-size: 10px;
    font-weight: 750;
    letter-spacing: .045em;
}

.header-refresh .market-switcher__choice:hover,
.header-refresh .market-switcher__choice.is-active {
    border-color: #111;
    background: #111;
    color: #fff;
}

.header-refresh .market-switcher__status {
    min-height: 16px;
    margin: 12px 0 0;
    color: #b42318;
    font-size: 11px;
    line-height: 1.4;
}

.header-refresh .market-switcher.is-saving .market-switcher__choice,
.header-refresh .market-switcher.is-saving .market-switcher__close {
    pointer-events: none;
    opacity: .55;
}

.header-refresh .nav-icon {
    justify-content: flex-end;
    gap: clamp(12px, 1.25vw, 20px);
    margin: 0;
}

.header-refresh .nav-icon .nav-icon-item {
    min-width: 24px;
    min-height: 38px;
    align-items: center;
    justify-content: center;
}

#header.header-refresh .nav-icon .count-box {
    top: 0 !important;
    right: auto !important;
    left: auto !important;
    inset-inline-end: -6px !important;
    min-width: 16px !important;
    width: 16px !important;
    height: 16px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 50% !important;
    background-color: #ffe293 !important;
    color: #111 !important;
    font-size: 8px !important;
    font-weight: 800 !important;
    line-height: 16px !important;
    box-shadow: none !important;
    text-align: center;
}

#header.header-refresh .nav-icon .count-box.is-empty {
    display: none !important;
}

.header-refresh .nav-icon li:last-child .nav-icon-item {
    margin: 0;
}

.header-refresh .header-mobile-menu {
    display: none;
}

/* Hero */
.slider-home-2,
.slider-home-2 .tf-sw-slideshow,
.slider-home-2 .swiper-wrapper,
.slider-home-2 .swiper-slide,
.slider-home-2 .wrap-slider {
    height: calc(100svh - 48px) !important;
    min-height: 720px;
    max-height: 1180px;
}

.slider-home-2 .wrap-slider {
    position: relative;
    margin: 0;
    overflow: hidden;
    background: #111;
}

.slider-home-2 .wrap-slider::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(0, 0, 0, .06) 30%, rgba(0, 0, 0, .48) 100%);
    pointer-events: none;
}

.slider-home-2 .wrap-slider > img,
.slider-home-2 .wrap-slider > video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-hero-content {
    position: absolute;
    inset-inline: clamp(24px, 5vw, 84px);
    bottom: clamp(52px, 8vh, 96px);
    z-index: 2;
    max-width: 680px;
    color: #fff;
}

.home-hero-kicker {
    margin-bottom: 12px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .22em;
}

.home-hero-content h1 {
    margin: 0;
    color: inherit;
    font-size: clamp(38px, 5vw, 74px);
    font-weight: 500;
    line-height: 1.04;
    letter-spacing: -.025em;
}

.home-hero-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 150px;
    min-height: 48px;
    margin-top: 28px;
    padding: 12px 24px;
    border: 1px solid #fff;
    background: #fff;
    color: #111;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .04em;
    transition: background-color .25s ease, color .25s ease;
}

.home-hero-cta:hover {
    background: transparent;
    color: #fff;
}

/* Editorial category entrances */
.home-category-portals {
    width: 100%;
    padding: 8px;
    background: #fff;
}

.home-category-portals__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 8px;
}

.home-category-portal {
    position: relative;
    display: block;
    min-height: 0;
    overflow: hidden;
    background: #ececec;
    color: #fff;
}

.home-category-portal__media {
    position: relative;
    display: block;
    width: 100%;
}

.home-category-portal__media img {
    position: relative;
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    transition: transform .8s cubic-bezier(.2, .65, .3, 1);
}

.home-category-portal__overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.home-category-portal__overlay {
    z-index: 1;
    background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, .58) 100%);
}

.home-category-portal__content {
    position: absolute;
    inset-inline: clamp(24px, 4vw, 58px);
    bottom: clamp(28px, 4vw, 56px);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
}

.rtl .home-category-portal__content {
    align-items: flex-start;
}

.home-category-portal__title {
    color: #fff;
    font-size: clamp(30px, 3vw, 52px);
    font-weight: 500;
    line-height: 1.08;
}

.home-category-portal__link {
    padding-bottom: 5px;
    border-bottom: 1px solid currentColor;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .04em;
}

@media (hover: hover) {
    .home-category-portal:hover .home-category-portal__media img {
        transform: scale(1.035);
    }
}

/* Product sections between the editorial entrances */
.home-redesign .flat-seller {
    padding: clamp(64px, 8vw, 118px) 0 !important;
}

.home-redesign .flat-seller .home-product-container {
    width: 100%;
    max-width: none;
    padding-inline: clamp(16px, 2.1vw, 40px);
}

.home-redesign .flat-seller .grid-layout {
    column-gap: clamp(12px, 1.25vw, 24px);
}

.home-redesign .flat-seller .flat-title {
    margin-bottom: clamp(28px, 3vw, 46px);
}

.home-redesign .flat-seller .flat-title .title {
    font-size: clamp(28px, 3vw, 44px);
    font-weight: 500;
    letter-spacing: -.02em;
}

/* Compact footer social links */
.footer .footer-social-list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    max-width: none;
}

.footer .footer-social-list li {
    display: inline-flex;
}

.footer .footer-social-link {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .12);
    color: #fff;
    transition: transform .2s ease, background-color .2s ease, color .2s ease;
}

.footer .footer-social-link:hover {
    transform: translateY(-2px);
    background: #ffe293;
    color: #111;
}

.footer .footer-social-link__icon {
    width: 100%;
    height: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: inherit;
}

.footer .footer-social-link__icon .icon {
    font-size: 16px;
}

/* Store settings remain easy to reach in the mobile drawer. */
.mobile-market-panel {
    display: grid;
    gap: 0;
    margin: 20px 0 28px;
    padding: 4px 16px;
    border: 1px solid rgba(17, 17, 17, .12);
    background: #fafafa;
}

.mobile-market-panel__field,
.mobile-market-panel__language {
    min-height: 54px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border-bottom: 1px solid rgba(17, 17, 17, .1);
    color: #111;
    font-size: 12px;
    font-weight: 600;
}

.mobile-market-panel > :last-child {
    border-bottom: 0;
}

.mobile-market-panel__field .bootstrap-select,
.mobile-market-panel__field > select {
    width: 132px !important;
}

.mobile-market-panel__field .bootstrap-select > .dropdown-toggle,
.mobile-market-panel__field > select {
    min-height: 38px;
    border: 0;
    background: transparent;
    box-shadow: none;
    font-size: 11px;
    font-weight: 700;
}

/* Mobile market selects: country + currency */
.mobile-market-panel .bootstrap-select .filter-option-inner-inner,
.mobile-market-panel .bootstrap-select .dropdown-menu li a .text {
    display: flex !important;
    align-items: center !important;
    gap: 9px !important;
    white-space: nowrap;
    font-size: 12px;
    font-weight: 600;
    color: #111;
}

/* Country flags */
.mobile-market-panel .bootstrap-select.country-select .filter-option-inner-inner img,
.mobile-market-panel .bootstrap-select.country-select .dropdown-menu li a .text img,
.mobile-market-panel .bootstrap-select.country-select .dropdown-menu li a img {
    width: 28px !important;
    min-width: 28px !important;
    max-width: 28px !important;
    height: 18px !important;
    max-height: 18px !important;
    object-fit: contain !important;
    flex: 0 0 28px !important;
    border-radius: 2px;
    border: 1px solid rgba(0, 0, 0, .12);
    background: #fff;
}

/* Stable arrow - do not use the generic icomoon arrow here */
.mobile-market-panel .bootstrap-select > .dropdown-toggle::after {
    content: "" !important;
    display: block !important;
    width: 0 !important;
    height: 0 !important;
    border-left: 4px solid transparent !important;
    border-right: 4px solid transparent !important;
    border-top: 5px solid #222 !important;
    border-bottom: 0 !important;
    position: absolute !important;
    left: 9px !important;
    right: auto !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    margin: 0 !important;
    opacity: 1 !important;
}

/* Dropdown panel */
.mobile-market-panel .bootstrap-select > .dropdown-menu {
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    padding: 5px !important;
    margin-top: 5px !important;
    border: 1px solid rgba(17, 17, 17, .14) !important;
    border-radius: 8px !important;
    background: #fff !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .10) !important;
}

/* Dropdown rows */
.mobile-market-panel .bootstrap-select .dropdown-menu li a {
    min-height: 38px !important;
    display: flex !important;
    align-items: center !important;
    padding: 7px 9px !important;
    border-radius: 5px !important;
    background: #fff !important;
    color: #111 !important;
    font-size: 12px !important;
}

/* Selected / active row */
.mobile-market-panel .bootstrap-select .dropdown-menu li.selected > a,
.mobile-market-panel .bootstrap-select .dropdown-menu li.active > a,
.mobile-market-panel .bootstrap-select .dropdown-menu li a:active {
    background: #f2f2f2 !important;
    color: #111 !important;
}

/* Hover */
.mobile-market-panel .bootstrap-select .dropdown-menu li a:hover {
    background: #f6f6f6 !important;
    color: #111 !important;
}
/* ---------------------------------------------------------
   Mobile market panel — locale-aware direction
--------------------------------------------------------- */

/* Arabic: label right, selector value left, arrow left */
html[dir="rtl"] .mobile-market-panel__field,
html[dir="rtl"] .mobile-market-panel__language {
    direction: rtl;
}

html[dir="rtl"] .mobile-market-panel .bootstrap-select > .dropdown-toggle {
    padding-left: 24px !important;
    padding-right: 8px !important;
}

html[dir="rtl"] .mobile-market-panel .bootstrap-select > .dropdown-toggle::after {
    left: 9px !important;
    right: auto !important;
}

/* English: label left, selector value right, arrow right */
html[dir="ltr"] .mobile-market-panel__field,
html[dir="ltr"] .mobile-market-panel__language {
    direction: ltr;
}

html[dir="ltr"] .mobile-market-panel .bootstrap-select > .dropdown-toggle {
    padding-left: 8px !important;
    padding-right: 24px !important;
}

html[dir="ltr"] .mobile-market-panel .bootstrap-select > .dropdown-toggle::after {
    left: auto !important;
    right: 9px !important;
}

/* Keep selected value clean in both directions */
.mobile-market-panel .bootstrap-select .filter-option {
    width: 100%;
}

html[dir="rtl"] .mobile-market-panel .bootstrap-select .filter-option-inner-inner {
    justify-content: flex-start;
}

html[dir="ltr"] .mobile-market-panel .bootstrap-select .filter-option-inner-inner {
    justify-content: flex-start;
}


/* ---------------------------------------------------------
   Mobile drawer — Quick links
--------------------------------------------------------- */

.canvas-mb .mb-bottom {
    margin-top: 22px;
}

.canvas-mb .mb-other-content {
    padding: 18px 0 8px;
    border-top: 1px solid rgba(17, 17, 17, .10);
}

.canvas-mb .mb-other-content .tf-search-content-title {
    margin: 0 0 12px;
    font-size: 11px;
    font-weight: 700;
    color: #888;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.canvas-mb .tf-quicklink-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 18px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.canvas-mb .tf-quicklink-item {
    margin: 0;
    border-bottom: 1px solid rgba(17, 17, 17, .06);
}

.canvas-mb .tf-quicklink-item a {
    display: block;
    padding: 9px 0;
    color: #555;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.35;
    text-decoration: none;
}

.canvas-mb .tf-quicklink-item a:hover {
    color: #111;
}

html[dir="rtl"] .canvas-mb .mb-other-content {
    text-align: right;
}

html[dir="ltr"] .canvas-mb .mb-other-content {
    text-align: left;
}

.mobile-market-panel__value {
    color: #929292;
    letter-spacing: .06em;
}

.mobile-market-panel__value .is-active {
    color: #111;
}

@media (max-width: 1399px) {
    .home-redesign #header.header-refresh {
        --home-header-height: 70px;
    }

    .header-refresh .header-refresh-row {
        display: grid;
        grid-template-columns: 44px minmax(0, 1fr) auto;
        gap: 12px;
        min-height: 80px;
    }

    .header-refresh .header-mobile-menu {
        display: flex;
        align-items: center;
        justify-content: flex-start;
    }

    .header-refresh .header-mobile-menu a {
        display: inline-flex;
        min-width: 40px;
        min-height: 44px;
        align-items: center;
        justify-content: center;
    }

    .header-refresh .header-brand {
        justify-content: center;
    }

    .header-refresh .header-primary-nav,
    .header-refresh .market-switcher {
        display: none;
    }

    .header-refresh .logo-header img.logo {
        width: min(158px, 35vw);
        height: 44px;
    }

    .home-redesign #header.header-refresh .logo-header img.logo {
        width: min(152px, 36vw);
        height: 44px;
    }

    .header-refresh .header-actions {
        justify-content: flex-end;
    }

    .header-refresh .nav-account,
    .header-refresh .nav-wishlist {
        display: none !important;
    }
}

@media (max-width: 767px) {
    .home-redesign #header.header-refresh {
        --home-header-height: 64px;
        background: rgba(255, 255, 255, .82);
        -webkit-backdrop-filter: blur(14px) saturate(135%);
        backdrop-filter: blur(14px) saturate(135%);
    }

    .announcement-bar {
        min-height: 42px;
    }

    .announcement-bar .wrap-announcement-bar {
        padding-inline: 30px;
    }

    .announcement-bar .announcement-bar-item p {
        font-size: 10px;
        letter-spacing: .045em;
    }

    .header-refresh .header-refresh-row {
        min-height: 70px;
        grid-template-columns: 40px minmax(0, 1fr) auto;
        gap: 6px;
    }

    .header-refresh .logo-header img.logo {
        width: min(142px, 39vw) !important;
        height: 40px !important;
    }

    .home-redesign #header.header-refresh .logo-header img.logo {
        width: min(138px, 38vw) !important;
        height: 38px !important;
    }

    .header-refresh .nav-icon {
        gap: 6px !important;
    }

    .header-refresh .nav-icon .nav-icon-item {
        min-width: 30px;
    }

    .slider-home-2,
    .slider-home-2 .tf-sw-slideshow,
    .slider-home-2 .swiper-wrapper,
    .slider-home-2 .swiper-slide,
    .slider-home-2 .wrap-slider {
        height: calc(100svh - 42px) !important;
        min-height: 600px;
        max-height: 900px;
    }

    .home-hero-content {
        inset-inline: 22px;
        bottom: 52px;
    }

    .home-hero-kicker {
        font-size: 10px;
    }

    .home-hero-content h1 {
        font-size: clamp(34px, 11vw, 52px);
    }

    .home-hero-cta {
        min-height: 44px;
        margin-top: 22px;
    }

    .home-category-portals {
        padding: 5px;
    }

    .home-category-portals__grid {
        grid-template-columns: 1fr;
        gap: 5px;
    }

    .home-category-portal {
        min-height: 0;
    }

    .home-category-portal__content {
        inset-inline: 24px;
        bottom: 30px;
    }

    .home-category-portal__title {
        font-size: clamp(30px, 9vw, 42px);
    }

    .home-redesign .flat-seller {
        padding: 62px 0 !important;
    }

    /* Mobile header: locale-aware logo alignment */
.header-refresh .header-refresh-row[dir="rtl"] .header-brand {
    justify-content: flex-end;
    justify-self: stretch;
}

.header-refresh .header-refresh-row[dir="ltr"] .header-brand {
    justify-content: flex-end;
    justify-self: stretch;
}
}

@media (prefers-reduced-motion: reduce) {
    .home-category-portal__media img,
    .home-hero-cta {
        transition: none;
    }
}

/* ==========================================================================
   NOTE 28 FINAL POLISH — R1/R2
   Floating homepage header + contained square editorial portals
   Baseline: 1635bd0d
   ========================================================================== */

/* Keep the black announcement bar visually clean with no separator line below it. */
.home-redesign .announcement-bar,
.home-redesign .announcement-bar .wrap-announcement-bar,
.home-redesign .announcement-bar .box-sw-announcement-bar {
    background-color: #000 !important;
}

.home-redesign .announcement-bar {
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
}

/* R1 — Floating navigation card over the homepage hero. */
.home-redesign #header.header-refresh {
    --home-header-sticky-offset: 14px;
    top: var(--home-header-sticky-offset);
    width: calc(100% - 32px);
    max-width: 1840px;
    margin-top: 14px;
    margin-inline: auto;
    margin-bottom: calc(0px - var(--home-header-height) - 14px);
    border: 1px solid rgba(255, 255, 255, .66);
    border-radius: 12px;
    background: rgba(250, 250, 250, .88);
    box-shadow: 0 12px 34px rgba(17, 17, 17, .10);
    -webkit-backdrop-filter: blur(18px) saturate(135%);
    backdrop-filter: blur(18px) saturate(135%);
}

.home-redesign #header.header-refresh.header-bg {
    border-color: rgba(17, 17, 17, .08);
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 14px 36px rgba(17, 17, 17, .12);
}

.home-redesign #header.header-refresh .main-header {
    border-radius: inherit;
}

/* R2 — Editorial category portals: contained, balanced, square cards. */
.home-redesign .home-category-portals {
    width: min(100%, 1540px);
    margin-inline: auto;
    padding: clamp(68px, 6vw, 104px) clamp(28px, 3vw, 46px);
}

.home-redesign .home-category-portals__grid {
    gap: clamp(20px, 1.8vw, 30px);
}

.home-redesign .home-category-portal {
    aspect-ratio: 1 / 1;
    border-radius: 2px;
}

.home-redesign .home-category-portal__media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.home-redesign .home-category-portal__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.home-redesign .home-category-portal__overlay {
    background: linear-gradient(180deg, rgba(0, 0, 0, .02) 42%, rgba(0, 0, 0, .58) 100%);
}

.home-redesign .home-category-portal__content {
    inset-inline: clamp(28px, 3.2vw, 48px);
    bottom: clamp(28px, 3.2vw, 48px);
    gap: 12px;
}

.home-redesign .home-category-portal__title {
    font-size: clamp(30px, 2.4vw, 44px);
}

@media (max-width: 1399px) {
    .home-redesign #header.header-refresh {
        --home-header-sticky-offset: 10px;
        top: var(--home-header-sticky-offset);
        width: calc(100% - 20px);
        margin-top: 10px;
        margin-bottom: calc(0px - var(--home-header-height) - 10px);
        border-radius: 10px;
    }

    .home-redesign .home-category-portals {
        width: min(100%, 1180px);
        padding: 58px 24px;
    }

    .home-redesign .home-category-portals__grid {
        gap: 18px;
    }
}

@media (max-width: 767px) {
    .home-redesign #header.header-refresh {
        --home-header-sticky-offset: 8px;
        top: var(--home-header-sticky-offset);
        width: calc(100% - 16px);
        margin-top: 8px;
        margin-bottom: calc(0px - var(--home-header-height) - 8px);
        border-radius: 9px;
    }

    .home-redesign .home-category-portals {
        width: 100%;
        padding: 44px 18px;
    }

    .home-redesign .home-category-portals__grid {
        gap: 18px;
    }

    .home-redesign .home-category-portal {
        aspect-ratio: 1 / 1;
    }

    .home-redesign .home-category-portal__content {
        inset-inline: 24px;
        bottom: 28px;
    }
}

/* NOTE 28 — Remove the exact 2px flow residue below the announcement bar.
   The floating header has 1px top + bottom borders, so its auto-height is
   two pixels taller than --home-header-height. Compensate only in flow. */
.home-redesign #header.header-refresh {
    margin-bottom: calc(0px - var(--home-header-height) - 14px - 2px);
}

@media (max-width: 1399px) {
    .home-redesign #header.header-refresh {
        margin-bottom: calc(0px - var(--home-header-height) - 10px - 2px);
    }
}

@media (max-width: 767px) {
    .home-redesign #header.header-refresh {
        margin-bottom: calc(0px - var(--home-header-height) - 8px - 2px);
    }
}

/* NOTE 28 — Slightly clearer floating glass header.
   Keep readability while allowing more of the hero to remain visible. */
@media (min-width: 1400px) {
    .home-redesign #header.header-refresh {
        background: rgba(250, 250, 250, .80);
        -webkit-backdrop-filter: blur(14px) saturate(130%);
        backdrop-filter: blur(14px) saturate(130%);
    }

    .home-redesign #header.header-refresh.header-bg {
        background: rgba(255, 255, 255, .86);
    }
}

/* NOTE28-R3-HOME-PORTAL-VIDEO-START */
.home-category-portal__media video {
    position: relative;
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
    transition: transform .8s cubic-bezier(.2, .65, .3, 1);
}

.home-redesign .home-category-portal__media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

@media (hover: hover) {
    .home-category-portal:hover .home-category-portal__media video {
        transform: scale(1.035);
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-category-portal__media video {
        transition: none;
    }
}
/* NOTE28-R3-HOME-PORTAL-VIDEO-END */


/* NOTE28-R4-HOME-PRODUCT-CAROUSELS-START */
.home-redesign .home-product-carousel-section .home-product-header {
    display: flex;
    flex-direction: row !important;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 18px;
    margin-bottom: 14px;
    padding-inline: 0;
}

.home-redesign .home-product-carousel-section .home-product-header[dir="rtl"] {
    direction: rtl;
}

.home-redesign .home-product-carousel-section .home-product-header[dir="ltr"] {
    direction: ltr;
}

.home-redesign .home-product-carousel-section .home-product-header .title {
    margin: 0;
    text-align: start;
}

.home-redesign .home-product-carousel-section .home-product-header-actions {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex: 0 0 auto;
}

.home-redesign .home-product-carousel-section .home-product-nav-group {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    direction: ltr;
}

.home-redesign .home-product-carousel-section .home-product-header[dir="rtl"] .home-product-nav-group {
    flex-direction: row-reverse;
}

.home-redesign .home-product-carousel-section .home-product-carousel-shell {
    position: relative;
}

.home-redesign .home-product-carousel-section .home-product-swiper {
    overflow: hidden;
    padding-block: 2px 44px;
    margin-bottom: -38px;
}

.home-redesign .home-product-carousel-section .home-product-swiper .swiper-slide {
    height: auto;
}

.home-redesign .home-product-carousel-section .home-product-swiper .card-product {
    height: 100%;
}

.home-redesign .home-product-carousel-section .card-product-info {
    padding-top: 14px;
}

.home-redesign .home-product-carousel-section .card-product-info .title {
    font-size: 14px;
    line-height: 1.35;
}

.home-redesign .home-product-carousel-section .product-card-code {
    font-size: 11px;
}

.home-redesign .home-product-carousel-section .product-card-price {
    font-size: 14px;
}

.home-redesign .home-product-carousel-section .home-product-nav {
    position: relative;
    inset: auto;
    transform: none;
    z-index: 2;
    width: 36px;
    height: 36px;
    min-width: 36px;
    padding: 0;
    margin: 0;
    border: 1px solid #111;
    border-radius: 50%;
    background: #111;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
    cursor: pointer;
    transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}

.home-redesign .home-product-carousel-section .home-product-nav-icon {
    width: 15px;
    height: 15px;
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.home-redesign .home-product-carousel-section .home-product-header[dir="rtl"] .home-product-nav-icon {
    transform: rotate(180deg);
}


.home-redesign .home-product-carousel-section .home-product-nav:hover:not(.swiper-button-disabled) {
    background: #2b2b2b;
    border-color: #2b2b2b;
    color: #fff;
    transform: translateY(-1px);
}

.home-redesign .home-product-carousel-section .home-product-nav.swiper-button-disabled {
    opacity: 1;
    background: #f3f3f3;
    border-color: #e7e7e7;
    color: #b8b8b8;
    cursor: default;
    pointer-events: none;
}

@media (max-width: 767.98px) {
    .home-redesign .flat-seller {
        padding-block: 52px !important;
    }

    .home-redesign .flat-seller .flat-title .title {
        font-size: clamp(25px, 7vw, 32px);
    }

    .home-redesign .home-product-carousel-section .home-product-header {
        gap: 12px;
        margin-bottom: 12px;
    }

    .home-redesign .home-product-carousel-section .home-product-header-actions {
        gap: 10px;
    }

    .home-redesign .home-product-carousel-section .home-product-nav-group {
        gap: 6px;
    }

    .home-redesign .home-product-carousel-section .home-product-nav {
        width: 32px;
        height: 32px;
        min-width: 32px;
    }

    .home-redesign .home-product-carousel-section .home-product-nav-icon {
        width: 13px;
        height: 13px;
    }

    .home-redesign .home-product-carousel-section .card-product-info .title {
        font-size: 13px;
    }
}
/* NOTE28-R4-HOME-PRODUCT-CAROUSELS-END */

.shop-products-page .shop-products-container {
    padding-inline: clamp(15px, 2vw, 40px);
}

.shop-products-page .category-level-three-nav {
    margin-bottom: clamp(22px, 2.5vw, 34px);
    overflow-x: auto;
    border-bottom: 1px solid var(--line);
    scrollbar-width: none;
}

.shop-products-page .category-level-three-nav::-webkit-scrollbar {
    display: none;
}

.shop-products-page .category-level-three-nav__scroller {
    display: flex;
    width: max-content;
    min-width: 100%;
    align-items: center;
    justify-content: center;
    gap: clamp(22px, 3vw, 48px);
}

.shop-products-page .category-level-three-nav__link {
    position: relative;
    flex: 0 0 auto;
    padding: 4px 1px 15px;
    color: var(--main);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 0.01em;
    white-space: nowrap;
    transition: color 0.2s ease, font-weight 0.2s ease;
}

.shop-products-page .category-level-three-nav__link::after {
    position: absolute;
    right: 0;
    bottom: -1px;
    left: 0;
    height: 2px;
    background: currentColor;
    content: "";
    transform: scaleX(0);
    transition: transform 0.2s ease;
}

.shop-products-page .category-level-three-nav__link:hover,
.shop-products-page .category-level-three-nav__link.is-active {
    color: var(--primary);
}

.shop-products-page .category-level-three-nav__link.is-active {
    font-weight: 700;
}

.shop-products-page .category-level-three-nav__link:hover::after,
.shop-products-page .category-level-three-nav__link.is-active::after {
    transform: scaleX(1);
}

/* B6-R4-R2 | Product filter offcanvas. The fixed layer stays on the theme's
   existing offcanvas/backdrop stack; these rules only style #filterShop. */
#filterShop.canvas-filter {
    --bs-offcanvas-width: 430px;
    width: min(var(--bs-offcanvas-width), 100vw);
    max-width: 100vw;
    overflow: hidden;
    background: #fff;
    box-shadow: 18px 0 55px rgba(17, 17, 17, .18);
}

.rtl #filterShop.canvas-filter {
    box-shadow: -18px 0 55px rgba(17, 17, 17, .18);
}

#filterShop .canvas-wrapper {
    background: #fff;
}

#filterShop .canvas-header {
    min-height: 96px;
    flex: 0 0 auto;
    gap: 18px;
    padding: 20px 24px;
    border-bottom: 1px solid #e8e8e8;
    background: #fff;
}

#filterShop .filter-panel-heading {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 13px;
}

#filterShop .filter-panel-heading > .icon {
    display: grid;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    place-items: center;
    border: 1px solid #dedede;
    border-radius: 50%;
    color: #111;
    font-size: 16px;
}

#filterShop .filter-panel-title {
    margin: 0;
    color: #111;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.35;
}

#filterShop .filter-panel-subtitle {
    margin: 3px 0 0;
    color: #737373;
    font-size: 12px;
    line-height: 1.5;
}

#filterShop .filter-panel-close {
    display: grid;
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    padding: 0;
    place-items: center;
    border: 1px solid #dedede;
    border-radius: 50%;
    background: #fff;
    color: #111;
    font-size: 13px;
    transition: border-color .2s ease, background-color .2s ease, color .2s ease;
}

#filterShop .filter-panel-close:hover {
    border-color: #111;
    background: #111;
    color: #fff;
}

#filterShop .filter-panel-close:focus-visible,
#filterShop .facet-title:focus-visible,
#filterShop input:focus-visible + .label {
    outline: 2px solid #111;
    outline-offset: 3px;
}

#filterShop .canvas-body {
    overflow-x: hidden;
    padding: 0 26px 26px;
    background: #fff;
    scrollbar-color: #777 #ededed;
    scrollbar-width: thin;
}

/* B7-R4A.3 | The scrolling body is the element directly below the filter
   header. Apply the visual gap there only when the category-looks CTA exists. */
#filterShop .canvas-body.canvas-body--category-looks {
    padding-top: 24px;
}

#filterShop .canvas-body.canvas-body--category-looks .b7-category-looks-facet {
    padding-top: 0;
}

#filterShop .canvas-body::-webkit-scrollbar {
    width: 6px;
}

#filterShop .canvas-body::-webkit-scrollbar-track {
    background: #ededed;
}

#filterShop .canvas-body::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background: #777;
}

#filterShop .facet-filter-form {
    min-width: 0;
}

#filterShop .widget-facet {
    margin: 0;
    padding: 0 0 20px;
    border-bottom: 1px solid #e8e8e8;
}

#filterShop .widget-facet:last-of-type {
    border-bottom: 0;
}

#filterShop .facet-title {
    display: flex;
    width: 100%;
    min-height: 62px;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 0 16px;
    border: 0;
    background: transparent;
    color: #111;
    font: inherit;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    text-align: start;
}

#filterShop .facet-title .icon {
    display: grid;
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    place-items: center;
    border: 1px solid #e0e0e0;
    border-radius: 50%;
    color: #555;
    font-size: 7px;
    transition: transform .25s ease, border-color .2s ease;
}

#filterShop .facet-title:hover .icon {
    border-color: #999;
}

#filterShop .facet-title.collapsed .icon {
    transform: rotate(180deg);
}

#filterShop .current-scrollbar {
    max-height: 230px;
    margin: 0;
    padding-inline-end: 8px;
    overflow-x: hidden;
    scrollbar-color: #8b8b8b #ededed;
    scrollbar-width: thin;
}

#filterShop .current-scrollbar::-webkit-scrollbar {
    width: 5px;
}

#filterShop .current-scrollbar::-webkit-scrollbar-track {
    border-radius: 5px;
    background: #ededed;
}

#filterShop .current-scrollbar::-webkit-scrollbar-thumb {
    border-radius: 5px;
    background: #8b8b8b;
}

#filterShop .list-item {
    min-width: 0;
    min-height: 38px;
    margin: 0;
}

#filterShop .list-item + .list-item,
#filterShop .cate-item + .cate-item {
    margin-top: 6px;
}

#filterShop .list-item .label {
    min-width: 0;
    flex: 1 1 auto;
    align-items: center;
    color: #292929;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.45;
    cursor: pointer;
}

#filterShop .tf-check {
    width: 18px;
    height: 18px;
    min-width: 18px;
    border: 1px solid #aaa;
    border-radius: 2px;
    background: #fff;
    transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
}

#filterShop .tf-check:hover {
    border-color: #555;
}

#filterShop .tf-check:checked {
    border-color: var(--primary);
    background: var(--primary);
}

#filterShop .tf-check:focus-visible,
#filterShop .tf-check-color:focus-visible {
    outline: 2px solid #111;
    outline-offset: 3px;
}

#filterShop .filter-category-list .cate-item.active .label {
    color: var(--primary);
}

#filterShop .filter-color {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 14px;
}

#filterShop .filter-color .list-item {
    gap: 10px !important;
}

#filterShop .tf-check-color {
    width: 28px;
    height: 28px;
    min-width: 28px;
    border: 1px solid rgba(17, 17, 17, .18);
    box-shadow: 0 0 0 2px #fff;
}

#filterShop .tf-check-color:checked {
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--primary);
}

#filterShop .filter-size-options {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    padding: 1px;
}

#filterShop .filter-size-options .list-item {
    position: relative;
    display: block !important;
    min-height: 42px;
    margin: 0;
}

#filterShop .filter-size-options .tf-check-size {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

#filterShop .filter-size-options .label {
    display: flex;
    width: 100%;
    min-height: 42px;
    justify-content: center;
    padding: 8px 6px;
    border: 1px solid #d8d8d8;
    border-radius: 2px;
    background: #fff;
    text-align: center;
    transition: border-color .2s ease, background-color .2s ease, color .2s ease;
}

#filterShop .filter-size-options .label:hover {
    border-color: #777;
}

#filterShop .filter-size-options .tf-check-size:checked + .label {
    border-color: #111;
    background: #111;
    color: #fff;
}

#filterShop .filter-option-list {
    display: grid;
    gap: 4px;
}

#filterShop .filter-price {
    padding: 10px 2px 2px;
}

#filterShop .filter-price .tow-bar-block,
#filterShop .filter-price .tow-bar-block .progress-price,
#filterShop .filter-price .range-input input {
    height: 4px;
}

#filterShop .filter-price .tow-bar-block {
    margin-inline: 8px;
    border-radius: 10px;
    background: #dedede;
}

#filterShop .filter-price .tow-bar-block .progress-price {
    border-radius: 10px;
    background: var(--primary);
}

#filterShop .filter-price .range-input input {
    top: -4px;
}

#filterShop .filter-price .range-input input::-webkit-slider-thumb {
    width: 18px;
    height: 18px;
    border: 5px solid var(--primary);
    background: #fff;
    box-shadow: 0 1px 5px rgba(17, 17, 17, .2);
}

#filterShop .filter-price .range-input input::-moz-range-thumb {
    width: 10px;
    height: 10px;
    border: 4px solid var(--primary);
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 5px rgba(17, 17, 17, .2);
    pointer-events: auto;
}

#filterShop .box-title-price {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 8px;
    margin-top: 28px;
}

#filterShop .filter-price-value {
    min-width: 0;
    padding: 10px 12px;
    border: 1px solid #dedede;
    border-radius: 3px;
    background: #fafafa;
}

#filterShop .filter-price-value__label,
#filterShop .filter-price-value__number {
    display: block;
}

#filterShop .filter-price-value__label {
    margin-bottom: 4px;
    color: #777;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .02em;
}

#filterShop .filter-price-value__number {
    overflow: hidden;
    color: #111;
    font-size: 12px;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#filterShop .filter-price-separator {
    color: #999;
}

#filterShop .filter-panel-actions {
    position: sticky;
    bottom: -26px;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 24px -26px -26px;
    padding: 14px 26px calc(14px + env(safe-area-inset-bottom));
    border-top: 1px solid #e3e3e3;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 -8px 20px rgba(17, 17, 17, .05);
    backdrop-filter: blur(8px);
}

#filterShop .filter-panel-actions .tf-btn {
    min-width: 0;
    min-height: 46px;
    padding-inline: 12px;
}

#filterShop .filter-panel-actions .btn-fill {
    border-color: #111;
    background: #111;
    color: #fff;
}

#filterShop .filter-panel-actions .btn-outline {
    border-color: #bbb;
    background: #fff;
    color: #111;
}

@media (max-width: 767.98px) {
    .shop-products-page .category-level-three-nav {
        margin-inline: -15px;
        padding-inline: 15px;
    }

    .shop-products-page .category-level-three-nav__scroller {
        min-width: max-content;
        justify-content: flex-start;
        gap: 24px;
    }

    .shop-products-page .category-level-three-nav__link {
        padding-bottom: 13px;
        font-size: 13px;
    }

    #filterShop .canvas-header {
        min-height: 86px;
        padding: 16px 18px;
    }

    #filterShop .canvas-body {
        padding: 0 18px 20px;
    }

    #filterShop .filter-panel-title {
        font-size: 18px;
    }

    #filterShop .filter-panel-heading > .icon {
        width: 34px;
        height: 34px;
        flex-basis: 34px;
    }

    #filterShop .filter-panel-close {
        width: 38px;
        height: 38px;
        flex-basis: 38px;
    }

    #filterShop .filter-panel-actions {
        bottom: -20px;
        margin: 22px -18px -20px;
        padding-inline: 18px;
    }
}

@media (max-width: 374.98px) {
    #filterShop .filter-panel-subtitle {
        display: none;
    }

    #filterShop .filter-color {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    #filterShop .filter-panel-close,
    #filterShop .facet-title .icon,
    #filterShop .tf-check,
    #filterShop .filter-size-options .label {
        transition: none;
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .shop-products-page [data-grid="grid-5"] {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}
/* Fix mobile country/currency dropdown position in English only */
html[dir="ltr"] .mobile-market-panel__field .bootstrap-select {
    position: relative !important;
}

html[dir="ltr"] .mobile-market-panel__field .bootstrap-select > .dropdown-menu {
    position: absolute !important;
    top: calc(100% + 5px) !important;
    left: 0 !important;
    right: auto !important;

    inset: calc(100% + 5px) auto auto 0 !important;

    margin: 0 !important;
    transform: none !important;

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

/* === 400 HEADER MARKET MENU STACK FIX R1 START === */
/* Keep the shopping/language menu above internal-page white title/content layers. */
#header.header-refresh {
    position: relative;
    z-index: 1200;
    overflow: visible;
}

.header-refresh .main-header,
.header-refresh .container-full,
.header-refresh .header-refresh-row,
.header-refresh .header-actions,
.header-refresh .market-switcher {
    overflow: visible;
}

.header-refresh .main-header {
    position: relative;
    z-index: 1;
}

.header-refresh .header-actions,
.header-refresh .market-switcher {
    position: relative;
}

.header-refresh .market-switcher {
    z-index: 1210;
}

.header-refresh .market-switcher__panel {
    z-index: 1220 !important;
}

#header.header-refresh + main {
    position: relative;
    z-index: 0;
}
/* === 400 HEADER MARKET MENU STACK FIX R1 END === */
/* === 400 GLOBAL BOOTSTRAP OVERLAY STACK R1 START === */
/* Keep the site header above page content but below Bootstrap modal/offcanvas layers. */
#header.header-refresh {
    z-index: 1030 !important;
}
/* === 400 GLOBAL BOOTSTRAP OVERLAY STACK R1 END === */

/* === 400-NOTES-BATCH1-R1: Homepage header height and gift-card navigation === */
/* The floating ivory homepage header was visually 80px on desktop/tablet,
   and 70px on mobile. Reduce the actual visible row by 20%, symmetrically. */
.home-redesign #header.header-refresh {
    --home-header-height: 64px;
}

.home-redesign #header.header-refresh .header-refresh-row,
.home-redesign #header.header-refresh .box-nav-ul .item-link {
    min-height: var(--home-header-height);
}

@media (max-width: 767px) {
    .home-redesign #header.header-refresh {
        --home-header-height: 56px;
    }
}

@media (min-width: 1400px) and (max-width: 1599px) {
    .header-refresh .box-nav-ul {
        gap: clamp(10px, 1vw, 16px);
    }
    .header-refresh .box-nav-ul .item-link {
        font-size: 12px !important;
    }
}
/* === END 400-NOTES-BATCH1-R1 === */

/* B6-R3.3 | Root category mosaic. All rules remain scoped to this page. */
.home-redesign.category-division-landing #header.header-refresh {
    /* Homepage header style without overlapping a standard inside-page title. */
    margin-bottom: 0 !important;
}

.home-redesign.category-division-landing .category-division-portals {
    width: min(100%, 1480px);
    padding: clamp(32px, 4vw, 62px) clamp(20px, 3vw, 46px) clamp(58px, 6vw, 90px);
}
.category-division-landing .category-division-title {
    margin-bottom: clamp(26px, 3vw, 42px);
    text-align: center;
}
.category-division-landing .category-division-title .title {
    font-size: clamp(24px, 2.4vw, 34px);
    font-weight: 500;
    line-height: 1.25;
}
.category-division-landing .category-division-mosaics {
    display: grid;
    gap: clamp(18px, 2vw, 28px);
}
.category-division-landing .category-division-mosaic {
    display: grid;
    height: clamp(500px, 38vw, 550px);
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) minmax(0, 1fr);
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: clamp(10px, 1vw, 16px);
}
.category-division-landing .category-division-mosaic--count-1 {
    width: min(100%, 520px);
    height: clamp(430px, 38vw, 530px);
    margin-inline: auto;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
}
.category-division-landing .category-division-mosaic--count-2 {
    width: min(100%, 1060px);
    margin-inline: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: 1fr;
}
.category-division-landing .category-division-mosaic--count-3 {
    grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
}
.category-division-landing .category-division-mosaic--count-3 .category-division-tile:first-child {
    grid-row: 1 / 3;
}
.category-division-landing .category-division-mosaic--count-4 .category-division-tile:nth-child(1),
.category-division-landing .category-division-mosaic--count-5 .category-division-tile:nth-child(1) {
    grid-column: 1;
    grid-row: 1;
}
.category-division-landing .category-division-mosaic--count-4 .category-division-tile:nth-child(2),
.category-division-landing .category-division-mosaic--count-5 .category-division-tile:nth-child(2) {
    grid-column: 1;
    grid-row: 2;
}
.category-division-landing .category-division-mosaic--count-4 .category-division-tile:nth-child(3),
.category-division-landing .category-division-mosaic--count-5 .category-division-tile:nth-child(3) {
    grid-column: 2;
    grid-row: 1 / 3;
}
.category-division-landing .category-division-mosaic--count-4 .category-division-tile:nth-child(4),
.category-division-landing .category-division-mosaic--count-5 .category-division-tile:nth-child(4) {
    grid-column: 3;
    grid-row: 1 / 3;
}
.category-division-landing .category-division-mosaic--count-5 .category-division-tile:nth-child(4) {
    grid-row: 1;
}
.category-division-landing .category-division-mosaic--count-5 .category-division-tile:nth-child(5) {
    grid-column: 3;
    grid-row: 2;
}
.category-division-landing .category-division-tile {
    position: relative;
    display: block;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    background: #e8e5df;
    color: #fff;
}
.category-division-landing .category-division-tile__media,
.category-division-landing .category-division-tile__media img,
.category-division-landing .category-division-tile__fallback,
.category-division-landing .category-division-tile__overlay {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
}
.category-division-landing .category-division-tile__media img {
    object-fit: cover;
    object-position: center;
    transition: transform .6s cubic-bezier(.2, .65, .3, 1);
}
.category-division-landing .category-division-tile__fallback {
    display: grid;
    place-items: center;
    background: linear-gradient(145deg, #ddd9d2 0%, #b9b4ab 100%);
    color: rgba(27, 27, 27, .42);
    font-size: clamp(30px, 3vw, 46px);
    font-weight: 500;
    letter-spacing: .08em;
}
.category-division-landing .category-division-tile__overlay {
    z-index: 1;
    background: linear-gradient(180deg, transparent 48%, rgba(0, 0, 0, .62) 100%);
    transition: background .3s ease;
}
.category-division-landing .category-division-tile__content {
    position: absolute;
    inset-inline: clamp(18px, 2vw, 30px);
    bottom: clamp(18px, 2vw, 28px);
    z-index: 2;
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    color: #fff;
    text-align: start;
}
.category-division-landing .category-division-tile__title {
    color: inherit;
    font-size: clamp(17px, 1.5vw, 23px);
    font-weight: 500;
    line-height: 1.25;
}
.category-division-landing .category-division-tile__link {
    padding-bottom: 3px;
    border-bottom: 1px solid currentColor;
    color: inherit;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: .03em;
}
.category-division-landing .category-division-tile:focus-visible {
    z-index: 3;
    outline: 3px solid #fff;
    outline-offset: -6px;
    box-shadow: inset 0 0 0 7px #1b1b1b;
}
@media (hover: hover) {
    .category-division-landing .category-division-tile:hover .category-division-tile__media img {
        transform: scale(1.025);
    }
    .category-division-landing .category-division-tile:hover .category-division-tile__overlay {
        background: linear-gradient(180deg, transparent 43%, rgba(0, 0, 0, .68) 100%);
    }
}
.category-division-landing .category-division-empty {
    padding: 44px 16px;
    text-align: center;
    color: #696969;
}
.category-division-landing .category-division-view-all {
    margin-top: clamp(28px, 3vw, 42px);
    text-align: center;
}
@media (max-width: 991.98px) and (min-width: 768px) {
    .category-division-landing .category-division-mosaic {
        height: clamp(430px, 56vw, 500px);
    }
    .category-division-landing .category-division-mosaic--count-1 {
        width: min(100%, 460px);
        height: clamp(400px, 56vw, 500px);
    }
}
@media (max-width: 767.98px) {
    .home-redesign.category-division-landing .category-division-portals {
        width: 100%;
        padding: 32px 14px 62px;
    }
    .category-division-landing .category-division-title {
        margin-bottom: 24px;
    }
    .category-division-landing .category-division-mosaics {
        gap: 12px;
    }
    .category-division-landing .category-division-mosaic,
    .category-division-landing .category-division-mosaic--count-1,
    .category-division-landing .category-division-mosaic--count-2,
    .category-division-landing .category-division-mosaic--count-3 {
        display: flex;
        width: 100%;
        height: auto;
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
    }
    .category-division-landing .category-division-mosaic .category-division-tile {
        aspect-ratio: 4 / 5;
        flex: 0 1 calc(50% - 6px);
        grid-column: auto;
        grid-row: auto;
    }
    .category-division-landing .category-division-mosaic--count-1 .category-division-tile {
        flex-basis: min(78vw, 360px);
    }
    .category-division-landing .category-division-tile__content {
        inset-inline: 14px;
        bottom: 14px;
        gap: 6px;
    }
    .category-division-landing .category-division-tile__title {
        font-size: clamp(15px, 4.2vw, 18px);
    }
    .category-division-landing .category-division-tile__link {
        font-size: 10px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .category-division-landing .category-division-tile__media img,
    .category-division-landing .category-division-tile__overlay {
        transition: none;
    }
}

/* 400-CATEGORY-SQUARES-R3-START
   Root category image entrances: two equal square cards in every row.
   Keep existing image, title, overlay, hover behavior, and link styles.
   This changes layout/dimensions only, scoped to the category-division page. */
.category-division-landing .category-division-mosaic,
.category-division-landing .category-division-mosaic--count-1,
.category-division-landing .category-division-mosaic--count-2,
.category-division-landing .category-division-mosaic--count-3,
.category-division-landing .category-division-mosaic--count-4,
.category-division-landing .category-division-mosaic--count-5 {
    display: grid;
    width: 100%;
    height: auto;
    margin-inline: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
    grid-auto-flow: row;
    gap: clamp(10px, 1vw, 16px);
}

/* Reset old mosaic placements (including the large center tile). */
.category-division-landing .category-division-mosaic .category-division-tile:nth-child(n) {
    grid-column: auto;
    grid-row: auto;
    width: 100%;
    height: auto;
    min-width: 0;
    aspect-ratio: 1 / 1;
}

/* A group with just one category stays a single centered square. */
.category-division-landing .category-division-mosaic--count-1 {
    width: min(100%, 520px);
    margin-inline: auto;
    grid-template-columns: minmax(0, 1fr);
}

@media (max-width: 767.98px) {
    /* Override the older flex-based mobile mosaic too: still 2 per row. */
    .category-division-landing .category-division-mosaic,
    .category-division-landing .category-division-mosaic--count-1,
    .category-division-landing .category-division-mosaic--count-2,
    .category-division-landing .category-division-mosaic--count-3,
    .category-division-landing .category-division-mosaic--count-4,
    .category-division-landing .category-division-mosaic--count-5 {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: none;
        height: auto;
        gap: 12px;
    }
    .category-division-landing .category-division-mosaic--count-1 {
        width: min(78vw, 360px);
        grid-template-columns: minmax(0, 1fr);
    }
}
/* 400-CATEGORY-SQUARES-R3-END */
