/* ============================================
   KHYATHI PRINTS - Main Stylesheet
   Shopify Dawn-inspired design (like loomslegacy.com)
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
  --primary-bg: #FDF2F0;
  --primary-dark: #3E2723;
  --accent: #7B1F3E;
  --accent-hover: #5E1730;
  --gold: #C5963A;
  --green: #2E5E3E;
  --orange: #D4532A;
  --text-primary: #3E2723;
  --text-secondary: #6D4C41;
  --white: #FFFFFF;
  --light-border: #E8D5CF;
  --hover-pink: #F5E0DA;
  --light-bg: #FAF5F3;
  --red: #D32F2F;
  --whatsapp: #25D366;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Lato', 'Segoe UI', sans-serif;
  --shadow-sm: 0 1px 3px rgba(62,39,35,0.08);
  --shadow-md: 0 4px 12px rgba(62,39,35,0.1);
  --shadow-lg: 0 8px 30px rgba(62,39,35,0.15);
  --radius: 8px;
  --transition: 0.3s ease;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-body); color: var(--text-primary); background: var(--primary-bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
button, input, select, textarea { font-family: inherit; font-size: inherit; border: none; outline: none; }
button { cursor: pointer; background: none; }

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); font-weight: 600; line-height: 1.3; color: var(--text-primary); }
h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.2rem; }
p { margin-bottom: 0.8rem; }

/* --- Layout --- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 60px 0; }

/* --- Buttons --- */
.btn { display: inline-block; padding: 12px 30px; border-radius: 2px; text-transform: uppercase; letter-spacing: 1.5px; font-weight: 700; font-size: 0.85rem; transition: var(--transition); text-align: center; cursor: pointer; border: 2px solid transparent; }
.btn-primary { background: var(--accent); color: var(--white); border-color: var(--accent); }
.btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn-secondary { background: var(--white); color: var(--accent); border-color: var(--white); }
.btn-secondary:hover { background: var(--accent); color: var(--white); }
.btn-outline { background: transparent; color: var(--accent); border-color: var(--accent); }
.btn-outline:hover { background: var(--accent); color: var(--white); }
.btn-green { background: var(--whatsapp); color: var(--white); border-color: var(--whatsapp); }
.btn-green:hover { background: #1DA851; border-color: #1DA851; }
.btn-block { display: block; width: 100%; }
.btn-sm { padding: 8px 18px; font-size: 0.75rem; }
.btn-lg { padding: 16px 40px; font-size: 0.95rem; }
.btn + .btn { margin-top: 10px; }

/* --- Announcement Bar (inside header) --- */
.announcement-bar { background: var(--primary-dark); color: var(--white); text-align: center; padding: 5px 0; font-size: 0.75rem; letter-spacing: 0.5px; }
.announcement-bar p { margin: 0; }
.announcement-bar a { color: var(--gold); text-decoration: underline; }

/* --- Header --- */
.header { background: #FEECEC; position: sticky; top: 0; z-index: 1000; transition: box-shadow var(--transition); }
.header.scrolled { box-shadow: var(--shadow-md); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 10px 20px; min-height: 95px; }
.logo { display: flex; align-items: center; }
.logo-img { max-height: 120px; }
.nav { display: flex; align-items: center; }
.nav-list { display: flex; gap: 30px; align-items: center; }
.nav-item a { color: var(--primary-dark); font-weight: 600; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; transition: var(--transition); padding: 8px 0; position: relative; }
.nav-item a:hover, .nav-item.active a { color: var(--accent); }
.nav-item.active a::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px; background: var(--accent); }
.nav-item a i { font-size: 0.65rem; margin-left: 4px; }
.nav-close-btn { display: none; }

/* Dropdown */
.has-dropdown { position: relative; }
.dropdown-menu { position: absolute; top: 100%; left: 50%; transform: translateX(-50%); background: var(--white); min-width: 240px; padding: 15px 0; box-shadow: var(--shadow-lg); border-radius: var(--radius); opacity: 0; visibility: hidden; transition: var(--transition); z-index: 100; }
.has-dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; }
.dropdown-menu a { display: block; padding: 8px 25px; font-size: 0.85rem; font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--text-secondary); }
.dropdown-menu a:hover { color: var(--accent); background: var(--light-bg); }

/* Header Actions */
.header-actions { display: flex; gap: 18px; align-items: center; }
.header-action-btn { color: var(--primary-dark); font-size: 1.25rem; position: relative; transition: var(--transition); background: none; border: none; cursor: pointer; }
.header-action-btn:hover { color: var(--accent); }
.cart-badge { position: absolute; top: -6px; right: -8px; background: var(--accent); color: var(--white); font-size: 0.65rem; width: 18px; height: 18px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 5px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--text-primary); transition: var(--transition); }
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
.nav-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); z-index: 999; }
.nav-overlay.active { display: block; }

/* Search Bar */
.search-bar { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; background: var(--white); border-top: 1px solid var(--light-border); }
.search-bar.active { max-height: 200px; }
.search-input-wrapper { display: flex; align-items: center; padding: 15px 0; }
#search-input { flex: 1; font-size: 1.1rem; padding: 10px 0; border: none; background: transparent; }
.search-close { font-size: 1.2rem; color: var(--text-secondary); padding: 10px; }
.search-results { position: absolute; left: 20px; right: 20px; background: var(--white); box-shadow: var(--shadow-lg); border-radius: var(--radius); max-height: 400px; overflow-y: auto; z-index: 100; }
.search-results:empty { display: none; }
.search-result-item { display: flex; gap: 12px; padding: 12px 15px; border-bottom: 1px solid var(--light-border); cursor: pointer; align-items: center; }
.search-result-item:hover { background: var(--light-bg); }
.search-result-item img { width: 50px; height: 50px; object-fit: cover; border-radius: 4px; }
.search-result-item .search-result-name { font-weight: 600; font-size: 0.9rem; }
.search-result-item .search-result-price { color: var(--accent); font-size: 0.85rem; }
mark { background: var(--hover-pink); padding: 0 2px; }

/* --- Hero Banner --- */
.hero { position: relative; min-height: 70vh; overflow: hidden; }
.hero-slideshow { position: relative; min-height: 70vh; }
.hero-slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.8s ease; padding: 40px 20px; }
.hero-slide.active { opacity: 1; z-index: 1; position: relative; }
.hero-slide-content { max-width: 650px; text-align: center; z-index: 2; }
.hero-subtitle { display: block; text-transform: uppercase; letter-spacing: 3px; color: var(--gold); font-size: 0.85rem; margin-bottom: 10px; font-weight: 700; }
.hero-title { font-family: var(--font-heading); font-size: 3.5rem; margin-bottom: 10px; }
.hero-desc { font-size: 1.4rem; color: var(--text-secondary); margin-bottom: 10px; }
.hero-text { font-size: 1rem; margin-bottom: 25px; line-height: 1.7; }
.light-text, .light-text .hero-title, .light-text .hero-desc, .light-text .hero-text { color: var(--white); }
.light-text .hero-subtitle { color: var(--gold); }
.hero-slide-image { margin-left: 40px; }
.hero-logo-img { max-width: 280px; animation: float 3s ease-in-out infinite; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-15px); } }
.hero-dots { position: absolute; bottom: 25px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: 10; }
.hero-dot { width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--white); background: transparent; cursor: pointer; transition: var(--transition); }
.hero-dot.active { background: var(--accent); border-color: var(--accent); }
.hero-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 10; width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,0.9); box-shadow: var(--shadow-sm); display: flex; align-items: center; justify-content: center; color: var(--text-primary); transition: var(--transition); }
.hero-arrow:hover { background: var(--accent); color: var(--white); }
.hero-prev { left: 20px; }
.hero-next { right: 20px; }

