:root,
[data-theme="light"] {
  --bg-color: #ffffff;
  --hero-bg: #ececeb;
  --announcement-bg: #f6f5f3;
  --announcement-text: #b88242;
  --text-main: #181818;
  --text-muted: #525252;
  --border-color: rgba(24, 24, 24, 0.12);
}

[data-theme="dark"] {
  --bg-color: #0d0d0d;
  --hero-bg: #161616;
  --announcement-bg: #141414;
  --announcement-text: #d8a96e;
  --text-main: #f5f5f5;
  --text-muted: #a8a8a8;
  --border-color: rgba(245, 245, 245, 0.14);
}

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

body {
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-color);
  color: var(--text-main);
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  transition: background-color 0.3s ease, color 0.3s ease;
  -webkit-font-smoothing: antialiased;
}

.announcement-bar {
  background-color: var(--announcement-bg);
  color: var(--announcement-text);
  font-size: 0.78rem;
  padding: 0.55rem 2.5rem;
  text-align: center;
  position: relative;
  border-bottom: 1px solid var(--border-color);
  letter-spacing: 0.02em;
}

.close-announcement {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0.65;
  line-height: 1;
}

.close-announcement:hover {
  opacity: 1;
}

.site-header {
  width: 100%;
  background-color: var(--bg-color);
  border-bottom: 1px solid var(--border-color);
  position: relative;
  z-index: 30;
  transition: background-color 0.3s ease;
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0.85rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.brand-logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: var(--text-main);
}

.header-logo {
  height: 50px;
  width: auto;
  max-height: 50px;
  display: block;
}

.logo-blend {
  transition: filter 0.35s ease;
}

[data-theme="light"] .logo-blend {
  mix-blend-mode: multiply;
  filter: contrast(1.05);
}

[data-theme="dark"] .logo-blend {
  filter: invert(1) contrast(1.08);
  mix-blend-mode: screen;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.main-nav a {
  text-decoration: none;
  color: var(--text-main);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding-bottom: 0.35rem;
  position: relative;
  opacity: 0.78;
  transition: opacity 0.2s ease;
}

.main-nav a:hover,
.main-nav a.active {
  opacity: 1;
}

.main-nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1.5px;
  background-color: var(--text-main);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.icon-btn {
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-main);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.2s ease;
}

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

.mobile-only {
  display: none;
}

[data-theme="light"] .icon-sun { display: none; }
[data-theme="light"] .icon-moon { display: block; }
[data-theme="dark"] .icon-sun { display: block; }
[data-theme="dark"] .icon-moon { display: none; }

main {
  flex: 1;
  width: 100%;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 1px;
  background-color: var(--text-main);
}

.hero-slider {
  width: 100%;
  position: relative;
  background-color: var(--hero-bg);
  min-height: 540px;
  overflow: hidden;
  transition: background-color 0.3s ease;
}

.slide {
  display: none;
  width: 100%;
}

.slide.active {
  display: block;
}

.slide-inner {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 2rem 2rem 0 2rem;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 2.5rem;
}

.slide-text {
  max-width: 540px;
  padding-bottom: 3rem;
}

.slide-text h1 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 400;
  line-height: 1.08;
  margin-bottom: 1.15rem;
}

.slide-text p {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.15rem, 2vw, 1.38rem);
  line-height: 1.5;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.cta-link {
  display: inline-block;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.08rem;
  font-weight: 500;
  color: var(--text-main);
  text-decoration: none;
  padding-bottom: 0.3rem;
  border-bottom: 1.5px solid var(--text-main);
  transition: opacity 0.2s ease, letter-spacing 0.2s ease;
}

.cta-link:hover {
  opacity: 0.7;
  letter-spacing: 0.04em;
}

.slide-media {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  align-self: stretch;
}

.slide-media img {
  width: 100%;
  max-width: 440px;
  max-height: 520px;
  object-fit: cover;
  object-position: top center;
  display: block;
  mix-blend-mode: normal;
  filter: none;
}

