﻿
:root {
    --primary: #3b82f6;
    --primary-hover: #2563eb;
    --bg-main: #f8fafc;
    --bg-card: #ffffff;
    --text-light: #0f172a;
    --text-muted: #475569;
    --border-color: #e2e8f0;
    --gold: #d97706;
    --radius: 8px;
}
* { box-sizing: border-box; margin: 0; padding: 0; font-family: 'Inter', 'Segoe UI', system-ui, sans-serif; }
html { scroll-behavior: smooth; }
body { background-color: var(--bg-main); color: var(--text-light); line-height: 1.6; display: flex; flex-direction: column; min-height: 100vh; }
a { text-decoration: none; color: inherit; transition: color 0.3s ease; }
a:hover { color: var(--primary); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; width: 100%; }
.page-container { flex-grow: 1; }
.site-header { background: var(--bg-card); border-bottom: 1px solid var(--border-color); padding: 1.2rem 0; position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 10px rgba(0,0,0,0.02); }
.nav-flex { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.6rem; font-weight: 800; color: var(--text-light); letter-spacing: -0.5px; }
.nav-links { display: flex; gap: 30px; align-items: center; font-size: 0.95rem; font-weight: 500; }
.cart-btn { background: var(--bg-main); padding: 10px 20px; border-radius: 30px; border: 1px solid var(--border-color); font-weight: 600; display: flex; align-items: center; gap: 8px; transition: 0.3s; }
.cart-btn:hover { background: var(--primary); color: #fff !important; border-color: var(--primary); }
.hero { height: 70vh; min-height: 500px; background-size: cover; background-position: center; display: flex; align-items: center; position: relative; }
.hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 100%); }
.hero-content { position: relative; z-index: 1; max-width: 700px; color: #ffffff; }
.hero h1 { font-size: 4rem; margin-bottom: 1rem; font-weight: 800; line-height: 1.1; letter-spacing: -1px; }
#hero-desc { font-size: 1.25rem; border-left: 4px solid var(--primary); padding-left: 18px; margin-top: 20px; color: rgba(255,255,255,0.9); font-weight: 400; }
.section-title { text-align: center; margin: 4rem 0 2rem; font-size: 2.2rem; font-weight: 700; color: var(--text-light); }
.category-title { margin: 3rem 0 1.5rem; border-bottom: 2px solid var(--border-color); padding-bottom: 10px; font-size: 1.8rem; font-weight: 700; color: var(--text-light); }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 30px; margin-bottom: 4rem; }
.product-card { background: var(--bg-card); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border-color); display: flex; flex-direction: column; transition: transform 0.3s, box-shadow 0.3s; }
.product-card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.08); border-color: var(--primary); }
.product-img-wrap { width: 100%; position: relative; overflow: hidden; border-bottom: 1px solid var(--border-color); }
.product-img { width: 100%; height: 260px; object-fit: cover; transition: transform 0.5s ease; }
.product-card:hover .product-img { transform: scale(1.05); }
.product-info { padding: 1.8rem; display: flex; flex-direction: column; flex-grow: 1; }
.product-title { font-size: 1.3rem; 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; line-height: 1.5; }
.product-footer { display: flex; justify-content: space-between; align-items: center; margin-top: auto; border-top: 1px solid var(--border-color); padding-top: 1.2rem; }
.price { font-size: 1.5rem; font-weight: 800; color: var(--gold); }
.old-price { text-decoration: line-through; color: var(--text-muted); font-size: 0.9rem; margin-right: 10px; opacity: 0.7; }
.badge { position: absolute; top: 15px; left: 15px; background: #ef4444; color: #fff; padding: 5px 12px; border-radius: 4px; font-size: 0.8rem; font-weight: 700; z-index: 10; text-transform: uppercase; letter-spacing: 1px; }
.btn { background: var(--primary); color: #ffffff; border: none; padding: 12px 24px; border-radius: var(--radius); cursor: pointer; font-weight: 600; font-size: 1rem; transition: 0.3s ease; text-align: center; }
.btn:hover { filter: brightness(1.1); transform: translateY(-2px); box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 500; color: var(--text-muted); font-size: 0.95rem; }
.form-control { width: 100%; padding: 14px 18px; background: var(--bg-main); border: 1px solid var(--border-color); border-radius: var(--radius); font-size: 1rem; color: var(--text-light); transition: border-color 0.3s; }
.form-control:focus { outline: none; border-color: var(--primary); background: var(--bg-card); }
.site-footer { margin-top: auto; padding: 60px 0 30px; background: var(--bg-card); border-top: 1px solid var(--border-color); }
.product-desc ul, .product-full-desc ul { margin-top: 15px; padding-left: 25px; list-style-type: disc; }
.product-desc li, .product-full-desc li { margin-bottom: 8px; line-height: 1.6; color: var(--text-muted); }
.product-full-desc strong { color: var(--text-light); }
@media (max-width: 768px) {
    .nav-flex { flex-direction: column; gap: 15px; }
    .nav-links { flex-wrap: wrap; justify-content: center; gap: 15px; }
    .hero { height: auto; padding: 80px 20px; text-align: center; }
    .hero h1 { font-size: 2.5rem; }
    #hero-desc { border-left: none; padding-left: 0; border-top: 3px solid var(--primary); padding-top: 15px; margin-top: 15px; }
    .product-grid { grid-template-columns: 1fr; }
    .product-footer { flex-direction: column; gap: 15px; align-items: stretch; }
    .product-footer > div { text-align: center; }
}
:root { --primary: #2D6A4F !important; --bg-main: #FCFBF7 !important; --bg-card: #F4F1EA !important; --text-light: #2B2D42 !important; --radius: 12px !important; }
