/**
 * Product Template V1 Styles
 * Matching Figma design specifications
 *
 * @package WeGrowMagic
 */

/* Product V1 Main Container */
.wgm-product--v1 {
    padding: 0;
    margin: 0;
}

/* Hide WooCommerce variation form but keep it functional */
.wgm-product-v1__variations {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    visibility: visible !important; /* Keep visible for JS */
    opacity: 0 !important; /* Hide visually but keep in DOM */
}

.wgm-product-v1__variations .variations {
    display: none !important;
}

.wgm-product-v1__variations .variations select {
    position: absolute !important;
    left: -9999px !important;
    opacity: 0 !important;
    pointer-events: none !important;
    visibility: visible !important; /* Keep visible for JS */
    display: block !important; /* Ensure selects are in DOM */
}

.wgm-product-v1__main {
    position: relative;
    background: white;
    overflow: visible !important;
    border-bottom-right-radius: 50px;
    border-bottom-left-radius: 50px;
    min-height: 1574px;
    padding-bottom: 100px;
}

/* Gallery */
.wgm-product-v1__gallery {
    position: absolute;
    left: 50px;
    top: 50px;
    width: 670px;
    height: 670px;
    background: #EE5656;
    border-radius: 10px;
}

.wgm-product-v1__main-image {
    position: absolute;
    width: 1075px;
    height: 716px;
    left: -202px;
    top: -23px;
}

.wgm-product-v1__main-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.wgm-product-v1__thumbnails {
    position: relative;
}

.wgm-product-v1__thumb {
    position: absolute;
    width: 330px;
    height: 330px;
    background: #EE5656;
    overflow: hidden;
    border-radius: 5px;
    cursor: pointer;
    transition: opacity 0.3s;
}

.wgm-product-v1__thumb:hover {
    opacity: 0.8;
}

.wgm-product-v1__thumb img {
    width: 529.30px;
    height: 352.78px;
    left: -99.50px;
    top: -11.33px;
    position: absolute;
    object-fit: contain;
}

