/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--fg);
  overflow-x: hidden;
  min-height: 100vh;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: inherit; }
ul { list-style: none; }

/* ===== TOKENS ===== */
:root {
  --primary:      hsl(43,74%,49%);
  --primary-dk:   hsl(43,74%,38%);
  --bg:           hsl(42,20%,97%);
  --fg:           hsl(25,30%,15%);
  --secondary:    hsl(42,20%,94%);
  --muted:        hsl(25,15%,48%);
  --card:         #fff;
  --border:       hsl(42,15%,88%);
  --nav-h:        70px;
  --radius:       12px;
  --shadow:       0 4px 24px rgba(30,15,5,.10);
  --shadow-lg:    0 8px 40px rgba(30,15,5,.16);
  --trans:        .24s ease;
  --dark-luxury:  #1a1a1a;
}

.serif { font-family: 'Playfair Display', serif; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ===== NAVBAR - GLASS BLACK WITH WHITE TEXT ===== */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background var(--trans), box-shadow var(--trans), padding var(--trans);
  padding: 10px 0;
  background: rgba(27, 26, 27, 0.747);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 20px rgba(0,0,0,.2);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  height: var(--nav-h);
}
.nav-logo { 
  background: none; 
  border: none; 
  cursor: pointer; 
  padding: 0; 
  display: flex; 
  align-items: center; 
}

.nav-logo img { 
  height: 120px;   /* Increase logo size */
  width: auto; 
  object-fit: contain; 
  transition: 0.3s ease;
  filter: none;   /* Removes white/invert effect */
}

/* Navigation Links - White Color */
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links button, .nav-links .dropbtn {
  background: none; border: none; font-size: .8rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; transition: color var(--trans); padding: 0;
  color: #ffffff !important;
}
.nav-links button:hover { color: var(--primary); }

/* Custom Design Button Style - White Border & Text */
.highlight-btn {
  border: 1.5px solid #ffffff !important;
  padding: 8px 16px !important;
  border-radius: 4px;
  color: #ffffff !important;
  background: transparent !important;
}
.highlight-btn:hover {
  border-color: var(--primary) !important;
  color: var(--primary) !important;
}

.nav-actions { display: flex; align-items: center; gap: 8px; }
#cart-btn {
  position: relative; background: none; border: none;
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--trans);
}
#cart-btn:hover { background: rgba(255,255,255,.15); }
#cart-btn svg { width: 22px; height: 22px; stroke: #ffffff !important; }

#cart-badge {
  position: absolute; top: 3px; right: 3px;
  background: var(--primary); color: #fff;
  font-size: .62rem; font-weight: 700;
  width: 18px; height: 18px; border-radius: 50%;
  display: none; align-items: center; justify-content: center;
}
#cart-badge.show { display: flex; }

.hamburger { background: none; border: none; display: none; flex-direction: column; gap: 5px; padding: 4px; }
.hamburger span { display: block; width: 22px; height: 2px; background: #ffffff; transition: background var(--trans); }

/* ============= DROPDOWN NAVIGATION (DESKTOP) - Dark Theme ============= */
.dropdown { position: relative; display: inline-block; }
.dropdown-content {
  display: none;
  position: absolute;
  background-color: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  min-width: 220px;
  box-shadow: 0px 8px 16px rgba(0,0,0,0.3);
  z-index: 1000;
  top: 100%;
  left: 0;
  border-top: 2px solid var(--primary);
  border-radius: 8px;
}
.dropdown-content a {
  color: #e0e0e0;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  font-size: 13px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  transition: 0.2s;
}
.dropdown-content a:hover {
  background-color: rgba(255,255,255,0.1);
  color: var(--primary);
  padding-left: 20px;
}
.dropdown:hover .dropdown-content {
  display: block;
  animation: fadeIn 0.3s ease;
}

/* ============= MOBILE MENU - Dark Theme ============= */
#mobile-menu {
  display: none; position: fixed;
  top: var(--nav-h); left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  z-index: 99;
  padding: 20px; flex-direction: column; 
  overflow-y: auto;
}
#mobile-menu.open { display: flex; }

#mobile-menu button, #mobile-menu a {
  background: none; border: none;
  padding: 16px 10px; text-align: left; 
  font-size: 14px; font-weight: 600;
  color: #ffffff;
  width: 100%;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

#mobile-menu .mobile-divider {
  padding: 20px 10px 10px;
  font-size: 11px;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 800;
  border: none;
}

#mobile-menu .sub-link {
  padding-left: 30px;
  font-size: 13px;
  color: #ccc;
  text-transform: none;
}

#mobile-menu .highlight-btn {
  margin-top: 15px;
  text-align: center;
  border: 1px solid #ffffff !important;
  color: #ffffff !important;
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== VIEW SYSTEM ===== */
.view { display: block; }
.view.hidden { display: none; }

/* ===== HERO ===== */

#view-home #hero{
  position:relative;
  height:100vh;
  min-height:540px;
  overflow:hidden;
  background:transparent;
}

