/*
========================================================
اسم الملف: shop.css
المسار: /assets/css/
الوصف:
هذا الملف يحتوي على أنماط واجهة المتجر وكروت المنتجات.
كل الأنماط هنا scoped لمنع التأثير العالمي على بقية الصفحات.

ملاحظة:
يعتمد على متغيرات CSS القادمة من النظام المركزي.
========================================================
*/

body.woocommerce-shop,
body.post-type-archive-product,
body.tax-product_cat,
body.tax-product_tag {
  background:
    radial-gradient(circle at top left, rgb(10 110 219 / 10%), transparent 28%),
    radial-gradient(
      circle at top right,
      rgb(15 118 110 / 12%),
      transparent 26%
    ),
    linear-gradient(180deg, #f6fbff 0%, #f3fbfa 100%);
}

body.woocommerce-shop .site-content,
body.woocommerce-shop .content-area,
body.woocommerce-shop .site-main,
body.post-type-archive-product .site-content,
body.post-type-archive-product .content-area,
body.post-type-archive-product .site-main,
body.tax-product_cat .site-content,
body.tax-product_cat .content-area,
body.tax-product_cat .site-main,
body.tax-product_tag .site-content,
body.tax-product_tag .content-area,
body.tax-product_tag .site-main {
  overflow: visible;
}

body.woocommerce-shop .woocommerce,
body.post-type-archive-product .woocommerce,
body.tax-product_cat .woocommerce,
body.tax-product_tag .woocommerce {
  position: relative;
  width: min(1240px, calc(100% - 24px));
  margin: 0 auto;
  padding: 24px 0 72px;
}

body.woocommerce-shop .woocommerce::before,
body.post-type-archive-product .woocommerce::before,
body.tax-product_cat .woocommerce::before,
body.tax-product_tag .woocommerce::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 0%, rgb(10 110 219 / 8%), transparent 22%),
    radial-gradient(circle at 86% 8%, rgb(15 118 110 / 7%), transparent 20%);
  z-index: -1;
}

.asc-shop-layout {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

.asc-shop-layout__content {
  width: 100%;
}

.asc-shop-layout.is-loading .asc-shop-layout__content {
  opacity: 0.62;
  pointer-events: none;
}

.asc-shop-toolbar {
  position: relative;
  margin-bottom: clamp(18px, 2.4vw, 34px);
  padding: 18px;
  border: 1px solid rgb(5 67 140 / 12%);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgb(255 255 255 / 94%), rgb(244 249 255 / 96%)),
    radial-gradient(circle at top left, rgb(35 128 47 / 8%), transparent 32%);
  box-shadow:
    0 18px 34px rgb(6 42 56 / 8%),
    inset 0 1px 0 rgb(255 255 255 / 78%);
}

.asc-shop-toolbar__form {
  display: grid;
  grid-template-columns:
    minmax(240px, 1.5fr) minmax(180px, 0.9fr) minmax(220px, 0.9fr)
    auto;
  gap: 12px;
  align-items: center;
}

.asc-shop-toolbar__field {
  position: relative;
}

.asc-shop-toolbar__field--search {
  min-width: 0;
}

.asc-shop-toolbar__input,
.asc-shop-toolbar__select {
  width: 100%;
  min-height: 50px;
  border: 1px solid rgb(5 67 140 / 14%);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--asc-color-text);
  font-size: 15px;
  box-shadow: inset 0 1px 2px rgb(6 42 56 / 4%);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.asc-shop-toolbar__input {
  padding: 0 16px;
}

.asc-shop-toolbar__select {
  padding: 0 16px;
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #05438c 50%),
    linear-gradient(135deg, #05438c 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 21px,
    calc(100% - 12px) 21px;
  background-size: 6px 6px;
  background-repeat: no-repeat;
}

.asc-shop-toolbar__input:focus,
.asc-shop-toolbar__select:focus {
  outline: 0;
  border-color: var(--asc-color-primary);
  box-shadow:
    0 0 0 4px rgb(5 67 140 / 10%),
    inset 0 1px 2px rgb(6 42 56 / 4%);
}

.asc-shop-toolbar__submit {
  min-height: 50px;
  white-space: nowrap;
}

.asc-shop-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  align-items: stretch;
  isolation: isolate;
  min-height: clamp(300px, 36vw, 420px);
  margin-bottom: clamp(16px, 2.2vw, 30px);
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid rgb(5 67 140 / 14%);
  border-radius: 32px;
  background:
    linear-gradient(135deg, rgb(255 255 255 / 94%), rgb(241 247 255 / 94%)),
    radial-gradient(circle at top left, rgb(5 67 140 / 12%), transparent 38%),
    radial-gradient(
      circle at bottom right,
      rgb(35 128 47 / 12%),
      transparent 36%
    );
  box-shadow:
    0 26px 54px rgb(6 42 56 / 12%),
    inset 0 1px 0 rgb(255 255 255 / 82%);
  overflow: hidden;
}

