:root {
  --bg: oklch(99% 0.003 250);
  --card-bg: oklch(95% 0.015 250);
  --ink: oklch(22% 0.02 250);
  --muted: oklch(55% 0.01 250);
  --line: oklch(88% 0.01 250);
  --search-bg: oklch(98% 0.004 250);
  --accent: #fc7800;
  --accent-2: #0060d8;
  --accent-ink: oklch(99% 0 0);
  --display: 'Italiana', Georgia, 'Times New Roman', serif;
  --body-f: 'Karla', -apple-system, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body-f);
}

a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--accent); }

button { font-family: var(--body-f); }

/* Header */

.site-header {
  border-bottom: 1px solid var(--line);
}

.header-top {
  display: flex;
  align-items: center;
  height: 76px;
  padding: 0 48px;
  gap: 20px;
}

.logo {
  font-family: var(--display);
  font-size: 27px;
  letter-spacing: 0.03em;
  white-space: nowrap;
  display: flex;
  align-items: center;
}

.logo-img {
  height: 48px;
  width: auto;
  display: block;
}

.categories-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  font-size: 13px;
  color: var(--ink);
  cursor: pointer;
  white-space: nowrap;
}

.categories-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.site-navlink {
  font-size: 14px;
  white-space: nowrap;
}

.categories-dropdown { position: relative; }

.categories-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 220px;
  max-height: 70vh;
  overflow-y: auto;
  background: var(--search-bg);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px;
  box-shadow: 0 12px 32px -12px oklch(0% 0 0 / 0.25);
  z-index: 20;
}

.categories-menu.open { display: block; }

.cat-menu-item { position: relative; }

.cat-menu-row {
  display: flex;
  align-items: center;
}

.cat-menu-link {
  flex: 1;
  display: block;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 13px;
}

.cat-menu-link:hover { background: var(--card-bg); color: var(--accent); }

.cat-menu-expand {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  border-radius: 8px;
}

.cat-menu-expand:hover { background: var(--card-bg); color: var(--accent); }

.cat-submenu {
  display: none;
  position: fixed;
  min-width: 180px;
  background: var(--search-bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 8px;
  box-shadow: 0 12px 32px -12px oklch(0% 0 0 / 0.25);
  z-index: 21;
}

.cat-submenu a {
  display: block;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 13px;
}

.cat-submenu a:hover { background: var(--card-bg); color: var(--accent); }

@media (hover: hover) {
  .cat-menu-item.has-sub:hover .cat-submenu { display: block; }
}

.cat-menu-item.expanded .cat-submenu { display: block; }

.cat-menu-expand .chev { transition: transform 0.15s ease; }
.cat-menu-item.expanded .cat-menu-expand .chev { transform: rotate(90deg); }

@media (max-width: 900px) {
  .cat-submenu {
    position: static;
    margin-left: 0;
    margin-top: 2px;
    box-shadow: none;
    border: none;
    border-radius: 0;
    padding: 0 0 4px 14px;
  }
}

.cart-link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--ink);
}

.cart-link:hover { border-color: var(--accent); color: var(--accent); }

.cart-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-bar {
  position: relative;
  flex: 1;
  max-width: 560px;
  display: flex;
  align-items: center;
  gap: 10px;
  height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--search-bg);
  border: 1px solid var(--line);
  color: var(--muted);
}

.search-bar input {
  flex: 1;
  border: none;
  background: transparent;
  outline: none;
  font-family: var(--body-f);
  font-size: 13px;
  color: var(--ink);
}

.search-bar input::placeholder { color: var(--muted); }

.search-suggestions {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  max-height: 420px;
  overflow-y: auto;
  background: var(--search-bg);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 8px;
  box-shadow: 0 12px 32px -12px oklch(0% 0 0 / 0.25);
  z-index: 30;
}

.search-suggestions.open { display: block; }

.search-suggestion {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px;
  border-radius: 10px;
  color: var(--ink);
}

.search-suggestion:hover, .search-suggestion.active { background: var(--card-bg); }

.search-suggestion-thumb {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--card-bg);
}

.search-suggestion-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.search-suggestion-title {
  font-size: 13px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.search-suggestion-price { font-size: 12px; color: var(--accent); font-weight: 700; }

.eyebrow {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.75;
  margin: 0;
}

/* Home hero */

.home-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin: 24px 48px 0;
  padding: 72px 48px 64px;
  border-radius: 28px;
  background: var(--accent-2);
  color: var(--accent-ink);
  overflow: hidden;
  touch-action: pan-y;
  cursor: grab;
  user-select: none;
}

