/**
 * Styles de correction pour les modals et footer professionnel
 * Ces styles sont conçus pour s'assurer que les modals fonctionnent correctement
 * et ont une priorité plus élevée grâce aux règles !important
 */

/* ===== MODAL STYLES ===== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.modal-content {
    background: white;
    border-radius: 12px;
    max-width: 90vw;
    max-height: 90vh;
    overflow: hidden;
    transform: scale(0.9);
    transition: transform 0.3s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal.show .modal-content {
    transform: scale(1);
}

.modal-content.large {
    max-width: 1200px;
    width: 95vw;
}

.modal-header {
    padding: 20px 30px;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8f9fa;
}

.modal-header h2 {
    margin: 0;
    color: #333;
    font-size: 24px;
}

.modal-close {
    background: none;
    border: none;
    font-size: 24px;
    color: #666;
    padding: 5px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: #e9ecef;
    color: #333;
}

.modal-body {
    padding: 30px;
    overflow-y: auto;
    max-height: calc(90vh - 140px);
}

/* ===== PRODUCT GRID ===== */
.product-categories {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.category-btn {
    padding: 10px 20px;
    border: 2px solid #e9ecef;
    background: white;
    color: #666;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.category-btn:hover,
.category-btn.active {
    border-color: #1e3c72;
    background: #1e3c72;
    color: white;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.product-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.product-info {
    padding: 20px;
}

.product-info h3 {
    margin: 0 0 10px 0;
    color: #333;
    font-size: 18px;
    font-weight: 600;
}

.product-description {
    color: #666;
    font-size: 14px;
    margin: 0 0 15px 0;
    line-height: 1.5;
}

.product-price {
    display: flex;
    align-items: baseline;
    gap: 5px;
    margin-bottom: 15px;
}

.price {
    font-size: 24px;
    font-weight: 700;
    color: #1e3c72;
}

.price-unit {
    color: #666;
    font-size: 14px;
}

.product-btn {
    width: 100%;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.product-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

/* ===== PRODUCT DETAILS ===== */
.product-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.product-gallery {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.main-image {
    border-radius: 12px;
    overflow: hidden;
    height: 400px;
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumbnail-gallery {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 5px 0;
}

.thumbnail {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.thumbnail.active {
    border-color: #1e3c72;
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-info-details {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-category {
    background: #e9ecef;
    color: #666;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 8px;
}

.stars {
    color: #ffc107;
}

.product-price-section {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
}

.current-price {
    font-size: 32px;
    font-weight: 700;
    color: #1e3c72;
    margin-bottom: 10px;
}

.price-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.price-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}

.discount-price {
    font-weight: 600;
    color: #28a745;
}

.original-price {
    text-decoration: line-through;
    color: #666;
    margin-left: 8px;
}

.product-description-full h4 {
    margin: 0 0 15px 0;
    color: #333;
}

.product-description-full p {
    color: #666;
    line-height: 1.6;
    margin: 0 0 15px 0;
}

.product-description-full ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.product-description-full ul li {
    padding: 5px 0;
    color: #666;
    position: relative;
    padding-left: 20px;
}

.product-description-full ul li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: bold;
}

.product-options {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.option-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.option-group select {
    width: 100%;
    padding: 10px 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 14px;
    background: white;
}

.option-group select:focus {
    outline: none;
    border-color: #1e3c72;
}

.accessories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
}

.accessory-option {
    cursor: pointer;
}

.accessory-option input {
    display: none;
}

.accessory-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 15px;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    transition: all 0.3s ease;
    text-align: center;
}

.accessory-option:hover .accessory-item,
.accessory-option input:checked+.accessory-item {
    border-color: #1e3c72;
    background: #f8f9fa;
}

.accessory-item img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 8px;
}

.accessory-item span {
    font-size: 12px;
    font-weight: 500;
    color: #333;
}

.booking-section {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 12px;
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.quantity-input {
    display: flex;
    align-items: center;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    overflow: hidden;
}

.qty-btn {
    background: #f8f9fa;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    font-weight: 600;
    color: #333;
    transition: background 0.3s ease;
}

.qty-btn:hover {
    background: #e9ecef;
}

.quantity-input input {
    border: none;
    padding: 10px 15px;
    text-align: center;
    width: 80px;
    background: white;
}

.date-selection {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 20px;
}

.date-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #333;
}

.date-group input {
    width: 100%;
    padding: 10px 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 14px;
}

.date-group input:focus {
    outline: none;
    border-color: #1e3c72;
}

.total-section {
    margin-bottom: 20px;
}

.total-breakdown {
    background: white;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.total-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #f8f9fa;
}

.total-line.total {
    border-bottom: none;
    font-size: 18px;
    font-weight: 600;
    color: #1e3c72;
    border-top: 2px solid #e9ecef;
    padding-top: 15px;
    margin-top: 10px;
}

.action-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.btn-secondary,
.btn-primary {
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-secondary {
    background: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background: #5a6268;
    transform: translateY(-2px);
}

.btn-primary {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

/* ===== CALENDAR AVAILABILITY ===== */
.availability-container {
    max-width: 800px;
    margin: 0 auto;
}

.calendar-legend {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.legend-color {
    width: 20px;
    height: 20px;
    border-radius: 4px;
}

.legend-color.available {
    background: #28a745;
}

.legend-color.unavailable {
    background: #dc3545;
}

.legend-color.selected {
    background: #007bff;
}

#availability-calendar {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* ===== CART MODAL ===== */
.cart-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

.cart-items-list {
    max-height: 400px;
    overflow-y: auto;
}

.cart-item {
    display: flex;
    gap: 15px;
    padding: 20px;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    margin-bottom: 15px;
    background: #f8f9fa;
}

.cart-item-image {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    min-width: 80px;
    max-width: 80px;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    max-width: 80px;
    max-height: 80px;
    object-fit: cover;
    display: block;
}

/* Styles globaux pour toutes les images du panier */
#cart-items img,
#pro-cart-modal-items img,
.cart-item img,
.cart-items .cart-item img {
    max-width: 80px !important;
    max-height: 80px !important;
    width: 80px !important;
    height: 80px !important;
    object-fit: cover !important;
    border-radius: 6px !important;
    flex-shrink: 0 !important;
}

.cart-item-details {
    flex: 1;
}

.cart-item-title {
    font-weight: 600;
    color: #333;
    margin: 0 0 5px 0;
}

.cart-item-meta {
    color: #666;
    font-size: 14px;
    margin: 0 0 10px 0;
}

.cart-item-price {
    font-weight: 600;
    color: #1e3c72;
    font-size: 16px;
}

.cart-item-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-end;
}

.cart-item-remove {
    background: #dc3545;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
}

.cart-summary {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 12px;
    height: fit-content;
}

.summary-section {
    margin-bottom: 30px;
}

.summary-section h3 {
    margin: 0 0 20px 0;
    color: #333;
}

.summary-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #e9ecef;
}

.summary-line.total {
    border-bottom: none;
    font-size: 18px;
    font-weight: 600;
    color: #1e3c72;
    border-top: 2px solid #333;
    padding-top: 15px;
    margin-top: 10px;
}

.customer-form {
    margin-bottom: 30px;
}

.customer-form h3 {
    margin: 0 0 20px 0;
    color: #333;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 14px;
    background: white;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1e3c72;
}

.size-selection {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.size-selection label {
    display: flex !important;
    align-items: center;
    gap: 5px;
    margin-bottom: 0 !important;
    font-weight: normal !important;
    cursor: pointer;
}

.checkout-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

/* ===== FOOTER PROFESSIONNEL ===== */
.main-footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: white;
    margin-top: 60px;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 20px 0;
}

.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h4,
.footer-column h5 {
    color: #fff;
    margin: 0 0 20px 0;
    font-size: 18px;
    font-weight: 600;
}

.footer-brand {
    max-width: 400px;
}

.footer-logo {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 20px;
}

.footer-logo img {
    width: 80px;
    height: auto;
}

.footer-brand-info h3 {
    margin: 0 0 5px 0;
    color: #fff;
    font-size: 24px;
}

.footer-tagline {
    color: #20c997;
    font-weight: 600;
    margin: 0 0 15px 0;
}

.footer-description {
    color: #adb5bd;
    line-height: 1.6;
    margin: 0;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #adb5bd;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #20c997;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-item {
    display: flex;
    gap: 15px;
    flex-direction: row;
}

.contact-item i {
    color: #20c997;
    font-size: 18px;
    margin-top: 2px;
    min-width: 20px;
}

.contact-item strong {
    color: #fff;
    display: block;
    margin-bottom: 5px;
}

.contact-item p {
    margin: 0;
    color: #adb5bd;
    line-height: 1.6;
}

.contact-item a {
    color: #20c997;
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}

.footer-plan {
    margin-top: 30px;
}

.plan-preview {
    display: flex;
    align-items: center;
    gap: 15px;
}

.plan-preview img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid #20c997;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #20c997;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.download-btn:hover {
    color: #fff;
}

.footer-social-newsletter {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 30px 0;
    border-top: 1px solid #343a40;
    border-bottom: 1px solid #343a40;
    margin-bottom: 30px;
}

.social-links {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-size: 14px;
}

.social-link:hover {
    background: #20c997;
    transform: translateY(-2px);
}

.social-link.facebook:hover {
    background: #3b5998;
}

.social-link.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-link.google:hover {
    background: #dd4b39;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.newsletter-input-group {
    display: flex;
    border-radius: 25px;
    overflow: hidden;
    border: 2px solid #343a40;
}

.newsletter-input-group input {
    flex: 1;
    padding: 12px 20px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 14px;
}

.newsletter-input-group input::placeholder {
    color: #adb5bd;
}

.newsletter-input-group button {
    background: #20c997;
    border: none;
    color: white;
    padding: 12px 20px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.newsletter-input-group button:hover {
    background: #1ea085;
}

.newsletter-consent {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #adb5bd;
    cursor: pointer;
}

.footer-badges {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.badge-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    text-align: center;
    transition: background 0.3s ease;
}

.badge-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

.badge-item i {
    font-size: 24px;
    color: #20c997;
}

.badge-item span {
    font-size: 12px;
    color: #adb5bd;
    font-weight: 500;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 0;
    border-top: 1px solid #343a40;
}

.footer-copyright p {
    margin: 0;
    color: #adb5bd;
    font-size: 14px;
}

.footer-credits {
    margin-top: 5px !important;
    font-size: 12px !important;
}

.footer-credits a {
    color: #20c997;
    text-decoration: none;
}

.footer-payment {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 14px;
    color: #adb5bd;
}

.payment-icons {
    display: flex;
    gap: 10px;
}

.payment-icons i {
    font-size: 24px;
    color: #adb5bd;
    transition: color 0.3s ease;
}

.payment-icons i:hover {
    color: #20c997;
}

/* ===== NOTIFICATIONS PANIER ===== */
.cart-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 20px;
    border-radius: 8px;
    color: #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    z-index: 10002;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: slideInRight 0.3s ease;
    max-width: 350px;
}

.cart-notification.notification-success {
    background: #28a745;
}

.cart-notification.notification-warning {
    background: #ffc107;
    color: #212529;
}

.cart-notification.notification-error {
    background: #dc3545;
}

.cart-notification.notification-info {
    background: #17a2b8;
}

.cart-notification .notification-close {
    background: none;
    border: none;
    color: inherit;
    cursor: pointer;
    font-size: 1.3rem;
    padding: 0;
    margin-left: auto;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.cart-notification .notification-close:hover {
    opacity: 1;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* ===== CART EMPTY STATE ===== */
.cart-empty {
    text-align: center;
    padding: 40px 20px;
}

.cart-empty i {
    font-size: 3rem;
    color: #ccc;
    margin-bottom: 15px;
    display: block;
}

.cart-empty p {
    color: #666;
    font-size: 1.1rem;
    margin: 0;
}

/* ===== RESERVATION FORM IN MODAL ===== */
.reservation-product {
    text-align: center;
    margin-bottom: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
}

.reservation-product h4 {
    margin: 0 0 5px 0;
    color: #1e3c72;
}

.reservation-product .product-type {
    color: #666;
    margin: 0;
}

.reservation-product .product-price {
    margin: 10px 0 0 0;
    font-size: 1.3rem;
    font-weight: 700;
    color: #28a745;
}

.reservation-form .form-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.reservation-form .form-actions .btn {
    flex: 1;
}

.reservation-form .form-actions .btn-cancel {
    flex: 0 0 auto;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .footer-social-newsletter {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .product-details {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-badges {
        grid-template-columns: repeat(2, 1fr);
    }

    .cart-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .footer-main {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-container {
        padding: 40px 15px 0;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }

    .modal-body {
        padding: 20px;
    }

    .action-buttons {
        grid-template-columns: 1fr;
    }

    .date-selection {
        grid-template-columns: 1fr;
    }

    .footer-badges {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .checkout-actions {
        grid-template-columns: 1fr;
    }

    /* Fix responsive cart images */
    .cart-item-image {
        width: 60px !important;
        height: 60px !important;
        min-width: 60px !important;
        max-width: 60px !important;
    }

    .cart-item-image img {
        width: 100% !important;
        height: 100% !important;
        max-width: 60px !important;
        max-height: 60px !important;
        object-fit: cover !important;
    }

    #cart-items img,
    #pro-cart-modal-items img,
    .cart-item img {
        max-width: 60px !important;
        max-height: 60px !important;
        width: 60px !important;
        height: 60px !important;
        object-fit: cover !important;
    }
}

@media (max-width: 480px) {
    .product-categories {
        flex-direction: column;
    }

    .category-btn {
        text-align: center;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .modal-content {
        margin: 10px;
        max-width: calc(100vw - 20px);
        max-height: calc(100vh - 20px);
    }

    .social-links {
        flex-direction: column;
    }

    /* Fix responsive cart images for mobile */
    .cart-item-image {
        width: 50px !important;
        height: 50px !important;
        min-width: 50px !important;
        max-width: 50px !important;
    }

    .cart-item-image img {
        width: 100% !important;
        height: 100% !important;
        max-width: 50px !important;
        max-height: 50px !important;
        object-fit: cover !important;
    }

    #cart-items img,
    #pro-cart-modal-items img,
    .cart-item img {
        max-width: 50px !important;
        max-height: 50px !important;
        width: 50px !important;
        height: 50px !important;
        object-fit: cover !important;
    }

    .cart-items {
        padding: 15px;
    }

    .cart-item {
        padding: 10px;
        margin-bottom: 10px;
    }
}