﻿:root {
  --ink: #1a1d1f;
  --slate: #2d3338;
  --mist: #f4f1ec;
  --cream: #f7efe5;
  --accent: #ff8c42;
  --accent-2: #00a7a7;
  --card: #ffffff;
  --shadow: rgba(26, 29, 31, 0.08);
  --panel-bg: rgba(255, 255, 255, 0.88);
  --page-bg: radial-gradient(circle at top left, #fff5e8 0%, #f2fbfb 40%, #f7f4ef 70%, #f0efe8 100%);
  --hover-bg: #fff2df;
  --muted-border: #d9d2c7;
  --line-border: #eadfce;
  --primary-bg: #1a1d1f;
  --primary-text: #ffffff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  color: var(--ink);
  background: var(--page-bg);
  min-height: 100vh;
  overflow-x: hidden;
}

body.dark-theme {
  --ink: #e7ecef;
  --slate: #aab7c0;
  --mist: #182028;
  --cream: #2a343d;
  --accent: #ff9b61;
  --accent-2: #31c7c7;
  --card: #1f2a33;
  --shadow: rgba(0, 0, 0, 0.32);
  --panel-bg: rgba(24, 32, 40, 0.92);
  --page-bg: radial-gradient(circle at top left, #1d252d 0%, #121920 40%, #11171d 100%);
  --hover-bg: #303c46;
  --muted-border: #42515e;
  --line-border: #394550;
  --primary-bg: #ff9b61;
  --primary-text: #1a1d1f;
}

.noise {
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200' viewBox='0 0 200 200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='3' stitchTiles='stitch'/></filter><rect width='200' height='200' filter='url(%23n)' opacity='0.06'/></svg>");
  pointer-events: none;
  mix-blend-mode: multiply;
}

.top-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  margin: 18px clamp(12px, 4vw, 8vw) 0;
  padding: 12px 16px;
  border-radius: 14px;
  background: var(--panel-bg);
  backdrop-filter: blur(8px);
  box-shadow: 0 12px 30px var(--shadow);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: var(--ink);
  line-height: 1;
  flex-shrink: 0;
}

.brand img {
  display: block;
  height: 44px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-links a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 999px;
  transition: background-color 0.2s ease;
  white-space: nowrap;
}

.nav-links a:hover {
  background: var(--hover-bg);
}

.event-banner {
  margin: 16px clamp(12px, 4vw, 8vw) 0;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: linear-gradient(135deg, rgba(255, 140, 66, 0.28), rgba(0, 167, 167, 0.22));
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  position: relative;
  box-shadow: 0 18px 40px rgba(255, 140, 66, 0.18), 0 18px 40px rgba(0, 167, 167, 0.14);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  justify-content: center;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  overflow: hidden;
}

.event-banner:hover {
  transform: translateY(-3px) scale(1.01);
  box-shadow: 0 24px 50px rgba(255, 140, 66, 0.24), 0 24px 50px rgba(0, 167, 167, 0.18);
}

.event-banner:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.event-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.35) 45%, transparent 70%);
  transform: translateX(-120%);
  animation: bannerShine 3.6s ease-in-out infinite;
  pointer-events: none;
}

@keyframes bannerShine {
  0% {
    transform: translateX(-120%);
  }
  60% {
    transform: translateX(120%);
  }
  100% {
    transform: translateX(120%);
  }
}

.event-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow: 0 8px 16px rgba(255, 140, 66, 0.3);
  animation: eventPulse 1.8s ease-in-out infinite;
}

@keyframes eventPulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.06);
  }
  100% {
    transform: scale(1);
  }
}

.event-banner-content {
  display: grid;
  gap: 4px;
  color: var(--ink);
}

.event-banner-title {
  font-weight: 700;
  font-size: 1rem;
}

.event-banner-copy {
  color: var(--slate);
  font-size: 0.9rem;
}

.event-banner-thumb {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: #fff;
  margin-left: auto;
}

.event-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(0, 0, 0, 0.78);
  z-index: 9999;
}

.event-modal.open {
  display: flex;
}

.event-modal-panel {
  position: relative;
  max-width: min(94vw, 760px);
  max-height: 86vh;
}

.event-modal-panel img {
  width: 100%;
  height: auto;
  max-height: 86vh;
  object-fit: contain;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
}

