:root {
  --blue: #216ee8;
  --teal: #0fa69a;
  --dark: #132236;
  --muted: #667085;
  --line: #e5edf4;
  --soft: #f5f9fb;
  --danger: #f05d5e;
  --gold: #f5ad2f;
  --hero-soft: #eefbf8;
  --footer-bg: #0d1827;
  --shadow: 0 18px 44px rgba(19, 34, 54, .11);
}

:root[data-theme="emerald"] {
  --blue: #078669;
  --teal: #1dbf73;
  --dark: #10251d;
  --soft: #f0fbf5;
  --danger: #e35d46;
  --gold: #d99b20;
  --hero-soft: #ecfbf3;
  --footer-bg: #0b1d16;
}

:root[data-theme="sapphire"] {
  --blue: #175cd3;
  --teal: #0891b2;
  --dark: #10233f;
  --soft: #f1f7ff;
  --danger: #e55573;
  --gold: #e5a526;
  --hero-soft: #eef6ff;
  --footer-bg: #0a1830;
}

:root[data-theme="rose"] {
  --blue: #be3455;
  --teal: #f9737f;
  --dark: #321522;
  --soft: #fff5f7;
  --danger: #e14f4f;
  --gold: #d99024;
  --hero-soft: #fff1f4;
  --footer-bg: #241018;
}

:root[data-theme="indigo"] {
  --blue: #4f46e5;
  --teal: #14b8a6;
  --dark: #1e1b4b;
  --soft: #f5f4ff;
  --danger: #e04f76;
  --gold: #e2a62b;
  --hero-soft: #f3f4ff;
  --footer-bg: #151337;
}

:root[data-theme="sunrise"] {
  --blue: #d89200;
  --teal: #facc15;
  --dark: #2f2408;
  --soft: #fff9e8;
  --danger: #e85d3f;
  --gold: #f59e0b;
  --hero-soft: #fff7d6;
  --footer-bg: #241b05;
}

:root[data-theme="purple"] {
  --blue: #7c3aed;
  --teal: #c026d3;
  --dark: #26133f;
  --soft: #faf5ff;
  --danger: #ef476f;
  --gold: #f4b740;
  --hero-soft: #f7f0ff;
  --footer-bg: #1c0f2e;
}

:root[data-theme="amethyst"] {
  --blue: #9333ea;
  --teal: #06b6d4;
  --dark: #231942;
  --soft: #f7f2ff;
  --danger: #e84a7a;
  --gold: #eab308;
  --hero-soft: #f5edff;
  --footer-bg: #180f2b;
}

body {
  color: var(--dark);
  font-family: "Segoe UI", Arial, sans-serif;
  background: #fff;
}

