/*
Theme Name: Floroxx Clean Commerce
Theme URI: https://floroxx.in/
Author: Floroxx
Description: Premium WooCommerce home-care storefront with a Floroxx/Koparo-inspired D2C layout, responsive product discovery, and Customizer controls.
Version: 1.1.0
Requires at least: 6.0
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: floroxx
*/

:root{--fx-green:#073b22;--fx-green-2:#0b5b34;--fx-yellow:#ffd719;--fx-cream:#f8f6ee;--fx-ink:#172019;--fx-muted:#66736b;--fx-border:#e5e9e3;--fx-white:#fff;--fx-radius:18px;--fx-shadow:0 12px 35px rgba(8,45,28,.10)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--fx-ink);background:#fff;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:16px;line-height:1.55}img{max-width:100%;height:auto;display:block}a{color:inherit;text-decoration:none}button,input{font:inherit}.fx-wrap{width:min(1320px,calc(100% - 40px));margin-inline:auto}.fx-announcement{background:var(--fx-green);color:#fff;text-align:center;padding:9px 16px;font-size:12px;letter-spacing:.06em;font-weight:700}.fx-header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.97);backdrop-filter:blur(10px);border-bottom:1px solid var(--fx-border)}.fx-head-main{min-height:82px;display:grid;grid-template-columns:230px minmax(240px,1fr) 130px;align-items:center;gap:26px}.fx-brand{display:flex;align-items:center}.fx-brand img{width:auto;max-width:190px;max-height:58px;object-fit:contain}.fx-search{height:46px;border:1px solid #dce2dc;border-radius:999px;background:#f7f9f6;display:flex;align-items:center;padding-left:17px;overflow:hidden}.fx-search input[type=search]{min-width:0;flex:1;border:0;outline:0;background:transparent;padding:0 12px;color:var(--fx-ink)}.fx-search button{width:48px;height:100%;border:0;background:transparent;color:var(--fx-green);cursor:pointer;display:grid;place-items:center}.fx-search svg{width:21px;height:21px}.fx-actions{display:flex;justify-content:flex-end;align-items:center;gap:10px}.fx-icon-btn{width:44px;height:44px;border:1px solid var(--fx-border);border-radius:50%;display:grid;place-items:center;position:relative;background:#fff}.fx-icon-btn svg{width:21px;height:21px}.fx-cart-count{position:absolute;right:-2px;top:-3px;min-width:18px;height:18px;padding:0 5px;border-radius:99px;background:var(--fx-yellow);color:#173622;font-size:10px;font-weight:800;display:grid;place-items:center}.fx-nav{border-top:1px solid #f0f2ef}.fx-nav>ul,.fx-nav ul{list-style:none;margin:0;padding:0;display:flex;justify-content:center;gap:30px;overflow:auto;white-space:nowrap}.fx-nav li{margin:0}.fx-nav a{display:block;padding:13px 0 14px;font-size:13px;font-weight:700;color:#27342c}.fx-nav a:hover{color:var(--fx-green-2)}
.fx-hero{background:#f4f6ef}.fx-carousel{position:relative;width:100%;overflow:hidden;min-height:clamp(340px,43vw,610px);background:#eef2e8}.fx-slide{position:absolute;inset:0;opacity:0;visibility:hidden;transition:opacity .45s ease}.fx-slide.is-active{opacity:1;visibility:visible;position:relative}.fx-slide img{width:100%;height:clamp(340px,43vw,610px);object-fit:cover;object-position:center}.fx-carousel-control{position:absolute;top:50%;transform:translateY(-50%);width:46px;height:46px;border-radius:50%;border:1px solid rgba(255,255,255,.75);background:rgba(7,59,34,.78);color:#fff;display:grid;place-items:center;cursor:pointer;z-index:2}.fx-carousel-control svg{width:20px;height:20px}.fx-carousel-control.prev{left:24px}.fx-carousel-control.next{right:24px}.fx-dots{position:absolute;left:50%;bottom:20px;transform:translateX(-50%);display:flex;gap:8px;z-index:2}.fx-dot{width:8px;height:8px;padding:0;border:0;border-radius:50%;background:rgba(255,255,255,.55);cursor:pointer}.fx-dot.is-active{width:24px;border-radius:99px;background:#fff}.fx-hero-note{display:flex;justify-content:center;gap:13px;flex-wrap:wrap;padding:11px 16px;background:var(--fx-yellow);font-size:12px;font-weight:800;color:#173622;text-transform:uppercase;letter-spacing:.04em}
.fx-icons-strip{background:#fff;border-bottom:1px solid var(--fx-border)}.fx-icon-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:10px;padding:24px 0}.fx-icon-item{display:flex;align-items:center;gap:10px;min-width:0}.fx-icon-circle{width:44px;height:44px;flex:0 0 44px;border-radius:50%;display:grid;place-items:center;background:#eef5ee;color:var(--fx-green)}.fx-icon-circle svg{width:22px;height:22px}.fx-icon-item strong{display:block;font-size:12px;line-height:1.2}.fx-icon-item>div>span{display:block;color:var(--fx-muted);font-size:10px;margin-top:3px}
.fx-section{padding:78px 0}.fx-section.soft{background:var(--fx-cream)}.fx-section-head{text-align:center;max-width:760px;margin:0 auto 35px}.fx-eyebrow{font-size:12px;font-weight:900;letter-spacing:.16em;text-transform:uppercase;color:var(--fx-green-2);margin-bottom:8px}.fx-section h2{font-size:clamp(30px,4vw,48px);line-height:1.08;letter-spacing:-.035em;margin:0 0 12px;color:var(--fx-green)}.fx-section-head p{margin:0;color:var(--fx-muted);font-size:16px}.fx-category-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:12px}.fx-category{min-height:150px;padding:20px 12px;border:1px solid var(--fx-border);border-radius:18px;background:#fff;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;transition:transform .2s,box-shadow .2s,border-color .2s}.fx-category:hover{transform:translateY(-4px);box-shadow:var(--fx-shadow);border-color:#cbd8ce}.fx-category-icon{width:64px;height:64px;border-radius:50%;display:grid;place-items:center;background:#edf5ed;color:var(--fx-green);margin-bottom:12px}.fx-category-icon svg{width:32px;height:32px}.fx-category strong{font-size:12px;line-height:1.3}.fx-category-grid.is-dragging{cursor:grabbing}.fx-category-grid{cursor:default}
.fx-products{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.fx-product-card{position:relative;background:#fff;border:1px solid var(--fx-border);border-radius:18px;overflow:hidden;box-shadow:0 4px 16px rgba(0,0,0,.03);transition:transform .2s,box-shadow .2s}.fx-product-card:hover{transform:translateY(-5px);box-shadow:var(--fx-shadow)}.fx-badge{position:absolute;top:12px;left:12px;z-index:2;background:var(--fx-yellow);color:#173622;border-radius:999px;padding:5px 9px;font-size:10px;font-weight:900}.fx-product-image{aspect-ratio:1/1;background:#f6f7f3;display:grid;place-items:center;overflow:hidden}.fx-product-image img{width:100%;height:100%;object-fit:contain;padding:20px}.fx-product-body{padding:14px 16px 8px}.fx-stars{font-size:12px;letter-spacing:2px;color:#e3ae00}.fx-product-title{font-size:16px;line-height:1.3;margin:6px 0 7px;color:#203027}.fx-price{font-weight:800;color:var(--fx-green)}.fx-price del{opacity:.5;margin-right:5px;font-weight:500}.fx-price ins{text-decoration:none}.fx-product-button{display:block;width:100%;border:0;border-radius:999px;background:var(--fx-green);color:#fff;text-align:center;padding:12px 15px;font-size:13px;font-weight:800;cursor:pointer}.fx-product-button:hover{background:#0b5b34;color:#fff}
.fx-feature{border-radius:26px;overflow:hidden;background:var(--fx-green);color:#fff;display:grid;grid-template-columns:1.25fr .75fr;min-height:390px}.fx-feature>div:first-child{padding:58px}.fx-feature h2{color:#fff;font-size:clamp(34px,4vw,56px);margin:0 0 14px;line-height:1.02}.fx-feature p{color:rgba(255,255,255,.78);max-width:600px}.fx-feature-art{display:grid;place-items:center;background:radial-gradient(circle at 50% 50%,rgba(255,215,25,.22),transparent 58%);padding:40px}.fx-feature-art svg{width:180px;height:180px;color:var(--fx-yellow)}.fx-pills{display:flex;flex-wrap:wrap;gap:8px;margin-top:20px}.fx-pill{padding:7px 11px;border:1px solid rgba(255,255,255,.25);border-radius:99px;font-size:11px;color:#fff}
.fx-concern-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.fx-concern{min-height:210px;border-radius:20px;background:#fff;border:1px solid var(--fx-border);display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;transition:.2s}.fx-concern:hover{transform:translateY(-4px);box-shadow:var(--fx-shadow)}.fx-concern-icon{width:76px;height:76px;border-radius:50%;display:grid;place-items:center;background:#eef5ee;color:var(--fx-green);margin-bottom:14px}.fx-concern-icon svg{width:36px;height:36px}.fx-concern strong{font-size:15px}
.fx-review-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.fx-review{padding:28px;border:1px solid var(--fx-border);border-radius:20px;background:#fff}.fx-review .quote{font-size:18px;line-height:1.45;margin:20px 0;color:#243229}.fx-review strong{font-size:12px;color:var(--fx-green-2);text-transform:uppercase;letter-spacing:.08em}.fx-newsletter{padding:70px 0;background:#e9f0e8;text-align:center}.fx-newsletter h2{margin:0;color:var(--fx-green);font-size:clamp(30px,4vw,46px);line-height:1.05}.fx-newsletter p{color:var(--fx-muted);margin:12px auto 24px}.fx-newsletter-form{width:min(620px,100%);margin:auto;display:flex;padding:6px;border:1px solid #cdd8ce;background:#fff;border-radius:999px}.fx-newsletter-form input{flex:1;min-width:0;border:0;outline:0;padding:11px 15px;background:transparent}.fx-newsletter-form button{border:0;border-radius:999px;background:var(--fx-green);color:#fff;font-weight:800;padding:12px 24px;cursor:pointer}
.fx-footer{background:#062f1c;color:#fff;padding:60px 0 20px}.fx-footer-grid{display:grid;grid-template-columns:1.3fr repeat(3,1fr);gap:35px}.fx-footer h3{font-size:14px;margin:0 0 15px;color:var(--fx-yellow)}.fx-footer p,.fx-footer a{font-size:13px;color:rgba(255,255,255,.72)}.fx-footer a:hover{color:#fff}.fx-footer ul{list-style:none;padding:0;margin:0}.fx-footer li{margin:8px 0}.fx-footer-bottom{border-top:1px solid rgba(255,255,255,.12);margin-top:40px;padding-top:18px;display:flex;justify-content:space-between;gap:15px;flex-wrap:wrap;color:rgba(255,255,255,.55);font-size:11px}
.woocommerce .site-main,.woocommerce-page .site-main{width:min(1320px,calc(100% - 40px));margin:auto}.woocommerce ul.products{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}.woocommerce ul.products:before,.woocommerce ul.products:after{display:none}.woocommerce ul.products li.product{width:auto!important;margin:0!important;border:1px solid var(--fx-border);border-radius:18px;padding:0 0 18px;overflow:hidden;background:#fff}.woocommerce ul.products li.product a img{margin:0!important;width:100%!important;aspect-ratio:1/1;object-fit:contain;background:#f6f7f3;padding:20px}.woocommerce ul.products li.product .button{margin:8px 18px 0!important;width:calc(100% - 36px);text-align:center;border-radius:999px;background:var(--fx-green);color:#fff}.woocommerce div.product{padding:50px 0}.woocommerce div.product div.images img{border-radius:20px;background:#f6f7f3}.woocommerce-message,.woocommerce-info{border-top-color:var(--fx-green)}
@media(max-width:1100px){.fx-head-main{grid-template-columns:180px 1fr 100px;gap:14px}.fx-nav>ul,.fx-nav ul{justify-content:flex-start}.fx-icon-grid{grid-template-columns:repeat(3,1fr)}.fx-category-grid{grid-template-columns:repeat(4,1fr)}.fx-products,.woocommerce ul.products{grid-template-columns:repeat(3,1fr)!important}}
@media(max-width:760px){.fx-wrap{width:min(100% - 24px,680px)}.fx-announcement{font-size:10px;padding:8px 10px}.fx-header{position:relative}.fx-head-main{grid-template-columns:1fr auto;grid-template-areas:"brand actions" "search search";padding:12px 0;gap:10px}.fx-brand{grid-area:brand}.fx-actions{grid-area:actions}.fx-search{grid-area:search}.fx-brand img{max-width:145px;max-height:48px}.fx-nav{overflow:hidden}.fx-nav>ul,.fx-nav ul{gap:20px;justify-content:flex-start;overflow-x:auto;padding:0 12px}.fx-nav a{font-size:11px}.fx-carousel,.fx-slide img{min-height:300px;height:56vw;max-height:470px}.fx-carousel-control{width:38px;height:38px}.fx-carousel-control.prev{left:10px}.fx-carousel-control.next{right:10px}.fx-icon-grid{grid-template-columns:repeat(2,1fr);padding:18px 0}.fx-icon-item{align-items:flex-start}.fx-section{padding:52px 0}.fx-category-grid{display:flex;grid-template-columns:none;overflow-x:auto;overflow-y:hidden;gap:12px;padding:4px 4px 14px;margin-inline:-4px;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;scrollbar-width:none;overscroll-behavior-x:contain}.fx-category-grid::-webkit-scrollbar{display:none}.fx-category{flex:0 0 min(78vw,330px);min-height:190px;scroll-snap-align:start}.fx-products,.woocommerce ul.products{grid-template-columns:repeat(2,1fr)!important;gap:12px}.fx-product-body{padding:12px}.fx-product-title{font-size:14px}.fx-feature{grid-template-columns:1fr}.fx-feature>div:first-child{padding:34px 24px}.fx-feature-art{min-height:230px}.fx-concern-grid{grid-template-columns:repeat(2,1fr);gap:12px}.fx-concern{min-height:160px}.fx-review-grid{grid-template-columns:1fr}.fx-newsletter{padding:52px 0}.fx-newsletter-form{display:block;border:0;background:transparent;padding:0}.fx-newsletter-form input,.fx-newsletter-form button{width:100%;height:48px;margin-top:8px;border-radius:999px;background:#fff}.fx-newsletter-form button{background:var(--fx-green);color:#fff}.fx-footer-grid{grid-template-columns:1fr 1fr;gap:25px}.fx-footer-grid>div:first-child{grid-column:1/-1}}
@media(max-width:760px){.fx-section:has(.fx-category-grid) .fx-section-head:after{content:"Swipe to explore categories  →";display:block;margin-top:18px;font-size:12px;font-weight:700;color:var(--fx-green-2);letter-spacing:.03em}}
@media(max-width:420px){.fx-category-grid{gap:8px}.fx-category{min-height:132px;padding:14px 8px}.fx-category-icon{width:52px;height:52px}.fx-products,.woocommerce ul.products{gap:9px}.fx-product-image img{padding:10px}.fx-product-button{font-size:11px;padding:10px 8px}.fx-footer-grid{grid-template-columns:1fr}.fx-footer-grid>div:first-child{grid-column:auto}}
