*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --nova-blue: #003da5;
  --nova-blue-dark: #002d7a;
  --nova-blue-soft: #eef4fc;
  --text: #1a1a1a;
  --muted: #666;
  --border: #eeeeee;
  --max: 1410px;
  --radius: 20px;
  --font: "Cairo", system-ui, sans-serif;
  --shadow-sm: 0 4px 16px rgba(0, 35, 90, 0.06);
  --shadow-md: 0 12px 32px rgba(0, 35, 90, 0.08);
  --shadow-lg: 0 24px 56px rgba(0, 35, 90, 0.14);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: #fff;
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body > main {
  flex: 1;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* Page transition loader */
.page-loader {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 10000;
  opacity: 0;
  transition: opacity 0.18s ease;
}

html.page-nav-loading .page-loader {
  opacity: 1;
}

.page-loader-track {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(0, 61, 165, 0.1);
  overflow: hidden;
}

.page-loader-bar {
  height: 100%;
  width: 40%;
  max-width: 280px;
  background: linear-gradient(90deg, var(--nova-blue), #5eb3ff);
  border-radius: 0 2px 2px 0;
  transform: translateX(-120%);
  animation: page-loader-indeterminate 0.85s ease-in-out infinite;
}

.page-loader-bar.is-complete {
  animation: none;
  width: 100%;
  max-width: none;
  transform: translateX(0);
  transition: width 0.28s ease, transform 0.28s ease;
}

@keyframes page-loader-indeterminate {
  0% {
    transform: translateX(-120%);
  }
  100% {
    transform: translateX(320%);
  }
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid #f0f0f0;
}

.nova-topbar {
  background: #f8fafc;
  border-bottom: 1px solid #eef2f8;
  font-size: 13px;
}

.nova-topbar-inner {
  padding-top: 8px;
  padding-bottom: 8px;
}

.nova-delivery-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font-weight: 500;
  max-width: 100%;
}

.nova-delivery-text strong {
  color: var(--nova-blue);
  font-weight: 700;
}

.nova-order-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: #1f7a4c;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
}

.nova-order-btn:hover {
  opacity: 0.94;
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.logo-img {
  height: 48px;
  width: auto;
  max-width: 110px;
  object-fit: contain;
}

@media (max-width: 768px) {
  .logo-img {
    height: 38px;
    max-width: 90px;
  }
}

.main-nav {
  display: flex;
  gap: 28px;
  margin-inline-end: auto;
  font-weight: 500;
  font-size: 15px;
}

.main-nav a {
  opacity: 0.75;
  transition: opacity 0.2s, color 0.2s;
}

.main-nav a:hover,
.main-nav a.active {
  opacity: 1;
  color: var(--nova-blue);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-toggle {
  border: 1px solid #ddd;
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 600;
}

.cart-btn {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--nova-blue);
  background: #f5f8fc;
}

.cart-badge {
  position: absolute;
  top: -2px;
  inset-inline-end: -2px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 999px;
  background: #e53935;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.cart-badge[hidden] {
  display: none !important;
}

.cart-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: #1a1a1a;
  color: #fff;
  padding: 12px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s, transform 0.25s;
  z-index: 200;
}

.cart-toast.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #f5f8fc;
  color: var(--text);
  flex-shrink: 0;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 0 auto;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.2s, opacity 0.2s;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

body.mobile-nav-open {
  overflow: hidden;
}

/* Page */
.products-hub-body,
.products-list-body {
  background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 48%, #f5f7fa 100%);
}

.our-products {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px 56px;
}

.products-list-main {
  padding-bottom: 56px;
}

.products-page-hero {
  padding: 20px 0 28px;
  margin-bottom: 8px;
  border-bottom: 1px solid rgba(15, 40, 80, 0.08);
}

.products-page-hero--compact {
  padding-bottom: 20px;
  margin-bottom: 16px;
}

.products-hero-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 24px;
  margin-top: 8px;
}

.products-page-lead {
  margin: 10px 0 0;
  max-width: 52ch;
  font-size: 15px;
  line-height: 1.65;
  color: #556677;
}

.products-hero-cta {
  flex-shrink: 0;
  padding: 12px 22px;
  text-decoration: none;
}

.category-jump-nav {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  overflow-x: auto;
  padding: 18px 0 4px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.category-jump-nav::-webkit-scrollbar {
  display: none;
}

.category-jump-link {
  flex-shrink: 0;
  padding: 10px 16px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #e2e8f0;
  font-size: 13px;
  font-weight: 700;
  color: #334155;
  box-shadow: 0 1px 4px rgba(15, 40, 80, 0.05);
  transition: border-color 0.2s, color 0.2s, box-shadow 0.2s;
}

.category-jump-link:hover {
  border-color: var(--nova-blue);
  color: var(--nova-blue);
  box-shadow: 0 4px 12px rgba(0, 102, 179, 0.12);
}

.products-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}

.products-filter-chip {
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid #e2e8f0;
  background: #fff;
  font-size: 13px;
  font-weight: 700;
  color: #475569;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.products-filter-chip:hover {
  border-color: var(--nova-blue);
  color: var(--nova-blue);
}

.products-filter-chip.active {
  background: var(--nova-blue);
  border-color: var(--nova-blue);
  color: #fff;
}

.products-result-count {
  margin: 0 0 16px;
  font-size: 14px;
  color: var(--muted);
  font-weight: 600;
}

.top-section {
  margin-top: 12px;
  margin-bottom: 8px;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 16px;
}

.breadcrumbs a:hover {
  color: var(--nova-blue);
}

.breadcrumbs .current {
  color: var(--text);
  font-weight: 600;
}

.page-title {
  margin: 0;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* Category blocks */
.category-panel {
  margin-bottom: 28px;
  padding: 22px 22px 24px;
  background: #fff;
  border-radius: 20px;
  border: 1px solid #e8edf4;
  box-shadow: 0 4px 24px rgba(15, 40, 80, 0.06);
  scroll-margin-top: 88px;
}

.category-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid #f0f4f8;
}

.category-panel-title {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
}

.category-panel-count {
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
}

.category-panel-all {
  font-size: 14px;
  font-weight: 700;
  color: var(--nova-blue);
  white-space: nowrap;
}

.category-panel-all:hover {
  text-decoration: underline;
}

.category-block {
  padding: 20px 0;
}

