:root {
  --brand: #ee3821;
  --brand-dark: #cf2f1a;
  --ink: #1e1b1c;
  --ink-soft: #514a4c;
  --muted: #736b6d;
  --paper: #ffffff;
  --canvas: #f4f2f1;
  --canvas-dark: #eae6e5;
  --line: #ded9d8;
  --whatsapp: #25d366;
  --whatsapp-dark: #1db958;
  --success: #137a52;
  --danger: #b42338;
  --shadow-sm: 0 8px 24px rgba(30, 27, 28, 0.07);
  --shadow-md: 0 18px 50px rgba(30, 27, 28, 0.12);
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 26px;
  color-scheme: light;
  font-family: Aptos, "Segoe UI", Inter, Arial, sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: inherit;
  -webkit-font-smoothing: antialiased;
}

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

button,
input,
textarea,
a {
  outline-offset: 3px;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

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

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

[hidden] {
  display: none !important;
}

::selection {
  background: #ffd6cf;
  color: var(--ink);
}

.container {
  width: min(100% - 40px, 1240px);
  margin-inline: auto;
}

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

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 1000;
  transform: translateY(-160%);
  border-radius: 8px;
  background: var(--paper);
  padding: 10px 14px;
  font-weight: 800;
  box-shadow: var(--shadow-md);
}

.skip-link:focus {
  transform: translateY(0);
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  padding: 10px 20px;
  background: transparent;
  font-weight: 850;
  line-height: 1.2;
  cursor: pointer;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.button:hover:not(:disabled) {
  transform: translateY(-1px);
}

.button:disabled {
  cursor: wait;
  opacity: 0.62;
}

.button--brand {
  background: var(--brand);
  color: white;
}

.button--brand:hover:not(:disabled) {
  background: var(--brand-dark);
}

.button--dark {
  background: var(--ink);
  color: white;
}

.button--dark:hover:not(:disabled) {
  background: #342e30;
}

.button--whatsapp {
  background: var(--whatsapp);
  color: white;
}

.button--whatsapp:hover:not(:disabled) {
  background: var(--whatsapp-dark);
}

.button--whatsapp svg {
  width: 21px;
  height: 21px;
  fill: currentColor;
}

.button--outline {
  border-color: #cfc8c7;
  background: white;
  color: var(--ink);
}

.button--outline:hover:not(:disabled) {
  border-color: var(--brand);
  color: var(--brand-dark);
}

.button--outline-light {
  border-color: rgba(255, 255, 255, 0.32);
  color: white;
}

.button--outline-light:hover:not(:disabled) {
  border-color: white;
  background: rgba(255, 255, 255, 0.09);
}

.button--ghost-light {
  color: rgba(255, 255, 255, 0.72);
}

.button--ghost-light:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.09);
  color: white;
}

.button--large {
  min-height: 52px;
  padding-inline: 28px;
}

.button--small {
  min-height: 40px;
  padding: 8px 14px;
  font-size: 14px;
}

.button--full {
  width: 100%;
}