.event-modal-close {
  position: absolute;
  top: -12px;
  right: -12px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: #111820;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
}

body.event-modal-open {
  overflow: hidden;
}

.nav-toggle {
  display: none;
  border: 1.5px solid var(--ink);
  background: transparent;
  color: var(--ink);
  border-radius: 999px;
  padding: 7px 12px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}

.user-icon-btn {
  margin-left: auto;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1.5px solid var(--ink);
  background: transparent;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.user-icon-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.nav-btn,
.theme-toggle {
  border: 1.5px solid var(--ink);
  background: transparent;
  color: var(--ink);
  border-radius: 999px;
  padding: 7px 12px;
  font-weight: 600;
  cursor: pointer;
  font: inherit;
  white-space: nowrap;
}

.wishlist-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.wishlist-count {
  min-width: 20px;
  height: 20px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 20px;
  text-align: center;
  padding: 0 6px;
}

.cart-link {
  position: relative;
}

.cart-count {
  display: none;
  margin-left: 6px;
  min-width: 20px;
  height: 20px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 20px;
  text-align: center;
  padding: 0 6px;
}

.cart-count.visible {
  display: inline-block;
}

.hero {
  padding: 36px 8vw 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  align-items: center;
}

.hero-short {
  grid-template-columns: 1fr;
  padding-bottom: 16px;
}

.hero-inner h1 {
  font-family: "Work Sans", system-ui, sans-serif;
  font-size: clamp(2.4rem, 4vw, 4rem);
  margin: 12px 0 8px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-2);
}

.subhead {
  max-width: 480px;
  color: var(--slate);
  font-size: 1.05rem;
  line-height: 1.6;
}

.cta-row {
  display: flex;
  gap: 16px;
  margin-top: 24px;
}

.primary,
.ghost {
  padding: 12px 18px;
  border-radius: 999px;
  border: none;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.primary {
  background: var(--primary-bg);
  color: var(--primary-text);
  box-shadow: 0 12px 30px rgba(26, 29, 31, 0.18);
}

.ghost {
  background: transparent;
  border: 1.5px solid var(--ink);
  color: var(--ink);
}

.danger-btn {
  border-color: #b02a2a;
  color: #b02a2a;
}

.danger-btn:hover {
  background: rgba(176, 42, 42, 0.12);
}

.ghost.small {
  padding: 8px 12px;
  font-size: 0.85rem;
}

.hero-card {
  background: var(--card);
  padding: 24px;
  border-radius: 24px;
  box-shadow: 0 24px 60px var(--shadow);
  display: grid;
  gap: 16px;
}

.stat {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.stat span {
  font-family: "Work Sans", system-ui, sans-serif;
  font-size: 2rem;
}

.stat label {
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: var(--slate);
}

.brand-stat {
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap;
  padding: 10px 12px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(255, 140, 66, 0.18), rgba(0, 167, 167, 0.14));
  white-space: nowrap;
}

.brand-stat span,
.brand-stat label {
  font-family: "Work Sans", system-ui, sans-serif;
  text-transform: none;
  letter-spacing: 0.02em;
  color: var(--ink);
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1.1;
  white-space: nowrap;
}

.brand-stat span {
  font-size: 1.45rem;
}

.brand-stat label {
  font-size: 1.45rem;
}

main {
  padding: 0 8vw 64px;
}

.toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 16px 0 24px;
}

.toolbar h2 {
  font-family: "Work Sans", system-ui, sans-serif;
  font-size: 2rem;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.product-tools {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-left: auto;
}

.product-tools input,
.product-tools select {
  height: 40px;
  border: 1px solid var(--muted-border);
  border-radius: 10px;
  padding: 0 12px;
  font: inherit;
  background: var(--card);
  color: var(--ink);
}

.product-tools input {
  min-width: 210px;
}

.filter-btn {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: #fff;
  cursor: pointer;
  font-weight: 600;
  box-shadow: 0 10px 24px var(--shadow);
}

body.dark-theme .filter-btn {
  background: #2a343d;
  color: var(--ink);
}

.filter-btn.active {
  background: var(--accent);
  color: #fff;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 20px;
}

.grid.category-grid {
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}

@media (min-width: 1200px) {
  .grid {
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  }
}

@media (min-width: 1500px) {
  .grid {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  }
}

.category-grid {
  margin-top: 12px;
}

.events-grid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}