.home-hero:active { cursor: grabbing; }

.home-hero-copy {
  max-width: 640px;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.home-hero-copy.swipe-out { transform: translateX(-24px); opacity: 0; }
.home-hero-copy.swipe-in { transform: translateX(24px); opacity: 0; }

.home-hero-copy h1 {
  font-family: var(--display);
  font-size: 46px;
  font-weight: 400;
  line-height: 1.15;
  margin: 0 0 18px;
}

.home-hero-copy p#hero-subcopy {
  font-size: 15px;
  line-height: 1.6;
  color: var(--accent-ink);
  opacity: 0.85;
  margin: 0 auto 28px;
  max-width: 420px;
}

.home-hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 36px; }

.home-hero-actions .ghost-btn {
  border-color: var(--accent-ink);
  color: var(--accent-ink);
}

.home-hero-actions .ghost-btn:hover { border-color: var(--accent); color: var(--accent); }

.home-hero-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 28px;
  margin-bottom: 40px;
}

.home-hero-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--accent-ink);
  opacity: 0.9;
}

.home-hero-badge svg { color: var(--accent); flex-shrink: 0; }

.hero-dots {
  display: flex;
  gap: 8px;
}

.hero-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: oklch(100% 0 0 / 0.35);
  cursor: pointer;
}

.hero-dot.active { width: 20px; background: #fff; }

/* Shared section heading */

.section-heading { text-align: center; padding: 0 24px; margin-bottom: 32px; }
.section-heading h2 { font-family: var(--display); font-size: 30px; font-weight: 400; margin: 0 0 8px; }
.section-heading p { font-size: 13px; color: var(--muted); margin: 0; }

/* Shop by Occasion */

.occasion-section { padding: 16px 48px 56px; }

.occasion-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
}

.occasion-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 24px 12px;
  background: var(--search-bg);
  border: 1px solid var(--line);
  border-radius: 16px;
  text-align: center;
}

.occasion-card:hover { border-color: var(--accent); }

.occasion-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--card-bg);
  color: var(--accent);
}

.occasion-card span:not(.occasion-icon) { font-size: 13px; font-weight: 600; color: var(--ink); }

/* Customization grid */

.customize-section { padding: 0 48px 56px; }

.customize-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.customize-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px;
  background: var(--search-bg);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.customize-card:hover { border-color: var(--accent); }

.customize-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--card-bg);
  color: var(--accent);
}

.customize-card-text strong { display: block; font-size: 14px; margin-bottom: 2px; }
.customize-card-text span { font-size: 12px; color: var(--muted); }

/* Featured products */

.featured-section { padding: 0 48px 56px; }

.featured-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 28px;
}

.featured-tab {
  height: 34px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  font-family: var(--body-f);
  font-size: 12px;
  color: var(--ink);
  cursor: pointer;
}

.featured-tab.active { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.featured-tab:hover:not(.active) { border-color: var(--accent); color: var(--accent); }

.featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 28px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.featured-heading-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
}

.featured-heading-row .section-heading { grid-column: 2; margin-bottom: 32px; }

.featured-view-all {
  grid-column: 3;
  justify-self: end;
  margin-top: 4px;
}

/* Testimonials */

.testimonials-section { padding: 0 48px 56px; }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.testimonial-card {
  background: var(--search-bg);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
}

.testimonial-card p { font-size: 13px; line-height: 1.6; color: var(--ink); margin: 0 0 14px; }
.testimonial-name { font-size: 13px; font-weight: 700; }
.testimonial-location { font-size: 12px; color: var(--muted); }

.testimonials-empty {
  max-width: 480px;
  margin: 0 auto;
  text-align: center;
  padding: 40px 24px;
  background: var(--search-bg);
  border: 1px dashed var(--line);
  border-radius: 16px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.testimonials-empty a { color: var(--accent); font-weight: 700; }

/* Why choose us */

.why-section { padding: 0 48px 56px; }

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.why-item { display: flex; flex-direction: column; align-items: center; gap: 10px; }

.why-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--card-bg);
  color: var(--accent);
}

.why-item span { font-size: 12px; font-weight: 600; }

.product-card {
  width: 212px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  background: var(--search-bg);
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 36px -20px oklch(0% 0 0 / 0.22);
  border-color: var(--line);
}

.product-image {
  position: relative;
  height: 260px;
  border-radius: 0;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  padding: 22px;
}

.media-count-badge {
  position: absolute;
  right: 10px;
  bottom: 10px;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border-radius: 999px;
  background: oklch(20% 0.02 250 / 0.72);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
}

