/* ============================================================
   JUEGOEROTIC.COM - Estilos principales
   Tema: Elegante · Sensual · Discreto · Premium
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Inter:wght@300;400;500;600&display=swap');

:root {
    --primary:       #D4006B;
    --primary-light: #FF4DA6;
    --primary-dark:  #9A004E;
    --secondary:     #1A0A2E;
    --secondary-light:#2D1B4E;
    --accent:        #C9A84C;
    --accent-light:  #F0C96E;
    --bg-dark:       #0D0714;
    --border:        #e8e0f0;
    --text-main:     #1a1a2e;
    --text-muted:    #7a7a9a;
    --shadow-pink:   0 4px 20px rgba(212,0,107,.12);
    --radius:        14px;
    --radius-sm:     8px;
    --transition:    all .25s ease;
}

/* -------------------------------------------------------
   Base
------------------------------------------------------- */
body {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    background: #faf8fc;
    color: var(--text-main);
    font-size: 15px;
}

h1,h2,h3 { font-family: 'Playfair Display', Georgia, serif; }
a { transition: var(--transition); }

/* -------------------------------------------------------
   Topbar
------------------------------------------------------- */
.topbar {
    background: var(--bg-dark) !important;
    font-size: .82rem;
}
.topbar a:hover { color: var(--accent-light) !important; }

/* -------------------------------------------------------
   Navbar
------------------------------------------------------- */
.navbar {
    background: #fff !important;
    border-bottom: 2px solid var(--border);
    padding: 10px 0;
}

.navbar-brand { font-family: 'Playfair Display', serif; font-size: 1.5rem; }
.navbar-brand .brand-main  { color: var(--primary); }
.navbar-brand .brand-rest  { color: var(--secondary); }
.navbar-brand .brand-dot   { color: var(--accent); }

.nav-link { color: var(--secondary) !important; font-weight: 500; font-size: .9rem; border-radius: 6px; }
.nav-link:hover { color: var(--primary) !important; background: rgba(212,0,107,.06); }

.navbar .btn-primary { padding: 8px 20px; font-size: .85rem; }

/* -------------------------------------------------------
   HERO
------------------------------------------------------- */
.hero-section {
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--secondary) 50%, #3d0f4e 100%);
    min-height: 580px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 75% 50%, rgba(212,0,107,.2) 0%, transparent 55%),
        radial-gradient(ellipse at 15% 85%, rgba(201,168,76,.12) 0%, transparent 45%);
    pointer-events: none;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(201,168,76,.12);
    border: 1px solid rgba(201,168,76,.35);
    color: var(--accent-light);
    padding: 5px 16px;
    border-radius: 50px;
    font-size: .82rem;
    font-weight: 500;
    letter-spacing: .05em;
    margin-bottom: 1.4rem;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.15;
    color: #fff;
    margin-bottom: 1rem;
}

.hero-title .highlight { color: var(--primary-light); }

.hero-subtitle {
    color: rgba(255,255,255,.6);
    font-size: 1.02rem;
    font-weight: 300;
    line-height: 1.75;
    margin-bottom: 2rem;
    max-width: 460px;
}

.hero-stats {
    display: flex;
    gap: 2.5rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,.1);
}

.hero-stat .number {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-light);
    display: block;
}

.hero-stat .label {
    color: rgba(255,255,255,.45);
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .08em;
}

/* -------------------------------------------------------
   Botones
------------------------------------------------------- */
.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border: none;
    border-radius: 50px;
    padding: 12px 30px;
    font-weight: 600;
    font-size: .9rem;
    color: white !important;
    box-shadow: 0 4px 15px rgba(212,0,107,.3);
    transition: var(--transition);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    box-shadow: 0 6px 22px rgba(212,0,107,.45);
    transform: translateY(-1px);
}

.btn-outline-primary {
    border: 2px solid rgba(255,255,255,.4);
    color: white !important;
    border-radius: 50px;
    padding: 11px 28px;
    font-weight: 500;
    background: transparent;
}

.btn-outline-primary:hover {
    background: rgba(255,255,255,.1);
    border-color: rgba(255,255,255,.8);
}

