:root {
  --ink: #141414;
  --graphite: #2d3033;
  --muted: #6d706f;
  --line: #e6e0d4;
  --paper: #f7f4ed;
  --logo-bg: #f5f5f3;
  --white: #ffffff;
  --gold: #b78b39;
  --gold-soft: #efe3c7;
  --green: #1e6f5c;
  --catalog-image-bg: #ffffff;
  --catalog-image-shadow: 0 10px 22px rgba(20, 20, 20, 0.055);
  --product-card-media-height: clamp(17rem, 21vw, 22rem);
  --product-card-title-height: 3.35rem;
  --product-card-meta-height: 3.2rem;
  --product-card-stock-height: 1.7rem;
  --shadow: 0 18px 48px rgba(20, 20, 20, 0.12);
  --radius: 8px;
  --mobile-menu-top: 170px;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  overflow-x: clip;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.topbar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--ink);
  color: var(--gold-soft);
  font-size: 0.8rem;
  letter-spacing: 0;
}

.topbar span {
  padding: 0.58rem 0.75rem;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto minmax(240px, 320px) minmax(260px, 1fr) auto;
  align-items: center;
  gap: 1rem;
  padding: 1rem clamp(1rem, 4vw, 4rem);
  background: var(--logo-bg);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  justify-self: center;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 0.9;
  text-transform: uppercase;
}

.brand small {
  font-family: Inter, sans-serif;
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  color: var(--muted);
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--gold);
}

.brand-logo {
  width: 160px;
  height: 160px;
  object-fit: contain;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.search {
  position: relative;
}

.search::before {
  content: "";
  position: absolute;
  left: 0.9rem;
  top: 50%;
  z-index: 1;
  width: 16px;
  height: 16px;
  border: 2px solid var(--muted);
  border-radius: 50%;
  transform: translateY(-56%);
  pointer-events: none;
}

.search::after {
  content: "";
  position: absolute;
  left: 1.82rem;
  top: 50%;
  z-index: 1;
  width: 8px;
  height: 2px;
  border-radius: 999px;
  background: var(--muted);
  transform: translateY(5px) rotate(45deg);
  transform-origin: left center;
  pointer-events: none;
}

.search input,
.filters input,
.filters select,
.checkout input,
.buy-panel input,
.newsletter input,
.section-head select {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
  padding: 0.7rem 0.9rem;
  outline: none;
}

.search input {
  padding-left: 2.65rem;
}

.search input:focus,
.filters input:focus,
.filters select:focus,
.checkout input:focus,
.buy-panel input:focus,
.newsletter input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(183, 139, 57, 0.13);
}

.suggestions {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  display: none;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.suggestions.active {
  display: block;
}

.suggestions button {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 0;
  background: transparent;
  text-align: left;
}

.suggestions button:hover {
  background: var(--paper);
}

.actions {
  display: flex;
  align-items: center;
  justify-self: end;
  justify-content: flex-end;
  gap: 0.55rem;
  font-size: 0.9rem;
  white-space: nowrap;
}

.actions a,
.plain-btn,
.cart-btn,
.icon-btn,
.carousel-controls button,
.outline {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  padding: 0.62rem 0.8rem;
  color: var(--graphite);
}

.actions a {
  max-width: 14rem;
  line-height: 1.12;
  text-align: center;
  white-space: normal;
}

.actions a[data-page="cliente"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 0;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--white);
  padding: 0.76rem 1rem;
  font-weight: 800;
  box-shadow: none;
}

.actions a[data-page="cliente"]:hover,
.actions a[data-page="cliente"]:focus-visible {
  background: var(--graphite);
  color: var(--white);
}

.cart-btn,
.primary,
.newsletter button,
.filters button,
.summary button,
.buy-panel button {
  border: 0;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--white);
  padding: 0.76rem 1rem;
  font-weight: 700;
}

.cart-btn strong,
.plain-btn strong {
  display: inline-grid;
  min-width: 20px;
  height: 20px;
  margin-left: 0.3rem;
  place-items: center;
  border-radius: 999px;
  background: var(--gold);
  color: var(--ink);
  font-size: 0.72rem;
}

.menu-toggle {
  display: none;
}

.mega {
  position: sticky;
  top: 74px;
  z-index: 18;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.25rem;
  padding: 0.7rem 1rem;
  overflow-x: auto;
  overflow-y: visible;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  scrollbar-width: thin;
}

.mega-start,
.mega-primary,
.mega-secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
}

.mega-item {
  position: relative;
  display: inline-flex;
}

.mega-secondary:empty {
  display: none;
}

.mega button,
.mega a {
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  padding: 0.65rem 0.85rem;
  color: var(--graphite);
}

.mega button:hover,
.mega a:hover {
  background: var(--paper);
}

.mega-panel {
  position: fixed;
  top: 132px;
  z-index: 19;
  width: min(1180px, calc(100vw - 2rem));
  margin: 0 auto;
  transform: none;
  padding: 1.1rem;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.mega-panel[hidden] {
  display: none !important;
}

.mega-panel::before {
  display: none;
}

.mega-panel h3 {
  margin: 0 0 0.8rem;
}

.mega-panel-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 0.8rem;
}

.mega-panel-head h3 {
  margin: 0;
}

.mega-back {
  display: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  padding: 0.55rem 0.72rem;
  font-weight: 800;
}

.mega-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 0.65rem;
}

.mega-list a {
  padding: 0.65rem;
  border-radius: var(--radius);
  background: var(--paper);
  line-height: 1.35;
}

.mega-fallback-panel {
  position: fixed;
  top: var(--submenu-top, 132px);
  left: 1rem;
  right: 1rem;
  z-index: 50;
  display: none;
  width: min(1180px, calc(100vw - 2rem));
  max-height: min(520px, calc(100vh - 150px));
  overflow: auto;
  transform: none;
  margin: 0 auto;
  padding: 1.1rem;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: var(--shadow);
}

.mega-item:hover .mega-fallback-panel,
.mega-item:focus-within .mega-fallback-panel {
  display: block;
}

.js-mega-ready .mega-item:hover .mega-fallback-panel,
.js-mega-ready .mega-item:focus-within .mega-fallback-panel {
  display: none;
}

.mega-fallback-panel h3 {
  margin: 0 0 0.8rem;
}

.mega-fallback-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 0.65rem;
}

.mega-fallback-list a {
  padding: 0.65rem;
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--muted);
  line-height: 1.35;
}

