/* =========================================================
   SILENCE DROP — CARRITO
========================================================= */

:root {
  --bg: #f5f0e6;
  --cream: #fffaf0;
  --cream-soft: #f3eadc;
  --text: #17140f;
  --muted: #756d61;
  --gold: #b9852f;
  --gold-light: #d8ad55;
  --gold-dark: #79551d;
  --dark: #0d0c0a;
  --border: #d4c4a6;
}


/* =========================================================
   RESET
========================================================= */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100vh;

  font-family:
    Arial,
    Helvetica,
    sans-serif;

  color: var(--text);

  background-color: var(--bg);

  background-image:
    linear-gradient(
      rgba(255, 252, 245, .04),
      rgba(255, 252, 245, .04)
    ),
    url("../assets/fondos/marmol.webp");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

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

button,
input {
  font: inherit;
}


/* =========================================================
   HEADER
========================================================= */

.cart-header {
  position: sticky;
  top: 0;

  z-index: 7000;

  width: 100%;

  background:
    linear-gradient(
      180deg,
      rgba(18, 16, 12, .99),
      rgba(12, 11, 9, .98)
    );

  border-bottom:
    1px solid
    rgba(216, 173, 85, .30);

  box-shadow:
    0 8px 28px
    rgba(0, 0, 0, .14);
}

.cart-header-inner {
  width:
    min(1380px, calc(100% - 64px));

  height: 72px;

  margin: 0 auto;

  display: grid;
  grid-template-columns:
    1fr auto 1fr;

  align-items: center;

  gap: 20px;
}


/* =========================================================
   VOLVER
========================================================= */

.cart-back {
  width: 38px;
  height: 38px;

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

  border:
    1px solid
    rgba(216, 173, 85, .20);

  border-radius: 10px;

  background:
    rgba(255, 255, 255, .03);

  color:
    var(--gold-light);

  font-size: 20px;

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

.cart-back:hover {
  transform:
    translateX(-2px);

  background:
    rgba(185, 133, 47, .08);

  border-color:
    rgba(216, 173, 85, .45);
}


/* =========================================================
   LOGO
========================================================= */

.cart-logo {
  justify-self: center;

  color:
    var(--gold-light);

  font-size: 16px;

  font-weight: 900;

  letter-spacing: 4px;
}


/* =========================================================
   ACCIONES HEADER
========================================================= */

.cart-header-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;

  gap: 16px;
}

.cart-header-icon {
  position: relative;

  width: 30px;
  height: 36px;

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

  padding: 0;

  border: 0;
  background: transparent;

  color:
    #f5efe4;

  cursor: pointer;
}

