:root {
  --ink: #101114;
  --muted: #6b7280;
  --line: #e5e7eb;
  --paper: #ffffff;
  --soft: #f4f6f8;
  --accent: #0b2540;
  --accent-strong: #07192b;
  --support: #0f766e;
  --blue: #315f8d;
  --gold: #d9a441;
  --tour-blue: #006bb6;
  --tour-red: #e53935;
  --tour-yellow: #ffc928;
  --tour-green: #10a76f;
  --sky: #e8f3ff;
  --whatsapp: #25d366;
  --whatsapp-strong: #128c7e;
  --shadow: 0 18px 38px rgba(16, 17, 20, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: Arial, Helvetica, sans-serif;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.utility-bar {
  display: flex;
  justify-content: center;
  gap: 28px;
  min-height: 34px;
  padding: 8px 16px;
  color: #fff;
  background: var(--ink);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 96px;
  padding: 12px clamp(16px, 4vw, 48px);
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 210px;
  font-weight: 800;
  font-size: 28px;
  letter-spacing: 0;
}

.brand img,
.site-footer img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  border: 1px solid var(--line);
  background: #fff;
}

.desktop-nav,
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.desktop-nav {
  flex: 1;
  justify-content: center;
}

.header-actions {
  flex: 0 0 auto;
}

.desktop-nav a {
  padding: 10px 12px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.desktop-nav a:hover,
.nav-category:hover {
  color: var(--ink);
}

.nav-category {
  min-height: 42px;
  padding: 0 12px;
  color: var(--muted);
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
}

.primary-button,
.ghost-button,
.cart-button,
.whatsapp-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 6px;
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 800;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.primary-button {
  color: #fff;
  background: var(--accent);
}

.primary-button:hover {
  background: var(--accent-strong);
  transform: translateY(-1px);
}

.whatsapp-button {
  color: #fff;
  background: var(--whatsapp);
  border-color: var(--whatsapp);
}

.whatsapp-button:hover {
  background: var(--whatsapp-strong);
  border-color: var(--whatsapp-strong);
  transform: translateY(-1px);
}

.whatsapp-icon {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  fill: currentColor;
}

.header-cart-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 12px 0 14px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  cursor: pointer;
  font-weight: 900;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.header-cart-button:hover {
  border-color: #c7cbd1;
  box-shadow: 0 10px 22px rgba(16, 17, 20, 0.08);
  transform: translateY(-1px);
}

.cart-icon {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.cart-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  color: var(--muted);
  background: var(--line);
  border-radius: 999px;
  font-size: 12px;
  line-height: 1;
}

.cart-badge.active {
  color: #fff;
  background: var(--tour-red);
}

.ghost-button,
.cart-button {
  color: var(--ink);
  background: #fff;
  border-color: var(--line);
}

.ghost-button:hover,
.cart-button:hover {
  border-color: #c7cbd1;
}

.full {
  width: 100%;
}

main {
  width: min(1440px, 100%);
  margin: 0 auto;
}

.catalog-shell {
  padding: clamp(18px, 3vw, 38px);
  background:
    linear-gradient(180deg, rgba(0, 107, 182, 0.08) 0, rgba(255, 201, 40, 0.08) 34%, #fff 78%),
    #fff;
}

.catalog-top {
  margin-bottom: 20px;
}

.hero-banner {
  overflow: hidden;
  padding: 0 !important;
  background: #101820;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-banner-image {
  display: block;
  width: 100%;
  height: auto;
}

.hero-copy,
.hero-showcase {
  position: relative;
  z-index: 1;
}

.catalog-top .eyebrow {
  color: var(--tour-yellow);
}

.hero-kicker {
  max-width: 620px;
  margin: 10px 0 0;
  color: #fff;
  font-size: clamp(22px, 2.4vw, 34px);
  font-weight: 800;
  line-height: 1.12;
}

.hero-text {
  max-width: 620px;
  margin: 18px 0 22px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 17px;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.hero-link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 6px;
  font-weight: 900;
}

.hero-link:hover {
  background: rgba(255, 255, 255, 0.2);
}

.primary-hero-link {
  color: var(--ink);
  background: var(--tour-yellow);
  border-color: var(--tour-yellow);
}

.primary-hero-link:hover {
  background: #ffe179;
}

.hero-showcase {
  position: relative;
  min-height: 330px;
  overflow: hidden;
  padding: 0;
  background: #07192b;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 0.78fr);
  gap: 18px;
  align-items: center;
  padding: 24px;
  opacity: 0;
  transform: scale(1.03);
  animation: heroReel 15s infinite;
}

.hero-slide:nth-child(2) {
  animation-delay: 5s;
}

.hero-slide:nth-child(3) {
  animation-delay: 10s;
}

.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 22% 22%, rgba(255, 255, 255, 0.28), transparent 28%),
    linear-gradient(135deg, rgba(0, 107, 182, 0.92), rgba(229, 57, 53, 0.78));
}

.hero-slide-school::before {
  background:
    radial-gradient(circle at 20% 18%, rgba(255, 255, 255, 0.28), transparent 28%),
    linear-gradient(135deg, rgba(229, 57, 53, 0.95), rgba(16, 167, 111, 0.82));
}

.hero-slide-accessories::before {
  background:
    radial-gradient(circle at 22% 20%, rgba(255, 255, 255, 0.32), transparent 28%),
    linear-gradient(135deg, rgba(255, 201, 40, 0.96), rgba(0, 107, 182, 0.82));
}

.hero-slide img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 250px;
  object-fit: contain;
  background: #fff;
  border-radius: 8px;
  filter: drop-shadow(0 20px 28px rgba(0, 0, 0, 0.28));
}

