:root {
  --bg: #f5f1ea;
  --ink: #191817;
  --muted: #6f6a63;
  --card: #ffffff;
  --stroke: #e8dfd2;
  --accent: #b08b6e;
  --accent-strong: #8c6a50;
  --shadow: 0 18px 45px rgba(18, 16, 13, 0.14);
  --radius: 18px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Manrope", Arial, sans-serif;
  color: var(--ink);
  background: radial-gradient(1200px 600px at 10% -10%, #fff 0%, #f6f3ee 60%, #efe9df 100%);
}

body {
  min-height: 100vh;
}

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

.image-background {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  opacity: 0.12;
  filter: saturate(0.9) blur(0px);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 20px;
  background: rgba(20, 20, 20, 0.92);
  color: #f7f4ef;
  font-family: "Playfair Display", serif;
  letter-spacing: 0.8px;
  font-size: 14px;
}

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

.icon-btn {
  border: none;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  padding: 6px;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.icon-btn img {
  width: 22px;
  height: 22px;
}

.icon-btn:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

.site-header {
  width: min(1200px, 92vw);
  margin: 18px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--stroke);
  border-radius: 16px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 12px;
  z-index: 30;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

.brand img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: contain;
  background: transparent;
  padding: 0;
  border: none;
  box-shadow: 0 6px 14px rgba(18, 14, 10, 0.12);
  transform: none;
}

.brand-text strong {
  display: block;
  font-family: "Playfair Display", serif;
  font-size: 20px;
}

.brand-text small {
  color: var(--muted);
  font-size: 12px;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.site-nav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--stroke);
  transition: all 0.2s ease;
}

.site-nav a:hover,
.site-nav a.active {
  border-color: transparent;
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 24px rgba(30, 24, 18, 0.18);
}

main {
  width: min(1200px, 92vw);
  margin: 0 auto;
  padding-bottom: 80px;
}

.hero {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
  align-items: center;
  margin: 40px 0;
  background: rgba(255, 255, 255, 0.88);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
}

.hero h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(28px, 4vw, 48px);
  margin: 0 0 12px;
}

.hero p {
  color: var(--muted);
  font-size: 16px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin: 20px 0 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
}

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

.btn.ghost {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--stroke);
}

.btn.muted {
  background: #eee8df;
  color: #7a7267;
  cursor: not-allowed;
}

.btn.call {
  background: #1f1a16;
  color: #fff;
  box-shadow: 0 10px 22px rgba(27, 21, 16, 0.2);
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-badges span {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--stroke);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
}

.hero-media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.95);
}

.notice-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border-radius: 16px;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.9);
  margin: 20px 0 40px;
  box-shadow: var(--shadow);
}

.notice-card h2 {
  margin: 0 0 4px;
  font-family: "Playfair Display", serif;
}

.section {
  margin: 40px 0;
}

.section-head h2 {
  font-family: "Playfair Display", serif;
  margin-bottom: 6px;
}

.section-head p {
  margin: 0;
  color: var(--muted);
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.category-card {
  text-decoration: none;
  color: inherit;
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--stroke);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease;
}

.category-card:hover {
  transform: translateY(-4px);
}

.category-card img {
  height: 180px;
  object-fit: cover;
}

.card-content {
  padding: 14px;
}

.card-content h3 {
  margin: 0 0 6px;
  font-family: "Playfair Display", serif;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  margin-top: 24px;
}

.product-card {
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--stroke);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.product-link {
  display: block;
}

.product-link img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.product-card img {
  height: 320px;
  object-fit: cover;
  object-position: center;
}

.product-media {
  position: relative;
  width: 100%;
  height: 320px;
  overflow: hidden;
}

.carousel-track {
  width: 100%;
  height: 100%;
}

.carousel-item {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: none;
}

.carousel-item.is-active {
  display: block;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(20, 18, 16, 0.7);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.2s ease, transform 0.2s ease;
}

.carousel-btn.prev { left: 12px; }
.carousel-btn.next { right: 12px; }