.slider-dots {
  position: absolute;
  bottom: 1.5rem;
  left: max(2rem, calc((100vw - 1280px) / 2 + 2rem));
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 10;
}

.dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid transparent;
  background: transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.dot::after {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: var(--text-main);
  opacity: 0.45;
}

.dot.active {
  border-color: var(--text-main);
}

.dot.active::after {
  opacity: 1;
}

.products-page {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 3rem 2rem 4.5rem 2rem;
}

.page-header {
  max-width: 620px;
  margin-bottom: 2.75rem;
}

.page-header h1 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 400;
  margin-bottom: 0.75rem;
}

.page-header p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.filter-btn {
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  padding: 0.5rem 1.15rem;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-btn:hover,
.filter-btn.active {
  border-color: var(--text-main);
  color: var(--text-main);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 2rem;
}

.product-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border-color);
  background-color: var(--bg-color);
  transition: border-color 0.25s ease;
}

.product-card:hover {
  border-color: var(--text-main);
}

.product-img-wrap {
  position: relative;
  aspect-ratio: 3 / 4;
  background-color: var(--hero-bg);
  overflow: hidden;
}

.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.45s ease;
}

.product-card:hover .product-img-wrap img {
  transform: scale(1.03);
}

.product-badge {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  background-color: var(--bg-color);
  color: var(--text-main);
  border: 1px solid var(--border-color);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.65rem;
}

.product-info {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-cat {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.product-info h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.35rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
}

.product-price {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.15rem;
}

.order-link {
  margin-top: auto;
  display: inline-block;
  align-self: flex-start;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-main);
  text-decoration: none;
  padding-bottom: 0.25rem;
  border-bottom: 1px solid var(--text-main);
}

.order-link:hover {
  opacity: 0.7;
}

.contact-page {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 3.5rem 2rem 5rem 2rem;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 4rem;
  align-items: start;
}

.contact-info h1 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 400;
  margin-bottom: 1rem;
}

.contact-info > p {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.9rem;
  border-top: 1px solid var(--border-color);
  padding-top: 1.5rem;
}

.contact-details a {
  color: var(--text-main);
  text-decoration: none;
  border-bottom: 1px solid var(--border-color);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
  background-color: var(--hero-bg);
  padding: 2.25rem;
  border: 1px solid var(--border-color);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.form-group label {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  background-color: var(--bg-color);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--text-main);
}

.submit-btn {
  align-self: flex-start;
  background-color: var(--text-main);
  color: var(--bg-color);
  border: 1px solid var(--text-main);
  padding: 0.9rem 2.25rem;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.submit-btn:hover {
  opacity: 0.82;
}

.submit-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.form-status {
  font-size: 0.88rem;
  color: var(--text-main);
}

.site-footer {
  border-top: 1px solid var(--border-color);
  background-color: var(--bg-color);
  padding: 1.25rem 2rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-ig {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-main);
  text-decoration: none;
  font-weight: 500;
}

.footer-ig:hover {
  opacity: 0.75;
}

@media (max-width: 860px) {
  .nav-container {
    padding: 0.75rem 1.25rem;
  }

  .mobile-only {
    display: inline-flex;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--bg-color);
    border-bottom: 1px solid var(--border-color);
    flex-direction: column;
    align-items: flex-start;
    padding: 1.25rem 1.5rem;
    gap: 1rem;
  }

  .main-nav.open {
    display: flex;
  }

  .slide-inner {
    grid-template-columns: 1fr;
    padding: 2rem 1.25rem 3.5rem 1.25rem;
  }

  .slide-text {
    padding-bottom: 0.5rem;
  }

  .slide-media img {
    max-height: 400px;
  }

  .slider-dots {
    left: 1.25rem;
    bottom: 1.25rem;
  }

  .products-page,
  .contact-page {
    padding: 2rem 1.25rem 3.5rem 1.25rem;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }

  .contact-form {
    padding: 1.5rem;
  }

  .submit-btn {
    width: 100%;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}