.hero-slide div {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 8px;
  align-content: center;
  min-height: 180px;
  padding: 18px;
  color: #fff;
}

.hero-slide span {
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-slide strong {
  max-width: 240px;
  font-size: clamp(24px, 3vw, 40px);
  line-height: 1;
}

.hero-reel-dots {
  position: absolute;
  left: 18px;
  bottom: 84px;
  z-index: 3;
  display: flex;
  gap: 6px;
}

.hero-reel-dots span {
  width: 22px;
  height: 4px;
  background: rgba(255, 255, 255, 0.52);
  border-radius: 999px;
}

@keyframes heroReel {
  0%,
  28% {
    opacity: 1;
    transform: scale(1);
  }

  34%,
  100% {
    opacity: 0;
    transform: scale(1.03);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide {
    animation: none;
  }

  .hero-slide:first-child {
    opacity: 1;
    transform: none;
  }
}

.collection-showcase {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 0 0 14px;
}

.collection-card {
  position: relative;
  display: grid;
  min-height: 190px;
  overflow: hidden;
  padding: 18px;
  color: #fff;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  text-align: left;
  box-shadow: var(--shadow);
}

.collection-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16, 17, 20, 0.03), rgba(16, 17, 20, 0.38));
}

.collection-card img {
  position: absolute;
  right: -10px;
  bottom: -12px;
  width: 72%;
  height: 76%;
  object-fit: contain;
  filter: drop-shadow(0 16px 24px rgba(0, 0, 0, 0.24));
}

.collection-card span,
.collection-card strong {
  position: relative;
  z-index: 1;
}

.collection-card span {
  align-self: start;
  font-size: 24px;
  font-weight: 900;
}

.collection-card strong {
  align-self: end;
  max-width: 170px;
  font-size: 13px;
  text-transform: uppercase;
}

