/* ═══════════════════════════════════════════════════
   KALMAR — tienda.css
   Estilos de la sección Tienda (homepage).
   Usa variables de variables.css. No depende de kalmar-responsive.css.
   ─────────────────────────────────────────────────── */

/* ══════════════════════════════════════════
   SECCIÓN WRAPPER
══════════════════════════════════════════ */
.section.tienda {
    padding: var(--section-pad) 0;
    background: var(--color-white);
}

/* ══════════════════════════════════════════
   HEADER DE LA SECCIÓN
══════════════════════════════════════════ */
.tienda-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3.5rem;
    gap: var(--space-6);
    flex-wrap: wrap;
}

/* ══════════════════════════════════════════
   GRID DE PRODUCTOS
══════════════════════════════════════════ */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--color-azul-15);
    margin-bottom: var(--space-12);
}

/* ══════════════════════════════════════════
   TARJETA DE PRODUCTO
══════════════════════════════════════════ */
.product-card {
    background: var(--color-white);
    padding: 2rem 1.8rem;
    position: relative;
    transition: transform var(--transition-slow),
        box-shadow var(--transition-slow),
        background var(--transition-base),
        border-color var(--transition-base);
    cursor: pointer;
    overflow: hidden;
    border: 1px solid transparent;
    display: flex;
    flex-direction: column;
}

/* Barra inferior terra al hover */
.product-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--color-terra);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-slow);
}

.product-card:hover {
    background: var(--color-gray);
    border-color: var(--color-azul-15);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 61, 85, 0.1);
}

.product-card:hover::after {
    transform: scaleX(1);
}

/* ══════════════════════════════════════════
   BADGE DE DESCUENTO — loop y ficha
══════════════════════════════════════════ */
.product-badge--discount {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-gotham);
    font-weight: var(--fw-bold);
    font-size: var(--fs-base);
    letter-spacing: 0;
    text-transform: uppercase;
    background: #c0392b;
    color: #fff;
    pointer-events: none;
    z-index: 2;
    line-height: 1.1;
    text-align: center;
}

.kalmar-discount-badge {
    display: inline-block;
    font-family: var(--font-gotham);
    font-weight: var(--fw-bold);
    font-size: var(--fs-sm);
    letter-spacing: var(--ls-wide);
    text-transform: uppercase;
    padding: 0.2rem 0.7rem;
    background: var(--color-coral, #D36A4D);
    color: #fff;
    margin-bottom: var(--space-4);
}

/* ══════════════════════════════════════════
   BADGE DE CATEGORÍA
══════════════════════════════════════════ */
.product-badge {
    font-family: var(--font-gotham);
    font-weight: var(--fw-medium);
    font-size: var(--fs-xs);
    letter-spacing: var(--ls-wide);
    text-transform: uppercase;
    padding: 0.25rem 0.7rem;
    background: var(--color-azul-10);
    color: var(--color-azul);
    border: 1px solid var(--color-azul-20);
    display: inline-block;
    margin-bottom: var(--space-6);
    align-self: flex-start;
}

/* ══════════════════════════════════════════
   VISUAL / IMAGEN DEL PRODUCTO
══════════════════════════════════════════ */
.product-visual {
    position: relative;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-6);
    text-decoration: none;
    flex-shrink: 0;
}

.product-visual .product-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transition: transform var(--transition-slow);
}

.product-card:hover .product-img {
    transform: translateY(-6px) scale(1.02);
}

.product-visual .bottle-svg {
    transition: transform var(--transition-slow);
}

.product-card:hover .bottle-svg {
    transform: translateY(-8px);
}

/* ══════════════════════════════════════════
   NOMBRE Y DESCRIPCIÓN
══════════════════════════════════════════ */
.product-name {
    font-family: var(--font-gotham);
    font-weight: var(--fw-bold);
    font-size: var(--fs-md);
    letter-spacing: var(--ls-tight);
    text-transform: uppercase;
    color: var(--color-azul);
    margin-bottom: var(--space-3);
    line-height: var(--lh-snug);
    text-decoration: none;
}

