/* ============================================================
   AA Master Booking - Style Recovery (V73.5)
   ============================================================ */

/* מבנה הכרטיס הראשי בתוצאות החיפוש */
.aa-lux-card {
    display: flex !important;
    flex-direction: row !important;
    background: #fff !important;
    border-radius: 16px !important;
    border: 1px solid #e2e8f0 !important;
    margin-bottom: 25px !important;
    overflow: hidden !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05) !important;
    direction: rtl !important;
    min-height: 220px;
}

.aa-lux-img {
    width: 280px !important;
    min-width: 280px !important;
    max-width: 280px !important;
    flex-shrink: 0 !important;
    background-size: cover !important;
    background-position: center !important;
    position: relative !important;
    cursor: pointer !important;
}

.aa-lux-img-overlay {
    position: absolute !important;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.2) !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    opacity: 0;
    transition: 0.3s ease !important;
}

.aa-lux-img:hover .aa-lux-img-overlay { opacity: 1; }

.aa-lux-text {
    color: #fff !important;
    font-weight: bold !important;
    font-size: 14px !important;
}

.aa-lux-body {
    flex-grow: 1 !important;
    padding: 20px 25px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    text-align: right !important;
}

.aa-lux-badge {
    display: inline-block !important;
    width: fit-content !important;
    background: #f0fdf4 !important;
    color: #166534 !important;
    padding: 4px 12px !important;
    border-radius: 50px !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    margin-bottom: 10px !important;
    border: 1px solid #bbf7d0 !important;
}

.aa-lux-title {
    font-size: 20px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    margin: 0 0 10px 0 !important;
}

.aa-lux-room-line {
    border-bottom: 1px solid #f1f5f9 !important;
    padding: 8px 0 !important;
    font-weight: 600 !important;
    color: #1e293b !important;
}

.aa-lux-room-line:last-child { border-bottom: none !important; }

.aa-lux-action {
    width: 200px !important;
    min-width: 200px !important;
    background: #f8fafc !important;
    padding: 20px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    border-right: 1px solid #e2e8f0 !important;
}

.aa-lux-price-title {
    font-size: 13px !important;
    color: #64748b !important;
    margin-bottom: 2px !important;
}

.aa-lux-price {
    font-size: 26px !important;
    font-weight: 900 !important;
    color: #0050b3 !important;
    margin-bottom: 5px !important;
}

.aa-lux-btn {
    width: 100% !important;
    background: #d4af37 !important;
    border-radius: 50px !important;
    padding: 12px !important;
    color: #fff !important;
    font-weight: bold !important;
    border: none !important;
    cursor: pointer !important;
    margin-top: 10px !important;
}

.aa-lux-btn:hover {
    background-color: #0050b3 !important;
    color: #ffffff !important;
    transition: background-color 0.3s ease !important;
}

/* התאמה לנייד בתוצאות החיפוש */
@media (max-width: 768px) {
    .aa-lux-card { flex-direction: column !important; }
    .aa-lux-img { width: 100% !important; max-width: 100% !important; height: 180px !important; }
    .aa-lux-action { width: 100% !important; border-right: none !important; border-top: 1px solid #e2e8f0 !important; }
}

/* ============================================================
   תיקוני UX/UI עבור עגלת הקניות והתשלום בלבד!
   ============================================================ */

/* 1. העלמת נקודותיים אוטומטיות מהכותרות בעגלה */
.woocommerce table.cart dl.variation dt::after,
.woocommerce-checkout dl.variation dt::after,
.wc-item-meta-label::after { 
    display: none !important; 
    content: "" !important; 
}

/* 2. צבע כחול אחיד (#1B75BC) לכותרות וצמצום רווחים */
.woocommerce table.cart dl.variation, 
.wc-block-components-order-summary-item__description dl.variation,
.woocommerce-checkout dl.variation { 
    display: grid !important; 
    grid-template-columns: min-content 1fr !important; 
    gap: 0px 8px !important;
    margin: 5px 0 !important;
}

.woocommerce table.cart dl.variation dt,
.wc-block-components-order-summary-item__description dt,
.woocommerce-checkout dl.variation dt {
    color: #1B75BC !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    white-space: nowrap !important;
}

/* 3. יישור תיבת 'סה"כ בסל' */
.woocommerce-cart .cart-collaterals .cart_totals {
    width: 29% !important; /* יישור לפי קו המחיר בטבלה */
    float: left !important;
    background: #F8FAFC !important;
    padding: 20px 25px !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05) !important;
    margin-top: 15px !important;
    border-radius: 16px !important;
}

/* 4. עיצוב שורת הכפתורים בעגלה (העברת 'רוקן סל' לימין) */
.woocommerce-cart table.cart td.actions {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 12px !important;
    padding: 15px !important;
}

.aa-empty-cart-btn {
    order: -1 !important; /* העברה לימין */
    background: #fff !important;
    color: #dc2626 !important;
    border: 1px solid #fca5a5 !important;
}

.aa-empty-cart-btn, .button[name="apply_coupon"], .button[name="update_cart"] {
    height: 44px !important;
    line-height: 1 !important;
    display: inline-flex !important;
    align-items: center !important;
    padding: 0 20px !important;
    font-weight: bold !important;
    white-space: nowrap !important;
    border-radius: 16px !important;
}

/* העלמת זבל צהוב */
.wc-block-components-order-summary-item__individual-prices,
.woocommerce-notices-wrapper { display: none !important; }