/* -------------------------------------------------------------
   ABIRAMI KITCHENS - GLOBAL CUSTOM STYLESHEET
   White + Gold Theme - Premium D2C eCommerce
------------------------------------------------------------- */

:root {
  /* Colors */
  --bg-primary: #FFFFFF;
  --bg-secondary: #FFFDF9;
  --bg-tertiary: #FAF7F2;
  --accent-gold: #D4AF37;
  --accent-gold-dark: #B38F1E;
  --accent-gold-light: #F6EDD2;
  --text-main: #1A1A1A;
  --text-muted: #666666;
  --text-white: #FFFFFF;
  --border-color: #EAE0D5;
  --border-light: #F4EFEA;
  --success-color: #4CAF50;
  --danger-color: #E53935;
  --shadow-subtle: 0 4px 20px rgba(0, 0, 0, 0.02);
  --shadow-medium: 0 8px 30px rgba(212, 175, 55, 0.06);
  --shadow-large: 0 12px 40px rgba(212, 175, 55, 0.12);
  --shadow-inset: inset 0 2px 4px rgba(0, 0, 0, 0.06);

  /* Fonts */
  --font-heading: 'Playfair Display', serif;
  --font-subheading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Transitions */
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-quick: all 0.15s ease-in-out;
}

/* Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-quick);
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  outline: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* -------------------------------------------------------------
   REUSABLE COMPONENTS & UTILITIES
------------------------------------------------------------- */

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-tertiary);
}
::-webkit-scrollbar-thumb {
  background: var(--accent-gold-light);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-gold);
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  font-family: var(--font-subheading);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  border-radius: 5px;
  transition: var(--transition-smooth);
  gap: 8px;
}

.btn-primary {
  background-color: var(--text-main);
  color: var(--text-white);
  border: 1px solid var(--text-main);
}
.btn-primary:hover {
  background-color: var(--accent-gold-dark);
  border-color: var(--accent-gold-dark);
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.2);
}

.btn-gold {
  background-color: var(--accent-gold);
  color: var(--text-white);
  border: 1px solid var(--accent-gold);
}
.btn-gold:hover {
  background-color: var(--accent-gold-dark);
  border-color: var(--accent-gold-dark);
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.btn-secondary {
  background-color: transparent;
  color: var(--text-main);
  border: 1px solid var(--border-color);
}
.btn-secondary:hover {
  background-color: var(--bg-tertiary);
  border-color: var(--accent-gold);
}

.btn-whatsapp {
  background-color: #25D366;
  color: var(--text-white);
  border: 1px solid #25D366;
}
.btn-whatsapp:hover {
  background-color: #128C7E;
  border-color: #128C7E;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.btn-block {
  width: 100%;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
}

/* Floating WhatsApp Badge */
.whatsapp-sticky {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  background-color: #25D366;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  transition: var(--transition-smooth);
}
.whatsapp-sticky:hover {
  transform: translateY(-5px);
  background-color: #128C7E;
}

/* Section Title */
.section-title {
  text-align: center;
  margin-bottom: 40px;
}
.section-title h2 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  color: var(--text-main);
  font-weight: 600;
  position: relative;
  display: inline-block;
  padding-bottom: 12px;
}
.section-title h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background-color: var(--accent-gold);
}
.section-title p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-top: 10px;
  font-family: var(--font-subheading);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Badges */
.badge-discount {
  background-color: #E31837;
  color: white;
  padding: 4px 8px;
  border-radius: 3px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

/* Stars */
.stars-container {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--accent-gold);
  font-size: 0.85rem;
}
.stars-container span {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-left: 4px;
}

