/* ================================================================
   THEME VARIABLES
================================================================ */
:root { --transition: 0.25s ease; }

[data-theme="light"],
[data-theme="auto"] {
  --bg:        #f5f7f5;
  --bg2:       #ffffff;
  --bg3:       #edf2ee;
  --text:      #1a2420;
  --text2:     #3d4f45;
  --text3:     #7a8f84;
  --border:    #d4ddd7;
  --card:      #ffffff;
  --nav-bg:    rgba(245,247,245,0.94);
  --shadow:    0 2px 18px rgba(0,0,0,0.09);
  --accent:    #2d7a50;
  --accent-dk: #1f5a3a;
  --accent-lt: #e4f3eb;
  --tag-bg:    #e4f3eb;
  --tag-color: #2d7a50;
  --hr:        #dde5df;
  --green-300: #82c4a0;
}

[data-theme="dark"] {
  --bg:        #0e130f;
  --bg2:       #141a15;
  --bg3:       #1a2219;
  --text:      #dce8e0;
  --text2:     #9bb0a2;
  --text3:     #5e7568;
  --border:    #243028;
  --card:      #141a15;
  --nav-bg:    rgba(14,19,15,0.95);
  --shadow:    0 2px 18px rgba(0,0,0,0.38);
  --accent:    #52a878;
  --accent-dk: #3a9463;
  --accent-lt: rgba(82,168,120,0.12);
  --tag-bg:    rgba(82,168,120,0.12);
  --tag-color: #82c4a0;
  --hr:        #1e2820;
  --green-300: #52a878;
}

@media (prefers-color-scheme: dark) {
  [data-theme="auto"] {
    --bg:        #0e130f;
    --bg2:       #141a15;
    --bg3:       #1a2219;
    --text:      #dce8e0;
    --text2:     #9bb0a2;
    --text3:     #5e7568;
    --border:    #243028;
    --card:      #141a15;
    --nav-bg:    rgba(14,19,15,0.95);
    --shadow:    0 2px 18px rgba(0,0,0,0.38);
    --accent:    #52a878;
    --accent-dk: #3a9463;
    --accent-lt: rgba(82,168,120,0.12);
    --tag-bg:    rgba(82,168,120,0.12);
    --tag-color: #82c4a0;
    --hr:        #1e2820;
    --green-300: #52a878;
  }
}

/* ================================================================
   RESET & BASE
================================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Source Sans 3', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  transition: background var(--transition), color var(--transition);
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: 'Lora', Georgia, serif; line-height: 1.2; font-weight: 700; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 32px; }

/* ================================================================
   NAVBAR
================================================================ */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  background: var(--nav-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  height: 62px;
  transition: background var(--transition);
}

.nav-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 32px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav-logo-img {
  height: 36px;
  width: auto;
  object-fit: contain;
}

.nav-logo-text {
  font-family: 'Lora', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent);
  white-space: nowrap;
}

.nav-logo-text em {
  font-style: normal;
  font-weight: 400;
  color: var(--text3);
  font-size: 0.82rem;
  font-family: 'Source Sans 3', sans-serif;
  margin-left: 4px;
}

.nav-links {
  display: flex;
  gap: 26px;
  list-style: none;
}

.nav-links a {
  font-size: 0.88rem;
  color: var(--text2);
  font-weight: 500;
  transition: color var(--transition);
}

.nav-links a:hover { color: var(--accent); }

.nav-right { display: flex; align-items: center; gap: 10px; }

.theme-switch-btn {
  display: flex;
  align-items: center;
  gap: 7px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 5px 12px 5px 8px;
  cursor: pointer;
  transition: all var(--transition);
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text2);
  white-space: nowrap;
}
.theme-switch-btn:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-lt); }
.theme-switch-track {
  width: 32px; height: 18px;
  background: var(--border);
  border-radius: 999px;
  position: relative;
  transition: background var(--transition);
  flex-shrink: 0;
}
.theme-switch-track.on { background: var(--accent); }
.theme-switch-knob {
  position: absolute;
  top: 2px; left: 2px;
  width: 14px; height: 14px;
  background: #fff;
  border-radius: 50%;
  transition: transform var(--transition);
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.theme-switch-track.on .theme-switch-knob { transform: translateX(14px); }
.theme-toggle { display: none; }
.theme-opt { display: none; }

.cart-btn {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 15px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 5px;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition);
  position: relative;
}

