/* ===== IMPORT FONTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Hind+Siliguri:wght@400;500;600;700&display=swap');

/* ===== CSS VARIABLES ===== */
:root {
  --primary: #171717;
  --accent: #171717;
  --accent-hover: #3a3a3a;
  --accent-light: #3a3a3a;
  --accent-soft: rgba(23, 23, 23, 0.08);
  --on-accent: #ffffff;
  --white: #ffffff;
  --light: #f6f6f6;
  --light-2: #efefef;
  --gray: #5c5c5c;
  --gray-2: #d0d0d0;
  --dark: #111111;
  --text: #171717;
  --success: #2f6b45;
  --danger: #171717;
  --border: #e6e6e6;
  --shadow: 0 4px 24px rgba(26,26,46,0.08);
  --shadow-lg: 0 12px 48px rgba(26,26,46,0.14);
  --radius: 4px;
  --radius-lg: 12px;
  --transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    --font-heading: 'Hind Siliguri', sans-serif;
    --font-body: 'Hind Siliguri', sans-serif;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body{
  font-family: var(--font-body) !important;
  color: var(--text);
  background: #fafafa;
  line-height: 1.6;
  font-size: 15px;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { border: none; background: none; cursor: pointer; font-family: var(--font-body); }
input, textarea, select { font-family: var(--font-body); }

/* ===== UTILITIES ===== */
.container { max-width: 1260px; margin: 0 auto; padding: 0 20px; }
.section-py { padding-top: 80px; padding-bottom: 80px; }
.product-details .pd-title { font-size: 1.8rem; line-height: 1.3; }

/* Product description only. The site reset removes margin and list markers. */
.product-description {
  color: var(--text);
  font-size: 0.975rem;
  line-height: 1.75;
  padding-top: 20px;
}
.product-description > *:first-child { margin-top: 0; }
.product-description > *:last-child { margin-bottom: 0; }
.product-description p { margin: 0 0 12px; }
.product-description h1,
.product-description h2,
.product-description h3,
.product-description h4,
.product-description h5,
.product-description h6 {
  color: var(--text);
  font-weight: 600;
  line-height: 1.4;
  margin: 18px 0 8px;
}
.product-description h1 { font-size: 1.35rem; }
.product-description h2 { font-size: 1.2rem; }
.product-description h3,
.product-description h4 { font-size: 1.05rem; }
.product-description ul,
.product-description ol {
  margin: 0 0 12px;
  padding-left: 1.25rem;
}
.product-description ul { list-style: disc; }
.product-description ol { list-style: decimal; }
.product-description li { margin: 0 0 4px; }
.product-description li > ul,
.product-description li > ol { margin: 4px 0 0; }
.product-description img {
  max-width: 100%;
  height: auto;
  margin: 12px 0;
}
.product-description table {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0 16px;
}
.product-description th,
.product-description td {
  border: 1px solid var(--border);
  padding: 8px 10px;
  text-align: left;
  vertical-align: top;
}
.product-description blockquote {
  margin: 12px 0;
  padding: 2px 0 2px 14px;
  border-left: 2px solid var(--border);
}
.product-description a { text-decoration: underline; }
.section-py-sm { padding-top: 48px; padding-bottom: 48px; }
.home-product-section.section-py { padding: 32px 0 26px; }
.home-product-section .title-bar { margin-bottom: 16px; }
.text-center { text-align: center; }
.text-accent { color: var(--accent); }
.bg-light { background: var(--light) !important; }
.bg-primary { background: var(--primary); }
.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 8px; }
.gap-2 { gap: 16px; }
.gap-3 { gap: 24px; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.w-100 { width: 100%; }
.fw-600 { font-weight: 600; }

/* ===== SECTION TITLE ===== */
.section-title { font-family: var(--font-heading); font-size: 1.7rem; font-weight: 700; color: var(--primary); line-height: 1.35; }
.section-subtitle { color: var(--gray); font-size: 0.95rem; margin-top: 8px; }
.title-bar { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 40px; }
.title-bar .view-all { font-size: 0.875rem; font-weight: 500; color: var(--accent); border-bottom: 1px solid var(--accent); padding-bottom: 1px; }
.title-bar .view-all:hover { color: var(--primary); border-color: var(--primary); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 26px; border-radius: 2px;
  font-size: 0.875rem; font-weight: 500; letter-spacing: 0;
  transition: var(--transition); cursor: pointer;
}
.btn-primary { background: var(--primary); color: var(--white); border: 1px solid var(--primary); }
.btn-primary:hover { background: var(--white); color: var(--primary); border-color: var(--primary); transform: none; box-shadow: none; }
.btn-accent { background: var(--white); color: var(--primary); border: 1px solid var(--primary); font-weight: 500; }
.btn-accent:hover { background: var(--primary); color: var(--white); transform: none; box-shadow: none; }
.btn-outline { border: 1.5px solid var(--primary); color: var(--primary); background: transparent; }
.btn-outline:hover { background: var(--primary); color: var(--white); }
.btn-outline-accent { border: 1.5px solid var(--accent); color: var(--accent); background: transparent; }
.btn-outline-accent:hover { background: var(--accent); color: var(--on-accent); }
.btn-sm { padding: 7px 16px; font-size: 0.8rem; }
.btn-lg { padding: 14px 36px; font-size: 1rem; }
.btn-block { width: 100%; justify-content: center; }
.btn-icon { padding: 10px; border-radius: 50%; width: 40px; height: 40px; justify-content: center; }

/* ===== BADGE ===== */
.badge {
  display: inline-block; padding: 3px 8px;
  border-radius: 2px; font-size: 0.72rem;
  font-weight: 600; letter-spacing: 0; text-transform: none;
  line-height: 1.3;
}
.badge-accent { background: var(--primary); color: var(--white); }
.badge-primary { background: var(--primary); color: var(--white); }
.badge-danger { background: var(--primary); color: var(--white); }
.badge-success { background: var(--success); color: var(--white); }
.badge-gray { background: var(--gray-2); color: var(--text); }
.badge-count {
  position: absolute; top: -6px; right: -6px;
  background: var(--primary); color: var(--white);
  min-width: 18px; height: 18px; padding: 0 4px; border-radius: 99px;
  font-size: 11px; line-height: 1; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}

/* ===== FORMS ===== */
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 0.875rem; font-weight: 500; margin-bottom: 6px; color: var(--primary); }
.form-control {
  width: 100%; padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius); font-size: 0.9rem;
  background: var(--white); color: var(--text);
  transition: var(--transition); outline: none;
}
.form-control:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.form-control::placeholder { color: var(--gray); }
textarea.form-control { resize: vertical; min-height: 120px; }
.form-select {
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%238a8a8a' d='M7.247 11.14L2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center;
  background-size: 12px; padding-right: 36px;
}
.input-group { position: relative; }
.input-group .form-control { padding-left: 40px; }
.input-group .input-icon { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--gray); font-size: 0.9rem; }

