/* =====================================
   ROOT DESIGN TOKENS (Provid Theme)
   ===================================== */

:root {
  /* Buttons / brand */
  --prov-brand: #e11d48;
  --prov-brand-2: #fb7185;
  --prov-brand-3: #ff316a;

  /* Cards */
  --prov-radius-lg: 22px;
  --prov-radius-md: 18px;
  --prov-radius-pill: 999px;
  --prov-bg-card: rgba(255, 255, 255, 0.92);
  --prov-bg-card-hover: rgba(255, 255, 255, 0.98);
  --prov-border-soft: rgba(255, 255, 255, 0.9);
  --prov-shadow-soft: 0 16px 45px rgba(15, 23, 42, 0.12);
  --prov-shadow-strong: 0 22px 60px rgba(15, 23, 42, 0.20);

  /* Text */
  --prov-text-main: #111827;
  --prov-text-muted: #6b7280;

  /* Floating cart */
  --pfc-bg: rgba(255, 255, 255, 0.96);
  --pfc-line: rgba(15, 23, 42, 0.10);
  --pfc-text: rgba(11, 18, 32, 0.92);
  --pfc-muted: rgba(11, 18, 32, 0.62);
  --pfc-shadow: 0 18px 60px rgba(2, 6, 23, 0.18);
  --pfc-brand: #e11d48;
  --pfc-brand2: #fb7185;
}

/* در صورت نیاز می‌تونی برای سکشن شاپ مقادیر رو override کنی */
#provid-shop-archive {
  --prov-bg-card: rgba(255, 255, 255, 0.92);
  --prov-bg-card-hover: rgba(255, 255, 255, 0.98);
  --prov-border-soft: rgba(255, 255, 255, 0.9);
  --prov-shadow-soft: 0 16px 45px rgba(15, 23, 42, 0.12);
  --prov-shadow-strong: 0 22px 60px rgba(15, 23, 42, 0.20);
  --prov-accent: #ff285c;
  --prov-accent-soft: #ffe3ef;
  --prov-accent-2: #ff8a4a;
  --prov-text-main: #111827;
  --prov-text-muted: #6b7280;
}

/* کاهش موشن برای کاربرانی که ترجیح می‌دهند */
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* =====================================
   GLOBAL ADD TO CART BUTTONS
   ===================================== */

/* جدید – با specificity درست */
.single_add_to_cart_button, .woocommerce ul.products li.product .button, .woocommerce a.button.add_to_cart_button, .add_to_cart_button, .provid-atc-btn {
    background-image: linear-gradient(180deg, #fb2b63, #e11d48);
    color: #fff;
    border: none;
    border-radius: 999px;
    padding: 0.7rem 2.4rem;
    font-family: "Dana DemiBold", system-ui, -apple-system, blinkmacsystemfont, "Segoe UI", sans-serif;
    font-size: 14px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 12px 28px rgba(225, 29, 72, 0.35);
    cursor: pointer;
    transition: transform 0.16s ease, box-shadow 0.16s ease, opacity 0.16s ease;
    WIDTH: 64px;
    height: 64px;
    border-radius: 5px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    border-bottom-left-radius: 5px;
    margin: auto;
}
.provid-product-card__atc-icon .provid-cart-svg {
    width: 46px !important;
    height: 46px !important;
    display: block;
    color: #ffffff;
}
/* حالت hover */
:where(
  .single_add_to_cart_button,
  .woocommerce ul.products li.product .button,
  .woocommerce a.button.add_to_cart_button,
  .add_to_cart_button,
  .provid-atc-btn
):hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(225, 29, 72, 0.45);
  opacity: 0.98;
  filter: brightness(1.05);
}

/* حالت active */
:where(
  .single_add_to_cart_button,
  .woocommerce ul.products li.product .button,
  .woocommerce a.button.add_to_cart_button,
  .add_to_cart_button,
  .provid-atc-btn
):active {
  transform: translateY(0);
  box-shadow: 0 8px 18px rgba(225, 29, 72, 0.32);
  filter: brightness(0.98);
}

/* حالت فوکوس برای دسترسی بهتر */
:where(
  .single_add_to_cart_button,
  .woocommerce ul.products li.product .button,
  .woocommerce a.button.add_to_cart_button,
  .add_to_cart_button,
  .provid-atc-btn
):focus-visible {
  outline: 0;
  box-shadow:
    0 0 0 3px rgba(255, 255, 255, 0.9),
    0 0 0 6px rgba(225, 29, 72, 0.6),
    0 12px 28px rgba(225, 29, 72, 0.35);
}

