
/* =========================================
   VAILON LABS - SINGLE PRODUCT PAGE
   Gallery + Product Information
========================================= */

.vl-product-page {
    --vl-blue: #07558e;
    --vl-blue-dark: #064777;
    --vl-border: #d9e7f4;
    --vl-text: #12365e;
    --vl-muted: #6584a5;
    --vl-pale: #eef6fd;

    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 28px 32px 42px;
    color: var(--vl-text);
    font-family: inherit;
    box-sizing: border-box;
}

.vl-product-page *,
.vl-product-page *::before,
.vl-product-page *::after {
    box-sizing: border-box;
}

/* Remove default WooCommerce layout restrictions */

.vl-product-page .product {
    margin: 0;
}

.vl-product-top {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
    gap: 44px;
    align-items: start;
    width: 100%;
}

/* =========================================
   LEFT SIDE - PRODUCT GALLERY
========================================= */

.vl-gallery-column {
    min-width: 0;
    width: 100%;
}

.vl-main-image {
    position: relative;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 0.91;
    overflow: hidden;
    border-radius: 5px;
    background: #edf4f9;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vl-main-image img.vl-featured-image {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: contain;
    object-position: center;
    margin: 0;
    padding: 0;
    border: 0;
    cursor: zoom-in;
    transition: opacity 0.2s ease;
}

.vl-product-badge {
    position: absolute;
    z-index: 3;
    top: 14px;
    left: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 10px;
    color: #fff;
    background: var(--vl-blue);
    border-radius: 4px;
    font-size: 11px;
    line-height: 1.2;
    font-weight: 600;
}

/* Previous / Next buttons */

