/* ---------- TOKENS ---------- */
:root {
  --western-bg: #f7f2ea;
  --western-bg-soft: #fbf8f3;
  --western-surface: #ffffff;
  --western-surface-warm: #f4ecdf;
  --western-surface-strong: #eee1cf;

  --western-text: #3e3027;
  --western-text-strong: #2c211a;
  --western-muted: #837468;
  --western-muted-soft: #a29487;

  --western-brown: #74462f;
  --western-brown-deep: #5e3523;
  --western-caramel: #a56d3f;
  --western-gold: #c79a4b;
  --western-gold-deep: #ad7c32;
  --western-gold-soft: rgba(199, 154, 75, .13);

  --western-border: rgba(92, 64, 45, .12);
  --western-border-strong: rgba(92, 64, 45, .22);
  --western-danger: #a9473d;
  --western-danger-soft: rgba(169, 71, 61, .08);

  --western-shadow-sm: 0 8px 24px rgba(76, 52, 35, .07);
  --western-shadow-md: 0 18px 42px rgba(76, 52, 35, .10);
  --western-shadow-lg: 0 30px 70px rgba(76, 52, 35, .14);

  --western-radius-sm: 12px;
  --western-radius-md: 18px;
  --western-radius-lg: 24px;
}


/* =========================================================
   BOTÓN FLOTANTE DEL CARRITO
   ========================================================= */

#cartBubble {
  position: fixed;
  left: 22px;
  bottom: 22px;
  z-index: 1045;

  width: 66px;
  height: 66px;
  padding: 0;
  border: 0;
  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  background:
    radial-gradient(circle at 30% 25%, rgba(255, 255, 255, .55), transparent 34%),
    linear-gradient(145deg, #d9b56b 0%, #bc8b3d 100%);

  color: #49301f;
  box-shadow:
    0 18px 36px rgba(91, 58, 35, .18),
    inset 0 1px 0 rgba(255, 255, 255, .55);

  cursor: pointer;
  transition:
    transform .22s ease,
    box-shadow .22s ease,
    filter .22s ease;
}

#cartBubble:hover {
  transform: translateY(-4px);
  box-shadow:
    0 24px 44px rgba(91, 58, 35, .22),
    inset 0 1px 0 rgba(255, 255, 255, .62);
  filter: saturate(1.04);
}

#cartBubble:active {
  transform: translateY(-1px) scale(.98);
}

#cartBubble .cart-inner,
.cart-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

#cartBubble svg {
  width: 28px;
  height: 28px;
}

.cart-svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
  opacity: .95;
}

.cart-badge {
  position: absolute;
  top: -10px;
  right: -12px;

  min-width: 23px;
  height: 23px;
  padding: 0 6px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  border-radius: 999px;
  border: 2px solid #fffaf3;

  background: #9a3f35;
  color: #fff;

  font: 700 11px/1 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  box-shadow: 0 6px 16px rgba(110, 47, 40, .23);
}


/* =========================================================
   OFFCANVAS GENERAL
   ========================================================= */

#carritoPanel {
  width: 100vw !important;
  max-width: 100vw;
}

.offcanvas.offcanvas-end {
  transition: transform 3s cubic-bezier(.22, .61, .36, 1);
}

.offcanvas.offcanvas-checkout {
  --bs-offcanvas-width: 100vw;

  background:
    radial-gradient(circle at 12% 10%, rgba(199, 154, 75, .12), transparent 26%),
    linear-gradient(180deg, #fbf8f3 0%, #f5efe6 100%);

  color: var(--western-text);
  border-left: 0;
}

.offcanvas-checkout .offcanvas-header {
  min-height: 72px;
  padding: 0 1.35rem;

  display: flex;
  align-items: center;

  background: rgba(255, 255, 255, .90);
  border-bottom: 1px solid var(--western-border);
  box-shadow: 0 4px 18px rgba(76, 52, 35, .04);
  backdrop-filter: blur(14px);
}

.offcanvas-checkout .offcanvas-title {
  display: flex;
  align-items: center;
  gap: .72rem;

  margin: 0;
  color: var(--western-text-strong);

  font-size: 1.03rem;
  font-weight: 750;
  letter-spacing: .01em;
}

.offcanvas-checkout .offcanvas-title svg {
  color: var(--western-caramel);
}

.offcanvas-checkout .btn-close {
  opacity: .6;
  filter: none;
  transition: opacity .2s ease, transform .2s ease;
}

.offcanvas-checkout .btn-close:hover {
  opacity: 1;
  transform: rotate(5deg);
}


/* =========================================================
   ESTRUCTURA PRINCIPAL
   ========================================================= */

.checkout-shell {
  height: calc(100vh - 72px);
  padding: 0;
}

.checkout-col {
  height: 100%;
  overflow: hidden;
}

.checkout-left {
  position: relative;

  background:
    linear-gradient(180deg, rgba(244, 236, 223, .95), rgba(248, 243, 235, .95));

  border-right: 1px solid var(--western-border);
}

.checkout-panel {
  height: 100%;
  overflow-y: auto;
  padding: 1.4rem;
}

.checkout-left .checkout-panel {
  padding: 1.4rem;
}


/* =========================================================
   SECCIONES / TARJETAS
   ========================================================= */

.checkout-section {
  position: relative;

  margin-bottom: 1rem;
  padding: 1.15rem;

  background: rgba(255, 255, 255, .92);
  border: 1px solid var(--western-border);
  border-radius: var(--western-radius-lg);

  box-shadow: var(--western-shadow-sm);
}

.checkout-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 2px;

  border-radius: 999px;
  background: linear-gradient(90deg,
      transparent,
      rgba(199, 154, 75, .55),
      transparent);

  opacity: .8;
}

