/*
Theme Name: Cherry On Top
Theme URI: https://example.com/cherry-on-top
Author: OpenAI
Description: A playful, premium WooCommerce-ready storefront inspired by modern Pinterest-style shops, using Cherry On Top's cherry-red and soft-pink identity.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: cherry-on-top
*/
:root{--cherry:#b50912;--cherry-dark:#850008;--pink:#f8d8d5;--pink-soft:#fff0ee;--cream:#fff8f2;--ink:#351719;--muted:#84696a;--line:#f0d9d5;--white:#fff;--shadow:0 12px 35px rgba(133,0,8,.09);--radius:22px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--cream);color:var(--ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;font-size:16px;line-height:1.6}a{color:inherit;text-decoration:none}img{max-width:100%;height:auto}button,input{font:inherit}.site-wrap{overflow:hidden}.announcement{background:var(--cherry);color:#fff;text-align:center;padding:8px 15px;font-size:12px;letter-spacing:.12em;font-weight:700;text-transform:uppercase}.site-header{background:rgba(255,248,242,.96);position:sticky;top:0;z-index:50;border-bottom:1px solid var(--line);backdrop-filter:blur(12px)}.header-inner{max-width:1280px;margin:auto;padding:12px 28px;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:24px}.main-nav{display:flex;gap:25px;align-items:center}.main-nav a,.header-actions a{font-size:13px;font-weight:700;letter-spacing:.06em;text-transform:uppercase}.main-nav a:hover,.header-actions a:hover{color:var(--cherry)}.brand{display:flex;justify-content:center;align-items:center}.brand img{width:155px;height:82px;object-fit:contain}.brand-text{font-family:Georgia,serif;color:var(--cherry);font-weight:900;font-size:29px}.header-actions{display:flex;justify-content:flex-end;align-items:center;gap:20px}.icon-link{display:inline-flex;align-items:center;gap:7px}.menu-toggle{display:none;border:0;background:none;color:var(--cherry);font-size:25px}.hero{max-width:1280px;margin:28px auto 64px;padding:0 28px}.hero-panel{position:relative;min-height:490px;border-radius:30px;overflow:hidden;background:var(--pink);display:grid;grid-template-columns:1.05fr .95fr;align-items:center;padding:58px 7%;isolation:isolate}.hero-panel:before,.hero-panel:after{content:"";position:absolute;border:1px solid rgba(181,9,18,.15);border-radius:50%;z-index:-1}.hero-panel:before{width:420px;height:420px;right:8%;top:-160px}.hero-panel:after{width:300px;height:300px;right:20%;bottom:-180px}.eyebrow{font-size:12px;letter-spacing:.18em;text-transform:uppercase;color:var(--cherry);font-weight:800}.hero h1{font-family:Georgia,"Times New Roman",serif;font-size:clamp(44px,6vw,76px);line-height:.98;letter-spacing:-.045em;color:var(--cherry-dark);margin:15px 0 20px;max-width:600px}.hero p{color:#654143;max-width:430px;font-size:17px;margin:0 0 28px}.hero-art{display:flex;align-items:center;justify-content:center;min-height:340px}.hero-art img{width:min(100%,470px);max-height:350px;object-fit:contain;filter:drop-shadow(0 14px 18px rgba(133,0,8,.1))}.button,.wp-block-button__link,.woocommerce a.button,.woocommerce button.button,.woocommerce input.button{display:inline-flex;align-items:center;justify-content:center;background:var(--cherry);color:#fff!important;border:1px solid var(--cherry);border-radius:999px;padding:13px 25px;font-weight:800;font-size:12px;letter-spacing:.1em;text-transform:uppercase;transition:.2s}.button:hover,.woocommerce a.button:hover,.woocommerce button.button:hover{background:var(--cherry-dark);border-color:var(--cherry-dark);transform:translateY(-2px)}.section{max-width:1280px;margin:0 auto 76px;padding:0 28px}.section-head{text-align:center;margin-bottom:30px}.section-head .eyebrow{margin-bottom:6px}.section-head h2{font-family:Georgia,serif;font-size:clamp(32px,4vw,48px);line-height:1.05;color:var(--cherry-dark);margin:0}.section-head p{color:var(--muted);margin:10px auto 0;max-width:540px}.category-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}.category-card{display:block;text-align:center}.category-image{aspect-ratio:1/1;border-radius:50%;background:var(--pink-soft);border:1px solid var(--line);display:grid;place-items:center;overflow:hidden;transition:.25s}.category-image img{width:100%;height:100%;object-fit:cover}.category-placeholder{font-family:Georgia,serif;color:var(--cherry);font-size:55px}.category-card:hover .category-image{transform:translateY(-6px);box-shadow:var(--shadow)}.category-card h3{font-family:Georgia,serif;font-size:22px;color:var(--cherry-dark);margin:13px 0 0}.category-card span{font-size:11px;text-transform:uppercase;letter-spacing:.12em;color:var(--cherry);font-weight:800}.product-section{background:#fff;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:65px 0}.product-section .section{margin-bottom:0}.woocommerce ul.products{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px;margin:0!important}.woocommerce ul.products:before,.woocommerce ul.products:after{display:none!important}.woocommerce ul.products li.product{width:auto!important;margin:0!important;float:none!important;background:var(--cream);padding:12px 12px 18px;border:1px solid var(--line);border-radius:18px;overflow:hidden;text-align:left;transition:.25s}.woocommerce ul.products li.product:hover{transform:translateY(-5px);box-shadow:var(--shadow)}.woocommerce ul.products li.product a img{border-radius:12px;aspect-ratio:1/1;object-fit:cover;margin:0 0 13px}.woocommerce ul.products li.product .woocommerce-loop-product__title{font-family:Georgia,serif;color:var(--cherry-dark);font-size:19px;padding:0 4px}.woocommerce ul.products li.product .price{color:var(--cherry);font-weight:800;padding:0 4px}.woocommerce ul.products li.product .button{margin:12px 4px 0}.woocommerce span.onsale{background:var(--cherry);min-height:auto;min-width:auto;padding:7px 11px;line-height:1;border-radius:30px}.story-band{max-width:1224px;margin:76px auto;padding:54px 7%;border-radius:26px;background:var(--cherry);color:white;text-align:center}.story-band h2{font-family:Georgia,serif;font-size:clamp(34px,4vw,52px);line-height:1.05;margin:0 0 12px}.story-band p{max-width:620px;margin:0 auto 23px;color:#ffe4e2}.story-band .button{background:white;color:var(--cherry)!important;border-color:white}.newsletter{background:var(--pink-soft);padding:55px 25px;text-align:center;border-top:1px solid var(--line)}.newsletter h2{font-family:Georgia,serif;color:var(--cherry-dark);font-size:38px;margin:0 0 8px}.newsletter p{color:var(--muted);margin:0 auto 20px}.newsletter-form{display:flex;max-width:480px;margin:auto;gap:8px}.newsletter-form input{min-width:0;flex:1;border:1px solid #e9c5c1;background:white;border-radius:30px;padding:13px 18px;outline:none}.site-footer{background:#390b0e;color:#ffe9e5;padding:55px 28px 22px}.footer-inner{max-width:1224px;margin:auto;display:grid;grid-template-columns:1.5fr 1fr 1fr 1fr;gap:35px}.footer-brand img{width:150px;height:90px;object-fit:contain}.footer-brand p{max-width:270px;color:#e6bfc0;font-size:14px}.site-footer h3{font-family:Georgia,serif;font-size:21px;margin:0 0 14px;color:#fff}.site-footer a{display:block;color:#e6bfc0;font-size:13px;margin:8px 0}.site-footer a:hover{color:#fff}.copyright{max-width:1224px;margin:35px auto 0;padding-top:18px;border-top:1px solid rgba(255,255,255,.16);font-size:12px;color:#d8aeb0;display:flex;justify-content:space-between;gap:15px}.page-content{max-width:1224px;margin:45px auto;padding:0 28px}.page-content h1,.entry-title{font-family:Georgia,serif;color:var(--cherry-dark)}.woocommerce .woocommerce-breadcrumb{color:var(--muted);font-size:12px}.woocommerce div.product .product_title{font-family:Georgia,serif;color:var(--cherry-dark)}.woocommerce div.product p.price,.woocommerce div.product span.price{color:var(--cherry);font-weight:800}.woocommerce div.product div.images img{border-radius:18px}.woocommerce div.product form.cart .quantity .qty{border:1px solid var(--line);border-radius:25px;padding:10px}.woocommerce-message,.woocommerce-info{border-top-color:var(--cherry)}.woocommerce-message:before,.woocommerce-info:before{color:var(--cherry)}.mobile-nav{display:none}
@media(max-width:900px){.header-inner{grid-template-columns:auto 1fr auto;padding:10px 20px}.menu-toggle{display:block}.main-nav{display:none}.brand{justify-content:flex-start}.brand img{width:130px;height:70px}.hero-panel{min-height:410px;padding:42px 6%}.hero-art img{max-height:280px}.category-grid{grid-template-columns:repeat(2,1fr)}.woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr))}.footer-inner{grid-template-columns:repeat(2,1fr)}.mobile-nav.open{display:flex;position:absolute;top:100%;left:0;right:0;background:var(--cream);padding:20px 25px;flex-direction:column;gap:15px;border-bottom:1px solid var(--line);box-shadow:var(--shadow)}.mobile-nav a{font-weight:800;font-size:13px;text-transform:uppercase}}
@media(max-width:600px){.announcement{font-size:10px}.header-inner{padding:8px 15px;gap:8px}.brand img{width:115px;height:62px}.header-actions{gap:12px}.header-actions .account-link{display:none}.hero{padding:0 14px;margin:15px auto 48px}.hero-panel{grid-template-columns:1fr;text-align:center;padding:36px 24px 20px;min-height:0;border-radius:22px}.hero h1{font-size:48px;margin:12px auto 14px}.hero p{font-size:15px;margin:0 auto 20px}.hero-art{min-height:190px}.hero-art img{max-height:205px}.section{padding:0 15px;margin-bottom:52px}.section-head{margin-bottom:22px}.category-grid{gap:15px}.category-card h3{font-size:18px}.category-placeholder{font-size:42px}.product-section{padding:48px 0}.woocommerce ul.products{gap:12px}.woocommerce ul.products li.product{padding:8px 8px 13px}.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:16px}.woocommerce ul.products li.product .button{font-size:10px;padding:10px 13px}.story-band{margin:50px 14px;padding:40px 22px}.newsletter{padding:42px 16px}.newsletter h2{font-size:31px}.newsletter-form{flex-direction:column}.footer-inner{grid-template-columns:1fr 1fr;gap:25px}.footer-brand{grid-column:1/-1}.copyright{flex-direction:column}.page-content{padding:0 16px}}