.cart-btn:hover { background: var(--accent-dk); }

.cart-count {
  background: #fff;
  color: var(--accent);
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: 999px;
  padding: 1px 6px;
  min-width: 20px;
  text-align: center;
}

/* ================================================================
   HERO
================================================================ */
#hero { padding-top: 62px; }

.hero-banner {
  position: relative;
  width: 100%;
  height: 480px;
  overflow: hidden;
  background: var(--bg3);
}

.hero-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.62) 0%, rgba(0,0,0,0.18) 100%);
  display: flex;
  align-items: center;
  padding: 0 64px;
}

.hero-content { max-width: 560px; }

.hero-label {
  display: inline-block;
  font-size: 0.72rem;
  font-family: 'Source Code Pro', monospace;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  background: rgba(255,255,255,0.12);
  padding: 4px 11px;
  border-radius: 3px;
  margin-bottom: 16px;
}

.hero-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

.hero-title em { font-style: italic; color: #86e0b0; }

.hero-desc {
  font-size: 1rem;
  color: rgba(255,255,255,0.82);
  max-width: 460px;
  font-weight: 300;
  margin-bottom: 28px;
  line-height: 1.75;
}

.hero-actions { display: flex; gap: 11px; flex-wrap: wrap; align-items: center; }

.btn {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: 5px;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.btn-green { background: var(--accent); color: #fff; }
.btn-green:hover { background: var(--accent-dk); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(45,122,80,0.3); }

.btn-outline { background: transparent; color: var(--text2); border: 1px solid var(--border); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-lt); }

.btn-outline-white {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.55);
}
.btn-outline-white:hover { background: rgba(255,255,255,0.12); }

.hero-stats {
  display: flex;
  gap: 40px;
  padding: 26px 32px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--hr);
  max-width: 100%;
}

.stat-val {
  font-family: 'Lora', serif;
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--accent);
  display: block;
}

.stat-label { font-size: 0.79rem; color: var(--text3); margin-top: 2px; letter-spacing: 0.02em; }

/* ================================================================
   SECTION BASE
================================================================ */
.section { padding: 76px 0; }
.section-alt { background: var(--bg2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { margin-bottom: 36px; }

.eyebrow {
  font-size: 0.7rem;
  font-family: 'Source Code Pro', monospace;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--tag-color);
  margin-bottom: 9px;
  display: block;
}

.section-head h2 { font-size: 1.65rem; color: var(--text); margin-bottom: 5px; letter-spacing: -0.02em; }
.section-head h2 em { font-style: italic; color: var(--accent); }
.section-head p { font-size: 0.9rem; color: var(--text3); font-weight: 300; }

/* ================================================================
   CATEGORIES
================================================================ */
.cat-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }

.cat-pill {
  padding: 7px 16px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 0.83rem;
  font-weight: 500;
  color: var(--text2);
  background: var(--card);
  cursor: pointer;
  transition: all var(--transition);
  font-family: 'Source Sans 3', sans-serif;
}

