/*
 Theme Name:   Woodmart Child
 Description:  Woodmart Child Theme
 Author:       XTemos
 Author URI:   http://xtemos.com
 Template:     woodmart
 Version:      1.0.0
 Text Domain:  woodmart
*/

/*کد های جدول سایز بندی*/
.primah-size-guide{
    clear: both;
    width: 100%;
    margin: 20px 0;
}
.primah-size-guide-button{
    width: 100%;
    height: 45px;
    background: #F7F4EF;
    border: 1px solid #C8A165;
    border-radius: 12px;
    color: #1F3D2E;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all .25s ease;
}
.primah-size-guide-button:hover{
    background: #1F3D2E;
    color: #fff;
}

.primah-size-popup{
    display: none;
    position: fixed;
    inset: 0;
    z-index: 999999 !important;
}
.primah-size-popup.active{
    display: block;
}
body.primah-size-noscroll{
    overflow: hidden;
}
.primah-size-overlay{
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.55);
}
.primah-size-box{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    width: 90%;
    max-width: 550px;
    max-height: 85vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 30px;
    border-radius: 20px;
    direction: rtl;
}
.primah-size-close{
    position: absolute;
    top: 10px;
    left: 10px;
    border: none;
    background: #4B3621;
    color: #fff;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
}
.primah-size-box h3{
    text-align: center;
    color: #1F3D2E;
    margin: 0 0 10px;
}
.primah-size-box table{
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}
.primah-size-box th{
    background: #1F3D2E;
    color: #fff;
    padding: 12px;
}
.primah-size-box td{
    padding: 12px;
    text-align: center;
    color: #333;
    border-bottom: 1px solid #eee;
}
.primah-size-box p{
    margin-top: 20px;
    text-align: center;
    color: #B43A3A;
    font-weight: bold;
}

/* تبلت */
@media (max-width: 1024px){
    .primah-size-box{ max-width: 480px; }
}

/* موبایل */
@media (max-width: 768px){
    .primah-size-guide{ margin: 15px 0 30px; }
    .primah-size-guide-button{ height: 42px; font-size: 13px; }
    .primah-size-box{ width: 92%; padding: 20px; max-height: 80vh; }
    .primah-size-box th,
    .primah-size-box td{ font-size: 12px; padding: 8px 4px; }
}


/*بنر اسنپ و ترب*/
.bnpl-luxury-wrapper {
--primary-green: #1f3d35;
--dark-green: #0e1f1a;
--accent-gold: #c89f57;
--light-gold: #e8d0a7;

direction: rtl;
text-align: right;
font-family: 'Vazirmatn', sans-serif;
width: 100%;
max-width: 1100px;
margin: 0 auto;
background: linear-gradient(145deg, #18332c, #0e1f1a);
border-radius: 24px;
padding: 35px 30px;
box-shadow: 0 20px 45px rgba(18, 38, 33, 0.25);
border: 1px solid rgba(200, 159, 87, 0.25);
position: relative;
overflow: hidden;
box-sizing: border-box;
}

/* STREAMING_CHUNK:Styling subtle ambient background glows... */
.bnpl-luxury-wrapper::before {
content: '';
position: absolute;
top: -100px;
right: -100px;
width: 300px;
height: 300px;
background: radial-gradient(circle, rgba(200, 159, 87, 0.15) 0%, transparent 70%);
pointer-events: none;
}

.bnpl-luxury-wrapper::after {
content: '';
position: absolute;
bottom: -100px;
left: -100px;
width: 300px;
height: 300px;
background: radial-gradient(circle, rgba(200, 159, 87, 0.1) 0%, transparent 70%);
pointer-events: none;
}

/* STREAMING_CHUNK:Styling header elements... */
.bnpl-luxury-wrapper .bnpl-header {
text-align: center;
margin-bottom: 30px;
position: relative;
z-index: 2;
}

.bnpl-luxury-wrapper .bnpl-subtitle {
display: inline-block;
font-size: 0.75rem;
letter-spacing: 2.5px;
color: var(--accent-gold);
text-transform: uppercase;
font-weight: 600;
margin-bottom: 6px;
}

.bnpl-luxury-wrapper .bnpl-title {
color: #ffffff;
font-size: 1.6rem;
font-weight: 800;
line-height: 1.4;
margin: 0;
}

.bnpl-luxury-wrapper .bnpl-title span {
color: var(--accent-gold);
}

.bnpl-luxury-wrapper .bnpl-desc {
color: rgba(255, 255, 255, 0.75);
font-size: 0.9rem;
margin-top: 6px;
}

/* STREAMING_CHUNK:Styling responsive grid and luxury cards... */
.bnpl-luxury-wrapper .bnpl-grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 22px;
position: relative;
z-index: 2;
}

.bnpl-luxury-wrapper .bnpl-card {
background: rgba(255, 255, 255, 0.04);
backdrop-filter: blur(12px);
-webkit-backdrop-filter: blur(12px);
border: 1px solid rgba(200, 159, 87, 0.25);
border-radius: 18px;
padding: 26px 22px;
display: flex;
flex-direction: column;
justify-content: space-between;
transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
position: relative;
}