.category-inner {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.category-block.reverse .category-inner {
  flex-direction: row-reverse;
}

.category-detail {
  display: flex;
  flex-direction: row;
  gap: 5px;
  flex-shrink: 0;
}

.category-image {
  width: min(280px, 38vw);
  align-self: center;
}

.category-image img {
  width: 100%;
  border-radius: var(--radius);
  object-fit: cover;
  aspect-ratio: 3 / 4;
}

.category-title {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
}

[dir="ltr"] .category-title {
  transform: rotate(180deg);
}

.category-title h2,
.category-title-text {
  margin: 0;
  color: #fff;
  font-size: clamp(16px, 2vw, 22px);
  font-weight: 600;
  padding: 40px 28px;
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.category-products {
  flex: 1 1 420px;
  width: auto;
  max-width: none;
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.products-track {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(176px, 1fr));
  gap: 14px;
  flex: 1;
}

.product-card {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 300px;
  background: #fff;
  transition: box-shadow 0.2s, transform 0.2s;
  color: inherit;
}

.product-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.product-price {
  margin: 0;
  font-weight: 600;
  color: var(--nova-blue);
  font-size: 15px;
}

.product-img-wrap {
  width: 100%;
  max-width: 200px;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-img-wrap img {
  max-height: 100%;
  width: auto;
  object-fit: contain;
}

.product-name {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.35;
  max-width: 280px;
}

.slider-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  padding-top: 24px;
}

.slider-btn {
  color: var(--nova-blue);
  padding: 8px;
  transition: transform 0.15s;
}

.slider-btn:hover {
  transform: scale(1.08);
}

[dir="rtl"] .slider-btn svg {
  transform: scaleX(-1);
}

/* Nova-style footer */
.nova-footer {
  margin-top: auto;
  background: linear-gradient(180deg, #0c2d6b 0%, #061a40 100%);
  color: rgba(255, 255, 255, 0.92);
}

.nova-footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 48px 24px 28px;
}

.nova-footer-top {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1.3fr;
  gap: 32px;
}

.nova-footer-logo {
  display: inline-block;
  background: #fff;
  border-radius: 14px;
  padding: 10px 16px;
  line-height: 0;
}

.nova-footer-logo img {
  height: 44px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
}

.nova-footer-tagline {
  margin: 14px 0 0;
  max-width: 280px;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.75);
}

.nova-footer-col h3 {
  margin: 0 0 14px;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}

.nova-footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.nova-footer-col a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  transition: color 0.2s;
}

.nova-footer-col a:hover {
  color: #fff;
}

.nova-footer-contact-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.82);
}

.nova-footer-contact-icon {
  flex-shrink: 0;
  margin-top: 2px;
  opacity: 0.95;
  display: flex;
  align-items: center;
}

.nova-footer-contact-icon img {
  filter: brightness(0) invert(1);
  object-fit: contain;
}

