:root {
    --primary: #ff6f61;
    --primary-dark: #e05b4f;
    --secondary: #2b2d42;
    --bg-color: #f8f9fa;
    --text-color: #333333;
    --white: #ffffff;
    --gray: #e9ecef;
    --border-radius: 8px;
}
* { box-sizing: border-box; margin: 0; padding: 0; font-family: system-ui, -apple-system, sans-serif; }
body { background-color: var(--bg-color); color: var(--text-color); line-height: 1.6; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.site-header { background: var(--white); border-bottom: 1px solid var(--gray); position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 4px rgba(0,0,0,0.02); }
.header-container { display: flex; align-items: center; justify-content: space-between; height: 70px; gap: 20px; }
.logo { font-size: 24px; font-weight: 800; color: var(--secondary); text-decoration: none; }
.logo span { color: var(--primary); }
.search-bar { display: flex; flex: 1; max-width: 500px; }
.search-bar input { width: 100%; padding: 10px 14px; border: 1px solid var(--gray); border-radius: var(--border-radius) 0 0 var(--border-radius); outline: none; }
.search-bar button { background: var(--primary); color: var(--white); border: none; padding: 0 20px; border-radius: 0 var(--border-radius) var(--border-radius) 0; cursor: pointer; font-weight: 600; }
.main-nav { display: flex; gap: 20px; }
.main-nav a { text-decoration: none; color: var(--secondary); font-weight: 600; }
.main-nav a:hover { color: var(--primary); }
.hero { background: linear-gradient(135deg, #2b2d42 0%, #1a1c29 100%); color: var(--white); padding: 60px 0; text-align: center; }
.hero-content h1 { font-size: 38px; margin-bottom: 10px; }
.hero-content p { font-size: 18px; margin-bottom: 25px; color: #adb5bd; }
.hero-search { display: max(400px, 60%); margin: 0 auto; display: flex; }
.hero-search input { flex: 1; padding: 14px; border: none; border-radius: var(--border-radius) 0 0 var(--border-radius); font-size: 16px; outline: none; }
.hero-search button { background: var(--primary); color: var(--white); border: none; padding: 0 25px; font-size: 16px; font-weight: 600; border-radius: 0 var(--border-radius) var(--border-radius) 0; cursor: pointer; }
.section { padding: 40px 0; }
.section h2 { font-size: 24px; margin-bottom: 20px; color: var(--secondary); }
.grid-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.card { background: var(--white); border-radius: var(--border-radius); border: 1px solid var(--gray); padding: 16px; display: flex; flex-direction: column; justify-content: space-between; position: relative; }
.card img { width: 100%; height: 160px; object-fit: contain; margin-bottom: 12px; }
.store-badge { font-size: 12px; font-weight: 700; color: #6c757d; text-transform: uppercase; margin-bottom: 6px; display: inline-block; }
.card h3 { font-size: 16px; margin-bottom: 10px; color: var(--secondary); height: 44px; overflow: hidden; }
.price-box { display: flex; align-items: center; gap: 10px; margin-bottom: 15px; }
.deal-price { font-size: 18px; font-weight: 700; color: var(--primary); }
.original-price { font-size: 14px; color: #adb5bd; text-decoration: line-through; }
.discount-badge { background: #e8f5e9; color: #2e7d32; font-size: 12px; padding: 2px 6px; border-radius: 4px; font-weight: 700; }
.btn { display: inline-block; text-align: center; padding: 10px 16px; border-radius: var(--border-radius); text-decoration: none; font-weight: 600; cursor: pointer; border: none; width: 100%; }
.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--primary-dark); }
.btn-secondary { background: var(--gray); color: var(--secondary); }
.stores-grid { display: flex; gap: 15px; overflow-x: auto; padding-bottom: 10px; }
.store-card { background: var(--white); border: 1px solid var(--gray); border-radius: var(--border-radius); min-width: 140px; height: 80px; display: flex; align-items: center; justify-content: center; text-decoration: none; color: var(--secondary); font-weight: 700; padding: 10px; }
.store-card img { max-height: 40px; max-width: 100px; object-fit: contain; }
.coupon-action { display: flex; gap: 10px; margin-bottom: 10px; }
.code-box { background: #fff3cd; border: 1px dashed #ffeeba; padding: 6px 12px; border-radius: var(--border-radius); font-family: monospace; font-weight: 700; flex: 1; text-align: center; }
.site-footer { background: var(--secondary); color: var(--white); padding: 40px 0 20px; margin-top: 60px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 30px; margin-bottom: 30px; }
.footer-col h3, .footer-col h4 { margin-bottom: 15px; color: var(--white); }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { color: #adb5bd; text-decoration: none; }
.footer-col ul li a:hover { color: var(--white); }
.footer-bottom { text-align: center; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; color: #adb5bd; font-size: 14px; }
@media(max-width: 768px) { .header-container { flex-direction: column; height: auto; padding: 10px 0; } .search-bar { width: 100%; } .main-nav { display: none; } }