.cat-pill:hover,
.cat-pill.active { background: var(--accent); color: #fff; border-color: var(--accent); }

/* ================================================================
   PRODUCTS GRID
================================================================ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(244px, 1fr));
  gap: 18px;
}

.product-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 7px;
  overflow: hidden;
  transition: box-shadow var(--transition), border-color var(--transition), transform var(--transition);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  box-shadow: var(--shadow);
  border-color: var(--green-300);
  transform: translateY(-2px);
}

.product-img {
  width: 100%;
  height: 186px;
  background: var(--bg3);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
}

.product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.product-card:hover .product-img img { transform: scale(1.04); }

.img-placeholder {
  color: var(--text3);
  font-size: 0.73rem;
  text-align: center;
  padding: 12px;
  font-family: 'Source Code Pro', monospace;
  letter-spacing: 0.04em;
}

.product-badge {
  position: absolute;
  top: 9px; left: 9px;
  background: var(--accent);
  color: #fff;
  font-size: 0.67rem;
  font-family: 'Source Code Pro', monospace;
  letter-spacing: 0.07em;
  padding: 2px 7px;
  border-radius: 3px;
  text-transform: uppercase;
}

.product-body { padding: 15px; flex: 1; display: flex; flex-direction: column; gap: 5px; }

.product-cat {
  font-size: 0.7rem;
  font-family: 'Source Code Pro', monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tag-color);
}

.product-name { font-size: 0.94rem; font-weight: 600; color: var(--text); line-height: 1.4; cursor: pointer; }
.product-name:hover { color: var(--accent); }

.product-desc { font-size: 0.8rem; color: var(--text3); line-height: 1.55; flex: 1; }

.product-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 11px;
  padding-top: 11px;
  border-top: 1px solid var(--hr);
  gap: 8px;
}

.price-wrap { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }

.price { font-family: 'Lora', serif; font-size: 1.08rem; font-weight: 700; color: var(--accent); }
.price-mrp { font-size: 0.77rem; color: var(--text3); text-decoration: line-through; }
.price-off { font-size: 0.72rem; color: #c05000; font-weight: 600; }

.product-actions { display: flex; gap: 6px; align-items: center; }

.add-cart-btn {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 13px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background var(--transition);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.add-cart-btn:hover { background: var(--accent-dk); }

.qty-ctrl {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
}

.qty-btn {
  width: 26px;
  height: 28px;
  background: var(--bg3);
  border: none;
  cursor: pointer;
  font-size: 1rem;
  color: var(--text2);
  transition: background var(--transition);
  font-family: 'Source Sans 3', sans-serif;
}

.qty-btn:hover { background: var(--accent); color: #fff; }
.qty-num { padding: 0 8px; font-size: 0.82rem; font-weight: 600; color: var(--text); min-width: 28px; text-align: center; }

/* ================================================================
   ABOUT
================================================================ */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }

.about-image {
  border-radius: 7px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--bg3);
  border: 1px solid var(--border);
}

.about-image img { width: 100%; height: 100%; object-fit: cover; display: block; }

.about-text h2 { font-size: 1.8rem; margin-bottom: 14px; letter-spacing: -0.02em; }
.about-text h2 em { font-style: italic; color: var(--accent); }
.about-text p { font-size: 0.93rem; color: var(--text2); font-weight: 300; line-height: 1.82; margin-bottom: 12px; }

.about-list { list-style: none; margin-top: 22px; display: flex; flex-direction: column; gap: 11px; }
.about-list li { font-size: 0.88rem; color: var(--text2); padding-left: 16px; position: relative; line-height: 1.5; }
.about-list li::before { content: ''; position: absolute; left: 0; top: 8px; width: 5px; height: 5px; background: var(--accent); border-radius: 50%; }

/* ================================================================
   GALLERY
================================================================ */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }

.gallery-cell {
  border-radius: 6px;
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--bg3);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: box-shadow var(--transition), transform var(--transition);
  cursor: pointer;
}

.gallery-cell:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.gallery-cell img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-note { text-align: center; color: var(--text3); font-size: 0.7rem; font-family: 'Source Code Pro', monospace; padding: 10px; letter-spacing: 0.04em; line-height: 1.75; }

/* ================================================================
   CONTACT
================================================================ */
.feedback-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.feedback-info h2 { font-size: 1.7rem; margin-bottom: 13px; letter-spacing: -0.02em; }
.feedback-info h2 em { font-style: italic; color: var(--accent); }
.feedback-info p { font-size: 0.91rem; color: var(--text2); font-weight: 300; line-height: 1.82; margin-bottom: 12px; }

.contact-detail {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 18px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 6px;
}

