/*
Theme Name: Trandy Bazar
Author: Trandy Bazar
Description: A Bengali-first, responsive WooCommerce storefront with automatic product sections and editable hero. Original theme, no premium dependency.
Version: 1.0.0
Requires at least: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: trandy-bazar
*/
:root{--ink:#243e38;--muted:#677a73;--green:#1b6755;--peach:#ffede1;--paper:#fffdf9;--line:#e6ebe5}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:25px}body{margin:0;background:var(--paper);color:var(--ink);font:16px/1.65 system-ui,-apple-system,"Noto Sans Bengali",sans-serif}a{color:inherit;text-decoration:none}a:hover{text-decoration:underline}img{max-width:100%;height:auto}button,input,select,textarea{font:inherit}input,select,textarea{max-width:100%;padding:12px;border:1px solid #cbd6ce;border-radius:8px;background:white;color:var(--ink)}button,.button{cursor:pointer}a:focus-visible,button:focus-visible,input:focus-visible{outline:3px solid #db8b37;outline-offset:3px}.wrap{width:min(1200px,calc(100% - 48px));margin:auto}.topbar{background:var(--green);color:#fff;text-align:center;padding:8px 16px;font-size:13px}.topbar span{margin-left:26px;letter-spacing:2px;font-size:10px}.site-header{background:#fff;border-bottom:1px solid var(--line)}.header-row{display:flex;gap:40px;align-items:center;padding:24px 0}.brand{flex-shrink:0}.brand b{font-size:30px;letter-spacing:-1.5px}.brand b span{color:#cf733f}.brand small{display:block;font-size:9px;letter-spacing:2.7px}.custom-logo{max-width:200px;max-height:80px;width:auto}.product-search{display:flex;flex:1;max-width:570px}.product-search input{width:100%;min-width:0;border-radius:10px 0 0 10px;background:#f5f7f3}.product-search button{border:0;background:var(--green);color:white;padding:10px 20px;border-radius:0 10px 10px 0}.cart-link{margin-left:auto;white-space:nowrap;font-weight:600}.nav-row{display:flex;justify-content:space-between;align-items:center;gap:20px;font-size:14px;padding:0 0 14px}.nav-row ul{display:flex;gap:28px;flex-wrap:wrap;list-style:none;margin:0;padding:0}.nav-row li{position:relative}.nav-row .sub-menu{display:none;position:absolute;top:100%;left:0;min-width:180px;background:white;padding:15px;box-shadow:0 5px 20px #0002;z-index:5}.nav-row li:hover>.sub-menu,.nav-row li:focus-within>.sub-menu{display:block}.phone{font-weight:bold}.hero{margin-top:28px;background:var(--peach);border-radius:24px;display:grid;grid-template-columns:1.1fr 1fr;overflow:hidden;align-items:center;min-height:460px}.hero-copy{padding:48px}.eyebrow{letter-spacing:2px;font-size:11px;font-weight:700;color:var(--green);margin:0 0 12px}.hero h1{font-size:clamp(32px,4vw,54px);line-height:1.3;letter-spacing:-1px;max-width:540px;margin:0 0 20px}.hero-copy>p:not(.eyebrow){max-width:410px;color:#53665f;margin-bottom:27px}.button,.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.woocommerce #respond input#submit,.woocommerce a.button.alt,.woocommerce button.button.alt{display:inline-block;background:var(--green);color:white;border:0;border-radius:9px;padding:14px 22px;line-height:1.4;font-weight:600;text-decoration:none}.button:hover,.woocommerce a.button:hover,.woocommerce button.button:hover,.woocommerce button.button.alt:hover{background:#164d40;color:white}.hero-note{display:block;font-size:12px;margin-top:18px;color:var(--muted)}.hero-art{align-self:stretch;display:flex;align-items:center;justify-content:center;padding:24px}.hero-photo{width:100%;height:100%;max-height:480px;object-fit:contain;border-radius:18px}.section{padding:55px 0 0}.section-heading{display:flex;align-items:end;justify-content:space-between;gap:16px;margin-bottom:25px}.section-heading h2{font-size:29px;margin:0;line-height:1.3}.section-heading>a{font-size:14px;color:var(--green);font-weight:600;white-space:nowrap}.categories{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}.category{text-align:center;display:block}.category-image{height:150px;background:#eef3e9;border-radius:18px;display:flex;align-items:center;justify-content:center;margin-bottom:12px;overflow:hidden}.category:nth-child(2n) .category-image{background:#faeade}.category:nth-child(3n) .category-image{background:#e6eef6}.category-image img{width:100%;height:100%;object-fit:contain;padding:10px}.category-image span{font-size:64px;color:#9daf91}.category strong{font-size:16px}.empty-note{grid-column:1/-1;border:1px dashed #adbcaf;padding:24px;border-radius:12px;color:var(--muted)}.woocommerce ul.products{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px;margin:0!important;padding:0!important}.woocommerce ul.products::before,.woocommerce ul.products::after{display:none!important}.woocommerce ul.products li.product{float:none!important;width:auto!important;margin:0!important;padding:14px!important;border:1px solid var(--line);border-radius:16px;background:#fff;display:flex;flex-direction:column;min-width:0}.woocommerce ul.products li.product a img{aspect-ratio:1;object-fit:contain;border-radius:10px;background:#f7f8f5;margin-bottom:14px}.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:16px;line-height:1.5;color:var(--ink)}.woocommerce ul.products li.product .price{font-size:17px;color:var(--green);font-weight:700}.woocommerce ul.products li.product .price del{font-size:13px;color:var(--muted)}.woocommerce ul.products li.product .button{margin-top:auto;text-align:center;font-size:13px}.woocommerce span.onsale{background:var(--green);padding:4px 10px;border-radius:20px;min-height:0;line-height:1.6}.story-banner{margin-top:55px;padding:35px 40px;background:#e9f0e3;display:flex;align-items:center;justify-content:space-between;gap:25px;border-radius:20px}.story-banner h2{font-size:32px;margin:0}.page-content,.shop-content{padding-top:40px;padding-bottom:50px;min-height:50vh}.page-content article{overflow-wrap:anywhere}.site-footer{margin-top:60px;background:#183e34;color:#e8f0e9;padding:44px 0 20px}.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:45px}.footer-brand{font-size:27px;letter-spacing:-1px}.site-footer h3{font-size:16px;margin-top:0}.site-footer p,.site-footer li,.site-footer a{font-size:14px}.site-footer ul{list-style:none;padding:0}.copyright{border-top:1px solid #ffffff25;padding-top:20px;margin-top:25px;font-size:12px;color:#becdc4}.screen-reader-text,.skip-link{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(1px,1px,1px,1px)}.skip-link:focus{clip:auto;width:auto;height:auto;padding:12px;background:white;z-index:99}.post-card{padding:20px 0;border-bottom:1px solid var(--line)}.woocommerce div.product .product_title{font-size:30px}.woocommerce div.product p.price{color:var(--green)}.woocommerce .quantity .qty{padding:9px;width:5em}.woocommerce table.shop_table{background:white}.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea{padding:12px}.woocommerce div.product .woocommerce-tabs ul.tabs li{border-radius:8px 8px 0 0}.woocommerce .related{clear:both}.woocommerce .related h2{padding-top:20px}.woocommerce nav.woocommerce-pagination{margin-top:30px}.alignwide{max-width:1200px}.alignfull{width:100%}.wp-caption{max-width:100%}.wp-caption-text,.gallery-caption{font-size:13px}.sticky{border-left:3px solid var(--green)}.bypostauthor{font-weight:inherit}
@media(max-width:780px){.wrap{width:calc(100% - 30px)}.header-row{gap:16px;flex-wrap:wrap;padding:18px 0}.brand b{font-size:26px}.product-search{order:3;flex-basis:100%;max-width:none}.nav-row ul{gap:16px}.phone{display:none}.hero{grid-template-columns:1fr;min-height:0}.hero-copy{padding:30px 26px 5px}.hero-art{padding:10px 20px 20px;height:280px}.hero h1{font-size:36px}.hero-note{margin-top:12px}.section{padding-top:36px}.section-heading h2{font-size:24px}.categories{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.category-image{height:85px;border-radius:12px}.category strong{font-size:13px}.category-image span{font-size:35px}.woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.woocommerce ul.products li.product{padding:10px!important}.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:14px}.woocommerce ul.products li.product .button{padding:11px 5px;font-size:12px}.story-banner{margin-top:35px;padding:26px;align-items:start;flex-direction:column}.story-banner h2{font-size:27px}.footer-grid{grid-template-columns:1fr 1fr;gap:25px}.footer-grid>div:first-child{grid-column:1/-1}.topbar span{display:none}.woocommerce div.product .product_title{font-size:25px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
