/* ══════════════════════════════════════════════════════════════════
   NeoVibe Shopify-Grade E-Commerce Suite
   - AJAX Slide-Out Cart Drawer
   - Free Shipping Progress Meter
   - Quick View Modal
   - Upgraded Product Card Action Buttons (Zero Text-Selection Bug)
   ══════════════════════════════════════════════════════════════════ */

/* ── 1. Anti-Selection & Product Card Enhancements ─────────────── */
.nv-product,
.nv-product-body,
.nv-product-link,
.nv-card-actions,
.nv-btn-card {
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

.nv-product {
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  background: #ffffff;
  border: 1.5px solid var(--border-mid);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transform-style: preserve-3d;
  perspective: 1000px;
  will-change: transform, box-shadow;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.28s ease;
}

.nv-product::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle 350px at var(--glare-x, 50%) var(--glare-y, 50%), rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0) 75%);
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
  z-index: 8;
  border-radius: inherit;
}

.nv-product:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 102, 238, 0.45);
  box-shadow: 0 20px 48px rgba(12, 20, 34, 0.12), 0 0 24px rgba(0, 102, 238, 0.15);
}

.nv-product:hover::after {
  opacity: 1;
}

.nv-product-image {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 240px;
  background: #f8fafc;
  overflow: hidden;
  text-decoration: none;
  cursor: pointer;
}

.nv-product-image img {
  max-width: 85%;
  max-height: 85%;
  object-fit: contain;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  filter: drop-shadow(0 8px 18px rgba(12, 20, 34, 0.08));
}

.nv-product:hover .nv-product-image img {
  transform: scale(1.08);
}

/* Floating Badges on Image */
.nv-badge-strip {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
  z-index: 3;
}

.nv-badge-discount {
  background: var(--sale-grad);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 900;
  padding: 4px 9px;
  border-radius: 99px;
  letter-spacing: 0.04em;
  box-shadow: 0 4px 10px rgba(0, 102, 238, 0.3);
}

.nv-badge-rating {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-mid);
  color: var(--text-main);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 99px;
  display: flex;
  align-items: center;
  gap: 3px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.nv-badge-rating span {
  color: #eab308;
  font-size: 0.78rem;
}

/* Quick View Hover Button */
.nv-btn-quickview {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%) translateY(14px);
  opacity: 0;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-mid);
  color: var(--text-main);
  font-size: 0.78rem;
  font-weight: 800;
  padding: 7px 16px;
  border-radius: 99px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
  transition: opacity 0.22s ease, transform 0.22s ease, background 0.15s ease, color 0.15s ease;
  z-index: 4;
}

.nv-product:hover .nv-btn-quickview {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nv-btn-quickview:hover {
  background: var(--blue);
  color: #ffffff;
  border-color: var(--blue);
}

/* Product Card Body */
.nv-product-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.nv-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.nv-card-category {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
}

.nv-card-stock {
  font-size: 0.70rem;
  font-weight: 700;
  color: #16a34a;
  display: flex;
  align-items: center;
  gap: 4px;
}

.nv-card-stock::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #16a34a;
  display: inline-block;
}

.nv-card-title {
  text-decoration: none;
  color: inherit;
  display: block;
}

.nv-card-title h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.38;
  margin: 0 0 12px;
  min-height: 42px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.15s ease;
}

.nv-card-title:hover h3 {
  color: var(--blue);
}

.nv-card-price-box {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 16px;
}

.nv-card-price {
  font-family: 'Outfit', sans-serif;
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--text-main);
}

.nv-card-old-price {
  font-size: 0.85rem;
  color: var(--text-dim);
  text-decoration: line-through;
  font-weight: 600;
}

/* Shopify Dual Action Buttons */
.nv-card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: auto;
  border-top: 1px solid var(--border-subtle);
  padding-top: 14px;
}

.nv-btn-view-product {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 12px;
  background: #f1f5f9;
  color: var(--text-main);
  border: 1.5px solid transparent;
  border-radius: 99px;
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.nv-btn-view-product:hover {
  background: #e2e8f0;
  color: var(--text-main);
  border-color: var(--border-mid);
}

.nv-btn-view-product span {
  font-size: 0.95rem;
  color: var(--blue);
  transition: transform 0.2s ease;
}

.nv-btn-view-product:hover span {
  transform: translateX(3px);
}

.nv-btn-quick-add {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 12px;
  background: var(--blue);
  color: #ffffff;
  border: 1.5px solid transparent;
  border-radius: 99px;
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 102, 238, 0.25);
}

