/**
 * Template: BOLD
 * Diseño audaz y moderno con diferencias estructurales significativas
 * Header oscuro, layout distintivo, colores contrastantes
 */

/* ========================================
   BOLD TEMPLATE - COMPLETE REDESIGN
   ======================================== */

/* Override primary color to black for Bold theme */
:root {
    --store-primary: #0a0a0a !important;
    --store-primary-dark: #000000 !important;
}

/* Body Background - Fondo gris claro sutil */
body.store-page {
    background: #f5f5f5 !important;
}

/* ========================================
   ANNOUNCEMENT BAR - Más llamativo
   ======================================== */
.store-announcement {
    background: linear-gradient(90deg, #000000 0%, #1a1a1a 50%, #000000 100%) !important;
    color: #ffffff !important;
    padding: 14px 20px !important;
    font-weight: 700 !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
    font-size: 12px !important;
    border-bottom: none !important;
}

/* Asegurar texto blanco en todos los elementos del anuncio */
.store-announcement * {
    color: #ffffff !important;
}

.store-announcement-slide,
.store-announcement-carousel,
.store-announcement .announcement-marquee-item,
.store-announcement .announcement-slide {
    color: #ffffff !important;
}

/* ========================================
   HEADER - Diseño oscuro distintivo
   ======================================== */
.store-header {
    background: linear-gradient(180deg, #0a0a0a 0%, #1a1a1a 100%) !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.store-header .store-logo {
    color: #ffffff !important;
    font-weight: 800 !important;
    font-size: 26px !important;
    letter-spacing: -0.5px;
}

.store-header .store-logo span {
    color: #ffffff !important;
}

.store-header .store-nav a {
    color: rgba(255, 255, 255, 0.8) !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    padding: 8px 0 !important;
    position: relative;
    transition: color 0.3s ease !important;
}

.store-header .store-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--store-primary);
    transition: width 0.3s ease;
}

.store-header .store-nav a:hover {
    color: #ffffff !important;
}

.store-header .store-nav a:hover::after {
    width: 100%;
}

.store-header .store-header-btn {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border-radius: 50% !important;
    width: 44px !important;
    height: 44px !important;
}

.store-header .store-header-btn:hover {
    background: var(--store-primary) !important;
    transform: scale(1.1);
}

.store-header .store-search-bar {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 50px !important;
}

.store-header .store-search-input {
    color: #ffffff !important;
}

.store-header .store-search-input::placeholder {
    color: rgba(255, 255, 255, 0.5) !important;
}

.store-header .store-search-btn {
    background: var(--store-primary) !important;
    color: white !important;
    border-radius: 50% !important;
    margin: 4px !important;
}

/* ========================================
   HERO - Más dramático con overlay fuerte
   ======================================== */
.store-hero {
    min-height: 550px !important;
    padding: 100px 24px !important;
}

.store-hero::before {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.7) 100%) !important;
}

.store-hero h1 {
    font-size: 56px !important;
    font-weight: 900 !important;
    text-transform: uppercase !important;
    letter-spacing: -2px !important;
    line-height: 1.0 !important;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5) !important;
    margin-bottom: 20px !important;
}

.store-hero p {
    font-size: 22px !important;
    font-weight: 400 !important;
    max-width: 600px;
    margin: 0 auto 40px !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.store-hero-btn {
    background: var(--store-primary) !important;
    color: white !important;
    padding: 18px 50px !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    border-radius: 0 !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4) !important;
    position: relative;
    overflow: hidden;
}

.store-hero-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.store-hero-btn:hover::before {
    left: 100%;
}

.store-hero-btn:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.5) !important;
}

/* ========================================
   SECCIONES - Títulos más atrevidos
   ======================================== */
.store-section {
    padding: 70px 24px !important;
    background: #ffffff;
    margin: 0 !important;
    max-width: 100% !important;
}

.store-section:nth-child(even) {
    background: #fafafa;
}

.store-section .store-section-header {
    max-width: 1200px;
    margin: 0 auto 40px !important;
}

.store-section-title {
    font-size: 36px !important;
    font-weight: 900 !important;
    text-transform: uppercase !important;
    letter-spacing: -1px !important;
    color: #0a0a0a !important;
    position: relative;
    display: inline-block;
    padding-bottom: 15px !important;
}

.store-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: var(--store-primary);
}

.store-section-link {
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    font-size: 13px !important;
    padding: 10px 25px !important;
    background: #0a0a0a !important;
    color: white !important;
    border-radius: 0 !important;
    transition: all 0.3s ease !important;
}

