/* Toopa Qeshm header logo, 2026-10-08 */
body.tq-novigrad .site-header .brand,.site-header .brand{display:inline-flex;align-items:center;gap:9px;flex-shrink:0;white-space:nowrap;font-size:24px;font-weight:700;line-height:1.4;letter-spacing:0}
.site-header .brand::before{content:"";display:block;flex:0 0 72px;width:72px;height:40px;background-image:url("images/toopa-qeshm-logo-header.webp");background-repeat:no-repeat;background-size:contain;background-position:center}
.site-header .brand>svg.icon{display:none}
.site-header .brand small{display:none}
.site-header .brand b{color:inherit;font-weight:inherit;margin-inline-start:.22em}
@media(max-width:600px){body.tq-novigrad .site-header .brand,.site-header .brand{font-size:18px;gap:6px}.site-header .brand::before{flex-basis:50px;width:50px;height:29px}}
@media(max-width:360px){body.tq-novigrad .site-header .brand,.site-header .brand{font-size:16px;gap:5px}.site-header .brand::before{flex-basis:44px;width:44px;height:26px}}

/* Header item 2: store showcase, 2026-10-08 */
.site-header .tq-showcase>a{display:flex;align-items:center;gap:8px}
.site-header .tq-showcase>a>.icon{display:none}
.site-header .tq-showcase>a::before{content:"";display:inline-block;width:21px;height:21px;flex:0 0 21px;background-color:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%223%22%20y%3D%223%22%20width%3D%2218%22%20height%3D%2218%22%20rx%3D%222.5%22%2F%3E%3Ccircle%20cx%3D%228.5%22%20cy%3D%228.5%22%20r%3D%221.5%22%2F%3E%3Cpath%20d%3D%22m21%2015-5-5L5%2021%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%223%22%20y%3D%223%22%20width%3D%2218%22%20height%3D%2218%22%20rx%3D%222.5%22%2F%3E%3Ccircle%20cx%3D%228.5%22%20cy%3D%228.5%22%20r%3D%221.5%22%2F%3E%3Cpath%20d%3D%22m21%2015-5-5L5%2021%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat}

