:root {
  --background: #FDF8F3;
  --section: #EFDCCD;
  --primary: #B07A56;
  --deep: #78442B;
  --blush: #D9A98E;
  --surface: #FFFFFF;
  --text: #3D2B1F;
  --muted: #A8917F;
  --reserved: #C77B43;
  --shadow: 0 16px 50px rgba(61, 43, 31, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: "Lato", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.announcement {
  background: var(--deep);
  color: var(--background);
  padding: 0.55rem 1rem;
  text-align: center;
  font-size: 0.88rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 0.8rem clamp(1rem, 4vw, 3.5rem);
  background: rgba(253, 248, 243, 0.94);
  border-bottom: 1px solid rgba(176, 122, 86, 0.22);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.15rem, 4vw, 1.55rem);
  font-weight: 700;
  color: var(--deep);
}

.brand-mark {
  width: 48px;
  height: 48px;
  border: 1px solid var(--primary);
  border-radius: 50%;
  object-fit: cover;
}

.desktop-nav {
  display: none;
  gap: 1.2rem;
  color: var(--deep);
  font-weight: 700;
}

.desktop-nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.desktop-nav a:hover {
  color: var(--primary);
}

.icon-button {
  display: grid;
  gap: 5px;
  min-width: 44px;
  min-height: 44px;
  padding: 0.75rem;
  border: 1px solid rgba(176, 122, 86, 0.3);
  border-radius: 8px;
  background: var(--surface);
}

.icon-button span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--deep);
}

.mobile-drawer {
  position: fixed;
  inset: 112px 1rem auto 1rem;
  z-index: 19;
  display: none;
  padding: 1rem;
  background: var(--surface);
  border: 1px solid rgba(176, 122, 86, 0.25);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.mobile-drawer.open {
  display: grid;
}

.mobile-drawer a {
  min-height: 44px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(168, 145, 127, 0.2);
  font-weight: 700;
}

.hero,
.section-block,
.shop,
.how-it-works,
.order,
.confirmation,
.love,
.faq,
.contact,
.product-detail {
  padding: clamp(3rem, 8vw, 6rem) clamp(1rem, 5vw, 4rem);
}

.hero {
  display: grid;
  gap: 2rem;
  background: var(--section);
  min-height: calc(100vh - 112px);
  align-items: center;
}

.hero-copy {
  order: 2;
}

.hero-media {
  order: 1;
}

.hero h1,
.section-heading h2,
.story-teaser h2,
.contact h2,
.product-info h2 {
  margin: 0;
  color: var(--deep);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.25rem, 8vw, 5rem);
  line-height: 1.02;
}

.hero p,
.story-teaser p,
.contact p {
  max-width: 58ch;
}

.eyebrow {
  margin: 0 0 0.7rem;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--primary);
  border-radius: 8px;
  cursor: pointer;
  font-weight: 900;
  transition: 180ms ease;
}

.button.primary {
  background: var(--primary);
  color: var(--surface);
}

.button.secondary {
  background: transparent;
  color: var(--deep);
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(120, 68, 43, 0.16);
}

.button:disabled,
.button.disabled {
  cursor: not-allowed;
  opacity: 0.58;
  transform: none;
  box-shadow: none;
}

.hero-media {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-media a {
  display: block;
  position: relative;
}

.hero-media img {
  display: block;
  width: 100%;
  min-height: 360px;
  object-fit: cover;
}

.image-shell {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(176, 122, 86, 0.08), rgba(253, 248, 243, 0.96));
}

.image-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(253, 248, 243, 0) 0%,
    rgba(255, 255, 255, 0.68) 45%,
    rgba(253, 248, 243, 0) 100%
  );
  transform: translateX(-100%);
  opacity: 0;
  pointer-events: none;
}

.image-shell.is-loading::before {
  opacity: 1;
  animation: velvet-shimmer 1.35s ease-in-out infinite;
}

.image-shell img {
  opacity: 0;
  transition: opacity 220ms ease;
}

.image-shell img.is-loaded {
  opacity: 1;
}

@keyframes velvet-shimmer {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(100%);
  }
}

.meta-pick-label {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 1;
  max-width: 180px;
  min-height: 1px;
  padding: 0.15rem 0.35rem;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(253, 248, 243, 0.01);
  color: rgba(61, 43, 31, 0.02);
  font-size: 1px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
  user-select: none;
}

.trust-bar {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(176, 122, 86, 0.2);
}

.trust-bar div {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  background: var(--background);
  color: var(--deep);
  font-weight: 900;
}

.trust-bar span {
  color: var(--primary);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 1.7rem;
}

.section-heading h2,
.story-teaser h2,
.contact h2,
.product-info h2 {
  font-size: clamp(1.9rem, 5vw, 3.3rem);
}