.event-card {
  background: var(--card);
  border-radius: 18px;
  box-shadow: 0 20px 40px var(--shadow);
  overflow: hidden;
  display: grid;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.event-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 46px rgba(26, 29, 31, 0.16);
}

.event-poster-btn {
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.event-poster-btn img {
  width: 100%;
  height: auto;
  display: block;
  max-height: 340px;
  object-fit: cover;
}

.event-card-body {
  padding: 14px 16px 16px;
}

.event-card-body h3 {
  margin: 8px 0 6px;
}

.event-card-body p {
  margin: 0;
  color: var(--slate);
}

.event-title-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.event-date {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--slate);
}

.event-open-btn {
  margin-top: 10px;
  border: 1.5px solid var(--ink);
  background: transparent;
  color: var(--ink);
  border-radius: 999px;
  padding: 8px 14px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.card {
  background: var(--card);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 40px var(--shadow);
  display: grid;
  grid-template-rows: auto;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-card {
  text-decoration: none;
  color: inherit;
}

.category-card .card-body {
  padding: 22px;
}

.back-link {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--slate);
  text-decoration: none;
  font-weight: 600;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 50px rgba(26, 29, 31, 0.16);
}

.card-media {
  position: relative;
  aspect-ratio: 1 / 1;
  background: #fffaf3;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

body.dark-theme .card-media {
  background: #29343d;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-media img.fit-contain {
  object-fit: contain;
  padding: 10px;
}

.card-media img.fit-contain-tight {
  object-fit: contain;
  padding: 2px;
}

@media (max-width: 720px) {
  .card.card-fit-contain-tight .card-media {
    aspect-ratio: 3 / 4;
  }
}

.image-fallback {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--slate);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(245, 239, 228, 0.98));
}

.has-image-error .image-fallback {
  display: flex;
}

.has-image-error img {
  opacity: 0;
}

.card-body {
  padding: 16px;
}

.card-body h4 {
  margin: 0 0 6px;
}

.card-actions {
  margin-top: 12px;
  display: grid;
  gap: 8px;
}

.add-cart-btn {
  width: 100%;
}

.quick-inquiry-btn {
  width: 100%;
  text-align: center;
  border-color: #1fa855;
  color: #1fa855;
}

.details-btn {
  width: 100%;
  text-align: center;
}

.wishlist-btn {
  width: 100%;
  text-align: center;
  border-color: #e0b4b4;
  color: #8a2f2f;
}

.wishlist-btn .wishlist-icon {
  margin-right: 6px;
  font-size: 1.05rem;
}

.wishlist-btn.active {
  background: #8a2f2f;
  border-color: #8a2f2f;
  color: #fff;
}

.wishlist-btn.active .wishlist-icon {
  color: #fff;
}

.action-icon {
  display: none;
}

/* Temporarily hide commerce/auth actions until backend rollout is complete. */
.add-cart-btn,
.cart-link {
  display: none !important;
}

/* Ensure login link is visible. */
[data-auth-link] {
  display: inline-flex !important;
}

/* Show logout when present. */
[data-logout-btn] {
  display: inline-flex !important;
}

.tag {
  display: inline-block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: var(--cream);
  padding: 4px 8px;
  border-radius: 999px;
}

.empty {
  padding: 24px;
  background: var(--card);
  border-radius: 18px;
  box-shadow: 0 20px 40px var(--shadow);
  color: var(--slate);
  text-align: center;
}

.state-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px dashed var(--line-border);
  min-height: 96px;
}

.state-spinner {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 3px solid rgba(0, 0, 0, 0.12);
  border-top-color: var(--accent);
  animation: state-spin 0.8s linear infinite;
  flex: 0 0 auto;
}

body.dark-theme .state-spinner {
  border-color: rgba(255, 255, 255, 0.16);
  border-top-color: var(--accent-2);
}

.state-message {
  display: inline-block;
}

@keyframes state-spin {
  to {
    transform: rotate(360deg);
  }
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: var(--slate);
  font-size: 0.92rem;
}

.breadcrumb a {
  color: var(--slate);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--accent);
}

.breadcrumb-separator {
  opacity: 0.5;
}

.breadcrumb-current {
  color: var(--ink);
  font-weight: 600;
}

.page-breadcrumb {
  margin: 0 0 16px;
}

.breadcrumb-inline {
  margin-bottom: 10px;
  font-size: 0.82rem;
}

