/* Modern Product Cards */
.modern-product-card {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.modern-product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
    border-color: #fed700;
}

/* Clickable Card */
.clickable-card {
    cursor: pointer;
}

.clickable-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
    border-color: #fed700;
}

/* Card Size Variations */
.modern-product-card.card-small {
    font-size: 0.85rem;
}

.modern-product-card.card-small .product-image-container {
    aspect-ratio: 4 / 3;
}

.modern-product-card.card-small .product-content {
    padding: 1rem;
}

.modern-product-card.card-small .product-title {
    font-size: 0.9rem;
}

.modern-product-card.card-small .price-current {
    font-size: 1rem;
}

.modern-product-card.card-large {
    font-size: 1.1rem;
}

.modern-product-card.card-large .product-image-container {
    aspect-ratio: 5 / 4;
}

.modern-product-card.card-large .product-content {
    padding: 1.5rem;
}

.modern-product-card.card-large .product-title {
    font-size: 1.2rem;
}

.modern-product-card.card-large .price-current {
    font-size: 1.4rem;
}

/* Product Image Container */
.product-image-container {
    position: relative;
    overflow: hidden;
    background: #f8f9fa;
    aspect-ratio: 1 / 1;
    border-radius: 16px 16px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
}

.product-image-link {
    display: block;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.modern-product-card:hover .product-image {
    transform: scale(1.05);
}

/* Badges */
.category-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 0.3rem 0.6rem;
    border-radius: 15px;
    font-size: 0.7rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    z-index: 2;
    max-width: calc(100% - 16px);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.category-badge a {
    color: #6c757d;
    text-decoration: none;
    transition: color 0.3s ease;
}

.category-badge:hover a {
    color: #fed700;
}

.discount-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: linear-gradient(135deg, #ff4757 0%, #ff3742 100%);
    color: white;
    padding: 0.3rem 0.6rem;
    border-radius: 15px;
    font-size: 0.7rem;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(255, 71, 87, 0.4);
    z-index: 2;
    min-width: 35px;
    text-align: center;
}

/* Product Actions */
.product-actions {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    gap: 0.5rem;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 3;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.modern-product-card:hover .product-actions {
    opacity: 1;
}

.btn-quick-view,
.btn-add-to-cart,
.btn-product-detail {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    font-size: 1rem;
}

.btn-quick-view {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
}

.btn-quick-view:hover {
    background: linear-gradient(135deg, #0056b3 0%, #004085 100%);
    transform: scale(1.1);
    color: white;
}

.btn-add-to-cart {
    background: linear-gradient(135deg, #fed700 0%, #ffc107 100%);
}

.btn-add-to-cart:hover {
    background: linear-gradient(135deg, #ffc107 0%, #ff9800 100%);
    transform: scale(1.1);
    color: white;
}

/* Yeni Tek Buton Stili */
.btn-product-detail {
    width: auto;
    min-width: 140px;
    height: 44px;
    border-radius: 22px;
    background: linear-gradient(135deg, #fed700 0%, #ffc107 100%);
    color: #333;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0 20px;
    gap: 8px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(254, 215, 0, 0.3);
}

.btn-product-detail:hover {
    background: linear-gradient(135deg, #ffc107 0%, #ff9800 100%);
    transform: translateY(-2px);
    color: #333;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(254, 215, 0, 0.4);
}

.btn-product-detail i {
    font-size: 0.85rem;
}

/* Product Content */
.product-content {
    padding: 1.25rem;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.product-title {
    font-size: 1rem;
    line-height: 1.4;
}

.product-title a {
    color: #2c3e50;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-title a:hover {
    color: #fed700;
}

/* Product Price Section */
.product-price-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto; /* Alttaki boşluğu doldur */
}

.product-price {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.price-current {
    font-size: 1.2rem;
    font-weight: 700;
    color: #dc3545;
}

.price-old {
    font-size: 0.85rem;
    color: #6c757d;
    text-decoration: line-through;
}

.price-request {
    color: #fed700;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
}

/* Stock Status */
.stock-status {
    font-size: 0.8rem;
    color: #28a745;
    display: flex;
    align-items: center;
    background: rgba(40, 167, 69, 0.1);
    padding: 0.25rem 0.5rem;
    border-radius: 15px;
    border: 1px solid rgba(40, 167, 69, 0.2);
    white-space: nowrap;
    font-weight: 500;
}



/* Responsive Design */
@media (max-width: 768px) {
    .modern-product-card {
        margin-bottom: 1rem;
    }
    
    .product-image-container {
        padding: 1rem;
    }
    
    .product-content {
        padding: 1rem;
    }
    
    .product-title {
        font-size: 0.9rem;
    }
    
    .price-current {
        font-size: 1.1rem;
    }
    
    .product-actions {
        opacity: 1; /* Mobilde hep görünür */
    }
    
    .btn-quick-view,
    .btn-add-to-cart {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .product-image-container {
        padding: 1.5rem;
    }
    
    .product-content {
        padding: 0.75rem;
    }
    
    .product-title {
        font-size: 0.85rem;
        margin-bottom: 0.75rem;
    }
    
    .price-current {
        font-size: 1rem;
    }
    
    .feature-item {
        font-size: 0.75rem;
        padding: 0.2rem 0.4rem;
    }
}

/* Animation */
.modern-product-card {
    animation: slideInUp 0.3s ease-out;
}

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

/* Grid Spacing */
.products-group .col-md-3,
.products-group .col-6 {
    padding: 0.5rem;
}

.row.mb-4 .col-md-4,
.row.mb-4 .col-6 {
    padding: 0.5rem;
    margin-bottom: 1rem;
}

/* Hover Effect for Image Container */
.product-image-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.modern-product-card:hover .product-image-container::before {
    opacity: 1;
}

/* Payment Page */
/* Payment Form Card */
.payment-form-card {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius:  0 0 16px 16px;
    padding: 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    overflow: hidden;
    margin-bottom: 2rem;
}

.form-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 2rem;
    border-bottom: 1px solid #dee2e6;
    text-align: center;
}

.form-title {
    margin: 0 0 0.5rem 0;
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c3e50;
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-subtitle {
    margin: 0;
    color: #6c757d;
    font-size: 0.95rem;
}

.form-body {
    padding: 2rem;
}

/* Form Sections */
.form-section {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid #e9ecef;
    margin-bottom: 1rem;
}

.section-label {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #dee2e6;
    display: flex;
    align-items: center;
    font-size: 1rem;
}

/* Form Groups */
.form-group {
    margin-bottom: 0;
}

.form-label {
    font-weight: 500;
    color: #495057;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    font-size: 0.9rem;
}

.form-label i {
    color: #6c757d;
    width: 16px;
}

.form-label .text-danger {
    margin-left: 0.25rem;
}

.form-label small {
    margin-left: 0.5rem;
    font-weight: 400;
}

/* Modern Inputs */
.modern-input,
.modern-select,
.modern-textarea {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: white;
}

.modern-input:focus,
.modern-select:focus,
.modern-textarea:focus {
    border-color: #fed700 ;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.15);
    background: #fff;
}

.modern-input:hover,
.modern-select:hover,
.modern-textarea:hover {
    border-color: #fed700 ;
}

.modern-textarea {
    resize: vertical;
    min-height: 100px;
}

.modern-textarea::placeholder {
    color: #9ca3af;
    font-style: italic;
}

/* Select Styling */
.modern-select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 0.75rem center;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
    padding-right: 2.5rem;
}

/* Input Icons */
.form-group {
    position: relative;
}

/* Required Field Styling */
.text-danger {
    color: #dc3545 !important;
    font-weight: 600;
}

/* Placeholder Styling */
.modern-input::placeholder,
.modern-select option[value=""] {
    color: #9ca3af;
    font-style: italic;
}

/* Validation States */
.modern-input:invalid:not(:placeholder-shown),
.modern-select:invalid:not(:placeholder-shown),
.modern-textarea:invalid:not(:placeholder-shown) {
    border-color: #dc3545;
}

.modern-input:valid:not(:placeholder-shown),
.modern-select:valid:not(:placeholder-shown),
.modern-textarea:valid:not(:placeholder-shown) {
    border-color: #28a745;
}

/* Bootstrap Select Override */
.bootstrap-select .dropdown-toggle {
    border: 2px solid #e9ecef !important;
    border-radius: 10px !important;
    padding: 0.75rem 1rem !important;
    background: white !important;
}

.bootstrap-select .dropdown-toggle:focus {
    border-color: #fed700  !important;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.15) !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .form-header {
        padding: 1.5rem 1rem;
        text-align: center;
    }
    
    .form-title {
        font-size: 1.25rem;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .form-body {
        padding: 1.5rem 1rem;
    }
    
    .form-section {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .section-label {
        font-size: 0.9rem;
        flex-direction: column;
        text-align: center;
        gap: 0.25rem;
    }
    
    .form-label {
        font-size: 0.85rem;
    }
    
    .modern-input,
    .modern-select,
    .modern-textarea {
        font-size: 16px; /* iOS zoom'u önlemek için */
    }
}

@media (max-width: 576px) {
    .form-header {
        padding: 1rem;
    }
    
    .form-body {
        padding: 1rem;
    }
    
    .form-section {
        padding: 0.75rem;
    }
    
    .row.g-3 {
        --bs-gutter-x: 0.75rem;
        --bs-gutter-y: 0.75rem;
    }
}

/* Animation */
.form-section {
    animation: slideInUp 0.3s ease-out;
}

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

/* Checkout Summary Card */
.checkout-summary-card {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 16px;
    padding: 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    overflow: hidden;
}

.checkout-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 1.5rem;
    border-bottom: 1px solid #dee2e6;
    border-radius: 16px 16px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.checkout-title {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: #2c3e50;
    display: flex;
    align-items: center;
}

.order-count .badge {
    background: #fed700 ;
    color: white;
    padding: 0.5rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
}

/* Checkout Items */
.checkout-items {
    max-height: 300px;
    overflow-y: auto;
    padding: 1rem 0;
}

.checkout-item {
    display: flex;
    align-items: flex-start;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #f1f3f4;
    transition: background-color 0.3s ease;
}

.checkout-item:hover {
    background-color: #f8f9fa;
}

.checkout-item:last-child {
    border-bottom: none;
}

.item-image {
    position: relative;
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    margin-right: 1rem;
    flex-shrink: 0;
}

.item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.item-badge {
    position: absolute;
    top: -3px;
    right: -3px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8px;
    color: white;
    border: 2px solid white;
}

.item-badge.badge-request {
    background-color: #fed700 ;
}

.item-badge.badge-purchase {
    background-color: #28a745;
}

.item-details {
    flex: 1;
}

.item-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.item-meta {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-bottom: 0.5rem;
}

.item-sku,
.item-qty {
    font-size: 0.75rem;
    color: #6c757d;
}

.item-price {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.unit-price {
    font-weight: 600;
    color: #2c3e50;
}

.total-price {
    font-size: 0.85rem;
    color: #fed700 ;
    font-weight: 500;
}

.item-price-request {
    color: #fed700 ;
    font-size: 0.8rem;
    font-weight: 500;
    display: flex;
    align-items: center;
}

/* Shipping Section */
.shipping-section {
    background: #f8f9fa;
    margin: 0;
    padding: 1.5rem;
    border-top: 1px solid #dee2e6;
    border-bottom: 1px solid #dee2e6;
}

.shipping-title {
    font-size: 1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.shipping-option {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.shipping-option.active {
    border-color: #fed700 ;
    background: rgba(0, 123, 255, 0.05);
}

.shipping-info {
    flex: 1;
}

.shipping-name {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.25rem;
    display: flex;
    align-items: center;
}

.shipping-time {
    font-size: 0.8rem;
    display: flex;
    align-items: center;
}

.shipping-price {
    text-align: right;
}

.free-shipping-alert {
    background: rgba(23, 162, 184, 0.1);
    color: #17a2b8;
    padding: 0.75rem;
    border-radius: 8px;
    margin-top: 1rem;
    font-size: 0.85rem;
    border: 1px solid rgba(23, 162, 184, 0.2);
}

/* Price Summary */
.price-summary {
    padding: 1.5rem;
    background: white;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f1f3f4;
}

.summary-row:last-of-type {
    border-bottom: none;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0 0 0;
    border-top: 2px solid #dee2e6;
    margin-top: 1rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: #2c3e50;
}

/* Responsive */
@media (max-width: 768px) {
    .checkout-header {
        flex-direction: column;
        gap: .3rem;
        text-align: center;
    }
    
    .checkout-item {
        padding: 0.75rem 1rem;
    }
    
    .item-image {
        width: 50px;
        height: 50px;
        margin-right: 0.75rem;
    }
    
    .item-name {
        font-size: 0.85rem;
    }
    
    .shipping-section {
        padding: 1rem;
    }
    
    .price-summary {
        padding: 1rem;
    }
}

/* Cart Page */
/* Modern Cart Styling */
.cart-header {
    border-bottom: 2px solid #f8f9fa;
    padding-bottom: 1rem;
}

.cart-title {
    font-size: 1.75rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 0;
}

.cart-item-card {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 16px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.cart-item-card:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
    border-color: #007bff;
    transform: translateY(-2px);
}

/* Sağ üst silme butonu */
.btn-remove-item {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 32px;
    height: 32px;
    border: none;
    background: #ff4757;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(255, 71, 87, 0.3);
}

.btn-remove-item:hover {
    background: #ff3742;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(255, 71, 87, 0.4);
}

.btn-remove-item:active {
    transform: scale(0.95);
}

.product-image {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.product-image img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-image:hover img {
    transform: scale(1.05);
}

.product-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    color: white;
    border: 3px solid white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.badge-request {
    background-color: #007bff;
}

.badge-purchase {
    background-color: #28a745;
}

/* Ürün bilgileri */
.product-info {
    padding-right: 1rem;
}

.product-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c3e50;
    line-height: 1.4;
    margin-bottom: 0.5rem;
}

.product-name a {
    color: inherit;
    transition: color 0.3s ease;
}

.product-name a:hover {
    color: #007bff;
}

.product-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.product-sku {
    font-size: 0.875rem;
    color: #6c757d;
    display: flex;
    align-items: center;
    gap: 4px;
}

.badge-primary-soft {
    background-color: rgba(0, 123, 255, 0.12);
    color: #007bff;
    border: 1px solid rgba(0, 123, 255, 0.25);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.badge-success-soft {
    background-color: rgba(40, 167, 69, 0.12);
    color: #28a745;
    border: 1px solid rgba(40, 167, 69, 0.25);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* Miktar kontrolleri */
.quantity-section {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.quantity-input-group {
    display: flex;
    align-items: center;
    width: 140px;
    border: 2px solid #e9ecef;
    border-radius: 25px;
    overflow: hidden;
    background: white;
}

.quantity-input-group .btn {
    border: none;
    background: none;
    padding: 0.5rem;
    color: #6c757d;
    transition: all 0.3s ease;
    flex: 0 0 auto;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quantity-input-group .btn:hover {
    background: #007bff;
    color: white;
}

.quantity-input-group .form-control {
    border: none;
    background: transparent;
    text-align: center;
    font-weight: 600;
    padding: 0.5rem 0.25rem;
    flex: 1;
    height: 35px;
}

.quantity-input-group .form-control:focus {
    box-shadow: none;
    background: #f8f9fa;
}

/* Fiyat bölümleri */
.price-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    padding: 1rem;
    border: 1px solid #dee2e6;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.unit-price {
    flex: 1;
    text-align: center;
}

.unit-price small {
    color: #6c757d;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 0.25rem;
}

.total-price {
    flex: 1;
    text-align: center;
}

.total-price small {
    color: #6c757d;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 0.25rem;
}

.price-display {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 8px;
    padding: 1rem;
    border: 1px solid #dee2e6;
}

.cart-summary .card {
    border: none;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
    border-radius: 12px;
}

.cart-summary .card-header {
    border-radius: 12px 12px 0 0;
    border-bottom: 1px solid #e9ecef;
}

.security-badge {
    padding: 0.5rem;
}

.security-badge i {
    font-size: 1.5rem;
    display: block;
}

.empty-cart {
    padding: 3rem 1rem;
}

.empty-cart-icon i {
    font-size: 5rem;
    color: #dee2e6;
}

.empty-cart-title {
    font-size: 1.75rem;
    font-weight: 600;
    color: #495057;
}

.empty-cart-text {
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Responsive Improvements */
@media (max-width: 991px) {
    .cart-item-card {
        padding: 1.25rem;
    }
    
    .product-image img {
        height: 100px;
    }
    
    .cart-title {
        font-size: 1.5rem;
    }
    
    .product-info {
        padding-right: 0;
    }
    
    .quantity-section {
        margin-bottom: 1rem;
    }
}

@media (max-width: 767px) {
    .cart-header {
        text-align: center;
        flex-direction: column;
        gap: 1rem;
    }
    
    .cart-item-card {
        padding: 1rem;
        margin-bottom: 1rem;
        border-radius: 12px;
    }
    
    .btn-remove-item {
        top: 10px;
        right: 10px;
        width: 28px;
        height: 28px;
        font-size: 12px;
    }
    
    .product-image img {
        height: 90px;
    }
    
    .product-name {
        font-size: 1.1rem;
    }
    
    .product-actions {
        background-color: #f8f9fa;
        border-radius: 12px;
        padding: 1rem;
        margin-top: 1rem;
    }
    
    .quantity-input-group {
        width: 120px;
    }
    
    .quantity-input-group .btn {
        width: 32px;
        height: 32px;
    }
    
    .quantity-input-group .form-control {
        height: 32px;
    }
    
    .cart-footer {
        text-align: center;
    }
    
    .cart-footer .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    .empty-cart {
        padding: 2rem 1rem;
    }
    
    .empty-cart-icon i {
        font-size: 4rem;
    }
    
    .empty-cart-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 575px) {
    .cart-item-card {
        border-radius: 10px;
        padding: 0.875rem;
    }
    
    .btn-remove-item {
        top: 8px;
        right: 8px;
        width: 26px;
        height: 26px;
        font-size: 11px;
    }
    
    .product-name {
        font-size: 1rem;
        line-height: 1.3;
    }
    
    .product-image img {
        height: 80px;
    }
    
    .price-display {
        padding: 0.75rem;
    }
    
    .quantity-input-group {
        width: 110px;
    }
    
    .quantity-input-group .btn {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }
    
    .quantity-input-group .form-control {
        height: 30px;
        font-size: 14px;
    }
    
    .security-badge i {
        font-size: 1.25rem;
    }
    
    .security-badge .small {
        font-size: 0.75rem;
    }
    
    .badge-primary-soft,
    .badge-success-soft {
        padding: 0.3rem 0.6rem;
        font-size: 0.7rem;
    }
}

/* Animation Improvements */
.cart-item-card {
    animation: slideInUp 0.3s ease-out;
}

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

/* Loading States */
.quantity-input-group.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Focus States */
.quantity-input:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

/* Button Improvements */
.btn {
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: 1.1rem;
}

/* Alert Styles */
.alert-sm {
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    border-radius: 0.375rem;
}

.alert-info {
    color: #0c5460;
    background-color: #d1ecf1;
    border-color: #bee5eb;
}

/* Modern Tab Menu Styles */
.modern-tab-container {
    background: #ffffff;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid #e9ecef;
    position: relative;
    overflow: hidden;
}

.modern-tab-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #fed700 0%, #ffc107 50%, #ff9800 100%);
    z-index: 1;
}

.tab-main-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.tab-main-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #fed700 0%, #ffc107 100%);
    border-radius: 2px;
}

/* Modern Tabs */
.modern-tabs {
    border: none;
    background: #f8f9fa;
    border-radius: 16px;
    padding: 0.5rem;
    margin-bottom: 2rem;
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    box-shadow: inset 0 2px 8px rgba(0,0,0,0.06);
    border: 1px solid #e9ecef;
}

.modern-tabs::-webkit-scrollbar {
    height: 4px;
}

.modern-tabs::-webkit-scrollbar-track {
    background: transparent;
}

.modern-tabs::-webkit-scrollbar-thumb {
    background: #dee2e6;
    border-radius: 2px;
}

.modern-tabs .nav-item {
    margin: 0;
    flex-shrink: 0;
}

.modern-tabs .nav-link {
    border: none;
    background: transparent;
    color: #6c757d;
    padding: 0.875rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: flex;
    align-items: center;
    white-space: nowrap;
    margin: 0 0.25rem;
    text-decoration: none;
    min-width: fit-content;
}

.modern-tabs .nav-link:hover {
    background: rgba(254, 215, 0, 0.1);
    color: #2c3e50;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(254, 215, 0, 0.2);
}

.modern-tabs .nav-link.active {
    background: linear-gradient(135deg, #fed700 0%, #ffc107 100%);
    color: #2c3e50;
    font-weight: 700;
    box-shadow: 0 6px 20px rgba(254, 215, 0, 0.3);
    transform: translateY(-2px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.modern-tabs .nav-link.active::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #fed700 0%, #ffc107 100%);
    border-radius: 14px;
    z-index: -1;
    opacity: 0.3;
}

.modern-tabs .nav-link i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.modern-tabs .nav-link.active i {
    transform: scale(1.1);
}

/* Tab Content */
.tab-content {
    background: transparent;
    border: none;
    padding: 0;
}

.tab-pane {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.tab-pane.show.active {
    opacity: 1;
    transform: translateY(0);
}

/* Tab Loading States */
.tab-pane .text-center {
    padding: 3rem 1rem;
    border-radius: 16px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 1px solid #dee2e6;
}

.tab-pane .text-center i {
    color: #fed700;
    margin-bottom: 1rem;
    animation: pulse 2s infinite;
}

.tab-pane .text-center p {
    font-size: 1.1rem;
    font-weight: 500;
    color: #6c757d;
    margin: 0;
}

/* Tab Responsive Design */
@media (max-width: 992px) {
    .modern-tab-container {
        padding: 1.5rem;
        border-radius: 16px;
    }
    
    .tab-main-title {
        font-size: 1.5rem;
    }
    
    .modern-tabs {
        padding: 0.375rem;
        border-radius: 12px;
    }
    
    .modern-tabs .nav-link {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .modern-tab-container {
        padding: 1rem;
        border-radius: 12px;
    }
    
    .tab-main-title {
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }
    
    .modern-tabs {
        padding: 0.25rem;
        margin-bottom: 1.5rem;
        border-radius: 10px;
    }
    
    .modern-tabs .nav-link {
        padding: 0.625rem 1rem;
        font-size: 0.85rem;
        flex-direction: column;
        gap: 0.25rem;
        text-align: center;
        min-width: 80px;
    }
    
    .modern-tabs .nav-link i {
        font-size: 0.9rem;
        margin: 0;
    }
    
    .tab-pane .text-center {
        padding: 2rem 1rem;
    }
    
    .tab-pane .text-center i {
        font-size: 2rem !important;
    }
    
    .tab-pane .text-center p {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .modern-tab-container {
        padding: 0.75rem;
        border-radius: 10px;
        margin: 0 -0.5rem;
    }
    
    .tab-main-title {
        font-size: 1.125rem;
    }
    
    .modern-tabs {
        padding: 0.2rem;
        margin-bottom: 1rem;
    }
    
    .modern-tabs .nav-link {
        padding: 0.5rem 0.75rem;
        font-size: 0.8rem;
        min-width: 70px;
    }
    
    .modern-tabs .nav-link i {
        font-size: 0.8rem;
    }
    
    .tab-pane .text-center {
        padding: 1.5rem 0.5rem;
    }
}

/* Tab Animation Effects */
@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.7;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Tab Hover Effects */
.modern-tabs .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #fed700 0%, #ffc107 100%);
    transform: translateX(-50%);
    transition: width 0.3s ease;
    border-radius: 1px;
}

.modern-tabs .nav-link:hover::after {
    width: 80%;
}

.modern-tabs .nav-link.active::after {
    width: 0;
}

/* Gradient Background for Active States */
.modern-tabs .nav-link.active {
    background: linear-gradient(135deg, #fed700 0%, #ffc107 50%, #ff9800 100%);
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite;
    color: white;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Modern Badge Style for Tab Counters (Future Use) */
.tab-badge {
    background: linear-gradient(135deg, #ff4757 0%, #ff3742 100%);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.2rem 0.5rem;
    border-radius: 12px;
    margin-left: 0.5rem;
    min-width: 20px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(255, 71, 87, 0.3);
}

/* Product Detail Tab Content Styles */
/* Description Tab */
.product-description-content {
    padding: 2rem 0;
}

.description-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #2c3e50;
    margin-bottom: 2rem;
}

.description-text h1, .description-text h2, .description-text h3 {
    color: #2c3e50;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.description-text p {
    margin-bottom: 1.5rem;
}

.product-features {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid #dee2e6;
}

.features-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.feature-item {
    background: white;
    padding: 1rem;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    display: flex;
    align-items: center;
    font-weight: 500;
    transition: all 0.3s ease;
}

.feature-item:hover {
    border-color: #fed700;
    box-shadow: 0 4px 12px rgba(254, 215, 0, 0.2);
    transform: translateY(-2px);
}

/* Specifications Tab */
.specifications-content {
    padding: 2rem 0;
}

.spec-group {
    background: #f8f9fa;
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid #e9ecef;
    height: 100%;
}

.spec-group-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #fed700;
}

.spec-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: white;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.spec-item:hover {
    border-color: #fed700;
    box-shadow: 0 2px 8px rgba(254, 215, 0, 0.15);
}

.spec-label {
    font-weight: 600;
    color: #6c757d;
    flex: 1;
}

.spec-value {
    font-weight: 600;
    color: #2c3e50;
    text-align: right;
    flex: 1;
}

/* Reviews Tab */
.reviews-content {
    padding: 2rem 0;
}

.review-summary {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid #dee2e6;
}

.rating-overview {
    padding: 1rem;
}

.rating-score {
    font-size: 3rem;
    font-weight: 700;
    color: #fed700;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.rating-stars {
    font-size: 1.25rem;
}

.rating-count {
    color: #6c757d;
    font-weight: 500;
}

.rating-breakdown {
    padding: 1rem;
}

.rating-bar {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.rating-label {
    min-width: 60px;
    font-size: 0.9rem;
    color: #6c757d;
}

.progress {
    flex: 1;
    height: 8px;
    background: #e9ecef;
    border-radius: 4px;
}

.rating-percent {
    min-width: 40px;
    text-align: right;
    font-size: 0.9rem;
    color: #6c757d;
    font-weight: 500;
}

/* Review Items */
.reviews-list {
    margin-top: 2rem;
}

.review-item {
    background: #f8f9fa;
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.review-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    border-color: #fed700;
}

.review-header {
    margin-bottom: 1rem;
}

.reviewer-info {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.reviewer-avatar {
    flex-shrink: 0;
}

.reviewer-details {
    flex: 1;
}

.reviewer-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.review-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.review-rating {
    font-size: 0.9rem;
}

.review-date {
    color: #6c757d;
    font-size: 0.9rem;
}

.review-content p {
    font-size: 1rem;
    line-height: 1.6;
    color: #2c3e50;
    margin: 0;
}

.review-actions {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #dee2e6;
}

/* Write Review Form */
.write-review {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid #dee2e6;
}

.rating-input {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 0.5rem;
}

.rating-input i {
    font-size: 1.5rem;
    color: #dee2e6;
    cursor: pointer;
    transition: all 0.3s ease;
}

.rating-input i:hover,
.rating-input i.active {
    color: #fed700;
    transform: scale(1.1);
}

/* Shipping Tab */
.shipping-content {
    padding: 2rem 0;
}

.shipping-info-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid #dee2e6;
    height: 100%;
    text-align: center;
    transition: all 0.3s ease;
}

.shipping-info-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border-color: #fed700;
}

.info-header {
    margin-bottom: 2rem;
}

.info-header h5 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0;
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: left;
}

.info-item {
    display: flex;
    align-items: center;
    padding: 0.75rem;
    background: white;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    font-weight: 500;
    color: #2c3e50;
    transition: all 0.3s ease;
}

.info-item:hover {
    border-color: #fed700;
    box-shadow: 0 2px 8px rgba(254, 215, 0, 0.15);
}

/* Responsive Design for Tab Content */
@media (max-width: 768px) {
    .product-description-content,
    .specifications-content,
    .reviews-content,
    .shipping-content {
        padding: 1rem 0;
    }
    
    .product-features,
    .spec-group,
    .review-summary,
    .review-item,
    .write-review,
    .shipping-info-card {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .rating-overview {
        margin-bottom: 1rem;
    }
    
    .rating-score {
        font-size: 2.5rem;
    }
    
    .reviewer-info {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .review-meta {
        justify-content: center;
    }
    
    .spec-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .spec-value {
        text-align: left;
    }
}

@media (max-width: 576px) {
    .product-features,
    .spec-group,
    .review-summary,
    .review-item,
    .write-review,
    .shipping-info-card {
        padding: 1rem;
        border-radius: 12px;
    }
    
    .rating-score {
        font-size: 2rem;
    }
    
    .features-title,
    .spec-group-title {
        font-size: 1rem;
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .reviewer-name {
        font-size: 1rem;
    }
    
         .rating-input i {
         font-size: 1.25rem;
     }
 }

/* Modern Product Detail Page Styles */

/* Modern Product Gallery */
.modern-product-gallery {
    background: white;
    border-radius: 20px;
    padding: 1rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid #e9ecef;
}

.main-image-container {
    margin-bottom: 1rem;
}

.main-image-wrapper {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: #f8f9fa;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-product-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.main-image-wrapper:hover .main-product-image {
    transform: scale(1.05);
}

.image-actions-overlay {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.main-image-wrapper:hover .image-actions-overlay {
    opacity: 1;
}

.image-action-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.9);
    color: #2c3e50;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.image-action-btn:hover {
    background: #fed700;
    transform: scale(1.1);
    color: #2c3e50;
}

.product-sale-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: linear-gradient(135deg, #ff4757 0%, #ff3742 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(255, 71, 87, 0.4);
    z-index: 2;
}

.stock-badge {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.stock-badge.in-stock {
    background: rgba(40, 167, 69, 0.9);
    color: white;
}

.stock-badge.out-of-stock {
    background: rgba(220, 53, 69, 0.9);
    color: white;
}

/* Thumbnail Gallery */
.thumbnail-gallery-container {
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
}

.thumbnail-item {
    padding: 0 0.25rem;
}

.thumbnail-wrapper {
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    cursor: pointer;
    aspect-ratio: 1 / 1;
    background: #f8f9fa;
}

.thumbnail-wrapper:hover,
.thumbnail-wrapper.slick-current {
    border-color: #fed700;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(254, 215, 0, 0.3);
}

.thumbnail-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Modern Product Info */
.modern-product-info {
    padding: 1.5rem 0;
}

.product-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.category-tag {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    color: #6c757d;
    padding: 0.375rem 0.75rem;
    border-radius: 15px;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.category-tag:hover {
    background: #fed700;
    color: #2c3e50;
    border-color: #fed700;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(254, 215, 0, 0.3);
}

.product-main-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #2c3e50;
    line-height: 1.3;
    margin-bottom: 1rem;
}

.product-rating-section {
    padding: 1rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    border: 1px solid #dee2e6;
}

.rating-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.rating-stars {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: #fed700;
    font-size: 1.1rem;
    justify-content: center;
}

.rating-score {
    margin-left: 0.5rem;
    font-weight: 700;
    color: #2c3e50;
    font-size: 1.1rem;
}

.reviews-link {
    color: #6c757d;
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.reviews-link:hover {
    color: #fed700;
}

.brand-info {
    background: white;
    border-radius: 12px;
    padding: 1rem;
    border: 1px solid #e9ecef;
}

.brand-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: space-between;
}

.brand-logo {
    max-height: 40px;
    width: auto;
}

.brand-badge {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    padding: 0.375rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.product-short-description {
    font-size: 1rem;
    line-height: 1.6;
    color: #6c757d;
    margin-bottom: 1.5rem;
}

.product-meta-info {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    padding: 1rem;
    border: 1px solid #dee2e6;
    margin-bottom: 1.5rem;
}

.meta-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid #e9ecef;
}

.meta-item:last-child {
    border-bottom: none;
}

.meta-label {
    color: #6c757d;
    font-weight: 500;
    display: flex;
    align-items: center;
}

.meta-value {
    color: #2c3e50;
    font-weight: 600;
}

.product-social-share {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.share-label {
    color: #6c757d;
    font-weight: 500;
    display: flex;
    align-items: center;
}

.social-buttons {
    display: flex;
    gap: 0.5rem;
}

.social-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.social-btn.facebook {
    background: #1877f2;
}

.social-btn.twitter {
    background: #1da1f2;
}

.social-btn.whatsapp {
    background: #25d366;
}

.social-btn.copy-link {
    background: #6c757d;
}

.social-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* Modern Purchase Widget */
.modern-purchase-widget {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    border: 1px solid #e9ecef;
    position: sticky;
    top: 2rem;
}

.widget-header {
    margin-bottom: 2rem;
}

.stock-status-widget {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    border: 1px solid #dee2e6;
}

.stock-status-widget.in-stock {
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.1) 0%, rgba(32, 201, 151, 0.1) 100%);
    border-color: rgba(40, 167, 69, 0.3);
    color: #28a745;
}

.stock-status-widget.out-of-stock {
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.1) 0%, rgba(255, 71, 87, 0.1) 100%);
    border-color: rgba(220, 53, 69, 0.3);
    color: #dc3545;
}

.stock-text {
    font-weight: 600;
    display: flex;
    align-items: center;
}

.stock-level-bar {
    height: 4px;
    background: #e9ecef;
    border-radius: 2px;
    margin-top: 0.5rem;
    overflow: hidden;
}

.stock-level-fill {
    height: 100%;
    background: linear-gradient(90deg, #28a745 0%, #20c997 100%);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.price-section-widget {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid #dee2e6;
    text-align: center;
}

.current-price {
    font-size: 2rem;
    font-weight: 700;
    color: #28a745;
    line-height: 1;
}

.price-comparison {
    margin-top: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.old-price {
    color: #6c757d;
    text-decoration: line-through;
    font-size: 1.1rem;
}

.save-amount {
    color: #28a745;
    font-weight: 600;
    font-size: 0.9rem;
    background: rgba(40, 167, 69, 0.1);
    padding: 0.25rem 0.5rem;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.request-price {
    color: #fed700;
    font-size: 1.25rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quantity-section-widget {
    margin-bottom: 2rem;
}

.quantity-label {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.modern-quantity-selector {
    display: flex;
    align-items: center;
    background: #f8f9fa;
    border-radius: 12px;
    border: 2px solid #e9ecef;
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.modern-quantity-selector:focus-within {
    border-color: #fed700;
    box-shadow: 0 0 0 0.2rem rgba(254, 215, 0, 0.25);
}

.quantity-btn {
    background: transparent;
    border: none;
    padding: 1rem;
    color: #6c757d;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quantity-btn:hover {
    background: #fed700;
    color: #2c3e50;
}

.quantity-input {
    border: none;
    background: transparent;
    text-align: center;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 1rem;
    flex: 1;
    color: #2c3e50;
}

.quantity-input:focus {
    outline: none;
}

/* Disabled Quantity Selector */
.modern-quantity-selector.disabled {
    opacity: 0.5;
    pointer-events: none;
    background: #f1f3f4;
    border-color: #dee2e6;
}

.modern-quantity-selector.disabled .quantity-btn {
    cursor: not-allowed;
    color: #6c757d;
}

.modern-quantity-selector.disabled .quantity-input {
    cursor: not-allowed;
    color: #6c757d;
}

.action-buttons-section {
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.primary-action-btn {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    border: none;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.primary-action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.4);
}

.primary-action-btn.loading {
    pointer-events: none;
}

.primary-action-btn.loading .btn-text {
    opacity: 0;
}

.primary-action-btn.loading .btn-loading {
    opacity: 1;
}

.btn-loading {
    position: absolute;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.secondary-action-btn {
    background: transparent;
    color: #2c3e50;
    border: 2px solid #e9ecef;
    padding: 0.875rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.secondary-action-btn:hover {
    border-color: #fed700;
    background: #fed700;
    color: #2c3e50;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(254, 215, 0, 0.3);
}

/* Disabled Button States */
.primary-action-btn.disabled,
.primary-action-btn:disabled {
    background: #6c757d !important;
    color: #ffffff !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
    opacity: 0.7 !important;
    transform: none !important;
    box-shadow: none !important;
}

.secondary-action-btn.disabled,
.secondary-action-btn:disabled {
    background: #f8f9fa !important;
    color: #6c757d !important;
    border-color: #dee2e6 !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
    opacity: 0.7 !important;
    transform: none !important;
    box-shadow: none !important;
}

.primary-action-btn.disabled:hover,
.primary-action-btn:disabled:hover,
.secondary-action-btn.disabled:hover,
.secondary-action-btn:disabled:hover {
    transform: none !important;
    box-shadow: none !important;
}

.secondary-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
}

.secondary-action-link {
    background: transparent;
    border: none;
    color: #6c757d;
    font-size: 0.9rem;
    cursor: pointer;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    flex: 1;
    justify-content: center;
    padding: 0.5rem;
}

.secondary-action-link:hover {
    color: #fed700;
}

.wishlist-btn:hover i {
    color: #dc3545;
}

.trust-badges {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
}

.trust-item {
    text-align: center;
    padding: 0.75rem 0.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 500;
    color: #6c757d;
}

.trust-item i {
    display: block;
    margin-bottom: 0.25rem;
    font-size: 1.1rem;
}

/* Responsive Design */
@media (max-width: 991px) {
    .modern-purchase-widget {
        position: static;
        margin-top: 2rem;
    }
    
    .product-main-title {
        font-size: 1.5rem;
    }
    
    .current-price {
        font-size: 1.75rem;
    }
}

@media (max-width: 768px) {
    .modern-product-gallery,
    .modern-purchase-widget {
        padding: 1rem;
        border-radius: 16px;
    }
    
    .product-main-title {
        font-size: 1.25rem;
    }
    
    .rating-container {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .product-social-share {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .trust-badges {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .secondary-actions {
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media (max-width: 576px) {
    .modern-product-gallery,
    .modern-purchase-widget {
        padding: 0.75rem;
        border-radius: 12px;
    }
    
    .widget-header {
        margin-bottom: 1.5rem;
    }
    
    .current-price {
        font-size: 1.5rem;
    }
    
    .action-buttons-section {
        gap: 0.5rem;
    }
    
    .primary-action-btn,
    .secondary-action-btn {
        padding: 0.875rem 1rem;
        font-size: 1rem;
    }
}

/* Modern Footer Styles */
.modern-footer {
    margin-top: 80px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

/* Newsletter Section */
.newsletter-section {
    background: linear-gradient(135deg, #fed700 0%, #ffc107 50%, #fd7e14 100%);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.newsletter-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="80" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="40" cy="60" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.newsletter-container {
    position: relative;
    z-index: 2;
}

.newsletter-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.newsletter-info {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
}

.newsletter-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.newsletter-icon i {
    font-size: 32px;
    color: white;
}

.newsletter-title {
    color: white;
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 8px 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.newsletter-subtitle {
    color: rgba(255, 255, 255, 0.95);
    font-size: 16px;
    margin: 0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.newsletter-form {
    flex: 0 0 400px;
}

.newsletter-input-group {
    display: flex;
    background: white;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.input-wrapper {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 20px;
    color: #6c757d;
    z-index: 2;
}

.newsletter-input {
    width: 100%;
    padding: 18px 20px 18px 50px;
    border: none;
    background: transparent;
    font-size: 16px;
    outline: none;
    color: #333;
}

.newsletter-input::placeholder {
    color: #999;
}

.newsletter-btn {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    border: none;
    padding: 18px 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.newsletter-btn:hover {
    background: linear-gradient(135deg, #218838 0%, #1ea085 100%);
    transform: translateX(-2px);
}

.newsletter-btn .btn-icon {
    transition: transform 0.3s ease;
}

.newsletter-btn:hover .btn-icon {
    transform: translateX(4px);
}

/* Footer Main */
.footer-main {
    padding: 80px 0 60px;
    background: white;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1.2fr;
    gap: 60px;
    max-width: 1400px;
    margin: 0 auto;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

/* Company Info */
.company-info {
    max-width: 400px;
}

.company-logo {
    margin-bottom: 24px;
}

.footer-logo {
    max-height: 60px;
    width: auto;
    filter: brightness(0.8);
    transition: filter 0.3s ease;
}

.footer-logo:hover {
    filter: brightness(1);
}

.company-description {
    color: #6c757d;
    line-height: 1.6;
    font-size: 15px;
    margin-bottom: 32px;
}

/* Contact Info */
.contact-info {
    margin-bottom: 32px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
}

.contact-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #fed700 0%, #ffc107 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    color: white;
    font-size: 16px;
}

.contact-details {
    flex: 1;
}

.contact-label {
    display: block;
    font-size: 12px;
    color: #999;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.contact-value {
    color: #333;
    font-weight: 500;
    text-decoration: none;
    font-size: 15px;
}

.contact-value:hover {
    color: #fed700;
    text-decoration: none;
}

/* Social Media */
.social-media {
    margin-top: 20px;
}

.social-title {
    color: #333;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 18px;
}

.social-link.facebook {
    background: #1877f2;
    color: white;
}

.social-link.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
}

.social-link.twitter {
    background: #1da1f2;
    color: white;
}

.social-link.youtube {
    background: #ff0000;
    color: white;
}

.social-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Footer Titles */
.footer-title {
    color: #333;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 12px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #fed700 0%, #ffc107 100%);
    border-radius: 2px;
}

/* Footer Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #6c757d;
    text-decoration: none;
    font-size: 15px;
    transition: all 0.3s ease;
    display: block;
    padding: 4px 0;
    position: relative;
}

.footer-links a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 0;
    height: 2px;
    background: #fed700;
    transition: width 0.3s ease;
    transform: translateY(-50%);
}

.footer-links a:hover {
    color: #333;
    padding-left: 16px;
    text-decoration: none;
}

.footer-links a:hover::before {
    width: 12px;
}

/* Trust Badges */
.trust-badges {
    margin-bottom: 32px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(241, 243, 244, 0.6);
    transition: all 0.3s ease;
    border-radius: 6px;
}

.trust-badge:last-child {
    border-bottom: none;
}

.trust-badge:hover {
    background-color: rgba(254, 215, 0, 0.05);
    padding-left: 8px;
    border-bottom-color: transparent;
}

.trust-badge i {
    width: 24px;
    color: #fed700;
    font-size: 16px;
    min-width: 24px;
    text-align: center;
    transition: color 0.3s ease;
}

.trust-badge:hover i {
    color: #e6c200;
}

.trust-badge span {
    color: #6c757d;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.trust-badge:hover span {
    color: #495057;
}

/* Footer Bottom */
.footer-bottom {
    background: #333;
    padding: 24px 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.copyright p {
    color: #adb5bd;
    margin: 0;
    font-size: 14px;
}

.copyright strong {
    color: #fed700;
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a {
    color: #adb5bd;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: #fed700;
    text-decoration: none;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
        gap: 40px;
    }
    
    .trust-badges {
        gap: 6px;
    }
    
    .trust-badge {
        padding: 8px 0;
    }
    
    .trust-badge span {
        font-size: 13px;
    }
    
    .payment-methods {
        display: none;
    }
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    .company-info {
        grid-column: 1 / -1;
        max-width: none;
        margin-bottom: 20px;
    }
    
    .newsletter-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    
    .newsletter-form {
        flex: none;
        width: 100%;
        max-width: 400px;
    }
    
    .newsletter-info {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .newsletter-section {
        padding: 40px 0;
    }
    
    .newsletter-title {
        font-size: 24px;
    }
    
    .newsletter-subtitle {
        font-size: 14px;
    }
    
    .newsletter-icon {
        width: 60px;
        height: 60px;
    }
    
    .newsletter-icon i {
        font-size: 24px;
    }
    
    .footer-main {
        padding: 60px 0 40px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .trust-badges {
        margin-bottom: 24px;
        gap: 4px;
    }
    
    .trust-badge {
        padding: 10px 0;
        gap: 10px;
    }
    
    .trust-badge i {
        width: 20px;
        font-size: 14px;
        min-width: 20px;
    }
    
    .trust-badge span {
        font-size: 13px;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .footer-bottom-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
    }
}

/* Bootstrap Modal NUCLEAR Fix for Kiblegah Theme */
.modal {
    z-index: 999999 !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transform: none !important;
    overflow: auto !important;
}

.modal-backdrop {
    z-index: 999998 !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
}

.modal.fade {
    z-index: 999999 !important;
    opacity: 1 !important;
}

.modal.fade.show {
    z-index: 999999 !important;
    opacity: 1 !important;
    display: flex !important;
}

.modal-open .modal {
    z-index: 999999 !important;
    display: flex !important;
}

/* Force modal to be on top of all theme elements */
.modal.show {
    z-index: 999999 !important;
    display: flex !important;
}

.modal-dialog {
    z-index: 1000000 !important;
    position: relative !important;
    margin: auto !important;
    transform: none !important;
}

.modal-content {
    z-index: 1000001 !important;
    position: relative !important;
    transform: none !important;
}

/* Specific review modal NUCLEAR override */
#reportModal {
    z-index: 999999 !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

#reportModal.show {
    z-index: 999999 !important;
    display: flex !important;
    opacity: 1 !important;
}

#reportModal .modal-dialog {
    z-index: 1000000 !important;
    position: relative !important;
    margin: auto !important;
    transform: none !important;
}

#reportModal .modal-content {
    z-index: 1000001 !important;
    position: relative !important;
    transform: none !important;
}

/* Body modal açık durumu */
body.modal-open {
    overflow: hidden !important;
}

body.modal-open .modal {
    z-index: 999999 !important;
    display: flex !important;
}

/* Remove any conflicting transform or position contexts */
* {
    isolation: auto !important;
}

.modal, .modal * {
    isolation: auto !important;
    transform-style: flat !important;
}

@media (max-width: 576px) {
    .newsletter-input-group {
        flex-direction: column;
        border-radius: 16px;
    }
    
    .newsletter-input {
        padding: 16px 20px;
        text-align: center;
    }
    
    .input-icon {
        display: none;
    }
    
    .newsletter-btn {
        border-radius: 0 0 13px 13px;
        justify-content: center;
    }
    
    .contact-info {
        margin-bottom: 24px;
    }
    
    .contact-item {
        gap: 12px;
        margin-bottom: 16px;
    }
    
    .contact-icon {
        width: 36px;
        height: 36px;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .trust-badges {
        margin-bottom: 20px;
        gap: 2px;
    }
    
    .trust-badge {
        padding: 8px 0;
        gap: 8px;
    }
    
    .trust-badge i {
        width: 18px;
        font-size: 13px;
        min-width: 18px;
    }
    
    .trust-badge span {
        font-size: 12px;
    }
}

/* Thumbnail Navigation Buttons - Bootstrap Grid Compatible */
.thumbnail-gallery-container .row {
    margin: 0;
}

.thumbnail-nav-btn {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 100 !important;
}

.thumbnail-nav-btn:hover {
    background: #fed700;
    color: #333;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(254, 215, 0, 0.3);
}

.thumbnail-nav-btn:active {
    transform: scale(0.95);
}

.thumbnail-nav-btn:focus {
    outline: none;
    background: #fed700;
    color: #333;
}

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

.thumbnail-nav-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

/* Thumbnail slider container - Bootstrap responsive */
.thumbnail-slider {
    width: 100%;
    touch-action: pan-y;
}

/* Better touch interaction on mobile */
.thumbnail-slider .slick-slide {
    outline: none;
    touch-action: manipulation;
}

.thumbnail-slider .slick-slide img {
    pointer-events: auto;
    cursor: pointer;
}

/* Hide arrows on mobile, show on desktop */
@media (max-width: 767.98px) {
    .thumbnail-nav-btn {
        display: none !important;
    }
    
    .thumbnail-gallery-container .col-auto {
        display: none !important;
    }
    
    .thumbnail-gallery-container .col {
        flex: 1 1 100%;
    }
}

/* Desktop and tablet styles */
@media (min-width: 768px) {
    .thumbnail-nav-btn {
        width: 35px;
        height: 35px;
    }
    
    .thumbnail-nav-btn i {
        font-size: 14px;
    }
}

@media (min-width: 992px) {
    .thumbnail-nav-btn {
        width: 40px;
        height: 40px;
    }
    
    .thumbnail-nav-btn i {
        font-size: 16px;
    }
}