a { color: inherit; text-decoration: none; }
.btn { border-radius: 8px; font-weight: 800; padding: 10px 18px; }
.btn-primary { background: var(--blue); border-color: var(--blue); box-shadow: 0 10px 20px rgba(33, 110, 232, .18); }
.btn-outline-primary { color: var(--blue); border-color: rgba(33, 110, 232, .35); }
.topbar { padding: 9px 0; color: #fff; background: var(--teal); font-size: 14px; }
.site-nav-wrap { z-index: 1020; background: #fff; }
.navbar { min-height: 74px; }
.navbar-brand img, .offcanvas-header img { width: 150px; max-height: 62px; object-fit: contain; }
.search-form { width: min(620px, 48vw); display: grid; grid-template-columns: 172px 1fr 54px; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: #fff; }
.search-form:focus-within { border-color: color-mix(in srgb, var(--blue) 40%, var(--line)); box-shadow: 0 0 0 4px color-mix(in srgb, var(--blue) 10%, transparent); }
.search-form .form-select, .search-form .form-control, .search-form .btn { min-height: 46px; border: 0; border-radius: 0; }
.nav-icons { align-items: center; gap: 18px; }
.nav-icons a { position: relative; display: grid; place-items: center; color: var(--muted); font-size: 12px; font-weight: 800; transition: color .2s ease, transform .2s ease; }
.nav-icons a:hover { color: var(--blue); transform: translateY(-2px); }
.nav-icons i { color: var(--dark); font-size: 20px; transition: color .2s ease; }
.nav-icons a:hover i { color: var(--blue); }
.cart-count, .wishlist-count { display: inline-grid; place-items: center; min-width: 19px; height: 19px; border-radius: 20px; color: #fff; background: var(--danger); font-size: 11px; }
.nav-icons .cart-count, .nav-icons .wishlist-count { position: absolute; top: -8px; right: 8px; }
.mobile-search { padding-bottom: 12px; }
.mobile-search .search-form { width: 100%; grid-template-columns: 1fr 54px; }
.mobile-links a { display: block; padding: 13px 0; border-bottom: 1px solid var(--line); font-weight: 800; }
.mobile-links a:hover { color: var(--blue); }
.mobile-menu-search { display: grid; grid-template-columns: 1fr 52px; gap: 8px; margin-bottom: 14px; }
.mobile-menu-search .form-control { min-height: 46px; border-radius: 8px; border-color: var(--line); }

.desktop-menu {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.desktop-menu .container {
  min-height: 48px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  row-gap: 0;
  padding-top: 6px;
  padding-bottom: 6px;
}

.desktop-menu a,
.category-menu-btn {
  position: relative;
  border: 0;
  color: var(--dark);
  background: transparent;
  font-size: 14px;
  font-weight: 900;
  transition: color .2s ease;
}

.desktop-menu a:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -12px;
  height: 3px;
  border-radius: 6px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .2s ease;
}

.desktop-menu a:hover,
.category-menu-btn:hover { color: var(--blue); }

.desktop-menu a:hover:after { transform: scaleX(1); }

.category-menu-btn {
  min-width: 190px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  align-self: stretch;
  padding: 0 16px;
  color: #fff;
  background: var(--blue);
  border-radius: 0 0 8px 8px;
}

.category-dropdown {
  width: 260px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.category-dropdown .dropdown-item {
  border-radius: 7px;
  padding: 10px 12px;
  font-weight: 800;
}

.category-dropdown .dropdown-item:hover {
  color: var(--blue);
  background: var(--soft);
}

.menu-cta {
  margin-left: auto;
  padding: 9px 13px;
  border-radius: 8px;
  color: #fff !important;
  background: var(--teal);
}

.menu-cta:after { display: none; }

.theme-switcher {
  position: fixed;
  right: 18px;
  top: 190px;
  z-index: 1030;
}

.theme-toggle {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.45);
  border-radius: 50%;
  color: #fff;
  background: var(--blue);
  box-shadow: var(--shadow);
}

.theme-panel {
  position: absolute;
  right: 0;
  top: 56px;
  width: 220px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,.96);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: .2s ease;
}

.theme-switcher.open .theme-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.theme-panel strong {
  display: block;
  margin-bottom: 10px;
  font-size: 13px;
}

.theme-panel div {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.theme-dot {
  width: 26px;
  height: 26px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--dot-a), var(--dot-b));
  box-shadow: 0 0 0 1px var(--line);
}

.theme-dot.active {
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--blue) 28%, transparent);
}

