:root {
  --bg: #ffffff;
  --text: #222;
  --radius: 50rem;
  --card-bg: rgba(60, 60, 60, 0.3);
  --card-bg2: rgba(60, 60, 60, 0.1);
  --border: rgba(30, 30, 30, 0.2);
  --toast-success: #28a745;
  --toast-error: #dc3545;
  --toast-warning: #d2a724;
  --toast-info: #17a2b8;
  --toast-bg: var(--bg);
  --toast-text: var(--text);
}

[data-theme="dark"] {
  --bg: #121212;
  --text: #e4e4e4;
  --border: rgba(100, 100, 100, 0.2);
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background-color: var(--primary);
  border-radius: 50rem;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'font', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji';
  direction: rtl;
  letter-spacing: 0px;
  line-height: 2;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0) !important;
  transition: 0.3s;
  outline: none;
  scrollbar-width: thin;
  scrollbar-color: var(--primary) transparent;
}

html,body {
  height: 100%;
}

body {
  background: var(--bg);
  /*background: radial-gradient(circle at top, var(--primary) -300%, transparent 90%), var(--bg);*/
  background-attachment: fixed;
  color: var(--text);
  padding-top: 70px;
  margin: 0;
}

body:has(.loading-overlay) {
  overflow: hidden;
}

body:has(.loading-overlay.loaded) {
  overflow: auto;
}

.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--card-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.6s ease-in-out, visibility 0.6s ease-in-out;
  backdrop-filter: blur(80px);
  font-family: monospace;
}

.loading-overlay > div {
  padding: 10px;
  height: 150px;
  width: 250px;
  border-radius: 10px;
  background: var(--bg);
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  flex-direction: column;
  font-size: 20px;
  user-select: none;
}

.loader-dots {
  display: flex;
  gap: 12px;
  margin-top: 10px;
}

.loader-dots span {
  width: 10px;
  height: 10px;
  background-color: var(--primary);
  border-radius: 50%;
  display: inline-block;
  animation: pulseDot 1.4s infinite ease-in-out both;
}

.loader-dots span:nth-child(1) { animation-delay: -0.32s; }
.loader-dots span:nth-child(2) { animation-delay: -0.16s; }
.loader-dots span:nth-child(3) { animation-delay: 0s; }

@keyframes pulseDot {
  0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; }
  40% { transform: scale(1.2); opacity: 1; }
}

.loading-overlay.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loading-overlay.loaded > div {
  animation: fadeOutUp 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes fadeOutUp {
  0% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  100% {
    opacity: 0;
    visibility: hidden;
  }
}

a svg,
button svg {
  width: 24px;
  height: 24px;
}

.toast-container {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 15px;
    direction: rtl;
}

.custom-toast {
    display: flex;
    align-items: center;
    background-color: var(--toast-bg);
    color: var(--toast-text);
    min-width: 300px;
    max-width: 400px;
    padding: 15px 20px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    transform: translateX(-120%);
    animation: slideIn 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}

.custom-toast.hide {
    animation: slideOut 0.4s ease forwards;
}

.custom-toast::before {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 6px;
}
.custom-toast.success::before { background-color: var(--toast-success); }
.custom-toast.error::before { background-color: var(--toast-error); }
.custom-toast.warning::before { background-color: var(--toast-warning); }
.custom-toast.info::before { background-color: var(--toast-info); }

.toast-icon {
    font-size: 24px;
    margin-left: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.custom-toast.success .toast-icon { color: var(--toast-success); }
.custom-toast.error .toast-icon { color: var(--toast-error); }
.custom-toast.warning .toast-icon { color: var(--toast-warning); }
.custom-toast.info .toast-icon { color: var(--toast-info); }

.toast-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.toast-title {
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 5px;
}
.toast-message {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

.toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4px;
    background-color: rgba(0, 0, 0, 0.1);
    width: 100%;
}
.toast-progress-bar {
    height: 100%;
    width: 100%;
    animation: progress linear forwards;
}
.custom-toast.success .toast-progress-bar { background-color: var(--toast-success); }
.custom-toast.error .toast-progress-bar { background-color: var(--toast-error); }
.custom-toast.warning .toast-progress-bar { background-color: var(--toast-warning); }
.custom-toast.info .toast-progress-bar { background-color: var(--toast-info); }

@keyframes slideIn {
    0% { transform: translateX(-120%); opacity: 0; }
    100% { transform: translateX(0); opacity: 1; }
}
@keyframes slideOut {
    0% { transform: translateX(0); opacity: 1; }
    100% { transform: translateX(-120%); opacity: 0; }
}
@keyframes progress {
    0% { width: 100%; }
    100% { width: 0%; }
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.page-main {
  flex: 1;
  padding-top: 20px;
}

.container {
  max-width: 1200px;
  margin: auto;
  padding: 20px;
}


.navbar {
  position: fixed;
  top: 0;
  display: flex;
  inset-inline: 0;
  height: auto;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 6px -1px var(--card-bg);
  z-index: 1000;
  flex-direction: column;
  padding-bottom: 0;
}
[data-theme="dark"] .navbar {
  box-shadow: unset;
}

.navbar .part:nth-child(2) {
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  max-width: 100%;
  margin: auto;
}

.divider_menu {
  border-right: 1px solid var(--border);
  padding-right: 20px;
  margin-right: 10px;
  display: flex;
  align-items: center;
  gap: 20px;
}
.divider_menu a {
  border-radius: 8px !important;
  padding: 2px !important;
  height: 25px;
}
.divider_menu a:hover {
  color: var(--primary);
  opacity: 1 !important;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px;
  width: 100%;
  max-width: 100% !important;
  margin: auto;
}
.swiper-slide {
  height: auto;
}

.posts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  direction: rtl;
  padding: 10px 0 40px;
}

.posts .post-card {
  width: 100%;
  display: flex;
  gap: 10px;
  cursor: pointer;
}

.posts .post-card h2 {
  font-size: 20px;
}

.posts .post-card img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  transform: scale(1.05);
}

.posts .post-card .one {
  width: 150px;
  height: 150px;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 5px;
  position: relative;
}

.posts .post-card .one {
  position: relative;
  overflow: hidden;
}

.posts .post-card .one::after {
  content: '';
  position: absolute;
  top: 0%;
  left: 100%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    115deg,
    transparent 0%,
    transparent 40%,
    var(--primary) 50%,
    transparent 60%,
    transparent 100%
  );
  transform: rotate(25deg) translateX(-350%);
  transition: transform 0.6s cubic-bezier(0.25, 0.1, 0.15, 1);
  opacity: 0;
}

.posts .post-card:hover .one::after {
  transform: rotate(25deg) translateX(0%);
  opacity: 0.3;
}

.posts .post-card .two {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.posts .post-card .two time {
  font-size: 13px;
}

.posts .post-card:hover h2 {
  color: var(--primary);
}

.posts .post-card:hover .one img {
  transform: scale(1.1);
}

.product-card {
  height: 100%;
}

.nav-logo {
  font-weight: 700;
  font-size: 18px;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  width: 100%;
}
.nav-logo a {
  display: flex;
}
.nav-logo img {
  width: 45px;
  height: 45px;
  border-radius: 50rem;
}

.win_search {
  display: flex;
  width: 60%;
  padding: 6px 6px;
  background: transparent;
  color: var(--text);
  border: 1px solid var(--card-bg);
  border-radius: var(--radius);
}

.win_search input {
  background: transparent;
}

.win_search button {
  background: var(--primary);
  padding: 0;
  width: 42px;
  height: 42px;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--bg);
}

.mega-menu-container {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mega-menu-container .phone {
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius);
  font-size: 17px;
  padding: 5px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 14px;
}