.section-kicker {
  margin-bottom: .35rem;

  color: var(--western-gold-deep);

  font-size: .69rem;
  font-weight: 800;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.section-title {
  margin-bottom: 1rem;

  color: var(--western-text-strong);

  font-size: 1rem;
  font-weight: 760;
  line-height: 1.25;
}

.section-note {
  margin-top: .3rem;

  color: var(--western-muted);

  font-size: .84rem;
  line-height: 1.55;
}


/* =========================================================
   CAMPOS DE FORMULARIO
   ========================================================= */

.checkout-label {
  display: inline-block;
  margin-bottom: .38rem;

  color: var(--western-text);

  font-size: .80rem;
  font-weight: 700;
  line-height: 1.2;
}

.checkout-control,
.checkout-select,
.checkout-textarea {
  width: 100%;
  min-height: 50px;
  padding: .78rem .92rem;

  background: #fbfaf8;
  color: var(--western-text-strong);

  border: 1px solid rgba(86, 62, 45, .13);
  border-radius: 14px;

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .85),
    0 3px 10px rgba(76, 52, 35, .025) !important;

  transition:
    background .18s ease,
    border-color .18s ease,
    box-shadow .18s ease,
    transform .18s ease;
}

.checkout-control::placeholder,
.checkout-textarea::placeholder {
  color: #aaa096;
  opacity: 1;
}

.checkout-control:hover,
.checkout-select:hover,
.checkout-textarea:hover {
  border-color: rgba(116, 70, 47, .22);
}

.checkout-control:focus,
.checkout-select:focus,
.checkout-textarea:focus {
  background: #fff;
  color: var(--western-text-strong);

  border-color: rgba(180, 127, 53, .62);

  box-shadow:
    0 0 0 3px rgba(199, 154, 75, .12),
    0 8px 20px rgba(76, 52, 35, .05) !important;

  outline: none;
}

.checkout-select {
  cursor: pointer;
}

/* =========================================================
   SELECTS PREMIUM
   ========================================================= */

.checkout-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  width: 100%;
  min-height: 50px;
  padding: .78rem 3rem .78rem .95rem;

  color: var(--western-text-strong);
  font-size: .94rem;
  font-weight: 600;

  background-color: #fbfaf8;

  /* Flecha personalizada */
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%2374462f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");

  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 18px;

  border: 1px solid rgba(86, 62, 45, .13);
  border-radius: 14px;

  cursor: pointer;

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .9),
    0 3px 10px rgba(76, 52, 35, .025) !important;

  transition:
    border-color .18s ease,
    background-color .18s ease,
    box-shadow .18s ease,
    transform .18s ease;
}


/* HOVER */
.checkout-select:hover {
  background-color: #ffffff;
  border-color: rgba(166, 111, 55, .30);

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .9),
    0 7px 18px rgba(76, 52, 35, .055) !important;
}


/* FOCUS / ABIERTO */
.checkout-select:focus {
  outline: none;

  background-color: #ffffff;

  border-color: rgba(190, 137, 61, .72);

  box-shadow:
    0 0 0 3px rgba(199, 154, 75, .13),
    0 9px 22px rgba(76, 52, 35, .07) !important;
}


/* OPCIONES */
.checkout-select option {
  background: #ffffff;
  color: #3e3027;

  font-size: .94rem;
  font-weight: 500;

  padding: 10px;
}


