/* Single Product Page Layout */
/* Product Layout Container */
.product-layout {
    width: 100%;
}

.product-layout__container {
    display: flex;
    gap: 48px;
    margin-bottom: 64px;
}

/* Product Gallery */
.product-gallery {
    flex: 0 0 50%;
    max-width: 50%;
    position: relative;
}

.product-gallery__main {
    position: relative;
    width: 100%;
    padding-bottom: 100%; /* 1:1 aspect ratio */
    margin-bottom: 16px;
    border-radius: 8px;
    overflow: hidden;
}

.product-gallery__main-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-gallery__placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-gallery__thumbs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin: 0;
    padding: 0;
}

.product-gallery__thumb {
    position: relative;
    width: 100%;
    padding-bottom: 100%; /* 1:1 aspect ratio */
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.2s ease;
    pointer-events: auto;
    z-index: 1;
}

.product-gallery__thumb.active {
    border-color: #333;
}

.product-gallery__thumb-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8px;
    opacity: 0.6;
    transition: opacity 0.2s ease;
    pointer-events: auto;
    cursor: pointer;
}

.product-gallery__thumb.active .product-gallery__thumb-image,
.product-gallery__thumb:hover .product-gallery__thumb-image {
    opacity: 1;
}

/* Add JavaScript interaction styles */
.product-gallery__thumb {
    cursor: pointer;
}

.product-gallery__thumb:hover {
    border-color: #666;
}

/* Product Summary */
.product-summary {
    flex: 1;
    max-width: 50%;
    padding: 0;
}

.product-summary__title {
    font-size: 32px;
    margin-bottom: 16px;
    font-weight: 600;
}

.product-summary__price {
    font-size: 24px;
    display: flex;
    margin-bottom: 24px;
    color: #333;
}

.product-summary__description {
    margin-bottom: 32px;
    line-height: 1.6;
}

/* Quantity Selector */
.quantity-selector {
    margin-bottom: 24px;
}

.quantity-label {
    display: block;
    font-size: 0.95rem;
    color: #333;
    margin-bottom: 8px;
    font-weight: 500;
}

.quantity-selector__input-wrapper {
    max-width: 200px;
}

/* Quantity Dropdown Styling */
.quantity-selector__dropdown {
    width: 100%;
    max-width: 200px;
    padding: 12px 40px 12px 16px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    background-color: #fff;
    color: #333;
    transition: all 0.3s ease;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 12px;
}

.quantity-selector__dropdown:hover {
    border-color: #c1c7cd;
}

.quantity-selector__dropdown:focus {
    outline: none;
    border-color: #083612;
    box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.1);
}

/* Responsive adjustments for dropdown */
@media (max-width: 768px) {
    .quantity-selector__dropdown {
        max-width: 100%;
        font-size: 18px; /* Larger touch target on mobile - prevents zoom on iOS */
        padding: 14px 44px 14px 16px;
        min-height: 48px; /* Minimum touch target size for accessibility */
    }
}

@media (max-width: 480px) {
    .quantity-selector__dropdown {
        font-size: 16px;
        padding: 12px 40px 12px 16px;
        min-height: 44px;
    }
}

/* Improve dropdown appearance on different browsers */
.quantity-selector__dropdown::-ms-expand {
    display: none; /* Remove default arrow in IE/Edge */
}

/* Ensure dropdown works well on all devices */
.quantity-selector__dropdown option {
    padding: 8px;
    font-size: 16px;
}

/* Better focus state for keyboard navigation */
.quantity-selector__dropdown:focus-visible {
    outline: 2px solid #06290e;
    outline-offset: 2px;
}

/* Add to Cart Button */
.product-summary__add-to-cart {
    width: 100%;
    padding: 16px;
    background-color: var(--color-dark-green);
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 16px;
}


/* Stock Status */
.stock-status {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    padding: 16px;
    border-radius: 8px;
}

.stock-status.in-stock {
    background-color: rgba(40, 167, 69, 0.1);
    color: #28a745;
}

.stock-status.low-stock {
    background-color: rgba(255, 193, 7, 0.1);
    color: #ffc107;
}

.stock-status.out-of-stock {
    background-color: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

.stock-status__indicator {
    position: relative;
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    margin-top: 2px;
}

.stock-status__indicator::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: currentColor;
    animation: pulse 2s infinite;
}

.stock-status__text {
    display: flex;
    align-items: center;
    gap: 4px;
}

.stock-status__label {
    font-weight: 500;
    font-size: 16px;
}

.stock-status__quantity {
    font-size: 16px;
    opacity: 0.9;
}