.nav-menu a {
  opacity: .8;
}
.nav-menu a:hover {
  opacity: 1;
}

.nav-first {
  flex: 1;
  display: flex;
}

.nav-first a {
  font-size: 15px;
  display: flex;
  align-items: center;
  padding: 5px 20px;
  gap: 5px;
  border-radius: var(--radius);
  cursor: pointer;
  user-select: none;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.nav-first a .bx {
    transition: transform 0.3s ease;
}

.hover-bg:hover {
  opacity: 0.6;
}

.mega-menu-container.active .nav-first a {
    opacity: 0.8;
}

.mega-menu-container.active .nav-first .bx {
    transform: rotate(180deg);
}

.mega-menu {
  position: absolute;
  top: 110%;
  right: 0;
  width: 800px;
  padding: 0;
  border-radius: 18px;
  background-color: var(--bg);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s;
  z-index: 1000;
  border: 1px solid var(--border);
  display: flex;
  justify-content: center;
  overflow: hidden;
}
  
.mega-menu-layout {
  display: flex;
  min-width: 100%;
  overflow: hidden;
}

.categories-sidebar {
  width: 200px;
  border-left: 1px solid var(--border);
  padding: 10px;
  max-height: 300px;
  overflow-y: auto;
}

.category-item {
  display: block;
  padding: 12px 16px;
  color: var(--text-primary);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s;
  border-right: 3px solid transparent;
  transition: 0s !important;
  border-radius: 8px !important;
  position: relative;
}

.category-item::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background: transparent;
  border-radius: 4px;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 0;
  box-shadow: 0 0 0 0 rgba(var(--primary-rgb), 0);
}

.category-item::before {
  content: '';
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light, color-mix(in srgb, var(--primary) 70%, transparent)));
  border-radius: 4px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 0;
  opacity: 0;
}

.category-item:hover::before {
  opacity: 1;
  width: 4px;
  height: 4px;
}
.category-item.active::before {
  opacity: 1;
  width: 4px;
  height: 70%;
}

.category-item {
  overflow: hidden;
  transition: all 0.25s ease;
  cursor: pointer;
}

.category-item:hover {
    background: var(--bg-hover);
}
.brands-header {
  display: flex;
  padding: 10px;
  padding-top: 0;
  justify-content: space-between;
  width: 100%;
  align-items: center;
  border-bottom: 1px solid var(--card-bg)
}

.brands-header h4 {
  position: relative;
  padding-right: 10px;
  color: var(--primary);
  margin: 0 !important;
}

.brands-header h4::before {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light, color-mix(in srgb, var(--primary) 70%, transparent)));
  border-radius: 4px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.brands-header a {
  padding: 0 10px;
  color: #fff;
  background: var(--primary);
  border-radius: 8px;
  opacity: 1 !important;
}

.brands-group ul li a {
  display: block;
  padding: 6px 0;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s;
}

.brands-group ul li a:hover {
    color: var(--primary-color);
}

.category-item:hover {
  background: var(--bg-hover);
}

.category-item.active {
  background: var(--bg-hover);
  border-right-color: transparent;
  font-weight: 500;
  background: transparent;
  color: var(--primary);
}

.brands-sidebar {
  flex: 1;
  padding: 16px;
}

.brands-group ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 8px;
  max-height: 250px;
  overflow-y: auto;
}

.brands-group ul li {
  text-align: right;
}

.brands-group ul li a {
  display: block;
  padding: 6px 0;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s;
}

.brands-group ul li a:hover {
  color: var(--primary-color);
}

.mega-menu-container.active .mega-menu {
  opacity: 1;
  visibility: visible;
}

.mega-menu-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 25px;
  justify-items: center;
}

.mega-menu-column h5 {
  font-size: 16px;
  margin-bottom: 15px;
  color: var(--primary);
}

.mega-menu-column ul {
  list-style: none;
}

.mega-menu-column ul li a {
  display: block;
  padding: 8px 0;
  text-decoration: none;
  color: var(--text-light);
  font-size: 14px;
  transition: color 0.2s ease;
  line-height: 2 !important;
}

.mega-menu-column ul li a:hover {
  color: var(--primary);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-search {
  display: none;
}
.nav-search input {
  min-width: 160px;
  font-size: 13px;
}

.nav-cart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: 50rem;
  position: relative;
}

.nav-cart .badge {
  position: absolute;
  top: 0;
  right: 0;
  font-size: 10px;
  background: var(--toast-error);
  color: var(--bg);
  min-width: 22px;
  height: 22px;
  border-radius: 50rem;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0;
}

.nav-cart.with-wallet {
  background: var(--primary);
  padding: 10px;
  font-size: 15px;
  text-wrap-mode: nowrap;
  gap: 10px;
  color: var(--bg);
}

.nav-cart.with-wallet .bx {
  width: 35px;
  height: 35px;
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  border-radius: 50rem;
  color: var(--primary);
  font-size: 18px;
}

.nav-cart svg,
.theme-toggle svg,
.nav-toggle svg{
  width:22px;
  height:22px;
}

.gradient-text {
  font-weight:bold;
  background: linear-gradient(270deg, var(--primary), var(--card-bg));
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientMove 3s ease infinite;
}

@keyframes gradientMove{
  0%{
    background-position:0% 50%;
  }
  50%{
    background-position:100% 50%;
  }
  100%{
    background-position:0% 50%;
  }
}

