/*
Theme Name: RubyMart Commerce
Theme URI: https://example.com/
Author: RubyMart
Description: Mobile-first WooCommerce commerce theme with separate theme settings and Elementor Theme Builder support.
Version: 1.0.2
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: rubymart
*/

:root{--rm-primary:#00572f;--rm-primary-dark:#003f22;--rm-primary-light:#eaf5ef;--rm-text:#111827;--rm-muted:#6b7280;--rm-border:#e5e7eb;--rm-bg:#fff;--rm-soft:#f7faf9;--rm-danger:#dc2626;--rm-radius:12px;--rm-container:1440px;--rm-gap:24px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--rm-bg);color:var(--rm-text);font-family:"Noto Sans Bengali","Noto Sans",sans-serif;line-height:1.6}a{color:var(--rm-primary);text-decoration:none}a:hover{text-decoration:underline}img{max-width:100%;height:auto}.rm-container{width:min(100% - 32px,var(--rm-container));margin-inline:auto}.rm-screen-reader{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.rm-announcement{background:var(--rm-primary);color:#fff;font-size:13px}.rm-announcement .rm-container{min-height:36px;display:flex;align-items:center;justify-content:center;text-align:center}.rm-site-header{background:#fff;border-bottom:1px solid var(--rm-border)}.rm-header-main{display:grid;grid-template-columns:220px minmax(300px,1fr) auto;gap:28px;align-items:center;padding:18px 0}.rm-brand{font-weight:900;font-size:26px;color:var(--rm-primary);letter-spacing:-.04em}.rm-brand-mark{display:inline-flex;width:34px;height:34px;border-radius:50%;background:var(--rm-primary);color:#fff;align-items:center;justify-content:center;margin-right:8px;font-weight:800}.rm-search{display:flex;border:1px solid var(--rm-border);border-radius:999px;overflow:hidden;background:#fff}.rm-search input{border:0;outline:0;padding:13px 18px;flex:1;min-width:0}.rm-search button{border:0;background:var(--rm-primary);color:#fff;padding:0 20px;font-weight:700}.rm-header-actions{display:flex;align-items:center;gap:18px}.rm-hotline{font-size:12px;color:var(--rm-muted)}.rm-hotline strong{display:block;color:var(--rm-text);font-size:14px}.rm-cart-link{font-weight:800;white-space:nowrap}.rm-nav{background:var(--rm-primary);color:#fff}.rm-nav .rm-container{display:flex;align-items:center;min-height:48px;gap:24px}.rm-nav a{color:#fff;font-weight:700;font-size:14px}.rm-nav-list{display:flex;gap:24px;align-items:center;list-style:none;padding:0;margin:0}.rm-nav-category{font-weight:800}.rm-mobile-bar,.rm-mobile-search{display:none}.rm-breadcrumb{padding:18px 0;color:var(--rm-muted);font-size:13px}.rm-page-title{font-size:clamp(30px,5vw,52px);line-height:1.15;margin:0 0 18px;font-weight:900}.rm-section{padding:56px 0}.rm-section-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:24px}.rm-section-title{font-size:28px;line-height:1.2;margin:0;font-weight:900}.rm-section-subtitle{color:var(--rm-muted);margin:6px 0 0}.rm-button,.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.woocommerce #respond input#submit{display:inline-flex;align-items:center;justify-content:center;border-radius:9px;border:1px solid var(--rm-primary);background:var(--rm-primary);color:#fff!important;padding:12px 20px;font-weight:800;cursor:pointer;text-decoration:none}.rm-button:hover,.woocommerce a.button:hover,.woocommerce button.button:hover,.woocommerce input.button:hover{background:var(--rm-primary-dark)}.rm-button-outline{background:#fff!important;color:var(--rm-primary)!important}.rm-hero{background:var(--rm-primary-light);border-radius:20px;padding:64px 7%;display:grid;grid-template-columns:1.1fr .9fr;gap:48px;align-items:center;overflow:hidden}.rm-hero h1{font-size:clamp(34px,5vw,64px);line-height:1.08;margin:0 0 16px;font-weight:900}.rm-hero p{font-size:18px;color:var(--rm-muted);max-width:650px}.rm-hero-media{min-height:320px;border-radius:18px;background:#dbeee2;display:flex;align-items:center;justify-content:center;overflow:hidden}.rm-hero-media img{width:100%;height:100%;object-fit:cover}.rm-trust-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.rm-trust-card,.rm-stat,.rm-content-card{border:1px solid var(--rm-border);background:#fff;border-radius:var(--rm-radius);padding:22px}.rm-trust-icon{width:44px;height:44px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:var(--rm-primary-light);color:var(--rm-primary);font-weight:900;margin-bottom:12px}.rm-trust-card h3{margin:0 0 5px;font-size:16px}.rm-trust-card p{margin:0;color:var(--rm-muted);font-size:13px}.rm-product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}.rm-product-card{position:relative;border:1px solid var(--rm-border);border-radius:14px;background:#fff;overflow:hidden;height:100%;display:flex;flex-direction:column}.rm-product-image{aspect-ratio:1/1;background:var(--rm-soft);position:relative;overflow:hidden}.rm-product-image img{width:100%;height:100%;object-fit:cover}.rm-sale-badge{position:absolute;top:12px;left:12px;background:var(--rm-danger);color:#fff;padding:4px 8px;border-radius:6px;font-size:11px;font-weight:800}.rm-wishlist{position:absolute;right:12px;top:12px;width:36px;height:36px;border-radius:50%;border:1px solid var(--rm-border);background:#fff;display:flex;align-items:center;justify-content:center;color:var(--rm-primary)}.rm-product-body{padding:15px;display:flex;flex-direction:column;gap:7px;flex:1}.rm-product-category{font-size:11px;color:var(--rm-muted);text-transform:uppercase}.rm-product-title{font-size:15px;line-height:1.35;margin:0}.rm-product-title a{color:var(--rm-text)}.rm-product-price{font-weight:900;font-size:18px;color:var(--rm-primary);margin-top:auto}.rm-product-price del{font-size:13px;color:var(--rm-muted);font-weight:500;margin-right:6px}.rm-product-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:8px}.rm-product-actions .rm-button{padding:9px 8px;font-size:12px}.rm-flash{background:var(--rm-primary);color:#fff;border-radius:18px;padding:32px}.rm-flash .rm-section-title,.rm-flash a{color:#fff}.rm-category-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.rm-category-card{position:relative;min-height:180px;border-radius:16px;overflow:hidden;background:var(--rm-primary-light)}.rm-category-card img{width:100%;height:100%;object-fit:cover;position:absolute;inset:0}.rm-category-overlay{position:absolute;inset:auto 0 0;padding:22px;background:linear-gradient(transparent,rgba(0,0,0,.75));color:#fff}.rm-category-overlay h3{margin:0;font-size:20px}.rm-promo{display:grid;grid-template-columns:1fr 1fr;gap:20px}.rm-promo-card{min-height:220px;border-radius:16px;padding:32px;background:var(--rm-soft);display:flex;flex-direction:column;justify-content:center}.rm-promo-card h3{font-size:28px;margin:0 0 8px}.rm-blog-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.rm-footer{background:#0d2017;color:#d8e6de;margin-top:56px}.rm-footer-main{padding:56px 0;display:grid;grid-template-columns:1.4fr repeat(3,1fr);gap:32px}.rm-footer a{color:#d8e6de}.rm-footer h3{color:#fff;margin-top:0}.rm-footer-brand{color:#fff}.rm-footer-bottom{border-top:1px solid rgba(255,255,255,.12);padding:16px 0;font-size:13px}.rm-page{padding-bottom:40px}.rm-content{max-width:900px}.rm-content img{border-radius:14px}.rm-archive-toolbar{display:flex;justify-content:space-between;gap:15px;align-items:center;margin-bottom:24px}.rm-shop-layout{display:grid;grid-template-columns:260px 1fr;gap:28px}.rm-filter-panel{border:1px solid var(--rm-border);border-radius:12px;padding:18px;height:max-content}.rm-filter-panel h3{margin-top:0}.rm-mobile-filter{display:none}.rm-checkout-wrap{max-width:1120px;margin:auto}.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea,.woocommerce form .form-row select{border:1px solid var(--rm-border);border-radius:8px;padding:12px}.woocommerce-checkout #payment{background:var(--rm-soft);border-radius:12px}.rm-account-nav{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:24px}.rm-account-nav a{border:1px solid var(--rm-border);border-radius:8px;padding:8px 12px}.rm-account-nav a:hover{background:var(--rm-primary-light)}@media(max-width:1100px){.rm-header-main{grid-template-columns:180px 1fr auto;gap:16px}.rm-product-grid{grid-template-columns:repeat(3,1fr)}.rm-trust-grid{grid-template-columns:repeat(2,1fr)}.rm-category-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:767px){.rm-container{width:min(100% - 24px,var(--rm-container))}.rm-header-main,.rm-nav{display:none}.rm-mobile-bar{display:flex;align-items:center;justify-content:space-between;padding:12px 0}.rm-mobile-actions{display:flex;gap:12px;align-items:center}.rm-mobile-search{display:block;padding:0 0 12px}.rm-mobile-search .rm-search{width:100%}.rm-hero{grid-template-columns:1fr;padding:36px 24px;gap:22px}.rm-hero-media{min-height:220px}.rm-section{padding:40px 0}.rm-section-head{align-items:start}.rm-section-title{font-size:24px}.rm-product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.rm-product-body{padding:12px}.rm-product-actions{grid-template-columns:1fr}.rm-category-grid{grid-template-columns:repeat(2,1fr);gap:12px}.rm-promo{grid-template-columns:1fr}.rm-blog-grid{grid-template-columns:1fr}.rm-footer-main{grid-template-columns:1fr 1fr;gap:24px;padding:40px 0}.rm-shop-layout{grid-template-columns:1fr}.rm-filter-panel{display:none}.rm-mobile-filter{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}.rm-archive-toolbar{align-items:flex-start;flex-direction:column}.rm-announcement .rm-container{min-height:32px;font-size:11px}.rm-page-title{font-size:34px}}@media(max-width:430px){.rm-footer-main{grid-template-columns:1fr}.rm-product-grid{grid-template-columns:repeat(2,1fr)}}

.woocommerce ul.products{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;margin:0;padding:0;list-style:none}.woocommerce ul.products::before,.woocommerce ul.products::after{display:none}.woocommerce ul.products li.product{width:auto!important;float:none!important;margin:0!important}.woocommerce .star-rating{color:var(--rm-primary)}.rm-delivery-box{margin-top:20px}.rm-mobile-toggle{border:0;background:none;font-size:22px}
@media(max-width:1100px){.woocommerce ul.products{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:767px){.woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}}