.product-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 18px 6px;
}

.product-title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.product-price { font-size: 14px; font-weight: 700; color: var(--accent); }

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 14px;
}

.add-to-cart-btn {
  height: 38px;
  margin: 12px 18px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  font-family: var(--body-f);
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.add-to-cart-btn:hover { border-color: var(--accent); color: var(--accent); }

/* Footer */

.site-footer {
  padding: 48px 48px 24px;
  border-top: 1px solid var(--line);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto 32px;
  text-align: left;
}

.footer-brand .logo { margin-bottom: 10px; }

.footer-brand-copy {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0 0 16px;
  max-width: 220px;
}

.footer-social { display: flex; gap: 10px; }

.footer-social a {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
}

.footer-social a:hover { border-color: var(--accent); color: var(--accent); }

.footer-col h4 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink);
  font-weight: 700;
  margin: 0 0 14px;
}

.footer-col a { display: block; font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.footer-col a:hover { color: var(--accent); }

.footer-contact {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.9;
}

.footer-contact a { display: block; color: var(--muted); }
.footer-contact a:hover { color: var(--accent); }

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copyright {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
}

.admin-link {
  font-size: 11px;
  color: var(--line);
}

.admin-link:hover { color: var(--muted); }

/* Form fields (cart + shop) */

.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }

/* Honeypot: off-screen (not display:none) so most bots that skip hidden
   fields still fill it in, while real visitors never see or tab into it. */
.hp-field { position: absolute; left: -9999px; top: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field label { font-size: 12px; color: var(--muted); }

.field input, .field select, .field textarea {
  padding: 0 14px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--search-bg);
  font-family: var(--body-f);
  font-size: 14px;
  color: var(--ink);
  outline: none;
}

.field textarea { height: auto; padding: 10px 14px; resize: vertical; }

.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); }

.primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 20px;
  border: none;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-family: var(--body-f);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.primary-btn:hover { opacity: 0.92; }
.primary-btn:disabled { opacity: 0.5; cursor: not-allowed; }

.ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font-family: var(--body-f);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
}

.ghost-btn:hover { border-color: var(--accent); color: var(--accent); }

.msg { font-size: 13px; padding: 10px 14px; border-radius: 10px; margin-top: 12px; display: none; }
.msg.show { display: block; }
.msg.error { background: oklch(93% 0.06 25); color: oklch(35% 0.12 25); }
.msg.success { background: oklch(93% 0.06 145); color: oklch(32% 0.09 145); }

/* Shop page */

.shop-page { max-width: 1280px; margin: 0 auto; padding: 40px 48px 64px; }

.shop-heading { font-family: var(--display); font-size: 34px; font-weight: 400; margin: 0 0 28px; }

.shop-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 40px;
  align-items: start;
}

.shop-sidebar {
  display: flex;
  flex-direction: column;
  gap: 28px;
  position: sticky;
  top: 24px;
}

.filter-block-head h3 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink);
  margin: 0 0 12px;
}

.filter-group { margin-bottom: 14px; }
.filter-group:last-child { margin-bottom: 0; }

.filter-group-label {
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin: 0 0 4px;
}

.filter-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  padding: 4px 0;
  cursor: pointer;
}

.filter-checkbox input { accent-color: var(--accent); }

.shop-results { min-width: 0; }

.shop-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.shop-count { font-size: 13px; color: var(--muted); }

.sort-dropdown { position: relative; }

.sort-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 14px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--search-bg);
  font-family: var(--body-f);
  font-size: 13px;
  color: var(--ink);
  cursor: pointer;
  white-space: nowrap;
}

.sort-btn:hover { border-color: var(--accent); color: var(--accent); }

.sort-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 200px;
  background: var(--search-bg);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 6px;
  box-shadow: 0 12px 32px -12px oklch(0% 0 0 / 0.25);
  z-index: 20;
}

.sort-menu.open { display: block; }

.sort-option {
  display: block;
  width: 100%;
  text-align: left;
  padding: 9px 10px 9px 30px;
  position: relative;
  border: none;
  background: transparent;
  border-radius: 8px;
  font-family: var(--body-f);
  font-size: 13px;
  color: var(--ink);
  cursor: pointer;
}

.sort-option:hover { background: var(--card-bg); color: var(--accent); }

.sort-option.active { font-weight: 600; }

.sort-option.active::before {
  content: '\2713';
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-weight: 600;
}