.eyebrow {
  margin: 0;
  color: var(--brand);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.15em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow--light {
  color: #ff6c58;
}

.top-strip {
  background: var(--ink);
  color: white;
}

.top-strip__inner {
  display: flex;
  min-height: 36px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 14px;
  font-weight: 800;
}

.top-strip__secondary {
  color: rgba(255, 255, 255, 0.55);
  font-weight: 650;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(30, 27, 28, 0.11);
  background: rgba(255, 255, 255, 0.96);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.site-header__inner {
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  flex: 0 0 auto;
}

.brand img {
  width: auto;
  height: 60px;
  object-fit: contain;
}

.main-nav {
  display: flex;
  margin-left: auto;
  align-items: center;
  gap: 30px;
  font-size: 14px;
  font-weight: 900;
}

.main-nav a {
  transition: color 150ms ease;
}

.main-nav a:hover {
  color: var(--brand);
}

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

.site-header__actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 9px;
}

.cart-toggle {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  gap: 8px;
  border: 1px solid #d8d2d1;
  border-radius: var(--radius-sm);
  background: white;
  padding: 8px 11px 8px 14px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
  transition: border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.cart-toggle:hover {
  transform: translateY(-1px);
  border-color: var(--brand);
  color: var(--brand-dark);
}

.cart-toggle svg {
  width: 21px;
  height: 21px;
  fill: currentColor;
}

.cart-toggle strong {
  display: grid;
  min-width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 999px;
  background: var(--brand);
  padding-inline: 6px;
  color: white;
  font-size: 12px;
  font-weight: 950;
}

.cart-toggle.is-empty strong {
  background: #aaa2a3;
}

.mobile-label {
  display: none;
}

.hero {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: white;
}

.hero__accent {
  position: absolute;
  inset: 0 0 0 auto;
  width: 38%;
  background: var(--brand);
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: 70px;
  padding-block: 58px;
}

.hero__copy {
  padding-right: 8px;
}

.hero__copy .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.hero__copy .eyebrow svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.hero h1 {
  max-width: 760px;
  margin: 20px 0 0;
  font-size: clamp(42px, 5vw, 62px);
  font-weight: 950;
  letter-spacing: -0.055em;
  line-height: 1.01;
}

.hero__text {
  max-width: 680px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 18px;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.hero__actions .button--brand {
  background: white;
  color: var(--ink);
}

.hero__actions .button--brand:hover {
  background: #f4f2f1;
}

.hero__checks {
  display: flex;
  flex-wrap: wrap;
  gap: 13px 25px;
  margin: 27px 0 0;
  padding: 0;
  color: rgba(255, 255, 255, 0.77);
  font-size: 14px;
  font-weight: 750;
  list-style: none;
}

.hero__checks li {
  display: flex;
  align-items: center;
  gap: 7px;
}

.hero__checks span {
  color: #ff6c58;
  font-weight: 950;
}

.solution-card {
  position: relative;
  border-radius: var(--radius-lg);
  background: white;
  padding: 27px;
  color: var(--ink);
  box-shadow: 0 26px 65px rgba(0, 0, 0, 0.28);
}

.solution-card h2 {
  margin: 7px 0 0;
  font-size: 27px;
  font-weight: 950;
  letter-spacing: -0.035em;
}

.solution-card__lead {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.solution-list {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.solution-option {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  min-height: 72px;
  align-items: center;
  gap: 14px;
  border: 1px solid rgba(30, 27, 28, 0.1);
  border-radius: 13px;
  background: #f7f5f4;
  padding: 11px 14px;
  transition: border-color 150ms ease, background-color 150ms ease, transform 150ms ease;
}

.solution-option:hover {
  transform: translateX(2px);
  border-color: rgba(238, 56, 33, 0.42);
  background: #fff0ec;
}

.solution-option__icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 12px;
  background: var(--ink);
  color: white;
  font-size: 24px;
  font-weight: 900;
  transition: background-color 150ms ease;
}

.solution-option:hover .solution-option__icon {
  background: var(--brand);
}

.solution-option strong,
.solution-option small {
  display: block;
}

.solution-option strong {
  font-weight: 900;
}

.solution-option small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 13px;
}

.solution-option__arrow {
  color: #a1999b;
  font-size: 27px;
  line-height: 1;
}

.benefit-strip {
  background: var(--brand);
  color: white;
}

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

.benefit-grid > div {
  min-height: 82px;
  padding: 20px;
  border-left: 1px solid rgba(255, 255, 255, 0.25);
}

.benefit-grid > div:last-child {
  border-right: 1px solid rgba(255, 255, 255, 0.25);
}

.benefit-grid strong,
.benefit-grid span {
  display: block;
}

.benefit-grid strong {
  font-weight: 900;
}

.benefit-grid span {
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 13px;
}

.catalog-section {
  padding-block: 64px 76px;
}

.section-heading {
  max-width: 800px;
  margin-bottom: 30px;
}

.section-heading h2,
.why-section h2,
.contact-section h2 {
  margin: 7px 0 0;
  font-size: clamp(31px, 4vw, 43px);
  font-weight: 950;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.section-heading > p:last-child {
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.catalog-layout {
  display: grid;
  grid-template-columns: 275px 1fr;
  align-items: start;
  gap: 28px;
}

.catalog-filter {
  position: sticky;
  top: 104px;
  border: 1px solid rgba(30, 27, 28, 0.1);
  border-radius: var(--radius);
  background: white;
  padding: 19px;
  box-shadow: var(--shadow-sm);
}

.filter-title {
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid rgba(30, 27, 28, 0.1);
  padding-bottom: 15px;
}

.filter-title__icon {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 12px;
  background: #fff0ec;
  color: var(--brand);
  font-size: 25px;
  font-weight: 900;
}

.filter-title strong,
.filter-title small {
  display: block;
}

.filter-title strong {
  font-size: 15px;
  font-weight: 900;
}

.filter-title small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 13px;
}

.search-field {
  position: relative;
  display: block;
  margin-top: 18px;
}

.search-field svg {
  position: absolute;
  top: 50%;
  left: 13px;
  width: 20px;
  height: 20px;
  transform: translateY(-50%);
  fill: #837b7d;
  pointer-events: none;
}

.search-field input {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(30, 27, 28, 0.16);
  border-radius: 12px;
  background: #f8f6f5;
  padding: 10px 12px 10px 42px;
  color: var(--ink);
}

.search-field input:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(238, 56, 33, 0.1);
}

.filter-label {
  margin: 22px 0 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.category-list {
  display: grid;
  gap: 7px;
}

.category-button {
  display: flex;
  width: 100%;
  min-height: 43px;
  align-items: center;
  justify-content: space-between;
  border: 0;
  border-radius: 11px;
  background: #f4f2f1;
  padding: 9px 13px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 850;
  text-align: left;
  cursor: pointer;
  transition: background-color 150ms ease, color 150ms ease;
}

.category-button:not(:disabled):hover {
  background: #fff0ec;
  color: var(--brand-dark);
}

.category-button.is-active {
  background: var(--ink);
  color: white;
}

.category-button:disabled {
  opacity: 0.62;
}

.filter-whatsapp {
  width: 100%;
  margin-top: 18px;
  font-size: 14px;
}

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

.product-card {
  display: flex;
  min-width: 0;
  height: 100%;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(30, 27, 28, 0.1);
  border-radius: var(--radius);
  background: white;
  box-shadow: 0 12px 35px rgba(30, 27, 28, 0.06);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(238, 56, 33, 0.35);
  box-shadow: 0 18px 45px rgba(30, 27, 28, 0.11);
}

.product-card__visual {
  appearance: none;
  position: relative;
  display: grid;
  width: 100%;
  aspect-ratio: 1.55;
  place-items: center;
  overflow: hidden;
  border: 0;
  background: linear-gradient(145deg, #efedec, #fff);
  padding: 0;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.product-card__visual:focus-visible {
  outline: 3px solid rgba(238, 56, 33, 0.42);
  outline-offset: -3px;
}

.product-card__visual img {
  width: 100%;
  height: 100%;
  padding: 8px;
  object-fit: contain;
  pointer-events: none;
  transition: transform 220ms ease;
}

.product-card:hover .product-card__visual img {
  transform: scale(1.035);
}

.product-card__placeholder {
  display: grid;
  width: 82px;
  height: 82px;
  place-items: center;
  border-radius: 20px;
  background: white;
  color: var(--brand);
  font-size: 38px;
  font-weight: 950;
  box-shadow: 0 14px 35px rgba(30, 27, 28, 0.12);
}

.product-card__badges {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.badge {
  border-radius: 6px;
  padding: 5px 9px;
  color: white;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.badge--dark {
  background: var(--ink);
}

.badge--brand {
  background: var(--brand);
}

.badge--danger {
  background: var(--danger);
}

.product-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 20px;
}

.product-card__category {
  margin: 0;
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.product-card h3 {
  display: -webkit-box;
  overflow: hidden;
  margin: 7px 0 0;
  font-size: 21px;
  font-weight: 950;
  letter-spacing: -0.025em;
  line-height: 1.2;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.product-card__description {
  display: -webkit-box;
  min-height: 4.65em;
  overflow: hidden;
  flex: 1;
  margin: 11px 0 0;
  color: var(--muted);
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.product-card__purchase {
  margin-top: 18px;
  border-top: 1px solid rgba(30, 27, 28, 0.1);
  padding-top: 15px;
}

.product-card__price {
  margin: 0;
  font-size: 19px;
  font-weight: 950;
}

.product-card__purchase .button {
  width: 100%;
  min-height: 44px;
  margin-top: 11px;
  font-size: 14px;
}

.product-card__details {
  background: white;
}

.product-card__add {
  background: var(--brand);
}

.button--unavailable {
  background: #e8e4e3;
  color: #746c6e;
  cursor: default;
}

.product-detail {
  position: fixed;
  inset: 0;
  margin: auto;
  width: min(calc(100% - 30px), 1080px);
  max-height: min(92vh, 900px);
  overflow: auto;
  border: 0;
  border-radius: 24px;
  background: white;
  padding: 0;
  color: var(--ink);
  box-shadow: 0 35px 110px rgba(0, 0, 0, 0.4);
}

.product-detail::backdrop {
  background: rgba(18, 16, 17, 0.72);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.product-detail-open {
  overflow: hidden;
}

.cart-drawer-open {
  overflow: hidden;
}

.product-detail__close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 3;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(30, 27, 28, 0.13);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  font: inherit;
  font-size: 27px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 8px 25px rgba(30, 27, 28, 0.12);
}

.product-detail__close:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.product-detail__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  min-height: 610px;
}

.product-detail__visual {
  position: relative;
  display: grid;
  min-height: 100%;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(145deg, #efedec, #fff);
}

.product-detail__visual img {
  width: 100%;
  height: 100%;
  max-height: 760px;
  padding: clamp(24px, 5vw, 54px);
  object-fit: contain;
}

.product-detail__placeholder {
  display: grid;
  width: 128px;
  height: 128px;
  place-items: center;
  border-radius: 28px;
  background: white;
  color: var(--brand);
  font-size: 56px;
  font-weight: 950;
  box-shadow: 0 18px 45px rgba(30, 27, 28, 0.13);
}

.product-detail__content {
  padding: 48px 44px 40px;
}

.product-detail__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0 52px 18px 0;
}

.product-detail__category {
  margin: 0;
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.product-detail h2 {
  margin: 8px 45px 0 0;
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 950;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.product-detail__reference {
  display: inline-flex;
  margin: 14px 0 0;
  border-radius: 7px;
  background: #f1eeed;
  padding: 6px 9px;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 850;
}

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

.product-detail__lead {
  margin: 20px 0 0;
  color: var(--ink-soft);
  font-size: 17px;
  font-weight: 650;
  line-height: 1.6;
}

.product-detail__section {
  margin-top: 25px;
  border-top: 1px solid rgba(30, 27, 28, 0.1);
  padding-top: 21px;
}

.product-detail__section h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 950;
}

.product-detail__section p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.65;
  white-space: pre-line;
}

.product-detail__features {
  display: grid;
  gap: 9px;
  margin: 13px 0 0;
  padding: 0;
  list-style: none;
}

.product-detail__features li {
  position: relative;
  padding-left: 25px;
  color: var(--ink-soft);
  line-height: 1.45;
}

.product-detail__features li::before {
  position: absolute;
  top: 0.08em;
  left: 0;
  display: grid;
  width: 17px;
  height: 17px;
  place-items: center;
  border-radius: 50%;
  background: #fff0ec;
  color: var(--brand);
  content: "✓";
  font-size: 11px;
  font-weight: 950;
}

.product-detail__purchase {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 30px;
  border-top: 1px solid rgba(30, 27, 28, 0.1);
  padding-top: 24px;
}

.product-detail__purchase > div {
  display: grid;
  gap: 4px;
}

.product-detail__purchase small {
  color: var(--success);
  font-size: 11px;
  font-weight: 850;
}

.product-detail__purchase strong {
  font-size: 23px;
  font-weight: 950;
}

.product-detail__purchase .button {
  flex: 0 0 auto;
}

.product-detail__actions {
  display: grid;
  justify-items: stretch;
  gap: 8px;
  min-width: 225px;
}

.product-detail__direct-link {
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 850;
  text-align: center;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cart-drawer {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(100%, 470px);
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0 0 0 auto;
  overflow: hidden;
  border: 0;
  border-radius: 24px 0 0 24px;
  background: white;
  padding: 0;
  color: var(--ink);
  box-shadow: -25px 0 80px rgba(0, 0, 0, 0.26);
}

.cart-drawer::backdrop {
  background: rgba(18, 16, 17, 0.7);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}

.cart-drawer__panel {
  display: flex;
  height: 100%;
  flex-direction: column;
}

.cart-drawer__header {
  display: flex;
  flex: 0 0 auto;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid #e9e4e3;
  padding: 24px;
}

.cart-drawer__header h2 {
  margin: 4px 0 0;
  font-size: 29px;
  font-weight: 950;
  letter-spacing: -0.04em;
}

.cart-drawer__close {
  display: grid;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid #dad4d3;
  border-radius: 50%;
  background: white;
  color: var(--ink);
  font-size: 27px;
  line-height: 1;
  cursor: pointer;
}

.cart-drawer__close:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.cart-drawer__body {
  min-height: 0;
  overflow: auto;
  flex: 1 1 auto;
  background: #f8f6f5;
  padding: 17px;
}

.cart-empty {
  display: grid;
  min-height: 100%;
  place-content: center;
  justify-items: center;
  padding: 45px 24px;
  text-align: center;
}

.cart-empty > span {
  color: #a39b9c;
  font-size: 53px;
}

.cart-empty h3 {
  margin: 14px 0 0;
  font-size: 22px;
  font-weight: 950;
}

.cart-empty p {
  max-width: 330px;
  margin: 9px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.cart-empty .button {
  margin-top: 21px;
}

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

.cart-item {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 13px;
  border: 1px solid #e2dcdb;
  border-radius: 15px;
  background: white;
  padding: 11px;
  box-shadow: 0 7px 20px rgba(30, 27, 28, 0.045);
}

.cart-item__image {
  display: grid;
  width: 86px;
  height: 76px;
  place-items: center;
  overflow: hidden;
  border-radius: 10px;
  background: linear-gradient(145deg, #efedec, #fff);
  color: var(--brand);
  font-size: 30px;
  font-weight: 950;
}

.cart-item__image img {
  width: 100%;
  height: 100%;
  padding: 4px;
  object-fit: contain;
}

.cart-item__content {
  min-width: 0;
}

.cart-item__heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.cart-item__heading > div {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.cart-item__heading strong {
  overflow: hidden;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.28;
  text-overflow: ellipsis;
}

.cart-item__heading small {
  color: var(--muted);
  font-size: 11px;
}

.cart-item__remove {
  border: 0;
  background: transparent;
  padding: 2px;
  color: var(--danger);
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}

.cart-item__unit-price {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.cart-item__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 11px;
}

.quantity-control {
  display: inline-grid;
  grid-template-columns: 30px 35px 30px;
  align-items: center;
  overflow: hidden;
  border: 1px solid #d8d2d1;
  border-radius: 9px;
  background: white;
}

.quantity-control button {
  display: grid;
  height: 30px;
  place-items: center;
  border: 0;
  background: #f5f2f1;
  padding: 0;
  font-size: 18px;
  font-weight: 850;
  cursor: pointer;
}

.quantity-control button:hover:not(:disabled) {
  background: #ffe9e4;
  color: var(--brand-dark);
}

.quantity-control button:disabled {
  cursor: default;
  opacity: 0.4;
}

.quantity-control span {
  text-align: center;
  font-size: 13px;
  font-weight: 900;
}

.cart-item__subtotal {
  font-size: 14px;
  font-weight: 950;
}

.cart-drawer__footer {
  flex: 0 0 auto;
  border-top: 1px solid #e7e1e0;
  background: white;
  padding: 19px 22px 17px;
  box-shadow: 0 -12px 35px rgba(30, 27, 28, 0.07);
}

.cart-summary {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
}

.cart-summary span {
  color: var(--ink-soft);
  font-weight: 800;
}

.cart-summary strong {
  font-size: 25px;
  font-weight: 950;
  letter-spacing: -0.025em;
  text-align: right;
}

.cart-pending {
  margin: 8px 0 0;
  border-radius: 8px;
  background: #fff4db;
  padding: 8px 10px;
  color: #7b5510;
  font-size: 12px;
  font-weight: 750;
}

.cart-notes {
  display: grid;
  gap: 7px;
  margin-top: 14px;
}

.cart-notes span {
  font-size: 12px;
  font-weight: 850;
}

.cart-notes textarea {
  width: 100%;
  resize: vertical;
  border: 1px solid #d7d0cf;
  border-radius: 10px;
  background: #faf8f7;
  padding: 10px 11px;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.4;
}

.cart-notes textarea:focus {
  border-color: var(--brand);
}

.cart-disclaimer {
  margin: 11px 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}

.cart-footer__actions {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  margin-top: 8px;
}

.cart-footer__actions .text-button {
  margin: 0;
}

.cart-toast {
  position: fixed;
  top: 104px;
  right: 20px;
  z-index: 200;
  max-width: min(390px, calc(100% - 40px));
  border: 1px solid #a9dfc9;
  border-radius: 12px;
  background: white;
  padding: 13px 16px;
  color: var(--success);
  font-size: 14px;
  font-weight: 850;
  box-shadow: var(--shadow-md);
}

.cart-toast.is-error {
  border-color: #ffc5cd;
  color: var(--danger);
}

.catalog-message {
  border: 1px dashed rgba(30, 27, 28, 0.23);
  border-radius: var(--radius);
  background: white;
  padding: 62px 24px;
  text-align: center;
}

.catalog-message > span {
  color: #938b8d;
  font-size: 42px;
}

.catalog-message h3 {
  margin: 10px 0 0;
  font-size: 21px;
  font-weight: 950;
}

.catalog-message p {
  margin: 8px 0 0;
  color: var(--muted);
}

.catalog-message .button {
  margin-top: 18px;
}

.skeleton-card {
  min-height: 430px;
  padding-bottom: 20px;
  pointer-events: none;
}

.skeleton-card > * {
  display: block;
  margin: 14px 20px 0;
  border-radius: 9px;
  background: linear-gradient(90deg, #ece9e8 20%, #f8f7f6 50%, #ece9e8 80%);
  background-size: 220% 100%;
  animation: skeleton 1.4s ease-in-out infinite;
}

.skeleton-card > div {
  height: 220px;
  margin: 0;
  border-radius: 0;
}

.skeleton-card > span:nth-child(2) {
  width: 32%;
  height: 14px;
}

.skeleton-card > span:nth-child(3) {
  width: 68%;
  height: 25px;
}

.skeleton-card > span:nth-child(4) {
  width: calc(100% - 40px);
  height: 72px;
}

@keyframes skeleton {
  to { background-position: -220% 0; }
}

.why-section {
  border-block: 1px solid rgba(30, 27, 28, 0.1);
  background: white;
}

.why-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: center;
  gap: 62px;
  padding-block: 58px;
}

.why-section h2 {
  font-size: clamp(30px, 3.6vw, 41px);
}

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

.why-points p {
  display: flex;
  margin: 0;
  gap: 11px;
  border-radius: 14px;
  background: var(--canvas);
  padding: 16px;
  color: var(--ink-soft);
  font-weight: 650;
  line-height: 1.48;
}

.why-points span {
  display: grid;
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: var(--brand);
  color: white;
  font-size: 13px;
  font-weight: 950;
}

.contact-section {
  background: var(--ink);
  color: white;
}

.contact-section__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 45px;
  padding-block: 48px;
}

.contact-section h2 {
  font-size: clamp(30px, 3.6vw, 41px);
}

.contact-section p:last-child {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.64);
  line-height: 1.55;
}

.contact-section .button {
  flex: 0 0 auto;
}

.site-footer {
  background: white;
}

.site-footer__inner {
  display: flex;
  min-height: 132px;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding-block: 25px;
}

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

.site-footer__inner > div {
  color: var(--muted);
  text-align: right;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  display: inline-block;
  margin-top: 8px;
  font-size: 13px;
  font-weight: 800;
  transition: color 150ms ease;
}

.site-footer a:hover {
  color: var(--brand);
}

.floating-whatsapp {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 45;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 50%;
  background: var(--whatsapp);
  color: white;
  box-shadow: 0 13px 35px rgba(21, 128, 61, 0.36);
  transition: transform 160ms ease, background-color 160ms ease;
}

.floating-whatsapp:hover {
  transform: scale(1.06);
  background: var(--whatsapp-dark);
}

.floating-whatsapp svg {
  width: 29px;
  height: 29px;
  fill: currentColor;
}

.noscript-message {
  position: fixed;
  inset: auto 20px 20px;
  z-index: 100;
  margin: 0;
  border-radius: 10px;
  background: #fff3cd;
  padding: 14px;
  color: #664d03;
  text-align: center;
  box-shadow: var(--shadow-md);
}

/* Administración */

.admin-page {
  min-height: 100vh;
  background: #f4f1f0;
}

.admin-container {
  width: min(100% - 40px, 1460px);
  margin-inline: auto;
}

.login-shell {
  display: grid;
  min-height: 100vh;
  place-items: center;
  background:
    radial-gradient(circle at 18% 18%, rgba(238, 56, 33, 0.2), transparent 34%),
    radial-gradient(circle at 88% 80%, rgba(238, 56, 33, 0.12), transparent 28%),
    var(--ink);
  padding: 24px;
}

.login-card {
  width: min(100%, 450px);
  border-radius: 24px;
  background: white;
  padding: 32px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.35);
}

.login-logo {
  display: inline-block;
  margin-bottom: 27px;
}

.login-logo img {
  width: auto;
  height: 72px;
}

.login-card h1 {
  margin: 7px 0 0;
  font-size: 32px;
  font-weight: 950;
  letter-spacing: -0.04em;
}

.login-lead {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.login-form {
  display: grid;
  gap: 17px;
  margin-top: 25px;
}

.back-link {
  display: block;
  margin-top: 20px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
  text-align: center;
}

.back-link:hover {
  color: var(--brand);
}

.field {
  display: grid;
  gap: 7px;
}

.field > span {
  font-size: 14px;
  font-weight: 850;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  border: 1px solid #cfc8c7;
  border-radius: 11px;
  background: white;
  padding: 11px 13px;
  color: var(--ink);
  line-height: 1.4;
  resize: vertical;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.field input,
.field select {
  min-height: 46px;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--brand);
  outline: 0;
  box-shadow: 0 0 0 4px rgba(238, 56, 33, 0.1);
}

.field input[readonly] {
  border-color: #e0d8d6;
  background: #f7f4f3;
  color: #403b3b;
}

.field small {
  color: #718095;
  font-size: 12px;
  line-height: 1.45;
}

.form-error {
  margin: 0;
  border-radius: 9px;
  background: #fff0f1;
  padding: 10px 12px;
  color: var(--danger);
  font-size: 14px;
  font-weight: 700;
}

.admin-header {
  border-bottom: 1px solid black;
  background: var(--ink);
  color: white;
}

.admin-header__inner {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 12px;
}

.admin-brand {
  display: flex;
  align-items: center;
  gap: 13px;
}

.admin-brand > span {
  border-radius: 9px;
  background: white;
  padding: 5px 7px;
}

.admin-brand img {
  width: auto;
  height: 43px;
}

.admin-brand strong,
.admin-brand small {
  display: block;
}

.admin-brand strong {
  font-weight: 900;
}

.admin-brand small {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
}

.admin-header__actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.admin-content {
  padding-block: 35px 64px;
}

.admin-intro h1 {
  margin: 5px 0 0;
  font-size: clamp(29px, 4vw, 39px);
  font-weight: 950;
  letter-spacing: -0.045em;
}

.admin-intro > p:last-child {
  margin: 9px 0 0;
  color: var(--muted);
}

.admin-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 28px;
  border: 1px solid rgba(30, 27, 28, 0.08);
  border-radius: 13px;
  background: white;
  padding: 4px;
  box-shadow: var(--shadow-sm);
}

.tab-count {
  display: inline-grid;
  min-width: 21px;
  min-height: 21px;
  margin-left: 5px;
  place-items: center;
  border-radius: 999px;
  background: var(--brand);
  padding-inline: 6px;
  color: white;
  font-size: 11px;
}

.admin-tab {
  min-height: 40px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  padding: 8px 18px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 850;
  cursor: pointer;
}

.admin-tab.is-active {
  background: var(--ink);
  color: white;
}

.admin-panel {
  margin-top: 24px;
}

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

.summary-card {
  display: flex;
  min-height: 96px;
  align-items: center;
  gap: 15px;
  border: 1px solid #ded8d7;
  border-radius: var(--radius);
  background: white;
  padding: 18px;
  box-shadow: var(--shadow-sm);
}

.summary-card > span {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 14px;
  background: #fff0ec;
  color: var(--brand);
  font-size: 23px;
  font-weight: 950;
}

.summary-card small,
.summary-card strong {
  display: block;
}

.summary-card small {
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.summary-card strong {
  margin-top: 2px;
  font-size: 27px;
  font-weight: 950;
}

.admin-card {
  overflow: hidden;
  border: 1px solid #ded8d7;
  border-radius: var(--radius);
  background: white;
  box-shadow: 0 14px 40px rgba(30, 27, 28, 0.06);
}

.product-admin-card {
  margin-top: 20px;
}

.admin-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid #e7e2e1;
  padding: 20px;
}

.admin-card__header h2 {
  margin: 0;
  font-size: 21px;
  font-weight: 950;
  letter-spacing: -0.025em;
}

.admin-card__header p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 14px;
}

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

.product-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.product-table th {
  background: #f8f6f5;
  padding: 13px 18px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.product-table td {
  min-width: 145px;
  border-top: 1px solid #eeeae9;
  padding: 14px 18px;
  vertical-align: middle;
}

.product-table .table-price {
  font-weight: 750;
}

.product-table .table-price strong,
.product-table .table-price small,
.order-table td > strong,
.order-table td > small,
.order-table__number strong,
.order-table__number small {
  display: block;
}

.product-table .table-price small,
.order-table td > small,
.order-table__number small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
}

.product-table th:first-child,
.product-table td:first-child {
  min-width: 310px;
}

.product-table th:last-child,
.product-table td:last-child {
  width: 120px;
  min-width: 120px;
  text-align: right;
}

.admin-product {
  display: flex;
  align-items: center;
  gap: 12px;
}

.admin-product__image {
  display: grid;
  width: 58px;
  height: 58px;
  flex: 0 0 auto;
  place-items: center;
  overflow: hidden;
  border: 1px solid #e1dbda;
  border-radius: 12px;
  background: #f4f1f0;
  color: var(--brand);
  font-size: 24px;
  font-weight: 900;
}

.admin-product__image img {
  width: 100%;
  height: 100%;
  padding: 4px;
  object-fit: contain;
}

.admin-product strong,
.admin-product small {
  display: block;
}

.admin-product strong {
  font-weight: 900;
}

.admin-product small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

.status-list {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.status-pill {
  border-radius: 999px;
  padding: 5px 9px;
  background: #eef0f2;
  color: #647080;
  font-size: 11px;
  font-weight: 850;
  white-space: nowrap;
}

.status-pill--success {
  background: #e7f8f0;
  color: var(--success);
}

.status-pill--brand {
  background: #fff0ec;
  color: var(--brand-dark);
}

.status-pill--danger {
  background: #fff0f1;
  color: var(--danger);
}

.table-actions {
  display: flex;
  justify-content: flex-end;
  gap: 6px;
}

.icon-button {
  display: inline-grid;
  width: 39px;
  height: 39px;
  place-items: center;
  border: 1px solid #d8d1d0;
  border-radius: 9px;
  background: white;
  font-size: 20px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  transition: border-color 150ms ease, background-color 150ms ease, color 150ms ease;
}

.icon-button:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.icon-button--danger {
  border-color: transparent;
  color: var(--danger);
}

.icon-button--danger:hover {
  border-color: #ffd1d7;
  background: #fff0f1;
  color: var(--danger);
}

.admin-empty {
  padding: 62px 20px;
  color: var(--muted);
  text-align: center;
}

.admin-empty > span {
  font-size: 42px;
}

.admin-empty h3 {
  margin: 10px 0 0;
  color: var(--ink);
  font-size: 19px;
}

.admin-empty p {
  margin: 7px 0 0;
}

.settings-card {
  max-width: 940px;
}

.settings-card form {
  padding: 24px;
}

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

.settings-divider {
  display: flex;
  align-items: baseline;
  gap: 9px;
  border-top: 1px solid #ebe5e4;
  padding-top: 20px;
}

.settings-divider strong {
  font-size: 16px;
}

.settings-divider span {
  color: var(--muted);
  font-size: 13px;
}

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

.form-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 24px;
}

.product-dialog {
  width: min(calc(100% - 30px), 820px);
  max-height: min(92vh, 920px);
  overflow: auto;
  border: 0;
  border-radius: 20px;
  background: white;
  padding: 0;
  color: var(--ink);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.35);
}

.product-dialog::backdrop {
  background: rgba(18, 16, 17, 0.68);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}

.dialog-form {
  padding: 24px;
}

.dialog-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid #eeeae9;
  padding-bottom: 18px;
}

.dialog-header h2 {
  margin: 0;
  font-size: 24px;
  font-weight: 950;
  letter-spacing: -0.03em;
}

.dialog-header p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.dialog-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 25px;
  padding-block: 22px;
}

.dialog-column {
  display: grid;
  align-content: start;
  gap: 20px;
}

.pricing-box {
  display: grid;
  gap: 15px;
  border: 1px solid #dfd7d5;
  border-radius: 14px;
  background: #faf8f7;
  padding: 15px;
}

.pricing-box__heading strong,
.pricing-box__heading span {
  display: block;
}

.pricing-box__heading strong {
  font-size: 16px;
  font-weight: 950;
}

.pricing-box__heading span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.pricing-preview {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  border-radius: 10px;
  background: white;
  padding: 11px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.pricing-preview > span {
  border: 1px solid #ede8e7;
  border-radius: 9px;
  padding: 8px 9px;
}

.pricing-preview small,
.pricing-preview strong {
  display: block;
}

.pricing-preview strong {
  margin-top: 2px;
  color: var(--ink);
  font-size: 14px;
}

.image-picker {
  border: 1px dashed #b9b1b0;
  border-radius: 14px;
  background: #f8f6f5;
  padding: 13px;
}

.image-preview {
  display: grid;
  aspect-ratio: 1.5;
  place-items: center;
  overflow: hidden;
  border-radius: 10px;
  background: white;
  color: var(--muted);
  font-size: 14px;
}

.image-preview img {
  width: 100%;
  height: 100%;
  padding: 8px;
  object-fit: contain;
}

.image-picker .button {
  min-height: 41px;
  margin-top: 10px;
  padding: 8px 14px;
  font-size: 14px;
}

.text-button {
  display: block;
  margin: 9px auto 0;
  border: 0;
  background: transparent;
  padding: 4px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.text-button--danger {
  color: var(--danger);
}

.two-fields {
  display: grid;
  grid-template-columns: 1fr 0.72fr;
  gap: 13px;
}

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

.switch-list {
  display: grid;
  gap: 4px;
  border: 1px solid #e3dddc;
  border-radius: 13px;
  background: #f8f6f5;
  padding: 10px 14px;
}

.switch-list label {
  display: flex;
  min-height: 39px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-size: 14px;
  font-weight: 750;
}

.switch-list input {
  width: 18px;
  height: 18px;
  accent-color: var(--brand);
}

.dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 9px;
  border-top: 1px solid #eeeae9;
  padding-top: 18px;
}

.order-dialog {
  width: min(calc(100% - 30px), 1080px);
}

.order-dialog__body {
  display: grid;
  gap: 18px;
  padding-block: 20px;
}

.order-dialog__body > section {
  display: grid;
  gap: 13px;
  border: 1px solid #e5dfde;
  border-radius: 14px;
  padding: 16px;
}

.order-dialog__body h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 950;
}

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

.order-lines {
  display: grid;
  gap: 7px;
}

.order-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-radius: 10px;
  background: #f8f6f5;
  padding: 11px 12px;
}

.order-line strong,
.order-line small {
  display: block;
}

.order-line small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.order-line > span {
  flex: 0 0 auto;
  font-size: 13px;
  font-weight: 800;
  text-align: right;
}

.order-totals {
  margin-left: auto;
  width: min(100%, 520px);
  border-top: 1px solid #e6e0df;
  padding-top: 8px;
}

.order-total-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 5px 0;
  color: var(--muted);
  font-size: 13px;
}

.order-total-row strong {
  color: var(--ink);
  text-align: right;
}

.order-total-row.is-emphasized {
  margin-top: 4px;
  border-top: 1px solid #e6e0df;
  padding-top: 9px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 900;
}

.order-total-warning {
  margin: 8px 0 0;
  border-radius: 8px;
  background: #fff7e4;
  padding: 8px 10px;
  color: #8a5b00;
  font-size: 12px;
  font-weight: 750;
}

.dialog-actions--spread {
  align-items: center;
  justify-content: space-between;
}

.dialog-actions--spread > div {
  display: flex;
  gap: 9px;
}

.toast {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 200;
  max-width: min(380px, calc(100% - 40px));
  border: 1px solid #d9d3d2;
  border-radius: 12px;
  background: white;
  padding: 13px 16px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  box-shadow: var(--shadow-md);
}

.toast.is-success {
  border-color: #a9dfc9;
  color: var(--success);
}

.toast.is-error {
  border-color: #ffc5cd;
  color: var(--danger);
}

@media (max-width: 1020px) {
  .main-nav {
    display: none;
  }

  .hero__accent {
    display: none;
  }

  .hero__grid {
    grid-template-columns: 1fr;
    gap: 34px;
    padding-block: 48px;
  }

  .hero__copy {
    padding-right: 0;
  }

  .solution-card {
    max-width: 670px;
  }

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

  .benefit-grid > div:nth-child(3),
  .benefit-grid > div:nth-child(4) {
    border-top: 1px solid rgba(255, 255, 255, 0.25);
  }

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

  .catalog-filter {
    position: static;
  }

  .category-list {
    display: flex;
    flex-wrap: wrap;
  }

  .category-button {
    width: auto;
  }

  .filter-whatsapp {
    width: auto;
  }

  .why-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 720px) {
  .container,
  .admin-container {
    width: min(100% - 28px, 1240px);
  }

  .top-strip__inner {
    justify-content: center;
    text-align: center;
  }

  .top-strip__secondary {
    display: none;
  }

  .site-header__inner {
    min-height: 74px;
    gap: 12px;
  }

  .brand img {
    height: 52px;
  }

  .header-whatsapp {
    min-height: 42px;
    padding-inline: 13px;
    font-size: 13px;
  }

  .site-header__actions {
    gap: 6px;
  }

  .cart-toggle {
    min-height: 42px;
    padding: 7px 8px;
  }

  .cart-toggle__label {
    display: none;
  }

  .desktop-label {
    display: none;
  }

  .mobile-label {
    display: inline;
  }

  .hero__grid {
    padding-block: 42px;
  }

  .hero h1 {
    font-size: clamp(39px, 12vw, 52px);
  }

  .hero__text {
    font-size: 17px;
  }

  .solution-card {
    padding: 21px;
  }

  .benefit-grid > div {
    min-height: 86px;
    padding: 17px 12px;
  }

  .benefit-grid > div:nth-child(odd) {
    border-left: 0;
  }

  .benefit-grid > div:last-child {
    border-right: 0;
  }

  .catalog-section {
    padding-block: 50px 58px;
  }

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

  .product-detail {
    width: min(calc(100% - 18px), 620px);
    max-height: 94vh;
    border-radius: 18px;
  }

  .product-detail__grid {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .product-detail__visual {
    min-height: 265px;
    aspect-ratio: 1.55;
  }

  .product-detail__visual img {
    max-height: 330px;
    padding: 22px;
  }

  .product-detail__content {
    padding: 29px 22px 24px;
  }

  .product-detail h2 {
    margin-right: 0;
  }

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

  .product-detail__purchase .button {
    width: 100%;
  }

  .product-detail__actions {
    width: 100%;
    min-width: 0;
  }

  .cart-drawer {
    width: 100%;
    border-radius: 0;
  }

  .cart-drawer__header {
    padding: 20px 18px;
  }

  .cart-drawer__body {
    padding: 13px;
  }

  .cart-drawer__footer {
    padding: 16px 17px 13px;
  }

  .cart-toast {
    top: 88px;
    right: 14px;
    max-width: calc(100% - 28px);
  }

  .why-grid {
    padding-block: 46px;
  }

  .why-points {
    grid-template-columns: 1fr;
  }

  .contact-section__inner {
    align-items: stretch;
    flex-direction: column;
    padding-block: 42px;
  }

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

  .site-footer__inner > div {
    text-align: left;
  }

  .floating-whatsapp {
    right: 14px;
    bottom: 14px;
  }

  .login-card {
    padding: 25px;
  }

  .admin-header__inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-header__actions {
    align-self: stretch;
  }

  .admin-header__actions .button {
    flex: 1;
  }

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

  .summary-card {
    min-height: 82px;
  }

  .admin-card__header {
    align-items: stretch;
    flex-direction: column;
  }

  .settings-grid,
  .dialog-grid,
  .three-fields {
    grid-template-columns: 1fr;
  }

  .admin-tabs {
    display: flex;
  }

  .admin-tab {
    flex: 1;
    padding-inline: 10px;
  }

  .order-line {
    align-items: flex-start;
    flex-direction: column;
  }

  .order-line > span {
    text-align: left;
  }

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

  .dialog-actions--spread > div {
    display: flex;
  }

  .field--wide {
    grid-column: auto;
  }

  .dialog-form {
    padding: 19px;
  }

  .dialog-actions .button {
    flex: 1;
    padding-inline: 10px;
  }

  .product-table th:first-child,
  .product-table td:first-child {
    min-width: 255px;
  }
}

@media (max-width: 420px) {
  .brand img {
    height: 46px;
  }

  .header-whatsapp svg {
    display: none;
  }

  .hero__actions .button {
    width: 100%;
  }

  .hero__checks {
    display: grid;
  }

  .solution-option {
    grid-template-columns: 42px 1fr;
  }

  .solution-option__arrow {
    display: none;
  }

  .two-fields {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Ajax catalogue */
.catalog-load-more { grid-column: 1 / -1; justify-self: center; margin: 1rem; }
.product-card__reference { font-size: .75rem; overflow-wrap: anywhere; color: #6b7280; margin: 0 0 .6rem; }
.product-detail h2 { font-size: clamp(24px, 2.8vw, 36px); overflow-wrap: anywhere; }
.product-detail__reference { overflow-wrap: anywhere; max-width: 100%; }
.product-detail__visual img { position: absolute; inset: 0; max-height: 100%; }
.admin-catalog-search { margin: 0 1.5rem 1.25rem; max-width: 680px; }
.product-card__visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  object-fit: contain;
  padding: 18px;
}