/* Forms */
.form-group {
  margin-bottom: 16px;
}
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 6px;
  font-family: var(--font-subheading);
}
.form-control {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font-family: var(--font-body);
  transition: var(--transition-quick);
  font-size: 0.95rem;
}
.form-control:focus {
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

/* -------------------------------------------------------------
   HEADER & FOOTER
------------------------------------------------------------- */
.announcement-bar {
  background-color: var(--text-main);
  color: var(--accent-gold);
  text-align: center;
  font-family: var(--font-subheading);
  font-weight: 500;
  font-size: 0.75rem;
  padding: 8px 0;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.main-header {
  background-color: var(--bg-primary);
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-subtle);
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 0;
  gap: 20px;
}

.logo-container {
  display: flex;
  flex-direction: column;
}
.logo-main {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: -0.5px;
}
.logo-main span {
  color: var(--accent-gold);
}
.logo-sub {
  font-family: var(--font-subheading);
  font-size: 0.65rem;
  color: var(--text-muted);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: -4px;
  font-weight: 600;
}

.search-bar-container {
  flex: 1;
  max-width: 450px;
  position: relative;
}
.search-input {
  width: 100%;
  padding: 10px 40px 10px 15px;
  border: 1px solid var(--border-color);
  border-radius: 20px;
  font-size: 0.9rem;
  background-color: var(--bg-secondary);
  transition: var(--transition-quick);
}
.search-input:focus {
  border-color: var(--accent-gold);
  background-color: var(--bg-primary);
}
.search-icon-btn {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}
.action-link {
  font-size: 1.3rem;
  color: var(--text-main);
  position: relative;
}
.action-link:hover {
  color: var(--accent-gold);
}
.cart-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background-color: var(--accent-gold-dark);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-nav {
  border-top: 1px solid var(--border-light);
  display: flex;
  justify-content: center;
}
.nav-list {
  display: flex;
  gap: 30px;
}
.nav-link {
  display: block;
  padding: 12px 5px;
  font-family: var(--font-subheading);
  font-weight: 500;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-main);
  position: relative;
}
.nav-link:hover, .nav-link.active {
  color: var(--accent-gold-dark);
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-gold);
  transition: var(--transition-smooth);
}
.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.mobile-menu-btn {
  display: none;
  font-size: 1.4rem;
  color: var(--text-main);
}

/* Footer styling */
.main-footer {
  background-color: var(--text-main);
  color: var(--bg-tertiary);
  padding: 60px 0 20px;
  margin-top: 80px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 2fr;
  gap: 40px;
  margin-bottom: 50px;
}
.footer-col h3 {
  font-family: var(--font-subheading);
  font-size: 1.1rem;
  color: var(--accent-gold);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.footer-col p {
  font-size: 0.9rem;
  color: #CCCCCC;
  margin-bottom: 15px;
}
.footer-about .footer-logo {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--bg-primary);
  margin-bottom: 10px;
}
.footer-about .footer-logo span {
  color: var(--accent-gold);
}
.footer-links li {
  margin-bottom: 10px;
}
.footer-links a {
  color: #CCCCCC;
  font-size: 0.9rem;
}
.footer-links a:hover {
  color: var(--accent-gold);
  padding-left: 5px;
}
.footer-contact li {
  margin-bottom: 12px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: #CCCCCC;
}
.footer-contact li i {
  color: var(--accent-gold);
  margin-top: 4px;
}
.newsletter-form {
  display: flex;
  margin-top: 15px;
}
.newsletter-input {
  flex: 1;
  padding: 10px;
  border: 1px solid #444;
  background-color: #262626;
  color: white;
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
  font-size: 0.9rem;
}
.newsletter-btn {
  background-color: var(--accent-gold);
  color: var(--text-white);
  padding: 0 15px;
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
  font-size: 0.9rem;
  transition: var(--transition-quick);
}
.newsletter-btn:hover {
  background-color: var(--accent-gold-dark);
}

.footer-bottom {
  border-top: 1px solid #333;
  padding-top: 20px;
  text-align: center;
  font-size: 0.8rem;
  color: #999;
}

