﻿/* ==================== PRODUCT DETAILS PAGE - LTR ==================== */

.product-detail-container {
    padding: 180px 0 0;
}

.navbar {
    background: rgba(255,255,255,0.95);
    box-shadow: 0 2px 10px rgba(149,31,32,0.1);
}

.navbar-logo {
    height: 40px;
    width: auto;
}

/* ==================== PRODUCT IMAGE ==================== */
.product-image-container {
    position: relative;
    overflow: visible;
    border-radius: 0;
    box-shadow: none;
    margin-bottom: 30px;
    background: transparent;
    padding: 0;
    transform-style: preserve-3d;
    perspective: 1000px;
}

    .product-image-container::before {
        display: none;
    }

    .product-image-container img {
        width: 150%;
        height: 600px;
        display: block;
        transition: transform 0.5s ease;
        border-radius: 0;
        position: relative;
        z-index: 2;
        filter: none;
        margin-left: -25%;
        object-fit: contain;
    }

    .product-image-container:hover img {
        transform: scale(1.02);
        filter: none;
    }

.product-image-glow,
.product-image-shine,
.product-image-overlay {
    display: none;
}

/* ==================== ANIMATIONS ==================== */
@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.8;
    }
}

@keyframes shine {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }

    50% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }

    100% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==================== COLOR & DESIGN OPTIONS ==================== */
.color-options,
.design-options {
    margin: 15px 0;
    padding: 20px;
    background: rgba(255,255,255,0.8);
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.color-option,
.design-option {
    display: inline-block;
    margin: 8px;
    cursor: pointer;
    transition: transform 0.2s ease;
}

    .color-option:hover,
    .design-option:hover {
        transform: scale(1.1);
    }

.color-option {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 3px solid transparent;
    box-shadow: 0 3px 8px rgba(0,0,0,0.2);
}

    .color-option.active {
        border-color: #951f20;
        transform: scale(1.15);
    }

.design-checkbox {
    display: none;
}

.design-label {
    display: inline-flex;
    align-items: center;
    padding: 12px 25px;
    border: 2px solid #ddd;
    border-radius: 8px;
    background: #fff;
    transition: all 0.3s ease;
    cursor: pointer;
    margin: 5px;
}

    .design-label:hover {
        border-color: #951f20;
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(149,31,32,0.2);
    }

.design-checkbox:checked + .design-label {
    border-color: #951f20;
    background: #951f20;
    color: #fff;
}

/* LTR specific */
.design-label i {
    margin-right: 8px;
    margin-left: 0;
}

/* ==================== PRODUCT INFO ==================== */
.product-info {
    padding: 20px 0;
}

.product-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #2c3e50;
}

.product-price {
    font-size: 32px;
    font-weight: 700;
    color: #951f20;
    margin-bottom: 15px;
}

.product-description {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 20px;
}

.back-button {
    margin-top: 20px;
}