/* Product Details */
.wgm-product-v1__details {
    width: 611px;
    left: 770px;
    top: 61px;
    overflow: visible;
    z-index: 15;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

/* Header Section */
.wgm-product-v1__header {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.wgm-product-v1__stars {
    display: flex;
    gap: 1.61px;
}

.wgm-product-v1__stars span {
    color: #FFD700;
    font-size: 16px;
}

.wgm-product-v1__title {
    color: black;
    font-size: 36px;
    font-family: 'ITC Clearface Std', serif;
    font-weight: 550;
    line-height: 43.20px;
    margin: 0;
}

.wgm-product-v1__tagline {
    color: black;
    font-size: 18px;
    font-family: 'General Sans', sans-serif;
    font-weight: 600;
    line-height: 27px;
}

/* Variation Selectors */
.wgm-product-v1__path-selector,
.wgm-product-v1__dose-selector,
.wgm-product-v1__supply-selector {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.wgm-product-v1__path-btn,
.wgm-product-v1__dose-btn,
.wgm-product-v1__supply-btn {
    position: relative;
    z-index: 10;
    pointer-events: auto !important;
    cursor: pointer !important;
    position: relative;
    min-width: 102px;
    height: 40px;
    text-align: center;
    padding: 8px 2px;
    background: white;
    border: 0.50px solid black;
    border-radius: 5px;
    color: black;
    font-size: 16px;
    font-family: 'General Sans', sans-serif;
    font-weight: 500;
    line-height: 24px;
    cursor: pointer;
    transition: all 0.3s;
}

.wgm-product-v1__path-btn.active,
.wgm-product-v1__dose-btn.active,
.wgm-product-v1__supply-btn.active {
    background: #12679C;
    border-color: #12679C;
    color: white;
}

.wgm-product-v1__path-btn:hover,
.wgm-product-v1__dose-btn:hover,
.wgm-product-v1__supply-btn:hover {
    opacity: 0.8;
}

/* Badge for dose/supply buttons */
.wgm-product-v1__dose-btn .badge,
.wgm-product-v1__supply-btn .badge {
    position: absolute;
    top: -12px;
    left: 3px;
    padding: 5px 6px;
    border-radius: 4px;
    color: white;
    font-size: 8px;
    font-family: 'General Sans', sans-serif;
    font-weight: 600;
    line-height: 12px;
    white-space: nowrap;
}

.wgm-product-v1__dose-btn .badge.most-popular,
.wgm-product-v1__supply-btn .badge.most-popular {
    background: #3E98BE;
}

.wgm-product-v1__dose-btn .badge.biggest-saving {
    background: #D12C76;
}

/* Quantity Selector */
.wgm-product-v1__quantity {
    display: inline-flex;
    padding: 2px;
    background: white;
    border-radius: 4px;
    border: 0.50px solid black;
    align-items: center;
    gap: 24px;
    width: fit-content;
}

.wgm-product-v1__qty-minus,
.wgm-product-v1__qty-plus {
    padding: 4px;
    background: #12679C;
    border-radius: 2px;
    border: none;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s;
}

.wgm-product-v1__qty-minus:hover,
.wgm-product-v1__qty-plus:hover {
    background: #0A4280;
}

.wgm-product-v1__qty-input {
    width: 40px;
    text-align: center;
    border: none;
    background: transparent;
    color: black;
    font-size: 20px;
    font-family: 'General Sans', sans-serif;
    font-weight: 600;
    line-height: 30px;
}

.wgm-product-v1__qty-input::-webkit-inner-spin-button,
.wgm-product-v1__qty-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Add to Cart Button */
.wgm-product-v1__add-to-cart-btn {
    width: 601px;
    height: 70px;
    padding: 12px 20px;
    background: #12679C;
    border-radius: 10px;
    border: none;
    color: white;
    font-size: 18px;
    font-family: 'General Sans', sans-serif;
    font-weight: 500;
    line-height: 21.60px;
    cursor: pointer;
    transition: background 0.3s;
}

.wgm-product-v1__add-to-cart-btn:hover {
    background: #0A4280;
}

.wgm-product-v1__add-to-cart-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Accordions */
.wgm-product-v1__accordions {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
    z-index: 10;
}

.wgm-product-v1__accordion-item {
    padding: 16px 0;
    border-bottom: 0.50px solid #D1D1D1;
    position: relative;
    z-index: 10;
    background: white;
}

.wgm-product-v1__accordion-item:last-child {
    border-bottom: none;
}

.wgm-product-v1__accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    cursor: pointer;
    gap: 16px;
}

.wgm-product-v1__accordion-title {
    color: black;
    font-size: 18px;
    font-family: 'General Sans', sans-serif;
    font-weight: 500;
    line-height: 27px;
    flex: 1;
}

.wgm-product-v1__accordion-icon {
    width: 20px;
    height: 20px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.wgm-product-v1__accordion-icon svg {
    display: block;
    width: 15px;
    height: 15px;
}

.wgm-product-v1__accordion-icon .wgm-accordion-minus {
    display: none;
}

.wgm-product-v1__accordion-item.active .wgm-product-v1__accordion-icon .wgm-accordion-plus {
    display: none;
}

.wgm-product-v1__accordion-item.active .wgm-product-v1__accordion-icon .wgm-accordion-minus {
    display: block;
}

.wgm-product-v1__accordion-content {
    display: none;
    padding-top: 16px;
    padding-bottom: 16px;
    color: black;
    font-size: 16px;
    font-family: 'General Sans', sans-serif;
    font-weight: 500;
    line-height: 24px;
    position: relative;
    z-index: 10;
    background: white;
}

.wgm-product-v1__accordion-content p {
    margin: 0 0 12px 0;
    color: black;
    font-size: 16px;
    font-family: 'General Sans', sans-serif;
    font-weight: 500;
    line-height: 24px;
}

.wgm-product-v1__accordion-content p:last-child {
    margin-bottom: 0;
}

.wgm-product-v1__accordion-item.active .wgm-product-v1__accordion-content {
    display: block;
}

/* Ensure accordion content is above other sections */
.wgm-product-v1__accordion-item.active {
    z-index: 20;
}

.wgm-product-v1__accordion-item.active .wgm-product-v1__accordion-content {
    position: relative;
    z-index: 20;
    background: white;
    margin-bottom: 20px;
}

/* Ensure accordion doesn't get clipped */
.wgm-product-v1__details {
    min-height: auto;
    overflow: visible !important;
}

.wgm-product-v1__accordions {
    margin-bottom: 40px;
    position: relative;
    z-index: 25;
}

/* Difference section spacing */
.wgm-product-v1__difference {
    position: relative;
    z-index: 1;
    margin-top: 50px;
    clear: both;
}

/* Responsive */
@media (max-width: 1440px) {
    .wgm-product-v1__main {
        padding: 0 20px;
    }
    
    .wgm-product-v1__gallery {
        position: relative;
        left: auto;
        top: auto;
        margin: 0 auto 30px;
    }
    
    .wgm-product-v1__details {
        position: relative;
        left: auto;
        top: auto;
        width: 100%;
        max-width: 611px;
        margin: 0 auto;
    }
    
    .wgm-product-v1__add-to-cart-btn {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .wgm-product-v1__title {
        font-size: 28px;
        line-height: 34px;
    }
    
    .wgm-product-v1__path-selector,
    .wgm-product-v1__dose-selector,
    .wgm-product-v1__supply-selector {
        flex-direction: row;
        align-items: stretch;
    }
    
    .wgm-product-v1__path-btn,
    .wgm-product-v1__dose-btn,
    .wgm-product-v1__supply-btn {
        width: 30%;
    }
}

/* ============================================
   Product Template V2 - Anxiety Exit Strategy
   ============================================ */

.wgm-product-v2__anxiety-exit {
    width: 1440px;
    height: 885px;
    position: relative;
    background: white;
    overflow: hidden;
    margin: 0 auto;
    max-width: 100%;
}

/* Main Title */
.wgm-product-v2__anxiety-title {
    left: 150px;
    top: 67px;
    position: absolute;
    color: black;
    font-size: 48px;
    font-family: 'ITC Clearface Std', serif;
    font-weight: 550;
    line-height: 57.60px;
    word-wrap: break-word;
}

/* Subtitle */
.wgm-product-v2__anxiety-subtitle {
    left: 150px;
    top: 132px;
    position: absolute;
    color: black;
    font-size: 22px;
    font-family: 'General Sans', sans-serif;
    font-style: italic;
    font-weight: 500;
    line-height: 33px;
    word-wrap: break-word;
}

/* Description */
.wgm-product-v2__anxiety-description {
    width: 296px;
    height: 25px;
    left: 150px;
    top: 177px;
    position: absolute;
    color: black;
    font-size: 16px;
    font-family: 'General Sans', sans-serif;
    font-weight: 500;
    line-height: 24px;
    word-wrap: break-word;
}

/* Large Product Image */
.wgm-product-v2__anxiety-image-large {
    width: 306px;
    height: 587px;
    left: 1039px;
    top: 78px;
    position: absolute;
    border-radius: 10px;
    object-fit: contain;
}

/* Small Product Image */
.wgm-product-v2__anxiety-image-small {
    width: 36px;
    height: 69px;
    left: 333px;
    top: 356px;
    position: absolute;
    border-radius: 10px;
    object-fit: contain;
}

/* Anxiety Loop Title */
.wgm-product-v2__anxiety-loop-title {
    width: 296px;
    height: 25px;
    left: 150px;
    top: 233px;
    position: absolute;
    color: black;
    font-size: 16px;
    font-family: 'General Sans', sans-serif;
    font-weight: 600;
    line-height: 24px;
    word-wrap: break-word;
}

/* Anxiety Loop Container */
.wgm-product-v2__anxiety-loop {
    position: relative;
    width: 100%;
    height: 100px;
    top: 280px;
    left: 150px;
}

/* Anxiety Loop Red Line */
.wgm-product-v2__anxiety-loop-line {
    position: absolute;
    top: 35px;
    left: 0;
    width: 750px;
    height: 2px;
    background: #EE5656; /* Red color */
}

/* Anxiety Loop Marker (Plus + Label) */
.wgm-product-v2__anxiety-loop-marker {
    position: absolute;
    top: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.wgm-product-v2__anxiety-loop-plus {
    color: #EE5656;
    font-size: 24px;
    font-weight: bold;
    line-height: 1;
}

.wgm-product-v2__anxiety-loop-item {
    color: black;
    font-size: 16px;
    font-family: 'General Sans', sans-serif;
    font-weight: 500;
    line-height: 24px;
    white-space: nowrap;
}

/* Calm Protocol Title */
.wgm-product-v2__anxiety-protocol-title {
    width: 296px;
    height: 25px;
    left: 150px;
    top: 401px;
    position: absolute;
    color: black;
    font-size: 16px;
    font-family: 'General Sans', sans-serif;
    font-weight: 600;
    line-height: 24px;
    word-wrap: break-word;
}

/* Calm Protocol Container */
.wgm-product-v2__anxiety-protocol {
    position: relative;
    width: 100%;
    height: 100px;
    top: 448px;
    left: 150px;
}

/* Calm Protocol Gradient Line (Red to Green) */
.wgm-product-v2__anxiety-protocol-line {
    position: absolute;
    top: 35px;
    left: 0;
    width: 750px;
    height: 2px;
    background: linear-gradient(to right, #EE5656 0%, #EE5656 40%, #4CAF50 60%, #4CAF50 100%);
}

/* Calm Protocol Marker (Plus + Label) */
.wgm-product-v2__anxiety-protocol-marker {
    position: absolute;
    top: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.wgm-product-v2__anxiety-protocol-marker--red .wgm-product-v2__anxiety-protocol-plus {
    color: #EE5656;
}

.wgm-product-v2__anxiety-protocol-marker--green .wgm-product-v2__anxiety-protocol-plus {
    color: #4CAF50;
}

.wgm-product-v2__anxiety-protocol-plus {
    font-size: 24px;
    font-weight: bold;
    line-height: 1;
}

.wgm-product-v2__anxiety-protocol-item {
    color: black;
    font-size: 16px;
    font-family: 'General Sans', sans-serif;
    font-weight: 500;
    line-height: 24px;
    white-space: nowrap;
}

/* Testimonial Section */
.wgm-product-v2__anxiety-testimonial {
    width: 100%;
    min-height: 275px;
    background: #0D3751;
    overflow: hidden;
    margin: 0 auto;
    padding: 60px 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    box-sizing: border-box;
}

/* Testimonial Quote */
.wgm-product-v2__anxiety-testimonial-quote {
    max-width: 580px;
    width: 100%;
    text-align: center;
    color: white;
    font-size: 48px;
    font-family: 'ITC Clearface Std', serif;
    font-weight: 500;
    line-height: 57.60px;
    word-wrap: break-word;
    margin: 0 auto 34px;
    padding: 0 20px;
}

/* Testimonial Author */
.wgm-product-v2__anxiety-testimonial-author {
    color: white;
    font-size: 16px;
    font-family: 'General Sans', sans-serif;
    font-weight: 500;
    line-height: 24px;
    word-wrap: break-word;
    text-align: center;
    margin: 0;
    padding: 0 20px;
}

/* Decorative Lines */
.wgm-product-v2__anxiety-testimonial::before,
.wgm-product-v2__anxiety-testimonial::after {
    content: '';
    width: 362px;
    height: 1px;
    position: absolute;
    background: white;
    top: calc(50% - 28px); /* Position near the center, aligned with quote */
}

.wgm-product-v2__anxiety-testimonial::before {
    left: 50px;
}

.wgm-product-v2__anxiety-testimonial::after {
    right: 50px;
}

/* Responsive adjustments */
@media (max-width: 1440px) {
    .wgm-product-v2__anxiety-exit {
        width: 100%;
        height: auto;
        min-height: 885px;
        padding: 20px;
    }
    
    .wgm-product-v2__anxiety-title,
    .wgm-product-v2__anxiety-subtitle,
    .wgm-product-v2__anxiety-description,
    .wgm-product-v2__anxiety-loop-title,
    .wgm-product-v2__anxiety-protocol-title {
        left: 20px;
    }
    
    .wgm-product-v2__anxiety-image-large {
        position: relative;
        left: auto;
        top: auto;
        width: 100%;
        max-width: 306px;
        margin: 20px auto;
        display: block;
    }
    
    .wgm-product-v2__anxiety-testimonial {
        width: 100%;
        padding: 60px 20px;
    }
    
    .wgm-product-v2__anxiety-testimonial::before,
    .wgm-product-v2__anxiety-testimonial::after {
        width: 20%;
    }
    
    .wgm-product-v2__anxiety-testimonial::before {
        left: 0;
    }
    
    .wgm-product-v2__anxiety-testimonial::after {
        right: 0;
    }
}

@media (max-width: 768px) {
    .wgm-product-v2__anxiety-title {
        font-size: 32px;
        line-height: 40px;
    }
    
    .wgm-product-v2__anxiety-subtitle {
        font-size: 18px;
        line-height: 26px;
    }
    
    .wgm-product-v2__anxiety-testimonial {
        min-height: 123px;
        padding: 20px 20px;
    }
    
    .wgm-product-v2__anxiety-testimonial-quote {
        font-size: 20px;
        line-height: 120%;
        width: 100%;
        max-width: 75%;
        margin: 0 auto 13px;
        padding: 0;
    }
    
    .wgm-product-v2__anxiety-testimonial-author {
        margin: 0 auto;
        padding: 0;
    }
    
    .wgm-product-v2__anxiety-testimonial::before,
    .wgm-product-v2__anxiety-testimonial::after {
        width: 16%;
        top: 47px;
    }
    
    .wgm-product-v2__anxiety-loop-item,
    .wgm-product-v2__anxiety-protocol-item {
        font-size: 14px;
    }
}

/* ============================================
   Product Template V3 - Everything Protocol
   ============================================ */

.wgm-product-v3__everything-protocol {
    width: 1440px;
    min-height: 730px;
    position: relative;
    background: white;
    overflow: hidden;
    margin: 0 auto;
    max-width: 100%;
    padding-bottom: 50px;
}

/* Title */
.wgm-product-v3__everything-title {
    left: 150px;
    top: 57px;
    position: absolute;
    color: black;
    font-size: 48px;
    font-family: 'ITC Clearface Std', serif;
    font-weight: 550;
    line-height: 57.60px;
    word-wrap: break-word;
}

/* Subtitle */
.wgm-product-v3__everything-subtitle {
    left: 150px;
    top: 122px;
    position: absolute;
    color: black;
    font-size: 22px;
    font-family: 'General Sans', sans-serif;
    font-style: italic;
    font-weight: 500;
    line-height: 33px;
    word-wrap: break-word;
}

/* Description */
.wgm-product-v3__everything-description {
    width: 296px;
    height: 25px;
    left: 150px;
    top: 167px;
    position: absolute;
    color: black;
    font-size: 16px;
    font-family: 'General Sans', sans-serif;
    font-weight: 500;
    line-height: 24px;
    word-wrap: break-word;
}

/* Time Period Images */
.wgm-product-v3__everything-time-image {
    width: 114.79px;
    height: 114.79px;
    position: absolute;
    background: #4D1C1C;
    overflow: hidden;
    border-radius: 4.41px;
}

.wgm-product-v3__everything-time-image img {
    width: 114.50px;
    height: auto;
    position: absolute;
    left: 0;
    top: -3.31px;
    object-fit: contain;
}

/* Time Titles */
.wgm-product-v3__everything-time-title {
    position: absolute;
    color: black;
    font-size: 24.28px;
    font-family: 'General Sans', sans-serif;
    font-weight: 600;
    line-height: 36.42px;
    word-wrap: break-word;
}

/* Time Descriptions */
.wgm-product-v3__everything-time-desc {
    position: absolute;
    color: black;
    font-size: 17.66px;
    font-family: 'General Sans', sans-serif;
    font-weight: 500;
    line-height: 26.49px;
    word-wrap: break-word;
}

/* Center Image */
.wgm-product-v3__everything-center-image {
    width: 190px;
    height: 325px;
    left: 625px;
    top: 405px;
    position: absolute;
    object-fit: contain;
}

/* Labels */
.wgm-product-v3__everything-label-left {
    width: 264px;
    left: 121px;
    top: 528px;
    position: absolute;
    text-align: center;
    color: #0D3751;
    font-size: 48px;
    font-family: 'ITC Clearface Std', serif;
    font-weight: 500;
    line-height: 57.60px;
    word-wrap: break-word;
}

.wgm-product-v3__everything-label-right {
    width: 264px;
    left: 1056px;
    top: 527px;
    position: absolute;
    text-align: center;
    color: #0D3751;
    font-size: 48px;
    font-family: 'ITC Clearface Std', serif;
    font-weight: 500;
    line-height: 57.60px;
    word-wrap: break-word;
}

/* State Labels */
.wgm-product-v3__everything-state-left {
    left: 214px;
    top: 651px;
    position: absolute;
    color: #0D3751;
    font-size: 17.66px;
    font-family: 'General Sans', sans-serif;
    font-weight: 500;
    line-height: 26.49px;
    word-wrap: break-word;
}

.wgm-product-v3__everything-state-center {
    left: 684px;
    top: 730px;
    position: absolute;
    color: #0D3751;
    font-size: 17.66px;
    font-family: 'General Sans', sans-serif;
    font-weight: 500;
    line-height: 26.49px;
    word-wrap: break-word;
}

.wgm-product-v3__everything-state-right {
    left: 1154px;
    top: 651px;
    position: absolute;
    color: #0D3751;
    font-size: 17.66px;
    font-family: 'General Sans', sans-serif;
    font-weight: 500;
    line-height: 26.49px;
    word-wrap: break-word;
}

/* Connecting Lines */
.wgm-product-v3__everything-line-left {
    width: 171px;
    height: 21px;
    left: 571px;
    top: 613px;
    position: absolute;
    transform: rotate(180deg);
    transform-origin: top left;
    background: #0D3751;
}

.wgm-product-v3__everything-line-right {
    width: 171px;
    height: 21px;
    left: 870px;
    top: 592px;
    position: absolute;
    background: #0D3751;
}

/* ============================================
   Product Template V3 - Who Thrives
   ============================================ */

.wgm-product-v3__who-thrives {
    width: 1440px;
    min-height: 1250px;
    position: relative;
    background: white;
    overflow: visible;
    margin: 50px auto;
    max-width: 100%;
    padding-bottom: 50px;
    display: block;
}

/* Title */
.wgm-product-v3__who-thrives-title {
    width: 599px;
    left: 93px;
    top: 875px;
    position: absolute;
    color: black;
    font-size: 48px;
    font-family: 'ITC Clearface Std', serif;
    font-weight: 550;
    line-height: 57.60px;
    word-wrap: break-word;
}

/* Items Container */
.wgm-product-v3__who-thrives-items {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Item */
.wgm-product-v3__who-thrives-item {
    width: 599px;
    left: 121px;
    position: absolute;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Bullet */
.wgm-product-v3__who-thrives-bullet {
    width: 17px;
    height: 17px;
    background: #12679C;
    flex-shrink: 0;
}

/* Item Text */
.wgm-product-v3__who-thrives-text {
    color: black;
    font-size: 16px;
    font-family: 'General Sans', sans-serif;
    font-weight: 500;
    line-height: 24px;
    word-wrap: break-word;
}

/* Button */
.wgm-product-v3__who-thrives-button {
    padding: 12px 20px;
    left: 93px;
    top: 1178px;
    position: absolute;
    background: #12679C;
    overflow: hidden;
    border-radius: 10px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    color: white;
    font-size: 20px;
    font-family: 'General Sans', sans-serif;
    font-weight: 500;
    line-height: 24px;
    text-decoration: none;
    word-wrap: break-word;
    transition: opacity 0.3s;
}

.wgm-product-v3__who-thrives-button:hover {
    opacity: 0.9;
}

/* Right Side Image */
.wgm-product-v3__who-thrives-image {
    width: 672px;
    height: 446px;
    left: 721px;
    top: 828px;
    position: absolute;
    border-radius: 10px;
    object-fit: cover;
}

/* Responsive adjustments */
@media (max-width: 1440px) {
    .wgm-product-v3__everything-protocol,
    .wgm-product-v3__who-thrives {
        width: 100%;
        height: auto;
        min-height: auto;
        padding: 20px;
    }
    
    .wgm-product-v3__everything-title,
    .wgm-product-v3__everything-subtitle,
    .wgm-product-v3__everything-description,
    .wgm-product-v3__who-thrives-title {
        left: 20px;
    }
    
    .wgm-product-v3__who-thrives-image {
        position: relative;
        left: auto;
        top: auto;
        width: 100%;
        max-width: 672px;
        margin: 20px auto;
        display: block;
    }
}

@media (max-width: 768px) {
    .wgm-product-v3__everything-title,
    .wgm-product-v3__who-thrives-title {
        font-size: 32px;
        line-height: 40px;
    }
    
    .wgm-product-v3__everything-subtitle {
        font-size: 18px;
        line-height: 26px;
    }
    
    .wgm-product-v3__everything-label-left,
    .wgm-product-v3__everything-label-right {
        font-size: 32px;
        line-height: 40px;
    }
    
    .wgm-product-v3__everything-time-title {
        font-size: 18px;
    }
    
    .wgm-product-v3__everything-time-desc {
        font-size: 14px;
    }
}

/* ============================================
   Product Template V5 - Sections
   ============================================ */

/* Neuroplasticity Section */
.wgm-product-v5__neuroplasticity {
    align-self: stretch;
    padding-top: 32px;
    padding-bottom: 56px;
    padding-left: 50px;
    padding-right: 50px;
    background: white;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 44px;
}

.wgm-product-v5__neuro-hero {
    align-self: stretch;
    height: 430px;
    padding-top: 52px;
    padding-bottom: 24px;
    padding-left: 24px;
    padding-right: 24px;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.20) 0%, rgba(0, 0, 0, 0.20) 100%);
    background-size: cover;
    background-position: center;
    overflow: hidden;
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
}

.wgm-product-v5__neuro-content {
    width: 740px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 16px;
}

.wgm-product-v5__neuro-eyebrow {
    align-self: stretch;
    color: white;
    font-size: 14px;
    font-family: 'General Sans', sans-serif;
    font-weight: 500;
    line-height: 21px;
    word-wrap: break-word;
}

.wgm-product-v5__neuro-title {
    align-self: stretch;
    color: white;
    font-size: 32px;
    font-family: 'ITC Clearface Std', serif;
    font-weight: 550;
    line-height: 38.40px;
    word-wrap: break-word;
}

.wgm-product-v5__neuro-benefits {
    align-self: stretch;
    padding: 32px;
    background: rgba(0, 0, 0, 0.20);
    overflow: hidden;
    border-radius: 20px;
    backdrop-filter: blur(20px);
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 40px;
}

.wgm-product-v5__neuro-benefit {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 16px;
}

.wgm-product-v5__neuro-benefit-icon {
    width: 32px;
    height: 32px;
    position: relative;
    overflow: hidden;
}

.wgm-product-v5__neuro-benefit-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.wgm-product-v5__neuro-benefit-title {
    align-self: stretch;
    color: white;
    font-size: 24px;
    font-family: 'ITC Clearface Std', serif;
    font-weight: 550;
    line-height: 28.80px;
    word-wrap: break-word;
}

.wgm-product-v5__neuro-benefit-description {
    align-self: stretch;
    color: white;
    font-size: 14px;
    font-family: 'General Sans', sans-serif;
    font-weight: 500;
    line-height: 21px;
    word-wrap: break-word;
}

/* Benefits Timeline Section */
.wgm-product-v5__benefits-timeline {
    align-self: stretch;
    padding-top: 64px;
    padding-bottom: 64px;
    background: white;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 44px;
    max-width: 1350px;
    margin: auto;
}

.wgm-product-v5__benefits-header {
    align-self: stretch;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 12px;
}

.wgm-product-v5__benefits-title {
    align-self: stretch;
    height: 47px;
    text-align: center;
    color: black;
    font-size: 44px;
    font-family: 'ITC Clearface Std', serif;
    font-weight: 550;
    line-height: 52.80px;
    word-wrap: break-word;
}

.wgm-product-v5__benefits-description {
    width: 554px;
    text-align: center;
    color: black;
    font-size: 16px;
    font-family: 'General Sans', sans-serif;
    font-weight: 500;
    line-height: 24px;
    word-wrap: break-word;
}

.wgm-product-v5__benefits-content {
    align-self: stretch;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 64px;
}

.wgm-product-v5__benefits-timeline-left {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 24px;
    position: relative;
}

.wgm-product-v5__benefits-timeline-line {
    width: 2px;
    height: 309px;
    left: 8px;
    top: 0px;
    position: absolute;
    background: #12679C;
}

.wgm-product-v5__benefits-phases {
    align-self: stretch;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 44px;
}

.wgm-product-v5__benefits-phase {
    align-self: stretch;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 14px;
}

.wgm-product-v5__benefits-phase-marker {
    position: relative;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.wgm-product-v5__benefits-phase-outer {
    width: 18px;
    height: 18px;
    background: #E8F6FC;
    border-radius: 9999px;
    position: absolute;
}

.wgm-product-v5__benefits-phase-inner {
    width: 10px;
    height: 10px;
    background: #12679C;
    border-radius: 9999px;
    position: absolute;
    left: 4px;
    top: 4px;
}

.wgm-product-v5__benefits-phase-content {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 20px;
}

.wgm-product-v5__benefits-phase-header {
    align-self: stretch;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 12px;
}

.wgm-product-v5__benefits-phase-time {
    padding-left: 12px;
    padding-right: 12px;
    padding-top: 8px;
    padding-bottom: 8px;
    background: #E8F6FC;
    border-radius: 1000px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    color: #12679C;
    font-size: 18px;
    font-family: 'General Sans', sans-serif;
    font-weight: 600;
    line-height: 24px;
    letter-spacing: 0.32px;
    word-wrap: break-word;
}

.wgm-product-v5__benefits-phase-title {
    display: flex;
    justify-content: center;
    flex-direction: column;
    color: #1A1A1A;
    font-size: 20px;
    font-family: 'ITC Clearface Std', serif;
    font-weight: 550;
    line-height: 24px;
    letter-spacing: 0.32px;
    word-wrap: break-word;
}

.wgm-product-v5__benefits-phase-description {
    align-self: stretch;
    display: flex;
    justify-content: center;
    flex-direction: column;
    color: #1A1A1A;
    font-size: 16px;
    font-family: 'General Sans', sans-serif;
    font-weight: 500;
    line-height: 24px;
    letter-spacing: 0.32px;
    word-wrap: break-word;
}

.wgm-product-v5__benefits-image-container {
    width: 608px;
    height: 582px;
    position: relative;
    flex-shrink: 0;
}

.wgm-product-v5__benefits-image {
    width: 608px;
    height: 582px;
    left: 0px;
    top: 0px;
    position: absolute;
    border-radius: 12px;
    object-fit: cover;
}

/* Quality Assurance Section */
.wgm-product-v5__quality-assurance {
    align-self: stretch;
    padding-left: 50px;
    padding-right: 50px;
    padding-top: 56px;
    padding-bottom: 56px;
    background: #F5F7F9;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 44px;
}

.wgm-product-v5__quality-content {
    align-self: stretch;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 64px;
    max-width: 1350px;
    margin: auto;
}

.wgm-product-v5__quality-text {
    width: 578px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 25px;
}

.wgm-product-v5__quality-title {
    align-self: stretch;
    color: black;
    font-size: 44px;
    font-family: 'ITC Clearface Std', serif;
    font-weight: 550;
    line-height: 52.80px;
    word-wrap: break-word;
}

.wgm-product-v5__quality-description {
    align-self: stretch;
    color: black;
    font-size: 16px;
    font-family: 'General Sans', sans-serif;
    font-weight: 500;
    line-height: 24px;
    word-wrap: break-word;
}

.wgm-product-v5__quality-features {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 12px;
}

.wgm-product-v5__quality-features-row {
    align-self: stretch;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 12px;
}

.wgm-product-v5__quality-feature {
    padding: 24px;
    background: white;
    overflow: hidden;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 12px;
}

.wgm-product-v5__quality-features-row .wgm-product-v5__quality-feature {
    flex: 1 1 0;
}

.wgm-product-v5__quality-feature--full {
    align-self: stretch;
    width: 100%;
}

.wgm-product-v5__quality-feature-icon {
    width: 36px;
    height: 36px;
    position: relative;
    overflow: hidden;
}

.wgm-product-v5__quality-feature-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.wgm-product-v5__quality-feature-title {
    color: black;
    font-size: 24px;
    font-family: 'ITC Clearface Std', serif;
    font-weight: 550;
    line-height: 28.80px;
    word-wrap: break-word;
}

.wgm-product-v5__quality-feature-description {
    align-self: stretch;
    color: black;
    font-size: 16px;
    font-family: 'General Sans', sans-serif;
    font-weight: 500;
    line-height: 24px;
    word-wrap: break-word;
}

/* Testimonial Section */
.wgm-product-v5__testimonial {
    width: 100%;
    height: 275px;
    position: relative;
    background: #0D3751;
    overflow: hidden;
    margin: 0 auto;
    max-width: 100%;
}

.wgm-product-v5__testimonial-quote {
    width: 709px;
    height: 109px;
    left: 460px;
    top: 77px;
    position: absolute;
    text-align: center;
    color: white;
    font-size: 30px;
    font-family: 'ITC Clearface Std', serif;
    font-weight: 500;
    line-height: 36px;
    word-wrap: break-word;
}

.wgm-product-v5__testimonial-attribution {
    left: 600px;
    top: 186px;
    position: absolute;
    color: white;
    font-size: 16px;
    font-family: 'General Sans', sans-serif;
    font-weight: 500;
    line-height: 24px;
    word-wrap: break-word;
}

.wgm-product-v5__testimonial-line-left {
    width: 290px;
    height: 0px;
    left: 50px;
    top: 115px;
    position: absolute;
    outline: 1px white solid;
    outline-offset: -0.50px;
}

.wgm-product-v5__testimonial-line-right {
    width: 280px;
    height: 0px;
    right: 50px;
    top: 115px;
    position: absolute;
    outline: 1px white solid;
    outline-offset: -0.50px;
}

/* Responsive adjustments for V5 */
@media (max-width: 1440px) {
    .wgm-product-v5__neuroplasticity,
    .wgm-product-v5__benefits-timeline,
    .wgm-product-v5__quality-assurance {
        padding-left: 0px;
        padding-right: 0px;
    }
    
    .wgm-product-v5__testimonial {
        width: 100%;
    }
    
    .wgm-product-v5__testimonial-quote {
        left: 50%;
        transform: translateX(-50%);
        width: 90%;
        max-width: 709px;
    }
    
    .wgm-product-v5__testimonial-attribution {
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    .wgm-product-v5__neuro-hero {
        height: auto;
        min-height: 430px;
    }

      
    .wgm-product-v5__benefits-timeline {
        padding-left: 16px;
        padding-right: 16px;
    }
    .wgm-product-v5__benefits-header{
        gap: 40px;
    }
    
    .wgm-product-v5__neuro-content {
        width: 100%;
    }
    
    .wgm-product-v5__neuro-benefits {
        flex-direction: column;
        gap: 24px;
    }
    
    .wgm-product-v5__benefits-content {
        flex-direction: column;
        gap: 32px;
    }
    
    .wgm-product-v5__benefits-image-container {
        width: 100%;
        height: auto;
    }
    
    .wgm-product-v5__benefits-image {
        position: relative;
        width: 100%;
        height: auto;
    }
    
    .wgm-product-v5__quality-content {
        flex-direction: column;
        gap: 32px;
    }
    
    .wgm-product-v5__quality-text {
        width: 100%;
    }
    
    .wgm-product-v5__quality-features-row {
        flex-direction: column;
    }
}



/* ============================================
   Product Template V5 - Accordion Drawer
   ============================================ */

.wgm-accordion-drawer {
    position: fixed;
    top: 0;
    right: -600px;
    width: 600px;
    max-width: 90vw;
    height: 100vh;
    background: white;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    transition: right 0.3s ease;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
}

.wgm-accordion-drawer.active {
    right: 0 !important;
}

.wgm-accordion-drawer__overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.wgm-accordion-drawer__overlay.active {
    opacity: 1;
    visibility: visible;
}

.wgm-accordion-drawer__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 32px;
    border-bottom: 1px solid #e5e7eb;
    flex-shrink: 0;
}

.wgm-accordion-drawer__title {
    font-size: 32px;
    font-family: 'ITC Clearface Std', serif;
    font-weight: 550;
    line-height: 38.40px;
    color: black;
    margin: 0;
}

.wgm-accordion-drawer__close {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    cursor: pointer;
    color: #1a1a1a;
    border-radius: 50%;
    transition: all 0.2s;
    padding: 0;
}

.wgm-accordion-drawer__close:hover {
    background: #f3f4f6;
}

.wgm-accordion-drawer__content {
    flex: 1;
    overflow-y: auto;
    padding: 0 32px;
}

.wgm-accordion-drawer__body {
    color: #1a1a1a;
    font-size: 16px;
    font-family: 'General Sans', sans-serif;
    font-weight: 500;
    line-height: 24px;
}

.wgm-accordion-drawer__body p {
    margin-bottom: 16px;
}

.wgm-accordion-drawer__body p:last-child {
    margin-bottom: 0;
}

/* Responsive adjustments for accordion drawer */
@media (max-width: 768px) {
    .wgm-accordion-drawer {
        width: 100vw;
        right: -100vw;
    }
    
    .wgm-accordion-drawer__title {
        font-size: 24px;
        line-height: 30px;
    }
    
    .wgm-accordion-drawer__header {
        padding: 20px 24px;
    }
    
    .wgm-accordion-drawer__content {
        padding: 24px;
    }
}