/* M-Quality Furniture - Main Stylesheet */
:root {
    --primary: #5F8FD7; --primary-dark: #4A6BA3; --accent: #D7A75F;
    --accent-light: #E8C99F; --gold: #C8961E;
    --bg-base: #FFF8F0;
    --bg-muted: #F5EDE0;
    --bg-surface: #FFFDF8;
    --bg-elevated: #FFFFFF;
    --text-primary: #2C1810;
    --text-secondary: #5A4035;
    --text-muted: #8B7355;
    --border-color: #E8D5C0;
    --chrome-dark: #2C1810;
    --navbar-bg: rgba(255,248,240,0.95);
    --input-focus-bg: var(--bg-elevated);
    --cream: var(--bg-base);
    --cream-dark: var(--bg-muted);
    --warm-white: var(--bg-surface);
    --text-dark: var(--text-primary);
    --text-medium: var(--text-secondary);
    --text-light: var(--text-muted);
    --border: var(--border-color);
    --shadow-sm: 0 2px 8px rgba(139,69,19,0.08);
    --shadow: 0 8px 24px rgba(139,69,19,0.12);
    --shadow-lg: 0 20px 60px rgba(139,69,19,0.18);
    --radius-sm: 8px; --radius: 16px; --radius-lg: 24px;
    --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
    --navbar-height: 72px;
    --font-display: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;
    color-scheme: light;
}
[data-theme="dark"] {
    --bg-base: #140D08;
    --bg-muted: #1F140C;
    --bg-surface: #26180F;
    --bg-elevated: #2E1C12;
    --text-primary: #F5EDE0;
    --text-secondary: #D4B896;
    --text-muted: #B89A7A;
    --border-color: #4A3525;
    --navbar-bg: rgba(20,13,8,0.96);
    --input-focus-bg: var(--bg-elevated);
    --shadow-sm: 0 2px 10px rgba(0,0,0,0.28);
    --shadow: 0 8px 28px rgba(0,0,0,0.38);
    --shadow-lg: 0 20px 60px rgba(0,0,0,0.48);
    color-scheme: dark;
    --bs-body-color: var(--text-primary);
    --bs-body-bg: var(--bg-base);
    --bs-emphasis-color: var(--text-primary);
    --bs-secondary-color: var(--text-muted);
    --bs-secondary-bg: var(--bg-muted);
    --bs-tertiary-color: var(--text-muted);
    --bs-tertiary-bg: var(--bg-surface);
    --bs-border-color: var(--border-color);
    --bs-link-color: var(--accent-light);
    --bs-link-hover-color: var(--accent);
}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
body{font-family:var(--font-body);color:var(--text-primary);background:var(--bg-base);line-height:1.7;overflow-x:hidden;transition:background var(--transition),color var(--transition)}
h1,h2,h3,h4,h5,h6{font-family:var(--font-display);color:var(--text-primary);line-height:1.3}
a{color:var(--primary);text-decoration:none;transition:color var(--transition)}
a:hover{color:var(--accent)}
img{max-width:100%;height:auto}
.bg-light-cream{background:var(--cream-dark)!important}

