@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@400;500;600;700;800&display=swap');
:root{font-family:"Vazirmatn",Tahoma,sans-serif;color:#202923;background:#fbfaf7;font-synthesis:none;text-rendering:optimizeLegibility;--green:#173b32;--green2:#245b4b;--gold:#c59b58;--muted:#6f7971;--line:#e9e7df;--cream:#f1eee5}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0}button,input{font:inherit}button,a{-webkit-tap-highlight-color:transparent}a{color:inherit;text-decoration:none}.announcement{background:var(--green);color:#f9f5e9;text-align:center;padding:9px 16px;font-size:12px;letter-spacing:.1px}.site-header{max-width:1200px;margin:auto;padding:22px 26px;display:flex;align-items:center;gap:28px}.brand{display:flex;align-items:center;gap:11px;min-width:215px}.brand-logo{display:block;width:52px;height:52px;flex:0 0 52px;object-fit:contain;border-radius:14px;filter:drop-shadow(0 3px 5px #173b3218)}.brand strong,.brand small{display:block}.brand strong{font-size:20px;letter-spacing:-.5px}.brand small{font-size:10px;color:var(--muted);margin-top:2px}.search{display:flex;align-items:center;gap:10px;flex:1;max-width:600px;background:#fff;border:1px solid var(--line);border-radius:14px;padding:5px 13px;min-height:48px}.search>span{font-size:25px;color:#7b827b}.search input{min-width:0;flex:1;border:0;outline:0;background:transparent;font-size:13px}.search button,.primary-link{border:0;border-radius:10px;background:var(--green);color:#fff;padding:10px 17px;cursor:pointer;font-size:12px;font-weight:600}.cart-button{white-space:nowrap;border:1px solid var(--line);background:#fff;border-radius:12px;padding:11px 14px;cursor:pointer;font-size:12px}.cart-button b{display:inline-grid;place-items:center;min-width:22px;height:22px;border-radius:8px;background:#f0e5d2;color:#60451e;margin-right:5px}.hero{max-width:1200px;margin:12px auto 0;padding:42px 46px 35px;min-height:350px;border-radius:27px;background:#e9eee7;display:grid;grid-template-columns:1.08fr .92fr;align-items:center;overflow:hidden;position:relative}.hero-copy{position:relative;z-index:1}.eyebrow{font-size:11px;font-weight:700;color:#8c6b35;letter-spacing:.2px}.hero h1{font-size:clamp(28px,3.4vw,44px);line-height:1.55;letter-spacing:-1.2px;max-width:560px;margin:13px 0 12px;color:#18382f}.hero h1 em{font-style:normal;color:#a87938}.hero p{font-size:14px;line-height:2;color:#5d6a60;max-width:530px;margin:0 0 24px}.primary-link{display:inline-flex;align-items:center;gap:13px;padding:13px 19px}.hero-points{display:flex;gap:18px;flex-wrap:wrap;margin-top:24px;color:#657267;font-size:10px}.hero-art{position:relative;height:265px;display:grid;place-items:center}.art-orbit{position:absolute;width:280px;height:280px;border:1px solid #c5d2c4;border-radius:50%;right:15%;top:-7px}.art-card{position:absolute;box-shadow:0 25px 50px #173b321c;border-radius:20px}.art-card-back{width:205px;height:215px;background:#d2d8cd;transform:rotate(-10deg);right:21%;top:23px;padding:18px;color:#526257;font-size:11px}.art-card-front{width:205px;height:225px;background:linear-gradient(145deg,#faf7ed,#ded7c7);transform:rotate(7deg);right:35%;top:18px;border:1px solid #fff9;padding:18px}.art-label{font-size:10px;color:#7b6c54}.hinge-shape{width:72px;height:90px;position:absolute;top:62px;right:60px;border-radius:13px;background:linear-gradient(90deg,#a6a99f,#ece9db 32%,#858b7d 49%,#ded9c9 72%,#858b7d);box-shadow:inset 0 0 0 2px #7d857b}.hinge-shape:before,.hinge-shape:after{content:"";position:absolute;top:14px;bottom:14px;width:13px;border-radius:6px;background:#b7baae;left:8px;box-shadow:0 0 0 1px #7c8479}.hinge-shape:after{left:auto;right:8px}.handle-shape{position:absolute;top:90px;right:42px;width:112px;height:13px;border-radius:12px;background:linear-gradient(#f9e5b6,#b68a48 55%,#7f5d2d);box-shadow:0 10px 12px #5c472d28}.handle-shape:before,.handle-shape:after{content:"";position:absolute;width:10px;height:29px;top:-8px;background:linear-gradient(90deg,#b18a50,#f5dca7,#86612d);border-radius:5px}.handle-shape:before{right:8px}.handle-shape:after{left:8px}.screw{position:absolute;width:19px;height:19px;border-radius:50%;background:radial-gradient(circle at 35% 30%,#f8e6bd,#ae8443 70%);bottom:45px}.screw-one{right:45px}.screw-two{right:80px}.trust-strip{max-width:1200px;margin:20px auto 0;padding:19px 28px;display:grid;grid-template-columns:repeat(3,1fr);gap:18px;background:#fff;border:1px solid var(--line);border-radius:18px}.trust-strip>div{display:flex;align-items:center;justify-content:center;gap:12px}.trust-icon{width:42px;height:42px;border-radius:13px;background:#f4f0e6;color:#95723a;display:grid;place-items:center;font-size:22px}.trust-strip strong,.trust-strip small{display:block}.trust-strip strong{font-size:12px}.trust-strip small{font-size:10px;color:var(--muted);margin-top:4px}.products-section{max-width:1200px;margin:72px auto;padding:0 8px}.section-heading{display:flex;align-items:end;justify-content:space-between;gap:20px}.section-heading h2,.help-banner h2{font-size:27px;letter-spacing:-.6px;margin:6px 0}.section-heading p,.help-banner p{font-size:12px;color:var(--muted);margin:0}.prototype-note{font-size:10px;color:#8b7757;background:#f2eadc;border-radius:9px;padding:8px 11px;margin-bottom:5px}.category-list{display:flex;gap:9px;flex-wrap:wrap;margin:27px 0 22px}.category-chip{border:1px solid var(--line);background:#fff;color:#59635a;padding:10px 17px;border-radius:11px;font-size:11px;cursor:pointer;transition:.18s}.category-chip.active,.category-chip:hover{background:var(--green);border-color:var(--green);color:#fff}.product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.product-card{background:#fff;border:1px solid var(--line);border-radius:18px;overflow:hidden;transition:transform .2s,box-shadow .2s}.product-card:hover{transform:translateY(-3px);box-shadow:0 15px 35px #243c2c0d}.product-visual{height:158px;background:#f3f1e9;display:grid;place-items:center;position:relative;overflow:hidden}.product-visual:before{content:"";position:absolute;width:145px;height:145px;border-radius:50%;background:#e8e5d8}.product-visual .symbol{position:relative;z-index:1;font-size:61px;filter:drop-shadow(0 9px 6px #1c2d201c)}.product-category{position:absolute;right:12px;top:12px;z-index:2;font-size:9px;color:#6a756a;background:#ffffffd9;border-radius:7px;padding:5px 8px}.product-info{padding:15px}.product-info h3{font-size:13px;margin:0 0 7px}.product-info p{font-size:10px;color:var(--muted);margin:0;min-height:32px;line-height:1.8}.product-bottom{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:15px}.price{font-size:13px;font-weight:800;color:var(--green)}.price small{display:block;font-size:9px;font-weight:400;color:var(--muted);margin-top:2px}.add-button{border:0;background:#edf1eb;color:var(--green);border-radius:9px;padding:9px 11px;cursor:pointer;font-size:10px;font-weight:700}.add-button:hover{background:#dfe8dc}.empty-state{text-align:center;padding:38px;color:var(--muted);font-size:13px}.help-banner{max-width:1200px;margin:0 auto 65px;background:#f0ece2;border-radius:22px;padding:30px 35px;display:flex;justify-content:space-between;align-items:center;gap:20px}.secondary-link{background:#fff;border:1px solid #e2dccf;border-radius:11px;padding:12px 18px;font-size:11px;white-space:nowrap}.site-footer{border-top:1px solid var(--line);padding:25px max(24px,calc((100% - 1200px)/2));display:flex;align-items:center;gap:17px;flex-wrap:wrap;color:var(--muted);font-size:10px}.footer-brand{font-size:16px;font-weight:800;color:var(--green)}.site-footer small{flex-basis:100%;font-size:9px}.toast{position:fixed;bottom:22px;left:22px;max-width:calc(100% - 44px);background:#173b32;color:#fff;padding:12px 17px;border-radius:12px;font-size:12px;box-shadow:0 10px 30px #0002;opacity:0;transform:translateY(10px);pointer-events:none;transition:.2s;z-index:10}.toast.show{opacity:1;transform:translateY(0)}
@media(max-width:900px){.site-header{gap:14px;padding:18px}.brand{min-width:auto}.brand small{display:none}.search{max-width:none}.hero{margin:8px 16px 0;padding:32px 28px;grid-template-columns:1fr .75fr}.hero-art{transform:scale(.82);transform-origin:center}.trust-strip{margin-left:16px;margin-right:16px}.products-section{padding:0 18px;margin-top:55px}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.help-banner{margin-left:16px;margin-right:16px}}@media(max-width:600px){.announcement{font-size:10px}.site-header{display:grid;grid-template-columns:1fr auto;padding:15px 16px;gap:14px}.brand-mark{width:40px;height:40px}.brand strong{font-size:18px}.cart-button{padding:9px;font-size:10px}.search{grid-column:1/-1;grid-row:2;max-width:none}.search input{font-size:11px}.search button{padding:9px 12px}.hero{display:block;padding:27px 23px 15px;border-radius:20px}.hero h1{font-size:29px;line-height:1.65}.hero p{font-size:12px}.hero-points{gap:9px}.hero-art{height:205px;transform:scale(.8);margin-top:0}.trust-strip{grid-template-columns:1fr;padding:13px 18px;gap:12px}.trust-strip>div{justify-content:flex-start}.trust-icon{width:36px;height:36px}.products-section{margin-top:47px}.section-heading{align-items:flex-start;flex-direction:column;gap:10px}.section-heading h2{font-size:24px}.prototype-note{margin:0}.category-list{gap:7px;margin-top:20px}.category-chip{padding:9px 12px;font-size:10px}.product-grid{gap:10px}.product-visual{height:125px}.product-visual .symbol{font-size:48px}.product-info{padding:11px}.product-info h3{font-size:12px}.product-info p{font-size:9px}.product-bottom{align-items:flex-start;flex-direction:column}.add-button{width:100%}.help-banner{padding:23px;align-items:flex-start;flex-direction:column}.help-banner h2{font-size:23px}.site-footer{gap:9px}.site-footer span{flex-basis:100%}}

/* Uploaded Wood Yaraq logo across all KabinYar pages. */
.site-footer .footer-brand{display:inline-flex;align-items:center;gap:9px}
.site-footer .footer-brand img{display:block;width:34px;height:34px;object-fit:contain;border-radius:8px}

/* Live catalog status and cart styles */
.catalog-status{display:inline-block;max-width:430px;border-radius:10px;padding:9px 12px;background:#f1eee5;color:#6d644f;font-size:10px;line-height:1.9}
.catalog-status.success{background:#e8f1e7;color:#245b4b}
.catalog-status.error{background:#f7ece5;color:#8c412e}
.product-meta{display:flex;flex-wrap:wrap;gap:6px;margin-top:12px}
.stock-state,.minimum-qty{display:inline-flex;align-items:center;border-radius:8px;padding:5px 8px;font-size:9px}
.stock-state.in-stock{background:#e8f1e7;color:#245b4b}
.stock-state.out-of-stock{background:#f8e9e4;color:#9a4033}
.minimum-qty{background:#f4f0e6;color:#75603d}
.product-image{position:relative;z-index:1;max-width:100%;max-height:100%;width:100%;height:100%;object-fit:contain;padding:12px}
.add-button:disabled{background:#f0efeb;color:#898b82;cursor:not-allowed}
.cart-dialog{width:min(620px,calc(100% - 28px));max-height:85vh;overflow:auto;border:1px solid var(--line);border-radius:22px;padding:0;color:#202923;background:#fff;box-shadow:0 24px 90px #0003}
.cart-dialog::backdrop{background:#13271fcc;backdrop-filter:blur(3px)}
.cart-dialog-header{display:flex;align-items:center;justify-content:space-between;padding:19px 21px;border-bottom:1px solid var(--line)}
.cart-dialog-header h2{font-size:19px;margin:0}
.dialog-close,.clear-cart{border:1px solid var(--line);border-radius:9px;background:#fff;color:var(--green);padding:8px 12px;cursor:pointer;font-size:11px}
.cart-items{padding:14px 18px}
.cart-empty{margin:0;padding:25px 10px;text-align:center;color:var(--muted);font-size:12px;line-height:2}
.cart-item{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:11px;padding:12px 0;border-bottom:1px solid var(--line)}
.cart-item:last-child{border-bottom:0}
.cart-item-details{display:flex;flex-direction:column;gap:7px;min-width:0}
.cart-item-details strong{font-size:12px}
.cart-item-details span{font-size:10px;color:var(--muted)}
.quantity-controls{display:flex;align-items:center;gap:7px}
.quantity-button{width:30px;height:30px;border:1px solid var(--line);border-radius:8px;background:#f8f7f2;color:var(--green);cursor:pointer}
.quantity-button:disabled{color:#aaa;background:#eee;cursor:not-allowed}
.quantity-value{min-width:25px;text-align:center;font-size:11px}
.remove-item{border:0;background:transparent;color:#a44737;font-size:10px;cursor:pointer}
.cart-summary{margin:0 18px 18px;padding:16px;background:#f7f6f1;border-radius:14px}
.cart-summary>div{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:10px;font-size:11px}
.cart-summary strong{font-size:12px;color:var(--green);text-align:left}
.cart-validation{font-size:11px;line-height:1.9;color:#37654f;margin:12px 0}
.cart-validation.warning{color:#95552b}
.checkout-placeholder{width:100%;border:0;border-radius:10px;padding:12px;background:var(--green);color:#fff;font-size:11px;cursor:pointer;transition:background .18s,opacity .18s}
.checkout-placeholder:hover:not(:disabled){background:#245b4b}
.checkout-placeholder:disabled{background:#d4d6cf;color:#686b64;cursor:not-allowed}
.clear-cart{width:100%;margin-top:8px}
@media(max-width:600px){.catalog-status{width:100%;max-width:none}.cart-item{grid-template-columns:minmax(0,1fr) auto;gap:8px}.remove-item{grid-column:2;justify-self:end}.quantity-controls{grid-column:2;grid-row:1}.cart-item-details{grid-column:1;grid-row:1/3}}


/* Store tabs, favorites and Persian monetary words */
.store-tabs{display:flex;gap:9px;flex-wrap:wrap;margin:22px 0 4px}
.store-tab{display:inline-flex;align-items:center;gap:8px;border:1px solid var(--line);background:#fff;color:#59635a;padding:10px 16px;border-radius:11px;font-size:11px;cursor:pointer;transition:background .18s,color .18s,border-color .18s}
.store-tab.active,.store-tab:hover{background:var(--green);border-color:var(--green);color:#fff}
.favorites-count{display:inline-grid;place-items:center;min-width:21px;height:21px;padding:0 5px;border-radius:7px;background:#f1e5d2;color:#60451e;font-size:10px;font-weight:800}
.store-tab.active .favorites-count{background:#ffffff26;color:#fff}
.favorite-button{position:absolute;left:12px;top:12px;z-index:5;display:grid;place-items:center;width:36px;height:36px;padding:0;border:1px solid #dedbd0;border-radius:50%;background:#fffffff2;color:#647267;font-family:Arial,sans-serif;font-size:25px;line-height:1;box-shadow:0 4px 13px #1b2e2014;cursor:pointer;transition:transform .15s,background .15s,color .15s}
.favorite-button:hover{transform:scale(1.06)}
.favorite-button.is-favorite{color:#b13e43;background:#fff0f0;border-color:#edc7ca}
.price{display:block;min-width:0;line-height:1.7}
.price small{display:block;font-size:10px;line-height:1.8;white-space:normal;overflow-wrap:anywhere;color:#6f7971;margin-top:3px}
@media(max-width:600px){.store-tabs{margin-top:18px}.favorite-button{width:33px;height:33px;font-size:23px}.price{font-size:12px}}


/* Secure checkout form */
.checkout-form{margin:0 18px 20px;padding:18px;background:#fff;border:1px solid var(--line);border-radius:16px}
.checkout-form-heading h3{font-size:16px;margin:0 0 6px;color:var(--green)}
.checkout-form-heading p,.checkout-security p{font-size:10px;line-height:1.9;color:var(--muted);margin:0 0 14px}
.checkout-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 13px}
.checkout-fields>div{min-width:0}.checkout-fields .checkout-field-wide{grid-column:1/-1}
.checkout-fields label{display:block;font-size:11px;font-weight:700;margin:0 0 6px}
.checkout-fields input,.checkout-fields select,.checkout-fields textarea{width:100%;min-width:0;border:1px solid var(--line);border-radius:9px;padding:10px 11px;margin:0 0 12px;background:#fff;color:#202923;font:inherit;font-size:12px}
.checkout-fields textarea{resize:vertical}
.checkout-security{padding:12px;background:#f7f6f1;border-radius:12px;margin:4px 0 12px}
.checkout-security p{margin-bottom:8px}#checkout-turnstile{min-height:65px;overflow:hidden}
.checkout-status{font-size:11px;line-height:1.9;margin:8px 0 12px;color:var(--muted);overflow-wrap:anywhere}
.checkout-status.success{color:#245b4b}.checkout-status.error{color:#934a39}
.checkout-actions{display:flex;gap:9px;flex-wrap:wrap}
.checkout-submit,.checkout-cancel{border:1px solid transparent;border-radius:10px;padding:11px 14px;font:inherit;font-size:11px;font-weight:700;cursor:pointer}
.checkout-submit{background:var(--green);color:#fff}.checkout-submit:disabled{opacity:.6;cursor:not-allowed}
.checkout-cancel{background:#fff;border-color:var(--line);color:var(--green)}
@media(max-width:600px){.checkout-form{margin-left:10px;margin-right:10px;padding:13px}.checkout-fields{grid-template-columns:1fr}.checkout-fields .checkout-field-wide{grid-column:auto}.checkout-actions>*{width:100%}}

.phone-otp-tools{margin:-4px 0 12px}.phone-otp-button{border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--green);padding:8px 10px;font:inherit;font-size:11px;font-weight:700;cursor:pointer}.phone-otp-button:disabled{opacity:.55;cursor:not-allowed}.phone-otp-code-row{margin-top:9px}.phone-otp-code-row label{display:block;font-size:10px;font-weight:700;margin:0 0 5px}.phone-otp-status{font-size:10px;line-height:1.8;margin:6px 0 0;color:var(--muted);overflow-wrap:anywhere}.phone-otp-status.success{color:#245b4b}.phone-otp-status.error{color:#934a39}.phone-checkout-field input[readonly]{background:#f6f5ef;color:#59635a}



/* Quantity selector on product cards */
.product-order-controls{display:flex;align-items:center;gap:6px;min-width:0}
.product-quantity{width:66px;min-width:58px;border:1px solid var(--line);border-radius:9px;padding:8px 5px;text-align:center;background:#fff;color:var(--green);font-size:12px}
.product-quantity:focus{outline:2px solid #c8d6c6;outline-offset:1px}
.product-quantity:disabled{background:#f0efeb;color:#898b82;cursor:not-allowed}
.product-order-controls .add-button{flex:1;min-width:0;white-space:nowrap}
@media(max-width:600px){.product-order-controls{width:100%}.product-quantity{width:72px;min-width:72px;flex:0 0 72px}.product-order-controls .add-button{width:auto;flex:1;min-width:0;padding-inline:6px}}


/* Product image display and modal gallery */
.product-image-trigger{position:absolute;inset:0;z-index:1;display:grid;place-items:center;width:100%;height:100%;padding:0;border:0;background:transparent;cursor:zoom-in}
.product-image-trigger:focus-visible,.product-gallery-hint:focus-visible,.image-viewer-arrow:focus-visible,.image-viewer-thumbnail:focus-visible{outline:3px solid #c59b58;outline-offset:2px}
.product-image-trigger .product-image{display:block;position:relative;z-index:1;width:100%;height:100%;max-width:100%;max-height:100%;padding:12px;object-fit:contain;transition:transform .18s}
.product-image-trigger:hover .product-image{transform:scale(1.035)}
.product-gallery-hint{position:absolute;right:10px;bottom:10px;z-index:4;border:1px solid #ffffffc7;border-radius:9px;background:#fffffff0;color:#173b32;padding:6px 9px;font-size:9px;font-weight:700;cursor:zoom-in;box-shadow:0 3px 10px #00000012}
.image-viewer{width:min(960px,calc(100% - 24px));max-width:960px;max-height:94vh;padding:0;overflow:hidden;border:1px solid var(--line);border-radius:20px;color:#202923;background:#fff;box-shadow:0 24px 90px #0004}
.image-viewer::backdrop{background:#10231ddf;backdrop-filter:blur(4px)}
.image-viewer-header{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:15px 19px;border-bottom:1px solid var(--line)}
.image-viewer-header h2{font-size:16px;margin:0}
.image-viewer-header p{font-size:10px;color:var(--muted);margin:4px 0 0}
.image-viewer-stage{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;justify-items:center;gap:8px;padding:15px;background:#f4f3ee;min-height:260px;position:relative}
.image-viewer-main{display:block;grid-column:2;width:100%;height:min(66vh,640px);max-height:640px;object-fit:contain;min-width:0}
.image-viewer-main[hidden],.image-viewer [hidden]{display:none!important}
.image-viewer-arrow{width:38px;height:42px;border:1px solid var(--line);border-radius:11px;background:#fff;color:var(--green);font-size:29px;line-height:1;cursor:pointer;grid-row:1}
#image-viewer-prev{grid-column:1}
#image-viewer-next{grid-column:3}
.image-viewer-status{grid-column:1/-1;color:#934a39;font-size:12px;text-align:center;line-height:2;padding:22px}
.image-viewer-thumbnails{display:flex;gap:9px;overflow-x:auto;padding:12px 16px;justify-content:center;border-top:1px solid var(--line)}
.image-viewer-thumbnail{flex:0 0 76px;width:76px;height:62px;padding:3px;border:1px solid var(--line);border-radius:9px;background:#fff;cursor:pointer;overflow:hidden}
.image-viewer-thumbnail.active{border:2px solid var(--green);box-shadow:0 0 0 2px #245b4b20}
.image-viewer-thumbnail img{width:100%;height:100%;object-fit:contain;display:block}
.image-viewer-thumbnail.unavailable{display:grid;place-items:center;background:#f6ece8}
@media(max-width:600px){.image-viewer{width:calc(100% - 14px);max-height:96vh;border-radius:14px}.image-viewer-header{padding:12px}.image-viewer-stage{grid-template-columns:32px minmax(0,1fr) 32px;gap:4px;padding:8px;min-height:220px}.image-viewer-main{height:min(65vh,520px)}.image-viewer-arrow{width:30px;height:36px}.image-viewer-thumbnails{justify-content:flex-start;padding:10px}.image-viewer-thumbnail{flex-basis:64px;width:64px;height:54px}.product-gallery-hint{font-size:8px;padding:5px 7px}}

/* Shared offcut marketplace */
.offcut-main{max-width:1200px;margin:20px auto 70px;padding:0 24px}
.offcut-hero{background:#e9eee7;border-radius:26px;padding:42px clamp(22px,5vw,58px);margin-bottom:42px}
.offcut-hero h1{font-size:clamp(28px,4vw,43px);line-height:1.7;color:var(--green);margin:12px 0}
.offcut-hero h1 em{font-style:normal;color:#a87938}.offcut-hero p{line-height:2;color:var(--muted);max-width:700px}
.offcut-listings,.offcut-post,.offcut-education{margin:38px 0}
.offcut-filters{display:flex;gap:12px;margin:18px 0}.offcut-filters input,.offcut-filters select,.offcut-form input,.offcut-form select,.offcut-form textarea{font:inherit;width:100%;min-width:0;border:1px solid var(--line);border-radius:12px;padding:12px;background:#fff;color:#202923}
.offcut-filters input{flex:1}.offcut-filters select{max-width:230px}
.offcut-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:18px}
.offcut-card{background:#fff;border:1px solid var(--line);border-radius:18px;overflow:hidden;min-width:0}
.offcut-card-image{width:100%;height:190px;object-fit:cover;background:var(--cream)}
.offcut-card-body{padding:18px}.offcut-tag{display:inline-block;background:#f1eee5;color:#785b2d;padding:5px 10px;border-radius:20px;font-size:11px}
.offcut-card h3{font-size:17px;line-height:1.8;margin:10px 0}.offcut-meta,.offcut-card-body>p{font-size:12px;color:var(--muted);line-height:1.9}
.offcut-price{display:block;color:var(--green);font-size:16px;margin:12px 0}
.offcut-contact{display:block;border-top:1px solid var(--line);padding-top:12px;margin-top:12px;color:var(--green);font-size:12px;overflow-wrap:anywhere}
.offcut-form{background:#fff;border:1px solid var(--line);border-radius:20px;padding:clamp(18px,3vw,30px)}
.offcut-form .field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}
.offcut-form label{display:block;font-size:13px;font-weight:700;margin-bottom:8px}.offcut-form small{display:block;color:var(--muted);line-height:1.8;margin-top:6px}
.offcut-wide{grid-column:1/-1}.offcut-form>button{margin-top:22px}.offcut-education{background:#f1eee5;border-radius:20px;padding:25px 30px;line-height:2}
.offcut-education ul{padding-right:22px}.catalog-status.error,.checkout-status.error{color:#a42b2b}.checkout-status.success{color:#176a3b}
@media(max-width:850px){.offcut-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.offcut-main{padding:0 14px}.offcut-hero{padding:26px 20px}.offcut-grid{grid-template-columns:1fr}.offcut-filters{flex-direction:column}.offcut-filters select{max-width:none}.offcut-form .field-grid{grid-template-columns:1fr}.offcut-wide{grid-column:auto}.site-header{padding:16px;gap:10px;flex-wrap:wrap}.site-header>.secondary-link{margin-right:auto}}

.market-entry{max-width:1200px;margin:34px auto;padding:25px 30px;border:1px solid var(--line);border-radius:22px;background:#f1eee5;display:flex;align-items:center;justify-content:space-between;gap:24px}
.market-entry h2{font-size:23px;color:var(--green);margin:8px 0}.market-entry p{font-size:13px;line-height:1.9;color:var(--muted);margin:0;max-width:700px}
@media(max-width:650px){.market-entry{margin:25px 14px;padding:22px;align-items:flex-start;flex-direction:column}.market-entry h2{font-size:20px}}

.offcut-file-label{margin-top:14px}.offcut-image-preview{display:flex;flex-wrap:wrap;gap:10px;margin-top:12px}
.offcut-preview-item{width:105px;display:grid;gap:5px}.offcut-preview-item img{width:105px;height:85px;object-fit:cover;border-radius:10px;border:1px solid var(--line)}.offcut-preview-item small{font-size:10px;overflow-wrap:anywhere}


/* Storefront enhancements inspired by common retail patterns: filters, sorting and product details. */
.catalog-tools{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap;margin:-4px 0 22px;padding:16px;background:#fff;border:1px solid var(--line);border-radius:16px}
.catalog-tool{display:grid;gap:6px;min-width:150px;color:var(--muted);font-size:10px;font-weight:600}
.catalog-tool select,.catalog-tool input{width:100%;min-width:0;height:40px;padding:8px 10px;border:1px solid var(--line);border-radius:10px;background:#fbfaf7;color:var(--green);font:inherit;font-size:12px;outline-color:var(--green2)}
.sort-tool{min-width:180px}
.stock-filter{display:flex;align-items:center;gap:8px;min-height:40px;padding:0 6px;color:var(--green);font-size:11px;white-space:nowrap;cursor:pointer}
.stock-filter input{width:17px;height:17px;accent-color:var(--green)}
.clear-filters{height:40px;border:1px solid var(--line);border-radius:10px;background:#f5f2e9;color:#6d5a38;padding:0 13px;font:inherit;font-size:11px;cursor:pointer}
.filter-result-count{margin-right:auto;padding:9px 0;color:var(--muted);font-size:11px;white-space:nowrap}
.product-title-link{display:block;width:100%;padding:0;border:0;background:transparent;color:#202923;text-align:right;font:inherit;font-size:13px;font-weight:800;line-height:1.8;cursor:pointer}
.product-title-link:hover{color:var(--green2)}
.product-details-button{margin-top:9px;padding:7px 10px;border:1px solid var(--line);border-radius:8px;background:#faf9f4;color:var(--green);font:inherit;font-size:10px;font-weight:700;cursor:pointer}
.product-details-button:hover{background:#edf1eb;border-color:#cfd8ce}
.product-detail-dialog{width:min(900px,calc(100% - 30px));max-height:min(90vh,850px);padding:0;border:1px solid var(--line);border-radius:22px;background:#fbfaf7;color:var(--text);box-shadow:0 30px 90px #0003;overflow:auto}
.product-detail-dialog::backdrop{background:#101a16a6;backdrop-filter:blur(3px)}
.product-detail-header{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 24px;background:#fbfaf7;border-bottom:1px solid var(--line)}
.product-detail-header h2{margin:5px 0 0;color:var(--green);font-size:20px;line-height:1.7}
.product-detail-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:26px;padding:24px}
.product-detail-visual{min-width:0}
.product-detail-image-button{position:relative;display:grid;place-items:center;width:100%;min-height:300px;padding:16px;border:1px solid var(--line);border-radius:18px;background:#f3f1e9;cursor:zoom-in;overflow:hidden}
.product-detail-image-button img{width:100%;height:280px;object-fit:contain}
.product-detail-image-button span{color:var(--muted);font-size:12px}
.detail-gallery-button{display:block;width:100%;margin-top:12px;cursor:pointer;font-family:inherit}
.product-detail-copy{display:flex;flex-direction:column;align-items:stretch;min-width:0}
.product-category-label{align-self:flex-start;background:#eee9dc;color:#74552b;padding:6px 11px;border-radius:8px;font-size:11px}
.product-detail-code{font-size:11px;color:var(--muted);margin:13px 0 3px}
.product-detail-description{font-size:13px;line-height:2;color:#566158;white-space:pre-line}
.product-detail-stats{padding:10px 13px;margin:8px 0;background:#f2f0e7;border-radius:12px;font-size:12px;line-height:1.8}
.product-detail-stats p{margin:4px 0}
.product-detail-stats .in-stock{color:#206847}.product-detail-stats .out-of-stock{color:#a42b2b}
.product-detail-price{display:block;margin:12px 0;color:var(--green);font-size:17px;line-height:2}
.detail-quantity-label{font-size:11px;font-weight:700;margin:6px 0}
.detail-quantity{width:100%;height:44px;border:1px solid var(--line);border-radius:10px;background:#fff;padding:8px 12px;font:inherit;font-size:14px}
.detail-add-button{width:100%;margin-top:12px}
.detail-add-button:disabled{opacity:.55;cursor:not-allowed}
@media(max-width:700px){.catalog-tools{align-items:stretch;gap:10px;padding:12px}.catalog-tool{flex:1 1 calc(50% - 8px);min-width:125px}.sort-tool{min-width:100%}.stock-filter{flex:1 1 100%}.filter-result-count{margin-right:0}.product-detail-dialog{width:calc(100% - 14px);border-radius:15px;max-height:94vh}.product-detail-header{padding:14px}.product-detail-layout{grid-template-columns:1fr;gap:14px;padding:14px}.product-detail-image-button{min-height:210px}.product-detail-image-button img{height:200px}.product-detail-header h2{font-size:16px}}


/* Android distribution entry and privacy page */
.android-app-entry{max-width:1200px;margin:28px auto;padding:22px 28px;border:1px solid var(--line);border-radius:20px;background:#e9eee7;display:flex;align-items:center;justify-content:space-between;gap:22px}
.android-app-entry[hidden]{display:none}
.android-app-entry h2{margin:7px 0;font-size:22px;color:var(--green)}
.android-app-entry p{margin:0;max-width:700px;color:var(--muted);font-size:12px;line-height:2}
.android-app-action{display:grid;gap:7px;justify-items:center}
.android-app-action small{font-size:10px;color:var(--muted)}
.privacy-main{max-width:900px;margin:30px auto 70px;padding:30px clamp(18px,4vw,48px);background:#fff;border:1px solid var(--line);border-radius:22px}
.privacy-main h1{margin:8px 0;color:var(--green);font-size:clamp(24px,3.8vw,36px);line-height:1.7}
.privacy-main h2{margin:28px 0 6px;color:var(--green);font-size:18px}
.privacy-main p{font-size:14px;line-height:2.2;color:#4f5c52}
.privacy-main a{color:var(--green2);text-decoration:underline}
.privacy-updated{font-size:11px!important;color:var(--muted)!important}
.privacy-note{padding:12px 15px;background:#f6f0e4;border-radius:12px;font-size:12px!important}
@media(max-width:650px){.android-app-entry{margin:22px 14px;padding:20px;align-items:stretch;flex-direction:column}.android-app-entry h2{font-size:19px}.android-app-action{justify-items:stretch}.android-app-action .primary-link{justify-content:center}}



/* KabinYar storefront redesign — navy, white and gold reference palette. */
:root{
  --navy:#0F2334;--navy2:#1B3448;--gold:#E8B43D;--text:#192A3D;--cream:#F6F8FA;
  --green:var(--navy);--green2:var(--navy2);--muted:#6E7A86;--line:#E1E7EC;
  --cream:var(--cream);--white:#fff;scroll-padding-top:24px;
}
html{scroll-behavior:smooth}
body{background:var(--cream);color:var(--text)}
.announcement{background:var(--navy);color:#fff;padding:9px 16px;font-size:11px;letter-spacing:.15px}
.site-header{max-width:1320px;padding:17px 26px;gap:16px;min-height:92px}
.brand{min-width:190px;gap:10px}
.brand-logo{width:50px;height:50px;flex-basis:50px;border-radius:12px;filter:none}
.brand strong{color:var(--navy);font-size:20px;font-weight:800}
.brand small{font-size:10px;color:#6E7A86}
.search{max-width:none;min-height:52px;border:1px solid #DDE4EA;border-radius:12px;padding:5px 8px 5px 14px;box-shadow:0 2px 8px #0f233408}
.search:focus-within{border-color:var(--gold);box-shadow:0 0 0 3px #E8B43D26}
.search>span{color:#697b8a}
.search button,.primary-link{background:var(--gold);color:var(--navy);border-radius:9px;font-weight:800}
.search button:hover,.primary-link:hover{background:#f2c554;color:var(--navy)}
.account-button{flex:0 0 auto;min-height:46px;padding:0 13px;border:1px solid #dfe5ea;border-radius:11px;background:#fff;color:var(--navy);font:inherit;font-size:11px;font-weight:800;white-space:nowrap;cursor:pointer}
.account-button:hover{border-color:var(--gold);background:#fffaf0}
.cart-button{white-space:nowrap;border-color:#dfe5ea;border-radius:11px;min-height:46px;color:var(--navy);font-weight:700}
.cart-button b{background:var(--navy);color:#fff}
.main-nav{background:#fff;border-top:1px solid #eef1f4;border-bottom:1px solid #DDE4EA;box-shadow:0 5px 18px #0f233408}
.main-nav-inner{max-width:1320px;min-height:55px;margin:0 auto;padding:0 24px;display:flex;align-items:stretch;gap:4px}
.main-nav .nav-link{display:flex;align-items:center;justify-content:center;padding:0 17px;border-bottom:3px solid transparent;margin-bottom:-1px;color:#415264;font-size:12px;font-weight:700;white-space:nowrap}
.main-nav .nav-link:hover,.main-nav .nav-link.active{color:var(--navy);border-bottom-color:var(--gold)}
.main-nav .nav-action{display:inline-flex;align-items:center;gap:10px;margin-right:auto;align-self:center;padding:11px 17px;background:var(--gold);color:var(--navy);border-radius:9px;font-size:11px;font-weight:800;white-space:nowrap}
.main-nav .nav-action:hover{background:#f2c554}
.hero{direction:ltr;max-width:1320px;margin:24px auto 40px;padding:0;min-height:390px;border-radius:20px;background:var(--navy);display:grid;grid-template-columns:minmax(0,.88fr) minmax(0,1.12fr);align-items:stretch;gap:0;overflow:hidden;position:relative;box-shadow:0 14px 36px #0f233416}
.hero-copy{direction:rtl;display:flex;flex-direction:column;justify-content:center;padding:36px clamp(24px,3.5vw,52px);color:#fff;position:relative;z-index:2}
.hero .eyebrow{color:var(--gold)}
.hero h1{font-size:clamp(29px,3vw,43px);line-height:1.65;letter-spacing:-.5px;max-width:570px;margin:12px 0;color:#fff}
.hero h1 em{color:var(--gold);font-style:normal}
.hero p{font-size:13px;line-height:2.15;color:#e3e9ee;max-width:550px;margin:0 0 22px}
.hero .primary-link{align-self:flex-start;background:var(--gold);color:var(--navy);padding:13px 22px}
.hero-points{display:flex;gap:10px 17px;flex-wrap:wrap;margin-top:23px;color:#dce5eb;font-size:10px}
.hero-points b{color:var(--gold);margin-left:4px}
.hero-media{position:relative;min-height:390px;height:100%;overflow:hidden;background:#223b4e}
.hero-media img{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover;object-position:center}
.hero-media:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#0F2334a8 0%,#0F23341f 48%,#0F233400 100%);pointer-events:none}
.hero-image-caption{position:absolute;z-index:1;bottom:18px;right:18px;background:#0F2334d9;color:#fff;border:1px solid #ffffff35;border-radius:9px;padding:8px 12px;font-size:10px}
.content-section{max-width:1320px;margin:38px auto;padding:0 24px}
.section-heading{align-items:center;gap:16px;margin-bottom:18px}
.section-heading h2,.market-entry h2,.help-banner h2{color:var(--navy);font-size:clamp(20px,2.2vw,27px);font-weight:800;letter-spacing:-.3px}
.section-heading p{color:#71808c}
.section-link{display:inline-flex;align-items:center;gap:8px;color:var(--navy);font-weight:800;font-size:11px;white-space:nowrap}
.section-link:hover{color:#927024}
.home-category-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:14px}
.home-category-card{display:flex;flex-direction:column;min-width:0;padding:0;border:1px solid #e1e7ec;border-radius:15px;background:#fff;text-align:right;overflow:hidden;cursor:pointer;box-shadow:0 4px 14px #0f233408;transition:transform .18s,border-color .18s,box-shadow .18s}
.home-category-card:hover{transform:translateY(-3px);border-color:var(--gold);box-shadow:0 12px 25px #0f233410}
.home-category-visual{position:relative;display:block;height:126px;overflow:hidden;background:#e8edf1}
.home-category-visual:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,#0f233400 48%,#0f233455 100%)}
.home-category-image{display:block;width:100%;height:100%;object-fit:cover;transition:transform .24s}
.home-category-card:hover .home-category-image{transform:scale(1.045)}
.home-category-visual-fallback{background:linear-gradient(135deg,#e9eef2,#cdd9e1)}
.home-category-body{display:grid;grid-template-columns:auto minmax(0,1fr) auto;grid-template-rows:auto auto;gap:3px 9px;align-items:center;padding:13px 12px 14px;min-height:82px}
.home-category-icon{grid-row:1/3;grid-column:3;display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:#f9f0d7;color:#8f6814;font-size:18px}
.home-category-name{grid-column:2;grid-row:1;font-size:12px;line-height:1.8;font-weight:800;color:var(--text);overflow-wrap:anywhere}
.home-category-count{grid-column:2;grid-row:2;font-size:10px;color:#71808c}
.home-category-arrow{grid-column:1;grid-row:1/3;justify-self:start;color:#8f6814;font-size:15px}
.category-showcase-placeholder{grid-column:1/-1;padding:24px;background:#fff;border:1px solid #e1e7ec;border-radius:14px;color:#6E7A86;font-size:12px}
.android-app-entry{max-width:1272px;margin:30px auto;padding:22px 28px;border:1px solid #dce5ec;border-radius:16px;background:#fff}
.android-app-entry h2{color:var(--navy)}.android-app-entry p{color:#687988}
.market-entry.content-section{max-width:1320px;margin:40px auto;padding:25px 24px 26px;border:1px solid #dfe6ed;border-radius:19px;background:#fff;display:block}
.market-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:19px}
.market-entry h2{margin:6px 0 4px}
.market-entry p{color:#71808c;font-size:12px;line-height:1.9;margin:0}
.market-entry-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.market-tile{position:relative;display:flex;flex-direction:column;align-items:flex-start;min-width:0;min-height:188px;padding:20px;border:1px solid #e1e7ec;border-radius:14px;background:var(--cream);overflow:hidden;transition:transform .18s,border-color .18s}
.market-tile:after{content:"";position:absolute;left:-35px;bottom:-54px;width:130px;height:130px;border:1px solid #d7e0e6;border-radius:50%;pointer-events:none}
.market-tile-live:hover{transform:translateY(-2px);border-color:var(--gold);background:#fff}
.market-tile-icon{display:grid;place-items:center;width:41px;height:41px;border-radius:12px;background:var(--navy);color:var(--gold);font-size:22px}
.market-tile-badge{position:absolute;top:19px;left:18px;border-radius:30px;padding:5px 9px;background:#e7edf1;color:#415264;font-size:9px;font-weight:800}
.market-tile h3{color:var(--navy);font-size:16px;margin:13px 0 4px}
.market-tile p{font-size:11px;line-height:1.9;margin:0 0 14px;max-width:420px}
.market-tile-status,.market-tile-link{margin-top:auto;font-size:10px;font-weight:800;color:#8b6a20}
.market-tile-link{display:inline-flex;gap:8px;align-items:center;color:var(--navy)}
.home-listings-status{margin:-4px 0 16px}
.home-listings-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.home-listing-card{border-color:#e0e6eb;box-shadow:0 4px 14px #0f233408}
.home-listing-card .offcut-card-image{height:190px}
.home-listing-image-placeholder{height:190px;display:grid;place-items:center;background:linear-gradient(135deg,var(--navy),var(--navy2));color:var(--gold);font-size:23px;font-weight:800}
.home-listings-actions{display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap;margin-top:20px}
.home-listings-actions .primary-link{justify-content:center}
.trust-strip{max-width:1272px;margin:36px auto;padding:23px 28px;background:var(--navy);color:#fff;border:0;border-radius:16px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.trust-strip>div{display:flex;align-items:center;gap:13px;min-width:0}
.trust-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:var(--navy2);color:var(--gold);font-size:22px;flex:0 0 42px}
.trust-strip strong{display:block;color:#fff;font-size:12px}
.trust-strip small{display:block;margin-top:4px;color:#c7d3dc;font-size:10px;line-height:1.8}
.help-banner{max-width:1272px;margin:38px auto;padding:27px 30px;border-radius:16px;border:1px solid #e0e6eb;background:#fff;display:flex;align-items:center;justify-content:space-between;gap:22px}
.help-banner h2{margin:6px 0 5px}.help-banner p{max-width:780px;font-size:12px;line-height:2;color:#6E7A86}
.help-banner .secondary-link{border-color:#d8e0e6;color:var(--navy)}
.product-card{border-color:#e0e6eb;border-radius:15px;box-shadow:0 5px 18px #0f233408}
.product-card:hover{border-color:#e7c45d;box-shadow:0 12px 28px #0f233411}
.product-category{background:#f7f0db;color:#7e5d15}
.add-button,.checkout-submit{background:var(--navy);color:#fff}
.add-button:hover,.checkout-submit:hover{background:var(--navy2)}
.store-tab.active,.store-tab:hover{background:var(--navy);border-color:var(--navy)}
.category-chip.active{background:var(--navy);border-color:var(--navy)}
.product-details-button:hover{background:#f8f1df;border-color:var(--gold)}
.site-footer{margin-top:50px;padding:0;background:var(--navy);color:#d8e0e7;display:block}
.footer-shell{max-width:1320px;margin:0 auto;padding:40px 24px 32px;display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:28px}
.footer-about .footer-brand{display:flex;align-items:center;gap:10px;color:#fff;font-weight:800;font-size:20px}
.footer-brand img{display:block;object-fit:contain;border-radius:9px}
.footer-about p{color:var(--gold);font-size:12px;font-weight:700;margin:12px 0 6px}
.footer-about small,.footer-column small{display:block;color:#b8c7d1;font-size:10px;line-height:2}
.footer-column{display:flex;flex-direction:column;align-items:flex-start;gap:11px}
.footer-column h3{margin:4px 0 5px;color:var(--gold);font-size:12px}
.footer-column a{color:#e0e6eb;font-size:11px}
.footer-column a:hover{color:var(--gold)}
.footer-bottom{display:flex;justify-content:space-between;gap:25px;max-width:1320px;margin:0 auto;padding:17px 24px 20px;border-top:1px solid #ffffff24;color:#bbc7cf;font-size:10px;line-height:1.8}
.footer-bottom small{max-width:700px}
@media(max-width:1050px){
  .home-category-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .home-category-visual{height:145px}
  .main-nav .nav-link{padding-inline:11px}
  .brand{min-width:165px}
  .site-header{gap:10px}
}
@media(max-width:760px){
  .site-header{padding:14px 16px;gap:10px;flex-wrap:wrap}
  .brand{min-width:0}
  .brand strong{font-size:18px}
  .search{order:5;flex:1 1 100%;width:100%;max-width:none}
  .account-button{margin-right:auto;padding-inline:10px}
  .main-nav-inner{padding:0 13px;overflow-x:auto;gap:0;min-height:51px;scrollbar-width:thin}
  .main-nav .nav-link{flex:0 0 auto;padding:0 12px;font-size:11px}
  .main-nav .nav-action{flex:0 0 auto;margin:7px 8px 7px auto;padding:10px 12px}
  .hero{margin:15px 14px 27px;grid-template-columns:1fr;border-radius:16px}
  .hero-copy{padding:28px 23px 26px;order:2}
  .hero-media{min-height:230px;height:230px;order:1}
  .hero h1{font-size:clamp(27px,7vw,36px);line-height:1.6}
  .hero p{font-size:12px;margin-bottom:18px}
  .hero-points{gap:9px 13px;margin-top:17px}
  .content-section{padding:0 14px;margin:28px auto}
  .section-heading{align-items:flex-start}
  .home-category-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .home-category-visual{height:120px}
  .home-category-body{padding:10px 9px;gap:3px 7px}
  .home-category-name{font-size:11px}
  .market-entry.content-section{margin:28px 14px;padding:20px 14px}
  .market-heading{display:block}
  .market-entry-grid{grid-template-columns:1fr}
  .market-tile{min-height:160px;padding:16px}
  .home-listings-grid,.offcut-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .home-listing-card .offcut-card-image,.home-listing-image-placeholder{height:150px}
  .trust-strip{margin:28px 14px;padding:18px;grid-template-columns:1fr;gap:13px}
  .help-banner{margin:28px 14px;padding:20px;align-items:flex-start;flex-direction:column}
  .footer-shell{grid-template-columns:repeat(2,minmax(0,1fr));gap:25px 18px;padding:30px 20px}
  .footer-bottom{padding:15px 20px;flex-direction:column;gap:8px}
}
@media(max-width:440px){
  .brand-logo{width:42px;height:42px;flex-basis:42px}
  .brand small{font-size:9px}
  .account-button{font-size:10px;min-height:42px}
  .cart-button{padding:9px 10px;font-size:10px;min-height:42px}
  .hero-media{height:200px;min-height:200px}
  .home-category-grid{gap:8px}
  .home-category-visual{height:102px}
  .home-category-icon{width:29px;height:29px}
  .home-category-name{font-size:10px}
  .home-listings-grid,.offcut-grid{grid-template-columns:1fr}
  .home-listing-card .offcut-card-image,.home-listing-image-placeholder{height:205px}
  .footer-shell{grid-template-columns:1fr}
}


/* Category-level and featured catalog filters */
.product-visual{position:relative}
.product-badges{position:absolute;z-index:4;top:12px;right:12px;left:54px;display:flex;align-items:flex-start;justify-content:flex-start;gap:5px;flex-wrap:wrap;pointer-events:none}
.product-badge{display:inline-flex;align-items:center;justify-content:center;border-radius:7px;padding:5px 8px;font-size:9px;font-weight:800;line-height:1.35;box-shadow:0 2px 7px #0f233413}
.bestseller-badge{background:var(--navy);color:#fff}
.discount-badge{background:var(--gold);color:var(--navy)}
.price .original-price{display:block;width:max-content;max-width:100%;margin-bottom:2px;color:#8b96a0;font-size:10px;font-weight:500;text-decoration:line-through}
.price .current-price{display:block;color:var(--navy);font-size:inherit;font-weight:800}
@media(max-width:600px){
  .product-badges{top:9px;right:9px;left:46px;gap:4px}
  .product-badge{padding:4px 6px;font-size:8px}
}

/* Keep promotional labels below the category label on compact product cards. */
.product-badges{top:42px}
@media(max-width:600px){.product-badges{top:38px}}


/* Favorites is a first-level option directly below the search row. */
.main-nav .favorites-nav-link{gap:8px}
.main-nav .favorites-count{margin-right:0;min-width:21px;height:21px;padding:0 5px;border-radius:7px;background:var(--gold);color:var(--navy);font-size:10px;font-weight:900}
.main-nav .favorites-nav-link.active .favorites-count{background:var(--gold);color:var(--navy)}
.discounted-products-section .section-heading{align-items:center}
.discounted-products-section .empty-state{max-width:none;margin:12px 0 24px;padding:25px;border:1px dashed #d6e0e7;border-radius:14px;background:#fff;color:#647584;text-align:center;line-height:2}
@media(max-width:600px){
  .main-nav .favorites-nav-link{gap:5px}
  .main-nav .favorites-count{min-width:19px;height:19px;font-size:9px}
  .discounted-products-section .empty-state{padding:19px 13px;font-size:12px}
}


/* Live controls in the shared product menu. */
.product-badge.view-badge{background:var(--navy2);color:#fff}
.main-nav .nav-install-link{max-width:205px;overflow:hidden;text-overflow:ellipsis}
.android-app-entry .download-unavailable{opacity:.62;cursor:not-allowed;filter:grayscale(.25)}


/* Keep the expanded, administrator-sortable navigation usable at desktop widths. */
.main-nav-inner{overflow-x:auto;scrollbar-width:thin}
.main-nav .nav-link{flex:0 0 auto;padding-inline:10px;font-size:11px;white-space:nowrap}
.main-nav .nav-action{flex:0 0 auto;padding:9px 12px;font-size:10px;white-space:nowrap}
.main-nav .nav-install-link{max-width:175px}
@media(max-width:1050px){.main-nav-inner{max-width:100%;padding-inline:12px}.main-nav .nav-link{padding-inline:8px;font-size:10px}.main-nav .nav-install-link{max-width:145px}}


/* Full-sheet storefront, separate from user surplus-sheet listings */
.sheet-sales-section{scroll-margin-top:24px}
.sheet-sales-grid{margin-top:22px}
.sheet-sales-card .product-visual{min-height:185px}
.sheet-sales-image{position:relative;z-index:1;width:100%;height:180px;padding:12px;object-fit:contain}
.sheet-sales-card .product-category{z-index:2}
.sheet-sales-specs{font-size:11px;line-height:2;color:var(--muted);overflow-wrap:anywhere}
.sheet-sales-stock{font-size:10px;color:var(--muted);margin:7px 0}
.sheet-sales-card .product-bottom{align-items:center;flex-wrap:wrap}
.sheet-sales-card .product-details-button{white-space:nowrap}
@media(max-width:600px){.sheet-sales-card .product-visual{min-height:150px}.sheet-sales-image{height:150px}}


.market-switch{display:flex;gap:9px;flex-wrap:wrap;margin:16px 0 22px}
.market-switch a{display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--line);border-radius:11px;background:#fff;padding:10px 16px;font-size:12px;font-weight:700;color:var(--text)}
.market-switch a.active{background:var(--navy);border-color:var(--navy);color:#fff}
@media(max-width:600px){.market-switch a{flex:1 1 auto}}


/* Unified marketplace: compact responsive filters and context header */
.market-context{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin:16px 0 22px;padding:12px 16px;border:1px solid var(--line);border-radius:12px;background:#fff;color:var(--muted);font-size:11px;line-height:1.9}
.market-context a{font-weight:700;color:var(--navy)}
.offcut-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.offcut-filters input,.offcut-filters select{max-width:none;min-width:0;width:100%;margin:0}
.offcut-filters #listing-search{grid-column:1/-1}
.offcut-form select:disabled,.offcut-filters select:disabled{background:#f1f3f5;color:#89939a;cursor:not-allowed}
.offcut-form select:focus,.offcut-filters select:focus{outline:2px solid #d5e0e8;outline-offset:1px}
@media(max-width:760px){.offcut-filters{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:480px){.offcut-filters{grid-template-columns:1fr}.offcut-filters #listing-search{grid-column:auto}.market-context{align-items:flex-start;flex-direction:column}}


/* Click-to-search marketplace matching and listing details */
.market-search-panel{background:#fff;border:1px solid var(--line);border-radius:20px;padding:clamp(16px,3vw,26px);margin:18px 0 16px;box-shadow:0 8px 28px #1d34250a}
.market-search-heading h3{font-size:20px;line-height:1.7;margin:6px 0;color:var(--green)}
.market-search-heading p{margin:0 0 18px;color:var(--muted);font-size:13px;line-height:1.9}
.market-search-fields{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.market-search-fields label{display:block;font-size:12px;font-weight:700;margin-bottom:7px}
.market-search-fields input{font:inherit;width:100%;min-width:0;border:1px solid var(--line);border-radius:12px;padding:12px;background:#fff;color:#202923}
.market-search-fields input:focus{outline:2px solid #a8793840;border-color:#a87938}
.market-search-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-top:15px}
.market-search-actions button,.offcut-card-open,.listing-detail-contact{font:inherit;cursor:pointer;text-decoration:none;text-align:center;display:inline-flex;align-items:center;justify-content:center}
.market-search-actions .primary-link,.offcut-card-open,.listing-detail-contact{background:var(--green);color:#fff;border:1px solid var(--green);border-radius:11px;padding:11px 18px}
.market-search-actions .secondary-link{background:#fff;border:1px solid var(--line);border-radius:11px;padding:11px 18px;color:var(--green)}
.market-search-status{font-size:12px;color:var(--muted);line-height:1.9;margin:12px 0 0}
.offcut-match-tags{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:10px}
.offcut-match-tag{border-radius:999px;background:#eef3ed;color:#275b48;padding:4px 8px;font-size:10px;line-height:1.6}
.offcut-card-open{width:100%;margin-top:10px;font-size:13px}
.listing-detail-dialog{border:0;padding:0;width:min(860px,calc(100% - 24px));max-height:90vh;border-radius:22px;box-shadow:0 24px 90px #101a1460;color:#202923}
.listing-detail-dialog::backdrop{background:#10241bc2;backdrop-filter:blur(3px)}
.listing-detail-shell{padding:clamp(16px,3vw,28px);max-height:90vh;overflow:auto}
.listing-detail-header{display:flex;justify-content:space-between;align-items:center;gap:16px;border-bottom:1px solid var(--line);padding-bottom:14px;margin-bottom:16px}
.listing-detail-header h2{font-size:22px;line-height:1.7;margin:5px 0 0;color:var(--green);overflow-wrap:anywhere}
.listing-detail-header .secondary-link{flex-shrink:0;border:1px solid var(--line);border-radius:10px;background:#fff;color:var(--green);padding:8px 12px;cursor:pointer;font:inherit}
.listing-detail-images{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:10px;margin-bottom:18px}
.listing-detail-images img{width:100%;height:160px;object-fit:contain;background:#f4f2ed;border:1px solid var(--line);border-radius:12px}
.listing-detail-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.listing-detail-field{background:#f7f7f3;border:1px solid #e8e9e1;border-radius:11px;padding:11px;min-width:0}
.listing-detail-label{display:block;font-size:11px;color:var(--muted);margin-bottom:4px}
.listing-detail-field strong{display:block;font-size:13px;line-height:1.8;overflow-wrap:anywhere}
.listing-detail-description{white-space:pre-wrap;line-height:2;font-size:13px;border-top:1px solid var(--line);padding-top:12px;margin:15px 0}
.listing-detail-contact{margin-top:8px}
@media(max-width:850px){.market-search-fields{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.market-search-fields,.listing-detail-fields{grid-template-columns:1fr}.market-search-actions{display:grid;grid-template-columns:1fr}.market-search-actions button{width:100%}.listing-detail-header{align-items:flex-start}.listing-detail-header h2{font-size:18px}.listing-detail-images{grid-template-columns:repeat(2,minmax(0,1fr))}.listing-detail-images img{height:125px}}

/* Unified marketplace search: one submit button applies every filter and spec. */
.market-search-fields{grid-template-columns:repeat(3,minmax(0,1fr))}
.market-search-fields input,.market-search-fields select{font:inherit;width:100%;min-width:0;border:1px solid var(--line);border-radius:12px;padding:12px;background:#fff;color:#202923}
.market-search-fields select{cursor:pointer}
.market-search-fields select:focus{outline:2px solid #a8793840;border-color:#a87938}
.market-search-fields select:disabled{background:#f1f3f5;color:#89939a;cursor:not-allowed}
.market-search-fields label{line-height:1.8}
@media(max-width:850px){.market-search-fields{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.market-search-fields{grid-template-columns:1fr}}
/* Stage 1: homepage brand header + hero only; marketplace and other routes are unchanged. */
.woodiraq-home-page {
  --home-cream: #f7f3e9;
  --home-cream-deep: #eee7d9;
  --home-jade: #173b32;
  --home-jade-hover: #245747;
  --home-gold: #bd9856;
  background: var(--home-cream);
  color: var(--home-jade);
  overflow-x: clip;
}
.woodiraq-home-page .announcement { background: var(--home-jade); color: #fffaf0; }
.woodiraq-home-page .site-header {
  direction: rtl; display: flex; flex-wrap: nowrap; align-items: center; gap: 13px;
  max-width: 1320px; min-width: 0; min-height: 94px; padding: 15px 26px;
}
.woodiraq-home-page .brand { min-width: 0; flex: 0 0 auto; gap: 10px; }
.woodiraq-home-page .brand-logo {
  display: block; width: 64px; height: 64px; flex: 0 0 64px;
  object-fit: contain; object-position: center; border-radius: 0; filter: none;
}
.woodiraq-home-page .brand strong { color: var(--home-jade); }
.woodiraq-home-page .brand small { color: #65756a; }
.woodiraq-home-page .search {
  flex: 1 1 320px; min-width: 120px; max-width: 720px; min-height: 48px;
  padding: 5px 12px; border: 1px solid #ded8c8; border-radius: 13px;
  background: #fffdf8; box-shadow: 0 5px 18px #173b3208;
}
.woodiraq-home-page .search:focus-within { border-color: var(--home-gold); box-shadow: 0 0 0 3px #bd98561f; }
.woodiraq-home-page .search>span { color: #61756a; }
.woodiraq-home-page .search button {
  background: var(--home-jade); color: #fffaf0; border-radius: 9px;
}
.woodiraq-home-page .search button:hover { background: var(--home-jade-hover); }
.woodiraq-home-page .header-favorites-link {
  display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center;
  gap: 6px; min-height: 42px; padding: 0 7px; color: var(--home-jade);
  white-space: nowrap; font-size: 12px; font-weight: 700; border-radius: 10px;
}
.woodiraq-home-page .header-favorites-link:hover,
.woodiraq-home-page .header-favorites-link.active { background: #eae5d8; }
.woodiraq-home-page .header-favorites-icon { font-size: 22px; line-height: 1; color: var(--home-gold); }
.woodiraq-home-page .header-favorites-count {
  display: inline-grid; place-items: center; min-width: 19px; height: 19px;
  padding: 0 4px; border-radius: 7px; background: var(--home-cream-deep);
  color: var(--home-jade); font-size: 10px;
}
.woodiraq-home-page .account-button {
  flex: 0 0 auto; min-height: 44px; padding: 0 13px; border: 1px solid #dcd5c4;
  border-radius: 11px; background: #fffdf8; color: var(--home-jade);
  font-size: 11px; font-weight: 800; white-space: nowrap; cursor: pointer;
}
.woodiraq-home-page .account-button:hover { background: #eee8dc; border-color: var(--home-gold); }
.woodiraq-home-page .cart-button {
  flex: 0 0 auto; min-height: 44px; padding: 9px 12px; border: 1px solid #dcd5c4;
  border-radius: 11px; background: #fffdf8; color: var(--home-jade); font-weight: 800;
}
.woodiraq-home-page .cart-button b { background: var(--home-jade); color: #fffaf0; }
.woodiraq-home-page .hero {
  direction: ltr; display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr);
  align-items: stretch; gap: 0; max-width: 1320px; min-height: 365px;
  margin: 20px auto 38px; padding: 0; border: 1px solid #e6decd;
  border-radius: 24px; overflow: hidden; background: var(--home-cream);
  box-shadow: 0 18px 46px #173b320d;
}
.woodiraq-home-page .hero-media {
  grid-column: 1; grid-row: 1; display: flex; align-items: center; justify-content: center;
  min-width: 0; min-height: 0; height: auto; padding: 16px; overflow: hidden;
  background: var(--home-cream);
}
.woodiraq-home-page .hero-media img {
  position: relative; inset: auto; display: block; width: 100%; height: auto;
  max-height: 470px; object-fit: contain; object-position: center;
}
.woodiraq-home-page .hero-copy {
  grid-column: 2; grid-row: 1; direction: rtl; display: flex; flex-direction: column;
  align-items: flex-start; justify-content: center; min-width: 0;
  padding: 36px clamp(24px, 4vw, 58px); background: var(--home-cream); color: var(--home-jade);
}
.woodiraq-home-page .hero .eyebrow { color: #8a6a35; font-size: 13px; font-weight: 800; letter-spacing: 0; }
.woodiraq-home-page .hero h1 {
  max-width: 580px; margin: 14px 0 12px; color: var(--home-jade);
  font-size: clamp(29px, 3vw, 43px); font-weight: 800; letter-spacing: -.45px; line-height: 1.55;
}
.woodiraq-home-page .hero h1 em { color: var(--home-jade); font-style: normal; }
.woodiraq-home-page .hero p { max-width: 490px; margin: 0 0 23px; color: #5d6b60; font-size: 15px; line-height: 2.1; }
.woodiraq-home-page .hero .primary-link {
  align-self: flex-start; min-height: 46px; align-items: center; justify-content: center;
  padding: 13px 24px; border: 1px solid var(--home-jade); border-radius: 11px;
  background: var(--home-jade); color: #fffaf0; font-size: 13px; font-weight: 800;
  box-shadow: 0 8px 18px #173b3219;
}
.woodiraq-home-page .hero .primary-link:hover { background: var(--home-jade-hover); border-color: var(--home-jade-hover); }
@media (max-width: 1050px) {
  .woodiraq-home-page .site-header { gap: 8px; padding-inline: 18px; }
  .woodiraq-home-page .brand-logo { width: 54px; height: 54px; flex-basis: 54px; }
  .woodiraq-home-page .brand { gap: 7px; }
  .woodiraq-home-page .brand strong { font-size: 18px; }
  .woodiraq-home-page .header-favorites-link { gap: 4px; padding-inline: 5px; font-size: 11px; }
  .woodiraq-home-page .account-button { padding-inline: 9px; }
  .woodiraq-home-page .cart-button { padding-inline: 9px; }
  .woodiraq-home-page .hero { margin-inline: 16px; }
  .woodiraq-home-page .hero-copy { padding-inline: 25px; }
}
@media (max-width: 760px) {
  .woodiraq-home-page .site-header {
    display: grid; grid-template-columns: minmax(0, 1fr) auto auto auto;
    align-items: center; gap: 8px; padding: 12px 14px; min-height: 0;
  }
  .woodiraq-home-page .brand { grid-column: 1; grid-row: 1; min-width: 0; }
  .woodiraq-home-page .brand-logo { width: 42px; height: 42px; flex-basis: 42px; }
  .woodiraq-home-page .brand strong { font-size: 16px; }
  .woodiraq-home-page .brand small { display: none; }
  .woodiraq-home-page .search {
    grid-column: 1 / -1; grid-row: 2; width: 100%; min-width: 0; min-height: 44px; margin: 2px 0 0;
  }
  .woodiraq-home-page .search input { font-size: 12px; }
  .woodiraq-home-page .search button { padding: 9px 11px; }
  .woodiraq-home-page .header-favorites-link {
    grid-column: 2; grid-row: 1; min-width: 32px; min-height: 38px; padding: 0 3px; gap: 3px;
  }
  .woodiraq-home-page .account-button { grid-column: 3; grid-row: 1; min-height: 38px; padding-inline: 8px; font-size: 10px; }
  .woodiraq-home-page .cart-button { grid-column: 4; grid-row: 1; min-height: 38px; padding: 7px 8px; font-size: 10px; }
  .woodiraq-home-page .hero {
    grid-template-columns: minmax(0, 1fr); min-height: 0; margin: 16px 12px 28px; border-radius: 18px;
  }
  .woodiraq-home-page .hero-media {
    grid-column: 1; grid-row: 1; min-height: 0; height: auto; padding: 9px 10px 0;
  }
  .woodiraq-home-page .hero-media img { width: 100%; height: auto; max-height: 310px; object-fit: contain; }
  .woodiraq-home-page .hero-copy { grid-column: 1; grid-row: 2; padding: 19px 22px 26px; }
  .woodiraq-home-page .hero .eyebrow { font-size: 12px; }
  .woodiraq-home-page .hero h1 { margin: 9px 0; font-size: clamp(25px, 6vw, 34px); line-height: 1.65; }
  .woodiraq-home-page .hero p { margin-bottom: 17px; font-size: 13px; }
  .woodiraq-home-page .hero .primary-link { min-height: 43px; padding: 12px 19px; }
}
@media (max-width: 440px) {
  .woodiraq-home-page .announcement { padding: 8px 10px; font-size: 10px; }
  .woodiraq-home-page .site-header { padding-inline: 10px; gap: 6px; }
  .woodiraq-home-page .brand { gap: 5px; }
  .woodiraq-home-page .brand-logo { width: 37px; height: 37px; flex-basis: 37px; }
  .woodiraq-home-page .brand strong { font-size: 14px; }
  .woodiraq-home-page .header-favorites-link { min-width: 29px; gap: 2px; }
  .woodiraq-home-page .header-favorites-icon { font-size: 21px; }
  .woodiraq-home-page .header-favorites-count { min-width: 16px; height: 17px; font-size: 9px; }
  .woodiraq-home-page .header-favorites-label { display: none; }
  .woodiraq-home-page .account-button { padding-inline: 6px; font-size: 9px; }
  .woodiraq-home-page .cart-button { padding-inline: 6px; font-size: 9px; }
  .woodiraq-home-page .cart-button b { min-width: 17px; height: 18px; margin-right: 2px; }
}



/* Stage 2: existing homepage marketplace entry becomes a dedicated banner. */
.woodiraq-home-page .market-entry.content-section {
  margin-top: 28px;
}
.woodiraq-home-page .market-banner {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  direction: ltr;
  align-items: stretch;
  overflow: hidden;
  min-width: 0;
  margin: 0 0 22px;
  border: 1px solid #d4dfd7;
  border-radius: 19px;
  background: #173b32;
  box-shadow: 0 12px 30px #173b3214;
}
.woodiraq-home-page .market-banner-media {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  overflow: hidden;
  background: #eef2eb;
}
.woodiraq-home-page .market-banner-media img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: center;
}
.woodiraq-home-page .market-banner-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-width: 0;
  padding: clamp(22px, 3.3vw, 44px);
  direction: rtl;
  color: #fbf8ee;
  background: #173b32;
}
.woodiraq-home-page .market-banner-eyebrow {
  display: inline-flex;
  align-items: center;
  margin-bottom: 8px;
  color: #d5e5a2;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.8;
}
.woodiraq-home-page .market-banner-copy h2 {
  margin: 3px 0 10px;
  color: #fffdf5;
  font-size: clamp(21px, 2.2vw, 30px);
  font-weight: 800;
  line-height: 1.65;
  overflow-wrap: anywhere;
}
.woodiraq-home-page .market-banner-copy p {
  max-width: 450px;
  margin: 0 0 21px;
  color: #e2eadf;
  font-size: clamp(13px, 1.2vw, 15px);
  line-height: 2.05;
}
.woodiraq-home-page .market-banner-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 44px;
  padding: 10px 20px;
  border: 1px solid #d5e5a2;
  border-radius: 10px;
  background: #d5e5a2;
  color: #173b32;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  transition: background .18s, border-color .18s, transform .18s;
}
.woodiraq-home-page .market-banner-link:hover {
  background: #e3efbf;
  border-color: #e3efbf;
  transform: translateY(-1px);
}
.woodiraq-home-page .market-entry-grid { margin-top: 0; }
@media (max-width: 760px) {
  .woodiraq-home-page .market-banner {
    grid-template-columns: minmax(0, 1fr);
    border-radius: 15px;
    margin-bottom: 18px;
  }
  .woodiraq-home-page .market-banner-media { grid-column: 1; grid-row: 1; }
  .woodiraq-home-page .market-banner-media img { width: 100%; height: auto; max-height: 230px; }
  .woodiraq-home-page .market-banner-copy {
    grid-column: 1; grid-row: 2;
    padding: 20px 19px 22px;
  }
  .woodiraq-home-page .market-banner-copy h2 { font-size: 22px; margin: 2px 0 7px; }
  .woodiraq-home-page .market-banner-copy p { font-size: 13px; margin-bottom: 16px; }
  .woodiraq-home-page .market-banner-link { min-height: 42px; }
}


/* Stage 3: category cards use the Woodiraq cream-and-jade palette. */
.woodiraq-home-page #home-categories .home-category-card {
  border-color: #e4dac6;
  background: #fbf7ec;
}
.woodiraq-home-page #home-categories .home-category-card:hover {
  border-color: #b5c28b;
  box-shadow: 0 12px 25px #173b3212;
}
.woodiraq-home-page #home-categories .home-category-visual {
  height: 136px;
  background: #f0e8d7;
}
.woodiraq-home-page #home-categories .home-category-image {
  box-sizing: border-box;
  padding: 8px;
  object-fit: contain;
  background: #f0e8d7;
}
.woodiraq-home-page #home-categories .home-category-body {
  min-height: 88px;
  background: #fbf7ec;
}
.woodiraq-home-page #home-categories .home-category-name {
  color: #173b32;
  font-size: 13px;
}
.woodiraq-home-page #home-categories .home-category-count {
  color: #6e7d70;
}
.woodiraq-home-page #home-categories .home-category-icon {
  background: #e9e1ce;
  color: #173b32;
}
.woodiraq-home-page #home-categories .home-category-arrow {
  color: #245747;
}
.woodiraq-home-page #home-categories .category-showcase-placeholder {
  border-color: #e4dac6;
  background: #fbf7ec;
  color: #52675a;
}
@media (max-width: 760px) {
  .woodiraq-home-page #home-categories .home-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .woodiraq-home-page #home-categories .home-category-visual { height: 120px; }
}
@media (max-width: 440px) {
  .woodiraq-home-page #home-categories .home-category-visual { height: 102px; }
}


/* Keep a small number of genuine offers visually centered on wide screens. */
@media (min-width: 761px) {
  .woodiraq-home-page .discounted-products-section .product-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 300px));
    justify-content: center;
  }
}

/* Stage 4: genuine discounted products, scoped to this section only. */
.woodiraq-home-page .discounted-products-section {
  margin-top: 42px;
  margin-bottom: 48px;
}
.woodiraq-home-page .discounted-products-section .section-heading h2 { color: #173b32; }
.woodiraq-home-page .discounted-products-section .section-heading .eyebrow { color: #8a6a35; }
.woodiraq-home-page .discounted-products-section .product-card.discounted-product-card {
  border-color: #e4dac6; background: #fbf7ec; box-shadow: 0 8px 22px #173b320b;
}
.woodiraq-home-page .discounted-products-section .discounted-product-card:hover {
  border-color: #b5c28b; box-shadow: 0 14px 28px #173b3215;
}
.woodiraq-home-page .discounted-products-section .discounted-product-card .product-visual { background: #f0e8d7; }
.woodiraq-home-page .discounted-products-section .discounted-product-card .product-visual:before { background: #e9e1ce; }
.woodiraq-home-page .discounted-products-section .discounted-product-card .product-info { background: #fbf7ec; }
.woodiraq-home-page .discounted-products-section .discounted-product-card .product-category { color: #52675a; background: #fffdf6ef; }
.woodiraq-home-page .discounted-products-section .discounted-product-card .product-title-link {
  display: block; width: 100%; margin: 0 0 7px; padding: 0; border: 0;
  background: transparent; color: #173b32; text-align: right; font: inherit;
  font-size: 13px; font-weight: 800; line-height: 1.9; overflow-wrap: anywhere; cursor: pointer;
}
.woodiraq-home-page .discounted-products-section .discounted-price-details {
  display: grid; gap: 5px; min-width: 0; color: #173b32; line-height: 1.75;
}
.woodiraq-home-page .discounted-products-section .discount-price-row {
  display: flex; align-items: center; flex-wrap: wrap; gap: 5px 8px; min-width: 0;
}
.woodiraq-home-page .discounted-products-section .discount-price-label { color: #68776a; font-size: 10px; font-weight: 600; }
.woodiraq-home-page .discounted-products-section .discount-original-row .original-price {
  color: #7b8077; font-size: 11px; font-weight: 600; text-decoration-thickness: 1px;
}
.woodiraq-home-page .discounted-products-section .discount-current-row .current-price {
  color: #173b32; font-size: 14px; font-weight: 900;
}
.woodiraq-home-page .discounted-products-section .discount-percent-label {
  display: inline-flex; align-items: center; border-radius: 7px; padding: 3px 7px;
  background: #e2edb7; color: #173b32; font-size: 10px; font-weight: 900; white-space: nowrap;
}
.woodiraq-home-page .discounted-products-section .discount-badge { background: #d5e5a2; color: #173b32; font-weight: 900; }
.woodiraq-home-page .discounted-products-section .discounted-product-card .product-bottom {
  align-items: stretch;
  flex-direction: column;
}
.woodiraq-home-page .discounted-products-section .discounted-product-card .add-button { background: #173b32; color: #fffaf0; }
.woodiraq-home-page .discounted-products-section .discounted-product-card .add-button:hover:not(:disabled) { background: #245747; }
.woodiraq-home-page .discounted-products-section .discounted-product-card .add-button:disabled { background: #e9e5da; color: #858a7f; }
@media (max-width: 760px) {
  .woodiraq-home-page .discounted-products-section { margin-top: 30px; margin-bottom: 36px; padding-inline: 12px; }
  .woodiraq-home-page .discounted-products-section .discounted-product-card .product-visual { height: 120px; }
  .woodiraq-home-page .discounted-products-section .discounted-product-card .product-info { padding: 10px; }
  .woodiraq-home-page .discounted-products-section .discounted-price-details { gap: 6px; }
  .woodiraq-home-page .discounted-products-section .discount-price-row { gap: 4px 6px; }
  .woodiraq-home-page .discounted-products-section .discount-price-label { font-size: 9px; }
  .woodiraq-home-page .discounted-products-section .discount-current-row .current-price { font-size: 12px; }
  .woodiraq-home-page .discounted-products-section .discount-percent-label { font-size: 9px; padding: 3px 5px; }
}

/* At very narrow widths, stack quantity and CTA so the full label remains legible. */

@media (max-width: 380px) {
  .woodiraq-home-page .discounted-products-section .discounted-product-card .product-order-controls {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }
  .woodiraq-home-page .discounted-products-section .discounted-product-card .product-quantity {
    width: 100%;
    min-width: 0;
    flex: 0 0 auto;
  }
  .woodiraq-home-page .discounted-products-section .discounted-product-card .product-order-controls .add-button {
    width: 100%;
    flex: 0 0 auto;
  }
}


/* Stage 5: sales-ranked best sellers share the cream-and-jade product-card system. */
.woodiraq-home-page .best-sellers-section[hidden] { display: none !important; }
.woodiraq-home-page .footer-column [data-footer-best-sellers][hidden] { display: none !important; }
.woodiraq-home-page .best-sellers-section { margin-top: 38px; margin-bottom: 46px; }
.woodiraq-home-page .best-sellers-section .section-heading h2 { color: #173b32; }
.woodiraq-home-page .best-sellers-section .section-heading .eyebrow { color: #8a6a35; }
.woodiraq-home-page .best-sellers-section .best-seller-card {
  border-color: #e4dac6;
  background: #fbf7ec;
  box-shadow: 0 8px 22px #173b320b;
}
.woodiraq-home-page .best-sellers-section .best-seller-card:hover {
  border-color: #b5c28b;
  box-shadow: 0 14px 28px #173b3215;
}
.woodiraq-home-page .best-sellers-section .best-seller-card .product-visual { background: #f0e8d7; }
.woodiraq-home-page .best-sellers-section .best-seller-card .product-visual:before { background: #e9e1ce; }
.woodiraq-home-page .best-sellers-section .best-seller-card .product-info { background: #fbf7ec; }
.woodiraq-home-page .best-sellers-section .best-seller-card .product-category { color: #52675a; background: #fffdf6ef; }
.woodiraq-home-page .best-sellers-section .best-seller-card .product-title-link {
  display: block; width: 100%; margin: 0 0 7px; padding: 0; border: 0;
  background: transparent; color: #173b32; text-align: right; font: inherit;
  font-size: 13px; font-weight: 800; line-height: 1.9; overflow-wrap: anywhere; cursor: pointer;
}
.woodiraq-home-page .best-sellers-section .best-seller-card .product-bottom { align-items: stretch; flex-direction: column; }
.woodiraq-home-page .best-sellers-section .best-seller-price { display: grid; gap: 2px; }
.woodiraq-home-page .best-sellers-section .best-seller-price .current-price { color: #173b32; font-size: 14px; font-weight: 900; }
.woodiraq-home-page .best-sellers-section .best-seller-price small { font-size: 9px; font-weight: 400; color: #68776a; }
.woodiraq-home-page .best-sellers-section .sales-rank-badge { background: #d5e5a2; color: #173b32; font-weight: 900; }
.woodiraq-home-page .best-sellers-section .sales-count-badge { background: #fffdf6; color: #52675a; font-weight: 800; }
.woodiraq-home-page .best-sellers-section .best-seller-sales-count {
  display: inline-flex; align-items: center; border-radius: 8px; padding: 5px 8px;
  background: #e2edb7; color: #245747; font-size: 9px; font-weight: 800;
}
.woodiraq-home-page .best-sellers-section .best-seller-card .add-button { background: #173b32; color: #fffaf0; }
.woodiraq-home-page .best-sellers-section .best-seller-card .add-button:hover:not(:disabled) { background: #245747; }
.woodiraq-home-page .best-sellers-section .best-seller-card .add-button:disabled { background: #e9e5da; color: #858a7f; }
@media (min-width: 761px) {
  .woodiraq-home-page .best-sellers-section .product-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 300px));
    justify-content: center;
  }
}
@media (max-width: 760px) {
  .woodiraq-home-page .best-sellers-section { margin-top: 30px; margin-bottom: 36px; padding-inline: 12px; }
  .woodiraq-home-page .best-sellers-section .best-seller-card .product-visual { height: 120px; }
  .woodiraq-home-page .best-sellers-section .best-seller-card .product-info { padding: 10px; }
  .woodiraq-home-page .best-sellers-section .best-seller-price .current-price { font-size: 12px; }
}
@media (max-width: 380px) {
  .woodiraq-home-page .best-sellers-section .best-seller-card .product-order-controls {
    width: 100%; flex-direction: column; align-items: stretch;
  }
  .woodiraq-home-page .best-sellers-section .best-seller-card .product-quantity { width: 100%; min-width: 0; flex: 0 0 auto; }
  .woodiraq-home-page .best-sellers-section .best-seller-card .product-order-controls .add-button { width: 100%; flex: 0 0 auto; }
}


/* Most-viewed cards reuse the bestseller cream-and-jade card styling. */
.woodiraq-home-page .most-viewed-section .most-viewed-product-count {
  display: inline-flex; align-items: center; border-radius: 8px; padding: 5px 8px;
  background: #e2edb7; color: #245747; font-size: 9px; font-weight: 800;
}


/* Wholesale/cooperation banner — same cream-and-jade language as the product cards. */
.woodiraq-home-page .wholesale-banner {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  direction: ltr;
  align-items: stretch;
  width: calc(100% - 48px);
  max-width: 1200px;
  box-sizing: border-box;
  margin: 40px auto 44px;
  overflow: hidden;
  border: 1px solid #e4dac6;
  border-radius: 20px;
  background: #fbf7ec;
  box-shadow: 0 12px 30px #173b320d;
}
.woodiraq-home-page .wholesale-banner-media {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  overflow: hidden;
  background: #f0e8d7;
}
.woodiraq-home-page .wholesale-banner-media img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: center;
}
.woodiraq-home-page .wholesale-banner-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-width: 0;
  padding: clamp(22px, 3.4vw, 44px);
  direction: rtl;
  color: #173b32;
  background: #fbf7ec;
}
.woodiraq-home-page .wholesale-banner-eyebrow {
  display: inline-flex;
  align-items: center;
  margin-bottom: 8px;
  color: #8a6a35;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.9;
}
.woodiraq-home-page .wholesale-banner-copy h2 {
  margin: 3px 0 10px;
  color: #173b32;
  font-size: clamp(21px, 2.15vw, 30px);
  font-weight: 900;
  line-height: 1.75;
  overflow-wrap: anywhere;
}
.woodiraq-home-page .wholesale-banner-copy p {
  max-width: 450px;
  margin: 0 0 22px;
  color: #52675a;
  font-size: clamp(13px, 1.2vw, 15px);
  line-height: 2.05;
  overflow-wrap: anywhere;
}
.woodiraq-home-page .wholesale-banner-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 44px;
  max-width: 100%;
  box-sizing: border-box;
  padding: 10px 20px;
  border: 1px solid #173b32;
  border-radius: 10px;
  background: #173b32;
  color: #fffaf0;
  font-size: 12px;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: background .18s, border-color .18s, transform .18s;
}
.woodiraq-home-page .wholesale-banner-link:hover {
  background: #245747;
  border-color: #245747;
  transform: translateY(-1px);
}
.woodiraq-home-page .wholesale-banner-link:focus-visible {
  outline: 3px solid #c59b58;
  outline-offset: 3px;
}
@media (max-width: 760px) {
  .woodiraq-home-page .wholesale-banner {
    grid-template-columns: minmax(0, 1fr);
    width: calc(100% - 24px);
    margin: 30px auto 36px;
    border-radius: 15px;
  }
  .woodiraq-home-page .wholesale-banner-media { grid-column: 1; grid-row: 1; }
  .woodiraq-home-page .wholesale-banner-media img { width: 100%; height: auto; max-height: none; }
  .woodiraq-home-page .wholesale-banner-copy {
    grid-column: 1; grid-row: 2;
    padding: 20px 19px 22px;
  }
  .woodiraq-home-page .wholesale-banner-copy h2 { font-size: 22px; margin: 2px 0 7px; line-height: 1.8; }
  .woodiraq-home-page .wholesale-banner-copy p { font-size: 13px; margin-bottom: 16px; }
  .woodiraq-home-page .wholesale-banner-link { min-height: 44px; white-space: normal; }
}
@media (max-width: 380px) {
  .woodiraq-home-page .wholesale-banner-copy { padding-inline: 15px; }
  .woodiraq-home-page .wholesale-banner-link { padding-inline: 14px; }
}


/* Woodiraq homepage footer refresh: keep all presentation in the external stylesheet
   so the page Content Security Policy can apply it. */
body.woodiraq-home-page .site-footer {
  margin-top: 48px;
  padding: 0;
  border-top: 4px solid #245747;
  background: #fbf7ec;
  color: #173b32;
  display: block;
}
body.woodiraq-home-page .footer-shell {
  color: #173b32;
}
body.woodiraq-home-page .footer-about .footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #173b32;
  font-size: 21px;
  font-weight: 900;
  text-decoration: none;
}
body.woodiraq-home-page .footer-brand img {
  display: block;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  padding: 3px;
  box-sizing: border-box;
  object-fit: contain;
  border: 1px solid #e4dac6;
  border-radius: 12px;
  background: #fffdf6;
}
body.woodiraq-home-page .footer-about p {
  margin: 14px 0 7px;
  color: #8a6a35;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.9;
}
body.woodiraq-home-page .footer-about small,
body.woodiraq-home-page .footer-column small {
  display: block;
  color: #52675a;
  font-size: 11px;
  line-height: 2.1;
  overflow-wrap: anywhere;
}
body.woodiraq-home-page .footer-column h3 {
  margin: 3px 0 6px;
  color: #173b32;
  font-size: 13px;
  font-weight: 900;
}
body.woodiraq-home-page .footer-column a {
  display: inline-block;
  max-width: 100%;
  padding: 3px 0;
  color: #245747;
  font-size: 12px;
  line-height: 1.9;
  text-decoration: none;
  overflow-wrap: anywhere;
}
body.woodiraq-home-page .footer-column a:hover,
body.woodiraq-home-page .footer-column a:focus-visible {
  color: #8a6a35;
  text-decoration: underline;
  text-underline-offset: 4px;
}
body.woodiraq-home-page .footer-column .footer-contact-email {
  direction: ltr;
  unicode-bidi: plaintext;
  overflow-wrap: anywhere;
}
body.woodiraq-home-page .footer-bottom {
  border-top: 1px solid #d9dfd1;
  color: #52675a;
  font-size: 11px;
  line-height: 1.9;
}
body.woodiraq-home-page .footer-bottom .footer-bottom-brand {
  color: #173b32;
  font-weight: 800;
}
body.woodiraq-home-page .footer-bottom small {
  max-width: 700px;
  color: #52675a;
  font-size: 10px;
  line-height: 2;
  overflow-wrap: anywhere;
}
@media (max-width: 760px) {
  body.woodiraq-home-page .footer-shell {
    gap: 25px 18px;
  }
  body.woodiraq-home-page .footer-about .footer-brand {
    font-size: 20px;
  }
  body.woodiraq-home-page .footer-bottom {
    gap: 8px;
  }
}
@media (max-width: 440px) {
  body.woodiraq-home-page .footer-shell {
    gap: 23px;
  }
  body.woodiraq-home-page .footer-bottom {
    padding: 15px 20px;
  }
}

/* Shared user feedback form for the Woodiraq storefront. */
.feedback-section{max-width:1200px;margin:52px auto 62px;padding:0 20px;scroll-margin-top:90px}.feedback-panel{background:#fff;border:1px solid var(--line);border-radius:22px;padding:clamp(20px,3.5vw,36px)}.feedback-panel .section-heading{margin-bottom:18px}.feedback-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 16px}.feedback-field{min-width:0}.feedback-field-wide{grid-column:1/-1}.feedback-form label{display:block;margin:0 0 7px;font-size:12px;font-weight:700;color:var(--green)}.feedback-form input,.feedback-form select,.feedback-form textarea{width:100%;min-width:0;margin:0;padding:12px 13px;border:1px solid var(--line);border-radius:11px;background:#fff;color:inherit;font:inherit;font-size:13px;line-height:1.8}.feedback-form textarea{resize:vertical}.feedback-submit-row{display:flex;align-items:flex-start;gap:14px;flex-wrap:wrap;margin-top:5px}.feedback-form-status{flex:1 1 260px;min-width:0;margin:0;padding:8px 10px;border-radius:9px;color:var(--muted);font-size:11px;line-height:1.9;overflow-wrap:anywhere}.feedback-form-status.success{background:#edf6eb;color:#245b4b}.feedback-form-status.error{background:#f8ece7;color:#934a39}.feedback-form button:disabled{opacity:.55;cursor:not-allowed}@media(max-width:640px){.feedback-section{margin:38px auto 45px;padding:0 15px}.feedback-panel{padding:19px 15px}.feedback-form{grid-template-columns:1fr}.feedback-field-wide{grid-column:auto}.feedback-submit-row{display:block}.feedback-submit-row button{width:100%;justify-content:center}.feedback-form-status{display:block;margin-top:9px}}


/* Customer authentication and saved addresses */
.account-dialog {
  width: min(640px, calc(100vw - 24px));
  max-width: 640px;
  max-height: min(88vh, 900px);
  padding: 0;
  border: 1px solid #dfe4df;
  border-radius: 22px;
  color: #192a3d;
  background: #f8faf8;
  box-shadow: 0 24px 80px rgba(10, 32, 24, .28);
}
.account-dialog::backdrop { background: rgba(9, 28, 22, .58); backdrop-filter: blur(3px); }
.account-dialog-header { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 17px 20px; background: #fff; border-bottom: 1px solid #e3e7e2; }
.account-dialog-header h2 { margin: 3px 0 0; font-size: 19px; }
.account-dialog-kicker { color: #a57c37; font-size: 11px; font-weight: 800; }
.account-panel { max-height: calc(88vh - 76px); overflow: auto; padding: 18px; }
.account-form { display: grid; gap: 12px; }
.account-form-heading h2 { margin: 0 0 6px; color: #173b32; font-size: 22px; }
.account-form-heading p, .account-note { margin: 0; color: #66736b; font-size: 13px; line-height: 1.9; }
.account-form label { display: grid; gap: 6px; color: #173b32; font-size: 13px; font-weight: 700; }
.account-form input, .account-form textarea { box-sizing: border-box; width: 100%; min-width: 0; border: 1px solid #d8ded8; border-radius: 12px; padding: 12px 13px; background: #fff; color: #202923; font: inherit; font-size: 14px; outline: none; }
.account-form select,
.checkout-fields select {
  -webkit-appearance: none;
  appearance: none;
  box-sizing: border-box;
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 48px;
  margin: 0;
  padding: 12px 13px 12px 42px;
  border: 1px solid #d8ded8;
  border-radius: 12px;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23173b32' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 14px center;
  color: #202923;
  font: inherit;
  font-size: 14px;
  line-height: 1.5;
  text-align: right;
  cursor: pointer;
  outline: none;
}
.account-form select:focus,
.checkout-fields select:focus {
  border-color: #c59b58;
  box-shadow: 0 0 0 3px rgba(197, 155, 88, .15);
}
.account-form select:disabled,
.checkout-fields select:disabled {
  background-color: #eef1ee;
  color: #89939a;
  cursor: not-allowed;
  opacity: 1;
}
.account-form select option,
.checkout-fields select option {
  padding: 8px 10px;
  background: #fff;
  color: #202923;
  font: inherit;
}
.checkout-fields select {
  margin: 0 0 12px;
}

.account-form input:focus, .account-form textarea:focus { border-color: #c59b58; box-shadow: 0 0 0 3px rgba(197, 155, 88, .15); }
.account-form input[readonly] { background: #eef1ee; direction: ltr; text-align: left; }
.account-two-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.account-primary, .account-secondary, .account-actions button { border: 1px solid #d9dfd8; border-radius: 12px; padding: 11px 14px; background: #fff; color: #173b32; font: inherit; font-size: 13px; font-weight: 800; cursor: pointer; }
.account-primary { border-color: #c59b58; background: #c59b58; color: #173b32; }
.account-primary:disabled, .account-secondary:disabled, .account-actions button:disabled { opacity: .55; cursor: wait; }
.account-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.account-actions button { flex: 1 1 130px; }
.account-message { margin: 0; border-radius: 12px; padding: 10px 12px; font-size: 13px; line-height: 1.8; }
.account-message[hidden] { display: none; }
.account-message.error { color: #8f2929; background: #fff0ee; border: 1px solid #f0d0cb; }
.account-message.success { color: #1e5d42; background: #edf8f0; border: 1px solid #cbe8d3; }
.account-note { padding: 11px 12px; border: 1px solid #e1e5de; border-radius: 12px; background: #fff; }
.account-loading { width: 34px; height: 34px; margin: 20px auto; border: 3px solid #e1e5de; border-top-color: #c59b58; border-radius: 50%; animation: account-spin .8s linear infinite; }
@keyframes account-spin { to { transform: rotate(360deg); } }
.account-account-card { display: grid; gap: 8px; padding: 15px; border-radius: 14px; border: 1px solid #e1e5de; background: #fff; color: #66736b; font-size: 13px; }
.account-account-card strong { color: #173b32; font-size: 16px; direction: ltr; text-align: right; }
.account-address-list { display: grid; gap: 10px; }
.account-address-card { display: grid; gap: 8px; padding: 13px; border: 1px solid #e1e5de; border-radius: 14px; background: #fff; }
.account-address-card strong { color: #173b32; font-size: 14px; }
.account-address-card p { margin: 0; color: #66736b; font-size: 13px; line-height: 1.8; overflow-wrap: anywhere; }
.account-checkbox { display: flex !important; grid-template-columns: auto 1fr !important; align-items: center; }
.account-checkbox input { width: 18px; height: 18px; }
@media (max-width: 520px) {
  .account-panel { padding: 13px; }
  .account-dialog-header { padding: 13px; }
  .account-two-cols { grid-template-columns: 1fr; }
}

.phone-otp-tools[hidden] { display: none !important; }

/* Stage 28.4: enabled support options in the existing footer. */
.footer-support-channels:not([hidden]){display:flex;flex-wrap:wrap;gap:8px;margin:10px 0}
.footer-support-channels a{padding:7px 12px;border-radius:9px;border:1px solid #d5ddd6;color:inherit;text-decoration:none}
.footer-support-channels a:hover,.footer-support-channels a:focus-visible{border-color:#2d6b58;text-decoration:underline}

/* WOODIRAQ_CMS_BANNER_FIX_V12 */
#cms-private-preview-banner{display:none!important;visibility:hidden!important;height:0!important;min-height:0!important;padding:0!important;margin:0!important;border:0!important;overflow:hidden!important;}

/* WOODIRAQ_FOOTER_LAYOUT_V2 â€” balanced, responsive storefront footer */
body.woodiraq-home-page .site-footer {
  margin-top: 42px;
  border-top: 4px solid #245747;
  background: #fbf7ec;
  color: #173b32;
}
body.woodiraq-home-page .footer-shell {
  width: 100%;
  max-width: 1240px;
  box-sizing: border-box;
  margin: 0 auto;
  padding: 34px clamp(20px, 3.2vw, 40px) 28px;
  display: grid;
  grid-template-columns: minmax(220px, 1.22fr) minmax(140px, .82fr) minmax(175px, .96fr) minmax(270px, 1.28fr);
  gap: clamp(20px, 2.7vw, 38px);
  align-items: start;
}
body.woodiraq-home-page .footer-about,
body.woodiraq-home-page .footer-column {
  min-width: 0;
}
body.woodiraq-home-page .footer-about {
  max-width: 320px;
}
body.woodiraq-home-page .footer-about .footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: #173b32;
  text-decoration: none;
}
body.woodiraq-home-page .footer-about .footer-brand img {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  padding: 3px;
  box-sizing: border-box;
  object-fit: contain;
  border: 1px solid #e4dac6;
  border-radius: 12px;
  background: #fffdf6;
}
body.woodiraq-home-page .footer-about p {
  margin: 12px 0 6px;
  color: #8a6a35;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.9;
}
body.woodiraq-home-page .footer-about small,
body.woodiraq-home-page .footer-column small {
  display: block;
  color: #52675a;
  font-size: 11px;
  line-height: 2;
  overflow-wrap: anywhere;
}
body.woodiraq-home-page .footer-column {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 7px;
}
body.woodiraq-home-page .footer-column h3 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin: 2px 0 7px;
  color: #173b32;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.8;
}
body.woodiraq-home-page .footer-column h3::after {
  content: "";
  display: block;
  width: 30px;
  height: 2px;
  border-radius: 2px;
  background: #b18a48;
}
body.woodiraq-home-page .footer-column a {
  display: inline-block;
  width: fit-content;
  max-width: 100%;
  padding: 2px 0;
  border-bottom: 1px solid transparent;
  color: #245747;
  font-size: 11px;
  line-height: 1.85;
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: color .16s ease, border-color .16s ease;
}
body.woodiraq-home-page .footer-column a:hover,
body.woodiraq-home-page .footer-column a:focus-visible {
  color: #8a6a35;
  border-bottom-color: #d9c9a9;
  outline-offset: 3px;
}
body.woodiraq-home-page .footer-column .footer-contact-email {
  direction: ltr;
  unicode-bidi: plaintext;
  overflow-wrap: anywhere;
}
body.woodiraq-home-page .footer-column[aria-label="ØªÙ…Ø§Ø³ Ùˆ Ù‚ÙˆØ§Ù†ÛŒÙ†"] {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: start;
  align-items: start;
  column-gap: 15px;
  row-gap: 5px;
}
body.woodiraq-home-page .footer-column[aria-label="ØªÙ…Ø§Ø³ Ùˆ Ù‚ÙˆØ§Ù†ÛŒÙ†"] > h3,
body.woodiraq-home-page .footer-column[aria-label="ØªÙ…Ø§Ø³ Ùˆ Ù‚ÙˆØ§Ù†ÛŒÙ†"] > .footer-contact-email,
body.woodiraq-home-page .footer-column[aria-label="ØªÙ…Ø§Ø³ Ùˆ Ù‚ÙˆØ§Ù†ÛŒÙ†"] > #footer-support-channels,
body.woodiraq-home-page .footer-column[aria-label="ØªÙ…Ø§Ø³ Ùˆ Ù‚ÙˆØ§Ù†ÛŒÙ†"] > small {
  grid-column: 1 / -1;
}
body.woodiraq-home-page .footer-column[aria-label="ØªÙ…Ø§Ø³ Ùˆ Ù‚ÙˆØ§Ù†ÛŒÙ†"] > .footer-contact-email {
  margin-bottom: 2px;
}
body.woodiraq-home-page .footer-column[aria-label="ØªÙ…Ø§Ø³ Ùˆ Ù‚ÙˆØ§Ù†ÛŒÙ†"] > small {
  margin-top: 5px;
}
body.woodiraq-home-page .footer-support-channels:not([hidden]) {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 6px 0 2px;
}
body.woodiraq-home-page .footer-support-channels a {
  width: auto;
  padding: 5px 9px;
  border: 1px solid #d9dfd1;
  border-radius: 8px;
  background: #fffdf6;
}
body.woodiraq-home-page .footer-bottom {
  width: 100%;
  max-width: none;
  box-sizing: border-box;
  margin: 0;
  padding: 15px max(20px, calc((100% - 1160px) / 2)) 17px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid #e4dac6;
  background: #f4efdf;
  color: #52675a;
  font-size: 10px;
  line-height: 1.9;
}
body.woodiraq-home-page .footer-bottom .footer-bottom-brand {
  flex: 0 0 auto;
  color: #173b32;
  font-weight: 900;
}
body.woodiraq-home-page .footer-bottom small {
  max-width: 660px;
  color: #52675a;
  font-size: 10px;
  line-height: 1.9;
  overflow-wrap: anywhere;
}
@media (max-width: 980px) {
  body.woodiraq-home-page .footer-shell {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 26px;
    padding: 30px 24px 26px;
  }
  body.woodiraq-home-page .footer-about {
    max-width: none;
  }
  body.woodiraq-home-page .footer-bottom {
    padding-inline: 24px;
  }
}
@media (max-width: 520px) {
  body.woodiraq-home-page .footer-shell {
    grid-template-columns: minmax(0, 1fr);
    gap: 23px;
    padding: 27px 19px 23px;
  }
  body.woodiraq-home-page .footer-about {
    max-width: none;
  }
  body.woodiraq-home-page .footer-column[aria-label="ØªÙ…Ø§Ø³ Ùˆ Ù‚ÙˆØ§Ù†ÛŒÙ†"] {
    column-gap: 14px;
  }
  body.woodiraq-home-page .footer-bottom {
    padding: 14px 19px 16px;
    align-items: flex-start;
    gap: 7px;
  }
}
/* END WOODIRAQ_FOOTER_LAYOUT_V2 */


/* Discount and inventory presentation */
.price .original-price,
.product-detail-price .original-price,
.cart-item-price .original-price {
  color: rgba(190, 78, 78, .76);
  font-size: .88em;
  font-weight: 500;
  text-decoration: line-through;
  text-decoration-thickness: 1px;
}
.price .current-price,
.product-detail-price .current-price,
.cart-item-price .current-price {
  color: var(--green, #173b32);
  font-weight: 900;
}
.price .discount-percent-label {
  display: inline-flex;
  width: max-content;
  margin-top: 3px;
  padding: 3px 7px;
  border-radius: 6px;
  background: #f6ece7;
  color: #984d43;
  font-size: 9px;
  font-weight: 800;
}
.price-stock-label {
  display: inline-flex;
  margin-top: 5px;
  width: max-content;
}
.product-detail-price { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.cart-item-price { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; }
.cart-item-price .cart-item-unit { color: var(--muted); font-size: 10px; }
.sheet-sales-price { min-width: 0; }


/* Responsive section spacing controlled from the CMS */
@media (max-width: 700px) {
  [data-cms-mobile-padding="true"] { padding: var(--cms-mobile-padding) !important; }
  [data-cms-mobile-gap="true"] { gap: var(--cms-mobile-gap) !important; }
}

/* WOODIRAQ ENAMAD FOOTER AND SHIPPING CHECKOUT SUMMARY */
.enamad-footer-badge{display:flex;align-items:center;justify-content:center;width:100%;padding:18px 16px 22px}
.enamad-footer-badge[hidden]{display:none!important}
.enamad-footer-badge a{display:inline-flex;align-items:center;justify-content:center;max-width:180px;min-height:90px;padding:8px;border:1px solid #d7e4dc;border-radius:12px;background:#fff}
.enamad-footer-badge img{display:block;width:100px;height:80px;object-fit:contain}
.checkout-shipping-summary{margin:7px 0 0;color:#52675e;font-size:12px;line-height:1.9}

/* Voluntary marketing enrollment and alternate delivery address */
.marketing-sms{
  display:flex;align-items:center;justify-content:space-between;gap:24px;
  margin:26px auto;padding:clamp(18px,3vw,30px);
  border:1px solid rgba(27,52,72,.14);border-radius:18px;
  background:linear-gradient(120deg,#f7fafc 0%,#fff 72%);
  box-shadow:0 10px 28px rgba(15,35,52,.055)
}
.marketing-sms-copy{max-width:760px;min-width:0}
.marketing-sms-copy h2{margin:6px 0 8px;color:var(--navy,#0f2334);font-size:clamp(19px,2.3vw,26px);line-height:1.55}
.marketing-sms-copy p{margin:0;color:#637381;font-size:13px;line-height:2}
.marketing-sms-button{
  flex:0 0 auto;min-height:46px;padding:11px 18px;border:0;border-radius:11px;
  background:var(--navy,#0f2334);color:#fff;font:inherit;font-size:13px;font-weight:800;
  cursor:pointer;transition:transform .18s ease,box-shadow .18s ease
}
.marketing-sms-button:hover{transform:translateY(-1px);box-shadow:0 8px 18px rgba(15,35,52,.16)}
.alternate-delivery-toggle{padding:10px 0 4px}
.alternate-delivery-fields{
  margin:4px 0 14px;padding:16px;border:1px solid rgba(27,52,72,.16);
  border-radius:13px;background:#f8fafc
}
.alternate-delivery-fields h4{margin:0 0 12px;color:var(--navy,#0f2334);font-size:14px}
.alternate-delivery-fields .checkout-fields{padding:0}
.alternate-delivery-fields[hidden]{display:none!important}
.checkout-fields textarea::placeholder,.account-form textarea::placeholder{color:#9aa5ae;opacity:1}
.checkout-fields input[pattern],.account-form input[pattern]{letter-spacing:.03em}
@media(max-width:700px){
  .marketing-sms{align-items:stretch;flex-direction:column;gap:14px;margin:18px 12px;padding:17px}
  .marketing-sms-button{width:100%}
  .alternate-delivery-fields{padding:12px}
}


/* Compact cart confirmation popover anchored to the exact add-button position. */
.cart-added-dialog[hidden]{display:none!important}
.cart-added-dialog.is-visible{
  display:block;position:fixed;inset:auto;margin:0;width:min(320px,calc(100vw - 24px));max-width:none;
  padding:0;overflow:visible;border:1px solid #dce6dc;border-radius:16px;
  background:#fff;color:#202923;box-shadow:0 16px 42px rgba(17,43,32,.20);
  animation:cart-added-pop .16s ease-out;z-index:2147483000
}
.cart-added-dialog::before{
  content:"";position:absolute;top:-7px;right:var(--cart-added-arrow-right,28px);
  width:13px;height:13px;transform:rotate(45deg);background:#fff;
  border-top:1px solid #dce6dc;border-left:1px solid #dce6dc
}
.cart-added-content{position:relative;padding:13px 14px 12px;text-align:right}
.cart-added-check{
  display:inline-grid;place-items:center;width:25px;height:25px;margin:0 0 0 7px;
  vertical-align:middle;border-radius:8px;background:#e8f1e7;color:#245b4b;
  font-size:15px;font-weight:900
}
.cart-added-content h2{display:inline;margin:0;color:#245747;font-size:13px;font-weight:900;line-height:1.8}
.cart-added-content p{margin:7px 0 0;color:#65736a;font-size:10px;line-height:1.8}
.cart-added-content p strong{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#202923;font-size:11px}
.cart-added-content p span{display:inline-block;margin-left:4px;color:#8a6a35;font-size:10px;font-weight:800}
.cart-added-actions{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:11px}
.cart-added-actions button{
  min-height:34px;border-radius:9px;padding:7px 9px;font:inherit;font-size:10px;
  font-weight:800;white-space:nowrap;cursor:pointer;transition:background .15s ease,transform .15s ease
}
.cart-added-actions button:active{transform:scale(.98)}
.cart-added-continue{border:1px solid #dce5dc;background:#fff;color:#245747}
.cart-added-continue:hover{background:#f3f7f2}
.cart-added-view{border:1px solid #245747;background:#245747;color:#fff}
.cart-added-view:hover{background:#1b4438}
@keyframes cart-added-pop{from{opacity:0;transform:translateY(-5px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}
@media(max-width:600px){
  .cart-added-dialog.is-visible{width:min(300px,calc(100vw - 24px));border-radius:14px}
  .cart-added-content{padding:11px 12px}
  .cart-added-actions{gap:6px;margin-top:9px}
  .cart-added-actions button{min-height:33px;padding:6px 7px;font-size:9px}
}
@media(prefers-reduced-motion:reduce){.cart-added-dialog.is-visible{animation:none}}

/* Inline data validation state: neutral before entry, red on invalid, green when valid. */
input[data-validation-state="valid"] { border-color:#2f8a59 !important; box-shadow:0 0 0 2px rgba(47,138,89,.10); }
input[data-validation-state="invalid"] { border-color:#c84747 !important; box-shadow:0 0 0 2px rgba(200,71,71,.10); }
.field-validation-feedback { display:block; margin:2px 0 5px; min-height:1.2em; font-size:11px; line-height:1.7; font-weight:600; }
.field-validation-feedback[hidden] { display:none !important; }
.field-validation-feedback[data-state="valid"] { color:#267449; }
.field-validation-feedback[data-state="valid"]::before { content:"✓ "; }
.field-validation-feedback[data-state="invalid"] { color:#b63232; }
.field-validation-feedback[data-state="invalid"]::before { content:"✕ "; }

/* Shahkar registration block: compact, readable, and responsive in the account dialog. */
.auth-shahkar-panel{display:grid;gap:10px;margin:8px 0 14px;padding:14px;border:1px solid #d8ded8;border-radius:14px;background:#f8faf8}
.auth-shahkar-panel>strong{font-size:14px;color:#1e4437}
.auth-shahkar-guide{margin:0;color:#4c5b51;font-size:12px;line-height:2}
.auth-shahkar-status{margin:0;padding:9px 11px;border-radius:9px;background:#f0f1ed;color:#586158;font-size:12px;line-height:1.9}
.auth-shahkar-status[data-state="verified"]{background:#eaf5ee;color:#23633d}
.auth-shahkar-status[data-state="not_matched"]{background:#fff0ee;color:#923e35}
.auth-shahkar-status[data-state="service_error"],.auth-shahkar-status[data-state="service_disabled"]{background:#fff7e8;color:#795b23}
.auth-shahkar-status[data-state="pending_review"],.auth-shahkar-status[data-state="checking"]{background:#fff7e8;color:#795b23}
.auth-shahkar-panel button{width:100%;min-height:44px}
.auth-shahkar-panel input[type="checkbox"]{accent-color:#245b4b}
@media(max-width:600px){
  .auth-shahkar-panel{padding:11px;border-radius:12px}
  .auth-shahkar-panel button{width:100%;white-space:normal;line-height:1.7}
  .account-two-cols{grid-template-columns:1fr}
}
