@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@400;500;600;700;800;900&display=swap');:root{--ink:#28241f;--gold:#aa7845;--cream:#f9f6f0;--line:#e9e0d4}*{box-sizing:border-box}body{margin:0;background:#fffdf9;color:var(--ink);font-family:Vazirmatn,Tahoma,sans-serif}a{text-decoration:none;color:inherit}.top{background:#34312b;color:#f7e9d3;text-align:center;padding:8px;font-size:12px}header{height:86px;display:flex;align-items:center;justify-content:space-between;gap:25px;padding:0 max(5%,calc((100% - 1260px)/2));border-bottom:1px solid var(--line);background:white;position:sticky;top:0;z-index:10}.logo{font-weight:900;font-size:29px;color:#986637;white-space:nowrap}.logo small{display:block;color:#877a6a;font-size:10px;letter-spacing:2px}nav{display:flex;gap:30px;font-size:14px;font-weight:600}nav a:hover{color:var(--gold)}.btn,button{display:inline-block;background:#a77643;border:0;border-radius:13px;color:white;padding:13px 23px;font:600 14px Vazirmatn,Tahoma;cursor:pointer}.btn:hover,button:hover{background:#80572f}.outline{background:white;color:#8d6036;border:1px solid #dcc9af}.outline:hover{color:white}main{max-width:1260px;margin:auto;padding:0 24px 70px;min-height:65vh}.hero{margin-top:26px;background:linear-gradient(115deg,#f6eee2,#e9d6bc);border-radius:26px;min-height:450px;display:grid;grid-template-columns:1fr 1fr;align-items:center;overflow:hidden;padding:55px 7%}.hero h1{font-size:clamp(35px,4vw,60px);line-height:1.55;margin:10px 0}.hero p{line-height:2.3;color:#756c61;max-width:440px}.eyebrow{font-size:12px;color:#a47646;font-weight:800;letter-spacing:2px}.hero-art{height:320px;max-width:400px;width:100%;margin:auto;border-radius:48% 48% 24% 24%;background:radial-gradient(circle at 50% 40%,#f5e5ca,#c29a6a 75%);box-shadow:22px 22px 0 #d4b893;display:flex;align-items:center;justify-content:center;flex-direction:column;color:#fff6e8}.hero-art span{font-size:130px;line-height:1.1}.hero-art strong{font-size:25px;letter-spacing:6px}.hero-art small{font-size:10px;letter-spacing:4px}.features{display:flex;justify-content:space-around;flex-wrap:wrap;gap:15px;padding:29px 5px;border-bottom:1px solid var(--line);color:#75604b;font-size:13px}.catalog{padding-top:40px}.section-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:24px}.section-head h2{margin:5px 0;font-size:26px}.grid{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}.product{background:#fff;border:1px solid #f0e9df;border-radius:18px;overflow:hidden;padding-bottom:16px;transition:transform .2s,box-shadow .2s}.product:hover{transform:translateY(-4px);box-shadow:0 15px 35px #39220d10}.product .photo{height:240px;background:#f3eee7;display:flex;align-items:center;justify-content:center;font-size:95px;color:#b99a78;overflow:hidden}.photo img{width:100%;height:100%;object-fit:cover}.product small,.product h3,.product-bottom{margin-right:16px;margin-left:16px}.product small{display:block;color:#ad865d;margin-top:16px}.product h3{font-size:15px;min-height:42px}.product-bottom{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}.product-bottom b{font-size:13px}.product-bottom button{padding:9px 12px;font-size:12px}.empty{padding:70px;text-align:center;background:var(--cream);border-radius:20px;color:#827260}.panel{background:#fff;border:1px solid var(--line);padding:35px;border-radius:22px;margin:45px auto;max-width:1000px}.narrow{max-width:480px}.panel p{color:#786f65;line-height:2}input,textarea{font:inherit;border:1px solid #e3d9cc;background:#fffdfa;border-radius:12px;padding:13px;width:100%;outline:none;margin:8px 0 16px}input:focus,textarea:focus{border-color:#aa7845}label{display:block;font-weight:600;font-size:13px}.notice{background:#f4e8d5;border:1px solid #e2cda8;padding:15px 20px;margin-top:20px;border-radius:12px}.editor{display:grid;grid-template-columns:1fr 1fr;gap:12px 25px}.wide{grid-column:1/-1}.line{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:16px 0;border-bottom:1px solid var(--line)}.inline{display:inline}.inline button{background:#a34e41;padding:6px 10px}.stats{display:flex;gap:20px}.stats div{background:#f8f1e6;border-radius:15px;padding:20px 35px;display:flex;gap:15px;align-items:center}.stats b{font-size:30px}.thumb img{width:85px;height:85px;object-fit:cover;border-radius:10px}.thumb input{width:auto}.detail{display:grid;grid-template-columns:1fr 1fr;gap:50px;margin-top:55px}.gallery{display:grid;grid-template-columns:1fr 1fr;gap:12px}.gallery img{width:100%;border-radius:15px}.detail p{line-height:2.4;color:#6d645b}footer{background:#302b25;color:#e9dcca;display:flex;justify-content:space-around;gap:30px;padding:55px 5%;flex-wrap:wrap}footer p{color:#c7b59f}.trust{display:flex;align-items:center;gap:16px}.trust img{width:75px;max-height:90px;object-fit:contain;background:white;border-radius:7px}[hidden]{display:none!important}button:disabled{opacity:.5;cursor:not-allowed}@media(max-width:850px){header{height:auto;min-height:75px;padding:15px 20px;flex-wrap:wrap}nav{order:3;width:100%;justify-content:space-around;gap:10px}.hero{grid-template-columns:1fr;padding:35px 7%}.hero-art{margin-top:35px;height:250px}.grid{grid-template-columns:repeat(2,1fr)}.detail{grid-template-columns:1fr}.features{font-size:12px}}@media(max-width:530px){main{padding:0 14px 50px}.logo{font-size:23px}.hero h1{font-size:32px}.hero-art{height:200px}.hero-art span{font-size:85px}.grid{gap:10px}.product .photo{height:160px}.product h3{font-size:13px}.product-bottom{display:block}.product-bottom button{margin-top:8px}.section-head{display:block}.editor{grid-template-columns:1fr}.panel{padding:20px}.features{justify-content:center}.line{font-size:12px}}


