/* ==========================================================================
   1. GENERAL LAYOUT & TYPOGRAPHY
   ========================================================================== */
article, .post-navigation, #comments {
    padding: 20px;
    max-width: 1280px;
    margin: 0 auto;
}

@media screen and (max-width: 600px) {
    article, .post-navigation, #comments {
        padding: 6px;
    }
}

.product-manufacturer {
    font-size: 2rem;
    text-transform: uppercase;
    font-weight: 500;
    color: #666;
    margin-bottom: 5px;
    line-height: 1;
}

.product_title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-top: 0 !important;
    margin-bottom: 15px !important;
}

.price {
    font-size: 1.5rem;
    color: #333;
    font-weight: 700;
}


/* ==========================================================================
   2. WOOCOMMERCE CORE & PRODUCT GALLERY
   ========================================================================== */
a.woocommerce-product-gallery__trigger, 
.entry-meta, 
.single-product .entry-header {
    display: none !important;
}

.woocommerce-product-gallery {
    display: flex !important;
    position: relative !important;
    opacity: 1 !important;
}

.woocommerce-product-gallery__image {
    pointer-events: none !important;
}

.woocommerce-product-gallery__wrapper {
    cursor: default !important;
}

.woocommerce-product-gallery .flex-control-nav {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    z-index: 10;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.woocommerce-product-gallery .flex-control-nav::-webkit-scrollbar {
    display: none;
}

.woocommerce-product-gallery .flex-control-nav li {
    margin: 0 !important;
    padding: 0 !important;
}

.woocommerce-product-gallery .flex-control-nav li img {
    opacity: 0.5;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    object-fit: cover;
    cursor: pointer;
}

.woocommerce-product-gallery .flex-control-nav li img.flex-active,
.woocommerce-product-gallery .flex-control-nav li img:hover {
    opacity: 1;
    border-color: #000;
}

@media (min-width: 768px) {
    .woocommerce div.product {
        display: grid;
        grid-template-columns: 2fr 1.2fr;
        gap: 5rem;
        align-items: start;
        position: relative;
    }
    .product-gallery-column {
        position: sticky;
        top: 30px;
        height: fit-content;
    }
    .woocommerce div.product div.summary,
    .woocommerce div.product div.images {
        width: 100% !important;
        float: none !important;
    }
    .woocommerce-product-gallery {
        flex-direction: row;
    }
    .woocommerce-product-gallery .flex-viewport {
        width: 85% !important;
        margin-left: 15% !important;
    }
    .woocommerce-product-gallery .flex-control-nav {
        position: absolute !important;
        left: 0;
        top: 0;
        width: 12% !important;
        height: 100%;
        overflow-y: auto !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 10px;
    }
    .woocommerce-product-gallery .flex-control-nav li {
        width: 100% !important;
    }
}

@media (max-width: 767px) {
    .woocommerce-product-gallery {
        flex-direction: column !important;
    }
    .woocommerce-product-gallery .flex-viewport {
        width: 100% !important;
        margin-bottom: 15px;
    }
    .woocommerce-product-gallery .flex-control-nav {
        position: relative !important;
        display: flex !important;
        flex-direction: row !important;
        overflow-x: auto !important;
        overflow-y: hidden;
        width: 100% !important;
        gap: 10px;
        padding-bottom: 5px !important;
    }
    .woocommerce-product-gallery .flex-control-nav li {
        flex: 0 0 20% !important;
        min-width: 70px;
    }
}

.onsale {
	left: auto!important;
    right: 10px!important;
}


/* ==========================================================================
   3. PRODUCT SHORT DESCRIPTION & ACCORDIONS
   ========================================================================== */
.woocommerce-product-details__short-description {
    margin-top: 20px;
    margin-bottom: 30px;
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.woocommerce-product-details__short-description ul {
    list-style: none;
    padding: 0;
}

.woocommerce-product-details__short-description li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
}

.woocommerce-product-details__short-description li:before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    width: 20px;
    height: 20px;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
    background-image: url('../images/graphs/arrow-right.svg');
}


.accordion-item {
    border-bottom: 1px solid #ddd;
}

.accordion-header {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    padding: 15px 0;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    outline: none;
}

.accordion-header .icon {
    font-weight: 400;
    font-size: 1.5em;
}