/* حالت alt و دیگر کلاس‌ها که ووکامرس می‌دهد */
:where(
  .single_add_to_cart_button,
  .woocommerce ul.products li.product .button,
  .woocommerce a.button.add_to_cart_button,
  .add_to_cart_button,
  .provid-atc-btn
).button,
:where(
  .single_add_to_cart_button,
  .woocommerce ul.products li.product .button,
  .woocommerce a.button.add_to_cart_button,
  .add_to_cart_button,
  .provid-atc-btn
).button.alt {
  background: none;
  background-image: linear-gradient(180deg, #fb2b63, #e11d48);
  border: none;
  box-shadow: 0 12px 28px rgba(225, 29, 72, 0.35);
}

/* حالت disabled */
:where(
  .single_add_to_cart_button,
  .woocommerce ul.products li.product .button,
  .woocommerce a.button.add_to_cart_button,
  .add_to_cart_button,
  .provid-atc-btn
)[disabled],
:where(
  .single_add_to_cart_button,
  .woocommerce ul.products li.product .button,
  .woocommerce a.button.add_to_cart_button,
  .add_to_cart_button,
  .provid-atc-btn
).disabled {
  opacity: 0.6;
  cursor: not-allowed;
  box-shadow: none;
}

/* حالت لودینگ روی همه دکمه‌ها (spinner کوچک) */
:where(
  .single_add_to_cart_button,
  .woocommerce ul.products li.product .button,
  .woocommerce a.button.add_to_cart_button,
  .add_to_cart_button,
  .provid-atc-btn
).is-loading {
  position: relative;
  pointer-events: none;
  opacity: 0.85;
}

:where(
  .single_add_to_cart_button,
  .woocommerce ul.products li.product .button,
  .woocommerce a.button.add_to_cart_button,
  .add_to_cart_button,
  .provid-atc-btn
).is-loading::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-left: 8px;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-top-color: #fff;
  animation: provid-spin 0.7s linear infinite;
}

html[dir="rtl"]
:where(
  .single_add_to_cart_button,
  .woocommerce ul.products li.product .button,
  .woocommerce a.button.add_to_cart_button,
  .add_to_cart_button,
  .provid-atc-btn
).is-loading::before {
  margin-left: 0;
  margin-right: 8px;
}

@keyframes provid-spin {
  to {
    transform: rotate(360deg);
  }
}

/* =====================================
   FLOATING CART – TOASTS
   ===================================== */

.pfc__toasts {
  position: fixed;
  z-index: 9999;
  bottom: 96px;
  inset-inline-end: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}

.pfc-toast {
  min-width: 220px;
  max-width: 280px;
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 13px;
  line-height: 1.5;
  background: rgba(15, 23, 42, 0.96);
  color: #f9fafb;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.35);
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 0.18s ease-out,
    transform 0.18s ease-out;
  pointer-events: auto;
  direction: rtl;
  text-align: right;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pfc-toast--visible {
  opacity: 1;
  transform: translateY(0);
}

.pfc-toast--success {
  background: linear-gradient(135deg, #22c55e, #16a34a);
}

.pfc-toast--error {
  background: linear-gradient(135deg, #ef4444, #b91c1c);
}

.pfc-toast--info {
  background: linear-gradient(135deg, #0ea5e9, #0369a1);
}

.pfc-toast__icon {
  flex: 0 0 auto;
  font-size: 16px;
}

.pfc-toast__text {
  flex: 1;
}

/* موبایل */
@media (max-width: 768px) {
  .pfc__toasts {
    bottom: 88px;
    inset-inline-end: 16px;
    inset-inline-start: 16px;
    align-items: flex-end;
  }

  .pfc-toast {
    max-width: 100%;
  }
}

/* =====================================
   FLOATING CART – DRAWER & ITEMS
   ===================================== */

#provid-fc-root {
  direction: rtl;
  text-align: right;
}

.pfc {
  position: fixed;
  inset: auto 16px 16px auto;
  z-index: 999999;
  font-family: inherit;
}

html.rtl .pfc,
body.rtl .pfc {
  inset: auto auto 16px 16px;
}

/* FAB */
.pfc__fab {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  box-shadow: var(--pfc-shadow);
  color: var(--pfc-text);
  transition:
    transform 0.16s ease,
    box-shadow 0.16s ease,
    background 0.16s ease;
}

.pfc__fab:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 22px 60px rgba(2, 6, 23, 0.24);
}

.pfc__fab:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 3px rgba(255, 255, 255, 0.9),
    0 0 0 6px rgba(225, 29, 72, 0.5),
    var(--pfc-shadow);
}

.pfc__fabIcon {
  font-size: 18px;
  line-height: 1;
}

.pfc__fabLabel {
  font-weight: 950;
  font-size: 13px;
  line-height: 1;
}

.pfc__badge {
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 950;
  background: linear-gradient(135deg, var(--pfc-brand), var(--pfc-brand2));
  color: #fff;
}

/* Backdrop */
.pfc__backdrop {
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 23, 0.45);
  backdrop-filter: blur(2px);
  z-index: 999998;
}