/* Rental Interest Message */
.rental-interest {
    margin: 16px 0;
    padding: 12px 16px;
    background: var(--color-beige);
    border-radius: 4px;
    transition: opacity 0.3s ease;
}

.rental-interest:hover {
    opacity: 0.9;
}

.rental-interest__link {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--color-dark);
    text-decoration: none;
    font-size: 0.95rem;
}

.rental-interest__link i {
    font-size: 1.2rem;
}

/* Shipping and Product Information */
.shipping-info,
.product-info {
    margin-top: 24px;
}

.shipping-info__header,
.product-info__header {
    border: 1px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.shipping-info__header:hover,
.product-info__header:hover {
    background-color: #f8f9fa;
}

.shipping-info__header i,
.product-info__header i {
    transition: transform 0.3s ease;
}

.shipping-info__header.active i,
.product-info__header.active i {
    transform: rotate(180deg);
}

.shipping-info__content,
.product-info__content {
    padding: 16px;
    border: 1px solid #ddd;
    border-top: none;
    border-radius: 0 0 4px 4px;
    display: none;
    margin-top: -1px;
}

.shipping-info__content.active,
.product-info__content.active {
    display: block;
}

.product-info__content {
    line-height: 1.6;
}

.product-info__content p {
    margin-bottom: 16px;
}

.product-info__content p:last-child {
    margin-bottom: 0;
}

.product-info__content ul,
.product-info__content ol {
    margin: 0 0 16px 20px;
    padding: 0;
}

.product-info__content li {
    margin-bottom: 8px;
}

.product-info__content li:last-child {
    margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .product-layout__container {
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .product-layout__container {
        flex-direction: column;
        gap: 32px;
    }

    .product-gallery,
    .product-summary {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .product-gallery {
        margin-bottom: 32px;
    }

    .product-gallery__thumbs {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 480px) {
    .product-gallery__thumbs {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Reviews Section */
.product__reviews {
    margin-top: 64px;
    padding: 48px 0;
}

.product__section-title {
    font-size: 32px;
    text-align: center;
    margin-bottom: 32px;
    font-weight: 600;
}

.product__reviews-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 32px;
}

.product__review-card {
    padding: 24px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.product__review-card p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 16px;
    font-style: italic;
}

.product__review-card span {
    color: #555;
    font-weight: 500;
}

.product__reviews-cta {
    text-align: center;
}

.product__reviews-button {
    display: inline-block;
    padding: 12px 24px;
    color: white;
    text-decoration: none;
    border-radius: 4px;
}



/* FAQ Section */
.product__faq {
    padding: 48px 0;
}

.product__faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.product__faq-item {
    border-bottom: 1px solid #ddd;
}

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

.product__faq-question {
    padding: 24px 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product__faq-question h3 {
    font-size: 18px;
    font-weight: 500;
    margin: 0;
}

.product__faq-question i {
    transition: transform 0.3s ease;
}

.product__faq-item.active .product__faq-question i {
    transform: rotate(180deg);
}

.product__faq-answer {
    padding: 0 0 24px;
    display: none;
}

.product__faq-item.active .product__faq-answer {
    display: block;
}

.product__faq-answer p {
    margin: 0;
    line-height: 1.6;
    color: #555;
}

/* Container */
.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 16px;
}

/* Responsive Design for Sections */
@media (max-width: 1024px) {
    .product__similar-list {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .product__reviews-list {
        grid-template-columns: 1fr;
    }

    .product__similar-list {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 480px) {
    .product__similar-list {
        grid-template-columns: 1fr;
    }
}

/* Animation for Stock Status */
@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.7;
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
}

/* ============================================
   MODERN PRODUCT PAGE - COMPREHENSIVE STYLES
   ============================================ */

/* Product Page Container */
.product-page {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
}

/* ============================================
   HERO SECTION (Above the Fold)
   ============================================ */

.product-hero {
    margin: 48px 0 64px;
}

.product-hero__container {
    display: flex;
    gap: 48px;
    align-items: flex-start;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 16px;
}

/* Gallery */
.product-gallery {
    flex: 0 0 50%;
    max-width: 50%;
    position: relative;
}

/* ============================================
   PRODUCT SUMMARY (Right Column)
   ============================================ */

.product-summary {
    flex: 1;
    max-width: 50%;
    background-color: white;
    border-radius: 8px;
    padding: 1rem;
}

.product-summary__title {
    font-size: 36px;
    font-weight: 600;
    margin: 0 0 12px 0;
    line-height: 1.2;
    color: #1a1a1a;
}

.product-summary__description {
    font-size: 16px;
    color: #333; /* Darkened from #555 for better contrast (12:1 vs 7:1) */
    margin: 0 0 32px 0;
    line-height: 1.6;
}

/* Price Block */
.product-summary__price-block {
    margin-bottom: 24px;
}

.product-summary__price {
    font-size: 32px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 12px 0;
    display: flex;
    align-items: baseline;
    gap: 4px;
}

/* Promo price (sale price) - 50% smaller */
.product-summary__price ins {
    font-size: 16px !important;
}

.product-summary__price ins .woocommerce-Price-amount {
    font-size: 16px !important;
}

.price-amount {
    font-size: 32px;
}

.price-currency {
    font-size: 20px;
    font-weight: 400;
}

/* Price suffix (HT/TTC) - ensure proper contrast */
.product-summary__price small,
.woocommerce-price-suffix,
.product-summary__price .woocommerce-price-suffix {
    color: #333; /* Dark color for better contrast */
    font-size: 0.875em;
    font-weight: 400;
    opacity: 1; /* Ensure full opacity */
}

/* Rental Badge (Under Price) */
.product-summary__rental-badge {
    display: inline-block;
    background-color: rgba(40, 167, 69, 0.1);
    color: #18752e;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid rgba(40, 167, 69, 0.2);
}

.product-summary__rental-badge:hover {
    background-color: rgba(40, 167, 69, 0.15);
    border-color: rgba(40, 167, 69, 0.3);
}

/* Stock Status */
.product-summary__stock {
    margin-bottom: 32px;
}

.stock-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 6px;
    font-size: 0.9375rem;
    font-weight: 500;
}

.stock-badge--in-stock {
    background-color: rgba(40, 167, 69, 0.1);
    color: #18752e;
}

.stock-badge--low-stock {
    background-color: rgba(255, 193, 7, 0.1);
    color: #ffc107;
}

.stock-badge--out-of-stock {
    background-color: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

.stock-badge__indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: currentColor;
    animation: pulse 2s infinite;
}

.stock-badge__text {
    font-weight: 500;
}

/* Pre-order Message */
.product-summary__preorder {
    margin-bottom: 24px;
    padding: 12px 16px;
    background-color: rgba(255, 193, 7, 0.1);
    border-left: 3px solid #ffc107;
    border-radius: 4px;
}

.preorder-text {
    margin: 0;
    font-size: 0.9375rem;
    color: #856404;
    line-height: 1.5;
}

/* Pre-order Form */
.product-summary__preorder-form {
    margin-top: 24px;
    padding: 24px;
    background-color: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.preorder-form__content {
    max-width: 100%;
}

.preorder-form__title {
    margin: 0 0 20px 0;
    font-size: 1.125rem;
    font-weight: 600;
    color: #333;
}

.preorder-form__field {
    margin-bottom: 20px;
}

.preorder-form__label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9375rem;
    font-weight: 500;
    color: #333;
}

.preorder-form__input {
    width: 100%;
    padding: 12px 16px;
    font-size: 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #fff;
    transition: border-color 0.3s ease;
}

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

.preorder-form__input.invalid {
    border-color: #dc3545;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

.preorder-form__input.invalid:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.2);
}

.preorder-form__actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.preorder-form__submit,
.preorder-form__cancel {
    flex: 1;
    min-width: 120px;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.preorder-form__submit {
    background-color: #007bff;
    color: #fff;
    border: none;
}

.preorder-form__submit:hover:not(:disabled) {
    background-color: #0056b3;
}

.preorder-form__submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.preorder-form__cancel {
    background-color: #6c757d;
    color: #fff;
    border: none;
}

.preorder-form__cancel:hover {
    background-color: #5a6268;
}

.preorder-form__message {
    margin-top: 16px;
    padding: 12px 16px;
    border-radius: 4px;
    font-size: 0.9375rem;
    line-height: 1.5;
}

.preorder-form__message--success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.preorder-form__message--error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* ============================================
   LOGISTICS SECTION
   ============================================ */

.product-summary__logistics {
    margin-bottom: 32px;
    padding: 24px;
    background-color: #f8f9fa;
    border-radius: 8px;
}

.logistics-title {
    margin: 0 0 20px 0;
    font-size: 1rem;
    font-weight: 600;
    color: #333;
}

.logistics-options {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 20px;
}

.logistics-option {
    padding: 16px;
    background-color: white;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.logistics-option:hover {
    border-color: #adb5bd;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.logistics-option__header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.logistics-option__icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: #28a745;
    stroke-width: 2;
}

.logistics-option--pickup .logistics-option__icon {
    color: #007bff;
}

/* Palette delivery styling */
.logistics-option--palette {
    border-color: #ffc107;
    background-color: #fffbf0;
}

.logistics-option--palette:hover {
    border-color: #ffb300;
    box-shadow: 0 2px 8px rgba(255, 193, 7, 0.15);
}

.logistics-option--palette .logistics-option__icon {
    color: #ff9800;
}

.logistics-option--palette .logistics-option__badge {
    background-color: #ffc107;
    color: #856404;
    font-weight: 600;
}

/* Standard delivery styling */
.logistics-option--standard .logistics-option__icon {
    color: #28a745;
}

.logistics-option--standard .logistics-option__badge {
    background-color: #e9ecef;
    color: #495057;
}

.logistics-option__title {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #333;
}

.logistics-option__details {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.logistics-option__badge {
    display: inline-block;
    padding: 6px 12px;
    background-color: #e9ecef;
    color: #212529; /* Darkened from #495057 for better contrast (7.5:1 vs 4.5:1) */
    border-radius: 20px;
    font-size: 0.8125rem;
    font-weight: 500;
    width: fit-content;
}

.logistics-option__info {
    font-size: 0.875rem;
    color: #333; /* Darkened from #555 for better contrast (7:1 vs 4.5:1) */
    line-height: 1.4;
}

.logistics-note {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    padding: 8px 12px;
    background-color: #fff3cd;
    border-left: 3px solid #ffc107;
    border-radius: 4px;
    font-size: 0.8125rem;
    color: #856404;
}

.logistics-note__icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    stroke-width: 2;
    color: #ffc107;
}

.logistics-note__text {
    font-weight: 500;
}

/* Shipping Info */
.shipping-info {
    margin-bottom: 16px;
}

.shipping-info__line {
    margin: 0 0 8px 0;
    font-size: 0.9375rem;
    color: #333;
    line-height: 1.5;
}

.shipping-info__line:last-child {
    margin-bottom: 0;
}

/* Delivery Fees */
.delivery-fees {
    padding-top: 16px;
    border-top: 1px solid #dee2e6;
}

.delivery-fees__text {
    margin: 0 0 8px 0;
    font-size: 0.875rem;
    color: #333; /* Darkened from #555 for better contrast */
}

.delivery-fees__highlight {
    margin: 0;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #28a745;
}

/* ============================================
   QUANTITY SELECTOR
   ============================================ */

.product-summary__quantity {
    margin-bottom: 24px;
}

.quantity-label {
    display: block;
    font-size: 0.9375rem;
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
}

.quantity-selector {
    display: flex;
    align-items: center;
    max-width: 200px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    overflow: hidden;
    background-color: white;
}

.quantity-selector__btn {
    width: 48px;
    height: 48px;
    border: none;
    background-color: #f8f9fa;
    color: #333;
    font-size: 20px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quantity-selector__btn:hover {
    background-color: #e9ecef;
}

.quantity-selector__btn:active {
    background-color: #dee2e6;
}

.quantity-selector__input {
    flex: 1;
    height: 48px;
    border: none;
    text-align: center;
    font-size: 16px;
    font-weight: 500;
    color: #333;
    background-color: white;
    -moz-appearance: textfield;
    appearance: textfield;
}

.quantity-selector__input::-webkit-outer-spin-button,
.quantity-selector__input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

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

/* ============================================
   ACTION BUTTONS
   ============================================ */

.product-summary__actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.btn {
    padding: 16px 24px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
}

.btn--primary {
    background-color: #28a745;
    color: white;
}

.btn--primary:hover {
    background-color: #218838;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

.btn--primary:disabled {
    background-color: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn--secondary {
    background-color: white;
    color: #333;
    border: 2px solid #e1e5e9;
}

.btn--secondary:hover {
    border-color: #c1c7cd;
    background-color: #f8f9fa;
}

.btn--wishlist {
    position: relative;
}

.btn--secondary.btn--wishlist:hover,
.btn--wishlist:hover {
    background-color: #ff6b6b !important;
    border-color: #ff6b6b !important;
    color: white !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3);
}

.btn--secondary.btn--wishlist:hover svg,
.btn--wishlist:hover svg {
    fill: white !important;
    stroke: white !important;
}

.btn--wishlist svg {
    width: 20px;
    height: 20px;
    stroke-width: 2;
    transition: all 0.2s ease;
}

.btn--wishlist.added,
.btn--wishlist[aria-pressed="true"],
.mwl-btn.added,
.mwl-btn[aria-pressed="true"] {
    background-color: #ff6b6b !important;
    border-color: #ff6b6b !important;
    color: white !important;
}

.btn--wishlist.added svg,
.btn--wishlist[aria-pressed="true"] svg,
.mwl-btn.added svg,
.mwl-btn[aria-pressed="true"] svg {
    fill: white !important;
    stroke: white !important;
}

.btn--wishlist.added:hover,
.btn--wishlist[aria-pressed="true"]:hover,
.mwl-btn.added:hover,
.mwl-btn[aria-pressed="true"]:hover {
    background-color: #ff5252 !important;
    border-color: #ff5252 !important;
    color: white !important;
}

.btn--wishlist.loading {
    opacity: 0.6;
    cursor: wait;
    pointer-events: none;
}

.btn--add-to-cart.loading {
    opacity: 0.7;
    cursor: wait;
    pointer-events: none;
    position: relative;
}

.btn--add-to-cart.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Rental Link */
.product-summary__rental-link {
    margin-top: 16px;
}

.rental-link {
    color: #117d2a;
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.rental-link:hover {
    color: rgb(18, 102, 36);
    text-decoration: underline;
}

/* ============================================
   TECHNICAL SHEET SECTION
   ============================================ */

.product-technical {
    margin: 64px 0;
    padding: 48px 0;
    border-top: 1px solid #e1e5e9;
}

.product-technical__container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 16px;
}

.product-section-title {
    font-size: 32px;
    font-weight: 600;
    margin: 0 0 48px 0;
    color: #1a1a1a;
    text-align: center;
}

.product-technical__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

.product-technical__subtitle {
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 24px 0;
    color: #333;
}

.product-technical__specs {
    margin: 0;
    padding: 0;
}

.product-technical__specs dt {
    font-weight: 600;
    color: #333;
    margin-top: 16px;
    margin-bottom: 4px;
    font-size: 0.9375rem;
}

.product-technical__specs dt:first-child {
    margin-top: 0;
}

.product-technical__specs dd {
    margin: 0 0 0 0;
    color: #555;
    line-height: 1.6;
    font-size: 0.9375rem;
}

.product-technical__info {
    margin-bottom: 32px;
}

.product-technical__info:last-child {
    margin-bottom: 0;
}

.product-technical__info-title {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 8px 0;
    color: #333;
}

.product-technical__info p {
    margin: 0 0 12px 0;
    color: #555;
    line-height: 1.6;
    font-size: 0.9375rem;
}

.product-technical__info ul {
    margin: 0;
    padding-left: 20px;
    color: #555;
    line-height: 1.8;
    font-size: 0.9375rem;
}

.product-technical__info li {
    margin-bottom: 4px;
}

/* ============================================
   PRODUCT PHOTOS GALLERY
   ============================================ */

.product-photos {
    margin: 64px 0;
    padding: 48px 0;
    border-top: 1px solid #e1e5e9;
}

.product-photos__container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 16px;
}

.product-photos__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.product-photos__item {
    position: relative;
    width: 100%;
    padding-bottom: 75%; /* 4:3 aspect ratio */
    border-radius: 8px;
    overflow: hidden;
    background-color: #f8f9fa;
}

.product-photos__image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.product-photos__item:hover .product-photos__image {
    transform: scale(1.05);
}

.product-photos__zoom {
    position: absolute;
    bottom: 16px;
    right: 16px;
    padding: 8px 16px;
    background-color: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.2s ease;
    z-index: 2;
}

.product-photos__item:hover .product-photos__zoom {
    opacity: 1;
}

.product-photos__item {
    cursor: pointer;
}

/* Product Photos Modal/Lightbox */
.product-photos-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-photos-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.product-photos-modal__content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-photos-modal__image {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
}

.product-photos-modal__close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    transition: background-color 0.2s ease, transform 0.2s ease;
    z-index: 10001;
}

.product-photos-modal__close:hover {
    background-color: rgba(255, 255, 255, 1);
    transform: scale(1.1);
}

.product-photos-modal__close:focus {
    outline: 2px solid rgba(255, 255, 255, 0.8);
    outline-offset: 2px;
}

.product-photos-modal__prev,
.product-photos-modal__next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    transition: background-color 0.2s ease, transform 0.2s ease;
    z-index: 10001;
}

.product-photos-modal__prev:hover,
.product-photos-modal__next:hover {
    background-color: rgba(255, 255, 255, 1);
    transform: translateY(-50%) scale(1.1);
}

.product-photos-modal__prev {
    left: 20px;
}

.product-photos-modal__next {
    right: 20px;
}

.product-photos-modal__prev:focus,
.product-photos-modal__next:focus {
    outline: 2px solid rgba(255, 255, 255, 0.8);
    outline-offset: 2px;
}

.product-photos-modal__prev:disabled,
.product-photos-modal__next:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.product-photos-modal__prev:disabled:hover,
.product-photos-modal__next:disabled:hover {
    transform: translateY(-50%);
}

/* Hide navigation buttons on mobile */
@media (max-width: 768px) {
    .product-photos-modal__prev,
    .product-photos-modal__next {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .product-photos-modal__prev {
        left: 10px;
    }
    
    .product-photos-modal__next {
        right: 10px;
    }
    
    .product-photos-modal__close {
        top: 10px;
        right: 10px;
        width: 36px;
        height: 36px;
        font-size: 20px;
    }
}

/* ============================================
   CUSTOMER REVIEWS SECTION
   ============================================ */

.product-reviews {
    margin: 64px 0;
    padding: 48px 0;
    background-color: #f8f9fa;
    border-radius: 50px;
}

.product-reviews__container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 16px;
}

.product-reviews__rating {
    text-align: center;
    margin-bottom: 48px;
}

.rating-stars {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.rating-stars__value {
    font-size: 32px;
    font-weight: 600;
    color: #1a1a1a;
}

.rating-stars__display {
    display: flex;
    gap: 4px;
}

.star {
    font-size: 24px;
    color: #ddd;
}

.star--filled {
    color: #ffc107;
}

.rating-stars__count {
    font-size: 16px;
    color: #555;
}

.product-reviews__list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.product-review {
    padding: 24px;
    border-radius: 8px;
}

.product-review__header {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
}

.product-review__author-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.product-review__author {
    font-size: 0.9375rem;
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.product-review__author strong {
    font-weight: 600;
}

/* Verified Purchase Badge */
.product-review__verified {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    background-color: rgba(40, 167, 69, 0.1);
    color: #000000;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
    white-space: nowrap;
}

.product-review__verified svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    stroke-width: 2.5;
}

.product-review__date {
    font-size: 0.8125rem;
    color: #777;
}

.product-review__rating {
    display: flex;
    align-items: center;
}

/* WooCommerce Star Rating Styles */
.product-review__rating .star-rating,
.rating-stars__display .star-rating {
    display: inline-block;
    overflow: hidden;
    position: relative;
    height: 1.2em;
    line-height: 1.2;
    font-size: 1.2em;
    width: 5.4em;
    font-family: "WooCommerce", "star", sans-serif;
    color: #ffc107;
    vertical-align: middle;
}

.product-review__rating .star-rating::before,
.rating-stars__display .star-rating::before {
    content: "\73\73\73\73\73";
    float: left;
    top: 0;
    left: 0;
    position: absolute;
    color: #ddd;
}

.product-review__rating .star-rating span,
.rating-stars__display .star-rating span {
    overflow: hidden;
    float: left;
    top: 0;
    left: 0;
    position: absolute;
    padding-top: 1.5em;
    color: #ffc107;
}

.product-review__rating .star-rating span::before,
.rating-stars__display .star-rating span::before {
    content: "\53\53\53\53\53";
    top: 0;
    position: absolute;
    left: 0;
}

/* Ensure our custom star buttons are not affected by WooCommerce star-rating styles */
.rating-stars-input .star-btn,
.comment-form-rating .star-btn,
.stars-container .star-btn {
    font-family: inherit !important;
}

.rating-stars-input .star-btn::before,
.comment-form-rating .star-btn::before,
.stars-container .star-btn::before,
.rating-stars-input .star-btn::after,
.comment-form-rating .star-btn::after,
.stars-container .star-btn::after {
    content: none !important;
    display: none !important;
}

/* Fallback for custom stars if WooCommerce stars don't work */
.product-review__rating .star {
    font-size: 16px;
    color: #ddd;
}

.product-review__rating .star.star--filled {
    color: #ffc107;
}

.product-review__text {
    margin: 0;
    font-size: 0.9375rem;
    color: #555;
    line-height: 1.6;
    font-style: italic;
}

.product-reviews__trust {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 0.9375rem;
    font-weight: 500;
    color: #333;
}

/* Add Review Section */
.product-reviews__add-review {
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid #e1e5e9;
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.product-reviews__add-review-btn {
    margin-bottom: 24px;
}

.product-reviews__form-wrapper {
    margin-top: 24px;
    padding: 24px;
    border-radius: 8px;
    background-color: #f8f9fa;
    display: none;
}

.product-reviews__form-wrapper.is-visible {
    display: block;
}

.product-reviews__form-wrapper .comment-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.product-reviews__form-wrapper .comment-form p {
    margin: 0;
}

.product-reviews__form-wrapper label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.product-reviews__form-wrapper input[type="text"],
.product-reviews__form-wrapper input[type="email"],
.product-reviews__form-wrapper select,
.product-reviews__form-wrapper textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.2s ease;
}

.product-reviews__form-wrapper input[type="text"]:focus,
.product-reviews__form-wrapper input[type="email"]:focus,
.product-reviews__form-wrapper select:focus,
.product-reviews__form-wrapper textarea:focus {
    outline: none;
    border-color: #333;
}

.product-reviews__form-wrapper textarea {
    min-height: 120px;
    resize: vertical;
}

.product-reviews__form-wrapper .comment-form-rating {
    margin-bottom: 16px;
}

.product-reviews__form-wrapper .comment-form-rating select {
    max-width: 200px;
}

/* Hide WooCommerce default "out of" text in stars */
.product-reviews__form-wrapper .comment-form-rating p.stars,
.product-reviews__form-wrapper p.stars {
    display: none !important;
}

/* Interactive Rating Stars */
.rating-stars-input {
    margin-top: 12px;
}

.stars-container {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-bottom: 8px;
}

.star-btn {
    background: none;
    border: none;
    padding: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    font-family: inherit !important;
    font-size: inherit !important;
    line-height: inherit !important;
    width: auto !important;
    height: auto !important;
}

/* Prevent WooCommerce star-rating styles from affecting our SVG stars */
.star-btn::before,
.star-btn::after {
    content: none !important;
    display: none !important;
}

.star-btn span {
    display: none !important;
}

.star-btn:not(.active):not(.selected) {
    color: #ddd;
}

.star-btn:hover {
    transform: scale(1.15);
    color: #ffc107;
}

.star-btn.active {
    color: #ffc107;
}

.star-btn.selected {
    color: #ffc107;
}

/* When hovering, highlight all stars up to the hovered one */
.stars-container:hover .star-btn.active ~ .star-btn:not(.active) {
    color: #ddd;
}

/* When selected, highlight all stars up to the selected one */
.star-btn.selected ~ .star-btn:not(.selected) {
    color: #ddd;
}

.star-btn svg {
    width: 32px;
    height: 32px;
    transition: all 0.2s ease;
}

.star-btn:hover svg {
    filter: drop-shadow(0 2px 4px rgba(255, 193, 7, 0.3));
    transform: scale(1.1);
}

.star-btn.active svg,
.star-btn.selected svg {
    fill: #ffc107;
    filter: drop-shadow(0 2px 4px rgba(255, 193, 7, 0.5));
}

.star-btn:not(.active):not(.selected) svg {
    fill: transparent;
    stroke: currentColor;
}

.rating-text {
    display: block;
    margin-top: 8px;
    font-size: 0.9375rem;
    color: #555;
    font-weight: 500;
    min-height: 1.5em;
}

.rating-text::before {
    content: '';
}

.rating-text[data-rating="1"]::before {
    content: 'Très mauvais';
}

.rating-text[data-rating="2"]::before {
    content: 'Pas mal';
}

.rating-text[data-rating="3"]::before {
    content: 'Moyen';
}

.rating-text[data-rating="4"]::before {
    content: 'Bien';
}

.rating-text[data-rating="5"]::before {
    content: 'Parfait';
}

@media (max-width: 768px) {
    .star-btn svg {
        width: 28px;
        height: 28px;
    }
    
    .stars-container {
        gap: 6px;
    }
}

.product-reviews__form-wrapper .comment-notes {
    font-size: 0.875rem;
    color: #555;
    font-style: italic;
    margin-top: 8px;
}

.product-reviews__form-wrapper .form-submit {
    margin-top: 8px;
}

.product-reviews__form-wrapper .form-submit input[type="submit"] {
    padding: 12px 32px;
    background-color: #333;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.product-reviews__form-wrapper .form-submit input[type="submit"]:hover {
    background-color: #1a1a1a;
}

.trust-badge__icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    stroke-width: 2;
    color: #0f6222;
}

/* ============================================
   RELATED PRODUCTS SECTION
   ============================================ */

.product-related {
    margin: 64px 0;
    padding: 48px 0;
    border-top: 1px solid #e1e5e9;
}

.product-related__container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 16px;
}

.product-related__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.product-card {
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.2s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.product-card__link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.product-card__image {
    width: 100%;
    padding-bottom: 100%; /* 1:1 aspect ratio */
    position: relative;
    overflow: hidden;
    background-color: #f8f9fa;
}

.product-card__image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-card__title {
    padding: 16px;
    margin: 0;
    font-size: 16px;
    font-weight: 500;
    color: #333;
    line-height: 1.4;
}

.product-card__price {
    padding: 0 16px 16px;
    font-size: 18px;
    font-weight: 600;
    color: #000000;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1024px) {
    .product-hero__container {
        gap: 32px;
    }
    
    .product-technical__grid {
        gap: 32px;
    }
    
    .product-reviews__list {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .product-related__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .product-hero__container {
        flex-direction: column;
        gap: 32px;
        padding: 0;
    }
    
    .product-gallery,
    .product-summary {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .product-gallery__main {
        padding-bottom: 100%; /* 1:1 square aspect ratio on mobile for better product display */
        margin-bottom: 12px;
    }
    
    .product-gallery__main-image {
        object-fit: contain;
        background-color: #f8f9fa; /* Light background to avoid white spaces */
        padding: 8px;
    }
    
    .product-gallery__thumbs {
        grid-template-columns: repeat(4, 1fr);
        gap: 6px;
    }
    
    .product-gallery__thumb {
        padding-bottom: 100%; /* Keep square for thumbs */
    }
    
    .product-gallery__thumb-image {
        padding: 4px;
    }
    
    .product-summary {
        padding: 1rem;
    }
    
    .product-technical__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .product-photos__grid {
        grid-template-columns: 1fr;
    }
    
    .product-reviews__list {
        grid-template-columns: 1fr;
    }
    
    .product-related__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .product-section-title {
        font-size: 24px;
    }
    
    .product-summary__title {
        font-size: 28px;
    }
    
    .product-summary__price {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .product-page {
        padding: 0;
    }

    .product-gallery {
        width: 100%;
    }
    
    .product-hero {
        margin: 24px 0 32px;
    }
    
    .product-gallery__main {
        padding-bottom: 100%; /* Keep square on small mobile too */
        margin-bottom: 10px;
    }
    
    .product-gallery__main-image {
        padding: 4px;
    }
    
    .product-gallery__thumbs {
        gap: 4px;
    }
    
    .product-gallery__thumb-image {
        padding: 2px;
    }
    
    .product-technical,
    .product-photos,
    .product-reviews,
    .product-related {
        margin: 32px 0;
        padding: 32px 0;
    }
    
    .product-related__grid {
        grid-template-columns: 1fr;
    }
    
    .logistics-badges {
        flex-direction: column;
    }
    
    .product-reviews__trust {
        flex-direction: column;
        gap: 16px;
    }
}

/* ============================================
   ERROR POPUP
   ============================================ */

.error-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.error-popup--visible {
    opacity: 1;
    visibility: visible;
}

.error-popup--closing {
    opacity: 0;
    visibility: hidden;
}

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

.error-popup__content {
    position: relative;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow: hidden;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.error-popup--visible .error-popup__content {
    transform: scale(1) translateY(0);
}

.error-popup__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid #e9ecef;
    background-color: #fff;
}

.error-popup__title {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: #dc3545;
}

.error-popup__close {
    background: none;
    border: none;
    font-size: 28px;
    line-height: 1;
    color: #6c757d;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.error-popup__close:hover {
    background-color: #f8f9fa;
    color: #dc3545;
}

.error-popup__body {
    padding: 24px;
    overflow-y: auto;
    flex: 1;
}

.error-popup__list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.error-popup__list li {
    padding: 12px 0;
    color: #495057;
    font-size: 0.9375rem;
    line-height: 1.5;
    border-bottom: 1px solid #f1f3f5;
    position: relative;
    padding-left: 24px;
}

.error-popup__list li:last-child {
    border-bottom: none;
}

.error-popup__list li::before {
    content: '⚠';
    position: absolute;
    left: 0;
    top: 12px;
    font-size: 1.125rem;
    color: #dc3545;
}

.error-popup__footer {
    padding: 16px 24px;
    border-top: 1px solid #e9ecef;
    background-color: #f8f9fa;
    display: flex;
    justify-content: flex-end;
}

.error-popup__button {
    padding: 10px 24px;
    background-color: #dc3545;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 0.9375rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.error-popup__button:hover {
    background-color: #c82333;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(220, 53, 69, 0.3);
}

.error-popup__button:active {
    transform: translateY(0);
}

@media (max-width: 480px) {
    .error-popup__content {
        width: 95%;
        max-height: 85vh;
    }
    
    .error-popup__header {
        padding: 16px 20px;
    }
    
    .error-popup__title {
        font-size: 1.125rem;
    }
    
    .error-popup__body {
        padding: 20px;
    }
    
    .error-popup__footer {
        padding: 12px 20px;
    }
    
    .error-popup__button {
        width: 100%;
    }
}
