/* ==========================================================================
   designer-harry Couture - Pure HTML5 / CSS3 / Vanilla JS Theme
   Background: Pure White (#ffffff)
   Flipkart-Style Product Cards & Clean Layout
   ========================================================================== */

:root {
  --bg-white: #ffffff;
  --text-main: #111827;
  --text-muted: #64748b;
  --rose-primary: #be123c;
  --rose-hover: #9f1239;
  --rose-light: #fff1f2;
  --amber-gold: #f59e0b;
  --amber-dark: #78350f;
  --flipkart-blue: #2874f0;
  --flipkart-green: #388e3c;
  --border-color: #e2e8f0;
  --card-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  --card-shadow-hover: 0 12px 24px rgba(190, 18, 60, 0.12);
  --radius-md: 10px;
  --radius-lg: 14px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", sans-serif;
}

body {
  background-color: var(--bg-white);
  color: var(--text-main);
  line-height: 1.5;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, select, textarea {
  font: inherit;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

/* Announcement Top Bar */
.top-announcement {
  background: linear-gradient(90deg, #881337, #4c0519);
  color: #fef08a;
  font-size: 12px;
  padding: 6px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 500;
}

.top-announcement .contact-pill {
  display: flex;
  gap: 16px;
  font-size: 11px;
}

/* Header */
.main-header {
  background: #ffffff;
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 4px rgba(0,0,0,0.03);
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand-logo {
  display: flex;
  flex-direction: column;
}

.brand-logo .logo-title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 26px;
  font-weight: 800;
  color: #4c0519;
  letter-spacing: -0.5px;
}

.brand-logo .logo-sub {
  font-size: 10px;
  text-transform: uppercase;
  color: #64748b;
  letter-spacing: 1px;
  font-weight: 600;
}

/* Search Bar (Flipkart Style) */
.search-wrapper {
  flex: 1;
  max-width: 580px;
  position: relative;
}

.search-input {
  width: 100%;
  padding: 10px 90px 10px 16px;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  background-color: #f8fafc;
  outline: none;
  font-size: 13px;
  transition: all 0.2s;
}

.search-input:focus {
  background: #ffffff;
  border-color: var(--rose-primary);
  box-shadow: 0 0 0 3px rgba(190, 18, 60, 0.1);
}

.search-btn {
  position: absolute;
  right: 4px;
  top: 4px;
  bottom: 4px;
  background: linear-gradient(135deg, #be123c, #e11d48);
  color: white;
  border: none;
  padding: 0 16px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 12px;
  cursor: pointer;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  background: transparent;
  color: #334155;
  transition: 0.2s;
}

.btn-header:hover {
  background: #f1f5f9;
  color: var(--rose-primary);
}

.btn-cart {
  background: linear-gradient(135deg, #be123c, #e11d48);
  color: white !important;
  box-shadow: 0 2px 6px rgba(190, 18, 60, 0.3);
}

.btn-cart .cart-count {
  background: #fef08a;
  color: #78350f;
  padding: 1px 6px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: bold;
}

/* Categories Bar (Flipkart Style Horizontal Strip) */
.categories-nav {
  background: #ffffff;
  border-bottom: 1px solid #f1f5f9;
  overflow-x: auto;
  white-space: nowrap;
}

.categories-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 8px 16px;
  display: flex;
  gap: 12px;
}

.cat-tab {
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 20px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  color: #475569;
  cursor: pointer;
  transition: all 0.2s;
}

.cat-tab.active, .cat-tab:hover {
  background: var(--rose-primary);
  color: #ffffff;
  border-color: var(--rose-primary);
}

/* Hero Section */
.hero-banner {
  background: linear-gradient(135deg, #4c0519 0%, #881337 50%, #450a0a 100%);
  color: white;
  padding: 40px 16px;
  position: relative;
}

.hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.hero-text {
  flex: 1;
  min-width: 300px;
}

.hero-badge {
  display: inline-block;
  background: rgba(245, 158, 11, 0.2);
  border: 1px solid rgba(245, 158, 11, 0.5);
  color: #fde68a;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.hero-heading {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 38px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 12px;
}

.hero-sub {
  font-size: 14px;
  color: #fecdd3;
  margin-bottom: 20px;
  max-width: 520px;
}

.hero-cta-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-primary {
  background: #f59e0b;
  color: #450a0a;
  font-weight: 700;
  font-size: 13px;
  padding: 10px 22px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.35);
  transition: transform 0.2s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: #d97706;
}

.btn-outline {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.4);
  color: white;
  font-weight: 600;
  font-size: 13px;
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
}

/* Feature Badges (Flipkart Trust bar) */
.features-strip {
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  padding: 14px 16px;
}

.features-container {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  color: #334155;
}

/* Layout Main Content */
.main-wrapper {
  max-width: 1280px;
  margin: 0 auto;
  padding: 24px 16px;
}

/* Filter & Controls Bar */
.controls-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  margin-bottom: 24px;
}

.sort-select {
  padding: 7px 12px;
  border-radius: 6px;
  border: 1px solid #cbd5e1;
  font-size: 12px;
  color: #334155;
  background: #f8fafc;
}

/* PRODUCT GRID - FLIPKART STYLE */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.product-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--card-shadow);
  transition: all 0.3s ease;
  position: relative;
}