.info-panel {
  margin-top: 24px;
  padding: 24px;
  border-radius: 24px;
  background: var(--card);
  box-shadow: 0 20px 40px var(--shadow);
}

.trust-section {
  margin-top: 24px;
}

.trust-section h3 {
  margin: 0 0 14px;
  font-family: "Work Sans", system-ui, sans-serif;
  font-size: 1.7rem;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.trust-card {
  background: var(--card);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 14px 30px var(--shadow);
  border: 1px solid var(--line-border);
}

.trust-icon {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  margin-bottom: 8px;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.16);
}

.trust-card h4 {
  margin: 0 0 8px;
  font-size: 1.02rem;
}

.trust-card p {
  margin: 0;
  color: var(--slate);
  line-height: 1.6;
}

.seo-landing-links {
  margin-top: 24px;
}

.seo-landing-links h3 {
  margin: 0 0 14px;
  font-family: "Work Sans", system-ui, sans-serif;
  font-size: 1.7rem;
}

.seo-link-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
}

.seo-link-grid .ghost {
  text-align: center;
  background: var(--card);
  border-color: var(--line-border);
  box-shadow: 0 12px 24px var(--shadow);
}

.info-panel h3 {
  margin-top: 0;
  font-family: "Work Sans", system-ui, sans-serif;
  font-size: 1.7rem;
}

.info-panel p {
  margin-bottom: 0;
  color: var(--slate);
  line-height: 1.7;
}

.about-intro {
  margin-bottom: 14px;
}

.about-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.about-card {
  background: linear-gradient(160deg, rgba(255, 140, 66, 0.1), rgba(0, 167, 167, 0.08));
  border: 1px solid var(--line-border);
  border-radius: 14px;
  padding: 14px;
}

.about-icon {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  margin-bottom: 8px;
  font-size: 0.95rem;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.14);
}

.about-card h4 {
  margin: 0 0 6px;
  font-size: 1rem;
}

.about-card p {
  margin: 0;
}

.about-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.about-stats span {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid var(--line-border);
}

.faq-section {
  margin-top: 24px;
}

.faq-section h3 {
  margin: 0 0 14px;
  font-family: "Work Sans", system-ui, sans-serif;
  font-size: 1.7rem;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-item {
  background: var(--card);
  border: 1px solid var(--line-border);
  border-radius: 14px;
  padding: 12px 14px;
  box-shadow: 0 12px 24px var(--shadow);
}

.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  margin: 10px 0 2px;
  color: var(--slate);
  line-height: 1.6;
}

.price-list-form {
  margin-top: 12px;
  display: grid;
  gap: 10px;
}

.price-list-form input,
.price-list-form select,
.price-list-form textarea {
  border: 1px solid var(--muted-border);
  border-radius: 10px;
  padding: 10px 12px;
  font: inherit;
  background: #fff;
  color: var(--ink);
}

body.dark-theme .price-list-form input,
body.dark-theme .price-list-form select,
body.dark-theme .price-list-form textarea {
  background: #2a343d;
}

.whatsapp-btn {
  display: inline-block;
  margin-top: 14px;
  padding: 10px 16px;
  border-radius: 999px;
  background: #1fa855;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}

.whatsapp-btn:hover {
  background: #178646;
}

.instagram-btn {
  background: #e1306c;
}

.instagram-btn:hover {
  background: #c72b5f;
}

.email-btn {
  background: #1e7cc9;
}

.email-btn:hover {
  background: #1969ab;
}

.sticky-contact-bar {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  display: none;
  gap: 10px;
  z-index: 9980;
}

.sticky-contact-item {
  flex: 1;
  height: 44px;
  border-radius: 12px;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.22);
}

.sticky-contact-item.whatsapp {
  background: #1fa855;
}

.sticky-contact-item.call {
  background: #0a7c90;
}

.social-icon-link {
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: 14px;
  margin-right: 8px;
}

.social-icon-link img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  display: block;
}

.cart-layout,
.checkout-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 22px;
  align-items: start;
}

.auth-card {
  max-width: 560px;
  margin: 0 auto;
}

.cart-items,
.cart-summary,
.checkout-form,
.checkout-summary {
  background: var(--card);
  border-radius: 18px;
  box-shadow: 0 20px 40px var(--shadow);
  padding: 20px;
}

