:root {
  --primary: #0b3d5c;
  --primary-deep: #072a40;
  --ice: #e8f4fb;
  --cyan: #1fb8c9;
  --cyan-dark: #1497a6;
  --navy: #0a2740;
  --green: #1f9d6e;
  --text: #0f2a3d;
  --muted: #5c7386;
  --border: #d5e6f0;
  --white: #ffffff;
  --shadow: 0 10px 30px rgba(11, 61, 92, 0.08);
  --shadow-hover: 0 16px 40px rgba(11, 61, 92, 0.14);
  --radius: 18px;
  --font-display: 'Outfit', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

* { box-sizing: border-box; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background:
    radial-gradient(circle at 10% -10%, rgba(31, 184, 201, 0.12), transparent 35%),
    radial-gradient(circle at 90% 0%, rgba(11, 61, 92, 0.08), transparent 40%),
    linear-gradient(180deg, #f7fbfe 0%, #eef6fb 100%);
  min-height: 100vh;
  overflow-x: hidden;
}
h1,h2,h3,h4,h5,h6,.brand-logo,.hero-title { font-family: var(--font-display); }

/* Snowflake ambiance */
.snowflakes { pointer-events: none; position: fixed; inset: 0; z-index: 0; overflow: hidden; }
.snowflakes span {
  position: absolute; top: -10px; width: 8px; height: 8px; background: rgba(255,255,255,.7);
  border-radius: 50%; animation: fall linear infinite; opacity: .55;
}
.snowflakes span:nth-child(1) { left: 10%; animation-duration: 12s; animation-delay: 0s; }
.snowflakes span:nth-child(2) { left: 25%; width: 5px; height: 5px; animation-duration: 16s; animation-delay: 2s; }
.snowflakes span:nth-child(3) { left: 45%; animation-duration: 14s; animation-delay: 4s; }
.snowflakes span:nth-child(4) { left: 65%; width: 6px; height: 6px; animation-duration: 18s; animation-delay: 1s; }
.snowflakes span:nth-child(5) { left: 80%; animation-duration: 13s; animation-delay: 3s; }
.snowflakes span:nth-child(6) { left: 92%; width: 4px; height: 4px; animation-duration: 15s; animation-delay: 5s; }
@keyframes fall {
  0% { transform: translateY(-20px) translateX(0); opacity: 0; }
  10% { opacity: .6; }
  100% { transform: translateY(110vh) translateX(40px); opacity: 0; }
}

main { position: relative; z-index: 1; min-height: 60vh; }

/* Header */
.site-header {
  backdrop-filter: blur(16px);
  background: rgba(255,255,255,.82);
  border-bottom: 1px solid rgba(213,230,240,.8);
  box-shadow: 0 4px 20px rgba(11,61,92,.04);
}
.navbar { padding: .75rem 0; }
.brand-logo {
  display: flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--primary);
}
.brand-logo-img {
  height: 58px; width: auto; max-width: 240px; object-fit: contain; display: block;
  background: #000; border-radius: 12px; padding: 4px 8px;
}
.footer-logo-img {
  height: 64px; width: auto; max-width: 160px; object-fit: contain;
  background: #000; border-radius: 12px; padding: 6px;
}
.brand-mark {
  width: 42px; height: 42px; border-radius: 14px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--primary), var(--cyan));
  color: #fff; font-size: 1.2rem;
  box-shadow: 0 8px 20px rgba(31,184,201,.35);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong { font-size: 1.15rem; letter-spacing: -.02em; }
