/* =====================================================================
   Fashion storefront theme — colours come from CSS variables that the
   header writes from Admin → Theme Layout (theme_opt('colors')).
   ===================================================================== */

body.sticky-header { border: 0 !important; box-shadow: none !important; }
body { background: var(--fx-page-bg); font-family: var(--fx-font); }
.fx-header, .fx-home, .fx-footer, .fx-offcanvas, .fx-bottom-nav, .fx-float-cart, .fx-card { font-family: var(--fx-font); }

.fx-container { width: 100%; max-width: var(--fx-container, 1320px); margin: 0 auto; padding: 0 16px; }
.fx-only-mobile { display: none !important; }
@media (max-width: 991.98px) {
    .fx-only-desktop { display: none !important; }
    .fx-only-mobile { display: inline-flex !important; }
}

/* ─────────────── Header ─────────────── */
.fx-header { background: var(--fx-header-bg, #fff); position: relative; z-index: 1030; border-bottom: 1px solid rgba(17,24,39,.06); }
.fx-top { display: flex; align-items: center; gap: 28px; min-height: 78px; padding: 8px 0; }
.fx-logo { display: inline-flex; align-items: center; flex-shrink: 0; text-decoration: none; }
.fx-logo img { height: var(--fx-logo-h, 48px); width: auto; max-width: 320px; object-fit: contain; }
.fx-logo span { font-size: 22px; font-weight: 800; color: var(--fx-primary); letter-spacing: -.01em; }

/* search: light field + solid button in the header colour */
.fx-search { flex: 1; max-width: 560px; margin: 0 auto; position: relative; display: flex; }
.fx-search input {
    width: 100%; height: 44px; border: 1.5px solid var(--fx-search-border, #e5e7eb); border-right: 0; border-radius: 6px 0 0 6px;
    background: var(--fx-search-bg, #f9fafb); padding: 0 16px; font-size: 14px; color: #111827; outline: none;
    transition: border-color .2s, background .2s;
}
.fx-search input:focus { background: #fff; border-color: var(--fx-primary); }
.fx-search button { position: static; flex: none; height: 44px; width: 52px; border: 0; border-radius: 0 8px 8px 0; background: var(--fx-primary); color: #fff; font-size: 16px; transition: opacity .2s; }
.fx-search button:hover { opacity: .9; }

.fx-actions { display: flex; align-items: center; gap: 6px; margin: 0; padding: 0; list-style: none; }
.fx-actions a {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-width: 62px; padding: 6px 4px; border-radius: 8px;
    color: var(--fx-primary); text-decoration: none; font-size: 11.5px; font-weight: 600; position: relative; transition: background .2s;
}
.fx-actions a i { font-size: 19px; }
.fx-ico { display: block; flex: none; }
.fx-actions a .fx-ico { width: 23px; height: 23px; }
.fx-actions a span { letter-spacing: .01em; }
.fx-search button .fx-ico { margin: 0 auto; }
.fx-flash .fx-ico { color: var(--fx-accent); }
.fx-actions a:hover { background: rgba(17,24,39,.05); }
.fx-count {
    position: absolute; top: 1px; right: 14px; min-width: 18px; height: 18px; padding: 0 4px;
    border-radius: 9px; background: var(--fx-accent, #e11d48); color: #fff; font-size: 10px; font-weight: 700;
    display: flex; align-items: center; justify-content: center; line-height: 1; border: 2px solid var(--fx-header-bg, #fff);
}
.fx-cart-link { padding-right: 4px; }

.fx-icon-btn { border: 0; background: none; padding: 6px; color: var(--fx-primary); }
.fx-burger { display: inline-flex; flex-direction: column; gap: 5px; width: 26px; }
.fx-burger span { display: block; height: 2px; background: currentColor; border-radius: 2px; }
.fx-burger span:nth-child(2) { width: 70%; }

/* category bar */
.fx-nav { background: var(--fx-nav-bg); position: sticky; top: 0; z-index: 1020; }
.fx-nav-inner { display: flex; align-items: center; justify-content: space-between; min-height: 48px; }
/* menu position (Admin > Site Design > Header) */
.fx-nav-inner .fx-menu { flex: 1; }
.fx-nav--center .fx-menu { justify-content: center; }
.fx-nav--right .fx-menu { justify-content: flex-end; margin-right: 16px; }
.fx-menu { display: flex; flex-wrap: wrap; margin: 0; padding: 0; list-style: none; }
.fx-menu > li { position: relative; }
.fx-menu > li > a {
    display: flex; align-items: center; gap: 5px; padding: 14px 13px; color: var(--fx-nav-text);
    font-size: var(--fx-menu-size, 13px); font-weight: 600; text-transform: var(--fx-menu-case, uppercase); text-decoration: none; white-space: nowrap;
}
.fx-menu > li > a i { font-size: 9px; opacity: .8; }
.fx-menu > li > a { position: relative; letter-spacing: .02em; }
.fx-menu > li > a::after { content: ''; position: absolute; left: 13px; right: 13px; bottom: 8px; height: 2px; background: currentColor; border-radius: 1px; transform: scaleX(0); transition: transform .2s; }
.fx-menu > li:hover > a::after { transform: scaleX(1); }
.fx-sub {
    position: absolute; left: 0; top: 100%; min-width: 210px; margin: 0; padding: 8px 0; list-style: none;
    background: #fff; border-radius: 0 0 8px 8px; box-shadow: 0 12px 30px rgba(0,0,0,.12);
    opacity: 0; visibility: hidden; transform: translateY(6px); transition: all .2s; z-index: 10;
}
.fx-menu > li:hover .fx-sub { opacity: 1; visibility: visible; transform: none; }
.fx-sub { min-width: 230px; padding: 8px; border-radius: 0 0 10px 10px; border-top: 2px solid var(--fx-primary); background: var(--fx-sub-bg, #fff) !important; }
.fx-sub a { display: flex; align-items: center; gap: 10px; padding: 7px 8px; font-size: 14px; font-weight: 500; color: var(--fx-sub-text, #374151) !important; text-decoration: none; border-radius: 8px; }
.fx-sub a:hover { background: var(--fx-sub-hover, #f5f6fa); }
.fx-sub-img { width: 36px; height: 36px; flex: none; border-radius: 8px; overflow: hidden; background: #f3f4f6; color: var(--fx-primary); display: flex; align-items: center; justify-content: center; }
.fx-sub-img img { width: 100%; height: 100%; object-fit: cover; }
.fx-sub-all { margin-top: 4px; padding-top: 4px; border-top: 1px solid #eef0f4; }
.fx-sub-all a { justify-content: space-between; font-size: 13px; font-weight: 700; color: var(--fx-primary); }
.fx-flash {
    display: inline-flex; align-items: center; gap: 7px; background: var(--fx-flash-bg, #fff); color: var(--fx-primary);
    font-size: 12px; font-weight: 700; text-transform: uppercase; padding: 7px 13px; border-radius: 6px;
    text-decoration: none; white-space: nowrap;
}
.fx-flash:hover { color: var(--fx-accent); }
.fx-flash i { color: var(--fx-accent); }

@media (max-width: 991.98px) {
    .fx-header { position: sticky; top: 0; box-shadow: 0 2px 10px rgba(17,24,39,.06); }
    .fx-actions a { min-width: 0; padding: 6px; }
    .fx-count { right: 0; }
    .fx-top { height: 64px; justify-content: space-between; gap: 8px; }
    .fx-logo { position: absolute; left: 50%; transform: translateX(-50%); }
    .fx-logo img { height: var(--fx-logo-h-m, 40px); max-width: 170px; }
    .fx-actions a i { font-size: 22px; }
    .fx-actions a .fx-ico { width: 25px; height: 25px; }
}

/* off-canvas */
.fx-offcanvas { width: 340px !important; max-width: 88vw; z-index: 1000002 !important; }
.offcanvas-backdrop { z-index: 1000001 !important; }
/* every slide-in panel (menu, shop filters…) must sit above its own dark backdrop */
.offcanvas { z-index: 1000002 !important; }
.fx-offcanvas .offcanvas-header { border-bottom: 1px solid #eef0f3; padding: 14px 18px; }
.fx-offcanvas .offcanvas-body { padding: 16px 18px 28px; }
.fx-oc-close { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; border: 1px solid #e5e7eb; border-radius: 8px; background: #fff; color: #374151; }
.fx-oc-close:hover { background: #f3f4f6; }
.fx-oc-user { display: flex; align-items: center; gap: 12px; padding: 12px; border: 1px solid #e5e7eb; border-radius: 10px; text-decoration: none; color: #111827 !important; margin-bottom: 14px; transition: border-color .2s; }
.fx-oc-user:hover { border-color: var(--fx-primary); }
.fx-oc-user > span:nth-child(2) { flex: 1; display: flex; flex-direction: column; line-height: 1.3; }
.fx-oc-user b { font-size: 15px; }
.fx-oc-user small { font-size: 12.5px; color: #6b7280; }
.fx-oc-user > .fx-ico { color: #9ca3af; }
.fx-oc-avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--fx-primary); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 17px; flex: none; }
.fx-oc-avatar.is-guest { background: #f3f4f6; color: #6b7280; }
.fx-offcanvas .fx-oc-search { max-width: none; margin-bottom: 14px; }
.fx-offcanvas .fx-oc-search input { height: 42px; }
.fx-offcanvas .fx-oc-search button { height: 42px; width: 46px; display: flex; align-items: center; justify-content: center; }
.fx-oc-quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 14px; }
.fx-oc-quick a { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 2px; min-width: 0; border: 1px solid #eef0f4; border-radius: 10px; background: #f9fafb; color: var(--fx-primary) !important; text-decoration: none; font-size: 11.5px; font-weight: 600; text-align: center; transition: .2s; }
.fx-oc-quick a span { color: #374151; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; font-size: 11px; letter-spacing: -.01em; }
.fx-oc-quick a:hover { background: #fff; border-color: var(--fx-primary); }
.fx-oc-flash { display: flex; align-items: center; gap: 8px; padding: 11px 14px; margin-bottom: 16px; border-radius: 10px; background: color-mix(in srgb, var(--fx-accent) 10%, #fff); color: var(--fx-accent) !important; font-weight: 700; font-size: 14px; text-decoration: none; }
.fx-oc-flash span { flex: 1; }
.fx-oc-label { font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #9ca3af; margin: 4px 0 6px; }
.fx-side-menu { list-style: none; margin: 0; padding: 0; }
.fx-side-menu > li > a {
    display: flex; align-items: center; gap: 12px; padding: 8px 4px; color: #111827; font-size: 14.5px; font-weight: 500;
    text-decoration: none; border-bottom: 1px solid #f3f4f6; border-radius: 6px;
}
.fx-side-menu > li > a:hover { background: #f9fafb; }
.fx-side-menu > li > a > .fx-ico:last-child { margin-left: auto; color: #c0c4cc; }
.fx-oc-cat { width: 36px; height: 36px; border-radius: 8px; overflow: hidden; background: #f3f4f6; color: var(--fx-primary); display: flex; align-items: center; justify-content: center; flex: none; }
.fx-oc-cat img { width: 100%; height: 100%; object-fit: cover; }
.fx-oc-chev { margin-left: auto; color: #9ca3af; transition: transform .2s; display: flex; }
.fx-side-toggle:not(.collapsed) .fx-oc-chev { transform: rotate(180deg); }
.fx-side-sub { list-style: none; padding: 4px 0 8px 52px; margin: 0; }
.fx-side-sub a { display: block; padding: 7px 0; color: #4b5563; font-size: 14px; text-decoration: none; }
.fx-side-sub a:hover { color: var(--fx-primary); }

/* ─────────────── Home ─────────────── */
.fx-home { padding-bottom: 30px; }
.fx-section { margin-top: 56px; }
.fx-title { text-align: center; font-size: 24px; font-weight: 600; color: #1f2937; margin: 0 0 28px; }
.fx-title-line {
    font-size: 17px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px;
    display: inline-block; padding-bottom: 6px; border-bottom: 2px solid var(--fx-primary);
}
.fx-head { text-align: center; margin-bottom: 24px; }
/* category product sections: bold name left, "View all" right */
.fx-sec-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 0; padding: 0; border: 0; min-height: 36px; }
/* the heading sits halfway between the previous section's cards and its own cards */
.fx-section:has(> .fx-sec-head) { margin-top: 0 !important; padding-top: 36px; }
.fx-sec-head + * { margin-top: 36px !important; }
@media (max-width: 575.98px) { .fx-section:has(> .fx-sec-head) { padding-top: 26px; } .fx-sec-head + * { margin-top: 26px !important; } }
.fx-sec-title { margin: 0 !important; font-size: 22px !important; font-weight: 800 !important; color: var(--fx-sec-title, #111827) !important; letter-spacing: -.01em; text-transform: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.fx-sec-all { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px; border: 1px solid var(--fx-sec-all-border, #e5e7eb); border-radius: 8px; background: var(--fx-sec-all-bg, #fff); font-size: 13.5px; font-weight: 700; color: var(--fx-sec-all, var(--fx-primary)) !important; text-decoration: none; white-space: nowrap; transition: background .15s, color .15s, border-color .15s; }
.fx-sec-all:hover { background: var(--fx-sec-all-hbg, var(--fx-primary)); border-color: var(--fx-sec-all-hbg, var(--fx-primary)); color: var(--fx-sec-all-htext, #fff) !important; }
.fx-sec-all .fx-ico { transition: transform .15s; }
.fx-sec-all:hover .fx-ico { transform: translateX(3px); }
@media (max-width: 575.98px) { .fx-sec-title { font-size: 18px !important; } .fx-sec-all { height: 32px; padding: 0 10px; font-size: 12.5px; } }
.fx-head .fx-title-line { margin: 0; }
.fx-head-split { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; text-align: left; }

.fx-hero img { width: 100%; display: block; aspect-ratio: 1366 / 450; object-fit: cover; background: #f3f4f6; }
.fx-hero .swiper-pagination-bullet-active { background: var(--fx-primary); }
@media (max-width: 767px) { .fx-hero img { aspect-ratio: 2 / 1; }   /* the mobile slide file is cut to 1000×500 (2:1); 16:9 trimmed its sides */ }

/* grid: one row that always fills the full width (up to 6 per row, then it wraps) */
.fx-cat-wrap:not(.is-swipe) .fx-cat-grid { display: grid; grid-template-columns: repeat(var(--fc-n, 6), minmax(0, 1fr)); gap: 16px; }
.fx-cat-wrap:not(.is-swipe) .fx-cat-grid .fx-cat { width: auto; }
.fx-cat-wrap.is-swipe .fx-cat-grid { display: flex; gap: 16px; }
.fx-cat { text-decoration: none; text-align: center; }
.fx-cat-img { display: block; overflow: hidden; background: #f3f4f6; aspect-ratio: 1 / 1; border-radius: 8px; }
.fx-cat-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.fx-cat:hover .fx-cat-img img { transform: scale(1.05); }
.fx-cat-name { display: block; margin-top: 8px; font-size: 14px; font-weight: 600; color: #111827; }
@media (max-width: 991.98px) { .fx-cat-wrap:not(.is-swipe) .fx-cat-grid { grid-template-columns: repeat(min(var(--fc-n, 4), 4), minmax(0, 1fr)); gap: 12px; } }
@media (max-width: 575.98px) { .fx-cat-wrap:not(.is-swipe) .fx-cat-grid { grid-template-columns: repeat(min(var(--fc-n, 3), 3), minmax(0, 1fr)); gap: 10px; } .fx-cat-name { font-size: 12.5px; margin-top: 6px; } }
/* featured categories: heading sits halfway between the slider and the pictures */
.fx-feat { margin-top: 32px !important; }
.fx-feat .fx-feat-title { margin: 0 0 32px !important; padding: 0 !important; line-height: 1.2 !important; font-size: 28px !important; font-weight: 800 !important; letter-spacing: -.01em; position: relative; }
.fx-feat .fx-cat-name { font-weight: 700 !important; font-size: 14.5px; color: #111827; }
@media (max-width: 767px) { .fx-feat { margin-top: 22px !important; } .fx-feat .fx-feat-title { margin-bottom: 22px !important; font-size: 22px !important; } }
/* swipe layout: one sliding row (Admin > Featured Categories > Swipe) */
.fx-cat-wrap { position: relative; }
.fx-cat-wrap.is-swipe .fx-cat-grid { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; padding-bottom: 2px; cursor: grab; user-select: none; }
.fx-cat-wrap.is-swipe .fx-cat-grid.is-dragging { cursor: grabbing; }
.fx-cat-wrap.is-swipe .fx-cat-grid.is-dragging .fx-cat { pointer-events: none; }
.fx-cat-wrap.is-swipe .fx-cat-grid::-webkit-scrollbar { display: none; }
/* swipe: exactly 6 / 4 / 3 whole tiles in view with the same gap between them */
.fx-cat-wrap.is-swipe .fx-cat { flex: 0 0 calc((100% - 5 * 16px) / 6); width: auto; }
/* ‹ › buttons: on every screen, centred on the pictures */
.fx-cat-arrow { position: absolute; top: calc(var(--fc-img-h, 160px) / 2); transform: translateY(-50%); z-index: 2; width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; border: 1px solid #e5e7eb; border-radius: 8px; background: rgba(255,255,255,.95); color: var(--fx-primary, #111827); box-shadow: 0 6px 16px rgba(17,24,39,.14); cursor: pointer; transition: transform .15s, background .15s, color .15s; }
.fx-cat-arrow:hover { background: var(--fx-primary, #111827); color: #fff; }
.fx-cat-arrow:active { transform: translateY(-50%) scale(.92); }
.fx-cat-arrow.prev { left: 6px; }
.fx-cat-arrow.next { right: 6px; }
@media (max-width: 991.98px) { .fx-cat-wrap.is-swipe .fx-cat-grid { gap: 12px; } .fx-cat-wrap.is-swipe .fx-cat { flex-basis: calc((100% - 3 * 12px) / 4); } }
@media (max-width: 575.98px) { .fx-cat-arrow { width: 32px; height: 32px; } .fx-cat-arrow.prev { left: 4px; } .fx-cat-arrow.next { right: 4px; } }
@media (max-width: 575.98px) { .fx-cat-wrap.is-swipe .fx-cat-grid { gap: 10px; } .fx-cat-wrap.is-swipe .fx-cat { flex-basis: calc((100% - 2 * 10px) / 3); } }

.fx-grid { display: grid; grid-template-columns: repeat(var(--fx-cols-xl, 5), minmax(0, 1fr)); gap: 18px; }   /* Site Design → Layout */
@media (max-width: 1199.98px) { .fx-grid { grid-template-columns: repeat(var(--fx-cols-lg, 4), minmax(0, 1fr)); } }
@media (max-width: 991.98px) { .fx-grid { grid-template-columns: repeat(var(--fx-cols-md, 3), minmax(0, 1fr)); gap: 12px; } }
@media (max-width: 575.98px) { .fx-grid { grid-template-columns: repeat(var(--fx-cols-sm, 2), minmax(0, 1fr)); gap: 10px; } }

.fx-list-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
@media (max-width: 767px) { .fx-list-grid { grid-template-columns: 1fr; gap: 12px; } }

.fx-view-all, .fx-order-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 7px;
    border: 1px solid var(--fx-btn-border); color: var(--fx-btn-text); background: transparent;
    border-radius: 6px; font-size: 13px; font-weight: 500; text-decoration: none; transition: all .2s;
}
.fx-view-all { padding: 9px 26px; }
.fx-view-all:hover, .fx-order-btn:hover:not([disabled]) { background: var(--fx-btn-hover-bg); color: var(--fx-btn-hover-text); border-color: var(--fx-btn-hover-bg); }

/* tabs (old markup, still used by other themes' partials) */
.fx-tabs { display: flex; gap: 10px; flex-wrap: wrap; }
.fx-tab { border: 1px solid #e5e7eb; background: #fff; color: #1f2937; border-radius: 6px; padding: 8px 16px; font-size: 13px; font-weight: 600; transition: all .2s; }
.fx-tab.active, .fx-tab:hover { background: var(--fx-primary); color: #fff; border-color: var(--fx-primary); }
.fx-tab-pane { display: none; }
.fx-tab-pane.active { display: grid; animation: fxPaneIn .3s ease; }
@keyframes fxPaneIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (max-width: 767px) {
    .fx-head-split { flex-direction: column; align-items: flex-start; }
    .fx-tabs { flex-wrap: nowrap; overflow-x: auto; width: 100%; padding-bottom: 4px; }
    .fx-tab { white-space: nowrap; }
}

/* Popular products: plain text tabs on a hairline, a sliding underline marks the picked one */
.fx-pop-tabs { position: relative; display: flex; gap: 28px; margin: -6px 0 22px; border-bottom: 1px solid #e5e7eb; overflow-x: auto; scrollbar-width: none; }
.fx-pop-tabs::-webkit-scrollbar { display: none; }
.fx-pop-tab {
    flex: none; width: auto !important; margin: 0; padding: 0 0 12px; height: auto;
    background: none !important; border: 0; border-radius: 0; box-shadow: none;
    color: #6b7280; font-size: 15px; font-weight: 600; letter-spacing: .01em; white-space: nowrap; cursor: pointer; transition: color .15s;
}
.fx-pop-tab:hover { color: #111827; }
.fx-pop-tab.active { color: var(--fx-primary); font-weight: 700; }
.fx-pop-tab:focus-visible { outline: 2px solid var(--fx-primary); outline-offset: 2px; }
.fx-pop-ink { position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--fx-primary); transition: transform .25s ease, width .25s ease; pointer-events: none; }
@media (max-width: 575.98px) {
    .fx-pop-tabs { gap: 22px; margin: -4px -16px 16px; padding: 0 16px; }
    .fx-pop-tab { font-size: 14px; padding-bottom: 10px; }
}

/* banner block */
.fx-banner {
    display: grid; grid-template-columns: 1fr 1.6fr; align-items: center; gap: 24px;
    border-radius: 14px; padding: 36px; background-size: cover; background-position: center; min-height: 360px;
    background-color: #e5e7eb;
}
.fx-banner-text small { display: block; font-size: 13px; letter-spacing: 2px; text-transform: uppercase; color: #fff; opacity: .85; }
.fx-banner-text h3 { color: #fff; font-size: 34px; font-weight: 700; margin: 6px 0 18px; text-shadow: 0 2px 12px rgba(0,0,0,.25); }
.fx-banner.is-dark .fx-banner-text small, .fx-banner.is-dark .fx-banner-text h3 { color: #111827; text-shadow: none; }
.fx-banner-btn {
    display: inline-flex; align-items: center; gap: 8px; min-width: 42px; height: 42px; padding: 0 14px;
    border-radius: 21px; background: #fff; color: #111827; text-decoration: none; font-weight: 600; justify-content: center;
}
.fx-banner-products { position: relative; min-width: 0; }
.fx-swiper-prev, .fx-swiper-next {
    position: absolute; top: 40%; z-index: 3; width: 34px; height: 34px; border-radius: 50%; border: 0;
    background: rgba(17,24,39,.75); color: #fff; font-size: 12px;
}
.fx-swiper-prev { left: -14px; } .fx-swiper-next { right: -14px; }
.fx-swiper-prev.swiper-button-disabled, .fx-swiper-next.swiper-button-disabled { opacity: .3; }
@media (max-width: 991.98px) {
    .fx-banner { grid-template-columns: 1fr; padding: 22px 16px; }
    .fx-banner-text h3 { font-size: 26px; }
    .fx-swiper-prev, .fx-swiper-next { display: none; }
}

/* ─────────────── Product card ─────────────── */
.fx-card { background: var(--fx-card-bg, #fff); border: 1px solid var(--fx-card-border, #eef0f3); border-radius: 8px; overflow: hidden; display: flex; flex-direction: column; height: 100%; transition: box-shadow .2s; }
.fx-card:hover { box-shadow: 0 8px 24px rgba(17,24,39,.08); }
.fx-card-img { position: relative; display: block; background: #f3f4f6; aspect-ratio: var(--fx-card-ratio, 4 / 5); overflow: hidden; }
.fx-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.fx-card:hover .fx-card-img img { transform: scale(1.04); }
.fx-save {
    position: absolute; top: 8px; right: 8px; background: var(--fx-badge-bg); color: var(--fx-badge-text);
    font-size: 11px; font-weight: 600; padding: 3px 7px; border-radius: 4px;
}
.fx-ribbon {
    position: absolute; top: 8px; left: 8px; background: var(--fx-accent); color: #fff;
    font-size: 11px; font-weight: 600; padding: 3px 8px; border-radius: 4px;
}
.fx-out { position: absolute; bottom: 8px; left: 8px; background: var(--fx-stock-out, #111827); color: #fff; font-size: 11px; padding: 3px 8px; border-radius: 4px; }
.fx-card-body { padding: 12px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.fx-card-body > .fx-card-title, .fx-card-body > .fx-stats, .fx-card-body > .fx-price { margin: 0 !important; }   /* the 8px gap is the only space between name, rating and price */
.fx-card-title {
    color: var(--fx-card-name, #111827); font-size: 14.5px; font-weight: 600; line-height: 1.4; text-decoration: none;
    display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;   /* one line, long names end with … */
}
.fx-card-title:hover { color: var(--fx-primary); }
.fx-rate { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; color: #111827; }
.fx-rate i { color: var(--fx-star, #f59e0b); font-size: 11px; }
.fx-rate em { font-style: normal; font-weight: 500; color: #6b7280; }
.fx-dot { width: 3px; height: 3px; border-radius: 50%; background: #c7cbd4; flex: none; }
.fx-sold { font-weight: 500; color: #4b5563; }
/* look 1: small label on the picture */
.fx-stats--img { position: absolute; right: 8px; bottom: 8px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 9px; border-radius: 6px; background: rgba(255, 255, 255, .94); box-shadow: 0 2px 10px rgba(17, 24, 39, .12); font-size: 12px; font-weight: 600; line-height: 1; white-space: nowrap; }
/* look 2: a line under the name */
.fx-stats--line { display: flex; align-items: center; gap: 6px; font-size: 12.5px; line-height: 1.2; white-space: nowrap; overflow: hidden; margin: 0; }
@media (max-width: 575.98px) {
    .fx-stats--img { height: 22px; padding: 0 7px; font-size: 11px; gap: 5px; right: 6px; bottom: 6px; }
    .fx-stats--line { font-size: 11.5px; gap: 5px; }
}
.fx-price { display: flex; align-items: baseline; gap: 8px; margin-top: 0; }   /* same gap as name → rating; buttons sit at the bottom */
.fx-price b { font-size: 17px; color: var(--fx-price, #111827); font-family: 'Anek Bangla', var(--fx-font); }
.fx-price del { font-size: 13px; color: var(--fx-price-old, #9ca3af); }
.fx-order-btn { width: 100%; padding: 8px 10px; cursor: pointer; }
.fx-order-btn[disabled] { opacity: .5; cursor: not-allowed; }
.fx-save-pill { align-self: flex-start; background: #d9f99d; color: #1f2937; font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 10px; }

/* rank layout (Top Selling): picture left with the position number, details right, three per row */
.fx-rank-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 991.98px) { .fx-rank-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575.98px) { .fx-rank-grid { grid-template-columns: 1fr; gap: 10px; } }
.fx-card-rank { flex-direction: row; align-items: stretch; position: relative; }
.fx-card-rank .fx-card-img { width: 132px; flex: none; aspect-ratio: 1 / 1; }
.fx-card-rank .fx-card-body { padding: 12px 14px; gap: 6px; min-width: 0; }
.fx-card-rank .fx-card-title { font-size: 14.5px; min-height: 0; max-height: none; padding-right: 34px; }   /* room for the ♡ */
.fx-card-rank .fx-price { margin-top: 2px; }
.fx-card-rank .fx-card-actions { margin-top: auto; }
.fx-card-rank .fx-wish { left: auto; right: 8px; top: 8px; }
.fx-card-rank .fx-wish { width: 32px; height: 32px; }
.fx-rank { position: absolute; top: 0; left: 0; min-width: 30px; height: 30px; padding: 0 8px; display: flex; align-items: center; justify-content: center; background: #fff; color: #111827; font-size: 14px; font-weight: 800; border-radius: 0 0 8px 0; box-shadow: 0 2px 6px rgba(17, 24, 39, .12); z-index: 2; }
.fx-rank.is-top { background: var(--fx-primary); color: #fff; }
@media (max-width: 575.98px) {
    .fx-card-rank .fx-card-img { width: 112px; }
    .fx-card-rank .fx-card-body { padding: 10px 12px; }
    .fx-card-rank .fx-card-title { font-size: 13.5px; }
}

/* list layout (old top selling) */
.fx-card-list { flex-direction: row; background: #f7f7f8; border: 0; }
.fx-card-list .fx-card-img { width: 42%; flex-shrink: 0; aspect-ratio: auto; min-height: 210px; }
.fx-card-list .fx-card-body { padding: 18px; justify-content: center; }
.fx-card-list .fx-card-title { font-size: 16px; min-height: 0; }
.fx-card-list .fx-price { margin-top: 0; }
.fx-card-list .fx-order-btn { width: auto; align-self: flex-start; padding: 8px 16px; background: #fff; }
@media (max-width: 575.98px) {
    .fx-card-list .fx-card-img { min-height: 160px; }
    .fx-card-list .fx-card-body { padding: 12px; }
    .fx-card-list .fx-card-title { font-size: 14px; }
}
@media (max-width: 575.98px) {
    .fx-card-body { padding: 9px; gap: 6px; }
    .fx-card-title { font-size: 13px; }
    .fx-price b { font-size: 15px; }
    .fx-order-btn { font-size: 12px; padding: 7px 6px; }
}

/* ─────────────── Footer ─────────────── */
.fx-footer { background: var(--fx-footer-bg); color: var(--fx-footer-text); border-top: 1px solid #e8eaef; margin-top: 64px; }
/* four promises */
.fx-promise { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 16px;   /* as many columns as promises shown */ padding-top: 28px; padding-bottom: 28px; border-bottom: 1px solid #e8eaef; }
.fx-promise-item { display: flex; align-items: center; gap: 12px; min-width: 0; }
.fx-promise-item > span { flex: none; width: 46px; height: 46px; border-radius: 8px; background: #fff; border: 1px solid #e5e7eb; color: var(--fx-primary); display: flex; align-items: center; justify-content: center; }
.fx-promise-item p { margin: 0 !important; display: flex; flex-direction: column; min-width: 0; line-height: 1.35 !important; }
.fx-promise-item b { font-size: 14.5px; font-weight: 700; color: #111827; white-space: nowrap; }
.fx-promise-item small { font-size: 12.5px; color: #6b7280; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* columns */
.fx-footer-grid { display: grid; grid-template-columns: 1.3fr 1.4fr 1fr; gap: 40px; padding-top: 36px; padding-bottom: 36px; }
/* links in two short columns */
.fx-fcol .fx-footer-links { display: grid; grid-template-columns: repeat(2, max-content); gap: 0 48px; }
.fx-footer-logo { height: var(--fx-flogo-h, 50px); width: auto; max-width: 260px; object-fit: contain; margin-bottom: 14px; }
.fx-footer p { font-size: 14px; line-height: 1.7; }
.fx-footer-text { margin-bottom: 16px; max-width: 320px; }
.fx-footer-title { font-weight: 800; color: #111827; font-size: 15px !important; margin: 0 0 16px !important; letter-spacing: .01em; }
.fx-footer-sub { font-size: 12.5px !important; font-weight: 700; color: #6b7280; text-transform: uppercase; letter-spacing: .06em; margin: 20px 0 10px !important; }
.fx-footer-links, .fx-contact { list-style: none; margin: 0; padding: 0; }
.fx-footer-links li { margin-bottom: 10px; }
.fx-footer-links a { position: relative; color: var(--fx-footer-text); text-decoration: none; font-size: 14px; transition: color .15s, padding .15s; }
.fx-footer-links a:hover { color: var(--fx-primary); padding-left: 6px; }
.fx-contact li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; margin-bottom: 10px; line-height: 1.5; }
.fx-contact li > span { flex: none; width: 30px; height: 30px; border-radius: 6px; background: #fff; border: 1px solid #e5e7eb; color: var(--fx-primary); display: flex; align-items: center; justify-content: center; margin-top: -4px; }
.fx-contact a { color: var(--fx-footer-text); text-decoration: none; }
.fx-contact a:hover { color: var(--fx-primary); }
/* newsletter card + social */
.fx-news-card { background: #fff; border: 1px solid #e5e7eb; border-radius: 8px; padding: 18px; }
.fx-news-card .fx-footer-title { margin-bottom: 6px !important; }
.fx-news-card .fx-muted { font-size: 13px; margin-bottom: 12px; }
.fx-muted { color: #6b7280; }
.fx-newsletter { display: flex; border: 1px solid #d1d5db; border-radius: 6px; overflow: hidden; background: #fff; }
.fx-newsletter:focus-within { border-color: var(--fx-primary); }
.fx-newsletter input { flex: 1; border: 0; padding: 0 12px; font-size: 14px; outline: none; min-width: 0; }
.fx-newsletter button { flex: none; border: 0; background: var(--fx-primary); color: #fff; width: 46px; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.fx-social { display: flex; gap: 8px; flex-wrap: wrap; }
.fx-social a { width: 38px; height: 38px; border-radius: 8px; background: #fff; border: 1px solid #e5e7eb; display: flex; align-items: center; justify-content: center; color: #374151; text-decoration: none; font-size: 15px; transition: background .15s, color .15s, border-color .15s, transform .15s; }
.fx-social a:hover { color: #fff; transform: translateY(-2px); }
.fx-social .fx-so-facebook-f:hover { background: #1877f2; border-color: #1877f2; }
.fx-social .fx-so-instagram:hover { background: #e1306c; border-color: #e1306c; }
.fx-social .fx-so-youtube:hover { background: #ff0000; border-color: #ff0000; }
.fx-social .fx-so-tiktok:hover { background: #111827; border-color: #111827; }
.fx-apps { display: flex; gap: 10px; flex-wrap: wrap; }
.fx-app-btn { display: inline-flex; align-items: center; gap: 8px; background: #111827; color: #fff; border-radius: 6px; padding: 6px 12px; text-decoration: none; }
.fx-app-btn i { font-size: 20px; }
.fx-app-btn span { display: flex; flex-direction: column; font-size: 14px; line-height: 1.1; }
.fx-app-btn small { font-size: 9px; text-transform: uppercase; }
/* centred block */
.fx-footer-center { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; padding-top: 36px; padding-bottom: 32px; }
.fx-footer-center .fx-footer-logo { margin: 0; }
.fx-footer-center .fx-footer-text { margin: 0 auto; max-width: 520px; }
.fx-footer-center .fx-contact { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; }
.fx-footer-center .fx-contact li { margin: 0; align-items: center; }
.fx-footer-center .fx-contact li > span { margin-top: 0; }
.fx-links-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 0; padding-top: 18px !important; border-top: 1px solid #e8eaef; width: 100%; max-width: 760px; }
.fx-links-row li { margin: 0; display: flex; align-items: center; }
.fx-links-row li + li::before { content: ""; width: 4px; height: 4px; border-radius: 1px; background: #c7cbd4; margin: 0 14px; }
.fx-links-row a { font-weight: 600; color: #374151; }
.fx-links-row a:hover { padding-left: 0; }
.fx-footer-center .fx-social { justify-content: center; }
.fx-footer-center .fx-apps { justify-content: center; }

/* bottom bar */
.fx-footer-bottom { border-top: 1px solid #e8eaef; background: rgba(17, 24, 39, .03); }
.fx-footer-bottom-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 14px; padding-bottom: 14px; }
.fx-copyright { font-size: 13px; color: #6b7280; }
.fx-copyright a { color: inherit; }
.fx-pay { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 12.5px; color: #6b7280; }
.fx-pay span { margin-right: 4px; }
.fx-pay b { height: 28px; padding: 0 10px; border-radius: 6px; background: #fff; border: 1px solid #e5e7eb; display: inline-flex; align-items: center; font-size: 12px; font-weight: 700; color: #111827; white-space: nowrap; }
.fx-pay b.pm-bkash { color: #e2136e; }
.fx-pay b.pm-nagad { color: #f6921e; }
.fx-pay b.pm-rocket { color: #8c3494; }
.fx-pay b.pm-upay { color: #0a6bd6; }
@media (max-width: 991.98px) {
    /* tablet & phone: the promises stay in one row — icon on top, text under it */
    .fx-promise { grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); grid-template-columns: none; gap: 12px; }
    .fx-promise-item { flex-direction: column; align-items: center; text-align: center; gap: 8px; }
    .fx-promise-item p { align-items: center; }
    .fx-promise-item b { white-space: normal; line-height: 1.25; }
    .fx-promise-item small { white-space: normal; overflow: visible; text-overflow: clip; line-height: 1.3; }
    .fx-footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 24px; }
    .fx-footer-about { grid-column: 1 / -1; }
}
@media (max-width: 575.98px) {
    .fx-footer { margin-top: 44px; }
    .fx-footer-logo { height: auto; max-height: min(var(--fx-flogo-h, 50px), 28px); max-width: 120px; margin-bottom: 10px; }
    .fx-promise { gap: 8px; padding-top: 18px; padding-bottom: 18px; }
    .fx-promise-item { gap: 7px; }
    .fx-promise-item > span { width: 40px; height: 40px; }
    .fx-promise-item b { font-size: 12.5px; }
    .fx-promise-item small { font-size: 11px; }
    .fx-footer-grid { grid-template-columns: 1fr; gap: 22px; padding-top: 24px; padding-bottom: 24px; }
    .fx-fcol .fx-footer-links { grid-template-columns: 1fr 1fr; gap: 0 16px; }
    .fx-footer-title { margin-bottom: 10px !important; }
    .fx-footer-bottom-in { flex-direction: column; align-items: center; text-align: center; }
    .fx-pay { justify-content: center; }
    .fx-footer-center { gap: 14px; padding-top: 26px; padding-bottom: 24px; }
    .fx-footer-center .fx-contact { flex-direction: column; align-items: center; gap: 8px; }
    /* phone: three per line, no dots (a dot would start the second line) */
    .fx-links-row { display: grid; grid-template-columns: repeat(3, auto); justify-content: center; gap: 10px 22px; padding-top: 14px !important; }
    .fx-links-row li + li::before { display: none; }
    .fx-links-row a { font-size: 13.5px; }
    .fx-footer-bottom { padding-bottom: 76px; }   /* clear the phone bottom bar */
}

/* ─────────────── Floating cart (desktop) ─────────────── */
/* small square tab: bag + count; the total slides out on hover */
.fx-float-cart {
    /* right above the customer-care button (contact_hub: right 18px, bottom 120px, 44px tall) */
    /* round and the same size as the chat button under it (44px, white rim, same shadow) — the two read as one set */
    position: fixed; right: 18px; bottom: 174px; z-index: 1040; width: 44px; height: 44px;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; padding: 0;
    background: var(--fx-cart-bg, #4f46e5); color: var(--fx-cart-text, #fff) !important;
    border-radius: 50%; text-decoration: none; box-shadow: 0 6px 18px rgba(0,0,0,.22); border: 2px solid #fff;
    transform: translateX(160%); opacity: 0; pointer-events: none; transition: transform .3s, opacity .25s, box-shadow .2s;
}
.fx-float-cart.has-items { transform: none; opacity: 1; pointer-events: auto; }
.fx-float-cart.has-items:hover { box-shadow: 0 10px 22px rgba(0,0,0,.26); }
.fx-float-cart * { color: inherit; }
.fx-fc-ic { position: relative; font-size: 15px; line-height: 1; display: flex; }
.fx-fc-ic svg { width: 15px; height: 15px; }
.fx-float-cart .fx-fc-ic b { display: none !important; }   /* no count badge on the floating cart — icon + amount only */
.fx-fc-ic b { position: absolute; top: -9px; right: -10px; min-width: 16px; height: 16px; padding: 0 3px; border-radius: 4px; background: var(--fx-cart-text, #fff); color: var(--fx-cart-bg, #4f46e5) !important; font-size: 10px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.fx-float-total { font-size: 9.5px; font-weight: 700; white-space: nowrap; line-height: 1; letter-spacing: -.2px; }   /* the cart total, always under the icon */
.fx-fc-go { display: none; }
/* phones / tablets: also shown, above the customer-care button there (right 12px, bottom 90px) */
@media (max-width: 991.98px) { .fx-float-cart { right: 12px; bottom: 144px; } .fx-float-total { font-size: 9px; } }

/* ─────────────── Mobile bottom nav ─────────────── */
.fx-bottom-nav { display: none; }
@media (max-width: 991.98px) {
    /* full-width light bar; Home is a raised round button in the middle */
    .fx-bottom-nav {
        display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 1045;
        height: calc(62px + env(safe-area-inset-bottom)); padding: 0 6px env(safe-area-inset-bottom);
        background: var(--fx-mobile-bg, #fff); border-top: 1px solid rgba(17,24,39,.08);
        box-shadow: 0 -6px 20px rgba(17,24,39,.06); align-items: center; justify-content: space-around;
    }
    .fx-bn-side { flex: 1 1 0; min-width: 0; height: 100%; display: flex; align-items: center; justify-content: space-evenly; }
    .fx-bottom-nav .fx-bn-side .fx-bn-item { flex: 0 1 76px; }
    .fx-bottom-nav.no-home .fx-bn-side .fx-bn-item { flex: 0 1 84px; }
    .fx-bottom-nav.is-odd .fx-bn-side { display: contents; }
    .fx-bottom-nav.is-odd .fx-bn-item, .fx-bottom-nav.is-odd .fx-bn-home { flex: 1 1 0; }
    .fx-bn-item { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; height: 100%; color: var(--fx-mobile-icon, #6b7280) !important; text-decoration: none; position: relative; transition: color .15s; }
    .fx-bn-item.is-active { color: var(--fx-mobile-active, var(--fx-primary)) !important; }
    .fx-bn-item.is-active::before { content: ''; position: absolute; top: 0; left: 30%; right: 30%; height: 3px; border-radius: 0 0 3px 3px; background: currentColor; }
    .fx-bn-ic { position: relative; display: flex; }
    .fx-bn-ic .fx-ico { width: 24px; height: 24px; stroke-width: 2; }
    .fx-bn-lb { font-size: 11px; font-weight: 700; letter-spacing: .01em; white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
    .fx-bn-badge { position: absolute; top: -6px; right: -9px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; background: var(--fx-accent, #e11d48); color: #fff; font-size: 10px; font-weight: 700; display: flex; align-items: center; justify-content: center; border: 2px solid var(--fx-mobile-bg, #fff); }
    .fx-bn-badge:empty, .fx-bn-badge[data-zero] { display: none; }
    .fx-bn-home { flex: 0 0 72px; display: flex; justify-content: center; text-decoration: none; }
    .fx-bn-home-ic { width: 56px; height: 56px; margin-top: -26px; border-radius: 50%; background: var(--fx-mobile-active, var(--fx-primary)); color: #fff; display: flex; align-items: center; justify-content: center; border: 4px solid var(--fx-mobile-bg, #fff); box-shadow: 0 8px 18px rgba(17,24,39,.22); transition: transform .15s; }
    .fx-bn-home:active .fx-bn-home-ic { transform: scale(.94); }
    /* make the bar feel alive */
    .fx-bn-ic { padding: 4px 10px; border-radius: 8px; transition: background .2s, transform .2s; }
    .fx-bn-item.is-active .fx-bn-ic { background: var(--fx-mobile-active, #232a45); color: #fff; box-shadow: 0 4px 10px color-mix(in srgb, var(--fx-mobile-active, #232a45) 35%, transparent); }
    .fx-bn-item.is-active .fx-ico { stroke-width: 2.3; }
    .fx-bn-item.is-active::before { display: none; }
    .fx-bn-item:active .fx-bn-ic { transform: scale(.88); }
    .fx-bn-item.is-tapped .fx-bn-ic { animation: fxBnPop .42s cubic-bezier(.34,1.56,.64,1); }
    .fx-bn-item .fx-bn-badge { top: -2px; right: 2px; }
    .fx-bn-badge.is-bump { animation: fxBnBump .5s cubic-bezier(.34,1.56,.64,1); }
    .fx-bn-home-ic { animation: fxBnGlow 2.8s ease-in-out infinite; }
    .fx-bn-home.is-tapped .fx-bn-home-ic { animation: fxBnPop .42s cubic-bezier(.34,1.56,.64,1); }
    @keyframes fxBnPop { 0% { transform: scale(1); } 40% { transform: scale(.82) translateY(2px); } 75% { transform: scale(1.12) translateY(-3px); } 100% { transform: scale(1); } }
    @keyframes fxBnBump { 0% { transform: scale(1); } 35% { transform: scale(1.45); } 100% { transform: scale(1); } }
    @keyframes fxBnGlow { 0%, 100% { box-shadow: 0 8px 18px rgba(17,24,39,.22); } 50% { box-shadow: 0 8px 18px rgba(17,24,39,.22), 0 0 0 7px color-mix(in srgb, var(--fx-mobile-active, #232a45) 14%, transparent); } }
    @media (prefers-reduced-motion: reduce) { .fx-bn-home-ic, .fx-bn-item.is-tapped .fx-bn-ic, .fx-bn-badge.is-bump { animation: none !important; } }
    body { padding-bottom: calc(70px + env(safe-area-inset-bottom)); }
    /* keep the WhatsApp / back-to-top buttons above the bar */
    .premium-float-stack { bottom: 90px !important; }
    /* the classic theme's own bottom bar must never show under this one */
    #footerNav { display: none !important; }
}

/* classic stylesheets set heavy fonts on headings/inputs — keep the theme's own */
.fx-home h3, .fx-home h4, .fx-footer p, .fx-footer a, .fx-footer li,
.fx-header a, .fx-header input, .fx-offcanvas a, .fx-card a, .fx-card b, .fx-card button, .fx-tab {
    font-family: var(--fx-font) !important;
}
.fx-title { font-weight: 600 !important; }
.fx-newsletter input { height: 44px !important; padding: 0 12px !important; min-height: 0 !important; border: 0 !important; box-shadow: none !important; background: #fff !important; }
.fx-search input { min-height: 0 !important; box-shadow: none !important; }
.fx-logo .fx-logo-text { display: none; }
.fx-logo.no-img .fx-logo-text { display: inline; }

/* ── product card: ♡ + add-to-cart buttons (moved here from the footer so cards never jump on load) ── */
    .fx-card { position: relative; }
    .fx-wish { position: absolute; top: 8px; left: 8px; z-index: 3; width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; padding: 0; border: 0; border-radius: 8px; background: rgba(255,255,255,.92); color: #374151; box-shadow: 0 2px 8px rgba(0,0,0,.12); cursor: pointer; transition: transform .15s, color .15s, background .15s; }
    .fx-wish:hover { color: var(--fx-wish-on, #e11d48); transform: scale(1.06); }
    .fx-wish.is-on { color: var(--fx-wish-on, #e11d48); }
    .fx-wish.is-on .fx-ico { fill: currentColor; }
    .fx-wish.is-busy { opacity: .6; pointer-events: none; }
    .fx-wish.pop { animation: fxWishPop .45s cubic-bezier(.34,1.56,.64,1); }
    @keyframes fxWishPop { 0% { transform: scale(1); } 40% { transform: scale(1.35); } 100% { transform: scale(1); } }
    .fx-card-actions { display: flex; gap: 8px; align-items: stretch; margin-top: auto; padding-top: 4px; }
    .fx-card-actions .fx-order-form { flex: 1; min-width: 0; display: flex; }
    .fx-card-actions .fx-order-btn { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .fx-cart-btn { flex: 0 0 40px; width: 40px; display: flex; align-items: center; justify-content: center; padding: 0; border: 1px solid var(--fx-btn-border, #232a45); border-radius: 6px; background: #fff; color: var(--fx-btn-text, #232a45) !important; cursor: pointer; transition: background .15s, color .15s; }
    .fx-cart-btn:hover { background: var(--fx-btn-hover-bg, #232a45); color: var(--fx-btn-hover-text, #fff) !important; }
    .fx-cart-btn.is-busy { opacity: .6; pointer-events: none; }
    .fx-cart-btn.is-added { background: var(--fx-incart-bg, #16a34a); border-color: var(--fx-incart-bg, #16a34a); color: var(--fx-incart-text, #fff) !important; }
    /* "In cart" label on the picture of a product that is already in the cart */
    .fx-incart { position: absolute; left: 6px; bottom: 6px; z-index: 3; display: inline-flex; align-items: center; gap: 3px; padding: 3px 6px; border-radius: 6px; background: var(--fx-incart-bg, #16a34a); color: var(--fx-incart-text, #fff); font-size: 10.5px; font-weight: 700; line-height: 1; }
    .fx-incart svg { width: 10px; height: 10px; }
    .fx-incart[hidden] { display: none; }
    .fx-cart-lb { display: none; }
    .fx-card-actions.cart-only .fx-cart-btn { flex: 1; width: auto; height: 36px; gap: 6px; font-size: 13.5px; font-weight: 600; }
    .fx-card-actions.cart-only .fx-cart-lb { display: inline; }

/* ── product badges (New / Hot / …) — moved from the badge partial ── */
    .pb { display: flex; flex-wrap: wrap; gap: 4px; pointer-events: none; }
    .pb-card { position: absolute; left: 8px; bottom: 8px; z-index: 5; max-width: calc(100% - 16px); }
    .pb-page { margin: 0 0 8px; }
    .pb-b { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 4px; background: var(--pb-bg); color: var(--pb-fg) !important; font-size: 11.5px; font-weight: 800; letter-spacing: .02em; line-height: 1; white-space: nowrap; box-shadow: 0 2px 6px rgba(0, 0, 0, .12); font-family: inherit; }
    .pb-page .pb-b { height: 26px; padding: 0 10px; font-size: 12.5px; }
    @media (max-width: 575.98px) { .pb-card { left: 6px; bottom: 6px; } .pb-b { height: 20px; padding: 0 6px; font-size: 10.5px; } }
  
.fx-card .pb-card { max-width: calc(100% - 120px); }   /* leave room for the rating label on the right */


/* ── footer: contact left · logo middle · links right (phones: logo on top, contact | links below) ── */
.fx-footer-3 { display: grid; grid-template-columns: 1fr minmax(0, 1.25fr) 1fr; grid-template-areas: "left mid right"; align-items: start; gap: 32px; padding-top: 40px; padding-bottom: 34px; }
.fx-f3-mid { grid-area: mid; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; }
.fx-f3-left { grid-area: left; text-align: left; }
.fx-f3-right { grid-area: right; text-align: right; }
.fx-f3-mid .fx-footer-logo { margin: 0; }
.fx-f3-mid .fx-footer-text { margin: 0; max-width: 420px; }
.fx-f3-title { margin: 4px 0 14px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #111827; }
.fx-f3-left .fx-contact li { align-items: center; }
.fx-f3-left .fx-contact li > span { margin-top: 0; }
/* links in two columns (3 + 3) so the right side is as tall as the contact side */
.fx-f3-right .fx-footer-links { display: grid; grid-template-columns: 1fr; gap: 10px; text-align: right; }
.fx-f3-right .fx-footer-links li { margin: 0; line-height: 30px; }
.fx-f3-left .fx-contact li { margin-bottom: 10px; min-height: 30px; }
.fx-f3-right .fx-footer-links a { font-weight: 500; }
.fx-f3-right .fx-footer-links a:hover { padding-left: 0; padding-right: 6px; }
.fx-f3-mid .fx-social, .fx-f3-mid .fx-apps { justify-content: center; }

/* official brand icons: each in its own brand colour (square tiles, 6px corners) */
.fx-social { gap: 10px; }
.fx-social a { width: 40px; height: 40px; border-radius: 6px; border: 0 !important; color: #fff !important; font-size: 18px; box-shadow: 0 4px 10px rgba(17, 24, 39, .12); transition: transform .15s ease, box-shadow .15s ease, filter .15s ease; }
.fx-social a:hover { transform: translateY(-2px); filter: brightness(1.08); box-shadow: 0 8px 16px rgba(17, 24, 39, .18); }
.fx-social .fx-so-facebook-f, .fx-social .fx-so-facebook-f:hover { background: #1877f2; }
.fx-social .fx-so-instagram, .fx-social .fx-so-instagram:hover { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.fx-social .fx-so-youtube, .fx-social .fx-so-youtube:hover { background: #ff0000; }
.fx-social .fx-so-tiktok, .fx-social .fx-so-tiktok:hover { background: #010101; text-shadow: -1.5px -1px 0 #25f4ee, 1.5px 1px 0 #fe2c55; }
.fx-social .fx-so-twitter, .fx-social .fx-so-twitter:hover { background: #000; }
.fx-social .fx-so-whatsapp, .fx-social .fx-so-whatsapp:hover { background: #25d366; font-size: 20px; }

.fx-ct-wa { color: #25d366 !important; font-size: 16px; }

/* We accept: real logos on small white tiles */
.fx-pay { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.fx-pay b.pm-logo { display: inline-flex; align-items: center; justify-content: center; height: 38px; min-width: 52px; padding: 4px 8px; background: #fff; border: 1px solid #e5e7eb; border-radius: 6px; }
.fx-pay b.pm-logo img { height: 28px; width: auto; max-width: 104px; object-fit: contain; display: block; }   /* wide gateway logos stay small */
.fx-pay b.pm-cod { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 10px; background: #fff; border: 1px solid #e5e7eb; border-radius: 6px; color: #15803d; font-size: 12px; font-weight: 700; }
.fx-pay b.pm-cod i { font-size: 14px; }

/* phones: logo + social on top; contact (4) on the left, links (4) on the right */
@media (max-width: 767.98px) {
    .fx-footer-3 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "mid mid" "left right"; gap: 22px 12px; padding-top: 26px; padding-bottom: 22px; }
    .fx-f3-title { margin-bottom: 10px; font-size: 12px; }
    .fx-f3-left .fx-contact li { margin-bottom: 8px; min-height: 26px; font-size: 13px; gap: 8px; word-break: break-word; }
    .fx-f3-left .fx-contact li > span { width: 26px; height: 26px; }
    .fx-f3-right .fx-footer-links { gap: 8px; }
    .fx-f3-right .fx-footer-links li { line-height: 26px; }
    .fx-f3-right .fx-footer-links a { font-size: 13px; white-space: nowrap; }
    .fx-social a { width: 38px; height: 38px; font-size: 17px; }
    .fx-pay { justify-content: center; }
    .fx-pay b.pm-logo { height: 34px; min-width: 50px; padding: 4px 8px; }
    .fx-pay b.pm-logo img { height: 25px; }
    .fx-pay b.pm-cod { height: 34px; font-size: 11.5px; }
}

/* ── top bar announcement (Site Design → Header) ── */
.fx-topbar { background: var(--fx-tb-bg); color: var(--fx-tb-text); font-size: 13px; line-height: 34px; height: 34px; overflow: hidden; white-space: nowrap; position: relative; z-index: 2; }
.fx-topbar-track { display: inline-flex; animation: fxTicker 40s linear infinite; will-change: transform; }
.fx-topbar:hover .fx-topbar-track { animation-play-state: paused; }
.fx-topbar-set { display: inline-flex; }
.fx-topbar-set > span { padding: 0 28px; position: relative; }
.fx-topbar-set > span::after { content: ""; position: absolute; right: -2px; top: 50%; width: 4px; height: 4px; margin-top: -2px; border-radius: 1px; background: currentColor; opacity: .5; }
@keyframes fxTicker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .fx-topbar-track { animation-duration: 120s; } }
@media (max-width: 767.98px) { .fx-topbar { font-size: 12px; height: 30px; line-height: 30px; } }
.fx-apps-title { font-size: 13px; font-weight: 600; color: var(--fx-footer-text); margin-bottom: -6px; }

/* footer colours (Site Design → Footer → Footer colours) */
.fx-f3-title { color: var(--fx-footer-title, #111827); }
.fx-promise-item b { color: var(--fx-footer-title, #111827); }
.fx-promise-item small, .fx-copyright { color: var(--fx-footer-muted, #6b7280); }
.fx-promise-item > span, .fx-contact li > span { background: var(--fx-footer-tile, #fff); border-color: var(--fx-footer-line, #e5e7eb); }
.fx-promise { border-bottom-color: var(--fx-footer-line, #e8eaef); }
.fx-footer-bottom { background: var(--fx-footer-bottom, rgba(17, 24, 39, .03)); border-top-color: var(--fx-footer-line, #e8eaef); }

/* ── computers: a compact, professional footer — brand | links | contact in one row, less empty space ── */
@media (min-width: 992px) {
    .fx-footer { margin-top: 24px; }
    .fx-promise { padding-top: 16px; padding-bottom: 16px; gap: 20px; }
    .fx-promise-item { gap: 10px; }
    .fx-promise-item > span { width: 38px; height: 38px; }
    .fx-promise-item b { font-size: 13.5px; }
    .fx-promise-item small { font-size: 12px; }

    .fx-footer-3 { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.25fr) minmax(0, 1fr); grid-template-areas: "mid right left"; gap: 56px; padding-top: 30px; padding-bottom: 26px; align-items: start; }
    .fx-f3-mid { align-items: flex-start; text-align: left; gap: 12px; }
    .fx-f3-mid .fx-footer-logo { height: auto; max-height: min(var(--fx-flogo-h, 50px), 44px); max-width: 200px; }
    .fx-f3-mid .fx-footer-text { max-width: 360px; font-size: 13.5px; line-height: 1.6; }
    .fx-f3-mid .fx-social, .fx-f3-mid .fx-apps { justify-content: flex-start; }
    .fx-f3-mid .fx-social a { width: 34px; height: 34px; font-size: 15px; box-shadow: none; }

    .fx-f3-title { margin: 2px 0 12px; font-size: 12.5px; }
    .fx-f3-right { text-align: left; }
    .fx-f3-right .fx-footer-links { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 24px; text-align: left; }
    .fx-f3-right .fx-footer-links li { line-height: 28px; }
    .fx-f3-right .fx-footer-links a { font-size: 13.5px; }
    .fx-f3-right .fx-footer-links a:hover { padding-right: 0; padding-left: 4px; }
    .fx-f3-left .fx-contact li { font-size: 13.5px; margin-bottom: 6px; min-height: 26px; gap: 10px; }
    .fx-f3-left .fx-contact li > span { width: 26px; height: 26px; }

    .fx-footer-bottom-in { padding-top: 10px; padding-bottom: 10px; }
    .fx-copyright { font-size: 12.5px; }
    .fx-pay { gap: 6px; font-size: 12px; }
    .fx-pay b.pm-logo { height: 30px; min-width: 44px; padding: 3px 7px; }
    .fx-pay b.pm-logo img { height: 22px; max-width: 84px; }
    .fx-pay b.pm-cod { height: 30px; font-size: 11.5px; padding: 0 8px; }
}
.ces + .fx-footer { margin-top: 0 !important; }   /* the certificate line sits right on the footer — no empty band between */
