html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background-color: #f0f0f0 !important;
}

#components-reconnect-modal {
    display: none !important;
}

body {
    height: auto !important;
}

a, .btn-link {
    color: #006bb7;
}

.btn-outline-secondary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.content {
    padding-top: 1.1rem;
}

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}

.modal-confirmation.show {
    display: flex !important;
}

.modal-dialog {
    display: flex;
    justify-self: center;
    align-self: center;
}



.page-item.active .page-link {
    background-color: #6c757d !important;
    border: 1px solid #6c757d !important;
    color: white !important;
}


.page-item .page-link {
    color: black !important;
}

/* Product Details - Desktop Navigation Buttons */
.main-image {
    position: relative;
    overflow: hidden;
}

.desktop-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    opacity: 0;
}

.main-image:hover .desktop-nav-btn {
    opacity: 1;
}

.desktop-nav-btn:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: translateY(-50%) scale(1.1);
}

.desktop-nav-btn.prev {
    left: 20px;
}

.desktop-nav-btn.next {
    right: 20px;
}

.desktop-nav-btn i {
    font-size: 18px;
}

/* Image Modal Styles */
.image-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.image-modal-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.modal-close-btn {
    position: absolute;
    top: -50px;
    right: 0;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1001;
}

.modal-close-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.modal-image-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-image-container img {
    max-width: 80vw;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 8px;
}

.modal-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.modal-nav-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.modal-nav-btn.prev {
    left: -80px;
}

.modal-nav-btn.next {
    right: -80px;
}

.modal-nav-btn i {
    font-size: 24px;
}

.modal-indicators {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.modal-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-indicator.active {
    background: white;
    transform: scale(1.2);
}

.modal-indicator:hover {
    background: rgba(255, 255, 255, 0.8);
}

/* Responsive adjustments for modal */
@media (max-width: 768px) {
    .modal-nav-btn.prev {
        left: -40px;
    }

    .modal-nav-btn.next {
        right: -40px;
    }

    .modal-nav-btn {
        width: 50px;
        height: 50px;
    }

    .modal-nav-btn i {
        font-size: 20px;
    }

    .modal-image-container img {
        max-width: 95vw;
        max-height: 70vh;
    }
}

@media (max-width: 480px) {
    .modal-nav-btn.prev {
        left: 10px;
    }

    .modal-nav-btn.next {
        right: 10px;
    }

    .modal-nav-btn {
        width: 40px;
        height: 40px;
    }

    .modal-nav-btn i {
        font-size: 16px;
    }
}

/* Size Dropdown Styles */
.size-dropdown {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    background-color: white;
    font-size: 16px;
    font-weight: 500;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 20px;
    padding-right: 40px;
}

.size-dropdown:hover {
    border-color: #007bff;
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.1);
}

.size-dropdown:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.size-dropdown option {
    padding: 8px 12px;
    font-size: 16px;
    color: #333;
}

.size-dropdown option:disabled {
    color: #999;
    background-color: #f5f5f5;
}

/* Size selection container */
.size-selection {
    margin: 20px 0;
}

.size-selection h3 {
    margin-bottom: 12px;
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .size-dropdown {
        font-size: 16px;
        padding: 14px 16px;
        padding-right: 40px;
    }
}

/* Navigation Action Icons */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.action-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: #333;
    text-decoration: none;
    border-radius: 50%;
    transition: all 0.3s ease;
    position: relative;
    background: none;
    border: none;
    cursor: pointer;
}

.action-icon:hover {
    color: #007bff;
    background-color: rgba(0, 123, 255, 0.1);
    transform: translateY(-2px);
}

.action-icon i {
    font-size: 40px;
}

/* Badge Styles */
.badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background-color: #dc3545;
    color: white;
    border-radius: 80% !important;
    min-width: 18px;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: bold;
    line-height: 1;
    padding: 0 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    border: 2px solid white;
}

/* Desktop Actions */
.desktop-actions {
    display: flex;
}

/* Mobile Actions */
.mobile-actions {
    display: none;
}

/* Responsive Navigation Actions */
@media (max-width: 768px) {
    .desktop-actions {
        display: none;
    }

    .mobile-actions {
        display: flex;
        gap: 20px;
    }

    .action-icon {
        width: 35px;
        height: 35px;
    }

    .action-icon i {
        font-size: 35px;
    }

    .badge {
        min-width: 16px;
        height: auto;
        font-size: 10px;
        top: -15px;
        right: -15px;
    }
}