.section-heading a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  margin-top: 0.4rem;
  color: var(--primary);
  font-weight: 900;
}

.arrival-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(220px, 72vw);
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 1rem;
  scroll-snap-type: x mandatory;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.product-card {
  position: relative;
  overflow: hidden;
  min-width: 0;
  background: var(--surface);
  border: 1px solid rgba(176, 122, 86, 0.18);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(61, 43, 31, 0.08);
  scroll-snap-align: start;
}

.product-card.unavailable {
  filter: grayscale(0.75);
  opacity: 0.72;
}

.product-card__link {
  width: 100%;
  display: block;
  border: 0;
  padding: 0;
  color: inherit;
  text-align: left;
  background: transparent;
  cursor: pointer;
}

.product-card img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.product-body {
  padding: 0.8rem;
}

.product-body h3 {
  margin: 0.15rem 0 0.25rem;
  color: var(--text);
  font-size: clamp(0.96rem, 4vw, 1.1rem);
  line-height: 1.25;
}

.brand-line {
  color: var(--deep);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.price {
  color: var(--primary);
  font-size: 1.1rem;
  font-weight: 900;
}

.chip,
.status-badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 900;
}

.chip {
  margin-top: 0.45rem;
  background: var(--background);
  color: var(--deep);
}

.status-badge {
  position: absolute;
  top: 0.7rem;
  left: 0.7rem;
  background: var(--primary);
  color: var(--surface);
  z-index: 2;
}

.status-badge.Reserved {
  background: var(--reserved);
}

.status-badge.Sold {
  background: var(--muted);
}

.sold-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--surface);
  background: rgba(61, 43, 31, 0.38);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 2.2rem;
  font-weight: 700;
}

.story-teaser,
.contact {
  display: grid;
  gap: 2rem;
  padding: clamp(3rem, 8vw, 6rem) clamp(1rem, 5vw, 4rem);
  background: var(--section);
}

.story-teaser img {
  border-radius: 8px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.shop-layout,
.order-layout {
  display: grid;
  gap: 1.5rem;
}

.filters,
.order-form,
.payment-card,
.order-summary {
  display: grid;
  gap: 1rem;
  align-content: start;
  padding: 1rem;
  background: var(--surface);
  border: 1px solid rgba(176, 122, 86, 0.2);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(61, 43, 31, 0.08);
}

label {
  display: grid;
  gap: 0.35rem;
  color: var(--deep);
  font-weight: 900;
}

input,
select,
textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid rgba(120, 68, 43, 0.28);
  border-radius: 8px;
  padding: 0.72rem 0.82rem;
  background: var(--background);
  color: var(--text);
}

textarea {
  resize: vertical;
}

.result-count {
  min-height: 44px;
  display: flex;
  align-items: center;
  color: var(--muted);
  font-weight: 900;
}

.modal-open {
  overflow: hidden;
}

.image-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.image-modal[hidden] {
  display: none;
}

.image-modal__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(30, 20, 14, 0.72);
}

.image-modal__panel {
  position: relative;
  z-index: 1;
  width: min(100%, 980px);
  max-height: calc(100vh - 2rem);
  display: grid;
  gap: 0.75rem;
  padding: 0.75rem;
  background: var(--surface);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

.image-modal__panel img {
  max-height: min(76vh, 760px);
  object-fit: contain;
  border-radius: 8px;
  background: var(--background);
}

.image-modal__panel p {
  margin: 0;
  color: var(--deep);
  font-weight: 900;
  text-align: center;
}

.image-modal__close {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(176, 122, 86, 0.25);
  border-radius: 999px;
  background: var(--surface);
  color: var(--deep);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.detail-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1rem;
  color: var(--muted);
  font-weight: 900;
}

.product-page-shell {
  padding: clamp(2rem, 5vw, 4rem) clamp(1rem, 5vw, 4rem);
}

.product-page-shell,
.detail-related,
.detail-page-layout {
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
}

.detail-related .section-heading {
  max-width: 780px;
}

.detail-page-layout {
  display: grid;
  gap: 1.5rem;
}

.detail-gallery {
  display: grid;
  gap: 0.75rem;
}

.detail-gallery__frame {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid rgba(176, 122, 86, 0.18);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(61, 43, 31, 0.08);
}

.detail-gallery__zoom {
  width: 100%;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: zoom-in;
}

.detail-gallery__zoom img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.detail-gallery__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(176, 122, 86, 0.18);
  border-radius: 999px;
  background: rgba(253, 248, 243, 0.94);
  color: var(--deep);
  font-size: 1.8rem;
  cursor: pointer;
}