.asc-shop-hero::before,
.asc-shop-hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.asc-shop-hero::before {
  inset: 18px auto auto 18px;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgb(35 128 47 / 12%), transparent 70%);
}

.asc-shop-hero::after {
  inset: auto 18px 18px auto;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgb(5 67 140 / 12%), transparent 72%);
}

.asc-shop-hero__copy {
  position: relative;
  z-index: 2;
  max-width: min(760px, 100%);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 16px;
}

.asc-shop-hero__heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin-bottom: 8px;
}

.asc-shop-hero__brand {
  margin: 0;
  color: var(--asc-color-primary);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.asc-shop-hero__subheading {
  margin: 0;
  color: #496372;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.asc-shop-hero__eyebrow {
  margin: 0;
  color: var(--asc-color-primary);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.asc-shop-hero__title {
  margin: 0;
  color: var(--asc-color-text);
  font-size: clamp(34px, 4.7vw, 64px);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: -0.06em;
}

.asc-shop-hero__title span {
  color: #05438c;
}

.asc-shop-hero__lead {
  margin: 0;
  max-width: 60ch;
  color: #496372;
  font-size: 16px;
  line-height: 1.9;
}

.asc-shop-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 4px;
}

.asc-shop-hero__button {
  min-width: 180px;
}

.asc-shop-hero__note {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.asc-shop-hero__note-pill {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgb(5 67 140 / 12%);
  background: rgb(255 255 255 / 88%);
  color: #355366;
  font-size: 13px;
  font-weight: 700;
}

.asc-shop-hero__floating-art {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.asc-float-shape {
  position: absolute;
  border-radius: 999px;
  filter: blur(0);
  animation: ascFloat 12s ease-in-out infinite;
}

.asc-float-shape--one {
  top: 10%;
  left: 8%;
  width: clamp(100px, 12vw, 170px);
  height: clamp(100px, 12vw, 170px);
  background: radial-gradient(
    circle at 30% 30%,
    rgb(10 110 219 / 30%),
    rgb(10 110 219 / 10%)
  );
}

.asc-float-shape--two {
  top: 16%;
  left: 44%;
  width: clamp(70px, 8vw, 120px);
  height: clamp(70px, 8vw, 120px);
  background: radial-gradient(
    circle at 35% 35%,
    rgb(35 128 47 / 28%),
    rgb(35 128 47 / 10%)
  );
  animation-delay: -2.5s;
}

.asc-float-shape--three {
  bottom: 8%;
  left: 14%;
  width: clamp(120px, 14vw, 210px);
  height: clamp(74px, 9vw, 130px);
  border-radius: 36px;
  background: linear-gradient(
    135deg,
    rgb(5 67 140 / 22%),
    rgb(15 118 110 / 10%)
  );
  animation-delay: -4.2s;
}

.asc-float-shape--four {
  top: 22%;
  right: 12%;
  width: clamp(18px, 2.2vw, 30px);
  height: clamp(18px, 2.2vw, 30px);
  background: rgb(255 255 255 / 90%);
  box-shadow: 0 6px 18px rgb(5 67 140 / 20%);
  animation-delay: -1.4s;
}

.asc-float-shape--five {
  bottom: 16%;
  right: 18%;
  width: clamp(20px, 2.4vw, 34px);
  height: clamp(20px, 2.4vw, 34px);
  background: rgb(255 255 255 / 84%);
  box-shadow: 0 8px 18px rgb(35 128 47 / 18%);
  animation-delay: -6.4s;
}

.asc-float-shape--ring {
  top: 48%;
  right: 6%;
  width: clamp(92px, 11vw, 150px);
  height: clamp(92px, 11vw, 150px);
  border: 2px solid rgb(5 67 140 / 24%);
  background: transparent;
  animation-delay: -3.2s;
}

@keyframes ascFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }

  50% {
    transform: translate3d(-10px, -12px, 0) rotate(3deg);
  }
}

.asc-shop-hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 8px;
}

