/* ==========================================================================
   DURGAS JEWELLERY — WhatsApp Ordering & South Indian Heritage Styling
   ========================================================================== */

:root {
  --wa-green: #25D366;
  --wa-green-dark: #128C7E;
  --wa-green-hover: #1EBE5D;
  --maroon: #6B1724;
  --maroon-dark: #4A0E17;
  --maroon-light: #8A2536;
  --heritage-gold: #D4AF37;
  --gold-gradient: linear-gradient(135deg, #D4AF37 0%, #AA771C 100%);
  --wa-gradient: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
}

/* --- WhatsApp Action Buttons --- */
.btn-whatsapp-order {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px 18px;
  background: var(--wa-gradient);
  color: #FFFFFF !important;
  font-family: var(--font-sans, 'Jost', sans-serif);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.28);
  margin-top: 8px;
  text-decoration: none;
}

.btn-whatsapp-order:hover {
  background: linear-gradient(135deg, #1EBE5D 0%, #0E7468 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp-order svg {
  flex-shrink: 0;
}

/* Secondary / Outline WhatsApp Button */
.btn-whatsapp-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 11px 16px;
  background: transparent;
  color: var(--wa-green-dark) !important;
  border: 1.5px solid var(--wa-green);
  font-family: var(--font-sans, 'Jost', sans-serif);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.25s ease;
  margin-top: 6px;
}

.btn-whatsapp-outline:hover {
  background: rgba(37, 211, 102, 0.08);
  border-color: var(--wa-green-dark);
}

/* Product Card Actions Container */
.product-card-btns {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 10px;
}

/* --- Metal Composition & Tamil Meta in Cards --- */
.product-tamil-name {
  font-size: 0.85rem;
  color: var(--maroon);
  font-weight: 500;
  margin-top: 2px;
  margin-bottom: 4px;
  line-height: 1.3;
}

.product-sku-tag {
  display: inline-block;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: #777;
  background: #F0ECE4;
  padding: 2px 7px;
  border-radius: 2px;
  margin-bottom: 6px;
}

.product-metal-badge {
  font-size: 0.72rem;
  color: var(--maroon-light);
  background: rgba(107, 23, 36, 0.06);
  border: 1px solid rgba(107, 23, 36, 0.15);
  padding: 3px 8px;
  border-radius: 3px;
  margin-bottom: 8px;
  display: inline-block;
  line-height: 1.3;
}

/* --- Floating WhatsApp Button --- */
.wa-floating-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 60px;
  height: 60px;
  background: var(--wa-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
  z-index: 9999;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
  text-decoration: none;
}

.wa-floating-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 26px rgba(37, 211, 102, 0.6);
}

.wa-floating-tooltip {
  position: absolute;
  right: 70px;
  top: 50%;
  transform: translateY(-50%);
  background: #111;
  color: #fff;
  font-size: 0.75rem;
  font-family: var(--font-sans, 'Jost', sans-serif);
  padding: 6px 12px;
  border-radius: 4px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

.wa-floating-btn:hover .wa-floating-tooltip {
  opacity: 1;
  transform: translateY(-50%) translateX(-4px);
}

/* --- WhatsApp Modals --- */
.wa-overlay {
  position: fixed;
  inset: 0;
  background: rgba(13, 13, 13, 0.7);
  backdrop-filter: blur(4px);
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.wa-overlay.active {
  opacity: 1;
  visibility: visible;
}

.wa-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -46%) scale(0.96);
  width: 90%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  background: #FFFDF9;
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 8px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
  z-index: 10001;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: var(--font-sans, 'Jost', sans-serif);
}

.wa-modal.active {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

.wa-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
  background: #FAF6EF;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.wa-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.wa-icon-bubble {
  font-size: 1.4rem;
}

.wa-brand h3 {
  font-family: var(--font-serif, 'Cormorant Garamond', serif);
  font-size: 1.35rem;
  color: var(--maroon);
  font-weight: 500;
  margin: 0;
}

.wa-brand p {
  font-size: 0.72rem;
  color: #777;
  margin: 0;
}

.wa-close-btn {
  background: none;
  border: none;
  font-size: 1.6rem;
  line-height: 1;
  color: #888;
  cursor: pointer;
  padding: 4px;
  transition: color 0.2s;
}

.wa-close-btn:hover {
  color: #222;
}

.wa-modal-body {
  padding: 22px 24px;
}

.wa-product-summary {
  display: flex;
  gap: 14px;
  padding: 12px;
  background: #F9F5EC;
  border-radius: 6px;
  margin-bottom: 18px;
  border-left: 3px solid var(--heritage-gold);
}

.wa-summary-img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid rgba(0,0,0,0.06);
}

.wa-summary-info {
  flex: 1;
  min-width: 0;
}