.nv-btn-quick-add:hover {
  background: #0052cc;
  box-shadow: 0 6px 16px rgba(0, 102, 238, 0.38);
  transform: translateY(-1px);
}

.nv-btn-quick-add:active {
  transform: translateY(0);
}

.nv-btn-quick-add.is-loading {
  opacity: 0.75;
  pointer-events: none;
}


/* ── 2. Shopify AJAX Slide-Over Cart Drawer ────────────────────── */
#nv-cart-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 18, 32, 0.65);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 9998;
}

#nv-cart-drawer-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

#nv-cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 440px;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.99) 0%, rgba(246, 250, 255, 0.99) 100%);
  border-left: 1.5px solid rgba(0, 148, 255, 0.30);
  box-shadow: -16px 0 50px rgba(0, 0, 0, 0.22), -2px 0 16px rgba(0, 102, 238, 0.15);
  display: flex;
  flex-direction: column;
  z-index: 9999;
  transform: translateX(100%);
  transition: transform 0.40s cubic-bezier(0.16, 1, 0.3, 1);
}

#nv-cart-drawer.is-open {
  transform: translateX(0);
}

/* Drawer Header */
.nv-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-mid);
  background: #ffffff;
}

.nv-drawer-header-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nv-drawer-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.22rem;
  font-weight: 900;
  color: var(--text-main);
  margin: 0;
}

.nv-drawer-count {
  background: rgba(0, 102, 238, 0.1);
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 99px;
}

.nv-drawer-close {
  background: #f1f5f9;
  border: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-dim);
  font-size: 1.2rem;
  line-height: 1;
  transition: all 0.15s ease;
}

.nv-drawer-close:hover {
  background: #e2e8f0;
  color: var(--text-main);
}

/* Free Shipping Progress Meter (Shopify Feature) */
.nv-drawer-shipping-box {
  padding: 0.9rem 1.5rem;
  background: #f8fafc;
  border-bottom: 1px solid var(--border-subtle);
}

.nv-drawer-shipping-text {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.nv-drawer-shipping-text strong {
  color: var(--blue);
}

.nv-drawer-shipping-meter {
  width: 100%;
  height: 7px;
  background: #e2e8f0;
  border-radius: 99px;
  overflow: hidden;
  position: relative;
}

.nv-drawer-shipping-bar {
  height: 100%;
  background: linear-gradient(90deg, #0066ee, #00d2ff);
  border-radius: 99px;
  transition: width 0.4s ease;
}

.nv-drawer-shipping-bar.is-unlocked {
  background: linear-gradient(90deg, #10b981, #059669);
}

/* Drawer Items List */
.nv-drawer-items {
  flex-grow: 1;
  overflow-y: auto;
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Single Drawer Item */
.nv-drawer-item {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 14px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
}

.nv-drawer-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.nv-drawer-item-img {
  width: 74px;
  height: 74px;
  background: #f8fafc;
  border: 1px solid var(--border-mid);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-decoration: none;
  flex-shrink: 0;
}

.nv-drawer-item-img img {
  max-width: 86%;
  max-height: 86%;
  object-fit: contain;
}

.nv-drawer-item-details {
  display: flex;
  flex-direction: column;
}

.nv-drawer-item-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
}

.nv-drawer-item-name {
  font-family: 'Outfit', sans-serif;
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--text-main);
  text-decoration: none;
  line-height: 1.3;
  margin-bottom: 3px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.nv-drawer-item-name:hover {
  color: var(--blue);
}

.nv-drawer-item-delete {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-dim);
  font-size: 0.95rem;
  padding: 2px;
  line-height: 1;
  transition: color 0.15s ease;
}

.nv-drawer-item-delete:hover {
  color: #ef4444;
}

.nv-drawer-item-variant {
  font-size: 0.76rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 8px;
}

.nv-drawer-item-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}

.nv-drawer-qty-box {
  display: flex;
  align-items: center;
  border: 1px solid var(--border-mid);
  border-radius: var(--radius-pill);
  background: #ffffff;
  overflow: hidden;
}

.nv-drawer-qty-btn {
  background: none;
  border: none;
  width: 28px;
  height: 28px;
  cursor: pointer;
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
}

.nv-drawer-qty-btn:hover {
  background: #f1f5f9;
}

.nv-drawer-qty-val {
  font-size: 0.82rem;
  font-weight: 800;
  width: 26px;
  text-align: center;
  color: var(--text-main);
}

.nv-drawer-item-price {
  font-family: 'Outfit', sans-serif;
  font-size: 0.98rem;
  font-weight: 900;
  color: var(--text-main);
}

/* Empty Drawer State */
.nv-drawer-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 100%;
  padding: 2rem 1.5rem;
}