.product-desc {
    font-family: var(--font-gotham);
    font-weight: var(--fw-light);
    font-size: var(--fs-base);
    line-height: var(--lh-relaxed);
    color: var(--color-text-mid);
    margin-bottom: var(--space-4);
    flex-grow: 1;
}

/* ══════════════════════════════════════════
   SPECS TÉCNICAS (atributos breves en card)
══════════════════════════════════════════ */
.product-specs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: var(--color-azul-10);
    margin-bottom: var(--space-4);
}

.product-spec {
    background: var(--color-white);
    padding: 0.55rem 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.product-spec__label {
    font-family: var(--font-gotham);
    font-weight: var(--fw-medium);
    font-size: 0.52rem;
    letter-spacing: var(--ls-wider);
    text-transform: uppercase;
    color: var(--color-text-muted);
}

.product-spec__value {
    font-family: var(--font-gotham);
    font-weight: var(--fw-bold);
    font-size: var(--fs-xs);
    color: var(--color-azul);
    line-height: var(--lh-snug);
}

/* ══════════════════════════════════════════
   NOTAS / TAGS DE GARANTÍA
══════════════════════════════════════════ */
.product-notes {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: var(--space-4);
}

.product-notes__item {
    font-family: var(--font-gotham);
    font-weight: var(--fw-medium);
    font-size: 0.5rem;
    letter-spacing: var(--ls-wide);
    text-transform: uppercase;
    color: var(--color-terra);
    border: 1px solid var(--color-terra-30);
    padding: 0.2rem 0.55rem;
    white-space: nowrap;
}

/* ══════════════════════════════════════════
   FOOTER DE LA TARJETA (PRECIO + ACCIÓN)
══════════════════════════════════════════ */
.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--color-azul-10);
    padding-top: var(--space-4);
    margin-top: auto;
    gap: var(--space-3);
}

.product-price {
    font-family: var(--font-gentium);
    font-weight: var(--fw-bold);
    color: var(--color-terra);
    line-height: 1;
    font-size: 1.1rem;
}

/* WooCommerce inyecta <bdi> y <span> en price_html */
.product-price .woocommerce-Price-currencySymbol {
    font-size: var(--fs-md);
    font-weight: var(--fw-bold);
    opacity: 0.8;
    margin-right: 0.1em;
}

.product-price del {
    opacity: 0.45;
    font-size: var(--fs-sm);
}

.product-price ins {
    text-decoration: none;
}

/* ══════════════════════════════════════════
   BOTÓN AGREGAR AL CARRITO
══════════════════════════════════════════ */
.btn-cart {
    background: var(--color-azul);
    color: var(--color-white);
    border: none;
    padding: 0.55rem 1rem;
    font-family: var(--font-gotham);
    font-weight: var(--fw-bold);
    font-size: var(--fs-xs);
    letter-spacing: var(--ls-wider);
    text-transform: uppercase;
    cursor: pointer;
    transition: background var(--transition-base),
        transform var(--transition-base);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    flex-shrink: 0;
}

.btn-cart:hover {
    background: var(--color-terra);
    color: var(--color-white);
    transform: translateY(-2px);
}

/* ══════════════════════════════════════════
   FILA DE ENVÍO / BENEFICIOS
══════════════════════════════════════════ */
.shipping-row {
    display: flex;
    gap: 3rem;
    padding-top: var(--space-8);
    border-top: 1px solid var(--color-azul-10);
    flex-wrap: wrap;
}

.ship-item {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    flex: 1;
    min-width: 160px;
}

.ship-icon {
    font-size: 1.4rem;
    flex-shrink: 0;
}

.ship-title {
    font-family: var(--font-gotham);
    font-weight: var(--fw-medium);
    font-size: var(--fs-xs);
    letter-spacing: var(--ls-wide);
    text-transform: uppercase;
    color: var(--color-terra);
    margin-bottom: 0.2rem;
}

