@import url("https://fonts.googleapis.com/css2?family=Cinzel:wght@500;700&family=Manrope:wght@400;500;600;700;800&display=swap");

:root {
  --primary: #0f3d91;
  --primary-strong: #0a2f72;
  --primary-soft: #dcebff;
  --accent: #4aa5ff;
  --ink: #13233f;
  --muted: #4a5f83;
  --surface: #ffffff;
  --surface-soft: #f2f7ff;
  --border: #d8e6ff;
  --success: #16843f;
  --shadow: 0 18px 40px rgba(10, 47, 114, 0.12);
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
}

/* Page background layer (home + category pages only) */
body.page-bg {
  position: relative;
  background-color: #f7f8fb;
}

body.page-bg::before,
body.page-bg::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s ease;
}

body.page-bg::before {
  background-image: image-set(
    url("https://fpveczcpjwqkpgvqeapc.supabase.co/storage/v1/object/public/product-images/products/product/1773656491662_1773652713242.webp") type("image/webp")
  );
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  z-index: 0;
}

body.page-bg::after {
  background: rgba(255, 255, 255, 0.58);
  backdrop-filter: blur(2px);
  z-index: 1;
}

body.page-bg.page-bg-ready::before,
body.page-bg.page-bg-ready::after {
  opacity: 1;
}

body.page-bg .announcement-bar,
body.page-bg .top-strip,
body.page-bg main,
body.page-bg footer {
  position: relative;
  z-index: 2;
}

body.page-bg .site-header {
  position: sticky;
  top: 0;
  z-index: 40;
}

/* Text highlight for readability on background pages */

@media (max-width: 880px) {
  body.page-bg::after {
    background: rgba(255, 255, 255, 0.62);
    backdrop-filter: blur(2px);
  }
  body.page-bg::before {
    background-image: image-set(
      url("https://fpveczcpjwqkpgvqeapc.supabase.co/storage/v1/object/public/product-images/products/product/1773655124896_ChatGPT_Image_Mar_16__2026__03_26_05_PM.webp") type("image/webp")
    );
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
  }
}