.nv-drawer-empty-icon {
  font-size: 3.5rem;
  margin-bottom: 14px;
}

.nv-drawer-empty h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-main);
  margin: 0 0 8px;
}

.nv-drawer-empty p {
  font-size: 0.88rem;
  color: var(--text-muted);
  max-width: 260px;
  margin: 0 0 20px;
}

/* Drawer Footer */
.nv-drawer-footer {
  padding: 1.25rem 1.5rem;
  border-top: 1px solid var(--border-mid);
  background: #ffffff;
  box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.04);
}

.nv-drawer-subtotal-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 6px;
}

.nv-drawer-subtotal-label {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-main);
}

.nv-drawer-subtotal-value {
  font-family: 'Outfit', sans-serif;
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--text-main);
}

.nv-drawer-tax-note {
  font-size: 0.74rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.nv-drawer-checkout-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px;
  background: var(--blue);
  color: #ffffff;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 6px 20px rgba(0, 102, 238, 0.35);
}

.nv-drawer-checkout-btn:hover {
  background: #0052cc;
  box-shadow: 0 8px 25px rgba(0, 102, 238, 0.45);
  transform: translateY(-1px);
}

.nv-drawer-view-cart {
  display: block;
  text-align: center;
  margin-top: 10px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s ease;
}

.nv-drawer-view-cart:hover {
  color: var(--blue);
}

.nv-drawer-trust-badges {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--text-dim);
}


/* ── 3. Shopify Quick View Modal ───────────────────────────────── */
#nv-quick-view-overlay {
  position: fixed;
  inset: 0;
  background: rgba(12, 20, 34, 0.65);
  backdrop-filter: blur(5px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s ease, visibility 0.28s ease;
  z-index: 9990;
}

#nv-quick-view-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

#nv-quick-view-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  width: 90%;
  max-width: 820px;
  max-height: 90vh;
  overflow-y: auto;
  background: #ffffff;
  border-radius: var(--radius-xl);
  border: 1.5px solid var(--border-mid);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.28s ease, visibility 0.28s ease;
  z-index: 9991;
}

#nv-quick-view-modal.is-open {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

.nv-qv-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: #f1f5f9;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.3rem;
  color: var(--text-dim);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all 0.15s ease;
}

.nv-qv-close:hover {
  background: #e2e8f0;
  color: var(--text-main);
}

.nv-qv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  padding: 2.2rem;
}

.nv-qv-image-box {
  background: #f8fafc;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 340px;
  padding: 1.5rem;
  overflow: hidden;
}

.nv-qv-image-box img {
  max-width: 100%;
  max-height: 320px;
  object-fit: contain;
  filter: drop-shadow(0 12px 24px rgba(12, 20, 34, 0.12));
}

.nv-qv-info {
  display: flex;
  flex-direction: column;
}

.nv-qv-category {
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 6px;
}

.nv-qv-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.45rem;
  font-weight: 900;
  color: var(--text-main);
  line-height: 1.28;
  margin: 0 0 10px;
}

.nv-qv-rating-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.nv-qv-stars {
  color: #eab308;
  font-size: 0.9rem;
}

.nv-qv-review-count {
  font-size: 0.80rem;
  color: var(--text-muted);
  font-weight: 600;
}

.nv-qv-price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 16px;
}

.nv-qv-price {
  font-family: 'Outfit', sans-serif;
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--text-main);
}

