* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ===== CUSTOM SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

::-webkit-scrollbar-track {
    background: #f5f1f0;
}

::-webkit-scrollbar-thumb {
    background: #5a070b;
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: #3d050a;
}

html {
    scrollbar-color: #5a070b #f5f1f0;
    scrollbar-width: thin;
}

:root {
    --primary-wine: #5a070b;
    --primary-green: var(--primary-wine);
    --dark-red: #8b2e2e;
    --light-bg: #f5f1f0;
    --text-dark: #2d2d2d;
    --text-light: #6d6d6d;
    --carousel-loop-distance: 2430px;
}

body {
    font-family: 'Playfair Display', serif;
    color: var(--text-dark);
    line-height: 1.6;
}

body::before {
    content: '';
    position: fixed;
    top: -200px;
    right: -200px;
    width: 1000px;
    height: 1000px;
    background: radial-gradient(circle, rgba(196, 69, 105, 0.4) 0%, transparent 60%);
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
    animation: floatRight 15s ease-in-out infinite;
    filter: blur(100px);
}

body::after {
    content: '';
    position: fixed;
    bottom: -200px;
    left: -200px;
    width: 900px;
    height: 900px;
    background: radial-gradient(circle, rgba(139, 46, 46, 0.3) 0%, transparent 60%);
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
    animation: floatLeft 18s ease-in-out infinite;
    filter: blur(100px);
}

@keyframes floatRight {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(60px); }
}

@keyframes floatLeft {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-60px); }
}

/* ===== HERO SECTION ===== */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('./images/banner2.jpeg?v=20260625') center/cover;
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 25px 40px;
}

.hero-content {
    max-width: 600px;
    animation: fadeInDown 1s ease-out;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.hero-logo {
    max-width: 350px;
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(3px 3px 10px rgba(0, 0, 0, 0.6));
    animation: zoomIn 0.8s ease-out;
}

.tagline {
    font-size: 0.95rem;
    margin: 0;
    letter-spacing: 1px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 10px 25px;
    border: none;
    border-radius: 5px;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary {
    background-color: var(--dark-red);
    color: white;
}

.btn-primary:hover {
    background-color: #c44569;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(139, 46, 46, 0.3);
    text-decoration: none;
}

.btn-menu {
    background-color: var(--primary-green);
    color: white;
    gap: 8px;
}

.btn-menu:hover {
    background-color: #3d050a;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(90, 7, 11, 0.3);
}

.btn-secondary {
    background-color: var(--primary-green);
    color: white;
    gap: 10px;
}

.btn-secondary:hover {
    background-color: #3d050a;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(90, 7, 11, 0.3);
    text-decoration: none;
}
.btn-see-more {
    background-color: var(--primary-green);
    color: white;
    width: 100%;
    margin-top: 15px;
    display: block;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
}

.btn-see-more:hover {
    background-color: #3d050a;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(90, 7, 11, 0.3);
}
.btn-gallery {
    background-color: var(--primary-green);
    color: white;
    margin-top: 15px;
}

.btn-gallery:hover {
    background-color: #3d050a;
    text-decoration: none;
}

/* ===== CATEGORÍAS SECTION ===== */
.categories {
    padding: 25px 20px;
    background-color: #faf7f6;
    text-align: center;
}

.categories h2,
.favorites h2 {
    font-size: 1.8rem;
    color: var(--dark-red);
    margin-bottom: 25px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 15px;
}

.categories h2::before,
.categories h2::after,
.favorites h2::before,
.favorites h2::after {
    content: '';
    width: 120px;
    height: 1px;
    background: var(--dark-red);
}

.favorites h2::before,
.favorites h2::after {
    background-color: white;
}
/* ===== TICKER ENVÍOS ===== */
.ticker-envios {
    width: 100%;
    overflow: hidden;
    background: linear-gradient(90deg, #6b0011, #c8001e, #6b0011);
    padding: 5px 0;
    white-space: nowrap;
    border-top: 1px solid rgba(255,255,255,0.25);
    border-bottom: 1px solid rgba(255,255,255,0.25);
    box-shadow: 0 0 12px rgba(200, 0, 30, 0.7), 0 0 24px rgba(200, 0, 30, 0.35);
}

.ticker-track {
    display: inline-flex;
    gap: 0;
    animation: ticker-scroll 28s linear infinite;
    will-change: transform;
}

.ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: #fff;
    text-transform: uppercase;
    padding: 0 50px;
}

.ticker-item i {
    font-size: 1rem;
    color: #ffb3be;
}

@keyframes ticker-scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.ticker-envios:hover .ticker-track {
    animation-play-state: paused;
}

.banner-dinamico {
  width: 100%;
  position: relative;
  overflow: hidden;
  line-height: 0;
  background: #111;
}

.banner-slides {
  width: 100%;
  height: 440px;
  position: relative;
}

.banner-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  pointer-events: none;
}

.banner-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.banner-dots {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.banner-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s ease;
}

.banner-dot.active {
  background: #fff;
}
/* ===== CAROUSEL CATEGORÍAS ===== */
.carousel-container {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 100%;
    margin: 0 auto;
    padding: 15px;
}

.carousel-wrapper {
    flex: 1;
    overflow: hidden;
    border-radius: 8px;
    min-height: 300px;
}

.categories-grid {
    display: flex;
    gap: 12px;
    animation: carousel-scroll 30s linear infinite;
    will-change: transform;
}

.carousel-btn {
    width: 45px;
    height: 45px;
    border: none;
    background: linear-gradient(135deg, #5a070b 0%, #8b1a1f 100%);
    color: white;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: all 0.3s ease;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(90, 7, 11, 0.3);
    z-index: 10;
}

.carousel-btn:hover:not(.disabled) {
    background: linear-gradient(135deg, #3d050a 0%, #5a070b 100%);
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(90, 7, 11, 0.4);
}

.carousel-btn:active:not(.disabled) {
    transform: scale(0.95);
}

.carousel-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.category-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease;
    padding: 12px;
    text-align: center;
    min-width: 220px;
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.category-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.18);
}

.category-image {
    width: 100%;
    height: 130px;
    margin-bottom: 8px;
    border-radius: 5px;
    overflow: hidden;

    /* FIX: fondo para que se vea bien cuando la imagen no llena todo */
    background: #4b0f16; /* vino/marca */
}

.category-image img {
    width: 100%;
    height: 100%;

    /* FIX: que se vea COMPLETA dentro del encuadre (sin recorte) */
    object-fit: contain;
    object-position: center;
    display: block;

    transition: transform 0.3s ease;
}

/* FIX: con contain no conviene hacer zoom grande (se notan bordes/bandas) */
.category-card:hover .category-image img {
    transform: scale(1.02);
}

.category-card h3 {
    font-size: 0.95rem;
    margin-bottom: 4px;
    color: var(--text-dark);
    font-weight: 600;
}

.category-card .price {
    color: var(--text-light);
    font-size: 0.8rem;
    margin-bottom: 8px;
}

@keyframes carousel-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(var(--carousel-loop-distance) * -1)); }
}