/* ===== CARDS ===== */
.card { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; }
.card-body { padding: 20px; }

/* ===== PRODUCT CARD ===== */
.product-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  position: relative;
}
.product-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.product-card-img {
  position: relative; overflow: hidden;
  background: var(--light); aspect-ratio: 1 / 1;
}
.product-card-img img,
.product-card-img .product-card-placeholder {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.product-card-img img { transition: transform 0.4s ease; }
.product-card-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f6f4f2, #e7e2de);
  font-size: 1.1rem;
  color: var(--gray);
}
.product-card:hover .product-card-img img { transform: scale(1.06); }
.product-card-actions {
  position: absolute; bottom: -50px; left: 0; right: 0;
  display: flex; justify-content: center; gap: 8px; padding: 12px;
  transition: var(--transition);
}
.product-card:hover .product-card-actions { bottom: 0; }
.product-card-action-btn {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--white); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem; box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  transition: var(--transition);
}
.product-card-action-btn:hover { background: var(--accent); color: var(--on-accent); }
.product-card-badge { position: absolute; top: 12px; left: 12px; z-index: 2; }
.product-card-wishlist { position: absolute; top: 12px; right: 12px; z-index: 2; background: var(--white); border-radius: 50%; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 8px rgba(0,0,0,0.1); cursor: pointer; transition: var(--transition); color: var(--gray); }
.product-card-wishlist:hover, .product-card-wishlist.active { color: #e53935; }
.product-card-body { padding: 14px 16px; }
.product-card-cat { font-size: 0.75rem; color: var(--gray); margin-bottom: 4px; }
.product-card-title { font-size: 0.95rem; font-weight: 500; color: var(--primary); margin-bottom: 8px; line-height: 1.4; }
.product-card-title:hover { color: var(--accent); }
.product-card-price { display: flex; align-items: center; gap: 8px; }
.price-current { font-size: 1.05rem; font-weight: 700; color: var(--primary); }
.price-old { font-size: 0.85rem; color: var(--gray); text-decoration: line-through; }
.price-discount { font-size: 0.78rem; font-weight: 600; color: var(--danger); }
.product-card-rating { display: flex; align-items: center; gap: 4px; margin-bottom: 8px; }
.stars { color: var(--accent); font-size: 0.8rem; }
.rating-count { font-size: 0.78rem; color: var(--gray); }
.product-card-add-btn { margin-top: 12px; }
.product-card-btns { display: flex; flex-direction: column; gap: 6px; margin-top: 12px; }
.product-card-btns .product-card-add-btn { margin-top: 0; }
.product-card-btns .btn { font-size: 0.78rem; padding: 8px 10px; gap: 6px; }

/* ===== NAVBAR ===== */
.topbar {
  background: var(--primary); color: var(--white);
  padding: 8px 0; font-size: 0.8rem;
}
.topbar a { color: var(--gray-2); }
.topbar a:hover { color: var(--accent); }
.topbar-divider { color: var(--gray); margin: 0 12px; }

.navbar-main {
  background: var(--white); position: sticky; top: 0; z-index: 1000;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 16px rgba(26,26,46,0.06);
}
.navbar-inner { padding: 14px 0; }
.navbar-brand { font-family: var(--font-heading); font-size: 1.6rem; font-weight: 700; color: var(--primary); }
.navbar-brand span { color: var(--accent); }

.search-bar {
  flex: 1; max-width: 520px; position: relative;
  display: flex; align-items: center;
}
.search-bar input {
  width: 100%; padding: 10px 50px 10px 16px;
  border: 1.5px solid var(--border); border-radius: 30px;
  font-size: 0.875rem; outline: none; transition: var(--transition);
  background: var(--light);
}
.search-bar input:focus { border-color: var(--accent); background: var(--white); box-shadow: 0 0 0 3px var(--accent-soft); }
.search-bar-btn {
  position: absolute; right: 4px;
  background: var(--primary); color: var(--white);
  border: none; border-radius: 30px; padding: 8px 18px;
  font-size: 0.8rem; cursor: pointer; transition: var(--transition);
}
.search-bar-btn:hover { background: var(--accent-hover); color: var(--on-accent); }

.navbar-icons { display: flex; align-items: center; gap: 4px; }
.nav-icon-btn {
  position: relative; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 8px 12px; border-radius: var(--radius-lg);
  color: var(--primary); transition: var(--transition);
  font-size: 1.1rem; gap: 2px;
}
.nav-icon-btn:hover { background: var(--light); color: var(--primary); }
.nav-icon-btn span { font-size: 0.65rem; color: var(--gray); font-weight: 500; }
.nav-icon-btn .badge-count {
  color: #fff;
  background: #171717;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}

.main-nav { background: var(--light); border-bottom: 1px solid var(--border); }
.main-nav ul { display: flex; align-items: center; gap: 0; }
.main-nav ul li { position: relative; }
.main-nav ul li a {
  display: block; padding: 12px 18px;
  font-size: 0.875rem; font-weight: 500; color: var(--text);
  transition: var(--transition); white-space: nowrap;
}
.main-nav ul li a:hover, .main-nav ul li a.active { color: var(--accent); }
.main-nav ul li a.active { border-bottom: 2px solid var(--accent); }
.main-nav .has-dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu {
  position: absolute; top: 100%; left: 0;
  background: var(--white); min-width: 200px;
  box-shadow: var(--shadow-lg); border-radius: var(--radius-lg);
  border: 1px solid var(--border); z-index: 999;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: var(--transition); padding: 8px 0;
}
.dropdown-menu li a { padding: 9px 20px; font-size: 0.85rem; color: var(--text); }
.dropdown-menu li a:hover { background: var(--light); color: var(--accent); }

.mobile-menu-btn,
.mobile-search-toggle { display: none !important; font-size: 1.4rem; color: var(--primary); border: none; background: transparent; cursor: pointer; }
.mobile-search-bar { display: none; padding: 8px 16px 12px; background: var(--white); border-bottom: 1px solid var(--border); }
.mobile-search-bar form { display: flex; gap: 8px; }
.mobile-search-bar input {
  flex: 1; border: 1px solid var(--border); border-radius: 30px; padding: 10px 16px;
  font-size: 0.9rem; outline: none; background: var(--light);
}
.mobile-search-bar button {
  width: 44px; border: none; border-radius: 50%; background: var(--primary); color: #fff; cursor: pointer;
}

/* ===== HERO SLIDER ===== */
.hero-slider { position: relative; padding: 16px 0 4px; background: transparent; }
.hero-slider .owl-stage-outer { border-radius: 14px; }
.hero-slider .hero-slide-link { display: block; }
.hero-slide {
  height: 280px;
  min-height: 0;
  display: flex !important;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: #f3efe8;
}
.hero-slide::before { display: none; content: none; }
.hero-slider .owl-carousel .owl-item img,
.hero-slide img {
  width: 100%;
  height: 280px;
  max-width: none;
  max-height: 280px;
  object-fit: cover;
  object-position: center;
  display: block;
}
.hero-content { position: relative; z-index: 2; max-width: 520px; }
.hero-badge { display: inline-block; background: var(--accent); color: var(--on-accent); font-size: 0.75rem; font-weight: 700; padding: 5px 14px; border-radius: 20px; margin-bottom: 16px; }
.hero-title { font-family: var(--font-heading); font-size: 3rem; font-weight: 700; color: var(--white); line-height: 1.15; margin-bottom: 16px; }
.hero-subtitle { color: rgba(255,255,255,0.82); font-size: 1rem; margin-bottom: 28px; line-height: 1.6; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.owl-dots { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; }
.owl-dot span { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.5); display: block; cursor: pointer; transition: var(--transition); }
.owl-dot.active span { background: var(--accent); width: 24px; border-radius: 4px; }
.owl-nav button { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.15) !important; backdrop-filter: blur(8px); color: var(--white) !important; width: 44px !important; height: 44px !important; border-radius: 50% !important; font-size: 1rem !important; display: flex !important; align-items: center !important; justify-content: center !important; border: 1px solid rgba(255,255,255,0.2) !important; transition: var(--transition) !important; }
.owl-nav button:hover { background: var(--accent) !important; color: var(--on-accent) !important; }
.owl-nav .owl-prev { left: 20px; }
.owl-nav .owl-next { right: 20px; }



/* ===== CATEGORY SECTION ===== */
.category-card {
  text-align: center; padding: 24px 16px;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); transition: var(--transition);
  cursor: pointer; display: block;
}
.category-card:hover { background: var(--primary); border-color: var(--primary); transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.category-card:hover .cat-icon, .category-card:hover .cat-name { color: var(--white); }
.category-card:hover .cat-count { color: var(--accent); }
.cat-icon { font-size: 2rem; color: var(--primary); margin-bottom: 10px; transition: var(--transition); }
.cat-name { font-size: 0.9rem; font-weight: 600; color: var(--primary); margin-bottom: 4px; transition: var(--transition); }
.cat-count { font-size: 0.78rem; color: var(--gray); transition: var(--transition); }

/* ===== FEATURES STRIP ===== */
.feature-item { display: flex; align-items: center; gap: 14px; padding: 20px; }
.feature-icon { font-size: 1.8rem; color: var(--accent); flex-shrink: 0; }
.feature-title { font-size: 0.9rem; font-weight: 600; color: var(--primary); margin-bottom: 2px; }
.feature-text { font-size: 0.8rem; color: var(--gray); }
.features-grid { border: 1px solid var(--border); border-radius: var(--radius-lg); display: grid; grid-template-columns: repeat(4, 1fr); }
.feature-item + .feature-item { border-left: 1px solid var(--border); }

/* ===== PROMO BANNERS ===== */
.promo-banner {
  border-radius: var(--radius-lg); overflow: hidden;
  position: relative; background-size: cover; background-position: center;
  min-height: 220px; display: flex; align-items: center; padding: 32px;
}
.promo-banner::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(26,26,46,0.7) 0%, transparent 70%); }
.promo-content { position: relative; z-index: 2; }
.promo-label { font-size: 0.78rem; font-weight: 700; color: var(--accent); margin-bottom: 8px; }
.promo-title { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 700; color: var(--white); margin-bottom: 14px; }
.promo-desc { font-size: 0.85rem; color: rgba(255,255,255,0.8); margin-bottom: 18px; }