.cart-header-icon svg {
  width: 20px;
  height: 20px;

  fill: none;
  stroke: currentColor;

  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cart-header-icon:hover {
  color:
    var(--gold-light);
}


/* =========================================================
   CONTADOR FAVORITOS
========================================================= */


.header-counter {
  position: absolute;

  top: 4px;
  right: 1px;

  min-width: 15px;
  height: 15px;

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

  padding: 0 3px;

  border-radius: 999px;

  background: var(--gold);

  color: #fff;

  font-size: 7px;
  font-weight: 900;

  line-height: 1;

  z-index: 20;
}


.cart-header-icon,
.cart-header-actions,
.profile-menu-wrapper {
  overflow: visible;
}

/* =========================================================
   PERFIL DROPDOWN
========================================================= */

.profile-menu-wrapper {
  position: relative;
}

.profile-dropdown {
  position: absolute;

  top: calc(100% + 12px);
  right: 0;

  width: 190px;

  display: none;

  overflow: hidden;

  border:
    1px solid
    rgba(185, 133, 47, .28);

  border-radius: 12px;

  background:
    rgba(20, 18, 14, .98);

  box-shadow:
    0 18px 40px
    rgba(0, 0, 0, .24);
}

.profile-dropdown.active {
  display: block;
}

.profile-dropdown a,
.profile-dropdown button {
  width: 100%;

  display: flex;

  align-items: center;

  padding:
    13px 15px;

  border: 0;

  background:
    transparent;

  color:
    #f5efe4;

  cursor: pointer;

  text-align: left;

  font-size: 9px;

  font-weight: 800;

  letter-spacing: .6px;
}

.profile-dropdown a:hover,
.profile-dropdown button:hover {
  background:
    rgba(185, 133, 47, .10);

  color:
    var(--gold-light);
}


/* =========================================================
   PÁGINA
========================================================= */

.cart-page {
  width:
    min(1380px, calc(100% - 64px));

  margin:
    42px auto 80px;
}


/* =========================================================
   TÍTULO
========================================================= */

.cart-title-section {
  display: flex;

  align-items: flex-end;

  justify-content:
    space-between;

  gap: 20px;

  margin-bottom: 28px;
}

.cart-eyebrow {
  display: block;

  margin-bottom: 8px;

  color:
    var(--gold-dark);

  font-size: 9px;

  font-weight: 900;

  letter-spacing: 2px;
}

.cart-title-section h1 {
  margin: 0;

  font-size:
    clamp(34px, 4vw, 52px);

  line-height: 1;

  letter-spacing: -1.5px;
}

.cart-selected-count {
  color:
    var(--muted);

  font-size: 10px;

  font-weight: 800;

  letter-spacing: .5px;
}


/* =========================================================
   LAYOUT
========================================================= */

.cart-layout {
  display: grid;

  grid-template-columns:
    minmax(0, 1fr)
    360px;

  gap: 28px;

  align-items: start;
}


/* =========================================================
   PRODUCTOS
========================================================= */

.cart-products-section {
  min-width: 0;

  overflow: hidden;

  border:
    1px solid
    rgba(185, 133, 47, .28);

  border-radius: 20px;

  background:
    rgba(255, 251, 243, .92);

  box-shadow:
    0 18px 45px
    rgba(55, 38, 10, .09);
}

.cart-products-toolbar {
  padding:
    18px 20px;

  border-bottom:
    1px solid
    rgba(185, 133, 47, .16);
}

.select-all {
  display: inline-flex;

  align-items: center;

  gap: 9px;

  cursor: pointer;

  color:
    var(--text);

  font-size: 9px;

  font-weight: 900;

  letter-spacing: .6px;
}

.select-all input {
  accent-color:
    var(--gold);
}


/* =========================================================
   LISTA
========================================================= */

.cart-products {
  display: flex;

  flex-direction: column;
}

.cart-loading,
.cart-empty {
  min-height: 320px;

  display: flex;

  align-items: center;

  justify-content: center;

  padding: 30px;

  color:
    var(--muted);

  font-size: 10px;

  font-weight: 800;

  letter-spacing: .8px;
}


/* =========================================================
   TARJETA PRODUCTO
========================================================= */

.cart-item {
  display: grid;

  grid-template-columns:
    auto 150px minmax(0, 1fr) auto;

  gap: 18px;

  align-items: center;

  padding:
    22px 20px;

  border-bottom:
    1px solid
    rgba(185, 133, 47, .14);

  transition:
    opacity .2s ease,
    background .2s ease;
}

.cart-item:last-child {
  border-bottom: 0;
}

.cart-item.disabled {
  opacity: .48;
}

.cart-item.unavailable {
  background:
    rgba(120, 70, 60, .045);
}


/* =========================================================
   CHECK PRODUCTO
========================================================= */

.cart-item-selector input {
  width: 18px;
  height: 18px;

  accent-color:
    var(--gold);

  cursor: pointer;
}


/* =========================================================
   IMAGEN
========================================================= */

.cart-item-image {
  width: 150px;
  height: 150px;

  overflow: hidden;

  border:
    1px solid
    rgba(185, 133, 47, .22);

  border-radius: 14px;

  background:
    #11100d;
}

.cart-item-image img {
  width: 100%;
  height: 100%;

  display: block;

  object-fit: cover;
}


/* =========================================================
   INFO
========================================================= */

.cart-item-info {
  min-width: 0;
}

.cart-item-brand {
  display: block;

  margin-bottom: 7px;

  color:
    var(--gold-dark);

  font-size: 8px;

  font-weight: 900;

  letter-spacing: 1.3px;

  text-transform:
    uppercase;
}

.cart-item-name {
  margin:
    0 0 8px;

  font-size: 20px;

  line-height: 1.1;
}

.cart-item-variant {
  margin-bottom: 14px;

  color:
    var(--muted);

  font-size: 10px;

  font-weight: 700;
}

.cart-item-price {
  margin-bottom: 14px;

  color:
    var(--gold-dark);

  font-size: 18px;

  font-weight: 900;
}


/* =========================================================
   STOCK
========================================================= */

.cart-item-stock {
  width: fit-content;

  padding:
    6px 8px;

  border-radius:
    999px;

  font-size: 7px;

  font-weight: 900;

  letter-spacing: .5px;

  text-transform:
    uppercase;
}

.cart-item-stock.available {
  border:
    1px solid
    rgba(185, 133, 47, .24);

  background:
    rgba(185, 133, 47, .08);

  color:
    var(--gold-dark);
}

.cart-item-stock.low {
  border:
    1px solid
    rgba(165, 102, 24, .28);

  background:
    rgba(165, 102, 24, .10);

  color:
    #9a5c12;
}

.cart-item-stock.unavailable {
  border:
    1px solid
    rgba(150, 60, 50, .25);

  background:
    rgba(150, 60, 50, .08);

  color:
    #8d3f37;
}


/* =========================================================
   ACCIONES ITEM
========================================================= */

.cart-item-actions {
  min-width: 125px;

  display: flex;

  flex-direction: column;

  align-items: flex-end;

  gap: 14px;
}


/* =========================================================
   CANTIDAD
========================================================= */

.cart-quantity {
  display: grid;

  grid-template-columns:
    34px 42px 34px;

  overflow: hidden;

  border:
    1px solid
    var(--border);

  border-radius: 9px;

  background:
    #fffdf8;
}

.cart-quantity button {
  height: 36px;

  border: 0;

  background:
    transparent;

  cursor: pointer;

  font-size: 16px;
}

.cart-quantity button:hover {
  background:
    var(--gold);

  color:
    #fff;
}

.cart-quantity button:disabled {
  cursor: not-allowed;

  opacity: .35;

  background: transparent;

  color:
    inherit;
}

.cart-quantity span {
  display: flex;

  align-items: center;

  justify-content: center;

  border-left:
    1px solid
    var(--border);

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

  font-size: 10px;

  font-weight: 900;
}


/* =========================================================
   ELIMINAR
========================================================= */

.cart-remove {
  border: 0;

  background:
    transparent;

  color:
    #8f3b34;

  cursor: pointer;

  font-size: 8px;

  font-weight: 900;

  letter-spacing: .8px;
}

.cart-remove:hover {
  text-decoration:
    underline;
}


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

.cart-summary {
  position: sticky;

  top: 96px;

  padding:
    26px;

  border:
    1px solid
    rgba(185, 133, 47, .30);

  border-radius: 20px;

  background:
    rgba(255, 251, 243, .95);

  box-shadow:
    0 18px 50px
    rgba(55, 38, 10, .10);
}

.summary-eyebrow {
  color:
    var(--gold-dark);

  font-size: 8px;

  font-weight: 900;

  letter-spacing: 1.6px;
}

.cart-summary h2 {
  margin:
    8px 0 24px;

  font-size: 30px;
}


/* =========================================================
   CUPÓN
========================================================= */

.coupon-section {
  padding:
    16px 0;

  border-top:
    1px solid
    rgba(185, 133, 47, .15);

  border-bottom:
    1px solid
    rgba(185, 133, 47, .15);
}

.coupon-toggle {
  width: 100%;

  display: flex;

  align-items: center;

  justify-content:
    space-between;

  padding: 0;

  border: 0;

  background:
    transparent;

  cursor: pointer;

  color:
    var(--text);

  font-size: 9px;

  font-weight: 900;

  letter-spacing: .8px;
}

.coupon-form {
  display: none;

  margin-top: 14px;
}

.coupon-form.active {
  display: block;
}

.coupon-input-row {
  display: grid;

  grid-template-columns:
    minmax(0, 1fr)
    auto;

  gap: 8px;
}

.coupon-input-row input {
  min-width: 0;

  height: 42px;

  padding:
    0 12px;

  border:
    1px solid
    var(--border);

  border-radius: 9px;

  background:
    #fffdf8;

  outline: none;
}

.coupon-input-row input:focus {
  border-color:
    var(--gold);
}

.coupon-input-row button {
  padding:
    0 14px;

  border:
    1px solid
    var(--gold);

  border-radius: 9px;

  background:
    var(--gold);

  color:
    #fff;

  cursor: pointer;

  font-size: 8px;

  font-weight: 900;
}

.coupon-message {
  margin-top: 8px;

  min-height: 14px;

  font-size: 8px;

  font-weight: 800;
}


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

.summary-lines {
  padding-top: 20px;
}

.summary-line {
  display: flex;

  align-items: center;

  justify-content:
    space-between;

  gap: 14px;

  margin-bottom: 13px;

  color:
    var(--muted);

  font-size: 10px;
}

.summary-line strong {
  color:
    var(--text);
}

.discount-line {
  display: none;

  color:
    var(--gold-dark);
}

.discount-line.active {
  display: flex;
}

.summary-shipping {
  margin:
    18px 0;

  padding:
    12px;

  border-radius: 10px;

  background:
    rgba(185, 133, 47, .07);

  color:
    var(--muted);

  font-size: 9px;

  line-height: 1.5;
}

.summary-total {
  display: flex;

  align-items: center;

  justify-content:
    space-between;

  gap: 15px;

  padding-top: 18px;

  border-top:
    1px solid
    rgba(185, 133, 47, .20);
}

.summary-total span {
  font-size: 10px;

  font-weight: 900;

  letter-spacing: 1px;
}

.summary-total strong {
  color:
    var(--gold-dark);

  font-size: 27px;

  font-weight: 900;
}


/* =========================================================
   CHECKOUT
========================================================= */

.checkout-button {
  width: 100%;

  min-height: 54px;

  display: flex;

  align-items: center;

  justify-content: center;

  gap: 10px;

  margin-top: 22px;

  border:
    1px solid
    var(--gold);

  border-radius: 11px;

  background:
    linear-gradient(
      135deg,
      #17140f,
      #2a2114
    );

  color:
    var(--gold-light);

  cursor: pointer;

  font-size: 9px;

  font-weight: 900;

  letter-spacing: .9px;
}

.checkout-button:hover {
  background:
    linear-gradient(
      135deg,
      var(--gold),
      var(--gold-dark)
    );

  color:
    #fff;
}

.checkout-button:disabled {
  cursor: not-allowed;

  opacity: .40;
}

.summary-security {
  margin-top: 12px;

  color:
    var(--muted);

  text-align: center;

  font-size: 7px;

  font-weight: 700;
}


/* =========================================================
   BARRA CHECKOUT MÓVIL
========================================================= */

.mobile-cart-checkout {
  display: none;
}


/* =========================================================
   MENÚ INFERIOR
========================================================= */

.mobile-bottom-nav {
  display: none;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 950px) {

  .cart-header-inner,
  .cart-page {
    width:
      calc(100% - 40px);
  }

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

  .cart-summary {
    position: static;
  }

}


/* =========================================================
   TELÉFONO
========================================================= */

@media (max-width: 600px) {

  body {
    padding-bottom:
      calc(
        146px +
        env(safe-area-inset-bottom)
      );
  }


  /* HEADER */

  .cart-header-inner {
    width:
      calc(100% - 20px);

    height: 62px;

    grid-template-columns:
      auto 1fr auto;

    gap: 8px;
  }

  .cart-back {
    width: 36px;
    height: 36px;
  }

  .cart-logo {
    font-size: 11px;

    letter-spacing: 2.4px;
  }

  .cart-header-actions {
    gap: 10px;
  }

  .cart-header-icon {
    width: 27px;
    height: 34px;
  }

  .cart-header-icon svg {
    width: 18px;
    height: 18px;
  }


  /* PÁGINA */

  .cart-page {
    width:
      calc(100% - 20px);

    margin:
      18px auto 30px;
  }


  /* TÍTULO */

  .cart-title-section {
    align-items: flex-start;

    flex-direction: column;

    gap: 8px;

    margin-bottom: 18px;
  }

  .cart-title-section h1 {
    font-size: 30px;
  }


  /* CONTENEDOR */

  .cart-products-section {
    border-radius: 16px;
  }

  .cart-products-toolbar {
    padding:
      14px;
  }


  /* ITEM */

  .cart-item {
    grid-template-columns:
      auto 92px minmax(0, 1fr);

    gap: 10px;

    align-items: start;

    padding:
      14px 12px;
  }

  .cart-item-image {
    width: 92px;
    height: 92px;

    border-radius: 11px;
  }

  .cart-item-name {
    font-size: 14px;
  }

  .cart-item-price {
    margin-bottom: 9px;

    font-size: 14px;
  }

  .cart-item-actions {
    grid-column:
      2 / -1;

    width: 100%;

    min-width: 0;

    flex-direction: row;

    align-items: center;

    justify-content:
      space-between;

    margin-top: 4px;
  }

  .cart-quantity {
    grid-template-columns:
      32px 38px 32px;
  }


  /* RESUMEN DESKTOP */

/* =========================================
   CUPÓN EN MÓVIL
========================================= */

.cart-summary {
  display: block;

  position: static;

  margin-top: 14px;

  padding: 16px;

  border-radius: 14px;
}


/* Ocultamos todo el resumen excepto cupón */

.cart-summary > .summary-eyebrow,
.cart-summary > h2,
.cart-summary > .summary-ticket-products,
.cart-summary > .summary-lines,
.cart-summary > .checkout-button,
.cart-summary > .summary-security {
  display: none;
}


/* El cupón sí permanece visible */

.cart-summary > .coupon-section {
  display: block;

  padding: 0;

  border-top: 0;
  border-bottom: 0;
}


.cart-summary .coupon-toggle {
  min-height: 42px;
}


.cart-summary .coupon-form.active {
  display: block;
}


.cart-summary .coupon-input-row {
  display: grid;

  grid-template-columns:
    minmax(0, 1fr)
    88px;

  gap: 7px;

  width: 100%;
}


.cart-summary .coupon-input-row input {
  width: 100%;
  min-width: 0;
}


.cart-summary .coupon-input-row button {
  width: 88px;

  padding: 0 8px;
}

  /* =======================================================
     CHECKOUT FIJO MÓVIL
  ======================================================= */

  .mobile-cart-checkout {
    position: fixed;

    left: 0;
    right: 0;

    bottom:
      calc(
        68px +
        env(safe-area-inset-bottom)
      );

    z-index: 5000;

    min-height: 78px;

    display: grid;

    grid-template-columns:
      minmax(90px, .8fr)
      minmax(160px, 1.4fr);

    align-items: center;

    gap: 12px;

    padding:
      10px 14px;

    border-top:
      1px solid
      rgba(185, 133, 47, .35);

    background:
      rgba(255, 250, 240, .97);

    box-shadow:
      0 -8px 28px
      rgba(35, 25, 10, .12);

    backdrop-filter:
      blur(15px);
  }

  .mobile-cart-checkout > div {
    display: flex;

    flex-direction: column;

    gap: 4px;
  }

  .mobile-cart-checkout span {
    color:
      var(--muted);

    font-size: 7px;

    font-weight: 900;

    letter-spacing: 1px;
  }

  .mobile-cart-checkout strong {
    color:
      var(--gold-dark);

    font-size: 18px;

    font-weight: 900;
  }

  .mobile-cart-checkout button {
    min-height: 50px;

    border:
      1px solid
      var(--gold);

    border-radius: 11px;

    background:
      linear-gradient(
        135deg,
        #17140f,
        #292013
      );

    color:
      var(--gold-light);

    cursor: pointer;

    font-size: 9px;

    font-weight: 900;

    letter-spacing: .8px;
  }


  /* =======================================================
     MENÚ INFERIOR — MISMO ESTILO
  ======================================================= */

  .mobile-bottom-nav {
    position: fixed;

    left: 0;
    right: 0;
    bottom: 0;

    z-index: 6000;

    height:
      calc(
        68px +
        env(safe-area-inset-bottom)
      );

    display: grid;

    grid-template-columns:
      repeat(5, 1fr);

    align-items: center;

    padding:
      5px 7px
      env(safe-area-inset-bottom);

    border-top:
      1px solid
      rgba(185, 133, 47, .30);

    background:
      rgba(250, 246, 237, .97);

    backdrop-filter:
      blur(15px);

    box-shadow:
      0 -8px 25px
      rgba(30, 20, 5, .08);
  }

  .mobile-bottom-item {
    height: 58px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    gap: 3px;

    color:
      #28231b;

    text-decoration: none;
  }

  .mobile-bottom-item svg {
    width: 19px;
    height: 19px;

    fill: none;

    stroke:
      currentColor;

    stroke-width: 1.7;

    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .mobile-bottom-item span {
    font-size: 7px;

    font-weight: 700;
  }


  /* CARRITO CENTRAL */

  .mobile-cart-item {
    position: relative;
  }

  .mobile-cart-icon {
    position: relative;

    width: 38px;
    height: 38px;

    display: flex;

    align-items: center;

    justify-content: center;

    margin-top: -14px;

    border:
      1px solid
      rgba(185, 133, 47, .65);

    border-radius: 50%;

    background:
      #11100d;

    color:
      #d8ad55;

    box-shadow:
      0 5px 16px
      rgba(35, 25, 8, .22);
  }

  .mobile-cart-icon svg {
    width: 19px;
    height: 19px;
  }

  .mobile-cart-count {
    position: absolute;

    top: -4px;
    right: -5px;

    min-width: 17px;
    height: 17px;

    display: flex;

    align-items: center;

    justify-content: center;

    padding:
      0 4px;

    border:
      2px solid
      #faf6ed;

    border-radius:
      999px;

    background:
      #b9852f;

    color:
      #fff;

    font-size: 8px;

    font-weight: 800;
  }

}
/* =========================================================
   SILENCE DROP — DESTELLO BLANCO HOVER
========================================================= */

/*
  Elementos que tendrán el efecto
*/

.cart-back,
.cart-logo,
.cart-header-icon,
.checkout-button,
.coupon-input-row button,
.mobile-cart-checkout button {
  position: relative;
  overflow: hidden;
}


/* =========================================================
   DESTELLO
========================================================= */

.cart-back::after,
.cart-logo::after,
.cart-header-icon::after,
.checkout-button::after,
.coupon-input-row button::after,
.mobile-cart-checkout button::after {
  content: "";

  position: absolute;

  top: -70%;
  left: -80%;

  width: 35%;
  height: 240%;

  pointer-events: none;

  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(255, 255, 255, .08),
      rgba(255, 255, 255, .78),
      rgba(255, 255, 255, .08),
      transparent
    );

  transform:
    rotate(22deg);

  opacity: 0;
}


/* =========================================================
   ACTIVAR AL PASAR EL MOUSE
========================================================= */

.cart-back:hover::after,
.cart-logo:hover::after,
.cart-header-icon:hover::after,
.checkout-button:hover::after,
.coupon-input-row button:hover::after,
.mobile-cart-checkout button:hover::after {
  animation:
    silenceCartShine .65s ease forwards;
}


/* =========================================================
   ANIMACIÓN
========================================================= */

@keyframes silenceCartShine {

  0% {
    left: -80%;
    opacity: 0;
  }

  15% {
    opacity: 1;
  }

  100% {
    left: 145%;
    opacity: 0;
  }

}

/* =========================================================
   RESUMEN — TICKET DE COMPRA
========================================================= */

.summary-ticket-products {
  margin-bottom: 20px;

  padding: 6px 0 18px;

  border-bottom:
    1px dashed
    rgba(121, 85, 29, .35);
}


.ticket-product {
  padding: 13px 0;

  border-bottom:
    1px solid
    rgba(185, 133, 47, .11);
}


.ticket-product:last-child {
  border-bottom: 0;
}


.ticket-product-name {
  margin-bottom: 7px;

  color: var(--text);

  font-size: 10px;
  font-weight: 900;

  line-height: 1.3;
}


.ticket-product-detail {
  display: flex;

  align-items: center;
  justify-content: space-between;

  gap: 15px;

  color: var(--muted);

  font-size: 9px;
}


.ticket-product-detail strong {
  flex-shrink: 0;

  color: var(--text);

  font-size: 10px;
  font-weight: 900;
}


.ticket-empty {
  padding: 12px 0;

  color: var(--muted);

  font-size: 9px;

  text-align: center;
}


/* Separación tipo ticket */

.summary-lines {
  position: relative;
}


.summary-total {
  margin-top: 8px;

  border-top:
    1px dashed
    rgba(121, 85, 29, .45);
}


.coupon-message.success {
  color: #39734d;
}

.coupon-message.error {
  color: #9a4038;
}


@media (max-width: 760px) {

  .coupon-form {
    display: none;
    width: 100%;
    margin-top: 12px;
    gap: 8px;
  }

  .coupon-form.active {
    display: flex;
  }

  .coupon-form input {
    flex: 1;
    min-width: 0;
    height: 44px;
  }

  .coupon-form button {
    flex-shrink: 0;
    min-width: 90px;
    height: 44px;
  }

  .coupon-message {
    width: 100%;
    margin-top: 8px;
  }

}