 * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            background: #f9fafb;
            color: #111827;
        }

        .site-header {
            background: #ffffff;
            box-shadow: 0 1px 3px rgba(0,0,0,0.08);
            position: sticky;
            top: 0;
            z-index: 999;
            border-bottom: 1px solid #e5e7eb;
        }

        .header-wrapper {
            max-width: 1280px;
            margin: 0 auto;
            padding: 0 24px;
        }

        .header-top {
            display: flex;
            align-items: center;
            justify-content: space-between;
            height: 80px;
            gap: 40px;
        }

        .site-logo {
            flex-shrink: 0;
        }

        .site-logo a {
            display: flex;
            align-items: center;
        }

        .site-logo img {
            height: 42px;
            width: auto;
            object-fit: contain;
        }

        .main-nav {
            flex: 1;
            display: flex;
            justify-content: center;
        }

        .desktop-menu {
            display: flex;
            align-items: center;
            gap: 20px;
        }

        .desktop-links {
            display: flex;
            gap: 14px;
            list-style: none;
        }

        .desktop-link-item {
            display: flex;
            align-items: center;
            gap: 6px;
            padding: 6px 10px;
            border-radius: 999px;
            text-decoration: none;
            color: #111827;
            font-size: 14px;
            font-weight: 500;
            transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .desktop-link-item:hover {
            background: #f3f4f6;
            color: #8B0E0E;
        }

        .desktop-link-icon {
            width: 18px;
            height: 18px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: inherit;
        }

        .desktop-link-title {
            font-size: 14px;
        }

        .header-icons {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .icon-btn {
            display: flex;
            align-items: center;
            justify-content: center;
            background: none;
            border: none;
            cursor: pointer;
            color: #111827;
            transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
            padding: 6px;
            border-radius: 999px;
            position: relative;
            text-decoration: none;
        }

        .icon-btn:hover {
            background: rgba(139, 14, 14, 0.06);
            transform: translateY(-1px);
        }

        .icon-btn.menu-toggle svg {
            width: 24px;
            height: 24px;
        }

        .icon-btn.cart-trigger svg,
        .icon-btn.cart-link svg {
            width: 24px;
            height: 24px;
        }

        .cart-badge {
            position: absolute;
            top: 0;
            right: 0;
            background: #8B0E0E;
            color: white;
            border-radius: 999px;
            min-width: 16px;
            height: 16px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 10px;
            font-weight: 700;
            padding: 0 4px;
            box-shadow: 0 2px 4px rgba(139, 14, 14, 0.4);
        }

        .header-bottom {
            padding: 12px 0 16px;
            border-top: 1px solid #e5e7eb;
        }

        .search-bar-container {
            max-width: 680px;
            margin: 0 auto;
            position: relative;
        }

        .search-bar {
            width: 100%;
            position: relative;
        }

        .search-bar input {
            width: 100%;
            padding: 10px 14px;
            border: 1.5px solid #e5e7eb;
            border-radius: 999px;
            font-size: 14px;
            transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
            background: #f3f4f6;
        }

        .search-bar input::placeholder {
            color: #9ca3af;
        }

        .search-bar input:focus {
            outline: none;
            border-color: #8B0E0E;
            background: #ffffff;
            box-shadow: 0 0 0 3px rgba(139, 14, 14, 0.16);
        }

        .search-results {
            position: absolute;
            top: calc(100% + 8px);
            left: 0;
            right: 0;
            background: #ffffff;
            border-radius: 16px;
            box-shadow: 0 18px 45px rgba(15,23,42,0.18);
            max-height: 400px;
            overflow-y: auto;
            display: none;
            z-index: 1000;
            border: 1px solid #e5e7eb;
        }

        .search-results.active {
            display: block;
        }

        .search-result-item {
            display: flex;
            gap: 12px;
            padding: 12px 16px;
            border-bottom: 1px solid #f3f4f6;
            text-decoration: none;
            color: #111827;
            transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .search-result-item:hover {
            background: #f9fafb;
        }

        .search-result-item:last-child {
            border-bottom: none;
        }

        .search-result-img {
            width: 50px;
            height: 50px;
            object-fit: cover;
            border-radius: 10px;
            flex-shrink: 0;
        }

        .search-result-info {
            flex: 1;
            display: flex;
            align-items: center;
        }

        .search-result-title {
            font-size: 14px;
            font-weight: 500;
            color: #111827;
        }

        .search-loading, .search-no-results {
            padding: 24px;
            text-align: center;
            color: #6b7280;
            font-size: 14px;
        }

        .cart-sidebar {
            position: fixed;
            top: 0;
            left: -100%;
            width: 400px;
            max-width: 90vw;
            height: 100%;
            background: #ffffff;
            box-shadow: 8px 0 40px rgba(15,23,42,0.25);
            z-index: 10000;
            transition: left 0.35s cubic-bezier(0.4, 0, 0.2, 1);
            display: flex;
            flex-direction: column;
            overflow: hidden;
        }

        .cart-sidebar.active {
            left: 0;
        }

        .cart-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 18px 20px;
            border-bottom: 1px solid #e5e7eb;
            background: #f9fafb;
            flex-shrink: 0;
        }

        .cart-header h3 {
            font-size: 18px;
            font-weight: 700;
            color: #111827;
        }

        .close-cart {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 32px;
            height: 32px;
            background: #ffffff;
            border: 1.5px solid #e5e7eb;
            border-radius: 999px;
            cursor: pointer;
            transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
            color: #111827;
        }

        .close-cart:hover {
            background: #f3f4f6;
            border-color: #8B0E0E;
            color: #8B0E0E;
            transform: rotate(90deg);
        }

        .widget_shopping_cart_content {
            flex: 1;
            overflow-y: auto;
            -webkit-overflow-scrolling: touch;
        }

        .cart-loading {
            display: none;
            padding: 40px 20px;
            text-align: center;
        }

        .mobile-menu {
            position: fixed;
            top: 0;
            bottom: 0;
            right: -100%;
            width: 340px;
            max-width: 88vw;
            background: linear-gradient(135deg, #eff6ff 0%, #ffffff 50%, #f9fafb 100%);
            box-shadow: -8px 0 40px rgba(15,23,42,0.25);
            z-index: 10000;
            transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
            display: flex;
            flex-direction: column;
            border-radius: 18px 0 0 18px;
            overflow: hidden;
        }

        .mobile-menu.active {
            right: 0;
        }

        .mobile-menu-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 16px 18px;
            border-bottom: 1px solid #e5e7eb;
            background: rgba(248, 250, 252, 0.95);
            backdrop-filter: blur(16px);
            flex-shrink: 0;
        }

        .mobile-menu-title {
            font-size: 16px;
            font-weight: 700;
            color: #111827;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .mobile-menu-title svg {
            width: 18px;
            height: 18px;
            color: #8B0E0E;
        }

        .close-mobile-menu {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 30px;
            height: 30px;
            background: #ffffff;
            border: 1.5px solid #e5e7eb;
            border-radius: 999px;
            cursor: pointer;
            transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
            color: #111827;
        }

        .close-mobile-menu:hover {
            background: #f3f4f6;
            border-color: #8B0E0E;
            color: #8B0E0E;
            transform: rotate(90deg);
        }

        .close-mobile-menu svg {
            width: 16px;
            height: 16px;
        }

        .mobile-menu-content {
            flex: 1;
            padding: 14px 14px 12px;
            overflow-y: auto;
            -webkit-overflow-scrolling: touch;
        }

        .mobile-menu-item {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 9px 10px;
            background: rgba(255,255,255,0.9);
            border-radius: 11px;
            margin-bottom: 5px;
            border: 1px solid rgba(229,231,235,0.9);
            cursor: pointer;
            transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
            text-decoration: none;
            color: #111827;
            font-size: 13px;
            font-weight: 500;
        }

        .mobile-menu-item:hover {
            background: #ffffff;
            border-color: rgba(139, 14, 14, 0.3);
            box-shadow: 0 4px 12px rgba(15,23,42,0.08);
            transform: translateY(-1px);
        }

        .mobile-menu-item-left {
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .mobile-menu-item-icon {
            width: 26px;
            height: 26px;
            border-radius: 999px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: #f3f4f6;
            color: #8B0E0E;
            flex-shrink: 0;
        }

        .mobile-menu-item-icon svg {
            width: 15px;
            height: 15px;
        }

        .mobile-menu-item-label {
            display: flex;
            flex-direction: column;
            gap: 2px;
        }

        .mobile-menu-item-title {
            font-size: 13px;
        }

        .mobile-menu-item-sub {
            font-size: 10px;
            color: #9ca3af;
        }

        .mobile-menu-item-arrow svg {
            width: 14px;
            height: 14px;
            color: #9ca3af;
        }

        .mobile-menu-section-title {
            font-size: 10px;
            text-transform: uppercase;
            letter-spacing: 0.08em;
            color: #9ca3af;
            margin: 10px 4px 4px;
            font-weight: 600;
        }

        .mobile-menu-footer {
            padding: 8px 16px 10px;
            border-top: 1px solid #e5e7eb;
            background: rgba(249,250,251,0.98);
            flex-shrink: 0;
        }

        .mobile-menu-footer-links {
            display: flex;
            gap: 10px;
            align-items: center;
            justify-content: center;
        }

        .currency-switcher {
            margin-top: 8px;
        }

        .menu-toggle {
            display: none;
        }

        .cart-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(15,23,42,0.55);
            backdrop-filter: blur(6px);
            z-index: 9999;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
            pointer-events: none;
        }

        .cart-overlay.active {
            opacity: 1;
            visibility: visible;
            pointer-events: auto;
        }

        .spinner {
            width: 40px;
            height: 40px;
            border: 3px solid #e5e7eb;
            border-top-color: #8B0E0E;
            border-radius: 50%;
            animation: spin 0.8s linear infinite;
            margin: 40px auto;
        }

        @keyframes spin {
            to { transform: rotate(360deg); }
        }

        @media (max-width: 968px) {
            .header-top {
                height: 70px;
                gap: 16px;
            }

            .header-wrapper {
                padding: 0 16px;
            }

            .site-logo img {
                height: 36px;
            }

            .main-nav {
                display: none;
            }

            .menu-toggle {
                display: flex;
            }

            .header-icons {
                gap: 8px;
            }

            .header-bottom {
                padding: 10px 0 12px;
            }

            .mobile-menu {
                width: 320px;
            }

            .cart-sidebar {
                width: 340px;
            }
        }

        @media (max-width: 480px) {
            .mobile-menu {
                width: 300px;
                border-radius: 16px 0 0 16px;
            }

            .mobile-menu-header {
                padding: 14px 14px;
            }

            .mobile-menu-content {
                padding: 12px 10px 10px;
            }

            .cart-sidebar {
                width: 100%;
            }
        }



/*short*/

.ptw-wrapper{max-width:980px;margin:16px auto;padding:0 12px;direction:rtl}
.ptw-tabs{display:flex;gap:8px;padding:8px;border:1px solid #eee;background:#fff;border-radius:12px;overflow-x:auto;-webkit-overflow-scrolling:touch}
.ptw-tab{appearance:none;border:1px solid #eee;background:#fafafa;color:#222;padding:8px 10px;border-radius:10px;cursor:pointer;font-weight:800;transition:.15s;flex:0 0 auto;white-space:nowrap;font-size:12px;line-height:1;display:inline-flex;align-items:center;gap:7px}
.ptw-tab:hover{background:#f1f1f1}
.ptw-tab.is-active{background:#d63638;border-color:#d63638;color:#fff}
.ptw-tab svg{width:16px;height:16px;display:inline-block}
.ptw-tab.is-active svg{fill:#fff}
.ptw-tab svg{fill:currentColor}

.ptw-content{margin-top:10px}
.ptw-panel{display:none;min-height:90px}
.ptw-panel.is-active{display:block;animation:ptwFade .25s ease}
@keyframes ptwFade{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}

.ptw-list{display:flex;flex-direction:column;gap:8px}
.ptw-row{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid #eee;border-radius:12px;padding:8px 10px;transition:.15s}
.ptw-row:hover{transform:translateY(-1px)}
.ptw-thumb{flex:0 0 48px;width:48px;height:48px;border-radius:10px;overflow:hidden;background:#f4f4f4}
.ptw-thumb img{width:48px;height:48px;object-fit:cover;display:block}
.ptw-body{flex:1;min-width:0}
.ptw-title{margin:0;font-size:12px;line-height:1.35;font-weight:900;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ptw-title a{text-decoration:none;color:#222}
.ptw-title a:hover{color:#d63638}

.ptw-state{display:flex;align-items:center;justify-content:center;padding:18px;border:1px dashed #e1e1e1;border-radius:12px;background:#fff;color:#666;font-weight:900;font-size:12px}

.ptw-skel{display:flex;flex-direction:column;gap:8px}
.ptw-skel-item{display:flex;gap:10px;align-items:center;border:1px solid #eee;border-radius:12px;padding:8px 10px;background:#fff}
.ptw-skel-thumb{width:48px;height:48px;border-radius:10px;background:linear-gradient(90deg,#f2f2f2 25%,#e9e9e9 37%,#f2f2f2 63%);background-size:400% 100%;animation:ptwShimmer 1.1s infinite}
.ptw-skel-lines{flex:1}
.ptw-skel-line{height:10px;border-radius:10px;margin:6px 0;background:linear-gradient(90deg,#f7f7f7 25%,#efefef 37%,#f7f7f7 63%);background-size:400% 100%;animation:ptwShimmer 1.1s infinite}
.ptw-skel-line.w70{width:70%}
.ptw-skel-line.w40{width:40%}
@keyframes ptwShimmer{0%{background-position:100% 0}100%{background-position:0 0}}

@media(max-width:480px){
  .ptw-wrapper{padding:0 10px}
  .ptw-tab{padding:8px 9px}
  .ptw-thumb{flex:0 0 44px;width:44px;height:44px}
  .ptw-thumb img{width:44px;height:44px}
}

















.pfooter{
  position: relative;
  overflow: hidden;
  color: #ffffff;
  padding: 56px 16px 18px;
  background:
    radial-gradient(900px 340px at 15% -10%, rgba(255,255,255,.12), transparent 60%),
    radial-gradient(700px 280px at 85% 0%, rgba(0,0,0,.14), transparent 60%),
    linear-gradient(180deg, #8B0E0E 0%, #6f0f0f 55%, #4b0b0b 100%);
  isolation: isolate;
}

.pfooter:before{
  content:"";
  position:absolute;
  inset:-120px -120px auto auto;
  width:320px;
  height:320px;
  background: radial-gradient(circle, rgba(255,255,255,.16) 0%, rgba(255,255,255,0) 65%);
  transform: rotate(12deg);
  opacity:.9;
  pointer-events:none;
  z-index:-1;
}

.pfooter a{
  color: #ffffff;
  text-decoration: none;
}

.pfooter a:hover,
.pfooter a:focus{
  text-decoration: underline;
}

.pfooter__inner{
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  gap: 22px;
}

.pfooter__top{
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
}

@media (min-width: 900px){
  .pfooter__top{
    grid-template-columns: 1.25fr .9fr .9fr;
    align-items: start;
  }
}

.pfooter__card{
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 18px;
  padding: 18px 16px;
  box-shadow: 0 10px 24px rgba(0,0,0,.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.pfooter__title{
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: .2px;
}

.pfooter__text{
  margin: 0 0 14px;
  line-height: 1.95;
  color: rgba(255,255,255,.82);
  font-size: 14.5px;
}

.pfooter__badges{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top: 8px;
}

.badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding: 9px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  color: #fff;
  font-size: 12.5px;
  font-weight: 800;
  white-space: nowrap;
}

.badge svg{
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: .95;
  flex: 0 0 auto;
}

.pfooter__links{
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.plink a{
  display:flex;
  align-items:center;
  gap:10px;
  padding: 11px 12px;
  border-radius: 14px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  text-decoration:none !important;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}

.plink a:hover{
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.18);
  transform: translateY(-1px);
}

.plink__ico{
  width: 18px;
  height: 18px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  opacity:.95;
  flex: 0 0 auto;
}

.plink__ico svg{
  width: 18px;
  height: 18px;
  fill:none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.psocial{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top: 12px;
}

.psocial a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:42px;
  height:42px;
  border-radius: 16px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.14);
  transition: transform .15s ease, background .15s ease;
  text-decoration:none !important;
}

.psocial a:hover{
  background: rgba(255,255,255,.12);
  transform: translateY(-1px);
}

.psocial svg{
  width: 18px;
  height: 18px;
  fill: currentColor;
  opacity:.95;
}

.pfooter__bottom{
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,.16);
  text-align:center;
  color: rgba(255,255,255,.82);
  font-size: 14px;
}

.pfooter__bottom p{
  margin: 0;
}

.mnav{
  position: fixed;
  inset:auto 0 0 0;
  z-index: 9998;
  padding: 14px 14px calc(14px + env(safe-area-inset-bottom));
  pointer-events:none;
}

.mnav__wrap{
  pointer-events:auto;
  max-width: 460px;
  margin: 0 auto;
  display:flex;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 26px;
  background: rgba(255,255,255,.74);
  border: 1px solid rgba(255,255,255,.46);
  backdrop-filter: blur(26px) saturate(180%);
  -webkit-backdrop-filter: blur(26px) saturate(180%);
  box-shadow: 0 18px 45px rgba(2,6,23,.14);
  position: relative;
  overflow:hidden;
}

.mnav__wrap:before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background: white;
}

.mnav__item{
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  display:flex;
  flex-direction: column;
  align-items:center;
  justify-content:center;
  gap: 5px;
  padding: 10px 8px;
  border-radius: 18px;
  text-decoration:none;
  color: #64748b;
  transition: transform .25s ease, background .25s ease, color .25s ease;
}

.mnav__ico{
  width: 34px;
  height: 34px;
  display:grid;
  place-items:center;
  border-radius: 14px;
  transition: transform .25s ease, background .25s ease, box-shadow .25s ease;
}

.mnav__ico svg{
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mnav__lbl{
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .2px;
  white-space: nowrap;
  line-height: 1;
}

.mnav__item:hover{
  transform: translateY(-2px);
  color: #8B0E0E;
}

.mnav__item:hover .mnav__ico{
  background: rgba(139,14,14,.08);
}

.mnav__item.is-active{
  color: #8B0E0E;
}

.mnav__item.is-active .mnav__ico{
  background: linear-gradient(135deg, rgba(139,14,14,.16), rgba(139,14,14,.08));
  box-shadow: 0 10px 22px rgba(139,14,14,.18);
  transform: translateY(-1px);
}

.mnav__item.is-active:after{
  content:"";
  position:absolute;
  bottom: 6px;
  width: 28px;
  height: 3px;
  border-radius: 99px;
  background: #8B0E0E;
  opacity: .85;
}

@media (min-width: 992px){
  .mnav{
    display:none;
  }
}

@media (max-width: 991px){
  body{
    padding-bottom: 92px;
  }
}

@media (max-width: 380px){
  .mnav__wrap{
    padding: 9px 10px;
    border-radius: 24px;
  }
  .mnav__item{
    padding: 8px 6px;
  }
  .mnav__lbl{
    font-size: 9px;
  }
}











input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}


input[type="number"] {
    -moz-appearance: textfield;
}



.x-currency.x-currency-shortcode{
  position: relative;
  display: inline-flex;
  align-items: center;
  font-family: inherit;
}

.x-currency .switch{
  appearance: none;
  background: #fff;
  color: #111;
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 12px;
  padding: 8px 10px;
  min-height: 40px;
  cursor: pointer;
  transition: box-shadow .2s ease, border-color .2s ease, transform .08s ease;
  box-shadow: 0 6px 18px rgba(0,0,0,.06);
}

.x-currency .switch:hover{
  border-color: rgba(0,0,0,.22);
  box-shadow: 0 10px 28px rgba(0,0,0,.09);
}

.x-currency .switch:active{
  transform: translateY(1px);
}

.x-currency .switch-elements{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  line-height: 1;
}

.x-currency .switch-elements .code{
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .4px;
}

.x-currency .switch-elements::after{
  content: "";
  width: 8px;
  height: 8px;
  margin-inline-start: 4px;
  border-right: 2px solid rgba(0,0,0,.55);
  border-bottom: 2px solid rgba(0,0,0,.55);
  transform: rotate(45deg);
  transition: transform .2s ease;
}

.x-currency .currency-wrap{
  position: absolute;
  min-width: 180px;
  background: #fff;
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 14px;
  box-shadow: 0 18px 60px rgba(0,0,0,.14);
  padding: 6px;
  z-index: 9999;
}

.x-currency.open-bottom .currency-wrap{
  top: calc(100% + 10px);
  right: 0;
}

.x-currency.open-top .currency-wrap{
  bottom: calc(100% + 10px);
  right: 0;
}

.x-currency .dropdown-ul{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 4px;
}

.x-currency .dropdown-li{
  border-radius: 10px;
  padding: 10px 10px;
  cursor: pointer;
  transition: background .15s ease, transform .08s ease;
}

.x-currency .dropdown-li > div{
  display: flex;
  align-items: center;
  gap: 10px;
}

.x-currency .dropdown-li:hover{
  background: rgba(0,0,0,.045);
}

.x-currency .dropdown-li:active{
  transform: translateY(1px);
}

.x-currency .dropdown-li.active{
  background: rgba(17, 24, 39, .06);
  outline: 1px solid rgba(0,0,0,.10);
}

@media (max-width: 480px){
  .x-currency .currency-wrap{
    min-width: 160px;
  }
  .x-currency .switch{
    padding: 8px 9px;
    border-radius: 12px;
  }
}



















.woocommerce-account .woocommerce-MyAccount-content form.woocommerce-EditAccountForm label{
  display: block !important;
  font-weight: 700 !important;
  font-size: 12px !important;
  color: #111827 !important;
  margin: 0 0 8px !important;
}


.woocommerce-account .woocommerce-MyAccount-content form.woocommerce-EditAccountForm .woocommerce-Input,
.woocommerce-account .woocommerce-MyAccount-content form.woocommerce-EditAccountForm .input-text{
  width: 100% !important;
  padding: 12px 14px !important;
  border: 1px solid #e5e7eb !important; 
  border-radius: 12px !important;
  background: #fff !important;
  outline: 0 !important;
  font-size: 14px !important;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease !important;
}
.woocommerce-account .woocommerce-MyAccount-content form.woocommerce-EditAccountForm .woocommerce-Input:focus,
.woocommerce-account .woocommerce-MyAccount-content form.woocommerce-EditAccountForm .input-text:focus{
  border-color: #6366f1 !important;
  box-shadow: 0 0 0 4px rgba(99,102,241,.14) !important;
}

/* Display name description */
.woocommerce-account .woocommerce-MyAccount-content #account_display_name_description{
  display: block !important;
  margin-top: 8px !important;
  color: #6b7280 !important;
  font-size: 12px !important;
}

/* Fieldset */
.woocommerce-account .woocommerce-MyAccount-content form.woocommerce-EditAccountForm fieldset{
  border: 1px solid #e5e7eb !important;
  border-radius: 16px !important;
  padding: 14px !important;
  background: #fff !important;
}

.woocommerce-account .woocommerce-MyAccount-content form.woocommerce-EditAccountForm fieldset legend{
  padding: 0 10px !important;
  font-weight: 800 !important;
  font-size: 14px !important;
  color: #111827 !important;
}

/* ===== Password icon opposite of text (RTL => left) ===== */
.woocommerce-account .woocommerce-MyAccount-content form.woocommerce-EditAccountForm .password-input{
  position: relative !important;
  display: block !important;
}

/* padding only for password inputs (not all inputs) */
.woocommerce-account .woocommerce-MyAccount-content form.woocommerce-EditAccountForm .password-input input[type="password"]{
  padding-left: 52px !important;
}


.woocommerce-account .woocommerce-MyAccount-content form.woocommerce-EditAccountForm .password-input .show-password-input{
  position: absolute !important;
  top: 50% !important;
  left: 10px !important;     /* opposite of text */
  right: auto !important;
  transform: translateY(-50%) !important;
  width: 38px !important;
  height: 38px !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 10px !important;
  background: #f9fafb !important;
  cursor: pointer !important;
  display: grid !important;
  place-items: center !important;
  transition: background .2s ease, border-color .2s ease !important;
}

.woocommerce-account .woocommerce-MyAccount-content form.woocommerce-EditAccountForm .password-input .show-password-input:hover{
  background: #f3f4f6 !important;
  border-color: #d1d5db !important;
}

/* ===== Icon (password hidden) ===== */
.woocommerce-account .woocommerce-MyAccount-content form.woocommerce-EditAccountForm .password-input .show-password-input::before{
  content: "" !important;
  width: 18px !important;
  height: 18px !important;
  background: #111827 !important;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 5c5.5 0 9.5 4.5 10.8 6.3c.3.4.3 1 0 1.4C21.5 14.5 17.5 19 12 19S2.5 14.5 1.2 12.7c-.3-.4-.3-1 0-1.4C2.5 9.5 6.5 5 12 5Zm0 2C8 7 4.7 10.2 3.3 12C4.7 13.8 8 17 12 17s7.3-3.2 8.7-5C19.3 10.2 16 7 12 7Zm0 2.5A2.5 2.5 0 1 1 9.5 12 2.5 2.5 0 0 1 12 9.5Z'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 5c5.5 0 9.5 4.5 10.8 6.3c.3.4.3 1 0 1.4C21.5 14.5 17.5 19 12 19S2.5 14.5 1.2 12.7c-.3-.4-.3-1 0-1.4C2.5 9.5 6.5 5 12 5Zm0 2C8 7 4.7 10.2 3.3 12C4.7 13.8 8 17 12 17s7.3-3.2 8.7-5C19.3 10.2 16 7 12 7Zm0 2.5A2.5 2.5 0 1 1 9.5 12 2.5 2.5 0 0 1 12 9.5Z'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* ===== Icon (password shown) - Woo uses one of these classes حسب النسخة ===== */
.woocommerce-account .woocommerce-MyAccount-content form.woocommerce-EditAccountForm .password-input .show-password-input.display-password::before,
.woocommerce-account .woocommerce-MyAccount-content form.woocommerce-EditAccountForm .password-input .show-password-input--display::before{
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M3.28 2.22 21.78 20.72l-1.41 1.41-3.03-3.03c-1.6.74-3.4 1.12-5.34 1.12-5.5 0-9.5-4.5-10.8-6.3a1.1 1.1 0 0 1 0-1.4c.6-.9 1.8-2.3 3.4-3.6L1.87 3.64 3.28 2.22ZM12 6.22c1.08 0 2.1.18 3.04.5l-1.9 1.9a2.5 2.5 0 0 0-3.1 3.1l-2.1 2.1C6.2 13.12 4.7 11.86 3.5 10.72 4.92 8.92 8.12 6.22 12 6.22Zm8.5 6.5c-.66.9-1.78 2.16-3.3 3.26l-2.18-2.18a2.5 2.5 0 0 0-3.32-3.32L9.4 8.18c.82-.24 1.69-.36 2.6-.36 3.88 0 7.08 2.7 8.5 4.9Z'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M3.28 2.22 21.78 20.72l-1.41 1.41-3.03-3.03c-1.6.74-3.4 1.12-5.34 1.12-5.5 0-9.5-4.5-10.8-6.3a1.1 1.1 0 0 1 0-1.4c.6-.9 1.8-2.3 3.4-3.6L1.87 3.64 3.28 2.22ZM12 6.22c1.08 0 2.1.18 3.04.5l-1.9 1.9a2.5 2.5 0 0 0-3.1 3.1l-2.1 2.1C6.2 13.12 4.7 11.86 3.5 10.72 4.92 8.92 8.12 6.22 12 6.22Zm8.5 6.5c-.66.9-1.78 2.16-3.3 3.26l-2.18-2.18a2.5 2.5 0 0 0-3.32-3.32L9.4 8.18c.82-.24 1.69-.36 2.6-.36 3.88 0 7.08 2.7 8.5 4.9Z'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* Buttons (not full width) */
.woocommerce-account .woocommerce-MyAccount-content form.woocommerce-EditAccountForm > p:last-of-type{
  display: flex !important;
  justify-content: flex-start !important; /* RTL: زرار على اليسار visually */
  gap: 10px !important;
  margin-top: 12px !important;
}

.woocommerce-account .woocommerce-MyAccount-content form.woocommerce-EditAccountForm button.woocommerce-Button.button{
  width: auto !important;
  min-width: 160px !important;
  padding: 11px 16px !important;
  border-radius: 12px !important;
  background: #111827 !important;
  color: #fff !important;
  border: 1px solid #111827 !important;
  font-weight: 800 !important;
  cursor: pointer !important;
  transition: transform .15s ease, box-shadow .2s ease, opacity .2s ease !important;
}

.woocommerce-account .woocommerce-MyAccount-content form.woocommerce-EditAccountForm button.woocommerce-Button.button:hover{
  transform: translateY(-1px) !important;
  box-shadow: 0 12px 24px rgba(0,0,0,.12) !important;
}

@media (max-width: 640px){
  .woocommerce-account .woocommerce-MyAccount-content form.woocommerce-EditAccountForm{
    grid-template-columns: 1fr !important;
  }
  .woocommerce-account .woocommerce-MyAccount-content form.woocommerce-EditAccountForm button.woocommerce-Button.button{
    min-width: 0 !important;
    width: auto !important;
  }
}

