@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;600;700;800;900&display=swap');
@import url('https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@7.3.1/css/all.min.css');

:root {
  --accent: #0b8060;
  --accent-dark: #07533d;
  --accent-deep: #033529;
  --surface-muted: #e4f0ea;
  --surface-soft: #f4f8f6;
  --surface-warm: #faf8f1;
  --ink: #19211e;
  --muted: #6b7873;
  --line: #dce8e2;
  --white: #fff;
  --green: #148759;
  --shadow: 0 22px 60px rgba(3,75,55, .12);
  --radius: 24px;
  --container: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: "Cairo", Tahoma, Arial, sans-serif; line-height: 1.7; overflow-x: hidden; }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
img { max-width: 100%; display: block; }
svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
svg.fill-icon { fill: currentColor; stroke: none; }
.hb-icon { width: 1.15em; display: inline-grid; place-items: center; line-height: 1; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.section { padding: 88px 0; }
.section-soft { background: var(--surface-soft); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 34px; }
.section-head.center { max-width: 760px; margin-inline: auto; margin-bottom: 40px; text-align: center; display: block; }
.section-head h1, .section-head h2 { margin: 4px 0 0; font-size: clamp(30px, 4vw, 48px); line-height: 1.3; letter-spacing: -.035em; }
.section-head p { margin: 10px 0 0; color: var(--muted); }
.eyebrow { margin: 0; color: var(--accent); font-size: 11px; font-weight: 900; letter-spacing: .11em; text-transform: uppercase; }
.button { min-height: 48px; padding: 11px 22px; border: 1px solid transparent; border-radius: 13px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; font-size: 13px; font-weight: 800; transition: .25s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--accent); color: #fff; box-shadow: 0 14px 28px rgba(11,128,96,.22); }
.button-primary:hover { background: #087457; box-shadow: 0 17px 34px rgba(11,128,96,.3); }
.button-outline { border-color: var(--line); background: #fff; color: var(--accent-dark); }
.button.full { width: 100%; }
.button.grow { flex: 1; }
.button:disabled, .add-cart-btn:disabled { opacity: .48; cursor: not-allowed; transform: none; box-shadow: none; }

/* Header */
.announcement { min-height: 38px; background: linear-gradient(90deg, var(--accent-dark), var(--accent)); color: #fff; font-size: 10px; font-weight: 700; }
.announcement .container { min-height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.announcement a { border-bottom: 1px solid rgba(255,255,255,.55); }
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); box-shadow: 0 8px 28px rgba(3,60,44,.05); backdrop-filter: blur(12px); }
.header-main { min-height: 86px; display: grid; grid-template-columns: auto minmax(260px,1fr) auto; align-items: center; gap: 35px; }
.brand { display: inline-flex; align-items: center; gap: 11px; min-width: max-content; direction: ltr; }
.brand-logo { width: 58px; height: 58px; padding: 4px; border: 1px solid #d8e6df; border-radius: 17px; background: #fff; box-shadow: 0 9px 20px rgba(3,75,55,.09); overflow: hidden; }
.brand-logo img { width: 100%; height: 100%; object-fit: contain; border-radius: 12px; }
.brand strong { display: block; font-size: 20px; font-weight: 900; line-height: 1.1; }
.brand small { color: var(--accent); font-size: 8px; font-weight: 700; }
.header-search { height: 48px; display: flex; border: 1px solid var(--line); border-radius: 14px; background: #fbf8f8; overflow: hidden; transition: .2s; }
.header-search:focus-within { border-color: rgba(11,128,96,.45); box-shadow: 0 0 0 4px rgba(11,128,96,.07); background: #fff; }
.header-search input { width: 100%; min-width: 0; padding: 0 18px; border: 0; outline: 0; background: transparent; color: var(--ink); }
.header-search button { width: 54px; border: 0; background: var(--accent); color: #fff; display: grid; place-items: center; }
.header-actions { display: flex; align-items: center; gap: 8px; direction: ltr; }
.icon-link, .icon-btn, .lang-toggle { height: 42px; border: 1px solid var(--line); background: #fff; color: var(--ink); border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; transition: .22s; }
.icon-link { width: 42px; position: relative; }
.icon-link:hover, .icon-btn:hover { color: var(--accent); border-color: rgba(11,128,96,.35); transform: translateY(-2px); }
.icon-link em { position: absolute; top: -7px; right: -6px; min-width: 19px; height: 19px; padding: 0 4px; border: 2px solid #fff; border-radius: 20px; background: var(--accent); color: #fff; display: grid; place-items: center; font-size: 8px; font-style: normal; font-weight: 900; }
.icon-link em.is-empty { background: #aaa; }
.lang-toggle { width: 55px; gap: 3px; color: var(--accent-dark); font-size: 10px; font-weight: 900; }
.lang-toggle b { display: none; }
.main-nav { border-top: 1px solid #eaf2ee; }
.main-nav .container { min-height: 54px; display: flex; align-items: center; justify-content: center; gap: clamp(18px,2.4vw,34px); }
.main-nav a { position: relative; font-size: 13px; font-weight: 800; white-space: nowrap; }
.main-nav a::after { content: ""; position: absolute; inset-inline: 50% auto; bottom: -14px; width: 0; height: 2px; border-radius: 4px; background: var(--accent); transition: .25s; }
.main-nav a:hover { color: var(--accent); }
.main-nav a:hover::after { width: 100%; inset-inline: 0 auto; }
.main-nav .deal-link { color: var(--accent); }
.mobile-menu-btn, .mobile-search, .mobile-panel, .mobile-overlay { display: none; }

/* Hero */
.store-hero { position: relative; min-height: 610px; overflow: hidden; background: linear-gradient(130deg,#fff8f5 0%,#e5f1eb 52%,#b9ddd0 100%); }
.store-hero::before { content: ""; position: absolute; width: 520px; height: 520px; inset: -190px auto auto -160px; border-radius: 50%; background: rgba(11,128,96,.09); }
.store-hero .container { min-height: 610px; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 40px; }
.hero-copy { position: relative; z-index: 2; max-width: 640px; padding: 70px 0; }
.hero-copy h1 { margin: 10px 0 18px; max-width: 620px; font-size: clamp(45px, 5.3vw, 74px); line-height: 1.2; letter-spacing: -.05em; }
.hero-copy h1 b { font: inherit; }
.hero-copy h1 span { color: var(--accent); }
.hero-copy > p { max-width: 570px; margin: 0; color: #56655f; font-size: 15px; line-height: 2; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 28px; }
.hero-points span { display: inline-flex; align-items: center; gap: 7px; font-size: 10px; font-weight: 800; }
.hero-points span::before { content: "✓"; width: 22px; height: 22px; border-radius: 50%; background: #fff; color: var(--accent); display: grid; place-items: center; box-shadow: 0 5px 13px rgba(3,75,55,.1); }
.hero-visual { align-self: end; height: 570px; position: relative; }
.hero-visual::before { content: ""; position: absolute; inset: 50px 0 0; border-radius: 260px 260px 0 0; background: linear-gradient(145deg,var(--accent),var(--accent-dark)); box-shadow: var(--shadow); }
.hero-visual > img { position: absolute; inset: 25px 0 0; width: 100%; height: calc(100% - 25px); object-fit: contain; object-position: center bottom; filter: drop-shadow(0 30px 30px rgba(3,60,44,.16)); }
.hero-offer-card { position: absolute; z-index: 3; top: 88px; inset-inline-end: -15px; width: 160px; padding: 17px; border: 1px solid rgba(255,255,255,.8); border-radius: 18px; background: rgba(255,255,255,.91); box-shadow: var(--shadow); }
.hero-offer-card small { color: var(--accent); font-weight: 800; }
.hero-offer-card strong { display: block; margin-top: 5px; font-size: 24px; line-height: 1; }
.service-strip { border-bottom: 1px solid var(--line); background: #fff; }
.service-strip .container { display: grid; grid-template-columns: repeat(4,1fr); }
.service-strip div { min-height: 88px; padding: 18px 24px; border-inline-end: 1px solid var(--line); display: flex; align-items: center; gap: 12px; }
.service-strip div:last-child { border: 0; }
.service-strip i { width: 40px; height: 40px; border-radius: 13px; background: var(--surface-soft); color: var(--accent); display: grid; place-items: center; font-style: normal; font-weight: 900; }
.service-strip strong { display: block; font-size: 12px; }
.service-strip span { display: block; color: var(--muted); font-size: 9px; }

/* Categories and products */
.category-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.category-card { min-height: 390px; position: relative; border-radius: 30px; overflow: hidden; background: #eee; box-shadow: 0 18px 42px rgba(15,55,40,.09); }
.category-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 48%,rgba(9,31,23,.78)); }
.category-card img { width: 100%; height: 100%; object-fit: cover; transition: .5s ease; }
.category-card:hover img { transform: scale(1.055); }
.category-card span { position: absolute; z-index: 2; inset-inline: 24px; bottom: 22px; color: #fff; }
.category-card small { display: block; font-size: 9px; font-weight: 700; }
.category-card strong { display: block; font-size: 21px; }
.products-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.product-card { min-width: 0; border: 1px solid var(--line); border-radius: 22px; background: #fff; overflow: hidden; transition: .28s ease; }
.product-card:hover { transform: translateY(-6px); border-color: rgba(11,128,96,.25); box-shadow: var(--shadow); }
.product-media { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: #eef7f3; }
.product-media > a, .product-media > a img { width: 100%; height: 100%; }
.product-media img { object-fit: cover; transition: .45s ease; }
.product-card:hover .product-media img { transform: scale(1.045); }
.discount-badge, .hot-badge { position: absolute; z-index: 3; top: 13px; min-height: 25px; padding: 4px 8px; border-radius: 8px; color: #fff; font-size: 9px; font-weight: 900; }
.discount-badge { inset-inline-start: 13px; background: var(--accent); }
.hot-badge { inset-inline-end: 13px; background: var(--accent-deep); }
.card-tools { position: absolute; z-index: 4; inset-inline-end: 12px; bottom: 12px; display: flex; flex-direction: column; gap: 7px; opacity: 0; transform: translateX(9px); transition: .25s; }
.product-card:hover .card-tools { opacity: 1; transform: none; }
.card-tools button { width: 36px; height: 36px; border: 1px solid rgba(255,255,255,.8); border-radius: 11px; background: rgba(255,255,255,.92); color: var(--ink); display: grid; place-items: center; box-shadow: 0 7px 18px rgba(17,60,44,.12); }
.card-tools button:hover, .card-tools button.active { background: var(--accent); color: #fff; }
.card-tools svg { width: 17px; }
.card-tools .hb-icon { font-size: 17px; }
.stock-cover { position: absolute; z-index: 2; inset: 0; background: rgba(255,255,255,.62); display: grid; place-items: center; backdrop-filter: grayscale(1); }
.stock-cover span { padding: 8px 14px; border-radius: 9px; background: var(--accent-deep); color: #fff; font-size: 10px; font-weight: 900; }
.product-info { padding: 17px; }
.product-category { color: var(--accent); font-size: 8px; font-weight: 800; }
.product-info h3 { min-height: 48px; margin: 4px 0 1px; font-size: 14px; line-height: 1.65; }
.product-info h3 a:hover { color: var(--accent); }
.product-brand { color: var(--muted); font-size: 8px; font-weight: 700; }
.price-row { min-height: 35px; margin-top: 10px; display: flex; align-items: center; gap: 8px; }
.price-row strong { color: var(--accent-dark); font-size: 16px; }
.price-row del { color: #a0a8a5; font-size: 10px; }
.add-cart-btn { width: 100%; min-height: 42px; margin-top: 9px; border: 0; border-radius: 11px; background: var(--ink); color: #fff; display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 10px; font-weight: 800; transition: .22s; }
.add-cart-btn:hover { background: var(--accent); }
.add-cart-btn svg { width: 17px; }
.offer-banner { min-height: 370px; position: relative; border-radius: 34px; background: linear-gradient(100deg,rgba(15,52,38,.96),rgba(43,154,113,.86)), url('/assets/images/habitat/sections/hotel-projects.webp') center/cover; color: #fff; display: flex; align-items: center; overflow: hidden; box-shadow: var(--shadow); }
.offer-banner::after { content: "DEALS"; position: absolute; inset-inline-end: 2%; bottom: -5%; color: rgba(255,255,255,.045); font: 900 clamp(70px,12vw,170px)/1 Arial; white-space: nowrap; }
.offer-banner > div { position: relative; z-index: 2; max-width: 570px; padding: 55px; }
.offer-banner h2 { margin: 10px 0; font-size: clamp(35px,5vw,62px); line-height: 1.25; }
.offer-banner p { color: #e5f6ef; }
.offer-banner .button { margin-top: 14px; background: #fff; color: var(--accent-dark); }

/* Inner pages */
.page-hero { padding: 68px 0; background: linear-gradient(135deg,#fff8f5,#d5f3e7); border-bottom: 1px solid var(--line); }
.page-hero .container { display: flex; align-items: end; justify-content: space-between; gap: 30px; }
.page-hero h1 { margin: 5px 0 0; font-size: clamp(34px,5vw,58px); line-height: 1.25; }
.page-hero p { max-width: 550px; margin: 0; color: var(--muted); }
.catalog-layout { display: grid; grid-template-columns: 250px minmax(0,1fr); gap: 34px; }
.filters { position: sticky; top: 170px; height: fit-content; padding: 24px; border: 1px solid var(--line); border-radius: 22px; background: #fff; }
.filters h2 { margin: 0 0 18px; font-size: 17px; }
.filter-group { margin-top: 16px; }
.filter-group label { display: block; margin-bottom: 6px; font-size: 10px; font-weight: 800; }
.filter-group input[type=search], .filter-group select { width: 100%; height: 43px; padding: 0 12px; border: 1px solid var(--line); border-radius: 11px; outline: 0; background: #fbf8f8; }
.check-line { display: flex !important; align-items: center; gap: 8px; }
.catalog-main-head { min-height: 45px; margin-bottom: 20px; display: flex; align-items: center; justify-content: space-between; }
.catalog-main-head span { color: var(--muted); font-size: 11px; }
.catalog-main-head select { height: 40px; padding: 0 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.empty-state { grid-column: 1 / -1; min-height: 280px; padding: 50px 20px; border: 1px dashed #ccd9d4; border-radius: 24px; background: var(--surface-soft); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.empty-state.large { min-height: 440px; }
.empty-state strong { font-size: 24px; }
.empty-state p { color: var(--muted); }
.empty-state .button { margin-top: 20px; }

/* Product details */
.product-detail-layout { display: grid; grid-template-columns: 1.02fr .98fr; gap: 64px; align-items: start; }
.product-gallery { display: grid; grid-template-columns: 88px minmax(0,1fr); gap: 16px; direction: ltr; }
.main-product-image { min-width: 0; position: relative; aspect-ratio: 1 / 1; border-radius: 28px; background: var(--surface-soft); overflow: hidden; }
.main-product-image > img { width: 100%; height: 100%; object-fit: cover; }
.product-thumbnails { display: flex; flex-direction: column; gap: 10px; }
.product-thumbnails button { width: 88px; height: 88px; padding: 0; border: 2px solid transparent; border-radius: 14px; background: var(--surface-soft); overflow: hidden; }
.product-thumbnails button.active { border-color: var(--accent); }
.product-thumbnails img { width: 100%; height: 100%; object-fit: cover; }
.detail-stock-out { position: absolute; inset: 50% auto auto 50%; transform: translate(-50%,-50%); padding: 10px 16px; border-radius: 10px; background: rgba(14,49,36,.9); color: #fff; font-size: 11px; font-weight: 900; white-space: nowrap; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; color: var(--muted); font-size: 9px; }
.detail-brand { display: inline-block; margin-top: 34px; color: var(--accent); font-size: 11px; font-weight: 900; }
.product-summary h1 { margin: 8px 0 12px; font-size: clamp(31px,4vw,49px); line-height: 1.35; }
.detail-rating { display: flex; align-items: center; gap: 12px; }
.detail-rating span { color: #e2a72a; letter-spacing: 2px; }
.detail-rating small { color: var(--muted); font-size: 9px; }
.product-summary > p { margin: 22px 0; color: var(--muted); font-size: 13px; line-height: 2; }
.detail-price { display: flex; align-items: center; gap: 12px; }
.detail-price strong { color: var(--accent-dark); font-size: 31px; }
.detail-price del { color: #939b98; }
.detail-price span { padding: 4px 8px; border-radius: 7px; background: var(--surface-muted); color: var(--accent); font-size: 10px; font-weight: 900; }
.stock-line { margin-top: 15px; color: var(--green); display: flex; align-items: center; gap: 8px; font-size: 10px; font-weight: 800; }
.stock-line i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 5px rgba(20,135,89,.1); }
.stock-line.out { color: var(--accent); }
.product-buy-row { display: flex; gap: 12px; margin-top: 26px; }
.qty-control { height: 48px; border: 1px solid var(--line); border-radius: 12px; display: flex; align-items: center; overflow: hidden; background: #fff; direction: ltr; }
.qty-control button { width: 38px; height: 100%; border: 0; background: #fff; font-size: 17px; }
.qty-control input { width: 42px; height: 100%; border: 0; outline: 0; text-align: center; appearance: textfield; }
.product-secondary-actions { display: flex; gap: 10px; margin-top: 11px; }
.product-secondary-actions button { min-height: 42px; padding: 9px 15px; border: 1px solid var(--line); border-radius: 11px; background: #fff; display: flex; align-items: center; gap: 7px; font-size: 9px; font-weight: 800; }
.product-secondary-actions button:hover { color: var(--accent); border-color: rgba(11,128,96,.3); }
.product-promises { margin: 26px 0 0; padding: 20px 22px; border-radius: 17px; background: var(--surface-soft); list-style: none; }
.product-promises li { position: relative; padding-inline-start: 21px; font-size: 10px; font-weight: 700; }
.product-promises li + li { margin-top: 7px; }
.product-promises li::before { content: "✓"; position: absolute; inset-inline-start: 0; color: var(--accent); font-weight: 900; }

/* Brands, cart, compare */
.brands-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.brand-card { min-height: 220px; padding: 28px; border: 1px solid var(--line); border-radius: 24px; background: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; transition: .25s; }
.brand-card:hover { transform: translateY(-5px); border-color: rgba(11,128,96,.28); box-shadow: var(--shadow); }
.brand-card > span { width: 65px; height: 65px; border-radius: 20px; background: linear-gradient(145deg,var(--accent),var(--accent-dark)); color: #fff; display: grid; place-items: center; font-size: 23px; font-weight: 900; }
.brand-card strong { margin-top: 18px; font-size: 18px; direction: ltr; }
.brand-card small { color: var(--muted); }
.cart-layout, .checkout-layout { display: grid; grid-template-columns: minmax(0,1fr) 360px; gap: 34px; align-items: start; }
.cart-items { border: 1px solid var(--line); border-radius: 22px; overflow: hidden; }
.cart-item { min-height: 150px; padding: 20px; display: grid; grid-template-columns: 110px minmax(0,1fr) auto 100px; align-items: center; gap: 18px; border-bottom: 1px solid var(--line); }
.cart-item:last-child { border: 0; }
.cart-item img { width: 110px; height: 110px; border-radius: 16px; object-fit: cover; }
.cart-item span, .cart-item small { color: var(--muted); font-size: 8px; }
.cart-item h3 { margin: 3px 0; font-size: 14px; }
.cart-item div > button { padding: 0; border: 0; background: transparent; color: var(--accent); font-size: 9px; }
.order-summary { position: sticky; top: 170px; padding: 27px; border: 1px solid var(--line); border-radius: 22px; background: #fff; box-shadow: 0 18px 45px rgba(20,71,52,.07); }
.order-summary h2 { margin: 0 0 20px; }
.order-summary > div, .summary-lines > div { padding: 11px 0; display: flex; align-items: center; justify-content: space-between; gap: 14px; font-size: 10px; }
.order-summary b { font-size: 10px; }
.summary-total { margin-top: 7px; padding-top: 18px !important; border-top: 1px solid var(--line); }
.summary-total strong { color: var(--accent-dark); font-size: 20px; }
.continue-link { margin-top: 15px; display: block; text-align: center; color: var(--accent); font-size: 10px; font-weight: 800; }
.compare-premium { padding: 16px; border: 1px solid var(--line); border-radius: 30px; background: linear-gradient(145deg,#fff,#f6fffb); box-shadow: var(--shadow-soft); overflow-x: auto; }
.compare-intro { padding: 15px 13px 24px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.compare-intro h2 { margin: 0; font-size: 25px; }.compare-intro p { margin: 3px 0 0; color: var(--muted); font-size: 11px; }
.compare-intro > span { min-width: 42px; height: 42px; padding: 0 13px; border-radius: 14px; background: var(--accent); color: #fff; display: grid; place-items: center; font-weight: 900; }
.compare-table { --compare-count: 1; min-width: max(780px,calc(190px + (var(--compare-count) * 225px))); border: 1px solid var(--line); border-radius: 22px; background: #fff; overflow: hidden; }
.compare-row { display: grid; grid-template-columns: 190px repeat(var(--compare-count),minmax(225px,1fr)); border-bottom: 1px solid var(--line); }
.compare-row:last-child { border: 0; }
.compare-row > * { min-height: 76px; padding: 17px; border-inline-end: 1px solid var(--line); display: flex; align-items: center; justify-content: center; text-align: center; }
.compare-row > :last-child { border-inline-end: 0; }
.compare-row > b { justify-content: flex-start; gap: 9px; background: linear-gradient(135deg,#f5fffb,#f6fffb); color: var(--accent-dark); font-size: 12px; text-align: start; }
.compare-row > b i { color: var(--accent); }
.compare-head > article { min-height: 330px; padding: 20px; position: relative; flex-direction: column; justify-content: flex-start; }
.compare-head img { width: 150px; height: 150px; border-radius: 19px; object-fit: cover; box-shadow: 0 12px 28px rgba(19,67,49,.1); }
.compare-head small { margin-top: 15px; color: var(--accent); font-size: 9px; font-weight: 900; }.compare-head h3 { margin: 5px 0 8px; font-size: 14px; line-height: 1.55; }
.compare-head strong { color: var(--accent-dark); font-size: 17px; }
.compare-remove { position: absolute; top: 12px; inset-inline-end: 12px; width: 34px; height: 34px; padding: 0; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--accent); display: grid; place-items: center; transition: .2s; }
.compare-remove:hover { background: var(--accent); color: #fff; transform: rotate(6deg); }
.compare-description { margin: 0; align-items: flex-start !important; color: var(--muted); font-size: 11px; line-height: 1.9; text-align: start !important; }
.compare-action-cell { gap: 8px; }
.compare-add { width: auto; min-height: 38px; padding: 8px 13px; border: 0; border-radius: 10px; background: var(--accent); color: #fff; display: inline-flex; align-items: center; gap: 7px; font-size: 10px; font-weight: 900; box-shadow: 0 9px 20px rgba(11,128,96,.18); }
.compare-add:hover { background: #087457; transform: translateY(-2px); }.compare-add:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.compare-details-link { min-height: 38px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 10px; color: var(--accent-dark); display: inline-flex; align-items: center; font-size: 10px; font-weight: 800; }
.in-stock { color: var(--green); font-weight: 800; }
.out-stock { color: var(--accent); font-weight: 800; }

/* Checkout and forms */
.checkout-form-card { padding: 30px; border: 1px solid var(--line); border-radius: 24px; }
.checkout-form-card h2 { margin: 0 0 23px; }
.form-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 10px; font-weight: 800; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 10px 13px; border: 1px solid var(--line); border-radius: 12px; outline: 0; background: #fff; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus { border-color: rgba(11,128,96,.45); box-shadow: 0 0 0 4px rgba(11,128,96,.06); }
.field textarea:focus { border-color: #c7cfcc; box-shadow: 0 0 0 3px rgba(25,33,30,.045); }
.field textarea:focus-visible, textarea:focus-visible { outline-color: rgba(25,33,30,.13); }
.fulfillment-options { margin: 22px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fulfillment-options label { min-height: 86px; padding: 16px; border: 1px solid var(--line); border-radius: 15px; display: flex; align-items: center; gap: 10px; cursor: pointer; }
.fulfillment-options label:has(input:checked) { border-color: var(--accent); background: var(--surface-soft); }
.fulfillment-options strong { display: block; font-size: 11px; }
.fulfillment-options small { color: var(--muted); font-size: 8px; }
.checkout-summary { position: sticky; top: 170px; padding: 27px; border: 1px solid var(--line); border-radius: 22px; background: #fff; }
.checkout-summary h2 { margin: 0 0 18px; }
.checkout-products > div { padding: 11px 0; display: grid; grid-template-columns: 54px 1fr auto; align-items: center; gap: 10px; border-bottom: 1px solid var(--line); }
.checkout-products img { width: 54px; height: 54px; border-radius: 10px; object-fit: cover; }
.checkout-products b { display: block; font-size: 9px; }
.checkout-products small { color: var(--muted); font-size: 8px; }
.checkout-products strong { font-size: 9px; }
.coupon-box { margin: 18px 0; padding: 15px; border-radius: 15px; background: var(--surface-soft); }
.coupon-box label { display: block; margin-bottom: 7px; font-size: 9px; font-weight: 800; }
.coupon-box > div { height: 40px; display: flex; }
.coupon-box input { width: 100%; min-width: 0; padding: 0 10px; border: 1px solid var(--line); border-radius: 9px 0 0 9px; outline: 0; direction: ltr; }
[dir=rtl] .coupon-box input { border-radius: 0 9px 9px 0; }
.coupon-box button { border: 0; padding: 0 13px; background: var(--accent); color: #fff; border-radius: 0 9px 9px 0; font-size: 9px; font-weight: 800; }
[dir=rtl] .coupon-box button { border-radius: 9px 0 0 9px; }
.coupon-box small { display: block; margin-top: 6px; color: var(--green); }
.discount-line { color: var(--green); }
.success-state { grid-column: 1/-1; min-height: 500px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.success-state > span { width: 80px; height: 80px; border-radius: 50%; background: #e2f5ed; color: var(--green); display: grid; place-items: center; font-size: 35px; }

/* Content pages */
.content-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.content-card { min-height: 260px; padding: 34px; border: 1px solid var(--line); border-radius: 25px; background: #fff; }
.content-card h2 { margin: 0 0 12px; }
.content-card p, .content-card li { color: var(--muted); font-size: 12px; }
.contact-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 28px; }
.contact-info { padding: 34px; border-radius: 28px; background: linear-gradient(145deg,var(--accent-deep),var(--accent-dark)); color: #fff; }
.contact-info h2 { font-size: 32px; }
.contact-info p { color: #d8f2e8; }
.contact-info a, .contact-info span { display: block; margin-top: 12px; font-size: 11px; }
.contact-form { padding: 34px; border: 1px solid var(--line); border-radius: 28px; }

/* Footer */
.site-footer { padding-top: 70px; background: linear-gradient(145deg,#0c2b20,#1a5d44 55%,#217657); color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.45fr repeat(3,1fr); gap: 48px; padding-bottom: 50px; }
.brand-light strong { color: #fff; }
.footer-brand p { max-width: 360px; color: #cfe9df; font-size: 11px; }
.footer-grid h3 { margin: 4px 0 17px; font-size: 13px; }
.footer-grid > div > a, .footer-grid > div > span { display: block; margin-top: 9px; color: #c9e5da; font-size: 10px; }
.footer-social { display: flex; gap: 8px; margin-top: 20px; direction: ltr; }
.footer-social a { width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.24); border-radius: 11px; display: grid !important; place-items: center; color: #fff !important; font-weight: 900; transition: .22s; }
.footer-social svg { width: 18px; height: 18px; }
.footer-social .hb-icon { font-size: 18px; }
.footer-social a:hover { background: var(--accent); transform: translateY(-3px); }
.footer-bottom { min-height: 62px; border-top: 1px solid rgba(255,255,255,.13); display: flex; align-items: center; justify-content: space-between; gap: 20px; color: #adcabe; font-size: 9px; }
.whatsapp-float, .back-to-top { position: fixed; z-index: 90; bottom: 20px; width: 54px; height: 54px; border: 0; border-radius: 50%; color: #fff; display: grid; place-items: center; box-shadow: 0 15px 34px rgba(0,0,0,.22); }
.whatsapp-float { inset-inline-start: 20px; background: #19a762; font-size: 11px; font-weight: 900; }
.whatsapp-float svg { width: 27px; height: 27px; }
.back-to-top .hb-icon { font-size: 20px; }
.back-to-top { inset-inline-end: 20px; background: var(--accent); opacity: 0; visibility: hidden; transform: translateY(12px); transition: .25s; }
.back-to-top.show { opacity: 1; visibility: visible; transform: none; }
.toast { position: fixed; z-index: 300; inset-inline-start: 50%; bottom: 25px; max-width: calc(100% - 40px); padding: 12px 19px; border-radius: 12px; background: var(--ink); color: #fff; font-size: 10px; font-weight: 800; opacity: 0; visibility: hidden; transform: translate(-50%,12px); transition: opacity .24s ease, visibility .24s ease, transform .24s ease; }
[dir=rtl] .toast { transform: translate(50%,12px); }
.toast.show { opacity: 1; visibility: visible; transform: translate(-50%,0); }
[dir=rtl] .toast.show { transform: translate(50%,0); }
.toast-card { inset-inline-start: auto; inset-inline-end: 24px; top: 24px; bottom: auto; width: min(430px,calc(100% - 28px)); max-width: none; min-height: 82px; padding: 14px 16px; display: grid; grid-template-columns: 46px minmax(0,1fr); align-items: center; gap: 13px; border: 1px solid #e9dfd7; border-inline-end: 5px solid #249269; border-radius: 10px; background: #fffaf6; color: #2f403a; box-shadow: 0 16px 40px rgba(20,46,36,.13); font-weight: 500; transform: translateY(-14px); }
[dir=rtl] .toast-card { transform: translateY(-14px); }
.toast-card.show,[dir=rtl] .toast-card.show { transform: translateY(0); }
.toast-card.toast-error { border-inline-end-color: #0b8060; }
.toast-card.toast-info { border-inline-end-color: #b47638; }
.toast-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: #249269; color: #fff; font-size: 17px; box-shadow: 0 7px 18px rgba(36,146,105,.22); }
.toast-error .toast-icon { background: #0b8060; box-shadow: 0 7px 18px rgba(11,128,96,.2); }
.toast-info .toast-icon { background: #b47638; box-shadow: 0 7px 18px rgba(180,118,56,.2); }
.toast-copy { min-width: 0; display: grid; gap: 5px; line-height: 1.45; }
.toast-copy strong { color: #232f2b; font-size: 14px; font-weight: 900; }
.toast-copy small { color: #7d7067; font-size: 11px; font-weight: 600; }
@media (max-width: 560px) { .toast-card { inset-inline: 14px; top: 14px; width: auto; grid-template-columns: 40px minmax(0,1fr); min-height: 72px; padding: 12px 13px; gap: 10px; } .toast-icon { width: 38px; height: 38px; font-size: 15px; } .toast-copy strong { font-size: 12px; } .toast-copy small { font-size: 9px; } }

@media (max-width: 1050px) {
  .header-main { gap: 18px; }
  .main-nav .container { justify-content: flex-start; overflow-x: auto; }
  .products-grid { grid-template-columns: repeat(3,1fr); }
  .category-grid { grid-template-columns: repeat(2,1fr); }
  .brand-card { min-height: 190px; }
  .product-detail-layout { gap: 35px; }
  .cart-item { grid-template-columns: 90px minmax(0,1fr) auto; }
  .cart-item > strong { grid-column: 2/4; justify-self: end; }
}

@media (max-width: 820px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .announcement { display: none; }
  .site-header { top: 0; }
  .header-main { min-height: 74px; grid-template-columns: auto 1fr auto; gap: 12px; }
  .header-main > .header-search, .main-nav { display: none; }
  .mobile-menu-btn, .mobile-search { display: block; }
  .mobile-menu-btn { width: 42px; }
  .mobile-search { padding-bottom: 12px; }
  .mobile-search .header-search { height: 44px; }
  .brand-logo { width: 48px; height: 48px; border-radius: 14px; }
  .brand strong { font-size: 17px; }
  .header-actions .icon-link:not(.cart-link) { display: none; }
  .mobile-panel { position: fixed; z-index: 220; inset: 0 auto 0 0; width: min(330px,87vw); padding: 22px; background: #fff; display: block; transform: translateX(-105%); transition: .3s; direction: rtl; }
  [dir=ltr] .mobile-panel { inset: 0 0 0 auto; transform: translateX(105%); direction: ltr; }
  .menu-open .mobile-panel { transform: none; }
  .mobile-panel-head { min-height: 55px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
  .mobile-panel nav { padding-top: 15px; }
  .mobile-panel nav a { min-height: 47px; padding: 8px 5px; border-bottom: 1px solid #e9f1ed; display: flex; align-items: center; font-size: 12px; font-weight: 800; }
  .mobile-overlay { position: fixed; z-index: 210; inset: 0; background: rgba(10,35,26,.5); display: block; opacity: 0; visibility: hidden; transition: .25s; }
  .menu-open .mobile-overlay { opacity: 1; visibility: visible; }
  .store-hero .container { grid-template-columns: 1fr; }
  .hero-copy { padding: 55px 0 15px; text-align: center; margin-inline: auto; }
  .hero-copy > p { margin-inline: auto; }
  .hero-actions, .hero-points { justify-content: center; }
  .hero-visual { height: 520px; width: min(100%,540px); margin-inline: auto; }
  .service-strip .container { grid-template-columns: repeat(2,1fr); }
  .service-strip div:nth-child(2) { border: 0; }
  .service-strip div { border-bottom: 1px solid var(--line); }
  .products-grid { grid-template-columns: repeat(2,1fr); gap: 12px; }
  .catalog-layout { grid-template-columns: 1fr; }
  .filters { position: static; display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; }
  .filters h2 { grid-column: 1/-1; margin: 0; }
  .filter-group { margin: 0; }
  .product-detail-layout { grid-template-columns: 1fr; }
  .product-gallery { max-width: 650px; margin-inline: auto; }
  .cart-layout, .checkout-layout { grid-template-columns: 1fr; }
  .order-summary, .checkout-summary { position: static; }
  .brands-grid { grid-template-columns: repeat(3,1fr); }
  .footer-grid { grid-template-columns: repeat(2,1fr); }
  .contact-layout, .content-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .section { padding: 62px 0; }
  .section-head { display: block; margin-bottom: 24px; }
  .section-head h1, .section-head h2 { font-size: 29px; }
  .header-main { min-height: 66px; }
  .brand-logo { width: 43px; height: 43px; }
  .brand strong { font-size: 15px; }
  .brand small { font-size: 6px; }
  .header-actions { gap: 5px; }
  .lang-toggle { width: 42px; height: 38px; }
  .icon-link { width: 38px; height: 38px; }
  .store-hero { min-height: auto; }
  .store-hero .container { min-height: auto; }
  .hero-copy { padding-top: 40px; }
  .hero-copy h1 { font-size: clamp(34px,10vw,43px); line-height: 1.35; }
  .hero-copy > p { font-size: 11px; }
  .hero-actions .button { width: 100%; }
  .hero-points { gap: 10px; }
  .hero-points span { font-size: 8px; }
  .hero-visual { width: 100%; height: 420px; }
  .hero-visual::before { inset: 50px 0 0; }
  .hero-offer-card { top: 65px; inset-inline-end: 0; width: 125px; padding: 12px; }
  .hero-offer-card strong { font-size: 18px; }
  .service-strip div { min-height: 78px; padding: 12px; }
  .service-strip i { width: 34px; height: 34px; }
  .category-grid { grid-template-columns: repeat(2,1fr); gap: 10px; }
  .category-card { min-height: 230px; border-radius: 20px; }
  .category-card span { inset-inline: 15px; bottom: 14px; }
  .category-card strong { font-size: 14px; }
  .products-grid { gap: 9px; }
  .product-card { border-radius: 16px; }
  .product-info { padding: 11px; }
  .product-info h3 { min-height: 43px; font-size: 11px; }
  .product-category, .product-brand { font-size: 7px; }
  .price-row { gap: 5px; }
  .price-row strong { font-size: 12px; }
  .price-row del { font-size: 8px; }
  .add-cart-btn { min-height: 38px; font-size: 8px; }
  .card-tools { opacity: 1; transform: none; bottom: 8px; inset-inline-end: 8px; }
  .card-tools button { width: 31px; height: 31px; }
  .discount-badge, .hot-badge { top: 8px; min-height: 20px; font-size: 7px; }
  .discount-badge { inset-inline-start: 8px; }
  .hot-badge { inset-inline-end: 8px; }
  .offer-banner { min-height: 340px; border-radius: 24px; }
  .offer-banner > div { padding: 28px; }
  .page-hero { padding: 48px 0; }
  .page-hero .container { display: block; }
  .page-hero h1 { font-size: 35px; }
  .page-hero p { margin-top: 12px; }
  .filters { padding: 16px; border-radius: 17px; }
  .catalog-main-head { display: block; }
  .catalog-main-head select { width: 100%; margin-top: 10px; }
  .product-gallery { grid-template-columns: 1fr; }
  .product-thumbnails { order: 2; flex-direction: row; overflow-x: auto; }
  .product-thumbnails button { flex: 0 0 70px; width: 70px; height: 70px; }
  .main-product-image { border-radius: 22px; }
  .detail-brand { margin-top: 8px; }
  .product-summary h1 { font-size: 30px; }
  .detail-price strong { font-size: 24px; }
  .product-buy-row { flex-wrap: wrap; }
  .product-buy-row .button { min-width: calc(100% - 115px); }
  .product-secondary-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .cart-item { grid-template-columns: 76px minmax(0,1fr); gap: 12px; }
  .cart-item img { width: 76px; height: 76px; }
  .cart-item .qty-control { grid-column: 1/2; }
  .cart-item > strong { grid-column: 2/3; }
  .checkout-form-card, .checkout-summary, .order-summary, .contact-form, .contact-info { padding: 20px; border-radius: 20px; }
  .form-grid, .fulfillment-options { grid-template-columns: 1fr; }
  .brands-grid { grid-template-columns: repeat(2,1fr); gap: 10px; }
  .brand-card { min-height: 155px; padding: 17px; border-radius: 18px; }
  .brand-card > span { width: 52px; height: 52px; border-radius: 15px; }
  .brand-card strong { font-size: 12px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 35px 18px; }
  .footer-brand { grid-column: 1/-1; }
  .footer-bottom { align-items: flex-start; justify-content: center; flex-direction: column; }
  .whatsapp-float, .back-to-top { width: 50px; height: 50px; bottom: 14px; }
  .whatsapp-float { inset-inline-start: 14px; }
  .back-to-top { inset-inline-end: 14px; }
}

/* Premium storefront refinement — mobile first */
:root {
  --accent-soft: #3edfb4;
  --accent-faint: #f5fffb;
  --surface: #fffdfc;
  --shadow-soft: 0 12px 38px rgba(20,70,52, .08);
  --shadow-accent: 0 20px 55px rgba(11,128,96, .16);
}
::selection { background: var(--accent); color: #fff; }
button, a, input, textarea, select { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, .custom-select-trigger:focus-visible { outline: 3px solid rgba(11,128,96,.2); outline-offset: 3px; }

/* Header and live search */
.announcement { min-height: 40px; background: linear-gradient(110deg,#033529,#268663 50%,#0b8060); }
.announcement .container { min-height: 40px; }
.announcement a { border: 0; display: inline-flex; align-items: center; gap: 7px; font-size: 9px; }
.announcement a svg, .announcement a .hb-icon { width: 14px; transition: transform .22s; }
.announcement a:hover svg, .announcement a:hover .hb-icon { transform: translateX(-4px); }
[dir=ltr] .announcement a:hover svg, [dir=ltr] .announcement a:hover .hb-icon { transform: translateX(4px); }
.header-main { min-height: 88px; grid-template-columns: auto minmax(320px,1fr) auto; gap: 30px; }
.brand { direction: ltr; text-align: left; gap: 10px; }
[dir=rtl] .brand { direction: rtl; text-align: right; }
.brand-logo { width: 56px; height: 56px; flex: 0 0 56px; padding: 5px; border: 1px solid #d9e7e0; border-radius: 18px; box-shadow: 0 9px 24px rgba(23,81,60,.09); }
.brand-logo img { border-radius: 13px; }
.brand-copy { min-width: 0; }
.brand strong { font-size: 20px; line-height: 1.2; }
.brand small { margin-top: 3px; display: block; color: var(--accent); font-size: 8px; letter-spacing: .01em; }
.header-search { height: 50px; position: relative; border: 1px solid #dde6e2; border-radius: 16px; overflow: visible; background: #faf6f6; }
.header-search:focus-within { border-color: rgba(11,128,96,.4); box-shadow: 0 0 0 5px rgba(11,128,96,.055); }
.header-search .search-leading { width: 49px; flex: 0 0 49px; display: grid; place-items: center; color: var(--accent); }
.header-search input { padding: 0 2px; }
.header-search > button { width: 47px; height: 38px; margin: 5px; border-radius: 11px; }
.header-search > button svg { width: 17px; }
.header-search > button .hb-icon { font-size: 16px; }
.search-suggestions { position: absolute; z-index: 180; inset: calc(100% + 10px) 0 auto; max-height: min(480px,70vh); padding: 8px; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: 0 28px 70px rgba(14,49,36,.18); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: .2s; overflow-y: auto; }
.header-search.search-open .search-suggestions { opacity: 1; visibility: visible; transform: none; }
.search-result { min-height: 70px; padding: 8px; border-radius: 13px; display: grid; grid-template-columns: 52px minmax(0,1fr) auto; align-items: center; gap: 11px; transition: .2s; }
.search-result + .search-result { border-top: 1px solid #ebf4f0; }
.search-result:hover { background: var(--accent-faint); transform: translateX(-3px); }
[dir=ltr] .search-result:hover { transform: translateX(3px); }
.search-result img { width: 52px; height: 52px; border-radius: 11px; object-fit: cover; background: var(--surface-soft); }
.search-result b { display: block; font-size: 10px; }
.search-result small { color: var(--muted); font-size: 8px; }
.search-result strong { color: var(--accent-dark); font-size: 10px; white-space: nowrap; }
.search-all { min-height: 49px; margin-top: 6px; padding: 8px 13px; border-radius: 12px; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; gap: 9px; font-size: 10px; font-weight: 900; }
.search-all b { min-width: 23px; height: 23px; border-radius: 50%; background: rgba(255,255,255,.18); display: grid; place-items: center; }
.search-all svg { width: 15px; }
.search-all:hover { background: #087457; transform: translateY(-1px); }
.search-empty { padding: 24px; color: var(--muted); text-align: center; font-size: 10px; }
.header-actions { gap: 7px; }
.icon-link, .icon-btn, .lang-toggle { border-radius: 13px; }
.icon-link:hover, .icon-btn:hover, .lang-toggle:hover { background: var(--accent-faint); color: var(--accent); border-color: rgba(11,128,96,.25); }
.main-nav { background: #fff; }
.main-nav .container { min-height: 58px; gap: clamp(18px,2.1vw,31px); }
.main-nav a { min-height: 58px; display: inline-flex; align-items: center; font-size: 13px; }
.main-nav a::after { bottom: 0; height: 3px; }
.main-nav .deal-link { gap: 6px; }
.main-nav .deal-link i { padding: 2px 5px; border-radius: 5px; background: var(--accent); color: #fff; font-size: 6px; font-style: normal; }
.header-benefits { border-top: 1px solid #eaf2ee; background: linear-gradient(90deg,#f6fffb,#fff); }
.header-benefits .container { min-height: 37px; display: flex; align-items: center; justify-content: center; gap: clamp(35px,6vw,90px); }
.header-benefits span { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); font-size: 8px; }
.header-benefits i { color: var(--accent); font-style: normal; font-weight: 900; }
.mobile-panel-social { display: flex; gap: 8px; margin-top: 22px; }
.mobile-panel-social a { width: 39px; height: 39px; border-radius: 11px; background: var(--accent-faint); color: var(--accent); display: grid; place-items: center; }

/* Curved custom dropdowns */
.custom-select { min-width: 0; position: relative; }
.custom-select-native { position: absolute !important; width: 1px !important; height: 1px !important; opacity: 0 !important; pointer-events: none !important; }
.custom-select-trigger { width: 100%; min-height: 47px; padding: 9px 14px; border: 1px solid var(--line); border-radius: 14px; background: linear-gradient(180deg,#fff,#fdf9f9); color: var(--ink); display: flex; align-items: center; justify-content: space-between; gap: 12px; text-align: start; font-size: 10px; font-weight: 700; transition: .22s; }
.custom-select-trigger svg, .custom-select-trigger .hb-icon { width: 16px; color: var(--accent); transition: transform .22s; }
.custom-select:hover .custom-select-trigger, .custom-select.open .custom-select-trigger { border-color: rgba(11,128,96,.35); box-shadow: 0 0 0 4px rgba(11,128,96,.05); background: #fff; }
.custom-select.open .custom-select-trigger svg, .custom-select.open .custom-select-trigger .hb-icon { transform: rotate(180deg); }
.custom-select-menu { position: absolute; z-index: 160; inset: calc(100% + 8px) 0 auto; max-height: 270px; padding: 7px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: 0 20px 55px rgba(15,55,40,.16); opacity: 0; visibility: hidden; transform: translateY(-5px) scale(.98); transform-origin: top; transition: .18s; overflow-y: auto; }
.custom-select.open .custom-select-menu { opacity: 1; visibility: visible; transform: none; }
.custom-select-menu button { width: 100%; min-height: 42px; padding: 8px 11px; border: 0; border-radius: 10px; background: transparent; color: var(--ink); display: flex; align-items: center; justify-content: space-between; text-align: start; font-size: 10px; transition: .18s; }
.custom-select-menu button:hover { background: var(--accent-faint); color: var(--accent); padding-inline-start: 15px; }
.custom-select-menu button.selected { background: var(--accent); color: #fff; font-weight: 900; }
.custom-select-menu button i { font-style: normal; }

/* Catalog filters */
.catalog-hero { position: relative; overflow: hidden; background: linear-gradient(120deg,#fff9f7 0%,#e7f8f1 70%,#c8f0e0); }
.catalog-hero::after { content: "H"; position: absolute; inset-inline-end: 5%; top: -45%; color: rgba(11,128,96,.055); font: 900 260px/1 Arial; }
.catalog-section { background: #fffdfc; }
.catalog-layout { grid-template-columns: 275px minmax(0,1fr); gap: 38px; }
.filters { top: 195px; padding: 22px; border: 1px solid #e2ebe7; border-radius: 26px; background: rgba(255,255,255,.96); box-shadow: var(--shadow-soft); }
.filters-head { margin-bottom: 22px; display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.filters-head small { color: var(--accent); font-size: 7px; font-weight: 900; letter-spacing: .1em; }
.filters-head h2 { margin: 3px 0 0; font-size: 18px; }
.filters-head button { padding: 4px 0; border: 0; background: transparent; color: var(--accent); font-size: 8px; font-weight: 800; }
.filters-head button:hover { text-decoration: underline; }
.filter-group { margin-top: 18px; }
.filter-group label { margin-bottom: 8px; font-size: 9px; }
.filter-input { position: relative; }
.filter-group input[type=search] { height: 47px; padding-inline-end: 40px; border-radius: 14px; background: #fdf9f9; transition: .2s; }
.filter-group input[type=search]:focus { border-color: rgba(11,128,96,.38); background: #fff; box-shadow: 0 0 0 4px rgba(11,128,96,.055); }
.filter-input span { position: absolute; inset-inline-end: 14px; top: 50%; color: var(--accent); transform: translateY(-50%); }
.filter-note { margin-top: 22px; padding: 14px; border-radius: 15px; background: linear-gradient(135deg,#f4fffa,#fff9f7); display: flex; gap: 9px; color: var(--muted); font-size: 8px; }
.filter-note i { color: var(--accent); font-style: normal; }
.catalog-main-head { min-height: 61px; margin-bottom: 19px; padding: 8px 10px 8px 18px; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: 0 8px 25px rgba(17,60,44,.04); }
.catalog-main-head > div > b { display: block; font-size: 12px; }
.catalog-main-head > div > span { display: block; font-size: 8px; }
.catalog-main-head .custom-select { width: 210px; }

/* Product cards and wishlist feedback */
.product-card { border-radius: 23px; box-shadow: 0 8px 26px rgba(20,70,52,.035); }
.product-card:hover { transform: translateY(-7px); }
.product-media { aspect-ratio: 1 / .94; }
.card-tools { opacity: 1; transform: none; }
.card-tools button { transition: .2s; }
.card-tools button:hover { transform: scale(1.08); }
.card-tools button.active { border-color: var(--accent); background: #fff; color: var(--accent); box-shadow: 0 7px 19px rgba(11,128,96,.18); }
.card-tools button.active .fa-heart, .product-secondary-actions button.active .fa-heart, .icon-link.is-active .fa-heart { font-family: "Font Awesome 7 Free"; font-weight: 900; }
.product-secondary-actions button.active { border-color: rgba(11,128,96,.35); background: var(--accent-faint); color: var(--accent); }

/* Fixed product gallery and a shorter detail card */
.product-detail-section { padding: 58px 0 68px; background: linear-gradient(180deg,#fff,#f9fbfa); }
.product-detail-layout { grid-template-columns: minmax(0,1.03fr) minmax(360px,.97fr); gap: 48px; }
.product-gallery { width: 100%; min-width: 0; display: flex; flex-direction: column; gap: 13px; align-items: stretch; }
.main-product-image { order: 1; width: 100%; height: 490px; aspect-ratio: auto; border: 1px solid var(--line); border-radius: 26px; background: #eff8f4; box-shadow: var(--shadow-soft); }
.main-product-image > img { width: 100% !important; height: 100% !important; max-height: none !important; object-fit: cover; }
.product-thumbnails { order: 2; width: 100%; display: flex; flex-direction: row; gap: 10px; overflow-x: auto; padding: 2px 1px 5px; scrollbar-width: thin; }
.product-thumbnails button { flex: 0 0 78px; width: 78px; height: 78px; }
.product-summary { min-height: 490px; padding: 28px 30px; border: 1px solid var(--line); border-radius: 27px; background: #fff; box-shadow: var(--shadow-soft); }
.detail-brand { margin-top: 20px; }
.product-summary h1 { margin: 6px 0 8px; font-size: clamp(29px,3.4vw,43px); }
.product-summary > p { margin: 15px 0; line-height: 1.85; }
.detail-price strong { font-size: 27px; }
.stock-line { margin-top: 10px; }
.product-buy-row { margin-top: 19px; }
.product-promises { margin-top: 18px; padding: 15px 18px; }
.related-products-section { background: #f4fdf9; }

/* Brands page */
.brands-hero { min-height: 580px; position: relative; overflow: hidden; background: radial-gradient(circle at 80% 30%,rgba(11,128,96,.12),transparent 28%),linear-gradient(135deg,#faf8f1,#e7f1ec); }
.brands-hero::after { content: "BRANDS"; position: absolute; inset-inline-start: -2%; bottom: -6%; color: rgba(28,99,73,.035); font: 900 clamp(90px,17vw,260px)/1 Arial; }
.brands-hero-grid { min-height: 580px; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 65px; }
.brands-hero-copy { position: relative; z-index: 2; }
.brands-hero h1 { max-width: 700px; margin: 10px 0 18px; font-size: clamp(42px,5.5vw,74px); line-height: 1.22; letter-spacing: -.045em; }
.brands-hero-copy > p:not(.eyebrow) { max-width: 610px; color: var(--muted); }
.brands-search { width: min(480px,100%); height: 54px; margin-top: 28px; padding: 0 17px; border: 1px solid #dae7e2; border-radius: 17px; background: rgba(255,255,255,.85); display: flex; align-items: center; gap: 10px; box-shadow: var(--shadow-soft); }
.brands-search span { color: var(--accent); }
.brands-search input { width: 100%; border: 0; outline: 0; background: transparent; }
.brands-orbit { width: min(430px,100%); aspect-ratio: 1; position: relative; border: 1px solid rgba(11,128,96,.15); border-radius: 50%; display: grid; place-items: center; animation: softFloat 5s ease-in-out infinite; }
.brands-orbit::before, .brands-orbit::after { content: ""; position: absolute; inset: 13%; border: 1px dashed rgba(11,128,96,.2); border-radius: 50%; }
.brands-orbit::after { inset: 29%; background: rgba(255,255,255,.42); }
.brands-orbit b { position: relative; z-index: 3; width: 112px; height: 112px; border-radius: 35px; background: linear-gradient(145deg,var(--accent),var(--accent-dark)); color: #fff; display: grid; place-items: center; font: 900 53px/1 Arial; box-shadow: var(--shadow-accent); }
.brands-orbit span { position: absolute; z-index: 4; padding: 8px 12px; border: 1px solid rgba(11,128,96,.12); border-radius: 10px; background: rgba(255,255,255,.9); color: var(--accent-dark); font: 800 9px/1.3 Arial; box-shadow: var(--shadow-soft); }
.brands-orbit span:nth-child(1) { top: 7%; left: 23%; }.brands-orbit span:nth-child(2) { top: 29%; right: -2%; }.brands-orbit span:nth-child(3) { bottom: 17%; right: 4%; }.brands-orbit span:nth-child(5) { bottom: 4%; left: 28%; }.brands-orbit span:nth-child(6) { top: 41%; left: -5%; }
@keyframes softFloat { 50% { transform: translateY(-9px); } }
.brands-showcase { position: relative; background: #fff; }
.brands-section-head { margin-bottom: 30px; display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.brands-section-head h2 { margin: 4px 0 0; font-size: clamp(30px,4vw,47px); }
.brands-section-head > span { color: var(--muted); font-size: 10px; }
.brands-grid { grid-template-columns: repeat(4,1fr); gap: 16px; }
.brand-card { min-height: 190px; position: relative; padding: 24px; border-radius: 25px; overflow: hidden; background: linear-gradient(155deg,#fff,#f6fffb); align-items: flex-start; text-align: start; }
.brand-card::after { content: "↗"; position: absolute; inset-inline-end: 19px; top: 17px; width: 32px; height: 32px; border-radius: 50%; background: #fff; color: var(--accent); display: grid; place-items: center; opacity: 0; transform: translate(-5px,5px); transition: .24s; box-shadow: var(--shadow-soft); }
.brand-card:hover::after { opacity: 1; transform: none; }
.brand-card > span { width: 58px; height: 58px; border-radius: 18px; }
.brand-card strong { margin-top: 27px; font-size: 17px; }
.brand-card small { font-size: 9px; }

/* Contact page and forms */
.contact-hero { padding: 95px 0 125px; position: relative; overflow: hidden; background: linear-gradient(125deg,#0f3527,#258562); color: #fff; text-align: center; }
.contact-hero::before, .contact-hero::after { content: ""; position: absolute; width: 300px; height: 300px; border: 1px solid rgba(255,255,255,.08); border-radius: 50%; }
.contact-hero::before { inset: -160px auto auto -80px; }.contact-hero::after { inset: auto -110px -190px auto; }
.contact-hero .eyebrow { color: #dffff6; }
.contact-hero h1 { max-width: 900px; margin: 10px auto 15px; font-size: clamp(38px,5.7vw,70px); line-height: 1.25; }
.contact-hero p:last-child { max-width: 650px; margin: auto; color: #cfece0; }
.contact-section { margin-top: -72px; position: relative; z-index: 2; padding-top: 0; }
.contact-layout { grid-template-columns: .9fr 1.1fr; gap: 22px; align-items: stretch; }
.contact-info, .contact-form { min-height: 650px; border-radius: 28px; box-shadow: 0 24px 65px rgba(14,49,36,.13); }
.contact-info { padding: 32px; background: linear-gradient(160deg,#154a36,#24815f); }
.contact-info-head { display: flex; align-items: center; gap: 14px; }
.contact-info-head > span { width: 58px; height: 58px; margin-top: 0; border-radius: 18px; background: #fff; color: var(--accent); display: grid; place-items: center; font-size: 24px; font-weight: 900; }
.contact-info-head h2 { margin: 3px 0 0; font-size: 26px; }
.contact-info-head .eyebrow { color: #dcfff6; }
.contact-methods { margin-top: 25px; display: grid; gap: 10px; }
.contact-methods a { min-height: 72px; margin: 0; padding: 12px; border: 1px solid rgba(255,255,255,.15); border-radius: 16px; background: rgba(255,255,255,.06); display: grid; grid-template-columns: 38px 1fr auto; align-items: center; gap: 11px; transition: .22s; }
.contact-methods a > span { margin-top: 0; }
.contact-methods a:hover { background: rgba(255,255,255,.13); border-color: rgba(255,255,255,.3); transform: translateX(-4px); }
[dir=ltr] .contact-methods a:hover { transform: translateX(4px); }
.contact-methods i { width: 38px; height: 38px; border-radius: 11px; background: #fff; color: var(--accent); display: grid; place-items: center; font-style: normal; font-size: 8px; font-weight: 900; }
.contact-methods small { color: #c8e7db; font-size: 8px; }.contact-methods b { display: block; font-size: 10px; }.contact-methods strong { font-size: 16px; }
.contact-address { margin-top: 24px; padding: 17px; border-radius: 17px; background: #fff; color: var(--ink); }
.contact-address small { margin: 0; color: var(--accent); font-size: 8px; }.contact-address b { display: block; margin-top: 4px; font-size: 11px; }
.contact-form { padding: 36px; border: 1px solid var(--line); background: #fff; }
.form-heading { margin-bottom: 25px; }.form-heading h2 { margin: 3px 0 5px; font-size: 30px; }.form-heading p:last-child { margin: 0; color: var(--muted); font-size: 10px; }
.field { gap: 7px; }
.field input, .field select, .field textarea { border-radius: 13px; background: #fdfafa; transition: .2s; }
.field input:hover, .field textarea:hover { border-color: #ccd8d3; background: #fff; }
.field input[type=file] { min-height: 62px; padding: 11px; border-style: dashed; cursor: pointer; }
.field input[type=file]::file-selector-button { height: 37px; margin-inline-end: 10px; padding: 0 13px; border: 0; border-radius: 9px; background: var(--accent-faint); color: var(--accent); font-weight: 800; cursor: pointer; }
.upload-field { margin-bottom: 6px; }
.contact-form .form-submit, .contact-form > .button { min-width: 190px; margin-top: 24px; }
.form-submit b { font-size: 16px; }

/* Professional footer */
.site-footer { position: relative; padding-top: 0; overflow: hidden; background: linear-gradient(135deg,#0a231a,#16503b 48%,#217657); }
.category-nav-slot { display: contents; }
.footer-glow { position: absolute; width: 460px; height: 460px; inset: -250px -100px auto auto; border-radius: 50%; background: rgba(11,128,96,.35); filter: blur(20px); }
.footer-top { min-height: 180px; position: relative; z-index: 2; padding-block: 35px; border-bottom: 1px solid rgba(255,255,255,.12); display: flex; align-items: center; justify-content: space-between; gap: 35px; }
.footer-top .eyebrow { color: #dcfff6; }.footer-top h2 { max-width: 650px; margin: 5px 0 0; font-size: clamp(26px,4vw,45px); line-height: 1.35; }
.footer-shop-button { min-height: 52px; padding: 10px 20px; border-radius: 14px; background: #fff; color: var(--accent-dark); display: inline-flex; align-items: center; gap: 10px; font-size: 10px; font-weight: 900; transition: .23s; }
.footer-shop-button:hover { background: var(--accent); color: #fff; transform: translateY(-3px); box-shadow: 0 14px 28px rgba(0,0,0,.2); }
.footer-shop-button .hb-icon { width: 16px; }
.footer-grid { position: relative; z-index: 2; grid-template-columns: 1.35fr .7fr .8fr 1.1fr; gap: 45px; padding-block: 50px; }
.footer-brand-card { min-width: 0; }
.footer-grid > .footer-brand-card > .brand { margin-top: 0 !important; color: #fff !important; display: inline-flex !important; font-size: inherit !important; }
.footer-brand-card .brand-logo { width: 66px; height: 66px; flex-basis: 66px; border-color: rgba(255,255,255,.18); }
.footer-brand-card .brand strong { font-size: 23px; }
.footer-brand-card p { max-width: 370px; color: #c8e3d8; font-size: 14px; line-height: 1.9; }
.footer-links h3, .footer-contact-card h3 { margin: 5px 0 18px; color: #fff; font-size: 18px; }
.footer-links a { width: fit-content; position: relative; margin-top: 12px !important; color: #c5dfd5 !important; font-size: 14px !important; line-height: 1.7; transition: .2s; }
.footer-links a::after { content: ""; position: absolute; inset-inline-start: 0; bottom: -2px; width: 0; height: 1px; background: #fff; transition: .22s; }
.footer-links a:hover { color: #fff !important; transform: translateX(-3px); }.footer-links a:hover::after { width: 100%; }[dir=ltr] .footer-links a:hover { transform: translateX(3px); }
.footer-contact-card { padding: 20px; border: 1px solid rgba(255,255,255,.12); border-radius: 19px; background: rgba(255,255,255,.055); }
.footer-grid > .footer-contact-card > a { margin-top: 13px !important; color: #cde5db !important; display: flex !important; align-items: flex-start; gap: 9px; font-size: 13px !important; line-height: 1.7; transition: .2s; }
.footer-grid > .footer-contact-card > a:hover { color: #fff !important; transform: translateX(-3px); }
[dir=ltr] .footer-grid > .footer-contact-card > a:hover { transform: translateX(3px); }
.footer-contact-card .hb-icon { width: 16px; height: 16px; flex: 0 0 16px; color: #d7fff4; }
.footer-social a { border-radius: 12px; }
.footer-social a:hover { background: #fff; color: var(--accent) !important; transform: translateY(-4px) rotate(-3deg); }
[dir=rtl] .footer-social { direction: rtl; justify-content: flex-start; }
.footer-bottom { position: relative; z-index: 2; min-height: 72px; color: #aec8be; font-size: 13px; }
.footer-copyright { margin-inline-end: auto; }
.footer-caccentit { position: absolute; left: 50%; display: inline-flex; align-items: center; gap: 5px; color: #deeae5; transform: translateX(-50%); white-space: nowrap; }
.footer-caccentit b { font-size: 14px; }
.footer-bottom a { color: #fff; font-weight: 900; transition: .2s; }.footer-bottom a:hover { color: #d8fff5; }
.whatsapp-float { border: 0 !important; outline: 0; background: #25d366; box-shadow: 0 14px 32px rgba(37,211,102,.34); transition: .22s; }.whatsapp-float:hover { border: 0 !important; background: #16b858; box-shadow: 0 17px 36px rgba(37,211,102,.42); transform: translateY(-4px) scale(1.04); }
.whatsapp-float .hb-icon { width: 28px; height: 28px; font-size: 28px; }
.back-to-top:hover { background: #087457; transform: translateY(-3px); }
.back-to-top.show:hover { transform: translateY(-3px); }

/* General motion and varied content pages */
.content-card, .order-summary, .checkout-summary, .checkout-form-card, .empty-state { transition: transform .24s, box-shadow .24s, border-color .24s; }
.content-card:hover { transform: translateY(-5px); border-color: rgba(11,128,96,.2); box-shadow: var(--shadow-soft); }
.page-hero { position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; width: 210px; height: 210px; inset-inline-end: 4%; top: -80px; border: 1px solid rgba(11,128,96,.11); border-radius: 50%; }
.contact-form .button:hover, .checkout-form-card .button:hover { transform: translateY(-3px); }

@media (max-width: 1050px) {
  .header-main { gap: 16px; }
  .main-nav .container { justify-content: flex-start; }
  .footer-grid { grid-template-columns: 1.2fr repeat(3,1fr); gap: 28px; }
  .brands-grid { grid-template-columns: repeat(3,1fr); }
  .product-detail-layout { gap: 28px; }
  .main-product-image { height: 440px; }
  .product-summary { min-height: 440px; }
}

@media (max-width: 820px) {
  .site-header { box-shadow: 0 9px 28px rgba(18,65,48,.08); }
  .header-main { min-height: 70px; }
  .header-benefits { display: none; }
  .mobile-search { padding-bottom: 11px; }
  .mobile-search .header-search { height: 45px; }
  .mobile-panel .brand-logo { width: 48px; height: 48px; flex-basis: 48px; }
  .catalog-layout { grid-template-columns: 1fr; gap: 20px; }
  .filters { display: grid; grid-template-columns: repeat(2,1fr); }
  .filters-head, .filter-note { grid-column: 1/-1; }
  .filter-group { margin: 0; }
  .catalog-main-head { margin-top: 2px; }
  .product-detail-layout { grid-template-columns: 1fr; }
  .product-gallery { max-width: 650px; }
  .main-product-image { height: min(620px,76vw); }
  .product-summary { min-height: auto; }
  .brands-hero-grid { grid-template-columns: 1fr; padding-block: 70px; text-align: center; }
  .brands-hero-copy > p, .brands-search { margin-inline: auto; }
  .brands-orbit { width: 370px; margin-inline: auto; }
  .footer-grid { grid-template-columns: repeat(2,1fr); }
  .footer-brand-card { grid-column: 1/-1; }
  .contact-layout { grid-template-columns: 1fr; }
  .contact-info, .contact-form { min-height: 0; }
}

@media (max-width: 560px) {
  .container { width: min(calc(100% - 24px), var(--container)); }
  .header-main { min-height: 64px; grid-template-columns: 38px 1fr auto; gap: 8px; }
  .mobile-menu-btn { width: 38px; height: 38px; }
  .header-main .brand-logo { width: 42px; height: 42px; flex-basis: 42px; border-radius: 13px; }
  .header-main .brand { gap: 7px; }
  .header-main .brand strong { font-size: 14px; }
  .header-main .brand small { max-width: 92px; font-size: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .header-actions .lang-toggle { width: 38px; }
  .header-actions .cart-link { width: 38px; }
  .mobile-search { width: calc(100% - 24px); padding: 0 0 10px; }
  .mobile-search .header-search { width: 100%; }
  .search-suggestions { position: fixed; inset: 120px 12px auto; max-height: calc(100vh - 145px); }
  .search-result { grid-template-columns: 48px minmax(0,1fr) auto; }
  .main-nav { display: none; }
  .catalog-hero { padding: 43px 0; }
  .catalog-hero h1 { font-size: 33px; }
  .catalog-section { padding-top: 28px; }
  .filters { padding: 15px; border-radius: 20px; grid-template-columns: 1fr; gap: 13px; }
  .filters-head, .filter-note { grid-column: auto; }
  .filters-head { margin: 0; }
  .filter-group { width: 100%; }
  .catalog-main-head { min-height: auto; padding: 12px; display: grid; grid-template-columns: 1fr; gap: 10px; }
  .catalog-main-head .custom-select { width: 100%; margin: 0; }
  .product-media { aspect-ratio: 1 / 1.04; }
  .card-tools { flex-direction: row; }
  .product-info { padding: 12px; }
  .product-detail-section { padding: 24px 0 45px; }
  .product-gallery { display: flex; flex-direction: column; gap: 10px; }
  .main-product-image { order: 1; width: 100%; height: 340px; border-radius: 20px; }
  .product-thumbnails { order: 2; width: 100%; flex-direction: row; overflow-x: auto; padding-bottom: 3px; }
  .product-thumbnails button { flex: 0 0 67px; width: 67px; height: 67px; }
  .product-summary { padding: 21px 18px; border-radius: 21px; }
  .product-summary h1 { font-size: 27px; }
  .product-summary > p { font-size: 11px; }
  .product-promises { display: grid; gap: 4px; }
  .brands-hero { min-height: auto; }
  .brands-hero-grid { min-height: auto; padding-block: 55px; gap: 45px; }
  .brands-hero h1 { font-size: 37px; }
  .brands-orbit { width: 280px; }
  .brands-orbit b { width: 85px; height: 85px; border-radius: 27px; font-size: 40px; }
  .brands-orbit span { font-size: 7px; }
  .brands-section-head { display: block; }
  .brands-grid { grid-template-columns: repeat(2,1fr); }
  .brand-card { min-height: 150px; padding: 16px; }
  .brand-card strong { margin-top: 18px; }
  .contact-hero { padding: 62px 0 105px; }
  .contact-hero h1 { font-size: 37px; }
  .contact-section { margin-top: -56px; }
  .contact-info, .contact-form { padding: 20px; border-radius: 21px; }
  .contact-info-head h2 { font-size: 21px; }
  .contact-methods a { min-height: 66px; }
  .contact-methods b { max-width: 205px; overflow-wrap: anywhere; }
  .contact-form .form-grid { gap: 13px; }
  .contact-form .form-submit, .contact-form > .button { width: 100%; margin-top: 22px; }
  .footer-top { min-height: auto; padding-block: 37px; display: block; text-align: center; }
  .footer-top h2 { font-size: 29px; }
  .footer-shop-button { margin-top: 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 35px 16px; padding-block: 38px; }
  .footer-brand-card { grid-column: 1/-1; text-align: center; }
  .footer-brand-card .brand { justify-content: center; }
  .footer-brand-card p { margin-inline: auto; }
  .footer-social { justify-content: center; }
  [dir=rtl] .footer-brand-card .footer-social { justify-content: flex-start; }
  .footer-contact-card { grid-column: 1/-1; }
  .footer-bottom { min-height: auto; padding-block: 20px; align-items: center; justify-content: center; flex-direction: column; text-align: center; }
  .footer-copyright { margin-inline-end: 0; }
  .footer-caccentit { position: static; transform: none; }
}

@media (max-width: 680px) {
  .compare-premium { padding: 8px; border-radius: 20px; }
  .compare-intro { padding: 13px 8px 18px; align-items: flex-start; }
  .compare-intro h2 { font-size: 20px; }
  .compare-intro p { max-width: 270px; font-size: 10px; }
  .compare-table { min-width: max(680px,calc(145px + (var(--compare-count) * 205px))); border-radius: 16px; }
  .compare-row { grid-template-columns: 145px repeat(var(--compare-count),minmax(205px,1fr)); }
  .compare-row > * { padding: 13px; }
  .compare-head > article { min-height: 300px; }
  .compare-head img { width: 135px; height: 135px; }
  .compare-description { font-size: 10px; }
}

@media (max-width: 380px) {
  .header-main .brand small { display: none; }
  .header-main .brand strong { font-size: 13px; }
  .products-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .product-info { padding: 9px; }
  .product-info h3 { font-size: 10px; }
  .main-product-image { height: 300px; }
}

/* =========================================================
   MY Habitat foundation — checkout, wishlist and mega navigation
   ========================================================= */

/* Search arrow follows the reading direction, including the mobile search. */
.header-search { direction: ltr; }
.header-search input { direction: ltr; text-align: left; }
.header-search > button { order: 3; }
.header-search .search-leading { order: 1; }
.header-search input { order: 2; }
.header-search > button .hb-icon,
.header-search > button i { transition: transform .2s ease; }
[dir="rtl"] .header-search { direction: rtl; }
[dir="rtl"] .header-search input { direction: rtl; text-align: right; }
[dir="rtl"] .header-search > button { order: 3; }
[dir="rtl"] .header-search > button .hb-icon,
[dir="rtl"] .header-search > button i { transform: rotate(180deg); }

/* White navigation bar and accessible mega menus. */
.main-nav { position: relative; z-index: 130; overflow: visible; border-top: 1px solid #eaf2ee; background: #fff; }
.main-nav .container { min-height: 58px; overflow: visible; }
.mega-nav { width: 100%; min-height: 58px; display: flex; align-items: stretch; justify-content: center; gap: clamp(10px,1.25vw,22px); }
.mega-home,
.mega-trigger { min-height: 58px; padding: 0 8px; position: relative; border: 0; background: transparent; color: var(--ink); display: inline-flex; align-items: center; justify-content: center; gap: 7px; font-size: 12px; font-weight: 800; white-space: nowrap; transition: color .2s ease; }
.mega-home::after,
.mega-trigger::after { content: ""; position: absolute; inset-inline: 50% auto; bottom: 0; width: 0; height: 3px; border-radius: 4px 4px 0 0; background: var(--accent); transition: width .22s ease, inset-inline .22s ease; }
.mega-home:hover,
.mega-home:focus-visible,
.mega-trigger:hover,
.mega-trigger:focus-visible,
.mega-nav-item.open > .mega-trigger { color: var(--accent); outline: 0; }
.mega-home:hover::after,
.mega-home:focus-visible::after,
.mega-trigger:hover::after,
.mega-trigger:focus-visible::after,
.mega-nav-item.open > .mega-trigger::after { width: 100%; inset-inline: 0 auto; }
.mega-trigger i { color: var(--accent); font-size: 9px; transition: transform .22s ease; }
.mega-nav-item { position: static; display: flex; align-items: stretch; }
.mega-nav-item.open > .mega-trigger i { transform: rotate(180deg); }
.mega-panel { position: absolute; z-index: 250; top: 100%; inset-inline: 0; padding: 12px 20px 20px; opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(-9px); transition: opacity .2s ease, transform .2s ease, visibility .2s; }
.mega-nav-item.open > .mega-panel { opacity: 1; visibility: visible; pointer-events: auto; transform: none; }
@media (hover:hover) and (pointer:fine) {
  .mega-nav-item:hover > .mega-panel { opacity: 1; visibility: visible; pointer-events: auto; transform: none; }
  .mega-nav-item:hover > .mega-trigger { color: var(--accent); }
  .mega-nav-item:hover > .mega-trigger i { transform: rotate(180deg); }
}
.mega-panel-shell { width: min(1180px,calc(100vw - 40px)); max-height: min(650px,calc(100vh - 180px)); margin-inline: auto; padding: 27px; border: 1px solid #dce8e2; border-radius: 0 0 26px 26px; background: #fff; box-shadow: 0 28px 70px rgba(18,64,47,.17); overflow: auto; overscroll-behavior: contain; }
.mega-panel-head { margin-bottom: 22px; padding-bottom: 17px; border-bottom: 1px solid #e8f0ec; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.mega-panel-head small { color: var(--accent); font-size: 8px; font-weight: 900; letter-spacing: .12em; }
.mega-panel-head h2 { margin: 2px 0 0; font-size: 24px; line-height: 1.35; }
.mega-panel-head > a { min-height: 38px; padding: 7px 14px; border: 1px solid rgba(11,128,96,.18); border-radius: 11px; background: var(--accent-faint); color: var(--accent); display: inline-flex; align-items: center; font-size: 10px; font-weight: 900; }
.mega-panel-head > a:hover,
.mega-panel-head > a:focus-visible { border-color: var(--accent); background: var(--accent); color: #fff; outline: 0; }
.mega-category-grid { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 9px 20px; }
.mega-category-link,
.mega-brand-link { min-height: 42px; padding: 8px 10px; border-radius: 11px; display: flex; align-items: center; gap: 9px; color: #35413d; font-size: 10px; font-weight: 750; transition: background .18s ease, color .18s ease, transform .18s ease; }
.mega-category-link::after,
.mega-brand-link::after { display: none !important; }
.mega-category-link i { width: 27px; height: 27px; flex: 0 0 27px; border-radius: 9px; background: var(--accent-faint); color: var(--accent); display: grid; place-items: center; font-size: 11px; }
.mega-category-link:hover,
.mega-category-link:focus-visible,
.mega-brand-link:hover,
.mega-brand-link:focus-visible { background: var(--accent-faint); color: var(--accent); outline: 0; transform: translateY(-1px); }
.mega-brand-link { justify-content: space-between; gap: 7px; }
.mega-brand-link span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mega-brand-link b { min-width: 31px; padding: 2px 6px; border-radius: 20px; background: #eaf2ee; color: var(--accent-dark); text-align: center; font-size: 8px; }
.mega-brand-link[hidden] { display: none !important; }
.mega-brand-grid { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 4px 14px; }
.compact-grid { max-width: 980px; }
.mega-brand-search { min-height: 47px; margin-bottom: 20px; padding: 0 15px; border: 1px solid #dee7e3; border-radius: 14px; background: #fbf7f7; display: flex; align-items: center; gap: 10px; }
.mega-brand-search:focus-within { border-color: rgba(11,128,96,.4); background: #fff; box-shadow: 0 0 0 4px rgba(11,128,96,.05); }
.mega-brand-search i { color: var(--accent); }
.mega-brand-search input { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--ink); }
.mega-two-groups { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 30px; }
.mega-group { min-width: 0; }
.mega-group h3 { margin: 0 0 12px; padding-inline-start: 11px; border-inline-start: 3px solid var(--accent); font-size: 15px; }
.mega-links-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 4px 11px; }
.mega-empty { color: var(--muted); font-size: 10px; }

/* Wishlist: current Font Awesome regular/solid heart, visible focus and soft pop. */
.card-tools button[data-wishlist],
.product-secondary-actions button[data-wishlist] { position: relative; }
.card-tools button[data-wishlist]:focus-visible,
.product-secondary-actions button[data-wishlist]:focus-visible { outline: 3px solid rgba(11,128,96,.22); outline-offset: 3px; }
.card-tools button[data-wishlist] .fa-heart,
.product-secondary-actions button[data-wishlist] .fa-heart { transition: color .18s ease, transform .18s ease; }
.card-tools button[data-wishlist]:hover .fa-heart,
.product-secondary-actions button[data-wishlist]:hover .fa-heart { transform: scale(1.12); }
.card-tools button[data-wishlist].active .fa-heart,
.product-secondary-actions button[data-wishlist].active .fa-heart { color: var(--accent); }
.wishlist-pop .fa-heart { animation: wishlistPop .46s cubic-bezier(.2,.9,.25,1.35); }
@keyframes wishlistPop { 0% { transform: scale(.75); } 45% { transform: scale(1.38) rotate(-8deg); } 100% { transform: scale(1); } }

/* Checkout state messages and default store pickup details. */
.coupon-message { min-height: 0; margin-top: 9px; padding: 0; border: 1px solid transparent; border-radius: 11px; display: none; align-items: flex-start; gap: 8px; font-size: 10px; font-weight: 750; line-height: 1.65; }
.coupon-message.error,
.coupon-message.success { display: flex; padding: 9px 11px; }
.coupon-message.error { border-color: #d2f1e9; background: #f4fffa; color: #2fa87c; }
.coupon-message.success { border-color: #afe0cc; background: #edf9f4; color: #0d7951; }
.coupon-message i { margin-top: 3px; flex: 0 0 auto; }
.pickup-branch-card { margin: 15px 0 20px; padding: 15px 17px; border: 1px solid rgba(11,128,96,.18); border-radius: 16px; background: linear-gradient(135deg,#f6fffb,#fff); display: flex; align-items: center; gap: 13px; }
.pickup-branch-card > i { width: 42px; height: 42px; flex: 0 0 42px; border-radius: 13px; background: var(--accent); color: #fff; display: grid; place-items: center; }
.pickup-branch-card strong,
.pickup-branch-card small { display: block; }
.pickup-branch-card strong { font-size: 12px; }
.pickup-branch-card small { margin-top: 2px; color: var(--muted); font-size: 9px; }
[data-delivery-field][hidden],
[data-pickup-details][hidden] { display: none !important; }
.fulfillment-options label:has(input:checked) { border-color: rgba(11,128,96,.45); background: var(--accent-faint); box-shadow: 0 0 0 3px rgba(11,128,96,.04); }

/* Mobile menu: mega menus become clean accordions. */
.mobile-utility-links { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); display: grid; gap: 5px; }
.mobile-utility-links a { min-height: 43px; padding: 8px 11px; border-radius: 10px; display: flex; align-items: center; font-size: 12px; font-weight: 750; }
.mobile-utility-links a:hover { background: var(--accent-faint); color: var(--accent); }

@media (max-width: 1050px) {
  .mega-nav { gap: 4px; }
  .mega-home, .mega-trigger { padding-inline: 6px; font-size: 10px; }
  .mega-category-grid, .mega-brand-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
}

@media (max-width: 820px) {
  .main-nav { display: none; }
  .mobile-mega-nav { display: grid; gap: 5px; }
  .mobile-mega-nav .mega-home { min-height: 46px; padding: 9px 12px; border-radius: 11px; justify-content: flex-start; font-size: 12px; }
  .mobile-mega-nav .mega-home::after { display: none; }
  .mobile-mega-nav .mega-nav-item { display: block; position: relative; }
  .mobile-mega-nav .mega-trigger { width: 100%; min-height: 46px; padding: 9px 12px; border-radius: 11px; justify-content: space-between; font-size: 12px; }
  .mobile-mega-nav .mega-trigger::after { display: none; }
  .mobile-mega-nav .mega-nav-item.open > .mega-trigger { background: var(--accent-faint); }
  .mobile-mega-nav .mega-panel { position: static; padding: 0; display: grid; grid-template-rows: 0fr; opacity: 1; visibility: visible; pointer-events: none; transform: none; transition: grid-template-rows .26s ease; }
  .mobile-mega-nav .mega-nav-item.open > .mega-panel { grid-template-rows: 1fr; pointer-events: auto; }
  .mobile-mega-nav .mega-panel-shell { width: 100%; max-height: min(55vh,480px); min-height: 0; margin: 0; padding: 0 10px; border: 0; border-radius: 0; box-shadow: none; overflow: hidden auto; }
  .mobile-mega-nav .mega-nav-item.open .mega-panel-shell { padding-block: 12px 15px; }
  .mobile-mega-nav .mega-panel-head { margin-bottom: 12px; padding-bottom: 10px; align-items: flex-start; }
  .mobile-mega-nav .mega-panel-head small { display: none; }
  .mobile-mega-nav .mega-panel-head h2 { font-size: 16px; }
  .mobile-mega-nav .mega-panel-head > a { min-height: 32px; padding: 5px 9px; font-size: 8px; }
  .mobile-mega-nav .mega-category-grid,
  .mobile-mega-nav .mega-brand-grid,
  .mobile-mega-nav .mega-two-groups,
  .mobile-mega-nav .mega-links-grid { grid-template-columns: 1fr; gap: 3px; }
  .mobile-mega-nav .mega-category-link,
  .mobile-mega-nav .mega-brand-link { min-height: 39px; font-size: 10px; }
  .mobile-mega-nav .mega-group + .mega-group { margin-top: 18px; }
  .mobile-mega-nav .mega-brand-search { min-height: 42px; margin-bottom: 10px; }
}

@media (max-width: 560px) {
  .pickup-branch-card { padding: 13px; }
  .coupon-message.error, .coupon-message.success { font-size: 9px; }
}

@media (prefers-accentuced-motion: accentuce) {
  .mega-panel, .mega-trigger i, .wishlist-pop .fa-heart { transition: none; animation: none; }
}

/* =========================================================
   MY Habitat foundation refinements
   ========================================================= */
/* Remove only the oversized focus halo shown around navbar search. */
.header-search:focus-within { border-color: rgba(11,128,96,.42); box-shadow: none !important; }
.header-search input:focus, .header-search input:focus-visible { outline: 0 !important; box-shadow: none !important; }

/* Larger, clearer live-search copy. */
.search-result b { font-size: 13px; line-height: 1.5; }
.search-result small { margin-top: 2px; display: block; color: #5d726a; font-size: 10px; font-weight: 700; }
.search-result strong { font-size: 11px; }

/* More compact category cards to accommodate a larger set. */
.category-grid { grid-template-columns: repeat(5,minmax(0,1fr)); gap: 13px; }
.category-card { min-height: 285px; border-radius: 23px; }
.category-card span { inset-inline: 18px; bottom: 17px; }
.category-card small { font-size: 8px; }
.category-card strong { font-size: 17px; line-height: 1.45; }

/* Smaller desktop mega menu, while keeping five-column capacity. */
.mega-nav { min-height: 52px; gap: clamp(7px,1vw,16px); }
.mega-trigger, .mega-home { min-height: 52px; font-size: 11px; }
.mega-panel { padding: 8px 16px 16px; }
.mega-panel-shell { width: min(1040px,calc(100vw - 34px)); max-height: min(570px,calc(100vh - 165px)); padding: 20px; border-radius: 0 0 21px 21px; }
.mega-panel-head { margin-bottom: 16px; padding-bottom: 12px; }
.mega-panel-head h2 { font-size: 20px; }
.mega-panel-head > a { min-height: 34px; padding: 6px 11px; font-size: 9px; }
.mega-category-grid { gap: 7px 13px; }
.mega-category-link, .mega-brand-link { min-height: 37px; font-size: 10px; }
.mega-brand-grid { gap: 4px 13px; }
.mega-brand-search { min-height: 43px; margin-bottom: 13px; }

/* Catalog filters and dropdown layering. */
.catalog-layout, .catalog-main, .catalog-main-head, .filters { position: relative; }
.catalog-main { z-index: 3; }
.filters { z-index: 10; border-color: #d9e5e0; background: linear-gradient(180deg,#fff,#fffbfb); box-shadow: 0 15px 40px rgba(19,69,51,.07); }
.filter-group { padding-top: 2px; }
.filter-group > label { color: #3c4e47; font-size: 10px; }
.custom-select { z-index: 20; }
.custom-select.open { z-index: 1000; }
.custom-select-menu { z-index: 1001; }
.custom-select.open-up .custom-select-menu { inset: auto 0 calc(100% + 8px); transform-origin: bottom; }
.site-footer { position: relative; z-index: 1; }

/* Gallery thumbnails always centeaccent beneath the lower half of the main image. */
.product-gallery { display: flex !important; flex-direction: column !important; direction: inherit !important; }
.main-product-image { order: 1; }
.product-thumbnails { order: 2; width: 52% !important; max-width: 360px; margin-inline: auto; justify-content: center; align-self: center; }
.product-thumbnails button { flex: 0 0 70px; width: 70px; height: 70px; }

/* Product color variants. */
.product-variant-picker { margin: 18px 0; padding: 15px; border: 1px solid #e0eae6; border-radius: 18px; background: linear-gradient(145deg,#fff,#f5faf7); }
.product-variant-heading { margin-bottom: 11px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.product-variant-heading > span { color: var(--ink); font-size: 13px; font-weight: 900; }
.product-variant-heading small { color: var(--accent); font-size: 9px; font-weight: 800; }
.product-variant-swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.product-variant-swatch { min-height: 42px; padding: 6px 10px 6px 8px; border: 1px solid #d4dfdb; border-radius: 12px; background: #fff; color: #3d4f48; display: inline-flex; align-items: center; gap: 7px; font: inherit; font-size: 10px; font-weight: 800; transition: .2s; }
.product-variant-swatch i { width: 23px; height: 23px; border: 3px solid #fff; border-radius: 8px; background: var(--swatch); box-shadow: 0 0 0 1px #cbd7d2; }
.product-variant-swatch:hover, .product-variant-swatch:focus-visible { border-color: rgba(11,128,96,.45); transform: translateY(-1px); outline: 0; }
.product-variant-swatch.active { border-color: var(--accent); background: var(--accent-faint); color: var(--accent-dark); box-shadow: 0 0 0 3px rgba(11,128,96,.07); }
.product-variant-swatch.active i::after { content: "✓"; width: 100%; height: 100%; color: #fff; display: grid; place-items: center; font-size: 11px; text-shadow: 0 1px 2px rgba(0,0,0,.8); }
.product-variant-hint { margin: 9px 0 0 !important; color: var(--muted) !important; font-size: 9px !important; }
.cart-variant, .checkout-variant { margin: 4px 0; display: flex !important; align-items: center; gap: 6px; color: #4b6058 !important; font-size: 10px !important; }
.cart-variant i, .checkout-variant i { width: 14px; height: 14px; flex: 0 0 14px; border: 2px solid #fff; border-radius: 50%; background: var(--variant-accent); box-shadow: 0 0 0 1px #cbd7d2; }

/* Comparison feedback mirrors the wishlist action. */
.compare-pop .fa-code-compare { animation: comparePop .48s cubic-bezier(.2,.9,.25,1.35); }
@keyframes comparePop { 0% { transform: scale(.65) rotate(-12deg); } 55% { transform: scale(1.35) rotate(7deg); } 100% { transform: scale(1) rotate(0); } }

/* Footer phone organization and safe space above floating controls. */
@media (max-width:1100px) {
  .category-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .category-card { min-height: 250px; }
}
@media (max-width:820px) {
  .category-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .category-card { min-height: 225px; }
  .product-thumbnails { width: min(70%,360px) !important; }
}
@media (max-width:560px) {
  .category-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }
  .category-card { min-height: 185px; border-radius: 17px; }
  .category-card strong { font-size: 13px; }
  .footer-top { padding: 28px 0 24px; text-align: center; flex-direction: column; }
  .footer-shop-button { width: 100%; justify-content: center; }
  .footer-grid { grid-template-columns: 1fr !important; gap: 26px !important; padding: 32px 0 28px !important; }
  .footer-brand-card, .footer-links, .footer-contact-card { text-align: center; }
  .footer-brand-card .brand { justify-content: center; }
  .footer-social { justify-content: center; }
  .footer-links a { margin-top: 10px !important; }
  .footer-contact-card a { justify-content: center; text-align: start; }
  .footer-bottom { min-height: 128px; padding: 20px 0 66px !important; gap: 7px; }
  .footer-copyright, .footer-caccentit { line-height: 1.8; }
  .whatsapp-float, .back-to-top { bottom: 15px; }
  .product-thumbnails { width: 78% !important; max-width: 300px; justify-content: flex-start; }
  .product-variant-heading { align-items: flex-start; flex-direction: column; }
  .product-variant-swatch { flex: 1 1 calc(50% - 8px); justify-content: flex-start; }
  .search-result b { font-size: 12px; }
  .search-result small { font-size: 10px; }
}
@media (prefers-accentuced-motion: accentuce) {
  .compare-pop .fa-code-compare { animation: none; }
}

/* ===== MY Habitat foundation refinements ===== */
/* Correct mobile drawer direction: Arabic from right, English from left. */
@media (max-width:820px) {
  [dir="rtl"] .mobile-panel { inset:0 0 0 auto !important; transform:translateX(105%) !important; direction:rtl; }
  [dir="ltr"] .mobile-panel { inset:0 auto 0 0 !important; transform:translateX(-105%) !important; direction:ltr; }
  .menu-open .mobile-panel { transform:translateX(0) !important; }
}

/* Navigation labels and Offers link. */
.mega-home,.mega-trigger,.mega-offers { min-height:52px; padding-inline:8px; font-size:13px !important; font-weight:900; }
.mega-offers { position:relative; color:var(--accent) !important; display:inline-flex; align-items:center; white-space:nowrap; }
.mega-offers::before { content:""; width:7px; height:7px; margin-inline-end:6px; border-radius:50%; background:var(--accent); box-shadow:0 0 0 5px rgba(11,128,96,.08); }
.mega-panel { padding:7px 14px 14px; }
.mega-panel-shell { width:min(980px,calc(100vw - 34px)); max-height:min(530px,calc(100vh - 160px)); padding:18px; border-radius:0 0 20px 20px; }
.mega-panel-head { margin-bottom:14px; padding-bottom:11px; }
.mega-panel-head h2 { font-size:19px; }
.mega-category-grid,.mega-brand-grid { gap:7px 11px; }
.mega-category-link { min-height:43px; }
.mega-category-link > i { width:31px; height:31px; flex:0 0 31px; border-radius:10px; background:#f4fffa; color:var(--accent); display:grid !important; place-items:center; font-size:13px; opacity:1 !important; visibility:visible !important; }

/* Product cards: shorter, with tools appearing on hover on pointer devices. */
.product-media { aspect-ratio:1 / .82; }
.product-info { padding:12px 14px 14px; }
.product-info h3 { min-height:40px; margin-block:3px 0; font-size:12px; line-height:1.55; }
.product-brand { margin-top:2px; }
.price-row { margin-top:7px; }
.add-cart-btn { min-height:38px; margin-top:7px; }
@media (hover:hover) and (pointer:fine) {
  .card-tools { opacity:0 !important; visibility:hidden; transform:translateX(8px) scale(.96) !important; pointer-events:none; }
  .product-card:hover .card-tools,.product-card:focus-within .card-tools { opacity:1 !important; visibility:visible; transform:none !important; pointer-events:auto; }
}
@media (hover:none),(pointer:coarse) {
  .card-tools { opacity:1 !important; visibility:visible; transform:none !important; pointer-events:auto; }
}
[data-featuaccent-products],[data-home-deals] { grid-template-columns:repeat(5,minmax(0,1fr)); gap:14px; }
[data-featuaccent-products] .product-card,[data-home-deals] .product-card { border-radius:18px; }
[data-featuaccent-products] .product-info,[data-home-deals] .product-info { padding:10px 11px 12px; }
[data-featuaccent-products] .product-info h3,[data-home-deals] .product-info h3 { min-height:34px; font-size:11px; }
[data-featuaccent-products] .add-cart-btn,[data-home-deals] .add-cart-btn { min-height:35px; font-size:8px; }
.hot-badge { min-width:auto; padding-inline:9px; font-size:8px; }

/* Catalog filter card must end before the footer. */
.catalog-layout { align-items:start; }
.filters { position:relative !important; top:auto !important; align-self:start; height:auto; z-index:20; }
.catalog-main { min-width:0; }
.custom-select { position:relative; z-index:auto; }
.custom-select.open { z-index:1300; }
.custom-select-menu { z-index:1400 !important; }
.custom-select-menu button.selected,.custom-select-menu button.selected span,.custom-select-menu button.selected i { color:#fff !important; }
.catalog-main-head .custom-select-menu button.selected { background:var(--accent) !important; color:#fff !important; }

/* Product gallery: no thumbnail strip for a single image, and full matching height. */
.product-detail-layout { align-items:stretch; }
.product-gallery.single-image { height:100%; min-height:560px; display:block !important; }
.product-gallery.single-image .main-product-image { width:100%; height:100%; min-height:560px; aspect-ratio:auto; }
.product-gallery.single-image .main-product-image img { object-fit:cover; }
.product-gallery.single-image .product-thumbnails { display:none !important; }
.product-thumbnails { margin-top:2px; }

/* Cleaner and clearer color choices. */
.product-variant-picker { padding:14px; border:1px solid #dae6e1; box-shadow:0 10px 28px rgba(20,70,52,.045); }
.product-variant-heading > span { display:flex; align-items:center; gap:8px; }
.product-variant-heading > span > i { color:var(--accent); }
.product-variant-swatches { gap:9px; }
.product-variant-swatch { min-height:46px; padding:6px 9px; position:relative; border-radius:14px; }
.product-variant-swatch > i { width:27px; height:27px; flex:0 0 27px; border-radius:9px; }
.product-variant-swatch > b { width:18px; height:18px; margin-inline-start:3px; border-radius:50%; background:var(--accent); color:#fff; display:grid; place-items:center; opacity:0; transform:scale(.6); transition:.18s; }
.product-variant-swatch > b i { width:auto; height:auto; border:0; background:transparent; box-shadow:none; font-size:8px; }
.product-variant-swatch.active > b { opacity:1; transform:none; }
.product-variant-swatch.active > i::after { display:none; }

/* Search suggestions remain legible. */
.search-result b { font-size:13px; }
.search-result small { font-size:10px; }

/* Footer copyright breathing room for floating controls. */
.footer-copyright { line-height:1.8; }
.footer-bottom { padding-block:18px 26px; }

@media (min-width:821px) and (max-width:1320px) {
  [data-featuaccent-products],[data-home-deals] { grid-template-columns:repeat(4,minmax(0,1fr)); }
  .mega-home,.mega-trigger,.mega-offers { padding-inline:5px; font-size:11.5px !important; }
  .mega-panel-shell { width:min(920px,calc(100vw - 28px)); }
}
@media (max-width:820px) {
  .mobile-mega-nav .mega-offers { min-height:46px; padding:9px 12px; border-radius:11px; justify-content:flex-start; font-size:12px !important; }
  [data-featuaccent-products],[data-home-deals] { grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; }
  .product-gallery.single-image { min-height:420px; }
  .product-gallery.single-image .main-product-image { min-height:420px; height:420px; }
}
@media (max-width:560px) {
  [data-featuaccent-products],[data-home-deals] { grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; }
  .product-media { aspect-ratio:1/.92; }
  .product-gallery.single-image { min-height:330px; }
  .product-gallery.single-image .main-product-image { min-height:330px; height:330px; }
  .product-variant-swatch { flex:1 1 100%; }
  .footer-bottom { padding-bottom:72px !important; }
}

/* ===== MY Habitat foundation navigation fixes ===== */
/* The action button inside the mega menu changes to accent without inheriting the nav underline. */
.mega-panel-head > a::after,
.mega-panel .mega-panel-head > a::after {
  content: none !important;
  display: none !important;
}
.mega-panel-head > a:hover,
.mega-panel-head > a:focus-visible {
  text-decoration: none !important;
}

/* A real, continuously pulsing Offers indicator. */
.mega-offers::before {
  animation: habitat-offers-pulse 1.55s ease-out infinite;
  will-change: transform, box-shadow;
}
@keyframes habitat-offers-pulse {
  0% { transform: scale(.92); box-shadow: 0 0 0 0 rgba(11,128,96,.42); }
  42% { transform: scale(1.08); box-shadow: 0 0 0 5px rgba(11,128,96,.13); }
  78%, 100% { transform: scale(.96); box-shadow: 0 0 0 10px rgba(11,128,96,0); }
}
@media (prefers-accentuced-motion: accentuce) {
  .mega-offers::before { animation: none; }
}

/* The announcement arrow follows the active language and moves outward on hover. */
.announcement .announcement-arrow { transform: none; }
.announcement a:hover .announcement-arrow { transform: translateX(-4px); }
[dir="ltr"] .announcement .announcement-arrow { transform: rotate(180deg); }
[dir="ltr"] .announcement a:hover .announcement-arrow { transform: translateX(4px) rotate(180deg); }

/* =========================================================
   MY Habitat foundation — mobile-first polish
   ========================================================= */
/* Decorative blood-accent gradient circle on every inner-page hero. */
.page-hero { position:relative; overflow:hidden; isolation:isolate; }
.page-hero::after {
  width:230px;
  height:230px;
  top:-104px;
  inset-inline-end:4%;
  border:0;
  background:linear-gradient(140deg,rgba(3,62,46,.98),rgba(11,128,96,.94) 65%,rgba(171,238,220,.88));
  box-shadow:0 22px 55px rgba(35,126,93,.18),inset 0 0 0 1px rgba(255,255,255,.13);
  opacity:.13;
  z-index:-1;
}
.page-hero::before {
  content:"";
  position:absolute;
  z-index:-1;
  width:135px;
  height:135px;
  inset-inline-end:calc(4% + 42px);
  top:-56px;
  border:1px solid rgba(11,128,96,.15);
  border-radius:50%;
}

/* Mega menus open only through the controlled .open state, not accidental hover gaps. */
.mega-panel { transition:opacity .27s ease,transform .27s cubic-bezier(.2,.8,.2,1),visibility .27s; }
@media (hover:hover) and (pointer:fine) {
  .mega-nav-item:not(.open):hover > .mega-panel { opacity:0; visibility:hidden; pointer-events:none; transform:translateY(-7px); }
  .mega-nav-item:not(.open):hover > .mega-trigger i { transform:none; }
}
.mega-two-groups { gap:18px; align-items:stretch; }
.mega-group {
  min-width:0;
  padding:17px;
  border:1px solid #d9e7e0;
  border-radius:18px;
  background:linear-gradient(145deg,#fff,#f6fffb);
  box-shadow:0 10px 28px rgba(19,67,49,.04);
}
.mega-group:nth-child(2) { background:linear-gradient(145deg,#fff,#f4fdf9); }
.mega-group h3 { margin-bottom:14px; padding-bottom:10px; border-bottom:1px solid #e6efeb; }
.mega-group h3::before { content:""; display:inline-block; width:7px; height:7px; margin-inline-end:8px; border-radius:50%; background:var(--accent); box-shadow:0 0 0 5px rgba(11,128,96,.07); }
.mega-group .mega-links-grid { align-content:start; }

/* Coupon field: one clean border, no oversized browser focus ring. */
.coupon-box > div {
  min-height:45px;
  height:auto;
  overflow:hidden;
  border:1px solid #d4e1dc;
  border-radius:12px;
  background:#fff;
  transition:border-color .2s,box-shadow .2s;
}
.coupon-box > div:focus-within { border-color:rgba(11,128,96,.52); box-shadow:0 0 0 3px rgba(11,128,96,.045); }
.coupon-box input {
  min-height:43px;
  border:0 !important;
  border-radius:0 !important;
  outline:0 !important;
  outline-offset:0 !important;
  box-shadow:none !important;
  background:#fff;
}
.coupon-box input:focus,.coupon-box input:focus-visible { outline:0 !important; outline-offset:0 !important; box-shadow:none !important; }
.coupon-box button { min-width:76px; min-height:43px; border-radius:0 !important; }

/* Cleaner mobile search action. */
@media (max-width:820px) {
  .mobile-search .header-search {
    min-height:48px;
    height:48px;
    border-radius:15px;
    background:#fff;
    box-shadow:0 8px 23px rgba(20,70,52,.065);
  }
  .mobile-search .header-search > button {
    width:48px;
    flex:0 0 48px;
    margin:4px;
    border-radius:11px;
    background:linear-gradient(135deg,#2fa77b,var(--accent));
  }
  .mobile-search .header-search > button i { font-size:14px; }
  .mobile-search .header-search .search-leading { width:38px; flex-basis:38px; }
  [dir="rtl"] .mobile-search .header-search > button i { transform:rotate(180deg); }
  [dir="ltr"] .mobile-search .header-search > button i { transform:none; }
}

/* A mobile-first, card-based footer. */
@media (max-width:560px) {
  .site-footer { background:linear-gradient(155deg,#092118,#16503b 52%,#217556); }
  .footer-glow { width:310px; height:310px; inset:-180px -105px auto auto; opacity:.65; }
  .footer-top.container {
    width:calc(100% - 24px);
    margin:20px auto 0;
    padding:25px 18px;
    border:1px solid rgba(255,255,255,.12);
    border-radius:24px;
    background:rgba(255,255,255,.055);
    backdrop-filter:blur(7px);
  }
  .footer-top .eyebrow { font-size:9px; letter-spacing:.06em; }
  .footer-top h2 { margin-top:7px; font-size:25px; line-height:1.45; }
  .footer-shop-button { width:100%; min-height:49px; margin-top:18px; border-radius:13px; justify-content:center; }
  .footer-grid.container {
    width:calc(100% - 24px);
    padding:20px 0 26px !important;
    gap:14px !important;
  }
  .footer-brand-card,.footer-contact-card,.footer-links-pair {
    padding:19px;
    border:1px solid rgba(255,255,255,.11);
    border-radius:20px;
    background:rgba(255,255,255,.05);
    text-align:start;
  }
  .footer-brand-card .brand { width:100%; justify-content:flex-start !important; }
  .footer-brand-card .brand-logo { width:58px; height:58px; flex-basis:58px; }
  .footer-brand-card p { margin:14px 0; font-size:12px; line-height:1.9; }
  .footer-social { justify-content:flex-start !important; gap:8px; }
  .footer-social a { width:39px; height:39px; border:1px solid rgba(255,255,255,.15); background:rgba(255,255,255,.07); display:grid; place-items:center; }
  .footer-links-pair { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
  .footer-links { min-width:0; text-align:start; }
  .footer-links h3,.footer-contact-card h3 { margin:0 0 12px; font-size:15px; }
  .footer-links a { margin-top:8px !important; font-size:11px !important; }
  .footer-contact-card { text-align:start; }
  .footer-contact-card a { justify-content:flex-start !important; font-size:11px !important; }
  .footer-bottom.container {
    width:calc(100% - 24px);
    min-height:0;
    padding:18px 12px 86px !important;
    border-top:1px solid rgba(255,255,255,.1);
    display:flex;
    flex-direction:column;
    align-items:center;
    text-align:center;
  }
  .footer-copyright { margin:0; font-size:10px; line-height:1.9; }
  .footer-caccentit { position:static; margin-top:5px; transform:none; font-size:10px; white-space:normal; }
  .footer-caccentit b { font-size:10px; }
  .whatsapp-float,.back-to-top { bottom:17px; }
}
@media (max-width:370px) {
  .footer-links-pair { grid-template-columns:1fr; }
}

/* foundation — keep the current mobile footer, restore the previous desktop/tablet layout. */
@media (min-width: 561px) {
  .footer-links-pair {
    display: contents;
  }
}

/* =========================================================
   MY Habitat foundation — mobile navigation and catalog filters
   ========================================================= */
/* Strong blood-accent decorative circle across inner pages. */
.page-hero::after {
  width: 230px;
  height: 230px;
  top: -104px;
  inset-inline-end: 4%;
  z-index: 0;
  border: 0;
  background: linear-gradient(140deg, #053f30 0%, #087457 42%, #0b8060 100%);
  box-shadow: 0 22px 55px rgba(24,87,64, .28), inset 0 0 0 1px rgba(255,255,255,.12);
  opacity: .94;
}
.page-hero::before {
  z-index: 0;
  border-color: rgba(31,112,82,.38);
}
.page-hero > .container { position: relative; z-index: 1; }

/* Development caccentit is intentionally fixed and not editable from the dashboard. */
.footer-caccentit a { white-space: nowrap; }

/* Desktop catalog filter remains available while products scroll. */
.mobile-filter-bar,
.filters-overlay,
.filters-close { display: none; }
@media (min-width: 821px) {
  .catalog-layout { align-items: start; }
  .catalog-layout > .filters {
    position: sticky !important;
    top: 158px;
    align-self: start;
    height: fit-content;
  }
}

@media (max-width: 820px) {
  body.filters-open { overflow: hidden; }

  /* Arabic drawer opens from the right; English drawer opens from the left. */
  [dir="rtl"] .mobile-panel {
    inset: 0 0 0 auto;
    transform: translateX(105%);
    direction: rtl;
  }
  [dir="ltr"] .mobile-panel {
    inset: 0 auto 0 0;
    transform: translateX(-105%);
    direction: ltr;
  }
  .menu-open .mobile-panel { transform: translateX(0); }
  .mobile-panel { overflow-y: auto; overscroll-behavior: contain; }
  .mobile-panel-head .brand-logo,
  .mobile-panel-head .brand-logo img { border-radius: 50% !important; }
  .mobile-panel-head .brand-logo { padding: 3px; }

  /* Direct mobile navigation buttons; no nested dropdowns. */
  .mobile-mega-nav { display: grid; gap: 8px; padding-top: 17px; }
  .mobile-nav-button {
    min-height: 49px;
    padding: 9px 12px;
    border: 1px solid #e5eeea;
    border-radius: 14px;
    background: #f9fbfa;
    display: grid;
    grid-template-columns: 34px minmax(0,1fr) 24px;
    align-items: center;
    gap: 10px;
    color: var(--ink);
    font-size: 12px;
    font-weight: 850;
    transition: background-color .22s ease, border-color .22s ease, color .22s ease, transform .22s ease;
  }
  .mobile-nav-button > i:first-child {
    width: 34px;
    height: 34px;
    border-radius: 11px;
    background: var(--accent-faint);
    color: var(--accent);
    display: grid;
    place-items: center;
  }
  .mobile-nav-button .mobile-nav-arrow {
    color: #859c93;
    font-size: 10px;
    transition: transform .2s ease;
  }
  [dir="ltr"] .mobile-nav-button .mobile-nav-arrow { transform: rotate(180deg); }
  .mobile-nav-button:active,
  .mobile-nav-button:focus-visible {
    border-color: rgba(11,128,96,.36);
    background: #f6fffb;
    color: var(--accent);
    outline: 0;
  }
  .mobile-nav-button.is-offers {
    border-color: rgba(11,128,96,.2);
    background: linear-gradient(135deg,#f6fffb,#fff);
    color: var(--accent);
  }

  /* Mobile catalog filter opens in its own directional side drawer. */
  .catalog-layout { display: block; }
  .mobile-filter-bar {
    margin-bottom: 12px;
    display: flex;
    justify-content: flex-start;
  }
  .mobile-filter-toggle {
    min-width: 112px;
    min-height: 45px;
    padding: 9px 17px;
    border: 0;
    border-radius: 13px;
    background: linear-gradient(135deg,var(--accent-dark),var(--accent));
    color: #fff;
    box-shadow: 0 12px 26px rgba(41,148,109,.2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    font-size: 12px;
    font-weight: 900;
  }
  .catalog-layout > .filters {
    position: fixed !important;
    z-index: 330;
    top: 0;
    bottom: 0;
    width: min(370px, 90vw);
    height: 100dvh;
    max-height: none;
    padding: 22px 18px 30px;
    border: 0;
    border-radius: 0;
    background: #fff;
    box-shadow: 0 0 50px rgba(13,48,35,.18);
    display: block;
    overflow-y: auto;
    overscroll-behavior: contain;
    transition: transform .3s cubic-bezier(.2,.8,.2,1), visibility .3s;
    visibility: hidden;
  }
  [dir="rtl"] .catalog-layout > .filters {
    right: 0;
    left: auto;
    transform: translateX(105%);
  }
  [dir="ltr"] .catalog-layout > .filters {
    left: 0;
    right: auto;
    transform: translateX(-105%);
  }
  .filters-open .catalog-layout > .filters {
    transform: translateX(0);
    visibility: visible;
  }
  .filters-overlay {
    position: fixed;
    z-index: 320;
    inset: 0;
    display: block;
    background: rgba(9,31,23,.54);
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s ease, visibility .25s ease;
  }
  .filters-open .filters-overlay { opacity: 1; visibility: visible; }
  .filters-head { position: sticky; top: -22px; z-index: 4; margin: -22px -18px 18px; padding: 20px 18px 15px; background: rgba(255,255,255,.98); border-bottom: 1px solid #e8f1ed; backdrop-filter: blur(8px); }
  .filters-head-actions { display: flex; align-items: center; gap: 8px; }
  .filters-close {
    width: 37px;
    height: 37px;
    padding: 0;
    border: 1px solid #d9e7e0 !important;
    border-radius: 11px;
    background: #fff !important;
    color: var(--ink) !important;
    place-items: center;
  }
  .catalog-layout > .filters .filter-group { margin-top: 17px; }
  .catalog-layout > .filters .custom-select-menu { max-height: 250px; }
}

@media (max-width: 560px) {
  .page-hero::after {
    width: 175px;
    height: 175px;
    top: -82px;
    inset-inline-end: -18px;
    opacity: .96;
  }
  .page-hero::before { width: 102px; height: 102px; top: -44px; inset-inline-end: 15px; }
  .catalog-layout > .filters { width: min(350px, 92vw); }
  .mobile-filter-toggle { min-height: 43px; min-width: 106px; }
}
.custom-select.is-disabled { opacity: .58; }
.custom-select.is-disabled .custom-select-trigger { cursor: not-allowed; }

/* =========================================================
   MY Habitat foundation — cart, live wishlist, stock and zoom
   ========================================================= */
/* Prices always use Western 0-9 digits while retaining the current currency label. */
.price-row strong,
.price-row del,
.detail-price strong,
.detail-price del,
.cart-item > strong,
.order-summary b,
.order-summary strong,
.checkout-summary b,
.checkout-summary strong,
.search-result > strong {
  font-variant-numeric: tabular-nums;
  direction: ltr;
  unicode-bidi: isolate;
}

/* Cart removal is now a clear X control positioned above each product row. */
.cart-item { position: relative; padding-inline-end: 58px; }
.cart-remove-button {
  position: absolute;
  z-index: 3;
  top: 14px;
  inset-inline-end: 14px;
  width: 34px;
  height: 34px;
  padding: 0 !important;
  border: 1px solid #deeae5 !important;
  border-radius: 50%;
  background: #fff !important;
  color: var(--accent) !important;
  display: grid;
  place-items: center;
  font-size: 14px !important;
  box-shadow: 0 8px 20px rgba(20,70,52,.07);
  transition: color .2s ease, background-color .2s ease, border-color .2s ease, transform .2s ease;
}
.cart-remove-button:hover,
.cart-remove-button:focus-visible {
  border-color: var(--accent) !important;
  background: var(--accent) !important;
  color: #fff !important;
  transform: rotate(7deg) scale(1.04);
  outline: 0;
}

/* The availability dot has a real pulse; unavailable products remain static. */
.stock-line:not(.out) > i {
  position: relative;
  flex: 0 0 8px;
  animation: habitatStockPulse 1.45s ease-out infinite;
}
@keyframes habitatStockPulse {
  0% { box-shadow: 0 0 0 0 rgba(20,135,89,.42); transform: scale(.92); }
  58% { box-shadow: 0 0 0 8px rgba(20,135,89,0); transform: scale(1.08); }
  100% { box-shadow: 0 0 0 0 rgba(20,135,89,0); transform: scale(.92); }
}

/* Product image zoom entry point. */
.main-product-image[data-open-product-zoom] {
  cursor: zoom-in;
  isolation: isolate;
}
.main-product-image[data-open-product-zoom]:focus-visible {
  outline: 3px solid rgba(11,128,96,.28);
  outline-offset: 4px;
}
.product-zoom-hint {
  position: absolute;
  z-index: 3;
  inset-inline-end: 15px;
  bottom: 15px;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid rgba(255,255,255,.68);
  border-radius: 12px;
  background: rgba(255,255,255,.9);
  color: var(--accent-dark);
  box-shadow: 0 10px 25px rgba(11,40,29,.12);
  backdrop-filter: blur(8px);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  font-weight: 900;
  transition: transform .2s ease, background-color .2s ease;
}
.main-product-image:hover .product-zoom-hint { transform: translateY(-2px); background: #fff; }

body.image-zoom-open { overflow: hidden; }
.product-image-lightbox {
  position: fixed;
  z-index: 5000;
  inset: 0;
  padding: 78px 24px 86px;
  background: rgba(6,21,15,.9);
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .22s ease, visibility .22s ease;
  backdrop-filter: blur(10px);
}
.product-image-lightbox.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.product-lightbox-stage {
  width: min(920px, 92vw);
  height: min(76vh, 820px);
  border-radius: 22px;
  background: #fff;
  overflow: auto;
  display: grid;
  place-items: center;
  overscroll-behavior: contain;
  box-shadow: 0 28px 80px rgba(0,0,0,.42);
}
.product-image-lightbox.is-zoomed .product-lightbox-stage { display: block; }
.product-lightbox-stage img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform-origin: center;
  transition: width .18s ease, height .18s ease;
  user-select: none;
  -webkit-user-drag: none;
}
.product-lightbox-close {
  position: fixed;
  top: 22px;
  inset-inline-end: 22px;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 19px;
  transition: background-color .2s ease, transform .2s ease;
}
.product-lightbox-close:hover,
.product-lightbox-close:focus-visible { background: var(--accent); transform: rotate(7deg); outline: 0; }
.product-lightbox-controls {
  position: fixed;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  min-height: 48px;
  padding: 6px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 15px;
  background: rgba(10,35,26,.72);
  display: flex;
  align-items: center;
  gap: 5px;
  backdrop-filter: blur(10px);
}
.product-lightbox-controls button {
  min-width: 42px;
  height: 36px;
  padding: 0 12px;
  border: 0;
  border-radius: 10px;
  background: rgba(255,255,255,.1);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 900;
}
.product-lightbox-controls button:hover,
.product-lightbox-controls button:focus-visible { background: var(--accent); outline: 0; }
.product-secondary-actions [data-wishlist-label] { min-width: 0; }

@media (max-width: 820px) {
  .cart-item { padding-block: 18px; padding-inline-start: 16px; padding-inline-end: 50px; }
  .cart-remove-button { top: 10px; inset-inline-end: 10px; width: 31px; height: 31px; }
  .product-zoom-hint { min-height: 34px; padding: 7px 10px; bottom: 10px; inset-inline-end: 10px; }
  .product-zoom-hint b { display: none; }
  .product-image-lightbox { padding: 68px 12px 82px; }
  .product-lightbox-stage { width: 100%; height: min(72vh, 660px); border-radius: 16px; }
  .product-lightbox-close { top: 14px; inset-inline-end: 14px; width: 42px; height: 42px; }
  .product-lightbox-controls { bottom: 14px; }
}

@media (prefers-accentuced-motion: accentuce) {
  .stock-line:not(.out) > i { animation: none; }
  .product-image-lightbox,
  .product-lightbox-stage img { transition: none; }
}


/* =========================================================
   MY Habitat foundation — visual repair pass
   ========================================================= */
/* A smaller, refined decorative ring instead of the heavy filled circle. */
.page-hero::after {
  width: 176px !important;
  height: 176px !important;
  top: -96px !important;
  inset-inline-end: clamp(22px, 7vw, 118px) !important;
  border: 12px solid rgba(7,83,61, .24) !important;
  border-radius: 50% !important;
  background: transparent !important;
  box-shadow: 0 18px 44px rgba(25,91,67, .10), inset 0 0 0 1px rgba(255,255,255,.6) !important;
  opacity: 1 !important;
  transform: rotate(-12deg);
}
.page-hero::before {
  width: 34px !important;
  height: 34px !important;
  top: 30px !important;
  inset-inline-end: clamp(55px, 10vw, 165px) !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: linear-gradient(145deg,#064b39,#0b8060) !important;
  box-shadow: 0 10px 24px rgba(25,91,67,.17) !important;
  opacity: .20;
}

/* Footer: links are always separate rows; no text may concatenate. */
.footer-grid { align-items: start; }
.footer-links-pair { min-width: 0; }
.footer-links { min-width: 0; }
.footer-links a {
  width: 100% !important;
  min-height: 28px;
  margin: 0 !important;
  padding: 4px 0;
  display: flex !important;
  align-items: center;
  white-space: normal;
  overflow-wrap: anywhere;
  line-height: 1.55 !important;
}
.footer-links a + a { margin-top: 5px !important; }
.footer-contact-card a span { min-width: 0; overflow-wrap: anywhere; }
@media (min-width: 1025px) {
  .footer-grid {
    grid-template-columns: minmax(300px,1.2fr) minmax(390px,1.28fr) minmax(285px,.9fr) !important;
    gap: clamp(34px,4vw,66px) !important;
  }
  .footer-links-pair {
    display: grid !important;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 34px;
  }
}
@media (min-width: 561px) and (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr !important; gap: 28px !important; }
  .footer-brand-card { grid-column: 1/-1; }
  .footer-links-pair { display: grid !important; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
  .footer-contact-card { grid-column: 1/-1; }
}
@media (max-width: 560px) {
  .footer-links-pair { display: grid !important; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px !important; }
  .footer-links a { min-height: 25px; padding-block: 3px; font-size: 11px !important; }
  .footer-links a + a { margin-top: 3px !important; }
}
@media (max-width: 370px) { .footer-links-pair { grid-template-columns: 1fr !important; } }

/* Home featuaccent section: cleaner mobile heading/button rhythm. */
@media (max-width: 560px) {
  .section-head { display: grid !important; gap: 14px; align-items: start; }
  .section-head > .button { width: fit-content !important; min-height: 43px; margin: 0 !important; padding-inline: 18px; justify-self: start; }
  .section-head h2 { margin-top: 2px; }
}

/* Four service promises become a balanced 2x2 card grid on phones. */
@media (max-width: 560px) {
  .service-strip { padding: 10px 0; border-bottom: 0; background: #f9fbfa; }
  .service-strip .container { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
  .service-strip .container > div {
    min-height: 78px;
    padding: 11px 9px;
    border: 1px solid #e4eeea !important;
    border-radius: 14px;
    background: #fff;
    gap: 8px;
  }
  .service-strip i { width: 32px; height: 32px; flex: 0 0 32px; border-radius: 10px; }
  .service-strip strong { font-size: 10px; line-height: 1.45; }
  .service-strip span { font-size: 8px; line-height: 1.55; }
}

/* Mobile navigation fits without an inner scrollbar. */
@media (max-width: 820px) {
  .mobile-panel {
    width: min(360px,92vw);
    height: 100dvh;
    padding: 14px;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column;
  }
  .mobile-panel-head {
    min-height: 61px;
    padding-bottom: 12px;
    margin-bottom: 8px;
    flex: 0 0 auto;
  }
  .mobile-panel-head .brand { min-width: 0; }
  .mobile-panel-head .brand-copy small { font-size: 7px; }
  .mobile-close {
    width: 40px !important;
    height: 40px !important;
    flex: 0 0 40px;
    border-radius: 9px !important;
  }
  .mobile-mega-nav {
    flex: 0 0 auto;
    padding-top: 6px !important;
    display: grid !important;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 6px !important;
  }
  .mobile-nav-button {
    min-width: 0;
    min-height: 43px !important;
    padding: 6px 8px !important;
    grid-template-columns: 30px minmax(0,1fr) !important;
    gap: 7px !important;
    border-radius: 12px !important;
    font-size: 10.5px !important;
    line-height: 1.35;
  }
  .mobile-nav-button > i:first-child { width: 30px !important; height: 30px !important; border-radius: 9px !important; }
  .mobile-nav-button .mobile-nav-arrow { display: none; }
  .mobile-nav-button.is-offers { grid-column: 1/-1; }
  .mobile-utility-links {
    flex: 0 0 auto;
    margin-top: 8px;
    padding-top: 8px;
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 5px;
  }
  .mobile-utility-links a {
    min-height: 35px;
    padding: 6px 8px;
    border: 1px solid #e8f0ec;
    border-radius: 10px;
    background: #f9fbfa;
    font-size: 10px;
  }
  .mobile-panel-social { margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--line); gap: 6px; }
  .mobile-panel-social a { width: 34px; height: 34px; border-radius: 10px; }
}
@media (max-height: 650px) and (max-width: 820px) {
  .mobile-panel { padding-block: 9px; }
  .mobile-panel-head { min-height: 52px; padding-bottom: 7px; margin-bottom: 4px; }
  .mobile-panel-head .brand-logo { width: 42px; height: 42px; flex-basis: 42px; }
  .mobile-mega-nav { gap: 4px !important; }
  .mobile-nav-button { min-height: 38px !important; }
  .mobile-nav-button > i:first-child { width: 27px !important; height: 27px !important; }
  .mobile-utility-links { margin-top: 5px; padding-top: 5px; gap: 4px; }
  .mobile-utility-links a { min-height: 31px; }
  .mobile-panel-social { margin-top: 5px; padding-top: 5px; }
}

/* True Amazon-like image hover zoom on desktop. */
.main-product-image > img {
  transform: scale(1);
  transform-origin: center center;
  transition: transform .14s ease-out;
  will-change: transform;
}
@media (hover: hover) and (pointer: fine) {
  .main-product-image[data-open-product-zoom] { cursor: crosshair; }
  .main-product-image.is-hover-zoomed > img { transition: transform .04s linear; }
  .main-product-image.is-hover-zoomed .product-zoom-hint { opacity: 0; transform: translateY(6px); }
}
@media (hover: none), (pointer: coarse) {
  .product-zoom-hint b::after { content: " ×2"; }
}

/* Wishlist and comparison use the same live label treatment. */
.product-secondary-actions [data-wishlist-label],
.product-secondary-actions [data-compare-label] { min-width: 0; }

/* Old prices have a centeaccent custom strike line. */
.price-row del,
.detail-price del {
  position: relative;
  display: inline-block;
  text-decoration: none !important;
}
.price-row del::after,
.detail-price del::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1.5px;
  background: currentColor;
  transform: translateY(-50%);
  pointer-events: none;
}

/* Checkout rebuilt as clearly separated steps with balanced delivery fields. */
.checkout-form-card { padding: 26px; background: #fff; }
.checkout-form-section { padding: 0 0 25px; }
.checkout-form-section + .checkout-form-section { padding-top: 25px; border-top: 1px solid #e7f0ec; }
.checkout-section-title { margin-bottom: 18px; display: flex; align-items: flex-start; gap: 12px; }
.checkout-section-title > span {
  width: 36px; height: 36px; flex: 0 0 36px; border-radius: 11px;
  background: var(--accent-faint); color: var(--accent); display: grid; place-items: center;
  font-size: 10px; font-weight: 950;
}
.checkout-section-title h2 { margin: 0 0 4px !important; font-size: 20px; }
.checkout-section-title p { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.7; }
.fulfillment-options { margin: 0 0 14px; }
.fulfillment-options label {
  min-height: 96px; padding: 16px 17px; position: relative;
  border-width: 1px; background: #fff; transition: border-color .2s, background-color .2s, box-shadow .2s, transform .2s;
}
.fulfillment-options label:hover { border-color: rgba(11,128,96,.28); transform: translateY(-1px); }
.fulfillment-options label:has(input:checked) { background: linear-gradient(145deg,#f6fffb,#fff); box-shadow: 0 10px 28px rgba(26,93,68,.07); }
.fulfillment-options label > i { width: 40px; height: 40px; flex: 0 0 40px; border-radius: 12px; background: var(--accent-faint); color: var(--accent); display: grid; place-items: center; }
.fulfillment-options label input { accent-color: var(--accent); }
.fulfillment-options strong { font-size: 12px; }
.fulfillment-options small { margin-top: 4px; display: block; font-size: 9px; }
.pickup-branch-card { margin: 0; min-height: 72px; padding: 14px 16px; border: 1px solid #d7e5de; border-radius: 15px; background: #f9fbfa; display: flex; align-items: center; gap: 12px; }
.pickup-branch-card > i { width: 38px; height: 38px; flex: 0 0 38px; border-radius: 11px; background: #fff; color: var(--accent); display: grid; place-items: center; box-shadow: 0 7px 18px rgba(23,83,61,.07); }
.pickup-branch-card strong,.pickup-branch-card small { display: block; }
.pickup-branch-card strong { font-size: 11px; }
.pickup-branch-card small { margin-top: 3px; color: var(--muted); font-size: 9px; }
.delivery-address-panel { margin-top: 14px; }
.checkout-delivery-fields { grid-template-columns: repeat(2,minmax(0,1fr)); }
.checkout-delivery-fields .field { grid-column: auto !important; }
.notes-section textarea { min-height: 105px; }
.checkout-submit { min-height: 54px; margin-top: 4px; box-shadow: 0 13px 28px rgba(11,128,96,.18); }
@media (max-width: 700px) {
  .checkout-form-card { padding: 17px; }
  .checkout-form-section { padding-bottom: 21px; }
  .checkout-form-section + .checkout-form-section { padding-top: 21px; }
  .checkout-section-title h2 { font-size: 17px; }
  .fulfillment-options { grid-template-columns: 1fr; }
  .fulfillment-options label { min-height: 82px; }
  .checkout-delivery-fields { grid-template-columns: 1fr; }
  .checkout-submit { margin-top: 8px; }
}

@media (max-width: 560px) {
  .page-hero::after { width: 126px !important; height: 126px !important; top: -72px !important; inset-inline-end: 20px !important; border-width: 9px !important; }
  .page-hero::before { width: 25px !important; height: 25px !important; top: 23px !important; inset-inline-end: 47px !important; }
}

/* =========================================================
   MY Habitat catalog foundation — scalable catalog + refined interactions
   ========================================================= */

/* Footer links: no underline; directional arrow moves with the link. */
.footer-links a {
  display: inline-flex !important;
  align-items: center;
  width: fit-content !important;
  max-width: 100%;
  gap: 8px;
  text-decoration: none !important;
  transform: translateX(0) !important;
  transition: transform .28s ease, color .28s ease !important;
}
.footer-links a::after { content: none !important; display: none !important; }
.footer-links a::before {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  color: #fff;
  font-size: 13px;
  line-height: 1;
  transition: transform .28s ease;
}
html[dir="rtl"] .footer-links a::before { content: "←"; }
html[dir="ltr"] .footer-links a::before { content: "→"; }
html[dir="rtl"] .footer-links a:hover { transform: translateX(-6px) !important; }
html[dir="ltr"] .footer-links a:hover { transform: translateX(6px) !important; }
html[dir="rtl"] .footer-links a:hover::before { transform: translateX(-3px); }
html[dir="ltr"] .footer-links a:hover::before { transform: translateX(3px); }

/* Featuaccent title and CTA stay professionally aligned on the same row. */
.featuaccent-section-head {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 20px !important;
}
.featuaccent-section-head > div { min-width: 0; }
.featuaccent-section-head > .button {
  flex: 0 0 auto;
  white-space: nowrap;
  min-height: 46px;
  border-radius: 14px;
  padding-inline: 20px;
  box-shadow: 0 10px 24px rgba(30,108,79,.08);
}

.catalog-pagination,
.admin-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 34px;
}
.catalog-pagination button {
  width: 42px;
  height: 42px;
  border: 1px solid #deece6;
  border-radius: 12px;
  background: #fff;
  color: #172c24;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: .2s ease;
}
.catalog-pagination button:hover:not(:disabled),
.catalog-pagination button.active { background: var(--accent); border-color: var(--accent); color: #fff; transform: translateY(-2px); }
.catalog-pagination button:disabled { opacity: .35; cursor: not-allowed; }
.pagination-gap { padding-inline: 3px; color: var(--muted); }

.product-skeleton { overflow: hidden; pointer-events: none; min-height: 390px; background: #fff; }
.product-skeleton > div { height: 245px; background: linear-gradient(90deg,#ecf5f1 25%,#f5faf7 50%,#ecf5f1 75%); background-size: 200% 100%; animation: habitat-skeleton 1.15s infinite; }
.product-skeleton > span { display: block; height: 14px; margin: 22px 18px 0; border-radius: 20px; background: #eaf3ef; }
.product-skeleton > span:last-child { width: 58%; margin-top: 12px; }
@keyframes habitat-skeleton { to { background-position: -200% 0; } }

.offers-campaigns { display: grid; gap: 52px; }
.offer-campaign { display: grid; gap: 24px; }
.offer-campaign > header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 28px;
  border: 1px solid #deece6;
  border-radius: 22px;
  background: linear-gradient(135deg,#fff,#f6fffb);
  box-shadow: 0 14px 35px rgba(18,65,48,.06);
}
.offer-campaign > header h2 { margin: 6px 0; font-size: clamp(26px,3vw,40px); }
.offer-campaign > header p { margin: 0; color: var(--muted); }
.offer-campaign > header small { color: var(--accent); font-weight: 800; }
.offer-campaign > header > b { flex: 0 0 auto; padding: 10px 14px; border-radius: 999px; background: #fff; color: var(--accent); border: 1px solid #cff0e3; }
.offer-live-dot { display: inline-block; width: 9px; height: 9px; margin-inline-end: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(57,205,166,.38); animation: offer-live-pulse 1.7s infinite; }
@keyframes offer-live-pulse { 70% { box-shadow: 0 0 0 9px rgba(57,205,166,0); } 100% { box-shadow: 0 0 0 0 rgba(57,205,166,0); } }

@media (max-width: 620px) {
  .featuaccent-section-head { gap: 10px !important; margin-bottom: 22px !important; }
  .featuaccent-section-head .eyebrow { font-size: 9px; }
  .featuaccent-section-head h2 { font-size: clamp(23px,7vw,29px) !important; line-height: 1.2; }
  .featuaccent-section-head > .button { min-height: 40px; padding-inline: 13px; border-radius: 12px; font-size: 11px; }
  .offer-campaign > header { display: grid; align-items: start; padding: 20px; }
  .offer-campaign > header > b { justify-self: start; }
  .catalog-pagination button { width: 38px; height: 38px; border-radius: 10px; }
}

/* foundation — bounded offer campaigns */
.offer-campaign-actions { display:flex; align-items:center; justify-content:flex-end; gap:12px; flex-wrap:wrap; }
.offer-campaign-actions .button { min-height:40px; padding:9px 14px; border-radius:12px; }
@media (max-width:640px) {
  .offer-campaign-actions { width:100%; justify-content:space-between; }
  .offer-campaign-actions .button { min-height:38px; font-size:10px; }
}

/* =========================================================
   MY Habitat foundation — offer pricing, tracking and footer arrows
   ========================================================= */

/* Footer links use a real Font Awesome arrowhead only. */
.footer-links a {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  width: fit-content !important;
  max-width: 100%;
  text-decoration: none !important;
  transition: transform .28s ease, color .28s ease !important;
}
.footer-links a::before,
.footer-links a::after { content: none !important; display: none !important; }
.footer-link-arrow {
  flex: 0 0 auto;
  color: #fff;
  font-size: 10px;
  line-height: 1;
  transition: transform .28s ease;
}
html[dir="ltr"] .footer-link-arrow { transform: rotate(180deg); }
html[dir="rtl"] .footer-links a:hover { transform: translateX(-6px) !important; }
html[dir="ltr"] .footer-links a:hover { transform: translateX(6px) !important; }
html[dir="rtl"] .footer-links a:hover .footer-link-arrow { transform: translateX(-3px); }
html[dir="ltr"] .footer-links a:hover .footer-link-arrow { transform: rotate(180deg) translateX(-3px); }

[data-home-offers-section][hidden] { display: none !important; }

/* Checkout success now keeps the order number and tracking action visible. */
.order-success-state { max-width: 720px; margin-inline: auto; padding: clamp(28px,5vw,55px); }
.order-success-state > p { margin-bottom: 12px; }
.success-order-number { display: block; width: fit-content; margin: 0 auto 24px; padding: 12px 18px; border: 1px dashed #9ddccb; border-radius: 13px; background: #f5faf7; color: var(--accent-dark); font-size: clamp(16px,3vw,23px); letter-spacing: .06em; }
.order-success-state > div { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; }

/* Public order tracking — horizontal progress on wide screens and vertical on phones. */
.tracking-page-hero::after { opacity: .88; }
.track-order-section { background: linear-gradient(180deg,#fff,#f5faf7); }
.track-order-form { max-width: 880px; margin: 0 auto 30px; padding: clamp(22px,4vw,38px); border: 1px solid #e0eee8; border-radius: 26px; background: #fff; box-shadow: 0 22px 55px rgba(3,62,46,.08); }
.track-order-form > div small { color: var(--accent); font-weight: 900; letter-spacing: .06em; }
.track-order-form h2 { margin: 6px 0; font-size: clamp(26px,4vw,40px); }
.track-order-form p { margin: 0; color: var(--muted); line-height: 1.8; }
.track-order-form > label { display: grid; grid-template-columns: 44px minmax(0,1fr) auto; align-items: center; gap: 10px; margin-top: 22px; padding: 7px; border: 1px solid #d5e3dc; border-radius: 17px; background: #f9fbfa; }
.track-order-form > label > i { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: #fff; color: var(--accent); }
.track-order-form input { width: 100%; min-width: 0; min-height: 48px; border: 0; outline: 0; background: transparent; font: inherit; font-weight: 800; text-transform: uppercase; }
.track-order-form button { min-height: 48px; border-radius: 13px; }
.tracking-message { min-height: 22px; margin-top: 12px !important; font-size: 12px; font-weight: 800; }
.tracking-message.error { color: #32b484; }
.tracking-message.loading { color: var(--muted); }

.tracking-card { max-width: 1180px; margin: 0 auto; overflow: hidden; border: 1px solid #d5e3dc; border-radius: 28px; background: #fff; box-shadow: 0 24px 65px rgba(19,68,50,.09); }
.tracking-card > header { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 25px 28px; border-bottom: 1px solid #e2ece7; background: linear-gradient(145deg,#fff,#f6fffb); }
.tracking-card > header span { display: grid; gap: 3px; }
.tracking-card > header small { color: var(--muted); }
.tracking-card > header strong { font-size: clamp(17px,2.4vw,24px); color: var(--accent-dark); }
.tracking-card > header > b { padding: 9px 13px; border-radius: 999px; background: #eaf8ef; color: #13743d; }

.tracking-progress { --tracking-progress: 0%; position: relative; display: grid; grid-template-columns: repeat(var(--tracking-steps,6),minmax(0,1fr)); gap: 0; padding: 48px 28px 42px; }
.tracking-progress::before,
.tracking-progress::after { content: ""; position: absolute; top: 68px; inset-inline: calc(28px + var(--tracking-half,8.333%)); height: 5px; border-radius: 999px; }
.tracking-progress::before { background: #e5eeea; }
.tracking-progress::after { width: auto; background: linear-gradient(90deg,#1f6d50,#3bd4ab); transform: scaleX(var(--tracking-scale,0)); transition: transform .55s ease; }
html[dir="rtl"] .tracking-progress::after { transform-origin: right center; }
html[dir="ltr"] .tracking-progress::after { transform-origin: left center; }
.tracking-progress article { position: relative; z-index: 1; display: grid; justify-items: center; gap: 12px; min-width: 0; text-align: center; }
.tracking-progress article > i { display: grid; place-items: center; width: 44px; height: 44px; border: 5px solid #e5eeea; border-radius: 50%; background: #fff; color: #8faa9f; font-style: normal; font-weight: 900; transition: .3s; }
.tracking-progress article > span { display: grid; gap: 5px; padding-inline: 5px; }
.tracking-progress article b { font-size: 11px; line-height: 1.55; }
.tracking-progress article small { color: var(--muted); font-size: 8px; }
.tracking-progress article.is-done > i { border-color: var(--accent); background: var(--accent); color: #fff; }
.tracking-progress article.is-current > i { box-shadow: 0 0 0 8px rgba(56,201,162,.11); animation: tracking-current-pulse 1.8s infinite; }
.tracking-progress article.is-current b { color: var(--accent); }
@keyframes tracking-current-pulse { 70% { box-shadow: 0 0 0 15px rgba(56,201,162,0); } 100% { box-shadow: 0 0 0 8px rgba(56,201,162,0); } }

.tracking-card > footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 18px 28px; border-top: 1px solid #e2ece7; background: #f9fbfa; color: var(--muted); }
.tracking-card > footer span { display: inline-flex; align-items: center; gap: 8px; }
.tracking-card > footer i { color: var(--accent); }
.tracking-cancelled { display: flex; align-items: center; justify-content: center; gap: 15px; min-height: 210px; padding: 30px; }
.tracking-cancelled > i { font-size: 48px; color: #32b484; }
.tracking-cancelled span { display: grid; gap: 5px; }
.tracking-cancelled b { font-size: 22px; }
.tracking-cancelled small { color: var(--muted); }
.tracking-card.is-cancelled > header > b { background: #f4fffa; color: #32b484; }

@media (max-width: 760px) {
  .track-order-form { border-radius: 20px; }
  .track-order-form > label { grid-template-columns: 38px minmax(0,1fr); }
  .track-order-form > label > i { width: 38px; height: 38px; }
  .track-order-form button { grid-column: 1/-1; width: 100%; }
  .tracking-card { border-radius: 21px; }
  .tracking-card > header { align-items: flex-start; flex-direction: column; padding: 20px; }
  .tracking-progress { display: grid; grid-template-columns: 1fr; gap: 0; padding: 25px 20px; }
  .tracking-progress::before,
  .tracking-progress::after { top: 46px; bottom: 46px; inset-inline-start: 40px; inset-inline-end: auto; width: 5px; height: auto; }
  .tracking-progress::after { height: auto; background: linear-gradient(180deg,#1f6d50,#3bd4ab); transform: scaleY(var(--tracking-scale,0)); transform-origin: top center !important; }
  .tracking-progress article { grid-template-columns: 42px 1fr; justify-items: stretch; align-items: center; gap: 12px; min-height: 78px; text-align: start; }
  .tracking-progress article > i { width: 42px; height: 42px; }
  .tracking-progress article > span { padding: 0; }
  .tracking-progress article b { font-size: 12px; }
  .tracking-card > footer { display: grid; padding: 16px 20px; font-size: 10px; }
}


/* =========================================================
   MY Habitat foundation — reliable icons, vertical footer and secure order center
   ========================================================= */

/* Every footer item occupies its own row. */
.footer-links {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  flex-wrap: nowrap !important;
}
.footer-links h3 { width: 100%; }
.footer-links a {
  flex: 0 0 auto !important;
  width: fit-content !important;
  max-width: 100%;
  margin: 0 !important;
  padding-block: 5px !important;
  white-space: normal !important;
}
.footer-links a + a { margin-top: 3px !important; }
html[dir="ltr"] .footer-links { align-items: flex-start !important; }

/* Secure browser-owned order center. */
.track-order-section { min-height: 520px; }
.owned-order-switcher {
  margin: 0 auto 22px;
  padding: 14px 16px;
  border: 1px solid #deeae5;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 36px rgba(20,73,54,.06);
}
.owned-order-switcher > span { display: block; margin-bottom: 9px; color: var(--muted); font-size: 11px; font-weight: 800; }
.owned-order-switcher > div { display: flex; flex-wrap: wrap; gap: 8px; }
.owned-order-switcher button { min-height: 36px; padding: 7px 12px; border: 1px solid #dae7e2; border-radius: 10px; background: #f5faf7; color: var(--accent-dark); font: 800 11px/1.2 Cairo,sans-serif; cursor: pointer; transition: .2s ease; }
.owned-order-switcher button:hover,.owned-order-switcher button.active { border-color: var(--accent); background: var(--accent); color: #fff; }
.tracking-browser-empty { max-width: 720px; margin: 0 auto; padding: clamp(30px,6vw,58px); border: 1px solid #deeae5; border-radius: 28px; background: #fff; text-align: center; box-shadow: 0 24px 65px rgba(20,73,54,.08); }
.tracking-browser-empty > i { width: 68px; height: 68px; margin: 0 auto 15px; border-radius: 22px; background: #f4fffa; color: var(--accent); display: grid; place-items: center; font-size: 27px; }
.tracking-browser-empty h2 { margin: 0; font-size: clamp(22px,4vw,34px); }
.tracking-browser-empty p { max-width: 570px; margin: 12px auto 22px; color: var(--muted); line-height: 1.9; }
.tracking-message { max-width: 760px; margin: 0 auto 16px; text-align: center; }
.tracking-message:empty { display: none; }
.tracking-card > header { align-items: center; }
.tracking-header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 10px; flex-wrap: wrap; }
.tracking-header-actions > button { min-height: 38px; padding: 7px 12px; border: 1px solid #d7e5df; border-radius: 11px; background: #fff; color: var(--accent-dark); display: inline-flex; align-items: center; gap: 7px; font: 800 10px/1 Cairo,sans-serif; cursor: pointer; transition: .2s ease; }
.tracking-header-actions > button:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-1px); }
.tracking-customer-note { margin: 14px 0 0; padding: 11px 13px; border: 1px solid #bde4d2; border-radius: 12px; background: #effaf5; color: #116d4d; display: flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 800; }
.tracking-customer-actions { margin-top: 18px; display: flex; justify-content: flex-end; gap: 10px; flex-wrap: wrap; }
.tracking-customer-actions .button { min-height: 42px; gap: 8px; }
.tracking-cancel-button { border: 1px solid #cde6df; background: #f6fffb; color: #2ea378; }
.tracking-cancel-button:hover { border-color: #2ea378; background: #2ea378; color: #fff; }
.tracking-details-panel,.tracking-edit-panel,.tracking-cancel-panel { margin-top: 18px; border: 1px solid #deeae5; border-radius: 20px; background: #fff; overflow: hidden; }
.tracking-details-panel[hidden],.tracking-edit-panel[hidden],.tracking-cancel-panel[hidden] { display: none !important; }
.tracking-details-head,.tracking-edit-head { padding: 14px 16px; border-bottom: 1px solid #e7f0ec; background: linear-gradient(90deg,#f6fffb,#fff); display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.tracking-details-head small,.tracking-edit-head small { color: var(--accent); font-size: 9px; font-weight: 900; letter-spacing: .05em; }
.tracking-details-head h3,.tracking-edit-head h3 { margin: 2px 0 0; font-size: 17px; }
.tracking-details-head button,.tracking-edit-head button { width: 36px; height: 36px; border: 1px solid #dce7e3; border-radius: 10px; background: #fff; color: var(--accent); display: grid; place-items: center; cursor: pointer; }
.tracking-items-list,.tracking-edit-items { padding: 14px; display: grid; gap: 9px; }
.tracking-items-list article { min-height: 72px; padding: 9px; border: 1px solid #e8f0ec; border-radius: 14px; background: #f9fbfa; display: grid; grid-template-columns: 56px minmax(0,1fr) auto; align-items: center; gap: 11px; }
.tracking-items-list img { width: 56px; height: 56px; border-radius: 11px; object-fit: cover; background: #ecf5f1; }
.tracking-items-list article > span { min-width: 0; }
.tracking-items-list b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tracking-items-list small,.tracking-items-list em { display: block; margin-top: 3px; color: var(--muted); font-size: 10px; font-style: normal; }
.tracking-items-list small i { width: 11px; height: 11px; margin-inline-end: 5px; border: 1px solid rgba(0,0,0,.1); border-radius: 50%; background: var(--variant-accent); display: inline-block; vertical-align: middle; }
.tracking-items-list article > strong { color: var(--accent-dark); white-space: nowrap; }
.tracking-price-details { margin: 0 14px 14px; padding: 13px 15px; border-radius: 15px; background: #f0f9f5; display: grid; gap: 9px; }
.tracking-price-details > div { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.tracking-price-details span { color: var(--muted); }
.tracking-price-details .has-coupon { color: #15714f; }
.tracking-price-details .tracking-grand-total { padding-top: 10px; border-top: 1px solid #dae6e1; }
.tracking-price-details .tracking-grand-total strong { color: var(--accent); font-size: 19px; }
.tracking-order-time { padding: 0 16px 16px; color: var(--muted); display: flex; align-items: center; gap: 8px; font-size: 10px; }
.tracking-edit-items article { min-height: 78px; padding: 9px; border: 1px solid #e8f0ec; border-radius: 14px; background: #f9fbfa; display: grid; grid-template-columns: 55px minmax(0,1fr) auto 36px; align-items: center; gap: 10px; transition: opacity .2s,background .2s; }
.tracking-edit-items article.is-removed { opacity: .52; background: #eaf3ef; }
.tracking-edit-items img { width: 55px; height: 55px; border-radius: 11px; object-fit: cover; }
.tracking-edit-items span { min-width: 0; }
.tracking-edit-items span b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tracking-edit-items span small,.tracking-edit-items span em { display: block; color: var(--muted); font-size: 9px; font-style: normal; }
.tracking-edit-qty { display: grid; grid-template-columns: 30px 45px 30px; align-items: center; }
.tracking-edit-qty button,.tracking-edit-qty input { height: 34px; border: 1px solid #d3dfda; background: #fff; text-align: center; font: 800 11px Cairo,sans-serif; }
.tracking-edit-qty button:first-child { border-radius: 0 9px 9px 0; }
.tracking-edit-qty button:last-child { border-radius: 9px 0 0 9px; }
html[dir="ltr"] .tracking-edit-qty button:first-child { border-radius: 9px 0 0 9px; }
html[dir="ltr"] .tracking-edit-qty button:last-child { border-radius: 0 9px 9px 0; }
.tracking-edit-qty input { width: 45px; border-inline: 0; outline: 0; }
.tracking-edit-qty input::-webkit-inner-spin-button { appearance: none; }
.tracking-edit-remove { width: 36px; height: 36px; border: 1px solid #c3e8d9; border-radius: 10px; background: #f5fffb; color: #30ad7f; display: grid; place-items: center; cursor: pointer; }
.tracking-coupon-recheck { margin: 0 14px 10px; padding: 12px; border: 1px solid #ead7ad; border-radius: 13px; background: #fffaf0; color: #79570d; display: flex; align-items: flex-start; gap: 10px; }
.tracking-coupon-recheck > i { margin-top: 3px; }
.tracking-coupon-recheck b,.tracking-coupon-recheck small { display: block; }
.tracking-coupon-recheck small { margin-top: 3px; line-height: 1.7; }
.tracking-edit-live-message { margin: 0 14px 12px; padding: 10px 12px; border-radius: 11px; font-size: 10px; font-weight: 800; }
.tracking-edit-live-message.warning { border: 1px solid #d1efe7; background: #f4fffa; color: #2c9e74; }
.tracking-edit-live-message.success { border: 1px solid #bbe1d1; background: #eff9f5; color: #146e50; }
.tracking-edit-actions { padding: 0 14px 14px; display: flex; justify-content: flex-end; gap: 9px; }
.tracking-cancel-panel { padding: 16px; border-color: #cde7e0; background: #f6fffb; display: grid; grid-template-columns: 42px minmax(0,1fr) auto; align-items: center; gap: 12px; }
.tracking-cancel-panel > i { width: 42px; height: 42px; border-radius: 12px; background: #fff; color: #30ac7f; display: grid; place-items: center; }
.tracking-cancel-panel span b,.tracking-cancel-panel span small { display: block; }
.tracking-cancel-panel span small { margin-top: 3px; color: var(--muted); }
.tracking-cancel-panel > div { display: flex; gap: 8px; }
.tracking-cancel-confirm { border: 1px solid #2ea378; background: #2ea378; color: #fff; }

@media (max-width: 720px) {
  .tracking-card > header { align-items: flex-start; flex-direction: column; }
  .tracking-header-actions { width: 100%; justify-content: space-between; }
  .tracking-customer-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .tracking-customer-actions .button { width: 100%; justify-content: center; }
  .tracking-items-list article { grid-template-columns: 48px minmax(0,1fr); }
  .tracking-items-list img { width: 48px; height: 48px; }
  .tracking-items-list article > strong { grid-column: 2; }
  .tracking-edit-items article { grid-template-columns: 48px minmax(0,1fr) 34px; grid-template-areas: "image name remove" "image qty qty"; }
  .tracking-edit-items img { grid-area: image; width: 48px; height: 48px; }
  .tracking-edit-items span { grid-area: name; }
  .tracking-edit-qty { grid-area: qty; justify-self: start; margin-top: 5px; }
  .tracking-edit-remove { grid-area: remove; width: 34px; height: 34px; }
  .tracking-edit-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .tracking-edit-actions .button { width: 100%; justify-content: center; }
  .tracking-cancel-panel { grid-template-columns: 40px 1fr; }
  .tracking-cancel-panel > div { grid-column: 1/-1; display: grid; grid-template-columns: 1fr 1fr; }
  .tracking-cancel-panel .button { width: 100%; justify-content: center; }
}
@media (max-width: 420px) {
  .owned-order-switcher > div { display: grid; grid-template-columns: 1fr; }
  .owned-order-switcher button { width: 100%; }
  .tracking-customer-actions,.tracking-edit-actions,.tracking-cancel-panel > div { grid-template-columns: 1fr; }
}

/* =========================================================
   MY Habitat foundation — faster home category imagery
   ========================================================= */
.category-card {
  background:
    linear-gradient(135deg, rgba(11,128,96,.08), rgba(26,92,68,.025)),
    #eef7f3;
  overflow: hidden;
}
.category-card > img {
  opacity: .01;
  transform: scale(1.015);
  transition: opacity .28s ease, transform .55s ease;
  will-change: opacity, transform;
}
.category-card > img.is-loaded {
  opacity: 1;
  transform: scale(1);
}
.category-card:hover > img.is-loaded { transform: scale(1.035); }
@media (prefers-accentuced-motion: accentuce) {
  .category-card > img,
  .category-card:hover > img.is-loaded { transition: none; transform: none; }
}

/* =========================================================
   MY Habitat foundation — cart confirmation, tracking and checkout
   ========================================================= */
.site-dialog-backdrop {
  position: fixed; inset: 0; z-index: 10050; padding: 22px;
  display: grid; place-items: center; background: rgba(8,30,22, .52);
  backdrop-filter: blur(8px);
}
.site-dialog-backdrop[hidden] { display: none !important; }
body.site-dialog-open { overflow: hidden; }
.site-dialog {
  width: min(480px, 100%); padding: 30px; border: 1px solid rgba(11,128,96,.12);
  border-radius: 26px; background: #fff; text-align: center;
  box-shadow: 0 28px 80px rgba(13,45,33,.22); animation: siteDialogIn .22s ease both;
}
.site-dialog > i { width: 58px; height: 58px; margin: 0 auto 16px; border-radius: 18px; display: grid; place-items: center; background: #f4fffa; color: var(--accent); font-size: 23px; }
.site-dialog h3 { margin: 0 0 10px; font-size: 21px; color: var(--ink); }
.site-dialog p { margin: 0; color: #5f736b; font-size: 14px; line-height: 1.9; }
.site-dialog > div { margin-top: 24px; display: flex; justify-content: center; gap: 10px; }
.site-dialog .button { min-width: 140px; }
@keyframes siteDialogIn { from { opacity: 0; transform: translateY(12px) scale(.97); } to { opacity: 1; transform: none; } }

/* Product card metadata is intentionally easier to read. */
.product-card .product-category { font-size: 12px !important; font-weight: 800; line-height: 1.6; }
.product-card .product-brand { font-size: 12px !important; font-weight: 700; line-height: 1.6; color: #5f736b; }

/* Catalog filters and every option inside them use a readable product-size font. */
.filters .filter-group > label,
.filters .custom-select-trigger,
.filters .custom-select-menu button,
.filters input,
.filters select,
.filters .filter-check span { font-size: 13px !important; }
.filters .custom-select-trigger { min-height: 48px; }
.filters .custom-select-menu button { min-height: 44px; line-height: 1.55; }

.checkout-phone-control {
  min-height: 50px; display: flex; align-items: center; gap: 11px; padding-inline: 15px;
  border: 1px solid #dce8e2; border-radius: 15px; background: #fff;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.checkout-phone-control:focus-within { border-color: rgba(11,128,96,.38); box-shadow: 0 0 0 4px rgba(11,128,96,.06); }
.checkout-phone-control > i { color: #19a95b; font-size: 20px; }
.checkout-phone-control input { min-width: 0; width: 100%; border: 0 !important; outline: 0 !important; box-shadow: none !important; background: transparent !important; padding: 0 !important; }
.checkout-whatsapp-field > small { display: block; margin-top: 8px; color: #6f827a; font-size: 11px; line-height: 1.75; }

.track-order-section { padding-top: 38px; padding-bottom: 80px; }
.track-order-section > .container { max-width: 1080px; }
.tracking-card { padding: 28px; border-radius: 28px; }
.tracking-card > header { gap: 24px; padding-bottom: 22px; margin-bottom: 24px; }
.tracking-card > header > span { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.tracking-card > header strong { font-size: 19px; }
.tracking-header-actions { margin-inline-start: auto; }
.tracking-progress { margin-block: 18px 24px; padding: 28px 12px 22px; }
.tracking-progress article span b { line-height: 1.65; }
.tracking-card > footer { margin-top: 22px; padding-top: 20px; gap: 14px 28px; }
.tracking-customer-actions { margin-top: 22px; padding-top: 22px; border-top: 1px solid #e6efea; display: flex; flex-wrap: wrap; gap: 10px; }
.tracking-customer-actions .button { min-height: 46px; }
.tracking-details-button { background: #202b27; color: #fff; }
.tracking-details-button:hover { background: #0d1311; color: #fff; }
.tracking-details-panel,
.tracking-edit-panel,
.tracking-cancel-panel { margin-top: 24px; }

@media (max-width: 680px) {
  .site-dialog { padding: 25px 18px; border-radius: 22px; }
  .site-dialog > div { flex-direction: column-reverse; }
  .site-dialog .button { width: 100%; }
  .product-card .product-category, .product-card .product-brand { font-size: 11px !important; }
  .tracking-card { padding: 18px 14px; border-radius: 22px; }
  .tracking-card > header { align-items: flex-start; margin-bottom: 18px; padding-bottom: 18px; }
  .tracking-header-actions { width: 100%; margin-inline-start: 0; }
  .tracking-progress { padding-inline: 2px; }
  .tracking-customer-actions { display: grid; grid-template-columns: 1fr; }
  .tracking-customer-actions .button { width: 100%; }
}


/* =========================================================
   MY Habitat foundation — catalog, tracking, sticky navigation
   ========================================================= */

/* The accent announcement scrolls normally; the white header and its navigation stay visible. */
[data-site-header] { display: contents; }
.announcement { position: relative; z-index: 120; }
.site-header {
  position: sticky !important;
  top: 0 !important;
  z-index: 260 !important;
  background: rgba(255,255,255,.985) !important;
  box-shadow: 0 10px 32px rgba(18,66,49,.09) !important;
}

/* Product names are more prominent without making the card unnecessarily tall. */
.product-info h3 {
  min-height: 52px !important;
  margin: 4px 0 2px !important;
  font-size: 16.5px !important;
  line-height: 1.48 !important;
  font-weight: 900 !important;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.product-info h3 a { font: inherit; }

/* Desktop filters remain visible inside the viewport and stop before the footer. */
@media (min-width: 821px) {
  .catalog-layout > .filters {
    position: sticky !important;
    top: clamp(155px, calc(50vh - 250px), 220px) !important;
    max-height: calc(100vh - 180px);
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: rgba(34,121,89,.28) transparent;
  }
  .catalog-layout > .filters::-webkit-scrollbar { width: 5px; }
  .catalog-layout > .filters::-webkit-scrollbar-thumb { border-radius: 20px; background: rgba(34,121,89,.28); }
}

/* Rebuilt tracking surface with an accurately centeaccent progress line. */
.track-order-section {
  padding: 46px 0 92px !important;
  background: linear-gradient(180deg,#fff 0%,#f9fbfa 58%,#fff 100%) !important;
}
.track-order-section > .container { max-width: 1120px !important; }
.owned-order-switcher {
  margin-bottom: 26px !important;
  padding: 17px 19px !important;
  border-radius: 20px !important;
}
.tracking-card {
  padding: 0 !important;
  overflow: hidden;
  border-radius: 30px !important;
  border-color: #dde9e4 !important;
  box-shadow: 0 28px 75px rgba(18,65,48,.1) !important;
}
.tracking-card > header {
  margin: 0 !important;
  padding: 25px 30px !important;
  border-bottom: 1px solid #e3efea !important;
  background: linear-gradient(135deg,#fff 0%,#f6fffb 100%) !important;
}
.tracking-card > header > span { gap: 10px !important; }
.tracking-card > header small { font-size: 11px; font-weight: 800; }
.tracking-card > header strong { font-size: clamp(19px,2.4vw,25px) !important; }
.tracking-header-actions > b {
  padding: 9px 14px;
  border: 1px solid #bfe4d0;
  border-radius: 999px;
  background: #effaf5;
  color: #126d48;
  font-size: 11px;
}
.tracking-progress {
  margin: 24px 28px 10px !important;
  padding: 34px 12px 30px !important;
  border: 1px solid #e6f0ec;
  border-radius: 23px;
  background: linear-gradient(180deg,#f9fbfa,#fff);
}
.tracking-progress::before,
.tracking-progress::after {
  top: 53px !important;
  height: 4px !important;
  inset-inline: calc(12px + var(--tracking-half,8.333%)) !important;
}
.tracking-progress article { gap: 13px !important; }
.tracking-progress article > i {
  width: 42px !important;
  height: 42px !important;
  border-width: 4px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  line-height: 1 !important;
  font-size: 12px !important;
  font-variant-numeric: tabular-nums;
}
.tracking-progress article > span { min-height: 58px; align-content: start; }
.tracking-progress article b { font-size: 11px !important; line-height: 1.65 !important; }
.tracking-progress article small { font-size: 8.5px !important; line-height: 1.5; }
.tracking-card > footer {
  margin: 24px 28px 0 !important;
  padding: 20px 0 24px !important;
  border-top: 1px solid #e6f0ec !important;
  background: transparent !important;
}
.tracking-customer-actions {
  margin: 0 28px 28px !important;
  padding-top: 20px !important;
}
.tracking-details-panel,
.tracking-edit-panel,
.tracking-cancel-panel { margin-inline: 28px !important; margin-bottom: 28px; }

/* Compact two-column mobile footer. */
@media (max-width: 560px) {
  .footer-top.container {
    margin-top: 14px !important;
    padding: 18px 15px !important;
    border-radius: 19px !important;
  }
  .footer-top h2 { font-size: 22px !important; line-height: 1.35 !important; }
  .footer-shop-button { min-height: 44px !important; margin-top: 13px !important; }
  .footer-grid.container { padding: 14px 0 18px !important; gap: 10px !important; }
  .footer-brand-card,
  .footer-contact-card,
  .footer-links-pair { padding: 14px !important; border-radius: 16px !important; }
  .footer-brand-card .brand-logo { width: 50px !important; height: 50px !important; flex-basis: 50px !important; }
  .footer-brand-card p { margin: 10px 0 !important; font-size: 10.5px !important; line-height: 1.7 !important; }
  .footer-links-pair {
    display: grid !important;
    grid-template-columns: repeat(2,minmax(0,1fr)) !important;
    gap: 10px !important;
  }
  .footer-links h3,
  .footer-contact-card h3 { margin-bottom: 8px !important; font-size: 13px !important; }
  .footer-links a {
    min-height: 21px !important;
    padding-block: 1px !important;
    font-size: 9.5px !important;
    line-height: 1.45 !important;
  }
  .footer-links a + a { margin-top: 1px !important; }
  .footer-contact-card a { margin-top: 8px !important; font-size: 10px !important; }
  .footer-bottom.container { padding: 14px 10px 72px !important; }
}

/* Filter button and sorting control share one balanced row on phones. */
@media (max-width: 820px) {
  .catalog-main {
    display: grid !important;
    grid-template-columns: repeat(2,minmax(0,1fr));
    align-items: center;
    gap: 11px 10px;
  }
  .mobile-filter-bar {
    grid-column: 1;
    grid-row: 1;
    width: 100%;
    margin: 0 !important;
    display: flex !important;
  }
  .mobile-filter-toggle { width: 100%; min-width: 0 !important; min-height: 44px; }
  .catalog-main-head { display: contents !important; }
  .catalog-main-head > div:not(.custom-select) {
    grid-column: 1 / -1;
    grid-row: 2;
    padding: 11px 13px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
  }
  .catalog-main-head > .custom-select {
    grid-column: 2;
    grid-row: 1;
    width: 100% !important;
    margin: 0 !important;
  }
  .catalog-main-head > .custom-select .custom-select-trigger { min-height: 44px; border-radius: 13px; }
  .products-grid,
  .catalog-pagination { grid-column: 1 / -1; }
}

/* Vertical tracking remains aligned on tablets and phones. */
@media (max-width: 760px) {
  .tracking-progress {
    display: grid !important;
    grid-template-columns: 1fr !important;
    margin: 18px 14px 8px !important;
    padding: 20px 16px !important;
  }
  .tracking-progress::before,
  .tracking-progress::after {
    top: 40px !important;
    bottom: 40px !important;
    inset-inline-start: 35px !important;
    inset-inline-end: auto !important;
    width: 4px !important;
    height: auto !important;
  }
  .tracking-progress::after {
    transform: scaleY(var(--tracking-scale,0)) !important;
    transform-origin: top center !important;
    background: linear-gradient(180deg,#1f6d50,#3bd4ab) !important;
  }
  .tracking-progress article {
    grid-template-columns: 40px minmax(0,1fr) !important;
    justify-items: stretch !important;
    align-items: center !important;
    min-height: 72px !important;
    text-align: start !important;
  }
  .tracking-progress article > i { width: 40px !important; height: 40px !important; }
  .tracking-progress article > span { min-height: 0 !important; padding: 0 !important; }
}

/* Shorter mobile product cards while retaining the larger product title. */
@media (max-width: 560px) {
  .product-card { border-radius: 17px !important; }
  .product-media { aspect-ratio: 1 / .72 !important; }
  .product-info { padding: 8px 9px 10px !important; }
  .product-info h3 {
    min-height: 43px !important;
    margin: 2px 0 1px !important;
    font-size: 15px !important;
    line-height: 1.42 !important;
  }
  .product-card .product-category,
  .product-card .product-brand { font-size: 10px !important; line-height: 1.4 !important; }
  .price-row { margin-top: 5px !important; }
  .price-row strong { font-size: 14px !important; }
  .add-cart-btn { min-height: 34px !important; margin-top: 6px !important; padding: 6px 8px !important; }
  .card-tools button { width: 34px !important; height: 34px !important; }

  .track-order-section { padding: 28px 0 64px !important; }
  .tracking-card { border-radius: 22px !important; }
  .tracking-card > header { padding: 18px 16px !important; }
  .tracking-progress {
    margin: 16px 12px 8px !important;
    padding: 18px 14px !important;
    border-radius: 18px;
  }
  .tracking-progress::before,
  .tracking-progress::after {
    top: 38px !important;
    bottom: 38px !important;
    inset-inline-start: 33px !important;
    inset-inline-end: auto !important;
    width: 4px !important;
    height: auto !important;
  }
  .tracking-progress article {
    grid-template-columns: 40px minmax(0,1fr) !important;
    min-height: 70px !important;
    gap: 12px !important;
  }
  .tracking-progress article > i { width: 40px !important; height: 40px !important; }
  .tracking-progress article > span { min-height: 0; }
  .tracking-progress article b { font-size: 12px !important; }
  .tracking-card > footer { margin: 16px 14px 0 !important; padding: 16px 0 18px !important; }
  .tracking-customer-actions { margin: 0 14px 18px !important; padding-top: 16px !important; }
  .tracking-details-panel,
  .tracking-edit-panel,
  .tracking-cancel-panel { margin-inline: 12px !important; margin-bottom: 18px; }
}

/* =========================================================
   MY Habitat foundation — distinct navigation and focused UI polish
   ========================================================= */

/* The old announcement strip has been removed. The main navbar now carries the brand color. */
.announcement { display: none !important; }
.site-header {
  background: linear-gradient(108deg,#1f6f52 0%,#2fa97c 48%,#159d91 100%) !important;
  border-bottom: 0 !important;
  box-shadow: 0 12px 34px rgba(20,72,53,.16) !important;
  backdrop-filter: none !important;
}
.header-main { position: relative; z-index: 2; }
.header-main .brand strong,
.header-main .brand small { color: #fff !important; }
.header-main .brand strong { text-shadow: 0 1px 14px rgba(12,44,32,.18); }
.header-main .brand small {
  margin-top: 5px;
  font-size: 10px !important;
  line-height: 1.35;
  font-weight: 800;
  letter-spacing: .01em;
  opacity: .9;
}
.header-main .brand-logo { border-color: rgba(255,255,255,.5); box-shadow: 0 10px 28px rgba(11,41,30,.22); }
.header-main .header-search,
.mobile-search .header-search { border-color: rgba(255,255,255,.45) !important; background: #fff !important; box-shadow: 0 9px 28px rgba(15,52,38,.12); }
.header-main .header-search:focus-within,
.mobile-search .header-search:focus-within { border-color: #fff !important; box-shadow: 0 0 0 3px rgba(255,255,255,.2),0 12px 30px rgba(15,52,38,.17) !important; }
.header-actions .icon-link,
.header-actions .lang-toggle,
.header-main .mobile-menu-btn { border-color: rgba(255,255,255,.45); background: rgba(255,255,255,.96); }
.header-actions .icon-link:hover,
.header-actions .lang-toggle:hover,
.header-main .mobile-menu-btn:hover { border-color: #fff; background: #fff; transform: translateY(-2px); }
.mobile-search { background: transparent; }
.main-nav { border-top: 0 !important; border-bottom: 1px solid var(--line); background: #fff !important; box-shadow: 0 8px 24px rgba(17,61,45,.06); }

/* Shorter product cards with a tighter title-to-brand rhythm. */
.product-media { aspect-ratio: 1 / .78 !important; }
.product-info { padding: 11px 14px 13px !important; }
.product-category { display: block; margin-bottom: 1px; line-height: 1.35; }
.product-info h3 {
  min-height: 45px !important;
  margin: 1px 0 0 !important;
  line-height: 1.38 !important;
}
.product-brand { display: block; margin-top: -1px !important; line-height: 1.35; }
.price-row { margin-top: 6px !important; }
.add-cart-btn { min-height: 37px !important; margin-top: 6px !important; }

/* Cleaner limited-offer banner with comfortable line spacing. */
.offer-banner {
  min-height: 390px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 34px;
  background:
    radial-gradient(circle at 82% 20%,rgba(255,255,255,.18) 0 2px,transparent 3px),
    linear-gradient(105deg,rgba(3,52,39,.98),rgba(8,116,87,.94) 55%,rgba(21,157,145,.88)),
    url('/assets/images/habitat/sections/hotel-projects.webp') center/cover;
  box-shadow: 0 30px 75px rgba(22,79,58,.22);
}
.offer-banner::before {
  content: "";
  position: absolute;
  width: 240px;
  height: 240px;
  inset-inline-end: -72px;
  top: -82px;
  border: 38px solid rgba(255,255,255,.07);
  border-radius: 50%;
}
.offer-banner::after {
  content: "";
  width: 145px;
  height: 145px;
  inset-inline-end: 8%;
  bottom: -62px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 50%;
  background: rgba(255,255,255,.035);
}
.offer-banner > div {
  max-width: 620px;
  margin: 36px;
  padding: 38px 42px !important;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 25px;
  background: linear-gradient(145deg,rgba(16,58,43,.5),rgba(33,117,86,.22));
  box-shadow: 0 20px 55px rgba(10,35,26,.18);
  backdrop-filter: blur(5px);
}
.offer-banner h2 { margin: 13px 0 17px !important; line-height: 1.48 !important; letter-spacing: -.025em; }
.offer-banner p { margin: 0; line-height: 2 !important; }
.offer-banner .button { margin-top: 23px !important; }

/* Complaint/suggestion choice. */
.contact-form-heading { margin-bottom: 18px; }
.contact-form-heading small { color: var(--accent); font-size: 10px; font-weight: 900; }
.contact-form-heading h2 { margin: 3px 0 0; line-height: 1.45; }
.message-type-picker { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; margin-bottom: 21px; }
.message-type-picker label { cursor: pointer; }
.message-type-picker input { position: absolute; opacity: 0; pointer-events: none; }
.message-type-picker label > span {
  min-height: 112px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: #fff;
  display: grid;
  grid-template-columns: 38px 1fr;
  align-items: center;
  column-gap: 11px;
  transition: .22s ease;
}
.message-type-picker label > span > i { grid-row: 1 / 3; width: 38px; height: 38px; border-radius: 12px; background: var(--surface-soft); color: var(--accent); display: grid; place-items: center; }
.message-type-picker b { font-size: 13px; }
.message-type-picker small { color: var(--muted); font-size: 9px; line-height: 1.6; }
.message-type-picker input:checked + span { border-color: rgba(21,157,145,.48); background: #f5faf7; box-shadow: 0 0 0 3px rgba(21,157,145,.07); }
.message-type-picker input:checked + span > i { background: var(--accent); color: #fff; }
[data-complaint-field].is-optional label::after { content: " — اختياري"; color: var(--muted); font-size: .82em; font-weight: 600; }
[dir="ltr"] [data-complaint-field].is-optional label::after { content: " — optional"; }

@media (max-width: 820px) {
  .site-header { background: linear-gradient(112deg,#227858,#32b182 62%,#159d91) !important; }
  .mobile-search { padding-top: 1px; }
  .header-main .brand small { font-size: 8px !important; max-width: 120px !important; }
  .offer-banner { min-height: 350px; border-radius: 25px; }
  .offer-banner > div { margin: 18px; padding: 28px 24px !important; }
}

@media (max-width: 560px) {
  .header-main .brand small { display: block !important; max-width: 100px !important; font-size: 7.5px !important; }
  .product-media { aspect-ratio: 1 / .66 !important; }
  .product-info { padding: 7px 9px 9px !important; }
  .product-info h3 { min-height: 39px !important; margin: 0 !important; line-height: 1.34 !important; }
  .product-brand { margin-top: -2px !important; }
  .price-row { min-height: 28px; margin-top: 4px !important; }
  .add-cart-btn { min-height: 33px !important; margin-top: 4px !important; }
  .message-type-picker { grid-template-columns: 1fr; }
  .message-type-picker label > span { min-height: 84px; }
  .offer-banner { min-height: 330px; }
  .offer-banner > div { margin: 14px; padding: 24px 19px !important; border-radius: 20px; }
  .offer-banner h2 { font-size: 31px; line-height: 1.5 !important; }
}

/* =========================================================
   MY Habitat foundation — desktop filter height correction
   ========================================================= */
@media (min-width: 821px) {
  .catalog-layout > .filters {
    position: sticky !important;
    top: clamp(150px, 19vh, 205px) !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
    overscroll-behavior: auto !important;
    scrollbar-width: none !important;
  }
  .catalog-layout > .filters::-webkit-scrollbar { display: none !important; width: 0 !important; height: 0 !important; }
}


/* =========================================================
   MY Habitat foundation — automatic SKU, checkout alignment and catalog polish
   ========================================================= */

/* Keep the footer CTA white; only lift it gently on hover. */
.footer-shop-button,
.footer-shop-button:hover,
.footer-shop-button:focus-visible {
  background: #fff !important;
  color: var(--accent-dark) !important;
}
.footer-shop-button:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 15px 30px rgba(0,0,0,.2) !important;
}
html[dir="rtl"] .footer-shop-button .hb-icon { transform: none; }
html[dir="ltr"] .footer-shop-button .hb-icon { transform: rotate(180deg); }

/* Checkout products keep the name directly beside the image in both directions. */
.checkout-product-row {
  padding: 11px 0;
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid var(--line);
}
.checkout-product-main {
  min-width: 0;
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  gap: 10px;
}
.checkout-product-main > span { min-width: 0; flex: 1 1 auto; text-align: start; }
.checkout-product-main b { margin: 0; line-height: 1.55; }
.checkout-product-row > strong { flex: 0 0 auto; white-space: nowrap; }

/* On desktop the no-results panel follows the real filter-card height. */
@media (min-width: 821px) {
  .page-products .products-grid > .empty-state {
    box-sizing: border-box;
    align-self: start;
    height: var(--catalog-empty-height, 480px) !important;
    min-height: var(--catalog-empty-height, 480px) !important;
    max-height: var(--catalog-empty-height, 480px) !important;
  }
}

@media (max-width: 560px) {
  .checkout-product-main { gap: 8px; }
  .checkout-products img { width: 50px; height: 50px; flex: 0 0 50px; }
  .checkout-product-row { gap: 9px; }
}


/* =========================================================
   MY Habitat foundation — exact catalog empty-state alignment
   ========================================================= */
@media (min-width: 821px) {
  .page-products .products-grid:has(> .empty-state) {
    min-height: 0 !important;
    align-content: start;
  }
  .page-products .products-grid > .empty-state {
    width: 100%;
    margin: 0 !important;
    padding-block: 32px !important;
    overflow: hidden;
  }
}

/* =========================================================
   MY Habitat foundation — logical navbar gradient and footer copy
   ========================================================= */
html[dir="rtl"] .site-header {
  background: linear-gradient(to left,#38c9a2 0%,#30aa7d 50%,#1f6f52 100%) !important;
}
html[dir="ltr"] .site-header {
  background: linear-gradient(to right,#38c9a2 0%,#30aa7d 50%,#1f6f52 100%) !important;
}
.footer-brand-card .brand small { max-width: 220px; color: #d4ffee !important; font-size: 10px !important; line-height: 1.6; font-weight: 800; }
.footer-top > div { display: grid; align-content: center; }


/* =========================================================
   MY Habitat foundation — mobile drawer layering & deterrence
   ========================================================= */
@media (max-width: 820px) {
  /* The drawer and its overlay must always sit above the sticky navbar. */
  .mobile-overlay { z-index: 10000 !important; }
  .mobile-panel {
    z-index: 10010 !important;
    isolation: isolate;
    box-shadow: -26px 0 70px rgba(9,32,24, .28);
  }
  [dir="ltr"] .mobile-panel { box-shadow: 26px 0 70px rgba(9,32,24, .28); }
  body.menu-open .site-header { pointer-events: none; }
  body.menu-open .mobile-panel,
  body.menu-open .mobile-overlay { pointer-events: auto; }
}

/* Casual image-copy deterrence only; it is not a security boundary. */
body:not([data-admin-dashboard]) img {
  -webkit-user-drag: none;
  user-select: none;
}

/* =========================================================
   MY Habitat foundation — offer visibility, footer motion,
   desktop utility navigation and national delivery notice
   ========================================================= */
.offer-banner {
  background:
    radial-gradient(circle at 82% 20%,rgba(255,255,255,.18) 0 2px,transparent 3px),
    linear-gradient(105deg,rgba(3,52,39,.88),rgba(8,116,87,.72) 55%,rgba(21,157,145,.54)),
    url('/assets/images/habitat/sections/hotel-projects.webp') center/cover !important;
}
.offer-banner > div { background: linear-gradient(145deg,rgba(16,58,43,.62),rgba(33,117,86,.31)); }

.mega-simple {
  min-height: 52px;
  padding-inline: 7px;
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
  transition: color .2s ease, transform .2s ease;
}
.mega-simple:hover { color: var(--accent); transform: translateY(-1px); }

.footer-shop-button .hb-icon { transition: transform .24s ease; }
html[dir="rtl"] .footer-shop-button:hover .hb-icon { transform: translateX(-6px) !important; }
html[dir="ltr"] .footer-shop-button:hover .hb-icon { transform: rotate(180deg) translateX(-6px) !important; }
.footer-shipping-note {
  width: fit-content;
  max-width: 100%;
  margin: 13px 0 0 !important;
  padding: 10px 14px;
  border: 1px solid rgba(255,255,255,.92);
  border-radius: 12px;
  background: #fff;
  color: var(--accent) !important;
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
  font-size: 11px !important;
  font-weight: 900;
  line-height: 1.75;
  text-align: center;
}

.policy-intro-card {
  margin-bottom: 22px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(145deg,#fff,#f5faf7);
}
.policy-intro-card p { margin: 0; line-height: 2; color: var(--muted); }
.policy-list { margin: 12px 0 0; padding-inline-start: 21px; }
.policy-list li { margin-bottom: 9px; line-height: 1.9; color: var(--muted); }
.policy-note { padding: 15px 17px; border-inline-start: 4px solid var(--accent); border-radius: 12px; background: var(--accent-faint); line-height: 1.9; }

@media (max-width: 1180px) and (min-width: 821px) {
  .mega-simple { padding-inline: 4px; font-size: 10.5px; }
  .mega-nav { gap: 4px; }
}


/* =========================================================
   MY Habitat foundation — full-height mobile navigation
   and developer-tools deterrence
   ========================================================= */
@media (max-width: 820px) {
  .mobile-panel { width: min(365px,88vw) !important; height: 100dvh !important; max-height: 100dvh !important; inset-block: 0 !important; padding: 14px !important; overflow-y: auto !important; overscroll-behavior: contain; border-radius: 0 !important; background: linear-gradient(180deg,#fff 0%,#f9fbfa 100%) !important; }
  .mobile-panel-head { position: sticky; top: -14px; z-index: 3; margin-inline: -14px; padding: 10px 14px 9px; background: rgba(255,255,255,.96); backdrop-filter: blur(12px); }
  .mobile-mega-nav { flex: 0 0 auto; }
  .mobile-panel-social { padding-bottom: max(8px,env(safe-area-inset-bottom)); }
}


/* =========================================================
   MY Habitat foundation — logo-first customer brand cards
   ========================================================= */
.page-brands .brands-grid { grid-template-columns: repeat(5,minmax(0,1fr)); gap:16px; }
.page-brands .brand-card { min-height:178px; padding:20px 16px 17px; border:1px solid #dce8e2; border-radius:23px; background:#fff; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:13px; text-align:center; box-shadow:0 10px 28px rgba(3,62,46,.045); transition:transform .22s ease,border-color .22s ease,box-shadow .22s ease; }
.page-brands .brand-card::after { display:none; }
.page-brands .brand-card:hover { transform:translateY(-4px); border-color:rgba(11,128,96,.28); box-shadow:0 18px 42px rgba(3,62,46,.09); }
.page-brands .brand-card-logo { width:100%; height:96px; padding:10px; border-radius:17px; background:linear-gradient(145deg,#fff,#f5faf7); display:grid; place-items:center; overflow:hidden; }
.page-brands .brand-card-logo img { width:100%; height:100%; object-fit:contain; }
.page-brands .brand-card-logo > span { width:70px; height:70px; border-radius:20px; background:linear-gradient(145deg,var(--accent),var(--accent-dark)); color:#fff; display:grid; place-items:center; font:900 25px/1 Arial; }
.page-brands .brand-card > small { margin:0; color:var(--muted); font-size:10px; font-weight:800; line-height:1.4; }
@media (max-width:1100px) { .page-brands .brands-grid { grid-template-columns:repeat(4,minmax(0,1fr)); } }
@media (max-width:820px) { .page-brands .brands-grid { grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; } }
@media (max-width:560px) { .page-brands .brands-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; } .page-brands .brand-card { min-height:145px; padding:13px 10px; border-radius:18px; gap:8px; } .page-brands .brand-card-logo { height:82px; padding:8px; border-radius:14px; } .page-brands .brand-card-logo > span { width:58px; height:58px; border-radius:16px; font-size:21px; } .page-brands .brand-card > small { font-size:8.5px; } }


/* foundation brand logo loading fallback */
.page-brands .brand-card-logo > .brand-logo-fallback[hidden] { display:none !important; }


/* =========================================================
   MY Habitat foundation — slightly larger centeaccent customer logos
   ========================================================= */
.page-brands .brand-card {
  min-height: 190px;
  padding: 16px 14px 15px;
  gap: 11px;
}
.page-brands .brand-card-logo {
  width: 100%;
  height: 122px;
  padding: 0;
  border: 1px solid #e9f1ed;
  border-radius: 18px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.page-brands .brand-card-logo-frame {
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  padding: 15px 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.page-brands .brand-card-logo-frame > img {
  display: block !important;
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: 100% !important;
  margin: auto !important;
  padding: 0 !important;
  object-fit: contain !important;
  object-position: 50% 50% !important;
  transform: none !important;
  flex: 0 1 auto;
}
.page-brands .brand-card-logo-frame > .brand-logo-fallback {
  flex: 0 0 auto;
}
.page-brands .brand-card > small {
  width: 100%;
  min-height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
@media (max-width: 560px) {
  .page-brands .brand-card {
    min-height: 166px;
    padding: 11px 9px 12px;
    gap: 8px;
  }
  .page-brands .brand-card-logo {
    height: 108px;
    padding: 0;
    border-radius: 15px;
  }
  .page-brands .brand-card-logo-frame {
    padding: 12px 9px;
  }
}
.page-brands .brand-card-logo-frame > .brand-logo-fallback {
  width: 70px;
  height: 70px;
  border-radius: 20px;
  background: linear-gradient(145deg,var(--accent),var(--accent-dark));
  color: #fff;
  display: grid;
  place-items: center;
  font: 900 25px/1 Arial;
}
.page-brands .brand-card-logo-frame > .brand-logo-fallback[hidden] {
  display: none !important;
}
@media (max-width: 560px) {
  .page-brands .brand-card-logo-frame > .brand-logo-fallback {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    font-size: 21px;
  }
}

/* foundation - Premium transparent-logo marquee */
.habitat-brands-marquee {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: linear-gradient(180deg, #fff 0%, #fdfbfb 50%, #fff 100%);
  border-block: 1px solid rgba(35,125,92, .14);
  box-shadow: 0 12px 34px rgba(21,74,54, .045);
  direction: ltr;
}

.habitat-brands-marquee::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 14% 50%, rgba(50,178,131, .055), transparent 22%),
    radial-gradient(circle at 86% 50%, rgba(50,178,131, .04), transparent 22%);
}

.habitat-brands-marquee__viewport {
  width: 100%;
  overflow: hidden;
  padding-block: 8px;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 4.5%, #000 95.5%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, #000 4.5%, #000 95.5%, transparent 100%);
}

.habitat-brands-marquee__track {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: habitat-brand-marquee 58s linear infinite;
}

.habitat-brands-marquee__viewport:hover .habitat-brands-marquee__track {
  animation-play-state: paused;
}

.habitat-brands-marquee__group {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: clamp(28px, 3.2vw, 54px);
  padding-inline: clamp(15px, 2.4vw, 38px);
}

.habitat-brands-marquee__item {
  position: relative;
  width: clamp(148px, 12vw, 210px);
  height: 74px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  cursor: default;
  user-select: none;
}

.habitat-brands-marquee__item::after {
  content: "";
  position: absolute;
  inset-inline-end: calc(clamp(14px, 1.6vw, 27px) * -1);
  top: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(50,178,131, .34);
  transform: translateY(-50%);
  box-shadow: 0 0 0 4px rgba(50,178,131, .045);
}

.habitat-brands-marquee__item img {
  display: block;
  width: auto;
  height: auto;
  max-width: min(100%, 190px);
  max-height: 58px;
  object-fit: contain;
  object-position: center;
  opacity: .84;
  filter: grayscale(1) contrast(1.16);
  transform: translateZ(0);
  transition: opacity .25s ease, transform .25s ease, filter .25s ease;
}

.habitat-brands-marquee__item:hover img {
  opacity: 1;
  filter: grayscale(1) contrast(1.28);
  transform: scale(1.055);
}

@keyframes habitat-brand-marquee {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

@media (max-width: 767px) {
  .habitat-brands-marquee__viewport {
    padding-block: 6px;
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 8%, #000 92%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0, #000 8%, #000 92%, transparent 100%);
  }

  .habitat-brands-marquee__track {
    animation-duration: 46s;
  }

  .habitat-brands-marquee__group {
    gap: 24px;
    padding-inline: 12px;
  }

  .habitat-brands-marquee__item {
    width: 132px;
    height: 60px;
  }

  .habitat-brands-marquee__item::after {
    inset-inline-end: -14px;
    width: 3px;
    height: 3px;
  }

  .habitat-brands-marquee__item img {
    max-width: 126px;
    max-height: 46px;
  }
}

@media (prefers-accentuced-motion: accentuce) {
  .habitat-brands-marquee__track {
    animation-play-state: paused;
  }
}


/* =========================================================
   MY Habitat foundation — Cairo time, header layering and UX fixes
   ========================================================= */
.site-header { z-index: 600 !important; overflow: visible; isolation: isolate; }
.header-main { position: relative; z-index: 420 !important; }
.mobile-search { position: relative; z-index: 420 !important; }
.main-nav { z-index: 320 !important; }
.search-suggestions { z-index: 700 !important; }
.related-products-section[hidden] { display: none !important; }

/* Contact typography is intentionally larger and easier to read. */
.page-contact .contact-hero p:last-child { font-size: 16px; line-height: 2; }
.page-contact .contact-info > p { font-size: 15px; line-height: 2; }
.page-contact .contact-methods small { font-size: 11px; }
.page-contact .contact-methods b { font-size: 15px; }
.page-contact .contact-address small { font-size: 11px; }
.page-contact .contact-address b { font-size: 15px; line-height: 1.9; }
.page-contact .form-heading p:last-child { font-size: 13px; line-height: 1.9; }
.page-contact .field label { font-size: 13px; font-weight: 800; }
.page-contact .field input,
.page-contact .field textarea { font-size: 14px; }

/* A selected product colour uses one clean dot instead of duplicate check marks. */
.product-variant-swatch > b {
  width: 12px;
  height: 12px;
  margin-inline-start: 4px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 1px rgba(11,128,96,.28);
}
.product-variant-swatch.active > b { opacity: 1; transform: scale(1); }
.product-variant-swatch > b::before,
.product-variant-swatch > b::after { content: none !important; display: none !important; }

@media (max-width: 560px) {
  .page-contact .contact-hero p:last-child { font-size: 14px; }
  .page-contact .contact-info > p { font-size: 13px; }
  .page-contact .contact-methods small { font-size: 10px; }
  .page-contact .contact-methods b,
  .page-contact .contact-address b { font-size: 13px; }
  .page-contact .form-heading p:last-child,
  .page-contact .field label { font-size: 12px; }
  .page-contact .field input,
  .page-contact .field textarea { font-size: 13px; }
}

/* =========================================================
   MY Habitat foundation — Live customer support chat
   ========================================================= */
.live-chat { position: relative; z-index: 1250; }
.live-chat [hidden] { display: none !important; }
.live-chat-float {
  position: fixed;
  z-index: 1252;
  inset-inline-start: 20px;
  bottom: 86px;
  width: 54px;
  height: 54px;
  border: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(145deg, #3bd3aa, #2c9d74);
  box-shadow: 0 16px 36px rgba(41,145,107,.34);
  cursor: pointer;
  transition: transform .22s ease, box-shadow .22s ease;
}
.live-chat-float:hover { transform: translateY(-4px) scale(1.04); box-shadow: 0 20px 42px rgba(41,145,107,.42); }
.live-chat-float > i { font-size: 23px; }
.live-chat-unread {
  position: absolute;
  top: -5px;
  inset-inline-end: -5px;
  min-width: 22px;
  height: 22px;
  padding-inline: 5px;
  display: grid;
  place-items: center;
  border: 2px solid #fff;
  border-radius: 999px;
  color: #fff;
  background: #181818;
  font: 900 10px/1 Cairo, sans-serif;
}
.live-chat-panel {
  position: fixed;
  z-index: 1251;
  inset-inline-start: 20px;
  bottom: 150px;
  width: min(390px, calc(100vw - 32px));
  height: min(630px, calc(100vh - 180px));
  min-height: 430px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(11,128,96,.13);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 28px 80px rgba(10,36,26,.25);
  animation: liveChatOpen .2s ease both;
}
@keyframes liveChatOpen { from { opacity: 0; transform: translateY(18px) scale(.97); } to { opacity: 1; transform: none; } }
.live-chat-head {
  flex: 0 0 auto;
  min-height: 76px;
  padding: 13px 15px;
  display: flex;
  align-items: center;
  gap: 11px;
  color: #fff;
  background: linear-gradient(135deg, #0b8060, #087457);
}
.live-chat-avatar {
  width: 45px;
  height: 45px;
  flex: 0 0 45px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.38);
  border-radius: 15px;
  background: rgba(255,255,255,.16);
  font-size: 18px;
}
.live-chat-title { min-width: 0; display: grid; gap: 3px; }
.live-chat-title strong { font-size: 15px; font-weight: 900; letter-spacing: .2px; }
.live-chat-title small { display: flex; align-items: center; gap: 6px; font-size: 10px; font-weight: 700; color: rgba(255,255,255,.86); }
.live-chat-title small i { width: 7px; height: 7px; border-radius: 50%; background: #5ef0a8; box-shadow: 0 0 0 4px rgba(94,240,168,.14); }
.live-chat-head > button {
  width: 36px;
  height: 36px;
  margin-inline-start: auto;
  border: 0;
  border-radius: 11px;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(255,255,255,.12);
  cursor: pointer;
}
.live-chat-body { min-height: 0; flex: 1 1 auto; display: flex; flex-direction: column; background: #f7f5f5; }
.live-chat-messages {
  min-height: 0;
  flex: 1 1 auto;
  padding: 16px 13px 10px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(11,128,96,.25) transparent;
}
.live-chat-message { display: flex; margin-bottom: 10px; }
.live-chat-message > div {
  max-width: 82%;
  padding: 9px 11px 7px;
  border-radius: 17px 17px 5px 17px;
  background: #fff;
  box-shadow: 0 5px 16px rgba(25,42,36,.07);
}
.live-chat-message.is-customer { justify-content: flex-start; }
.live-chat-message.is-customer > div { color: #fff; background: #159d91; border-radius: 17px 17px 17px 5px; }
html[dir="ltr"] .live-chat-message.is-customer > div { border-radius: 17px 17px 5px 17px; }
html[dir="ltr"] .live-chat-message:not(.is-customer) > div { border-radius: 17px 17px 17px 5px; }
.live-chat-message.is-system { justify-content: center; }
.live-chat-message.is-system > div { max-width: 94%; padding: 7px 11px; border: 1px dashed rgba(11,128,96,.2); border-radius: 12px; text-align: center; background: #f5faf7; box-shadow: none; }
.live-chat-message b { display: block; margin-bottom: 3px; color: #2ea579; font-size: 9px; font-weight: 900; }
.live-chat-message p { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; color: #242826; font-size: 12px; font-weight: 600; line-height: 1.75; }
.live-chat-message.is-customer p { color: #fff; }
.live-chat-message.is-system p { color: #687670; font-size: 10px; }
.live-chat-message time { display: block; margin-top: 3px; color: #909794; font-size: 8px; text-align: end; }
.live-chat-message.is-customer time { color: rgba(255,255,255,.72); }
.live-chat-state { flex: 0 0 auto; padding: 0 13px 12px; }
.live-chat-connection {
  min-height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid rgba(11,128,96,.09);
  border-radius: 11px;
  color: #65746e;
  background: rgba(255,255,255,.82);
  font-size: 9px;
  font-weight: 800;
}
.live-chat-connection i { width: 7px; height: 7px; border-radius: 50%; background: #1fb36a; box-shadow: 0 0 0 4px rgba(31,179,106,.11); }
.live-chat-onboarding { display: grid; gap: 9px; padding: 12px; border: 1px solid rgba(11,128,96,.1); border-radius: 16px; background: #fff; box-shadow: 0 8px 22px rgba(30,53,45,.06); }
.live-chat-onboarding > p { margin: 0; color: #262b29; font-size: 11px; font-weight: 900; line-height: 1.7; }
.live-chat-onboarding label { display: grid; gap: 5px; }
.live-chat-onboarding label > span { color: #66726d; font-size: 9px; font-weight: 800; }
.live-chat-onboarding input {
  width: 100%;
  min-height: 45px;
  padding: 10px 12px;
  border: 1px solid #d6dedb;
  border-radius: 12px;
  outline: none;
  color: #1c201e;
  background: #fff;
  font: 700 12px Cairo, sans-serif;
  transition: border-color .2s, box-shadow .2s;
}
.live-chat-onboarding input:focus { border-color: #0b8060; box-shadow: 0 0 0 4px rgba(11,128,96,.08); }
.live-chat-onboarding > small { color: #8e9693; font-size: 8px; line-height: 1.6; }
.live-chat-onboarding button,
.live-chat-closed button {
  min-height: 43px;
  border: 0;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: #fff;
  background: #34b995;
  font: 900 11px Cairo, sans-serif;
  cursor: pointer;
}
.live-chat-onboarding.is-loading button { opacity: .6; cursor: wait; }
.live-chat-error { margin: 0 0 8px; padding: 8px 10px; border-radius: 10px; color: #075b45; background: #eefff8; font-size: 9px; font-weight: 800; line-height: 1.65; }
.live-chat-closed { padding: 12px; display: grid; place-items: center; gap: 8px; border-radius: 15px; text-align: center; background: #fff; }
.live-chat-closed > i { color: #1fa867; font-size: 20px; }
.live-chat-closed p { margin: 0; color: #626e69; font-size: 10px; font-weight: 700; line-height: 1.7; }
.live-chat-closed button { width: 100%; }
.live-chat-composer-wrap { flex: 0 0 auto; padding: 10px 12px 12px; border-top: 1px solid #e6eeeb; background: #fff; }
.live-chat-composer { display: flex; align-items: flex-end; gap: 8px; }
.live-chat-composer textarea {
  min-width: 0;
  min-height: 44px;
  max-height: 112px;
  flex: 1 1 auto;
  resize: none;
  padding: 11px 12px;
  border: 1px solid #d5ddda;
  border-radius: 14px;
  outline: none;
  color: #232725;
  background: #faf9f9;
  font: 600 11px/1.7 Cairo, sans-serif;
}
.live-chat-composer textarea:focus { border-color: #0b8060; background: #fff; box-shadow: 0 0 0 3px rgba(11,128,96,.07); }
.live-chat-composer button {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border: 0;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #fff;
  background: #34b995;
  cursor: pointer;
}
.live-chat-composer button:disabled { opacity: .55; cursor: wait; }

@media (max-width: 560px) {
  .live-chat-float { inset-inline-start: 14px; bottom: 76px; width: 50px; height: 50px; }
  .live-chat-panel {
    inset-inline: 8px;
    bottom: 70px;
    width: auto;
    height: min(660px, calc(100dvh - 82px));
    min-height: 390px;
    border-radius: 21px;
  }
  .live-chat-head { min-height: 68px; padding: 10px 12px; }
  .live-chat-avatar { width: 41px; height: 41px; flex-basis: 41px; }
  .live-chat-message > div { max-width: 88%; }
  body.live-chat-open { overflow: hidden; }
}

@media (prefers-accentuced-motion: accentuce) {
  .live-chat-panel { animation: none; }
  .live-chat-float { transition: none; }
}

body.live-chat-open .live-chat-float { opacity: 0; visibility: hidden; pointer-events: none; transform: scale(.85); }
@media (min-width: 561px) {
  .live-chat-panel { bottom: 88px; height: min(630px, calc(100vh - 112px)); }
}
@media (max-width: 560px) {
  .live-chat-panel { bottom: 8px; height: calc(100dvh - 16px); }
}

/* foundation — Customer support refinements */
.live-chat-float { width: 58px; height: 58px; padding: 0; border-radius: 50%; display: grid; place-items: center; }
.live-chat-float > span:not(.live-chat-unread):not(.live-chat-new-pulse) { display: none !important; }
.live-chat-float > i { font-size: 24px; }
.live-chat-new-pulse { position: absolute; inset-block-start: 2px; inset-inline-end: 2px; width: 14px; height: 14px; border: 3px solid #fff; border-radius: 50%; background: #b8ffec; box-shadow: 0 0 0 0 rgba(184,255,236,.7); animation: live-chat-pulse 1.35s infinite; }
.live-chat-new-pulse[hidden] { display: none !important; }
@keyframes live-chat-pulse { 0%{box-shadow:0 0 0 0 rgba(184,255,236,.7)}70%{box-shadow:0 0 0 11px rgba(184,255,236,0)}100%{box-shadow:0 0 0 0 rgba(184,255,236,0)} }
.live-chat-language { margin-inline-start: auto; display: flex; padding: 3px; border-radius: 999px; background: rgba(255,255,255,.13); }
.live-chat-language button { min-width: 30px; height: 27px; padding: 0 7px; border: 0; border-radius: 999px; color: rgba(255,255,255,.78); background: transparent; font: 800 9px Cairo,sans-serif; cursor: pointer; }
.live-chat-language button.active { color: #2d9f75; background: #fff; }
.live-chat-message { align-items: flex-end; gap: 7px; }
.live-chat-message.is-customer { justify-content: flex-end; flex-direction: row-reverse; }
.live-chat-message:not(.is-customer):not(.is-system) { justify-content: flex-start; }
.live-chat-message-avatar { width: 30px; height: 30px; flex: 0 0 30px; border: 1px solid #e0eae6; border-radius: 50%; display: grid; place-items: center; overflow: hidden; background: #fff; box-shadow: 0 5px 14px rgba(27,49,41,.08); }
.live-chat-message-avatar img { width: 80%; height: 80%; object-fit: contain; }
.live-chat-message.is-customer > div { border-radius: 17px 17px 5px 17px; background: linear-gradient(145deg,#0b8060,#075b45); }
html[dir="ltr"] .live-chat-message.is-customer > div { border-radius: 17px 17px 17px 5px; }
.live-chat-message:not(.is-customer):not(.is-system) > div { border-radius: 17px 17px 17px 5px; }
html[dir="ltr"] .live-chat-message:not(.is-customer):not(.is-system) > div { border-radius: 17px 17px 5px 17px; }
.live-chat-message-meta { margin-top: 4px; display: flex; align-items: center; justify-content: flex-end; gap: 5px; }
.live-chat-message-meta time { margin: 0; }
.live-chat-message-meta em { color: inherit; opacity: .75; font-size: 7px; font-style: normal; font-weight: 800; }
.live-chat-checks { position: relative; width: 18px; height: 11px; display: inline-block; color: rgba(255,255,255,.74); font-size: 8px; }
.live-chat-checks i { position: absolute; inset-block-start: 1px; }
.live-chat-checks i:first-child { inset-inline-start: 1px; }
.live-chat-checks i:last-child { inset-inline-start: 6px; }
.live-chat-checks.is-sent i:last-child { display: none; }
.live-chat-checks.is-read { color: #61c8ff; text-shadow: 0 0 6px rgba(97,200,255,.25); }
.live-chat-typing { padding: 0 12px 7px; display: flex; align-items: flex-end; gap: 7px; }
.live-chat-typing-avatar { width: 29px; height: 29px; flex: 0 0 29px; border: 1px solid #e0eae6; border-radius: 50%; display: grid; place-items: center; overflow: hidden; background: #fff; }
.live-chat-typing-avatar img { width: 80%; height: 80%; object-fit: contain; }
.live-chat-typing-bubble { height: 31px; padding: 0 12px; border-radius: 15px 15px 15px 5px; display: flex; align-items: center; gap: 4px; background: #fff; box-shadow: 0 6px 17px rgba(29,52,44,.08); }
.live-chat-typing-bubble i { width: 5px; height: 5px; border-radius: 50%; background: #8d9e97; animation: live-chat-dot 1.1s infinite ease-in-out; }
.live-chat-typing-bubble i:nth-child(2) { animation-delay: .16s; }
.live-chat-typing-bubble i:nth-child(3) { animation-delay: .32s; }
@keyframes live-chat-dot { 0%,60%,100%{transform:translateY(0);opacity:.45}30%{transform:translateY(-4px);opacity:1} }
.live-chat-messages { scrollbar-width: thin; scrollbar-color: rgba(11,128,96,.34) transparent; overscroll-behavior: contain; }
.live-chat-messages::-webkit-scrollbar { width: 6px; }
.live-chat-messages::-webkit-scrollbar-track { background: transparent; }
.live-chat-messages::-webkit-scrollbar-thumb { border: 2px solid transparent; border-radius: 999px; background: rgba(11,128,96,.38); background-clip: padding-box; }
.live-chat-message p.is-deleted { display: flex; align-items: center; gap: 6px; color: #7f8e88; font-style: italic; }
.live-chat-message.is-customer p.is-deleted { color: rgba(255,255,255,.84); }
@media (max-width: 620px) {
  .live-chat-float { width: 52px; height: 52px; }
}

/* foundation — polished live-search results */
.site-search.search-open { position: relative; z-index: 1605; }
.search-suggestions { max-height: min(620px, calc(100vh - 155px)); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: rgba(11,128,96,.38) transparent; }
.search-suggestions::-webkit-scrollbar { width: 7px; }
.search-suggestions::-webkit-scrollbar-track { background: transparent; }
.search-suggestions::-webkit-scrollbar-thumb { border: 2px solid transparent; border-radius: 999px; background: rgba(11,128,96,.42); background-clip: padding-box; }
.search-result { min-height: 78px; padding: 7px 9px; grid-template-columns: 62px minmax(0,1fr) auto; gap: 11px; border: 1px solid transparent; }
.search-result + .search-result { border-top-color: #e8f0ec; }
.search-result:hover { border-color: #e1f2eb; background: linear-gradient(135deg,#f6fffb,#fff); transform: none; }
.search-result-image { position: relative; width: 62px; height: 62px; display: block; }
.search-result-image img { width: 62px; height: 62px; border: 1px solid #e6eeeb; border-radius: 14px; object-fit: contain; background: #fff; }
.search-result-image i { position: absolute; inset-inline-end: 3px; inset-block-end: 3px; width: 9px; height: 9px; border: 2px solid #fff; border-radius: 50%; }
.search-result-image i.is-available { background: #24a663; }
.search-result-image i.is-unavailable { background: #989d9b; }
.search-result-copy { min-width: 0; display: grid; align-content: center; gap: 2px; }
.search-result-copy > small { margin: 0; color: #2da076; font-size: 9px; font-weight: 900; }
.search-result-copy > b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #27302d; font-size: 12px; line-height: 1.5; }
.search-result-copy > em { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #7e8d87; font-size: 8px; font-style: normal; font-weight: 700; }
.search-result-price { display: grid; justify-items: end; align-content: center; gap: 2px; }
.search-result-price del { color: #9ea6a3; font-size: 8px; }
.search-result-price strong { color: #075b45; font-size: 11px; white-space: nowrap; }
@media (min-width: 900px) {
  .search-suggestions { min-height: 0; }
}
@media (max-width: 620px) {
  .search-suggestions { max-height: min(515px, calc(100dvh - 135px)); }
  .search-result { min-height: 70px; grid-template-columns: 54px minmax(0,1fr); }
  .search-result-image,.search-result-image img { width: 54px; height: 54px; }
  .search-result-price { grid-column: 2; grid-row: 2; display: flex; flex-direction: row-reverse; justify-content: flex-end; align-items: center; gap: 6px; }
}

/* foundation — Premium product details */
.product-detail-section { position: relative; padding: 48px 0 72px; background: radial-gradient(circle at 8% 10%,rgba(11,128,96,.055),transparent 25%),linear-gradient(180deg,#fff,#f7faf8); }
.product-detail-layout { grid-template-columns: minmax(0,1.08fr) minmax(390px,.92fr); gap: 42px; align-items: start; }
.product-gallery { position: sticky; top: 150px; }
.main-product-image { height: min(650px,68vh); min-height: 520px; border-color: #dce8e2; border-radius: 30px; background: linear-gradient(145deg,#fff,#f0f9f5); box-shadow: 0 24px 70px rgba(34,70,57,.09); }
.main-product-image > img { padding: 24px; object-fit: contain !important; }
.product-thumbnails { padding: 4px 2px 8px; gap: 11px; }
.product-thumbnails button { width: 82px; height: 82px; flex-basis: 82px; border-radius: 16px; background: #fff; }
.product-thumbnails button img { object-fit: contain; padding: 5px; }
.product-summary { min-height: auto; padding: 27px 29px 30px; border-color: #dfe8e4; border-radius: 29px; background: rgba(255,255,255,.96); box-shadow: 0 24px 70px rgba(34,70,57,.08); backdrop-filter: blur(12px); }
.product-summary .breadcrumbs { margin-bottom: 18px; padding-bottom: 13px; border-bottom: 1px solid #e8f0ec; }
.detail-brand-row { display: flex; align-items: center; gap: 11px; }
.detail-brand-logo { width: 55px; height: 55px; flex: 0 0 55px; padding: 7px; border: 1px solid #dce8e2; border-radius: 16px; display: grid; place-items: center; background: #fff; box-shadow: 0 7px 20px rgba(31,57,47,.06); }
.detail-brand-logo img { width: 100%; height: 100%; object-fit: contain; }
.detail-brand { margin: 0; display: grid; gap: 1px; color: #272f2c; }
.detail-brand small { color: #919b97; font-size: 8px; font-weight: 800; }
.detail-brand b { color: #2c9e74; font-size: 13px; font-weight: 900; }
.detail-product-code { margin-inline-start: auto; padding: 6px 9px; border-radius: 999px; color: #7b8b85; background: #edf6f2; font: 800 9px/1 Arial; }
.product-summary h1 { margin: 15px 0 9px; font-size: clamp(27px,3.2vw,41px); line-height: 1.35; letter-spacing: -.02em; }
.detail-rating { padding: 8px 11px; border: 1px solid #f2e5c5; border-radius: 12px; width: fit-content; background: #fffaf0; }
.product-summary > p { margin: 18px 0; padding: 14px 15px; border-inline-start: 3px solid #0b8060; border-radius: 0 12px 12px 0; color: #586660; background: #f5faf7; font-size: 13px; line-height: 2; }
html[dir="ltr"] .product-summary > p { border-inline-start: 3px solid #0b8060; border-radius: 12px 0 0 12px; }
.detail-price { margin: 17px 0 6px; padding: 14px 16px; border: 1px solid #e3efea; border-radius: 17px; background: linear-gradient(135deg,#f6fffb,#fff); }
.detail-price strong { font-size: 29px; }
.stock-line { width: fit-content; margin-top: 12px; padding: 7px 11px; border-radius: 999px; background: #eaf9f0; }
.stock-line.out { background: #f1eeee; }
.product-variant-picker { margin: 20px 0 16px; padding: 16px; border-radius: 19px; background: #fffafb; }
.product-variant-heading small { padding: 5px 8px; border-radius: 999px; background: #f4fffa; }
.product-variant-swatch { min-height: 48px; }
.product-buy-row { margin-top: 18px; padding-top: 18px; border-top: 1px solid #e8f0ec; }
.product-buy-row .button { min-height: 54px; border-radius: 15px; font-size: 13px; }
.qty-control { min-height: 54px; border-radius: 15px; }
.product-secondary-actions { margin-top: 10px; }
.product-secondary-actions button { min-height: 44px; border-radius: 13px; }
.product-detail-benefits { margin-top: 18px; display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }
.product-detail-benefits article { min-width: 0; padding: 10px 8px; border: 1px solid #e6eeeb; border-radius: 14px; display: grid; justify-items: center; gap: 6px; text-align: center; background: #fff; }
.product-detail-benefits article > i { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; color: #31b082; background: #f4fffa; font-size: 14px; }
.product-detail-benefits article span { min-width: 0; }
.product-detail-benefits b { display: block; font-size: 9px; }
.product-detail-benefits small { display: block; margin-top: 2px; color: #8a9490; font-size: 7px; line-height: 1.55; }
.related-products-section[hidden] { display: none !important; }
@media (max-width: 980px) {
  .product-detail-layout { grid-template-columns: 1fr; }
  .product-gallery { position: static; }
  .main-product-image { height: 520px; min-height: 0; }
}
@media (max-width: 620px) {
  .product-detail-section { padding: 20px 0 45px; }
  .main-product-image { height: 370px; min-height: 0; border-radius: 22px; }
  .main-product-image > img { padding: 14px; }
  .product-summary { padding: 20px 16px 22px; border-radius: 22px; }
  .detail-brand-logo { width: 48px; height: 48px; flex-basis: 48px; }
  .product-detail-benefits { grid-template-columns: 1fr; }
  .product-detail-benefits article { grid-template-columns: auto 1fr; justify-items: start; text-align: start; }
  .product-buy-row { grid-template-columns: 1fr; }
  .qty-control { width: 100%; }
}


/* =========================================================
   MY Habitat foundation — balanced live-search product cards
   ========================================================= */
.search-suggestions { padding: 10px; gap: 7px; align-content: start; background: #fffdfd; }
.header-search.search-open .search-suggestions { display: grid; }
.search-result { min-height: 68px; padding: 6px 9px; grid-template-columns: 54px minmax(0,1fr) minmax(90px,auto); gap: 11px; border: 1px solid #e6eeeb !important; border-radius: 14px; background: #fff; box-shadow: 0 4px 14px rgba(25,53,43,.035); }
.search-result + .search-result { border-top-color: #e6eeeb; }
.search-result:hover { border-color: #c6e6d9 !important; background: linear-gradient(135deg,#f6fffb,#fff); box-shadow: 0 8px 20px rgba(23,82,60,.07); transform: translateY(-1px); }
.search-result-image,
.search-result-image img { width: 54px; height: 54px; }
.search-result-image img { padding: 3px; border-radius: 12px; object-fit: contain; }
.search-result-copy { gap: 3px; }
.search-result-copy > small { font-size: 9px; }
.search-result-copy > b { font-size: 12px; line-height: 1.55; }
.search-result-copy > em { font-size: 8.5px; }
.search-result-price { min-width: 90px; padding-inline-start: 8px; border-inline-start: 1px solid #e8f0ec; }
.search-result-price strong { font-size: 11px; }
.search-all { margin-top: 1px; border-radius: 13px; }
.search-empty,.search-loading { border: 1px dashed #e0eae6; border-radius: 13px; background: #fff; }
@media (max-width: 620px) {
  .search-suggestions { gap: 6px; padding: 8px; }
  .search-result { min-height: 68px; padding: 6px 8px; grid-template-columns: 52px minmax(0,1fr); }
  .search-result-image,.search-result-image img { width: 52px; height: 52px; }
  .search-result-price { min-width: 0; padding: 0; border: 0; }
}


/* MY Habitat foundation — message avatar top alignment */
.live-chat-message { align-items: flex-start; }
.live-chat-message-avatar { margin-top: 1px; align-self: flex-start; }

/* =========================================================
   MY Habitat foundation — Arabic-only clean chat + fixed controls
   ========================================================= */
/* Keep floating controls in the same physical positions in Arabic and English. */
.whatsapp-float { inset-inline: auto !important; right: 20px !important; left: auto !important; }
.back-to-top { inset-inline: auto !important; left: 20px !important; right: auto !important; }
.live-chat-float { inset-inline: auto !important; right: 20px !important; left: auto !important; }
.live-chat-panel { inset-inline: auto !important; right: 20px !important; left: auto !important; }
.live-chat-language { display: none !important; }

.live-chat-panel { direction: rtl !important; }
.live-chat-messages { direction: ltr; }
.live-chat-message { width: 100%; align-items: flex-start; gap: 7px; direction: ltr; }
.live-chat-message.is-own { justify-content: flex-start; flex-direction: row-reverse; }
.live-chat-message.is-incoming { justify-content: flex-start; flex-direction: row; }
.live-chat-message.is-system { justify-content: center; }
.live-chat-message-avatar { margin-top: 2px; }
.live-chat-message-avatar.is-customer { color: #fff; border: 0; background: linear-gradient(145deg,#2fa87c,#1f6f52); }
.live-chat-message-avatar.is-brand { background: #fff; }
.live-chat-bubble { position: relative; max-width: 82%; padding: 9px 11px 7px; border-radius: 15px !important; direction: rtl; text-align: right; background: #fff; box-shadow: 0 5px 16px rgba(25,42,36,.07); }
.live-chat-message.is-own .live-chat-bubble { color: #fff; background: linear-gradient(145deg,#0b8060,#075b45); }
.live-chat-message.is-incoming .live-chat-bubble::before,
.live-chat-message.is-own .live-chat-bubble::before { content: ""; position: absolute; top: 9px; width: 0; height: 0; border-block: 7px solid transparent; }
.live-chat-message.is-incoming .live-chat-bubble::before { left: -7px; border-right: 8px solid #fff; }
.live-chat-message.is-own .live-chat-bubble::before { right: -7px; border-left: 8px solid #159d91; }
.live-chat-message.is-system .live-chat-bubble { max-width: 94%; padding: 7px 11px; border: 1px dashed rgba(11,128,96,.2); border-radius: 12px !important; text-align: center; background: #f5faf7; box-shadow: none; }
.live-chat-message.is-own p { color: #fff; }
.live-chat-message.is-own time { color: rgba(255,255,255,.72); }
.live-chat-message.is-own p.is-deleted { color: rgba(255,255,255,.84); }
.live-chat-message-meta button { width: 20px; height: 20px; border: 0; border-radius: 50%; display: grid; place-items: center; color: inherit; background: rgba(255,255,255,.15); cursor: pointer; font-size: 8px; }
.live-chat-message.is-incoming .live-chat-message-meta button { background: #e9f1ed; }
.live-chat-typing { direction: ltr; justify-content: flex-start; }
.live-chat-typing-bubble { position: relative; height: 34px; padding: 0 14px; border-radius: 16px; gap: 5px; background: linear-gradient(145deg,#fff,#faf6f7); box-shadow: 0 7px 18px rgba(31,58,48,.11); }
.live-chat-typing-bubble::before { content: ""; position: absolute; top: 8px; left: -7px; border-block: 7px solid transparent; border-right: 8px solid #fff; }
.live-chat-typing-bubble i { width: 6px; height: 6px; background: linear-gradient(145deg,#3bd1a9,#258562); animation: liveChatTypingPremium 1.15s infinite cubic-bezier(.45,0,.55,1); }
.live-chat-typing-bubble i:nth-child(2) { animation-delay: .15s; }
.live-chat-typing-bubble i:nth-child(3) { animation-delay: .3s; }
@keyframes liveChatTypingPremium { 0%,65%,100%{transform:translateY(0) scale(.85);opacity:.42;box-shadow:0 0 0 0 rgba(11,128,96,0)}32%{transform:translateY(-5px) scale(1.08);opacity:1;box-shadow:0 4px 10px rgba(11,128,96,.18)} }

.live-chat-message-menu { position: fixed; z-index: 1265; min-width: 175px; padding: 6px; border: 1px solid #dbe4e0; border-radius: 13px; background: #fff; box-shadow: 0 18px 55px rgba(18,35,29,.2); }
.live-chat-message-menu[hidden] { display: none !important; }
.live-chat-message-menu button { width: 100%; min-height: 37px; padding: 7px 9px; border: 0; border-radius: 9px; display: flex; align-items: center; gap: 8px; color: #495751; background: transparent; font: 800 10px Cairo,sans-serif; text-align: start; cursor: pointer; }
.live-chat-message-menu button:hover { color: #2ea579; background: #f5fffb; }
.live-chat-message-menu button i { width: 18px; color: #2fa97c; text-align: center; }
.live-chat-message-menu button.is-danger { color: #2b9b72; }
.live-chat-dialog-backdrop { position: fixed; z-index: 1270; inset: 0; padding: 16px; display: grid; place-items: center; background: rgba(14,27,22,.5); backdrop-filter: blur(4px); }
.live-chat-dialog-backdrop[hidden] { display: none !important; }
.live-chat-dialog { width: min(430px,100%); overflow: hidden; border-radius: 19px; direction: rtl; background: #fff; box-shadow: 0 30px 85px rgba(12,28,22,.3); }
.live-chat-dialog > header { min-height: 56px; padding: 10px 13px; border-bottom: 1px solid #e6eeeb; display: flex; align-items: center; justify-content: space-between; }
.live-chat-dialog > header h3 { margin: 0; color: #25302c; font-size: 15px; }
.live-chat-dialog > header button { width: 34px; height: 34px; border: 0; border-radius: 10px; color: #606e68; background: #ebf4f0; cursor: pointer; }
.live-chat-dialog > div { padding: 14px; }
.live-chat-dialog > footer { padding: 10px 13px 14px; display: flex; justify-content: flex-end; gap: 7px; }
.live-chat-dialog > footer button { min-height: 39px; padding: 7px 13px; border-radius: 10px; font: 900 10px Cairo,sans-serif; cursor: pointer; }
.live-chat-dialog button.is-primary { border: 1px solid #159d91; color: #fff; background: #159d91; }
.live-chat-dialog button.is-secondary { border: 1px solid #dae2df; color: #576660; background: #fff; }
.live-chat-dialog button.is-danger { border-color: #2a976f; background: #2a976f; }
.live-chat-edit-field { display: grid; gap: 6px; }
.live-chat-edit-field span { color: #43514b; font-size: 10px; font-weight: 900; }
.live-chat-edit-field textarea { width: 100%; padding: 10px; border: 1px solid #d6dfdb; border-radius: 11px; resize: vertical; font: 650 12px/1.7 Cairo,sans-serif; }
.live-chat-edit-field small { color: #808985; font-size: 9px; }
.live-chat-delete-warning { padding: 12px; border: 1px solid #cdefe1; border-radius: 13px; display: flex; align-items: flex-start; gap: 9px; color: #29926b; background: #f6fffb; }
.live-chat-delete-warning p { margin: 0; color: #576962; font-size: 10px; line-height: 1.8; }

@media (max-width: 560px) {
  .whatsapp-float { right: 14px !important; left: auto !important; }
  .back-to-top { left: 14px !important; right: auto !important; }
  .live-chat-float { right: 14px !important; left: auto !important; }
  .live-chat-panel { right: 8px !important; left: 8px !important; }
  .live-chat-bubble { max-width: 84%; }
}


/* foundation — Arabic support identity and refined typing indicator */
.live-chat-avatar { border-radius: 50% !important; overflow: hidden; background: #fff !important; box-shadow: 0 7px 18px rgba(23,81,60,.18); }
.live-chat-avatar img { width: 100%; height: 100%; padding: 4px; border-radius: 50%; object-fit: contain; background: #fff; }
.live-chat-title { gap: 2px; }
.live-chat-title strong { font-size: 16px; line-height: 1.35; letter-spacing: 0; }
.live-chat-title small { font-size: 9px; color: rgba(255,255,255,.9); }
.live-chat-title small i { width: 8px; height: 8px; box-shadow: 0 0 0 4px rgba(94,240,168,.16), 0 0 12px rgba(94,240,168,.35); }
.live-chat-typing { min-height: 48px; padding: 4px 13px 9px; align-items: center; }
.live-chat-typing-avatar { width: 31px; height: 31px; flex-basis: 31px; padding: 2px; border: 2px solid #fff; box-shadow: 0 5px 16px rgba(29,64,51,.13); }
.live-chat-typing-avatar img { width: 100%; height: 100%; padding: 2px; border-radius: 50%; object-fit: contain; background: #fff; }
.live-chat-typing-bubble { height: 38px; min-width: 70px; padding: 0 16px; border: 1px solid rgba(11,128,96,.075); border-radius: 19px 19px 19px 6px; gap: 7px; background: linear-gradient(145deg,#fff,#f7faf8); box-shadow: 0 9px 25px rgba(31,58,48,.12); }
.live-chat-typing-bubble::before { top: 10px; left: -8px; border-block-width: 8px; border-right-width: 9px; }
.live-chat-typing-bubble i { width: 7px; height: 7px; border-radius: 50%; background: #159d91; box-shadow: 0 0 0 3px rgba(11,128,96,.07); animation: liveChatTypingSoft 1.28s infinite ease-in-out; }
.live-chat-typing-bubble i:nth-child(2) { animation-delay: .14s; }
.live-chat-typing-bubble i:nth-child(3) { animation-delay: .28s; }
@keyframes liveChatTypingSoft {
  0%, 60%, 100% { transform: translateY(0) scale(.78); opacity: .34; }
  30% { transform: translateY(-4px) scale(1); opacity: 1; box-shadow: 0 5px 12px rgba(52,184,149,.24); }
}

/* MY Habitat foundation — catalog view modes, brand campaigns, and homepage offer settings */
.catalog-toolbar { display:flex; align-items:center; gap:10px; }
.catalog-view-switch { display:flex; align-items:center; gap:5px; padding:4px; border:1px solid var(--line); border-radius:13px; background:#f5faf7; }
.catalog-view-switch button { width:38px; height:36px; border:0; border-radius:9px; background:transparent; color:#7d8f88; display:grid; place-items:center; cursor:pointer; transition:.2s ease; }
.catalog-view-switch button:hover { color:var(--accent); background:#fff; }
.catalog-view-switch button.active { color:#fff; background:var(--accent); box-shadow:0 7px 16px rgba(11,128,96,.2); }
.catalog-view-switch button i { font-size:14px; }
.catalog-main-head .catalog-toolbar .custom-select { width:210px; }

.catalog-main .products-grid.catalog-view-comfort { grid-template-columns:repeat(3,minmax(0,1fr)); gap:22px; }
.catalog-main .products-grid.catalog-view-compact { grid-template-columns:repeat(4,minmax(0,1fr)); gap:13px; }
.catalog-main .products-grid.catalog-view-compact .product-info { padding:12px; }
.catalog-main .products-grid.catalog-view-compact .product-info h3 { min-height:42px; font-size:12px; }
.catalog-main .products-grid.catalog-view-compact .product-category,
.catalog-main .products-grid.catalog-view-compact .product-brand { font-size:10px !important; }
.catalog-main .products-grid.catalog-view-compact .price-row strong { font-size:14px; }
.catalog-main .products-grid.catalog-view-compact .add-cart-btn { min-height:38px; }
.catalog-main .products-grid.catalog-view-list { grid-template-columns:1fr; gap:14px; }
.catalog-main .products-grid.catalog-view-list .product-card { display:grid; grid-template-columns:210px minmax(0,1fr); min-height:210px; border-radius:20px; }
.catalog-main .products-grid.catalog-view-list .product-card:hover { transform:translateY(-3px); }
.catalog-main .products-grid.catalog-view-list .product-media { height:100%; min-height:210px; aspect-ratio:auto; }
.catalog-main .products-grid.catalog-view-list .product-info { padding:22px 24px; display:grid; grid-template-columns:minmax(0,1fr) auto; align-content:center; column-gap:24px; }
.catalog-main .products-grid.catalog-view-list .product-category,
.catalog-main .products-grid.catalog-view-list .product-brand,
.catalog-main .products-grid.catalog-view-list .product-info h3 { grid-column:1; }
.catalog-main .products-grid.catalog-view-list .product-info h3 { min-height:auto; margin:5px 0; font-size:18px; }
.catalog-main .products-grid.catalog-view-list .price-row { grid-column:2; grid-row:1 / span 2; align-self:center; justify-self:end; min-width:130px; justify-content:flex-end; }
.catalog-main .products-grid.catalog-view-list .price-row strong { font-size:20px; }
.catalog-main .products-grid.catalog-view-list .add-cart-btn { grid-column:2; grid-row:3 / span 2; width:180px; align-self:end; justify-self:end; }
.catalog-main .products-grid.catalog-view-list .card-tools { inset-inline-end:12px; bottom:12px; }

.offers-showcase, .offers-campaigns { display:grid; gap:48px; }
.offers-section-heading { max-width:720px; margin-bottom:20px; }
.offers-section-heading > small { color:var(--accent); font-size:9px; font-weight:900; letter-spacing:.1em; }
.offers-section-heading h2 { margin:5px 0 8px; font-size:clamp(27px,4vw,42px); }
.offers-section-heading p { margin:0; color:var(--muted); }
.brand-offer-list { display:grid; gap:22px; }
.brand-offer-campaign { position:relative; min-height:330px; padding:34px; border-radius:32px; overflow:hidden; display:grid; grid-template-columns:190px minmax(0,1fr) 220px; align-items:center; gap:34px; color:#fff; background:radial-gradient(circle at 12% 20%,rgba(255,255,255,.17),transparent 26%),linear-gradient(125deg,#0e3124,#227858 48%,#35bd99); box-shadow:0 24px 60px rgba(18,66,49,.2); }
.brand-offer-campaign::before { content:""; position:absolute; inset:14px; border:1px solid rgba(255,255,255,.16); border-radius:24px; pointer-events:none; }
.brand-offer-decoration { position:absolute; inset-inline-end:-25px; bottom:-100px; font:900 330px/1 Arial; color:rgba(255,255,255,.055); pointer-events:none; }
.brand-offer-logo { position:relative; z-index:1; width:180px; height:180px; padding:20px; border-radius:36px; background:#fff; display:grid; place-items:center; box-shadow:0 20px 44px rgba(8,30,22,.22); }
.brand-offer-logo img { width:100%; height:100%; object-fit:contain; }
.brand-offer-logo span { color:var(--accent); font:900 70px/1 Arial; }
.brand-offer-copy { position:relative; z-index:1; min-width:0; }
.brand-offer-copy > small { color:#d8ffef; font-size:9px; font-weight:900; letter-spacing:.08em; }
.brand-offer-copy h2 { margin:8px 0 7px; font-size:clamp(30px,4vw,49px); line-height:1.25; }
.brand-offer-copy > p { max-width:650px; margin:0 0 18px; color:#e1f2eb; line-height:1.9; }
.brand-offer-discount { display:flex; align-items:center; gap:13px; }
.brand-offer-discount strong { font-size:40px; line-height:1; color:#fff; }
.brand-offer-discount span { max-width:250px; color:#dffff2; font-weight:800; }
.brand-offer-countdown { margin-top:22px; display:flex; flex-wrap:wrap; gap:8px; direction:ltr; }
.brand-offer-countdown > span { width:66px; min-height:63px; padding:8px 5px; border:1px solid rgba(255,255,255,.2); border-radius:14px; background:rgba(255,255,255,.1); display:grid; place-items:center; backdrop-filter:blur(7px); }
.brand-offer-countdown b { font-size:20px; line-height:1; }
.brand-offer-countdown small { color:#e1f2eb; font-size:8px; }
.brand-offer-countdown.is-ended { opacity:.55; }
.brand-offer-action { position:relative; z-index:1; display:grid; gap:14px; justify-items:stretch; }
.brand-offer-action > span { text-align:center; color:#e2f3ec; font-size:10px; font-weight:700; }
.brand-offer-action .button { min-height:50px; border:0; background:#fff; color:#247f5d; }
.single-product-offers .products-grid { grid-template-columns:repeat(4,minmax(0,1fr)); }

.setting-color-control { min-height:64px; padding:10px 14px; border:1px solid #d9e7e0; border-radius:15px; background:#f9fbfa; display:flex; align-items:center; gap:14px; }
.setting-color-control input[type=color] { width:54px; height:42px; padding:3px; border:0; border-radius:11px; background:#fff; cursor:pointer; }
.setting-color-control span { color:#63746d; font-size:11px; }
.hero-offer-card small, .hero-offer-card strong { transition:color .2s ease; }

@media (max-width:1180px) {
  .catalog-main .products-grid.catalog-view-comfort { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .catalog-main .products-grid.catalog-view-compact { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .brand-offer-campaign { grid-template-columns:150px minmax(0,1fr); }
  .brand-offer-logo { width:145px; height:145px; border-radius:28px; }
  .brand-offer-action { grid-column:1 / -1; grid-template-columns:1fr 240px; align-items:center; }
}
@media (max-width:820px) {
  .catalog-toolbar { grid-column:1 / -1; display:grid; grid-template-columns:auto minmax(0,1fr); }
  .catalog-view-switch { min-height:44px; }
  .catalog-main-head > .catalog-toolbar .custom-select { width:100% !important; }
  .catalog-main-head > .catalog-result-summary { grid-row:3 !important; }
  .catalog-main .products-grid.catalog-view-comfort,
  .catalog-main .products-grid.catalog-view-compact { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
  .catalog-main .products-grid.catalog-view-list .product-card { grid-template-columns:125px minmax(0,1fr); min-height:155px; }
  .catalog-main .products-grid.catalog-view-list .product-media { min-height:155px; }
  .catalog-main .products-grid.catalog-view-list .product-info { padding:13px; display:block; }
  .catalog-main .products-grid.catalog-view-list .product-info h3 { font-size:13px; }
  .catalog-main .products-grid.catalog-view-list .price-row { justify-content:flex-start; }
  .catalog-main .products-grid.catalog-view-list .add-cart-btn { width:100%; }
  .brand-offer-campaign { min-height:auto; padding:26px 20px; grid-template-columns:1fr; gap:20px; text-align:center; }
  .brand-offer-logo { width:125px; height:125px; margin:auto; border-radius:26px; }
  .brand-offer-discount, .brand-offer-countdown { justify-content:center; }
  .brand-offer-action { grid-column:auto; grid-template-columns:1fr; }
  .single-product-offers .products-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:480px) {
  .catalog-view-switch button { width:34px; }
  .catalog-main .products-grid.catalog-view-list .product-card { grid-template-columns:105px minmax(0,1fr); }
  .catalog-main .products-grid.catalog-view-list .product-media { min-height:145px; }
  .brand-offer-countdown > span { width:58px; }
  .single-product-offers .products-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; }
}



/* MY Habitat foundation — rich list product cards and premium brand campaign */
.product-card-heading { display:flex; align-items:center; justify-content:space-between; gap:10px; }
.product-card-stock { display:none; align-items:center; gap:6px; color:#6a7b74; font-size:9px; font-weight:900; }
.product-card-stock i { width:8px; height:8px; border-radius:50%; background:#a0a6a4; box-shadow:0 0 0 4px rgba(166,160,161,.12); }
.product-card-stock.is-available { color:#167346; }
.product-card-stock.is-available i { background:#27a867; box-shadow:0 0 0 4px rgba(39,168,103,.12); }
.product-card-stock.is-unavailable { color:#2b9a71; }
.product-card-stock.is-unavailable i { background:#37c6a0; box-shadow:0 0 0 4px rgba(55,198,160,.12); }
.product-card-extra { display:none; }
.product-card-sizes { display:flex; align-items:center; gap:7px; min-height:28px; }
.product-card-sizes i { width:20px; height:20px; border:3px solid #fff; border-radius:50%; background:var(--surface-muted); box-shadow:0 0 0 1px #d0d9d5,0 4px 10px rgba(13,45,33,.08); }
.product-card-sizes b { min-width:25px; height:25px; padding:0 6px; border-radius:999px; background:#edf7f3; color:var(--accent); display:grid; place-items:center; font-size:9px; }
.product-card-no-colors { color:#7c8b85; font-size:9px; font-weight:700; }
.catalog-main .products-grid.catalog-view-list .product-card { grid-template-columns:260px minmax(0,1fr); min-height:250px; border:1px solid #d9e7e0; background:linear-gradient(135deg,#fff 0%,#f9fbfa 100%); box-shadow:0 12px 32px rgba(3,62,46,.055); }
.catalog-main .products-grid.catalog-view-list .product-media { min-height:250px; background:#eff8f4; }
.catalog-main .products-grid.catalog-view-list .product-media img { object-fit:contain; padding:12px; }
.catalog-main .products-grid.catalog-view-list .product-info { padding:22px 25px; grid-template-columns:minmax(0,1fr) 190px; grid-template-rows:auto auto auto 1fr auto; align-content:stretch; gap:5px 25px; }
.catalog-main .products-grid.catalog-view-list .product-card-heading { grid-column:1; }
.catalog-main .products-grid.catalog-view-list .product-card-stock { display:inline-flex; }
.catalog-main .products-grid.catalog-view-list .product-info h3 { grid-column:1; font-size:20px; line-height:1.55; }
.catalog-main .products-grid.catalog-view-list .product-brand { grid-column:1; width:fit-content; padding:5px 9px; border-radius:999px; background:#eef7f3; color:#536e64; }
.catalog-main .products-grid.catalog-view-list .product-card-extra { grid-column:1; display:grid; align-content:start; gap:11px; margin-top:8px; }
.catalog-main .products-grid.catalog-view-list .product-card-extra > p { margin:0; max-width:760px; color:#606f69; font-size:11px; line-height:1.9; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.catalog-main .products-grid.catalog-view-list .product-card-facts { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; }
.catalog-main .products-grid.catalog-view-list .product-card-facts > span { min-height:54px; padding:8px 10px; border:1px solid #e6efeb; border-radius:12px; background:#fff; display:grid; grid-template-columns:26px 1fr; align-items:center; column-gap:7px; }
.catalog-main .products-grid.catalog-view-list .product-card-facts i { grid-row:1 / span 2; width:26px; height:26px; border-radius:8px; background:#eef7f3; color:var(--accent); display:grid; place-items:center; }
.catalog-main .products-grid.catalog-view-list .product-card-facts b { font-size:9px; }
.catalog-main .products-grid.catalog-view-list .product-card-facts small { color:#7b8b85; font-size:8px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.catalog-main .products-grid.catalog-view-list .price-row { grid-column:2; grid-row:1 / span 2; align-self:start; min-width:0; padding:16px; border-radius:17px; background:#fff; border:1px solid #d9e7e0; display:grid; justify-items:center; }
.catalog-main .products-grid.catalog-view-list .price-row strong { font-size:24px; }
.catalog-main .products-grid.catalog-view-list .add-cart-btn { grid-column:2; grid-row:4 / span 2; width:100%; min-height:48px; align-self:end; }
.catalog-main .products-grid.catalog-view-list .product-card-sizes { margin-top:1px; }

.brand-offer-campaign-premium { min-height:390px; padding:0; grid-template-columns:230px minmax(0,1fr) 250px; gap:0; isolation:isolate; background:linear-gradient(120deg,#0b261c 0%,#064b39 44%,#2d9f75 100%); box-shadow:0 30px 80px rgba(19,67,49,.28); }
.brand-offer-campaign-premium::before { inset:16px; border-radius:26px; }
.brand-offer-glow { position:absolute; border-radius:50%; filter:blur(2px); pointer-events:none; }
.brand-offer-glow-one { width:380px; height:380px; inset-inline-start:-160px; top:-170px; background:radial-gradient(circle,rgba(219,255,245,.3),transparent 68%); }
.brand-offer-glow-two { width:420px; height:420px; inset-inline-end:-180px; bottom:-230px; background:radial-gradient(circle,rgba(255,255,255,.15),transparent 68%); }
.brand-offer-watermark { position:absolute; inset-inline-end:22%; bottom:-120px; color:rgba(255,255,255,.035); font:900 360px/1 Arial; z-index:-1; }
.brand-offer-logo-stage { align-self:stretch; padding:35px 22px; background:linear-gradient(180deg,rgba(255,255,255,.98),rgba(255,238,240,.95)); color:#154b37; display:grid; align-content:center; justify-items:center; gap:12px; position:relative; z-index:2; }
.brand-offer-logo-stage::after { content:""; position:absolute; inset-inline-end:-18px; top:50%; width:36px; height:36px; border-radius:50%; background:#217556; transform:translateY(-50%); }
.brand-offer-logo-stage > small { padding:5px 10px; border-radius:999px; background:#eefff8; color:#2ea67a; font-size:8px; font-weight:900; letter-spacing:.08em; }
.brand-offer-logo-stage > b { max-width:180px; text-align:center; font-size:17px; }
.brand-offer-campaign-premium .brand-offer-logo { width:170px; height:170px; padding:14px; border-radius:30px; box-shadow:none; border:1px solid #e0eee8; }
.brand-offer-campaign-premium .brand-offer-logo img { object-fit:contain; filter:drop-shadow(0 10px 16px rgba(14,50,37,.08)); }
.brand-offer-campaign-premium .brand-offer-copy { padding:38px 42px; display:grid; align-content:center; }
.brand-offer-kicker { width:fit-content; padding:7px 11px; border:1px solid rgba(255,255,255,.18); border-radius:999px; background:rgba(255,255,255,.08); color:#dcfff1; display:flex; align-items:center; gap:7px; font-size:9px; font-weight:900; }
.brand-offer-campaign-premium .brand-offer-copy h2 { margin:13px 0 8px; font-size:clamp(31px,4vw,54px); }
.brand-offer-campaign-premium .brand-offer-copy > p { margin-bottom:16px; font-size:12px; }
.brand-offer-points { display:flex; flex-wrap:wrap; gap:9px; }
.brand-offer-points span { padding:8px 11px; border-radius:11px; background:rgba(255,255,255,.09); color:#eefff8; display:flex; align-items:center; gap:7px; font-size:9px; font-weight:800; }
.brand-offer-campaign-premium .brand-offer-countdown { margin-top:20px; }
.brand-offer-campaign-premium .brand-offer-action { align-self:stretch; padding:34px 24px; background:rgba(10,34,25,.24); display:grid; align-content:center; justify-items:center; gap:16px; }
.brand-offer-discount-orb { width:176px; height:176px; border:1px solid rgba(255,255,255,.24); border-radius:50%; background:radial-gradient(circle at 32% 25%,rgba(255,255,255,.25),rgba(255,255,255,.07) 54%,rgba(255,255,255,.02)); display:grid; align-content:center; justify-items:center; box-shadow:inset 0 0 0 9px rgba(255,255,255,.04),0 20px 45px rgba(7,25,18,.25); }
.brand-offer-discount-orb small,.brand-offer-discount-orb span { color:#dafff0; font-size:9px; font-weight:900; }
.brand-offer-discount-orb strong { font-size:58px; line-height:1; }
.brand-offer-discount-orb sup { font-size:22px; }
.brand-offer-campaign-premium .brand-offer-action .button { width:100%; min-height:50px; border-radius:14px; display:flex; align-items:center; justify-content:center; gap:10px; }
.brand-offer-campaign-premium .brand-offer-action em { color:#cff1e3; font-size:8px; font-style:normal; text-align:center; }
@media (max-width:980px) {
  .catalog-main .products-grid.catalog-view-list .product-card { grid-template-columns:220px minmax(0,1fr); }
  .catalog-main .products-grid.catalog-view-list .product-info { grid-template-columns:minmax(0,1fr) 160px; padding:18px; }
  .catalog-main .products-grid.catalog-view-list .product-card-facts { grid-template-columns:1fr 1fr; }
  .catalog-main .products-grid.catalog-view-list .product-card-facts > span:last-child { display:none; }
  .brand-offer-campaign-premium { grid-template-columns:190px minmax(0,1fr); }
  .brand-offer-campaign-premium .brand-offer-action { grid-column:1 / -1; grid-template-columns:auto 1fr; }
  .brand-offer-discount-orb { width:125px; height:125px; }
}
@media (max-width:700px) {
  .catalog-main .products-grid.catalog-view-list .product-card { grid-template-columns:120px minmax(0,1fr); min-height:190px; }
  .catalog-main .products-grid.catalog-view-list .product-media { min-height:190px; }
  .catalog-main .products-grid.catalog-view-list .product-info { display:block; padding:13px; }
  .catalog-main .products-grid.catalog-view-list .product-info h3 { font-size:13px; }
  .catalog-main .products-grid.catalog-view-list .product-card-extra { display:none; }
  .catalog-main .products-grid.catalog-view-list .price-row { margin-top:8px; padding:0; border:0; background:transparent; display:flex; justify-content:flex-start; }
  .catalog-main .products-grid.catalog-view-list .add-cart-btn { width:100%; min-height:40px; }
  .brand-offer-campaign-premium { grid-template-columns:1fr; text-align:center; }
  .brand-offer-logo-stage { padding:26px 20px; }
  .brand-offer-logo-stage::after { display:none; }
  .brand-offer-campaign-premium .brand-offer-copy { padding:26px 20px; justify-items:center; }
  .brand-offer-points { justify-content:center; }
  .brand-offer-campaign-premium .brand-offer-action { grid-column:auto; grid-template-columns:1fr; padding:24px 20px; }
}

/* MY Habitat foundation — catalog list cards and configurable loading */
.catalog-main .products-grid.catalog-view-list .product-card {
  grid-template-columns: 270px minmax(0,1fr) !important;
  min-height: 270px !important;
  align-items: stretch;
  overflow: hidden;
}
.catalog-main .products-grid.catalog-view-list .product-media {
  width: 100%;
  min-width: 0;
  min-height: 270px !important;
  height: 100% !important;
  aspect-ratio: auto !important;
  border-inline-end: 1px solid #e0eae6;
  background: #eff8f4;
}
.catalog-main .products-grid.catalog-view-list .product-media > a,
.catalog-main .products-grid.catalog-view-list .product-media > a img {
  display: block;
  width: 100%;
  height: 100%;
}
.catalog-main .products-grid.catalog-view-list .product-media img {
  padding: 0 !important;
  object-fit: cover !important;
  object-position: center;
}
.catalog-main .products-grid.catalog-view-list .product-info {
  min-width: 0;
  overflow: hidden;
  padding: 22px 25px !important;
  grid-template-columns: minmax(0,1fr) 190px !important;
  grid-template-rows: auto auto auto minmax(0,1fr) auto !important;
}
.catalog-main .products-grid.catalog-view-list .product-info > * { min-width: 0; }
.catalog-main .products-grid.catalog-view-list .product-card-heading,
.catalog-main .products-grid.catalog-view-list .product-info h3,
.catalog-main .products-grid.catalog-view-list .product-brand,
.catalog-main .products-grid.catalog-view-list .product-card-extra { grid-column: 1; }
.catalog-main .products-grid.catalog-view-list .product-card-extra {
  display: grid !important;
  align-content: start;
  gap: 11px;
  overflow: hidden;
}
.catalog-main .products-grid.catalog-view-list .product-card-extra > p {
  max-width: 100%;
  margin: 0;
  color: #5a6d65;
  font-size: 11px;
  line-height: 1.9;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.catalog-main .products-grid.catalog-view-list .product-card-facts {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 8px;
}
.catalog-main .products-grid.catalog-view-list .product-card-facts > span {
  min-width: 0;
  min-height: 58px;
  padding: 8px 10px;
  border: 1px solid #e4eeea;
  border-radius: 13px;
  background: #fff;
  display: grid;
  grid-template-columns: 28px minmax(0,1fr);
  align-items: center;
  gap: 2px 8px;
}
.catalog-main .products-grid.catalog-view-list .product-card-facts i {
  grid-row: 1 / span 2;
  width: 28px;
  height: 28px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  color: var(--accent);
  background: #eef7f3;
}
.catalog-main .products-grid.catalog-view-list .product-card-facts b { font-size: 9px; }
.catalog-main .products-grid.catalog-view-list .product-card-facts small {
  min-width: 0;
  color: #6f8079;
  font-size: 8px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.catalog-main .products-grid.catalog-view-list .price-row {
  grid-column: 2 !important;
  grid-row: 1 / span 2 !important;
  align-self: start;
}
.catalog-main .products-grid.catalog-view-list .add-cart-btn {
  grid-column: 2 !important;
  grid-row: 4 / span 2 !important;
  align-self: end;
}
.catalog-loading-navigation[data-loading-mode="load_more"],
.catalog-loading-navigation[data-loading-mode="infinite"] {
  min-height: 72px;
  margin-top: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.catalog-load-more {
  min-width: min(330px,100%);
  min-height: 58px;
  padding: 10px 22px;
  border: 1px solid rgba(11,128,96,.22);
  border-radius: 17px;
  background: linear-gradient(135deg,#fff,#f6fffb);
  color: var(--accent);
  display: grid;
  grid-template-columns: 34px 1fr;
  grid-template-rows: auto auto;
  align-items: center;
  text-align: start;
  font: inherit;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(22,80,59,.06);
}
.catalog-load-more > i { grid-row: 1 / span 2; width: 34px; height: 34px; border-radius: 11px; display:grid; place-items:center; color:#fff; background:var(--accent); }
.catalog-load-more > span { font-weight: 900; font-size: 12px; }
.catalog-load-more > small { color: var(--muted); font-size: 8px; }
.catalog-load-more:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(22,80,59,.1); }
.catalog-loading-navigation.is-loading .catalog-load-more { opacity: .55; pointer-events: none; }
.catalog-infinite-sentinel,.catalog-end-message {
  min-height: 48px;
  padding: 10px 18px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #5f766e;
  background: #f6fffb;
  font-size: 10px;
  font-weight: 800;
}
.catalog-end-message i { color: #16885b; }

@media (max-width: 980px) {
  .catalog-main .products-grid.catalog-view-list .product-card { grid-template-columns: 210px minmax(0,1fr) !important; }
  .catalog-main .products-grid.catalog-view-list .product-info { grid-template-columns: minmax(0,1fr) 155px !important; padding: 18px !important; }
  .catalog-main .products-grid.catalog-view-list .product-card-facts { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .catalog-main .products-grid.catalog-view-list .product-card-facts > span:nth-child(3) { grid-column: 1 / -1; }
}
@media (max-width: 680px) {
  .catalog-main .products-grid.catalog-view-list .product-card { grid-template-columns: 124px minmax(0,1fr) !important; min-height: 190px !important; }
  .catalog-main .products-grid.catalog-view-list .product-media { min-height: 190px !important; }
  .catalog-main .products-grid.catalog-view-list .product-info { display: block !important; padding: 12px !important; }
  .catalog-main .products-grid.catalog-view-list .product-card-extra { display: none !important; }
  .catalog-main .products-grid.catalog-view-list .price-row { margin-top: 8px; padding: 0; border: 0; background: transparent; display: flex; justify-content: flex-start; }
  .catalog-main .products-grid.catalog-view-list .add-cart-btn { width: 100%; min-height: 40px; margin-top: 8px; }
}

/* =========================================================
   MY Habitat foundation — premium load-more action
   ========================================================= */
.catalog-loading-navigation[data-loading-mode="load_more"] {
  min-height: 98px;
  margin-top: 34px;
}
.catalog-load-more {
  position: relative;
  isolation: isolate;
  min-width: min(390px,100%);
  min-height: 68px;
  padding: 11px 22px 11px 18px;
  border: 1px solid rgba(47,168,124,.18);
  border-radius: 22px;
  background: linear-gradient(135deg,#fff 0%,#f5faf7 52%,#f1fff9 100%);
  color: #2d9f75;
  grid-template-columns: 46px minmax(0,1fr) 30px;
  grid-template-rows: auto auto;
  column-gap: 13px;
  overflow: hidden;
  box-shadow: 0 16px 38px rgba(28,99,73,.09), inset 0 1px 0 rgba(255,255,255,.9);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease, color .22s ease;
}
.catalog-load-more::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(135deg,#2fa97c,#3bd4ab);
  opacity: 0;
  transition: opacity .22s ease;
}
.catalog-load-more::after {
  content: "→";
  font-family: Cairo, Arial, sans-serif;
  font-weight: 900;
  grid-column: 3;
  grid-row: 1 / span 2;
  align-self: center;
  justify-self: center;
  font-size: 13px;
  color: #32b384;
  transition: transform .22s ease, color .22s ease;
}
[dir="rtl"] .catalog-load-more::after { content: "←"; }
.catalog-load-more-icon {
  grid-column: 1;
  grid-row: 1 / span 2;
  width: 46px;
  height: 46px;
  border-radius: 15px;
  color:#fff;
  background:linear-gradient(145deg,#37c49e,#288f69);
  box-shadow:0 9px 22px rgba(46,166,122,.22);
  transition: transform .22s ease, background .22s ease, color .22s ease;
}
.catalog-load-more > span:not(.catalog-load-more-icon) {
  grid-column: 2;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0;
}
.catalog-load-more > small {
  grid-column: 2;
  color: #657e75;
  font-size: 9.5px;
  font-weight: 700;
  transition: color .22s ease;
}
.catalog-load-more:hover,
.catalog-load-more:focus-visible {
  transform: translateY(-3px);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 22px 46px rgba(7,83,61,.22);
  outline: none;
}
.catalog-load-more:hover::before,
.catalog-load-more:focus-visible::before { opacity: 1; }
.catalog-load-more:hover > .catalog-load-more-icon,
.catalog-load-more:focus-visible > .catalog-load-more-icon {
  color: #2fa77b;
  background: #fff;
  transform: rotate(90deg);
}
.catalog-load-more:hover > small,
.catalog-load-more:focus-visible > small,
.catalog-load-more:hover::after,
.catalog-load-more:focus-visible::after { color: rgba(255,255,255,.88); }
.catalog-load-more:hover::after,
.catalog-load-more:focus-visible::after { transform: translateX(-3px); }
[dir="ltr"] .catalog-load-more:hover::after,
[dir="ltr"] .catalog-load-more:focus-visible::after { transform: translateX(3px); }
.catalog-load-more:active { transform: translateY(-1px) scale(.995); }
.catalog-load-more.is-error {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  background: #f6fffb;
  color: #2ea579;
}
.catalog-load-more.is-error::after { display:none; }
@media (max-width:560px) {
  .catalog-load-more { min-width: 100%; min-height: 62px; border-radius: 18px; grid-template-columns: 40px minmax(0,1fr) 24px; padding-inline: 14px; }
  .catalog-load-more-icon { width:40px; height:40px; border-radius:13px; }
  .catalog-load-more > span { font-size:13px; }
}


/* foundation: draw the load-more plus without relying on an icon font. */
.catalog-load-more-icon {
  position: relative;
  display: block;
  align-self: center;
  justify-self: center;
}
.catalog-load-more-icon::before,
.catalog-load-more-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 2.5px;
  border-radius: 999px;
  background: currentColor;
  transform: translate(-50%,-50%);
}
.catalog-load-more-icon::after { transform: translate(-50%,-50%) rotate(90deg); }
.catalog-load-more:hover > .catalog-load-more-icon::before,
.catalog-load-more:hover > .catalog-load-more-icon::after,
.catalog-load-more:focus-visible > .catalog-load-more-icon::before,
.catalog-load-more:focus-visible > .catalog-load-more-icon::after { background: currentColor; }

.catalog-price-filter {
  padding-top: 2px;
}
.catalog-price-filter-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.catalog-price-filter-head label {
  margin: 0;
}
.catalog-price-filter-head output {
  color: var(--accent);
  font-size: 8px;
  font-weight: 900;
  white-space: nowrap;
}
.catalog-dual-range {
  height: 38px;
  margin-top: 10px;
  position: relative;
}
.catalog-dual-range-track {
  position: absolute;
  inset: 15px 0 auto;
  height: 6px;
  border-radius: 999px;
  background: #e6f0ec;
  overflow: hidden;
}
.catalog-dual-range-track span {
  position: absolute;
  top: 0;
  bottom: 0;
  border-radius: inherit;
  background: linear-gradient(90deg,#288e69,#3ad0a8);
}
.catalog-dual-range input[type="range"] {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 38px;
  margin: 0;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  pointer-events: none;
  touch-action: none;
}
[dir="rtl"] .catalog-dual-range input[type="range"] { direction: rtl; }
[dir="ltr"] .catalog-dual-range input[type="range"] { direction: ltr; }
.catalog-dual-range input[type="range"].is-active { z-index: 3; }
.catalog-dual-range input[type="range"]::-webkit-slider-runnable-track {
  height: 6px;
  background: transparent;
}
.catalog-dual-range input[type="range"]::-webkit-slider-thumb {
  width: 22px;
  height: 22px;
  margin-top: -8px;
  border: 4px solid #fff;
  border-radius: 50%;
  appearance: none;
  -webkit-appearance: none;
  background: var(--accent);
  box-shadow: 0 0 0 1px rgba(42,150,110,.24),0 7px 17px rgba(37,132,97,.22);
  pointer-events: auto;
  cursor: grab;
}
.catalog-dual-range input[type="range"]::-moz-range-track {
  height: 6px;
  background: transparent;
}
.catalog-dual-range input[type="range"]::-moz-range-thumb {
  width: 15px;
  height: 15px;
  border: 4px solid #fff;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 1px rgba(42,150,110,.24),0 7px 17px rgba(37,132,97,.22);
  pointer-events: auto;
  cursor: grab;
}
.catalog-dual-range input[type="range"]:disabled::-webkit-slider-thumb,
.catalog-dual-range input[type="range"]:disabled::-moz-range-thumb {
  opacity: .45;
  cursor: default;
}
.catalog-price-edge-labels {
  margin-top: 1px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #6d8078;
  font-size: 8px;
  font-weight: 800;
}
[dir="rtl"] .catalog-price-edge-labels { direction: rtl; }
[dir="ltr"] .catalog-price-edge-labels { direction: ltr; }
.filters-apply-panel {
  margin-top: 23px;
  padding-top: 17px;
  border-top: 1px solid #e6efeb;
}
.filters-apply-button {
  width: 100%;
  min-height: 52px;
  padding: 10px 16px;
  border: 0;
  border-radius: 15px;
  background: linear-gradient(135deg,#207254,#38c7a1);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font: inherit;
  font-size: 11px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(36,130,96,.2);
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.filters-apply-button b,
.filters-apply-button em {
  color: inherit;
  font: inherit;
  font-style: normal;
}
.filters-apply-button:hover,
.filters-apply-button:focus-visible {
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow: 0 17px 35px rgba(36,130,96,.27);
  outline: none;
}
.filters-apply-button.is-counting { opacity: .72; }
@media (max-width: 820px) {
  .filters-apply-panel {
    position: sticky;
    z-index: 5;
    bottom: -30px;
    margin: 24px -18px -30px;
    padding: 14px 18px 20px;
    border-top: 1px solid #e0eae6;
    background: rgba(255,255,255,.97);
    backdrop-filter: blur(10px);
  }
}
.filters-apply-button{
  position:relative;
  isolation:isolate;
  min-height:58px;
  border-radius:18px;
  font-size:14px;
  letter-spacing:.01em;
  overflow:visible;
  animation:gh-filter-results-pulse 1.75s ease-in-out infinite;
}
.filters-apply-button::after{
  content:"";
  position:absolute;
  z-index:-1;
  inset:-6px;
  border:2px solid rgba(56,199,161,.48);
  border-radius:23px;
  opacity:0;
  pointer-events:none;
  animation:gh-filter-results-ring 1.75s ease-out infinite;
}
.filters-apply-button span{font-size:15px;font-weight:950}
.filters-apply-button b{font-size:14px}
.filters-apply-button:hover,.filters-apply-button:focus-visible{animation-play-state:paused;transform:translateY(-3px) scale(1.015)}
.filters-apply-button:hover::after,.filters-apply-button:focus-visible::after{animation-play-state:paused;opacity:.55}
@keyframes gh-filter-results-pulse{
  0%,100%{transform:scale(1);box-shadow:0 12px 28px rgba(36,130,96,.22)}
  10%{transform:scale(1.045);box-shadow:0 18px 40px rgba(50,180,132,.38)}
  20%{transform:scale(1);box-shadow:0 12px 28px rgba(36,130,96,.22)}
  30%{transform:scale(1.028);box-shadow:0 16px 34px rgba(50,180,132,.31)}
  43%,78%{transform:scale(1);box-shadow:0 12px 28px rgba(36,130,96,.22)}
}
@keyframes gh-filter-results-ring{
  0%,12%{opacity:.66;transform:scale(.96)}
  42%{opacity:0;transform:scale(1.09)}
  100%{opacity:0;transform:scale(1.09)}
}
.search-brand-accordion{border:1px solid rgba(34,122,90,.2);border-radius:16px;background:linear-gradient(135deg,#f5fffb,#f6fffb);overflow:hidden;box-shadow:0 8px 22px rgba(27,96,71,.075)}
.search-brand-toggle{width:100%;min-height:62px;padding:10px 13px;border:0;background:linear-gradient(135deg,#217657,#34b995);color:#fff;display:grid;grid-template-columns:minmax(0,1fr) auto 34px;align-items:center;gap:10px;text-align:start;font:inherit;cursor:pointer}
.search-brand-toggle-copy{display:grid;gap:1px}
.search-brand-toggle-copy small{color:rgba(255,255,255,.72);font-size:8px;font-weight:900;letter-spacing:.12em}
.search-brand-toggle-copy b{font-size:13px;font-weight:950}
.search-brand-toggle>em{min-width:30px;height:30px;padding:0 8px;border-radius:999px;background:rgba(255,255,255,.17);display:grid;place-items:center;color:#fff;font-size:11px;font-style:normal;font-weight:900}
.search-brand-toggle>i{width:34px;height:34px;border-radius:11px;background:rgba(255,255,255,.13);display:grid;place-items:center;transition:transform .22s ease,background .22s ease}
.search-brand-accordion.is-open .search-brand-toggle>i{transform:rotate(180deg);background:rgba(255,255,255,.22)}
.search-brand-list{padding:9px;display:grid;gap:7px;background:#f6fffb}
.search-brand-list[hidden]{display:none}
.search-brand-result{min-height:64px;padding:7px 9px;border:1px solid #d6efe5;border-radius:14px;background:#fff;display:grid;grid-template-columns:48px minmax(0,1fr) 30px;align-items:center;gap:10px;color:#21342d;transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease,background .2s ease}
.search-brand-result:hover{transform:translateY(-1px);border-color:#7fcbb7;background:#f5fffb;box-shadow:0 8px 18px rgba(32,116,85,.08)}
.search-brand-logo,.search-brand-logo img{width:48px;height:48px}
.search-brand-logo{border:1px solid #ddeae5;border-radius:12px;background:#fff;display:grid;place-items:center;overflow:hidden}
.search-brand-logo img{padding:5px;object-fit:contain}
.search-brand-result>span:nth-child(2){min-width:0;display:grid;gap:1px}
.search-brand-result small{color:#2da076;font-size:8px;font-weight:900}
.search-brand-result b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}
.search-brand-result em{color:#6d877d;font-size:8px;font-style:normal;font-weight:700}
.search-brand-result>i{width:30px;height:30px;border-radius:10px;background:#f4fffa;color:#2ea579;display:grid;place-items:center}
[dir="ltr"] .search-brand-result>i{transform:rotate(180deg)}
.search-products-label{min-height:34px;padding:4px 4px 0;display:flex;align-items:center;justify-content:space-between;gap:10px;color:#465c54}
.search-products-label span{font-size:10px;font-weight:950}
.search-products-label em{min-width:25px;height:25px;padding:0 7px;border-radius:999px;background:#ecf5f1;color:#2a966e;display:grid;place-items:center;font-size:9px;font-style:normal;font-weight:900}
@media(max-width:620px){
  .filters-apply-button{min-height:60px;font-size:15px}
  .filters-apply-button span{font-size:16px}
  .search-brand-toggle{min-height:58px}
  .search-brand-result{grid-template-columns:46px minmax(0,1fr) 28px}
  .search-brand-logo,.search-brand-logo img{width:46px;height:46px}
}
@media(prefers-accentuced-motion:accentuce){
  .filters-apply-button,.filters-apply-button::after{animation:none}
}

.search-suggestions .search-brand-accordion{
  width:100%;
  min-width:0;
  border:1px solid #38c9a2;
  border-radius:20px;
  background:#f6fffb;
  overflow:hidden;
  box-shadow:0 14px 34px rgba(34,122,90,.14);
}
.header-search .search-suggestions .search-brand-toggle{
  width:100% !important;
  min-width:0 !important;
  height:auto !important;
  min-height:76px;
  margin:0 !important;
  padding:11px 13px !important;
  border:0;
  border-radius:18px;
  background:linear-gradient(135deg,#227a5a 0%,#35bd99 58%,#3ad0a8 100%);
  color:#fff;
  display:grid !important;
  grid-template-columns:44px minmax(0,1fr) auto 38px;
  align-items:center;
  gap:11px;
  text-align:start;
  font:inherit;
  cursor:pointer;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.16);
  transition:transform .2s ease,filter .2s ease,box-shadow .2s ease,border-radius .2s ease;
}
.header-search .search-suggestions .search-brand-toggle:hover,
.header-search .search-suggestions .search-brand-toggle:focus-visible{
  transform:translateY(-1px);
  filter:brightness(1.045);
  box-shadow:0 12px 24px rgba(32,113,83,.22),inset 0 1px 0 rgba(255,255,255,.19);
  outline:none;
}
.search-brand-accordion.is-open .search-brand-toggle{
  border-radius:18px 18px 8px 8px;
}
.search-brand-toggle-icon{
  width:44px;
  height:44px;
  border-radius:14px;
  background:rgba(255,255,255,.16);
  border:1px solid rgba(255,255,255,.2);
  display:grid;
  place-items:center;
  font-size:17px;
  color:#fff;
}
.search-brand-toggle-copy{
  min-width:0;
  display:grid;
  gap:1px;
}
.search-brand-toggle-copy small{
  color:rgba(255,255,255,.72);
  font-size:8px;
  font-weight:900;
  letter-spacing:.15em;
}
.search-brand-toggle-copy b{
  color:#fff;
  font-size:14px;
  line-height:1.45;
  font-weight:950;
}
.search-brand-toggle-copy span{
  overflow:hidden;
  color:rgba(255,255,255,.76);
  font-size:9px;
  font-weight:700;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.search-brand-toggle-count{
  min-width:52px;
  min-height:44px;
  padding:5px 9px;
  border-radius:14px;
  background:#fff;
  color:#2ea479;
  display:grid;
  place-items:center;
  align-content:center;
  gap:0;
  box-shadow:0 7px 16px rgba(22,77,57,.15);
}
.search-brand-toggle-count strong{
  font-size:15px;
  line-height:1;
  font-weight:950;
}
.search-brand-toggle-count small{
  color:#2ea479;
  font-size:7px;
  font-weight:900;
}
.search-brand-toggle-arrow{
  width:38px;
  height:38px;
  border-radius:12px;
  background:rgba(255,255,255,.15);
  border:1px solid rgba(255,255,255,.18);
  display:grid;
  place-items:center;
  color:#fff;
  transition:transform .22s ease,background .22s ease;
}
.search-brand-accordion.is-open .search-brand-toggle-arrow{
  transform:rotate(180deg);
  background:rgba(255,255,255,.25);
}
.search-brand-list{
  padding:11px;
  display:grid;
  gap:8px;
  background:linear-gradient(180deg,#f5fffb,#f7faf8);
  border-top:1px solid rgba(56,201,162,.16);
}
.search-brand-result{
  width:100%;
  min-height:70px;
  padding:8px 10px;
  border:1px solid #cbeddf;
  border-inline-start:4px solid #38c7a1;
  border-radius:15px;
  background:#fff;
  display:grid;
  grid-template-columns:52px minmax(0,1fr) 34px;
  align-items:center;
  gap:11px;
  color:#21342d;
  box-shadow:0 7px 18px rgba(24,85,63,.055);
  transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease,background .2s ease;
}
.search-brand-result:hover,
.search-brand-result:focus-visible{
  transform:translateY(-2px);
  border-color:#71cfb6;
  border-inline-start-color:#278d68;
  background:#f5faf7;
  box-shadow:0 12px 25px rgba(29,105,77,.11);
  outline:none;
}
.search-brand-logo,
.search-brand-logo img{
  width:52px;
  height:52px;
}
.search-brand-logo{
  border:1px solid #dae9e3;
  border-radius:14px;
  background:#fff;
  display:grid;
  place-items:center;
  overflow:hidden;
  box-shadow:0 4px 12px rgba(21,76,56,.06);
}
.search-brand-logo img{
  padding:5px;
  object-fit:contain;
}
.search-brand-result small{
  color:#32b182;
  font-size:8px;
  font-weight:950;
}
.search-brand-result b{
  overflow:hidden;
  color:#1e2f29;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:13px;
  font-weight:950;
}
.search-brand-result em{
  color:#688077;
  font-size:9px;
  font-style:normal;
  font-weight:750;
}
.search-brand-result>i{
  width:34px;
  height:34px;
  border-radius:11px;
  background:#38c7a1;
  color:#fff;
  display:grid;
  place-items:center;
  box-shadow:0 7px 14px rgba(21,157,145,.18);
}
[dir="ltr"] .search-brand-result>i{
  transform:rotate(180deg);
}
@media(max-width:620px){
  .header-search .search-suggestions .search-brand-toggle{
    min-height:70px;
    grid-template-columns:40px minmax(0,1fr) auto 34px;
    gap:8px;
    padding:9px 10px !important;
  }
  .search-brand-toggle-icon{
    width:40px;
    height:40px;
    border-radius:12px;
    font-size:15px;
  }
  .search-brand-toggle-copy b{font-size:13px}
  .search-brand-toggle-copy span{font-size:8px}
  .search-brand-toggle-count{
    min-width:46px;
    min-height:40px;
    padding-inline:7px;
    border-radius:12px;
  }
  .search-brand-toggle-arrow{
    width:34px;
    height:34px;
    border-radius:10px;
  }
  .search-brand-result{
    grid-template-columns:48px minmax(0,1fr) 32px;
    min-height:66px;
    padding:7px 8px;
    gap:9px;
  }
  .search-brand-logo,.search-brand-logo img{width:48px;height:48px}
}

.header-search .search-suggestions > .search-brand-accordion {
  width: 100%;
  min-width: 0;
  margin: 0;
  border: 1px solid #34b995;
  border-radius: 18px;
  background: #34b995;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(32,113,83, .18);
}
.header-search .search-suggestions > .search-brand-accordion > .search-brand-toggle {
  appearance: none;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  height: auto !important;
  min-height: 68px !important;
  margin: 0 !important;
  padding: 10px 12px !important;
  border: 0 !important;
  border-radius: 17px !important;
  background: linear-gradient(135deg, #278d68 0%, #35bd99 58%, #3ad0a8 100%) !important;
  color: #fff !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  text-align: start !important;
  font-family: Cairo, sans-serif !important;
  cursor: pointer !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255, .18) !important;
}
.header-search .search-suggestions > .search-brand-accordion.is-open > .search-brand-toggle {
  border-radius: 17px 17px 8px 8px !important;
}
.header-search .search-brand-toggle-icon {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border: 1px solid rgba(255,255,255, .22);
  border-radius: 14px;
  background: rgba(255,255,255, .15);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 16px;
}
.header-search .search-brand-toggle-copy {
  min-width: 0;
  flex: 1 1 auto;
  display: grid;
  gap: 1px;
}
.header-search .search-brand-toggle-copy small {
  color: rgba(255,255,255, .72) !important;
  font-size: 8px !important;
  font-weight: 900 !important;
  letter-spacing: .14em;
}
.header-search .search-brand-toggle-copy b {
  color: #fff !important;
  font-size: 15px !important;
  line-height: 1.45;
  font-weight: 950 !important;
}
.header-search .search-brand-toggle-copy span {
  overflow: hidden;
  color: rgba(255,255,255, .82) !important;
  font-size: 9px !important;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.header-search .search-brand-toggle-count {
  min-width: 52px;
  min-height: 44px;
  flex: 0 0 auto;
  padding: 5px 9px;
  border-radius: 14px;
  background: #fff !important;
  color: #2ea67a !important;
  display: grid;
  place-items: center;
  align-content: center;
  box-shadow: 0 7px 16px rgba(20,70,52, .16);
}
.header-search .search-brand-toggle-count strong,
.header-search .search-brand-toggle-count small {
  color: #2ea67a !important;
}
.header-search .search-brand-toggle-count strong {
  font-size: 15px;
  line-height: 1;
  font-weight: 950;
}
.header-search .search-brand-toggle-count small {
  font-size: 7px !important;
  font-weight: 900;
}
.header-search .search-brand-toggle-arrow {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border: 1px solid rgba(255,255,255, .2);
  border-radius: 12px;
  background: rgba(255,255,255, .15);
  color: #fff;
  display: grid;
  place-items: center;
  transition: transform .22s ease, background .22s ease;
}
.header-search .search-brand-accordion.is-open .search-brand-toggle-arrow {
  transform: rotate(180deg);
  background: rgba(255,255,255, .25);
}
.header-search .search-brand-list {
  padding: 10px;
  display: grid;
  gap: 8px;
  border-top: 1px solid rgba(255,255,255, .16);
  background: linear-gradient(180deg, #f4fffa, #f7faf8);
}
.header-search .search-brand-list[hidden] { display: none !important; }
.header-search .search-brand-result {
  width: 100%;
  min-width: 0;
  min-height: 68px;
  padding: 8px 10px;
  border: 1px solid #cbeddf;
  border-inline-start: 4px solid #35bd99;
  border-radius: 15px;
  background: #fff;
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr) 34px;
  align-items: center;
  gap: 10px;
  color: #21342d;
  box-shadow: 0 6px 16px rgba(24,86,63, .05);
}
.header-search .search-brand-result:hover,
.header-search .search-brand-result:focus-visible {
  border-color: #75ceb6;
  border-inline-start-color: #278d68;
  background: #f6fffb;
  transform: translateY(-1px);
  outline: none;
}
.header-search .search-brand-result > i {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  background: #35bd99;
  color: #fff;
  display: grid;
  place-items: center;
}
@media (max-width: 620px) {
  .header-search .search-suggestions > .search-brand-accordion > .search-brand-toggle {
    min-height: 64px !important;
    padding: 9px 10px !important;
    gap: 8px !important;
  }
  .header-search .search-brand-toggle-icon {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
    border-radius: 12px;
  }
  .header-search .search-brand-toggle-copy b { font-size: 13px !important; }
  .header-search .search-brand-toggle-copy span { display: none; }
  .header-search .search-brand-toggle-count {
    min-width: 45px;
    min-height: 40px;
    padding-inline: 7px;
    border-radius: 12px;
  }
  .header-search .search-brand-toggle-arrow {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
    border-radius: 10px;
  }
  .header-search .search-brand-result {
    grid-template-columns: 46px minmax(0, 1fr) 32px;
    min-height: 64px;
    padding: 7px 8px;
  }
  .header-search .search-brand-logo,
  .header-search .search-brand-logo img {
    width: 46px;
    height: 46px;
  }
}
