:root {
    --gold: #d4aa35;
    --gold-dark: #977623;
    --muted: #707070;
    --bg: #f9f8f7;
    --card: #ffffff;
    --radius: 14px;
}

body {
    font-family: 'Poppins', system-ui, -apple-system, Arial, sans-serif;
    background: var(--bg);
    color: #222;
}

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

.navbar {
    background-color: #fff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.navbar-brand {
    font-weight: 700;
    color: var(--gold) !important;
    letter-spacing: 0.2px;
}

.hero {
    background: url('../images/sitio/banner.png') center/cover no-repeat;
    color: white;
    text-align: center;
    padding: 110px 20px;
    position: relative;
    border-bottom-left-radius: 40px;
    border-bottom-right-radius: 40px;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.35));
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 880px;
    margin: 0 auto;
}

.hero h1 {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 700;
    margin-bottom: 8px;
}

.hero p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 18px;
}

.btn-gold {
    background: var(--gold);
    border: none;
    color: #fff;
    font-weight: 600;
    border-radius: 12px;
    padding: 12px 20px;
}

.btn-gold:hover {
    background: var(--gold-dark);
}

section {
    padding: 48px 0;
}

.about .card {
    border-radius: 18px;
    box-shadow: 0 8px 30px rgba(16, 24, 40, 0.06);
}

.product-card {
    border-radius: 14px;
    overflow: hidden;
    transition: transform .28s ease, box-shadow .28s ease;
    border: 1px solid rgba(0, 0, 0, 0.04);
    background: var(--card);
}

.product-card img {
    height: 260px;
    object-fit: cover;
    display: block;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 45px rgba(10, 10, 10, 0.08);
}

.cart-buttons {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.cart-buttons button {
  flex: 1;
}

.price {
    color: var(--gold);
    font-weight: 700;
    font-size: 1.05rem;
}

.muted {
    color: var(--muted);
}

.whatsapp-float {
    position: fixed;
    right: 20px;
    bottom: 20px;
    background: #25D366;
    color: #fff;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.18);
    z-index: 2000;
}

.cart-float {
    position: fixed;
    right: 20px;
    bottom: 100px;
    background: #111;
    color: #fff;
    border-radius: 50%;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.18);
    z-index: 1100;
    cursor: pointer;
}

.badge-count {
    position: absolute;
    top: -6px;
    right: -6px;
    background: var(--gold);
    color: #fff;
    font-size: 12px;
    padding: 3px 6px;
    border-radius: 999px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12);
}

.cart-panel {
    position: fixed;
    right: -420px;
    top: 0;
    height: 100vh;
    width: 420px;
    background: #fff;
    box-shadow: -30px 0 60px rgba(0, 0, 0, 0.12);
    transition: right .32s ease;
    z-index: 1200;
    display: flex;
    flex-direction: column;
    padding: 20px;
}

.cart-panel.open {
    right: 0;
}

.cart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.cart-items {
    overflow: auto;
    flex: 1;
    margin-top: 12px;
    padding-right: 6px;
}

.cart-item {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px dashed #f0f0f0;
}

.cart-item img {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 8px;
}

.qty-controls button {
    border: none;
    background: #f5f5f5;
    padding: 6px 10px;
    border-radius: 8px;
}

.total-row {
    border-top: 1px solid #f2f2f2;
    padding-top: 12px;
    margin-top: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.stock-warning {
    color: #dc3545;
    font-size: 13px;
    margin-top: 3px;
    display: none;
}

footer {
    background: #111;
    color: #eee;
    padding: 36px 0;
    margin-top: 32px;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
}

footer a {
    color: var(--gold);
}

footer #metodos-pago {
    text-align-last: left;
    justify-items: anchor-center;
}

@media (max-width:992px) {
    .cart-panel {
        width: 100%;
    }

    .product-card img {
        height: 220px;
    }

    .hero {
        padding: 80px 20px;
    }
}