.mfp-wqv .mfp-content {
    max-width: 1000px !important;
    width: 90% !important;
}

.sp-wqv-content {
    max-width: 1000px !important;
    max-height: 560px !important;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.wqv-product-images {
    width: 50% !important;
}
.wqv-product-images img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wqv-product-info {
    width: 50% !important;
    padding: 32px !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-family: 'PT Mono', monospace;
}

.wqv-product-info .wqv-product-content {
    padding: 0 !important;
}

/* Title */
.wqv-product-info .product_title {
    font-family: 'Roboto', sans-serif !important;
    font-weight: 500 !important;
    font-size: 1.5rem !important;
    line-height: 1.2 !important;
    margin-bottom: 8px !important;
}

/* Price */
.wqv-product-info .price {
    font-family: 'PT Mono', monospace !important;
    font-size: 1.1rem !important;
    margin-bottom: 12px !important;
}
.wqv-product-info .price del {
    opacity: 0.5;
}

/* Description */
.wqv-product-info .woocommerce-product-details__short-description,
.wqv-product-info .woocommerce-product-details__short-description p {
    font-family: 'PT Mono', monospace !important;
    font-size: 13px !important;
    line-height: 1.6 !important;
    color: #555 !important;
    margin-bottom: 16px !important;
}

/* Ratings */
.wqv-product-info .woocommerce-product-rating {
    margin-bottom: 12px !important;
}

/* Variation dropdown -> hidden, replaced by JS buttons */
.wqv-product-info table.variations {
    display: none !important;
}

/* Custom variation buttons in quick view */
.wqv-variation-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    font-family: 'PT Mono', monospace;
    font-size: 13px;
    margin-bottom: 16px;
    padding: 8px 0;
    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
}

.wqv-variation-buttons .wqv-var-btn {
    padding: 4px 10px;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.2s;
    background: none;
    border: none;
    font-family: inherit;
    font-size: inherit;
}
.wqv-variation-buttons .wqv-var-btn.active {
    opacity: 1;
    font-weight: bold;
}
.wqv-variation-buttons .wqv-var-sep {
    color: #ccc;
    user-select: none;
}

/* Quantity input */
.wqv-product-info .quantity .qty {
    font-family: 'PT Mono', monospace !important;
    font-size: 14px !important;
    border: 1px solid #ddd !important;
    border-radius: 4px !important;
    background: #fff !important;
    line-height: 40px !important;
    height: 40px !important;
}

/* Add to cart button */
.wqv-product-info .single_add_to_cart_button,
.wqv-product-info .button {
    font-family: 'PT Mono', monospace !important;
    font-size: 13px !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    background: #000 !important;
    color: #fff !important;
    border: 1px solid #000 !important;
    border-radius: 4px !important;
    padding: 12px 24px !important;
    cursor: pointer !important;
    transition: all 0.25s ease !important;
    width: 100% !important;
    text-align: center !important;
}
.wqv-product-info .single_add_to_cart_button:hover,
.wqv-product-info .button:hover {
    background: #fff !important;
    color: #000 !important;
}

/* Close button */
.mfp-wqv .mfp-close {
    font-size: 28px !important;
    color: #000 !important;
    opacity: 0.6;
    right: 8px !important;
    top: 8px !important;
}
.mfp-wqv .mfp-close:hover {
    opacity: 1;
}

/* Product meta (SKU, categories) */
.wqv-product-info .product_meta {
    font-family: 'PT Mono', monospace;
    font-size: 12px;
    color: #999;
    margin-top: 12px;
}

/* ===== FOOTER ACCORDION (MOBILE) ===== */

@media (max-width: 767px) {
    .footer-section {
        border-bottom: 1px solid #e5e5e5;
        padding-bottom: 10px;
    }

    /* скрыть маленькие бордер-сепараторы под заголовками в мобилке */
    .footer-section > .w-\[15\%\],
    .footer-section > .w-\[20\%\] {
        display: none;
    }

    .footer-accordion-toggle {
        cursor: pointer;
    }

    .footer-accordion-icon {
        transition: transform 0.2s ease;
    }

    .footer-section.footer-open .footer-accordion-icon {
        transform: rotate(90deg);
    }

    .footer-section .footer-accordion-content {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.25s ease;
        text-align: left;
        margin-top: 0.5rem;
    }

    .footer-section.footer-open .footer-accordion-content {
        max-height: 500px; /* достаточно для контента */
    }

    .footer-section .footer-accordion-content > * {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    /* всё содержимое аккордеона в мобилке выравниваем влево */
    .footer-section .footer-accordion-content .payment-icons,
    .footer-section .footer-accordion-content .w-24 {
        display: flex;
        justify-content: flex-start;
        align-items: left;
        margin-left: 0;
        margin-right: 0;
    }

    .footer-section .footer-accordion-content .w-24 {
        width: auto !important;
        text-align: left;
    }

    /* скрыть все маленькие бордер-сепараторы в секциях футера на мобилке */
    .footer-section .w-\[15\%\],
    .footer-section .w-\[20\%\] {
        display: none;
    }
}

@media (min-width: 768px) {
    .footer-accordion-icon {
        display: none;
    }

    .footer-section .footer-accordion-content {
        max-height: none !important;
        overflow: visible !important;
    }
}

/* Mobile Quick View layout */
@media (max-width: 640px) {
    .sp-wqv-content {
        flex-direction: column !important;
        max-height: 90vh !important;
    }
    .wqv-product-images,
    .wqv-product-info {
        width: 100% !important;
    }
    .wqv-product-images {
        max-height: 250px;
    }
    .wqv-product-info {
        padding: 20px !important;
    }
}