/* ==================== SPECIFICATION TABS ==================== */
.spec-tabs {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin: 30px 0;
    background: #f8f9fa;
    padding: 8px;
    border-radius: 12px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.spec-tab-btn {
    background: transparent;
    border: none;
    padding: 12px 25px;
    font-size: 15px;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    border-radius: 8px;
    white-space: nowrap;
}

    .spec-tab-btn:hover {
        color: #951f20;
        background: rgba(149, 31, 32, 0.1);
    }

    .spec-tab-btn.active {
        color: white;
        background: #951f20;
        border-radius: 8px;
        box-shadow: 0 2px 8px rgba(149, 31, 32, 0.3);
    }

.spec-tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

    .spec-tab-content.active {
        display: block;
    }

/* ==================== MEASUREMENTS ==================== */
.measurements-section {
    padding: 60px 0;
    text-align: center;
}

.measurements-image {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(149,31,32,0.2);
    margin: 30px 0;
}

.section-title {
    text-align: center;
}

/* ==================== FOOTER ==================== */
.footer {
    background-color: #fff;
    padding: 40px 0;
    position: relative;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

.social-icons {
    text-align: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

    .social-icons a {
        font-size: 18px;
        color: #bebebe;
        margin: 5px 15px;
        transition: all 0.3s ease-in-out 0s;
    }

        .social-icons a:hover {
            color: #951f20;
        }

/* ==================== RIYAL ICON - LTR ==================== */
.riyal-icon {
    width: 20px;
    height: 20px;
    vertical-align: middle;
    margin-left: 5px;
    margin-right: 0;
}

.riyal-icon-small {
    width: 14px;
    height: 14px;
    vertical-align: middle;
}

/* White Riyal Icon for Dark Backgrounds */
.riyal-icon-white {
    content: url('/assets/images/sar-white.png');
}

/* Black Riyal Icon for Light Backgrounds (default) */
.riyal-icon-black {
    content: url('/assets/images/SaudiRiyalSymbol.svg');
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 768px) {
    .product-detail-container {
        padding: 97px 0 0;
    }

    .spec-tabs {
        flex-direction: column;
        gap: 10px;
        background: none;
    }

    .spec-tab-btn {
        background: #eee;
    }

    .product-image-container img {
        width: 100%;
        height: 400px;
        margin-left: 0;
    }

    .product-title {
        font-size: 28px;
    }

    .product-price {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .product-detail-container {
        padding: 80px 0 0;
    }

    .product-image-container img {
        height: 300px;
    }

    .color-option {
        width: 35px;
        height: 35px;
    }

    .design-label {
        padding: 10px 15px;
        font-size: 14px;
    }
}
/* ==================== TAG OPTIONS ==================== */
.tag-options {
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
    border: 2px solid #e9ecef;
    border-radius: 15px;
    padding: 20px;
    margin: 20px 0;
    transition: all 0.3s ease;
}

    .tag-options:hover {
        border-color: #951f20;
        box-shadow: 0 5px 20px rgba(149, 31, 32, 0.1);
    }

    .tag-options h4 {
        margin: 0 0 15px;
        font-size: 16px;
        color: #2c3e50;
        display: flex;
        align-items: center;
        gap: 10px;
    }

        .tag-options h4 i {
            color: #951f20;
        }

.tag-price-info {
    font-size: 12px;
    color: #951f20;
    font-weight: 600;
    background: rgba(149, 31, 32, 0.1);
    padding: 2px 8px;
    border-radius: 10px;
}

/* Tag Toggle Switch */
.tag-toggle {
    margin-bottom: 15px;
}

.tag-checkbox {
    display: none;
}

.tag-toggle-label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    user-select: none;
}

.toggle-switch {
    width: 50px;
    height: 26px;
    background: #ccc;
    border-radius: 13px;
    position: relative;
    transition: all 0.3s ease;
}

    .toggle-switch::after {
        content: '';
        position: absolute;
        width: 22px;
        height: 22px;
        background: white;
        border-radius: 50%;
        top: 2px;
        left: 2px;
        transition: all 0.3s ease;
        box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    }

.tag-checkbox:checked + .tag-toggle-label .toggle-switch {
    background: #951f20;
}

    .tag-checkbox:checked + .tag-toggle-label .toggle-switch::after {
        left: 26px;
    }

.toggle-text {
    font-size: 14px;
    color: #666;
}

/* Tag Inputs */
.tag-inputs {
    background: white;
    border-radius: 10px;
    padding: 15px;
    margin-top: 15px;
    border: 1px solid #eee;
}

.tag-input-group {
    margin-bottom: 15px;
    position: relative;
}

    .tag-input-group label {
        display: block;
        font-size: 13px;
        font-weight: 600;
        color: #2c3e50;
        margin-bottom: 5px;
    }

.tag-input {
    width: 100%;
    padding: 10px 60px 10px 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
}

    .tag-input:focus {
        border-color: #951f20;
        outline: none;
        box-shadow: 0 0 0 3px rgba(149, 31, 32, 0.1);
    }

.char-counter {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(25%);
    font-size: 11px;
    color: #999;
    background: #f5f5f5;
    padding: 2px 6px;
    border-radius: 4px;
}

/* Tag Preview */
.tag-preview {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px dashed #ddd;
}

.preview-label {
    font-size: 12px;
    color: #666;
    margin-bottom: 10px;
}

.tag-preview-box {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 15px 20px;
    border-radius: 10px;
    text-align: center;
    font-family: 'Courier New', monospace;
}

.preview-name {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 5px;
    letter-spacing: 1px;
}

.preview-id {
    font-size: 12px;
    opacity: 0.8;
}

/* ==================== PRICE BREAKDOWN ==================== */
.price-breakdown {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 20px;
    margin: 20px 0;
}

    .price-breakdown h4 {
        margin: 0 0 15px;
        font-size: 14px;
        color: #2c3e50;
        text-transform: uppercase;
        letter-spacing: 1px;
    }

.breakdown-items {
    background: white;
    border-radius: 10px;
    overflow: hidden;
}

.breakdown-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
    font-size: 14px;
}

    .breakdown-item:last-child {
        border-bottom: none;
    }

.breakdown-total {
    display: flex;
    justify-content: space-between;
    padding: 15px;
    background: #951f20;
    color: white;
    font-weight: 700;
    font-size: 16px;
}

/* ==================== PRODUCT PRICE CONTAINER ==================== */
product-price-container {
    margin-bottom: 20px;
}

.base-price {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 5px;
    justify-content: flex-start;
}

    .base-price .riyal-icon-small {
        width: 14px;
        height: 14px;
    }

    .base-price #unitPriceAmount {
        font-weight: 600;
        color: #2c3e50;
    }

.total-price {
    display: flex;
    align-items: center;
    gap: 5px;
    justify-content: flex-start;
}

    .total-price .price-amount {
        font-size: 36px;
        font-weight: 800;
        color: #951f20;
    }

    .total-price .riyal-icon {
        width: 24px;
        height: 24px;
    }

.price-label {
    font-size: 12px;
    color: #666;
    margin-right: 5px;
}
/* ==================== ORDER SUMMARY CARD ==================== */
.order-summary-card {
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    border: 2px solid #951f20;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(149, 31, 32, 0.15);
}

    .order-summary-card h4 {
        margin: 0 0 20px;
        padding-bottom: 15px;
        border-bottom: 2px solid #eee;
        color: #951f20;
        font-size: 18px;
        display: flex;
        align-items: center;
        gap: 10px;
    }

        .order-summary-card h4 i {
            font-size: 20px;
        }

.summary-content {
    background: white;
    border-radius: 10px;
    padding: 15px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

    .summary-row:last-child {
        border-bottom: none;
    }

.summary-label {
    font-weight: 600;
    color: #2c3e50;
    font-size: 14px;
}

.summary-value {
    color: #666;
    font-size: 14px;
}

.summary-divider {
    margin: 15px 0;
    border: none;
    border-top: 2px dashed #ddd;
}

.price-row .summary-value {
    font-weight: 500;
}

.total-row {
    background: #f8f9fa;
    margin: 0 -15px;
    padding: 12px 15px !important;
    border-radius: 8px;
}

    .total-row .summary-label,
    .total-row .summary-value {
        font-weight: 700;
        color: #2c3e50;
    }

.quantity-row {
    background: #e8f4f8;
    margin: 5px -15px;
    padding: 10px 15px !important;
    border-radius: 8px;
}

.grand-total-row {
    background: linear-gradient(135deg, #951f20 0%, #7a1818 100%);
    margin: 10px -15px -15px;
    padding: 15px !important;
    border-radius: 0 0 10px 10px;
}

    .grand-total-row .summary-label,
    .grand-total-row .summary-value {
        color: white !important;
        font-size: 16px;
        font-weight: 800;
    }

/* ==================== DESIGN OPTIONS UPDATED ==================== */
.design-options {
    margin: 20px 0;
    padding: 20px;
    background: rgba(255,255,255,0.8);
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

    .design-options h4 {
        margin: 0 0 15px;
        font-size: 16px;
        color: #2c3e50;
    }

.design-option-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.design-radio {
    display: none;
}

.design-label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 20px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
    flex: 1;
    min-width: 140px;
}

    .design-label:hover {
        border-color: #951f20;
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(149, 31, 32, 0.15);
    }

.design-radio:checked + .design-label {
    border-color: #951f20;
    background: linear-gradient(135deg, #951f20 0%, #7a1818 100%);
    color: white;
}

    .design-radio:checked + .design-label i {
        color: white;
    }

.design-label i {
    font-size: 18px;
    color: #951f20;
    width: 24px;
    text-align: center;
}

.design-name {
    flex: 1;
    font-weight: 600;
    font-size: 14px;
}

.design-price {
    font-size: 12px;
    opacity: 0.8;
    background: rgba(0,0,0,0.1);
    padding: 2px 8px;
    border-radius: 10px;
}

.design-radio:checked + .design-label .design-price {
    background: rgba(255,255,255,0.2);
}

/* ==================== COLOR OPTIONS UPDATED ==================== */
.color-options {
    margin: 15px 0;
    padding: 20px;
    background: rgba(255,255,255,0.8);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    text-align: right;
   /* direction: rtl;*/
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

.color-selection-area {
    flex: 1;
    min-width: 200px;
}

.color-options h4 {
    text-align: right;
   /* direction: rtl;*/
    font-family: 'Cairo', sans-serif;
    margin-bottom: 15px;
}

.color-options-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

/* ==================== FORM STYLES ==================== */
#reservation-form .form-group {
    margin-bottom: 20px;
}

#reservation-form label {
    display: block;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
    font-size: 14px;
}

#reservation-form .form-control {
    height: 50px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 10px 15px;
    font-size: 14px;
    transition: all 0.3s ease;
}

    #reservation-form .form-control:focus {
        border-color: #951f20;
        box-shadow: 0 0 0 3px rgba(149, 31, 32, 0.1);
        outline: none;
    }

#reservation-form textarea.form-control {
    height: auto;
    min-height: 100px;
}