.hero-slide{
  position:absolute;
  inset:0;
  opacity:0;
  transition:opacity 1.4s ease-in-out;
}

.hero-slide.active{
  opacity:1;
}

.hero-slide img{
  width:100%;
  height:100%;
  object-fit:cover;
}

/* ===== DARK OVERLAY ===== */

.hero-overlay{
  position:absolute;
  inset:0;
  background:linear-gradient(
    to bottom,
    rgba(0,0,0,0.25) 0%,
    rgba(0,0,0,0.20) 30%,
    rgba(0,0,0,0.45) 70%,
    rgba(0,0,0,0.65) 100%
  );
}

/* ===== CONTENT ===== */

.hero-content{
  position:absolute;
  inset:0;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:24px;
  pointer-events:none;
}

.hero-content > *{
  pointer-events:auto;
}

/* ===== SMALL LABEL ===== */

.hero-label{
  color:var(--primary);
  font-size:.78rem;
  font-weight:500;
  letter-spacing:.22em;
  text-transform:uppercase;
  margin-bottom:16px;

  text-shadow:
    0 0 8px rgba(0,0,0,0.7),
    0 0 18px rgba(0,0,0,0.5);
}

/* ===== MAIN HEADING ===== */

.hero-title{
  font-family:'Playfair Display', serif;
  font-size:clamp(3rem, 8vw, 6rem);
  color:#fff;
  font-style:italic;
  line-height:1.1;
  margin-bottom:20px;
  position:relative;
  z-index:2;

  /* ===== FOG EFFECT ===== */
  text-shadow:
    0 0 10px rgba(0,0,0,0.8),
    0 0 20px rgba(0,0,0,0.7),
    0 0 40px rgba(0,0,0,0.6),
    0 0 70px rgba(0,0,0,0.5),
    0 0 100px rgba(0,0,0,0.45);
}

/* ===== SUB TEXT ===== */

.hero-sub{
  color:rgba(255,255,255,.95);
  font-size:clamp(1rem, 2vw, 1.2rem);
  font-weight:300;
  max-width:540px;
  margin-bottom:40px;
  line-height:1.7;

  /* ===== FOG EFFECT ===== */
  text-shadow:
    0 0 8px rgba(0,0,0,0.8),
    0 0 18px rgba(0,0,0,0.7),
    0 0 35px rgba(0,0,0,0.55),
    0 0 60px rgba(0,0,0,0.4);
}

/* ===== BUTTON ===== */

.hero-btn{
  background:var(--primary);
  color:#fff;
  border:none;
  padding:16px 40px;
  font-size:.82rem;
  font-weight:600;
  letter-spacing:.14em;
  text-transform:uppercase;
  border-radius:6px;
  transition:background var(--trans), transform var(--trans);
  box-shadow:0 4px 15px rgba(0,0,0,0.25);
}

.hero-btn:hover{
  background:var(--primary-dk);
  transform:translateY(-2px);
}

/* ===== DOTS ===== */

.hero-dots{
  position:absolute;
  bottom:32px;
  left:50%;
  transform:translateX(-50%);
  display:flex;
  gap:10px;
}

.hero-dot{
  width:8px;
  height:8px;
  border-radius:50%;
  background:rgba(255,255,255,.5);
  border:none;
  transition:background var(--trans), transform var(--trans);
}

.hero-dot.active{
  background:var(--primary);
  transform:scale(1.3);
}
/* ===== FEATURES ===== */
#features { padding: 80px 0; background: var(--bg); }
.features-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 48px; }
@media (max-width: 700px) { .features-grid { grid-template-columns: 1fr; gap: 32px; } }
.feature-item { text-align: center; }
.feature-icon {
  width: 64px; height: 64px; border-radius: 50%; background: var(--secondary);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px; color: var(--primary);
}
.feature-icon svg { width: 28px; height: 28px; }
.feature-item h3 { font-family: 'Playfair Display',serif; font-size: 1.2rem; font-weight: 700; margin-bottom: 10px; }
.feature-item p { color: var(--muted); line-height: 1.65; font-size: .95rem; }

/* ===== PRODUCTS SECTION ===== */
#products { padding: 96px 0; background: rgba(210,195,175,.12); }
.section-label {
  display: block; text-align: center; color: var(--primary);
  font-size: .75rem; font-weight: 500; letter-spacing: .22em;
  text-transform: uppercase; margin-bottom: 12px;
}
.section-title {
  font-family: 'Playfair Display',serif;
  font-size: clamp(2rem,4vw,2.8rem); font-weight: 700;
  text-align: center; margin-bottom: 12px;
}
.section-sub {
  text-align: center; color: var(--muted); font-size: 1rem;
  max-width: 540px; margin: 0 auto 56px; line-height: 1.65;
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}