.contact-row { font-size: 0.86rem; color: var(--text2); }
.contact-row strong { font-weight: 600; color: var(--text); margin-right: 5px; }
.contact-row a { color: var(--accent); }

.feedback-form { background: var(--card); border: 1px solid var(--border); border-radius: 7px; padding: 28px; }
.feedback-form h3 { font-size: 1.05rem; font-family: 'Lora', serif; margin-bottom: 20px; color: var(--text); font-weight: 600; }

.form-group { margin-bottom: 14px; }
.form-group label { display: block; font-size: 0.8rem; font-weight: 600; color: var(--text2); margin-bottom: 5px; letter-spacing: 0.02em; }

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--bg);
  color: var(--text);
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.88rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(45,122,80,0.09); }

.form-group select { cursor: pointer; }
.form-group textarea { min-height: 108px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }

.form-note { font-size: 0.73rem; color: var(--text3); margin-top: 9px; }

.success-msg {
  display: none;
  background: var(--accent-lt);
  border: 1px solid var(--green-300);
  border-radius: 5px;
  padding: 12px 14px;
  font-size: 0.86rem;
  color: var(--accent);
  margin-top: 12px;
  font-weight: 500;
}

/* ================================================================
   CART DRAWER
================================================================ */
.cart-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.38);
  z-index: 300;
  backdrop-filter: blur(2px);
}

.cart-backdrop.open { display: block; }

.cart-drawer {
  position: fixed;
  top: 0; right: -420px;
  width: 400px;
  max-width: 95vw;
  height: 100vh;
  background: var(--card);
  border-left: 1px solid var(--border);
  z-index: 301;
  display: flex;
  flex-direction: column;
  transition: right 0.3s ease;
  box-shadow: -4px 0 24px rgba(0,0,0,0.12);
}

.cart-drawer.open { right: 0; }

.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  border-bottom: 1px solid var(--border);
}

.cart-header h3 { font-size: 1.05rem; }

.cart-close {
  background: none;
  border: none;
  font-size: 1.1rem;
  color: var(--text3);
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 4px;
  transition: color var(--transition);
}

.cart-close:hover { color: var(--text); }

.cart-items { flex: 1; overflow-y: auto; padding: 16px 22px; }

.cart-empty { text-align: center; color: var(--text3); font-size: 0.88rem; margin-top: 60px; line-height: 1.8; }

.cart-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid var(--hr);
}

.cart-item-img {
  width: 58px; height: 58px;
  border-radius: 5px;
  background: var(--bg3);
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  color: var(--text3);
  font-family: 'Source Code Pro', monospace;
  text-align: center;
}

.cart-item-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-info { flex: 1; }
.cart-item-name { font-size: 0.88rem; font-weight: 600; color: var(--text); margin-bottom: 3px; line-height: 1.3; }
.cart-item-price { font-size: 0.82rem; color: var(--accent); font-weight: 600; margin-bottom: 8px; }

.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  width: fit-content;
}

.cart-item-remove {
  background: none;
  border: none;
  color: var(--text3);
  font-size: 0.78rem;
  cursor: pointer;
  padding: 3px 6px;
  transition: color var(--transition);
  font-family: 'Source Sans 3', sans-serif;
  margin-top: 6px;
  display: block;
}

.cart-item-remove:hover { color: #c0392b; }

.cart-footer {
  padding: 18px 22px;
  border-top: 1px solid var(--border);
  background: var(--bg3);
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
  color: var(--text2);
  margin-bottom: 5px;
}

.cart-total-row.grand { font-size: 1.05rem; font-weight: 700; color: var(--text); margin-bottom: 14px; margin-top: 6px; padding-top: 10px; border-top: 1px solid var(--border); }

/* ================================================================
   MODALS
================================================================ */
.modal-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.48);
  z-index: 400;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(3px);
  padding: 20px;
}

.modal-backdrop.open { display: flex; }

