/*
Theme Name: Shahriar
Theme URI: https://example.com/shahriar
Author: Shahriar
Description: Digital services, product shop and business insights for Shahariar.shop.
Version: 2.1.53
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
Text Domain: shahriar
*/
.error-page{padding:clamp(54px,9vw,112px) 0 clamp(66px,10vw,128px)}
.error-page__inner{max-width:980px}
.error-card{position:relative;overflow:hidden;padding:clamp(30px,7vw,76px);border:1px solid var(--line);border-radius:12px;background:var(--white);box-shadow:0 18px 55px rgba(24,34,31,.06)}
.error-card:after{position:absolute;right:-110px;top:-130px;width:360px;height:360px;border-radius:50%;background:radial-gradient(circle,rgba(217,239,135,.34),rgba(217,239,135,0) 70%);content:"";pointer-events:none}
.error-card__code{position:absolute;right:clamp(24px,6vw,70px);top:20px;margin:0;color:#f1f3ec;font:700 clamp(88px,17vw,190px)/1 var(--serif);letter-spacing:-.08em;pointer-events:none}
.error-card h1{position:relative;z-index:1;max-width:620px;margin:18px 0 14px;font:500 clamp(38px,6vw,66px)/1.02 var(--serif);letter-spacing:-.055em}
.error-card__copy{position:relative;z-index:1;max-width:500px;margin:0;color:var(--muted);font-size:16px}
.error-card__search{position:relative;z-index:1;max-width:540px;margin-top:28px}
.error-card__search form{display:flex;gap:10px}
.error-card__search label{flex:1;min-width:0}
.error-card__search .search-field{width:100%;min-height:48px;padding:0 15px;border:1px solid var(--line);border-radius:6px;background:#fff;color:var(--ink);font:inherit}
.error-card__search .search-submit{min-height:48px;padding:0 18px;border:1px solid var(--green);border-radius:6px;background:var(--green);color:#fff;font:700 13px var(--sans);cursor:pointer}
.error-card__actions{position:relative;z-index:1;display:flex;flex-wrap:wrap;gap:11px;margin-top:20px}
.error-card__actions .button{border-radius:6px}
@media(max-width:520px){.error-page{padding:34px 0 54px}.error-card{padding:28px 22px;border-radius:9px}.error-card__code{right:14px;top:20px;font-size:100px}.error-card h1{max-width:300px;font-size:40px}.error-card__copy{font-size:14px}.error-card__search form{flex-direction:column}.error-card__search .search-submit{width:100%}.error-card__actions{flex-direction:column}.error-card__actions .button{width:100%}}
.post-layout{display:grid;grid-template-columns:minmax(210px,250px) minmax(0,1fr);align-items:start;gap:22px;width:min(1244px,calc(100% - 64px));padding:34px 0 0;}
.post-sidebar{display:grid;gap:16px;}
.post-sidebar-card{padding:22px 20px;border:1px solid var(--line);border-radius:11px;background:#fff;box-shadow:0 8px 28px rgba(24,34,31,.045);}
.post-sidebar-card h2{margin:0 0 13px;padding:0 0 12px;border-bottom:1px solid var(--line);color:var(--ink);font:700 17px/1.25 var(--sans);}
.post-sidebar-list{display:grid;gap:0;margin:0;padding:0;list-style:none;}
.post-sidebar-list li+li{border-top:1px solid #f0f0eb;}
.post-sidebar-list a{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;padding:11px 0;color:#46544c;font-size:13px;line-height:1.45;transition:color .18s ease;}
.post-sidebar-list a:hover{color:var(--green);}
.post-sidebar-list--recent a{display:block;font-weight:650;}
.post-sidebar-list--recent time{display:block;margin-top:4px;color:var(--muted);font-size:11px;font-weight:400;}
.post-sidebar-count{flex:0 0 auto;color:var(--muted);font-size:12px;}
.post-sidebar-empty{margin:0;color:var(--muted);font-size:13px;}
.post-main-column{min-width:0;}
.single-content{width:100%;max-width:none;margin:34px auto 18px;padding:clamp(24px,4vw,52px);}
.single-content h1{max-width:980px;margin:14px 0 24px;font-size:clamp(34px,5vw,56px);line-height:1.12;}
.single-featured-image{margin:0 0 28px;overflow:hidden;border-radius:10px;background:#f1f3ef;}
.single-featured-image img{width:100%;max-height:640px;object-fit:cover;}
.single-content .entry-content{max-width:900px;margin-inline:auto;}
.post-comments{display:grid;gap:16px;width:100%;margin:0 auto 72px;}
.post-comments__list-card,.post-comment-form-card{padding:clamp(22px,3.5vw,38px);border:1px solid var(--line);border-radius:12px;background:#fff;box-shadow:0 8px 28px rgba(24,34,31,.045);}
.post-comments__header h2,.post-comment-form-card h2{display:flex;align-items:center;gap:10px;margin:0 0 18px;padding-bottom:14px;border-bottom:1px solid var(--line);color:var(--ink);font:700 23px/1.25 var(--sans);}
.post-comments__count{display:inline-grid;min-width:28px;height:28px;place-items:center;padding:0 8px;border-radius:999px;background:#edf2e8;color:var(--green);font:700 12px/1 var(--sans);}
.post-comments .comment-list{list-style:none;margin:0;padding:0;}
.post-comments .comment-list>li{margin:0;padding:20px 0;border-bottom:1px solid var(--line);}
.post-comments .comment-list>li:last-child{padding-bottom:0;border-bottom:0;}
.post-comments .comment-body{position:relative;min-height:48px;padding-left:62px;}
.post-comments .comment-author{display:flex;align-items:center;gap:10px;color:var(--ink);font-size:14px;font-weight:750;}
.post-comments .comment-author .avatar{position:absolute;left:0;top:0;width:48px;height:48px;border:2px solid #fff;border-radius:50%;box-shadow:0 0 0 1px var(--line);}
.post-comments .comment-author .says{color:var(--muted);font-size:12px;font-weight:400;}
.post-comments .comment-meta{margin-top:3px;color:var(--muted);font-size:12px;}
.post-comments .comment-meta a{color:inherit;}
.post-comments .comment-content{margin-top:12px;color:#39463f;font-size:15px;line-height:1.7;}
.post-comments .comment-content p{margin:0 0 10px;}
.post-comments .reply a{display:inline-flex;margin-top:8px;padding:7px 13px;border:1px solid var(--line);border-radius:999px;color:var(--green);font-size:12px;font-weight:700;}
.post-comments .children{margin:18px 0 0 26px;padding:0 0 0 20px;border-left:2px solid #dce6d9;list-style:none;}
.post-comment-form-card .comment-respond{margin:0;}
.post-comment-form-card .comment-form{margin:0;}
.post-comment-form-card .comment-form-comment{margin:0 0 14px;}
.post-comment-form-card .comment-form-comment label{display:block;margin-bottom:7px;color:var(--ink);font-size:13px;font-weight:700;}
.post-comment-form-card textarea{display:block;width:100%;min-height:130px;padding:13px 15px;border:1px solid var(--line);border-radius:8px;background:#fbfcfa;color:var(--ink);font:400 15px/1.6 var(--sans);resize:vertical;}
.post-comment-form-card textarea:focus{outline:0;border-color:var(--green);box-shadow:0 0 0 3px rgba(30,91,69,.12);}
.post-comment-form-card .form-submit{margin:0;}
.post-comment-form-card .submit{min-height:44px;padding:0 20px;border:1px solid var(--green);border-radius:6px;background:var(--green);color:#fff;font:700 13px var(--sans);cursor:pointer;}
.post-comment-form-card__note{margin:0 0 16px;color:var(--muted);font-size:14px;}
@media(max-width:800px){.post-layout{grid-template-columns:minmax(0,1fr);width:calc(100% - 36px);padding-top:24px}.post-main-column{grid-row:1}.post-sidebar{grid-row:2;grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:36px}}
@media(max-width:600px){.post-layout{width:calc(100% - 28px);padding-top:18px}.post-sidebar{grid-template-columns:minmax(0,1fr);gap:12px;margin-bottom:28px}.post-sidebar-card{padding:19px 17px;border-radius:9px}.single-content{margin:0 auto 14px;padding:20px 16px}.single-content h1{font-size:clamp(29px,8vw,40px);margin:12px 0 18px}.single-featured-image{margin-bottom:20px}.single-featured-image img{max-height:420px}.single-content .entry-content{font-size:15px}.post-comments{gap:12px;margin-bottom:44px}.post-comments__list-card,.post-comment-form-card{padding:20px 16px;border-radius:9px}.post-comments__header h2,.post-comment-form-card h2{font-size:20px}.post-comments .children{margin-left:10px;padding-left:12px}}
:root{--ink:#18221f;--muted:#68736e;--paper:#f8f7f2;--white:#fff;--green:#1e5b45;--lime:#d9ef87;--line:#e8e7df;--serif:Georgia,'Times New Roman',serif;--sans:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);background:var(--paper);font:16px/1.6 var(--sans)}a{color:inherit;text-decoration:none}img{display:block;max-width:100%;height:auto}.wrap{width:min(1280px,calc(100% - 96px));margin-inline:auto}.site-header{position:sticky;top:0;z-index:20;background:rgba(248,247,242,.96);border-bottom:1px solid var(--line);backdrop-filter:blur(12px)}.header-row{min-height:76px;display:flex;align-items:center;justify-content:space-between;gap:24px}.brand{font:700 24px/1 var(--serif);letter-spacing:-.04em}.brand span{color:var(--green)}.main-nav ul{display:flex;align-items:center;gap:30px;list-style:none;margin:0;padding:0}.main-nav a{font-size:13px;font-weight:700}.main-nav a:hover,.text-link:hover{color:var(--green)}.menu-toggle{display:none;border:1px solid var(--line);background:transparent;padding:9px 13px;border-radius:999px;font:inherit;font-size:13px}.hero{padding:76px 0 64px}.hero-grid{display:grid;grid-template-columns:1.08fr .92fr;gap:64px;align-items:center}.eyebrow{display:inline-flex;align-items:center;gap:9px;color:var(--green);font-size:11px;font-weight:800;letter-spacing:.16em;text-transform:uppercase}.eyebrow:before{content:'';width:23px;height:1px;background:currentColor}.hero h1{max-width:640px;margin:18px 0 20px;font:500 clamp(48px,7vw,82px)/.99 var(--serif);letter-spacing:-.065em}.hero h1 em{font-weight:400;color:var(--green)}.hero-copy{max-width:475px;color:var(--muted);font-size:17px}.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:30px}.button{display:inline-flex;align-items:center;justify-content:center;min-height:47px;padding:0 21px;border-radius:999px;background:var(--green);color:#fff;font-size:13px;font-weight:800;border:1px solid var(--green);transition:.2s}.button:hover{background:#143f31}.button-light{background:transparent;color:var(--ink);border-color:#cfd3c9}.hero-visual{position:relative;min-height:410px;border-radius:8px 140px 8px 8px;overflow:hidden;background:linear-gradient(150deg,#b7c7b3,#e2d5bc 62%,#9cae9d)}.hero-art{position:absolute;inset:0;background:radial-gradient(ellipse at 60% 35%,rgba(255,255,255,.72),transparent 26%),linear-gradient(135deg,transparent 40%,rgba(30,91,69,.13) 41% 43%,transparent 44%),radial-gradient(ellipse at 48% 90%,#456f59 0 20%,transparent 21%),linear-gradient(0deg,#315b45 0 18%,transparent 19%)}.hero-note{position:absolute;bottom:22px;left:22px;padding:13px 16px;background:rgba(255,255,255,.9);border-radius:5px;font-size:12px;font-weight:700}.section{padding:70px 0}.section-head{display:flex;justify-content:space-between;align-items:end;gap:24px;margin-bottom:28px}.section-head h2{margin:8px 0 0;font:500 clamp(34px,5vw,48px)/1.05 var(--serif);letter-spacing:-.05em}.text-link{font-size:12px;font-weight:800;border-bottom:1px solid currentColor;padding-bottom:3px}.post-grid,.product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.post-card,.product-card{background:var(--white);border:1px solid var(--line);border-radius:7px;overflow:hidden}.post-thumb,.product-thumb{aspect-ratio:1.45;background:linear-gradient(135deg,#d6dece,#a6b9a9);overflow:hidden}.post-thumb img,.product-thumb img{width:100%;height:100%;object-fit:cover;transition:transform .35s}.post-card:hover .post-thumb img,.product-card:hover .product-thumb img{transform:scale(1.04)}.post-body,.product-body{padding:20px}.meta{display:flex;gap:10px;align-items:center;color:var(--muted);font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.07em}.post-body h3,.product-body h3{margin:9px 0 8px;font:500 24px/1.13 var(--serif);letter-spacing:-.03em}.post-body p{margin:0;color:var(--muted);font-size:13px}.shop-band{background:#e9eee3}.product-thumb{aspect-ratio:1.1;background:linear-gradient(145deg,#e9d7bd,#b5c5b3);display:grid;place-items:center}.product-thumb .placeholder{font-size:58px}.price-row{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:15px}.price{font-weight:800;font-size:14px}.product-body .button{min-height:37px;padding:0 14px;font-size:11px}.product-body h3{font-size:21px}.empty-note{padding:24px;background:#fff;border:1px dashed #c8cec4;color:var(--muted);border-radius:6px}.newsletter{padding:56px 0}.newsletter-box{display:flex;align-items:center;justify-content:space-between;gap:28px;padding:38px 42px;border-radius:8px;background:var(--green);color:#fff}.newsletter-box h2{margin:0;font:500 clamp(29px,4vw,42px)/1.05 var(--serif)}.newsletter-box p{margin:8px 0 0;color:#d1dfd7;font-size:13px}.newsletter-box .button{background:var(--lime);color:var(--ink);border-color:var(--lime)}.site-footer{padding:26px 0;border-top:1px solid var(--line);color:var(--muted);font-size:12px}.footer-row{display:flex;justify-content:space-between;gap:18px;align-items:center}.footer-row p{margin:0}.archive-head{padding:54px 0 34px}.archive-head h1{margin:8px 0 0;font:500 clamp(42px,6vw,64px)/1 var(--serif);letter-spacing:-.055em}.single-content{max-width:760px;margin:48px auto 80px}.single-content h1{font:500 clamp(40px,6vw,64px)/1.02 var(--serif);letter-spacing:-.055em}.single-content .entry-content{font-size:18px;line-height:1.8}.single-content .entry-content img{border-radius:6px}.pagination{margin-top:30px}.pagination .nav-links{display:flex;gap:8px}.pagination a,.pagination span{padding:8px 12px;border:1px solid var(--line);border-radius:4px}.pagination .current{background:var(--green);color:#fff}.woocommerce ul.products{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;list-style:none;padding:0}.woocommerce ul.products li.product{width:auto!important;float:none!important;margin:0!important;padding:18px;background:#fff;border:1px solid var(--line);border-radius:7px}.woocommerce ul.products li.product img{border-radius:4px}.woocommerce ul.products li.product .button{margin-top:12px}@media(max-width:800px){.wrap{width:min(100% - 36px,640px)}.header-row{min-height:66px}.menu-toggle{display:block}.main-nav{display:none;position:absolute;top:65px;left:0;right:0;background:var(--paper);border-bottom:1px solid var(--line);padding:12px 24px 20px}.main-nav.is-open{display:block}.main-nav ul{align-items:stretch;flex-direction:column;gap:0}.main-nav li a{display:block;padding:12px 0;border-bottom:1px solid var(--line)}.hero{padding:48px 0 42px}.hero-grid{grid-template-columns:1fr;gap:30px}.hero h1{font-size:clamp(48px,14vw,70px)}.hero-visual{min-height:300px;border-top-right-radius:100px}.section{padding:52px 0}.post-grid,.product-grid,.woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px}.post-body,.product-body{padding:15px}.post-body h3{font-size:21px}.product-body h3{font-size:18px}.newsletter-box{align-items:flex-start;flex-direction:column;padding:30px 24px}.footer-row{align-items:flex-start;flex-direction:column}}@media(max-width:520px){.wrap{width:calc(100% - 30px)}.post-grid,.product-grid,.woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr))!important}.post-thumb{aspect-ratio:1.55}.product-thumb{aspect-ratio:1.35}.section-head{align-items:flex-start;flex-direction:column;gap:12px}.hero-copy{font-size:15px}.hero-visual{min-height:255px}.price-row{align-items:flex-start;flex-direction:column}.product-body .button{width:100%}}


/* Shahriar shop refresh */
body.woocommerce-shop #secondary, body.post-type-archive-product #secondary, body.tax-product_cat #secondary, body.tax-product_tag #secondary { display:none !important; }
body.woocommerce-shop #primary, body.post-type-archive-product #primary, body.tax-product_cat #primary, body.tax-product_tag #primary { float:none !important; width:100% !important; max-width:100% !important; }
body.woocommerce-shop .site-main, body.post-type-archive-product .site-main, body.tax-product_cat .site-main, body.tax-product_tag .site-main { width:min(1280px, calc(100% - 96px)); margin:0 auto; padding:38px 0 78px; }
body.woocommerce-shop .woocommerce-products-header, body.post-type-archive-product .woocommerce-products-header { padding:46px 48px; margin:0 0 32px; border:1px solid #e4e8dc; border-radius:22px; background:linear-gradient(120deg,#edf2e8 0%,#f6f1e6 100%); }
body.woocommerce-shop .woocommerce-products-header:before, body.post-type-archive-product .woocommerce-products-header:before { content:'SHAHRIAR  /  EVERYDAY FINDS'; display:block; margin:0 0 10px; color:#1e5b45; font:800 10px/1.4 Inter,system-ui,sans-serif; letter-spacing:.18em; }
body.woocommerce-shop .woocommerce-products-header h1, body.post-type-archive-product .woocommerce-products-header h1 { margin:0; color:#18221f; font:500 clamp(38px,5vw,58px)/1.05 Georgia,serif; letter-spacing:-.05em; }
body.woocommerce-shop .woocommerce-result-count, body.post-type-archive-product .woocommerce-result-count { color:#68736e; font-size:13px; }
body.woocommerce-shop .woocommerce-ordering select, body.post-type-archive-product .woocommerce-ordering select { min-height:42px; padding:0 38px 0 14px; border:1px solid #dfe4d9; border-radius:999px; background:#fff; color:#18221f; font:600 12px Inter,system-ui,sans-serif; }
body.woocommerce-shop ul.products, body.post-type-archive-product ul.products, body.tax-product_cat ul.products { display:grid !important; grid-template-columns:repeat(3,minmax(0,1fr)) !important; gap:24px !important; margin:0 !important; padding:0 !important; }
body.woocommerce-shop ul.products li.product, body.post-type-archive-product ul.products li.product, body.tax-product_cat ul.products li.product { width:auto !important; margin:0 !important; padding:13px 13px 17px !important; overflow:hidden; border:1px solid #e8e9e2 !important; border-radius:17px !important; background:#fff !important; box-shadow:0 5px 18px rgba(24,34,31,.045); transition:transform .2s ease,box-shadow .2s ease; }
body.woocommerce-shop ul.products li.product:hover, body.post-type-archive-product ul.products li.product:hover { transform:translateY(-4px); box-shadow:0 14px 32px rgba(24,34,31,.10); }
body.woocommerce-shop ul.products li.product a img, body.post-type-archive-product ul.products li.product a img { width:100% !important; height:auto !important; aspect-ratio:1/1.08; margin:0 0 15px !important; border-radius:12px; object-fit:cover; background:#f1f2ec; }
/* Use the six chosen product photos in the catalog while media uploads are unavailable. */
body.woocommerce-shop ul.products li.product:nth-child(1) a img, body.post-type-archive-product ul.products li.product:nth-child(1) a img { content:url('https://images.unsplash.com/photo-1590874103328-eac38a683ce7?auto=format&fit=crop&w=900&q=80'); }
body.woocommerce-shop ul.products li.product:nth-child(2) a img, body.post-type-archive-product ul.products li.product:nth-child(2) a img { content:url('https://images.unsplash.com/photo-1514228742587-6b1558fcca3d?auto=format&fit=crop&w=900&q=80'); }
body.woocommerce-shop ul.products li.product:nth-child(3) a img, body.post-type-archive-product ul.products li.product:nth-child(3) a img { content:url('https://images.unsplash.com/photo-1485955900006-10f4d324d411?auto=format&fit=crop&w=900&q=80'); }
body.woocommerce-shop ul.products li.product:nth-child(4) a img, body.post-type-archive-product ul.products li.product:nth-child(4) a img { content:url('https://images.unsplash.com/photo-1507473885765-e6ed057f782c?auto=format&fit=crop&w=900&q=80'); }
body.woocommerce-shop ul.products li.product:nth-child(5) a img, body.post-type-archive-product ul.products li.product:nth-child(5) a img { content:url('https://images.unsplash.com/photo-1531346878377-a5be20888e57?auto=format&fit=crop&w=900&q=80'); }
body.woocommerce-shop ul.products li.product:nth-child(6) a img, body.post-type-archive-product ul.products li.product:nth-child(6) a img { content:url('https://images.unsplash.com/photo-1602143407151-7111542de6e8?auto=format&fit=crop&w=900&q=80'); }
body.woocommerce-shop ul.products li.product .woocommerce-loop-product__title, body.post-type-archive-product ul.products li.product .woocommerce-loop-product__title { padding:0 5px; color:#18221f; font:600 19px/1.25 Georgia,serif; }
body.woocommerce-shop ul.products li.product .price, body.post-type-archive-product ul.products li.product .price { padding:0 5px; color:#1e5b45 !important; font-size:15px !important; font-weight:800 !important; }
body.woocommerce-shop ul.products li.product .button, body.post-type-archive-product ul.products li.product .button { display:block; margin:12px 4px 0 !important; padding:12px 16px !important; border-radius:999px !important; background:#1e5b45 !important; color:#fff !important; text-align:center; font-size:12px !important; font-weight:800 !important; }
body.woocommerce-shop ul.products li.product .button:hover, body.post-type-archive-product ul.products li.product .button:hover { background:#143f31 !important; }
body.woocommerce-shop .woocommerce-pagination, body.post-type-archive-product .woocommerce-pagination { margin-top:32px; }
@media(max-width:820px){ body.woocommerce-shop .site-main, body.post-type-archive-product .site-main, body.tax-product_cat .site-main { width:calc(100% - 36px); padding-top:28px; } body.woocommerce-shop .woocommerce-products-header, body.post-type-archive-product .woocommerce-products-header { padding:34px 28px; } body.woocommerce-shop ul.products, body.post-type-archive-product ul.products, body.tax-product_cat ul.products { grid-template-columns:repeat(2,minmax(0,1fr)) !important; gap:16px !important; } }
@media(max-width:520px){ body.woocommerce-shop .site-main, body.post-type-archive-product .site-main, body.tax-product_cat .site-main { width:calc(100% - 28px); padding:20px 0 48px; } body.woocommerce-shop .woocommerce-products-header, body.post-type-archive-product .woocommerce-products-header { padding:27px 22px; margin-bottom:22px; border-radius:16px; } body.woocommerce-shop ul.products, body.post-type-archive-product ul.products, body.tax-product_cat ul.products { grid-template-columns:repeat(2,minmax(0,1fr)) !important; gap:12px !important; } body.woocommerce-shop ul.products li.product, body.post-type-archive-product ul.products li.product { padding:8px 8px 12px !important; border-radius:13px !important; } body.woocommerce-shop ul.products li.product a img, body.post-type-archive-product ul.products li.product a img { aspect-ratio:1/1.05; margin-bottom:9px !important; border-radius:9px; } body.woocommerce-shop ul.products li.product .woocommerce-loop-product__title, body.post-type-archive-product ul.products li.product .woocommerce-loop-product__title { font-size:15px; } body.woocommerce-shop ul.products li.product .price, body.post-type-archive-product ul.products li.product .price { font-size:13px !important; } body.woocommerce-shop ul.products li.product .button, body.post-type-archive-product ul.products li.product .button { margin:9px 2px 0 !important; padding:10px 8px !important; font-size:11px !important; } }


/* Remove WooCommerce float-clearing pseudo items from the theme grid. */
body.woocommerce-shop ul.products:before, body.woocommerce-shop ul.products:after, body.post-type-archive-product ul.products:before, body.post-type-archive-product ul.products:after, body.tax-product_cat ul.products:before, body.tax-product_cat ul.products:after { content:none !important; display:none !important; }

/* Keep the default WordPress widget column out of the WooCommerce catalog. */
body.woocommerce-shop #sidebar, body.post-type-archive-product #sidebar, body.tax-product_cat #sidebar { display:none !important; }

/* Homepage card grids: two-up on tablet and mobile, with matched product actions. */
.home .post-grid,
.home .product-grid {
  align-items: stretch;
}
.home .post-card,
.home .product-card {
  height: 100%;
  min-width: 0;
}
.home .product-card {
  display: flex;
  flex-direction: column;
}
.home .product-card .product-thumb {
  flex: 0 0 auto;
}
.home .product-card .product-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: stretch;
}
.home .product-card .product-body h3 {
  min-height: 2.5em;
}
.home .product-card .price-row {
  align-items: center;
  margin-top: auto;
  padding-top: 16px;
}
.home .product-card .price-row .button {
  display: inline-flex;
  flex: 0 0 132px;
  width: 132px;
  min-height: 42px;
  white-space: nowrap;
  text-align: center;
}
@media (min-width: 521px) and (max-width: 1000px) {
  .home .post-grid,
  .home .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }
}
@media (max-width: 520px) {
  .home .post-grid,
  .home .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .home .post-card,
  .home .product-card {
    border-radius: 10px;
  }
  .home .post-thumb {
    aspect-ratio: 1.15;
  }
  .home .product-thumb {
    aspect-ratio: 1 / 1;
  }
  .home .post-body,
  .home .product-body {
    padding: 12px;
  }
  .home .post-body h3 {
    min-height: 2.6em;
    font-size: 17px;
    line-height: 1.25;
  }
  .home .post-body p {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }
  .home .product-card .product-body h3 {
    min-height: 3.6em;
    font-size: 15px;
    line-height: 1.2;
  }
  .home .product-card .price-row {
    align-items: stretch;
    flex-direction: column;
    gap: 9px;
    padding-top: 10px;
  }
  .home .product-card .price-row .price {
    font-size: 13px;
  }
  .home .product-card .price-row .button {
    flex: 0 0 40px;
    width: 100%;
    min-height: 40px;
    height: 40px;
    padding: 0 8px;
    font-size: 10px;
  }
}
/* Homepage product pictures follow the current newest-first product query. */
.home .product-grid .product-card .product-thumb img {
  width:100%;
  height:100%;
  object-fit:cover;
}
/* Desktop homepage shop: five products per row. */
@media (min-width: 1200px) {
  .home .product-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
  }
  .home .product-card .product-body {
    padding: 16px 13px;
  }
  .home .product-card .product-body h3 {
    font-size: 18px;
  }
  .home .product-card .price-row {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
  }
  .home .product-card .price-row .button {
    flex: 0 0 40px;
    width: 100%;
    min-height: 40px;
    height: 40px;
  }
}
/* Tablet homepage shop: three products per row with full-width aligned buttons. */
@media (min-width: 700px) and (max-width: 1199px) {
  .home .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }
  .home .product-card .product-body {
    padding: 16px 13px;
  }
  .home .product-card .product-body h3 {
    font-size: 17px;
  }
  .home .product-card .price-row {
    align-items: stretch;
    flex-direction: column;
    gap: 9px;
  }
  .home .product-card .price-row .button {
    flex: 0 0 40px;
    width: 100%;
    min-height: 40px;
    height: 40px;
  }
}
/* Home product prices: quiet grey styling for regular and discounted amounts. */
.home .product-card .price-row .price,
.home .product-card .price-row .price .amount,
.home .product-card .price-row .price ins,
.home .product-card .price-row .price ins .amount {
  color:#858d87 !important;
  font-weight:400 !important;
}
.home .product-card .price-row .price del,
.home .product-card .price-row .price del .amount {
  color:#a4aaa5 !important;
  font-weight:400 !important;
  opacity:.85;
}
.home .product-card .price-row .price ins {
  text-decoration:none;
}
/* Keep regular prices black while muted sale prices stay light grey. */
.home .product-card .price-row .price,
.home .product-card .price-row .price .amount {
  color:#18221f !important;
  font-weight:400 !important;
}
.home .product-card .price-row .price ins,
.home .product-card .price-row .price ins .amount {
  color:#858d87 !important;
  font-weight:400 !important;
}
.home .product-card .price-row .price del,
.home .product-card .price-row .price del .amount {
  color:#a4aaa5 !important;
  font-weight:400 !important;
  opacity:.85;
}
/* Emphasize regular black prices; sale prices keep their lighter regular weight. */
.home .product-card .price-row .price:not(:has(del)) {
  font-size:16px;
  font-weight:700 !important;
}
.home .product-card .price-row .price:not(:has(del)) .amount {
  font-weight:700 !important;
}
/* Emphasize the discounted current amount while retaining its muted color. */
.home .product-card .price-row .price ins,
.home .product-card .price-row .price ins .amount {
  color:#858d87 !important;
  font-size:16px;
  font-weight:700 !important;
}
/* Show the current discounted amount in black. */
.home .product-card .price-row .price ins,
.home .product-card .price-row .price ins .amount {
  color:#18221f !important;
  font-weight:700 !important;
}
/* Keep homepage product names and prices visually close. */
.home .product-card .product-body h3 {
  margin-bottom:4px;
}
.home .product-card .price-row {
  margin-top:0;
  padding-top:0;
}
/* Shared Shahriar styling for archives and reading pages. */
.post-card,.product-card { border-radius:16px; box-shadow:0 5px 18px rgba(24,34,31,.045); }
.archive-head { padding:42px clamp(24px,5vw,54px); margin:34px 0 28px; border:1px solid #e4e8dc; border-radius:20px; background:linear-gradient(120deg,#edf2e8 0%,#f6f1e6 100%); }
.single-content { max-width:820px; padding:clamp(24px,5vw,58px); border:1px solid var(--line); border-radius:18px; background:#fff; box-shadow:0 8px 30px rgba(24,34,31,.045); }
.single-content > h1 { margin:14px 0 24px; }
.single-content > img { width:100%; margin:26px 0; border-radius:14px; }
.single-content .entry-content h2,.single-content .entry-content h3 { margin-top:1.8em; color:var(--ink); font-family:var(--serif); }
.single-content .entry-content p,.single-content .entry-content li { color:#46514b; }
.single-content .post-navigation { display:flex; justify-content:space-between; gap:20px; margin-top:42px; padding-top:22px; border-top:1px solid var(--line); }

/* Product archive with a left-side, data-driven filter panel. */
.woocommerce-shop #primary.site-main,.post-type-archive-product #primary.site-main,.tax-product_cat #primary.site-main,.tax-product_tag #primary.site-main { float:none; width:min(1280px,calc(100% - 96px)); max-width:none; margin:0 auto; padding:38px 0 78px; }
.shop-layout { display:grid; grid-template-columns:250px minmax(0,1fr); gap:30px; align-items:start; }
.shop-filters { position:sticky; top:98px; padding:22px; border:1px solid #e5e8df; border-radius:17px; background:#fff; box-shadow:0 5px 18px rgba(24,34,31,.04); }
.shop-filters-title { margin:0 0 16px; font:500 25px/1.15 var(--serif); letter-spacing:-.035em; }
.shop-filter-group { padding:16px 0; border-top:1px solid var(--line); }
.shop-filter-group h3 { margin:0 0 10px; color:var(--ink); font:700 11px/1.4 var(--sans); letter-spacing:.12em; text-transform:uppercase; }
.shop-filter-list { display:grid; gap:3px; margin:0; padding:0; list-style:none; }
.shop-filter-list li { margin:0; padding-left:calc(var(--filter-depth,0) * 12px); }
.shop-filter-list a { display:flex; justify-content:space-between; align-items:center; gap:10px; padding:7px 8px; border-radius:8px; color:#58635d; font-size:13px; transition:background .15s,color .15s; }
.shop-filter-list a:hover,.shop-filter-list a.is-selected { background:#edf2e8; color:var(--green); }
.shop-filter-count { color:#9ba39d; font-size:11px; }
.shop-results { min-width:0; }
.shop-results .woocommerce-products-header { margin-top:0; }
.shop-results ul.products { grid-template-columns:repeat(3,minmax(0,1fr)) !important; }
.shop-results ul.products::before,.shop-results ul.products::after { display:none !important; content:none !important; }
.shop-results .woocommerce-result-count { margin:0 0 18px; }
.shop-results .woocommerce-ordering { margin:0 0 22px; }
.shop-results ul.products li.product { display:flex; flex-direction:column; }
.shop-results ul.products li.product .woocommerce-loop-product__title { min-height:2.5em; }
.shop-results ul.products li.product .price { margin-top:auto; }
.shop-results ul.products li.product .button { min-height:42px; border-radius:999px; background:var(--green); font-size:12px; font-weight:800; }
.woocommerce div.product { padding:clamp(20px,4vw,42px); border:1px solid var(--line); border-radius:18px; background:#fff; box-shadow:0 8px 30px rgba(24,34,31,.045); }
.woocommerce div.product div.images img { border-radius:13px; }
.woocommerce div.product .product_title { font:500 clamp(34px,4vw,54px)/1.05 var(--serif); letter-spacing:-.045em; }
.woocommerce div.product .summary .price { color:var(--ink); font-size:22px; font-weight:700; }
.woocommerce div.product .summary .price ins { color:var(--ink); font-weight:700; }
.woocommerce div.product .summary .price del { color:#9ba39d; font-weight:400; }
.woocommerce div.product form.cart .button,.woocommerce .button,.woocommerce button.button,.woocommerce input.button { min-height:44px; padding:0 20px; border:0; border-radius:999px; background:var(--green); color:#fff; font-weight:800; }
.woocommerce div.product .woocommerce-tabs ul.tabs li { border-radius:10px 10px 0 0; }
.woocommerce table.shop_table,.woocommerce .cart-collaterals .cart_totals { border-color:var(--line); border-radius:12px; }
.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea,.woocommerce form .form-row select { min-height:44px; padding:10px 13px; border:1px solid #dfe4d9; border-radius:9px; background:#fff; font:inherit; }

@media(max-width:1000px){
 .woocommerce-shop #primary.site-main,.post-type-archive-product #primary.site-main,.tax-product_cat #primary.site-main,.tax-product_tag #primary.site-main { width:calc(100% - 48px); }
 .shop-layout { grid-template-columns:220px minmax(0,1fr); gap:20px; }
 .shop-results ul.products { grid-template-columns:repeat(2,minmax(0,1fr)) !important; gap:16px !important; }
}
@media(max-width:700px){
 .archive-head { padding:30px 24px; margin:24px 0 20px; }
 .single-content { padding:24px 20px; margin:28px auto 50px; }
 .shop-layout { grid-template-columns:minmax(0,1fr); gap:20px; }
 .shop-filters { position:static; padding:18px; }
 .shop-filter-group { padding:12px 0; }
 .shop-results ul.products { grid-template-columns:repeat(2,minmax(0,1fr)) !important; gap:12px !important; }
 .woocommerce div.product { padding:18px; }
 .single-content .post-navigation { flex-direction:column; }
}
/* Product archive controls: four columns and a native WooCommerce price slider. */
body.woocommerce-shop .woocommerce-products-header { display:none !important; }
.shop-results ul.products { grid-template-columns:repeat(4,minmax(0,1fr)) !important; gap:18px !important; }
.shop-results ul.products li.product .button { display:none !important; }
.shop-price-range { margin:0 0 22px; padding:17px 20px 15px; border:1px solid #e5e8df; border-radius:15px; background:#fff; box-shadow:0 4px 14px rgba(24,34,31,.035); }
.shop-price-title { margin:0 0 14px; color:var(--ink); font:500 22px/1.2 var(--serif); letter-spacing:-.025em; }
.shop-price-range .price_slider_wrapper { padding:0 3px; }
.shop-price-range .price_slider { display:block !important; height:4px; margin:10px 0 18px !important; border:0 !important; border-radius:9px; background:#e1e6dc !important; }
.shop-price-range .ui-slider-range { border:0; border-radius:9px; background:var(--green) !important; }
.shop-price-range .ui-slider-handle { top:-6px !important; width:16px; height:16px; border:3px solid #fff !important; border-radius:50%; background:var(--green) !important; box-shadow:0 0 0 1px var(--green); cursor:ew-resize; }
.shop-price-range .price_slider_amount { display:grid; grid-template-columns:minmax(90px,130px) minmax(90px,130px) auto 1fr; gap:9px; align-items:center; }
.shop-price-range .price_slider_amount input#min_price,.shop-price-range .price_slider_amount input#max_price { width:100%; min-height:38px; padding:7px 10px; border:1px solid #dfe4d9; border-radius:8px; color:var(--ink); font:600 12px var(--sans); }
.shop-price-range .price_slider_amount .button { float:none !important; min-height:38px; padding:0 18px; border-radius:999px; background:var(--green); color:#fff; font-size:12px; font-weight:800; }
.shop-price-range .price_slider_amount .price_label { display:block !important; margin:0; color:#7d8780; font-size:12px; text-align:right; }
.shop-price-range .price_slider_amount .clear { display:none; }
@media(max-width:1199px){ .shop-results ul.products { grid-template-columns:repeat(2,minmax(0,1fr)) !important; gap:16px !important; } }
@media(max-width:600px){ .shop-price-range { padding:15px; } .shop-price-range .price_slider_amount { grid-template-columns:1fr 1fr; } .shop-price-range .price_slider_amount .button { grid-column:1/-1; width:100%; } .shop-price-range .price_slider_amount .price_label { grid-column:1/-1; text-align:left; } }
/* Keep the four-column rule stronger than the base WooCommerce archive grid. */
body.woocommerce-shop .shop-results ul.products,
body.post-type-archive-product .shop-results ul.products,
body.tax-product_cat .shop-results ul.products,
body.tax-product_tag .shop-results ul.products { grid-template-columns:repeat(4,minmax(0,1fr)) !important; }
@media(max-width:1199px){
 body.woocommerce-shop .shop-results ul.products,
 body.post-type-archive-product .shop-results ul.products,
 body.tax-product_cat .shop-results ul.products,
 body.tax-product_tag .shop-results ul.products { grid-template-columns:repeat(2,minmax(0,1fr)) !important; }
}
.shop-filters .shop-price-range { margin:0 0 16px; padding:15px 13px 13px; box-shadow:none; }
.shop-filters .shop-price-title { font-size:19px; }
.shop-filters .price_slider_amount { grid-template-columns:1fr 1fr; gap:7px; }
.shop-filters .price_slider_amount .button { grid-column:1/-1; width:100%; }
.shop-filters .price_slider_amount .price_label { grid-column:1/-1; text-align:left; }
/* Auto-applied range filter; keep the selected bounds level under the slider. */
.shop-price-range .price_slider_amount { display:flex; flex-wrap:wrap; justify-content:center; align-items:center; gap:6px; min-height:22px; }
.shop-price-range .price_slider_amount .button { display:none !important; }
.shop-price-range .price_slider_amount .price_label { display:block !important; float:none !important; margin:0 auto; color:#7d8780; font-size:12px; line-height:1.4; text-align:center; white-space:nowrap; }
.shop-filters .price_slider_amount .price_label { text-align:left; }

/* Let product photos reach the card edges and align prices along each row. */
.shop-results ul.products li.product { padding:0 0 16px !important; overflow:hidden; }
.shop-results ul.products li.product > a.woocommerce-LoopProduct-link { display:flex; flex:1 1 auto; flex-direction:column; width:100%; }
.shop-results ul.products li.product > a.woocommerce-LoopProduct-link img { width:100% !important; height:auto !important; aspect-ratio:1/1.05; margin:0 0 13px !important; border-radius:0 !important; object-fit:cover; }
.shop-results ul.products li.product .woocommerce-loop-product__title { min-height:2.6em; margin:0 0 4px; padding:0 14px; }
.shop-results ul.products li.product .price { display:block; margin-top:auto !important; padding:7px 14px 0; }
/* Remove the remaining inline photo gutter and keep catalog prices black. */
body.woocommerce-shop .shop-results ul.products li.product,
body.post-type-archive-product .shop-results ul.products li.product,
body.tax-product_cat .shop-results ul.products li.product,
body.tax-product_tag .shop-results ul.products li.product { padding:0 0 16px !important; }
body.woocommerce-shop .shop-results ul.products li.product > a.woocommerce-LoopProduct-link,
body.post-type-archive-product .shop-results ul.products li.product > a.woocommerce-LoopProduct-link,
body.tax-product_cat .shop-results ul.products li.product > a.woocommerce-LoopProduct-link,
body.tax-product_tag .shop-results ul.products li.product > a.woocommerce-LoopProduct-link { width:100% !important; }
body.woocommerce-shop .shop-results ul.products li.product .price,
body.woocommerce-shop .shop-results ul.products li.product .price .amount,
body.woocommerce-shop .shop-results ul.products li.product .price del,
body.woocommerce-shop .shop-results ul.products li.product .price del .amount,
body.woocommerce-shop .shop-results ul.products li.product .price ins,
body.woocommerce-shop .shop-results ul.products li.product .price ins .amount,
body.post-type-archive-product .shop-results ul.products li.product .price,
body.post-type-archive-product .shop-results ul.products li.product .price .amount,
body.post-type-archive-product .shop-results ul.products li.product .price del,
body.post-type-archive-product .shop-results ul.products li.product .price del .amount,
body.post-type-archive-product .shop-results ul.products li.product .price ins,
body.post-type-archive-product .shop-results ul.products li.product .price ins .amount,
body.tax-product_cat .shop-results ul.products li.product .price,
body.tax-product_cat .shop-results ul.products li.product .price .amount,
body.tax-product_cat .shop-results ul.products li.product .price del,
body.tax-product_cat .shop-results ul.products li.product .price del .amount,
body.tax-product_cat .shop-results ul.products li.product .price ins,
body.tax-product_cat .shop-results ul.products li.product .price ins .amount { color:#18221f !important; }
/* Match the price filter heading to the sidebar headings without a boxed widget. */
.shop-filters .shop-price-range { margin:0 0 18px !important; padding:0 0 16px !important; border:0 !important; border-radius:0 !important; background:transparent !important; box-shadow:none !important; }
.shop-filters .shop-price-title { margin:0 0 14px !important; padding:0 0 12px; border-bottom:1px solid var(--line); font-size:25px !important; line-height:1.15; }

/* Keep the sidebar focused on filters: style Categories like the price heading. */
.shop-filters .shop-filter-group { border-top:0; padding:0; }
.shop-filters .shop-filter-group h3 { margin:0 0 14px; padding:0 0 12px; border-bottom:1px solid var(--line); color:var(--ink); font:500 25px/1.15 var(--serif); letter-spacing:-.035em; text-transform:none; }
.shop-filters .shop-price-title { display:block; border-bottom:0 !important; }
.shop-filters .shop-price-title::after { content:""; display:block; height:1px; margin-top:12px; background:var(--line); }

/* Use one product name style across the homepage and every WooCommerce listing. */
.home .product-card .product-body h3,
.shop-results ul.products li.product .woocommerce-loop-product__title,
body.woocommerce ul.products li.product .woocommerce-loop-product__title { font-family:Georgia,'Times New Roman',serif !important; font-size:17px !important; font-weight:500 !important; line-height:1.25 !important; letter-spacing:-.03em !important; }
@media(max-width:600px){
 .home .product-card .product-body h3,
 .shop-results ul.products li.product .woocommerce-loop-product__title,
 body.woocommerce ul.products li.product .woocommerce-loop-product__title { font-size:14px !important; font-weight:500 !important; line-height:1.2 !important; }
}

/* Keep homepage product names close to their photos. */
.home .product-card .product-body { padding-top:10px; }
.home .product-card .product-body h3 { margin-top:0; }
@media(max-width:520px){ .home .product-card .product-body { padding-top:8px; } }

/* A compact, fully visible sale badge on product cards. */
.woocommerce ul.products li.product { position:relative; }
.woocommerce ul.products li.product span.onsale { top:12px !important; right:12px !important; left:auto !important; z-index:3; display:flex !important; align-items:center; justify-content:center; min-width:0 !important; min-height:0 !important; margin:0 !important; padding:7px 11px !important; border:1px solid rgba(255,255,255,.75); border-radius:999px !important; background:#1e5b45 !important; color:#fff !important; font:700 11px/1.1 var(--sans) !important; letter-spacing:.06em; text-transform:uppercase; box-shadow:0 3px 10px rgba(24,34,31,.16); transform:none !important; }

/* Seat the sale badge flush in the product image's top-right corner. */
.woocommerce ul.products li.product span.onsale { top:0 !important; right:0 !important; border-top-right-radius:15px !important; border-bottom-right-radius:0 !important; border-top-left-radius:0 !important; border-bottom-left-radius:999px !important; }

/* Single product page: centered layout with a clear gallery and purchase panel. */
body.single-product #primary.site-main { width:min(1280px,calc(100% - 96px)); max-width:none; margin:0 auto; padding:22px 0 76px; }
body.single-product .woocommerce-breadcrumb { margin:0 0 18px; color:var(--muted); font-size:12px; }
body.single-product .woocommerce-breadcrumb a { color:var(--green); }
body.single-product .woocommerce div.product { display:grid; grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr); gap:clamp(30px,5vw,72px); align-items:start; padding:clamp(24px,4vw,52px); border:1px solid var(--line); border-radius:20px; background:#fff; box-shadow:0 12px 36px rgba(24,34,31,.055); }
body.single-product .woocommerce div.product div.images { float:none; width:auto; margin:0; padding:14px; border:1px solid #eef0e9; border-radius:16px; background:#f5f6f2; }
body.single-product .woocommerce div.product div.images .woocommerce-product-gallery__wrapper { margin:0; }
body.single-product .woocommerce div.product div.images img { width:100%; border-radius:11px; object-fit:contain; }
body.single-product .woocommerce div.product div.images .flex-control-thumbs { display:flex; gap:10px; margin-top:12px; }
body.single-product .woocommerce div.product div.images .flex-control-thumbs li { width:72px; float:none; }
body.single-product .woocommerce div.product .summary { float:none; width:auto; margin:0; padding:10px 0; }
body.single-product .woocommerce div.product .product_title { margin:0 0 20px; color:var(--ink); font:500 clamp(34px,4vw,52px)/1.12 var(--serif); letter-spacing:-.045em; }
body.single-product .woocommerce div.product .summary .price { display:flex; flex-wrap:wrap; align-items:baseline; gap:10px; margin:0 0 22px; color:#111; font:700 25px/1.2 var(--sans); }
body.single-product .woocommerce div.product .summary .price del { color:#89918b; font-size:17px; font-weight:400; opacity:1; }
body.single-product .woocommerce div.product .summary .price ins { color:#111; font-weight:750; text-decoration:none; }
body.single-product .woocommerce div.product .woocommerce-product-details__short-description { margin:0 0 25px; color:#59635d; font-size:15px; line-height:1.75; }
body.single-product .woocommerce div.product form.cart { display:flex; flex-wrap:wrap; gap:12px; align-items:center; margin:24px 0 27px; }
body.single-product .woocommerce div.product form.cart .quantity .qty { width:76px; min-height:48px; border:1px solid #dfe4d9; border-radius:10px; background:#fff; font:600 14px var(--sans); }
body.single-product .woocommerce div.product form.cart .single_add_to_cart_button { min-height:48px; padding:0 28px; border-radius:999px; background:var(--green); color:#fff; font-size:13px; font-weight:800; }
body.single-product .woocommerce div.product form.cart .single_add_to_cart_button:hover { background:#164735; }
body.single-product .woocommerce div.product .product_meta { display:grid; gap:9px; padding-top:18px; border-top:1px solid var(--line); color:#68736e; font-size:13px; }
body.single-product .woocommerce div.product .product_meta a { color:var(--green); }
body.single-product .woocommerce div.product .onsale { top:26px !important; left:26px !important; right:auto !important; z-index:4; display:flex !important; align-items:center; justify-content:center; min-width:0 !important; min-height:0 !important; margin:0 !important; padding:8px 13px !important; border:1px solid rgba(255,255,255,.8); border-radius:999px !important; background:var(--green) !important; color:#fff !important; font:700 11px/1.1 var(--sans) !important; letter-spacing:.06em; text-transform:uppercase; box-shadow:0 3px 10px rgba(24,34,31,.16); }
body.single-product .woocommerce div.product .woocommerce-tabs { grid-column:1/-1; margin:0; padding-top:24px; border-top:1px solid var(--line); }
body.single-product .woocommerce div.product .woocommerce-tabs ul.tabs { display:flex; gap:8px; margin:0 0 20px; padding:0; }
body.single-product .woocommerce div.product .woocommerce-tabs ul.tabs::before,
body.single-product .woocommerce div.product .woocommerce-tabs ul.tabs li::before,
body.single-product .woocommerce div.product .woocommerce-tabs ul.tabs li::after { display:none !important; }
body.single-product .woocommerce div.product .woocommerce-tabs ul.tabs li { margin:0; padding:0; border:1px solid var(--line); border-radius:999px; background:#f8f8f4; }
body.single-product .woocommerce div.product .woocommerce-tabs ul.tabs li a { padding:10px 17px; color:#58635d; font-size:12px; font-weight:700; }
body.single-product .woocommerce div.product .woocommerce-tabs ul.tabs li.active { border-color:var(--green); background:var(--green); }
body.single-product .woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color:#fff; }
body.single-product .woocommerce div.product .woocommerce-tabs .panel { margin:0; color:#46514b; line-height:1.8; }
body.single-product .related.products { margin-top:44px; }
body.single-product .related.products > h2 { margin:0 0 22px; font:500 32px/1.15 var(--serif); letter-spacing:-.035em; }
@media(max-width:800px){
 body.single-product #primary.site-main { width:calc(100% - 40px); padding:16px 0 52px; }
 body.single-product .woocommerce div.product { grid-template-columns:minmax(0,1fr); gap:26px; padding:22px; border-radius:17px; }
 body.single-product .woocommerce div.product .summary { padding:0; }
 body.single-product .woocommerce div.product .product_title { font-size:clamp(32px,7vw,44px); }
 body.single-product .woocommerce div.product .woocommerce-tabs { grid-column:auto; }
}
@media(max-width:520px){
 body.single-product #primary.site-main { width:calc(100% - 28px); }
 body.single-product .woocommerce div.product { gap:20px; padding:14px; }
 body.single-product .woocommerce div.product div.images { padding:8px; }
 body.single-product .woocommerce div.product .product_title { margin-bottom:14px; font-size:32px; }
 body.single-product .woocommerce div.product .summary .price { font-size:22px; }
 body.single-product .woocommerce div.product form.cart .single_add_to_cart_button { flex:1 1 auto; }
 body.single-product .woocommerce div.product .woocommerce-tabs ul.tabs { flex-wrap:wrap; }
}
/* Give the 404 page a useful desktop sidebar while keeping the error message readable. */
.error-page__layout{display:grid;grid-template-columns:minmax(230px,280px) minmax(0,1fr);grid-template-areas:"sidebar error";align-items:start;gap:20px;width:min(1244px,calc(100% - 64px));margin-inline:auto}
.error-page__layout .error-card{min-width:0}
.error-page__layout>.error-card{grid-area:error}
.error-page__sidebar{grid-area:sidebar;min-width:0}
@media(max-width:900px){.error-page__layout{grid-template-columns:minmax(0,1fr);grid-template-areas:"error" "sidebar";width:min(720px,calc(100% - 40px));gap:16px}.error-page__sidebar{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.error-page__layout{width:calc(100% - 28px);gap:12px}.error-page__sidebar{grid-template-columns:minmax(0,1fr)}}



/* Match the homepage's 1280px content width and pair details with related items. */
body.single-product #main.site-main { display:flow-root; width:min(1280px,calc(100% - 96px)); max-width:none; margin:0 auto; padding:22px 0 76px; }
body.single-product .woocommerce div.product .woocommerce-tabs { grid-column:1; grid-row:2; min-width:0; }
body.single-product .woocommerce div.product .related.products { grid-column:2; grid-row:2; min-width:0; margin:0; padding-top:24px; border-top:1px solid var(--line); }
body.single-product .woocommerce div.product .related.products ul.products { display:grid !important; grid-template-columns:repeat(2,minmax(0,1fr)) !important; gap:14px !important; }
body.single-product .woocommerce div.product .related.products ul.products li.product { width:auto !important; margin:0 !important; padding:10px !important; }
body.single-product .woocommerce div.product .related.products ul.products li.product .woocommerce-loop-product__title { font-size:15px !important; }
body.single-product .woocommerce div.product .related.products ul.products li.product .price { font-size:14px !important; }
@media(max-width:800px){
 body.single-product #main.site-main { width:calc(100% - 40px); padding:16px 0 52px; }
 body.single-product .woocommerce div.product .woocommerce-tabs { grid-column:1; grid-row:auto; }
 body.single-product .woocommerce div.product .related.products { grid-column:1; grid-row:auto; }
}
@media(max-width:520px){ body.single-product #main.site-main { width:calc(100% - 28px); } }

/* Override WooCommerce's float-based tab and related-product placement. */
body.single-product .woocommerce div.product > .woocommerce-tabs { float:none !important; width:auto !important; clear:none !important; grid-column:1 / 2 !important; grid-row:2 !important; }
body.single-product .woocommerce div.product > .related.products { float:none !important; width:auto !important; clear:none !important; grid-column:2 / 3 !important; grid-row:2 !important; align-self:start; }

/* Keep the description and related products paired in one balanced row. */
body.single-product .woocommerce div.product > .shahriar-product-details-related { grid-column:1 / -1; grid-row:auto; display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:clamp(24px,4vw,54px); align-items:start; min-width:0; margin-top:10px; padding-top:28px; border-top:1px solid var(--line); }
body.single-product .woocommerce div.product > .shahriar-product-details-related .woocommerce-tabs { float:none !important; width:auto !important; clear:none !important; margin:0 !important; padding:0 !important; border:0 !important; grid-column:auto !important; grid-row:auto !important; }
body.single-product .woocommerce div.product > .shahriar-product-details-related .related.products { float:none !important; width:auto !important; clear:none !important; min-width:0; margin:0 !important; padding:0 !important; border:0 !important; grid-column:auto !important; grid-row:auto !important; }
body.single-product .woocommerce div.product > .shahriar-product-details-related .related.products ul.products { display:grid !important; grid-template-columns:repeat(2,minmax(0,1fr)) !important; gap:12px !important; }
body.single-product .woocommerce div.product > .shahriar-product-details-related .related.products ul.products li.product { width:auto !important; margin:0 !important; padding:8px !important; }
@media(max-width:800px){ body.single-product .woocommerce div.product > .shahriar-product-details-related { grid-template-columns:minmax(0,1fr); gap:28px; } }
body.single-product .woocommerce div.product > .shahriar-product-details-related { width:100% !important; }
body.single-product .woocommerce div.product > .shahriar-product-details-related > .woocommerce-tabs,
body.single-product .woocommerce div.product > .shahriar-product-details-related > .shahriar-related-panel { width:100% !important; min-width:0; }
@media(max-width:800px){ body.single-product .woocommerce div.product > .shahriar-product-details-related { grid-template-columns:minmax(0,1fr) !important; } }

/* Make product details wide on the left and compact related items a right sidebar. */
body.single-product .woocommerce div.product > .shahriar-product-details-related { grid-template-columns:minmax(0,1fr) 250px !important; gap:26px !important; }
body.single-product .woocommerce div.product > .shahriar-product-details-related .related.products { padding:18px 14px !important; border:1px solid var(--line) !important; border-radius:15px; background:#fff; box-shadow:0 5px 18px rgba(24,34,31,.04); }
body.single-product .woocommerce div.product > .shahriar-product-details-related .related.products > h2 { margin:0 0 14px; font:500 21px/1.2 var(--serif); letter-spacing:-.025em; }
body.single-product .woocommerce div.product > .shahriar-product-details-related .related.products ul.products { grid-template-columns:minmax(0,1fr) !important; gap:0 !important; margin:0 !important; }
body.single-product .woocommerce div.product > .shahriar-product-details-related .related.products ul.products li.product { display:grid !important; grid-template-columns:72px minmax(0,1fr); column-gap:10px; align-items:center; padding:12px 0 !important; border:0; border-bottom:1px solid var(--line); border-radius:0; background:transparent; box-shadow:none; }
body.single-product .woocommerce div.product > .shahriar-product-details-related .related.products ul.products li.product:last-child { border-bottom:0; }
body.single-product .woocommerce div.product > .shahriar-product-details-related .related.products ul.products li.product > a.woocommerce-LoopProduct-link { display:grid; grid-template-columns:72px minmax(0,1fr); grid-template-rows:auto auto; grid-column:1/-1; align-items:center; column-gap:10px; row-gap:5px; width:100%; }
body.single-product .woocommerce div.product > .shahriar-product-details-related .related.products ul.products li.product > a.woocommerce-LoopProduct-link img { grid-column:1; grid-row:1/3; width:72px !important; height:72px !important; margin:0 !important; aspect-ratio:1; border-radius:8px !important; object-fit:cover; }
body.single-product .woocommerce div.product > .shahriar-product-details-related .related.products ul.products li.product .woocommerce-loop-product__title { grid-column:2; grid-row:1; min-height:0; margin:0; padding:0; font-size:12px !important; line-height:1.35 !important; }
body.single-product .woocommerce div.product > .shahriar-product-details-related .related.products ul.products li.product .price { grid-column:2; grid-row:2; margin:0 !important; padding:0 !important; font-size:13px !important; }
body.single-product .woocommerce div.product > .shahriar-product-details-related .related.products ul.products li.product .button { display:none !important; }
@media(max-width:800px){ body.single-product .woocommerce div.product > .shahriar-product-details-related { grid-template-columns:minmax(0,1fr) !important; } }

/* Compact product recommendations beside the full-width description. */
body.single-product .shahriar-product-details-related { grid-template-columns:minmax(0,1fr) 250px !important; align-items:start; }
body.single-product .shahriar-related-products { min-width:0; padding:18px 14px; border:1px solid var(--line); border-radius:15px; background:#fff; box-shadow:0 5px 18px rgba(24,34,31,.04); }
body.single-product .shahriar-related-products h2 { margin:0 0 12px; font:500 21px/1.2 var(--serif); letter-spacing:-.025em; }
body.single-product .shahriar-related-products ul { margin:0; padding:0; list-style:none; }
body.single-product .shahriar-related-products li { display:grid; grid-template-columns:68px minmax(0,1fr); gap:10px; align-items:center; padding:12px 0; border-bottom:1px solid var(--line); }
body.single-product .shahriar-related-products li:last-child { border-bottom:0; }
body.single-product .shahriar-related-thumb img { display:block; width:68px; height:68px; border-radius:8px; background:#f4f5f0; object-fit:cover; }
body.single-product .shahriar-related-info { display:grid; gap:5px; min-width:0; }
body.single-product .shahriar-related-name { color:var(--ink); font:600 12px/1.35 Georgia,'Times New Roman',serif; }
body.single-product .shahriar-related-price { color:#111; font:700 13px/1.3 var(--sans); }
body.single-product .shahriar-related-price del { color:#8a928d; font-weight:400; }
body.single-product .shahriar-related-price ins { color:#111; text-decoration:none; }
@media(max-width:800px){ body.single-product .shahriar-product-details-related { grid-template-columns:minmax(0,1fr) !important; } }

body.single-product .shahriar-related-products h2 { margin-bottom:12px; padding-bottom:12px; border-bottom:1px solid var(--line); }

/* Show description and reviews together; links jump to each section. */
body.single-product .shahriar-product-copy { min-width:0; }
body.single-product .shahriar-product-section-nav { display:flex; flex-wrap:wrap; gap:8px; margin:0 0 26px; padding:0 0 14px; border-bottom:1px solid var(--line); }
body.single-product .shahriar-product-section-nav a { display:inline-flex; align-items:center; min-height:40px; padding:0 16px; border:1px solid var(--line); border-radius:999px; background:#f8f8f4; color:#58635d; font-size:13px; font-weight:700; }
body.single-product .shahriar-product-section-nav a:hover,
body.single-product .shahriar-product-section-nav a:focus-visible { border-color:var(--green); background:var(--green); color:#fff; }
body.single-product .shahriar-product-description,
body.single-product .shahriar-product-reviews { scroll-margin-top:100px; color:#46514b; line-height:1.8; }
body.single-product .shahriar-product-description { padding-bottom:28px; }
body.single-product .shahriar-product-description h2,
body.single-product .shahriar-product-reviews h2 { margin:0 0 14px; color:var(--ink); font:500 28px/1.2 var(--serif); letter-spacing:-.025em; }
body.single-product .shahriar-product-reviews { padding-top:26px; border-top:1px solid var(--line); }
body.single-product .shahriar-product-reviews #reviews { margin:0; }
body.single-product .shahriar-product-reviews .woocommerce-Reviews-title { font-size:21px; }

/* Separate the product image/purchase panel from the description/reviews panel. */
body.single-product .woocommerce div.product { gap:0 !important; padding:0 !important; border:0 !important; border-radius:0 !important; background:transparent !important; box-shadow:none !important; overflow:visible; }
body.single-product .woocommerce div.product div.images { margin:0 !important; padding:18px !important; border:1px solid var(--line) !important; border-right:0 !important; border-radius:18px 0 0 18px !important; background:#fff !important; }
body.single-product .woocommerce div.product .summary { margin:0 !important; padding:clamp(24px,4vw,48px) !important; border:1px solid var(--line); border-left:0; border-radius:0 18px 18px 0; background:#fff; }
body.single-product .woocommerce div.product > .shahriar-product-details-related { margin-top:28px !important; padding:clamp(24px,4vw,42px) !important; border:1px solid var(--line) !important; border-radius:18px; background:#fff; box-shadow:0 8px 26px rgba(24,34,31,.045); }
@media(max-width:800px){
 body.single-product .woocommerce div.product { gap:0 !important; }
 body.single-product .woocommerce div.product div.images { border-right:1px solid var(--line) !important; border-radius:16px 16px 0 0 !important; }
 body.single-product .woocommerce div.product .summary { padding:24px !important; border:1px solid var(--line); border-top:0; border-radius:0 0 16px 16px; }
 body.single-product .woocommerce div.product > .shahriar-product-details-related { margin-top:22px !important; padding:20px !important; }
}
@media(max-width:520px){ body.single-product .woocommerce div.product .summary { padding:20px !important; } }

/* Reviews form its own third panel beneath the description section. */
body.single-product .woocommerce div.product > .shahriar-product-review-panel { grid-column:1/-1; width:100%; margin:24px 0 0 !important; padding:clamp(24px,4vw,42px) !important; border:1px solid var(--line); border-radius:18px; background:#fff; box-shadow:0 8px 26px rgba(24,34,31,.045); }
body.single-product .woocommerce div.product > .shahriar-product-review-panel .woocommerce-Reviews { margin:0; }
body.single-product .woocommerce div.product > .shahriar-product-review-panel .woocommerce-Reviews-title { margin:0 0 16px; color:var(--ink); font:500 28px/1.2 var(--serif); letter-spacing:-.025em; }
body.single-product .woocommerce div.product > .shahriar-product-review-panel #review_form_wrapper { margin-top:18px; }
@media(max-width:800px){ body.single-product .woocommerce div.product > .shahriar-product-review-panel { grid-column:1; margin-top:20px !important; padding:20px !important; } }

/* Keep visible site-background gutters between the three independent panels. */
body.single-product .woocommerce div.product > .shahriar-product-details-related { margin-top:34px !important; border-color:#dfe4df !important; }
body.single-product .woocommerce div.product > .shahriar-product-review-panel { margin-top:34px !important; border-color:#dfe4df !important; }
body.single-product .woocommerce div.product div.images { border-color:#dfe4df !important; }
body.single-product .woocommerce div.product .summary { border-color:#dfe4df !important; }
@media(max-width:800px){
 body.single-product .woocommerce div.product > .shahriar-product-details-related,
 body.single-product .woocommerce div.product > .shahriar-product-review-panel { margin-top:26px !important; }
}

/* A clearer cool background makes each white product section visibly distinct. */
body.single-product { background:#eef2f6 !important; }
body.single-product #main.site-main { background:transparent !important; }
body.single-product .woocommerce div.product > .shahriar-product-details-related,
body.single-product .woocommerce div.product > .shahriar-product-review-panel { background:#fff !important; }
body.single-product .woocommerce div.product { background:#eef2f6 !important; }
/* Keep the outer Woo product grid transparent to the page color between its cards. */
body.single-product #main .product { background:#eef2f6 !important; }
body.single-product .woocommerce div.product > .shahriar-product-details-related { margin-bottom:34px !important; }

/* Give the description its own white card, with the site background visible before Reviews. */
body.single-product .woocommerce div.product > .shahriar-product-details-related { background:transparent !important; border:0 !important; box-shadow:none !important; padding:0 !important; }
body.single-product .woocommerce div.product > .shahriar-product-details-related > .shahriar-product-copy { min-width:0; padding:clamp(24px,4vw,42px); border:1px solid #dfe4df; border-radius:18px; background:#fff !important; box-shadow:0 8px 26px rgba(24,34,31,.045); }
body.single-product .woocommerce div.product > .shahriar-product-details-related > .shahriar-related-products { align-self:start; }
body.single-product .woocommerce div.product > .shahriar-product-review-panel { margin-top:34px !important; }
@media(max-width:800px){
 body.single-product .woocommerce div.product > .shahriar-product-details-related > .shahriar-product-copy { padding:20px; }
 body.single-product .woocommerce div.product > .shahriar-product-review-panel { margin-top:26px !important; }
}

body.single-product .woocommerce div.product div.images,
body.single-product .woocommerce div.product .summary { background:#fff !important; }

/* Match the reference: separate white information cards with the page background between them. */
body.single-product { background:#eef2f6 !important; }
body.single-product #main.site-main,
body.single-product #main .product { background:transparent !important; }
body.single-product .woocommerce div.product > .shahriar-product-details-related { display:grid !important; grid-template-columns:minmax(0,1fr) 250px !important; gap:22px !important; margin:34px 0 0 !important; padding:0 !important; border:0 !important; border-radius:0 !important; background:transparent !important; box-shadow:none !important; }
body.single-product .woocommerce div.product > .shahriar-product-details-related > .shahriar-product-copy { display:flex; flex-direction:column; gap:22px; min-width:0; padding:0 !important; border:0 !important; border-radius:0 !important; background:transparent !important; box-shadow:none !important; }
body.single-product .woocommerce div.product .shahriar-product-section-nav { gap:12px; margin:0 !important; padding:16px 20px !important; border:1px solid #dfe4df !important; border-radius:14px; background:#fff !important; box-shadow:0 5px 18px rgba(24,34,31,.035); }
body.single-product .woocommerce div.product .shahriar-product-description { margin:0 !important; padding:24px !important; border:1px solid #dfe4df !important; border-radius:14px; background:#fff !important; box-shadow:0 5px 18px rgba(24,34,31,.035); }
body.single-product .woocommerce div.product > .shahriar-product-details-related > .shahriar-related-products { align-self:start; margin:0 !important; }
body.single-product .woocommerce div.product > .shahriar-product-review-panel { margin:34px 0 0 !important; padding:24px !important; border:1px solid #dfe4df !important; border-radius:14px; background:#fff !important; box-shadow:0 5px 18px rgba(24,34,31,.035); }
body.single-product .woocommerce div.product div.images,
body.single-product .woocommerce div.product .summary { background:#fff !important; }
@media(max-width:800px){
 body.single-product .woocommerce div.product > .shahriar-product-details-related { grid-template-columns:minmax(0,1fr) !important; gap:22px !important; margin-top:26px !important; }
 body.single-product .woocommerce div.product > .shahriar-product-details-related > .shahriar-product-copy { gap:18px; }
 body.single-product .woocommerce div.product .shahriar-product-section-nav { padding:14px !important; }
 body.single-product .woocommerce div.product .shahriar-product-description,
 body.single-product .woocommerce div.product > .shahriar-product-review-panel { padding:20px !important; }
 body.single-product .woocommerce div.product > .shahriar-product-review-panel { margin-top:26px !important; }
}


/* High-specificity product layout overrides (the theme's product wrapper has no .woocommerce ancestor). */
body.single-product #main div.product { gap:0 !important; padding:0 !important; border:0 !important; border-radius:0 !important; background:transparent !important; box-shadow:none !important; overflow:visible !important; }
body.single-product #main div.product > .images,
body.single-product #main div.product > .summary { background:#fff !important; }
body.single-product #main div.product > .shahriar-product-details-related { display:grid !important; grid-template-columns:minmax(0,1fr) 250px !important; gap:22px !important; margin:34px 0 0 !important; padding:0 !important; border:0 !important; border-radius:0 !important; background:transparent !important; box-shadow:none !important; }
body.single-product #main div.product > .shahriar-product-details-related > .shahriar-product-copy { display:flex; flex-direction:column; gap:22px; min-width:0; margin:0 !important; padding:0 !important; border:0 !important; border-radius:0 !important; background:transparent !important; box-shadow:none !important; }
body.single-product #main div.product .shahriar-product-section-nav { margin:0 !important; padding:16px 20px !important; border:1px solid #dfe4df !important; border-radius:14px; background:#fff !important; box-shadow:0 5px 18px rgba(24,34,31,.035); }
body.single-product #main div.product .shahriar-product-description { margin:0 !important; padding:24px !important; border:1px solid #dfe4df !important; border-radius:14px; background:#fff !important; box-shadow:0 5px 18px rgba(24,34,31,.035); }
body.single-product #main div.product > .shahriar-product-details-related > .shahriar-related-products { align-self:start; margin:0 !important; }
body.single-product #main div.product > .shahriar-product-review-panel { grid-column:1/-1 !important; margin:34px 0 0 !important; padding:24px !important; border:1px solid #dfe4df !important; border-radius:14px; background:#fff !important; box-shadow:0 5px 18px rgba(24,34,31,.035); }
@media(max-width:800px){
 body.single-product #main div.product > .shahriar-product-details-related { grid-template-columns:minmax(0,1fr) !important; gap:22px !important; margin-top:26px !important; }
 body.single-product #main div.product > .shahriar-product-details-related > .shahriar-product-copy { gap:18px; }
 body.single-product #main div.product .shahriar-product-section-nav { padding:14px !important; }
 body.single-product #main div.product .shahriar-product-description,
 body.single-product #main div.product > .shahriar-product-review-panel { padding:20px !important; }
 body.single-product #main div.product > .shahriar-product-review-panel { margin-top:26px !important; }
}


/* The photo and purchase details form one continuous product card. */
body.single-product #main div.product { display:grid !important; grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr) !important; align-items:stretch !important; gap:0 !important; padding:0 !important; border:0 !important; border-radius:0 !important; background:transparent !important; box-shadow:none !important; }
body.single-product #main div.product > .images { float:none !important; width:auto !important; min-width:0; margin:0 !important; padding:18px !important; border:1px solid #dfe4df !important; border-right:0 !important; border-radius:18px 0 0 18px !important; background:#fff !important; }
body.single-product #main div.product > .summary { float:none !important; width:auto !important; min-width:0; margin:0 !important; padding:clamp(24px,4vw,48px) !important; border:1px solid #dfe4df !important; border-left:0 !important; border-radius:0 18px 18px 0 !important; background:#fff !important; }
@media(max-width:800px){
 body.single-product #main div.product { grid-template-columns:minmax(0,1fr) !important; }
 body.single-product #main div.product > .images { border:1px solid #dfe4df !important; border-bottom:0 !important; border-radius:18px 18px 0 0 !important; }
 body.single-product #main div.product > .summary { padding:24px !important; border:1px solid #dfe4df !important; border-top:0 !important; border-radius:0 0 18px 18px !important; }
}
@media(max-width:520px){ body.single-product #main div.product > .summary { padding:20px !important; } }


/* Tighten spacing between the separate product cards. */
body.single-product #main div.product > .shahriar-product-details-related { column-gap:16px !important; row-gap:14px !important; margin-top:18px !important; }
body.single-product #main div.product > .shahriar-product-details-related > .shahriar-product-copy { gap:14px !important; }
body.single-product #main div.product > .shahriar-product-review-panel { margin-top:18px !important; }
@media(max-width:800px){
 body.single-product #main div.product > .shahriar-product-details-related { row-gap:14px !important; margin-top:14px !important; }
 body.single-product #main div.product > .shahriar-product-details-related > .shahriar-product-copy { gap:14px !important; }
 body.single-product #main div.product > .shahriar-product-review-panel { margin-top:14px !important; }
}


/* Use a consistent 10px gap between all product page cards on every screen size. */
body.single-product #main div.product > .shahriar-product-details-related { column-gap:10px !important; row-gap:10px !important; margin-top:10px !important; }
body.single-product #main div.product > .shahriar-product-details-related > .shahriar-product-copy { gap:10px !important; }
body.single-product #main div.product > .shahriar-product-review-panel { margin-top:10px !important; }
@media(max-width:800px){
 body.single-product #main div.product > .shahriar-product-details-related { row-gap:10px !important; margin-top:10px !important; }
 body.single-product #main div.product > .shahriar-product-details-related > .shahriar-product-copy { gap:10px !important; }
 body.single-product #main div.product > .shahriar-product-review-panel { margin-top:10px !important; }
}


/* Keep the review content in the left column and show matching products on its right. */
body.single-product #main div.product > .shahriar-product-review-panel { display:grid !important; grid-template-columns:minmax(0,1fr) 250px !important; gap:10px !important; align-items:start; }
body.single-product #main div.product > .shahriar-product-review-panel > .shahriar-product-review-content { min-width:0; }
body.single-product #main div.product > .shahriar-product-review-panel > .shahriar-related-products { align-self:start; margin:0 !important; }
@media(max-width:800px){
 body.single-product #main div.product > .shahriar-product-review-panel { grid-template-columns:minmax(0,1fr) !important; gap:10px !important; }
}


/* Match the Reviews card width to the description column; leave its right side open. */
body.single-product #main div.product > .shahriar-product-review-panel { display:block !important; grid-column:1/-1 !important; width:calc(100% - 260px) !important; margin-top:10px !important; }
body.single-product #main div.product > .shahriar-product-review-panel > .shahriar-product-review-content { width:100%; }
@media(max-width:800px){
 body.single-product #main div.product > .shahriar-product-review-panel { width:100% !important; }
}


/* Reduce excess top padding before the Reviews heading inside its card. */
body.single-product #main div.product > .shahriar-product-review-panel { padding:14px 20px 20px !important; }
body.single-product #main div.product > .shahriar-product-review-panel .woocommerce-Reviews,
body.single-product #main div.product > .shahriar-product-review-panel #comments { margin:0 !important; padding:0 !important; }
body.single-product #main div.product > .shahriar-product-review-panel .woocommerce-Reviews-title { margin:0 0 10px !important; padding:0 !important; }
@media(max-width:800px){
 body.single-product #main div.product > .shahriar-product-review-panel { padding:12px 16px 16px !important; }
}


/* Normalize the Description panel's top whitespace and underline both section titles. */
body.single-product #main div.product .shahriar-product-description { padding-top:16px !important; }
body.single-product #main div.product .shahriar-product-description h2 { margin:0 0 14px !important; padding:0 0 10px !important; border-bottom:1px solid #e2e7eb !important; }
body.single-product #main div.product > .shahriar-product-review-panel .woocommerce-Reviews-title { margin:0 0 14px !important; padding:0 0 10px !important; border-bottom:1px solid #e2e7eb !important; }
@media(max-width:800px){ body.single-product #main div.product .shahriar-product-description { padding-top:14px !important; } }


/* Refine the single product Sale label and attach it neatly to the card corner. */
body.single-product #main div.product > span.onsale { position:absolute !important; top:0 !important; left:0 !important; right:auto !important; z-index:6; display:inline-flex !important; align-items:center; justify-content:center; min-width:0 !important; min-height:0 !important; margin:0 !important; padding:9px 15px !important; border:0 !important; border-radius:0 0 12px 0 !important; background:#1e5b45 !important; color:#fff !important; font:700 12px/1.2 var(--sans) !important; letter-spacing:.04em; text-transform:uppercase; box-shadow:0 3px 9px rgba(24,34,31,.14); transform:none !important; }



/* Present approved reviews as a clean divider list with round profile photos. */
body.single-product #main .shahriar-product-review-panel ol.commentlist { list-style:none !important; margin:0 !important; padding:0 !important; }
body.single-product #main .shahriar-product-review-panel ol.commentlist > li.review { margin:0 !important; padding:14px 0 !important; border:0 !important; border-bottom:1px solid #e2e7eb !important; border-radius:0 !important; background:transparent !important; box-shadow:none !important; }
body.single-product #main .shahriar-product-review-panel ol.commentlist > li.review .comment_container { display:flex; align-items:flex-start; gap:12px; }
body.single-product #main .shahriar-product-review-panel ol.commentlist > li.review img.avatar { float:none !important; flex:0 0 44px; width:44px !important; height:44px !important; margin:0 !important; padding:0 !important; border:2px solid #fff; border-radius:50% !important; object-fit:cover; box-shadow:0 0 0 1px #dfe4df; }
body.single-product #main .shahriar-product-review-panel ol.commentlist > li.review .comment-text { flex:1; min-width:0; margin:0 !important; padding:2px 0 !important; border:0 !important; border-radius:0 !important; background:transparent !important; box-shadow:none !important; }
body.single-product #main .shahriar-product-review-panel ol.commentlist > li.review .meta { margin:0 0 8px !important; }
body.single-product #main .shahriar-product-review-panel ol.commentlist > li.review .description p { margin:0 !important; }
@media(max-width:520px){
 body.single-product #main .shahriar-product-review-panel ol.commentlist > li.review { padding:12px 0 !important; }
 body.single-product #main .shahriar-product-review-panel ol.commentlist > li.review img.avatar { flex-basis:38px; width:38px !important; height:38px !important; }
}


/* Refine each review row: compact avatar, readable author line, aligned rating. */
body.single-product #main .shahriar-product-review-panel ol.commentlist > li.review { padding:16px 0 !important; border-bottom:1px solid #e4e9ed !important; }
body.single-product #main .shahriar-product-review-panel ol.commentlist > li.review .comment_container { display:grid !important; grid-template-columns:44px minmax(0,1fr) !important; gap:14px !important; align-items:start !important; }
body.single-product #main .shahriar-product-review-panel ol.commentlist > li.review img.avatar { display:block !important; float:none !important; position:static !important; width:44px !important; height:44px !important; min-width:44px !important; margin:0 !important; padding:0 !important; border:2px solid #fff !important; border-radius:50% !important; object-fit:cover !important; box-shadow:0 0 0 1px #dfe4df !important; }
body.single-product #main .shahriar-product-review-panel ol.commentlist > li.review .comment-text { display:grid !important; grid-template-columns:minmax(0,1fr) auto !important; grid-template-rows:auto auto; column-gap:16px !important; row-gap:7px !important; align-items:center !important; min-width:0; width:100% !important; margin:0 !important; padding:2px 0 0 !important; border:0 !important; border-radius:0 !important; background:transparent !important; box-shadow:none !important; }
body.single-product #main .shahriar-product-review-panel ol.commentlist > li.review .meta { grid-column:1; grid-row:1; display:flex !important; flex-wrap:wrap; align-items:center; gap:6px 10px; min-width:0; margin:0 !important; padding:0 !important; color:#77818a; font-size:12px; line-height:1.4; }
body.single-product #main .shahriar-product-review-panel ol.commentlist > li.review .meta .woocommerce-review__author { color:#26343e; font-size:13px; font-weight:700; letter-spacing:.01em; }
body.single-product #main .shahriar-product-review-panel ol.commentlist > li.review .meta time { color:#88929b; font-size:11px; font-weight:600; letter-spacing:.04em; }
body.single-product #main .shahriar-product-review-panel ol.commentlist > li.review .star-rating { grid-column:2; grid-row:1; float:none !important; justify-self:end; margin:0 !important; font-size:14px; }
body.single-product #main .shahriar-product-review-panel ol.commentlist > li.review .description { grid-column:1/-1; grid-row:2; margin:0 !important; color:#37434c; font-size:14px; line-height:1.55; }
body.single-product #main .shahriar-product-review-panel ol.commentlist > li.review .description p { margin:0 !important; }
@media(max-width:520px){
 body.single-product #main .shahriar-product-review-panel ol.commentlist > li.review { padding:13px 0 !important; }
 body.single-product #main .shahriar-product-review-panel ol.commentlist > li.review .comment_container { grid-template-columns:38px minmax(0,1fr) !important; gap:10px !important; }
 body.single-product #main .shahriar-product-review-panel ol.commentlist > li.review img.avatar { width:38px !important; height:38px !important; min-width:38px !important; }
 body.single-product #main .shahriar-product-review-panel ol.commentlist > li.review .comment-text { grid-template-columns:minmax(0,1fr) auto !important; column-gap:8px !important; }
 body.single-product #main .shahriar-product-review-panel ol.commentlist > li.review .meta { font-size:11px; }
 body.single-product #main .shahriar-product-review-panel ol.commentlist > li.review .star-rating { font-size:12px; }
}


/* Keep one sticky Similar products sidebar beside the full description and review stack. */
body.single-product #main div.product > .shahriar-product-lower-layout { display:grid !important; grid-template-columns:minmax(0,1fr) 250px !important; gap:10px !important; align-items:start !important; grid-column:1/-1 !important; width:100% !important; margin-top:10px !important; }
body.single-product #main div.product .shahriar-product-lower-main { display:flex; flex-direction:column; gap:10px; min-width:0; }
body.single-product #main div.product .shahriar-product-details-related { display:block !important; min-width:0; width:auto !important; margin:0 !important; padding:0 !important; border:0 !important; border-radius:0 !important; background:transparent !important; box-shadow:none !important; }
body.single-product #main div.product .shahriar-product-copy { display:flex; flex-direction:column; gap:10px !important; min-width:0; margin:0 !important; padding:0 !important; border:0 !important; border-radius:0 !important; background:transparent !important; box-shadow:none !important; }
body.single-product #main div.product .shahriar-product-lower-layout > .shahriar-related-products { position:sticky; top:96px; align-self:start; width:100%; max-height:calc(100vh - 112px); overflow:auto; }
body.single-product #main div.product .shahriar-product-review-panel { display:block !important; width:100% !important; margin:0 !important; padding:14px 20px 20px !important; }
body.single-product #main div.product .shahriar-product-review-content { min-width:0; width:100%; }
body.single-product #main .shahriar-product-review-panel ol.commentlist > li.review .comment_container { grid-template-columns:52px minmax(0,1fr) !important; }
body.single-product #main .shahriar-product-review-panel ol.commentlist > li.review img.avatar { flex-basis:52px; width:52px !important; height:52px !important; min-width:52px !important; }
@media(max-width:800px){
 body.single-product #main div.product > .shahriar-product-lower-layout { grid-template-columns:minmax(0,1fr) !important; gap:10px !important; }
 body.single-product #main div.product .shahriar-product-lower-layout > .shahriar-related-products { position:static; max-height:none; overflow:visible; }
 body.single-product #main div.product .shahriar-product-review-panel { padding:12px 16px 16px !important; }
 body.single-product #main .shahriar-product-review-panel ol.commentlist > li.review .comment_container { grid-template-columns:44px minmax(0,1fr) !important; }
 body.single-product #main .shahriar-product-review-panel ol.commentlist > li.review img.avatar { flex-basis:44px; width:44px !important; height:44px !important; min-width:44px !important; }
}



/* Put the complete reviews list and submission form inside one distinct card. */
body.single-product #main div.product .shahriar-product-review-panel { display:block !important; width:100% !important; margin:0 !important; padding:16px 18px 20px !important; border:1px solid #dfe4df !important; border-radius:14px !important; background:#fff !important; box-shadow:0 5px 18px rgba(24,34,31,.045) !important; }
body.single-product #main div.product .shahriar-product-review-panel .shahriar-product-review-content,
body.single-product #main div.product .shahriar-product-review-panel #reviews { width:100%; margin:0 !important; padding:0 !important; }
body.single-product #main div.product .shahriar-product-review-panel #review_form_wrapper { margin-top:16px !important; padding-top:14px; border-top:1px solid #e4e9ed; }
@media(max-width:800px){ body.single-product #main div.product .shahriar-product-review-panel { padding:14px 15px 16px !important; } }


/* Tighten the reviews heading spacing and add its divider inside the full review card. */
body.single-product #main div.product .shahriar-product-review-panel { padding-top:12px !important; }
body.single-product #main div.product .shahriar-product-review-panel .woocommerce-Reviews-title { display:block; margin:0 0 12px !important; padding:0 0 10px !important; border-bottom:1px solid #e2e7eb !important; line-height:1.3 !important; }
body.single-product #main div.product .shahriar-product-review-panel #comments { margin-top:0 !important; padding-top:0 !important; }


/* Finish the review form with a divider under its heading and a branded submit button. */
body.single-product #main .shahriar-product-review-panel #reply-title { margin:0 0 14px !important; padding:0 0 10px !important; border-bottom:1px solid #e2e7eb !important; color:var(--ink); font-size:20px; line-height:1.35; }
body.single-product #main .shahriar-product-review-panel #submit,
body.single-product #main .shahriar-product-review-panel .form-submit input[type="submit"] { min-height:42px; padding:0 20px !important; border:1px solid #1e5b45 !important; border-radius:8px !important; background:#1e5b45 !important; color:#fff !important; font:700 14px/1 var(--sans) !important; cursor:pointer; transition:background-color .18s ease,border-color .18s ease; }
body.single-product #main .shahriar-product-review-panel #submit:hover,
body.single-product #main .shahriar-product-review-panel .form-submit input[type="submit"]:hover { border-color:#164735 !important; background:#164735 !important; }


/* Match the Add a review heading to the larger reviews title. */
body.single-product #main .shahriar-product-review-panel #reply-title { font-size:28px !important; font-weight:700 !important; line-height:1.25 !important; }
@media(max-width:600px){ body.single-product #main .shahriar-product-review-panel #reply-title { font-size:24px !important; } }


/* Extend the Add a review divider across the full review card content width. */
body.single-product #main .shahriar-product-review-panel #reply-title { display:block !important; width:100% !important; box-sizing:border-box !important; border-bottom:1px solid #e2e7eb !important; }


/* Avoid a doubled divider between the last review and the review form. */
body.single-product #main .shahriar-product-review-panel #review_form_wrapper { margin-top:10px !important; padding-top:0 !important; border-top:0 !important; }


/* Split the review list and Add a review form into two separate cards. */
body.single-product #main div.product .shahriar-product-review-panel { padding:0 !important; border:0 !important; border-radius:0 !important; background:transparent !important; box-shadow:none !important; }
body.single-product #main div.product .shahriar-product-review-panel .woocommerce-Reviews { display:flex; flex-direction:column; gap:10px; }
body.single-product #main div.product .shahriar-product-review-panel #comments,
body.single-product #main div.product .shahriar-product-review-panel #review_form_wrapper { box-sizing:border-box; width:100%; padding:14px 18px 18px !important; border:1px solid #dfe4df !important; border-radius:14px !important; background:#fff !important; box-shadow:0 5px 18px rgba(24,34,31,.045) !important; }
body.single-product #main div.product .shahriar-product-review-panel #comments { margin:0 !important; }
body.single-product #main div.product .shahriar-product-review-panel #review_form_wrapper { margin:0 !important; border-top:1px solid #dfe4df !important; }
@media(max-width:800px){
 body.single-product #main div.product .shahriar-product-review-panel #comments,
 body.single-product #main div.product .shahriar-product-review-panel #review_form_wrapper { padding:12px 14px 16px !important; }
}


/* Remove the trailing divider after the final review and tighten card-bottom spacing. */
body.single-product #main .shahriar-product-review-panel ol.commentlist > li.review:last-child { padding-bottom:4px !important; border-bottom:0 !important; }
body.single-product #main .shahriar-product-review-panel #comments { padding-bottom:10px !important; }


/* Style the review textarea to match the product page cards. */
body.single-product #main .shahriar-product-review-panel #comment { display:block; box-sizing:border-box; width:100% !important; min-height:140px; margin:8px 0 0 !important; padding:13px 15px !important; border:1px solid #d8e0e5 !important; border-radius:10px !important; background:#fbfcfd !important; color:#26343e !important; font:400 14px/1.6 var(--sans) !important; resize:vertical; transition:border-color .18s ease,box-shadow .18s ease,background-color .18s ease; }
body.single-product #main .shahriar-product-review-panel #comment::placeholder { color:#9aa5ad; }
body.single-product #main .shahriar-product-review-panel #comment:focus { outline:none !important; border-color:#1e5b45 !important; background:#fff !important; box-shadow:0 0 0 3px rgba(30,91,69,.12) !important; }


/* Keep the review textarea compact while allowing manual resizing. */
body.single-product #main .shahriar-product-review-panel #comment { height:96px; min-height:96px !important; max-height:none !important; resize:vertical !important; }



/* Highlight the selected Description or Reviews section link. */
body.single-product #main div.product .shahriar-product-section-nav a.is-active,
body.single-product #main div.product .shahriar-product-section-nav a.is-active:hover { border-color:#1e5b45 !important; background:#1e5b45 !important; color:#fff !important; box-shadow:0 3px 9px rgba(30,91,69,.18); }


/* Cart page: a spacious cart card beside a compact similar-products sidebar. */
body.woocommerce-cart main.wrap { width:min(1280px,calc(100% - 48px)); max-width:none; margin:32px auto 72px; }
body.woocommerce-cart main.wrap > article.single-content { width:100%; max-width:none; margin:0; padding:0; border:0; border-radius:0; background:transparent; box-shadow:none; }
body.woocommerce-cart main.wrap > article.single-content > h1 { margin:0 0 18px; color:var(--ink); font:500 clamp(32px,4vw,46px)/1.1 var(--serif); letter-spacing:-.035em; }
body.woocommerce-cart main.wrap > article.single-content > .entry-content { min-width:0; }
body.woocommerce-cart .entry-content > .woocommerce { min-width:0; }
body.woocommerce-cart .shahriar-cart-layout { display:grid; grid-template-columns:minmax(0,1fr) 250px; gap:10px; align-items:start; }
body.woocommerce-cart .shahriar-cart-main { min-width:0; padding:clamp(18px,3vw,30px); border:1px solid #dfe4df; border-radius:16px; background:#fff; box-shadow:0 6px 22px rgba(24,34,31,.045); }
body.woocommerce-cart .woocommerce-cart-form { margin:0; }
body.woocommerce-cart table.shop_table { width:100%; margin:0 0 22px; border:0; border-collapse:collapse; border-radius:0; }
body.woocommerce-cart table.shop_table th { padding:12px 10px; border:0; border-bottom:1px solid #e4e9ed; color:#74808a; font-size:11px; font-weight:700; letter-spacing:.06em; text-align:left; text-transform:uppercase; }
body.woocommerce-cart table.shop_table td { padding:15px 10px; border:0; border-bottom:1px solid #edf0f2; vertical-align:middle; }
body.woocommerce-cart table.shop_table .product-thumbnail img { width:72px; height:72px; border-radius:10px; object-fit:cover; }
body.woocommerce-cart table.shop_table .product-name a { color:#26343e; font-weight:700; }
body.woocommerce-cart table.shop_table .product-price,
body.woocommerce-cart table.shop_table .product-subtotal { color:#111; font-weight:700; white-space:nowrap; }
body.woocommerce-cart table.shop_table a.remove { width:26px; height:26px; color:#7f898f !important; font-size:20px; line-height:24px; }
body.woocommerce-cart table.shop_table a.remove:hover { border-radius:50%; background:#fff0ef; color:#c63d36 !important; }
body.woocommerce-cart .quantity .qty { min-height:38px; width:68px; border:1px solid #dfe4e7; border-radius:8px; background:#fff; text-align:center; }
body.woocommerce-cart .cart .actions { padding:18px 0 0; border:0; }
body.woocommerce-cart .cart .coupon { display:flex; gap:8px; }
body.woocommerce-cart .cart .coupon input.input-text { min-height:42px; padding:8px 12px; border:1px solid #dfe4e7; border-radius:8px; }
body.woocommerce-cart .cart .actions button,
body.woocommerce-cart .cart-collaterals .checkout-button { min-height:42px; padding:0 18px; border:0; border-radius:8px; background:#1e5b45; color:#fff; font-weight:700; }
body.woocommerce-cart .cart .actions button:hover,
body.woocommerce-cart .cart-collaterals .checkout-button:hover { background:#164735; color:#fff; }
body.woocommerce-cart .cart-collaterals { width:100%; margin-top:22px; padding-top:18px; border-top:1px solid #e4e9ed; }
body.woocommerce-cart .cart-collaterals .cart_totals { float:none; width:100%; padding:0; border:0; border-radius:0; }
body.woocommerce-cart .cart-collaterals .cart_totals h2 { margin:0 0 12px; color:var(--ink); font:500 24px/1.2 var(--serif); }
body.woocommerce-cart .cart-collaterals .cart_totals table { margin:0 0 16px; border:0; }
body.woocommerce-cart .cart-collaterals .cart_totals th,
body.woocommerce-cart .cart-collaterals .cart_totals td { padding:11px 8px; border:0; border-bottom:1px solid #edf0f2; }
body.woocommerce-cart .shahriar-cart-layout > .shahriar-related-products { position:sticky; top:96px; width:100%; max-height:calc(100vh - 112px); overflow:auto; }
body.woocommerce-cart .cart-empty,
body.woocommerce-cart .return-to-shop { margin:0 0 12px; padding:22px; border:1px solid #dfe4df; border-radius:14px; background:#fff; }
@media(max-width:900px){ body.woocommerce-cart .shahriar-cart-layout { grid-template-columns:minmax(0,1fr) 220px; } }
@media(max-width:700px){
 body.woocommerce-cart main.wrap { width:calc(100% - 30px); margin:24px auto 52px; }
 body.woocommerce-cart .shahriar-cart-layout { grid-template-columns:minmax(0,1fr); }
 body.woocommerce-cart .shahriar-cart-layout > .shahriar-related-products { position:static; max-height:none; overflow:visible; }
 body.woocommerce-cart .shahriar-cart-main { padding:16px 12px; }
 body.woocommerce-cart table.shop_table_responsive tr td { padding:10px 8px; }
 body.woocommerce-cart table.shop_table_responsive tr td.product-thumbnail { display:none; }
 body.woocommerce-cart table.shop_table_responsive tr td.product-name { padding-top:16px; }
 body.woocommerce-cart .cart .coupon { flex-wrap:wrap; }
 body.woocommerce-cart .cart .coupon input.input-text { flex:1 1 130px; }
 body.woocommerce-cart .cart .actions button { margin-top:8px; }
}


/* WooCommerce block cart inherits the same large-card/sidebar layout. */
body.woocommerce-cart .shahriar-cart-page { width:min(1280px,calc(100% - 48px)); max-width:none; margin:32px auto 72px; }
body.woocommerce-cart .shahriar-cart-article { width:100%; max-width:none; margin:0; padding:0; border:0; background:transparent; box-shadow:none; }
body.woocommerce-cart .shahriar-cart-article > h1 { margin:0 0 18px; color:var(--ink); font:500 clamp(32px,4vw,46px)/1.1 var(--serif); letter-spacing:-.035em; }
body.woocommerce-cart .shahriar-cart-layout { display:grid; grid-template-columns:minmax(0,1fr) 250px; gap:10px; align-items:start; }
body.woocommerce-cart .shahriar-cart-main { min-width:0; padding:clamp(18px,3vw,30px); border:1px solid #dfe4df; border-radius:16px; background:#fff; box-shadow:0 6px 22px rgba(24,34,31,.045); }
body.woocommerce-cart .shahriar-cart-main > .entry-content,
body.woocommerce-cart .shahriar-cart-main .wp-block-woocommerce-cart { min-width:0; margin:0; }
body.woocommerce-cart .shahriar-cart-layout > .shahriar-related-products { position:sticky; top:96px; width:100%; max-height:calc(100vh - 112px); overflow:auto; }
body.woocommerce-cart .shahriar-cart-main .wc-block-cart__submit-button { min-height:44px; border-radius:8px; background:#1e5b45; color:#fff; font-weight:700; }
body.woocommerce-cart .shahriar-cart-main .wc-block-cart__submit-button:hover { background:#164735; color:#fff; }
body.woocommerce-cart .shahriar-cart-main .wc-block-components-button:not(.is-link) { border-radius:8px; }
body.woocommerce-cart .shahriar-cart-main .wc-block-components-product-name { color:#26343e; font-weight:700; }
body.woocommerce-cart .shahriar-cart-main .wc-block-components-quantity-selector { border-color:#dfe4e7; border-radius:8px; }
@media(max-width:900px){ body.woocommerce-cart .shahriar-cart-layout { grid-template-columns:minmax(0,1fr) 220px; } }
@media(max-width:700px){
 body.woocommerce-cart .shahriar-cart-page { width:calc(100% - 30px); margin:24px auto 52px; }
 body.woocommerce-cart .shahriar-cart-layout { grid-template-columns:minmax(0,1fr); }
 body.woocommerce-cart .shahriar-cart-layout > .shahriar-related-products { position:static; max-height:none; overflow:visible; }
 body.woocommerce-cart .shahriar-cart-main { padding:16px 12px; }
}


/* Match the cart's Similar products sidebar to the compact product-page card. */
body.woocommerce-cart .shahriar-cart-layout > .shahriar-related-products { min-width:0; padding:18px 14px; border:1px solid #dfe4df; border-radius:14px; background:#fff; box-shadow:0 5px 18px rgba(24,34,31,.045); }
body.woocommerce-cart .shahriar-cart-layout > .shahriar-related-products h2 { margin:0 0 12px; padding:0 0 12px; border-bottom:1px solid #e6eaed; color:var(--ink); font:500 20px/1.2 var(--serif); }
body.woocommerce-cart .shahriar-cart-layout > .shahriar-related-products ul { margin:0; padding:0; list-style:none; }
body.woocommerce-cart .shahriar-cart-layout > .shahriar-related-products li { display:grid; grid-template-columns:62px minmax(0,1fr); gap:10px; align-items:center; margin:0; padding:11px 0; border-bottom:1px solid #edf0f2; }
body.woocommerce-cart .shahriar-cart-layout > .shahriar-related-products li:last-child { border-bottom:0; }
body.woocommerce-cart .shahriar-cart-layout > .shahriar-related-products .shahriar-related-thumb img { display:block; width:62px; height:62px; border-radius:8px; object-fit:cover; }
body.woocommerce-cart .shahriar-cart-layout > .shahriar-related-products .shahriar-related-info { display:grid; gap:4px; min-width:0; }
body.woocommerce-cart .shahriar-cart-layout > .shahriar-related-products .shahriar-related-name { color:#26343e; font:600 12px/1.35 var(--sans); }
body.woocommerce-cart .shahriar-cart-layout > .shahriar-related-products .shahriar-related-price { color:#111; font:700 13px/1.3 var(--sans); }


/* Keep WooCommerce block cart thumbnails fixed when the cart contains many products. */
body.woocommerce-cart .shahriar-cart-main .wc-block-cart-items__row .wc-block-cart-item__image,
body.woocommerce-cart .shahriar-cart-main .wc-block-cart-items__row .wc-block-components-product-image { width:76px !important; min-width:76px !important; max-width:76px !important; flex:0 0 76px !important; }
body.woocommerce-cart .shahriar-cart-main .wc-block-cart-items__row .wc-block-cart-item__image img,
body.woocommerce-cart .shahriar-cart-main .wc-block-cart-items__row .wc-block-components-product-image img { display:block !important; width:76px !important; min-width:76px !important; max-width:76px !important; height:76px !important; max-height:76px !important; aspect-ratio:1/1; border-radius:9px; object-fit:cover !important; }
@media(max-width:700px){
 body.woocommerce-cart .shahriar-cart-main .wc-block-cart-items__row .wc-block-cart-item__image,
 body.woocommerce-cart .shahriar-cart-main .wc-block-cart-items__row .wc-block-components-product-image { width:60px !important; min-width:60px !important; max-width:60px !important; flex-basis:60px !important; }
 body.woocommerce-cart .shahriar-cart-main .wc-block-cart-items__row .wc-block-cart-item__image img,
 body.woocommerce-cart .shahriar-cart-main .wc-block-cart-items__row .wc-block-components-product-image img { width:60px !important; min-width:60px !important; max-width:60px !important; height:60px !important; max-height:60px !important; }
}


/* Hide rich-description media in cart rows so only fixed-size product thumbnails remain. */
body.woocommerce-cart .shahriar-cart-main .wc-block-cart-item__product .wc-block-components-product-metadata img,
body.woocommerce-cart .shahriar-cart-main .wc-block-cart-item__product .wc-block-components-product-metadata figure,
body.woocommerce-cart .shahriar-cart-main .wc-block-cart-item__product .wc-block-components-product-metadata picture,
body.woocommerce-cart .shahriar-cart-main .wc-block-cart-item__product .wc-block-components-product-metadata video,
body.woocommerce-cart .shahriar-cart-main .wc-block-components-product-metadata__description img,
body.woocommerce-cart .shahriar-cart-main .wc-block-components-product-metadata__description figure,
body.woocommerce-cart .shahriar-cart-main .wc-block-components-product-metadata__description picture,
body.woocommerce-cart .shahriar-cart-main .wc-block-components-product-metadata__description video { display:none !important; }


/* Remove the trailing cart-item divider and normalize space after the last item. */
body.woocommerce-cart .shahriar-cart-main .wc-block-cart-items { margin-bottom:0 !important; border-bottom:0 !important; }
body.woocommerce-cart .shahriar-cart-main .wc-block-cart-items__row:last-child,
body.woocommerce-cart .shahriar-cart-main .wc-block-cart-items__row:last-child > td,
body.woocommerce-cart .shahriar-cart-main .wc-block-cart-items tbody tr:last-child,
body.woocommerce-cart .shahriar-cart-main .wc-block-cart-items tbody tr:last-child > td { border-bottom:0 !important; }
body.woocommerce-cart .shahriar-cart-main .wc-block-cart-items__row:last-child > td,
body.woocommerce-cart .shahriar-cart-main .wc-block-cart-items tbody tr:last-child > td { padding-bottom:10px !important; }
body.woocommerce-cart .shahriar-cart-main .wc-block-cart__main { min-height:0 !important; margin-bottom:0 !important; padding-bottom:0 !important; }
body.woocommerce-cart .shahriar-cart-main { padding-bottom:18px !important; }


/* WooCommerce adds a large 3em bottom margin to the cart block; remove it inside our card. */
body.woocommerce-cart .shahriar-cart-main .wc-block-cart,
body.woocommerce-cart .shahriar-cart-main .wp-block-woocommerce-cart { margin-bottom:0 !important; padding-bottom:0 !important; }
body.woocommerce-cart .shahriar-cart-main .wc-block-cart__main { margin-bottom:0 !important; padding-bottom:0 !important; }
body.woocommerce-cart .shahriar-cart-main .wc-block-cart-items { margin-bottom:0 !important; padding-bottom:0 !important; border-bottom:0 !important; }


/* Keep cart rows concise: show product names and prices, hide long product descriptions. */
body.woocommerce-cart .shahriar-cart-main .wc-block-components-product-metadata__description,
body.woocommerce-cart .shahriar-cart-main .wc-block-components-product-description { display:none !important; }


/* Checkout page: separate the customer form and order summary into clear cards. */
body.woocommerce-checkout .shahriar-checkout-page { width:min(1280px,calc(100% - 48px)); max-width:none; margin:32px auto 72px; }
body.woocommerce-checkout .shahriar-checkout-article { width:100%; max-width:none; margin:0; padding:0; border:0; background:transparent; box-shadow:none; }
body.woocommerce-checkout .shahriar-checkout-article > h1 { margin:0 0 18px; color:var(--ink); font:500 clamp(34px,4vw,48px)/1.1 var(--serif); letter-spacing:-.035em; }
body.woocommerce-checkout .shahriar-checkout-article > .entry-content { min-width:0; }
body.woocommerce-checkout .shahriar-checkout-article .wp-block-woocommerce-checkout { width:100%; max-width:none; margin:0; padding:0; }
body.woocommerce-checkout .shahriar-checkout-article .wc-block-components-sidebar-layout { column-gap:18px; align-items:start; margin:0; }
body.woocommerce-checkout .shahriar-checkout-article .wc-block-checkout__main { min-width:0; padding:clamp(18px,2.5vw,28px); border:1px solid #dfe4df; border-radius:16px; background:#fff; box-shadow:0 6px 22px rgba(24,34,31,.045); }
body.woocommerce-checkout .shahriar-checkout-article .wc-block-checkout__sidebar { box-sizing:border-box; flex:0 0 340px; width:340px; margin:0; padding:18px; border:1px solid #dfe4df; border-radius:16px; background:#fff; box-shadow:0 6px 22px rgba(24,34,31,.045); }
body.woocommerce-checkout .shahriar-checkout-article .wc-block-checkout__sidebar.is-sticky { top:96px; }
body.woocommerce-checkout .shahriar-checkout-article .wp-block-woocommerce-checkout-order-summary-block { border:0; border-radius:0; background:transparent; }
body.woocommerce-checkout .shahriar-checkout-article .wc-block-components-checkout-step__heading { margin:0 0 14px; padding:0 0 10px; border-bottom:1px solid #e4e9ed; }
body.woocommerce-checkout .shahriar-checkout-article .wc-block-components-checkout-step__title { color:var(--ink); font:500 22px/1.25 var(--serif); }
body.woocommerce-checkout .shahriar-checkout-article .wc-block-components-text-input input,
body.woocommerce-checkout .shahriar-checkout-article .wc-block-components-text-input select,
body.woocommerce-checkout .shahriar-checkout-article .wc-block-components-combobox-control input,
body.woocommerce-checkout .shahriar-checkout-article .wc-blocks-components-select .wc-blocks-components-select__select { min-height:44px; border-color:#d8e0e5; border-radius:8px; background:#fff; }
body.woocommerce-checkout .shahriar-checkout-article .wc-block-components-text-input input:focus,
body.woocommerce-checkout .shahriar-checkout-article .wc-block-components-combobox-control input:focus { border-color:#1e5b45; box-shadow:0 0 0 2px rgba(30,91,69,.12); }
body.woocommerce-checkout .shahriar-checkout-article .wc-block-components-order-summary .wc-block-components-order-summary-item { padding:12px 0; border-bottom:1px solid #edf0f2; }
body.woocommerce-checkout .shahriar-checkout-article .wc-block-components-order-summary .wc-block-components-order-summary-item:last-child { border-bottom:0; }
body.woocommerce-checkout .shahriar-checkout-article .wc-block-components-order-summary-item__image img { width:56px; height:56px; border-radius:8px; object-fit:cover; }
body.woocommerce-checkout .shahriar-checkout-article .wc-block-components-checkout-place-order-button,
body.woocommerce-checkout .shahriar-checkout-article .wc-block-components-checkout-place-order-button:hover { min-height:48px; border:0; border-radius:9px; background:#1e5b45; color:#fff; font-weight:750; }
body.woocommerce-checkout .shahriar-checkout-article .wc-block-components-checkout-place-order-button:hover { background:#164735; }
@media(max-width:1000px){
 body.woocommerce-checkout .shahriar-checkout-article .wc-block-components-sidebar-layout { flex-direction:column; gap:12px; }
 body.woocommerce-checkout .shahriar-checkout-article .wc-block-checkout__main,
 body.woocommerce-checkout .shahriar-checkout-article .wc-block-checkout__sidebar { flex:none; width:100%; }
 body.woocommerce-checkout .shahriar-checkout-article .wc-block-checkout__sidebar { position:static; }
}
@media(max-width:700px){
 body.woocommerce-checkout .shahriar-checkout-page { width:calc(100% - 30px); margin:24px auto 52px; }
 body.woocommerce-checkout .shahriar-checkout-article .wc-block-checkout__main,
 body.woocommerce-checkout .shahriar-checkout-article .wc-block-checkout__sidebar { padding:16px; }
}


/* Keep checkout order-summary rows compact; show names, prices and small thumbnails only. */
body.woocommerce-checkout .shahriar-checkout-article .wc-block-components-product-metadata__description,
body.woocommerce-checkout .shahriar-checkout-article .wc-block-components-product-description { display:none !important; }
body.woocommerce-checkout .shahriar-checkout-article .wc-block-components-order-summary-item__image img { width:56px !important; min-width:56px !important; max-width:56px !important; height:56px !important; max-height:56px !important; object-fit:cover !important; }

/* Cart savings badge: make the discount clear and easy to scan. */
body.woocommerce-cart .shahriar-cart-main .wc-block-components-sale-badge {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  column-gap: 4px;
  width: max-content;
  margin: 6px 0 0 auto !important;
  padding: 5px 11px !important;
  border: 1px solid #c9e4d4;
  border-radius: 999px;
  background: #edf8f1;
  color: #17613f;
  font-size: 12px !important;
  font-weight: 700 !important;
  line-height: 1.35;
  letter-spacing: .01em;
  box-shadow: 0 1px 2px rgba(23, 97, 63, .08);
}

/* Shahariar.shop business homepage and shared brand system. */
:root { --brand-ink:#12243a; --brand-muted:#66758a; --brand-paper:#f5f8fb; --brand-blue:#2463eb; --brand-teal:#14b8a6; --brand-line:#e4eaf1; }
body { color:var(--brand-ink); background:#fff; }
.site-header { background:rgba(255,255,255,.95); border-bottom-color:var(--brand-line); }
.brand { color:var(--brand-ink); font-family:var(--sans); font-size:22px; font-weight:800; letter-spacing:-.055em; }
.brand span:first-child { color:var(--brand-ink); }
.brand .brand-domain { color:var(--brand-blue); }
.main-nav ul { gap:32px; }
.main-nav a { color:#35465b; font-size:13px; font-weight:650; transition:color .2s; }
.main-nav a:hover { color:var(--brand-blue); }
.home-page .wrap { width:min(1240px,calc(100% - 64px)); }
.home-hero { position:relative; overflow:hidden; padding:82px 0 78px; background:linear-gradient(115deg,#f7faff 0%,#f4f8ff 48%,#effaf8 100%); }
.home-hero::before { position:absolute; top:-310px; right:-160px; width:700px; height:700px; border:1px solid rgba(36,99,235,.08); border-radius:50%; content:""; }
.home-hero::after { position:absolute; top:-210px; right:-60px; width:500px; height:500px; border:1px solid rgba(20,184,166,.1); border-radius:50%; content:""; }
.home-hero-grid { position:relative; z-index:1; display:grid; grid-template-columns:1.05fr .95fr; gap:54px; align-items:center; }
.home-hero-copy { max-width:600px; }
.home-page .eyebrow { color:var(--brand-blue); font-size:10px; letter-spacing:.14em; }
.home-page .eyebrow::before { width:20px; height:2px; }
.home-hero h1 { max-width:620px; margin:20px 0 18px; color:var(--brand-ink); font:750 clamp(42px,5.2vw,68px)/1.04 var(--sans); letter-spacing:-.065em; }
.home-hero h1 em { color:var(--brand-blue); font-style:normal; font-weight:750; }
.home-hero .hero-copy { max-width:490px; color:#5d6e83; font-size:16px; line-height:1.75; }
.home-hero .hero-actions { margin-top:27px; }
.home-page .button { min-height:48px; padding:0 21px; border:1px solid var(--brand-blue); border-radius:8px; background:var(--brand-blue); box-shadow:0 7px 16px rgba(36,99,235,.16); color:#fff; font-size:13px; font-weight:700; }
.home-page .button:hover { border-color:#174ecb; background:#174ecb; }
.home-page .button-light { border-color:#d6dfeb; background:rgba(255,255,255,.72); box-shadow:none; color:var(--brand-ink); }
.home-page .button-light:hover { border-color:#a9bfed; background:#fff; }
.home-hero-proof { display:flex; align-items:center; gap:9px; margin-top:27px; color:#607188; font-size:11px; font-weight:600; }
.home-hero-proof > span:not(.proof-dot) { color:#a5b1c1; }
.proof-dot { width:8px; height:8px; border-radius:50%; background:var(--brand-teal); box-shadow:0 0 0 4px rgba(20,184,166,.12); }
.home-hero-visual { position:relative; display:grid; min-height:390px; place-items:center; }
.visual-glow { position:absolute; width:360px; height:310px; border-radius:50%; background:radial-gradient(ellipse,rgba(88,145,255,.2),rgba(62,198,179,.08) 52%,transparent 72%); filter:blur(6px); }
.dashboard-window { position:relative; z-index:2; width:min(100%,420px); padding:0; overflow:hidden; border:1px solid rgba(222,231,243,.95); border-radius:15px; background:#fff; box-shadow:0 26px 65px rgba(31,58,99,.16),0 4px 12px rgba(31,58,99,.05); transform:rotate(-2deg); }
.dashboard-top { display:flex; height:48px; align-items:center; justify-content:space-between; padding:0 18px; border-bottom:1px solid #edf1f6; }
.dashboard-brand { display:flex; align-items:center; gap:7px; color:#263950; font-size:10px; font-weight:750; }
.dashboard-brand i { width:8px; height:8px; border-radius:3px; background:var(--brand-blue); }
.dashboard-dots { color:#9eabc0; font-size:13px; letter-spacing:2px; }
.dashboard-content { padding:24px 24px 21px; }
.dashboard-label { color:#93a1b4; font-size:8px; font-weight:800; letter-spacing:.12em; }
.dashboard-title { margin-top:5px; color:#263950; font-size:16px; font-weight:720; letter-spacing:-.025em; }
.dashboard-stats { display:grid; grid-template-columns:1.2fr .8fr; gap:12px; margin-top:21px; }
.dashboard-stats > div { display:grid; min-height:83px; align-content:start; gap:5px; padding:12px; border:1px solid #edf1f6; border-radius:9px; }
.dashboard-stats small { color:#8997aa; font-size:9px; }
.dashboard-stats strong { color:#20334c; font-size:19px; letter-spacing:-.04em; }
.dashboard-stats .stat-up { color:#0d9b78; font-size:9px; font-weight:700; }
.dashboard-stats .stat-soft { color:#99a5b6; font-size:9px; }
.dashboard-chart { display:flex; height:100px; align-items:end; justify-content:space-between; gap:9px; margin-top:18px; padding:0 4px; border-bottom:1px solid #edf1f6; background:repeating-linear-gradient(to bottom,transparent 0,transparent 24px,#f2f5f9 25px); }
.dashboard-chart span { width:8%; height:var(--bar); border-radius:4px 4px 0 0; background:linear-gradient(180deg,#5f91ff,#3471f0); }
.dashboard-chart span:nth-child(2n) { background:linear-gradient(180deg,#63d9c1,#20b99f); }
.dashboard-bottom { display:flex; justify-content:space-between; margin-top:11px; color:#74839a; font-size:9px; }
.dashboard-bottom b { padding-left:4px; color:#465b74; }
.floating-chip { position:absolute; z-index:3; display:flex; align-items:center; gap:10px; padding:11px 14px; border:1px solid rgba(227,234,243,.9); border-radius:10px; background:#fff; box-shadow:0 12px 32px rgba(31,58,99,.12); }
.floating-chip > span { display:grid; width:31px; height:31px; place-items:center; border-radius:8px; background:#eaf1ff; color:var(--brand-blue); font-size:17px; font-weight:700; }
.floating-chip b,.floating-chip small { display:block; }
.floating-chip b { color:#263950; font-size:10px; }
.floating-chip small { margin-top:2px; color:#8997aa; font-size:8px; }
.chip-pos { top:44px; left:-8px; }
.chip-web { right:-7px; bottom:42px; }
.chip-web > span { background:#e7f9f5; color:#0c9e83; }
.hero-orbit { position:absolute; z-index:0; border:1px dashed rgba(36,99,235,.17); border-radius:50%; }
.orbit-one { width:440px; height:300px; transform:rotate(-22deg); }
.orbit-two { width:365px; height:240px; border-color:rgba(20,184,166,.2); transform:rotate(28deg); }
.home-page .section { padding:78px 0; }
.home-page .section-head { margin-bottom:30px; }
.home-page .section-head h2 { margin-top:9px; color:var(--brand-ink); font:700 clamp(29px,3.2vw,40px)/1.15 var(--sans); letter-spacing:-.045em; }
.section-intro { max-width:560px; margin:10px 0 0; color:var(--brand-muted); font-size:13px; line-height:1.7; }
.home-page .text-link { border:0; color:var(--brand-blue); font-size:12px; font-weight:700; white-space:nowrap; }
.home-page .text-link:hover,.service-link:hover,.post-read-link:hover { color:#174ecb; }
.services-section { background:#fff; }
.service-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
.service-card { position:relative; display:flex; min-height:275px; flex-direction:column; padding:23px 23px 20px; border:1px solid var(--brand-line); border-radius:12px; background:#fff; box-shadow:0 8px 24px rgba(22,44,77,.035); transition:transform .2s,border-color .2s,box-shadow .2s; }
.service-card:hover { transform:translateY(-4px); border-color:#c9d8f5; box-shadow:0 16px 34px rgba(22,44,77,.09); }
.service-card-top { display:flex; align-items:center; justify-content:space-between; margin-bottom:18px; }
.service-icon { display:grid; width:45px; height:45px; place-items:center; border-radius:11px; background:#edf3ff; color:var(--brand-blue); font-size:21px; font-weight:700; }
.icon-web { background:#eaf9f5; color:#0d9d83; }
.icon-dns { background:#fff4e8; color:#d77a19; }
.service-index { color:#aab6c5; font-size:10px; font-weight:750; letter-spacing:.1em; }
.service-tag { color:var(--brand-blue); font-size:9px; font-weight:750; letter-spacing:.1em; text-transform:uppercase; }
.service-card h3 { margin:7px 0 8px; color:var(--brand-ink); font-size:20px; font-weight:700; letter-spacing:-.035em; }
.service-card p { margin:0 0 20px; color:#68788d; font-size:12px; line-height:1.7; }
.service-link { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-top:auto; padding-top:13px; border-top:1px solid #edf1f6; color:#2a5dcc; font-size:11px; font-weight:700; transition:color .2s; }
.products-section { background:#f5f8fc; }
.home-page .product-card { border-color:#e5eaf1; border-radius:11px; box-shadow:0 5px 18px rgba(25,49,81,.045); }
.home-page .product-card .product-body h3 { color:#21334b; font-family:var(--sans) !important; font-size:15px !important; font-weight:550 !important; line-height:1.35 !important; letter-spacing:-.02em !important; }
.home-page .product-card .price-row .price { color:#17283e; }
.posts-section { background:#fff; }
.home-page .post-grid { grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
.home-page .post-card { border-color:var(--brand-line); border-radius:11px; box-shadow:0 6px 20px rgba(25,49,81,.04); }
.home-page .post-thumb { aspect-ratio:1.65; background:linear-gradient(135deg,#dce8f7,#d9f1ea); }
.home-page .post-body { padding:18px; }
.home-page .post-body .meta { color:#8a98aa; font-size:9px; letter-spacing:.04em; }
.home-page .post-body h3 { margin:9px 0 7px; color:var(--brand-ink); font-family:var(--sans); font-size:17px; font-weight:650; line-height:1.35; letter-spacing:-.025em; }
.home-page .post-body p { color:#718096; font-size:11px; line-height:1.65; }
.post-read-link { display:inline-flex; gap:6px; margin-top:13px; color:#2a5dcc; font-size:10px; font-weight:700; }
.contact-band { padding:16px 0 76px; background:#fff; }
.contact-band-inner { display:flex; align-items:center; justify-content:space-between; gap:24px; padding:34px 40px; border-radius:14px; background:linear-gradient(115deg,#122c4a,#1c4571 65%,#1d6c77); color:#fff; }
.contact-band .eyebrow { color:#9bc4ff; }
.contact-band h2 { margin:8px 0 7px; color:#fff; font:700 clamp(25px,3vw,34px)/1.15 var(--sans); letter-spacing:-.04em; }
.contact-band p { margin:0; color:#d1deec; font-size:12px; }
.home-page .contact-button { flex:0 0 auto; border-color:#fff; background:#fff; box-shadow:none; color:#173b65; }
.home-page .contact-button:hover { background:#eaf2ff; }
.site-footer { border-top-color:var(--brand-line); background:#f8fafc; color:#74839a; }
.site-footer .brand { font-size:19px; }
.footer-row p { max-width:500px; color:#74839a; font-size:11px; }
@media(max-width:900px) {
  .home-page .wrap { width:min(100% - 44px,760px); }
  .home-hero { padding:62px 0 58px; }
  .home-hero-grid { grid-template-columns:1fr; gap:28px; }
  .home-hero-copy { max-width:680px; }
  .home-hero-visual { min-height:350px; }
  .service-grid { gap:12px; }
  .service-card { min-height:290px; padding:19px 17px; }
}
@media(max-width:600px) {
  .home-page .wrap { width:calc(100% - 32px); }
  .home-hero { padding:48px 0 38px; }
  .home-hero h1 { margin-top:15px; font-size:clamp(39px,11vw,53px); }
  .home-hero .hero-copy { font-size:14px; }
  .home-hero .hero-actions { gap:9px; margin-top:21px; }
  .home-page .button { min-height:44px; padding:0 15px; font-size:11px; }
  .home-hero-proof { flex-wrap:wrap; gap:7px; margin-top:20px; font-size:9px; }
  .home-hero-visual { min-height:270px; margin:0 -5px; }
  .dashboard-window { width:min(88%,360px); }
  .dashboard-content { padding:17px; }
  .dashboard-stats { margin-top:13px; }
  .dashboard-chart { height:72px; margin-top:12px; }
  .chip-pos { top:12px; left:0; }
  .chip-web { right:0; bottom:12px; }
  .floating-chip { gap:7px; padding:8px 9px; }
  .floating-chip > span { width:26px; height:26px; }
  .floating-chip b { font-size:9px; }
  .home-page .section { padding:54px 0; }
  .home-page .section-head { align-items:flex-start; flex-direction:column; gap:9px; margin-bottom:20px; }
  .home-page .section-head h2 { font-size:28px; }
  .section-intro { margin-top:7px; font-size:12px; }
  .service-grid { grid-template-columns:1fr; gap:11px; }
  .service-card { min-height:0; padding:18px; }
  .service-card-top { margin-bottom:13px; }
  .service-card p { margin-bottom:15px; }
  .home-page .product-grid { grid-template-columns:repeat(2,minmax(0,1fr)) !important; gap:11px; }
  .home-page .product-card .product-body { padding:11px 10px; }
  .home-page .product-card .product-body h3 { font-size:13px !important; }
  .home-page .post-grid { grid-template-columns:1fr; gap:12px; }
  .home-page .post-card { display:grid; grid-template-columns:112px minmax(0,1fr); align-items:stretch; }
  .home-page .post-thumb { min-height:100%; aspect-ratio:auto; }
  .home-page .post-body { padding:12px; }
  .home-page .post-body h3 { font-size:14px; }
  .home-page .post-body p { font-size:10px; }
  .post-read-link { margin-top:8px; }
  .contact-band { padding:0 0 48px; }
  .contact-band-inner { align-items:flex-start; flex-direction:column; gap:17px; padding:24px 20px; }
  .contact-band h2 { font-size:25px; }
  .footer-row { gap:10px; }
}

/* Carry the same business brand across posts, product pages and checkout. */
.insights-archive { padding-bottom:70px; }
.insights-archive .archive-head { padding:58px 0 28px; }
.insights-archive .archive-head h1 { color:var(--brand-ink); font-family:var(--sans); font-weight:750; letter-spacing:-.05em; }
.insights-archive .post-grid { gap:18px; }
.insights-archive .post-card { border-color:var(--brand-line); border-radius:11px; box-shadow:0 6px 20px rgba(25,49,81,.04); }
.insights-archive .post-body h3 { color:var(--brand-ink); font-family:var(--sans); font-size:18px; font-weight:650; line-height:1.35; }
.single-content { max-width:900px; margin:42px auto 76px; padding:clamp(22px,5vw,54px); border:1px solid var(--brand-line); border-radius:14px; background:#fff; box-shadow:0 10px 32px rgba(25,49,81,.045); }
.single-content h1 { color:var(--brand-ink); font-family:var(--sans); font-weight:750; letter-spacing:-.05em; }
.single-content .meta { color:#8190a3; }
.single-content .entry-content { color:#41536a; font-size:16px; line-height:1.8; }
.single-content .entry-content a { color:var(--brand-blue); text-decoration:underline; text-underline-offset:3px; }
.single-content .entry-content img { border-radius:10px; }
.single-content .post-navigation { margin-top:32px; padding-top:20px; border-top:1px solid var(--brand-line); }
.woocommerce .button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce a.button,
body.woocommerce-cart .shahriar-cart-main .wc-block-cart__submit-button,
body.woocommerce-checkout .shahriar-checkout-article .wc-block-components-checkout-place-order-button { border-color:var(--brand-blue) !important; border-radius:8px !important; background:var(--brand-blue) !important; color:#fff !important; font-weight:700 !important; }
.woocommerce .button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce a.button:hover,
body.woocommerce-cart .shahriar-cart-main .wc-block-cart__submit-button:hover,
body.woocommerce-checkout .shahriar-checkout-article .wc-block-components-checkout-place-order-button:hover { border-color:#174ecb !important; background:#174ecb !important; color:#fff !important; }
.woocommerce div.product .summary .price,
.woocommerce div.product .summary .price ins { color:var(--brand-ink); }
@media(max-width:600px) {
  .single-content { margin:24px auto 48px; padding:20px 16px; }
  .single-content .entry-content { font-size:15px; }
  .insights-archive .archive-head { padding:38px 0 22px; }
}

/* Tablet layout: keep catalog cards readable and stack sidebars above content. */
@media (min-width:601px) and (max-width:1000px) {
  .home-page .wrap { width:calc(100% - 48px); }
  .service-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .service-card:last-child { grid-column:1/-1; }
  .home-page .post-grid,.insights-archive .post-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .woocommerce-shop #primary.site-main,
  .post-type-archive-product #primary.site-main,
  .tax-product_cat #primary.site-main,
  .tax-product_tag #primary.site-main { width:calc(100% - 48px); }
  .shop-layout { grid-template-columns:minmax(0,1fr); gap:18px; }
  .shop-filters { position:static; }
  body.woocommerce-shop .shop-results ul.products,
  body.post-type-archive-product .shop-results ul.products,
  body.tax-product_cat .shop-results ul.products,
  body.tax-product_tag .shop-results ul.products { grid-template-columns:repeat(3,minmax(0,1fr)) !important; gap:14px !important; }
  body.single-product #primary.site-main { width:calc(100% - 48px); }
  body.woocommerce-cart .shahriar-cart-page,
  body.woocommerce-checkout .shahriar-checkout-page { width:calc(100% - 48px); }
  .single-content { width:calc(100% - 48px); }
}
@media (max-width:600px) {
  .site-header .wrap { width:calc(100% - 28px); }
  .header-row { gap:12px; }
  .brand { font-size:19px; }
  .main-nav { max-height:calc(100vh - 66px); overflow:auto; }
  .main-nav ul { gap:0; }
  .main-nav li a { min-height:44px; }
  .home-page .post-card { min-width:0; }
  .home-page .post-thumb img { min-height:100%; object-fit:cover; }
  .home-page .post-body { min-width:0; }
  .home-page .post-body h3,.home-page .post-body p { overflow-wrap:anywhere; }
  .insights-archive { width:calc(100% - 28px); }
  .insights-archive .post-grid { grid-template-columns:1fr; }
  .insights-archive .post-card { display:grid; grid-template-columns:104px minmax(0,1fr); min-width:0; }
  .insights-archive .post-body { min-width:0; padding:12px; }
  .insights-archive .post-body h3 { font-size:14px; }
  .insights-archive .post-body p { font-size:10px; }
  .woocommerce-shop #primary.site-main,
  .post-type-archive-product #primary.site-main,
  .tax-product_cat #primary.site-main,
  .tax-product_tag #primary.site-main { width:calc(100% - 28px); padding-top:24px; }
  .shop-results .woocommerce-ordering { float:none; width:100%; }
  .shop-results .woocommerce-ordering select { width:100%; min-height:42px; }
  .shop-price-range .price_slider_amount { align-items:center; }
  .woocommerce div.product .woocommerce-product-gallery { min-width:0; }
  .woocommerce div.product form.cart { display:flex; flex-wrap:wrap; gap:9px; }
  .woocommerce div.product form.cart .quantity { margin:0 !important; }
  .woocommerce div.product form.cart .single_add_to_cart_button { flex:1 1 150px; }
  body.woocommerce-cart .shahriar-cart-page,
  body.woocommerce-checkout .shahriar-checkout-page { width:calc(100% - 24px); }
  body.woocommerce-cart .shahriar-cart-main .wc-block-components-sidebar-layout { gap:12px; }
  body.woocommerce-checkout .shahriar-checkout-article .wc-block-components-sidebar-layout { gap:12px; }
  body.woocommerce-checkout .shahriar-checkout-article .wc-block-components-text-input,
  body.woocommerce-checkout .shahriar-checkout-article .wc-block-components-combobox-control { min-width:0; }
  body.woocommerce-checkout .shahriar-checkout-article input,
  body.woocommerce-checkout .shahriar-checkout-article select { max-width:100%; }
  .footer-row .brand { font-size:19px; }
}

/* Keep the cart layout comfortable on tablets and narrow screens. */
@media (max-width: 900px) {
  body.woocommerce-cart .shahriar-cart-page { width: min(100% - 40px, 760px); }
  body.woocommerce-cart .shahriar-cart-layout { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  body.woocommerce-cart .shahriar-cart-layout > .shahriar-related-products { position: static; max-height: none; overflow: visible; }
  body.woocommerce-cart .shahriar-cart-main { min-width: 0; }
}
@media (max-width: 600px) {
  body.woocommerce-cart .shahriar-cart-page { width: calc(100% - 24px); margin: 20px auto 40px; }
  body.woocommerce-cart .shahriar-cart-article > h1 { margin-bottom: 14px; font-size: 34px; }
  body.woocommerce-cart .shahriar-cart-main { padding: 14px 10px !important; border-radius: 13px; }
  body.woocommerce-cart .shahriar-cart-main .wc-block-cart-items { width: 100%; table-layout: fixed; }
  body.woocommerce-cart .shahriar-cart-main .wc-block-cart-items__row { display: grid; grid-template-columns: 58px minmax(0, 1fr); column-gap: 10px; row-gap: 8px; padding: 13px 0; }
  body.woocommerce-cart .shahriar-cart-main .wc-block-cart-items__row .wc-block-cart-item__image,
  body.woocommerce-cart .shahriar-cart-main .wc-block-cart-items__row .wc-block-cart-item__product,
  body.woocommerce-cart .shahriar-cart-main .wc-block-cart-items__row .wc-block-cart-item__quantity,
  body.woocommerce-cart .shahriar-cart-main .wc-block-cart-items__row .wc-block-cart-item__total { min-width: 0; padding: 0; }
  body.woocommerce-cart .shahriar-cart-main .wc-block-cart-items__row .wc-block-cart-item__image { grid-column: 1; grid-row: 1 / span 2; }
  body.woocommerce-cart .shahriar-cart-main .wc-block-cart-items__row .wc-block-cart-item__product { grid-column: 2; grid-row: 1; }
  body.woocommerce-cart .shahriar-cart-main .wc-block-cart-items__row .wc-block-cart-item__total { grid-column: 2; grid-row: 2; text-align: left; }
  body.woocommerce-cart .shahriar-cart-main .wc-block-cart-items__row .wc-block-cart-item__quantity { grid-column: 2; grid-row: 3; }
  body.woocommerce-cart .shahriar-cart-main .wc-block-cart-items__row .wc-block-components-product-name { max-width: 100%; overflow-wrap: anywhere; }
  body.woocommerce-cart .shahriar-cart-main .wc-block-components-sale-badge { margin-top: 4px !important; padding: 4px 9px !important; font-size: 11px !important; }
  body.woocommerce-cart .shahriar-cart-main .wc-block-components-quantity-selector { max-width: 132px; }
  body.woocommerce-cart .shahriar-cart-main .wc-block-cart__submit-container { padding: 12px 0 0; }
  body.woocommerce-cart .shahriar-cart-main .wc-block-cart__submit-button { width: 100%; }
}

/* Standardize desktop page containers at 1240px while preserving smaller-screen gutters. */
@media (min-width: 1200px) {
  .wrap,
  .home-page .wrap,
  .single-content,
  main.shahriar-cart-page,
  main.shahriar-checkout-page,
  body.woocommerce-cart main.wrap,
  body.woocommerce-checkout .shahriar-checkout-page,
  body.woocommerce-shop .site-main,
  body.post-type-archive-product .site-main,
  body.tax-product_cat .site-main,
  body.tax-product_tag .site-main,
  body.single-product #primary.site-main,
  body.single-product #main.site-main {
    width: min(1240px, calc(100% - 64px)) !important;
    max-width: 1240px !important;
  }
}


/* Keep the homepage product title divider consistent with the shop and product page. */
.home .product-card .product-body h3,.home .woocommerce ul.products li.product .woocommerce-loop-product__title{padding-bottom:10px;margin-bottom:10px;border-bottom:1px solid #e3e9f1}
@media(max-width:600px){.home .product-card .product-body h3,.home .woocommerce ul.products li.product .woocommerce-loop-product__title{padding-bottom:8px;margin-bottom:8px}}

body.woocommerce ul.products li.product .woocommerce-loop-product__title{padding-bottom:9px;margin-bottom:10px;border-bottom:1px solid #e3e9f1}
@media(max-width:600px){body.woocommerce ul.products li.product .woocommerce-loop-product__title{padding-bottom:7px;margin-bottom:8px}}

/* Align product prices along the bottom of each card despite different title lengths. */
.home .product-card .product-body{display:flex;flex:1 1 auto;flex-direction:column}
.home .product-card .product-body h3{min-height:3.9em}
.home .product-card .price-row{margin-top:auto!important;padding-top:12px!important}
.home .woocommerce ul.products li.product{display:flex;flex-direction:column}
.home .woocommerce ul.products li.product .woocommerce-loop-product__title{min-height:3.9em}
.home .woocommerce ul.products li.product .price{margin-top:auto}

/* Home product titles should not have the decorative divider. */
.home-page .product-card .product-body h3,
.home .product-card .product-body h3,
.home .woocommerce ul.products li.product .woocommerce-loop-product__title{border-bottom:0!important;padding-bottom:0!important}

/* Single-post sidebar and article layout overrides. */
.post-layout{display:grid;grid-template-columns:minmax(210px,250px) minmax(0,1fr);align-items:start;gap:22px;width:min(1244px,calc(100% - 64px))!important;max-width:1244px!important;padding:34px 0 0}
.post-sidebar{display:grid;gap:16px}
.post-sidebar-card{padding:22px 20px;border:1px solid var(--line);border-radius:11px;background:#fff;box-shadow:0 8px 28px rgba(24,34,31,.045)}
.post-sidebar-card h2{margin:0 0 13px;padding:0 0 12px;border-bottom:1px solid var(--line);color:var(--ink);font:700 17px/1.25 var(--sans)}
.post-sidebar-list{display:grid;gap:0;margin:0;padding:0;list-style:none}
.post-sidebar-list li+li{border-top:1px solid #f0f0eb}
.post-sidebar-list a{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;padding:11px 0;color:#46544c;font-size:13px;line-height:1.45;transition:color .18s ease}
.post-sidebar-list a:hover{color:var(--green)}
.post-sidebar-list--recent a{display:block;font-weight:650}
.post-sidebar-list--recent time{display:block;margin-top:4px;color:var(--muted);font-size:11px;font-weight:400}
.post-sidebar-count{flex:0 0 auto;color:var(--muted);font-size:12px}
.post-sidebar-empty{margin:0;color:var(--muted);font-size:13px}
.post-main-column{min-width:0}
.post-main-column>.single-content{width:100%!important;max-width:none!important;margin:0 auto 18px}
@media(max-width:1000px){.post-layout{grid-template-columns:minmax(0,1fr);width:calc(100% - 48px)!important;max-width:none!important;padding-top:24px}.post-main-column{grid-row:1}.post-sidebar{grid-row:2;grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:36px}}
@media(max-width:600px){.post-layout{width:calc(100% - 28px)!important;padding-top:18px}.post-sidebar{grid-template-columns:minmax(0,1fr);gap:12px;margin-bottom:28px}.post-sidebar-card{padding:19px 17px;border-radius:9px}.post-main-column>.single-content{padding:20px 16px}.single-content h1{font-size:clamp(29px,8vw,40px);margin:12px 0 18px}.single-featured-image{margin-bottom:20px}.single-featured-image img{max-height:420px}.single-content .entry-content{font-size:15px}.post-comments{gap:12px;margin-bottom:44px}.post-comments__list-card,.post-comment-form-card{padding:20px 16px;border-radius:9px}.post-comments__header h2,.post-comment-form-card h2{font-size:20px}.post-comments .children{margin-left:10px;padding-left:12px}}
.post-main-column>.single-content h1{max-width:880px;margin:0 0 10px;font-size:clamp(30px,3.8vw,44px);line-height:1.15;letter-spacing:-.04em}
.post-byline{display:flex;align-items:center;flex-wrap:wrap;gap:7px;margin:0 0 24px;color:var(--muted);font-size:13px}
.post-byline__author{color:var(--green);font-weight:750}
.post-byline__separator{color:#b0b9b0}
.post-byline time{font-variant-numeric:tabular-nums}
.post-taxonomy{display:grid;gap:14px;margin-top:32px;padding:18px 0;border-top:1px solid var(--line)}
.post-taxonomy__group{display:flex;align-items:flex-start;flex-wrap:wrap;gap:10px}
.post-taxonomy__label{flex:0 0 86px;padding-top:5px;color:var(--muted);font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.post-taxonomy__chips{display:flex;flex:1 1 auto;flex-wrap:wrap;gap:8px}
.post-taxonomy__chips a{display:inline-flex;align-items:center;min-height:30px;padding:4px 11px;border:1px solid #dce6d9;border-radius:999px;background:#f4f7f0;color:var(--green);font-size:12px;font-weight:650;line-height:1.2;transition:background .18s ease,border-color .18s ease,color .18s ease}
.post-taxonomy__chips a:hover{border-color:var(--green);background:var(--green);color:#fff}
.post-taxonomy__chips--tags a{border-color:#e7e9e2;background:#fafaf7;color:#66716a}
.post-taxonomy__chips--tags a:hover{border-color:#cdd8c9;background:#edf2e8;color:var(--green)}
@media(max-width:600px){.post-main-column>.single-content h1{font-size:clamp(28px,7.4vw,36px);margin-bottom:9px}.post-byline{margin-bottom:18px;font-size:12px}.post-taxonomy{margin-top:24px;padding-top:15px}.post-taxonomy__label{flex-basis:72px}}
.post-main-column>.single-content{padding:clamp(24px,3vw,40px)}
.post-main-column>.single-content h1{margin-bottom:8px}
.post-byline{margin-bottom:18px}
.single-content .entry-content{line-height:1.72}
.single-content .entry-content>*{margin-block:0 14px}
.single-content .entry-content>*:last-child{margin-bottom:0}
.single-content .entry-content h2{margin-top:24px;margin-bottom:9px;font-size:clamp(23px,3vw,30px);line-height:1.25}
.single-content .entry-content h3{margin-top:20px;margin-bottom:7px;font-size:clamp(19px,2.5vw,24px);line-height:1.3}
.single-content .entry-content p{margin-block:0 13px}
.single-content .entry-content ul,.single-content .entry-content ol{margin-block:8px 15px;padding-left:1.35em}
.single-content .entry-content li{padding-left:2px;margin-block:0 5px}
.single-content .entry-content blockquote{margin:18px 0;padding:12px 18px;border-left:3px solid var(--green);border-radius:0 7px 7px 0;background:#f4f7f0;color:#445349}
.single-content .entry-content figure,.single-content .entry-content .wp-block-image{margin-block:18px}
.post-taxonomy{gap:0;margin-top:24px;padding:0;overflow:hidden;border:1px solid #e2e9df;border-radius:9px;background:#fbfcfa}
.post-taxonomy__group{align-items:center;gap:12px;padding:13px 15px}
.post-taxonomy__group+.post-taxonomy__group{border-top:1px solid #e9eee6}
.post-taxonomy__label{flex-basis:88px;padding:0;color:#526458}
.post-taxonomy__chips{gap:7px}
.post-taxonomy__chips a{min-height:28px;padding:4px 10px;border-color:#d7e5d5;background:#edf4eb;color:#24573f;font-size:11px}
.post-taxonomy__chips--tags a{border-color:#dfe4e7;background:#f1f4f5;color:#4d5c65}
.post-taxonomy__chips--tags a:hover{border-color:#b9ccc0;background:#e7f0e8;color:#24573f}
@media(max-width:600px){.post-main-column>.single-content{padding:20px 16px}.post-byline{margin-bottom:16px}.single-content .entry-content{line-height:1.68}.single-content .entry-content>*{margin-bottom:12px}.single-content .entry-content h2{margin-top:20px}.single-content .entry-content h3{margin-top:16px}.post-taxonomy{margin-top:20px}.post-taxonomy__group{align-items:flex-start;flex-direction:column;gap:8px;padding:12px}.post-taxonomy__label{flex-basis:auto}}
.post-layout{grid-template-columns:minmax(190px,220px) minmax(0,1fr);gap:14px}
.post-sidebar{gap:12px}
.post-sidebar-card{padding:18px 16px}
.post-main-column>.single-content{padding:clamp(22px,2.5vw,34px)}
.post-taxonomy{display:flex;flex-direction:column;gap:0;overflow:visible;border:0;border-top:1px solid #e5e8e2;border-radius:0;background:transparent}
.post-taxonomy__group{display:grid;grid-template-columns:80px minmax(0,1fr);align-items:start;gap:12px;padding:12px 2px}
.post-taxonomy__group+.post-taxonomy__group{border-top:1px solid #edf0eb}
.post-taxonomy__label{padding-top:3px;color:#77827b;font-size:10px;letter-spacing:.09em}
.post-taxonomy__chips{gap:0 14px}
.post-taxonomy__chips a,.post-taxonomy__chips--tags a{min-height:0;padding:2px 0;border:0;border-radius:0;background:transparent;color:#285d47;font-size:12px;font-weight:650;text-decoration:underline;text-decoration-color:#c5d4c7;text-underline-offset:3px}
.post-taxonomy__chips--tags a{color:#5c6870;text-decoration-color:#d3d9dc}
.post-taxonomy__chips a:hover,.post-taxonomy__chips--tags a:hover{border:0;background:transparent;color:var(--green);text-decoration-color:currentColor}
@media(max-width:1000px){.post-layout{gap:14px}}
@media(max-width:600px){.post-main-column>.single-content{padding:20px 16px}.post-taxonomy__group{grid-template-columns:66px minmax(0,1fr);gap:8px;padding:10px 0}}
.post-layout{grid-template-columns:minmax(180px,205px) minmax(0,1fr);gap:10px}
.post-sidebar{gap:10px}
.post-main-column>.single-content{padding:clamp(18px,2vw,26px)}
.post-main-column>.single-content .entry-content{max-width:none;margin-inline:0}
.post-taxonomy{display:none!important}
.post-navigation{margin-top:26px;padding-top:16px;border-top:1px solid var(--line)}
.post-navigation .nav-links{display:flex;align-items:stretch;justify-content:space-between;gap:12px}
.post-navigation .nav-previous,.post-navigation .nav-next{flex:1 1 0;min-width:0}
.post-navigation .nav-next{text-align:right}
.post-navigation a{display:inline-flex;flex-direction:column;gap:3px;max-width:100%;padding:10px 14px;border:1px solid #dfe6dc;border-radius:7px;background:#f8faf6;color:var(--green);text-decoration:none;transition:border-color .18s ease,background .18s ease,transform .18s ease}
.post-navigation a:hover{transform:translateY(-1px);border-color:#a9c2ab;background:#f0f5ed}
.post-nav__label{font-size:11px;font-weight:750;letter-spacing:.03em}
.post-nav__title{overflow:hidden;color:#66736b;font-size:11px;font-weight:400;text-overflow:ellipsis;white-space:nowrap}
.post-sidebar-list--tags a{color:#53645a}
.post-sidebar-list--tags a span:first-child{overflow-wrap:anywhere}
.post-sidebar-list--tags .post-sidebar-count{font-size:11px}
@media(max-width:1000px){.post-layout{gap:12px}}
@media(max-width:600px){.post-main-column>.single-content{padding:20px 16px}.post-navigation{margin-top:20px;padding-top:13px}.post-navigation .nav-links{gap:8px}.post-navigation a{padding:9px 10px}.post-nav__title{max-width:34vw}.post-sidebar{gap:10px}}
.single-content .post-navigation{display:block;width:100%;margin-top:26px;padding-top:16px;border-top:1px solid var(--line)}
.single-content .post-navigation .nav-links{display:grid;width:100%;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:12px}
.single-content .post-navigation .nav-previous{grid-column:1;justify-self:start;flex:none}
.single-content .post-navigation .nav-next{grid-column:2;justify-self:end;flex:none;text-align:right}
.single-content .post-navigation .post-nav__title{display:none}
.single-content .post-navigation a{display:inline-flex;min-height:42px;align-items:center;padding:0 16px}
@media(max-width:600px){.single-content .post-navigation{margin-top:20px;padding-top:13px}.single-content .post-navigation .nav-links{gap:8px}.single-content .post-navigation a{min-height:40px;padding:0 11px}}
.post-main-column>.single-content{padding-bottom:16px}
.single-content .post-navigation{margin-top:16px;padding-top:12px}
.single-content .post-navigation a{min-height:38px}
@media(max-width:600px){.post-main-column>.single-content{padding-bottom:14px}.single-content .post-navigation{margin-top:13px;padding-top:10px}}
.post-main-column>.single-content{padding-bottom:6px}
.single-content .post-navigation{margin-top:9px;padding-top:8px}
.single-content .post-navigation a{min-height:34px;padding-top:0;padding-bottom:0}
@media(max-width:600px){.post-main-column>.single-content{padding-bottom:6px}.single-content .post-navigation{margin-top:8px;padding-top:7px}}
.post-main-column>.single-content{padding-bottom:0!important;margin-bottom:0!important}
.single-content .post-navigation{display:block!important;width:100%;height:auto;min-height:0;margin:0!important;padding:8px 0 0!important;border-top:1px solid #e1e7ef}
.single-content .post-navigation .nav-links{display:flex!important;width:100%;min-height:0;align-items:center;justify-content:space-between;gap:12px;margin:0;padding:0}
.single-content .post-navigation .nav-previous,.single-content .post-navigation .nav-next{display:block;flex:0 0 auto;width:auto;min-width:0;margin:0;padding:0}
.single-content .post-navigation a{display:inline-flex;min-height:34px;align-items:center;justify-content:center;margin:0;padding:0 12px;border:1px solid #dfe6dc;border-radius:7px;background:#f8faf6;color:var(--green);font-size:12px;line-height:1.2}
.single-content .post-navigation .post-nav__title{display:none!important}
.post-main-column>.single-content{padding-bottom:0!important}
.post-comments{gap:12px;margin:12px auto 56px}
.post-comments__list-card,.post-comment-form-card{padding:20px;border:1px solid #e1e7ef;border-radius:14px;background:#fff;box-shadow:0 5px 18px rgba(23,47,82,.045)}
.post-comments__header h2,.post-comment-form-card h2{margin:0 0 14px;padding:0 0 11px;border-bottom:1px solid #e7ecf2;color:#14243a;font-size:20px;line-height:1.3}
.post-comments__count{border:1px solid #cbdafa;background:linear-gradient(180deg,#f7f9ff,#eaf1ff);color:#2459bd}
.post-comments .comment-list>li{padding:14px 0;border-bottom-color:#e7ecf2}
.post-comments .comment-body{min-height:44px;padding-left:58px}
.post-comments .comment-author{color:#20324a;font-size:13px}
.post-comments .comment-author .avatar{width:44px;height:44px;border-color:#fff;box-shadow:0 0 0 1px #dfe4ec}
.post-comments .comment-meta{color:#7c8a9d;font-size:11px}
.post-comments .comment-content{margin-top:8px;color:#394b62;font-size:14px;line-height:1.65}
.post-comments .reply a{min-height:32px;align-items:center;margin-top:6px;padding:0 12px;border-color:#d9e2ef;border-radius:8px;color:#4165a3;font-size:12px}
.post-comments .reply a:hover{border-color:#c6d6f4;background:#f3f7ff;color:#2459bd}
.post-comments .children{margin:13px 0 0 54px;padding:2px 0 2px 13px;border-left:2px solid #d9e5fb}
.post-comment-form-card .comment-form-comment{margin-bottom:12px}
.post-comment-form-card .comment-form-comment label{color:#394b62;font-size:12px}
.post-comment-form-card textarea{min-height:112px;border-color:#d9e1ec;border-radius:8px;background:#fbfcfe;color:#14243a;font-size:13px}
.post-comment-form-card textarea:focus{border-color:#2463eb;box-shadow:0 0 0 3px rgba(36,99,235,.11)}
.post-comment-form-card .submit,.post-comment-form-card .button{min-height:42px;padding:0 20px;border-color:#2463eb;border-radius:8px;background:#2463eb;color:#fff;font-size:13px;font-weight:700}
.post-comment-form-card .submit:hover,.post-comment-form-card .button:hover{border-color:#174ecb;background:#174ecb}
.post-comment-form-card__note{font-size:13px}
@media(max-width:600px){.single-content .post-navigation .nav-links{gap:8px}.single-content .post-navigation a{min-height:33px;padding:0 10px}.post-comments{gap:10px;margin-top:10px;margin-bottom:40px}.post-comments__list-card,.post-comment-form-card{padding:16px;border-radius:12px}.post-comments__header h2,.post-comment-form-card h2{font-size:18px}.post-comments .comment-body{padding-left:52px}.post-comments .comment-author .avatar{width:40px;height:40px}.post-comments .children{margin-left:22px;padding-left:10px}}
.single-content .post-navigation{width:auto!important;margin:0 -24px!important;padding:8px 8px 0!important}
.single-content .post-navigation .nav-links{padding:0}
.single-content .post-navigation a{margin:0}
.post-comments .comment-list>li{border-bottom:0}
.post-comments .comment-content{margin-top:8px;padding-bottom:12px;border-bottom:1px solid #e7ecf2}
.post-comments .comment-content p:last-child{margin-bottom:0}
.post-admin-verified{display:inline-grid;width:16px;height:16px;place-items:center;margin-left:6px;border-radius:50%;background:#2463eb;color:#fff;font:800 10px/1 Arial,sans-serif;vertical-align:1px;box-shadow:0 1px 3px rgba(36,99,235,.25)}
@media(max-width:600px){.single-content .post-navigation{margin:0 -16px!important;padding:8px 8px 0!important}.post-comments .comment-content{padding-bottom:10px}}
.post-comments .reply{display:flex;justify-content:flex-end;text-align:right}
.post-comments .reply a{margin-left:auto}
.post-comments__header h2{flex-direction:row;}
.post-comments__count{order:0}
.post-comments__header h2>span:last-child{order:1}
.single-content .post-navigation{border-top:0!important;margin-top:8px!important;padding:0!important}
.single-content .post-navigation .nav-links{min-height:0;padding:0}
.single-content .post-navigation a{min-height:0;padding:5px 0;border:0;border-radius:0;background:transparent;color:#52645a;font-size:12px;font-weight:650;box-shadow:none;transform:none}
.single-content .post-navigation a:hover{border:0;background:transparent;color:var(--green);text-decoration:underline;text-underline-offset:3px;transform:none}
.single-content .post-navigation .nav-previous{text-align:left}
.single-content .post-navigation .nav-next{text-align:right}
.post-comments__count{display:inline!important;min-width:0!important;height:auto!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;color:#14243a!important;font-size:inherit!important;font-weight:750!important;line-height:inherit!important;box-shadow:none!important}
.post-comments .comment-body .reply{display:flex!important;width:100%!important;justify-content:flex-end!important;margin:8px 0 0!important;padding:0!important;text-align:right!important}
.post-comments .comment-body .reply a{display:inline-flex!important;margin:0!important}
.single-content .post-navigation a{padding:10px 14px!important}
.single-content .post-navigation .nav-links{min-height:42px}
.post-comments .comment-body{position:relative}
.post-comments .comment-content{position:static}
.post-comment-actions{position:absolute;z-index:5;top:-5px;right:0;display:inline-flex}
.post-comment-actions__toggle{display:grid;width:30px;height:30px;place-items:center;padding:0;border:1px solid #dfe6ef;border-radius:50%;background:#fff;color:#5d6e83;font:700 20px/1 Arial,sans-serif;cursor:pointer;transition:border-color .16s,background .16s,color .16s}
.post-comment-actions__toggle:hover,.post-comment-actions.is-open .post-comment-actions__toggle{border-color:#c7d7f5;background:#f3f7ff;color:#2459bd}
.post-comment-actions__menu{position:absolute;top:35px;right:0;z-index:10;display:grid;gap:2px;min-width:132px;padding:5px;border:1px solid #e1e7ef;border-radius:9px;background:#fff;box-shadow:0 10px 26px rgba(23,47,82,.14)}
.post-comment-actions__menu[hidden]{display:none!important}
.post-comment-actions__item{display:block;margin:0;padding:0}
.post-comment-actions__menu a{display:flex;align-items:center;min-height:34px;padding:0 10px;border-radius:6px;color:#34465c;font-size:12px;font-weight:650;text-decoration:none}
.post-comment-actions__menu a:hover{background:#f3f7ff;color:#2459bd}
.post-comment-actions__menu .post-comment-actions__delete:hover{background:#fff2f1;color:#b42318}
.post-comments .comment-body>.reply{display:none!important}
.post-comments .comment-meta .edit-link{display:none}
@media(max-width:600px){.post-comment-actions{top:-4px}.post-comment-actions__toggle{width:28px;height:28px}}
.comment-respond #reply-title{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:0 0 14px;padding:0 0 11px;border-bottom:1px solid #e7ecf2;color:#14243a;font-size:18px;font-weight:750;line-height:1.35}
.comment-respond #reply-title small{display:inline-flex;flex:0 0 auto;align-items:center;margin:0 0 0 auto;font-size:inherit;line-height:1}
.comment-respond #cancel-comment-reply-link{display:inline-flex;min-height:32px;align-items:center;justify-content:center;padding:0 11px;border:1px solid #d9e2ef;border-radius:8px;background:#fff;color:#52637a;font-size:12px;font-weight:650;line-height:1;text-decoration:none;transition:background .18s,border-color .18s,color .18s}
.comment-respond #cancel-comment-reply-link:hover,.comment-respond #cancel-comment-reply-link:focus-visible{border-color:#c6d6f4;background:#f3f7ff;color:#2459bd}
.comment-respond #cancel-comment-reply-link:focus-visible{outline:2px solid rgba(36,99,235,.35);outline-offset:2px}
@media(max-width:600px){.comment-respond #reply-title{gap:6px;font-size:16px}.comment-respond #reply-title small{margin-left:auto}.comment-respond #cancel-comment-reply-link{min-height:30px;padding:0 9px;font-size:11px}}
.pm-product-page .pm-product-lower-layout{grid-template-columns:minmax(0,1fr) 205px!important;gap:10px!important}
@media(max-width:1000px){.pm-product-page .pm-product-lower-layout{grid-template-columns:minmax(0,1fr)!important;gap:12px!important}.pm-product-page .pm-product-lower-layout>.pm-product-sidebar{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}}
@media(max-width:600px){.pm-product-page .pm-product-lower-layout>.pm-product-sidebar{grid-template-columns:minmax(0,1fr);gap:10px}}
.post-layout{grid-template-columns:minmax(220px,280px) minmax(0,1fr);gap:14px}
.pm-product-page .pm-product-lower-layout{grid-template-columns:minmax(0,1fr) 280px!important;gap:14px!important}
.pm-product-page .pm-product-sidebar .pm-recommend-card{padding:18px 16px}
.pm-product-page .pm-product-sidebar .pm-recommend-list li{grid-template-columns:68px minmax(0,1fr);gap:11px}
.pm-product-page .pm-product-sidebar .pm-recommend-thumb{width:68px;height:68px}
@media(max-width:1000px){.pm-product-page .pm-product-lower-layout{grid-template-columns:minmax(0,1fr)!important}.post-layout{grid-template-columns:minmax(0,1fr)}}
@media(max-width:600px){.pm-product-page .pm-product-sidebar .pm-recommend-card{padding:15px}.pm-product-page .pm-product-sidebar .pm-recommend-list li{grid-template-columns:64px minmax(0,1fr)}.pm-product-page .pm-product-sidebar .pm-recommend-thumb{width:64px;height:64px}}
.single-content .post-navigation a{min-height:36px;padding:0 15px!important;border:1px solid #dfe6ef!important;border-radius:999px!important;background:#fff!important;color:#52637a!important;box-shadow:0 1px 3px rgba(23,47,82,.04)!important;text-decoration:none!important}
.single-content .post-navigation a:hover,.single-content .post-navigation a:focus-visible{border-color:#c7d7f5!important;background:#f3f7ff!important;color:#2459bd!important;box-shadow:0 2px 7px rgba(36,99,235,.1)!important;text-decoration:none!important}
@media(max-width:600px){.single-content .post-navigation a{min-height:34px;padding:0 12px!important}}
.post-comments .comment-list li:last-child>.comment-body>.comment-content{padding-bottom:0;border-bottom:0}
.post-comment-form-card>h2{margin-bottom:14px;padding-bottom:0;border-bottom:0}
.post-comment-form-card #reply-title:empty{display:none!important;margin:0!important;padding:0!important;border:0!important}
.category .insights-archive .archive-head{padding-top:42px;padding-bottom:28px}
.category .insights-archive .archive-head h1{margin-top:8px;font-size:clamp(32px,4vw,46px);line-height:1.12;letter-spacing:-.04em}
@media(min-width:1001px){.category .insights-archive .post-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}}
@media(max-width:1000px){.category .insights-archive .post-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}}
@media(max-width:600px){.category .insights-archive .archive-head{padding-top:30px;padding-bottom:20px}.category .insights-archive .archive-head h1{font-size:clamp(28px,8vw,36px)}.category .insights-archive .post-grid{gap:12px}}
.category .insights-archive .archive-head{margin:20px 0 16px;padding:24px 28px}
.category .insights-archive .archive-head h1{margin-top:5px}
@media(max-width:600px){.category .insights-archive .archive-head{margin:16px 0 12px;padding:18px 16px}}
.category .insights-archive .archive-head{margin:22px 0 18px;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}
.category .insights-archive .archive-head .eyebrow{display:none}
.category .insights-archive .archive-head h1{margin:0;color:var(--ink);font-size:clamp(30px,3.5vw,40px);font-weight:700;line-height:1.15;letter-spacing:-.035em}
.category-archive-description{max-width:760px;margin-top:7px;color:var(--muted);font-size:14px;line-height:1.65}
.category-archive-description>*{margin:0}
@media(max-width:600px){.category .insights-archive .archive-head{margin:18px 0 14px;padding:0}.category .insights-archive .archive-head h1{font-size:clamp(27px,7.5vw,34px)}.category-archive-description{margin-top:6px;font-size:13px}}
@media(min-width:601px) and (max-width:1000px){.category .insights-archive .post-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}}
@media(max-width:600px){.category .insights-archive .post-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}}
@media(max-width:600px){
  .category .insights-archive .post-card{display:flex;min-width:0;flex-direction:column;align-items:stretch}
  .category .insights-archive .post-thumb{display:block;width:100%;min-height:0;aspect-ratio:1.3;background:#f4f6f3}
  .category .insights-archive .post-thumb img{width:100%;height:100%;object-fit:cover}
  .category .insights-archive .post-body{min-width:0;padding:12px 11px}
  .category .insights-archive .post-body h3{margin:0 0 7px;font-size:14px;line-height:1.3;overflow-wrap:anywhere}
  .category .insights-archive .post-body p{font-size:12px;line-height:1.5;overflow-wrap:anywhere}
  .category .insights-archive .post-read-link{font-size:11px}
}
.author .insights-archive .archive-head{margin:22px 0 18px;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}
.author-archive-heading{display:flex;align-items:center;gap:15px}
.author-archive-heading>div{min-width:0}
.author-archive-avatar{display:block;width:68px;height:68px;flex:0 0 68px;border:2px solid #fff;border-radius:50%;object-fit:cover;box-shadow:0 0 0 1px #dfe5e8}
.author .insights-archive .archive-head h1{margin:0;color:var(--ink);font-size:clamp(30px,3.5vw,40px);font-weight:700;line-height:1.15;letter-spacing:-.035em}
.author-archive-description{margin-top:5px;color:var(--muted);font-size:13px;line-height:1.55}
.author-archive-description>*{margin:0}
@media(min-width:1001px){.author .insights-archive .post-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}}
@media(min-width:601px) and (max-width:1000px){.author .insights-archive .post-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}}
@media(max-width:600px){.author .insights-archive .archive-head{margin:18px 0 14px;padding:0}.author-archive-heading{gap:11px}.author-archive-avatar{width:52px;height:52px;flex-basis:52px}.author .insights-archive .archive-head h1{font-size:clamp(27px,7.5vw,34px)}.author-archive-description{font-size:12px}.author .insights-archive .post-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.author .insights-archive .post-card{display:flex;min-width:0;flex-direction:column;align-items:stretch}.author .insights-archive .post-body{min-width:0;padding:12px 11px}.author .insights-archive .post-body h3{margin:0 0 7px;font-size:14px;line-height:1.3;overflow-wrap:anywhere}.author .insights-archive .post-body p{font-size:12px;line-height:1.5;overflow-wrap:anywhere}.author .insights-archive .post-read-link{font-size:11px}}
.home-page .posts-section .post-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
@media(min-width:601px) and (max-width:1000px){.home-page .posts-section .post-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}}
@media(max-width:600px){.home-page .posts-section .post-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.home-page .posts-section .post-card{display:flex;min-width:0;flex-direction:column}.home-page .posts-section .post-thumb{display:block;width:100%;min-height:0;aspect-ratio:1.2;background:#f4f6f3}.home-page .posts-section .post-thumb img{width:100%;height:100%;object-fit:cover}.home-page .posts-section .post-body{min-width:0;padding:12px 11px}.home-page .posts-section .post-body h3{margin:0 0 7px;font-size:14px;line-height:1.3;overflow-wrap:anywhere}.home-page .posts-section .post-body p{font-size:12px;line-height:1.5;overflow-wrap:anywhere}.home-page .posts-section .post-read-link{font-size:11px}}
@media(min-width:1001px){.home-page .products-section .product-grid,.home-page .posts-section .post-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:16px}}
@media(min-width:601px) and (max-width:1000px){.home-page .products-section .product-grid,.home-page .posts-section .post-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}}
@media(max-width:600px){.home-page .products-section .product-grid,.home-page .posts-section .post-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}}
/* Keep homepage product names and prices close, and place article links just after excerpts. */
.home-page .products-section .product-card .product-body{display:flex;flex-direction:column;justify-content:flex-start;padding:15px 14px}
.home-page .products-section .product-card .product-body h3{min-height:0!important;margin:0!important;padding:0!important;border:0!important;line-height:1.35!important}
.home-page .products-section .product-card .price-row{justify-content:flex-start;margin:7px 0 0!important;padding:0!important;gap:8px}
.home-page .posts-section .post-body{display:flex;flex-direction:column;align-items:flex-start}
.home-page .posts-section .post-body h3{margin:0 0 7px}
.home-page .posts-section .post-body p{margin:0}
.home-page .posts-section .post-read-link{margin-top:8px}
@media(min-width:601px) and (max-width:1000px){.home-page .products-section .product-card .product-body{padding:14px 12px}.home-page .products-section .product-card .product-body h3{font-size:15px!important}.home-page .products-section .product-card .price-row{margin-top:7px!important}}
@media(max-width:600px){.home-page .products-section .product-card .product-body{padding:11px 10px}.home-page .products-section .product-card .product-body h3{font-size:13px!important;line-height:1.3!important}.home-page .products-section .product-card .price-row{margin-top:6px!important}.home-page .posts-section .post-body{padding:12px 11px}.home-page .posts-section .post-body h3{font-size:14px;margin:0 0 6px}.home-page .posts-section .post-body p{font-size:12px;line-height:1.5}.home-page .posts-section .post-read-link{margin-top:7px}}
/* Use compact card copy spacing on the product catalog and blog archives too. */
.pm-shop-results .pm-product-card .pm-product-body h2{min-height:0!important;margin:0 0 6px!important;padding-bottom:0!important;border-bottom:0!important}
.pm-shop-results .pm-product-card .pm-price{margin-top:6px!important}
.insights-archive .post-body{display:flex;flex-direction:column;align-items:flex-start}
.insights-archive .post-body h3{margin:0 0 7px}
.insights-archive .post-body p{margin:0}
.insights-archive .post-read-link{margin-top:8px}
@media(max-width:1000px){.insights-archive .post-body{min-width:0}.insights-archive .post-body h3{margin-bottom:6px}.insights-archive .post-read-link{margin-top:7px}}
.post-navigation .nav-links{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center}
.post-navigation .nav-previous{grid-column:1;justify-self:start}
.post-navigation .nav-next{grid-column:2;justify-self:end;text-align:right}
.post-main-column>.single-content h1{font-size:clamp(28px,3.3vw,40px)}
@media(max-width:600px){.post-main-column>.single-content h1{font-size:clamp(26px,6.8vw,33px)}}
/* Final homepage spacing: compact product price and inline article action. */
.home-page .products-section .product-card .product-body h3{min-height:0!important;height:auto!important;margin:0 0 4px!important;padding:0!important;border:0!important;line-height:1.35!important}
.home-page .products-section .product-card .price-row{justify-content:flex-start;margin:0!important;padding:0!important;gap:8px}
.home-page .posts-section .post-body{display:flex;flex-direction:column;align-items:flex-start}
.home-page .posts-section .post-body h3{margin:0 0 7px}
.home-page .posts-section .post-body p{margin:0}
.home-page .posts-section .post-read-link{display:inline-flex;margin:0 0 0 5px;vertical-align:baseline}
.pm-shop-results .pm-product-card .pm-product-body h2{min-height:0!important;margin:0 0 4px!important;padding-bottom:0!important;border-bottom:0!important}
.pm-shop-results .pm-product-card .pm-price{margin-top:0!important}
.insights-archive .post-body{display:flex;flex-direction:column;align-items:flex-start}
.insights-archive .post-body h3{margin:0 0 7px}
.insights-archive .post-body p{margin:0}
.insights-archive .post-read-link{margin-top:8px}
@media(min-width:601px) and (max-width:1000px){.home-page .products-section .product-card .product-body h3{font-size:15px!important}.home-page .products-section .product-card .price-row{margin-top:0!important}.insights-archive .post-body{min-width:0}.insights-archive .post-read-link{margin-top:7px}}
@media(max-width:600px){.home-page .products-section .product-card .product-body h3{font-size:13px!important;line-height:1.3!important}.home-page .posts-section .post-body{padding:12px 11px}.home-page .posts-section .post-body h3{font-size:14px;margin:0 0 6px}.home-page .posts-section .post-body p{font-size:12px;line-height:1.5}.home-page .posts-section .post-read-link{margin-left:4px}.insights-archive .post-body{min-width:0}.insights-archive .post-read-link{margin-top:7px}}
/* Align all homepage product prices by reserving room for three title lines. */
.home-page .products-section .product-card .product-body h3{min-height:4.1em!important;margin-bottom:4px!important}
.home-page .products-section .product-card .price-row{margin-top:auto!important;padding-top:0!important}
@media(max-width:600px){.home-page .products-section .product-card .product-body h3{min-height:3.9em!important}.home-page .products-section .product-card .price-row{margin-top:auto!important;padding-top:0!important}}
/* Three-line title slots keep product prices level without leaving blank space. */
.home-page .products-section .product-card .product-body h3{display:-webkit-box!important;height:4.05em!important;min-height:4.05em!important;max-height:4.05em!important;overflow:hidden!important;-webkit-box-orient:vertical;-webkit-line-clamp:3;margin:0 0 2px!important;line-height:1.35!important}
.home-page .products-section .product-card .price-row{margin:0!important;padding:0!important}
.pm-shop-results .pm-product-card .pm-product-body{min-height:0!important}
.pm-shop-results .pm-product-card .pm-product-body h2{display:-webkit-box!important;height:4.05em!important;min-height:4.05em!important;max-height:4.05em!important;overflow:hidden!important;-webkit-box-orient:vertical;-webkit-line-clamp:3;margin:0 0 2px!important;line-height:1.35!important}
.pm-shop-results .pm-product-card .pm-price{margin:0!important}
.woocommerce ul.products li.product .woocommerce-loop-product__title{display:-webkit-box;height:4.05em;min-height:4.05em;max-height:4.05em;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:3;margin-bottom:2px!important;line-height:1.35!important}
.woocommerce ul.products li.product .price{margin-top:0!important}
@media(max-width:600px){.home-page .products-section .product-card .product-body h3,.pm-shop-results .pm-product-card .pm-product-body h2,.woocommerce ul.products li.product .woocommerce-loop-product__title{height:3.9em!important;min-height:3.9em!important;max-height:3.9em!important;line-height:1.3!important}}
@media(max-width:600px){.home-page .products-section{padding-bottom:24px}.home-page .posts-section{padding-top:24px}}
/* Tighten the three homepage sections while keeping clear visual separation. */
.home-page .services-section,.home-page .products-section,.home-page .posts-section{padding-top:48px;padding-bottom:48px}
@media(max-width:900px){.home-page .services-section,.home-page .products-section,.home-page .posts-section{padding-top:38px;padding-bottom:38px}}
@media(max-width:600px){.home-page .services-section,.home-page .products-section,.home-page .posts-section{padding-top:28px;padding-bottom:28px}.home-page .products-section{padding-bottom:22px}.home-page .posts-section{padding-top:22px}}
.blog-archive-head{margin:22px 0 20px!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
.blog-archive-head .eyebrow{display:none!important}
.blog-archive-head h1{margin:0!important;color:var(--brand-ink);font-size:clamp(30px,3.5vw,40px)!important;font-weight:700!important;line-height:1.15!important;letter-spacing:-.035em!important}
.blog-archive-head .section-intro{margin:6px 0 0!important;color:var(--brand-muted);font-size:13px}
@media(max-width:600px){.blog-archive-head{margin:18px 0 14px!important}.blog-archive-head h1{font-size:clamp(27px,7.5vw,34px)!important}}
/* Keep post archive cards consistent across the blog, category and author pages. */
@media(min-width:1001px){.insights-archive .post-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}}
@media(min-width:601px) and (max-width:1000px){.insights-archive .post-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}}
.insights-archive .post-card{display:flex;min-width:0;flex-direction:column;align-items:stretch}
.insights-archive .post-thumb{display:block;width:100%;aspect-ratio:1.35;min-height:0;overflow:hidden}
.insights-archive .post-thumb img{width:100%;height:100%;object-fit:cover}
.insights-archive .post-body{display:block;min-width:0;padding:15px}
.insights-archive .post-body .meta{display:none!important}
.insights-archive .post-body p{margin:0;color:#718096;font-size:12px;line-height:1.6}
.insights-archive .post-read-link{display:inline-flex;margin:0 0 0 5px;vertical-align:baseline;white-space:nowrap}
@media(max-width:600px){.insights-archive .post-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.insights-archive .post-thumb{aspect-ratio:1.2}.insights-archive .post-body{padding:12px 11px}.insights-archive .post-body h3{margin:0 0 6px;font-size:14px;line-height:1.3;overflow-wrap:anywhere}.insights-archive .post-body p{font-size:11px;line-height:1.5}.insights-archive .post-read-link{font-size:10px;margin:0 0 0 4px}}

/* Site-wide header search and account shortcut. */
.header-row{display:grid;grid-template-columns:auto minmax(0,1fr) minmax(220px,340px) auto auto;gap:clamp(12px,1.7vw,24px);min-height:82px}
.header-row>.brand{grid-column:1;grid-row:1;white-space:nowrap}
.header-row>.main-nav{grid-column:2;grid-row:1;justify-self:center;min-width:0}
.header-row>.main-nav ul{gap:clamp(12px,1.8vw,26px)}
.header-row>.site-search{grid-column:3;grid-row:1;width:100%;height:42px;display:flex;align-items:center;gap:8px;margin:0;padding:4px 5px 4px 14px;border:1px solid #dce3e8;border-radius:999px;background:#fff;box-shadow:0 3px 12px rgba(24,40,56,.045);transition:border-color .18s,box-shadow .18s}
.header-row>.site-search:focus-within{border-color:#91b8a5;box-shadow:0 0 0 3px rgba(30,91,69,.09)}
.site-search input[type=search]{width:100%;min-width:0;height:100%;padding:0;border:0!important;outline:0!important;background:transparent!important;box-shadow:none!important;color:var(--ink);font:500 13px/1.3 var(--sans)}
.site-search input[type=search]::placeholder{color:#8a96a0}
.site-search button{display:grid;flex:0 0 32px;width:32px;height:32px;place-items:center;padding:0;border:0;border-radius:50%;background:#2463eb;color:#fff;cursor:pointer;transition:background .18s,transform .18s}
.site-search button:hover{transform:scale(1.04);background:#174fc5}
.site-search button svg,.header-profile-icon svg{display:block;width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.header-row>.header-cart{grid-column:4;grid-row:1;position:relative;display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:42px;padding:0 12px;border:1px solid #d9e4fb;border-radius:999px;background:#fff;color:#17283e;font-size:12px;font-weight:750;white-space:nowrap;transition:border-color .18s,background .18s,color .18s}
.header-row>.header-cart:hover{border-color:#a9c3fa;background:#f5f8ff;color:#2456bd}
.header-cart svg{display:block;width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.header-cart-count{position:absolute;top:-5px;right:-5px;display:grid;min-width:17px;height:17px;padding:0 4px;place-items:center;border:2px solid #fff;border-radius:999px;background:#2463eb;color:#fff;font-size:9px;line-height:1}
.header-row>.header-profile{grid-column:5;grid-row:1;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;padding:0 13px;border:1px solid #d9e4fb;border-radius:999px;background:#fff;color:#17283e;font-size:12px;font-weight:750;white-space:nowrap;transition:border-color .18s,background .18s,color .18s}
.header-row>.header-profile:hover{border-color:#a9c3fa;background:#f5f8ff;color:#2456bd}
.header-profile-avatar{width:30px;height:30px;border:1px solid #e3e9e5;border-radius:50%;object-fit:cover}
.header-profile-icon{display:grid;width:30px;height:30px;place-items:center;border-radius:50%;background:#f0f4fb;color:#526985}
.header-row>.menu-toggle{grid-column:4;grid-row:1;display:none}
.site-search .screen-reader-text{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(1px,1px,1px,1px);white-space:nowrap}
@media(max-width:1000px){
 .site-header{z-index:100}
 .header-row{position:relative;grid-template-columns:36px auto minmax(0,1fr) 36px 36px;grid-template-rows:auto;grid-template-areas:"toggle brand search cart profile";gap:8px 8px;min-height:0;padding-top:9px;padding-bottom:9px}
 .header-row>.brand{grid-area:brand;align-self:center}
 .header-row>.site-search{grid-area:search;max-width:none;min-width:0;height:39px}
 .header-row>.header-cart{grid-area:cart;width:36px;min-width:36px;height:36px;min-height:36px;padding:0;border:0;background:transparent}
 .header-row>.header-cart:hover{border:0;background:#f5f8ff}
 .header-cart-label{display:none}
 .header-cart svg{width:19px;height:19px}
 .header-row>.header-profile{grid-area:profile;min-height:36px;padding:0 3px;border:0;background:transparent}
 .header-row>.header-profile>span:not(.header-profile-icon),.header-row>.header-profile>span:last-child{display:none}
 .header-profile-avatar,.header-profile-icon{width:30px;height:30px}
 .header-row>.menu-toggle{grid-area:toggle;display:inline-flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-width:40px;width:40px;height:36px;padding:0;border-color:#dce3df;background:#fff;color:#263b32;font-weight:700}
 .header-row>.menu-toggle>span{display:block;width:16px;height:2px;border-radius:2px;background:#263b32}
 .header-row>.main-nav{position:absolute;grid-column:1/-1;top:calc(100% + 1px);right:auto;left:0;z-index:24;display:block;justify-self:start;width:min(320px,calc(100vw - 44px));max-width:none;box-sizing:border-box;max-height:calc(100dvh - 90px);overflow:auto;padding:10px 20px 16px;border:1px solid var(--line);border-radius:0 14px 14px 0;background:#fff;box-shadow:0 16px 36px rgba(24,40,56,.16);transform:translateX(calc(-100% - 12px));visibility:hidden;transition:transform .24s ease,visibility .24s}
 .header-row>.main-nav.is-open{transform:translateX(0);visibility:visible}
 .header-row>.main-nav ul{align-items:stretch;flex-direction:column;gap:0}
 .header-row>.main-nav li a{display:block;min-height:42px;padding:10px 2px;border-bottom:1px solid #edf0f2}
}
.menu-backdrop{display:none}
.menu-backdrop.is-open{display:block;position:fixed;inset:0;z-index:90;width:100%;height:100%;padding:0;border:0;border-radius:0;background:rgba(14,26,40,.28);cursor:default}
@media(max-width:520px){
 .header-row{width:calc(100% - 28px);grid-template-columns:36px auto minmax(0,1fr) 36px 36px;gap:6px;padding-top:8px;padding-bottom:9px}
 .header-row>.brand{font-size:21px;letter-spacing:-.05em}
 .header-row>.header-profile{width:36px;min-width:36px;height:36px;padding:0}
 .header-profile-avatar,.header-profile-icon{width:30px;height:30px}
 .header-row>.header-profile>span:not(.header-profile-icon),.header-row>.header-profile>span:last-child{display:none}
 .header-row>.menu-toggle{min-width:36px;width:36px;padding:0;font-size:0}
 .header-row>.site-search{height:38px;padding-left:12px}
 .site-search input[type=search]{font-size:12px}
}

/* Refined site-wide footer. */
.site-footer{margin-top:36px;padding:0;background:#101d32;border:0;color:#d5deeb}
.footer-main{display:grid;grid-template-columns:minmax(260px,1.6fr) repeat(2,minmax(150px,.7fr));gap:clamp(34px,7vw,100px);padding:44px 0 34px}
.footer-brand-block{max-width:390px}
.site-footer .footer-brand{display:inline-flex;align-items:center;font-size:25px;letter-spacing:-.055em;color:#fff}
.site-footer .footer-brand span{color:#fff}
.site-footer .footer-brand .brand-domain{color:#76a6ff}
.footer-brand-block>p{max-width:330px;margin:17px 0 22px;color:#a9b7ca;font-size:14px;line-height:1.75}
.footer-back-top{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:40px;padding:0 15px;border:1px solid rgba(255,255,255,.24);border-radius:999px;background:rgba(255,255,255,.06);color:#fff;font-size:12px;font-weight:750;white-space:nowrap;transition:background .2s,border-color .2s,transform .2s}
.footer-back-top span{display:grid;width:20px;height:20px;place-items:center;border-radius:50%;background:#76a6ff;color:#101d32;font-size:14px;line-height:1}
.footer-back-top:hover{transform:translateY(-2px);border-color:#76a6ff;background:rgba(50,105,235,.2);color:#fff}
.footer-links{display:flex;flex-direction:column;align-items:flex-start;gap:11px}
.footer-links h2{margin:3px 0 9px;color:#fff;font-size:13px;font-weight:800;letter-spacing:.04em}
.footer-links a{color:#a9b7ca;font-size:13px;line-height:1.5;transition:color .18s,transform .18s}
.footer-links a:hover{transform:translateX(3px);color:#fff}
.footer-bottom{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:15px 0 18px;border-top:1px solid rgba(255,255,255,.13);color:#8f9eb3;font-size:11px}
.footer-bottom p{margin:0}
.footer-bottom>a{color:#a9b7ca}
.footer-bottom>a:hover{color:#fff}
.footer-bottom .footer-back-top{margin-left:auto}
@media(max-width:800px){
 .site-footer{margin-top:28px}
 .footer-main{grid-template-columns:1fr 1fr;gap:28px 24px;padding:36px 0 28px}
 .footer-brand-block{grid-column:1/-1;max-width:none}
 .footer-brand-block>p{margin:12px 0 16px}
}
@media(max-width:520px){
 .site-footer{margin-top:22px}
 .footer-main{gap:24px 18px;padding:30px 0 24px}
 .site-footer .footer-brand{font-size:23px}
 .footer-brand-block>p{font-size:13px}
 .footer-links{gap:9px}
 .footer-links h2{margin-bottom:5px}
 .footer-links a{font-size:12px}
 .footer-bottom{display:grid;grid-template-columns:1fr auto;align-items:center;gap:8px 12px;padding:13px 0 16px}
 .footer-bottom>p{grid-column:1/-1}
 .footer-bottom .footer-back-top{grid-column:2;grid-row:2;margin-left:0}
}
/* Homepage blog: three image-led cards per desktop row. */
@media(min-width:1001px){.home-page .posts-section .post-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}}
@media(min-width:601px) and (max-width:1000px){.home-page .posts-section .post-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}}
.home-page .posts-section .post-thumb{display:block;width:100%;aspect-ratio:1.65;overflow:hidden;background:#f1f5f9}
.home-page .posts-section .post-thumb img{width:100%;height:100%;object-fit:cover}
@media(max-width:600px){.home-page .posts-section .post-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.home-page .posts-section .post-thumb{aspect-ratio:1.2}}

/* Homepage: show 5 products on larger screens and all 6 on phones. */
.home-page .products-section .product-card:nth-of-type(n+6){display:none}
.home-page .posts-section .post-thumb--placeholder{display:grid;place-items:center;background:#f1f4f8;color:#8492a6;text-decoration:none}
.home-page .posts-section .post-thumb--placeholder span{font-size:42px;line-height:1}
@media(max-width:600px){.home-page .products-section .product-card:nth-of-type(6){display:block}}

/* Improve readability of homepage blog cards. */
.home-page .posts-section .post-body h3{font-size:21px;line-height:1.3}
.home-page .posts-section .post-body p{font-size:14px;line-height:1.65}
.home-page .posts-section .post-read-link{font-size:12px}
@media(max-width:600px){.home-page .posts-section .post-body h3{font-size:16px!important;line-height:1.35!important}.home-page .posts-section .post-body p{font-size:13px!important;line-height:1.6!important}.home-page .posts-section .post-read-link{font-size:12px!important}}

/* Header mini-cart preview. */
.header-row{position:relative}
.header-cart-popover{position:absolute;z-index:50;top:calc(100% + 7px);right:clamp(70px,8vw,122px);width:min(360px,calc(100vw - 24px));padding:14px;border:1px solid #dce5ef;border-radius:14px;background:#fff;color:#17283e;box-shadow:0 16px 44px rgba(18,35,58,.18)}
.header-cart-popover[hidden]{display:none!important}
.header-cart-popover__content{max-height:min(360px,60vh);overflow:auto}
.header-mini-cart__items{display:grid;gap:0}
.header-mini-cart__item{display:grid;grid-template-columns:minmax(0,1fr) 30px;align-items:center;gap:8px;padding:9px 0;border-bottom:1px solid #edf1f6}
.header-mini-cart__product{display:flex;min-width:0;align-items:center;gap:11px;color:inherit}
.header-mini-cart__image{display:grid;flex:0 0 52px;width:52px;height:52px;place-items:center;overflow:hidden;border-radius:9px;background:#f1f4f8;color:#7a8da5}
.header-mini-cart__image img{width:100%;height:100%;object-fit:cover}
.header-mini-cart__image>span{font-size:21px}
.header-mini-cart__copy{display:grid;min-width:0;gap:4px}
.header-mini-cart__copy strong{overflow:hidden;color:#17283e;font-size:13px;line-height:1.35;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}
.header-mini-cart__copy small{color:#687c95;font-size:12px}
.header-mini-cart__remove{display:grid;width:28px;height:28px;place-items:center;border:1px solid #e0e7f0;border-radius:50%;background:#fff;color:#6c7b8e;font-size:19px;line-height:1;cursor:pointer}
.header-mini-cart__remove:hover{border-color:#f1b7b7;background:#fff5f5;color:#bf3434}
.header-mini-cart__remove:disabled{opacity:.5;cursor:wait}
.header-mini-cart__footer{display:flex;justify-content:space-between;gap:12px;padding:12px 0;color:#687c95;font-size:13px}
.header-mini-cart__footer strong{color:#17283e}
.header-mini-cart__empty,.header-cart-popover__loading{margin:5px 0;padding:14px 4px;color:#687c95;font-size:13px}
.header-cart-popover__link{display:flex;min-height:42px;align-items:center;justify-content:center;border-radius:9px;background:#2463eb;color:#fff;font-size:13px;font-weight:750}
.header-cart-popover__link:hover{background:#174ec7;color:#fff}
.header-cart-count[hidden]{display:none!important}
@media(max-width:800px){.header-cart-popover{right:38px;top:calc(100% + 6px)}}

/* Blog archive: compact horizontal story cards with the image on the left. */
.insights-archive.post-archive-cards .post-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.insights-archive.post-archive-cards .post-card{display:grid;grid-template-columns:minmax(105px,38%) minmax(0,1fr);align-items:stretch;min-width:0}
.insights-archive.post-archive-cards .post-thumb{display:grid;width:100%;min-height:100%;aspect-ratio:auto;place-items:center;overflow:hidden;background:#f1f4f8}
.insights-archive.post-archive-cards .post-thumb img{width:100%;height:100%;min-height:100%;object-fit:cover}
.insights-archive.post-archive-cards .post-thumb-placeholder{color:#8191a5;font-size:34px;line-height:1}
.insights-archive.post-archive-cards .post-body{min-width:0;padding:15px}
.insights-archive.post-archive-cards .post-body h3{margin:0 0 7px;font-size:18px;line-height:1.3;overflow-wrap:anywhere}
.insights-archive.post-archive-cards .post-body p{font-size:13px;line-height:1.55;overflow-wrap:anywhere}
@media(min-width:601px) and (max-width:1000px){.insights-archive.post-archive-cards .post-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}}
@media(max-width:600px){.insights-archive.post-archive-cards .post-grid{grid-template-columns:1fr;gap:12px}.insights-archive.post-archive-cards .post-card{grid-template-columns:110px minmax(0,1fr)}.insights-archive.post-archive-cards .post-thumb{min-height:116px}.insights-archive.post-archive-cards .post-body{padding:12px}.insights-archive.post-archive-cards .post-body h3{font-size:16px}.insights-archive.post-archive-cards .post-body p{font-size:12px}}

/* Keep blog, category, and tag archive cards compact across screen sizes. */
.insights-archive.post-archive-cards .post-card{min-height:112px}
.insights-archive.post-archive-cards .post-thumb{height:112px;min-height:112px}
.insights-archive.post-archive-cards .post-body{padding:10px 12px}
.insights-archive.post-archive-cards .post-body h3{font-size:16px;line-height:1.23;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.insights-archive.post-archive-cards .post-body p{font-size:12px;line-height:1.4;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
@media(min-width:601px) and (max-width:1000px){.insights-archive.post-archive-cards .post-grid{grid-template-columns:1fr;gap:12px}.insights-archive.post-archive-cards .post-card{grid-template-columns:138px minmax(0,1fr);min-height:108px}.insights-archive.post-archive-cards .post-thumb{height:108px;min-height:108px}}
@media(max-width:600px){.insights-archive.post-archive-cards .post-grid{grid-template-columns:1fr;gap:10px}.insights-archive.post-archive-cards .post-card{grid-template-columns:96px minmax(0,1fr);min-height:96px}.insights-archive.post-archive-cards .post-thumb{height:96px;min-height:96px}.insights-archive.post-archive-cards .post-body{padding:8px 10px}.insights-archive.post-archive-cards .post-body h3{font-size:15px}.insights-archive.post-archive-cards .post-body p{font-size:11px;line-height:1.35;-webkit-line-clamp:2}}
@media(max-width:600px){.insights-archive .post-grid{grid-template-columns:1fr!important}.insights-archive .post-card{grid-template-columns:96px minmax(0,1fr)}}
.category .insights-archive .archive-head h1{font-size:clamp(25px,3vw,33px)!important;line-height:1.15!important}
@media(min-width:601px) and (max-width:1000px){.category .insights-archive .archive-head h1{font-size:27px!important}}
@media(max-width:600px){.category .insights-archive .archive-head h1{font-size:21px!important;line-height:1.2!important}}
.tag .insights-archive .archive-head{margin:22px 0 18px;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}
.tag .insights-archive .archive-head .eyebrow{display:none}
.tag .insights-archive .archive-head h1{margin:0;color:var(--ink);font-size:clamp(25px,3vw,33px)!important;font-weight:700;line-height:1.15!important;letter-spacing:-.035em}
@media(max-width:600px){.tag .insights-archive .archive-head{margin:18px 0 14px}.tag .insights-archive .archive-head h1{font-size:21px!important;line-height:1.2!important}}

/* Keep mobile browsers at the intended layout scale, including focused form fields. */
@media(max-width:1024px){
  html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
  input[type="text"],input[type="email"],input[type="password"],input[type="search"],input[type="tel"],input[type="url"],input[type="number"],input:not([type]),select,textarea{font-size:16px!important}
}