.visible-mega {
  position: relative;
  z-index: 12;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.visible-mega-inner {
  display: grid;
  grid-template-columns: repeat(5, minmax(170px, 1fr));
  gap: 1px;
  width: min(1240px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 0.85rem 0;
}

.visible-mega article {
  min-width: 0;
  border-right: 1px solid var(--line);
  padding: 0.4rem 1rem 0.65rem;
}

.visible-mega article:last-child {
  border-right: 0;
}

.visible-mega-title {
  display: block;
  margin-bottom: 0.7rem;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.04rem;
  font-weight: 800;
}

.visible-mega h3 {
  margin: 0.6rem 0 0.35rem;
  color: var(--gold);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.visible-mega a:not(.visible-mega-title) {
  display: block;
  padding: 0.22rem 0;
  color: var(--graphite);
  font-size: 0.88rem;
}

.visible-mega a:hover {
  color: var(--gold);
}

@media (min-width: 1025px) {
  .mega {
    --mega-panel-z-index: 70;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    justify-content: center;
    gap: 0.25rem 0.7rem;
    padding: 0.5rem 1rem;
    overflow: visible;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: none;
    scrollbar-width: none;
  }

  .mega::-webkit-scrollbar {
    display: none;
  }

  .mega-start,
  .mega-primary,
  .mega-secondary {
    justify-content: center;
    gap: 0.25rem;
  }

  .mega-start,
  .mega-secondary {
    align-self: stretch;
    align-items: center;
  }

  .mega-primary {
    display: grid;
    grid-template-columns: repeat(6, max-content);
    grid-auto-rows: auto;
    justify-content: center;
    align-items: center;
    gap: 0.28rem 0.58rem;
    max-width: min(1240px, calc(100vw - 12rem));
    margin: 0 auto;
  }

  .mega > .mega-start a,
  .mega > .mega-primary .mega-item > button,
  .mega > .mega-secondary a {
    position: relative;
    border-radius: var(--radius);
    padding: 0.52rem 0.68rem;
    color: var(--graphite);
    font-size: clamp(1.05rem, 1.1vw, 1.22rem);
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.15;
    text-transform: none;
    white-space: nowrap;
  }

  .mega button::after {
    content: "";
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 0.32rem;
    vertical-align: middle;
    border-top: 5px solid rgba(191, 145, 58, 0.62);
    border-right: 5px solid transparent;
    border-left: 5px solid transparent;
  }

  .mega button:hover,
  .mega a:hover,
  .mega button[aria-expanded="true"] {
    background: var(--paper);
    color: var(--ink);
  }

  .mega-fallback-panel,
  .mega-panel {
    left: 0;
    right: 0;
    z-index: var(--mega-panel-z-index);
    width: 100vw;
    max-width: none;
    max-height: min(560px, calc(100vh - 150px));
    padding: 1.25rem clamp(1.25rem, 5vw, 4rem) 1.45rem;
    background: rgba(255, 255, 255, 0.99);
    border: 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    box-shadow: 0 22px 45px rgba(34, 24, 20, 0.16);
    opacity: 1;
    transform: translateY(0);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .mega-fallback-panel h3,
  .mega-panel h3 {
    margin: 0 0 0.8rem;
    color: var(--ink);
    font-size: 0.95rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .mega-fallback-list,
  .mega-list {
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
    gap: 0.15rem clamp(1.25rem, 3vw, 2.6rem);
    align-items: start;
  }

  .mega-fallback-list a,
  .mega-list a {
    min-height: 0;
    min-width: 0;
    padding: 0.72rem 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    background: transparent;
    color: var(--graphite);
    font-size: clamp(0.82rem, 0.88vw, 1rem);
    font-weight: 900;
    line-height: 1.24;
    text-transform: uppercase;
    white-space: normal;
    max-width: 100%;
    overflow: visible;
    overflow-wrap: anywhere;
    word-wrap: break-word;
    word-break: normal;
    hyphens: auto;
  }

  .mega-fallback-list a:hover,
  .mega-list a:hover {
    background: transparent;
    color: var(--gold);
  }
}

@media (min-width: 1025px) and (max-width: 1320px) {
  .mega {
    grid-template-columns: 1fr;
  }

  .mega-start,
  .mega-secondary {
    display: none;
  }

  .mega-primary {
    grid-template-columns: repeat(6, max-content);
    max-width: calc(100vw - 2rem);
    gap: 0.22rem 0.34rem;
  }

  .mega > .mega-start a,
  .mega > .mega-primary .mega-item > button,
  .mega > .mega-secondary a {
    padding: 0.44rem 0.42rem;
    font-size: clamp(0.96rem, 0.94vw, 1.06rem);
  }

  .mega-fallback-list,
  .mega-list {
    grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
    gap: 0.1rem 1.25rem;
  }
}

.page {
  display: none;
}

.page.active {
  display: block;
}

.hero {
  position: relative;
  width: 100vw;
  max-width: none;
  margin: 0 0 0 calc(50% - 50vw);
  aspect-ratio: 1920 / 600;
  height: auto;
  min-height: 0;
  max-height: none;
  overflow: hidden;
  background: var(--ink);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(circle at center, transparent 52%, rgba(0, 0, 0, 0.2) 100%);
}

.hero picture {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
}

.hero img {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  opacity: 1;
  transition: opacity 300ms ease, transform 520ms ease;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    90deg,
    rgba(10, 10, 10, 0.58) 0%,
    rgba(10, 10, 10, 0.28) 48%,
    rgba(10, 10, 10, 0.06) 100%
  );
}

.hero.textless .hero-overlay {
  background: linear-gradient(90deg, rgba(10, 10, 10, 0.08), rgba(10, 10, 10, 0.02));
}

.hero-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  min-height: 100%;
  width: min(960px, calc(100% - 2rem));
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.75rem, 3.2vw, 3.5rem) 1.25rem clamp(1.75rem, 3.2vw, 3.5rem) clamp(1.25rem, 7vw, 8rem);
  color: var(--white);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.42);
}

.eyebrow {
  margin: 0 0 0.6rem;
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.02;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 780px;
  font-size: clamp(2.2rem, 3.7vw, 3.8rem);
}

.hero p:not(.eyebrow) {
  max-width: 580px;
  color: rgba(255, 255, 255, 0.85);
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.hero-dots {
  position: absolute;
  right: clamp(1rem, 4vw, 4rem);
  bottom: 1.4rem;
  z-index: 3;
  display: flex;
  gap: 0.45rem;
}

.hero-dots button {
  width: 12px;
  height: 12px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
  padding: 0;
}

.hero-dots button.active {
  width: 30px;
  background: var(--gold);
  border-color: var(--gold);
}

.primary,
.secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
}

.secondary {
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--radius);
  color: var(--white);
  padding: 0.76rem 1rem;
  font-weight: 700;
}

.trust-row,
.section,
.newsletter,
.catalog-layout,
.product-page,
.product-details,
.dashboard,
.checkout,
.admin,
.info-page,
footer {
  width: min(1240px, calc(100% - 2rem));
  margin: 0 auto;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 1rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
  box-shadow: var(--shadow);
}

.trust-row article {
  padding: 1.2rem;
  background: rgba(255, 255, 255, 0.94);
}

.trust-row strong {
  display: block;
  font-size: 1.45rem;
}

.trust-row span,
.muted {
  color: var(--muted);
}

.section {
  padding: clamp(2.2rem, 5vw, 4.5rem) 0;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.3rem;
}

