/* =========================================
   1. FONT DEFINITIONS (LOAD THESE FIRST)
   ========================================= */

/* Thin (100) */
@font-face {
    font-family: 'YekanBakh';
    src: url('https://studio.persianonyx.com//wp-content/uploads/fonts/YekanBakhFaNum-Thin.ttf') format('truetype');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

/* Light (300) */
@font-face {
    font-family: 'YekanBakh';
    src: url('https://studio.persianonyx.com/wp-content/uploads/fonts/YekanBakhFaNum-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

/* Regular (400) */
@font-face {
    font-family: 'YekanBakh';
    src: url('https://studio.persianonyx.com/wp-content/uploads/fonts/YekanBakhFaNum-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* SemiBold (600) */
@font-face {
    font-family: 'YekanBakh';
    src: url('https://studio.persianonyx.com/wp-content/uploads/fonts/YekanBakhFaNum-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

/* Bold (700) */
@font-face {
    font-family: 'YekanBakh';
    src: url('https://studio.persianonyx.com/wp-content/uploads/fonts/YekanBakhFaNum-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* ExtraBold (800) */
@font-face {
    font-family: 'YekanBakh';
    src: url('https://studio.persianonyx.com/wp-content/uploads/fonts/YekanBakhFaNum-ExtraBold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

/* Black (900) */
@font-face {
    font-family: 'YekanBakh';
    src: url('https://studio.persianonyx.com/wp-content/uploads/fonts/YekanBakhFaNum-Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

/* ExtraBlack (950) */
@font-face {
    font-family: 'YekanBakh';
    src: url('https://studio.persianonyx.com/wp-content/uploads/fonts/YekanBakhFaNum-ExtraBlack.ttf') format('truetype');
    font-weight: 950;
    font-style: normal;
    font-display: swap;
}

/* =========================================
   2. DARK / LIGHT MODE VARIABLES
   ========================================= */

/* Light Mode (Default) */
:root {
    --bg-colour: #ffff;
    --onyx: #07191E;
    --warm-white: #ffff;
    --cart-bg: #ffffff;
    --golden: #c9a227;      
    --cart-text: #1e1e1e;       
    --cart-panel-bg: #ffffff;   
    --cart-panel-border: rgba(30, 30, 30, 0.1); 
    --cart-btn-bg: linear-gradient(135deg, #009688, #8e24aa);
    --cart-btn-text: #644b4b;
    --cart-btn-shadow: 0 10px 28px rgba(0, 150, 136, 0.45);
    --cart-btn-hover-shadow: 0 14px 36px rgba(0, 150, 136, 0.6);
    --cart-link-color: #000000;
    --cart-link-hover: #333333;

    --po-teal: #009688;
    --po-teal-dark: #00796b;
    --po-teal-soft: rgba(0, 150, 136, 0.1);
    --po-teal-border: rgba(0, 150, 136, 0.22);
}

/* Dark Mode */
body.dark-mode, html[data-theme="dark"] {
    --cart-bg: #07191E;
    --cart-text: #F6EEE5;
    --cart-panel-bg: var(--onyx);
    --cart-panel-border: rgba(0, 150, 136, 0.12);
    --cart-btn-bg: linear-gradient(135deg, #009688, #8e24aa);
    --cart-btn-text: #F6EEE5;
    --cart-btn-shadow: 0 10px 28px rgba(0, 150, 136, 0.45);
    --cart-btn-hover-shadow: 0 14px 36px rgba(0, 150, 136, 0.6);
    --cart-link-color: #26a69a;
    --cart-link-hover: #009688;
}

/* =========================================
   3. GLOBAL TYPOGRAPHY 
   ========================================= */

body, p, a, span, div, li, td, th {
    font-family: 'YekanBakh', sans-serif !important;
}

p, span, div, li {
    font-weight: 400; 
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'YekanBakh', sans-serif !important;
    font-weight: 700;
    margin-bottom: 0.5em;
}

h1 { font-weight: 900; }
h3 { font-weight: 600; }

button, input, select, textarea, .button, .wc-block-cart__submit-button {
    font-family: 'YekanBakh', sans-serif !important;
}

/* =========================================
   4. RTL / FARSI FORCE OVERRIDES (MUST BE AT THE BOTTOM)
   ========================================= */

body.rtl,
body.rtl *,
html[lang="fa-IR"] body,
html[lang="fa-IR"] body * {
    font-family: 'YekanBakh', sans-serif !important;
}

html,
body {
    overflow-x: hidden;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

body.rtl h1.single-title,
html[lang="fa-IR"] h1.single-title {
    font-family: 'YekanBakh', sans-serif !important;
    font-weight: 900 !important;
}

::-webkit-scrollbar {
    width: 0;
    height: 0;
    background: transparent;
}



/* =========================================
   5. LUXURY HERO SECTION - PERSIAN ONYX
   ========================================= */

/* --- 1. Base Layout & Background --- */
.hero-section {
    position: relative;
    min-height: 90vh; /* Full viewport height feel */
    display: flex;
    align-items: center;
    overflow: hidden;
    color: #ffffff;
    font-family: 'YekanBakh', sans-serif; /* Ensures custom font is applied */
    direction: rtl; /* Native RTL alignment */
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.02); /* Slight zoom to enhance depth */
}

/* Luxurious Vignette / Dark Fade Overlay */
.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    /* Dark gradient favoring the RTL reading direction */
    background: linear-gradient(to left, rgba(26, 26, 26, 0.95) 0%, rgba(26, 26, 26, 0.4) 50%, rgba(26, 26, 26, 0.8) 100%);
}

.hero-content.hero-grid {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 6rem 5%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .hero-content.hero-grid {
        grid-template-columns: 1.6fr 1fr; /* Main content is wider than sidebar */
        gap: 6rem;
    }
}


/* =========================================
   HERO SECTION LAYOUT (UPDATED FOR SIDEBAR)
   ========================================= */
.hero-section {
  padding: 100px 5%;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.2fr);
  gap: 4rem;
  align-items: center;
  background: radial-gradient(circle at 50% -20%, rgba(142, 36, 170, 0.15), transparent 70%);
}

@media (max-width: 900px) {
  .hero-section {
    grid-template-columns: 1fr; /* Stacks on mobile */
    text-align: center;
  }
  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-mottos, .cta-row {
    justify-content: center;
  }
}

/* =========================================
   6. HERO SIDEBAR INNER (MYSTERY CARD AESTHETIC)
   ========================================= */
.hero-sidebar-inner {
  position: relative;
  padding: 1.8rem;
  border-radius: 1.4rem;
  background: radial-gradient(circle at top left, #101227, #050609 55%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.7);
  overflow: hidden;
  text-align: left;
}

/* Orbiting Glow Effect */
.panel-glow-orbit {
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(106, 27, 154, 0.6), transparent 60%);
  top: -80px;
  right: -70px;
  opacity: 0.65;
  pointer-events: none;
}

.panel-glow-orbit::after {
  content: "";
  position: absolute;
  inset: 18%;
  border-radius: inherit;
  border: 1px dashed rgba(255, 255, 255, 0.18);
  animation: orbitSpin 15s linear infinite;
}

@keyframes orbitSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}



/* =========================================
   7. EDITOR'S PICKS TICKER (LUXURY GLASS STYLE)
   ========================================= */

/* 1. Main Panel Container */
.hero-sidebar-inner {
    position: relative;
    padding: 2.5rem;
    border-radius: 24px;
    background: radial-gradient(circle at top right, rgba(26, 26, 46, 0.8), rgba(5, 6, 9, 0.95));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
    overflow: hidden;
    direction: rtl;
    text-align: right;
}

/* 2. Header & Title */
.hero-sidebar-header {
	direction: rtl;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.hero-sidebar-title {
    font-size: 1.4rem;
    font-weight: 800;
    margin: 0;
    letter-spacing: 0.5px;
    /* Gradient Text Effect */
    background: linear-gradient(
120deg, #8e24aa, #26a69a);
background-clip: text;
}

/* 3. Navigation Controls (Arrows) */
.hero-ticker-controls {
    display: flex;
    gap: 0.5rem;
}

.hero-ticker-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-ticker-btn:hover {
    background: #009688; /* Teal Accent */
    border-color: #009688;
    color: #ffffff;
    box-shadow: 0 0 15px rgba(0, 150, 136, 0.4);
    transform: scale(1.05);
}

/* 4. Ticker Window & Items */
.hero-ticker-window {
    position: relative;
    /* Soft fade at top and bottom if items scroll */
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 5%, black 95%, transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0%, black 5%, black 95%, transparent 100%);
}

.hero-ticker-item {
    display: block;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    padding: 1.2rem;
    margin-bottom: 1rem; /* Gap between items */
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

/* Glowing Left Border on Hover */
.hero-ticker-item::before {
    content: '';
    position: absolute;
    top: 0; 
    right: 0; /* Placed on Right for RTL */
    width: 4px; 
    height: 100%;
    background: linear-gradient(to bottom, #8e24aa, #009688);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hero-ticker-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(0, 150, 136, 0.2);
    transform: translateX(-5px); /* Gentle push to left on hover */
}

.hero-ticker-item:hover::before {
    opacity: 1;
}

/* 5. Typography Inside Items */
.hero-ticker-cat {
	display: flex;
    font-size: 0.75rem;
    font-weight: 700;
    color: #00bfa5;
    background: rgba(0, 191, 165, 0.1);
    padding: 4px 10px;
    border-radius: 6px;
    display: inline-block;
    margin-bottom: 0.8rem;
    letter-spacing: 0.5px;
}

.hero-ticker-title {
    font-size: 1.2rem;
    color: #ffffff;
    font-weight: 700;
    line-height: 1.5;
    margin: 0 0 0.5rem 0;
    transition: color 0.3s ease;
}

.hero-ticker-item:hover .hero-ticker-title {
    color: #00bfa5; /* Highlights title on card hover */
}

.hero-ticker-meta {
    font-size: 0.85rem;
    color: #888888;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* 6. Animated Progress Bar at the Bottom */
.hero-ticker-progress {
    margin-top: 1.5rem;
    height: 4px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    position: relative;
    /* Allows the dots to overflow the container slightly */
    overflow: visible; 
}

.hero-ticker-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #8e24aa, #009688);
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 150, 136, 0.6);
    position: relative;
    z-index: 1;
}

/* Progress Dots along the bar */
.progress-segment-dot {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: #1a1a2e; /* Dark base */
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    z-index: 2;
    transition: all 0.4s ease;
}

/* When a dot is "passed" by the progress bar */
.progress-segment-dot.filled {
    background: #00bfa5;
    border-color: #00bfa5;
    box-shadow: 0 0 8px rgba(0, 191, 165, 0.8);
}

.gradient-text {
    /* ایجاد طیف رنگی از سبز/فیروزه‌ای به بنفش */
    background: linear-gradient(135deg, #10b981 0%, #8b5cf6 100%);
    
    /* اعمال پس‌زمینه فقط روی متن */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    
    /* برای جلوگیری از بهم‌ریختگی خطوط در حالت ریسپانسیو */
font-family: 'YekanBakh', sans-serif !important;
    font-weight: 900 !important;
    font-size: clamp(2.5rem, 5vw, 4.5rem) !important;
    line-height: 1.2;
    display: inline-block; 
}



/* =========================================
   3. CART BLOCK STYLING
   ========================================= */

.wp-block-woocommerce-cart {
    background-color: var(--cart-bg) !important;
    color: var(--cart-text) !important;
    padding: 20px;
    border-radius: 16px;
}

.wp-block-woocommerce-cart a {
    color: var(--cart-link-color);
    transition: color 0.3s ease;
}

.wp-block-woocommerce-cart a:hover {
    color: var(--cart-link-hover);
}

.wc-block-components-totals-wrapper,
.wc-block-cart__totals-title {
    background-color: var(--cart-panel-bg) !important;
    border: 1px solid var(--cart-panel-border) !important;
    color: var(--cart-text) !important;
    border-radius: 12px !important;
    padding: 20px;
}

.wc-block-cart__submit-button {
    background: var(--cart-btn-bg) !important;
    color: var(--cart-btn-text) !important;
    border: none !important;
    border-radius: 999px !important; 
    padding: 16px 40px !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    box-shadow: var(--cart-btn-shadow) !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.wc-block-cart__submit-button:hover {
    transform: translateY(-2px) !important;
    box-shadow: var(--cart-btn-hover-shadow) !important;
}

/* =========================================
   CART SIDEBAR / ORDER SUMMARY BOX
   ========================================= */

/* Main Sidebar Container */
.wc-block-components-sidebar {
    background-color: var(--cart-panel-bg) !important;
    border: 1px solid var(--cart-panel-border) !important;
    border-radius: 16px !important;
    padding: 24px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04) !important;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

body.dark-mode .wc-block-components-sidebar, 
html[data-theme="dark"] .wc-block-components-sidebar {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
}

/* Sidebar Heading (جمع کل سبد خرید) */
.wc-block-components-sidebar .wc-block-cart__totals-title {
    font-size: 1.25rem !important;
    font-weight: 800 !important;
    color: var(--cart-text) !important;
    background-color: transparent !important;
    border: none !important;
    border-bottom: 2px solid var(--cart-panel-border) !important;
    border-radius: 0 !important;
    padding: 0 0 16px 0 !important;
    margin-bottom: 16px !important;
margin-top: 10px
}

/* Row Wrappers (Coupon, Shipping, Totals) */
.wc-block-components-sidebar .wc-block-components-totals-wrapper {
    background-color: transparent !important;
    border: none !important;
    border-bottom: 1px solid var(--cart-panel-border) !important;
    border-radius: 0 !important;
    padding: 16px 0 !important;
    margin: 0 !important;
}

/* Remove border from the last row before the checkout button */
.wc-block-components-sidebar .wc-block-components-totals-wrapper:last-of-type {
    border-bottom: none !important;
}

/* Subtotal / totals rows: label right, value left, full width */
body.woocommerce-cart .wc-block-components-totals-item {
    display: flex !important;
    align-items: center;
    justify-content: space-between;         /* space between label & value */
    width: 100%;
}

/* Optional: nicer text styles */
body.woocommerce-cart .wc-block-components-totals-item__label {
    font-size: 14px;
    color: #777;
}

body.woocommerce-cart .wc-block-components-totals-item__value {
    font-size: 15px;
    font-weight: 600;
    color: #222;
}

.table.wc-block-cart-items.wp-block-woocommerce-cart-line-items-block{

}

td.wc-block-cart-item__product{

}
th.wc-block-cart-items__header-product {
    display: flex;
    padding-right: 50px !important;
    visibility: visible !important;
    border: none !important;
    border-bottom: 2px solid var(--cart-panel-border) !important;
}

/* Cart page only – do NOT touch product variations tables */
body.woocommerce-cart th,
body.woocommerce-cart td {
    border: none !important;
}

body.woocommerce-cart table,
body.woocommerce-cart tr {
    border-bottom: 2px solid var(--cart-panel-border) !important;
}


.wc-block-cart-item__wrap {
    display: flex
;
    flex-direction: column;
    align-items: flex-start;
}
.wc-block-cart-item__quantity {
    margin-top: 8px;
    display: inline-flex
;
}

/* Text Colors inside the Sidebar */
.wc-block-components-sidebar .wc-block-components-totals-item__label,
.wc-block-components-sidebar .wc-block-components-totals-item__value,
.wc-block-components-sidebar .wc-block-components-panel__button {
    color: var(--cart-text) !important;
}

/* Coupon Dropdown Button Styling */
.wc-block-components-sidebar .wc-block-components-panel__button {
    font-weight: 600 !important;
    transition: color 0.3s ease !important;
}

.wc-block-components-sidebar .wc-block-components-panel__button:hover {
    color: var(--cart-link-hover) !important;
}

.wc-block-components-sidebar .wc-block-components-panel__button-icon {
    fill: var(--cart-text) !important;
}

/* Final Total Price Box (مجموع تقریبی) */
.wc-block-components-sidebar .wc-block-components-totals-footer-item {
    font-size: 1.2rem !important;
    font-weight: 800 !important;
    padding-top: 8px !important;
}

.wc-block-components-sidebar .wc-block-components-totals-footer-item-tax-value {
    color: var(--cart-text) !important;
}

/* Checkout Button Spacing inside Sidebar */
.wc-block-cart__submit {
    margin-top: 24px !important;
}

/* Ensure the Gradient Button stays consistent */
.wc-block-components-sidebar .wc-block-cart__submit-button {
    background: var(--cart-btn-bg) !important;
    color: var(--cart-btn-text) !important;
    border: none !important;
    border-radius: 999px !important; 
    padding: 16px 24px !important;
    width: 100% !important;
    justify-content: center !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    box-shadow: var(--cart-btn-shadow) !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.wc-block-components-sidebar .wc-block-cart__submit-button:hover {
    transform: translateY(-2px) !important;
    box-shadow: var(--cart-btn-hover-shadow) !important;
}
/* =========================================
   CART LINE ITEMS (PRODUCTS TABLE)
   ========================================= */

/* Table Headers */
.wc-block-cart-items__header th {
    color: var(--cart-text) !important;
    opacity: 0.8 !important;
    font-weight: 600 !important;
    border-bottom: 2px solid var(--cart-panel-border) !important;
    padding-bottom: 16px !important;
}

/* Row Spacing & Borders */
/* .wc-block-cart-items__row {
    border-bottom: 1px solid var(--cart-panel-border) !important;
    transition: background-color 0.3s ease;
}

.wc-block-cart-items__row td {
    padding: 24px 0 !important;
} */

/* Remove bottom border from the last item */
.wc-block-cart-items__row:last-child {
    border-bottom: 0;
}

@media (max-width: 1024px) {

.wc-block-components-order-summary-item {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    border-bottom: 0;
}

/* Small color circle inside swatch – does NOT touch .po-swatch pill styling */
.po-swatches .po-swatch {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.po-swatches .po-swatch .po-swatch-color {
    display: inline-block !important;
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
    min-height: 18px !important;
    border-radius: 25%;
    border: 1px solid rgba(0, 0, 0, 0.25);
    flex: 0 0 18px;
    visibility: visible !important;
    opacity: 1 !important;
}

.wc-block-components-order-summary-item__image {
    width: 80px !important;
    min-width: 80px !important;
    height: 80px !important;
}

.wc-block-components-order-summary-item__image img {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover;
    border-radius: 10px;
}

.product-meta {
        align-items: stretch;
        gap: 10px;
    }

    .product-meta .price {
        width: 100%;
        font-size: .98rem !important;
    }

    .product-meta .button {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

.product-meta {
        align-items: stretch;
        gap: 10px;
    }

    .product-meta .price {
        width: 100%;
        font-size: .98rem !important;
    }

    .product-meta .button {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
.cursor-glow {
        display: none !important;
    }

}

@media (min-width: 1025px) {

.wc-block-components-order-summary-item__image {
    width: 72px !important;
    min-width: 72px !important;
    height: 72px !important;
}

.wc-block-components-order-summary-item__image img {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover;
    border-radius: 10px;
}
}


.wc-block-components-order-summary-item__image {
    position: relative;
}

.wc-block-components-order-summary-item__quantity {
    position: absolute;
    top: -6px;
    inset-inline-start: -6px; /* RTL safe */
    padding: 13px !important;
    width: 40px !important;
    height: 22px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--po-teal);
    color: #fff;
    font-size: 12px;
    font-weight: 700;

    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0,0,0,.15);
}
.wc-block-components-order-summary-item__quantity::after {
    content: " مورد";
    font-size: 12px;
    font-weight: 500;
/*     margin-inline-start: 4px; */
}


/* Product Image Styling */
.wc-block-cart-item__image img {
    border-radius: 12px !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1) !important;
    transition: transform 0.3s ease !important;
}

.wc-block-cart-item__image a:hover img {
    transform: scale(1.05) !important;
}

body.dark-mode .wc-block-cart-item__image img,
html[data-theme="dark"] .wc-block-cart-item__image img {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4) !important;
}


/* Product Name Link */
.wc-block-components-product-name {
    color: var(--cart-text) !important;
    font-weight: 800 !important;
    font-size: 1.15rem !important;
    text-decoration: none !important;
    transition: opacity 0.2s ease !important;
}
.header-cart-icon{
direction: ltr;
    width: auto;
    display: flex;
    justify-content: space-between;
 border-radius: 50px !important;
}
.matcha-cart-count {

        padding: 2px 2px !important; /* پدینگ مناسب برای شکل بیضی/دایره */
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50px !important; /* گرد کردن کامل گوشه‌ها */
    background-color: #009688 !important; /* رنگ پس‌زمینه در حالت روشن */
    color: #07191E !important; /* رنگ متن در حالت روشن */
    font-size: 0.85em !important;
    font-weight: bold !important;
    min-width: 24px !important; /* حداقل عرض برای اینکه وقتی عدد 1 است شکل ظاهری به هم نریزد */
    text-align: center !important; 
}
span.matcha-cart-count {
    margin-right: 10px;
}
svg.cart-svg {
    margin-left: 10px;
    margin-right: 10px;
}

/* استایل حالت تاریک (Dark Mode) */
@media (prefers-color-scheme: dark) {
    .matcha-cart-count {
        background-color: #009688 !important; /* رنگ پس‌زمینه در حالت تاریک */
        color: #ffffff !important; /* رنگ متن در حالت تاریک */
    }
}

.wc-block-components-product-name:hover,
.wc-block-components-product-name a:hover {
	cursor: pointer;
    background: linear-gradient(120deg, #ab47bc, #00bfa5) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    color: transparent !important;
    /* اگر می‌خواهید افکت حرکت به سمت بالا را هم حفظ کنید، خط زیر را نگه دارید */
    transform: translateY(-2px) !important; 
    display: inline-block !important;
}

/* Product Meta / Description */
.wc-block-components-product-metadata__description {
    color: var(--cart-text) !important;
    opacity: 0.7 !important;
    font-size: 0.85rem !important;
    margin-top: 8px !important;
}

/* Prices (Old & Discounted) */
.wc-block-components-product-price__regular {
    color: var(--cart-text) !important;
    opacity: 0.5 !important;
    text-decoration-color: #ff5252 !important; /* Red strikethrough */
}

.wc-block-components-product-price__value.is-discounted {
    color: #009688 !important; /* Persian Onyx teal for discounted text */
    font-weight: 800 !important;
}

/* Quantity Selector (Glassmorphism look) */
.wc-block-components-quantity-selector {
    background-color: var(--cart-panel-bg) !important;
    border: 1px solid var(--cart-panel-border) !important;
    border-radius: 99px !important; /* Pill shape */
    padding: 2px !important;
}
.wc-block-components-order-summary .wc-block-components-order-summary-item__quantity{
    background: #009688;
}
.wc-block-components-order-summary .wc-block-components-order-summary-item{
    flex-wrap: wrap;
}

.wc-block-components-quantity-selector__input {
    color: var(--cart-text) !important;
    font-weight: 700 !important;
    background: transparent !important;
}

.wc-block-components-quantity-selector__button {
    color: var(--cart-text) !important;
    background: transparent !important;
    transition: background-color 0.2s ease !important;
    border-radius: 50% !important;
}

.wc-block-components-quantity-selector__button:hover:not(:disabled) {
    background-color: var(--cart-panel-border) !important;
}

/* Remove Icon (Trash bin) */
.wc-block-cart-item__remove-link {
    background: transparent !important;
    border: none !important;
}

.wc-block-cart-item__remove-link svg {
    fill: var(--cart-text) !important;
    opacity: 0.6 !important;
    transition: fill 0.2s ease, transform 0.2s ease !important;
}

.wc-block-cart-item__remove-link:hover svg {
    fill: #ff5252 !important; /* Turns red on hover */
    transform: scale(1.1) !important;
    opacity: 1 !important;
}

/* Total Price Column */
.wc-block-cart-item__total .wc-block-components-product-price__value {
    color: var(--cart-text) !important;
    font-weight: 800 !important;
    font-size: 1.1rem !important;
}

/* Sale Badge (ذخیره / Save) */
.wc-block-components-sale-badge {
    background: var(--cart-btn-bg) !important; /* Persian Onyx Gradient */
    color: white !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 4px 10px !important;
    font-size: 0.8rem !important;
    font-weight: 700 !important;
    box-shadow: var(--cart-btn-shadow) !important;
    margin-top: 8px !important;
}


.product-meta {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
display: flex
;
    flex-direction: row-reverse;
}

h2.woocommerce-loop-product__title {
    min-height: 65px;
max-height: 65px;
padding-bottom: 0px !important;
overflow: hidden;
}
.product-meta .price {
    flex: 1 1 auto;
    min-width: 0;
    font-weight: 800 !important;
    font-size: 1.05rem !important;
    line-height: 1.8;
}

.product-meta .button {
    flex: 0 0 auto;
    white-space: nowrap;
		color: white !important;
		background: #009688;
		padding: 12px;
		font-weight: 800 !important;
}

.product-meta {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.product-meta .price {
    flex: 1 1 auto;
    min-width: 0;
    font-weight: 800 !important;
    font-size: 1.05rem !important;
    line-height: 1.8;
    overflow-wrap: anywhere;
}

.product-meta .button {
    flex: 0 0 auto;
    white-space: nowrap;
}


/* --- 2. Main Story Column --- */
.hero-main-col {
    animation: fadeUp 1s ease-out forwards;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    color: #009688; /* Persian Onyx Teal */
    font-weight: 700;
}

.hero-tag-dot {
    width: 8px;
    height: 8px;
    background: #8e24aa; /* Persian Onyx Purple */
    border-radius: 50%;
    animation: heroPulse 2s infinite;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    color: #ffffff;
}

.hero-excerpt {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    font-weight: 300;
    line-height: 1.8;
    opacity: 0.85;
    max-width: 90%;
    margin-bottom: 3.5rem;
}

.hero-bottom {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 2.5rem;
}

/* Main Call to Action Button */
.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 36px;
    background: linear-gradient(135deg, #009688 0%, #8e24aa 100%);
    color: #ffffff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 800;
    font-size: 1.05rem;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 30px rgba(142, 36, 170, 0.3);
}

.hero-cta:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(142, 36, 170, 0.6);
    color: #ffffff;
}

.hero-cta svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.hero-cta:hover svg {
    transform: translateX(-6px); /* Arrow moves left on hover in RTL */
}

/* Post Meta (Author, Date) */
.hero-meta-inline {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    opacity: 0.7;
    font-weight: 400;
}

.hero-meta-inline .dot {
    width: 4px;
    height: 4px;
    background: currentColor;
    border-radius: 50%;
}

/* --- 3. Glassmorphism Sidebar (Editor's Picks) --- */
.hero-sidebar-inner {
    background: rgba(26, 26, 26, 0.3);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    animation: fadeUp 1.2s ease-out forwards;
}

.hero-sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 1.5rem;
}

.hero-sidebar-title {
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: 1px;
    margin: 0;
		font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
    background: linear-gradient(120deg, var(--secondary-light), var(--primary-light));
    -webkit-background-clip: text;
    background-clip: text;
}

.hero-ticker-controls button {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-ticker-controls button:hover {
    background: rgba(255, 255, 255, 0.1);
}

.hero-ticker-item {
    display: block;
    text-decoration: none;
    color: #ffffff;
    padding: 1.2rem 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.hero-ticker-item:hover {
    transform: translateX(-8px); /* RTL slide effect */
}

.hero-ticker-cat {
    display: block;
    font-size: 0.8rem;
    color: #8e24aa;
    margin-bottom: 8px;
    font-weight: 700;
}

.hero-ticker-title {
    font-size: 1.2rem;
    font-weight: 800;
    margin: 0 0 10px 0;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.hero-ticker-item:hover .hero-ticker-title {
    color: #009688;
}

.hero-ticker-meta {
    font-size: 0.85rem;
    opacity: 0.6;
}

/* Progress Bar / Ticker Dots */
.hero-ticker-progress {
    position: relative;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    margin-top: 2rem;
    border-radius: 3px;
}

.hero-ticker-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #8e24aa, #009688);
    border-radius: 3px;
}

.progress-segment-dot {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transition: background 0.4s ease, box-shadow 0.4s ease;
}

.progress-segment-dot.filled {
    background: #ffffff;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
}

/* --- 4. Animations --- */
@keyframes heroPulse {
    0% { box-shadow: 0 0 0 0 rgba(142, 36, 170, 0.7); }
    70% { box-shadow: 0 0 0 12px rgba(142, 36, 170, 0); }
    100% { box-shadow: 0 0 0 0 rgba(142, 36, 170, 0); }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Header & Tags */
.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.4rem;
  font-size: 0.75rem;
  color: #a0a0a0;
}

.panel-header span {
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.panel-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(5, 6, 9, 0.8);
  color: #ffffff;
}

.panel-tag-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: radial-gradient(circle, #ab47bc, #ffffff);
  box-shadow: 0 0 12px rgba(106, 27, 154, 0.9);
}

/* Typography Inside Panel */
.panel-main-title {
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #a0a0a0;
  margin-bottom: 0.5rem;
}

.panel-main-highlight {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  background: linear-gradient(120deg, #ab47bc, #00bfa5);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.panel-main-sub {
  font-size: 0.82rem;
  color: #a0a0a0;
  margin-bottom: 1.1rem;
  line-height: 1.5;
}

/* Internal Grid Stats */
.panel-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  margin-bottom: 1.1rem;
  font-size: 0.78rem;
}

.panel-item {
  padding: 0.7rem 0.8rem;
  border-radius: 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: radial-gradient(circle at top left, rgba(0, 150, 136, 0.14), rgba(5, 6, 9, 0.9));
}

.panel-item-title {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #a0a0a0;
  margin-bottom: 0.25rem;
}

.panel-item-value {
  font-size: 0.96rem;
  font-weight: 600;
  color: #ffffff;
}

/* Timeline Progress Bar */
.panel-timeline {
  margin-top: 0.7rem;
  font-size: 0.75rem;
  color: #a0a0a0;
}

.timeline-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.4rem;
}

.timeline-bar {
  position: relative;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  margin-top: 0.6rem;
  overflow: hidden;
}

.timeline-bar-fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 55%;
  background: linear-gradient(90deg, #8e24aa, #009688, #00bfa5);
  box-shadow: 0 0 10px rgba(0, 150, 136, 0.7);
}


/* Main Call to Action Button (Forced Gradient for Light/Dark & Hover) */
.hero-cta,
body.dark-mode .hero-cta,
html[data-theme="dark"] .hero-cta {
    display: inline-flex !important;
    align-items: center;
    gap: 12px;
    padding: 16px 36px !important;
    background: linear-gradient(135deg, #009688 0%, #8e24aa 100%) !important;
    color: #ffffff !important;
    text-decoration: none !important;
    border-radius: 50px !important;
    font-weight: 800 !important;
    font-size: 1.05rem;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
    box-shadow: 0 10px 30px rgba(142, 36, 170, 0.3) !important;
    border: none !important;
}

.hero-cta:hover,
body.dark-mode .hero-cta:hover,
html[data-theme="dark"] .hero-cta:hover {
    background: linear-gradient(135deg, #009688 0%, #8e24aa 100%) !important;
    color: #ffffff !important;
    transform: translateY(-4px) !important;
    box-shadow: 0 15px 40px rgba(142, 36, 170, 0.6) !important;
    border: none !important;
}

.hero-cta svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
    fill: #ffffff !important;
}

.hero-cta:hover svg {
    transform: translateX(-6px); /* Arrow moves left on hover in RTL */
}
.panel-glow-orbit {
    position: absolute;
    top: -30px;    /* تنظیم فاصله از بالا (می‌توانید تغییر دهید) */
    right: -30px;  /* تنظیم فاصله از راست (می‌توانید تغییر دهید) */
    width: 150px;
    height: 150px;
    
    /* افکت درخشش گرادیانی متناسب با رنگ‌های سایت شما */
    background: radial-gradient(circle, rgba(139, 92, 246, 0.4) 0%, rgba(16, 185, 129, 0) 70%);
    border-radius: 50%;
    
    /* مهم: این کد باعث می‌شود افکت مزاحم کلیک کردن روی دکمه‌ها نشود */
    pointer-events: none; 
    
    /* در صورت وجود انیمیشن چرخش در کدهای شما */
    animation: orbitSpin 10s linear infinite; 
    
    z-index: 0;
}
.hero-ticker-progress-bar {
    width: 99% !important;
}
/* برای اینکه محتوای سایدبار روی این درخشش قرار بگیرد */
.hero-sidebar-header, 
.hero-ticker-window {
    position: relative;
    z-index: 1;
}

.hero-sidebar-inner {
  position: relative;
  padding: 1.8rem;
  border-radius: 1.4rem;
  background: radial-gradient(circle at top left, #101227, #050609 55%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.7);
  overflow: hidden;
  text-align: left;
}

/* Orbiting Glow Effect */
.panel-glow-orbit {
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(106, 27, 154, 0.6), transparent 60%);
  top: -80px;
  right: -70px;
  opacity: 0.65;
  pointer-events: none;
}

.panel-glow-orbit::after {
  content: "";
  position: absolute;
  inset: 18%;
  border-radius: inherit;
  border: 1px dashed rgba(255, 255, 255, 0.18);
  animation: orbitSpin 15s linear infinite;
}

@keyframes orbitSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@media (min-width: 768px) {
  .alignwide {
    margin-left: 0px;
    margin-right: 0px;
    max-width: calc(100% + 200px);
    width: auto;
  }
}

.wc-block-cart-item__wrap{
    padding: 10px;
}


.price {
    direction: ltr !important;
    display: flex;
    flex-direction: row-reverse !important;
}

/* انتقال دکمه افزودن به سبد خرید به سمت چپ در صفحه فروشگاه */
ul.products li.product .add_to_cart_button {
    display: block !important;
    width: fit-content !important; /* عرض دکمه به اندازه متن آن تنظیم می‌شود */
    margin-right: auto !important; /* در سایت‌های راست‌چین، این کد المان را به چپ می‌چسباند */
    margin-left: 0 !important;
    margin-bottom: 15px !important; /* فاصله جزئی از پایین برای زیبایی بیشتر */
}
.attachment-woocommerce_thumbnail {
	border-radius: 20px;
}

/* استایل کلی برای فرم و دراپ‌داون مرتب‌سازی ووکامرس */
.woocommerce-ordering {
    margin-bottom: 20px !important;
}

.woocommerce-ordering select.orderby {
    /* حذف استایل پیش‌فرض مرورگر */
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    
    /* تنظیمات ظاهری */
    background-color: #fdfbf7  !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 8px !important; /* گوشه‌های گرد */
    padding: 10px 16px 10px 40px !important; /* پدینگ بیشتر در سمت چپ برای آیکون فلش */
    
    /* تایپوگرافی */
    font-family: inherit !important; /* ارث‌بری فونت یکان‌بخش */
    font-size: 0.95em !important;
    color: #333333 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04) !important;
    
    /* آیکون فلش سفارشی برای سایت راست‌چین */
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23555555%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: left 12px center !important; /* قرارگیری آیکون در سمت چپ */
    background-size: 12px auto !important;
}

/* افکت Hover و Focus (هاور با رنگ فیروزه‌ای گرادیان شما) */
.woocommerce-ordering select.orderby:hover,
.woocommerce-ordering select.orderby:focus {
    border-color: #00bfa5 !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(0, 191, 165, 0.15) !important;
}

/* =========================================
   پشتیبانی از Dark Mode (هماهنگ با دکمه تغییر حالت قالب)
========================================= */
body.dark-mode .woocommerce-ordering select.orderby,
html[data-theme="dark"] .woocommerce-ordering select.orderby {
    background-color: #07191E !important;
    border-color: #333333 !important;
    color: #f0f0f0 !important;
    /* تغییر رنگ آیکون فلش به سفید */
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23f0f0f0%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E") !important;
}

/* افکت Hover در حالت تاریک */
body.dark-mode .woocommerce-ordering select.orderby:hover,
html[data-theme="dark"] .woocommerce-ordering select.orderby:hover,
body.dark-mode .woocommerce-ordering select.orderby:focus,
html[data-theme="dark"] .woocommerce-ordering select.orderby:focus {
    border-color: #ab47bc !important;
    box-shadow: 0 0 0 3px rgba(171, 71, 188, 0.2) !important;
}

body button.btn-subscribe[type="submit"] {
    background-color: #009688 !important;
}
input[type="email"][name="email"]:focus {
    outline: none !important;
    border-color: #009688 !important;
    box-shadow: 0 0 0 2px rgba(0, 150, 136, 0.2) !important;
}

/* ۱. آماده‌سازی بدنه تمام دکمه‌ها برای نگه داشتن افکت */
button, 
input[type="submit"], 
input[type="button"], 
.button, 
.btn,
.add_to_cart_button {
    position: relative !important;
    overflow: hidden !important;
}

/* ۲. ایجاد نوار درخشان مخفی در سمت چپ دکمه‌ها */
button::before, 
input[type="submit"]::before, 
input[type="button"]::before, 
.button::before, 
.btn::before,
.add_to_cart_button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%; /* موقعیت اولیه بیرون از دکمه */
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s ease !important; /* تنظیم سرعت حرکت افکت */
    z-index: 1;
    pointer-events: none; /* جلوگیری از تداخل با کلیک روی دکمه */
}

/* ۳. حرکت نوار درخشان به سمت راست هنگام هاور شدن دکمه */
button:hover::before, 
input[type="submit"]:hover::before, 
input[type="button"]:hover::before, 
.button:hover::before, 
.btn:hover::before,
.add_to_cart_button:hover::before {
    left: 150%; /* موقعیت نهایی نوار پس از عبور از روی دکمه */
}
/* ۱. آماده‌سازی بدنه دکمه‌ها */
button, 
input[type="submit"], 
input[type="button"], 
.button, 
.btn,
.add_to_cart_button {
    position: relative !important;
    overflow: hidden !important;
}

/* ۲. استفاده از ::after برای جلوگیری از تداخل با رنگ قالب */
button::after, 
input[type="submit"]::after, 
input[type="button"]::after, 
.button::after, 
.btn::after,
.add_to_cart_button::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%; 
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s ease !important; 
    z-index: 10; 
    pointer-events: none; 
}

/* ۳. حرکت نوار درخشان با هاور */
button:hover::after, 
input[type="submit"]:hover::after, 
input[type="button"]:hover::after, 
.button:hover::after, 
.btn:hover::after,
.add_to_cart_button:hover::after {
    left: 150%; 
}
/* تغییر رنگ کادر فیلدهای ضروریِ خالی به قرمز */
input:required:invalid:focus,
textarea:required:invalid:focus {
    border-color: #ff4d4d !important;
    box-shadow: 0 0 0 2px rgba(255, 77, 77, 0.2) !important;
    outline: none !important;
}

.custom-error-input {
    border-color: #ff4d4d !important;
    box-shadow: 0 0 0 2px rgba(255, 77, 77, 0.2) !important;
    outline: none !important;
}

/* Ensure the form can hold an absolute positioned element */
.newsletter-form {
    position: relative;
    margin-bottom: 20px; /* Add some space so the error doesn't overlap elements below */
	color: #000000;
}

/* =========================================================
   Persian Onyx Newsletter — Premium Authentic Glass
   WPForms Form ID: 1714
   Add this block at the END of the stylesheet.
========================================================= */

/* ---------------------------------------------------------
   1. Form wrapper reset
--------------------------------------------------------- */

.newsletter-cta .newsletter-form {
    position: relative;
    width: 100%;
    margin: 0;
    color: inherit;
    direction: rtl;
}

.newsletter-cta #wpforms-1714 {
    position: relative;
    width: 100%;
    max-width: none;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible;
    background: transparent;
}

.newsletter-cta #wpforms-1714 form {
    position: relative;
    z-index: 2;

    /* display: grid; */
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) auto;
    align-items: end;
    gap: 14px;

    width: 100%;
    margin: 0;
    padding: 22px;

    direction: rtl;

    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.74),
            rgba(255, 255, 255, 0.42)
        );

    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 22px;

    box-shadow:
        0 18px 48px rgba(7, 25, 30, 0.10),
        0 3px 12px rgba(0, 150, 136, 0.07),
        inset 0 1px 0 rgba(255, 255, 255, 0.92);

    backdrop-filter: blur(22px) saturate(1.25);
    -webkit-backdrop-filter: blur(22px) saturate(1.25);

    box-sizing: border-box;
    isolation: isolate;
}

/* Fine glass highlight */
.newsletter-cta #wpforms-1714 form::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;

    border-radius: inherit;
    pointer-events: none;

    background:
        radial-gradient(
            circle at 8% 0%,
            rgba(255, 255, 255, 0.9),
            transparent 34%
        ),
        radial-gradient(
            circle at 92% 110%,
            rgba(0, 150, 136, 0.12),
            transparent 38%
        ),
        radial-gradient(
            circle at 72% -20%,
            rgba(142, 36, 170, 0.09),
            transparent 34%
        );
}

/* Premium gradient border */
.newsletter-cta #wpforms-1714 form::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;

    padding: 1px;
    border-radius: inherit;
    pointer-events: none;

    background:
        linear-gradient(
            135deg,
            rgba(0, 150, 136, 0.5),
            rgba(255, 255, 255, 0.28) 45%,
            rgba(142, 36, 170, 0.42)
        );

    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);

    -webkit-mask-composite: xor;
    mask-composite: exclude;

    opacity: 0.65;
}


/* ---------------------------------------------------------
   2. WPForms layout
--------------------------------------------------------- */

.newsletter-cta #wpforms-1714 .wpforms-field-container {
    display: contents;
}

.newsletter-cta #wpforms-1714 .wpforms-field {
    min-width: 0;
    margin: 0 !important;
    padding: 0 !important;
}

/* Name field */
.newsletter-cta #wpforms-1714-field_1-container {
    grid-column: 1;
}

/* Email field */
.newsletter-cta #wpforms-1714-field_2-container {
    grid-column: 2;
}

/* Submit area */
.newsletter-cta #wpforms-1714 .wpforms-submit-container {
    grid-column: 3;

    display: flex;
    align-items: flex-end;
    justify-content: flex-end;

    margin: 0 !important;
    padding: 0 !important;
}

/* Preserve WPForms anti-spam fields */
.newsletter-cta #wpforms-1714-field_3-container,
.newsletter-cta #wpforms-1714-field_4-container {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}


/* ---------------------------------------------------------
   3. Labels
--------------------------------------------------------- */

.newsletter-cta #wpforms-1714 .wpforms-field-label,
.newsletter-cta #wpforms-1714 legend.wpforms-field-label {
    display: block;
    margin: 0 0 8px !important;
    padding: 0;

    color: rgba(7, 25, 30, 0.74);
    font-family: "YekanBakh", sans-serif !important;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.5;
    text-align: right;
}

/* Hide English sublabels such as First / Last */
.newsletter-cta #wpforms-1714 .wpforms-field-sublabel {
    display: none !important;
}

.newsletter-cta #wpforms-1714 .wpforms-required-label {
    color: #8e24aa;
    font-weight: 900;
}