@media (max-width: 880px) {
  .main-nav {
    z-index: 120;
  }
  .main-nav.is-open {
    z-index: 120;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at 10% 10%, #edf5ff, #ffffff 45%),
    radial-gradient(circle at 90% 90%, #e3eeff, #ffffff 35%);
  line-height: 1.65;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.main-nav a.is-active {
  color: var(--primary-strong);
  font-weight: 700;
}

.site-footer a.is-active {
  color: #d4b324;
  font-weight: 700;
}

h1,
h2,
h3,
h4 {
  margin-top: 0;
  line-height: 1.2;
}

p {
  margin: 0 0 1rem;
}

.container {
  width: min(1160px, 92vw);
  margin: 0 auto;
}

.section {
  padding: 4.2rem 0;
}

.section-tight {
  padding-top: 2rem;
}

.search-section {
  padding-top: 1.2rem;
  padding-bottom: 1.2rem;
}

.section-title {
  font-family: "Cinzel", Georgia, serif;
  font-size: clamp(1.7rem, 2.3vw, 2.8rem);
  margin-bottom: 0.8rem;
  color: var(--primary-strong);
}

.homepage-title {
  margin: 0 0 1rem;
}

.section-subtitle {
  color: var(--muted);
  max-width: 760px;
}

.announcement-bar {
  background: linear-gradient(90deg, #0b2f72, #1b58be);
  color: #fff;
  font-weight: 700;
  font-size: 0.92rem;
}

.announcement-inner {
  min-height: 44px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
}

.announcement-inner p {
  margin: 0;
}

.announcement-inner a {
  background: #fff;
  color: var(--primary-strong);
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  font-size: 0.82rem;
}

.main-nav a.is-active {
  color: var(--primary-strong);
  font-weight: 700;
}

.site-footer a.is-active {
  color: #ffd657;
  font-weight: 700;
}

.top-strip {
  background: #f2f7ff;
  border-bottom: 1px solid var(--border);
  color: var(--primary-strong);
  font-size: 0.9rem;
}

.top-strip .container {
  min-height: 44px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

.top-ticker {
  background: #ffffff;
  border: 1px solid #cfe0ff;
  border-radius: 999px;
  padding: 0.35rem 0;
  font-weight: 700;
  color: var(--primary-strong);
  white-space: nowrap;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  display: flex;
  gap: 1.2rem;
}

.ticker-track {
  display: inline-flex;
  align-items: center;
  gap: 1.2rem;
  padding: 0 1rem;
  animation: ticker-slide 22s linear infinite;
}

.ticker-item {
  font-size: 0.85rem;
  color: var(--primary-strong);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.ticker-item::before {
  content: "•";
  color: #2f87ff;
}

@keyframes ticker-slide {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

.top-strip p {
  margin: 0;
}

.top-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.93);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-shell {
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 1rem;
  position: relative;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: "Cinzel", Georgia, serif;
  color: var(--primary-strong);
  font-size: 1.12rem;
  letter-spacing: 0.04em;
}

.brand img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  border-radius: 14px;
  background: linear-gradient(145deg, #fffdf8, #eef4ff);
  box-shadow: 0 10px 22px rgba(15, 61, 145, 0.12);
  padding: 4px;
}

.main-nav {
  margin-left: auto;
}

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 1.05rem;
}

.main-nav a {
  color: var(--muted);
  font-weight: 700;
  font-size: 0.9rem;
}

.main-nav a.is-active {
  color: var(--primary-strong);
  font-weight: 700;
}

.site-footer a.is-active {
  color: #ffd657;
  font-weight: 700;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--primary-strong);
}

.header-actions {
  display: flex;
  gap: 0.5rem;
  margin-left: 0.8rem;
}

.cta-link {
  background: linear-gradient(130deg, #1654c7, #2f87ff);
  color: #fff !important;
  border-radius: 999px;
  padding: 0.42rem 0.78rem;
}
.header-actions a {
  border: 1px solid var(--border);
  background: var(--surface-soft);
  color: var(--primary-strong);
  border-radius: 999px;
  padding: 0.38rem 0.72rem;
  font-size: 0.8rem;
  font-weight: 700;
}

.header-actions a.profile-avatar-link {
  width: 42px;
  height: 42px;
  padding: 0;
  display: inline-grid;
  place-items: center;
  overflow: hidden;
  border-color: rgba(22, 84, 199, 0.26);
  background: #ffffff;
  box-shadow: 0 8px 18px rgba(10, 47, 114, 0.08);
}

.profile-avatar-link:hover {
  border-color: #2f87ff;
  box-shadow: 0 0 0 4px rgba(47, 135, 255, 0.12);
}

.profile-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.profile-avatar-initials {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #0b2c6f, #1f7bd8);
  color: #ffffff;
  font-size: 0.86rem;
  font-weight: 800;
}

.main-nav a.is-active {
  color: var(--primary-strong);
  font-weight: 700;
}

.site-footer a.is-active {
  color: #ffd657;
  font-weight: 700;
}

.menu-toggle {
  display: none;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--primary-strong);
  border-radius: var(--radius-sm);
  padding: 0.45rem 0.65rem;
  font-weight: 700;
}

.hero-slider-section {
  padding: 2.1rem 0 1.2rem;
}

.hero-slider {
  background: linear-gradient(140deg, #0d3b90, #1f62c7 56%, #5bb3ff 100%);
  border-radius: 26px;
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero-slider::before {
  content: "";
  position: absolute;
  inset: auto auto -90px -90px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.hero-slider::after {
  content: "";
  position: absolute;
  top: -70px;
  right: 34%;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(145, 208, 255, 0.24), rgba(145, 208, 255, 0));
  pointer-events: none;
}

.hero-slide {
  display: none;
  min-height: 420px;
  padding: 2.2rem;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  align-items: center;
}

.hero-slide.is-active {
  display: none;
}

.hero-copy h1,
.hero-copy h2 {
  color: #fff;
  font-family: "Cinzel", Georgia, serif;
  font-size: clamp(2rem, 3vw, 3.2rem);
  margin-bottom: 0.8rem;
}

.hero-copy p {
  color: #e5f0ff;
  max-width: 58ch;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1rem 0 1.2rem;
}

.hero-highlights span {
  display: inline-flex;
  align-items: center;
  padding: 0.42rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #f5f9ff;
  font-size: 0.78rem;
  font-weight: 700;
}

.hero-feature-card {
  margin-top: 1.25rem;
  padding: 1rem 1.05rem;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 16px 30px rgba(4, 22, 58, 0.18);
  max-width: 430px;
}

.hero-feature-card strong {
  display: block;
  margin-bottom: 0.35rem;
  color: #ffffff;
  font-size: 0.96rem;
}

.hero-feature-card p {
  margin: 0;
  color: #d9ebff;
  font-size: 0.92rem;
}

.eyebrow {
  display: inline-flex;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  padding: 0.3rem 0.7rem;
  font-size: 0.78rem;
  margin-bottom: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 700;
}

.hero-media img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 16px;
  border: 2px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 14px 30px rgba(6, 22, 55, 0.4);
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  border-radius: 999px;
  width: 42px;
  height: 42px;
  font-weight: 800;
  cursor: pointer;
}

.slider-prev {
  left: 1rem;
}

.slider-next {
  right: 1rem;
}

.slider-dots {
  position: absolute;
  left: 50%;
  bottom: 1rem;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
}

.slider-dot {
  width: 9px;
  height: 9px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
}

.slider-dot.is-active {
  background: #fff;
  width: 26px;
}

.shop-category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.category-tile {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.8rem;
  box-shadow: 0 10px 24px rgba(15, 61, 145, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(15, 61, 145, 0.16);
}

.category-tile img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 0.8rem;
}

.category-tile h3 {
  margin: 0;
  font-family: "Cinzel", Georgia, serif;
  font-size: 1.03rem;
  color: var(--primary-strong);
}

.carousel {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.8rem;
  align-items: center;
}

.carousel-window {
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.carousel-window::-webkit-scrollbar {
  display: none;
}

.carousel-track {
  display: flex;
  gap: 1rem;
  padding: 0.6rem 0.2rem;
}

.carousel-card {
  min-width: 260px;
  max-width: 260px;
}

.carousel-btn {
  border: 1px solid var(--border);
  background: #fff;
  color: var(--primary-strong);
  border-radius: 999px;
  width: 46px;
  height: 46px;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.product-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(15, 61, 145, 0.09);
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.product-thumb {
  position: relative;
  padding: 0.75rem;
  background: #f4f9ff;
}

.product-thumb img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  border-radius: 10px;
}

.product-tag {
  position: absolute;
  left: 0.95rem;
  top: 0.95rem;
  background: linear-gradient(140deg, #0f3d91, #2674ee);
  color: #fff;
  border-radius: 999px;
  font-size: 0.72rem;
  padding: 0.22rem 0.55rem;
  font-weight: 700;
}

.product-content {
  padding: 1rem;
}

.product-title {
  margin: 0 0 0.35rem;
  font-size: 1rem;
}

.rating {
  color: #3b5f9a;
  font-size: 0.82rem;
  margin-bottom: 0.8rem;
}

.price {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 0.9rem;
}

.price strong {
  color: var(--primary-strong);
  font-size: 1.07rem;
}

.price span {
  color: #8194b3;
  text-decoration: line-through;
  font-size: 0.88rem;
}

.btn-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.btn {
  border: 0;
  border-radius: 999px;
  padding: 0.72rem 1.2rem;
  font-weight: 800;
  cursor: pointer;
  font-size: 0.9rem;
  transition: transform 0.18s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn:disabled,
.btn.is-loading {
  cursor: wait;
  opacity: 0.72;
  pointer-events: none;
  transform: none;
}

.btn.is-loading::before {
  content: "";
  width: 0.95rem;
  height: 0.95rem;
  margin-right: 0.55rem;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin 0.75s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(130deg, #1654c7, #2f87ff);
  color: #fff;
  box-shadow: 0 10px 20px rgba(15, 61, 145, 0.25);
}

.btn-secondary {
  border: 1px solid var(--border);
  color: var(--primary-strong);
  background: #fff;
}

.promo-banner {
  background: linear-gradient(120deg, #e3efff, #f9fcff 52%, #d4e6ff);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 1.5rem;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1.3rem;
  align-items: center;
}

.promo-banner img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 16px;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
}

.trust-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 8px 18px rgba(15, 61, 145, 0.08);
}

.trust-card h3 {
  margin-bottom: 0.4rem;
  font-size: 1rem;
  color: var(--primary-strong);
}

.trust-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.video-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0.85rem;
}

.video-thumb {
  display: block;
  position: relative;
}

.video-thumb img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 11px;
}

.video-thumb span {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: rgba(15, 61, 145, 0.8);
  color: #fff;
  border-radius: 999px;
  padding: 0.45rem 0.95rem;
  font-size: 0.78rem;
  font-weight: 800;
}

.video-card h3 {
  margin: 0.85rem 0;
  font-size: 1.02rem;
  color: var(--primary-strong);
}

.newsletter-box {
  background: linear-gradient(120deg, #0f3d91, #2576ea);
  color: #fff;
  border-radius: 18px;
  padding: 2rem;
  text-align: center;
}

.newsletter-box .section-title {
  color: #fff;
}

.newsletter-box p {
  color: #eaf2ff;
}

.newsletter-form {
  margin-top: 1rem;
  display: flex;
  gap: 0.7rem;
  justify-content: center;
  flex-wrap: wrap;
}

.newsletter-form input {
  min-width: 260px;
  max-width: 400px;
  width: 100%;
}

.page-hero {
  padding: 3rem 0 2rem;
}

.page-hero-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 26px rgba(15, 61, 145, 0.09);
  padding: 1.65rem;
}

.breadcrumb {
  color: #61769a;
  font-size: 0.9rem;
  margin-bottom: 0.6rem;
}

.product-layout,
.product-page-shell {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
  gap: 1.5rem;
  align-items: start;
}

.product-gallery-column {
  position: relative;
  align-self: start;
  min-height: var(--product-gallery-height, auto);
}

.product-detail-stack {
  display: grid;
  gap: 1.3rem;
  min-width: 0;
}

.product-gallery,
.product-details-panel {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: 0 12px 26px rgba(15, 61, 145, 0.08);
  padding: 1rem;
}

.product-gallery {
  position: relative;
  top: auto;
  align-self: start;
  padding: 1.1rem;
  z-index: 2;
}

.product-gallery-column.is-fixed .product-gallery {
  position: fixed;
  top: var(--product-gallery-top, 96px);
  width: var(--product-gallery-width, 100%);
}

.product-gallery-column.is-bottom .product-gallery {
  position: absolute;
  top: auto;
  bottom: 0;
  width: 100%;
}

.product-gallery.is-skeleton > *:not(.product-skeleton),
.product-details-panel.is-skeleton > *:not(.product-skeleton) {
  opacity: 0;
}

.product-skeleton {
  position: absolute;
  inset: 0;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  pointer-events: none;
}

.product-main-image img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: 12px;
}

.thumb-grid {
  margin-top: 0.8rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.55rem;
}

.thumb-btn {
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 8px;
  padding: 0;
  cursor: pointer;
}

.thumb-btn img {
  width: 100%;
  height: 75px;
  object-fit: cover;
  border-radius: 8px;
}

.thumb-btn.is-active {
  border-color: #2f87ff;
  box-shadow: 0 0 0 2px rgba(47, 135, 255, 0.24);
}

.product-details-panel {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  min-height: 100%;
}

.product-details-intro h2 {
  margin-bottom: 0.45rem;
}

.product-form-card {
  border: 1px solid rgba(15, 61, 145, 0.1);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(248, 250, 255, 0.98), #ffffff);
  padding: 1rem;
}

.product-meta-grid {
  align-items: start;
  grid-template-columns: 1fr;
}

.stock-status {
  color: var(--success);
  font-weight: 700;
}

.option-group {
  margin-top: 0.9rem;
}

label {
  display: block;
  font-weight: 700;
  margin-bottom: 0.45rem;
  font-size: 0.9rem;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.68rem 0.78rem;
  font: inherit;
  color: var(--ink);
  background: #fff;
}

.main-nav a.is-active {
  color: var(--primary-strong);
  font-weight: 700;
}

.site-footer a.is-active {
  color: #ffd657;
  font-weight: 700;
}

textarea {
  min-height: 130px;
  resize: vertical;
}

.main-nav a.is-active {
  color: var(--primary-strong);
  font-weight: 700;
}

.site-footer a.is-active {
  color: #ffd657;
  font-weight: 700;
}

.quantity-row {
  margin-top: 0.95rem;
}

.qty-box {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 999px;
  overflow: hidden;
  background: #fff;
}

.qty-box button {
  border: 0;
  background: var(--surface-soft);
  width: 36px;
  height: 36px;
  cursor: pointer;
  font-weight: 800;
  color: var(--primary-strong);
}

.qty-box input {
  width: 58px;
  border: 0;
  text-align: center;
  padding: 0.4rem;
}

.coupon-box {
  margin-top: 1rem;
  background: #f3f8ff;
  border: 1px dashed #97bbff;
  border-radius: 12px;
  padding: 0.9rem;
}

.coupon-box h3 {
  margin-bottom: 0.55rem;
  color: var(--primary-strong);
}

.grid-2,
.grid-3 {
  display: grid;
  gap: 1rem;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card,
.category-card,
.contact-card,
.policy-card,
.blog-card,
.faq-card,
.address-box {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 20px rgba(15, 61, 145, 0.08);
  padding: 1.1rem;
}

.offer-card {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.offer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.offer-type {
  background: #0f3d91;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  letter-spacing: 0.04em;
}

.offer-rule {
  font-weight: 700;
  color: var(--primary-strong);
}

.offer-products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 0.75rem;
}

.offer-product {
  display: flex;
  gap: 0.7rem;
  align-items: center;
  background: #f7fbff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.6rem;
}

.offer-product img {
  width: 68px;
  height: 68px;
  border-radius: 10px;
  object-fit: cover;
  background: #e6f0ff;
}

.offer-kicker {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #5b74a1;
  font-weight: 700;
}

.offer-name {
  font-weight: 700;
  color: var(--primary-strong);
}

.offer-muted {
  color: var(--muted);
  font-size: 0.85rem;
}

.offer-link {
  display: inline-flex;
  margin-top: 0.2rem;
  font-weight: 700;
  color: var(--primary-strong);
  font-size: 0.82rem;
}

.feature-card h3,
.category-card h3,
.policy-card h3,
.contact-card h3,
.blog-card h3 {
  font-family: "Cinzel", Georgia, serif;
  color: var(--primary-strong);
}

.feature-card p,
.category-card p,
.policy-card p,
.contact-card p,
.blog-card p,
.meta-list li {
  color: var(--muted);
}

.shop-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1rem 0 1.6rem;
}

.filter-btn {
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
  color: var(--primary-strong);
  padding: 0.45rem 0.84rem;
  font-weight: 700;
}

.filter-btn.is-active,
.filter-btn:hover {
  background: #e6f0ff;
  border-color: #9ebeff;
}

.pill {
  display: inline-flex;
  border-radius: 999px;
  background: #e8f1ff;
  color: var(--primary-strong);
  padding: 0.3rem 0.62rem;
  font-size: 0.75rem;
  font-weight: 700;
}

.policy-list,
.meta-list,
.footer-links {
  margin: 0;
  padding-left: 1rem;
}

.site-footer {
  margin-top: 4rem;
  background: linear-gradient(140deg, #082552, #0d387f);
  color: #e3edff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1.2fr;
  gap: 1rem;
  padding: 2.4rem 0 1.5rem;
}

.site-footer h3,
.site-footer h4 {
  font-family: "Cinzel", Georgia, serif;
  color: #ffffff;
}

.footer-links {
  list-style: none;
  padding-left: 0;
}

.footer-links li + li {
  margin-top: 0.42rem;
}

.footer-links li {
  word-break: break-word;
}

.footer-links a {
  color: #d9e9ff;
}

.main-nav a.is-active {
  color: var(--primary-strong);
  font-weight: 700;
}

.site-footer a.is-active {
  color: #ffd657;
  font-weight: 700;
}

.social-links {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.social-links a {
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 0.35rem 0.68rem;
  font-size: 0.82rem;
}

.main-nav a.is-active,
.footer-links a.is-active,
.site-footer a.is-active {
  color: var(--primary);
  font-weight: 700;
}

.footer-bottom {
  border-top: 1px solid rgba(219, 234, 255, 0.2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0 1.5rem;
  font-size: 0.86rem;
  color: #bfd4f8;
}

.footer-bottom .footer-socials {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.footer-bottom .footer-socials a {
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 0.25rem 0.6rem;
  font-size: 0.78rem;
}

@media (max-width: 620px) {
  .search-section {
    padding-top: 0.6rem;
    padding-bottom: 0.6rem;
  }

  .search-section + .section {
    padding-top: 1.4rem;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

.wa-float {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  background: #12a043;
  color: #fff;
  border-radius: 999px;
  padding: 0.7rem 0.92rem;
  font-weight: 700;
  z-index: 140;
  box-shadow: 0 10px 18px rgba(15, 70, 29, 0.34);
}

.wa-float.wa-icon {
  width: 48px;
  height: 48px;
  padding: 0;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath fill='%23fff' d='M19.11 17.3c-.27-.14-1.59-.78-1.83-.87-.25-.09-.43-.14-.61.14-.18.27-.7.87-.86 1.05-.16.18-.32.2-.59.07-.27-.14-1.13-.42-2.15-1.35-.79-.71-1.32-1.6-1.48-1.87-.15-.27-.02-.41.12-.55.12-.12.27-.32.4-.48.14-.16.18-.27.27-.46.09-.18.05-.34-.02-.48-.07-.14-.61-1.47-.83-2.02-.22-.53-.44-.46-.61-.46h-.52c-.18 0-.48.07-.73.34-.25.27-.96.94-.96 2.3 0 1.35.98 2.65 1.12 2.84.14.18 1.93 2.95 4.68 4.14.65.28 1.16.45 1.56.58.65.2 1.24.17 1.71.1.52-.08 1.59-.65 1.81-1.27.22-.62.22-1.15.16-1.27-.07-.12-.25-.2-.52-.34z'/%3E%3Cpath fill='%23fff' d='M16 3C9.37 3 4 8.16 4 14.53c0 2.34.73 4.51 1.99 6.31L4 29l8.41-2.14c1.72.94 3.71 1.49 5.74 1.49 6.63 0 12-5.16 12-11.53C30 8.16 22.63 3 16 3zm0 20.96c-1.8 0-3.46-.53-4.85-1.43l-.35-.22-4.99 1.27 1.35-4.79-.24-.35c-1.02-1.41-1.61-3.12-1.61-4.93C5.31 9.68 10.2 5.2 16 5.2s10.69 4.48 10.69 10.01S21.8 23.96 16 23.96z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 26px 26px;
  font-size: 0;
}

.contact-toast {
  position: fixed;
  right: 1rem;
  bottom: 4.4rem;
  background: #0f3d91;
  color: #fff;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.82rem;
  box-shadow: 0 12px 20px rgba(10, 47, 114, 0.25);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 141;
}

.contact-toast.show {
  opacity: 1;
  transform: translateY(0);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 1rem;
}

.faq-group details {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.75rem 0.9rem;
}

.faq-group details + details {
  margin-top: 0.7rem;
}

.faq-group summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--primary-strong);
}

.blog-card .meta {
  color: #5e77a0;
  font-size: 0.82rem;
  margin-bottom: 0.65rem;
}

.main-nav a.is-active,
.footer-links a.is-active,
.site-footer a.is-active {
  color: var(--primary);
  font-weight: 700;
}

.article {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: 0 10px 20px rgba(15, 61, 145, 0.08);
}

.article h2 {
  font-family: "Cinzel", Georgia, serif;
  color: var(--primary-strong);
}

.cta-banner {
  background: linear-gradient(120deg, #0f3d91, #1d67da);
  color: #fff;
  border-radius: 16px;
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.cta-banner .section-title {
  color: #fff;
}

.cta-banner p {
  margin: 0;
  color: #deecff;
}

.map-section {
  padding-top: 2rem;
}

.map-frame {
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 22px rgba(15, 61, 145, 0.1);
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 320px;
  border: 0;
}

.home-style-section {
  padding-top: 2rem;
}

.home-style-shell {
  background:
    linear-gradient(120deg, rgba(7, 24, 69, 0.9), rgba(15, 61, 145, 0.78)),
    url("https://images.unsplash.com/photo-1516762689617-e1cffcef479d?auto=format&fit=crop&w=1600&q=75") center / cover;
  color: #fff;
  border-radius: 18px;
  padding: clamp(1.2rem, 3vw, 2rem);
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.15fr);
  gap: 1.2rem;
  align-items: center;
  box-shadow: 0 18px 38px rgba(15, 61, 145, 0.18);
  overflow: hidden;
}

.home-style-copy {
  max-width: 620px;
}

.home-style-copy .eyebrow,
.home-style-copy .section-title,
.home-style-copy .section-subtitle {
  color: #fff;
}

.home-style-copy .section-subtitle {
  color: #e4eeff;
}

.home-style-copy .seo-link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.home-style-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.home-style-card {
  min-height: 245px;
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  display: flex;
  align-items: flex-end;
  text-decoration: none;
  isolation: isolate;
}

.home-style-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 24, 69, 0.05), rgba(7, 24, 69, 0.82));
  z-index: -1;
}

.home-style-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform 0.35s ease;
}

.home-style-card span {
  display: block;
  width: 100%;
  padding: 1rem;
  font-weight: 800;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.home-style-card:hover img {
  transform: scale(1.06);
}

@media (max-width: 980px) {
  .home-style-shell {
    grid-template-columns: 1fr;
  }

  .home-style-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .home-style-shell {
    border-radius: 14px;
  }

  .home-style-grid {
    grid-template-columns: 1fr;
  }

  .home-style-card {
    min-height: 185px;
  }
}

.hidden {
  display: none !important;
}

.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.js .reveal {
  opacity: 0;
  transform: translateY(16px);
}

.js .reveal.reveal-from-right {
  transform: translateX(48px);
}

.js .reveal.reveal-from-left {
  transform: translateX(-48px);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.js .reveal.reveal-from-right.is-visible,
.js .reveal.reveal-from-left.is-visible {
  transform: translateX(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

@media (max-width: 1080px) {
  .main-nav ul {
    gap: 0.75rem;
  }

  .nav-shell {
    flex-wrap: wrap;
  }

  .header-actions {
    width: 100%;
    justify-content: flex-start;
    gap: 0.4rem;
    margin: 0.55rem 0 0;
  }

  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 880px) {
  body.menu-open {
    overflow: hidden;
  }

  .site-header {
    z-index: 130;
  }

  .nav-shell {
    position: relative;
    z-index: 131;
  }

  .menu-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .main-nav {
    position: fixed;
    inset: 0;
    margin-left: 0;
    background: rgba(15, 35, 63, 0.18);
    backdrop-filter: blur(3px);
    padding: 0;
    display: block !important;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s ease;
  }

  .main-nav.is-open {
    opacity: 1;
    pointer-events: auto;
  }

  .main-nav ul {
    flex-direction: column;
    align-items: flex-start;
    width: min(50vw, 320px);
    min-width: 220px;
    margin: var(--mobile-nav-top, 96px) 0 0 auto;
    padding: 0.8rem 1rem;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px 0 0 16px;
    box-shadow: 0 14px 30px rgba(10, 47, 114, 0.14);
    max-height: calc(100vh - var(--mobile-nav-top, 96px) - 1rem);
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.22s ease;
  }

  .main-nav.is-open ul {
    transform: translateX(0);
  }

  .hero-slide {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .slider-arrow {
    top: auto;
    bottom: 1rem;
    transform: none;
  }

  .slider-prev {
    left: 1rem;
  }

  .slider-next {
    left: 3.9rem;
    right: auto;
  }

  .slider-dots {
    right: 1rem;
    left: auto;
    transform: none;
  }

  .shop-category-grid,
  .video-grid,
  .trust-grid,
  .grid-3,
  .grid-2,
  .contact-grid,
  .product-page-shell,
  .product-layout,
  .promo-banner {
    grid-template-columns: 1fr;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-bottom,
  .top-strip .container,
  .announcement-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .carousel {
    grid-template-columns: 1fr;
  }

  .product-gallery {
    position: static;
    top: auto;
  }

  .carousel-btn {
    width: 100%;
    border-radius: 10px;
    height: 36px;
  }
}

@media (max-width: 620px) {
  .top-strip {
    position: sticky;
    top: 0;
    z-index: 70;
  }
  .site-header {
    z-index: 130;
    box-shadow: 0 10px 24px rgba(10, 47, 114, 0.08);
  }

  .nav-shell {
    background: #ffffff;
    border-radius: 14px;
    padding: 0.4rem 0.6rem;
    box-shadow: 0 6px 18px rgba(10, 47, 114, 0.08);
  }

  .menu-toggle {
    border-radius: 999px;
    padding: 0.35rem 0.7rem;
    background: #e9f1ff;
    border-color: #cfe0ff;
  }

  .main-nav {
    background: rgba(15, 35, 63, 0.14);
  }

  .main-nav ul {
    width: min(58vw, 280px);
    min-width: 210px;
    border-radius: 14px 0 0 14px;
  }

  .announcement-inner {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
    gap: 0.5rem;
    padding: 0.5rem 0;
  }

  .announcement-inner a {
    width: auto;
    text-align: center;
    padding: 0.3rem 0.7rem;
    font-size: 0.78rem;
  }

  .announcement-bar {
    margin: 0.5rem 0 0.2rem;
    border-radius: 12px;
  }

  .site-header .header-actions.stacked {
    width: min(1160px, 94vw);
    margin: 0.4rem auto 0.6rem;
    padding: 0.4rem 0.6rem;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(10, 47, 114, 0.08);
  }

  .top-strip .container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.35rem;
    padding: 0.55rem 0;
  }

  .top-ticker {
    width: 100%;
    text-align: center;
    padding: 0.35rem 0.8rem;
  }

  .container {
    width: min(1160px, 94vw);
  }

  .nav-shell {
    gap: 0.5rem;
  }

  .mobile-cart {
    border: 1px solid #0f3d91;
    background: #0f3d91;
    color: #fff;
    border-radius: 999px;
    padding: 0.32rem 0.6rem;
    font-size: 0.8rem;
    font-weight: 700;
    margin-left: 0.4rem;
  }

  .brand img {
    width: 44px;
    height: 44px;
    padding: 3px;
  }

  .brand span {
    font-size: 0.98rem;
  }

  .main-nav ul {
    gap: 0.6rem;
  }

  .header-actions {
    gap: 0.4rem;
    align-items: center;
    flex-wrap: nowrap;
  }

  .header-actions a {
    padding: 0.32rem 0.6rem;
  }

  .header-actions a.profile-avatar-link {
    width: 36px;
    height: 36px;
    padding: 0;
  }

  .header-search {
    flex: 1;
  }

  .header-actions a[href*="shop.html"] {
    background: #0f3d91;
    color: #fff;
    border-color: #0f3d91;
  }

  .header-actions a[href*="shop.html"]:hover {
    background: #0a2f72;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .thumb-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .newsletter-form {
    flex-direction: column;
  }

  .btn {
    padding: 0.45rem 0.85rem;
    font-size: 0.82rem;
  }

  .product-card {
    border-radius: 12px;
  }

  .product-thumb img {
    height: 140px;
  }

  .hero-slider .slider-arrow,
  .carousel-btn {
    display: none !important;
  }
}

@media (max-width: 620px) {
  .site-header {
    position: sticky;
    top: 0;
    z-index: 130;
  }
}

@media (max-width: 620px) {
  .top-strip,
  .announcement-bar {
    opacity: 0;
    transform: translateY(-6px);
  }

  .js-ready .top-strip,
  .js-ready .announcement-bar {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.25s ease, transform 0.25s ease;
  }
}

@media (max-width: 620px) {
  .main-nav ul li {
    width: 100%;
  }

  .main-nav ul li a {
    display: block;
    width: 100%;
    padding: 0.5rem 0.2rem;
  }
}


/* Professional Motion + Slider polish overrides */
:root {
  --navy: #0f3d91;
}

.hero-slider {
  min-height: 470px;
  overflow: visible;
}

.hero-slide {
  display: grid !important;
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateX(24px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

.slider-arrow {
  top: 50%;
  transform: translateY(-50%);
  background: #ffffff;
  color: var(--primary-strong);
  border: 1px solid #b9d4ff;
  box-shadow: 0 8px 20px rgba(10, 47, 114, 0.22);
  width: 46px;
  height: 46px;
  font-size: 1.05rem;
  z-index: 9;
}

.slider-prev {
  left: -22px;
}

.slider-next {
  right: -22px;
}

.carousel-window {
  scroll-snap-type: x mandatory;
}

.carousel-card {
  scroll-snap-align: start;
}

.carousel-btn {
  font-size: 1.05rem;
  font-weight: 900;
}

.product-card,
.category-tile,
.video-card,
.trust-card {
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.product-card:hover,
.video-card:hover,
.trust-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 34px rgba(10, 47, 114, 0.18);
}

.shop-enhancers {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 1rem;
}

.review-box,
.shopping-benefits {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1rem;
  box-shadow: 0 10px 22px rgba(10, 47, 114, 0.1);
}

.review-list {
  display: grid;
  gap: 0.7rem;
  margin-top: 0.7rem;
  max-height: 280px;
  overflow-y: auto;
}

.review-item {
  border: 1px solid #d9e8ff;
  border-radius: 10px;
  padding: 0.7rem;
  background: #f7fbff;
}

.review-item strong {
  color: var(--primary-strong);
}

.payment-strip {
  margin-top: 0.9rem;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.payment-strip span {
  border: 1px solid #b8cff8;
  border-radius: 999px;
  padding: 0.28rem 0.62rem;
  font-size: 0.78rem;
  color: var(--primary-strong);
  background: #eef5ff;
  font-weight: 700;
}

@media (max-width: 880px) {
  .hero-slider {
    min-height: 620px;
  }

  .slider-prev {
    left: 10px;
  }

  .slider-next {
    right: 10px;
    left: auto;
  }

  .shop-enhancers {
    grid-template-columns: 1fr;
  }
}

/* Final mobile-first hero slider and nav overrides */
.hero-slider {
  position: relative;
  overflow: hidden;
}

.hero-track {
  display: flex;
  width: 100%;
  transition: transform 0.75s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: transform;
}

.hero-slide {
  position: relative !important;
  inset: auto !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  transform: none !important;
  min-width: 100%;
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.hero-media img {
  object-fit: cover;
  height: 320px;
}

.slider-arrow {
  z-index: 20;
}


@media (max-width: 880px) {
  .nav-shell {
    min-height: 70px;
  }

  .hero-slide {
    grid-template-columns: 1fr;
    padding: 1.2rem;
  }

  .hero-media img {
    height: 220px;
  }

  .slider-arrow {
    width: 38px;
    height: 38px;
    top: auto;
    bottom: 0.8rem;
    transform: none;
  }

  .slider-prev {
    left: 0.8rem;
  }

  .slider-next {
    right: 0.8rem;
  }

  .slider-dots {
    left: 50%;
    bottom: 0.95rem;
    transform: translateX(-50%);
  }

  .nav-shell {
    flex-wrap: wrap;
  }

  .header-actions {
    width: 100%;
    justify-content: flex-start;
    gap: 0.4rem;
    margin: 0.55rem 0 0;
  }
}

/* Re-enable homepage carousels */
.carousel,
[data-carousel] {
  display: grid !important;
}

@media (max-width: 880px) {
  .carousel,
  [data-carousel] {
    display: grid !important;
  }
}

/* Fix: main slider arrows visibility */
.hero-slider .slider-arrow {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.98) !important;
  color: #0a2f72 !important;
  border: 1px solid #9fc2ff !important;
  box-shadow: 0 10px 20px rgba(10, 47, 114, 0.28) !important;
  z-index: 50 !important;
  opacity: 1 !important;
}

.hero-slider .slider-prev {
  left: 12px !important;
}

.hero-slider .slider-next {
  right: 12px !important;
}

@media (max-width: 880px) {
  .hero-slider .slider-prev {
    left: 10px !important;
    bottom: 10px !important;
  }

  .hero-slider .slider-next {
    right: 10px !important;
    bottom: 10px !important;
  }
}

/* Interactive watch showcase section */
.showcase-panel {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 1.2rem;
  background: linear-gradient(130deg, #0d1b38 0%, #1c3666 45%, #243f74 100%);
  border-radius: 22px;
  padding: 1.4rem;
  color: #f4f8ff;
  box-shadow: 0 22px 48px rgba(7, 21, 48, 0.45);
  align-items: start;
}

.showcase-kicker {
  margin: 0 0 0.6rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #b5cfff;
  font-size: 0.82rem;
  font-weight: 700;
}

.showcase-title {
  margin: 0;
  font-family: "Cinzel", Georgia, serif;
  font-size: clamp(1.6rem, 2vw, 2.4rem);
  color: #ffffff;
}

.showcase-type {
  margin: 0.45rem 0 1rem;
  color: #d7e6ff;
  font-size: 1.08rem;
}

.showcase-chip-row {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.8rem;
}

.showcase-chip {
  padding: 0.28rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  color: #c7dcff;
  font-size: 0.82rem;
  font-weight: 700;
}

.showcase-chip.is-active {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.showcase-color-box {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 14px;
  padding: 0.7rem 0.9rem;
  margin-bottom: 0.9rem;
}

.showcase-color-box strong {
  font-size: 0.82rem;
  color: #c0d9ff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.showcase-colors {
  display: flex;
  gap: 0.6rem;
  margin: 0.6rem 0 0.35rem;
}

.color-dot {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.75);
  background: var(--dot);
  cursor: pointer;
}

.color-dot.is-active {
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
}

.color-label {
  margin: 0;
  font-size: 0.84rem;
  color: #cde2ff;
}

.color-dot-row {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 0.45rem;
}

.color-dot-row .color-dot {
  border-color: #cfe0ff;
}

.showcase-desc {
  color: #d6e4ff;
  max-width: 56ch;
}

.showcase-price-row {
  display: flex;
  align-items: baseline;
  gap: 0.8rem;
  margin: 0.8rem 0 0.1rem;
}

.showcase-old {
  text-decoration: line-through;
  color: #9cb5dc;
}

.showcase-new {
  color: #ffffff;
  font-size: 1.7rem;
}

.showcase-image-wrap {
  position: relative;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  padding: 0.6rem;
}

.showcase-image-wrap img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.24);
}

.showcase-image-wrap.is-empty {
  display: grid;
  place-items: center;
  min-height: 260px;
}

.showcase-image-wrap.is-empty::after {
  content: "Image not added yet";
  color: #cfe0ff;
  font-weight: 700;
  font-size: 0.9rem;
}

.showcase-image-wrap img.is-empty {
  display: none;
}

.showcase-tags {
  display: none;
}

.showcase-tags span {
  display: none;
}

@media (max-width: 880px) {
  .showcase-panel {
    grid-template-columns: 1fr;
    padding: 1rem;
  }

  .showcase-image-wrap img {
    height: 260px;
  }
}

/* Final hero arrow placement fix to avoid text overlap */
.hero-slider .slider-arrow {
  top: 62% !important;
  transform: translateY(-50%) !important;
}

@media (max-width: 880px) {
  .hero-slider .slider-arrow {
    top: auto !important;
    bottom: 10px !important;
    transform: none !important;
  }
}

/* Showcase image slider controls */
.showcase-image-controls {
  display: flex;
  justify-content: flex-end;
  gap: 0.55rem;
  margin-top: 0.7rem;
}

.showcase-nav-btn {
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  border-radius: 999px;
  width: 38px;
  height: 38px;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
}

.showcase-nav-btn:hover {
  background: rgba(255, 255, 255, 0.24);
}

.carousel-btn {
  position: relative;
  z-index: 2;
}

@media (max-width: 880px) {
  .showcase-image-controls {
    justify-content: center;
    margin-top: 0.6rem;
  }
}

/* Final adjustment: move hero slider arrows lower to avoid text overlap */
.hero-slider .slider-arrow {
  top: auto !important;
  bottom: 24px !important;
  transform: none !important;
}

.hero-slider .slider-prev {
  left: 14px !important;
}

.hero-slider .slider-next {
  right: 14px !important;
}

@media (max-width: 880px) {
  .hero-slider .slider-arrow {
    bottom: 10px !important;
  }
}

/* Final mobile optimization pass */
@media (max-width: 880px) {
  html,
  body {
    overflow-x: hidden;
  }

  .container {
    width: min(1160px, 94vw);
  }

  .site-header {
    backdrop-filter: blur(8px);
  }

  .nav-shell {
    min-height: 68px;
  }

  .brand span {
    font-size: 1rem;
  }

  .hero-slider {
    min-height: auto !important;
    border-radius: 20px;
  }

  .hero-slide {
    padding: 1rem !important;
    gap: 0.8rem;
  }

  .hero-copy h1,
  .hero-copy h2 {
    font-size: clamp(1.55rem, 7vw, 2rem);
  }

  .shop-tools {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.55rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.3rem;
  }

  .shop-tools .filter-btn {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .carousel {
    grid-template-columns: auto 1fr auto !important;
    gap: 0.55rem;
    align-items: center;
  }

  .carousel-window {
    min-width: 0;
  }

  .carousel-card {
    min-width: 78vw;
    max-width: 78vw;
  }

  .carousel-btn {
    width: 38px !important;
    height: 38px !important;
    border-radius: 999px !important;
    padding: 0;
    font-size: 0.95rem;
  }

  .showcase-panel {
    border-radius: 16px;
  }

  .showcase-image-wrap img {
    height: 235px;
  }

  .map-frame iframe {
    height: 260px;
  }
}

@media (max-width: 620px) {
  .announcement-inner a {
    align-self: stretch;
    text-align: center;
  }

  .wa-float {
    right: 14px;
    bottom: 14px;
  }
}

/* Search UI */
.header-search {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--surface-soft);
  border: 1px solid var(--primary);
  border-radius: 999px;
  padding: 0.25rem 0.5rem;
}

.header-search input {
  border: 0;
  background: transparent;
  outline: none;
  font-size: 0.82rem;
  width: 140px;
  color: var(--ink);
}

.header-search button {
  border: 0;
  background: var(--primary);
  color: #fff;
  border-radius: 999px;
  padding: 0.3rem 0.7rem;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
}

.shop-search {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 0.8rem;
}

.shop-search-form {
  display: flex;
  gap: 0.4rem;
  align-items: center;
}

.shop-search-form input {
  border: 1px solid var(--primary);
  background: #fff;
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  font-size: 0.9rem;
  min-width: 220px;
}

.shop-search-form button {
  border: 0;
  background: var(--primary);
  color: #fff;
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  font-weight: 700;
  cursor: pointer;
}

/* Extra responsive scaling for cards and buttons */
@media (max-width: 880px) {
  .header-search input {
    width: 110px;
    font-size: 0.78rem;
  }

  .header-search button {
    padding: 0.25rem 0.6rem;
    font-size: 0.74rem;
  }

  .product-card {
    border-radius: 12px;
  }

  .product-thumb {
    padding: 0.6rem;
  }

  .product-thumb img {
    height: 170px;
  }

  .product-title {
    font-size: 1rem;
  }

  .price strong {
    font-size: 1.05rem;
  }

  .product-tag {
    font-size: 0.7rem;
  }
}

@media (max-width: 620px) {
  .shop-search {
    justify-content: flex-start;
  }

  .shop-search-form input {
    min-width: 160px;
    font-size: 0.82rem;
  }

  .shop-search-form button {
    font-size: 0.8rem;
    padding: 0.35rem 0.7rem;
  }

  .product-thumb img {
    height: 150px;
  }

  .product-title {
    font-size: 0.95rem;
  }

  .rating,
  .product-content p {
    font-size: 0.82rem;
  }

  .btn {
    padding: 0.4rem 0.75rem;
    font-size: 0.8rem;
  }

  .carousel-card {
    min-width: 70vw;
    max-width: 70vw;
  }
}

@media (max-width: 480px) {
  .section {
    padding: 3.2rem 0;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .section-subtitle {
    font-size: 0.92rem;
  }

  .announcement-inner {
    font-size: 0.82rem;
  }

  .header-search {
    padding: 0.2rem 0.45rem;
  }

  .header-search input {
    width: 90px;
    font-size: 0.72rem;
  }

  .product-thumb img {
    height: 135px;
  }

  .product-card {
    box-shadow: 0 8px 18px rgba(15, 61, 145, 0.1);
  }
}

@media (max-width: 620px) {
  .hero-slider .slider-arrow {
    width: 36px !important;
    height: 36px !important;
    font-size: 0.9rem;
  }

  .showcase-nav-btn {
    width: 34px;
    height: 34px;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .carousel-card {
    min-width: 62vw;
    max-width: 62vw;
  }

  .product-title {
    font-size: 0.9rem;
  }

  .price strong {
    font-size: 0.95rem;
  }

  .product-thumb img {
    height: 120px;
  }
}


/* Mobile scaling overrides for cards, icons, and buttons */
@media (max-width: 880px) {
  .header-actions {
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .header-actions a {
    font-size: 0.76rem;
    padding: 0.3rem 0.6rem;
  }

  .header-actions a.profile-avatar-link {
    width: 38px;
    height: 38px;
    padding: 0;
  }

  .header-search {
    flex: 1 1 100%;
  }

  .header-search input {
    width: 100%;
    min-width: 0;
    font-size: 0.78rem;
  }

  .filter-btn {
    font-size: 0.78rem;
    padding: 0.38rem 0.7rem;
  }
}

@media (max-width: 620px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-card {
    border-radius: 12px;
  }

  .product-thumb {
    padding: 0.55rem;
  }

  .product-thumb img {
    height: 145px;
  }

  .product-title {
    font-size: 0.92rem;
  }

  .rating,
  .product-content p {
    font-size: 0.8rem;
  }

  .price strong {
    font-size: 0.95rem;
  }

  .btn {
    padding: 0.38rem 0.68rem;
    font-size: 0.78rem;
  }

  .carousel-card {
    min-width: 64vw;
    max-width: 64vw;
  }
}

@media (max-width: 480px) {
  .product-grid {
    grid-template-columns: 1fr;
  }

  .product-thumb img {
    height: 120px;
  }

  .product-title {
    font-size: 0.88rem;
  }

  .price strong {
    font-size: 0.9rem;
  }

  .carousel-card {
    min-width: 58vw;
    max-width: 58vw;
  }
}

/* Final homepage showcase override */
[data-watch-showcase] {
  display: grid !important;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr) !important;
  gap: 1.2rem;
  align-items: stretch;
  position: relative;
  overflow: hidden;
}

[data-watch-showcase] .showcase-content,
[data-watch-showcase] .showcase-image-wrap {
  min-width: 0;
}

[data-watch-showcase] .showcase-image-wrap {
  display: grid;
  place-items: center;
  align-self: start;
  background: transparent;
  border: 0;
  padding: 0;
  min-height: 0;
}

[data-watch-showcase] .showcase-image-wrap img {
  display: block;
  width: 100%;
  height: auto !important;
  max-height: 360px !important;
  object-fit: contain !important;
  border-radius: 16px;
  background: transparent !important;
  image-rendering: auto;
}

[data-watch-showcase] .showcase-image-controls {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  margin-top: 0;
  z-index: 2;
}

[data-watch-showcase] .empty-note {
  grid-column: 1 / -1;
  margin: 0;
}

@media (max-width: 880px) {
  [data-watch-showcase] {
    grid-template-columns: 1fr !important;
  }

  [data-watch-showcase] .showcase-image-wrap img {
    max-height: 260px !important;
  }
}

@media (max-width: 620px) {
  [data-watch-showcase] .showcase-image-wrap img {
    max-height: 220px !important;
  }

  [data-watch-showcase] .showcase-image-controls {
    top: 0.55rem;
    right: 0.55rem;
  }
}
/* Loading overlay */
.gt-loader {
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
}

html:not(.gt-site-ready) body {
  opacity: 0;
}

html.gt-site-ready body {
  opacity: 1;
  transition: opacity 0.18s ease;
}

.gt-loader.hidden {
  display: none;
}

.gt-loader .loader-brand {
  display: grid;
  justify-items: center;
  gap: 0.9rem;
  text-align: center;
}

.gt-loader .loader-logo-wrap {
  width: 126px;
  height: 126px;
  position: relative;
  padding: 18px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.98), rgba(233,240,255,0.98));
  box-shadow: 0 22px 50px rgba(15, 61, 145, 0.16);
  animation: gt-loader-float 1.5s ease-in-out infinite;
}

.gt-loader .loader-logo-wrap::before {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    transparent 265deg,
    rgba(212, 175, 55, 0.98) 300deg,
    rgba(47, 135, 255, 0.95) 332deg,
    transparent 352deg,
    transparent 360deg
  );
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  padding: 4px;
  animation: gt-loader-ring 1.1s linear infinite;
}

.gt-loader .loader-logo-wrap::after {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.98), rgba(238,243,255,0.98));
  z-index: 0;
}

.gt-loader .loader-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  animation: gt-loader-glow 1.8s ease-in-out infinite;
  position: relative;
  z-index: 1;
}

.gt-loader .loader-text {
  margin: 0;
  font-family: "Cinzel", Georgia, serif;
  letter-spacing: 0.08em;
  font-size: 0.92rem;
  color: var(--primary-strong);
}

@keyframes gt-loader-float {
  0%, 100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-8px) scale(1.02);
  }
}

@keyframes gt-loader-glow {
  0%, 100% {
    filter: drop-shadow(0 0 0 rgba(212, 175, 55, 0));
  }
  50% {
    filter: drop-shadow(0 0 14px rgba(212, 175, 55, 0.32));
  }
}

@keyframes gt-loader-ring {
  to {
    transform: rotate(360deg);
  }
}

.product-title a {
  color: inherit;
  text-decoration: none;
}

.product-title a:hover,
.product-title a:focus-visible {
  color: var(--primary-strong);
}

.product-card-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
}

.gt-cart-modal-open {
  overflow: hidden;
}

.gt-cart-modal {
  position: fixed;
  inset: 0;
  z-index: 1001;
  display: grid;
  place-items: center;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: max(1rem, env(safe-area-inset-top)) 1rem max(1rem, env(safe-area-inset-bottom));
  -webkit-overflow-scrolling: touch;
}

.gt-cart-modal.hidden {
  display: none;
}

.gt-cart-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 18, 32, 0.45);
  backdrop-filter: blur(6px);
}

.gt-cart-modal__dialog {
  position: relative;
  width: min(100%, 420px);
  max-height: calc(100dvh - 2rem);
  overflow-y: auto;
  overscroll-behavior: contain;
  background: #fff;
  border-radius: 24px;
  padding: 1.5rem;
  box-shadow: 0 24px 60px rgba(15, 61, 145, 0.2);
  border: 1px solid rgba(15, 61, 145, 0.08);
  text-align: left;
  -webkit-overflow-scrolling: touch;
}

.gt-cart-modal__close {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: 999px;
  background: rgba(15, 61, 145, 0.08);
  color: #0f3d91;
  font-size: 1.3rem;
  cursor: pointer;
}

.gt-cart-modal__eyebrow {
  margin: 0 0 0.4rem;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8f6b00;
}

.gt-cart-modal__title {
  margin: 0;
  font-size: 1.5rem;
  color: #14213d;
}

.gt-cart-modal__text {
  margin: 0.7rem 0 0;
  color: #4a5568;
  line-height: 1.6;
}

.gt-cart-modal__actions {
  margin-top: 1rem;
  display: flex;
  justify-content: flex-start;
}

.gt-cart-modal__actions[hidden] {
  display: none;
}

.gt-phone-modal__dialog {
  width: min(100%, 460px);
}

.gt-address-modal__dialog {
  width: min(100%, 540px);
}

.gt-phone-modal__form,
.gt-address-modal__form {
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
}

.gt-address-modal__form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gt-address-modal__full {
  grid-column: 1 / -1;
}

.gt-phone-modal__form label,
.gt-address-modal__form label {
  color: #14213d;
  font-size: 0.92rem;
  font-weight: 700;
}

.gt-phone-modal__form input,
.gt-address-modal__form input {
  width: 100%;
  border: 1px solid rgba(15, 61, 145, 0.18);
  border-radius: 8px;
  padding: 0.82rem 0.9rem;
  color: #14213d;
  font: inherit;
}

.gt-phone-modal__form input:focus,
.gt-address-modal__form input:focus {
  border-color: #0f3d91;
  box-shadow: 0 0 0 3px rgba(15, 61, 145, 0.1);
  outline: none;
}

.gt-phone-modal__hint,
.gt-phone-modal__status,
.gt-address-modal__hint,
.gt-address-modal__status {
  margin: 0;
  color: #667085;
  font-size: 0.9rem;
  line-height: 1.45;
}

.gt-phone-modal__status.is-error,
.gt-address-modal__status.is-error {
  color: #c13a2e;
}

.gt-phone-modal__status.is-success,
.gt-address-modal__status.is-success {
  color: #16794c;
}

@media (max-width: 640px) {
  .product-card-actions {
    grid-template-columns: 1fr;
  }

  .gt-cart-modal__dialog {
    border-radius: 20px;
    padding: 1.3rem 1.1rem;
    max-height: calc(100dvh - 1.25rem);
  }

  .gt-address-modal__form {
    grid-template-columns: 1fr;
  }
}

/* Storefront skeleton shimmer */
.skeleton-line {
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, #e8f0ff 0%, #f9fbff 45%, #e8f0ff 100%);
  background-size: 200% 100%;
  animation: shimmer 1.2s ease-in-out infinite;
}

.skeleton-block {
  border-radius: 12px;
  background: linear-gradient(90deg, #e8f0ff 0%, #f9fbff 45%, #e8f0ff 100%);
  background-size: 200% 100%;
  animation: shimmer 1.2s ease-in-out infinite;
}

.hero-loading-slide {
  min-height: clamp(280px, 48vw, 520px);
}

.hero-loading-state {
  min-height: clamp(280px, 48vw, 520px);
  display: grid;
  place-items: center;
}

.hero-loading-spinner {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  border: 4px solid rgba(255, 255, 255, 0.24);
  border-top-color: #ffffff;
  border-right-color: #6bb7ff;
  animation: heroSpin 0.9s linear infinite;
}

@keyframes heroSpin {
  to {
    transform: rotate(360deg);
  }
}

.empty-note {
  margin-top: 0.75rem;
  color: #c0392b;
  font-weight: 600;
}

.mobile-menu-page {
  min-height: 100vh;
  opacity: 1 !important;
}

.mobile-menu-screen {
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 1rem;
}

.mobile-menu-panel {
  width: min(560px, 100%);
  background: rgba(255, 255, 255, 0.98) !important;
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: 0 18px 40px rgba(10, 47, 114, 0.16);
  padding: 1rem;
  backdrop-filter: blur(10px);
  color: var(--primary-strong) !important;
}

.mobile-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.mobile-menu-links {
  display: grid;
  gap: 0.65rem;
}

.mobile-menu-links a {
  display: block;
  padding: 0.9rem 1rem;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #fff !important;
  color: var(--primary-strong) !important;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(10, 47, 114, 0.08);
  opacity: 1 !important;
  visibility: visible !important;
}

.mobile-menu-links a:hover {
  background: var(--surface-soft);
}

@media (max-width: 620px) {
  .mobile-menu-screen {
    padding: 0.75rem;
  }

  .mobile-menu-panel {
    border-radius: 20px;
  }

  .mobile-menu-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .mobile-menu-close {
    width: 100%;
    justify-content: center;
  }
}

.search-summary {
  margin-bottom: 1rem;
  color: var(--muted);
}

.search-results {
  display: grid;
  gap: 1rem;
}

.search-page-shell {
  background: linear-gradient(135deg, rgba(15, 61, 145, 0.08), rgba(233, 176, 56, 0.12));
  border: 1px solid rgba(15, 61, 145, 0.12);
  border-radius: var(--radius-lg);
  padding: 1.4rem;
  margin-bottom: 1.2rem;
  position: relative;
  z-index: 20;
  isolation: isolate;
}

.search-page-intro {
  margin-bottom: 1rem;
}

.search-page-eyebrow {
  display: inline-block;
  margin-bottom: 0.5rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(15, 61, 145, 0.1);
  color: var(--primary-strong);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.search-page-intro h2 {
  margin: 0 0 0.45rem;
  font-family: "Cinzel", Georgia, serif;
  color: var(--primary-strong);
}

.search-page-intro p {
  margin: 0;
  color: var(--muted);
  max-width: 760px;
}

.search-page-form {
  align-items: stretch;
  gap: 0.7rem;
}

.search-field-wrap {
  position: relative;
  flex: 1 1 420px;
  z-index: 30;
}

.search-page-form input {
  width: 100%;
  min-width: 0;
  padding: 0.8rem 1rem;
}

.search-page-form button {
  min-width: 130px;
  padding: 0.8rem 1rem;
}

.search-helper-text {
  margin: 0.8rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.search-correction-note {
  margin: 0.8rem 0 0;
  color: var(--primary-strong);
  font-size: 0.95rem;
  font-weight: 700;
}

.search-correction-note strong {
  color: inherit;
}

.search-autocomplete {
  position: absolute;
  top: calc(100% + 0.45rem);
  left: 0;
  right: 0;
  z-index: 60;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: 0 18px 35px rgba(15, 61, 145, 0.16);
  padding: 0.4rem;
  max-height: min(420px, 70vh);
  overflow-y: auto;
}

.search-suggestion {
  width: 100%;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  align-items: center;
  gap: 0.8rem;
  border: 0 !important;
  background: transparent !important;
  color: var(--primary-strong) !important;
  box-shadow: none !important;
  border-radius: 16px;
  padding: 0.65rem;
  text-align: left;
  cursor: pointer;
  min-width: 0 !important;
  justify-content: flex-start !important;
}

.search-suggestion:hover,
.search-suggestion:focus-visible {
  background: #f4f7fd !important;
  outline: none;
  transform: none !important;
}

.search-suggestion-copy {
  display: grid;
  gap: 0.16rem;
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
}

.search-suggestion-copy strong {
  color: var(--primary-strong) !important;
  font-size: 1rem;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-suggestion-copy strong mark,
.product-title mark {
  background: rgba(233, 176, 56, 0.28);
  color: inherit;
  padding: 0 0.15rem;
  border-radius: 0.2rem;
}

.search-suggestion-copy small {
  color: var(--muted) !important;
  font-size: 0.82rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-suggestion-smart {
  border-bottom: 1px solid rgba(15, 61, 145, 0.08);
}

.search-autocomplete button.search-suggestion {
  padding: 0.75rem !important;
  margin: 0 !important;
}

.search-autocomplete {
  overflow: hidden;
}

.search-autocomplete button.search-suggestion:last-child {
  border-bottom: 0;
}

.search-suggestion-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  background: linear-gradient(135deg, rgba(15, 61, 145, 0.08), rgba(233, 176, 56, 0.2));
  color: var(--primary-strong);
  font-size: 1.2rem;
  font-weight: 800;
}

.search-suggestion-icon-product {
  background: #eef4ff;
  color: #2b5fbb;
}

.search-popular {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  margin-top: 1rem;
  color: var(--muted);
}

.search-chip {
  border: 1px solid rgba(15, 61, 145, 0.12);
  background: rgba(255, 255, 255, 0.9);
  color: var(--primary-strong);
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
  font-weight: 700;
  cursor: pointer;
}

.search-results-panel {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 20px rgba(15, 61, 145, 0.08);
  padding: 1.2rem;
  position: relative;
  z-index: 1;
}

.search-results-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1rem;
}

.search-toolbar {
  display: flex;
  justify-content: flex-end;
}

.search-sort-label {
  display: grid;
  gap: 0.3rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.search-sort-label select {
  min-width: 180px;
  padding: 0.65rem 0.8rem;
  border-radius: 12px;
  border: 1px solid var(--border);
}

.search-layout {
  display: grid;
  grid-template-columns: minmax(220px, 270px) 1fr;
  gap: 1.2rem;
}

.search-filters {
  display: grid;
  gap: 1rem;
  align-content: start;
}

.search-filter-card {
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1rem;
  background: linear-gradient(180deg, rgba(247, 250, 255, 0.98), rgba(255, 255, 255, 0.98));
}

.search-filter-card h3 {
  margin: 0;
  font-size: 1rem;
  color: var(--primary-strong);
}

.search-filter-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.7rem;
}

.search-clear-link {
  border: 0;
  background: transparent;
  color: var(--primary-strong);
  font-weight: 700;
  cursor: pointer;
}

.search-filter-list {
  display: grid;
  gap: 0.55rem;
}

.search-filter-field {
  display: grid;
  gap: 0.45rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.search-filter-field select,
.search-filter-field input {
  width: 100%;
  min-width: 0;
  padding: 0.72rem 0.8rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  color: var(--primary-strong);
}

.search-filter-option {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.55rem;
  align-items: center;
  color: var(--text);
}

.search-filter-option input {
  margin: 0;
}

.search-filter-option small,
.search-filter-empty {
  color: var(--muted);
}

.search-price-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 0.8rem;
}

.search-price-fields label {
  display: grid;
  gap: 0.32rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.search-price-fields input {
  width: 100%;
  min-width: 0;
}

.search-reset-btn {
  width: 100%;
}

.search-apply-btn {
  width: 100%;
}

.search-results-body {
  min-width: 0;
}

.search-applied-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1rem;
}

.search-applied-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: rgba(15, 61, 145, 0.08);
  color: var(--primary-strong);
  font-weight: 700;
}

.search-product-grid {
  min-height: 220px;
}

.search-result-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0 0 0.85rem;
}

.product-subtitle {
  margin: 0.2rem 0 0.55rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.search-result-meta span {
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  background: rgba(15, 61, 145, 0.06);
  color: var(--primary-strong);
  font-size: 0.8rem;
  font-weight: 700;
}

.search-empty-state {
  grid-column: 1 / -1;
  margin: 0;
  padding: 1.2rem;
  border: 1px dashed rgba(15, 61, 145, 0.2);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(247, 250, 255, 0.98), rgba(255, 255, 255, 0.98));
  color: var(--muted);
}

.search-section-block {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 20px rgba(15, 61, 145, 0.08);
  padding: 1.2rem;
}

.search-section-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
  margin-bottom: 0.9rem;
}

.search-section-head h2 {
  margin: 0;
  font-family: "Cinzel", Georgia, serif;
  color: var(--primary-strong);
}

.search-hit-list {
  display: grid;
  gap: 0.8rem;
}

.search-hit {
  padding: 0.95rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(246,249,255,0.98));
}

.search-hit-type {
  display: inline-block;
  margin-bottom: 0.35rem;
  color: #5e77a0;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.search-hit h3 {
  margin: 0 0 0.3rem;
  font-family: "Cinzel", Georgia, serif;
  color: var(--primary-strong);
}

.search-hit p {
  margin: 0 0 0.65rem;
  color: var(--muted);
}

.search-hit a {
  font-weight: 700;
}

@media (max-width: 760px) {
  .search-page-form {
    flex-direction: column;
  }

  .search-field-wrap {
    flex: 1 1 auto;
    width: 100%;
  }

  .search-page-form button {
    width: 100%;
  }

  .search-results-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .search-layout {
    grid-template-columns: 1fr;
  }

  .search-filters {
    order: 2;
  }

  .search-price-fields {
    grid-template-columns: 1fr;
  }
}

.form-status {
  margin-top: 0.6rem;
  padding: 0.55rem 0.8rem;
  border-radius: 12px;
  font-weight: 700;
  background: #edf5ff;
  color: #0f3d91;
  border: 1px solid #cfe0ff;
  display: inline-block;
}

.form-status.is-success {
  background: #e8f7ef;
  color: #136c3a;
  border-color: #bfe7d1;
}

.form-status.is-error {
  background: #fdecea;
  color: #b3261e;
  border-color: #f4c7c3;
}

.form-status.is-loading {
  background: #f4f8ff;
  color: var(--primary-strong);
  border-color: #cfe0ff;
  box-shadow: 0 8px 22px rgba(15, 61, 145, 0.08);
}

.skeleton-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1rem;
  box-shadow: 0 8px 24px rgba(15, 61, 145, 0.09);
}

.skeleton-grid {
  display: grid;
  gap: 1rem;
}

@keyframes shimmer {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}






.filter-skeleton{display:inline-block;width:90px;height:28px;border-radius:999px;background:linear-gradient(90deg,#e8f0ff 0%,#f9fbff 45%,#e8f0ff 100%);background-size:200% 100%;animation:shimmer 1.2s ease-in-out infinite;}



[data-watch-showcase].is-skeleton img{opacity:0;}
.showcase-skeleton{border-radius:18px;}


.account-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.6rem;
}

.account-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  padding: 1.6rem;
  min-width: 0;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.account-card:hover {
  border-color: rgba(15, 61, 145, 0.18);
  box-shadow: 0 16px 36px rgba(15, 61, 145, 0.11);
  transform: translateY(-2px);
}

.account-card .small {
  color: var(--muted);
  margin-bottom: 1rem;
}

.account-profile-card,
.account-phone-card {
  align-self: start;
}

.account-phone-card {
  border-top: 4px solid #ff5757;
}

.account-address-card {
  grid-column: 1 / -1;
}

.account-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.account-header h3 {
  margin-bottom: 0.25rem;
}

.phone-action-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid rgba(255, 87, 87, 0.18);
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, #fff7f7, #f7fbff);
}

.phone-action-panel p {
  margin: 0.2rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.panel-kicker {
  display: inline-flex;
  align-items: center;
  color: #d71920;
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
}

.form-grid {
  display: grid;
  gap: 0.9rem;
}

.form-grid.is-busy {
  opacity: 0.82;
}

.form-grid input,
.form-grid select,
.form-grid textarea {
  width: 100%;
  padding: 0.7rem 0.8rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  font: inherit;
  background: #fff;
}

.form-grid input:disabled,
.form-grid select:disabled,
.form-grid textarea:disabled {
  background: #f7f9fd;
  color: var(--muted);
  cursor: not-allowed;
}

.form-grid label {
  font-weight: 600;
  font-size: 0.92rem;
  display: block;
  margin-bottom: 0.35rem;
}

.checkbox-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  color: var(--muted);
}

.form-status {
  font-weight: 600;
  color: var(--muted);
}

.form-status.is-success {
  color: var(--success);
}

.form-status.is-error {
  color: #c13a2e;
}

.btn-outline {
  border: 1px solid var(--border);
  background: #fff;
  color: var(--primary-strong);
}

.address-list {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.address-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  background: var(--surface-soft);
  min-width: 0;
}

.address-actions {
  display: grid;
  gap: 0.6rem;
  align-content: start;
}

.address-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  align-items: center;
}

.phone-page-section {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.phone-page-container {
  max-width: 470px;
}

.phone-page-card {
  padding: 2.4rem 2rem;
  text-align: center;
}

.phone-page-card .section-title {
  margin-bottom: 0.5rem;
}

.phone-page-card .small {
  margin: 0.55rem 0 1.35rem;
}

.phone-page-form {
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
  text-align: left;
}

.phone-page-form .btn {
  width: 100%;
}

.phone-page-footer {
  margin-top: 1.4rem;
}

.phone-page-footer .small {
  margin-bottom: 0;
}

@media (max-width: 640px) {
  .account-card {
    padding: 1.15rem;
  }

  .account-header,
  .address-card,
  .phone-action-panel {
    align-items: stretch;
    flex-direction: column;
  }

  .phone-action-panel .btn,
  .address-actions .btn,
  .address-form-actions .btn {
    width: 100%;
  }

  .phone-page-section {
    padding-top: 2rem;
    padding-bottom: 2.5rem;
  }

  .phone-page-card {
    padding: 1.45rem 1.1rem;
  }
}

.verification-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  align-items: center;
}

.history-list {
  display: grid;
  gap: 0.8rem;
  margin-top: 0.8rem;
}

.history-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: #fff;
}