/* -------------------------------------------------------------
   HOMEPAGE
------------------------------------------------------------- */
/* Hero Slide */
.hero-slider {
  background-color: var(--bg-tertiary);
  margin-bottom: 60px;
  position: relative;
  overflow: hidden;
  height: 480px;
}
.hero-slide {
  display: flex;
  height: 100%;
}
.hero-content {
  flex: 1;
  padding: 60px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 2;
}
.hero-tag {
  font-family: var(--font-subheading);
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--accent-gold-dark);
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 12px;
}
.hero-content h1 {
  font-family: var(--font-heading);
  font-size: 3.2rem;
  line-height: 1.15;
  color: var(--text-main);
  margin-bottom: 20px;
}
.hero-content h1 span {
  color: var(--accent-gold);
}
.hero-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 30px;
  max-width: 500px;
}
.hero-buttons {
  display: flex;
  gap: 15px;
}
.hero-image-wrapper {
  flex: 1.2;
  position: relative;
}
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Category Icons Section */
.categories-section {
  padding: 40px 0 60px;
}
.categories-grid {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.category-card {
  flex: 1;
  min-width: 150px;
  text-align: center;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 20px;
  transition: var(--transition-smooth);
}
.category-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-gold);
  box-shadow: var(--shadow-medium);
}
.category-icon {
  width: 60px;
  height: 60px;
  background-color: var(--accent-gold-light);
  color: var(--accent-gold-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  font-size: 1.6rem;
  transition: var(--transition-smooth);
}
.category-card:hover .category-icon {
  background-color: var(--accent-gold-dark);
  color: white;
}
.category-name {
  font-family: var(--font-subheading);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-main);
}

/* Product Card Component */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}
.product-card {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  overflow: hidden;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  position: relative;
}
.product-card:hover {
  box-shadow: var(--shadow-medium);
  border-color: var(--accent-gold-light);
  transform: translateY(-4px);
}
.product-card-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 5;
}
.product-image-container {
  width: 100%;
  height: 220px;
  background-color: var(--bg-secondary);
  overflow: hidden;
}
.product-card-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background-color: var(--bg-primary);
  transition: var(--transition-smooth);
}
.product-card:hover .product-card-img {
  transform: scale(1.05);
}
.product-info {
  padding: 15px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-card-category {
  font-family: var(--font-subheading);
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.8px;
  margin-bottom: 5px;
}
.product-card-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 8px;
  line-height: 1.3;
  height: 42px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.product-card-pricing {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.selling-price {
  font-weight: 700;
  color: var(--text-main);
  font-size: 1.15rem;
}
.mrp-price {
  color: var(--text-muted);
  text-decoration: line-through;
  font-size: 0.85rem;
}
.discount-percentage {
  color: #E31837;
  font-size: 0.85rem;
  font-weight: 600;
}
.card-cta-container {
  display: flex;
  gap: 8px;
  margin-top: auto;
}
.card-cta-btn {
  flex: 1;
  padding: 8px 12px;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 4px;
}

/* Reviews Banner / Why Choose Us */
.features-section {
  background-color: var(--bg-secondary);
  padding: 60px 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.feature-card {
  text-align: center;
}
.feature-icon {
  font-size: 2.2rem;
  color: var(--accent-gold-dark);
  margin-bottom: 15px;
}
.feature-card h4 {
  font-family: var(--font-subheading);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 8px;
}
.feature-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Review Section on Home */
.reviews-section {
  padding: 80px 0;
}
.reviews-slider {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
}
.review-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 25px;
  box-shadow: var(--shadow-subtle);
  display: flex;
  flex-direction: column;
}
.review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.reviewer-name {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-main);
  font-family: var(--font-subheading);
}
.review-card h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.review-comment {
  font-size: 0.85rem;
  color: var(--text-muted);
  flex: 1;
}
.review-date {
  font-size: 0.75rem;
  color: #999;
  margin-top: 15px;
}

/* -------------------------------------------------------------
   PRODUCT LISTING PAGE
------------------------------------------------------------- */
.listing-layout {
  display: flex;
  gap: 30px;
  padding: 40px 0;
}
.filters-sidebar {
  width: 250px;
  flex-shrink: 0;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 25px;
  height: fit-content;
}
.filter-block {
  margin-bottom: 30px;
}
.filter-block:last-child {
  margin-bottom: 0;
}
.filter-title {
  font-family: var(--font-subheading);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 15px;
  color: var(--text-main);
}
.filter-list li {
  margin-bottom: 10px;
}
.filter-btn {
  text-align: left;
  font-size: 0.9rem;
  color: var(--text-muted);
  padding: 4px 0;
  width: 100%;
  outline: none;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}
.filter-btn:hover, .filter-btn.active {
  color: var(--accent-gold-dark);
  font-weight: 600;
  padding-left: 5px;
}
.listing-main {
  flex: 1;
}
.listing-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.sort-select {
  padding: 8px 12px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  background-color: white;
}

/* -------------------------------------------------------------
   PRODUCT DETAIL PAGE
------------------------------------------------------------- */
.product-details-container {
  padding: 40px 0;
}
.detail-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  margin-bottom: 60px;
}
.detail-gallery {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.gallery-main {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  overflow: hidden;
  height: 480px;
}
.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background-color: white;
}
.gallery-thumbs {
  display: flex;
  gap: 12px;
}
.thumb-btn {
  width: 80px;
  height: 80px;
  border-radius: 4px;
  border: 1px solid var(--border-light);
  overflow: hidden;
  background-color: var(--bg-secondary);
}
.thumb-btn.active {
  border-color: var(--accent-gold);
  border-width: 2px;
}
.thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background-color: white;
}