/* ---------------------------------------------------------
   4. Name field layout
--------------------------------------------------------- */

.newsletter-cta #wpforms-1714 fieldset {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.newsletter-cta #wpforms-1714 .wpforms-field-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;

    width: 100%;
    max-width: none !important;
    margin: 0;
}

.newsletter-cta #wpforms-1714 .wpforms-field-row-block {
    position: relative;
    width: 100% !important;
    min-width: 0;
    margin: 0 !important;
    padding: 0 !important;
}


/* ---------------------------------------------------------
   5. Premium glass inputs
--------------------------------------------------------- */

.newsletter-cta #wpforms-1714 input[type="text"],
.newsletter-cta #wpforms-1714 input[type="email"] {
    display: block;

    width: 100% !important;
    max-width: none !important;
    height: 54px;

    margin: 0 !important;
    padding: 0 17px !important;

    color: #07191e !important;
    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.88),
            rgba(255, 255, 255, 0.62)
        ) !important;

    border: 1px solid rgba(7, 25, 30, 0.13) !important;
    border-radius: 14px !important;

    outline: none !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.88),
        0 5px 14px rgba(7, 25, 30, 0.035) !important;

    font-family: "YekanBakh", sans-serif !important;
    font-size: 14px;
    font-weight: 500;

    box-sizing: border-box;
    transition:
        border-color 0.25s ease,
        background-color 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.25s ease !important;
}

/* LTR for email */
.newsletter-cta #wpforms-1714 input[type="email"] {
    direction: ltr;
    text-align: left;
}

/* Input hover */
.newsletter-cta #wpforms-1714 input[type="text"]:hover,
.newsletter-cta #wpforms-1714 input[type="email"]:hover {
    border-color: rgba(0, 150, 136, 0.32) !important;

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.94),
        0 7px 18px rgba(0, 150, 136, 0.07) !important;
}