/* Drawer */
.pfc__drawer {
  position: fixed;
  top: 0;
  bottom: 0;
  right: 0;
  width: min(420px, 92vw);
  background: var(--pfc-bg);
  backdrop-filter: blur(16px);
  box-shadow: -24px 0 80px rgba(2, 6, 23, 0.22);
  transform: translateX(110%);
  transition: transform 0.25s ease;
  z-index: 999999;
  display: flex;
  flex-direction: column;
}

html.rtl .pfc__drawer,
body.rtl .pfc__drawer {
  left: 0;
  right: auto;
  transform: translateX(-110%);
  box-shadow: 24px 0 80px rgba(2, 6, 23, 0.22);
}

.pfc__drawer.pfc__drawer--open {
  transform: translateX(0);
}

html.rtl .pfc__drawer.pfc__drawer--open,
body.rtl .pfc__drawer.pfc__drawer--open {
  transform: translateX(0) !important;
}

/* Drawer header */
.pfc__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 14px;
  border-bottom: 1px solid var(--pfc-line);
}

.pfc__title {
  font-size: 14px;
  font-weight: 1000;
  color: var(--pfc-text);
}

.pfc__close {
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
  padding: 8px;
  border-radius: 12px;
  color: rgba(11, 18, 32, 0.72);
  transition: background 0.16s ease, transform 0.12s ease;
}

.pfc__close:hover {
  background: rgba(15, 23, 42, 0.06);
  transform: scale(1.02);
}

/* Drawer body */
.pfc__body {
  padding: 12px 12px;
  overflow: auto;
  flex: 1;
}

/* Drawer footer */
.pfc__foot {
  padding: 12px 12px;
  border-top: 1px solid var(--pfc-line);
  background: rgba(255, 255, 255, 0.88);
}

.pfc__subtotal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: rgba(11, 18, 32, 0.70);
  margin-bottom: 12px;
}

.pfc__subtotal strong {
  color: var(--pfc-text);
  font-weight: 1000;
}

.pfc__actions {
  display: flex;
  gap: 10px;
}

.pfc__btn {
  flex: 1;
  text-align: center;
  text-decoration: none;
  border-radius: 14px;
  padding: 12px 12px;
  font-weight: 950;
  font-size: 13px;
  border: 0;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.pfc__btn--ghost {
  background: rgba(15, 23, 42, 0.06);
  color: var(--pfc-text);
}

.pfc__btn--solid {
  background: linear-gradient(135deg, var(--pfc-brand), var(--pfc-brand2));
  color: #fff;
  box-shadow: 0 14px 35px rgba(225, 29, 72, 0.36);
}

.pfc__btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.04);
}

.pfc__btn:active {
  transform: translateY(0);
  box-shadow: none;
}

/* Loading state */
.pfc__loading {
  padding: 14px;
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.06);
  color: var(--pfc-muted);
  font-weight: 900;
  font-size: 13px;
}

/* Cart items list */
.pfc-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pfc-item {
  display: flex;
  gap: 12px;
  align-items: stretch;
  padding: 12px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--pfc-line);
}