/* B Yekan webfont: actual Soft98 BYekan.ttf converted losslessly to WOFF. Regular face; browser synthesizes bold headings. */
@font-face{font-family:"B Yekan";font-style:normal;font-weight:400;font-display:swap;src:url("fonts/BYekan.woff") format("woff")}
/* Toopa Qeshm: B Yekan from the Soft98 font archive with measured Novigrad typography, 2026-10-08. */
body.tq-novigrad{font-family:"B Yekan",Tahoma,sans-serif;font-size:16px;line-height:1.5;font-weight:400;letter-spacing:normal}
body.tq-novigrad,body.tq-novigrad :is(a,button,input,select,textarea,h1,h2,h3,h4,h5,h6,p,span,small,strong,b,label,summary,th,td,legend){font-family:"B Yekan",Tahoma,sans-serif!important;letter-spacing:normal}
body.tq-novigrad .primary-nav :is(a,summary,.nav-saved){font-size:16px;line-height:24px;font-weight:400}
body.tq-novigrad .primary-nav .icon{width:22px;height:22px}
body.tq-novigrad .site-header .tq-showcase>a::before{width:22px;height:22px;flex-basis:22px}
body.tq-novigrad .mega-panel .mega-tabs button,body.tq-novigrad .mega-panel :is(.mega-category,.mega-all),body.tq-novigrad .mega-panel :is(strong,small){font-size:15px;line-height:22.5px;font-weight:400}
body.tq-novigrad .account-link{font-size:16px;font-weight:400;line-height:50px}
body.tq-novigrad .hero :is(h1,.hero-title){font-size:30px;font-weight:900;line-height:36px;letter-spacing:normal}
body.tq-novigrad .section-heading h2{font-size:22px;font-weight:900;line-height:33px}
body.tq-novigrad .view-all{font-size:14px;font-weight:400;line-height:21px}
body.tq-novigrad .woocommerce ul.products li.product .woocommerce-loop-product__title,body.tq-novigrad .shop-content ul.products li.product .woocommerce-loop-product__title{font-size:17px!important;font-weight:700!important;line-height:20.4px!important;min-height:41px}
body.tq-novigrad .woocommerce ul.products li.product :is(.tq-product-meta,.tq-stock,.tq-product-options){font-size:12px;font-weight:400;line-height:18px}
body.tq-novigrad .woocommerce ul.products li.product .price{font-size:14px!important;font-weight:500;line-height:21px}
body.tq-novigrad .product-tags,body.tq-novigrad .product-categories,body.tq-novigrad .tq-product-stage .product_meta a{font-size:13px;font-weight:400;line-height:19.5px}
body.tq-novigrad .discovery-filter :is(input,select,summary,.button),body.tq-novigrad .shop-content .price-filter :is(input,select),body.tq-novigrad .catalog-extra .catalog-switch{font-size:14px;font-weight:400}
body.tq-novigrad .shop-content .page-title,body.tq-novigrad .woocommerce-products-header__title,body.tq-novigrad .page-content>article>h1,body.tq-novigrad .tq-directory-heading h1{font-size:32px;font-weight:700;line-height:38.4px}
body.tq-novigrad .woocommerce div.product .product_title,body.tq-novigrad .tq-product-stage .product_title{font-size:30px;font-weight:900;line-height:40px}
body.tq-novigrad .tq-product-stage .woocommerce-product-details__short-description{font-size:14px;font-weight:400;line-height:35px}
body.tq-novigrad .tq-purchase-panel .tq-product-facts,body.tq-novigrad .tq-product-stage .product_meta{font-size:14px;font-weight:400;line-height:35px}
body.tq-novigrad .tq-purchase-panel>h2,body.tq-novigrad .woocommerce-tabs h2,body.tq-novigrad .related>h2,body.tq-novigrad .upsells>h2,body.tq-novigrad .dialog-heading h2{font-size:20px;font-weight:900;line-height:30px}
body.tq-novigrad .woocommerce div.product .single_add_to_cart_button{font-size:15px;font-weight:600;line-height:22.5px}
body.tq-novigrad .hero-price{font-weight:500}
body.tq-novigrad .site-footer :is(.footer-strip,.footer-link){font-size:16px;font-weight:400;line-height:24px}
@media(max-width:600px){
 body.tq-novigrad .primary-nav :is(a,summary,.nav-saved){font-size:13px;line-height:19.5px}
 body.tq-novigrad .hero :is(h1,.hero-title){font-size:24px;line-height:32px}
 body.tq-novigrad .section-heading h2{font-size:19px;line-height:28.5px}
 body.tq-novigrad .view-all{font-size:12px;line-height:18px}
 body.tq-novigrad .woocommerce ul.products li.product .woocommerce-loop-product__title,body.tq-novigrad .shop-content ul.products li.product .woocommerce-loop-product__title{font-size:14px!important;line-height:20.4px!important;min-height:41px}
 body.tq-novigrad .woocommerce ul.products li.product :is(.tq-product-meta,.tq-stock,.tq-product-options){font-size:10px;line-height:15px}
 body.tq-novigrad .woocommerce ul.products li.product .price{font-size:12px!important;line-height:18px}
 body.tq-novigrad .shop-content .page-title,body.tq-novigrad .woocommerce-products-header__title,body.tq-novigrad .page-content>article>h1,body.tq-novigrad .tq-directory-heading h1{font-size:24px;line-height:32px}
 body.tq-novigrad .woocommerce div.product .product_title,body.tq-novigrad .tq-product-stage .product_title{font-size:24px;line-height:34px}
 body.tq-novigrad .site-footer :is(.footer-strip,.footer-link){font-size:14px;line-height:21px}
}
@media(max-width:360px){body.tq-novigrad .hero :is(h1,.hero-title){font-size:21px;line-height:29px}body.tq-novigrad .section-heading h2{font-size:17px;line-height:25.5px}}