.section h2,
.catalog-layout h1,
.product-info h1,
.dashboard h1,
.checkout h1,
.admin h1,
.info-page h1 {
  font-size: clamp(2rem, 4vw, 3.3rem);
}

.product-grid,
.category-grid,
.continent-grid,
.banner-grid,
.kit-grid,
.blog-grid,
.testimonials,
.panel-grid,
.admin-grid {
  display: grid;
  gap: 1rem;
}

.product-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
  grid-auto-rows: 1fr;
}

.catalog-preview-grid {
  align-items: stretch;
}

.banner-grid {
  grid-template-columns: 1fr;
}

.dynamic-banner {
  position: relative;
  min-height: 0;
  aspect-ratio: 1920 / 600;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--white);
  cursor: pointer;
  box-shadow: var(--shadow);
}

.dynamic-banner img {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  opacity: 0.56;
  transition: transform 220ms ease, opacity 220ms ease;
}

.dynamic-banner:hover img {
  opacity: 0.72;
}

.dynamic-banner div {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  min-height: 100%;
  flex-direction: column;
  justify-content: end;
  padding: 1.2rem;
  background: linear-gradient(180deg, rgba(20, 20, 20, 0.08), rgba(20, 20, 20, 0.78));
}

.dynamic-banner picture {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
}

@media (min-width: 1280px) and (max-width: 1599px) {
  .hero,
  .dynamic-banner {
    aspect-ratio: 1600 / 500;
    max-height: none;
  }
}

@media (min-width: 768px) and (max-width: 1279px) {
  .hero,
  .dynamic-banner {
    aspect-ratio: 1200 / 450;
    max-height: none;
  }
}

@media (max-width: 767px) {
  .hero,
  .dynamic-banner {
    aspect-ratio: 1080 / 1300;
    max-height: none;
  }

  .hero {
    min-height: 0;
    display: grid;
    place-items: center;
  }

  .hero picture,
  .hero img {
    width: 100%;
    height: 100%;
  }

  .hero img {
    object-fit: cover;
    object-position: center center;
  }

  .hero-content {
    display: none;
  }

  .hero-overlay {
    background: linear-gradient(180deg, rgba(10, 10, 10, 0.04) 20%, rgba(10, 10, 10, 0.82) 100%);
  }

  .hero h1 {
    font-size: clamp(2rem, 10vw, 3.4rem);
  }
}

.dynamic-banner span {
  color: var(--gold-soft);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dynamic-banner h3 {
  margin: 0.5rem 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.7rem;
}

.dynamic-banner p {
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.5;
}

.dynamic-banner button {
  align-self: start;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  padding: 0.6rem 0.8rem;
  font-weight: 800;
}

.product-card,
.category-card,
.kit,
.blog-grid article,
.testimonials article,
.panel-grid article,
.admin-grid article,
.hot-card,
.summary,
.checkout-steps article,
.filters,
.product-details article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 8px 28px rgba(20, 20, 20, 0.06);
}

.product-card {
  display: grid;
  grid-template-rows: minmax(0, var(--product-card-media-height)) 1fr;
  height: 100%;
  overflow: hidden;
}

.product-card a,
.category-card,
.gallery,
.thumbs button {
  overflow: hidden;
}

.product-card a {
  display: grid;
  min-height: 0;
  place-items: center;
  background: var(--catalog-image-bg);
}

.product-card-media {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  height: var(--product-card-media-height);
  aspect-ratio: auto;
  border-bottom: 1px solid var(--line);
  background: #fff;
  isolation: isolate;
  min-height: 0;
  padding: clamp(1rem, 4.5%, 1.7rem);
  --product-image-scale: 1;
}

.product-card-media::before,
.gallery::before,
.category-hero-card::before {
  content: "";
  position: absolute;
  inset: clamp(0.55rem, 2vw, 1.1rem);
  z-index: -1;
  border-radius: calc(var(--radius) + 2px);
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(230, 224, 212, 0.42);
}

.product-card img,
.category-card img,
.gallery img {
  width: 100%;
  display: block;
  transition: transform 260ms ease, filter 260ms ease;
  transform-origin: center;
  will-change: transform;
}

.product-card img,
.category-card img,
.gallery img,
.thumbs img,
.hot-card img,
.admin-product img,
.cart-line img {
  object-fit: contain;
  object-position: center;
  background: var(--catalog-image-bg);
}

.product-card:hover img,
.category-card:hover img,
.gallery > img:hover,
.thumbs button:hover img {
  transform: scale(calc(var(--product-image-scale, 1) + 0.04));
  filter: saturate(1.06) contrast(1.03);
}

.product-page .gallery > #mainProductImage {
  cursor: zoom-in;
}

.product-page .gallery > #mainProductImage:hover {
  transform: none;
  filter: drop-shadow(var(--catalog-image-shadow));
}

.product-card img {
  width: 100%;
  height: 100%;
  padding: 0;
  background: #fff;
  image-rendering: auto;
}

.product-card-media .product-card-image {
  grid-area: 1 / 1;
  align-self: center;
  justify-self: center;
  width: min(82%, calc(100% - 1.6rem));
  height: min(82%, calc(100% - 1.6rem));
  max-width: 100%;
  max-height: 100%;
  padding: clamp(0.25rem, 1vw, 0.75rem);
  filter: drop-shadow(var(--catalog-image-shadow)) brightness(1.012) contrast(1.035) saturate(1.01);
  object-fit: contain;
  object-position: center center;
  transform: scale(var(--product-image-scale, 1));
  transition: opacity 240ms ease, transform 260ms ease, filter 260ms ease;
}

.product-card--banknote .product-card-media {
  --product-image-scale: 1;
  aspect-ratio: auto;
  min-height: 0;
  padding: clamp(0.5rem, 1.4vw, 1rem);
}

.product-card--banknote .product-card-image {
  width: min(98%, calc(100% - 0.4rem));
  height: min(92%, calc(100% - 0.4rem));
  max-width: 100%;
  max-height: 100%;
  padding: clamp(0.12rem, 0.45vw, 0.4rem);
  object-fit: contain;
  object-position: center center;
}

.product-card--banknote:hover img,
.product-card--banknote:focus-within img {
  transform: scale(1);
}

.product-card-image--front {
  opacity: 1;
}

.product-card-image--back {
  opacity: 0;
}

@media (hover: hover) and (pointer: fine) {
  .product-card--has-back:hover .product-card-image--back,
  .product-card--has-back:focus-within .product-card-image--back {
    opacity: 1;
  }
}

@media (hover: none), (pointer: coarse) {
  .product-card--has-back .product-card-media .product-card-image--front {
    animation: rsmMobileFrontBack 6s infinite;
  }

  .product-card--has-back .product-card-media .product-card-image--back {
    animation: rsmMobileBackFront 6s infinite;
  }

  @media (prefers-reduced-motion: reduce) {
    .product-card-media .product-card-image--front,
    .product-card-media .product-card-image--back {
      animation: none;
    }
  }
}