.ship-desc {
    font-family: var(--font-gotham);
    font-weight: var(--fw-light);
    font-size: var(--fs-base);
    color: var(--color-text-muted);
    line-height: var(--lh-snug);
}

/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */
@media (max-width: 1100px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tienda-header {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-6);
        margin-bottom: var(--space-8);
    }

    .shipping-row {
        gap: var(--space-8);
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
}
/* ─── migrado de kalmar-responsive.css: TIENDA ─── */
/* ══ TIENDA ══ */
.tienda {
  background: var(--cream);
}

.tienda-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3.5rem;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(0, 61, 85, 0.08);
}

.product-card {
  background: var(--white);
  padding: 2rem 1.8rem;
  position: relative;
  transition: all 0.3s;
  cursor: pointer;
  overflow: hidden;
  border: 1px solid transparent;
}

.product-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--terra);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}

.product-card:hover {
  background: var(--cream);
  border-color: rgba(0, 61, 85, 0.08);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 61, 85, 0.1);
}

.product-card:hover::after {
  transform: scaleX(1);
}

.product-badge {
  font-family: 'Gotham', sans-serif;
  font-weight: 500;
  font-size: 0.52rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.25rem 0.7rem;
  background: rgba(0, 61, 85, 0.06);
  color: var(--azul);
  border: 1px solid rgba(0, 61, 85, 0.15);
  display: inline-block;
  margin-bottom: 1.5rem;
}

.product-visual {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.bottle-svg {
  transition: transform 0.4s;
}

.product-card:hover .bottle-svg {
  transform: translateY(-8px);
}

.product-type {
  font-family: 'Gentium', serif;
  font-style: italic;
  font-size: 0.88rem;
  color: var(--terra);
  margin-bottom: 0.8rem;
}

.product-desc {
  font-family: 'Gotham', sans-serif;
  font-weight: 300;
  font-size: 0.78rem;
  line-height: 1.7;
  color: var(--text-mid);
  margin-bottom: 1.2rem;
}

.product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(0, 61, 85, 0.08);
  padding-top: 1rem;
}


.btn-cart {
  background: var(--azul);
  color: #fff;
  border: none;
  padding: 0.5rem 0.9rem;
  font-family: 'Gotham', sans-serif;
  font-weight: 700;
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-cart:hover {
  background: var(--terra);
}

.shipping-row {
  display: flex;
  gap: 3rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(0, 61, 85, 0.08);
}

.ship-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.ship-icon {
  font-size: 1.2rem;
}

.ship-title {
  font-family: 'Gotham', sans-serif;
  font-weight: 500;
  font-size: 0.62rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--terra);
}

.ship-desc {
  font-family: 'Gotham', sans-serif;
  font-weight: 300;
  font-size: 0.78rem;
  color: rgba(0, 0, 0, 0.35);
}

/* ═══════════════════════════════════════════════════
   TIENDA — PRÓXIMAMENTE
   Paleta: azul (80%) + terra (20%) — SECTION COLOR MAP
   ─────────────────────────────────────────────────── */

.tienda-pronto {
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: center;
    background: var(--color-azul-dark);
    overflow: hidden;
}

/* Background image */
.tienda-pronto__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.tienda-pronto__bg picture,
.tienda-pronto__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Overlay — azul 75% */
.tienda-pronto__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        135deg,
        rgba(0, 36, 56, 0.92) 0%,
        rgba(0, 61, 85, 0.80) 60%,
        var(--color-azul) 100%
    );
}

/* Container */
.tienda-pronto__container {
    position: relative;
    z-index: 2;
    padding-top: calc(var(--nav-height) + 4rem);
    padding-bottom: 4rem;
}

.tienda-pronto__inner {
    max-width: 680px;
}

/* Label */
.tienda-pronto .kalmar-label {
    margin-bottom: var(--space-8);
}