/* Input focus */
.newsletter-cta #wpforms-1714 input[type="text"]:focus,
.newsletter-cta #wpforms-1714 input[type="email"]:focus {
    border-color: rgba(0, 150, 136, 0.8) !important;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.98),
            rgba(245, 255, 253, 0.9)
        ) !important;

    box-shadow:
        0 0 0 4px rgba(0, 150, 136, 0.11),
        0 10px 24px rgba(0, 150, 136, 0.10),
        inset 0 1px 0 rgba(255, 255, 255, 1) !important;

    transform: translateY(-1px);
}

/* Placeholder */
.newsletter-cta #wpforms-1714 input::placeholder {
    color: rgba(7, 25, 30, 0.42) !important;
    opacity: 1;
}


/* ---------------------------------------------------------
   6. Fix existing global error CSS
   Prevent all fields from appearing red before submission
--------------------------------------------------------- */

.newsletter-cta #wpforms-1714 .custom-error-input,
.newsletter-cta #wpforms-1714 input.custom-error-input {
    border-color: rgba(7, 25, 30, 0.13) !important;

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.88),
        0 5px 14px rgba(7, 25, 30, 0.035) !important;
}

/* Hide manually injected errors by default */
.newsletter-cta #wpforms-1714 .custom-error-message {
    display: none;
}

/* WPForms invalid state only */
.newsletter-cta #wpforms-1714 input.wpforms-error,
.newsletter-cta #wpforms-1714 input[aria-invalid="true"] {
    border-color: rgba(220, 38, 38, 0.72) !important;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.96),
            rgba(255, 245, 245, 0.92)
        ) !important;

    box-shadow:
        0 0 0 4px rgba(220, 38, 38, 0.09),
        inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
}


/* ---------------------------------------------------------
   7. Submit button
--------------------------------------------------------- */

.newsletter-cta #wpforms-1714 button.wpforms-submit,
.newsletter-cta #wpforms-1714 button.btn-subscribe {
    position: relative;
    isolation: isolate;

    display: inline-flex !important;
    align-items: center;
    justify-content: center;

    width: auto !important;
    min-width: 138px;
    height: 54px;

    margin-top: 15px !important;
    /* padding: 0 26px !important; */

    overflow: hidden;

    color: #ffffff !important;
    background:
        linear-gradient(
            135deg,
            #009688 0%,
            #007f73 46%,
            #8e24aa 130%
        ) !important;

    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    border-radius: 14px !important;

    box-shadow:
        0 12px 28px rgba(0, 150, 136, 0.26),
        0 5px 16px rgba(142, 36, 170, 0.10),
        inset 0 1px 0 rgba(255, 255, 255, 0.22) !important;

    font-family: "YekanBakh", sans-serif !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    line-height: 1;

    white-space: nowrap;
    cursor: pointer;

    transition:
        transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.28s ease,
        filter 0.28s ease !important;
}

/* Glass highlight */
.newsletter-cta #wpforms-1714 button.wpforms-submit::before {
    content: "";
    position: absolute;
    top: -30%;
    right: -20%;
    z-index: -1;

    width: 70%;
    height: 160%;

    background:
        radial-gradient(
            circle,
            rgba(255, 255, 255, 0.26),
            transparent 66%
        );

    transform: rotate(-16deg);
    pointer-events: none;
}

/* Moving shine */
.newsletter-cta #wpforms-1714 button.wpforms-submit::after {
    content: "";
    position: absolute;
    top: 0;
    left: -90%;

    width: 52%;
    height: 100%;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255, 255, 255, 0.42),
            transparent
        );

    transform: skewX(-22deg);
    transition: left 0.7s ease;
    pointer-events: none;
}

.newsletter-cta #wpforms-1714 button.wpforms-submit:hover {
    color: #ffffff !important;

    transform: translateY(-2px);

    filter: saturate(1.08);

    box-shadow:
        0 17px 38px rgba(0, 150, 136, 0.32),
        0 8px 22px rgba(142, 36, 170, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
}

.newsletter-cta #wpforms-1714 button.wpforms-submit:hover::after {
    left: 145%;
}

.newsletter-cta #wpforms-1714 button.wpforms-submit:active {
    transform: translateY(0) scale(0.98);
}

.newsletter-cta #wpforms-1714 button.wpforms-submit:focus-visible {
    outline: none;

    box-shadow:
        0 0 0 4px rgba(0, 150, 136, 0.18),
        0 15px 34px rgba(0, 150, 136, 0.28) !important;
}

.newsletter-cta #wpforms-1714 button.wpforms-submit:disabled {
    cursor: wait;
    opacity: 0.72;
    transform: none;
}


/* ---------------------------------------------------------
   8. Spinner
--------------------------------------------------------- */

.newsletter-cta #wpforms-1714 .wpforms-submit-spinner {
    position: absolute;
    top: 50%;
    left: -34px;

    width: 22px;
    height: 22px;
    margin: 0;

    transform: translateY(-50%);
    filter: brightness(0) saturate(100%) invert(46%) sepia(49%)
        saturate(1164%) hue-rotate(128deg) brightness(89%) contrast(101%);
}


/* ---------------------------------------------------------
   9. Validation messages
--------------------------------------------------------- */

.newsletter-cta #wpforms-1714 label.wpforms-error,
.newsletter-cta #wpforms-1714 em.wpforms-error {
    display: block;

    margin: 7px 3px 0 !important;

    color: #c62828 !important;
    font-family: "YekanBakh", sans-serif !important;
    font-size: 11px !important;
    font-style: normal;
    font-weight: 600;
    line-height: 1.5;
    text-align: right;

    animation: poNewsletterError 0.28s ease both;
}

@keyframes poNewsletterError {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* ---------------------------------------------------------
   10. AJAX confirmation
--------------------------------------------------------- */

.newsletter-cta .wpforms-confirmation-container-full,
.newsletter-cta #wpforms-confirmation-1714 {
    position: relative;

    margin: 0 !important;
    padding: 20px 22px !important;

    overflow: hidden;

    color: #063c35 !important;
    background:
        linear-gradient(
            135deg,
            rgba(235, 255, 251, 0.92),
            rgba(255, 255, 255, 0.72)
        ) !important;

    border: 1px solid rgba(0, 150, 136, 0.26) !important;
    border-radius: 18px !important;

    box-shadow:
        0 15px 38px rgba(0, 150, 136, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.95) !important;

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    font-family: "YekanBakh", sans-serif !important;
    font-weight: 600;
    line-height: 1.9;
    text-align: right;
}

.newsletter-cta .wpforms-confirmation-container-full::before,
.newsletter-cta #wpforms-confirmation-1714::before {
    content: "✓";

    display: inline-grid;
    place-items: center;

    width: 28px;
    height: 28px;
    margin-left: 9px;

    color: #ffffff;
    background: linear-gradient(135deg, #009688, #00796b);
    border-radius: 50%;

    box-shadow: 0 7px 18px rgba(0, 150, 136, 0.24);

    font-size: 14px;
    font-weight: 900;
    vertical-align: middle;
}

.newsletter-cta .wpforms-confirmation-container-full p,
.newsletter-cta #wpforms-confirmation-1714 p {
    display: inline;
    margin: 0 !important;
}


/* ---------------------------------------------------------
   11. Dark mode
--------------------------------------------------------- */

body.dark-mode .newsletter-cta #wpforms-1714 form,
html[data-theme="dark"] .newsletter-cta #wpforms-1714 form {
    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.085),
            rgba(255, 255, 255, 0.035)
        );

    border-color: rgba(255, 255, 255, 0.11);

    box-shadow:
        0 22px 58px rgba(0, 0, 0, 0.42),
        0 0 0 1px rgba(0, 150, 136, 0.045),
        inset 0 1px 0 rgba(255, 255, 255, 0.075);
}

body.dark-mode .newsletter-cta #wpforms-1714 form::before,
html[data-theme="dark"] .newsletter-cta #wpforms-1714 form::before {
    background:
        radial-gradient(
            circle at 8% 0%,
            rgba(255, 255, 255, 0.11),
            transparent 34%
        ),
        radial-gradient(
            circle at 94% 115%,
            rgba(0, 150, 136, 0.19),
            transparent 42%
        ),
        radial-gradient(
            circle at 72% -20%,
            rgba(142, 36, 170, 0.16),
            transparent 38%
        );
}

body.dark-mode .newsletter-cta #wpforms-1714 .wpforms-field-label,
body.dark-mode .newsletter-cta #wpforms-1714 legend.wpforms-field-label,
html[data-theme="dark"] .newsletter-cta #wpforms-1714 .wpforms-field-label,
html[data-theme="dark"] .newsletter-cta #wpforms-1714 legend.wpforms-field-label {
    color: rgba(255, 255, 255, 0.72);
}

body.dark-mode .newsletter-cta #wpforms-1714 input[type="text"],
body.dark-mode .newsletter-cta #wpforms-1714 input[type="email"],
html[data-theme="dark"] .newsletter-cta #wpforms-1714 input[type="text"],
html[data-theme="dark"] .newsletter-cta #wpforms-1714 input[type="email"] {
    color: #f5fffd !important;

    background:
        linear-gradient(
            145deg,
            rgba(5, 18, 22, 0.72),
            rgba(11, 34, 39, 0.62)
        ) !important;

    border-color: rgba(255, 255, 255, 0.13) !important;

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.045),
        0 8px 20px rgba(0, 0, 0, 0.16) !important;
}

body.dark-mode .newsletter-cta #wpforms-1714 input[type="text"]:hover,
body.dark-mode .newsletter-cta #wpforms-1714 input[type="email"]:hover,
html[data-theme="dark"] .newsletter-cta #wpforms-1714 input[type="text"]:hover,
html[data-theme="dark"] .newsletter-cta #wpforms-1714 input[type="email"]:hover {
    border-color: rgba(0, 191, 165, 0.38) !important;
}

body.dark-mode .newsletter-cta #wpforms-1714 input[type="text"]:focus,
body.dark-mode .newsletter-cta #wpforms-1714 input[type="email"]:focus,
html[data-theme="dark"] .newsletter-cta #wpforms-1714 input[type="text"]:focus,
html[data-theme="dark"] .newsletter-cta #wpforms-1714 input[type="email"]:focus {
    background:
        linear-gradient(
            145deg,
            rgba(5, 27, 30, 0.92),
            rgba(7, 38, 40, 0.82)
        ) !important;

    border-color: rgba(0, 191, 165, 0.74) !important;

    box-shadow:
        0 0 0 4px rgba(0, 191, 165, 0.12),
        0 12px 28px rgba(0, 0, 0, 0.24),
        inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
}

body.dark-mode .newsletter-cta #wpforms-1714 input::placeholder,
html[data-theme="dark"] .newsletter-cta #wpforms-1714 input::placeholder {
    color: rgba(255, 255, 255, 0.45) !important;
}

body.dark-mode .newsletter-cta #wpforms-1714 .custom-error-input,
body.dark-mode .newsletter-cta #wpforms-1714 input.custom-error-input,
html[data-theme="dark"] .newsletter-cta #wpforms-1714 .custom-error-input,
html[data-theme="dark"] .newsletter-cta #wpforms-1714 input.custom-error-input {
    border-color: rgba(255, 255, 255, 0.13) !important;

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.045),
        0 8px 20px rgba(0, 0, 0, 0.16) !important;
}

body.dark-mode .newsletter-cta #wpforms-1714 label.wpforms-error,
html[data-theme="dark"] .newsletter-cta #wpforms-1714 label.wpforms-error {
    color: #ff9d9d !important;
}

body.dark-mode .newsletter-cta .wpforms-confirmation-container-full,
body.dark-mode .newsletter-cta #wpforms-confirmation-1714,
html[data-theme="dark"] .newsletter-cta .wpforms-confirmation-container-full,
html[data-theme="dark"] .newsletter-cta #wpforms-confirmation-1714 {
    color: #dffffa !important;

    background:
        linear-gradient(
            135deg,
            rgba(0, 150, 136, 0.19),
            rgba(255, 255, 255, 0.055)
        ) !important;

    border-color: rgba(0, 191, 165, 0.3) !important;

    box-shadow:
        0 18px 44px rgba(0, 0, 0, 0.32),
        inset 0 1px 0 rgba(255, 255, 255, 0.07) !important;
}


/* ---------------------------------------------------------
   12. Tablet
--------------------------------------------------------- */

@media (max-width: 1024px) {
    .newsletter-cta #wpforms-1714 form {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }

    .newsletter-cta #wpforms-1714-field_1-container {
        grid-column: 1 / -1;
    }

    .newsletter-cta #wpforms-1714-field_2-container {
        grid-column: 1;
    }

    .newsletter-cta #wpforms-1714 .wpforms-submit-container {
        grid-column: 2;
    }

    .newsletter-cta #wpforms-1714 button.wpforms-submit {
        width: 100% !important;
    }
}


/* ---------------------------------------------------------
   13. Mobile
--------------------------------------------------------- */

@media (max-width: 700px) {
    .newsletter-cta #wpforms-1714 form {
        display: flex;
        flex-direction: column;
        align-items: stretch;

        gap: 14px;

        padding: 18px;
        border-radius: 18px;
    }

    .newsletter-cta #wpforms-1714 .wpforms-field,
    .newsletter-cta #wpforms-1714 .wpforms-submit-container {
        width: 100%;
    }

    .newsletter-cta #wpforms-1714 .wpforms-field-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .newsletter-cta #wpforms-1714 input[type="text"],
    .newsletter-cta #wpforms-1714 input[type="email"] {
        height: 52px;
    }

    .newsletter-cta #wpforms-1714 button.wpforms-submit {
        width: 100% !important;
        min-width: 0;
        height: 52px;
    }

    .newsletter-cta #wpforms-1714 .wpforms-submit-spinner {
        left: 12px;
    }
}


/* ---------------------------------------------------------
   14. Reduced motion
--------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
    .newsletter-cta #wpforms-1714 input,
    .newsletter-cta #wpforms-1714 button.wpforms-submit,
    .newsletter-cta #wpforms-1714 button.wpforms-submit::after,
    .newsletter-cta #wpforms-1714 label.wpforms-error {
        transition: none !important;
        animation: none !important;
    }

    .newsletter-cta #wpforms-1714 button.wpforms-submit:hover {
        transform: none;
    }
}

.custom-error-input {
    border-color: #ff4d4d !important;
    box-shadow: 0 0 0 2px rgba(255, 77, 77, 0.2) !important;
    outline: none !important;
}

.custom-error-message {
    position: absolute;
    top: 100%; /* Pushes it directly below the form */
    left: 0;
    display: block;
    color: #ff4d4d;
    font-size: 12px;
    margin-top: 4px;
    font-weight: 500;
    white-space: nowrap; /* Prevents text from breaking into multiple lines */
    animation: slideDownError 0.3s ease forwards;
}

@keyframes slideDownError {
    from { opacity: 0; transform: translateY(-5px); }
    to   { opacity: 1; transform: translateY(0); }
}


/* تنظیمات متن اصلی بخش خبرنامه */
.newsletter-text h3 {
    font-family: 'YekanBakh', sans-serif !important;
    font-size: clamp(1.8rem, 4vw, 2.5rem); /* واکنش‌گرا */
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 10px;
    color: var(--wp--preset--color--black); /* در حالت دارک مود با متغیر دارک جایگزین شود */
display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: center;
    align-items: flex-start;
}

/* استایل‌دهی به کلمات کلیدی داخل <em> با استفاده از گرادیانت سایت شما */
.newsletter-text h3 em {
    font-style: normal; /* حذف حالت ایتالیک پیش‌فرض فارسی */
    font-weight: 900;
    background: linear-gradient(120deg, #ab47bc, #00bfa5);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

/* استایل متن توضیحات زیرین */
.newsletter-text p {
    font-family: 'YekanBakh', sans-serif !important;
    font-size: var(--wp--preset--font-size--normal, 16px);
    color: #666; /* رنگ خاکستری ملایم */
    margin-bottom: 20px;
}

/* هماهنگی با حالت تاریک (Dark Mode) */
body.dark-mode .newsletter-text h3,
html[data-theme="dark"] .newsletter-text h3 {
    color: var(--wp--preset--color--white, #ffffff);
display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: center;
    align-items: flex-start;
}
body.dark-mode .newsletter-text p,
html[data-theme="dark"] .newsletter-text p {
    color: #aaa;
}

/* استایل پایه کارت خبرنامه */
.newsletter-card {
    position: relative;
    background-color: #ffffff;
    border-radius: 24px; /* گوشه‌های گرد و مدرن */
    padding: 48px 40px;
    margin: 40px auto;
/*     max-width: 650px; جلوگیری از کشیدگی بیش از حد در دسکتاپ */
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.06); /* سایه بسیار نرم و عمیق */
    border: 1px solid rgba(0, 0, 0, 0.03); /* حاشیه نامحسوس برای تفکیک از پس‌زمینه سایت */
    text-align: center; /* وسط‌چین کردن محتوا برای ظاهر استودیویی */
    overflow: hidden;
    z-index: 1;
}

/* نوار گرادیانت تزئینی در بالای کارت (المان بصری متصل‌کننده به استایل متن) */
.newsletter-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(120deg, #ab47bc, #00bfa5);
    z-index: 2;
}

/* حالت انیمیشن: اطمینان از اینکه در حالت visible همه چیز به نرمی نمایش داده می‌شود */
.newsletter-card.anim-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.newsletter-card.anim-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================
   هماهنگی با حالت تاریک (Dark Mode) سایت
   ========================================= */
body.dark-mode .newsletter-card,
html[data-theme="dark"] .newsletter-card {
    background-color: #07191E; /* پس‌زمینه تیره و عمیق */
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4); /* سایه غلیظ‌تر برای دارک مود */
    border: 1px solid rgba(255, 255, 255, 0.05); /* حاشیه روشنِ بسیار ملایم */
}

.newsletter-card .panel-glow-orbit {
    width: 400px;       /* Increased from 200px */
    height: 400px;      /* Increased from 200px */
    top: -130px;        /* Adjusted to keep the center of the glow in place */
    right: -120px;      /* Adjusted to keep the center of the glow in place */
    
    /* The rest of the properties remain the same */
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(106, 27, 154, 0.6), transparent 60%);
    opacity: 0.65;
    z-index: 0;
    pointer-events: none; 
    animation: orbitSpin 1500s linear infinite;
}
body.dark-mode .newsletter-card::after {
    background: radial-gradient(circle, rgb(78 149 136 / 62%), transparent 60%);
	opacity: 0.65;}
body .newsletter-card::after {
    background: radial-gradient(circle, rgb(78 149 136 / 62%), transparent 60%);
	opacity: 0.65;}

.newsletter-card .panel-orbit {
    border: 1px dashed rgba(255, 255, 255, 0.25) !important; /* Increased opacity from 0.08 */
}

/* Container for perfect vertical alignment */
.title-with-dot {
    display: flex;
    align-items: center;
    gap: 10px; /* Space between the dot and the text */
}

/* The new, clean dot element */
.title-dot {
    display: inline-block;
    width: 10px;  /* Adjust based on your original dot size */
    height: 10px; /* Adjust based on your original dot size */
    background-color: #333; /* Replace with your theme's dot color */
    border-radius: 50%; /* Makes it a perfect circle */
    
    /* Recreating the visual shadow/glow */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); 
    
    /* Ensures the dot never gets squished if the title is very long */
    flex-shrink: 0; 
}

/* Reset title margins just in case */
.title-with-dot .sidebar-title {
    margin: 0;
}
.title-dot.filled {
    background: #00bfa5;
    border-color: #00bfa5;
    box-shadow: 0 0 8px rgba(0, 191, 165, 0.8);
}
.title-dot.beat {
    animation: heroPulse 2s infinite;
}
.newsletter-cta .newsletter-form button {
    display: flex !important
			;}

/* =========================================================
   WooCommerce Notices - Shared Base
   Applies to both message and info notices
   ========================================================= */

