@charset "UTF-8";
@charset "UTF-8";
@font-face {
  font-family: sans-black;
  font-display: swap;
  font-style: normal;
  font-weight: 900;
  src: url("../fonts/IRANSansWeb\(FaNum\)_Black.woff2") format("woff2");
}
@font-face {
  font-family: sans-bold;
  font-display: swap;
  font-style: normal;
  font-weight: bold;
  src: url("../fonts/IRANSansWeb\(FaNum\)_Bold.woff2") format("woff2");
}
@font-face {
  font-family: sans-md;
  font-display: swap;
  font-style: normal;
  font-weight: 500;
  src: url("../fonts/IRANSansWeb\(FaNum\)_Medium.woff2") format("woff2");
}
@font-face {
  font-family: sans-light;
  font-display: swap;
  font-style: normal;
  font-weight: 300;
  src: url("../fonts/IRANSansWeb\(FaNum\)_Light.woff2") format("woff2");
}
@font-face {
  font-family: sans;
  font-display: swap;
  font-style: normal;
  font-weight: normal;
  src: url("../fonts/IRANSansWeb\(FaNum\).woff2") format("woff2");
}
@font-face {
  font-family: sans-en;
  font-display: swap;
  font-style: normal;
  font-weight: normal;
  src: url("../fonts/IRANSansWeb.woff2") format("woff2");
}
/* @font-face {
  font-family: IRANSansFaNum;
  font-style: normal;
  font-weight: normal;
  src: url("../fonts/IRANSansWeb-FaNum.eot?#iefix") format("embedded-opentype"),
    url("../fonts/IRANSansWeb-FaNum.woff2") format("woff2");
} */

body,
form,
label,
input,
option,
a,
span,
h1,
h2,
h3,
h4,
h5,
h6,
p,
button,
li,
div,
nav {
  font-family: sans, sans-serif !important;
}

.font-sans {
  font-family: sans, sans-serif !important;
}

.site-title {
  font-family: sans, sans-serif !important;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "sans-md";
}
p {
  font-family: "sans-light";
}
a {
  font-family: "sans";
}
td {
  font-family: "sans";
}
li {
  font-family: "sans";
}
body {
  font-family: "sans";
}

button {
  font-family: "sans";
}

.woocommerce-orders-table td,
.table td,
.table th {
    font-family: inherit !important;
}

/* ============================= */
/* فقط صفحه محصول تکی */
/* ============================= */

.single-product .btn-color:before {
    background-color: rgb(78 85 98 / 0%) !important;
    border-radius: 50%;
    content: "";
    display: flex;
    height: 100%;
    width: 100%;
}

.single-product .btn-color {
    width: 20px !important;
    height: 20px !important;
    padding: 0 !important;
}

.single-product .btn-check:checked + .btn,
.single-product .btn.active,
.single-product .btn.show,
.single-product .btn:first-child:active,
.single-product :not(.btn-check) + .btn:active {
    border-color: #545454 !important;
}


/* ============================= */
/* گالری اصلی محصول */
/* ============================= */

.single-product .product-main-image-wrapper {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 100%;
    background-color: #ffffff;
    overflow: hidden;
}

.single-product .product-main-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    background-color: #ffffff;
}


/* ============================= */
/* آکاردئون */
/* ============================= */

.single-product .accordion-button.no-accordion-content::after {
    display: none !important;
}

.single-product .accordion-button.no-accordion-content {
    cursor: default;
    pointer-events: none;
}

.single-product .accordion-item:has(.no-accordion-content) {
    border-bottom: none !important;
}

.single-product .accordion-body h1,
.single-product .accordion-body h2,
.single-product .accordion-body h3,
.single-product .accordion-body h4,
.single-product .accordion-body h5,
.single-product .accordion-body h6 {
    font-size: var(--cz-accordion-btn-font-size) !important;
}


/* ============================= */
/* اسلایدر thumbnails */
/* ============================= */

.single-product #thumbs > .swiper-wrapper {
    height: auto !important;
}


/* ============================= */
/* متن justify */
/* ============================= */

.single-product .justify {
    text-align: justify !important;
}


/* ============================= */
/* کارت محصول (هاور تصویر دوم) */
/* ============================= */

.single-product .product-image-wrapper {
    position: relative;
    overflow: hidden;
    display: block;
}

.product-image-front,
.product-image-back {
    transition: opacity 0.4s ease-in-out !important;
    backface-visibility: hidden;
}

.product-image-back {
    opacity: 0 !important;
}

.product-card:hover .product-image-front {
    opacity: 0 !important;
}

.product-card:hover .product-image-back {
    opacity: 1 !important;
}

@media (max-width: 991px) {
    .product-image-back {
        display: none !important;
    }
}


/* ============================= */
/* ساختار کارت */
/* ============================= */

.product-card {
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
}

.product-image-link {
    display: block !important;
}

.product-image-container {
    position: relative !important;
    width: 100% !important;
    aspect-ratio: 1 / 1 !important;
    background: #ffffff !important;
    overflow: hidden !important;
}

.product-image-front,
.product-image-back {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center center !important;
}


/* ============================= */
/* هم‌ارتفاع شدن کارت داخل اسلایدر */
/* ============================= */

.single-product .swiper-slide {
    height: auto !important;
    display: flex !important;
}

.single-product .swiper-slide .product-card {
    flex: 1 !important;
}


/* ============================= */
/* تصویر کوچک (thumb box) */
/* ============================= */

.single-product .product-thumb-box {
    width: 110px !important;
    aspect-ratio: 1 / 1 !important;
    position: relative !important;
    overflow: hidden !important;
    background: #ffffff !important;
    flex-shrink: 0 !important;
}

.single-product .product-thumb-img {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center center !important;
}


.archive-product .shop-sidebar .widget-title {
    display: none !important;
}

.archive-product .color-swatch {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: inline-block;
    border: 1px solid #ddd;
    background-size: cover;
    background-position: center;
}

.archive-product #productGrid .ratio-1x1 {
    aspect-ratio: 1 / 1;
}

.archive-product .object-fit-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.archive-product #productGrid .col {
    display: flex;
}

.archive-product #productGrid .animate-underline {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.archive-product .product-card-col {
    display: flex;
}

.archive-product .product-c-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 100%;
    justify-content: space-between !important;
}

.archive-product .product-colors {
    min-height: 32px;
}

.archive-product .product-image-wrapper {
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #fff;
}

.archive-product #price-filterr {
    display: none !important;
}

.archive-product .product-image-wrapper .hover-effect-target {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}


/* ============================= */
/* لایو سرچ */
/* ============================= */

#liveSearchResults a.hover-bg:hover,
#liveSearchResults a.hover-bg:focus,
#mobileSearchResults a.hover-bg:hover,
#mobileSearchResults a.hover-bg:focus {
    background-color: var(--cz-tertiary-bg, #f5f5f5);
    outline: none;
}
#liveSearchResults .search-view-all:hover,
#mobileSearchResults .search-view-all:hover {
    background-color: var(--cz-tertiary-bg, #f5f5f5);
}
#searchBar .woocommerce-Price-amount,
#liveSearchResults .woocommerce-Price-amount,
#mobileSearchResults .woocommerce-Price-amount {
    color: #4e5562;
}
#liveSearchResults,
#mobileSearchResults {
    border: 1px solid var(--cz-border-color, rgba(0,0,0,.1));
}



.ratio img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ================================================
   Tab Content Typography — Clean & Responsive
   ================================================ */

/* --- تنظیمات پایه محتوای تب --- */
.tab-content {
  font-size: 0.9375rem; /* 15px */
  line-height: 1.8;
  color: var(--bs-body-color);
}

/* --- هدینگ‌ها داخل تب‌ها --- */
.tab-content h2,
.tab-content h3,
.tab-content h4,
.tab-content h5,
.tab-content h6 {
  font-weight: 500;
  line-height: 1.4;
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
  color: var(--bs-emphasis-color);
}

.tab-content h1 {
  margin-top: 0;
}

.tab-content h1 { font-size: 1.5rem; }      /* 24px */
.tab-content h2 { font-size: 1.25rem; }     /* 20px */
.tab-content h3 { font-size: 1.125rem; }    /* 18px */
.tab-content h4 { font-size: 1rem; }        /* 16px */
.tab-content h5 { font-size: 0.9375rem; }   /* 15px */
.tab-content h6 { font-size: 0.875rem; }    /* 14px */

/* اولین هدینگ بالای تب نباید margin-top داشته باشد */
.tab-content .tab-pane > h1:first-child,
.tab-content .tab-pane > h2:first-child,
.tab-content .tab-pane > h3:first-child,
.tab-content .tab-pane > h4:first-child,
.tab-content .tab-pane > h5:first-child,
.tab-content .tab-pane > h6:first-child,
.tab-content .tab-pane > *:first-child > h1,
.tab-content .tab-pane > *:first-child > h2,
.tab-content .tab-pane > *:first-child > h3 {
  margin-top: 0;
}

/* --- پاراگراف‌ها --- */
.tab-content p {
  margin-bottom: 1rem;
  font-size: 0.9375rem;
}

.tab-content p:last-child {
  margin-bottom: 0;
}

/* --- لیست‌ها --- */
.tab-content ul,
.tab-content ol {
  padding-right: 1.5rem;
  padding-left: 0;
  margin-bottom: 1rem;
  font-size: 0.9375rem;
}

.tab-content li {
  margin-bottom: 0.375rem;
}

/* --- لینک‌ها --- */
.tab-content a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* --- جداکننده --- */
.tab-content hr {
  margin: 1.5rem 0;
  opacity: 0.15;
}

/* ================================================
   ریسپانسیو — موبایل (زیر ۵۷۶px)
   ================================================ */
@media (max-width: 575.98px) {

  .tab-content {
    font-size: 0.875rem; /* 14px */
    line-height: 1.75;
  }

  .tab-content h1 { font-size: 1.25rem; }    /* 20px */
  .tab-content h2 { font-size: 1.125rem; }   /* 18px */
  .tab-content h3 { font-size: 1rem; }       /* 16px */
  .tab-content h4 { font-size: 0.9375rem; }  /* 15px */
  .tab-content h5,
  .tab-content h6 { font-size: 0.875rem; }   /* 14px */

  .tab-content h2,
  .tab-content h3,
  .tab-content h4,
  .tab-content h5,
  .tab-content h6 {
    margin-top: 1.25rem;
    margin-bottom: 0.5rem;
  }

  .tab-content p,
  .tab-content ul,
  .tab-content ol {
    font-size: 0.875rem;
  }
}

/* ================================================
   تب نظرات — هدر "نظرات کاربران"
   ================================================ */
#reviews .h5 {
  font-size: 1rem;
  font-weight: 600;
}

/* امتیاز بزرگ در باکس میانگین */
#reviews .h1 {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
}

@media (max-width: 575.98px) {
  #reviews .h1 {
    font-size: 2rem;
  }
}


.card-body .woocommerce-Price-amount {
    font-size: 16px;
    font-weight: 500;
}

/* ============================= */
/* Sale price — no strikethrough */
/* ============================= */
ins:has(.woocommerce-Price-amount) {
  text-decoration: none !important;
  opacity: 1;
  background: transparent;
}
del:has(.woocommerce-Price-amount) {
  text-decoration: line-through;
  text-decoration-color: #94a3b8;
  text-decoration-thickness: 1px;
  opacity: 1;
  background: transparent;
}
del .woocommerce-Price-amount {
  color: #94a3b8;
  font-size: 0.78em;
  font-weight: 400;
  margin-inline-end: 0.4em;
}
ins .woocommerce-Price-amount {
  color: var(--bs-primary);
}

/* ============================= */
/* Shop page header compact bar  */
/* ============================= */
.shop-page-title {
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.4;
}
@media (max-width: 575.98px) {
  .shop-page-header .d-flex {
    flex-direction: column;
    align-items: flex-start !important;
  }
}

/* woocommerce ordering: حذف margin اضافه */
.woocommerce-ordering {
  margin-bottom: 0 !important;
}
/* نوار فیلتر فعال: وقتی ordering میره زیرش margin معقول */
.d-md-flex .flex-grow-1 {
  margin-bottom: 0.5rem;
}
@media (min-width: 768px) {
  .d-md-flex .flex-grow-1 {
    margin-bottom: 0;
  }
}