/* Primera opción tipo placeholder */
.checkout-select option[value="0"] {
  color: #9d9288;
}

.checkout-textarea {
  min-height: 96px;
  resize: none;
}


/* =========================================================
   PAGO CON TARJETA
   ========================================================= */

.payment-box {
  margin-top: .9rem;
  padding: 1rem;

  background:
    linear-gradient(180deg, #fbf7f0 0%, #f8f2e8 100%);

  border: 1px solid rgba(168, 114, 58, .18);
  border-radius: 18px;

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .75);
}

#cardBlock {
  position: relative;
}

.mirror-box {
  padding: .85rem .95rem;

  background:
    linear-gradient(135deg, rgba(199, 154, 75, .10), rgba(255, 255, 255, .72));

  border: 1px solid rgba(199, 154, 75, .22);
  border-radius: 14px;
}

.mirror-key {
  margin-bottom: .2rem;

  color: var(--western-gold-deep);

  font-size: .70rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.mirror-value {
  color: var(--western-text-strong);

  font-size: .94rem;
  font-weight: 700;
  word-break: break-word;
}

.form-check {
  display: flex;
  align-items: center;
  gap: .45rem;
}

.form-check-input {
  width: 1.05rem;
  height: 1.05rem;
  margin-top: 0;

  background-color: #fff;
  border: 1px solid rgba(116, 70, 47, .28);

  box-shadow: none !important;
  cursor: pointer;
}

.form-check-input:checked {
  background-color: var(--western-gold);
  border-color: var(--western-gold);
}

.form-check-input:focus {
  border-color: var(--western-gold);
  box-shadow: 0 0 0 3px rgba(199, 154, 75, .13) !important;
}

.form-check-label {
  color: var(--western-text);

  font-size: .87rem;
  font-weight: 600;
  cursor: pointer;
}

.checkout-helper {
  color: var(--western-muted);
  font-size: .82rem;
  line-height: 1.5;
}


/* =========================================================
   LISTADO DE PRODUCTOS
   ========================================================= */

.cart-items-list {
  display: flex;
  flex-direction: column;
  gap: .8rem;

  max-height: 52vh;
  overflow-y: auto;

  padding-right: .15rem;
}

.cart-item {
  position: relative;

  display: grid;
  grid-template-columns: 68px minmax(0, 1fr) auto;
  gap: .9rem;
  align-items: center;

  padding: .95rem;

  background:
    linear-gradient(180deg, #fff 0%, #fcfaf6 100%);

  border: 1px solid var(--western-border);
  border-radius: 18px;

  box-shadow: 0 7px 18px rgba(76, 52, 35, .045);

  transition:
    border-color .18s ease,
    box-shadow .18s ease,
    transform .18s ease;
}

.cart-item:hover {
  border-color: rgba(155, 100, 56, .22);
  box-shadow: 0 12px 24px rgba(76, 52, 35, .07);
  transform: translateY(-1px);
}

.cart-item-thumb {
  width: 68px;
  height: 68px;

  display: flex;
  align-items: center;
  justify-content: center;

  overflow: hidden;

  background:
    radial-gradient(circle at 32% 26%, rgba(255, 255, 255, .65), transparent 33%),
    linear-gradient(145deg, #ead7b2, #d4b072);

  color: #6d492b;

  border: 1px solid rgba(112, 74, 43, .10);
  border-radius: 16px;

  font-size: 1.1rem;
  font-weight: 850;

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .6),
    0 5px 12px rgba(100, 67, 40, .07);
}

.cart-item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item-title {
  margin-bottom: .3rem;

  color: var(--western-text-strong);

  font-size: .93rem;
  font-weight: 800;
  line-height: 1.25;
}

.cart-item-meta {
  color: var(--western-muted);

  font-size: .79rem;
  line-height: 1.45;
}

.cart-item-price {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  gap: .38rem;

  min-width: 105px;

  text-align: right;
}

.cart-item-total {
  color: var(--western-brown-deep);

  font-size: .98rem;
  font-weight: 850;
  white-space: nowrap;
}

.cart-item-qty {
  min-width: 40px;
  min-height: 26px;
  padding: .2rem .58rem;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  background: #f4e8d4;
  color: #906329;

  border: 1px solid rgba(199, 154, 75, .24);
  border-radius: 999px;

  font-size: .76rem;
  font-weight: 800;
}


/* =========================================================
   PIE DE PRODUCTO / ACCIONES
   ========================================================= */

.cart-item-footer {
  grid-column: 1 / -1;

  display: flex;
  flex-direction: column;
  gap: .7rem;

  margin-top: .1rem;
  padding-top: .75rem;

  border-top: 1px solid rgba(92, 64, 45, .09);
}

.cart-item-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: .5rem;
}

.cart-btn-action {
  min-height: 35px;
  padding: .45rem .78rem;

  background: #fff;
  color: var(--western-brown);

  border: 1px solid rgba(116, 70, 47, .18);
  border-radius: 11px;

  font-size: .78rem;
  font-weight: 750;

  transition:
    background .18s ease,
    border-color .18s ease,
    color .18s ease,
    transform .18s ease;
}

.cart-btn-action:hover {
  background: #f8efe3;
  border-color: rgba(116, 70, 47, .30);
  color: var(--western-brown-deep);
  transform: translateY(-1px);
}

.cart-btn-action.is-danger {
  background: var(--western-danger-soft);
  color: #8f3d35;
  border-color: rgba(169, 71, 61, .18);
}

.cart-btn-action.is-danger:hover {
  background: rgba(169, 71, 61, .12);
  color: #7d3029;
  border-color: rgba(169, 71, 61, .30);
}


/* =========================================================
   PIEZAS / DETAILS
   ========================================================= */

.cart-units {
  overflow: hidden;

  background: #fbf8f3;

  border: 1px solid rgba(116, 70, 47, .10);
  border-radius: 13px;
}

.cart-units summary {
  position: relative;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;

  padding: .68rem .82rem;

  color: var(--western-text);

  font-size: .80rem;
  font-weight: 700;

  cursor: pointer;
  list-style: none;
}

.cart-units summary::-webkit-details-marker {
  display: none;
}

.cart-units summary::after {
  content: "+";

  color: var(--western-gold-deep);
  font-size: 1rem;
  font-weight: 700;

  transition: transform .18s ease;
}

.cart-units[open] summary::after {
  transform: rotate(45deg);
}

.cart-units-list {
  display: grid;
  gap: .42rem;

  padding: 0 .8rem .75rem;
}

.cart-unit-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;

  padding: .55rem .65rem;

  background: #fff;
  border: 1px solid rgba(92, 64, 45, .08);
  border-radius: 9px;
}