/* Strip native select chrome and draw our own chevron so it matches the
   rest of the form controls instead of looking like a default browser
   dropdown. The open option list itself stays OS-native (unavoidable
   without a full custom-built dropdown widget). */
select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M2.5 4.5L6 8L9.5 4.5' stroke='%23888' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  cursor: pointer;
}

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

/* About page */

.about-hero {
  margin: 32px 48px 0;
  padding: 72px 48px;
  border-radius: 28px;
  background: linear-gradient(135deg, var(--card-bg), var(--accent-2));
  color: var(--accent-ink);
  text-align: center;
}
.about-hero .eyebrow { color: var(--accent-ink); }
.about-hero h1 {
  font-family: var(--display);
  font-size: 44px;
  font-weight: 400;
  line-height: 1.15;
  margin: 14px 0 0;
}
.about-hero-copy {
  font-size: 15px;
  line-height: 1.6;
  opacity: 0.9;
  max-width: 480px;
  margin: 16px auto 0;
}
.about-hero .primary-btn { margin-top: 28px; }

.about-page { max-width: 720px; margin: 0 auto; padding: 48px 48px 8px; }
.about-copy { font-size: 15px; line-height: 1.7; color: var(--ink); }
.about-copy + .about-copy { margin-top: 14px; }

.about-highlights { padding: 40px 48px 56px; }
.about-highlights h2 {
  font-family: var(--display);
  font-size: 28px;
  font-weight: 400;
  text-align: center;
  margin: 0 0 32px;
}

.highlights-grid {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.highlight-card {
  padding: 28px;
  background: var(--search-bg);
  border: 1px solid var(--line);
  border-radius: 20px;
}

.highlight-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  background: var(--card-bg);
  color: var(--accent);
  margin-bottom: 16px;
}

.highlight-card h3 {
  font-family: var(--display);
  font-size: 19px;
  font-weight: 400;
  margin: 0 0 8px;
}

.highlight-card p { font-size: 13px; line-height: 1.6; color: var(--muted); margin: 0; }

.cta-band {
  margin: 0 48px 48px;
  padding: 48px;
  border-radius: 28px;
  background: var(--accent-2);
  color: var(--accent-ink);
  text-align: center;
}
.cta-band h2 {
  font-family: var(--display);
  font-size: 28px;
  font-weight: 400;
  margin: 0 0 24px;
}

.about-contact {
  max-width: 720px;
  margin: 0 auto 64px;
  padding: 28px;
  background: var(--search-bg);
  border: 1px solid var(--line);
  border-radius: 20px;
}

.about-contact h2 { font-family: var(--display); font-size: 22px; font-weight: 400; margin: 0 0 10px; }
.about-contact-copy { font-size: 14px; color: var(--muted); margin: 0 0 14px; }

/* Cart page */

.cart-page { max-width: 1100px; margin: 0 auto; padding: 40px 48px 64px; }

.cart-heading { font-family: var(--display); font-size: 32px; font-weight: 400; margin: 0 0 8px; }
.cart-subhead { font-size: 13px; color: var(--muted); line-height: 1.6; margin: 0 0 28px; max-width: 560px; }

.cart-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 32px;
  align-items: start;
}

.cart-items { display: flex; flex-direction: column; gap: 4px; }

.cart-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.cart-thumb {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: var(--card-bg);
  flex-shrink: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.cart-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-thumb svg { width: 60%; height: 60%; }

.cart-row-info { flex: 1; }
.cart-row-title { font-size: 14px; }
.cart-row-price { font-size: 13px; color: var(--muted); margin-top: 2px; }

.cart-qty input {
  width: 56px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  text-align: center;
  font-family: var(--body-f);
  font-size: 13px;
  background: var(--bg);
  color: var(--ink);
}

.cart-remove {
  border: none;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  cursor: pointer;
}

.cart-remove:hover { color: var(--accent); }

.cart-summary {
  background: var(--search-bg);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px;
}

.cart-summary h2 {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 400;
  margin: 0 0 16px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  padding: 6px 0;
}

.summary-total {
  border-top: 1px solid var(--line);
  margin-top: 8px;
  padding-top: 12px;
  font-weight: 700;
  font-size: 15px;
}

.summary-note {
  font-size: 11px;
  color: var(--muted);
  margin: 10px 0 20px;
  line-height: 1.5;
}

/* Product detail page */

.product-page { max-width: 1100px; margin: 0 auto; padding: 40px 48px 64px; }

.product-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 48px;
  align-items: start;
}