.product-card:hover {
  border-color: #fda4af;
  box-shadow: var(--card-shadow-hover);
  transform: translateY(-4px);
}

.card-img-box {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background-color: #f8fafc;
  cursor: pointer;
}

.card-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.5s ease;
}

.product-card:hover .card-img-box img {
  transform: scale(1.06);
}

.badge-discount {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--rose-primary);
  color: white;
  font-size: 11px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 4px;
}

.badge-assured {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--flipkart-blue);
  color: white;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 3px;
}

.card-quick-actions {
  position: absolute;
  bottom: 8px;
  left: 8px;
  right: 8px;
  display: flex;
  gap: 6px;
  opacity: 0;
  transform: translateY(6px);
  transition: all 0.25s ease;
}

.product-card:hover .card-quick-actions {
  opacity: 1;
  transform: translateY(0);
}

.btn-quick-view, .btn-quick-buy {
  flex: 1;
  padding: 7px 0;
  font-size: 11px;
  font-weight: 700;
  border-radius: 6px;
  border: none;
  cursor: pointer;
}

.btn-quick-view {
  background: rgba(255, 255, 255, 0.95);
  color: #1e293b;
}

.btn-quick-buy {
  background: var(--rose-primary);
  color: white;
}

.card-info {
  padding: 14px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card-cat-fabric {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  color: #64748b;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.card-title {
  font-size: 13px;
  font-weight: 600;
  color: #0f172a;
  line-height: 1.35;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  cursor: pointer;
}

.card-title:hover {
  color: var(--rose-primary);
}

.rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background: var(--flipkart-green);
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  margin-bottom: 8px;
}

.pricing-box {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 4px;
}

.price-now {
  font-size: 17px;
  font-weight: 800;
  color: #0f172a;
}

.price-orig {
  font-size: 12px;
  text-decoration: line-through;
  color: #94a3b8;
}

.delivery-note {
  font-size: 11px;
  color: var(--flipkart-green);
  font-weight: 600;
}

/* Modal Popup (Product Details, Cart, Admin) */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(3px);
  z-index: 999;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.modal-overlay.active {
  display: flex;
}

.modal-box {
  background: white;
  width: 100%;
  max-width: 860px;
  max-height: 90vh;
  border-radius: var(--radius-lg);
  overflow-y: auto;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  position: relative;
  padding: 24px;
}

.modal-close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  background: #f1f5f9;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-weight: bold;
  cursor: pointer;
}

/* Detail Modal Grid */
.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

@media (max-width: 768px) {
  .detail-grid {
    grid-template-columns: 1fr;
  }
}

.detail-img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: var(--radius-md);
}

