/*
Theme Name: Wagwanfly Commerce
Theme URI: https://example.com/wagwanfly-commerce
Author: OpenAI
Description: Responsive WooCommerce theme converted from the Wagwanfly ecommerce HTML reference. Includes a matching storefront, WooCommerce archive/product/checkout styling, and Elementor/Elementor Pro theme-location support.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: wagwanfly
Tags: e-commerce, woocommerce, elementor, custom-logo, custom-menu, featured-images, full-width-template, responsive-layout
*/

:root{
  --green:#006b46;--green2:#008a55;--dark:#073f31;--mint:#eef8f3;--line:#e5ece8;
  --text:#16241f;--muted:#68766f;--pink:#fff1f4;--cream:#fff8ef;--shadow:0 10px 30px rgba(18,67,49,.08);
}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,Arial,Helvetica,sans-serif;color:var(--text);background:#fff}a{text-decoration:none;color:inherit}button,input,select,textarea{font:inherit}button{cursor:pointer}.container{width:min(1180px,calc(100% - 32px));margin:auto}
.screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.screen-reader-text:focus{background:#fff;color:#000;width:auto;height:auto;clip:auto;padding:12px;z-index:100000}
.topbar{background:#fff;position:sticky;top:0;z-index:999;border-bottom:1px solid var(--line)}.admin-bar .topbar{top:32px}.header{min-height:72px;display:grid;grid-template-columns:190px 1fr auto;gap:26px;align-items:center;padding:8px 0}.logo{font-family:Georgia,serif;font-size:31px;font-weight:800;color:#073c2c;line-height:.8;position:relative;display:inline-block}.logo:before{content:'◆';position:absolute;left:52px;top:-13px;color:#72ad43;font-size:18px;transform:rotate(45deg)}.logo small{display:block;font-family:Arial,sans-serif;font-size:9px;font-weight:500;margin-top:8px;letter-spacing:.2px}.custom-logo-link{display:flex;align-items:center}.custom-logo{max-height:50px;width:auto}.searchbox{display:flex;border:1px solid #cfd9d4;border-radius:5px;overflow:hidden;height:42px}.searchbox input{border:0;outline:0;padding:0 14px;flex:1;min-width:0}.searchbox button{border:0;background:var(--green);color:white;width:48px;font-size:18px}.actions{display:flex;align-items:center;gap:22px;font-size:13px}.action{display:flex;gap:8px;align-items:center;white-space:nowrap}.action .ico{font-size:22px;line-height:1}.cart-count{display:inline-grid;place-items:center;background:#e21e2b;color:#fff;min-width:18px;height:18px;padding:0 4px;border-radius:50%;font-size:10px;margin-left:-12px;margin-top:-18px}.nav{border-top:1px solid var(--line);min-height:45px;display:flex;align-items:center;gap:35px;font-size:14px}.nav>a{display:flex;align-items:center;gap:8px}.nav .tag{margin-left:auto;border-left:1px solid #ccd7d1;padding-left:28px;font-family:Georgia,serif;font-style:italic;color:#197454}.primary-menu{display:flex;align-items:center;gap:35px;list-style:none;padding:0;margin:0;flex:1}.primary-menu li{margin:0}.primary-menu a{display:flex;align-items:center;gap:8px}.primary-menu .current-menu-item>a,.primary-menu a:hover{color:var(--green)}
.hero{background:linear-gradient(90deg,#fff0eb 0 42%,#fbf3ee 42%);overflow:hidden}.hero-wrap{min-height:332px;display:grid;grid-template-columns:43% 57%;align-items:center}.hero-copy{padding:34px 10px 34px 16px;z-index:2}.hero h1{font-family:Georgia,serif;font-size:48px;line-height:.93;margin:0 0 10px;color:#0a2d24;letter-spacing:-1.5px}.hero p{font-size:17px;margin:0 0 20px}.hero-badges{display:flex;gap:18px;flex-wrap:wrap;margin:15px 0 26px;font-size:12px}.hero-badges span:before{content:'✓';display:inline-grid;place-items:center;background:var(--green2);color:white;width:22px;height:22px;border-radius:50%;margin-right:8px;font-weight:700}.btns{display:flex;gap:14px;flex-wrap:wrap}.btn{border:1px solid var(--green);border-radius:28px;padding:12px 24px;background:#fff;color:var(--green);font-weight:700}.btn.primary{background:linear-gradient(90deg,#168e4b,#08713f);color:#fff;border-color:transparent}.hero-art{height:332px;background:url('assets/hero-family.jpg') center/cover no-repeat;min-width:0}
.section{padding:22px 0}.section-head{display:flex;align-items:end;justify-content:space-between;margin-bottom:10px;gap:16px}.section-title{display:flex;gap:10px;align-items:center}.section-title .emoji{font-size:30px}.section-title h2{margin:0;font-size:22px}.section-title p{margin:2px 0 0;color:var(--muted);font-size:12px}.viewall{font-size:12px;color:var(--green);font-weight:700}.product-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:10px}.card{border:1px solid #dde7e2;border-radius:6px;background:#fff;overflow:hidden;position:relative;transition:.2s}.card:hover{box-shadow:var(--shadow);transform:translateY(-2px)}.product-img{height:150px;background:#f7f7f7;display:flex;align-items:center;justify-content:center;overflow:hidden}.product-img img{width:100%;height:100%;object-fit:cover}.discount{position:absolute;left:8px;top:8px;background:#e52058;color:#fff;padding:4px 7px;border-radius:3px;font-size:11px;font-weight:800;z-index:2}.card-body{padding:10px}.card-title{font-size:13px;line-height:1.25;min-height:34px}.rating{color:#f2a900;font-size:11px;margin:6px 0}.rating em{font-style:normal;color:#7c8882;margin-left:4px}.price{font-weight:800;font-size:18px;color:#0a5b3e}.mrp{text-decoration:line-through;color:#9aa49f;font-size:11px;margin-left:7px}.add,.card .button,.mini-card .button{width:100%;background:white!important;color:var(--green)!important;border:1px solid #1c9a6d!important;border-radius:4px!important;padding:8px!important;margin-top:8px!important;font-weight:700!important;font-size:12px!important;line-height:1.2!important;text-align:center}.add:hover,.card .button:hover,.mini-card .button:hover{background:var(--green)!important;color:white!important}.added_to_cart{font-size:11px;color:var(--green);font-weight:700;display:block;text-align:center;margin-top:6px}
.category-row{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:8px}.category-banner{height:190px;background-size:cover;background-position:center;border-radius:7px;overflow:hidden}.category-banner a{display:block;width:100%;height:100%}.tabs{display:flex;gap:8px;flex-wrap:wrap}.tabs button{border:1px solid var(--line);background:#fff;padding:7px 18px;border-radius:5px;font-size:12px}.tabs button.active{background:var(--green);color:white}.mini-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:9px}.mini-card{border:1px solid var(--line);border-radius:6px;overflow:hidden;background:#fff}.mini-card img{width:100%;height:93px;object-fit:cover}.mini-card .card-body{padding:8px}.mini-card .card-title{font-size:12px;min-height:30px}.new-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:9px}.new-card{border:1px solid var(--line);border-radius:5px;padding:8px 8px 6px;display:grid;grid-template-columns:66px 1fr;gap:8px;align-items:center;min-height:86px}.new-card img{width:66px;height:64px;object-fit:cover;border-radius:4px}.new-card b{font-size:12px;display:block}.new-card strong{font-size:14px;color:#0a5b3e}.offer-strip{margin-top:10px;border-radius:8px;background:url('assets/offer-strip.jpg') center/cover no-repeat;height:88px;display:flex;align-items:center;justify-content:center}.why{display:grid;grid-template-columns:170px repeat(4,1fr);gap:10px;align-items:center}.why>b{font-size:16px}.why-box{border:1px solid var(--line);padding:14px;border-radius:6px;display:flex;gap:12px;align-items:center;font-size:12px}.why-box .ico{font-size:28px}.why-box b{display:block;font-size:12px}.why-box span{color:var(--muted);font-size:10px}
.footer{background:linear-gradient(90deg,#064634,#006344);color:white;margin-top:20px}.footer-grid{padding:28px 0 18px;display:grid;grid-template-columns:1.3fr .8fr .9fr 1fr 2fr;gap:28px}.footer .logo{color:white}.footer h4{font-size:12px;margin:0 0 10px}.footer a,.footer p{display:block;font-size:11px;margin:7px 0;color:#e5f3ed}.footer-menu{list-style:none;padding:0;margin:0}.footer-menu li{margin:0}.social{display:flex;gap:9px;font-size:18px}.newsletter{display:flex}.newsletter input{flex:1;padding:10px;border:0;border-radius:4px 0 0 4px;min-width:0}.newsletter button{border:0;background:#2a9a5b;color:white;padding:10px 18px;border-radius:0 4px 4px 0}.footer-bottom{border-top:1px solid rgba(255,255,255,.28);padding:14px 0 18px;display:flex;justify-content:space-between;font-size:10px;color:#def1e9;gap:16px}
.breadcrumb,.woocommerce-breadcrumb{padding:14px 0!important;color:#64746c!important;font-size:12px!important;margin:0!important}.category-layout{display:grid;grid-template-columns:220px 1fr;gap:18px}.sidebar{border-right:1px solid var(--line);padding-right:18px}.sidebar h3{font-size:14px;margin:0 0 10px}.side-list a{display:block;font-size:12px;padding:7px 0}.filter{padding:15px 0;border-top:1px solid var(--line)}.filter label{display:block;font-size:12px;margin:8px 0;color:#55635d}.filter input{margin-right:8px}.category-hero{height:145px;border-radius:7px;background:url('assets/category-hero.jpg') center/cover no-repeat}.cat-title-row{display:flex;justify-content:space-between;align-items:center;margin:14px 0;gap:15px}.cat-title-row h1{font-size:24px;margin:0}.cat-title-row select{border:1px solid var(--line);padding:8px;border-radius:4px}.category-products{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.shop-main .woocommerce-result-count{font-size:12px;color:var(--muted);margin:6px 0}.shop-main .woocommerce-ordering{margin:0}.shop-main .woocommerce-ordering select{border:1px solid var(--line);padding:8px;border-radius:4px}.woocommerce-notices-wrapper{grid-column:1/-1}.woocommerce-message,.woocommerce-info,.woocommerce-error{border-top-color:var(--green)!important;background:#f6fbf8!important}.woocommerce-message::before,.woocommerce-info::before{color:var(--green)!important}
/* WooCommerce product cards */
.woocommerce ul.products{display:grid!important;grid-template-columns:repeat(3,1fr);gap:12px;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}.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:13px!important;line-height:1.25!important;min-height:34px;padding:0!important;margin:0 0 6px!important;color:var(--text)}.woocommerce ul.products li.product .price{font-size:18px!important;color:#0a5b3e!important;margin:4px 0!important}.woocommerce ul.products li.product .star-rating{font-size:11px;margin:6px 0}.woocommerce span.onsale{min-height:0!important;min-width:0!important;line-height:1.2!important;position:absolute!important;left:8px!important;right:auto!important;top:8px!important;margin:0!important;border-radius:3px!important;background:#e52058!important;padding:4px 7px!important;font-size:11px!important;font-weight:800!important;z-index:3}
/* Single product */
.product-page{display:grid;grid-template-columns:46% 54%;gap:30px;padding-bottom:28px}.wf-product-gallery{display:grid;grid-template-columns:76px 1fr;gap:12px}.wf-thumbs{display:flex;flex-direction:column;gap:8px}.wf-thumbs button{padding:0;border:0;background:transparent}.wf-thumbs img{width:72px;height:58px;object-fit:cover;border:1px solid var(--line);border-radius:5px}.wf-main-image{border:1px solid var(--line);border-radius:7px;overflow:hidden;background:#fff;display:flex;align-items:center;justify-content:center;min-height:440px}.wf-main-image img{width:100%;height:auto;display:block}.pinfo h1{font-size:26px;margin:10px 0 8px}.reviewline{font-size:12px;color:#67766f}.p-price,.pinfo .price{font-size:28px!important;color:#0a5b3e!important;font-weight:800!important;margin:16px 0!important;display:block}.pinfo .price del{font-size:14px;color:#9aa49f}.pinfo .price ins{text-decoration:none}.off{font-size:11px;background:#ecf6ef;color:#107242;padding:4px 8px;border-radius:3px;margin-left:9px}.bullets{font-size:13px;line-height:1.75}.pinfo .woocommerce-product-details__short-description{font-size:13px;line-height:1.7}.pinfo form.cart{display:flex!important;gap:12px;align-items:center;flex-wrap:wrap;margin:18px 0!important}.pinfo .quantity .qty{height:44px;border:1px solid var(--line);border-radius:5px;width:72px}.pinfo .single_add_to_cart_button{height:46px!important;border-radius:6px!important;font-weight:800!important;background:var(--green)!important;color:#fff!important;padding:0 24px!important}.pinfo .product_meta{font-size:12px;color:var(--muted);border-top:1px solid var(--line);padding-top:12px}.trust-strip{display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:16px 0;gap:16px}.trust-item{display:flex;gap:10px;align-items:center;font-size:11px}.trust-item .ico{font-size:24px}.feature-strip{display:grid;grid-template-columns:repeat(5,1fr);background:#f7f8f8;padding:20px;border-radius:8px;margin:22px 0}.feature{text-align:center;font-size:12px}.feature .circle{width:54px;height:54px;border-radius:50%;display:grid;place-items:center;background:#e5f3e9;font-size:25px;margin:0 auto 8px}.woocommerce-tabs ul.tabs{padding:0!important;margin:0!important;border-bottom:1px solid var(--line)!important}.woocommerce-tabs ul.tabs::before,.woocommerce-tabs ul.tabs li::before,.woocommerce-tabs ul.tabs li::after{display:none!important}.woocommerce-tabs ul.tabs li{border:0!important;background:transparent!important;padding:0!important;margin:0 26px 0 0!important}.woocommerce-tabs ul.tabs li a{padding:12px 0!important;font-size:13px!important;font-weight:400!important}.woocommerce-tabs ul.tabs li.active a{border-bottom:2px solid var(--green);color:var(--green)!important;font-weight:700!important}.woocommerce-tabs .panel{font-size:13px;line-height:1.6;color:#4f6058;padding:12px 0 24px!important;margin:0!important}.related.products>h2,.upsells.products>h2{font-size:22px;margin:25px 0 12px}.related.products ul.products,.upsells.products ul.products{grid-template-columns:repeat(4,1fr)!important}
/* WooCommerce cart / account */
.wf-content{padding:25px 0 45px}.wf-content h1.entry-title{font-size:30px}.woocommerce-cart table.cart,.woocommerce-account .woocommerce-MyAccount-content,.woocommerce-account .woocommerce-MyAccount-navigation{border-color:var(--line)!important}.woocommerce table.shop_table{border-color:var(--line)!important;border-radius:6px!important}.woocommerce table.shop_table th{background:#f8fbf9}.woocommerce a.remove{color:#c92042!important}.woocommerce a.remove:hover{background:#c92042!important;color:#fff!important}.woocommerce .cart .button,.woocommerce button.button,.woocommerce a.button,.woocommerce input.button{border-radius:5px!important}.woocommerce .button.alt,.woocommerce button.button.alt,.woocommerce a.button.alt{background:var(--green)!important;color:#fff!important}.woocommerce .button.alt:hover,.woocommerce button.button.alt:hover,.woocommerce a.button.alt:hover{background:#08563c!important}.woocommerce .coupon input.input-text{min-width:150px!important;border:1px solid var(--line)!important;padding:8px!important}
/* Checkout */
.checkout-wrap{max-width:1100px;margin:20px auto 40px}.checkout-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}.checkout-head h2{font-size:18px}.woocommerce-checkout .col2-set{width:58%;float:left;padding-right:25px}.woocommerce-checkout #order_review_heading,.woocommerce-checkout #order_review{width:42%;float:right;background:#fafcfb;border:1px solid var(--line);padding:16px;border-radius:7px}.woocommerce-checkout #order_review_heading{margin:0;border-bottom:0;border-radius:7px 7px 0 0;padding-bottom:5px}.woocommerce-checkout #order_review{border-top:0;border-radius:0 0 7px 7px}.woocommerce form .form-row label{font-size:11px;color:#5f6c66}.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea,.woocommerce form .form-row select,.select2-container--default .select2-selection--single{border:1px solid #dfe7e3!important;border-radius:4px!important;padding:8px!important;min-height:40px}.select2-container--default .select2-selection--single .select2-selection__rendered{line-height:24px}.woocommerce-checkout-review-order-table{font-size:12px}.woocommerce-checkout-payment{background:#f5faf7!important}.woocommerce-checkout-payment .payment_box{background:#edf6f1!important}.woocommerce-checkout-payment .payment_box::before{border-bottom-color:#edf6f1!important}.woocommerce #payment #place_order{width:100%;border:0;border-radius:5px;background:var(--green)!important;color:#fff;padding:14px;font-weight:800;margin-top:10px}
/* Thank you */
.success{min-height:590px;display:grid;place-items:center;text-align:center;padding:50px 20px}.success-box{max-width:620px}.success-check{width:70px;height:70px;border-radius:50%;background:var(--green);color:#fff;display:grid;place-items:center;margin:auto;font-size:35px}.success h1{font-size:32px;margin:15px 0 7px}.success p{color:#63726b}.delivery{background:#f5faf7;padding:15px;border-radius:8px;margin:22px 0}.success-actions{display:flex;flex-direction:column;gap:10px}.success-actions a{padding:12px;border-radius:5px;border:1px solid var(--green);font-weight:700}.success-actions a:first-child{background:var(--green);color:white}.woocommerce-order-overview{display:flex!important;justify-content:center!important;gap:14px;flex-wrap:wrap;list-style:none!important;padding:0!important;margin:20px 0!important}.woocommerce-order-overview li{float:none!important;margin:0!important;padding:10px!important;border:1px solid var(--line)!important;border-radius:5px;background:#fff}.woocommerce-order-details,.woocommerce-customer-details{text-align:left;margin-top:25px}
/* Elementor */
.elementor-page .site-main,.elementor-template-full-width .site-main{max-width:none}.elementor-section.elementor-section-boxed>.elementor-container{max-width:1180px}.wf-elementor-content{width:100%;overflow:hidden}.elementor-location-header+.topbar,.elementor-location-footer~.footer{display:none}
/* Generic content */
.entry-content{line-height:1.7}.entry-content img{max-width:100%;height:auto}.site-main{min-height:45vh}.posts-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;padding:30px 0}.post-card{border:1px solid var(--line);border-radius:7px;overflow:hidden}.post-card img{width:100%;height:220px;object-fit:cover}.post-card-body{padding:16px}.post-card h2{font-size:20px;margin:0 0 8px}.post-card p{font-size:13px;color:var(--muted)}
.wf-toast{position:fixed;right:20px;bottom:20px;background:#073f31;color:white;padding:12px 18px;border-radius:6px;box-shadow:var(--shadow);opacity:0;transform:translateY(15px);pointer-events:none;transition:.25s;z-index:10000}.wf-toast.show{opacity:1;transform:none}
@media(max-width:1000px){.product-grid,.mini-grid,.new-grid{grid-template-columns:repeat(3,1fr)}.why{grid-template-columns:repeat(2,1fr)}.why>b{grid-column:1/-1}.actions .txt{display:none}.header{grid-template-columns:180px 1fr auto}.hero h1{font-size:40px}.footer-grid{grid-template-columns:repeat(3,1fr)}.category-products,.woocommerce ul.products{grid-template-columns:repeat(2,1fr)!important}.related.products ul.products,.upsells.products ul.products{grid-template-columns:repeat(3,1fr)!important}.woocommerce-checkout .col2-set,.woocommerce-checkout #order_review_heading,.woocommerce-checkout #order_review{width:100%;float:none;padding-right:0}.woocommerce-checkout #order_review_heading{margin-top:20px}.posts-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:782px){.admin-bar .topbar{top:46px}}
@media(max-width:720px){.container{width:min(100% - 20px,1180px)}.header{height:auto;padding:12px 0;grid-template-columns:1fr auto}.searchbox{grid-column:1/-1;grid-row:2}.logo{font-size:26px}.nav{overflow:auto;gap:18px;font-size:12px;white-space:nowrap}.nav .tag{display:none}.primary-menu{gap:18px;white-space:nowrap;overflow:auto}.hero-wrap{grid-template-columns:1fr}.hero-copy{padding:28px 12px}.hero h1{font-size:40px}.hero-art{height:250px}.product-grid,.mini-grid{grid-template-columns:repeat(2,1fr)}.new-grid{grid-template-columns:1fr 1fr}.category-row{grid-template-columns:1fr}.category-banner{height:180px}.why{grid-template-columns:1fr}.footer-grid{grid-template-columns:1fr 1fr}.category-layout{grid-template-columns:1fr}.sidebar{display:none}.category-products,.woocommerce ul.products{grid-template-columns:repeat(2,1fr)!important}.product-page{grid-template-columns:1fr}.wf-product-gallery{grid-template-columns:58px 1fr}.wf-thumbs img{width:54px;height:46px}.wf-main-image{min-height:0}.trust-strip{grid-template-columns:repeat(2,1fr)}.feature-strip{grid-template-columns:repeat(3,1fr);gap:18px}.offer-strip{background-size:cover}.footer-bottom{flex-direction:column}.related.products ul.products,.upsells.products ul.products{grid-template-columns:repeat(2,1fr)!important}.posts-grid{grid-template-columns:1fr}}
@media(max-width:480px){.product-grid,.mini-grid,.new-grid,.category-products,.woocommerce ul.products{grid-template-columns:1fr 1fr!important}.product-img{height:125px}.card-title{font-size:12px}.price{font-size:16px}.category-banner{height:150px}.footer-grid{grid-template-columns:1fr}.hero h1{font-size:34px}.feature-strip{grid-template-columns:repeat(2,1fr)}.actions{gap:11px}.header{grid-template-columns:1fr auto}.custom-logo{max-width:130px}.wf-product-gallery{display:block}.wf-thumbs{flex-direction:row;margin-bottom:8px;overflow:auto}.wf-thumbs img{width:64px;height:54px}.woocommerce-order-overview{display:block!important}.woocommerce-order-overview li{margin:8px 0!important}.posts-grid{grid-template-columns:1fr}}
.woocommerce-checkout form.checkout::after{content:"";display:block;clear:both}.checkout-wrap{width:100%}.woocommerce .star-rating{color:#f2a900}.woocommerce .star-rating::before{color:#d5ddd9}.woocommerce div.product p.price,.woocommerce div.product span.price{color:#0a5b3e}
