/* ═══════════════════════════════════════════
   SILLIA VAPE — Product Page Styles
   ═══════════════════════════════════════════ */

/* Breadcrumb */
.breadcrumb-bar {
    padding: calc(var(--nav-h) + 16px) 5% 16px;
    border-bottom: 1px solid var(--border);
    position: relative; z-index: 1;
}
.breadcrumb-inner {
    display: flex; align-items: center; gap: 8px;
    font-size: 0.8rem; color: var(--text-muted);
    max-width: 1200px; margin: 0 auto;
}
.breadcrumb-inner a {
    color: var(--text-muted); text-decoration: none;
    transition: color 0.2s;
}
.breadcrumb-inner a:hover { color: var(--gold); }
.breadcrumb-inner .sep { color: var(--border); font-size: 0.7rem; }
.breadcrumb-inner span { color: var(--gold); }

/* Product Page */
.product-page {
    padding: 40px 5% 80px;
    position: relative; z-index: 1;
}
.product-container {
    max-width: 1100px;
    margin: 0 auto;
}

.page-loading, .page-error {
    display: flex; flex-direction: column; align-items: center;
    padding: 100px 20px; gap: 16px; text-align: center;
    color: var(--text-muted);
}
.page-error i { font-size: 3rem; color: #ff6060; }
.page-error h3 { font-size: 1.2rem; color: var(--text-white); }

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

/* ── IMAGES ── */
.product-images-col {}

.main-image-frame {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border);
    aspect-ratio: 1;
    cursor: pointer;
    margin-bottom: 12px;
}
.main-product-img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: opacity 0.25s;
}

.image-badge-tag {
    position: absolute; top: 14px; right: 14px;
    z-index: 10;
    padding: 5px 12px;
    border-radius: 8px;
    font-size: 0.72rem; font-weight: 700;
}
.badge-out-stock { background: rgba(255,80,80,0.15); color: #ff6060; border: 1px solid rgba(255,80,80,0.3); }
.badge-in-stock { background: rgba(201,168,76,0.15); color: var(--gold); border: 1px solid var(--border); }

.carousel-arrow {
    position: absolute; top: 50%; transform: translateY(-50%);
    z-index: 10;
    width: 38px; height: 38px;
    background: rgba(10,10,10,0.8);
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--gold); font-size: 0.9rem;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.2s;
    display: none;
}
.carousel-arrow:hover { background: var(--gold); color: #000; border-color: var(--gold); }
.arrow-prev { right: 12px; }
.arrow-next { left: 12px; }

.fullscreen-hint {
    position: absolute; bottom: 12px; left: 12px;
    background: rgba(10,10,10,0.7);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 6px 10px;
    color: var(--gold); font-size: 0.75rem;
    opacity: 0; transition: opacity 0.3s;
}
.main-image-frame:hover .fullscreen-hint { opacity: 1; }

.carousel-dots {
    position: absolute; bottom: 12px;
    left: 50%; transform: translateX(-50%);
    display: flex; gap: 6px;
    display: none;
}
.carousel-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: rgba(255,255,255,0.3);
    cursor: pointer; transition: all 0.2s;
}
.carousel-dot.active { background: var(--gold); transform: scale(1.2); }

.thumbnail-strip {
    display: flex; gap: 10px;
    flex-wrap: wrap;
}
.thumbnail-item {
    width: 72px; height: 72px;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid var(--border);
    cursor: pointer;
    transition: border-color 0.2s;
    background: var(--bg-card2);
}
.thumbnail-item img { width: 100%; height: 100%; object-fit: cover; }
.thumbnail-item.active { border-color: var(--gold); }
.thumbnail-item:hover { border-color: var(--border-hover); }

/* ── INFO ── */
.product-cat-pill {
    display: inline-flex; align-items: center; gap: 6px;
    background: rgba(201,168,76,0.1);
    border: 1px solid var(--border);
    border-radius: 100px;
    padding: 5px 14px;
    font-size: 0.75rem; color: var(--gold); font-weight: 600;
    margin-bottom: 14px;
}