.vl-gallery-arrow {
    position: absolute;
    z-index: 3;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #fff;
    color: var(--vl-blue);
    font-size: 27px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(20, 55, 85, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
}

.vl-gallery-arrow:hover {
    background: var(--vl-blue);
    color: #fff;
}

.vl-gallery-prev {
    left: 12px;
}

.vl-gallery-next {
    right: 12px;
}

/* Zoom button */

.vl-image-zoom {
    position: absolute;
    right: 10px;
    bottom: 10px;
    z-index: 3;
    width: 35px;
    height: 35px;
    border: 1px solid var(--vl-blue);
    border-radius: 4px;
    background: #fff;
    color: var(--vl-blue);
    font-size: 22px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vl-image-zoom:hover {
    background: var(--vl-blue);
    color: #fff;
}

/* Thumbnails */

.vl-gallery-thumbnails {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-top: 12px;
}

.vl-thumb {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 1 / 0.86;
    padding: 5px;
    margin: 0;
    overflow: hidden;
    background: #f1f6fa;
    border: 1px solid transparent;
    border-radius: 5px;
    cursor: pointer;
}

.vl-thumb.is-active {
    border: 2px solid #0879d1;
    background: #fff;
}

.vl-thumb:hover {
    border-color: #65a9e2;
}

.vl-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    margin: 0;
    padding: 0;
    border: 0;
}

/* =========================================
   RIGHT SIDE - PRODUCT INFORMATION
========================================= */

.vl-product-summary {
    min-width: 0;
    width: 100%;
    padding: 0;
    margin: 0;
}

.vl-breadcrumb {
    margin: 0 0 7px;
    color: var(--vl-muted);
    font-size: 11px;
    line-height: 1.6;
}

.vl-breadcrumb a {
    color: var(--vl-muted);
    text-decoration: none;
}

.vl-breadcrumb a:hover {
    color: var(--vl-blue);
}

.vl-breadcrumb .woocommerce-breadcrumb {
    margin: 0;
    padding: 0;
    color: var(--vl-muted);
    font-size: inherit;
}

.vl-product-title {
    margin: 0 0 7px !important;
    padding: 0;
    color: #092f59;
    font-size: clamp(25px, 2.1vw, 34px);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.4px;
}

.vl-product-meta {
    margin: 0 0 10px;
    color: #6287aa;
    font-size: 13px;
    line-height: 1.6;
}

.vl-product-meta a {
    color: inherit;
    text-decoration: none;
}

.vl-meta-separator {
    display: inline-block;
    padding: 0 7px;
    color: #a0b4c7;
}

.vl-product-price {
    margin: 8px 0 6px;
    color: #092f59;
    font-size: 25px;
    font-weight: 700;
    line-height: 1.3;
}

.vl-product-price del {
    color: #8b9caf;
    font-size: 17px;
    font-weight: 400;
}

.vl-product-price ins {
    text-decoration: none;
}

.vl-product-description {
    margin: 0 0 10px;
    color: #315a82;
    font-size: 13px;
    line-height: 1.65;
}

.vl-product-description p {
    margin: 0 0 8px;
}

.vl-product-divider {
    height: 1px;
    width: 100%;
    margin: 10px 0 14px;
    background: #e2ebf4;
}

/* =========================================
   WOOCommerce CART FORM
========================================= */

.vl-cart-form {
    width: 100%;
}

.vl-cart-form .cart {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    width: 100%;
    margin: 0;
}

.vl-cart-form .variations {
    width: 100%;
    margin: 0 0 4px !important;
    border: 0;
    border-collapse: collapse;
}

.vl-cart-form .variations tbody,
.vl-cart-form .variations tr {
    display: block;
    width: 100%;
}

.vl-cart-form .variations tr {
    margin: 0 0 10px;
}

.vl-cart-form .variations th,
.vl-cart-form .variations td {
    display: block;
    width: 100%;
    padding: 0;
    text-align: left;
    background: transparent;
    border: 0;
}

.vl-cart-form .variations th.label {
    margin: 0 0 5px;
}

.vl-cart-form .variations label {
    color: #12365e;
    font-size: 12px;
    font-weight: 600;
}

.vl-cart-form .variations select {
    width: 100%;
    max-width: 100%;
    min-height: 40px;
    margin: 0;
    padding: 8px 32px 8px 11px;
    color: #244e77;
    background-color: #fff;
    border: 1px solid var(--vl-border);
    border-radius: 4px;
    font: inherit;
    font-size: 12px;
}

.vl-cart-form .reset_variations {
    display: inline-block;
    margin: 5px 0;
    font-size: 11px;
}

.vl-cart-form .woocommerce-variation-description,
.vl-cart-form .woocommerce-variation-price,
.vl-cart-form .woocommerce-variation-availability {
    margin: 5px 0;
    font-size: 13px;
}

/* Quantity */

.vl-cart-form .quantity {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    width: 100%;
    margin: 0 !important;
}

.vl-cart-form .quantity::before {
    content: "Quantity";
    display: block;
    color: #12365e;
    font-size: 12px;
    font-weight: 600;
}

.vl-cart-form .quantity .qty {
    width: 76px;
    min-height: 38px;
    margin: 0;
    padding: 7px;
    color: #12365e;
    text-align: center;
    font-size: 13px;
    background: #fff;
    border: 1px solid var(--vl-border);
    border-radius: 4px;
    box-shadow: none;
}

/* Add to Cart */

.vl-cart-form .single_add_to_cart_button,
.vl-cart-form button.single_add_to_cart_button,
.vl-cart-form .single_add_to_cart_button.button {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 45px;
    margin: 0 !important;
    padding: 12px 18px;
    color: #fff !important;
    background: var(--vl-blue) !important;
    border: 1px solid var(--vl-blue) !important;
    border-radius: 4px !important;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
    text-align: center;
    box-shadow: none;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.vl-cart-form .single_add_to_cart_button:hover {
    color: #fff !important;
    background: var(--vl-blue-dark) !important;
    border-color: var(--vl-blue-dark) !important;
}

.vl-cart-form .single_add_to_cart_button:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

/* Hide WooCommerce default grouping layout differences */

.vl-cart-form .cart .button,
.vl-cart-form .cart button {
    white-space: normal;
}

.vl-cart-form .group_table {
    width: 100%;
}

.vl-cart-form .group_table td {
    padding: 8px 4px;
    vertical-align: middle;
}

/* =========================================
   BUY NOW
========================================= */

.vl-buy-now-wrap {
    width: 100%;
    margin-top: 8px;
}

.vl-buy-now {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 44px;
    padding: 11px 18px;
    color: var(--vl-blue) !important;
    background: #fff !important;
    border: 1px solid var(--vl-blue) !important;
    border-radius: 4px !important;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.vl-buy-now:hover {
    color: #fff !important;
    background: var(--vl-blue) !important;
}

.vl-buy-now span {
    font-size: 16px;
}

/* =========================================
   SHIPPING / QUALITY / SECURITY BENEFITS
========================================= */

.vl-benefits {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 25px;
    padding: 0;
}

.vl-benefit {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    min-width: 0;
}

.vl-benefit-icon {
    flex: 0 0 21px;
    width: 21px;
    color: var(--vl-blue);
    font-size: 21px;
    font-weight: 700;
    line-height: 1.1;
    text-align: center;
}

.vl-benefit strong {
    display: block;
    margin: 0 0 5px;
    color: #12365e;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.4;
}

.vl-benefit small {
    display: block;
    color: #7694b3;
    font-size: 10px;
    line-height: 1.5;
}

/* =========================================
   IMAGE LIGHTBOX
========================================= */

.vl-lightbox {
    position: fixed;
    z-index: 999999;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 35px;
    background: rgba(4, 23, 42, 0.88);
}

.vl-lightbox.is-open {
    display: flex;
}

.vl-lightbox img {
    display: block;
    max-width: 90vw;
    max-height: 85vh;
    width: auto;
    height: auto;
    object-fit: contain;
    background: #fff;
    border-radius: 4px;
}

.vl-lightbox-close {
    position: absolute;
    top: 18px;
    right: 24px;
    padding: 0;
    color: #fff;
    background: transparent;
    border: 0;
    font-size: 38px;
    line-height: 1;
    cursor: pointer;
}

/* =========================================
   RESPONSIVE - TABLET
========================================= */

@media (max-width: 900px) {
    .vl-product-page {
        padding: 24px 22px 35px;
    }

    .vl-product-top {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 26px;
    }

    .vl-gallery-thumbnails {
        gap: 9px;
    }

    .vl-product-title {
        font-size: 27px;
    }

    .vl-benefits {
        gap: 8px;
    }

    .vl-benefit {
        gap: 5px;
    }

    .vl-benefit-icon {
        flex-basis: 18px;
        width: 18px;
        font-size: 18px;
    }

    .vl-benefit strong {
        font-size: 10px;
    }

    .vl-benefit small {
        font-size: 9px;
    }
}

/* =========================================
   RESPONSIVE - MOBILE
========================================= */

@media (max-width: 600px) {
    .vl-product-page {
        padding: 16px 15px 28px;
    }

    .vl-product-top {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
    }

    .vl-main-image {
        aspect-ratio: 1 / 0.95;
    }

    .vl-product-badge {
        top: 10px;
        left: 10px;
        padding: 6px 8px;
        font-size: 10px;
    }

    .vl-gallery-thumbnails {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 8px;
        margin-top: 10px;
    }

    .vl-thumb {
        aspect-ratio: 1 / 0.9;
    }

    .vl-gallery-arrow {
        width: 32px;
        height: 32px;
        font-size: 24px;
    }

    .vl-product-title {
        font-size: 27px;
    }

    .vl-product-meta {
        font-size: 12px;
    }

    .vl-product-price {
        font-size: 24px;
    }

    .vl-product-description {
        font-size: 13px;
        line-height: 1.7;
    }

    .vl-benefits {
        gap: 8px;
        margin-top: 22px;
    }

    .vl-benefit {
        flex-direction: column;
        gap: 7px;
    }

    .vl-benefit-icon {
        font-size: 20px;
    }

    .vl-benefit strong {
        font-size: 10px;
    }

    .vl-benefit small {
        font-size: 9px;
    }

    .vl-lightbox {
        padding: 18px;
    }
}

/* Small phones */

@media (max-width: 380px) {
    .vl-product-page {
        padding-right: 12px;
        padding-left: 12px;
    }

    .vl-product-title {
        font-size: 24px;
    }

    .vl-gallery-thumbnails {
        gap: 5px;
    }

    .vl-benefits {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .vl-benefit {
        flex-direction: row;
        align-items: center;
    }
}

/* White product page background */

body,
.site,
.site-content,
#primary,
.site-main,
.woocommerce,
.woocommerce-page {
    background: #ffffff !important;
}

.vl-product-page {
    background: #ffffff !important;
    max-width: 1280px;
    margin: 0 auto;
}

/* Strength and Size dropdowns */

.vl-cart-form .variations select,
.vl-cart-form select,
.vl-cart-form .value select {
    display: block !important;
    width: 100% !important;
    min-height: 44px;
    padding: 10px 36px 10px 12px;
    background-color: #ffffff !important;
    color: #12365e !important;
    border: 1px solid #d9e7f4 !important;
    border-radius: 4px;
    font-size: 13px;
}

/* Variation labels */

.vl-cart-form .variations th.label,
.vl-cart-form .variations label {
    display: block !important;
    margin-bottom: 7px;
    color: #12365e !important;
    font-weight: 600;
    font-size: 13px;
}

/* Keep variation rows visible */

.vl-cart-form .variations,
.vl-cart-form .variations tbody,
.vl-cart-form .variations tr,
.vl-cart-form .variations td {
    display: block !important;
    width: 100% !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.vl-cart-form .variations tr {
    margin-bottom: 14px;
}

/* Hide WooCommerce View Cart link after AJAX add to cart */
.vl-product-page a.added_to_cart,
.vl-product-summary a.added_to_cart {
    display: none !important;
}

/* Product Gallery - Small Thumbnails */
.vl-gallery-thumbnails {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.vl-gallery-thumbnails .vl-thumb {
    width: 68px;
    height: 68px;
    min-width: 68px;
    padding: 4px;
    border: 1px solid #e2e6eb;
    border-radius: 6px;
    background: #fff;
    overflow: hidden;
    cursor: pointer;
    transition: border-color 0.2s ease;
}

.vl-gallery-thumbnails .vl-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.vl-gallery-thumbnails .vl-thumb.is-active {
    border: 2px solid #8bbde8;
}

.vl-gallery-thumbnails .vl-thumb:hover {
    border-color: #8bbde8;
}

/* Smaller thumbnails on mobile */
@media (max-width: 767px) {
    .vl-gallery-thumbnails {
        gap: 8px;
    }

    .vl-gallery-thumbnails .vl-thumb {
        width: 54px;
        height: 54px;
        min-width: 54px;
    }
}

/* Main Product Image - Fill Background */
.vl-main-image {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #f4f6f8;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vl-main-image img.vl-featured-image {
    display: block;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover;
    object-position: center;
    margin: 0;
}

/* Keep badge and gallery controls visible */
.vl-main-image .vl-product-badge,
.vl-main-image .vl-gallery-arrow,
.vl-main-image .vl-image-zoom {
    z-index: 2;
}

/* Gallery column */
.vl-gallery-column {
    width: 100%;
    max-width: 460px;
    min-width: 0;
    margin: 0 auto;
}

/* Main image container */
.vl-gallery-column .vl-main-image {
    position: relative;
    width: 100%;
    max-width: 100%;
    aspect-ratio: 1 / 1;
    margin: 0;
    padding: 0;
    overflow: hidden;
    box-sizing: border-box;
    background: #f4f6f8;
    border-radius: 10px;
}

/* Main product image */
.vl-gallery-column img.vl-featured-image {
    display: block;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    object-fit: cover !important;
    object-position: center;
    margin: 0;
}

/* Thumbnail row aligned with main image */
.vl-gallery-column .vl-gallery-thumbnails {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    width: 100%;
    margin: 12px 0 0;
    padding: 0;
    box-sizing: border-box;
}

/* Individual thumbnails */
.vl-gallery-column .vl-thumb {
    flex: 0 0 62px;
    width: 62px;
    height: 62px;
    min-width: 0;
    padding: 3px;
    box-sizing: border-box;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e0e5eb;
    border-radius: 6px;
    cursor: pointer;
}

.vl-gallery-column .vl-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    margin: 0;
}

.vl-gallery-column .vl-thumb.is-active {
    border: 2px solid #8bbde8;
}

/* Mobile */
@media (max-width: 767px) {
    .vl-gallery-column {
        max-width: 100%;
    }

    .vl-gallery-column .vl-gallery-thumbnails {
        gap: 8px;
    }

    .vl-gallery-column .vl-thumb {
        flex-basis: 54px;
        width: 54px;
        height: 54px;
    }
}

/* ==========================================
   VAILON LABS - MATCHING PRODUCT PAGE SECTIONS
========================================== */

.vl-product-page {
    --vl-primary: #173b57;
    --vl-accent: #1686b5;
    --vl-text: #27394b;
    --vl-muted: #667789;
    --vl-border: #e1e8ee;
    --vl-soft-bg: #f6f9fb;
    color: var(--vl-text);
}

/* Consistent section width */

.vl-product-details,
.vl-specifications-section,
.vl-related-products {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 48px 24px;
    background: #fff;
}

/* Consistent section headings */

.vl-product-details h2,
.vl-specifications-section h2,
.vl-related-products .vl-related-heading h2 {
    margin: 0 0 12px;
    color: var(--vl-primary);
    font-size: 26px;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: -0.3px;
}

.vl-section-intro,
.vl-related-heading p {
    margin: 0 0 24px;
    color: var(--vl-muted);
    font-size: 15px;
    line-height: 1.7;
}

/* Product Details table */

.vl-details-table {
    width: 100%;
    margin: 0;
    border: 1px solid var(--vl-border);
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

.vl-details-table th,
.vl-details-table td {
    padding: 15px 20px;
    border: 0;
    border-bottom: 1px solid var(--vl-border);
    text-align: left;
    font-size: 14px;
    line-height: 1.65;
}

.vl-details-table tr:last-child th,
.vl-details-table tr:last-child td {
    border-bottom: 0;
}

.vl-details-table th {
    width: 32%;
    background: var(--vl-soft-bg);
    color: var(--vl-primary);
    font-weight: 600;
}

.vl-details-table td {
    color: var(--vl-text);
    overflow-wrap: anywhere;
}

/* Specifications - same container style */

.vl-specifications-section {
    padding-top: 32px;
}

.vl-specifications-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.vl-spec-card {
    min-width: 0;
    padding: 20px;
    background: var(--vl-soft-bg);
    border: 1px solid var(--vl-border);
    border-radius: 8px;
    box-shadow: none;
}

.vl-spec-label {
    display: block;
    margin: 0 0 8px;
    color: var(--vl-muted);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.5;
}

.vl-spec-value {
    display: block;
    color: var(--vl-primary);
    font-size: 17px;
    font-weight: 700;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

/* Testing, COA and Storage - consistent panels */

.vl-info-panel {
    display: flex;
    align-items: center;
    gap: 18px;
    width: calc(100% - 48px);
    max-width: 1152px;
    margin: 18px auto;
    padding: 24px;
    background: #fff;
    border: 1px solid var(--vl-border);
    border-radius: 8px;
    box-shadow: none;
}

.vl-info-icon {
    display: flex;
    flex: 0 0 42px;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: #eaf5fa;
    border-radius: 8px;
    color: var(--vl-accent);
    font-size: 21px;
    font-weight: 700;
}

.vl-info-content {
    flex: 1 1 auto;
    min-width: 0;
}

.vl-info-content h3 {
    margin: 0 0 6px;
    color: var(--vl-primary);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
}

.vl-info-content p {
    margin: 0;
    color: var(--vl-muted);
    font-size: 14px;
    line-height: 1.7;
}

.vl-info-link {
    flex: 0 0 auto;
    color: var(--vl-accent);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.vl-info-link:hover {
    color: var(--vl-primary);
}

/* COA actions */

.vl-coa-actions {
    flex: 0 0 auto;
}

.vl-outline-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 16px;
    background: #fff;
    border: 1px solid var(--vl-accent);
    border-radius: 6px;
    color: var(--vl-accent);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    text-align: center;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.vl-outline-button:hover {
    background: var(--vl-accent);
    color: #fff;
}

.vl-coa-unavailable {
    display: inline-block;
    padding: 9px 12px;
    background: #fff3f2;
    border: 1px solid #f2d1cd;
    border-radius: 6px;
    color: #b63b32;
    font-size: 13px;
}

/* Disclaimer - same visual language */

.vl-disclaimer-panel {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    width: calc(100% - 48px);
    max-width: 1152px;
    margin: 24px auto;
    padding: 22px 24px;
    background: #f6f9fb;
    border: 1px solid var(--vl-border);
    border-radius: 8px;
}

.vl-disclaimer-icon {
    display: flex;
    flex: 0 0 32px;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: #eaf5fa;
    border-radius: 50%;
    color: var(--vl-primary);
    font-size: 16px;
    font-weight: 700;
}

.vl-disclaimer-content {
    flex: 1;
    min-width: 0;
}

.vl-disclaimer-content h3 {
    margin: 0 0 6px;
    color: var(--vl-primary);
    font-size: 17px;
    font-weight: 700;
}

.vl-disclaimer-content p {
    margin: 0;
    color: var(--vl-muted);
    font-size: 13px;
    line-height: 1.8;
}

/* Related products */

.vl-related-products {
    padding-top: 48px;
    border-top: 1px solid var(--vl-border);
}

.vl-related-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}

.vl-related-heading p {
    margin-bottom: 0;
}

.vl-related-heading > a {
    flex: 0 0 auto;
    margin-top: 5px;
    color: var(--vl-accent);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.vl-related-products .related.products {
    width: 100%;
    margin: 0;
}

.vl-related-products .related.products > h2 {
    display: none;
}

.vl-related-products ul.products {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    margin: 0;
    padding: 0;
}

.vl-related-products ul.products::before,
.vl-related-products ul.products::after {
    display: none;
    content: none;
}

.vl-related-products ul.products li.product {
    float: none;
    width: auto;
    min-width: 0;
    margin: 0;
    padding: 16px;
    background: #fff;
    border: 1px solid var(--vl-border);
    border-radius: 8px;
    box-shadow: none;
    overflow: hidden;
}

.vl-related-products ul.products li.product img {
    width: 100%;
    height: 200px;
    margin: 0 0 14px;
    object-fit: contain;
}

.vl-related-products ul.products li.product .woocommerce-loop-product__title {
    color: var(--vl-primary);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.5;
}

.vl-related-products ul.products li.product .price {
    color: var(--vl-primary);
    font-size: 16px;
    font-weight: 700;
}

.vl-related-products ul.products li.product .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 10px 14px;
    background: var(--vl-primary);
    border-radius: 6px;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.vl-related-products ul.products li.product .button:hover {
    background: var(--vl-accent);
    color: #fff;
}

/* Tablet */

@media (max-width: 900px) {
    .vl-specifications-grid,
    .vl-related-products ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .vl-info-panel {
        flex-wrap: wrap;
    }

    .vl-coa-actions {
        margin-left: 60px;
    }
}

/* Mobile */

@media (max-width: 600px) {
    .vl-product-details,
    .vl-specifications-section,
    .vl-related-products {
        padding: 32px 16px;
    }

    .vl-product-details h2,
    .vl-specifications-section h2,
    .vl-related-products .vl-related-heading h2 {
        font-size: 22px;
    }

    .vl-details-table th,
    .vl-details-table td {
        padding: 12px;
        font-size: 13px;
    }

    .vl-details-table th {
        width: 40%;
    }

    .vl-specifications-grid {
        gap: 12px;
    }

    .vl-spec-card {
        padding: 14px;
    }

    .vl-spec-value {
        font-size: 15px;
    }

    .vl-info-panel,
    .vl-disclaimer-panel {
        width: calc(100% - 32px);
        margin: 16px auto;
        padding: 18px;
    }

    .vl-info-panel {
        gap: 12px;
    }

    .vl-info-content {
        flex: 1 1 calc(100% - 56px);
    }

    .vl-info-link,
    .vl-coa-actions {
        width: 100%;
        margin-left: 0;
    }

    .vl-coa-actions .vl-outline-button {
        width: 100%;
    }

    .vl-related-heading {
        flex-direction: column;
        gap: 12px;
    }

    .vl-related-products ul.products {
        gap: 12px;
    }

    .vl-related-products ul.products li.product {
        padding: 10px;
    }

    .vl-related-products ul.products li.product img {
        height: 135px;
    }

    .vl-related-products ul.products li.product .woocommerce-loop-product__title {
        font-size: 14px;
    }

    .vl-related-products ul.products li.product .button {
        width: 100%;
        padding: 9px 8px;
        font-size: 12px;
    }
}

/* Vailon Labs - Product Sections Layout Fix */

.vl-product-page .vl-product-details,
.vl-product-page .vl-specifications-section,
.vl-product-page .vl-related-products {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 36px 24px;
    box-sizing: border-box;
}

.vl-product-page .vl-product-details h2,
.vl-product-page .vl-specifications-section h2,
.vl-product-page .vl-related-products h2 {
    margin: 0 0 12px;
    font-size: 24px;
    line-height: 1.4;
    font-weight: 700;
    color: #123b5a;
}

.vl-product-page .vl-section-intro {
    margin: 0 0 20px;
    font-size: 14px;
    line-height: 1.7;
    color: #667789;
}

/* Product Details table */

.vl-product-page .vl-details-table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #dce5ed;
}

.vl-product-page .vl-details-table th,
.vl-product-page .vl-details-table td {
    padding: 15px 18px;
    border-bottom: 1px solid #dce5ed;
    font-size: 14px;
    text-align: left;
}

.vl-product-page .vl-details-table th {
    width: 32%;
    background: #f5f8fb;
    color: #123b5a;
}

/* Specification cards */

.vl-product-page .vl-specifications-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.vl-product-page .vl-spec-card {
    padding: 20px;
    border: 1px solid #dce5ed;
    border-radius: 8px;
    background: #f7f9fb;
}

/* Information panels */

.vl-product-page .vl-info-panel,
.vl-product-page .vl-disclaimer-panel {
    width: calc(100% - 48px);
    max-width: 1152px;
    margin: 16px auto;
    padding: 22px 24px;
    box-sizing: border-box;
    border: 1px solid #dce5ed;
    border-radius: 8px;
    background: #fff;
}

.vl-product-page .vl-disclaimer-panel {
    background: #f7f9fb;
}

/* Related products - prevent a single card from appearing tiny */

.vl-product-page .vl-related-products {
    border-top: 1px solid #dce5ed;
}

.vl-product-page .vl-related-products ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    width: 100%;
    margin: 24px 0 0 !important;
    padding: 0 !important;
}

.vl-product-page .vl-related-products ul.products li.product {
    float: none !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 14px !important;
    box-sizing: border-box;
    border: 1px solid #dce5ed;
    border-radius: 8px;
    background: #fff;
}

.vl-product-page .vl-related-products ul.products li.product img {
    display: block;
    width: 100%;
    height: 210px;
    object-fit: contain;
    margin: 0 0 14px;
}

/* Responsive */

@media (max-width: 768px) {
    .vl-product-page .vl-specifications-grid,
    .vl-product-page .vl-related-products ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 480px) {
    .vl-product-page .vl-product-details,
    .vl-product-page .vl-specifications-section,
    .vl-product-page .vl-related-products {
        padding: 28px 16px;
    }

    .vl-product-page .vl-info-panel,
    .vl-product-page .vl-disclaimer-panel {
        width: calc(100% - 32px);
        padding: 16px;
    }

    .vl-product-page .vl-related-products ul.products li.product img {
        height: 140px;
    }
}

.vl-product-details-description {
    margin: 0 0 24px;
    color: #526477;
    font-size: 15px;
    line-height: 1.8;
}

.vl-product-details-description p {
    margin: 0 0 14px;
}

.vl-product-details-description p:last-child {
    margin-bottom: 0;
}


/* ======================================
   VAILON LABS - FIX GALLERY OVERLAP
====================================== */

/* Product top layout */
.vl-product-page .vl-product-top {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: start;
    gap: 40px;
    width: 100%;
    margin: 0 auto !important;
    padding: 0 0 30px !important;
    border-bottom: none !important;
    box-sizing: border-box;
}

/* Gallery must contain thumbnails */
.vl-product-page .vl-gallery-column {
    min-width: 0;
    width: 100%;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible;
}

/* Keep thumbnail row below main image */
.vl-product-page .vl-gallery-thumbnails {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    position: relative;
    clear: both;
    width: 100%;
    height: auto !important;
    margin: 10px 0 0 !important;
    padding: 0 !important;
    overflow: visible;
}

/* Prevent thumbnail overlap */
.vl-product-page .vl-thumb {
    position: relative;
    flex: 0 0 54px;
    width: 54px;
    height: 54px;
    margin: 0 !important;
    box-sizing: border-box;
}

/* Main image container */
.vl-product-page .vl-main-image {
    position: relative;
    width: 100%;
    height: auto;
    margin: 0 !important;
}

/* Full-width content below gallery and summary */
.vl-product-page .vl-product-details,
.vl-product-page .vl-specifications-section,
.vl-product-page .vl-related-products {
    display: block;
    clear: both;
    width: 100% !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 32px 24px !important;
    box-sizing: border-box;
}

/* Separator after the complete gallery + summary row */
.vl-product-page .vl-product-top + .vl-product-details {
    border-top: 1px solid #dce5ed;
    margin-top: 0 !important;
    padding-top: 28px !important;
}

/* Information panels use the same content width */
.vl-product-page .vl-info-panel,
.vl-product-page .vl-disclaimer-panel {
    width: calc(100% - 48px);
    max-width: 1152px;
    margin: 16px auto;
    box-sizing: border-box;
}

/* Tablet */
@media (max-width: 768px) {
    .vl-product-page .vl-product-top {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
        padding-bottom: 24px !important;
    }

    .vl-product-page .vl-gallery-column,
    .vl-product-page .vl-product-summary {
        width: 100%;
        min-width: 0;
    }

    .vl-product-page .vl-product-details,
    .vl-product-page .vl-specifications-section,
    .vl-product-page .vl-related-products {
        padding: 24px 16px !important;
    }

    .vl-product-page .vl-info-panel,
    .vl-product-page .vl-disclaimer-panel {
        width: calc(100% - 32px);
    }
}

/* Full browser-width divider below the gallery and product summary */

.vl-product-page .vl-product-top {
    position: relative;
    border-bottom: none !important;
    padding-bottom: 30px !important;
    margin-bottom: 0 !important;
}

.vl-product-page .vl-product-top::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 100vw;
    height: 1px;
    background: #dce5ed;
    transform: translateX(-50%);
}

/* Remove duplicate line above Product Details */
.vl-product-page .vl-product-top + .vl-product-details {
    border-top: none !important;
}

