/* === ELITE STYLE (Manual CSS - No Dependencies) === */

/* Container & Font */
.wps-elite-wrapper {
    font-family: 'Inter', sans-serif;
    color: #1e293b; /* slate-800 */
    max-width: 1280px;
    margin: 0 auto;
    padding: 40px 20px;
    box-sizing: border-box;
    background-color: #f8fafc; /* slate-50 */
    line-height: 1.5;
}
.wps-elite-wrapper * { box-sizing: border-box; }

/* HEADER */
.wps-header { margin-bottom: 30px; }
.wps-badges { display: flex; gap: 10px; margin-bottom: 15px; align-items: center; }
.wps-badge-blue { background: #2563eb; color: #fff; font-size: 11px; font-weight: 700; text-transform: uppercase; padding: 4px 8px; border-radius: 4px; }
.wps-badge-green { background: #f0fdf4; color: #166534; font-size: 11px; font-weight: 700; padding: 4px 8px; border-radius: 4px; border: 1px solid #bbf7d0; display: flex; align-items: center; gap: 4px; }
.wps-badge-green .material-symbols-outlined { font-size: 14px; }

.wps-title { font-size: 32px; font-weight: 800; color: #0f172a; margin: 0 0 10px 0; line-height: 1.2; }

.wps-meta { display: flex; gap: 20px; align-items: center; color: #64748b; font-size: 14px; }
.wps-rating { color: #eab308; display: flex; align-items: center; gap: 5px; }
.wps-rating strong { color: #0f172a; }
.wps-stat { display: flex; align-items: center; gap: 5px; }
.wps-meta .material-symbols-outlined { font-size: 18px; }

.wps-circle-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #e2e8f0;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    padding: 5px!important;
    top: 5px!important;
}

/* GRID PRINCIPAL (CRITIC: 2 COLOANE) */
.wps-grid {
    display: grid;
    grid-template-columns: 2fr 1fr; /* 2 părți stânga, 1 parte dreapta */
    gap: 40px;
    align-items: start;
}
@media (max-width: 1024px) {
    .wps-grid { grid-template-columns: 1fr; } /* Mobil: 1 coloană */
}

/* STÂNGA */
.wps-col-main { min-width: 0; }

.wps-gallery-box {
    background: #fff; padding: 10px; border-radius: 16px;
    border: 1px solid #e2e8f0; margin-bottom: 30px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
/* Woo Gallery Fixes */
.woocommerce-product-gallery { opacity: 1 !important; }
.woocommerce-product-gallery img { border-radius: 8px; width: 100%; }

/* TABS */
.wps-tabs-nav {
    display: flex; gap: 30px; border-bottom: 2px solid #e2e8f0;
    margin-bottom: 20px; position: sticky; top: 0; background: rgba(248,250,252,0.95); z-index: 10;
}
.wps-tab-btn {
    background: none; border: none; padding: 15px 0; font-size: 15px; font-weight: 500; color: #64748b;
    cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -2px; display: flex; align-items: center; gap: 6px;
}
.wps-tab-btn .material-symbols-outlined { font-size: 18px; }
.wps-tab-btn.active { color: #2563eb; border-bottom-color: #2563eb; font-weight: 700; }

.wps-prose { font-size: 16px; line-height: 1.7; color: #334155; margin-bottom: 30px; }

/* FEATURES GRID */
.wps-features-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px; margin-bottom: 30px;
}
.wps-feature-card {
    background: #fff; padding: 20px; border-radius: 12px; border: 1px solid #e2e8f0;
    display: flex; gap: 15px; align-items: start; box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}
.wps-feature-icon {
    background: #eff6ff; color: #2563eb; padding: 10px; border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
}
.wps-feature-icon img { width: 24px; height: 24px; }
.wps-feature-card h3 { margin: 0 0 5px 0; font-size: 16px; font-weight: 700; color: #0f172a; }
.wps-feature-card p { margin: 0; font-size: 14px; color: #64748b; line-height: 1.4; }

/* TIMELINE */
.wps-timeline { border-left: 2px solid #e2e8f0; padding-left: 30px; margin: 20px 0; }
.wps-timeline-step { position: relative; margin-bottom: 40px; }
.wps-step-num {
    position: absolute; left: -46px; top: 0; width: 32px; height: 32px;
    background: #fff; border: 4px solid #eff6ff; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; font-weight: 700; color: #64748b;
}
.wps-timeline-step:hover .wps-step-num { border-color: #2563eb; color: #2563eb; }
.wps-step-content { background: #fff; padding: 20px; border-radius: 12px; border: 1px solid #e2e8f0; }
.wps-step-content h4 { margin: 0 0 5px 0; font-size: 16px; font-weight: 700; }

/* ALTERNATIVE BLOCK */
.wps-alt-block {
    margin-top: 40px; background: linear-gradient(to right, #f8fafc, #fff);
    border: 1px solid #e2e8f0; border-radius: 16px; padding: 24px; position: relative; overflow: hidden;
}
.wps-alt-bg {
    position: absolute; top: 0; right: 0; width: 150px; height: 150px;
    background: #fef9c3; filter: blur(60px); opacity: 0.5;
}
.wps-alt-content { position: relative; z-index: 1; }
.wps-alt-badge { display: inline-flex; align-items: center; gap: 5px; color: #a16207; font-weight: 700; font-size: 12px; text-transform: uppercase; margin-bottom: 10px; }
.wps-alt-content h3 { margin: 0 0 10px 0; font-size: 20px; color: #0f172a; }
.wps-alt-link { color: #2563eb; text-decoration: none; font-weight: 600; display: inline-flex; align-items: center; gap: 5px; }

/* DREAPTA (SIDEBAR STICKY) */
.wps-col-sidebar { min-width: 320px; }
.wps-sticky-card { position: sticky; top: 100px; }

.wps-price-box {
    background: #fff; border-radius: 16px; border: 1px solid #e2e8f0;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1); padding: 24px; margin-bottom: 24px;
}
.wps-price-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 5px; }
.wps-price-header .label { font-size: 14px; color: #64748b; }
.wps-price-header .promo { background: #fef2f2; color: #dc2626; font-size: 12px; font-weight: 700; padding: 2px 6px; border-radius: 4px; }
.wps-price-val { font-size: 30px; font-weight: 800; color: #0f172a; margin-bottom: 20px; }

.wps-price-box hr { border: 0; border-top: 1px solid #e2e8f0; margin: 20px 0; }

.wps-expert-mini { display: flex; gap: 12px; align-items: center; margin-bottom: 20px; background: #f8fafc; padding: 10px; border-radius: 10px; }
.wps-expert-img { position: relative; width: 40px; height: 40px; }
.wps-expert-img img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.wps-expert-img .dot { width: 10px; height: 10px; background: #22c55e; border: 2px solid #fff; border-radius: 50%; position: absolute; bottom: 0; right: 0; }
.wps-expert-mini .role { font-size: 10px; font-weight: 700; color: #64748b; text-transform: uppercase; }
.wps-expert-mini .name { margin: 0; font-size: 14px; font-weight: 700; color: #0f172a; }

.wps-btn-primary {
    width: 100%; background: #2563eb; color: #fff; padding: 16px;
    border: none; border-radius: 12px; font-size: 16px; font-weight: 700; cursor: pointer;
    display: flex; justify-content: center; align-items: center; gap: 8px;
    box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.2); transition: transform 0.1s;
}
.wps-btn-primary:hover { background: #1d4ed8; transform: translateY(-1px); }

.wps-note { text-align: center; font-size: 12px; color: #94a3b8; margin-top: 10px; }
.wps-guarantee {
    background: #f8fafc; margin: 24px -24px -24px; padding: 12px 24px;
    border-top: 1px solid #e2e8f0; border-radius: 0 0 16px 16px;
    display: flex; justify-content: space-between; font-size: 12px; color: #64748b; font-weight: 500;
}
.wps-guarantee span { display: flex; align-items: center; gap: 4px; }

.wps-contact-card { background: #fff; border-radius: 12px; border: 1px solid #e2e8f0; padding: 20px; text-align: center; }
.wps-contact-card button { background: none; border: none; color: #2563eb; font-weight: 600; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 5px; width: 100%; }

/* MODAL */
.wps-modal-overlay {
    position: fixed; inset: 0; z-index: 9999999;
    background: rgba(15, 23, 42, 0.6); backdrop-filter: blur(4px);
    display: none; align-items: center; justify-content: center;
}
.wps-modal-overlay.open { display: flex; animation: fadeIn 0.2s ease; }
.wps-modal-box {
    background: #fff; width: 90%; max-width: 550px; border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25); max-height: 90vh; overflow-y: auto;
}
.wps-modal-header {
    padding: 20px; border-bottom: 1px solid #e2e8f0; display: flex; justify-content: space-between; align-items: center;
}
.wps-modal-header h3 { margin: 0; font-size: 20px; font-weight: 700; color: #0f172a; }
.wps-close-modal { cursor: pointer; color: #64748b; font-size: 24px; display: flex; }
.wps-modal-body { padding: 24px; }

/* FIX WOO FORM */
.wps-modal-body .wc-bookings-booking-form { margin: 0; border: none; padding: 0; }
.wps-modal-body label { font-weight: 600; color: #1e293b; margin-bottom: 5px; display: block; }
.wps-modal-body input, .wps-modal-body select { width: 100%; border: 1px solid #cbd5e1; padding: 10px; border-radius: 8px; margin-bottom: 15px; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }