/* SanaShop v8: Delta-inspired mobile header + contact sheet + account editor. */
.header-phone-icon{display:none}
.mobile-search button svg,.header-search button svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
.profile-phone-editor{margin-top:20px;padding:17px;border:1px solid #e7ebef;border-radius:16px;background:#fbfcfd}
.profile-phone-editor h2{font-size:16px;margin:0 0 4px}.profile-phone-editor p{font-size:12px;color:#7b8592;margin:0 0 14px}.profile-phone-editor .field{margin-bottom:12px}

.contact-dialog{width:min(92vw,460px);border:0;border-radius:24px;padding:0;background:transparent;color:#242c37;overflow:visible}
.contact-dialog::backdrop{background:rgba(20,25,35,.48);backdrop-filter:blur(5px)}
.contact-dialog-card{background:#fff;border-radius:24px;padding:27px 20px 20px;box-shadow:0 24px 70px rgba(20,25,35,.24);text-align:center}
.contact-dialog-close{position:absolute;top:10px;left:10px;width:38px;height:38px;border:0;border-radius:50%;background:#f3f5f7;color:#505866;font-size:25px;line-height:1;cursor:pointer}
.contact-dialog-icon{width:58px;height:58px;border-radius:50%;display:grid;place-items:center;margin:0 auto 12px;background:color-mix(in srgb,var(--brand) 10%,#fff);color:var(--brand)}
.contact-dialog-icon svg{width:28px;height:28px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.contact-dialog h2{font-size:21px;margin:0 0 5px}.contact-dialog p{font-size:13px;color:#7b8592;margin:0 0 17px}
.contact-links{display:grid;gap:9px;text-align:right}.contact-links a{display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid #e7ebef;border-radius:14px;padding:12px 13px;background:#fff;text-decoration:none;transition:.18s}.contact-links a:hover{border-color:color-mix(in srgb,var(--brand) 35%,#e7ebef);background:#fafbfc}.contact-links b{font-size:13px}.contact-links span{font-size:11px;color:#89919d}.contact-empty{padding:15px;border-radius:14px;background:#f6f7f9;color:#89919d;font-size:12px;text-align:center}

@media(max-width:760px){
  .site-header{padding-bottom:8px}
  .site-header .header-main-row{height:auto!important;min-height:64px;display:grid!important;grid-template-columns:minmax(0,1fr) 50px minmax(0,1fr);align-items:center;gap:7px;padding:8px 0 4px;direction:ltr}
  .site-header .brand{grid-column:3;grid-row:1;justify-self:end;direction:rtl;min-width:0!important;width:auto!important;max-width:100%;gap:9px}
  .site-header .brand img,.site-header .brand-mark{width:45px!important;height:45px!important;flex:0 0 45px}
  .site-header .brand>span{min-width:0;display:flex!important}.site-header .brand strong{font-size:17px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:150px}.site-header .brand small{font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:150px}
  .site-header .header-phone-icon{grid-column:2;grid-row:1;justify-self:center;display:grid;width:44px;height:44px;border:1px solid #e7ebef;border-radius:50%;place-items:center;background:#fff;color:var(--brand);box-shadow:0 5px 16px rgba(20,38,63,.07)}
  .site-header .header-phone-icon svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
  .site-header .menu-toggle{grid-column:1;grid-row:1;justify-self:start;display:grid!important;width:44px;height:44px;border:1px solid #e7ebef!important;border-radius:14px;background:#fff!important;place-items:center;color:#313a47;padding:10px}
  .site-header .menu-toggle svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
  .site-header .header-search,.site-header .header-action,.site-header>.header-row>.cart-link{display:none!important}
  .site-header .mobile-search{display:flex!important;width:min(100% - 24px,1180px)!important;margin:5px auto 2px;padding:0!important;gap:0!important;border:1px solid #e0e5ea;border-radius:15px;background:#fff;overflow:hidden;box-shadow:0 4px 16px rgba(20,38,63,.04)}
  .site-header .mobile-search input{flex:1;min-width:0;height:48px;border:0!important;border-radius:0!important;background:transparent;padding:0 14px;font-size:13px;outline:none}
  .site-header .mobile-search button{width:52px;height:48px;border:0!important;border-radius:0!important;padding:0!important;background:transparent!important;color:var(--brand)!important;display:grid;place-items:center}
  .site-header .nav{margin-top:6px}
  .mobile-bottom-nav button[data-contact-open] svg{fill:none!important;stroke:currentColor!important;stroke-width:1.8!important;stroke-linecap:round;stroke-linejoin:round}
  .contact-dialog{width:min(94vw,460px);margin:auto auto max(82px,calc(env(safe-area-inset-bottom) + 74px));border-radius:22px}
  .contact-dialog-card{padding:25px 16px 16px;border-radius:22px;max-height:66vh;overflow:auto}
  .profile-phone-editor{padding:14px}
}

@media(max-width:390px){
  .site-header .brand strong{max-width:125px;font-size:16px}.site-header .brand small{max-width:125px}
  .site-header .brand img,.site-header .brand-mark{width:42px!important;height:42px!important;flex-basis:42px}
  .site-header .header-phone-icon,.site-header .menu-toggle{width:42px;height:42px}
}
