:root {
  --navy: #071b3d;
  --ink: #10233f;
  --blue: #0f5fa8;
  --royal: #176ed0;
  --sky: #d9ecff;
  --ice: #f4f9ff;
  --line: #d7e7f7;
  --gold: #c79b45;
  --text: #1e2b3d;
  --muted: #64748b;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(7, 27, 61, .12);
}

@keyframes soft-rise {
  from {
    opacity: 0;
    transform: translateY(22px) scale(.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes soft-glow {
  0%, 100% { box-shadow: 0 18px 45px rgba(7, 27, 61, .08); }
  50% { box-shadow: 0 24px 60px rgba(29, 111, 214, .16); }
}

.reveal-item {
  opacity: 0;
  transform: translateY(22px) scale(.985);
  transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal-item.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.catalog-grid .product.reveal-item {
  opacity: 1;
  transform: none;
}

.catalog-page .reveal-item,
section.reveal-item:has(.catalog-grid) {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

.btn,
.product,
.category,
.deal,
.article,
.feature,
.contact-card {
  transition-property: transform, box-shadow, border-color, background, color;
  transition-duration: .25s;
  transition-timing-function: ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.product:hover,
.category:hover,
.deal:hover,
.article:hover,
.feature:hover,
.contact-card:hover {
  animation: soft-glow 1.8s ease infinite;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }

  .reveal-item {
    opacity: 1;
    transform: none;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Tahoma, Arial, sans-serif;
  direction: rtl;
  color: var(--text);
  background: var(--white);
  line-height: 1.75;
}

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

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

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.topbar {
  background: var(--navy);
  color: #d8e9fb;
  font-size: 13px;
}

.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 38px;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, .88);
  border-bottom: 1px solid rgba(183, 213, 238, .78);
  box-shadow: 0 14px 42px rgba(7, 27, 61, .08);
  backdrop-filter: blur(18px);
}

.nav-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  min-height: 76px;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  font-weight: 800;
  font-size: 24px;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  color: var(--white);
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, .32), transparent 30%),
    linear-gradient(135deg, var(--navy), var(--royal));
  box-shadow: 0 14px 28px rgba(15, 95, 168, .28);
  font-size: 18px;
}

.brand span:last-child,
.footer h3 {
  font-weight: 900;
  background: linear-gradient(135deg, #071b3d, #176ed0 58%, #c79b45);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.footer h3 {
  width: fit-content;
  font-size: 26px;
  background: linear-gradient(135deg, #ffffff, #9fd1ff 58%, #d8aa4f);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.nav-item {
  position: relative;
}

.dropdown-toggle {
  display: none;
}

.nav-links a {
  position: relative;
  padding: 10px 13px;
  border-radius: 6px;
  color: #071b3d;
  font-size: 14px;
  font-weight: 800;
  transition: .2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--blue);
  background: transparent;
}

.nav-links a::after {
  content: "";
  position: absolute;
  right: 12px;
  left: 24px;
  bottom: 5px;
  height: 2px;
  border-radius: 999px;
  background: var(--royal);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .24s ease, left .24s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  left: 18px;
  transform: scaleX(1);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  z-index: 30;
  display: grid;
  min-width: 220px;
  padding: 10px;
  border: 1px solid rgba(183, 213, 238, .9);
  border-radius: 12px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 24px 60px rgba(7, 27, 61, .16);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease;
}

.has-dropdown:hover .dropdown-menu,
.has-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.dropdown-menu a {
  padding: 10px 12px;
  border-radius: 8px;
  white-space: nowrap;
}

.dropdown-menu a:hover {
  background: #edf6ff;
}

.dropdown-menu a::after {
  right: 12px;
  left: 12px;
  bottom: 5px;
}

.header-tools {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.cart-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 7px 10px 7px 12px;
  border: 1px solid #c6daf0;
  border-radius: 999px;
  color: var(--navy);
  background: #ffffff;
  box-shadow: 0 10px 25px rgba(7, 27, 61, .08);
  font-size: 13px;
  font-weight: 900;
}

.cart-icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: #ffffff;
  background: var(--royal);
  font-size: 14px;
}

.cart-link b {
  display: grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  color: #ffffff;
  background: var(--navy);
  font-size: 12px;
}

.tool-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--navy);
  background: var(--white);
  font-size: 13px;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  color: var(--navy);
  font-size: 24px;
  cursor: pointer;
}

.hero {
  position: relative;
  min-height: calc(100vh - 114px);
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: var(--navy);
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .82;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 27, 61, .12), rgba(7, 27, 61, .82) 54%, rgba(7, 27, 61, .94));
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 650px;
  padding: 78px 0 118px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, .32);
  border-radius: 999px;
  color: #d8edff;
  background: rgba(255, 255, 255, .08);
  font-size: 13px;
}

.hero h1 {
  margin: 18px 0 16px;
  font-size: clamp(36px, 6vw, 72px);
  line-height: 1.08;
  letter-spacing: 0;
}

.countdown {
  display: grid;
  grid-template-columns: repeat(4, 82px);
  gap: 10px;
  margin: 28px 0;
}

.featured-offers {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, #ffffff 0%, #f4f9ff 56%, #ffffff 100%);
}

.offer-timer {
  width: min(420px, 100%);
  margin: -20px auto 58px;
  padding: 26px 28px;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  color: var(--white);
  background: linear-gradient(135deg, #1e62ba, #0d4e9d);
  box-shadow: 0 24px 55px rgba(7, 27, 61, .2);
}

.offer-timer h2 {
  grid-column: 1 / -1;
  margin: 0 0 16px;
  text-align: center;
  color: var(--white);
  font-size: 22px;
}

.offer-timer .count-box {
  padding: 0;
  border: 0;
  background: transparent;
}

.offer-timer .count-box strong {
  font-size: 31px;
}

.section-title-center {
  display: grid;
  place-items: center;
  gap: 14px;
  margin-bottom: 28px;
  text-align: center;
}

.section-title-center h2 {
  margin: 0;
  color: #050b18;
  font-size: clamp(30px, 4vw, 42px);
}

.section-title-center span {
  width: 185px;
  height: 2px;
  background: var(--royal);
}

.offer-grid {
  gap: 24px;
}

.offer-grid .product {
  position: relative;
  display: flex;
  min-height: 100%;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid #bed3e8;
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  box-shadow: 0 18px 45px rgba(7, 27, 61, .12);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.offer-grid .product::before {
  content: "عرض";
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  color: var(--white);
  background: linear-gradient(135deg, #d8aa4f, #b9821f);
  box-shadow: 0 12px 26px rgba(120, 80, 18, .28);
  font-size: 13px;
  font-weight: 900;
}

.offer-grid .product:hover {
  transform: translateY(-8px);
  border-color: #78aee7;
  box-shadow: 0 30px 70px rgba(7, 27, 61, .2);
}

.offer-grid .product-media {
  position: relative;
  height: 286px;
  border-radius: 14px 14px 0 0;
  background: linear-gradient(135deg, #eaf5ff, #dbeeff);
}

.offer-grid .product-media::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 48%;
  background: linear-gradient(180deg, rgba(7, 27, 61, 0), rgba(7, 27, 61, .38));
}

.offer-grid .product-media img {
  transform: scale(1.02);
  transition: transform .35s ease;
}

.offer-grid .product:hover .product-media img {
  transform: scale(1.08);
}

.offer-grid .product-body {
  position: relative;
  z-index: 1;
  display: flex;
  flex: 1;
  flex-direction: column;
  margin: -18px 14px 14px;
  padding: 18px;
  border: 1px solid rgba(215, 231, 247, .86);
  border-radius: 12px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 12px 26px rgba(7, 27, 61, .08);
}

.offer-grid .tag {
  align-self: flex-start;
  padding: 6px 12px;
  border-radius: 999px;
  color: #0a3b77;
  background: #e8f3ff;
  font-size: 12px;
  box-shadow: none;
}

.offer-grid .product h3 {
  min-height: 56px;
  margin-top: 12px;
  font-size: 20px;
  line-height: 1.4;
}

.offer-grid .product p {
  min-height: 58px;
  margin: 0;
  color: #5c6f86;
  font-size: 14px;
}

.offer-grid .price-row {
  align-items: center;
  margin-top: auto;
  padding: 14px;
  border-radius: 10px;
  background: #f1f7ff;
}

.offer-grid .price {
  color: #0d58a8;
  font-size: 22px;
}

.offer-grid .old-price {
  font-size: 13px;
}

.offer-grid .product-actions {
  grid-template-columns: 1fr;
  margin-top: 12px;
}

.offer-grid .btn {
  min-height: 42px;
  border-radius: 8px;
}

.offer-grid .btn-outline {
  color: var(--navy);
  border-color: #c6daf0;
  background: #ffffff;
}

.offer-grid .btn-outline:hover {
  color: var(--royal);
  border-color: var(--royal);
}

.featured-offers .offer-grid .product {
  min-height: 440px;
  border: 0;
  border-radius: 18px;
  background: #071b3d;
  box-shadow: 0 24px 70px rgba(7, 27, 61, .18);
}

.featured-offers .offer-grid .product::before {
  content: "خصم";
  top: 18px;
  right: 18px;
  width: auto;
  height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: #ffffff;
  color: #0d4e9d;
  box-shadow: 0 12px 28px rgba(7, 27, 61, .18);
}

.featured-offers .offer-grid .product::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(7, 27, 61, .04) 0%, rgba(7, 27, 61, .16) 38%, rgba(7, 27, 61, .78) 100%);
  pointer-events: none;
}

.featured-offers .offer-grid .product-media {
  position: absolute;
  inset: 0;
  height: auto;
  border-radius: inherit;
  background: #dcecff;
}

.featured-offers .offer-grid .product-media::after {
  display: none;
}

.featured-offers .offer-grid .product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
}

.featured-offers .offer-grid .product:hover .product-media img {
  transform: scale(1.07);
}

.featured-offers .offer-grid .product-body {
  position: absolute;
  inset: auto 14px 14px;
  z-index: 2;
  margin: 0;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 14px;
  background: rgba(7, 27, 61, .78);
  box-shadow: none;
  backdrop-filter: blur(14px);
}

.featured-offers .offer-grid .tag {
  color: #d7ecff;
  background: rgba(255, 255, 255, .12);
}

.featured-offers .offer-grid .product h3 {
  min-height: auto;
  margin: 10px 0 8px;
  color: var(--white);
  font-size: 20px;
}

.featured-offers .offer-grid .product p {
  min-height: 48px;
  color: #d5e8fb;
}

.featured-offers .offer-grid .price-row {
  margin-top: 12px;
  padding: 0;
  background: transparent;
}

.featured-offers .offer-grid .price {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--white);
  background: var(--royal);
  font-size: 18px;
}

.featured-offers .offer-grid .old-price {
  color: #b7c9dd;
}

.featured-offers .offer-grid .product-actions {
  grid-template-columns: 1fr 1fr;
}

.featured-offers .offer-grid .btn {
  min-height: 40px;
  padding: 0 10px;
  font-size: 13px;
}

.featured-offers .offer-grid .btn-outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, .28);
  background: rgba(255, 255, 255, .08);
}

.featured-offers .offer-grid .btn-outline:hover {
  color: var(--white);
  border-color: rgba(255, 255, 255, .68);
  background: rgba(255, 255, 255, .16);
}