/* ===== PRODUCT CARD ===== */
.pcard {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  transition: box-shadow var(--trans), transform var(--trans);
}
.pcard:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.pcard-img {
  position: relative; aspect-ratio: 1; overflow: hidden; background: var(--secondary);
}
.pcard-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s ease;
}
.pcard:hover .pcard-img img { transform: scale(1.1); }
.pcard-badge {
  position: absolute; top: 14px; left: 14px;
  background: rgba(253,250,244,.92); backdrop-filter: blur(4px);
  font-size: .7rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 20px;
}
.pcard-qa {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: rgba(187,145,34,.96); color: #fff; border: none;
  padding: 14px; font-size: .82rem; font-weight: 600;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  transform: translateY(100%); transition: transform .3s ease;
}
.pcard:hover .pcard-qa { transform: translateY(0); }
.pcard-body { padding: 22px; }
.pcard-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 8px; }
.pcard-name { font-family: 'Playfair Display',serif; font-size: 1.1rem; font-weight: 700; line-height: 1.3; }
.pcard-price { font-weight: 700; color: var(--primary); white-space: nowrap; margin-left: 8px; font-size: 1rem; }
.pcard-desc {
  color: var(--muted); font-size: .88rem; line-height: 1.55; margin-bottom: 18px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.pcard-btns { display: flex; gap: 8px; }
.btn-outline {
  flex: 1; border: 1.5px solid var(--primary); color: var(--primary); background: none;
  padding: 9px; border-radius: 8px; font-size: .82rem; font-weight: 600;
  transition: background var(--trans), color var(--trans);
}
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-ghost {
  flex: 1; background: none; border: 1.5px solid var(--border); color: var(--fg);
  padding: 9px; border-radius: 8px; font-size: .82rem; font-weight: 500;
  transition: border-color var(--trans), background var(--trans);
}
.btn-ghost:hover { border-color: var(--fg); background: var(--secondary); }

/* ===== ABOUT ===== */
#about { padding: 96px 0; background: var(--fg); color: rgba(255,255,255,.88); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; gap: 48px; } }
.about-text .section-label { text-align: left; }
.about-title { font-family: 'Playfair Display',serif; font-size: clamp(1.8rem,3vw,2.4rem); font-weight: 700; color: #fff; margin-bottom: 20px; }
.about-desc { color: rgba(255,255,255,.64); line-height: 1.75; font-size: .98rem; margin-bottom: 16px; }
.about-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 36px; }
.stat-num { font-family: 'Playfair Display',serif; font-size: 2rem; font-weight: 700; color: var(--primary); display: block; }
.stat-label { font-size: .8rem; color: rgba(255,255,255,.5); margin-top: 4px; }
.about-img { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; }
.about-img img { width: 100%; height: 100%; object-fit: cover; }

/* ===== CONTACT ===== */
#contact { padding: 96px 0; background: var(--bg); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 40px; } }
.contact-info .section-label { text-align: left; }
.contact-info h2 { font-family: 'Playfair Display',serif; font-size: 2rem; font-weight: 700; margin-bottom: 12px; }
.contact-detail { display: flex; align-items: center; gap: 14px; color: var(--muted); font-size: .95rem; margin-top: 20px; }
.contact-detail svg { width: 20px; height: 20px; stroke: var(--primary); flex-shrink: 0; }
.contact-detail a { color: var(--muted); transition: color var(--trans); }
.contact-detail a:hover { color: var(--primary); }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
input, textarea, select {
  width: 100%; padding: 12px 16px;
  border: 1.5px solid var(--border); border-radius: 8px;
  background: var(--card); color: var(--fg);
  font-family: 'Inter',sans-serif; font-size: .93rem;
  transition: border-color var(--trans), box-shadow var(--trans); outline: none;
}
input:focus, textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(187,145,34,.12); }
textarea { resize: vertical; min-height: 110px; }
.btn-primary {
  background: var(--primary); color: #fff; border: none; border-radius: 8px;
  padding: 14px 32px; font-size: .85rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; transition: background var(--trans), transform var(--trans); width: 100%;
}
.btn-primary:hover { background: var(--primary-dk); transform: translateY(-1px); }

/* ===== FOOTER ===== */
footer { 
  background: var(--fg); 
  color: rgba(255,255,255,.7); 
  padding: 80px 0 36px; 
}

.footer-grid { 
  display: grid; 
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr; 
  gap: 48px; 
  margin-bottom: 60px; 
}

@media (max-width: 900px) { 
  .footer-grid { 
    grid-template-columns: 1fr 1fr; 
    gap: 36px; 
  } 
}

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

/* ===== FOOTER BRAND ===== */
.footer-brand {
  text-align: left;
}

.footer-brand img {
  height: 56px; 
  width: auto; 
  object-fit: contain;
  filter: brightness(10) contrast(.7); 
  margin-bottom: 16px;
}

.footer-brand p { 
  font-size: .88rem; 
  line-height: 1.7; 
  max-width: 280px;
}

/* ===== ONLY SOCIAL ICONS CENTER ===== */
/* ===== SOCIAL ICONS CENTER ===== */
.footer-socials{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:16px;
  width:100%;
  position:relative;
  left:410px; /* move icons to center area */
  margin-top:24px;
}
/* ===== SOCIAL BUTTON ===== */
.social-btn {
  width: 44px; 
  height: 44px; 
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  text-decoration: none;
  cursor: pointer;
  flex-shrink: 0;
}

