@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,600&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --dark: #0d0d0d;
  --dark-2: #181818;
  --dark-3: #242424;
  --ivory: #f8f4ef;
  --ivory-2: #ede8e0;
  --gold: #c9a96e;
  --gold-light: #dfc99a;
  --gold-pale: #f0e8d6;
  --blush: #e8d5c4;
  --accent: #8b6f47;
  --accent-dark: #5c4a30;
  --white: #ffffff;
  --gray: #7a7a7a;
  --gray-light: #d4d0cb;
  --gray-pale: #f0eeeb;
  --success: #4caf6e;
  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-xs: 0 1px 4px rgba(0,0,0,0.06);
  --shadow-sm: 0 2px 12px rgba(0,0,0,0.08);
  --shadow-md: 0 8px 32px rgba(0,0,0,0.12);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.16);
  --shadow-xl: 0 40px 100px rgba(0,0,0,0.2);
  --radius-xs: 2px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --header-h: 80px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--ivory);
  color: var(--dark);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

input, textarea, select {
  font-family: inherit;
  border: none;
  outline: none;
}

header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: var(--dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  transition: box-shadow 0.3s var(--ease);
}

header.scrolled {
  box-shadow: 0 4px 40px rgba(0,0,0,0.35);
}

.logo {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.logo-main {
  font-family: var(--font-heading);
  font-size: 1.65rem;
  font-weight: 600;
  color: var(--ivory);
  letter-spacing: 0.06em;
  line-height: 1;
}

.logo-tag {
  font-family: var(--font-body);
  font-size: 0.52rem;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.35em;
  text-transform: uppercase;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 2.8rem;
}

.nav-link {
  font-size: 0.76rem;
  font-weight: 500;
  color: rgba(248,244,239,0.75);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  position: relative;
  transition: color 0.3s var(--ease);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s var(--ease);
}

.nav-link:hover,
.nav-link.active {
  color: var(--gold);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.cart-link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  color: var(--ivory);
  font-size: 1.05rem;
  transition: color 0.3s var(--ease);
}

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

.cart-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  background: var(--gold);
  color: var(--dark);
  font-size: 0.58rem;
  font-weight: 700;
  min-width: 17px;
  height: 17px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 2px;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  cursor: pointer;
  padding: 8px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--ivory);
  border-radius: 2px;
  transition: var(--transition);
  transform-origin: center;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease);
  backdrop-filter: blur(2px);
}

.mobile-overlay.visible {
  opacity: 1;
  pointer-events: all;
}

.mobile-nav {
  position: fixed;
  top: 0;
  right: -52%;
  width: 50%;
  height: 100vh;
  background: var(--dark-2);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: calc(var(--header-h) + 2rem) 0 3rem;
  transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  overflow-y: auto;
}

.mobile-nav.open {
  right: 0;
  box-shadow: -20px 0 60px rgba(0,0,0,0.4);
}

.mobile-nav-link {
  width: 100%;
  text-align: center;
  padding: 1.1rem 2rem;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--ivory);
  letter-spacing: 0.04em;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: var(--transition);
}

.mobile-nav-link:hover {
  color: var(--gold);
  background: rgba(201,169,110,0.06);
}

.mobile-nav-cart {
  margin-top: 2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

footer {
  background: var(--dark);
  padding: 5rem 5% 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1fr 1.6fr;
  gap: 3.5rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand .logo-main {
  font-size: 2rem;
  display: block;
  margin-bottom: 0.25rem;
}

.footer-brand p {
  font-size: 0.83rem;
  color: rgba(255,255,255,0.42);
  line-height: 1.75;
  margin-top: 1rem;
  max-width: 290px;
}

.footer-social {
  display: flex;
  gap: 0.7rem;
  margin-top: 1.8rem;
}

.social-btn {
  width: 35px;
  height: 35px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.55);
  font-size: 0.82rem;
  transition: var(--transition);
}

.social-btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--dark);
  transform: translateY(-2px);
}

.footer-col h5 {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.6rem;
}