.featured-offers .offer-grid .product {
  display: flex;
  min-height: auto;
  padding: 12px;
  overflow: visible;
  flex-direction: column;
  border: 1px solid #d3e2f2;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 18px 45px rgba(7, 27, 61, .11);
}

.featured-offers .offer-grid .product::before {
  content: "";
  display: none;
}

.featured-offers .offer-grid .product::after {
  display: none;
}

.featured-offers .offer-grid .product-media {
  position: relative;
  inset: auto;
  height: 238px;
  overflow: hidden;
  border-radius: 14px;
  background: #edf6ff;
}

.featured-offers .offer-grid .product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: none;
}

.featured-offers .offer-grid .product:hover .product-media img {
  transform: scale(1.04);
}

.featured-offers .offer-grid .product-body {
  position: static;
  display: flex;
  flex: 1;
  flex-direction: column;
  margin: 0;
  padding: 16px 4px 4px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.featured-offers .offer-grid .tag {
  width: fit-content;
  padding: 5px 10px;
  border-radius: 999px;
  color: #0f5fa8;
  background: #e9f4ff;
  font-size: 12px;
}

.featured-offers .offer-grid .product h3 {
  min-height: 54px;
  margin: 10px 0 6px;
  color: var(--navy);
  font-size: 19px;
  line-height: 1.45;
}

.offer-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  color: #f4b63e;
  font-size: 14px;
}

.offer-rating b {
  color: #51657d;
  font-size: 13px;
}

.featured-offers .offer-grid .product p {
  min-height: 50px;
  margin: 0;
  color: #64748b;
  font-size: 14px;
}

.featured-offers .offer-grid .price-row {
  margin-top: auto;
  padding: 13px 0 0;
  background: transparent;
}

.featured-offers .offer-grid .price {
  display: block;
  min-height: auto;
  padding: 0;
  border-radius: 0;
  color: #0f5fa8;
  background: transparent;
  font-size: 22px;
  font-weight: 900;
}

.featured-offers .offer-grid .old-price {
  color: #98a8bc;
}