.pfc-item__media {
  width: 78px;
  min-width: 78px;
  height: 78px;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(15, 23, 42, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.pfc-item__img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  display: block;
}

.pfc-item__main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pfc-item__top {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  justify-content: space-between;
}

.pfc-item__title {
  font-weight: 1000;
  font-size: 13px;
  line-height: 1.35;
  color: var(--pfc-text);
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pfc-item__remove {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: rgba(225, 29, 72, 0.10);
  color: var(--pfc-brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 22px;
  font-weight: 1000;
  flex: 0 0 auto;
  transition: background 0.16s ease, transform 0.12s ease;
}

.pfc-item__remove:hover {
  background: rgba(225, 29, 72, 0.16);
  transform: scale(1.03);
}

.pfc-item__meta {
  font-size: 12px;
  color: var(--pfc-muted);
}

.pfc-item__meta dl {
  margin: 0;
}

.pfc-item__meta dd,
.pfc-item__meta dt {
  margin: 0;
}

.pfc-item__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.pfc-item__qty {
  font-size: 12px;
  font-weight: 950;
  color: rgba(11, 18, 32, 0.62);
}

.pfc-item__price {
  font-size: 13px;
  font-weight: 1000;
  color: var(--pfc-text);
}

/* Empty state */
.pfc-empty {
  padding: 18px;
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.06);
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  text-align: center;
}

.pfc-empty__icon {
  font-size: 26px;
}

.pfc-empty__title {
  font-weight: 1000;
  color: var(--pfc-text);
}

.pfc-empty__text {
  font-size: 13px;
  color: var(--pfc-muted);
}

.pfc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 14px;
  padding: 12px 14px;
  font-weight: 950;
  font-size: 13px;
  width: 100%;
  border: 0;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.pfc-btn--solid {
  background: linear-gradient(135deg, var(--pfc-brand), var(--pfc-brand2));
  color: #fff;
}

.pfc-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.04);
}

.pfc-btn:active {
  transform: translateY(0);
  box-shadow: none;
}

/* Mobile tweaks */
@media (max-width: 480px) {
  .pfc {
    inset: auto 12px 12px auto;
  }

  html.rtl .pfc,
  body.rtl .pfc {
    inset: auto auto 12px 12px;
  }

  .pfc__head,
  .pfc__body,
  .pfc__foot {
    padding-left: 12px;
    padding-right: 12px;
  }

  .pfc-item__media {
    width: 70px;
    min-width: 70px;
    height: 70px;
  }
}

html.pfc-open,
html.pfc-open body {
  overflow: hidden;
}

/* ==============================
   PROVID – PRODUCT GRID
   ============================== */

#provid-shop-archive .products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.8rem;
  padding: 0.5rem 0;
}

/* ==============================
   CARD WRAPPER
   ============================== */

.provid-product-card {
  list-style: none;
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.18);  /* slate-300 */
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.12);
  transform-origin: center;
  transition:
    transform 0.18s ease-out,
    box-shadow 0.18s ease-out,
    border-color 0.18s ease-out,
    background 0.18s ease-out;
}

/* hover card */
.provid-product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 60px rgba(15, 23, 42, 0.20);
  border-color: rgba(248, 113, 165, 0.65); /* accent */
}

/* ==============================
   THUMBNAIL
   ============================== */

.provid-product-card__thumb {
  position: relative;
  display: block;
  padding: 10px 10px 0;
}

.provid-product-card__thumb img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  display: block;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #f9fafb;
  transition:
    transform 0.22s ease-out,
    box-shadow 0.22s ease-out,
    filter 0.22s ease-out;
}
#provid-shop-archive ul.products li.product .button {
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 999px;
    font-size: 59px;
    padding: 0px;
    background: linear-gradient(135deg, var(--ps-brand), var(--ps-brand-soft));
    color: #f9fafb;
    border: none;
    box-shadow: 0 14px 30px rgba(225, 29, 72, .45);
    transition: transform .12s ease, box-shadow .16s ease, filter .12s ease;
    width: 64px;
    height: 64px;
    border-radius: 5px;
}
/* hover effect on image */
.provid-product-card:hover .provid-product-card__thumb img {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.20);
  filter: saturate(1.05);
}

/* sale badge */
.provid-product-card .onsale {
  position: absolute;
  top: 16px;
  inset-inline-start: 18px;
  z-index: 2;
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 700;
  background: rgba(15, 23, 42, 0.92);
  color: #f9fafb;
}

/* ==============================
   BODY
   ============================== */

.provid-product-card__body {
  flex: 1;
  padding: 12px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: right;
}

/* عنوان – دو خط حداکثر */
.provid-product-card__title {
  margin: 2px 0 0;
  font-size: 15px;
  line-height: 1.6;
  font-weight: 900;
  color: #0f172a;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.provid-product-card__title a {
  text-decoration: none;
  color: inherit;
}

.provid-product-card__title a:hover {
  color: #e11d48;
}