.detail-info {
  display: flex;
  flex-direction: column;
}
.detail-category {
  font-family: var(--font-subheading);
  text-transform: uppercase;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--accent-gold-dark);
  margin-bottom: 8px;
}
.detail-title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  line-height: 1.2;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 12px;
}
.detail-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 15px;
}
.detail-pricing {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 25px;
}
.detail-selling {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-main);
}
.detail-mrp {
  font-size: 1.1rem;
  color: var(--text-muted);
  text-decoration: line-through;
}
.detail-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 30px;
  line-height: 1.7;
}

.option-group {
  margin-bottom: 25px;
}
.option-title {
  font-family: var(--font-subheading);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  margin-bottom: 10px;
  color: var(--text-main);
}
.option-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.chip-btn {
  padding: 8px 16px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 500;
  background-color: white;
  transition: var(--transition-quick);
}
.chip-btn:hover {
  border-color: var(--accent-gold);
}
.chip-btn.active {
  border-color: var(--text-main);
  background-color: var(--text-main);
  color: white;
}

.quantity-container {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  width: fit-content;
  background-color: white;
}
.qty-btn {
  padding: 8px 15px;
  font-size: 1.1rem;
  font-weight: 600;
}
.qty-value {
  width: 40px;
  text-align: center;
  font-weight: 600;
}

.action-buttons-stack {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-bottom: 25px;
  margin-top: 10px;
}
.whatsapp-enquiry-stack {
  margin-bottom: 30px;
}

/* Delivery Check */
.pincode-check-card {
  background-color: var(--bg-tertiary);
  border: 1px solid var(--border-light);
  border-radius: 6px;
  padding: 20px;
  margin-bottom: 35px;
}
.pincode-input-group {
  display: flex;
  margin-top: 10px;
}
.pincode-input {
  flex: 1;
  padding: 10px 15px;
  border: 1px solid var(--border-color);
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
  font-size: 0.9rem;
}
.pincode-btn {
  background-color: var(--text-main);
  color: white;
  padding: 10px 20px;
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
  font-family: var(--font-subheading);
  font-weight: 600;
  font-size: 0.85rem;
}
.pincode-btn:hover {
  background-color: var(--accent-gold-dark);
}
.pincode-feedback {
  margin-top: 10px;
  font-size: 0.85rem;
  color: var(--success-color);
  font-weight: 500;
}

.highlights-box h3 {
  font-family: var(--font-subheading);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 8px;
}
.highlights-list {
  list-style-type: disc;
  margin-left: 20px;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.highlights-list li {
  margin-bottom: 8px;
}

/* -------------------------------------------------------------
   CART PAGE
------------------------------------------------------------- */
.cart-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  padding: 40px 0;
}
.cart-items-wrapper {
  background-color: white;
}
.cart-empty {
  text-align: center;
  padding: 60px 20px;
  border: 1px solid var(--border-light);
  border-radius: 8px;
}
.cart-empty i {
  font-size: 3.5rem;
  color: var(--accent-gold-light);
  margin-bottom: 20px;
}
.cart-empty h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  margin-bottom: 15px;
}