.btn-warning {
    background: linear-gradient(135deg, var(--accent) 0%, #a07830 100%) !important;
    border: none !important;
    color: white !important;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 4px 14px rgba(201,168,76,.35);
}

.btn-warning:hover { transform: translateY(-1px); }

/* Botones secundarios */
.btn-outline-secondary {
    border-radius: 50px;
    border-color: var(--border);
    color: var(--text-muted);
}

/* -------------------------------------------------------
   Secciones - etiquetas y títulos
------------------------------------------------------- */
.section-label {
    display: inline-block;
    background: rgba(212,0,107,.08);
    color: var(--primary);
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: 4px 14px;
    border-radius: 50px;
    margin-bottom: .75rem;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.9rem;
    color: var(--secondary);
    margin-bottom: .4rem;
}

.section-subtitle { color: var(--text-muted); font-size: .92rem; }

/* -------------------------------------------------------
   Categorías
------------------------------------------------------- */
.category-card {
    cursor: pointer;
    border-radius: var(--radius) !important;
    border: 1.5px solid var(--border) !important;
    transition: var(--transition);
    background: white;
}

.category-card:hover {
    transform: translateY(-5px);
    border-color: rgba(212,0,107,.35) !important;
    box-shadow: 0 10px 30px rgba(212,0,107,.13) !important;
}

.category-icon {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(212,0,107,.07) 0%, rgba(212,0,107,.14) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    font-size: 1.5rem;
    color: var(--primary);
    transition: var(--transition);
}

.category-card:hover .category-icon {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
}

/* -------------------------------------------------------
   Productos
------------------------------------------------------- */
.product-card {
    border-radius: var(--radius) !important;
    border: 1.5px solid var(--border) !important;
    overflow: hidden;
    transition: var(--transition);
    background: white;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(212,0,107,.11) !important;
    border-color: rgba(212,0,107,.28) !important;
}

.product-img-wrap {
    height: 240px;
    overflow: hidden;
    background: linear-gradient(135deg, #fdf0f6 0%, #f8f0ff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.product-card:hover .product-img { transform: scale(1.06); }

.product-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: .88rem;
    line-height: 1.45;
    font-weight: 500;
}

.product-title a:hover { color: var(--primary) !important; }

.btn-add-cart {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border: none;
    border-radius: 50px;
    color: white;
    font-size: .82rem;
    font-weight: 600;
    padding: 8px 16px;
    transition: var(--transition);
}

.btn-add-cart:hover {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    transform: translateY(-1px);
    color: white;
}

.btn-wishlist {
    border: 1.5px solid #f0e0ea;
    border-radius: 50% !important;
    color: #c0a0b0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    background: white;
    transition: var(--transition);
}

.btn-wishlist:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* -------------------------------------------------------
   Features strip (garantías)
------------------------------------------------------- */
.features-strip {
    background: white;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

/* -------------------------------------------------------
   Sección oscura (why us / newsletter)
------------------------------------------------------- */
.dark-section {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--bg-dark) 100%);
}

.cta-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, var(--primary-light) 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='20' cy='20' r='2' fill='rgba(255,255,255,0.05)'/%3E%3C/svg%3E");
    pointer-events: none;
}

/* -------------------------------------------------------
   Toast
------------------------------------------------------- */
.toast-container-custom {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
}

.toast-custom {
    background: var(--secondary);
    color: white;
    border-radius: var(--radius-sm);
    padding: 14px 22px;
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,.25);
    animation: slideIn .3s ease;
    font-size: .88rem;
    min-width: 250px;
}

.toast-custom.success { background: linear-gradient(135deg, var(--primary-dark), var(--primary)); }
.toast-custom.error   { background: #c0392b; }
.toast-custom.info    { background: var(--secondary-light); }

@keyframes slideIn {
    from { transform: translateX(120px); opacity: 0; }
    to   { transform: translateX(0); opacity: 1; }
}

/* -------------------------------------------------------
   Cart / Checkout
------------------------------------------------------- */
.cart-item { transition: var(--transition); }
.cart-item:hover { background: #fdf5f9; }
.cart-count {
    font-size: .62rem;
    min-width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary) !important;
}

.checkout-steps { gap: 0; }
.step { padding: 8px 22px; background: #f0e8f5; border-radius: 4px; font-size: .85rem; color: var(--text-muted); font-weight: 500; }
.step.active { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); color: white; font-weight: 600; }
.step-line { flex: 1; height: 2px; background: #e0d0ea; align-self: center; }

/* -------------------------------------------------------
   Formularios
------------------------------------------------------- */
.form-control:focus, .form-select:focus {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 .2rem rgba(212,0,107,.12);
}
.form-control, .form-select { border-radius: var(--radius-sm); border-color: var(--border); }

/* -------------------------------------------------------
   Footer
------------------------------------------------------- */
footer { background: var(--bg-dark) !important; }
footer a:hover { color: var(--accent-light) !important; }

/* -------------------------------------------------------
   Producto detalle
------------------------------------------------------- */
.thumbnail-img { cursor: pointer; border: 2px solid var(--border); border-radius: var(--radius-sm); transition: var(--transition); opacity: .72; }
.thumbnail-img:hover { opacity: 1; border-color: var(--primary); }
.variant-btn.active { background: var(--primary) !important; border-color: var(--primary) !important; color: white !important; }

/* -------------------------------------------------------
   Responsive
------------------------------------------------------- */
@media (max-width: 768px) {
    .hero-title      { font-size: 2.1rem; }
    .hero-section    { min-height: 500px; }
    .hero-stats      { gap: 1.5rem; }
    .product-img-wrap { height: 185px; }
    .checkout-steps  { display: none; }
}

@media (max-width: 576px) {
    .hero-title   { font-size: 1.75rem; }
    .section-title { font-size: 1.5rem; }
}