/* NAVBAR */
.furniture-navbar{background:var(--navbar-bg);backdrop-filter:blur(20px);border-bottom:1px solid var(--border);min-height:var(--navbar-height);padding:0.5rem 0;transition:all var(--transition);z-index:1000}
.furniture-navbar.scrolled{box-shadow:var(--shadow)}
.furniture-navbar .navbar-toggler{border-color:var(--border)}
[data-theme="dark"] .furniture-navbar .navbar-toggler-icon{filter:invert(1) brightness(1.15)}
.brand-icon{width:42px;height:42px;background:linear-gradient(135deg,var(--primary),var(--accent));border-radius:var(--radius-sm);display:flex;align-items:center;justify-content:center;color:white;font-size:1.1rem}
.brand-name{font-family:var(--font-display);font-size:1.2rem;font-weight:700;color:var(--primary)}
.nav-link{font-weight:500;color:#5F8FD7!important;padding:0.5rem 1rem!important;border-radius:var(--radius-sm);transition:all var(--transition);font-size:0.9rem}
.nav-link:hover,.nav-link.active{color:var(--primary)!important;background:rgba(95,143,215,0.08)}
.btn-icon{background:none;border:none;color:var(--text-medium);width:40px;height:40px;display:flex;align-items:center;justify-content:center;border-radius:50%;font-size:1.1rem;cursor:pointer;transition:all var(--transition);padding:0;text-decoration:none}
.btn-icon:hover{color:var(--primary);background:rgba(139,69,19,0.1)}
.cart-badge{position:absolute;top:-4px;right:-4px;background:var(--accent);color:white;font-size:0.65rem;width:18px;height:18px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:700}

/* BUTTONS */
.btn-primary{background:linear-gradient(135deg,var(--primary),var(--accent))!important;border:none!important;color:white!important;border-radius:var(--radius-sm)!important;font-weight:600!important;transition:all var(--transition)!important}
.btn-primary:hover{transform:translateY(-2px);box-shadow:0 8px 25px rgba(139,69,19,0.4)!important}
.btn-outline-primary{border:2px solid var(--primary)!important;color:var(--primary)!important;border-radius:var(--radius-sm)!important;font-weight:600!important;background:transparent!important}
.btn-outline-primary:hover{background:var(--primary)!important;color:white!important}

/* HERO */
.hero-section{min-height:100vh;padding-top:var(--navbar-height);position:relative;overflow:hidden;display:flex;align-items:center}
.hero-bg{position:absolute;inset:0;background:radial-gradient(ellipse 80% 60% at 70% 40%,rgba(210,105,30,0.15) 0%,transparent 60%),radial-gradient(ellipse 60% 80% at 20% 80%,rgba(139,69,19,0.1) 0%,transparent 60%),var(--cream);z-index:0}
.hero-section .container{position:relative;z-index:1}
.hero-badge{display:inline-flex;align-items:center;background:rgba(139,69,19,0.1);color:var(--primary);border:1px solid rgba(139,69,19,0.2);padding:0.4rem 1rem;border-radius:50px;font-size:0.85rem;font-weight:600;margin-bottom:1.5rem}
.hero-title{font-size:clamp(2.5rem,5vw,4rem);font-weight:700;color:var(--text-dark);line-height:1.2;margin-bottom:1.5rem}
.hero-subtitle{font-size:1.1rem;color:var(--text-medium);margin-bottom:2rem;max-width:480px;line-height:1.8}
.hero-btn{padding:0.8rem 2rem!important;font-size:1rem!important;border-radius:var(--radius)!important}
.hero-stats .stat-item{display:flex;flex-direction:column;align-items:center}
.hero-stats strong{font-family:var(--font-display);font-size:1.8rem;color:var(--primary)}
.hero-stats span{font-size:0.8rem;color:var(--text-light)}
.hero-visual{position:relative;height:480px;display:flex;align-items:center;justify-content:center}
.hero-circle-1,.hero-circle-2{position:absolute;border-radius:50%;animation:float 6s ease-in-out infinite}
.hero-circle-1{width:400px;height:400px;background:radial-gradient(circle,rgba(210,105,30,0.15) 0%,transparent 70%);top:50%;left:50%;transform:translate(-50%,-50%)}
.hero-circle-2{width:300px;height:300px;background:radial-gradient(circle,rgba(139,69,19,0.1) 0%,transparent 70%);top:50%;left:50%;transform:translate(-50%,-50%);animation-delay:-3s}
.hero-image-card{width:280px;height:280px;background:var(--bg-elevated);border:1px solid var(--border);border-radius:40px;box-shadow:var(--shadow-lg);display:flex;align-items:center;justify-content:center;position:relative;z-index:2}
.hero-img-placeholder{font-size:6rem;color:var(--accent)}
.floating-card{position:absolute;background:var(--bg-elevated);border:1px solid var(--border);border-radius:var(--radius);padding:0.75rem 1.25rem;box-shadow:var(--shadow);display:flex;align-items:center;gap:0.75rem;z-index:3;font-size:0.85rem;animation:float 4s ease-in-out infinite}
.floating-card strong{display:block;font-weight:700;font-size:0.9rem}
.floating-card small{color:var(--text-light)}
.floating-card i{font-size:1.5rem}
.fc-1{top:60px;right:20px;animation-delay:-2s}
.fc-2{bottom:80px;left:20px;animation-delay:-1s}
.scroll-indicator{position:absolute;bottom:2rem;left:50%;transform:translateX(-50%)}
.scroll-dot{width:24px;height:40px;border:2px solid var(--border);border-radius:12px;position:relative}
.scroll-dot::after{content:'';position:absolute;width:6px;height:6px;background:var(--primary);border-radius:50%;top:6px;left:50%;transform:translateX(-50%);animation:scrollDot 2s ease-in-out infinite}

/* SECTIONS */
.section-label{display:block;text-transform:uppercase;letter-spacing:0.15em;font-size:0.75rem;font-weight:700;color:var(--accent);margin-bottom:0.5rem}
.section-title{font-size:clamp(1.8rem,3vw,2.5rem);font-weight:700;color:var(--text-dark);margin-bottom:0}

/* CATEGORY CARDS */
.category-card{display:flex;flex-direction:column;align-items:center;gap:0.75rem;padding:1.5rem 1rem;background:var(--warm-white);border:1px solid var(--border);border-radius:var(--radius);text-decoration:none;color:var(--text-dark);transition:all var(--transition);text-align:center}
.category-card:hover{color:var(--primary);border-color:var(--primary);transform:translateY(-4px);box-shadow:var(--shadow);text-decoration:none}
.cat-icon{width:56px;height:56px;background:linear-gradient(135deg,var(--cream-dark),var(--cream));border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:1.5rem;color:var(--primary);transition:all var(--transition)}
.category-card:hover .cat-icon{background:linear-gradient(135deg,var(--primary),var(--accent));color:white}
.category-card h6{font-size:0.9rem;font-weight:600;margin:0}

/* PRODUCT CARDS */
.product-card{background:var(--warm-white);border:1px solid var(--border);border-radius:var(--radius);overflow:hidden;transition:all var(--transition);position:relative;height:100%}
.product-card:hover{transform:translateY(-6px);box-shadow:var(--shadow-lg);border-color:rgba(139,69,19,0.2)}
.product-badge{position:absolute;top:0.75rem;left:0.75rem;z-index:2;padding:0.3rem 0.75rem;border-radius:50px;font-size:0.72rem;font-weight:700}
.badge-sale{background:var(--accent);color:white}
.badge-hot{background:rgba(255,100,0,0.9);color:white;left:auto;right:0.75rem}
.product-image{position:relative;aspect-ratio:4/3;overflow:hidden;background:var(--cream-dark)}
.product-image img{width:100%;height:100%;object-fit:cover;transition:transform 0.6s cubic-bezier(0.4,0,0.2,1)}
.product-card:hover .product-image img{transform:scale(1.08)}
.product-img-placeholder{width:100%;height:100%;display:flex;align-items:center;justify-content:center;font-size:3rem;color:var(--border)}
.product-overlay{position:absolute;inset:0;background:rgba(0,0,0,0.3);display:flex;align-items:center;justify-content:center;gap:0.75rem;opacity:0;transition:opacity var(--transition)}
.product-card:hover .product-overlay{opacity:1}
.btn-quick-view,.btn-wishlist{width:40px;height:40px;background:var(--bg-elevated);border:1px solid var(--border);border-radius:50%;display:flex;align-items:center;justify-content:center;cursor:pointer;font-size:0.9rem;color:var(--text-primary);transition:all var(--transition);transform:translateY(10px)}
.product-card:hover .btn-quick-view,.product-card:hover .btn-wishlist{transform:translateY(0)}
.btn-quick-view:hover{background:var(--primary);color:white}
.btn-wishlist:hover{background:#e74c3c;color:white}
.product-info{padding:1.1rem}
.product-category{font-size:0.72rem;text-transform:uppercase;letter-spacing:0.1em;color:var(--accent);font-weight:700;display:block;margin-bottom:0.35rem}
.product-name{font-size:0.95rem;font-weight:600;margin-bottom:0.35rem;line-height:1.4}
.product-name a{color:var(--text-dark)}
.product-name a:hover{color:var(--primary)}
.product-desc{font-size:0.8rem;color:var(--text-light);margin-bottom:0.75rem;line-height:1.5}
.price-current{font-weight:700;color:var(--primary);font-size:1rem}
.price-original{font-size:0.8rem;color:var(--text-light);text-decoration:line-through;margin-left:0.35rem}
.btn-add-cart{width:36px;height:36px;background:linear-gradient(135deg,var(--primary),var(--accent));border:none;border-radius:50%;color:white;display:flex;align-items:center;justify-content:center;cursor:pointer;font-size:0.85rem;transition:all var(--transition)}
.btn-add-cart:hover{transform:scale(1.1);box-shadow:0 4px 15px rgba(139,69,19,0.4)}
.btn-add-cart:disabled{opacity:0.4;cursor:not-allowed}
.bs-rank{position:absolute;top:0.75rem;right:0.75rem;width:32px;height:32px;background:var(--gold);color:white;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:0.8rem;z-index:2}

/* PROMO */
.promo-banner{background:linear-gradient(135deg,var(--primary) 0%,var(--accent) 100%);border-radius:var(--radius-lg);padding:3rem;display:flex;justify-content:space-between;align-items:center;overflow:hidden;position:relative}
.promo-content{color:white;position:relative;z-index:1}
.promo-label{display:inline-block;background:rgba(255,255,255,0.2);padding:0.25rem 0.75rem;border-radius:50px;font-size:0.75rem;font-weight:700;text-transform:uppercase;letter-spacing:0.1em;margin-bottom:0.75rem}
.promo-content h3{font-size:2rem;margin-bottom:0.5rem;color:white}
.promo-content p{margin-bottom:1.5rem;opacity:0.9}
.promo-content .btn{background:white!important;color:var(--primary)!important;border:none!important;font-weight:700}
.promo-decor{font-size:8rem;color:rgba(255,255,255,0.1);position:absolute;right:2rem;bottom:-1rem}

/* FEATURES */
.feature-card{text-align:center;padding:2rem 1.5rem;background:var(--warm-white);border:1px solid var(--border);border-radius:var(--radius);transition:all var(--transition)}
.feature-card:hover{transform:translateY(-4px);box-shadow:var(--shadow)}
.feature-icon{width:64px;height:64px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:1.5rem;margin:0 auto 1rem}
.icon-green{background:rgba(34,197,94,0.1);color:#22c55e}
.icon-red{background:rgba(239,68,68,0.1);color:#ef4444}
.icon-blue{background:rgba(59,130,246,0.1);color:#3b82f6}
.icon-gold{background:rgba(200,150,30,0.1);color:var(--gold)}
.feature-card h6{font-weight:700;margin-bottom:0.5rem;font-size:1rem}
.feature-card p{font-size:0.85rem;color:var(--text-light);margin:0}

/* TESTIMONIALS */
.testimonials-slider{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:1.5rem}
.testimonial-card{background:var(--warm-white);border:1px solid var(--border);border-radius:var(--radius);padding:1.75rem;transition:all var(--transition)}
.testimonial-card:hover{transform:translateY(-4px);box-shadow:var(--shadow)}
.testi-stars{color:var(--gold);margin-bottom:1rem}
.testi-text{font-style:italic;color:var(--text-medium);margin-bottom:1.25rem;font-size:0.95rem;line-height:1.7}
.testi-author{display:flex;align-items:center;gap:0.75rem}
.testi-avatar{width:44px;height:44px;background:linear-gradient(135deg,var(--primary),var(--accent));border-radius:50%;display:flex;align-items:center;justify-content:center;color:white;font-weight:700;font-size:1rem;flex-shrink:0}
.testi-author strong{display:block;font-size:0.9rem}
.testi-author small{color:var(--text-light);font-size:0.8rem}

/* BLOG */
.blog-card{background:var(--warm-white);border:1px solid var(--border);border-radius:var(--radius);overflow:hidden;transition:all var(--transition);height:100%}
.blog-card:hover{transform:translateY(-4px);box-shadow:var(--shadow)}
.blog-image{position:relative;aspect-ratio:16/10;overflow:hidden;background:var(--cream-dark)}
.blog-image img{width:100%;height:100%;object-fit:cover;transition:transform 0.6s}
.blog-card:hover .blog-image img{transform:scale(1.05)}
.blog-img-placeholder{width:100%;height:100%;display:flex;align-items:center;justify-content:center;font-size:2.5rem;color:var(--border)}
.blog-category{position:absolute;top:0.75rem;left:0.75rem;background:var(--primary);color:white;font-size:0.72rem;font-weight:700;padding:0.25rem 0.75rem;border-radius:50px;text-transform:uppercase;letter-spacing:0.05em}
.blog-content{padding:1.25rem}
.blog-meta{font-size:0.8rem;color:var(--text-light);margin-bottom:0.75rem}
.blog-title{font-size:1rem;font-weight:600;margin-bottom:0.5rem;line-height:1.4}
.blog-title a{color:var(--text-dark)}
.blog-title a:hover{color:var(--primary)}
.blog-excerpt{font-size:0.85rem;color:var(--text-light);margin-bottom:1rem}
.blog-link{font-size:0.85rem;font-weight:700;color:var(--primary)}
.blog-link:hover{color:var(--accent)}

/* NEWSLETTER */
.newsletter-box{background:var(--warm-white);border:1px solid var(--border);border-radius:var(--radius-lg);padding:3rem}
.newsletter-form .form-control{border:1px solid var(--border);border-radius:var(--radius-sm) 0 0 var(--radius-sm)!important;padding:0.75rem 1.25rem;background:var(--cream);color:var(--text-dark);font-size:0.9rem}
.newsletter-form .form-control:focus{border-color:var(--primary);box-shadow:0 0 0 3px rgba(139,69,19,0.1)}
.newsletter-form .btn{border-radius:0 var(--radius-sm) var(--radius-sm) 0!important}

/* FOOTER */
.furniture-footer{background:#5F8FD7;color:#000000}
.footer-brand h5{font-family:var(--font-display);color:#000000;font-size:1.3rem;margin-bottom:0.5rem}
.footer-brand p{font-size:0.875rem;margin-bottom:1.5rem;color:#000000}
.social-links{display:flex;gap:0.75rem}
.social-links a{width:36px;height:36px;background:rgba(255,255,255,0.1);border-radius:50%;display:flex;align-items:center;justify-content:center;color:white;font-size:0.85rem;transition:all var(--transition)}
.social-links a:hover{background:var(--accent);transform:translateY(-2px)}
.footer-heading{color:#000000;font-size:0.95rem;font-weight:700;margin-bottom:1rem;font-family:var(--font-display)}
.footer-links{list-style:none;padding:0;margin:0}
.footer-links li{margin-bottom:0.5rem}
.footer-links a{color:#000000;font-size:0.875rem;transition:color var(--transition)}
.footer-links a:hover{color:var(--accent-light)}
.footer-contact{list-style:none;padding:0;margin:0}
.footer-contact li{display:flex;align-items:flex-start;gap:0.75rem;margin-bottom:0.75rem;font-size:0.875rem;color:#000000}
.footer-contact i{color:var(--accent);margin-top:0.2rem;flex-shrink:0;width:16px}
.footer-bottom{border-top:1px solid rgba(255,255,255,0.1);padding:1.25rem 0;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:0.5rem}
.footer-bottom p{margin:0;font-size:0.825rem;color:#000000}
.footer-bottom-links{display:flex;gap:1.5rem}
.footer-bottom-links a{font-size:0.825rem;color:#000000}
.footer-bottom-links a:hover{color:var(--accent-light)}

/* WHATSAPP */
.whatsapp-float{position:fixed;bottom:2rem;right:2rem;width:56px;height:56px;background:#25d366;border-radius:50%;display:flex;align-items:center;justify-content:center;color:white;font-size:1.5rem;box-shadow:0 4px 20px rgba(37,211,102,0.4);z-index:999;transition:all var(--transition);animation:pulse-green 3s infinite}
.whatsapp-float:hover{transform:scale(1.1);color:white}

/* FORMS */
.form-control,.form-select{border:1px solid var(--border);border-radius:var(--radius-sm)!important;padding:0.7rem 1rem;background:var(--warm-white);color:var(--text-dark);font-size:0.9rem;transition:all var(--transition)}
.form-control:focus,.form-select:focus{border-color:var(--primary);box-shadow:0 0 0 3px rgba(139,69,19,0.15);background:var(--input-focus-bg);color:var(--text-primary)}

/* ADMIN */
.admin-sidebar{width:260px;height:100vh;background:#5F8FD7;position:fixed;top:0;left:0;z-index:1000;transition:transform var(--transition)}
.admin-main{margin-left:260px;min-height:100vh;background:var(--cream);transition:margin var(--transition)}
.sidebar-logo{padding:1.5rem;border-bottom:1px solid rgba(255,255,255,0.1)}
.sidebar-menu{padding:1rem 0}
.sidebar-menu a{display:flex;align-items:center;gap:0.75rem;padding:0.75rem 1.5rem;color:rgba(255,255,255,0.65);font-size:0.875rem;font-weight:500;transition:all var(--transition);border-left:3px solid transparent;text-decoration:none}
.sidebar-menu a:hover,.sidebar-menu a.active{color:white;background:rgba(255,255,255,0.06);border-left-color:var(--accent)}
.sidebar-menu a i{width:18px;font-size:0.95rem}
.admin-topbar{background:var(--warm-white);border-bottom:1px solid var(--border);padding:0.75rem 1.5rem;display:flex;justify-content:space-between;align-items:center;position:sticky;top:0;z-index:100}
.stat-card{background:var(--warm-white);border:1px solid var(--border);border-radius:var(--radius);padding:1.5rem}
.stat-card .stat-value{font-size:2rem;font-weight:700;font-family:var(--font-display);color:var(--primary)}
.stat-card .stat-label{font-size:0.8rem;color:var(--text-light);text-transform:uppercase;letter-spacing:0.1em;font-weight:600}
.sidebar-group-label{padding:0.5rem 1.5rem;font-size:0.7rem;text-transform:uppercase;letter-spacing:0.12em;color:rgba(255,255,255,0.3);font-weight:700}

/* ANIMATIONS */
@keyframes float{0%,100%{transform:translateY(0)}50%{transform:translateY(-12px)}}
@keyframes scrollDot{0%{top:6px;opacity:1}100%{top:22px;opacity:0}}
@keyframes pulse-green{0%,100%{box-shadow:0 4px 20px rgba(37,211,102,0.4)}50%{box-shadow:0 4px 30px rgba(37,211,102,0.7)}}
@keyframes fadeInUp{from{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}
@keyframes skeleton-loading{0%{background-position:100% 50%}100%{background-position:0% 50%}}

/* SKELETON */
.skeleton{background:linear-gradient(90deg,var(--cream-dark) 25%,var(--border) 50%,var(--cream-dark) 75%);background-size:400% 100%;animation:skeleton-loading 1.4s ease infinite;border-radius:var(--radius-sm)}

/* RESPONSIVE */
@media(max-width:768px){
    .promo-banner{flex-direction:column;text-align:center}
    .promo-decor{display:none}
    .newsletter-box{padding:2rem 1.5rem}
    .footer-bottom{flex-direction:column;text-align:center}
    .whatsapp-float{bottom:1.5rem;right:1.5rem}
}
@media(max-width:576px){
    .hero-title{font-size:2rem}
    .section-title{font-size:1.6rem}
}
@media(max-width:992px){
    .admin-sidebar{transform:translateX(-100%);box-shadow:none}
    .admin-main{margin-left:0}
    .admin-sidebar.open{transform:translateX(0);box-shadow:4px 0 24px rgba(0,0,0,.25)}
    body.admin-sidebar-open{overflow:hidden}
    #sidebarOverlay{z-index:1040}
    .admin-sidebar.open{z-index:1050}
    .admin-topbar{z-index:1030}
}

/* Variant Selection Chips */
.variant-chip-label {
  position: relative;
  cursor: pointer;
  margin: 0;
}
.variant-radio-input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.variant-chip-text {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.25rem;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--text-medium);
  background: var(--bg-elevated);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  min-width: 80px;
  text-align: center;
  user-select: none;
}
.variant-chip-label:hover .variant-chip-text {
  border-color: var(--primary);
  background: rgba(139,69,19,0.02);
  color: var(--primary);
}
.variant-radio-input:checked + .variant-chip-text {
  border-color: var(--primary);
  background: rgba(139,69,19,0.08);
  color: var(--primary);
  box-shadow: 0 4px 12px rgba(139,69,19,0.15);
  transform: translateY(-2px);
}

/* ADVANCED MOBILE RESPONSIVENESS */
@media(max-width:992px){
    .furniture-navbar .navbar-collapse {
        background: var(--cream-dark);
        border-radius: var(--radius);
        padding: 1.5rem;
        margin-top: 0.75rem;
        border: 1px solid var(--border);
        box-shadow: var(--shadow-lg);
    }
    .furniture-navbar .nav-link {
        padding: 0.75rem 1rem !important;
    }
    .furniture-navbar .navbar-actions {
        margin-top: 1rem;
        justify-content: center;
        padding-top: 1rem;
        border-top: 1px solid var(--border);
    }
}

@media(max-width:768px){
    /* Cart page item cards stacked nicely on smaller screens */
    .cart-item-row {
        flex-wrap: wrap !important;
        align-items: flex-start !important;
        position: relative;
        padding: 1.5rem !important;
    }
    .cart-item-row .info-wrapper {
        flex: 1 1 calc(100% - 100px) !important;
    }
    .cart-item-row .qty-wrapper {
        margin-left: 96px;
        margin-top: 0.5rem;
    }
    .cart-item-row .subtotal-wrapper {
        margin-left: auto;
        margin-top: 0.5rem;
        min-width: unset !important;
    }
    .cart-item-row .remove-btn {
        position: absolute;
        top: 1rem;
        right: 1rem;
    }
}

@media(max-width:576px){
    /* Single product details buttons stacked responsively on mobile */
    .product-action-row {
        flex-wrap: wrap !important;
    }
    .product-action-row > * {
        flex: 1 1 auto;
    }
    .product-action-row .ajax-add-cart {
        order: -1;
        width: 100% !important;
        flex: 1 0 100% !important;
        margin-bottom: 0.5rem;
    }
}

/* ── Theme: Bootstrap & shared UI (user + admin) ── */
[data-theme="dark"] .text-muted,
[data-theme="dark"] .text-body-secondary {
    color: var(--text-muted) !important;
}

[data-theme="dark"] .table {
    --bs-table-color: var(--text-primary);
    --bs-table-bg: transparent;
    --bs-table-border-color: var(--border-color);
    --bs-table-striped-bg: rgba(255,255,255,0.03);
    --bs-table-hover-bg: rgba(210,105,30,0.08);
    color: var(--text-primary);
}

[data-theme="dark"] .table-light,
[data-theme="dark"] .table thead.table-light tr,
[data-theme="dark"] thead.table-light th {
    --bs-table-bg: var(--bg-muted);
    --bs-table-color: var(--text-secondary);
    background-color: var(--bg-muted) !important;
    color: var(--text-secondary) !important;
}

[data-theme="dark"] .table td,
[data-theme="dark"] .table th {
    border-color: var(--border-color);
    color: var(--text-primary);
}

[data-theme="dark"] .dropdown-menu {
    background: var(--bg-elevated);
    border-color: var(--border-color);
    box-shadow: var(--shadow-lg);
}

[data-theme="dark"] .dropdown-item {
    color: var(--text-primary);
}

[data-theme="dark"] .dropdown-item:hover,
[data-theme="dark"] .dropdown-item:focus {
    background: rgba(210,105,30,0.12);
    color: var(--text-primary);
}

[data-theme="dark"] .dropdown-divider {
    border-color: var(--border-color);
}

[data-theme="dark"] .modal-content {
    background: var(--bg-surface);
    border-color: var(--border-color);
    color: var(--text-primary);
}

[data-theme="dark"] .modal-header,
[data-theme="dark"] .modal-footer {
    border-color: var(--border-color);
}

[data-theme="dark"] .btn-close {
    filter: invert(1) grayscale(100%) brightness(1.2);
}

[data-theme="dark"] .card {
    background: var(--bg-surface);
    border-color: var(--border-color);
    color: var(--text-primary);
}

[data-theme="dark"] .card-header,
[data-theme="dark"] .card-footer {
    background: var(--bg-muted);
    border-color: var(--border-color);
    color: var(--text-primary);
}

[data-theme="dark"] .list-group-item {
    background: var(--bg-surface);
    border-color: var(--border-color);
    color: var(--text-primary);
}

[data-theme="dark"] .list-group-item:hover,
[data-theme="dark"] .list-group-item.active {
    background: rgba(210,105,30,0.1);
    color: var(--text-primary);
}

[data-theme="dark"] .input-group-text {
    background: var(--bg-muted);
    border-color: var(--border-color);
    color: var(--text-secondary);
}

[data-theme="dark"] .form-control:disabled,
[data-theme="dark"] .form-select:disabled {
    background: var(--bg-muted);
    color: var(--text-muted);
    opacity: 0.85;
}

[data-theme="dark"] .form-control::placeholder {
    color: var(--text-muted);
    opacity: 0.85;
}

[data-theme="dark"] .bg-light,
[data-theme="dark"] .bg-white {
    background-color: var(--bg-muted) !important;
}

[data-theme="dark"] .border,
[data-theme="dark"] .border-top,
[data-theme="dark"] .border-bottom {
    border-color: var(--border-color) !important;
}

[data-theme="dark"] hr {
    border-color: var(--border-color);
    opacity: 1;
}

[data-theme="dark"] .pagination .page-link {
    background: var(--bg-surface);
    border-color: var(--border-color);
    color: var(--text-primary);
}

[data-theme="dark"] .pagination .page-link:hover {
    background: var(--bg-muted);
    color: var(--accent-light);
}

[data-theme="dark"] .pagination .page-item.active .page-link {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

[data-theme="dark"] .breadcrumb-item,
[data-theme="dark"] .breadcrumb-item a {
    color: var(--text-muted);
}

[data-theme="dark"] .breadcrumb-item.active {
    color: var(--text-primary);
}

[data-theme="dark"] .alert:not(.alert-danger):not(.alert-success):not(.alert-warning):not(.alert-info) {
    background: var(--bg-muted);
    border-color: var(--border-color);
    color: var(--text-primary);
}

[data-theme="dark"] .admin-topbar {
    background: var(--bg-surface);
}

[data-theme="dark"] .admin-main {
    background: var(--bg-base);
}

[data-theme="dark"] .stat-card,
[data-theme="dark"] .admin-login-card {
    background: var(--bg-surface);
    color: var(--text-primary);
}

[data-theme="dark"] .admin-login-page {
    background: var(--bg-base) !important;
}

[data-theme="dark"] .page-header h4,
[data-theme="dark"] .page-header h6,
[data-theme="dark"] .stat-card h6 {
    color: var(--text-primary);
}

[data-theme="dark"] .table-hover tbody tr:hover {
    background: rgba(210,105,30,0.08) !important;
}

[data-theme="dark"] .product-overlay {
    background: rgba(0,0,0,0.55);
}

[data-theme="dark"] .promo-content .btn {
    background: var(--bg-elevated) !important;
    color: var(--primary) !important;
}

[data-theme="dark"] .toast {
    background: var(--bg-surface);
    color: var(--text-primary);
}

[data-theme="dark"] #quickViewModal .text-muted,
[data-theme="dark"] .spinner-border.text-muted {
    color: var(--text-muted) !important;
}

/* Light mode: keep Bootstrap muted text on-brand */
[data-theme="light"] .text-muted {
    color: var(--text-muted) !important;
}

/* Auth pages (login, register, etc.) */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-base);
    padding: 2rem;
    transition: background var(--transition);
}
.auth-card {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    width: 100%;
    max-width: 440px;
    box-shadow: var(--shadow);
    color: var(--text-primary);
}
.auth-card.auth-card-wide { max-width: 480px; }
.auth-logo { text-align: center; margin-bottom: 2rem; }
.auth-logo .brand-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1rem;
    font-size: 1.4rem;
}
.auth-theme-toggle {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 100;
}

/* ========== VARIANT SELECTION MODAL ========== */
.variant-select-modal {
  border: none;
  border-radius: var(--radius-lg, 16px);
  overflow: hidden;
  background: var(--bg-surface, #fff);
  box-shadow: 0 20px 60px rgba(0,0,0,.18);
}

/* Product thumbnail inside the modal header */
.vsm-thumb-wrap {
  width: 68px;
  height: 68px;
  border-radius: var(--radius-sm, 8px);
  overflow: hidden;
  flex-shrink: 0;
  background: var(--cream-dark, #f5ede0);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.vsm-thumb-icon {
  font-size: 1.8rem;
  color: var(--border, #e8d5c0);
}

/* Product meta in header */
.vsm-cat-label {
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--accent, #d4a051);
  font-weight: 700;
  display: block;
}
.vsm-product-name {
  font-family: var(--font-display, 'Playfair Display', serif);
  font-size: 1.05rem;
  line-height: 1.3;
  color: var(--text-dark, #2c1810);
  margin: 0.2rem 0 0.15rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.vsm-product-price {
  font-size: .95rem;
  font-weight: 700;
  color: var(--primary, #8b4513);
}

/* Section labels inside modal body */
.vsm-section-label {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-medium, #666);
  font-weight: 700;
  margin-bottom: .65rem;
}

/* Variant chips inside modal – reuse existing .variant-chip-* but scoped */
#vsm-chips .variant-chip-label {
  cursor: pointer;
  margin: 0;
}
#vsm-chips .variant-chip-label.out-of-stock .variant-chip-text {
  opacity: .45;
  cursor: not-allowed;
  text-decoration: line-through;
}
#vsm-chips .variant-chip-label.out-of-stock input { pointer-events: none; }

/* Quantity control */
.vsm-qty-control {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--border, #e8d5c0);
  border-radius: var(--radius-sm, 8px);
  overflow: hidden;
}
.vsm-qty-btn {
  background: var(--cream-dark, #f5ede0);
  border: none;
  color: var(--text-dark, #2c1810);
  font-size: 1.15rem;
  font-weight: 700;
  width: 42px;
  height: 42px;
  cursor: pointer;
  transition: background .2s;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.vsm-qty-btn:hover { background: var(--cream, #fdf6ee); }
.vsm-qty-btn:disabled { opacity: .4; cursor: not-allowed; }
.vsm-qty-input {
  width: 56px;
  text-align: center;
  border: none;
  background: transparent;
  color: var(--text-dark, #2c1810);
  font-weight: 700;
  font-size: 1rem;
  -moz-appearance: textfield;
}
.vsm-qty-input::-webkit-outer-spin-button,
.vsm-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* Stock info text */
.vsm-stock-info {
  font-size: .8rem;
  color: var(--text-light, #999);
}
.vsm-stock-info.in-stock  { color: #22c55e; font-weight: 600; }
.vsm-stock-info.out-stock { color: #ef4444; font-weight: 600; }

/* Confirm button */
.vsm-confirm-btn {
  padding: .78rem 1.5rem;
  font-weight: 700;
  font-size: .95rem;
  border-radius: var(--radius-sm, 8px);
  transition: all .25s;
}
.vsm-confirm-btn:not(:disabled) { transform: translateY(0); box-shadow: 0 4px 14px rgba(139,69,19,.3); }
.vsm-confirm-btn:not(:disabled):hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(139,69,19,.35); }

/* Link to full product page */
.vsm-full-link {
  display: block;
  text-align: center;
  margin-top: .85rem;
  font-size: .82rem;
  color: var(--text-light, #999);
  text-decoration: none;
  transition: color .2s;
}
.vsm-full-link:hover { color: var(--primary, #8b4513); }

/* Hint on variant product add-to-cart buttons */
.btn-add-cart[data-has-variants="1"] .vsm-hint {
  display: block;
  font-size: .6rem;
  opacity: .75;
  margin-top: 1px;
  line-height: 1;
  font-weight: 400;
}

/* Pulse animation on the add-to-cart icon when variants modal opens */
@keyframes vsm-icon-pulse {
  0%,100% { transform: scale(1); }
  50%      { transform: scale(1.2); }
}
.vsm-loading-pulse { animation: vsm-icon-pulse .8s ease-in-out infinite; }

/* Dark theme adjustments */
[data-theme="dark"] .variant-select-modal {
  background: var(--bg-surface, #1e1008);
}
[data-theme="dark"] .vsm-qty-btn {
  background: rgba(255,255,255,.08);
  color: var(--text-dark, #f0e6d3);
}
[data-theme="dark"] .vsm-qty-btn:hover {
  background: rgba(255,255,255,.13);
}
[data-theme="dark"] .vsm-qty-input {
  color: var(--text-dark, #f0e6d3);
}

/* Mobile adjustments */
@media (max-width: 480px) {
  .variant-select-modal .modal-header,
  .variant-select-modal .modal-body { padding-left: 1.25rem; padding-right: 1.25rem; }
  .vsm-thumb-wrap { width: 56px; height: 56px; }
  .vsm-product-name { font-size: .95rem; }
  #vsm-chips { gap: .5rem; }
  #vsm-chips .variant-chip-text { padding: .5rem .9rem; min-width: 64px; font-size: .8rem; }
}

/* ================================================================
   ABOUT PAGE COMPONENTS
   ================================================================ */

.about-hero-section {
  background: linear-gradient(135deg, var(--cream-dark) 0%, var(--cream) 100%);
  padding: 5rem 0 4rem;
  position: relative;
  overflow: hidden;
}
.about-hero-blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.about-hero-blob--1 {
  width: 300px; height: 300px;
  top: -80px; right: -80px;
  background: rgba(210,105,30,.08);
}
.about-hero-blob--2 {
  width: 200px; height: 200px;
  bottom: -50px; left: 8%;
  background: rgba(139,69,19,.06);
}
.about-hero-heading {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 3.2rem);
  line-height: 1.2;
  margin: .75rem 0 1.5rem;
}
.about-hero-heading em { color: var(--primary); font-style: italic; }
.about-hero-text {
  font-size: 1.05rem;
  color: var(--text-medium);
  line-height: 1.9;
  margin-bottom: 1.5rem;
}
.about-hero-text-2 {
  color: var(--text-medium);
  line-height: 1.9;
}
.about-hero-visual {
  position: relative;
  padding: 1.5rem;
}
.about-hero-card {
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
}
.about-years-badge {
  position: absolute;
  bottom: 0; right: 0;
  background: white;
  border-radius: var(--radius);
  padding: 1rem 1.5rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  text-align: center;
}

/* Stats section */
.about-stats-section {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  padding: 3.5rem 0;
}

/* Mission / Vision / Story cards */
.about-mvs-section { padding: 5rem 0; }
.about-mvs-card {
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  height: 100%;
  text-align: center;
  transition: all .3s;
}
.about-mvs-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.about-mvs-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 1.25rem;
}
.about-mvs-title {
  font-family: var(--font-display);
  font-weight: 700;
  margin-bottom: .75rem;
}
.about-mvs-text {
  font-size: .875rem;
  color: var(--text-light);
  margin: 0;
  line-height: 1.7;
}

/* Team cards */
.about-team-card {
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  height: 100%;
  transition: all .3s;
}
.about-team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.about-team-emoji { font-size: 4rem; margin-bottom: 1rem; }
.about-team-name {
  font-family: var(--font-display);
  font-weight: 700;
  margin-bottom: .25rem;
}
.about-team-role {
  font-size: .8rem;
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: .75rem;
}
.about-team-bio {
  font-size: .875rem;
  color: var(--text-light);
  margin: 0;
  line-height: 1.7;
}

/* CTA section */
.about-cta-section {
  padding: 4.5rem 0;
  background: linear-gradient(135deg, var(--primary), var(--accent));
}
.btn-about-cta-primary {
  background: white !important;
  color: var(--primary) !important;
  font-weight: 700;
  border-radius: var(--radius);
  border: none !important;
}
.btn-about-cta-primary:hover {
  background: var(--cream) !important;
  color: var(--primary) !important;
}


/* ================================================================
   COMPREHENSIVE RESPONSIVE IMPROVEMENTS
   ================================================================ */

/* ── Fluid type & base spacing ─────────────────────────────────── */
html { scroll-behavior: smooth; }

.section-title { font-size: clamp(1.6rem, 3vw, 2.5rem); }

/* ── Navbar ─────────────────────────────────────────────────────── */
@media (max-width: 991.98px) {
  .furniture-navbar .navbar-brand .brand-name { font-size: 1rem; }
  .furniture-navbar .brand-logo-img { max-height: 34px !important; }
  .furniture-navbar .navbar-collapse {
    background: var(--cream-dark);
    border-radius: var(--radius);
    padding: 1.25rem 1.5rem;
    margin-top: 0.75rem;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    max-height: 80vh;
    overflow-y: auto;
  }
  .furniture-navbar .nav-link { padding: 0.65rem 0.75rem !important; }
  .furniture-navbar .navbar-actions {
    margin-top: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
  }
}
@media (max-width: 575.98px) {
  .furniture-navbar { padding: 0.4rem 0; }
  .furniture-navbar .container { padding-inline: 1rem; }
  .navbar-actions .nav-btn { font-size: .8rem; padding: .35rem .75rem; }
}

/* ── Hero section ───────────────────────────────────────────────── */
@media (max-width: 767.98px) {
  .hero-section { min-height: auto; padding: 5rem 0 3rem; }
  .hero-title { font-size: clamp(1.8rem, 6vw, 2.4rem) !important; }
  .hero-subtitle { font-size: .95rem !important; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: .75rem; }
  .hero-actions .btn { width: 100%; text-align: center; }
  .hero-stats { gap: 1rem !important; }
  .hero-image-card { width: 180px !important; height: 180px !important; }
  .floating-card { display: none; }
}

/* ── Product grid ───────────────────────────────────────────────── */
@media (max-width: 575.98px) {
  .products-grid .col-6 { width: 50%; }
  .product-info { padding: .85rem; }
  .product-name { font-size: .85rem; }
  .price-current { font-size: .9rem; }
  .btn-add-cart { width: 32px !important; height: 32px !important; font-size: .75rem !important; }
}

/* ── Category cards ─────────────────────────────────────────────── */
@media (max-width: 575.98px) {
  .category-card { padding: 1rem .75rem; }
  .cat-icon { width: 44px; height: 44px; font-size: 1.2rem; }
  .category-card h6 { font-size: .8rem; }
}

/* ── Promo banner ───────────────────────────────────────────────── */
@media (max-width: 767.98px) {
  .promo-banner { flex-direction: column; text-align: center; padding: 2rem 1.5rem; }
  .promo-decor { display: none; }
  .promo-content h3 { font-size: 1.5rem; }
}

/* ── Blog cards ─────────────────────────────────────────────────── */
@media (max-width: 575.98px) {
  .blog-content { padding: 1rem; }
  .blog-title { font-size: .9rem; }
}

/* ── Footer ─────────────────────────────────────────────────────── */
@media (max-width: 767.98px) {
  .furniture-footer .row { row-gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; gap: .75rem; }
  .footer-bottom-links { justify-content: center; }
}
@media (max-width: 575.98px) {
  .furniture-footer { padding-inline: .25rem; }
}

/* ── Cart page ──────────────────────────────────────────────────── */
@media (max-width: 767.98px) {
  .cart-item-row { flex-wrap: wrap !important; align-items: flex-start !important; position: relative; padding: 1.25rem !important; }
  .cart-item-row .info-wrapper { flex: 1 1 calc(100% - 90px) !important; }
  .cart-item-row .qty-wrapper { margin-left: 90px; margin-top: .5rem; }
  .cart-item-row .subtotal-wrapper { margin-left: auto; margin-top: .5rem; min-width: unset !important; }
  .cart-item-row .remove-btn { position: absolute; top: 1rem; right: 1rem; }
}

/* ── Checkout ───────────────────────────────────────────────────── */
@media (max-width: 767.98px) {
  .checkout-steps { font-size: .75rem; gap: .5rem !important; }
  .checkout-steps .step-label { display: none; }
}

/* ── Product detail page ────────────────────────────────────────── */
@media (max-width: 575.98px) {
  .product-action-row { flex-wrap: wrap !important; }
  .product-action-row > * { flex: 1 1 auto; }
  .product-action-row .ajax-add-cart { min-width: 0; }
}

/* ── Shop page filters ──────────────────────────────────────────── */
@media (max-width: 767.98px) {
  .shop-filters-sidebar { position: fixed; bottom: 0; left: 0; right: 0; z-index: 1045; background: var(--bg-elevated); border-radius: var(--radius-lg) var(--radius-lg) 0 0; padding: 1.5rem; max-height: 75vh; overflow-y: auto; transform: translateY(100%); transition: transform .35s ease; box-shadow: 0 -8px 32px rgba(0,0,0,.15); }
  .shop-filters-sidebar.open { transform: translateY(0); }
  .shop-filter-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.4); z-index: 1044; display: none; }
  .shop-filter-overlay.open { display: block; }
}

/* ── Admin sidebar responsive ───────────────────────────────────── */
@media (max-width: 991.98px) {
  .admin-sidebar { transform: translateX(-100%); transition: transform .3s ease; box-shadow: none; }
  .admin-main { margin-left: 0 !important; }
  .admin-sidebar.open { transform: translateX(0); box-shadow: 4px 0 24px rgba(0,0,0,.25); }
  body.admin-sidebar-open { overflow: hidden; }
  #sidebarOverlay { z-index: 1040; }
  .admin-sidebar.open { z-index: 1050; }
  .admin-topbar { z-index: 1030; }
  .admin-content { padding: 1.25rem 1rem; }
  .admin-content .row > [class*="col-"] { margin-bottom: .75rem; }
}
@media (max-width: 575.98px) {
  .admin-content { padding: 1rem .75rem; }
  .stat-card { padding: 1.1rem; }
  .stat-card .stat-value { font-size: 1.5rem; }
  .page-header h4 { font-size: 1rem; }
  .admin-topbar { padding: .6rem 1rem; }
  /* Stack admin table on mobile */
  .table-responsive { -webkit-overflow-scrolling: touch; }
}

/* ── General utility ────────────────────────────────────────────── */
@media (max-width: 575.98px) {
  .d-xs-block { display: block !important; }
  .w-xs-100 { width: 100% !important; }
  section { padding-block: 3rem; }
  .newsletter-box { padding: 1.75rem 1.25rem; }
  .btn-lg { padding: .65rem 1.5rem; font-size: .95rem; }
}

/* ── About page responsive tweaks ───────────────────────────────── */
@media (max-width: 767.98px) {
  .about-hero-section { padding: 3.5rem 0 2.5rem; }
  .about-hero-heading { font-size: clamp(1.7rem, 5vw, 2.4rem); }
  .about-hero-visual { padding: .75rem; }
  .about-years-badge { padding: .75rem 1.1rem; }
  .about-stats-section { padding: 2.5rem 0; }
  .about-mvs-section { padding: 3rem 0; }
  .about-team-card { padding: 1.5rem; }
  .about-cta-section { padding: 3rem 0; }
}
@media (max-width: 575.98px) {
  .about-hero-card { aspect-ratio: 3/2; }
  .about-hero-card span { font-size: 5rem !important; }
  .about-mvs-card { padding: 1.5rem 1.25rem; }
  .about-team-emoji { font-size: 2.8rem; }
}

/* ================================================================
   ABOUT PAGE v2 — COMPLETE COMPONENT STYLES
   ================================================================ */

/* Hero */
.about-hero-section {
  background: linear-gradient(135deg, var(--cream-dark) 0%, var(--cream) 100%);
  padding: clamp(3rem,6vw,5.5rem) 0 clamp(2.5rem,5vw,4.5rem);
  position: relative; overflow: hidden;
}
.about-hero-blob { position: absolute; border-radius: 50%; pointer-events: none; }
.about-hero-blob--1 { width: 320px; height: 320px; top: -80px; right: -80px; background: rgba(210,105,30,.08); }
.about-hero-blob--2 { width: 200px; height: 200px; bottom: -50px; left: 6%; background: rgba(139,69,19,.06); }
.about-hero-heading {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.2; margin: .75rem 0 1.25rem;
}
.about-hero-text { font-size: 1rem; color: var(--text-medium); line-height: 1.85; margin-bottom: 1.25rem; }
.about-hero-tagline { font-style: italic; color: var(--text-medium); line-height: 1.7; }
.about-hero-visual { position: relative; padding: 1rem; }
.about-hero-card {
  background: var(--warm-white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); aspect-ratio: 4/3;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg);
}
.about-hero-emoji { font-size: clamp(5rem,10vw,8rem); }
.about-years-badge {
  position: absolute; bottom: -8px; right: 0;
  background: white; border-radius: var(--radius); padding: .85rem 1.25rem;
  box-shadow: var(--shadow); border: 1px solid var(--border); text-align: center;
}
.about-years-value { font-family: var(--font-display); font-size: 1.8rem; font-weight: 700; color: var(--primary); line-height: 1; }
.about-years-label { font-size: .75rem; color: var(--text-light); margin-top: .2rem; }

/* Stats bar */
.about-stats-section {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  padding: clamp(2rem,4vw,3.5rem) 0;
}
.about-stat-item { padding: .5rem; }
.about-stat-value { font-family: var(--font-display); font-size: clamp(1.6rem,3.5vw,2.4rem); font-weight: 700; line-height: 1; }
.about-stat-label { opacity: .85; font-size: clamp(.78rem,1.5vw,.9rem); margin-top: .35rem; }

/* Generic section padding */
.about-section-pad { padding: clamp(3rem,6vw,5rem) 0; }

/* Foundation cards */
.about-mvs-card {
  background: var(--warm-white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 2rem 1.5rem;
  height: 100%; text-align: center; transition: transform .3s, box-shadow .3s;
}
.about-mvs-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.about-mvs-icon {
  width: 60px; height: 60px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin: 0 auto 1.1rem;
}
.about-mvs-title { font-family: var(--font-display); font-weight: 700; margin-bottom: .6rem; font-size: 1.1rem; }
.about-mvs-text { font-size: .875rem; color: var(--text-light); margin: 0; line-height: 1.75; }

/* Team cards */
.about-team-card {
  background: var(--warm-white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 2rem 1.5rem;
  text-align: center; height: 100%; transition: transform .3s, box-shadow .3s;
}
.about-team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.about-team-photo { display: flex; justify-content: center; margin-bottom: .85rem; }
.about-team-photo .avatar-img,
.about-team-photo .avatar-fallback { width: 80px !important; height: 80px !important; border: 3px solid var(--border); }
.about-team-name { font-family: var(--font-display); font-weight: 700; margin-bottom: .2rem; font-size: 1rem; }
.about-team-role { font-size: .75rem; color: var(--accent); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; margin-bottom: .65rem; }
.about-team-bio { font-size: .855rem; color: var(--text-light); margin: 0; line-height: 1.7; }

/* Testimonials */
.testimonial-card {
  background: var(--warm-white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.75rem;
  height: 100%; display: flex; flex-direction: column;
}
.testi-stars { font-size: 1rem; margin-bottom: .65rem; }
.testi-text { font-size: .925rem; color: var(--text-medium); line-height: 1.75; flex: 1; margin-bottom: 1.1rem; }
.testi-author { display: flex; align-items: center; gap: .75rem; margin-top: auto; }
.testi-name { font-size: .9rem; font-weight: 700; }
.testi-role { font-size: .775rem; color: var(--text-light); }

/* CTA */
.about-cta-section {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  padding: clamp(3rem,6vw,4.5rem) 0;
}
.about-cta-title { font-family: var(--font-display); color: white; font-size: clamp(1.5rem,3vw,2.2rem); margin-bottom: .75rem; }
.about-cta-text { color: rgba(255,255,255,.9); font-size: 1.05rem; margin-bottom: 1.75rem; }
.about-cta-btn-primary {
  background: white !important; color: var(--primary) !important;
  font-weight: 700; border-radius: var(--radius); border: none !important;
}
.about-cta-btn-primary:hover { background: var(--cream) !important; }

/* Avatar component (used everywhere) */
.avatar-img, .avatar-fallback {
  display: block; border-radius: 50%;
  flex-shrink: 0;
}

/* ================================================================
   TABLET & RESPONSIVE OVERHAUL (480 → 1024px)
   ================================================================ */

/* ── 1024px — large tablets / small laptops ─────────────────────── */
@media (max-width: 1024px) {
  .hero-title      { font-size: clamp(1.9rem, 4.5vw, 2.6rem) !important; }
  .hero-image-card { width: 260px !important; height: 260px !important; }
  .about-hero-blob--1 { width: 220px; height: 220px; }
}

/* ── 991px — standard Bootstrap tablet breakpoint ──────────────── */
@media (max-width: 991.98px) {

  /* Navbar */
  .furniture-navbar .navbar-collapse {
    background: var(--cream-dark);
    border-radius: var(--radius);
    padding: 1rem 1.25rem;
    margin-top: .5rem;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    max-height: 75vh; overflow-y: auto;
  }
  .furniture-navbar .nav-link { padding: .6rem .75rem !important; }
  .furniture-navbar .navbar-actions {
    flex-wrap: wrap; justify-content: center;
    padding-top: .75rem; margin-top: .75rem;
    border-top: 1px solid var(--border); gap: .5rem !important;
  }

  /* Admin sidebar */
  .admin-sidebar { transform: translateX(-100%); transition: transform .3s ease; }
  .admin-main    { margin-left: 0 !important; }
  .admin-sidebar.open { transform: translateX(0); box-shadow: 4px 0 32px rgba(0,0,0,.25); z-index: 1050; }
  body.admin-sidebar-open { overflow: hidden; }
  #sidebarOverlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 1040; }
  .admin-sidebar.open ~ #sidebarOverlay { display: block; }
  .admin-content { padding: 1.25rem; }

  /* About hero stacks nicely */
  .about-hero-visual { margin-top: 1.5rem; }
  .about-years-badge { right: 1rem; }

  /* Grid cards 2-up on tablet */
  .about-team-card  { padding: 1.5rem 1.25rem; }
  .about-mvs-card   { padding: 1.75rem 1.25rem; }
  .testimonial-card { padding: 1.5rem; }

  /* Stats — ensure 2 per row on iPad portrait */
  .about-stats-section .col-6 { width: 50%; }
}

/* ── 768px — iPad portrait / large phone landscape ──────────────── */
@media (max-width: 767.98px) {

  /* Hero */
  .hero-section     { padding: 4.5rem 0 3rem; }
  .hero-title       { font-size: clamp(1.7rem,5.5vw,2.2rem) !important; }
  .hero-subtitle    { font-size: .95rem !important; }
  .hero-actions     { flex-direction: column; align-items: stretch; }
  .hero-actions .btn{ width: 100%; }
  .floating-card    { display: none; }
  .hero-image-card  { width: 200px !important; height: 200px !important; }
  .hero-stats       { gap: .75rem !important; flex-wrap: wrap; }
  .hero-stat-item   { min-width: 80px; }

  /* About page */
  .about-hero-section    { padding: 3rem 0 2rem; }
  .about-hero-heading    { font-size: clamp(1.6rem,5vw,2.2rem); }
  .about-hero-visual     { max-width: 360px; margin: 0 auto; }
  .about-section-pad     { padding: 3rem 0; }
  .about-cta-section     { padding: 3rem 0; }

  /* Testimonials: full width on tablet portrait */
  .testimonial-card { padding: 1.25rem; }

  /* Product grid: 2 cols on tablets */
  .col-md-3.col-6 { width: 50%; }

  /* Cart */
  .cart-item-row { flex-wrap: wrap !important; padding: 1rem !important; }
  .cart-item-row .qty-controls { margin-top: .5rem; }

  /* Footer */
  .furniture-footer .row > [class*="col-"] { margin-bottom: 1.5rem; }
  .footer-bottom { flex-direction: column; text-align: center; gap: .5rem; }
  .footer-bottom-links { justify-content: center; }

  /* Admin table scrollable */
  .table-responsive { -webkit-overflow-scrolling: touch; overflow-x: auto; }
}

/* ── 575px — large phones ────────────────────────────────────────── */
@media (max-width: 575.98px) {

  /* Global */
  section, .about-section-pad { padding-block: 2.5rem; }
  .section-title  { font-size: clamp(1.4rem,5vw,1.9rem) !important; }
  .container      { padding-inline: 1rem; }
  .btn-lg         { padding: .6rem 1.35rem; font-size: .9rem; }

  /* Navbar */
  .furniture-navbar  { padding: .35rem 0; }
  .navbar-actions .nav-btn { font-size: .78rem; padding: .3rem .65rem; }

  /* Hero */
  .hero-title     { font-size: clamp(1.5rem,6vw,2rem) !important; }
  .hero-image-card{ width: 170px !important; height: 170px !important; }

  /* About */
  .about-hero-card    { aspect-ratio: 3/2; }
  .about-hero-emoji   { font-size: clamp(3.5rem,10vw,5.5rem); }
  .about-years-badge  { padding: .6rem .9rem; }
  .about-years-value  { font-size: 1.4rem; }
  .about-stat-value   { font-size: clamp(1.4rem,5vw,1.9rem); }
  .about-mvs-icon     { width: 50px; height: 50px; font-size: 1.1rem; }
  .about-team-photo .avatar-img,
  .about-team-photo .avatar-fallback { width: 64px !important; height: 64px !important; }
  .about-cta-title    { font-size: clamp(1.3rem,5vw,1.7rem); }
  .about-cta-text     { font-size: .95rem; }

  /* Team: 2 columns on small phones */
  .col-sm-6.col-md-4.col-lg-3 { width: 50%; }

  /* Category grid */
  .category-card  { padding: .9rem .6rem; }
  .cat-icon       { width: 40px; height: 40px; font-size: 1.1rem; }

  /* Product cards */
  .product-info   { padding: .75rem; }
  .product-name   { font-size: .82rem; }
  .price-current  { font-size: .88rem; }

  /* Admin */
  .admin-content  { padding: .85rem .75rem; }
  .stat-card      { padding: 1rem; }
  .page-header h4 { font-size: .95rem; }
  .admin-topbar   { padding: .5rem .85rem; }

  /* Blog */
  .blog-content   { padding: .9rem; }
  .blog-title     { font-size: .875rem; }
}

/* ── 420px — very small phones ───────────────────────────────────── */
@media (max-width: 420px) {
  .about-hero-heading { font-size: 1.5rem; }
  .about-stats-section .col-6 { width: 50%; }
  .about-team-card { padding: 1.1rem .85rem; }
  .testi-text { font-size: .875rem; }
  .footer-brand h5 { font-size: 1rem; }
}

/* ============================================================
   shop-card — product listing card (shop page + homepage)
   ============================================================ */
.shop-card {
  border-radius: 12px;
  overflow: hidden;
  background: var(--warm-white);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform .25s ease, box-shadow .25s ease;
}
.shop-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

/* Image wrapper */
.shop-card-img-wrap {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--cream-dark);
  flex-shrink: 0;
}
.shop-card-img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform .5s ease;
}
.shop-card:hover .shop-card-img { transform: scale(1.06); }
.shop-card-img-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem; color: var(--border);
}

/* Discount badge — top left */
.shop-card-discount {
  position: absolute; top: 8px; left: 8px; z-index: 3;
  background: #c0392b; color: #fff;
  font-size: .68rem; font-weight: 800;
  padding: 3px 8px; border-radius: 4px;
  text-transform: uppercase; letter-spacing: .04em;
}

/* Hot badge — below discount */
.shop-card-hot {
  position: absolute; top: 34px; left: 8px; z-index: 3;
  background: #e67e22; color: #fff;
  font-size: .65rem; font-weight: 800;
  padding: 2px 8px; border-radius: 4px;
  text-transform: uppercase; letter-spacing: .04em;
}

/* Wishlist button — top right */
.shop-card-wishlist {
  position: absolute; top: 8px; right: 8px; z-index: 3;
  width: 32px; height: 32px;
  background: rgba(0,0,0,.45); border: none; border-radius: 50%;
  color: #fff; font-size: .8rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background .2s;
}
.shop-card-wishlist:hover { background: #e74c3c; }

/* Body */
.shop-card-body {
  padding: .9rem 1rem 1rem;
  display: flex; flex-direction: column; gap: .35rem;
  flex: 1;
}

/* Category label */
.shop-card-cat {
  font-size: .7rem; text-transform: uppercase;
  letter-spacing: .1em; color: var(--accent); font-weight: 700;
}

/* Product name */
.shop-card-name {
  font-size: .92rem; font-weight: 700;
  margin: 0; line-height: 1.35;
  color: var(--text-dark);
}
.shop-card-name a { color: var(--text-dark); }
.shop-card-name a:hover { color: var(--primary); }

/* In stock */
.shop-card-stock {
  font-size: .76rem; font-weight: 700;
  display: flex; align-items: center; gap: 5px;
}
.shop-card-stock.stock-in  { color: #27ae60; }
.shop-card-stock.stock-out { color: #e74c3c; }
.shop-card-stock i { font-size: .68rem; }

/* Price */
.shop-card-price {
  display: flex; align-items: baseline;
  gap: .45rem; flex-wrap: wrap;
}
.shop-card-price-old {
  font-size: .78rem; color: var(--text-light);
  text-decoration: line-through;
}
.shop-card-price-now {
  font-size: 1rem; font-weight: 800;
  color: var(--primary);
}

/* ── ORDER VIA WHATSAPP button ── */
.shop-card-wa-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin-top: auto;
  padding: .6rem .5rem;
  background: #1a7a2e;
  color: #fff !important;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  border: none;
  border-radius: 6px;
  text-decoration: none !important;
  cursor: pointer;
  transition: background .2s, transform .15s;
}
.shop-card-wa-btn i { font-size: .95rem; }
.shop-card-wa-btn:hover {
  background: #21913a;
  transform: translateY(-1px);
  color: #fff !important;
}
.shop-card-wa-btn:disabled {
  background: #999; cursor: not-allowed; transform: none;
}

/* Cart fallback */
.shop-card-cart-btn { background: var(--primary) !important; }
.shop-card-cart-btn:hover { background: var(--primary-dark) !important; }

/* Mobile */
@media (max-width: 576px) {
  .shop-card-name  { font-size: .82rem; }
  .shop-card-price-now { font-size: .9rem; }
  .shop-card-wa-btn { font-size: .68rem; padding: .55rem .4rem; }
}
