/* Product Detail Page Styles */

/* Container and Layout */
.product-detail-page {
    padding: 20px 0 60px;
    background-color: #f8fafc;
    min-height: calc(100vh - 200px);
}

.product-detail-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 30px;
    align-items: start;
}

/* Breadcrumb Styles */
.breadcrumb-nav {
    margin-bottom: 20px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #6b7280;
}

.breadcrumb-item:not(.active) a {
    color: #3b82f6;
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb-item:not(.active) a:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

.breadcrumb-item.active span {
    color: #374151;
    font-weight: 500;
}

.breadcrumb-separator {
    margin: 0 8px;
    font-size: 12px;
    color: #9ca3af;
}

/* Product Gallery Styles */
.product-gallery {
    display: flex;
    gap: 20px;
    position: relative;
}

.thumbnail-sidebar {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 80px;
    flex-shrink: 0;
}

.thumbnail-item {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
}

.thumbnail-item:hover,
.thumbnail-item.active {
    border-color: #3b82f6;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.thumbnail-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.main-image-container {
    flex: 1;
    position: relative;
}

.main-image-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.main-image {
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: cover;
    display: block;
}

.zoom-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #374151;
}

.zoom-btn:hover {
    background: #ffffff;
    transform: scale(1.1);
    color: #3b82f6;
}

.mobile-dots {
    display: none;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: #d1d5db;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active,
.dot:hover {
    background: #3b82f6;
}

/* Product Info Styles */
.product-info {
    padding: 0 20px;
}

.product-title {
    font-size: 2rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 16px;
    line-height: 1.2;
}

.product-reviews {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.stars-rating {
    display: flex;
    gap: 2px;
}

.stars-rating .fa-star,
.stars-rating .fa-star-half-stroke {
    font-size: 16px;
    color: #fbbf24;
}

.stars-rating .fa-regular {
    color: #d1d5db;
}

.reviews-link {
    color: #3b82f6;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.reviews-link:hover {
    text-decoration: underline;
}

.price-delivery-container {
    display: flex;
    gap: 20px;
    margin-bottom: 32px;
}

.pricing-section {
    flex: 1;
    padding: 24px;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
}

.price-row {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 8px;
}

.price-label {
    font-size: 16px;
    color: #374151;
    font-weight: 500;
}

.required-indicator {
    color: #ef4444;
    font-weight: bold;
}

.price-value {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 8px;
}

.currency,
.amount {
    font-size: 2rem;
    font-weight: 700;
    color: #111827;
}

.price-note {
    color: #6b7280;
    font-size: 14px;
    margin: 0;
}

.delivery-info {
    flex: 1;
    padding: 24px;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
}

.delivery-label {
    font-size: 16px;
    color: #374151;
    font-weight: 500;
    margin-bottom: 8px;
}

.delivery-value {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 8px;
}

.delivery-days {
    font-size: 2rem;
    font-weight: 700;
    color: #111827;
}

.delivery-note {
    color: #6b7280;
    font-size: 14px;
    margin: 0;
}

/* Bulk Price Calculator */
.bulk-calculator-wrapper {
    margin-bottom: 24px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    background: #ffffff;
}

.bulk-calculator-header {
    padding: 20px 24px;
    background: #f9fafb;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background 0.3s ease;
}

.bulk-calculator-header:hover {
    background: #f3f4f6;
}

.bulk-calculator-title {
    font-size: 18px;
    font-weight: 600;
    color: #111827;
}

.bulk-calculator-icon {
    color: #6b7280;
    font-size: 16px;
    transition: transform 0.3s ease;
}

.bulk-calculator-header:hover .bulk-calculator-icon {
    color: #111827;
}

.bulk-calculator-wrapper.expanded .bulk-calculator-icon {
    transform: rotate(180deg);
}

.bulk-calculator-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    padding: 0 24px;
}

.bulk-calculator-wrapper.expanded .bulk-calculator-content {
    max-height: 500px;
    padding: 24px;
}

.bulk-calculator-disclaimer {
    font-size: 13px;
    color: #6b7280;
    margin: 0 0 20px 0;
    ;
}

.quantity-input-container {
    margin-bottom: 24px;
}

.quantity-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    margin-bottom: 10px;
}

.quantity-input-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.quantity-input {
    flex: 1;
    padding: 12px 16px;
    font-size: 18px;
    font-weight: 600;
    color: #111827;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    outline: none;
    transition: all 0.3s ease;
    background: #ffffff;
}

