/* ===== RESET & BASE (Divi/WooCommerce-vriendelijk) ===== */
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, sans-serif; line-height: 1.5; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; margin: 0; padding: 0; }

/* ===== LAYOUT COMPONENTS (gemeenschappelijk) ===== */
.topbar { display: flex; justify-content: space-between; align-items: center; padding: 0.5rem 1.5rem; font-size: 0.875rem; flex-wrap: wrap; gap: 0.5rem; }
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.topbar a:hover { text-decoration: underline; }

.header { display: flex; justify-content: space-between; align-items: center; padding: 1rem 1.5rem; flex-wrap: wrap; gap: 1rem; }
.logo { font-weight: 700; font-size: 1.5rem; }
.header-main { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; flex: 1; justify-content: flex-end; }
.nav ul { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.nav a { padding: 0.25rem 0; }
.nav a:hover { text-decoration: underline; }

/* Search */
.search-form { display: flex; align-items: center; gap: 0.25rem; }
.search-form .search-input { border: 1px solid #ccc; border-radius: 4px; padding: 0.5rem 0.75rem; font-size: 0.9rem; width: 140px; transition: width 0.2s; }
.search-form .search-input:focus { outline: none; width: 180px; }
.search-btn { display: inline-flex; align-items: center; justify-content: center; padding: 0.5rem; border: 1px solid #ccc; border-radius: 4px; background: transparent; cursor: pointer; color: inherit; }
.search-btn:hover { opacity: 0.8; }
.search-btn svg { width: 20px; height: 20px; }
.search-btn span { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

.hero { padding: 3rem 1.5rem; text-align: center; }
.hero h1 { margin: 0 0 0.5rem; font-size: clamp(1.75rem, 4vw, 2.5rem); }
.hero p { margin: 0 0 1.5rem; max-width: 600px; margin-left: auto; margin-right: auto; }
.hero .btn { display: inline-block; padding: 0.75rem 1.5rem; border-radius: 4px; font-weight: 600; transition: opacity 0.2s; }
.hero .btn:hover { opacity: 0.9; }

/* Categories browse */
.categories { padding: 2rem 1.5rem; max-width: 1200px; margin: 0 auto; }
.categories h2 { margin: 0 0 1.5rem; font-size: 1.5rem; }
.category-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 1rem; }
.category-card { display: block; border: 1px solid #e0e0e0; border-radius: 8px; padding: 1.25rem; text-align: center; transition: box-shadow 0.2s, transform 0.2s; }
.category-card:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.1); transform: translateY(-2px); }
.category-card .cat-name { font-weight: 600; margin: 0; font-size: 1rem; }

.products { padding: 2rem 1.5rem; max-width: 1200px; margin: 0 auto; }
.products h2 { margin: 0 0 1.5rem; font-size: 1.5rem; }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.5rem; }
.product-card { border: 1px solid #e0e0e0; border-radius: 8px; overflow: hidden; transition: transform 0.25s ease, box-shadow 0.25s ease; display: block; }
.product-card:hover { transform: scale(1.04); box-shadow: 0 8px 24px rgba(0,0,0,0.12); }
.product-card img { width: 100%; aspect-ratio: 1; object-fit: cover; background: #f5f5f5; }
.product-card .info { padding: 1rem; }
.product-card .title { font-weight: 600; margin: 0 0 0.25rem; }
.product-card .price { font-weight: 700; color: #333; }

.footer { padding: 2rem 1.5rem 1rem; margin-top: 2rem; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 2rem; max-width: 1200px; margin: 0 auto 2rem; }
.footer h4 { margin: 0 0 0.75rem; font-size: 1rem; }
.footer ul li { margin-bottom: 0.5rem; }
.footer ul a:hover { text-decoration: underline; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.2); padding-top: 1rem; text-align: center; font-size: 0.875rem; max-width: 1200px; margin: 0 auto; }
.payment-methods, .social-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; margin: 1rem 0; align-items: center; }
.payment-methods a, .social-links a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 6px; border: 1px solid currentColor; color: inherit; transition: opacity 0.2s, transform 0.2s; }
.payment-methods a:hover, .social-links a:hover { opacity: 0.85; transform: scale(1.05); }
.payment-methods a img.payment-icon { height: 28px; width: auto; max-width: 50px; object-fit: contain; }
.footer .payment-methods { background: rgba(255,255,255,0.1); padding: 0.75rem 1rem; border-radius: 8px; }
.footer .payment-methods a { border-color: transparent; background: #fff; }
.social-links a svg { width: 22px; height: 22px; }
.social-links a span, .payment-methods a span { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.design-credit { margin-top: 0.5rem; opacity: 0.9; }

.style-nav { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; padding: 0.75rem 1rem; background: rgba(0,0,0,0.05); }
.style-nav a { padding: 0.5rem 1rem; border-radius: 4px; font-size: 0.9rem; }
.style-nav a.current { font-weight: 700; }
.layout-nav { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; padding: 0.5rem 1rem; background: rgba(0,0,0,0.03); font-size: 0.85rem; }
.layout-nav a { padding: 0.4rem 0.8rem; border-radius: 4px; opacity: 0.85; }
.layout-nav a:hover { opacity: 1; }
.layout-nav a.current { font-weight: 600; opacity: 1; }
body.style2 .layout-nav { background: rgba(255,255,255,0.05); }
body.style4 .layout-nav { background: rgba(255,255,255,0.03); }
body.style5 .layout-nav { background: rgba(99,102,241,0.08); }

/* ===== LAYOUT VARIANTS: category section visibility ===== */
/* Layout 1: grid cards (default) */
body.layout-1 .categories { display: block; }
body.layout-1 .categories-strip { display: none; }
body.layout-1 .categories-links { display: none; }
body.layout-1 .categories-minimal { display: none; }
/* Layout 2: horizontal scroll strip */
body.layout-2 .categories { display: none; }
body.layout-2 .categories-strip { display: block; }
body.layout-2 .categories-links { display: none; }
body.layout-2 .categories-minimal { display: none; }
/* Layout 3: no category block */
body.layout-3 .categories { display: none; }
body.layout-3 .categories-strip { display: none; }
body.layout-3 .categories-links { display: none; }
body.layout-3 .categories-minimal { display: none; }
/* Layout 4: simple text links row */
body.layout-4 .categories { display: none; }
body.layout-4 .categories-strip { display: none; }
body.layout-4 .categories-links { display: block; }
body.layout-4 .categories-minimal { display: none; }
/* Layout 5: minimal chips */
body.layout-5 .categories { display: none; }
body.layout-5 .categories-strip { display: none; }
body.layout-5 .categories-links { display: none; }
body.layout-5 .categories-minimal { display: block; }
/* Layout 6: hero links + 2-koloms productgrid (category grid) */
body.layout-6 .categories { display: block; }
body.layout-6 .categories-strip { display: none; }
body.layout-6 .categories-links { display: none; }
body.layout-6 .categories-minimal { display: none; }
/* Layout 7: hero compact + 4-koloms grid (category strip) */
body.layout-7 .categories { display: none; }
body.layout-7 .categories-strip { display: block; }
body.layout-7 .categories-links { display: none; }
body.layout-7 .categories-minimal { display: none; }
/* Layout 8: hero banner + 3-koloms grid (geen categorieblok) */
body.layout-8 .categories { display: none; }
body.layout-8 .categories-strip { display: none; }
body.layout-8 .categories-links { display: none; }
body.layout-8 .categories-minimal { display: none; }

/* Layout 6–8: hero & productgrid variatie */
body.layout-6 .hero { text-align: left; padding: 2.5rem 1.5rem; max-width: 1200px; margin: 0 auto; }
body.layout-6 .hero p { margin-left: 0; margin-right: auto; }
body.layout-6 .products .product-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
body.layout-7 .hero { padding: 1.75rem 1.5rem; }
body.layout-7 .hero h1 { font-size: clamp(1.5rem, 3.5vw, 2rem); }
body.layout-7 .products .product-grid { grid-template-columns: repeat(4, 1fr); gap: 1rem; }
body.layout-8 .hero { padding: 4rem 1.5rem; background-size: cover; }
body.layout-8 .hero h1 { font-size: clamp(2rem, 5vw, 3rem); }
body.layout-8 .products .product-grid { grid-template-columns: repeat(3, 1fr); }

/* Alternative category sections (layout 2, 4, 5) */
.categories-strip { padding: 1.25rem 1.5rem; max-width: 1200px; margin: 0 auto; overflow: hidden; }
.categories-strip h2 { margin: 0 0 0.75rem; font-size: 1.1rem; }
.categories-strip-inner { display: flex; gap: 0.75rem; overflow-x: auto; padding-bottom: 0.5rem; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
.categories-strip-inner::-webkit-scrollbar { height: 6px; }
.categories-strip-inner::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.2); border-radius: 3px; }
.categories-strip a { flex: 0 0 auto; padding: 0.6rem 1.25rem; border-radius: 999px; border: 1px solid currentColor; font-size: 0.9rem; font-weight: 500; scroll-snap-align: start; white-space: nowrap; transition: transform 0.2s, box-shadow 0.2s; }
.categories-strip a:hover { transform: scale(1.05); box-shadow: 0 2px 8px rgba(0,0,0,0.1); }
.categories-links { padding: 1.25rem 1.5rem; max-width: 1200px; margin: 0 auto; }
.categories-links h2 { margin: 0 0 0.75rem; font-size: 1.1rem; }
.categories-links-inner { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; }
.categories-links-inner a { font-size: 0.95rem; padding-bottom: 0.15rem; border-bottom: 1px solid transparent; transition: border-color 0.2s; }
.categories-links-inner a:hover { border-bottom-color: currentColor; }
.categories-minimal { padding: 1rem 1.5rem; max-width: 1200px; margin: 0 auto; }
.categories-minimal-inner { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.categories-minimal-inner a { font-size: 0.8rem; padding: 0.35rem 0.75rem; background: rgba(0,0,0,0.06); border-radius: 4px; transition: background 0.2s; }
.categories-minimal-inner a:hover { background: rgba(0,0,0,0.12); }

/* ===== BREADCRUMB (kruimelpad) ===== */
.breadcrumb { padding: 0.75rem 1.5rem; font-size: 0.875rem; max-width: 1200px; margin: 0 auto; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 0.35rem; margin: 0; padding: 0; list-style: none; align-items: center; }
.breadcrumb li { display: flex; align-items: center; gap: 0.35rem; }
.breadcrumb li:not(:last-child)::after { content: "/"; opacity: 0.6; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb .current { opacity: 0.9; }
body.style2 .breadcrumb, body.style4 .breadcrumb { color: #aaa; }
body.style3 .breadcrumb { color: #e8d5c4; }

/* ===== PRODUCT PAGE (single product) ===== */
.product-detail { padding: 2rem 1.5rem; max-width: 1200px; margin: 0 auto; }
.product-detail-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; }
.product-detail .product-gallery { border-radius: 8px; overflow: hidden; background: #f5f5f5; aspect-ratio: 1; }
.product-detail .product-gallery img { width: 100%; height: 100%; object-fit: cover; }
.product-detail .product-info h1 { margin: 0 0 0.5rem; font-size: 1.75rem; }
.product-detail .product-price { font-size: 1.5rem; font-weight: 700; margin: 0 0 1rem; }
.product-detail .product-description { margin: 0 0 1.5rem; line-height: 1.6; }
.product-detail .btn-cart { display: inline-block; padding: 0.75rem 1.5rem; border-radius: 4px; font-weight: 600; border: none; cursor: pointer; font-size: 1rem; transition: opacity 0.2s; }
.product-detail .btn-cart:hover { opacity: 0.9; }

@media (max-width: 768px) {
  .product-detail-inner { grid-template-columns: 1fr; }
}

/* ===== WINKEL PAGE (shop with sidebar + products) ===== */
.winkel-page { padding: 0 1.5rem 2rem; max-width: 1200px; margin: 0 auto; }
.winkel-layout { display: grid; grid-template-columns: 220px 1fr; gap: 2rem; align-items: start; }
.winkel-sidebar { position: sticky; top: 1rem; }
.winkel-sidebar h3 { margin: 0 0 1rem; font-size: 1.1rem; font-weight: 600; }
.winkel-categories { list-style: none; margin: 0; padding: 0; }
.winkel-categories li { margin-bottom: 0.35rem; }
.winkel-categories a { display: block; padding: 0.4rem 0; font-size: 0.95rem; border-bottom: 1px solid transparent; transition: border-color 0.2s, opacity 0.2s; }
.winkel-categories a:hover { border-bottom-color: currentColor; opacity: 0.9; }
.winkel-main { min-width: 0; }
.winkel-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-bottom: 1.5rem; padding-bottom: 1rem; border-bottom: 1px solid rgba(0,0,0,0.08); }
body.style2 .winkel-toolbar { border-bottom-color: rgba(255,255,255,0.15); }
body.style4 .winkel-toolbar { border-bottom-color: rgba(255,255,255,0.1); }
.winkel-count { margin: 0; font-size: 0.9rem; opacity: 0.9; }
.winkel-sort, .winkel-filter { display: flex; align-items: center; gap: 0.5rem; }
.winkel-sort label, .winkel-filter label { font-size: 0.85rem; }
.winkel-sort-select, .winkel-filter-select { padding: 0.4rem 0.6rem; border: 1px solid #ccc; border-radius: 4px; font-size: 0.9rem; background: #fff; color: inherit; cursor: pointer; }
body.style2 .winkel-sort-select, body.style2 .winkel-filter-select { border-color: #444; background: #1a1a1a; color: #fff; }
body.style4 .winkel-sort-select, body.style4 .winkel-filter-select { border-color: #2a2a2a; background: #141414; color: #e5e5e5; }
.winkel-grid { margin: 0; }

@media (max-width: 768px) {
  .winkel-layout { grid-template-columns: 1fr; }
  .winkel-sidebar { position: static; }
  .winkel-toolbar { flex-direction: column; align-items: flex-start; }
}

/* ===== STYLE 1: Minimal / Clean ===== */
body.style1 { background: #fff; color: #222; }
body.style1 .topbar { background: #f8f8f8; color: #555; border-bottom: 1px solid #eee; }
body.style1 .header { border-bottom: 1px solid #eee; }
body.style1 .logo { color: #111; }
body.style1 .hero { background: #fafafa; color: #222; }
body.style1 .hero .btn { background: #222; color: #fff; }
body.style1 .product-card { border-color: #e8e8e8; }
body.style1 .footer { background: #1a1a1a; color: #ccc; }
body.style1 .footer-bottom { border-top-color: #333; }
body.style1 .style-nav a { background: #eee; color: #333; }
body.style1 .style-nav a.current { background: #222; color: #fff; }
body.style1 .search-form .search-input, body.style1 .search-btn { border-color: #ddd; }
body.style1 .category-card { border-color: #e8e8e8; }
body.style1 .product-detail .product-gallery { background: #f0f0f0; }
body.style1 .product-detail .btn-cart { background: #222; color: #fff; }

/* ===== STYLE 2: Bold / Modern ===== */
body.style2 { background: #0d0d0d; color: #fff; }
body.style2 .topbar { background: #1a1a1a; color: #aaa; }
body.style2 .header { background: #0d0d0d; border-bottom: 2px solid #ff3366; }
body.style2 .logo { color: #ff3366; }
body.style2 .nav a:hover { color: #ff3366; }
body.style2 .hero { background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%); color: #fff; }
body.style2 .hero .btn { background: #ff3366; color: #fff; }
body.style2 .products h2 { color: #fff; }
body.style2 .product-card { border-color: #333; background: #1a1a1a; color: #fff; }
body.style2 .product-card .price { color: #ff3366; }
body.style2 .footer { background: #0d0d0d; color: #aaa; border-top: 2px solid #ff3366; }
body.style2 .footer-bottom { border-top-color: #333; }
body.style2 .style-nav a { background: #333; color: #fff; }
body.style2 .style-nav a.current { background: #ff3366; color: #fff; }
body.style2 .search-form .search-input { background: #1a1a1a; border-color: #444; color: #fff; }
body.style2 .search-btn { border-color: #444; }
body.style2 .categories h2 { color: #fff; }
body.style2 .category-card { border-color: #333; background: #1a1a1a; color: #fff; }
body.style2 .product-detail .product-gallery { background: #1a1a1a; }
body.style2 .product-detail .product-price { color: #ff3366; }
body.style2 .product-detail .btn-cart { background: #ff3366; color: #fff; }

/* ===== STYLE 3: Warm / Trust ===== */
body.style3 { background: #fdf8f3; color: #3d2914; }
body.style3 .topbar { background: #2c1810; color: #e8d5c4; }
body.style3 .topbar a:hover { color: #fff; }
body.style3 .header { background: #fff; box-shadow: 0 2px 8px rgba(44,24,16,0.08); }
body.style3 .logo { color: #8b4513; }
body.style3 .nav a:hover { color: #a0522d; }
body.style3 .hero { background: linear-gradient(180deg, #f5ebe0 0%, #fdf8f3 100%); color: #3d2914; }
body.style3 .hero .btn { background: #8b4513; color: #fff; }
body.style3 .product-card { border-color: #e8d5c4; background: #fff; }
body.style3 .product-card .price { color: #8b4513; }
body.style3 .footer { background: #2c1810; color: #e8d5c4; }
body.style3 .footer-bottom { border-top-color: #4a3020; }
body.style3 .style-nav a { background: #e8d5c4; color: #3d2914; }
body.style3 .style-nav a.current { background: #8b4513; color: #fff; }
body.style3 .search-form .search-input, body.style3 .search-btn { border-color: #c4a77a; }
body.style3 .categories h2 { color: #3d2914; }
body.style3 .category-card { border-color: #e8d5c4; background: #fff; }
body.style3 .product-detail .product-gallery { background: #f5ebe0; }
body.style3 .product-detail .product-price { color: #8b4513; }
body.style3 .product-detail .btn-cart { background: #8b4513; color: #fff; }

/* ===== STYLE 4: Dark / Luxury ===== */
body.style4 { background: #0c0c0c; color: #e5e5e5; }
body.style4 .topbar { background: #0c0c0c; color: #888; border-bottom: 1px solid #2a2a2a; }
body.style4 .header { border-bottom: 1px solid #2a2a2a; }
body.style4 .logo { color: #d4af37; letter-spacing: 0.05em; }
body.style4 .nav a:hover { color: #d4af37; }
body.style4 .hero { background: #0c0c0c; color: #e5e5e5; border-bottom: 1px solid #2a2a2a; }
body.style4 .hero .btn { background: transparent; color: #d4af37; border: 2px solid #d4af37; }
body.style4 .hero .btn:hover { background: #d4af37; color: #0c0c0c; }
body.style4 .products h2 { color: #e5e5e5; }
body.style4 .product-card { border-color: #2a2a2a; background: #141414; color: #e5e5e5; }
body.style4 .product-card .price { color: #d4af37; }
body.style4 .footer { background: #0c0c0c; color: #888; border-top: 1px solid #2a2a2a; }
body.style4 .footer-bottom { border-top-color: #2a2a2a; }
body.style4 .style-nav a { background: #2a2a2a; color: #e5e5e5; }
body.style4 .style-nav a.current { background: #d4af37; color: #0c0c0c; }
body.style4 .search-form .search-input { background: #141414; border-color: #2a2a2a; color: #e5e5e5; }
body.style4 .search-btn { border-color: #2a2a2a; }
body.style4 .categories h2 { color: #e5e5e5; }
body.style4 .category-card { border-color: #2a2a2a; background: #141414; color: #e5e5e5; }
body.style4 .product-detail .product-gallery { background: #1a1a1a; }
body.style4 .product-detail .product-price { color: #d4af37; }
body.style4 .product-detail .btn-cart { background: transparent; color: #d4af37; border: 2px solid #d4af37; }
body.style4 .product-detail .btn-cart:hover { background: #d4af37; color: #0c0c0c; }

/* ===== STYLE 5: Playful / Colorful ===== */
body.style5 { background: #f0f4ff; color: #1a1a2e; }
body.style5 .topbar { background: #6366f1; color: #fff; }
body.style5 .topbar a:hover { text-decoration: underline; }
body.style5 .header { background: #fff; border-radius: 0 0 16px 16px; box-shadow: 0 4px 20px rgba(99,102,241,0.15); }
body.style5 .logo { color: #6366f1; }
body.style5 .nav a:hover { color: #6366f1; }
body.style5 .hero { background: linear-gradient(135deg, #818cf8 0%, #c084fc 100%); color: #fff; border-radius: 16px; margin: 0 1rem 2rem; }
body.style5 .hero .btn { background: #fff; color: #6366f1; border-radius: 999px; }
body.style5 .products { padding: 2rem 1.5rem; }
body.style5 .products h2 { color: #1a1a2e; }
body.style5 .product-card { border: none; border-radius: 16px; box-shadow: 0 4px 16px rgba(0,0,0,0.08); overflow: hidden; transition: transform 0.2s, box-shadow 0.2s; }
body.style5 .product-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(99,102,241,0.2); }
body.style5 .product-card .price { color: #6366f1; }
body.style5 .footer { background: #1e1b4b; color: #c7d2fe; border-radius: 16px 16px 0 0; margin: 2rem 1rem 0; }
body.style5 .footer-bottom { border-top-color: rgba(255,255,255,0.15); }
body.style5 .style-nav a { background: #e0e7ff; color: #4338ca; border-radius: 999px; }
body.style5 .style-nav a.current { background: #6366f1; color: #fff; }
body.style5 .search-form .search-input { border-color: #c7d2fe; }
body.style5 .search-btn { border-color: #c7d2fe; }
body.style5 .category-card { border: none; box-shadow: 0 2px 12px rgba(99,102,241,0.15); background: #fff; }
body.style5 .product-detail .product-gallery { background: #e0e7ff; border-radius: 16px; }
body.style5 .product-detail .product-price { color: #6366f1; }
body.style5 .product-detail .btn-cart { background: #6366f1; color: #fff; border-radius: 999px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .header { flex-direction: column; align-items: flex-start; }
  .header-main { width: 100%; justify-content: space-between; }
  .search-form .search-input { width: 120px; }
  .search-form .search-input:focus { width: 140px; }
  .nav ul { gap: 1rem; }
  .hero { padding: 2rem 1rem; }
  .category-grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  body.layout-6 .hero { text-align: center; }
  body.layout-6 .hero p { margin-left: auto; }
  body.layout-6 .products .product-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  body.layout-7 .products .product-grid { grid-template-columns: repeat(2, 1fr); }
  body.layout-8 .products .product-grid { grid-template-columns: repeat(2, 1fr); }
  .product-card .info { padding: 0.75rem; }
  .product-detail { padding: 1.5rem 1rem; }
  .product-detail-inner { gap: 1.5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .style-nav { padding: 0.75rem; }
}

@media (max-width: 480px) {
  .topbar { padding: 0.5rem 1rem; font-size: 0.8rem; }
  .search-form .search-input { width: 100px; }
  .category-grid { grid-template-columns: 1fr 1fr; }
  .product-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .payment-methods, .social-links { justify-content: center; }
}
