@charset "UTF-8";html {    line-height: 1.15;    -webkit-text-size-adjust: 100%;}body {    margin: 0;}main {    display: block;}h1 {    font-size: 2em;    margin: 0.67em 0;}hr {    box-sizing: content-box;    height: 0;    overflow: visible;}pre {    font-family: monospace, monospace;    font-size: 1em;}a {    background-color: transparent;}abbr[title] {    border-bottom: none;    text-decoration: underline;    text-decoration: underline dotted;}b, strong {    font-weight: bolder;}code, kbd, samp {    font-family: monospace, monospace;    font-size: 1em;}small {    font-size: 80%;}sub, sup {    font-size: 75%;    line-height: 0;    position: relative;    vertical-align: baseline;}sub {    bottom: -0.25em;}sup {    top: -0.5em;}img {    border-style: none;}button, input, optgroup, select, textarea {    font-family: inherit;    font-size: 100%;    line-height: 1.15;    margin: 0;}button, input {    overflow: visible;}button, select {    text-transform: none;}button, [type=button], [type=reset], [type=submit] {    -webkit-appearance: button;}button::-moz-focus-inner, [type=button]::-moz-focus-inner, [type=reset]::-moz-focus-inner, [type=submit]::-moz-focus-inner {    border-style: none;    padding: 0;}button:-moz-focusring, [type=button]:-moz-focusring, [type=reset]:-moz-focusring, [type=submit]:-moz-focusring {    outline: 1px dotted ButtonText;}fieldset {    padding: 0.35em 0.75em 0.625em;}legend {    box-sizing: border-box;    color: inherit;    display: table;    max-width: 100%;    padding: 0;    white-space: normal;}progress {    vertical-align: baseline;}textarea {    overflow: auto;}[type=checkbox], [type=radio] {    box-sizing: border-box;    padding: 0;}[type=number]::-webkit-inner-spin-button, [type=number]::-webkit-outer-spin-button {    height: auto;}[type=search] {    -webkit-appearance: textfield;    outline-offset: -2px;}[type=search]::-webkit-search-decoration {    -webkit-appearance: none;}::-webkit-file-upload-button {    -webkit-appearance: button;    font: inherit;}details {    display: block;}summary {    display: list-item;}template {    display: none;}[hidden] {    display: none;}

@font-face {
  font-family: "Badona2x";
  src: url("../../Font/Badona.woff") format("woff");
  unicode-range: U+0041-005A, U+0061-007A;
}

@font-face {
  font-family: "Vazirmatn";
  src: url("../../Font/Vazirmatn-Bold.ttf") format("ttf");
  unicode-range:
    U+0600-06FF,
    U+0750-077F,
    U+08A0-08FF,
    U+200C,
    U+0030-0039,
    U+06F0-06F9;
}

:root { 
    --main-color:#ff5010;
    --second-color:#6E6E6E;
    --header-color:#263238;
    --main-background:#ffffff;
    --second-background:#b4b4b4;
    --border-radius-main:14px;
    --border-radius-second:4px;
    --border-color:#ff5010;
    --border-color-hover:#ff501090;
    --text-color-black:#000000;
    --text-color-gray:#404040;
    --text-color-white:#ffffff;
    --input-text-color-light:#ffffff;
    --input-background-color-light:#ffffff;
    --input-text-color-dark:#000000;
    --input-background-color-dark:#000000;
    --shadow-box-main:#00000020;
    --shadow-box-hover:#00000030;
    --link-light:#ffffff;
    --link-dark:#000000;
    --link-hover:#ff501080;
    --link-click:#ff5010;
    --link-activity:#ff5010;
    --separator:#ff5010;
    --separator-hover:#ffffff;
    --object-black-color:#00000080;
    --object-white-color:#ffffff80;
    --transition-normal: 0.3s ease-in-out;
    --font-family:'Vazirmatn','Badona2x',Sans-serif,Arial;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family:var(--font-family);
    direction: rtl;
    padding-bottom: 70px;
}
/* ═══════════════════════════════════════════
   TOP HEADER (Mobile: not sticky)
════════════════════════════════════════════ */
.top-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    direction: rtl;
    border-bottom: 1px solid #eee;
}

