:root {
  --ink: #20201f;
  --muted: #777773;
  --accent: #C98213;
  --paper: #fff;
  --line: #e9e8e5;
  --soft: #F3F0E9;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "DM Sans", sans-serif;
  color: var(--ink);
  margin: 0;
  background: var(--paper);
}
a {
  color: inherit;
  text-decoration: none;
}
.announcement {
  text-align: center;
  background: #20201f;
  color: #fff;
  font-size: 0.67rem;
  letter-spacing: 0.15em;
  padding: 9px 12px;
}
.site-header {
  position: relative;
  z-index: 10;
  background: #fff;
  border-bottom: 1px solid #f0f0ed;
}
.navbar {
  min-height: 82px;
}
.navbar-brand {
  font-size: 1.25rem;
  letter-spacing: -0.045em;
  color: var(--ink) !important;
  white-space: nowrap;
}
.navbar-brand strong {
  font-weight: 800;
}
.nav-link {
  font-size: 0.88rem;
  color: #333 !important;
  padding: 0.65rem 0.85rem !important;
}
.nav-link.active,
.nav-link:hover {
  color: var(--accent) !important;
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 19px;
}
.icon-button {
  border: 0;
  background: none;
  font-size: 1.25rem;
  position: relative;
  padding: 5px;
  color: #222;
}
.counter {
  position: absolute;
  top: -3px;
  right: -7px;
  background: var(--accent);
  color: #fff;
  border-radius: 2px;
  font-size: 0.6rem;
  min-width: 15px;
  height: 15px;
  display: grid;
  place-items: center;
}
.search-bar {
  display: none;
  padding-bottom: 15px;
  gap: 10px;
}
.search-bar.show {
  display: flex;
}
.search-bar .form-control {
  max-width: 440px;
  margin-left: auto;
}
.hero {
  position: relative;
  min-height: 590px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #dfe1e2;
}
.hero-image {
  position: absolute;
  inset: 0 0 0 39%;
  background-image:
    linear-gradient(
      90deg,
      #dfe1e2 0%,
      rgba(223, 225, 226, 0.1) 25%,
      transparent 45%
    ),
    url("/img/Logo\ Arissa.jpg");
  background-size: cover;
  background-position: center 35%;
}
.hero-copy {
  position: relative;
  z-index: 1;
  padding: 65px 0 65px clamp(28px, 6.3vw, 100px);
  max-width: 780px;
}
.eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  font-weight: 700;
  color: #777;
  margin: 0 0 17px;
}
.hero h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(3.3rem, 6.1vw, 6.2rem);
  line-height: 0.99;
  letter-spacing: -0.055em;
  margin: 0 0 25px;
  font-weight: 800;
}
.hero h1 span {
  white-space: nowrap;
}
.hero-description {
  color: #575957;
  margin-bottom: 28px;
  font-size: 1rem;
}
.btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  padding: 13px 25px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}
.btn-primary:hover {
  background: #A96B0D;
  border-color: #A96B0D;
}
.hero-index {
  position: absolute;
  bottom: 24px;
  right: 5%;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
}
.hero-index span {
  color: #999;
  margin: 0 7px;
}
.benefits {
  display: flex;
  justify-content: space-around;
  gap: 24px;
  padding-top: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--line);
}
.benefits > div {
  display: flex;
  gap: 13px;
  align-items: center;
}
.benefits i {
  font-size: 1.5rem;
  color: #666;
}
.benefits span {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.benefits strong {
  font-size: 0.78rem;
}
.benefits small {
  font-size: 0.7rem;
  color: var(--muted);
}
.products-section {
  padding-top: 82px;
  padding-bottom: 90px;
}
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 35px;
}
.section-heading h2,
.editorial h2 {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  letter-spacing: -0.04em;
  font-size: clamp(2rem, 4vw, 3.1rem);
  margin: 0;
}
.text-link {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  font-weight: 700;
  border-bottom: 1px solid #aaa;
  padding-bottom: 5px;
}
.text-link i {
  margin-left: 8px;
}
.product-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
}
.category-tabs {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.category-tab {
  border: 0;
  background: none;
  padding: 6px 0;
  color: #888;
  font-size: 0.86rem;
  border-bottom: 1px solid transparent;
}
.category-tab.active,
.category-tab:hover {
  color: #222;
  border-color: #222;
}
.sort-label {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #777;
  font-size: 0.75rem;
  white-space: nowrap;
}
.sort-label select {
  width: 135px;
  border-radius: 0;
  border-color: var(--line);
}
.product-card {
  height: 100%;
  position: relative;
}
.product-image-wrap {
  position: relative;
  overflow: hidden;
  background: var(--soft);
  aspect-ratio: 3/4;
}
.product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.product-card:hover .product-image {
  transform: scale(1.035);
}
.product-badge {
  position: absolute;
  left: 12px;
  top: 12px;
  background: #fff;
  padding: 5px 8px;
  font-size: 0.62rem;
  letter-spacing: 0.05em;
}
.product-actions {
  position: absolute;
  right: 12px;
  top: 12px;
  display: grid;
  gap: 8px;
}
.product-actions button {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 2px 12px #0000000a;
}
.product-actions button:hover,
.product-actions button.is-favorite {
  color: #d44d70;
}
.quick-view {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  border: 0;
  background: #fff;
  padding: 11px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  transform: translateY(150%);
  transition: transform 0.25s;
}
.product-card:hover .quick-view {
  transform: translateY(0);
}
.product-info {
  padding: 15px 0 5px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
.product-name {
  font-size: 0.87rem;
  margin: 0 0 5px;
}
.product-category {
  font-size: 0.72rem;
  color: #8a8a85;
}
.product-price {
  font-size: 0.86rem;
  font-weight: 700;
  white-space: nowrap;
}
.empty-state {
  text-align: center;
  padding: 50px;
  color: var(--muted);
}
.editorial {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  background: #f2f1ed;
  min-height: 430px;
  margin-bottom: 85px;
}
.editorial-image {
  min-height: 430px;
  background: url("https://images.unsplash.com/photo-1483985988355-763728e1935b?auto=format&fit=crop&w=1200&q=85")
    center 35% / cover;
}
.editorial-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(30px, 6vw, 85px);
}
.editorial-copy h2 {
  font-size: clamp(2.7rem, 5vw, 4.5rem);
  line-height: 1.05;
}
.editorial-copy > p:not(.eyebrow) {
  color: #696964;
  max-width: 350px;
  line-height: 1.8;
  margin: 22px 0 28px;
}
.site-footer {
  padding-top: 45px;
  padding-bottom: 30px;
  border-top: 1px solid var(--line);
  text-align: center;
}
.site-footer p {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 12px 0;
}
.socials {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 20px 0;
}
.socials a {
  font-size: 1.1rem;
}
.site-footer small {
  font-size: 0.68rem;
  color: #999;
}
.cart-total {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  margin-top: 20px;
}
.cart-line {
  display: flex;
  gap: 12px;
  margin: 15px 0;
}
.cart-line img {
  width: 68px;
  height: 85px;
  object-fit: cover;
}
.cart-line-info {
  flex: 1;
}
.cart-line-info strong {
  font-size: 0.85rem;
  display: block;
}
.cart-line-info small {
  color: var(--muted);
}
.cart-line button {
  border: 0;
  background: none;
  color: #888;
}
.modal-product-img {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
}
.modal-product-copy {
  padding: 20px 15px;
}
.modal-product-copy h3 {
  font-family: "Playfair Display", serif;
}
.modal-product-copy .price {
  font-weight: 700;
  font-size: 1.2rem;
  margin: 12px 0;
}
.modal-product-copy p {
  color: #777;
  line-height: 1.8;
}
.modal-product-copy select {
  margin: 18px 0;
}
.toast-note {
  position: fixed;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  background: #222;
  color: white;
  padding: 12px 18px;
  z-index: 2000;
  font-size: 0.8rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
.toast-note.show {
  opacity: 1;
}
@media (max-width: 991px) {
  .navbar {
    padding-top: 15px;
    padding-bottom: 15px;
  }
  .nav-actions {
    padding: 15px 0;
  }
  .hero {
    min-height: 530px;
  }
  .hero-image {
    left: 30%;
    opacity: 0.8;
  }
  .hero-copy {
    max-width: 650px;
  }
  .hero h1 {
    font-size: clamp(3rem, 8vw, 5rem);
  }
  .benefits {
    justify-content: space-between;
  }
  .benefits small {
    max-width: 150px;
  }
  .nav-link {
    padding-left: 0 !important;
  }
  .navbar-collapse {
    padding-top: 10px;
  }
}
@media (max-width: 767px) {
  .hero {
    min-height: 650px;
    align-items: flex-end;
    background: #dfe1e2;
  }

  .hero-image {
    inset: 0 0 230px 0;
    opacity: 1;
    background-image: url("/img/Logo%20Arissa.jpg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
  }

  .hero-copy {
    width: 100%;
    padding: 30px 24px 45px;
  }

  .hero h1 {
    font-size: clamp(2.8rem, 12vw, 4rem);
    line-height: 1;
  }

  .hero h1 span {
    white-space: normal;
  }

  .hero-description {
    max-width: 270px;
  }
}
  .benefits {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    padding-top: 25px;
    padding-bottom: 25px;
  }
  .products-section {
    padding-top: 55px;
    padding-bottom: 55px;
  }
  .section-heading {
    align-items: flex-end;
  }
  .section-heading h2 {
    font-size: 2.1rem;
  }
  .product-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }
  .category-tabs {
    gap: 17px;
  }
  .sort-label {
    align-self: flex-end;
  }
  .product-grid {
    --bs-gutter-x: 1rem;
    --bs-gutter-y: 1.5rem;
  }
  .product-name {
    font-size: 0.78rem;
  }
  .product-price {
    font-size: 0.78rem;
  }
  .product-info {
    flex-direction: column;
    gap: 2px;
  }
  .product-actions {
    right: 8px;
    top: 8px;
  }
  .product-actions button {
    width: 30px;
    height: 30px;
  }
  .quick-view {
    transform: none;
    bottom: 8px;
    left: 8px;
    right: 8px;
    padding: 8px;
    font-size: 0.63rem;
  }
  .editorial {
    grid-template-columns: 1fr;
    margin-bottom: 55px;
  }
  .editorial-image {
    min-height: 300px;
  }
  .editorial-copy {
    padding: 35px 25px 42px;
  }
  .site-footer {
    padding-top: 35px;
  }
  .sort-label select {
    width: 125px;
  }



/* ===== CORRECCIONES RESPONSIVE ===== */

/* Evitar desbordamientos horizontales */
html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

.main-content,
.page-container,
.catalog-card {
  min-width: 0;
  max-width: 100%;
}

img {
  max-width: 100%;
}

/* Tablets */
@media (max-width: 991px) {
  .page-container {
    padding: 28px 20px;
  }

  .topbar {
    padding: 0 20px;
  }

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

  .toolbar {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .search-box {
    grid-column: 1 / -1;
  }

  .toolbar .form-select {
    width: 100%;
    min-width: 0;
  }

  /* En tablet, la tabla conserva su ancho y permite
     desplazamiento horizontal dentro de su contenedor */
  .catalog-card .table-responsive {
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

/* Celulares */
@media (max-width: 576px) {
  .topbar {
    min-height: 62px;
    padding: 0 12px;
    gap: 10px;
  }

  .breadcrumb-text {
    min-width: 0;
    gap: 6px;
    font-size: 10px;
  }

  .breadcrumb-text span {
    display: none;
  }

  .btn-store {
    flex-shrink: 0;
    padding: 8px 10px;
  }

  .page-container {
    padding: 24px 12px;
  }

  .page-heading {
    gap: 16px;
    margin-bottom: 22px;
  }

  .page-heading h1 {
    font-size: 27px;
  }

  .subtitle {
    font-size: 12px;
    line-height: 1.5;
  }

  .page-heading .btn-primary-custom {
    width: 100%;
    min-height: 44px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    margin-bottom: 20px;
  }

  .stat-card {
    min-width: 0;
    min-height: 82px;
    padding: 11px 9px;
    gap: 8px;
  }

  .stat-icon {
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    font-size: 14px;
  }

  .stat-card span {
    font-size: 10px;
    line-height: 1.3;
  }

  .stat-card strong {
    font-size: 19px;
  }

  .catalog-heading {
    padding: 19px 14px 15px;
  }

  .catalog-heading h2 {
    font-size: 15px;
  }

  .catalog-heading p {
    font-size: 11px;
    line-height: 1.5;
  }

  .toolbar {
    display: flex;
    flex-direction: column;
    padding: 0 14px 16px;
    gap: 9px;
  }

  .search-box {
    flex: auto;
    width: 100%;
  }

  .toolbar .form-select {
    width: 100%;
    min-height: 42px;
  }

  /* No comprimir las columnas: desplazarse dentro de la tabla */
  .catalog-card .table-responsive {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
  }

  .product-table {
    min-width: 700px;
  }

  .product-table thead th {
    font-size: 9px;
    padding: 12px;
  }

  .product-table tbody td {
    padding: 12px;
  }

  .product-cell {
    min-width: 185px;
    gap: 9px;
  }

  .product-thumb {
    width: 42px;
    height: 50px;
    flex-basis: 42px;
  }

  .product-cell strong {
    font-size: 11px;
  }

  .table-footer {
    padding: 14px;
  }

/* Mejorar el desplazamiento en celulares */
#productModal .modal-content {
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}

  /* Modal: utilizar casi todo el ancho del celular */
  /* El modal puede desplazarse si su contenido es largo */
#productModal .modal-dialog {
    margin: 1rem auto;
}

#productModal .modal-content {
    max-height: calc(100vh - 2rem);
    overflow-y: auto;
}

/* Evita que el contenido del fondo se desplace */
body.modal-open {
    overflow: hidden !important;
}
  #productModal .modal-dialog {
    margin: 10px;
    max-width: none;
    width: auto;
  }

  #productModal .modal-content {
    border-radius: 10px;
  }

  .admin-modal .modal-header,
  .admin-modal .modal-body {
    padding: 19px 15px;
  }

  .admin-modal .modal-footer {
    padding: 13px 15px;
    gap: 8px;
  }

  .admin-modal .modal-footer > button {
    flex: 1;
  }

  .admin-modal .modal-title {
    font-size: 19px;
  }

  .form-section h3 {
    font-size: 13px;
  }

  #deleteModal .modal-dialog {
    margin: 16px;
  }
}

/* Celulares muy pequeños */
@media (max-width: 360px) {
  .page-heading h1 {
    font-size: 24px;
  }

  .stats-grid {
    gap: 7px;
  }

  .stat-card {
    padding: 9px 7px;
    gap: 6px;
  }

  .stat-icon {
    flex-basis: 26px;
    width: 26px;
    height: 26px;
  }

  .stat-card strong {
    font-size: 17px;
  }
}

/* Sección de descripción del producto */
.descripcion-producto {
    margin: 25px 0 0 20px;
    padding: 20px 24px;
    max-width: 600px;
    border-top: 1px solid #e9e8e5;
    color: #777;
    font-size: 14px;
    line-height: 1.7;
}

.descripcion-producto h3 {
    font-family: "Playfair Display", serif;
    font-size: 22px;
    font-weight: 500;
    color: #222;
    margin-bottom: 10px;
}

.descripcion-producto p {
    margin: 0;
}
/* ===== MODAL DE PRODUCTO: SCROLL CORRECTO ===== */

/* Bloquear el desplazamiento del fondo */
body.modal-open {
    overflow: hidden !important;
}

/* El modal ocupa como máximo la altura de la pantalla */
#productModal .modal-dialog {
    max-height: calc(100vh - 2rem);
}

/* El contenido del modal es el que se desplaza */
#productModal .modal-content {
    max-height: calc(100vh - 2rem);
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}

