/* ==========================================================================
   MELLKDERMA LUXURY CLINICAL E-COMMERCE & SECURITY LAYER (2026)
   Designed for Hybrid D2C Retail + Institutional Medical Excellence
   ========================================================================== */

/* 1. Top Promo & Security Announcement Bar */
.ec-announcement-bar {
  background: linear-gradient(90deg, #0b1120 0%, #162033 50%, #0b1120 100%);
  color: #f8fafc;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.4px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(212, 168, 83, 0.32);
  position: relative;
  z-index: 5;
}

.ec-announcement-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.ec-announce-left,
.ec-announce-right {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.ec-announce-center {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.ec-ssl-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #fde68a;
  font-size: 0.72rem;
  font-weight: 700;
  background: rgba(212, 168, 83, 0.14);
  border: 1px solid rgba(212, 168, 83, 0.35);
  padding: 2px 9px;
  border-radius: 999px;
  white-space: nowrap;
}

.ec-coupon-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px dashed rgba(250, 204, 21, 0.65);
  color: #fef08a;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.ec-coupon-pill:hover {
  background: rgba(212, 168, 83, 0.28);
  transform: translateY(-1px);
}

.ec-track-link {
  background: transparent;
  border: none;
  color: #cbd5e1;
  font-size: 0.74rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 6px;
  transition: color 0.2s ease;
}

.ec-track-link:hover {
  color: #fde68a;
}

/* 2. Header E-Commerce Utilities (Wishlist + Bag + Trade Inquiry) */
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ec-icon-btn {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid var(--border-gold, rgba(212, 168, 83, 0.38));
  background: rgba(255, 255, 255, 0.88);
  color: var(--slate-dark, #0f172a);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
}

.ec-icon-btn:hover {
  border-color: var(--gold-dark, #96702b);
  color: var(--gold-dark, #96702b);
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(150, 112, 43, 0.15);
}

.ec-badge-count {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  border-radius: 999px;
  background: #0f172a;
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
  line-height: 1;
}

.ec-badge-count.gold {
  background: linear-gradient(135deg, #b88933, #8f651e);
}

.ec-bag-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
  border: 1px solid rgba(212, 168, 83, 0.45);
  font-size: 0.83rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 8px 20px -6px rgba(15, 23, 42, 0.35);
}

.ec-bag-btn:hover {
  background: linear-gradient(135deg, #96702b 0%, #b88933 100%);
  border-color: #d4a853;
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -6px rgba(150, 112, 43, 0.4);
}

.ec-bag-btn i {
  color: #f3d28c;
  font-size: 0.95rem;
}

.ec-bag-btn:hover i {
  color: #ffffff;
}

.ec-bag-count-pill {
  background: rgba(212, 168, 83, 0.24);
  color: #fde68a;
  border: 1px solid rgba(212, 168, 83, 0.5);
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.73rem;
  font-weight: 800;
}

.ec-bag-btn:hover .ec-bag-count-pill {
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.5);
}

.header-inquiry-outline {
  height: 40px;
  padding: 0 14px !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.78) !important;
  color: var(--slate-dark, #0f172a) !important;
  border: 1px solid var(--border-gold, rgba(212, 168, 83, 0.45)) !important;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.header-inquiry-outline:hover {
  background: var(--gold-light, #fdf6e9) !important;
  border-color: var(--gold-dark, #96702b) !important;
  color: var(--gold-dark, #96702b) !important;
}

/* Pulse animation when item added */
@keyframes ecBagBounce {
  0%, 100% { transform: scale(1); }
  40% { transform: scale(1.1); }
  70% { transform: scale(0.96); }
}

.ec-bag-btn.ec-pulse,
.ec-icon-btn.ec-pulse {
  animation: ecBagBounce 0.45s ease;
}

/* 3. Shop E-Commerce Filter, Search & Sort Toolbar */
.ec-shop-toolbar {
  display: none !important;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-gold, rgba(212, 168, 83, 0.32));
  border-radius: 20px;
  padding: 14px 18px;
  margin-bottom: 34px;
  box-shadow: 0 10px 30px -12px rgba(15, 23, 42, 0.07);
}

.ec-category-pills {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.cat-tab {
  appearance: none;
  border: 1px solid rgba(15, 23, 42, 0.09);
  background: #ffffff;
  color: var(--slate-body, #334155);
  padding: 8px 15px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
}

.cat-tab:hover {
  border-color: var(--gold-primary, #caa462);
  color: var(--slate-dark, #0f172a);
}

.cat-tab.active {
  background: var(--slate-dark, #0f172a);
  color: #ffffff;
  border-color: var(--slate-dark, #0f172a);
  box-shadow: 0 6px 14px rgba(15, 23, 42, 0.18);
}

.ec-toolbar-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.ec-search-field {
  position: relative;
  min-width: 230px;
}

.ec-search-field i {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: 0.82rem;
  pointer-events: none;
}

.ec-search-field input {
  width: 100%;
  padding: 9px 14px 9px 35px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: #f8fafc;
  font-size: 0.82rem;
  font-family: inherit;
  color: var(--slate-dark, #0f172a);
  transition: all 0.2s ease;
}

.ec-search-field input:focus {
  outline: none;
  background: #ffffff;
  border-color: var(--gold-primary, #caa462);
  box-shadow: 0 0 0 3px rgba(202, 164, 98, 0.15);
}

.ec-sort-select {
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: #f8fafc;
  font-size: 0.8rem;
  font-weight: 600;
  font-family: inherit;
  color: var(--slate-dark, #0f172a);
  cursor: pointer;
}

.ec-sort-select:focus {
  outline: none;
  border-color: var(--gold-primary, #caa462);
}

/* 4. Product Card E-Commerce Enhancements */
.product-wishlist-toggle {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 4;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(15, 23, 42, 0.08);
  color: #64748b;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.92rem;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
  transition: all 0.25s ease;
}

.product-wishlist-toggle:hover {
  transform: scale(1.08);
  color: #e11d48;
  border-color: rgba(225, 29, 72, 0.3);
}

.product-wishlist-toggle.active {
  color: #e11d48;
  background: #fff1f2;
  border-color: rgba(225, 29, 72, 0.35);
}

.ec-rating-stock-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 0.76rem;
}

.ec-stars-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 700;
  color: var(--slate-dark, #0f172a);
}

.ec-stars-pill i {
  color: #d97706;
  font-size: 0.74rem;
}

.ec-stars-pill span.ec-rev-cnt {
  color: #64748b;
  font-weight: 500;
}

.ec-stock-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #047857;
  font-weight: 700;
  font-size: 0.72rem;
}

.ec-stock-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.18);
}

.ec-card-footer {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid rgba(15, 23, 42, 0.07);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.ec-price-stack {
  display: flex;
  flex-direction: column;
}

.ec-price-stack .mrp-label {
  font-size: 0.67rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #64748b;
  font-weight: 600;
}

.ec-price-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.ec-price-row .current-price {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--slate-dark, #0f172a);
}

.ec-free-ship-micro {
  font-size: 0.65rem;
  font-weight: 700;
  color: #0d9488;
  background: rgba(13, 148, 136, 0.1);
  padding: 1px 6px;
  border-radius: 4px;
}

.ec-card-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.ec-add-btn {
  background: var(--slate-dark, #0f172a);
  color: #ffffff;
  border: 1px solid transparent;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.ec-add-btn:hover {
  background: linear-gradient(135deg, #b88933 0%, #8f651e 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(150, 112, 43, 0.3);
}

/* Signature packaging jewel hover colors for Add to Bag button */
.product-card.card-tint-brightening-complex-day:hover .ec-add-btn {
  background: linear-gradient(135deg, #0d9488 0%, #0f766e 100%);
  box-shadow: 0 6px 16px rgba(13, 148, 136, 0.32);
}
.product-card.card-tint-moisturizer-acne:hover .ec-add-btn {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.32);
}
.product-card.card-tint-vitamin-c-serum:hover .ec-add-btn {
  background: linear-gradient(135deg, #c87a3e 0%, #9a3412 100%);
  box-shadow: 0 6px 16px rgba(200, 122, 62, 0.32);
}
.product-card.card-tint-night-care:hover .ec-add-btn {
  background: linear-gradient(135deg, #4f46e5 0%, #3730a3 100%);
  box-shadow: 0 6px 16px rgba(79, 70, 229, 0.32);
}
.product-card.card-tint-liposomal-serum:hover .ec-add-btn {
  background: linear-gradient(135deg, #9333ea 0%, #6b21a8 100%);
  box-shadow: 0 6px 16px rgba(147, 51, 234, 0.32);
}
.product-card.card-tint-moisturizer-dry:hover .ec-add-btn {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  box-shadow: 0 6px 16px rgba(16, 185, 129, 0.32);
}
.product-card.card-tint-hskinoshell-max:hover .ec-add-btn {
  background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%);
  box-shadow: 0 6px 16px rgba(234, 88, 12, 0.32);
}
.product-card.card-tint-skinoshell-spray:hover .ec-add-btn {
  background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
  box-shadow: 0 6px 16px rgba(217, 119, 6, 0.32);
}

/* Inline Quantity Stepper when item is already in Bag */
.ec-inline-stepper {
  display: inline-flex;
  align-items: center;
  background: #0f172a;
  color: #ffffff;
  border-radius: 999px;
  padding: 3px;
  gap: 2px;
  box-shadow: 0 6px 14px rgba(15, 23, 42, 0.18);
}

.ec-inline-stepper button {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.ec-inline-stepper button:hover {
  background: #caa462;
  color: #0f172a;
}

.ec-inline-stepper span {
  min-width: 28px;
  text-align: center;
  font-size: 0.84rem;
  font-weight: 800;
}

/* 5. Product Modal Delivery Estimator & Buy Bar */
.ec-modal-pincode-bar {
  background: #fdfbf7;
  border: 1px solid rgba(202, 164, 98, 0.28);
  border-radius: 12px;
  padding: 10px 14px;
  margin-bottom: 12px;
  width: 100%;
  box-sizing: border-box;
}

.ec-pin-header {
  margin-bottom: 6px;
}

.ec-pin-title {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 7px;
}

.ec-pin-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.ec-pin-input-group {
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.04);
}

.ec-pin-input {
  width: 130px;
  padding: 6px 10px;
  border: none;
  outline: none;
  font-size: 0.85rem;
  font-family: inherit;
  color: #0f172a;
  font-weight: 600;
  letter-spacing: 1px;
}

.ec-pin-input::placeholder {
  font-weight: 400;
  color: #94a3b8;
  letter-spacing: 0;
}

.ec-pin-btn {
  background: #0f172a;
  color: #ffffff;
  border: none;
  padding: 6px 14px;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.ec-pin-btn:hover {
  background: #caa462;
  color: #0f172a;
}

.ec-pin-status {
  flex: 1;
  min-width: 200px;
  font-size: 0.78rem;
  line-height: 1.4;
  color: #64748b;
}

.ec-pin-status.is-success {
  color: #065f46;
}

.ec-pin-status.is-success i {
  color: #10b981;
  margin-right: 4px;
}

.ec-pin-status.is-error {
  color: #b91c1c;
}

.ec-pin-status.is-error i {
  color: #ef4444;
  margin-right: 4px;
}

.ec-pin-hint {
  color: #64748b;
  font-size: 0.76rem;
}

.ec-modal-buy-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  flex-wrap: wrap;
}

.ec-modal-qty {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid var(--border-gold, rgba(212, 168, 83, 0.55));
  background: #ffffff;
  border-radius: 999px;
  height: 50px;
  padding: 0 6px;
}

.ec-modal-qty button {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: #f8fafc;
  color: var(--slate-dark, #0f172a);
  font-weight: 800;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.ec-modal-qty button:hover {
  background: var(--gold-light, #fdf6e9);
  color: var(--gold-dark, #96702b);
}

.ec-modal-qty span {
  min-width: 34px;
  text-align: center;
  font-weight: 800;
  font-size: 0.98rem;
  color: var(--slate-dark, #0f172a);
}

.ec-modal-add-btn {
  flex: 1.2;
  min-width: 200px;
  height: 50px;
  border-radius: 999px;
  background: linear-gradient(135deg, #c59b49 0%, #96702b 100%);
  color: #ffffff;
  border: none;
  font-size: 0.92rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  cursor: pointer;
  box-shadow: 0 10px 24px -6px rgba(150, 112, 43, 0.45);
  transition: all 0.25s ease;
}

.ec-modal-add-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -6px rgba(150, 112, 43, 0.55);
}

.ec-modal-buynow-btn {
  flex: 1;
  min-width: 180px;
  height: 50px;
  border-radius: 999px;
  background: #0f172a;
  color: #ffffff;
  border: 1px solid rgba(212, 168, 83, 0.45);
  font-size: 0.92rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.ec-modal-buynow-btn:hover {
  background: #1e293b;
  border-color: #d4a853;
  transform: translateY(-2px);
}

.ec-modal-b2b-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px dashed rgba(212, 168, 83, 0.35);
  font-size: 0.8rem;
  color: #64748b;
}

.ec-b2b-link-btn {
  background: none;
  border: none;
  color: var(--gold-dark, #96702b);
  font-weight: 700;
  font-size: 0.8rem;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
}

.ec-b2b-link-btn:hover {
  color: #0f172a;
}

/* 6. Slide-Out Luxury Bag & Wishlist Drawer */
.ec-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.62);
  backdrop-filter: blur(6px);
  z-index: 1100;
  opacity: 0;
  visibility: hidden;
  transition: all 0.32s ease;
}

.ec-drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

.ec-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 460px;
  height: 100dvh;
  background: #ffffff;
  z-index: 1101;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -20px 0 50px rgba(15, 23, 42, 0.22);
}

.ec-drawer.active {
  transform: translateX(0);
}

.ec-drawer-top {
  padding: 16px 22px 12px;
  background: #fdfbf7;
  border-bottom: 1px solid rgba(212, 168, 83, 0.28);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.ec-drawer-tabs {
  display: inline-flex;
  background: #f1ede4;
  padding: 4px;
  border-radius: 999px;
  gap: 4px;
}

.ec-drawer-tab {
  border: none;
  background: transparent;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #475569;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.22s ease;
}

.ec-drawer-tab.active {
  background: #0f172a;
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.15);
}

.ec-drawer-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: #ffffff;
  color: #0f172a;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.ec-drawer-close:hover {
  background: #0f172a;
  color: #ffffff;
}

.ec-shipping-banner {
  padding: 12px 20px;
  background: #fdfbf7;
  border-bottom: 1px solid rgba(202, 164, 98, 0.22);
  transition: all 0.3s ease;
}

.ec-shipping-banner.is-unlocked {
  background: linear-gradient(90deg, #ecfdf5 0%, #f0fdf4 100%);
  border-bottom-color: rgba(16, 185, 129, 0.35);
}

.ec-ship-banner-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.82rem;
  color: #0f172a;
}

.ec-ship-banner-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  line-height: 1.4;
}

.ec-ship-highlight {
  color: #0d9488;
  font-weight: 800;
}

.ec-shipping-banner.is-unlocked .ec-ship-check {
  color: #10b981;
  font-size: 1.05rem;
}

.ec-ship-badge {
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 999px;
  background: #f1f5f9;
  color: #475569;
  letter-spacing: 0.5px;
}

.ec-shipping-banner.is-unlocked .ec-ship-badge {
  background: #d1fae5;
  color: #065f46;
}

.ec-ship-progress {
  height: 7px;
  background: #e2e8f0;
  border-radius: 999px;
  margin-top: 8px;
  overflow: hidden;
  position: relative;
}

.ec-ship-fill {
  height: 100%;
  background: linear-gradient(90deg, #0d9488 0%, #caa462 100%);
  border-radius: 999px;
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.ec-shipping-banner.is-unlocked .ec-ship-fill {
  background: linear-gradient(90deg, #10b981 0%, #059669 100%);
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.4);
}

.ec-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 18px 22px;
}

.ec-cart-row {
  display: flex;
  gap: 14px;
  padding: 14px;
  border: 1px solid #f1f5f9;
  border-radius: 16px;
  margin-bottom: 12px;
  background: #ffffff;
  transition: border-color 0.2s ease;
}

.ec-cart-row:hover {
  border-color: rgba(212, 168, 83, 0.45);
}

.ec-cart-thumb {
  width: 74px;
  height: 74px;
  border-radius: 12px;
  padding: 6px;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.06);
  object-fit: contain;
  flex-shrink: 0;
  cursor: pointer;
}

.ec-cart-meta {
  flex: 1;
  min-width: 0;
}

.ec-cart-title {
  font-weight: 700;
  font-size: 0.9rem;
  color: #0f172a;
  line-height: 1.3;
  margin-bottom: 3px;
  cursor: pointer;
}

.ec-cart-vol {
  font-size: 0.74rem;
  color: #64748b;
  margin-bottom: 8px;
}

.ec-cart-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.ec-qty-pill {
  display: inline-flex;
  align-items: center;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  background: #f8fafc;
  height: 28px;
}

.ec-qty-pill button {
  width: 26px;
  height: 26px;
  border: none;
  background: transparent;
  font-weight: 800;
  color: #0f172a;
  cursor: pointer;
}

.ec-qty-pill span {
  min-width: 22px;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 700;
}

.ec-line-price {
  font-weight: 800;
  font-size: 0.95rem;
  color: #0f172a;
}

.ec-remove-btn {
  background: none;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  font-size: 0.88rem;
  padding: 4px;
  align-self: flex-start;
  transition: color 0.2s ease;
}

.ec-remove-btn:hover {
  color: #ef4444;
}

/* Coupon Chips & Drawer Footer */
.ec-drawer-footer {
  padding: 18px 22px max(18px, env(safe-area-inset-bottom));
  background: #fdfbf7;
  border-top: 1px solid rgba(212, 168, 83, 0.3);
}

.ec-coupon-chips {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.ec-chip-btn {
  background: #ffffff;
  border: 1px dashed rgba(202, 164, 98, 0.75);
  color: #8c5b16;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.ec-chip-btn:hover {
  background: #fef9c3;
  border-style: solid;
}

.ec-coupon-form {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.ec-coupon-form input {
  flex: 1;
  padding: 9px 12px;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  background: #ffffff;
}

.ec-coupon-form button {
  padding: 0 16px;
  border-radius: 10px;
  border: 1px solid #0f172a;
  background: #0f172a;
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
}

.ec-applied-coupon {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ecfdf5;
  border: 1px solid #6ee7b7;
  color: #065f46;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.ec-applied-coupon button {
  background: none;
  border: none;
  color: #dc2626;
  font-weight: 800;
  font-size: 0.76rem;
  cursor: pointer;
}

.ec-totals-box {
  margin-bottom: 14px;
}

.ec-tot-line {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: #475569;
  margin-bottom: 6px;
}

.ec-tot-line.discount {
  color: #059669;
  font-weight: 700;
}

.ec-tot-line.grand {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
  padding-top: 8px;
  margin-top: 6px;
  border-top: 1px solid rgba(15, 23, 42, 0.1);
}

.ec-gst-sub {
  font-size: 0.7rem;
  color: #64748b;
  text-align: right;
  margin-top: -2px;
  margin-bottom: 10px;
}

.ec-checkout-cta {
  width: 100%;
  height: 50px;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, #c59b49 0%, #96702b 100%);
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  box-shadow: 0 12px 26px -6px rgba(150, 112, 43, 0.5);
  transition: all 0.25s ease;
}

.ec-checkout-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px -6px rgba(150, 112, 43, 0.6);
}

.ec-trust-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 10px;
  font-size: 0.7rem;
  color: #64748b;
  font-weight: 600;
}

.ec-trust-strip span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* 7. Secure Multi-Mode Checkout Modal & Order Receipt */
.ec-checkout-modal {
  max-width: 960px !important;
  max-height: 88dvh !important;
  padding: 0 !important;
  overflow: hidden !important;
  display: flex;
  flex-direction: column;
}

.ec-checkout-scroll {
  overflow-y: auto;
  padding: 28px 32px 34px;
  max-height: calc(88dvh - 54px);
}

.ec-checkout-grid {
  display: grid;
  grid-template-columns: 1.22fr 0.78fr;
  gap: 28px;
  align-items: start;
}

.ec-form-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 22px;
  margin-bottom: 18px;
}

.ec-form-card h4 {
  font-size: 0.96rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 14px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ec-field-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}

.ec-field-grid-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}

.ec-field label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: #334155;
  margin-bottom: 5px;
}

.ec-field input,
.ec-field select,
.ec-field textarea {
  width: 100%;
  padding: 10px 13px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  font-size: 0.86rem;
  font-family: inherit;
  color: #0f172a;
  background: #ffffff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ec-field input:focus,
.ec-field select:focus,
.ec-field textarea:focus {
  outline: none;
  border-color: #caa462;
  box-shadow: 0 0 0 3px rgba(202, 164, 98, 0.16);
}

.ec-pincode-status {
  font-size: 0.72rem;
  font-weight: 700;
  margin-top: 4px;
  min-height: 16px;
}

.ec-pay-methods {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ec-pay-option {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border: 1.5px solid #e2e8f0;
  border-radius: 14px;
  cursor: pointer;
  background: #ffffff;
  transition: all 0.2s ease;
}

.ec-pay-option:hover {
  border-color: rgba(202, 164, 98, 0.65);
}

.ec-pay-option.selected {
  border-color: #b88933;
  background: #fdfaf3;
  box-shadow: 0 6px 16px -8px rgba(150, 112, 43, 0.3);
}

.ec-pay-option input[type="radio"] {
  margin-top: 3px;
  accent-color: #96702b;
  transform: scale(1.15);
}

.ec-pay-info strong {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: #0f172a;
}

.ec-pay-info small {
  display: block;
  font-size: 0.76rem;
  color: #64748b;
  margin-top: 3px;
}

.ec-pay-tag {
  font-size: 0.65rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 999px;
  background: #dcfce7;
  color: #15803d;
}

.ec-summary-panel {
  background: #fdfbf7;
  border: 1px solid rgba(212, 168, 83, 0.38);
  border-radius: 18px;
  padding: 22px;
  position: sticky;
  top: 0;
}

.ec-summary-items {
  max-height: 220px;
  overflow-y: auto;
  margin-bottom: 14px;
  padding-right: 4px;
}

.ec-sum-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px dashed #e2e8f0;
  font-size: 0.82rem;
}

.ec-hp-trap {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* 8. Razorpay Secure Gateway Simulator (Client Demo Mode) */
.ec-gateway-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(8px);
  z-index: 1200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.ec-gateway-overlay.active {
  display: flex;
}

.ec-gateway-card {
  width: 100%;
  max-width: 420px;
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(212, 168, 83, 0.4);
}

.ec-gw-head {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ec-gw-body {
  padding: 22px;
}

/* 9. Order Success & Printable Invoice View */
.ec-receipt-box {
  max-width: 680px;
  margin: 0 auto;
  background: #ffffff;
  border: 1.5px solid rgba(212, 168, 83, 0.45);
  border-radius: 20px;
  padding: 28px;
}

.ec-receipt-head {
  text-align: center;
  padding-bottom: 20px;
  border-bottom: 1px dashed #cbd5e1;
  margin-bottom: 20px;
}

.ec-check-circle {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: #dcfce7;
  color: #15803d;
  font-size: 1.8rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

/* Responsive Breakpoints */
@media (max-width: 900px) {
  .ec-checkout-grid {
    grid-template-columns: 1fr;
  }
  .ec-announce-left,
  .ec-announce-right {
    display: none;
  }
  .ec-announcement-inner {
    justify-content: center;
  }
  .header-inquiry-outline {
    display: none !important;
  }
}

@media (max-width: 600px) {
  .ec-announcement-bar {
    font-size: 0.68rem;
    padding: 6px 0;
  }
  .ec-icon-btn {
    width: 38px;
    height: 38px;
    font-size: 0.9rem;
  }
  .ec-bag-btn {
    height: 38px;
    padding: 0 11px;
    gap: 6px;
    font-size: 0.78rem;
  }
  .ec-bag-label-desktop {
    display: none;
  }
  .ec-shop-toolbar {
    padding: 8px 10px !important;
    gap: 8px !important;
    margin-bottom: 16px !important;
    border-radius: 14px !important;
  }
  .ec-category-pills {
    flex-wrap: nowrap;
    overflow-x: auto;
    width: 100%;
    padding-bottom: 2px;
    gap: 6px !important;
    scrollbar-width: none;
  }
  .ec-category-pills::-webkit-scrollbar {
    display: none;
  }
  .cat-tab {
    flex-shrink: 0;
    padding: 5px 10px !important;
    font-size: 0.72rem !important;
    border-radius: 999px;
  }
  .ec-toolbar-controls {
    width: 100%;
    display: flex;
    gap: 6px !important;
  }
  .ec-search-field {
    flex: 1;
    min-width: 0;
  }
  .ec-search-field input {
    height: 34px !important;
    padding: 0 10px 0 28px !important;
    font-size: 0.75rem !important;
    border-radius: 999px;
  }
  .ec-search-field i {
    left: 10px !important;
    font-size: 0.72rem !important;
  }
  .ec-sort-select {
    height: 34px !important;
    padding: 0 22px 0 8px !important;
    font-size: 0.72rem !important;
    border-radius: 999px;
  }

  /* Mobile Compact Cart Drawer */
  .ec-drawer {
    max-width: 100%;
  }
  .ec-drawer-top {
    padding: 10px 14px 8px !important;
  }
  .ec-drawer-tabs {
    padding: 3px !important;
    gap: 3px !important;
  }
  .ec-drawer-tab {
    padding: 5px 10px !important;
    font-size: 0.72rem !important;
    gap: 4px !important;
  }
  .ec-drawer-close {
    width: 30px !important;
    height: 30px !important;
    font-size: 0.85rem !important;
  }
  .ec-shipping-banner {
    padding: 7px 14px !important;
  }
  .ec-ship-banner-header {
    font-size: 0.72rem !important;
  }
  .ec-ship-bar-track {
    height: 5px !important;
    margin-top: 5px !important;
  }
  .ec-drawer-body {
    padding: 10px 12px !important;
  }
  .ec-cart-row {
    padding: 9px 10px !important;
    gap: 10px !important;
    border-radius: 12px !important;
    margin-bottom: 8px !important;
  }
  .ec-cart-thumb {
    width: 52px !important;
    height: 52px !important;
    border-radius: 8px !important;
    padding: 3px !important;
  }
  .ec-cart-title {
    font-size: 0.82rem !important;
    line-height: 1.25 !important;
    margin-bottom: 2px !important;
  }
  .ec-cart-vol {
    font-size: 0.68rem !important;
    margin-bottom: 5px !important;
  }
  .ec-cart-bottom {
    gap: 6px !important;
  }
  .ec-qty-pill {
    height: 24px !important;
  }
  .ec-qty-pill button {
    width: 22px !important;
    height: 22px !important;
    font-size: 0.8rem !important;
  }
  .ec-qty-pill span {
    min-width: 18px !important;
    font-size: 0.72rem !important;
  }
  .ec-line-price {
    font-size: 0.86rem !important;
  }
  .ec-remove-btn {
    font-size: 0.8rem !important;
    padding: 2px !important;
  }
  .ec-drawer-footer {
    padding: 10px 12px max(12px, env(safe-area-inset-bottom)) !important;
  }
  .ec-coupon-chips {
    gap: 4px !important;
    margin-bottom: 6px !important;
  }
  .ec-chip-btn {
    font-size: 0.64rem !important;
    padding: 3px 8px !important;
  }
  .ec-coupon-form {
    gap: 6px !important;
    margin-bottom: 8px !important;
  }
  .ec-coupon-form input {
    padding: 6px 10px !important;
    font-size: 0.74rem !important;
    height: 32px !important;
  }
  .ec-coupon-form button {
    padding: 0 12px !important;
    font-size: 0.74rem !important;
    height: 32px !important;
  }
  .ec-applied-coupon {
    padding: 6px 10px !important;
    font-size: 0.74rem !important;
    margin-bottom: 8px !important;
  }
  .ec-totals-box {
    margin-bottom: 10px !important;
  }
  .ec-tot-line {
    font-size: 0.78rem !important;
    margin-bottom: 3px !important;
  }
  .ec-tot-line.grand {
    font-size: 0.92rem !important;
    padding-top: 4px !important;
  }
  .ec-checkout-btn {
    padding: 10px !important;
    font-size: 0.82rem !important;
    border-radius: 10px !important;
  }
  .ec-checkout-scroll {
    padding: 18px 16px 26px;
  }
  .ec-field-grid-2,
  .ec-field-grid-3 {
    grid-template-columns: 1fr;
  }
  .ec-modal-buy-bar {
    display: grid !important;
    grid-template-columns: 108px 1fr !important;
    gap: 10px !important;
    width: 100% !important;
    align-items: center !important;
  }
  .ec-pin-row {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 8px !important;
  }
  .ec-pin-input-group {
    flex: 1 !important;
    display: flex !important;
    width: auto !important;
  }
  .ec-pin-input {
    flex: 1 !important;
    width: 100% !important;
    height: 38px !important;
    font-size: 0.80rem !important;
    padding: 0 10px !important;
  }
  .ec-pin-btn {
    height: 38px !important;
    padding: 0 14px !important;
    font-size: 0.78rem !important;
  }
  .ec-modal-qty {
    height: 42px !important;
    width: 108px !important;
    max-width: 108px !important;
    padding: 0 4px !important;
    margin: 0 !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    border-radius: 999px !important;
    border: 1.5px solid var(--border-gold, rgba(212, 168, 83, 0.55)) !important;
    background: #ffffff !important;
    box-sizing: border-box !important;
  }
  .ec-modal-qty button {
    width: 32px !important;
    height: 32px !important;
    font-size: 1rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
    border: none !important;
    background: #f1f5f9 !important;
    color: var(--slate-dark, #0f172a) !important;
    line-height: 1 !important;
    padding: 0 !important;
    cursor: pointer !important;
  }
  .ec-modal-qty span {
    min-width: 26px !important;
    font-size: 0.90rem !important;
    font-weight: 800 !important;
    text-align: center !important;
    color: var(--slate-dark, #0f172a) !important;
  }
  .ec-modal-add-btn {
    height: 42px !important;
    min-width: 0 !important;
    width: 100% !important;
    font-size: 0.80rem !important;
    padding: 0 12px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    border-radius: 999px !important;
    white-space: nowrap !important;
    box-shadow: 0 4px 14px -3px rgba(150, 112, 43, 0.45) !important;
  }
  .ec-modal-buynow-btn {
    grid-column: span 2 !important;
    height: 42px !important;
    width: 100% !important;
    min-width: 0 !important;
    font-size: 0.82rem !important;
    font-weight: 800 !important;
    padding: 0 16px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    border-radius: 999px !important;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.25) !important;
  }

  /* 2-Column Product Grid on Mobile Devices */
  .shop-section .container {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }
  .product-card {
    grid-column: span 1 !important;
    max-width: 100% !important;
    border-radius: 14px !important;
    display: flex !important;
    flex-direction: column !important;
    margin: 0 !important;
    background: #ffffff !important;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.05) !important;
    overflow: hidden !important;
  }
  .product-image-box {
    height: 175px !important;
    padding: 30px 8px 8px 8px !important;
  }
  .product-image-box img {
    max-height: 85% !important;
    max-width: 88% !important;
  }
  .product-image-box.tint-brightening-complex-day img,
  .product-image-box.tint-night-care img {
    transform: scale(1.05) !important;
  }
  .product-badge,
  .product-badge.gold {
    top: 6px !important;
    left: 6px !important;
    font-size: 0.55rem !important;
    padding: 2.5px 6px !important;
    max-width: calc(100% - 38px) !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    line-height: 1.15 !important;
  }
  .product-wishlist-toggle {
    top: 6px !important;
    right: 6px !important;
    width: 26px !important;
    height: 26px !important;
    font-size: 0.72rem !important;
  }
  .quick-view-trigger {
    display: none !important;
  }
  .product-content {
    padding: 10px 8px 10px 8px !important;
    display: flex !important;
    flex-direction: column !important;
    flex-grow: 1 !important;
  }
  .product-cat-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin-bottom: 4px !important;
    gap: 4px !important;
  }
  .product-cat {
    font-size: 0.64rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
    margin-bottom: 0 !important;
    white-space: nowrap !important;
    overflow: visible !important;
    text-overflow: clip !important;
    flex-shrink: 0 !important;
  }
  .product-vol-pill {
    font-size: 0.60rem !important;
    font-weight: 700 !important;
    padding: 2px 6px !important;
    border-radius: 99px !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
  }
  .product-vol-pill i {
    font-size: 0.55rem !important;
    margin-right: 2px !important;
  }
  .product-title {
    font-size: 0.84rem !important;
    line-height: 1.25 !important;
    margin-bottom: 3px !important;
    min-height: 2.5em !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    font-weight: 700 !important;
  }
  .product-subname {
    font-size: 0.68rem !important;
    line-height: 1.25 !important;
    margin-bottom: 6px !important;
    min-height: 2.5em !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    color: #64748b !important;
  }
  .ec-rating-stock-row {
    font-size: 0.65rem !important;
    margin-bottom: 6px !important;
    gap: 4px !important;
  }
  .ec-stars-pill {
    font-size: 0.65rem !important;
    padding: 2px 5px !important;
  }
  .ec-rev-cnt {
    display: none !important;
  }
  .ec-stock-pill {
    font-size: 0.60rem !important;
    padding: 2px 5px !important;
  }
  .product-meta-row,
  .product-actives-block {
    display: none !important;
  }
  .ec-card-footer {
    margin-top: auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 6px !important;
    padding-top: 6px !important;
    border-top: 1px solid #f1f5f9 !important;
  }
  .ec-price-stack {
    display: flex !important;
    align-items: baseline !important;
    justify-content: space-between !important;
  }
  .mrp-label {
    display: none !important;
  }
  .current-price {
    font-size: 1.05rem !important;
    font-weight: 800 !important;
  }
  .ec-free-ship-micro {
    font-size: 0.58rem !important;
    padding: 1px 4px !important;
  }
  .ec-card-actions {
    width: 100% !important;
  }
  .ec-add-btn {
    width: 100% !important;
    justify-content: center !important;
    padding: 7px 6px !important;
    font-size: 0.72rem !important;
    height: 33px !important;
    border-radius: 8px !important;
    gap: 4px !important;
  }
  .ec-inline-stepper {
    width: 100% !important;
    justify-content: space-between !important;
    height: 33px !important;
    border-radius: 8px !important;
    padding: 0 4px !important;
  }
  .ec-inline-stepper button {
    width: 26px !important;
    height: 26px !important;
    font-size: 0.85rem !important;
  }
  .ec-inline-stepper span {
    font-size: 0.8rem !important;
  }
}

/* Footer 256-Bit SSL Security Strip & Track Order */
.footer-security-strip {
  border-top: 1px solid rgba(202, 164, 98, 0.22);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(11, 17, 32, 0.55);
  padding: 14px 0;
  margin-top: 24px;
}

.footer-security-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: #cbd5e1;
}

.footer-ssl-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: #cbd5e1;
}

.footer-ssl-item strong {
  color: #ffffff;
}

.footer-track-order-btn {
  background: rgba(202, 164, 98, 0.12);
  color: #ffffff;
  border: 1px solid rgba(202, 164, 98, 0.45);
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.footer-track-order-btn:hover {
  background: #caa462;
  color: #0b1120;
  transform: translateY(-1px);
}

.footer-track-order-btn:hover i {
  color: #0b1120 !important;
}

@media (max-width: 768px) {
  .footer-security-flex {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
  }
}

@media print {
  body * {
    visibility: hidden;
  }
  #checkout-modal,
  #checkout-modal * {
    visibility: visible;
  }
  #checkout-modal {
    position: absolute;
    left: 0;
    top: 0;
    transform: none !important;
    width: 100% !important;
    max-width: 100% !important;
    max-height: none !important;
    box-shadow: none !important;
  }
  .modal-header-bar,
  .ec-no-print {
    display: none !important;
  }
}


/* Mobile Header Action Buttons Compact Layout */
@media (max-width: 768px) {
  .header-inquiry-outline,
  .ec-track-header-btn {
    display: none !important;
  }
  .ec-icon-btn {
    width: 34px !important;
    height: 34px !important;
    font-size: 0.85rem !important;
  }
  .ec-bag-btn {
    height: 34px !important;
    padding: 0 9px !important;
    gap: 5px !important;
    font-size: 0.74rem !important;
  }
  .ec-bag-count-pill {
    min-width: 17px !important;
    height: 17px !important;
    font-size: 0.65rem !important;
  }
}

/* ==========================================================================
   MOBILE FLOATING CART & CHECKOUT BAR
   ========================================================================== */
.mobile-floating-cart {
  display: none;
}

@media (max-width: 768px) {
  .mobile-floating-cart {
    display: block;
    position: fixed;
    bottom: 14px;
    left: 14px;
    right: 14px;
    max-width: 440px;
    margin: 0 auto;
    z-index: 995;
    transform: translateY(140%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  }

  .mobile-floating-cart.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .mfc-content {
    background: linear-gradient(135deg, #0b1b2b 0%, #15273b 100%);
    border: 1px solid rgba(212, 175, 55, 0.5);
    border-radius: 9999px;
    padding: 7px 8px 7px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    box-shadow: 0 14px 34px rgba(11, 27, 43, 0.45), 0 2px 8px rgba(212, 175, 55, 0.25);
    cursor: pointer;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    user-select: none;
  }

  .mfc-content:active {
    transform: scale(0.985);
  }

  .mfc-info {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
  }

  .mfc-bag-icon {
    position: relative;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid rgba(212, 175, 55, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e5c365;
    font-size: 0.95rem;
    flex-shrink: 0;
  }

  .mfc-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 17px;
    height: 17px;
    padding: 0 4px;
    background: #d4af37;
    color: #0b1b2b;
    font-size: 0.62rem;
    font-weight: 800;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid #0b1b2b;
  }

  .mfc-meta {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
    min-width: 0;
  }

  .mfc-title {
    font-size: 0.64rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
  }

  .mfc-price {
    font-size: 0.98rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.2px;
  }

  .mfc-cta-btn {
    background: linear-gradient(135deg, #d4af37 0%, #b8860b 100%);
    color: #0b1b2b;
    border: none;
    outline: none;
    border-radius: 9999px;
    padding: 9px 16px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(184, 134, 11, 0.35);
    flex-shrink: 0;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
  }

  .mfc-cta-btn:active {
    transform: scale(0.96);
  }

  .mfc-cta-btn i {
    font-size: 0.75rem;
    transition: transform 0.2s ease;
  }

  .mfc-content:hover .mfc-cta-btn i {
    transform: translateX(2px);
  }

  @supports (padding-bottom: env(safe-area-inset-bottom)) {
    .mobile-floating-cart {
      bottom: calc(12px + env(safe-area-inset-bottom));
    }
  }
}