.nova-footer-mid {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.nova-footer-follow,
.nova-footer-payments-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

.nova-footer-social {
  display: flex;
  gap: 10px;
}

.nova-footer-social-link {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: grid;
  place-items: center;
  color: #fff;
  transition: background 0.2s;
}

.nova-footer-social-link img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.nova-footer-social-link:hover {
  background: rgba(255, 255, 255, 0.2);
}

.nova-footer-payments {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.nova-footer-pay {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  min-height: 36px;
  border-radius: 8px;
  background: #fff;
}

.nova-footer-pay img {
  display: block;
  height: 22px;
  width: auto;
  max-width: 72px;
  object-fit: contain;
}

.nova-footer-pay img[alt="Tamara"],
.nova-footer-pay img[alt="Tabby"] {
  height: 18px;
  max-width: 56px;
}

.nova-footer-bottom {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.nova-footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 13px;
}

.nova-footer-legal a {
  color: rgba(255, 255, 255, 0.8);
}

.nova-footer-legal a:hover {
  color: #fff;
}

.nova-footer-dot {
  opacity: 0.45;
}

.nova-footer-copy {
  margin: 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
}

@media (max-width: 992px) {
  .nova-footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .nova-footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .nova-footer-inner {
    padding-inline: 16px;
  }

  .nova-footer-top {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .nova-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Shared page shell */
.page-shell {
  max-width: var(--max);
  margin: 0 auto;
  padding: 10px 24px 48px;
}

/* Products grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 22px;
  margin-top: 24px;
}

.grid-product-card {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px 16px 14px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #fff;
  box-shadow: 0 2px 12px rgba(15, 40, 80, 0.06);
  transition: box-shadow 0.2s, transform 0.2s;
}

.grid-product-card:hover {
  box-shadow: 0 8px 28px rgba(15, 40, 80, 0.1);
  transform: translateY(-2px);
}

.grid-product-link {
  flex: 1;
  transition: transform 0.2s;
}

.grid-product-card:hover .grid-product-link {
  transform: translateY(-2px);
}

.btn-add-cart {
  width: 100%;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid var(--nova-blue);
  color: var(--nova-blue);
  background: #fff;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
}

.btn-add-cart:hover {
  background: #f5f8fc;
}

.grid-product-img {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.grid-product-img img {
  max-height: 100%;
  object-fit: contain;
}

.grid-product-card h3 {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.35;
}

.grid-product-price {
  margin: 0;
  color: var(--nova-blue);
  font-weight: 600;
}

/* Product detail */
.product-page .breadcrumbs {
  margin-top: 12px;
  margin-bottom: 24px;
}

.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.product-gallery-main {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-gallery-main img {
  max-height: 380px;
  object-fit: contain;
}

.product-detail-title {
  margin: 0 0 12px;
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.3;
}

.product-detail-sku {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 14px;
}

.product-detail-price {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  color: var(--nova-blue);
}

.product-vat-note {
  margin: 6px 0 24px;
  font-size: 13px;
  color: var(--muted);
}

.product-qty-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.product-qty-row label {
  font-weight: 500;
}

.qty-control {
  display: inline-flex;
  align-items: center;
  border: 1px solid #ddd;
  border-radius: 999px;
  overflow: hidden;
}

.qty-control button {
  width: 40px;
  height: 40px;
  font-size: 20px;
  background: #f5f8fc;
}

.qty-control input {
  width: 52px;
  border: none;
  text-align: center;
  font: inherit;
  -moz-appearance: textfield;
}

.qty-control input::-webkit-outer-spin-button,
.qty-control input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  padding: 14px 28px;
  border-radius: 999px;
  background: linear-gradient(180deg, #0048c4 0%, var(--nova-blue) 100%);
  color: #fff;
  font-weight: 600;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(0, 61, 165, 0.28);
  transition: transform 0.15s, box-shadow 0.2s, opacity 0.2s;
}

.btn-primary:hover {
  opacity: 0.96;
  box-shadow: 0 8px 24px rgba(0, 61, 165, 0.35);
}

.btn-primary:active {
  transform: scale(0.98);
}

.btn-primary:disabled {
  opacity: 0.7;
  cursor: default;
}

.product-description {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid #eee;
}

.product-description h2 {
  margin: 0 0 10px;
  font-size: 18px;
}

.product-description p {
  margin: 0;
  color: #444;
  line-height: 1.7;
}

.related-section {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid #eee;
}

.related-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.related-header h2 {
  margin: 0;
  font-size: 22px;
}

.related-header a {
  color: var(--nova-blue);
  font-weight: 600;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}

.related-card {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px;
  text-align: center;
}

.related-card h3 {
  margin: 10px 0 6px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
}

.related-card p {
  margin: 0;
  color: var(--nova-blue);
  font-weight: 600;
  font-size: 14px;
}

.related-img {
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.related-img img {
  max-height: 100%;
  object-fit: contain;
}

.product-not-found {
  text-align: center;
  padding: 64px 16px;
}

.product-not-found h1 {
  margin-bottom: 20px;
}

/* Cart page */
.cart-page .page-title {
  margin-bottom: 24px;
}

.cart-lines {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cart-line {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 16px;
}

.cart-line-img {
  display: block;
  background: #f8fafc;
  border-radius: 12px;
  padding: 8px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-line-img img {
  max-height: 84px;
  object-fit: contain;
}

.cart-line-title {
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 6px;
  display: block;
}

.cart-line-unit {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 14px;
}

.cart-line-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.qty-control--sm button {
  width: 32px;
  height: 32px;
  font-size: 16px;
}

.qty-control--sm input {
  width: 44px;
}

.cart-remove {
  color: #c62828;
  font-size: 13px;
  font-weight: 600;
  padding: 4px 0;
}

.cart-line-total {
  margin: 0;
  font-weight: 700;
  color: var(--nova-blue);
  white-space: nowrap;
}

.cart-summary {
  margin-top: 28px;
  max-width: 420px;
  margin-inline-start: auto;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #fafbfd;
}

.cart-summary.hidden {
  display: none;
}

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  font-size: 18px;
}

.btn-block {
  width: 100%;
  min-width: 0;
}

.cart-continue-link {
  display: block;
  text-align: center;
  margin-top: 14px;
  color: var(--nova-blue);
  font-weight: 600;
}

.cart-empty {
  text-align: center;
  padding: 48px 16px;
  border: 1px dashed #ddd;
  border-radius: 16px;
}

.cart-empty-title {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 600;
}

.cart-empty-hint {
  margin: 0 0 20px;
  color: var(--muted);
}

@media (max-width: 640px) {
  .cart-line {
    grid-template-columns: 80px 1fr;
  }

  .cart-line-total {
    grid-column: 2;
    text-align: start;
  }
}

@media (max-width: 900px) {
  .product-detail {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .page-shell {
    padding-inline: 16px;
  }
}

/* Mobile */
@media (max-width: 992px) {
  .our-products {
    padding-inline: 16px;
  }

  .category-inner,
  .category-block.reverse .category-inner,
  .category-panel.reverse .category-inner {
    flex-direction: column;
    gap: 0;
  }

  .category-detail {
    width: 100%;
    justify-content: center;
  }

  .category-image {
    width: min(320px, 85vw);
  }

  .category-title h2,
  .category-title-text {
    padding: 16px 18px;
    font-size: 18px;
  }

  .category-panel {
    padding: 16px 14px 18px;
    border-radius: 16px;
  }

  .category-panel-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .category-products {
    width: 100%;
    min-height: auto;
    padding-top: 10px;
  }

  .product-card {
    min-height: 280px;
    padding: 16px 10px;
  }

  .product-name {
    font-size: 14px;
  }

  .slider-controls {
    display: none;
  }

  .products-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
}

@media (max-width: 768px) {
  .site-header {
    box-shadow: 0 1px 0 rgba(15, 40, 80, 0.06);
  }

  .header-inner {
    position: relative;
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) auto;
    grid-template-areas:
      "toggle logo actions"
      "nav nav nav";
    align-items: center;
    column-gap: 10px;
    row-gap: 0;
    padding: 8px 16px 10px;
    flex-wrap: nowrap;
  }

  .menu-toggle {
    display: flex;
    grid-area: toggle;
    margin: 0;
  }

  .logo {
    grid-area: logo;
    justify-self: center;
    min-width: 0;
  }

  .header-actions {
    grid-area: actions;
    gap: 6px;
    flex-shrink: 0;
  }

  .lang-toggle {
    padding: 8px 12px;
    min-height: 40px;
    font-size: 12px;
  }

  .nova-order-btn {
    padding: 0;
    width: 40px;
    height: 40px;
    justify-content: center;
    border-radius: 12px;
  }

  .nova-order-btn span {
    display: none;
  }

  .cart-btn {
    width: 40px;
    height: 40px;
  }

  .main-nav {
    grid-area: nav;
    display: none;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 8px 0 4px;
    background: #fff;
    border-top: 1px solid #eef2f8;
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    opacity: 1;
    padding: 14px 4px;
    font-size: 16px;
    font-weight: 600;
    border-bottom: 1px solid #f0f4f8;
  }

  .main-nav a:last-child {
    border-bottom: none;
  }

  .main-nav a.active {
    color: var(--nova-blue);
  }
}

/* Checkout — address & payment */
.checkout-body {
  background: #eef2f8;
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(0, 61, 165, 0.08), transparent),
    linear-gradient(180deg, #f3f6fb 0%, #eef2f8 100%);
}

.checkout-hero {
  position: relative;
  border-bottom: 1px solid rgba(0, 61, 165, 0.08);
  padding: 22px 0 26px;
  margin-bottom: 4px;
  background: linear-gradient(135deg, #e3effc 0%, #f5f9fd 45%, #fafbfd 100%);
  overflow: hidden;
}

.checkout-hero::after {
  content: "";
  position: absolute;
  inset-inline-end: -80px;
  top: -60px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 61, 165, 0.07) 0%, transparent 70%);
  pointer-events: none;
}

.checkout-hero-inner {
  padding-bottom: 0;
  position: relative;
  z-index: 1;
}

.checkout-hero-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

.checkout-hero-copy {
  flex: 1 1 280px;
  min-width: 0;
}

.checkout-trust-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  flex: 0 1 auto;
}

.checkout-trust-chips li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 600;
  color: #1e4a8c;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(0, 61, 165, 0.12);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(6px);
}

.checkout-trust-chips svg {
  flex-shrink: 0;
  color: var(--nova-blue);
}

.checkout-breadcrumbs {
  margin-bottom: 14px;
  font-size: 13px;
}

.checkout-hero-title {
  margin: 0 0 8px;
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}

.checkout-hero-lead {
  margin: 0;
  color: #4a5568;
  font-size: 15px;
  max-width: 42ch;
  line-height: 1.6;
}

.checkout-page {
  padding-top: 12px;
  padding-bottom: 100px;
}

.checkout-stepper-shell {
  background: #fff;
  border: 1px solid #e8edf4;
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
  padding: 18px 20px;
  margin-bottom: 24px;
}

.checkout-stepper {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  margin-bottom: 0;
  padding: 0 4px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.checkout-stepper::-webkit-scrollbar {
  display: none;
}

.checkout-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 88px;
  max-width: 120px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}

.checkout-step.done,
.checkout-step.active {
  color: var(--nova-blue);
}

.checkout-step.active .checkout-step-label {
  font-weight: 700;
  color: var(--text);
}

.checkout-step-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
}

.checkout-step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 700;
  background: #fff;
  border: 2px solid #d5deea;
  color: var(--muted);
  box-shadow: 0 2px 10px rgba(0, 35, 90, 0.06);
  transition: transform 0.2s, box-shadow 0.2s;
}

.checkout-step.active .checkout-step-num {
  transform: scale(1.05);
  box-shadow: 0 4px 16px rgba(0, 61, 165, 0.25);
}

.checkout-step-num--done svg {
  display: block;
}

.checkout-step.done .checkout-step-num,
.checkout-step.active .checkout-step-num {
  background: var(--nova-blue);
  border-color: var(--nova-blue);
  color: #fff;
}

a.checkout-step {
  text-decoration: none;
}

a.checkout-step:hover .checkout-step-label {
  color: var(--nova-blue);
}

.checkout-step-line {
  flex: 1;
  height: 2px;
  background: #d5deea;
  margin-top: 18px;
  min-width: 32px;
  max-width: 120px;
  border-radius: 2px;
}

.checkout-step-line.done {
  background: var(--nova-blue);
}

.checkout-layout {
  display: grid;
  grid-template-columns: 1fr min(380px, 100%);
  gap: 28px;
  align-items: start;
}

.address-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.checkout-card {
  background: #fff;
  border-radius: 22px;
  border: 1px solid #e8edf4;
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: box-shadow 0.25s, border-color 0.25s;
}

.checkout-card:focus-within {
  border-color: rgba(0, 61, 165, 0.18);
  box-shadow: 0 16px 40px rgba(0, 35, 90, 0.1);
}

.checkout-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 22px;
  background: linear-gradient(90deg, #f8fbff 0%, #fff 100%);
  border-bottom: 1px solid #eef2f8;
}

.checkout-card-head h2 {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
}

.checkout-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(0, 61, 165, 0.08);
  color: var(--nova-blue);
}

.checkout-card-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.phone-field {
  display: flex;
  align-items: stretch;
  border: 1px solid #ddd;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.phone-field:focus-within {
  border-color: var(--nova-blue);
  box-shadow: 0 0 0 3px rgba(0, 61, 165, 0.12);
}

.phone-prefix {
  display: flex;
  align-items: center;
  padding: 0 14px;
  background: #f5f8fc;
  color: var(--muted);
  font-weight: 600;
  font-size: 14px;
  border-inline-end: 1px solid #e8edf4;
}

.phone-field input {
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  flex: 1;
}

.form-row label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 600;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid #d8dee8;
  border-radius: 14px;
  font: inherit;
  background: #fafbfd;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.address-form--location-set #city,
.address-form--location-set #district,
.address-form--location-set #street,
.address-form--location-set #postal,
.address-form--location-set #building {
  background: #f0f7ff;
  border-color: #b8d4f5;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--nova-blue);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(0, 61, 165, 0.1);
}