.quantity-input:focus {
    border-color: #111827;
    box-shadow: 0 0 0 3px rgba(17, 24, 39, 0.1);
}

.quantity-input:hover {
    border-color: #9ca3af;
}

.quantity-unit {
    font-size: 16px;
    font-weight: 500;
    color: #6b7280;
    white-space: nowrap;
}

.quantity-hint {
    display: block;
    font-size: 12px;
    color: #6b7280;
    ;
}

.bulk-pricing-details {
    padding: 20px;
    background: #f9fafb;
    border-radius: 8px;
}

.bulk-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.bulk-price-label {
    font-size: 16px;
    color: #374151;
    font-weight: 500;
}

.bulk-price-amount {
    font-size: 20px;
    font-weight: 700;
    color: #111827;
}

.bulk-discount-row {
    display: flex;
    justify-content: flex-end;
}

.bulk-discount-badge {
    display: inline-block;
    padding: 6px 16px;
    background: #10b981;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    border-radius: 20px;
}

.start-customizing-btn {
    width: 100%;
    background: #ef4444;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 16px 24px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.start-customizing-btn:hover {
    background: #dc2626;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.4);
}

/* Additional Product Info / Disclaimer */
.additional-info-container {
    margin-top: 32px;
    padding-top: 20px;
    border-top: 1px solid #f1f5f9;
}

.pricing-disclaimer-text {
    font-size: 12px;
    color: #94a3b8;
    line-height: 1.6;
    margin: 0;
}

/* Zoom Modal Styles */
.zoom-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    cursor: zoom-out;
}

.zoom-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.zoom-modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.close-zoom {
    position: absolute;
    top: -40px;
    right: 0;
    color: #ffffff;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
}

.close-zoom:hover {
    color: #ef4444;
}

#zoomedImage {
    width: 100%;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Responsive Design */

/* Large Desktop (1440px+) */
@media (min-width: 1440px) {
    .product-detail-wrapper {
        gap: 80px;
        max-width: 1400px;
        margin: 0 auto;
    }
    
    .thumbnail-sidebar {
        width: 100px;
    }
    
    .thumbnail-item {
        width: 100px;
        height: 100px;
    }
}

/* Desktop (1024px - 1439px) */
@media (max-width: 1439px) {
    .product-detail-wrapper {
        gap: 50px;
    }
}

