/* Demit Gold 1.8 | shared navigation, account, customer-facing pages */
:root{--dg18-forest:#103d31;--dg18-cream:#f8f4ed;--dg18-paper:#fdfbf8;--dg18-line:#e8dfd1;--dg18-gold:#b48c50}
/* Exactly one consistent header across the storefront, account, journal and information pages. */
body .demit-header{position:sticky!important;top:0!important;z-index:900!important;background:rgba(255,255,255,.97)!important;backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);box-shadow:0 1px 0 rgba(24,56,44,.07);transition:box-shadow .22s ease}
body .demit-header.dg-header-scrolled{box-shadow:0 16px 38px rgba(11,39,30,.12)}
body.admin-bar .demit-header{top:32px!important}
.demit-header-inner{direction:rtl}
.demit-header-actions .demit-account-trigger{min-width:38px;max-width:134px;overflow:visible;white-space:nowrap;text-decoration:none}
.dg-header-firstname{font-size:.81rem;color:var(--dg18-forest);font-weight:700;display:block;max-width:118px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:center;border:1px solid var(--dg18-line);border-radius:999px;padding:5px 12px;background:#fff9f0}
.demit-account-trigger:hover .dg-header-firstname{background:#efe8da}
/* Clean top-level nav; relevant line-art icons only within dropdowns. */
.demit-nav .demit-menu>li>a>.demit-menu-icon{display:none!important}
.demit-nav .demit-menu>li>a{display:inline-flex;align-items:center;gap:7px;min-height:44px;font-weight:550}
.demit-nav .demit-menu .sub-menu a{display:flex!important;align-items:center!important;gap:11px!important;text-align:right;line-height:1.75;min-height:42px}
.demit-nav .demit-products-menu>.sub-menu>li>a{background:#fbf8f3;border-radius:12px;padding:11px 12px!important}
.demit-nav .demit-menu .sub-menu .demit-menu-icon{display:inline-flex!important;flex:0 0 34px;align-items:center;justify-content:center;width:34px;height:34px;border:1px solid #ede1cf;border-radius:10px;background:white;color:#ab874b}
.demit-nav .demit-menu .sub-menu .demit-menu-icon svg{width:20px!important;height:20px!important;display:block!important;flex:none;stroke-width:1.5}
.demit-nav .demit-menu .sub-menu .demit-menu-label{font-size:.85rem;white-space:normal;line-height:1.65}
.demit-nav .demit-products-menu>.sub-menu{grid-auto-flow:row;gap:12px 14px;z-index:920;background:#fff;border:1px solid #e8dfd1;box-shadow:0 28px 62px rgba(10,31,23,.13)}
.demit-nav .demit-products-menu>.sub-menu>li>a:hover{background:#f5eee2!important;color:var(--dg18-forest)}
/* Search dialog: visible categorization, link shortcuts, standard focus/close semantics. */
#demit-search-panel{width:min(93vw,760px);max-width:100%;border:1px solid #e9dfd1;border-radius:0 0 24px 24px;padding:19px 20px 15px;box-shadow:0 30px 66px rgba(11,41,29,.17);flex-wrap:wrap;gap:10px;direction:rtl}
#demit-search-panel input[type=search]{flex:1 1 360px;min-height:52px;border-radius:13px;background:#fbf9f5;border-color:#e3d9cc}
#demit-search-panel>button[type=submit]{min-height:52px;border-radius:12px;background:var(--dg18-forest)}
#demit-search-panel .dg-search-close{width:43px;min-height:43px;height:43px;border:1px solid #e8dfd1;border-radius:50%;background:white;color:#314c3f;font-size:1.65rem;display:grid;place-items:center;padding:0}
.dg-search-shortcuts{width:100%;display:flex;gap:9px;align-items:center;flex-wrap:wrap;padding:7px 2px 4px}
.dg-search-shortcuts[hidden]{display:none!important}
.dg-search-shortcuts span{color:#8b806f;font-size:.78rem}
.dg-search-shortcuts button{background:#f7f2e9;border:1px solid #e8dbca;padding:6px 14px;min-height:31px;border-radius:999px;font-size:.8rem;color:#355749}
.dg-search-shortcuts button:hover{background:#eae0cf}
#demit-search-panel .demit-live-search{top:calc(100% + 5px);border-radius:17px;padding:12px;box-shadow:0 22px 48px rgba(13,45,32,.14)}
.dg-search-group-title{color:#887756;font-size:.78rem;font-weight:700;margin:8px 10px}
.dg-search-categories{display:flex;gap:8px;padding:0 10px 14px;flex-wrap:wrap;border-bottom:1px solid #eee6dc}
.dg-search-categories a{border-radius:999px;background:#f8f3e9;color:#294b3d;padding:6px 13px;font-size:.79rem}
.dg-search-result:hover{background:#f6f1e7}
/* Single product favorite, shared localStorage behavior with header favorites. */
.dg-pdp-info{position:relative}
.dg-pdp-fav{display:inline-flex;gap:9px;align-items:center;background:#fff;border:1px solid #e9dfcf;color:#224e3d;border-radius:999px;padding:9px 15px;margin-bottom:15px;min-height:40px;font-size:.85rem;transition:border-color .2s,background .2s}
.dg-pdp-fav svg{height:18px;width:18px}
.dg-pdp-fav.is-favorited,.dg-pdp-fav[aria-pressed=true]{background:#f6eee0;border-color:#d6b987;color:#a77729}
.dg-pdp-fav:hover{background:#f7f3eb;border-color:#d6c19f}
/* My Account: both WooCommerce classic account login/dashboard and order views. */
.woocommerce-account #content,.woocommerce-account .demit-shop-shell{background:#fffdf9}
.woocommerce-account .woocommerce{display:flow-root;max-width:1200px;margin-inline:auto}
.woocommerce-account .woocommerce-MyAccount-navigation{float:right;width:25%;border:1px solid var(--dg18-line);border-radius:18px;background:#fff;overflow:hidden;margin-left:3%}
.woocommerce-account .woocommerce-MyAccount-navigation ul{margin:0!important;padding:13px!important;list-style:none!important}
.woocommerce-account .woocommerce-MyAccount-navigation li{margin:2px 0!important;padding:0!important;border:0!important}
.woocommerce-account .woocommerce-MyAccount-navigation a{display:flex;align-items:center;min-height:45px;border-radius:10px;padding:10px 15px;color:#385448;font-weight:550;transition:background .2s}
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a,.woocommerce-account .woocommerce-MyAccount-navigation li a:hover{background:#f3ede1;color:var(--dg18-forest)}
.woocommerce-account .woocommerce-MyAccount-content{float:left;width:72%;border-radius:20px;background:#fff;border:1px solid var(--dg18-line);padding:26px 29px;line-height:2}
.woocommerce-account .woocommerce-MyAccount-content a{text-decoration:underline;text-decoration-color:#c6b08a;text-underline-offset:3px}
.woocommerce-account .woocommerce-MyAccount-content a.button{text-decoration:none}
.dg-account-greeting{background:linear-gradient(135deg,#f8f1e5,#fff);padding:25px 30px;border-radius:18px;border:1px solid #eee0cb;margin-bottom:25px}
.dg-account-greeting span{font-size:.83rem;color:#aa8448}
.dg-account-greeting h2{font-size:1.7rem;color:var(--dg18-forest);margin:3px 0 5px}
.dg-account-greeting p{color:#6a766d;margin:0 0 10px}
.dg-account-greeting a{display:inline-flex;align-items:center;gap:9px;color:#154a38;font-weight:700}
.woocommerce-account .woocommerce-form-login,.woocommerce-account .woocommerce-form-register{border-radius:20px!important;background:#fff!important;border:1px solid #e9dfcf!important;padding:30px!important;box-shadow:0 12px 36px rgba(28,30,21,.04)}
.woocommerce-account input.input-text,.woocommerce-account .select2-selection{min-height:46px;border-radius:10px!important;background:#fdfbf8;border:1px solid #d9d1c6;padding:9px 12px}
.woocommerce-account .woocommerce-button,.woocommerce-account .button{border-radius:999px!important;background:var(--dg18-forest)!important;color:white!important;padding:12px 24px!important}
/* New editorial pages */
.dg-innerpage{background:#fff;min-height:50vh;color:#173d31}
.dg-inner-breadcrumb{display:flex;align-items:center;gap:11px;font-size:.76rem;color:#887e70;padding-block:22px 8px}
.dg-inner-breadcrumb a:hover{color:#a27d3a}
.dg-page-kicker{display:block;font-size:.76rem;color:#b88a45;letter-spacing:.12em;margin-bottom:17px}
.dg-innerpage h1{font-size:clamp(2rem,3.6vw,3.7rem);font-weight:650;line-height:1.42;color:#103f31}
.dg-innerpage h2{font-size:clamp(1.45rem,2.25vw,2.2rem);line-height:1.5;color:#164c3c}
.dg-innerpage p{line-height:2.13;color:#67776d}
.dg-inner-button{display:inline-flex;align-items:center;justify-content:center;gap:18px;min-height:47px;padding:11px 22px;color:#fff;background:#124635;border:1px solid #124635;border-radius:4px;font-size:.87rem;text-decoration:none}
.dg-inner-button:hover{color:#fff;background:#1b624b}
.dg-inner-button .demit-icon{height:17px;width:17px}
.dg-about-hero{min-height:470px;display:grid;grid-template-columns:.88fr 1.12fr;align-items:center;gap:clamp(36px,6vw,96px);padding-block:48px 88px}
.dg-about-copy{padding-inline-start:18px}
.dg-about-copy p{max-width:490px;margin-block:14px 28px}
.dg-about-image{min-height:410px;height:430px;overflow:hidden;border-radius:48% 48% 4px 4px/36% 36% 4px 4px;background:#f7f0e6}
.dg-about-image img{width:100%;height:100%;object-fit:cover;display:block}
.dg-about-values{padding-block:50px 110px;text-align:center}
.dg-content-lead{max-width:700px;margin:0 auto 45px}
.dg-values-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.dg-values-grid>div{padding:33px 26px;border:1px solid #eee4d7;background:#fbf8f2;border-radius:15px;display:flex;flex-direction:column;align-items:center;gap:9px}
.dg-values-grid .demit-icon{color:#b18a49;width:30px;height:30px}
.dg-values-grid strong{font-size:1rem}
.dg-values-grid p{font-size:.88rem;margin:0}
.dg-about-band{background:#103e32;color:#fff}
.dg-about-band-grid{display:grid;grid-template-columns:1fr 1fr;gap:80px;align-items:center}
.dg-about-band img{height:410px;width:100%;object-fit:cover;display:block}
.dg-about-band h2,.dg-about-band p{color:#f9f4ea}
.dg-about-band .dg-address{color:#ebd7b2;display:flex;gap:8px;align-items:center}
.dg-inner-button--cream{background:#f5ebdb;color:#114130;border-color:#f5ebdb}
.dg-inner-button--cream:hover{color:#104030;background:#fff}
.dg-contact-hero{padding-block:50px 45px;text-align:center;max-width:760px}
.dg-contact-grid{display:grid;grid-template-columns:1fr 1.1fr;gap:clamp(35px,6vw,100px);padding-block:20px 110px}
.dg-contact-info,.dg-contact-form-box{border:1px solid #eee3d5;background:#fff;padding:37px;border-radius:22px}
.dg-contact-info{background:#f9f5ed}
.dg-contact-box{display:flex;gap:17px;align-items:start;padding:19px 0;border-bottom:1px solid #e6dccd}
.dg-contact-box>.demit-icon{width:25px;height:25px;color:#b48e4b;margin-top:4px}
.dg-contact-box strong{display:block}
.dg-contact-box p{margin:0;font-size:.9rem}
.dg-contact-box a{color:#104734}
.dg-contact-socials{display:flex;flex-wrap:wrap;gap:8px;margin-top:25px}
.dg-contact-socials a{display:flex;align-items:center;gap:6px;font-size:.84rem;border:1px solid #d7c8b2;border-radius:999px;padding:7px 11px}
.dg-contact-socials a .demit-icon{width:17px;height:17px}
.dg-contact-form{display:grid;gap:14px}
.dg-contact-form label{display:grid;gap:5px;font-size:.88rem;color:#294d3f}
.dg-contact-form input,.dg-contact-form textarea{width:100%;min-height:44px;border:1px solid #ded3c3;background:#fdfbf8;border-radius:8px;padding:10px 12px;resize:vertical}
.dg-contact-form .dg-honeypot{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.dg-contact-form .dg-inner-button{margin-top:10px;justify-self:start;cursor:pointer}
.dg-form-notice{background:#fbefeb;border:1px solid #efc7b9;padding:12px;border-radius:7px;margin-bottom:12px}
.dg-form-notice.success{background:#ebf8ef;border-color:#bbe2c2}
.dg-tracking-shell{padding-block:45px 110px}
.dg-tracking-tool{display:grid;grid-template-columns:1fr 1fr;align-items:start;gap:50px;padding:44px 50px;border:1px solid #e7ded0;background:linear-gradient(125deg,#f7f1e7,#fff);border-radius:24px;max-width:1120px;margin:0 auto}
.dg-tracking-intro>span{font-size:.84rem;color:#bd985c}
.dg-track-form{display:grid;gap:12px;background:#fff;border:1px solid #eee2d2;border-radius:20px;padding:27px}
.dg-track-form label{font-size:.87rem;font-weight:650;color:#2e4e40}
.dg-track-form input{padding:11px 13px;border:1px solid #dacfbd;border-radius:10px;background:#fff;min-height:48px}
.dg-track-form input[dir=ltr]{text-align:left}
.dg-track-form button{background:#134332;color:white;border:0;min-height:47px;border-radius:9px;margin-top:8px;cursor:pointer}
.dg-track-result,.dg-track-error{grid-column:1/-1;padding:26px;text-align:center;background:#eaf3ea;border:1px solid #bfd7c4;border-radius:16px}
.dg-track-error{background:#fff0e9;border-color:#e9c5b3}
.dg-track-result h2{margin:8px 0}
.dg-track-status{font-size:1.25rem;color:#0d5737}
.dg-track-status-mark{display:inline-grid;place-items:center;background:#235e43;color:white;width:36px;height:36px;border-radius:50%}
.dg-track-thankyou{background:#f7f2e8;border:1px solid #e6d8bf;padding:20px;border-radius:12px;margin-block:20px;line-height:2}
.dg-track-thankyou code{direction:ltr;display:inline-block;user-select:all;overflow-wrap:anywhere}
.dg-track-thankyou a{text-decoration:underline;text-underline-offset:5px}
@media(max-width:1100px){.demit-nav .demit-menu>li>a{font-size:.82rem}.dg-header-firstname{max-width:84px;padding:5px 9px}}
@media(max-width:760px){
 body.admin-bar .demit-header{top:46px!important}
 .demit-header-actions{gap:7px!important}
 .demit-header-actions .dg-header-firstname{max-width:68px;font-size:.7rem;padding:4px 8px}
 .demit-nav .demit-menu .sub-menu a{padding:11px 9px!important}
 .demit-nav .demit-products-menu>.sub-menu{display:none;box-shadow:none;border:0;background:#f7f4ee;padding:9px!important}
 .demit-nav .demit-products-menu.is-sub-open>.sub-menu{display:grid!important;grid-template-columns:1fr;gap:5px}
 #demit-search-panel{width:calc(100% - 24px);padding:14px 12px;gap:8px}
 #demit-search-panel input[type=search]{flex:1 1 200px;min-height:46px}
 #demit-search-panel>button[type=submit]{min-height:46px}
 #demit-search-panel .dg-search-close{width:39px;height:39px}
 .woocommerce-account .woocommerce-MyAccount-navigation,.woocommerce-account .woocommerce-MyAccount-content{float:none;width:100%!important;max-width:none;margin:0 0 20px}
 .woocommerce-account .woocommerce-MyAccount-navigation ul{display:flex;overflow:auto;gap:5px;padding:9px!important;scrollbar-width:none}
 .woocommerce-account .woocommerce-MyAccount-navigation li{flex:none}
 .woocommerce-account .woocommerce-MyAccount-navigation a{font-size:.8rem;min-height:38px;padding:6px 11px}
 .woocommerce-account .woocommerce-MyAccount-content{padding:20px 16px}
 .dg-inner-breadcrumb{padding-top:17px}
 .dg-about-hero,.dg-values-grid,.dg-about-band-grid,.dg-contact-grid,.dg-tracking-tool{grid-template-columns:1fr}
 .dg-about-hero{padding-block:28px 67px;gap:23px}
 .dg-about-image{height:350px;min-height:350px;grid-row:1}
 .dg-about-values{padding-bottom:65px}
 .dg-values-grid{gap:11px}
 .dg-about-band-grid{gap:15px;padding-bottom:43px}
 .dg-about-band img{height:300px}
 .dg-contact-hero{padding-block:29px 26px}
 .dg-contact-grid{gap:16px;padding-block:10px 70px}
 .dg-contact-info,.dg-contact-form-box{padding:23px 19px}
 .dg-tracking-shell{padding-block:30px 75px}
 .dg-tracking-tool{padding:24px 17px;gap:20px}
 .dg-track-form{padding:19px}
}
@media(max-width:480px){.demit-header-actions .dg-header-firstname{max-width:55px;letter-spacing:-.03em}.demit-header-actions .demit-icon-btn{min-width:22px}.dg-about-image{height:290px;min-height:290px}}
@media(prefers-reduced-motion:reduce){body .demit-header{transition:none}}

/* Curated, consistent fallback category photography; real uploaded thumbnails take precedence. */
.v17-cat-photo{background:linear-gradient(180deg,#faf7f1,#f2eadd);box-shadow:inset 0 0 0 1px rgba(189,162,119,.24)}
.v17-cat-photo img{filter:contrast(1.065) saturate(1.08);transform-origin:50% 50%}
.v17-cat-card:hover .v17-cat-photo img{transform:scale(1.05)}
/* Tiny viewport guard for the tracking form and long order codes. */
.dg-tracking-tool,.dg-track-form{min-width:0;max-width:100%}
.dg-track-form input{box-sizing:border-box;min-width:0;width:100%}
.dg-track-result,.dg-track-error,.dg-track-thankyou{overflow-wrap:anywhere}