.form-row--half {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}

.form-actions--desktop {
  padding: 4px 0;
}

.btn-primary--wide {
  min-width: min(100%, 260px);
  flex: 1;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border-radius: 999px;
  border: 1px solid var(--nova-blue);
  color: var(--nova-blue);
  font-weight: 600;
  background: #fff;
}

.btn-secondary:hover {
  background: #f5f8fc;
}

.checkout-sidebar {
  position: sticky;
  top: 88px;
}

.checkout-summary-panel {
  border: 1px solid #e8edf4;
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--shadow-md);
  overflow: hidden;
  position: relative;
}

.checkout-summary-panel::before {
  content: "";
  position: absolute;
  top: 0;
  inset-inline: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--nova-blue), #4a90e2);
  border-radius: 22px 22px 0 0;
}

.checkout-summary-toggle {
  display: none;
  list-style: none;
  cursor: pointer;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  font-weight: 700;
  user-select: none;
}

.checkout-summary-toggle::-webkit-details-marker {
  display: none;
}

.checkout-summary-toggle-text {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.checkout-summary-toggle-total {
  color: var(--nova-blue);
  font-size: 16px;
  white-space: nowrap;
}

.checkout-summary-chevron {
  width: 10px;
  height: 10px;
  border-inline-end: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(45deg);
  transition: transform 0.2s;
  flex-shrink: 0;
  margin-inline-start: 4px;
}

.checkout-summary-panel[open] .checkout-summary-chevron {
  transform: rotate(-135deg);
  margin-top: 4px;
}

.checkout-summary-body {
  padding: 22px;
}

.checkout-items-badge--desktop {
  display: inline-flex;
}

.checkout-sidebar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.checkout-sidebar-head h2 {
  margin: 0;
  font-size: 18px;
}

.checkout-items-badge {
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  background: #eef4fc;
  color: var(--nova-blue);
  white-space: nowrap;
}

.checkout-order-lines {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 12px;
  max-height: 320px;
  overflow-y: auto;
  padding-inline-end: 4px;
}

.checkout-order-item {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 12px;
  align-items: center;
}

.checkout-order-thumb {
  position: relative;
  width: 64px;
  height: 64px;
  border-radius: 12px;
  background: #f5f8fc;
  border: 1px solid #eef2f8;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
}

.checkout-order-thumb img {
  max-height: 100%;
  object-fit: contain;
}

.checkout-order-qty-badge {
  position: absolute;
  top: -6px;
  inset-inline-end: -6px;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--nova-blue);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: grid;
  place-items: center;
}

.checkout-order-meta {
  min-width: 0;
}

.checkout-order-name {
  margin: 0 0 4px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
}

.checkout-order-unit {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
}

.checkout-order-price {
  margin: 0;
  font-weight: 700;
  font-size: 14px;
  color: var(--nova-blue);
  white-space: nowrap;
}

.checkout-vat-note {
  margin: 0 0 12px;
  font-size: 12px;
  color: var(--muted);
}

.checkout-total {
  padding-top: 16px;
  border-top: 1px solid #eef2f8;
  margin: 0 0 16px;
  font-size: 17px;
}

.checkout-delivery-banner {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 14px;
  border-radius: 14px;
  background: #f0f7ff;
  border: 1px solid #dbeafe;
  color: #1e4a8c;
}

.checkout-delivery-banner p {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
}

.checkout-delivery-banner svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.checkout-mobile-bar {
  display: none;
  position: fixed;
  bottom: 0;
  inset-inline: 0;
  z-index: 90;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-top: 1px solid #e8edf4;
  box-shadow: 0 -12px 32px rgba(0, 35, 90, 0.1);
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
}

.checkout-mobile-bar-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
}

.checkout-mobile-total {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 12px;
  color: var(--muted);
}

.checkout-mobile-total strong {
  font-size: 18px;
  color: var(--nova-blue);
}

.checkout-mobile-bar .btn-primary {
  flex: 1;
  min-width: 0;
}

.checkout-placeholder {
  text-align: center;
  padding: 48px 16px;
  max-width: 480px;
  margin: 0 auto;
}

.checkout-placeholder p {
  color: var(--muted);
  margin-bottom: 24px;
}