.accordion-content {
    display: none;
    padding-bottom: 20px;
    color: #555;
    line-height: 1.6;
}


/* ==========================================================================
   4. ADD TO CART & QUANTITY
   ========================================================================== */
.woocommerce div.product form.cart {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
}

.woocommerce div.product form.cart .button {
    vertical-align: middle;
    float: left;
    margin: 4px 0;
}

.single_add_to_cart_button.button {
    background-color: #1F1F1F !important;
    color: #FFFFFF !important;
    width: 100%;
    display: block;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 18px 20px !important;
    border-radius: 4px !important;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
}

.single_add_to_cart_button.button:hover {
    background-color: #333333 !important;
    transform: translateY(-1px);
}

.woocommerce div.product form.cart .quantity {
    display: flex;
    flex-wrap: wrap;
    float: none;
    margin: 0 15px 0 0;
}

.woocommerce div.product form.cart .quantity .screen-reader-text {
    display: block;
    font-weight: 700;
    margin-bottom: 5px;
    font-size: 1rem;
    width: 100%;
}

.custom-quantity-wrapper {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 4px;
    width: fit-content;
    background: #fff;
}

.qty-btn {
    background: transparent;
    border: none;
    color: #333;
    font-size: 1.2rem;
    font-weight: 400;
    width: 40px;
    height: 45px;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    transition: background 0.2s;
}

.qty-btn:hover {
    background-color: #f5f5f5;
}

.woocommerce div.product form.cart .quantity input.qty {
    border: none !important;
    background: transparent !important;
    text-align: center;
    width: 50px;
    height: 45px;
    font-size: 1rem;
    font-weight: 700;
    color: #333;
    padding: 0;
    margin: 0;
    -moz-appearance: textfield;
}

.woocommerce div.product form.cart .quantity input.qty::-webkit-outer-spin-button,
.woocommerce div.product form.cart .quantity input.qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}


/* ==========================================================================
   5. CUSTOM VARIATIONS & BADGES
   ========================================================================== */
.ds-variation-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ds-variation-item {
    position: relative;
    display: flex;
    align-items: center;
    padding: 15px 20px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-bottom: 10px;
}

.ds-variation-item:has(input:checked),
.ds-variation-item.checked {
    background-color: #fceced !important;
    border-color: #d32f2f !important;
}

.ds-variation-content {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-left: 15px;
    font-weight: 700;
}

.ds-badge {
    position: absolute;
    top: -8px;
    left: 20px;
    background: #d32f2f;
    color: #fff;
    padding: 0 10px;
    font-size: 11px;
    border-radius: 4px;
    text-transform: uppercase;
    line-height: 2;
}

.ds-badge.favorite {
    background: #ff8907;
}

.reset_variations {
    display: none !important;
}

.ds-variation-radio-dot {
    height: 18px;
    width: 18px;
    border: 2px solid #ccc;
    border-radius: 50%;
    margin-right: 15px;
    position: relative;
    flex-shrink: 0;
}

.ds-variation-item.checked .ds-variation-radio-dot {
    border-color: #000;
}

.ds-variation-item.checked .ds-variation-radio-dot::after {
    content: '';
    width: 10px;
    height: 10px;
    background: #000;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.single_variation_wrap {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.product-badges-bar {
    display: flex !important;
    justify-content: space-between;
    align-items: flex-start;
    padding: 20px 0;
    margin-top: 25px;
    border-top: 1px solid #eee;
    width: 100%;
    gap: 10px;
    clear: both;
}

.badge-item {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
}

.badge-item img {
    width: 32px !important;
    height: 32px !important;
    object-fit: contain;
    flex-shrink: 0;
}

.badge-item span {
    font-size: 9px !important;
    font-weight: 800 !important;
    line-height: 1.2;
    color: #444;
    text-transform: uppercase;
    letter-spacing: .3px;
}

@media (max-width: 767px) {
    .product-badges-bar {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        gap: 20px 10px;
        padding: 20px 10px;
    }
}


/* ==========================================================================
   6. CLINICAL STUDIES
   ========================================================================== */
.clinical-studies-section {
    width: 100%;
    max-width: 1440px;
    margin: 60px auto;
    padding: 20px;
    background-color: #fcfcfc;
}