@keyframes rsmMobileFrontBack {
  0%, 46% { opacity: 1; }
  54%, 96% { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes rsmMobileBackFront {
  0%, 46% { opacity: 0; }
  54%, 96% { opacity: 1; }
  100% { opacity: 0; }
}

.product-card-body {
  display: grid;
  grid-template-rows: var(--product-card-title-height) var(--product-card-meta-height) var(--product-card-stock-height) minmax(0.75rem, 1fr) auto;
  min-width: 0;
  padding: 1rem;
}

.product-card h3 {
  display: -webkit-box;
  min-height: 0;
  margin: 0.35rem 0 0;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: 1rem;
  line-height: 1.35;
}

.product-card .muted {
  display: -webkit-box;
  overflow: hidden;
  align-self: start;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.product-card .stock {
  align-self: start;
  min-height: 1.35rem;
}

.badge,
.product-card .rarity,
.payment-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  border-radius: 999px;
  background: var(--gold-soft);
  color: #69460b;
  padding: 0.25rem 0.58rem;
  font-size: 0.76rem;
  font-weight: 800;
}

.product-card footer {
  display: grid;
  grid-template-columns: minmax(92px, auto) minmax(0, 1fr);
  align-items: center;
  gap: 0.75rem;
  width: auto;
  margin: auto 0 0;
  padding: 0.72rem 0 0;
  border-top: 1px solid var(--line);
}

.product-card footer > strong {
  white-space: nowrap;
}

.product-card button {
  width: 100%;
  min-height: 48px;
  border: 0;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--white);
  padding: 0.58rem 0.75rem;
  font-weight: 700;
  font-size: 0.88rem;
  line-height: 1.2;
  text-align: center;
  white-space: normal;
}

.product-card button:disabled {
  cursor: not-allowed;
  background: #b9b5ad;
}

a.hot-card {
  color: inherit;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

a.hot-card:hover,
a.hot-card:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 12px 34px rgba(20, 20, 20, 0.1);
}

.stock {
  margin: 0.2rem 0 0.8rem;
  color: var(--green);
  font-size: 0.85rem;
  font-weight: 800;
}

.cart-trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.4rem;
  margin-bottom: 0.85rem;
}

.cart-trust-strip span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  border: 1px solid rgba(188, 138, 43, 0.26);
  border-radius: 999px;
  background: rgba(240, 229, 199, 0.42);
  color: #6c4b12;
  font-size: 0.72rem;
  font-weight: 800;
  text-align: center;
  line-height: 1.1;
  padding: 0.35rem 0.45rem;
}

.stock.low {
  color: #9a4d13;
}

.dark-band {
  width: 100%;
  max-width: none;
  padding-inline: max(1rem, calc((100vw - 1240px) / 2));
  background: #181715;
  color: var(--white);
}

.rare-carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 34%);
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 0.5rem;
}

.rare-carousel .product-card {
  scroll-snap-align: start;
  background: #24221d;
  border-color: rgba(255, 255, 255, 0.12);
}

.rare-carousel .product-card h3,
.rare-carousel .product-card footer {
  color: var(--white);
}

.split,
.product-page,
.checkout,
.dashboard,
.catalog-layout {
  display: grid;
  grid-template-columns: 0.86fr 1.3fr;
  gap: clamp(1rem, 3vw, 2rem);
  align-items: start;
}

.hot-list {
  display: grid;
  gap: 0.75rem;
}

.hot-card {
  display: grid;
  grid-template-columns: 74px 1fr auto;
  gap: 0.8rem;
  align-items: center;
  padding: 0.75rem;
}

.hot-card img {
  width: 74px;
  height: 74px;
  border-radius: var(--radius);
  padding: 0.25rem;
}

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

.category-card {
  display: grid;
  grid-template-rows: 190px 1fr;
  overflow: hidden;
}

.category-card img {
  width: 100%;
  height: 190px;
  aspect-ratio: auto;
  padding: clamp(1rem, 9%, 2rem);
  object-fit: contain;
  object-position: center;
  background: #fff;
  filter: drop-shadow(var(--catalog-image-shadow));
}

.category-card--empty img {
  opacity: 0.5;
  filter: grayscale(1);
}

.category-card div {
  padding: 1rem;
}

.empty-category {
  display: grid;
  justify-items: start;
  gap: 0.65rem;
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
}

.empty-category h3 {
  margin: 0;
  font-size: clamp(1.35rem, 2.2vw, 2rem);
}

.empty-category p {
  margin: 0;
  color: var(--muted);
}

.empty-category a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--white);
  padding: 0.62rem 0.9rem;
  font-weight: 800;
}

.continents {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 2rem;
  align-items: center;
}

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

.continent-grid button {
  min-height: 88px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--graphite);
  font-weight: 800;
}

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

.kit,
.blog-grid article,
.testimonials article,
.panel-grid article,
.admin-grid article,
.checkout-steps article,
.product-details article {
  padding: 1.1rem;
}

.kit strong {
  color: var(--green);
  font-size: 1.25rem;
}

.editorial {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.blog-grid article span {
  color: var(--gold);
  font-weight: 800;
}

.newsletter {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 520px);
  gap: 1rem;
  align-items: center;
  margin-bottom: 3rem;
  padding: clamp(1.5rem, 4vw, 2.4rem);
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--white);
}

.newsletter form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.7rem;
}

.catalog-layout {
  grid-template-columns: 280px 1fr;
  padding: 2rem 0 4rem;
}

.category-layout {
  grid-template-columns: 1fr;
}

.filters {
  position: sticky;
  top: 150px;
  display: grid;
  gap: 0.9rem;
  padding: 1rem;
}

.filter-links {
  display: grid;
  gap: 0.45rem;
}

.filter-links button {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 0.7rem;
  text-align: left;
}

.category-hero-card {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 1rem;
  align-items: stretch;
  margin-bottom: 1rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 8px 28px rgba(20, 20, 20, 0.06);
}

.category-hero-card:empty {
  display: none;
}

.category-hero-card img {
  width: 100%;
  height: 100%;
  min-height: 210px;
  padding: clamp(1.2rem, 7%, 2.4rem);
  object-fit: contain;
  object-position: center;
  background: #fff;
  filter: drop-shadow(var(--catalog-image-shadow));
}

.category-hero-card div {
  padding: 1.2rem;
}

.category-hero-card h2 {
  margin: 0.7rem 0;
  font-size: clamp(1.6rem, 3vw, 2.5rem);
}

.menu-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1rem;
}

.menu-tags span {
  border-radius: 999px;
  background: var(--paper);
  color: var(--graphite);
  padding: 0.35rem 0.65rem;
  font-size: 0.8rem;
  font-weight: 800;
}