/* ===== FAVORITES WITH GALLERY WRAPPER ===== */
.favorites-with-gallery {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('./images/banner2.jpeg?v=20260625') center/cover;
    background-attachment: fixed;
    padding: 30px 0;
}

.favorites {
    color: white;
    text-align: center;
    padding: 30px 40px;
}

.favorites h2 {
    color: white;
}

.favorites h2::before,
.favorites h2::after {
    background-color: white;
}

.favorites-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.product-card {
    background: rgba(255, 255, 255, 0.95) !important;
    border-radius: 18px !important;
    overflow: hidden !important;
    padding: 0 !important;
    text-align: center !important;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease !important;
    color: var(--text-dark) !important;
    display: flex !important;
    flex-direction: column !important;
    height: 380px !important;
}

.product-card:hover {
    transform: translateY(-12px) scale(1.02) !important;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2) !important;
}

.product-image {
    width: 100% !important;
    height: 220px !important;
    margin-bottom: 0 !important;
    border-radius: 0 !important;
    overflow: hidden !important;
    flex-shrink: 0 !important;
}

.product-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

.product-card h3 {
    font-size: 1rem !important;
    margin-bottom: 5px !important;
    padding: 12px 15px 0 15px !important;
    font-weight: 600 !important;
}

.product-card .price {
    color: var(--text-light) !important;
    margin-bottom: 10px !important;
    padding: 0 15px !important;
    font-size: 0.9rem !important;
}

.product-card .btn-see-more {
    margin: auto 15px 15px 15px !important;
    width: calc(100% - 30px) !important;
    padding: 10px !important;
}

/* ===== WHY CHOOSE SECTION ===== */
.why-choose {
    background-color: white;
    margin: 30px 40px;
    padding: 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.why-choose-left {
    text-align: left;
}

.why-choose-left h2 {
    font-size: 2rem;
    color: var(--dark-red);
    margin-bottom: 30px;
}

.benefits {
    list-style: none;
    margin-bottom: 25px;
}

.benefits li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 1rem;
    color: var(--text-dark);
}

.benefits i {
    font-size: 1.5rem;
    color: var(--dark-red);
    min-width: 30px;
}

.why-choose-right {
    padding: 0;
}

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

.gallery-grid img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 5px;
    transition: transform 0.3s ease;
}

.gallery-grid img:hover {
    transform: scale(1.05);
}

/* ===== MAPA DE UBICACIÓN ===== */
.map-section {
    padding: 0 40px 40px;
}

/* Two-column wrapper: map left, payments right */
.map-payments-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    align-items: stretch;
}

.map-container {
    background: white;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

/* map-half keeps the same card look, no extra sizing needed */
.map-half {
    display: flex;
    flex-direction: column;
}

/* ===== MEDIOS DE PAGO ===== */
.payments-half {
    background: white;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.payments-header {
    padding: 28px 36px 20px;
    text-align: center;
    background: white;
}

.payments-header i {
    font-size: 1.6rem;
    color: var(--dark-red);
    margin-bottom: 8px;
    display: block;
}

.payments-header h2 {
    font-size: 1.8rem;
    font-family: 'Playfair Display', Georgia, serif;
    color: var(--dark-red);
    margin-bottom: 6px;
}

.payments-header p {
    font-size: 0.95rem;
    color: var(--text-light);
    letter-spacing: 0.5px;
}

.payments-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    padding: 24px 28px 32px;
    flex: 1;
    align-content: center;
}

.payment-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #faf8f8;
    border: 1px solid #f0e8e8;
    border-radius: 16px;
    padding: 18px 10px;
    transition: box-shadow 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.payment-item:hover {
    box-shadow: 0 10px 28px rgba(90, 7, 11, 0.18);
    transform: translateY(-6px) scale(1.04);
    border-color: rgba(139, 46, 46, 0.25);
}

.payment-item i {
    font-size: 2.2rem;
    line-height: 1;
}

.payment-item .fa-cc-visa        { color: #1a1f71; }
.payment-item .fa-cc-mastercard  { color: #eb001b; }
.payment-item .fa-cc-amex        { color: #2e77bc; }
.payment-item .payment-icon-debit { color: #1a1f71; opacity: 0.75; }

/* Mercado Pago badge */
.payment-mp-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #009ee3;
    color: #fff;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 1px;
    border-radius: 8px;
    padding: 5px 14px;
    height: 38px;
}

.payment-icon-cash {
    font-size: 2.2rem;
    color: #2d7a3a;
}

.payment-item span {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--dark-red);
    letter-spacing: 0.5px;
    text-align: center;
}

/* ===== SCROLL REVEAL (index.html) ===== */
.reveal-item {
    opacity: 0;
    transform: translateY(28px) scale(0.97);
    transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.reveal-item.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.map-header {
    padding: 28px 36px 20px;
    text-align: center;
    background: white;
}

.map-header i {
    font-size: 1.6rem;
    color: var(--dark-red);
    margin-bottom: 8px;
    display: block;
}

.map-header h2 {
    font-size: 1.8rem;
    color: var(--dark-red);
    margin-bottom: 6px;
}

.map-header p {
    font-size: 0.95rem;
    color: var(--text-light);
    letter-spacing: 0.5px;
}

.map-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.map-frame-wrapper {
    position: relative;
    width: 100%;
    line-height: 0;
    overflow: hidden;
}

.map-frame-wrapper iframe {
    display: block;
    width: 100%;
    pointer-events: none;
}

.map-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(90, 7, 11, 0);
    transition: background 0.3s ease;
}

.map-overlay span {
    background: var(--primary-wine);
    color: #fff;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 1px;
    padding: 10px 22px;
    border-radius: 30px;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 16px rgba(90, 7, 11, 0.35);
    display: flex;
    align-items: center;
    gap: 8px;
}

.map-link:hover .map-overlay {
    background: rgba(90, 7, 11, 0.18);
}

.map-link:hover .map-overlay span {
    opacity: 1;
    transform: translateY(0);
}

/* ===== SIDEBAR NAVIGATION ===== */
.sidebar {
    position: fixed;
    left: -320px;
    top: 0;
    width: 320px;
    height: 100vh;
    background: linear-gradient(180deg, #ffffff 0%, #f8f5f3 100%);
    color: var(--text-dark);
    padding: 0;
    z-index: 999;
    transition: left 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    overflow-y: auto;
    box-shadow: -10px 0 40px rgba(139, 46, 46, 0.2);
    display: flex;
    flex-direction: column;
}

.sidebar::-webkit-scrollbar {
    width: 8px;
}

.sidebar::-webkit-scrollbar-track {
    background: #f8f5f3;
}

.sidebar::-webkit-scrollbar-thumb {
    background: #5a070b;
    border-radius: 4px;
}

.sidebar.active {
    left: 0;
}

.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

.close-btn {
    position: absolute;
    top: 14px;
    right: 14px;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1000;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.15);
}

.close-btn:hover {
    transform: rotate(90deg) scale(1.1);
    color: #fff;
    background-color: rgba(255, 255, 255, 0.28);
}

/* El contenedor ocupa todo el ancho de la sidebar */
.sidebar-header {
    background: linear-gradient(135deg, #5a070b 0%, #7a0d12 100%);
    color: white;
    padding: 14px 16px 12px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: 126px;
    overflow: hidden;
}

.sidebar-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
}

.sidebar-logo {
    display: block;
    max-height: 92px;
    width: auto;
    max-width: calc(100% - 20px);
    margin: 0 auto;
    object-fit: contain;
    object-position: center;
    transition: transform 0.3s ease;
    border-radius: 12px;
    opacity: 0.92;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.22));
}

/* Efecto hover */
.sidebar-header:hover .sidebar-logo {
    transform: scale(1.04);
}

.sidebar-brand-label {
    margin: 0;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.82);
    display: none;
}