.history-amount {
  font-weight: 700;
}

.cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 2rem;
}

.cart-panel {
  background: var(--surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.cart-items {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

.cart-item {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: #fff;
}

.cart-thumb img {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: 12px;
  background: var(--surface-soft);
}

.cart-info h4 {
  margin-bottom: 0.2rem;
}

.cart-actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: 0.6rem;
}

.cart-price {
  font-weight: 700;
}

.cart-summary {
  background: #fff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  height: fit-content;
}

.address-select {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  font: inherit;
  background: #fff;
  margin-bottom: 0.6rem;
}

.summary-row,
.summary-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0.8rem 0;
}

.summary-total {
  font-size: 1.1rem;
  font-weight: 700;
}

.btn.is-disabled {
  opacity: 0.6;
  pointer-events: none;
}

.social-auth {
  margin-top: 1rem;
}

.social-auth .btn {
  width: 100%;
  justify-content: center;
}

.google-icon {
  display: inline-flex;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: #1a73e8;
  background: #eaf2ff;
  margin-right: 0.55rem;
}

.otp-box {
  width: 45px;
  height: 55px;
  text-align: center;
  font-size: 1.5rem;
  border: 1px solid #ccc;
  border-radius: 8px;
}

.otp-box:focus {
  outline: 2px solid rgba(26, 115, 232, 0.18);
  border-color: #1a73e8;
}

.link-inline {
  color: var(--accent);
  font-weight: 600;
}

@media (max-width: 900px) {
  .cart-layout {
    grid-template-columns: 1fr;
  }

  .cart-item {
    grid-template-columns: 70px 1fr;
    grid-template-areas:
      "thumb info"
      "thumb price";
  }

  .cart-price {
    grid-area: price;
    text-align: right;
  }
}

.notice {
  background: #eef5ff;
  border: 1px dashed #9bbcff;
  padding: 0.8rem;
  border-radius: 12px;
  color: var(--primary-strong);
  font-size: 0.92rem;
}

.booking-card {
  display: grid;
  gap: 1rem;
}

.booking-meta-row {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.booking-amount {
  font-weight: 700;
  color: var(--primary-strong);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.82rem;
  background: #fff5da;
  color: #8a5a00;
}

.status-pill.success {
  background: #e6f7ee;
  color: #1a7d45;
}

.status-pill.danger {
  background: #ffe3e3;
  color: #b2362d;
}

.status-pill.info {
  background: #e7f0ff;
  color: #1851b7;
}

.tracking-timeline {
  display: grid;
  gap: 0.55rem;
}

.tracking-step {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--muted);
  font-weight: 600;
}

.tracking-step .tracking-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #c6d4ed;
  flex: 0 0 auto;
}