/* --- Section Header --- */
.section-header { text-align: center; margin-bottom: 40px; position: relative; }
.section-title { position: relative; display: inline-block; margin-bottom: 10px; }
.section-title::after { content: ''; position: absolute; bottom: -8px; left: 50%; transform: translateX(-50%); width: 60px; height: 3px; background: var(--gold); }
.section-subtitle { color: var(--text-secondary); margin-top: 15px; font-size: 1rem; }
.view-all-link { display: inline-block; color: var(--accent); font-weight: 700; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; margin-top: 10px; transition: var(--transition); }
.view-all-link:hover { color: var(--accent-hover); }
.view-all-link i { margin-left: 5px; font-size: 0.75rem; }

/* --- Category Cards --- */
.categories-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px; }
.category-card { position: relative; text-align: center; cursor: pointer; transition: transform var(--transition); overflow: hidden; border-radius: 12px; }
.category-card:hover { transform: translateY(-5px); }
.category-card-image { width: 100%; aspect-ratio: 1; overflow: hidden; background: var(--hover-pink); display: flex; align-items: center; justify-content: center; }
.category-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.category-card:hover .category-card-image img { transform: scale(1.05); }
.category-card-image .category-placeholder { font-size: 3rem; color: var(--accent); }
.category-card-overlay { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(transparent, rgba(62,39,35,0.8)); padding: 20px; text-align: center; }
.category-card-overlay h3 { color: var(--white); font-size: 1.2rem; margin: 0; text-transform: uppercase; letter-spacing: 2px; }
.category-card-overlay p { color: rgba(255,255,255,0.8); font-size: 0.85rem; margin: 5px 0 0; }
.category-card h3 { font-family: var(--font-heading); margin-top: 15px; font-size: 1.1rem; }
.category-card p { color: var(--text-secondary); font-size: 0.85rem; }
.category-card .category-price { color: var(--accent); font-weight: 700; font-size: 1rem; margin-top: 5px; }

/* --- Product Grid --- */
.products-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px; }
.product-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform var(--transition), box-shadow var(--transition); }
.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.product-card-image { position: relative; aspect-ratio: 3/4; overflow: hidden; background: var(--light-bg); }
.product-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.product-card:hover .product-card-image img { transform: scale(1.08); }
.product-card-badge { position: absolute; top: 10px; left: 10px; padding: 4px 12px; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; border-radius: 2px; z-index: 2; color: var(--white); }
.badge-sale { background: var(--accent); }
.badge-new { background: var(--green); }
.badge-bestseller { background: var(--gold); color: var(--text-primary); }
.product-card-quick { position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%) translateY(20px); opacity: 0; background: rgba(255,255,255,0.95); color: var(--accent); padding: 8px 20px; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; border-radius: 2px; transition: var(--transition); cursor: pointer; border: none; white-space: nowrap; }
.product-card:hover .product-card-quick { opacity: 1; transform: translateX(-50%) translateY(0); }
.product-card-body { padding: 15px; }
.product-card-category { text-transform: uppercase; font-size: 0.7rem; letter-spacing: 1px; color: var(--text-secondary); margin-bottom: 5px; }
.product-card-name { font-family: var(--font-heading); font-size: 1rem; color: var(--text-primary); margin-bottom: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.4; }
.product-card-name a { color: inherit; }
.product-card-name a:hover { color: var(--accent); }
.product-card-price { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-bottom: 10px; }
.current-price { color: var(--accent); font-weight: 700; font-size: 1.1rem; }
.original-price { color: var(--text-secondary); text-decoration: line-through; font-size: 0.9rem; }
.discount-percent { color: var(--green); font-size: 0.8rem; font-weight: 600; }
.add-to-cart-btn { display: block; width: 100%; padding: 10px; background: var(--primary-dark); color: var(--white); border: none; border-radius: 2px; font-weight: 700; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; cursor: pointer; transition: var(--transition); }
.add-to-cart-btn:hover { background: var(--accent); }

/* --- Delivery Info Banner --- */
.delivery-info { background: var(--light-bg); border: 1px solid var(--light-border); border-radius: var(--radius); padding: 15px 20px; margin: 15px 0; }
.delivery-info p { margin: 0; font-size: 0.9rem; color: var(--text-secondary); }
.delivery-info p i { color: var(--green); margin-right: 6px; }
.delivery-info .free-delivery { color: var(--green); font-weight: 700; }

/* --- Product Detail --- */
.product-detail, .product-detail-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding: 40px 0; }
.product-main-image { aspect-ratio: 3/4; background: var(--light-bg); border-radius: var(--radius); overflow: hidden; position: relative; }
.product-main-image img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; transition: transform 0.3s; }
.product-thumbnails { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 5px; }
.product-thumbnail { width: 70px; height: 70px; min-width: 70px; border-radius: 4px; overflow: hidden; cursor: pointer; border: 2px solid transparent; opacity: 0.6; transition: var(--transition); }
.product-thumbnail.active { opacity: 1; border-color: var(--accent); }
.product-thumbnail img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.product-info h1 { font-size: 2rem; margin-bottom: 15px; }
.product-price-section { font-size: 1.5rem; margin-bottom: 20px; display: flex; align-items: center; gap: 12px; }
.product-price-section .current-price { font-size: 1.6rem; }
.product-price-section .original-price { font-size: 1.1rem; }
.product-availability { display: flex; align-items: center; gap: 8px; margin-bottom: 15px; font-size: 0.9rem; }
.product-availability.in-stock { color: var(--green); }
.product-availability.out-of-stock { color: var(--red); }
.product-description { line-height: 1.8; margin-bottom: 20px; color: var(--text-secondary); }
.product-color-note { margin-top: 12px; padding: 10px 14px; background: #FFF8E1; border-left: 3px solid #FFC107; border-radius: 4px; font-size: 0.82rem; color: #6D5D00; line-height: 1.5; display: flex; align-items: flex-start; gap: 8px; }
.product-color-note i { color: #FFC107; margin-top: 2px; flex-shrink: 0; }
.product-details-list { margin-bottom: 20px; }
.product-details-list dt { font-weight: 700; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-secondary); margin-top: 12px; }
.product-details-list dd { margin-left: 0; margin-top: 4px; }
.product-detail-item { display: flex; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--light-border); font-size: 0.9rem; }
.product-detail-item i { color: var(--accent); width: 20px; text-align: center; }
.quantity-selector { display: flex; border: 1px solid var(--light-border); border-radius: 4px; width: fit-content; margin-bottom: 20px; }
.qty-btn { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; color: var(--text-primary); background: var(--light-bg); cursor: pointer; transition: var(--transition); border: none; }
.qty-btn:hover { background: var(--hover-pink); }
.qty-input { width: 60px; text-align: center; font-weight: 700; border: none; border-left: 1px solid var(--light-border); border-right: 1px solid var(--light-border); }
.qty-display { display: flex; align-items: center; justify-content: center; width: 40px; height: 44px; font-weight: 700; font-size: 0.9rem; border-left: 1px solid var(--light-border); border-right: 1px solid var(--light-border); }
.quantity-sm { margin-bottom: 0; }
.quantity-sm .qty-btn { width: 32px; height: 32px; font-size: 0.75rem; }
.quantity-sm .qty-display { width: 32px; height: 32px; font-size: 0.85rem; }
.cart-drawer-item-actions { display: flex; align-items: center; gap: 10px; margin-top: 6px; }
.product-actions { display: flex; flex-direction: column; gap: 12px; margin-top: 20px; }
.product-share { display: flex; gap: 10px; margin-top: 15px; }
.product-share button, .product-share a { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; border: 1px solid var(--light-border); color: var(--text-secondary); transition: var(--transition); font-size: 0.9rem; }
.product-share button:hover, .product-share a:hover { background: var(--accent); color: var(--white); border-color: var(--accent); }
.product-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 15px; }
.product-tags .tag { padding: 4px 14px; background: var(--light-bg); border-radius: 20px; font-size: 0.75rem; color: var(--text-secondary); text-transform: capitalize; }