.social-btn svg { 
  width: 22px; 
  height: 22px; 
  stroke: white;
  stroke-width: 2;
  fill: none;
}

/* Instagram */
.social-btn:nth-child(1) {
  background: radial-gradient(circle at 30% 110%, 
  #fdf497 0%, 
  #fdf497 5%, 
  #fd5949 45%, 
  #d6249f 60%, 
  #285AEB 90%);
}

/* Facebook */
.social-btn:nth-child(2) {
  background: #1877f2;
}

/* YouTube */
.social-btn:nth-child(3) {
  background: #ff0000;
}

/* Hover */
.social-btn:hover {
  transform: translateY(-3px);
  filter: brightness(1.05);
}

/* ===== OTHER FOOTER COLUMNS ===== */
.footer-col h3 { 
  font-family: 'Playfair Display', serif; 
  font-size: 1.05rem; 
  font-weight: 700; 
  color: #fff; 
  margin-bottom: 20px; 
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col li {
  margin: 0;
  padding: 0;
}

.footer-col li + li { 
  margin-top: 12px; 
}

.footer-col a, 
.footer-col button {
  background: none; 
  border: none; 
  padding: 0; 
  text-align: left;
  color: rgba(255,255,255,.58); 
  font-size: .88rem; 
  font-family: 'Inter', sans-serif;
  transition: color var(--trans);
  cursor: pointer;
}

.footer-col a:hover, 
.footer-col button:hover { 
  color: var(--primary); 
}

.footer-contact-row { 
  display: flex; 
  align-items: flex-start; 
  gap: 12px; 
  font-size: .88rem; 
  margin-bottom: 14px; 
}

.footer-contact-row svg { 
  width: 17px; 
  height: 17px; 
  stroke: var(--primary); 
  flex-shrink: 0; 
  margin-top: 2px; 
}

.footer-contact-row span,
.footer-contact-row a { 
  color: rgba(255,255,255,.58); 
  transition: color var(--trans);
  text-decoration: none;
}

.footer-contact-row a:hover { 
  color: var(--primary); 
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12); 
  padding-top: 28px;
  display: flex; 
  justify-content: space-between; 
  align-items: center;
  flex-wrap: wrap; 
  gap: 12px; 
  font-size: .82rem; 
  color: rgba(255,255,255,.36);
}

.footer-bottom a { 
  color: rgba(255,255,255,.36); 
  transition: color var(--trans);
  text-decoration: none;
}

.footer-bottom a:hover { 
  color: var(--primary); 
}

.footer-bottom-links { 
  display: flex; 
  gap: 24px; 
}

/* ===== MOBILE ONLY FIXES - DESKTOP STYLES COMPLETELY UNCHANGED ===== */
/* These styles ONLY apply on screens smaller than 768px */
@media (max-width: 768px) {
  
  /* Fix social icons - remove left position that causes overflow */
  .footer-socials {
    left: 0;
    justify-content: flex-start;
    margin-top: 20px;
    margin-bottom: 15px;
  }
  
  /* Smaller social buttons on mobile */
  .social-btn {
    width: 40px;
    height: 40px;
  }
  
  .social-btn svg {
    width: 20px;
    height: 20px;
  }
  
  /* Keep brand content left aligned on mobile */
  .footer-brand {
    text-align: left;
    display: block;
    width: 100%;
    margin-bottom: 20px;
  }
  
  .footer-brand p {
    margin: 0;
    text-align: left;
  }
  
  /* Make footer columns stack vertically but keep left alignment */
  .footer-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
  }
  
  /* Each footer column takes full width and keeps left alignment */
  .footer-col {
    width: 100%;
    text-align: left;
  }
  
  .footer-col h3 {
    text-align: left;
  }
  
  .footer-col a, 
  .footer-col button {
    text-align: left;
    display: inline-block;
    width: auto;
  }
  
  .footer-col ul {
    text-align: left;
  }
  
  .footer-col li {
    text-align: left;
  }
  
  /* Keep contact rows left aligned on mobile */
  .footer-contact-row {
    justify-content: flex-start;
    text-align: left;
  }
  
  .footer-contact-row span {
    text-align: left;
  }
  
  /* Stack footer bottom links but keep left alignment */
  .footer-bottom {
    flex-direction: column;
    text-align: left;
    align-items: flex-start;
    gap: 15px;
  }
  
  .footer-bottom-links {
    justify-content: flex-start;
    gap: 20px;
  }
}

