/* Toro & Pampa - Premium Custom CSS */

:root {
    --primary-color: #0f0f0f;       /* Deep premium black */
    --secondary-color: #1a1a1a;     /* Accent black */
    --gold-color: #bfa15f;          /* Elegance gold/bronze */
    --white-color: #ffffff;
    --light-bg: #f8f9fa;            /* Clean light grey */
    --border-color: #e5e5e5;
    --price-color: #c0392b;         /* Terracotta/Red for cash price */
    --whatsapp-color: #00a884;      /* WhatsApp standard green */
    --whatsapp-hover: #008f70;
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Montserrat', sans-serif;
    --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

html, body {
    font-family: var(--font-body);
    color: var(--primary-color);
    background-color: var(--white-color);
    overflow-x: clip;
    width: 100%;
}

/* Typography */
h1, h2, h3, h4, h5, h6, .font-heading {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* Top Announcement Bar */
.top-bar {
    background-color: var(--primary-color);
    color: var(--white-color);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    padding: 8px 0;
    text-transform: uppercase;
}

/* Header & Navbar */
.navbar-brand {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 1.8rem;
    color: var(--primary-color) !important;
}

.nav-link {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--primary-color) !important;
    position: relative;
    padding: 8px 16px !important;
    transition: var(--transition-smooth);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 16px;
    right: 16px;
    height: 2px;
    background-color: var(--gold-color);
    transform: scaleX(0);
    transition: var(--transition-smooth);
}

.nav-link:hover::after, .nav-link.active::after {
    transform: scaleX(1);
}

.search-input {
    border-radius: 0;
    border: 1px solid var(--border-color);
    font-size: 0.85rem;
    padding: 8px 12px;
}

.search-input:focus {
    border-color: var(--primary-color);
    box-shadow: none;
}

/* Hero Carousel (Slider) */
.hero-carousel .carousel-item {
    height: 78vh;
    min-height: 520px;
    position: relative;
    overflow: hidden;
}

.hero-carousel .hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-carousel .carousel-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: none;
}

/* Elegant left-to-right gradient overlay only when slide has text content.
   Darker on the left for optimal white text contrast, fading to fully transparent on the right for product image clarity. */
.hero-carousel .carousel-item.has-overlay::before {
    background: linear-gradient(90deg, rgba(15, 15, 15, 0.6) 0%, rgba(15, 15, 15, 0.25) 50%, rgba(15, 15, 15, 0) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--white-color);
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.35), 0 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 30px;
    font-weight: 300;
    line-height: 1.6;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3), 0 1px 3px rgba(0, 0, 0, 0.15);
}

.btn-hero {
    background-color: var(--white-color);
    color: var(--primary-color);
    font-weight: 600;
    letter-spacing: 2px;
    border-radius: 50px;
    padding: 12px 35px;
    font-size: 0.85rem;
    border: 2px solid var(--white-color);
    transition: var(--transition-smooth);
}

.btn-hero:hover {
    background-color: transparent;
    color: var(--white-color);
}

@media (max-width: 768px) {
    .hero-carousel .carousel-item {
        height: auto;
        min-height: auto;
    }
    .hero-carousel .hero-img {
        height: auto;
        min-height: auto;
        width: 100%;
        display: block;
    }
    .hero-carousel .carousel-item::before {
        background: none;
    }
    .hero-carousel .carousel-item.has-overlay::before {
        /* Soft vertical gradient for mobile readability since text spans wider and centers vertically */
        background: linear-gradient(180deg, rgba(15, 15, 15, 0.55) 0%, rgba(15, 15, 15, 0.35) 60%, rgba(15, 15, 15, 0.1) 100%);
    }
    .hero-title {
        font-size: 2.2rem;
    }
    .hero-subtitle {
        font-size: 0.95rem;
    }
}

/* Product Cards */
.product-card {
    border: 1px solid var(--border-color);
    border-radius: 0;
    overflow: hidden;
    background: var(--white-color);
    transition: var(--transition-smooth);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
    border-color: rgba(0,0,0,0.15);
}

.product-image-container {
    position: relative;
    padding-top: 100%; /* 1:1 Aspect Ratio */
    background-color: var(--light-bg);
    overflow: hidden;
}

.product-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

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

.product-card-body {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-brand {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #888;
    margin-bottom: 5px;
}

.product-title {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.4;
    height: 2.8em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-title a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.product-title a:hover {
    color: var(--gold-color);
}

.price-original {
    font-size: 0.85rem;
    text-decoration: line-through;
    color: #888;
    margin-bottom: 2px;
}

.price-cash {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--price-color);
    margin-bottom: 2px;
}

.price-cash-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--price-color);
}

.price-installments {
    font-size: 0.75rem;
    color: #555;
    margin-bottom: 15px;
}