body.dark-mode .woocommerce-message,
body.dark-mode .woocommerce-info,
.dark-mode .woocommerce-message,
.dark-mode .woocommerce-info,
[data-theme="dark"] .woocommerce-message,
[data-theme="dark"] .woocommerce-info,
body.light-mode .woocommerce-message,
body.light-mode .woocommerce-info,
.light-mode .woocommerce-message,
.light-mode .woocommerce-info,
[data-theme="light"] .woocommerce-message,
[data-theme="light"] .woocommerce-info {
  position: relative;
  border-radius: 14px;
  padding: 18px 52px 18px 24px;
  margin: 0 0 24px;
  direction: rtl;
  text-align: right;
  font-size: 15px;
  line-height: 1.9;
  font-weight: 500;
  border-top-width: 3px;
  border-top-style: solid;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

/* WooCommerce default icon RTL position */
body.dark-mode .woocommerce-message::before,
body.dark-mode .woocommerce-info::before,
.dark-mode .woocommerce-message::before,
.dark-mode .woocommerce-info::before,
[data-theme="dark"] .woocommerce-message::before,
[data-theme="dark"] .woocommerce-info::before,
body.light-mode .woocommerce-message::before,
body.light-mode .woocommerce-info::before,
.light-mode .woocommerce-message::before,
.light-mode .woocommerce-info::before,
[data-theme="light"] .woocommerce-message::before,
[data-theme="light"] .woocommerce-info::before {
  right: 1.5em;
  left: auto;
  top: 1.25em;
}

/* =========================================================
   Dark Mode
   ========================================================= */

body.dark-mode .woocommerce-message,
body.dark-mode .woocommerce-info,
.dark-mode .woocommerce-message,
.dark-mode .woocommerce-info,
[data-theme="dark"] .woocommerce-message,
[data-theme="dark"] .woocommerce-info {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #f9fafb !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

/* Dark mode success message */
body.dark-mode .woocommerce-message,
.dark-mode .woocommerce-message,
[data-theme="dark"] .woocommerce-message {
  border-top-color: #009688 !important;
}

body.dark-mode .woocommerce-message::before,
.dark-mode .woocommerce-message::before,
[data-theme="dark"] .woocommerce-message::before {
  color: #009688 !important;
}

/* Dark mode info notice */
/* body.dark-mode .woocommerce-info,
.dark-mode .woocommerce-info,
[data-theme="dark"] .woocommerce-info {
  border-top-color: #009688 !important;
} */

/* Dark mode info notice */
body.dark-mode .woocommerce-info,
.dark-mode .woocommerce-info,
[data-theme="dark"] .woocommerce-info {
  border-top-color: var(--golden) !important;
}

body.dark-mode .woocommerce-info::before,
.dark-mode .woocommerce-info::before,
[data-theme="dark"] .woocommerce-info::before {
  color: var(--golden) !important;
}

/* Dark mode links inside notices */
body.dark-mode .woocommerce-message a,
body.dark-mode .woocommerce-info a,
.dark-mode .woocommerce-message a,
.dark-mode .woocommerce-info a,
[data-theme="dark"] .woocommerce-message a,
[data-theme="dark"] .woocommerce-info a {
  color: var(--golden) !important;
  font-weight: 700;
  text-decoration: none;
}

body.dark-mode .woocommerce-message a:hover,
body.dark-mode .woocommerce-info a:hover,
.dark-mode .woocommerce-message a:hover,
.dark-mode .woocommerce-info a:hover,
[data-theme="dark"] .woocommerce-message a:hover,
[data-theme="dark"] .woocommerce-info a:hover {
  color: #f3d675 !important;
}

/* Dark mode WooCommerce forward/button links */
body.dark-mode .woocommerce-message .button,
body.dark-mode .woocommerce-info .button,
body.dark-mode .woocommerce-message .wc-forward,
body.dark-mode .woocommerce-info .wc-forward,
.dark-mode .woocommerce-message .button,
.dark-mode .woocommerce-info .button,
.dark-mode .woocommerce-message .wc-forward,
.dark-mode .woocommerce-info .wc-forward,
[data-theme="dark"] .woocommerce-message .button,
[data-theme="dark"] .woocommerce-info .button,
[data-theme="dark"] .woocommerce-message .wc-forward,
[data-theme="dark"] .woocommerce-info .wc-forward {
  background: #009688 !important;
  color: #06130b !important;
  border: 1px solid #009688 !important;
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 700;
  text-decoration: none;
  line-height: 1.4;
}

body.dark-mode .woocommerce-message .button:hover,
body.dark-mode .woocommerce-info .button:hover,
body.dark-mode .woocommerce-message .wc-forward:hover,
body.dark-mode .woocommerce-info .wc-forward:hover,
.dark-mode .woocommerce-message .button:hover,
.dark-mode .woocommerce-info .button:hover,
.dark-mode .woocommerce-message .wc-forward:hover,
.dark-mode .woocommerce-info .wc-forward:hover,
[data-theme="dark"] .woocommerce-message .button:hover,
[data-theme="dark"] .woocommerce-info .button:hover,
[data-theme="dark"] .woocommerce-message .wc-forward:hover,
[data-theme="dark"] .woocommerce-info .wc-forward:hover {
  background: #86efac !important;
  color: #06130b !important;
  border-color: #86efac !important;
}
/* Dark mode WooCommerce forward/button links */
body.dark-mode .woocommerce-message .button,
body.dark-mode .woocommerce-info .button,
body.dark-mode .woocommerce-message .wc-forward,
body.dark-mode .woocommerce-info .wc-forward,
.dark-mode .woocommerce-message .button,
.dark-mode .woocommerce-info .button,
.dark-mode .woocommerce-message .wc-forward,
.dark-mode .woocommerce-info .wc-forward,
[data-theme="dark"] .woocommerce-message .button,
[data-theme="dark"] .woocommerce-info .button,
[data-theme="dark"] .woocommerce-message .wc-forward,
[data-theme="dark"] .woocommerce-info .wc-forward {
  background: #22c55e !important;
  color: #06130b !important;
  border: 1px solid #22c55e !important;
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 700;
  text-decoration: none;
  line-height: 1.4;
}

/* Light mode WooCommerce buttons */
body.light-mode .woocommerce-message .button,
body.light-mode .woocommerce-info .button,
body.light-mode .woocommerce-message .wc-forward,
body.light-mode .woocommerce-info .wc-forward,
.light-mode .woocommerce-message .button,
.light-mode .woocommerce-info .button,
.light-mode .woocommerce-message .wc-forward,
.light-mode .woocommerce-info .wc-forward,
[data-theme="light"] .woocommerce-message .button,
[data-theme="light"] .woocommerce-info .button,
[data-theme="light"] .woocommerce-message .wc-forward,
[data-theme="light"] .woocommerce-info .wc-forward {
  background: #111827 !important;
  color: #ffffff !important;
  border: 1px solid #111827 !important;
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 700;
  text-decoration: none;
  line-height: 1.4;
}

body.dark-mode .woocommerce-message .button:hover,
body.dark-mode .woocommerce-info .button:hover,
body.dark-mode .woocommerce-message .wc-forward:hover,
body.dark-mode .woocommerce-info .wc-forward:hover,
.dark-mode .woocommerce-message .button:hover,
.dark-mode .woocommerce-info .button:hover,
.dark-mode .woocommerce-message .wc-forward:hover,
.dark-mode .woocommerce-info .wc-forward:hover,
[data-theme="dark"] .woocommerce-message .button:hover,
[data-theme="dark"] .woocommerce-info .button:hover,
[data-theme="dark"] .woocommerce-message .wc-forward:hover,
[data-theme="dark"] .woocommerce-info .wc-forward:hover {
  background: #86efac !important;
  color: #06130b !important;
  border-color: #86efac !important;
}

h3.product-title {
    font-weight: 600;
    color: var(--onyx);
}
input[type="email"] {
    direction: ltr;
}
.nav-menu a {
	color: var(--charcoal-muted) !important;}
.product-meta .price {
color: var(--sage);
    font-weight: 600;
}
/* .nav-menu .current-menu-item>a {
    color: var(--onyx) !important;
} */

/* =========================================================
   WooCommerce Notices - Shared Base
   Applies to both message and info notices
   ========================================================= */

body.dark-mode .woocommerce-message,
body.dark-mode .woocommerce-info,
.dark-mode .woocommerce-message,
.dark-mode .woocommerce-info,
[data-theme="dark"] .woocommerce-message,
[data-theme="dark"] .woocommerce-info,
body.light-mode .woocommerce-message,
body.light-mode .woocommerce-info,
.light-mode .woocommerce-message,
.light-mode .woocommerce-info,
[data-theme="light"] .woocommerce-message,
[data-theme="light"] .woocommerce-info {
  position: relative;
  border-radius: 14px;
  padding: 18px 52px 18px 24px;
  margin: 0 0 24px;
  direction: rtl;
  text-align: right;
  font-size: 15px;
  line-height: 1.9;
  font-weight: 500;
  border-top-width: 3px;
  border-top-style: solid;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

/* WooCommerce default icon RTL position */
body.dark-mode .woocommerce-message::before,
body.dark-mode .woocommerce-info::before,
.dark-mode .woocommerce-message::before,
.dark-mode .woocommerce-info::before,
[data-theme="dark"] .woocommerce-message::before,
[data-theme="dark"] .woocommerce-info::before,
body.light-mode .woocommerce-message::before,
body.light-mode .woocommerce-info::before,
.light-mode .woocommerce-message::before,
.light-mode .woocommerce-info::before,
[data-theme="light"] .woocommerce-message::before,
[data-theme="light"] .woocommerce-info::before {
  right: 1.5em;
  left: auto;
  top: 1.25em;
}

/* =========================================================
   Light Mode
   Matches the dark style, but with bright premium surfaces
   ========================================================= */

body.light-mode .woocommerce-message,
body.light-mode .woocommerce-info,
.light-mode .woocommerce-message,
.light-mode .woocommerce-info,
[data-theme="light"] .woocommerce-message,
[data-theme="light"] .woocommerce-info {
  background: #ffffff !important;
  color: #111827 !important;
  border: 1px solid rgba(15, 23, 42, 0.1);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

/* Light mode success message */
body.light-mode .woocommerce-message,
.light-mode .woocommerce-message,
[data-theme="light"] .woocommerce-message {
  border-top-color: #16a34a !important;
}

body.light-mode .woocommerce-message::before,
.light-mode .woocommerce-message::before,
[data-theme="light"] .woocommerce-message::before {
  color: #16a34a !important;
}

/* Light mode info notice */
body.light-mode .woocommerce-info,
.light-mode .woocommerce-info,
[data-theme="light"] .woocommerce-info {
  border-top-color: var(--golden) !important;
}

body.light-mode .woocommerce-info::before,
.light-mode .woocommerce-info::before,
[data-theme="light"] .woocommerce-info::before {
  color: var(--golden) !important;
}

/* Light mode links */
body.light-mode .woocommerce-message a,
body.light-mode .woocommerce-info a,
.light-mode .woocommerce-message a,
.light-mode .woocommerce-info a,
[data-theme="light"] .woocommerce-message a,
[data-theme="light"] .woocommerce-info a {
  color: #9a780f !important;
  font-weight: 700;
  text-decoration: none;
}

body.light-mode .woocommerce-message a:hover,
body.light-mode .woocommerce-info a:hover,
.light-mode .woocommerce-message a:hover,
.light-mode .woocommerce-info a:hover,
[data-theme="light"] .woocommerce-message a:hover,
[data-theme="light"] .woocommerce-info a:hover {
  color: var(--golden) !important;
}



body.light-mode .woocommerce-message .button:hover,
body.light-mode .woocommerce-info .button:hover,
body.light-mode .woocommerce-message .wc-forward:hover,
body.light-mode .woocommerce-info .wc-forward:hover,
.light-mode .woocommerce-message .button:hover,
.light-mode .woocommerce-info .button:hover,
.light-mode .woocommerce-message .wc-forward:hover,
.light-mode .woocommerce-info .wc-forward:hover,
[data-theme="light"] .woocommerce-message .button:hover,
[data-theme="light"] .woocommerce-info .button:hover,
[data-theme="light"] .woocommerce-message .wc-forward:hover,
[data-theme="light"] .woocommerce-info .wc-forward:hover {
  background: var(--golden) !important;
  color: #111827 !important;
  border-color: var(--golden) !important;
}

@media (max-width: 640px) {
  body.dark-mode .woocommerce-message,
  body.dark-mode .woocommerce-info,
  body.light-mode .woocommerce-message,
  body.light-mode .woocommerce-info,
  .dark-mode .woocommerce-message,
  .dark-mode .woocommerce-info,
  .light-mode .woocommerce-message,
  .light-mode .woocommerce-info,
  [data-theme="dark"] .woocommerce-message,
  [data-theme="dark"] .woocommerce-info,
  [data-theme="light"] .woocommerce-message,
  [data-theme="light"] .woocommerce-info {
    padding: 18px 48px 18px 18px;
  }

  body.dark-mode .woocommerce-message .button,
  body.dark-mode .woocommerce-info .button,
  body.light-mode .woocommerce-message .button,
  body.light-mode .woocommerce-info .button,
  .dark-mode .woocommerce-message .button,
  .dark-mode .woocommerce-info .button,
  .light-mode .woocommerce-message .button,
  .light-mode .woocommerce-info .button,
  [data-theme="dark"] .woocommerce-message .button,
  [data-theme="dark"] .woocommerce-info .button,
  [data-theme="light"] .woocommerce-message .button,
  [data-theme="light"] .woocommerce-info .button {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
  }
}
body:not(.dark-mode) .woocommerce-message,
body:not(.dark-mode) .woocommerce-info {
  background: #ffffff !important;
  color: #111827 !important;
}

/* body.dark-mode .woocommerce-message,
body.dark-mode .woocommerce-info {
  background: #ffffff !important;
  color: #1111 !important;
} */

/* --- Global Reset for all Notice Types --- */
.woocommerce-message, 
.woocommerce-info, 
.woocommerce-error {
  position: relative !important;
  border-radius: 14px !important;
  padding: 20px 60px 20px 25px !important;
  margin: 0 0 30px !important;
  direction: rtl !important;
  text-align: right !important;
  font-size: 15.5px !important;
  line-height: 1.9 !important;
  font-weight: 500 !important;
  border: none !important;
  border-top: 4px solid var(--brand-primary) !important;
  list-style: none !important;
}

/* RTL Icon Positioning & Color */
.woocommerce-message::before, 
.woocommerce-info::before, 
.woocommerce-error::before {
  right: 20px !important;
  left: auto !important;
  top: 18px !important;
  color: var(--brand-primary) !important;
  font-family: "WooCommerce" !important;
  font-size: 22px !important;
}

/* Specific Icons */
.woocommerce-message::before { content: "\e015" !important; } /* Check */
.woocommerce-info::before    { content: "\e015" !important; } /* Info */
.woocommerce-error::before   { content: "\e016" !important; } /* Error/X */

/* --- DARK MODE (Premium Frosted Glass) --- */
body.dark-mode .woocommerce-message,
body.dark-mode .woocommerce-info,
body.dark-mode .woocommerce-error,
[data-theme="dark"] .woocommerce-message,
[data-theme="dark"] .woocommerce-info,
[data-theme="dark"] .woocommerce-error {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #f1f5f9 !important;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3) !important;
  backdrop-filter: blur(10px);
}

/* --- LIGHT MODE (Clean & Sharp) --- */
body.light-mode .woocommerce-message,
body.light-mode .woocommerce-info,
body.light-mode .woocommerce-error,
[data-theme="light"] .woocommerce-message,
[data-theme="light"] .woocommerce-info,
[data-theme="light"] .woocommerce-error {
  background: #ffffff !important;
  color: #0f172a !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06) !important;
  border: 1px solid rgba(0, 150, 136, 0.1) !important;
  border-top: 4px solid var(--brand-primary) !important;
}

/* --- Links & Action Buttons --- */

/* Text Links */
.woocommerce-message a, 
.woocommerce-info a, 
.woocommerce-error a {
  color: var(--brand-primary) !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
}

.woocommerce-message a:hover, 
.woocommerce-info a:hover, 
.woocommerce-error a:hover {
  color: var(--brand-primary-dark) !important;
  border-bottom-color: var(--brand-primary-dark);
}

/* WooCommerce Action Buttons (e.g., "View Cart") */
.woocommerce-message .button, 
.woocommerce-info .button, 
.woocommerce-error .button,
.woocommerce-message .wc-forward,
.woocommerce-info .wc-forward {
  background-color: var(--brand-primary) !important;
  color: #ffffff !important;
  padding: 10px 22px !important;
  border-radius: 50px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  display: inline-block !important;
  margin-left: 15px !important;
  border: none !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  box-shadow: 0 4px 12px rgba(0, 150, 136, 0.2) !important;
}

.woocommerce-message .button:hover, 
.woocommerce-info .button:hover,
.woocommerce-message .wc-forward:hover {
  background-color: var(--brand-primary-dark) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 150, 136, 0.3) !important;
  color: #ffffff !important;
}

/* Ensure Error Lists (UL/LI) are clean */
.woocommerce-error {
    list-style: none !important;
    margin-right: 0 !important;
}

.woocommerce-error li {
    padding: 2px 0 !important;
    list-style: none !important;
}

/* =========================================================
   1. Initial / General Variable Product Price Range
   Example: 3,200,000 ریال – 25,000,000 ریال
   ========================================================= */

.woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product > p.price,
.woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product .summary > p.price {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;

/*   direction: rtl !important; */
  text-align: right !important;

  color: rgba(0, 150, 136, 0.78) !important;
  font-size: 1.08em !important;
  font-weight: 600 !important;
  line-height: 1.5 !important;

  padding: 7px 12px !important;
  margin: 8px 0 16px !important;

  background: rgba(0, 150, 136, 0.055) !important;
  border: 1px solid rgba(0, 150, 136, 0.12) !important;
  border-radius: 10px !important;

  box-shadow: none !important;
}

/* Amounts inside initial price */
.woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product > p.price .amount,
.woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product .summary > p.price .amount {
  color: inherit !important;
  font-weight: 650 !important;
}

/* Currency symbol inside initial price */
.woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product > p.price .woocommerce-Price-currencySymbol,
.woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product .summary > p.price .woocommerce-Price-currencySymbol {
  font-size: 0.88em !important;
  font-weight: 600 !important;
  opacity: 0.85 !important;
}

/* Separator dash in price range */
.woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product > p.price > span[aria-hidden="true"],
.woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product .summary > p.price > span[aria-hidden="true"] {
  color: rgba(0, 150, 136, 0.45) !important;
  font-weight: 500 !important;
}


/* =========================================================
   2. Final Selected Variation Price
   Example: after selecting attributes
   This should be the IMPORTANT final price.
   ========================================================= */

.woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product .woocommerce-variation-price {
  margin: 20px 0% 20px 0px !important;
  direction: rtl !important;
  text-align: right !important;
}

/* Main final price card */
.woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product .woocommerce-variation-price .price {
  position: relative !important;

  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 6px !important;
/* 
  direction: rtl !important; */
  text-align: right !important;

  color: var(--po-teal) !important;

  font-size: 1.65em !important;
  font-weight: 900 !important;
  line-height: 1.25 !important;
  letter-spacing: -0.02em !important;

  padding: 12px 18px !important;
  margin: 0 !important;

  background:
    linear-gradient(
      135deg,
      rgba(0, 150, 136, 0.14),
      rgba(0, 150, 136, 0.055)
    ) !important;

  border: 1px solid var(--po-teal-border) !important;
  border-radius: 16px !important;

  box-shadow:
    0 10px 28px rgba(0, 150, 136, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.16) !important;

  transform: translateY(0);
  transition:
    color 0.25s ease,
    background 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease !important;
}

/* Optional label before final price */
.woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product .woocommerce-variation-price .price::before {
  content: "بها نهایی:" !important;

  display: inline-flex !important;
  align-items: center !important;

  margin-left: 8px !important;

  color: rgba(0, 150, 136, 0.9) !important;
  font-size: 0.48em !important;
  font-weight: 700 !important;
  line-height: 1 !important;

  padding: 5px 9px !important;
  border-radius: 999px !important;

  background: rgba(0, 150, 136, 0.12) !important;
  border: 1px solid rgba(0, 150, 136, 0.18) !important;
}

/* Amount inside final price */
.woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product .woocommerce-variation-price .amount {
  color: var(--po-teal) !important;
  font-weight: 900 !important;
}

/* BDI inside final price */
.woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product .woocommerce-variation-price bdi {
  color: inherit !important;
  font-weight: inherit !important;
}

/* Currency symbol inside final price */
.woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product .woocommerce-variation-price .woocommerce-Price-currencySymbol {
  font-size: 0.72em !important;
  font-weight: 800 !important;
  opacity: 0.9 !important;
  margin-right: 3px !important;
}

/* Hover effect for final price */
.woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product .woocommerce-variation-price .price:hover {
  color: var(--po-teal-dark) !important;
  border-color: rgba(0, 150, 136, 0.38) !important;

  box-shadow:
    0 14px 36px rgba(0, 150, 136, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.22) !important;

  transform: translateY(-1px);
}


/* =========================================================
   3. Optional: Make the initial range less important
   when the variation price appears.
   ========================================================= */

/*
   WooCommerce usually keeps both:
   - the general range price above
   - the selected variation price inside .woocommerce-variation-price

   This makes the final selected price visually dominate.
*/

.woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product .summary > p.price {
  opacity: 0.82 !important;
}


/* =========================================================
   4. Dark Mode Support
   ========================================================= */

body.dark-mode .woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product > p.price,
body.dark-mode .woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product .summary > p.price,
[data-theme="dark"] .woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product > p.price,
[data-theme="dark"] .woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product .summary > p.price {
  color: rgba(160, 255, 246, 0.82) !important;
  background: rgba(255, 255, 255, 0.055) !important;
  border-color: rgba(0, 150, 136, 0.22) !important;
}

body.dark-mode .woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product .woocommerce-variation-price .price,
[data-theme="dark"] .woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product .woocommerce-variation-price .price {
  color: #eafffc !important;

  background:
    linear-gradient(
      135deg,
      rgba(0, 150, 136, 0.34),
      rgba(255, 255, 255, 0.075)
    ) !important;

  border-color: rgba(0, 150, 136, 0.48) !important;

  box-shadow:
    0 14px 34px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(0, 150, 136, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.12) !important;

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

body.dark-mode .woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product .woocommerce-variation-price .amount,
[data-theme="dark"] .woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product .woocommerce-variation-price .amount {
  color: #eafffc !important;
}

body.dark-mode .woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product .woocommerce-variation-price .price::before,
[data-theme="dark"] .woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product .woocommerce-variation-price .price::before {
  color: #d7fffb !important;
  background: rgba(0, 150, 136, 0.28) !important;
  border-color: rgba(0, 150, 136, 0.42) !important;
}


/* =========================================================
   5. Mobile Optimization
   ========================================================= */

@media (max-width: 640px) {
  .woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product > p.price,
  .woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product .summary > p.price {
    font-size: 1em !important;
    padding: 7px 10px !important;
    margin-bottom: 14px !important;
  }

  .woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product .woocommerce-variation-price .price {
    width: 100% !important;
    justify-content: center !important;

    font-size: 1.42em !important;
    padding: 12px 14px !important;

    text-align: center !important;
  }

  .woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product .woocommerce-variation-price .price::before {
    font-size: 0.5em !important;
    padding: 5px 8px !important;
  }
}

/* =========================================================
   WooCommerce Variable Product Range Formatting
   Persian Proper Format
   ========================================================= */

/* Style the main price container */
.woocommerce div.product p.price {
/*   direction: rtl !important; */
  text-align: right !important;
  font-weight: 600 !important;
}

/* 1️⃣ Add "محدوده قیمت:" before price */
.woocommerce div.product p.price::before {
  content: "محدوده بها: ";
  font-weight: 700;
  color: #009688;
  margin-left: 6px;
	direction: rtl !important;
}
.price::before {
	direction: rtl !important;
}
select{
border-radius: 8px !important;
}

img.wp-post-image {
    border-radius: 10px !important;
margin-bottom: 20px;
}

.woocommerce-product-gallery__image.woocommerce-product-gallery__image--placeholder {
    border-radius: 10px !important;
}
table th { font-weight: 600; background: None; 

}
td.value {
    border: none;
}
th.label {
    border: none !important;
}
body.dark-mode .variations td.value select option,
[data-theme="dark"] .variations td.value select option {
    background-color: #0f1a1a !important;
    color: #e9fdfc !important; /* Normal options text */
border-radius: 10px !important;
}
.sku{
color: #009688;
background: #0096880e;
border-color:#a0a0a0;
border-radius: 8px;
padding: 4px;
}
.sku:hover{
background:#009688;
color:#fff;
cursor: pointer;
}

.sku.copied{
background:#8e24aad9;
color:#fff;
}

html[data-theme="dark"] .sku {
background: #ffffff;
}

a[rel="tag"]::after {
    content: " ↗";
    font-size: 12px;
}

a {
    color: #009688 !important;
}
.woocommerce-variation-add-to-cart .single_add_to_cart_button{
    display:inline-flex;
    align-items:center;
    gap:12px;

    padding:16px 36px !important;
    background: linear-gradient(135deg,#009688 0%,#8e24aa 100%) !important;
    color:#ffffff !important;

    font-weight:800;
    font-size:1.05rem;
    text-decoration:none;

    border:none;
    border-radius:100px;

    box-shadow:0 10px 30px rgba(142,36,170,0.3);
    transition:all .4s cubic-bezier(.16,1,.3,1);
}

.woocommerce-variation.single_variation{
	    display: flex;
    flex-direction: row-reverse;
}
.woocommerce-variation-add-to-cart 
.single_add_to_cart_button:hover{
	transform:translateY(-2px);

    box-shadow:
        0 16px 40px rgba(142,36,170,.35);

    background:
        linear-gradient(135deg,#00bfa5 0%,#9c27b0 100%) !important;
}
/* Base tab */
.woocommerce div.product .woocommerce-tabs ul.tabs li a {
    background: none !important;
    padding: 12px 10px;
    color: #333333 !important;
    border-bottom: 3px solid transparent;
    transition: all .25s ease;
}

.woocommerce-variation-add-to-cart.variations_button.woocommerce-variation-add-to-cart-enabled {
gap: 8px;
width: 100%;
flex-wrap: nowrap;
    justify-content: flex-start;
    width: 100%;

}
.single_variation_wrap {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row-reverse;
}
button.single_add_to_cart_button.button.alt.disabled.wc-variation-selection-needed {
    opacity: 0.55;
    cursor: not-allowed;
    pointer-events: none;
    background: #b8b8b8 !important;
    color: #fff !important;
    border-color: #b8b8b8 !important;
    box-shadow: none !important;
    transform: none !important;
flex-direction: row-reverse;
}
.woocommerce-variation-add-to-cart.variations_button.woocommerce-variation-add-to-cart-disabled{
display: flex !important;
gap: 10px;
margin-top: 10px !important;
align-items: center;
flex-direction: row-reverse;
}

/* Hover */
.woocommerce div.product .woocommerce-tabs ul.tabs li a:hover {
    color: #009688;
    border-bottom: 3px solid #009688;
}
span.progress-segment-dot.filled {
    visibility: hidden;
}
span.progress-segment-dot {
    visibility: hidden;
}
/* Active tab */
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
		
    color: #009688 !important;
    border-bottom: 3px solid #009688;
    font-weight: 800;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active {
	background: #0096880e;
}
.woocommerce table.shop_attributes tr:nth-child(even) td, .woocommerce table.shop_attributes tr:nth-child(even) th {
    background: #0096880e;
}

.woocommerce table.shop_attributes td {
	padding-left: 8px;
}

.flex-direction-nav a {
    opacity: 1 !important;
}

.flex-direction-nav .flex-prev,
.flex-direction-nav .flex-next {
    background: rgba(0,0,0,0.6);
    color: #fff;
    border-radius: 50%;
}

/* Top bar container */
.pswp__top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 12px 18px;
    height: 56px;

    background: rgba(15,15,15,0.75);
    backdrop-filter: blur(10px);

    border-bottom: 1px solid rgba(255,255,255,0.08);
}

/* Counter (1 / 4) */
.pswp__counter {
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 1px;
}

/* Button base style */
.pswp__button {
    width: 40px;
    height: 40px;

    border-radius: 10px;
    background: rgba(255,255,255,0.08);

    transition: all .25s ease;
}

/* Hover effect */
.pswp__button:hover {
    background: #009688;
    transform: translateY(-1px);
}

/* Align buttons */
.pswp__top-bar .pswp__button {
    margin-left: 6px;
}

/* Close button special style */
.pswp__button--close {
    background: rgba(255,255,255,0.12);
}

.pswp__button--close:hover {
    background: #e53935;
}

/* Hide share button if disabled */
.pswp__button--share.pswp__element--disabled {
    display: none;
}
.pswp__top-bar {
    direction: rtl;
}

.pswp__counter {
    margin-left: auto;
}
.pswp__button {
    border-radius: 50%;
}

.pswp__button--zoom,
.pswp__button--fs,
.pswp__button--share {
    display: none;
}

.woocommerce div.product div.images .flex-control-thumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 14px 0 0 0;
    padding: 0;
    list-style: none;
    direction: rtl;
}

.woocommerce div.product div.images .flex-control-thumbs li {
    width: 74px;
    height: 74px;
    margin: 0 !important;
    padding: 0;
    border-radius: 14px;
    overflow: hidden;
    background: #f7f7f7;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all .25s ease;
}

.woocommerce div.product div.images .flex-control-thumbs li img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    display: block;
    opacity: .65;
    filter: saturate(.85);
    border-radius: 12px;
    transition: all .25s ease;
}

.woocommerce div.product div.images .flex-control-thumbs li:hover {
    border-color: rgba(0, 150, 136, .45);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 150, 136, .16);
}

.woocommerce div.product div.images .flex-control-thumbs li:hover img {
    opacity: 1;
    filter: saturate(1);
}

.woocommerce div.product div.images .flex-control-thumbs li img.flex-active {
    opacity: 1;
    filter: saturate(1.08);
}

.woocommerce div.product div.images .flex-control-thumbs li:has(img.flex-active) {
    border-color: #009688;
    box-shadow:
        0 0 0 3px rgba(0, 150, 136, .16),
        0 10px 24px rgba(0, 150, 136, .22);
    transform: translateY(-2px);
}

.woocommerce div.product div.images .flex-control-thumbs {
    justify-content: center;
}
.woocommerce .woocommerce-breadcrumb{
	margin-top: 3px;
}

/* ================================= */
/* Sidebar container */
/* ================================= */

.wc-block-checkout__sidebar{
    background:#ffffff;
    border-radius:20px;
    padding:24px;

    box-shadow:0 10px 40px rgba(0,0,0,.06);

    direction:rtl;
}
.wp-block-woocommerce-checkout-order-summary-block {
    border: 1px dashed #ddd;
}

/* ================================= */
/* Summary header */
/* ================================= */

.wc-block-components-checkout-order-summary__title{

    display:flex;
    align-items:center;
    justify-content:space-between;

    padding-bottom:14px;
    margin-bottom:18px;

    border-bottom:1px solid #eee;

}

.wc-block-components-checkout-order-summary__title-text{

    font-size:18px;
    font-weight:800;
    margin:0;
}

.wc-block-components-checkout-order-summary__title-price{

    font-size:16px;
    font-weight:700;
    color:#009688;
}


/* ================================= */
/* Product list */
/* ================================= */

.wc-block-components-order-summary-item{


    display:grid;
    grid-template-columns:64px 1fr auto;
    gap:14px;

    padding:14px 0;

    border-bottom:1px solid #f1f1f1;
}


/* product image */

.wc-block-components-order-summary-item__image img{

    width:64px !important;
    height:64px !important;
    object-fit:cover;

    border-radius:12px;
}


/* quantity badge */

.wc-block-components-order-summary-item__quantity{

    position:absolute;

    background:#009688;
    color:white;

    width:20px;
    height:20px;

    font-size:12px;
    font-weight:700;

    display:flex;
    align-items:center;
    justify-content:center;

    border-radius:50%;

    transform:translate(-6px,-6px);
}


/* product title */

.wc-block-components-product-name{

    font-size:14px;
    font-weight:700;
    margin-bottom:4px;
}


/* attributes */

.wc-block-components-product-details{

    font-size:12px;
    color:#777;
    line-height:1.6;
}


/* item price */

.wc-block-components-order-summary-item__total-price{

    font-weight:700;
    color:#444;
    align-self:start;
}


/* ================================= */
/* Coupon panel */
/* ================================= */

.wc-block-components-totals-coupon{

/*     margin-top:16px; */
    border-radius:12px;

    
}

.wc-block-components-panel__button{

    padding:12px 14px;
    font-size:13px;
}


/* ================================= */
/* Totals */
/* ================================= */

.wc-block-components-totals-item{

    display:flex;
    justify-content:space-between;

    padding:10px 0;

    font-size:14px;
}

.wc-block-components-totals-item__label{

    color:#666;
}

.wc-block-components-totals-item__value{

    font-weight:600;
}


/* ================================= */
/* Final total */
/* ================================= */

.wc-block-components-totals-footer-item{

    margin-top:12px;
    padding-top:14px;

    border-top:2px solid #f0f0f0;

    font-size:16px;
}

.wc-block-components-totals-footer-item .wc-block-components-totals-item__value{

    font-weight:800;
    color:#009688;
}

/* ================================= */
/* Glassy header */
/* ================================= */

.site-header,
body.home .site-header,
body.woocommerce .site-header,
body.archive .site-header,
body.page .site-header,
body.single .site-header {
  position: fixed !important;
  top: var(--wp-admin--admin-bar--height, 0px) !important;
  left: 50% !important;
  right: auto !important;
  transform: translateX(-50%) !important;

  width: min(950px, calc(100% - 32px)) !important;
  max-width: 950px !important;
  height: 76px !important;
  min-height: 76px !important;

  margin: 10px auto !important;
  padding: 14px 0 !important;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  border: 1px solid rgba(0, 0, 0, 0.05) !important;
  border-radius: 10px !important;

  background: rgba(0, 0, 0, 0.02) !important;
  backdrop-filter: blur(20px) saturate(1.6) !important;
  -webkit-backdrop-filter: blur(14px) !important;

  z-index: 9999 !important;
  box-sizing: border-box !important;
}
/* Prevent content from hiding behind fixed header */
body {
  padding-top: 110px;
}

body.home {
padding-top: 0px;
}

/* WordPress admin bar support */
body.admin-bar .site-header {
  top: 32px !important;
}

/* =========================================
   Main Logo Hover Animation
========================================= */

.site-header .custom-logo-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 8px;
    isolation: isolate;

    transition:
        transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
        filter 0.35s ease;
}

.site-header .custom-logo-link .custom-logo {
    display: block;
    width: 100%;
    height: auto;

    transition:
        transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
        filter 0.35s ease;
}

/* Moving shine */
.site-header .custom-logo-link::after {
    content: "";
    position: absolute;
    top: -20%;
    left: -80%;

    width: 45%;
    height: 140%;

    background: linear-gradient(
        110deg,
        transparent 0%,
        rgba(255, 255, 255, 0.08) 25%,
        rgba(255, 255, 255, 0.75) 50%,
        rgba(255, 255, 255, 0.08) 75%,
        transparent 100%
    );

    transform: skewX(-22deg);
    pointer-events: none;
    z-index: 2;

    transition: left 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.site-header .custom-logo-link:hover {
    transform: translateY(-2px);
    filter: drop-shadow(0 8px 18px rgba(0, 150, 136, 0.22));
}

.site-header .custom-logo-link:hover .custom-logo {
    transform: scale(1.025);
}

.site-header .custom-logo-link:hover::after {
    left: 140%;
}

.site-header .custom-logo-link:active {
    transform: translateY(0) scale(0.98);
}

/* Keyboard accessibility */
.site-header .custom-logo-link:focus-visible {
    outline: 2px solid #009688;
    outline-offset: 5px;
    border-radius: 8px;
}

/* Disable movement for reduced-motion users */
@media (prefers-reduced-motion: reduce) {
    .site-header .custom-logo-link,
    .site-header .custom-logo-link .custom-logo,
    .site-header .custom-logo-link::after {
        transition: none;
    }

    .site-header .custom-logo-link::after {
        display: none;
    }
}

/* ================================= */
/* Responsive */
/* ================================= */

@media (max-width:768px) {
    .site-header .logo-wrapper,
    .site-header .logo {
        flex: 0 0 auto;
        max-width: 37px;
  }

  .site-header .custom-logo {
    width: 52px;
    max-width: 52px;
    height: auto;
    object-fit: contain;
  }

  .site-header .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap !important;
  }

    .custom-logo {
    display: none;
  }

  .custom-logo-link {
    display: inline-block;
    width: 40px;
    height: 80px;
    background: url("https://studio.persianonyx.com/wp-content/uploads/2026/07/po-favicon.png") no-repeat center center;
    background-size: contain;
  }

  .hero-bg-img {
        object-position: 75% center;
    }
  

.wc-block-checkout__sidebar{
    display: none;
    padding:18px;
}

.wc-block-components-order-summary-item{

    grid-template-columns:56px 1fr;
}

.wc-block-components-order-summary-item__total-price{
    display: none;
    grid-column:2;
    margin-top:6px;
}

.wc-block-components-order-summary-item__image img{

    width:56px !important;
    height:56px !important;
}

.wc-block-components-order-summary-item {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    border-bottom: 0;
}
.woocommerce-message .button, 
  .woocommerce-info .button, 
  .woocommerce-error .button {
    margin-top: 15px !important;
    width: 100%;
    text-align: center;
}

.woocommerce div.product div.images .flex-control-thumbs {
    gap: 8px;
    margin-top: 12px;
}
.woocommerce div.product div.images .flex-control-thumbs li {
    width: 60px;
    height: 60px;
    border-radius: 12px;
}
.woocommerce div.product div.images .flex-control-thumbs li img {
    border-radius: 10px;
}

.wp-block-woocommerce-checkout {
    padding-left: 20px !important;
    padding-right: 20px !important;
    box-sizing: border-box;
}
.quick-buy-product {
    grid-template-columns: 1fr;
}
.quick-buy-box {
    padding: 18px;
    max-height: 92vh;
}

#quick-buy-modal {
    padding: 12px;
    align-items: flex-end;
}

.quick-buy-box {
    width: 100%;
    max-height: 92vh;
    border-radius: 24px 24px 0 0;
    padding: 22px 16px;
}

.quick-buy-product {
    grid-template-columns: 1fr;
    gap: 20px;
}

.quick-buy-title {
    font-size: 1.1rem;
}

 .market-offering {
    padding: 44px 14px;
}

    #quick-buy-modal {
        align-items: flex-end;
        padding: 0;
    }

    #quick-buy-modal .quick-buy-box {
        width: 100%;
        max-width: none;
        max-height: 92dvh;
        padding: 18px 16px 24px;
        border-radius: 20px 20px 0 0;
        overscroll-behavior: contain;
    }

    #quick-buy-modal .quick-buy-close {
        position: sticky;
        top: 0;
        left: 0;
        float: left;
        margin-bottom: 8px;
        background: #f1f1f1;
    }

    #quick-buy-modal .quick-buy-product {
        display: flex;
        flex-direction: column;
        gap: 18px;
        clear: both;
    }

    #quick-buy-modal .quick-buy-image {
        width: 100%;
        max-height: 330px;
    }

    #quick-buy-modal .quick-buy-image img {
        width: 100%;
        height: min(330px, 42vh);
        object-fit: contain;
        background: #f7f7f7;
    }

    #quick-buy-modal .quick-buy-content-inner {
        width: 100%;
        padding-top: 0;
    }

    #quick-buy-modal .quick-buy-title {
        margin-bottom: 10px;
        padding: 0;
        font-size: 19px;
        line-height: 1.7;
    }

    #quick-buy-modal .quick-buy-price {
        margin-bottom: 18px;
        font-size: 16px;
    }

    #quick-buy-modal table.variations,
    #quick-buy-modal table.variations tbody,
    #quick-buy-modal table.variations tr,
    #quick-buy-modal table.variations th,
    #quick-buy-modal table.variations td {
        display: block;
        width: 100%;
    }

    #quick-buy-modal table.variations {
        border-spacing: 0;
    }

    #quick-buy-modal table.variations tr {
        margin-bottom: 18px;
    }

    #quick-buy-modal table.variations th.label {
        width: 100%;
        padding: 0 0 8px;
        white-space: normal;
    }

    #quick-buy-modal table.variations th.label label {
        display: block;
        font-size: 14px;
        font-weight: 700;
    }

    #quick-buy-modal table.variations td.value {
        width: 100%;
    }

    #quick-buy-modal .po-swatches {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    #quick-buy-modal .po-swatch {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        min-width: 0;
        min-height: 44px;
        padding: 8px;
        text-align: center;
    }

    #quick-buy-modal .reset_variations {
        display: inline-block;
        margin-top: 10px;
    }

    #quick-buy-modal .woocommerce-variation-add-to-cart {
        display: grid;
        grid-template-columns: 120px minmax(0, 1fr);
        gap: 30px;
        width: 100%;
    }

    #quick-buy-modal .quantity {
        width: fit-content;
        min-width: 0;
    }

    #quick-buy-modal .quantity .qty {
        width: 42px;
        min-width: 0;
        text-align: center;
    }

    #quick-buy-modal .single_add_to_cart_button {
        width: 100%;
        min-width: 0;
        min-height: 48px;
        padding-inline: 10px;
        font-size: 14px;
        white-space: normal;
    }

    #quick-buy-modal .product-duration-note {
        grid-column: 1 / -1;
        width: 100%;
        margin-top: 2px;
        text-align: center;
    }