.cart-unit-row span:first-child {
  color: var(--western-text);
  font-size: .79rem;
  font-weight: 700;
}

.cart-unit-row span:last-child {
  color: var(--western-muted);
  font-size: .77rem;
}


/* =========================================================
   RESUMEN / TOTALES
   ========================================================= */

.order-totals {
  margin-top: 1rem;
  padding: 1rem;

  background:
    linear-gradient(180deg, rgba(255, 255, 255, .90), rgba(250, 247, 242, .95));

  border: 1px solid var(--western-border);
  border-radius: 18px;

  box-shadow: 0 7px 18px rgba(76, 52, 35, .035);
}

.total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;

  padding: .38rem 0;

  color: var(--western-muted);

  font-size: .88rem;
}

.total-row strong {
  color: var(--western-text);
  font-weight: 750;
}

.grand-total {
  margin-top: .55rem;
  padding-top: .82rem;

  border-top: 1px solid rgba(92, 64, 45, .11);

  font-size: 1.03rem;
}

.grand-total strong:first-child {
  color: var(--western-text-strong);
}

.grand-total strong:last-child {
  color: var(--western-brown-deep);

  font-size: 1.13rem;
  font-weight: 850;
}

.divider-soft {
  height: 1px;
  margin: .72rem 0 0;

  background: linear-gradient(90deg,
      transparent,
      rgba(199, 154, 75, .28),
      transparent);
}


/* =========================================================
   CARRITO VACÍO
   ========================================================= */

.checkout-empty {
  padding: 1.3rem 1rem;

  background:
    linear-gradient(145deg, rgba(255, 255, 255, .80), rgba(248, 241, 231, .88));

  color: var(--western-muted);

  border: 1px dashed rgba(159, 107, 60, .28);
  border-radius: 17px;

  text-align: center;

  font-size: .88rem;
  line-height: 1.55;
}


/* =========================================================
   BARRA FINAL / CONTINUAR
   ========================================================= */

.checkout-actionbar {
  position: sticky;
  bottom: 0;
  z-index: 8;

  margin-top: 1rem;
  padding: .9rem 1rem;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;

  background: rgba(255, 252, 247, .94);
  border: 1px solid rgba(92, 64, 45, .12);
  border-radius: 18px;

  box-shadow:
    0 -8px 24px rgba(76, 52, 35, .05),
    0 10px 28px rgba(76, 52, 35, .07);

  backdrop-filter: blur(12px);
}

