/* Shahr Nakh Essentials — scoped storefront design */
:root{--shn-ink:#302c29;--shn-text:#605954;--shn-muted:#918982;--shn-primary:#514843;--shn-primary-hover:#3f3733;--shn-accent:#b7a18e;--shn-border:#ebe6e1;--shn-soft:#f8f6f3;--shn-white:#fff;--shn-shadow:0 12px 35px rgba(66,49,38,.055)}
.shn-btn,.shn-heart,.shn-day-choice,.shn-slot-choice{font-family:inherit}
.shn-btn{display:inline-flex;justify-content:center;align-items:center;gap:8px;text-decoration:none!important;padding:13px 21px;border-radius:11px;background:var(--shn-primary);color:#fff!important;border:1px solid var(--shn-primary);font-size:13px;font-weight:650;line-height:1.6;cursor:pointer;transition:.2s}
.shn-btn:hover{background:var(--shn-primary-hover);color:white!important;transform:translateY(-1px)}
.shn-btn--outline{background:transparent;color:var(--shn-primary)!important;border-color:var(--shn-border)}
.shn-btn--outline:hover{background:var(--shn-soft);color:var(--shn-ink)!important}
.shn-btn--small{padding:8px 14px;font-size:12px}
.shn-text-link,.shn-link-button{color:var(--shn-primary)!important;font-size:12px;font-weight:650;text-decoration:none!important}
.shn-link-button{background:none!important;border:0!important;box-shadow:none!important;padding:0!important;cursor:pointer}
.shn-heart{display:inline-flex;align-items:center;justify-content:center;gap:7px;width:39px;height:39px;border:1px solid var(--shn-border)!important;border-radius:11px!important;background:#fff!important;color:#756862!important;box-shadow:none!important;cursor:pointer;transition:all .2s;vertical-align:middle;padding:0!important;flex-shrink:0;line-height:1}
.shn-heart span{font-size:12px}
.shn-heart:has(span){width:auto;padding:0 11px!important}
.shn-heart:hover{border-color:var(--shn-accent)!important;transform:translateY(-1px)}
.shn-heart.is-active{color:#ac4a59!important;border-color:#f0d4d9!important;background:#fff5f6!important}
.shn-heart.is-active svg{fill:#ac4a59;stroke:#ac4a59}
.shn-heart:focus-visible,.shn-btn:focus-visible,.shn-day-choice:focus-visible,.shn-slot-choice:focus-visible{outline:2px solid var(--shn-accent);outline-offset:2px}
.shn-toast{position:fixed;bottom:30px;right:30px;z-index:99999;padding:13px 18px;background:var(--shn-ink);color:white;border-radius:12px;font-family:inherit;font-size:13px;line-height:1.8;box-shadow:var(--shn-shadow)}
/* WooCommerce My Account */
body.woocommerce-account .woocommerce:has(> .woocommerce-MyAccount-navigation){display:grid;grid-template-columns:260px minmax(0,1fr);direction:rtl;gap:25px;align-items:start;max-width:1240px;margin:35px auto 70px;padding:0 18px;color:var(--shn-text)}
body.woocommerce-account .woocommerce:has(> .woocommerce-MyAccount-navigation)>.woocommerce-notices-wrapper{grid-column:1/-1}
body.woocommerce-account .woocommerce .shn-account-nav{float:none;width:100%;margin:0;background:#fff;border:1px solid var(--shn-border);padding:14px;border-radius:18px;box-shadow:var(--shn-shadow);position:sticky;top:24px}
.shn-nav-profile{display:flex;align-items:center;gap:12px;padding:12px 10px 20px;border-bottom:1px solid var(--shn-border);margin-bottom:14px;direction:rtl}
.shn-nav-profile strong{display:block;color:var(--shn-ink);font-size:14px;line-height:1.9}.shn-nav-profile small{display:block;color:var(--shn-muted);font-size:11px}
.shn-profile-avatar{flex-shrink:0;width:45px;height:45px;display:flex;align-items:center;justify-content:center;border-radius:14px;color:var(--shn-primary);font-weight:800;background:#f0e8e2}
.shn-account-nav ul{list-style:none!important;margin:0!important;padding:0!important}
.shn-account-nav li{margin:4px 0!important;padding:0!important;list-style:none!important}
.shn-account-nav li a{display:flex;gap:12px;align-items:center;padding:11px 12px;text-decoration:none!important;border-radius:10px;color:var(--shn-text)!important;font-size:13px;font-weight:600;transition:background .2s;background:transparent}
.shn-account-nav li a svg{opacity:.85;flex:none}.shn-account-nav li a:hover{background:var(--shn-soft);color:var(--shn-primary)!important}
.shn-account-nav li.is-active a{background:var(--shn-primary)!important;color:#fff!important}.shn-account-nav li.is-active a svg{color:#fff}
.shn-account-nav li.woocommerce-MyAccount-navigation-link--customer-logout{margin-top:12px!important;border-top:1px solid var(--shn-border);padding-top:10px!important}
body.woocommerce-account .woocommerce .woocommerce-MyAccount-content{float:none;width:100%;min-width:0;border:1px solid var(--shn-border);border-radius:20px;box-shadow:var(--shn-shadow);padding:28px 30px;background:#fff;min-height:350px;direction:rtl}
body.woocommerce-account .woocommerce .woocommerce-MyAccount-content h2,body.woocommerce-account .woocommerce .woocommerce-MyAccount-content h3{color:var(--shn-ink);letter-spacing:-.25px}
.shn-welcome{border-radius:17px;background:linear-gradient(115deg,#f7f2ed,#f1e7df 70%,#e8dad0);padding:28px 26px;display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:24px}
.shn-eyebrow{font-size:11px;color:#79685c;font-weight:700}.shn-welcome h2{font-size:25px!important;margin:7px 0 8px!important;font-weight:800}.shn-welcome p{margin:0!important;font-size:13px;color:var(--shn-text)}
.shn-welcome-icon{background:#ffffff95;border:1px solid #ffffffcc;color:var(--shn-primary);border-radius:17px;padding:14px;display:grid;place-items:center}
.shn-stat-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin:0 0 32px}
.shn-stat{border:1px solid var(--shn-border);background:#fff;border-radius:14px;padding:20px 15px;color:var(--shn-ink)!important;text-decoration:none!important;display:flex;align-items:flex-start;flex-direction:column;gap:6px;transition:.2s;min-height:144px}
.shn-stat:hover{border-color:var(--shn-accent);box-shadow:var(--shn-shadow);transform:translateY(-2px)}
.shn-stat-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:11px;background:var(--shn-soft);color:var(--shn-primary);margin-bottom:6px}
.shn-stat strong{font-size:14px;color:var(--shn-ink)}.shn-stat small{font-size:11px;color:var(--shn-muted)}
.shn-section-head{display:flex;justify-content:space-between;align-items:center;gap:15px;margin:0 0 19px}.shn-section-head h2{font-size:19px!important;margin:0 0 6px!important;font-weight:750}.shn-section-head p{margin:0;font-size:12px;color:var(--shn-muted)}
.shn-empty{padding:32px 18px;border:1px dashed var(--shn-border);background:var(--shn-soft);border-radius:14px;text-align:center;color:var(--shn-muted);font-size:13px;line-height:2}
.shn-empty a{color:var(--shn-primary)}
.shn-order-list{display:grid;gap:12px}.shn-order-card{padding:19px;border:1px solid var(--shn-border);border-radius:14px}
.shn-order-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:15px}.shn-order-top strong{display:block;font-size:14px;color:var(--shn-ink)}.shn-order-top small{font-size:11px;color:var(--shn-muted);display:block;margin-top:4px}.shn-status{padding:6px 11px;background:#f2ebe4;border:1px solid #ebe1d8;border-radius:999px;font-size:11px;color:#685548;white-space:nowrap}
.shn-order-info{display:flex;gap:20px;flex-wrap:wrap;font-size:12px;margin-bottom:12px}.shn-order-info b{color:var(--shn-ink)}.shn-order-slot{font-size:12px;margin:0 0 14px!important}
.shn-product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.shn-product-card{border:1px solid var(--shn-border);border-radius:14px;overflow:hidden;background:white;min-width:0}.shn-product-img{display:block;background:var(--shn-soft)}.shn-product-img img{width:100%;aspect-ratio:1/1;object-fit:contain;display:block;max-height:230px}
.shn-product-card-body{padding:13px}.shn-product-title{display:block;color:var(--shn-ink)!important;text-decoration:none!important;font-size:12px;font-weight:700;line-height:2;min-height:45px}.shn-price{color:var(--shn-primary);font-size:13px;font-weight:700;margin:8px 0}.shn-product-card-actions{display:flex;justify-content:space-between;gap:8px;align-items:center}.shn-stock-out{font-size:12px;color:#ac4a59}
/* Address Book */
.shn-address-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-bottom:30px}.shn-address-card{border:1px solid var(--shn-border);border-radius:14px;padding:19px;min-width:0}.shn-address-card-top{display:flex;gap:12px;align-items:center;justify-content:space-between}.shn-address-card-top strong{font-size:14px;color:var(--shn-ink)}.shn-chip{font-size:10px;background:var(--shn-soft);border:1px solid var(--shn-border);padding:4px 9px;border-radius:999px}
.shn-address-card p{line-height:2;font-size:12px;min-height:46px;margin:13px 0}.shn-address-card small{font-size:11px;color:var(--shn-muted)}.shn-address-actions{display:flex;gap:14px;flex-wrap:wrap;margin-top:17px;padding-top:12px;border-top:1px solid var(--shn-border);align-items:center}.shn-inline-form{display:inline;margin:0}
.shn-address-form{border-top:1px solid var(--shn-border);padding-top:24px}.shn-address-form h3{font-size:17px!important;margin:0 0 20px!important}.shn-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px;margin-bottom:20px}.shn-field{display:flex;flex-direction:column;gap:7px;font-size:12px;font-weight:650;color:var(--shn-ink)}.shn-field--full{grid-column:1/-1}.shn-field input,.shn-field select{height:44px!important;padding:10px 12px!important;font:inherit!important;font-size:13px!important;border:1px solid #dfd7d1!important;border-radius:9px!important;box-shadow:none!important;background:#fff!important;color:var(--shn-ink)!important;width:100%}
.shn-field input:focus,.shn-field select:focus{border-color:var(--shn-accent)!important;outline:none!important}
.shn-saved-address{border:1px solid var(--shn-border);border-radius:14px;background:var(--shn-soft);padding:18px;margin:0 0 23px}.shn-saved-address h3{font-size:15px;margin:0 0 11px}.shn-saved-address label{display:block;font-size:12px;margin-bottom:8px}.shn-saved-address select{max-width:100%;width:100%;background:white;border-radius:10px;border:1px solid var(--shn-border)}.shn-saved-address p{font-size:11px;margin:9px 0 0;color:var(--shn-muted)}
/* Classic WooCommerce forms and order list */
body.woocommerce-account .woocommerce-MyAccount-content input.input-text,body.woocommerce-account .woocommerce-MyAccount-content select,body.woocommerce-account .woocommerce-MyAccount-content textarea{border:1px solid #e5ded8;border-radius:10px;background:#fff;padding:10px;font-size:13px;box-shadow:none}
body.woocommerce-account .woocommerce-MyAccount-content button.button,body.woocommerce-account .woocommerce-MyAccount-content a.button{border-radius:10px;background:var(--shn-primary);color:#fff;padding:11px 16px;font-size:12px;text-decoration:none}
body.woocommerce-account .woocommerce-MyAccount-content table.shop_table{border:1px solid var(--shn-border);border-radius:12px;border-collapse:separate;overflow:hidden;font-size:12px}
body.woocommerce-account .woocommerce-MyAccount-content table.shop_table th{background:var(--shn-soft);color:var(--shn-ink);padding:12px}body.woocommerce-account .woocommerce-MyAccount-content table.shop_table td{padding:12px}
body.woocommerce-account .woocommerce .woocommerce-form-login,body.woocommerce-account .woocommerce .woocommerce-form-register{border:1px solid var(--shn-border);border-radius:16px;padding:25px}
.shn-order-delivery{border:1px solid var(--shn-border);border-radius:12px;padding:15px;margin:20px 0;background:var(--shn-soft);font-size:13px;color:var(--shn-ink)}
/* Courier delivery schedule */
.shn-delivery{border:1px solid var(--shn-border);border-radius:16px;background:#fff;padding:23px;margin:22px 0;direction:rtl;color:var(--shn-text)}
.shn-delivery[hidden]{display:none!important}.shn-delivery-title{display:flex;gap:12px;align-items:start;margin:0 0 20px;color:var(--shn-primary)}
.shn-delivery-title>svg{flex-shrink:0}.shn-delivery-title h3{font-size:17px!important;color:var(--shn-ink);margin:0 0 5px!important}.shn-delivery-title p{font-size:12px;color:var(--shn-muted);margin:0}
.shn-date-options,.shn-time-options{display:flex;flex-wrap:wrap;gap:9px;margin-bottom:15px}
.shn-day-choice,.shn-slot-choice{font-size:12px;line-height:1.7;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--shn-border)!important;border-radius:11px!important;background:var(--shn-soft)!important;color:var(--shn-text)!important;box-shadow:none!important;padding:11px 14px!important;transition:.2s;font-weight:550}
.shn-day-choice{min-width:120px;min-height:61px}.shn-slot-choice{min-width:116px}
.shn-day-choice.is-selected,.shn-slot-choice.is-selected{background:#f3ebe5!important;border-color:#9d8775!important;color:var(--shn-ink)!important;box-shadow:inset 0 0 0 1px #9d8775!important}
.shn-times-title{width:100%;font-size:12px;color:var(--shn-ink);font-weight:700}.shn-delivery-message{font-size:12px;color:var(--shn-muted);margin-top:10px}
/* Responsive */
@media(max-width:980px){body.woocommerce-account .woocommerce:has(> .woocommerce-MyAccount-navigation){grid-template-columns:210px minmax(0,1fr);gap:15px}body.woocommerce-account .woocommerce .woocommerce-MyAccount-content{padding:22px}.shn-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){body.woocommerce-account .woocommerce:has(> .woocommerce-MyAccount-navigation){display:block;margin:18px auto 40px;padding:0 12px}body.woocommerce-account .woocommerce .shn-account-nav{position:static;width:100%;margin-bottom:15px;box-shadow:none}.shn-account-nav ul{display:flex;overflow:auto;gap:5px;scrollbar-width:thin;white-space:nowrap}.shn-account-nav li{flex:0 0 auto}.shn-account-nav li a{padding:9px;gap:7px;font-size:11px}.shn-nav-profile{padding-bottom:12px}.shn-account-nav li.woocommerce-MyAccount-navigation-link--customer-logout{margin:4px 0!important;border:0;padding:0!important}body.woocommerce-account .woocommerce .woocommerce-MyAccount-content{padding:17px;border-radius:14px;min-height:260px}.shn-welcome{padding:19px;margin-bottom:18px}.shn-welcome h2{font-size:20px!important}.shn-welcome-icon{display:none}.shn-stat-grid{gap:9px}.shn-stat{padding:13px 9px;min-height:120px}.shn-stat strong{font-size:12px}.shn-stat small{font-size:10px}.shn-address-grid{grid-template-columns:1fr}.shn-section-head h2{font-size:16px!important}.shn-section-head p{font-size:11px}.shn-delivery{padding:15px}.shn-day-choice{flex:1 1 42%;min-width:0}.shn-slot-choice{flex:1 1 42%;min-width:0}}
@media(max-width:430px){.shn-stat-grid{grid-template-columns:1fr}.shn-stat{min-height:0;flex-direction:row;align-items:center;flex-wrap:wrap;gap:12px}.shn-stat small{width:100%;padding-right:50px;margin-top:-12px}.shn-product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.shn-product-card-body{padding:9px}.shn-product-card-actions{flex-wrap:wrap}.shn-form-grid{grid-template-columns:1fr}.shn-field--full{grid-column:auto}.shn-order-top{align-items:flex-start}.shn-toast{left:15px;right:15px;bottom:15px;text-align:center}}