.cart-summary .primary,
.cart-summary .ghost {
  display: block;
  width: 100%;
  text-align: center;
}

.cart-summary .ghost {
  margin-top: 10px;
}

.cart-item {
  display: grid;
  grid-template-columns: 84px 1fr auto auto;
  gap: 14px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-border);
}

.cart-item:last-child {
  border-bottom: none;
}

.cart-item img {
  width: 84px;
  height: 84px;
  object-fit: cover;
  border-radius: 12px;
}

.cart-item h4 {
  margin: 0 0 4px;
}

.cart-item p {
  margin: 0;
  color: var(--slate);
  font-size: 0.9rem;
}

.qty-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.qty-group button {
  border: 1px solid var(--muted-border);
  background: #fff;
  color: var(--ink);
  width: 30px;
  height: 30px;
  border-radius: 8px;
  cursor: pointer;
}

body.dark-theme .qty-group button {
  background: #2a343d;
}

.checkout-form {
  display: grid;
  gap: 12px;
}

.checkout-form label {
  display: grid;
  gap: 6px;
  color: var(--slate);
  font-weight: 600;
  font-size: 0.95rem;
}

.checkout-form input,
.checkout-form textarea,
.checkout-form select {
  border: 1px solid var(--muted-border);
  border-radius: 10px;
  padding: 10px 12px;
  font: inherit;
  background: #fff;
  color: var(--ink);
}

.checkout-form input[readonly] {
  background: var(--mist);
  color: var(--slate);
  cursor: not-allowed;
}

body.dark-theme .checkout-form input,
body.dark-theme .checkout-form textarea,
body.dark-theme .checkout-form select {
  background: #2a343d;
}

.checkout-summary ul {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 10px;
}

#productList {
  display: grid;
  gap: 10px;
}

.status-text {
  margin: 4px 0 0;
  color: #0b7665;
  font-weight: 600;
}

.field-error {
  display: block;
  margin-top: 6px;
  color: #c0392b;
  font-size: 0.85rem;
  font-weight: 600;
}

.field-error:empty {
  display: none;
  margin-top: 0;
}

.auth-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 12px 0 4px;
  color: var(--slate);
  font-weight: 600;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line-border);
}

.google-login-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1.5px solid var(--ink);
  font-weight: 600;
}

