/*
Theme Name: ShopMax
Theme URI: https://example.com/shopmax
Author: OpenAI
Description: A clean, responsive purple-and-white WooCommerce storefront theme.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: shopmax
Tags: e-commerce, woocommerce, custom-logo, custom-menu, featured-images, responsive-layout
*/
:root{--sm-purple:#4b19c8;--sm-purple2:#6b35e8;--sm-ink:#111827;--sm-muted:#5b6475;--sm-bg:#f7f6ff;--sm-border:#e7e5ef;--sm-radius:16px}*{box-sizing:border-box}body{margin:0;color:var(--sm-ink);font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:#fff;line-height:1.5}a{color:inherit;text-decoration:none}a:hover{color:var(--sm-purple)}img{max-width:100%;height:auto}button,input,select{font:inherit}.wrap{width:min(1240px,calc(100% - 36px));margin-inline:auto}.topbar{background:#4216b5;color:#fff;font-size:13px;padding:9px 0}.topbar .wrap,.header-main,.nav-row,.header-actions,.brand,.search-form{display:flex;align-items:center;gap:18px}.topbar .wrap{justify-content:space-between}.header-main{padding:18px 0;justify-content:space-between}.brand{gap:12px;font-weight:800;font-size:27px;line-height:1}.brand-mark{display:grid;place-items:center;width:44px;height:44px;background:linear-gradient(145deg,#7c4dff,#4b19c8);color:white;border-radius:12px;font-size:24px}.brand span span{color:var(--sm-purple)}.brand small{display:block;font-size:12px;color:var(--sm-muted);font-weight:500;margin-top:5px}.search-form{flex:1;max-width:540px;border:1px solid var(--sm-border);border-radius:999px;overflow:hidden;background:#f7f7fb;gap:0}.search-form input{width:100%;border:0;background:transparent;padding:13px 18px;outline:0}.search-form button,.button,.wp-block-button__link{border:0;background:var(--sm-purple);color:#fff;padding:12px 20px;border-radius:999px;font-weight:700;cursor:pointer}.search-form button{border-radius:0}.header-actions{font-size:13px;font-weight:650}.nav-row{border-top:1px solid var(--sm-border);border-bottom:1px solid var(--sm-border);padding:10px 0;justify-content:space-between}.nav-row nav ul{display:flex;list-style:none;margin:0;padding:0;gap:26px;font-weight:650}.nav-row nav a:hover,.current-menu-item>a{color:var(--sm-purple)}.cat-button{background:var(--sm-purple);color:#fff;padding:12px 18px;border-radius:12px;font-weight:700}.hero{background:linear-gradient(110deg,#e8e2ff,#f4f1ff 60%,#ddd4ff);padding:42px 0;overflow:hidden}.hero-grid{display:grid;grid-template-columns:1.1fr .9fr;align-items:center;gap:28px}.eyebrow{display:inline-block;background:var(--sm-purple);color:#fff;border-radius:999px;padding:6px 16px;font-weight:700;font-size:14px}.hero h1{font-size:clamp(34px,4.4vw,58px);line-height:1.08;letter-spacing:-1.5px;margin:18px 0 12px}.hero h1 em{font-style:normal;color:var(--sm-purple)}.hero p{font-size:18px;color:#303247;margin:0 0 24px}.hero-art{min-height:250px;border-radius:24px;background:radial-gradient(circle at 50% 30%,#fff 0,#d6caff 55%,transparent 70%);display:grid;place-items:center;color:#5a31c7;font-size:100px}.benefits{display:flex;gap:12px;flex-wrap:wrap;margin-top:22px}.benefit{background:#ffffffc9;border:1px solid #fff;border-radius:12px;padding:10px 14px;font-size:13px;font-weight:700}.section{padding:30px 0}.section-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}.section-head h2{font-size:26px;margin:0}.section-head h2:before{content:"";display:inline-block;width:5px;height:25px;background:var(--sm-purple);border-radius:5px;margin-right:12px;vertical-align:-4px}.category-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:16px}.category-card{border:1px solid var(--sm-border);border-radius:14px;padding:18px 10px;text-align:center;background:#fff;transition:.2s}.category-card:hover{transform:translateY(-3px);box-shadow:0 8px 24px #32118b12}.category-icon{width:66px;height:66px;border-radius:50%;background:#f1eff8;display:grid;place-items:center;margin:0 auto 10px;font-size:30px}.category-card strong{font-size:14px}.products-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.product-card{border:1px solid var(--sm-border);border-radius:15px;overflow:hidden;background:#fff;transition:.2s}.product-card:hover{box-shadow:0 10px 28px #24105b12;transform:translateY(-2px)}.product-image{height:210px;background:#faf9fd;display:grid;place-items:center;padding:16px}.product-image img{max-height:100%;width:auto;object-fit:contain}.product-info{padding:14px}.product-info h3{font-size:15px;margin:0 0 7px}.rating{color:#f5a400;font-size:14px}.price{font-weight:800;margin:7px 0 12px}.price del{color:#8b8b98;font-weight:500;margin-right:7px}.product-info .button{display:block;text-align:center;border-radius:9px;padding:10px}.woocommerce ul.products{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px!important;margin:0!important}.woocommerce ul.products li.product{float:none!important;width:auto!important;margin:0!important;border:1px solid var(--sm-border);border-radius:15px;padding:14px;overflow:hidden}.woocommerce ul.products li.product img{border-radius:10px}.woocommerce ul.products li.product .button{background:var(--sm-purple);color:#fff;border-radius:9px}.site-footer{background:#171329;color:#eee;padding:38px 0 20px;margin-top:30px}.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:30px}.site-footer a{color:#e7ddff}.site-footer p,.site-footer li{color:#c9c4d6;font-size:14px}.site-footer ul{list-style:none;padding:0}.copyright{border-top:1px solid #39334d;margin-top:25px;padding-top:16px;font-size:13px;color:#bdb6ce}.content-area{padding:32px 0;min-height:300px}.entry-title{font-size:32px}.menu-toggle{display:none}.woocommerce .woocommerce-breadcrumb{font-size:13px;color:var(--sm-muted)}.woocommerce div.product .product_title{font-size:30px}.woocommerce div.product .button,.woocommerce button.button,.woocommerce a.button{background:var(--sm-purple);color:#fff}.woocommerce-message{border-top-color:var(--sm-purple)}@media(max-width:900px){.header-main{flex-wrap:wrap}.search-form{order:3;max-width:none;flex-basis:100%}.nav-row nav ul{gap:14px}.category-grid{grid-template-columns:repeat(3,1fr)}.products-grid,.woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr))!important}.hero-grid{grid-template-columns:1fr}.hero-art{min-height:170px}.footer-grid{grid-template-columns:1fr 1fr}}@media(max-width:600px){.topbar .wrap{justify-content:center}.topbar .wrap>span:last-child{display:none}.header-actions{display:none}.nav-row{flex-wrap:wrap}.nav-row nav{width:100%;overflow:auto}.nav-row nav ul{gap:18px;white-space:nowrap}.cat-button{width:100%;text-align:center}.hero{padding:30px 0}.hero h1{font-size:36px}.category-grid{grid-template-columns:repeat(2,1fr);gap:10px}.products-grid,.woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}.product-image{height:145px}.section-head h2{font-size:22px}.footer-grid{grid-template-columns:1fr}.wrap{width:min(100% - 24px,1240px)}}
