html {
  font-size: 14px;
  max-width: 100%;
  overflow-x: clip;
}

body {
  max-width: 100%;
  overflow-x: clip;
}

/* Product carousel nav — logical insets (RTL/LTR safe) */
.product-slider-wrapper {
  max-width: 100%;
}
.product-slider-wrapper .product-slider-container {
  max-width: 100%;
}
.product-slider-item {
  width: min(280px, 78vw);
  max-width: 100%;
}
.nova-slider-nav {
  inset-inline-start: auto;
  inset-inline-end: auto;
}
.nova-slider-nav--prev {
  inset-inline-start: -10px !important;
  left: auto !important;
  right: auto !important;
}
.nova-slider-nav--next {
  inset-inline-end: -10px !important;
  left: auto !important;
  right: auto !important;
}
@media (max-width: 767.98px) {
  .nova-slider-nav--prev { inset-inline-start: 2px !important; }
  .nova-slider-nav--next { inset-inline-end: 2px !important; }
}

/* Account / profile menus — force readable RTL layout for Arabic storefront */
html[dir="rtl"] .nova-account-menu,
html[dir="rtl"] .nova-notif-menu {
  text-align: right !important;
  direction: rtl;
}
html[dir="rtl"] .nova-account-menu .dropdown-header,
html[dir="rtl"] .nova-account-menu .dropdown-item,
html[dir="rtl"] .nova-notif-menu .dropdown-header {
  text-align: right !important;
  direction: rtl;
}
.nova-account-menu .dropdown-item,
.nova-account-menu .dropdown-item.text-danger {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  white-space: normal;
}
.nova-account-menu .dropdown-item i {
  flex: 0 0 auto;
  width: 1.1rem;
  text-align: center;
  opacity: 0.9;
}
.nova-account-menu .dropdown-item span {
  flex: 1 1 auto;
  min-width: 0;
}
html[dir="rtl"] .nova-account-sidebar .list-group-item,
html[dir="rtl"] .nova-account-page {
  text-align: right;
  direction: rtl;
}
html[dir="rtl"] .nova-mobile-drawer,
html[dir="rtl"] .nova-mobile-drawer__nav a {
  text-align: right;
  direction: rtl;
}
html[dir="rtl"] .nova-mobile-drawer__nav a {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
html[dir="rtl"] .nova-mobile-drawer__nav a i {
  margin-inline-end: 0;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

/* Loading state for AJAX add-to-cart / wishlist (see wwwroot/js/site.js) */
button.nova-btn-loading {
  cursor: wait;
}

/* Quick view modal — keep image readable on large screens */
.product-quick-view-img {
  max-height: min(52vh, 360px);
  width: auto;
  object-fit: contain;
}

/* PDP: vertical thumbnails beside main image + lightbox */
.pdp-primary-gallery {
  min-height: 0;
}

.pdp-thumb-column {
  max-height: 420px;
  overflow-y: auto;
  overflow-x: hidden;
  padding-inline-end: 2px;
  scrollbar-width: thin;
}

.pdp-thumb-column .product-thumb {
  display: block;
}

/* PDP fullscreen image lightbox (modal appended to body on product page) */
#pdpImageLightbox.nova-pdp-lightbox-modal {
  --bs-modal-zindex: 11000;
  position: fixed;
  inset: 0;
  padding: 0 !important;
}
#pdpImageLightbox.nova-pdp-lightbox-modal.show {
  z-index: 11000 !important;
  display: block !important;
}
#pdpImageLightbox .modal-dialog {
  margin: 0;
  max-width: 100%;
  width: 100%;
  height: 100%;
  min-height: 100%;
}
#pdpImageLightbox .nova-pdp-lightbox-content {
  background: transparent;
  box-shadow: none;
  min-height: 100vh;
  min-height: 100dvh;
  position: relative;
}
#pdpImageLightbox .nova-pdp-lightbox-close {
  position: absolute;
  top: max(0.75rem, env(safe-area-inset-top, 0px));
  inset-inline-end: max(0.75rem, env(safe-area-inset-right, 0px));
  z-index: 4;
  opacity: 0.9;
  padding: 0.65rem;
  background: rgba(15, 23, 42, 0.45);
  border-radius: 999px;
  backdrop-filter: blur(6px);
}
#pdpImageLightbox .nova-pdp-lightbox-body {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: max(3rem, env(safe-area-inset-top, 0px) + 2.5rem) max(0.5rem, env(safe-area-inset-right, 0px))
    max(1rem, env(safe-area-inset-bottom, 0px)) max(0.5rem, env(safe-area-inset-left, 0px));
  min-height: 100vh;
  min-height: 100dvh;
  position: relative;
}
#pdpImageLightbox .nova-pdp-lightbox-figure {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  min-width: 0;
  max-height: calc(100dvh - 5rem);
}
#pdpImageLightbox .pdp-lightbox-img {
  display: block;
  max-width: min(96vw, 1200px);
  max-height: calc(100dvh - 5rem);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 0.35rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}
#pdpImageLightbox .nova-pdp-lightbox-nav {
  flex: 0 0 auto;
  font-size: 2.25rem;
  line-height: 1;
  padding: 0.5rem 0.35rem;
  opacity: 0.85;
  text-decoration: none;
  z-index: 3;
}
#pdpImageLightbox .nova-pdp-lightbox-nav:hover {
  opacity: 1;
  color: #fff;
}
body.nova-pdp-lightbox-open > .modal-backdrop.show {
  z-index: 10990 !important;
  opacity: 0.88 !important;
}
body.nova-pdp-lightbox-open #novaStorefrontHeader,
body.nova-pdp-lightbox-open .nova-announcement,
body.nova-pdp-lightbox-open .admin-editbar,
body.nova-pdp-lightbox-open header.nova-navbar,
body.nova-pdp-lightbox-open .nova-mega,
body.nova-pdp-lightbox-open [class*="nova-mainnav"] {
  z-index: 1 !important;
}
body.nova-pdp-lightbox-open {
  overflow: hidden;
}
@media (max-width: 575.98px) {
  #pdpImageLightbox .nova-pdp-lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding: 0.75rem;
    background: rgba(15, 23, 42, 0.35);
    border-radius: 0.5rem;
  }
  #pdpImageLightbox .js-pdp-lightbox-prev {
    inset-inline-start: 0.25rem;
  }
  #pdpImageLightbox .js-pdp-lightbox-next {
    inset-inline-end: 0.25rem;
  }
  #pdpImageLightbox .nova-pdp-lightbox-body {
    padding-inline: 2.75rem;
  }
}

@media (max-width: 991.98px) {
  .pdp-primary-gallery {
    flex-direction: column !important;
  }

  .pdp-thumb-column {
    flex-direction: row !important;
    flex-wrap: nowrap;
    max-height: none;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 4px;
    justify-content: flex-start !important;
  }
}

.pdp-lb-nav {
  opacity: 0.85;
}

.pdp-lb-nav:hover,
.pdp-lb-nav:focus {
  opacity: 1;
  color: #fff !important;
}

/* PDP: BNPL / installment info strip (Tabby, Tamara, Madfu style) */
.pdp-bnpl-wrap {
  --pdp-bnpl-border: rgba(0, 0, 0, 0.12);
}

.pdp-bnpl-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--pdp-bnpl-border);
  border-radius: 6px;
  margin-bottom: 0.5rem;
  background: var(--bs-body-bg, #fff);
}

.pdp-bnpl-row:last-of-type {
  margin-bottom: 0;
}