/* توضیح – حداکثر دو خط */
.provid-product-card__excerpt {
  font-size: 12px;
  line-height: 1.7;
  color: #6b7280;
  min-height: 2.9em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ==============================
   META ROW: PRICE + CTA
   ============================== */

.provid-product-card__meta {
  margin-top: auto;             /* این باعث می‌شه ردیف قیمت همیشه بچسبه پایین کارت */
  padding-top: 10px;
  border-top: 1px solid rgba(226, 232, 240, 0.9);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

/* سمت راست: قیمت + بدج‌ها */
.provid-product-card__price-wrap {
    display: flex;
    flex-direction: column;
    /* align-items: flex-end; */
    gap: 4px;
    text-align: center;
}
/* قیمت خیلی واضح */
.provid-product-card__price .price {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  margin: 0;
  padding: 5px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, #fef2f2, #fee2e2);
  border: 1px solid rgba(248, 113, 113, 0.5);
  box-shadow: 0 10px 25px rgba(248, 113, 113, 0.35);
  font-size: 14px;
  font-weight: 900;
  color: #b91c1c;
  white-space: nowrap;
}

.provid-product-card__price .price .woocommerce-Price-amount {
  font-size: 14px;
  font-weight: 900;
}

.provid-product-card__price .price del {
  font-size: 11px;
  opacity: 0.7;
}

/* زیر قیمت: توضیح کوتاه ثابت */
.provid-product-card__badges {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  font-size: 10px;
  color: #6b7280;
}

.provid-product-card__badges span {
  padding: 2px 8px;
  border-radius: 999px;
  background: #f9fafb;
  border: 1px solid rgba(226, 232, 240, 0.9);
}

/* سمت چپ: دکمه گرد */
.provid-product-card__atc {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
}

/* ==============================
   CTA BUTTON (ICON ONLY)
   ============================== */

.provid-product-card .provid-product-card__atc-btn {
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  background: linear-gradient(135deg, #fb2b63, #e11d48);
  box-shadow: 0 16px 36px rgba(225, 29, 72, 0.50);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #ffffff;
  font-size: 0;
  transition:
    transform 0.14s ease-out,
    box-shadow 0.14s ease-out,
    filter 0.14s ease-out,
    opacity 0.14s ease-out;
}

.provid-product-card__atc-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.provid-product-card__atc-icon .provid-cart-svg {
  width: 46px;
  height: 46px;
  display: block;
  color: #ffffff;
}

/* hover / active / focus */
.provid-product-card .provid-product-card__atc-btn:hover {
  transform: translateY(-1px) scale(1.04);
  box-shadow: 0 20px 44px rgba(225, 29, 72, 0.60);
  filter: brightness(1.08);
}

.provid-product-card .provid-product-card__atc-btn:active {
  transform: translateY(0);
  box-shadow: 0 10px 26px rgba(225, 29, 72, 0.45);
}

.provid-product-card .provid-product-card__atc-btn:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 3px rgba(255, 255, 255, 0.98),
    0 0 0 6px rgba(225, 29, 72, 0.75);
}

/* loading state */
.provid-product-card .provid-product-card__atc-btn.is-loading {
  opacity: 0.6;
  pointer-events: none;
}

/* ==============================
   RESPONSIVE
   ============================== */

@media (max-width: 768px) {
  #provid-shop-archive .products {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.4rem;
  }

  .provid-product-card {
    border-radius: 16px;
  }

  .provid-product-card__body {
    padding: 10px 12px 12px;
  }

  .provid-product-card__title {
    font-size: 14px;
  }

  .provid-product-card__excerpt {
    font-size: 11px;
  }

  .provid-product-card__price .price {
    font-size: 13px;
    padding-inline: 10px;
  }

  .provid-product-card .provid-product-card__atc-btn {
    width: 36px;
    height: 36px;
  }
}
.provid-product-card__title {
    margin: 2px 0 0;
    font-size: 15px;
    line-height: 19px;
    font-weight: 900;
    color: #0f172a;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-weight: 600 !important;
}
.provid-cart {
  --pc-max-width: min(1240px, calc(100% - 32px));
  --pc-gap: 20px;
  direction: rtl;
  text-align: right;
  background: var(--pp-bg, #fbf5f7);
  padding-block: 24px 64px;
}
.provid-cart__head {
  width: 100%;
  margin-bottom: 20px;
}
.provid-cart__head-inner {
  width: var(--pc-max-width);
  margin-inline: auto;
  background: linear-gradient(135deg, rgba(251,245,247,0.7), #ffffff);
  border-radius: var(--pp-r2, 24px);
  border: 1px solid var(--pp-line, rgba(15,23,42,0.1));
  box-shadow: var(--pp-shadow-soft, 0 12px 26px rgba(2,6,23,0.06));
  padding: 22px 18px 20px;
}
.provid-cart__title {
  font-size: clamp(22px, 4vw, 28px);
  margin: 0 0 6px;
  color: var(--pp-text, #0b1220);
  font-weight: 700;
}
.provid-cart__subtitle {
  margin: 0;
  font-size: 13px;
  color: var(--pp-muted, rgba(11,18,32,0.72));
  max-width: 40rem;
}
.provid-cart .woocommerce-cart-form {
  width: var(--pc-max-width);
  margin-inline: auto;
}
.provid-cart__layout {
  display: grid;
  grid-template-columns: minmax(0, 2.3fr) minmax(260px, 1fr);
  gap: 24px;
}
@media (max-width: 992px) {
  .provid-cart__layout {
    grid-template-columns: minmax(0, 1fr);
  }
}
.provid-cart__items {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.provid-cart-item {
  background: var(--pp-card, #ffffff);
  border-radius: var(--pp-r2, 24px);
  border: 1px solid var(--pp-line, rgba(15,23,42,0.08));
  box-shadow: var(--pp-shadow-soft, 0 12px 26px rgba(2,6,23,0.06));
  padding: 14px 14px 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.provid-cart-item__main {
  display: flex;
  gap: 12px;
}
.provid-cart-item__thumb {
  flex: 0 0 92px;
  max-width: 92px;
  border-radius: 18px;
  overflow: hidden;
}
.provid-cart-item__thumb img {
  width: 100%;
  height: 80px;
  object-fit: cover;
  display: block;
}
.provid-cart-item__info {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.provid-cart-item__title {
  font-size: 15px;
  margin: 0;
  line-height: 1.6;
}
.provid-cart-item__title a {
  color: var(--pp-text, #0b1220);
  text-decoration: none;
}
.provid-cart-item__title a:hover {
  color: var(--pp-brand, #e11d48);
}
.provid-cart-item__meta {
  font-size: 11px;
  color: var(--pp-muted, rgba(11,18,32,0.7));
}
.provid-cart-item__remove {
  margin-top: auto;
}
.provid-cart-item__remove-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  border: none;
  background: rgba(15,23,42,0.06);
  color: var(--pp-muted, rgba(11,18,32,0.75));
  text-decoration: none;
  font-size: 16px;
  line-height: 1;
}
.provid-cart-item__remove-link:hover {
  background: rgba(225,29,72,0.1);
  color: var(--pp-brand, #e11d48);
}
.provid-cart-item__bottom {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding-top: 8px;
  border-top: 1px solid var(--pp-line, rgba(15,23,42,0.08));
}
@media (max-width: 640px) {
  .provid-cart-item__main {
    align-items: flex-start;
  }
  .provid-cart-item__bottom {
    grid-template-columns: minmax(0, 1fr);
  }
}
.provid-cart-item__price,
.provid-cart-item__qty,
.provid-cart-item__subtotal {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 12px;
}
.provid-cart-item__label {
  font-size: 11px;
  color: var(--pp-muted, rgba(11,18,32,0.72));
}
.provid-cart-item__value {
  font-size: 13px;
  font-weight: 600;
  color: var(--pp-text, #0b1220);
}
.provid-cart-item__qty .quantity {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid var(--pp-line, rgba(15,23,42,0.18));
  overflow: hidden;
}
.provid-cart-item__qty .quantity input[type="number"] {
  width: 72px;
  border: none;
  padding: 6px 10px;
  font-size: 12px;
  text-align: center;
  background: #ffffff;
}
.provid-cart-item__qty .quantity input[type="number"]:focus {
  outline: none;
}
.provid-cart__actions {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: flex-end;
  justify-content: space-between;
}
@media (max-width: 640px) {
  .provid-cart__actions {
    flex-direction: column;
    align-items: stretch;
  }
}
.provid-cart__coupon {
  flex: 1 1 260px;
  max-width: 420px;
  font-size: 12px;
}
.provid-cart__coupon label {
  display: block;
  margin-bottom: 6px;
  color: var(--pp-muted, rgba(11,18,32,0.8));
}
.provid-cart__coupon-row {
  display: flex;
  gap: 8px;
}
@media (max-width: 480px) {
  .provid-cart__coupon-row {
    flex-direction: column;
  }
}
.provid-cart__coupon-row input[type="text"] {
  flex: 1 1 auto;
  border-radius: 999px;
  border: 1px solid var(--pp-line, rgba(15,23,42,0.16));
  padding: 8px 12px;
  font-size: 12px;
  background: #ffffff;
}
.provid-cart__coupon-row input[type="text"]:focus {
  outline: none;
  border-color: var(--pp-brand, #e11d48);
  box-shadow: 0 0 0 1px var(--pp-focus, rgba(225,29,72,0.22));
}
.provid-cart__coupon-btn,
.provid-cart__update-btn {
  background-image: linear-gradient(180deg, #fb2b63, #e11d48);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 0.65rem 1.8rem;
  font-size: 12px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(225,29,72,0.35);
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease, opacity 0.16s ease;
}
.provid-cart__coupon-btn:hover,
.provid-cart__update-btn:hover {
  opacity: 0.96;
  transform: translateY(-1px);
  box-shadow: 0 16px 36px rgba(225,29,72,0.45);
}
.provid-cart__update {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: flex-end;
}
@media (max-width: 640px) {
  .provid-cart__update {
    justify-content: flex-start;
  }
}
.provid-cart__summary {
  align-self: flex-start;
}
.provid-cart__summary .cart-collaterals {
  background: #ffffff;
  border-radius: var(--pp-r2, 24px);
  border: 1px solid var(--pp-line, rgba(15,23,42,0.12));
  box-shadow: var(--pp-shadow-soft, 0 12px 26px rgba(2,6,23,0.06));
  padding: 18px 16px;
}
.provid-cart__summary h2,
.provid-cart__summary h3 {
  font-size: 15px;
  margin-top: 0;
  margin-bottom: 10px;
}
.provid-cart__summary .cart_totals table {
  width: 100%;
  border: none;
}
.provid-cart__summary .cart_totals table th,
.provid-cart__summary .cart_totals table td {
  border: none;
  padding: 6px 0;
  font-size: 13px;
}
.provid-cart__summary .cart_totals table th {
  color: var(--pp-muted, rgba(11,18,32,0.8));
}
.provid-cart__summary .cart_totals table td {
  text-align: left;
}
.provid-cart__summary .wc-proceed-to-checkout {
  margin-top: 14px;
}
.provid-cart__summary .wc-proceed-to-checkout a.checkout-button {
  width: 100%;
  border-radius: 999px;
  font-size: 14px;
  padding-block: 0.9rem;
}
@media (max-width: 640px) {
  .provid-cart {
    padding-block: 18px 40px;
  }
  .provid-cart__head-inner {
    padding-inline: 16px;
  }
  .provid-cart-item__thumb {
    flex-basis: 80px;
    max-width: 80px;
  }
  .provid-cart-item__thumb img {
    height: 72px;
  }
}
.provid-checkout {
  --pco-max-width: min(1240px, calc(100% - 32px));
  direction: rtl;
  text-align: right;
  background: var(--pp-bg, #fbf5f7);
  padding-block: 24px 64px;
}
.provid-checkout__head {
  width: 100%;
  margin-bottom: 20px;
}
.provid-checkout__head-inner {
  width: var(--pco-max-width);
  margin-inline: auto;
  background: linear-gradient(135deg, rgba(251,245,247,0.7), #ffffff);
  border-radius: var(--pp-r2, 24px);
  border: 1px solid var(--pp-line, rgba(15,23,42,0.1));
  box-shadow: var(--pp-shadow-soft, 0 12px 26px rgba(2,6,23,0.06));
  padding: 22px 18px 20px;
}
.provid-checkout__title {
  font-size: clamp(22px, 4vw, 28px);
  margin: 0 0 6px;
  color: var(--pp-text, #0b1220);
  font-weight: 700;
}
.provid-checkout__subtitle {
  margin: 0;
  font-size: 13px;
  color: var(--pp-muted, rgba(11,18,32,0.72));
  max-width: 40rem;
}
.provid-checkout__form {
  width: var(--pco-max-width);
  margin-inline: auto;
}
.provid-checkout__layout {
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) minmax(270px, 1fr);
  gap: 24px;
}
@media (max-width: 992px) {
  .provid-checkout__layout {
    grid-template-columns: minmax(0,1fr);
  }
}
.provid-checkout__fields {
  background: transparent;
}
.provid-checkout__customer {
  background: var(--pp-card, #ffffff);
  border-radius: var(--pp-r2, 24px);
  border: 1px solid var(--pp-line, rgba(15,23,42,0.1));
  box-shadow: var(--pp-shadow-soft, 0 12px 26px rgba(2,6,23,0.06));
  padding: 18px 16px 16px;
}
.provid-checkout__customer h3 {
  font-size: 15px;
  margin: 0 0 12px;
}
.provid-checkout__customer .woocommerce-billing-fields__field-wrapper {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 12px 18px;
}
@media (max-width: 640px) {
  .provid-checkout__customer .woocommerce-billing-fields__field-wrapper {
    grid-template-columns: minmax(0,1fr);
  }
}
.provid-checkout__customer .form-row {
  margin: 0;
}
.provid-checkout__customer .form-row label {
  display: block;
  font-size: 12px;
  margin-bottom: 4px;
  color: var(--pp-muted, rgba(11,18,32,0.78));
}
.provid-checkout__customer .required {
  color: var(--pp-brand, #e11d48);
}
.provid-checkout__customer .input-text,
.provid-checkout__customer select,
.provid-checkout__customer textarea {
  width: 100%;
  border-radius: 999px;
  border: 1px solid var(--pp-line, rgba(15,23,42,0.16));
  background: #ffffff;
  font-size: 13px;
  padding: 8px 12px;
  line-height: 1.4;
  box-shadow: 0 0 0 0 transparent;
}
.provid-checkout__customer textarea {
  border-radius: 16px;
  min-height: 90px;
}
.provid-checkout__customer .input-text:focus,
.provid-checkout__customer select:focus,
.provid-checkout__customer textarea:focus {
  outline: none;
  border-color: var(--pp-brand, #e11d48);
  box-shadow: 0 0 0 1px var(--pp-focus, rgba(225,29,72,0.22));
}
.provid-checkout__customer .woocommerce-invalid .input-text {
  border-color: #ef4444;
}
.provid-checkout__customer .woocommerce-error,
.provid-checkout__customer .woocommerce-message {
  margin-bottom: 10px;
}
.provid-checkout__summary {
  align-self: flex-start;
}
.provid-checkout__summary #order_review {
  background: #ffffff;
  border-radius: var(--pp-r2, 24px);
  border: 1px solid var(--pp-line, rgba(15,23,42,0.12));
  box-shadow: var(--pp-shadow-soft, 0 12px 26px rgba(2,6,23,0.06));
  padding: 18px 16px 18px;
}
.provid-checkout__summary h3 {
  font-size: 15px;
  margin-top: 0;
  margin-bottom: 10px;
}
.provid-checkout__summary table.shop_table {
  width: 100%;
  border: none;
  margin-bottom: 12px;
}
.provid-checkout__summary table.shop_table th,
.provid-checkout__summary table.shop_table td {
  border: none;
  padding: 6px 0;
  font-size: 13px;
}
.provid-checkout__summary table.shop_table th {
  color: var(--pp-muted, rgba(11,18,32,0.8));
}
.provid-checkout__summary table.shop_table td {
  text-align: left;
}
.provid-checkout__summary .woocommerce-checkout-payment {
  margin-top: 14px;
}
.provid-checkout__summary .woocommerce-checkout-payment .wc_payment_methods {
  margin: 0 0 12px;
}
.provid-checkout__summary .woocommerce-checkout-payment .wc_payment_methods li {
  list-style: none;
  font-size: 13px;
  margin-bottom: 6px;
}
.provid-checkout__summary .woocommerce-checkout-payment .payment_box {
  margin: 6px 0 0;
  padding: 8px 10px;
  border-radius: 12px;
  background: rgba(15,23,42,0.03);
  font-size: 12px;
}
.provid-checkout__summary .place-order {
  margin-top: 10px;
}
.provid-checkout__summary #place_order {
  width: 100%;
  background-image: linear-gradient(180deg, #fb2b63, #e11d48);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 0.85rem 1.8rem;
  font-size: 14px;
  line-height: 1;
  box-shadow: 0 16px 32px rgba(225,29,72,0.45);
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease, opacity 0.16s ease;
}
.provid-checkout__summary #place_order:hover {
  opacity: 0.97;
  transform: translateY(-1px);
  box-shadow: 0 20px 40px rgba(225,29,72,0.55);
}
@media (max-width: 640px) {
  .provid-checkout {
    padding-block: 18px 40px;
  }
  .provid-checkout__head-inner {
    padding-inline: 16px;
  }
}