.modal-box {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 9px;
  padding: 36px;
  max-width: 420px;
  width: 100%;
  box-shadow: 0 10px 48px rgba(0,0,0,0.22);
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-close {
  position: absolute;
  top: 14px; right: 14px;
  background: none;
  border: none;
  font-size: 1.1rem;
  color: var(--text3);
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 4px;
  transition: color var(--transition);
}

.modal-close:hover { color: var(--text); }

/* PRODUCT DETAIL MODAL */
.modal-product { max-width: 680px; }

.pdetail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }

.pdetail-img {
  border-radius: 7px;
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--bg3);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
}

.pdetail-img img { width: 100%; height: 100%; object-fit: cover; }

.pdetail-cat { font-size: 0.7rem; font-family: 'Source Code Pro', monospace; letter-spacing: 0.08em; text-transform: uppercase; color: var(--tag-color); margin-bottom: 8px; }
.pdetail-name { font-size: 1.25rem; font-family: 'Lora', serif; font-weight: 700; margin-bottom: 10px; }
.pdetail-desc { font-size: 0.88rem; color: var(--text2); line-height: 1.7; font-weight: 300; margin-bottom: 16px; }
.pdetail-price { font-family: 'Lora', serif; font-size: 1.4rem; font-weight: 700; color: var(--accent); margin-bottom: 4px; }
.pdetail-mrp { font-size: 0.82rem; color: var(--text3); text-decoration: line-through; margin-bottom: 18px; }

/* CHECKOUT MODAL */
.modal-checkout { max-width: 820px; padding: 36px 32px; }

.checkout-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; margin-top: 20px; }

.checkout-section-title {
  font-family: 'Lora', serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--hr);
}

.order-summary { margin-bottom: 12px; }

.summary-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  font-size: 0.83rem;
  color: var(--text2);
  padding: 7px 0;
  border-bottom: 1px solid var(--hr);
  gap: 10px;
}

.summary-item-name { flex: 1; line-height: 1.4; }
.summary-item-price { font-weight: 600; white-space: nowrap; }

.order-totals { background: var(--bg3); border-radius: 5px; padding: 12px 14px; }
.totals-row { display: flex; justify-content: space-between; font-size: 0.84rem; color: var(--text2); margin-bottom: 6px; }
.totals-row.grand { font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: 0; margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--border); }

/* ORDER SUCCESS */
.order-success-icon {
  width: 60px; height: 60px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 20px;
}

.tracking-box {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 18px 20px;
  text-align: left;
  margin-top: 4px;
}

.tracking-box h4 {
  font-family: 'Lora', serif;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text);
}

.tracking-order-num {
  font-family: 'Source Code Pro', monospace;
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-lt);
  padding: 6px 12px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 12px;
  letter-spacing: 0.06em;
}

.tracking-steps {
  list-style: none;
  text-align: left;
  margin-top: 6px;
}

.tracking-steps li {
  font-size: 0.82rem;
  color: var(--text2);
  padding: 5px 0 5px 20px;
  position: relative;
  border-bottom: 1px solid var(--hr);
  line-height: 1.5;
  font-weight: 300;
}

.tracking-steps li:last-child { border-bottom: none; }

.tracking-steps li::before {
  content: '';
  position: absolute;
  left: 0; top: 11px;
  width: 5px; height: 5px;
  background: var(--accent);
  border-radius: 50%;
}

.tracking-link {
  display: inline-block;
  margin-top: 12px;
  font-size: 0.82rem;
  color: var(--accent);
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
}

/* ================================================================
   FOOTER
================================================================ */
footer { background: var(--bg2); border-top: 1px solid var(--border); padding: 50px 32px 26px; }
.footer-inner { max-width: 1140px; margin: 0 auto; }

.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 36px; }

.footer-logo { height: 40px; width: auto; object-fit: contain; display: block; margin-bottom: 12px; }
.footer-brand p { font-size: 0.83rem; color: var(--text3); line-height: 1.78; max-width: 210px; font-weight: 300; }