.google-icon {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.google-icon svg {
  width: 18px;
  height: 18px;
  display: block;
}

.password-field {
  position: relative;
  display: flex;
  align-items: center;
}

.password-field input {
  flex: 1;
  padding-right: 64px;
}

.password-toggle {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  color: var(--ink);
  padding: 4px 8px;
  font-weight: 600;
  cursor: pointer;
}

body.dark-theme .password-toggle {
  color: var(--ink);
}

[aria-disabled="true"] {
  pointer-events: none;
  opacity: 0.5;
}

footer {
  margin-top: 40px;
  padding: 28px 8vw 44px;
  color: #e6ebef;
  background: #12233a;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 -12px 30px rgba(10, 20, 34, 0.45);
}

@media (max-width: 980px) {
  .cart-layout,
  .checkout-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .top-nav {
    margin: 12px 4vw 0;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    padding: 10px 12px;
    gap: 8px;
  }

  .brand {
    max-width: 50%;
    overflow: hidden;
  }

  .brand img {
    height: 34px;
  }

  .nav-toggle {
    display: inline-flex;
    margin-left: 6px;
  }

  .user-icon-btn {
    margin-left: auto;
  }

  .nav-links {
    display: none;
    width: 100%;
    gap: 6px;
    margin-left: 0;
    flex-shrink: 1;
    min-width: 0;
    margin-right: 0;
    flex-wrap: wrap;
  }

  .nav-links a,
  .nav-btn,
  .theme-toggle {
    font-size: 0.8rem;
    padding: 6px 8px;
  }

  .event-banner {
    margin: 12px 4vw 0;
    padding: 10px 12px;
  }

  .event-banner-thumb {
    width: 46px;
    height: 46px;
  }

  .top-nav.menu-open .nav-links {
    display: flex;
    width: 100%;
    margin-top: 6px;
    padding-top: 8px;
    border-top: 1px solid var(--line-border);
    flex-wrap: wrap;
  }

  .cta-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-card {
    order: 2;
  }

  .category-grid {
    grid-template-columns: 1fr;
  }

  .grid:not(.category-grid) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-tools {
    width: 100%;
    margin-left: 0;
  }

  .product-tools input,
  .product-tools select {
    width: 100%;
  }

  .card-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }

  .card-actions .ghost {
    padding: 8px 10px;
    border-radius: 10px;
    font-size: 0.78rem;
    line-height: 1.2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .details-btn,
  .quick-inquiry-btn {
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .card-actions .action-text {
    display: none;
  }

  .card-actions .action-icon {
    display: block;
    width: 20px;
    height: 20px;
    object-fit: contain;
  }

  .quick-inquiry-btn .action-icon {
    width: 26px;
    height: 26px;
  }

  .wishlist-btn .wishlist-text {
    display: none;
  }

  .wishlist-btn .wishlist-icon {
    margin-right: 0;
  }

  .trust-grid {
    grid-template-columns: 1fr;
  }

  .seo-link-grid {
    grid-template-columns: 1fr;
  }

  .about-highlights {
    grid-template-columns: 1fr;
  }

  .cart-item {
    grid-template-columns: 72px 1fr;
  }

  .qty-group {
    grid-column: 2;
  }

  .brand-stat {
    gap: 6px;
    padding: 8px 10px;
  }

  .brand-stat span,
  .brand-stat label {
    font-size: 1.05rem;
  }

  .sticky-contact-bar {
    display: flex;
  }

  .toast-stack {
    top: 70px;
  }

  body {
    padding-bottom: 70px;
  }
}

.fade-in {
  animation: fadeUp 0.6s ease both;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.scroll-reveal {
  opacity: 0;
  transform: translateY(26px) scale(0.98);
  transition: opacity 0.62s ease, transform 0.62s ease;
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.scroll-reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@media (prefers-reduced-motion: reduce) {
  .scroll-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.image-lightbox {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(0, 0, 0, 0.82);
  z-index: 9999;
}

.image-lightbox.open {
  display: flex;
}

.image-lightbox img {
  max-width: min(94vw, 760px);
  max-height: 86vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
  background: #fff;
}

.image-lightbox-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
}

body.lightbox-open {
  overflow: hidden;
}

.product-drawer {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 9998;
}

.product-drawer.open {
  display: block;
}

.product-drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.product-drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(460px, 92vw);
  height: 100%;
  background: var(--card);
  box-shadow: -16px 0 36px rgba(0, 0, 0, 0.26);
  transform: translateX(100%);
  transition: transform 0.24s ease;
  overflow-y: auto;
  padding: 16px;
}

.product-drawer.open .product-drawer-panel {
  transform: translateX(0);
}

.product-drawer-close {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  background: var(--mist);
  color: var(--ink);
  font-weight: 700;
  cursor: pointer;
  margin-left: auto;
  display: block;
}

.product-drawer-content {
  display: grid;
  gap: 14px;
}

.product-drawer-media {
  position: relative;
  background: var(--cream);
  border-radius: 14px;
  min-height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 12px;
}

.product-drawer-media img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: min(52vh, 420px);
  object-fit: contain;
  object-position: center center;
  display: block;
}

.product-drawer-media img.fit-contain {
  object-fit: contain;
  padding: 0;
}

.product-drawer-media img.fit-contain-tight {
  object-fit: contain;
  padding: 0;
}

@media (min-width: 721px) {
  .product-drawer-media {
    min-height: 280px;
  }

  .product-drawer-media img,
  .product-drawer-media img.fit-contain {
    width: auto !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: min(56vh, 460px) !important;
    object-fit: contain !important;
  }
}

.product-drawer-info h3 {
  margin: 8px 0 8px;
}

.product-drawer-note,
.product-drawer-copy {
  color: var(--slate);
  line-height: 1.6;
  margin: 0 0 10px;
}

.product-drawer-actions .primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
}

.product-drawer-actions .wishlist-btn {
  margin-top: 8px;
  width: auto;
  align-self: flex-start;
  padding: 8px 14px;
  border-radius: 999px;
}

body.drawer-open {
  overflow: hidden;
}

.user-drawer {
  position: fixed;
  inset: 0;
  display: none;
  align-items: flex-start;
  justify-content: flex-start;
  z-index: 90;
}

.user-drawer.open {
  display: flex;
}

.user-drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 20, 23, 0.5);
  backdrop-filter: blur(2px);
}

