:root {
  --bg: #ffffff;
  --white: #E8E2DC;
  --icons: #7a6767;
  --gold: #b68b2d;
  --text: #3d3232;
  --shadow: 0 15px 35px rgba(0,0,0,.08);
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Montserrat', sans-serif;
}

a {
  text-decoration: none;
  color: inherit;
}

.header {
  width: 100%;
  height: 100px;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow);
}

.logo{
    display:flex;
    align-items:center;
    justify-content:center;
    text-decoration:none;
}

.logo img{
    height:140px;
    width:auto;
    display:block;
    transition:.25s;
}

.logo img:hover{
    transform:scale(1.03);
}

.menu-btn,
.cart-btn,
.close-menu,
.close-cart {
  border: none;
  background: transparent;
  font-size: 24px;
  color: var(--icons);
  cursor: pointer;
  position: relative;
}

.cart-btn span {
  position: absolute;
  top: -10px;
  right: -12px;
  background: var(--gold);
  color: var(--white);
  font-size: 12px;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sidebar {
  position: fixed;
  top: 0;
  left: -310px;
  width: 300px;
  height: 100vh;
  background: var(--white);
  z-index: 2000;
  padding: 28px;
  transition: .3s;
  box-shadow: var(--shadow);
}

.sidebar.active {
  left: 0;
}

.sidebar h3 {
  margin: 35px 0 20px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  color: var(--gold);
}

.sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.sidebar nav a {
  color: var(--icons);
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.35);
  z-index: 1500;
  display: none;
}

.overlay.active {
  display: block;
}

.hero {
  min-height: 78vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 50px 20px;
  background:
    linear-gradient(rgba(255,255,255,.55), rgba(255,255,255,.85)),
    url("https://images.unsplash.com/photo-1483985988355-763728e1935b?q=80&w=1600") center/cover;
}

.hero-content {
  max-width: 760px;
  background: #fff;
  padding: 55px 45px;
  text-align: center;
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.hero-content span,
.section-title span {
  color: var(--gold);
  text-transform: uppercase;
  font-size: 15px;
  letter-spacing: 2px;
  font-weight: 600;
}

.hero-content h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 30px;
  color: var(--gold);
  margin: 16px 0;
  line-height: 1;
}

.hero-content p {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--gold);
  color: var(--white);
  padding: 14px 28px;
  border-radius: 30px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  transition: .3s;
}

.btn:hover {
  transform: translateY(-2px);
  opacity: .9;
}

.btn.full {
  width: 100%;
}

.section {
  padding: 75px 6%;
}

.category-section {
  display: none;
}

.category-section.active {
  display: block;
}

.section-title {
  text-align: center;
  margin-bottom: 42px;
}

.section-title h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 46px;
  color: var(--gold);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 300px));
  gap: 28px;
  justify-content: center;
}

.product-card {
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: .3s;
}

.product-card:hover {
  transform: translateY(-5px);
}

.product-image {
  width: 100%;
  height: 360px;
  background: #f7f3ef;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-info {
  padding: 22px;
  text-align: center;
}

.product-info h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 27px;
  color: var(--text);
  margin-bottom: 8px;
}

.price {
  color: var(--gold);
  font-size: 20px;
  font-weight: 700;
}

.installment {
  font-size: 13px;
  color: var(--icons);
  margin: 6px 0 14px;
}

.options {
  font-size: 13px;
  color: var(--icons);
  margin-bottom: 15px;
  line-height: 1.6;
}

.empty-message {
  text-align: center;
  color: var(--icons);
  grid-column: 1 / -1;
}

.cart-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 3000;
  display: none;
  justify-content: flex-end;
}

.cart-modal.active {
  display: flex;
}

.cart-content {
  width: 420px;
  max-width: 100%;
  height: 100vh;
  background: #fff;
  padding: 28px;
  overflow-y: auto;
  position: relative;
}

.cart-content h2 {
  font-family: 'Cormorant Garamond', serif;
  color: var(--gold);
  font-size: 36px;
  margin-bottom: 25px;
}

.close-cart {
  position: absolute;
  right: 24px;
  top: 24px;
}

.cart-item {
  border-bottom: 1px solid #eee;
  padding: 15px 0;
}

.cart-item h4 {
  color: var(--text);
  margin-bottom: 5px;
}

.cart-item p {
  font-size: 14px;
  color: var(--icons);
}

.remove-item {
  background: transparent;
  border: none;
  color: #b44;
  margin-top: 8px;
  cursor: pointer;
}

#checkoutForm {
  margin-top: 25px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

#checkoutForm input,
#checkoutForm textarea {
  width: 100%;
  padding: 14px;
  border: 1px solid #ddd;
  border-radius: 14px;
  font-family: inherit;
  outline: none;
}

#checkoutForm textarea {
  resize: none;
  min-height: 90px;
}

.footer {
  background: var(--white);
  padding: 30px 6%;
  text-align: center;
  color: var(--icons);
}

.footer div {
  margin-top: 14px;
}

.footer a {
  font-size: 23px;
  margin: 0 8px;
  color: var(--icons);
}
.site-toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%) translateY(120px);
  width: calc(100% - 32px);
  max-width: 390px;
  background: #fff;
  color: var(--text);
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 18px 45px rgba(0,0,0,.18);
  z-index: 9999;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  opacity: 0;
  pointer-events: none;
  transition: .35s ease;
}

.site-toast.active {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.site-toast-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #fff3df;
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.site-toast strong {
  display: block;
  color: var(--gold);
  margin-bottom: 4px;
}

.site-toast p {
  font-size: 14px;
  color: var(--icons);
  line-height: 1.4;
}

@media (max-width: 768px) {
  .logo img{
    height:140px;
  }
    
  .header {
    padding: 0 18px;
  }

  .logo {
    font-size: 27px;
  }

  .hero-content {
    padding: 38px 24px;
  }

  .hero-content h1 {
    font-size: 30px;
  }

  .section {
    padding: 55px 18px;
  }

  .section-title h2 {
    font-size: 38px;
  }

  .product-image {
    height: 390px;
  }
}

.cart-item-with-img {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 14px;
  align-items: flex-start;
}

.cart-item-with-img img {
  width: 80px;
  height: 100px;
  object-fit: cover;
  border-radius: 12px;
  background: #f7f3ef;
}

.cart-total-box {
  margin: 22px 0;
  padding: 16px;
  background: #f7f3ef;
  border-radius: 16px;
  display: flex;
  justify-content: space-between;
  color: var(--text);
  font-size: 18px;
}

.cart-total-box span {
  color: var(--gold);
  font-weight: 700;
}

.checkout-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 3500;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.checkout-modal.active {
  display: flex;
}

.checkout-content {
  width: 420px;
  max-width: 100%;
  background: #fff;
  padding: 28px;
  border-radius: 24px;
  position: relative;
  box-shadow: var(--shadow);
}

.checkout-content h2 {
  font-family: 'Cormorant Garamond', serif;
  color: var(--gold);
  font-size: 34px;
  margin-bottom: 22px;
}

@media (max-width: 480px) {
  .hero {
    min-height: 70vh;
  }

  .hero-content h1 {
    font-size: 30px;
  }

  .product-image {
    height: 360px;
  }

  .cart-content {
    width: 100%;
  }
}