.footer-col h4 { font-size: 0.69rem; font-family: 'Source Code Pro', monospace; letter-spacing: 0.13em; text-transform: uppercase; color: var(--text3); margin-bottom: 12px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { font-size: 0.86rem; color: var(--text2); transition: color var(--transition); font-weight: 300; }
.footer-col a:hover { color: var(--accent); }

.footer-bottom { border-top: 1px solid var(--hr); padding-top: 20px; display: flex; justify-content: space-between; align-items: flex-start; font-size: 0.77rem; color: var(--text3); gap: 16px; flex-wrap: wrap; }
.footer-bottom-right { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.footer-ai-note { font-size: 0.7rem; color: var(--text3); opacity: 0.65; font-style: italic; }

/* ================================================================
   REVEAL + SCROLL TOP
================================================================ */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.5s ease, transform 0.5s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

#scrollTop {
  position: fixed;
  bottom: 22px; right: 22px;
  width: 38px; height: 38px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  cursor: pointer;
  transition: all var(--transition);
  opacity: 0;
  pointer-events: none;
  z-index: 100;
}

#scrollTop.show { opacity: 1; pointer-events: all; }
#scrollTop:hover { background: var(--accent-dk); transform: translateY(-2px); }

/* ================================================================
   HAMBURGER MENU
================================================================ */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: 4px;
  transition: background var(--transition);
}

.nav-hamburger:hover { background: var(--bg3); }

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text2);
  border-radius: 2px;
  transition: all 0.25s ease;
  transform-origin: center;
}

.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 56px;
  left: 0; right: 0;
  background: var(--nav-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  z-index: 190;
  padding: 12px 0 18px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding-top: 0;
  padding-bottom: 0;
}

.mobile-menu.open {
  max-height: 400px;
  padding: 12px 0 18px;
}

.mobile-menu a {
  display: block;
  padding: 12px 24px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text2);
  border-bottom: 1px solid var(--hr);
  transition: color var(--transition), background var(--transition);
}

.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a:hover { color: var(--accent); background: var(--accent-lt); }

/* ================================================================
   RESPONSIVE — TABLET (max 900px)
================================================================ */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }

  .hero-banner { height: 380px; }
  .hero-overlay { padding: 0 32px; }
  .hero-title { font-size: 2.2rem; }

  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-image { max-width: 480px; }

  .feedback-wrap { grid-template-columns: 1fr; gap: 32px; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 6px; }
  .footer-bottom-right { align-items: flex-start; }

  .checkout-grid { grid-template-columns: 1fr; gap: 24px; }
  .modal-checkout { max-width: 560px; padding: 28px 24px; }

  .pdetail-grid { grid-template-columns: 1fr; gap: 20px; }
  .pdetail-img { max-width: 320px; }

  .products-grid { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; }
}