/* Mantener visible el botón de cerrar */
#productModal .modal-header {
    position: sticky;
    top: 0;
    z-index: 5;
    background: #fff;
}

/*CORRECIONES?*/

/* Más espacio lateral en celulares */
@media (max-width: 767.98px) {
  .benefits,
  .products-section,
  .site-footer {
    padding-left: 20px;
    padding-right: 20px;
  }

  /* Separar las tarjetas de productos de los bordes */
  .product-grid {
    margin-left: -8px;
    margin-right: -8px;
  }

  /* Mantener el contenido editorial cómodo de leer */
  .editorial-copy {
    padding-left: 24px;
    padding-right: 24px;
  }

  /* Dar aire al encabezado y a la búsqueda */
  .navbar,
  .search-bar {
    padding-left: 16px;
    padding-right: 16px;
  }
}


/* =================================
   SECCIÓN SOBRE NOSOTROS - ARISSA
================================= */

.editorial {
    display: block;
    width: 100%;
    max-width: none;
    background: #f2f1ed;
    min-height: 430px;
    margin-bottom: 85px;
    padding: 70px 8%;
}

.editorial-content {
    display: grid;
    grid-template-columns: minmax(220px, 0.75fr) minmax(0, 1.6fr);
    align-items: center;
    gap: clamp(40px, 8vw, 120px);

    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
}