.featured-offers .offer-grid .product-actions {
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.featured-offers .offer-grid .btn {
  min-height: 40px;
  border-radius: 10px;
  font-size: 13px;
}

.featured-offers .offer-grid .btn-outline {
  color: #0f5fa8;
  border-color: #c8def4;
  background: #f7fbff;
}

.featured-offers .offer-grid .btn-outline:hover {
  color: #ffffff;
  border-color: var(--royal);
  background: var(--royal);
}

.offer-grid .product,
.featured-offers .offer-grid .product,
.current-offers .offer-grid .product {
  display: flex;
  min-height: 100%;
  padding: 12px;
  overflow: visible;
  flex-direction: column;
  border: 1px solid #d3e2f2;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 18px 45px rgba(7, 27, 61, .11);
}

.offer-grid .product::before,
.offer-grid .product::after,
.featured-offers .offer-grid .product::before,
.featured-offers .offer-grid .product::after,
.current-offers .offer-grid .product::before,
.current-offers .offer-grid .product::after {
  display: none;
}

.offer-grid .product-media,
.featured-offers .offer-grid .product-media,
.current-offers .offer-grid .product-media,
.product-media {
  position: relative;
  inset: auto;
  height: 238px;
  overflow: hidden;
  border-radius: 14px;
  background: linear-gradient(135deg, #eef7ff, #f8fbff);
}

.offer-grid .product-media::after,
.featured-offers .offer-grid .product-media::after,
.current-offers .offer-grid .product-media::after {
  display: none;
}

.offer-grid .product-media img,
.featured-offers .offer-grid .product-media img,
.current-offers .offer-grid .product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: none;
  transition: transform .25s ease;
}

.offer-grid .product:hover .product-media img,
.featured-offers .offer-grid .product:hover .product-media img,
.current-offers .offer-grid .product:hover .product-media img {
  transform: scale(1.03);
}

.offer-grid .product-body,
.featured-offers .offer-grid .product-body,
.current-offers .offer-grid .product-body {
  position: static;
  display: flex;
  flex: 1;
  flex-direction: column;
  margin: 0;
  padding: 16px 4px 4px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.offer-grid .tag,
.featured-offers .offer-grid .tag,
.current-offers .offer-grid .tag {
  width: fit-content;
  padding: 5px 10px;
  border-radius: 999px;
  color: #0f5fa8;
  background: #e9f4ff;
  font-size: 12px;
}

.offer-grid .product h3,
.featured-offers .offer-grid .product h3,
.current-offers .offer-grid .product h3 {
  min-height: 54px;
  margin: 10px 0 6px;
  color: var(--navy);
  font-size: 19px;
  line-height: 1.45;
}

.offer-grid .product p,
.featured-offers .offer-grid .product p,
.current-offers .offer-grid .product p {
  min-height: 50px;
  margin: 0;
  color: #64748b;
  font-size: 14px;
}

.offer-grid .price-row,
.featured-offers .offer-grid .price-row,
.current-offers .offer-grid .price-row {
  margin-top: auto;
  padding: 13px 0 0;
  background: transparent;
}

.offer-grid .price,
.featured-offers .offer-grid .price,
.current-offers .offer-grid .price {
  display: block;
  min-height: auto;
  padding: 0;
  border-radius: 0;
  color: #0f5fa8;
  background: transparent;
  font-size: 22px;
  font-weight: 900;
}

.offer-grid .old-price,
.featured-offers .offer-grid .old-price,
.current-offers .offer-grid .old-price {
  color: #98a8bc;
}

.offer-grid .product-actions,
.featured-offers .offer-grid .product-actions,
.current-offers .offer-grid .product-actions {
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.count-box {
  padding: 12px 10px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 8px;
  text-align: center;
  background: rgba(255, 255, 255, .1);
}

.count-box strong {
  display: block;
  font-size: 26px;
  line-height: 1;
}

.count-box span {
  display: block;
  margin-top: 4px;
  color: #d5eaff;
  font-size: 12px;
}

.hero p {
  max-width: 590px;
  margin: 0 0 28px;
  color: #e5f3ff;
  font-size: 18px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-weight: 700;
  cursor: pointer;
  transition: .2s ease;
}

.btn-primary {
  color: var(--white);
  background: var(--royal);
}

.btn-primary:hover {
  background: #0e56a6;
}

.btn-light {
  color: var(--navy);
  background: var(--white);
}

.btn-outline {
  color: var(--blue);
  border-color: #b9d9f7;
  background: var(--white);
}

.section {
  padding: 72px 0;
}

.section-blue {
  background: linear-gradient(180deg, var(--ice), #ffffff);
}

.section-dark {
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), #0c3568);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}

.section-head h2,
.page-head h1 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.2;
}

.section-dark .section-head h2,
.section-dark .section-head p {
  color: var(--white);
}

.section-head p,
.page-head p {
  max-width: 620px;
  margin: 10px 0 0;
  color: var(--muted);
}

.section-kicker {
  display: inline-flex;
  margin-bottom: 8px;
  color: var(--royal);
  font-weight: 800;
  font-size: 13px;
}

.current-offers {
  padding-top: 18px;
}

.page-head {
  padding: 66px 0 44px;
  background: linear-gradient(180deg, #edf7ff, #ffffff);
  border-bottom: 1px solid var(--line);
}

.grid {
  display: grid;
  gap: 22px;
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.category,
.product,
.article,
.deal,
.feature,
.contact-card,
.form-panel,
.tracking-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 30px rgba(7, 27, 61, .06);
}

.category {
  position: relative;
  min-height: 190px;
  padding: 24px;
  overflow: hidden;
}

.category::after {
  content: "";
  position: absolute;
  width: 150px;
  height: 150px;
  left: -46px;
  bottom: -52px;
  border-radius: 50%;
  background: #d7ecff;
}

.category span,
.product .tag,
.deal .tag {
  display: inline-flex;
  color: var(--blue);
  font-weight: 700;
  font-size: 13px;
}

.category h3,
.product h3,
.deal h3,
.article h3,
.feature h3,
.contact-card h3 {
  margin: 8px 0 8px;
  color: var(--navy);
  font-size: 21px;
}

.product-media {
  height: 190px;
  overflow: hidden;
  border-radius: 8px 8px 0 0;
  background: var(--sky);
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-body,
.deal,
.article,
.feature,
.contact-card,
.form-panel,
.tracking-panel {
  padding: 22px;
}

.booking-form-panel {
  align-self: start;
}

.booking-product-preview {
  display: grid;
  min-height: 94px;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  margin: 12px 0;
  padding: 12px;
  border: 1px solid #d3e2f2;
  border-radius: 14px;
  color: #64748b;
  background: #f8fbff;
}

.booking-product-preview > span {
  grid-column: 1 / -1;
}

.booking-product-preview img {
  width: 78px;
  height: 78px;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid #dbe9f7;
}

.booking-product-preview b,
.booking-product-preview strong {
  display: block;
  color: var(--navy);
}

.booking-product-preview span {
  display: block;
  margin: 3px 0;
}

.price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
}

.product-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 16px;
}

.cart-note {
  display: none;
  margin-top: 10px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
}

.price {
  color: var(--blue);
  font-size: 20px;
  font-weight: 800;
}

.old-price {
  color: #94a3b8;
  text-decoration: line-through;
}

.deal {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(145deg, #ffffff, #eef7ff);
}

.discount {
  color: var(--gold);
  font-size: 38px;
  font-weight: 900;
  line-height: 1;
}

.feature-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.why-us {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 12% 18%, rgba(23, 110, 208, .42), transparent 28%),
    linear-gradient(135deg, #071b3d, #0a3262 58%, #0d4e9d);
}

.why-us .section-title-center h2 {
  color: var(--white);
}

.why-us .section-title-center span {
  background: #74b7ff;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.why-card {
  position: relative;
  min-height: 238px;
  padding: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 18px;
  background: rgba(255, 255, 255, .09);
  box-shadow: 0 24px 58px rgba(0, 0, 0, .18);
  transition: transform .22s ease, background .22s ease, border-color .22s ease;
}

.why-card::after {
  content: "";
  position: absolute;
  width: 110px;
  height: 110px;
  left: -38px;
  bottom: -42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
}

.why-card:hover {
  transform: translateY(-7px);
  border-color: rgba(255, 255, 255, .34);
  background: rgba(255, 255, 255, .14);
}

.why-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 18px;
  border-radius: 14px;
  color: var(--navy);
  background: #ffffff;
  font-size: 24px;
  font-weight: 900;
}

.why-card h3 {
  margin: 0 0 10px;
  color: var(--white);
  font-size: 22px;
}

.why-card p {
  margin: 0;
  color: #d7e9fb;
  font-size: 15px;
}

.why-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 14px;
  background: rgba(255, 255, 255, .08);
}

.why-strip strong,
.why-strip span {
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .1);
  color: #e8f4ff;
  font-size: 13px;
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 12px;
  border-radius: 8px;
  color: var(--white);
  background: var(--royal);
  font-size: 20px;
}

.review {
  border-right: 4px solid var(--royal);
}

.review strong {
  display: block;
  color: var(--navy);
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.catalog-shortcuts {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 22px;
}

.catalog-shortcuts a {
  display: grid;
  place-items: center;
  min-height: 54px;
  padding: 10px;
  border: 1px solid #b9d9f7;
  border-radius: 8px;
  color: var(--navy);
  background: linear-gradient(180deg, #ffffff, var(--ice));
  font-weight: 800;
  text-align: center;
}

.catalog-shortcuts a:hover {
  color: var(--white);
  border-color: var(--royal);
  background: var(--royal);
}

.catalog-anchors {
  height: 1px;
  scroll-margin-top: 120px;
}

.catalog-anchors span {
  display: inline-block;
  scroll-margin-top: 120px;
}

.filter-btn {
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #2c4665;
  background: var(--white);
  cursor: pointer;
}

.filter-btn.active {
  color: var(--white);
  border-color: var(--royal);
  background: var(--royal);
}

.article {
  display: flex;
  min-height: 230px;
  flex-direction: column;
  justify-content: space-between;
}

.article time {
  color: var(--muted);
  font-size: 13px;
}

.split {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 34px;
  align-items: center;
}

.showroom-img {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.showroom-img img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 26px;
}

.stat {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 8px;
  background: rgba(255, 255, 255, .08);
}

.stat strong {
  display: block;
  font-size: 28px;
}

form {
  display: grid;
  gap: 14px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

label {
  display: grid;
  gap: 7px;
  color: #29425f;
  font-weight: 700;
  font-size: 14px;
}

input,
select,
textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #c9ddef;
  border-radius: 6px;
  font: inherit;
  color: var(--ink);
  background: var(--white);
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.form-message,
.tracking-result {
  display: none;
  padding: 14px;
  border-radius: 7px;
  color: #0f3d2e;
  background: #e4f8ee;
}

.tracking-result.error {
  color: #991b1b;
  background: #fee2e2;
}

.tracking-result b,
.tracking-result span {
  display: block;
}

.tracking-result p {
  margin: 12px 0 0;
}

.tracking-order-card {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.tracking-order-card div {
  padding: 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .65);
}

.tracking-order-card span {
  color: #52667d;
  font-size: 12px;
  font-weight: 800;
}

.tracking-order-card b {
  color: var(--navy);
}

.tracking-steps {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.track-step {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #62738a;
}

.track-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 3px solid #c6d8ea;
  background: var(--white);
}

.track-step.done {
  color: var(--navy);
  font-weight: 700;
}

.track-step.done .track-dot {
  border-color: var(--royal);
  background: var(--royal);
}

.footer {
  padding: 48px 0 26px;
  color: #dcecff;
  background: var(--navy);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 24px;
}

.footer h3,
.footer h4 {
  margin: 0 0 12px;
}

.footer h4 {
  color: var(--white);
}

.footer a,
.footer p {
  display: block;
  margin: 6px 0;
  color: #b9d5ee;
}

.copyright {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .14);
  color: #9fb9d5;
  font-size: 13px;
}

@media (max-width: 920px) {
  .nav-inner {
    grid-template-columns: auto 1fr auto;
  }

  .nav-toggle {
    grid-column: 3;
    grid-row: 1;
    display: block;
  }

  .nav-links {
    grid-column: 1 / -1;
    position: absolute;
    top: 76px;
    right: 16px;
    left: 16px;
    display: none;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: grid;
  }

  .nav-item {
    width: 100%;
  }

  .nav-links a {
    display: block;
    padding: 11px 12px;
  }

  .has-dropdown {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 4px 6px;
  }

  .has-dropdown > a {
    flex: 0 0 auto;
  }

  .dropdown-toggle {
    display: inline-grid;
    flex: 0 0 auto;
    place-items: center;
    width: 26px;
    height: 26px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--blue);
    font-size: 18px;
    font-weight: 900;
    line-height: 1;
    cursor: pointer;
    transition: color .2s ease, transform .2s ease, background .2s ease;
  }

  .dropdown-open .dropdown-toggle {
    background: #eef7ff;
    color: var(--royal);
    transform: rotate(180deg);
  }

  .header-tools {
    grid-column: 2;
    grid-row: 1;
    justify-content: end;
  }

  .cart-text {
    display: none;
  }

  .dropdown-menu {
    flex: 0 0 100%;
    position: static;
    display: none;
    width: min(180px, 100%);
    min-width: 0;
    margin: 4px auto 0;
    padding: 8px 10px;
    border-radius: 10px;
    background: #f8fcff;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .has-dropdown:hover .dropdown-menu,
  .has-dropdown:focus-within .dropdown-menu {
    display: none;
  }

  .has-dropdown.dropdown-open .dropdown-menu {
    display: grid;
  }

  .grid-3,
  .grid-4,
  .feature-row,
  .why-grid,
  .catalog-shortcuts,
  .split,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero {
    min-height: 680px;
  }

  .about-hero-grid,
  .about-story,
  .about-stats,
  .process-grid,
  .about-intro-grid,
  .about-category-grid,
  .process-grid-pro,
  .contact-layout,
  .showroom-panel,
  .contact-quick-actions,
  .product-detail-layout,
  .product-detail-content,
  .product-detail-meta,
  .product-spec-grid,
  .checkout-layout,
  .order-success-layout {
    grid-template-columns: 1fr 1fr;
  }

  .about-cta {
    align-items: stretch;
    flex-direction: column;
  }

  .contact-support {
    align-items: stretch;
    flex-direction: column;
  }

  .product-detail-cta {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .topbar .container,
  .section-head,
  .actions,
  .price-row {
    align-items: stretch;
    flex-direction: column;
  }

  .grid-3,
  .grid-4,
  .feature-row,
  .why-grid,
  .catalog-shortcuts,
  .split,
  .form-grid,
  .footer-grid,
  .stats {
    grid-template-columns: 1fr;
  }

  .countdown {
    grid-template-columns: repeat(2, 1fr);
  }

  .featured-offers .offer-grid .product {
    min-height: auto;
  }

  .featured-offers .offer-grid .product-media {
    height: 220px;
  }

  .featured-offers .offer-grid .product-actions {
    grid-template-columns: 1fr;
  }

  .hero-content {
    padding-top: 64px;
  }

  .section {
    padding: 48px 0;
  }

  .about-hero {
    padding: 52px 0;
  }

  .about-hero-grid,
  .about-story,
  .about-stats,
  .process-grid,
  .about-intro-grid,
  .about-category-grid,
  .process-grid-pro,
  .contact-layout,
  .showroom-panel,
  .contact-quick-actions,
  .product-detail-layout,
  .product-detail-content,
  .product-detail-meta,
  .product-detail-actions,
  .product-trust-strip,
  .product-spec-grid,
  .checkout-layout,
  .order-success-layout,
  .success-info-grid,
  .success-order-item {
    grid-template-columns: 1fr;
  }

  .about-visual img {
    height: 300px;
  }

  .about-cta {
    padding: 24px;
  }

  .about-cta .actions {
    width: 100%;
  }

  .contact-support {
    padding: 22px;
  }

  .product-detail-gallery {
    min-height: 320px;
  }

  .product-detail-info,
  .product-description-panel,
  .product-service-panel {
    padding: 22px;
  }

  .product-detail-cta {
    padding: 24px;
  }

  .product-quantity-row {
    align-items: stretch;
    flex-direction: column;
  }

  .order-summary {
    position: static;
  }

  .checkout-panel,
  .order-summary {
    padding: 22px;
  }
}

.grid-3 > .product .product-media {
  overflow: hidden;
  border-radius: 14px;
  background: linear-gradient(135deg, #eef7ff, #f8fbff);
}

.grid-3 > .product .product-media img {
  width: 100%;
  height: 100%;
  padding: 10px;
  object-fit: contain;
}

.featured-offers .offer-grid .product,
.current-offers .offer-grid .product {
  overflow: hidden;
  padding: 12px;
  border-radius: 18px;
}

.featured-offers .offer-grid .product .product-media,
.current-offers .offer-grid .product .product-media {
  height: 238px;
  overflow: hidden;
  border-radius: 14px;
  background: #edf6ff;
}

.featured-offers .offer-grid .product .product-media img,
.current-offers .offer-grid .product .product-media img {
  padding: 0;
  object-fit: cover;
}

.product,
.offer-grid .product,
.featured-offers .offer-grid .product,
.current-offers .offer-grid .product {
  display: flex;
  min-height: 100%;
  padding: 12px;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid #d3e2f2;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 18px 45px rgba(7, 27, 61, .11);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.product:hover,
.offer-grid .product:hover,
.featured-offers .offer-grid .product:hover,
.current-offers .offer-grid .product:hover {
  transform: translateY(-6px);
  border-color: #78aee7;
  box-shadow: 0 26px 60px rgba(7, 27, 61, .16);
}

.product::before,
.product::after,
.offer-grid .product::before,
.offer-grid .product::after,
.featured-offers .offer-grid .product::before,
.featured-offers .offer-grid .product::after,
.current-offers .offer-grid .product::before,
.current-offers .offer-grid .product::after {
  display: none;
}

.product .product-media,
.offer-grid .product .product-media,
.featured-offers .offer-grid .product .product-media,
.current-offers .offer-grid .product .product-media {
  position: relative;
  inset: auto;
  height: 238px;
  overflow: hidden;
  border-radius: 14px;
  background: #edf6ff;
}

.product .product-media::after,
.offer-grid .product .product-media::after,
.featured-offers .offer-grid .product .product-media::after,
.current-offers .offer-grid .product .product-media::after {
  display: none;
}

.product .product-media img,
.offer-grid .product .product-media img,
.featured-offers .offer-grid .product .product-media img,
.current-offers .offer-grid .product .product-media img {
  width: 100%;
  height: 100%;
  padding: 0;
  object-fit: cover;
  transform: none;
  transition: transform .25s ease;
}

.product:hover .product-media img,
.offer-grid .product:hover .product-media img,
.featured-offers .offer-grid .product:hover .product-media img,
.current-offers .offer-grid .product:hover .product-media img {
  transform: scale(1.04);
}

.product .product-body,
.offer-grid .product .product-body,
.featured-offers .offer-grid .product .product-body,
.current-offers .offer-grid .product .product-body {
  position: static;
  display: flex;
  flex: 1;
  flex-direction: column;
  margin: 0;
  padding: 16px 4px 4px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.product .tag,
.offer-grid .product .tag,
.featured-offers .offer-grid .product .tag,
.current-offers .offer-grid .product .tag {
  width: fit-content;
  padding: 5px 10px;
  border-radius: 999px;
  color: #0f5fa8;
  background: #e9f4ff;
  font-size: 12px;
}

.product h3,
.offer-grid .product h3,
.featured-offers .offer-grid .product h3,
.current-offers .offer-grid .product h3 {
  min-height: 54px;
  margin: 10px 0 6px;
  color: var(--navy);
  font-size: 19px;
  line-height: 1.45;
}

.product p,
.offer-grid .product p,
.featured-offers .offer-grid .product p,
.current-offers .offer-grid .product p {
  min-height: 50px;
  margin: 0;
  color: #64748b;
  font-size: 14px;
}

.product .price-row,
.offer-grid .product .price-row,
.featured-offers .offer-grid .price-row,
.current-offers .offer-grid .price-row {
  margin-top: auto;
  padding: 13px 0 0;
  background: transparent;
}

.product .price,
.offer-grid .product .price,
.featured-offers .offer-grid .price,
.current-offers .offer-grid .price {
  display: block;
  min-height: auto;
  padding: 0;
  color: #0f5fa8;
  background: transparent;
  font-size: 22px;
  font-weight: 900;
}

.product .old-price,
.offer-grid .product .old-price,
.featured-offers .offer-grid .old-price,
.current-offers .offer-grid .old-price {
  color: #98a8bc;
}

.product .product-actions,
.offer-grid .product .product-actions,
.featured-offers .offer-grid .product-actions,
.current-offers .offer-grid .product-actions {
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.catalog-grid .product .product-actions {
  grid-template-columns: 1fr;
  gap: 10px;
}

.catalog-grid .product .btn {
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  border-radius: 10px;
  font-size: 13px;
  white-space: nowrap;
}

.product h3 a {
  color: inherit;
}

.product-link-media {
  display: block;
}

.product:has(a[href^="product.html?id="]) {
  cursor: pointer;
}

.product .btn,
.product button,
.product a {
  cursor: pointer;
}

.btn-detail {
  color: var(--navy);
  border-color: #c8def4;
  background: #f7fbff;
}

.btn-detail:hover {
  color: #ffffff;
  border-color: var(--royal);
  background: var(--royal);
}

.about-hero {
  padding: 76px 0;
  background: linear-gradient(135deg, #eef7ff 0%, #ffffff 52%, #dbeeff 100%);
}

.about-hero-grid,
.about-story {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 36px;
  align-items: center;
}

.about-copy h1 {
  margin: 10px 0 18px;
  color: var(--navy);
  font-size: clamp(42px, 6vw, 72px);
}

.about-copy p,
.about-story p {
  color: #52667d;
  font-size: 17px;
  line-height: 1.9;
}

.about-visual {
  overflow: hidden;
  border: 1px solid #cfe2f5;
  border-radius: 18px;
  box-shadow: 0 28px 70px rgba(7, 27, 61, .16);
}

.about-visual img {
  width: 100%;
  height: 430px;
  object-fit: cover;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.about-stats article,
.about-card,
.process-grid article {
  border: 1px solid #d3e2f2;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 18px 45px rgba(7, 27, 61, .1);
}

.about-stats article {
  padding: 24px;
  text-align: center;
}

.about-stats strong {
  display: block;
  color: var(--royal);
  font-size: 34px;
  font-weight: 900;
}

.about-stats span {
  color: #52667d;
  font-weight: 800;
}

.about-card {
  padding: 28px;
}

.about-card h3,
.process-grid h3 {
  margin: 0 0 14px;
  color: var(--navy);
}

.about-card ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.about-card li {
  position: relative;
  padding-right: 24px;
  color: #52667d;
  line-height: 1.8;
}

.about-card li::before {
  content: "";
  position: absolute;
  top: 12px;
  right: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--royal);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.process-grid article {
  padding: 24px;
}

.process-grid b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  border-radius: 12px;
  color: #ffffff;
  background: var(--royal);
}

.process-grid p {
  margin: 0;
  color: #64748b;
  line-height: 1.8;
}

.about-hero-pro {
  position: relative;
  overflow: hidden;
  padding: 88px 0;
}

.about-hero-pro::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(20, 101, 194, .1), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.about-hero-pro .container {
  position: relative;
  z-index: 1;
}

.about-hero-pro .about-copy h1 {
  max-width: 760px;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.18;
}

.about-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 26px;
}

.about-badges span {
  padding: 9px 13px;
  border: 1px solid #bfd9f3;
  border-radius: 999px;
  color: #0f5fa8;
  background: #ffffff;
  font-size: 13px;
  font-weight: 800;
}

.about-visual-pro {
  position: relative;
}

.about-visual-card {
  position: absolute;
  right: 18px;
  bottom: 18px;
  min-width: 150px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 14px;
  color: #ffffff;
  background: rgba(7, 27, 61, .78);
  backdrop-filter: blur(12px);
}

.about-visual-card strong {
  display: block;
  font-size: 30px;
  font-weight: 900;
}

.about-visual-card span {
  font-size: 13px;
  font-weight: 800;
}

.about-intro {
  padding-bottom: 36px;
}

.about-intro-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 36px;
  align-items: start;
}

.about-intro-grid h2,
.about-story-pro h2,
.about-cta h2 {
  margin: 8px 0 0;
  color: var(--navy);
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.35;
}

.about-intro-grid p {
  margin: 0;
  color: #52667d;
  font-size: 18px;
  line-height: 2;
}

.about-stats-pro article {
  position: relative;
  overflow: hidden;
}

.about-stats-pro article::after {
  content: "";
  position: absolute;
  width: 88px;
  height: 88px;
  left: -28px;
  bottom: -34px;
  border-radius: 50%;
  background: #d8ecff;
}

.about-category-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.about-category-grid a {
  min-height: 220px;
  padding: 22px;
  border: 1px solid #d3e2f2;
  border-radius: 14px;
  color: inherit;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  box-shadow: 0 18px 45px rgba(7, 27, 61, .09);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.about-category-grid a:hover {
  transform: translateY(-6px);
  border-color: #78aee7;
  box-shadow: 0 26px 60px rgba(7, 27, 61, .15);
}

.about-category-grid b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: 12px;
  color: #ffffff;
  background: var(--royal);
}

.about-category-grid h3 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 20px;
}

.about-category-grid p {
  margin: 0;
  color: #64748b;
  font-size: 14px;
  line-height: 1.8;
}

.about-page .why-card {
  border: 1px solid #d3e2f2;
  background: #ffffff;
  box-shadow: 0 18px 45px rgba(7, 27, 61, .1);
}

.about-page .why-card::after {
  background: #d8ecff;
}

.about-page .why-card:hover {
  border-color: #78aee7;
  background: #ffffff;
  box-shadow: 0 26px 60px rgba(7, 27, 61, .15);
}

.about-page .why-icon {
  color: #ffffff;
  background: var(--royal);
}

.about-page .why-card h3 {
  color: var(--navy);
}

.about-page .why-card p {
  color: #52667d;
  line-height: 1.8;
}

.about-page .section-title-center h2,
.about-page .section-head h2,
.about-page h2,
.about-page h3 {
  color: var(--navy);
}

.about-page .section-blue .eyebrow {
  color: #0f5fa8;
}

.about-page .section-blue h2,
.about-page .section-blue h3 {
  color: var(--navy);
}

.about-page .section-blue p {
  color: #52667d;
}

.about-page .section-blue .about-card h3 {
  color: var(--navy);
}

.about-page .section-blue .about-card li {
  color: #52667d;
}

.about-page .about-card h3,
.about-page .about-card li,
.about-page .about-card p,
.about-page .about-stats span,
.about-page .process-grid p,
.about-page .process-grid h3 {
  color: #52667d;
}

.about-page .about-card h3,
.about-page .process-grid h3 {
  color: var(--navy);
}

.about-page .eyebrow {
  color: #0f5fa8;
}

.about-page .about-story-pro .eyebrow,
.about-page .about-intro-grid .eyebrow,
.about-page .section-head .eyebrow {
  color: #0f5fa8;
}

.about-page .about-story-pro h2,
.about-page .about-story-pro p {
  color: var(--navy);
}

.about-page .about-story-pro p {
  color: #52667d;
}

.about-story-pro {
  align-items: stretch;
}

.about-checklist-card {
  align-self: center;
}

.process-grid-pro {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.about-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px;
  border-radius: 18px;
  color: #ffffff;
  background: linear-gradient(135deg, #071b3d, #1465c2);
  box-shadow: 0 28px 70px rgba(7, 27, 61, .18);
}

.about-cta h2,
.about-cta p,
.about-cta .eyebrow {
  color: #ffffff;
}

.about-cta p {
  max-width: 620px;
  margin: 12px 0 0;
  line-height: 1.9;
}

.contact-hero {
  padding: 82px 0;
  text-align: center;
  background: linear-gradient(135deg, #eef7ff, #ffffff 56%, #dbeeff);
}

.contact-hero h1 {
  margin: 10px 0 14px;
  color: var(--navy);
  font-size: clamp(42px, 6vw, 72px);
}

.contact-hero p {
  max-width: 720px;
  margin: 0 auto;
  color: #52667d;
  font-size: 18px;
  line-height: 1.9;
}

.contact-quick-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 920px;
  margin: 32px auto 0;
}

.contact-quick-actions a {
  display: flex;
  min-height: 142px;
  padding: 18px;
  align-items: flex-start;
  justify-content: space-between;
  flex-direction: column;
  border: 1px solid #cfe2f5;
  border-radius: 14px;
  text-align: right;
  background: rgba(255, 255, 255, .84);
  box-shadow: 0 18px 45px rgba(7, 27, 61, .1);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.contact-quick-actions a:hover {
  transform: translateY(-5px);
  border-color: #78aee7;
  box-shadow: 0 26px 60px rgba(7, 27, 61, .15);
}

.contact-quick-actions span {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  color: #ffffff;
  background: var(--royal);
  font-weight: 900;
}

.contact-quick-actions b {
  display: block;
  margin-top: 14px;
  color: var(--navy);
  font-size: 19px;
  line-height: 1.35;
}

.contact-quick-actions small {
  display: block;
  margin-top: 6px;
  color: #64748b;
  font-size: 13px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.contact-quick-actions a[href^="tel"] small {
  direction: ltr;
  text-align: right;
  overflow-wrap: normal;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 24px;
  align-items: start;
}

.compact-head {
  margin-bottom: 20px;
}

.compact-head h2 {
  color: var(--navy);
}

.contact-form-panel,
.contact-info-panel {
  border: 1px solid #d3e2f2;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 20px 55px rgba(7, 27, 61, .1);
}

.contact-info-panel {
  padding: 28px;
}

.contact-info-panel h2 {
  margin: 0 0 20px;
  color: var(--navy);
}

.contact-panel-lead {
  margin: -8px 0 20px;
  color: #64748b;
  line-height: 1.8;
}

.contact-info-list {
  display: grid;
  gap: 14px;
}

.contact-info-list article {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  padding: 16px;
  border: 1px solid #dbe9f7;
  border-radius: 14px;
  background: #f8fbff;
}

.contact-info-list span {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  color: #ffffff;
  background: var(--royal);
  font-weight: 900;
}

.contact-info-list h3 {
  margin: 0 0 6px;
  color: var(--navy);
}

.contact-info-list p,
.contact-info-list a {
  margin: 0;
  color: #52667d;
  line-height: 1.7;
}

.contact-info-list .text-link {
  display: inline-flex;
  margin-top: 8px;
  color: var(--royal);
  font-weight: 800;
}

.showroom-panel {
  display: grid;
  grid-template-columns: 1fr .9fr;
  gap: 28px;
  align-items: center;
}

.showroom-copy h2 {
  margin: 8px 0 14px;
  color: var(--navy);
  font-size: clamp(30px, 4vw, 46px);
}

.showroom-copy p {
  color: #52667d;
  font-size: 17px;
  line-height: 1.9;
}

.showroom-meta {
  display: grid;
  gap: 12px;
  margin: 24px 0;
}

.showroom-meta article {
  padding: 16px;
  border: 1px solid #d3e2f2;
  border-radius: 14px;
  background: #ffffff;
}

.showroom-meta b {
  display: block;
  margin-bottom: 6px;
  color: var(--navy);
}

.showroom-meta span {
  color: #52667d;
  line-height: 1.7;
}

.contact-page .contact-why .why-card {
  border: 1px solid #d3e2f2;
  background: #ffffff;
  box-shadow: 0 18px 45px rgba(7, 27, 61, .1);
}

.contact-page .contact-why .why-card::after {
  background: #d8ecff;
}

.contact-page .contact-why .why-icon {
  color: #ffffff;
  background: var(--royal);
}

.contact-page .contact-why .why-card h3 {
  color: var(--navy);
}

.contact-page .contact-why .why-card p {
  color: #52667d;
  line-height: 1.8;
}

.section .eyebrow,
.page-head .eyebrow,
.contact-page .eyebrow,
.about-page .eyebrow {
  border-color: #bfd9f3;
  color: #0f5fa8;
  background: #ffffff;
  font-weight: 800;
}

.hero .eyebrow,
.about-cta .eyebrow {
  border-color: rgba(255, 255, 255, .32);
  color: #ffffff;
  background: rgba(255, 255, 255, .1);
}

.section small,
.section .sub-title,
.section .section-kicker,
.contact-page small,
.about-page small {
  color: #52667d;
}

.contact-page h2,
.contact-page h3,
.contact-page .compact-head h2,
.contact-page .showroom-copy h2 {
  color: var(--navy);
}

.contact-support {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 32px;
  border: 1px solid #cfe2f5;
  border-radius: 18px;
  background: linear-gradient(135deg, #ffffff, #eef7ff);
  box-shadow: 0 20px 55px rgba(7, 27, 61, .1);
}

.contact-support h2 {
  margin: 8px 0 10px;
  color: var(--navy);
  font-size: clamp(28px, 4vw, 42px);
}

.contact-support p {
  max-width: 680px;
  margin: 0;
  color: #52667d;
  line-height: 1.9;
}

.product-detail-hero {
  padding: 58px 0;
  background: linear-gradient(135deg, #eef7ff, #ffffff 58%, #dbeeff);
}

.product-detail-layout {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 34px;
  align-items: start;
}

.product-detail-gallery,
.product-detail-info,
.product-description-panel,
.product-service-panel {
  border: 1px solid #d3e2f2;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 24px 65px rgba(7, 27, 61, .12);
}

.product-detail-gallery {
  display: grid;
  place-items: center;
  min-height: 520px;
  padding: 22px;
  background: linear-gradient(135deg, #f8fbff, #eef7ff);
}

.product-detail-gallery img {
  width: 100%;
  max-height: 480px;
  object-fit: contain;
}

.product-detail-info {
  padding: 30px;
}

.product-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
  color: #64748b;
  font-size: 13px;
  font-weight: 800;
}

.product-breadcrumb a {
  color: var(--royal);
}

.product-detail-info .tag {
  display: inline-flex;
  width: fit-content;
  padding: 6px 12px;
  border-radius: 999px;
  color: #0f5fa8;
  background: #e9f4ff;
  font-size: 13px;
  font-weight: 900;
}

.product-detail-topline {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.stock-pill {
  display: inline-flex;
  padding: 6px 12px;
  border-radius: 999px;
  color: #15803d;
  background: #dcfce7;
  font-size: 13px;
  font-weight: 900;
}

.product-detail-info h1 {
  margin: 14px 0 10px;
  color: var(--navy);
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.2;
}

.product-detail-summary {
  color: #52667d;
  font-size: 17px;
  line-height: 1.9;
}

.product-detail-price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 14px;
  margin: 24px 0;
  padding: 18px;
  border-radius: 16px;
  background: #f2f8ff;
}

.product-detail-price strong {
  color: var(--royal);
  font-size: 34px;
  font-weight: 900;
}

.product-quantity-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
  padding: 14px;
  border: 1px solid #dbe9f7;
  border-radius: 14px;
  background: #fbfdff;
  color: var(--navy);
  font-weight: 900;
}

.quantity-control {
  display: inline-grid;
  grid-template-columns: 38px 62px 38px;
  overflow: hidden;
  border: 1px solid #c8def4;
  border-radius: 12px;
  background: #ffffff;
}

.quantity-control button,
.quantity-control input {
  height: 38px;
  border: 0;
  text-align: center;
  color: var(--navy);
  background: transparent;
  font-weight: 900;
}

.quantity-control button {
  cursor: pointer;
  background: #eef7ff;
}

.quantity-control input {
  border-right: 1px solid #c8def4;
  border-left: 1px solid #c8def4;
}

.product-detail-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.btn-whatsapp {
  color: #ffffff;
  background: #15803d;
}

.btn-whatsapp:hover {
  background: #166534;
}

.product-detail-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 22px;
}

.product-trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 18px;
}

.product-trust-strip span {
  display: grid;
  place-items: center;
  min-height: 42px;
  padding: 8px;
  border: 1px solid #dbe9f7;
  border-radius: 12px;
  color: #0f5fa8;
  background: #f4faff;
  font-size: 13px;
  font-weight: 900;
  text-align: center;
}

.product-detail-meta article {
  padding: 14px;
  border: 1px solid #dbe9f7;
  border-radius: 12px;
  background: #fbfdff;
}

.product-detail-meta b,
.product-detail-meta span {
  display: block;
}

.product-detail-meta b {
  margin-bottom: 6px;
  color: var(--navy);
  font-size: 13px;
}

.product-detail-meta span {
  color: #64748b;
  font-size: 13px;
  line-height: 1.6;
}

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

.product-description-panel,
.product-service-panel {
  padding: 28px;
}

.product-description-panel h2,
.product-service-panel h3 {
  margin: 10px 0 14px;
  color: var(--navy);
}

.product-description-panel p {
  margin: 0;
  color: #52667d;
  font-size: 17px;
  line-height: 2;
}

.product-spec-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 24px;
}

.product-spec-grid article {
  padding: 16px;
  border: 1px solid #dbe9f7;
  border-radius: 14px;
  background: #f8fbff;
}

.product-spec-grid b,
.product-spec-grid span {
  display: block;
}

.product-spec-grid b {
  margin-bottom: 6px;
  color: var(--navy);
}

.product-spec-grid span {
  color: #64748b;
  line-height: 1.7;
}

.product-service-panel ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.product-service-panel li {
  position: relative;
  padding-right: 22px;
  color: #52667d;
  line-height: 1.8;
}

.product-service-panel li::before {
  content: "";
  position: absolute;
  top: 12px;
  right: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--royal);
}

.product-detail-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 32px;
  border: 1px solid #cfe2f5;
  border-radius: 18px;
  background: linear-gradient(135deg, #071b3d, #1465c2);
  box-shadow: 0 28px 70px rgba(7, 27, 61, .18);
}

.product-detail-cta h2,
.product-detail-cta p,
.product-detail-cta .eyebrow {
  color: #ffffff;
}

.product-detail-cta h2 {
  margin: 8px 0 10px;
  font-size: clamp(28px, 4vw, 42px);
}

.product-detail-cta p {
  max-width: 650px;
  margin: 0;
  line-height: 1.9;
}

.checkout-hero {
  padding: 72px 0;
  text-align: center;
  background: linear-gradient(135deg, #eef7ff, #ffffff 58%, #dbeeff);
}

.checkout-hero h1 {
  margin: 10px 0 14px;
  color: var(--navy);
  font-size: clamp(40px, 6vw, 68px);
}

.checkout-hero p {
  max-width: 720px;
  margin: 0 auto;
  color: #52667d;
  font-size: 18px;
  line-height: 1.9;
}

.checkout-steps {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.checkout-steps span {
  padding: 9px 14px;
  border: 1px solid #bfd9f3;
  border-radius: 999px;
  color: #0f5fa8;
  background: #ffffff;
  font-size: 13px;
  font-weight: 900;
}

.checkout-steps .active {
  color: #ffffff;
  border-color: var(--royal);
  background: var(--royal);
}

.checkout-layout {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 24px;
  align-items: start;
}

.checkout-panel,
.order-summary {
  border: 1px solid #d3e2f2;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 24px 65px rgba(7, 27, 61, .1);
}

.checkout-panel {
  padding: 28px;
}

.order-summary {
  position: sticky;
  top: 94px;
  padding: 24px;
}

.order-summary h2 {
  margin: 0 0 18px;
  color: var(--navy);
}

.summary-item,
.summary-line,
.summary-total,
.secure-box {
  padding: 16px;
  border: 1px solid #dbe9f7;
  border-radius: 14px;
  background: #f8fbff;
}

.checkout-empty {
  padding: 16px;
  border: 1px dashed #b8d4ef;
  border-radius: 14px;
  color: #52667d;
  background: #f8fbff;
  line-height: 1.8;
}

.checkout-cart-list {
  display: grid;
  gap: 12px;
  margin-bottom: 12px;
}

.checkout-cart-item {
  display: grid;
  grid-template-columns: 68px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid #dbe9f7;
  border-radius: 14px;
  background: #ffffff;
}

.checkout-cart-item img {
  width: 68px;
  height: 68px;
  object-fit: contain;
  border-radius: 10px;
  background: #eef7ff;
}

.checkout-cart-item b,
.checkout-cart-item span {
  display: block;
}

.checkout-cart-item b {
  color: var(--navy);
  line-height: 1.5;
}

.checkout-cart-item span {
  color: #64748b;
  font-size: 13px;
}

.checkout-cart-item strong {
  color: var(--royal);
  white-space: nowrap;
}

.checkout-qty {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.checkout-qty button,
.checkout-qty input {
  min-height: 30px;
  border: 1px solid #c8def4;
  border-radius: 8px;
  color: var(--navy);
  background: #ffffff;
  font: inherit;
  font-weight: 900;
}

.checkout-qty button {
  min-width: 34px;
  cursor: pointer;
}

.checkout-qty button:last-child {
  padding: 0 10px;
  color: #b91c1c;
  border-color: #fecaca;
}

.checkout-qty input {
  width: 44px;
  text-align: center;
}

.summary-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
}

.summary-item b,
.summary-line b,
.summary-total strong,
.secure-box b {
  color: var(--navy);
}

.summary-item span,
.summary-line span,
.secure-box span {
  display: block;
  color: #64748b;
  line-height: 1.7;
}

.summary-line,
.summary-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 10px;
}

.summary-total {
  color: #ffffff;
  border-color: var(--royal);
  background: var(--royal);
}

.summary-total span,
.summary-total strong {
  color: #ffffff;
}

.summary-note {
  margin: 14px 0;
  padding: 14px;
  border-radius: 12px;
  color: #52667d;
  background: #fff8e8;
  line-height: 1.8;
}

.delivery-options,
.payment-methods {
  display: grid;
  gap: 12px;
}

.delivery-options label,
.payment-methods label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  border: 1px solid #dbe9f7;
  border-radius: 14px;
  background: #f8fbff;
}

.delivery-options input,
.payment-methods input {
  width: auto;
  min-height: auto;
  margin-top: 4px;
}

.payment-methods b,
.payment-methods small {
  display: block;
}

.payment-methods b {
  color: var(--navy);
  margin-bottom: 4px;
}

.payment-methods small {
  color: #64748b;
  line-height: 1.7;
}

.checkout-payment-single {
  margin: 16px 0;
}

.checkout-success-overlay[hidden] {
  display: none;
}

.checkout-success-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  background: rgba(7, 27, 61, .42);
  backdrop-filter: blur(8px);
}

.success-loader {
  display: grid;
  gap: 10px;
  place-items: center;
  min-width: 280px;
  padding: 28px;
  border-radius: 18px;
  color: var(--navy);
  background: #ffffff;
  box-shadow: 0 28px 80px rgba(7, 27, 61, .24);
}

.success-loader span {
  width: 64px;
  height: 64px;
  border: 5px solid #dbeafe;
  border-top-color: var(--royal);
  border-radius: 50%;
  animation: mf-spin .9s linear infinite;
}

.success-loader b {
  font-size: 22px;
}

.success-loader small {
  color: #64748b;
}

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

.success-hero {
  padding: 64px 0;
}

.success-check {
  display: inline-grid;
  width: 70px;
  height: 70px;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
  background: #16a34a;
  font-size: 38px;
  font-weight: 900;
  box-shadow: 0 18px 45px rgba(22, 163, 74, .25);
}

.order-success-layout {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 24px;
  align-items: start;
}

.success-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.success-info-grid article {
  padding: 14px;
  border: 1px solid #dbe9f7;
  border-radius: 14px;
  background: #f8fbff;
}

.success-info-grid span,
.success-info-grid b {
  display: block;
}

.success-info-grid span {
  color: #64748b;
  font-size: 13px;
  font-weight: 800;
}

.success-info-grid b {
  color: var(--navy);
  margin-top: 4px;
}

.success-items-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.success-order-item {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border: 1px solid #dbe9f7;
  border-radius: 14px;
}

.success-order-item img {
  width: 58px;
  height: 58px;
  object-fit: cover;
  border-radius: 10px;
}

.success-order-item span {
  color: var(--navy);
  font-weight: 800;
}

.success-total {
  margin-top: 16px;
}

.secure-box {
  margin-bottom: 12px;
  background: #ecfdf3;
}

.admin-page {
  min-height: 100vh;
  background: #f4f8fc;
  color: var(--ink);
}

.admin-sidebar {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  display: flex;
  width: 280px;
  padding: 20px;
  flex-direction: column;
  border-left: 1px solid #d3e2f2;
  background: #ffffff;
  box-shadow: -18px 0 45px rgba(7, 27, 61, .08);
}

.admin-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 18px;
  color: var(--navy);
  font-size: 20px;
  font-weight: 900;
}

.admin-tabs {
  display: grid;
  gap: 8px;
}

.admin-tabs button {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 12px;
  border: 0;
  border-radius: 12px;
  color: #52667d;
  background: transparent;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  text-align: right;
}

.admin-tabs button span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  color: var(--royal);
  background: #e9f4ff;
}

.admin-tabs button.active,
.admin-tabs button:hover {
  color: var(--royal);
  background: #eef7ff;
}

.admin-sidebar-footer {
  display: grid;
  gap: 10px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid #e3eef8;
}

.admin-sidebar-footer span {
  color: #64748b;
  font-size: 13px;
}

.admin-sidebar-footer a {
  color: var(--royal);
  font-weight: 900;
}

.admin-main {
  min-height: 100vh;
  margin-right: 280px;
  padding: 28px;
}

.admin-topbar,
.admin-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}

.admin-topbar h1 {
  margin: 8px 0 0;
  color: var(--navy);
  font-size: clamp(30px, 4vw, 46px);
}

.admin-actions,
.admin-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.products-head p {
  margin: 6px 0 0;
  color: #64748b;
}

.admin-product-count {
  display: grid;
  place-items: center;
  min-width: 110px;
  min-height: 74px;
  border-radius: 16px;
  color: #ffffff;
  background: var(--royal);
  box-shadow: 0 16px 35px rgba(29, 111, 214, .22);
}

.admin-product-count strong {
  font-size: 28px;
  line-height: 1;
}

.admin-product-count span {
  font-size: 12px;
  font-weight: 900;
}

.admin-product-filters {
  display: grid;
  grid-template-columns: minmax(180px, 1.4fr) repeat(5, minmax(140px, 1fr)) auto;
  gap: 12px;
  align-items: end;
  margin-bottom: 18px;
  padding: 16px;
  border: 1px solid #d3e2f2;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 18px 45px rgba(7, 27, 61, .07);
}

.admin-product-filters label {
  display: grid;
  gap: 7px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 900;
}

.admin-product-filters input,
.admin-product-filters select {
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid #c6dcf1;
  border-radius: 12px;
  color: var(--navy);
  background: #fafdff;
  font: inherit;
  outline: none;
}

.admin-product-filters input:focus,
.admin-product-filters select:focus {
  border-color: var(--royal);
  box-shadow: 0 0 0 4px rgba(29, 111, 214, .12);
}

.orders-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.orders-summary article {
  padding: 16px;
  border: 1px solid #d3e2f2;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 14px 35px rgba(7, 27, 61, .06);
}

.orders-summary b {
  display: block;
  color: var(--royal);
  font-size: 28px;
}

.orders-summary span {
  color: #64748b;
  font-weight: 800;
}

.shipping-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.shipping-summary article {
  padding: 16px;
  border: 1px solid #d3e2f2;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 14px 35px rgba(7, 27, 61, .06);
}

.shipping-summary b {
  display: block;
  color: var(--royal);
  font-size: 28px;
}

.shipping-summary span {
  color: #64748b;
  font-weight: 800;
}

.shipping-controls {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(180px, .45fr) auto;
  gap: 12px;
  align-items: end;
  margin-bottom: 18px;
  padding: 16px;
  border: 1px solid #d3e2f2;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 14px 35px rgba(7, 27, 61, .06);
}

.shipping-controls label {
  display: grid;
  gap: 7px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 900;
}

.shipping-controls input,
.shipping-controls select {
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid #c6dcf1;
  border-radius: 12px;
  color: var(--navy);
  background: #fafdff;
  font: inherit;
  outline: none;
}

.shipping-controls input:focus,
.shipping-controls select:focus {
  border-color: var(--royal);
  box-shadow: 0 0 0 4px rgba(29, 111, 214, .12);
}

.admin-panel {
  display: none;
}

.admin-panel.active {
  display: block;
}

.admin-page .reveal-item,
.admin-page .reveal-item:not(.is-visible) {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 22px;
}

.admin-stats article,
.admin-card,
.admin-table,
.admin-category-list article,
.shipping-board article {
  border: 1px solid #d3e2f2;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 18px 45px rgba(7, 27, 61, .08);
}

.admin-stats article {
  padding: 20px;
}

.admin-stats span,
.admin-stats small {
  display: block;
  color: #64748b;
}

.admin-stats strong {
  display: block;
  margin: 10px 0;
  color: var(--royal);
  font-size: 34px;
}

.admin-grid.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.admin-card {
  padding: 22px;
}

.admin-card h2,
.admin-card h3,
.admin-section-head h2 {
  margin: 0 0 16px;
  color: var(--navy);
}

.admin-timeline,
.admin-bars,
.admin-top-products,
.admin-kpis {
  display: grid;
  gap: 12px;
}

.admin-timeline span {
  padding: 12px;
  border-radius: 10px;
  color: #52667d;
  background: #f8fbff;
}

.admin-bars label {
  display: grid;
  gap: 8px;
}

.admin-bars i {
  display: block;
  width: var(--w);
  height: 8px;
  border-radius: 999px;
  background: var(--royal);
}

.admin-dashboard-extra {
  margin-top: 18px;
}

.admin-top-products a,
.admin-kpis article {
  display: grid;
  gap: 4px;
  padding: 12px;
  border: 1px solid #dbe9f7;
  border-radius: 12px;
  background: #f8fbff;
}

.admin-top-products a b,
.admin-kpis b {
  color: var(--navy);
}

.admin-top-products a span,
.admin-kpis span {
  color: #64748b;
  font-size: 13px;
}

.admin-category-list,
.shipping-board {
  display: grid;
  gap: 14px;
}

.admin-category-list {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.shipping-board {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.admin-category-list article,
.shipping-board article {
  display: grid;
  gap: 10px;
  padding: 18px;
}

.admin-category-list b,
.shipping-board h3 {
  color: var(--navy);
}

.shipping-board h3 {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.shipping-board h3 b {
  display: inline-grid;
  min-width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 999px;
  color: #ffffff;
  background: var(--royal);
  font-size: 13px;
}

.admin-category-list span,
.shipping-board span {
  color: #64748b;
}

.admin-category-list a {
  color: var(--royal);
  font-weight: 900;
}

.shipping-column {
  align-content: start;
}

.shipping-card {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid #dbe9f7;
  border-radius: 14px;
  background: #f8fbff;
}

.shipping-card b {
  color: var(--navy);
}

.shipping-card span,
.shipping-card small,
.shipping-card p {
  color: #64748b;
}

.shipping-card p {
  margin: 0;
  font-weight: 800;
}

.shipping-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.shipping-empty {
  display: block;
  padding: 14px;
  border-radius: 12px;
  color: #64748b;
  background: #f8fbff;
}

.admin-category-list .table-action {
  justify-self: start;
  min-width: 130px;
}

.admin-table {
  overflow: hidden;
}

.admin-table table {
  width: 100%;
  border-collapse: collapse;
}

.admin-table th,
.admin-table td {
  padding: 16px;
  border-bottom: 1px solid #e3eef8;
  text-align: right;
}

.admin-table th {
  color: var(--navy);
  background: #f8fbff;
}

.admin-table td {
  color: #52667d;
}

.orders-table td small,
.orders-table td b {
  display: block;
}

.orders-table td b {
  color: var(--navy);
}

.orders-table td small {
  margin-top: 4px;
  color: #7890aa;
  line-height: 1.5;
}

.order-actions {
  min-width: 210px;
}

.order-action-select {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid #c7dcf2;
  border-radius: 10px;
  color: var(--navy);
  background: #f6fbff;
  font: inherit;
  font-weight: 900;
  outline: none;
}

.order-action-select:focus {
  border-color: var(--royal);
  box-shadow: 0 0 0 3px rgba(29, 111, 214, .12);
}

.admin-table tr.is-muted {
  opacity: .68;
}

.admin-product-cell {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-width: 260px;
}

.admin-product-cell img {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid #dbe9f7;
  background: #f8fbff;
}

.admin-product-cell b {
  display: block;
  color: var(--navy);
  line-height: 1.5;
}

.admin-product-cell small {
  display: block;
  margin-top: 2px;
  color: #7890aa;
  font-size: 12px;
}

.status {
  display: inline-flex;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.status.good {
  color: #15803d;
  background: #dcfce7;
}

.status.sale {
  color: #b45309;
  background: #fff3d7;
}

.status.pending {
  color: #0f5fa8;
  background: #e9f4ff;
}

.status.out {
  color: #991b1b;
  background: #fee2e2;
}

.stock-pill.out {
  color: #991b1b;
  background: #fee2e2;
}

.table-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.table-action {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid #c7dcf2;
  border-radius: 10px;
  color: var(--royal);
  background: #f6fbff;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.table-action:hover {
  color: #ffffff;
  border-color: var(--royal);
  background: var(--royal);
}

.table-action.stock {
  color: #0f766e;
  border-color: #b8e6df;
  background: #effdfa;
}

.table-action.stock:hover {
  color: #ffffff;
  border-color: #0f766e;
  background: #0f766e;
}

.table-action.danger {
  color: #b91c1c;
  border-color: #fecaca;
  background: #fff5f5;
}

.table-action.danger:hover {
  color: #ffffff;
  border-color: #b91c1c;
  background: #b91c1c;
}

.product.out-of-stock {
  position: relative;
}

.product.out-of-stock .product-media {
  filter: grayscale(.35);
}

.product.out-of-stock .product-media::after {
  content: "نفدت الكمية";
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 7px 11px;
  border-radius: 999px;
  color: #ffffff;
  background: #b91c1c;
  font-size: 12px;
  font-weight: 900;
}

.product [data-add-cart]:disabled {
  opacity: .75;
  color: #ffffff;
  border-color: #94a3b8;
  background: #94a3b8;
  cursor: not-allowed;
}

.admin-modal[hidden] {
  display: none;
}

.admin-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(5, 19, 43, .52);
  backdrop-filter: blur(8px);
}

.admin-edit-form {
  width: min(820px, 100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
  padding: 24px;
  border: 1px solid #d9e7f5;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 30px 90px rgba(5, 19, 43, .28);
}

.admin-edit-head,
.admin-edit-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.admin-edit-head {
  margin-bottom: 18px;
}

.admin-edit-head h2 {
  margin: 6px 0 0;
  color: var(--navy);
}

.admin-modal-close {
  width: 42px;
  height: 42px;
  border: 1px solid #d4e6f7;
  border-radius: 50%;
  color: var(--navy);
  background: #f7fbff;
  font-size: 24px;
  cursor: pointer;
}

.admin-edit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.admin-edit-grid label {
  display: grid;
  gap: 7px;
  color: var(--navy);
  font-weight: 900;
}

.admin-edit-wide {
  grid-column: 1 / -1;
}

.admin-edit-grid input,
.admin-edit-grid textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #c9def2;
  border-radius: 12px;
  color: var(--navy);
  background: #fbfdff;
  font: inherit;
  outline: none;
}

.admin-edit-grid input:focus,
.admin-edit-grid textarea:focus {
  border-color: var(--royal);
  box-shadow: 0 0 0 4px rgba(29, 111, 214, .12);
}

.admin-edit-actions {
  justify-content: flex-start;
  margin-top: 18px;
}

.admin-edit-note {
  margin: 14px 0 0;
  color: #64748b;
  font-size: 13px;
}

.order-details-modal {
  width: min(920px, 100%);
}

.order-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.order-details-grid article {
  padding: 16px;
  border: 1px solid #d9e7f5;
  border-radius: 14px;
  background: #f8fbff;
}

.order-details-grid h3 {
  margin: 0 0 12px;
  color: var(--navy);
}

.order-details-grid p {
  margin: 7px 0;
  color: #52667d;
}

.order-details-wide {
  grid-column: 1 / -1;
}

.order-items-list {
  display: grid;
  gap: 10px;
}

.order-items-list div {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 12px;
  background: #ffffff;
}

.order-items-list img {
  width: 54px;
  height: 54px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid #dbe9f7;
}

.order-items-list span {
  color: var(--navy);
  font-weight: 800;
}

.order-total-large {
  display: block;
  color: var(--royal);
  font-size: 30px;
}

@media (max-width: 1100px) {
  .admin-product-filters,
  .shipping-controls {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: static;
    width: auto;
  }

  .admin-main {
    margin-right: 0;
  }

  .admin-stats,
  .shipping-summary,
  .orders-summary,
  .admin-category-list,
  .shipping-board {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .admin-topbar,
  .admin-section-head {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-stats,
  .admin-grid.two,
  .shipping-summary,
  .orders-summary,
  .admin-category-list,
  .shipping-board {
    grid-template-columns: 1fr;
  }

  .admin-main {
    padding: 18px;
  }

  .admin-table {
    overflow-x: auto;
  }

  .admin-edit-grid {
    grid-template-columns: 1fr;
  }

  .order-details-grid,
  .order-items-list div,
  .tracking-order-card {
    grid-template-columns: 1fr;
  }

  .order-items-list img {
    width: 100%;
    height: 150px;
  }
}

@media (max-width: 700px) {
  .catalog-grid,
  .offer-grid,
  .featured-offers .offer-grid,
  .current-offers .offer-grid,
  .grid-3,
  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px;
  }

  .catalog-grid .product,
  .offer-grid .product,
  .featured-offers .offer-grid .product,
  .current-offers .offer-grid .product,
  .grid-4 > .product {
    min-width: 0;
    padding: 8px;
    border-radius: 12px;
  }

  .catalog-grid .product-media,
  .offer-grid .product-media,
  .featured-offers .offer-grid .product-media,
  .current-offers .offer-grid .product-media,
  .grid-4 > .product .product-media {
    height: 132px;
    border-radius: 10px;
  }

  .catalog-grid .product-body,
  .offer-grid .product-body,
  .featured-offers .offer-grid .product-body,
  .current-offers .offer-grid .product-body,
  .grid-4 > .product .product-body {
    padding: 10px 2px 2px;
    text-align: center;
  }

  .catalog-grid .product h3,
  .offer-grid .product h3,
  .featured-offers .offer-grid .product h3,
  .current-offers .offer-grid .product h3,
  .grid-4 > .product h3 {
    min-height: 42px;
    margin: 8px 0 5px;
    font-size: 13px;
    line-height: 1.45;
  }

  .catalog-grid .product p,
  .offer-grid .product p,
  .featured-offers .offer-grid .product p,
  .current-offers .offer-grid .product p,
  .grid-4 > .product p {
    display: none;
  }

  .product .tag,
  .deal .tag {
    font-size: 11px;
  }

  .offer-timer {
    width: min(100%, 360px);
    margin: -10px auto 36px;
    padding: 20px 14px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
    border-radius: 12px;
  }

  .offer-timer h2 {
    margin-bottom: 8px;
    font-size: 18px;
    line-height: 1.45;
  }

  .offer-timer .count-box {
    display: grid;
    place-items: center;
    min-height: 48px;
    padding: 4px 2px;
    border: 0;
    border-radius: 0;
    background: transparent;
  }

  .offer-timer .count-box strong {
    font-size: 24px;
    line-height: 1;
  }

  .offer-timer .count-box span {
    margin-top: 7px;
    color: rgba(255, 255, 255, .92);
    font-size: 11px;
    font-weight: 800;
  }

  .offer-rating {
    justify-content: center;
    gap: 5px;
    width: fit-content;
    margin: 6px auto 8px;
    padding: 4px 7px;
    border-radius: 999px;
    background: #fff9e9;
    font-size: 10px;
    line-height: 1;
  }

  .offer-rating span {
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    font-size: 9px;
  }

  .offer-rating b {
    flex: 0 0 auto;
    min-width: auto;
    padding: 0;
    border-radius: 0;
    background: transparent;
    color: #7a5200;
    font-size: 10px;
    text-align: center;
  }

  .price-row {
    align-items: center;
    flex-direction: column;
    gap: 2px;
    text-align: center;
  }

  .price {
    font-size: 14px;
  }

  .old-price {
    font-size: 12px;
  }

  .product .product-actions,
  .offer-grid .product .product-actions,
  .featured-offers .offer-grid .product-actions,
  .current-offers .offer-grid .product-actions,
  .catalog-grid .product .product-actions {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .product .btn {
    min-height: 34px;
    padding: 0 8px;
    font-size: 11px;
  }
}

.catalog-grid > .product,
.catalog-grid > .product.reveal-item,
.catalog-grid > .product.reveal-item:not(.is-visible) {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

.shipping-notice {
  margin: 12px 0;
  padding: 12px 14px;
  border-right: 4px solid #c17700;
  border-radius: 12px;
  color: #5f3b00;
  background: #fff8e5;
  font-size: 14px;
  line-height: 1.7;
}

.shipping-fees-settings .admin-card {
  display: grid;
  align-content: start;
  gap: 14px;
}

.admin-check {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--navy);
  font-weight: 900;
}

.admin-check.compact {
  justify-content: flex-start;
  font-size: 13px;
}

.shipping-zones-list {
  display: grid;
  gap: 10px;
}

.shipping-zones-list article {
  padding: 12px;
  border: 1px solid #dbe9f7;
  border-radius: 12px;
  background: #f8fbff;
}

.shipping-zones-list b,
.shipping-zones-list span,
.shipping-zones-list small {
  display: block;
}

.shipping-zones-list b {
  color: var(--navy);
}

.shipping-zones-list span {
  margin: 5px 0;
  color: #52667d;
  line-height: 1.7;
}

.shipping-zones-list small {
  color: var(--royal);
  font-weight: 900;
}

.shipping-matrix-card {
  margin-top: 18px;
}

.shipping-matrix-card select {
  min-width: 190px;
  height: 42px;
  padding: 0 12px;
  border: 1px solid #c6dcf1;
  border-radius: 12px;
  color: var(--navy);
  background: #fff;
  font-weight: 900;
}

.shipping-fees-table {
  display: grid;
  gap: 16px;
}

.shipping-category-card {
  overflow: hidden;
  border: 1px solid #dbe9f7;
  border-radius: 14px;
  background: #fff;
}

.shipping-category-card h4 {
  margin: 0;
  padding: 14px 16px;
  color: var(--navy);
  background: #f4f9ff;
}

.shipping-category-card table {
  width: 100%;
  border-collapse: collapse;
}

.shipping-category-card th,
.shipping-category-card td {
  padding: 12px;
  border-top: 1px solid #e3eef8;
  text-align: right;
  color: var(--navy);
}

.shipping-category-card input[type="number"] {
  width: 110px;
  height: 38px;
  padding: 0 10px;
  border: 1px solid #c6dcf1;
  border-radius: 10px;
  color: var(--navy);
  font-weight: 900;
}

[data-admin-panel="shipping-fees"] > .admin-section-head {
  padding: 22px;
  border: 1px solid #cfe2f5;
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(23, 110, 208, .11), rgba(255, 255, 255, .96) 48%, rgba(216, 170, 79, .14));
  box-shadow: 0 18px 45px rgba(7, 27, 61, .07);
}

[data-admin-panel="shipping-fees"] > .admin-section-head h2 {
  margin-bottom: 8px;
  font-size: 30px;
}

[data-admin-panel="shipping-fees"] > .admin-section-head p {
  max-width: 720px;
  color: #52667d;
  line-height: 1.8;
}

.shipping-fees-settings {
  align-items: stretch;
  grid-template-columns: minmax(280px, .85fr) minmax(360px, 1.15fr) !important;
  margin-bottom: 18px;
}

.shipping-fees-settings .admin-card {
  position: relative;
  overflow: hidden;
  padding: 24px;
}

.shipping-fees-settings .admin-card::before,
.shipping-matrix-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--royal), #79b8f2, var(--gold));
}

.shipping-fees-settings .admin-card h3,
.shipping-matrix-card h3 {
  margin-bottom: 14px;
  font-size: 22px;
}

.shipping-fees-settings label:not(.admin-check) {
  display: grid;
  gap: 8px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 900;
}

.shipping-fees-settings textarea {
  width: 100%;
  min-height: 88px;
  padding: 12px;
  resize: vertical;
  border: 1px solid #c6dcf1;
  border-radius: 12px;
  color: var(--navy);
  background: #fafdff;
  font: inherit;
  line-height: 1.7;
  outline: none;
}

.shipping-fees-settings textarea:focus,
.shipping-category-card input[type="number"]:focus,
.shipping-matrix-card select:focus {
  border-color: var(--royal);
  box-shadow: 0 0 0 4px rgba(29, 111, 214, .12);
}

.shipping-fees-settings .admin-check {
  min-height: 52px;
  padding: 12px 14px;
  border: 1px solid #dbe9f7;
  border-radius: 14px;
  background: #f7fbff;
}

.shipping-fees-settings .admin-check input,
.admin-check.compact input {
  width: 18px;
  height: 18px;
  accent-color: var(--royal);
}

.shipping-zones-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.shipping-zones-list article {
  position: relative;
  min-height: 118px;
  padding: 15px;
  border-color: #cfe2f5;
  background: linear-gradient(180deg, #ffffff, #f7fbff);
}

.shipping-zones-list article::after {
  content: "";
  position: absolute;
  top: 14px;
  left: 14px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--royal);
  box-shadow: 0 0 0 5px rgba(23, 110, 208, .1);
}

.shipping-zones-list b {
  padding-left: 22px;
  font-size: 15px;
}

.shipping-zones-list span {
  font-size: 12px;
}

.shipping-zones-list small {
  width: fit-content;
  padding: 4px 9px;
  border-radius: 999px;
  background: #e9f4ff;
  font-size: 11px;
}

.shipping-matrix-card {
  position: relative;
  overflow: hidden;
  padding: 0;
}

.shipping-matrix-card > .admin-section-head {
  margin: 0;
  padding: 24px;
  border-bottom: 1px solid #e3eef8;
  background: #fbfdff;
}

.shipping-matrix-card > .admin-section-head p {
  margin: 6px 0 0;
  color: #64748b;
}

.shipping-matrix-card select {
  min-width: 220px;
  background: #fafdff;
}

.shipping-fees-table {
  padding: 20px;
  background: #ffffff;
}

.shipping-category-card {
  border-color: #cfe2f5;
  box-shadow: 0 14px 34px rgba(7, 27, 61, .05);
}

.shipping-category-card h4 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  color: #071b3d;
  font-size: 17px;
  background: linear-gradient(135deg, #eef7ff, #ffffff);
}

.shipping-category-card h4::after {
  content: "قواعد الشحن";
  padding: 5px 10px;
  border-radius: 999px;
  color: var(--royal);
  background: #ffffff;
  font-size: 11px;
  box-shadow: inset 0 0 0 1px #dbe9f7;
}

.shipping-category-card th {
  color: #52667d;
  background: #f8fbff;
  font-size: 12px;
  white-space: nowrap;
}

.shipping-category-card td {
  vertical-align: middle;
  background: #ffffff;
}

.shipping-category-card tbody tr:hover td {
  background: #fbfdff;
}

.shipping-category-card input[type="number"] {
  width: 100%;
  max-width: 118px;
  background: #fafdff;
}

.shipping-category-card .admin-check.compact {
  min-width: 145px;
  padding: 8px 10px;
  border: 1px solid #dbe9f7;
  border-radius: 999px;
  background: #ffffff;
}

@media (max-width: 700px) {
  [data-admin-panel="shipping-fees"] > .admin-section-head {
    align-items: stretch;
    flex-direction: column;
    padding: 18px;
  }

  [data-admin-panel="shipping-fees"] > .admin-section-head h2 {
    font-size: 24px;
  }

  .shipping-fees-settings {
    grid-template-columns: 1fr !important;
  }

  .shipping-zones-list {
    grid-template-columns: 1fr;
  }

  .shipping-matrix-card > .admin-section-head {
    padding: 18px;
  }

  .shipping-fees-table {
    padding: 12px;
  }

  .shipping-category-card {
    overflow-x: auto;
  }

  .shipping-category-card table {
    min-width: 620px;
  }

  .shipping-matrix-card .compact-head {
    align-items: stretch;
    flex-direction: column;
  }

  .shipping-matrix-card select {
    width: 100%;
  }

  .shipping-category-card h4 {
    position: sticky;
    right: 0;
    min-width: 620px;
  }

  body.product-detail-page .product-detail-hero {
    padding: 22px 0 34px;
  }

  body.product-detail-page .product-detail-layout,
  body.product-detail-page .product-detail-content {
    grid-template-columns: 1fr !important;
    gap: 14px;
  }

  body.product-detail-page .product-detail-gallery {
    min-height: 0;
    aspect-ratio: 1 / 1;
    padding: 12px;
    border-radius: 14px;
  }

  body.product-detail-page .product-detail-gallery img {
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: contain;
  }

  body.product-detail-page .product-detail-info,
  body.product-detail-page .product-description-panel,
  body.product-detail-page .product-service-panel {
    padding: 16px;
    border-radius: 14px;
  }

  body.product-detail-page .product-breadcrumb {
    gap: 6px;
    margin-bottom: 10px;
    font-size: 11px;
  }

  body.product-detail-page .product-detail-topline {
    gap: 7px;
  }

  body.product-detail-page .product-detail-info .tag,
  body.product-detail-page .stock-pill {
    padding: 5px 9px;
    font-size: 11px;
  }

  body.product-detail-page .product-detail-info h1 {
    margin: 12px 0 8px;
    font-size: 24px;
    line-height: 1.35;
  }

  body.product-detail-page .offer-rating {
    justify-content: flex-start;
    width: fit-content;
    margin: 8px 0 10px;
    padding: 5px 9px;
    font-size: 11px;
  }

  body.product-detail-page .offer-rating span {
    font-size: 11px;
  }

  body.product-detail-page .product-detail-summary {
    font-size: 14px;
    line-height: 1.8;
  }

  body.product-detail-page .product-detail-price {
    align-items: center;
    flex-direction: row;
    justify-content: space-between;
    gap: 8px;
    margin: 14px 0;
    padding: 13px;
    border-radius: 12px;
  }

  body.product-detail-page .product-detail-price strong {
    font-size: 24px;
  }

  body.product-detail-page .product-detail-price .old-price {
    font-size: 13px;
  }

  body.product-detail-page .product-quantity-row {
    align-items: center;
    flex-direction: row;
    margin-bottom: 14px;
    padding: 11px;
    border-radius: 12px;
  }

  body.product-detail-page .quantity-control {
    grid-template-columns: 34px 52px 34px;
    border-radius: 10px;
  }

  body.product-detail-page .quantity-control button,
  body.product-detail-page .quantity-control input {
    height: 36px;
  }

  body.product-detail-page .product-detail-actions,
  body.product-detail-page .product-detail-meta,
  body.product-detail-page .product-trust-strip,
  body.product-detail-page .product-spec-grid {
    grid-template-columns: 1fr !important;
  }

  body.product-detail-page .product-detail-actions {
    gap: 8px;
  }

  body.product-detail-page .product-detail-actions .btn {
    min-height: 42px;
    font-size: 13px;
  }

  body.product-detail-page .product-trust-strip span,
  body.product-detail-page .product-detail-meta article,
  body.product-detail-page .product-spec-grid article {
    min-height: 0;
    padding: 11px;
    border-radius: 11px;
  }

  body.product-detail-page .product-description-panel h2,
  body.product-detail-page .product-service-panel h3 {
    font-size: 21px;
  }

  body.product-detail-page .product-description-panel p,
  body.product-detail-page .product-service-panel li {
    font-size: 14px;
    line-height: 1.8;
  }

  body.product-detail-page .product-detail-cta {
    align-items: stretch;
    flex-direction: column;
    gap: 14px;
    padding: 18px;
    border-radius: 14px;
  }

  body.product-detail-page .product-detail-cta h2 {
    font-size: 24px;
  }

  body.product-detail-page .product-detail-cta .actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }
}

@media (max-width: 700px) {
  body.about-page .about-hero,
  body.contact-page .contact-hero,
  body.checkout-page .checkout-hero {
    padding: 40px 0 34px;
  }

  body.about-page .about-hero-grid,
  body.about-page .about-story,
  body.about-page .about-intro-grid,
  body.about-page .about-category-grid,
  body.about-page .about-stats,
  body.about-page .process-grid,
  body.about-page .process-grid-pro,
  body.contact-page .contact-layout,
  body.contact-page .contact-quick-actions,
  body.checkout-page .checkout-layout,
  body.checkout-page .order-success-layout,
  body.checkout-page .success-info-grid {
    grid-template-columns: 1fr !important;
    gap: 14px;
  }

  body.about-page .about-copy h1,
  body.contact-page .contact-hero h1,
  body.checkout-page .checkout-hero h1 {
    font-size: 32px;
    line-height: 1.25;
  }

  body.about-page .about-copy p,
  body.contact-page .contact-hero p,
  body.checkout-page .checkout-hero p {
    font-size: 14px;
    line-height: 1.85;
  }

  body.about-page .about-badges {
    gap: 7px;
    margin: 16px 0;
  }

  body.about-page .about-badges span {
    padding: 7px 9px;
    font-size: 11px;
  }

  body.about-page .about-visual img {
    height: 250px;
    border-radius: 16px;
  }

  body.about-page .about-visual-card {
    position: static;
    margin-top: 10px;
    color: var(--navy);
    border-color: #d3e2f2;
    background: #ffffff;
  }

  body.about-page .about-card,
  body.about-page .process-grid article,
  body.about-page .process-grid-pro article,
  body.about-page .about-category-grid a,
  body.contact-page .contact-form-panel,
  body.contact-page .contact-info-panel,
  body.checkout-page .checkout-panel,
  body.checkout-page .order-summary {
    padding: 16px;
    border-radius: 14px;
  }

  body.about-page .about-stats strong {
    font-size: 28px;
  }

  body.about-page .about-category-grid a {
    min-height: 0;
  }

  body.about-page .about-cta,
  body.contact-page .contact-support {
    align-items: stretch;
    flex-direction: column;
    padding: 18px;
  }

  body.about-page .about-cta .actions,
  body.contact-page .contact-support .actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  body.contact-page .contact-quick-actions a {
    min-height: 106px;
    padding: 14px;
  }

  body.contact-page .contact-quick-actions span {
    width: 38px;
    height: 38px;
    font-size: 15px;
  }

  body.contact-page .contact-info-list article {
    grid-template-columns: 40px minmax(0, 1fr);
    padding: 12px;
  }

  body.contact-page .contact-info-list span {
    width: 40px;
    height: 40px;
  }

  body.contact-page .contact-info-list p,
  body.contact-page .contact-info-list a {
    word-break: break-word;
  }

  body.contact-page .showroom-panel {
    grid-template-columns: 1fr !important;
    padding: 16px;
  }

  body.checkout-page .checkout-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  body.checkout-page .checkout-steps span {
    min-width: 0;
    text-align: center;
  }

  body.checkout-page .order-summary {
    position: static;
  }

  body.checkout-page .form-grid,
  body.checkout-page .delivery-options,
  body.checkout-page .payment-methods {
    grid-template-columns: 1fr !important;
  }

  body.checkout-page .checkout-cart-item,
  body.checkout-page .success-order-item {
    grid-template-columns: 58px minmax(0, 1fr);
    align-items: start;
    gap: 10px;
  }

  body.checkout-page .checkout-cart-item img,
  body.checkout-page .success-order-item img {
    width: 58px;
    height: 58px;
    border-radius: 12px;
  }

  body.checkout-page .checkout-cart-item strong,
  body.checkout-page .success-order-item b {
    grid-column: 2;
    white-space: normal;
  }

  body.checkout-page .checkout-qty {
    justify-content: flex-start;
    gap: 5px;
  }

  body.checkout-page .checkout-qty button,
  body.checkout-page .checkout-qty input {
    min-height: 32px;
  }

  body.checkout-page .summary-line,
  body.checkout-page .summary-total {
    align-items: flex-start;
    gap: 12px;
  }

  body.checkout-page .success-check {
    width: 58px;
    height: 58px;
    font-size: 30px;
  }

  body.checkout-page .success-info-grid article {
    padding: 12px;
    border-radius: 12px;
  }
}

@media (max-width: 420px) {
  body.checkout-page .checkout-cart-item,
  body.checkout-page .success-order-item {
    grid-template-columns: 1fr;
  }

  body.checkout-page .checkout-cart-item img,
  body.checkout-page .success-order-item img {
    width: 100%;
    height: 150px;
  }

  body.checkout-page .checkout-cart-item strong,
  body.checkout-page .success-order-item b {
    grid-column: auto;
  }
}