.store-section-link:hover {
    background: var(--store-primary) !important;
    color: white !important;
}

/* ========================================
   PRODUCTS GRID - Layout distintivo
   ======================================== */
.store-products {
    max-width: 1200px;
    margin: 0 auto;
    gap: 20px !important;
}

.store-product {
    background: #ffffff !important;
    border-radius: 0 !important;
    border: none !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08) !important;
    overflow: hidden;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.store-product:hover {
    transform: translateY(-10px) !important;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15) !important;
}

/* Badge de descuento - SUPER prominente */
.store-product-badge {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: auto !important;
    background: #ff0000 !important;
    color: white !important;
    font-size: 14px !important;
    font-weight: 900 !important;
    padding: 10px 20px !important;
    border-radius: 0 !important;
    z-index: 10 !important;
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.4) !important;
    letter-spacing: 0.5px !important;
}

/* Overlay en imagen del producto */
.store-product-image {
    position: relative;
    overflow: hidden;
}

.store-product-image::after {
    content: 'VER PRODUCTO';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--store-primary);
    color: white;
    padding: 14px;
    text-align: center;
    font-weight: 800;
    font-size: 12px;
    letter-spacing: 2px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.store-product:hover .store-product-image::after {
    transform: translateY(0);
}

.store-product-image img {
    transition: transform 0.5s ease !important;
}

.store-product:hover .store-product-image img {
    transform: scale(1.1) !important;
}

/* Product Info - Estilo diferente */
.store-product-info {
    padding: 20px !important;
    text-align: center !important;
    background: #ffffff !important;
}

.store-product-name {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #1a1a1a !important;
    margin-bottom: 12px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

.store-product-price {
    font-size: 24px !important;
    font-weight: 900 !important;
    color: #0a0a0a !important;
    margin-bottom: 16px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.store-product-price .compare {
    font-size: 16px !important;
    color: #999 !important;
    font-weight: 400 !important;
}

/* Botón de producto */
.store-product-btn {
    background: #0a0a0a !important;
    color: white !important;
    border-radius: 0 !important;
    padding: 14px 20px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    font-size: 12px !important;
    transition: all 0.3s ease !important;
}

.store-product-btn:hover {
    background: var(--store-primary) !important;
}

/* ========================================
   TRUST BADGES - Estilo diferente
   ======================================== */
.store-trust-badges {
    background: #0a0a0a !important;
    padding: 50px 24px !important;
}

.store-trust-badges .trust-badge {
    color: white !important;
}

.store-trust-badges .trust-badge-icon {
    background: var(--store-primary) !important;
    color: white !important;
}

.store-trust-badges .trust-badge-title {
    color: white !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
}

.store-trust-badges .trust-badge-text {
    color: rgba(255, 255, 255, 0.7) !important;
}

/* ========================================
   NEWSLETTER - Rediseñado
   ======================================== */
.store-newsletter {
    background: linear-gradient(135deg, var(--store-primary) 0%, var(--store-primary-dark) 100%) !important;
    padding: 80px 24px !important;
    text-align: center;
}

.store-newsletter h3 {
    color: white !important;
    font-size: 32px !important;
    font-weight: 900 !important;
    text-transform: uppercase !important;
    letter-spacing: -1px !important;
    margin-bottom: 15px !important;
}

.store-newsletter p {
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 16px !important;
}

.store-newsletter input[type="email"] {
    border-radius: 0 !important;
    padding: 16px 24px !important;
    font-size: 15px !important;
}

.store-newsletter button {
    background: #0a0a0a !important;
    color: white !important;
    border-radius: 0 !important;
    padding: 16px 40px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
}

.store-newsletter button:hover {
    background: #ffffff !important;
    color: #0a0a0a !important;
}

/* ========================================
   FOOTER - Oscuro y elegante
   ======================================== */
.store-footer {
    background: #0a0a0a !important;
    color: rgba(255, 255, 255, 0.8) !important;
    padding: 60px 24px 30px !important;
}

.store-footer h4 {
    color: #ffffff !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    font-size: 14px !important;
    margin-bottom: 20px !important;
    position: relative;
    padding-bottom: 12px !important;
}

.store-footer h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--store-primary);
}

.store-footer a {
    color: rgba(255, 255, 255, 0.7) !important;
    transition: all 0.3s ease !important;
}

.store-footer a:hover {
    color: var(--store-primary) !important;
    padding-left: 5px;
}

.store-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    margin-top: 40px !important;
    padding-top: 30px !important;
}