.tracking-step.is-done,
.tracking-step.is-active {
  color: var(--primary-strong);
}

.tracking-step.is-done .tracking-dot,
.tracking-step.is-active .tracking-dot {
  background: var(--primary);
}

.booking-items {
  display: grid;
  gap: 0.6rem;
}

.booking-item-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #f9fbff;
}

/* Final media integrity and mobile grid overrides */
.product-thumb,
.category-tile a,
.blog-card,
.hero-media,
.showcase-image-wrap {
  overflow: hidden;
}

.product-thumb {
  display: flex;
  align-items: center;
  justify-content: center;
}

.category-tile a {
  display: block;
}

.product-thumb img,
.category-tile img,
.blog-card img,
.showcase-image-wrap img {
  display: block;
  width: 100%;
  height: auto !important;
  max-width: 100%;
  object-fit: contain !important;
  aspect-ratio: auto !important;
  background: #f4f9ff;
}

/* Override global image rules for showcase */
.showcase-panel .showcase-image-wrap img {
  height: auto !important;
  max-height: 360px !important;
  object-fit: contain !important;
  background: transparent !important;
  image-rendering: auto;
}

/* Preserve hero image sharpness */
.hero-media img {
  display: block;
  width: 100%;
  height: 360px !important;
  max-height: 360px !important;
  object-fit: cover !important;
  image-rendering: auto;
  background: transparent !important;
}