.asc-shop-hero__stat {
  padding: 14px 16px;
  border: 1px solid rgb(5 67 140 / 10%);
  border-radius: 20px;
  background: rgb(255 255 255 / 84%);
}

.asc-shop-hero__stat strong {
  display: block;
  margin-bottom: 6px;
  color: #23802f;
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
}

.asc-shop-hero__stat span {
  color: #57717d;
  font-size: 13px;
  line-height: 1.6;
}

.asc-shop-hero__visual {
  display: grid;
  gap: 14px;
  align-content: center;
}

.asc-shop-hero__panel {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  padding: 20px;
  box-shadow: 0 18px 32px rgb(6 42 56 / 10%);
}

.asc-shop-hero__panel::after {
  content: "";
  position: absolute;
  inset: auto -24px -24px auto;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: rgb(255 255 255 / 12%);
}

.asc-shop-hero__panel--main {
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
  color: #fff;
  background:
    linear-gradient(145deg, rgb(5 67 140 / 96%), rgb(35 128 47 / 92%)),
    radial-gradient(
      circle at top right,
      rgb(255 255 255 / 18%),
      transparent 36%
    );
}

.asc-shop-hero__panel-label {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 32px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgb(255 255 255 / 14%);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.asc-shop-hero__panel-title {
  font-size: 26px;
  font-weight: 900;
  line-height: 1.1;
}

.asc-shop-hero__panel-text {
  margin: 0;
  max-width: 32ch;
  font-size: 14px;
  line-height: 1.8;
  color: rgb(255 255 255 / 88%);
}

.asc-shop-hero__panel-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.asc-shop-hero__panel--accent {
  color: #fff;
  background: linear-gradient(145deg, #23802f, #2fa043);
}

.asc-shop-hero__panel--outline {
  border: 1px solid rgb(5 67 140 / 16%);
  background:
    linear-gradient(180deg, rgb(255 255 255 / 94%), rgb(238 245 255 / 96%)),
    radial-gradient(circle at top left, rgb(5 67 140 / 10%), transparent 40%);
}

.asc-shop-hero__panel--accent span,
.asc-shop-hero__panel--outline span {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.asc-shop-hero__panel--accent strong,
.asc-shop-hero__panel--outline strong {
  display: block;
  font-size: 17px;
  line-height: 1.55;
  font-weight: 800;
}

.woocommerce .woocommerce-products-header,
.woocommerce-page .woocommerce-products-header {
  position: relative;
  margin: 0 0 18px;
  padding: clamp(18px, 2.6vw, 28px);
  border: 1px solid rgb(15 118 110 / 12%);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgb(255 255 255 / 92%), rgb(247 252 252 / 96%)),
    radial-gradient(circle at top right, rgb(10 110 219 / 9%), transparent 36%);
  box-shadow:
    0 22px 46px rgb(6 42 56 / 10%),
    inset 0 1px 0 rgb(255 255 255 / 70%);
  overflow: hidden;
}

.woocommerce .woocommerce-products-header::after,
.woocommerce-page .woocommerce-products-header::after {
  content: "";
  position: absolute;
  inset: auto -56px -56px auto;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgb(34 197 94 / 10%), transparent 68%);
  pointer-events: none;
}

.woocommerce .woocommerce-products-header__title,
.woocommerce-page .woocommerce-products-header__title,
.woocommerce .page-title,
.woocommerce-page .page-title {
  margin: 0 0 8px;
  color: var(--asc-color-text);
  font-size: clamp(28px, 3.2vw, 46px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.05em;
}

.woocommerce .woocommerce-products-header__description,
.woocommerce-page .woocommerce-products-header__description,
.woocommerce .woocommerce-products-header p,
.woocommerce-page .woocommerce-products-header p {
  margin: 0;
  max-width: 62ch;
  color: #4b6572;
  font-size: 15px;
  line-height: 1.75;
}

.woocommerce .woocommerce-breadcrumb,
.woocommerce-page .woocommerce-breadcrumb {
  margin: 0 0 14px;
  color: #607986;
  font-size: 13px;
}

.woocommerce .woocommerce-breadcrumb a,
.woocommerce-page .woocommerce-breadcrumb a {
  color: var(--asc-color-primary);
  text-decoration: none;
}

.woocommerce .woocommerce-result-count,
.woocommerce-page .woocommerce-result-count {
  margin: 0;
  color: #58707d;
  font-size: 14px;
  font-weight: 600;
}

.woocommerce .woocommerce-ordering,
.woocommerce-page .woocommerce-ordering {
  margin: 0;
}

.woocommerce .woocommerce-ordering select,
.woocommerce-page .woocommerce-ordering select {
  min-height: 46px;
  padding: 10px 14px;
  border: 1px solid rgb(15 118 110 / 14%);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--asc-color-text);
  box-shadow: inset 0 1px 2px rgb(6 42 56 / 4%);
}

.woocommerce .woocommerce-ordering select:focus,
.woocommerce-page .woocommerce-ordering select:focus {
  outline: 0;
  border-color: var(--asc-color-primary);
  box-shadow:
    0 0 0 4px rgb(15 118 110 / 10%),
    inset 0 1px 2px rgb(6 42 56 / 4%);
}

.woocommerce .asc-shop-layout .products,
.woocommerce-page .asc-shop-layout .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  align-items: stretch;
  gap: 24px;
  margin: 0;
  padding: 0;
}