.btn-whatsapp-cta {
    background-color: var(--whatsapp-color);
    color: var(--white-color);
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 1px;
    border-radius: 5px;
    border: none;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    transition: var(--transition-smooth);
}

.btn-whatsapp-cta:hover {
    background-color: var(--whatsapp-hover);
    color: var(--white-color);
}

.btn-cart-add {
    background-color: var(--primary-color);
    color: var(--white-color);
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 1px;
    border-radius: 5px;
    border: none;
    padding: 10px 15px;
    transition: var(--transition-smooth);
    width: 100%;
}

.btn-cart-add:hover {
    background-color: var(--gold-color);
}

.badge-featured {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--primary-color);
    color: var(--white-color);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 1px;
    padding: 5px 10px;
    text-transform: uppercase;
    z-index: 5;
}

.badge-out-of-stock {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: #7f8c8d;
    color: var(--white-color);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 1px;
    padding: 5px 10px;
    text-transform: uppercase;
    z-index: 5;
}

/* Sidebar Filters */
.sidebar-title {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--primary-color);
    margin-bottom: 15px;
}

.filter-list {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
}

.filter-list li {
    margin-bottom: 8px;
}

.filter-link {
    color: #555;
    text-decoration: none;
    font-size: 0.85rem;
    transition: var(--transition-smooth);
}

.filter-link:hover, .filter-link.active {
    color: var(--gold-color);
    padding-left: 5px;
}

/* Cart Sidebar (Off-canvas) */
.offcanvas-cart {
    width: 400px !important;
}

@media (max-width: 576px) {
    .offcanvas-cart {
        width: 100% !important;
    }
}

.cart-item {
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    gap: 15px;
    align-items: center;
}

.cart-item-image {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border: 1px solid var(--border-color);
    background-color: var(--light-bg);
}

.cart-item-details {
    flex-grow: 1;
}

.cart-item-title {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.cart-item-price {
    font-size: 0.85rem;
    color: var(--price-color);
    font-weight: 700;
}

.cart-item-qty {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
}

.btn-qty {
    width: 24px;
    height: 24px;
    padding: 0;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
    background: transparent;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-qty:hover {
    background-color: var(--primary-color);
    color: var(--white-color);
}

.qty-input {
    width: 30px;
    text-align: center;
    font-size: 0.8rem;
    border: none;
    font-weight: 600;
}

.cart-item-remove {
    color: #e74c3c;
    background: none;
    border: none;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.cart-item-remove:hover {
    color: #c0392b;
}

/* Quick View Modal */
.modal-content {
    border-radius: 0;
    border: none;
}

.modal-product-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.modal-product-desc {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
}

.variant-selector {
    margin-bottom: 20px;
}

.variant-selector label {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    display: block;
}

.variant-select {
    border-radius: 0;
    border: 1px solid var(--border-color);
    padding: 10px;
    font-size: 0.85rem;
}

.variant-select:focus {
    border-color: var(--primary-color);
    box-shadow: none;
}

/* Featured Products Carousel */
.featured-carousel-container {
    position: relative;
    padding: 0 40px;
}

.featured-carousel-prev, .featured-carousel-next {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    border-radius: 50%;
    opacity: 0.8;
    top: 50%;
    transform: translateY(-50%);
    transition: var(--transition-smooth);
}

.featured-carousel-prev:hover, .featured-carousel-next:hover {
    background-color: var(--gold-color);
    opacity: 1;
}

/* Commercial Conditions Block */
.conditions-bar {
    background-color: var(--light-bg);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 25px 0;
    font-size: 0.8rem;
    line-height: 1.6;
    color: #555;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: rgba(255,255,255,0.7);
    font-size: 0.85rem;
    padding: 60px 0 30px 0;
}

footer h5 {
    color: var(--white-color);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
}

footer a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    transition: var(--transition-smooth);
}

footer a:hover {
    color: var(--gold-color);
    padding-left: 3px;
}

footer ul {
    list-style: none;
    padding: 0;
}

footer ul li {
    margin-bottom: 10px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    margin-top: 40px;
    font-size: 0.75rem;
}

/* Responsive badges / buttons */
.badge-cart-count {
    background-color: var(--gold-color);
    color: var(--primary-color);
    font-size: 0.65rem;
    font-weight: 700;
    padding: 4px 6px;
    border-radius: 50%;
    position: absolute;
    top: -5px;
    right: -5px;
}

/* Subheader Navbar Responsive Adjustments */
@media (min-width: 992px) {
    .subheader-navbar {
        background-color: var(--light-bg) !important;
        padding-top: 0.5rem !important;
        padding-bottom: 0.5rem !important;
        border-bottom: 1px solid var(--border-color) !important;
    }
}

@media (max-width: 991.98px) {
    .subheader-navbar {
        background-color: transparent !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        border-bottom: none !important;
    }
    .subheader-navbar .navbar-collapse > div {
        background-color: var(--light-bg) !important;
        padding: 15px !important;
        border-bottom: 1px solid var(--border-color) !important;
    }
}

/* ==========================================================================
   Google My Business Reviews Section (Qué opinan nuestros clientes)
   ========================================================================== */
.google-reviews-section {
    background-color: #fbfcfd;
    position: relative;
    border-top: 1px solid #edf2f7;
    border-bottom: 1px solid #edf2f7;
    padding: 70px 0;
}

.google-badge-pill {
    display: inline-flex;
    align-items: center;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 9999px;
    padding: 6px 18px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    font-size: 0.88rem;
    gap: 8px;
    margin-bottom: 18px;
}

.google-badge-pill .stars {
    color: #f59e0b;
    font-size: 0.95rem;
    display: inline-flex;
    gap: 1px;
}

.google-badge-pill .score {
    font-weight: 700;
    color: #1e293b;
}

.google-badge-pill .badge-label {
    color: #64748b;
    font-size: 0.82rem;
    border-left: 1px solid #e2e8f0;
    padding-left: 8px;
    font-weight: 500;
}

.google-reviews-title {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.5px;
    margin-bottom: 10px;
}

.google-reviews-subtitle {
    font-size: 0.98rem;
    color: #64748b;
    max-width: 680px;
    margin: 0 auto 36px auto;
    line-height: 1.55;
}

.reviews-carousel-wrapper {
    position: relative;
    padding: 0 10px;
}

.review-card {
    background: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 18px;
    padding: 26px 22px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03), 0 1px 3px rgba(0, 0, 0, 0.02);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    text-align: left;
}

.review-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.07), 0 2px 6px rgba(0, 0, 0, 0.03);
    border-color: #e2e8f0;
}