.filters label,
.buy-panel label {
  display: grid;
  gap: 0.35rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.product-page {
  grid-template-columns: 1fr 0.9fr;
  padding: 2rem 0 1rem;
}

.gallery {
  position: relative;
  isolation: isolate;
  display: grid;
  gap: 0.8rem;
  background: #fff;
}

.gallery > img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius);
  padding: clamp(2rem, 9%, 4.25rem);
  object-fit: contain;
  object-position: center;
  background: #fff;
  filter: drop-shadow(var(--catalog-image-shadow));
}

.product-page--banknote .gallery > img {
  width: 100%;
  height: clamp(22rem, 40vw, 36rem);
  min-height: 0;
  aspect-ratio: auto;
  padding: clamp(0.65rem, 1.6vw, 1.15rem);
  object-fit: contain;
  object-position: center center;
}

.product-page--banknote .thumbs button,
.product-page--banknote .thumbs img {
  aspect-ratio: 2.18 / 1;
}

.product-page--banknote .thumbs img {
  padding: 0.28rem;
}

.product-zoom-hint {
  position: absolute;
  top: clamp(0.85rem, 2vw, 1.2rem);
  left: clamp(0.85rem, 2vw, 1.2rem);
  z-index: 5;
  border: 1px solid rgba(184, 134, 11, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--graphite);
  padding: 0.45rem 0.75rem;
  box-shadow: 0 10px 28px rgba(20, 20, 20, 0.08);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.1;
  backdrop-filter: blur(10px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.product-zoom-hint.used {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-0.25rem);
}

.product-zoom-lens {
  position: absolute;
  z-index: 6;
  display: none;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.94);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  box-shadow: 0 0 0 1px rgba(184, 134, 11, 0.42), 0 18px 40px rgba(0, 0, 0, 0.16), inset 0 0 0 999px rgba(255, 255, 255, 0.04);
  transform: translateZ(0);
  backdrop-filter: saturate(1.15) blur(0.5px);
}

.product-zoom-lens.visible {
  display: block;
}

.product-zoom-preview {
  position: fixed;
  z-index: 120;
  display: none;
  border: 1px solid rgba(226, 218, 202, 0.95);
  border-radius: var(--radius);
  background-color: #fff;
  background-repeat: no-repeat;
  box-shadow: 0 24px 70px rgba(15, 15, 15, 0.22);
  pointer-events: none;
}

.product-zoom-preview.visible {
  display: block;
}

.zoom-open {
  overflow: hidden;
}

.product-zoom-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  background: rgba(10, 10, 10, 0.9);
  padding: clamp(1rem, 3vw, 2rem);
}

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

.product-zoom-stage {
  position: relative;
  display: grid;
  place-items: center;
  width: min(94vw, 1440px);
  height: min(84vh, 940px);
  overflow: hidden;
  border-radius: var(--radius);
  background: #fff;
  cursor: grab;
  touch-action: none;
}

.product-zoom-stage:active {
  cursor: grabbing;
}

.product-zoom-stage img {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: contain;
  object-position: center center;
  user-select: none;
  -webkit-user-drag: none;
  transform-origin: center center;
  transition: transform 90ms linear;
  will-change: transform;
}

.product-zoom-close {
  position: fixed;
  top: max(1rem, env(safe-area-inset-top));
  right: max(1rem, env(safe-area-inset-right));
  z-index: 302;
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  font-size: 2rem;
  line-height: 1;
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.28);
}

.product-zoom-controls {
  position: fixed;
  bottom: max(1rem, env(safe-area-inset-bottom));
  left: 50%;
  z-index: 302;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  transform: translateX(-50%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(15, 15, 15, 0.72);
  color: #fff;
  padding: 0.45rem 0.65rem;
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(12px);
}

.product-zoom-controls button {
  display: grid;
  place-items: center;
  width: 2.45rem;
  height: 2.45rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  font-size: 1.35rem;
  font-weight: 900;
  line-height: 1;
}

.product-zoom-controls span {
  min-width: 4rem;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 900;
}

@media (hover: none), (pointer: coarse) {
  .product-zoom-lens,
  .product-zoom-preview {
    display: none !important;
  }

  .product-zoom-hint {
    top: 0.65rem;
    left: 0.65rem;
    max-width: calc(100% - 1.3rem);
    font-size: 0.72rem;
  }
}

.buy-trust-strip {
  display: grid;
  gap: 0.45rem;
  margin: 0 0 0.85rem;
}

.buy-trust-strip span {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--graphite);
  font-size: 0.86rem;
  font-weight: 800;
}

.buy-trust-strip span::before {
  content: "";
  width: 0.48rem;
  height: 0.48rem;
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(183, 139, 57, 0.15);
}

.thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.7rem;
}

.thumbs button {
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: var(--radius);
  padding: 0;
  aspect-ratio: 1 / 1;
  background: var(--catalog-image-bg);
}

.thumbs button.active {
  border-color: var(--gold);
}

.thumbs img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  padding: 0.45rem;
}

@media (prefers-reduced-motion: reduce) {
  .product-card img,
  .category-card img,
  .gallery img,
  .dynamic-banner img {
    transition: none;
  }
}

.product-info {
  display: grid;
  gap: 1rem;
}

.price {
  font-size: 2rem;
  color: var(--green);
}

.shipping-options {
  display: grid;
  gap: 0.55rem;
  margin-top: 0.7rem;
}

.shipping-option {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0.65rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 0.8rem;
  cursor: pointer;
}

.shipping-option.selected {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px var(--gold);
}

.shipping-option input {
  width: 18px;
  height: 18px;
  margin: 0;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.buy-panel {
  display: grid;
  gap: 0.75rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.buy-panel .outline {
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--line);
}

.specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.specs div {
  padding: 0.8rem;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
}

.specs span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
}

.premium-assurance,
.checkout-assurance {
  display: grid;
  gap: 0.7rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(247, 244, 237, 0.78));
  padding: 1rem;
}

.premium-assurance article {
  display: grid;
  gap: 0.18rem;
  padding-left: 0.85rem;
  border-left: 3px solid var(--gold);
}

.premium-assurance strong,
.checkout-assurance h2 {
  color: var(--ink);
}

.premium-assurance span,
.checkout-assurance p {
  color: var(--muted);
  line-height: 1.45;
}

.checkout-assurance div {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.checkout-assurance span {
  border-radius: 999px;
  background: var(--gold-soft);
  color: #69460b;
  padding: 0.35rem 0.65rem;
  font-size: 0.82rem;
  font-weight: 800;
}

.product-details {
  grid-template-columns: repeat(2, 1fr);
  padding-bottom: 4rem;
}

.dashboard {
  grid-template-columns: 260px 1fr;
  padding: 2rem 0 4rem;
}

.dashboard aside {
  display: grid;
  gap: 0.55rem;
  padding: 1rem;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--white);
}

.dashboard aside a {
  padding: 0.72rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
}

.client-menu button,
.link-button {
  border: 0;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  color: inherit;
  padding: 0.72rem;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.client-menu button.active {
  background: var(--gold);
  color: var(--ink);
  font-weight: 900;
}

#customerLogout {
  margin-top: 0.5rem;
  background: rgba(255, 255, 255, 0.18);
}

