.dev-spw {
    width: 100%;
}

/* BREADCRUMB — tweak padding-left/right to match column outer padding */
.dev-breadcrumb {
    padding: 16px 60px 0px 60px !important;
    font-size: 1rem !important;
}

.dev-breadcrumb .woocommerce-breadcrumb {
    color: #6b7280;
}

.dev-breadcrumb .woocommerce-breadcrumb a {
    color: #075FAB;
    text-decoration: none;
}

.dev-breadcrumb .woocommerce-breadcrumb a:hover {
    text-decoration: underline;
}

/* TOP SECTION: 2 columns, edge-to-edge
   ↳ gap: column gutter between gallery and summary
   ↳ column padding below controls per-column breathing room */
.dev-product-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: start;
}

/* GALLERY — adjust padding for breathing room
   top/bottom: vertical space inside the column
   left/right: space from the browser edge (outer) and the gutter (inner) */
.dev-gallery {
    min-width: 0;
    padding: 0px 48px 0px 60px; /* top | inner-right | bottom | outer-left */
}

.dev-gallery img,
.dev-gallery .wc-pgs-slider-container,
.dev-gallery .swiper-wrapper,
.dev-gallery .swiper-slide {
    max-width: 100%;
}

/* SUMMARY — adjust padding for breathing room
   left/right: space from the gutter (inner) and the browser edge (outer) */
.dev-summary {
    min-width: 0;
    padding: 0px 60px 0px 48px; /* top | outer-right | bottom | inner-left */
}

.dev-summary .product_title {
    font-size: 2rem;
    font-weight: 700;
    color: #1a3a5c;
    margin: 0 0 12px;
    line-height: 1.2;
}

.dev-summary .dev-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    font-size: 0.9rem;
}

.dev-summary .dev-description p {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.2;
    color: #000000;
    margin: 0 0 24px;
}

/* PURCHASE BOX */
.dev-purchase-box {
    background: #e8f4fb;
    border-radius: 8px;
    padding: 24px;
}

.dev-purchase-box .single_add_to_cart_button {
    background-color: #FF6200 !important;
    border-color: #FF6200 !important;
    color: #fff !important;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.dev-purchase-box .single_add_to_cart_button:hover,
.dev-purchase-box .single_add_to_cart_button:focus {
    background-color: #d62717 !important;
    border-color: #d62717 !important;
    color: #fff !important;
}

.dev-trust-badges {
    list-style: none;
    margin: 16px 0 0;
    padding: 0;
    border-top: 1px solid #c8dff0;
    padding-top: 12px;
}

.dev-trust-badges li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: #555;
}

/* PRODUCT INFO */
.dev-product-info {
    padding: 48px 60px 60px;
    /* border-top: 1px solid #e0e0e0; */
}

/* BELOW THE FOLD */
.dev-product-bottom {
    /* border-top: 1px solid #e0e0e0; */
}

/* ABOUT THIS PRODUCT + HOW TO USE (2 columns, above the tabs) */
.dev-about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    padding: 48px 60px 48px;
    align-items: stretch;
}

.dev-about-left {
    padding: 24px;
}

.dev-about-left-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a3a5c;
    margin: 0 0 16px;
}

.dev-about-right {
    display: flex;
    flex-direction: column;
}

.dev-about-right .boiron-mdt-info {
    width: 100%;
}

/* Short description text above the highlights */
.dev-short-desc {
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
    margin-bottom: 24px;
}

.dev-about-left .dev-short-desc:last-child {
    margin-bottom: 0;
}

/* Dosage / Ingredients / Warnings / FAQ accordion content typography */
.dev-about-right p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #333;
    margin: 0 0 10px;
}

.dev-about-right p:last-child {
    margin-bottom: 0;
}

.dev-about-right ul {
    margin: 0 0 12px;
    padding-left: 20px;
}

.dev-about-right li {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #333;
    margin-bottom: 4px;
}

.dev-about-right ul:last-child {
    margin-bottom: 0;
}

/* RELATED BLOG ARTICLES */
.dev-related-articles {
    padding: 48px 60px 60px;
    /* border-top: 1px solid #e0e0e0; */
}

/* DISCOURSE */
.dev-discourse {
    padding: 48px 60px 60px;
    /* border-top: 1px solid #e0e0e0; */
}

/* RELATED PRODUCTS */
.dev-related {
    padding: 48px 60px 60px;
    /* border-top: 1px solid #e0e0e0; */
}

.dev-related-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1a3a5c;
    margin: 0 0 24px;
}

/* PRODUCT VIDEO */
.dev-product-video {
    padding: 0 60px 48px;
    max-width: 800px;
    margin: 0 auto;
    box-sizing: content-box; /* keep the 60px side padding outside the 800px cap */
}

/* REVIEWS */
.dev-reviews {
    padding: 48px 60px 60px;
    /* border-top: 1px solid #e0e0e0; */
}

/* FAQ (now an accordion item inside .dev-about-right) */
.dev-faq {
    padding: 0;
}

.dev-faq-item {
    /* border-bottom: 1px solid #e0e0e0; */
}

.dev-faq-question {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    background: none;
    border: none;
    padding: 16px 0;
    text-align: left;
    font-size: 1rem;
    font-weight: 600;
    color: #000000;
    cursor: pointer;
    line-height: 1.4;
}

.dev-faq-question:hover, .dev-faq-question:focus {
    color: #000000;
}

.dev-faq-icon-open {
    display: none;
}

.dev-faq-question[aria-expanded="true"] .dev-faq-icon-closed {
    display: none;
}

.dev-faq-question[aria-expanded="true"] .dev-faq-icon-open {
    display: inline;
}

.dev-faq-answer {
    padding: 0 0 20px 24px;
    font-size: 0.95rem;
    line-height: 1.7;
    color: #333;
}

.dev-faq-answer p {
    margin: 0 0 12px;
}

.dev-faq-answer p:last-child {
    margin-bottom: 0;
}

/* --- RESPONSIVE --- */
@media ( max-width: 768px ) {
    .dev-product-top {
        grid-template-columns: 1fr;
    }

    .dev-breadcrumb,
    .dev-gallery,
    .dev-summary {
        padding-left: 20px;
        padding-right: 20px;
    }

    .dev-summary .product_title {
        font-size: 1.5rem;
    }

    .dev-about-grid {
        grid-template-columns: 1fr;
        padding: 32px 20px 32px;
        gap: 20px;
    }

    .dev-related-articles {
        padding: 32px 20px 40px;
    }

    .dev-discourse {
        padding: 32px 20px 40px;
    }

    .dev-related {
        padding: 32px 20px 40px;
    }

    .dev-reviews {
        padding: 32px 20px 40px;
    }

    .dev-product-video {
        padding: 0 20px 32px;
    }

}