@media (max-width: 480px) {
    .mobile-actions {
        gap: 20px;
    }

    .action-icon {
        width: 32px;
        height: 32px;
    }

    .action-icon i {
        font-size: 32px;
    }

    .badge {
        min-width: 14px;
        height: auto;
        font-size: 9px;
        top: -15px;
        right: -15px;
    }
}

/* Navigation Container Layout Updates */
.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    height: 60px;
}

.nav-desktop {
    flex: 1;
    display: flex;
    justify-content: center;
}

@media (max-width: 768px) {
    .nav-container {
        padding: 0 15px;
    }

    .nav-desktop {
        display: none;
    }
}

/* Auth Modal Styles */
.auth-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.auth-modal-content {
    background: white;
    border-radius: 12px;
    padding: 0;
    max-width: 450px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.auth-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 20px;
    color: #666;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 1001;
}

.auth-modal-close:hover {
    background: #f5f5f5;
    color: #333;
}

.auth-form-container {
    padding: 40px 30px 30px;
}

.auth-form-container h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #333;
    font-weight: 600;
    font-size: 24px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
    font-size: 14px;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: white;
}

.form-control:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.checkbox-group {
    display: flex;
    align-items: center;
    margin: 15px 0;
}

.checkbox-label {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #666;
    cursor: pointer;
    margin: 0;
}

.checkbox-label input[type="checkbox"] {
    margin-right: 8px;
    width: 16px;
    height: 16px;
}