.nv-qv-old-price {
  font-size: 1rem;
  color: var(--text-dim);
  text-decoration: line-through;
  font-weight: 600;
}

.nv-qv-discount-pill {
  background: var(--sale-grad);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 900;
  padding: 3px 8px;
  border-radius: 99px;
}

.nv-qv-summary {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.nv-qv-variant-section {
  margin-bottom: 18px;
}

.nv-qv-variant-label {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 8px;
  display: block;
}

.nv-qv-variant-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.nv-qv-variant-pill {
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--border-mid);
  background: #ffffff;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}

.nv-qv-variant-pill:hover {
  border-color: var(--blue);
}

.nv-qv-variant-pill.is-selected {
  border-color: var(--blue);
  background: rgba(0, 102, 238, 0.08);
  color: var(--blue);
  font-weight: 800;
}

.nv-qv-action-row {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
}

.nv-qv-qty-stepper {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--border-mid);
  border-radius: var(--radius-pill);
  background: #f8fafc;
  height: 44px;
}

.nv-qv-qty-stepper button {
  background: none;
  border: none;
  width: 36px;
  height: 100%;
  font-size: 1.1rem;
  font-weight: 800;
  cursor: pointer;
  color: var(--text-main);
}

.nv-qv-qty-stepper span {
  font-size: 0.95rem;
  font-weight: 800;
  width: 32px;
  text-align: center;
}

.nv-qv-add-btn {
  flex-grow: 1;
  height: 44px;
  background: var(--blue);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  font-weight: 900;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(0, 102, 238, 0.3);
}

.nv-qv-add-btn:hover {
  background: #0052cc;
  box-shadow: 0 6px 20px rgba(0, 102, 238, 0.45);
}

.nv-qv-view-full {
  display: block;
  text-align: center;
  margin-top: 12px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-muted);
  text-decoration: none;
}

.nv-qv-view-full:hover {
  color: var(--blue);
  text-decoration: underline;
}

/* ── Responsive Rules ──────────────────────────────────────────── */
@media (max-width: 768px) {
  #nv-cart-drawer {
    max-width: 100%;
  }

  .nv-qv-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1.5rem;
  }

  .nv-qv-image-box {
    min-height: 240px;
  }

  .nv-card-actions {
    display: block !important;
    width: 100% !important;
    grid-template-columns: none !important;
  }
  .nv-card-actions .nv-btn-view-product,
  .nv-btn-view-product {
    display: none !important;
  }
  .nv-card-actions .nv-btn-quick-add,
  .nv-btn-quick-add {
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    box-sizing: border-box !important;
  }
}

/* ── 3D Cart Instant Notification Toast ────────────────────────── */
.nv-cart-toast {
  position: fixed;
  bottom: 26px;
  right: 26px;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-width: 300px;
  max-width: 420px;
  padding: 14px 18px;
  background: rgba(12, 20, 34, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1.5px solid rgba(0, 148, 255, 0.4);
  border-radius: var(--radius-md);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.35), 0 0 20px rgba(0, 102, 238, 0.25);
  color: #ffffff;
  opacity: 0;
  transform: translateY(30px) scale(0.95);
  pointer-events: none;
  transition: all 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}

.nv-cart-toast.is-active {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.nv-cart-toast.is-error {
  border-color: rgba(220, 38, 38, 0.55);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.35), 0 0 20px rgba(220, 38, 38, 0.3);
}

.nv-toast-content {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nv-toast-icon {
  font-size: 1.35rem;
  flex-shrink: 0;
}

.nv-toast-title {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 0.95rem;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.nv-toast-msg {
  font-size: 0.82rem;
  color: #94a3b8;
  margin-top: 2px;
}

.nv-toast-close {
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 1.1rem;
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  line-height: 1;
  transition: color 0.15s ease;
}

.nv-toast-close:hover {
  color: #ffffff;
}

/* ── Cart Bounce Animation ─────────────────────────────────────── */
@keyframes cart-pop {
  0% { transform: scale(1); }
  50% { transform: scale(1.4) translateY(-3px); filter: drop-shadow(0 0 10px rgba(0, 102, 238, 0.7)); }
  100% { transform: scale(1); }
}