/* Extra small devices (phones under 480px) */
@media (max-width: 480px) {
  .footer-socials {
    gap: 12px;
  }
  
  .social-btn {
    width: 38px;
    height: 38px;
  }
  
  .social-btn svg {
    width: 18px;
    height: 18px;
  }
  
  .footer-contact-row {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    gap: 12px;
    flex-wrap: wrap;
  }
  
  .footer-contact-row svg {
    margin: 0;
    flex-shrink: 0;
  }
  
  .footer-contact-row span {
    text-align: left;
    flex: 1;
  }
}
/* ===== CART DRAWER ===== */
#cart-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 200;
  opacity: 0; pointer-events: none; transition: opacity var(--trans);
}
#cart-overlay.open { opacity: 1; pointer-events: auto; }
#cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: 420px; max-width: 100vw;
  background: var(--bg); z-index: 201;
  transform: translateX(110%); transition: transform .3s ease;
  display: flex; flex-direction: column;
  box-shadow: -4px 0 40px rgba(30,15,5,.18);
}
#cart-drawer.open { transform: translateX(0); }
.cart-hdr {
  display: flex; justify-content: space-between; align-items: center;
  padding: 24px; border-bottom: 1px solid var(--border); flex-shrink: 0;
}
.cart-hdr h2 { font-family: 'Playfair Display',serif; font-size: 1.4rem; font-weight: 700; }
.cart-close {
  background: none; border: none; font-size: 1.4rem; color: var(--muted); line-height: 1;
  width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
  border-radius: 50%; transition: background var(--trans);
}
.cart-close:hover { background: var(--secondary); color: var(--fg); }
.cart-items { flex: 1; overflow-y: auto; padding: 0 24px; }
.cart-empty { text-align: center; padding: 60px 20px; color: var(--muted); }
.cart-empty svg { width: 48px; height: 48px; stroke: var(--border); margin: 0 auto 16px; display: block; }
.cart-item { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--border); }
.cart-item:last-child { border-bottom: none; }
.cart-item-img { width: 72px; height: 72px; border-radius: 8px; object-fit: cover; flex-shrink: 0; background: var(--secondary); }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name { font-weight: 600; font-size: .92rem; margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cart-item-price { color: var(--primary); font-size: .88rem; font-weight: 700; }
.cart-item-controls { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.qty-btn {
  width: 28px; height: 28px; border-radius: 6px; border: 1.5px solid var(--border);
  background: none; font-size: 1rem; display: flex; align-items: center; justify-content: center;
  transition: border-color var(--trans), color var(--trans);
}
.qty-btn:hover { border-color: var(--primary); color: var(--primary); }
.qty-num { font-size: .9rem; font-weight: 700; min-width: 20px; text-align: center; }
.remove-btn { background: none; border: none; color: var(--muted); font-size: .78rem; margin-left: auto; transition: color var(--trans); }
.remove-btn:hover { color: #c0392b; }
.cart-ftr { padding: 20px 24px; border-top: 1px solid var(--border); flex-shrink: 0; }
.cart-total-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.cart-total-row strong { font-family: 'Playfair Display',serif; font-size: 1.2rem; }
.cart-total-price { font-size: 1.3rem; font-weight: 700; color: var(--primary); }
.btn-checkout {
  width: 100%; background: var(--primary); color: #fff; border: none; border-radius: 8px;
  padding: 16px; font-size: .9rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; transition: background var(--trans);
}
.btn-checkout:hover { background: var(--primary-dk); }

/* ===== CHECKOUT MODAL ===== */
#co-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.6); z-index: 300;
  display: flex; align-items: center; justify-content: center; padding: 24px;
  opacity: 0; pointer-events: none; transition: opacity var(--trans);
}
#co-overlay.open { opacity: 1; pointer-events: auto; }
#co-modal {
  background: var(--bg); border-radius: 16px;
  width: 100%; max-width: 520px; max-height: 90vh; overflow-y: auto;
  box-shadow: var(--shadow-lg);
  transform: scale(.95); opacity: 0; transition: transform .25s ease, opacity .25s ease;
}
#co-overlay.open #co-modal { transform: scale(1); opacity: 1; }
.co-hdr { display: flex; justify-content: space-between; align-items: center; padding: 24px 28px; border-bottom: 1px solid var(--border); }
.co-hdr h2 { font-family: 'Playfair Display',serif; font-size: 1.4rem; font-weight: 700; }
.co-close { background: none; border: none; font-size: 1.4rem; color: var(--muted); line-height: 1; }
.co-body { padding: 28px; }
.co-body label { display: block; font-size: .82rem; font-weight: 600; margin-bottom: 6px; }
.co-body input { margin-bottom: 16px; }
.co-summary { background: var(--secondary); border-radius: 10px; padding: 16px; margin-bottom: 20px; }
.co-row { display: flex; justify-content: space-between; font-size: .9rem; margin-bottom: 6px; }
.co-row:last-child { margin: 0; font-weight: 700; padding-top: 8px; border-top: 1px solid var(--border); }
.btn-pay {
  width: 100%; background: var(--primary); color: #fff; border: none; border-radius: 8px;
  padding: 16px; font-size: .92rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; transition: background var(--trans);
}
.btn-pay:hover:not(:disabled) { background: var(--primary-dk); }
.btn-pay:disabled { opacity: .6; cursor: not-allowed; }

/* ===== PRODUCT DETAIL ===== */
#view-product {
  padding-top: calc(var(--nav-h) + 32px);
  padding-bottom: 80px;
  min-height: 100vh;
}
.back-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: none; border: none; color: var(--muted); font-size: .85rem;
  margin-bottom: 36px; transition: color var(--trans);
}
.back-btn:hover { color: var(--primary); }
.back-btn svg { width: 16px; height: 16px; }
.pd-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
@media (max-width: 820px) { .pd-grid { grid-template-columns: 1fr; gap: 32px; } }
.pd-main-img { aspect-ratio: 1; width: 100%; object-fit: cover; border-radius: var(--radius); background: var(--secondary); }
.pd-thumbs { display: flex; gap: 10px; margin-top: 12px; }
.pd-thumb {
  width: 72px; height: 72px; border-radius: 8px; overflow: hidden;
  border: 2.5px solid transparent; cursor: pointer; transition: border-color var(--trans);
}
.pd-thumb.active { border-color: var(--primary); }
.pd-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pd-badge {
  display: inline-block; background: var(--secondary); font-size: .72rem; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase; padding: 5px 14px; border-radius: 20px; margin-bottom: 12px;
}
.pd-name { font-family: 'Playfair Display',serif; font-size: clamp(1.8rem,3vw,2.4rem); font-weight: 700; line-height: 1.2; margin-bottom: 12px; }
.pd-price { font-size: 1.8rem; font-weight: 700; color: var(--primary); margin-bottom: 20px; }
.pd-desc { color: var(--muted); line-height: 1.75; margin-bottom: 28px; }
.pd-qty-row { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.pd-qty-row span { font-size: .85rem; font-weight: 600; }
.pd-qty-btn {
  width: 36px; height: 36px; border-radius: 8px; border: 1.5px solid var(--border);
  background: none; font-size: 1.2rem; display: flex; align-items: center; justify-content: center;
  transition: border-color var(--trans);
}
.pd-qty-btn:hover { border-color: var(--primary); color: var(--primary); }
.pd-qty-num { font-size: 1.1rem; font-weight: 700; min-width: 28px; text-align: center; }
.pd-actions { display: flex; gap: 12px; margin-bottom: 24px; }
.btn-add {
  flex: 1; background: none; border: 1.5px solid var(--primary); color: var(--primary);
  border-radius: 8px; padding: 14px; font-size: .88rem; font-weight: 700;
  transition: background var(--trans), color var(--trans);
}
.btn-add:hover { background: var(--primary); color: #fff; }
.btn-buy {
  flex: 1; background: var(--primary); color: #fff; border: none; border-radius: 8px;
  padding: 14px; font-size: .88rem; font-weight: 700; transition: background var(--trans);
}
.btn-buy:hover { background: var(--primary-dk); }
.pd-rating { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: .88rem; }
.stars { color: var(--primary); }

/* ===== POLICY PAGES ===== */
#view-shipping, #view-returns {
  padding-top: calc(var(--nav-h) + 48px);
  padding-bottom: 80px;
  min-height: 100vh;
}
.pol-max { max-width: 860px; margin: 0 auto; padding: 0 24px; }
.pol-hdr { text-align: center; margin-bottom: 52px; }
.pol-hdr p { color: var(--muted); max-width: 560px; margin: 12px auto 20px; line-height: 1.65; }
.pol-divider { width: 64px; height: 3px; background: var(--primary); margin: 0 auto; border-radius: 2px; }
.pol-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px,1fr)); gap: 16px; margin-bottom: 48px; }
.pol-card { background: var(--secondary); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; text-align: center; }
.pol-card-icon { font-size: 1.6rem; margin-bottom: 12px; }
.pol-card h3 { font-family: 'Playfair Display',serif; font-weight: 700; margin-bottom: 6px; }
.pol-card p { font-size: .83rem; color: var(--muted); line-height: 1.5; }
.pol-sec { margin-bottom: 32px; }
.pol-sec h2 { font-family: 'Playfair Display',serif; font-size: 1.45rem; font-weight: 700; margin-bottom: 14px; }
.pol-box {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px; color: var(--muted); line-height: 1.75; font-size: .93rem;
}
.pol-box p + p { margin-top: 12px; }
.pol-box strong { color: var(--fg); }
.pol-box ul { padding-left: 20px; list-style: disc; }
.pol-box li + li { margin-top: 8px; }
.pol-box ol { padding-left: 0; list-style: none; }
.pol-box ol li { display: flex; gap: 14px; margin-bottom: 18px; align-items: flex-start; }
.step-num {
  flex-shrink: 0; width: 30px; height: 30px; background: var(--primary); color: #fff;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: .8rem; font-weight: 700;
}
.pol-table table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.pol-table thead tr { background: rgba(187,145,34,.1); }
.pol-table th { text-align: left; padding: 14px 20px; font-weight: 600; color: var(--fg); }
.pol-table td { padding: 12px 20px; border-top: 1px solid var(--border); color: var(--muted); }
.pol-cta {
  background: rgba(187,145,34,.05); border: 1px solid rgba(187,145,34,.2);
  border-radius: var(--radius); padding: 24px; text-align: center; color: var(--muted); margin-top: 36px;
}
.pol-cta strong { display: block; color: var(--fg); font-size: 1rem; margin-bottom: 8px; }
.pol-cta a { color: var(--primary); font-weight: 600; }
.pol-cta a:hover { text-decoration: underline; }
.pol-cta small { display: block; margin-top: 10px; font-size: .78rem; }