.woocommerce .asc-shop-layout .products li.product,
.woocommerce-page .asc-shop-layout .products li.product {
  width: auto;
  margin: 0;
  list-style: none;
  display: flex;
  height: 100%;
}

.asc-product-card {
  position: relative;
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.95),
      rgba(244, 250, 250, 0.95)
    ),
    var(--asc-color-secondary);
  border: 1px solid rgb(15 118 110 / 12%);
  border-radius: 28px;
  overflow: hidden;
  height: 100%;
  min-height: 430px;
  width: 100%;
  display: flex;
  flex-direction: column;
  box-shadow:
    0 16px 32px rgb(6 42 56 / 7%),
    inset 0 1px 0 rgb(255 255 255 / 72%);
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease;
}

.asc-product-card:hover {
  transform: translateY(-4px);
  border-color: rgb(15 118 110 / 24%);
  box-shadow:
    0 24px 44px rgb(6 42 56 / 12%),
    inset 0 1px 0 rgb(255 255 255 / 75%);
}

.asc-product-card__image-link {
  position: relative;
  display: block;
  background:
    radial-gradient(circle at top left, rgb(10 110 219 / 12%), transparent 42%),
    var(--asc-color-bg);
  aspect-ratio: 1 / 1;
  flex: 0 0 auto;
  overflow: hidden;
}

.asc-product-card__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.asc-product-card:hover .asc-product-card__image {
  transform: scale(1.03);
}