.bnpl-luxury-wrapper .bnpl-card:hover {
transform: translateY(-5px);
background: rgba(255, 255, 255, 0.07);
border-color: rgba(200, 159, 87, 0.6);
box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

/* STREAMING_CHUNK:Styling card header, icons and tags... */
.bnpl-luxury-wrapper .card-top {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 18px;
}

.bnpl-luxury-wrapper .brand-badge {
display: flex;
align-items: center;
gap: 10px;
}

.bnpl-luxury-wrapper .brand-icon-box {
width: 44px;
height: 44px;
border-radius: 12px;
display: flex;
align-items: center;
justify-content: center;
font-weight: 900;
font-size: 1.1rem;
color: #fff;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.bnpl-luxury-wrapper .brand-icon-box.snapp {
background: linear-gradient(135deg, #1062fe, #0041a8);
}

.bnpl-luxury-wrapper .brand-icon-box.torob {
background: linear-gradient(135deg, #e53935, #b71c1c);
}

.bnpl-luxury-wrapper .brand-info h3 {
color: #ffffff;
font-size: 1.15rem;
font-weight: 700;
margin: 0 0 2px 0;
}

.bnpl-luxury-wrapper .brand-info span {
color: var(--accent-gold);
font-size: 0.78rem;
font-weight: 500;
}

.bnpl-luxury-wrapper .installment-tag {
background: rgba(200, 159, 87, 0.15);
border: 1px solid rgba(200, 159, 87, 0.4);
color: var(--light-gold);
font-size: 0.75rem;
font-weight: 700;
padding: 5px 12px;
border-radius: 20px;
white-space: nowrap;
}

/* STREAMING_CHUNK:Styling bullet points list... */
.bnpl-luxury-wrapper .card-features {
list-style: none;
margin: 15px 0 22px 0;
padding: 0;
display: flex;
flex-direction: column;
gap: 10px;
}

.bnpl-luxury-wrapper .card-features li {
color: rgba(255, 255, 255, 0.88);
font-size: 0.88rem;
display: flex;
align-items: center;
gap: 10px;
}

.bnpl-luxury-wrapper .card-features li::before {
content: "✦";
color: var(--accent-gold);
font-size: 0.75rem;
}

/* STREAMING_CHUNK:Styling step indicators and action links... */
.bnpl-luxury-wrapper .card-footer {
border-top: 1px solid rgba(255, 255, 255, 0.08);
padding-top: 16px;
display: flex;
align-items: center;
justify-content: space-between;
}

.bnpl-luxury-wrapper .installments-steps {
display: flex;
gap: 5px;
}

.bnpl-luxury-wrapper .step-dot {
width: 24px;
height: 24px;
border-radius: 50%;
background: rgba(255, 255, 255, 0.1);
border: 1px solid rgba(200, 159, 87, 0.3);
color: var(--light-gold);
font-size: 0.7rem;
display: flex;
align-items: center;
justify-content: center;
font-weight: 700;
}

.bnpl-luxury-wrapper .more-info-link {
color: #ffffff !important;
text-decoration: none !important;
font-size: 0.82rem;
font-weight: 600;
display: inline-flex;
align-items: center;
gap: 6px;
padding: 6px 14px;
border-radius: 30px;
background: rgba(255, 255, 255, 0.06);
border: 1px solid rgba(255, 255, 255, 0.15);
transition: all 0.3s ease;
}

.bnpl-luxury-wrapper .more-info-link:hover {
background: var(--accent-gold);
color: var(--dark-green) !important;
border-color: var(--accent-gold);
}

.bnpl-luxury-wrapper .more-info-link span {
transition: transform 0.3s ease;
display: inline-block;
}

.bnpl-luxury-wrapper .more-info-link:hover span {
transform: translateX(-4px);
}

/* STREAMING_CHUNK:Styling bottom text banner... */
.bnpl-luxury-wrapper .bnpl-bottom-note {
margin-top: 25px;
text-align: center;
font-size: 0.82rem;
color: rgba(255, 255, 255, 0.6);
border-top: 1px dashed rgba(200, 159, 87, 0.2);
padding-top: 18px;
position: relative;
z-index: 2;
}

/* STREAMING_CHUNK:Configuring media queries for mobile and tablet responsive layout... */
@media (max-width: 900px) {
.bnpl-luxury-wrapper .bnpl-grid {
grid-template-columns: 1fr;
gap: 18px;
}

.bnpl-luxury-wrapper {
padding: 25px 20px;
border-radius: 18px;
}

.bnpl-luxury-wrapper .bnpl-title {
font-size: 1.35rem;
}
}

@media (max-width: 480px) {
.bnpl-luxury-wrapper .card-top {
flex-direction: column;
align-items: flex-start;
gap: 12px;
}

.bnpl-luxury-wrapper .installment-tag {
align-self: flex-start;
}

.bnpl-luxury-wrapper .card-footer {
flex-direction: column;
align-items: flex-start;
gap: 14px;
}

.bnpl-luxury-wrapper .more-info-link {
width: 100%;
justify-content: center;
}
}