/* ===== SUCCESS ===== */
#view-success {
  min-height: 100vh; display: flex; align-items: center;
  justify-content: center; padding: 80px 24px; text-align: center;
}
.success-icon {
  width: 80px; height: 80px; border-radius: 50%; background: rgba(187,145,34,.1);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px; color: var(--primary);
}
.success-icon svg { width: 40px; height: 40px; }
#view-success h1 { font-family: 'Playfair Display',serif; font-size: 2.4rem; margin-bottom: 12px; }
#view-success p { color: var(--muted); margin-bottom: 32px; line-height: 1.65; max-width: 480px; }
.btn-continue {
  background: var(--primary); color: #fff; border: none; border-radius: 8px;
  padding: 14px 36px; font-size: .9rem; font-weight: 700; transition: background var(--trans);
}
.btn-continue:hover { background: var(--primary-dk); }

/* ===== TOAST ===== */
#toasts {
  position: fixed; bottom: 24px; right: 24px; z-index: 9999;
  display: flex; flex-direction: column; gap: 10px; pointer-events: none;
}
.toast {
  background: var(--fg); color: #fff; border-radius: 10px;
  padding: 14px 20px; min-width: 240px; max-width: 320px;
  box-shadow: var(--shadow-lg); pointer-events: auto;
  animation: toastIn .3s ease forwards;
}
.toast.out { animation: toastOut .3s ease forwards; }
.toast-title { font-weight: 600; font-size: .9rem; margin-bottom: 3px; }
.toast-desc { font-size: .8rem; color: rgba(255,255,255,.68); }
.toast-bar { height: 3px; background: var(--primary); margin-top: 10px; border-radius: 2px; animation: toastBar 3s linear forwards; }
@keyframes toastIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes toastOut { to { opacity: 0; transform: translateY(12px); } }
@keyframes toastBar { from { width: 100%; } to { width: 0; } }

