/* ============================================================
   HerbHeal � Shop Stylesheet (Products, Detail, Cart, Account)
   Extends style.css design tokens
   ============================================================ */

/* ── Page Hero ── */
.page-hero {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-main) 100%);
  padding: 52px 0 40px;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Ccircle cx='30' cy='30' r='4'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { font-family: 'Playfair Display', serif; color: #fff; font-size: clamp(1.6rem, 3.5vw, 2.6rem); margin-bottom: 8px; }
.page-hero p  { color: rgba(255,255,255,.72); font-size: .97rem; margin: 0; }

/* Breadcrumb */
.breadcrumb-ha { display: flex; gap: 6px; align-items: center; margin-bottom: 16px; }
.breadcrumb-ha a { color: rgba(255,255,255,.6); font-size: .82rem; transition: color .2s; }
.breadcrumb-ha a:hover { color: #fff; }
.breadcrumb-ha span { color: rgba(255,255,255,.35); font-size: .78rem; }
.breadcrumb-ha .current { color: rgba(255,255,255,.85); font-size: .82rem; }

/* ════════════════════════════════════════════
   PRODUCTS LISTING
════════════════════════════════════════════ */
.shop-layout { display: grid; grid-template-columns: 260px 1fr; gap: 32px; padding: 48px 0 72px; align-items: start; }

/* Sidebar */
.filter-sidebar {
  position: sticky; top: 80px;
  background: #fff; border-radius: 16px;
  border: 1.5px solid var(--border-light);
  padding: 28px 24px;
  box-shadow: var(--shadow-card);
}
.filter-sidebar h4 { font-size: .82rem; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--text-muted); margin-bottom: 16px; }
.filter-divider { border: none; border-top: 1px solid var(--border-light); margin: 20px 0; }

/* Goal filter buttons */
.goal-filter { display: flex; flex-direction: column; gap: 8px; }
.goal-btn {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-radius: 10px;
  border: 1.5px solid var(--border-light);
  background: #fff; cursor: pointer;
  transition: all .18s ease; font-size: .88rem; font-weight: 500; color: var(--text-dark);
  font-family: 'Outfit', sans-serif; text-align: left;
}
.goal-btn:hover { border-color: var(--green-mid); background: var(--green-pale); }
.goal-btn.active { border-color: var(--green-main); background: var(--green-pale); color: var(--green-dark); font-weight: 700; }
.goal-btn .goal-icon { font-size: 1.1rem; }
.goal-btn .goal-count { margin-left: auto; font-size: .76rem; color: var(--text-muted); background: var(--green-light); border-radius: 50px; padding: 1px 8px; }

/* Price range */
.price-range-wrap { padding: 4px 0; }
.price-slider { width: 100%; accent-color: var(--green-main); }
.price-labels { display: flex; justify-content: space-between; font-size: .8rem; color: var(--text-muted); margin-top: 6px; }

/* Sort select */
.sort-select { width: 100%; border-radius: 10px; border: 1.5px solid var(--border-light); padding: 10px 14px; font-size: .88rem; font-family: 'Outfit', sans-serif; color: var(--text-dark); appearance: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236c757d' stroke-width='1.5' fill='none'/%3E%3C/svg%3E") no-repeat right 14px center; cursor: pointer; }
.sort-select:focus { outline: none; border-color: var(--green-main); box-shadow: 0 0 0 3px rgba(45,106,79,.1); }

/* Active filters strip */
.active-filters { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 24px; }
.filter-pill { display: inline-flex; align-items: center; gap: 6px; background: var(--green-light); color: var(--green-dark); border-radius: 50px; padding: 5px 14px; font-size: .78rem; font-weight: 700; }
.filter-pill .remove-pill { background: none; border: none; padding: 0; color: var(--green-main); cursor: pointer; font-size: .95rem; line-height: 1; }

/* Results count */
.results-meta { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.results-count { font-size: .88rem; color: var(--text-muted); }

/* Product Grid */
.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

/* Product Card (shared with homepage, enhanced here) */
.product-card { display: flex; flex-direction: column; height: 100%; }
.product-body { flex: 1; display: flex; flex-direction: column; }
.product-actions { margin-top: auto; }

/* ════════════════════════════════════════════
   PRODUCT DETAIL
════════════════════════════════════════════ */
.product-detail-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; padding: 52px 0 80px; align-items: start; }

/* Image Gallery */
.gallery-main {
  aspect-ratio: 1;
  border-radius: 20px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--border-light);
  cursor: grab;
  position: relative;
  touch-action: pan-y pinch-zoom;
  user-select: none;
  -webkit-user-select: none;
}
.gallery-main:active {
  cursor: grabbing;
}
.gallery-carousel-track {
  display: flex;
  height: 100%;
  width: 100%;
  transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}
.gallery-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
}
.gallery-slide img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  pointer-events: none;
  transition: none;
}
.gallery-main:hover img { transform: none; }
.gallery-main .zoom-icon { display: none; }
.gallery-thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.gallery-thumb {
  width: 76px; height: 76px; flex: 0 0 76px; aspect-ratio: 1; border-radius: 12px; overflow: hidden;
  cursor: pointer; border: 2px solid var(--border-light); background: #ffffff; padding: 4px;
  transition: border-color .2s;
}
.gallery-thumb:hover, .gallery-thumb.active { border-color: var(--green-main); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: contain; }