/* ================================================================
   RESPONSIVE — MOBILE (max 600px)
================================================================ */
@media (max-width: 600px) {
  /* Base */
  .container { padding: 0 16px; }
  .section { padding: 52px 0; }

  /* Navbar */
  nav { height: 56px; }
  .nav-inner { padding: 0 16px; }
  .mobile-menu { top: 56px; }
  .nav-logo-text { font-size: 0.95rem; }
  .nav-logo-img { height: 28px; }
  .cart-btn { padding: 6px 10px; font-size: 0.8rem; gap: 5px; }
  .cart-btn svg { width: 17px; height: 17px; }
  .cart-btn span.cart-count { min-width: 18px; font-size: 0.65rem; }
  .theme-toggle { display: none; }

  /* Hero */
  .hero-banner { height: auto; min-height: 260px; }
  .hero-overlay { padding: 28px 20px; align-items: flex-end; padding-bottom: 32px; }
  .hero-label { font-size: 0.65rem; padding: 3px 9px; margin-bottom: 10px; }
  .hero-title { font-size: 1.65rem; margin-bottom: 10px; }
  .hero-desc { font-size: 0.88rem; margin-bottom: 20px; }
  .hero-actions { gap: 8px; }
  .hero-actions .btn { padding: 9px 16px; font-size: 0.82rem; }
  .hero-stats { gap: 20px; padding: 18px 16px; flex-wrap: wrap; }
  .stat-val { font-size: 1.25rem; }
  .stat-label { font-size: 0.72rem; }

  /* Products */
  .products-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .product-img { height: 140px; }
  .product-body { padding: 11px; gap: 4px; }
  .product-name { font-size: 0.82rem; }
  .product-desc { display: none; }
  .product-foot { flex-direction: column; align-items: flex-start; gap: 8px; }
  .price { font-size: 0.95rem; }
  .price-mrp { font-size: 0.7rem; }
  .price-off { font-size: 0.65rem; }
  .add-cart-btn { width: 100%; text-align: center; padding: 7px 0; }
  .qty-ctrl { width: 100%; justify-content: center; }
  .cat-row { gap: 6px; }
  .cat-pill { padding: 6px 11px; font-size: 0.78rem; }

  /* About */
  .about-grid { gap: 24px; }
  .about-image { aspect-ratio: 16/9; }
  .about-text h2 { font-size: 1.45rem; }
  .about-text p { font-size: 0.88rem; }
  .about-list li { font-size: 0.84rem; }

  /* Contact form */
  .feedback-form { padding: 20px 16px; }
  .feedback-form h3 { font-size: 0.95rem; }
  .form-row { grid-template-columns: 1fr; }
  .form-group label { font-size: 0.78rem; }
  .form-group input,
  .form-group textarea,
  .form-group select { font-size: 0.85rem; padding: 8px 10px; }

  /* Section headings */
  .section-head h2 { font-size: 1.4rem; }
  .section-head p { font-size: 0.84rem; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  footer { padding: 36px 16px 20px; }
  .footer-brand p { max-width: 100%; }
  .footer-bottom { font-size: 0.72rem; gap: 4px; }
  .footer-ai-note { font-size: 0.65rem; }

  /* Cart drawer */
  .cart-drawer { width: 100%; max-width: 100%; right: -100%; border-left: none; border-top: 1px solid var(--border); }
  .cart-item-img { width: 48px; height: 48px; }
  .cart-item-name { font-size: 0.82rem; }
  .cart-item-price { font-size: 0.78rem; }
  .cart-header { padding: 14px 16px; }
  .cart-items { padding: 12px 16px; }
  .cart-footer { padding: 14px 16px; }
  .cart-total-row { font-size: 0.82rem; }
  .cart-total-row.grand { font-size: 0.95rem; }

  /* Product detail modal */
  .modal-product { max-width: 100%; margin: 0; border-radius: 12px 12px 0 0; position: fixed; bottom: 0; left: 0; right: 0; max-height: 92vh; overflow-y: auto; }
  .pdetail-img { max-width: 100%; aspect-ratio: 16/9; }
  .pdetail-name { font-size: 1rem; }
  .pdetail-desc { font-size: 0.82rem; }
  .pdetail-price { font-size: 1.2rem; }

  /* Checkout modal */
  .modal-checkout { max-width: 100%; margin: 0; border-radius: 12px 12px 0 0; position: fixed; bottom: 0; left: 0; right: 0; max-height: 95vh; overflow-y: auto; padding: 22px 16px 28px; }
  .modal-checkout h3 { font-size: 1.05rem; }
  .checkout-section-title { font-size: 0.88rem; }
  .totals-row { font-size: 0.8rem; }
  .totals-row.grand { font-size: 0.92rem; }

  /* Success modal */
  .success-modal-box { max-width: 100%; margin: 0; border-radius: 12px 12px 0 0; position: fixed; bottom: 0; left: 0; right: 0; padding: 32px 20px 28px; }
  .order-success-icon { width: 50px; height: 50px; font-size: 1.5rem; }
  .tracking-box { padding: 14px 14px; }
  .tracking-steps li { font-size: 0.78rem; }
  .tracking-order-num { font-size: 0.9rem; }

  /* Generic modal adjustments */
  .modal-backdrop { padding: 0; align-items: flex-end; }
  .modal-box { border-radius: 12px 12px 0 0; max-height: 92vh; overflow-y: auto; width: 100%; }

  /* Scroll top */
  #scrollTop { bottom: 14px; right: 14px; width: 34px; height: 34px; font-size: 0.9rem; }
}

/* ================================================================
   ADMIN LOGIN PANEL
================================================================ */
.admin-btn {
  position: fixed;
  bottom: 70px;
  right: 22px;
  width: 38px; height: 38px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 5px;
  color: var(--text3);
  font-size: 1rem;
  cursor: pointer;
  z-index: 79;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
}
.admin-btn:hover { border-color: var(--accent); color: var(--accent); }

.admin-modal-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 500;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}
.admin-modal-backdrop.open { display: flex; }

