/*
Theme Name: GraftexBD Premium Print Shop
Description: A premium WooCommerce printing storefront inspired by modern Bangladeshi print-commerce layouts.
Version: 3.0.0
Author: GraftexBD
Requires at least: 6.0
Requires PHP: 7.4
License: GPL v2 or later
Text Domain: graftexbd
*/
:root{
 --orange:#ff6b1a;--orange2:#ff8a34;--dark:#18232d;--muted:#74808b;--soft:#f7f8fa;--line:#e9edf1;
 --green:#1fb95c;--white:#fff;--shadow:0 10px 35px rgba(20,32,43,.08);--radius:12px
}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--dark);background:#fff;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.55}a{text-decoration:none;color:inherit}img{max-width:100%;height:auto}
.gx-wrap{width:min(1240px,94%);margin:auto}
.gx-top{background:#fff;border-bottom:1px solid var(--line);font-size:14px}
.gx-top .gx-wrap{display:flex;justify-content:flex-end;align-items:center;gap:38px;min-height:40px;color:#4c5862}
.gx-head{background:#fff;border-bottom:1px solid var(--line)}
.gx-head-main{display:grid;grid-template-columns:220px 1fr 310px;gap:28px;align-items:center;min-height:88px}
.gx-logo{font-size:31px;font-weight:900;letter-spacing:-1.3px;color:#202a33}
.gx-logo span{color:var(--orange)}
.gx-search{display:flex;height:50px}
.gx-search input{flex:1;border:1px solid #dfe5ea;border-right:0;border-radius:25px 0 0 25px;padding:0 20px;font-size:14px;outline:none;background:#fff}
.gx-search button{width:58px;border:0;border-radius:0 25px 25px 0;background:var(--orange);color:#fff;font-size:22px;cursor:pointer}
.gx-info{display:flex;justify-content:flex-end;gap:24px}.gx-info-item{display:flex;gap:10px;align-items:center}.gx-info-item b{display:block;font-size:14px}.gx-info-item span{display:block;color:#50606b;font-size:13px}
.gx-nav{border-top:1px solid #f2f3f4}.gx-nav .gx-wrap{min-height:52px;display:flex;align-items:center;gap:28px}.gx-nav a{font-size:14px;font-weight:700}.gx-nav a:hover{color:var(--orange)}.gx-menu-pill{color:var(--orange)}
.gx-hero{background:linear-gradient(135deg,#fff7f2,#fff);padding:40px 0}.gx-hero-grid{display:grid;grid-template-columns:1fr 1fr;gap:30px;align-items:stretch}.gx-hero-card{min-height:330px;border-radius:20px;overflow:hidden;position:relative;background:linear-gradient(135deg,#ff6b1a,#ff9c52);color:#fff;padding:48px;display:flex;flex-direction:column;justify-content:center}.gx-hero-card.light{background:linear-gradient(135deg,#202a33,#44535f)}.gx-hero-card h1{font-size:clamp(34px,4vw,58px);line-height:1.02;margin:10px 0 14px;letter-spacing:-2px}.gx-hero-card p{max-width:540px;margin:0;color:#fff1e9}.gx-btn{display:inline-flex;align-items:center;justify-content:center;padding:12px 18px;border-radius:8px;background:#fff;color:var(--dark);font-weight:800;width:max-content;margin-top:22px}.gx-btn.orange{background:var(--orange);color:#fff}
.gx-categories{padding:28px 0 18px}.gx-cat-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:14px}.gx-cat{background:#fff;border:1px solid var(--line);border-radius:10px;padding:17px 11px;text-align:center;transition:.2s;box-shadow:0 5px 18px rgba(20,32,43,.04)}.gx-cat:hover{transform:translateY(-3px);border-color:#ffd3bb;box-shadow:var(--shadow)}.gx-cat-icon{width:64px;height:64px;margin:0 auto 11px;border-radius:50%;background:#fff3ec;display:flex;align-items:center;justify-content:center;font-size:29px}.gx-cat b{display:block;font-size:14px}.gx-cat small{display:block;color:var(--muted);margin-top:4px}
.gx-section{padding:34px 0}.gx-section-head{display:flex;justify-content:space-between;align-items:end;margin-bottom:19px}.gx-section-head h2{font-size:29px;margin:0;letter-spacing:-.7px}.gx-eyebrow{font-size:11px;font-weight:900;letter-spacing:2px;color:var(--orange);margin-bottom:4px}
.woocommerce ul.products{display:grid!important;grid-template-columns:repeat(4,1fr);gap:18px;margin:0!important;padding:0!important}.woocommerce ul.products li.product{width:auto!important;float:none!important;margin:0!important;border:1px solid var(--line);background:#fff;border-radius:12px;padding:13px!important;overflow:hidden;transition:.2s;box-shadow:0 7px 22px rgba(20,32,43,.04)}.woocommerce ul.products li.product:hover{transform:translateY(-4px);box-shadow:0 15px 34px rgba(20,32,43,.09)}.woocommerce ul.products li.product img{border-radius:8px;margin-bottom:10px}.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:15px;font-weight:750;min-height:44px}.woocommerce ul.products li.product .price{font-size:15px;font-weight:900;color:#17232d}.woocommerce ul.products li.product .button{background:var(--orange);color:#fff;border:0;border-radius:7px;font-size:13px;padding:10px 13px;font-weight:800}
.gx-promo{padding:45px 0}.gx-promo-box{background:linear-gradient(100deg,#17232d,#263744);color:#fff;border-radius:16px;padding:38px 44px;display:flex;justify-content:space-between;align-items:center;gap:30px}.gx-promo-box h2{margin:0 0 8px;font-size:33px}.gx-promo-box p{margin:0;color:#d7e1e7}
.gx-services{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.gx-service{background:#fff;border:1px solid var(--line);padding:24px;border-radius:12px;box-shadow:0 7px 25px rgba(20,32,43,.04)}.gx-service strong{display:block;font-size:17px;margin-bottom:5px}.gx-service span{color:var(--muted);font-size:13px}
.gx-footer{background:#15212b;color:#becad2;padding:56px 0 25px;margin-top:35px}.gx-footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:30px}.gx-footer h3{color:#fff;margin:0 0 14px}.gx-footer a:hover{color:#ff9a67}.gx-copy{margin-top:35px;padding-top:18px;border-top:1px solid #30404d;font-size:13px}
.gx-float{position:fixed;right:22px;bottom:20px;width:56px;height:56px;border-radius:50%;background:#25d366;color:#fff;display:flex;align-items:center;justify-content:center;font-size:25px;box-shadow:0 12px 30px rgba(37,211,102,.25);z-index:99}

/* Shop */
.gx-shop-layout{display:grid;grid-template-columns:285px 1fr;gap:28px;padding:34px 0}.gx-sidebar{border-right:1px solid var(--line);padding-right:22px}.gx-sidebar h3{margin:0 0 14px;font-size:18px}.gx-sidebar-section{padding-bottom:22px;margin-bottom:22px;border-bottom:1px solid var(--line)}.gx-check{display:flex;gap:8px;margin:10px 0;font-size:14px;color:#4c5862}.gx-price-box{display:grid;grid-template-columns:1fr 1fr;gap:8px}.gx-price-box input{width:100%;border:1px solid var(--line);padding:10px;border-radius:7px}.gx-filter{border:0;background:var(--orange);color:#fff;padding:10px 14px;border-radius:7px;font-weight:800;margin-top:10px;width:100%}
.gx-shop-top{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:20px}.gx-view-buttons{display:flex;gap:8px}.gx-view-buttons button{border:1px solid var(--line);background:#fff;width:38px;height:36px;border-radius:7px}.gx-view-buttons button.active{color:var(--orange);border-color:#ffd0b7}
.gx-shop-banner{background:#fff7f2;border-radius:14px;padding:20px 22px;margin-bottom:22px;border:1px solid #ffe2d2}
.gx-drawer{position:fixed;left:0;top:0;width:310px;height:100vh;background:#fff;z-index:200;box-shadow:16px 0 40px rgba(0,0,0,.16);transform:translateX(-102%);transition:.28s;overflow:auto}.gx-drawer.open{transform:translateX(0)}.gx-drawer-head{padding:12px 12px 14px}.gx-allcats{background:var(--orange);color:#fff;border-radius:28px;padding:14px 18px;font-weight:800;display:flex;gap:10px}.gx-drawer ul{margin:0;padding:5px 0 20px;list-style:none}.gx-drawer li a{display:flex;justify-content:space-between;padding:14px 20px;border-bottom:1px solid #f2f2f2;font-weight:650}.gx-overlay{position:fixed;inset:0;background:rgba(0,0,0,.62);z-index:190;opacity:0;visibility:hidden;transition:.25s}.gx-overlay.open{opacity:1;visibility:visible}
.gx-menu-btn{cursor:pointer}

/* single product */
.single-product .product{background:#fff}.woocommerce div.product div.images img{border-radius:12px}.woocommerce div.product .summary .price{color:var(--orange);font-weight:900}.woocommerce div.product form.cart .button{background:var(--orange);color:#fff;border:0;border-radius:8px}.woocommerce-tabs,.related{margin-top:35px}

/* responsive */
@media(max-width:1000px){
 .gx-head-main{grid-template-columns:180px 1fr}.gx-info{display:none}.gx-cat-grid{grid-template-columns:repeat(3,1fr)}.gx-services{grid-template-columns:repeat(2,1fr)}.gx-shop-layout{grid-template-columns:1fr}.gx-sidebar{border-right:0;border-bottom:1px solid var(--line);padding:0 0 20px}.gx-sidebar-section{display:inline-block;vertical-align:top;width:48%}.woocommerce ul.products{grid-template-columns:repeat(3,1fr)}
}
@media(max-width:700px){
 .gx-top{display:none}.gx-head-main{grid-template-columns:1fr;gap:12px;padding:12px 0}.gx-logo{text-align:center}.gx-search{height:46px}.gx-nav .gx-wrap{gap:18px;overflow:auto}.gx-hero-grid{grid-template-columns:1fr}.gx-hero-card{min-height:260px;padding:32px}.gx-cat-grid{grid-template-columns:repeat(2,1fr)}.gx-section{padding:28px 0}.gx-section-head h2{font-size:24px}.woocommerce ul.products{grid-template-columns:repeat(2,1fr);gap:10px}.gx-promo-box{display:block;padding:28px}.gx-services{grid-template-columns:1fr}.gx-footer-grid{grid-template-columns:1fr 1fr}.gx-shop-top{align-items:start;flex-direction:column}
}
@media(max-width:450px){.gx-footer-grid{grid-template-columns:1fr}.gx-cat{padding:12px 7px}.gx-cat-icon{width:52px;height:52px}.gx-logo{font-size:26px}}
