:root {
    --primary: #3b82f6; 
    --primary-hover: #2563eb;
    --bg-main: #0f172a; 
    --bg-card: #1e293b; 
    --text-light: #f8fafc; 
    --text-muted: #94a3b8; 
    --border-color: #334155; 
    --gold: #38bdf8; 
    --radius: 8px; 
}
* { box-sizing: border-box; margin: 0; padding: 0; font-family: 'Inter', 'Segoe UI', system-ui, sans-serif; }
body { background-color: var(--bg-main); color: var(--text-light); line-height: 1.6; }
a { text-decoration: none; color: inherit; transition: color 0.3s; }
a:hover { color: var(--primary); }
.site-header { background: rgba(15, 23, 42, 0.85); backdrop-filter: blur(12px); border: 1px solid var(--border-color); padding: 1rem 2rem; position: sticky; top: 20px; z-index: 100; max-width: 1200px; margin: 20px auto; border-radius: var(--radius); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.nav-flex { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.5rem; font-weight: 800; color: var(--text-light); letter-spacing: -0.5px; }
.logo span { color: var(--primary); }
.nav-links { display: flex; gap: 25px; align-items: center; font-size: 0.95rem; font-weight: 500; }
.cart-btn { position: relative; cursor: pointer; background: var(--border-color); padding: 8px 16px; border-radius: 30px; display: flex; align-items: center; gap: 8px; transition: 0.3s; }
.cart-btn:hover { background: var(--primary); color: #fff; }
.cart-counter { position: absolute; top: -5px; right: -5px; background: var(--gold); color: #000; font-size: 0.75rem; font-weight: bold; padding: 2px 6px; border-radius: 50%; box-shadow: 0 0 10px rgba(56, 189, 248, 0.5); }
.hero { height: 65vh; background-size: cover; background-position: center; display: flex; align-items: center; justify-content: flex-start; text-align: left; color: #fff; position: relative; border-bottom: 1px solid var(--border-color); }
.hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15,23,42,0.95) 0%, rgba(15,23,42,0.7) 50%, rgba(15,23,42,0) 100%); }
.hero-content { position: relative; z-index: 1; max-width: 650px; margin-left: 5%; }
.hero h1 { font-size: 3.5rem; margin-bottom: 1rem; font-weight: 800; line-height: 1.2; background: linear-gradient(to right, #fff, var(--text-muted)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
#hero-desc { font-size: 1.2rem; color: var(--text-muted); border-left: 3px solid var(--primary); padding-left: 15px; margin-top: 20px; }
.section-title { text-align: center; margin: 4rem 0 2rem; font-size: 2.2rem; font-weight: 700; color: #fff; }
.category-title { margin: 3rem 0 1.5rem; border-bottom: 2px solid var(--border-color); padding-bottom: 10px; display: inline-block; font-size: 1.5rem; font-weight: 600; color: var(--primary); }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(480px, 1fr)); gap: 25px; margin-bottom: 4rem; }
.product-card { background: var(--bg-card); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border-color); transition: all 0.4s ease; display: flex; flex-direction: row; align-items: stretch; }
.product-card:hover { transform: translateY(-3px); border-color: var(--primary); box-shadow: 0 10px 30px rgba(59, 130, 246, 0.15); }
.product-img { width: 35%; height: auto; min-height: 200px; object-fit: cover; opacity: 0.9; transition: 0.3s; border-right: 1px solid var(--border-color); }
.product-info { width: 65%; padding: 1.5rem; display: flex; flex-direction: column; }
.product-title { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.5rem; color: var(--text-light); }
.product-desc { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 1.5rem; flex-grow: 1; }
.product-footer { display: flex; justify-content: space-between; align-items: center; margin-top: auto; border-top: 1px solid var(--border-color); padding-top: 1rem; }
.price { font-size: 1.4rem; font-weight: 800; color: var(--gold); }
.btn { background: var(--primary); color: #fff; border: none; padding: 0.6rem 1.2rem; border-radius: var(--radius); cursor: pointer; font-weight: 600; font-size: 0.95rem; transition: 0.3s; box-shadow: 0 4px 15px rgba(59, 130, 246, 0.2); }
.btn:hover { background: var(--primary-hover); transform: translateY(-2px); }
.btn-danger { background: #ef4444; color: white; border: none; padding: 6px 12px; border-radius: var(--radius); cursor: pointer; }
.page-container { max-width: 800px; margin: 40px auto; padding: 30px; background: var(--bg-card); border-radius: var(--radius); border: 1px solid var(--border-color); }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 500; color: var(--text-muted); font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.5px; }
.form-control { width: 100%; padding: 12px 15px; background: var(--bg-main); border: 1px solid var(--border-color); border-radius: var(--radius); font-size: 1rem; color: var(--text-light); transition: 0.3s; }
.form-control:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2); }
.form-control::placeholder { color: #475569; }
.cart-item { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--border-color); padding: 15px 0; }
.cart-item-info { display: flex; align-items: center; gap: 15px; flex-grow: 1; }
.cart-item img { width: 70px; height: 70px; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--border-color); }
.cart-total { text-align: right; font-size: 1.8rem; font-weight: 800; margin: 25px 0; color: var(--gold); }
.order-card { background: var(--bg-main); border: 1px solid var(--border-color); padding: 20px; margin-bottom: 15px; border-radius: var(--radius); }
.order-header { display: flex; justify-content: space-between; font-weight: bold; margin-bottom: 15px; padding-bottom: 15px; border-bottom: 1px solid var(--border-color); color: var(--text-muted); }
.modal-overlay { display: none; position: fixed; inset: 0; background: rgba(15, 23, 42, 0.9); backdrop-filter: blur(5px); z-index: 1000; align-items: center; justify-content: center; padding: 20px; }
.modal-content { background: var(--bg-card); max-width: 900px; width: 100%; border-radius: var(--radius); position: relative; display: flex; flex-wrap: wrap; overflow: hidden; max-height: 90vh; overflow-y: auto; border: 1px solid var(--border-color); box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5); }
.modal-close { position: absolute; top: 15px; right: 15px; background: rgba(255,255,255,0.05); border: 1px solid var(--border-color); color: #fff; font-size: 1.2rem; width: 35px; height: 35px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; z-index: 2; transition: 0.3s; }
.modal-close:hover { background: #ef4444; border-color: #ef4444; }
.modal-img-col { flex: 1; min-width: 300px; background: var(--bg-main); }
.modal-img-col img { width: 100%; height: 100%; object-fit: cover; opacity: 0.8; }
.modal-info-col { flex: 1.2; min-width: 300px; padding: 40px; display: flex; flex-direction: column; }
#modal-title { font-size: 2rem; margin-bottom: 10px; color: #fff; }
.modal-desc { margin: 20px 0; color: var(--text-muted); flex-grow: 1; line-height: 1.7; }
.modal-desc ul { margin-left: 20px; margin-top: 10px; }
.modal-desc li { margin-bottom: 5px; }
.clickable { cursor: pointer; }
.site-footer { margin-top: 80px; padding: 60px 0; background: var(--bg-card); border-top: 1px solid var(--border-color); }
#map-container { border-radius: var(--radius); }
.site-footer[style] { 
    background: var(--bg-card) !important; 
    border-top: 1px solid var(--border-color) !important; 
}
#contact-info, #contact-address, .site-footer p { 
    color: var(--text-muted) !important; 
}
#contact-info strong { 
    color: var(--text-light) !important; 
}
@media (max-width: 768px) {
    .product-grid { grid-template-columns: 1fr; }
    .product-card { flex-direction: column; }
    .product-img { width: 100%; height: 200px; border-right: none; border-bottom: 1px solid var(--border-color); }
    .product-info { width: 100%; }
    .site-header { margin: 0; border-radius: 0; }
}