.review-avatar {
    width: 46px;
    height: 46px;
    min-width: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

.review-avatar.color-0 { background-color: #fef3c7; color: #b45309; }
.review-avatar.color-1 { background-color: #e0f2fe; color: #0369a1; }
.review-avatar.color-2 { background-color: #dcfce7; color: #15803d; }
.review-avatar.color-3 { background-color: #fae8ff; color: #a21caf; }
.review-avatar.color-4 { background-color: #ffe4e6; color: #be123c; }
.review-avatar.color-5 { background-color: #ffedd5; color: #c2410c; }

.review-author-name {
    font-weight: 700;
    font-size: 0.98rem;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 2px;
}

.review-verified-icon {
    color: #10b981;
    font-size: 0.85rem;
}

.review-tag {
    font-size: 0.78rem;
    font-weight: 600;
    color: #d97706;
    line-height: 1.2;
}

.review-google-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.review-quote-text {
    font-style: italic;
    color: #334155;
    font-size: 0.92rem;
    line-height: 1.6;
    margin: 18px 0 20px 0;
    flex-grow: 1;
}

.review-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid #f8fafc;
}

.review-stars {
    color: #f59e0b;
    font-size: 0.92rem;
    display: flex;
    gap: 2px;
}

.review-date {
    color: #94a3b8;
    font-size: 0.78rem;
    font-weight: 500;
}

/* Carousel Side Navigation Buttons */
.google-carousel-btn {
    width: 44px;
    height: 44px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #475569;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    transition: all 0.2s ease;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    opacity: 0.95;
}

.google-carousel-btn:hover {
    background: #0f172a;
    color: #ffffff;
    border-color: #0f172a;
    box-shadow: 0 6px 16px rgba(0,0,0,0.12);
    opacity: 1;
}

.google-carousel-prev {
    left: -22px;
}

.google-carousel-next {
    right: -22px;
}

@media (max-width: 767.98px) {
    .google-carousel-prev { left: -6px; }
    .google-carousel-next { right: -6px; }
}

/* Indicator dots with active pill animation */
.google-carousel-indicators {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 28px;
    margin-bottom: 0;
    list-style: none;
    padding: 0;
}

.google-carousel-indicators button {
    border: none;
    width: 8px;
    height: 8px;
    border-radius: 4px;
    background-color: #cbd5e1;
    transition: all 0.3s ease;
    padding: 0;
    opacity: 0.7;
}

.google-carousel-indicators button.active {
    width: 26px;
    background-color: #d97706;
    opacity: 1;
}

/* Call to Action Button */
.btn-google-profile {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    border-radius: 9999px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #1e293b;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
    transition: all 0.2s ease;
    margin-top: 30px;
}

.btn-google-profile:hover {
    background: #f8fafc;
    border-color: #94a3b8;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    color: #0f172a;
    transform: translateY(-1px);
}