.hero { padding: 18px 0 0; background: linear-gradient(180deg, var(--hero-soft) 0%, #fff 100%); }
.hero-grid { min-height: 430px; display: grid; grid-template-columns: 1fr 420px; gap: 34px; align-items: center; padding-top: 34px; padding-bottom: 34px; }
.label { color: var(--teal); font-size: 13px; font-weight: 900; text-transform: uppercase; }
.hero h1 { max-width: 720px; margin: 10px 0 14px; font-size: 48px; line-height: 1.04; font-weight: 900; }
.hero p, .page-heading p, .about-grid p { color: var(--muted); font-size: 18px; }
.hero-product { position: relative; display: grid; place-items: center; }
.hero-product img { width: min(310px, 92%); border-radius: 8px; filter: drop-shadow(0 22px 26px rgba(19, 34, 54, .16)); }
.floating-card { position: absolute; right: 0; bottom: 40px; display: grid; padding: 16px 18px; border-radius: 8px; background: #fff; box-shadow: var(--shadow); }
.floating-card span { color: var(--muted); font-size: 13px; }
.product-cluster { display: flex; align-items: center; justify-content: center; }
.product-cluster img { width: 145px; aspect-ratio: 1; object-fit: contain; margin-left: -34px; padding: 12px; border-radius: 8px; background: #fff; box-shadow: var(--shadow); }
.product-cluster img:first-child { margin-left: 0; }
.privacy-strip { padding: 18px 0; color: #fff; background: var(--dark); font-weight: 700; }

.inner-hero {
  position: relative;
  padding: 46px 0;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(135deg, color-mix(in srgb, var(--dark) 96%, transparent), color-mix(in srgb, var(--teal) 92%, transparent)), url("../images/logo-mark.png") right 10% center / 210px no-repeat;
}
.inner-hero h1 { margin: 6px 0 8px; font-size: 40px; font-weight: 900; }
.inner-hero p { max-width: 660px; margin: 0; color: rgba(255,255,255,.78); font-size: 18px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; color: rgba(255,255,255,.86); font-weight: 800; }
.detail-info .crumbs { color: var(--muted); margin-bottom: 16px; }
.page { padding-top: 44px; padding-bottom: 68px; }
.section { margin-top: 46px; }
.section-title { margin-bottom: 18px; }
.section-title h2, .page-heading h1, .about-grid h1, .product-detail h1 { margin: 6px 0 0; font-weight: 900; }
.page-heading { max-width: 760px; margin-bottom: 30px; }
.page-heading h1 { font-size: 42px; }
.view-link { color: var(--blue); font-weight: 900; }

.category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.category-grid a, .feature-card, .account-card, .policy-card, .blog-card {
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  transition: .22s ease;
}
.category-grid a { min-height: 118px; background: linear-gradient(180deg, #fff, var(--soft)); }
.category-grid a:hover, .product-card:hover, .feature-card:hover, .account-card:hover, .policy-card:hover, .blog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.category-grid i, .feature-card i, .account-card i, .contact-card i { width: 44px; height: 44px; display: grid; place-items: center; color: var(--blue); background: color-mix(in srgb, var(--blue) 10%, #fff); border-radius: 8px; font-size: 20px; }
.category-grid span, .feature-card span, .account-card span { color: var(--muted); }

.concern-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.concern-grid a {
  min-height: 86px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(135deg, #fff, var(--soft));
  box-shadow: 0 8px 22px rgba(19, 34, 54, .05);
  font-weight: 900;
  transition: .22s ease;
}

.concern-grid a:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--blue) 28%, var(--line));
  box-shadow: var(--shadow);
}

.concern-grid i {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  flex: 0 0 46px;
}

.product-card { height: 100%; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: #fff; transition: .22s ease; }
.product-image { position: relative; height: 205px; display: grid; place-items: center; background: var(--soft); overflow: hidden; }
.product-image img { width: 82%; height: 82%; object-fit: contain; transition: .22s ease; }
.product-card:hover .product-image img { transform: scale(1.06); }
.product-image span, .detail-image span { position: absolute; top: 12px; left: 12px; z-index: 2; padding: 5px 9px; border-radius: 6px; color: #fff; background: var(--danger); font-size: 12px; font-weight: 900; }
.product-image em { position: absolute; bottom: 12px; padding: 8px 12px; border-radius: 8px; color: #fff; background: rgba(19, 34, 54, .9); font-style: normal; font-weight: 800; opacity: 0; transform: translateY(12px); transition: .2s ease; }
.product-card:hover .product-image em { opacity: 1; transform: translateY(0); }
.product-body { display: grid; gap: 7px; padding: 14px; }
.product-category { color: var(--teal); font-size: 12px; font-weight: 900; text-transform: uppercase; }
.product-body h3 { min-height: 44px; margin: 0; font-size: 15px; line-height: 1.34; font-weight: 900; }
.product-body p { min-height: 40px; margin: 0; color: var(--muted); font-size: 13px; }
.stars { color: var(--gold); font-size: 13px; }
.stars small { color: var(--muted); }
.price { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.price strong { color: var(--blue); font-size: 18px; }
.price del { color: #98a2b3; font-size: 14px; }
.price b { color: var(--danger); font-size: 13px; }
.actions { display: flex; gap: 8px; }
.actions .btn { flex: 1; }
.icon-button { width: 38px; border: 1px solid var(--line); border-radius: 8px; color: var(--dark); background: #fff; transition: .2s ease; }
.icon-button:hover, .icon-button.active { color: #fff; background: var(--teal); border-color: var(--teal); }

.deal-band { margin-top: 52px; padding: 46px 0; color: #fff; background: linear-gradient(135deg, var(--dark) 0%, var(--teal) 100%); }
.deal-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 34px; align-items: center; }
.deal-grid p { color: rgba(255, 255, 255, .78); }
.mini-products { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.mini-products a, .checkout-item { display: grid; grid-template-columns: 82px 1fr; gap: 14px; align-items: center; padding: 12px; border-radius: 8px; color: var(--dark); background: #fff; }
.mini-products img, .checkout-item img { width: 82px; height: 82px; object-fit: contain; border-radius: 8px; background: var(--soft); }
.mini-products span, .checkout-item div { display: grid; gap: 2px; }
.mini-products small, .checkout-item span { color: var(--muted); }
.mini-products b { color: var(--blue); }

.benefits, .stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.benefits div, .stats-grid div { display: grid; gap: 4px; padding: 24px; border-right: 1px solid var(--line); }
.benefits div:last-child, .stats-grid div:last-child { border-right: 0; }
.benefits i { color: var(--blue); font-size: 28px; }
.benefits span, .stats-grid span { color: var(--muted); }
.stats-grid strong { color: var(--blue); font-size: 34px; }

.filter-box, .summary-card, .checkout-form, .contact-card, .cart-row, .coupon-card, .detail-gallery, .detail-info, .dashboard-panel, .table-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 26px rgba(19, 34, 54, .05);
}
.filter-box { position: sticky; top: 96px; padding: 22px; }
.filter-box h2, .summary-card h2, .checkout-form h2, .dashboard-panel h2 { font-size: 20px; font-weight: 900; }
.category-filters label { display: flex; gap: 10px; padding: 9px 0; color: var(--muted); font-weight: 800; }
.category-filters input, .checkout-form input[type="radio"] { accent-color: var(--blue); }
.shop-toolbar { min-height: 54px; display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 8px; background: var(--soft); }
.shop-toolbar .form-select { width: 220px; }

.product-detail { display: grid; grid-template-columns: minmax(280px, 520px) 1fr; gap: 34px; align-items: start; }
.detail-gallery, .detail-info { padding: 22px; }
.detail-image { position: relative; min-height: 475px; display: grid; place-items: center; border-radius: 8px; background: var(--soft); overflow: hidden; }
.detail-image img { width: 82%; max-height: 400px; object-fit: contain; transition: .25s ease; }
.detail-image:hover img { transform: scale(1.04); }
.thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 12px; }
.thumbs button { height: 86px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.thumbs img { width: 100%; height: 100%; object-fit: contain; }
.detail-price strong { font-size: 30px; }
.price-summary { display: grid; gap: 4px; margin: 18px 0; padding: 16px; border-radius: 8px; background: var(--soft); }
.price-summary p { margin: 0; color: var(--muted); }
.stock { color: var(--teal); font-weight: 900; }

.cart-row { display: grid; grid-template-columns: 92px 1fr 80px 120px 86px; gap: 14px; align-items: center; padding: 14px; margin-bottom: 12px; }
.cart-row img { width: 92px; height: 92px; object-fit: contain; border-radius: 8px; background: var(--soft); }
.cart-row span { display: block; color: var(--muted); }
.cart-row input { height: 42px; border: 1px solid var(--line); border-radius: 8px; padding: 0 8px; }
.coupon-card { display: grid; grid-template-columns: 42px 1fr auto; gap: 10px; align-items: center; margin-top: 16px; padding: 16px; }
.coupon-card i { color: var(--blue); font-size: 22px; }
.summary-card { display: grid; gap: 12px; padding: 22px; }
.summary-card p { display: flex; justify-content: space-between; margin: 0; }
.checkout-form { display: grid; gap: 14px; padding: 24px; }
.checkout-form .form-control, .checkout-form .form-select { min-height: 48px; border-color: var(--line); border-radius: 8px; }
.checkout-form textarea { min-height: 120px; }
.checkout-progress { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 24px; }
.checkout-progress span { padding: 13px; border-radius: 8px; background: var(--soft); font-weight: 900; text-align: center; }
.checkout-progress span:first-child { color: #fff; background: var(--blue); }

.empty-state { display: grid; place-items: center; gap: 14px; min-height: 320px; padding: 32px; border: 1px dashed #b9cede; border-radius: 8px; background: var(--soft); text-align: center; }
.empty-state i { color: var(--blue); font-size: 42px; }
.about-grid { display: grid; grid-template-columns: 1fr 420px; gap: 40px; align-items: center; }
.about-grid h1 { font-size: 42px; }
.about-grid img { padding: 22px; border-radius: 8px; background: var(--soft); }
.benefit-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.benefit-tags span { padding: 9px 12px; border-radius: 8px; color: #0b837b; background: #dff7f2; font-weight: 800; }
.about-timeline { display: grid; gap: 14px; }
.about-timeline div { padding: 20px; border-left: 4px solid var(--teal); border-radius: 8px; background: var(--soft); }

.contact-card { display: flex; align-items: center; gap: 12px; margin-top: 12px; padding: 16px; }
.contact-card i { flex: 0 0 48px; }
.map-panel { min-height: 260px; display: grid; place-items: center; border-radius: 8px; color: var(--muted); background: linear-gradient(135deg, #edf4ff, #e9faf7); text-align: center; }
.account-grid, .policy-grid, .blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.account-card { min-height: 170px; }
.dashboard-panel { padding: 24px; }
.table-card { overflow-x: auto; }
.table-card table { width: 100%; border-collapse: collapse; }
.table-card th, .table-card td { padding: 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.status { display: inline-flex; padding: 6px 10px; border-radius: 30px; color: #8a5400; background: #fff2d8; font-weight: 900; }
.status.delivered { color: #0b837b; background: #dff7f2; }
.blog-card { padding: 0; overflow: hidden; }
.blog-card img { width: 100%; height: 210px; object-fit: contain; padding: 24px; background: var(--soft); }
.blog-card div { padding: 22px; }
.blog-card h2 { font-size: 22px; font-weight: 900; }
.policy-card h2 { font-size: 22px; font-weight: 900; }
.policy-card p, .blog-card p { color: var(--muted); }
.cta-panel { padding: 34px; border-radius: 8px; color: #fff; background: linear-gradient(135deg, var(--dark), var(--teal)); }

.site-toast { position: fixed; right: 20px; bottom: 20px; z-index: 1000; max-width: 360px; padding: 14px 18px; border-radius: 8px; color: #fff; background: var(--dark); box-shadow: var(--shadow); }
.footer { padding-top: 54px; color: #d9e5ef; background: var(--footer-bg); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 34px; }
.footer img { width: 150px; margin-bottom: 16px; padding: 4px; border-radius: 8px; background: #fff; }
.footer h2 { color: #fff; font-size: 18px; font-weight: 900; }
.footer a { display: block; margin: 9px 0; color: #d9e5ef; }
.footer-bottom { margin-top: 38px; padding: 16px; border-top: 1px solid rgba(255, 255, 255, .1); color: #aec4d5; text-align: center; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
.reveal.show { opacity: 1; transform: translateY(0); }
.cursor-dot, .cursor-ring { position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9999; border-radius: 50%; transform: translate(-50%, -50%); }
.cursor-dot { width: 7px; height: 7px; margin: -3px 0 0 -3px; background: var(--teal); }
.cursor-ring { width: 34px; height: 34px; margin: -17px 0 0 -17px; border: 1px solid rgba(15, 166, 154, .5); transition: width .18s ease, height .18s ease, margin .18s ease, background .18s ease; }
.cursor-ring.cursor-hover { width: 52px; height: 52px; margin: -26px 0 0 -26px; background: rgba(15, 166, 154, .08); }

@media (max-width: 991px) {
  .topbar { font-size: 12px; }
  .topbar .container { justify-content: center !important; text-align: center; }
  .navbar { min-height: 68px; }
  .navbar .container { gap: 10px; }
  .navbar-brand img { width: 132px; }
  .navbar-toggler { border-color: var(--line); border-radius: 8px; padding: 8px 10px; }
  .mobile-search { padding-top: 0; }
  .site-nav-wrap { position: sticky; top: 0; }
  .theme-switcher { top: auto; right: 14px; bottom: 18px; }
  .theme-toggle { width: 42px; height: 42px; }
  .theme-panel { top: auto; bottom: 52px; }
  .inner-hero { padding: 52px 0; background-size: 180px; background-position: right -20px center; }
  .hero-grid, .deal-grid, .product-detail, .about-grid { grid-template-columns: 1fr; }
  .hero-grid { min-height: auto; gap: 24px; }
  .hero h1, .inner-hero h1 { font-size: 40px; }
  .hero-product { min-height: 280px; }
  .category-grid, .concern-grid, .benefits, .stats-grid, .footer-grid, .mini-products, .account-grid, .policy-grid, .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .filter-box { position: static; }
  .detail-image { min-height: 380px; }
  .footer-grid { gap: 24px; }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .search-form { width: min(520px, 44vw); grid-template-columns: 150px 1fr 50px; }
  .desktop-menu .container { gap: 13px; }
  .desktop-menu a, .category-menu-btn { font-size: 13px; }
  .category-menu-btn { min-width: 168px; }
  .menu-cta { margin-left: 0; }
  .nav-icons { gap: 12px; }
}

@media (max-width: 575px) {
  body { overflow-x: hidden; }
  .topbar span:first-child { display: none; }
  .navbar-brand img { width: 116px; }
  .mobile-search .search-form { min-width: 0; }
  .mobile-search .form-control { min-width: 0; }
  .inner-hero { padding: 42px 0; background-image: linear-gradient(135deg, var(--dark), var(--teal)); }
  .hero h1, .page-heading h1, .about-grid h1, .inner-hero h1 { font-size: 31px; }
  .hero p, .page-heading p, .about-grid p, .inner-hero p { font-size: 16px; }
  .category-grid, .benefits, .stats-grid, .footer-grid, .mini-products, .account-grid, .policy-grid, .blog-grid, .checkout-progress { grid-template-columns: 1fr; }
  .concern-grid { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x mandatory; }
  .concern-grid a { min-width: 220px; scroll-snap-align: start; }
  .product-image { height: 215px; }
  .product-body h3 { min-height: auto; }
  .product-body p { min-height: auto; }
  .shop-toolbar { align-items: stretch; flex-direction: column; }
  .shop-toolbar .form-select { width: 100%; }
  .product-detail { gap: 18px; }
  .detail-gallery, .detail-info { padding: 14px; }
  .detail-image { min-height: 300px; }
  .thumbs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .thumbs button { height: 64px; }
  .cart-row { grid-template-columns: 78px 1fr; }
  .cart-row img { width: 78px; height: 78px; }
  .cart-row input, .cart-row b, .cart-row button { grid-column: 2; }
  .coupon-card { grid-template-columns: 1fr; }
  .footer { padding-bottom: 70px; }
  .theme-panel { right: 0; width: 206px; }
}