#reservation-form select.form-control {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 40px;
}

#reservation-form .has-error .form-control {
    border-color: #e74c3c;
}

#reservation-form .has-error label {
    color: #e74c3c;
}

/* ==================== CONFIRMATION MODAL ==================== */
.modal-content {
    border-radius: 15px;
    border: none;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.modal-header {
    background: linear-gradient(135deg, #951f20 0%, #7a1818 100%);
    color: white;
    border-radius: 15px 15px 0 0;
    padding: 20px 25px;
    border-bottom: none;
}

    .modal-header .close {
        color: white;
        opacity: 0.8;
        text-shadow: none;
        font-size: 28px;
    }

        .modal-header .close:hover {
            opacity: 1;
        }

.modal-title {
    font-size: 18px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

    .modal-title i {
        color: #4CAF50;
    }

.modal-body {
    padding: 25px;
    max-height: 70vh;
    overflow-y: auto;
}

    .modal-body h5 {
        font-size: 14px;
        text-transform: uppercase;
        letter-spacing: 1px;
        color: #951f20;
        margin: 20px 0 15px;
        padding-bottom: 10px;
        border-bottom: 2px solid #eee;
        display: flex;
        align-items: center;
        gap: 8px;
    }

        .modal-body h5:first-child {
            margin-top: 0;
        }

    .modal-body .table {
        margin-bottom: 0;
        font-size: 14px;
    }

        .modal-body .table td {
            padding: 10px 15px;
            vertical-align: middle;
        }

            .modal-body .table td:first-child {
                width: 40%;
                color: #666;
            }

        .modal-body .table .success {
            background: rgba(149, 31, 32, 0.1);
        }

            .modal-body .table .success td {
                color: #951f20;
                font-size: 16px;
            }

.modal-footer {
    border-top: none;
    padding: 15px 25px 25px;
}

    .modal-footer .btn {
        min-width: 120px;
    }

.confirmation-content .alert {
    margin-bottom: 20px;
}

    .confirmation-content .alert h4 {
        margin: 0 0 10px;
        display: flex;
        align-items: center;
        gap: 10px;
    }

/* ==================== RESPONSIVE STYLES ==================== */
@media (max-width: 768px) {
    .order-summary-card {
        padding: 15px;
        margin-bottom: 20px;
    }

        .order-summary-card h4 {
            font-size: 16px;
        }

    .summary-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .design-option-group {
        flex-direction: column;
    }

    .design-label {
        min-width: 100%;
    }

    .tag-options {
        padding: 15px;
    }

    .tag-preview-box {
        padding: 12px 15px;
    }

    .preview-name {
        font-size: 14px;
    }

    .total-price .price-amount {
        font-size: 28px;
    }

    .price-breakdown {
        padding: 15px;
    }

    .modal-body {
        padding: 15px;
    }

        .modal-body .table td {
            padding: 8px 10px;
            font-size: 13px;
        }

    .grand-total-row .summary-label,
    .grand-total-row .summary-value {
        font-size: 14px;
    }

    .color-option {
        width: 40px;
        height: 40px;
    }

    .selected-color-name {
        display: block;
        margin-left: 0;
        margin-top: 10px;
    }
}

/* ==================== RTL SPECIFIC ADJUSTMENTS ==================== */
[dir="rtl"] .tag-input {
    padding: 10px 15px 10px 60px;
}

[dir="rtl"] .char-counter {
    right: auto;
    left: 10px;
}

[dir="rtl"] .toggle-switch::after {
    left: auto;
    right: 2px;
}

[dir="rtl"] .tag-checkbox:checked + .tag-toggle-label .toggle-switch::after {
    left: auto;
    right: 26px;
}

[dir="rtl"] .summary-row {
    flex-direction: row-reverse;
}

[dir="rtl"] .design-label {
    flex-direction: row-reverse;
}

    [dir="rtl"] .design-label i {
        margin-left: 0;
        margin-right: 10px;
    }

[dir="rtl"] .selected-color-name {
    margin-left: 0;
    margin-right: 15px;
}

[dir="rtl"] #reservation-form select.form-control {
    background-position: left 15px center;
    padding-right: 15px;
    padding-left: 40px;
}

[dir="rtl"] .modal-header .close {
    float: left;
}

[dir="rtl"] .breakdown-item,
[dir="rtl"] .breakdown-total {
    flex-direction: row-reverse;
}

[dir="rtl"] .tag-options h4,
[dir="rtl"] .order-summary-card h4,
[dir="rtl"] .modal-title,
[dir="rtl"] .modal-body h5 {
    flex-direction: row-reverse;
}

[dir="rtl"] .quick-feature {
    flex-direction: row-reverse;
}

[dir="rtl"] .total-price,
[dir="rtl"] .base-price {
    flex-direction: row-reverse;
}

[dir="rtl"] .price-label {
    margin-right: 0;
    margin-left: 5px;
}
/* ==================== QUANTITY SECTION ==================== */
.quantity-section {
    flex: 0 0 auto;
    min-width: 200px;
    margin: 0;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
}

    .quantity-section:hover {
        border: none;
        box-shadow: none;
    }

    .quantity-section h4 {
        margin: 0 0 10px;
        font-size: 14px;
        color: #2c3e50;
        display: flex;
        align-items: center;
        gap: 8px;
        text-align: right;
       /* direction: rtl;*/
    }

        .quantity-section h4 i {
            color: #951f20;
            font-size: 14px;
        }

.quantity-selector {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    direction: ltr;
}

.qty-btn {
    width: 36px;
    height: 36px;
    border: 2px solid #951f20;
    background: white;
    color: #951f20;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
}
/* Phone Verification Styles */
.phone-verified .form-control {
    background-color: #e8f5e9 !important;
    border-color: #4caf50 !important;
}

.phone-verified .btn-success {
    background-color: #4caf50 !important;
    border-color: #4caf50 !important;
    cursor: not-allowed;
}

.verification-status {
    margin-top: 5px;
    font-size: 13px;
}

#phone-verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

#change-phone-link {
    color: #666;
    text-decoration: underline;
}

    #change-phone-link:hover {
        color: #333;
    }