.user-drawer-panel {
  position: fixed;
  width: 280px;
  background: var(--card);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 18px 40px var(--shadow);
  transform: translateY(-6px);
  opacity: 0;
  transition: transform 0.18s ease, opacity 0.18s ease;
  z-index: 1;
}

.user-drawer.open .user-drawer-panel {
  transform: translateY(0);
  opacity: 1;
}

.user-drawer-handle {
  display: none;
}

.user-drawer-close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 999px;
  background: var(--mist);
  color: var(--ink);
  font-weight: 700;
  cursor: pointer;
}

.user-drawer-content {
  display: grid;
  gap: 12px;
}

.user-drawer-content h3 {
  margin: 6px 0 0;
  font-family: "Work Sans", system-ui, sans-serif;
}

.user-drawer-content p {
  margin: 0;
  color: var(--slate);
}

.user-drawer-content .primary {
  justify-self: flex-start;
}

.user-drawer-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.user-drawer-actions .primary {
  margin: 0;
}

.user-drawer-content .wishlist-link {
  justify-self: flex-start;
  width: auto;
  padding: 6px 12px;
  font-size: 0.9rem;
}

.user-drawer-content .profile-link {
  justify-self: flex-start;
  width: auto;
  padding: 6px 12px;
  font-size: 0.9rem;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
}

.user-drawer-content .wishlist-count {
  min-width: 18px;
  height: 18px;
  line-height: 18px;
  font-size: 0.7rem;
}

body.user-drawer-open {
  overflow: hidden;
}

.wishlist-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 140;
}

.wishlist-modal.open {
  display: flex;
}

.wishlist-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 20, 23, 0.55);
  backdrop-filter: blur(2px);
}

.wishlist-panel {
  position: relative;
  width: min(560px, 92vw);
  max-height: 80vh;
  overflow: auto;
  background: var(--card);
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 24px 60px var(--shadow);
  z-index: 1;
}

.wishlist-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.wishlist-header h3 {
  margin: 0;
  font-family: "Work Sans", system-ui, sans-serif;
}

.wishlist-close {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  background: var(--mist);
  color: var(--ink);
  font-weight: 700;
  cursor: pointer;
}

.wishlist-body {
  display: grid;
  gap: 12px;
}

.wishlist-item {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border-radius: 14px;
  background: var(--mist);
}

.wishlist-item img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 10px;
  background: #fff;
}

.wishlist-remove-btn {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid var(--muted-border);
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--ink);
}

.wishlist-remove-btn img {
  width: 16px;
  height: 16px;
  display: block;
}

body.dark-theme .wishlist-remove-btn {
  background: #2a343d;
}

.wishlist-item h4 {
  margin: 0 0 4px;
}

.wishlist-item p {
  margin: 0;
  color: var(--slate);
  font-size: 0.9rem;
}

.confirm-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 120;
}

.confirm-modal.open {
  display: flex;
}

.confirm-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 20, 23, 0.55);
  backdrop-filter: blur(2px);
}

.confirm-panel {
  position: relative;
  width: min(420px, 92vw);
  background: var(--card);
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 24px 60px var(--shadow);
  z-index: 1;
}

.confirm-panel h3 {
  margin: 0 0 8px;
  font-family: "Work Sans", system-ui, sans-serif;
}

.confirm-panel p {
  margin: 0 0 16px;
  color: var(--slate);
  line-height: 1.6;
}

.confirm-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

body.modal-open {
  overflow: hidden;
}

.toast-stack {
  position: fixed;
  right: 20px;
  top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 60;
  pointer-events: none;
}

.toast {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
  max-width: 320px;
  background: var(--ink);
  color: #fff;
  padding: 12px 14px;
  border-radius: 12px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
  font-weight: 600;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: auto;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.toast__text {
  flex: 1;
}

.toast__close {
  background: transparent;
  border: 0;
  color: inherit;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
}

.toast--success {
  background: #0f3d2e;
}

.toast--error {
  background: #5a1f1f;
}

.toast--info {
  background: var(--ink);
}

body.dark-theme .toast {
  background: #e7ecef;
  color: #1a1d1f;
}

body.dark-theme .toast--success {
  background: #d7f0e6;
  color: #1a1d1f;
}

body.dark-theme .toast--error {
  background: #f8dada;
  color: #1a1d1f;
}
