/**
 * Main Product Styles
 * Styles for product pages, product cards, and related product elements
 */

/* ========================================
   PRODUCT PAGE STYLES
   ======================================== */
/* Product Gallery Grid Layout - Pattern: Full, Half-Half, Full, Half-Half... */
.product-information .woo-gallery-wrapper:not(.has-carousel) .woo-gallery-grid {
    grid-template-columns: repeat(2, 1fr) !important;
}

/* Every 3rd image (1st, 4th, 7th, 10th...) spans full width */
.product-information .woo-gallery-wrapper:not(.has-carousel) .woo-gallery-grid .woo-gallery-item:nth-child(3n+1) {
    grid-column: 1 / -1;
}

/* Every 3rd+1 image (2nd, 5th, 8th, 11th...) goes in first column */
.product-information .woo-gallery-wrapper:not(.has-carousel) .woo-gallery-grid .woo-gallery-item:nth-child(3n+2) {
    grid-column: 1 / 2;
}

/* Every 3rd+2 image (3rd, 6th, 9th, 12th...) goes in second column */
.product-information .woo-gallery-wrapper:not(.has-carousel) .woo-gallery-grid .woo-gallery-item:nth-child(3n+3) {
    grid-column: 2 / 3;
}

.product-information .wp-block-cloudcatch-tabs__container {
    position: relative;
}
.product-information .wp-block-cloudcatch-tabs__container::after {
    content: "";
    position: absolute;
    background: #ddd;
    height: 1px;
    width: 100%;
    top: 28px;
}

wp-block-cloudcatch-tab__label
.product-information .wp-block-cloudcatch-tabs__container .wp-block-cloudcatch-tab,
.product-information .wp-block-cloudcatch-tabs__container .wp-block-cloudcatch-tab *{
    cursor: pointer;
    user-select: none;
        font-weight: 500 !important;
}
.product-information .wp-block-cloudcatch-tabs__container .wp-block-cloudcatch-tab.active{
    position: relative;
    color: var(--wp--preset--color--primary)
}
.product-information .wp-block-cloudcatch-tabs__container .wp-block-cloudcatch-tab.active::after {
    content: "";
    position: absolute;
    background: #000;
    height: 1px;
    width: 100%;
    top: 28px;
    z-index: 2;
}