.checkout-total-label {
  margin-bottom: .12rem;

  color: var(--western-muted);

  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.checkout-total-amount {
  color: var(--western-brown-deep);

  font-size: 1.2rem;
  font-weight: 900;
  line-height: 1.1;
}

.btn-western-primary {
  min-height: 50px;
  padding: .8rem 1.25rem;

  background:
    linear-gradient(135deg, #d6ae60 0%, #bc8739 100%);

  color: #3c2819;

  border: 1px solid rgba(104, 69, 36, .10);
  border-radius: 13px;

  font-size: .88rem;
  font-weight: 850;
  letter-spacing: .01em;

  box-shadow:
    0 12px 24px rgba(153, 103, 47, .18),
    inset 0 1px 0 rgba(255, 255, 255, .38);

  transition:
    transform .18s ease,
    box-shadow .18s ease,
    filter .18s ease;
}

.btn-western-primary:hover {
  color: #362216;
  transform: translateY(-1px);
  filter: saturate(1.04);
  box-shadow:
    0 16px 28px rgba(153, 103, 47, .22),
    inset 0 1px 0 rgba(255, 255, 255, .45);
}

.btn-western-primary:active {
  transform: translateY(0);
}

.btn-western-primary:disabled {
  opacity: .48;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}


/* =========================================================
   PRODUCTO BADGE — SI SE USA EN EL CATÁLOGO
   ========================================================= */

.producto-img {
  position: relative;
}

.producto-badge {
  position: absolute;
  top: 12px;
  right: 12px;

  min-width: 23px;
  height: 23px;
  padding: 0 7px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: linear-gradient(145deg, #d8b56c, #bd8c41);
  color: #4a301f;

  border-radius: 999px;

  font: 700 11px/23px system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  box-shadow:
    0 6px 16px rgba(94, 62, 37, .15),
    inset 0 1px 0 rgba(255, 255, 255, .40);
}


/* =========================================================
   SCROLLBAR
   ========================================================= */

* {
  scrollbar-width: thin;
  scrollbar-color: #c5a574 #eee4d6;
}

*::-webkit-scrollbar {
  width: 9px;
  height: 9px;
}

*::-webkit-scrollbar-track {
  background: #eee4d6;
  border-radius: 20px;
}

*::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #cdb07d, #af8651);
  border: 2px solid #eee4d6;
  border-radius: 20px;
}

*::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #c39b60, #9e7240);
}

*::-webkit-scrollbar-corner {
  background: transparent;
}


/* =========================================================
   RESPONSIVE — TABLET
   ========================================================= */

@media (max-width: 1199.98px) {

  .checkout-shell {
    height: calc(100vh - 72px);
  }

  .checkout-col {
    height: auto;
    overflow: visible;
  }

  .checkout-left {
    border-right: 0;
    border-bottom: 1px solid var(--western-border);
  }

  .checkout-panel {
    height: auto;
    overflow: visible;
  }

  .cart-items-list {
    max-height: none;
  }
}


/* =========================================================
   RESPONSIVE — MÓVIL
   ========================================================= */

@media (max-width: 767.98px) {

  #cartBubble {
    width: 58px;
    height: 58px;
    left: 15px;
    bottom: 15px;
  }

  #cartBubble svg {
    width: 25px;
    height: 25px;
  }

  .offcanvas-checkout .offcanvas-header {
    min-height: 64px;
    padding: 0 .95rem;
  }

  .checkout-shell {
    height: calc(100vh - 64px);
  }

  .checkout-panel,
  .checkout-left .checkout-panel {
    padding: .82rem;
  }

  .checkout-section {
    padding: .92rem;
    border-radius: 18px;
  }

  .cart-item {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: .75rem;
    padding: .82rem;
  }

  .cart-item-thumb {
    width: 58px;
    height: 58px;
    border-radius: 14px;
  }

  .cart-item-price {
    grid-column: 1 / -1;

    flex-direction: row;
    align-items: center;
    justify-content: space-between;

    width: 100%;
    min-width: 0;

    padding-top: .15rem;
  }

  .cart-item-actions {
    justify-content: stretch;
  }

  .cart-btn-action {
    flex: 1 1 100%;
    width: 100%;
  }

  .payment-box {
    padding: .85rem;
  }

  .checkout-actionbar {
    flex-direction: column;
    align-items: stretch;

    padding: .85rem;
  }

  .btn-western-primary {
    width: 100%;
  }

  .checkout-total-label,
  .checkout-total-amount {
    text-align: left;
  }
}


/* =========================================================
   ACCESIBILIDAD / MOVIMIENTO REDUCIDO
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}