.client-content {
  min-width: 0;
}

.client-auth-grid,
.client-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

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

.stack-form {
  display: grid;
  gap: 0.75rem;
}

.stack-form input {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.72rem 0.8rem;
}

.stack-form button,
.link-button {
  border: 0;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--white);
  padding: 0.78rem 1rem;
  font-weight: 900;
}

.link-button {
  padding: 0.48rem 0.72rem;
}

.stack-form button.subtle,
.link-button.subtle {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}

.compact-auth-form {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.client-local-notice {
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(183, 139, 57, 0.45);
  border-radius: var(--radius);
  background: rgba(239, 227, 199, 0.45);
  color: #6f4a12;
  font-weight: 800;
}

.client-table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
}

.client-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
}

.client-table th,
.client-table td {
  border-bottom: 1px solid var(--line);
  padding: 0.85rem;
  text-align: left;
  vertical-align: top;
}

.client-order-detail td {
  background: var(--paper);
}

.client-status {
  margin-top: 1rem;
  font-weight: 800;
}

.client-status.success {
  color: #176b4d;
}

.client-status.error {
  color: #9b2f25;
}

.checkout {
  grid-template-columns: 1fr 340px;
  padding: 2rem 0 4rem;
}

.checkout-steps {
  display: grid;
  gap: 1rem;
}

.checkout-steps article {
  display: grid;
  gap: 0.7rem;
}

.payment-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.payment-methods label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 36px;
  border-radius: 999px;
  background: var(--gold-soft);
  color: #69460b;
  padding: 0.3rem 0.75rem;
  font-size: 0.86rem;
  font-weight: 800;
}

.secure-note {
  margin: 0;
  padding: 0.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--graphite);
  font-size: 0.92rem;
  line-height: 1.45;
}

.payment-fields {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.7rem;
}

.summary {
  position: sticky;
  top: 150px;
  display: grid;
  gap: 0.8rem;
  padding: 1.1rem;
}

.admin,
.info-page {
  padding: 2rem 0 4rem;
}

.info-page blockquote {
  margin: 1.2rem 0;
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  padding: 1rem 1.2rem;
  color: var(--graphite);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.45;
}

.info-page p {
  white-space: pre-line;
}

.admin-layout {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 1rem;
  margin-top: 1.4rem;
}

.admin-content-panel {
  margin-top: 1.4rem;
}

.admin-content-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.menu-page-editor {
  margin-bottom: 1rem;
  border-color: rgba(183, 139, 57, 0.45);
  background: #fffaf0;
}

.wide-field {
  grid-column: 1 / -1;
}

.banner-editor-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 0.6rem 0 1rem;
}

.banner-editor-grid fieldset {
  display: grid;
  gap: 0.6rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin: 0;
  padding: 0.9rem;
}

.banner-editor-grid legend {
  color: var(--gold);
  font-weight: 900;
}

.admin-form,
.contact-form,
.cart-tools {
  display: grid;
  gap: 0.75rem;
}

.admin-form h2,
.admin-form p {
  margin: 0;
}

#productForm {
  align-self: start;
  gap: 0.58rem;
}

#productForm h2 {
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  line-height: 1.02;
}

.admin-product-private-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}

.admin-product-private-fields label {
  min-width: 0;
}

#productForm > p.muted {
  max-width: 56ch;
  border: 1px solid rgba(183, 139, 57, 0.26);
  border-radius: var(--radius);
  background: rgba(239, 227, 199, 0.28);
  padding: 0.72rem 0.78rem;
  line-height: 1.35;
}

.admin-form,
.contact-form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.86);
  padding: 1rem;
}

.admin-form label,
.contact-form label,
.cart-tools label {
  display: grid;
  gap: 0.28rem;
  color: var(--muted);
  font-size: 0.86rem;
}

.admin-form .check-field {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 42px;
  color: var(--ink);
  font-weight: 800;
}

.admin-form .check-field input {
  width: auto;
  min-height: auto;
  accent-color: var(--gold);
}

.admin-form input,
.admin-form select,
.admin-form textarea,
.contact-form input,
.contact-form select,
.contact-form textarea,
.cart-tools input {
  width: 100%;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 0.56rem 0.7rem;
}

.submenu-picker small,
.field-hint {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.submenu-picker {
  display: grid;
  gap: 0.75rem;
}

.submenu-picker > strong {
  color: var(--ink);
  font-size: 1rem;
}

.submenu-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.submenu-actions button {
  width: auto;
  min-height: 38px;
  padding: 0.55rem 0.8rem;
}

.publish-extra-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 0.65rem;
  margin-top: 0.85rem;
}

.publish-extra-grid label {
  gap: 0.35rem !important;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.publish-extra-grid select {
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 700;
}

.section-picker {
  display: grid;
  gap: 0.75rem;
  max-height: 520px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 0.75rem;
}

.section-picker-group {
  overflow: hidden;
  border: 1px solid rgba(20, 20, 20, 0.08);
  border-radius: 10px;
  background: #fbfaf7;
}

.section-picker-group.active {
  border-color: rgba(183, 139, 57, 0.55);
  background: #fffaf0;
}

.section-picker-group.inactive {
  opacity: 0.76;
}

.section-picker-group header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  border-bottom: 1px solid var(--line);
  padding: 0.7rem 0.8rem;
}

.section-picker-group header strong {
  color: var(--ink);
}

.section-picker-group header span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.section-picker-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.45rem;
  padding: 0.7rem;
}

.section-choice {
  display: grid !important;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 0.5rem !important;
  min-height: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 0.6rem;
  color: var(--ink) !important;
  font-size: 0.86rem !important;
}

.section-choice.inactive {
  background: #f4f1eb;
  color: var(--muted) !important;
}

.section-choice input {
  width: auto !important;
  min-height: auto !important;
  margin-top: 0.2rem;
  accent-color: var(--gold);
}

.section-choice:has(input:checked) {
  border-color: rgba(183, 139, 57, 0.7);
  background: #fff7df;
  font-weight: 800;
}

.field-hint {
  border: 1px solid rgba(183, 139, 57, 0.35);
  border-radius: 8px;
  background: #fffaf0;
  padding: 0.65rem 0.75rem;
  color: var(--ink);
}

.extra-info-blocks {
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
}

.extra-info-blocks article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  padding: 0.9rem 1rem;
}

.admin-actions,
.admin-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
}

.admin-toolbar-actions,
.admin-product-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.55rem;
}

.admin-form button,
.contact-form button,
.cart-tools button,
.admin-product button {
  border: 0;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--white);
  padding: 0.65rem 0.85rem;
  font-weight: 800;
}

.admin-actions .outline,
.admin-toolbar .outline {
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
}

.admin-actions .danger {
  color: #9a1f1f;
}

.admin-product-actions .danger {
  border: 1px solid #e7c6c6;
  background: #fff5f5;
  color: #9a1f1f;
}

.admin-server-box {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto auto;
  align-items: end;
  gap: 0.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  padding: 1rem;
}