.editorial-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;

    width: 100%;
    min-width: 0;
    padding: 0;
}

.editorial-copy h2 {
    font-family: "Playfair Display", serif;
    font-size: clamp(2.7rem, 5vw, 4.5rem);
    line-height: 1.05;
    letter-spacing: -0.04em;
    margin: 0 0 25px;
}

.editorial-description {
    width: 100%;
    max-width: none;
    min-width: 0;
}

.editorial-description p {
    width: 100%;
    max-width: none;
    color: #696964;
    font-size: 1rem;
    line-height: 1.9;
    margin: 0 0 18px;
}

.editorial-description p:last-child {
    margin-bottom: 0;
}

/* Tablets */
@media (max-width: 991px) {
    .editorial {
        padding: 55px 5%;
    }

    .editorial-content {
        grid-template-columns: 0.8fr 1.2fr;
        gap: 40px;
    }
}

/* Celulares */
@media (max-width: 767px) {
    .editorial {
        padding: 40px 24px;
        margin-bottom: 55px;
    }

    .editorial-content {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .editorial-copy {
        padding: 0;
    }

    .editorial-copy h2 {
        font-size: 3rem;
    }

    .editorial-description p {
        font-size: 0.95rem;
        line-height: 1.8;
    }
}
/* Botón de carrito deshabilitado */
#btnAgregarCarrito:disabled {
    background-color: #d1d1d1 !important;
    border-color: #d1d1d1 !important;
    color: #777 !important;
    cursor: not-allowed;
    opacity: 1;
}