/* Social icons */
.store-footer .footer-social a {
    background: rgba(255, 255, 255, 0.1) !important;
    width: 40px !important;
    height: 40px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
    margin-right: 10px !important;
    transition: all 0.3s ease !important;
}

.store-footer .footer-social a:hover {
    background: var(--store-primary) !important;
    transform: translateY(-3px);
    padding-left: 0;
}

/* ========================================
   CART DRAWER - Rediseñado
   ======================================== */
.cart-drawer {
    border-radius: 0 !important;
    box-shadow: -10px 0 60px rgba(0, 0, 0, 0.3) !important;
}

.cart-drawer .cart-header {
    background: #0a0a0a !important;
    color: white !important;
}

.cart-drawer .checkout-btn {
    background: var(--store-primary) !important;
    border-radius: 0 !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    padding: 16px !important;
}

/* ========================================
   MOBILE RESPONSIVE
   ======================================== */
@media (max-width: 768px) {
    .store-hero h1 {
        font-size: 32px !important;
        letter-spacing: -1px !important;
    }

    .store-hero p {
        font-size: 16px !important;
    }

    .store-section-title {
        font-size: 24px !important;
    }

    .store-product-badge {
        font-size: 12px !important;
        padding: 8px 14px !important;
    }

    .store-product-image::after {
        display: none;
    }
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.store-product {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.store-product:nth-child(1) {
    animation-delay: 0.1s;
}

.store-product:nth-child(2) {
    animation-delay: 0.15s;
}

.store-product:nth-child(3) {
    animation-delay: 0.2s;
}

.store-product:nth-child(4) {
    animation-delay: 0.25s;
}

.store-product:nth-child(5) {
    animation-delay: 0.3s;
}

.store-product:nth-child(6) {
    animation-delay: 0.35s;
}

.store-product:nth-child(7) {
    animation-delay: 0.4s;
}

.store-product:nth-child(8) {
    animation-delay: 0.45s;
}

/* ========================================
   CHECKOUT PAGE - Professional spacing
   ======================================== */
.checkout-page {
    background: #f5f5f5 !important;
    min-height: 100vh;
}

.checkout-container {
    max-width: 1100px !important;
    margin: 0 auto !important;
    padding: 50px 60px !important;
}

@media (max-width: 768px) {
    .checkout-container {
        padding: 20px 16px !important;
    }
}

.checkout-main {
    gap: 40px !important;
}

.checkout-section {
    background: #ffffff !important;
    border-radius: 16px !important;
    padding: 32px !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06) !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
}

.checkout-section-title {
    color: #1a1a1a !important;
    font-weight: 700 !important;
    font-size: 1.3rem !important;
    margin-bottom: 24px !important;
}

/* Order summary sidebar */
.checkout-sidebar {
    background: #ffffff !important;
    border-radius: 16px !important;
    padding: 28px !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06) !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    height: fit-content !important;
}

/* Sticky only on desktop */
@media (min-width: 769px) {
    .checkout-sidebar {
        position: sticky !important;
        top: 100px !important;
        /* Account for header height */
    }
}

/* Form inputs focus style only */
.checkout-section input:focus,
.checkout-section select:focus,
.checkout-section textarea:focus {
    border-color: #0a0a0a !important;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.08) !important;
    outline: none !important;
}

/* Shipping and payment method options */
.shipping-method,
.payment-method {
    border-radius: 12px !important;
    border: 2px solid #e5e7eb !important;
    padding: 18px 22px !important;
    margin-bottom: 12px !important;
    transition: all 0.2s ease !important;
    cursor: pointer !important;
}

.shipping-method:hover,
.payment-method:hover {
    border-color: #0a0a0a !important;
    background: #fafafa !important;
}

.shipping-method.active,
.payment-method.active,
.shipping-method input:checked+label,
.payment-method input:checked+label {
    border-color: #0a0a0a !important;
    background: #f9fafb !important;
}

/* Complete order button */
.btn-checkout,
.checkout-btn,
button[type="submit"].checkout-submit {
    background: linear-gradient(135deg, #0a0a0a 0%, #2d2d2d 100%) !important;
    border-radius: 12px !important;
    padding: 18px 32px !important;
    font-weight: 700 !important;
    font-size: 15px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    border: none !important;
    color: white !important;
    width: 100% !important;
    transition: all 0.3s ease !important;
}

.btn-checkout:hover,
.checkout-btn:hover,
button[type="submit"].checkout-submit:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25) !important;
}