@media (max-width: 880px) {
  .showcase-panel .showcase-image-wrap img {
    max-height: 260px !important;
  }
}

@media (max-width: 640px) {
  .showcase-panel .showcase-image-wrap img {
    max-height: 235px !important;
  }
}

@media (max-width: 880px) {
  .hero-highlights {
    margin: 0.8rem 0 1rem;
  }

  .hero-feature-card {
    max-width: none;
  }

  .hero-media img {
    height: 260px !important;
    max-height: 260px !important;
  }
}

@media (max-width: 640px) {
  .hero-highlights span {
    font-size: 0.72rem;
    padding: 0.38rem 0.7rem;
  }

  .hero-feature-card {
    padding: 0.85rem 0.9rem;
  }

  .hero-media img {
    height: 220px !important;
    max-height: 220px !important;
  }
}

.product-thumb img,
.category-tile img,
.blog-card img {
  border-radius: 12px;
}

.hero-media img,
.showcase-image-wrap img {
  max-height: 420px;
}

@media (max-width: 640px) {
  .product-grid,
  .shop-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.75rem !important;
  }

  .product-card,
  .category-tile {
    min-width: 0;
  }

  .product-thumb,
  .category-tile {
    padding: 0.55rem;
  }

  .carousel-track {
    gap: 0.75rem !important;
  }

  .carousel-card {
    min-width: calc(50% - 0.375rem) !important;
    max-width: calc(50% - 0.375rem) !important;
  }

  .carousel-window {
    overflow-x: auto;
    padding-bottom: 0.25rem;
  }

  .product-thumb img,
  .category-tile img,
  .blog-card img {
    max-height: 180px;
  }

  .hero-media img,
  .showcase-image-wrap img {
    max-height: 260px;
  }
}

