/* ניקוי */
.pewc-product-extra-groups-wrap, 
#pewc_product_extra_forms, 
.pewc-total-field-wrapper { display: none !important; }

.ppct-wrapper {
    background: transparent;
    padding: 0;
    margin: 20px 0;
    border: none;
    font-family: "Atlas", "Assistant", sans-serif !important;
    direction: rtl;
}
.ppct-wrapper * { font-family: "Atlas", "Assistant", sans-serif !important; }

/* טאבים */
.ppct-tabs-pills {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
}
.ppct-pill {
    background: #f1f1f1;
    color: #333;
    padding: 10px 30px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 16px !important;
    font-weight: bold !important;
    transition: all 0.2s;
    border: 1px solid transparent;
}
.ppct-pill.active {
    background: #000;
    color: #fff;
    border-color: #000;
}

/* כותרת */
.ppct-subtitle {
    text-align: center;
    font-size: 24px !important; 
    font-weight: 700 !important;
    color: #333;
    margin-bottom: 25px;
}

/* גריד */
.ppct-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    max-width: 500px;
    margin: 0 auto;
}

/* כרטיס מוצר */
.ppct-opt {
    border: 1px solid #e5e5e5;
    background: #fff;
    cursor: pointer;
    padding: 0;
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    aspect-ratio: 4/3; 
    overflow: hidden;
    border-radius: 8px;
    position: relative;
    min-height: 100px;
}

.ppct-opt:hover { border-color: #999; }
.ppct-opt.selected {
    border: 3px solid #2b96ff !important;
    box-shadow: 0 0 8px rgba(43, 150, 255, 0.4);
}

.ppct-opt .opt-img {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    box-sizing: border-box;
}

/* תמונה אמיתית */
.ppct-opt .opt-img img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* שומר פרופורציה */
    display: block;
}

/* פלייסזהולדר (רק אם אין תמונה) */
.rect-placeholder {
    width: 100%;
    height: 100%;
    background: #fafafa;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
    font-weight: bold;
}

/* תוספות */
.ppct-extras-area { text-align: center; margin-top: 30px; }
.ppct-pill-checkbox {
    background: #f1f1f1 !important;
    color: #333 !important;
    padding: 12px 30px !important;
    border-radius: 50px !important;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    display: inline-block;
    transition: all 0.3s;
    border: 1px solid transparent;
}
.ppct-pill-checkbox.checked-mode {
    background-color: #000 !important;
    color: #fff !important;
    border-color: #000 !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
.ppct-pill-checkbox input { display: none !important; }
.ppct-pill-checkbox::after, .ppct-pill-checkbox::before { display: none !important; }

/* שדות */
.ppct-inputs-row { display: flex; justify-content: center; gap: 15px; }
.ppct-input-group { display: flex; flex-direction: column; text-align: right; }
.ppct-input-group label { font-size: 14px; margin-bottom: 5px; font-weight: bold; }
.ppct-input {
    padding: 10px; border: 1px solid #ccc;
    border-radius: 6px; font-size: 16px; width: 100px; text-align: center;
}

/* פוטר */
.ppct-footer {
    margin-top: 25px;
    text-align: center;
    display: flex; justify-content: center; align-items: center; gap: 10px;
    border-top: 1px solid #eee; padding-top: 15px;
}
.ppct-price-box { font-size: 18px; font-weight: bold; color: #333; }
.ppct-total-price { font-size: 24px; color: #2b96ff; font-weight: 800 !important; }

/* אנימציית המחשת צורה */
.ppct-visualizer-wrap { display: none; justify-content: center; align-items: center; margin: 15px 0; width: 100%; clear: both; }
.ppct-limit-label { font-size: 11px; color: #888; margin-top: 5px; display: block; text-align: center; }
#ppct_shape_preview_box { border: 2px dashed #007cba; background: rgba(0, 124, 186, 0.05); display: flex; align-items: center; justify-content: center; color: #007cba; font-weight: bold; font-size: 14px; transition: all 0.3s ease-out; box-shadow: inset 0 0 10px rgba(0,124,186,0.1); border-radius: 4px; }