:root {
  --bg: #f7efe3;
  --bg-soft: #fff9ef;
  --card: #fffdf7;
  --text: #2d2118;
  --muted: #75675a;
  --accent: #b08968;
  --accent-dark: #765339;
  --line: #e5d4bd;
  --shadow: 0 24px 70px rgba(58, 39, 24, 0.14);
  --radius-lg: 32px;
  --radius-md: 22px;
  --radius-sm: 14px;
  --heading: 'Cormorant Garamond', Georgia, serif;
  --body: 'Inter', Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--body);
  color: var(--text);
  background:
    radial-gradient(circle at 10% 0%, rgba(176, 137, 104, 0.16), transparent 32%),
    radial-gradient(circle at 92% 8%, rgba(213, 183, 145, 0.24), transparent 32%),
    linear-gradient(180deg, #fbf5ea 0%, var(--bg) 100%);
}

body.menu-open { overflow: hidden; }

img {
  max-width: 100%;
  display: block;
}

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

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

.announcement-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 38px;
  padding: 0 18px;
  background: var(--text);
  color: #fff7ec;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.announcement-bar p {
  margin: 0;
  text-align: center;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 26px;
  align-items: center;
  padding: 14px clamp(18px, 4vw, 54px);
  background: rgba(247, 239, 227, 0.84);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(229, 212, 189, 0.72);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
}

.brand-logo {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow: 0 12px 30px rgba(62, 45, 31, 0.08);
}

.brand-text {
  font-family: var(--heading);
  font-size: 1.5rem;
  letter-spacing: 0.02em;
}

.site-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.site-nav a { transition: color 180ms ease; }
.site-nav a:hover { color: var(--text); }

.cart-button,
.menu-toggle,
.thumb,
.gallery-arrow,
.button { border: 0; cursor: pointer; }

.cart-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
  color: var(--text);
  font-weight: 800;
  box-shadow: 0 10px 25px rgba(62, 45, 31, 0.06);
}

.cart-count {
  display: inline-grid;
  place-items: center;
  min-width: 24px;
  height: 24px;
  padding: 0 7px;
  border-radius: 999px;
  background: var(--accent);
  color: white;
  font-size: 0.78rem;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--card);
  border: 1px solid var(--line);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: var(--text);
}

.section-pad { padding: clamp(64px, 8vw, 118px) clamp(18px, 4vw, 54px); }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr);
  gap: clamp(34px, 7vw, 94px);
  align-items: center;
  min-height: calc(100vh - 100px);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p { margin-top: 0; }

h1,
h2,
h3 {
  font-family: var(--heading);
  color: var(--text);
  line-height: 0.96;
}

h1 {
  max-width: 800px;
  margin-bottom: 24px;
  font-size: clamp(4rem, 8.6vw, 8rem);
  letter-spacing: -0.055em;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2.6rem, 5vw, 5rem);
  letter-spacing: -0.04em;
}

h3 {
  margin-bottom: 10px;
  font-size: clamp(2.35rem, 4vw, 4.2rem);
  letter-spacing: -0.03em;
}

.hero-text,
.section-heading p,
.product-copy p,
.about-card p,
.contact-panel p,
.site-footer p {
  color: var(--muted);
  line-height: 1.75;
}

.hero-text {
  max-width: 620px;
  margin-bottom: 32px;
  font-size: clamp(1rem, 1.4vw, 1.18rem);
}

.hero-actions,
.contact-actions,
.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 900;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover,
.thumb:hover,
.gallery-arrow:hover { transform: translateY(-2px); }

.button.primary {
  background: var(--accent);
  color: white;
  box-shadow: 0 16px 30px rgba(176, 137, 104, 0.28);
}

.button.primary:hover { background: var(--accent-dark); }

.button.secondary {
  border: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.78);
  color: var(--text);
}

.hero-visual { position: relative; }

.hero-card-product {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--card);
  box-shadow: var(--shadow);
  transform: rotate(1.2deg);
}

.hero-card-product img {
  width: 100%;
  aspect-ratio: 1.18;
  object-fit: cover;
}

.floating-logo {
  position: absolute;
  left: -20px;
  bottom: -30px;
  width: clamp(130px, 18vw, 210px);
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 253, 248, 0.9);
  box-shadow: 0 18px 50px rgba(62, 45, 31, 0.16);
  backdrop-filter: blur(18px);
}

.floating-logo img {
  border-radius: 50%;
  aspect-ratio: 1;
  object-fit: cover;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 34px;
}

.section-heading.split {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(280px, 0.35fr);
  gap: 30px;
  align-items: end;
}

.product-detail,
.about-card,
.contact-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 253, 248, 0.78);
  box-shadow: 0 18px 58px rgba(62, 45, 31, 0.10);
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(300px, 0.94fr) minmax(300px, 0.72fr);
  gap: clamp(24px, 5vw, 58px);
  padding: clamp(18px, 3vw, 30px);
  align-items: stretch;
}

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

.main-image-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  background: #efe3d2;
  border: 1px solid var(--line);
  min-height: 430px;
}

.main-image-wrap img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  aspect-ratio: 1.14;
  object-fit: cover;
  transition: opacity 180ms ease;
}

.image-counter {
  position: absolute;
  left: 16px;
  top: 16px;
  padding: 8px 11px;
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.86);
  color: var(--text);
  font-weight: 900;
  font-size: 0.82rem;
  backdrop-filter: blur(16px);
}