/* OTP Input styling */
#otp-input {
    text-align: center;
    letter-spacing: 8px;
    font-size: 20px;
    font-weight: bold;
}

/* RTL adjustments */
html[dir="rtl"] .verification-status {
    text-align: right;
}

html[dir="rtl"] #change-phone-link {
    margin-left: 0;
    margin-right: 10px;
}
    .qty-btn:hover {
        background: #951f20;
        color: white;
        transform: translateY(-1px);
        box-shadow: 0 3px 10px rgba(149, 31, 32, 0.3);
    }

    .qty-btn:active {
        transform: translateY(0);
    }

    .qty-btn:disabled {
        opacity: 0.5;
        cursor: not-allowed;
    }

.qty-input {
    width: 60px;
    text-align: center;
    font-size: 18px;
    font-weight: 700;
    color: #2c3e50;
    height: 36px;
    border: 2px solid #951f20;
    border-radius: 8px;
    background: white;
    cursor: default;
    font-family: 'Cairo', sans-serif;
    padding: 0;
}

    .qty-input:focus {
        outline: none;
        box-shadow: 0 0 0 3px rgba(149, 31, 32, 0.1);
    }

/* LTR */
[dir="ltr"] .color-options {
    flex-direction: row;
    text-align: left;
}

[dir="ltr"] .quantity-section h4 {
    flex-direction: row;
    text-align: left;
}

