:root {
    --sgp-color-dark: #0D0625;
    --sgp-color-red: #AA122B;
    --sgp-color-plum: #66104A;
    --sgp-color-light: #F6F5F8;
    --sgp-glass-bg: rgba(246, 245, 248, 0.65);
    --sgp-glass-bg-strong: rgba(246, 245, 248, 0.85);
    --sgp-glass-border: rgba(255, 255, 255, 0.7);
    --sgp-glass-shadow: 0 15px 40px rgba(13, 6, 37, 0.08), 0 0 25px rgba(170, 18, 43, 0.04);
    --sgp-blur: blur(25px) saturate(150%);
    --sgp-text-muted: #64748b;
    --sgp-green: #10b981;
    --sgp-green-dark: #059669;
    --sgp-blue: #3b82f6;
    --sgp-blue-dark: #2563eb;
    --sgp-radius-lg: 28px;
    --sgp-radius-md: 18px;
    --sgp-radius-sm: 12px;
}

/* ===== کارت اصلی محصول ===== */
/* ===== کارت اصلی محصول ===== */
.sgp-wrapper, .ceramic-wrapper {
    position: relative;
    max-width: 420px;
    margin: 20px auto;
    background: var(--sgp-glass-bg);
    backdrop-filter: var(--sgp-blur);
    -webkit-backdrop-filter: var(--sgp-blur);
    border: 1px solid var(--sgp-glass-border);
    border-radius: var(--sgp-radius-lg);
    box-shadow: var(--sgp-glass-shadow);
    overflow: hidden;
    font-family: inherit;
    direction: rtl;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
}
.ceramic-wrapper::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(to right, transparent, rgba(170, 18, 43, 0.4), transparent);
}
.ceramic-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(13, 6, 37, 0.12), 0 0 40px rgba(102, 16, 74, 0.08);
}

.ceramic-title {
    margin: 0;
    padding: 22px 25px 10px 25px;
    font-size: 20px;
    font-weight: 900;
    color: var(--sgp-color-dark);
    line-height: 1.4;
    text-align: right;
    letter-spacing: -0.5px;
}

/* قاب زیبای توضیحات کوتاه (کد جدید) */
.ceramic-short-desc {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(246, 245, 248, 0.4));
    border-right: 4px solid var(--sgp-color-red);
    padding: 12px 16px;
    margin: 5px 25px 15px;
    border-radius: 12px;
    font-size: 13px;
    color: var(--sgp-color-dark);
    line-height: 1.7;
    box-shadow: 0 4px 15px rgba(13, 6, 37, 0.03);
    text-align: justify;
}

.ceramic-header { padding: 5px 25px; display: flex; justify-content: flex-start; }
.ceramic-count-badge {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(8px);
    color: var(--sgp-text-muted);
    font-size: 13px;
    font-weight: 700;
    padding: 7px 14px;
    border-radius: 50px;
    border: 1px solid rgba(255,255,255,0.7);
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.ceramic-body { padding: 15px 25px; display: flex; flex-direction: column; gap: 14px; }
.ceramic-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px dashed rgba(13, 6, 37, 0.12);
    padding-bottom: 10px;
}
.ceramic-row:last-child { border-bottom: none; padding-bottom: 5px; }
.ceramic-label { font-size: 14px; color: var(--sgp-text-muted); font-weight: 500; }
.ceramic-value { font-size: 16px; color: var(--sgp-color-dark); font-weight: 700; }
.ceramic-value.muted { color: #94a3b8; text-decoration: line-through; font-weight: 500; }
.ceramic-value.free-price { color: #0891b2; font-weight: 800; }

/* ===== انتخاب متغیر ===== */
.ceramic-variations { width: 100%; margin-bottom: 4px; }
.var-title { display: block; font-size: 13px; color: var(--sgp-text-muted); margin-bottom: 10px; font-weight: 600; }
.var-chips-vertical { display: flex; flex-direction: column; gap: 10px; }
.variation-chip-vertical {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(10px);
    border: 1.5px solid rgba(255, 255, 255, 0.6);
    border-radius: var(--sgp-radius-sm);
    padding: 8px 14px;
    cursor: pointer;
    transition: all 0.25s ease;
    width: 100%;
    text-align: right;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
    font-family: inherit;
    outline: none;
}
.variation-chip-vertical:hover {
    border-color: rgba(16, 185, 129, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}
.variation-chip-vertical.active {
    border-color: var(--sgp-green);
    background: rgba(16, 185, 129, 0.12);
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.2);
}
.chip-img-wrapper { margin-left: 12px; line-height: 0; }
.chip-img-wrapper img { width: 45px; height: 45px; border-radius: 10px; object-fit: cover; border: 1px solid rgba(255,255,255,0.6); }
.chip-text { flex: 1; font-size: 14px; color: #334155; font-weight: 600; }
.variation-chip-vertical.active .chip-text { color: var(--sgp-green-dark); font-weight: 800; }
.chip-check { opacity: 0; transform: scale(0.6); transition: all 0.25s ease; color: var(--sgp-green); }
.variation-chip-vertical.active .chip-check { opacity: 1; transform: scale(1); }

/* ===== فوتر قیمت / سود ===== */
.sgp-total-profit-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 25px;
    padding: 10px 16px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.25);
    border-radius: var(--sgp-radius-sm);
    animation: fadeInProfit 0.4s ease;
}
.profit-label { font-size: 12px; color: var(--sgp-green-dark); font-weight: 700; }
.profit-amount { font-size: 14px; color: var(--sgp-green-dark); font-weight: 800; }
@keyframes fadeInProfit { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: translateY(0); } }

.ceramic-footer {
    margin: 15px 25px 0;
    padding: 16px 22px;
    background: linear-gradient(135deg, rgba(102, 16, 74, 0.07) 0%, rgba(170, 18, 43, 0.04) 100%);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(170, 18, 43, 0.16);
    border-radius: var(--sgp-radius-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    position: relative;
    box-shadow: 0 8px 25px rgba(13, 6, 37, 0.04), inset 0 1px 2px rgba(255, 255, 255, 0.6);
}
.ceramic-total-box { display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.total-label { font-size: 13px; color: var(--sgp-text-muted); font-weight: 700; }
.total-price { 
    font-size: 28px; 
    font-weight: 900; 
    color: var(--sgp-color-dark); 
    letter-spacing: -1px; 
    line-height: 1; 
    text-shadow: 0 2px 4px rgba(0,0,0,0.04); 
}
.total-price .currency { font-size: 14px; font-weight: 700; color: var(--sgp-text-muted); margin-right: 6px; letter-spacing: 0; }

.ceramic-profit {
    background: linear-gradient(135deg, var(--sgp-green) 0%, var(--sgp-green-dark) 100%);
    color: white;
    padding: 10px 18px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 900;
    box-shadow: 0 6px 18px rgba(16, 185, 129, 0.35), inset 0 2px 4px rgba(255, 255, 255, 0.3);
    white-space: nowrap;
    letter-spacing: -0.5px;
}
.ceramic-profit.blue-badge {
    background: linear-gradient(135deg, var(--sgp-blue) 0%, var(--sgp-blue-dark) 100%);
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.25);
}

/* ===== اکشن‌ها ===== */
.ceramic-actions { display: flex; align-items: center; gap: 10px; padding: 18px 25px 22px; }
.qty-wrapper {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.6);
    border-radius: 50px;
    overflow: hidden;
}

.qty-wrapper input.sgp-qty-input {
    width: 40px;
    border: none;
    background: transparent;
    text-align: center;
    font-size: 15px;
    font-weight: 700;
    color: var(--sgp-text-dark);
    -moz-appearance: textfield;
}
.qty-wrapper input.sgp-qty-input::-webkit-outer-spin-button,
.qty-wrapper input.sgp-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.sgp-add-to-cart-btn, .sgp-request-stock-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    padding: 14px 20px;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 900;
    color: #ffffff !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    backdrop-filter: blur(6px);
    letter-spacing: -0.5px;
}
.sgp-add-to-cart-btn:active, .sgp-request-stock-btn:active { transform: scale(0.96); }