/* Botón habilitado */
#btnAgregarCarrito:not(:disabled) {
    background-color: var(--accent);
    border-color: var(--accent);
    color: white;
}

/* Transición de imágenes del producto */
#imagenDetalleProducto {
    opacity: 1;
    transition: opacity 0.3s ease-in-out;
}

#imagenDetalleProducto.cambiando {
    opacity: 0;
}


/* =================================
   CHECKOUT MODAL - ARISSA
================================= */

.checkout-dialog {
    max-width: 480px;
}

.checkout-content {
    border: 1px solid #e9e8e5;
    border-radius: 3px;
    overflow: hidden;
    background: #fff;
}

.checkout-header {
    padding: 27px 30px 20px;
    border-bottom: 1px solid var(--line);
    background: #fff;
}

.checkout-eyebrow {
    font-size: 0.62rem;
    letter-spacing: 0.2em;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 8px;
}

.checkout-header .modal-title {
    font-family: "Playfair Display", serif;
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -0.04em;
    color: var(--ink);
}

.checkout-body {
    padding: 25px 30px 30px;
}

.checkout-description {
    color: var(--muted);
    font-size: 0.85rem;
    line-height: 1.7;
    margin-bottom: 25px;
}

.checkout-field .form-label {
    font-size: 0.76rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 8px;
}