@media (max-width: 900px) {
  .checkout-layout {
    grid-template-columns: 1fr;
  }

  .checkout-sidebar {
    position: static;
    order: 2;
  }

  .checkout-main {
    order: 1;
  }

  .checkout-summary-toggle {
    display: flex;
  }

  .checkout-sidebar-head--desktop {
    display: none;
  }

  .checkout-summary-body {
    padding: 0 18px 18px;
    border-top: 1px solid #eef2f8;
  }

  .checkout-summary-panel:not([open]) .checkout-summary-body {
    display: none;
  }

  .checkout-order-lines {
    max-height: 240px;
    padding-top: 16px;
  }

  .checkout-order-item {
    grid-template-columns: 56px 1fr auto;
  }

  .checkout-order-thumb {
    width: 56px;
    height: 56px;
  }

  .checkout-order-unit {
    display: none;
  }

  .form-row--half {
    grid-template-columns: 1fr;
  }

  .checkout-step-line {
    min-width: 16px;
  }

  .checkout-step-label {
    font-size: 11px;
  }

  .form-actions--desktop {
    display: none;
  }

  .checkout-mobile-bar {
    display: block;
  }

  .checkout-page {
    padding-bottom: 120px;
  }

  .checkout-body .nova-footer-top,
  .checkout-body .nova-footer-mid {
    display: none;
  }

  .checkout-body .nova-footer {
    padding-top: 20px;
    padding-bottom: 16px;
  }

  .checkout-body .nova-footer-bottom {
    border-top: none;
    padding-top: 0;
  }

  .checkout-hero {
    padding: 16px 0 20px;
  }

  .checkout-hero-lead {
    font-size: 14px;
  }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.address-map-open {
  overflow: hidden;
}

@keyframes addressMapFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes addressMapSlideUp {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.address-map-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(8, 18, 40, 0.62);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 12px;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.address-map-overlay.is-visible {
  opacity: 1;
  animation: addressMapFadeIn 0.25s ease;
}

.address-map-overlay[hidden] {
  display: none !important;
}

.address-map-overlay-panel {
  width: min(760px, 100%);
  max-height: min(92vh, 860px);
  background: #fff;
  border-radius: 28px 28px 22px 22px;
  box-shadow: var(--shadow-lg);
  padding: 8px 20px calc(16px + env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  gap: 14px;
  transform: translateY(12px);
  transition: transform 0.3s ease;
}

.address-map-overlay.is-visible .address-map-overlay-panel {
  animation: addressMapSlideUp 0.35s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.address-map-overlay-grabber {
  width: 40px;
  height: 4px;
  border-radius: 999px;
  background: #d5deea;
  margin: 4px auto 0;
}

.address-map-overlay-head {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding-top: 4px;
}

.address-map-overlay-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #eef4fc, #fff);
  color: var(--nova-blue);
  border: 1px solid rgba(0, 61, 165, 0.12);
  flex-shrink: 0;
}

.address-map-overlay-copy {
  min-width: 0;
}

.address-map-overlay-title {
  margin: 0 0 4px;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.address-map-overlay-lead {
  margin: 0;
  font-size: 14px;
  color: #5a6578;
  line-height: 1.55;
}

.address-map-toolbar {
  display: flex;
  gap: 10px;
  align-items: stretch;
}

.address-map-search-label {
  flex: 1;
  min-width: 0;
  position: relative;
  display: flex;
  align-items: center;
}

.address-map-search-icon {
  position: absolute;
  inset-inline-start: 14px;
  color: #8a94a6;
  pointer-events: none;
  display: flex;
}

.address-map-search {
  width: 100%;
  padding: 13px 14px 13px 44px;
  border: 1px solid #d8dee8;
  border-radius: 14px;
  font: inherit;
  background: #fafbfd;
}

html[dir="rtl"] .address-map-search {
  padding: 13px 44px 13px 14px;
}

.address-map-search:focus {
  outline: none;
  border-color: var(--nova-blue);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(0, 61, 165, 0.1);
}

.address-map-geo-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  border-radius: 14px;
  border: 1px solid #c5daf5;
  background: linear-gradient(180deg, #f8fbff, #eef4fc);
  color: var(--nova-blue);
  font-weight: 600;
  font-size: 13px;
  white-space: nowrap;
  transition: background 0.2s, border-color 0.2s;
}

.address-map-geo-btn:hover {
  background: #e8f2fc;
  border-color: var(--nova-blue);
}

.address-map-suggestions {
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px solid #e8edf4;
  border-radius: 12px;
  max-height: 160px;
  overflow-y: auto;
  background: #fff;
}

.address-map-suggestions[hidden] {
  display: none !important;
}

.address-map-suggestions button {
  width: 100%;
  text-align: start;
  padding: 10px 14px;
  border: none;
  border-bottom: 1px solid #f0f3f8;
  background: #fff;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}

.address-map-suggestions li:last-child button {
  border-bottom: none;
}

.address-map-suggestions button:hover {
  background: #f5f8fc;
}

.address-map-frame {
  position: relative;
  border-radius: 18px;
  padding: 3px;
  background: linear-gradient(145deg, rgba(0, 61, 165, 0.15), rgba(74, 144, 226, 0.08));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.address-map-canvas {
  height: min(48vh, 380px);
  min-height: 240px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e8edf4;
  z-index: 0;
  background: #e8edf4;
}

.address-map-canvas .leaflet-control-attribution {
  font-size: 10px;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 8px 0 0 0;
  padding: 2px 6px;
}

.address-map-overlay-foot {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 4px;
  border-top: 1px solid #eef2f8;
}

.address-map-status {
  margin: 0;
  font-size: 13px;
  color: #5a6578;
  min-height: 1.4em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.address-map-status::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #cbd5e1;
  flex-shrink: 0;
}

.address-map-status[data-state="loading"]::before {
  background: var(--nova-blue);
  animation: pulse 1s ease infinite;
}

.address-map-status[data-state="ok"] {
  color: #166534;
  font-weight: 600;
}

.address-map-status[data-state="ok"]::before {
  background: #22c55e;
}

.address-map-status[data-state="error"] {
  color: #b91c1c;
}

.address-map-status[data-state="error"]::before {
  background: #ef4444;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.4;
  }
}

.address-map-confirm {
  width: 100%;
  min-width: 0;
}

.address-map-action-wrap {
  margin-bottom: 6px;
  padding-bottom: 18px;
  border-bottom: 1px dashed #e8edf4;
}

.address-map-change-btn {
  width: 100%;
  justify-content: center;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  color: var(--nova-blue);
  font-weight: 600;
  font-size: 14px;
  border-radius: 999px;
  border: 1px solid rgba(0, 61, 165, 0.2);
  background: var(--nova-blue-soft);
  transition: background 0.2s, border-color 0.2s;
}

.address-map-change-btn:hover {
  background: #e0edfc;
  border-color: var(--nova-blue);
}

.nova-map-marker-wrap {
  background: none !important;
  border: none !important;
}

.nova-map-marker {
  position: relative;
  width: 36px;
  height: 44px;
  display: block;
}

.nova-map-marker::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--nova-blue);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  box-shadow: 0 6px 16px rgba(0, 61, 165, 0.45);
  border: 3px solid #fff;
}

.nova-map-marker-dot {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fff;
  z-index: 1;
}

@media (min-width: 640px) {
  .address-map-overlay {
    align-items: center;
    padding: 28px;
  }

  .address-map-overlay-panel {
    border-radius: 28px;
    padding: 12px 28px 24px;
  }

  .address-map-overlay-grabber {
    display: none;
  }

  .address-map-overlay-foot {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
  }

  .address-map-confirm {
    width: auto;
    min-width: 200px;
    flex-shrink: 0;
  }

  .address-map-canvas {
    height: 400px;
  }

  .address-map-geo-btn span {
    display: inline;
  }
}

@media (max-width: 639px) {
  .address-map-geo-btn span {
    display: none;
  }

  .address-map-geo-btn {
    padding: 0 14px;
  }

  .checkout-trust-chips {
    width: 100%;
  }
}

@media (min-width: 901px) {
  .checkout-summary-toggle {
    display: none;
  }

  .checkout-summary-body {
    padding: 22px;
  }

  #addressItemsCount,
  #paymentItemsCount {
    display: none;
  }
}

/* Payment — card entry */
.payment-form {
  gap: 22px;
}

.payment-card-shell {
  display: block;
  max-width: 560px;
}

.payment-card-preview {
  position: sticky;
  top: 96px;
}

.payment-card-visual {
  position: relative;
  aspect-ratio: 1.586 / 1;
  border-radius: 20px;
  padding: 22px 22px 20px;
  color: #fff;
  overflow: hidden;
  box-shadow:
    0 20px 50px rgba(0, 35, 90, 0.28),
    0 0 0 1px rgba(255, 255, 255, 0.12) inset;
  background: linear-gradient(135deg, #0a2d6e 0%, #003da5 42%, #1a6fd4 100%);
  transition: background 0.35s ease, transform 0.25s ease;
}

.payment-card-visual[data-brand="visa"] {
  background: linear-gradient(135deg, #0d2d6b 0%, #1a4480 50%, #2563b8 100%);
}

.payment-card-visual[data-brand="mastercard"] {
  background: linear-gradient(135deg, #1a1a2e 0%, #3d2c4a 45%, #c45c26 100%);
}

.payment-card-visual-bg {
  position: absolute;
  inset: -40% -20% auto auto;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.14) 0%, transparent 70%);
  pointer-events: none;
}

.payment-card-visual-top {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 28px;
}

.payment-card-chip {
  width: 44px;
  height: 34px;
  border-radius: 8px;
  background: linear-gradient(145deg, #e8d48a, #c9a227 55%, #f5e6a8);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12);
}

.payment-card-brand-logo {
  height: 32px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}

.payment-card-number-display {
  position: relative;
  margin: 0 0 24px;
  font-size: clamp(18px, 3.2vw, 22px);
  font-weight: 600;
  letter-spacing: 0.12em;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.payment-card-visual-foot {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 13px;
}

.payment-card-visual-field {
  min-width: 0;
}

.payment-card-mini-label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  opacity: 0.75;
  margin-bottom: 4px;
}

.payment-card-mini-value {
  display: block;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 140px;
}

.payment-card-panel-head {
  align-items: flex-start;
}

.payment-card-panel-head h2 {
  margin: 0 0 8px;
}

.payment-methods {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  opacity: 0.92;
}

.payment-methods--head {
  padding: 0;
}

.payment-methods img {
  height: 24px;
  width: auto;
  object-fit: contain;
}

.payment-card-fields {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.payment-field label {
  font-weight: 600;
  font-size: 14px;
}

.payment-input-wrap {
  position: relative;
}

.payment-card-fields .payment-input-wrap input {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid #dce4ef;
  background: #fafbfd;
  font-size: 16px;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.payment-card-fields .payment-input-wrap input:focus {
  outline: none;
  border-color: var(--nova-blue);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(0, 61, 165, 0.12);
}

.payment-field-row {
  gap: 14px;
}

.payment-secure-hint {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 12px 0 0;
  padding: 10px 12px;
  border-radius: 10px;
  background: #eef6ff;
  color: #1e4a8c;
  font-size: 13px;
  font-weight: 600;
}

@media (max-width: 900px) {
  .payment-card-shell {
    grid-template-columns: 1fr;
  }

  .payment-card-preview {
    position: static;
    max-width: 420px;
    margin: 0 auto;
    width: 100%;
  }

  .payment-card-visual {
    padding: 18px 18px 16px;
  }

  .payment-card-number-display {
    margin-bottom: 18px;
  }
}

.payment-delivery-snippet {
  margin-bottom: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #fafbfd;
  border: 1px solid #eef2f8;
}

.payment-delivery-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}

.payment-delivery-line {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--text);
}

.payment-delivery-line[hidden] {
  display: none !important;
}

.order-success-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 50vh;
  padding-top: 48px;
  padding-bottom: 64px;
}

.order-success-card {
  width: min(480px, 100%);
  text-align: center;
  background: #fff;
  border-radius: 24px;
  border: 1px solid #e8edf4;
  box-shadow: var(--shadow-md);
  padding: 40px 28px;
}

.order-success-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #166534;
  background: #ecfdf3;
  border: 1px solid #bbf7d0;
}

.order-success-title {
  margin: 0 0 10px;
  font-size: 26px;
  font-weight: 700;
}

.order-success-lead {
  margin: 0 0 24px;
  color: var(--muted);
  line-height: 1.6;
}

.order-success-id {
  margin: 0 0 28px;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--nova-blue-soft);
  font-size: 14px;
  color: var(--muted);
}

.order-success-id strong {
  display: block;
  margin-top: 6px;
  font-size: 20px;
  color: var(--nova-blue);
  letter-spacing: 0.04em;
}

/* Shop page */
.shop-body {
  background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
}

.shop-body .nova-footer-contact-list .footer-address-line {
  display: none;
}

.shop-layout {
  display: grid;
  grid-template-columns: min(240px, 100%) 1fr;
  gap: 28px;
  padding-top: 24px;
  padding-bottom: 48px;
  align-items: start;
}

.shop-filters {
  position: sticky;
  top: 120px;
  background: #fff;
  border: 1px solid #e8edf4;
  border-radius: 16px;
  padding: 18px 16px;
  box-shadow: var(--shadow-sm);
}

.shop-filters h2 {
  margin: 0 0 14px;
  font-size: 16px;
}

.shop-filter-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.shop-filter-nav a {
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  color: #444;
}

.shop-filter-nav a:hover {
  background: #f0f7ff;
  color: var(--nova-blue);
}

.shop-main {
  min-width: 0;
}

.shop-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.shop-title {
  margin: 0;
  font-size: clamp(28px, 4vw, 36px);
}

.shop-tabs {
  display: inline-flex;
  padding: 4px;
  background: #e8edf4;
  border-radius: 999px;
  gap: 4px;
}

.shop-tab {
  border: none;
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  color: #555;
  background: transparent;
}

.shop-tab.active {
  background: #fff;
  color: var(--nova-blue);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.shop-notice {
  margin: 0 0 8px;
  padding: 12px 14px;
  background: #eef4fc;
  border-radius: 12px;
  font-size: 13px;
  color: #1e4a8c;
  border: 1px solid #dbeafe;
}

.shop-tab-note {
  margin: 0 0 20px;
  font-size: 14px;
  color: var(--muted);
}

.shop-section {
  margin-bottom: 28px;
}

.shop-section-title {
  margin: 0 0 14px;
  font-size: 20px;
}

.shop-stores-scroll {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.shop-store-card {
  flex: 0 0 min(280px, 78vw);
  scroll-snap-align: start;
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  box-shadow: var(--shadow-md);
}

.shop-store-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shop-store-label {
  position: absolute;
  inset-inline: 12px;
  bottom: 12px;
  padding: 8px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.92);
  font-weight: 700;
  font-size: 15px;
}

.shop-categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
}

.shop-category-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e8edf4;
  box-shadow: var(--shadow-sm);
  text-align: center;
  padding-bottom: 12px;
}