[dir="ltr"] .color-options h4 {
    text-align: left;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .color-options {
        flex-direction: column;
        align-items: stretch;
    }

    .color-selection-area,
    .quantity-section {
        width: 100%;
        min-width: 100%;
    }

    .quantity-selector {
        justify-content: center;
    }

    .qty-btn {
        width: 40px;
        height: 40px;
    }

    .qty-input {
        width: 70px;
        height: 40px;
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .qty-btn {
        width: 36px;
        height: 36px;
        font-size: 13px;
    }

    .qty-input {
        width: 60px;
        height: 36px;
        font-size: 18px;
    }

    .quantity-selector {
        gap: 6px;
    }
}
/* ==================== ORDER SUMMARY RIYAL ICONS ==================== */
.summary-value.price-with-icon {
    display: flex;
    align-items: center;
    gap: 5px;
    justify-content: flex-end;
}

[dir="rtl"] .summary-value.price-with-icon {
    flex-direction: row-reverse;
}

.summary-value .riyal-icon-small {
    width: 14px;
    height: 14px;
}

.grand-total-row .summary-value .riyal-icon-small {
    width: 16px;
    height: 16px;
}
/* ==================== DESIGN OPTIONS WITH RIYAL ICON ==================== */
.design-price {
    font-size: 12px;
    opacity: 0.8;
    background: rgba(0,0,0,0.1);
    padding: 2px 8px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 3px;
}

    .design-price .riyal-icon-small {
        width: 12px;
        height: 12px;
        vertical-align: middle;
    }

.design-radio:checked + .design-label .design-price {
    background: rgba(255,255,255,0.2);
}

/* ==================== TAG PRICE INFO WITH RIYAL ICON ==================== */
.tag-price-info {
    font-size: 12px;
    color: #951f20;
    font-weight: 600;
    background: rgba(149, 31, 32, 0.1);
    padding: 2px 8px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

    .tag-price-info .riyal-icon-small {
        width: 12px;
        height: 12px;
    }

/* ==================== PRICE BREAKDOWN WITH RIYAL ICONS ==================== */
.breakdown-item,
.breakdown-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
    font-size: 14px;
}

    .breakdown-item .price-with-icon,
    .breakdown-total .price-with-icon {
        display: flex;
        align-items: center;
        gap: 5px;
    }

    .breakdown-item .riyal-icon-small,
    .breakdown-total .riyal-icon-small {
        width: 14px;
        height: 14px;
    }

    .breakdown-total .riyal-icon-small {
        width: 16px;
        height: 16px;
    }
    /* Breakdown Total - Dark Background */
    .breakdown-total .riyal-icon-small {
        content: url('/assets/images/sar-white.png');
    }

/* Grand Total Row - Dark Background */
.grand-total-row .riyal-icon-small {
    content: url('/assets/images/sar-white.png');
}
/* Design Label Active - Dark Background */
.design-radio:checked + .design-label .riyal-icon-small {
    content: url('/assets/images/sar-white.png');
}

/* Modal Success Row - Dark Background (if used) */
.modal-body .table .success .riyal-icon-small {
    /* Keep black since background is light green */
}