/* ===== COUNTDOWN ===== */
.countdown { display: flex; gap: 8px; }
.countdown-item { background: var(--primary); color: var(--white); border-radius: var(--radius); padding: 6px 10px; text-align: center; min-width: 52px; }
.countdown-num { font-size: 1.4rem; font-weight: 700; line-height: 1; }
.countdown-label { font-size: 0.65rem; color: var(--gray-2); margin-top: 2px; }

/* ===== TESTIMONIALS ===== */
.testimonial-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px 24px; }
.testimonial-stars { color: var(--accent); font-size: 0.9rem; margin-bottom: 14px; }
.testimonial-text { font-size: 0.9rem; color: var(--text); line-height: 1.7; margin-bottom: 20px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--light-2); display: flex; align-items: center; justify-content: center; color: var(--gray); font-size: 1.2rem; overflow: hidden; }
.testimonial-name { font-size: 0.9rem; font-weight: 600; color: var(--primary); }
.testimonial-role { font-size: 0.78rem; color: var(--gray); }

/* ===== NEWSLETTER ===== */
.newsletter { background: var(--primary); padding: 60px 0; }
.newsletter-title { font-family: var(--font-heading); font-size: 1.8rem; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.newsletter-sub { color: rgba(255,255,255,0.7); font-size: 0.9rem; margin-bottom: 28px; }
.newsletter-form { display: flex; gap: 0; max-width: 480px; margin: 0 auto; }
.newsletter-form input { flex: 1; padding: 12px 20px; border: none; outline: none; border-radius: 30px 0 0 30px; font-size: 0.9rem; }
.newsletter-form button { padding: 12px 24px; background: var(--accent); color: var(--on-accent); border: none; border-radius: 0 30px 30px 0; font-weight: 600; font-size: 0.875rem; cursor: pointer; transition: var(--transition); white-space: nowrap; }
.newsletter-form button:hover { background: var(--accent-hover); color: var(--on-accent); }

/* ===== FOOTER ===== */
.footer-main { background: var(--dark); color: rgba(255,255,255,0.75); padding: 64px 0 32px; }
.footer-brand { font-family: var(--font-heading); font-size: 1.5rem; color: var(--white); font-weight: 700; margin-bottom: 14px; }
.footer-brand span { color: var(--accent); }
.footer-desc { font-size: 0.875rem; line-height: 1.7; margin-bottom: 20px; }
.footer-social { display: flex; gap: 10px; }
.social-btn { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.7); font-size: 0.9rem; transition: var(--transition); }
.social-btn:hover { background: var(--accent); color: var(--on-accent); }
.footer-title { font-size: 1rem; font-weight: 600; color: var(--white); margin-bottom: 18px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 0.875rem; color: rgba(255,255,255,0.65); transition: var(--transition); }
.footer-links a:hover { color: var(--white); padding-left: 4px; }
.footer-contact-item { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; }
.footer-contact-icon { color: #fff; font-size: 0.95rem; margin-top: 2px; flex-shrink: 0; width: 16px; text-align: center; }
.footer-contact-text { font-size: 0.85rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); margin-top: 40px; padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-copy { font-size: 0.82rem; color: rgba(255,255,255,0.45); }
.footer-payments { display: flex; gap: 8px; align-items: center; }
.payment-icon { background: rgba(255,255,255,0.1); border-radius: 4px; padding: 4px 10px; font-size: 0.75rem; color: rgba(255,255,255,0.7); font-weight: 600; }

/* ===== PAGE HEADER ===== */
.page-header {
  background: var(--primary);
  padding: 50px 0; margin-bottom: 48px;
}
.page-header-title { font-family: var(--font-heading); font-size: 2rem; font-weight: 700; color: var(--white); margin-bottom: 10px; }
.breadcrumb { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.breadcrumb li { font-size: 0.85rem; color: rgba(255,255,255,0.65); }
.breadcrumb li a { color: var(--accent); }
.breadcrumb li + li::before { content: '/'; margin-right: 8px; }

/* ===== SHOP FILTERS ===== */
.shop-filter-overlay { display: none; }
.shop-filter-close {
  width: 32px; height: 32px; border: none; background: var(--light);
  border-radius: 50%; color: var(--primary); display: none;
  align-items: center; justify-content: center; cursor: pointer;
}
.shop-filter-badge {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 18px; height: 18px; padding: 0 5px; margin-left: 4px;
  border-radius: 99px; background: var(--accent); color: var(--on-accent);
  font-size: 0.7rem; font-weight: 700;
}
.shop-sidebar { position: sticky; top: 90px; }
.filter-block { margin-bottom: 28px; padding-bottom: 28px; border-bottom: 1px solid var(--border); }
.filter-block:last-child { border-bottom: none; }
.filter-title { font-size: 0.9rem; font-weight: 600; color: var(--primary); margin-bottom: 14px; }
.filter-check { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; cursor: pointer; }
.filter-check input { accent-color: var(--accent); width: 16px; height: 16px; }
.filter-check label { font-size: 0.875rem; color: var(--text); cursor: pointer; }
.filter-check .filter-count { margin-left: auto; font-size: 0.75rem; color: var(--gray); }
.price-range { padding: 4px 0; }
.price-range input[type=range] { width: 100%; accent-color: var(--accent); cursor: pointer; }
.price-range-values { display: flex; justify-content: space-between; font-size: 0.85rem; color: var(--gray); margin-top: 6px; }
.color-swatches { display: flex; gap: 8px; flex-wrap: wrap; }
.color-swatch { width: 28px; height: 28px; border-radius: 50%; cursor: pointer; border: 2px solid transparent; transition: var(--transition); }
.color-swatch:hover, .color-swatch.active { border-color: var(--primary); transform: scale(1.1); }
.size-btns { display: flex; gap: 6px; flex-wrap: wrap; }
.size-btn { padding: 5px 12px; border: 1.5px solid var(--border); border-radius: var(--radius); font-size: 0.8rem; cursor: pointer; transition: var(--transition); }
.size-btn:hover, .size-btn.active { border-color: var(--primary); background: var(--primary); color: var(--white); }

/* ===== SHOP TOOLBAR ===== */
.shop-toolbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; padding: 14px 18px; background: var(--light); border-radius: var(--radius-lg); flex-wrap: wrap; gap: 12px; }
.shop-count { font-size: 0.875rem; color: var(--gray); }
.shop-sort { display: flex; align-items: center; gap: 10px; }
.shop-sort label { font-size: 0.875rem; color: var(--gray); white-space: nowrap; }
.shop-view-btns { display: flex; gap: 4px; }
.view-btn { padding: 6px 10px; border-radius: var(--radius); color: var(--gray); transition: var(--transition); }
.view-btn.active { background: var(--primary); color: var(--white); }

/* ===== PAGINATION ===== */
.pagination { display: flex; gap: 6px; align-items: center; justify-content: center; margin-top: 48px; }
.page-item .page-link {
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: var(--radius);
  border: 1.5px solid var(--border); font-size: 0.875rem;
  color: var(--text); transition: var(--transition);
}
.page-item .page-link:hover { border-color: var(--accent); color: var(--accent); }
.page-item.active .page-link { background: var(--primary); border-color: var(--primary); color: var(--white); }
.page-item.disabled .page-link { opacity: 0.4; cursor: not-allowed; }

/* ===== CART PAGE ===== */
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th { text-align: left; padding: 12px 16px; font-size: 0.8rem; color: var(--gray); border-bottom: 2px solid var(--border); font-weight: 600; }
.cart-table td { padding: 16px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.cart-product { display: flex; align-items: center; gap: 14px; }
.cart-product-img { width: 72px; height: 72px; border-radius: var(--radius); overflow: hidden; background: var(--light); flex-shrink: 0; }
.cart-product-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-product-title { font-size: 0.9rem; font-weight: 500; color: var(--primary); }
.cart-product-var { font-size: 0.78rem; color: var(--gray); }
.qty-control { display: flex; align-items: center; border: 1.5px solid var(--border); border-radius: var(--radius); overflow: hidden; width: fit-content; }
.qty-btn { padding: 6px 12px; font-size: 0.9rem; background: var(--light); color: var(--text); transition: var(--transition); }
.qty-btn:hover { background: var(--primary); color: var(--white); }
.qty-input { width: 44px; text-align: center; border: none; border-left: 1.5px solid var(--border); border-right: 1.5px solid var(--border); padding: 6px; font-size: 0.9rem; outline: none; }
.cart-remove { color: var(--danger); font-size: 0.9rem; cursor: pointer; }
.cart-table .remove-item.btn {
    width: 22px;
    height: 22px;
    min-width: 22px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #171717;
    color: #fff;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    font-weight: 400;
    line-height: 1;
    gap: 0;
}
.cart-table .remove-item.btn:hover { background: #000; color: #fff; }
.order-summary { background: var(--light); border-radius: var(--radius-lg); padding: 24px; }
.summary-row { display: flex; justify-content: space-between; padding: 10px 0; font-size: 0.9rem; border-bottom: 1px solid var(--border); }
.summary-row:last-child { border-bottom: none; font-weight: 700; color: var(--primary); font-size: 1rem; }
.coupon-form { display: flex; gap: 0; margin-top: 16px; }
.coupon-form input { flex: 1; padding: 10px 14px; border: 1.5px solid var(--border); border-radius: var(--radius) 0 0 var(--radius); outline: none; font-size: 0.875rem; }
.coupon-form button { padding: 10px 18px; background: var(--primary); color: var(--white); border: none; border-radius: 0 var(--radius) var(--radius) 0; font-size: 0.875rem; cursor: pointer; white-space: nowrap; transition: var(--transition); }
.coupon-form button:hover { background: var(--accent); color: var(--on-accent); }

/* ===== CHECKOUT ===== */
.checkout-step-header { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.step-num { width: 32px; height: 32px; background: var(--primary); color: var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.9rem; font-weight: 700; flex-shrink: 0; }
.step-title { font-size: 1rem; font-weight: 600; color: var(--primary); }
.checkout-block { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; margin-bottom: 20px; }
.checkout-progress { display: flex; align-items: center; margin-bottom: 36px; }
.prog-step { display: flex; flex-direction: column; align-items: center; gap: 6px; flex: 1; position: relative; }
.prog-step:not(:last-child)::after { content: ''; position: absolute; top: 16px; left: 50%; right: -50%; height: 2px; background: var(--border); }
.prog-step.done::after, .prog-step.active::after { background: var(--accent); }
.prog-dot { width: 32px; height: 32px; border-radius: 50%; background: var(--border); color: var(--gray); display: flex; align-items: center; justify-content: center; font-size: 0.8rem; font-weight: 700; z-index: 1; transition: var(--transition); }
.prog-step.done .prog-dot { background: var(--success); color: var(--white); }
.prog-step.active .prog-dot { background: var(--primary); color: var(--white); }
.prog-label { font-size: 0.75rem; color: var(--gray); }
.prog-step.active .prog-label { color: var(--primary); font-weight: 600; }

/* ===== DASHBOARD ===== */
.dashboard-sidebar { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.dash-user-info { background: var(--primary); padding: 28px 20px; text-align: center; }
.dash-avatar { width: 72px; height: 72px; border-radius: 50%; background: rgba(255,255,255,0.15); display: flex; align-items: center; justify-content: center; font-size: 1.8rem; color: var(--white); margin: 0 auto 12px; }
.dash-name { font-size: 1rem; font-weight: 600; color: var(--white); }
.dash-email { font-size: 0.8rem; color: rgba(255,255,255,0.65); }
.dash-nav { padding: 8px 0; }
.dash-nav-item { display: flex; align-items: center; gap: 10px; padding: 11px 20px; font-size: 0.875rem; color: var(--text); transition: var(--transition); cursor: pointer; border-left: 3px solid transparent; }
.dash-nav-item:hover, .dash-nav-item.active { background: var(--light); color: var(--accent); border-left-color: var(--accent); }
.dash-nav-item i { width: 20px; text-align: center; font-size: 0.9rem; }
.dash-stat { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 20px 24px; display: flex; align-items: center; gap: 16px; }
.dash-stat-icon { width: 52px; height: 52px; border-radius: var(--radius-lg); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; flex-shrink: 0; }
.dash-stat-icon.orders { background: rgba(26,26,46,0.08); color: var(--primary); }
.dash-stat-icon.wishlist { background: rgba(229,57,53,0.1); color: var(--danger); }
.dash-stat-icon.reviews { background: var(--accent-soft); color: var(--accent); }
.dash-stat-icon.address { background: rgba(76,175,80,0.1); color: var(--success); }
.dash-stat-num { font-size: 1.6rem; font-weight: 700; color: var(--primary); }
.dash-stat-label { font-size: 0.8rem; color: var(--gray); }

/* ===== ORDERS TABLE ===== */
.orders-table { width: 100%; border-collapse: collapse; }
.orders-table th { text-align: left; padding: 12px 16px; font-size: 0.78rem; color: var(--gray); border-bottom: 2px solid var(--border); font-weight: 600; }
.orders-table td { padding: 14px 16px; border-bottom: 1px solid var(--border); font-size: 0.875rem; }
.orders-table tbody tr:hover { background: var(--light); }
.status-badge { display: inline-flex; align-items: center; gap: 6px; padding: 3px 12px; border-radius: 20px; font-size: 0.75rem; font-weight: 600; }
.status-processing { background: rgba(255,152,0,0.12); color: #f57c00; }
.status-shipped { background: rgba(33,150,243,0.12); color: #1976d2; }
.status-delivered { background: rgba(76,175,80,0.12); color: #388e3c; }
.status-cancelled { background: rgba(229,57,53,0.1); color: var(--danger); }

/* ===== POLICY PAGES ===== */
.policy-content h2 { font-family: var(--font-heading); font-size: 1.4rem; color: var(--primary); margin: 32px 0 12px; }
.policy-content h3 { font-size: 1.05rem; font-weight: 600; color: var(--primary); margin: 20px 0 8px; }
.policy-content p { font-size: 0.9rem; color: var(--text); line-height: 1.75; margin-bottom: 14px; }
.policy-content ul { margin-left: 20px; margin-bottom: 14px; }
.policy-content ul li { font-size: 0.9rem; color: var(--text); line-height: 1.7; margin-bottom: 6px; list-style: disc; }
.policy-nav { background: var(--light); border-radius: var(--radius-lg); padding: 20px; position: sticky; top: 90px; }
.policy-nav-title { font-size: 0.9rem; font-weight: 600; color: var(--primary); margin-bottom: 12px; }
.policy-nav a { display: block; font-size: 0.85rem; color: var(--text); padding: 6px 0; border-bottom: 1px solid var(--border); transition: var(--transition); }
.policy-nav a:hover { color: var(--accent); }

/* ===== CONTACT ===== */
.contact-info-card { background: var(--primary); border-radius: var(--radius-lg); padding: 32px 24px; color: var(--white); height: 100%; }
.contact-info-title { font-family: var(--font-heading); font-size: 1.4rem; color: var(--white); margin-bottom: 8px; }
.contact-info-sub { color: rgba(255,255,255,0.65); font-size: 0.875rem; margin-bottom: 28px; }
.contact-detail { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 20px; }
.contact-detail-icon { width: 40px; height: 40px; background: rgba(255,255,255,0.1); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; color: #fff; flex-shrink: 0; }
.contact-detail-label { font-size: 0.75rem; color: rgba(255,255,255,0.7); margin-bottom: 2px; }
.contact-detail-value { font-size: 0.9rem; color: var(--white); }
.contact-form-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px; }
.map-placeholder { height: 280px; background: var(--light-2); border-radius: var(--radius-lg); display: flex; align-items: center; justify-content: center; color: var(--gray); margin-top: 24px; font-size: 0.9rem; border: 1px solid var(--border); }

/* ===== ABOUT ===== */
.about-story { background: var(--primary); border-radius: var(--radius-lg); padding: 60px 40px; text-align: center; }
.about-story-mark { font-size: 6rem; line-height: 1; margin-bottom: 20px; }
.about-story-brand { font-family: var(--font-heading); font-size: 2rem; color: var(--white); font-weight: 700; }
.about-story-tagline { color: rgba(255,255,255,0.75); margin-top: 6px; font-size: 0.9rem; }
.about-copy { color: var(--gray); line-height: 1.8; }
.about-stat { text-align: center; padding: 24px; }
.about-stat-num { font-family: var(--font-heading); font-size: 2.5rem; font-weight: 700; color: var(--primary); }
.about-stat-label { font-size: 0.875rem; color: var(--gray); margin-top: 4px; }
.about-value-icon { width: 70px; height: 70px; background: var(--light); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; font-size: 1.5rem; color: var(--primary); }
@media (max-width: 767px) {
  .about-story { padding: 36px 20px; }
  .about-story-mark { font-size: 4rem; }
}
.team-card { text-align: center; }
.team-img { width: 100px; height: 100px; border-radius: 50%; background: var(--light-2); margin: 0 auto 14px; display: flex; align-items: center; justify-content: center; font-size: 2.5rem; color: var(--gray); overflow: hidden; }
.team-name { font-size: 0.95rem; font-weight: 600; color: var(--primary); }
.team-role { font-size: 0.8rem; color: var(--gray); }

/* ===== TOAST (theme only — do not target .toast, Bootstrap/toastr use that class) ===== */
.toast-container { position: fixed; bottom: 24px; right: 24px; z-index: 9999; display: flex; flex-direction: column; gap: 10px; }
.toast-container .toast { display: flex; align-items: center; gap: 12px; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 14px 20px; box-shadow: var(--shadow-lg); min-width: 260px; max-width: 340px; animation: slideInRight 0.3s ease; opacity: 1; }
.toast-container .toast.success { border-left: 4px solid var(--success); }
.toast-container .toast.error { border-left: 4px solid var(--danger); }
.toast-container .toast-icon { font-size: 1.1rem; }
.toast-container .toast.success .toast-icon { color: var(--success); }
.toast-container .toast.error .toast-icon { color: var(--danger); }
.toast-container .toast-msg { font-size: 0.875rem; color: var(--text); flex: 1; }
.toast-container .toast-close { color: var(--gray); cursor: pointer; font-size: 0.8rem; }
@keyframes slideInRight { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: translateX(0); } }

/* ===== MOBILE OVERLAY ===== */
.mobile-menu-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 1100; }
.mobile-menu-overlay.open { display: block; }
.mobile-menu {
  position: fixed; top: 0; left: -300px; width: 280px; height: 100vh;
  background: var(--white); z-index: 1200; overflow-y: auto;
  transition: left 0.3s ease; padding-bottom: 40px;
}
.mobile-menu.open { left: 0; }
.mobile-menu-header { background: var(--primary); padding: 20px; display: flex; justify-content: space-between; align-items: center; }
.mobile-menu-brand { font-family: var(--font-heading); font-size: 1.3rem; color: var(--white); }
.mobile-menu-close { color: var(--white); font-size: 1.3rem; cursor: pointer; background: none; border: none; }
.mobile-menu-nav { padding: 8px 0; }
.mobile-menu-nav a { display: flex; align-items: center; gap: 10px; padding: 13px 20px; font-size: 0.9rem; color: var(--text); border-bottom: 1px solid var(--border); }
.mobile-menu-nav a:hover { background: var(--light); color: var(--accent); }

/* ===== WISHLIST ===== */
.wishlist-empty { text-align: center; padding: 80px 20px; }
.wishlist-empty-icon { font-size: 4rem; color: var(--gray-2); margin-bottom: 16px; }
.wishlist-empty-title { font-size: 1.2rem; font-weight: 600; color: var(--primary); margin-bottom: 8px; }
.wishlist-empty-text { font-size: 0.9rem; color: var(--gray); margin-bottom: 24px; }

/* ===== BACK TO TOP ===== */
#backToTop {
  position: fixed; bottom: 24px; right: 24px; z-index: 998;
  width: 44px; height: 44px; background: var(--primary); color: var(--white);
  border-radius: 50%; display: none; align-items: center; justify-content: center;
  font-size: 1.1rem; cursor: pointer; box-shadow: var(--shadow-lg);
  transition: var(--transition); border: none;
}
#backToTop:hover { background: var(--accent); color: var(--on-accent); }
.related-products .product-col { width: 100%; padding: 0; }
.product-card-wishlist, .btn-wish { display: none !important; }

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-item:nth-child(2) { border-left: none; }
  .feature-item:nth-child(3) { border-top: 1px solid var(--border); }
  .feature-item:nth-child(4) { border-top: 1px solid var(--border); }
  .hero-title { font-size: 2.2rem; }
  .section-title { font-size: 1.6rem; }
  .main-nav { display: none !important; }
  .mobile-menu-btn { display: flex !important; }
  .search-bar { display: none !important; }
  .mobile-search-toggle { display: flex !important; }
  .mobile-search-bar { display: none; }
  .mobile-search-bar.open { display: block; }
  .shop-filter-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1190;
  }
  .shop-filter-overlay.open { display: block; }
  .shop-sidebar-col {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1200;
    width: min(340px, 88vw) !important;
    max-width: min(340px, 88vw);
    height: 100%;
    max-height: 100vh;
    overflow-y: auto;
    background: var(--white);
    transform: translateX(-105%);
    transition: transform 0.28s ease;
    padding: 16px;
    margin: 0;
    box-shadow: 8px 0 32px rgba(0,0,0,0.18);
  }
  .shop-sidebar-col.open { transform: translateX(0); }
  .shop-sidebar { position: static; }
  .shop-filter-close { display: flex !important; }
}

@media (max-width: 767px) {
    .section-py { padding-top: 28px; padding-bottom: 40px; }
    .product-details > .row { --bs-gutter-x: 0; --bs-gutter-y: 20px; }
    .product-details .pd-title { font-size: 1.35rem; line-height: 1.35; }
    .product-details .pd-price { flex-wrap: wrap; row-gap: 6px; }
    .product-details .pd-actions .btn { min-width: 0; padding-left: 14px; padding-right: 14px; }
    .home-product-section.section-py { padding: 22px 0 18px; }
    .hero-slider { padding: 12px 0 0; }
    .hero-slide,
    .hero-slider .owl-carousel .owl-item img,
    .hero-slide img { height: 150px; max-height: 150px; }
    .hero-title { font-size: 1.8rem; }
    .features-grid { grid-template-columns: 1fr 1fr; }
    .title-bar { flex-direction: column; align-items: flex-start; gap: 8px; }
    .search-bar { display: none; }
    .navbar-inner { gap: 8px; }
    .topbar .d-flex:not(:first-child) { display: none !important; }
    .newsletter-form { flex-direction: column; }
    .newsletter-form input { border-radius: 30px; }
    .newsletter-form button { border-radius: 30px; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .checkout-progress { display: none; }
    .cart-table { table-layout: fixed; }
    .cart-table th,
    .cart-table td { padding: 10px 4px; font-size: 0.78rem; }
    .cart-table th:nth-child(1),
    .cart-table td:nth-child(1) { width: 36%; }
    .cart-table th:nth-child(2),
    .cart-table td:nth-child(2) { width: 16%; }
    .cart-table th:nth-child(3),
    .cart-table td:nth-child(3) { width: 22%; }
    .cart-table th:nth-child(4),
    .cart-table td:nth-child(4) { width: 16%; }
    .cart-table th:nth-child(5),
    .cart-table td:nth-child(5) { width: 10%; }
    .cart-table td:nth-child(1) > div { min-width: 0; gap: 6px; }
    .cart-table td:nth-child(1) img { width: 36px; flex-shrink: 0; }
    .cart-table td:nth-child(1) div div { word-break: break-word; }
    .cart-table .qty-input { width: 100%; max-width: 64px; min-width: 0; padding: 6px 2px; }
}
@media (max-width: 575px) {
    .features-grid { grid-template-columns: 1fr; }
    .feature-item { border-left: none !important; border-top: 1px solid var(--border) !important; }
    .feature-item:first-child { border-top: none !important; }
    .hero-btns { flex-direction: column; }
    .hero-title { font-size: 1.6rem; }
    .hero-slide { min-height: 0; }
    .orders-table { font-size: 0.8rem; }
    .orders-table th:nth-child(4), .orders-table td:nth-child(4) { display: none; }
}