.admin-server-box label {
  display: grid;
  gap: 0.35rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.admin-server-box input {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.65rem 0.75rem;
}

.admin-server-box button {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  padding: 0.65rem 0.85rem;
  font-weight: 800;
}

#adminSaveStatus {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  font-weight: 800;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  padding: 0.75rem 0.85rem;
  line-height: 1.35;
}

#adminSaveStatus.success {
  color: #1f7a3f;
  border-color: rgba(31, 122, 63, 0.22);
  background: rgba(31, 122, 63, 0.09);
}

#adminSaveStatus.error {
  color: #9a1f1f;
  border-color: rgba(154, 31, 31, 0.22);
  background: rgba(154, 31, 31, 0.09);
}

.admin-config-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.section-visibility-controls {
  display: grid;
  gap: 1rem;
}

.section-visibility-controls fieldset {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfaf7;
  padding: 1rem;
}

.section-visibility-controls legend {
  padding: 0 0.45rem;
  font-weight: 900;
}

.section-visibility-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0.75rem;
}

.section-visibility-grid label {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(130px, auto);
  align-items: center;
  gap: 0.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 0.7rem;
}

.legacy-product-field,
.legacy-product-fields {
  display: none !important;
}

.admin-products {
  display: grid;
  gap: 0.75rem;
}

.admin-image-preview {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.admin-image-preview img {
  display: block;
  width: 100%;
  max-height: 220px;
  object-fit: contain;
  object-position: center;
  background: linear-gradient(180deg, #f6f4ef, #ece8df);
}

.admin-product {
  display: grid;
  grid-template-columns: 74px 1fr auto;
  gap: 0.85rem;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.86);
  padding: 0.75rem;
}

.admin-product img {
  width: 74px;
  height: 74px;
  border-radius: var(--radius);
  padding: 0.25rem;
}

.admin-product-info {
  min-width: 0;
}

.admin-product-info strong {
  display: block;
  line-height: 1.2;
}

.admin-order-card {
  grid-template-columns: minmax(0, 1fr) minmax(190px, auto);
  align-items: start;
}

.admin-order-card strong,
.admin-order-card p {
  overflow-wrap: anywhere;
}

.admin-order-header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.45rem 0.75rem;
  margin-bottom: 0.65rem;
}

.admin-order-header strong {
  font-size: 1.03rem;
}

.admin-order-total {
  color: var(--green);
  font-weight: 900;
}

.admin-order-meta,
.admin-order-shipping,
.admin-order-payment {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 0.45rem;
  margin: 0.55rem 0;
}

.admin-order-meta span,
.admin-order-shipping span,
.admin-order-payment span {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfaf7;
  padding: 0.5rem 0.6rem;
  color: var(--muted);
  line-height: 1.3;
}

.admin-order-meta strong,
.admin-order-shipping strong,
.admin-order-payment strong {
  display: block;
  margin-top: 0.1rem;
  color: var(--ink);
}

.admin-order-items {
  margin: 0.65rem 0;
  padding-left: 1.1rem;
}

.admin-order-fields {
  display: grid;
  gap: 0.55rem;
  margin-top: 0.75rem;
}

.admin-order-actions {
  display: grid;
  gap: 0.55rem;
}

.admin-order-actions select,
.admin-order-actions button {
  width: 100%;
}

#productDescription,
#productLongDescription {
  white-space: pre-wrap;
}

.admin-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 1.5rem;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 60;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  width: min(420px, 100vw);
  height: 100vh;
  padding: 1rem;
  background: var(--white);
  box-shadow: -24px 0 60px rgba(20, 20, 20, 0.18);
  overflow: hidden;
}

.cart-drawer[hidden] {
  display: none;
}

.cart-drawer > div:first-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-drawer-scroll {
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 0.35rem;
  scrollbar-gutter: stable;
}

.cart-drawer button {
  border: 0;
  background: transparent;
  font-size: 1.6rem;
}

.cart-line {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 0.7rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--line);
}

.qty-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
}

.qty-row button {
  min-height: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  padding: 0.35rem 0.55rem;
  font-size: 0.85rem;
}

.qty-row input {
  width: 58px;
  min-height: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: center;
}

.cart-tools {
  border-top: 1px solid var(--line);
  padding-top: 1rem;
  padding-bottom: 0.5rem;
  max-height: none;
  overflow: visible;
}

#calcCartShipping {
  display: block;
  width: 100%;
  background: var(--ink);
  color: var(--white);
  text-align: center;
}

.cart-summary {
  display: grid;
  gap: 0.4rem;
  border-radius: var(--radius);
  background: var(--paper);
  padding: 0.75rem;
}

.cart-summary p {
  display: flex;
  justify-content: space-between;
  margin: 0;
}

.cart-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.7rem;
  position: sticky;
  bottom: 0;
  z-index: 2;
  margin: 0 -1rem -1rem;
  padding: 0.85rem 1rem max(0.85rem, env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), var(--white) 28%);
  box-shadow: 0 -12px 28px rgba(20, 20, 20, 0.08);
}

.cart-actions .full {
  margin-top: 0;
}

.admin-premium-note {
  border: 1px solid rgba(183, 139, 57, 0.45);
  border-radius: var(--radius);
  background: rgba(239, 227, 199, 0.42);
  padding: 0.9rem;
}

.admin-premium-note strong {
  display: block;
  margin-bottom: 0.35rem;
}

.admin-premium-note p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.cart-line img {
  width: 64px;
  height: 64px;
  border-radius: var(--radius);
  padding: 0.2rem;
}

.full {
  width: 100%;
  margin-top: 1rem;
  flex: 0 0 auto;
}

.whatsapp {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 40;
  border-radius: 999px;
  background: #1f9d65;
  color: var(--white);
  padding: 0.85rem 1rem;
  font-weight: 800;
  box-shadow: var(--shadow);
}

footer {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 1rem;
  padding: 2rem 0 3rem;
  border-top: 1px solid var(--line);
}

footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1rem;
  justify-content: end;
}

footer a {
  color: var(--muted);
}