/* Tabs */
.product-tabs { margin-top: 40px; border-top: 1px solid var(--light-border); }
.tab-nav { display: flex; gap: 0; border-bottom: 1px solid var(--light-border); }
.tab-nav button { padding: 15px 25px; font-weight: 600; color: var(--text-secondary); transition: var(--transition); border-bottom: 2px solid transparent; background: none; cursor: pointer; }
.tab-nav button.active { color: var(--accent); border-bottom-color: var(--accent); }
.tab-content { padding: 25px 0; display: none; }
.tab-content.active { display: block; }

/* --- Image with Text Section (like loomslegacy) --- */
.image-text-section { display: grid; grid-template-columns: 1fr 1fr; gap: 0; min-height: 400px; }
.image-text-section .section-image { overflow: hidden; }
.image-text-section .section-image img { width: 100%; height: 100%; object-fit: cover; }
.image-text-section .section-text { display: flex; flex-direction: column; justify-content: center; padding: 60px 50px; background: var(--light-bg); }
.image-text-section .section-text h2 { margin-bottom: 15px; }
.image-text-section .section-text p { color: var(--text-secondary); line-height: 1.8; margin-bottom: 20px; }

/* --- About Banner on Homepage --- */
.about-banner { background: var(--light-bg); padding: 60px 0; }
.about-banner-content h2 { text-align: center; margin-bottom: 40px; }
.about-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.about-feature { text-align: center; padding: 25px; }
.about-feature i { font-size: 2.5rem; color: var(--gold); margin-bottom: 15px; display: block; }
.about-feature h3 { margin-bottom: 8px; font-size: 1.1rem; }
.about-feature p { color: var(--text-secondary); font-size: 0.9rem; }

/* --- Cart Drawer --- */
.cart-drawer { position: fixed; top: 0; right: 0; width: 400px; height: 100vh; background: var(--white); z-index: 3000; transform: translateX(100%); transition: transform var(--transition); display: flex; flex-direction: column; box-shadow: var(--shadow-lg); }
.cart-drawer.open { transform: translateX(0); }
.cart-drawer-header { display: flex; justify-content: space-between; align-items: center; padding: 20px; border-bottom: 1px solid var(--light-border); }
.cart-drawer-header h3 { font-family: var(--font-heading); }
.cart-drawer-close { font-size: 1.3rem; color: var(--text-secondary); }
.cart-drawer-body { flex: 1; overflow-y: auto; padding: 15px; }
.cart-drawer-item { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--light-border); }
.cart-drawer-item-image { width: 60px; height: 60px; border-radius: 4px; overflow: hidden; flex-shrink: 0; }
.cart-drawer-item-image img { width: 100%; height: 100%; object-fit: cover; }
.cart-drawer-item-info { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.cart-drawer-item-name { display: block; font-weight: 600; font-size: 0.85rem; margin-bottom: 4px; line-height: 1.3; color: var(--text-primary); text-decoration: none; }
.cart-drawer-item-price { display: block; color: var(--accent); font-weight: 700; font-size: 0.85rem; }
.cart-drawer-item-qty { display: flex; align-items: center; gap: 8px; margin-top: 6px; }
.cart-drawer-item-qty button { width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--light-border); display: flex; align-items: center; justify-content: center; font-size: 0.8rem; }
.cart-drawer-item-remove { color: var(--red); font-size: 0.8rem; cursor: pointer; margin-top: 4px; }
.cart-drawer-footer { padding: 20px; border-top: 1px solid var(--light-border); }
.cart-subtotal { display: flex; justify-content: space-between; font-weight: 700; font-size: 1.1rem; margin-bottom: 15px; }
.cart-drawer-empty { text-align: center; padding: 40px 20px; color: var(--text-secondary); }
.cart-drawer-empty i { font-size: 3rem; margin-bottom: 15px; display: block; color: var(--light-border); }
.cart-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); z-index: 2999; display: none; }
.cart-overlay.active { display: block; }

