﻿.navbar { position: sticky; top: 0; z-index: 100; background: #fff; border-bottom: 1px solid #eee; }
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; color: #1a1a1a; background: #fff; font-family: Inter, Arial, sans-serif; }
a { text-decoration: none; }
img { max-width: 100%; }
button, input { font: inherit; }
.nav-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; padding: 0 24px; height: 70px; }
.logo { font-family: "Playfair Display", serif; font-size: 24px; font-weight: 700; color: #1a1a1a; letter-spacing: -0.5px; }
.logo span { color: #c9a96e; }
.nav-links { margin-left: 50px; display: flex; gap: 28px; }
.nav-links a { color: #555; font-size: 14px; font-weight: 500; letter-spacing: 0.3px; transition: color 0.2s; }
.nav-links a:hover { color: #c9a96e; }
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.nav-actions a { color: #555; font-size: 18px; }
.nav-search { position: relative; }
.nav-search summary { list-style: none; cursor: pointer; color: #555; font-size: 18px; }
.nav-search summary::-webkit-details-marker { display: none; }
.nav-search form { position: absolute; top: 40px; right: 0; z-index: 110; display: flex; gap: 8px; padding: 12px; background: #fff; box-shadow: 0 4px 16px rgba(0,0,0,.12); white-space: nowrap; }
.nav-search input { width: 180px; padding: 8px; border: 1px solid #ddd; }
.nav-search button { padding: 8px 12px; border: 0; background: #1a1a1a; color: #fff; cursor: pointer; }
.mobile-menu-btn { display: none; background: none; border: none; font-size: 24px; color: #333; cursor: pointer; }
.hero { padding: 80px 24px; text-align: center; background: linear-gradient(180deg, #f8f6f3 0%, #fff 100%); }
.hero-content { max-width: 700px; margin: 0 auto; }
.hero-tag { font-size: 13px; font-weight: 600; color: #c9a96e; text-transform: uppercase; letter-spacing: 3px; margin-bottom: 16px; }
.hero h1 { font-family: "Playfair Display", serif; font-size: 52px; font-weight: 700; color: #1a1a1a; margin-bottom: 16px; }
.hero-desc { font-size: 17px; color: #777; line-height: 1.6; margin-bottom: 30px; }
.hero-categories { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.cat-pill { display: inline-block; padding: 10px 24px; border: 1px solid #ddd; border-radius: 25px; color: #555; font-size: 13px; font-weight: 500; transition: all 0.2s; }
.cat-pill:hover { background: #1a1a1a; color: #fff; border-color: #1a1a1a; }
.products { max-width: 1200px; margin: 0 auto; padding: 60px 24px; }
.section-header { text-align: center; margin-bottom: 40px; }
.section-header h2 { font-family: "Playfair Display", serif; font-size: 32px; font-weight: 600; color: #1a1a1a; margin-bottom: 20px; }
.filter-bar { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.filter-bar a { padding: 8px 20px; border: 1px solid #e0e0e0; border-radius: 20px; font-size: 13px; color: #666; transition: all 0.2s; }
.filter-bar { margin-bottom: 3px; }
.filter-bar a:hover, .filter-active { background: #1a1a1a; color: #fff !important; border-color: #1a1a1a; }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.product-detail-grid { grid-template-columns: minmax(0,1fr) minmax(0,1fr); max-width: 900px; margin: 0 auto; }
.product-detail-grid > div { min-width: 0; }
.product-detail-grid img { max-width: 100%; height: auto; }
.product-card { background: #fff; border-radius: 12px; overflow: hidden; transition: transform 0.3s, box-shadow 0.3s; }
.product-card:hover { transform: translateY(-4px); box-shadow: 0 8px 30px rgba(0,0,0,0.08); }
.product-image { position: relative; overflow: hidden; aspect-ratio: 280/350; max-width: 280px; margin: 0 auto; }
.product-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.product-category { position: absolute; bottom: 12px; left: 12px; background: rgba(0,0,0,0.55); color: #fff; padding: 4px 12px; border-radius: 4px; font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: 1px; }
.product-category a { color: #fff; }
.product-title { padding: 14px; font-size: 14px; font-weight: 500; line-height: 1.5; color: #333; }
.product-title a { color: #333; }
.footer { background: #1a1a1a; color: #999; padding: 60px 24px 0; }
.footer-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.footer-col h4 { color: #fff; font-family: "Playfair Display", serif; font-size: 18px; margin-bottom: 20px; }
.footer-col p { font-size: 14px; line-height: 1.8; margin-bottom: 20px; }
.footer-col a { display: block; color: #999; font-size: 14px; padding: 4px 0; transition: color 0.2s; }
.footer-col a:hover { color: #c9a96e; }
.social-links-f { display: flex; gap: 12px; margin-top: 16px; }
.social-links-f a { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; background: rgba(255,255,255,0.1); border-radius: 50%; color: #ccc; font-size: 15px; text-decoration: none; }
.social-links-f a:hover { background: #c9a96e; color: #1a1a1a; }
.footer-bottom { text-align: center; padding: 30px 0; margin-top: 40px; border-top: 1px solid rgba(255,255,255,0.08); font-size: 13px; }
.footer-bottom p { margin: 0; }
.chat-fab { position: fixed; bottom: 24px; right: 24px; width: 52px; height: 52px; border-radius: 50%; background: #25D366; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 24px; cursor: pointer; box-shadow: 0 4px 15px rgba(37,211,102,0.3); transition: transform 0.3s; z-index: 999; }
.chat-fab:hover { transform: scale(1.1); }
.pagination { text-align: center; padding: 30px 0; }
.pagination a, .pagination span { display: inline-block; padding: 8px 16px; margin: 0 3px; border: 1px solid #e0e0e0; border-radius: 20px; font-size: 14px; color: #666; }
.pagination .current { background: #1a1a1a; color: #fff; border-color: #1a1a1a; }
@media (max-width: 1024px) { .product-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-links.mobile-open { display: flex; flex-direction: column; position: absolute; top: 70px; left: 0; right: 0; background: #fff; padding: 20px; box-shadow: 0 4px 10px rgba(0,0,0,0.1); }
    .mobile-menu-btn { display: block; }
    .hero h1 { font-size: 36px; }
    .hero-categories, .filter-bar { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; max-width: 100%; padding-bottom: 10px; scroll-snap-type: x proximity; }
    .hero-categories .cat-pill, .filter-bar a { flex: 0 0 auto; scroll-snap-align: start; }
    .product-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .product-detail-grid { grid-template-columns: 1fr; }
    .product-detail-grid > div { grid-column: 1 !important; }
    body.single .section-header h2 { font-size: 26px; line-height: 1.3; overflow-wrap: anywhere; }
    .footer-inner { grid-template-columns: 1fr; }
    .hero { padding: 50px 20px; }
    .products { padding: 40px 16px; }
}
@media (max-width: 480px) {
    .product-grid:not(.product-detail-grid) { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .product-card { min-width: 0; }
    .product-title { padding: 9px; font-size: 12px; line-height: 1.35; overflow-wrap: anywhere; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; overflow: hidden; }
    .product-category { bottom: 6px; left: 6px; padding: 3px 6px; font-size: 9px; }
}