.admin-login-box {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 36px 32px;
  max-width: 360px;
  width: 90%;
  box-shadow: 0 10px 48px rgba(0,0,0,0.25);
  position: relative;
}

.admin-login-box h3 {
  font-family: 'Lora', serif;
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.admin-login-box p {
  font-size: 0.82rem;
  color: var(--text3);
  margin-bottom: 22px;
}

.admin-error {
  display: none;
  background: #fff0f0;
  border: 1px solid #f5c0c0;
  color: #c0392b;
  font-size: 0.8rem;
  padding: 8px 12px;
  border-radius: 4px;
  margin-bottom: 12px;
}

[data-theme="dark"] .admin-error { background: rgba(192,57,43,0.1); border-color: rgba(192,57,43,0.3); }

.admin-panel {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 600;
  flex-direction: column;
  overflow-y: auto;
}
.admin-panel.open { display: flex; }

.admin-topbar {
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
  padding: 14px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 601;
}

.admin-topbar h2 {
  font-family: 'Lora', serif;
  font-size: 1.1rem;
  color: var(--accent);
}

.admin-topbar-right { display: flex; gap: 10px; align-items: center; }

.admin-user-tag {
  font-size: 0.78rem;
  color: var(--text3);
  font-family: 'Source Code Pro', monospace;
  background: var(--bg3);
  padding: 3px 10px;
  border-radius: 4px;
}

.admin-logout {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 14px;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text2);
  border-radius: 4px;
  cursor: pointer;
  transition: all var(--transition);
}
.admin-logout:hover { border-color: #c0392b; color: #c0392b; }

.admin-body { padding: 28px; max-width: 1000px; margin: 0 auto; width: 100%; }

.admin-section-title {
  font-family: 'Lora', serif;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--hr);
  color: var(--text);
}

.admin-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 14px;
  margin-bottom: 32px;
}

.admin-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 18px;
}

.admin-card-val {
  font-family: 'Lora', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--accent);
  display: block;
  margin-bottom: 3px;
}

.admin-card-label { font-size: 0.78rem; color: var(--text3); }

.admin-product-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 7px;
  overflow: hidden;
  margin-bottom: 32px;
}

.admin-product-table th {
  background: var(--bg3);
  padding: 10px 14px;
  text-align: left;
  font-weight: 600;
  font-size: 0.75rem;
  color: var(--text3);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--border);
}

.admin-product-table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--hr);
  color: var(--text2);
  vertical-align: middle;
}

.admin-product-table tr:last-child td { border-bottom: none; }
.admin-product-table tr:hover td { background: var(--bg3); }

.stock-low { color: #c05000; font-weight: 600; }
.stock-ok  { color: var(--accent); font-weight: 600; }

.admin-note {
  font-size: 0.8rem;
  color: var(--text3);
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 14px 16px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.admin-note strong { color: var(--text2); }

@media (max-width: 600px) {
  .admin-body { padding: 16px; }
  .admin-topbar { padding: 12px 16px; }
  .admin-topbar h2 { font-size: 0.95rem; }
  .admin-product-table { font-size: 0.75rem; }
  .admin-product-table th, .admin-product-table td { padding: 8px 10px; }
  .admin-btn { bottom: 60px; right: 14px; }
}
