/* assets/css/style.css - GOLD HIVE EDITION (v15.0 STRIKETHROUGH FIXED) */

:root {
    /* --- CORE PALETTE --- */
    --bg-page: #050505;
    --bg-gradient: radial-gradient(circle at top, #3b2717 0%, #050505 70%);
    
    --gold-primary: #e3b358;
    --gold-btn-grad: linear-gradient(180deg, #fce38a 0%, #d4af37 100%);
    --gold-border: #8a6e3e;
    
    --cream-bg: #f9f4e8;
    --cream-text: #4a3b2a;
    --glass-bg: rgba(20, 18, 16, 0.85);
    
    /* Tech Section */
    --neon-cyan: #00ffc3;
    --tech-card-bg: rgba(255,255,255,0.03);
    --tech-pill: linear-gradient(90deg, #00ffc3, #f6b93b);
}

/* GLOBAL RESET */
* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-page);
    background-image: 
        radial-gradient(circle at top, rgba(59, 39, 23, 0.9) 0%, rgba(5, 5, 5, 1) 85%),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='49' viewBox='0 0 28 49'%3E%3Cg fill-rule='evenodd'%3E%3Cg id='hexagons' fill='%23d9b15f' fill-opacity='0.05' fill-rule='nonzero'%3E%3Cpath d='M13.99 9.25l13 7.5v15l-13 7.5L1 31.75v-15l12.99-7.5zM3 17.9v12.7l10.99 6.34 11-6.35V17.9l-11-6.34L3 17.9zM0 15l12.98-7.5V0h-2v6.35L0 12.69v2.3zm0 18.5L12.98 41v8h-2v-6.85L0 35.81v-2.3zM15 0v7.5L27.99 15H28v-2.31h-.01L17 6.35V0h-2zm0 49v-8l12.99-7.5H28v2.31h-.01L17 42.15V49h-2z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    background-attachment: fixed;
    background-size: cover, 60px 100px;
    color: #fff;
    direction: rtl;
    line-height: 1.6;
    min-height: 100vh;
    padding-bottom: 50px;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 550px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* --- HEADER --- */
header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 15px 0; margin-bottom: 20px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.logo-circle {
    width: 40px; height: 40px;
    background: radial-gradient(#d4af37, #000);
    border-radius: 50%;
    border: 1px solid var(--gold-primary);
    display: flex; align-items: center; justify-content: center;
    font-size: 20px;
}
.brand-text h1 { font-family: serif; font-size: 18px; color: var(--gold-primary); margin: 0; line-height: 1; }
.brand-text span { font-size: 10px; color: #ccc; display: block; }
.nav-link { font-size: 14px; color: #eee; font-weight: 500; }

/* --- HERO IMAGE CARD (Default: Single Product) --- */
.hero-image-card {
    background: radial-gradient(circle at 25% 0, #f6d47d 0, #b37a2b 30%, #22130b 70%);
    box-shadow: 0 18px 40px rgba(0,0,0,0.9);
    border: 1px solid rgba(217,177,95,0.3);
    border-radius: 1.9rem;
    height: 100%;
    min-height: 400px; /* Tall for Single Page */
    width: 100%;
    position: relative;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
    margin-bottom: 1.5rem;
    padding: 15px; /* The Frame */
}
.hero-image-card::after {
    content: ''; position: absolute;
    top: 15px; left: 15px; right: 15px; bottom: 15px;
    border-radius: 1.5rem;
    border: 1px solid rgba(255,255,255,0.25);
    background: linear-gradient(180deg, rgba(255,255,255,0.1) 0%, rgba(0,0,0,0) 100%);
    box-shadow: inset 0 0 20px rgba(0,0,0,0.5);
    pointer-events: none; z-index: 10;
}
.hero-image-card img {
    width: 100%; height: 100%;
    object-fit: contain; /* Full jar visible on mobile */
    border-radius: 1.5rem; z-index: 1;
}
.badge {
    position: absolute; top: 30px; right: 30px;
    background: linear-gradient(90deg, #ffd700, #daa520);
    color: #3d2715; padding: 6px 16px; border-radius: 20px;
    font-weight: bold; font-size: 12px; z-index: 11;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.4);
}
.honey-jar-mockup { font-size: 120px; z-index: 2; filter: drop-shadow(0 25px 25px rgba(0,0,0,0.8)); transform: translateY(10px); }

/* --- HOMEPAGE GRID (COMPACT & SPACED) --- */
.hive-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 Cols */
    gap: 20px; /* Wider gap for cleaner look */
    padding-bottom: 20px;
}
.hive-item {
    display: flex; flex-direction: column;
    align-items: center; text-align: center;
}
/* Smaller Card for List */
.hive-item .hero-image-card {
    min-height: 220px; height: 220px;
    border-radius: 1.2rem;
    margin-bottom: 12px; 
    padding: 10px;
}
.hive-item .hero-image-card::after {
    top: 10px; left: 10px; right: 10px; bottom: 10px;
}
.hive-item .badge {
    top: 10px; right: 10px; font-size: 9px; padding: 4px 10px;
}
.hive-item .honey-jar-mockup { font-size: 50px; }

/* LIST TYPOGRAPHY & BUTTONS */
.hive-item .card-title {
    font-size: 1rem; color: var(--gold-primary);
    font-weight: bold; margin-bottom: 8px;
    min-height: 2.4em; line-height: 1.2;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    overflow: hidden;
}
.hive-item .card-info-row {
    display: flex; flex-direction: column;
    gap: 10px; width: 100%; align-items: center;
}

/* PRICE DISPLAY (WITH STRIKETHROUGH) */
.card-price-container {
    display: flex; flex-direction: column;
    align-items: center;
    line-height: 1.1;
}
.hive-item .card-price { font-size: 1.15rem; font-weight: 800; color: #fff; }
.hive-item .card-old-price { 
    font-size: 0.9rem; 
    color: #ff7676; /* Red */
    text-decoration: line-through; /* Strikethrough */
    margin-bottom: 4px; 
    font-weight: 500;
    opacity: 0.8;
}

.hive-item .btn-buy {
    width: 100%; padding: 10px 0;
    font-size: 0.95rem;
    background: var(--gold-btn-grad);
    border: none; border-radius: 50px;
    color: #2b1d0e; font-weight: 800; cursor: pointer;
    box-shadow: 0 4px 15px rgba(217, 177, 95, 0.3);
}

/* --- PRODUCT HERO TEXT (Single Page) --- */
.product-title { text-align: center; font-size: 26px; color: var(--gold-primary); margin-bottom: 8px; font-weight: 700; }
.product-desc { text-align: center; font-size: 14px; color: #d1c4b0; margin-bottom: 25px; padding: 0 10px; }

/* --- FILTERS --- */
.filter-scroll-container {
    display: flex; gap: 10px; overflow-x: auto; 
    padding-bottom: 15px; margin-bottom: 25px; 
    scrollbar-width: none; -ms-overflow-style: none;
    justify-content: center;
}
.filter-pill {
    position: static; background: #222; color: #fff; font-size: 13px;
    padding: 10px 25px; text-decoration: none;
    border: 1px solid rgba(217, 177, 95, 0.2); transition: 0.3s;
}
.filter-pill.active {
    background: var(--gold-btn-grad);
    color: #000; border-color: var(--gold-primary);
    box-shadow: 0 0 15px rgba(217, 177, 95, 0.4);
}

/* --- SINGLE PAGE COMPONENTS (Kept same) --- */
.uses-card { background: var(--cream-bg); color: var(--cream-text); border-radius: 25px; padding: 25px; margin-bottom: 25px; box-shadow: 0 10px 30px rgba(0,0,0,0.3); }
.uses-title { text-align: center; font-size: 18px; font-weight: bold; margin-bottom: 15px; color: #2b1d0e; }
.uses-list li { margin-bottom: 12px; font-size: 14px; position: relative; padding-right: 20px; list-style: none; }
.uses-list li::before { content: '◆'; color: #d4af37; position: absolute; right: -5px; }

.buy-card { background: var(--glass-bg); border: 1px solid var(--gold-border); border-radius: 25px; padding: 25px; margin-bottom: 40px; backdrop-filter: blur(15px); box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.price-row { display: flex; justify-content: flex-end; align-items: baseline; gap: 12px; margin-bottom: 20px; }
.current-price { color: #fff; font-size: 24px; font-weight: 800; }
.old-price { color: #888; font-size: 14px; text-decoration: line-through; }
.form-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 15px; }
.input-box { background: #000; border: 1px solid #555; color: #fff; border-radius: 15px; padding: 12px 15px; width: 100%; font-size: 14px; }
.qty-wrapper { background: #000; border: 1px solid #555; border-radius: 50px; display: flex; align-items: center; justify-content: space-between; width: 120px; padding: 8px 15px; }
.qty-btn { background: none; border: none; color: var(--gold-primary); font-size: 18px; font-weight: bold; cursor: pointer; }
.qty-input { width: 30px; background: none; border: none; color: white; text-align: center; font-weight: bold; }
.btn-buy-lg { background: var(--gold-btn-grad); width: 100%; border: none; border-radius: 50px; padding: 14px; font-size: 18px; font-weight: 800; color: #2b1d0e; margin-top: 10px; cursor: pointer; }
.note { text-align: center; font-size: 11px; color: #888; margin-top: 12px; }

.tech-header { text-align: center; font-size: 18px; color: #ddd; margin-bottom: 20px; font-weight: bold; }
.tech-card { background: linear-gradient(145deg, #1c1e26, #111216); border: 1px solid rgba(0, 255, 195, 0.2); border-radius: 18px; padding: 15px; margin-bottom: 15px; position: relative; }
.dot { width: 6px; height: 6px; background: var(--neon-cyan); border-radius: 50%; position: absolute; top: 15px; right: 15px; box-shadow: 0 0 8px var(--neon-cyan); }
.tech-badge { background: var(--tech-pill); color: #000; font-size: 9px; font-weight: 800; padding: 4px 10px; border-radius: 8px; position: absolute; top: 12px; left: 15px; }
.tech-title { text-align: right; color: #fff; font-size: 15px; margin-top: 25px; margin-bottom: 6px; font-weight: 700; }
.tech-content { text-align: right; color: #aaa; font-size: 13px; line-height: 1.5; }

/* --- MODAL --- */
.modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.85); z-index: 2000; display: none; align-items: center; justify-content: center; backdrop-filter: blur(8px); }
.modal-card { background: #110e0c; width: 95%; max-width: 450px; border-radius: 25px; border: 1px solid #8a6e3e; padding: 20px; max-height: 90vh; overflow-y: auto; box-shadow: 0 20px 50px rgba(0,0,0,0.8); animation: zoomIn 0.3s ease; }
.modal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; border-bottom: 1px solid rgba(138, 110, 62, 0.3); padding-bottom: 15px; }
.modal-title { color: #e3b358; font-size: 16px; margin: 0; }
.close-btn { background: #e3b358; color: #000; border: none; width: 25px; height: 25px; border-radius: 50%; font-size: 18px; line-height: 1; cursor: pointer; }
.modal-section { border: 1px solid rgba(255, 255, 255, 0.15); border-radius: 15px; padding: 15px; margin-bottom: 15px; position: relative; padding-top: 20px; }
.section-label { position: absolute; top: -10px; right: 15px; background: #110e0c; padding: 0 10px; color: #ccc; font-size: 12px; font-weight: bold; }
.field-label { display: block; color: #aaa; font-size: 11px; margin-bottom: 5px; text-align: right; }
.modal-input { width: 100%; background: #000; border: 1px solid #444; color: #fff; padding: 10px; border-radius: 10px; font-size: 14px; margin-bottom: 10px; }
.modal-input:focus { border-color: #e3b358; outline: none; }
.shipping-hint { text-align: left; font-size: 12px; color: #888; }
#shipping-cost-val { color: #e3b358; font-weight: bold; }
.promo-wrapper { display: flex; gap: 10px; }
.promo-input { margin-bottom: 0; }
.btn-apply { background: linear-gradient(180deg, #fce38a 0%, #d4af37 100%); border: none; border-radius: 10px; padding: 0 15px; color: #000; font-weight: bold; font-size: 12px; cursor: pointer; white-space: nowrap; }
.promo-msg { font-size: 11px; margin-top: 5px; min-height: 15px; }
.totals-area { margin-top: 10px; padding: 0 5px; }
.total-row { display: flex; justify-content: space-between; font-size: 13px; margin-bottom: 5px; color: #ccc; }
.final-total { border-top: 1px solid #333; padding-top: 10px; margin-top: 10px; font-weight: bold; color: #fff; font-size: 16px; }
.btn-confirm { background: linear-gradient(180deg, #fce38a 0%, #d4af37 100%); width: 100%; border: none; border-radius: 50px; padding: 12px; font-size: 16px; font-weight: bold; color: #000; margin-top: 20px; cursor: pointer; box-shadow: 0 5px 20px rgba(227, 179, 88, 0.3); }
@keyframes zoomIn { from { transform: scale(0.9); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* --- DESKTOP ADJUSTMENTS --- */
@media (min-width: 768px) {
    .container { max-width: 1200px; }
    
    .hero-image-card {
        min-height: 500px;
        padding: 20px;
    }
    .hero-image-card::after {
        top: 20px; left: 20px; right: 20px; bottom: 20px;
    }
    .hero-image-card img {
        object-fit: cover; /* Zoom fill on Desktop */
        padding: 0;
    }
    
    .hive-grid {
        grid-template-columns: repeat(3, 1fr); /* 3 Cols */
        gap: 30px;
    }
    /* On desktop list, make cards a bit bigger than mobile */
    .hive-item .hero-image-card {
        min-height: 350px; height: 350px;
    }
}

@media (min-width: 1024px) {
    .hive-grid {
        grid-template-columns: repeat(4, 1fr); /* 4 Cols */
        gap: 40px;
    }
}