.menu-btn,
.search-btn {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    border: none;
    border-radius: 12px;
    font-size: 20px;
    cursor: pointer;
    transition: background 0.2s;
}
.menu-btn:hover,
.search-btn:hover {
    background: #e0e0e0;
}
.logo {
    cursor: pointer !important;
}
/* ═══════════════════════════════════════════
   BOTTOM NAVIGATION (Mobile: sticky)
════════════════════════════════════════════ */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    direction: rtl;
    justify-content: space-around;
    background: #fff;
    padding: 8px 0 12px;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
}
.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  color: #666;
  font-size: 11px;
  padding: 4px 12px;
  border-radius: 12px;
  transition: all var(--transition-normal);
}
.nav-item span {
    font-size: 22px;
}
.nav-item:hover,
.nav-item.active {
  color: #222;
  background: #f5f5f5;
}
/* ═══════════════════════════════════════════
   DESKTOP HEADER
════════════════════════════════════════════ */
.desktop-header {
  direction: rtl;
  display: none;
  color: var(--text-color-white);
}
@media (min-width: 769px) {
    body {
        padding-bottom: 0;
    }
    .top-header,
    .bottom-nav {
        display: none;
    }
    .desktop-header {
        display: block;
        position: sticky;
        top: 0;
        z-index: 1000;
        background: var(--header-color);
        box-shadow: -2px 0 10px var(--shadow-box-main);
    }
    .desktop-top-bar {
        background: var(--main-color);
        color: var(--text-color-white);
        text-align: center;
        padding: 8px;
        font-size: 13px;
    }
    .desktop-main {
        display: flex;
        align-items: center;
        justify-content: space-between;
        max-width: 1200px;
        margin: 0 auto;
    }
    .desktop-nav {
        display: flex;
        margin:8px;
        transition: all var(--transition-normal);
    }
    .desktop-nav a {
        color: var(--text-color-white);
        text-decoration: none;
        padding: 10px 16px;
        transition: all var(--transition-normal);
    }
    .desktop-nav a:hover {
        color: var(--link-hover);
    }
    .desktop-actions {
        display: flex;
        align-items: center;
    }
    .desktop-actions a {
        color: var(--text-color-white);
        text-decoration: none;
        font-size: 16px;
        font-weight:700;
        padding:16px 20px;
        transition:all var(--transition-normal);
    }
    .desktop-actions a:hover {
        color: var(--link-hover);
    }
    .cart-btn {
        font-size: 24px;
        transition: all var(--transition-normal);
    }
}
/* ═══════════════════════════════════════════
   MOBILE MENU SIDEBAR
════════════════════════════════════════════ */
.sidebar {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100vh;
    background: #fff;
    box-shadow: -2px 0 10px var(--shadow-box-main);
    z-index: 2000;
    transition: right 0.3s ease;
    padding: 20px;
}
.sidebar.active {
    right: 0;
}
.sidebar-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
}
.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}
.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
}
.close-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    border: none;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
}
.sidebar-links a {
    display: block;
    color: #333;
    text-decoration: none;
    border-bottom: 1px solid #f0f0f0;
    font-size: 15px;
}
.sidebar-links a:hover {
    color: #1a1a2e;
}
/* ═══════════════════════════════════════════
   FOOTER STYLES
═══════════════════════════════════════════ */

.main-footer {
    background-color: var(--main-background);
    color: var(--text-color-black);
    padding: 60px 0 0;
    font-family: inherit;
    margin-top: auto;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
}

.footer-col {
    flex: 1 1 250px;
}

