/*
Theme Name: Meridian Commerce
Theme URI: https://example.com/meridian-commerce
Author: OpenAI
Description: Premium, responsive WooCommerce-ready e-commerce theme with editable Customizer controls.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 8.0
License: GPL-2.0-or-later
Text Domain: meridian-commerce
*/
:root{--ink:#171717;--muted:#6d6a64;--paper:#faf9f6;--surface:#fff;--line:#e8e4dc;--accent:#b56b45;--accent2:#29483f;--radius:18px;--shadow:0 12px 35px rgba(23,23,23,.08)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.6}a{color:inherit;text-decoration:none}img{max-width:100%;height:auto;display:block}button,input,select{font:inherit}.container{width:min(1180px,92%);margin:auto}.announcement{background:var(--accent2);color:#fff;text-align:center;padding:8px 15px;font-size:13px}.site-header{position:sticky;top:0;z-index:50;background:rgba(250,249,246,.96);border-bottom:1px solid var(--line);backdrop-filter:blur(12px)}.header-inner{min-height:76px;display:flex;align-items:center;gap:28px}.brand img{max-height:46px;width:auto}.brand-text{font-size:22px;font-weight:800;letter-spacing:-.03em}.nav{display:flex;gap:22px;align-items:center;margin-left:auto;font-size:14px}.nav a:hover{color:var(--accent)}.header-actions{display:flex;gap:12px;align-items:center}.icon-link{width:38px;height:38px;border:1px solid var(--line);border-radius:50%;display:grid;place-items:center;background:#fff}.cart-badge{background:var(--accent);color:#fff;border-radius:99px;padding:1px 6px;font-size:10px;margin-left:2px}.mobile-toggle{display:none;border:0;background:none;font-size:24px}.hero{min-height:590px;display:grid;place-items:center;background-size:cover;background-position:center;position:relative}.hero:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(20,20,18,.72),rgba(20,20,18,.08))}.hero-content{position:relative;color:#fff;width:min(650px,92%);margin-right:auto;padding:90px 0}.eyebrow{text-transform:uppercase;letter-spacing:.18em;font-size:12px;font-weight:700}.hero h1{font-size:clamp(42px,6vw,74px);line-height:.98;letter-spacing:-.055em;margin:16px 0}.hero p{font-size:18px;max-width:570px;color:#eee}.buttons{display:flex;gap:12px;flex-wrap:wrap;margin-top:28px}.btn{display:inline-flex;align-items:center;justify-content:center;padding:13px 22px;border-radius:999px;border:1px solid var(--ink);background:var(--ink);color:#fff;font-weight:700;cursor:pointer}.btn.alt{background:#fff;color:var(--ink);border-color:#fff}.section{padding:78px 0}.section-head{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:28px}.section h2{font-size:38px;letter-spacing:-.04em;margin:0}.muted{color:var(--muted)}.categories,.products-grid,.features,.testimonials{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.category-card,.product-card,.feature,.testimonial{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}.category-card{position:relative;min-height:280px}.category-card img{width:100%;height:280px;object-fit:cover}.category-card .cat-copy{position:absolute;inset:auto 16px 16px;background:rgba(255,255,255,.94);padding:15px;border-radius:14px}.product-card{position:relative;padding-bottom:16px}.product-image{position:relative;background:#f1eee7;aspect-ratio:1/1;overflow:hidden}.product-image img{width:100%;height:100%;object-fit:cover;transition:transform .4s}.product-card:hover .product-image img{transform:scale(1.04)}.product-copy{padding:14px 16px}.product-copy h3{font-size:16px;margin:4px 0}.price{font-weight:800}.old-price{text-decoration:line-through;color:#999;font-weight:500;margin-right:6px}.sale-badge{position:absolute;top:12px;left:12px;background:var(--accent);color:#fff;padding:5px 9px;border-radius:99px;font-size:11px;font-weight:800}.wishlist{position:absolute;right:12px;top:12px;width:36px;height:36px;border:0;border-radius:50%;background:#fff;box-shadow:var(--shadow);cursor:pointer}.product-actions{display:flex;gap:8px;margin-top:12px}.product-actions .btn{padding:9px 13px;font-size:13px}.rating{font-size:13px;color:#b56b45}.offer{background:var(--accent2);color:#fff;border-radius:28px;padding:50px;display:flex;align-items:center;justify-content:space-between;gap:30px}.offer h2{font-size:44px;margin:8px 0}.countdown{display:flex;gap:10px}.countdown span{background:rgba(255,255,255,.12);padding:12px 16px;border-radius:12px;text-align:center;font-weight:800}.feature{padding:26px}.feature-icon{font-size:28px}.feature h3{margin:10px 0 4px}.testimonial{padding:24px}.stars{letter-spacing:2px}.newsletter{background:#e8e0d2;padding:65px 0}.newsletter-inner{display:flex;justify-content:space-between;gap:30px;align-items:center}.newsletter form{display:flex;gap:8px;width:min(480px,100%)}.newsletter input{flex:1;border:1px solid var(--line);padding:14px 16px;border-radius:999px}.site-footer{background:#181916;color:#fff;padding:60px 0 20px}.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:40px}.site-footer a{color:#d5d5d0}.site-footer a:hover{color:#fff}.copyright{border-top:1px solid #333;padding-top:20px;margin-top:40px;color:#aaa;font-size:13px}.woocommerce .site-main,.page-content{padding:55px 0}.woocommerce ul.products{margin:0}.woocommerce div.product{background:#fff;border:1px solid var(--line);padding:25px;border-radius:20px}.woocommerce div.product div.images img{border-radius:14px}.woocommerce a.button,.woocommerce button.button,.woocommerce input.button{border-radius:999px;background:var(--ink);color:#fff;padding:12px 18px}.woocommerce a.button:hover,.woocommerce button.button:hover{background:var(--accent)}.woocommerce-message,.woocommerce-info,.woocommerce-error{border-top-color:var(--accent)}.site-main .woocommerce-breadcrumb{color:var(--muted)}.shop-tools{display:flex;justify-content:space-between;gap:15px;margin-bottom:25px}.filter-box{background:#fff;border:1px solid var(--line);padding:12px;border-radius:12px}.backtop{position:fixed;right:18px;bottom:18px;width:44px;height:44px;border:0;border-radius:50%;background:var(--ink);color:#fff;display:none;z-index:40}.empty-state{text-align:center;padding:100px 20px}.mobile-nav{display:none}
@media(max-width:900px){.nav{display:none}.mobile-toggle{display:block;margin-left:auto}.header-inner{gap:10px}.header-actions .desktop-only{display:none}.categories,.products-grid,.features,.testimonials{grid-template-columns:repeat(2,1fr)}.footer-grid{grid-template-columns:repeat(2,1fr)}.hero{min-height:520px}.offer{display:block}.newsletter-inner{display:block}.newsletter form{margin-top:20px}}
@media(max-width:560px){.header-inner{min-height:64px}.brand-text{font-size:18px}.categories,.products-grid,.features,.testimonials{grid-template-columns:1fr}.section{padding:52px 0}.section h2{font-size:30px}.hero h1{font-size:44px}.hero-content{padding:70px 0}.offer{padding:30px}.offer h2{font-size:34px}.footer-grid{grid-template-columns:1fr}.shop-tools{display:block}.shop-tools>*{margin-bottom:10px}.mobile-nav{padding:12px 0;border-top:1px solid var(--line)}.mobile-nav.open{display:grid;gap:10px}}