.color-blue,
.color-red,
.color-yellow,
.color-green {
  color: #fff;
  background: linear-gradient(135deg, #102f52 0%, #0d4f86 54%, #07192b 100%);
}

.hero-main-image {
  height: 260px;
  padding: 14px;
}

.hero-image-grid {
  display: grid;
  gap: 10px;
}

.hero-image-grid img {
  height: 125px;
  padding: 12px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  max-width: 680px;
  margin-bottom: 0;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.02;
}

h2 {
  margin-bottom: 8px;
  font-size: 20px;
  line-height: 1.18;
}

.category-strip {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
  padding: 10px;
  overflow-x: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(16, 17, 20, 0.05);
}

.category-chip {
  display: inline-grid;
  grid-template-columns: max-content auto;
  gap: 8px;
  align-items: center;
  min-height: 40px;
  padding: 0 12px;
  white-space: nowrap;
  color: #374151;
  background: var(--soft);
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 900;
}

.category-chip strong {
  min-width: 26px;
  padding: 3px 7px;
  color: #fff;
  background: var(--blue);
  border-radius: 999px;
  font-size: 12px;
  text-align: center;
}

.category-chip:hover,
.category-chip.active {
  color: var(--ink);
  background: var(--sky);
  border-color: rgba(31, 78, 121, 0.28);
}

.category-chip.active strong {
  background: var(--accent);
}

.toolbar {
  display: grid;
  grid-template-columns: minmax(220px, 1.5fr) repeat(3, minmax(150px, 0.65fr));
  gap: 12px;
  padding: 12px;
  margin-bottom: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.toolbar label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.toolbar input,
.toolbar select {
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  color: var(--ink);
  background: var(--soft);
  border: 1px solid transparent;
  border-radius: 6px;
  outline: none;
}

.toolbar input:focus,
.toolbar select:focus {
  border-color: var(--accent);
  background: #fff;
}

.catalog-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.summary-panel {
  display: none;
}

.summary-card {
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.summary-card.muted {
  background: #111827;
  color: #fff;
}

.summary-card.muted p {
  color: #d1d5db;
}

.quote-items {
  display: grid;
  gap: 10px;
  min-height: 42px;
  margin: 14px 0;
}

.quote-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  padding: 10px;
  background: var(--soft);
  border-radius: 6px;
  font-size: 13px;
}

.quote-item strong {
  display: block;
}

.quote-item button {
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
  color: #fff;
  background: #111827;
}

.result-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  margin-bottom: 10px;
  color: var(--muted);
  font-weight: 800;
}

.cart-button {
  display: none !important;
}

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

.product-card {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  min-height: 100%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.product-card:hover {
  border-color: #cfd6df;
  box-shadow: 0 18px 34px rgba(16, 17, 20, 0.12);
}

.product-media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  padding: 0;
  background: #fff;
  border: 0;
  cursor: pointer;
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.tag {
  position: absolute;
  left: 12px;
  top: 12px;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  color: #fff;
  background: var(--blue);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.product-body {
  display: grid;
  gap: 12px;
  padding: 14px;
}

.product-title {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
}

.product-title h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.2;
}

.product-title h3 button {
  padding: 0;
  color: inherit;
  background: transparent;
  border: 0;
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.product-title h3 button:hover {
  color: var(--tour-blue);
}

.product-reference,
.modal-reference {
  width: fit-content;
  max-width: 100%;
  padding: 5px 8px;
  color: var(--accent);
  background: var(--sky);
  border: 1px solid rgba(0, 107, 182, 0.16);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill {
  padding: 6px 9px;
  color: #374151;
  background: var(--soft);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.price-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
}

.price {
  display: block;
  font-size: 26px;
  font-weight: 900;
  letter-spacing: 0;
  white-space: nowrap;
}

.old-price {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-decoration: line-through;
}

.stock {
  color: var(--support);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.empty-state {
  grid-column: 1 / -1;
  min-height: 260px;
  display: grid;
  place-items: center;
  color: var(--muted);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.service-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 0 clamp(18px, 3vw, 38px) 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.service-band article {
  min-height: 190px;
  padding: 24px;
  background: #fff;
}

.service-band span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 22px;
  color: #fff;
  background: var(--accent);
  border-radius: 50%;
  font-weight: 900;
}

.service-band p,
.company-section p,
.summary-card p {
  color: var(--muted);
  line-height: 1.55;
}

.company-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 24px;
  margin: 0 clamp(18px, 3vw, 38px) 24px;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.company-section h2 {
  max-width: 520px;
  font-size: clamp(26px, 3vw, 40px);
}

.company-data {
  display: grid;
  gap: 10px;
  margin: 0;
}

.company-data div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.company-data dt {
  color: var(--muted);
  font-weight: 900;
}

.company-data dd {
  margin: 0;
  font-weight: 700;
}

.site-footer {
  display: flex;
  align-items: center;
  gap: 14px;
  justify-content: space-between;
  padding: 22px clamp(16px, 4vw, 48px);
  color: #fff;
  background: var(--ink);
}

.site-footer p {
  margin: 4px 0 0;
  color: #d1d5db;
}

.site-footer a {
  color: #fff;
  font-weight: 900;
}

.site-footer .footer-whatsapp {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  color: #fff;
  background: var(--whatsapp);
  border-radius: 6px;
}

.site-footer img {
  width: 48px;
  height: 48px;
}

.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: none;
  align-items: end;
  background: rgba(16, 17, 20, 0.5);
}

.mobile-drawer.open {
  display: flex;
}

.drawer-panel {
  width: 100%;
  max-height: 82vh;
  overflow: auto;
  padding: 18px;
  background: #fff;
  border-radius: 8px 8px 0 0;
}

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.drawer-head button {
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}

.modal-open {
  overflow: hidden;
}

.product-modal,
.checkout-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(16, 17, 20, 0.62);
}

.product-modal.open,
.checkout-modal.open {
  display: flex;
}

.modal-panel {
  position: relative;
  width: min(1120px, 100%);
  max-height: 92vh;
  overflow: auto;
  padding: clamp(18px, 3vw, 30px);
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
}

.checkout-panel {
  width: min(860px, 100%);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 38px;
  height: 38px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
  font-weight: 900;
}

.product-detail-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  gap: 26px;
}

.detail-gallery {
  display: grid;
  gap: 12px;
}

#modalMainImage {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

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

.thumb-row button {
  padding: 6px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
}

.thumb-row button.active {
  border-color: var(--tour-blue);
  box-shadow: 0 0 0 2px rgba(0, 107, 182, 0.14);
}

.thumb-row img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
}

.gallery-note,
.checkout-intro,
.modal-detail,
.freight-box p,
.checkout-summary p {
  color: var(--muted);
  line-height: 1.5;
}

.detail-info {
  display: grid;
  align-content: start;
  gap: 14px;
}

.tag.static {
  position: static;
  width: fit-content;
}

.modal-price-box {
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.freight-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  padding: 14px;
  background: var(--soft);
  border-radius: 8px;
}

.freight-box label,
.checkout-form label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.freight-box input,
.checkout-form input,
.checkout-form textarea {
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  outline: none;
}

.checkout-form textarea {
  min-height: 88px;
  padding-top: 12px;
  resize: vertical;
}

.freight-box input:focus,
.checkout-form input:focus,
.checkout-form textarea:focus {
  border-color: var(--tour-blue);
  box-shadow: 0 0 0 3px rgba(0, 107, 182, 0.12);
}

.freight-box p {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 13px;
  font-weight: 800;
}

.detail-actions,
.checkout-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.mercado-pago-button {
  background: #009ee3;
  border-color: #009ee3;
}

.mercado-pago-button:hover {
  background: #007eb5;
  border-color: #007eb5;
}

.mercado-pago-button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.checkout-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.checkout-form .wide {
  grid-column: 1 / -1;
}

.checkout-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 18px 0 12px;
  padding: 16px;
  background: linear-gradient(90deg, rgba(0, 107, 182, 0.09), rgba(255, 201, 40, 0.16));
  border: 1px solid var(--line);
  border-radius: 8px;
}