.asc-product-card__body {
  padding: clamp(18px, 2.2vw, 24px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  flex: 1 1 auto;
}

.asc-product-card__title {
  margin: 0;
  font-size: 17px;
  line-height: 1.45;
  font-weight: 800;
  height: 52px;
  overflow: hidden;
}

.asc-product-card__title-link {
  color: var(--asc-color-text);
  text-decoration: none;
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.asc-product-card__title-link:hover {
  color: var(--asc-color-primary);
}

.asc-product-card__price {
  color: var(--asc-color-accent);
  font-weight: 800;
  font-size: 16px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.asc-product-card__description {
  margin: 0;
  width: 100%;
  color: #4f6777;
  font-size: 14px;
  line-height: 1.6;
  min-height: 67px;
  display: -webkit-box;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.asc-product-card__price .amount {
  color: inherit;
}

.asc-product-card__price del,
.asc-product-card__price ins,
.asc-product-card__price bdi {
  line-height: 1;
  white-space: nowrap;
}

.asc-product-card__price del {
  margin-left: 6px;
}

.asc-product-card__actions {
  margin-top: auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.asc-product-card__cta {
  margin-top: auto;
  display: flex;
  justify-content: center;
}

.asc-product-card__cta .asc-button {
  width: 100%;
  min-height: 48px;
  border: 0;
  cursor: pointer;
  box-shadow: 0 10px 20px rgb(10 110 219 / 18%);
}

.asc-product-card__details {
  width: 100%;
  display: flex;
  justify-content: center;
}

.asc-product-card__details .asc-button {
  width: 100%;
  min-height: 48px;
}

.asc-product-card__cta .asc-button.is-processing {
  position: relative;
  pointer-events: none;
  opacity: 0.92;
}

.asc-product-card__cta .asc-button.is-processing .asc-button__spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgb(255 255 255 / 45%);
  border-top-color: #fff;
  border-radius: 50%;
  animation: ascSpin 0.7s linear infinite;
}

.asc-product-card__cta .asc-button.is-processing .asc-button__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

@keyframes ascSpin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.onsale {
  position: absolute;
  top: 15px;
  inset-inline-start: 15px;
  z-index: 100;
  width: 60px;
  height: 60px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  margin: 0 !important;
  padding: 0 !important;
  border: 2px solid #fff;
  border-radius: 50% !important;
  background: #ff3b30 !important;
  color: #fff !important;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  transform: rotate(-10deg);
}

.asc-product-card:hover .onsale {
  transform: scale(1.1) rotate(0deg);
}

/* Hide default WooCommerce sale badge if it still appears - ADJUSTED to allow .onsale */
.woocommerce ul.products li.product .onsale:not(.onsale),
.woocommerce-page ul.products li.product .onsale:not(.onsale),
.asc-product-card__badge--sale,
.asc-onsale {
  display: none !important;
}

.asc-product-card__hover-overlay {
  position: absolute;
  inset: 0;
  background: rgba(5, 67, 140, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(4px);
  z-index: 5;
}

.asc-product-card:hover .asc-product-card__hover-overlay {
  opacity: 1;
}

.asc-product-card__hover-text {
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  background: #05438c;
  padding: 10px 20px;
  border-radius: 999px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  transform: translateY(10px);
  transition: transform 0.3s ease;
}

.asc-product-card:hover .asc-product-card__hover-text {
  transform: translateY(0);
}

.woocommerce .woocommerce-pagination,
.woocommerce-page .woocommerce-pagination {
  margin-top: 28px;
}

.asc-shop-empty-state {
  position: relative;
  margin: 14px 0 20px;
  padding: 14px 16px 14px 16px;
  padding-right: 48px;
  border: 1px solid rgb(5 67 140 / 18%);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgb(5 67 140 / 9%), rgb(15 118 110 / 10%)),
    linear-gradient(180deg, rgb(255 255 255 / 94%), rgb(244 249 255 / 94%));
  color: #16323a;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
  box-shadow:
    0 12px 24px rgb(6 42 56 / 8%),
    inset 0 1px 0 rgb(255 255 255 / 72%);
}

.asc-shop-empty-state::before {
  position: absolute;
  right: 16px;
  left: auto;
  top: 50%;
  transform: translateY(-50%);
  margin: 0;
  color: #05438c;
}

.woocommerce .woocommerce-pagination ul,
.woocommerce-page .woocommerce-pagination ul {
  border: 0;
}

.woocommerce .woocommerce-pagination ul li,
.woocommerce-page .woocommerce-pagination ul li {
  border: 0;
  margin: 0 4px;
}

.woocommerce .woocommerce-pagination ul li a,
.woocommerce .woocommerce-pagination ul li span,
.woocommerce-page .woocommerce-pagination ul li a,
.woocommerce-page .woocommerce-pagination ul li span {
  min-width: 42px;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid rgb(15 118 110 / 12%);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--asc-color-text);
  font-weight: 700;
  line-height: 40px;
  box-shadow: 0 10px 20px rgb(6 42 56 / 5%);
}

.woocommerce .woocommerce-pagination ul li a:hover,
.woocommerce-page .woocommerce-pagination ul li a:hover,
.woocommerce .woocommerce-pagination ul li span.current,
.woocommerce-page .woocommerce-pagination ul li span.current {
  border-color: var(--asc-color-primary);
  background: var(--asc-color-primary);
  color: #fff;
}

.asc-shop-toast {
  position: fixed;
  left: 50%;
  top: 112px;
  bottom: auto;
  z-index: 9999;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: min(92vw, 460px);
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgb(23 119 56 / 22%);
  background: linear-gradient(135deg, #177738, #064588);
  color: #fff;
  box-shadow: 0 18px 32px rgb(6 69 136 / 30%);
  opacity: 0;
  transform: translate(-50%, -10px);
  transition:
    opacity 0.22s ease,
    transform 0.22s ease;
}

.asc-shop-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.asc-shop-toast__text {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
}

.asc-shop-toast__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgb(255 255 255 / 16%);
  border: 1px solid rgb(255 255 255 / 30%);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.asc-shop-toast__link:hover {
  background: rgb(255 255 255 / 24%);
}

@media (max-width: 1200px) {
  .woocommerce .asc-shop-layout .products,
  .woocommerce-page .asc-shop-layout .products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }
}

@media (max-width: 920px) {
  .asc-product-card__actions {
    justify-items: center;
  }

  .asc-product-card__cta,
  .asc-product-card__details {
    width: 100%;
  }

  .asc-product-card__cta .asc-button,
  .asc-product-card__details .asc-button {
    width: 100%;
    padding: 10px 18px;
    font-size: 14px;
    min-height: 46px;
  }

  .asc-shop-toolbar__form {
    grid-template-columns: 1fr 1fr;
  }

  .asc-shop-toolbar__field--search {
    grid-column: 1 / -1;
  }

  .asc-shop-toolbar__submit {
    grid-column: 1 / -1;
    width: 100%;
  }

  .asc-shop-hero {
    grid-template-columns: 1fr;
    gap: 20px;
    border-radius: 26px;
  }

  .asc-shop-hero__floating-art {
    opacity: 0.84;
  }

  .asc-float-shape--one {
    left: 4%;
    top: 8%;
  }

  .asc-float-shape--two {
    left: 54%;
    top: 12%;
  }

  .asc-float-shape--three {
    left: 8%;
    bottom: 8%;
  }

  .asc-float-shape--ring {
    right: 4%;
    top: 44%;
  }

  .asc-shop-hero__stats {
    grid-template-columns: 1fr;
  }

  .asc-shop-hero__panel--main {
    min-height: 220px;
  }

  .woocommerce .woocommerce-products-header,
  .woocommerce-page .woocommerce-products-header {
    padding: 18px;
    border-radius: 24px;
  }

  .woocommerce .asc-shop-layout .products,
  .woocommerce-page .asc-shop-layout .products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
}

@media (max-width: 560px) {
  body.woocommerce-shop .woocommerce,
  body.post-type-archive-product .woocommerce,
  body.tax-product_cat .woocommerce,
  body.tax-product_tag .woocommerce {
    width: min(100% - 16px, 1240px);
    padding-top: 16px;
    padding-bottom: 56px;
  }

  .woocommerce .woocommerce-products-header,
  .woocommerce-page .woocommerce-products-header {
    margin-bottom: 14px;
    border-radius: 20px;
  }

  .asc-shop-toolbar {
    margin-bottom: 16px;
    padding: 14px;
    border-radius: 22px;
  }

  .asc-shop-toolbar__form {
    grid-template-columns: 1fr;
  }

  .asc-shop-layout {
    gap: 18px;
  }

  .asc-shop-hero {
    padding: 20px;
    border-radius: 22px;
    min-height: 260px;
  }

  .asc-shop-hero__floating-art {
    opacity: 0.52;
  }

  .asc-float-shape--one {
    left: 6%;
    top: 10%;
  }

  .asc-float-shape--three {
    left: 10%;
    bottom: 10%;
  }

  .asc-float-shape--ring {
    right: 6%;
    top: 52%;
  }

  .asc-shop-hero__title {
    font-size: clamp(30px, 10vw, 42px);
  }

  .asc-shop-hero__lead {
    font-size: 15px;
  }

  .asc-shop-hero__panel-grid {
    grid-template-columns: 1fr;
  }

  .woocommerce .woocommerce-products-header__title,
  .woocommerce-page .woocommerce-products-header__title,
  .woocommerce .page-title,
  .woocommerce-page .page-title {
    font-size: clamp(24px, 8vw, 34px);
  }

  .woocommerce .asc-shop-layout .products,
  .woocommerce-page .asc-shop-layout .products {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }

  .asc-product-card {
    border-radius: 22px;
  }

  .asc-product-card__body {
    padding: 16px;
  }

  .asc-shop-toast {
    left: 50%;
    right: auto;
    top: 88px;
    bottom: auto;
    max-width: none;
    width: calc(100vw - 24px);
    justify-content: space-between;
  }
}