.product-title {
    font-family: 'Cairo', sans-serif;
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 900;
    color: var(--text-white);
    line-height: 1.3;
    margin-bottom: 20px;
}

.product-price-box {
    display: flex; align-items: baseline; gap: 12px;
    padding: 16px 20px;
    background: rgba(201,168,76,0.06);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 24px;
}
.product-price-label { font-size: 0.82rem; color: var(--text-muted); }
.product-price-value {
    font-size: 1.8rem; font-weight: 900;
    color: var(--gold);
}

.product-desc-box {
    padding: 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 24px;
}
.product-desc-box h4 {
    font-size: 0.85rem; color: var(--gold);
    margin-bottom: 8px;
    display: flex; align-items: center; gap: 6px;
}
.product-desc-box p {
    font-size: 0.88rem; color: var(--text-muted);
    line-height: 1.8;
}

/* Trust Badges */
.trust-badges {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 10px; margin-bottom: 24px;
}
.trust-badge {
    display: flex; flex-direction: column; align-items: center; text-align: center;
    gap: 6px; padding: 12px 8px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: border-color 0.2s;
}
.trust-badge:hover { border-color: var(--border-hover); }
.trust-badge > i { color: var(--gold); font-size: 1.1rem; }
.trust-badge strong { display: block; font-size: 0.72rem; }
.trust-badge span { font-size: 0.65rem; color: var(--text-muted); }

/* Add to Cart */
.add-cart-section { margin-bottom: 20px; }
.qty-section {
    display: flex; align-items: center; gap: 14px;
    margin-bottom: 14px;
}
.qty-section label {
    font-size: 0.85rem; color: var(--text-muted); font-weight: 600;
    display: flex; align-items: center; gap: 6px;
    white-space: nowrap;
}
.qty-controls {
    display: flex; align-items: center; gap: 0;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px; overflow: hidden;
}
.qty-controls input {
    width: 48px; text-align: center;
    background: transparent; border: none;
    color: var(--text-white); font-family: 'Cairo', sans-serif;
    font-size: 0.95rem; font-weight: 700; outline: none;
    padding: 10px 0;
}
.qty-controls .qty-ctrl {
    width: 40px; height: 40px;
    background: transparent; border: none;
    border-radius: 0;
}
.qty-controls .qty-ctrl:hover { background: rgba(201,168,76,0.15); }

.add-to-cart-btn {
    width: 100%; padding: 16px;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: #000; border: none;
    border-radius: 12px;
    font-family: 'Cairo', sans-serif;
    font-size: 1rem; font-weight: 700;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center; gap: 10px;
    transition: all 0.3s;
    box-shadow: 0 4px 20px rgba(201,168,76,0.3);
}
.add-to-cart-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(201,168,76,0.5);
}
.add-to-cart-btn:disabled { opacity: 0.5; cursor: not-allowed; }

.out-of-stock-msg {
    padding: 16px;
    background: rgba(255,80,80,0.08);
    border: 1px solid rgba(255,80,80,0.25);
    border-radius: var(--radius);
    color: #ff6060;
    font-size: 0.88rem; font-weight: 600;
    display: flex; align-items: center; gap: 8px;
    margin-bottom: 20px;
}