/* --- Cart Page --- */
.cart-page-layout { display: grid; grid-template-columns: 7fr 3fr; gap: 30px; padding: 40px 0; }
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th { padding: 12px 15px; border-bottom: 2px solid var(--light-border); text-align: left; color: var(--text-secondary); text-transform: uppercase; font-size: 0.75rem; letter-spacing: 1px; }
.cart-table td { padding: 15px; vertical-align: middle; border-bottom: 1px solid var(--light-border); }
.cart-item-image { width: 100px; height: 100px; border-radius: var(--radius); overflow: hidden; }
.cart-item-image img { width: 100%; height: 100%; object-fit: cover; }
.cart-summary { background: var(--light-bg); padding: 25px; border-radius: var(--radius); position: sticky; top: 100px; }
.cart-summary h3 { margin-bottom: 20px; font-family: var(--font-heading); }
.cart-summary-row { display: flex; justify-content: space-between; padding: 10px 0; font-size: 0.95rem; }
.cart-summary-row.total { font-weight: 700; font-size: 1.15rem; border-top: 2px solid var(--light-border); margin-top: 10px; padding-top: 15px; }
.free-shipping-msg { background: #E8F5E9; color: var(--green); padding: 10px 15px; border-radius: 4px; font-size: 0.85rem; margin: 10px 0; text-align: center; font-weight: 600; }
.shipping-needed-msg { background: #FFF8E1; color: #F57F17; padding: 10px 15px; border-radius: 4px; font-size: 0.85rem; margin: 10px 0; text-align: center; }
.cart-cards { display: none; }
.empty-cart { text-align: center; padding: 60px 20px; }
.empty-cart i { font-size: 4rem; color: var(--light-border); margin-bottom: 20px; display: block; }
.empty-cart h3 { margin-bottom: 10px; }
.empty-cart p { color: var(--text-secondary); margin-bottom: 25px; }

/* --- Checkout Page --- */
.checkout-layout { display: grid; grid-template-columns: 7fr 5fr; gap: 30px; padding: 40px 0; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 6px; font-weight: 600; font-size: 0.85rem; color: var(--text-primary); }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 12px 15px; border: 1px solid var(--light-border); border-radius: 4px; font-family: var(--font-body); font-size: 0.95rem; transition: border-color var(--transition); background: var(--white); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--accent); }
.form-group input.error, .form-group select.error, .form-group textarea.error { border-color: var(--red); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-error { color: var(--red); font-size: 0.8rem; margin-top: 4px; display: none; }
.form-error.visible { display: block; }
.order-summary { background: var(--light-bg); padding: 25px; border-radius: var(--radius); position: sticky; top: 100px; }
.checkout-item { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--light-border); align-items: center; }
.checkout-item-image { width: 60px; height: 60px; border-radius: 4px; overflow: hidden; position: relative; flex-shrink: 0; }
.checkout-item-image img { width: 100%; height: 100%; object-fit: cover; }
.checkout-item-qty { position: absolute; top: -5px; right: -5px; background: var(--accent); color: var(--white); width: 20px; height: 20px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.65rem; font-weight: 700; }
.checkout-item-details { flex: 1; min-width: 0; }
.checkout-item-name { display: block; font-weight: 600; font-size: 0.9rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.checkout-item-variant { display: block; font-size: 0.8rem; color: var(--text-secondary); margin-top: 2px; }
.checkout-item-price { font-weight: 700; white-space: nowrap; flex-shrink: 0; }
.payment-notice { background: var(--hover-pink); padding: 15px; border-radius: var(--radius); margin: 15px 0; font-size: 0.9rem; text-align: center; }
.payment-notice i { color: var(--accent); margin-right: 5px; }
.checkout-form-wrapper { }
.checkout-section-title { font-family: var(--font-heading); font-size: 1.2rem; margin-bottom: 20px; padding-bottom: 10px; border-bottom: 1px solid var(--light-border); }
.checkout-summary { background: var(--light-bg); padding: 25px; border-radius: var(--radius); position: sticky; top: 100px; }
.checkout-summary h3 { font-family: var(--font-heading); font-size: 1.2rem; margin-bottom: 15px; padding-bottom: 10px; border-bottom: 1px solid var(--light-border); }
.checkout-summary-row { display: flex; justify-content: space-between; padding: 8px 0; font-size: 0.95rem; }
.checkout-summary-total { font-weight: 700; font-size: 1.1rem; border-top: 2px solid var(--text-primary); margin-top: 10px; padding-top: 12px; }
.checkout-gst-row { color: var(--text-secondary); font-size: 0.85rem; }
.checkout-gst-note { font-size: 0.8rem; color: var(--text-secondary); padding: 6px 0; display: flex; align-items: center; gap: 6px; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-row-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; }
.required { color: var(--red); }
.payment-info { margin-bottom: 25px; }
.payment-methods { display: flex; gap: 12px; margin-top: 15px; }
.payment-method { display: flex; align-items: center; gap: 8px; padding: 12px 20px; border: 1px solid var(--light-border); border-radius: var(--radius); font-size: 0.9rem; cursor: pointer; }
.payment-method.active { border-color: var(--accent); background: var(--hover-pink); }
.payment-method i { font-size: 1.2rem; color: var(--accent); }
.trust-badges { display: flex; gap: 12px; margin-top: 20px; flex-wrap: wrap; }
.trust-badge { display: flex; align-items: center; gap: 6px; font-size: 0.8rem; color: var(--text-secondary); }
.trust-badge i { color: var(--green); }
.cart-trust-badges { display: flex; flex-direction: column; gap: 8px; margin-top: 20px; padding-top: 15px; border-top: 1px solid var(--light-border); }

/* --- Breadcrumb --- */
.breadcrumb { padding: 15px 0; font-size: 0.85rem; }
.breadcrumb a { color: var(--text-secondary); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { color: var(--text-primary); font-weight: 600; }
.breadcrumb .separator { margin: 0 8px; color: var(--light-border); }

/* --- Catalog / Filter --- */
.catalog-layout { display: grid; grid-template-columns: 250px 1fr; gap: 30px; padding: 30px 0; }
.catalog-sidebar, .filter-sidebar { background: var(--white); padding: 20px; border-radius: var(--radius); box-shadow: var(--shadow-sm); position: sticky; top: 100px; max-height: calc(100vh - 120px); overflow-y: auto; }
.sidebar-header, .filter-sidebar-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; }
.sidebar-header h3, .filter-sidebar-header h3 { font-family: var(--font-heading); font-size: 1.1rem; margin: 0; }
.sidebar-close, .filter-sidebar-close { display: none; font-size: 1.2rem; color: var(--text-secondary); cursor: pointer; background: none; border: none; }
.filter-group { margin-bottom: 25px; padding-bottom: 20px; border-bottom: 1px solid var(--light-border); }
.filter-group:last-child { border-bottom: none; margin-bottom: 0; }
.filter-group-title, .filter-group-header h4 { font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; margin: 0 0 12px 0; color: var(--text-primary); }
.filter-group-header { display: flex; justify-content: space-between; align-items: center; cursor: pointer; margin-bottom: 12px; }
.filter-group-header i { font-size: 0.7rem; transition: transform var(--transition); color: var(--text-secondary); }
.filter-group.collapsed .filter-group-header i { transform: rotate(180deg); }
.filter-group.collapsed .filter-options, .filter-group.collapsed .filter-group-body { display: none; }
.filter-group-body { display: flex; flex-direction: column; gap: 2px; }
.filter-checkbox { display: flex; align-items: center; gap: 8px; padding: 6px 0; cursor: pointer; font-size: 0.9rem; color: var(--text-primary); }
.filter-checkbox input[type="checkbox"] { accent-color: var(--accent); width: 16px; height: 16px; flex-shrink: 0; cursor: pointer; }
.filter-checkbox .checkmark { display: none; }
.filter-option { display: flex; align-items: center; gap: 8px; padding: 6px 0; cursor: pointer; font-size: 0.9rem; }
.filter-option input[type="checkbox"] { accent-color: var(--accent); width: 16px; height: 16px; }
.clear-filters-btn { display: block; width: 100%; padding: 10px; border: 2px solid var(--primary-dark); border-radius: 4px; text-align: center; font-weight: 700; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; color: var(--accent); cursor: pointer; margin-top: 15px; transition: var(--transition); background: var(--white); }
.clear-filters-btn:hover { background: var(--accent); color: var(--white); border-color: var(--accent); }
.catalog-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; flex-wrap: wrap; gap: 10px; }
.catalog-toolbar .product-count { color: var(--text-secondary); font-size: 0.9rem; }
.sort-select { padding: 8px 12px; border: 1px solid var(--light-border); border-radius: 4px; font-size: 0.85rem; background: var(--white); }
.filter-toggle, .filter-toggle-btn { display: none; padding: 10px 20px; background: var(--white); border: 1px solid var(--light-border); border-radius: 4px; font-weight: 600; align-items: center; gap: 8px; cursor: pointer; }
.filter-toggle i, .filter-toggle-btn i { font-size: 0.9rem; }
.filter-overlay { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.5); z-index: 1999; }
.filter-overlay.active { display: block; }
.active-filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 15px; }
.active-filter-tag { display: flex; align-items: center; gap: 5px; padding: 4px 12px; background: var(--hover-pink); border-radius: 20px; font-size: 0.8rem; }
.active-filter-tag button { color: var(--accent); font-size: 0.9rem; background: none; border: none; cursor: pointer; }
.catalog-empty { text-align: center; padding: 60px 20px; display: none; }
.catalog-empty i { font-size: 3rem; color: var(--light-border); margin-bottom: 15px; display: block; }
.catalog-pagination { text-align: center; padding: 30px 0; }
.load-more { text-align: center; padding: 30px 0; }
.view-toggle { display: flex; gap: 4px; }
.view-toggle button { padding: 8px 10px; background: var(--white); border: 1px solid var(--light-border); border-radius: 4px; cursor: pointer; color: var(--text-secondary); }
.view-toggle button.active { background: var(--accent); color: var(--white); border-color: var(--accent); }