.detail-gallery__nav.prev {
  left: 0.75rem;
}

.detail-gallery__nav.next {
  right: 0.75rem;
}

.detail-gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
}

.detail-thumb {
  border: 2px solid transparent;
  border-radius: 8px;
  padding: 0;
  overflow: hidden;
  background: transparent;
  cursor: pointer;
}

.detail-thumb.active {
  border-color: var(--primary);
}

.detail-thumb img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.detail-page-copy {
  display: grid;
  gap: 1rem;
}

.detail-page-copy h1 {
  margin: 0;
  color: var(--deep);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2rem, 7vw, 4rem);
  line-height: 1.02;
}

.detail-page-copy__lead {
  margin: 0;
  font-size: 1.02rem;
}

.detail-related {
  margin-top: 3rem;
}

.detail-list {
  display: grid;
  gap: 0.5rem;
  padding: 1rem;
  background: var(--surface);
  border-radius: 8px;
}

.detail-list div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid rgba(168, 145, 127, 0.16);
  padding-bottom: 0.45rem;
}

.sticky-mobile-cta {
  position: sticky;
  bottom: 0.8rem;
  z-index: 10;
  width: 100%;
  margin-top: 1rem;
}

.steps,
.testimonials {
  display: grid;
  gap: 1rem;
}

.steps article,
.testimonials article,
.faq-list details {
  padding: 1rem;
  background: var(--surface);
  border: 1px solid rgba(176, 122, 86, 0.18);
  border-radius: 8px;
}

.steps span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--surface);
  font-weight: 900;
}

.steps h3,
.payment-card h3 {
  color: var(--deep);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.4rem;
}

.gcash-qr {
  width: min(100%, 320px);
  justify-self: center;
  border: 1px solid rgba(176, 122, 86, 0.2);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(61, 43, 31, 0.08);
}

.gcash-steps {
  margin: 0;
  padding-left: 1.2rem;
  display: grid;
  gap: 0.5rem;
  color: var(--text);
  line-height: 1.5;
}

.detail-reserve,
.detail-payment {
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(176, 122, 86, 0.2);
}

.detail-reserve .section-heading,
.detail-payment .section-heading {
  margin-bottom: 1.5rem;
}

.faq-list {
  display: grid;
  gap: 0.8rem;
}

summary {
  cursor: pointer;
  color: var(--deep);
  font-weight: 900;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-content: start;
}

.contact-actions p {
  flex-basis: 100%;
}

.social-icon {
  width: 1.15em;
  height: 1.15em;
  flex-shrink: 0;
}

footer {
  padding: 2rem clamp(1rem, 5vw, 4rem);
  background: var(--deep);
  color: var(--background);
}

.footer-brand {
  color: var(--background);
}

@media (min-width: 760px) {
  .desktop-nav {
    display: flex;
  }

  .icon-button,
  .mobile-drawer,
  .mobile-drawer.open {
    display: none;
  }

  .hero {
    grid-template-columns: 0.92fr 1.08fr;
  }

  .hero-copy {
    order: 1;
  }

  .hero-media {
    order: 2;
  }

  .trust-bar {
    grid-template-columns: repeat(4, 1fr);
  }

  .arrival-strip {
    grid-auto-columns: minmax(230px, 25vw);
  }

  .story-teaser,
  .contact,
  .detail-page-layout,
  .order-layout {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: start;
  }

  .shop-layout {
    grid-template-columns: 280px 1fr;
    align-items: start;
  }

  .filters {
    position: sticky;
    top: 96px;
  }

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

  .steps,
  .testimonials {
    grid-template-columns: repeat(3, 1fr);
  }

  .sticky-mobile-cta {
    position: static;
    width: auto;
  }
}

@media (max-width: 759px) {
  .hero {
    gap: 1.25rem;
    min-height: auto;
    padding-top: 1.5rem;
  }

  .hero-media img {
    min-height: 280px;
    aspect-ratio: 4 / 5;
  }

  .hero-copy {
    display: grid;
    gap: 0.85rem;
  }

  .hero-copy p {
    margin: 0;
  }

  .button-row {
    margin-top: 0.35rem;
  }

  .detail-page-layout {
    gap: 1rem;
  }

  .detail-page-copy {
    gap: 0.8rem;
  }

  .detail-page-copy .button-row {
    position: sticky;
    bottom: 0.75rem;
    z-index: 8;
    padding: 0.7rem;
    margin: 0;
    background: rgba(253, 248, 243, 0.94);
    border: 1px solid rgba(176, 122, 86, 0.18);
    border-radius: 8px;
    backdrop-filter: blur(10px);
  }

  .detail-list div {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.2rem;
  }
}

@media (min-width: 1120px) {
  .product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
