:root {
  --cyan: #00ffff;
  --teal: #008080;
  --teal-700: #006b6b;
  --deep: #073f42;
  --ice: #f3f8fa;
  --ice-2: #e8f1f4;
  --white: #fff;
  --ink: #16383d;
  --muted: #5c7378;
  --line: #d8e7ea;
  --shadow: 0 20px 55px rgba(0, 80, 86, .12);
  --shadow-sm: 0 8px 24px rgba(0, 80, 86, .08);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --container: 1240px;
}

.adel-shop * { box-sizing: border-box; }
.adel-shop {
  color: var(--ink);
  background:
    radial-gradient(circle at 85% 2%, rgba(0, 255, 255, .14), transparent 27rem),
    linear-gradient(180deg, #fbfdfd 0, var(--ice) 45rem, #fff 100%);
  font-family: "IRANSansX", "Vazirmatn", Tahoma, sans-serif;
  font-size: 16px;
  line-height: 1.8;
}
.adel-shop button { font: inherit; }
.adel-shop button, .adel-shop a { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.adel-shop a { color: inherit; text-decoration: none; }
.adel-shop img, .adel-shop svg { display: block; }
.adel-shop img { max-width: 100%; }
.adel-shop :focus-visible { outline: 3px solid rgba(0, 128, 128, .36); outline-offset: 3px; }
.adel-container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }

a.adel-shop.skip {
  position: fixed; z-index: 100; top: 12px; inset-inline-start: 16px;
  padding: 9px 15px; border-radius: 10px; color: #fff; background: var(--deep);
  transform: translateY(-150%);
}
a.adel-shop.skip:focus { transform: none; }

.adel-shop .adel-shop-section { padding: 24px 0 85px; }
.adel-shop .adel-result-count { padding-inline: 12px; color: #657b7f; font-size: .78rem; white-space: nowrap; }
.adel-shop .adel-filter-bar {
  position: sticky; top: 12px; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  margin-bottom: 25px; padding: 11px;
  border: 1px solid rgba(0, 128, 128, .15); border-radius: 20px;
  background: rgba(255, 255, 255, .9); box-shadow: var(--shadow-sm);
  backdrop-filter: blur(14px);
}
.adel-shop .adel-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.adel-shop .adel-filter {
  min-height: 46px; padding: 9px 20px;
  display: flex; align-items: center; gap: 8px;
  border: 1px solid transparent; border-radius: 13px;
  color: #516b6f; background: transparent; font-weight: 700; cursor: pointer;
  transition: .2s;
}
.adel-shop .adel-filter:hover { color: var(--teal-700); background: #ecf8f8; }
.adel-shop .adel-filter[aria-pressed="true"] { color: #fff; background: var(--teal); box-shadow: 0 7px 18px rgba(0, 128, 128, .2); }

.adel-shop .adel-products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.adel-shop .adel-product {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  border: 1px solid var(--line); border-radius: 23px; background: #fff;
  box-shadow: 0 9px 28px rgba(0, 74, 78, .07);
  transition: .25s var(--ease);
}
.adel-shop .adel-product:hover { border-color: #a8d7d9; box-shadow: 0 19px 42px rgba(0, 74, 78, .13); transform: translateY(-5px); }
.adel-shop .adel-product[hidden] { display: none; }
.adel-shop .adel-product-media { position: relative; overflow: hidden; aspect-ratio: 1.37; background: var(--ice-2); }
.adel-shop .adel-product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s var(--ease); }
.adel-shop .adel-product:hover .adel-product-media img { transform: scale(1.035); }
.adel-shop .adel-category {
  position: absolute; top: 13px; right: 13px;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 10px; border: 1px solid rgba(255, 255, 255, .65); border-radius: 99px;
  color: var(--deep); background: rgba(255, 255, 255, .92); backdrop-filter: blur(8px);
  font-size: .68rem; font-weight: 800;
}
.adel-shop .adel-product-body { flex: 1; display: flex; flex-direction: column; padding: 19px; }
.adel-shop .adel-product h3 { min-height: 52px; margin: 0 0 8px; color: var(--deep); font-size: 1rem; line-height: 1.65; }
.adel-shop .adel-product-desc {
  display: -webkit-box; overflow: hidden; min-height: 50px; margin: 0 0 17px;
  color: #61777b; font-size: .75rem; line-height: 1.75;
  -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.adel-shop .adel-meta { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 13px; border-top: 1px solid #edf2f3; color: #60777b; font-size: .69rem; }
.adel-shop .adel-product-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; }
.adel-shop .adel-product-price { flex: 1 1 auto; min-width: 0; }
.adel-shop .adel-product-price span { display: block; color: #85979a; font-size: .78rem; }
.adel-shop .adel-product-price strong { display: block; color: var(--deep); font-size: 1.7rem; font-weight: 800; white-space: nowrap; }
/* ووکامرس به‌صورت پیش‌فرض واحد پول را display:block می‌کند که باعث افتادن آن به خط بعد می‌شود */
.adel-shop .adel-product-price .woocommerce-Price-currencySymbol { display: inline; }
.adel-shop .adel-card-actions { flex: 0 0 auto; display: flex; gap: 7px; }
.adel-shop .adel-details {
  width: 42px; height: 42px; flex: 0 0 auto; display: grid; place-items: center;
  border: 1px solid #c5dfe1; border-radius: 12px; color: var(--teal); background: #fff;
  transition: .18s; font-size: 1.1rem;
}
.adel-shop .adel-details:hover { border-color: var(--teal); background: #effafa; }
.adel-shop .adel-cart {
  min-height: 46px; min-width: 100px; padding: 10px 22px;
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  border: 0; border-radius: 12px; color: #fff; background: var(--teal);
  font-size: .85rem; font-weight: 700; cursor: pointer; transition: .18s;
}
.adel-shop .adel-cart:hover { background: var(--teal-700); color: #fff; }

.adel-shop .adel-empty { grid-column: 1 / -1; padding: 45px; border: 1px dashed #b7d5d8; border-radius: 22px; background: #fbfdfd; text-align: center; }
.adel-shop .adel-empty h3 { margin: 0; }
.adel-shop .adel-empty p { margin: 5px 0; color: var(--muted); font-size: .8rem; }

@media (max-width: 1000px) {
  .adel-shop .adel-products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  .adel-container { width: min(calc(100% - 24px), var(--container)); }
  .adel-shop .adel-filter-bar { top: 8px; align-items: stretch; flex-direction: column; }
  .adel-shop .adel-filters { display: grid; grid-template-columns: repeat(3, 1fr); }
  .adel-shop .adel-filter { padding-inline: 8px; justify-content: center; font-size: .77rem; }
  .adel-shop .adel-products { grid-template-columns: 1fr; }
  .adel-shop .adel-product h3 { min-height: auto; }
  .adel-shop .adel-product-media { aspect-ratio: 1.45; }
}

@media (prefers-reduced-motion: reduce) {
  .adel-shop *, .adel-shop *::before, .adel-shop *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