/* Título */
.tienda-pronto__titulo {
    font-family: var(--font-bn-nord);
    font-size: clamp(3rem, 7vw, 6rem);
    font-weight: var(--fw-regular);
    line-height: var(--lh-tight);
    color: var(--color-white);
    margin-bottom: var(--space-6);
    letter-spacing: var(--ls-tight);
}

.tienda-pronto__titulo em {
    font-style: italic;
    color: var(--color-terra);
}

/* Subtítulo */
.tienda-pronto__subtitulo {
    font-family: var(--font-gotham);
    font-size: var(--fs-md);
    font-weight: var(--fw-light);
    line-height: var(--lh-relaxed);
    color: var(--color-white-70);
    margin-bottom: var(--space-12);
    max-width: 520px;
}

/* Beneficio chip */
.tienda-pronto__beneficio {
    display: flex;
    align-items: flex-start;
    gap: var(--space-4);
    background: var(--color-terra-15);
    border: 1px solid var(--color-terra-30);
    border-radius: 2px;
    padding: var(--space-4) var(--space-6);
    margin-bottom: var(--space-8);
    max-width: 520px;
}

.tienda-pronto__descuento {
    font-family: var(--font-bn-nord);
    font-size: var(--fs-2xl);
    font-weight: var(--fw-bold);
    color: var(--color-terra);
    line-height: 1;
    white-space: nowrap;
    flex-shrink: 0;
}

.tienda-pronto__beneficio-texto {
    font-family: var(--font-gotham);
    font-size: var(--fs-sm);
    font-weight: var(--fw-regular);
    color: var(--color-white-70);
    line-height: var(--lh-normal);
    padding-top: 2px;
}

/* Form */
.tienda-pronto__form {
    width: 100%;
    max-width: 520px;
}

.tienda-pronto__field {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.tienda-pronto__input {
    font-family: var(--font-gotham);
    font-size: var(--fs-base);
    font-weight: var(--fw-regular);
    color: var(--color-white);
    background: var(--color-white-08);
    border: 1px solid var(--color-white-12);
    border-radius: 2px;
    padding: 1rem 1.25rem;
    outline: none;
    transition: border-color var(--transition-base), background var(--transition-base);
    width: 100%;
    -webkit-appearance: none;
}

.tienda-pronto__input::placeholder {
    color: var(--color-white-35);
}

.tienda-pronto__input:focus {
    border-color: var(--color-terra);
    background: var(--color-white-12);
}

/* Button */
.tienda-pronto__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    font-family: var(--font-gotham);
    font-size: var(--fs-sm);
    font-weight: var(--fw-medium);
    letter-spacing: var(--ls-wide);
    text-transform: uppercase;
    color: var(--color-white);
    background: var(--color-terra);
    border: none;
    border-radius: 2px;
    padding: 1rem 2rem;
    cursor: pointer;
    transition: background var(--transition-base), transform var(--transition-fast);
    white-space: nowrap;
    width: 100%;
}

.tienda-pronto__btn:hover {
    background: var(--color-terra-dark);
}

.tienda-pronto__btn:active {
    transform: scale(0.98);
}

.tienda-pronto__btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Sent state */
.tienda-pronto__form--sent .tienda-pronto__field {
    display: none;
}

/* Message */
.tienda-pronto__msg {
    font-family: var(--font-gotham);
    font-size: var(--fs-sm);
    margin-top: var(--space-3);
    min-height: 1.4em;
}

.tienda-pronto__msg--success {
    color: #7dd3a8;
}

.tienda-pronto__msg--error {
    color: #f08080;
}

/* ── Tablet+ ── */
@media (min-width: 576px) {
    .tienda-pronto__field {
        flex-direction: row;
    }

    .tienda-pronto__input {
        flex: 1 1 0;
    }

    .tienda-pronto__btn {
        width: auto;
        flex-shrink: 0;
    }
}

/* ── Desktop ── */
@media (min-width: 992px) {
    .tienda-pronto__container {
        padding-top: calc(var(--nav-height) + 6rem);
        padding-bottom: 6rem;
    }
}

.tienda-pronto__turnstile{
  padding-top: 2rem;
}