.market-offering-inner {
    grid-template-columns: 1fr;
    gap: 14px;
}

.market-offering-item {
    min-height: 142px;
    padding: 28px 20px 26px;
}

.market-offering-icon {
    width: 54px;
    height: 54px;
    font-size: 19px;
}

.market-offering-title {
    font-size: 14px;
}

#masthead,
.site-header {
    padding-inline: 12px;
}

#masthead .container,
.site-header .container,
.header-inner,
.header-wrap {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding-inline: 12px;
}
  

.newsletter-form .wpforms-form {
        flex-direction: column;
        align-items: stretch;
    }

    .newsletter-form .wpforms-field-container,
    .newsletter-form .wpforms-submit-container {
        width: 100%;
    }

    .newsletter-form button.btn-subscribe,
    .newsletter-form .wpforms-submit.btn-subscribe {
        width: 100%;
    }

}

/* ================================
   WooCommerce Checkout - Place Order Button
   Premium Gradient + Motion
================================ */

.wc-block-components-checkout-place-order-button {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    justify-content: center;
    align-items: center;

    padding: 16px 36px !important;
    border-radius: 100px !important;
    border: none !important;

    font-weight: 800 !important;
    font-size: 16px;
    letter-spacing: .3px;

    color: #fff !important;
    background: linear-gradient(135deg, #009688, #8e24aa) !important;

    box-shadow: 0 10px 28px rgba(0, 150, 136, 0.45);
    transition: all .4s cubic-bezier(.16, 1, .3, 1);
}

/* Hover Lift Effect */
.wc-block-components-checkout-place-order-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(142, 36, 170, 0.45);
}

/* Active Press Effect */
.wc-block-components-checkout-place-order-button:active {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(0, 150, 136, 0.4);
}

/* Animated Shine Effect */
.wc-block-components-checkout-place-order-button::before {
    content: "";
    position: absolute;
    top: 0;
    inset-inline-start: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        120deg,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,.4) 50%,
        rgba(255,255,255,0) 100%
    );
    transform: skewX(-25deg);
    transition: .7s;
}

.wc-block-components-checkout-place-order-button:hover::before {
    inset-inline-start: 130%;
}

button.wc-block-components-button.wp-element-button.wc-block-components-checkout-place-order-button.wc-block-components-checkout-place-order-button--full-width.contained {
    margin-top: 20px;
}
/* ===== Light Mode ===== */
input[type="email"]::placeholder {
    color: #5f6368 !important;  /* Professional neutral gray */
    opacity: 1;
}

/* ===== Dark Mode ===== */
body.dark-mode input[type="email"]::placeholder {
    color: rgba(255, 255, 255, 0.75) !important; /* Softer than pure white */
    opacity: 1;
}
.newsletter-form input {
    border-color: #444444 !important;
    box-shadow: 0 0 0 3px rgba(0,150,136,0.15);
    outline: none;
}

/* Checkout inputs – Light mode */
.wc-block-components-text-input input {
    background: #ffffff !important;
    border: 1px solid #d0d5dd !important;
    color: #111 !important;
    border-radius: 10px;
    transition: all .2s ease;
}
body.dark-mode .wc-block-components-text-input input {
    background: #1e1e1e !important;
    border: 1px solid #444 !important;
    color: #fff !important;
}
/* =========================================================
   WooCommerce Blocks - Select/Dropdown Styles
   Ensures consistency with inputs and premium branding
========================================================= */

.wc-blocks-components-select__container {
    position: relative;
    width: 100%;
}

.wc-blocks-components-select__select {
    appearance: none !important; /* Removes default OS styling */
    -webkit-appearance: none !important;
    width: 100% !important;
    padding: 14px 16px !important;
    border-radius: 10px !important;
    border: 1px solid #d0d5dd !important;
    background-color: #ffffff !important;
    color: #111 !important;
    font-size: 16px;
    cursor: pointer;
    transition: all .2s ease;
}

/* Hover & Focus state matching your inputs */
.wc-blocks-components-select__select:focus {
    border-color: #009688 !important; /* Your Teal */
    box-shadow: 0 0 0 3px rgba(0, 150, 136, 0.15) !important;
    outline: none;
}

/* Style the arrow icon to sit perfectly */
.wc-blocks-components-select__expand {
    position: absolute;
    inset-inline-end: 12px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none; /* Let clicks pass through to the select */
    fill: #666;
}

/* Dark Mode Support */
body.dark-mode .wc-blocks-components-select__select {
    background-color: #1e1e1e !important;
    border-color: #444 !important;
    color: #fff !important;
}

body.dark-mode .wc-blocks-components-select__expand {
    fill: #aaa;
}
/* =========================================================
   WooCommerce Checkout - Order Notes & Checkboxes
========================================================= */

/* 1. Style the Checkbox Box */
.wc-block-components-checkbox__input {
    appearance: none !important;
    width: 20px !important;
    height: 20px !important;
    border: 2px solid #d0d5dd !important;
    border-radius: 6px !important;
    cursor: pointer;
    background-color: #fff !important;
    transition: all .2s ease !important;
    margin-inline-end: 10px !important;
}

/* Checked state */
.wc-block-components-checkbox__input:checked {
    background: #009688 !important; /* Your Teal */
    border-color: #009688 !important;
}

/* Ensure the checkmark icon fits correctly */
.wc-block-components-checkbox__mark {
    width: 14px !important;
    height: 14px !important;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    fill: #fff !important;
}

/* 2. Style the Textarea */
.wc-block-components-textarea {
    margin-top: 15px !important;
    padding: 14px 16px !important;
    border-radius: 10px !important;
    border: 1px solid #d0d5dd !important;
    background-color: #ffffff !important;
    color: #111 !important;
    font-size: 15px;
    width: 100%;
    resize: vertical;
    transition: all .2s ease;
}

.wc-block-components-textarea:focus {
    border-color: #009688 !important;
    box-shadow: 0 0 0 3px rgba(0, 150, 136, 0.15) !important;
    outline: none;
}

/* 3. Dark Mode Adjustments */
body.dark-mode .wc-block-components-checkbox__input {
    background: #009688 !important;
    border-color: #444 !important;
}

body.dark-mode .wc-block-components-textarea {
    background: #1e1e1e !important;
    border-color: #444 !important;
    color: #fff !important;
}