.pulsing-red-btn {
    background: linear-gradient(135deg, var(--sgp-color-red) 0%, var(--sgp-color-plum) 100%);
    box-shadow: 0 8px 25px rgba(170, 18, 43, 0.4), inset 0 2px 4px rgba(255, 255, 255, 0.25);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.3);
    animation: sgp-glass-pulse-red 2.4s infinite cubic-bezier(0.66, 0, 0, 1);
}
.pulsing-red-btn:hover {
    background: linear-gradient(135deg, #c71835 0%, #83155f 100%);
    box-shadow: 0 12px 30px rgba(170, 18, 43, 0.5), inset 0 2px 4px rgba(255, 255, 255, 0.3);
}
@keyframes sgp-glass-pulse-red {
    0% { box-shadow: 0 0 0 0 rgba(170, 18, 43, 0.5), 0 8px 25px rgba(170, 18, 43, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(170, 18, 43, 0), 0 8px 25px rgba(170, 18, 43, 0.4); }
    100% { box-shadow: 0 0 0 0 rgba(170, 18, 43, 0), 0 8px 25px rgba(170, 18, 43, 0.4); }
}

.pulsing-blue-btn {
    background: linear-gradient(135deg, var(--sgp-blue) 0%, var(--sgp-blue-dark) 100%);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3), inset 0 2px 4px rgba(255, 255, 255, 0.25);
    animation: sgp-glass-pulse-blue 2.4s infinite cubic-bezier(0.66, 0, 0, 1);
    border: 1px solid rgba(255, 255, 255, 0.3);
}
@keyframes sgp-glass-pulse-blue {
    0% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.5), 0 8px 20px rgba(59,130,246,0.3); }
    70% { box-shadow: 0 0 0 12px rgba(59, 130, 246, 0), 0 8px 20px rgba(59,130,246,0.3); }
    100% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0), 0 8px 20px rgba(59,130,246,0.3); }
}

.sgp-qty-btn {
    width: 36px; height: 36px;
    border: none;
    background: transparent;
    color: rgba(13, 6, 37, 0.72);
    font-size: 18px;
    font-weight: 800;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}
.sgp-qty-btn:hover { background: rgba(13, 6, 37, 0.05); color: var(--sgp-color-dark); }