/* Cart Drawer */
.cart-drawer {
  position: fixed;
  top: 0;
  right: -420px;
  width: 100%;
  max-width: 400px;
  height: 100vh;
  background: white;
  z-index: 1000;
  box-shadow: -4px 0 24px rgba(0,0,0,0.2);
  transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

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

.cart-header {
  padding: 16px;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.cart-item {
  display: flex;
  gap: 12px;
  border-bottom: 1px solid #f1f5f9;
  padding-bottom: 12px;
  margin-bottom: 12px;
}

.cart-item-img {
  width: 60px;
  height: 75px;
  object-fit: cover;
  border-radius: 6px;
}

.cart-footer {
  padding: 16px;
  border-top: 1px solid #e2e8f0;
  background: #f8fafc;
}

/* Footer */
.site-footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 40px 16px 20px;
  margin-top: 50px;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  border-bottom: 1px solid #1e293b;
  padding-bottom: 30px;
}

.footer-col h4 {
  color: white;
  font-size: 14px;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 8px;
  font-size: 13px;
}

.footer-col ul li a:hover {
  color: white;
}

/* ==========================================================================
   ADDITIONS FOR PHP PAGES (product page, checkout, wishlist, toast, etc.)
   ========================================================================== */

.hide-sm { display: inline; }

.wish-count-badge {
  background: #fecdd3;
  color: #9f1239;
  font-size: 10px;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 10px;
}

/* Generic form field */
.fld {
  width: 100%;
  padding: 10px 12px;
  font-size: 13px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #f8fafc;
  outline: none;
  transition: 0.15s;
}
.fld:focus {
  background: #fff;
  border-color: var(--rose-primary);
  box-shadow: 0 0 0 3px rgba(190, 18, 60, 0.09);
}
.stack-form { display: flex; flex-direction: column; gap: 10px; }

.btn-block-primary {
  display: block;
  width: 100%;
  text-align: center;
  padding: 12px;
  background: linear-gradient(135deg, #be123c, #e11d48);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(190, 18, 60, 0.25);
}
.btn-block-primary:hover { background: #9f1239; }

.btn-block-gold {
  display: block;
  width: 100%;
  text-align: center;
  padding: 12px;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #431407;
  border: none;
  border-radius: 10px;
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
}

/* Wishlist heart on card */
.wish-btn {
  position: absolute;
  top: 44px;
  right: 10px;
  width: 30px; height: 30px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.92);
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
  box-shadow: 0 2px 6px rgba(0,0,0,0.12);
}
.wish-btn.on { background: #be123c; color: #fff; }

.stock-warn {
  font-size: 10px;
  color: #b45309;
  font-weight: 700;
  margin-top: 2px;
}

/* Breadcrumbs */
.crumbs {
  max-width: 1280px;
  margin: 0 auto;
  padding: 10px 16px;
  font-size: 12px;
  color: #64748b;
}
.crumbs a:hover { color: var(--rose-primary); }

/* Product detail page */
.pd-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 10px 16px 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
@media (max-width: 900px) { .pd-wrap { grid-template-columns: 1fr; } }

.pd-main-img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: top;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
}
.pd-thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; }
.pd-thumbs img {
  width: 58px; height: 74px; object-fit: cover;
  border-radius: 6px; border: 2px solid #e2e8f0; cursor: pointer;
}
.pd-thumbs img.active { border-color: var(--rose-primary); }

.pd-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 26px; font-weight: 800; color: #0f172a; line-height: 1.25;
}
.pd-price-box {
  background: #fff1f2; border: 1px solid #fecdd3;
  border-radius: 12px; padding: 14px; margin: 14px 0;
}
.pd-price { font-size: 30px; font-weight: 800; color: #0f172a; }

.size-btn {
  padding: 8px 14px; border: 1px solid #cbd5e1; border-radius: 8px;
  background: #fff; color: #0f172a; font-weight: 600; font-size: 12px; cursor: pointer;
}
.size-btn.selected { background: var(--rose-primary); color: #fff; border-color: var(--rose-primary); }

.spec-table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.spec-table td { padding: 9px 12px; border-bottom: 1px solid #f1f5f9; }
.spec-table td:first-child { color: #64748b; width: 38%; font-weight: 600; }
.spec-table td:last-child { color: #0f172a; font-weight: 600; }

.section-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 22px; font-weight: 800; color: #0f172a; margin-bottom: 4px;
}

/* Checkout / generic panels */
.panel {
  background: #fff; border: 1px solid #e2e8f0;
  border-radius: 14px; padding: 20px; margin-bottom: 18px;
  box-shadow: var(--card-shadow);
}
.panel h3 {
  font-size: 14px; text-transform: uppercase; letter-spacing: 0.4px;
  color: #0f172a; margin-bottom: 14px;
}
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 640px) { .grid-2 { grid-template-columns: 1fr; } }

.pay-option {
  display: flex; gap: 10px; align-items: flex-start;
  border: 1px solid #e2e8f0; border-radius: 12px; padding: 14px; cursor: pointer;
  margin-bottom: 10px; transition: 0.15s;
}
.pay-option.active { border-color: var(--rose-primary); background: #fff5f6; box-shadow: 0 0 0 2px rgba(190,18,60,0.12); }

/* Drawer overlay */
.drawer-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,0.55); z-index: 998;
}
.drawer-overlay.show { display: block; }

/* Toast */
.dh-toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(120px);
  background: #0f172a; color: #fff; padding: 12px 22px; border-radius: 30px;
  font-size: 13px; font-weight: 600; z-index: 2000; opacity: 0;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1); pointer-events: none;
  box-shadow: 0 10px 24px rgba(0,0,0,0.25);
}
.dh-toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }

/* WhatsApp float */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 900;
  width: 52px; height: 52px; border-radius: 50%;
  background: #22c55e; color: #fff; font-size: 24px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 18px rgba(34,197,94,0.4);
  animation: dhPulse 2.4s infinite;
}
@keyframes dhPulse {
  0%,100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

/* Card entrance animation */
@keyframes dhFadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
.product-card { animation: dhFadeUp 0.45s ease both; }

/* Admin helpers */
.tabs-row { display: flex; gap: 6px; border-bottom: 1px solid #e2e8f0; margin-bottom: 18px; flex-wrap: wrap; }
.tab-btn {
  padding: 10px 16px; font-size: 13px; font-weight: 700; cursor: pointer;
  border: none; background: none; color: #64748b; border-bottom: 2px solid transparent;
}
.tab-btn.active { color: var(--rose-primary); border-bottom-color: var(--rose-primary); }

.stat-card {
  background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 16px;
}
.stat-card .val { font-size: 24px; font-weight: 800; color: #0f172a; }
.stat-card .lbl { font-size: 11px; text-transform: uppercase; color: #64748b; letter-spacing: 0.5px; }

.admin-table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.admin-table th {
  background: #f8fafc; text-align: left; padding: 10px 12px;
  font-size: 10px; text-transform: uppercase; letter-spacing: 0.5px; color: #64748b;
}
.admin-table td { padding: 10px 12px; border-bottom: 1px solid #f1f5f9; vertical-align: middle; }
.admin-table tr:hover td { background: #fafafa; }

.pill { padding: 2px 8px; border-radius: 20px; font-size: 10px; font-weight: 800; }
.pill-green { background: #dcfce7; color: #166534; }
.pill-amber { background: #fef3c7; color: #92400e; }
.pill-red   { background: #fee2e2; color: #991b1b; }
.pill-blue  { background: #dbeafe; color: #1e40af; }

@media (max-width: 640px) {
  .hide-sm { display: none; }
  .hero-heading { font-size: 27px; }
  .header-inner { flex-wrap: wrap; }
  .search-wrapper { order: 3; width: 100%; max-width: 100%; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .card-info { padding: 10px; }
  .price-now { font-size: 15px; }
  .card-quick-actions { opacity: 1; transform: none; }
}

/* Checkout responsive grid */
.checkout-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 22px;
  align-items: start;
}
@media (max-width: 900px) {
  .checkout-grid { grid-template-columns: 1fr; }
}


/* ==========================================================================
   LANDSCAPE HERO SLIDER (Flipkart-style, no red text section)
   ========================================================================== */
/* ==========================================================================
   HERO SLIDER — Flipkart style, fully responsive (auto-fits any screen)
   Portrait product photos are never cropped: blurred backdrop + contained photo
   Desktop : photo left  | info panel right
   Mobile  : photo full  | info overlay at bottom
   ========================================================================== */
.dh-hero-fk-wrap {
  width: 100%;
  max-width: 1280px;
  margin: 14px auto 0;
  padding: 0 16px;
}

.dh-hero-fk {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 6;          /* desktop banner shape */
  max-height: 420px;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 8px 26px rgba(0,0,0,0.08);
  touch-action: pan-y;
  user-select: none;
}

.dh-hero-track {
  display: flex;
  height: 100%;
  transition: transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.dh-hero-slide {
  position: relative;
  flex: 0 0 100%;
  height: 100%;
  display: grid;
  grid-template-columns: 58% 42%;
  color: #0f172a;
  text-decoration: none;
  overflow: hidden;
}

.dh-hero-bg {
  position: absolute;
  inset: -20px;
  background-size: cover;
  background-position: center;
  filter: blur(26px) saturate(1.2) brightness(0.9);
  transform: scale(1.15);
  opacity: 0.55;
}
.dh-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,0.05), rgba(255,255,255,0.85) 60%, #ffffff 100%);
}

.dh-hero-media {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 10px 14px 18px;
}
.dh-hero-media img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: 100%;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 14px 30px rgba(0,0,0,0.22);
  transition: transform 0.6s;
}
.dh-hero-slide:hover .dh-hero-media img { transform: scale(1.03); }

.dh-hero-info {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  padding: 18px 56px 18px 12px;   /* right padding leaves room for the arrow */
}

.dh-hero-cat {
  align-self: flex-start;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.9px;
  text-transform: uppercase;
  color: #be123c;
  background: #fff1f2;
  border: 1px solid #fecdd3;
  padding: 3px 10px;
  border-radius: 20px;
}

.dh-hero-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(16px, 1.9vw, 26px);
  font-weight: 800;
  line-height: 1.25;
  margin: 0;
  color: #0f172a;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.dh-hero-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}
.dh-hero-price b  { font-size: clamp(18px, 2vw, 28px); font-weight: 800; color: #0f172a; }
.dh-hero-price s  { font-size: 13px; color: #94a3b8; }
.dh-hero-price em { font-size: 12px; font-style: normal; font-weight: 800; color: #15803d; }

.dh-hero-btn {
  align-self: flex-start;
  background: linear-gradient(135deg, #be123c, #e11d48);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  padding: 10px 20px;
  border-radius: 10px;
  box-shadow: 0 6px 14px rgba(190,18,60,0.28);
  transition: transform 0.15s, box-shadow 0.15s;
}
.dh-hero-slide:hover .dh-hero-btn { transform: translateY(-2px); box-shadow: 0 10px 18px rgba(190,18,60,0.35); }

/* arrows */
.dh-hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.95);
  border: 1px solid rgba(0,0,0,0.08);
  color: #1e293b;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.14);
  transition: background 0.15s, transform 0.15s;
}
.dh-hero-arrow:hover { background: #fff; transform: translateY(-50%) scale(1.08); }
.dh-hero-prev { left: 10px; }
.dh-hero-next { right: 10px; }

/* dots */
.dh-hero-dots {
  position: absolute;
  bottom: 10px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 6px;
  z-index: 5;
}
.dh-hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 10px;
  background: rgba(15,23,42,0.25);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.25s;
}
.dh-hero-dot.active { width: 22px; background: #be123c; }

/* ---------- tablet ---------- */
@media (max-width: 900px) {
  .dh-hero-fk { aspect-ratio: 16 / 8; }
  .dh-hero-slide { grid-template-columns: 52% 48%; }
  .dh-hero-info { padding: 14px 48px 14px 8px; gap: 8px; }
  .dh-hero-btn { padding: 8px 16px; font-size: 12px; }
}

/* ---------- mobile : photo full, info overlay ---------- */
@media (max-width: 640px) {
  .dh-hero-fk-wrap { padding: 0 10px; margin-top: 10px; }
  .dh-hero-fk { aspect-ratio: 4 / 3; max-height: 340px; border-radius: 14px; }
  .dh-hero-slide { display: block; }
  .dh-hero-bg::after { background: linear-gradient(180deg, rgba(255,255,255,0) 40%, rgba(255,255,255,0.35)); }
  .dh-hero-media { position: absolute; inset: 0; padding: 10px 10px 74px; }
  .dh-hero-media img { height: 100%; border-radius: 10px; }
  .dh-hero-info {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    padding: 30px 14px 24px;
    gap: 4px;
    background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.92) 35%, #fff 100%);
  }
  .dh-hero-cat { font-size: 9px; padding: 2px 8px; }
  .dh-hero-title { font-size: 14px; -webkit-line-clamp: 2; }
  .dh-hero-price b { font-size: 17px; }
  .dh-hero-price s, .dh-hero-price em { font-size: 11px; }
  .dh-hero-btn { display: none; }         /* whole slide is tappable */
  .dh-hero-arrow { width: 30px; height: 30px; font-size: 18px; }
  .dh-hero-prev { left: 6px; }
  .dh-hero-next { right: 6px; }
  .dh-hero-dots { bottom: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  .dh-hero-track { transition: none; }
}

@media (max-width: 768px) {
  .dh-hero-landscape { height: clamp(180px, 55vw, 280px); }
  .dh-hero-arrow { width: 32px; height: 32px; font-size: 18px; }
  .dh-hero-prev { left: 6px; }
  .dh-hero-next { right: 6px; }
}

/* Remove old hero styles */
.dh-hero-slider-wrap,
.dh-hero-inner,
.dh-hero-brand { display: none !important; }


.dh-hero-slide-price {
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 8px;
  margin-top: 6px;
}

.dh-hero-slide-price span { color: #fff; font-size: 20px; font-weight: 800; }
.dh-hero-slide-price s { color: rgba(255,255,255,0.6); font-size: 13px; }

.dh-hero-slide-btn {
  display: inline-block;
  margin-top: 10px;
  background: #fde68a;
  color: #450a0a;
  font-weight: 800;
  font-size: 12px;
  padding: 8px 22px;
  border-radius: 20px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
  transition: transform 0.15s, background 0.15s;
}

.dh-hero-slide-btn:hover { background: #fff; transform: translateY(-2px); }

.dh-hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, transform 0.15s;
}

.dh-hero-arrow:hover { background: rgba(255,255,255,0.35); transform: translateY(-50%) scale(1.1); }
.dh-hero-prev { left: 6px; }
.dh-hero-next { right: 6px; }

.dh-hero-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 14px;
  position: absolute;
  bottom: 8px;
  left: 0;
  right: 0;
}

.dh-hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.dh-hero-dot.active { background: #fde68a; transform: scale(1.4); }

@media (max-width: 768px) {
  .dh-hero-slider { padding: 14px 40px; }
  .dh-hero-slide-link { max-width: 200px; }
  .dh-hero-slide-title { font-size: 13px; }
}

/* ==========================================================================
   TOP BAR + HEADER MOBILE FIX (Flipkart-style responsive)
   ========================================================================== */

/* Top announcement bar */
.top-announcement {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 6px 12px;
  flex-wrap: wrap;
}

.dh-top-phone {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  white-space: nowrap;
}

.dh-top-admin {
  background: #fde047;
  color: #713f12;
  padding: 2px 10px;
  border-radius: 4px;
  font-weight: bold;
  font-size: 11px;
  white-space: nowrap;
  flex-shrink: 0;
}

.dh-top-admin:hover { background: #fff; }

/* Header actions — always on the right, never wrap to the left */
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  white-space: nowrap;
}

.header-actions .hdr-lbl {
  display: inline;
}

.header-actions .btn-header {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 9px 10px;
  font-size: 12px;
  font-weight: 700;
  border-radius: 8px;
  line-height: 1;
  min-height: 38px;
}

/* Keep text visible even on medium screens */
@media (max-width: 960px) {
  .header-actions .btn-header { padding: 9px 8px; font-size: 11px; }
}

/* On very small screens, keep icons + short labels (never hide them) */
@media (max-width: 640px) {
  .top-announcement { flex-wrap: nowrap; padding: 5px 8px; }
  .dh-top-phone { font-size: 10px; }
  .dh-top-phone .store-phone-text { display: none; }
  .dh-top-phone::after { content: attr(data-num); }

  .header-inner { flex-wrap: wrap; }
  .header-actions { order: 3; width: 100%; justify-content: flex-end; margin-top: 6px; }
  .header-actions .btn-header { flex: 0 0 auto; padding: 8px 10px; font-size: 11px; min-height: 40px; }
  .header-actions .hdr-lbl { font-size: 11px; }
}

@media (max-width: 420px) {
  .header-actions .btn-header { padding: 7px 8px; font-size: 10px; gap: 3px; }
  .header-actions .hdr-lbl { font-size: 10px; }
}

/* Search bar always full width on mobile */
.search-wrapper { flex: 1 1 auto; min-width: 0; }
@media (max-width: 640px) {
  .search-wrapper { order: 2; width: 100%; max-width: 100%; margin-top: 6px; }
  .brand-logo { order: 1; }
  .header-actions { order: 3; }
}