.cart-item-card {
  display: flex;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border-light);
}
.cart-item-card:first-child {
  padding-top: 0;
}
.cart-item-img {
  width: 100px;
  height: 100px;
  background-color: var(--bg-secondary);
  border-radius: 4px;
  overflow: hidden;
  object-fit: cover;
  flex-shrink: 0;
}
.cart-item-details {
  flex: 1;
}
.cart-item-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 6px;
}
.cart-item-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.cart-item-meta span {
  margin-right: 15px;
}
.cart-qty-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.remove-item-btn {
  color: var(--danger-color);
  font-size: 0.85rem;
  font-weight: 500;
}
.remove-item-btn:hover {
  text-decoration: underline;
}

/* Shipping Progress Bar */
.shipping-promo-bar {
  background-color: var(--bg-tertiary);
  padding: 15px;
  border-radius: 6px;
  margin-bottom: 25px;
  border: 1px solid var(--border-light);
}
.promo-bar-text {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.promo-bar-bg {
  width: 100%;
  height: 6px;
  background-color: #E2E8F0;
  border-radius: 3px;
  overflow: hidden;
}
.promo-bar-fill {
  height: 100%;
  background-color: var(--accent-gold);
  transition: width 0.4s ease;
}

/* Order Summary Card */
.summary-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 30px;
  height: fit-content;
  position: sticky;
  top: 130px;
}
.summary-card h3 {
  font-family: var(--font-subheading);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 10px;
}
.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 0.9rem;
}
.summary-row.total {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  border-top: 1px dashed var(--border-color);
  margin-top: 15px;
  padding-top: 15px;
}

/* Coupon Box */
.coupon-input-group {
  display: flex;
  margin-top: 20px;
  margin-bottom: 25px;
}
.coupon-input {
  flex: 1;
  padding: 8px 12px;
  border: 1px solid var(--border-color);
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
  font-size: 0.85rem;
}
.coupon-btn {
  background-color: var(--text-main);
  color: white;
  padding: 8px 15px;
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
  font-size: 0.85rem;
  font-weight: 600;
}

/* -------------------------------------------------------------
   CHECKOUT PAGE
------------------------------------------------------------- */
.checkout-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  padding: 40px 0;
}
.checkout-section-block {
  background-color: white;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 30px;
  margin-bottom: 25px;
}
.checkout-section-title {
  font-family: var(--font-subheading);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-main);
}
.checkout-section-title span {
  width: 25px;
  height: 25px;
  background-color: var(--accent-gold-light);
  color: var(--accent-gold-dark);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

/* Payment option box */
.payment-methods-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.payment-method-card {
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 15px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  transition: var(--transition-quick);
}
.payment-method-card:hover {
  border-color: var(--accent-gold);
}
.payment-method-card.active {
  border-color: var(--text-main);
  background-color: var(--bg-tertiary);
}
.payment-method-card input {
  margin-top: 4px;
}
.payment-method-details h4 {
  font-family: var(--font-subheading);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 4px;
}
.payment-method-details p {
  font-size: 0.8rem;
  color: var(--text-muted);
}
.upi-sim-box {
  margin-top: 15px;
  border-top: 1px dashed var(--border-color);
  padding-top: 15px;
}

.checkout-summary-sticky {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 30px;
  height: fit-content;
  position: sticky;
  top: 130px;
}
.checkout-summary-title {
  font-family: var(--font-subheading);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 10px;
}
.summary-items-list {
  max-height: 180px;
  overflow-y: auto;
  margin-bottom: 20px;
  border-bottom: 1px dashed var(--border-color);
  padding-bottom: 15px;
}
.summary-item-mini {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  margin-bottom: 10px;
}

/* -------------------------------------------------------------
   ORDER SUCCESS PAGE
------------------------------------------------------------- */
.success-card {
  max-width: 600px;
  margin: 60px auto;
  text-align: center;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-medium);
  border-radius: 12px;
  padding: 50px 40px;
  background-color: white;
}
.success-icon-animation {
  width: 80px;
  height: 80px;
  background-color: rgba(76, 175, 80, 0.1);
  color: var(--success-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  margin: 0 auto 25px;
}
.success-card h2 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  color: var(--text-main);
  margin-bottom: 15px;
}
.success-order-ref {
  display: inline-block;
  background-color: var(--accent-gold-light);
  color: var(--accent-gold-dark);
  font-weight: 700;
  padding: 6px 15px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-family: var(--font-subheading);
  margin-bottom: 25px;
}
.success-details-box {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 20px;
  text-align: left;
  margin-bottom: 30px;
  font-size: 0.9rem;
}
.success-details-box p {
  margin-bottom: 8px;
}
.success-details-box p strong {
  color: var(--text-main);
}
.success-cta-row {
  display: flex;
  gap: 15px;
  justify-content: center;
}