.theme-toggle {
  width: 45px;
  height: 45px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-card {
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.product-image-placeholder {
  height: 180px;
  border-radius: 10px;
  background: var(--bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
}

.product-discount {
  position: absolute;
  top: 8px;
  right: 8px;
  background: var(--primary);
  color: white;
  font-size: 12px;
  padding: 3px 7px;
  border-radius: 6px;
}

.product-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.product-price-box {
  display: flex;
  align-items: center;
  gap: 8px;
}

.product-old-price {
  font-size: 13px;
  opacity: .6;
}

.product-price {
  font-weight: 600;
}

.product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.product-btn {
  height: 32px;
  padding: 0 12px;
}

.page-header {
  margin-bottom: 24px;
}

.page-title {
  font-size: 22px;
  margin-bottom: 6px;
}

.page-subtitle {
  font-size: 14px;
  opacity: .8;
}

.products-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.products-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  opacity: .8;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.product-card-title {
  font-size: 14px;
  margin-bottom: 6px;
}

.product-card-title a {
  color: inherit;
}

.product-card-price {
  font-weight: 600;
  font-size: 15px;
}

.product-card-price .currency {
  font-weight: 400;
  font-size: 13px;
  opacity: .8;
}

.product-card-actions {
  display: flex;
  justify-content: flex-start;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 14px;
  font-size: 13px;
  border: 1px solid transparent;
  cursor: pointer;
  background: transparent;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  filter: brightness(1.05);
}

.empty-state {
  padding: 26px 18px;
  border-radius: 12px;
  background: var(--card-bg);
  text-align: center;
}

.empty-state h2 {
  font-size: 16px;
  margin-bottom: 8px;
}

.empty-state p {
  font-size: 13px;
  opacity: .85;
}

@media (max-width: 600px) {
  .page-title {
    font-size: 20px;
  }
  .page-subtitle {
    font-size: 13px;
  }
  
}

.nav-toggle {
  display: none;
  width: 45px;
  height: 45px;
  border-radius: 8px;
  border: 1px solid var(--card-bg);
  background: transparent;
  font-size: 18px;
  cursor: pointer;
}

.footer {
  padding: 26px 0 18px;
  border-top: 1px solid var(--card-bg);
  font-size: 13px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.footer-box {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  padding: 10px 0 40px;
  width: 80%;
}

.footer-box div {
  box-shadow: 0 0 40px -10px var(--card-bg);
  height: 80px;
  border-radius: 20px;
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 10px;
}

.footer-box div span {
  width: 60px;
  height: 60px;
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 50px;
  background: var(--primary);
  font-size: 25px;
  color: var(--bg);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 10px;
}

.footer-brand {
  font-weight: 600;
  margin-bottom: 6px;
}

.footer-text {
  opacity: .8;
  max-width: 420px;
}

.footer-links {
  display: flex;
  gap: 16px;
}

.footer-links a {
  opacity: .8;
}
.footer-links a:hover {
  opacity: 1;
}

.footer-bottom {
  opacity: .6;
  font-size: 12px;
  width: 80%;
}


@media (min-width: 768px) {
  .nav-search {
    display: block;
  }
}

@media (max-width: 767px) {
  .posts {
    grid-template-columns: repeat(1, 1fr);
  }
  .posts .post-card {
    border-bottom: 1px solid var(--card-bg);
    padding-bottom: 15px;
  }
  .posts .post-card:last-child {
    border-bottom: 0;
  }
  .posts .post-card .one {
    width: 100px;
    height: 100px;
  }
  .posts .post-card h2 {
    font-size: 13px;
  }
  .posts .post-card .two time {
    font-size: 11px;
  }
  .footer-box {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }
  .nav-menu {
    position: fixed;
    top: 60px;
    inset-inline: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--card-bg);
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 20px 16px;
    gap: 10px;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
  }

  body.nav-open .nav-menu {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav-search {
    display: none;
  }
}

a {
  text-decoration: none;
  color: var(--text);
  font-size: 20px;
  cursor: pointer;
}

button, .btn {
  background: var(--primary);
  color: var(--bg);
  font-size: 16px;
  padding: 10px 18px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  width: 100%;
}

button:hover, .btn:hover {
  opacity: .8;
}

.user-menu {
  position: relative;
}
.user-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  height: 45px;
  background: transparent;
  color: var(--text);
  padding: 4px 10px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 13px;
}
.user-toggle:hover {
  background: var(--card-bg);
}
.user-avatar {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}
.user-name {
  display: none;
}
.user-caret {
  width: 0;
  height: 0;
  border-inline: 4px solid transparent;
  border-top: 5px solid var(--text);
}
.user-dropdown {
  position: absolute;
  top: 110%;
  inset-inline-end: 0;
  min-width: 200px;
  padding: 6px 0;
  backdrop-filter: blur(80px);
  background: var(--bg);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(15,23,42,.15);
  border: 1px solid var(--card-bg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  z-index: 1200;
}
.user-dropdown a {
  display: block;
  padding: 8px 14px;
  font-size: 13px;
  color: var(--text);
  white-space: nowrap;
}
.user-dropdown a:hover {
  background: var(--card-bg);
}
.user-menu.open .user-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

@media (min-width: 768px) {
  .user-name {
    display: inline;
  }
}

.hero {
  min-height: 60vh;
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0,1.1fr);
  gap: 30px;
  padding: 40px 0 30px;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.hero-eyebrow {
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: .7;
}

.hero-title {
  font-size: clamp(26px, 4vw, 45px);
  line-height: 1.4;
}

.hero-subtitle {
  font-size: 15px;
  opacity: .85;
  max-width: 420px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.hero-secondary {
  padding: 10px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--card-bg);
  background: transparent;
  font-size: 14px;
}

.hero-secondary:hover {
  background: var(--card-bg);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 16px;
  font-size: 12px;
  opacity: .7;
  width: 100%;
  align-items: center;
  justify-content: center;
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 18px;
  background: var(--card-bg);
  border: 1px solid var(--card-bg);
  border-radius: 50rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  font-size: 11px;
  padding: 6px 6px 6px 18px;
  border-radius: 999px;
  background: var(--card-bg);
  border: 1px solid var(--card-bg);
  opacity: .9;
}

.hero-highlight {
  color: var(--primary);
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: 14px;
}

.hero-highlight span {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: #fff !important;
  border-radius: 50rem;
}

.hero-illustration {
  border-radius: 22px;
  background: radial-gradient(circle at top, var(--primary) -300%, transparent 90%), var(--card-bg);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mini-metrics {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 10px;
  font-size: 11px;
}

.mini-metrics div {
  padding: 10px;
  border-radius: 12px;
  background: rgba(255,255,255,.18);
}

[data-theme="dark"] .mini-metrics div {
  background: rgba(0,0,0,.22);
}

.mini-metrics strong {
  display: block;
  text-align: center;
  font-size: 18px;
  margin-bottom: 4px;
  color: var(--primary);
}

.products {
  padding: 10px 0 40px;
}

.products .swiper-slide {
  padding: 0 !important;
  border-radius: 5px;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.section-header h2 {
  font-size: 18px;
  position: relative;
}

.section-header h2::after {
  content: '';
  position: absolute;
  right: 15px;
  bottom: -8px;
  max-width: 100px;
  width: 80%;
  height: 6px;
  background: var(--primary);
  border-radius: 4px;
}

.section-header h2::before {
  content: '';
  position: absolute;
  right: 5px;
  bottom: -8px;
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 4px;
}

.section-header a {
  padding: 4px 15px;
  color: var(--primary);
  background: transparent;
  box-shadow: 0 0 20px -10px var(--primary);
  font-weight: 900;
  border-radius: 8px;
  opacity: 1 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.product-card:hover {
  cursor: pointer;
}

.product-image-wrap {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at top, rgba(148,163,184,.35), transparent 55%);
  aspect-ratio: 4 / 3;
  display: block;
}
.product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
}
.product-card:hover .product-image {
  transform: scale(1.06);
}

.product-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-soft, #6b7280);
  font-size: 13px;
}

.product-discount {
  position: absolute;
  inset-inline-start: 10px;
  top: 10px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(220, 38, 38, .92);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  align-content: center;
}

.product-body {
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.product-title {
  font-size: 25px;
}

.product-card-title {
  line-height: 1.5;
  max-height: 3em;
  overflow: hidden;
}
.product-card-title a {
  color: var(--text);
  font-size: 13px;
}
.product-card-title a:hover {
  color: var(--primary);
}

.product-price-box {
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
}

.product-old-price {
  font-size: 11px;
  color: var(--text);
}
.product-price {
  font-size: 12px;
  font-weight: 900;
  color: var(--text);
}

.product-price svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.product-footer {
  margin-top: auto;
  padding: 8px 4px 2px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.product-btn {
  flex: 1;
  min-height: 34px;
  font-size: 13px;
  border-radius: 999px;
  padding-inline: 10px;
}

.badge-pill {
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 11px;
  white-space: nowrap;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.badge-pill span.bx {
  font-size: 16px;
}
.badge-pill.success {
  background: rgba(22,163,74,.10);
  color: #16a34a;
}
.badge-pill.danger {
  background: rgba(220,38,38,.08);
  color: #dc2626;
}

@media (max-width: 640px) {
  .product-card {
    padding: 0;
  }
  .product-footer {
    padding-inline: 0;
  }
}

.empty-state {
  padding: 20px;
  border-radius: 14px;
  background: var(--card-bg);
  font-size: 14px;
  opacity: .85;
  text-align: center;
}

.card {
  background: var(--card-bg);
  padding: 15px;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.grid {
  display: grid;
  gap: 20px;
}

@media (min-width: 600px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .page-main { padding-top: 70px; }
}

@media (min-width: 900px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}

input, select {
  width: 100%;
  padding: 0 12px;
  background: var(--card-bg);
  color: var(--text);
  border: none;
  border-radius: var(--radius);
}

footer {
  margin-top: 40px;
  padding: 20px;
  text-align: center;
  opacity: 1;
}

/* ========== Auth pages (login / register) ========== */

.auth-page {
    min-height: calc(100vh - 70px); /* ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€šÃ‚Â¹ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¦ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã¢â‚¬Å“ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Â¦Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¨ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€šÃ‚Â¹ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¦ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã¢â‚¬Å“ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Â¦Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â§ ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Â¦Ãƒâ€šÃ‚Â¾ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Â¦Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚ÂÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€šÃ‚Â¹ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¦ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã¢â‚¬Å“ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Â¦Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â±ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€šÃ‚Â¹ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¦ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã¢â‚¬Å“ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Â¦Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¶ ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Â¦Ãƒâ€šÃ‚Â¾ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Â¦Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€šÃ‚Â¹ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¦ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã¢â‚¬Å“ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Â¦Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¯ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€šÃ‚Â¹ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¦ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã¢â‚¬Å“ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Â¦Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â± */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.auth-card {
    width: 100%;
    max-width: 420px;
    background: transparent;
    border-radius: 18px;
    padding: 24px 24px 20px;
    border: 1px solid rgba(148, 163, 184, 0.18);
}

.auth-title {
    font-size: 20px;
    margin-bottom: 18px;
    text-align: center;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.auth-form p {
    margin: 0 0 8px;
}

.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  color: var(--text);
  opacity: 0.8;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px;
  background: var(--card-bg);
  border-radius: 5px;
  font-size: 14px;
  border: 0;
  color: var(--text);
  resize: none;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
}

.form-label {
    font-size: 13px;
    margin-bottom: 4px;
    display: inline-block;
    color: #475569;
}

[data-theme="dark"] .form-label {
    color: #cbd5f5;
}

.form-input,
.auth-form input[type="text"],
.auth-form input[type="password"],
.auth-form input[type="email"] {
    width: 100%;
    padding: 9px 11px;
    border-radius: 10px;
    border: 1px solid rgba(148, 163, 184, 0.9);
    background: var(--bg);
    font-size: 14px;
    outline: none;
}

[data-theme="dark"] .form-input,
[data-theme="dark"] .auth-form input[type="text"],
[data-theme="dark"] .auth-form input[type="password"],
[data-theme="dark"] .auth-form input[type="email"] {
    color: #e5e7eb;
}

.form-input::placeholder,
.auth-form input::placeholder {
    color: #9ca3af;
}

[data-theme="dark"] .form-input::placeholder,
[data-theme="dark"] .auth-form input::placeholder {
    color: #6b7280;
}

.super-icon {
  font-size: 30px !important;
  color: #fff !important;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  border-radius: 16px;
  margin-left: 10px;
  box-shadow: 5px 5px 0 2px var(--primary), -5px -5px 0 2px var(--primary);
}

.btn {
    border: none;
    border-radius: 999px;
    padding: 8px 28px;
    font-size: 13px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.btn-primary {
    background: var(--primary, #4f46e5);
    color: #fff;
}

.auth-submit {
    width: 100%;
    margin-top: 8px;
}

.auth-meta {
    margin-top: 16px;
    font-size: 13px;
    text-align: center;
    opacity: 0.9;
}

.auth-meta a {
    color: var(--primary, #4f46e5);
    text-decoration: none;
    font-size: 13px;
}

.auth-meta a:hover {
    text-decoration: underline;
}

.auth-extra-row {
    display: flex;
    justify-content: flex-end;
    margin-top: 4px;
    margin-bottom: 4px;
}

.auth-link-small {
    font-size: 12px;
    color: #6b7280;
    text-decoration: none;
}

.auth-link-small:hover {
    color: var(--primary, #4f46e5);
}

.form-errors {
    margin-bottom: 10px;
    padding: 8px 10px;
    border-radius: 10px;
    background: rgba(248, 113, 113, 0.08);
    border: 1px solid rgba(248, 113, 113, 0.45);
    font-size: 12px;
    color: #b91c1c;
}

[data-theme="dark"] .form-errors {
    background: rgba(248, 113, 113, 0.06);
    border-color: rgba(248, 113, 113, 0.5);
    color: #fecaca;
}

.form-error-item + .form-error-item {
    margin-top: 2px;
}

@media (max-width: 480px) {
    .auth-card {
        padding: 18px 16px 16px;
        border-radius: 14px;
        box-shadow: 0 10px 24px rgba(15, 23, 42, 0.18);
    }

    .auth-title {
        font-size: 18px;
        margin-bottom: 14px;
    }

    .auth-page {
        padding: 16px;
    }
}
.page-header {
  margin-bottom: 24px;
}

.page-header h1 {
  font-size: 20px;
  margin-bottom: 6px;
}

.page-subtitle {
  font-size: 13px;
  opacity: .7;
}

.card-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.card {
  border: 1px solid var(--card-bg);
  border-radius: 16px;
  padding: 16px 18px;
}

.order-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.order-id {
  font-weight: 600;
  font-size: 14px;
}

.order-date {
  font-size: 12px;
  opacity: .7;
  margin-top: 2px;
}

.order-amount {
  font-weight: 600;
  font-size: 14px;
}

.order-items {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 8px;
}

.order-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
}

.order-item-title {
  opacity: .9;
}

.order-item-qty {
  opacity: .7;
}

.cart-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cart-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cart-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.cart-row-main {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cart-title {
  font-size: 14px;
  font-weight: 500;
}

.cart-meta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  opacity: .75;
}

.cart-row-actions {
  flex-shrink: 0;
}

.cart-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 0;
  border-top: 1px solid rgba(0,0,0,.04);
}

.cart-total {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 13px;
}

.cart-total strong {
  font-size: 15px;
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(0,0,0,.08);
}

[data-theme="dark"] .btn-ghost {
  border-color: rgba(255,255,255,.12);
}

.btn-ghost:hover {
  background: rgba(0,0,0,.04);
}

[data-theme="dark"] .btn-ghost:hover {
  background: rgba(255,255,255,.06);
}

.empty-state {
  text-align: center;
  padding: 40px 20px;
}

.empty-state h2 {
  font-size: 18px;
  margin-bottom: 8px;
}

.empty-state p {
  font-size: 13px;
  opacity: .75;
  margin-bottom: 16px;
}

.add-cart-form {
  display:flex;
  gap:10px;
  align-items: flex-end;
  margin-top:12px;
}

.add-cart-form > button {
  width: fit-content;
}

.qty-box{
  display:flex;
  border: 1px solid var(--card-bg);
  align-items: center;
  padding: 5px;
  flex-shrink: 0;
  justify-content: center;
  border-radius: var(--radius);
  overflow: hidden;
}

.qty-box button {
  width: 34px;
  height: 34px;
  border-radius: var(--radius);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: #fff;
  padding: 0 !important;
}
.qty-box input{
  color:var(--text);
  background: transparent;
}

.overflow-y-auto {
  overflow: auto !important;
}

.ai-button {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pulse 2s infinite;
}


.ai-button:hover {
  transform: scale(1.1);
  opacity: 1 !important;
}

.ai-button:active {
  transform: scale(0.95);
}

.ai-icon {
  font-size: 38px;
  filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.2));
}

@keyframes pulse {
  0% {
      box-shadow: 0 0 0 0 rgba(102, 126, 234, 0.7);
  }
  70% {
      box-shadow: 0 0 0 15px rgba(102, 126, 234, 0);
  }
  100% {
      box-shadow: 0 0 0 0 rgba(102, 126, 234, 0);
  }
}

.ai-chat-panel.active ~ .ai-button {
  display: none;
}

@media (max-width: 768px) {
  .container {
    padding: 10px;
  }
  .ai-button {
      width: 60px;
      height: 60px;
      bottom: 80px;
      right: 20px;
  }
  body:has(.product-detail) .ai-button {
      bottom: 140px;
  }
  .ai-icon {
      font-size: 32px;
  }
}

.ai-chat-panel {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 380px;
  height: 500px;
  background: transparent;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  z-index: 9998;
  transform: translateY(20px) scale(0.95);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  overflow: hidden;
}

.ai-chat-panel.active {
  transform: translateY(0) scale(1);
  opacity: 1;
  visibility: visible;
}

.ai-chat-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ai-chat-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 16px;
}

.ai-chat-close {
  background: transparent;
  border: none;
  color: white;
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  border-radius: 50%;
  cursor: pointer;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  padding: 0 !important;
}

.ai-chat-close:hover {
  background: var(--card-bg);
}

.ai-chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--bg);
}

.ai-message {
  display: flex;
  animation: slideIn 0.3s ease;
}

@keyframes slideIn {
  from {
      opacity: 0;
      transform: translateY(10px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

.ai-message.user {
  justify-content: flex-end;
}

.ai-message.bot {
  justify-content: flex-start;
}

.message-content {
  max-width: 80%;
  padding: 10px 14px;
  border-radius: 18px;
  font-size: 14px;
  line-height: 1.5;
  word-wrap: break-word;
}

.ai-message.user .message-content {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-bottom-left-radius: 4px;
}

.ai-message.bot .message-content {
  background: var(--card-bg);
  border-bottom-right-radius: 4px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.ai-chat-input-area {
  padding: 10px;
  background: var(--bg);
  display: flex;
  border-top: 1px solid var(--card-bg);
  gap: 10px;
  align-items: center;
}

#chatInput {
  flex: 1;
  padding: 10px 15px;
  font-size: 14px;
  resize: none;
  max-height: 100px;
  outline: none;
  transition: border-color 0.2s;
  background: transparent;
  border: 0;
  color: var(--text);
}

#chatInput:focus {
  border-color: #667eea;
}

.send-btn {
  background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
  border: none;
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  padding: 0;
  transform: rotate(180deg);
}

.typing-indicator {
  display: flex;
  gap: 4px;
  padding: 10px 14px;
  background: var(--card-bg);
  border-radius: 18px;
  width: fit-content;
}

.typing-indicator span {
  width: 8px;
  height: 8px;
  background: #667eea;
  border-radius: 50%;
  animation: typing 1.4s infinite;
}

.typing-indicator span:nth-child(2) {
  animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes typing {
  0%, 60%, 100% {
      transform: translateY(0);
      opacity: 0.4;
  }
  30% {
      transform: translateY(-2px);
      opacity: 1;
  }
}

@media (max-width: 768px) {
  .ai-chat-panel {
      width: 100%;
      right: 0;
      left: 0;
      bottom: 0;
      height: 100vh;
      border-radius: 0;
  }
}

.ai-chat-messages::-webkit-scrollbar {
  width: 6px;
}

.ai-chat-messages::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.ai-chat-messages::-webkit-scrollbar-thumb {
  background: #667eea;
  border-radius: 10px;
}

.results-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 12px;
  width: 100%;
}

.result-card {
  display: flex;
  gap: 10px;
  background: transparent;
  border-radius: 26px;
  padding: 10px;
  border: 1px solid var(--card-bg);
  transition: all 0s !important;
  user-select: none;
  font-size: unset;
  overflow: hidden;
  width: 100%;
}

.result-image {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 18px;
}

.result-info {
  flex: 1;
  width: 100%;
}

.result-title {
  font-weight: bold;
  margin-bottom: 5px;
  white-space: nowrap;
}

.result-price {
  color: var(--primary);
  font-weight: bold;
  font-size: 0.9em;
}

.result-card:hover {
  cursor: pointer;
  background: var(--card-bg);
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 3rem;
    padding: 1rem 0;
}

.pagination a,
.pagination span.current {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    height: 2.5rem;
    padding: 0 0.75rem;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
    text-decoration: none;
}

.pagination a {
    color: var(--primary);
    box-shadow: 0 0 20px -10px var(--primary);
}

.pagination span.current {
    background: #111827;
    color: white;
    border: 1px solid #111827;
}

.pagination a:first-child,
.pagination a:last-child {
    font-size: 0.8rem;
    letter-spacing: 0.5px;
}

@media (max-width: 640px) {
    .pagination {
        gap: 0.25rem;
    }
    
    .pagination a,
    .pagination span.current {
        min-width: 2rem;
        height: 2rem;
        padding: 0 0.5rem;
        font-size: 0.8rem;
    }
}

.products_list {
  display: grid;
  grid-auto-flow: dense;
  grid-template-rows: auto;
  grid-template-columns: repeat(1, 1fr);
  border-top: 1px solid var(--card-bg);
  border-right: 1px solid var(--card-bg);
}

.products_list .product-item {
  border-bottom: 1px solid var(--card-bg);
  border-left: 1px solid var(--card-bg);
}

@media (min-width: 640px) {
  .products_list {
      grid-template-columns: repeat(2, 1fr);
  }

  .products_list .product-item {
      border-left: 1px solid var(--card-bg);
  }
  
  .products_list .product-item:nth-child(odd) {
      border-left: 1px solid var(--card-bg);
  }
}

@media (min-width: 1024px) {
  .products_list {
      grid-template-columns: repeat(3, 1fr);
      border-left: unset
  }
  
  .products_list .product-item:nth-child(3n+1),
  .products_list .product-item:nth-child(3n+2) {
      border-left: 1px solid var(--card-bg);
  }
  
  .products_list .product-item:nth-child(odd) {
      border-left: none;
  }
}

@media (min-width: 1024px) {
  .products_list.with-sidebar {
      grid-template-columns: repeat(2, 1fr);
  }
  
  .products_list.with-sidebar .product-item:nth-child(n) {
      border-left: none;
  }
  
  .products_list.with-sidebar .product-item:nth-child(odd) {
      border-left: 1px solid var(--card-bg);
  }
}

.product-card {
  display: flex;
  flex-direction: column;
  transition: all 0.2s ease;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.add_to_cart {
  position: absolute;
  top: 10px;
  left: -40px;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  background: var(--primary);
  border-radius: 50rem;
  color: var(--bg);
  transition: opacity 0.3s, left 0.15s cubic-bezier(0.2, 0.9, 0.3, 1.05);
  opacity: 0;
}

.product-card:hover .add_to_cart {
  opacity: 1;
  left: 10px;
}

.product-image-wrap {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  display: flex;
  background: transparent;
  align-items: center;
  justify-content: center;
}

.product-image {
  width: 80%;
  height: 80%;
  object-fit: cover;
  border-radius: 5px;
  transition: transform 0.3s ease;
}

.product-image-wrap:hover .product-image {
  transform: scale(1.05);
}

.product-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: #9ca3af;
  font-size: 14px;
}

.product-discount {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #ef4444;
  color: white;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 4px;
  z-index: 2;
}

.product-body {
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.product-card-title {
  font-size: 16px;
  font-weight: 100;
  opacity: 0.8;
  line-height: 1.4;
  margin: 0;
  text-overflow: ellipsis;
}

.product-card-title a {
  text-decoration: none;
  transition: color 0.2s ease;
  width: 100%;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.product-price-box {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  justify-content: flex-end;
}

.product-old-price {
  font-size: 10px;
}



@media (max-width: 640px) {
  .product-body {
      padding: 12px;
  }
  
  .product-card-title {
      font-size: 14px;
  }
  
  .product-price {
      font-size: 18px;
  }
  
  .product-old-price {
      font-size: 11px;
  }
  .filter-form {
      flex-direction: column;
  }
  .filter-group {
      width: 100%;
  }
  .filter-actions {
      width: 100%;
  }
}

@media (min-width: 640px) and (max-width: 1024px) {
  .product-body {
      padding: 14px;
  }
  
  .product-card-title {
      font-size: 15px;
  }
  .filter-form {
      flex-direction: column;
  }
  .filter-group {
      width: 100%;
  }
  .filter-actions {
      width: 100%;
  }
}

@media (min-width: 1024px) {
  .product-card-title {
      font-size: 16px;
  }
  
  .product-price {
      font-size: 20px;
  }
}

.products_list .product-item {
  border-bottom: 1px solid var(--card-bg);
}

@media (min-width: 640px) {
  .products_list .product-item:nth-child(odd) {
      border-left: 1px solid var(--card-bg);
  }
}

@media (min-width: 1024px) {
  .products_list .product-item:nth-child(3n+1),
  .products_list .product-item:nth-child(3n+2) {
      border-left: 1px solid var(--card-bg);
  }
}

@media (min-width: 1024px) {
  .products_list.with-sidebar .product-item:nth-child(odd) {
      border-left: 1px solid var(--card-bg);
  }
  
  .products_list.with-sidebar .product-item:nth-child(even) {
      border-left: none;
  }
}

.user_panel_menu {
  display: flex;
  flex-direction: column;
}

.user_panel_menu .wallet {
  margin-bottom: 10px;
  color: var(--bg);
  padding: 6px 25px 6px 25px;
  border-bottom: 1px solid var(--toast-warning);
  font-weight: 900;
  width: 100%;
  display: flex;
  position: relative;
  align-items: center;
  justify-content: flex-end;
  border-radius: 50rem 0 0 50rem;
  background: var(--toast-warning);
}

.user_panel_menu .wallet::before {
  content: "کیف پول";
  font-size: 13px;
  position: absolute;
  right: -25px;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: calc(100% + 1px);
  background: var(--toast-warning);
  display: flex;
  align-items: center;
  padding-right: 22px;
}

.user_panel_menu a {
  font-size: 14px !important;
  position: relative;
  padding: 12px 25px 12px 10px;
  width: 100%;
  font-weight: 600;
  border-bottom: 1px solid var(--card-bg);
  transition: all 0.25s ease;
}

.user_panel_menu a:last-child {
  border-bottom: 0;
}

.user_panel_menu a::before {
  content: '';
  position: absolute;
  right: -25px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  background: var(--card-bg);
  border-radius: 50rem 0 0 50rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.user_panel_menu a:hover::before {
  background: var(--primary);
  width: 20px;
}

.user_panel_menu a::after {
  content: '';
  position: absolute;
  left: 12px;
  top: 40%;
  border-top: 2px solid var(--primary);
  border-left: 2px solid var(--primary);
  width: 8px;
  height: 8px;
  transform: translateX(5px) rotate(-45deg);
  opacity: 0;
  transition: all 0.25s ease;
}

.user_panel_menu a:hover::after {
  opacity: 1;
  transform: translateX(0) rotate(-45deg);
}

.user_panel_menu a:hover {
  color: var(--primary);
  background: rgba(var(--primary-rgb), 0.05);
}

.user_panel_menu a.active {
  color: var(--primary);
  background: rgba(var(--primary-rgb), 0.08);
}

.user_panel_menu a.active::before {
  background: var(--primary);
  width: 20px;
  height: 20px;
}

.user_panel_menu a.active::after {
  opacity: 1;
  transform: translateX(0) rotate(-45deg);
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.sidey_contain {
    display: flex;
    gap: 20px;
}

.sidey_contain > div:first-child {
  flex: 0 1 30%;
  width: 100%;
  height: fit-content;
  padding: 16px 24px;
  box-shadow: 0 0 40px -10px var(--card-bg);
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: 0;
}

.sidey_contain > div:last-child {
  flex: 1;
}

.filter-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.filter-header:hover {
  opacity: 0.9;
}

.filter-title {
  font-size: 16px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.filter-title i {
  font-size: 20px;
}

.filter-toggle-icon {
  font-size: 24px;
  transition: transform 0.3s ease;
}

.filter-toggle-icon.active {
  transform: rotate(180deg);
}

.filter-form-container {
  max-height: 0;
  overflow: hidden;
  margin-top: 0;
}

.filter-form-container.open {
  max-height: 500px;
  margin-top: 12px;
}

.filter-form {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: flex-end;
}

.filter-group {
  flex: 1;
  min-width: 160px;
}

.filter-group label {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 500;
  opacity: 0.7;
  letter-spacing: 0.3px;
}

.filter-group select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-group select:hover {
  border-color: var(--primary);
}

.filter-group select:focus {
  outline: none;
  border-color: var(--primary);
}

.filter-actions {
  display: flex;
  gap: 8px;
  flex: 1;
}

.filter-btn, .reset-btn {
  padding: 10px 20px;
  border: none;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  flex: 1;
  text-align: center;
}

.filter-btn {
  background: var(--primary);
  color: white;
}

.filter-btn:hover {
  opacity: 0.85;
}

.reset-btn {
  background: transparent;
  color: var(--text-color);
  text-decoration: none;
  display: inline-block;
  border: 1px solid var(--border);
}

.reset-btn:hover {
  background: var(--border);
  border-color: transparent;
}

.active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
  padding: 0 4px;
}

.filter-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  color: var(--text);
  border-radius: 30px;
  font-size: 12px;
  border: 1px solid var(--card-bg);
}

.filter-badge a {
  color: var(--text);
  text-decoration: none;
  font-size: 20px;
  font-weight: 400;
  opacity: 0.6;
  transition: opacity 0.2s;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.filter-badge a:hover {
  opacity: 1;
}

.empty-state {
  text-align: center;
  padding: 60px 20px;
  background: var(--card-bg);
  border-radius: 20px;
  color: var(--text);
  opacity: 0.6;
  font-size: 15px;
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.pagination a, .pagination span {
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.pagination a {
  background: transparent;
  color: var(--text);
  border: 0;
}

.pagination span {
  background: transparent;
  color: var(--text);
  opacity: 0.7;
}

.clear-all-btn {
  background: var(--toast-error);
  color: white;
  border: none;
  border-radius: 30px;
  font-size: 25px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-right: auto;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.clear-all-btn:hover {
  background: #dc2626;
}

.filter-header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.product-page-desc {
  line-height: 2.7;
  font-size: 16px;
}

.product-page-desc {
  line-height: 2.8;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  white-space: pre-line;
}

.product-attributes ul {
  list-style: none;
  padding: 0;
  margin: 0;
  overflow: hidden;
}

.product-attributes li {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 0.5rem 1.25rem;
  border-bottom: 1px solid var(--card-bg);
  transition: background 0.2s ease;
}

.product-attributes li span:first-child {
  flex: 1;
}

.product-attributes li span:last-child {
  flex: 2;
  line-height: 2.5;
}

.product-attributes li span:last-child * {
  text-align: left;
  direction: rtl;
}

.product-attributes li:last-child {
  border-bottom: none;
  flex: 1;
}

.attr-name {
  font-weight: 900;
  font-size: 0.85rem;
  letter-spacing: -0.2px;
}

.attr-value {
  font-size: 0.95rem;
  word-break: break-word;
  text-align: left;
  flex: 1;
  margin-right: 1rem;
}

@media (max-width: 768px) {
  .product-description {
    padding: 1rem;
    margin-top: 1.5rem;
    border-radius: 12px;
  }
  .hidden-m { display: none !important; }

  .product-description h3 {
    font-size: 1.1rem;
  }

  .product-attributes li {
    align-items: flex-start;
    gap: 0.6rem;
    padding: 0.5rem;
  }

  .attr-value {
    margin-right: 0;
    text-align: right;
    width: 100%;
  }

  .attr-name {
    font-size: 0.8rem;
  }
}

.product-page-desc.short {
  max-height: 120px;
  overflow: hidden;
  position: relative;
}

.product-page-desc.short::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  height: 40px;
  background: linear-gradient(to top, #f8fafc, transparent);
}

.read-more-btn {
  background: none;
  border: none;
  color: #3b82f6;
  font-size: 0.85rem;
  font-weight: 500;
  margin-top: 0.5rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.read-more-btn:hover {
  color: #2563eb;
}

.fslightbox-slide-btn {
  background: var(--bg) !important;
  border-radius: 50rem !important;
  border: 1px solid var(--card-bg) !important;
}

.fslightbox-svg-path,
.fslightbox-slide-btn-container:hover .fslightbox-svg-path {
  fill: var(--text) !important;
}
.fslightbox-nav {
  height: auto !important;
}

.fslightbox-toolbar {
  right: unset !important;
  left: 10px !important;
  top: 10px !important;
  height: auto !important;
  gap: 10px !important;
  background: var(--bg) !important;
  padding: 5px 10px !important;
  border-radius: 50px !important;
}

.fslightbox-toolbar-button {
  border-radius: 50px !important;
  width: 35px !important;
  height: 35px !important;
}
.fslightbox-toolbar-button:hover {
  background: var(--card-bg) !important;
}

.drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0);
  backdrop-filter: blur(0px);
  transition: background-color 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1), backdrop-filter 0.3s ease;
  pointer-events: none;
  z-index: 1000;
}

.drawer-overlay.active {
  background-color: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(3px);
  pointer-events: auto;
  display: unset !important;
}

.drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: min(85%, 380px);
  height: 100%;
  background: var(--bg);
  box-shadow: -8px 0 30px rgba(0, 0, 0, 0.1);
  transform: translateX(-100%);
  transition: transform 0.15s cubic-bezier(0.2, 0.9, 0.3, 1.05);
  z-index: 1001;
  display: flex;
  flex-direction: column;
  overflow-y: hidden;
}

.drawer.open {
  transform: translateX(0);
  display: unset !important;
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  border-bottom: 1px solid var(--card-bg);
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 10;
}

.drawer-title {
  font-weight: 600;
  font-size: 1.35rem;
  letter-spacing: -0.2px;
}

.drawer-close-btn {
  background: transparent;
  border: none;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 40px;
  transition: background 0.2s;
  box-shadow: none;
  color: var(--text);
}

.drawer-close-btn:hover {
  opacity: 0.8;
}

.drawer-content {
  flex: 1;
  font-size: 1rem;
  line-height: 1.5;
}

.drawer-content p:not(:last-child) {
  margin-bottom: 1rem;
}

#cart_content {
  overflow-y: auto;
  height: 100%;
  padding-bottom: 110px;
  position: relative;
}

#cart_content .cart_item {
  border-bottom: 1px solid var(--card-bg);
  padding: 10px;
  font-size: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

#cart_content .cart_item > div {
  width: 100%;
  display: flex;
  gap: 10px;
}

#cart_content .cart_item:last-child {
  border-bottom: 0;
}

#cart_content .cart_item img {
  width: 100px;
  height: 100px;
  border-radius: 10px;
}

#cart_content .cart_item h3,
#cart_content .cart_item p {
  margin: 0;
}

#cart_content .cart_item .cart_control {
  border-radius: 10px !important;
  background: var(--bg);
  box-shadow: 0 0 40px -10px var(--card-bg);
  font-weight: 900;
  width: 100%;
  padding: 10px;
  align-items: center;
  justify-content: space-between;
}
#cart_content .cart_item .cart_control button {
  background: var(--card-bg);
  color: var(--text);
  flex-shrink: 1;
  width: 84px;
  height: 42px;
  border-radius: 10px !important;
  font-weight: 900;
}
#cart_content .empty-state {
  align-items: center;
  justify-content: center;
  padding: 20px !important;
  border-radius: 0px !important;
}
.checkout {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 10px;
  background: var(--bg);
  border-top: 1px solid var(--card-bg);
}
.checkout button {
  padding: 5px 10px;
  background: var(--primary);
  border-radius: 10px;
  color: #fff;
  font-size: 20px;
}

.checkout p {
  display: flex;
  justify-content: space-between;
  padding: 10px;
  padding-top: 0;
}

.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--card-bg);
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 6px 8px 10px;
  z-index: 1000;
  direction: rtl;
  font-family: inherit;
  transition: transform 0.2s ease;
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.7rem;
  color: #5b677b;
  transition: all 0.2s cubic-bezier(0.2, 0.9, 0.4, 1.1);
  padding: 4px 6px;
  text-decoration: none;
  flex: 1;
  min-width: 0;
  font-weight: 500;
}

.nav-item i {
  font-size: 1.4rem;
  line-height: 1;
  transition: transform 0.2s ease;
}

.nav-item span {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: -0.2px;
  white-space: nowrap;
}

@media (max-width: 480px) {
  .bottom-nav {
    padding: 4px 6px 8px;
  }
  
  .nav-item {
    gap: 2px;
    padding: 3px 4px;
  }
  
  .nav-item i {
    font-size: 1.3rem;
  }
  
  .nav-item span {
    font-size: 0.65rem;
  }
}

@media (max-width: 380px) {
  .nav-item span {
    font-size: 0.6rem;
  }
  
  .nav-item i {
    font-size: 1.25rem;
  }
}

.drawer-open .bottom-nav {
  z-index: 1000;
}
body.drawer-open {
  overflow: hidden;
}


.drawer, .drawer-overlay {
  display: none;
}

.hidden-w {
  display: block;
}

.mobile-category-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2000;
  visibility: hidden;
  pointer-events: none;
}
.mobile-category-menu.open {
  visibility: visible;
  pointer-events: auto;
}
.mobile-category-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.mobile-category-menu.open .mobile-category-overlay {
  opacity: 1;
}
.mobile-category-panel.tabbed-design {
  position: absolute;
  bottom: 0;
  left: 0;
  top: 0;
  background: var(--bg, #ffffff);
  width: 100%;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
  overflow: hidden;
  transform: translateY(30%) scale(0.95);
  opacity: 0;
  transition: all 0.35s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}
[data-theme="dark"] .mobile-category-panel.tabbed-design {
  background: var(--bg, #121212);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}
.mobile-category-menu.open .mobile-category-panel.tabbed-design {
  transform: translateY(0) scale(1);
  opacity: 1;
}
.mobile-category-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border, rgba(0,0,0,0.05));
}
.mobile-category-header h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
}
.mobile-category-close {
  background: var(--border, rgba(0,0,0,0.05));
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border-radius: 50rem;
}
.mobile-category-tabs-container {
  display: flex;
  gap: 10px;
  flex: 1;
  overflow: hidden;
  height: 55vh;
  flex-direction: column;
}
.tabs-sidebar {
  width: 100%;
  overflow-x: auto;
  margin-top: 10px;
  padding: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: fit-content;
}

.tab-btn {
  padding: 4px 20px;
  background: var(--card-bg);
  font-size: 0.9rem;
  color: var(--text);
  text-align: center;
  font-weight: 500;
  text-wrap-mode: nowrap;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.2s;
  border: 0;
  border-radius: 50rem;
}

.tab-btn.active {
  background: var(--primary);
  color: var(--bg);
}
.tabs-content {
  width: 100%;
  overflow-y: auto;
  padding: 12px;
}
.tab-pane {
  display: none;
  grid-template-columns: 1fr;
  gap: 6px;
  animation: fadeInPane 0.25s ease forwards;
}
.tab-pane.active {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}
@keyframes fadeInPane {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}
.brand-grid-item {
  display: flex;
  align-items: center;
  padding: 10px 14px;
  text-decoration: none;
  color: var(--text);
  font-size: 0.85rem;
  border-radius: 12px;
  background: rgba(0,0,0,0.01);
  transition: background 0.2s;
}
.brand-grid-item:active {
  background: rgba(0,0,0,0.04);
}
[data-theme="dark"] .brand-grid-item {
  background: rgba(255,255,255,0.02);
}
[data-theme="dark"] .brand-grid-item:active {
  background: rgba(255,255,255,0.06);
}
.brand-grid-item.all-products {
  background: rgba(59, 130, 246, 0.08);
  color: #3b82f6;
  font-weight: 600;
  gap: 6px;
}
.brand-grid-item.all-products i {
  font-size: 1.1rem;
}
@media (min-width: 768px) {
  .mobile-category-menu { display: none; }
  .bottom-nav { display: none; }
}

.hero {
  padding: 0;
  margin-bottom: 2rem;
  position: relative;
  background: var(--bg);
  min-height: unset !important;
}

.hero-slider {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.hero-slide-link {
  display: block;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.hero-slide-image {
  width: 100%;
  height: 100%;
  position: relative;
  background: linear-gradient(105deg, var(--bg) 0%, var(--bg) 25%, rgba(0, 0, 0, 0.02) 50%);
}

.hero-slide-image picture,
.hero-slide-image img {
  width: 100%;
  height: 350px;
  display: block;
}

.hero-slide-image img {
  object-fit: cover;
}

.hero-pagination {
  bottom: 16px !important;
  position: absolute;
  z-index: 10;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.hero-pagination .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background: rgba(255, 255, 255, 0.6);
  opacity: 0.8;
  transition: all 0.25s ease;
  margin: 0;
  border-radius: 50%;
}

.hero-pagination .swiper-pagination-bullet-active {
  width: 24px;
  border-radius: 4px;
  background: var(--primary);
  opacity: 1;
}

.hero-button-prev,
.hero-button-next {
  width: 40px;
  height: 40px;
  background: var(--bg);
  backdrop-filter: blur(8px);
  border-radius: 50%;
  transition: all 0.25s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.hero-button-prev::after,
.hero-button-next::after {
  font-size: 18px;
  font-weight: bold;
  color: var(--text);
}

@media (max-width: 768px) {
  .drawer {
    width: 100%;
  }
  .hero-slide-image picture, .hero-slide-image img {
    height: fit-content !important;
  }
  .swiper-slide {
    padding: 10px;
  }
  .hero-slider {
    border-radius: 8px;
  }

  .hero-slide-image img {
    border-radius: 8px;
    height: 180px !important;
  }

  .hero-button-prev,
  .hero-button-next {
    width: 32px;
    height: 32px;
  }

  .hero-button-prev::after,
  .hero-button-next::after {
    font-size: 14px;
  }

  .hero-pagination {
    bottom: 25px !important;
  }

  .hero-pagination .swiper-pagination-bullet {
    width: 6px;
    height: 6px;
  }

  .hero-pagination .swiper-pagination-bullet-active {
    width: 20px;
  }
}

@media (max-width: 480px) {
  .hero-button-prev,
  .hero-button-next {
    display: none;
  }
}

.widgets {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  direction: rtl;
  padding: 10px 0 40px;
}

.widgets .catg {
  height: 120px;
  background-size: 90px !important;
  background-repeat: no-repeat !important;
  background-position: 15px center !important;
  display: flex;
  align-items: center;
  padding: 10px 20px;
  border-radius: 20px;
  box-shadow: 0 0 40px -10px var(--card-bg);
  position: relative;
  overflow: hidden;
}

.widgets .catg span::after {
  --size: 50px;
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateY(-50%) translateX(-50%) scale(1);
  border-radius: 50rem;
  background: var(--primary);
  width: var(--size);
  height: var(--size);
  opacity: 0;
  z-index: 1;
  transition: transform 0.6s cubic-bezier(1, 1, 1, 1), opaciy linear 0.4s;
}

.widgets .catg:hover span::after {
  transform: translateY(-50%) scale(20);
  opacity: 0.1;
}

.widgets .catg::after {
  content: '';
  position: absolute;
  top: 20px;
  right: 20px;
  width: 10px;
  height: 10px;
  border-left: 2px solid;
  border-bottom: 2px solid;
  border-color: var(--primary);
  border-radius: 0;
}

.widgets .catg::before {
  content: '';
  position: absolute;
  bottom: 10px;
  left: 10px;
  width: 40px;
  height: 40px;
  display: flex;
  transform: rotate(-45deg);
  background-color: var(--primary);
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.2' stroke-linecap='round'%3E%3Cline x1='3' y1='5' x2='21' y2='5'/%3E%3Cline x1='5' y1='9' x2='19' y2='9' stroke-dasharray='4 2'/%3E%3Cline x1='3' y1='13' x2='21' y2='13'/%3E%3Cline x1='7' y1='17' x2='17' y2='17' stroke-dasharray='2 2'/%3E%3Cpath d='M12 9 L12 15' stroke-width='0.8' stroke-dasharray='1 2'/%3E%3C/svg%3E");
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.2' stroke-linecap='round'%3E%3Cline x1='3' y1='5' x2='21' y2='5'/%3E%3Cline x1='5' y1='9' x2='19' y2='9' stroke-dasharray='4 2'/%3E%3Cline x1='3' y1='13' x2='21' y2='13'/%3E%3Cline x1='7' y1='17' x2='17' y2='17' stroke-dasharray='2 2'/%3E%3Cpath d='M12 9 L12 15' stroke-width='0.8' stroke-dasharray='1 2'/%3E%3C/svg%3E");
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
}

.widgets a {
  display: block;
  text-decoration: none;
}

.widgets img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  object-fit: cover;
}

.productSwiper {
  background: var(--primary);
  padding: 10px !important;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
}

.productSwiper_info {
  flex: 0 0 200px;
  width: 200px;
  display: flex;
  justify-content: center;
}

.banner_img {
  width: 180px;
  border-radius: 8px;
}

.swiper-btn {
  background: var(--bg);
  font-size: 15px;
  padding: 5px 20px;
  position: relative;
  overflow: hidden;
  border-radius: 0.75rem;
}

.swiper-btn::after {
  --size: 50px;
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateY(-50%) translateX(-50%) scale(0);
  border-radius: 50rem;
  background: var(--primary);
  width: var(--size);
  height: var(--size);
  opacity: 0;
  z-index: 1;
  transition: transform 0.3s cubic-bezier(0.2, 0, 0.2, 0), opaciy ease 0.4s;
}

.swiper-btn:hover::after {
  transform: translateY(-50%) translateX(-50%) scale(3);
  opacity: 0.1;
}

[data-theme="dark"] .banner_img {
  filter: invert(100%);
}

.swiper-wrapper {
  flex: 1;
  width: 100%;
  align-items: center;
}

.products .swiper-wrapper {
  gap: 5px;
}

.trns {
  background: transparent !important;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 20px;
}

.swiper-slide {
  cursor: pointer;
  margin-left: 0px !important;
  background: var(--bg);
  border-radius: 0;
}

.tripple {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  padding: 10px 0 40px;
}

.tripple_card {
  display: flex;
  justify-content: flex-start;
  flex-direction: column;
  padding: 20px;
  border-radius: 20px;
  box-shadow: 0 0 40px -10px var(--card-bg);
}

.tripple_products {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.section-header h2 {
  font-size: 1.25rem;
  font-weight: 600;
}


@media (max-width: 768px) {
  .widgets,
  .tripple {
    grid-template-columns: repeat(1, 1fr);
  }
  .sidey_contain { flex-direction: column; }
}