.footer-col h3, 
.footer-col h4 {
    color: var(--text-color-black);
    margin-bottom: 20px;
    font-size: 1.2rem;
    border-bottom: 2px solid var(--main-color);
    display: inline-block;
    padding-bottom: 5px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.footer-logo h3 {
    border: none;
    margin: 0;
    padding: 0;
}

.footer-col p {
    line-height: 1.6;
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    text-decoration: none;
    color: var(--text-color-black);
    transition: color 0.3s ease, padding-right 0.3s ease;
    font-size: 0.95rem;
    display: inline-block;
}

.footer-col ul li a:hover {
    color: var(--primary-color, #007bff);
    padding-right: 5px;
}

/* Contact Info with Icons */
.contact-info li {
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0.9;
    margin-bottom: 12px;
}

.contact-info li i {
    color: var(--main-color);
    width: 20px;
    text-align: center;
}

/* Social Links with Font Awesome */
.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    font-size: 1.8rem;
    color: var(--text-color-black);
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-links a:hover {
    color: var(--main-color);
    transform: scale(2);
}

/* Bottom Bar */
.footer-bottom {
    background-color: var(--second-background);
    padding: 15px 0;
    margin-top: 5px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 0px;
}

.trust-badges {
    display: flex;
    margin-top:5px;
    margin-right:5px;
    gap:5px;
}

.trust-badge {
    width: 80px;
    height: auto;
    background: #fff;
    padding: 2px;
    border-radius: 5px;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.trust-badge:hover {
    opacity: 1;
}

.copyright {
    font-size: 0.85rem;
    opacity: 0.7;
    text-align: center;
}
.made-by {
    text-align: center;
    margin:0;
    padding: 15px;
}

.made-by a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-family: sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
    background: linear-gradient(135deg, #0f172a, #1e293b);
    padding: 10px 18px;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,.15);
}

.made-by a:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,.25);
}

.made-by i {
    color: #38bdf8;
}
/* ═══════════════════════════════════════════
   RESPONSIVE ADJUSTMENTS
═══════════════════════════════════════════ */

@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        gap: 40px;
    }

    .footer-col {
        flex: 1 1 100%;
        text-align: center;
    }

    .footer-col h4 {
        border-bottom: none;
        border-bottom: 2px solid var(--primary-color, #333);
        padding-bottom: 10px;
    }

    .contact-info li {
        justify-content: center;
    }

    .social-links {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .trust-badges {
        justify-content: center;
    }
}
/*
-----==================================================-----
-----==================================================-----
■■■■■■■■■■
    ■■        ■■■■■■■     ■■■■■■■      ■■■■    ■■■■■■■■■■
    ■■      ■■       ■■         ■■    ■■           ■■
    ■■      ■■       ■■   ■■■■■ ■■    ■■■          ■■
    ■■      ■■       ■■   ■■    ■■       ■■        ■■
    ■■        ■■■■■■■     ■■■■■ ■■    ■■■■■        ■■■
-----==================================================-----
-----==================================================----- */
#error-stack {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  pointer-events: none;
  width: 100%;
  max-width: 400px;
}

.error-toast {
  direction: rtl;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  margin: 0 auto;
  min-width: 320px;
  max-width: 325px;
  padding: 16px 20px 16px 16px;
  border-radius: 10px;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  box-shadow: -2px 0 10px var(--shadow-box-main);
  display: flex;
  flex-direction: row-reverse;
  align-items: flex-start;
  gap: 10px;
  pointer-events: auto;
  opacity: 0;
  transition: opacity 0.25s ease-out, transform 0.25s ease-out;
}
/*---- BackGround Errors ----*/
.error-toast.warning {
  background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
  border: solid 1px rgba(255, 107, 53, 0.6);
}

.error-toast.notification,
.error-toast.info {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: solid 1px rgba(102, 126, 234, 0.6);
}

.error-toast.success {
  background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
  border: solid 1px rgba(56, 239, 125, 0.6);
}