/* ===== UTIL ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--muted); }
.back-arrow {
  position: fixed;
  top: 90px;
  left: 20px;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: #111;
  color: white;
  border: 1px solid #BB9122;
  cursor: pointer;
}
/* ===== LUXURY HOME BUTTON ===== */

.home-btn {
  position: fixed;
  top: 25px;
  right: 25px;
  padding: 10px 22px;
  border-radius: 30px;
  background: rgba(0,0,0,0.85);
  color: #BB9122;
  border: 1px solid #BB9122;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  z-index: 1000;
}

.home-btn:hover {
  background: #BB9122;
  color: #fff;
  box-shadow: 0 6px 20px rgba(187,145,34,0.4);
}

/* ===== PAGE STYLE ===== */

.page {
  padding: 120px 20px 60px;
  text-align: center;
}

.page h1 {
  font-size: 42px;
  margin-bottom: 15px;
  font-family: 'Playfair Display', serif;
}

.page p {
  color: #666;
  margin-bottom: 30px;
}

.page img {
  width: 300px;
  max-width: 100%;
  border-radius: 12px;
}

/* Mobile */
@media (max-width: 768px) {
  .home-btn {
    top: 15px;
    right: 15px;
    padding: 8px 16px;
    font-size: 12px;
  }
}
/* FIX VIEW SYSTEM */
.hidden {
  display: none;
}
/* ===== LUXURY EXCHANGE BUTTON ===== */
.btn-exchange {
  border: 1.5px solid var(--primary);
  color: var(--primary);
  background: transparent;
  padding: 8px 18px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

/* OPTIONAL: subtle glow */
footer {
  text-transform: none !important;
}
.footer-brand img {
  width: 180px;
  height: auto;
}
 /* Get Quote Button Styling - Desktop */
    .nav-get-quote {
      background: linear-gradient(135deg, #bfa37e, #a8885e);
      border: none;
      padding: 8px 20px;
      border-radius: 40px;
      font-weight: 600;
      font-size: 13px;
      letter-spacing: 0.5px;
      color: #fff;
      cursor: pointer;
      transition: all 0.3s ease;
      margin-left: 12px;
      box-shadow: 0 2px 8px rgba(0,0,0,0.1);
      position: relative;
    }
    .nav-get-quote:hover {
      transform: translateY(-2px);
      box-shadow: 0 6px 16px rgba(191,163,126,0.3);
      background: linear-gradient(135deg, #d4b896, #bfa37e);
    }
    
    /* Desktop Get Quote Dropdown */
    .quote-dropdown {
      position: relative;
      display: inline-block;
    }
    .quote-dropdown-content {
      display: none;
      position: absolute;
      right: 0;
      top: 45px;
      background-color: #fff;
      min-width: 220px;
      box-shadow: 0 8px 24px rgba(0,0,0,0.15);
      border-radius: 12px;
      z-index: 1000;
      overflow: hidden;
      animation: fadeInUp 0.2s ease;
    }
    .quote-dropdown-content a {
      color: #1a1a1a;
      padding: 14px 20px;
      text-decoration: none;
      display: flex;
      align-items: center;
      gap: 12px;
      font-size: 14px;
      font-weight: 500;
      font-family: 'Inter', sans-serif;
      transition: all 0.2s ease;
      border-bottom: 1px solid #f0f0f0;
    }
    .quote-dropdown-content a:last-child {
      border-bottom: none;
    }
    .quote-dropdown-content a:hover {
      background-color: #f9f5f0;
      color: #bfa37e;
    }
    .quote-dropdown-content a svg {
      width: 18px;
      height: 18px;
      stroke: #bfa37e;
    }
    .quote-dropdown.show .quote-dropdown-content {
      display: block;
    }
    
    /* Mobile Get Quote Button - Updated to be dropdown trigger */
    .mobile-get-quote {
      background: linear-gradient(135deg, #bfa37e, #a8885e);
      border: none;
      padding: 12px 20px;
      border-radius: 40px;
      font-weight: 600;
      font-size: 16px;
      letter-spacing: 0.5px;
      color: #fff;
      cursor: pointer;
      transition: all 0.3s ease;
      margin: 10px 0;
      width: 100%;
      text-align: center;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
    .mobile-get-quote:hover {
      background: linear-gradient(135deg, #d4b896, #bfa37e);
      transform: translateY(-1px);
    }
    .mobile-get-quote svg {
      transition: transform 0.3s ease;
    }
    .mobile-get-quote.active svg {
      transform: rotate(180deg);
    }
    .mobile-quote-dropdown {
      display: none;
      background: #ffffff;
      flex-direction: column;
      border-radius: 12px;
      margin-top: 5px;
      overflow: hidden;
      box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    }
    .mobile-quote-dropdown.active {
      display: flex;
    }
    .mobile-quote-dropdown a {
      color: #1a1a1a !important;
      padding: 14px 20px;
      text-decoration: none;
      display: flex;
      align-items: center;
      gap: 12px;
      font-size: 14px;
      font-weight: 500;
      border-bottom: 1px solid #f0f0f0;
      background: #fff;
    }
    .mobile-quote-dropdown a:last-child {
      border-bottom: none;
    }
    .mobile-quote-dropdown a svg {
      width: 18px;
      height: 18px;
      stroke: #bfa37e;
    }
    .mobile-quote-dropdown a:hover {
      background-color: #f9f5f0;
    }
/* CART DRAWER FIX */
#cart-drawer{
    display: flex;
    flex-direction: column;
    height: 100vh;
}

/* SCROLLABLE CART ITEMS */
.cart-items{
    flex: 1;
    overflow-y: auto;
    padding-bottom: 20px;
}

/* FIX CHECKOUT SECTION */
.cart-ftr{
    position: sticky;
    bottom: 0;
    background: #fff;
    padding: 20px;
    border-top: 1px solid #eee;
    z-index: 10;
}
/* Mobile Dropdown Styles */
.mobile-get-quote {
    background: linear-gradient(135deg, #bfa37e, #a8885e);
    border: none;
    padding: 12px 20px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 16px;
    color: #fff;
    cursor: pointer;
    margin: 10px 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-get-quote svg {
    transition: transform 0.3s ease;
}

.mobile-get-quote.active svg {
    transform: rotate(180deg);
}

.mobile-quote-dropdown {
    display: none;
    background: #ffffff;
    flex-direction: column;
    border-radius: 12px;
    margin-top: 5px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.mobile-quote-dropdown.active {
    display: flex;
}

.mobile-quote-dropdown a {
    color: #1a1a1a !important;
    padding: 14px 20px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 500;
    border-bottom: 1px solid #f0f0f0;
    background: #fff;
    cursor: pointer;
}

.mobile-drop-btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 12px 20px;
    background: none;
    border: none;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
}

.mobile-dropdown-content {
    display: none;
    background: #ffffff;
    flex-direction: column;
    padding-left: 0;
    border-radius: 8px;
    margin-top: 5px;
}

.mobile-dropdown-content.active {
    display: flex;
}

.mobile-dropdown-content a {
    color: #000000 !important;
    padding: 12px 20px;
    text-decoration: none;
    border-bottom: 1px solid #f0f0f0;
}
/* ═══════════════════════════════════════════
   CAROUSEL STYLES - Auto-changing images
   ═══════════════════════════════════════════ */
.carousel-container {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  height: 100%;
}
.carousel-slide {
  flex: 0 0 100%;
  height: 100%;
}
.carousel-slide img, 
.carousel-slide video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(8px);
  color: white;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  cursor: pointer;
  z-index: 10;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}
.carousel-btn:hover {
  background: var(--cyan);
  color: #000;
  border-color: var(--cyan);
}
.carousel-prev { left: 12px; }
.carousel-next { right: 12px; }
.carousel-dots {
  position: absolute;
  bottom: 16px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 10px;
  z-index: 10;
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: all 0.3s;
}
.dot.active {
  background: var(--cyan);
  width: 24px;
  border-radius: 4px;
}