/* --- List View --- */
.products-grid.list-view { grid-template-columns: 1fr; gap: 15px; }
.products-grid.list-view .product-card { display: grid; grid-template-columns: 200px 1fr; }
.products-grid.list-view .product-card-image { height: 200px; }
.products-grid.list-view .product-card-body { display: flex; flex-direction: column; justify-content: center; }
@media (max-width: 768px) {
  .products-grid.list-view .product-card { grid-template-columns: 140px 1fr; }
  .products-grid.list-view .product-card-image { height: 160px; }
}

/* --- About Page --- */
.page-hero { background: var(--accent); color: var(--white); text-align: center; padding: 60px 20px; }
.page-hero h1 { color: var(--white); margin-bottom: 10px; }
.page-hero p { color: rgba(255,255,255,0.8); font-size: 1.1rem; }
.about-story { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; padding: 60px 0; }
.about-story-text { line-height: 1.8; }
.about-story-image { border-radius: var(--radius); overflow: hidden; }
.about-values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px; padding: 40px 0; }
.about-value-card { text-align: center; padding: 30px 20px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-sm); transition: var(--transition); }
.about-value-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.about-value-card i { font-size: 2.5rem; color: var(--gold); margin-bottom: 15px; display: block; }
.about-value-card h3 { margin-bottom: 8px; }
.about-value-card p { color: var(--text-secondary); font-size: 0.9rem; }
.about-promise { background: var(--light-bg); padding: 40px; border-radius: var(--radius); margin: 40px 0; }
.about-promise h2 { text-align: center; margin-bottom: 25px; }
.about-promise-list { max-width: 600px; margin: 0 auto; list-style: none; padding: 0; }
.about-promise-list li { display: flex; align-items: flex-start; gap: 0.75rem; padding: 10px 0; font-size: 1rem; line-height: 1.6; }
.about-promise-list li i { color: var(--green); font-size: 1.2rem; flex-shrink: 0; margin-top: 0.15em; display: inline-flex; }
.about-promise-list li span { flex: 1; }
.mission-vision { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin: 40px 0; }
.mission-card, .vision-card { padding: 30px; border-radius: var(--radius); }
.mission-card { background: var(--accent); color: var(--white); }
.mission-card h3, .vision-card h3 { margin-bottom: 15px; }
.vision-card { background: var(--white); border: 2px solid var(--accent); }
.mission-card i, .vision-card i { font-size: 2rem; margin-bottom: 15px; display: block; }
.mission-card i { color: var(--gold); }
.vision-card i { color: var(--accent); }

/* --- Contact Page --- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding: 40px 0; }
.contact-form-card { background: var(--white); padding: 30px; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.contact-info-cards { display: flex; flex-direction: column; gap: 15px; }
.contact-card { display: flex; gap: 15px; padding: 20px; background: var(--light-bg); border-radius: var(--radius); align-items: flex-start; }
.contact-card i { color: var(--accent); font-size: 1.4rem; margin-top: 2px; }
.contact-card h4 { margin-bottom: 4px; font-size: 1rem; }
.contact-card p, .contact-card a { color: var(--text-secondary); font-size: 0.9rem; }
.contact-card a:hover { color: var(--accent); }
.faq-section { padding: 60px 0; }
.faq-section h2 { text-align: center; margin-bottom: 30px; }
.faq-item { border-bottom: 1px solid var(--light-border); }
.faq-question { padding: 18px 0; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-weight: 600; font-size: 1rem; }
.faq-question i { transition: transform var(--transition); color: var(--accent); }
.faq-item.active .faq-question i { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-answer p { padding: 0 0 18px 0; color: var(--text-secondary); line-height: 1.7; }
.faq-item.active .faq-answer { max-height: 500px; }

/* --- Newsletter --- */
.newsletter-section { background: var(--accent); color: var(--white); text-align: center; padding: 60px 20px; }
.newsletter-content h2 { color: var(--white); margin-bottom: 10px; }
.newsletter-content p { color: rgba(255,255,255,0.8); margin-bottom: 25px; }
.newsletter-form { display: flex; gap: 10px; max-width: 500px; margin: 0 auto; }
.newsletter-form input { flex: 1; padding: 14px 20px; border: none; border-radius: 4px; font-size: 0.95rem; }
.newsletter-form button { white-space: nowrap; }