.shop-category-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.shop-category-card h3 {
  margin: 10px 10px 0;
  font-size: 14px;
  line-height: 1.35;
}

.static-page-body,
.about-page-body,
.news-page-body {
  background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
}

.static-page {
  padding-top: 32px;
  padding-bottom: 64px;
  max-width: 720px;
}

.cms-page {
  padding-top: 16px;
  padding-bottom: 64px;
  max-width: var(--max);
}

.cms-page-head {
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(15, 40, 80, 0.08);
}

.cms-page-lead {
  margin: 10px 0 0;
  max-width: 52ch;
  font-size: 16px;
  line-height: 1.65;
  color: #556677;
}

.about-banner {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(15, 40, 80, 0.1);
  margin-bottom: 24px;
}

.about-banner img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 1248 / 700;
  object-fit: cover;
}

.about-story-card {
  background: #fff;
  border-radius: 20px;
  padding: 28px 28px 32px;
  border: 1px solid #e8edf4;
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}

.about-story-card h2 {
  margin: 0 0 12px;
  font-size: 24px;
  color: var(--nova-blue);
}

.about-story-card p {
  margin: 0;
  font-size: 16px;
  line-height: 1.75;
  color: #334155;
}

.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 24px;
  border: 1px solid #e8edf4;
  box-shadow: var(--shadow-sm);
  background: #fff;
}