.wa-summary-info h4 {
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: 2px;
  color: #111;
}

.wa-tamil-title {
  font-size: 0.8rem;
  color: var(--maroon);
  margin-bottom: 4px;
}

.wa-sku-pill {
  font-size: 0.65rem;
  background: #ECE5D8;
  color: #555;
  padding: 1px 6px;
  border-radius: 2px;
  display: inline-block;
}

.wa-metal-pill {
  font-size: 0.72rem;
  color: #555;
  margin-top: 4px;
  margin-bottom: 4px;
}

.wa-price-highlight {
  font-family: var(--font-serif, 'Cormorant Garamond', serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--maroon);
  display: block;
}

.wa-form-row {
  margin-bottom: 14px;
}

.wa-form-row label {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #555;
  margin-bottom: 6px;
}

.wa-input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #DFD7C7;
  border-radius: 4px;
  background: #FFFFFF;
  font-family: inherit;
  font-size: 0.88rem;
  color: #222;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.wa-input:focus {
  outline: none;
  border-color: var(--heritage-gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

.wa-qty-picker {
  display: inline-flex;
  align-items: center;
  border: 1px solid #DFD7C7;
  border-radius: 4px;
  background: #FFF;
}

.wa-qty-picker button {
  width: 38px;
  height: 38px;
  background: #FAF6EF;
  border: none;
  font-size: 1.1rem;
  cursor: pointer;
  color: #333;
}

.wa-qty-picker input {
  width: 50px;
  height: 38px;
  text-align: center;
  border: none;
  font-size: 0.95rem;
  font-weight: 600;
}

.wa-pricing-box {
  background: #FAF6EF;
  padding: 14px 16px;
  border-radius: 6px;
  margin-top: 16px;
  margin-bottom: 18px;
  border: 1px dashed rgba(212, 175, 55, 0.4);
}

.wa-price-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  margin-bottom: 6px;
  color: #555;
}

.wa-total-row {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--maroon);
  padding-top: 6px;
  border-top: 1px solid rgba(0,0,0,0.06);
  margin-bottom: 8px;
}

.wa-note {
  display: block;
  font-size: 0.72rem;
  color: #27ae60;
  margin-top: 4px;
}

.wa-submit-btn {
  width: 100%;
  padding: 14px;
  background: var(--wa-gradient);
  color: #FFF;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.3s;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}

.wa-submit-btn:hover {
  background: linear-gradient(135deg, #1EBE5D 0%, #0E7468 100%);
  transform: translateY(-1px);
}

.wa-cart-summary-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  font-size: 0.85rem;
}

.wa-cart-summary-item img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 4px;
}

/* Responsive adjustments */
@media (max-width: 600px) {
  .wa-floating-btn {
    bottom: 20px;
    right: 20px;
    width: 52px;
    height: 52px;
  }
  .wa-modal {
    width: 95%;
    padding: 0;
  }
  .wa-modal-body {
    padding: 16px;
  }
}

/* ==========================================================================
   FLIPKART-INSPIRED SHOPPING COMPONENTS & E-COMMERCE ENHANCEMENTS
   ========================================================================== */