/* --- Footer --- */
.footer { background: var(--primary-dark); color: #E8D5CF; padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.footer-logo { max-height: 60px; margin-bottom: 15px; }
.footer-about { font-size: 0.9rem; line-height: 1.6; color: #BCAAA4; }
.footer-social { display: flex; gap: 10px; margin-top: 15px; }
.footer-social a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid #6D4C41; display: flex; align-items: center; justify-content: center; color: #BCAAA4; transition: var(--transition); font-size: 0.9rem; }
.footer-social a:hover { background: var(--accent); border-color: var(--accent); color: var(--white); }
.footer-col h4 { color: var(--white); margin-bottom: 18px; font-size: 1rem; position: relative; padding-bottom: 10px; }
.footer-col h4::after { content: ''; position: absolute; bottom: 0; left: 0; width: 30px; height: 2px; background: var(--gold); }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { color: #BCAAA4; font-size: 0.9rem; transition: var(--transition); }
.footer-col ul li a:hover { color: var(--white); padding-left: 5px; }
.footer-contact li { display: flex; gap: 10px; margin-bottom: 12px; font-size: 0.9rem; }
.footer-contact li i { color: var(--gold); margin-top: 3px; }
.footer-contact li a { color: #BCAAA4; }
.footer-contact li a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid #4E342E; margin-top: 40px; padding: 20px 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.footer-bottom p { font-size: 0.85rem; color: #BCAAA4; margin: 0; }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { color: #BCAAA4; font-size: 0.85rem; }
.footer-bottom-links a:hover { color: var(--white); }

/* --- WhatsApp Float --- */
.whatsapp-float { position: fixed; bottom: 25px; right: 25px; z-index: 999; width: 56px; height: 56px; border-radius: 50%; background: var(--whatsapp); color: var(--white); display: flex; align-items: center; justify-content: center; font-size: 1.8rem; box-shadow: 0 4px 15px rgba(37,211,102,0.4); transition: transform var(--transition); animation: pulse 2s infinite; }
.whatsapp-float:hover { transform: scale(1.1); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.4); } 70% { box-shadow: 0 0 0 15px rgba(37,211,102,0); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); } }

/* --- Back to Top --- */
.back-to-top { position: fixed; bottom: 90px; right: 25px; z-index: 998; width: 42px; height: 42px; border-radius: 50%; background: var(--accent); color: var(--white); display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-md); opacity: 0; pointer-events: none; transition: var(--transition); }
.back-to-top.visible { opacity: 1; pointer-events: auto; }
.back-to-top:hover { background: var(--accent-hover); transform: translateY(-2px); }

/* --- Toast Notifications --- */
.toast-container { position: fixed; top: 20px; right: 20px; z-index: 9999; display: flex; flex-direction: column; gap: 10px; }
.toast { display: flex; align-items: center; gap: 10px; padding: 14px 20px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-lg); animation: slideInRight 0.3s ease; min-width: 280px; font-size: 0.9rem; }
.toast-success { border-left: 4px solid var(--green); }
.toast-error { border-left: 4px solid var(--red); }
.toast-info { border-left: 4px solid var(--gold); }
.toast .toast-close { margin-left: auto; cursor: pointer; color: var(--text-secondary); font-size: 1.1rem; background: none; border: none; }
@keyframes slideInRight { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

/* --- Loading & Skeleton --- */
.loading-spinner { width: 40px; height: 40px; border: 3px solid var(--light-border); border-top-color: var(--accent); border-radius: 50%; animation: spin 0.8s linear infinite; margin: 30px auto; }
@keyframes spin { to { transform: rotate(360deg); } }
.skeleton { background: linear-gradient(90deg, var(--light-bg) 25%, var(--hover-pink) 50%, var(--light-bg) 75%); background-size: 200% 100%; animation: shimmer 1.5s infinite; border-radius: 4px; }
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* --- Modal --- */
.modal { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); z-index: 5000; display: flex; align-items: center; justify-content: center; padding: 20px; opacity: 0; visibility: hidden; transition: var(--transition); }
.modal.active { opacity: 1; visibility: visible; }
.modal-content { background: var(--white); border-radius: var(--radius); max-width: 900px; width: 100%; max-height: 90vh; overflow-y: auto; padding: 30px; position: relative; }
.modal-close { position: absolute; top: 15px; right: 15px; font-size: 1.3rem; color: var(--text-secondary); cursor: pointer; background: none; border: none; }
.quick-view-modal .product-detail { grid-template-columns: 1fr 1fr; gap: 20px; padding: 0; }