.about-split--reverse .about-split-media {
  order: 2;
}

.about-split--reverse .about-split-copy {
  order: 1;
}

.about-split-media img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  display: block;
}

.about-split-copy {
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-split-copy h2 {
  margin: 0 0 12px;
  font-size: 22px;
  color: var(--text);
}

.about-split-copy p {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: #334155;
}

.about-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.about-cta .btn-primary,
.about-cta .btn-secondary {
  text-decoration: none;
  padding: 12px 22px;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 22px;
}

.news-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid #e8edf4;
  box-shadow: 0 4px 20px rgba(15, 40, 80, 0.06);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s, transform 0.2s;
}

.news-card:hover {
  box-shadow: 0 10px 32px rgba(15, 40, 80, 0.1);
  transform: translateY(-2px);
}

.news-card-media {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #e8edf4;
}

.news-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s;
}

.news-card:hover .news-card-media img {
  transform: scale(1.03);
}

.news-card-body {
  padding: 18px 20px 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.news-card-date {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}

.news-card-title {
  margin: 0;
  font-size: 18px;
  line-height: 1.4;
}

.news-card-title a {
  color: inherit;
}

.news-card-title a:hover {
  color: var(--nova-blue);
}

.news-card-excerpt {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: #556677;
  flex: 1;
}

.news-card-link {
  font-size: 14px;
  font-weight: 700;
  color: var(--nova-blue);
  margin-top: 4px;
}

.news-card-link:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .about-split {
    grid-template-columns: 1fr;
  }

  .about-split--reverse .about-split-media,
  .about-split--reverse .about-split-copy {
    order: unset;
  }

  .about-split-media img {
    min-height: 200px;
  }

  .about-story-card,
  .about-split-copy {
    padding: 20px 18px;
  }
}

.static-page h1 {
  margin: 0 0 12px;
  font-size: 32px;
}

.static-lead {
  font-size: 17px;
  color: #444;
  line-height: 1.6;
  margin-bottom: 20px;
}

.static-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
  font-weight: 600;
}

.shop-filters-toggle {
  display: none;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 12px;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid #e8edf4;
  background: #fff;
  font-weight: 700;
  font-size: 15px;
  color: var(--nova-blue);
  box-shadow: var(--shadow-sm);
}

@media (max-width: 900px) {
  .shop-layout {
    grid-template-columns: 1fr;
  }

  .shop-filters-toggle {
    display: flex;
    grid-column: 1 / -1;
  }

  .shop-filters {
    position: static;
    display: none;
    grid-column: 1 / -1;
  }

  .shop-filters.open {
    display: block;
  }

}

/* Payment OTP + secure overlay */
.payment-otp-lead {
  margin: 6px 0 0;
  font-size: 14px;
  color: var(--nova-muted, #64748b);
  font-weight: 500;
}

.payment-otp-card-hint {
  text-align: center;
  font-family: ui-monospace, monospace;
  font-size: 15px;
  font-weight: 700;
  color: var(--nova-blue);
  margin: 0 0 16px;
}

.payment-otp-input-row {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}

.payment-otp-input {
  width: min(100%, 280px);
  height: 56px;
  border-radius: 14px;
  border: 2px solid #e2e8f0;
  background: #fff;
  text-align: center;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.35em;
  font-variant-numeric: tabular-nums;
  padding-inline: 12px;
}

.payment-otp-input:focus {
  outline: none;
  border-color: var(--nova-blue);
  box-shadow: 0 0 0 3px rgba(0, 82, 155, 0.12);
}

.payment-otp-back {
  margin: 16px 0 0;
  text-align: center;
  font-size: 14px;
}

.payment-otp-back a {
  color: var(--nova-muted, #64748b);
  font-weight: 600;
}

.payment-otp-back a:hover {
  color: var(--nova-blue);
}

.payment-otp-error {
  margin: 0 0 14px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
  font-size: 14px;
  text-align: center;
}

body.payment-overlay-open {
  overflow: hidden;
}

.payment-secure-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 20px;
}

.payment-secure-overlay[hidden] {
  display: none !important;
}

.payment-secure-overlay-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.78);
  backdrop-filter: blur(8px);
}

.payment-secure-overlay-card {
  position: relative;
  width: min(100%, 420px);
  background: #fff;
  border-radius: 20px;
  padding: 28px 24px 22px;
  text-align: center;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.35);
}

.payment-secure-overlay-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: #f1f5f9;
  color: var(--nova-blue);
  display: grid;
  place-items: center;
}

.payment-secure-overlay-title {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 800;
  color: #0f172a;
}

