/* www/assets/css/styles.css */
/* Non-critical styles — loaded async after first paint (critical.css handles above-the-fold) */

.product-card{background:#fff;border:1px solid rgba(0,0,0,0.05);border-radius:12px;overflow:hidden;transition:all 0.3s ease;box-shadow:0 5px 15px rgba(0,0,0,0.05)}.product-card:hover{transform:translateY(-5px);box-shadow:0 15px 30px rgba(0,0,0,0.1)}.card-img-wrap{height:250px;padding:20px;display:flex;align-items:center;justify-content:center;background-color:#fff;position:relative}.card-img-wrap img{max-height:100%;max-width:100%;object-fit:contain;transition:transform 0.5s ease}.product-card:hover .card-img-wrap img{transform:scale(1.05)}.card-body{padding:1.5rem;background:#fff;border-top:1px solid #eee}.card-title{font-size:1rem;font-weight:700;color:var(--text-dark);margin-bottom:10px;height:44px;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.price-wrap{margin-bottom:15px}.price-current{color:var(--brand-purple);font-size:1.4rem;font-weight:800}.price-old{color:var(--text-muted);text-decoration:line-through;font-size:0.9rem;margin-right:5px}.btn-card{width:100%;border:2px solid var(--brand-purple);color:var(--brand-purple);font-weight:600;border-radius:6px;padding:8px;transition:all 0.2s;background:transparent;display:block;text-align:center}.btn-card:hover{background-color:var(--brand-purple);color:white}.badge-custom{position:absolute;top:15px;left:15px;font-size:0.75rem;font-weight:700;padding:6px 12px;border-radius:4px;text-transform:uppercase;z-index:2;box-shadow:0 2px 5px rgba(0,0,0,0.1)}.badge-purple{background-color:var(--brand-purple);color:#fff}.badge-gold{background-color:var(--brand-gold);color:#000}.badge-red{background-color:#dc3545;color:#fff}.badge-orange{background-color:#fd7e14;color:#000}.bg-dark{background-color:var(--brand-dark)!important}.text-warning{color:var(--brand-gold)!important}footer{background-color:var(--brand-purple);color:white;padding:60px 0 30px;font-size:0.95rem}footer h4{color:var(--brand-gold);font-weight:700;margin-bottom:20px;text-transform:uppercase;font-size:1.1rem}footer a{color:#e0e0e0;text-decoration:none;transition:color 0.2s;display:block;margin-bottom:10px}footer a:hover{color:var(--brand-gold)}footer ul{list-style:none;padding-left:0}footer .contact-info i{color:var(--brand-gold);margin-right:10px}footer .text-white-50,footer a.text-white-50{color:rgba(255,255,255,0.65)!important}#cookie-banner{position:fixed;bottom:0;left:0;width:100%;background-color:var(--brand-dark);color:white;padding:20px;z-index:9999;box-shadow:0 -5px 20px rgba(0,0,0,0.3);display:none;border-top:4px solid var(--brand-gold)}#cookie-banner .btn-accept{background-color:var(--brand-gold);color:var(--brand-purple);font-weight:700}#cookie-banner .btn-reject{background-color:transparent;border:1px solid #fff;color:#fff}#promoModal .modal-content{border:2px solid var(--brand-gold);text-align:center}#promoModal .btn-facebook{background-color:#1877F2;color:white;font-weight:600;padding:10px 20px;border-radius:50px;text-decoration:none;display:inline-flex;align-items:center;gap:8px;transition:background 0.3s}#promoModal .btn-facebook:hover{background-color:#145dbf;color:#fff}#promo-step-2{display:none}.coupon-box{background:#f8f9fa;border:2px dashed var(--brand-purple);color:var(--brand-purple);font-size:1.5rem;font-weight:800;padding:10px;margin:15px 0;cursor:pointer}

/* --- HERO SECTION --- */
.hero-section {
    position: relative;
    background: linear-gradient(135deg, rgba(72,29,94,0.95) 0%, rgba(44,14,58,0.85) 100%);
    color: white;
    padding: 100px 0;
    overflow: hidden;
    margin-top: -2px;
}
.hero-bg-img {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.4;
    pointer-events: none;
}
.hero-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(72,29,94,0.8) 0%, rgba(44,14,58,0.9) 100%);
    z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 2;
}
.hero-section::after {
    content: '';
    position: absolute;
    bottom: -50px; right: -50px;
    width: 300px; height: 300px;
    background: var(--brand-gold);
    border-radius: 50%;
    opacity: 0.15;
    z-index: 1;
}
.hero-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 20px;
}
.hero-subtitle {
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 30px;
    opacity: 0.95;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}
.btn-hero {
    background-color: var(--brand-gold);
    color: var(--brand-dark);
    font-weight: 700;
    padding: 15px 40px;
    font-size: 1.1rem;
    border-radius: 5px;
    border: none;
    transition: transform 0.2s, box-shadow 0.2s;
    text-transform: uppercase;
    text-decoration: none;
    display: inline-block;
}
.btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(251, 192, 45, 0.4);
    background-color: #ffca28;
    color: var(--brand-dark);
}

/* --- OVERLAY DARK --- */
.overlay-dark {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}
.overlay-dark::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
    transition: background 0.3s ease;
}
.overlay-dark:hover::before {
    background: rgba(0, 0, 0, 0.55);
}
.overlay-dark > * {
    position: relative;
    z-index: 2;
}

/* --- SHOP BY SIZE CARDS --- */
.size-card {
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white !important;
    border-radius: 0.5rem;
}

/* --- UTILITIES --- */
.hover-effect { transition: transform 0.2s ease, box-shadow 0.2s ease; }
.hover-effect:hover { transform: translateY(-5px); box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1) !important; }