.brand-text small { font-size: .72rem; color: var(--cyan-dark); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.nav-link {
  color: var(--navy) !important; font-weight: 500; padding: .5rem .85rem !important; border-radius: 999px;
  transition: .2s ease;
}
.nav-link:hover { background: var(--ice); color: var(--primary) !important; }
.header-search {
  background: var(--ice); border-radius: 999px; padding: 2px; border: 1px solid var(--border);
}
.header-search input {
  border: 0; background: transparent; box-shadow: none !important; min-width: 180px;
}
.btn-search { border-radius: 999px; color: var(--primary); }
.btn-cart, .btn-account, .btn-signin {
  border-radius: 999px; border: 1px solid var(--border); background: #fff; color: var(--primary);
}
.btn-cart { width: 42px; height: 42px; display: grid; place-items: center; padding: 0; }
.cart-badge {
  position: absolute; top: -4px; right: -4px; background: var(--cyan); color: #fff;
  font-size: .65rem; font-weight: 700; min-width: 18px; height: 18px; border-radius: 999px;
  display: grid; place-items: center;
}
.btn-signin {
  background: linear-gradient(135deg, var(--primary), var(--cyan));
  color: #fff !important; border: 0; padding: .45rem 1rem; font-weight: 600;
}

/* Hero */
.hero {
  position: relative; overflow: hidden;
  background:
    linear-gradient(135deg, #041824 0%, #0b3d5c 48%, #0e5a6e 100%);
  color: #fff; border-radius: 0 0 36px 36px;
  min-height: 86vh; display: flex; align-items: center;
}
.hero-aurora {
  position: absolute; inset: -20%;
  background:
    radial-gradient(circle at 20% 30%, rgba(31,184,201,.28), transparent 35%),
    radial-gradient(circle at 80% 20%, rgba(127,232,242,.18), transparent 30%),
    radial-gradient(circle at 70% 80%, rgba(255,255,255,.08), transparent 35%);
  animation: auroraDrift 14s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes auroraDrift {
  from { transform: translate3d(-2%, -1%, 0) scale(1); }
  to { transform: translate3d(3%, 2%, 0) scale(1.08); }
}
.hero-particles { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.hero-particles span {
  position: absolute; width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,.55); top: -12px;
  animation: particleFall linear infinite;
  box-shadow: 0 0 8px rgba(127,232,242,.45);
}
.hero-particles span:nth-child(1) { left: 8%; animation-duration: 9s; animation-delay: 0s; width: 5px; height: 5px; }
.hero-particles span:nth-child(2) { left: 18%; animation-duration: 12s; animation-delay: 1.2s; }
.hero-particles span:nth-child(3) { left: 32%; animation-duration: 10s; animation-delay: 2.4s; width: 6px; height: 6px; }
.hero-particles span:nth-child(4) { left: 48%; animation-duration: 14s; animation-delay: .6s; }
.hero-particles span:nth-child(5) { left: 62%; animation-duration: 11s; animation-delay: 3s; width: 4px; height: 4px; }
.hero-particles span:nth-child(6) { left: 74%; animation-duration: 13s; animation-delay: 1.8s; }
.hero-particles span:nth-child(7) { left: 86%; animation-duration: 9.5s; animation-delay: 2.8s; width: 6px; height: 6px; }
.hero-particles span:nth-child(8) { left: 94%; animation-duration: 15s; animation-delay: .3s; }
@keyframes particleFall {
  0% { transform: translateY(0) translateX(0); opacity: 0; }
  12% { opacity: .7; }
  100% { transform: translateY(100vh) translateX(30px); opacity: 0; }
}
.hero-grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 2rem;
  align-items: center; padding: 4.5rem 0 3.5rem;
}
.hero-content { position: relative; z-index: 2; max-width: 640px; padding: 0; }
.hero-kicker {
  display: inline-flex; align-items: center; gap: .45rem;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22);
  padding: .4rem .9rem; border-radius: 999px; font-size: .88rem; margin-bottom: 1.1rem;
  backdrop-filter: blur(8px); animation: fadeUp .7s ease both;
}
.hero-kicker i { color: #7fe8f2; }
.hero-title {
  font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 800; line-height: 1.05;
  letter-spacing: -.03em; margin-bottom: 1rem; animation: fadeUp .8s .08s ease both;
}
.hero-title span { color: #7fe8f2; }
.hero-sub {
  font-size: 1.08rem; opacity: .9; max-width: 520px; margin-bottom: 1.6rem;
  animation: fadeUp .8s .16s ease both;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; animation: fadeUp .8s .24s ease both; }
.btn-hero-primary, .btn-hero-secondary {
  border-radius: 999px; padding: .8rem 1.4rem; font-weight: 600; border: 0;
}
.btn-hero-primary { background: var(--cyan); color: #05303a; box-shadow: 0 10px 28px rgba(31,184,201,.35); }
.btn-hero-primary:hover { background: #2fd0e0; color: #05303a; transform: translateY(-1px); }
.btn-hero-secondary {
  background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.45);
}
.btn-hero-secondary:hover { background: rgba(255,255,255,.1); color: #fff; }
.hero-stats {
  display: flex; gap: 1.25rem; margin-top: 2rem; flex-wrap: wrap;
  animation: fadeUp .8s .32s ease both;
}
.hero-stats > div {
  min-width: 90px; padding: .7rem .95rem; border-radius: 14px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14);
}
.hero-stats strong { display: block; font-size: 1.2rem; font-family: var(--font-display); line-height: 1.1; }
.hero-stats small { opacity: .75; font-size: .78rem; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Animated hero visual */
.hero-visual {
  position: relative; min-height: 460px; height: 100%;
}
.hero-ring {
  position: absolute; border-radius: 50%; border: 1px solid rgba(127,232,242,.25);
  top: 50%; left: 50%; transform: translate(-50%, -50%);
}
.hero-ring-1 { width: 340px; height: 340px; animation: ringPulse 6s ease-in-out infinite; }
.hero-ring-2 { width: 430px; height: 430px; animation: ringPulse 8s ease-in-out infinite reverse; opacity: .6; }
@keyframes ringPulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: .55; }
  50% { transform: translate(-50%, -50%) scale(1.06); opacity: .9; }
}
.hero-orb {
  position: absolute; width: 280px; height: 280px; border-radius: 50%;
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  background: radial-gradient(circle at 35% 30%, rgba(127,232,242,.45), rgba(11,61,92,.15) 55%, transparent 70%);
  filter: blur(4px); animation: orbGlow 5s ease-in-out infinite alternate;
}
@keyframes orbGlow {
  from { opacity: .7; transform: translate(-50%, -50%) scale(1); }
  to { opacity: 1; transform: translate(-50%, -50%) scale(1.08); }
}
.hero-float {
  position: absolute; width: 150px; background: rgba(255,255,255,.96);
  border-radius: 18px; overflow: hidden; box-shadow: 0 18px 40px rgba(0,0,0,.28);
  animation: floatY 5.5s ease-in-out infinite;
}
.hero-float img { width: 100%; height: 110px; object-fit: cover; display: block; }
.hero-float-meta { padding: .55rem .7rem .7rem; color: var(--text); }
.hero-float-meta span {
  display: block; font-size: .65rem; text-transform: uppercase; letter-spacing: .04em;
  color: var(--cyan-dark); font-weight: 700;
}
.hero-float-meta strong {
  display: block; font-size: .78rem; line-height: 1.2; margin-top: .15rem;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.hero-float.card-1 { top: 8%; left: 8%; animation-delay: 0s; }
.hero-float.card-2 { top: 4%; right: 4%; width: 160px; animation-delay: 1.1s; animation-duration: 6.2s; }
.hero-float.card-3 { bottom: 14%; left: 2%; width: 145px; animation-delay: .5s; animation-duration: 5.8s; }
.hero-float.card-4 { bottom: 6%; right: 8%; width: 155px; animation-delay: 1.7s; animation-duration: 6.5s; }
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}
.hero-badge-float {
  position: absolute; left: 50%; top: 48%; transform: translate(-50%, -50%);
  display: flex; align-items: center; gap: .65rem;
  background: rgba(7,42,64,.72); border: 1px solid rgba(127,232,242,.35);
  backdrop-filter: blur(10px); border-radius: 999px; padding: .65rem .95rem;
  box-shadow: 0 12px 30px rgba(0,0,0,.25); z-index: 3;
  animation: badgePulse 3.5s ease-in-out infinite;
}
.hero-badge-float i {
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: var(--cyan); color: #05303a; font-size: 1rem;
}
.hero-badge-float strong { display: block; font-size: .85rem; line-height: 1.1; }
.hero-badge-float small { opacity: .75; font-size: .72rem; }
@keyframes badgePulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-50%, -50%) scale(1.04); }
}