/* -------------------------------------------------------------
   ORDER TRACKING PAGE
------------------------------------------------------------- */
.tracking-search-card {
  max-width: 550px;
  margin: 40px auto;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 35px;
  box-shadow: var(--shadow-subtle);
}
.tracking-search-card h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  text-align: center;
  margin-bottom: 20px;
}
.tracking-results-card {
  max-width: 800px;
  margin: 50px auto;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 40px;
  background-color: white;
  box-shadow: var(--shadow-medium);
}
.tracking-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 20px;
  margin-bottom: 30px;
}
.tracking-header h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
}
.tracking-timeline {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin-bottom: 50px;
  padding: 0 40px;
}
.tracking-timeline::after {
  content: '';
  position: absolute;
  top: 15px;
  left: 60px;
  right: 60px;
  height: 4px;
  background-color: #E2E8F0;
  z-index: 1;
}
.timeline-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 2;
  position: relative;
}
.step-dot {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background-color: #CBD5E1;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  margin-bottom: 10px;
  transition: var(--transition-smooth);
}
.timeline-step.completed .step-dot, .timeline-step.active .step-dot {
  background-color: var(--accent-gold-dark);
}
.timeline-step.active .step-dot {
  box-shadow: 0 0 0 6px rgba(212, 175, 55, 0.15);
  animation: pulseGold 2s infinite;
}
.step-label {
  font-family: var(--font-subheading);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.timeline-step.completed .step-label, .timeline-step.active .step-label {
  color: var(--text-main);
}
.step-date {
  font-size: 0.75rem;
  color: #999;
  margin-top: 4px;
}

@keyframes pulseGold {
  0% {
    box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(212, 175, 55, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(212, 175, 55, 0);
  }
}

/* -------------------------------------------------------------
   ADMIN PANEL
------------------------------------------------------------- */
.admin-login-card {
  max-width: 400px;
  margin: 80px auto;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 40px;
  box-shadow: var(--shadow-medium);
  background-color: white;
}
.admin-layout {
  display: flex;
  gap: 30px;
  padding: 40px 0;
}
.admin-sidebar {
  width: 240px;
  flex-shrink: 0;
  background-color: var(--text-main);
  color: white;
  border-radius: 8px;
  padding: 25px 0;
  height: fit-content;
}
.admin-profile {
  padding: 0 25px 20px;
  border-bottom: 1px solid #333;
  margin-bottom: 20px;
}
.admin-profile h4 {
  font-family: var(--font-subheading);
  font-size: 1rem;
  color: var(--accent-gold);
}
.admin-profile p {
  font-size: 0.8rem;
  color: #999;
}
.admin-menu-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 25px;
  font-family: var(--font-subheading);
  font-size: 0.9rem;
  color: #CCC;
  width: 100%;
  text-align: left;
}
.admin-menu-link:hover, .admin-menu-link.active {
  color: white;
  background-color: rgba(255, 255, 255, 0.05);
  border-left: 3px solid var(--accent-gold);
}

.admin-content {
  flex: 1;
  background-color: white;
}
.admin-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}
.admin-header-row h2 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
}

