/* ============================================
   LS Interior Studio - Wooden Theme
   ============================================ */
:root {
  --wood-50: #faf5ef;
  --wood-100: #f0e4d3;
  --wood-200: #e0c9a6;
  --wood-300: #c9a878;
  --wood-400: #a8854e;
  --wood-500: #8b6f47;    /* Primary wooden */
  --wood-600: #6f563a;
  --wood-700: #574127;
  --wood-800: #3d2d1c;
  --wood-900: #2a1f12;
  --accent-gold: #c89b54;
  --accent-cream: #f4e9d8;
  --text-dark: #2a1f12;
  --text-muted: #6c5c47;
  --bg-cream: #fbf6ee;
  --shadow-sm: 0 2px 8px rgba(91, 65, 39, 0.08);
  --shadow-md: 0 8px 24px rgba(91, 65, 39, 0.12);
  --shadow-lg: 0 16px 48px rgba(91, 65, 39, 0.18);
  --radius: 14px;
  --radius-sm: 8px;
}

* { box-sizing: border-box; }
html, body { overflow-x: hidden; }
body { font-family: 'Poppins', sans-serif; color: var(--text-dark); background: var(--bg-cream); margin: 0; }
h1,h2,h3,h4,h5,.display-1,.display-2,.display-3,.display-4 { font-family: 'Playfair Display', serif; color: var(--wood-700); font-weight: 600; }
a { color: var(--wood-500); text-decoration: none; }
a:hover { color: var(--wood-700); }
.btn-primary { background: var(--wood-500); border-color: var(--wood-500); border-radius: 999px; padding: 12px 28px; font-weight: 600; }
.btn-primary:hover { background: var(--wood-700); border-color: var(--wood-700); }
.btn-outline-primary { color: var(--wood-500); border-color: var(--wood-500); border-radius: 999px; padding: 12px 28px; font-weight: 600; }
.btn-outline-primary:hover { background: var(--wood-500); border-color: var(--wood-500); color: #fff; }

/* Top Bar */
.top-bar { background: var(--wood-700); color: #fff; padding: 8px 0; font-size: 13px; }
.top-bar a { color: #fff; margin-right: 16px; }
.top-bar i { margin-right: 6px; color: var(--accent-gold); }
.top-bar .top-right i { color: var(--accent-gold); }

/* Header */
.main-header { background: #fff; padding: 14px 0; box-shadow: var(--shadow-sm); position: sticky; top: 0; z-index: 1000; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: nowrap; }
.logo { display: flex; flex-direction: column; align-items: flex-start; flex-shrink: 0; }
.logo img { height: 60px; }
.logo-tag { font-style: italic; color: var(--text-muted); font-size: 12px; margin-top: 2px; }

/* Desktop nav */
.desktop-nav { display: flex; gap: 8px; align-items: center; flex: 1; justify-content: center; }
.desktop-nav > a, .desktop-nav .dropdown-toggle {
  padding: 10px 16px;
  color: var(--wood-700);
  font-weight: 500;
  font-size: 15px;
  text-decoration: none;
  border-radius: 999px;
  transition: all .2s;
  cursor: pointer;
}
.desktop-nav > a:hover, .desktop-nav > a.active,
.desktop-nav .dropdown-toggle:hover, .desktop-nav .dropdown-toggle.active {
  background: var(--wood-100);
  color: var(--wood-700);
}
.desktop-nav .dropdown { position: relative; }
.desktop-nav .dropdown-menu {
  position: absolute; top: 100%; left: 0;
  background: #fff;
  border: 1px solid var(--wood-100);
  border-radius: 12px;
  min-width: 220px;
  padding: 10px 0;
  box-shadow: var(--shadow-md);
  display: none;
  z-index: 1100;
}
.desktop-nav .dropdown:hover .dropdown-menu,
.desktop-nav .dropdown.show .dropdown-menu { display: block; }
.desktop-nav .dropdown-menu a {
  display: block; padding: 8px 16px;
  color: var(--wood-700); font-size: 14px; text-decoration: none;
}
.desktop-nav .dropdown-menu a:hover { background: var(--wood-100); color: var(--wood-500); }
.desktop-nav .dropdown-divider { height: 1px; background: var(--wood-100); margin: 6px 0; }

/* Header search */
.header-search {
  flex: 1; max-width: 360px;
  border: 2px solid var(--wood-200);
  border-radius: 999px;
  overflow: hidden;
  background: #fff;
  display: flex;
  align-items: center;
}
.header-search input { border: 0; padding: 8px 16px; flex: 1; outline: none; font-size: 14px; background: transparent; }
.header-search button {
  background: var(--wood-500); color: #fff; border: 0; padding: 8px 16px; cursor: pointer;
}
.header-search:focus-within { border-color: var(--wood-500); }

.header-actions { display: flex; gap: 6px; flex-shrink: 0; }
.hdr-btn { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--wood-200); background: #fff; color: var(--wood-700); display: inline-flex; align-items: center; justify-content: center; font-size: 18px; transition: all .2s; position: relative; }
.hdr-btn:hover { background: var(--wood-500); color: #fff; border-color: var(--wood-500); }
.cart-count { position: absolute; top: -2px; right: -2px; background: var(--accent-gold); color: #fff; font-size: 11px; border-radius: 999px; min-width: 18px; height: 18px; display: inline-flex; align-items: center; justify-content: center; padding: 0 4px; }

/* Hero Slider */
.hero-section { position: relative; }
.hero-slider { position: relative; }
.hero-slide { position: relative; min-height: 600px; display: flex; align-items: center; }
.hero-slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to right, rgba(0,0,0,0.5), rgba(0,0,0,0.2)); }
.hero-content { position: relative; z-index: 2; padding: 0 60px; max-width: 600px; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; background: rgba(0,0,0,0.45); backdrop-filter: blur(6px); border-radius: 999px; color: #fff; font-weight: 600; letter-spacing: 1px; font-size: 14px; margin-bottom: 20px; }
.hero-badge::before { content: ''; width: 8px; height: 8px; background: var(--accent-gold); border-radius: 50%; }
.hero-content h1 { color: #fff; font-size: 56px; line-height: 1.1; margin-bottom: 16px; }
.hero-content p { color: rgba(255,255,255,0.9); font-size: 18px; margin-bottom: 24px; }
.hero-cta .btn { margin-right: 10px; }
.swiper-button-next, .swiper-button-prev { color: var(--accent-gold); background: rgba(255,255,255,0.5); width: 56px; height: 56px; border-radius: 50%; backdrop-filter: blur(6px); }
.swiper-button-next::after, .swiper-button-prev::after { font-size: 20px; font-weight: bold; }
.swiper-pagination-bullet-active { background: var(--accent-gold); }

/* Promise strip */
.promise-section { padding: 60px 0; background: #fff; }
.promise-head { text-align: center; margin-bottom: 40px; }
.promise-head .eyebrow { color: var(--accent-gold); letter-spacing: 2px; font-weight: 600; font-size: 13px; text-transform: uppercase; }
.promise-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.promise-card { background: var(--bg-cream); border-radius: var(--radius); padding: 30px; text-align: center; transition: all .3s; border: 1px solid var(--wood-100); }
.promise-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.promise-card i { font-size: 36px; color: var(--wood-500); margin-bottom: 12px; }
.promise-card h4 { font-size: 18px; margin-bottom: 8px; }
.promise-card p { color: var(--text-muted); margin: 0; font-size: 14px; }

/* Section heading */
.section-head { display: flex; justify-content: space-between; align-items: end; margin-bottom: 28px; }
.section-head .eyebrow { color: var(--accent-gold); letter-spacing: 2px; font-weight: 600; font-size: 13px; text-transform: uppercase; display: inline-flex; align-items: center; gap: 8px; }
.section-head .eyebrow::before { content: ''; width: 14px; height: 2px; background: var(--accent-gold); }
.section-head h2 { font-size: 32px; margin: 6px 0 0; }

/* Categories */
.categories-section { padding: 60px 0; background: var(--bg-cream); }
.cat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 22px; }
.cat-card { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 1/1; display: block; }
.cat-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.cat-card:hover img { transform: scale(1.08); }
.cat-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(45,28,15,0.75), rgba(45,28,15,0.05)); }
.cat-card .cat-info { position: absolute; inset: auto 0 0 0; padding: 18px; z-index: 2; color: #fff; }
.cat-card h3 { color: #fff; font-size: 18px; margin: 0 0 6px; }
.cat-card .cat-link { font-size: 13px; color: var(--accent-gold); font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.cat-card .cat-link i { transition: transform .3s; }
.cat-card:hover .cat-link i { transform: translateX(4px); }

/* Product carousel */
.products-section { padding: 60px 0; background: #fff; }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }
.product-card { background: var(--bg-cream); border-radius: var(--radius); overflow: hidden; transition: all .3s; border: 1px solid var(--wood-100); position: relative; }
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.product-card .prod-img { position: relative; aspect-ratio: 1/1; overflow: hidden; background: #fff; }
.product-card .prod-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.product-card:hover .prod-img img { transform: scale(1.06); }

/* Hover action buttons */
.product-card .prod-actions {
  position: absolute;
  right: 12px;
  top: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  opacity: 0;
  transform: translateX(10px);
  transition: all .3s ease;
}
.product-card:hover .prod-actions { opacity: 1; transform: translateX(0); }
.product-card .prod-actions a,
.product-card .prod-actions button {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: #fff;
  color: var(--wood-700);
  border: 1px solid var(--wood-100);
  box-shadow: 0 4px 12px rgba(91, 65, 39, 0.12);
  display: inline-flex;
  align-items: center; justify-content: center;
  font-size: 16px;
  transition: all .25s;
  cursor: pointer;
}
.product-card .prod-actions a:hover,
.product-card .prod-actions button:hover {
  background: var(--wood-500);
  color: #fff;
  border-color: var(--wood-500);
  transform: scale(1.08);
}

/* Bottom action bar — Add to Cart pill */
.product-card .prod-cart-bar {
  position: absolute;
  left: 12px; right: 12px; bottom: 12px;
  background: var(--wood-700);
  color: #fff;
  padding: 10px 14px;
  border-radius: 999px;
  display: flex;
  align-items: center; justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .3px;
  cursor: pointer;
  border: 0;
  opacity: 0;
  transform: translateY(10px);
  transition: all .3s ease;
  box-shadow: 0 8px 18px rgba(91, 65, 39, .35);
}
.product-card:hover .prod-cart-bar { opacity: 1; transform: translateY(0); }
.product-card .prod-cart-bar:hover { background: var(--wood-500); }
.product-card .prod-cart-bar i { font-size: 16px; }

.product-card .prod-info { padding: 14px 16px 18px; }
.product-card h3 { font-size: 16px; margin: 0 0 6px; font-family: 'Poppins', sans-serif; font-weight: 600; color: var(--text-dark); line-height: 1.3; height: 42px; overflow: hidden; }
.product-card .stars { color: var(--accent-gold); font-size: 13px; margin-bottom: 6px; }
.product-card .stars .muted { color: var(--wood-200); }
.product-card .price { color: var(--wood-700); font-weight: 700; font-size: 18px; }

/* Testimonials */
.testimonials { padding: 60px 0; background: var(--bg-cream); }
.testimonial-card { background: #fff; border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); border: 1px solid var(--wood-100); }
.testimonial-card .stars { color: var(--accent-gold); margin-bottom: 8px; }
.testimonial-card .text { color: var(--text-muted); font-style: italic; margin-bottom: 16px; }
.testimonial-card .person { display: flex; align-items: center; gap: 12px; }
.testimonial-card .person img { width: 44px; height: 44px; border-radius: 50%; }
.testimonial-card .person strong { display: block; }
.testimonial-card .person small { color: var(--text-muted); }

/* Footer */
.site-footer { background: var(--wood-900); color: var(--wood-200); padding: 60px 0 24px; }
.site-footer h5 { color: #fff; font-size: 17px; margin-bottom: 14px; font-family: 'Poppins', sans-serif; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; }
.site-footer ul { list-style: none; padding: 0; }
.site-footer ul li { padding: 4px 0; }
.site-footer a { color: var(--wood-200); }
.site-footer a:hover { color: var(--accent-gold); }
.footer-logo { max-height: 80px; margin-bottom: 12px; filter: brightness(1.1); }
.footer-about { color: var(--wood-200); font-size: 14px; line-height: 1.6; }
.contact-list i { color: var(--accent-gold); margin-right: 8px; }
.newsletter-form { display: flex; }
.newsletter-form input { flex: 1; padding: 10px 14px; border: 0; border-radius: 999px 0 0 999px; outline: none; }
.newsletter-form button { padding: 10px 22px; border: 0; background: var(--accent-gold); color: #fff; border-radius: 0 999px 999px 0; font-weight: 600; }
.footer-bottom { border-top: 1px solid var(--wood-700); margin-top: 40px; padding-top: 20px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-bottom p, .footer-bottom a { margin: 0; font-size: 13px; color: var(--wood-300); }
.footer-links a { margin-left: 16px; }

/* WhatsApp float */
.wa-float { position: fixed; bottom: 22px; right: 22px; width: 54px; height: 54px; border-radius: 50%; background: #25D366; color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 28px; box-shadow: 0 8px 24px rgba(37,211,102,0.4); z-index: 999; }

/* Mobile menu */
.mobile-menu a { display: block; padding: 10px 0; color: var(--text-dark); border-bottom: 1px solid var(--wood-100); }

/* Product Page */
.product-page { padding: 40px 0; }
.product-gallery .main-img { width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: var(--radius); }
.product-gallery .thumbs { display: flex; gap: 8px; margin-top: 12px; }
.product-gallery .thumbs img { width: 80px; height: 80px; object-fit: cover; border-radius: var(--radius-sm); cursor: pointer; border: 2px solid transparent; }
.product-gallery .thumbs img.active { border-color: var(--wood-500); }
.product-detail h1 { font-size: 30px; margin-bottom: 10px; }
.product-detail .price { font-size: 26px; color: var(--wood-700); font-weight: 700; margin: 12px 0; }
.qty-input { display: inline-flex; align-items: center; border: 1px solid var(--wood-300); border-radius: 999px; overflow: hidden; }
.qty-input button { width: 36px; height: 36px; border: 0; background: var(--wood-100); }
.qty-input input { width: 50px; text-align: center; border: 0; }

/* Cart */
.cart-page { padding: 40px 0; }
.cart-item { display: flex; gap: 16px; padding: 16px; background: #fff; border-radius: var(--radius); margin-bottom: 12px; align-items: center; border: 1px solid var(--wood-100); }
.cart-item img { width: 90px; height: 90px; object-fit: cover; border-radius: var(--radius-sm); }
.cart-summary { background: #fff; border-radius: var(--radius); padding: 24px; border: 1px solid var(--wood-100); position: sticky; top: 100px; }

/* Breadcrumb banner (page title bar) */
.page-banner {
  background: linear-gradient(135deg, var(--wood-700) 0%, var(--wood-500) 100%);
  color: #fff;
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}
.page-banner::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 30%, rgba(200,155,84,0.25), transparent 50%);
}
.page-banner .container { position: relative; z-index: 1; }
.page-banner h1 { color: #fff; font-family: 'Playfair Display', serif; font-size: 42px; margin: 0 0 8px; font-weight: 700; }
.page-banner .breadcrumb { margin: 0; background: transparent; padding: 0; }
.page-banner .breadcrumb-item, .page-banner .breadcrumb-item a { color: rgba(255,255,255,0.85); font-size: 14px; text-decoration: none; }
.page-banner .breadcrumb-item a:hover { color: var(--accent-gold); }
.page-banner .breadcrumb-item.active { color: var(--accent-gold); font-weight: 500; }
.page-banner .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.5); content: '/'; }

/* Filter sidebar */
.filter-sidebar { position: sticky; top: 100px; }
.filter-card { background: #fff; border-radius: var(--radius); padding: 20px; margin-bottom: 16px; border: 1px solid var(--wood-100); }
.filter-title { font-family: 'Poppins', sans-serif; font-weight: 600; color: var(--wood-700); font-size: 15px; margin-bottom: 14px; padding-bottom: 8px; border-bottom: 1px solid var(--wood-100); display: flex; align-items: center; gap: 8px; }
.filter-title i { color: var(--accent-gold); }
.cat-filter-list { list-style: none; padding: 0; margin: 0; }
.cat-filter-list li a { display: flex; justify-content: space-between; align-items: center; padding: 8px 12px; border-radius: 8px; color: var(--text-dark); text-decoration: none; font-size: 14px; transition: all .2s; }
.cat-filter-list li a:hover { background: var(--wood-100); color: var(--wood-700); padding-left: 16px; }
.cat-filter-list li a.active { background: var(--wood-500); color: #fff; font-weight: 500; }
.cat-filter-list li a.active .count { background: rgba(255,255,255,0.25); color: #fff; }
.cat-filter-list .count { background: var(--wood-100); color: var(--wood-700); padding: 1px 8px; border-radius: 999px; font-size: 12px; font-weight: 600; }
.price-quick { display: flex; flex-wrap: wrap; gap: 6px; }
.price-quick .badge-soft { background: var(--wood-100); color: var(--wood-700); border: 1px solid var(--wood-200); padding: 5px 10px; border-radius: 999px; font-size: 12px; cursor: pointer; }
.price-quick .badge-soft:hover { background: var(--wood-500); color: #fff; }

/* Contact page */
.contact-info-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px 22px;
  text-align: center;
  border: 1px solid var(--wood-100);
  height: 100%;
  transition: all .3s;
}
.contact-info-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--accent-gold); }
.contact-info-card .contact-icon {
  width: 60px; height: 60px;
  background: linear-gradient(135deg, var(--wood-500), var(--accent-gold));
  color: #fff;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 24px;
  margin-bottom: 14px;
}
.contact-info-card h5 { color: var(--wood-700); margin-bottom: 10px; font-family: 'Poppins', sans-serif; font-weight: 600; }
.contact-info-card p { color: var(--text-muted); margin: 0; font-size: 14px; }
.contact-info-card a { color: var(--wood-700); font-weight: 500; }

.contact-form-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--wood-100);
}
.contact-image-side {
  background: linear-gradient(135deg, var(--wood-700) 0%, var(--wood-500) 100%);
  padding: 50px 40px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.contact-image-side::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(200,155,84,0.3), transparent 50%);
}
.contact-image-content { position: relative; z-index: 1; }
.contact-image-content h3 { color: #fff; font-family: 'Playfair Display', serif; font-size: 28px; line-height: 1.3; margin-bottom: 16px; }
.contact-image-content p { color: rgba(255,255,255,0.85); margin-bottom: 24px; line-height: 1.6; }
.contact-features { list-style: none; padding: 0; margin: 0; }
.contact-features li { color: rgba(255,255,255,0.95); padding: 8px 0; display: flex; align-items: center; gap: 10px; }
.contact-features li i { color: var(--accent-gold); font-size: 18px; }

.contact-form { padding: 40px; }
.contact-form h4 { font-family: 'Playfair Display', serif; color: var(--wood-700); margin-bottom: 20px; font-weight: 600; }
.contact-form .form-label { font-weight: 600; color: var(--wood-700); font-size: 14px; margin-bottom: 6px; }
.contact-form .form-control {
  border: 1px solid var(--wood-200);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 14px;
  background: var(--bg-cream);
  transition: all .2s;
}
.contact-form .form-control:focus {
  border-color: var(--wood-500);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(139, 111, 71, 0.12);
}

.contact-map { width: 100%; height: 450px; margin-top: 60px; }
.contact-map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* Shop toolbar */
.shop-toolbar { display: flex; justify-content: space-between; align-items: center; background: #fff; border: 1px solid var(--wood-100); padding: 12px 16px; border-radius: var(--radius); margin-bottom: 16px; flex-wrap: wrap; gap: 10px; }
.shop-toolbar .results { color: var(--text-muted); font-size: 14px; }
.shop-toolbar select { width: auto; }
.shop-toolbar .clear-filter { font-size: 13px; color: var(--wood-500); }

/* Checkout */
.checkout-page { padding: 40px 0; }
.checkout-form { background: #fff; border-radius: var(--radius); padding: 24px; }
.checkout-summary { background: #fff; border-radius: var(--radius); padding: 24px; }

/* Auth pages */
.auth-page { padding: 60px 0; min-height: 60vh; }
.auth-card { background: #fff; border-radius: var(--radius); padding: 36px; max-width: 480px; margin: 0 auto; box-shadow: var(--shadow-md); }

/* Alerts */
.alert { border-radius: var(--radius-sm); }

/* Responsive */
@media (max-width: 768px) {
  .top-bar .top-left a { display: block; margin-bottom: 2px; }
  .top-bar .top-right { display: none; }
  .hero-slide { min-height: 460px; }
  .hero-content { padding: 0 24px; }
  .hero-content h1 { font-size: 32px; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 8px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-links a { margin: 0 8px; }
}
