/*
Theme Name: Tufting Rug BD
Theme URI: https://tuftingrugbd.com
Author: Tufting Rug BD
Author URI: https://tuftingrugbd.com
Description: Handmade e-commerce theme for Tufting Rug BD — Decor, Rug, Crafts & Toys. Full WooCommerce integration with 7 colorful category cards, hero banner, custom-design banner, COD (Cash on Delivery) focus and one-click demo import.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tufting-rug-bd
Tags: e-commerce, woocommerce, custom-colors, custom-menu, featured-images, translation-ready
WC requires at least: 7.0
WC tested up to: 9.5
*/

:root{
  --red:#E1102E; --red-dark:#B90D25; --yellow:#FAC615; --blue:#3B82F6;
  --green:#22C55E; --pink:#EC4899; --orange:#F97316; --purple:#8B5CF6;
  --teal:#0D9488; --dark:#1A1A1A; --gray:#8A8790; --line:#ECECEC;
  --cream:#FFF7E6; --bg:#FFFFFF; --soft:#F7F7F8;
  --script:'Segoe Script','Brush Script MT','Comic Sans MS',cursive;
}
*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth}
body{font-family:'Segoe UI',system-ui,-apple-system,Roboto,Arial,sans-serif;color:#242424;background:var(--bg);line-height:1.5}
img{max-width:100%;display:block}
a{text-decoration:none;color:inherit}
button{font-family:inherit;cursor:pointer;border:none;background:none}
.container{max-width:1240px;margin:0 auto;padding:0 20px}

/* ---------- HEADER ---------- */
.topbar{background:var(--dark);color:#fff;font-size:12.5px;text-align:center;padding:7px 12px;letter-spacing:.3px}
.topbar b{color:var(--yellow)}
header.site-header{position:sticky;top:0;z-index:100;background:#fff;box-shadow:0 2px 14px rgba(0,0,0,.07)}
.nav-wrap{display:flex;align-items:center;gap:22px;padding:12px 20px;max-width:1240px;margin:0 auto}
.brand{display:flex;align-items:center;gap:11px;flex-shrink:0}
.brand .logo{width:52px;height:52px;border-radius:50%}
.brand-name{font-size:19px;font-weight:800;line-height:1.15;letter-spacing:.2px}
.brand-sub{font-size:10.5px;color:var(--gray);font-weight:500}
nav.main{display:flex;gap:26px;font-size:14.5px;font-weight:600;margin:0 auto}
nav.main ul{list-style:none;display:flex;gap:26px}
nav.main li{position:relative}
nav.main a{position:relative;padding:8px 0;color:#333;transition:color .2s;display:block}
nav.main a:hover{color:var(--red)}
nav.main .current-menu-item>a,nav.main .current_page_item>a{color:var(--red)}
nav.main .current-menu-item>a::after,nav.main .current_page_item>a::after{content:'';position:absolute;left:0;right:0;bottom:0;height:2.5px;background:var(--red);border-radius:3px}
nav.main .sub-menu,nav.main .children{display:none;position:absolute;top:100%;left:0;background:#fff;min-width:220px;box-shadow:0 14px 30px rgba(0,0,0,.12);border-radius:12px;padding:8px 0;z-index:99;flex-direction:column;gap:0}
nav.main li:hover>.sub-menu{display:flex}
nav.main .sub-menu a{padding:9px 18px;font-weight:500;font-size:13.5px}
nav.main .sub-menu .sub-menu{left:100%;top:-8px}
.search-box{display:flex;align-items:center;background:var(--soft);border:1.5px solid var(--line);border-radius:22px;padding:8px 16px;width:230px;transition:border .2s}
.search-box:focus-within{border-color:var(--red)}
.search-box input{border:none;background:none;outline:none;font-size:13px;width:100%;color:#333}
.search-box svg{flex-shrink:0;opacity:.55}
.h-icons{display:flex;align-items:center;gap:8px;flex-shrink:0}
.icon-btn{position:relative;width:42px;height:42px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#333;transition:background .2s,color .2s}
.icon-btn:hover{background:var(--cream);color:var(--red)}
.badge-count{position:absolute;top:2px;right:0;background:var(--red);color:#fff;font-size:10px;font-weight:700;min-width:17px;height:17px;border-radius:9px;display:flex;align-items:center;justify-content:center;padding:0 4px;border:2px solid #fff}
.hamburger{display:none}

/* ---------- HERO ---------- */
.hero{background:var(--dark);color:#fff;overflow:hidden;position:relative}
.hero-grid{display:grid;grid-template-columns:1.05fr 1fr;min-height:480px}
.hero-copy{padding:64px 20px 56px 56px;display:flex;flex-direction:column;justify-content:center;position:relative;z-index:2}
.hero-script{font-family:var(--script);font-size:26px;color:#fff;opacity:.95;margin-bottom:6px}
.hero-script .heart{color:var(--yellow)}
.hero h1,.hero .hero-title{font-size:58px;line-height:1.04;font-weight:800;letter-spacing:.5px;margin-bottom:14px;color:#fff}
.hero .bd{color:var(--red)}
.hero p{color:#cfccd4;font-size:16.5px;margin-bottom:26px;max-width:420px}
.btn{display:inline-flex;align-items:center;gap:9px;font-weight:700;font-size:14.5px;padding:14px 30px;border-radius:28px;transition:transform .15s,box-shadow .2s,background .2s}
.btn:active{transform:scale(.97)}
.btn-red{background:var(--red);color:#fff;box-shadow:0 8px 22px rgba(225,16,46,.35)}
.btn-red:hover{background:var(--red-dark);box-shadow:0 10px 26px rgba(225,16,46,.45)}
.btn .arrow{transition:transform .2s}
.btn:hover .arrow{transform:translateX(4px)}
.trust-row{display:flex;gap:30px;margin-top:38px;flex-wrap:wrap}
.trust{display:flex;align-items:center;gap:11px;font-size:12.5px;color:#e8e6ec;line-height:1.35}
.trust b{display:block;font-size:13px;color:#fff}
.trust .t-ic{width:40px;height:40px;border:1.5px solid rgba(255,255,255,.28);border-radius:11px;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.hero-img{position:relative;min-height:380px}
.hero-img img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.hero-img::before{content:'';position:absolute;inset:0;background:linear-gradient(90deg,var(--dark) 0%,rgba(26,26,26,0) 30%);z-index:1}
.hero-note{position:absolute;right:26px;top:50%;transform:translateY(-50%);writing-mode:vertical-rl;font-family:var(--script);font-size:21px;color:#fff;text-shadow:0 2px 10px rgba(0,0,0,.5);z-index:2;letter-spacing:1px}
.hero-note .heart{color:var(--red)}

/* ---------- SECTION TITLE ---------- */
.section{padding:64px 0 30px}
.sec-title{display:flex;align-items:center;gap:20px;justify-content:center;margin-bottom:8px}
.sec-title .line{height:2.5px;width:90px;background:var(--red);border-radius:2px}
.sec-title h2{font-size:30px;font-weight:800;white-space:nowrap}
.sec-sub{text-align:center;color:var(--gray);font-size:14.5px;margin-bottom:38px}

/* ---------- CATEGORY CARDS ---------- */
.cat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:22px;padding-bottom:26px}
.cat-card{border-radius:18px;padding:18px 18px 16px;position:relative;transition:transform .25s,box-shadow .25s;display:flex;flex-direction:column;border:1px solid rgba(0,0,0,.04);background:#fff}
.cat-card:hover{transform:translateY(-6px);box-shadow:0 16px 34px rgba(0,0,0,.12)}
.cat-head{display:flex;align-items:center;gap:12px;margin-bottom:13px}
.cat-num{width:44px;height:44px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#fff;font-size:21px;font-weight:800;flex-shrink:0;box-shadow:0 5px 12px rgba(0,0,0,.18)}
.cat-name{font-weight:800;font-size:16.5px;line-height:1.2}
.cat-img{border-radius:13px;overflow:hidden;margin-bottom:13px;aspect-ratio:16/10}
.cat-img img{width:100%;height:100%;object-fit:cover;transition:transform .5s}
.cat-card:hover .cat-img img{transform:scale(1.07)}
.cat-list{list-style:none;font-size:12.8px;color:#4a4a4a;display:grid;grid-template-columns:1fr 1fr;gap:6px 10px;margin-bottom:14px}
.cat-list li{display:flex;align-items:center;gap:7px}
.dot{width:7px;height:7px;border-radius:50%;flex-shrink:0}
.cat-foot{margin-top:auto;display:flex;justify-content:flex-end}
.btn-view{display:inline-flex;align-items:center;gap:7px;color:#fff;font-size:12.5px;font-weight:700;padding:9px 18px;border-radius:20px;transition:filter .2s,transform .15s}
.btn-view:hover{filter:brightness(.92)}
.btn-view:active{transform:scale(.96)}
.c-red{background:#FDECEF}.c-red .cat-num{background:var(--red)}.c-red .cat-name{color:var(--red)}.c-red .dot{background:var(--red)}.c-red .btn-view{background:var(--red)}
.c-blue{background:#EAF2FE}.c-blue .cat-num{background:var(--blue)}.c-blue .cat-name{color:var(--blue)}.c-blue .dot{background:var(--blue)}.c-blue .btn-view{background:var(--blue)}
.c-green{background:#EAFBF0}.c-green .cat-num{background:var(--green)}.c-green .cat-name{color:#16A34A}.c-green .dot{background:var(--green)}.c-green .btn-view{background:var(--green)}
.c-orange{background:#FEF3E8}.c-orange .cat-num{background:var(--orange)}.c-orange .cat-name{color:var(--orange)}.c-orange .dot{background:var(--orange)}.c-orange .btn-view{background:var(--orange)}
.c-purple{background:#F5EEFD}.c-purple .cat-num{background:var(--purple)}.c-purple .cat-name{color:var(--purple)}.c-purple .dot{background:var(--purple)}.c-purple .btn-view{background:var(--purple)}
.c-teal{background:#E6FAF7}.c-teal .cat-num{background:var(--teal)}.c-teal .cat-name{color:var(--teal)}.c-teal .dot{background:var(--teal)}.c-teal .btn-view{background:var(--teal)}
.c-pink{background:#FDEFF5}.c-pink .cat-num{background:var(--pink)}.c-pink .cat-name{color:var(--pink)}.c-pink .dot{background:var(--pink)}.c-pink .btn-view{background:var(--pink)}

/* ---------- CUSTOM BANNER ---------- */
.custom-banner{margin:36px 0 10px;position:relative;border-radius:20px;overflow:hidden;min-height:300px;display:flex;align-items:center}
.custom-banner img.bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.custom-banner .shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(20,14,8,.78) 0%,rgba(20,14,8,.35) 55%,rgba(20,14,8,.05) 100%)}
.cb-copy{position:relative;z-index:2;padding:48px 56px;color:#fff;max-width:560px}
.cb-script{font-family:var(--script);font-size:34px;line-height:1.25;margin-bottom:8px;text-shadow:0 2px 12px rgba(0,0,0,.4)}
.cb-script .heart{color:var(--red)}
.cb-copy p{font-size:14.5px;color:#efe9e2;margin-bottom:22px}
.btn-yellow{background:var(--yellow);color:#3d2c00;box-shadow:0 8px 22px rgba(250,198,21,.35)}
.btn-yellow:hover{background:#ffd635}

/* ---------- BENEFITS ---------- */
.benefits{background:var(--soft);border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin-top:36px}
.ben-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;padding:34px 0}
.ben{display:flex;align-items:center;gap:14px}
.ben .b-ic{width:52px;height:52px;border-radius:14px;display:flex;align-items:center;justify-content:center;color:#fff;flex-shrink:0}
.ben b{font-size:14px;display:block}
.ben span{font-size:12.5px;color:var(--gray)}
.bg-red{background:var(--red)}.bg-green{background:var(--green)}.bg-blue{background:var(--blue)}.bg-orange{background:var(--orange)}

/* ---------- FOOTER ---------- */
footer.site-footer{background:var(--dark);color:#c9c7cf;margin-top:0}
.foot-main{display:grid;grid-template-columns:1.3fr .9fr 1fr 1.3fr;gap:36px;padding:52px 0 40px}
.foot-brand .brand-name{color:#fff}
.foot-brand p{font-size:13px;margin:14px 0 18px;max-width:270px}
.foot-script{font-family:var(--script);color:var(--yellow);font-size:17px}
.socials{display:flex;gap:10px}
.soc{width:38px;height:38px;border-radius:50%;border:1.5px solid rgba(255,255,255,.25);display:flex;align-items:center;justify-content:center;color:#fff;transition:background .2s,border-color .2s,transform .15s}
.soc:hover{background:var(--red);border-color:var(--red);transform:translateY(-3px)}
.foot-h{color:#fff;font-size:15px;font-weight:800;margin-bottom:16px}
.foot-links{list-style:none;display:flex;flex-direction:column;gap:9px;font-size:13.5px}
.foot-links a{transition:color .2s;display:inline-flex;align-items:center;gap:8px}
.foot-links a:hover{color:var(--yellow)}
.foot-links a::before{content:'\203A';color:var(--red);font-weight:800}
.news p{font-size:13px;margin-bottom:14px}
.news-form{display:flex;background:#fff;border-radius:26px;padding:5px;max-width:340px}
.news-form input{flex:1;border:none;outline:none;padding:9px 16px;font-size:13px;border-radius:22px;color:#333;min-width:0}
.news-send{width:42px;height:42px;border-radius:50%;background:var(--red);color:#fff;display:flex;align-items:center;justify-content:center;flex-shrink:0;transition:background .2s}
.news-send:hover{background:var(--red-dark)}
.cod-note{display:inline-flex;align-items:center;gap:8px;margin-top:14px;font-size:12.5px;color:#b9f4cd;background:rgba(34,197,94,.14);border:1px solid rgba(34,197,94,.35);padding:7px 14px;border-radius:18px}
.foot-bottom{border-top:1px solid rgba(255,255,255,.12);padding:18px 0;font-size:12.5px}
.foot-bottom .container{display:flex;justify-content:space-between;gap:14px;flex-wrap:wrap}
.foot-bottom a{margin-left:22px;transition:color .2s}
.foot-bottom a:hover{color:var(--yellow)}

/* =====================================================
   WOOCOMMERCE
===================================================== */
.woocommerce-notices-wrapper .woocommerce-message,.woocommerce-notices-wrapper .woocommerce-info,.woocommerce-notices-wrapper .woocommerce-error,
.woocommerce-message,.woocommerce-info,.woocommerce-error{border-radius:14px;border:none;border-left:4px solid var(--green);background:var(--soft);padding:14px 20px;margin:0 0 22px;list-style:none;font-size:14px}
.woocommerce-error{border-left-color:var(--red)}
.woocommerce-info{border-left-color:var(--blue)}
.woocommerce-message::before,.woocommerce-info::before,.woocommerce-error::before{display:none}
.woocommerce-error li{margin:4px 0}

/* Shop loop */
.woocommerce ul.products{display:grid !important;grid-template-columns:repeat(4,1fr);gap:22px;margin:0 0 30px !important;padding:0 !important;list-style:none}
.woocommerce ul.products::before,.woocommerce ul.products::after{display:none}
.woocommerce ul.products li.product{float:none !important;width:auto !important;margin:0 !important;padding:0;background:#fff;border:1.5px solid var(--line);border-radius:16px;overflow:hidden;position:relative;transition:transform .25s,box-shadow .25s,border-color .25s;display:flex;flex-direction:column}
.woocommerce ul.products li.product:hover{transform:translateY(-5px);box-shadow:0 16px 32px rgba(0,0,0,.1);border-color:transparent}
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link{display:flex;flex-direction:column;flex:1}
.woocommerce ul.products li.product img{width:100% !important;height:auto;aspect-ratio:1/1;object-fit:cover;margin:0 !important;transition:transform .5s}
.woocommerce ul.products li.product:hover img{transform:scale(1.06)}
.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:14.5px !important;font-weight:700;line-height:1.35;padding:12px 16px 0;color:#242424;min-height:0}
.woocommerce ul.products li.product .star-rating{margin:6px 16px 0 !important;font-size:12px;color:var(--yellow)}
.woocommerce ul.products li.product .price{color:var(--red) !important;font-size:17px !important;font-weight:800;padding:6px 16px 14px;margin:0 !important}
.woocommerce ul.products li.product .price del{color:#b3b0b8 !important;font-size:13px;font-weight:400}
.woocommerce ul.products li.product .price ins{text-decoration:none}
.woocommerce ul.products li.product .button,.woocommerce ul.products li.product .add_to_cart_button{margin:0 16px 16px !important;background:var(--dark) !important;color:#fff !important;font-size:13px !important;font-weight:700;padding:11px 0 !important;border-radius:24px !important;text-align:center;transition:background .2s,transform .15s}
.woocommerce ul.products li.product .button:hover,.woocommerce ul.products li.product .add_to_cart_button:hover{background:var(--red) !important}
.woocommerce ul.products li.product .button.loading::after{color:#fff}
.woocommerce span.onsale{position:absolute !important;top:12px !important;left:12px !important;z-index:3;background:var(--red) !important;color:#fff;font-size:11px;font-weight:800;padding:5px 11px !important;border-radius:14px !important;letter-spacing:.4px;min-width:0 !important;min-height:0 !important;line-height:1.4 !important;margin:0 !important}
.woocommerce .star-rating span::before{color:var(--yellow)}

/* Result count + ordering */
.woocommerce .woocommerce-result-count{margin:4px 0 18px;font-size:13px;color:var(--gray)}
.woocommerce .woocommerce-ordering{margin-bottom:18px}
.woocommerce .woocommerce-ordering select{border:1.5px solid var(--line);border-radius:20px;padding:8px 14px;font-size:13px;background:#fff;outline:none;cursor:pointer}

/* Single product */
.woocommerce div.product{display:grid;grid-template-columns:1fr 1fr;gap:44px;margin:26px 0 40px}
.woocommerce div.product div.images{float:none !important;width:100% !important;margin:0 !important}
.woocommerce div.product div.images img{border-radius:18px;border:1px solid var(--line)}
.woocommerce div.product div.images .flex-control-thumbs{display:flex;gap:10px;margin-top:12px}
.woocommerce div.product div.images .flex-control-thumbs li{width:76px !important;float:none}
.woocommerce div.product div.images .flex-control-thumbs img{border-radius:10px;border:2px solid transparent;opacity:.7}
.woocommerce div.product div.images .flex-control-thumbs img.flex-active{border-color:var(--red);opacity:1}
.woocommerce div.product div.summary{float:none !important;width:100% !important;margin:0 !important}
.woocommerce div.product .product_title{font-size:28px;font-weight:800;line-height:1.2;margin-bottom:10px}
.woocommerce div.product p.price{color:var(--red) !important;font-size:26px !important;font-weight:800;margin:12px 0 18px !important}
.woocommerce div.product p.price del{color:#b3b0b8 !important;font-size:17px}
.woocommerce div.product p.price ins{text-decoration:none}
.woocommerce div.product div.summary p{font-size:14.5px;color:#555}
.woocommerce div.product form.cart{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:22px 0 !important;padding:18px 0;border-top:1px dashed var(--line);border-bottom:1px dashed var(--line)}
.woocommerce div.product form.cart div.quantity{margin:0 !important}
.woocommerce .quantity .qty{border:1.5px solid var(--line);border-radius:22px;padding:10px 8px;width:96px;text-align:center;font-size:14px;outline:none}
.woocommerce div.product form.cart .button,.woocommerce #respond input#submit,.woocommerce button.button.alt,.woocommerce a.button.alt,.single_add_to_cart_button{background:var(--red) !important;color:#fff !important;font-weight:800 !important;font-size:14.5px !important;padding:14px 34px !important;border-radius:28px !important;box-shadow:0 8px 22px rgba(225,16,46,.3);transition:background .2s}
.woocommerce div.product form.cart .button:hover,.woocommerce #respond input#submit:hover,.woocommerce button.button.alt:hover,.woocommerce a.button.alt:hover,.single_add_to_cart_button:hover{background:var(--red-dark) !important}
.woocommerce div.product .product_meta{font-size:12.5px;color:var(--gray);padding-top:14px}
.woocommerce div.product .product_meta a{color:var(--red)}
.woocommerce div.product .woocommerce-tabs{grid-column:1 / -1}
.woocommerce div.product .woocommerce-tabs ul.tabs{list-style:none;display:flex;gap:8px;border-bottom:2px solid var(--line);margin-bottom:20px;padding:0}
.woocommerce div.product .woocommerce-tabs ul.tabs li{background:none;margin:0;padding:0;border:none;border-radius:0}
.woocommerce div.product .woocommerce-tabs ul.tabs li::before,.woocommerce div.product .woocommerce-tabs ul.tabs li::after{display:none}
.woocommerce div.product .woocommerce-tabs ul.tabs li a{display:block;padding:12px 22px;font-weight:700;font-size:14px;color:#666;border-bottom:3px solid transparent;margin-bottom:-2px}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a{color:var(--red);border-bottom-color:var(--red)}
.woocommerce div.product .woocommerce-tabs .panel{font-size:14.5px;color:#555;padding-bottom:10px}
.woocommerce .related.products,.woocommerce .upsells.products{grid-column:1 / -1}
.woocommerce .related.products>h2,.woocommerce .upsells.products>h2{font-size:22px;font-weight:800;margin-bottom:20px}

/* Buttons generic */
.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.woocommerce .wc-forward{background:var(--dark);color:#fff;font-weight:700;font-size:13.5px;padding:12px 26px !important;border-radius:24px;transition:background .2s;text-align:center}
.woocommerce a.button:hover,.woocommerce button.button:hover,.woocommerce input.button:hover{background:var(--red);color:#fff}
.woocommerce .woocommerce-message .button,.woocommerce .woocommerce-info .button{float:right;background:var(--green);padding:8px 18px !important}
.woocommerce .woocommerce-message .button:hover,.woocommerce .woocommerce-info .button:hover{background:#16A34A}

/* Cart */
.woocommerce-cart .woocommerce{display:grid;grid-template-columns:1.6fr 1fr;gap:34px;align-items:start;margin:26px 0 40px}
.woocommerce table.shop_table{border:none !important;border-radius:16px !important;border:1px solid var(--line) !important;border-collapse:separate !important;border-spacing:0;overflow:hidden;width:100%}
.woocommerce table.shop_table th{background:var(--soft);font-size:12px;text-transform:uppercase;letter-spacing:.6px;color:#666;padding:14px 16px !important;border-bottom:1px solid var(--line) !important}
.woocommerce table.shop_table td{border-top:1px dashed var(--line) !important;padding:14px 16px !important;font-size:14px;vertical-align:middle}
.woocommerce table.shop_table img{width:64px;border-radius:10px}
.woocommerce table.cart td.product-name a{font-weight:700}
.woocommerce table.cart td.actions .coupon .input-text{border:1.5px solid var(--line) !important;border-radius:22px !important;padding:11px 18px !important;width:180px;outline:none;font-size:13px}
.woocommerce-cart .cart-collaterals{float:none !important;width:100% !important}
.woocommerce-cart .cart-collaterals .cart_totals{width:100% !important;float:none !important}
.woocommerce .wc-proceed-to-checkout .checkout-button{background:var(--red) !important;color:#fff !important;font-weight:800 !important;font-size:15px !important;padding:16px !important;border-radius:26px !important;box-shadow:0 8px 22px rgba(225,16,46,.3)}
.woocommerce .wc-proceed-to-checkout .checkout-button:hover{background:var(--red-dark) !important}

/* Checkout */
.woocommerce-checkout .woocommerce{display:grid;grid-template-columns:1.35fr 1fr;gap:34px;align-items:start;margin:26px 0 40px}
.woocommerce-checkout form.checkout{display:block !important}
.woocommerce-checkout form.checkout .col2-set{width:100% !important;float:none !important}
.woocommerce-checkout form.checkout .col-1,.woocommerce-checkout form.checkout .col-2{width:100% !important;float:none !important}
.woocommerce-checkout form.checkout #order_review_heading,.woocommerce-checkout form.checkout #order_review{width:100% !important;float:none !important}
.woocommerce form .form-row label{font-size:13px;font-weight:700;margin-bottom:5px}
.woocommerce form .form-row label .required{color:var(--red)}
.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea,.woocommerce form .form-row select,.select2-container .select2-selection--single{border:1.5px solid var(--line) !important;border-radius:12px !important;padding:12px 14px !important;font-size:14px;outline:none;background:#fff !important;height:auto !important;line-height:1.4 !important}
.woocommerce form .form-row input.input-text:focus,.woocommerce form .form-row textarea:focus{border-color:var(--red) !important}
.select2-container .select2-selection--single .select2-selection__rendered{padding:0 !important;line-height:1.4 !important}
.select2-container .select2-selection--single .select2-selection__arrow{height:100% !important}
.woocommerce-checkout #order_review{background:#fff;border:1.5px solid var(--line);border-radius:18px;padding:24px}
.woocommerce-checkout #order_review_heading{font-size:18px;font-weight:800;display:none}
.woocommerce-checkout .woocommerce{grid-template-columns:1.35fr 1fr}
.woocommerce table.shop_table.woocommerce-checkout-review-order-table th,.woocommerce table.shop_table.woocommerce-checkout-review-order-table td{padding:11px 12px !important;font-size:13.5px}
.woocommerce #payment{background:var(--soft);border-radius:14px;padding:18px}
.woocommerce #payment ul.payment_methods{list-style:none;border-bottom:1px dashed var(--line);padding-bottom:12px}
.woocommerce #payment ul.payment_methods li{padding:8px 0;font-size:14px;font-weight:600}
.woocommerce #payment div.payment_box{background:#fff;border-radius:10px;padding:12px 16px;font-size:13px;color:#555;margin-top:8px}
.woocommerce #payment div.payment_box::before{display:none}
.woocommerce #place_order{background:var(--red) !important;color:#fff !important;font-weight:800 !important;font-size:16px !important;padding:16px !important;border-radius:26px !important;width:100%;box-shadow:0 8px 22px rgba(225,16,46,.3)}
.woocommerce #place_order:hover{background:var(--red-dark) !important}

/* Thank you */
.woocommerce .woocommerce-order .woocommerce-thankyou-order-received{background:#EAFBF0;border:1.5px solid #BBF7D0;color:#166534;font-size:17px;font-weight:800;padding:22px;border-radius:16px;margin-bottom:24px}
.woocommerce .woocommerce-order-overview{display:flex;gap:14px;flex-wrap:wrap;list-style:none;border:1.5px dashed var(--line);border-radius:14px;padding:16px;margin-bottom:24px}
.woocommerce .woocommerce-order-overview li{font-size:13px}
.woocommerce .woocommerce-order-overview li strong{display:block;font-size:14px;color:var(--red)}

/* My account + pagination */
.woocommerce nav.woocommerce-pagination{margin:10px 0 40px;text-align:center}
.woocommerce nav.woocommerce-pagination ul{border:none;display:inline-flex;gap:8px}
.woocommerce nav.woocommerce-pagination ul li{border:none}
.woocommerce nav.woocommerce-pagination ul li a,.woocommerce nav.woocommerce-pagination ul li span{background:#fff;border:1.5px solid var(--line) !important;border-radius:22px !important;min-width:38px;padding:8px 14px !important;font-size:13.5px;font-weight:700;color:#333 !important}
.woocommerce nav.woocommerce-pagination ul li span.current,.woocommerce nav.woocommerce-pagination ul li a:hover{background:var(--red) !important;color:#fff !important;border-color:var(--red) !important}
.woocommerce-account .woocommerce-MyAccount-navigation{float:none !important;width:220px !important}
.woocommerce-account .woocommerce-MyAccount-navigation ul{list-style:none;background:#fff;border:1.5px solid var(--line);border-radius:16px;padding:10px}
.woocommerce-account .woocommerce-MyAccount-navigation li{margin:2px 0}
.woocommerce-account .woocommerce-MyAccount-navigation li a{display:block;padding:10px 16px;border-radius:12px;font-size:14px;font-weight:600}
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a{background:var(--red);color:#fff}
.woocommerce-account .woocommerce-MyAccount-content{float:none !important;width:auto !important;background:#fff;border:1.5px solid var(--line);border-radius:16px;padding:26px}
.woocommerce-account .woocommerce{display:grid;grid-template-columns:220px 1fr;gap:30px;align-items:start;margin:26px 0 40px}

/* ---------- THEME PAGES (plain) ---------- */
.page-wrap{max-width:860px;margin:34px auto;padding:0 20px}
.entry-card{background:#fff;border:1.5px solid var(--line);border-radius:16px;padding:30px}
.entry-card h1,.entry-card h2{margin-bottom:12px}
.trbd-form{background:#fff;border:1.5px solid var(--line);border-radius:18px;padding:28px;max-width:640px}
.trbd-form label{display:block;font-size:13px;font-weight:700;margin:14px 0 5px}
.trbd-form input,.trbd-form textarea{width:100%;border:1.5px solid var(--line);border-radius:12px;padding:12px 14px;font-size:14px;outline:none;font-family:inherit}
.trbd-form input:focus,.trbd-form textarea:focus{border-color:var(--red)}
.trbd-form .btn-red{margin-top:18px;border:none}
.trbd-success{background:#EAFBF0;border:1.5px solid #BBF7D0;color:#166534;padding:18px 22px;border-radius:14px;font-weight:700}

/* ---------- RESPONSIVE ---------- */
@media(max-width:1050px){
  .cat-grid,.woocommerce ul.products{grid-template-columns:repeat(2,1fr)}
  .ben-grid{grid-template-columns:repeat(2,1fr);gap:22px}
  .foot-main{grid-template-columns:1fr 1fr}
  nav.main{display:none;position:absolute;top:100%;left:0;right:0;background:#fff;flex-direction:column;gap:0;padding:10px 0;box-shadow:0 14px 24px rgba(0,0,0,.1)}
  nav.main.open{display:flex}
  nav.main ul{flex-direction:column;gap:0;width:100%}
  nav.main a{padding:12px 26px}
  nav.main .current-menu-item>a::after{display:none}
  .hamburger{display:flex}
  .search-box{width:180px}
  .hero h1,.hero .hero-title{font-size:44px}
  .woocommerce div.product{grid-template-columns:1fr;gap:26px}
  .woocommerce-cart .woocommerce,.woocommerce-checkout .woocommerce{grid-template-columns:1fr}
  .woocommerce-account .woocommerce{grid-template-columns:1fr}
  .woocommerce-account .woocommerce-MyAccount-navigation{width:100% !important}
}
@media(max-width:720px){
  .hero-grid{grid-template-columns:1fr}
  .hero-copy{padding:44px 24px 40px}
  .hero-img{min-height:300px}
  .hero-img::before{background:linear-gradient(180deg,var(--dark) 0%,rgba(26,26,26,0) 35%)}
  .hero-note{display:none}
  .search-box{display:none}
  .cat-grid{grid-template-columns:1fr 1fr;gap:14px}
  .woocommerce ul.products{grid-template-columns:1fr 1fr;gap:14px}
  .cat-list{grid-template-columns:1fr}
  .sec-title h2{font-size:23px}
  .sec-title .line{width:40px}
  .cb-copy{padding:34px 26px}
  .cb-script{font-size:26px}
  .ben-grid{grid-template-columns:1fr 1fr}
  .foot-main{grid-template-columns:1fr}
  .hero h1,.hero .hero-title{font-size:38px}
  .woocommerce table.shop_table{display:block;overflow-x:auto}
}
@media(max-width:420px){
  .cat-grid{grid-template-columns:1fr}
}