.product-viewer {
  max-height: 640px;
  min-height: 320px;
  border-radius: 20px;
  background: var(--card-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: var(--accent);
}

.product-viewer img,
.product-viewer video {
  max-width: 100%;
  max-height: 640px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.zoomable-image {
  cursor: zoom-in;
  transition: transform 0.2s ease;
}

.zoomable-image.zoomed {
  transform: scale(2.2);
}

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  align-items: center;
  justify-content: center;
  background: oklch(15% 0.01 250 / 0.92);
  padding: 40px;
}

.lightbox.open { display: flex; }

.lightbox img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 8px;
  cursor: zoom-out;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: none;
  background: oklch(100% 0 0 / 0.12);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.lightbox-close:hover { background: oklch(100% 0 0 / 0.22); }

/* Custom toast + modal (replaces alert/confirm/prompt) */

.toast-stack {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 300;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 340px;
}

.toast {
  padding: 12px 16px;
  border-radius: 12px;
  background: var(--ink);
  color: var(--bg);
  font-family: var(--body-f);
  font-size: 13px;
  line-height: 1.4;
  box-shadow: 0 8px 24px -8px oklch(20% 0.02 250 / 0.4);
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.toast.show { opacity: 1; transform: translateY(0); }
.toast-error { border-left: 3px solid var(--accent); }
.toast-success { border-left: 3px solid var(--accent-2, var(--accent)); }

.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  align-items: center;
  justify-content: center;
  background: oklch(15% 0.01 250 / 0.55);
  padding: 24px;
}

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

.modal-card {
  width: 100%;
  max-width: 380px;
  background: var(--search-bg);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 20px 50px -12px oklch(15% 0.02 250 / 0.35);
}

.modal-message {
  font-family: var(--body-f);
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink);
  margin: 0 0 16px;
}

.modal-input {
  width: 100%;
  height: 42px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--bg);
  font-family: var(--body-f);
  font-size: 14px;
  color: var(--ink);
  outline: none;
  margin-bottom: 16px;
}

.modal-input:focus { border-color: var(--accent); }

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

.danger-btn {
  background: oklch(52% 0.16 25) !important;
}

.product-thumb-strip {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.product-thumb {
  position: relative;
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  border-radius: 10px;
  border: 2px solid transparent;
  background: var(--card-bg);
  padding: 0;
  cursor: pointer;
  overflow: hidden;
}

.product-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.product-thumb.active { border-color: var(--accent); }

.thumb-play-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: oklch(20% 0.02 250 / 0.35);
  color: #fff;
}

.product-details { display: flex; flex-direction: column; gap: 14px; }

.product-category-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.product-category-tag {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 12px;
}

.product-details h1 {
  font-family: var(--display);
  font-size: 30px;
  font-weight: 400;
  margin: 0;
}

.product-detail-price { font-size: 22px; font-weight: 700; color: var(--accent); }
.product-detail-desc { font-size: 14px; line-height: 1.7; color: var(--ink); margin: 0; }
.product-detail-dimensions { font-size: 13px; color: var(--muted); margin: 0; }
.product-detail-dimensions strong { color: var(--ink); font-weight: 600; }
.product-not-found { font-family: var(--display); font-size: 28px; font-weight: 400; }

/* Responsive */

@media (max-width: 900px) {
  .header-top { flex-wrap: wrap; height: auto; padding: 16px 24px; }
  .search-bar { order: 3; max-width: none; flex-basis: 100%; }
  .home-hero { margin: 16px 24px 0; padding: 40px 24px 40px; }
  .home-hero-copy { max-width: none; }
  .home-hero-copy h1 { font-size: 32px; }
  .occasion-section, .customize-section, .featured-section, .testimonials-section, .why-section { padding-left: 24px; padding-right: 24px; }
  .site-footer { padding: 32px 24px 24px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .shop-page, .about-page, .cart-page { padding: 24px; }
  .about-hero { margin: 24px 24px 0; padding: 48px 24px; }
  .about-hero h1 { font-size: 32px; }
  .about-highlights { padding: 32px 24px 40px; }
  .highlights-grid { grid-template-columns: 1fr; }
  .cta-band { margin: 0 24px 40px; padding: 36px 24px; }
  .shop-layout { grid-template-columns: 1fr; }
  .shop-sidebar { position: static; flex-direction: row; flex-wrap: wrap; gap: 20px; }
  .filter-block { flex: 1; min-width: 160px; }
  .cart-layout { grid-template-columns: 1fr; }
  .product-page { padding: 24px; }
  .product-layout { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .footer-top { grid-template-columns: 1fr; }
}