.checkout-summary strong {
  display: block;
  margin-bottom: 4px;
  font-size: 20px;
}

.freight-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  color: var(--tour-blue);
  font-weight: 900;
}

.payment-status {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.payment-status[data-status="success"] {
  color: #047857;
}

.payment-status[data-status="error"] {
  color: #b42318;
}

@media (max-width: 1100px) {
  .collection-showcase {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .desktop-nav {
    gap: 4px;
  }

  .nav-category,
  .desktop-nav a {
    padding-left: 8px;
    padding-right: 8px;
    font-size: 13px;
  }

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

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

@media (max-width: 860px) {
  .utility-bar {
    justify-content: flex-start;
    gap: 16px;
    overflow-x: auto;
    white-space: nowrap;
  }

  .site-header {
    min-height: 76px;
    padding: 8px 14px;
  }

  .desktop-nav,
  .header-actions .ghost-button {
    display: none;
  }

  .brand {
    min-width: 0;
  }

  .brand img {
    width: 58px;
    height: 58px;
  }

  .brand span {
    font-size: 24px;
  }

  .catalog-top,
  .catalog-layout,
  .company-section {
    grid-template-columns: 1fr;
  }


  .hero-showcase {
    max-width: 620px;
  }

  .summary-panel {
    display: none;
  }


  .service-band {
    grid-template-columns: 1fr;
  }

  .product-detail-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .header-actions {
    gap: 8px;
  }

  .header-actions .whatsapp-button {
    width: 44px;
    padding: 0;
    overflow: hidden;
    font-size: 0;
  }

  .header-cart-button {
    width: 48px;
    padding: 0;
  }

  .header-cart-button span {
    display: none;
  }

  .cart-badge {
    position: absolute;
    top: -7px;
    right: -7px;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    border: 2px solid #fff;
    font-size: 11px;
  }

  .catalog-shell {
    padding: 14px;
  }

  h1 {
    font-size: 38px;
  }

  .hero-kicker {
    font-size: 20px;
  }

  .catalog-top {
    gap: 12px;
    padding: 14px;
  }

  .hero-text {
    display: none;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .collection-showcase {
    grid-template-columns: 1fr;
  }

  .collection-card {
    min-height: 150px;
  }

  .hero-showcase {
    min-height: 300px;
    grid-template-columns: 1fr;
  }

  .hero-slide {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 16px;
  }

  .hero-slide img {
    height: 150px;
  }

  .hero-slide div {
    min-height: 0;
    padding: 0;
  }

  .hero-slide strong {
    max-width: 260px;
    font-size: 28px;
  }

  .hero-reel-dots {
    left: 16px;
    bottom: 16px;
  }

  .hero-main-image {
    height: 132px;
  }

  .hero-image-grid {
    display: none;
  }

  .category-strip {
    margin-left: 0;
    margin-right: 0;
  }

  .toolbar {
    grid-template-columns: 1fr;
    padding: 10px;
  }

  .product-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .product-title {
    align-items: flex-start;
  }

  .card-actions {
    grid-template-columns: 1fr;
  }

  .product-modal,
  .checkout-modal {
    align-items: end;
    padding: 0;
  }

  .modal-panel {
    width: 100%;
    max-height: 92vh;
    border-radius: 8px 8px 0 0;
  }

  .checkout-form,
  .detail-actions,
  .checkout-actions,
  .freight-box {
    grid-template-columns: 1fr;
  }

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

  .service-band,
  .company-section {
    margin-left: 14px;
    margin-right: 14px;
  }

  .company-data div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

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

.shipping-options {
  display: grid;
  gap: 8px;
  margin: 10px 0 14px;
}

.shipping-option {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: center;
  width: 100%;
  min-height: 50px;
  padding: 10px 12px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  cursor: pointer;
  text-align: left;
}

.shipping-option strong {
  display: block;
  font-size: 14px;
}

.shipping-option span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.shipping-option em {
  color: var(--accent);
  font-style: normal;
  font-weight: 900;
}

.shipping-option.active {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(11, 37, 64, 0.14);
}

.stock-button {
  padding: 0;
  color: var(--accent);
  background: transparent;
  border: 0;
  cursor: pointer;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.buy-button {
  min-height: 46px;
  font-size: 15px;
}

.color-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 4px;
}

.color-options span,
.color-option {
  border: 1px solid rgba(11, 37, 64, 0.18);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(220, 233, 247, 0.95), rgba(245, 248, 252, 0.95));
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
  padding: 7px 11px;
}

.color-option {
  cursor: pointer;
}

.color-option.active {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(11, 37, 64, 0.14);
}