/* Buy Now Button */
.btn-buy-now {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 12px 16px;
  background: linear-gradient(135deg, #FF9F00 0%, #FB641B 100%);
  color: #FFFFFF !important;
  font-family: var(--font-sans, 'Jost', sans-serif);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(251, 100, 27, 0.25);
  margin-top: 6px;
}

.btn-buy-now:hover {
  background: linear-gradient(135deg, #F08E00 0%, #E65100 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(251, 100, 27, 0.38);
}

/* Rating Pill */
.rating-pill {
  background: #388E3C;
  color: #FFFFFF;
  font-size: 0.72rem;
  padding: 2px 7px;
  border-radius: 3px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.12);
}

/* Flipkart-Style Horizontal Category Navigation Strip */
.fk-category-strip {
  background: #FFFFFF;
  border-bottom: 1px solid #EAE5D9;
  padding: 12px 5vw;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
  position: relative;
  z-index: 80;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.fk-category-strip::-webkit-scrollbar {
  height: 4px;
}

.fk-category-strip::-webkit-scrollbar-thumb {
  background: #D4AF37;
  border-radius: 4px;
}

.fk-category-strip-inner,
.fk-cat-container {
  display: flex !important;
  align-items: center;
  justify-content: flex-start;
  gap: 18px;
  min-width: max-content;
  max-width: 1400px;
  margin: 0 auto;
}

.fk-cat-item {
  display: inline-flex !important;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: #333333;
  min-width: 78px;
  cursor: pointer;
  transition: all 0.25s ease;
  padding: 4px 6px;
  border-radius: 6px;
  text-align: center;
}

.fk-cat-item:hover {
  color: var(--maroon, #6B1724);
  transform: translateY(-2px);
}

.fk-cat-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px solid #EADBBE;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #FAF6EF;
  font-size: 1.3rem;
  transition: all 0.25s ease;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}

.fk-cat-item:hover .fk-cat-icon {
  border-color: #D4AF37;
  background: #FFFDF9;
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.28);
  transform: scale(1.08);
}

.fk-cat-item span {
  font-size: 0.74rem;
  font-weight: 500;
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.fk-cat-img-box {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid #EADBBE;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #FAF6EF;
  transition: all 0.2s ease;
}

.fk-cat-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Top Header Flipkart-style Search Bar */
.fk-header-search {
  flex: 1;
  max-width: 460px;
  margin: 0 20px;
  position: relative;
  display: flex;
  align-items: center;
  background: #F8F5EE;
  border: 1.5px solid #DFD7C7;
  border-radius: 24px;
  padding: 3px 6px 3px 16px;
  transition: all 0.25s ease;
}

.fk-header-search:focus-within {
  border-color: #D4AF37;
  background: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

.fk-header-search input {
  border: none;
  background: transparent;
  outline: none;
  width: 100%;
  font-family: var(--font-sans, 'Jost', sans-serif);
  font-size: 0.85rem;
  color: #222;
  padding: 6px 0;
}

.fk-header-search button {
  background: #D4AF37;
  border: none;
  color: #FFFFFF;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s ease;
  font-size: 0.85rem;
}

.fk-header-search button:hover {
  background: #AA771C;
}

@media (max-width: 900px) {
  .fk-header-search {
    margin: 0 10px;
    max-width: 260px;
  }
}

@media (max-width: 650px) {
  .fk-header-search {
    display: none;
  }
}

/* Showroom Trust Bar */
.fk-trust-bar,
.trust-bar {
  background: #FAF6EF;
  border-bottom: 1px solid #DFD7C7;
  padding: 10px 5vw;
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.8rem;
  color: #444;
}

/* Trust Bar */
.trust-bar {
  background: #FAF6EF;
  border-top: 1px solid #EAE3D2;
  border-bottom: 1px solid #EAE3D2;
  padding: 16px 5vw;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  max-width: 1300px;
  margin: 0 auto;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.trust-icon {
  font-size: 1.6rem;
  color: #D4AF37;
}

.trust-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--maroon, #6B1724);
  margin-bottom: 2px;
}

.trust-desc {
  font-size: 0.72rem;
  color: #666;
}

/* Hero Carousel */
.hero-slider-wrap {
  position: relative;
  overflow: hidden;
  background: #110709;
  color: #FFFFFF;
}

.hero-slide {
  display: none;
  position: relative;
  min-height: 460px;
  align-items: center;
}

.hero-slide.active {
  display: flex;
}

.hero-slide-bg {
  position: absolute;
  inset: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
  opacity: 0.38;
}

.hero-slide-content {
  position: relative;
  z-index: 2;
  padding: 60px 8vw;
  max-width: 720px;
}

.hero-slide-tag {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(212, 175, 55, 0.25);
  border: 1px solid #D4AF37;
  color: #F8D988;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border-radius: 20px;
  margin-bottom: 16px;
}

.hero-slide-title {
  font-family: var(--font-serif, 'Cormorant Garamond', serif);
  font-size: 3rem;
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 16px;
}

.hero-slide-title em {
  font-style: italic;
  color: #E2BA55;
}

.hero-slide-desc {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 28px;
  line-height: 1.5;
}

.hero-slide-nav {
  position: absolute;
  bottom: 20px;
  right: 8vw;
  display: flex;
  gap: 8px;
  z-index: 3;
}

.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: all 0.3s ease;
}

.hero-dot.active {
  background: #D4AF37;
  transform: scale(1.3);
}

/* Specifications Table */
.specs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  margin-top: 16px;
}

.specs-table th, .specs-table td {
  padding: 10px 14px;
  border-bottom: 1px solid #EAE5D9;
  text-align: left;
}

.specs-table th {
  color: #777;
  font-weight: 500;
  width: 35%;
  background: #FAF6EF;
}

.specs-table td {
  color: #222;
  font-weight: 500;
}

/* Delivery Pincode Box */
.pincode-check-wrap {
  display: flex;
  gap: 8px;
  margin-top: 8px;
  max-width: 360px;
}

.pincode-input {
  flex: 1;
  padding: 8px 12px;
  border: 1px solid #DFD7C7;
  border-radius: 4px;
  font-size: 0.85rem;
  outline: none;
}

.pincode-input:focus {
  border-color: #D4AF37;
}

.btn-check-pincode {
  padding: 8px 16px;
  background: var(--maroon, #6B1724);
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 0.78rem;
  cursor: pointer;
}