.footer-social-links {
    display: flex
;
    flex-direction: row-reverse;
padding: 20px;
}
.footer-social-links{
display:flex;
align-items:center;
gap:14px;

}

.footer-social-links a{
display:flex;
align-items:center;
justify-content:center;
width:42px;
height:42px;
border-radius:12px;
background:#f5f7fa;
transition:all .25s ease;

}

.footer-social-links a:hover{
transform:translateY(-3px);
background:#009688;

}

.footer-social-links img{
width:20px;
height:20px;
transition:filter .25s ease;
cursor:pointer;
}

.footer-social-links a:hover img{
filter:brightness(0) invert(1);
}


.quick-buy-product{
display:grid;
grid-template-columns:40% 60%;
gap:28px;
align-items:start;
}

.quick-buy-content h3{
font-size:20px;
margin-bottom:8px;
}

.quick-buy-content .price{
font-size:18px;
font-weight:700;
margin-bottom:16px;
}

.variations{
margin-bottom:16px;
}

#quick-buy-modal {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.55);
}

#quick-buy-modal.active {
  display: flex;
}

.quick-buy-box {
  position: relative;
  width: min(920px, 100%);
  max-height: 90vh;
  overflow: auto;
  background: #fff;
  border-radius: 20px;
  padding: 24px;
  direction: rtl;
}

.quick-buy-close {
  position: absolute;
  top: 14px;
  left: 14px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: #111;
  color: #fff;
  cursor: pointer;
  z-index: 2;
}

.quick-buy-product {
  display: grid;
  grid-template-columns: 45% 1fr;
  gap: 28px;
  align-items: start;
}

.quick-buy-image img {
  width: 100%;
  height: auto;
  border-radius: 16px;
}

.quick-buy-content-inner h3 {
  margin-top: 0;
}

#quick-buy-content .loading {
  padding: 40px;
  text-align: center;
  font-weight: 700;
}

#quick-buy-modal {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.55);
  direction: rtl;
}

#quick-buy-modal.active {
  display: flex;
}

.quick-buy-box {
  position: relative;
  width: min(960px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  background: #fff;
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.22);
}

.quick-buy-close {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 5;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
}

.quick-buy-product {
  display: grid;
  grid-template-columns: minmax(260px, 44%) 1fr;
  gap: 32px;
  align-items: start;
}

.quick-buy-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 18px;
}

.quick-buy-title {
  margin: 0 0 12px;
  font-size: 1.35rem;
  line-height: 1.7;
  font-weight: 800;
}

.quick-buy-price {
  margin-bottom: 18px;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--po-teal);
}

.product-duration-note{
    width: fit-content;
}

.quick-buy-short-description {
  margin-bottom: 20px;
  color: #555;
  line-height: 1.9;
}

.quick-buy-add-to-cart .variations {
  width: 100%;
  margin-bottom: 18px;
}

.quick-buy-add-to-cart .variations th,
.quick-buy-add-to-cart .variations td {
  display: block;
  width: 100%;
  padding: 0;
  text-align: right;
}

.quick-buy-add-to-cart .variations label {
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
}

.quick-buy-add-to-cart select {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid #ddd;
  border-radius: 12px;
  background: #fff;
}

.quick-buy-add-to-cart .quantity {
  margin-bottom: 14px;
}

.quick-buy-add-to-cart .quantity input.qty {
  width: 50px;
  height: 40px;
  border-radius: 12px;
  border: none !important;
  text-align: center;
	background: transparent;
}

.quick-buy-add-to-cart .single_add_to_cart_button {
  width: 100%;
  min-height: 50px;
  border-radius: 14px;
  font-weight: 800;
}

.quick-buy-loading,
.quick-buy-error {
  padding: 48px 20px;
  text-align: center;
  font-weight: 700;
}

.quantity.po-quantity-ready {
  display: inline-grid !important;
  grid-template-columns: 42px 56px 42px;
  align-items: center;
  width: auto;
  height: 44px;
  overflow: hidden;
  border: 1px solid #d9d9d9;
  border-radius: 14px;
  background: #fff;
  direction: ltr;
}

.quantity.po-quantity-ready input.qty {
  width: 56px !important;
  height: 44px !important;
  min-height: 44px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-inline: 1px solid #eee !important;
  border-radius: 0 !important;
  background: #fff !important;
  box-shadow: none !important;
  color: #111;
  font-size: 15px;
  font-weight: 800;
  text-align: center;
  appearance: textfield;
  -moz-appearance: textfield;
}

.quantity.po-quantity-ready input.qty::-webkit-outer-spin-button,
.quantity.po-quantity-ready input.qty::-webkit-inner-spin-button {
  margin: 0;
  appearance: none;
  -webkit-appearance: none;
}

.quantity.po-quantity-ready .po-qty-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: #fff;
  color: #111;
  font-size: 20px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

.quantity.po-quantity-ready .po-qty-btn:hover:not(:disabled) {
  background: #f3f3f3;
}

.quantity.po-quantity-ready .po-qty-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

/* RTL layout correction inside forms */
.quick-buy-add-to-cart .quantity.po-quantity-ready,
.woocommerce div.product form.cart .quantity.po-quantity-ready {
  margin: 0 0 14px 0 !important;
}

/* Optional: make it full width in popup */
.quick-buy-add-to-cart .quantity.po-quantity-ready {
  width: 160px;
  grid-template-columns: 44px 1fr 44px;
}

.quick-buy-add-to-cart .quantity.po-quantity-ready input.qty {
  width: 100% !important;
}

/* Add-to-cart button spacing */
.quick-buy-add-to-cart .single_add_to_cart_button {
/*   margin-top: 12px; */
}
.wc-block-components-quantity-selector {
  display: inline-flex;
  align-items: center;
  border: 1px solid #ddd;
  border-radius: 12px;
  overflow: hidden;
  height: 40px;
  background: #fff;
}

.wc-block-components-quantity-selector__input {
  width: 48px;
  border: 0;
  text-align: center;
  font-weight: 600;
  font-size: 14px;
  appearance: textfield;
}

.wc-block-components-quantity-selector__input::-webkit-inner-spin-button,
.wc-block-components-quantity-selector__input::-webkit-outer-spin-button {
  -webkit-appearance: none;
}

.wc-block-components-quantity-selector__button {
  width: 40px;
  height: 40px;
  border: 0;
  background: #fff;
  cursor: pointer;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wc-block-components-quantity-selector__button:hover {
  background: #f4f4f4;
}

.wc-block-components-quantity-selector__button:disabled {
  opacity: .4;
  cursor: not-allowed;
}
.quantity.po-qty-ready {
max-height: 60px;
height: fit-content;
  display: flex;
  align-items: center;
  gap: 10px;
	    background-color: var(--cart-panel-bg) !important;
    border: 1px solid var(--cart-panel-border) !important;
    border-radius: 99px !important;
    padding: 2px !important;
}
button.single_add_to_cart_button.button.alt{
width: 100%;
}
button.po-qty-btn.po-qty-dec {
background: none transparent;
    border: 0;
    box-shadow: none;
    color: currentColor;
    cursor: pointer;
    font-size: 1.4em;
    font-style: bold;
    font-weight: 400;
    margin: 0;
    min-width: 40px;
    opacity: .6;
    padding: 0;
    text-align: center;
    text-decoration: none;
}
button.po-qty-btn.po-qty-inc {
background: none transparent;
    border: 0;
    box-shadow: none;
    color: currentColor;
    cursor: pointer;
    font-size: 1.4em;
    font-style: bold;
    font-weight: 400;
    margin: 0;
    min-width: 40px;
    opacity: .6;
    padding: 0;
    text-align: center;
    text-decoration: none;
}
.po-qty-field input{
appearance: textfield;
    background: transparent;
    border: 0;
    box-shadow: none;
    color: currentColor;
    flex: 1 1 auto;
    font-size: var(--wp--preset--font-size--small, 14px);
    line-height: 1.4;
    line-height: 1;
    margin: 0;
    min-width: 40px;
    order: 2;
    text-align: center;
    vertical-align: middle;
		padding: none !important;
border: 1px solid #00000000 !important;
}
.po-qty-btn {
  width: 36px;
  height: 40px;
  border: 1px solid #ddd;
  background: #fff;
  font-size: 20px;
  font-weight: 700;
  border-radius: 8px;
  cursor: pointer;
  line-height: 1;
}
button.single_add_to_cart_button.button.alt {
    min-height: 60px;
}
.quick-buy-add-to-cart .woocommerce-variation.single_variation {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  width: fit-content !important;
  max-width: 100% !important;
  margin: 0 0 0 auto !important;

  gap: 6px !important;
  padding: 8px !important;

  text-align: right !important;
  color: var(--po-teal) !important;
  font-size: 1.65em !important;
  font-weight: 900 !important;
  line-height: 1.25 !important;
  letter-spacing: -0.02em !important;
    max-height: 60px;
  background: linear-gradient(
    135deg,
    rgba(0, 150, 136, 0.14),
    rgba(0, 150, 136, 0.055)
  ) !important;

  border: 1px solid var(--po-teal-border) !important;
  border-radius: 16px !important;

  box-shadow:
    0 10px 28px rgba(0, 150, 136, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.16) !important;

  transform: translateY(0);
  transition:
    color 0.25s ease,
    background 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease !important;
}
.quick-buy-add-to-cart .woocommerce-variation.single_variation {
  margin-inline-start: auto !important;
  margin-inline-end: 0 !important;
}
.quick-buy-add-to-cart .woocommerce-variation.single_variation {
  margin-inline-start: auto !important;
}

.quick-buy-close {
  background: rgba(255, 255, 255, 0.92);
  color: #0f172a;
  border: 1px solid rgba(15, 23, 42, 0.12);
  box-shadow:
    0 10px 24px rgba(15, 23, 42, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(10px);
  transition:
    color 0.25s ease,
    background 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease;
}

.quick-buy-close:hover {
  background: rgba(239, 68, 68, 0.1);
  color: #dc2626;
  border-color: rgba(239, 68, 68, 0.28);
  box-shadow:
    0 12px 28px rgba(239, 68, 68, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
  transform: translateY(-1px);
}
.quick-buy-close {
  background: rgba(248, 250, 252, 0.9);
  color: #1e293b;
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow:
    0 10px 24px rgba(15, 23, 42, 0.13),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
}

.quick-buy-close:hover {
  background: rgba(254, 226, 226, 0.95);
  color: #b91c1c;
  border-color: rgba(248, 113, 113, 0.45);
  transform: translateY(-1px);
}


.quick-buy-close:active {
  transform: translateY(0) scale(0.96);
}


a.reset_variations {
    display: flex;
    flex-direction: row-reverse;
}
.woocommerce-variation-add-to-cart.variations_button.woocommerce-variation-add-to-cart-enabled {
    margin-top: 10px;
		
}
span.woocommerce-Price-amount.amount {
    color: var(--po-teal) !important;
    font-weight: 900 !important;
}
.woocommerce .quantity .qty {
	width: 50px;
  height: 40px;
	
}

.po-qty-btn:hover {
  background: #f3f3f3;
}

.quantity input.qty {
  width: 40px;
  height: 36px;
  text-align: center;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
}
.quick-buy-box .quantity.po-qty-ready {
  width: fit-content;
  max-width: 100%;
  display: inline-flex;
  align-items: center;
}
/* remove default browser arrows */
.quantity input.qty::-webkit-outer-spin-button,
.quantity input.qty::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.quantity input.qty {
  -moz-appearance: textfield;
}

.single_add_to_cart_button {
    text-align: center !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
}

/* The Premium UI for variation */

/* ================================
   Premium WooCommerce Variations UI
   ================================ */

.single-product table.variations {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 22px 0 26px;
    padding: 22px;
    direction: rtl;

    /* background: */
/*         linear-gradient(145deg, rgba(255,255,255,0.94), rgba(248,248,246,0.88)); */
    border: 1px solid rgba(20, 20, 20, 0.08);
    border-radius: 24px;

/*     box-shadow:
        0 18px 45px rgba(0, 0, 0, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.85); */

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

/* Each variation row */
.single-product table.variations tr {
    display: grid;
    grid-template-columns: 120px 1fr;
    align-items: start;
    gap: 18px;
    padding: 18px 0;
        border-bottom: 1px solid rgb(215 215 215 / 35%);
}

.single-product table.variations tr:first-child {
    padding-top: 0;
}

.single-product table.variations tr:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

/* Remove default table cell behavior */
.single-product table.variations th,
.single-product table.variations td {
    display: block;
    padding: 0;
    border: 0;
    vertical-align: middle;
    background: transparent;
}

/* Labels */
.single-product table.variations th.label {
    text-align: right;
    line-height: 1.4;
}

.single-product table.variations th.label label {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 38px;
    padding: 0 2px;

    color: #151515;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: -0.02em;
    white-space: nowrap;
}

/* Optional subtle label dot */
.single-product table.variations th.label label::before {
		margin-left: 8px;
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: linear-gradient(135deg, #c9a45c, #f2d28a);
    box-shadow: 0 0 0 4px rgba(201, 164, 92, 0.14);
}

/* Hide native selects visually because swatches replace them */
.single-product table.variations td.value > select {
    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;
    white-space: nowrap !important;
    border: 0 !important;
}

/* Swatches wrapper */
.single-product .po-swatches {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    width: 100%;
}
.woocommerce-price-suffix{
    display: none !important;
}
/* Swatch buttons */
.single-product .po-swatch {
    position: relative;
    min-height: 42px;
    padding: 0 18px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(0, 0, 0, 0.10);
    border-radius: 999px;

    background:
        linear-gradient(145deg, #ffffff, #f6f6f4);
    color: #1c1c1c;

    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.015em;

    cursor: pointer;
    user-select: none;

    box-shadow:
        0 8px 20px rgba(0, 0, 0, 0.045),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease,
        background 0.2s ease,
        color 0.2s ease;
}

/* Hover */
.single-product .po-swatch:hover {
    transform: translateY(-1px);
    border-color: rgba(201, 164, 92, 0.55);
    box-shadow:
        0 12px 28px rgba(0, 0, 0, 0.075),
        0 0 0 4px rgba(201, 164, 92, 0.10),
        inset 0 1px 0 rgba(255, 255, 255, 1);
}

/* Active / selected swatch */
.single-product .po-swatch.is-active,
.single-product .po-swatch.selected,
.single-product .po-swatch.active {
    padding-inline-end: 34px;
    color: #111;
    border-color: rgba(201, 164, 92, 0.9);
    background: linear-gradient(145deg, #fff8e8, #f3d78f);
    box-shadow: 0 14px 30px rgba(201, 164, 92, 0.28), 0 0 0 4px rgba(201, 164, 92, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

/* Selected check mark */
.single-product .po-swatch.is-active::after,
.single-product .po-swatch.selected::after,
.single-product .po-swatch.active::after {
    content: "✓";
    position: absolute;
    top: 50%;
    inset-inline-end: 12px;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #111;
    color: #f2d28a;
    font-size: 10px;
    font-weight: 900;
    line-height: 1;
}

/* Disabled swatches, if WooCommerce disables unavailable values */
.single-product .po-swatch.disabled,
.single-product .po-swatch:disabled {
    opacity: 0.38;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
    filter: grayscale(1);
}

/* Reset variations link */
.single-product table.variations .reset_variations {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;

    margin-top: 14px;
    padding: 8px 14px;

    border-radius: 999px;
    background: rgba(0, 0, 0, 0.045);
    color: #555;

    font-size: 12px;
    font-weight: 700;
    text-decoration: none;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.single-product table.variations .reset_variations:hover {
    background: rgba(0, 0, 0, 0.085);
    color: #111;
    transform: translateY(-1px);
}

/* Variation price area */
.single-product .woocommerce-variation-price {
    margin: 18px 0 12px;
    padding: 16px 18px;

    border-radius: 20px;
/*     background:
        linear-gradient(145deg, rgba(17,17,17,0.96), rgba(38,38,38,0.96)); */

/*     color: #fff;
    box-shadow:
        0 18px 40px rgba(0, 0, 0, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.08); */
}




.single-product .woocommerce-variation-price .price {
    margin: 0;
    color: #fff;
    font-size: 18px;
    font-weight: 900;
}

.single-product .woocommerce-variation-price .amount {
    color: #f2d28a;
    font-weight: 900;
}

/* Add-to-cart row alignment */
.single-product .woocommerce-variation-add-to-cart,
.single-product form.cart:not(.grouped_form) {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

/* Add to cart button luxury styling */
.single-product .single_add_to_cart_button {
    min-height: 48px;
    padding: 0 28px !important;

    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    text-align: center !important;

    border: 0 !important;
    border-radius: 999px !important;

    background:
        linear-gradient(135deg, #111, #2b2b2b) !important;
    color: #fff !important;

    font-size: 14px !important;
    font-weight: 900 !important;
    letter-spacing: -0.015em;

    box-shadow:
        0 14px 30px rgba(0, 0, 0, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.10);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.single-product .single_add_to_cart_button:hover {
    transform: translateY(-1px);
    background:
        linear-gradient(135deg, #000, #1d1d1d) !important;
    box-shadow:
        0 18px 42px rgba(0, 0, 0, 0.24),
        0 0 0 4px rgb(171 92 201 / 12%),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

button.single_add_to_cart_button.button.alt {
    background: linear-gradient(135deg, #009688 0%, #8e24aa 100%) !important;
}

button.single_add_to_cart_button.button.alt ::hover{
transform:translateY(-2px);

    box-shadow:
        0 16px 40px rgba(142,36,170,.35);

    background:
        linear-gradient(135deg,#00bfa5 0%,#9c27b0 100%) !important;
}

/* Global WooCommerce ALT button hover override */
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover,
.woocommerce #respond input#submit.alt:hover {
    background: linear-gradient(135deg,#c9a45c,#f2d28a) !important;
    color: #111 !important;
    border-color: rgba(201,164,92,0.9) !important;
    box-shadow:
        0 14px 32px rgba(201,164,92,0.35),
        0 0 0 4px rgba(201,164,92,0.18) !important;
    transform: translateY(-1px);
}

body.dark-mode .woocommerce a.button.alt:hover,
body.dark-mode .woocommerce button.button.alt:hover,
body.dark-mode .woocommerce input.button.alt:hover,
body.dark-mode .woocommerce #respond input#submit.alt:hover {
    background: linear-gradient(135deg,#2a2418,#3a2f18) !important;
    color: #f2d28a !important;
    border-color: rgba(201,164,92,0.8) !important;
    box-shadow:
        0 16px 36px rgba(0,0,0,0.7),
        0 0 0 4px rgba(201,164,92,0.2) !important;
}

/* Mobile layout */
@media (max-width: 640px) {
    .single-product table.variations {
        padding: 18px;
        border-radius: 20px;
    }

.single-product table.variations tr {
        grid-template-columns: 1fr;
gap: 10px;
padding: 18px 0;
}

    .single-product table.variations th.label label {
        justify-content: flex-start;
        min-height: auto;
        font-size: 13px;
    }

    .single-product .po-swatches {
        gap: 8px;
    }

    .single-product .po-swatch {
        min-height: 40px;
        padding: 0 15px;
        font-size: 12px;
    }

    .single-product .woocommerce-variation-add-to-cart,
    .single-product form.cart:not(.grouped_form) {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }

    .single-product .single_add_to_cart_button {
        width: 100%;
    }
}
body.dark-mode .single-product table.variations tr {
    border-bottom: 1px solid rgb(176 171 171 / 20%) !important;
}
body.dark-mode table.variations {
/*     background: #141416 !important; */
/*     border: 1px solid rgba(255,255,255,0.08) !important; */
}

body.dark-mode table.variations th.label label {
    color: #f0f0f0 !important;
}

body.dark-mode table.variations td.value {
    color: #e6e6e6 !important;

}

body.dark-mode .po-swatches {
    background: transparent !important;
}

body.dark-mode .po-swatch {
    background: #1f1f22 !important;
    color: #f2f2f2 !important;
    border: 1px solid rgba(255,255,255,0.12) !important;
    box-shadow: none !important;
}

body.dark-mode .po-swatch:hover {
    background: #2a2a2e !important;
    border-color: rgba(201,164,92,0.5) !important;
}

body.dark-mode .po-swatch.is-active,
body.dark-mode .po-swatch.selected,
body.dark-mode .po-swatch.active {
    padding-inline-end: 34px !important;
    color: #111 !important;
    border-color: rgba(201, 164, 92, 0.9) !important;
    background: linear-gradient(145deg, #fff8e8, #f3d78f) !important;
    box-shadow: 0 14px 30px rgba(201, 164, 92, 0.28), 0 0 0 4px rgba(201, 164, 92, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.75) !important;

}

body.dark-mode .reset_variations {
    color: #ccc !important;
    background: rgba(255,255,255,0.06) !important;
    border-radius: 6px;
    padding: 4px 10px;
}


/* =========================
   Quick Buy Modal Dark Mode
   ========================= */

body.dark-mode #quick-buy-modal,
html[data-theme="dark"] #quick-buy-modal {
  background: rgba(0, 0, 0, 0.72);
}

body.dark-mode .quick-buy-box,
html[data-theme="dark"] .quick-buy-box {
  background: #1b1f24;
  color: #e8edf2;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
}

body.dark-mode .quick-buy-close,
html[data-theme="dark"] .quick-buy-close {
  background: #2a313a;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.12);
}

body.dark-mode .quick-buy-close:hover,
html[data-theme="dark"] .quick-buy-close:hover {
  background: #39424d;
}

body.dark-mode .quick-buy-content h3,
html[data-theme="dark"] .quick-buy-content h3,
body.dark-mode .quick-buy-content-inner h3,
html[data-theme="dark"] .quick-buy-content-inner h3 {
  color: #ffffff;
}

body.dark-mode .quick-buy-content .price,
html[data-theme="dark"] .quick-buy-content .price {
  color: #8fe28f;
}

body.dark-mode .quick-buy-content p,
html[data-theme="dark"] .quick-buy-content p,
body.dark-mode .quick-buy-content span,
html[data-theme="dark"] .quick-buy-content span,
body.dark-mode .quick-buy-content label,
html[data-theme="dark"] .quick-buy-content label {
  color: #c9d1d9;
}

body.dark-mode .quick-buy-product,
html[data-theme="dark"] .quick-buy-product {
  background: transparent;
}

body.dark-mode .quick-buy-image,
html[data-theme="dark"] .quick-buy-image {
  background: #11151a;
  border-radius: 12px;
}

body.dark-mode .quick-buy-image img,
html[data-theme="dark"] .quick-buy-image img {
  background: #11151a;
}

body.dark-mode .quick-buy-content-inner,
html[data-theme="dark"] .quick-buy-content-inner {
  background: transparent;
}


body.dark-mode .quick-buy-box input,
body.dark-mode .quick-buy-box select,
body.dark-mode .quick-buy-box textarea,
html[data-theme="dark"] .quick-buy-box input,
html[data-theme="dark"] .quick-buy-box select,
html[data-theme="dark"] .quick-buy-box textarea {
  background: #0f1419;
  color: #e8edf2;
  border: 1px solid #334155;
}

body.dark-mode .quick-buy-box input::placeholder,
body.dark-mode .quick-buy-box textarea::placeholder,
html[data-theme="dark"] .quick-buy-box input::placeholder,
html[data-theme="dark"] .quick-buy-box textarea::placeholder {
  color: #8b98a5;
}

body.dark-mode .quick-buy-box button,
html[data-theme="dark"] .quick-buy-box button {
  color: inherit;
}


/* ===============================
   Premium Dark Mode: Quick Buy
   =============================== */

body.dark-mode #quick-buy-modal,
html[data-theme="dark"] #quick-buy-modal {
  background:
    radial-gradient(circle at top, rgba(41, 98, 255, 0.18), transparent 34%),
    rgba(3, 7, 18, 0.78);
  backdrop-filter: blur(8px);
}

body.dark-mode .quick-buy-box,
html[data-theme="dark"] .quick-buy-box {
  background:
    linear-gradient(145deg, rgba(30, 41, 59, 0.98), rgba(15, 23, 42, 0.98));
  color: #e5e7eb;
  border: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

body.dark-mode .quick-buy-box::before,
html[data-theme="dark"] .quick-buy-box::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.08),
      transparent 35%,
      rgba(255, 255, 255, 0.025)
    );
}

body.dark-mode .quick-buy-close,
html[data-theme="dark"] .quick-buy-close {
  background: rgba(15, 23, 42, 0.88);
  color: #f8fafc;
  border: 1px solid rgba(148, 163, 184, 0.24);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
}

body.dark-mode .quick-buy-close:hover,
html[data-theme="dark"] .quick-buy-close:hover {
  background: rgba(239, 68, 68, 0.16);
  color: #fecaca;
  border-color: rgba(248, 113, 113, 0.45);
  transform: translateY(-1px);
}

body.dark-mode .quick-buy-product,
html[data-theme="dark"] .quick-buy-product {
  background: transparent;
}

body.dark-mode .quick-buy-image,
html[data-theme="dark"] .quick-buy-image {
  background:
    linear-gradient(145deg, rgba(15, 23, 42, 0.95), rgba(2, 6, 23, 0.95));
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 18px;
  padding: 12px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

body.dark-mode .quick-buy-image img,
html[data-theme="dark"] .quick-buy-image img {
  background: transparent;
  border-radius: 14px;
}

body.dark-mode .quick-buy-content,
html[data-theme="dark"] .quick-buy-content,
body.dark-mode .quick-buy-content-inner,
html[data-theme="dark"] .quick-buy-content-inner {
  color: #009688;
}

body.dark-mode .quick-buy-content h3,
html[data-theme="dark"] .quick-buy-content h3,
body.dark-mode .quick-buy-content-inner h3,
html[data-theme="dark"] .quick-buy-content-inner h3 {
  color: #f8fafc;
  letter-spacing: -0.01em;
}

body.dark-mode .quick-buy-content .price,
html[data-theme="dark"] .quick-buy-content .price,
body.dark-mode .quick-buy-box .price,
html[data-theme="dark"] .quick-buy-box .price {
  color: #86efac;
  text-shadow: 0 0 18px rgba(34, 197, 94, 0.18);
}

body.dark-mode .quick-buy-content p,
html[data-theme="dark"] .quick-buy-content p,
body.dark-mode .quick-buy-content span,
html[data-theme="dark"] .quick-buy-content span,
body.dark-mode .quick-buy-content label,
html[data-theme="dark"] .quick-buy-content label,
body.dark-mode .quick-buy-box .woocommerce-Price-amount,
html[data-theme="dark"] .quick-buy-box .woocommerce-Price-amount {
  color: #cbd5e1;
}

body.dark-mode .quick-buy-box a,
html[data-theme="dark"] .quick-buy-box a {
  color: #93c5fd;
}

body.dark-mode .quick-buy-box a:hover,
html[data-theme="dark"] .quick-buy-box a:hover {
  color: #bfdbfe;
}

/* Quick Buy Dark Mode: Inputs, Quantity, Buttons */

body.dark-mode .quick-buy-box input,
body.dark-mode .quick-buy-box select,
body.dark-mode .quick-buy-box textarea,
html[data-theme="dark"] .quick-buy-box input,
html[data-theme="dark"] .quick-buy-box select,
html[data-theme="dark"] .quick-buy-box textarea {
  background: rgba(2, 6, 23, 0.82);
  color: #f8fafc;
  border: 1px solid rgba(148, 163, 184, 0.24);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.35);
}

body.dark-mode .quick-buy-box input:focus,
body.dark-mode .quick-buy-box select:focus,
body.dark-mode .quick-buy-box textarea:focus,
html[data-theme="dark"] .quick-buy-box input:focus,
html[data-theme="dark"] .quick-buy-box select:focus,
html[data-theme="dark"] .quick-buy-box textarea:focus {
  border-color: rgba(96, 165, 250, 0.7);
  outline: none;
  box-shadow:
    0 0 0 3px rgba(59, 130, 246, 0.16),
    inset 0 1px 2px rgba(0, 0, 0, 0.35);
}

body.dark-mode .quick-buy-box input::placeholder,
body.dark-mode .quick-buy-box textarea::placeholder,
html[data-theme="dark"] .quick-buy-box input::placeholder,
html[data-theme="dark"] .quick-buy-box textarea::placeholder {
  color: #94a3b8;
}

body.dark-mode .quick-buy-box .quantity,
html[data-theme="dark"] .quick-buy-box .quantity {
/*   background: rgba(15, 23, 42, 0.75); */
/*   border: 1px solid rgba(148, 163, 184, 0.18); */
  border-radius: 999px;
}

body.dark-mode .quick-buy-box .quantity button,
body.dark-mode .quick-buy-box .qty-btn,
body.dark-mode .quick-buy-box .plus,
body.dark-mode .quick-buy-box .minus,
html[data-theme="dark"] .quick-buy-box .quantity button,
html[data-theme="dark"] .quick-buy-box .qty-btn,
html[data-theme="dark"] .quick-buy-box .plus,
html[data-theme="dark"] .quick-buy-box .minus {
  background: rgba(30, 41, 59, 0.95);
  color: #f8fafc;
  border-color: rgba(148, 163, 184, 0.2);
}

body.dark-mode .quick-buy-box .quantity button:hover,
body.dark-mode .quick-buy-box .qty-btn:hover,
body.dark-mode .quick-buy-box .plus:hover,
body.dark-mode .quick-buy-box .minus:hover,
html[data-theme="dark"] .quick-buy-box .quantity button:hover,
html[data-theme="dark"] .quick-buy-box .qty-btn:hover,
html[data-theme="dark"] .quick-buy-box .plus:hover,
html[data-theme="dark"] .quick-buy-box .minus:hover {
  background: rgba(59, 130, 246, 0.22);
  color: #bfdbfe;
}

body.dark-mode .quick-buy-box .button,
body.dark-mode .quick-buy-box button.single_add_to_cart_button,
body.dark-mode .quick-buy-box .single_add_to_cart_button,
html[data-theme="dark"] .quick-buy-box .button,
html[data-theme="dark"] .quick-buy-box button.single_add_to_cart_button,
html[data-theme="dark"] .quick-buy-box .single_add_to_cart_button {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #ffffff;
  border: none;
  box-shadow: 0 14px 28px rgba(34, 197, 94, 0.22);
}

body.dark-mode .quick-buy-box .button:hover,
body.dark-mode .quick-buy-box button.single_add_to_cart_button:hover,
body.dark-mode .quick-buy-box .single_add_to_cart_button:hover,
html[data-theme="dark"] .quick-buy-box .button:hover,
html[data-theme="dark"] .quick-buy-box button.single_add_to_cart_button:hover,
html[data-theme="dark"] .quick-buy-box .single_add_to_cart_button:hover {
  background: linear-gradient(135deg, #4ade80, #22c55e);
  box-shadow: 0 16px 34px rgba(34, 197, 94, 0.3);
  transform: translateY(-1px);
}

/* Review rating stars */
.woocommerce p.stars a {
    color: #8e24aa !important;
}

.woocommerce p.stars.selected a.active,
.woocommerce p.stars.selected a:not(.active) {
    color: #8e24aa !important;
}

/* =========================================
   Quick Buy – Premium Variation UI
   ========================================= */

#quick-buy-modal table.variations {
    width: 100%;
    margin: 0 0 22px;
    padding: 22px 24px;
    display: block;
    border-radius: 24px;
    background:
        linear-gradient(145deg, rgba(255,255,255,0.96), rgba(250,247,240,0.92));
    border: 1px solid rgba(201,164,92,0.16);
    box-shadow:
        0 20px 45px rgba(0,0,0,0.08),
        inset 0 1px 0 rgba(255,255,255,0.75);
}

#quick-buy-modal table.variations tbody {
    display: block;
}

#quick-buy-modal table.variations tr {
    display: grid;
    grid-template-columns: 120px 1fr;
    align-items: start;
    gap: 18px;
    padding: 18px 0;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

#quick-buy-modal table.variations tr:first-child {
    padding-top: 0;
}

#quick-buy-modal table.variations tr:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

#quick-buy-modal table.variations th,
#quick-buy-modal table.variations td {
    padding: 0;
    display: block;
    border: 0;
}

#quick-buy-modal table.variations th.label label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    font-size: 13px;
    font-weight: 800;
    color: #1f1f1f;
    white-space: nowrap;
}

#quick-buy-modal table.variations th.label label::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: linear-gradient(135deg, #c9a45c, #f2d28a);
    box-shadow: 0 0 0 4px rgba(201,164,92,0.14);
}

#quick-buy-modal table.variations td.value {
    min-width: 0;
}

#quick-buy-modal table.variations select {
    display: none !important;
}

/* Swatches */

#quick-buy-modal .po-swatches {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

#quick-buy-modal .po-swatch {
    position: relative;
    min-height: 40px;
    padding: 10px 16px;
    border-radius: 999px;
    border: 1px solid rgba(0,0,0,0.08);
    background:
        linear-gradient(145deg, #ffffff, #f7f1e6);
    color: #262626;
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
    cursor: pointer;
    transition:
        transform .22s ease,
        box-shadow .22s ease,
        border-color .22s ease,
        background .22s ease,
        color .22s ease;
    box-shadow:
        0 8px 20px rgba(0,0,0,0.07),
        inset 0 1px 0 rgba(255,255,255,0.8);
}

#quick-buy-modal .po-swatch:hover {
    transform: translateY(-1px);
    border-color: rgba(201,164,92,0.55);
    box-shadow:
        0 12px 26px rgba(0,0,0,0.11),
        0 0 0 4px rgba(201,164,92,0.12),
        inset 0 1px 0 rgba(255,255,255,0.9);
}

#quick-buy-modal .po-swatch.is-active,
#quick-buy-modal .po-swatch.selected,
#quick-buy-modal .po-swatch.active {
    padding-inline-end: 34px;
    color: #111;
    border-color: rgba(201,164,92,0.9);
    background:
        linear-gradient(145deg, #fff8e8, #f3d78f);
    box-shadow:
        0 14px 30px rgba(201,164,92,0.28),
        0 0 0 4px rgba(201,164,92,0.14),
        inset 0 1px 0 rgba(255,255,255,0.75);
}

#quick-buy-modal .po-swatch.is-active::after,
#quick-buy-modal .po-swatch.selected::after,
#quick-buy-modal .po-swatch.active::after {
    content: "✓";
    position: absolute;
    top: 50%;
    inset-inline-end: 12px;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #111;
    color: #f2d28a;
    font-size: 10px;
    font-weight: 900;
    line-height: 1;
}

#quick-buy-modal .po-swatch.disabled,
#quick-buy-modal .po-swatch:disabled {
    opacity: .38;
    cursor: not-allowed;
    filter: grayscale(1);
    transform: none;
    box-shadow: none;
}

/* Reset variations */

#quick-buy-modal table.variations .reset_variations {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin-top: 12px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(0,0,0,0.045);
    color: #777;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
    transition:
        background .2s ease,
        color .2s ease,
        transform .2s ease;
}

#quick-buy-modal table.variations .reset_variations:hover {
    background: rgba(201,164,92,0.16);
    color: #9a7430;
    transform: translateY(-1px);
}

/* =========================================
   Quick Buy – Premium Variation UI Dark Mode
   ========================================= */

body.dark-mode #quick-buy-modal table.variations {
    background:
        linear-gradient(145deg, rgba(20,20,22,0.97), rgba(32,32,36,0.94));
    border-color: rgba(255,255,255,0.08);
    box-shadow:
        0 22px 55px rgba(0,0,0,0.65),
        inset 0 1px 0 rgba(255,255,255,0.04);
}

body.dark-mode #quick-buy-modal table.variations tr {
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

body.dark-mode #quick-buy-modal table.variations tr:last-child {
    border-bottom: 0;
}