/* Marketplace */
:root{--ink:#262626;--gold:#ad723e;--line:#ececec;--cream:#faf8f5}body{background:#fff;color:var(--ink)}.top{background:#a56b3c;color:#fff;padding:6px 12px;font-size:11px}.store-header{position:sticky;top:0;z-index:30;display:block;height:auto;padding:0 4%;background:#fff;box-shadow:0 2px 9px #0000000c;border-bottom:1px solid #eee}.header-main{min-height:76px;display:flex;align-items:center;gap:25px;justify-content:space-between}.logo{font-size:28px;color:#a56b3c;flex-shrink:0}.logo small{font-size:10px;letter-spacing:0;color:#777}.header-search{display:flex;align-items:center;background:#f2f3f5;border-radius:9px;flex:1;max-width:700px;height:46px;margin:0}.header-search input{background:transparent;border:0;box-shadow:none;margin:0;padding:10px 16px;height:100%;font-size:13px}.header-search button{order:-1;background:transparent;color:#888;font-size:29px;padding:0 17px;height:100%;line-height:1}.header-actions{display:flex;gap:12px;align-items:center;white-space:nowrap}.account-link{border:1px solid #ddd;border-radius:9px;padding:11px 14px;font-size:12px;font-weight:700}.cart-link{border-right:1px solid #ddd;padding-right:15px;font-size:13px;font-weight:700}.category-nav{display:flex;align-items:center;gap:30px;min-height:46px;font-size:12px;font-weight:600;overflow-x:auto;white-space:nowrap}.category-nav a{padding:13px 0;color:#656565}.category-nav a:hover{color:#a56b3c}.category-nav .all-cat{color:#222;font-weight:800}.category-nav .admin-nav{margin-right:auto;color:#a56b3c}main{max-width:1420px;padding:0 22px 70px}.hero.hero-banner{height:clamp(145px,18vw,275px);width:100vw;max-width:none;margin:0 0 16px;left:50%;transform:translateX(-50%);border-radius:0}.hero.hero-banner img{object-fit:cover;object-position:center}.features{background:#fff;max-width:1100px;margin:0 auto;padding:19px 0;border-bottom:1px solid #eee;color:#555}.home-intro{display:flex;align-items:center;justify-content:space-between;margin:32px 0 0}.home-intro h2{font-size:22px;margin:0}.home-intro a{color:#a56b3c;font-size:12px;font-weight:700}.catalog{padding-top:25px}.section-head{margin-bottom:17px}.section-head h2{font-size:21px}.section-head input{max-width:310px;margin:0;background:#f5f5f5;border-color:#eee}.grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:0;border:1px solid #ededed;border-radius:13px;overflow:hidden}.product{border:0;border-left:1px solid #eee;border-bottom:1px solid #eee;border-radius:0;padding:12px 12px 17px}.product:hover{transform:none;box-shadow:0 2px 16px #00000012;z-index:1}.product .photo{height:215px;background:#fafafa;font-size:70px}.product small{color:#999;font-size:11px}.product h3{font-size:13px;line-height:1.9}.product-bottom{justify-content:flex-end}.product-bottom b{font-size:14px}.product-bottom button{background:#fff;border:1px solid #ad723e;color:#ad723e;border-radius:7px}.product-bottom button:hover{background:#ad723e;color:#fff}.panel,.detail{margin-top:28px}footer{background:#f9f9f9;color:#444;border-top:1px solid #e9e9e9}footer p{color:#777}
@media(max-width:1150px){.grid{grid-template-columns:repeat(4,minmax(0,1fr))}.category-nav{gap:18px}.header-main{gap:12px}.logo{font-size:24px}}
@media(max-width:800px){.store-header{padding:0 14px}.header-main{flex-wrap:wrap;padding:12px 0;gap:10px}.header-search{order:3;flex-basis:100%;max-width:none}.header-actions{margin-right:auto}.category-nav{order:unset;width:100%;justify-content:flex-start;gap:20px}.grid{grid-template-columns:repeat(3,minmax(0,1fr))}.hero.hero-banner{height:clamp(120px,27vw,210px)}.home-intro h2{font-size:18px}}
@media(max-width:550px){main{padding:0 10px 45px}.top{font-size:10px}.logo{font-size:22px}.logo small{font-size:9px}.account-link{padding:8px;font-size:11px}.cart-link{font-size:16px;padding-right:8px}.cart-link span{display:none}.category-nav{min-height:40px;font-size:11px}.hero.hero-banner{height:132px;margin-bottom:8px}.features{padding:15px 2px;font-size:10px;gap:8px}.grid{grid-template-columns:repeat(2,minmax(0,1fr))}.product{padding:8px}.product .photo{height:160px}.product h3{font-size:12px}.section-head input{max-width:100%;margin-top:10px}.home-intro{margin-top:20px}.home-intro h2{font-size:16px}.home-intro a{font-size:11px}}


/* Patina */
:root{--ink:#183c3d;--gold:#b18a57;--cream:#eaf7f4;--line:#cce2dc}
body{color:#193b3d;background:radial-gradient(ellipse at 8% 24%,#d8f1e9 0,transparent 36%),radial-gradient(ellipse at 96% 65%,#e5f3ec 0,transparent 35%),#f7fbf9}
.top{background:linear-gradient(100deg,#073f46,#147e83,#0a4b52);color:#eafff9}
.store-header{background:linear-gradient(115deg,#ffffff 40%,#edf9f5);border-bottom:2px solid #a9d9cf;box-shadow:0 5px 24px #064b4d13}
.logo{color:#087d80}.logo small{color:#6a8d88}
.header-search{background:#e9f4f1;border:1px solid #cce6df}.header-search input{color:#17474a}
.account-link{border-color:#b6dcd3;background:#fff}.category-nav a:hover,.category-nav .admin-nav,.home-intro a{color:#087f82}
.category-nav .all-cat{color:#07575a}
.features{color:#126b6e;background:linear-gradient(90deg,#e5f5f0,#fff,#e5f5f0);border-bottom:1px solid #cde8df;border-radius:0 0 18px 18px}
.home-intro h2,.section-head h2{color:#0b5154}
.grid{border-color:#c9e2db;box-shadow:0 9px 40px #145f5e0a;background:white}
.product{background:linear-gradient(155deg,#fff 70%,#f2faf7);border-color:#e2efea}
.product:hover{box-shadow:0 10px 26px #0a79791c}.product .photo{background:#edf6f3}
.product small{color:#4b918b}.product-bottom button,.btn,button{background:linear-gradient(115deg,#0b777b,#0b565b);color:white;border-color:#0b777b}
.product-bottom button:hover,.btn:hover,button:hover{background:#06484d;color:#fff}
.panel{border-color:#c6e4dc;background:linear-gradient(145deg,#fff,#f5fcf9)}
input,textarea{border-color:#bddbd3;background:#fff}input:focus,textarea:focus{border-color:#0b8687}
footer{background:linear-gradient(110deg,#073e43,#0e5b5f);color:#e8fbf5;border-top:3px solid #8bc9ba}footer p{color:#d1e7df}


/* V7: single predictable header layout and banner; no sticky repaint, no RTL offset hacks */
html{overflow-x:hidden}body{overflow-x:hidden}header.store-header{position:relative;top:auto;display:block;height:auto;min-height:0;padding:0 4%;width:100%;max-width:100%;border-radius:0;transform:none}header.store-header .header-main{display:flex;min-height:74px;align-items:center;gap:20px;flex-wrap:nowrap}header.store-header .header-search{display:flex;min-width:0;max-width:700px;flex:1;height:46px;margin:0}header.store-header .header-search input{width:100%;min-width:0;margin:0;border:0}header.store-header .header-search button{width:48px;min-width:48px;margin:0;padding:0;background:transparent;color:#086f74;border:0}header.store-header .header-actions{display:flex;align-items:center;gap:12px;flex-shrink:0}header.store-header .category-nav{display:flex;position:static;width:100%;height:auto;min-height:44px;align-items:center;justify-content:flex-start;flex-wrap:nowrap;overflow-x:auto;gap:25px;padding:0;margin:0;scrollbar-width:thin}header.store-header .category-nav a{flex-shrink:0}main.home-layout{display:block;width:100%;max-width:none;min-height:0;margin:0;padding:0 0 65px;overflow:visible}main.home-layout>.hero.hero-banner{display:block;position:relative;inset:auto;left:auto;right:auto;transform:none;width:100%;max-width:100%;height:auto;min-height:0;max-height:none;aspect-ratio:2103/748;padding:0;margin:0;border:0;border-radius:0;overflow:hidden;background:#0c5155}main.home-layout>.hero.hero-banner::before{content:none;display:none}main.home-layout>.hero.hero-banner img{display:block;position:static;width:100%;height:auto;aspect-ratio:2103/748;max-width:100%;object-fit:contain;object-position:center;transform:none}main.home-layout>.features,main.home-layout>.home-intro,main.home-layout>.catalog,main.home-layout>.notice{max-width:1376px;width:calc(100% - 44px);margin-left:auto;margin-right:auto}main.home-layout>.home-intro{margin-top:28px}.gallery img{height:auto;max-width:100%;object-fit:contain}.product .photo img{content-visibility:auto}a,button{touch-action:manipulation}@media(max-width:800px){header.store-header{padding:0 14px}header.store-header .header-main{flex-wrap:wrap;padding:12px 0;gap:10px}header.store-header .header-search{order:3;flex:1 0 100%;max-width:none}header.store-header .header-actions{margin-right:auto}header.store-header .category-nav{gap:17px}main.home-layout>.features,main.home-layout>.home-intro,main.home-layout>.catalog,main.home-layout>.notice{width:calc(100% - 20px)}}

/* V8 - isolated product detail gallery */
.detail.detail-premium{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:36px;align-items:start;direction:rtl}
.product-viewer{min-width:0;position:relative}.viewer-stage{position:relative;width:100%;height:clamp(360px,43vw,650px);background:#f4faf8;border:1px solid #d9e9e5;border-radius:19px;overflow:hidden;display:flex;align-items:center;justify-content:center;cursor:zoom-in;touch-action:pan-y}
.viewer-stage>img{display:block;width:100%;height:100%;object-fit:contain;transform-origin:center center;transition:transform .12s ease-out;will-change:transform;pointer-events:none}
.viewer-stage.is-zoomed>img{transform:scale(2.15)}.viewer-hint{position:absolute;bottom:15px;right:15px;background:#ffffffea;color:#096c70;padding:8px 13px;border-radius:20px;font-size:12px;pointer-events:none}.viewer-stage.is-zoomed .viewer-hint{opacity:0}
.viewer-thumbs{display:flex;gap:10px;margin-top:13px;overflow-x:auto;padding:3px 0 8px}.viewer-thumb{flex:0 0 88px;width:88px;height:88px;border:2px solid transparent;border-radius:12px;background:#f2f7f6;padding:3px;overflow:hidden;cursor:pointer}.viewer-thumb.active{border-color:#07888a}.viewer-thumb img{width:100%;height:100%;object-fit:contain;border-radius:8px}.viewer-caption{font-size:12px!important;color:#68827e!important;line-height:1.8!important;margin:5px 0}.product-information{min-width:0}.product-information h1{line-height:1.65}.product-description{white-space:normal;overflow-wrap:anywhere}
.viewer-lightbox:not([hidden]){position:fixed;inset:0;z-index:99999;background:rgba(7,19,22,.96);display:flex;align-items:center;justify-content:center;padding:60px 80px}.viewer-lightbox img{max-width:100%;max-height:100%;object-fit:contain;user-select:none}.viewer-lightbox button{position:absolute;z-index:2;background:#ffffff22;color:#fff;border:1px solid #ffffff55;border-radius:50%;width:46px;height:46px;padding:0;font-size:25px}.lightbox-close{top:16px;left:18px}.lightbox-prev{right:18px;top:50%}.lightbox-next{left:18px;top:50%}.lightbox-count{position:absolute;bottom:17px;color:white;direction:ltr;font-size:14px}
@media(max-width:850px){.detail.detail-premium{grid-template-columns:1fr;gap:22px}.viewer-stage{height:min(75vw,520px)}.viewer-lightbox:not([hidden]){padding:65px 15px}.viewer-lightbox button{width:36px;height:36px}.viewer-thumb{flex-basis:72px;width:72px;height:72px}}
@media(prefers-reduced-motion:reduce){.viewer-stage>img{transition:none}}

/* V9: Free shipping promise on all product cards and product details */
.product .free-shipping{margin:10px 12px 14px;padding:9px 10px;border-radius:10px;background:#e8f7f2;color:#076b68;font-size:12px;font-weight:700;text-align:center;border:1px solid #c9e8df;line-height:1.8}
.free-shipping-detail{display:inline-flex;align-items:center;margin:12px 0 20px;padding:12px 18px;background:#e8f7f2;border:1px solid #b7e4d8;border-radius:12px;color:#086b69;font-weight:700}

/* V10 checkout */
.checkout-panel{max-width:1150px;margin:28px auto;padding:clamp(18px,3vw,42px)}.checkout-title{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap}.checkout-title a{color:#087c80}.cart-product{display:flex;gap:20px;align-items:center;border-bottom:1px solid #d8e9e6;padding:22px 0;flex-wrap:wrap}.cart-photo{width:125px;height:115px;flex-shrink:0;border-radius:15px;overflow:hidden;background:#e5f4f0;display:grid;place-items:center}.cart-photo img{width:100%;height:100%;object-fit:contain}.cart-description{flex:1;min-width:210px;display:grid;gap:12px}.cart-description a{color:#164a4c}.cart-description small{color:#087d72}.cart-controls{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.cart-controls form{margin:0}.cart-quantity{display:flex;align-items:center;gap:8px}.cart-quantity label{display:flex;align-items:center;gap:8px}.cart-quantity input{width:65px;padding:8px;border:1px solid #b7dcd7;border-radius:9px}.cart-quantity button,.remove-item{padding:9px 12px;border-radius:9px;border:1px solid #b7dcd7;background:#f4fbf8;cursor:pointer;color:#076b70}.remove-item{color:#a23939;background:#fff8f7;border-color:#f0d4d4}.cart-price{white-space:nowrap}.checkout-summary{display:grid;grid-template-columns:1fr auto;gap:13px;background:#eff8f5;padding:22px;border-radius:16px;margin:22px 0}.checkout-login{border:1px solid #d6e8e4;padding:24px;border-radius:18px;margin-top:24px}.checkout-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:18px}.checkout-form label{display:flex;flex-direction:column;gap:9px;font-weight:600}.checkout-form input,.checkout-form textarea{width:100%;box-sizing:border-box;border:1px solid #bcd9d3;border-radius:11px;padding:13px;font:inherit;background:#fff}.checkout-form .wide{grid-column:1/-1}.checkout-submit{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap}.checkout-submit span{color:#087d72}@media(max-width:650px){.checkout-form{grid-template-columns:1fr}.cart-product{align-items:flex-start}.cart-price{width:100%;text-align:left}}

/* V13 order fulfillment */
.orders-panel{max-width:1180px;margin:22px auto}.orders-heading,.order-card-top{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap}.orders-heading{margin-bottom:22px}.orders-heading h1{margin:4px 0}.order-filters{display:flex;gap:8px;overflow-x:auto;padding:6px 0 16px;margin-bottom:10px}.order-filters a{white-space:nowrap;border:1px solid #cbdeda;border-radius:24px;padding:9px 13px;text-decoration:none;color:#145c5d;background:#fff}.order-filters a.selected{background:#08777a;color:white;border-color:#08777a}.order-card{background:#fff;border:1px solid #dcebe8;border-radius:17px;padding:20px;margin:14px 0;box-shadow:0 4px 15px #153f3810}.order-card-top strong{display:block;font-size:14px;margin:5px 0}.order-card-top small{display:block;color:#667}.order-status{background:#eaf0f3;color:#425e67;border-radius:30px;padding:8px 13px;font-weight:700;font-size:13px}.status-paid{background:#e7f5ed;color:#187349}.status-preparing{background:#fff4d8;color:#896000}.status-shipped{background:#e4f3fc;color:#17618e}.status-delivered{background:#dcf7ee;color:#116e51}.status-payment_review{background:#fff0ed;color:#a04326}.order-details{display:flex;flex-wrap:wrap;gap:12px 25px;margin:16px 0;color:#455}.shipping-address{padding:13px;background:#f5faf9;border-radius:12px;line-height:1.9}.shipping-address p{margin:3px 0}.tracking-info{display:flex;align-items:center;gap:12px;flex-wrap:wrap;background:#ecf8f5;border:1px solid #b9e0d7;border-radius:12px;padding:12px;margin-top:13px}.tracking-info strong{font-size:18px;letter-spacing:1px}.tracking-info a{color:#08777a}.order-more{margin:13px 0}.order-more summary{cursor:pointer;color:#08777a;font-weight:700}.order-more p{margin:8px 0}.order-update{border-top:1px solid #e4ecea;padding-top:16px;display:flex;gap:12px;flex-wrap:wrap;align-items:end}.order-update label{display:flex;flex-direction:column;gap:6px;flex:1;min-width:180px}.order-update input,.order-update select{padding:11px;border:1px solid #cadbd8;border-radius:9px;max-width:100%;background:white}.order-update .btn{min-height:44px}@media(max-width:600px){.order-card{padding:14px}.order-update label,.order-update button{width:100%}.orders-heading h1{font-size:22px}}

/* V15 customer account */
.customer-panel{max-width:1160px;margin:24px auto}.customer-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:20px 0}.customer-summary>div,.customer-section,.saved-address,.support-ticket{background:#fff;border:1px solid #d9e9e5;border-radius:16px;padding:18px}.customer-summary small,.customer-summary strong{display:block}.customer-summary small,.muted{color:#667e7b}.customer-summary strong{margin-top:8px}.account-tabs{display:flex;gap:10px;flex-wrap:wrap;position:sticky;top:0;background:#f7fcfa;padding:12px 0;z-index:3}.account-tabs a{background:#e3f3ef;color:#075f60;padding:9px 14px;border-radius:12px;text-decoration:none}.customer-section{margin:20px 0;scroll-margin-top:85px}.customer-section h2{margin:0 0 18px}.customer-form{display:flex;flex-direction:column;align-items:stretch;gap:14px;max-width:850px}.customer-form label{display:flex;flex-direction:column;gap:6px}.customer-form input,.customer-form textarea,.customer-form select{border:1px solid #bed6d0;border-radius:10px;padding:12px;background:#fff;width:100%;box-sizing:border-box;font:inherit}.customer-form button{align-self:flex-start}.customer-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.customer-grid .wide{grid-column:1/-1}.saved-address-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:16px 0}.saved-address{background:#f8fdfb}.saved-address p{line-height:1.9}.subtle-btn{border:1px solid #cbded9;border-radius:9px;background:#fff;padding:7px 13px;margin-top:12px;cursor:pointer}.address-add{padding:16px;background:#f5faf8;border-radius:12px}.address-add summary{cursor:pointer;font-weight:700;margin-bottom:12px}.customer-receipt{display:flex;align-items:center;flex-wrap:wrap;gap:14px;background:#e9f7ef;border-radius:10px;padding:12px;margin:10px 0}.customer-receipt a{color:#08777a}.support-ticket{margin:12px 0}.ticket-top{display:flex;justify-content:space-between;gap:15px}.ticket-top small{color:#08777a}.ticket-reply{background:#eaf8f5;border-right:4px solid #08777a;border-radius:8px;padding:12px}.logout-row{margin-top:20px}.receipt-panel{max-width:840px;margin:30px auto}.receipt-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;border-bottom:1px solid #ddd;padding-bottom:16px}.receipt-lines{margin:20px 0}.receipt-lines p{padding:9px 0;border-bottom:1px dashed #ddd}.receipt-actions{display:flex;gap:16px;align-items:center;margin:25px 0}@media(max-width:650px){.customer-summary{grid-template-columns:1fr}.customer-grid,.saved-address-grid{grid-template-columns:1fr}.account-tabs{position:static}.customer-section{padding:14px}}@media print{header,footer,.receipt-actions,.top,.category-nav{display:none!important}.receipt-panel{box-shadow:none;border:0}}

/* V16 reporting dashboard */
.report-dashboard{max-width:1250px;margin-inline:auto}.report-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:24px 0}.report-kpis>div{padding:22px;border:1px solid #d8e8e3;border-radius:18px;background:linear-gradient(145deg,#f6fffd,#fff);display:flex;flex-direction:column;gap:8px}.report-kpis small{color:#54716e}.report-kpis strong{font-size:clamp(24px,3vw,34px);color:#08777a}.report-kpis span,.report-kpis a{font-size:13px}.report-actions{display:flex;gap:10px;flex-wrap:wrap;margin:22px 0}.report-actions .btn{font-size:13px}.report-panels{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.report-box{padding:22px;border:1px solid #dbe9e5;border-radius:20px;background:#fff;min-width:0}.report-box h2{margin:0 0 18px;font-size:19px}.report-list-line{display:flex;justify-content:space-between;gap:15px;padding:12px 0;border-bottom:1px solid #edf2ef}.report-list-line span{overflow-wrap:anywhere}.report-list-line strong{white-space:nowrap}.report-low,.report-warning{color:#a74b27}.report-warning{padding:12px;background:#fff5ee;border-radius:12px}.report-bar-row{display:grid;grid-template-columns:82px 1fr 110px;align-items:center;gap:12px;margin:13px 0;font-size:12px}.report-bar-row b{text-align:left;white-space:nowrap}.report-bar-track{height:11px;background:#e7f0ed;border-radius:99px;overflow:hidden}.report-bar-track i{display:block;height:100%;background:#0a9993;border-radius:99px}.report-profit{font-size:30px;color:#08777a;font-weight:800}.report-profit small{font-size:14px}.report-box .muted{font-size:13px;line-height:2}@media(max-width:800px){.report-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.report-panels{grid-template-columns:1fr}}@media(max-width:500px){.report-kpis{grid-template-columns:1fr}.report-bar-row{grid-template-columns:70px 1fr 80px;gap:6px;font-size:10px}}

/* V18: ~2mm vertical spacing between product card rows; keep horizontal grid intact. */
.catalog .grid{row-gap:8px;}

/* V19: static product photos, no hover zoom or full-screen lightbox */
.viewer-stage{cursor:default;touch-action:auto}
.viewer-stage>img,.viewer-stage.is-zoomed>img{transform:none!important;transform-origin:center!important;transition:none!important;will-change:auto!important}
.viewer-hint,.viewer-caption,.viewer-lightbox{display:none!important}

/* V20: 2mm spacing between adjacent product card columns, preserving V18 row spacing. */
.catalog .grid{column-gap:8px;row-gap:8px;}

/* V21: uninterrupted metallic-turquoise divider beneath each horizontal product row.
   Each card paints its own segment and bridges the 8px column gap.
   Grid remains responsive; no markup or checkout changes. */
.catalog .grid > .product{position:relative;isolation:isolate;}
.catalog .grid > .product::after{
  content:"";position:absolute;pointer-events:none;z-index:2;
  bottom:0;left:-8px;width:calc(100% + 8px);height:3px;
  background:linear-gradient(180deg,#b7f6ed 0%,#21b9b3 27%,#078a89 63%,#0b686d 100%);
  box-shadow:0 1px 2px rgba(7,116,116,.20);
}
/* Avoid drawing dividers through filtered-out products. */
.catalog .grid > .product[hidden]::after{display:none;}

/* V22: categorized home collections, three product rows per category */
.catalog-category{margin:20px 0 34px;min-width:0;}
.catalog-category-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px 16px;margin-bottom:10px;background:linear-gradient(100deg,#e3f6f1,#f8fffd);border-right:4px solid #119f99;border-radius:11px;border-bottom:1px solid #a6d9d3;}
.catalog-category-header>div{display:flex;align-items:center;gap:11px;flex-wrap:wrap;}
.catalog-category-header h3{margin:0;font-size:19px;color:#075d60;}
.catalog-category-mark{font-size:25px;color:#0b9f9e;}
.catalog-category-count{font-size:12px;color:#648b88;}
.catalog-category-header a{font-size:12px;font-weight:700;color:#08777a;white-space:nowrap;}
.catalog-category-grid{border-radius:10px;overflow:visible;}
.catalog-pagination{display:flex;align-items:center;justify-content:center;gap:7px;flex-wrap:wrap;padding:15px 6px 4px;}
.catalog-pagination button{min-width:36px;padding:7px 12px;border-radius:8px;border:1px solid #b9ddd7;background:white;color:#075c60;font-size:13px;}
.catalog-pagination button[aria-current="page"]{background:#087b80;color:white;border-color:#087b80;}
.catalog-pagination button:disabled{opacity:.35;}
.catalog-category[hidden],.catalog-category-grid .product[hidden]{display:none!important;}
@media(max-width:550px){.catalog-category-header{padding:10px}.catalog-category-header h3{font-size:15px}.catalog-category-count{font-size:10px}.catalog-category{margin-bottom:25px;}}