/* تب‌های صفحه محصول — sticky + اسکرول افقی موبایل */
#productTabsSection {
  z-index: 100;
  background: var(--bs-body-bg, #fff);
  padding-bottom: 1rem;
}
@media (min-width: 768px) {
  #productTabsSection {
    padding-bottom: 2rem;
  }
}
@media (max-width: 767.98px) {
  #productTabNav {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 1px;
  }
  #productTabNav::-webkit-scrollbar {
    display: none;
  }
  #productTabNav .nav-item {
    flex-shrink: 0;
  }
}
/* Hint اسکرول — fade سمت چپ (RTL) + fade سمت راست وقتی به چپ اسکرول شده */
.tab-nav-scroll-hint {
  position: relative;
}
@media (max-width: 767.98px) {
  .tab-nav-scroll-hint::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 56px;
    height: 100%;
    background: linear-gradient(to right, var(--bs-body-bg, #fff) 20%, transparent);
    pointer-events: none;
    z-index: 2;
    transition: opacity 0.2s;
  }
  .tab-nav-scroll-hint.no-hint::after {
    opacity: 0;
  }
  .tab-nav-scroll-hint::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 56px;
    height: 100%;
    background: linear-gradient(to left, var(--bs-body-bg, #fff) 20%, transparent);
    pointer-events: none;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.2s;
  }
  .tab-nav-scroll-hint.has-scrolled::before {
    opacity: 1;
  }
}

/* noUiSlider: رنگ از primary قالب */
:root {
  --cz-range-slider-connect-bg: var(--cz-primary);
}
.noUi-connect {
  background: var(--cz-primary) !important;
}

/* پس‌زمینه سفید مطلق — همه صفحات */
body {
  background-color: #ffffff !important;
}

/* ============================= */
/* سکشن برندها                   */
/* ============================= */

/* همه لینک‌های برند: flex جهت center کردن لوگو */
.devy-brands a {
  display: flex !important;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  overflow: hidden;
}
.devy-brands img {
  max-width: 100%;
  max-height: 200px;
  width: auto !important;
  height: auto !important;
  object-fit: contain;
  filter: grayscale(1) brightness(0.85);
  transition: filter 0.3s ease;
}
.devy-brands a:hover img {
  filter: none;
}

/* ── ارتفاع ثابت سلول‌ها (موبایل پیش‌فرض) ─────────────────── */

/* COL1: col-8 col-md-4 d-flex flex-column  →  Sony (بالا) + Lenovo (پایین) */
.devy-brands .col-8.col-md-4.d-flex.flex-column > a:first-child  { height: 160px !important; flex: 0 0 160px !important; }
.devy-brands .col-8.col-md-4.d-flex.flex-column > a.h-100        { height: 100px !important; flex: 0 0 100px !important; }

/* COL2: col-4 col-md-2 d-flex > div.d-flex.flex-column  →  LDNIO (بالا کوچیک) + Samsung (پایین بزرگ) */
.devy-brands .col-4.col-md-2.d-flex > .d-flex.flex-column        { height: 100%; }
.devy-brands .col-4.col-md-2.d-flex > .d-flex.flex-column > a:first-child { height: 100px !important; flex: 0 0 100px !important; }
.devy-brands .col-4.col-md-2.d-flex > .d-flex.flex-column > a.h-100      { height: 160px !important; flex: 0 0 160px !important; }

/* COL3: col-8 col-md-4 (بدون d-flex)  →  [ASUS|Windows] (بالا) + ADATA (پایین) */
.devy-brands .col-8.col-md-4:not(.d-flex) .row-cols-2            { height: 160px; }
.devy-brands .col-8.col-md-4:not(.d-flex) .row-cols-2 .col       { height: 160px; }
.devy-brands .col-8.col-md-4:not(.d-flex) .row-cols-2 .col > a   { height: 160px !important; }
.devy-brands .col-8.col-md-4:not(.d-flex) > a                    { height: 100px !important; }

/* COL4: col-4 col-md-2 (بدون d-flex)  →  Apple (بالا کوچیک) + TSCO (پایین بزرگ) */
.devy-brands .col-4.col-md-2:not(.d-flex) > a:first-child        { height: 100px; }
.devy-brands .col-4.col-md-2:not(.d-flex) > a:last-child         { height: 160px; }

/* ── دسکتاپ md+: zig-zag ─────────────────────────────────── */
@media (min-width: 768px) {
  /* COL1 (wide): بالا بزرگ، پایین کوچیک */
  .devy-brands .col-8.col-md-4.d-flex.flex-column > a:first-child  { height: 205px !important; flex: 0 0 205px !important; }
  .devy-brands .col-8.col-md-4.d-flex.flex-column > a.h-100        { height: 115px  !important; flex: 0 0 115px  !important; }

  /* COL2 (narrow): بالا کوچیک، پایین بزرگ */
  .devy-brands .col-4.col-md-2.d-flex > .d-flex.flex-column > a:first-child { height: 115px  !important; flex: 0 0 115px  !important; }
  .devy-brands .col-4.col-md-2.d-flex > .d-flex.flex-column > a.h-100      { height: 205px !important; flex: 0 0 205px !important; }

  /* COL3 (wide): بالا بزرگ، پایین کوچیک */
  .devy-brands .col-8.col-md-4:not(.d-flex) .row-cols-2            { height: 205px; }
  .devy-brands .col-8.col-md-4:not(.d-flex) .row-cols-2 .col       { height: 205px; }
  .devy-brands .col-8.col-md-4:not(.d-flex) .row-cols-2 .col > a   { height: 205px !important; }
  .devy-brands .col-8.col-md-4:not(.d-flex) > a                    { height: 115px  !important; }

  /* COL4 (narrow): بالا کوچیک، پایین بزرگ */
  .devy-brands .col-4.col-md-2:not(.d-flex) > a:first-child        { height: 115px; }
  .devy-brands .col-4.col-md-2:not(.d-flex) > a:last-child         { height: 205px; }
}

/* ============================= */
/* سیستم دیدگاه پیشرفته         */
/* ============================= */

/* نمایش ستاره‌ها (CSS overlay) */
.devy-rating-stars {
  position: relative;
  display: inline-block;
  direction: rtl;
  color: var(--cz-border-color, #dee2e6);
  letter-spacing: 4px;
  font-size: 1.05rem;
  line-height: 1;
}
.devy-rating-stars > span {
  position: absolute;
  top: 0;
  right: 0;
  color: #ffc107;
  overflow: hidden;
  white-space: nowrap;
  width: var(--star-pct, 0%);
  direction: rtl;
}
.ci-star-half {
  display: inline-block;
  transform: scaleX(-1);
}

/* ستاره‌های فرم */
.devy-star-btn {
  font-size: 2rem;
  cursor: pointer;
  color: var(--cz-border-color, #dee2e6);
  transition: color .15s, transform .1s;
  line-height: 1;
  user-select: none;
}
.devy-star-btn:hover { transform: scale(1.15); }

/* کارت دیدگاه */
.devy-review-item,
.devy-reply-item { border: none !important; margin-bottom: 0 !important; padding: 0 !important; }
.woocommerce-Reviews ol.commentlist,
#devyReviewsList,
#devyCommentsList,
.woocommerce-Reviews ol.children,
#devyCommentsList ol.children,
#devyReviewsList ol.children {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
.devy-reply-item > .mt-3 { transition: transform .15s; }
.devy-reply-item > .mt-3:hover { transform: translateX(-2px); }

/* دکمه‌های لایک/دیسلایک */
.devy-vote-btn { line-height: 1; transition: color .15s; background: none; border: none; }
.devy-vote-btn:hover { opacity: .8; }

/* ورودی تگ */
.devy-tag-input:focus-within { border-color: var(--cz-primary, #2563eb) !important; box-shadow: 0 0 0 .2rem rgba(var(--cz-primary-rgb,37,99,235),.15); }
.devy-tag-input input::placeholder { color: var(--cz-secondary-color, #a0aec0); }

/* Progress bar خلاصه امتیاز */
.devy-rating-summary .progress { background-color: var(--cz-border-color, #dee2e6); }

/* ─── پجینیشن و فیلتر کامنت‌ها ─── */
.devy-page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 8px;
  border: 1px solid var(--cz-border-color, #dee2e6);
  border-radius: 8px;
  background: var(--cz-body-bg, #fff);
  color: var(--cz-body-color, #212529);
  font-size: .875rem;
  line-height: 1;
  cursor: pointer;
  transition: background .15s, border-color .15s, color .15s;
}
.devy-page-btn:hover:not(.active) {
  background: var(--cz-primary-bg-subtle, #eff6ff);
  border-color: var(--cz-primary, #2563eb);
  color: var(--cz-primary, #2563eb);
}
.devy-page-btn.active {
  background: var(--cz-primary, #2563eb);
  border-color: var(--cz-primary, #2563eb);
  color: #fff;
  font-weight: 600;
  cursor: default;
  pointer-events: none;
}
.devy-page-dots {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 36px;
  color: var(--cz-secondary-color, #6c757d);
  font-size: .9rem;
  user-select: none;
}
.devy-filter-btn {
  display: inline-flex;
  align-items: center;
  padding: .28rem .8rem;
  font-size: .8rem;
  font-family: sans, sans-serif;
  border-radius: 50rem;
  border: 1px solid var(--cz-border-color, #dee2e6);
  background: transparent;
  color: var(--cz-secondary-color, #6c757d);
  cursor: pointer;
  line-height: 1.5;
  transition: border-color .15s, background .15s, color .15s;
  outline: none;
}
.devy-filter-btn:hover {
  border-color: var(--cz-primary, #2563eb);
  color: var(--cz-primary, #2563eb);
}
.devy-filter-btn.active {
  background: var(--cz-primary, #2563eb);
  border-color: var(--cz-primary, #2563eb);
  color: #fff;
}
.devy-filter-btn:focus,
.devy-filter-btn:focus-visible {
  outline: none;
  box-shadow: none;
}
#devy-reviews-controls .choices__list--dropdown,
#devy-comments-controls .choices__list--dropdown {
  min-width: max-content;
}


/* ── Specs table: remove outer borders ─────────────────────────────── */
.devy-specs-table > tbody > tr:first-child    { border-top-width: 0; }
.devy-specs-table > tbody > tr:last-child     { border-bottom-width: 0; }
.devy-specs-table > tbody > tr > *:first-child { border-right-width: 0; }
.devy-specs-table > tbody > tr > *:last-child  { border-left-width: 0; }

/* جدول مشخصات در گوشی — هر دو ستون دقیقاً ۵۰٪ عرض (فقط موبایل) */
/* table-layout:fixed لازمه چون با auto (پیش‌فرض بوت‌استرپ) عرض ستون‌ها بر اساس محتوا
   حساب می‌شه و width روی th/td صرفاً یه پیشنهاده، نه قطعی. */
@media (max-width: 767.98px) {
  .devy-specs-table {
    table-layout: fixed !important;
  }
  .devy-specs-table th,
  .devy-specs-table td {
    width: 50% !important;
    white-space: normal !important;
    word-break: break-word;
  }
}


/* ── پیام‌های ووکامرس (خطا/موفقیت/اطلاعات) — کارت‌های گرادینت هماهنگ با باکس موفقیت دیدگاه (single.php) ── */
.woocommerce-message .button,
.woocommerce-error .button,
.woocommerce-info .button {
  display: inline-flex;
  align-items: center;
  margin-top: .5rem;
  padding: .4rem 1rem;
  border-radius: 50rem;
  background: var(--cz-primary, #2563eb);
  color: #fff !important;
  font-size: .8125rem;
  text-decoration: none;
  white-space: nowrap;
}
.woocommerce-message:focus,
.woocommerce-error:focus,
.woocommerce-info:focus,
.woocommerce-error li:focus {
  outline: none;
  box-shadow: none;
}


/* کارت‌های انتخاب آدرس در تسویه‌حساب */
.ab-address-cards {
  scrollbar-width: thin;
}
.ab-address-card {
  flex: 0 0 auto;
  min-width: 130px;
  padding: .6rem 1rem;
  border: var(--cz-border-width, 1px) solid #cad0d9;
  border-radius: var(--cz-border-radius, .375rem);
  cursor: pointer;
  text-align: center;
  font-size: .875rem;
  white-space: nowrap;
  transition: border-color .15s ease-in-out, background-color .15s ease-in-out;
}
.ab-address-card.active {
  color: #6d1f19;
  border-color: #6d1f19;
  background-color: rgb(109 31 25 / 6%);
  font-weight: 500;
}

/* ── Category / Brand banners ── */
.devy-category-banners { display:grid; grid-template-columns:60fr 40fr; gap:.75rem; }
.devy-category-banners .devy-banner { display:block; overflow:hidden; border-radius:.75rem; }
.devy-category-banners .devy-banner img { display:block; width:100%; height:320px; object-fit:cover; border-radius:.75rem; transition:transform .3s ease; }
.devy-category-banners a.devy-banner:hover img { transform:scale(1.03); }
@media (max-width:767.98px) {
  .devy-category-banners { grid-template-columns:1fr; gap:.5rem; }
  .devy-category-banners .devy-banner { border-radius:.5rem; }
  .devy-category-banners .devy-banner img { height:140px; border-radius:.5rem; }
}

/* =============================== */
/* price-slider-ui — minimal style */
/* =============================== */
#price-slider-ui.noUi-target {
  height: 3px;
  border: none;
  box-shadow: none;
  background: #e9ecef;
  border-radius: 2px;
  margin: 10px 8px;
}
#price-slider-ui .noUi-connects {
  border-radius: 2px;
}
#price-slider-ui .noUi-connect {
  background: #6d1f19 !important;
}
#price-slider-ui .noUi-handle {
  width: 14px;
  height: 14px;
  top: -6px;
  right: -7px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #6d1f19;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .12);
  cursor: grab;
}
#price-slider-ui .noUi-handle::before,
#price-slider-ui .noUi-handle::after {
  display: none;
}
/* RTL handle position */
#price-slider-ui.noUi-txt-dir-rtl .noUi-handle {
  left: -7px;
  right: auto;
}
#price-slider-ui .noUi-handle:active {
  cursor: grabbing;
  background: #6d1f19;
  box-shadow: 0 0 0 4px rgba(109, 31, 25, .18);
}
#price-slider-ui .noUi-handle:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(109, 31, 25, .25);
}

/* =============================== */
/* SEO content section             */
/* =============================== */
.devy-seo-section {
  border-top: 1px solid #e9ecef;
}
.devy-seo-content h2 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-top: 1.75rem;
  margin-bottom: .5rem;
}
.devy-seo-content h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-top: 1.25rem;
  margin-bottom: .4rem;
}
.devy-seo-content p { line-height: 1.85; }
.devy-seo-content img { max-width: 100%; height: auto; border-radius: .5rem; }
.devy-seo-toc {
  background: #f8f9fa;
  border-radius: .75rem;
  padding: 1.25rem 1rem;
  top: 105px !important;
}
/* OVERBEAUTY SEO TOC STACKING FIX — 20260824 */
.devy-seo-toc.sticky-top {
  z-index: 5;
}
.devy-seo-toc h6 {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: #6c757d;
  margin-bottom: .75rem;
}
.devy-seo-toc ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.devy-seo-toc ul li { margin-bottom: .35rem; }
.devy-seo-toc ul a {
  display: block;
  font-size: .8125rem;
  color: inherit;
  text-decoration: none;
  opacity: .65;
  border-right: 2px solid transparent;
  padding-right: .5rem;
  transition: opacity .15s, border-color .15s, color .15s;
  line-height: 1.5;
}
.devy-seo-toc ul a:hover,
.devy-seo-toc ul a.active {
  opacity: 1;
  color: #6d1f19;
  border-right-color: #6d1f19;
}
.devy-seo-toc ul .toc-h3 a {
  padding-right: 1.1rem;
  font-size: .75rem;
  opacity: .55;
}
.devy-seo-toc ul .toc-h3 a:hover,
.devy-seo-toc ul .toc-h3 a.active {
  opacity: 1;
  color: #6d1f19;
  border-right-color: #6d1f19;
}

/* ── Sticky ATC bar — mobile single product ── */
#devyStickyATC {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1030;
  background: #fff;
  padding: 10px 0;
  box-shadow: 0 -2px 14px rgba(0,0,0,.1);
  transform: translateY(110%);
  transition: transform .3s cubic-bezier(.4,0,.2,1);
}
#devyStickyATC.visible {
  transform: translateY(0);
}

/* ── بج اصالت محصول ── */
.devy-badge {
  display: inline-block;
  font-size: .72rem;
  font-weight: 500;
  line-height: 1.4;
  padding: .22em .6em;
  border-radius: 5px;
  border: 1px solid transparent;
  vertical-align: middle;
  letter-spacing: .01em;
  white-space: nowrap;
}
.devy-seo-content a,
.accordion-body a {
  color: #6d1f19;
}
.devy-seo-content a:hover,
.accordion-body a:hover {
  color: #5d1a15;
}
.devy-badge-wrap {
  z-index: 1;
  pointer-events: none;
}

.devy-badge-guide-btn {
  display: inline-flex;
  align-items: center;
  gap: .3em;
  padding: .25em .65em;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  background: none;
  color: #94a3b8;
  font-size: .7rem;
  font-weight: 500;
  cursor: pointer;
  transition: color .2s, border-color .2s;
  white-space: nowrap;
  line-height: 1.4;
}
.devy-badge-guide-btn:hover {
  color: #475569;
  border-color: #94a3b8;
}
.devy-badge-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .55rem .875rem;
  align-items: center;
}
.devy-badge-cell {
  display: flex;
  justify-content: center;
  border: 1px solid;
  border-radius: 7px;
  padding: .3rem .6rem;
}
.devy-modal-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #e2e8f0;
  color: #475569;
  flex-shrink: 0;
}


/* --- Color swatch: selected indicator --- */
.btn-color {
    position: relative;
}
.btn-color::after {
    content: "\2713";
    display: none;
    position: absolute;
    inset: 0;
    align-items: center;
    justify-content: center;
    font-size: .52em;
    font-weight: 900;
    line-height: 1;
    pointer-events: none;
}
.btn-check:checked + .btn-color::after {
    display: flex;
}
.btn-color.swatch-dark::after  { color: rgba(255,255,255,.92); }
.btn-color.swatch-light::after { color: rgba(0,0,0,.72); }
.btn-check:checked + .btn-color {
    border-color: transparent !important;
    box-shadow: none;
    outline: 2.5px solid rgba(0,0,0,.45);
    outline-offset: 3px;
}
[data-bs-theme=dark] .btn-check:checked + .btn-color {
    outline-color: rgba(255,255,255,.6);
}

.single-product .btn-color { width: 30px !important; height: 30px !important; }

/* =========================================================
   Overbeauty primary palette — brand interactions and CTAs
   Footer/surface color remains #44120e in its own components.
   ========================================================= */
:root,
[data-bs-theme="light"] {
  --cz-primary: #6d1f19;
  --cz-primary-rgb: 109, 31, 25;
  --cz-primary-text-emphasis: #4a1511;
  --cz-primary-bg-subtle: #f0e9e8;
  --cz-primary-border-subtle: #dac7c6;
  --cz-link-color: #6d1f19;
  --cz-link-color-rgb: 109, 31, 25;
  --cz-link-hover-color: #5d1a15;
  --cz-link-hover-color-rgb: 93, 26, 21;
  --bs-primary: #6d1f19;
  --bs-primary-rgb: 109, 31, 25;
}

[data-bs-theme="dark"] {
  --cz-primary: #6d1f19;
  --cz-primary-rgb: 109, 31, 25;
  --cz-primary-text-emphasis: #d4aaa6;
  --cz-primary-bg-subtle: #2d1b19;
  --cz-primary-border-subtle: #58302d;
  --cz-link-color: #d4aaa6;
  --cz-link-color-rgb: 212, 170, 166;
  --cz-link-hover-color: #e2c3c0;
  --cz-link-hover-color-rgb: 226, 195, 192;
  --bs-primary: #6d1f19;
  --bs-primary-rgb: 109, 31, 25;
}

.btn-primary,
.product-card .count-input:not(.collapsed) .product-card-button,
.product-card:hover .product-card-button,
[data-bs-theme="dark"] .product-card:hover .product-card-button {
  --cz-btn-color: #fff;
  --cz-btn-bg: #6d1f19;
  --cz-btn-border-color: #6d1f19;
  --cz-btn-hover-color: #fff;
  --cz-btn-hover-bg: #5d1a15;
  --cz-btn-hover-border-color: #571814;
  --cz-btn-focus-shadow-rgb: 109, 31, 25;
  --cz-btn-active-color: #fff;
  --cz-btn-active-bg: #551713;
  --cz-btn-active-border-color: #4f1511;
  --cz-btn-active-shadow: none;
  --cz-btn-disabled-color: #fff;
  --cz-btn-disabled-bg: #6d1f19;
  --cz-btn-disabled-border-color: #6d1f19;
}

.btn-outline-primary {
  --cz-btn-color: #6d1f19;
  --cz-btn-border-color: #6d1f19;
  --cz-btn-hover-color: #fff;
  --cz-btn-hover-bg: #6d1f19;
  --cz-btn-hover-border-color: #6d1f19;
  --cz-btn-focus-shadow-rgb: 109, 31, 25;
  --cz-btn-active-color: #fff;
  --cz-btn-active-bg: #5d1a15;
  --cz-btn-active-border-color: #571814;
  --cz-btn-active-shadow: none;
  --cz-btn-disabled-color: #6d1f19;
  --cz-btn-disabled-bg: transparent;
  --cz-btn-disabled-border-color: #6d1f19;
}

/* Homepage CTAs: interactive color uses primary, not footer surface. */
#overbeauty-editorial-routine .overbeauty-routine-cta,
#overbeauty-brand-showcase .overbeauty-brand-cta {
  color: #6d1f19;
}

#overbeauty-editorial-routine .overbeauty-routine-arrow,
#overbeauty-brand-showcase .overbeauty-brand-cta-icon {
  background-color: #6d1f19;
}

#overbeauty-editorial-routine .overbeauty-routine-card:hover .overbeauty-routine-arrow,
#overbeauty-editorial-routine .overbeauty-routine-card:focus-visible .overbeauty-routine-arrow,
#overbeauty-brand-showcase .overbeauty-brand-link:hover .overbeauty-brand-cta-icon,
#overbeauty-brand-showcase .overbeauty-brand-link:focus-visible .overbeauty-brand-cta-icon {
  background-color: #5d1a15;
}

#overbeauty-category-showcase .overbeauty-category-showcase-all {
  border-color: #6d1f19 !important;
  background-color: #6d1f19 !important;
}

#overbeauty-category-showcase .overbeauty-category-showcase-all:hover,
#overbeauty-category-showcase .overbeauty-category-showcase-all:focus-visible,
#overbeauty-category-showcase .overbeauty-category-showcase-all:active {
  border-color: #5d1a15 !important;
  background-color: #5d1a15 !important;
}

/* =========================================================
   Single product — purchase assurance and delivery details
   ========================================================= */
.single-product .overbeauty-purchase-assist {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: center;
  gap: .75rem;
  padding: .75rem;
  border: 1px solid #e6d8d6;
  border-radius: 1rem;
  background:
    radial-gradient(circle at 8% 0%, rgba(109, 31, 25, .09), transparent 42%),
    linear-gradient(135deg, #fff 0%, #fbf6f5 100%);
  box-shadow: 0 10px 28px rgba(68, 18, 14, .055);
}

.single-product .overbeauty-purchase-assist__icon,
.single-product .overbeauty-trust-card__icon,
.single-product .overbeauty-fulfillment-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.single-product .overbeauty-purchase-assist__icon {
  width: 48px;
  height: 48px;
  border-radius: 15px;
  background: #6d1f19;
  color: #fff;
  font-size: 1.25rem;
  box-shadow: 0 8px 18px rgba(109, 31, 25, .2);
}

.single-product .overbeauty-purchase-assist__copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: .18rem;
}

.single-product .overbeauty-purchase-assist__copy strong {
  color: var(--cz-emphasis-color, #18120f);
  font-size: .875rem;
  line-height: 1.55;
}

.single-product .overbeauty-purchase-assist__copy small {
  color: var(--cz-secondary-color, #6c625f);
  font-size: .72rem;
  line-height: 1.7;
}

.single-product .overbeauty-purchase-assist__action {
  min-width: 92px;
  border-radius: .7rem;
  white-space: nowrap;
}

.single-product .overbeauty-trust-block {
  display: block;
  padding: .8rem;
  border: 1px solid #eadfdd;
  border-radius: 1rem;
  background: #fff;
  color: var(--cz-body-color, #292421);
}

.single-product .overbeauty-trust-block__heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  margin-bottom: .7rem;
  padding: 0 .12rem;
}

.single-product .overbeauty-trust-block__heading strong {
  color: var(--cz-emphasis-color, #18120f);
  font-size: .84rem;
}

.single-product .overbeauty-trust-block__heading > span {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  color: #6d1f19;
  font-size: .68rem;
  font-weight: 600;
  white-space: nowrap;
}

.single-product .overbeauty-trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .5rem;
}

.single-product .overbeauty-trust-card {
  display: flex;
  min-width: 0;
  min-height: 92px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: .5rem;
  padding: .65rem .4rem;
  border: 1px solid #eee3e1;
  border-radius: .8rem;
  background: linear-gradient(150deg, #fff 0%, #faf5f4 100%);
  text-align: center;
  transition: transform .22s ease, border-color .22s ease, background-color .22s ease;
}

.single-product .overbeauty-trust-card__icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: #f0e5e4;
  color: #6d1f19;
  font-size: 1.15rem;
}

.single-product .overbeauty-trust-card__title {
  color: var(--cz-body-color, #292421);
  font-size: .69rem;
  font-weight: 650;
  line-height: 1.5;
}

.single-product .overbeauty-fulfillment-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .55rem;
}

.single-product .overbeauty-fulfillment-card {
  display: flex;
  min-width: 0;
  min-height: 64px;
  align-items: center;
  gap: .65rem;
  padding: .65rem .72rem;
  border: 1px solid #eee3e1;
  border-radius: .85rem;
  background: #fbf8f7;
}

.single-product .overbeauty-fulfillment-card__icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #6d1f19;
  color: #fff;
  font-size: .98rem;
  box-shadow: 0 6px 14px rgba(109, 31, 25, .14);
}

.single-product .overbeauty-fulfillment-card__copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: .08rem;
}

.single-product .overbeauty-fulfillment-card__copy strong {
  overflow: hidden;
  color: var(--cz-emphasis-color, #18120f);
  font-size: .74rem;
  line-height: 1.55;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.single-product .overbeauty-fulfillment-card__copy small {
  color: var(--cz-secondary-color, #756b68);
  font-size: .65rem;
  line-height: 1.5;
}

[data-bs-theme="dark"] .single-product .overbeauty-purchase-assist {
  border-color: #4d3936;
  background:
    radial-gradient(circle at 8% 0%, rgba(212, 170, 166, .1), transparent 42%),
    linear-gradient(135deg, #211e1d 0%, #281f1e 100%);
  box-shadow: none;
}

[data-bs-theme="dark"] .single-product .overbeauty-trust-block,
[data-bs-theme="dark"] .single-product .overbeauty-trust-card,
[data-bs-theme="dark"] .single-product .overbeauty-fulfillment-card {
  border-color: #493a37;
  background: #252120;
}

[data-bs-theme="dark"] .single-product .overbeauty-trust-card__icon {
  background: #3a2927;
  color: #d4aaa6;
}

[data-bs-theme="dark"] .single-product .overbeauty-trust-block__heading > span {
  color: #d4aaa6;
}

@media (max-width: 575.98px) {
  .single-product .overbeauty-purchase-assist {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: .65rem;
    padding: .7rem;
  }

  .single-product .overbeauty-purchase-assist__icon {
    width: 42px;
    height: 42px;
    border-radius: 13px;
    font-size: 1.08rem;
  }

  .single-product .overbeauty-purchase-assist__action {
    grid-column: 1 / -1;
    width: 100%;
    min-height: 42px;
  }

  .single-product .overbeauty-trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .single-product .overbeauty-trust-card {
    min-height: 86px;
  }
}

@media (max-width: 399.98px) {
  .single-product .overbeauty-fulfillment-grid {
    grid-template-columns: 1fr;
  }

  .single-product .overbeauty-fulfillment-card {
    min-height: 58px;
  }
}

/* =========================================================
   Single product reviews — Overbeauty editorial UI
   ========================================================= */
.single-product .overbeauty-reviews {
  --overbeauty-review-border: #eadfdd;
  --overbeauty-review-surface: #fbf8f7;
  --overbeauty-review-muted: #766b68;
  color: var(--cz-body-color, #292421);
}

.single-product .overbeauty-review-eyebrow {
  display: block;
  color: #6d1f19;
  font-size: .72rem;
  font-weight: 750;
  line-height: 1.5;
}

.single-product .overbeauty-review-notice {
  display: flex;
  align-items: flex-start;
  gap: .85rem;
  padding: 1rem 1.1rem;
  border: 1px solid #b9dec8;
  border-radius: 1rem;
  background: linear-gradient(135deg, #f7fcf9 0%, #edf8f1 100%);
}

.single-product .overbeauty-review-notice__icon {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border-radius: 12px;
  background: #237a48;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 800;
}

.single-product .overbeauty-review-notice strong {
  display: block;
  margin-bottom: .2rem;
  color: #175f38;
  font-size: .86rem;
}

.single-product .overbeauty-review-notice p {
  margin: 0;
  color: #357153;
  font-size: .76rem;
  line-height: 1.8;
}

.single-product .overbeauty-review-summary {
  display: grid;
  grid-template-columns: minmax(185px, .78fr) minmax(0, 1.5fr);
  overflow: hidden;
  border: 1px solid var(--overbeauty-review-border);
  border-radius: 1.25rem;
  background: #fff;
  box-shadow: 0 14px 38px rgba(68, 18, 14, .055);
}

.single-product .overbeauty-review-summary__score {
  display: flex;
  min-height: 220px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 1.65rem;
  border-left: 1px solid var(--overbeauty-review-border);
  background: radial-gradient(circle at 20% 0%, rgba(109, 31, 25, .12), transparent 40%), linear-gradient(145deg, #fff 0%, #f8f0ef 100%);
  text-align: center;
}

.single-product .overbeauty-review-summary__value {
  display: flex;
  align-items: baseline;
  gap: .42rem;
  margin: .5rem 0 .35rem;
  color: #44120e;
  font-size: 3.15rem;
  font-weight: 800;
  letter-spacing: -.06em;
  line-height: 1;
}

.single-product .overbeauty-review-summary__value small {
  color: var(--overbeauty-review-muted);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: 0;
}

.single-product .overbeauty-review-summary__stars { margin-bottom: .45rem; white-space: nowrap; }
.single-product .overbeauty-review-summary__stars i,
.single-product .overbeauty-reviews .devy-review-item .ci-star-filled { color: #d49b45 !important; }
.single-product .overbeauty-review-summary__count { color: var(--overbeauty-review-muted); font-size: .7rem; }

.single-product .overbeauty-review-summary__breakdown {
  display: flex;
  justify-content: center;
  flex-direction: column;
  gap: .62rem;
  padding: 1.55rem 1.8rem;
}

.single-product .overbeauty-review-summary__row {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 24px;
  align-items: center;
  gap: .7rem;
}

.single-product .overbeauty-review-summary__label {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  color: var(--cz-body-color, #292421);
  font-size: .72rem;
}
.single-product .overbeauty-review-summary__label i { color: #d49b45; font-size: .66rem; }
.single-product .overbeauty-review-summary__bar { display:block; height:8px; overflow:hidden; border-radius:20px; background:#eee5e3; }
.single-product .overbeauty-review-summary__bar > span { display:block; height:100%; border-radius:inherit; background:linear-gradient(90deg,#6d1f19 0%,#a14d46 100%); box-shadow:0 2px 8px rgba(109,31,25,.2); }
.single-product .overbeauty-review-summary__number { color:var(--overbeauty-review-muted); font-size:.68rem; text-align:center; }
.single-product .overbeauty-review-section-heading { margin-bottom:1rem; }

.single-product .overbeauty-review-section-heading h4,
.single-product .overbeauty-reviews-toolbar__title h4 {
  margin: .2rem 0 .25rem;
  color: var(--cz-emphasis-color, #18120f);
  font-size: 1rem;
  line-height: 1.6;
}

.single-product .overbeauty-review-section-heading p { margin:0; color:var(--overbeauty-review-muted); font-size:.75rem; line-height:1.8; }

.single-product .overbeauty-review-login {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  padding: 1.15rem;
  border: 1px solid #e4d4d2;
  border-radius: 1.15rem;
  background: radial-gradient(circle at 5% 0%, rgba(109,31,25,.1), transparent 35%), linear-gradient(135deg,#fff 0%,#faf5f4 100%);
  box-shadow: 0 12px 32px rgba(68,18,14,.045);
}

.single-product .overbeauty-review-login__icon {
  display:inline-flex; width:54px; height:54px; align-items:center; justify-content:center; border-radius:17px;
  background:#6d1f19; color:#fff; font-size:1.25rem; box-shadow:0 8px 20px rgba(109,31,25,.2);
}
.single-product .overbeauty-review-login__copy strong { display:block; margin-bottom:.2rem; color:var(--cz-emphasis-color,#18120f); font-size:.86rem; }
.single-product .overbeauty-review-login__copy p { margin:0 0 .45rem; color:var(--overbeauty-review-muted); font-size:.7rem; line-height:1.8; }
.single-product .overbeauty-review-login__perks { display:flex; flex-wrap:wrap; gap:.35rem .75rem; color:#6d1f19; font-size:.65rem; font-weight:650; }
.single-product .overbeauty-review-login__perks > span { display:inline-flex; align-items:center; gap:.25rem; }
.single-product .overbeauty-review-login__button { display:inline-flex; min-width:138px; align-items:center; justify-content:center; gap:.45rem; border-radius:.75rem; white-space:nowrap; }

.single-product .overbeauty-review-form {
  display:grid; gap:.85rem; padding:1.15rem; border:1px solid var(--overbeauty-review-border);
  border-radius:1.2rem; background:#fff; box-shadow:0 14px 38px rgba(68,18,14,.05);
}
.single-product .overbeauty-review-field { padding:.9rem; border:1px solid #eee3e1; border-radius:.9rem; background:var(--overbeauty-review-surface); }
.single-product .overbeauty-review-field--rating { background:linear-gradient(135deg,#fbf7f6 0%,#f7eeed 100%); }
.single-product .overbeauty-review-field__heading { display:flex; align-items:baseline; justify-content:space-between; gap:.75rem; margin-bottom:.55rem; }
.single-product .overbeauty-review-field__heading .form-label { margin:0; color:var(--cz-emphasis-color,#18120f); font-size:.76rem; font-weight:700; }
.single-product .overbeauty-review-field--pros .form-label { color:#24714b; }
.single-product .overbeauty-review-field--cons .form-label { color:#9b3d3d; }
.single-product .overbeauty-review-field__heading small { color:var(--overbeauty-review-muted); font-size:.62rem; line-height:1.6; text-align:left; }
.single-product .overbeauty-review-stars { display:flex; align-items:center; gap:.22rem; }

.single-product .overbeauty-review-stars .devy-star-btn {
  appearance:none; width:37px; height:37px; padding:0; border:1px solid #e4d8d5; border-radius:11px;
  background:#fff; color:#d8ccca; font-size:1.45rem; line-height:1; cursor:pointer;
  transition:color .16s ease,border-color .16s ease,transform .16s ease,box-shadow .16s ease;
}
.single-product .overbeauty-review-stars .devy-star-btn:hover,
.single-product .overbeauty-review-stars .devy-star-btn:focus-visible { border-color:#d49b45; transform:translateY(-2px); outline:none; box-shadow:0 6px 15px rgba(212,155,69,.16); }
.single-product .overbeauty-review-stars .devy-star-btn[aria-pressed="true"] { border-color:#e6c68f; background:#fffaf0; }
.single-product .overbeauty-review-stars__label { margin-right:.5rem; color:var(--overbeauty-review-muted); font-size:.7rem; }
.single-product .overbeauty-review-textarea { min-height:120px; resize:vertical; border-color:#e6d9d7; border-radius:.75rem; background:#fff; font-size:.78rem; line-height:1.85; }
.single-product .overbeauty-review-form__pair { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.85rem; }

.single-product .overbeauty-review-form .devy-tag-input {
  display:flex; min-height:48px; align-items:center; flex-wrap:wrap; gap:.3rem; padding:.45rem .55rem;
  border-color:#e6d9d7; border-radius:.75rem; background:#fff; cursor:text;
}
.single-product .overbeauty-review-form .devy-tag-input > input { min-width:115px; flex:1 1 115px; padding:.25rem; border:0; outline:0; background:transparent; color:var(--cz-body-color,#292421); font-size:.72rem; }
.single-product .overbeauty-review-form .devy-tag-input .badge { padding:.38rem .58rem !important; border:1px solid transparent; font-size:.64rem !important; }
.single-product .overbeauty-review-field--pros .devy-tag-input .badge { border-color:#cae4d4; background:#eef8f2 !important; color:#257048 !important; }
.single-product .overbeauty-review-field--cons .devy-tag-input .badge { border-color:#eed1cf; background:#fbefee !important; color:#963d3d !important; }

.single-product .overbeauty-review-upload {
  display:flex; align-items:center; justify-content:space-between; gap:1rem; padding:.9rem;
  border:1px dashed #d8c3c0; border-radius:.9rem; background:#fcf9f8;
}
.single-product .overbeauty-review-upload__copy,
.single-product .overbeauty-review-upload__action { display:flex; align-items:center; gap:.65rem; }
.single-product .overbeauty-review-upload__icon { display:inline-flex; width:40px; height:40px; align-items:center; justify-content:center; flex:0 0 auto; border-radius:12px; background:#f0e5e4; color:#6d1f19; font-size:1rem; }
.single-product .overbeauty-review-upload__copy > span:last-child { display:flex; flex-direction:column; gap:.12rem; }
.single-product .overbeauty-review-upload__copy strong { color:var(--cz-emphasis-color,#18120f); font-size:.72rem; }
.single-product .overbeauty-review-upload__copy small,
.single-product .overbeauty-review-upload__status { color:var(--overbeauty-review-muted); font-size:.6rem; }
.single-product .overbeauty-review-upload__action { flex-wrap:wrap; justify-content:flex-end; }
.single-product .overbeauty-review-upload__action .btn { border-radius:.65rem; white-space:nowrap; }
.single-product .overbeauty-review-form__footer { display:flex; align-items:center; justify-content:space-between; gap:1rem; padding-top:.15rem; }
.single-product .overbeauty-review-form__footer > span { display:inline-flex; align-items:center; gap:.35rem; color:var(--overbeauty-review-muted); font-size:.64rem; }
.single-product .overbeauty-review-form__footer .btn { min-width:132px; border-radius:.72rem; }

.single-product .overbeauty-reviews-toolbar { display:flex; align-items:center; justify-content:space-between; gap:1rem; padding:.9rem 1rem; border:1px solid var(--overbeauty-review-border); border-radius:1rem; background:#fff; }
.single-product .overbeauty-reviews-toolbar__title h4 { margin-bottom:0; }
.single-product .overbeauty-reviews-toolbar__controls,
.single-product .overbeauty-reviews-sort,
.single-product .overbeauty-reviews-filters { display:flex; align-items:center; gap:.5rem; }
.single-product .overbeauty-reviews-toolbar__controls { flex-wrap:wrap; justify-content:flex-end; }
.single-product .overbeauty-reviews-sort .form-label { margin:0; color:var(--overbeauty-review-muted); font-size:.66rem; font-weight:650; }
.single-product .overbeauty-reviews-sort .form-select { width:155px; min-width:155px; border-color:#e2d4d2; border-radius:.65rem; font-size:.7rem; }
.single-product .overbeauty-reviews-sort .choices { width:155px; margin:0; }

.single-product .overbeauty-reviews .devy-filter-btn { min-height:34px; padding:.35rem .7rem; border-color:#e2d4d2; border-radius:.65rem; background:#fff; color:var(--overbeauty-review-muted); font-size:.66rem; font-family:inherit; }
.single-product .overbeauty-reviews .devy-filter-btn:hover,
.single-product .overbeauty-reviews .devy-filter-btn:focus-visible { border-color:#b9827e; color:#6d1f19; outline:none; }
.single-product .overbeauty-reviews .devy-filter-btn.active { border-color:#6d1f19; background:#6d1f19; color:#fff; box-shadow:0 5px 13px rgba(109,31,25,.14); }

.single-product .overbeauty-reviews #devyReviewsList > .devy-review-item > div,
.single-product .overbeauty-reviews .devy-review-item .children .devy-reply-item > div {
  position:relative; margin-bottom:.8rem !important; padding:1rem !important; border:1px solid var(--overbeauty-review-border) !important;
  border-radius:1rem !important; background:#fff !important; box-shadow:0 10px 28px rgba(68,18,14,.04);
}
.single-product .overbeauty-reviews .devy-reply-item > div { border-right:3px solid #c9a8a5 !important; background:#fcf9f8 !important; }
.single-product .overbeauty-reviews .devy-review-item > div > .flex-shrink-0 { width:44px !important; height:44px !important; border-radius:14px !important; background:linear-gradient(145deg,#6d1f19 0%,#8f3933 100%) !important; font-size:1.08rem !important; box-shadow:0 7px 17px rgba(109,31,25,.18) !important; }
.single-product .overbeauty-reviews .devy-review-item .fs-sm.text-body { margin:.45rem 0 .6rem !important; color:var(--cz-body-color,#292421) !important; font-size:.76rem !important; line-height:1.9; }
.single-product .overbeauty-reviews .devy-review-item .badge { padding:.32rem .52rem; border:1px solid transparent; font-size:.62rem; }
.single-product .overbeauty-reviews .devy-review-item .bg-success-subtle { border-color:#cee4d6; background:#eff8f2 !important; }
.single-product .overbeauty-reviews .devy-review-item .bg-danger-subtle { border-color:#edd2cf; background:#fbefee !important; }
.single-product .overbeauty-reviews .devy-lb-trigger img { width:72px !important; height:72px !important; border:1px solid #e5d8d5; border-radius:.75rem !important; transition:transform .18s ease,box-shadow .18s ease; }
.single-product .overbeauty-reviews .devy-lb-trigger:hover img { transform:translateY(-2px); box-shadow:0 8px 18px rgba(68,18,14,.1); }
.single-product .overbeauty-reviews .devy-vote-btn { min-height:30px; padding:.35rem .55rem; border:1px solid #eadfdd; border-radius:.6rem; background:#faf7f6; font-size:.65rem; }
.single-product .overbeauty-reviews .devy-vote-btn:hover { border-color:#caa8a5; background:#f6efee; color:#6d1f19 !important; }
.single-product .overbeauty-review-reply-form { padding:.85rem; border:1px solid var(--overbeauty-review-border); border-radius:.9rem; background:var(--overbeauty-review-surface); }

.single-product .overbeauty-reviews-empty { display:flex; align-items:center; justify-content:center; flex-direction:column; gap:.35rem; padding:2.2rem 1rem; border:1px dashed #dac6c3; border-radius:1rem; background:#fcf9f8; text-align:center; }
.single-product .overbeauty-reviews-empty > span { display:inline-flex; width:48px; height:48px; align-items:center; justify-content:center; margin-bottom:.25rem; border-radius:15px; background:#f0e5e4; color:#6d1f19; font-size:1.35rem; }
.single-product .overbeauty-reviews-empty strong { font-size:.82rem; }
.single-product .overbeauty-reviews-empty p { margin:0; color:var(--overbeauty-review-muted); font-size:.7rem; }

[data-bs-theme="dark"] .single-product .overbeauty-reviews { --overbeauty-review-border:#493a37; --overbeauty-review-surface:#252120; --overbeauty-review-muted:#a99e9a; }
[data-bs-theme="dark"] .single-product .overbeauty-review-summary,
[data-bs-theme="dark"] .single-product .overbeauty-review-form,
[data-bs-theme="dark"] .single-product .overbeauty-review-login,
[data-bs-theme="dark"] .single-product .overbeauty-reviews-toolbar,
[data-bs-theme="dark"] .single-product .overbeauty-reviews #devyReviewsList > .devy-review-item > div,
[data-bs-theme="dark"] .single-product .overbeauty-reviews .devy-review-item .children .devy-reply-item > div { background:#211e1d !important; box-shadow:none; }
[data-bs-theme="dark"] .single-product .overbeauty-review-summary__score,
[data-bs-theme="dark"] .single-product .overbeauty-review-login { background:linear-gradient(145deg,#211e1d 0%,#2b2220 100%) !important; }
[data-bs-theme="dark"] .single-product .overbeauty-review-field,
[data-bs-theme="dark"] .single-product .overbeauty-review-upload,
[data-bs-theme="dark"] .single-product .overbeauty-review-reply-form,
[data-bs-theme="dark"] .single-product .overbeauty-reviews-empty,
[data-bs-theme="dark"] .single-product .overbeauty-reviews .devy-filter-btn,
[data-bs-theme="dark"] .single-product .overbeauty-review-form .devy-tag-input,
[data-bs-theme="dark"] .single-product .overbeauty-review-textarea { border-color:#493a37; background:#282322; }
[data-bs-theme="dark"] .single-product .overbeauty-review-stars .devy-star-btn { border-color:#55433f; background:#2b2624; }

@media (max-width: 767.98px) {
  .single-product .overbeauty-review-summary { grid-template-columns:1fr; }
  .single-product .overbeauty-review-summary__score { min-height:auto; padding:1.35rem; border-left:0; border-bottom:1px solid var(--overbeauty-review-border); }
  .single-product .overbeauty-review-summary__breakdown { padding:1.25rem; }
  .single-product .overbeauty-review-login { grid-template-columns:50px minmax(0,1fr); }
  .single-product .overbeauty-review-login__icon { width:50px; height:50px; border-radius:15px; }
  .single-product .overbeauty-review-login__button { grid-column:1/-1; width:100%; min-height:44px; }
  .single-product .overbeauty-review-form__pair { grid-template-columns:1fr; }
  .single-product .overbeauty-review-upload { align-items:flex-start; flex-direction:column; }
  .single-product .overbeauty-review-upload__action { width:100%; justify-content:flex-start; }
  .single-product .overbeauty-reviews-toolbar { align-items:stretch; flex-direction:column; }
  .single-product .overbeauty-reviews-toolbar__controls { justify-content:flex-start; }
}

@media (max-width: 575.98px) {
  .single-product .overbeauty-review-summary__value { font-size:2.65rem; }
  .single-product .overbeauty-review-summary__breakdown { padding:1rem; }
  .single-product .overbeauty-review-form { padding:.75rem; }
  .single-product .overbeauty-review-field { padding:.75rem; }
  .single-product .overbeauty-review-field__heading { align-items:flex-start; flex-direction:column; gap:.18rem; }
  .single-product .overbeauty-review-field__heading small { text-align:right; }
  .single-product .overbeauty-review-stars { flex-wrap:wrap; }
  .single-product .overbeauty-review-stars .devy-star-btn { width:34px; height:34px; font-size:1.3rem; }
  .single-product .overbeauty-review-stars__label { width:100%; margin:.25rem 0 0; }
  .single-product .overbeauty-review-form__footer { align-items:stretch; flex-direction:column; }
  .single-product .overbeauty-review-form__footer .btn { width:100%; min-height:44px; }
  .single-product .overbeauty-reviews-toolbar__controls,
  .single-product .overbeauty-reviews-sort { align-items:stretch; flex-direction:column; }
  .single-product .overbeauty-reviews-sort .form-select,
  .single-product .overbeauty-reviews-sort .choices { width:100%; min-width:100%; }
  .single-product .overbeauty-reviews-filters { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); }
  .single-product .overbeauty-reviews .devy-filter-btn { justify-content:center; }
  .single-product .overbeauty-reviews #devyReviewsList > .devy-review-item > div { gap:.65rem !important; padding:.8rem !important; }
  .single-product .overbeauty-reviews .devy-review-item > div > .flex-shrink-0 { width:38px !important; height:38px !important; border-radius:12px !important; font-size:.95rem !important; }
}

/* =========================================================
   OVERBEAUTY UNIFIED PRODUCT CARD v1
   Canonical grid/carousel card + compact commerce variants
   ========================================================= */
:root,
[data-bs-theme="light"] {
  --ob-card-primary: #6d1f19;
  --ob-card-primary-hover: #571814;
  --ob-card-ink: #291817;
  --ob-card-muted: #796b69;
  --ob-card-line: #eadfdd;
  --ob-card-soft: #f8f2f1;
  --ob-card-surface: #ffffff;
  --ob-card-gold: #b57a2b;
  --ob-card-shadow: 0 10px 30px rgba(68, 18, 14, .06);
  --ob-card-shadow-hover: 0 18px 44px rgba(68, 18, 14, .13);
}

.overbeauty-product-card {
  position: relative;
  width: 100%;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--ob-card-line);
  border-radius: 1.125rem;
  background: var(--ob-card-surface);
  box-shadow: var(--ob-card-shadow);
  color: var(--ob-card-ink);
  isolation: isolate;
  transform: translateY(0);
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}

.overbeauty-product-card__media {
  position: relative;
  display: block !important;
  flex: 0 0 auto;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
}

.overbeauty-product-card__image-wrap {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  aspect-ratio: 1 / 1 !important;
  overflow: hidden !important;
  background:
    radial-gradient(circle at 50% 36%, #fff 0, #fff 48%, #faf6f5 100%) !important;
}

.overbeauty-product-card__image {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  padding: clamp(.5rem, 4%, .9rem);
  object-fit: contain !important;
  object-position: center !important;
  transform: scale(1);
  transition: opacity .42s ease, transform .55s cubic-bezier(.2, .75, .25, 1) !important;
}

.overbeauty-product-card .product-image-back {
  opacity: 0 !important;
}

.overbeauty-product-card.has-secondary-image:hover .product-image-front {
  opacity: 0 !important;
}

.overbeauty-product-card.has-secondary-image:hover .product-image-back {
  opacity: 1 !important;
}

.overbeauty-product-card:not(.has-secondary-image):hover .product-image-front {
  opacity: 1 !important;
}

.overbeauty-product-card__badges {
  position: absolute;
  top: .7rem;
  inset-inline-start: .7rem;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .35rem;
  pointer-events: none;
}

.overbeauty-product-card__discount,
.overbeauty-product-card__stock {
  display: inline-flex;
  align-items: center;
  min-height: 1.65rem;
  padding: .25rem .55rem;
  border-radius: 999px;
  font-size: .7rem;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 4px 14px rgba(68, 18, 14, .12);
}

.overbeauty-product-card__discount {
  background: var(--ob-card-primary);
  color: #fff;
}

.overbeauty-product-card__stock {
  border: 1px solid rgba(74, 60, 58, .12);
  background: rgba(255, 255, 255, .92);
  color: #5d514f;
  backdrop-filter: blur(5px);
}

.overbeauty-product-card__quality {
  position: absolute;
  top: .7rem;
  inset-inline-end: .7rem;
  z-index: 3;
  pointer-events: none;
}

.overbeauty-product-card__quality .devy-badge {
  display: inline-flex;
  align-items: center;
  min-height: 1.65rem;
  padding: .25rem .55rem;
  border: 1px solid;
  border-radius: 999px;
  font-size: .65rem;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 4px 14px rgba(68, 18, 14, .08);
}

.overbeauty-product-card__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-width: 0;
  padding: .9rem .95rem 1rem;
  border-top: 1px solid rgba(109, 31, 25, .055);
}

.overbeauty-product-card__eyebrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 1.4rem;
  margin-bottom: .45rem;
  gap: .5rem;
}

.overbeauty-product-card__brand {
  min-width: 0;
  overflow: hidden;
  color: var(--ob-card-primary);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .01em;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}

a.overbeauty-product-card__brand:hover {
  color: var(--ob-card-primary-hover);
}

.overbeauty-product-card__rating {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: .2rem;
  color: var(--ob-card-muted);
  font-size: .68rem;
  font-weight: 700;
  direction: ltr;
}

.overbeauty-product-card__rating i {
  color: var(--ob-card-gold);
  font-size: .72rem;
}

.overbeauty-product-card__rating small {
  color: #a29491;
  font-size: .62rem;
  font-weight: 600;
}

.overbeauty-product-card__title {
  display: -webkit-box;
  min-height: 3.25em;
  margin: 0 0 .85rem;
  overflow: hidden;
  color: var(--ob-card-ink);
  font-size: .86rem;
  font-weight: 700;
  line-height: 1.625;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.overbeauty-product-card__title a {
  color: inherit;
  text-decoration: none;
}

.overbeauty-product-card__title a:hover {
  color: var(--ob-card-primary);
}

.overbeauty-product-card__footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  min-width: 0;
  margin-top: auto;
  gap: .55rem;
}

.overbeauty-product-card__price {
  min-width: 0;
  color: var(--ob-card-ink);
  font-size: .92rem;
  font-weight: 900;
  line-height: 1.45;
}

.overbeauty-product-card__price .price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .2rem .4rem;
}

.overbeauty-product-card__price del {
  color: #a89b98;
  font-size: .72rem;
  font-weight: 600;
  opacity: 1;
}

.overbeauty-product-card__price ins {
  color: var(--ob-card-primary);
  text-decoration: none;
}

.overbeauty-product-card__price .woocommerce-Price-currencySymbol {
  font-size: .7em;
  font-weight: 700;
}

.overbeauty-product-card__price-empty {
  color: var(--ob-card-primary);
  font-size: .78rem;
}

.overbeauty-product-card__action {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-width: 2.55rem;
  min-height: 2.55rem;
  padding: .55rem .72rem;
  border: 1px solid var(--ob-card-primary);
  border-radius: .78rem;
  background: var(--ob-card-primary);
  box-shadow: 0 7px 18px rgba(109, 31, 25, .2);
  color: #fff;
  font-family: inherit;
  font-size: .73rem;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  gap: .38rem;
  transition: transform .2s ease, background-color .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.overbeauty-product-card__action:hover,
.overbeauty-product-card__action:focus-visible {
  border-color: var(--ob-card-primary-hover);
  background: var(--ob-card-primary-hover);
  box-shadow: 0 9px 22px rgba(109, 31, 25, .26);
  color: #fff;
  transform: translateY(-1px);
}

.overbeauty-product-card__action:focus-visible {
  outline: 3px solid rgba(109, 31, 25, .2);
  outline-offset: 2px;
}

.overbeauty-product-card__action i {
  font-size: .9rem;
}

.overbeauty-product-card__action.is-loading {
  opacity: .72;
  pointer-events: none;
}

.overbeauty-product-card__action.is-loading i {
  animation: ob-card-spin .8s linear infinite;
}

.overbeauty-product-card__action.is-added {
  border-color: #2f7d4a;
  background: #2f7d4a;
  box-shadow: 0 7px 18px rgba(47, 125, 74, .2);
}

.overbeauty-product-card.is-out-of-stock .overbeauty-product-card__image {
  filter: saturate(.68);
}

.overbeauty-product-card.is-out-of-stock .overbeauty-product-card__action {
  border-color: #ddd2d0;
  background: #f5efee;
  box-shadow: none;
  color: #675a58;
}

/* WooCommerce loops that use content-product.php automatically inherit the card. */
.woocommerce ul.products li.product.overbeauty-product-loop-item,
.woocommerce-page ul.products li.product.overbeauty-product-loop-item {
  display: flex;
  width: auto;
  min-width: 0;
  margin: 0;
}

.woocommerce ul.products li.product.overbeauty-product-loop-item .overbeauty-product-card {
  flex: 1 1 auto;
}

/* Compact cards in checkout/order summaries. */
.overbeauty-product-card--mini {
  position: relative;
  display: inline-flex;
  flex: 0 0 4.5rem;
  width: 4.5rem;
  height: 4.5rem;
  overflow: visible;
  border-radius: .85rem;
  box-shadow: none;
  text-decoration: none;
}

.overbeauty-product-card__mini-media {
  display: grid;
  width: 100%;
  height: 100%;
  overflow: hidden;
  place-items: center;
  border-radius: inherit;
  background: #fff;
}

.overbeauty-product-card__mini-image {
  width: 100%;
  height: 100%;
  padding: .3rem;
  object-fit: contain;
  transition: transform .3s ease;
}

.overbeauty-product-card--mini:hover {
  border-color: rgba(109, 31, 25, .35);
  transform: translateY(-2px);
}

.overbeauty-product-card--mini:hover .overbeauty-product-card__mini-image {
  transform: scale(1.045);
}

.overbeauty-product-card__quantity {
  position: absolute;
  top: -.38rem;
  inset-inline-end: -.38rem;
  z-index: 2;
  display: grid;
  min-width: 1.35rem;
  height: 1.35rem;
  padding-inline: .28rem;
  place-items: center;
  border: 2px solid #fff;
  border-radius: 999px;
  background: var(--ob-card-primary);
  color: #fff;
  font-size: .65rem;
  font-weight: 900;
  line-height: 1;
}

/* Cart line items and order details share the same surface language. */
.woocommerce-cart-form__cart-item.cart_item {
  border-bottom-color: var(--ob-card-line);
}

.woocommerce-cart-form__cart-item.cart_item .ratio,
.woocommerce-cart-form__cart-item.cart_item img {
  border-radius: .85rem;
}

.woocommerce-order-received .woocommerce-order-details,
.woocommerce-order-received .woocommerce-customer-details,
.woocommerce-order-received .woocommerce-thankyou-order-received {
  border-color: var(--ob-card-line);
  border-radius: 1rem;
}

.woocommerce-order-received .woocommerce-table__product-name a,
.woocommerce-checkout-review-order-table .product-name {
  color: var(--ob-card-ink);
  font-weight: 700;
}

@media (hover: hover) and (pointer: fine) {
  .overbeauty-product-card:not(.overbeauty-product-card--mini):hover {
    border-color: rgba(109, 31, 25, .24);
    box-shadow: var(--ob-card-shadow-hover);
    transform: translateY(-5px);
  }

  .overbeauty-product-card:hover .overbeauty-product-card__image {
    transform: scale(1.035);
  }
}

@media (max-width: 767.98px) {
  .overbeauty-product-card {
    border-radius: .95rem;
    box-shadow: 0 7px 22px rgba(68, 18, 14, .055);
  }

  .overbeauty-product-card__body {
    padding: .75rem .72rem .82rem;
  }

  .overbeauty-product-card__badges,
  .overbeauty-product-card__quality {
    top: .5rem;
  }

  .overbeauty-product-card__badges {
    inset-inline-start: .5rem;
  }

  .overbeauty-product-card__quality {
    inset-inline-end: .5rem;
  }

  .overbeauty-product-card__discount,
  .overbeauty-product-card__stock,
  .overbeauty-product-card__quality .devy-badge {
    min-height: 1.45rem;
    padding: .2rem .43rem;
    font-size: .61rem;
  }

  .overbeauty-product-card__eyebrow {
    margin-bottom: .35rem;
  }

  .overbeauty-product-card__brand {
    font-size: .64rem;
  }

  .overbeauty-product-card__rating {
    font-size: .62rem;
  }

  .overbeauty-product-card__rating small {
    display: none;
  }

  .overbeauty-product-card__title {
    min-height: 3.2em;
    margin-bottom: .65rem;
    font-size: .78rem;
    line-height: 1.6;
  }

  .overbeauty-product-card__price {
    font-size: .78rem;
  }

  .overbeauty-product-card__action {
    min-width: 2.3rem;
    min-height: 2.3rem;
    padding: .45rem;
    border-radius: .68rem;
  }

  .overbeauty-product-card__action-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
  }
}

@media (max-width: 399.98px) {
  .overbeauty-product-card__rating {
    display: none;
  }

  .overbeauty-product-card__title {
    font-size: .75rem;
  }

  .overbeauty-product-card__footer {
    gap: .35rem;
  }

  .overbeauty-product-card__price {
    font-size: .72rem;
  }
}

[data-bs-theme="dark"] {
  --ob-card-ink: #f7efee;
  --ob-card-muted: #c3b5b2;
  --ob-card-line: #513936;
  --ob-card-soft: #2e2220;
  --ob-card-surface: #241b1a;
  --ob-card-shadow: 0 10px 30px rgba(0, 0, 0, .18);
  --ob-card-shadow-hover: 0 18px 44px rgba(0, 0, 0, .3);
}

[data-bs-theme="dark"] .overbeauty-product-card__image-wrap {
  background: radial-gradient(circle at 50% 36%, #fff 0, #fff 48%, #f6efee 100%) !important;
}

[data-bs-theme="dark"] .overbeauty-product-card__body {
  border-top-color: rgba(255, 255, 255, .06);
}

[data-bs-theme="dark"] .overbeauty-product-card__rating small,
[data-bs-theme="dark"] .overbeauty-product-card__price del {
  color: #a99b98;
}

[data-bs-theme="dark"] .overbeauty-product-card__mini-media {
  background: #fff;
}

[data-bs-theme="dark"] .overbeauty-product-card__quantity {
  border-color: #241b1a;
}

@keyframes ob-card-spin {
  to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .overbeauty-product-card,
  .overbeauty-product-card__image,
  .overbeauty-product-card__action,
  .overbeauty-product-card__mini-image {
    transition: none !important;
  }
}
/* =========================================================
   OVERBEAUTY ADAPTIVE PRODUCT MEDIA v1
   Preserve portrait/landscape product imagery without crop
   ========================================================= */
.overbeauty-product-card__image-wrap.image-shape-portrait,
.overbeauty-product-card__image-wrap.image-shape-landscape {
  background: #fff !important;
  box-shadow: inset 0 0 0 1px rgba(109, 31, 25, .035);
}

.overbeauty-product-card__image.image-is-portrait {
  padding-block: 4.5%;
  padding-inline: 13%;
  object-fit: contain !important;
}

.overbeauty-product-card__image.image-is-landscape {
  padding-block: 13%;
  padding-inline: 4.5%;
  object-fit: contain !important;
}

.overbeauty-product-card__mini-media.image-shape-portrait,
.overbeauty-product-card__mini-media.image-shape-landscape {
  background: #fff;
}

.overbeauty-product-card__mini-image.image-is-portrait {
  padding-block: .25rem;
  padding-inline: .75rem;
  object-fit: contain;
}

.overbeauty-product-card__mini-image.image-is-landscape {
  padding-block: .75rem;
  padding-inline: .25rem;
  object-fit: contain;
}

@media (max-width: 767.98px) {
  .overbeauty-product-card__image.image-is-portrait {
    padding-block: 3.5%;
    padding-inline: 10%;
  }

  .overbeauty-product-card__image.image-is-landscape {
    padding-block: 10%;
    padding-inline: 3.5%;
  }
}

[data-bs-theme="dark"] .overbeauty-product-card__image-wrap.image-shape-portrait,
[data-bs-theme="dark"] .overbeauty-product-card__image-wrap.image-shape-landscape,
[data-bs-theme="dark"] .overbeauty-product-card__mini-media.image-shape-portrait,
[data-bs-theme="dark"] .overbeauty-product-card__mini-media.image-shape-landscape {
  background: #fff !important;
}
/* RTL: swap directional chevron glyphs without overriding button animations. */
[dir="rtl"] .ci-chevron-right::before {
  content: "\f13e";
}

[dir="rtl"] .ci-chevron-left::before {
  content: "\f13f";
}
/* Keep assistive WooCommerce labels available to screen readers, not visually. */
.screen-reader-text {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.overbeauty-product-card__price.is-variable {
  display: inline-flex;
  flex-wrap: nowrap;
  align-items: baseline;
  gap: .22rem;
  white-space: nowrap;
}

.overbeauty-product-card__price-from {
  color: var(--ob-card-muted);
  font-size: .78em;
  font-weight: 700;
}
/* =========================================================
   OVERBEAUTY MOBILE PRODUCT CARDS: NO HOVER
   Applies to initial cards and cards inserted by AJAX/load-more.
   Desktop hover behavior remains unchanged.
   ========================================================= */
@media (max-width: 767.98px), (hover: none) and (pointer: coarse) {
  .product-card,
  .product-card:hover,
  .overbeauty-product-card,
  .overbeauty-product-card:hover,
  .overbeauty-product-card--mini,
  .overbeauty-product-card--mini:hover {
    transform: none !important;
  }

  .overbeauty-product-card,
  .overbeauty-product-card__image,
  .overbeauty-product-card__action,
  .overbeauty-product-card__mini-image {
    transition: none !important;
  }

  .product-card:hover .product-image-front,
  .overbeauty-product-card:hover .product-image-front,
  .overbeauty-product-card.has-secondary-image:hover .product-image-front {
    opacity: 1 !important;
    transform: none !important;
  }

  .product-card .product-image-back,
  .product-card:hover .product-image-back,
  .overbeauty-product-card .product-image-back,
  .overbeauty-product-card.has-secondary-image:hover .product-image-back {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    transform: none !important;
  }

  .overbeauty-product-card:hover .overbeauty-product-card__image,
  .overbeauty-product-card--mini:hover .overbeauty-product-card__mini-image,
  .product-card.hover-effect-scale:hover .hover-effect-target {
    transform: none !important;
  }

  .product-card.hover-effect-opacity:hover .hover-effect-target.opacity-0 {
    visibility: hidden !important;
    opacity: 0 !important;
  }

  .product-card.hover-effect-opacity:hover .hover-effect-target.opacity-100 {
    visibility: visible !important;
    opacity: 1 !important;
  }

  .product-card:hover .hover-effect-underline,
  .overbeauty-product-card__title a:hover {
    color: inherit !important;
    text-decoration: none !important;
  }

  a.overbeauty-product-card__brand:hover {
    color: var(--ob-card-primary) !important;
  }

  .overbeauty-product-card__action:hover {
    border-color: var(--ob-card-primary) !important;
    background: var(--ob-card-primary) !important;
    box-shadow: 0 7px 18px rgba(109, 31, 25, .2) !important;
    color: #fff !important;
    transform: none !important;
  }

  .overbeauty-product-card__action.is-added:hover {
    border-color: #2f7d4a !important;
    background: #2f7d4a !important;
    box-shadow: 0 7px 18px rgba(47, 125, 74, .2) !important;
  }

  .overbeauty-product-card.is-out-of-stock .overbeauty-product-card__action:hover {
    border-color: #ddd2d0 !important;
    background: #f5efee !important;
    box-shadow: none !important;
    color: #675a58 !important;
  }

  .overbeauty-product-card--mini:hover {
    border-color: var(--ob-card-line) !important;
    box-shadow: none !important;
  }

  .product-card:hover .count-input .form-control,
  .product-card:hover [data-decrement] {
    visibility: hidden !important;
    opacity: 0 !important;
    transition: none !important;
  }

  .product-card:hover .count-input:not(.collapsed) [data-count-input-value] {
    display: inline !important;
  }

  .product-card:hover .count-input:not(.collapsed) [data-increment] > i {
    display: none !important;
  }
}
/* ========================================================================== */
/* OVERBEAUTY ARCHIVE FILTER REDESIGN — 20260824                              */
/* ========================================================================== */
#filterSidebar {
  --ob-filter-primary: #6d1f19;
  --ob-filter-primary-dark: #44120e;
  --ob-filter-soft: #f8efee;
  --ob-filter-softer: #fcf8f7;
  --ob-filter-border: #eadcda;
  --ob-filter-text: #241b1a;
  --ob-filter-muted: #786c6a;
  direction: rtl;
}

.overbeauty-filter-panel {
  background: linear-gradient(180deg, #fff 0%, var(--ob-filter-softer) 100%);
}

.overbeauty-filter-header {
  padding: 1rem 1.1rem !important;
  border-bottom: 1px solid var(--ob-filter-border);
  background: rgba(255, 255, 255, .96);
}

.overbeauty-filter-header-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  color: #fff;
  border-radius: 14px;
  background: linear-gradient(145deg, var(--ob-filter-primary) 0%, var(--ob-filter-primary-dark) 100%);
  box-shadow: 0 9px 22px rgba(109, 31, 25, .2);
}

.overbeauty-filter-header-icon i { font-size: 1.05rem; }

.overbeauty-filter-subtitle {
  margin-top: .22rem;
  color: var(--ob-filter-muted);
  font-size: .72rem;
}

.overbeauty-filter-total,
.overbeauty-filter-trigger-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 25px;
  height: 25px;
  padding: 0 .4rem;
  color: #fff;
  border-radius: 999px;
  background: var(--ob-filter-primary);
  font-size: .72rem;
  font-weight: 700;
  line-height: 1;
}

.overbeauty-filter-header .btn-close {
  width: 40px;
  height: 40px;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 12px;
  background-color: #f7f1f0;
  background-size: .65rem;
  opacity: .8;
}

.overbeauty-filter-body {
  gap: .85rem;
  padding: .9rem !important;
  scrollbar-width: thin;
  scrollbar-color: #d8c5c2 transparent;
}

.overbeauty-filter-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  min-height: 42px;
  padding: .55rem .75rem;
  color: var(--ob-filter-primary);
  border: 1px solid #e7c9c6;
  border-radius: 13px;
  background: linear-gradient(135deg, #fff 0%, #f8e9e7 100%);
  font-size: .76rem;
  font-weight: 600;
}

.overbeauty-filter-summary a {
  flex: 0 0 auto;
  color: var(--ob-filter-primary);
  font-size: .72rem;
  text-decoration: none;
  border-bottom: 1px dashed currentColor;
}

.overbeauty-filter-accordion {
  display: grid;
  gap: .65rem;
}

#filterSidebar .overbeauty-filter-accordion > .accordion-item {
  overflow: hidden;
  margin: 0;
  padding: 0 !important;
  border: 1px solid var(--ob-filter-border) !important;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 4px 16px rgba(68, 18, 14, .035);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

#filterSidebar .overbeauty-filter-accordion > .accordion-item:hover {
  border-color: #d9c1be !important;
  box-shadow: 0 8px 24px rgba(68, 18, 14, .07);
}

#filterSidebar .overbeauty-filter-accordion > .accordion-item:has(.accordion-collapse.show) {
  border-color: #dfc7c4 !important;
  box-shadow: 0 8px 24px rgba(68, 18, 14, .065);
}

#filterSidebar .accordion-header { margin: 0; }

#filterSidebar .accordion-button {
  min-height: 52px;
  gap: .5rem;
  padding: .78rem .9rem !important;
  color: var(--ob-filter-text);
  background: transparent !important;
  box-shadow: none !important;
  font-size: .875rem;
  font-weight: 700;
}

#filterSidebar .accordion-button:not(.collapsed) {
  color: var(--ob-filter-primary);
  background: linear-gradient(90deg, rgba(248, 239, 238, 0) 0%, var(--ob-filter-soft) 100%) !important;
}

#filterSidebar .accordion-button::after {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  margin-inline-start: .15rem;
  border-radius: 50%;
  background-color: #f7f1f0;
  background-position: center;
  background-size: .72rem;
}

#filterSidebar .accordion-button:focus-visible {
  outline: 3px solid rgba(109, 31, 25, .18);
  outline-offset: -3px;
}

.overbeauty-filter-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 23px;
  height: 23px;
  margin-inline-start: auto;
  padding: 0 .35rem;
  color: var(--ob-filter-primary);
  border: 1px solid #e4c9c6;
  border-radius: 999px;
  background: #fff;
  font-size: .68rem;
  font-weight: 700;
  line-height: 1;
}

#filterSidebar .accordion-body {
  padding: .1rem .82rem .82rem !important;
}

#filterSidebar .filter-check-item {
  position: relative;
  display: flex !important;
  align-items: center;
  gap: .65rem;
  min-height: 42px;
  margin: .2rem 0;
  padding: .48rem .62rem;
  border: 1px solid transparent;
  border-radius: 11px;
  transition: color .16s ease, background-color .16s ease, border-color .16s ease;
}

#filterSidebar .filter-check-item:hover {
  color: var(--ob-filter-primary);
  background: var(--ob-filter-softer);
  border-color: #f0e5e3;
}

#filterSidebar .filter-check-item:has(.form-check-input:checked) {
  color: var(--ob-filter-primary);
  border-color: #e8cfcc;
  background: var(--ob-filter-soft);
  font-weight: 600;
}

#filterSidebar .filter-check-item .form-check-input {
  position: relative;
  z-index: 2;
  flex: 0 0 18px;
  float: none;
  width: 18px;
  height: 18px;
  margin: 0 !important;
  border-color: #cdbebb;
  box-shadow: none;
  cursor: pointer;
}

#filterSidebar .filter-check-item .form-check-input:checked {
  border-color: var(--ob-filter-primary);
  background-color: var(--ob-filter-primary);
}

#filterSidebar .filter-check-item .form-check-input:focus-visible {
  box-shadow: 0 0 0 3px rgba(109, 31, 25, .16);
}

#filterSidebar .filter-check-item .form-check-label {
  position: static;
  flex: 1 1 auto;
  margin: 0;
  color: inherit !important;
  font-size: .8rem;
  line-height: 1.55;
  cursor: pointer;
}

#filterSidebar .filter-check-item .form-check-label::after {
  position: absolute;
  inset: 0;
  content: "";
}

#filterSidebar .accordion-body > [data-simplebar] {
  margin-inline-end: -.2rem;
  padding-inline-end: .1rem;
}

#filterSidebar .simplebar-scrollbar::before {
  background: #cdb8b5;
  opacity: .6;
}

#filterSidebar .accordion-body ul .nav-link {
  display: flex;
  align-items: center;
  min-height: 40px;
  margin: .16rem 0;
  padding: .42rem .62rem !important;
  border-radius: 10px;
  font-size: .8rem;
  transition: color .16s ease, background-color .16s ease;
}

#filterSidebar .accordion-body ul .nav-link:hover {
  color: var(--ob-filter-primary) !important;
  background: var(--ob-filter-softer);
}

#filterSidebar .accordion-body ul .nav-link.fw-semibold,
#filterSidebar .accordion-body ul .nav-link.text-primary {
  color: var(--ob-filter-primary) !important;
  background: var(--ob-filter-soft);
}

#filterSidebar .accordion-body ul ul {
  margin-inline-start: .65rem !important;
  padding-inline-start: .55rem;
  border-inline-start: 2px solid #efdfdd;
}

.overbeauty-filter-search {
  position: relative;
  margin-bottom: .65rem;
}

.overbeauty-filter-search > i {
  position: absolute;
  z-index: 2;
  top: 50%;
  inset-inline-start: .78rem;
  color: #8b7f7d;
  font-size: .82rem;
  transform: translateY(-50%);
  pointer-events: none;
}

#filterSidebar .overbeauty-filter-search .filter-search-input {
  height: 42px;
  padding-inline-start: 2.35rem;
  border-color: #e4d7d5;
  border-radius: 12px;
  background: #fbf9f9;
  font-size: .76rem;
  box-shadow: none;
}

#filterSidebar .overbeauty-filter-search .filter-search-input:focus {
  border-color: #bd8f8a;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(109, 31, 25, .08);
}

.overbeauty-filter-empty {
  margin: .15rem 0 .55rem;
  padding: .65rem;
  color: var(--ob-filter-muted);
  border-radius: 10px;
  background: #faf7f6;
  font-size: .75rem;
  text-align: center;
}

.overbeauty-price-fields {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: .65rem .5rem;
}

.overbeauty-price-field {
  min-width: 0;
  margin: 0;
}

.overbeauty-price-field > span:first-child {
  display: block;
  margin-bottom: .35rem;
  color: var(--ob-filter-muted);
  font-size: .68rem;
  font-weight: 600;
}

.overbeauty-price-field .form-control {
  min-width: 0;
  height: 40px;
  padding-inline: .45rem;
  border-color: #e2d4d2;
  background: #fff;
  font-size: .72rem;
  box-shadow: none;
}

.overbeauty-price-field .input-group-text {
  padding-inline: .38rem;
  color: #7f7371;
  border-color: #e2d4d2;
  background: #f8f4f3;
  font-size: .58rem;
}

.overbeauty-price-fields #apply-price-btn {
  grid-column: 1 / -1;
  min-height: 40px;
  border-radius: 11px;
  background: var(--ob-filter-primary);
  box-shadow: 0 7px 16px rgba(109, 31, 25, .14);
}

#filterSidebar #price-slider-ui.noUi-target {
  height: 5px;
  margin: 14px 10px 20px;
  background: #eadfdd;
}

#filterSidebar #price-slider-ui .noUi-handle {
  width: 18px;
  height: 18px;
  top: -7px;
  border: 3px solid var(--ob-filter-primary);
  box-shadow: 0 3px 10px rgba(68, 18, 14, .18);
}

.overbeauty-filter-mobile-footer {
  position: sticky;
  z-index: 4;
  bottom: -.9rem;
  display: flex;
  gap: .6rem;
  margin: .25rem -.9rem -.9rem;
  padding: .8rem .9rem calc(.8rem + env(safe-area-inset-bottom));
  border-top: 1px solid var(--ob-filter-border);
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 -8px 20px rgba(68, 18, 14, .06);
  backdrop-filter: blur(10px);
}

.overbeauty-filter-mobile-footer .btn {
  min-height: 44px;
  border-radius: 12px;
}

.overbeauty-archive-toolbar {
  min-height: 62px;
  padding: .72rem .85rem;
  border: 1px solid #ece2e0;
  border-radius: 16px;
  background: linear-gradient(135deg, #fff 0%, #fcf8f7 100%);
}

.overbeauty-active-filter {
  min-height: 35px;
  color: #5d211d !important;
  border: 1px solid #ead3d0 !important;
  border-radius: 999px !important;
  background: #f9eeed !important;
  font-weight: 500;
}

.overbeauty-active-filter:hover {
  color: #fff !important;
  border-color: var(--ob-filter-primary, #6d1f19) !important;
  background: #6d1f19 !important;
}

.overbeauty-clear-active {
  min-height: 35px;
  color: #7a6f6d !important;
  text-decoration: none !important;
}

.overbeauty-clear-active:hover { color: #6d1f19 !important; }

.overbeauty-ordering select {
  min-height: 42px;
  border-color: #e3d6d4;
  border-radius: 11px;
  background-color: #fff;
  box-shadow: none;
}
/* OVERBEAUTY ARCHIVE RESULT COUNT VERTICAL ALIGNMENT — 20260824 */
@media (min-width: 768px) {
  .overbeauty-active-filters {
    min-height: 42px;
  }
}

@media (min-width: 992px) {
  .overbeauty-filter-column { padding-inline-end: .25rem; }

  .overbeauty-filter-panel {
    position: sticky !important;
    top: 116px;
    display: flex !important;
    flex-direction: column;
    max-height: calc(100vh - 136px);
    margin-inline-end: .75rem;
    overflow: hidden;
    border: 1px solid var(--ob-filter-border);
    border-radius: 22px;
    box-shadow: 0 14px 38px rgba(68, 18, 14, .07);
  }

  .overbeauty-filter-panel .offcanvas-header { display: flex !important; }
  .overbeauty-filter-panel .offcanvas-header .btn-close { display: none; }

  .overbeauty-filter-panel .offcanvas-body {
    display: flex !important;
    flex: 1 1 auto;
    overflow-x: hidden;
    overflow-y: auto;
  }
}

@media (max-width: 991.98px) {
  body:has(#filterSidebar) { padding-bottom: 86px; }

  .overbeauty-filter-panel {
    width: min(91vw, 390px) !important;
    border-inline-end: 0 !important;
    box-shadow: -18px 0 50px rgba(36, 14, 12, .16);
  }

  .overbeauty-filter-header {
    position: sticky;
    z-index: 5;
    top: 0;
  }

  .overbeauty-filter-body {
    padding-bottom: calc(1rem + env(safe-area-inset-bottom)) !important;
    background: #faf6f5;
  }

  .overbeauty-filter-trigger {
    position: fixed;
    z-index: 1035;
    bottom: max(13px, env(safe-area-inset-bottom));
    left: 50%;
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: .7rem;
    width: min(calc(100% - 26px), 430px);
    min-height: 56px;
    padding: .55rem 1rem;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 17px;
    background: linear-gradient(135deg, #6d1f19 0%, #44120e 100%);
    box-shadow: 0 14px 30px rgba(68, 18, 14, .28);
    font-size: .9rem;
    font-weight: 700;
    transform: translateX(-50%);
    transition: opacity .2s ease, transform .2s ease;
  }

  .overbeauty-filter-trigger-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 11px;
    background: rgba(255, 255, 255, .12);
  }

  .overbeauty-filter-trigger-count {
    color: #6d1f19;
    background: #fff;
  }

  body.overbeauty-filter-open .overbeauty-filter-trigger {
    opacity: 0;
    transform: translate(-50%, 20px);
    pointer-events: none;
  }

  .overbeauty-archive-toolbar {
    display: grid;
    gap: .8rem;
    padding: .75rem;
  }

  .overbeauty-ordering {
    justify-content: space-between;
    width: 100%;
  }

  .overbeauty-ordering > div { flex: 1 1 auto; }
}

@media (max-width: 575.98px) {
  .overbeauty-filter-header { padding: .85rem .9rem !important; }
  .overbeauty-filter-body { padding: .72rem !important; }
  .overbeauty-filter-accordion { gap: .55rem; }
  #filterSidebar .accordion-button { min-height: 50px; }
  .overbeauty-filter-mobile-footer { margin-inline: -.72rem; }
  .overbeauty-archive-toolbar { border-radius: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  #filterSidebar *,
  .overbeauty-filter-trigger { transition: none !important; }
}
/* OVERBEAUTY FILTER BRAND DEDUPE & PERSIAN ALIASES — 20260824 */
.overbeauty-filter-header {
  width: 100%;
  justify-content: space-between !important;
  gap: 1rem;
}

.overbeauty-filter-header > .btn-close {
  flex: 0 0 40px;
  margin-inline-start: auto !important;
}

#filterSidebar .overbeauty-brand-label {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: .08rem;
  min-width: 0;
  text-align: start;
}

#filterSidebar .overbeauty-brand-name {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  unicode-bidi: plaintext;
}

#filterSidebar .overbeauty-brand-alias {
  color: #9a7e7a;
  font-size: .64rem;
  font-weight: 500;
  line-height: 1.4;
}

#filterSidebar .filter-check-item:has(.form-check-input:checked) .overbeauty-brand-alias {
  color: #7c4b46;
}


.btn-color.devy-swatch-oos,
.btn-outline-secondary.devy-swatch-oos {
  opacity: .35;
  position: relative;
}
.btn-color.devy-swatch-oos::after,
.btn-outline-secondary.devy-swatch-oos::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    to top right,
    transparent calc(50% - 1px),
    currentColor calc(50% - .5px),
    currentColor calc(50% + .5px),
    transparent calc(50% + 1px)
  );
  pointer-events: none;
}

.devy-price-inquiry-btn {
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: #fff !important;
  border: none;
  font-weight: 600;
  box-shadow: 0 8px 20px rgba(37,211,102,.35);
  animation: devyPriceInquiryPulse 2.4s infinite;
}
.devy-price-inquiry-btn:hover { color: #fff; box-shadow: 0 10px 26px rgba(37,211,102,.45); }
@keyframes devyPriceInquiryPulse {
  0%   { box-shadow: 0 0 0 0 rgba(37,211,102,.45); }
  70%  { box-shadow: 0 0 0 12px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}