body.dark-mode #quick-buy-modal table.variations th.label label {
    color: #ededed;
}

body.dark-mode #quick-buy-modal table.variations th.label label::before {
    background: linear-gradient(135deg, #c9a45c, #f2d28a);
    box-shadow:
        0 0 0 4px rgba(201,164,92,0.16),
        0 0 14px rgba(201,164,92,0.25);
}

body.dark-mode #quick-buy-modal .po-swatch {
    background:
        linear-gradient(145deg, #1b1b1d, #2a2a2e);
    border-color: rgba(255,255,255,0.09);
    color: #eeeeee;
    box-shadow:
        0 10px 26px rgba(0,0,0,0.55),
        inset 0 1px 0 rgba(255,255,255,0.05);
}

body.dark-mode #quick-buy-modal .po-swatch:hover {
    border-color: rgba(201,164,92,0.65);
    box-shadow:
        0 14px 34px rgba(0,0,0,0.65),
        0 0 0 4px rgba(201,164,92,0.16),
        inset 0 1px 0 rgba(255,255,255,0.08);
}

body.dark-mode #quick-buy-modal .po-swatch.is-active,
body.dark-mode #quick-buy-modal .po-swatch.selected,
body.dark-mode #quick-buy-modal .po-swatch.active {
    color: #fff;
    border-color: rgba(201,164,92,0.9);
    background:
        linear-gradient(145deg, #2a2418, #3a2f18);
    box-shadow:
        0 16px 36px rgba(0,0,0,0.75),
        0 0 0 4px rgba(201,164,92,0.20),
        inset 0 1px 0 rgba(255,255,255,0.12);
}

body.dark-mode #quick-buy-modal .po-swatch.is-active::after,
body.dark-mode #quick-buy-modal .po-swatch.selected::after,
body.dark-mode #quick-buy-modal .po-swatch.active::after {
    background: #f2d28a;
    color: #111;
    box-shadow: 0 4px 10px rgba(0,0,0,0.45);
}

body.dark-mode #quick-buy-modal table.variations .reset_variations {
    background: rgba(255,255,255,0.06);
    color: #cfcfcf;
}

body.dark-mode #quick-buy-modal table.variations .reset_variations:hover {
    background: rgba(201,164,92,0.16);
    color: #f2d28a;
}

span.wc-block-formatted-money-amount.wc-block-components-formatted-money-amount.wc-block-components-totals-item__value {
    font-weight: 800 !important;
    font-size: 1.1rem !important;
}

span.wc-block-formatted-money-amount.wc-block-components-formatted-money-amount.wc-block-components-totals-footer-item-tax-value {
    font-weight: 800 !important;
    font-size: 1.1rem !important;
}
.footer-bottom-widgets{
    display:grid;
    grid-template-columns:1.6fr 1fr 1fr;
    gap:48px;
    margin-top:60px;
    direction:rtl;
    text-align:right;
}

.footer-bottom-widget{
    width:100%;
}
@media (max-width:900px){
.footer-bottom-widgets{
grid-template-columns:1fr 1fr;
}
}

@media (max-width:600px){
.footer-bottom-widgets{
grid-template-columns:1fr;
}
}

.footer-brand-intro{
max-width:520px;
}

.footer-brand-header{
display:flex;
align-items:center;
gap:14px;
margin-bottom:14px;
}

.footer-brand-logo{
/* height:34px; */
width:50%;
}

.footer-brand-title{
display:flex;
flex-direction:column;
font-size:14px;
}

.footer-brand-title strong{
font-size:16px;
font-weight:700;
}

.footer-brand-motto{
opacity:.7;
font-size:13px;
}

.footer-brand-description{
font-size:14px;
line-height:1.8;
opacity:.85;
}

.footer-widget.footer-trust-widget {
    direction: ltr;
    display: flex;
    flex-direction: row-reverse;
}

span.hero-meta-inline {
    visibility: hidden;
}

/* shop product search */
.wp-block-search__inside-wrapper{
    position:relative;
    width:100% !important;
    max-width:520px;
    margin:30px auto 50px;
    display:flex;
    align-items:center;
    border-radius:60px;
    background:var(--bg-colour);
    border:1px solid var(--border);
    box-shadow:0 6px 18px rgba(0,0,0,0.06);
    transition:all .25s ease;
    overflow:hidden;
}

/* focus premium glow */
.wp-block-search__inside-wrapper:focus-within{
    border-color:var(--po-teal);
    box-shadow:
        0 10px 28px rgba(0,0,0,0.08),
        0 0 0 3px var(--po-teal-soft);
}

/* input */
.wp-block-search__input{
    flex:1;
    border:none;
    background:transparent;
    padding:16px 22px;
    font-size:15px;
    font-family:var(--font-sans);
    color:var(--onyx);
    outline:none;
}

/* placeholder */
.wp-block-search__input::placeholder{
    color:var(--charcoal-muted);
}

/* search button */
.wp-block-search__button{
    display:flex;
    align-items:center;
    justify-content:center;
    width:54px;
    height:54px;
    border:none;
    background:transparent;
    cursor:pointer;
    color:var(--charcoal-muted);
    transition:all .2s ease;
}

/* hover interaction */
.wp-block-search__button:hover{
    color:var(--po-teal);
    transform:scale(1.05);
}

/* icon */
.wp-block-search__button svg{
    width:22px;
    height:22px;
    fill:currentColor;
}
.woocommerce-products-header + .wp-block-search{
    text-align:center;
}

.woocommerce-products-header{
    text-align:center;
    padding:40px 20px 20px;
    margin-bottom:30px;
}

.woocommerce-products-header__title{
    font-size:32px;
    margin-bottom:10px;
}

.woocommerce-products-header .page-description{
    max-width:700px;
    margin:auto;
    color:var(--charcoal-muted);
}

/* CATEGORY FILTERS */

.po-shop-categories{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
    justify-content:center;
    margin:25px 0 30px;
    direction:rtl;
}

.po-cat-btn{
    text-decoration:none;
}


/* SHOP TOOLBAR */

.woocommerce-before-shop-loop{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:30px;
    padding-bottom:15px;
    border-bottom:1px solid var(--border-light);
}

/* result count */

.woocommerce-result-count{
    order:2;
    margin:0;
    font-size:14px;
    color:var(--charcoal-muted);
}

/* sorting */

.woocommerce-ordering{
    order:1;
    margin:0;
}

.woocommerce-ordering select{
    height:42px;
    padding:0 16px;
    border-radius:var(--navid-btn-radius);
    border:1px solid var(--border);
    background:#fff;
    font-size:13px;
    cursor:pointer;
}

.po-shop-toolbar{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
    margin:25px 0 30px;
    padding:16px 20px;
    border-radius:14px;
/*     background:rgba(255,255,255,.65); */
    backdrop-filter:blur(6px);
/*     border:1px solid var(--border-light); */
}

.po-toolbar-count{
    font-size:14px;
    color:var(--charcoal-muted);
    font-weight:500;
}

.po-toolbar-sorting{
    display:flex;
    align-items:center;
    gap:10px;
}

.po-toolbar-sorting label{
    font-size:13px;
    color:var(--charcoal-muted);
}

.po-toolbar-sorting select{
    height:40px;
    padding:0 16px;
    border-radius:var(--navid-btn-radius);
    border:1px solid var(--border);
    background:#fff;
    font-size:13px;
    cursor:pointer;
    transition:.2s;
}

.po-toolbar-sorting select:hover{
    border-color:var(--po-teal);
}

.po-toolbar-sorting select:focus{
    outline:none;
    border-color:var(--po-teal);
    box-shadow:0 0 0 3px var(--po-teal-soft);
}

.po-toolbar-sorting {
    direction: rtl;
}
.po-shop-toolbar {
    direction: ltr;
}

/* CATEGORY FILTER BAR */

.po-shop-categories{
    direction:rtl;
    display:flex;
    align-items:center;
    justify-content:center;
    flex-wrap:wrap;
    gap:12px;
    margin:28px auto 34px;
}


/* CATEGORY BUTTON */

.po-cat-btn{
    position:relative;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:42px;
    padding:0 20px;
    border-radius:var(--navid-btn-radius);
    font-family:'YekanBakh', var(--wp--preset--font-family--yekan-bakh-fanum), sans-serif;
    font-size:13px;
    font-weight:700;
    letter-spacing:-0.015em;
    text-decoration:none;

    color:var(--onyx);
    background:rgba(255,255,255,.85);
    border:1px solid var(--border);

    box-shadow:
        0 10px 28px rgba(0,0,0,.05),
        inset 0 1px 0 rgba(255,255,255,.65);

    transition:
        transform .22s ease,
        box-shadow .22s ease,
        background .22s ease,
        border-color .22s ease,
        color .22s ease;
}


/* HOVER */

.po-cat-btn:hover{
    transform:translateY(-2px);

    background:var(--po-teal-soft);
    border-color:var(--po-teal-border);
    color:var(--po-teal-dark);

    box-shadow:
        0 14px 32px rgba(0,150,136,.18),
        inset 0 1px 0 rgba(255,255,255,.7);
}


/* ACTIVE CATEGORY */