.pulse-animation { animation: sgp-pulse-green 2.5s infinite cubic-bezier(0.66, 0, 0, 1); }
@keyframes sgp-pulse-green {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.55); }
    70% { box-shadow: 0 0 0 12px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.fade-in-up { animation: sgp-fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
@keyframes sgp-fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }

/* ===== مودال‌ها (موفقیت / درخواست موجودی) ===== */
/* ===== مودال‌ها (موفقیت / درخواست موجودی) ===== */
.sgp-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99999;
    align-items: center;
    justify-content: center;
    background: rgba(13, 6, 37, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    transition: opacity 0.2s ease;
}
.sgp-modal.active { opacity: 1; }

.sgp-modal-content, .sgp-modal-content.glassy-panel {
    background: linear-gradient(150deg, rgba(246, 245, 248, 0.95) 0%, rgba(255, 255, 255, 0.98) 100%) !important;
    backdrop-filter: blur(24px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(24px) saturate(180%) !important;
    border: 1px solid rgba(255, 255, 255, 0.6) !important;
    box-shadow: 0 25px 70px rgba(13, 6, 37, 0.35), 0 0 60px rgba(170, 18, 43, 0.15) !important;
    width: 90%;
    max-width: 420px;
    border-radius: 28px;
    padding: 38px 26px 28px;
    text-align: center;
    position: relative;
    overflow: hidden;
    direction: rtl;
    animation: sgp-popIn 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
@keyframes sgp-popIn { from { transform: scale(0.85); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* هاله‌های رنگی گوشه مودال */
.sgp-modal-content::before {
    content: ''; position: absolute; top: -60px; right: -60px; width: 160px; height: 160px;
    background: radial-gradient(circle, rgba(170, 18, 43, 0.35) 0%, rgba(170, 18, 43, 0) 70%); filter: blur(10px); pointer-events: none;
}
.sgp-modal-content::after {
    content: ''; position: absolute; bottom: -50px; left: -50px; width: 140px; height: 140px;
    background: radial-gradient(circle, rgba(102, 16, 74, 0.3) 0%, rgba(102, 16, 74, 0) 70%); filter: blur(10px); pointer-events: none;
}

.sgp-modal-header { margin-bottom: 18px; position: relative; z-index: 1; }
.sgp-success-badge {
    width: 74px; height: 74px;
    margin: 0 auto 18px;
    background: linear-gradient(135deg, var(--sgp-color-red) 0%, var(--sgp-color-plum) 100%);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 28px rgba(170, 18, 43, 0.4);
}
.sgp-modal-status, .sgp-modal h3 { margin: 0; color: var(--sgp-color-dark); font-size: 21px; font-weight: 900; letter-spacing: -0.4px; }

.sgp-modal-product-info {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(10px);
    padding: 14px;
    border-radius: 20px;
    margin-bottom: 18px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    box-shadow: 0 6px 18px rgba(13, 6, 37, 0.06);
    text-align: right;
    position: relative; z-index: 1;
}
.sgp-modal-img-wrapper { flex-shrink: 0; }
.sgp-modal-img-wrapper img { width: 72px; height: 72px; border-radius: 16px; object-fit: cover; border: 1px solid rgba(255, 255, 255, 0.7); }
.sgp-modal-details { flex: 1; }
.sgp-modal-details h4 { margin: 0 0 6px; font-size: 14px; font-weight: 700; color: var(--sgp-color-dark); line-height: 1.6; }
.sgp-modal-meta { margin: 0; font-size: 12px; color: var(--sgp-color-red); font-weight: 800;}
.highlight-qty { color: var(--sgp-color-red); font-weight: 900; }

.sgp-modal-profit {
    background: linear-gradient(135deg, rgba(170, 18, 43, 0.14) 0%, rgba(102, 16, 74, 0.1) 100%);
    border: 1px solid rgba(170, 18, 43, 0.28);
    padding: 14px;
    border-radius: 18px;
    color: var(--sgp-color-plum);
    font-weight: 800;
    margin-bottom: 26px;
    font-size: 15px;
    position: relative; z-index: 1;
}

.sgp-modal-buttons { display: flex; flex-direction: column; gap: 12px; position: relative; z-index: 1; }
.sgp-btn-checkout, .sgp-btn-checkout.glassy-green {
    background: linear-gradient(135deg, var(--sgp-color-red) 0%, var(--sgp-color-plum) 100%) !important;
    color: #fff !important;
    padding: 16px;
    border-radius: 16px;
    font-weight: 800;
    text-decoration: none !important;
    font-size: 16px;
    display: block;
    box-shadow: 0 12px 28px rgba(170, 18, 43, 0.35);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.sgp-btn-checkout:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 16px 34px rgba(170, 18, 43, 0.45); }

.sgp-btn-checkout.glassy-blue { /* دکمه ثبت درخواست موجودی */
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%) !important;
    box-shadow: 0 12px 28px rgba(59, 130, 246, 0.35);
}

.sgp-btn-continue, .sgp-btn-continue.glassy-neutral {
    background: rgba(13, 6, 37, 0.05) !important;
    color: var(--sgp-color-dark) !important;
    border: 1px solid rgba(13, 6, 37, 0.08) !important;
    padding: 14px;
    border-radius: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease;
}
.sgp-btn-continue.glassy-neutral:hover { background: rgba(13, 6, 37, 0.09) !important; }

/* ===== فرم درخواست موجودی ===== */
.sgp-guest-form { text-align: right; margin-top: 15px; position: relative; z-index: 1; }
.sgp-form-group { margin-bottom: 12px; }
.sgp-form-group input {
    width: 100%; box-sizing: border-box; padding: 14px 16px;
    border-radius: 16px; border: 1px solid rgba(13, 6, 37, 0.1);
    background: rgba(255, 255, 255, 0.7); backdrop-filter: blur(8px);
    font-size: 14px; color: var(--sgp-color-dark); outline: none;
    transition: all 0.25s ease;
}
.sgp-form-group input::placeholder { color: #94a3b8; }
.sgp-form-group input:focus { border-color: var(--sgp-color-plum); background: #ffffff; box-shadow: 0 4px 15px rgba(102, 16, 74, 0.1); }

/* ===== ریسپانسیو ===== */
@media (max-width: 480px) {
    .ceramic-wrapper { max-width: 100%; margin: 12px auto; }
    .ceramic-title { font-size: 18px; padding: 18px 18px 8px; }
    .ceramic-short-desc { margin: 5px 18px 12px; padding: 10px 14px; font-size: 12px; }
    .ceramic-body { padding: 12px 18px; }
    .ceramic-footer { margin: 12px 18px 0; padding: 14px 16px; }
    .ceramic-actions { padding: 14px 18px 18px; }
    .total-price { font-size: 21px; }
    .sgp-modal-content { padding: 30px 20px 24px; }
}



.ceramic-actions.sgp-sticky {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 16px 24px;
    background: linear-gradient(135deg, rgba(246, 245, 248, 0.94) 0%, rgba(255, 255, 255, 0.97) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 -10px 40px rgba(13, 6, 37, 0.12);
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    box-sizing: border-box;
    animation: sgpSlideUp 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes sgpSlideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}
@media (min-width: 768px) {
    .ceramic-actions.sgp-sticky {
        max-width: 440px;
        margin: 0 auto;
        bottom: 24px;
        border-radius: 20px;
        border: 1px solid rgba(255, 255, 255, 0.6);
        box-shadow: 0 15px 40px rgba(13, 6, 37, 0.2);
    }
}










/* شکست دادن قانون سخت‌گیرانه قالب وودمارت برای گرد کردن دکمه‌ها */
body .sgp-wrapper button.sgp-add-to-cart-btn, 
body .sgp-wrapper button.sgp-request-stock-btn {
    border-radius: 14px !important; /* شاه‌کلید */
}

/* استایل باکس علاقه‌مندی و ستاره‌ها */
.sgp-meta-header { display: flex; justify-content: space-between; align-items: center; padding: 15px 25px 0; }
.sgp-rating-box { color: #f59e0b; font-size: 14px; }
.sgp-empty-stars { color: #cbd5e1; }
.sgp-wishlist-box .wd-wishlist-btn { margin: 0; } /* هماهنگی با وودمارت */

/* استایل گرید (باکس‌های) جدید برای قیمت‌ها */
.sgp-price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); gap: 10px; margin-top: 10px; }
.sgp-p-box { background: rgba(255, 255, 255, 0.6); border: 1px solid rgba(13, 6, 37, 0.08); border-radius: 12px; padding: 10px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; box-shadow: 0 4px 10px rgba(0,0,0,0.02); }
.sgp-p-box.highlight { background: rgba(170, 18, 43, 0.04); border-color: rgba(170, 18, 43, 0.15); }
.sgp-p-box.alert { background: rgba(239, 68, 68, 0.05); border-color: rgba(239, 68, 68, 0.2); }
.sgp-p-box .lbl { font-size: 11px; color: var(--sgp-text-muted); margin-bottom: 4px; font-weight: 700; }
.sgp-p-box .val { font-size: 14px; color: var(--sgp-color-dark); font-weight: 900; }
.sgp-p-box .val.muted { text-decoration: line-through; color: #94a3b8; font-weight: 500; font-size: 13px; }

/* دکمه چسبان با تکنولوژی سبک */
.sgp-actions-anchor { width: 100%; height: 1px; }
.ceramic-actions.sgp-fixed-bottom {
    position: fixed; bottom: 0; left: 0; right: 0; width: 100%; margin: 0; z-index: 99999;
    background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(20px); border-top: 1px solid rgba(0,0,0,0.1);
    box-shadow: 0 -5px 25px rgba(0,0,0,0.08);
    transform: translateZ(0); will-change: transform; /* بهینه‌سازی عالی برای موبایل ضعیف */
    animation: sgpSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
/* استایل مدرن و گلس‌مورفیسم برای نوار ستاره‌ها */
.sgp-rating-action-bar {
    display: flex; align-items: center; justify-content: center; gap: 15px;
    margin: 0 20px 12px; background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.7); border-radius: 18px; padding: 10px 15px;
    box-shadow: 0 4px 20px rgba(13, 6, 37, 0.04), inset 0 2px 6px rgba(255,255,255,0.8);
}
.sgp-rating-box { display: flex; align-items: center; gap: 4px; direction: ltr; }

/* استایل عدد اعشاری امتیاز */
.sgp-num-rating-badge {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white; font-weight: 900; font-size: 14px;
    padding: 2px 8px; border-radius: 10px; margin-right: 8px;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
    letter-spacing: -0.5px;
}



/* کدهای دکمه چسبان با محافظت از نوار پایین گوشی (Bottom Nav) */
.ceramic-actions.sgp-fixed-bottom {
    position: fixed; 
    bottom: 75px; /* فاصله 75 پیکسلی برای جلوگیری از رفتن زیر نوار گوشی */
    left: 4%; right: 4%; width: 92%; max-width: 100%; margin: 0 auto; z-index: 99999;
    background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(25px); -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.8); border-radius: 20px;
    box-shadow: 0 15px 35px rgba(13, 6, 37, 0.15);
    transform: translateZ(0); will-change: transform;
    animation: sgpSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@media (min-width: 768px) {
    .ceramic-actions.sgp-fixed-bottom { bottom: 20px; left: 0; right: 0; width: 100%; max-width: 440px; }
}
@keyframes sgpSlideUp { from { transform: translateY(100%); } to { transform: translateY(0); } }

/* پیام انبارداری (Toast) */
.sgp-toast-msg-box {
    position: fixed; top: 20px; left: 50%; transform: translateX(-50%) translateY(-150%); z-index: 999999;
    background: rgba(30, 41, 59, 0.95); backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,0.1);
    border-right: 5px solid #eab308; border-radius: 12px; padding: 14px 20px;
    display: flex; align-items: center; gap: 12px; color: #fff; font-size: 14px; font-weight: 700;
    box-shadow: 0 15px 35px rgba(0,0,0,0.25); transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); direction: rtl;
}
.sgp-toast-msg-box.show { transform: translateX(-50%) translateY(0); }
.sgp-toast-msg-box.error { border-right-color: #ef4444; }
.sgp-toast-icon { font-size: 18px; color: #eab308; }
.sgp-toast-msg-box.error .sgp-toast-icon { color: #ef4444; }








/* پچ اجباری برای فونت‌های Boxicons با لود بهینه */
@font-face { font-family: 'WCO_Basic'; src: url('/files/boxicon-free/fonts/basic/boxicons.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: 'WCO_Filled'; src: url('/files/boxicon-free/fonts/filled/boxicons-filled.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: 'WCO_Brands'; src: url('/files/boxicon-free/fonts/brands/boxicons-brands.woff2') format('woff2'); font-display: swap; }
i.bx[class^="bx-"]::before, i.bx[class*=" bx-"]::before { font-family: 'WCO_Basic' !important; }
i.bx[class^="bxs-"]::before, i.bx[class*=" bxs-"]::before { font-family: 'WCO_Filled' !important; }
i.bx[class^="bxl-"]::before, i.bx[class*=" bxl-"]::before { font-family: 'WCO_Brands' !important; }

/* استایل جدید باکس‌های قیمت تکی/کارتنی (کاملاً متفاوت از قیمت نهایی) */
.sgp-price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); gap: 12px; margin: 15px 25px; }
.sgp-p-box {
    background: #ffffff; /* رنگ کاملاً تمیز و خنثی */
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px;
    display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.02);
    position: relative;
    cursor: pointer;
    transition: all 0.25s ease;
}
.sgp-p-box:hover { border-color: #cbd5e1; box-shadow: 0 4px 12px rgba(0,0,0,0.06); }
.sgp-p-box.highlight { background: #f8fafc; border-color: #cbd5e1; }
.sgp-p-box .lbl { font-size: 12px; color: #64748b; margin-bottom: 5px; font-weight: 700; }
.sgp-p-box .val { font-size: 15px; color: #334155; font-weight: 900; }
.sgp-p-box .val.muted { text-decoration: line-through; color: #94a3b8; font-weight: 500; font-size: 13px; }

/* استایل پیام شناور (تولتیپ تیره) هنگام کلیک */
.sgp-p-box::after {
    content: attr(data-tooltip);
    position: absolute; bottom: 115%; left: 50%; transform: translateX(-50%) translateY(10px);
    background: rgba(15, 23, 42, 0.95); color: #fff;
    padding: 8px 14px; border-radius: 8px; font-size: 12px; font-weight: 700;
    white-space: nowrap; pointer-events: none; opacity: 0; visibility: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1); z-index: 10;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}
.sgp-p-box::before {
    content: ''; position: absolute; bottom: 115%; left: 50%; transform: translateX(-50%) translateY(10px);
    border: 6px solid transparent; border-top-color: rgba(15, 23, 42, 0.95);
    pointer-events: none; opacity: 0; visibility: hidden;
    transition: all 0.3s ease; margin-bottom: -11px; z-index: 10;
}
.sgp-p-box.show-tooltip::after, .sgp-p-box.show-tooltip::before {
    opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}

/* تغییر رنگ و استایل فوتر قیمت نهایی (اعتماد ساز و بدون قرمزی) */
.ceramic-footer {
    background: linear-gradient(135deg, rgba(248, 250, 252, 0.95) 0%, rgba(255, 255, 255, 0.98) 100%) !important;
    border: 1px solid rgba(14, 165, 233, 0.2) !important; /* حاشیه آبی بسیار ملایم (نماد اعتماد) */
    box-shadow: 0 8px 25px rgba(14, 165, 233, 0.05), inset 0 2px 6px rgba(255, 255, 255, 0.8) !important;
}
.ceramic-footer .total-price { color: #0f172a !important; } /* رنگ متن سرمه ای تیره کلاسیک */










/* جمع و جور کردن فواصل کل کارت محصول */
.ceramic-title { padding: 15px 20px 5px 20px !important; font-size: 18px !important; }
.ceramic-short-desc { margin: 5px 20px 10px !important; padding: 8px 12px !important; font-size: 12px !important; }
.ceramic-body { padding: 10px 20px !important; gap: 10px !important; }
.sgp-price-grid { margin: 10px 20px !important; gap: 8px !important; }
.sgp-total-profit-box { margin: 0 20px !important; padding: 8px 14px !important; }
.ceramic-footer { margin: 10px 20px 0 !important; padding: 12px 16px !important; }
.ceramic-actions { padding: 12px 20px 15px !important; }
.sgp-p-box { padding: 8px !important; }

/* استایل مدرن و وسط‌چین نوار امتیاز و دکمه ثبت امتیاز */
.sgp-rating-action-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin: 0 20px 12px;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(13, 6, 37, 0.06);
    border-radius: 16px;
    padding: 8px 15px;
    box-shadow: inset 0 2px 4px rgba(255,255,255,0.8), 0 4px 10px rgba(0,0,0,0.02);
}
.sgp-rating-box { display: flex; align-items: center; gap: 3px; direction: ltr; }

.val.no-price { color: #64748b !important; font-size: 13px !important; }














/* دکمه ثبت نظر با استایل تیره و شیشه‌ای (لوکس و خوانا) */
.sgp-rate-btn {
    display: flex; align-items: center; gap: 5px;
    background: rgba(15, 23, 42, 0.8) !important;
    color: #ffffff !important; 
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 14px !important; padding: 8px 14px; font-size: 12px; font-weight: 900;
    cursor: pointer; transition: all 0.25s ease;
    box-shadow: 0 4px 15px rgba(15, 23, 42, 0.2);
}
.sgp-rate-btn i { color: #ffffff !important; }
.sgp-rate-btn:hover { 
    background: rgba(30, 41, 59, 0.95) !important; 
    box-shadow: 0 8px 25px rgba(15, 23, 42, 0.3); 
    transform: translateY(-2px); 
}
.sgp-rate-btn:active { transform: scale(0.95); }


/* حل مشکل مخفی شدن تولتیپ در زیر کادر اصلی */
.ceramic-wrapper { overflow: visible !important; }

/* باکس زیبا و وسط‌چین برای نام محصول */
.sgp-title-wrapper {
    text-align: center; 
    margin: -1px 25px 15px; /* چسبیدن به سقف */
    position: relative; 
    z-index: 2;
}
.ceramic-title {
    display: inline-block; 
    background: linear-gradient(135deg, #0f172a 0%, #334155 100%);
    color: #ffffff !important; 
    padding: 10px 24px !important; 
    border-radius: 0 0 18px 18px !important; /* گردی فقط در پایین */
    font-size: 15px !important; 
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.25);
    line-height: 1.6;
}

/* باکس شناور محاسبه‌گر قیمت کل بر اساس تعداد */
.sgp-grand-total-slide {
    display: none; 
    margin: 0 25px 15px; 
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: #ffffff; 
    padding: 14px; 
    border-radius: 16px; 
    text-align: center; 
    font-weight: 900; 
    font-size: 15px;
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* استایل‌های اختصاصی برای فرم نظرات چندگانه */
.sgp-rm-criteria-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 20px; }
.sgp-rm-criterion { display: flex; justify-content: space-between; align-items: center; background: rgba(255,255,255,0.4); padding: 8px 14px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.6); }
.sgp-rm-criterion label { font-size: 12px; font-weight: 800; color: #334155; }
.sgp-criteria-stars { display: flex; gap: 4px; direction: ltr; }
.sgp-criteria-stars svg { width: 22px; height: 22px; fill: transparent; stroke: #cbd5e1; stroke-width: 1.5; cursor: pointer; transition: all 0.2s; }
.sgp-criteria-stars svg.active { fill: #f59e0b; stroke: #f59e0b; filter: drop-shadow(0 2px 5px rgba(245, 158, 11, 0.3)); transform: scale(1.1); }
.sgp-review-sub-ratings { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; background: rgba(241, 245, 249, 0.6); padding: 10px; border-radius: 10px; }
.sgp-sub-rating-item { display: flex; align-items: center; gap: 6px; font-size: 10px; color: #475569; font-weight: 700; background: #fff; padding: 4px 8px; border-radius: 6px; border: 1px solid #e2e8f0; }
.sgp-sub-rating-item svg { width: 12px; height: 12px; fill: #f59e0b; stroke: #f59e0b; }




/* استایل دکمه علاقه‌مندی (قلب شیشه‌ای) در کنار دکمه ثبت نظر */
.sgp-wishlist-btn-wrap {
    margin: 0;
    display: flex;
    align-items: center;
}
.sgp-wishlist-btn-wrap a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.9);
    color: #ef4444; /* رنگ قرمز ملایم برای حالت عادی */
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.sgp-wishlist-btn-wrap a:hover {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(239, 68, 68, 0.15);
}
.sgp-heart-icon {
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* حالت انتخاب شده (وقتی به علاقه‌مندی اضافه شد) */
.sgp-wishlist-btn-wrap a.added {
    background: rgba(239, 68, 68, 0.15);
    border-color: rgba(239, 68, 68, 0.4);
}
.sgp-wishlist-btn-wrap a.added .sgp-heart-icon {
    fill: #ef4444;
    stroke: #ef4444;
    transform: scale(1.15);
    filter: drop-shadow(0 2px 5px rgba(239, 68, 68, 0.4));
}







/* استایل دکمه علاقه‌مندی (قلب شیشه‌ای) در کنار دکمه ثبت نظر */
.sgp-wishlist-btn-wrap {
    margin: 0;
    display: flex;
    align-items: center;
}
.sgp-wishlist-btn-wrap a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.9);
    color: #ef4444; 
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.sgp-wishlist-btn-wrap a:hover {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(239, 68, 68, 0.15);
}
.sgp-heart-icon {
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* حالت انتخاب شده (وقتی محصول داخل لیست است) */
.sgp-wishlist-btn-wrap.wd-added a {
    background: rgba(239, 68, 68, 0.15) !important;
    border-color: rgba(239, 68, 68, 0.4) !important;
}
.sgp-wishlist-btn-wrap.wd-added a .sgp-heart-icon {
    fill: #ef4444 !important;
    stroke: #ef4444 !important;
    transform: scale(1.15);
    filter: drop-shadow(0 2px 5px rgba(239, 68, 68, 0.4));
}






/* ==========================================================
   مودال اختصاصی نئونی مدیریت علاقه‌مندی‌ها (SGP Custom Modal)
   ========================================================== */
.sgp-neon-modal {
    background: linear-gradient(150deg, rgba(13, 6, 37, 0.98) 0%, rgba(26, 11, 46, 0.98) 100%) !important;
    backdrop-filter: blur(30px) !important;
    -webkit-backdrop-filter: blur(30px) !important;
    border: 2px solid rgba(168, 85, 247, 0.6) !important;
    box-shadow: 0 0 50px rgba(168, 85, 247, 0.4), inset 0 0 25px rgba(6, 182, 212, 0.15) !important;
    border-radius: 28px !important;
    padding: 35px 25px !important;
    text-align: right !important;
}

.sgp-neon-modal .sgp-modal-title {
    color: #ffffff !important;
    text-shadow: 0 0 15px rgba(168, 85, 247, 0.8) !important;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.15);
    padding-bottom: 15px; margin-bottom: 8px !important;
    font-weight: 900 !important; font-size: 20px !important;
    text-align: center;
}
.sgp-neon-modal .sgp-modal-desc {
    color: #cbd5e1; font-size: 13px; text-align: center; margin-bottom: 25px;
}

/* آیتم‌های لیست */
.sgp-wl-list-item {
    display: flex; justify-content: space-between; align-items: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px 18px; border-radius: 16px; margin-bottom: 12px;
    transition: all 0.3s ease;
}
.sgp-wl-list-item:hover {
    background: rgba(255, 255, 255, 0.08); border-color: rgba(6, 182, 212, 0.5);
    box-shadow: 0 5px 15px rgba(6, 182, 212, 0.1);
}
.sgp-wl-list-name { color: #f8fafc; font-weight: 800; font-size: 14px; }

/* دکمه‌های اکشن اختصاصی */
.sgp-wl-action-btn {
    border: none; border-radius: 12px; padding: 8px 16px; font-size: 12px; font-weight: 900; cursor: pointer; transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.sgp-wl-action-btn.add {
    background: rgba(16, 185, 129, 0.15); color: #10b981; border: 1px solid rgba(16, 185, 129, 0.3);
}
.sgp-wl-action-btn.add:hover { background: #10b981; color: #fff; box-shadow: 0 0 20px rgba(16, 185, 129, 0.6); transform: scale(1.05); }

.sgp-wl-action-btn.remove {
    background: rgba(244, 63, 94, 0.15); color: #f43f5e; border: 1px solid rgba(244, 63, 94, 0.3);
}
.sgp-wl-action-btn.remove:hover { background: #f43f5e; color: #fff; box-shadow: 0 0 20px rgba(244, 63, 94, 0.6); transform: scale(1.05); }

/* فرم ایجاد لیست جدید */
.sgp-wl-create-new {
    display: flex; gap: 10px; margin-top: 25px; border-top: 1px dashed rgba(255, 255, 255, 0.15); padding-top: 25px;
}
.sgp-wl-create-new input {
    flex: 1; background: rgba(255, 255, 255, 0.04) !important; border: 1px solid rgba(6, 182, 212, 0.4) !important;
    color: #ffffff !important; border-radius: 14px !important; padding: 12px 15px !important; font-family: inherit; font-size:13px;
}
.sgp-wl-create-new input:focus { border-color: #a855f7 !important; outline: none; box-shadow: 0 0 15px rgba(168, 85, 247, 0.3); }
.sgp-wl-create-new button {
    background: linear-gradient(90deg, #a855f7, #06b6d4); color: #fff; border: none; border-radius: 14px;
    padding: 0 18px; font-weight: 900; cursor: pointer; box-shadow: 0 0 20px rgba(168, 85, 247, 0.4); font-size:13px;
    transition: transform 0.2s;
}
.sgp-wl-create-new button:hover { transform: translateY(-2px); box-shadow: 0 0 25px rgba(6, 182, 212, 0.6); }

/* دکمه ضربدر بستن مودال */
.sgp-neon-modal .sgp-modal-close {
    position: absolute; top: 15px; left: 15px; background: none; border: none;
    color: #f43f5e; font-size: 32px; cursor: pointer; text-shadow: 0 0 15px rgba(244, 63, 94, 0.6);
    transition: transform 0.2s; padding: 0; line-height: 1;
}
.sgp-neon-modal .sgp-modal-close:hover { transform: scale(1.15) rotate(90deg); }


/* استایل نئونی و شیشه‌ای دکمه شناور در پایین موبایل */
.sgp-fixed-bottom {
    position: fixed !important;
    bottom: 20px !important;
    left: 15px !important;
    right: 15px !important;
    width: calc(100% - 30px) !important;
    box-sizing: border-box !important;
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    z-index: 99999999 !important; /* قرارگیری روی تمامی المان‌های قالب وودمارت */
    background: rgba(255, 255, 255, 0.88) !important;
    backdrop-filter: blur(25px) !important;
    -webkit-backdrop-filter: blur(25px) !important;
    border: 1px solid rgba(255, 255, 255, 0.6) !important;
    box-shadow: 0 15px 40px rgba(170, 18, 43, 0.28) !important;
    border-radius: 24px !important;
    padding: 12px 18px !important;
    animation: sgpSmoothPop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards !important;
}

@keyframes sgpSmoothPop {
    0% { transform: translateY(150%) scale(0.95); opacity: 0; }
    100% { transform: translateY(0) scale(1); opacity: 1; }
}











/* --- اصلاح ساختار هدر و دکمه‌های توضیحات --- */
.sgp-glass-desc-container.sgp-expanded .sgp-glass-desc-content-wrapper {
    max-height: 5000px !important; 
}
.sgp-glass-desc-container.sgp-expanded .sgp-glass-desc-fade {
    opacity: 0 !important;
}
.sgp-glass-desc-container.sgp-expanded .bottom-btn svg {
    transform: rotate(180deg) !important;
}
.sgp-glass-desc-container.sgp-expanded .top-btn {
    display: flex !important;
}

/* --- دکمه شناور کلون شده (اصلاح کشیدگی) --- */
.sgp-fixed-bottom-clone {
    position: fixed !important; bottom: 25px !important; left: 50% !important; right: auto !important;
    width: 35% !important; box-sizing: border-box !important; display: flex !important;
    z-index: 99999999 !important; background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(25px) !important; -webkit-backdrop-filter: blur(25px) !important;
    border: 1px solid rgba(170, 18, 43, 0.2) !important; box-shadow: 0 12px 35px rgba(170, 18, 43, 0.18) !important;
    border-radius: 20px !important; padding: 10px 14px !important;
    transform: translateX(-50%) translateY(150%) scale(0.9) !important;
    visibility: hidden !important; opacity: 0 !important;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.4s ease !important;
    cursor: grab !important; user-select: none !important;
    touch-action: none !important; /* این خط جلوی اسکرول صفحه موقع کشیدن دکمه را می‌گیرد */
    height: max-content !important; /* این خط جلوی کشیده شدن ارتفاع را می‌گیرد */
}
.sgp-fixed-bottom-clone.show-clone { transform: translateX(-50%) translateY(0) scale(1) !important; visibility: visible !important; opacity: 1 !important; }
.sgp-fixed-bottom-clone.is-dragging { cursor: grabbing !important; transition: none !important; box-shadow: 0 20px 45px rgba(170, 18, 43, 0.35) !important; opacity: 0.95 !important; }

@media (max-width: 768px) {
    .sgp-fixed-bottom-clone { width: 75% !important; bottom: 20px !important; padding: 12px 16px !important; }
}

/* --- سیستم فوق پیشرفته علاقه‌مندی (دور زدن نوشته‌های وودمارت) --- */
.sgp-wishlist-btn-wrap { margin: 0; display: flex; align-items: center; }
.sgp-wishlist-btn-wrap a {
    display: flex !important; align-items: center !important; justify-content: center !important;
    width: 38px !important; height: 38px !important; border-radius: 12px !important;
    background: rgba(255, 255, 255, 0.6) !important; border: 1px solid rgba(255, 255, 255, 0.9) !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important; box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05) !important;
    backdrop-filter: blur(8px) !important; -webkit-backdrop-filter: blur(8px) !important;
    font-size: 0 !important; /* چشم‌بندی: نوشته وودمارت را نامرئی می‌کند */
    color: transparent !important; position: relative !important; overflow: hidden !important;
}

.sgp-wishlist-btn-wrap a::before {
    content: ''; position: absolute; width: 20px; height: 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ef4444' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78l1.06 1.06L12 21.23l7.78-7.78 1.06-1.06a5.5 5.5 0 0 0 0-7.78z'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: center; background-size: contain;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.sgp-wishlist-btn-wrap a:hover { background: rgba(239, 68, 68, 0.1) !important; border-color: rgba(239, 68, 68, 0.3) !important; transform: translateY(-2px); }

/* حالت اضافه شده به سبد علاقه‌مندی (قلب توپر) */
.sgp-wishlist-btn-wrap.wd-added a, .sgp-wishlist-btn-wrap a.added {
    background: rgba(239, 68, 68, 0.15) !important; border-color: rgba(239, 68, 68, 0.4) !important;
}
.sgp-wishlist-btn-wrap.wd-added a::before, .sgp-wishlist-btn-wrap a.added::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ef4444' stroke='%23ef4444' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78l1.06 1.06L12 21.23l7.78-7.78 1.06-1.06a5.5 5.5 0 0 0 0-7.78z'%3E%3C/path%3E%3C/svg%3E");
    transform: scale(1.15); filter: drop-shadow(0 2px 5px rgba(239, 68, 68, 0.4));
}










/* --- استایل بهینه شده دکمه شناور کلون شده با قابلیت درگ --- */
.sgp-fixed-bottom-clone {
    position: fixed !important;
    bottom: 25px !important;
    left: 50% !important;
    right: auto !important;
    width: 35% !important;
    box-sizing: border-box !important;
    display: flex !important;
    z-index: 99999999 !important;
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(25px) !important;
    -webkit-backdrop-filter: blur(25px) !important;
    border: 1px solid rgba(170, 18, 43, 0.2) !important;
    box-shadow: 0 12px 35px rgba(170, 18, 43, 0.18) !important;
    border-radius: 20px !important;
    padding: 10px 14px !important;
    transform: translateX(-50%) translateY(150%) scale(0.9) !important;
    visibility: hidden !important;
    opacity: 0 !important;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.4s ease !important;
    cursor: grab !important; /* شکل دست برای راهنمایی کاربر جهت کشیدن دکمه */
    user-select: none !important;
}

.sgp-fixed-bottom-clone.show-clone {
    transform: translateX(-50%) translateY(0) scale(1) !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* وقتی کاربر در حال کشیدن دکمه با انگشت است، انیمیشن نرمی را موقتاً قطع کن تا حرکت کاملاً به انگشت بچسبد */
.sgp-fixed-bottom-clone.is-dragging {
    cursor: grabbing !important;
    transition: none !important;
    box-shadow: 0 20px 45px rgba(170, 18, 43, 0.35) !important;
    opacity: 0.95 !important;
}

@media (max-width: 768px) {
    .sgp-fixed-bottom-clone {
        width: 92% !important;
        bottom: 75px !important; /* ارتفاع ارتقا یافته برای ممانعت کامل از تداخل با نوار پایین */
        padding: 11px 15px !important;
    }
}

/* --- استایل هدر و باکس توضیحات گلس‌مورفیسم گرم --- */
.sgp-glass-desc-container {
    position: relative !important;
    background: linear-gradient(135deg, rgba(255, 246, 247, 0.7) 0%, rgba(248, 238, 245, 0.7) 100%) !important;
    backdrop-filter: blur(30px) saturate(140%) !important;
    -webkit-backdrop-filter: blur(30px) saturate(140%) !important;
    border: 1px solid rgba(170, 18, 43, 0.25) !important;
    border-radius: 28px !important;
    padding: 0 0 22px 0 !important; /* پدینگ بالا و چپ و راست صفر شده تا هدر کامل بچسبد */
    margin: 35px 0 !important;
    box-shadow: 0 15px 40px rgba(102, 16, 74, 0.04), inset 0 0 20px rgba(255, 255, 255, 0.6) !important;
    direction: rtl !important;
    text-align: right !important;
    font-family: 'IRANSansX', sans-serif !important;
    overflow: hidden !important;
}

/* هدر لوکس اختصاصی بالای باکس */
.sgp-glass-desc-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    background: linear-gradient(90deg, rgba(170, 18, 43, 0.06), rgba(102, 16, 74, 0.06)) !important;
    border-bottom: 1px solid rgba(170, 18, 43, 0.15) !important;
    padding: 16px 22px !important;
    margin-bottom: 20px !important;
}

.sgp-glass-desc-title {
    font-size: 16px !important;
    font-weight: 900 !important;
    color: #0d0625 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-family: 'IRANSansX', sans-serif !important;
}

.sgp-glass-desc-title svg {
    width: 20px !important;
    height: 20px !important;
    stroke: #AA122B !important;
    filter: drop-shadow(0 0 6px rgba(170, 18, 43, 0.4)) !important;
}

.sgp-glass-desc-content-wrapper {
    position: relative !important;
    max-height: 140px !important;
    overflow: hidden !important;
    transition: max-height 0.5s ease-in-out !important;
    font-family: 'IRANSansX', sans-serif !important;
    padding: 0 22px !important; /* پدینگ متن‌ها */
}

.sgp-glass-desc-content-wrapper.sgp-expanded {
    max-height: 5000px !important; 
}

.sgp-glass-desc-text {
    font-size: 14.5px !important;
    line-height: 2.2 !important;
    color: #0d0625 !important;
    text-align: justify !important;
}
.sgp-glass-desc-text * {
    font-family: 'IRANSansX', sans-serif !important;
    color: #0d0625 !important;
}
.sgp-glass-desc-text p {
    margin-bottom: 15px !important;
}

/* هاله محو کننده پایین متن */
.sgp-glass-desc-fade {
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 65px !important;
    background: linear-gradient(to bottom, rgba(255, 246, 247, 0) 0%, rgba(255, 246, 247, 0.98) 100%) !important;
    pointer-events: none !important;
    transition: opacity 0.3s ease !important;
}

.sgp-expanded .sgp-glass-desc-fade {
    opacity: 0 !important;
}

/* دکمه‌های مجلل نئونی با پالت گرم اصلی سایت */
.sgp-glass-desc-toggle-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    background: linear-gradient(135deg, #AA122B 0%, #66104A 100%) !important;
    border: none !important;
    color: #ffffff !important;
    font-size: 12.5px !important;
    font-weight: 700 !important;
    padding: 8px 20px !important;
    border-radius: 50px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 5px 15px rgba(170, 18, 43, 0.25) !important;
    font-family: 'IRANSansX', sans-serif !important;
    width: max-content !important;
}

.sgp-glass-desc-toggle-btn:hover {
    box-shadow: 0 6px 20px rgba(102, 16, 74, 0.35) !important;
    transform: translateY(-2px) !important;
    opacity: 0.95 !important;
}

.sgp-expanded .sgp-glass-desc-toggle-btn.bottom-btn svg {
    transform: rotate(180deg) !important;
}

/* دکمه فوقانی بستن توضیحات داخل هدر */
.top-btn {
    display: none !important;
    background: rgba(170, 18, 43, 0.08) !important;
    border: 1px solid rgba(170, 18, 43, 0.2) !important;
    color: #AA122B !important;
    box-shadow: none !important;
    padding: 6px 14px !important;
    font-size: 11.5px !important;
}
.top-btn:hover {
    background: rgba(170, 18, 43, 0.14) !important;
    color: #66104A !important;
}
.sgp-expanded .top-btn {
    display: flex !important;
}
.bottom-btn {
    margin: 20px auto 0 !important;
}


/* نابود کردن قطعی نوشته‌های اضافی وودمارت در دکمه علاقه‌مندی */
.sgp-wishlist-btn-wrap a span, 
.sgp-wishlist-btn-wrap a::after {
    display: none !important;
    opacity: 0 !important;
    font-size: 0 !important;
}







/* --- انیمیشن‌های پیشرفته مودال --- */
@keyframes sgpModalPulse {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(0.98); opacity: 0.5; }
}
.sgp-loading-pulse {
    animation: sgpModalPulse 0.8s infinite alternate !important;
}
/* حالت فنری برای دکمه ادامه خرید جهت تسریع حس کاربر */
.sgp-btn-continue:active {
    transform: scale(0.94) !important;
    background: rgba(13, 6, 37, 0.12) !important;
}


/* تنظیم دقیق لایه‌ی دکمه شناور برای رفتن به زیر سبد خرید وودمارت */
.sgp-fixed-bottom-clone,
.ceramic-actions.sgp-fixed-bottom,
.ceramic-actions.sgp-sticky {
    z-index: 399 !important; /* سبد خرید وودمارت معمولاً روی ۴۰۰ یا بالاتر تنظیم شده است */
}


/* ===== قاب لوکس شرایط مرجوعی و ضمانت بار ===== */
.sgp-return-policy-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 20px 18px 20px;
    padding: 11px 15px;
    background: linear-gradient(135deg, rgba(240, 253, 244, 0.75) 0%, rgba(255, 255, 255, 0.9) 100%);
    border: 1px solid rgba(16, 185, 129, 0.28);
    border-radius: 16px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 15px rgba(5, 150, 105, 0.04), inset 0 1px 2px rgba(255, 255, 255, 0.8);
    direction: rtl;
    text-align: right;
    transition: all 0.25s ease;
}
.sgp-return-policy-badge:hover {
    background: linear-gradient(135deg, rgba(236, 253, 245, 0.95) 0%, rgba(255, 255, 255, 0.98) 100%);
    border-color: rgba(16, 185, 129, 0.45);
    box-shadow: 0 6px 20px rgba(5, 150, 105, 0.08);
    transform: translateY(-1px);
}
.sgp-return-icon-box {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 12px;
    background: #d1fae5;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.2);
}
.sgp-return-text-wrap {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.sgp-return-title {
    font-size: 12.5px;
    font-weight: 900;
    color: #065f46;
    letter-spacing: -0.3px;
    line-height: 1.3;
}
.sgp-return-sub {
    font-size: 10.5px;
    font-weight: 600;
    color: #047857;
    line-height: 1.4;
    opacity: 0.9;
}
@media (max-width: 480px) {
    .sgp-return-policy-badge {
        margin: 0 16px 14px 16px;
        padding: 9px 12px;
        gap: 10px;
    }
    .sgp-return-title {
        font-size: 11.5px;
    }
    .sgp-return-sub {
        font-size: 9.5px;
    }
}


/* ===== تنظیم ابعاد استاندارد و ضد شکستگی دکمه‌های سبد خرید ===== */
.ceramic-actions {
    display: flex !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    gap: 8px !important;
}

/* کادر کنترل تعداد: ابعاد کاملاً مقید و ضد کشیدگی */
.qty-wrapper.sgp-in-cart-ctrl {
    flex: 0 0 102px !important;
    width: 102px !important;
    min-width: 102px !important;
    max-width: 102px !important;
    height: 48px !important;
    background: rgba(16, 185, 129, 0.08) !important;
    border: 1.5px solid rgba(16, 185, 129, 0.35) !important;
    border-radius: 50px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 0 3px !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
}

.sgp-in-cart-qty-btn {
    width: 32px !important;
    height: 44px !important;
    min-width: 32px !important;
    max-width: 32px !important;
    border: none !important;
    background: transparent !important;
    color: #047857 !important;
    font-size: 19px !important;
    font-weight: 900 !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    line-height: 1 !important;
    transition: all 0.2s ease !important;
}

.sgp-in-cart-qty-btn:hover {
    background: rgba(16, 185, 129, 0.18) !important;
    color: #065f46 !important;
    border-radius: 50% !important;
}

.sgp-in-cart-qty-btn.minus:hover {
    background: rgba(239, 68, 68, 0.15) !important;
    color: #dc2626 !important;
}

input.sgp-in-cart-qty-input {
    width: 34px !important;
    min-width: 34px !important;
    max-width: 34px !important;
    height: 44px !important;
    border: none !important;
    background: transparent !important;
    text-align: center !important;
    font-size: 15.5px !important;
    font-weight: 900 !important;
    color: #065f46 !important;
    padding: 0 !important;
    margin: 0 !important;
    -moz-appearance: textfield !important;
    box-shadow: none !important;
    outline: none !important;
}

input.sgp-in-cart-qty-input::-webkit-outer-spin-button,
input.sgp-in-cart-qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none !important;
    margin: 0 !important;
}

/* دکمه سبز پرداخت با بج شیشه‌ای مجزا */
.sgp-already-in-cart-btn {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    width: auto !important;
    height: 48px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    border-radius: 14px !important;
    padding: 0 10px 0 14px !important;
    background: linear-gradient(135deg, #059669 0%, #047857 100%) !important;
    color: #ffffff !important;
    text-decoration: none !important;
    box-shadow: 0 4px 15px rgba(5, 150, 105, 0.28) !important;
    cursor: pointer !important;
    white-space: nowrap !important;
    box-sizing: border-box !important;
    transition: all 0.25s ease !important;
}

.sgp-already-in-cart-btn:hover {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 18px rgba(5, 150, 105, 0.38) !important;
}

/* بج شیشه‌ای تعداد محصول داخل دکمه */
.sgp-in-cart-badge {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: rgba(255, 255, 255, 0.2) !important;
    border: 1px solid rgba(255, 255, 255, 0.35) !important;
    border-radius: 10px !important;
    padding: 4px 8px !important;
    font-size: 11.5px !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08), inset 0 1px 2px rgba(255, 255, 255, 0.2) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
}

.sgp-in-cart-label {
    flex-grow: 1 !important;
    text-align: center !important;
    font-size: 13.5px !important;
    font-weight: 900 !important;
    white-space: nowrap !important;
    line-height: 1 !important;
    padding: 0 4px !important;
}

@media (max-width: 480px) {
    .sgp-already-in-cart-btn {
        padding: 0 8px 0 10px !important;
    }
    .sgp-in-cart-badge {
        font-size: 10.5px !important;
        padding: 3px 6px !important;
    }
    .sgp-in-cart-label {
        font-size: 12px !important;
    }
}

@media (max-width: 480px) {
    .ceramic-actions { gap: 6px !important; padding: 12px 14px 16px !important; }
    .qty-wrapper.sgp-in-cart-ctrl { flex: 0 0 96px !important; width: 96px !important; min-width: 96px !important; }
    .sgp-in-cart-label { font-size: 12px !important; }
    .sgp-already-in-cart-btn { padding: 0 8px !important; }
}


.sgp-request-stock-btn.is-registered {
    background: linear-gradient(135deg, #047857 0%, #065f46 100%) !important;
    border: 1px solid #059669 !important;
    color: #ffffff !important;
    cursor: not-allowed !important;
    box-shadow: none !important;
    animation: none !important;
}


/* ===== ردیف شیشه‌ای دسته‌بندی و برند (زیر نام محصول) ===== */
.sgp-meta-chips-container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 20px 14px 20px;
    position: relative;
    z-index: 2;
    animation: sgp-fadeInUp 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.sgp-meta-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 5px 12px 5px 10px;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(13, 6, 37, 0.04), inset 0 1px 2px rgba(255, 255, 255, 0.85);
    text-decoration: none !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    direction: rtl;
}

.sgp-meta-chip:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(13, 6, 37, 0.08);
}

/* رنگ و جلوه نشان دسته‌بندی */
.sgp-category-chip {
    color: #0284c7;
    border-color: rgba(2, 132, 199, 0.2);
}
.sgp-category-chip:hover {
    background: rgba(240, 249, 255, 0.95);
    border-color: rgba(2, 132, 199, 0.4);
}
.sgp-category-chip .sgp-meta-icon-box {
    background: #e0f2fe;
    color: #0284c7;
}

/* رنگ و جلوه نشان برند */
.sgp-brand-chip {
    color: var(--sgp-color-red);
    border-color: rgba(170, 18, 43, 0.2);
}
.sgp-brand-chip:hover {
    background: rgba(255, 241, 242, 0.95);
    border-color: rgba(170, 18, 43, 0.35);
}
.sgp-brand-chip .sgp-meta-icon-box {
    background: #ffe4e6;
    color: var(--sgp-color-red);
}

.sgp-meta-icon-box {
    width: 24px;
    height: 24px;
    min-width: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.sgp-meta-icon-box.brand-img-box {
    background: #ffffff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(13, 6, 37, 0.08);
}

.sgp-meta-icon-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 2px;
    display: block;
}

.sgp-chip-text-wrap {
    display: flex;
    align-items: center;
    gap: 4px;
    line-height: 1;
}

.sgp-chip-label {
    font-size: 11px;
    color: var(--sgp-text-muted);
    font-weight: 600;
}

.sgp-chip-val {
    font-size: 12px;
    font-weight: 800;
    color: var(--sgp-color-dark);
    letter-spacing: -0.2px;
}

/* ===== تخفیف: قیمت قبلی + درصد (بدون انیمیشن، سبک) ===== */
.sgp-old-price-row { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 2px 0 1px; }
.sgp-old-price-row[hidden] { display: none; }
.sgp-old-price {
    font-size: 14px; font-weight: 700; color: #94a3b8;
    text-decoration: line-through; text-decoration-color: #ef4444; text-decoration-thickness: 1.5px;
}
.sgp-discount-badge {
    display: inline-block; background: linear-gradient(135deg, #ef4444 0%, #AA122B 100%);
    color: #fff; font-size: 12px; font-weight: 900; line-height: 1;
    padding: 5px 9px; border-radius: 50px; white-space: nowrap;
}
.ceramic-footer.has-discount {
    background: linear-gradient(135deg, rgba(254, 242, 242, 0.95) 0%, rgba(255, 255, 255, 0.98) 100%) !important;
    border-color: rgba(239, 68, 68, 0.28) !important;
    box-shadow: 0 6px 18px rgba(239, 68, 68, 0.07), inset 0 2px 6px rgba(255, 255, 255, 0.8) !important;
}
.ceramic-footer.has-discount .total-price { color: var(--sgp-color-red) !important; }
.ceramic-footer.has-discount .total-price .currency { color: #b45a67; }
@media (max-width: 480px) {
    .sgp-old-price { font-size: 13px; }
    .sgp-discount-badge { font-size: 11px; padding: 4px 8px; }
}

/* ===== جایگاه امتیاز خرید (افزونه‌ی امتیاز بونک) ===== */
.sgp-points-slot { margin: 10px 20px 0; display: flex; flex-direction: column; align-items: stretch; }
.sgp-points-slot > *,
.sgp-points-slot .bpw-pp {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    padding: 10px 14px;
    text-align: center;
    border-radius: var(--sgp-radius-md);
}
.sgp-points-slot .bpw-pp * { max-width: 100%; }
@media (max-width: 480px) {
    .sgp-points-slot { margin: 8px 20px 0; }
    .sgp-points-slot > *,
    .sgp-points-slot .bpw-pp { padding: 9px 12px; }
}

/* تایمر تخفیف در باکس قیمت */
.sgp-cd-row { width: 100%; margin: 2px 0 4px; }
.sgp-cd-row[hidden] { display: none; }
.sgp-cd-row .bunak-cd { max-width: 320px; }

/* ===== دکمه‌ی زنگوله‌ی یادآور تغییر قیمت (کنار دکمه‌ی خرید) ===== */
.ceramic-actions .bunak-pa-btn.sgp-pa-btn {
    flex: 0 0 auto !important;
    align-self: stretch !important;
    width: 52px !important;
    height: auto !important;
    min-height: 48px !important;
    border-radius: 14px !important;
    justify-content: center !important;
    background: #ffffff !important;
    border: 1.5px solid #fecdd3 !important;
    color: #e11d48 !important;
    box-shadow: 0 2px 8px rgba(225, 29, 72, 0.10) !important;
}
.ceramic-actions .bunak-pa-btn.sgp-pa-btn .bunak-pa-ico { width: 100% !important; height: 100% !important; }
.ceramic-actions .bunak-pa-btn.sgp-pa-btn .bunak-pa-svg { width: 22px !important; height: 22px !important; }
.ceramic-actions .bunak-pa-btn.sgp-pa-btn.is-active {
    background: linear-gradient(135deg, #AA122B 0%, #66104A 100%) !important;
    border-color: transparent !important;
    color: #ffffff !important;
    box-shadow: 0 6px 16px rgba(170, 18, 43, 0.35) !important;
}


/* ==========================================================
   باکس قوانین «محدودیت / هدیه» داخل باکس قیمت و کارت‌های مرتبط
   (فقط چینش/فاصله؛ رنگ و محتوا از خود افزونه‌ی قوانین می‌آید)
   ========================================================== */
.ceramic-wrapper [data-bpr-box] {
    display: block;
    margin: -6px 20px 16px;
    direction: rtl;
    text-align: right;
    font-family: inherit;
    font-size: 12.5px;
    line-height: 1.8;
    box-sizing: border-box;
}
.ceramic-wrapper [data-bpr-box]:empty { display: none; }
.ceramic-wrapper [data-bpr-box] * { box-sizing: border-box; font-family: inherit; }
.ceramic-wrapper [data-bpr-box] > * {
    max-width: 100%;
    margin: 0;
    padding: 10px 14px;
    border-radius: 16px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 15px rgba(13, 6, 37, 0.05), inset 0 1px 2px rgba(255, 255, 255, 0.8);
}
.ceramic-wrapper [data-bpr-box] button { font-family: inherit; cursor: pointer; }
.ceramic-wrapper [data-bpr-box] img { max-width: 100%; height: auto; border-radius: 10px; }

.sgp-rp-card [data-bpr-box] {
    display: block;
    margin: 8px 0 0;
    direction: rtl;
    text-align: right;
    font-family: inherit;
    font-size: 11px;
    line-height: 1.7;
}
.sgp-rp-card [data-bpr-box]:empty { display: none; }
.sgp-rp-card [data-bpr-box] * { box-sizing: border-box; font-family: inherit; }
.sgp-rp-card [data-bpr-box] > * { max-width: 100%; margin: 0; padding: 7px 10px; border-radius: 12px; }

@media (max-width: 480px) {
    .ceramic-wrapper [data-bpr-box] { margin: -4px 14px 14px; font-size: 12px; }
}