.product-contact {
    display: flex; gap: 10px; flex-wrap: wrap;
}
.contact-link {
    flex: 1; min-width: 120px;
    display: flex; align-items: center; justify-content: center; gap: 8px;
    padding: 11px 16px;
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text-muted); text-decoration: none;
    font-size: 0.85rem; font-weight: 600;
    transition: all 0.25s;
}
.contact-link:hover { border-color: var(--border-hover); color: var(--gold); }
.contact-link.wa { border-color: rgba(37,211,102,0.3); color: #25D366; }
.contact-link.wa:hover { background: rgba(37,211,102,0.1); border-color: #25D366; }

/* Similar */
.similar-section {
    padding: 0 5% 80px;
    position: relative; z-index: 1;
}

/* Fullscreen Modal */
.fullscreen-modal {
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.96);
    z-index: 9999;
    display: none;
    flex-direction: column;
    align-items: center; justify-content: center;
}
.fullscreen-modal.show { display: flex; }

.fullscreen-close {
    position: absolute; top: 20px; right: 20px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: white; font-size: 1.1rem;
    width: 44px; height: 44px; border-radius: 50%;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.2s;
}
.fullscreen-close:hover { background: var(--gold); color: #000; border-color: var(--gold); }

.fullscreen-nav {
    display: flex; align-items: center; gap: 20px;
    width: 90%; max-width: 800px;
}
#fullscreenImage {
    flex: 1; max-height: 80vh;
    object-fit: contain;
    transition: opacity 0.2s;
    border-radius: 8px;
}
.fs-arrow {
    width: 48px; height: 48px; flex-shrink: 0;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    color: white; font-size: 1rem;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.2s;
}
.fs-arrow:hover { background: var(--gold); color: #000; border-color: var(--gold); }

.fullscreen-dots {
    display: flex; gap: 8px; margin-top: 16px;
}

/* Responsive */
@media (max-width: 768px) {
    .product-grid { grid-template-columns: 1fr; gap: 30px; }
    .trust-badges { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 480px) {
    .trust-badges { grid-template-columns: 1fr; }
}
/* ── OPTIONS ── */
.product-options-section {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 24px;
}

.option-block {}

.option-label {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.option-label i { color: var(--gold); font-size: 0.75rem; }

.option-choices {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.choice-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.2s;
    user-select: none;
}
.choice-chip input { display: none; }
.choice-chip:hover { border-color: var(--border-hover); }
.choice-chip.selected {
    border-color: var(--gold);
    background: rgba(201,168,76,0.12);
}

.choice-text {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-white);
}
.choice-chip.selected .choice-text { color: var(--gold); }

.choice-price {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 100px;
}
.choice-price.pos { background: rgba(201,168,76,0.15); color: var(--gold); }
.choice-price.neg { background: rgba(255,80,80,0.12); color: #ff6060; }
.options-error {
    display: none;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: rgba(255,80,80,0.08);
    border: 1px solid rgba(255,80,80,0.25);
    border-radius: var(--radius);
    color: #ff6060;
    font-size: 0.83rem;
    font-weight: 600;
    margin-bottom: 12px;
}/* ── DISCOUNT PRICE UI ── */
.price-discount-wrap {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.price-badge-discount {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: linear-gradient(135deg, #ff4d4d, #c0392b);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 100px;
    width: fit-content;
    letter-spacing: 0.03em;
    box-shadow: 0 2px 10px rgba(255,77,77,0.35);
    animation: pulseBadge 2s ease-in-out infinite;
}
.price-badge-discount i { font-size: 0.7rem; }

@keyframes pulseBadge {
    0%, 100% { box-shadow: 0 2px 10px rgba(255,77,77,0.35); }
    50%       { box-shadow: 0 2px 18px rgba(255,77,77,0.6); }
}

.price-row {
    display: flex;
    align-items: baseline;
    gap: 12px;
    flex-wrap: wrap;
}

.price-original {
    font-size: 1rem;
    color: var(--text-muted);
    text-decoration: line-through;
    font-weight: 500;
    opacity: 0.7;
}

.price-final {
    font-size: 2rem;
    font-weight: 900;
    color: var(--gold);
    line-height: 1;
}

.price-saving {
    font-size: 0.78rem;
    font-weight: 700;
    color: #4ade80;
    background: rgba(74,222,128,0.1);
    border: 1px solid rgba(74,222,128,0.2);
    border-radius: 8px;
    padding: 4px 12px;
    width: fit-content;
}