/* Tablet (768px - 1023px) */
@media (max-width: 1023px) {
    .product-detail-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .product-gallery {
        max-width: 600px;
        margin: 0 auto;
    }
    
    .product-info {
        padding: 0;
    }
    
    .delivery-details {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

/* Mobile Large (481px - 767px) */
@media (max-width: 767px) {
    .product-detail-page {
        padding: 15px 0 40px;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .product-gallery {
        flex-direction: column-reverse;
        gap: 15px;
    }
    
    .thumbnail-sidebar {
        flex-direction: row;
        width: 100%;
        justify-content: center;
        overflow-x: auto;
        padding: 0 10px;
    }
    
    .thumbnail-item {
        width: 60px;
        height: 60px;
        flex-shrink: 0;
    }
    
    .mobile-dots {
        display: flex;
    }
    
    .product-title {
        font-size: 1.5rem;
    }
    
    .price-value .currency,
    .price-value .amount {
        font-size: 1.5rem;
    }
    
    .days {
        font-size: 1.25rem;
    }
    
    .delivery-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .breadcrumb {
        font-size: 12px;
    }
}

/* Mobile Small (320px - 480px) */
@media (max-width: 480px) {
    .thumbnail-item {
        width: 50px;
        height: 50px;
    }
    
    .product-title {
        font-size: 1.25rem;
    }
    
    .price-delivery-container {
        flex-direction: column;
        gap: 16px;
    }
    
    .pricing-section,
    .delivery-info {
        padding: 16px;
    }
    
    .bulk-calculator-header {
        padding: 16px 20px;
    }
    
    .bulk-calculator-title {
        font-size: 16px;
    }
    
    .bulk-calculator-wrapper.expanded .bulk-calculator-content {
        padding: 20px;
    }
    
    .bulk-pricing-details {
        padding: 16px;
    }
    
    .bulk-price-amount {
        font-size: 18px;
    }
    
    .start-customizing-btn {
        padding: 14px 20px;
        font-size: 15px;
    }
    
    .zoom-modal-content {
        max-width: 95%;
        max-height: 85%;
    }
}

/* Login Prompt Modal Styles */
.login-prompt-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.login-prompt-modal.active {
    display: flex;
}

.login-prompt-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.login-prompt-container {
    position: relative;
    background: white;
    border-radius: 16px;
    padding: 40px 32px 32px;
    max-width: 440px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    text-align: center;
    animation: slideUp 0.3s ease;
}

.login-prompt-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: white;
    box-shadow: 0 8px 16px rgba(59, 130, 246, 0.3);
}

.login-prompt-title {
    font-size: 24px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 12px;
}

.login-prompt-message {
    font-size: 15px;
    color: #6b7280;
    line-height: 1.6;
    margin: 0 0 28px;
}

.login-prompt-actions {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.login-prompt-btn {
    flex: 1;
    padding: 14px 24px;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.login-prompt-btn.login-btn {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.login-prompt-btn.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

.login-prompt-btn.register-btn {
    background: white;
    color: #3b82f6;
    border: 2px solid #3b82f6;
}

.login-prompt-btn.register-btn:hover {
    background: #eff6ff;
    transform: translateY(-2px);
}

.login-prompt-cancel {
    background: none;
    border: none;
    color: #9ca3af;
    font-size: 14px;
    cursor: pointer;
    padding: 8px;
    transition: color 0.2s;
}

.login-prompt-cancel:hover {
    color: #6b7280;
    text-decoration: underline;
}

/* Responsive Login Prompt */
@media (max-width: 640px) {
    .login-prompt-container {
        padding: 32px 24px 24px;
    }
    
    .login-prompt-icon {
        width: 56px;
        height: 56px;
        font-size: 24px;
    }
    
    .login-prompt-title {
        font-size: 20px;
    }
    
    .login-prompt-message {
        font-size: 14px;
    }
    
    .login-prompt-actions {
        flex-direction: column;
    }
    
    .login-prompt-btn {
        width: 100%;
    }
}

/* Customization Modal */
.customization-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.customization-modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.modal-container {
    position: relative;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    animation: slideUp 0.3s ease;
    display: flex;
    flex-direction: column;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        transform: translateY(40px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 28px;
    border-bottom: 1px solid #e5e7eb;
    background: linear-gradient(135deg, #f9fafb 0%, #ffffff 100%);
}

.modal-title {
    font-size: 22px;
    font-weight: 700;
    color: #111827;
    margin: 0;
}

.modal-close {
    width: 36px;
    height: 36px;
    border: none;
    background: #f3f4f6;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    color: #6b7280;
    font-size: 20px;
}

.modal-close:hover {
    background: #ef4444;
    color: #ffffff;
    transform: rotate(90deg);
}

.modal-body {
    padding: 28px;
    overflow-y: auto;
    flex: 1;
    max-height: calc(90vh - 180px);
}

.form-section {
    margin-bottom: 32px;
}

.form-section:last-child {
    margin-bottom: 0;
}

.form-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 16px;
}

.form-icon {
    color: #ef4444;
    font-size: 18px;
}

/* Radio Cards */
.radio-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.radio-card {
    position: relative;
    display: block;
    cursor: pointer;
}

.radio-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.radio-content {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 18px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    background: #ffffff;
    transition: all 0.3s ease;
}

.radio-card:hover .radio-content {
    border-color: #9ca3af;
    background: #f9fafb;
}

.radio-card input:checked ~ .radio-content {
    border-color: #ef4444;
    background: #fef2f2;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.radio-icon {
    font-size: 22px;
    color: #d1d5db;
    transition: color 0.3s ease;
}

.radio-card input:checked ~ .radio-content .radio-icon {
    color: #ef4444;
}

.radio-label {
    flex: 1;
    font-size: 15px;
    font-weight: 500;
    color: #374151;
}

.additional-charge {
    padding: 4px 12px;
    background: #fef3c7;
    color: #92400e;
    font-size: 13px;
    font-weight: 600;
    border-radius: 20px;
}

/* Upload Section */
.upload-section {
    margin-top: 16px;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.upload-area {
    border: 2px dashed #d1d5db;
    border-radius: 12px;
    padding: 32px 20px;
    text-align: center;
    background: #f9fafb;
    transition: all 0.3s ease;
    cursor: pointer;
}

.upload-area:hover {
    border-color: #ef4444;
    background: #fef2f2;
}

.upload-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.upload-icon {
    font-size: 48px;
    color: #9ca3af;
    transition: color 0.3s ease;
}

.upload-area:hover .upload-icon {
    color: #ef4444;
}

.upload-text {
    font-size: 15px;
    font-weight: 600;
    color: #374151;
}

.upload-hint {
    font-size: 13px;
    color: #6b7280;
}

.uploaded-file {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: #f0fdf4;
    border: 1px solid #86efac;
    border-radius: 10px;
    animation: slideDown 0.3s ease;
}

.file-icon {
    font-size: 24px;
    color: #16a34a;
}

.file-name {
    flex: 1;
    font-size: 14px;
    font-weight: 500;
    color: #166534;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.remove-file {
    width: 32px;
    height: 32px;
    border: none;
    background: #fee2e2;
    color: #dc2626;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.remove-file:hover {
    background: #dc2626;
    color: #ffffff;
}

/* Toggle Group */
.toggle-group {
    display: flex;
    gap: 12px;
    background: #f3f4f6;
    padding: 6px;
    border-radius: 12px;
    width: fit-content;
}

.toggle-option {
    position: relative;
    cursor: pointer;
}

.toggle-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.toggle-label {
    display: block;
    padding: 10px 32px;
    font-size: 15px;
    font-weight: 600;
    color: #6b7280;
    border-radius: 8px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.toggle-option:hover .toggle-label {
    color: #374151;
}

.toggle-option input:checked ~ .toggle-label {
    background: #ffffff;
    color: #ef4444;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Timeline Options */
.timeline-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Quantity Input in Modal */
.quantity-input-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.quantity-input-field {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 500;
    color: #111827;
    background: #ffffff;
    transition: all 0.3s ease;
    outline: none;
}

.quantity-input-field:focus {
    border-color: #ef4444;
    background: #fef2f2;
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.1);
}

.quantity-input-field:hover {
    border-color: #9ca3af;
}

.quantity-input-note {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #6b7280;
    padding: 8px 12px;
    background: #f3f4f6;
    border-radius: 8px;
}

.quantity-input-note i {
    color: #3b82f6;
    font-size: 14px;
}

.timeline-card {
    position: relative;
    display: block;
    cursor: pointer;
}

.timeline-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.timeline-content {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    background: #ffffff;
    transition: all 0.3s ease;
}

.timeline-card:hover .timeline-content {
    border-color: #9ca3af;
    transform: translateX(4px);
}

.timeline-card input:checked ~ .timeline-content {
    border-color: #ef4444;
    background: #fef2f2;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.15);
}

.timeline-icon {
    font-size: 28px;
    color: #d1d5db;
    transition: color 0.3s ease;
}

.timeline-card input:checked ~ .timeline-content .timeline-icon {
    color: #ef4444;
}

.timeline-label {
    flex: 1;
    font-size: 15px;
    font-weight: 600;
    color: #374151;
    display: block;
}

.timeline-desc {
    display: block;
    font-size: 13px;
    color: #6b7280;
    margin-top: 2px;
}

/* Modal Footer */
.modal-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    padding: 20px 28px;
    border-top: 1px solid #e5e7eb;
    background: #f9fafb;
}

.btn-secondary,
.btn-primary {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 600;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary {
    background: #ffffff;
    color: #6b7280;
    border: 2px solid #e5e7eb;
}

.btn-secondary:hover {
    background: #f3f4f6;
    color: #374151;
    border-color: #9ca3af;
}

.btn-primary {
    background: #ef4444;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(239, 68, 68, 0.3);
}

.btn-primary:hover {
    background: #dc2626;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.4);
}

/* Responsive Modal */
@media (max-width: 640px) {
    .modal-container {
        width: 95%;
        max-height: 95vh;
    }
    
    .modal-header {
        padding: 20px;
    }
    
    .modal-title {
        font-size: 18px;
    }
    
    .modal-body {
        padding: 20px;
    }
    
    .modal-footer {
        padding: 16px 20px;
        flex-direction: column-reverse;
        gap: 10px;
    }
    
    .btn-secondary,
    .btn-primary {
        width: 100%;
        justify-content: center;
    }
    
    .timeline-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .toggle-group {
        width: 100%;
    }
    
    .toggle-option {
        flex: 1;
    }
    
    .toggle-label {
        padding: 10px 16px;
        text-align: center;
    }
}

/* Print Styles */
@media print {
    .zoom-btn,
    .start-customizing-btn,
    .mobile-dots,
    .customization-modal {
        display: none;
    }
    
    .product-detail-wrapper {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .thumbnail-sidebar {
        display: none;
    }
}

/* SweetAlert2 Z-Index Fix - Ensure alerts appear above modals */
.swal2-container {
    z-index: 999999 !important;
}

.swal2-popup {
    z-index: 999999 !important;
}

/* Payment Step Styles */
.payment-step {
    padding: 0;
    display: flex;
    flex-direction: column;
    height: 100%;
    max-height: 90vh;
}

.payment-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px 32px;
    border-bottom: 1px solid #e5e7eb;
}

.back-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    background: #ffffff;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.3s ease;
}

.back-btn:hover {
    border-color: #ef4444;
    color: #ef4444;
    background: #fef2f2;
}

.payment-title {
    font-size: 20px;
    font-weight: 600;
    color: #111827;
    margin: 0;
}

.payment-body {
    padding: 24px 32px;
    max-height: calc(90vh - 250px);
    overflow-y: auto;
    flex: 1;
}

/* Price Breakdown */
.price-breakdown {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 24px;
}

.breakdown-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 600;
    color: #111827;
    margin: 0 0 16px 0;
}

.breakdown-title i {
    color: #3b82f6;
    font-size: 18px;
}

.breakdown-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    font-size: 14px;
}

.breakdown-label {
    color: #6b7280;
    font-weight: 500;
}

.breakdown-value {
    color: #111827;
    font-weight: 600;
}

.breakdown-divider {
    height: 1px;
    background: #cbd5e1;
    margin: 12px 0;
}

.breakdown-total {
    padding: 16px 0 0 0;
}

.breakdown-total .breakdown-label {
    color: #111827;
    font-size: 16px;
    font-weight: 700;
}

.breakdown-total .total-price {
    color: #ef4444;
    font-size: 20px;
    font-weight: 700;
}

/* QR Section */
.qr-section {
    background: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 24px;
    text-align: center;
}

.qr-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 20px;
}

.qr-icon {
    font-size: 24px;
    color: #3b82f6;
}

.qr-title {
    font-size: 18px;
    font-weight: 600;
    color: #111827;
    margin: 0;
}

.qr-code-container {
    position: relative;
    width: 240px;
    height: 240px;
    margin: 0 auto 16px;
    background: #f9fafb;
    border: 2px dashed #d1d5db;
    border-radius: 12px;
    overflow: hidden;
}

.qr-code-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.qr-fallback {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #9ca3af;
}

.qr-fallback i {
    font-size: 48px;
    margin-bottom: 12px;
}

.qr-fallback p {
    margin: 0;
    font-size: 14px;
}

.qr-instruction {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    color: #6b7280;
    margin: 0;
}

.qr-instruction i {
    color: #3b82f6;
}

/* Screenshot Section */
.screenshot-section {
    background: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 16px;
    padding: 24px;
}

.screenshot-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 600;
    color: #111827;
    margin: 0 0 8px 0;
}

.screenshot-title i {
    color: #10b981;
    font-size: 18px;
}

.screenshot-description {
    font-size: 14px;
    color: #6b7280;
    margin: 0 0 16px 0;
}

.screenshot-upload-area {
    border: 2px dashed #d1d5db;
    border-radius: 12px;
    padding: 32px 20px;
    background: #f9fafb;
    cursor: pointer;
    transition: all 0.3s ease;
}

.screenshot-upload-area:hover {
    border-color: #3b82f6;
    background: #eff6ff;
}

.screenshot-upload-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.screenshot-upload-label .upload-icon {
    font-size: 36px;
    color: #3b82f6;
}

.screenshot-upload-label .upload-text {
    font-size: 15px;
    font-weight: 600;
    color: #374151;
}

.screenshot-upload-label .upload-hint {
    font-size: 13px;
    color: #9ca3af;
}

.screenshot-preview {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 16px;
    background: #f9fafb;
    border: 2px solid #10b981;
    border-radius: 12px;
}

.screenshot-img {
    width: 100%;
    max-height: 300px;
    object-fit: contain;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    background: #ffffff;
}

.screenshot-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.success-icon {
    color: #10b981;
    font-size: 20px;
}

.screenshot-name {
    flex: 1;
    font-size: 14px;
    font-weight: 500;
    color: #111827;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.remove-screenshot {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: #fee2e2;
    color: #dc2626;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.remove-screenshot:hover {
    background: #fecaca;
    transform: translateY(-1px);
}

.payment-footer {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 32px;
    border-top: 1px solid #e5e7eb;
    background: #f9fafb;
}

.payment-footer .btn-secondary,
.payment-footer .btn-primary {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 600;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.payment-footer .btn-secondary {
    background: #ffffff;
    color: #374151;
    border: 2px solid #e5e7eb;
}

.payment-footer .btn-secondary:hover {
    background: #f9fafb;
    border-color: #d1d5db;
}

.payment-footer .btn-primary {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.payment-footer .btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.4);
}

.payment-footer .btn-primary:disabled {
    background: #d1d5db;
    cursor: not-allowed;
    opacity: 0.6;
}

.payment-footer .btn-primary:disabled:hover {
    transform: none;
    box-shadow: none;
}

/* Similar Products Section - Single Column Layout */
.similar-products-section {
    margin-top: 80px;
    padding-top: 60px;
    border-top: 1px solid #e2e8f0;
    margin-bottom: 60px;
}

.similar-products-container {
    display: grid;
    grid-template-columns: 1fr 1.8fr;
    gap: 60px;
    align-items: start;
}

.similar-products-info {
    position: sticky;
    top: 100px;
}

.info-badge {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    font-size: 13px;
    font-weight: 600;
    border-radius: 20px;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.similar-products-title {
    font-size: 32px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 16px 0;
    line-height: 1.2;
}

.similar-products-description {
    font-size: 15px;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 24px;
}

.similar-products-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.feature-bullet {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #334155;
    font-weight: 500;
}

.feature-bullet i {
    color: #10b981;
    font-size: 16px;
}

/* Similar Products Column */
.similar-products-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.similar-product-row-card {
    display: grid;
    grid-template-columns: 180px 1fr;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

.similar-product-row-card:hover {
    transform: translateY(-4px);
    border-color: #cbd5e1;
    box-shadow: 0 12px 24px -8px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.card-image-wrapper {
    position: relative;
    width: 180px;
    height: 100%;
    min-height: 160px;
    overflow: hidden;
    background-color: #f8fafc;
}

.card-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.similar-product-row-card:hover .card-image-wrapper img {
    transform: scale(1.05);
}

.card-category-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(4px);
    color: #ffffff;
    font-size: 10px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 6px;
    text-transform: uppercase;
}

.card-details-wrapper {
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-header-row {
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 16px;
    margin-bottom: 6px;
}

.card-product-name {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
    line-height: 1.3;
    transition: color 0.2s;
}

.similar-product-row-card:hover .card-product-name {
    color: #ef4444;
}

.card-product-price {
    font-size: 18px;
    font-weight: 800;
    color: #ef4444;
    white-space: nowrap;
}

.card-rating-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.card-rating-row .stars {
    display: flex;
    gap: 2px;
}

.card-rating-row .star-filled {
    color: #fbbf24;
    font-size: 14px;
}

.card-rating-row .star-empty {
    color: #cbd5e1;
    font-size: 14px;
}

.reviews-count {
    font-size: 12px;
    color: #64748b;
}

.card-product-desc {
    font-size: 13px;
    color: #475569;
    line-height: 1.5;
    margin: 0 0 16px 0;
}

.card-action-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #ef4444;
    transition: gap 0.2s;
    margin-top: auto;
}

.similar-product-row-card:hover .card-action-link {
    gap: 10px;
}

/* Responsive Styles for Similar Products */
@media (max-width: 1023px) {
    .similar-products-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .similar-products-info {
        position: static;
        text-align: center;
    }
    
    .similar-products-features {
        align-items: center;
    }
}

@media (max-width: 640px) {
    .similar-product-row-card {
        grid-template-columns: 1fr;
    }
    
    .card-image-wrapper {
        width: 100%;
        height: 180px;
    }
    
    .card-header-row {
        flex-direction: column;
        gap: 6px;
    }
    
    .card-product-price {
        font-size: 16px;
    }
}

/* Mobile responsive breadcrumb and similar products adjustments */
@media (max-width: 768px) {
    .breadcrumb {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        white-space: nowrap !important;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 6px;
        width: 100%;
        scrollbar-width: none; /* Hide scrollbar Firefox */
    }
    
    .breadcrumb::-webkit-scrollbar {
        display: none; /* Hide scrollbar Chrome/Safari */
    }
    
    .breadcrumb-item {
        flex-shrink: 0;
        white-space: nowrap;
        display: inline-flex !important;
        align-items: center;
    }

    .similar-products-description,
    .similar-products-features {
        display: none !important;
    }
}