.error-toast.error {
  background: linear-gradient(135deg, #c0392b 0%, #e74c3c 100%);
  border: solid 1px rgba(231, 76, 60, 0.6);
}
/*---- BackGround Errors Close ----*/
.error-toast.warning .error-toast__close {
  background: #9f411f80 !important;
  color: #fff;
  border:solid 1px #ff5010;
}
  
.error-toast.error .error-toast__close {
  background: #c03a2b80 !important;
  color: #fff;
  border: solid 1px #ce2a18;
}

.error-toast.info .error-toast__close,
.error-toast.notification .error-toast__close {
  background: #667eea80 !important;
  color: #fff;
  border: solid 1px #223fbd;
}

.error-toast.success .error-toast__close {
  background: #11998780 !important;
  color: #fff;
  border: solid 1px #14cb63;
}

/*---- Hover Close Visibliltity ----*/
.error-toast:hover .error-toast__close {
  opacity: 1;
  pointer-events: auto;
}

.error-toast__close:hover {
  background: rgba(255, 255, 255, 0.5);
  transform: scale(1.1);
}

/*---- Toast Error Config ----*/
.error-toast__icon svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.error-toast__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  text-align: right;
}

.error-toast__icon {
  font-size: 24px;
  display: flex;
  align-items: flex-start;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}
.error-toast__title {
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  margin: 0;
  right:50px;
  top:8px;
}

.error-toast__message {
  font-size: 14px;
  font-weight: 400;
  right:50px;
  margin: 0;
}
.error-toast__close {
  position: absolute;
  top: -10px;
  right: -10px;
  margin: 0;
  border: solid 1px rgb(225 73 57);
  background: rgb(228 74 58);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  font-size: 16px;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s ease, opacity 0.2s ease;
  opacity: 0;
  pointer-events: none;
}

.error-level-1 {
  opacity: 1;
  transform: translateX(-50%) translateY(0) scale(1);
}

.error-level-2 {
  opacity: 1;
  transform: translateX(-50%) translateY(-15px) scale(0.90);
}

.error-level-3 {
  opacity: 1;
  transform: translateX(-50%) translateY(-25px) scale(0.80);
}

.error-fade-out {
  animation: toast-pop-out 0.3s ease-out forwards;
}
@keyframes toast-pop-in {
  0% {
      opacity: 1;
      transform: translateX(-50%) translateY(40px) scale(0.8);
  }
  60% {
      opacity: 1;
      transform: translateX(-50%) translateY(-5px) scale(1.03);
  }
  100% {
      opacity: 1;
      transform: translateX(-50%) translateY(0) scale(1);
  }
}

@keyframes toast-pop-out {
  0% {
      opacity: 1;
      transform: translateX(-50%) translateY(0) scale(1);
  }
  100% {
      opacity: 0;
      transform: translateX(-50%) translateY(20px) scale(0.95);
  }
}

.error-toast.animate-in {
  animation: toast-pop-in 0.3s ease-in-out;
}

/* --------------------------- */
/* Mobile / Small Screen Fixes */
/* --------------------------- */
@media (max-width: 768px) {
  
  /* 1. Make the close button always visible on mobile */
  .error-toast__close {
      opacity: 1 !important;
      pointer-events: auto !important;
      
      /* Optional: Make it slightly smaller to fit small screens better */
      width:25px;
      height: 25px;
      font-size: 14px;
      top: 6px;
      right: 6px;
  }
  .error-toast {
    width: 150px;
    height: 40px;
  }
  .error-toast__message {
    font-size: 16px;
    font-weight: 500;
  }
  .error-toast__title {
    font-size:20px;
    font-weight: 700;
  }
}
/* When ANY toast is hovered, ALL toasts move up */
#error-stack:has(.error-toast:hover) .error-level-1 {
  transform: translateX(-50\%) translateY(-0%) scale(1);
}

#error-stack:has(.error-toast:hover) .error-level-2 {
  transform: translateX(-50%) translateY(-110%) scale(1);
}

#error-stack:has(.error-toast:hover) .error-level-3 {
  transform: translateX(-50%) translateY(-220%) scale(1);
}

/* Add smooth transition for hover */
.error-toast {
  transition: opacity 0.25s ease-out, transform 0.3s ease-out,filter 0.2s ease,box-shadow 0.2s ease;
}

/* Hover brightness effect */
.error-toast:hover {
  filter: brightness(1.1);
  box-shadow: 0 8px 24px var(--shadow-box-hover);
  z-index: 1001;
}