@media (min-width: 768px) and (max-width: 1199.98px) {
  /* Keep content inside the viewport */
  body { overflow-x: hidden; }
  .container { max-width: 100%; padding-left: 1rem; padding-right: 1rem; }

  /* Single-line header: logo | nav | actions */
  .site-header .navbar { padding: .55rem 0; }
  .site-header .navbar > .container {
    flex-wrap: nowrap;
    align-items: center;
    gap: .5rem;
  }
  .navbar-expand-md .navbar-brand { margin-right: .35rem; flex-shrink: 0; }
  .navbar-expand-md .navbar-collapse {
    flex-basis: auto;
    flex-grow: 1;
    display: flex !important;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: .35rem;
    min-width: 0;
  }
  .navbar-expand-md .navbar-nav {
    flex-wrap: nowrap;
    justify-content: center;
    margin: 0 auto;
    gap: 0;
    min-width: 0;
  }
  .navbar-expand-md .header-actions {
    margin-left: .25rem;
    flex-shrink: 0;
    gap: .35rem !important;
  }
  .brand-logo-img { height: 42px; max-width: 120px; }
  .nav-link {
    padding: .3rem .38rem !important;
    font-size: .8rem;
    white-space: nowrap;
  }
  .header-search { display: none !important; }
  .btn-cart { width: 36px; height: 36px; }
  .btn-account { padding: .3rem .55rem; font-size: .82rem; }
  .btn-signin { padding: .3rem .7rem; font-size: .82rem; }
  .btn-account .dropdown-toggle::after { margin-left: .25rem; }

  /* Grids that fit tablet width */
  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: .85rem;
  }
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 1rem;
  }
  .category-tile { padding: 1.1rem .85rem; min-width: 0; }
  .product-card { min-width: 0; }
  .product-title { font-size: .95rem; }

  /* Hero stays desktop-like but scaled */
  .hero { min-height: auto; }
  .hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    gap: 1rem;
    padding: 2.75rem 0 2.5rem;
    align-items: center;
  }
  .hero-content { max-width: none; min-width: 0; }
  .hero-visual { min-height: 360px; order: 0; margin-bottom: 0; min-width: 0; }
  .hero-title { font-size: clamp(1.85rem, 3.6vw, 2.45rem); }
  .hero-sub { font-size: .92rem; }
  .hero-stats { gap: .65rem; }
  .hero-float { width: 118px; }
  .hero-float img { height: 86px; }
  .hero-float.card-2, .hero-float.card-4 { width: 124px; }
  .hero-ring-1 { width: 250px; height: 250px; }
  .hero-ring-2 { width: 320px; height: 320px; }
  .hero-orb { width: 210px; height: 210px; }
  .section { padding: 3rem 0; }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .hero-kicker { font-size: .8rem; }
  .hero-actions .btn { padding: .55rem 1rem; font-size: .9rem; }
  .nav-link { padding: .28rem .3rem !important; font-size: .76rem; }
  .brand-logo-img { height: 40px; max-width: 110px; }
}

