

/* === <!--بخش آپشن های سرویس و خدمات-->استایل‌های جدید برای خدمات پیشرفته === */
.service-card {
    background: white;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    border: 1px solid #2c61d2;
    transition: all 0.2s ease;
    position: relative;
}
.service-card.has-items { 
    border-color: var(--bs-success); 
    background-color: #f0fdf4; 
}

.info-trigger {
    position: absolute;
    top: 16px;
    left: 16px;
    width: 32px; height: 32px;
    background: #f1f5f9;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    color: #64748b;
    font-size: 16px;
    border: none;
    transition: all 0.2s;
}
.info-trigger:hover { 
    background: var(--bs-primary); 
    color: white; 
}

.card-content { padding-left: 44px; }

.service-title { 
    font-weight: bold; 
    font-size: 15px; 
    margin-bottom: 4px; 
    color: #1e293b;
}
.base-price { 
    font-size: 12px; 
    color: #64748b; 
    margin-bottom: 12px; 
}

.controls-row { 
    display: flex; 
    align-items: center; 
    gap: 10px; 
}

.qty-wrapper {
    display: flex; align-items: center;
    background: white; 
    border: 1px solid #e2e8f0;
    border-radius: 8px; 
    overflow: hidden;
}
.btn-qty {
    width: 32px; height: 32px; 
    border: none; 
    background: #1423e942;
    font-size: 18px; 
    color: var(--bs-primary); 
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
}
.btn-qty:active { background: #f1f5f9; }
.qty-display { 
    width: 30px; 
    text-align: center; 
    font-size: 14px; 
    font-weight: bold; 
}

.btn-add-details {
    /*flex-grow: 1;*/
     height: 30px;
    border: 1px dashed var(--bs-primary); 
    background: transparent;
    color: var(--bs-primary); 
    border-radius: 8px;
    font-size: 13px; 
    cursor: pointer;
    display: flex; align-items: center; justify-content: center; 
    gap: 6px;
    transition: all 0.2s;
}
.btn-add-details:hover { background: #dbeafe; }
.btn-add-details.active { 
    background: var(--bs-primary); 
    color: white; 
    border-style: solid; 
}

.selected-tags { 
    display: flex; 
    flex-wrap: wrap; 
    gap: 6px; 
    margin-top: 10px; 
}
.tag {
    background: white; 
    padding: 4px 8px; 
    border-radius: 6px;
    font-size: 11px; 
    color: #64748b; 
    border: 1px solid #e2e8f0;
    display: flex; align-items: center; gap: 4px;
}
.tag-qty {
    background: var(--bs-primary); 
    color: white;
    border-radius: 4px; 
    padding: 1px 5px; 
    font-size: 10px;
}

/* مودال آپشن‌ها */
.option-item {
    display: flex; 
    justify-content: space-between; 
    align-items: center;
    padding: 14px 0; 
    border-bottom: 1px solid #e2e8f0;
}
.option-item:last-child { border-bottom: none; }

.option-left { 
    display: flex; 
    align-items: center; 
    flex-grow: 1; 
    gap: 12px; 
    cursor: pointer;
}

.option-check {
    width: 22px; height: 22px; 
    border: 2px solid #92979f;
    border-radius: 6px; 
    display: flex; align-items: center; justify-content: center;
    transition: all 0.2s; 
    flex-shrink: 0;
}
.option-item.selected .option-check {
    background: var(--bs-primary); 
    border-color: var(--bs-primary); 
    color: white;
}

.opt-name { 
    font-size: 14px; 
    font-weight: 500; 
}
.opt-price { 
    font-size: 12px; 
    color: var(--bs-success); 
    margin-top: 2px; 
}

.modal-qty-wrapper {
    display: flex; align-items: center;
    background: #f8fafc; 
    border: 1px solid #e2e8f0;
    border-radius: 6px; 
    overflow: hidden; 
    height: 30px;
}
.modal-qty-btn {
    width: 28px; height: 100%; 
    border: none; 
    background: #4650d330;
    font-size: 16px; 
    color: var(--bs-primary); 
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
}
.modal-qty-display {
    width: 24px; 
    text-align: center; 
    font-size: 13px; 
    font-weight: bold;
    background: white; 
    height: 100%; 
    display: flex; align-items: center; justify-content: center;
    border-left: 1px solid #e2e8f0; 
    border-right: 1px solid #e2e8f0;
}

/* صفحه راهنمای تمام‌صفحه */
.fullscreen-guide {
    position: fixed; inset: 0; 
    background: white;
    z-index: 9999; 
    display: none; 
    flex-direction: column;
}
.fullscreen-guide.open { display: flex; }

.guide-header {
    display: flex; align-items: center; gap: 12px;
    padding: 16px 20px; 
    border-bottom: 1px solid #e2e8f0;
    background: white; 
    position: sticky; top: 0; z-index: 10;
}
.guide-back {
    width: 36px; height: 36px; 
    border: none; 
    background: #f1f5f9;
    border-radius: 10px; 
    font-size: 20px; 
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
}
.guide-title { 
    font-size: 17px; 
    font-weight: bold; 
}

.guide-body { 
    padding: 20px; 
    overflow-y: auto; 
    flex-grow: 1; 
}
.guide-body h3 { 
    font-size: 15px; 
    color: var(--bs-primary); 
    margin-top: 20px; 
    margin-bottom: 8px; 
}
.guide-body p, .guide-body li { 
    font-size: 14px; 
    color: #64748b; 
    margin-bottom: 8px; 
}
.guide-body ul { padding-right: 20px; }
.guide-note {
    background: #fffbeb; 
    border: 1px solid #fde68a; 
    border-radius: 8px;
    padding: 12px; 
    font-size: 13px; 
    color: #92400e; 
    margin-top: 16px;
}


/* === Bottom Sheet آپشن‌ها === */
.bottom-sheet-overlay2 {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1050;
    display: none;
    align-items: flex-end;
    justify-content: center;
}
.bottom-sheet-overlay.open2 {
    display: flex;
}

.bottom-sheet2 {
    background: white;
    width: 100%;
    max-width: 500px;
    border-radius: 20px 20px 0 0;
    padding: 20px 20px 30px;
    animation: slideUpSheet 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    max-height: 80vh;
    display: flex;
    flex-direction: column;
}

@keyframes slideUpSheet {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

.bottom-sheet-handle2 {
    width: 40px;
    height: 4px;
    background: #cbd5e1;
    border-radius: 2px;
    margin: 0 auto 16px;
}

.bottom-sheet-title2 {
    font-size: 17px;
    font-weight: bold;
    color: #1e293b;
    margin: 0 0 16px;
    text-align: center;
}

.bottom-sheet-body2 {
    overflow-y: auto;
    flex-grow: 1;
    margin-bottom: 16px;
}

.bottom-sheet-close2 {
    width: 100%;
    padding: 14px;
    background: #f1f5f9;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 500;
    color: #475569;
    cursor: pointer;
    transition: background 0.2s;
}
.bottom-sheet-close2:active {
    background: #e2e8f0;
}

/* === Bottom Sheet مودال آپشن‌ها (از پایین صفحه) === */
.details-sheet-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: none;
    align-items: flex-end;
    justify-content: center;
    z-index: 1050;
}
.details-sheet-overlay.open {
    display: flex;
}

.details-sheet {
    background: white;
    width: 100%;
    max-width: 500px;
    border-radius: 24px 24px 0 0;
    padding: 24px;
    animation: slideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    max-height: 80vh;
    overflow-y: auto;
}

@keyframes slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

.details-sheet-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e2e8f0;
}

.details-sheet-title {
    font-size: 17px;
    font-weight: bold;
    color: #1e293b;
    margin: 0;
}

.details-sheet-close {
    background: #f1f5f9;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    font-size: 14px;
    cursor: pointer;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}
.details-sheet-close:hover {
    background: #e2e8f0;
    color: #1e293b;
}