.pdp-bnpl-brand {
  flex-shrink: 0;
  min-width: 4.75rem;
  padding: 0.28rem 0.55rem;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.pdp-bnpl-brand--tabby {
  background: #3ed7c5;
  color: #063;
}

.pdp-bnpl-brand--tamara {
  background: linear-gradient(118deg, #e91e8c 0%, #7c4dff 45%, #00b8d9 100%);
  color: #fff;
  font-size: 0.68rem;
}

.pdp-bnpl-brand--madfu {
  background: #1565c0;
  color: #fff;
}

.pdp-bnpl-text {
  font-size: 0.875rem;
  line-height: 1.4;
  color: var(--bs-body-color, #333);
  min-width: 0;
}

.pdp-bnpl-more {
  flex-shrink: 0;
  font-size: 0.75rem;
  white-space: nowrap;
  text-decoration: none;
}

.pdp-bnpl-more:hover {
  text-decoration: underline;
}

/* PLP / grid — compact Saudi product card (narrow 2-col on phones) */
.nova-pcard-compact {
  container-type: inline-size;
  container-name: novapcard;
}

.nova-pcard-compact__title {
  overflow-wrap: anywhere;
}

/* Product cards — theme-driven typography & shape (admin → Theme settings) */
.nova-product-card.card,
.nova-pcard-bukhamsen {
  border-radius: var(--nova-pcard-radius, var(--radius-md, 12px));
  box-shadow: var(--nova-pcard-shadow, var(--shadow-sm, 0 1px 2px rgba(17, 24, 39, 0.06)));
  background-color: var(--color-card, #fff);
  border-color: var(--color-border, #e5e7eb);
  overflow: hidden;
}

/* Product image frame — show full product (no crop) */
.nova-product-card__media {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #f8fafc;
  overflow: hidden;
  flex-shrink: 0;
  border-radius: calc(var(--bs-card-border-radius, 0.5rem) - 1px)
    calc(var(--bs-card-border-radius, 0.5rem) - 1px) 0 0;
}

.nova-product-card__media > img,
.nova-product-card__media-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.nova-product-card .nova-pcard-title,
.nova-pcard-bukhamsen .nova-pcard-title,
.nova-pcard-bukhamsen__title {
  font-size: var(--nova-pcard-title-size, 1rem);
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.nova-product-card .nova-pcard-content,
.nova-pcard-bukhamsen .nova-pcard-content {
  font-size: var(--nova-pcard-content-size, 0.8125rem);
}

.nova-product-card .nova-pcard-prices > .fw-bold {
  font-size: calc(var(--nova-pcard-content-size, 0.8125rem) + 1px);
}

html[data-nova-pcard-hover="lift"] .nova-product-card:hover,
html[data-nova-pcard-hover="lift"] .nova-pcard-bukhamsen:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md, 0 10px 30px rgba(17, 24, 39, 0.08));
}

html[data-nova-pcard-hover="shadow"] .nova-product-card:hover,
html[data-nova-pcard-hover="shadow"] .nova-pcard-bukhamsen:hover {
  box-shadow: var(--shadow-md, 0 10px 30px rgba(17, 24, 39, 0.08));
}

html[data-nova-pcard-hover="glow"] .nova-product-card:hover,
html[data-nova-pcard-hover="glow"] .nova-pcard-bukhamsen:hover {
  box-shadow: var(--nova-pcard-glow);
}

html[data-nova-pcard-hover="scale"] .nova-product-card:hover,
html[data-nova-pcard-hover="scale"] .nova-pcard-bukhamsen:hover {
  transform: scale(1.02);
}

html[data-nova-pcard-hover="none"] .nova-product-card:hover,
html[data-nova-pcard-hover="none"] .nova-pcard-bukhamsen:hover {
  transform: none;
  box-shadow: var(--nova-pcard-shadow, var(--shadow-sm, 0 1px 2px rgba(17, 24, 39, 0.06)));
}

.nova-pcard-compact__icon-btn {
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.nova-pcard-compact__icon-btn i {
  font-size: 1rem;
}

.storefront-price {
  font-variant-numeric: tabular-nums;
}

@container novapcard (max-width: 280px) {
  .nova-pcard-compact__top {
    flex-direction: column;
    align-items: stretch;
  }

  .nova-pcard-compact__thumb {
    width: 100% !important;
    height: 112px !important;
    align-self: stretch;
  }

  .nova-pcard-compact__thumb-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain;
  }

  .nova-pcard-compact__title {
    font-size: min(var(--nova-pcard-title-size, 1rem), 0.8125rem);
  }

  .nova-pcard-compact__labels .badge {
    font-size: 0.6rem !important;
  }
}

@media (max-width: 575.98px) {
  .nova-pcard-compact__actions .btn.btn-nova,
  .nova-pcard-compact__actions .btn.btn-secondary {
    font-size: 0.8125rem;
    padding-top: 0.35rem;
    padding-bottom: 0.35rem;
  }
}

.social-login-block .btn-social-google {
  background: #fff;
  border: 1px solid #dadce0;
  color: #3c4043;
}
.social-login-block .btn-social-google:hover {
  background: #f8f9fa;
  border-color: #dadce0;
  color: #202124;
}
.social-login-block .btn-social-apple {
  background: #000;
  border: 1px solid #000;
  color: #fff;
}
.social-login-block .btn-social-apple:hover {
  background: #1a1a1a;
  border-color: #1a1a1a;
  color: #fff;
}
.social-login-block .btn-social-tiktok {
  background: #010101;
  border: 1px solid #010101;
  color: #fff;
}
.social-login-block .btn-social-tiktok:hover {
  background: #161616;
  border-color: #161616;
  color: #fff;
}

/* ── Micro-animations & Premium UI Polish ── */

/* Smooth transitions on all interactive elements */
a, button, .btn, .nova-card, .card-nova, .card {
  transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.15s ease;
}

/* Card hover lift effect */
.card-nova:hover, .card.card-nova:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(17, 24, 39, 0.1);
}

/* Cart item row smooth removal animation */
.cart-item-row {
  transition: opacity 0.25s ease, max-height 0.3s ease;
}

/* Button press feedback */
.btn:active {
  transform: scale(0.97);
}

/* Nova icon button micro-interaction */
.nova-icon-btn {
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.nova-icon-btn:hover {
  transform: translateY(-1px);
}
.nova-icon-btn:active {
  transform: scale(0.93);
}

/* Product card hover is controlled via html[data-nova-pcard-hover] (theme settings) */

/* Cart badge pulse when count changes */
@keyframes badgePop {
  0% { transform: translate(-50%, -50%) scale(1); }
  40% { transform: translate(-50%, -50%) scale(1.4); }
  100% { transform: translate(-50%, -50%) scale(1); }
}
#cartCountBadge.animate-pop {
  animation: badgePop 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

/* Add-to-cart button loading spinner */
.nova-btn-loading {
  cursor: wait;
  position: relative;
  overflow: hidden;
}

/* Offcanvas side cart smooth open transition */
.offcanvas {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* Side cart — above header (1050), admin FAB (1300), carousel, and page content */
#sideCartOffcanvas.nova-side-cart-offcanvas {
  --bs-offcanvas-width: min(420px, 100vw);
  --bs-offcanvas-zindex: 10600;
  position: fixed !important;
  z-index: 10600 !important;
  top: 0 !important;
  bottom: 0 !important;
  width: var(--bs-offcanvas-width) !important;
  height: 100vh !important;
  height: 100dvh !important;
  max-height: 100vh !important;
  max-height: 100dvh !important;
  background: var(--bs-body-bg, #fff);
  color: var(--bs-body-color, #111827);
}
#sideCartOffcanvas.nova-side-cart-offcanvas.offcanvas.show,
#sideCartOffcanvas.nova-side-cart-offcanvas.offcanvas.showing,
#sideCartOffcanvas.nova-side-cart-offcanvas.offcanvas.hiding {
  z-index: 10600 !important;
  visibility: visible !important;
}
body:not(.admin-shell) > .offcanvas-backdrop.show,
body:has(#sideCartOffcanvas.show) > .offcanvas-backdrop.show,
body.nova-side-cart-open > .offcanvas-backdrop.show {
  z-index: 10590 !important;
  display: block !important;
  pointer-events: auto !important;
  opacity: 0.5 !important;
}
#sideCartOffcanvas.nova-side-cart-offcanvas .offcanvas-body {
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
body.nova-side-cart-open main[role="main"],
body.nova-side-cart-open .carousel,
body.nova-side-cart-open .carousel-item {
  z-index: auto !important;
}

/* Side cart items list */
#miniCartDropdownInner {
  transition: opacity 0.2s ease;
}

@media (max-width: 575.98px) {
  #sideCartOffcanvas.nova-side-cart-offcanvas {
    --bs-offcanvas-width: 100vw;
    border: 0 !important;
  }
}

/* Success toast slide-up */
@keyframes toastSlideUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.toast.show {
  animation: toastSlideUp 0.28s ease forwards;
}

/* Form controls focus glow */
.form-control:focus, .form-select:focus {
  border-color: rgba(201, 162, 39, 0.5);
  box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.12);
  outline: none;
}

/* Legacy checkout label hover (templates without .nova-checkout-payment) */
label[style*="cursor:pointer"]:not(.nova-checkout-payment):not(.nova-checkout-address):hover {
  border-color: var(--color-secondary, #D4AF37) !important;
  background: rgba(212, 175, 55, 0.04);
  transition: border-color 0.15s ease, background 0.15s ease;
}

/* Mobile menu slide-in improvement */
#mobileMenu {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* Do not fade main from opacity 0 — Chrome ignores those paints as LCP (NO_LCP). */

/* Qty control buttons */
.cart-qty-btn {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: background 0.15s ease, transform 0.1s ease;
}
.cart-qty-btn:hover {
  background: rgba(17, 24, 39, 0.07);
}
.cart-qty-btn:active {
  transform: scale(0.88);
}

/* Maintenance mode timer animation */
.timer-val {
  display: inline-block;
  animation: none;
}
.timer-item {
  transition: transform 0.15s ease;
}
.timer-item:hover {
  transform: scale(1.05);
}

/* Product detail page improvements */
.pdp-primary-actions {
  flex: 1 1 240px;
  min-width: 0;
  display: flex;
  gap: 0.5rem;
}
.pdp-primary-actions .pdp-action-btn {
  flex: 1 1 0;
  min-width: 0;
  border-radius: 999px;
  white-space: nowrap;
}
.pdp-buy-now-btn {
  background: linear-gradient(135deg, #D4AF37, #f0c832);
  color: #111827;
  font-weight: 700;
  border: none;
}
.pdp-buy-now-btn:hover {
  color: #111827;
  filter: brightness(1.05);
}
.pdp-cart-link-btn {
  border-radius: 999px;
  align-self: stretch;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.pdp-action-btn {
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.pdp-action-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(17, 24, 39, 0.15);
}

/* Admin sidebar nav link animation */
.admin-sidebar .nav-link {
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.1s ease;
}
.admin-sidebar .nav-link:active {
  transform: scale(0.97);
}

/* Skeleton loading animation for async content */
@keyframes shimmer {
  0%   { background-position: -400px 0; }
  100% { background-position: 400px 0; }
}
.nova-skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 800px 100%;
  animation: shimmer 1.4s infinite linear;
  border-radius: 6px;
}

/* ── Checkout page ── */
.nova-checkout-page {
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.04) 0%, transparent 220px);
}
.nova-checkout-page__title {
  font-weight: 700;
  letter-spacing: -0.02em;
}
.nova-checkout-breadcrumb a:hover {
  color: var(--color-accent, #2563eb) !important;
}

/* Stepper */
.nova-checkout-stepper {
  padding: 1.25rem 1.5rem;
  overflow-x: auto;
}
.nova-checkout-stepper__list {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
  min-width: min(100%, 520px);
}
.nova-checkout-stepper__step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  min-width: 0;
}
.nova-checkout-stepper__step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 18px;
  inset-inline-start: calc(50% + 22px);
  width: calc(100% - 44px);
  height: 2px;
  background: #e5e7eb;
  z-index: 0;
}
.nova-checkout-stepper__step--done:not(:last-child)::after {
  background: var(--color-accent, #2563eb);
}
.nova-checkout-stepper__dot {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f3f4f6;
  color: #6b7280;
  font-size: 1rem;
  position: relative;
  z-index: 1;
  border: 2px solid #e5e7eb;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.nova-checkout-stepper__step--active .nova-checkout-stepper__dot {
  background: var(--color-accent, #2563eb);
  border-color: var(--color-accent, #2563eb);
  color: #fff;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}
.nova-checkout-stepper__step--done .nova-checkout-stepper__dot {
  background: rgba(37, 99, 235, 0.12);
  border-color: var(--color-accent, #2563eb);
  color: var(--color-accent, #2563eb);
}
.nova-checkout-stepper__label {
  margin-top: 0.5rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: #9ca3af;
  line-height: 1.2;
}
.nova-checkout-stepper__step--active .nova-checkout-stepper__label,
.nova-checkout-stepper__step--done .nova-checkout-stepper__label {
  color: #111827;
}

/* Sections */
.nova-checkout-section {
  margin-bottom: 1.25rem;
  border-radius: 14px !important;
}
.nova-checkout-section__head {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1.15rem 1.35rem;
  border-bottom: 1px solid rgba(17, 24, 39, 0.06);
}
.nova-checkout-section__icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(37, 99, 235, 0.1);
  color: var(--color-accent, #2563eb);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}
.nova-checkout-section__title {
  font-weight: 700;
}
.nova-checkout-section__sub {
  font-size: 0.8rem;
  color: #6b7280;
}
.nova-checkout-section__body {
  padding: 1.25rem 1.35rem 1.35rem;
}

/* Address cards */
.nova-checkout-addresses {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.nova-checkout-address {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1rem 1.1rem;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  cursor: pointer;
  margin: 0;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.nova-checkout-address:hover {
  border-color: rgba(37, 99, 235, 0.35);
  background: rgba(37, 99, 235, 0.03);
}
.nova-checkout-address:has(input:checked) {
  border-color: var(--color-accent, #2563eb);
  background: rgba(37, 99, 235, 0.05);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}
.nova-checkout-address input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.nova-checkout-address__radio {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #d1d5db;
  flex-shrink: 0;
  margin-top: 2px;
  position: relative;
}
.nova-checkout-address:has(input:checked) .nova-checkout-address__radio {
  border-color: var(--color-accent, #2563eb);
}
.nova-checkout-address:has(input:checked) .nova-checkout-address__radio::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--color-accent, #2563eb);
}
.nova-checkout-address__content {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}
.nova-checkout-address__name {
  font-weight: 700;
  font-size: 0.95rem;
}
.nova-checkout-address__badge {
  align-self: flex-start;
  margin-top: 0.35rem;
  font-size: 0.65rem;
}

/* Payment grid */
.nova-checkout-payments {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
  gap: 0.75rem;
}
.nova-checkout-payment {
  position: relative;
  margin: 0;
  cursor: pointer;
}
.nova-checkout-payment input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.nova-checkout-payment__box {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.65rem;
  padding: 0.85rem 0.9rem 0.95rem;
  border: 2px solid #e5e7eb;
  border-radius: 14px;
  height: 100%;
  background: #fff;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
.nova-checkout-payment:hover .nova-checkout-payment__box {
  border-color: rgba(37, 99, 235, 0.35);
  background: rgba(37, 99, 235, 0.03);
  transform: translateY(-1px);
}
.nova-checkout-payment:has(input:checked) .nova-checkout-payment__box {
  border-color: var(--color-accent, #2563eb);
  background: rgba(37, 99, 235, 0.05);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}
.nova-checkout-payment__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.55rem 0.75rem;
  border-radius: 10px;
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  border: 1px solid #e2e8f0;
}
.nova-checkout-payment__logo-img {
  display: block;
  height: 34px;
  width: auto;
  max-width: 112px;
  object-fit: contain;
}
.nova-checkout-payment__icon {
  font-size: 1.5rem;
  color: var(--color-accent, #2563eb);
}
.nova-checkout-payment__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
  min-width: 0;
}
.nova-checkout-payment__label {
  font-weight: 700;
  font-size: 0.9rem;
  line-height: 1.25;
  color: #0f172a;
}
.nova-checkout-payment__sub {
  font-size: 0.72rem;
  color: #64748b;
  line-height: 1.35;
  text-align: start;
}
.nova-checkout-payment__marks {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.4rem;
}
.nova-checkout-payment__mark {
  height: 22px;
  width: auto;
  max-width: 42px;
  object-fit: contain;
  border-radius: 4px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #fff;
  padding: 1px 2px;
}
.nova-checkout-payment--apple:has(input:checked) .nova-checkout-payment__box {
  border-color: #111;
  box-shadow: 0 0 0 1px #111;
}
.nova-checkout-payment__check {
  position: absolute;
  inset-block-start: 0.55rem;
  inset-inline-end: 0.55rem;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: #fff;
  background: var(--color-accent, #2563eb);
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.15s ease, transform 0.15s ease;
}
.nova-checkout-payment:has(input:checked) .nova-checkout-payment__check {
  opacity: 1;
  transform: scale(1);
}

/* Order summary sidebar */
.nova-checkout-summary {
  position: sticky;
  top: 88px;
  padding: 0 !important;
  border-radius: 14px !important;
  overflow: hidden;
}
.nova-checkout-summary__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.35rem;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), transparent);
  border-bottom: 1px solid rgba(17, 24, 39, 0.06);
}
.nova-checkout-summary__items {
  max-height: min(42vh, 360px);
  overflow-y: auto;
  padding: 0.75rem 1.35rem;
  border-bottom: 1px solid rgba(17, 24, 39, 0.06);
}
.nova-checkout-summary__items::-webkit-scrollbar {
  width: 6px;
}
.nova-checkout-summary__items::-webkit-scrollbar-thumb {
  background: #d1d5db;
  border-radius: 3px;
}
.nova-checkout-summary__totals {
  padding: 1rem 1.35rem;
}
.nova-checkout-summary__grand {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin: 0 1.35rem 1rem;
  padding: 1rem 1.15rem;
  border-radius: 12px;
  background: #111827;
  color: #f9fafb;
}
.nova-checkout-summary__grand span {
  font-size: 0.9rem;
  opacity: 0.85;
}

/* Terms & conditions agreement — clear, tappable card before place-order */
.nova-checkout-terms {
  margin: 0 1.15rem 1rem;
}
.nova-checkout-terms__card {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  width: 100%;
  margin: 0;
  padding: 0.95rem 1rem;
  border: 2px solid rgba(37, 99, 235, 0.35);
  border-radius: 14px;
  background: linear-gradient(180deg, #eff6ff 0%, #f8fafc 100%);
  cursor: pointer;
  user-select: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.nova-checkout-terms__card:hover {
  border-color: var(--color-accent, #2563eb);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}
.nova-checkout-terms__input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}
.nova-checkout-terms__box {
  flex: 0 0 auto;
  width: 1.55rem;
  height: 1.55rem;
  margin-top: 0.1rem;
  border-radius: 0.4rem;
  border: 2px solid #64748b;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1rem;
  line-height: 1;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.nova-checkout-terms__box i {
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 0.15s ease, transform 0.15s ease;
}
.nova-checkout-terms__card:has(.nova-checkout-terms__input:checked) {
  border-color: var(--color-accent, #2563eb);
  background: linear-gradient(180deg, #dbeafe 0%, #eff6ff 100%);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.16);
}
.nova-checkout-terms__card:has(.nova-checkout-terms__input:checked) .nova-checkout-terms__box {
  background: var(--color-accent, #2563eb);
  border-color: var(--color-accent, #2563eb);
}
.nova-checkout-terms__card:has(.nova-checkout-terms__input:checked) .nova-checkout-terms__box i {
  opacity: 1;
  transform: scale(1);
}
.nova-checkout-terms__card:has(.nova-checkout-terms__input:focus-visible) {
  outline: 2px solid var(--color-accent, #2563eb);
  outline-offset: 2px;
}
.nova-checkout-terms__copy {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
  text-align: start;
}
.nova-checkout-terms__title {
  font-size: 0.95rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.35;
}
.nova-checkout-terms__required {
  color: #dc2626;
  margin-inline-start: 0.15rem;
}
.nova-checkout-terms__text {
  font-size: 0.86rem;
  line-height: 1.5;
  color: #334155;
  font-weight: 500;
}
.nova-checkout-terms__link {
  color: var(--color-accent, #2563eb);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.nova-checkout-terms__link:hover {
  color: #1d4ed8;
}
.nova-checkout-terms__card:has(.nova-checkout-terms__input:invalid):not(:has(.nova-checkout-terms__input:checked)) {
  border-color: rgba(220, 38, 38, 0.45);
}

/* Checkout membership upsell (non-members) — single placement in order summary */
.nova-checkout-mpromo {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  margin: 0 1.15rem 1rem;
  background: linear-gradient(145deg, #0f172a 0%, #1e293b 55%, #0b1220 100%);
  color: #f8fafc;
  border: 1px solid rgba(245, 158, 11, 0.4);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.22);
}
.nova-checkout-mpromo__glow {
  position: absolute;
  inset-inline-end: -18%;
  inset-block-start: -40%;
  width: 55%;
  height: 90%;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.32), transparent 68%);
  pointer-events: none;
}
.nova-checkout-mpromo__inner {
  position: relative;
  z-index: 1;
  padding: 1.1rem 1.15rem 1.15rem;
}
.nova-checkout-mpromo__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 0.55rem;
}
.nova-checkout-mpromo__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #fbbf24;
}
.nova-checkout-mpromo__price-chip {
  display: inline-flex;
  align-items: baseline;
  gap: 0.25rem;
  font-size: 0.85rem;
  font-weight: 800;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 0.2rem 0.65rem;
}
.nova-checkout-mpromo__price-chip small {
  font-size: 0.68rem;
  font-weight: 600;
  opacity: 0.75;
}
.nova-checkout-mpromo__title {
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1.35;
  margin: 0 0 0.45rem;
  color: #fff;
}
.nova-checkout-mpromo__sub {
  font-size: 0.84rem;
  line-height: 1.5;
  color: rgba(248, 250, 252, 0.78);
  margin: 0 0 0.75rem;
}
.nova-checkout-mpromo__savings {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.55rem 0.75rem;
  margin: 0 0 0.85rem;
  border-radius: 10px;
  background: rgba(34, 197, 94, 0.14);
  border: 1px solid rgba(134, 239, 172, 0.35);
}
.nova-checkout-mpromo__savings-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: rgba(248, 250, 252, 0.88);
}
.nova-checkout-mpromo__savings-value {
  font-size: 1.05rem;
  font-weight: 800;
  color: #86efac;
  letter-spacing: -0.02em;
}
.nova-checkout-mpromo__perks {
  list-style: none;
  margin: 0 0 0.9rem;
  padding: 0;
  display: grid;
  gap: 0.4rem;
}
.nova-checkout-mpromo__perks li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8rem;
  color: rgba(248, 250, 252, 0.9);
}
.nova-checkout-mpromo__perks i {
  color: #fbbf24;
  flex-shrink: 0;
}
.nova-checkout-mpromo__perk-save {
  margin-inline-start: auto;
  color: #86efac;
  font-size: 0.78rem;
  font-weight: 800;
}
.nova-checkout-mpromo__actions {
  display: grid;
  gap: 0.45rem;
}
.nova-checkout-mpromo__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  flex-wrap: wrap;
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  font-weight: 800;
  font-size: 0.94rem;
  text-decoration: none;
  color: #111827;
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  transition: transform 0.15s ease, filter 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 6px 16px rgba(245, 158, 11, 0.35);
}
.nova-checkout-mpromo__cta:hover {
  color: #111827;
  filter: brightness(1.05);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(245, 158, 11, 0.42);
}
.nova-checkout-mpromo__cta-price {
  font-size: 0.78rem;
  font-weight: 700;
  opacity: 0.85;
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.12);
}
.nova-checkout-mpromo__hint {
  font-size: 0.72rem;
  line-height: 1.4;
  text-align: center;
  color: rgba(248, 250, 252, 0.65);
}

@media (max-width: 575.98px) {
  .nova-checkout-mpromo {
    margin-inline: 0.85rem;
  }
  .nova-checkout-mpromo__title {
    font-size: 0.98rem;
  }
}
.nova-checkout-summary__grand strong {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.nova-checkout-summary__grand small {
  font-size: 0.85rem;
  font-weight: 600;
  opacity: 0.75;
}
.nova-checkout-submit {
  margin: 0 1.35rem 0.75rem;
  padding: 0.85rem 1rem !important;
  font-weight: 700;
  font-size: 1.05rem;
  border-radius: 12px !important;
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.25);
}
.nova-checkout-trust,
.nova-checkout-vat {
  text-align: center;
  padding: 0 1.35rem;
  font-size: 0.75rem;
  color: #6b7280;
}
.nova-checkout-trust {
  padding-bottom: 0.35rem;
}
.nova-checkout-trust i {
  color: #16a34a;
}
.nova-checkout-vat {
  padding-bottom: 1.15rem;
}

/* Line items */
.nova-checkout-items {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.nova-checkout-item {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 0.75rem;
  align-items: start;
}
.nova-checkout-items--compact .nova-checkout-item {
  grid-template-columns: 48px 1fr auto;
  gap: 0.6rem;
}
.nova-checkout-item__thumb {
  display: block;
  width: 56px;
  height: 56px;
  border-radius: 10px;
  overflow: hidden;
  background: #f3f4f6;
  flex-shrink: 0;
}
.nova-checkout-items--compact .nova-checkout-item__thumb {
  width: 48px;
  height: 48px;
}
.nova-checkout-item__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.nova-checkout-item__thumb-ph {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: #9ca3af;
  font-size: 1.25rem;
}
.nova-checkout-item__body {
  min-width: 0;
}
.nova-checkout-item__name {
  font-weight: 600;
  font-size: 0.88rem;
  color: #111827;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.35;
}
.nova-checkout-item__name:hover {
  color: var(--color-accent, #2563eb);
}
.nova-checkout-item__meta,
.nova-checkout-item__offer {
  font-size: 0.75rem;
  color: #6b7280;
  margin-top: 0.1rem;
}
.nova-checkout-item__offer {
  color: #16a34a;
}
.nova-checkout-item__addons {
  font-size: 0.7rem;
  color: #6b7280;
  margin-top: 0.25rem;
}
.nova-checkout-item__addons li + li {
  margin-top: 0.1rem;
}
.nova-checkout-item__qty-price {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.65rem;
  margin-top: 0.35rem;
  font-size: 0.72rem;
  color: #6b7280;
}
.nova-checkout-item__total {
  font-weight: 700;
  font-size: 0.9rem;
  white-space: nowrap;
  text-align: end;
  color: #111827;
}
.nova-checkout-item__sym {
  font-size: 0.75rem;
  font-weight: 600;
  opacity: 0.7;
}
.nova-checkout-item__member {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.28rem;
  color: #0f766e;
  font-weight: 700;
}
.nova-checkout-item__member i {
  font-size: 0.78rem;
}
.nova-cart-member-price {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.45rem;
  padding: 0.45rem 0.75rem;
  border: 1px solid rgba(15, 118, 110, 0.16);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(240, 253, 250, 0.98), rgba(236, 253, 245, 0.92));
  color: #0f766e;
  font-size: 0.78rem;
  line-height: 1.2;
}
.nova-cart-member-price__label {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 700;
}
.nova-cart-member-price strong {
  color: #115e59;
  font-size: 0.8rem;
}
.nova-cart-member-price__hint {
  font-size: 0.72rem;
  color: #0f766e;
  font-weight: 700;
}

/* Totals list */
.nova-checkout-totals__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.35rem 0;
  font-size: 0.88rem;
}
.nova-checkout-totals__row dt {
  margin: 0;
  font-weight: 500;
  color: #6b7280;
}
.nova-checkout-totals__row dd {
  margin: 0;
  font-weight: 600;
  color: #111827;
}
.nova-checkout-totals__row--discount dd {
  color: #16a34a;
}
.nova-checkout-totals__free {
  color: #16a34a;
  font-weight: 700;
}

@media (max-width: 991.98px) {
  .nova-checkout-summary {
    position: static;
  }
  .nova-checkout-summary__items {
    max-height: 280px;
  }
  .nova-checkout-stepper__label {
    font-size: 0.65rem;
  }
}

/* Entrance animations only below the fold. Above-fold opacity:0 makes Lighthouse report NO_LCP. */
.homepage-section-wrapper.hp-section-cv.scroll-reveal {
  animation: none !important;
  opacity: 0.001;
}
.homepage-section-wrapper.hp-section-cv.scroll-reveal.reveal-fade-in {
  animation: revealFadeIn 0.6s cubic-bezier(0.25, 1, 0.5, 1) forwards !important;
}
.homepage-section-wrapper.hp-section-cv.scroll-reveal.reveal-slide-up {
  animation: revealSlideUp 0.7s cubic-bezier(0.25, 1, 0.5, 1) forwards !important;
}
.homepage-section-wrapper.hp-section-cv.scroll-reveal.reveal-zoom-in {
  animation: revealZoomIn 0.65s cubic-bezier(0.34, 1.56, 0.64, 1) forwards !important;
}
.homepage-section-wrapper.hp-section-cv.scroll-reveal.reveal-scale-up {
  animation: revealScaleUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
}

@keyframes revealFadeIn {
  from { opacity: 0.001; }
  to { opacity: 1; }
}
@keyframes revealSlideUp {
  from { opacity: 0.001; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes revealZoomIn {
  from { opacity: 0.001; transform: scale(0.85); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes revealScaleUp {
  from { opacity: 0.001; transform: scaleY(0.9) translateY(20px); }
  to { opacity: 1; transform: scaleY(1) translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .homepage-section-wrapper.hp-section-cv.scroll-reveal {
    opacity: 1;
    animation: none !important;
    transform: none;
  }
}

/* ── Accessibility & Mobile Usability Overrides ── */

/* Color contrast ratios: met 4.5:1 WCAG AA by darkening grey secondary elements */
.text-muted {
  color: #545b62 !important;
}

.btn-outline-secondary {
  --bs-btn-color: #545b62 !important;
  --bs-btn-border-color: #545b62 !important;
  --bs-btn-hover-bg: #545b62 !important;
  --bs-btn-hover-border-color: #545b62 !important;
  --bs-btn-active-bg: #545b62 !important;
  --bs-btn-active-border-color: #545b62 !important;
  color: #545b62 !important;
  border-color: #545b62 !important;
}

/* Mobile Touch Targets: ensure footer links have a minimum height of 44px */
footer.nova-footer .d-grid a, 
footer.nova-footer .border-top a {
  padding-top: 10px !important;
  padding-bottom: 10px !important;
  min-height: 44px !important;
  display: inline-flex !important;
  align-items: center !important;
}

.nova-footer-col__img-link {
  transition: opacity 0.15s ease;
}
.nova-footer-col__img-link:hover {
  opacity: 0.85;
}
.nova-footer-col__img {
  display: block;
}
.nova-footer-col__img--rounded {
  border-radius: 8px;
}
.nova-footer-col__img--circle {
  border-radius: 50%;
  aspect-ratio: 1;
  object-fit: cover !important;
}
.nova-footer-col__img--card {
  background: rgba(255, 255, 255, 0.95);
  padding: 8px;
  border-radius: 12px;
  box-sizing: content-box;
}
.nova-footer-col__items--row {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
}
.nova-footer-col__items--stack {
  flex-direction: column;
  align-items: flex-start;
}
.nova-footer-col__items--grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
  gap: 0.5rem;
  align-items: center;
}
.nova-footer-col__items {
  align-items: flex-start;
}

.nova-footer-brand {
  flex-wrap: wrap;
}
.nova-footer-brand__logo {
  display: block;
  height: 34px;
  max-width: 110px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
}

/* ── Auto-hide Sticky Header on Scroll Down ────────────────────────────────────── */
.nova-storefront-header--sticky {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease-in-out !important;
}
.nova-storefront-header--hidden {
  transform: translateY(-110%) !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* ── Custom Payment Layouts: Web vs Mobile ────────────────────────────────── */
@media (min-width: 768px) {
  .nova-checkout-payments.web-list {
    grid-template-columns: 1fr;
  }
  .nova-checkout-payments.web-list .nova-checkout-payment__box {
    flex-direction: row;
    align-items: center;
    gap: 0.95rem;
    padding: 0.8rem 1.15rem;
  }
  .nova-checkout-payments.web-list .nova-checkout-payment__logo {
    min-height: 48px;
    min-width: 96px;
    flex-shrink: 0;
  }
  .nova-checkout-payments.web-list .nova-checkout-payment__text {
    flex: 1;
  }
  .nova-checkout-payments.web-compact {
    grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
  }
  .nova-checkout-payments.web-compact .nova-checkout-payment__box {
    padding: 0.65rem 0.7rem;
    align-items: center;
    text-align: center;
  }
  .nova-checkout-payments.web-compact .nova-checkout-payment__text {
    align-items: center;
  }
  .nova-checkout-payments.web-compact .nova-checkout-payment__sub {
    display: none !important;
  }
  .nova-checkout-payments.web-compact .nova-checkout-payment__logo {
    min-height: 44px;
  }
  .nova-checkout-payments.web-compact .nova-checkout-payment__logo-img {
    height: 28px;
    max-width: 92px;
  }
}

@media (max-width: 767.98px) {
  .nova-checkout-payments.mobile-list {
    grid-template-columns: 1fr;
  }
  .nova-checkout-payments.mobile-list .nova-checkout-payment__box {
    flex-direction: row;
    align-items: center;
    gap: 0.95rem;
    padding: 0.8rem 1.1rem;
  }
  .nova-checkout-payments.mobile-list .nova-checkout-payment__logo {
    min-height: 48px;
    min-width: 92px;
    flex-shrink: 0;
  }
  .nova-checkout-payments.mobile-list .nova-checkout-payment__text {
    flex: 1;
  }
  .nova-checkout-payments.mobile-compact {
    grid-template-columns: repeat(auto-fill, minmax(112px, 1fr));
  }
  .nova-checkout-payments.mobile-compact .nova-checkout-payment__box {
    padding: 0.6rem 0.65rem;
    align-items: center;
    text-align: center;
  }
  .nova-checkout-payments.mobile-compact .nova-checkout-payment__text {
    align-items: center;
  }
  .nova-checkout-payments.mobile-compact .nova-checkout-payment__sub {
    display: none !important;
  }
  .nova-checkout-payments.mobile-compact .nova-checkout-payment__logo {
    min-height: 42px;
  }
  .nova-checkout-payments.mobile-compact .nova-checkout-payment__logo-img {
    height: 26px;
    max-width: 84px;
  }
}

/* Cancel order refund choice */
.cancel-refund-card { cursor: pointer; display: block; margin: 0; }
.cancel-refund-card-inner {
  height: 100%;
  border: 1.5px solid #e5e7eb;
  border-radius: 16px;
  padding: 1rem 1.1rem;
  background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.cancel-refund-card:hover .cancel-refund-card-inner { border-color: #cbd5e1; }
.cancel-refund-card.is-selected .cancel-refund-card-inner {
  border-color: #0f766e;
  box-shadow: 0 0 0 3px rgba(15, 118, 110, .12);
  background: linear-gradient(180deg, #f0fdfa 0%, #fff 55%);
}
.cancel-refund-icon {
  width: 38px; height: 38px; border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center; font-size: 1.15rem;
}
.cancel-refund-icon.wallet { background: #ecfdf5; color: #0f766e; }
.cancel-refund-icon.bank { background: #eff6ff; color: #1d4ed8; }
.cancel-refund-pros { list-style: none; padding: 0; margin: 0; }
.cancel-refund-pros li {
  display: flex; align-items: flex-start; gap: .45rem;
  margin-bottom: .4rem; color: #334155; line-height: 1.35;
}
.cancel-refund-pros li i { color: #0f766e; margin-top: .1rem; flex-shrink: 0; }
.cancel-refund-card[data-method="Bank"] .cancel-refund-pros li i { color: #1d4ed8; }