@media (max-width: 767.98px) {
  .hero-grid { grid-template-columns: 1fr; padding: 3.5rem 0 2.5rem; }
  .hero-visual { min-height: 380px; order: -1; margin-bottom: .5rem; }
  .hero-ring-1 { width: 260px; height: 260px; }
  .hero-ring-2 { width: 330px; height: 330px; }
  .hero-orb { width: 220px; height: 220px; }
  .hero-float { width: 120px; }
  .hero-float img { height: 88px; }
  .hero-float.card-2, .hero-float.card-4 { width: 128px; }
}
@media (max-width: 576px) {
  .hero { min-height: auto; border-radius: 0 0 24px 24px; }
  .hero-visual { min-height: 320px; }
  .hero-float.card-3 { display: none; }
  .hero-stats > div { flex: 1 1 30%; }
}

/* Sections */
.section { padding: 4rem 0; }
.section-header { margin-bottom: 2rem; }
.section-header h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 750; letter-spacing: -.02em; margin-bottom: .35rem;
}
.section-header p { color: var(--muted); margin: 0; }

/* Category pills */
.category-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.category-tile {
  background: rgba(255,255,255,.75); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.25rem; text-align: center; text-decoration: none; color: var(--text);
  transition: .25s ease; box-shadow: var(--shadow);
}
.category-tile:hover {
  transform: translateY(-4px); box-shadow: var(--shadow-hover); color: var(--primary);
  border-color: rgba(31,184,201,.4);
}
.category-tile i,
.category-tile .category-icon {
  font-size: 1.6rem;
  color: var(--cyan);
  display: block;
  margin: 0 auto .5rem;
}
.category-tile.text-start i,
.category-tile.text-start .category-icon {
  margin-left: 0;
  margin-right: 0;
}
.category-icon-dimsum {
  width: 1.75rem;
  height: 1.75rem;
  background-color: var(--cyan);
  -webkit-mask: url('../images/icon-dimsum.svg') center / contain no-repeat;
  mask: url('../images/icon-dimsum.svg') center / contain no-repeat;
}
.category-tile strong { display: block; font-size: .95rem; }