@media (max-width: 1279px) {
  :root {
    --product-card-media-height: clamp(15.5rem, 30vw, 20rem);
  }

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

  .header {
    grid-template-columns: auto 1fr auto;
  }

  .menu-toggle {
    display: inline-grid;
  }

  .brand {
    justify-self: start;
  }

  .search {
    grid-column: 1 / -1;
    order: 4;
  }

  .mega {
    display: none;
    position: fixed;
    top: var(--mobile-menu-top);
    left: 0;
    bottom: 0;
    z-index: 40;
    width: 42vw;
    min-width: 220px;
    max-width: 360px;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0.35rem;
    align-content: start;
    padding: 0.75rem;
    overflow: auto;
    background: var(--white);
    border-right: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .mega-start,
  .mega-primary,
  .mega-secondary {
    display: grid;
    width: 100%;
    gap: 0.35rem;
  }

  .mega-item {
    display: grid;
    width: 100%;
  }

  .mega-secondary {
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid var(--line);
  }

  .mega.open {
    display: flex;
  }

  .mega button,
  .mega a {
    flex: 1 1 100%;
    text-align: left;
  }

  .mega button[aria-expanded="true"] {
    background: var(--paper);
    color: var(--ink);
    font-weight: 800;
  }

  .mega-panel {
    position: fixed;
    top: var(--mobile-menu-top);
    right: 0;
    bottom: 0;
    left: clamp(220px, 42vw, 360px);
    z-index: 41;
    width: auto;
    max-height: none;
    margin: 0;
    transform: none;
    overflow: auto;
    border-top: 1px solid var(--line);
    border-radius: 0;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.98);
  }

  .mega-panel:not([hidden]) {
    display: block;
  }

  .mega-panel::before {
    display: none;
  }

  .mega-panel-head {
    position: sticky;
    top: 0;
    z-index: 2;
    margin: -1.1rem -1.1rem 0.8rem;
    padding: 0.8rem 1.1rem;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--line);
  }

  .mega-back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

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

  .mega-fallback-panel {
    display: none;
  }

  .mega-item.mobile-active .mega-fallback-panel {
    display: none;
  }

  .mega-item:focus-within .mega-fallback-panel {
    display: none;
  }

  .mega-item.mobile-active > button {
    background: var(--paper);
    color: var(--ink);
    font-weight: 800;
  }

  .mega-fallback-panel h3 {
    position: static;
    margin: 0 0 0.75rem;
    padding: 0;
    background: transparent;
    border-bottom: 0;
  }

  .mega-fallback-list {
    grid-template-columns: 1fr;
    gap: 0.3rem;
  }

  .mega-fallback-list a {
    padding: 0.55rem 0.7rem;
    background: var(--paper);
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .visible-mega {
    display: none;
  }

  .product-grid,
  .category-grid,
  .admin-grid,
  .admin-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust-row,
  .split,
  .continents,
  .newsletter,
  .catalog-layout,
  .category-hero-card,
  .product-page,
  .dashboard,
  .checkout,
  .admin-layout,
  footer {
    grid-template-columns: 1fr;
  }

  .client-auth-grid,
  .client-summary {
    grid-template-columns: 1fr;
  }

  .filters,
  .summary {
    position: static;
  }
}

@media (max-width: 620px) {
  :root {
    --product-card-media-height: clamp(16rem, 76vw, 22rem);
  }

  .topbar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    font-size: 0.68rem;
    line-height: 1.15;
  }

  .topbar span {
    padding: 0.38rem 0.3rem;
    white-space: nowrap;
  }

  .header {
    grid-template-columns: 44px minmax(104px, 1fr) minmax(8.35rem, auto);
    align-items: center;
    gap: 0.45rem;
    padding: 0.5rem 0.75rem;
  }

  .mega {
    width: 48vw;
    min-width: 176px;
    max-width: 228px;
    padding: 0.55rem;
  }

  .mega-panel,
  .mega-fallback-panel {
    left: clamp(176px, 48vw, 228px);
    padding: 0.7rem;
  }

  .mega-fallback-panel h3 {
    top: -0.65rem;
    margin: -0.65rem -0.65rem 0.65rem;
    padding: 0.65rem;
    font-size: 1rem;
  }

  .brand {
    justify-self: start;
    font-size: 1rem;
    gap: 0;
    min-width: 0;
  }

  .brand > span {
    display: none;
  }

  .menu-toggle,
  .cart-btn {
    min-height: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .menu-toggle {
    width: 44px;
    padding: 0;
  }

  .cart-btn {
    padding: 0.62rem 0.72rem;
    white-space: nowrap;
  }

  .actions {
    flex-direction: column;
    align-items: stretch;
    justify-self: end;
    align-self: start;
    width: min(8.75rem, 36vw);
    gap: 0.3rem;
    min-width: 0;
  }

  .actions a {
    width: 100%;
    min-height: 38px;
    padding: 0.42rem 0.5rem;
    max-width: none;
    font-size: 0.66rem;
    line-height: 1.08;
  }

  .actions a[data-page="cliente"] {
    min-height: 38px;
    height: 38px;
    width: 100%;
    padding: 0.42rem 0.5rem;
    font-size: 0.66rem;
    font-weight: 800;
    white-space: normal;
  }

  .actions .cart-btn {
    width: 100%;
    min-width: 0;
    min-height: 38px;
    height: 38px;
    padding: 0.42rem 0.56rem;
    font-size: 0.82rem;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
  }

  .brand-logo {
    width: 100px;
    height: 100px;
  }

  .mega {
    width: 44vw;
    padding: 0.55rem;
  }

  .mega-panel {
    left: clamp(168px, 44vw, 210px);
    padding: 0.75rem;
  }

  .mega button,
  .mega a,
  .mega-list a {
    padding: 0.66rem 0.6rem;
    font-size: 0.88rem;
    line-height: 1.18;
  }

  .product-card-body {
    padding: 0.9rem;
  }

  .product-card h3 {
    min-height: auto;
    margin: 0.45rem 0;
    font-size: 0.98rem;
  }

  .product-card .muted {
    min-height: auto;
  }

  .product-card footer {
    grid-template-columns: 1fr;
    align-items: stretch;
    gap: 0.55rem;
  }

  .product-card footer > strong {
    font-size: 1.05rem;
  }

  .product-card button {
    min-height: 44px;
    font-size: 0.9rem;
  }

  .cart-trust-strip {
    grid-template-columns: 1fr;
  }

  .mega-panel h3 {
    font-size: 0.98rem;
    line-height: 1.16;
  }

  .mega-panel-head {
    margin: -0.7rem -0.7rem 0.7rem;
    padding: 0.68rem 0.7rem;
  }

  .mega-back {
    padding: 0.48rem 0.58rem;
    font-size: 0.82rem;
  }

  .actions {
    justify-content: end;
  }

  .plain-btn {
    display: none;
  }

  .trust-row,
  .product-grid,
  .category-grid,
  .continent-grid,
  .kit-grid,
  .blog-grid,
  .testimonials,
  .panel-grid,
  .admin-grid,
  .admin-product,
  .admin-content-grid,
  .banner-editor-grid,
  .payment-fields,
  .product-details,
  .specs {
    grid-template-columns: 1fr;
  }

  .rare-carousel {
    grid-auto-columns: 86%;
  }

  .cart-drawer {
    grid-template-rows: auto minmax(0, 1fr) auto;
    overflow: hidden;
  }

  .cart-drawer-scroll {
    min-height: 0;
  }

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

  .hot-card {
    grid-template-columns: 64px 1fr;
  }

  .hot-card strong {
    grid-column: 2;
  }

  .admin-order-card,
  .admin-order-meta,
  .admin-order-shipping,
  .admin-order-payment {
    grid-template-columns: 1fr;
  }

  .admin-product img {
    width: 86px;
    height: 86px;
  }
}
