/* ═══════════════════════════════════════════════════════════════
   site.css — Meshit ECommerce Public Storefront
   Utility classes, overrides, page-specific helpers.
   Loads AFTER theme2.css and responsive.css.
═══════════════════════════════════════════════════════════════ */

/* ── 1. TYPOGRAPHY UTILITIES ─────────────────────────────────── */
.font-serif  { font-family: var(--nc-font-serif,  'Cormorant Garamond', Georgia, serif) !important; }
.font-sans   { font-family: var(--nc-font-sans, 'Poppins', sans-serif) !important; }
.text-gold   { color: var(--nc-gold, #d4a855) !important; }
.text-muted  { color: var(--nc-muted, #8a7260) !important; }
.text-dark   { color: var(--nc-dark, #1a0a00) !important; }
.text-center { text-align: center !important; }
.text-right  { text-align: right !important; }
.fw-600      { font-weight: 600 !important; }
.fw-700      { font-weight: 700 !important; }
.fs-12       { font-size: 12px !important; }
.fs-13       { font-size: 13px !important; }
.fs-14       { font-size: 14px !important; }
.lsp-2       { letter-spacing: 2px !important; }
.lsp-3       { letter-spacing: 3px !important; }
.uc          { text-transform: uppercase !important; }

/* ── 2. SPACING UTILITIES ────────────────────────────────────── */
.mt-0  { margin-top: 0 !important; }
.mt-8  { margin-top: 8px !important; }
.mt-12 { margin-top: 12px !important; }
.mt-16 { margin-top: 16px !important; }
.mt-24 { margin-top: 24px !important; }
.mt-32 { margin-top: 32px !important; }
.mt-48 { margin-top: 48px !important; }
.mb-0  { margin-bottom: 0 !important; }
.mb-8  { margin-bottom: 8px !important; }
.mb-12 { margin-bottom: 12px !important; }
.mb-16 { margin-bottom: 16px !important; }
.mb-24 { margin-bottom: 24px !important; }
.mb-32 { margin-bottom: 32px !important; }
.mb-48 { margin-bottom: 48px !important; }
.pt-0  { padding-top: 0 !important; }
.pb-0  { padding-bottom: 0 !important; }
.p-16  { padding: 16px !important; }
.p-24  { padding: 24px !important; }

/* ── 3. DISPLAY UTILITIES ────────────────────────────────────── */
.d-flex         { display: flex !important; }
.d-grid         { display: grid !important; }
.d-block        { display: block !important; }
.d-none         { display: none !important; }
.d-inline-flex  { display: inline-flex !important; }
.align-center   { align-items: center !important; }
.justify-center { justify-content: center !important; }
.justify-between{ justify-content: space-between !important; }
.flex-wrap      { flex-wrap: wrap !important; }
.gap-8          { gap: 8px !important; }
.gap-12         { gap: 12px !important; }
.gap-16         { gap: 16px !important; }
.gap-24         { gap: 24px !important; }
.flex-1         { flex: 1 !important; }
.flex-shrink-0  { flex-shrink: 0 !important; }
.w-100          { width: 100% !important; }
.h-100          { height: 100% !important; }

/* ── 4. BACKGROUND UTILITIES ─────────────────────────────────── */
.bg-cream  { background: var(--nc-cream, #faf7f2) !important; }
.bg-dark   { background: var(--nc-dark, #1a0a00) !important; }
.bg-white  { background: #fff !important; }
.border-bottom-gold { border-bottom: 1px solid var(--nc-border, rgba(180,140,100,0.18)) !important; }
.border-card { border: 1px solid var(--nc-border, rgba(180,140,100,0.18)); border-radius: 12px; }

/* ── 5. OVERFLOW HELPERS ─────────────────────────────────────── */
.overflow-hidden   { overflow: hidden !important; }
.overflow-x-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.overflow-x-scroll::-webkit-scrollbar { display: none; }
.text-truncate     { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ── 6. IMAGE HELPERS ────────────────────────────────────────── */
.img-cover    { object-fit: cover; width: 100%; height: 100%; }
.img-contain  { object-fit: contain; width: 100%; height: 100%; }
.img-rounded  { border-radius: var(--nc-radius, 6px); }
.img-circle   { border-radius: 50%; }
.img-aspect-1 { aspect-ratio: 1; }
.img-aspect-43{ aspect-ratio: 4/3; }
.img-aspect-169 { aspect-ratio: 16/9; }

/* ── 7. FORM ELEMENTS — GLOBAL STYLE ─────────────────────────── */
.form-label-upper {
  display: block;
  font-size: 10px; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--nc-muted, #8a7260);
  margin-bottom: 6px;
}
.form-input {
  width: 100%; padding: 11px 14px;
  border: 1px solid var(--nc-border, rgba(180,140,100,0.25));
  border-radius: var(--nc-radius, 6px);
  font-size: 14px; font-family: inherit;
  background: #fff; color: var(--nc-dark, #1a0a00);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-input:focus {
  border-color: var(--brand-primary, #d4a855);
  box-shadow: 0 0 0 3px rgba(212, 168, 85, 0.12);
}
.form-input::placeholder { color: #c0aaa0; }
.form-error { font-size: 12px; color: #c62828; margin-top: 4px; }
.form-hint  { font-size: 12px; color: var(--nc-muted, #8a7260); margin-top: 4px; }

/* Styled checkbox */
.nc-checkbox {
  display: flex; align-items: flex-start; gap: 10px;
  cursor: pointer; font-size: 13px; color: var(--nc-text, #2d1200);
}
.nc-checkbox input[type="checkbox"] {
  accent-color: var(--nc-gold, #d4a855);
  width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px;
}

/* Styled radio */
.nc-radio-group { display: flex; flex-wrap: wrap; gap: 10px; }
.nc-radio-option {
  display: flex; align-items: center; gap: 8px;
  padding: 9px 16px;
  border: 1.5px solid var(--nc-border, rgba(180,140,100,0.25));
  border-radius: var(--nc-radius, 6px);
  cursor: pointer; font-size: 13px;
  transition: border-color 0.2s, background 0.2s;
}
.nc-radio-option input[type="radio"] { accent-color: var(--nc-gold, #d4a855); }
.nc-radio-option:has(input:checked) {
  border-color: var(--brand-primary, #d4a855);
  background: var(--nc-gold-light, #f5e6c8);
}

/* ── 8. VARIANT SELECTOR (product detail) ────────────────────── */
.variant-group { margin-bottom: 18px; }
.variant-group-label {
  font-size: 11px; font-weight: 600; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--nc-muted, #8a7260); margin-bottom: 10px;
}
.variant-options { display: flex; flex-wrap: wrap; gap: 8px; }
.variant-btn {
  padding: 8px 16px; font-size: 12px; font-weight: 500;
  border: 1.5px solid var(--nc-border, rgba(180,140,100,0.25));
  border-radius: 4px; background: #fff; cursor: pointer;
  transition: all 0.18s; color: var(--nc-dark, #1a0a00);
  min-width: 44px; text-align: center;
}
.variant-btn:hover  { border-color: var(--brand-primary, #d4a855); }
.variant-btn.active {
  background: var(--nc-dark, #1a0a00);
  color: var(--nc-gold, #d4a855);
  border-color: var(--nc-dark, #1a0a00);
}
.variant-btn.unavailable {
  opacity: 0.38; cursor: not-allowed;
  text-decoration: line-through;
}

/* Swatch variant */
.swatch-btn {
  width: 30px; height: 30px; border-radius: 50%; padding: 0;
  border: 2px solid transparent;
  outline: 2px solid transparent; outline-offset: 2px;
}
.swatch-btn.active { border-color: var(--nc-dark, #1a0a00); outline-color: var(--nc-gold, #d4a855); }

/* ── 9. LOADING SPINNER ──────────────────────────────────────── */
.nc-spinner {
  display: inline-block;
  width: 22px; height: 22px;
  border: 2.5px solid rgba(212, 168, 85, 0.25);
  border-top-color: var(--brand-primary, #d4a855);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.nc-loading-overlay {
  position: fixed; inset: 0;
  background: rgba(26, 10, 0, 0.5);
  z-index: 8000;
  display: flex; align-items: center; justify-content: center;
}
.nc-loading-box {
  background: #fff; border-radius: 12px;
  padding: 32px 40px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.nc-loading-box p { font-size: 14px; color: var(--nc-muted, #8a7260); }

/* Page-level loader bar */
.nc-page-loader {
  position: fixed; top: 0; left: 0;
  height: 3px; width: 0;
  background: var(--brand-primary, #d4a855);
  z-index: 9999;
  transition: width 0.3s ease;
}

/* ── 10. ALERT / NOTICE BOXES ────────────────────────────────── */
.nc-alert {
  padding: 12px 18px; border-radius: var(--nc-radius, 6px);
  font-size: 13px; margin-bottom: 16px; display: flex; gap: 10px; align-items: flex-start;
}
.nc-alert-success { background: #f0fdf4; border: 1px solid #a3e6b6; color: #1a5e32; }
.nc-alert-error   { background: #fef2f2; border: 1px solid #fca5a5; color: #7f1d1d; }
.nc-alert-info    { background: #eff6ff; border: 1px solid #93c5fd; color: #1e3a5f; }
.nc-alert-warn    { background: #fffbeb; border: 1px solid #fcd34d; color: #78350f; }
.nc-alert i       { font-size: 16px; flex-shrink: 0; margin-top: 1px; }

/* ── 11. BADGES ──────────────────────────────────────────────── */
.nc-badge {
  display: inline-block; padding: 3px 10px; border-radius: 20px;
  font-size: 10px; font-weight: 700; letter-spacing: 0.8px; text-transform: uppercase;
}
.nc-badge-gold   { background: var(--nc-gold-light, #f5e6c8); color: var(--nc-dark2, #2d1200); }
.nc-badge-dark   { background: var(--nc-dark2, #2d1200); color: var(--nc-gold, #d4a855); }
.nc-badge-green  { background: #e8f5e9; color: #2e7d32; }
.nc-badge-red    { background: #fce4e4; color: #c62828; }
.nc-badge-blue   { background: #e3f2fd; color: #1565c0; }
.nc-badge-grey   { background: #f3f4f6; color: #6b7280; }

/* ── 12. SKELETON LOADER ─────────────────────────────────────── */
.nc-skeleton {
  background: linear-gradient(90deg, #f0ece6 25%, #e8e0d4 50%, #f0ece6 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.4s infinite;
  border-radius: var(--nc-radius, 6px);
}
@keyframes skeleton-shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position:  200% 0; }
}
.nc-skeleton-text  { height: 14px; margin-bottom: 8px; }
.nc-skeleton-image { width: 100%; aspect-ratio: 1; }
.nc-skeleton-title { height: 22px; width: 70%; }
.nc-skeleton-btn   { height: 40px; width: 120px; border-radius: 6px; }

/* ── 13. BREADCRUMB PAGE-SPECIFIC ────────────────────────────── */
.nc-breadcrumb-wrap {
  padding: 12px 0;
  border-bottom: 1px solid var(--nc-border, rgba(180,140,100,0.18));
  margin-bottom: 24px;
}
.nc-breadcrumb a { text-decoration: none; }
.nc-breadcrumb .nc-sep { margin: 0 4px; color: var(--nc-muted, #8a7260); }
.nc-breadcrumb .nc-active { color: var(--nc-dark, #1a0a00); font-weight: 500; }

/* ── 14. TABS ────────────────────────────────────────────────── */
.nc-tabs { display: flex; gap: 0; border-bottom: 2px solid var(--nc-border, rgba(180,140,100,0.18)); }
.nc-tab-btn {
  padding: 12px 20px; font-size: 13px; font-weight: 500;
  border: none; background: none; cursor: pointer;
  color: var(--nc-muted, #8a7260);
  border-bottom: 2px solid transparent; margin-bottom: -2px;
  transition: color 0.2s, border-color 0.2s;
}
.nc-tab-btn:hover  { color: var(--nc-dark2, #2d1200); }
.nc-tab-btn.active { color: var(--nc-dark2, #2d1200); border-bottom-color: var(--brand-primary, #d4a855); font-weight: 600; }
.nc-tab-panel      { display: none; padding: 24px 0; }
.nc-tab-panel.active { display: block; }

/* ── 15. MODAL / DIALOG ──────────────────────────────────────── */
.nc-modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 700; display: none; align-items: center; justify-content: center;
  backdrop-filter: blur(3px); padding: 20px;
}
.nc-modal-overlay.open { display: flex; }
.nc-modal {
  background: #fff; border-radius: 12px; width: 100%; max-width: 520px;
  max-height: 90vh; overflow-y: auto;
  box-shadow: 0 24px 64px rgba(0,0,0,0.2);
  animation: modalIn 0.22s ease;
}
@keyframes modalIn {
  from { opacity: 0; transform: scale(0.94); }
  to   { opacity: 1; transform: scale(1); }
}
.nc-modal-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 24px; border-bottom: 1px solid var(--nc-border, rgba(180,140,100,0.18));
}
.nc-modal-title { font-family: var(--nc-font-serif, serif); font-size: 20px; font-weight: 500; }
.nc-modal-close {
  background: none; border: none; font-size: 26px; line-height: 1;
  cursor: pointer; color: var(--nc-muted, #8a7260); padding: 0 4px;
  transition: color 0.15s;
}
.nc-modal-close:hover { color: var(--nc-dark, #1a0a00); }
.nc-modal-body   { padding: 24px; }
.nc-modal-footer { padding: 16px 24px; border-top: 1px solid var(--nc-border, rgba(180,140,100,0.18)); display: flex; justify-content: flex-end; gap: 12px; }

/* ── 16. QUANTITY — GLOBAL REUSABLE ──────────────────────────── */
.qty-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.qty-label { font-size: 11px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--nc-muted, #8a7260); }
.qty-ctrl {
  display: inline-flex; align-items: center;
  border: 1px solid var(--nc-border, rgba(180,140,100,0.25));
  border-radius: var(--nc-radius, 6px); overflow: hidden;
}
.qty-ctrl button {
  background: none; border: none; padding: 8px 14px;
  font-size: 18px; line-height: 1; cursor: pointer;
  color: var(--nc-dark, #1a0a00); transition: background 0.15s;
}
.qty-ctrl button:hover { background: var(--nc-cream, #faf7f2); }
.qty-ctrl input {
  width: 44px; text-align: center; border: none; outline: none;
  background: none; font-size: 14px; font-weight: 600; padding: 0;
}

/* ── 17. STICKY ADD-TO-CART BAR (mobile product detail) ──────── */
.nc-sticky-atc {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0;
  background: #fff; padding: 12px 16px;
  border-top: 1px solid var(--nc-border, rgba(180,140,100,0.18));
  z-index: 400;
  box-shadow: 0 -4px 16px rgba(0,0,0,0.1);
  gap: 12px; align-items: center;
}
.nc-sticky-atc-name  { font-size: 13px; font-weight: 600; flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nc-sticky-atc-price { font-size: 15px; font-weight: 700; flex-shrink: 0; }
.nc-sticky-atc-btn   { flex-shrink: 0; }

@media (max-width: 768px) {
  .nc-sticky-atc { display: flex; }
  /* Give product detail page enough bottom padding to avoid overlap */
  .nc-product-detail { padding-bottom: 80px; }
}

/* ── 18. WISHLIST BUTTON ─────────────────────────────────────── */
.nc-wishlist-btn {
  background: none; border: none; cursor: pointer;
  font-size: 20px; padding: 4px;
  color: var(--nc-muted, #8a7260);
  transition: color 0.2s, transform 0.2s;
  display: inline-flex; align-items: center; justify-content: center;
}
.nc-wishlist-btn:hover   { color: #e53e3e; transform: scale(1.15); }
.nc-wishlist-btn.active  { color: #e53e3e; }

/* ── 19. RATING STARS ────────────────────────────────────────── */
.nc-stars { display: inline-flex; gap: 2px; }
.nc-star  { font-size: 13px; color: #e5b300; }
.nc-star-empty { color: #d4c8b8; }
.nc-rating-count { font-size: 12px; color: var(--nc-muted, #8a7260); margin-left: 6px; }

/* ── 20. SEARCH BAR ──────────────────────────────────────────── */
.nc-search-bar {
  display: flex; align-items: center;
  border: 1px solid var(--nc-border, rgba(180,140,100,0.25));
  border-radius: var(--nc-radius, 6px); overflow: hidden;
  background: #fff;
}
.nc-search-input {
  flex: 1; padding: 10px 14px; font-size: 14px;
  border: none; outline: none; background: transparent;
  color: var(--nc-dark, #1a0a00);
}
.nc-search-btn {
  padding: 10px 16px; background: var(--nc-dark, #1a0a00);
  border: none; color: var(--nc-gold, #d4a855);
  font-size: 16px; cursor: pointer; transition: opacity 0.2s;
}
.nc-search-btn:hover { opacity: 0.85; }

/* Header search */
.nc-header-search { display: flex; align-items: center; flex: 1; max-width: 480px; margin: 0 16px; }

/* ── 21. COUPON INPUT ────────────────────────────────────────── */
.coupon-input-row {
  display: flex; gap: 0;
  border: 1px solid var(--nc-border, rgba(180,140,100,0.25));
  border-radius: var(--nc-radius, 6px); overflow: hidden; margin-bottom: 12px;
}
.coupon-input {
  flex: 1; padding: 11px 14px; font-size: 13px;
  border: none; outline: none; font-family: inherit; background: #fff;
}
.coupon-btn {
  padding: 0 18px; background: var(--nc-dark, #1a0a00);
  color: var(--nc-gold, #d4a855); border: none;
  font-size: 12px; font-weight: 700; letter-spacing: 1px;
  cursor: pointer; transition: opacity 0.2s;
}
.coupon-btn:hover { opacity: 0.85; }

/* ── 22. CART ICON BADGE ─────────────────────────────────────── */
.cart-icon-wrap {
  position: relative; display: inline-flex; cursor: pointer;
  text-decoration: none; color: #c9b08a;
  transition: color 0.2s;
}
.cart-icon-wrap:hover { color: var(--nc-gold, #d4a855); }
.cart-icon-wrap i { font-size: 20px; }
.cart-badge {
  position: absolute; top: -7px; right: -8px;
  background: var(--brand-primary, #d4a855);
  color: var(--nc-dark, #1a0a00);
  font-size: 9px; font-weight: 800; width: 18px; height: 18px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  line-height: 1;
}

/* ── 23. ADDRESS CARD (checkout / orders) ────────────────────── */
.nc-address-card {
  border: 1.5px solid var(--nc-border, rgba(180,140,100,0.25));
  border-radius: var(--nc-radius, 6px); padding: 16px;
  cursor: pointer; transition: border-color 0.2s, background 0.2s;
  font-size: 13px; line-height: 1.6;
}
.nc-address-card:hover,
.nc-address-card.selected {
  border-color: var(--brand-primary, #d4a855);
  background: var(--nc-gold-light, #f5e6c8);
}
.nc-address-card-name { font-weight: 600; margin-bottom: 4px; }

/* ── 24. PROGRESS STEPS (checkout flow) ─────────────────────── */
.nc-steps {
  display: flex; align-items: center; justify-content: center;
  gap: 0; margin-bottom: 36px; flex-wrap: wrap;
}
.nc-step {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; letter-spacing: 0.5px; color: var(--nc-muted, #8a7260);
}
.nc-step.active   { color: var(--nc-dark, #1a0a00); font-weight: 600; }
.nc-step.complete { color: #2e7d32; }
.nc-step-dot {
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--nc-cream, #faf7f2);
  border: 2px solid var(--nc-border, rgba(180,140,100,0.25));
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; flex-shrink: 0;
}
.nc-step.active   .nc-step-dot { background: var(--brand-primary, #d4a855); border-color: var(--brand-primary, #d4a855); color: var(--nc-dark, #1a0a00); }
.nc-step.complete .nc-step-dot { background: #2e7d32; border-color: #2e7d32; color: #fff; }
.nc-step-line {
  height: 2px; width: 40px; flex-shrink: 0;
  background: var(--nc-border, rgba(180,140,100,0.25));
  margin: 0 4px;
}
.nc-step.complete + .nc-step .nc-step-line { background: #2e7d32; }

/* ── 25. BACK-TO-TOP BUTTON ──────────────────────────────────── */
#backToTop {
  position: fixed; bottom: 88px; right: 24px; z-index: 500;
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(26, 10, 0, 0.7);
  color: var(--nc-gold, #d4a855); border: none;
  font-size: 20px; cursor: pointer;
  display: none; /* shown via JS */ align-items: center; justify-content: center;
  box-shadow: 0 4px 14px rgba(0,0,0,0.25);
  transition: background 0.2s, transform 0.2s;
}
#backToTop.visible { display: flex; }
#backToTop:hover   { background: var(--nc-dark, #1a0a00); transform: translateY(-2px); }

@media (max-width: 480px) {
  #backToTop { width: 36px; height: 36px; font-size: 17px; bottom: 80px; right: 12px; }
}

/* ── 26. SHARE BUTTONS ───────────────────────────────────────── */
.nc-share-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.nc-share-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 14px; font-size: 12px; font-weight: 600; letter-spacing: 0.5px;
  border-radius: var(--nc-radius, 6px); border: none; cursor: pointer; text-decoration: none;
  transition: opacity 0.2s;
}
.nc-share-btn:hover { opacity: 0.82; }
.nc-share-wa   { background: #25D366; color: #fff; }
.nc-share-copy { background: var(--nc-cream, #faf7f2); color: var(--nc-dark, #1a0a00); border: 1px solid var(--nc-border, rgba(180,140,100,0.25)); }

/* ── 27. BACK LINK ───────────────────────────────────────────── */
.nc-back-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; color: var(--nc-muted, #8a7260);
  text-decoration: none; letter-spacing: 0.5px;
  transition: color 0.2s;
}
.nc-back-link:hover { color: var(--nc-gold, #d4a855); }

/* ── 28. SECTION DIVIDER ─────────────────────────────────────── */
.nc-section-divider {
  border: none;
  border-top: 1px solid var(--nc-border, rgba(180,140,100,0.2));
  margin: 48px 0;
}

/* ── 29. RECENTLY VIEWED ─────────────────────────────────────── */
.nc-recently-viewed { padding: 48px 0; background: var(--nc-cream, #faf7f2); }

/* ── 30. RELATED PRODUCTS SECTION ───────────────────────────── */
.nc-related-section { padding: 52px 0; }

/* ── 31. CART DRAWER (Slide-in) ──────────────────────────────── */
.nc-cart-drawer {
  position: fixed; top: 0; right: -420px;
  width: min(420px, 92vw); height: 100vh;
  background: #fff; z-index: 750;
  display: flex; flex-direction: column;
  box-shadow: -6px 0 40px rgba(0,0,0,0.18);
  transition: right 0.3s cubic-bezier(.4,0,.2,1);
}
.nc-cart-drawer.open { right: 0; }
.nc-cart-drawer-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.45);
  z-index: 749; display: none; backdrop-filter: blur(2px);
}
.nc-cart-drawer-overlay.active { display: block; }
.nc-cart-drawer-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 20px; border-bottom: 1px solid var(--nc-border, rgba(180,140,100,0.18));
  flex-shrink: 0;
}
.nc-cart-drawer-title { font-family: var(--nc-font-serif, serif); font-size: 20px; }
.nc-cart-drawer-close { background: none; border: none; font-size: 26px; cursor: pointer; color: var(--nc-muted, #8a7260); }
.nc-cart-drawer-body  { flex: 1; overflow-y: auto; padding: 16px 20px; -webkit-overflow-scrolling: touch; }
.nc-cart-drawer-footer { padding: 16px 20px; border-top: 1px solid var(--nc-border, rgba(180,140,100,0.18)); flex-shrink: 0; }

/* ── 32. SORT SELECT ─────────────────────────────────────────── */
.nc-sort-select {
  padding: 9px 32px 9px 14px;
  border: 1px solid var(--nc-border, rgba(180,140,100,0.25));
  border-radius: var(--nc-radius, 6px); font-size: 13px; background: #fff;
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238a7260' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 10px center;
  cursor: pointer; outline: none; color: var(--nc-dark, #1a0a00);
}
.nc-sort-select:focus { border-color: var(--brand-primary, #d4a855); }

/* ── 33. PINCODE / AVAILABILITY CHECK ───────────────────────── */
.nc-pin-row {
  display: flex; gap: 0; max-width: 300px;
  border: 1px solid var(--nc-border, rgba(180,140,100,0.25));
  border-radius: var(--nc-radius, 6px); overflow: hidden; margin-bottom: 8px;
}
.nc-pin-input {
  flex: 1; padding: 9px 14px; font-size: 14px;
  border: none; outline: none; background: #fff;
}
.nc-pin-btn {
  padding: 0 16px; background: var(--nc-dark, #1a0a00);
  color: var(--nc-gold, #d4a855); border: none;
  font-size: 12px; font-weight: 700; cursor: pointer;
  letter-spacing: 0.5px; transition: opacity 0.2s;
}
.nc-pin-btn:hover { opacity: 0.85; }
.nc-pin-result { font-size: 12px; color: var(--nc-muted, #8a7260); }
.nc-pin-ok   { color: #2e7d32; font-weight: 500; }
.nc-pin-fail { color: #c62828; font-weight: 500; }

/* ── 34. FOOTER QUICK-ACCESS MOBILE BOTTOM NAV ──────────────── */
.nc-bottom-nav {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 300;
  background: var(--nc-dark, #1a0a00);
  border-top: 1px solid rgba(212,168,85,0.15);
  height: 56px;
}
.nc-bottom-nav-inner {
  display: flex; height: 100%; align-items: stretch;
}
.nc-bottom-nav-item {
  flex: 1; display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 3px; text-decoration: none;
  color: rgba(201,176,138,0.7); font-size: 9px; letter-spacing: 0.5px;
  transition: color 0.2s; cursor: pointer; background: none; border: none;
}
.nc-bottom-nav-item:hover,
.nc-bottom-nav-item.active { color: var(--nc-gold, #d4a855); }
.nc-bottom-nav-item i { font-size: 20px; }
@media (max-width: 640px) {
  .nc-bottom-nav { display: flex; }
  /* Push page content above bottom nav */
  body { padding-bottom: 56px; }
  .whatsapp-float { bottom: 72px; }
  #backToTop { bottom: 72px; }
}

/* ── Bottom nav account dropdown — opens upward ─────────────── */
.nc-bottom-nav .user-menu { position: static; }
.nc-bottom-nav .user-dropdown {
  position: fixed;
  bottom: 56px;
  right: 0;
  left: auto;
  top: auto;
  min-width: 200px;
  max-width: 280px;
  z-index: 9999;
  padding-top: 0;
  padding-bottom: 6px;
}
.nc-bottom-nav .user-dropdown-inner {
  border-radius: 12px 12px 0 0;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.18);
  animation: fadeUp 0.18s ease;
}
.nc-bottom-nav .user-menu .user-dropdown { display: none; flex-direction: column; }
.nc-bottom-nav .user-menu.open .user-dropdown { display: flex; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── 35. MISC GLOBAL FIXES ───────────────────────────────────── */
/* Fix Razor/Bootstrap conflicts */
.row { margin: 0; }
.container, .container-fluid { padding: 0; }

/* Prevent content flash */
[x-cloak] { display: none !important; }

/* Smooth transitions across interactive elements */
a, button { transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease; }

/* Prevent layout shift on img load */
img:not([width]) { max-width: 100%; }

/* Remove default list styles globally for nav */
nav ul, nav ol { list-style: none; margin: 0; padding: 0; }

/* Overflow protection for long product names */
.pch-name,
.nc-product-name,
.nc-cart-item-name { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Disable outline on mouse clicks, keep it for keyboard navigation */
:focus:not(:focus-visible) { outline: none; }
:focus-visible { outline: 2px solid var(--brand-primary, #d4a855); outline-offset: 2px; }


/* ══════════════════════════════════════════════════════════════════
   PRODUCT DETAIL PAGE
   ══════════════════════════════════════════════════════════════════ */

/* ── Layout ── */
.nc-product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    padding: 1.75rem 0 4rem;
    align-items: flex-start;
}

/* ── Images ── */
.nc-main-img-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    background: var(--nc-card, #f7f5f1);
}
.nc-main-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}
.nc-detail-sold-overlay {
    position: absolute;
    inset: 0;
    background: rgba(26,26,24,.45);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .2em;
    pointer-events: none;
}
.nc-thumb-row {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    flex-wrap: wrap;
}
.nc-thumb {
    width: 64px;
    height: 80px;
    object-fit: cover;
    object-position: center top;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color .2s;
}
.nc-thumb.active,
.nc-thumb:hover { border-color: var(--nc-gold, #d4a855); }

/* ── Info panel ── */
.nc-product-detail-info {
    display: flex;
    flex-direction: column;
}
.nc-product-badge-lg {
    display: inline-block;
    background: var(--nc-ink, #1a1a18);
    color: #fff;
    font-size: 9.5px;
    font-weight: 500;
    letter-spacing: .14em;
    text-transform: uppercase;
    padding: 3px 10px;
    margin-bottom: 12px;
}
.nc-detail-title {
    font-family: var(--nc-font-disp, 'Cormorant Garamond', serif);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 500;
    color: var(--nc-ink, #1a1a18);
    margin: 0 0 6px;
    line-height: 1.2;
}
.nc-detail-category {
    font-size: 11.5px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--nc-ink-faint, #a8a89f);
    margin-bottom: 18px;
}

/* ── Price ── */
.nc-detail-price {
    display: flex;
    align-items: baseline;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}
.nc-price-lg {
    font-family: var(--nc-font-disp, serif);
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--nc-ink, #1a1a18);
}
.nc-price-original-lg {
    font-size: 1rem;
    color: var(--nc-ink-faint, #a8a89f);
    text-decoration: line-through;
}
.nc-save-badge {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .08em;
    background: rgba(58,122,82,.1);
    color: #2e7d32;
    padding: 3px 8px;
}

/* ── Availability ── */
.nc-detail-availability {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 18px;
}
.nc-avail-instock  { color: #2e7d32; }
.nc-avail-prebook  { color: var(--nc-accent, #b5864a); }
.nc-avail-soldout  { color: #9b3a2f; }
.nc-avail-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
}

/* ── Description ── */
.nc-detail-desc {
    font-size: 13.5px;
    line-height: 1.7;
    color: var(--nc-ink-soft, #6b6b66);
    margin-bottom: 18px;
}

/* ── Meta attributes ── */
.nc-detail-meta {
    border-top: 1px solid var(--nc-border-soft, #f0ece5);
    border-bottom: 1px solid var(--nc-border-soft, #f0ece5);
    margin-bottom: 22px;
}
.nc-meta-row {
    display: flex;
    gap: 1rem;
    padding: .6rem 0;
    border-bottom: 1px solid var(--nc-border-soft, #f0ece5);
    align-items: baseline;
}
.nc-meta-row:last-child { border-bottom: none; }
.nc-meta-key {
    font-size: 11px;
    color: var(--nc-ink-faint, #a8a89f);
    letter-spacing: .08em;
    text-transform: uppercase;
    min-width: 80px;
    flex-shrink: 0;
}
.nc-meta-val {
    font-size: 13px;
    color: var(--nc-ink, #1a1a18);
    font-weight: 500;
}

/* ── Quantity ── */
.nc-qty-row {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}
.nc-qty-row label {
    font-size: 11.5px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--nc-ink-soft, #6b6b66);
}
.nc-qty-ctrl {
    display: flex;
    align-items: center;
    border: 1px solid var(--nc-border, #e8e4dd);
}
.nc-qty-ctrl button {
    width: 36px;
    height: 36px;
    background: transparent;
    border: none;
    font-size: 18px;
    font-weight: 300;
    cursor: pointer;
    color: var(--nc-ink, #1a1a18);
    transition: background .2s;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}
.nc-qty-ctrl button:hover { background: var(--nc-surface, #faf9f7); }
.nc-qty-ctrl input[type="number"] {
    width: 52px;
    height: 36px;
    border: none;
    border-left: 1px solid var(--nc-border, #e8e4dd);
    border-right: 1px solid var(--nc-border, #e8e4dd);
    text-align: center;
    font-size: 14px;
    font-family: var(--nc-font-body, sans-serif);
    color: var(--nc-ink, #1a1a18);
    -moz-appearance: textfield;
    outline: none;
}
.nc-qty-ctrl input[type="number"]::-webkit-outer-spin-button,
.nc-qty-ctrl input[type="number"]::-webkit-inner-spin-button { -webkit-appearance: none; }

/* ── Buttons ── */
.nc-btn-full {
    width: 100%;
    display: block;
    text-align: center;
    padding: 13px;
    font-size: 11.5px;
    font-weight: 500;
    letter-spacing: .14em;
    cursor: pointer;
    border: none;
    transition: background .24s, opacity .24s;
}
.nc-btn-full:disabled {
    opacity: .5;
    cursor: not-allowed;
}
.nc-btn-outline {
    background: transparent;
    border: 1px solid var(--nc-border, #e8e4dd);
    color: var(--nc-ink-soft, #6b6b66);
    text-decoration: none;
    margin-top: 10px;
}
.nc-btn-outline:hover { border-color: var(--nc-ink, #1a1a18); color: var(--nc-ink, #1a1a18); }

/* ── Not-found state ── */
.nc-not-found {
    padding: 4rem 0;
    text-align: center;
}
.nc-not-found p {
    font-size: 1.1rem;
    color: var(--nc-muted, #6b6b66);
}
.nc-not-found .nc-btn-gold {
    margin-top: 1.5rem;
    display: inline-block;
}

/* ── Product detail breadcrumb padding ── */
.nc-breadcrumb--detail { padding-top: 1.25rem; }

/* ── Responsive ── */
@media (max-width: 900px) {
    .nc-product-detail { grid-template-columns: 1fr; gap: 1.5rem; padding-bottom: 3rem; }
}
@media (max-width: 480px) {
    .nc-detail-title { font-size: 1.35rem; }
    .nc-price-lg { font-size: 1.4rem; }
    .nc-btn-full { padding: 11px; font-size: 11px; }
}


/* ══════════════════════════════════════════════════════════════════
   ACCOUNT PAGES  (Profile, Orders, Order Detail)
   ══════════════════════════════════════════════════════════════════ */

/* ── Layout ── */
.nc-account-wrap {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 2rem;
    padding: 2rem 0 4rem;
    align-items: flex-start;
}
.nc-account-main { min-width: 0; }

/* ── Sidebar ── */
.nc-account-sidebar {
    background: var(--nc-white, #fff);
    border: 1px solid var(--nc-border, #e8e4dd);
    padding: 1.5rem 1.25rem;
    position: sticky;
    top: 80px;
}
.nc-account-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--nc-gold, #d4a855);
    color: #fff;
    font-size: 22px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: .6rem;
}
.nc-account-name {
    font-family: var(--nc-font-disp, serif);
    font-size: 15px;
    font-weight: 500;
    color: var(--nc-ink, #1a1a18);
    margin-bottom: 1rem;
}
.nc-account-nav { display: flex; flex-direction: column; gap: 2px; }
.nc-account-nav a {
    display: block;
    padding: .55rem .75rem;
    font-size: 13px;
    color: var(--nc-ink-soft, #6b6b66);
    text-decoration: none;
    border-radius: 4px;
    transition: background .2s, color .2s;
}
.nc-account-nav a:hover,
.nc-account-nav a.active {
    background: var(--nc-surface, #faf9f7);
    color: var(--nc-ink, #1a1a18);
    font-weight: 500;
}

/* ── Headings ── */
.nc-account-heading {
    font-family: var(--nc-font-disp, serif);
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 1.25rem;
    color: var(--nc-ink, #1a1a18);
}

/* ── Profile card ── */
.nc-profile-card {
    border: 1px solid var(--nc-border, #e8e4dd);
    background: #fff;
    margin-bottom: 1.5rem;
}
.nc-profile-row {
    display: flex;
    gap: 1rem;
    padding: .9rem 1.1rem;
    border-bottom: 1px solid var(--nc-border-soft, #f0ece5);
    align-items: baseline;
}
.nc-profile-row:last-child { border-bottom: none; }
.nc-profile-label {
    font-size: 11px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--nc-ink-faint, #a8a89f);
    min-width: 110px;
    flex-shrink: 0;
}
.nc-profile-value { font-size: 14px; color: var(--nc-ink, #1a1a18); }
.nc-mono         { font-family: monospace; font-size: 13px; }
.nc-profile-actions { margin-top: .5rem; }

/* ── Empty state ── */
.nc-empty-state-icon { font-size: 3rem; margin-bottom: .75rem; }
.nc-empty-state-title {
    font-family: var(--nc-font-disp, serif);
    font-size: 1.2rem;
    font-style: italic;
    color: var(--nc-ink-soft, #6b6b66);
    margin-bottom: .4rem;
}
.nc-empty-state-sub {
    font-size: 13px;
    color: var(--nc-ink-faint, #a8a89f);
    margin-bottom: 1.5rem;
}

/* ── Orders list ── */
.nc-orders-list   { display: flex; flex-direction: column; gap: 1rem; }
.nc-order-card    { border: 1px solid var(--nc-border, #e8e4dd); background: #fff; }
.nc-order-header  {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: .85rem 1.1rem;
    border-bottom: 1px solid var(--nc-border-soft, #f0ece5);
    flex-wrap: wrap;
    gap: .5rem;
}
.nc-order-header-left { display: flex; flex-direction: column; gap: 3px; }
.nc-order-number { font-family: monospace; font-size: 13px; font-weight: 600; color: var(--nc-ink, #1a1a18); }
.nc-order-date   { font-size: 11.5px; color: var(--nc-ink-faint, #a8a89f); }
.nc-order-badges { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }

/* ── Status pills ── */
.nc-status-pill,
.nc-payment-pill {
    font-size: 10.5px;
    font-weight: 500;
    letter-spacing: .07em;
    padding: 3px 9px;
    border-radius: 2px;
    text-transform: capitalize;
}
.nc-status-pending,
.nc-pay-pending         { background: #fff8e1; color: #b26a00; }
.nc-status-paymentreceived,
.nc-pay-paid,
.nc-pay-completed,
.nc-pay-received        { background: #e8f5e9; color: #2e7d32; }
.nc-status-accepted     { background: #e8f5e9; color: #2e7d32; }
.nc-status-dispatched,
.nc-status-shipped      { background: #e3f2fd; color: #1565c0; }
.nc-status-delivered    { background: #e8f5e9; color: #1b5e20; }
.nc-status-cancelled,
.nc-pay-failed,
.nc-pay-refunded        { background: #ffebee; color: #c62828; }
.nc-status-on-hold,
.nc-status-onhold       { background: #f3e5f5; color: #6a1b9a; }
.nc-status-returned     { background: #efebe9; color: #4e342e; }

/* ── Order items ── */
.nc-order-items {
    padding: .75rem 1.1rem;
    border-bottom: 1px solid var(--nc-border-soft, #f0ece5);
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.nc-order-item {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: .5rem;
}
.nc-order-item-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    min-width: 0;
}
.nc-order-item-name  { font-size: 13.5px; color: var(--nc-ink, #1a1a18); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nc-order-item-attrs { font-size: 11px; color: var(--nc-ink-faint, #a8a89f); }
.nc-order-item-right { display: flex; gap: 12px; align-items: baseline; flex-shrink: 0; }
.nc-order-item-qty   { font-size: 12px; color: var(--nc-ink-soft, #6b6b66); }
.nc-order-item-price { font-size: 13.5px; font-weight: 500; color: var(--nc-ink, #1a1a18); }

/* ── Order footer ── */
.nc-order-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: .75rem 1.1rem;
    flex-wrap: wrap;
    gap: .5rem;
}
.nc-order-address      { font-size: 11.5px; color: var(--nc-ink-soft, #6b6b66); }
.nc-order-footer-right { display: flex; align-items: center; gap: 14px; }
.nc-order-total        { font-size: 13.5px; color: var(--nc-ink, #1a1a18); }
.nc-btn-order-detail   {
    font-size: 11.5px;
    letter-spacing: .08em;
    color: var(--nc-gold, #d4a855);
    text-decoration: none;
    font-weight: 500;
}
.nc-btn-order-detail:hover { text-decoration: underline; }
.nc-error-banner {
    background: #ffebee;
    color: #c62828;
    padding: .75rem 1rem;
    font-size: 13px;
    margin-bottom: 1rem;
    border-left: 3px solid #c62828;
}

/* ── Order Detail page ── */
.nc-od-header-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
}
.nc-od-back { font-size: 12.5px; color: var(--nc-ink-soft, #6b6b66); text-decoration: none; }
.nc-od-back:hover { color: var(--nc-ink, #1a1a18); }
.nc-od-status-strip {
    display: flex;
    gap: 1.5rem;
    padding: .85rem 1.1rem;
    border: 1px solid var(--nc-border, #e8e4dd);
    background: #fff;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}
.nc-od-status-item { display: flex; flex-direction: column; gap: 5px; }
.nc-od-label {
    font-size: 10px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--nc-ink-faint, #a8a89f);
}
.nc-od-value { font-size: 13px; color: var(--nc-ink, #1a1a18); }
.nc-od-section {
    border: 1px solid var(--nc-border, #e8e4dd);
    background: #fff;
    margin-bottom: 1rem;
}
.nc-od-section-title {
    font-size: 10.5px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--nc-ink-soft, #6b6b66);
    padding: .7rem 1.1rem;
    border-bottom: 1px solid var(--nc-border-soft, #f0ece5);
    margin: 0;
    font-weight: 500;
}
.nc-od-items { padding: .75rem 1.1rem; display: flex; flex-direction: column; gap: 12px; }
.nc-od-item  { display: flex; gap: 12px; align-items: flex-start; }
.nc-od-item-img {
    width: 56px;
    height: 74px;
    flex-shrink: 0;
    background: var(--nc-card, #f7f5f1);
    overflow: hidden;
}
.nc-od-item-img img { width: 100%; height: 100%; object-fit: cover; }
.nc-od-item-info  { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.nc-od-item-name  { font-size: 13.5px; color: var(--nc-ink, #1a1a18); font-weight: 500; }
.nc-od-item-attr  { font-size: 11px; color: var(--nc-ink-faint, #a8a89f); }
.nc-od-item-qty   { font-size: 12px; color: var(--nc-ink-soft, #6b6b66); }
.nc-od-item-price {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 3px;
    flex-shrink: 0;
}
.nc-od-item-price span:first-child { font-size: 14px; font-weight: 600; color: var(--nc-ink, #1a1a18); }
.nc-od-unit-price { font-size: 11px; color: var(--nc-ink-faint, #a8a89f); }
.nc-od-summary { padding: .75rem 1.1rem; display: flex; flex-direction: column; gap: 8px; }
.nc-od-summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: var(--nc-ink-soft, #6b6b66);
}
.nc-od-summary-total {
    font-weight: 600;
    font-size: 14.5px;
    color: var(--nc-ink, #1a1a18);
    padding-top: 8px;
    border-top: 1px solid var(--nc-border-soft, #f0ece5);
}
.nc-od-address-card { padding: .85rem 1.1rem; }
.nc-od-addr-name { font-size: 14px; font-weight: 500; color: var(--nc-ink, #1a1a18); margin-bottom: 5px; }
.nc-od-addr-line { font-size: 13px; color: var(--nc-ink-soft, #6b6b66); margin-bottom: 3px; }

/* ── Responsive — Account ── */
@media (max-width: 768px) {
    .nc-account-wrap        { grid-template-columns: 1fr; gap: 1rem; padding: 1rem 0 3rem; }
    .nc-account-sidebar     { position: static; }
    .nc-account-nav         { flex-direction: row; flex-wrap: wrap; }
    .nc-order-footer        { flex-direction: column; align-items: flex-start; }
    .nc-od-header-row       { flex-direction: column; align-items: flex-start; gap: .5rem; }
    .nc-od-status-strip     { flex-direction: column; gap: 1rem; }
}


/* ══════════════════════════════════════════════════════════════
   PRODUCT DETAIL — thumbnail column + variant chips (additions)
   ══════════════════════════════════════════════════════════════ */

/* ── Image panel: thumbnail column LEFT, main image RIGHT ── */
.nc-product-detail-img {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

/* Vertical thumbnail column */
.nc-thumb-col {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 64px;
    flex-shrink: 0;
    max-height: 520px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--nc-border, #e8e4dd) transparent;
}
.nc-thumb-col::-webkit-scrollbar { width: 3px; }
.nc-thumb-col::-webkit-scrollbar-thumb { background: var(--nc-border, #e8e4dd); }

.nc-thumb {
    width: 64px;
    height: 80px;
    object-fit: cover;
    object-position: center top;
    cursor: pointer;
    border: 2px solid transparent;
    flex-shrink: 0;
    transition: border-color .2s;
    display: block;
}
.nc-thumb.active,
.nc-thumb:hover { border-color: var(--nc-gold, #d4a855); }

/* Main image fills remaining space */
.nc-main-img-wrap {
    flex: 1;
    min-width: 0;
}

/* ── Low stock warning ── */
.nc-low-stock {
    font-size: 11.5px;
    color: #c62828;
    font-weight: 500;
    letter-spacing: .04em;
}

/* ── Variant picker ── */
.nc-variant-section { margin-bottom: 18px; }
.nc-variant-label {
    font-size: 11px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--nc-ink-soft, #6b6b66);
    margin-bottom: 8px;
}
.nc-variant-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.nc-variant-chip {
    border: 1px solid var(--nc-border, #e8e4dd);
    background: var(--nc-white, #fff);
    padding: 6px 14px;
    font-size: 12.5px;
    font-family: var(--nc-font-body, sans-serif);
    color: var(--nc-ink-soft, #6b6b66);
    cursor: pointer;
    transition: border-color .2s, color .2s, background .2s;
    border-radius: 0;
    position: relative;
}
.nc-variant-chip:hover:not(.soldout) {
    border-color: var(--nc-gold, #d4a855);
    color: var(--nc-ink, #1a1a18);
}
.nc-variant-chip.active {
    border-color: var(--nc-ink, #1a1a18);
    color: var(--nc-ink, #1a1a18);
    background: var(--nc-surface, #faf9f7);
    font-weight: 500;
}
.nc-variant-chip.soldout {
    opacity: .45;
    cursor: not-allowed;
    text-decoration: line-through;
}
.nc-chip-sold {
    font-size: 9px;
    margin-left: 4px;
    color: var(--nc-red, #9b3a2f);
}
/* Inline color dot inside text chips (mixed attributes) */
.nc-chip-color-dot {
    display: inline-block;
    width: 12px; height: 12px;
    border-radius: 50%;
    border: 1.5px solid rgba(0,0,0,0.15);
    vertical-align: middle;
    margin-right: 6px;
    flex-shrink: 0;
}
/* Color-only swatch buttons */
.nc-color-swatches {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.nc-variant-selected-label {
    font-weight: 500;
    color: var(--nc-ink, #1a1a18);
    text-transform: none;
    letter-spacing: 0;
    margin-left: 2px;
}
.nc-swatch-btn {
    position: relative;
    width: 36px; height: 36px;
    border-radius: 50%;
    border: 2px solid transparent;
    background: none;
    padding: 0;
    cursor: pointer;
    transition: border-color .18s, transform .15s;
    display: flex; align-items: center; justify-content: center;
}
.nc-swatch-btn:hover:not(.soldout) {
    border-color: var(--nc-gold, #d4a855);
    transform: scale(1.1);
}
.nc-swatch-btn.active {
    border-color: var(--nc-ink, #1a1a18);
    box-shadow: 0 0 0 3px rgba(255,255,255,1), 0 0 0 5px var(--nc-ink, #1a1a18);
}
.nc-swatch-btn.soldout { opacity: .4; cursor: not-allowed; }
.nc-swatch-circle {
    width: 26px; height: 26px;
    border-radius: 50%;
    display: block;
    border: 1.5px solid rgba(0,0,0,0.12);
}
.nc-swatch-cross {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%,-50%);
    font-size: 10px;
    color: rgba(0,0,0,0.5);
    pointer-events: none;
}

/* ── Responsive ── */
@media (max-width: 600px) {
    .nc-product-detail-img { flex-direction: column-reverse; }
    .nc-thumb-col {
        flex-direction: row;
        width: 100%;
        max-height: none;
        overflow-x: auto;
        overflow-y: hidden;
    }
    .nc-thumb { width: 56px; height: 70px; flex-shrink: 0; }
}


/* ══════════════════════════════════════════════════════════════
   PRODUCT DETAIL — image zoom lens (Amazon-style)
   ══════════════════════════════════════════════════════════════ */
.nc-main-img-wrap { cursor: crosshair; }

/* Magnifier lens overlay shown on hover */
.nc-zoom-lens {
    display: none;
    position: absolute;
    border: 2px solid var(--nc-gold, #d4a855);
    background: rgba(212,168,85,.15);
    pointer-events: none;
    z-index: 10;
}

/* Zoom result panel — positioned relative to nc-product-detail-img (which has position:relative)
   NOT relative to nc-main-img-wrap which has overflow:hidden (would clip it) */
.nc-product-detail-img { position: relative; }

.nc-zoom-result {
    display: none;
    position: absolute;
    top: 0;
    /* sits to the right of the thumbnail col + main image */
    left: calc(100% + 16px);
    width: 380px;
    height: 380px;
    border: 1px solid var(--nc-border, #e8e4dd);
    background-color: var(--nc-white, #fff);
    background-repeat: no-repeat;
    z-index: 100;
    pointer-events: none;
    box-shadow: 0 8px 32px rgba(26,26,24,.14);
}

/* Stacked layout (Products/Detail): main image on top, thumbnail strip below.
   Collections/ProductDetails keeps the default row layout (thumb column left). */
.nc-product-detail-img.nc-detail-stacked { flex-direction: column; }
.nc-detail-stacked .nc-main-img-wrap { flex: none; width: 100%; }

/* Magnifier cursor on the detail main image (both layouts) */
.nc-main-img-wrap { cursor: zoom-in; }
.nc-main-img-wrap img { transition: none; }

/* On narrow screens, disable the hover magnifier (touch can't hover);
   tapping opens the fullscreen lightbox instead. */
@media (max-width: 1100px) {
    .nc-zoom-result { display: none !important; }
    .nc-zoom-lens   { display: none !important; }
    .nc-main-img-wrap { cursor: zoom-in; }
}

/* ── Fullscreen image lightbox (all screen sizes, tap/click to open) ── */
.nc-img-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0, 0, 0, .9);
    align-items: center;
    justify-content: center;
    padding: 24px;
    cursor: zoom-out;
}
.nc-img-lightbox.open { display: flex; }
.nc-img-lightbox img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 12px 48px rgba(0, 0, 0, .5);
    touch-action: pinch-zoom;   /* let mobile pinch-zoom the image */
}
.nc-img-lightbox-close {
    position: absolute;
    top: 16px; right: 20px;
    width: 42px; height: 42px;
    border: none; border-radius: 50%;
    background: rgba(255, 255, 255, .15);
    color: #fff; font-size: 1.4rem; line-height: 1;
    cursor: pointer;
}
.nc-img-lightbox-close:hover { background: rgba(255, 255, 255, .3); }

/* ══════════════════════════════════════════════════════════════
   CART PAGE
   ══════════════════════════════════════════════════════════════ */

/* Guest banner */
.nc-guest-banner {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #fff8ee;
    border: 1px solid var(--nc-gold, #d4a855);
    padding: 14px 18px;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}
.nc-guest-icon { font-size: 1.4rem; flex-shrink: 0; }
.nc-guest-text {
    flex: 1;
    min-width: 180px;
    font-size: 13.5px;
    color: var(--nc-ink-soft, #6b6b66);
}
.nc-guest-text strong { color: var(--nc-ink, #1a1a18); }
.nc-guest-actions { display: flex; gap: 8px; flex-shrink: 0; }

/* Small button variants */
.nc-btn-sm { padding: 6px 16px; font-size: 11.5px; letter-spacing: .08em; }

/* Checkout CTA */
.nc-btn-checkout {
    display: block;
    text-align: center;
    margin-top: 1.25rem;
    padding: 13px;
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: .12em;
}

/* GST note — below checkout button, not overlapping */
.nc-gst-note {
    font-size: 11.5px;
    color: var(--nc-ink-faint, #a8a89f);
    margin: 8px 0 0;
    text-align: center;
}


/* ══════════════════════════════════════════════════════════════
   CART ITEM — price with MRP strikethrough
   ══════════════════════════════════════════════════════════════ */
.nc-cart-item-price-row {
    display: flex;
    align-items: baseline;
    gap: 7px;
    flex-wrap: wrap;
    margin-top: 4px;
}
.nc-cart-item-price {
    font-family: var(--nc-font-disp, serif);
    font-size: 15px;
    font-weight: 600;
    color: var(--nc-ink, #1a1a18);
}
.nc-cart-item-mrp {
    font-size: 12px;
    color: var(--nc-ink-faint, #a8a89f);
    text-decoration: line-through;
}
.nc-cart-item-save {
    font-size: 10px;
    font-weight: 500;
    color: #2e7d32;
    background: rgba(58,122,82,.08);
    padding: 1px 5px;
}
.nc-cart-item-attrs {
    font-size: 11.5px;
    color: var(--nc-ink-faint, #a8a89f);
    margin-top: 2px;
}
.nc-cart-item-img-link { display: block; flex-shrink: 0; }
.nc-qty-remove { color: var(--nc-red, #9b3a2f); }

/* ══════════════════════════════════════════════════════════════
   COLLECTION PAGE — variant count + price range
   ══════════════════════════════════════════════════════════════ */
.nc-variant-count {
    font-size: 11px;
    color: var(--nc-ink-faint, #a8a89f);
    margin-top: 3px;
    letter-spacing: .04em;
}

/* ══════════════════════════════════════════════════════════════
   CHECKOUT — COD advance notice
   ══════════════════════════════════════════════════════════════ */
.nc-cod-advance-notice {
    margin-top: 6px;
    padding: 6px 10px;
    background: #fff8e1;
    border-left: 3px solid #f59e0b;
    border-radius: 0 4px 4px 0;
    font-size: 12px;
    color: #b26a00;
    font-weight: 500;
}