.sidebar-header h2 {
    font-size: 1.6rem;
    font-weight: 700;
    margin: 0;
    letter-spacing: 2px;
    color: white;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 30px 0;
    flex: 1;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 25px;
    color: #2d2d2d;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    font-weight: 500;
    border-left: 4px solid transparent;
    position: relative;
    width: 100%;
    font-family: 'Playfair Display', serif;
}
.toggle-menu {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 25px;
    color: #2d2d2d;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    font-weight: 500;
    border-left: 4px solid transparent;
    position: relative;
    width: 100%;
    background: none;
    border: none;
    cursor: pointer;
    font-family: 'Playfair Display', serif;
}
.sidebar-link:hover {
    background-color: rgba(139, 46, 46, 0.08);
    border-left-color: #860a0a;
    padding-left: 30px;
    color: #8f0404;
}

.sidebar-link i:first-child {
    font-size: 1.3rem;
    color: #790505;
    width: 25px;
    transition: all 0.3s ease;
    flex-shrink: 0;
}
.sidebar-link.toggle-menu i.fas.fa-circle {
    font-size: 0.5rem;
}

.sidebar-link:hover i:first-child {
    color: #880303;
    transform: scale(1.2);
}

.sidebar-link i:last-child {
    margin-left: auto;
    font-size: 0.8rem;
    opacity: 1;
    transition: all 0.3s ease;
    transform: translateX(0);
    flex-shrink: 0;
}

.sidebar-link:hover i:last-child {
    opacity: 1;
    transform: translateX(0);
}

.sidebar-divider {
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(139, 46, 46, 0.3), transparent);
    margin: 15px 20px;
}

.sidebar-cta {
    padding: 30px 25px;
}

.btn-sidebar-whatsapp {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, #5a070b 0%, #8b1a1f 100%);
    color: white;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(90, 7, 11, 0.25);
}

.btn-sidebar-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(90, 7, 11, 0.35);
    text-decoration: none;
}

.sidebar-footer {
    padding: 30px 25px;
    border-top: 1px solid rgba(145, 9, 9, 0.829);
    text-align: center;
}

.social-icons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 15px;
}

.social-icons a {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(139, 46, 46, 0.1), rgba(196, 69, 105, 0.1));
    color: #8b2e2e;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    border: 1px solid rgba(139, 46, 46, 0.2);
}

.social-icons a:hover {
    background: linear-gradient(135deg, #8b2e2e, #c44569);
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(139, 46, 46, 0.3);
    border-color: transparent;
    text-decoration: none;
}

.sidebar-credit {
    font-size: 0.8rem;
    color: #6d6d6d;
    margin: 0;
    font-weight: 500;
}

/* ===== SIDEBAR SUBMENUS ===== */
.sidebar-submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    background: rgba(139, 46, 46, 0.05);
}

.sidebar-submenu.open {
    max-height: 1200px;
}

.sidebar-sublink {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 40px;
    color: #6d6d6d;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 500;
    border-left: 3px solid transparent;
    font-family: 'Playfair Display', serif;
}
.sidebar-sublink:hover {
    background-color: rgba(139, 46, 46, 0.1);
    border-left-color: #8b2e2e;
    padding-left: 45px;
    color: #8b2e2e;
}

.sidebar-sublink i {
    font-size: 1rem;
    color: #c44569;
    transition: all 0.3s ease;
}

.sidebar-sublink:hover i {
    color: #8b2e2e;
    transform: scale(1.1);
}

.toggle-arrow {
    transition: transform 0.3s ease !important;
    margin-left: auto !important;
}

/* ===== SUBMENU LEVEL 2 ===== */
.sidebar-submenu.sub-level-2 {
    padding-left: 0;
    background: rgba(139, 46, 46, 0.02);
}

.sidebar-submenu.sub-level-2 .sidebar-sublink {
    padding-left: 50px;
}

.sidebar-submenu.sub-level-2 .sidebar-sublink:hover {
    padding-left: 55px;
}