@media (max-width: 380px) {
  .product-grid,
  .shop-category-grid {
    gap: 0.6rem !important;
  }

  .carousel-card {
    min-width: calc(50% - 0.3rem) !important;
    max-width: calc(50% - 0.3rem) !important;
  }

  .product-thumb img,
  .category-tile img,
  .blog-card img {
    max-height: 150px;
  }
}

.order-success-card {
  position: relative;
  overflow: hidden;
}

.invoice-download-btn {
  background: linear-gradient(135deg, #0f3d91, #2876f0);
  box-shadow: 0 14px 28px rgba(15, 61, 145, 0.22);
}

.invoice-download-btn:disabled {
  cursor: wait;
  opacity: 0.72;
}

.success-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin: 1rem 0;
}

.success-grid p {
  margin: 0.35rem 0 0;
  color: var(--primary-strong);
  font-weight: 600;
}

.burst-wrap {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.burst-piece {
  position: absolute;
  top: -12px;
  width: 10px;
  height: 18px;
  border-radius: 999px;
  opacity: 0;
  animation: burst-fall 1.4s ease forwards;
}

@keyframes burst-fall {
  0% {
    transform: translateY(-10px) rotate(0deg);
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  100% {
    transform: translateY(340px) rotate(240deg);
    opacity: 0;
  }
}

/* Fullscreen layered homepage hero */
.hero-slider-section--immersive {
  padding: 0 0 1.4rem;
}

.hero-slider--immersive {
  min-height: calc(100svh - 122px);
  border-radius: 0;
  background: #08172d;
  box-shadow: none;
}

.hero-slider--immersive::before,
.hero-slider--immersive::after {
  display: none;
}

.hero-slider--immersive .hero-track {
  min-height: inherit;
}

.hero-slider--immersive .hero-slide {
  min-height: inherit;
  grid-template-columns: 1fr;
  gap: 0;
  padding: 0;
  overflow: hidden;
  align-items: stretch;
}

.hero-slide-bg,
.hero-slide-overlay-art,
.hero-slide-panel {
  grid-area: 1 / 1;
}

.hero-slide-bg {
  position: relative;
  min-height: inherit;
  z-index: 1;
  transform: translateX(0);
  transition: transform 0.85s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.hero-slide-picture,
.hero-slide-picture img {
  width: 100%;
  height: 100%;
}

.hero-slide-picture img {
  object-fit: cover;
}

.hero-slide-image-mask {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3, 12, 28, 0.76) 0%, rgba(3, 12, 28, 0.38) 38%, rgba(3, 12, 28, 0.15) 62%, rgba(3, 12, 28, 0.58) 100%),
    linear-gradient(180deg, rgba(6, 15, 34, 0.2) 0%, rgba(6, 15, 34, 0.56) 100%);
}

.hero-slide-overlay-art {
  position: relative;
  z-index: 2;
  pointer-events: none;
  transform: translateX(0);
  transition: transform 0.85s cubic-bezier(0.22, 0.61, 0.36, 1), opacity 0.85s ease;
}

.hero-slide-overlay-art img {
  position: absolute;
  left: var(--hero-art-x, 74%);
  top: var(--hero-art-y, 50%);
  transform: translate(-50%, -50%);
  width: min(40vw, 560px);
  max-height: 74vh;
  object-fit: contain;
  filter: drop-shadow(0 20px 36px rgba(0, 0, 0, 0.28));
}

.hero-slide-panel {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  min-height: inherit;
  padding: 5.5rem 7vw 4rem;
}

.hero-slider--immersive .hero-copy {
  max-width: min(560px, 92vw);
}

.hero-slider--immersive .hero-copy h2 {
  font-size: clamp(2.6rem, 5.6vw, 5.8rem);
  line-height: 0.95;
  margin-bottom: 1rem;
  text-shadow: 0 10px 28px rgba(4, 12, 28, 0.34);
}

.hero-slider--immersive .hero-copy p {
  font-size: clamp(1rem, 1.4vw, 1.22rem);
  max-width: 52ch;
}

.hero-slider--immersive .hero-highlights {
  margin: 1.25rem 0 1.4rem;
}

.hero-slider--immersive .hero-feature-card {
  display: none;
}

.hero-slider--immersive[data-slide-direction="next"] .hero-slide.is-active .hero-slide-overlay-art {
  animation: heroArtNext 0.85s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.hero-slider--immersive[data-slide-direction="next"] .hero-slide.is-active .hero-slide-bg {
  animation: heroImageNext 0.85s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.hero-slider--immersive[data-slide-direction="prev"] .hero-slide.is-active .hero-slide-overlay-art {
  animation: heroArtPrev 0.85s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.hero-slider--immersive[data-slide-direction="prev"] .hero-slide.is-active .hero-slide-bg {
  animation: heroImagePrev 0.85s cubic-bezier(0.22, 0.61, 0.36, 1);
}

@keyframes heroArtNext {
  from {
    opacity: 0;
    transform: translateX(96px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes heroImageNext {
  from {
    transform: translateX(-72px) scale(1.04);
  }
  to {
    transform: translateX(0) scale(1);
  }
}

@keyframes heroArtPrev {
  from {
    opacity: 0;
    transform: translateX(-96px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes heroImagePrev {
  from {
    transform: translateX(72px) scale(1.04);
  }
  to {
    transform: translateX(0) scale(1);
  }
}

.hero-slider--immersive .slider-arrow {
  top: auto;
  bottom: 1.5rem;
  transform: none;
  z-index: 5;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
}

.hero-slider--immersive .slider-prev {
  left: 1.5rem;
}

.hero-slider--immersive .slider-next {
  right: 1.5rem;
}

.hero-slider--immersive .slider-dots {
  bottom: 1.8rem;
  z-index: 5;
}

@media (max-width: 880px) {
  .hero-slider--immersive {
    min-height: calc(100svh - 98px);
  }

  .hero-slider--immersive .hero-slide-panel {
    align-items: flex-end;
    padding: 4.8rem 1.2rem 5.2rem;
  }

  .hero-slide-overlay-art img {
    left: var(--hero-art-mobile-x, 50%);
    top: var(--hero-art-mobile-y, 26%);
    width: min(78vw, 380px);
    max-height: 42vh;
  }

  .hero-slider--immersive .hero-copy h2 {
    font-size: clamp(2rem, 10vw, 3.2rem);
  }

  .hero-slider--immersive .hero-copy p {
    font-size: 0.98rem;
  }

  .hero-slider--immersive .hero-highlights {
    gap: 0.45rem;
  }

  .hero-slider--immersive .hero-highlights span {
    font-size: 0.72rem;
  }
}

/* Keep the phone header on one row: brand left, menu/cart/avatar right. */
@media (max-width: 620px) {
  .site-header {
    position: sticky !important;
    top: 0 !important;
    z-index: 160 !important;
  }

  .site-header .top-strip,
  .site-header .announcement-bar {
    position: static;
  }

  .site-header .nav-shell {
    min-height: 62px;
    flex-wrap: nowrap !important;
    align-items: center;
    gap: 0.42rem;
  }

  .site-header .brand {
    flex: 0 1 auto;
    min-width: 0;
    gap: 0.45rem;
  }

  .site-header .brand span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .site-header .menu-toggle {
    order: 2;
    flex: 0 0 auto;
    margin-left: auto;
  }

  .site-header .main-nav {
    order: 5;
  }

  .site-header .header-actions,
  .site-header .header-actions.stacked {
    order: 3;
    width: auto !important;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: nowrap !important;
    gap: 0.35rem;
    margin: 0 0 0 0.1rem !important;
    padding: 0 !important;
    background: transparent !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }

  .site-header .header-actions a {
    flex: 0 0 auto;
  }

  .site-header .mobile-cart {
    order: 1;
    margin-left: 0;
  }

  .site-header .header-actions a.profile-avatar-link {
    order: 2;
    width: 36px;
    height: 36px;
    padding: 0;
  }
}

/* Professional header polish */
.site-header {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 251, 255, 0.94));
  border-bottom: 1px solid rgba(15, 61, 145, 0.12);
  box-shadow: 0 16px 36px rgba(10, 47, 114, 0.08);
}

.site-header .brand {
  font-weight: 700;
}

@media (min-width: 881px) {
  .site-header .main-nav li:has([data-account-link]),
  .site-header .main-nav [data-account-menu-item] {
    display: none;
  }

  .site-header .nav-shell {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: clamp(0.75rem, 1.5vw, 1.35rem);
    min-height: 76px;
    flex-wrap: nowrap !important;
  }

  .site-header .brand {
    justify-self: start;
    min-width: 0;
    padding: 0.34rem 0.7rem 0.34rem 0.36rem;
    border: 1px solid rgba(15, 61, 145, 0.1);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 12px 28px rgba(10, 47, 114, 0.08);
  }

  .site-header .brand img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    box-shadow: 0 8px 18px rgba(10, 47, 114, 0.1);
  }

  .site-header .brand span {
    font-size: 1.05rem;
    white-space: nowrap;
  }

  .site-header .main-nav {
    margin-left: 0;
    min-width: 0;
    justify-self: end;
  }

  .site-header .main-nav ul {
    gap: 0.16rem;
    padding: 0.28rem;
    border: 1px solid rgba(15, 61, 145, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 10px 24px rgba(10, 47, 114, 0.07);
    overflow: hidden;
  }

  .site-header .main-nav a {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 0 0.64rem;
    color: #3c5377;
    font-size: 0.82rem;
    letter-spacing: -0.01em;
    white-space: nowrap;
    transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
  }

  .site-header .main-nav a:hover,
  .site-header .main-nav a.is-active {
    background: #eaf3ff;
    color: var(--primary-strong);
  }

  .site-header .main-nav a:hover {
    transform: translateY(-1px);
  }

  .site-header .main-nav .cta-link {
    background: linear-gradient(135deg, #0f4fc2, #2d7fff);
    color: #ffffff !important;
    box-shadow: 0 10px 20px rgba(15, 79, 194, 0.24);
  }

  .site-header .main-nav .cta-link:hover,
  .site-header .main-nav .cta-link.is-active {
    background: linear-gradient(135deg, #0b3d98, #216ce0);
    color: #ffffff !important;
  }

  .site-header .header-actions {
    width: auto !important;
    justify-self: end;
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: nowrap !important;
    gap: 0.36rem;
    margin: 0 !important;
    padding: 0.26rem;
    border: 1px solid rgba(15, 61, 145, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.74);
    box-shadow: 0 12px 26px rgba(10, 47, 114, 0.08);
  }

  .site-header .header-actions a {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(15, 61, 145, 0.12);
    background: #ffffff;
    color: var(--primary-strong);
    border-radius: 999px;
    padding: 0.42rem 0.78rem;
    font-size: 0.8rem;
    line-height: 1;
    white-space: nowrap;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  }

  .site-header .header-actions a:hover {
    transform: translateY(-1px);
    border-color: rgba(47, 135, 255, 0.38);
    box-shadow: 0 10px 20px rgba(10, 47, 114, 0.1);
  }

  .site-header .header-actions a[href*="cart.html"] {
    background: linear-gradient(135deg, #082e73, #145bd0);
    border-color: transparent;
    color: #ffffff;
    box-shadow: 0 10px 20px rgba(8, 46, 115, 0.18);
  }

  .site-header .header-actions a.profile-avatar-link {
    width: 40px;
    height: 40px;
    min-height: 40px;
    padding: 0;
    border: 2px solid #ffffff;
    box-shadow: 0 8px 18px rgba(10, 47, 114, 0.12);
  }
}

@media (min-width: 881px) and (max-width: 1200px) {
  .site-header .nav-shell {
    gap: 0.72rem;
  }

  .site-header .main-nav a {
    padding: 0 0.48rem;
    font-size: 0.78rem;
  }

  .site-header .brand span {
    font-size: 0.98rem;
  }

  .site-header .header-actions a {
    padding-inline: 0.62rem;
  }
}

@media (max-width: 880px) {
  .site-header {
    position: sticky !important;
    top: 0 !important;
    z-index: 160 !important;
  }

  .site-header .nav-shell {
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(15, 61, 145, 0.12);
  }

  .site-header .brand {
    font-size: 1rem;
  }

  .site-header .menu-toggle,
  .site-header .mobile-cart,
  .site-header .header-actions a {
    box-shadow: 0 8px 18px rgba(10, 47, 114, 0.08);
  }
}

@media (max-width: 620px) {
  .site-header .nav-shell {
    min-height: 64px;
    padding: 0.46rem 0.56rem;
  }

  .site-header .brand img {
    width: 40px;
    height: 40px;
  }

  .site-header .brand {
    flex: 0 1 145px;
    max-width: 145px;
  }

  .site-header .brand span {
    font-size: 0.9rem;
    letter-spacing: 0.03em;
  }

  .site-header .menu-toggle {
    min-height: 34px;
    margin-left: 0;
    padding: 0.4rem 0.68rem;
    background: #edf5ff;
    border-color: rgba(15, 61, 145, 0.16);
  }

  .site-header .header-actions,
  .site-header .header-actions.stacked {
    margin-left: auto !important;
  }

  .site-header .mobile-cart {
    width: 36px;
    height: 34px;
    min-height: 34px;
    padding: 0;
    background: linear-gradient(135deg, #082e73, #145bd0);
    border-color: transparent;
    color: #ffffff;
    display: inline-grid;
    place-items: center;
    font-size: 0;
  }

  .site-header .mobile-cart::before {
    content: "";
    width: 16px;
    height: 16px;
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 18.5A1.5 1.5 0 1 0 7 21.5 1.5 1.5 0 0 0 7 18.5Zm10 0a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3ZM6.2 6l.35 2h11.9c.78 0 1.36.73 1.17 1.49l-1.05 4.25A2.4 2.4 0 0 1 16.24 15.5H8.3a2.4 2.4 0 0 1-2.36-1.97L4.45 5H2.75a1.05 1.05 0 1 1 0-2.1h2.12c.52 0 .97.38 1.06.89L6.2 6Z'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 18.5A1.5 1.5 0 1 0 7 21.5 1.5 1.5 0 0 0 7 18.5Zm10 0a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3ZM6.2 6l.35 2h11.9c.78 0 1.36.73 1.17 1.49l-1.05 4.25A2.4 2.4 0 0 1 16.24 15.5H8.3a2.4 2.4 0 0 1-2.36-1.97L4.45 5H2.75a1.05 1.05 0 1 1 0-2.1h2.12c.52 0 .97.38 1.06.89L6.2 6Z'/%3E%3C/svg%3E") center / contain no-repeat;
  }

  .site-header .header-actions a[href*="account.html"] {
    order: 2;
  }

  .site-header .header-actions a[href*="account.html"]:not(.profile-avatar-link) {
    width: 34px;
    height: 34px;
    min-height: 34px;
    padding: 0;
    font-size: 0;
    border-radius: 50%;
    background: #ffffff;
    color: var(--primary-strong);
    display: inline-grid;
    place-items: center;
  }

  .site-header .header-actions a[href*="account.html"]:not(.profile-avatar-link)::before {
    content: "";
    width: 16px;
    height: 16px;
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 12c2.35 0 4.25-1.9 4.25-4.25S14.35 3.5 12 3.5 7.75 5.4 7.75 7.75 9.65 12 12 12Zm0 2.2c-3.2 0-6.8 1.62-6.8 4.62 0 .95.77 1.68 1.72 1.68h10.16c.95 0 1.72-.73 1.72-1.68 0-3-3.6-4.62-6.8-4.62Z'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 12c2.35 0 4.25-1.9 4.25-4.25S14.35 3.5 12 3.5 7.75 5.4 7.75 7.75 9.65 12 12 12Zm0 2.2c-3.2 0-6.8 1.62-6.8 4.62 0 .95.77 1.68 1.72 1.68h10.16c.95 0 1.72-.73 1.72-1.68 0-3-3.6-4.62-6.8-4.62Z'/%3E%3C/svg%3E") center / contain no-repeat;
  }

  .site-header .header-actions a.profile-avatar-link {
    order: 2;
    width: 34px;
    height: 34px;
    min-height: 34px;
    border: 2px solid #ffffff;
  }
}

/* Mobile marketplace polish */
@media (max-width: 640px) {
  .page-hero {
    padding: 0.8rem 0 0.9rem;
  }

  .page-hero-card {
    border-radius: 14px;
    padding: 1rem 1.05rem;
    box-shadow: 0 4px 14px rgba(15, 61, 145, 0.08);
  }

  .breadcrumb {
    font-size: 0.68rem;
    margin-bottom: 0.35rem;
  }

  .page-hero-card .section-title {
    font-size: 1.12rem;
    line-height: 1.15;
    letter-spacing: 0.02em;
    margin-bottom: 0.45rem !important;
  }

  .page-hero-card .section-subtitle {
    font-size: 0.72rem;
    line-height: 1.45;
    max-width: 18rem;
  }

  main > .section {
    padding-top: 0.8rem !important;
    padding-bottom: 2.1rem !important;
  }

  .shop-search {
    justify-content: stretch;
    margin: 0 0 0.55rem;
  }

  .shop-search-form {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 68px;
    gap: 0.35rem;
  }

  .shop-search-form input {
    min-width: 0;
    width: 100%;
    height: 34px;
    border-color: #c8d8f4;
    padding: 0.38rem 0.72rem;
    font-size: 0.72rem;
    box-shadow: inset 0 1px 2px rgba(15, 61, 145, 0.04);
  }

  .shop-search-form button {
    height: 34px;
    padding: 0 0.55rem;
    font-size: 0.68rem;
    font-weight: 800;
    background: #0f4bb8;
    box-shadow: none;
  }

  .shop-tools {
    flex-wrap: nowrap !important;
    gap: 0.35rem !important;
    overflow-x: auto;
    margin: 0 0 0.75rem !important;
    padding: 0 0 0.25rem;
    scrollbar-width: none;
  }

  .shop-tools::-webkit-scrollbar {
    display: none;
  }

  .shop-tools .filter-btn,
  .filter-btn {
    flex: 0 0 auto;
    min-height: 26px;
    padding: 0.3rem 0.56rem !important;
    border-color: #dce7f8;
    font-size: 0.64rem !important;
    line-height: 1;
    font-weight: 800;
    box-shadow: none;
    white-space: nowrap;
  }

  .filter-btn.is-active,
  .filter-btn:hover {
    color: #0b3f98;
    background: #eef5ff;
    border-color: #aac6f5;
  }

  .product-grid,
  .shop-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.58rem !important;
    align-items: stretch;
  }

  .product-card {
    border-radius: 10px !important;
    border-color: #e1e8f3;
    box-shadow: 0 1px 6px rgba(18, 38, 72, 0.08);
    background: #fff;
    min-width: 0;
  }

  .product-card:hover {
    transform: none;
    box-shadow: 0 1px 6px rgba(18, 38, 72, 0.08);
  }

  .product-thumb {
    height: 104px;
    min-height: 104px;
    padding: 0.36rem !important;
    background: #f7f9fc;
    border-bottom: 1px solid #edf1f7;
  }

  .product-card .product-thumb img {
    width: 100%;
    height: 100% !important;
    max-height: none !important;
    object-fit: cover !important;
    border-radius: 8px;
    background: #f7f9fc;
  }

  .product-tag {
    left: 0.48rem;
    top: 0.48rem;
    padding: 0.13rem 0.36rem;
    font-size: 0.52rem !important;
    line-height: 1.1;
    box-shadow: 0 2px 6px rgba(15, 61, 145, 0.16);
  }

  .product-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 0.54rem 0.56rem 0.6rem !important;
  }

  .product-title {
    min-height: 2.25em;
    margin: 0 0 0.32rem;
    color: #111827;
    font-size: 0.68rem !important;
    line-height: 1.22;
    font-weight: 850;
    letter-spacing: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .product-content .rating,
  .product-content > p.rating {
    display: none;
  }

  .price {
    flex-wrap: wrap;
    gap: 0.25rem;
    margin: 0.05rem 0 0.45rem;
    min-height: 1.1rem;
  }

  .price strong {
    color: #0f172a;
    font-size: 0.78rem !important;
    line-height: 1;
    font-weight: 900;
  }

  .price span {
    color: #8b98aa;
    font-size: 0.64rem !important;
    line-height: 1;
  }

  .product-card-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.3rem !important;
    margin-top: auto !important;
  }

  .product-card-actions .btn {
    min-height: 27px;
    width: 100%;
    border-radius: 8px;
    padding: 0.28rem 0.2rem !important;
    font-size: 0.57rem !important;
    line-height: 1;
    font-weight: 850;
    box-shadow: none;
    letter-spacing: -0.01em;
  }

  .product-card-actions .btn-secondary {
    border: 1px solid #bfd0ee;
    background: #ffffff;
    color: #0f3d91;
  }

  .product-card-actions .btn-primary {
    border: 1px solid #2874f0;
    background: #2874f0;
    color: #ffffff;
  }
}

@media (max-width: 380px) {
  .product-grid,
  .shop-category-grid {
    gap: 0.5rem !important;
  }

  .product-thumb {
    height: 96px;
    min-height: 96px;
  }

  .product-content {
    padding: 0.5rem 0.5rem 0.55rem !important;
  }

  .product-title {
    font-size: 0.64rem !important;
  }

  .product-card-actions .btn {
    min-height: 26px;
    font-size: 0.54rem !important;
  }
}

@media (max-width: 760px) {
  .search-page-shell,
  .search-results-panel,
  .search-layout,
  .search-results-body {
    min-width: 0 !important;
    max-width: 100% !important;
  }

  .search-page-intro h2 {
    overflow-wrap: anywhere;
  }

  .search-page-form.shop-search-form {
    display: grid !important;
    grid-template-columns: 1fr !important;
    width: 100% !important;
  }

  .search-page-form button {
    width: 100% !important;
    min-width: 0 !important;
  }

  .search-layout {
    grid-template-columns: 1fr !important;
  }

  .search-filters {
    order: initial !important;
  }

  .search-product-grid.product-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 480px) {
  main[data-search-page] .container {
    width: min(358px, calc(100vw - 32px)) !important;
    max-width: min(358px, calc(100vw - 32px)) !important;
  }

  .search-page-shell,
  .search-results-panel {
    padding: 1rem !important;
  }

  .search-page-intro h2 {
    font-size: 1.35rem;
    line-height: 1.25;
  }

  .search-page-form input {
    width: 100% !important;
    min-width: 0 !important;
  }

  .search-page-form.shop-search-form,
  .search-page-intro,
  .search-helper-text,
  .search-popular {
    max-width: calc(100vw - 76px) !important;
  }
}