.po-cat-btn.is-active{

    color:#111;

    border-color:rgba(201,164,92,.85);

    background:
        linear-gradient(145deg,#fff8e8,#f3d78f);

    box-shadow:
        0 16px 34px rgba(201,164,92,.32),
        0 0 0 4px rgba(201,164,92,.15),
        inset 0 1px 0 rgba(255,255,255,.85);
}


/* ACTIVE INDICATOR DOT */

.po-cat-btn.is-active::after{
    content:"";
    width:7px;
    height:7px;
    border-radius:50%;
    margin-inline-start:8px;

    background:#111;

    box-shadow:
        0 0 0 3px rgba(255,255,255,.6);
}


/* SMALL ANIMATION */

.po-cat-btn:active{
    transform:translateY(0);
}


/* MOBILE */

@media (max-width:640px){

    .po-shop-categories{
        justify-content:flex-start;
        overflow-x:auto;
        flex-wrap:nowrap;
        padding-bottom:6px;
        margin-bottom:28px;
    }

    .po-cat-btn{
        flex:0 0 auto;
        min-height:38px;
        padding:0 16px;
        font-size:12.5px;
    }

}

/* WooCommerce Cart Layout Fix */
.wp-block-woocommerce-cart .wc-block-components-sidebar-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 32px;
  align-items: start;
}
.wc-block-components-sidebar.wc-block-cart__sidebar.wp-block-woocommerce-cart-totals-block{
    width: 100%;
}

/* Main cart table area */
.wp-block-woocommerce-cart .wc-block-components-main {
    width: 100%;
  min-width: 0;
}

/* Sidebar totals area */
.wp-block-woocommerce-cart .wc-block-components-sidebar {
  min-width: 0;
}

/* Keep sidebar visually stable */
.wp-block-woocommerce-cart .wc-block-components-sidebar {
  position: sticky;
  top: 24px;
}

/* Tablet / mobile stacking */
@media (max-width: 991px) {

     .hero-bg-img {
        object-position: 80% center;
    }

    .wp-block-woocommerce-cart .wc-block-components-sidebar-layout {
        grid-template-columns: 1fr;
    }

    .wp-block-woocommerce-cart .wc-block-components-sidebar {
        position: static;
    }
}

/* 4) Checkout button – “رفتن به صفحه پرداخت” */
body.woocommerce-cart .wc-block-cart__submit-button {
    display: block;
    width: 100%;
    background-image: linear-gradient(135deg, #00bcd4, #8e24aa) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 999px !important;
    padding: 14px 24px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    letter-spacing: 0;
    text-transform: none !important;
    text-align: center;
    box-shadow: 0 10px 25px rgba(142, 36, 170, 0.35) !important;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

body.woocommerce-cart .wc-block-cart__submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(142, 36, 170, 0.45);
    opacity: 0.95;
}

/* Remove uppercase from buttons globally on cart page (your pasted CSS imposed it) */
body.woocommerce-cart button,
body.woocommerce-cart .button {
    text-transform: none !important;
}

/* 5) Cart items table */
body.woocommerce-cart .wc-block-cart-items__header {
    border-bottom: 1px solid #eee;
    color: #999;
    font-size: 13px;
}
.product-duration-note {
    margin-top: 10px;
    font-size: 13px;
    color: #666;
    line-height: 1.6;
color: #009688;
background: #0096880e;
border-color:#a0a0a0;
border-radius: 8px;
padding: 4px;
}


/* ================================
   Homepage Section: Market Offering
   Palette: #009688 / #8e24aa / #fff
================================ */

.market-offering {
    position: relative;
    width: 100%;
    padding: 72px 18px;
    background: var(--bg-colour);
    overflow: visible;
    isolation: isolate;
}

body.dark-mode .market-offering {
    position: relative;
    width: 100%;
    padding: 72px 18px;
    background: var(--onyx);
    overflow: visible;
    isolation: isolate;
}

.market-offering::before,
.market-offering::after {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
    filter: blur(4px);
}

/* Primary teal glow */
.market-offering::before {
    top: -160px;
    left: -120px;
    background: radial-gradient(
        circle,
        rgba(0, 150, 136, 0.14) 20%,
        rgba(0, 150, 136, 0.08) 38%,
        transparent 68%
    );
}

/* Secondary purple glow */
.market-offering::after {
    top: -10px;
    right: -130px;
    background: radial-gradient(
        circle,
        rgba(142, 36, 170, 0.14) 20%,
        rgba(142, 36, 170, 0.08) 48%,
        transparent 78%
    );
}



.market-offering-inner {
    max-width: 1080px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.market-offering-item {
    position: relative;
    min-height: 178px;
    padding: 34px 24px 30px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(0, 0, 0, 0.075);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    text-align: center;
    box-shadow: 0 18px 55px rgba(0, 0, 0, 0.045);
    transition:
        transform 0.28s ease,
        border-color 0.28s ease,
        box-shadow 0.28s ease;
}

.market-offering-item::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(0, 150, 136, 0.42), rgba(142, 36, 170, 0.42));
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.28s ease;
}

.market-offering-item:hover {
    transform: translateY(-4px);
    border-color: transparent;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.08);
}

body.dark-mode .market-offering-item,
html[data-theme="dark"] .market-offering-item {
    background: rgba(20, 20, 24, 0.95);
    border: 2px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 18px 55px rgba(0, 0, 0, 0.65);
}

body.dark-mode .market-offering-item:hover,
html[data-theme="dark"] .market-offering-item:hover {
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.8);
}

body.dark-mode .market-offering-title,
html[data-theme="dark"] .market-offering-title {
    color: #f3f3f3;
}

body.dark-mode .market-offering-title::after,
html[data-theme="dark"] .market-offering-title::after {
    opacity: 0.9;
}



.market-offering-item:hover::before {
    opacity: 1;
}

.market-offering-icon {
    position: relative;
    width: 62px;
    height: 62px;
    border-radius: 999px;
    background: linear-gradient(135deg, #009688 0%, #8e24aa 100%);
    color: var(--bg-colour);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 21px;
    line-height: 1;
    box-shadow: 0 14px 34px rgba(0, 150, 136, 0.22);
}

.market-offering-icon::after {
    content: "";
    position: absolute;
    inset: 5px;
    border-radius: inherit;
    border: 1px solid rgba(255, 255, 255, 0.48);
}

.market-offering-icon span {
    position: relative;
    z-index: 1;
}

.market-offering-title {
width:100%;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px; /* spacing between text and lines */
    margin-top: 20px;
}

.market-offering-title::before,
.market-offering-title::after {
    content: "";
    flex: 1 1 34px; /* defines natural length */
    max-width: 34px; /* keeps luxury short-line look */
    height: 1px;
    background: linear-gradient(90deg, #009688 0%, #8e24aa 100%);
}



/*
hold users seection
*/

button:active {
transform: scale(.97);
}
.po-product-card:hover {
transform: translateY(-4px);
}

.cursor-glow {
    position: fixed;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    pointer-events: none;
    background: radial-gradient(
        circle,
        rgba(0, 150, 136, 0.22),
        rgba(142, 36, 170, 0.36),
        transparent 70%
    );
    /* filter: blur(28px); */
    transform: translate(-50%, -50%);
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.25s ease;
    /* mix-blend-mode: screen; */
}


/* ================================
   PO Studio Premium Custom Cursor
   Safari-Friendly Version
================================ */

/* Hide system cursor on desktop */
/* @media (hover: hover) and (pointer: fine) {
    html,
    body,
    body * {
        cursor: none !important;
    }
} */

/* Main small dot */
.po-cursor-dot {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 27px;
    height: 27px;
    border-radius: 50%;
    background: #009688;
    pointer-events: none !important;
    z-index: 2147483647 !important;
    transform: translate3d(-50px, -50px, 0);
    will-change: transform;
}

/* Outer luxury ring/glow */
.po-cursor-ring {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(142, 36, 170, 0.65);
    background: rgba(0, 150, 136, 0.36);
    box-shadow:
        0 0 18px rgba(0, 150, 136, 0.25),
        0 0 28px rgba(142, 36, 170, 0.18);
    pointer-events: none !important;
    z-index: 2147483646 !important;
    transform: translate3d(-50px, -50px, 0);
    will-change: transform, width, height, border-color, background;
    transition:
        width 0.22s ease,
        height 0.22s ease,
        background 0.22s ease,
        border-color 0.22s ease,
        opacity 0.2s ease;
}

/* Hide custom cursor on touch/mobile */
/* @media (hover: none), (pointer: coarse), (max-width: 768px) {
    html,
    body,
    body * {
        cursor: auto !important;
    }

    .po-cursor-dot,
    .po-cursor-ring {
        display: none !important;
    }
} */

/* Hover interaction over clickable elements */
.po-cursor-hover .po-cursor-ring {
    width: 56px;
    height: 56px;
    background: rgba(142, 36, 170, 0.10);
    border-color: rgba(0, 150, 136, 0.85);
}

/* Optional: make the dot brighter on hover */
.po-cursor-hover .po-cursor-dot {
    background: #8e24aa;
}

/* Reduce motion accessibility */
@media (prefers-reduced-motion: reduce) {
    .po-cursor-ring {
        transition: none !important;
    }
}

/* ---------------------------------------------------------
   PO Premium Custom Cursor
--------------------------------------------------------- */

@media (hover: hover) and (pointer: fine) {
    html.po-custom-cursor-enabled,
    html.po-custom-cursor-enabled body,
    html.po-custom-cursor-enabled body * {
        /* cursor: none !important; */
    }
}

.po-cursor-dot,
.po-cursor-ring {
    position: fixed !important;
    top: 0;
    left: 0;
    pointer-events: none !important;
    opacity: 0;
    will-change: transform, opacity;
    contain: layout style paint;
}

.po-cursor-dot {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: #009688;
    z-index: 2147483647 !important;
    transform: translate3d(-100px, -100px, 0);
    transition:
        opacity 0.18s ease,
        background-color 0.22s ease,
        width 0.22s ease,
        height 0.22s ease;
}

.po-cursor-ring {
    width: 38px;
    height: 38px;
    border-radius: 999px;
    border: 1px solid rgba(142, 36, 170, 0.62);
    background:
        radial-gradient(
            circle,
            rgba(0, 150, 136, 0.10) 0%,
            rgba(142, 36, 170, 0.06) 45%,
            rgba(255, 255, 255, 0) 72%
        );
    box-shadow:
        0 0 18px rgba(0, 150, 136, 0.22),
        0 0 28px rgba(142, 36, 170, 0.16);
    z-index: 2147483646 !important;
    transform: translate3d(-100px, -100px, 0);
    transition:
        opacity 0.18s ease,
        width 0.24s ease,
        height 0.24s ease,
        border-color 0.24s ease,
        background 0.24s ease,
        box-shadow 0.24s ease;
}

.po-cursor-hover .po-cursor-ring {
    width: 56px;
    height: 56px;
    border-color: rgba(0, 150, 136, 0.9);
    background:
        radial-gradient(
            circle,
            rgba(142, 36, 170, 0.13) 0%,
            rgba(0, 150, 136, 0.08) 48%,
            rgba(255, 255, 255, 0) 74%
        );
    box-shadow:
        0 0 24px rgba(0, 150, 136, 0.26),
        0 0 36px rgba(142, 36, 170, 0.22);
}

.po-cursor-hover .po-cursor-dot {
    width: 6px;
    height: 6px;
    background: #8e24aa;
}


/* Better typing UX on forms */
@media (hover: hover) and (pointer: fine) {
    html.po-custom-cursor-enabled input,
    html.po-custom-cursor-enabled textarea,
    html.po-custom-cursor-enabled select {
        cursor: text !important;
    }
}

/* Accessibility: disable animation-heavy cursor if user prefers reduced motion */
/* @media (prefers-reduced-motion: reduce) {
    html,
    body,
    body * {
        cursor: auto !important;
    }

    .po-cursor-dot,
    .po-cursor-ring {
        display: none !important;
    }
} */

/* =========================================
   100. COMMENTS SCTION
   ========================================= */
.comment-item {
padding: 20px;
background: var(--white);
border-radius: 2px;
}


/* ---------------------------------------------
   EZ Login – PersianOnyx Premium Style
   Author: Erfan Rafezi
---------------------------------------------- */

.ez-login-woocommerce {
    font-family: "Vazirmatn", "IRANYekan", sans-serif;
    direction: rtl;
}

/* Panel Wrapper */
.ez-login-form {
    background: #ffffff;
    padding: 32px;
    border-radius: 20px;
    border: 1px solid #eee;
    box-shadow: 0 10px 22px rgba(0,0,0,0.05);
    max-width: 420px;
    margin: 40px auto;
}

/* ---------------------------------------------
   TABS (ورود / ثبت‌نام)
---------------------------------------------- */

.ez-auth-tabs {
    display: flex;
    gap: 12px;
    padding: 10px !important;
    margin-bottom: 28px;
}

.ez-auth-tab {
    flex: 1;
    padding: 12px 0;
    background: #f8f8f8;
    border-radius: 12px;
    font-size: 15px;
    color: #444;
    border: 1px solid transparent;
    transition: all .25s ease;
}

.ez-auth-tab.is-active {
    background: #00916D;
    color: #fff;
    border-color: #00916D;
    font-weight: 600;
    box-shadow: 0 3px 12px rgba(0,145,109,0.25);
}

/* ---------------------------------------------
   INPUT FIELDS
---------------------------------------------- */

.ezf-field-group {
    margin-bottom: 22px;
}

.ezf-label {
    display: block;
    font-size: 13px;
    color: #333;
    margin-bottom: 6px;
}

.ezf-input {
    width: 100%;
    background: #fbfbfb;
    border: 1px solid #ddd;
    padding: 12px 14px;
    font-size: 15px;
    border-radius: 12px;
    transition: 0.2s;
}

.ezf-input:focus {
    border-color: #00916D;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(0,145,109,0.15);
}

/* Phone field */
.ezf-phone-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 10px 12px;
    background: #fbfbfb;
}

.ezf-phone-number {
    border: none !important;
    background: none !important;
    flex: 1;
    font-size: 15px;
}

/* ---------------------------------------------
   BUTTONS
---------------------------------------------- */

.ezf-btn-primary {
    width: 100%;
    background: #00916D;
    color: #fff;
    padding: 14px;
    font-size: 16px;
    border-radius: 16px;
    border: none;
    transition: 0.25s;
    box-shadow: 0 4px 14px rgba(0,145,109,0.25);
}

.ezf-btn-primary:hover {
    background: #007a59;
    box-shadow: 0 6px 18px rgba(0,145,109,0.35);
}

/* Secondary buttons */
.ezf-btn-ghost {
    background: #f8f8f8;
    border: 1px solid #ddd;
    padding: 10px 12px;
    border-radius: 12px;
    font-size: 14px;
    color: #444;
    transition: 0.2s;
}

.ezf-btn-ghost:hover {
    background: #efefef;
}

/* OTP Actions */
.ezf-actions {
    margin-top: 18px;
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

/* ---------------------------------------------
   FEEDBACK / ERRORS / TIMER
---------------------------------------------- */

.ez-login-message--error {
    background: #ffd7d7;
    color: #a30000;
    padding: 12px;
    border-radius: 12px;
    border: 1px solid #ffb3b3;
    font-size: 13px;
    margin-bottom: 8px;
}

.ez-login-message--info {
    background: #eafaf4;
    color: #007a59;
    padding: 12px;
    border-radius: 12px;
    border: 1px solid #c7f3e4;
    font-size: 13px;
    margin-bottom: 8px;
}

.ez-login-timer {
    background: #f8f8f8;
    padding: 10px;
    border-radius: 12px;
    font-size: 13px;
    color: #444;
    margin-top: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* ---------------------------------------------
   OTP Code Input
---------------------------------------------- */

.ezf-otp-input {
    letter-spacing: 6px;
    text-align: center;
    font-size: 20px;
    font-weight: 600;
    background: #fff;
    border-radius: 16px;
}

.ezf-otp-input:focus {
    border-color: #00916D;
    box-shadow: 0 0 0 3px rgba(0,145,109,0.25);
}

/* Sent Badge */
.ezf-sent-badge {
    background: #eafaf4;
    border: 1px solid #c7f3e4;
    padding: 12px;
    border-radius: 14px;
    margin-bottom: 18px;
    color: #007a59;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ---------------------------------------------
   REGISTER EXTRA FIELDS
---------------------------------------------- */

.ez-login-register-fields {
    margin-top: 16px;
    padding: 18px;
    background: #fafafa;
    border-radius: 16px;
    border: 1px solid #eee;
}

/* ---------------------------------------------
   Smooth animations
---------------------------------------------- */

.ez-auth-panel,
.ezf-method-panel,
.ez-login-verify-form {
    transition: opacity .25s ease, transform .25s ease;
}

.ez-auth-panel[hidden],
.ezf-method-panel[hidden],
.ez-login-verify-form[hidden] {
    opacity: 0;
    transform: translateY(10px);
}

/* ==================================================
   TorobPay badge — WooCommerce product archive cards
   ================================================== */

/* Product card becomes the positioning container */
.woocommerce ul.products li.product {
    position: relative;
    min-width: 0;
}

/* The product link contains both badge and image */
.woocommerce ul.products li.product > .woocommerce-LoopProduct-link {
    position: relative;
    display: block;
    min-width: 0;
}

/* TorobPay badge container */
.woocommerce ul.products li.product .torobpay-product-badge {
    position: absolute !important;
    top: 12px !important;
    right: 12px !important;
    left: auto !important;
    bottom: auto !important;

    z-index: 5;
    width: auto !important;
    max-width: calc(100% - 24px) !important;
    height: auto !important;

    margin: 0 !important;
    padding: 0 !important;

    transform: none !important;
    box-sizing: border-box;
    pointer-events: none;
}

/* Inner badge */
.woocommerce ul.products li.product .torobpay-product-badge-inner {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 6px;

    width: auto !important;
    max-width: 100% !important;
    min-height: 34px;
    padding: 6px 10px !important;
    margin: 0 !important;

    direction: rtl;
    white-space: nowrap;

    color: #07191e !important;
    background: rgba(255, 255, 255, 0.94) !important;
    border: 1px solid rgba(0, 150, 136, 0.22) !important;
    border-radius: 10px !important;

    box-shadow: 0 6px 18px rgba(7, 25, 30, 0.12);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

    box-sizing: border-box;
}

/* TorobPay icon */
.woocommerce ul.products li.product .torobpay-product-badge-icon {
    display: block !important;
    flex: 0 0 20px;

    width: 20px !important;
    min-width: 20px !important;
    max-width: 20px !important;
    height: 20px !important;

    margin: 0 !important;
    padding: 0 !important;

    object-fit: contain;
    border-radius: 0 !important;
}

/* Badge text */
.woocommerce ul.products li.product .torobpay-product-badge-text {
    display: inline-flex !important;
    align-items: center;
    gap: 4px;

    min-width: 0;
    margin: 0 !important;

    color: #34413f !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    white-space: nowrap;
}

/* Installment amount */
.woocommerce ul.products li.product
.torobpay-product-badge-text
.woocommerce-Price-amount {
    display: inline !important;
    margin: 0 !important;

    color: #009688 !important;
    font-size: inherit !important;
    font-weight: 800 !important;
    line-height: inherit !important;
}

/* Prevent global .price flex rules from affecting this amount */
.woocommerce ul.products li.product
.torobpay-product-badge
.woocommerce-Price-amount,
.woocommerce ul.products li.product
.torobpay-product-badge
.woocommerce-Price-currencySymbol {
    direction: rtl !important;
    white-space: nowrap !important;
}

/* Keep product image correctly contained */
.woocommerce ul.products li.product
.woocommerce-LoopProduct-link > img.woocommerce-loop-product__img,
.woocommerce ul.products li.product
.woocommerce-LoopProduct-link > img.attachment-woocommerce_thumbnail {
    display: block;
    width: 100% !important;
    height: auto !important;
    margin: 0 0 16px !important;
    object-fit: cover;
}

/* =========================================
   TorobPay variation widget
   Single product page
========================================= */

.single-product #torobpay-variation-widget-container {
    width: 100%;
    margin: 20px 0 18px;
    direction: rtl;
    text-align: right;
}

.single-product #torobpay-variation-widget-container:empty {
    display: none;
}

.single-product #torobpay-variation-widget-container .torobpay-widget {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;

    width: 100%;
    padding: 16px 18px;

    background:
        linear-gradient(
            135deg,
            rgba(0, 150, 136, 0.1),
            rgba(255, 255, 255, 0.96)
        );

    border: 1px solid rgba(0, 150, 136, 0.2);
    border-radius: 16px;

    box-shadow:
        0 10px 30px rgba(7, 25, 30, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.75);

    overflow: hidden;
    box-sizing: border-box;

    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.single-product #torobpay-variation-widget-container .torobpay-widget::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 4px;
    height: 100%;

    background: linear-gradient(
        to bottom,
        #009688,
        #8e24aa
    );
}

.single-product #torobpay-variation-widget-container .torobpay-widget:hover {
    transform: translateY(-2px);
    border-color: rgba(0, 150, 136, 0.38);

    box-shadow:
        0 16px 38px rgba(0, 150, 136, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

/* Logo area */
.single-product #torobpay-variation-widget-container .torobpay-widget-media {
    flex: 0 0 56px;

    width: 56px;
    height: 56px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 14px;

    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(0, 150, 136, 0.16);

    box-shadow:
        0 8px 20px rgba(0, 150, 136, 0.12);

    overflow: hidden;
}

/* Logo image */
.single-product #torobpay-variation-widget-container .torobpay-widget-image {
    display: block;

    width: 34px !important;
    height: 34px !important;
    max-width: 34px !important;

    margin: 0 !important;
    padding: 0 !important;

    object-fit: contain;
    border-radius: 0 !important;
}

/* Text content */
.single-product #torobpay-variation-widget-container .torobpay-widget-content {
    flex: 1 1 auto;
    min-width: 0;

    display: flex;
    flex-direction: column;
    gap: 5px;
}

/* Title */
.single-product #torobpay-variation-widget-container .torobpay-widget-title {
    margin: 0;

    color: #07191e;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.7;
}

/* Installment amount */
.single-product
#torobpay-variation-widget-container
.torobpay-widget-title
.woocommerce-Price-amount {
    display: inline !important;

    margin: 0 !important;
    padding: 0 !important;

    color: #009688 !important;
    font-size: 1.05em !important;
    font-weight: 900 !important;
    line-height: inherit !important;

    direction: rtl !important;
    white-space: nowrap;
}

/* Currency */
.single-product
#torobpay-variation-widget-container
.torobpay-widget-title
.woocommerce-Price-currencySymbol {
    color: inherit !important;
    font-size: 0.9em !important;
    font-weight: 700 !important;
}

/* Description */
.single-product #torobpay-variation-widget-container .torobpay-widget-description {
    margin: 0;

    color: #687572;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.8;
}

.po-cursor-dot,
.po-cursor-ring,
.cursor-glow {
    display: none !important;
}

html,
body,
body * {
    cursor: auto !important;
}