/* IranCCD desktop account menu. Strictly desktop-only; never style mobile navigation. */
.icc-desktop-header-controls { display:none; }
@media (min-width:851px) {
  .site-header .header-actions { position:relative; overflow:visible; }
  /* Original controls remain in the DOM for the unchanged mobile experience. */
  .site-header .header-actions > a.icc-desktop-icon-link { display:none!important; }
  .site-header .icc-desktop-header-controls {
    display:flex; flex-wrap:nowrap; align-items:center; gap:12px;
    direction:rtl; flex-shrink:0; position:relative;
  }
  .site-header .icc-da-separator {
    display:block; flex:0 0 1px; width:1px; height:29px; background:#e2e7ee;
  }
  .site-header .icc-da-cart,
  .site-header .icc-da-trigger {
    display:inline-flex; align-items:center; justify-content:center;
    position:relative; width:46px; height:46px; min-width:46px;
    background:#fff; border:1px solid transparent; border-radius:11px;
    color:#263748; padding:9px; text-decoration:none;
    cursor:pointer; box-sizing:border-box; line-height:1;
  }
  .site-header .icc-da-cart svg,
  .site-header .icc-da-trigger svg { width:26px; height:26px; display:block; }
  .site-header .icc-da-cart:hover,
  .site-header .icc-da-cart:focus-visible {
    background:#f3f9ff; border-color:#d2e5f5; color:#0876c4;
  }
  .site-header .icc-da-cart-count {
    position:absolute; top:0; left:0; display:block; min-width:19px;
    height:19px; padding:0 4px; border-radius:12px; background:#e43746;
    color:#fff; font:700 11px/19px Tahoma,Arial,sans-serif; text-align:center;
    box-sizing:border-box;
  }
  .site-header .icc-da-login {
    display:inline-flex; flex-direction:row; align-items:center; justify-content:center;
    gap:9px; padding:9px 15px; min-height:43px; box-sizing:border-box;
    border:1px solid #dbe1e7; border-radius:11px; background:#fff;
    color:#243647; font-size:13px; font-weight:800;
    text-decoration:none; white-space:nowrap;
  }
  .site-header .icc-da-login svg { width:20px; height:20px; }
  .site-header .icc-da-login:hover,
  .site-header .icc-da-login:focus-visible { background:#f3f9ff; color:#0876c4; border-color:#bad7eb; text-decoration:none; }
  .site-header .icc-da-dropdown { display:block; position:relative; }
  .site-header .icc-da-dropdown > summary { list-style:none; }
  .site-header .icc-da-dropdown > summary::-webkit-details-marker { display:none; }
  .site-header .icc-da-dropdown > summary::marker { content:''; }
  .site-header .icc-da-dropdown[open] .icc-da-trigger,
  .site-header .icc-da-trigger:hover,
  .site-header .icc-da-trigger:focus-visible {
    background:#fcecef; color:#253c52; border-color:transparent;
  }
  .site-header .icc-da-panel {
    position:absolute; z-index:1000; top:calc(100% + 10px); left:-2px; right:auto;
    width:300px; max-width:calc(100vw - 28px);
    background:#fff; border:1px solid #e9edf1; border-radius:14px;
    box-shadow:0 13px 36px rgba(24,43,67,.14);
    padding:9px 14px; box-sizing:border-box; direction:rtl;
  }
  .site-header .icc-da-panel a {
    display:flex; align-items:center; justify-content:space-between;
    flex-direction:row; gap:10px; width:100%; min-width:0;
    padding:13px 10px; box-sizing:border-box; text-decoration:none;
    color:#334a67; font:700 13px/1.8 Tahoma,"Segoe UI",Arial,sans-serif;
    background:transparent; border-radius:8px;
  }
  .site-header .icc-da-panel a:hover,
  .site-header .icc-da-panel a:focus-visible {
    background:#f4f8fc; color:#0876c4; text-decoration:none;
  }
  .site-header .icc-da-panel svg { width:21px; height:21px; flex-shrink:0; }
  .site-header .icc-da-profile {
    color:#263d5e!important; font-size:14px!important; font-weight:800!important;
    min-height:57px; border-bottom:1px solid #edf0f3; border-radius:0!important;
    margin-bottom:5px;
  }
  .site-header .icc-da-profile-name { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
  .site-header .icc-da-nav { display:block; margin:0; padding:0; }
  .site-header .icc-da-nav ul.icc-da-links {
    display:block; list-style:none; padding:0; margin:0;
  }
  .site-header .icc-da-nav ul.icc-da-links > li {
    display:block; float:none; margin:0; padding:0;
    border-bottom:1px solid #edf0f3;
  }
  .site-header .icc-da-nav ul.icc-da-links > li:last-child { border-bottom:0; }
  .site-header .icc-da-nav ul.icc-da-links > li > a {
    display:flex; flex-direction:row; justify-content:space-between;
    padding:13px 10px; color:#455573; font-size:13px; font-weight:700;
  }
  .site-header .icc-da-nav .icc-account-nav-label { min-width:0; flex:1; text-align:right; }
  .site-header .icc-da-nav .icc-account-nav-svg { color:#373c47; display:inline-flex; }
  .site-header .icc-da-logout {
    border-top:1px solid #edf0f3; border-radius:0!important;
    margin-top:6px; color:#39445a; min-height:51px;
  }
  .site-header .icc-da-panel a.icc-da-logout,
  .site-header .icc-da-panel a.icc-da-logout:hover,
  .site-header .icc-da-panel a.icc-da-logout:focus-visible {
    color:#b8253b!important;
  }
  .site-header .icc-da-trigger:focus-visible,
  .site-header .icc-da-panel a:focus-visible {
    outline:2px solid #0876c4; outline-offset:2px;
  }
}
