/* Demit Gold 2.34 — consistent sticky header with no height reflow. */
html body #site-header.dg313-header{position:sticky!important;top:0!important;transition:none!important;animation:none!important;will-change:auto!important;contain:none!important}
body.admin-bar #site-header.dg313-header{top:32px!important}
/* The scrolled state moves the already-sized header upward; never resize its rows. */
html body #site-header.dg313-header.dg313-scrolled{top:-35px!important}
body.admin-bar #site-header.dg313-header.dg313-scrolled{top:-3px!important}
html body #site-header.dg313-header.dg313-scrolled .dg313-top,
html body #site-header.dg313-header .dg313-top{visibility:visible!important;opacity:1!important;display:flex!important;height:35px!important;min-height:35px!important;max-height:35px!important;transition:none!important;pointer-events:auto!important;padding-block:0!important}
html body #site-header.dg313-header.dg313-scrolled .dg313-main{height:88px!important;min-height:88px!important;max-height:88px!important}
html body #site-header.dg313-header.dg313-scrolled .dg313-featured-inner{height:78px!important;min-height:78px!important;max-height:78px!important}
#site-header.dg313-scrolled .dg313-tile{height:70px!important}
#site-header.dg313-scrolled .dg313-tile-image{height:66px!important;width:66px!important;min-width:66px!important;flex-basis:66px!important}
#site-header.dg313-scrolled .dg313-tile-name{font-size:18px!important}
html body #site-header.dg313-header.dg313-scrolled #demit-search-panel.dg313-search{height:57px!important;min-height:57px!important}
@media(max-width:1199px){#site-header.dg313-scrolled .dg313-tile-image{height:52px!important;width:52px!important;min-width:52px!important;flex-basis:52px!important}#site-header.dg313-scrolled .dg313-tile-name{font-size:15px!important}}
@media(max-width:899px){
 html body #site-header.dg313-header.dg313-scrolled .dg313-main{height:auto!important;min-height:0!important;max-height:none!important}
 html body #site-header.dg313-header.dg313-scrolled .dg313-featured-inner{height:66px!important;min-height:66px!important;max-height:66px!important}
 #site-header.dg313-scrolled .dg313-tile{height:51px!important}
 #site-header.dg313-scrolled .dg313-tile-image{height:43px!important;width:43px!important;min-width:43px!important;flex-basis:43px!important}
 #site-header.dg313-scrolled .dg313-tile-name{font-size:13px!important}
 html body #site-header.dg313-header.dg313-scrolled #demit-search-panel.dg313-search{height:44px!important;min-height:44px!important}
}
@media(max-width:540px){html body #site-header.dg313-header.dg313-scrolled .dg313-featured-inner{height:58px!important;min-height:58px!important;max-height:58px!important}#site-header.dg313-scrolled .dg313-tile-image{height:37px!important;width:37px!important;min-width:37px!important;flex-basis:37px!important}}
/* Iranian checkout: country stays IR in WooCommerce metadata, selector is unnecessary. */
body.woocommerce-page :is(#billing_country_field,#shipping_country_field,.woocommerce-billing-fields__field-wrapper .country_select,.woocommerce-shipping-fields__field-wrapper .country_select,.wc-block-components-address-form__country,.wc-block-components-country-input){display:none!important}
body.woocommerce-page .dg234-national-id input,body.woocommerce-account .dg234-account-identity input{direction:ltr;text-align:right;font-variant-numeric:tabular-nums}
body.woocommerce-account .dg234-account-identity{margin:22px 0;border:1px solid #e9dfcf;border-radius:16px;background:#fffdfa;padding:17px 19px}
body.woocommerce-account .dg234-account-identity legend{font-weight:750;color:#174532;padding:0 10px}
/* Headings should be light editorial typography, not tall framed hero cards. */
body.demit-theme.woocommerce-page .demit-page-header,body.demit-theme.woocommerce-checkout .demit-page-header,body.demit-theme.woocommerce-order-received .demit-page-header{border:0!important;background:transparent!important;box-shadow:none!important;padding:10px 0 15px!important;margin:0 0 17px!important;min-height:0!important;border-radius:0!important;text-align:right!important}
body.demit-theme.woocommerce-page .demit-page-header h1,body.demit-theme.woocommerce-checkout .demit-page-header h1{font-size:clamp(20px,2.15vw,29px)!important;line-height:1.45!important;margin:0!important}
body.demit-theme.woocommerce-page .demit-page-header .demit-eyebrow{font-size:9px!important;letter-spacing:1.5px!important;margin-bottom:4px!important}
body.demit-theme.woocommerce-checkout .woocommerce-order-review-heading,body.demit-theme.woocommerce-checkout #order_review_heading{font-size:clamp(18px,2vw,24px)!important;margin:0 0 16px!important}
/* Transaction summary: narrower typography, separate sections and a genuine mobile layout. */
body.demit-theme.woocommerce-order-received .demit-inner-shell,body.demit-theme.woocommerce-order-received .demit-shop-shell{max-width:1280px!important}
body.demit-theme .woocommerce-order .woocommerce-notice--success,body.demit-theme .woocommerce-order .woocommerce-thankyou-order-received,.woocommerce .wc-block-order-confirmation-status{color:#124b35!important;background:#eef5ef!important;border:1px solid #d3e6d8!important;border-right:4px solid #30815e!important;padding:17px 19px!important;border-radius:12px!important;font-weight:700!important;line-height:1.9!important}
body.demit-theme .woocommerce-order-overview{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(185px,1fr))!important;gap:12px!important;padding:0!important;margin:22px 0 30px!important;list-style:none!important}
body.demit-theme .woocommerce-order-overview li{float:none!important;min-width:0!important;width:auto!important;min-height:74px!important;margin:0!important;padding:13px 15px!important;border:1px solid #e8ded0!important;border-radius:12px!important;background:#fffdfa!important;color:#53665a!important;line-height:1.75!important;overflow-wrap:anywhere!important;font-size:12px!important;}
body.demit-theme .woocommerce-order-overview li strong{font-size:15px!important;color:#163f31!important;display:block!important;margin-top:6px!important;line-height:1.65!important;font-weight:750!important}
body.demit-theme .woocommerce-order-details{width:100%!important;max-width:100%!important;min-width:0!important;overflow-x:auto!important;margin:22px 0!important}
body.demit-theme .woocommerce-order-details .woocommerce-table--order-details{table-layout:auto!important;width:100%!important;min-width:0!important;border-spacing:0!important;border:1px solid #e8dfd2!important;border-radius:14px!important;overflow:hidden!important;background:#fffefa!important}
body.demit-theme .woocommerce-order-details .woocommerce-table--order-details :is(th,td){padding:13px 16px!important;border:0!important;border-bottom:1px solid #f0e7dd!important;vertical-align:middle!important;text-align:right!important;white-space:normal!important;overflow-wrap:anywhere!important}
body.demit-theme .woocommerce-order-details .woocommerce-table--order-details th{background:#f8f3e9!important;color:#244836!important}
body.demit-theme .woocommerce-order-details .woocommerce-table--order-details td.product-name{width:70%!important;min-width:0!important}
body.demit-theme .woocommerce-order-details .woocommerce-table--order-details td.product-total{text-align:left!important;white-space:nowrap!important}
body.demit-theme .woocommerce-order-details .woocommerce-table--order-details tfoot tr:last-child :is(th,td){background:#eaf4ed!important;font-weight:800!important;color:#104532!important}
body.demit-theme .woocommerce-customer-details address{background:#fffdfa!important;border-radius:13px!important;border:1px solid #ebe0d2!important;padding:18px!important;line-height:2!important}
body.demit-theme .dg234-order-identity{margin:20px 0;padding:16px 18px;border-radius:13px;border:1px solid #e5ded0;background:#f8f6f0;line-height:1.9}
body.demit-theme .dg234-order-identity h3{color:#164733;font-size:16px;margin:0 0 8px}
body.demit-theme .dg234-order-identity p{font-size:13px;margin:4px 0}
body.demit-theme :is(.wc-block-order-confirmation-totals,.wc-block-order-confirmation-billing-address,.wc-block-order-confirmation-shipping-address,.wc-block-order-confirmation-summary){max-width:100%!important;min-width:0!important;overflow-wrap:anywhere!important}
@media(max-width:899px){body.demit-theme .woocommerce-order-overview{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:540px){
 body.demit-theme .woocommerce-order-overview{gap:8px!important;margin:16px 0 24px!important}
 body.demit-theme .woocommerce-order-overview li{padding:10px!important;font-size:11px!important;min-height:70px!important;border:1px solid #eae0d4!important}
 body.demit-theme .woocommerce-order-overview li strong{font-size:12px!important}
 body.demit-theme .woocommerce-order-details .woocommerce-table--order-details{display:block!important;width:100%!important;border:0!important;background:transparent!important}
 body.demit-theme .woocommerce-order-details .woocommerce-table--order-details :is(thead,tbody,tfoot){display:block!important;width:100%!important}
 body.demit-theme .woocommerce-order-details .woocommerce-table--order-details thead{display:none!important}
 body.demit-theme .woocommerce-order-details .woocommerce-table--order-details tr{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;width:100%!important;background:#fffdfa!important;padding:12px 10px!important;border:1px solid #ece2d5!important;border-radius:10px!important;margin-bottom:8px!important}
 body.demit-theme .woocommerce-order-details .woocommerce-table--order-details :is(th,td){display:block!important;flex:1!important;width:auto!important;max-width:100%!important;min-width:0!important;border:0!important;background:none!important;padding:2px 4px!important;font-size:12px!important;text-align:right!important;line-height:1.85!important;overflow-wrap:anywhere!important}
 body.demit-theme .woocommerce-order-details .woocommerce-table--order-details td.product-total{flex:0 1 43%!important;text-align:left!important;white-space:normal!important}
 body.demit-theme .woocommerce-order-details .woocommerce-table--order-details tfoot tr:last-child{background:#eaf4ed!important}
 body.demit-theme .woocommerce-order-details .woocommerce-table--order-details tfoot tr:last-child :is(th,td){background:transparent!important}
}
@media(max-width:782px){body.admin-bar #site-header.dg313-header{top:46px!important}body.admin-bar #site-header.dg313-header.dg313-scrolled{top:11px!important}}
@media(prefers-reduced-motion:reduce){html body #site-header.dg313-header,html body #site-header.dg313-header *{transition:none!important}}
