/*
Theme Name: Raheel WooCommerce
Theme URI: https://example.com/
Author: OpenAI
Description: A clean, responsive WooCommerce theme with editable announcement bar, hero, dynamic categories, products, featured products, menus and footer widgets.
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: raheel-woo
*/
:root{--rw-accent:#1f6b54;--rw-text:#202522;--rw-muted:#68716c;--rw-bg:#fff;--rw-soft:#f5f7f5;--rw-border:#e7ebe8;--rw-width:100%}
*{box-sizing:border-box}body{margin:0;color:var(--rw-text);background:var(--rw-bg);font:16px/1.6 system-ui,-apple-system,Segoe UI,Roboto,sans-serif}a{color:inherit;text-decoration:none}a:hover{color:var(--rw-accent)}img{max-width:100%;height:auto}.rw-wrap{width:calc(100% - 64px);max-width:none;margin-left:auto;margin-right:auto}
.rw-announcement{background:#17241e;color:#fff;text-align:center;padding:8px 15px;font-size:13px}.rw-header{border-bottom:1px solid var(--rw-border);background:#fff}.rw-header-inner{min-height:76px;display:flex;align-items:center;gap:28px}.rw-brand{font-size:24px;font-weight:800;letter-spacing:-.5px}.rw-brand img{max-height:52px;width:auto}.rw-nav{flex:1}.rw-nav ul{display:flex;align-items:center;gap:25px;list-style:none;margin:0;padding:0}.rw-nav li{position:relative}.rw-nav a{font-size:14px;font-weight:600}.rw-header-actions{display:flex;align-items:center;gap:15px}.rw-cart{font-size:14px;font-weight:700;white-space:nowrap}.rw-cart-count{display:inline-grid;place-items:center;background:var(--rw-accent);color:#fff;border-radius:50%;min-width:20px;height:20px;font-size:11px;margin-left:4px}.rw-menu-toggle{display:none;background:none;border:0;font-size:25px}
.rw-hero{min-height:440px;display:flex;align-items:center;background-size:cover;background-position:center;position:relative;background-color:#e9efeb}.rw-hero:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,0,0,.48),rgba(0,0,0,.04))}.rw-hero-inner{position:relative;color:#fff;padding-top:70px;padding-bottom:70px}.rw-hero h1{font-size:clamp(36px,5vw,62px);line-height:1.08;max-width:650px;margin:0 0 16px;font-weight:800}.rw-hero p{font-size:18px;max-width:540px;margin:0 0 25px}.rw-button,.button,button.single_add_to_cart_button{display:inline-block;background:var(--rw-accent);color:#fff!important;padding:13px 23px;border:0;border-radius:3px;font-weight:700;cursor:pointer}.rw-button:hover,.button:hover{filter:brightness(.92)}
.rw-section{padding:58px 0}.rw-section-head{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:25px}.rw-section h2{font-size:30px;line-height:1.2;margin:0;font-weight:800}.rw-section-sub{color:var(--rw-muted);margin:7px 0 0}.rw-categories{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.rw-category{position:relative;min-height:220px;border-radius:6px;overflow:hidden;background:var(--rw-soft)}.rw-category img{width:100%;height:250px;object-fit:cover;display:block;transition:transform .3s}.rw-category:hover img{transform:scale(1.04)}.rw-category-name{position:absolute;inset:auto 0 0;padding:35px 20px 18px;color:#fff;font-size:21px;font-weight:800;background:linear-gradient(transparent,rgba(0,0,0,.68))}
.rw-products ul.products{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px!important;margin:0!important;padding:0!important}.rw-products ul.products:before,.rw-products ul.products:after{display:none!important}.rw-products ul.products li.product{width:auto!important;margin:0!important;float:none!important;text-align:left}.rw-products ul.products li.product img{width:100%;aspect-ratio:1/1;object-fit:cover;margin:0 0 12px;border-radius:4px}.rw-products ul.products li.product .woocommerce-loop-product__title{font-size:16px;font-weight:700;color:var(--rw-text);padding:0 0 5px}.rw-products .price{color:var(--rw-accent)!important;font-weight:700!important}.rw-products .star-rating{margin:5px 0}.rw-products .button{margin-top:8px;font-size:12px;padding:9px 13px}
.rw-footer{background:#17241e;color:#e8eee9;padding:48px 0 20px}.rw-footer-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:35px}.rw-footer h3,.rw-footer .widget-title{color:#fff;font-size:17px;margin:0 0 13px}.rw-footer ul{list-style:none;margin:0;padding:0}.rw-footer li{margin:7px 0}.rw-footer a{color:#e8eee9}.rw-footer-bottom{border-top:1px solid #3a4840;margin-top:35px;padding-top:18px;color:#bdc9c1;font-size:13px}
.woocommerce .quantity .qty{padding:10px;border:1px solid var(--rw-border)}.woocommerce div.product .product_title{font-size:32px}.woocommerce-message,.woocommerce-info{border-top-color:var(--rw-accent)}
@media(max-width:800px){.rw-header-inner{flex-wrap:wrap;min-height:66px;gap:12px}.rw-menu-toggle{display:block;margin-left:auto}.rw-nav{display:none;flex-basis:100%;order:4;padding:0 0 15px}.rw-nav.is-open{display:block}.rw-nav ul{display:block}.rw-nav li{padding:8px 0}.rw-header-actions{margin-left:0}.rw-hero{min-height:360px}.rw-categories{gap:12px}.rw-category{min-height:160px}.rw-category img{height:180px}.rw-products ul.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px!important}.rw-footer-grid{grid-template-columns:1fr 1fr}}
@media(max-width:520px){.rw-wrap{width:calc(100% - 28px)}.rw-brand{font-size:20px}.rw-hero{min-height:330px}.rw-hero p{font-size:15px}.rw-section{padding:42px 0}.rw-section h2{font-size:25px}.rw-categories{grid-template-columns:1fr}.rw-category img{height:210px}.rw-footer-grid{grid-template-columns:1fr}}

/* Featured products: image left, product details right */
.rw-featured-list{display:flex;flex-direction:column;gap:28px}.rw-featured-item{display:grid;grid-template-columns:minmax(260px,42%) minmax(0,1fr);gap:clamp(24px,4vw,55px);align-items:center;padding:24px;border:1px solid var(--rw-border);border-radius:8px;background:#fff}.rw-featured-image img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:5px}.rw-featured-content h3{font-size:clamp(22px,2.5vw,32px);line-height:1.2;margin:0 0 12px;font-weight:800}.rw-featured-content h3 a{color:var(--rw-text)}.rw-featured-price{font-size:20px;font-weight:700;color:var(--rw-accent);margin:0 0 12px}.rw-featured-description{color:var(--rw-muted);margin-bottom:20px}.rw-featured-description p{margin:0 0 8px}.rw-featured-button{display:inline-block!important;margin:0!important;padding:13px 24px!important;font-size:14px!important;border-radius:3px!important;background:var(--rw-accent)!important;color:#fff!important;font-weight:700!important}.rw-featured-button:hover{filter:brightness(.9)}
@media(max-width:700px){.rw-featured-item{grid-template-columns:1fr;padding:16px;gap:20px}.rw-featured-image img{aspect-ratio:4/3}.rw-featured-content h3{font-size:24px}}