.text-shadow { text-shadow: 0 2px 4px rgba(0,0,0,0.9); }
.object-fit-contain { object-fit: contain; }
.object-fit-cover { object-fit: cover; }
.backdrop-blur { backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }

/* Badges */
.badge-custom {
    position: absolute;
    top: 15px;
    left: 15px;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 4px;
    text-transform: uppercase;
    z-index: 2;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.badge-purple { background-color: var(--brand-purple); color: #fff; }
.badge-gold { background-color: var(--brand-gold); color: #000; }
.badge-red { background-color: #dc3545; color: #fff; }
.badge-orange { background-color: #fd7e14; color: #fff; }
.badge-grey { background-color: #6c757d; color: #fff; }
.product-card.oos { opacity: 0.65; }

.btn-warning { background-color: var(--brand-gold); border-color: var(--brand-gold); color: var(--brand-dark); }
.btn-warning:hover { background-color: #e0a800; border-color: #d39e00; color: #000; }

.btn-outline-dark { border-width: 2px; }
.btn-outline-dark:hover { background-color: var(--brand-dark); color: white; }

/* ── PHONE WIDGET FAB ───────────────────────────────────────────── */
.di-phone-fab {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1050;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--brand-purple);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    box-shadow: 0 4px 16px rgba(72,29,94,0.4);
    transition: transform 0.2s, box-shadow 0.2s;
}
.di-phone-fab:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 24px rgba(72,29,94,0.5);
}
.di-phone-fab.is-open::before {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 3px solid var(--brand-gold);
    opacity: 0;
    animation: di-fab-pulse 3s ease-out infinite;
    pointer-events: none;
}
@keyframes di-fab-pulse {
    0%   { transform: scale(0.9); opacity: 0.6; }
    100% { transform: scale(1.5); opacity: 0; }
}
.di-fab-dot {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid #fff;
}
.di-fab-dot.open  { background: #22c55e; }
.di-fab-dot.closed { background: #ef4444; }

/* ── PHONE WIDGET PANEL ─────────────────────────────────────────── */
.di-phone-panel {
    position: fixed;
    bottom: 88px;
    right: 24px;
    width: 340px;
    max-height: 520px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 12px 48px rgba(0,0,0,0.18);
    overflow: hidden;
    transform: translateY(20px) scale(0.95);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
    z-index: 1049;
}
.di-phone-panel.show {
    transform: translateY(0) scale(1);
    opacity: 1;
    pointer-events: auto;
}
.di-panel-header {
    background: linear-gradient(135deg, #481D5E 0%, #2c0e3a 100%);
    color: #fff;
    padding: 20px;
    position: relative;
}
.di-panel-header h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 4px;
}
.di-panel-close {
    position: absolute;
    top: 12px;
    right: 14px;
    background: none;
    border: none;
    color: rgba(255,255,255,0.7);
    font-size: 1.3rem;
    cursor: pointer;
    line-height: 1;
    padding: 4px;
}
.di-panel-close:hover { color: #fff; }
.di-status-indicator {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    opacity: 0.9;
}
.di-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}
.di-status-dot.open  { background: #22c55e; box-shadow: 0 0 6px rgba(34,197,94,0.6); }
.di-status-dot.closed { background: #ef4444; }
.di-panel-body { padding: 20px; }

.di-call-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.2s;
}
.di-call-btn-primary {
    background: var(--brand-purple);
    color: #fff;
    border: none;
}
.di-call-btn-primary:hover {
    background: #5a2476;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(72,29,94,0.3);
}
.di-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 16px 0;
    color: #999;
    font-size: 0.8rem;
}
.di-divider::before,
.di-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e5e5e5;
}
.di-cb-form .form-control {
    border-radius: 8px;
    border: 1.5px solid #ddd;
    padding: 10px 14px;
    font-size: 0.9rem;
}
.di-cb-form .form-control:focus {
    border-color: var(--brand-purple);
    box-shadow: 0 0 0 3px rgba(72,29,94,0.1);
}
.di-cb-submit {
    width: 100%;
    padding: 11px;
    border-radius: 10px;
    border: 2px solid var(--brand-purple);
    background: transparent;
    color: var(--brand-purple);
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.di-cb-submit:hover {
    background: var(--brand-purple);
    color: #fff;
}
.di-cb-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}
.di-cb-error {
    color: #dc3545;
    font-size: 0.82rem;
    margin-top: 6px;
    min-height: 1.2em;
}
.di-cb-success {
    text-align: center;
    padding: 10px 0;
}
.di-cb-success i {
    font-size: 2.5rem;
    color: #22c55e;
    display: block;
    margin-bottom: 8px;
    animation: di-cb-pop 0.4s cubic-bezier(0.34,1.56,0.64,1);
}
@keyframes di-cb-pop {
    0%   { transform: scale(0); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}
.di-hours-list {
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
    font-size: 0.88rem;
    color: #555;
}
.di-hours-list li {
    padding: 4px 0;
    display: flex;
    justify-content: space-between;
}
.di-hours-list li strong { color: #333; }

/* Mobile responsive */
@media (max-width: 576px) {
    .di-phone-panel {
        right: 0;
        bottom: 0;
        width: 100%;
        max-height: 85vh;
        border-radius: 16px 16px 0 0;
    }
    .di-phone-panel.show {
        transform: translateY(0) scale(1);
    }
    .di-phone-fab { bottom: 16px; right: 16px; }
}
/* Hide FAB when cookie banner is visible */
body.cookie-banner-visible .di-phone-fab,
body.cookie-banner-visible .di-phone-panel { display: none; }