/* Restore approved links after the button-to-anchor migration. */
body.tq-novigrad.wp-theme-toopa-qeshm .site-header :is(.primary-nav,.mobile-utilities)>a:is(.nav-brands,.nav-saved){display:flex;align-items:center;gap:8px;color:inherit;min-height:24px;line-height:24px;font-size:16px;font-weight:400}
body.tq-novigrad.wp-theme-toopa-qeshm .site-header :is(.primary-nav,.mobile-utilities)>a:is(.nav-brands,.nav-saved)>.icon{display:none!important}
body.tq-novigrad.wp-theme-toopa-qeshm .site-header :is(.primary-nav,.mobile-utilities)>a:is(.nav-brands,.nav-saved)>span{display:inline!important}
body.tq-novigrad.wp-theme-toopa-qeshm .site-header :is(.primary-nav,.mobile-utilities)>a:is(.nav-brands,.nav-saved)::after{content:none!important}
body.tq-novigrad.wp-theme-toopa-qeshm .site-header :is(.primary-nav,.mobile-utilities)>a:is(.nav-brands,.nav-saved)::before{content:"";display:block;flex:0 0 22px;width:22px;height:22px;background-color:currentColor}
body.tq-novigrad.wp-theme-toopa-qeshm .site-header :is(.primary-nav,.mobile-utilities)>a.nav-brands::before{-webkit-mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20fill%3D%22white%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20opacity%3D%22.4%22%20d%3D%22M9%202C6.38%202%204.25%204.13%204.25%206.75c0%202.57%202.01%204.65%204.63%204.74.08-.01.16-.01.22%200h.07a4.738%204.738%200%200%200%204.58-4.74C13.75%204.13%2011.62%202%209%202Z%22%2F%3E%3Cpath%20d%3D%22M14.08%2014.149c-2.79-1.86-7.34-1.86-10.15%200-1.27.85-1.97%202-1.97%203.23s.7%202.37%201.96%203.21c1.4.94%203.24%201.41%205.08%201.41%201.84%200%203.68-.47%205.08-1.41%201.26-.85%201.96-1.99%201.96-3.23-.01-1.23-.7-2.37-1.96-3.21Z%22%2F%3E%3Cpath%20opacity%3D%22.4%22%20d%3D%22M19.99%207.338c.16%201.94-1.22%203.64-3.13%203.87h-.05c-.06%200-.12%200-.17.02-.97.05-1.86-.26-2.53-.83%201.03-.92%201.62-2.3%201.5-3.8a4.64%204.64%200%200%200-.77-2.18%203.592%203.592%200%200%201%205.15%202.92Z%22%2F%3E%3Cpath%20d%3D%22M21.988%2016.59c-.08.97-.7%201.81-1.74%202.38-1%20.55-2.26.81-3.51.78.72-.65%201.14-1.46%201.22-2.32.1-1.24-.49-2.43-1.67-3.38-.67-.53-1.45-.95-2.3-1.26%202.21-.64%204.99-.21%206.7%201.17.92.74%201.39%201.67%201.3%202.63Z%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20fill%3D%22white%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20opacity%3D%22.4%22%20d%3D%22M9%202C6.38%202%204.25%204.13%204.25%206.75c0%202.57%202.01%204.65%204.63%204.74.08-.01.16-.01.22%200h.07a4.738%204.738%200%200%200%204.58-4.74C13.75%204.13%2011.62%202%209%202Z%22%2F%3E%3Cpath%20d%3D%22M14.08%2014.149c-2.79-1.86-7.34-1.86-10.15%200-1.27.85-1.97%202-1.97%203.23s.7%202.37%201.96%203.21c1.4.94%203.24%201.41%205.08%201.41%201.84%200%203.68-.47%205.08-1.41%201.26-.85%201.96-1.99%201.96-3.23-.01-1.23-.7-2.37-1.96-3.21Z%22%2F%3E%3Cpath%20opacity%3D%22.4%22%20d%3D%22M19.99%207.338c.16%201.94-1.22%203.64-3.13%203.87h-.05c-.06%200-.12%200-.17.02-.97.05-1.86-.26-2.53-.83%201.03-.92%201.62-2.3%201.5-3.8a4.64%204.64%200%200%200-.77-2.18%203.592%203.592%200%200%201%205.15%202.92Z%22%2F%3E%3Cpath%20d%3D%22M21.988%2016.59c-.08.97-.7%201.81-1.74%202.38-1%20.55-2.26.81-3.51.78.72-.65%201.14-1.46%201.22-2.32.1-1.24-.49-2.43-1.67-3.38-.67-.53-1.45-.95-2.3-1.26%202.21-.64%204.99-.21%206.7%201.17.92.74%201.39%201.67%201.3%202.63Z%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat}
body.tq-novigrad.wp-theme-toopa-qeshm .site-header :is(.primary-nav,.mobile-utilities)>a.nav-saved::before{-webkit-mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%22237%20163%20780%20960%22%20fill%3D%22white%22%3E%3Cpath%20d%3D%22M492%20164H762V457H916L627%20764%20337%20457H492Z%22%2F%3E%3Cpath%20d%3D%22m333%20717%20145-40%2023%2027-106%2034Zm420-13%2026-27%20140%2040-61%2021Z%22%2F%3E%3Cpath%20d%3D%22m238%20805%2070-80%20307%2099-93%2076Zm401%2019%20305-100%2070%2077-285%2098Z%22%2F%3E%3Cpath%20d%3D%22m331%20850%20195%2064%2089-64v272l-284-111Zm308%200%2086%2063%20198-64v162l-284%20111Z%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%22237%20163%20780%20960%22%20fill%3D%22white%22%3E%3Cpath%20d%3D%22M492%20164H762V457H916L627%20764%20337%20457H492Z%22%2F%3E%3Cpath%20d%3D%22m333%20717%20145-40%2023%2027-106%2034Zm420-13%2026-27%20140%2040-61%2021Z%22%2F%3E%3Cpath%20d%3D%22m238%20805%2070-80%20307%2099-93%2076Zm401%2019%20305-100%2070%2077-285%2098Z%22%2F%3E%3Cpath%20d%3D%22m331%20850%20195%2064%2089-64v272l-284-111Zm308%200%2086%2063%20198-64v162l-284%20111Z%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat}
body.tq-novigrad.wp-theme-toopa-qeshm .site-header :is(.primary-nav,.mobile-utilities)>a:is(.nav-brands,.nav-saved):is(:hover,:focus-visible){color:var(--lime)}
/* The Elementor header occupies the same overlay position as the original reference. */
body.tq-novigrad.tq-builder-home .tq-builder-header{position:absolute;inset:0 0 auto;z-index:50;width:100%}
body.tq-novigrad.tq-builder-home .tq-builder-header .site-header{position:relative;inset:auto;background:transparent;color:#fff}
body.tq-novigrad.tq-builder-home .tq-builder-header .site-header:has(#mobile-nav:not([hidden])){background:var(--bg);color:var(--ink)}
/* Reset both logical insets before setting physical positions: direction:ltr maps
   inset-inline-start:auto to left:auto and otherwise cancels the left offset. */
body.tq-novigrad.home .hero .hero-thumbnails{inset-inline:auto;left:40px;right:auto}
body.tq-novigrad.home .hero .hero-controls{inset-inline:auto;left:auto;right:40px}
/* Apply the approved gutters to migrated collection containers only. */
body.tq-novigrad.tq-builder-home #main .e-con:has(>.e-con-inner>.elementor-widget-tq-filters),
body.tq-novigrad.tq-builder-home #main .e-con:has(>.elementor-widget-tq-filters){--content-width:1360px;width:100%;max-width:1440px;margin-inline:auto;padding:48px 40px 0}
body.tq-novigrad .site-header #mobile-nav .mobile-utilities{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
body.tq-novigrad .site-header #mobile-nav .mobile-utilities>a{display:flex;align-items:center;gap:8px;min-height:44px}
@media(max-width:768px){
 body.tq-novigrad .site-header .header-actions{grid-template-columns:30px 30px 30px minmax(0,1fr) 30px 64px;gap:6px}
 body.tq-novigrad .site-header .header-actions .theme-switch{grid-column:1;width:30px;min-width:30px}
 body.tq-novigrad .site-header .header-actions .header-search{grid-column:2}
 body.tq-novigrad .site-header .header-actions .tq-notifications{grid-column:3;grid-row:1;width:30px;min-width:30px;flex-basis:30px}
 body.tq-novigrad .site-header .header-actions .tq-notification-button{width:30px;height:30px;min-width:30px;padding:6px;border-radius:5px}
 body.tq-novigrad .site-header .header-actions .tq-notification-button svg{width:18px;height:18px;flex-basis:18px}
 body.tq-novigrad .site-header .header-actions .cart-link{grid-column:5}
 body.tq-novigrad .site-header .header-actions .mobile-toggle{grid-column:6;width:64px;min-width:64px;padding-inline:4px}
 body.tq-novigrad .site-header .header-inner>.brand{width:120px;font-size:18px;gap:6px}
 body.tq-novigrad .site-header .header-inner>.brand::before{width:44px;flex-basis:44px}
 body.tq-novigrad .site-header .tq-notification-panel{position:fixed;top:calc(60px + env(safe-area-inset-top));left:16px;right:auto;max-width:calc(100vw - 32px)}
 body.tq-novigrad.tq-builder-home #main .e-con:has(>.e-con-inner>.elementor-widget-tq-filters),
 body.tq-novigrad.tq-builder-home #main .e-con:has(>.elementor-widget-tq-filters){padding:24px 20px 0}
 body.tq-novigrad.home .hero .hero-controls{inset-inline:auto;left:auto;right:14px}
 body.tq-novigrad.wp-theme-toopa-qeshm .site-header :is(.primary-nav,.mobile-utilities)>a:is(.nav-brands,.nav-saved){font-size:14px}
}
@media(max-width:360px){
 body.tq-novigrad .site-header .header-actions{grid-template-columns:30px 30px 30px minmax(0,1fr) 30px 54px;gap:4px}
 body.tq-novigrad .site-header .header-actions .mobile-toggle{width:54px;min-width:54px;font-size:9px}
 body.tq-novigrad .site-header .header-inner>.brand{width:100px;font-size:16px;gap:4px}
 body.tq-novigrad .site-header .header-inner>.brand::before{width:36px;flex-basis:36px;height:22px}
}