.checkout-field .form-control {
    border: 1px solid var(--line);
    border-radius: 0;
    padding: 12px 14px;
    font-family: "DM Sans", sans-serif;
    font-size: 0.85rem;
    color: var(--ink);
    box-shadow: none;
    transition: border-color 0.2s;
}

.checkout-field .form-control::placeholder {
    color: #aaa;
}

.checkout-field .form-control:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 2px rgba(201, 130, 19, 0.10);
}

.checkout-submit {
    background: var(--accent);
    border: 1px solid var(--accent);
    border-radius: 0;
    color: #fff;
    padding: 14px 20px;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: background 0.2s, border-color 0.2s;
}

.checkout-submit:hover {
    background: #A96B0D;
    border-color: #A96B0D;
    color: #fff;
}

.checkout-submit:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

.checkout-footer-text {
    text-align: center;
    font-size: 0.7rem;
    color: #999;
    margin: 18px 0 0;
}

/* Responsive */
@media (max-width: 576px) {
    .checkout-dialog {
        margin: 12px;
    }

    .checkout-header {
        padding: 23px 20px 17px;
    }

    .checkout-header .modal-title {
        font-size: 1.55rem;
    }

    .checkout-body {
        padding: 22px 20px 25px;
    }
}


/* Buscador debajo de la navegación */
.search-bar {
    width: 100%;
    display: none;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    padding-top: 14px;
    padding-bottom: 18px;
    border-top: 1px solid var(--line);
}

.search-bar.show {
    display: flex;
}

.search-bar .form-control {
    max-width: 440px;
    margin-left: 0;
    border-radius: 0;
    border-color: var(--line);
    padding: 10px 13px;
    box-shadow: none;
}

.search-bar .form-control:focus {
    border-color: var(--accent);
}

.search-bar .btn {
    background: var(--accent);
    border-color: var(--accent);
    border-radius: 0;
    padding: 10px 20px;
}

.search-bar .btn:hover {
    background: #A96B0D;
    border-color: #A96B0D;
}

@media (max-width: 576px) {
    .search-bar {
        padding: 12px 16px 15px;
    }

    .search-bar .form-control {
        min-width: 0;
        flex: 1;
    }
}
/* Validaciones personalizadas del checkout */

.checkout-field .invalid-feedback {
    color: #b54747;
    font-family: "DM Sans", sans-serif;
    font-size: 0.73rem;
    margin-top: 7px;
}

.checkout-field .form-control.is-invalid {
    border-color: #c76b6b;
    background-image: none;
    box-shadow: 0 0 0 2px rgba(199, 107, 107, 0.08);
}

.checkout-field .form-control.is-invalid:focus {
    border-color: #b54747;
    box-shadow: 0 0 0 2px rgba(199, 107, 107, 0.12);
}
/* Selector de colores */
.selector-colores {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.color-option {
  padding: 10px 18px;
  border: 1px solid #dedbd5;
  border-radius: 3px;
  background: #fff;
  color: #555;
  font-family: "DM Sans", sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all 0.2s ease;
}

.color-option:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.color-option.selected {
  border: 1px solid var(--accent);
  background: #fbf6ed;
  color: #A96B0D;
  box-shadow: 0 0 0 1px var(--accent);
}
/* Selector de talles */
#selectorTalle {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
  padding: 0;
  border: none;
  background: transparent;
}

.talle-option {
  min-width: 48px;
  height: 43px;
  padding: 0 15px;
  border: 1px solid #dedbd5;
  border-radius: 3px;
  background: #fff;
  color: #555;
  font-family: "DM Sans", sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.talle-option:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.talle-option.selected {
  border: 1px solid var(--accent);
  background: #fbf6ed;
  color: #A96B0D;
  box-shadow: 0 0 0 1px var(--accent);
}

.talle-option:disabled {
  color: #b8b8b8;
  background: #f7f7f7;
  text-decoration: line-through;
  cursor: not-allowed;
}

.stock-info {
  margin-top: 18px !important;
}