.btn-full {
    width: 100%;
    padding: 14px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-outline-secondary {
    background: #007bff;
    color: white;
}

.btn-outline-secondary:hover:not(:disabled) {
    background: #0056b3;
    transform: translateY(-1px);
}

.btn-outline-secondary:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.external-login-section {
    margin: 25px 0;
}

.divider {
    text-align: center;
    margin: 20px 0;
    position: relative;
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e0e0e0;
}

.divider span {
    background: white;
    padding: 0 15px;
    color: #666;
    font-size: 14px;
}

.external-login-form {
    margin-bottom: 10px;
}

.btn-external {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    background: white;
    color: #333;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-external:hover {
    border-color: #007bff;
    background: #f8f9fa;
}

.btn-google:hover {
    border-color: #db4437;
    background: #fdf2f2;
}

.btn-facebook:hover {
    border-color: #3b5998;
    background: #f2f4f8;
}

.auth-switch {
    text-align: center;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.auth-switch p {
    margin: 0;
    color: #666;
    font-size: 14px;
}

.link-button {
    background: none;
    border: none;
    color: #007bff;
    cursor: pointer;
    text-decoration: underline;
    font-size: 14px;
    padding: 0;
}

.link-button:hover {
    color: #0056b3;
}

.alert {
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 14px;
}

.alert-danger {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.text-danger {
    color: #dc3545;
    font-size: 12px;
    margin-top: 4px;
    display: block;
}

/* Mobile responsive */
@media (max-width: 480px) {
    .auth-modal-content {
        width: 95%;
        margin: 20px;
    }

    .auth-form-container {
        padding: 30px 20px 20px;
    }

    .auth-form-container h2 {
        font-size: 20px;
        margin-bottom: 25px;
    }
}



/* Auth Pages Styles */
.auth-page {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    padding: 20px;
}

.auth-container {
    width: 100%;
    max-width: 450px;
}

.auth-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    animation: slideUp 0.6s ease-out;
}

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

.auth-logo {
    text-align: center;
    padding: 40px 30px 20px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.auth-logo .logo-image {
    height: 60px;
    margin-bottom: 20px;
}

.auth-title {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin-bottom: 8px;
}

.auth-subtitle {
    color: #666;
    font-size: 16px;
    margin-bottom: 0;
}

.auth-form {
    padding: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e1e5e9;
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s ease;
    background-color: #f8f9fa;
}

.form-control:focus {
    outline: none;
    border-color: #667eea;
    background-color: white;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.checkbox-group {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #666;
    cursor: pointer;
    margin-bottom: 0;
}

.checkbox-label .form-check-input {
    margin-right: 8px;
    margin-top: 0;
}

.btn-full {
    width: 100%;
    padding: 14px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 10px;
    border: none;
    background: linear-gradient(45deg, #6c757d, #495057);
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.btn-full:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

.external-login-section {
    margin: 20px 0;
}

.divider {
    text-align: center;
    margin: 20px 0;
    position: relative;
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e1e5e9;
}

.divider span {
    background: white;
    padding: 0 15px;
    color: #666;
    font-size: 14px;
}

.external-login-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn-external {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 20px;
    border-radius: 10px;
    border: 2px solid #e1e5e9;
    background: white;
    color: #333;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 14px;
}

.btn-external:hover {
    border-color: #667eea;
    background: #f8f9fa;
    transform: translateY(-1px);
}

.btn-external.btn-google {
    border-color: #db4437;
    color: #db4437;
}

.btn-external.btn-google:hover {
    background: #db4437;
    color: white;
}

.btn-external.btn-facebook {
    border-color: #4267B2;
    color: #4267B2;
}

.btn-external.btn-facebook:hover {
    background: #4267B2;
    color: white;
}

.auth-links {
    text-align: center;
    margin-top: 20px;
}

.auth-links .link {
    color: #667eea;
    text-decoration: none;
    font-size: 14px;
    display: block;
    margin-bottom: 15px;
}

.auth-links .link:hover {
    text-decoration: underline;
}

.auth-switch {
    font-size: 14px;
    color: #666;
}

.auth-switch .link-primary {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
}

.auth-switch .link-primary:hover {
    text-decoration: underline;
}

.text-danger {
    color: #dc3545;
    font-size: 13px;
    margin-top: 5px;
}

.no-external-providers {
    text-align: center;
    padding: 20px;
}

/* Responsive Design for Auth Pages */
@media (max-width: 480px) {
    .auth-page {
        padding: 10px;
    }

    .auth-card {
        border-radius: 15px;
    }

    .auth-logo {
        padding: 30px 20px 15px;
    }

    .auth-title {
        font-size: 24px;
    }

    .auth-form {
        padding: 20px;
    }
}

/* Промо код стилове */
.promo-code-section {
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 15px;
    margin: 20px 0;
    background-color: #f8f9fa;
}

.promo-code-section h5 {
    margin-bottom: 15px;
    color: #495057;
    font-weight: 600;
}

.promo-code-section .input-group {
    margin-bottom: 10px;
}

.applied-promo-code {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.applied-promo-code .badge {
    font-size: 0.9em;
}

.order-total .subtotal,
.order-total .discount {
    padding: 5px 0;
    border-bottom: 1px solid #dee2e6;
    margin-bottom: 5px;
}

.order-total .discount {
    color: #28a745;
    font-weight: 500;
}

.order-total .final-total {
    padding-top: 10px;
    font-size: 1.1em;
}

/* Глобални модал стилове - поправка за overlay проблеми */
.modal {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 1050 !important;
    overflow: hidden !important;
}

.modal.show {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.modal-dialog {
    position: relative !important;
    z-index: 1051 !important;
    margin: 1rem !important;
    max-width: 90vw !important;
    max-height: 90vh !important;
    pointer-events: auto !important;
}

.modal-content {
    position: relative !important;
    z-index: 1052 !important;
    background: white !important;
    border: 1px solid rgba(0, 0, 0, 0.2) !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
    pointer-events: auto !important;
    outline: 0 !important;
}

.modal-backdrop {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    z-index: 1040 !important;
    background-color: rgba(0, 0, 0, 0.5) !important;
    pointer-events: auto !important;
}

.modal-header {
    border-bottom: 1px solid #dee2e6 !important;
    padding: 1rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

.modal-body {
    padding: 1rem !important;
    max-height: 70vh !important;
    overflow-y: auto !important;
}

.modal-footer {
    border-top: 1px solid #dee2e6 !important;
    padding: 1rem !important;
    display: flex !important;
    justify-content: flex-end !important;
    gap: 0.5rem !important;
}

.modal-title {
    margin: 0 !important;
    font-size: 1.25rem !important;
    font-weight: 500 !important;
}

.btn-close {
    background: none !important;
    border: none !important;
    font-size: 1.5rem !important;
    cursor: pointer !important;
    opacity: 0.5 !important;
}

.btn-close:hover {
    opacity: 1 !important;
}

/* Loading skeleton for related products */
.product-card-skeleton {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 20px;
    animation: pulse 1.5s ease-in-out infinite alternate;
}

.skeleton-image {
    width: 100%;
    height: 200px;
    background: #e9ecef;
    border-radius: 8px;
    margin-bottom: 15px;
}

.skeleton-text {
    height: 16px;
    background: #e9ecef;
    border-radius: 4px;
    margin-bottom: 10px;
}

.skeleton-text.short {
    width: 60%;
}

@keyframes pulse {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0.6;
    }
}

.no-related-products {
    text-align: center;
    color: #666;
    font-style: italic;
    margin: 40px 0;
}