/* Product Info Column */
.product-goal-tag {
  display: inline-block;
  background: var(--green-light); color: var(--green-dark);
  border-radius: 50px; padding: 5px 16px;
  font-size: .72rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  margin-bottom: 12px;
}
.product-detail-name { font-family: 'Playfair Display', serif; font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 700; line-height: 1.2; margin-bottom: 12px; }
.rating-row { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.stars-large { color: var(--gold); font-size: 1.1rem; }
.rating-val { font-weight: 700; color: var(--text-dark); }
.rating-cnt { color: var(--text-muted); font-size: .88rem; }

/* Price block */
.price-block { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.price-block .price-main { font-size: 2rem; font-weight: 800; color: var(--green-dark); }
.price-block .price-orig { font-size: 1rem; color: var(--text-muted); text-decoration: line-through; }
.price-block .price-badge { background: #dc2626; color: #fff; border-radius: 50px; padding: 4px 12px; font-size: .78rem; font-weight: 700; }

/* Plan included badge */
.plan-badge { display: inline-flex; align-items: center; gap: 8px; background: var(--gold-light); border: 1.5px solid var(--gold); border-radius: 10px; padding: 10px 16px; margin: 12px 0 20px; font-size: .86rem; font-weight: 600; color: #92400e; }
.plan-badge i { color: var(--gold); font-size: 1rem; }

/* Benefit bullets */
.benefit-bullets { list-style: none; padding: 0; margin: 0 0 20px; }
.benefit-bullets li { display: flex; align-items: flex-start; gap: 8px; font-size: .9rem; color: var(--text-dark); margin-bottom: 8px; }
.benefit-bullets li::before { content: '✓'; color: var(--green-main); font-weight: 700; flex-shrink: 0; margin-top: 1px; }

/* Quantity picker */
.qty-picker { display: flex; align-items: center; gap: 0; border: 1.5px solid var(--border-light); border-radius: 10px; overflow: hidden; width: fit-content; }
.qty-btn { background: var(--green-pale); border: none; padding: 10px 16px; font-size: 1.1rem; cursor: pointer; color: var(--green-dark); font-weight: 700; transition: background .15s; }
.qty-btn:hover { background: var(--green-light); }
.qty-input { border: none; width: 52px; text-align: center; font-family: 'Outfit', sans-serif; font-size: 1rem; font-weight: 700; outline: none; }

/* Subscribe options */
.subscribe-options { background: var(--green-pale); border-radius: 12px; padding: 16px; margin: 12px 0; }
.subscribe-options h6 { font-size: .82rem; font-weight: 700; color: var(--green-dark); margin-bottom: 12px; }
.freq-options { display: flex; gap: 8px; flex-wrap: wrap; }
.freq-btn {
  border: 1.5px solid var(--border-light); border-radius: 50px; padding: 7px 18px;
  font-size: .82rem; font-weight: 600; background: #fff; cursor: pointer;
  transition: all .15s; color: var(--text-dark); font-family: 'Outfit', sans-serif;
}
.freq-btn.active, .freq-btn:hover { border-color: var(--green-main); background: var(--green-pale); color: var(--green-dark); }
.freq-save-tag { font-size: .74rem; color: var(--green-mid); font-weight: 700; }

/* CTA Buttons */
.btn-add-cart-lg {
  background: var(--green-main); color: #fff; border: none;
  border-radius: 50px; padding: 15px 36px; font-weight: 700; font-size: 1rem;
  transition: all .2s; font-family: 'Outfit', sans-serif; flex: 1;
}
.btn-add-cart-lg:hover { background: var(--green-dark); transform: translateY(-2px); }
.btn-buy-now {
  background: var(--gold); color: #1a1a1a; border: none;
  border-radius: 50px; padding: 15px 28px; font-weight: 700; font-size: 1rem;
  transition: all .2s; font-family: 'Outfit', sans-serif;
}
.btn-buy-now:hover { background: #e09900; transform: translateY(-2px); }

/* Share buttons */
.share-row { display: flex; gap: 8px; align-items: center; margin-top: 16px; }
.share-btn { width: 36px; height: 36px; border-radius: 50%; background: var(--green-pale); border: 1.5px solid var(--border-light); display: flex; align-items: center; justify-content: center; color: var(--text-muted); font-size: .9rem; transition: all .15s; cursor: pointer; }
.share-btn:hover { background: var(--green-light); color: var(--green-dark); }

/* ── Product Detail Tabs ── */
.detail-tabs { margin: 60px 0 0; }
.detail-nav-tabs { border-bottom: 2px solid var(--border-light); margin-bottom: 40px; display: flex; gap: 4px; overflow-x: auto; }
.detail-nav-tabs .nav-link {
  border: none; border-bottom: 3px solid transparent;
  padding: 12px 24px; font-weight: 600; font-size: .92rem;
  color: var(--text-muted); border-radius: 0; margin-bottom: -2px;
  transition: color .2s; white-space: nowrap;
}
.detail-nav-tabs .nav-link:hover { color: var(--green-main); }
.detail-nav-tabs .nav-link.active { color: var(--green-dark); border-bottom-color: var(--green-dark); background: none; }

/* Ingredient cards */
.ingredient-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.ingredient-card {
  background: var(--green-pale); border-radius: 14px; padding: 22px;
  border: 1.5px solid var(--green-light); transition: all .2s;
}
.ingredient-card:hover { box-shadow: var(--shadow-hover); border-color: var(--green-mid); transform: translateY(-3px); }
.ingredient-icon { font-size: 1.8rem; margin-bottom: 10px; }
.ingredient-name { font-weight: 700; font-size: .95rem; color: var(--green-dark); margin-bottom: 6px; }
.ingredient-benefit { font-size: .86rem; color: var(--text-muted); line-height: 1.65; }

/* How to use steps */
.how-steps { list-style: none; padding: 0; counter-reset: step-counter; }
.how-steps li {
  display: flex; gap: 18px; padding: 20px 0;
  border-bottom: 1px solid var(--border-light);
  counter-increment: step-counter;
}
.how-steps li:last-child { border-bottom: none; }
.step-num {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--green-dark); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: .85rem; flex-shrink: 0;
}
.step-text { font-size: .93rem; color: var(--text-dark); line-height: 1.65; padding-top: 6px; }

/* Who should use */
.who-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.who-list { list-style: none; padding: 0; }
.who-list li { display: flex; align-items: flex-start; gap: 10px; font-size: .9rem; padding: 8px 0; border-bottom: 1px solid var(--border-light); }
.who-list li:last-child { border-bottom: none; }
.who-yes li::before { content: '✓'; color: var(--green-main); font-weight: 700; flex-shrink: 0; }
.who-no  li::before { content: '✗'; color: #dc2626; font-weight: 700; flex-shrink: 0; }
.who-heading { font-weight: 700; font-size: .88rem; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 14px; padding: 8px 16px; border-radius: 8px; }
.who-yes .who-heading { background: #dcfce7; color: var(--green-dark); }
.who-no  .who-heading { background: #fee2e2; color: #991b1b; }

/* ── Reviews ── */
.reviews-section { padding: 60px 0; background: var(--cream); }
.rating-aggregate { display: flex; align-items: center; gap: 40px; margin-bottom: 36px; }
.agg-score { text-align: center; }
.agg-num { font-size: 4rem; font-weight: 800; color: var(--green-dark); line-height: 1; }
.agg-stars { color: var(--gold); font-size: 1.4rem; }
.agg-count { font-size: .82rem; color: var(--text-muted); }
.rating-bars { flex: 1; }
.rating-bar-row { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.rating-bar-label { font-size: .8rem; font-weight: 600; color: var(--text-muted); width: 30px; text-align: right; }
.rating-bar-track { flex: 1; height: 8px; background: var(--green-light); border-radius: 50px; overflow: hidden; }
.rating-bar-fill { height: 100%; background: var(--gold); border-radius: 50px; transition: width .8s ease; }
.rating-bar-count { font-size: .78rem; color: var(--text-muted); width: 30px; }

.review-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; margin-top: 32px; }
.review-card { background: #fff; border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-card); }
.review-header { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.review-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--green-light); display: flex; align-items: center; justify-content: center; font-weight: 700; color: var(--green-dark); font-size: 1rem; flex-shrink: 0; }
.review-name { font-weight: 700; font-size: .9rem; }
.review-location { font-size: .76rem; color: var(--text-muted); }
.review-date { font-size: .74rem; color: var(--text-muted); margin-left: auto; }
.review-stars { color: var(--gold); font-size: .85rem; margin-bottom: 8px; }
.review-text { font-size: .88rem; color: var(--text-dark); line-height: 1.65; font-style: italic; }
.verified-badge { display: inline-flex; align-items: center; gap: 4px; color: var(--green-mid); font-size: .72rem; font-weight: 700; margin-top: 8px; }

/* ── Related Products ── */
.related-section { padding: 60px 0; }

/* ════════════════════════════════════════════
   CART & CHECKOUT
════════════════════════════════════════════ */
.checkout-page { background: #f8faf9; min-height: 100vh; padding: 48px 0 80px; }

/* Step progress bar */
.checkout-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 36px;
  width: 100%;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 8px;
}
.step-item {
  display: flex;
  align-items: center;
  gap: clamp(4px, 1.5vw, 10px);
  flex-shrink: 0;
}
.step-circle {
  width: clamp(28px, 6vw, 36px);
  height: clamp(28px, 6vw, 36px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: clamp(0.72rem, 2vw, 0.85rem);
  border: 2px solid var(--border-light);
  background: #fff;
  color: var(--text-muted);
  transition: all .3s;
  flex-shrink: 0;
}
.step-circle.active { background: var(--green-main); color: #fff; border-color: var(--green-main); }
.step-circle.done   { background: var(--green-dark); color: #fff; border-color: var(--green-dark); }
.step-label { font-size: clamp(0.68rem, 1.8vw, 0.82rem); font-weight: 600; color: var(--text-muted); white-space: nowrap; }
.step-label.active { color: var(--green-dark); }
.step-connector {
  flex: 1 1 auto;
  min-width: 8px;
  max-width: 70px;
  height: 2px;
  background: var(--border-light);
  margin: 0 clamp(4px, 1.5vw, 8px);
}
.step-connector.done { background: var(--green-dark); }

/* Cart layout */
.cart-layout { display: grid; grid-template-columns: 1fr 380px; gap: 28px; align-items: start; }

/* Cart table */
.cart-table { background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-card); }
.cart-table-header { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 40px; gap: 16px; padding-bottom: 16px; border-bottom: 1.5px solid var(--border-light); font-size: .78rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: .8px; }
.cart-item-row { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 40px; gap: 16px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--border-light); }
.cart-item-row:last-child { border-bottom: none; }
.cart-item-info { display: flex; align-items: center; gap: 14px; }
.cart-item-img { width: 72px; height: 72px; border-radius: 10px; object-fit: cover; background: var(--green-pale); flex-shrink: 0; }
.cart-item-name { font-weight: 700; font-size: .92rem; margin-bottom: 4px; }
.cart-item-sub { font-size: .76rem; color: var(--green-mid); font-weight: 600; }
.cart-qty-picker { display: flex; align-items: center; border: 1.5px solid var(--border-light); border-radius: 8px; overflow: hidden; width: fit-content; }
.cart-qty-btn { background: var(--green-pale); border: none; padding: 7px 12px; cursor: pointer; color: var(--green-dark); font-size: 1rem; font-weight: 700; }
.cart-qty-val { width: 36px; text-align: center; font-weight: 700; border: none; font-family: 'Outfit', sans-serif; font-size: .9rem; }
.cart-remove { background: none; border: none; color: var(--text-muted); font-size: 1.1rem; cursor: pointer; padding: 6px; border-radius: 6px; transition: all .15s; }
.cart-remove:hover { color: #dc2626; background: #fee2e2; }
.cart-price { font-weight: 700; font-size: .95rem; color: var(--green-dark); }
.cart-total-price { font-weight: 800; font-size: 1.05rem; color: var(--green-dark); }

/* Order summary sidebar */
.order-summary { background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-card); position: sticky; top: 90px; }
.order-summary h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 22px; }
.summary-line { display: flex; justify-content: space-between; align-items: center; font-size: .9rem; padding: 8px 0; color: var(--text-dark); }
.summary-line.discount { color: var(--green-main); font-weight: 600; }
.summary-divider { border: none; border-top: 1.5px solid var(--border-light); margin: 12px 0; }
.summary-total { display: flex; justify-content: space-between; align-items: center; font-weight: 800; font-size: 1.1rem; }

/* Coupon input */
.coupon-wrap { display: flex; gap: 8px; margin: 16px 0; }
.coupon-input { flex: 1; border: 1.5px solid var(--border-light); border-radius: 10px; padding: 11px 16px; font-size: .9rem; font-family: 'Outfit', sans-serif; outline: none; transition: border-color .2s; }
.coupon-input:focus { border-color: var(--green-main); }
.coupon-btn { background: var(--green-main); color: #fff; border: none; border-radius: 10px; padding: 11px 20px; font-weight: 700; font-size: .88rem; cursor: pointer; transition: background .2s; font-family: 'Outfit', sans-serif; white-space: nowrap; }
.coupon-btn:hover { background: var(--green-dark); }
.coupon-success { color: var(--green-main); font-size: .82rem; font-weight: 600; margin-top: 4px; display: flex; align-items: center; gap: 4px; }
.coupon-error   { color: #dc2626; font-size: .82rem; margin-top: 4px; }

/* Shipping options */
.shipping-options { display: flex; flex-direction: column; gap: 10px; margin: 16px 0; }
.shipping-option { border: 1.5px solid var(--border-light); border-radius: 12px; padding: 14px 16px; cursor: pointer; transition: border-color .2s; }
.shipping-option.selected { border-color: var(--green-main); background: var(--green-pale); }
.shipping-option label { cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.shipping-option input[type=radio] { accent-color: var(--green-main); }
.shipping-name  { font-weight: 700; font-size: .9rem; }
.shipping-days  { font-size: .78rem; color: var(--text-muted); }
.shipping-price { font-weight: 700; color: var(--green-dark); }

/* Address form */
.address-form { background: #fff; border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-card); }
.form-label-ha { font-weight: 600; font-size: .84rem; color: var(--green-dark); display: block; margin-bottom: 8px; }
.form-control-ha { width: 100%; border: 1.5px solid var(--border-light); border-radius: 10px; padding: 12px 16px; font-family: 'Outfit', sans-serif; font-size: .92rem; outline: none; transition: border-color .2s; }
.form-control-ha:focus { border-color: var(--green-main); box-shadow: 0 0 0 3px rgba(45,106,79,.1); }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* Payment section */
.payment-section { background: #fff; border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-card); }
.payment-section h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 24px; }
.btn-razorpay {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  background: #3A6DEA; color: #fff; border: none; border-radius: 14px;
  padding: 16px; font-weight: 700; font-size: 1rem; width: 100%;
  cursor: pointer; transition: all .2s; font-family: 'Outfit', sans-serif; margin-bottom: 12px;
}
.btn-razorpay:hover { background: #2d5cd9; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(58,109,234,.3); }
.btn-cod {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--gold); color: #1a1a1a; border: none; border-radius: 14px;
  padding: 16px; font-weight: 700; font-size: 1rem; width: 100%;
  cursor: pointer; transition: all .2s; font-family: 'Outfit', sans-serif;
}
.btn-cod:hover { background: #e09900; transform: translateY(-1px); }
.payment-divider { display: flex; align-items: center; gap: 12px; margin: 16px 0; color: var(--text-muted); font-size: .82rem; }
.payment-divider::before, .payment-divider::after { content: ''; flex: 1; height: 1px; background: var(--border-light); }
.secure-badges { display: flex; justify-content: center; gap: 16px; margin-top: 20px; flex-wrap: wrap; }
.secure-badge { display: flex; align-items: center; gap: 6px; font-size: .76rem; color: var(--text-muted); }
.secure-badge i { color: var(--green-mid); }

/* ════════════════════════════════════════════
   CHECKOUT SUCCESS
════════════════════════════════════════════ */
.success-page { background: var(--cream); min-height: 100vh; padding: 64px 0; display: flex; align-items: center; }
.success-card { background: #fff; border-radius: 20px; padding: 52px 48px; text-align: center; box-shadow: 0 20px 60px rgba(0,0,0,.08); max-width: 560px; margin: 0 auto; }
.success-tick { width: 88px; height: 88px; border-radius: 50%; background: linear-gradient(135deg, var(--green-mid), var(--green-dark)); display: flex; align-items: center; justify-content: center; margin: 0 auto 24px; font-size: 2.2rem; color: #fff; animation: scaleIn .5s cubic-bezier(.34,1.56,.64,1); }
@keyframes scaleIn { from { transform: scale(0); } to { transform: scale(1); } }
.success-title { font-family: 'Playfair Display', serif; font-size: 1.9rem; font-weight: 700; color: var(--green-dark); margin-bottom: 8px; }
.success-sub { color: var(--text-muted); font-size: .95rem; margin-bottom: 28px; }
.order-ref-pill { display: inline-block; background: var(--green-pale); border: 1.5px solid var(--green-light); border-radius: 50px; padding: 8px 24px; font-weight: 700; color: var(--green-dark); font-size: .95rem; margin-bottom: 28px; }
.success-details { background: var(--green-pale); border-radius: 14px; padding: 20px 24px; margin-bottom: 28px; text-align: left; }
.success-detail-row { display: flex; justify-content: space-between; align-items: center; padding: 6px 0; font-size: .88rem; border-bottom: 1px solid var(--green-light); }
.success-detail-row:last-child { border-bottom: none; }
.success-detail-row .label { color: var(--text-muted); }
.success-detail-row .value { font-weight: 700; color: var(--text-dark); }
.success-actions { display: flex; flex-direction: column; gap: 10px; }
.btn-success-primary { background: var(--green-main); color: #fff; border: none; border-radius: 50px; padding: 14px; font-weight: 700; font-size: .95rem; cursor: pointer; transition: all .2s; font-family: 'Outfit', sans-serif; text-decoration: none; display: block; }
.btn-success-primary:hover { background: var(--green-dark); color: #fff; transform: translateY(-1px); }
.btn-success-outline { background: transparent; color: var(--green-main); border: 2px solid var(--green-main); border-radius: 50px; padding: 12px; font-weight: 700; font-size: .92rem; cursor: pointer; transition: all .2s; font-family: 'Outfit', sans-serif; text-decoration: none; display: block; }
.btn-success-outline:hover { background: var(--green-pale); color: var(--green-dark); }
.success-note { font-size: .82rem; color: var(--text-muted); margin-top: 20px; display: flex; align-items: center; gap: 6px; justify-content: center; }

/* ════════════════════════════════════════════
   MY ACCOUNT
════════════════════════════════════════════ */
.account-layout { display: grid; grid-template-columns: 240px 1fr; gap: 28px; padding: 48px 0 80px; align-items: start; }
.account-sidebar { background: #fff; border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-card); position: sticky; top: 90px; }
.account-user-info { display: flex; align-items: center; gap: 14px; padding-bottom: 20px; border-bottom: 1px solid var(--border-light); margin-bottom: 20px; }
.account-avatar { width: 52px; height: 52px; border-radius: 50%; background: var(--green-light); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.2rem; color: var(--green-dark); flex-shrink: 0; }
.account-name { font-weight: 700; font-size: .95rem; }
.account-email { font-size: .78rem; color: var(--text-muted); }
.account-nav { list-style: none; padding: 0; margin: 0; }
.account-nav li a {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 14px; border-radius: 10px;
  font-size: .9rem; font-weight: 500; color: var(--text-dark);
  transition: all .15s;
}
.account-nav li a:hover { background: var(--green-pale); color: var(--green-dark); }
.account-nav li a.active { background: var(--green-light); color: var(--green-dark); font-weight: 700; }
.account-nav li a i { width: 18px; text-align: center; }

/* Account Content */
.account-content { background: #fff; border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-card); }
.account-section-title { font-family: 'Playfair Display', serif; font-size: 1.4rem; font-weight: 700; color: var(--text-dark); margin-bottom: 24px; padding-bottom: 14px; border-bottom: 1.5px solid var(--border-light); }

/* Subscription cards */
.subscription-grid { display: flex; flex-direction: column; gap: 16px; }
.subscription-card { border: 1.5px solid var(--border-light); border-radius: var(--radius); padding: 22px 24px; display: flex; align-items: center; gap: 20px; transition: border-color .2s; }
.subscription-card:hover { border-color: var(--green-mid); }
.subscription-card.paused { opacity: .65; border-style: dashed; }
.subscription-card.cancelled { opacity: .4; }
.sub-img { width: 72px; height: 72px; border-radius: 12px; object-fit: cover; background: var(--green-pale); flex-shrink: 0; }
.sub-info { flex: 1; }
.sub-name { font-weight: 700; font-size: .97rem; margin-bottom: 4px; }
.sub-freq { display: inline-block; background: var(--green-light); color: var(--green-dark); border-radius: 50px; padding: 3px 12px; font-size: .72rem; font-weight: 700; margin-right: 6px; }
.sub-status { display: inline-block; border-radius: 50px; padding: 3px 12px; font-size: .72rem; font-weight: 700; }
.sub-status.active   { background: #dcfce7; color: #15803d; }
.sub-status.paused   { background: #fef9c3; color: #854d0e; }
.sub-status.cancelled{ background: #fee2e2; color: #991b1b; }
.sub-next { font-size: .8rem; color: var(--text-muted); margin-top: 6px; }
.sub-price { font-weight: 800; font-size: 1.1rem; color: var(--green-dark); margin-bottom: 8px; }
.sub-price small { font-weight: 500; font-size: .72rem; color: var(--text-muted); }
.sub-actions { display: flex; flex-direction: column; gap: 6px; align-items: flex-end; }
.btn-sub-action { border-radius: 50px; padding: 6px 16px; font-size: .78rem; font-weight: 700; border: 1.5px solid; cursor: pointer; font-family: 'Outfit', sans-serif; transition: all .15s; }
.btn-sub-pause  { border-color: var(--gold); color: #854d0e; background: transparent; }
.btn-sub-pause:hover  { background: #fef9c3; }
.btn-sub-cancel { border-color: #dc2626; color: #dc2626; background: transparent; }
.btn-sub-cancel:hover { background: #fee2e2; }
.btn-sub-resume { border-color: var(--green-main); color: var(--green-main); background: transparent; }
.btn-sub-resume:hover { background: var(--green-pale); }

/* Order history table */
.orders-table { width: 100%; border-collapse: collapse; }
.orders-table th { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .8px; color: var(--text-muted); padding: 12px 16px; border-bottom: 1.5px solid var(--border-light); text-align: left; }
.orders-table td { padding: 16px; border-bottom: 1px solid var(--border-light); font-size: .88rem; vertical-align: middle; }
.orders-table tr:last-child td { border-bottom: none; }
.order-status-badge { display: inline-block; padding: 4px 12px; border-radius: 50px; font-size: .72rem; font-weight: 700; }
.status-processing { background: #dbeafe; color: #1e40af; }
.status-confirmed  { background: #dcfce7; color: #15803d; }
.status-shipped    { background: #fef9c3; color: #854d0e; }
.status-delivered  { background: #d1fae5; color: #065f46; }
.status-cancelled  { background: #fee2e2; color: #991b1b; }

/* ── Modern Structured Order Cards ── */
.orders-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.order-card {
  background: #ffffff;
  border: 1px solid var(--border-light, #e2e8f0);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.order-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
}

.order-card-header {
  background: #f8fafc;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-light, #e2e8f0);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.order-card-ref-group {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.order-ref-pill {
  font-family: monospace;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--green-dark, #1b4332);
  background: #ffffff;
  padding: 3px 10px;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.order-card-date {
  font-size: 0.8rem;
  color: #64748b;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.order-card-badges {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.order-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2px;
}
.order-status-pill { background: #e2e8f0; color: #334155; border: 1px solid #cbd5e1; }
.order-status-pill.status-delivered  { background: #dcfce7; color: #15803d; border: 1px solid #bbf7d0; }
.order-status-pill.status-shipped    { background: #e0e7ff; color: #4338ca; border: 1px solid #c7d2fe; }
.order-status-pill.status-confirmed  { background: #dbeafe; color: #1e40af; border: 1px solid #bfdbfe; }
.order-status-pill.status-placed,
.order-status-pill.status-pending,
.order-status-pill.status-processing { background: #fef3c7; color: #b45309; border: 1px solid #fde68a; }
.order-status-pill.status-cancelled  { background: #fee2e2; color: #b91c1c; border: 1px solid #fecaca; }

.order-payment-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 600;
}
.order-payment-pill.paid    { background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; }
.order-payment-pill.pending { background: #fffbeb; color: #b45309; border: 1px solid #fde68a; }
.order-payment-pill.cod     { background: #eff6ff; color: #1d4ed8; border: 1px solid #bfdbfe; }

.order-card-body {
  padding: 16px;
}

.order-item-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid #f1f5f9;
}
.order-item-row:last-child {
  border-bottom: none;
}

.order-item-thumb {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  background: var(--green-pale, #e8f5e9);
  border: 1px solid #e2e8f0;
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.order-item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.order-item-info {
  flex: 1;
  min-width: 0;
}

.order-item-title {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--green-dark, #1b4332);
  margin-bottom: 2px;
  white-space: normal;
  line-height: 1.3;
}

.order-item-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: #64748b;
}

.order-item-total {
  font-weight: 700;
  font-size: 0.95rem;
  color: #1e293b;
  text-align: right;
  white-space: nowrap;
}

.order-delivery-box {
  background: #f8fafc;
  border: 1px solid #edf2f7;
  border-radius: 10px;
  padding: 9px 12px;
  margin-top: 12px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.8rem;
  color: #475569;
  line-height: 1.4;
}

.order-card-footer {
  background: #ffffff;
  padding: 12px 16px;
  border-top: 1px solid var(--border-light, #e2e8f0);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.order-total-block {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.order-total-label {
  font-size: 0.82rem;
  color: #64748b;
  font-weight: 500;
}

.order-total-price {
  font-size: 1.22rem;
  font-weight: 800;
  color: var(--green-dark, #1b4332);
}

.order-actions-block {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.btn-order-action {
  border-radius: 50px;
  padding: 5px 14px;
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.2s;
  cursor: pointer;
  border: 1px solid;
}

.btn-order-support {
  background: #ecfdf5;
  color: #047857;
  border-color: #a7f3d0;
}
.btn-order-support:hover {
  background: #059669;
  color: #ffffff;
  border-color: #059669;
}

.btn-order-details {
  background: #f8fafc;
  color: #334155;
  border-color: #cbd5e1;
}
.btn-order-details:hover {
  background: #e2e8f0;
  color: #0f172a;
}

/* Order Details Drawer */
.order-details-drawer {
  background: #fcfdfd;
  border-top: 1px dashed var(--border-light, #e2e8f0);
  padding: 16px;
}

/* Order Stepper */
.order-stepper-track {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  margin: 12px 10px 18px;
}

.order-stepper-track::before {
  content: '';
  position: absolute;
  top: 14px;
  left: 20px;
  right: 20px;
  height: 2px;
  background: #e2e8f0;
  z-index: 1;
}

.order-stepper-step {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stepper-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #f1f5f9;
  border: 2px solid #cbd5e1;
  color: #94a3b8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  transition: all 0.2s;
}

.stepper-text {
  font-size: 0.72rem;
  font-weight: 600;
  color: #64748b;
  margin-top: 6px;
  white-space: nowrap;
}

.order-stepper-step.completed .stepper-dot {
  background: #10b981;
  border-color: #10b981;
  color: #ffffff;
}
.order-stepper-step.completed .stepper-text {
  color: #047857;
  font-weight: 700;
}

.order-stepper-step.current .stepper-dot {
  background: #ffffff;
  border-color: #10b981;
  color: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}
.order-stepper-step.current .stepper-text {
  color: #10b981;
  font-weight: 700;
}

/* ════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .shop-layout { grid-template-columns: 220px 1fr; gap: 20px; }
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .product-detail-layout { grid-template-columns: 1fr; gap: 36px; padding: 36px 0 60px; }
  .cart-layout { grid-template-columns: 1fr; }
  .order-summary { position: static; }
  .account-layout { grid-template-columns: 1fr; }
  .account-sidebar { position: static; }
}

@media (max-width: 768px) {
  .shop-layout { grid-template-columns: 1fr; }
  .filter-sidebar { position: static; }
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .product-detail-layout { padding: 24px 0 36px; }
  .gallery-main { aspect-ratio: 1; max-height: 380px; border-radius: 14px; }
  .gallery-thumbs { margin-top: 12px; gap: 8px; }
  .product-detail-name { font-size: clamp(1.3rem, 4vw, 1.6rem); margin-bottom: 10px; }
  .price-block { flex-wrap: wrap; margin-bottom: 12px; gap: 10px; }
  .price-block .price-main { font-size: clamp(1.4rem, 4vw, 1.8rem); }
  .benefit-bullets { margin: 0 0 16px; }
  .benefit-bullets li { font-size: .85rem; margin-bottom: 6px; }
  .product-detail-layout .btn-add-cart-lg,
  .product-detail-layout .btn-buy-now { padding: 12px 20px; font-size: .92rem; flex: 1; min-width: 130px; }
  .share-row { margin-top: 12px; }
  .cart-table-header { display: none; }
  .cart-item-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 0;
  }
  .cart-item-info {
    width: 100%;
    min-width: 0;
  }
  .cart-price {
    display: none;
  }
  .cart-qty-picker {
    order: 1;
  }
  .cart-total-price {
    order: 2;
    font-size: 1.05rem;
  }
  .cart-remove {
    order: 3;
  }
  .who-grid { grid-template-columns: 1fr; }
  .rating-aggregate { flex-direction: column; gap: 24px; }
  .form-row-2 { grid-template-columns: 1fr; }
  .success-card { padding: 32px 18px; }
  .subscription-card { flex-direction: column; align-items: flex-start; }
  .sub-actions { align-items: flex-start; flex-direction: row; flex-wrap: wrap; }
  .detail-nav-tabs { gap: 0; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .detail-nav-tabs .nav-link { padding: 10px 14px; font-size: .82rem; white-space: nowrap; }
  .ingredient-grid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 12px; }
  .ingredient-card { padding: 14px; }
  .ingredient-icon { font-size: 1.4rem; margin-bottom: 6px; }
  .ingredient-name { font-size: .85rem; margin-bottom: 4px; }
  .ingredient-benefit { font-size: .76rem; line-height: 1.45; }
}

@media (max-width: 576px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .review-grid { grid-template-columns: 1fr; }
  .product-detail-layout { padding: 18px 0 28px; }
  .product-detail-name { font-size: 1.3rem; margin-bottom: 8px; line-height: 1.3; }
  .rating-row { gap: 8px; margin-bottom: 12px; flex-wrap: wrap; }
  .rating-val { font-size: .85rem; }
  .rating-cnt { font-size: .76rem; }
  .price-block { gap: 8px; }
  .price-block .price-main { font-size: 1.5rem; }
  .price-block .price-orig { font-size: .85rem; }
  .plan-badge { padding: 8px 12px; font-size: .76rem; margin: 8px 0 14px; }
  .benefit-bullets { margin: 0 0 12px; }
  .benefit-bullets li { font-size: .8rem; margin-bottom: 5px; gap: 6px; }
  .benefit-bullets li::before { margin-top: 0; font-size: .82rem; }
  .qty-picker { width: auto; }
  .qty-btn { padding: 8px 12px; }
  .qty-input { width: 36px; }
  .product-detail-layout .btn-add-cart-lg,
  .product-detail-layout .btn-buy-now { width: 100%; flex: 1 1 100%; padding: 13px; font-size: .92rem; }
  .gallery-main { max-height: 300px; aspect-ratio: 1; }
  .gallery-thumbs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; -webkit-overflow-scrolling: touch; }
  .gallery-thumb { width: 56px; height: 56px; flex: 0 0 56px; border-radius: 8px; }
  .subscribe-options { padding: 12px; margin: 10px 0; }
  .freq-options { gap: 6px; }
  .freq-btn { padding: 6px 12px; font-size: .74rem; }
  .detail-tabs { margin: 32px 0 0; }
  .detail-nav-tabs { margin-bottom: 16px; gap: 0; }
  .detail-nav-tabs .nav-link { padding: 8px 12px; font-size: .76rem; border-bottom: 2px solid transparent; }
  .detail-nav-tabs .nav-link.active { border-bottom-width: 3px; }
  .ingredient-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .ingredient-card { padding: 12px; }
  .payment-option-card { padding: 12px 14px !important; }
  .payment-option-card .fw-700 { font-size: .88rem !important; }
  .order-card-header { padding: 10px 12px; gap: 8px; }
  .order-card-body { padding: 12px; }
  .order-item-row { gap: 10px; padding: 8px 0; }
  .order-item-thumb { width: 44px; height: 44px; border-radius: 8px; }
  .order-item-title { font-size: 0.88rem; }
  .order-item-meta { font-size: 0.75rem; }
  .order-card-footer { padding: 10px 12px; }
  .order-total-price { font-size: 1.08rem; }
}

@media (max-width: 360px) {
  .products-grid { grid-template-columns: 1fr; gap: 14px; }
  .ingredient-grid { grid-template-columns: 1fr; }
  .cart-item-img { width: 52px; height: 52px; }
  .cart-item-name { font-size: .84rem; }
  .cart-qty-btn { padding: 5px 9px; }
  .payment-option-card { padding: 10px 10px !important; }
  #razorpayPayBtn { padding: 12px 16px !important; font-size: .95rem !important; }
}

/* ── Mobile Account Page Responsiveness ── */
@media (max-width: 768px) {
  .account-layout {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 20px 0 50px;
  }
  .account-sidebar {
    position: static;
    padding: 16px;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    border: 1px solid var(--border-light);
  }
  .account-user-info {
    padding-bottom: 12px;
    margin-bottom: 12px;
    gap: 10px;
  }
  .account-avatar {
    width: 44px;
    height: 44px;
    font-size: 1rem;
  }
  .account-name {
    font-size: .95rem;
  }
  .account-nav {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
  }
  .account-nav li {
    flex: 1 0 auto;
  }
  .account-nav li a {
    padding: 9px 16px;
    font-size: .84rem;
    font-weight: 600;
    white-space: nowrap;
    justify-content: center;
    border-radius: 50px;
    background: #f1f5f3;
    border: 1px solid transparent;
  }
  .account-nav li a.active {
    background: var(--green-main);
    color: #fff;
    border-color: var(--green-dark);
    box-shadow: 0 4px 10px rgba(45,106,79,0.25);
  }
  .account-content {
    padding: 20px 14px;
    border-radius: 16px;
    border: 1px solid var(--border-light);
  }
  .account-section-title {
    font-size: 1.2rem;
    margin-bottom: 18px;
    padding-bottom: 12px;
  }
  .orders-table th, .orders-table td {
    padding: 10px 12px;
    font-size: .82rem;
    white-space: nowrap;
  }
  .timeline-plan {
    margin-left: 14px !important;
    padding-left: 18px !important;
  }
}
/* ── Search Results Overlay Styles ── */
.search-results-box {
  background: #fff;
  border-radius: 12px;
  margin-top: 10px;
  max-height: 400px;
  overflow-y: auto;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  border: 1px solid var(--border-light);
}
.search-res-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  text-decoration: none;
  color: inherit;
  border-bottom: 1px solid var(--border-light);
  transition: background .2s;
}
.search-res-item:last-child { border-bottom: none; }
.search-res-item:hover { background: var(--green-pale); }
.search-res-img {
  width: 50px;
  height: 50px;
  border-radius: 8px;
  object-fit: cover;
  background: var(--green-pale);
}
.search-res-info { flex: 1; }
.search-res-name { font-weight: 700; font-size: .92rem; color: var(--green-dark); }
.search-res-meta { font-size: .74rem; color: var(--text-muted); font-weight: 600; }