.footer-col ul li {
  margin-bottom: 0.75rem;
}

.footer-col ul li a {
  font-size: 0.83rem;
  color: rgba(255,255,255,0.45);
  transition: var(--transition);
  display: inline-block;
}

.footer-col ul li a:hover {
  color: var(--gold);
  transform: translateX(4px);
}

.footer-news h5 {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.8rem;
}

.footer-news p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.42);
  line-height: 1.7;
  margin-bottom: 1.2rem;
}

.footer-form {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-form input {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-sm);
  padding: 0.72rem 1rem;
  color: var(--ivory);
  font-size: 0.8rem;
}

.footer-form input::placeholder {
  color: rgba(255,255,255,0.3);
}

.footer-form button {
  background: var(--gold);
  color: var(--dark);
  padding: 0.72rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: var(--transition);
}

.footer-form button:hover {
  background: var(--gold-light);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.8rem 0;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.footer-bottom p {
  font-size: 0.77rem;
  color: rgba(255,255,255,0.28);
}

.footer-links {
  display: flex;
  gap: 1.8rem;
}

.footer-links a {
  font-size: 0.77rem;
  color: rgba(255,255,255,0.28);
  transition: color 0.3s var(--ease);
}

.footer-links a:hover {
  color: var(--gold);
}

.section-eyebrow {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 0.7rem;
}

.section-heading {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  font-weight: 600;
  color: var(--dark);
  line-height: 1.08;
}

.section-heading.light {
  color: var(--ivory);
}

.section-desc {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.8;
  max-width: 500px;
  margin-top: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.88rem 2.2rem;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-radius: var(--radius-xs);
  transition: var(--transition);
  cursor: pointer;
  white-space: nowrap;
}

.btn-dark {
  background: var(--dark);
  color: var(--ivory);
  border: 1.5px solid var(--dark);
}

.btn-dark:hover {
  background: transparent;
  color: var(--dark);
}

.btn-gold {
  background: var(--gold);
  color: var(--dark);
  border: 1.5px solid var(--gold);
}

.btn-gold:hover {
  background: transparent;
  color: var(--gold);
}

.btn-outline-light {
  background: transparent;
  color: var(--ivory);
  border: 1.5px solid rgba(255,255,255,0.6);
}

.btn-outline-light:hover {
  background: var(--ivory);
  color: var(--dark);
  border-color: var(--ivory);
}

.btn-outline-dark {
  background: transparent;
  color: var(--dark);
  border: 1.5px solid var(--dark);
}

.btn-outline-dark:hover {
  background: var(--dark);
  color: var(--ivory);
}

.btn-sm {
  padding: 0.62rem 1.4rem;
  font-size: 0.68rem;
}

.btn-lg {
  padding: 1.05rem 2.8rem;
  font-size: 0.76rem;
}

.stars {
  color: var(--gold);
  font-size: 0.78rem;
  letter-spacing: 1px;
}

.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--dark-2);
  color: var(--ivory);
  padding: 1rem 1.4rem;
  border-radius: var(--radius-md);
  border-left: 3px solid var(--gold);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.84rem;
  font-weight: 500;
  z-index: 9999;
  box-shadow: var(--shadow-xl);
  transform: translateX(calc(100% + 2.5rem));
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  max-width: 320px;
  min-width: 260px;
}

.toast.visible {
  transform: translateX(0);
}

.toast i {
  color: var(--gold);
  font-size: 1rem;
  flex-shrink: 0;
}

::-webkit-scrollbar {
  width: 5px;
}

::-webkit-scrollbar-track {
  background: var(--ivory-2);
}

::-webkit-scrollbar-thumb {
  background: var(--gold);
  border-radius: 3px;
}

@media (max-width: 1200px) {
  .footer-top {
    grid-template-columns: 2fr 1fr 1fr;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
  .footer-news {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .nav-desktop {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
  .footer-news {
    grid-column: 1 / -1;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .mobile-nav {
    width: 75%;
    right: -77%;
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
}