/* ===== PAGE HEADERS ===== */
.page-header {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/banner2.jpeg?v=20260625') center/cover;
    padding: 40px;
    color: white;
    text-align: center;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.page-header .btn-volver {
    position: absolute;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    background-color: #5a070b;
    color: white;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    padding: 10px 25px;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-weight: 600;
}

.page-header .btn-volver:hover {
    background-color: #3d050a;
    transform: translateY(-50%) translateY(-2px);
    box-shadow: 0 5px 15px rgba(90, 7, 11, 0.3);
    text-decoration: none;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

.page-content {
    padding: 60px 40px;
    background: white;
}

/* ===== SOBRE NOSOTROS PAGE ===== */
.about-container-full {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    position: relative;
}

.about-content-full {
    grid-column: 1;
}

.about-content-full h2 {
    font-size: 2rem;
    color: #8b2e2e;
    margin-bottom: 20px;
    font-weight: 700;
    text-align: center;
}

.about-content-full p {
    font-size: 1rem;
    color: #2d2d2d;
    margin-bottom: 20px;
    line-height: 1.9;
}

.values-list {
    list-style: none;
    margin: 20px 0;
}

.values-list li {
    padding: 12px 0;
    padding-left: 30px;
    position: relative;
    color: #2d2d2d;
    line-height: 1.8;
}

.values-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #8b2e2e;
    font-weight: 700;
    font-size: 1.2rem;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

.feature-box {
    padding: 25px;
    background: #f8f5f3;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.feature-box:hover {
    background: #f0e8e3;
    transform: translateY(-5px);
    border-left-color: #8b2e2e;
}

.feature-box i {
    font-size: 2.2rem;
    color: #8b2e2e;
    margin-bottom: 10px;
    display: block;
}

.feature-box h3 {
    color: #8b2e2e;
    margin: 10px 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.feature-box p {
    font-size: 0.85rem;
    color: #6d6d6d;
    margin: 0;
}

/* ===== GALERÍA SOBRE NOSOTROS ===== */
.about-gallery {
    grid-column: 2;
    grid-row: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    height: fit-content;
    position: sticky;
    top: 100px;
}

.gallery-item {
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 18px rgba(139, 46, 46, 0.2);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-item-1 { grid-column: 1 / 3; grid-row: 1 / 3; height: 280px; }
.gallery-item-2 { grid-column: 3 / 4; grid-row: 1 / 2; height: 130px; }
.gallery-item-3 { grid-column: 3 / 4; grid-row: 2 / 3; height: 130px; }
.gallery-item-4 { grid-column: 1 / 2; grid-row: 3 / 4; height: 140px; }
.gallery-item-5 { grid-column: 2 / 3; grid-row: 3 / 4; height: 140px; }
.gallery-item-6 { grid-column: 3 / 4; grid-row: 3 / 4; height: 140px; }
.gallery-item-7 { grid-column: 1 / 2; grid-row: 4 / 5; height: 150px; }
.gallery-item-8 { grid-column: 2 / 3; grid-row: 4 / 5; height: 150px; }
.gallery-item-9 { grid-column: 3 / 4; grid-row: 4 / 5; height: 150px; }
.gallery-item-10 { grid-column: 1 / 3; grid-row: 5 / 6; height: 180px; }
.gallery-item-11 { grid-column: 3 / 4; grid-row: 5 / 6; height: 180px; }
.gallery-item-12 { grid-column: 1 / 2; grid-row: 6 / 7; height: 160px; }
.gallery-item-13 { grid-column: 2 / 3; grid-row: 6 / 7; height: 160px; }
.gallery-item-14 { grid-column: 3 / 4; grid-row: 6 / 7; height: 160px; }
.gallery-item-15 { grid-column: 1 / 3; grid-row: 7 / 8; height: 190px; }
.gallery-item-16 { grid-column: 3 / 4; grid-row: 7 / 8; height: 190px; }
.gallery-item-17 { grid-column: 1 / 2; grid-row: 8 / 9; height: 170px; }
.gallery-item-18 { grid-column: 2 / 3; grid-row: 8 / 9; height: 170px; }
.gallery-item-19 { grid-column: 3 / 4; grid-row: 8 / 9; height: 170px; }
.gallery-item-20 { grid-column: 1 / 3; grid-row: 9 / 10; height: 160px; }
.gallery-item-21 { grid-column: 3 / 4; grid-row: 9 / 10; height: 160px; }

/* ===== GALERÍA PAGE ===== */
.gallery-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.gallery-container h2 {
    font-size: 2.2rem;
    color: #8b2e2e;
    margin-bottom: 10px;
}

.gallery-subtitle {
    font-size: 1.1rem;
    color: #6d6d6d;
    margin-bottom: 40px;
}

.gallery-full {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.gallery-item-full {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    height: 300px;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: all 0.4s ease;
}

.gallery-item-full img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-overlay-full {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(139, 46, 46, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gallery-overlay-full p {
    color: white;
    font-size: 1.3rem;
    font-weight: 600;
}

.gallery-item-full:hover img {
    transform: scale(1.1);
}

.gallery-item-full:hover .gallery-overlay-full {
    opacity: 1;
}

/* ===== CONTACTO PAGE ===== */
.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

/* Map section inside contact page */
.contact-mapa h2 {
    font-size: 2rem;
    color: #8b2e2e;
    margin-bottom: 20px;
    font-weight: 700;
}

.contact-mapa-iframe {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.contact-form h2,
.contact-info h2 {
    font-size: 2rem;
    color: #8b2e2e;
    margin-bottom: 30px;
    font-weight: 700;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #2d2d2d;
    font-weight: 600;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #8b2e2e;
    box-shadow: 0 0 0 3px rgba(139, 46, 46, 0.1);
}

.btn-enviar {
    width: 100%;
    background: linear-gradient(135deg, #8b2e2e, #c44569);
    color: white;
    padding: 14px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
}

.btn-enviar:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(139, 46, 46, 0.3);
    text-decoration: none;
}

.info-box {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px;
    background: #f8f5f3;
    border-radius: 12px;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.info-box:hover {
    background: #f0e8e3;
    border-left-color: #8b2e2e;
}

.info-box i {
    font-size: 1.8rem;
    color: #8b2e2e;
    min-width: 30px;
    text-align: center;
}

.info-box h3 {
    color: #8b2e2e;
    margin: 0 0 8px 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.info-box p {
    color: #2d2d2d;
    margin: 0;
    line-height: 1.6;
}

.info-box a {
    color: #8b2e2e;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.info-box a:hover {
    color: #c44569;
    text-decoration: none;
}

/* ===== LOCAL PAGE ===== */
.local-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Mapa + Medios de Pago side by side */
/* ===== SCROLL REVEAL ===== */
.reveal-card {
    opacity: 0;
    transform: translateY(50px) scale(0.97);
    transition: opacity 0.75s ease, transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-card.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}
.reveal-card.reveal-delay {
    transition-delay: 0.18s;
}

.local-mapa-pagos {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-bottom: 60px;
    align-items: stretch;
}

.local-mapa {
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.06);
    min-height: 380px;
    border: 1px solid rgba(139, 46, 46, 0.08);
    transition: box-shadow 0.35s ease, transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.local-mapa:hover {
    box-shadow: 0 20px 52px rgba(139, 46, 46, 0.16), 0 4px 12px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
}

.local-mapa iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 380px;
}

/* Medios de Pago panel */
.local-pagos {
    background: linear-gradient(150deg, #fdf8f6 0%, #f8f2ef 60%, #f3ede9 100%);
    border-radius: 18px;
    padding: 42px 38px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(139, 46, 46, 0.05);
    border: 1px solid rgba(139, 46, 46, 0.12);
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: box-shadow 0.35s ease, transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.local-pagos:hover {
    box-shadow: 0 20px 52px rgba(139, 46, 46, 0.15), 0 4px 12px rgba(0, 0, 0, 0.07);
    transform: translateY(-4px);
}

.local-pagos h2 {
    font-size: 1.8rem;
    color: #8b2e2e;
    margin-bottom: 10px;
    font-weight: 700;
}

.local-pagos-subtitulo {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 35px;
}

.local-pagos-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.local-pago-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #fff;
    border-radius: 16px;
    padding: 28px 16px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(139, 46, 46, 0.07);
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.local-pago-item:hover {
    transform: translateY(-6px) scale(1.04);
    box-shadow: 0 14px 32px rgba(139, 46, 46, 0.18);
    border-color: rgba(139, 46, 46, 0.3);
}

.local-pago-item i {
    font-size: 3rem;
    line-height: 1;
}

.local-pago-item .fa-cc-visa        { color: #1a1f71; }
.local-pago-item .fa-cc-mastercard  { color: #eb001b; }
.local-pago-item .fa-money-bill-wave { color: #2e7d32; }

/* Mercado Pago badge inside payment card */
.local-pago-mp-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #009ee3;
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    border-radius: 6px;
    padding: 5px 10px;
    height: 36px;
    white-space: nowrap;
}

.local-pago-item span {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
    letter-spacing: 0.3px;
}

@media (max-width: 768px) {
    .local-mapa-pagos {
        grid-template-columns: 1fr;
    }
    .local-pagos-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.local-info h2 {
    font-size: 2rem;
    color: #8b2e2e;
    margin-bottom: 30px;
    font-weight: 700;
}

.local-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

.local-card {
    padding: 30px;
    background: linear-gradient(135deg, #f8f5f3, #f5f1f0);
    border-radius: 18px;
    text-align: center;
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 1px solid rgba(139, 46, 46, 0.1);
}

.local-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 18px 44px rgba(139, 46, 46, 0.18);
    border-color: #8b2e2e;
}

.local-card i {
    font-size: 2.5rem;
    color: #8b2e2e;
    margin-bottom: 15px;
    display: block;
}

.local-card h3 {
    color: #8b2e2e;
    margin: 15px 0;
    font-size: 1.2rem;
    font-weight: 600;
}

.local-card p {
    color: #2d2d2d;
    margin: 8px 0;
    line-height: 1.6;
}

.local-card a {
    color: #8b2e2e;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.local-card a:hover {
    color: #c44569;
    text-decoration: none;
}

.local-description {
    padding: 40px;
    background: #f8f5f3;
    border-radius: 18px;
    text-align: left;
}

.local-description h2 {
    font-size: 2rem;
    color: #8b2e2e;
    margin-bottom: 20px;
}

.local-description p {
    color: #2d2d2d;
    margin-bottom: 20px;
    line-height: 1.9;
    font-size: 1rem;
}

.local-description h3 {
    color: #8b2e2e;
    margin: 30px 0 20px 0;
    font-size: 1.3rem;
    font-weight: 600;
}

.services-list {
    list-style: none;
    margin: 20px 0;
}

.services-list li {
    padding: 12px 0;
    padding-left: 30px;
    position: relative;
    color: #2d2d2d;
    line-height: 1.8;
}

.services-list li i {
    position: absolute;
    left: 0;
    color: #8b2e2e;
    font-weight: 700;
}

.local-cta {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.btn-whatsapp-cta,
.btn-contacto-cta {
    flex: 1;
    padding: 14px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
}

.btn-whatsapp-cta {
    background: linear-gradient(135deg, #5a070b, #8b1a1f);
    color: white;
}

.btn-whatsapp-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(90, 7, 11, 0.3);
    text-decoration: none;
}

.btn-contacto-cta {
    background: white;
    color: #8b2e2e;
    border: 2px solid #8b2e2e;
}

.btn-contacto-cta:hover {
    background: #8b2e2e;
    color: white;
    transform: translateY(-2px);
    text-decoration: none;
}

/* ===== FOOTER ===== */
.footer {
    background: linear-gradient(135deg, #2d0a0a 0%, #1a0606 100%);
    color: white;
    padding: 50px 40px 30px;
    margin-top: 60px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 30px;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-logo-img {
    max-width: 300px;
    height: auto;
    filter: drop-shadow(2px 2px 5px rgba(0, 0, 0, 0.5));
    transition: transform 0.3s ease;
}

.footer-logo-img:hover {
    transform: scale(1.05);
}

.footer-section h3 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: #fff;
    font-weight: 600;
}

.footer-section p {
    font-size: 0.9rem;
    color: #d0d0d0;
    margin-bottom: 8px;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #8b2e2e, #c44569);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(139, 46, 46, 0.4);
    text-decoration: none;
}

.footer-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
    max-width: 1200px;
    margin: 30px auto;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-bottom p {
    font-size: 0.9rem;
    color: #b0b0b0;
    margin-bottom: 8px;
}

.footer-bottom .credits a {
    color: #c44569;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom .credits a:hover {
    color: #fff;
    text-decoration: none;
}

.footer-bottom-credits {
    text-align: center;
}

.footer-pagos {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-pagos-label {
    font-size: 0.8rem;
    color: #b0b0b0;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.footer-pagos-icons {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    overflow: visible;
}

.footer-pagos-icons i {
    font-size: 2rem;
    color: #d4d4d4;
    transition: color 0.3s ease;
    line-height: 1;
}

.footer-pagos-icons i:hover {
    color: #fff;
}

.footer-pagos-icons .fa-cc-visa:hover   { color: #1a1f71; }
.footer-pagos-icons .fa-cc-mastercard:hover { color: #eb001b; }
.footer-pagos-icons .fa-cc-amex:hover   { color: #2e77bc; }

.footer-pago-mp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #009ee3;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    border-radius: 5px;
    padding: 4px 9px;
    height: 32px;
    transition: opacity 0.3s ease;
    cursor: default;
    font-family: 'Playfair Display', Georgia, serif;
    white-space: nowrap;
}

.footer-pago-mp:hover { opacity: 0.85; }

.footer-pago-cash {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.75rem;
    color: #b0b0b0;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
    cursor: default;
    white-space: nowrap;
}

.footer-pago-cash i {
    font-size: 1.2rem !important;
}

.footer-pago-cash:hover { color: #fff; }

@media (max-width: 600px) {
    .footer-bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .footer-bottom-credits {
        text-align: center;
    }
    .footer-pagos-icons {
        justify-content: center;
    }
}

/* ===== CATALOGO PAGE ===== */
.catalogo-header {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/banner2.jpeg?v=20260625') center/cover;
    padding: 40px;
    color: white;
    text-align: center;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.catalogo-header-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    gap: 22px;
}

.catalogo-header-content--with-search {
    align-items: stretch;
    min-height: 150px;
    justify-content: space-between;
}

.catalogo-header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    position: relative;
    min-height: 56px;
}

.catalogo-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
}

.btn-menu-catalogo {
    background-color: #5a070b;
    color: white;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    padding: 10px 25px;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-weight: 600;
    order: -1;
}

.btn-menu-catalogo:hover {
    background-color: #3d050a;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(90, 7, 11, 0.3);
    text-decoration: none;
}

.btn-volver {
    background-color: #5a070b;
    color: white;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    padding: 10px 25px;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-weight: 600;
    margin-left: auto;
}

.btn-volver:hover {
    background-color: #3d050a;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(90, 7, 11, 0.3);
    text-decoration: none;
}

.catalogo-search-form {
    width: min(560px, 100%);
    display: flex;
    align-items: stretch;
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.92);
}

.catalogo-search-form--corner {
    align-self: flex-end;
}

.catalogo-search-input {
    flex: 1;
    border: none;
    padding: 12px 16px;
    font-size: 1rem;
    color: #2f2f2f;
    background: transparent;
}

.catalogo-search-input::placeholder {
    color: #8b8b8b;
}

.catalogo-search-input:focus {
    outline: none;
}

.catalogo-search-btn {
    border: none;
    width: 48px;
    background: #050505;
    color: #fff;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.2s ease;
}

.catalogo-search-btn:hover {
    background: #222;
}

.catalogo-section {
    padding: 30px 20px;
}

.catalogo-section h2 {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    color: #2d2d2d;
    margin: 20px 0 30px 0;
    font-family: 'Playfair Display', serif;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 15px;
}

.catalogo-section h2::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: #8b2e2e;
    border-radius: 2px;
}

.catalogo-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, #8b2e2e, #c44569);
    border-radius: 2px;
}

.catalogo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.catalogo-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    border: 1px solid #f0f0f0;
}

.catalogo-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.catalogo-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(139, 46, 46, 0.15);
    border-color: #c44569;
}

.catalogo-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: #f8f5f3;
    flex-shrink: 0;
}

.catalogo-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.catalogo-card:hover .catalogo-image img {
    transform: scale(1.08);
}

.catalogo-card h3 {
    font-size: 1.1rem;
    color: #2d2d2d;
    margin: 15px 15px 8px 15px;
    font-weight: 600;
    flex-grow: 0;
}

.catalogo-card .price {
    font-size: 1.2rem;
    color: #8b2e2e;
    margin: 0 15px 15px 15px;
    font-weight: 700;
    flex-grow: 0;
}

.catalogo-card .btn-comprar {
    margin: auto 15px 15px 15px;
    width: calc(100% - 30px);
    padding: 12px;
    background: linear-gradient(135deg, #5a070b, #8b1a1f);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-shrink: 0;
}

.catalogo-card .btn-comprar:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(90, 7, 11, 0.3);
    text-decoration: none;
}

/* ===== SUBCATEGORÍAS HORIZONTAL ===== */
.subcategorias-section {
    background: white;
    padding: 20px 40px;
    border-bottom: 2px solid #f0f0f0;
}

.subcategorias-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.subcategoria-btn {
    padding: 10px 18px;
    background: #f8f5f3;
    color: #8b2e2e;
    border: 2px solid transparent;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.subcategoria-btn:hover {
    background: #e8dfd8;
    transform: translateY(-2px);
}

.subcategoria-btn.activa {
    background: #8b2e2e;
    color: white;
    border-color: #5a070b;
}

/* ===== SIDEBAR CATÁLOGO ===== */
.sidebar-catalogo {
    position: fixed;
    left: -320px;
    top: 0;
    width: 320px;
    height: 100vh;
    background: linear-gradient(180deg, #ffffff 0%, #f8f5f3 100%);
    color: var(--text-dark);
    padding: 0;
    z-index: 999;
    transition: left 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    overflow-y: auto;
    box-shadow: -10px 0 40px rgba(139, 46, 46, 0.2);
    display: flex;
    flex-direction: column;
}

.sidebar-catalogo.active {
    left: 0;
}
.sidebar-link-catalogo {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 25px;
    color: #2d2d2d;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    font-weight: 500;
    border-left: 4px solid transparent;
    position: relative;
    font-family: 'Playfair Display', serif;
}

.sidebar-link-catalogo:hover {
    background-color: rgba(139, 46, 46, 0.08);
    border-left-color: #c44569;
    padding-left: 30px;
    color: #8b2e2e;
}

.sidebar-link-catalogo i:first-child {
    font-size: 1.3rem;
    color: #8b2e2e;
    width: 25px;
    transition: all 0.3s ease;
}

.sidebar-link-catalogo:hover i:first-child {
    color: #c44569;
    transform: scale(1.2);
}

.sidebar-link-catalogo i:last-child {
    margin-left: auto;
    font-size: 0.8rem;
    opacity: 0;
    transition: all 0.3s ease;
    transform: translateX(-10px);
}

.sidebar-link-catalogo:hover i:last-child {
    opacity: 1;
    transform: translateX(0);
}

/* ===== BOTÓN SCROLL TO TOP ===== */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #8b2e2e, #c44569);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: none;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(139, 46, 46, 0.3);
    z-index: 998;
}

.scroll-to-top:hover {
    background: linear-gradient(135deg, #6b1e1e, #a43050);
    transform: translateY(-5px);
    box-shadow: 0 6px 18px rgba(139, 46, 46, 0.4);
}

.scroll-to-top.show {
    display: flex;
}
/* ===== SIDEBAR SUBCATEGORÍAS (CATÁLOGO) ===== */
.sidebar-subcategorias {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    background: rgba(139, 46, 46, 0.05);
}

.sidebar-subcategorias.open {
    max-height: 500px;
}

.sidebar-subcategoria {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 40px;
    color: #6d6d6d;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 500;
    border-left: 3px solid transparent;
}

.sidebar-subcategoria:hover {
    background-color: rgba(139, 46, 46, 0.1);
    border-left-color: #8b2e2e;
    padding-left: 45px;
    color: #8b2e2e;
}

.sidebar-subcategoria i {
    font-size: 1rem;
    color: #c44569;
    transition: all 0.3s ease;
}

.sidebar-subcategoria:hover i {
    color: #8b2e2e;
    transform: scale(1.1);
}

.sidebar-subcategorias.sub-level-3 {
    padding-left: 0;
    background: rgba(139, 46, 46, 0.02);
}

.sidebar-subcategorias.sub-level-3 .sidebar-subcategoria {
    padding-left: 50px;
}

.sidebar-subcategorias.sub-level-3 .sidebar-subcategoria:hover {
    padding-left: 55px;
}/* ===== BOTONES TARJETAS CATÁLOGO ===== */
.catalogo-buttons {
    display: flex;
    gap: 10px;
    margin: auto 15px 15px 15px;
    width: calc(100% - 30px);
    margin-top: 15px;
}

.catalogo-card .btn-info,
.catalogo-card .btn-comprar {
    flex: 1;
    padding: 12px 8px;
    background: linear-gradient(135deg, #5a070b, #8b1a1f);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    flex-shrink: 0;
    height: 44px;
}

.catalogo-card .btn-info:hover,
.catalogo-card .btn-comprar:hover {
    background: linear-gradient(135deg, #3d050a, #5a070b);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(90, 7, 11, 0.3);
    text-decoration: none;
}
.btn-info {
    flex: 1;
    padding: 12px;
    background: linear-gradient(135deg, #c44569, #a63055);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-shrink: 0;
}

.btn-info:hover {
    background: linear-gradient(135deg, #a63055, #852040);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(196, 69, 105, 0.3);
    text-decoration: none;
}

.btn-comprar {
    flex: 1;
    padding: 12px;
    background: linear-gradient(135deg, #5a070b, #8b1a1f);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-shrink: 0;
}

.btn-comprar:hover {
    background: linear-gradient(135deg, #3d050a, #5a070b);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(90, 7, 11, 0.3);
    text-decoration: none;
}

/* ===== PÁGINA PRODUCTO ===== */
.producto-header {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/banner2.jpeg?v=20260625') center/cover;
    padding: 40px;
    color: white;
    text-align: center;
    min-height: 150px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.producto-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    flex: 1;
}

.btn-volver-producto {
    background-color: #5a070b;
    color: white;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    padding: 10px 25px;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-weight: 600;
    white-space: nowrap;
}

.btn-volver-producto:hover {
    background-color: #3d050a;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(90, 7, 11, 0.3);
    text-decoration: none;
}

.producto-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.producto-imagen {
    text-align: center;
}

.producto-imagen img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.producto-info h2 {
    font-size: 2rem;
    color: #2d2d2d;
    margin-bottom: 15px;
    font-weight: 700;
}

.producto-precio {
    font-size: 1.8rem;
    color: #8b2e2e;
    font-weight: 700;
    margin-bottom: 25px;
}

.producto-descripcion {
    color: #2d2d2d;
    line-height: 1.9;
    margin-bottom: 30px;
    font-size: 1rem;
}

.producto-detalles {
    list-style: none;
    margin-bottom: 30px;
}

.producto-detalles li {
    padding: 12px 0;
    padding-left: 30px;
    position: relative;
    color: #2d2d2d;
    line-height: 1.8;
}

.producto-detalles li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #8b2e2e;
    font-weight: 700;
    font-size: 1.2rem;
}

.producto-cta {
    display: flex;
    gap: 20px;
}

.btn-comprar-producto {
    flex: 1;
    padding: 16px;
    background: linear-gradient(135deg, #5a070b, #8b1a1f);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-comprar-producto:hover {
    background: linear-gradient(135deg, #3d050a, #5a070b);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(90, 7, 11, 0.4);
    text-decoration: none;
}

/* ===== PRODUCTO – MEJORAS ESTÉTICAS ===== */

/* Animaciones de entrada */
@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}
@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}
.fade-in  { animation: fadeIn  0.7s ease both; }
.slide-up { animation: slideUp 0.7s ease 0.15s both; }

/* Zoom en imagen */
.producto-imagen-zoom-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    cursor: zoom-in;
    display: inline-block;
    width: 100%;
    max-width: 480px;
    /* Marco estético con borde doble y sombra elegante */
    border: 3px solid #8b2e2e;
    outline: 6px solid #f3e8e8;
    outline-offset: -9px;
    box-shadow:
        0 0 0 9px #f3e8e8,
        0 0 0 12px #8b2e2e,
        0 18px 55px rgba(90, 7, 11, 0.22),
        0 4px 18px rgba(0,0,0,0.12);
}
/* Esquinas decorativas */
.producto-imagen-zoom-wrapper::before,
.producto-imagen-zoom-wrapper::after {
    content: '';
    position: absolute;
    width: 28px;
    height: 28px;
    border-color: #fff;
    border-style: solid;
    z-index: 2;
    pointer-events: none;
}
.producto-imagen-zoom-wrapper::before {
    top: 10px;
    left: 10px;
    border-width: 3px 0 0 3px;
}
.producto-imagen-zoom-wrapper::after {
    bottom: 10px;
    right: 10px;
    border-width: 0 3px 3px 0;
}
.producto-imagen-zoom-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 11px;
    transition: transform 0.12s ease-out;
    transform-origin: 50% 50%;
    will-change: transform;
}
.producto-imagen-zoom-wrapper.zoomed img {
    transition: none;
}
.producto-imagen-zoom-hint {
    position: absolute;
    bottom: 12px;
    right: 14px;
    background: rgba(0,0,0,0.55);
    color: #fff;
    font-size: 0.78rem;
    padding: 4px 10px;
    border-radius: 20px;
    pointer-events: none;
    opacity: 1;
    transition: opacity 0.3s;
    display: flex;
    align-items: center;
    gap: 5px;
    z-index: 3;
}
.producto-imagen-zoom-wrapper:hover .producto-imagen-zoom-hint {
    opacity: 0;
}

/* Badge de categoría */
.producto-categoria-badge {
    display: inline-block;
    background: linear-gradient(135deg, #f7e8e8, #ffe0e0);
    color: #8b2e2e;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 4px 14px;
    border-radius: 20px;
    border: 1px solid #e8b4b4;
    margin-bottom: 14px;
}

/* Título con subrayado decorativo */
.producto-info h2 {
    font-size: 2rem;
    color: #2d2d2d;
    margin-bottom: 6px;
    font-weight: 700;
    line-height: 1.2;
    position: relative;
    padding-bottom: 14px;
}
.producto-info h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #8b2e2e, #d4717133);
    border-radius: 2px;
}

/* Precio con símbolo más pequeño */
.producto-precio {
    font-size: 2rem;
    color: #8b2e2e;
    font-weight: 700;
    margin: 16px 0 28px;
    display: flex;
    align-items: baseline;
    gap: 2px;
}
.producto-precio-currency {
    font-size: 1.2rem;
    font-weight: 600;
    margin-right: 1px;
}

/* Tarjeta de descripción */
.producto-descripcion-card {
    background: linear-gradient(135deg, #fdf8f8, #fff5f5);
    border-left: 4px solid #8b2e2e;
    border-radius: 0 10px 10px 0;
    padding: 16px 20px;
    margin-bottom: 28px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}
.producto-descripcion-icon {
    color: #8b2e2e;
    font-size: 1rem;
    margin-top: 3px;
    flex-shrink: 0;
}
.producto-descripcion {
    color: #2d2d2d;
    line-height: 1.9;
    font-size: 1rem;
    margin: 0;
}

/* Título de características */
.producto-caracteristicas-titulo {
    color: #8b2e2e;
    margin: 0 0 12px 0;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.03em;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Botón compartir */
.btn-compartir-producto {
    background: transparent;
    border: 2px solid #8b2e2e;
    color: #8b2e2e;
    border-radius: 8px;
    padding: 0 18px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.btn-compartir-producto:hover {
    background: #8b2e2e;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(139, 46, 46, 0.3);
}

/* Pulso en botón de compra */
@keyframes btnPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(90, 7, 11, 0.35); }
    50%       { box-shadow: 0 0 0 10px rgba(90, 7, 11, 0); }
}
.btn-pulse {
    animation: btnPulse 2.4s ease-in-out infinite;
}
.btn-pulse:hover {
    animation: none;
}

/* Hint de CTA */
.producto-cta-hint {
    font-size: 0.82rem;
    color: #6d6d6d;
    margin-top: 12px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.producto-cta-hint i {
    color: #8b2e2e;
    font-size: 0.8rem;
}/* ===== BOTONES TARJETAS CATÁLOGO ===== */
.catalogo-buttons {
    display: flex;
    gap: 10px;
    margin: auto 15px 15px 15px;
    width: calc(100% - 30px);
}

.btn-info {
    flex: 1;
    padding: 12px;
    background: linear-gradient(135deg, #5a070b, #8b1a1f);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-shrink: 0;
}

.btn-info:hover {
    background: linear-gradient(135deg, #3d050a, #5a070b);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(90, 7, 11, 0.3);
    text-decoration: none;
}

.btn-comprar {
    flex: 1;
    padding: 12px;
    background: linear-gradient(135deg, #5a070b, #8b1a1f);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-shrink: 0;
}

.btn-comprar:hover {
    background: linear-gradient(135deg, #3d050a, #5a070b);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(90, 7, 11, 0.3);
    text-decoration: none;
}

@media (max-width: 768px) {
    .producto-header {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .producto-header h1 {
        font-size: 1.8rem;
    }

    .btn-volver-producto {
        width: 100%;
        justify-content: center;
    }

    .producto-content {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 40px 20px;
    }

    .producto-cta {
        flex-direction: column;
    }
}
/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .hero { min-height: 220px; padding: 20px 40px; }
    .banner-slides { height: 220px; }
    .hero-logo { max-width: 200px; }
    .categories h2::before, .categories h2::after { display: none; }
    .carousel-container { padding: 10px 0; gap: 8px; }
    .carousel-wrapper { min-height: 280px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
    .carousel-wrapper::-webkit-scrollbar { display: none; }
    .categories-grid { gap: 10px; animation: none !important; width: max-content; }
    .carousel-btn { width: 40px; height: 40px; }
    .category-card { min-width: 200px; }
    .category-card { scroll-snap-align: start; }
    .category-image { height: 120px; }
    .favorites-grid { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 20px; }
    .why-choose { grid-template-columns: 1fr; gap: 30px; padding: 30px 20px; margin: 30px 20px; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .map-section { padding: 0 20px 30px; }
    .map-payments-wrapper { grid-template-columns: 1fr; }
    .hero-buttons { flex-direction: column; }
    .btn { width: 100%; }
    .sidebar { width: 280px; left: -280px; }
    .about-container-full { grid-template-columns: 1fr; gap: 40px; }
    .about-gallery { grid-column: 1 !important; position: relative !important; top: auto !important; height: auto !important; }
    .features-grid { grid-template-columns: 1fr; }
    .gallery-full { grid-template-columns: 1fr; }
    .contact-container { grid-template-columns: 1fr; gap: 40px; }
    .local-cta { flex-direction: column; }
    .page-content { padding: 40px 20px; }
    .gallery-grid-full { grid-template-columns: repeat(2, 1fr); }
    .footer-container { grid-template-columns: 1fr 1fr; gap: 30px; }
    .footer-logo { grid-column: 1 / -1; }
    .social-links a { width: 40px; height: 40px; font-size: 1rem; }
    .catalogo-header-content { gap: 15px; }
    .catalogo-header-top { flex-direction: column; gap: 15px; min-height: auto; }
    .catalogo-header h1 { position: static; transform: none; font-size: 1.8rem; }
    .btn-menu, .btn-volver { width: 100%; order: 0; margin-left: 0; }
    .catalogo-search-form { width: 100%; max-width: 520px; }
    .catalogo-search-form--corner { align-self: stretch; }
    .catalogo-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}

@media (max-width: 480px) {
    .carousel-container { padding: 8px 0; gap: 6px; }
    .carousel-wrapper { min-height: 260px; }
    .carousel-btn { width: 35px; height: 35px; font-size: 0.9rem; }
    .category-card { min-width: calc(100vw - 120px); max-width: 250px; }
    .category-image { height: 110px; }
    .sidebar { width: 250px; left: -250px; }
    .gallery-grid-full { grid-template-columns: 1fr; }
    .footer-container { grid-template-columns: 1fr; gap: 20px; }
    .footer-logo { grid-column: auto; }
    .page-header h1::before, .page-header h1::after { display: none; }
    .local-grid { grid-template-columns: 1fr; }
    .local-description { padding: 20px; }
    .catalogo-header h1 { font-size: 1.4rem; }
    .catalogo-grid { grid-template-columns: 1fr; }
}

/* ===== ANIMACIONES ===== */
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes zoomIn {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}/* === FIX: cards del catálogo dinámico === */
.catalogo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  align-items: stretch;
}

.catalogo-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.catalogo-image {
  width: 100%;
  height: 240px;          /* ajustá este valor si querés más/menos alto */
  overflow: hidden;
  border-radius: 12px;
}

.catalogo-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}/* Grid estable: el ancho de cards no cambia tanto si hay pocos productos */
.catalogo-grid{
  display: grid;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 1100px){
  .catalogo-grid{ grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px){
  .catalogo-grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px){
  .catalogo-grid{ grid-template-columns: 1fr; }
}
.producto-img-contenedor {
  width: 100%;
  aspect-ratio: 1 / 1;   /* Hace que el contenedor sea siempre cuadrado */
  background: #fff;      /* Cambiá a otro color si querés */
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;   /* Opcional: esquinas redondeadas */
  overflow: hidden;
}

.producto-img-contenedor img {
  max-width: 98%;
  max-height: 98%;
  object-fit: contain;   /* Esto es CLAVE para que no se recorte */
  display: block;
}