/* --- Utility --- */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.mb-5 { margin-bottom: 40px; }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.d-none { display: none !important; }
.d-block { display: block; }
.d-flex { display: flex; }
.badge { display: inline-block; padding: 3px 10px; border-radius: 20px; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; }
.badge-success { background: #E8F5E9; color: var(--green); }
.badge-danger { background: #FFEBEE; color: var(--red); }
.badge-warning { background: #FFF8E1; color: #F57F17; }
.tag { display: inline-block; padding: 4px 14px; background: var(--light-bg); border-radius: 20px; font-size: 0.75rem; color: var(--text-secondary); }
.img-placeholder { background: var(--hover-pink); display: flex; align-items: center; justify-content: center; color: var(--accent); font-size: 2rem; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* ===========================
   ADMIN PANEL STYLES
   =========================== */
.admin-body { background: var(--primary-bg); }

/* Admin Login */
.admin-login-container { display: flex; align-items: center; justify-content: center; min-height: 100vh; padding: 20px; }
.admin-login-card { background: var(--white); padding: 40px; border-radius: var(--radius); box-shadow: var(--shadow-lg); max-width: 400px; width: 100%; text-align: center; }
.admin-logo-img { max-width: 100px; margin: 0 auto 20px; }
.admin-login-title { margin-bottom: 8px; }
.admin-login-subtitle { color: var(--text-secondary); margin-bottom: 25px; font-size: 0.9rem; }
.admin-login-form .form-group { text-align: left; }
.admin-login-error { color: var(--red); font-size: 0.85rem; margin-top: 10px; text-align: center; }
.admin-login-error i { margin-right: 5px; }
.password-input-wrapper { position: relative; }
.password-input-wrapper input { padding-right: 45px; }
.password-toggle { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); color: var(--text-secondary); cursor: pointer; background: none; border: none; }
.admin-back-link { display: inline-block; margin-top: 20px; color: var(--text-secondary); font-size: 0.85rem; }
.admin-back-link:hover { color: var(--accent); }

/* Admin Header */
.admin-header { position: fixed; top: 0; left: 0; right: 0; height: 60px; background: var(--primary-dark); color: var(--white); display: flex; align-items: center; justify-content: space-between; padding: 0 20px; z-index: 1001; }
.admin-header-left { display: flex; align-items: center; gap: 15px; }
.admin-header-logo { max-height: 35px; }
.admin-header-title { font-size: 1rem; color: var(--white); margin: 0; font-family: var(--font-heading); }
.admin-sidebar-toggle { display: none; color: var(--white); font-size: 1.3rem; background: none; border: none; cursor: pointer; }
.admin-header-right { display: flex; align-items: center; gap: 15px; }
.admin-welcome { font-size: 0.85rem; color: #BCAAA4; }
.admin-logout-btn { padding: 6px 16px; }

/* Admin Sidebar */
.admin-sidebar { position: fixed; top: 60px; left: 0; bottom: 0; width: 250px; background: var(--white); border-right: 1px solid var(--light-border); overflow-y: auto; z-index: 1000; transition: transform var(--transition); }
.admin-nav-list { padding: 15px 0; }
.admin-nav-item { list-style: none; }
.admin-nav-item a { display: flex; align-items: center; gap: 12px; padding: 12px 20px; color: var(--text-secondary); font-size: 0.9rem; font-weight: 500; transition: var(--transition); border-left: 3px solid transparent; text-decoration: none; }
.admin-nav-item a:hover { background: var(--light-bg); color: var(--text-primary); }
.admin-nav-item.active a { background: var(--primary-bg); color: var(--accent); border-left-color: var(--accent); font-weight: 700; }
.admin-nav-item a i { width: 20px; text-align: center; }
.admin-nav-divider { height: 1px; background: var(--light-border); margin: 10px 20px; }
.admin-sidebar-overlay { display: none; position: fixed; top: 60px; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.5); z-index: 999; }
.admin-sidebar-overlay.active { display: block; }

/* Admin Main Content */
.admin-main { margin-left: 250px; padding: 80px 30px 30px; min-height: 100vh; }

/* Admin Page */
.admin-page { max-width: 1000px; }
.admin-page-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; flex-wrap: wrap; gap: 15px; }
.admin-page-title { margin: 0; }
.admin-page-subtitle { color: var(--text-secondary); font-size: 0.9rem; }

/* Admin Stats */
.admin-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 30px; }
.admin-stat-card { background: var(--white); padding: 20px; border-radius: var(--radius); box-shadow: var(--shadow-sm); display: flex; align-items: center; gap: 15px; }
.admin-stat-icon { width: 50px; height: 50px; border-radius: var(--radius); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; flex-shrink: 0; }
.admin-stat-info h3 { font-size: 1.8rem; font-weight: 700; margin: 0; font-family: var(--font-body); }
.admin-stat-info p { font-size: 0.8rem; color: var(--text-secondary); margin: 0; text-transform: uppercase; letter-spacing: 0.5px; }

/* Admin Section */
.admin-section { margin-bottom: 30px; }
.admin-section-title { font-size: 1.1rem; margin-bottom: 15px; }

/* Admin Quick Actions */
.admin-quick-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.admin-quick-action-btn { display: flex; align-items: center; gap: 8px; padding: 10px 20px; background: var(--white); border: 1px solid var(--light-border); border-radius: var(--radius); font-size: 0.85rem; font-weight: 600; transition: var(--transition); cursor: pointer; }
.admin-quick-action-btn:hover { border-color: var(--accent); color: var(--accent); }
.admin-quick-action-btn i { color: var(--accent); }

/* Admin Table */
.admin-table-wrapper { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th { background: var(--light-bg); padding: 12px 15px; text-align: left; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-secondary); }
.admin-table td { padding: 12px 15px; border-bottom: 1px solid var(--light-border); vertical-align: middle; font-size: 0.9rem; }
.admin-table tr:hover { background: var(--light-bg); }
.admin-table .table-image { width: 50px; height: 50px; border-radius: 4px; object-fit: cover; }
.admin-table-empty { text-align: center; padding: 30px; color: var(--text-secondary); }
.btn-edit { background: #E3F2FD; color: #1565C0; border: none; padding: 5px 10px; border-radius: 4px; font-size: 0.8rem; font-weight: 600; cursor: pointer; }
.btn-delete { background: #FFEBEE; color: var(--red); border: none; padding: 5px 10px; border-radius: 4px; font-size: 0.8rem; font-weight: 600; cursor: pointer; }
.btn-edit:hover { background: #BBDEFB; }
.btn-delete:hover { background: #FFCDD2; }

/* Admin Card */
.admin-card { background: var(--white); padding: 25px; border-radius: var(--radius); box-shadow: var(--shadow-sm); margin-bottom: 20px; }
.admin-card-title { font-size: 1rem; margin-bottom: 15px; padding-bottom: 12px; border-bottom: 1px solid var(--light-border); }
.admin-card-desc { color: var(--text-secondary); font-size: 0.9rem; margin-bottom: 15px; }

/* Admin Form */
.admin-form { max-width: 100%; }
.admin-form-grid { display: grid; grid-template-columns: 1fr 300px; gap: 25px; }
.admin-form-main { min-width: 0; }
.admin-form-sidebar { min-width: 0; }
.admin-form-actions { display: flex; gap: 12px; margin-top: 25px; padding-top: 20px; border-top: 1px solid var(--light-border); }
.form-help { font-size: 0.8rem; color: var(--text-secondary); margin-top: 4px; display: block; }
.required { color: var(--red); }
.input-prefix-wrapper { display: flex; align-items: center; border: 1px solid var(--light-border); border-radius: 4px; overflow: hidden; }
.input-prefix { padding: 12px; background: var(--light-bg); color: var(--text-secondary); font-size: 0.9rem; border-right: 1px solid var(--light-border); }
.input-prefix-wrapper input { border: none; flex: 1; }

/* Admin Toolbar */
.admin-toolbar { display: flex; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; align-items: center; }
.admin-search-bar { flex: 1; min-width: 200px; position: relative; }
.admin-search-bar input { width: 100%; padding: 10px 15px 10px 38px; border: 1px solid var(--light-border); border-radius: 4px; }
.admin-search-bar i { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--text-secondary); }
.admin-filters { display: flex; gap: 10px; }
.admin-filter-select { padding: 10px 15px; border: 1px solid var(--light-border); border-radius: 4px; background: var(--white); }

/* Image Upload */
.image-upload-area { border: 2px dashed var(--light-border); border-radius: var(--radius); padding: 40px; text-align: center; cursor: pointer; transition: var(--transition); }
.image-upload-area:hover, .image-upload-area.dragover { border-color: var(--accent); background: var(--primary-bg); }
.image-upload-area i { font-size: 2.5rem; color: var(--light-border); margin-bottom: 10px; display: block; }
.image-upload-area p { color: var(--text-secondary); font-size: 0.9rem; margin: 0; }
.image-upload-area input[type="file"] { display: none; }
.image-preview-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 15px; }
.image-preview-item { position: relative; aspect-ratio: 1; border-radius: 4px; overflow: hidden; border: 2px solid var(--light-border); }
.image-preview-item img { width: 100%; height: 100%; object-fit: cover; }
.image-preview-item .remove-image { position: absolute; top: 4px; right: 4px; width: 22px; height: 22px; border-radius: 50%; background: var(--red); color: var(--white); display: flex; align-items: center; justify-content: center; font-size: 0.7rem; cursor: pointer; border: none; }

/* Toggle Switch */
.toggle-switch { position: relative; display: inline-block; width: 46px; height: 24px; }
.toggle-switch input { opacity: 0; width: 0; height: 0; }
.toggle-slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background: var(--light-border); transition: var(--transition); border-radius: 24px; }
.toggle-slider::before { content: ''; position: absolute; height: 18px; width: 18px; left: 3px; bottom: 3px; background: var(--white); transition: var(--transition); border-radius: 50%; }
.toggle-switch input:checked + .toggle-slider { background: var(--green); }
.toggle-switch input:checked + .toggle-slider::before { transform: translateX(22px); }
.toggle-group { display: flex; align-items: center; justify-content: space-between; padding: 10px 0; }
.toggle-label { display: flex; align-items: center; justify-content: space-between; width: 100%; cursor: pointer; font-weight: 600; font-size: 0.9rem; }

/* Export Buttons */
.export-buttons-grid { display: flex; gap: 10px; flex-wrap: wrap; }

/* Admin Instructions */
.admin-instructions { background: var(--light-bg); padding: 20px; border-radius: var(--radius); margin-top: 15px; }
.admin-instructions ol { padding-left: 20px; list-style: decimal; }
.admin-instructions ol li { margin-bottom: 8px; font-size: 0.9rem; color: var(--text-secondary); }
.admin-instructions code { background: var(--hover-pink); padding: 2px 6px; border-radius: 3px; font-size: 0.85rem; }
.admin-instructions-note { margin-top: 15px; font-weight: 600; font-size: 0.85rem; }
.gsheet-columns { margin: 10px 0; padding: 10px; background: var(--hover-pink); border-radius: 4px; }
.admin-empty-state { text-align: center; padding: 40px; color: var(--text-secondary); }
.admin-empty-state i { font-size: 3rem; color: var(--light-border); margin-bottom: 15px; display: block; }

/* Admin Categories Grid */
.admin-categories-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.admin-category-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; }
.admin-category-card-image { height: 120px; background: var(--hover-pink); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.admin-category-card-image img { width: 100%; height: 100%; object-fit: cover; }
.admin-category-card-body { padding: 15px; }
.admin-category-card-body h4 { margin-bottom: 5px; }
.admin-category-card-body p { font-size: 0.85rem; color: var(--text-secondary); margin-bottom: 10px; }
.admin-category-card-body .card-actions { display: flex; gap: 8px; }

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 1200px) {
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  .admin-stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1024px) {
  .catalog-layout { grid-template-columns: 1fr; }
  .catalog-sidebar, .filter-sidebar { position: fixed; top: 0; left: 0; bottom: 0; width: 300px; z-index: 2000; transform: translateX(-100%); transition: transform var(--transition); max-height: 100vh; border-radius: 0; }
  .catalog-sidebar.open, .filter-sidebar.open { transform: translateX(0); }
  .sidebar-close, .filter-sidebar-close { display: block; }
  .filter-toggle, .filter-toggle-btn { display: flex; }
  .about-values { grid-template-columns: repeat(2, 1fr); }
  .mission-vision { grid-template-columns: 1fr; }
  .admin-categories-grid { grid-template-columns: repeat(2, 1fr); }
  .admin-form-grid { grid-template-columns: 1fr; }
  .image-text-section { grid-template-columns: 1fr; }
}

@media (max-width: 992px) {
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.5rem; }
  .hamburger { display: flex; }
  .header-inner { justify-content: flex-start; min-height: 60px; padding: 5px 15px; }
  .logo { position: absolute; left: 50vw; top: 50%; transform: translate(-50%, -50%); z-index: 1; }
  .logo-img { max-height: 45px !important; width: auto !important; }
  .header-actions { margin-left: auto; }
  .nav { position: fixed; top: 0; left: 0; bottom: 0; width: 300px; background: var(--white); z-index: 2000; flex-direction: column; transform: translateX(-100%); transition: transform var(--transition); padding: 60px 20px 20px; overflow-y: auto; }
  .nav.open { transform: translateX(0); }
  .nav-close-btn { display: block; position: absolute; top: 15px; right: 15px; font-size: 1.5rem; color: var(--text-secondary); cursor: pointer; }
  .nav-list { flex-direction: column; gap: 0; width: 100%; }
  .nav-item a { display: block; padding: 14px 0; border-bottom: 1px solid var(--light-border); font-size: 1rem; }
  .nav .dropdown-menu { position: static !important; transform: none !important; box-shadow: none !important; opacity: 1 !important; visibility: visible !important; display: none !important; padding: 0 0 0 15px !important; min-width: 0 !important; background: #faf5f4 !important; border-left: 3px solid var(--accent) !important; margin: 0 !important; border-radius: 0 !important; transition: none !important; }
  .nav .has-dropdown.dropdown-open > .dropdown-menu { display: block !important; }
  .nav .dropdown-menu a { padding: 10px 15px !important; font-size: 0.9rem !important; border-bottom: 1px solid rgba(0,0,0,0.05) !important; color: var(--text-secondary) !important; text-transform: none !important; letter-spacing: 0 !important; font-weight: 400 !important; }
  .nav .dropdown-menu a:last-child { border-bottom: none !important; }
  .has-dropdown.dropdown-open > a i { transform: rotate(180deg); }
  .nav-item a i { transition: transform 0.3s ease; }
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 15px; }
  .categories-grid { grid-template-columns: repeat(2, 1fr); gap: 15px; }
  .hero { min-height: auto; }
  .hero-slideshow { position: relative; min-height: auto; }
  .hero-slide { position: absolute; top: 0; left: 0; width: 100%; padding: 50px 20px; min-height: 350px; opacity: 0; pointer-events: none; }
  .hero-slide.active { position: relative; opacity: 1; pointer-events: auto; }
  .hero-title { font-size: 2rem; }
  .hero-desc { font-size: 1.1rem; }
  .hero-slide-image { display: none; }
  .hero-arrow { display: none; }
  .about-features { grid-template-columns: repeat(2, 1fr); }
  .product-detail, .product-detail-layout { grid-template-columns: 1fr; }
  .cart-page-layout { grid-template-columns: 1fr; }
  .cart-table { display: none; }
  .cart-cards { display: flex; flex-direction: column; gap: 15px; }
  .cart-card-item { display: flex; gap: 12px; padding: 15px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
  .cart-card-item img { width: 80px; height: 80px; border-radius: var(--radius); object-fit: cover; }
  .checkout-layout { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .about-story { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .newsletter-form { flex-direction: column; }
  .cart-drawer { width: 100%; }
  .product-card-quick { display: none !important; }
  .quick-view-modal .product-detail { grid-template-columns: 1fr; }
  .form-row, .form-row-2, .form-row-3 { grid-template-columns: 1fr; }

  /* Admin responsive */
  .admin-sidebar-toggle { display: block; }
  .admin-sidebar { transform: translateX(-100%); }
  .admin-sidebar.open { transform: translateX(0); }
  .admin-sidebar-overlay.active { display: block; }
  .admin-main { margin-left: 0; padding: 70px 15px 15px; }
  .admin-categories-grid { grid-template-columns: 1fr; }
  .image-preview-grid { grid-template-columns: repeat(3, 1fr); }
  .admin-stats-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .container { padding: 0 15px; }
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .product-card-body { padding: 10px; }
  .product-card-name { font-size: 0.85rem; }
  .current-price { font-size: 0.95rem; }
  .categories-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .section { padding: 40px 0; }
  .btn { padding: 10px 20px; font-size: 0.8rem; }
  .about-features { grid-template-columns: 1fr; }
  .about-values { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .admin-stats-grid { grid-template-columns: 1fr; }
  .admin-toolbar { flex-direction: column; }
  .export-buttons-grid { flex-direction: column; }
}

/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--light-bg); }
::-webkit-scrollbar-thumb { background: var(--light-border); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-secondary); }

/* Lazy load */
.lazy { opacity: 0; transition: opacity 0.5s ease; }
.lazy.loaded { opacity: 1; }

/* Print */
@media print {
  .header, .footer, .announcement-bar, .whatsapp-float, .back-to-top, .cart-drawer, .cart-overlay, .toast-container { display: none !important; }
  body { background: white; }
}