.studies-title {
    font-size: 1.8rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.studies-divider {
    border: 0;
    height: 2px;
    background: #000;
    margin-bottom: 40px;
    width: 100%;
}

.studies-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: start;
}

.study-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    height: 100%;
}

.circle-wrapper {
    position: relative;
    width: 100px;
    height: 100px;
    flex-shrink: 0;
}

.progress-ring__circle {
    transition: stroke-dashoffset 1.5s ease-out;
    transform: rotate(-90deg);
    transform-origin: 50% 50%;
    stroke-dasharray: 251.2;
    stroke-dashoffset: 251.2;
}

.icon-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 0;
}

.color-green .progress-ring__circle { stroke: #84d073; }
.color-green .icon-center { color: #84d073; }
.color-orange .progress-ring__circle { stroke: #ffb86c; }
.color-orange .icon-center { color: #ffb86c; }
.color-blue .progress-ring__circle { stroke: #cdf0fb; }
.color-blue .icon-center { color: #cdf0fb; }
.color-purple .progress-ring__circle { stroke: #c2d3f7; }
.color-purple .icon-center { color: #c2d3f7; }

.study-content .percentage-text {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 5px;
    color: rgba(0,0,0,0.75);
}

.study-content .description {
    font-size: .9rem;
    color: #666;
    line-height: 1.4;
    margin: 0;
}

.studies-footnotes {
    margin-top: 40px;
    font-size: .75rem;
    color: #999;
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.studies-footnotes p {
    margin-bottom: 5px;
}

.study-group-wrapper {
    grid-column: span 2;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    padding: 25px;
    display: flex;
    flex-direction: column;
}

.study-group-title {
    font-size: 2rem;
    color: #999;
    margin-bottom: 15px;
    font-style: italic;
    font-family: serif;
}

.study-group-flex {
    display: flex;
    gap: 30px;
}

.study-group-flex .study-item {
    box-shadow: none;
    padding: 0;
    background: transparent;
    flex: 1;
}

@media (max-width: 1024px) {
    .studies-grid { grid-template-columns: 1fr 1fr; }
    .study-group-wrapper { grid-column: span 2; }
}

@media (max-width: 767px) {
    .studies-grid { grid-template-columns: 1fr; gap: 20px; }
    .study-group-wrapper { grid-column: span 1; padding: 20px; }
    .study-group-flex { flex-direction: column; gap: 30px; position: relative; }
    .study-group-flex .study-item:first-child { border-bottom: 1px solid #eee; padding-bottom: 20px; }
    .studies-title { font-size: 1.5rem; }
    .study-content .percentage-text { font-size: 1.8rem; }
    .study-item { flex-direction: column; text-align: center; gap: 15px; }
    .circle-wrapper { margin: 0 auto; }
}


/* ==========================================================================
   7. STICKY CART BAR
   ========================================================================== */
.sticky-cart-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    padding: 10px 20px;
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.4s ease-in-out;
}

.sticky-cart-bar.is-visible {
    transform: translateY(0);
}

.sticky-container {
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sticky-product-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.sticky-product-info img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.sticky-title {
    font-weight: 700;
    text-transform: uppercase;
    font-size: .9rem;
    color: #000;
}

.sticky-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.sticky-price {
    font-weight: 700;
    font-size: 1.1rem;
    color: #333;
}

.sticky-add-btn {
    background-color: #1F1F1F !important;
    color: #fff !important;
    padding: 10px 25px !important;
    font-size: 0.85rem !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.sticky-add-btn:hover {
    background-color: #333 !important;
}

.sticky-qty-wrapper {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 4px;
    height: 36px;
}

.sticky-qty-btn {
    background: none;
    border: none;
    width: 30px;
    height: 100%;
    font-size: 1rem;
    cursor: pointer;
    color: #555;
}

.sticky-qty-btn:hover {
    background: #f5f5f5;
}

.sticky-qty-input {
    width: 35px;
    border: none;
    text-align: center;
    font-weight: 700;
    padding: 0;
    margin: 0;
    -moz-appearance: textfield;
}

.sticky-qty-input::-webkit-outer-spin-button,
.sticky-qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

@media (max-width: 768px) {
    .sticky-title { display: none; }
    .sticky-product-info img { width: 30px; height: 30px; }
    .sticky-actions { gap: 10px; }
    .sticky-add-btn { padding: 10px 15px !important; font-size: 0.75rem !important; }
}


/* ==========================================================================
   8. TABS, INGREDIENTS MODAL & ATTRIBUTES
   ========================================================================== */
.product-bottom-tabs-section {
    max-width: 1440px;
    margin: 60px auto;
    padding: 0 20px;
}

.bottom-tabs-nav {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
    display: flex;
    gap: 15px;
    border-bottom: 1px solid #ddd;
}

.bottom-tabs-nav li {
    padding: 10px 20px;
    cursor: pointer;
    font-weight: 700;
    font-size: .9rem;
    color: #333;
    text-transform: uppercase;
    transition: all 0.3s;
    position: relative;
}

.bottom-tabs-nav li:hover { color: #000; }
.bottom-tabs-nav li.active {
    background-color: #cf2e2e;
    color: #fff;
    border-radius: 4px 4px 0 0;
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s;
}

.tab-content.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.tab-inner-content {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
    padding: 10px 0;
}

.ingredients-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.ing-item {
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid #e0e0e0;
    background: #fff;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 6px;
    font-weight: 700;
    color: #333;
}

.ing-item:hover {
    border-color: #333;
    background-color: #fcfcfc;
}

.ing-item .plus-icon {
    color: #ccc;
    font-size: 1.2em;
    font-weight: 300;
}

.ing-modal {
    display: none;
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    background-color: rgba(0,0,0,0.6);
    backdrop-filter: blur(2px);
    box-sizing: border-box;
}

body.modal-open-fix { overflow: hidden; }

.ing-modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 40px;
    border: 1px solid #888;
    width: 90%;
    max-width: 600px;
    position: relative;
    border-radius: 8px;
    text-align: left;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    box-sizing: border-box;
}

.ing-modal-close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: 700;
    position: absolute;
    top: 15px;
    right: 20px;
    cursor: pointer;
    z-index: 10;
}

.ing-modal-close:hover { color: #000; }

.ing-modal-symbol {
    font-size: 5rem;
    font-weight: 300;
    color: #ccc;
    line-height: 1;
    margin-bottom: 20px;
    font-family: serif;
}

.ing-modal-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #333;
}

.ing-modal-body {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #555;
}

.ds-ingredients-details {
    border-top: 1px solid #eee;
    padding-top: 15px;
}

.ds-ingredients-details summary {
    list-style: none;
    cursor: pointer;
    font-size: 18px;
    color: #cf3339;
    font-weight: 900;
    display: flex;
    justify-content: space-between;
    align-items: center;
    outline: none;
}

.ds-ingredients-details summary::after {
    content: '+';
    font-size: 18px;
    font-weight: 300;
}

.ds-ingredients-details[open] summary::after { content: '-'; }
.ds-ingredients-details summary::-webkit-details-marker { display: none; }

.extra-ingredients-content {
    padding: 15px 0;
    font-size: 13px;
    line-height: 1.6;
    color: #666;
    text-align: justify;
}

.ds-product-attributes {
    margin: 20px 0;
    padding: 0 5px;
    border: 1px solid #eee;
    border-radius: 8px;
    background: #fafafa;
}

.ds-product-attributes h4 { margin: 0 !important; }
.ds-product-attributes ul {
    list-style: none !important;
    margin: 0 !important;
    padding: 5px 15px !important;
}

.ds-product-attributes li {
    margin-bottom: 8px;
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #e5e5e5;
    padding-bottom: 5px;
}

.ds-product-attributes li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.ds-attr-label { font-weight: 700; color: #333; margin-right: 10px; }
.ds-attr-value { color: #666; }

.mobile-accordion-header { display: none; }

@media (max-width: 768px) {
    .bottom-tabs-nav { display: none; }
    .mobile-accordion-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        background: #f9f9f9;
        padding: 15px;
        margin: 0;
        border-bottom: 1px solid #ddd;
        font-size: 1rem;
        font-weight: 700;
        cursor: pointer;
        color: #333;
        text-transform: uppercase;
    }
    .tab-content { display: block !important; margin-bottom: 0; }
    .tab-inner-content { padding: 20px; border-bottom: 1px solid #ddd; }
    .ingredients-grid { grid-template-columns: 1fr; gap: 10px; }
}

@media (max-width: 600px) {
    .ing-modal-content { margin: 20% auto; padding: 25px; }
    .ing-modal-symbol { font-size: 4rem; }
}


/* ==========================================================================
   9. EXTENDED DESCRIPTION (3 Columns)
   ========================================================================== */
#extend-d {
    width: 100%;
    max-width: 1440px;
    margin: 60px auto;
    padding: 20px;
    box-sizing: border-box;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
}

#extend-d h3 {
    margin-top: 0;
    font-weight: 500;
    color: #000;
}

#extend-d ul {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px 30px;
    list-style: none !important;
    padding: 0 !important;
    margin: 30px 0 0 0;
}

#extend-d ul li {
    position: relative;
    padding-left: 44px;
    font-size: 14px;
    line-height: 1.6;
    color: #333;
}

#extend-d ul li::before {
    content: "\00BB";
    position: absolute;
    left: 0;
    top: 3px;
    font-size: 1.25rem;
    font-weight: 700;
    color: #333;
    line-height: 1;
}

#extend-d ul li strong {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: #222;
    margin-bottom: 8px;
}

@media (max-width: 991px) {
    #extend-d ul { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
    #extend-d ul { grid-template-columns: 1fr; gap: 25px; }
}


/* ==========================================================================
   10. COMMENTS & REVIEWS
   ========================================================================== */
#comments {
    margin: 80px auto;
    padding: 40px 20px;
    background-color: #fff;
    border-top: 1px solid #eee;
}

#comments .comment-reply-title, 
#comments .comments-title {
    font-family: 'Roboto', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 40px;
    text-align: center;
}

.comment-reply-title small a {
    display: block;
    font-size: .8rem;
    color: #999;
    text-decoration: none;
    margin-top: 5px;
    text-transform: none;
    font-weight: 400;
}

.comment-list {
    list-style: none;
    padding: 0;
    margin-bottom: 60px;
}

.comment-body {
    display: flex;
    gap: 20px;
    padding: 30px;
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    margin-bottom: 20px;
    transition: box-shadow 0.3s ease;
}

.comment-body:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.ds-custom-avatar, 
.comment-list .avatar {
    border-radius: 50% !important;
    width: 60px;
    height: 60px;
    background: #f5f5f5;
    object-fit: cover !important;
    border: 1px solid #eee;
}

.current-profile-pic img {
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.comment-content { flex-grow: 1; }
.comment-author cite { font-style: normal; font-weight: 700; font-size: 1rem; color: #1F1F1F; }
.comment-metadata { font-size: .8rem; color: #999; margin-bottom: 10px; }
.comment-content p { font-size: 1rem; line-height: 1.6; color: #555; margin: 0; }

.reply a {
    display: inline-block;
    margin-top: 10px;
    font-size: .85rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #cf2e2e;
    text-decoration: none;
}

#respond {
    background: #fcfcfc;
    padding: 40px;
    border-radius: 12px;
}

.comment-form { display: grid; gap: 20px; }
.comment-form-comment { margin-bottom: 20px; }
.comment-form-comment label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 8px; text-transform: uppercase; color: #333; }

.comment-form textarea, 
textarea#comment {
    width: 100%;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 15px;
    font-family: inherit;
    font-size: 1rem;
    min-height: 150px;
    outline: none;
    transition: border-color 0.3s;
    background-color: #f9f9f9;
    resize: vertical;
}

.comment-form textarea:focus, 
textarea#comment:focus {
    background-color: #fff;
    border-color: #000;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.form-submit { text-align: center; margin-top: 20px; }

input#submit.submit-button, 
.comment-form .submit {
    background-color: #1F1F1F !important;
    color: #fff !important;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 15px 40px !important;
    border: none !important;
    border-radius: 4px !important;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s;
    width: auto;
    display: inline-block;
}

input#submit.submit-button:hover, 
.comment-form .submit:hover {
    background-color: #333 !important;
    transform: translateY(-2px);
}

.required { color: #cf2e2e; }
.required-field-message { font-size: .8rem; color: #999; font-style: italic; }
.logged-in-as { font-size: .9rem; color: #666; text-align: center; margin-bottom: 25px; }
.logged-in-as a { color: #000; text-decoration: none; font-weight: 600; border-bottom: 1px solid #ddd; transition: all 0.2s; }
.logged-in-as a:hover { border-bottom-color: #000; }

.star-rating {
    overflow: hidden;
    position: relative;
    height: 1em;
    line-height: 1;
    font-size: 1.1em;
    width: 5.4em;
    font-family: 'star';
    color: #ffb800;
    margin-bottom: 10px;
}
.star-rating:before { content: "\73\73\73\73\73"; float: left; top: 0; left: 0; position: absolute; color: #e0e0e0; }
.star-rating span { overflow: hidden; float: left; top: 0; left: 0; position: absolute; padding-top: 1.5em; }
.star-rating span:before { content: "\53\53\53\53\53"; top: 0; left: 0; position: absolute; }

.woocommerce p.stars a { position: relative; height: 1em; width: 1em; text-indent: -999em; display: inline-block; text-decoration: none; font-size: 24px; color: #ffca00; }
#review_form_wrapper { background: #fff; padding: 30px; border: 1px solid #eee; margin-top: 40px; }
#review_form_wrapper #reply-title { font-size: 20px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 20px; display: block; }

#review_form .comment-form-comment textarea, 
#review_form .comment-form-author input, 
#review_form .comment-form-email input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 0;
    background: #fafafa;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

#review_form input:focus, 
#review_form textarea:focus {
    border-color: #000;
    background: #fff;
    outline: none;
}

@media (min-width: 768px) {
    .comment-form-author, .comment-form-email { width: 48%; display: inline-block; }
    .comment-form-email { float: right; }
}

.ds-reviews-summary-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    background: #fff;
    padding: 30px;
    border: 1px solid #eee;
    margin-bottom: 40px;
    align-items: center;
}

.ds-summary-score { text-align: center; flex: 1; min-width: 150px; border-right: 1px solid #f0f0f0; }
.ds-avg-num { font-size: 54px; font-weight: 800; display: block; line-height: 1; color: #000; }
.ds-summary-stars { margin: 10px 0; color: #fc0; }
.ds-total-reviews { font-size: 13px; color: #888; }
.ds-summary-bars { flex: 2; min-width: 250px; }
.ds-bar-row { display: flex; align-items: center; gap: 15px; margin-bottom: 10px; font-size: 13px; }
.ds-star-label { min-width: 70px; font-weight: 600; }
.ds-bar-bg { flex-grow: 1; height: 8px; background: #f0f0f0; border-radius: 4px; overflow: hidden; }
.ds-bar-fill { height: 100%; background: #000; }
.ds-star-count { min-width: 20px; text-align: right; color: #999; }

.ds-review-notice { background: #f9f9f9; padding: 40px; text-align: center; border: 1px solid #eee; margin: 20px 0; }
.ds-review-notice p { font-size: 16px; color: #333; margin-bottom: 20px; }
.ds-return-shop { background: #000 !important; color: #fff !important; padding: 12px 25px !important; text-transform: uppercase; font-weight: 700; text-decoration: none; display: inline-block; }

@media (max-width: 768px) {
    .ds-reviews-summary-container { flex-direction: column; }
    .ds-summary-score { border-right: none; border-bottom: 1px solid #f0f0f0; padding-bottom: 20px; width: 100%; }
}

@media (max-width: 600px) {
    .comment-body { flex-direction: column; align-items: center; text-align: center; }
    #respond { padding: 20px; }
}


/* ==========================================================================
   11. FREQUENTLY BOUGHT TOGETHER
   ========================================================================== */
.fbt-bundle-container {
    max-width: 1440px;
    margin: 60px auto;
    padding: 30px;
    border: 1px solid #e5e5e5;
    background: #fff;
    border-radius: 8px;
}

.fbt-products-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 40px;
}

.fbt-product-item { text-align: center; width: 160px; }
.fbt-product-item img { width: 100%; height: auto; max-height: 180px; object-fit: contain; margin-bottom: 10px; }
.fbt-item-info .fbt-brand { display: block; font-size: .7rem; color: #999; text-transform: uppercase; font-weight: 700; }
.fbt-item-info .fbt-title { display: block; font-size: .9rem; font-weight: 600; line-height: 1.3; margin-bottom: 5px; min-height: 2.6em; }
.fbt-item-info .fbt-price { font-weight: 700; color: #333; }
.fbt-plus-sign { font-size: 2rem; color: #ccc; font-weight: 300; margin: 0 10px; }

.fbt-selection-list {
    margin-bottom: 30px;
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.fbt-checkbox-row { display: flex; align-items: center; margin-bottom: 10px; cursor: pointer; font-size: 1rem; }
.fbt-check { margin-right: 10px; width: 18px; height: 18px; accent-color: #000; }
.fbt-check-label { flex-grow: 1; color: #555; }
.fbt-row-price { font-weight: 700; color: #333; }
.fbt-row-price del { color: #999; font-weight: 400; margin-right: 5px; font-size: .9em; }

.fbt-footer-action {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.fbt-total-wrapper { text-align: center; }
.fbt-bundle-label { display: block; font-size: .9rem; color: #666; }
.fbt-total-price-box { font-size: 1.5rem; font-weight: 800; color: #333; }
.fbt-total-price-box del { color: #999; font-size: 1rem; font-weight: 400; margin-right: 5px; }

#fbt-add-all-btn {
    background-color: #1F1F1F;
    color: #fff;
    padding: 15px 40px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 1rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s;
    width: max-content;
}

#fbt-add-all-btn:hover { background-color: #333; }
#fbt-add-all-btn:disabled { background-color: #ccc; cursor: not-allowed; }

@media (max-width: 768px) {
    .fbt-products-grid { gap: 10px; }
    .fbt-plus-sign { font-size: 1.5rem; margin: 0 5px; }
    .fbt-product-item { width: 100px; }
    .fbt-item-info .fbt-title { font-size: .8rem; }
    .fbt-footer-action { flex-direction: column; gap: 15px; }
    #fbt-add-all-btn { width: 100%; }
}


/* ==========================================================================
   12. SCIENCE SECTION & EXTERNAL LINKS
   ========================================================================== */
.science-section { padding: 60px 20px; background: #fff; font-family: 'Roboto', sans-serif; }
.science-container { max-width: 1400px; margin: 0 auto; }
.science-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 50px; text-align: center; }

.header-step { flex: 1; display: flex; flex-direction: column; align-items: center; }
.header-step .icon-box img { height: 40px; margin-bottom: 10px; }
.header-step h3 { font-size: 2.5rem; font-weight: 800; color: #cf3339; margin: 0; -webkit-text-stroke: medium; }

.header-connector { flex: 2; height: 2px; background: #000; position: relative; margin: 0 20px; top: -15px; }
.header-connector::after {
    content: '';
    position: absolute;
    right: 0;
    top: -4px;
    width: 0;
    height: 0;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 10px solid #000;
}

.science-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 40px; align-items: center; }

.cause-item {
    border: 1px solid #eee;
    background: #f9f9f9;
    padding: 20px;
    margin-bottom: 15px;
    cursor: pointer;
    transition: all 0.8s ease;
    border-radius: 8px;
}

.cause-item:hover { background: #fff; box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
.cause-item.active { border: 1px solid #000; background: #fafafa; box-shadow: 0 5px 20px rgba(0,0,0,0.1); }

.cause-header { display: flex; align-items: center; gap: 15px; }
.cause-icon { width: 24px; height: 24px; }
.cause-header h4 { margin: 0; font-size: 20px; font-weight: 700; text-transform: lowercase; }
.cause-header h4::first-letter { text-transform: uppercase; }

.cause-desc {
    display: none;
    margin-top: 15px;
    font-size: 13px;
    color: #555;
    line-height: 1.5;
    padding-top: 15px;
}

.cause-item.active .cause-desc { display: block; animation: fadeIn 0.8s ease; }

.col-impact { text-align: center; }
.col-impact img { max-width: 100%; height: auto; transition: opacity 0.8s ease; }

.target-box { background: #fff; padding: 30px; border-radius: 8px; }
.target-text-content {
    font-size: 15px;
    line-height: 1.6;
    color: #333;
    margin-bottom: 20px;
    position: relative;
    padding-left: 20px;
    border-left: 4px solid #cf3339;
}

.disclaimer { font-size: 11px; color: #888; margin-top: 20px; display: flex; align-items: center; gap: 5px; }
.red-bar { color: #cf3339; font-weight: 700; font-size: 16px; }

.beautypaths-buy-container { margin: 20px 0; }
.beautypaths-buy-button {
    display: inline-block;
    background-color: #000 !important;
    color: #fff !important;
    padding: 15px 30px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: 1px solid #000;
    text-align: center;
    width: 100%;
    border-radius: 4px;
}
.beautypaths-buy-button:hover { background-color: #333 !important; border-color: #333; }

@media (max-width: 768px) {
    .science-grid { grid-template-columns: 1fr; gap: 20px; }
    .science-header {
        flex-direction: column;
        align-items: flex-start;
        position: relative;
        margin-left: 20px;
        border-left: 2px solid #000;
        padding-left: 30px;
        margin-bottom: 30px;
        gap: 30px;
    }
    .header-step { flex-direction: row; gap: 15px; align-items: center; }
    .header-step h3 { font-size: 20px; }
    .header-connector { display: none; }
    .col-impact { order: 2; margin: 20px 0; }
    .col-causes { order: 1; }
    .col-target { order: 3; }
    .cause-item { padding: 15px; }
}

/* ==========================================================================
   13. DOCTOR RECOMMENDATIONS
   ========================================================================== */
.doctors-recommendations-section {
    width: 100%;
    background-color: #fff;
    padding: 60px 20px;
    margin-top: 40px;
    border-top: 1px solid #eee;
}

.doctors-container-inner {
    max-width: 1440px;
    margin: 0 auto;
    position: relative;
}

.doctors-title {
    font-size: 1.8rem;
    font-weight: 800;
    text-transform: uppercase;
    color: #333;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.doctors-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-top: 0;
    margin-bottom: 50px;
    max-width: 600px;
    line-height: 1.5;
}

/* Slider Container */
.doctors-swiper {
    padding: 10px 0 40px 0; /* Χώρος κάτω για να μην κόβονται σκιές (αν μπουν) */
    position: static; /* Βοηθάει να βγουν τα βελάκια έξω από το κουτί */
}

/* Doctor Card */
.doctor-card {
    background-color: #fcfcfc;
    border-radius: 8px;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    height: auto; /* Για να είναι όλες οι κάρτες ίσες αν χρειαστεί */
}

.doc-avatar {
    width: 80px;
    height: 80px!important;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 25px;
    filter: grayscale(100%); /* Κάνει τις φωτογραφίες ασπρόμαυρες αυτόματα! */
}

.doc-avatar-placeholder {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: #ddd;
    margin-bottom: 25px;
}

.doc-quote {
    font-size: 15px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 30px;
    flex-grow: 1; /* Σπρώχνει το όνομα/χώρα προς τα κάτω */
}

.doc-name {
    font-weight: 400;
    font-size: 20px;
    color: #515151;
    text-transform: uppercase;
}

.doc-country {
    font-size: 13px;
	font-weight:900;
    color: #999;
    margin-top: 5px;
}

/* Swiper Navigation Arrows (Custom Style) */
.doc-nav-btn {
    background-color: #333;
    color: #fff;
    width: 45px !important;
    height: 45px !important;
    border-radius: 50%;
    margin-top: -22px !important;
}

.doc-nav-btn::after {
    font-size: 18px !important;
    font-weight: 900;
}

.doc-nav-btn:hover {
    background-color: #000;
}

/* Position arrows outside the slider */
.doctors-swiper .swiper-button-prev { left: 0px; }
.doctors-swiper .swiper-button-next { right: 0px; }

@media (max-width: 1500px) {
    /* Σπρώχνει τα βελάκια λίγο μέσα αν η οθόνη δεν είναι τεράστια */
    .doctors-swiper .swiper-button-prev { left: 0px; }
    .doctors-swiper .swiper-button-next { right: 0px; }
}

@media (max-width: 768px) {
    .doctors-title { font-size: 1.5rem; }
    .doctors-subtitle { font-size: 1rem; margin-bottom: 30px; }
    .doctor-card { padding: 30px 20px; }
}