/* Product cards */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}
.product-card {
  background: rgba(255,255,255,.9); border: 1px solid var(--border); border-radius: 22px;
  overflow: hidden; box-shadow: var(--shadow); transition: .25s ease;
  display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.product-card.unavailable { opacity: .78; }
.product-card-media {
  position: relative; display: block; aspect-ratio: 1 / 1; overflow: hidden; background: var(--ice);
}
.product-card-media img {
  width: 100%; height: 100%; object-fit: cover; transition: .4s ease;
}
.product-card:hover .product-card-media img { transform: scale(1.05); }
.badge-promo, .badge-featured, .badge-avail {
  position: absolute; border-radius: 999px; font-size: .7rem; font-weight: 700;
  padding: .28rem .55rem; letter-spacing: .02em;
}
.badge-promo { top: 12px; left: 12px; background: #ff5c5c; color: #fff; }
.badge-featured { top: 12px; right: 12px; background: #ffb020; color: #3a2500; }
.badge-avail {
  bottom: 12px; left: 12px;
}
.badge-avail.ok { background: rgba(31,157,110,.92); color: #fff; }
.badge-avail.no { background: rgba(90,100,110,.9); color: #fff; }
.product-card-body { padding: 1rem 1.1rem 1.15rem; display: flex; flex-direction: column; flex: 1; }
.product-cat { font-size: .75rem; color: var(--cyan-dark); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.product-title { font-size: 1.05rem; margin: .2rem 0; font-weight: 700; }
.product-title a { color: inherit; text-decoration: none; }
.product-meta { color: var(--muted); font-size: .85rem; margin-bottom: .65rem; }
.product-price { font-size: 1.15rem; font-weight: 750; color: var(--primary); }
.old-price { color: var(--muted); text-decoration: line-through; font-weight: 500; margin-left: .35rem; font-size: .85rem; }
.btn-add-cart {
  margin-top: auto; border-radius: 999px; background: var(--primary); color: #fff; border: 0;
  font-weight: 600; padding: .6rem 1rem;
}
.btn-add-cart:hover:not(:disabled) { background: var(--cyan-dark); color: #fff; }
.btn-add-cart:disabled { background: #9aafbd; }

/* Filters */
.filter-bar {
  background: rgba(255,255,255,.85); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1rem; box-shadow: var(--shadow); margin-bottom: 1.5rem;
}

/* Cart / Checkout */
.cart-table img { width: 64px; height: 64px; object-fit: cover; border-radius: 12px; }
.summary-card, .auth-card, .content-card {
  background: rgba(255,255,255,.9); border: 1px solid var(--border); border-radius: 22px;
  box-shadow: var(--shadow); padding: 1.5rem;
}
.qty-control {
  display: inline-flex; align-items: center; gap: .35rem; background: var(--ice);
  border-radius: 999px; padding: .2rem;
}
.qty-control button {
  width: 32px; height: 32px; border-radius: 50%; border: 0; background: #fff; color: var(--primary);
}
.qty-control input {
  width: 42px; text-align: center; border: 0; background: transparent; font-weight: 600;
}

/* Confirmation */
.confirm-hero {
  text-align: center; padding: 3rem 1rem;
  background: rgba(255,255,255,.9); border-radius: 28px; border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.confirm-hero .icon {
  width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 1rem;
  display: grid; place-items: center; background: rgba(31,157,110,.12); color: var(--green); font-size: 2rem;
}

/* Footer */
.site-footer {
  margin-top: 4rem; background: var(--primary-deep); color: rgba(255,255,255,.85); padding: 3.5rem 0 1.5rem;
  position: relative; z-index: 1;
}
.footer-brand { display: flex; gap: .8rem; align-items: center; }
.footer-brand strong { color: #fff; font-size: 1.15rem; display: block; }
.footer-brand p { color: rgba(255,255,255,.65); font-size: .85rem; }
.site-footer h6 { color: #fff; font-weight: 700; margin-bottom: 1rem; }
.footer-links a, .footer-contact li { color: rgba(255,255,255,.75); text-decoration: none; font-size: .92rem; }
.footer-links a:hover { color: var(--cyan); }
.footer-contact li { display: flex; gap: .5rem; margin-bottom: .45rem; }
.footer-bottom {
  margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,.1);
  font-size: .85rem; color: rgba(255,255,255,.55);
  display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; justify-content: space-between; align-items: center;
}
.footer-bottom .powered-by a {
  color: var(--cyan); font-weight: 700; text-decoration: none; letter-spacing: .02em;
}
.footer-bottom .powered-by a:hover { color: #7fe8f2; text-decoration: underline; }

.floating-cart {
  position: fixed; right: 18px; bottom: 18px; z-index: 50;
  width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--cyan));
  color: #fff; display: grid; place-items: center; font-size: 1.3rem;
  box-shadow: 0 12px 30px rgba(11,61,92,.35); text-decoration: none;
}
.floating-cart span {
  position: absolute; top: 6px; right: 6px; background: #fff; color: var(--primary);
  font-size: .65rem; font-weight: 800; min-width: 18px; height: 18px; border-radius: 999px;
  display: grid; place-items: center;
}

.page-hero {
  padding: 2.5rem 0 1rem;
}
.page-hero h1 { font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 800; letter-spacing: -.02em; }

.toast-cart {
  position: fixed; top: 90px; right: 20px; z-index: 1080;
  background: var(--primary); color: #fff; padding: .75rem 1rem; border-radius: 12px;
  box-shadow: var(--shadow-hover); transform: translateX(120%); transition: .3s ease;
}
.toast-cart.show { transform: translateX(0); }

/* Customer dashboard */
.dash-nav {
  background: rgba(255,255,255,.9); border-radius: 18px; border: 1px solid var(--border);
  padding: .75rem; box-shadow: var(--shadow);
}
.dash-nav a {
  display: flex; align-items: center; gap: .6rem; padding: .7rem .9rem; border-radius: 12px;
  color: var(--text); text-decoration: none; font-weight: 500;
}
.dash-nav a.active, .dash-nav a:hover { background: var(--ice); color: var(--primary); }
.stat-card {
  background: rgba(255,255,255,.92); border: 1px solid var(--border); border-radius: 18px;
  padding: 1.25rem; box-shadow: var(--shadow);
}
.stat-card .label { color: var(--muted); font-size: .85rem; }
.stat-card .value { font-size: 1.5rem; font-weight: 800; color: var(--primary); font-family: var(--font-display); }

@media (max-width: 1200px) {
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .category-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 767.98px) {
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section { padding: 2.75rem 0; }
}
@media (max-width: 480px) {
  .product-grid { grid-template-columns: 1fr; }
  .category-grid { grid-template-columns: 1fr 1fr; }
}