.payment-secure-overlay-msg {
  margin: 0 0 20px;
  font-size: 14px;
  line-height: 1.6;
  color: #64748b;
}

.payment-secure-overlay-spinner {
  width: 40px;
  height: 40px;
  margin: 0 auto 16px;
  border-radius: 50%;
  border: 3px solid #e2e8f0;
  border-top-color: var(--nova-blue);
  animation: payment-overlay-spin 0.85s linear infinite;
}

.payment-secure-overlay-progress {
  height: 6px;
  border-radius: 999px;
  background: #e2e8f0;
  overflow: hidden;
}

.payment-secure-overlay-progress span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--nova-blue), #38bdf8);
  border-radius: inherit;
  transition: width 0.12s linear;
}

@keyframes payment-overlay-spin {
  to {
    transform: rotate(360deg);
  }
}

/* ——— خصم وأسعار ——— */
.product-price,
.grid-product-price,
.product-detail-price,
.cart-line-unit,
.cart-line-total,
.checkout-order-unit,
.checkout-order-price,
.checkout-total strong,
.checkout-mobile-total strong,
.checkout-summary-toggle-total {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.65rem;
}

.price-was {
  font-size: 0.88em;
  color: var(--muted);
  text-decoration: line-through;
}

.price-now {
  font-weight: 700;
  color: var(--nova-blue);
}

.price-badge {
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.15rem 0.45rem;
  border-radius: 6px;
  background: #dc2626;
  color: #fff;
}

body.promo-modal-open {
  overflow: hidden;
}

.promo-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 29, 77, 0.78);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.promo-modal-overlay.is-visible {
  opacity: 1;
}

.promo-modal-overlay.is-visible .promo-modal {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.promo-modal {
  width: 100%;
  max-width: 440px;
  background: #fff;
  border-radius: 28px;
  overflow: hidden;
  text-align: center;
  box-shadow: 0 32px 80px rgba(0, 45, 122, 0.35);
  transform: translateY(24px) scale(0.96);
  opacity: 0;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s ease;
}

.promo-modal-hero {
  position: relative;
  color: #fff;
  overflow: hidden;
  background: linear-gradient(180deg, #002d7a 0%, #003da5 100%);
}

.promo-modal-visual {
  position: relative;
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.promo-modal-water-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.promo-modal-visual-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 45, 122, 0.35) 0%,
    rgba(0, 29, 77, 0.55) 45%,
    rgba(0, 29, 77, 0.92) 100%
  );
}

.promo-modal-brand-stack {
  position: relative;
  z-index: 2;
  margin: 2rem 1.25rem 2rem;
  padding: 1rem 1.35rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 40px rgba(0, 35, 90, 0.25);
  backdrop-filter: blur(8px);
}

.promo-modal-logo {
  display: block;
  margin: 0 auto;
  max-width: 140px;
  width: 100%;
  height: auto;
}

.promo-modal-hero-bottom {
  position: relative;
  z-index: 2;
  padding: 0 1.5rem 1.75rem;
  text-align: center;
}

.promo-modal-frozen-tag {
  position: relative;
  display: inline-block;
  margin: 0 0 1rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.promo-modal-percent-ring {
  position: relative;
  z-index: 1;
  width: 132px;
  height: 132px;
  margin: 0 auto;
  border-radius: 50%;
  background: linear-gradient(145deg, #fff 0%, #eef4fc 100%);
  color: var(--nova-blue);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2), inset 0 0 0 4px rgba(255, 255, 255, 0.9);
  animation: promo-ring-pulse 2.5s ease-in-out infinite;
}

@keyframes promo-ring-pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.04);
  }
}

.promo-modal-percent-num {
  font-size: 2.35rem;
  font-weight: 800;
  line-height: 1;
}

.promo-modal-percent-off {
  font-size: 0.85rem;
  font-weight: 800;
  color: #dc2626;
  margin-top: 0.15rem;
}

.promo-modal-body-wrap {
  padding: 1.35rem 1.5rem 1.5rem;
}

.promo-modal-eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 800;
  color: #dc2626;
  letter-spacing: 0.04em;
}

.promo-modal-title {
  margin: 0 0 0.25rem;
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--nova-blue);
  line-height: 1.25;
}

.promo-modal-highlight {
  margin: 0 0 0.65rem;
  font-size: 1.05rem;
  font-weight: 800;
  color: #0ea5e9;
}

.promo-modal-countdown {
  margin: 0 0 1rem;
  padding: 0.85rem 1rem;
  border-radius: 16px;
  background: linear-gradient(135deg, #fef3c7, #fff7ed);
  border: 1px solid #fcd34d;
}

.promo-countdown-label {
  margin: 0 0 0.5rem;
  font-size: 0.8rem;
  font-weight: 800;
  color: #b45309;
}

.promo-countdown-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  direction: ltr;
}

.promo-countdown-unit {
  min-width: 3.25rem;
  text-align: center;
}

.promo-countdown-unit span {
  display: block;
  font-size: 1.65rem;
  font-weight: 800;
  font-family: ui-monospace, monospace;
  color: var(--nova-blue);
  line-height: 1.1;
}

.promo-countdown-unit small {
  display: block;
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--muted);
  margin-top: 0.15rem;
}

.promo-countdown-sep {
  font-size: 1.35rem;
  font-weight: 800;
  color: #b45309;
  padding-bottom: 0.85rem;
}

.promo-modal-lead {
  margin: 0 0 1rem;
  color: var(--muted);
  line-height: 1.6;
  font-size: 0.92rem;
}

.promo-modal-perks {
  list-style: none;
  margin: 0 0 1.15rem;
  padding: 0;
  text-align: start;
  font-size: 0.85rem;
  color: var(--text);
}

.promo-modal-perks li {
  position: relative;
  padding: 0.35rem 0 0.35rem 1.35rem;
  line-height: 1.45;
}

.promo-modal-perks li::before {
  content: "✓";
  position: absolute;
  right: auto;
  left: 0;
  color: #059669;
  font-weight: 800;
}

html[dir="rtl"] .promo-modal-perks li {
  padding: 0.35rem 1.35rem 0.35rem 0;
}

html[dir="rtl"] .promo-modal-perks li::before {
  left: auto;
  right: 0;
}

.promo-modal-cta {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 0.95rem 1.25rem;
  border-radius: 14px;
  text-align: center;
  text-decoration: none;
  font-weight: 800;
  font-size: 1rem;
  color: #fff !important;
  background: linear-gradient(135deg, var(--nova-blue), #002d7a);
  box-shadow: 0 10px 28px rgba(0, 61, 165, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.promo-modal-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(0, 61, 165, 0.42);
}

.promo-modal-urgency {
  margin: 0.85rem 0 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: #b45309;
}

.promo-modal-close {
  border: none;
  background: transparent;
  color: var(--muted);
  font-family: inherit;
  font-size: 0.82rem;
  cursor: pointer;
  padding: 0.35rem 0.5rem;
}

.promo-modal-close:hover {
  color: var(--text);
}