/* Dashboard Cards */
.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}
.stat-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
}
.stat-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--accent-gold-light);
  color: var(--accent-gold-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}
.stat-details h5 {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-family: var(--font-subheading);
  text-transform: uppercase;
}
.stat-details h3 {
  font-size: 1.4rem;
  font-weight: 700;
}

/* Tables */
.admin-table-container {
  overflow-x: auto;
  border: 1px solid var(--border-light);
  border-radius: 6px;
}
.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.admin-table th, .admin-table td {
  padding: 12px 15px;
  text-align: left;
  border-bottom: 1px solid var(--border-light);
}
.admin-table th {
  background-color: var(--bg-tertiary);
  font-family: var(--font-subheading);
  font-weight: 700;
  color: var(--text-main);
}
.admin-table tr:hover {
  background-color: var(--bg-secondary);
}

/* Form Modals */
.admin-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
}
.admin-modal-content {
  background-color: white;
  border-radius: 8px;
  width: 90%;
  max-width: 600px;
  max-height: 85vh;
  overflow-y: auto;
  padding: 30px;
  box-shadow: var(--shadow-large);
}
.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
}
.modal-header h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
}
.close-modal-btn {
  font-size: 1.3rem;
  color: var(--text-muted);
}

/* Status Select */
.status-select {
  padding: 6px 10px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid var(--border-color);
}
.status-badge {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}
.status-badge.pending {
  background-color: #FFF9C4;
  color: #F57F17;
}
.status-badge.shipped {
  background-color: #E3F2FD;
  color: #0D47A1;
}
.status-badge.delivered {
  background-color: #E8F5E9;
  color: #1B5E20;
}
.status-badge.cancelled {
  background-color: #FFEBEE;
  color: #B71C1C;
}

/* -------------------------------------------------------------
   RESPONSIVE DESIGN (MOBILE FIRST OVERRIDES)
------------------------------------------------------------- */
@media (max-width: 991px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
  .hero-slider {
    height: auto;
  }
  .hero-slide {
    flex-direction: column;
  }
  .hero-content {
    padding: 40px 20px;
    text-align: center;
    align-items: center;
  }
  .hero-desc {
    margin: 0 auto 30px;
  }
  .hero-image-wrapper {
    height: 300px;
  }
  .features-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .detail-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .cart-layout, .checkout-layout {
    grid-template-columns: 1fr;
  }
  .admin-layout {
    flex-direction: column;
  }
  .admin-sidebar {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    padding: 15px 0;
  }
  .admin-profile {
    width: 100%;
    border-bottom: none;
    margin-bottom: 10px;
    padding: 0 20px;
  }
  .admin-menu-link {
    width: auto;
    padding: 8px 20px;
  }
  .admin-stats-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 767px) {
  .header-top {
    flex-wrap: wrap;
  }
  .search-bar-container {
    order: 3;
    max-width: 100%;
  }
  .header-nav {
    display: none; /* In a real app we toggle a menu. We can support page changes inside mobile views seamlessly. */
  }
  .mobile-menu-btn {
    display: block;
  }
  .section-title h2 {
    font-size: 1.8rem;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero-content h1 {
    font-size: 2.2rem;
  }
  .success-cta-row {
    flex-direction: column;
  }
  .tracking-timeline {
    flex-direction: column;
    align-items: flex-start;
    padding-left: 20px;
    gap: 25px;
  }
  .tracking-timeline::after {
    top: 10px;
    bottom: 10px;
    left: 35px;
    width: 4px;
    height: calc(100% - 20px);
  }
  .timeline-step {
    flex-direction: row;
    gap: 15px;
  }
  .step-dot {
    margin-bottom: 0;
  }
  .action-buttons-stack {
    grid-template-columns: 1fr;
  }
  .admin-stats-grid {
    grid-template-columns: 1fr;
  }
}