.gallery-arrow {
  position: absolute;
  top: 50%;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 253, 248, 0.88);
  color: var(--text);
  font-size: 2rem;
  line-height: 1;
  box-shadow: 0 10px 24px rgba(62, 45, 31, 0.12);
  transition: transform 180ms ease, background 180ms ease;
}

.gallery-arrow.prev { left: 14px; transform: translateY(-50%); }
.gallery-arrow.next { right: 14px; transform: translateY(-50%); }
.gallery-arrow.prev:hover { transform: translateY(calc(-50% - 2px)); }
.gallery-arrow.next:hover { transform: translateY(calc(-50% - 2px)); }

.thumbnail-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}

.thumb {
  overflow: hidden;
  padding: 0;
  border-radius: 16px;
  border: 2px solid transparent;
  background: var(--card);
  box-shadow: 0 10px 24px rgba(62, 45, 31, 0.08);
  transition: transform 180ms ease, border-color 180ms ease, opacity 180ms ease;
}

.thumb.active { border-color: var(--accent); }
.thumb img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.product-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(12px, 2vw, 24px);
}

.product-tag {
  margin-bottom: 12px;
  color: var(--accent-dark) !important;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.price {
  margin: 0 0 24px;
  color: var(--text) !important;
  font-family: var(--heading);
  font-size: clamp(2.2rem, 4vw, 3.3rem);
  font-weight: 700;
  line-height: 1;
}

.product-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 26px 0 30px;
}

.product-meta div {
  display: grid;
  gap: 5px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(247, 239, 227, 0.58);
}

.product-meta span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.product-meta strong {
  font-size: 0.92rem;
  line-height: 1.35;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(210px, auto);
  gap: 18px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  min-height: 260px;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--card);
  box-shadow: 0 16px 48px rgba(62, 45, 31, 0.08);
}

.gallery-item.tall { grid-row: span 2; }
.gallery-item.wide { grid-column: span 2; }

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-item figcaption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.88);
  color: var(--text);
  font-size: 0.8rem;
  font-weight: 900;
  backdrop-filter: blur(16px);
}

.about-card,
.contact-panel {
  padding: clamp(26px, 5vw, 58px);
}

.about-card {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: clamp(22px, 5vw, 68px);
  align-items: start;
}

.about-card p { font-size: clamp(1rem, 1.6vw, 1.25rem); }

.contact-panel {
  max-width: 940px;
  margin: 0 auto;
  text-align: center;
}

.contact-logo {
  width: 118px;
  height: 118px;
  margin: 0 auto 22px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--line);
  box-shadow: 0 14px 32px rgba(62, 45, 31, 0.10);
}

.contact-panel .contact-actions {
  justify-content: center;
  margin-top: 28px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 26px;
  padding: 38px clamp(18px, 4vw, 54px);
  border-top: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.72);
}

.footer-brand { margin-bottom: 12px; }

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
  color: var(--muted);
  font-weight: 800;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 80;
  transform: translate(-50%, 20px);
  opacity: 0;
  pointer-events: none;
  padding: 14px 18px;
  border-radius: 999px;
  background: var(--text);
  color: #fffaf2;
  box-shadow: 0 18px 40px rgba(62, 45, 31, 0.18);
  font-weight: 900;
  transition: opacity 220ms ease, transform 220ms ease;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 650ms ease, transform 650ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1060px) {
  .site-header { grid-template-columns: auto auto auto; }
  .site-nav { gap: 16px; }
  .hero,
  .product-detail,
  .about-card,
  .section-heading.split { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .main-image-wrap img,
  .main-image-wrap { min-height: 360px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .site-header { grid-template-columns: auto auto; }
  .menu-toggle { display: inline-block; justify-self: end; }
  .cart-button { display: none; }

  .site-nav {
    position: fixed;
    inset: 78px 16px auto 16px;
    display: grid;
    justify-items: start;
    gap: 0;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(255, 253, 248, 0.98);
    box-shadow: var(--shadow);
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease;
  }

  body.menu-open .site-nav {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .site-nav a {
    width: 100%;
    padding: 15px 12px;
    border-radius: 12px;
  }

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

  h1 { font-size: clamp(3.4rem, 18vw, 5.5rem); }
  h2 { font-size: clamp(2.4rem, 13vw, 3.8rem); }
  h3 { font-size: clamp(2.2rem, 12vw, 3.6rem); }

  .section-pad {
    padding-left: 16px;
    padding-right: 16px;
  }

  .thumbnail-row { gap: 7px; }
  .product-meta { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item.tall,
  .gallery-item.wide { grid-column: auto; grid-row: auto; }

  .floating-logo {
    left: 14px;
    bottom: -24px;
    width: 128px;
  }

  .site-footer { flex-direction: column; }
  .footer-links { justify-content: flex-start; }
}

@media (max-width: 460px) {
  .brand-text { font-size: 1.28rem; }
  .brand-logo { width: 44px; height: 44px; }
  .hero-actions,
  .contact-actions,
  .product-actions { display: grid; }
  .button { width: 100%; }
  .main-image-wrap img,
  .main-image-wrap { min-height: 300px; }
  .gallery-arrow { width: 38px; height: 38px; }
}