.carousel-btn:hover {
  background: rgba(20, 18, 16, 0.9);
  transform: translateY(-50%) scale(1.05);
}

.detail-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 28px;
  align-items: start;
  margin: 30px 0 50px;
}

.detail-gallery {
  position: relative;
  width: 100%;
  height: 520px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #fff;
}

.detail-gallery .carousel-track {
  width: 100%;
  height: 100%;
}

.detail-gallery .carousel-item {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: center;
}

.detail-gallery .carousel-btn {
  width: 40px;
  height: 40px;
  font-size: 18px;
}

.detail-gallery.slider {
  height: 520px;
}

.detail-gallery.slider .carousel-track {
  display: flex;
  height: 100%;
}

.detail-gallery.slider .carousel-item {
  display: block;
  min-width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: center;
}

.detail-info {
  background: rgba(255, 255, 255, 0.9);
  border-radius: var(--radius);
  border: 1px solid var(--stroke);
  padding: 26px;
  box-shadow: var(--shadow);
  position: sticky;
  top: 90px;
  min-height: 520px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.detail-info h2 {
  margin-top: 0;
  font-family: "Playfair Display", serif;
}

.detail-list {
  margin: 12px 0 18px;
  padding-left: 18px;
  color: var(--muted);
}

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

.product-info {
  padding: 14px;
  display: grid;
  gap: 6px;
}

.product-info h3 {
  margin: 0;
  font-family: "Playfair Display", serif;
  font-size: 16px;
}

.price {
  margin: 0;
  font-weight: 700;
  color: var(--accent-strong);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin: 40px 0;
}

.info-card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: var(--radius);
  border: 1px solid var(--stroke);
  padding: 20px;
  box-shadow: var(--shadow);
}

.info-card h2 {
  font-family: "Playfair Display", serif;
  margin-top: 0;
}

.info-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.info-highlights span {
  padding: 6px 12px;
  border-radius: 999px;
  background: #f3ede4;
  border: 1px solid var(--stroke);
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
  display: grid;
  gap: 12px;
}

.contact-list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  align-items: start;
  padding: 12px 14px;
  border-radius: 14px;
  background: linear-gradient(135deg, #f4ece2, #efe4d7);
  border: 1px solid #e5d6c4;
}

.contact-icon {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: #1f1a16;
  box-shadow: 0 6px 14px rgba(26, 21, 16, 0.08);
}

.contact-icon svg {
  width: 16px;
  height: 16px;
  fill: #f7efe6;
}

.contact-list span {
  color: var(--ink);
  font-size: 14px;
}

.contact-list li:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(26, 21, 16, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.site-footer {
  text-align: center;
  padding: 20px 0 40px;
  color: var(--muted);
}

.floating-cta {
  position: fixed;
  right: 20px;
  bottom: 20px;
  background: var(--accent);
  color: #fff;
  padding: 12px 18px;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: var(--shadow);
  font-weight: 600;
}

.page-title {
  margin: 40px 0 20px;
  background: rgba(255, 255, 255, 0.88);
  border-radius: var(--radius);
  border: 1px solid var(--stroke);
  padding: 20px;
  box-shadow: var(--shadow);
}

.page-title h1 {
  margin: 0 0 6px;
  font-family: "Playfair Display", serif;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin: 30px 0;
}

.contact-card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: var(--radius);
  border: 1px solid var(--stroke);
  padding: 20px;
  box-shadow: var(--shadow);
}

.contact-card h2 {
  font-family: "Playfair Display", serif;
  margin-top: 0;
}

.contact-form label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--stroke);
  border-radius: 10px;
  margin-bottom: 12px;
  font-family: inherit;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 80px;
  transform: translateX(-50%);
  background: #111;
  color: #fff;
  padding: 10px 14px;
  border-radius: 999px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.toast.show {
  opacity: 1;
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 700px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero {
    padding: 24px;
  }

  .notice-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .category-grid,
  .product-grid,
  .info-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

  .detail-gallery {
    height: 360px;
  }

  .detail-gallery .carousel-item,
  .detail-gallery.slider .carousel-item {
    height: 360px;
  }
}
