/* ============================================================
   FORCE RESET FOR BLOCKSY 
   ============================================================ */
/* .single-product .ct-container,
.single-product #main {
    max-width: 100% !important;
    padding: 0 !important;
}
 */

/* ============================================================
   GLOBAL WRAPPER & GRID
   ============================================================ */

.main-serving-text {
    font-family: "DM Sans", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    color: rgb(107, 114, 128);
    margin: 0 0 15px 0; /* Adds space before the ingredient list starts */
}



.sticky-cert-header {
    margin-bottom: 25px;
    background: #f4f7f6;
    border-bottom: 1px solid #ddd;
    width: 100%;
    
}

.cert-content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 10px 20px;
    box-sizing: border-box;
}
.cert-title {
    font-weight: 800;
    text-transform: uppercase;
    font-size: 14px;
    color: #2d4a3e;
}

.cert-items {
    display: flex;
    gap: 15px;
    font-size: 14px;
    color: #555;
}

.cert-badge {
    padding: 4px 10px;
    background: #e9eceb;
    border-radius: 4px;
}   
.benefits-accordion { 
    background: #2d4a3e; 
    color: #fff; 
    padding: 20px; 
    border-radius: 10px; 
}

.accordion-header {
    width: 100%;
    background: none;
    border: none;
    color: #fff;
    padding: 15px 0;
    text-align: left;
    display: flex;
    align-items: center;
    cursor: pointer;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.toggle-icon { margin-right: 10px; font-weight: bold; }

.accordion-content {
    max-height: 1000px !important; /* Large enough to cover content */
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    color: rgba(255,255,255,0.9);
}

/* Added specific padding for the content container */
.accordion-content p {
    padding: 10px 0;
    margin: 0;
    font-size: 14px;
}
   
 .results-accordion { border-top: 1px solid rgba(255,255,255,0.2); }
.accordion-item { border-bottom: 1px solid rgba(255,255,255,0.2); }
.accordion-header {
    width: 100%;
    padding: 15px 0;
    display: flex;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    color: #fff;
    gap: 10px;
}
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 0 0 26px; /* Aligns with text */
    color: rgba(255,255,255,0.8);
    font-size: 12px;
}
 
.p-stock-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    font-size: 13px;
    color: #555;
}

.p-stock-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #2e5738;
    flex-shrink: 0;
    animation: pulse-dot 1.5s infinite;
}

.p-stock-text strong {
    color: #c0392b;
    font-weight: 700;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.5; transform: scale(1.3); }
}
   
   
.ditto-page-wrapper {
    background: #f8f7f4;
    padding: 0px 0px 50px 0px;
    overflow: visible !important;
}

.ditto-main-grid {
    max-width: 1320px;
    margin: 0 auto;
    display: flex;
    gap: 40px;
    padding: 0 20px;
}



.ditto-content-area { flex: 0 0 72%; max-width: 72%; }
.ditto-sidebar-area { flex: 0 0 26%; max-width: 26%; }

/* ============================================================
   FREQUENCY SELECT
   ============================================================ */
.p-frequency-box { margin-bottom: 20px; }

.p-frequency-box label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.p-select-wrapper {
    position: relative;
    display: block;
    width: 100%;
}

#bos4w-frequency {
    width: 100%;
    padding: 12px 40px 12px 15px;
    font-size: 16px;
    color: #444;
    background-color: transparent !important;
    border: 1px solid #d1d1d1;
    border-radius: 8px;
    cursor: pointer;
    line-height: 1.5;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

#bos4w-frequency option {
    background-color: #fff !important;
    color: #444 !important;
}

#bos4w-frequency:focus {
    outline: none;
    border-color: #2e5738;
}

#bos4w-frequency::-ms-expand { display: none; }

.p-select-wrapper:hover #bos4w-frequency { border-color: #999; }

/* ============================================================
   BREADCRUMBS
   ============================================================ */
.p-breadcrumb {
    margin-bottom: 25px;
    font-size: 14px;
    color: #7a7a7a;
}
.p-breadcrumb a { color: #7a7a7a; text-decoration: none; transition: color 0.2s; }
.p-breadcrumb a:hover { color: #000; }
.p-breadcrumb .sep { margin: 0 8px; font-size: 12px; }
.p-breadcrumb .current { color: #333; font-weight: 500; }

/* ============================================================
   HERO SECTION
   ============================================================ */
.ditto-hero-section { 
    display: flex; 
    flex-direction: row;
    align-items: flex-start;
    gap: 30px; 
    margin-bottom: 50px; 
}

/* ============================================================
   GALLERY BOX
   ============================================================ */
.ditto-gallery-box { 
    width: 100%;
    max-width: 550px;
    margin: 0 auto 20px;
}

/* WooCommerce gallery wrapper */
.ditto-gallery-box .woocommerce-product-gallery {
    width: 100% !important;
    overflow: visible !important;
}

/* Flexslider viewport — overflow visible stops cutting */
.ditto-gallery-box .woocommerce-product-gallery .flex-viewport {
    overflow: visible !important;
    border-radius: 12px;
}

/* Main image slide */
.ditto-gallery-box .woocommerce-product-gallery__image {
    overflow: hidden;
    border-radius: 12px;
    background: #fff;
}

/* Main image itself */
.ditto-gallery-box .woocommerce-product-gallery__image a,
.ditto-gallery-box .woocommerce-product-gallery__image img {
    display: block;
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
    object-position: center !important;
    padding: 12px;
    box-sizing: border-box;
    background: #fff;
    border-radius: 12px;
}

.flexy-pills ol li{width:var(--thumbs-width, 15%) !important;}

div.woocommerce-product-gallery li.active .ct-media-container:after{border-radius:10px;}

/* Fallback */
.ditto-gallery-box img {
    width: 100%;
    height: auto;
    border-radius: 12px;
	object-fit:contain !important;
	aspect-ratio:1/1 !important;
}

.ditto-gallery-box .woocommerce-product-gallery__trigger {
    display: none !important;
}

/* ── THUMBNAILS ─────────────────────────────────── */
.ditto-gallery-box .flex-control-nav.flex-control-thumbs,
.flex-control-nav.flex-control-thumbs {
    display: flex !important;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 8px;
    padding: 12px 0 0 !important;
    list-style: none !important;
    margin: 0 !important;
    overflow: visible !important;
}

.ditto-gallery-box .flex-control-nav.flex-control-thumbs li,
.flex-control-nav.flex-control-thumbs li {
    width: 44px !important;
    height: 44px !important;
    flex-shrink: 0;
    margin: 0 !important;
}

.ditto-gallery-box .flex-control-nav.flex-control-thumbs li img,
.flex-control-nav.flex-control-thumbs li img {
    width: 44px !important;
    height: 44px !important;
    object-fit: cover !important;
    border-radius: 6px;
    border: 1.5px solid #eee;
    cursor: pointer;
    display: block;
    padding: 0 !important;
    background: none !important;
}

.ditto-gallery-box .flex-control-nav.flex-control-thumbs li img.flex-active,
.flex-control-nav.flex-control-thumbs img.flex-active {
    border-color: #2e5738;
    border-width: 2px;
}

/* ============================================================
   PRODUCT INFO
   ============================================================ */
.ditto-product-info-box { width: 100%; }

.p-title { 
    font-family: "DM Serif Display", serif;
    font-size: 38px; 
    font-weight: 400; 
    margin-bottom: 10px; 
    line-height: 1.1; 
}

.p-tagline { font-size: 16px; color: #6b7280; margin-bottom: 22px; }

/* ============================================================
   PURCHASE CARDS & BUTTONS
   ============================================================ */
.p-purchase-row { display: flex; gap: 15px; margin: 25px 0; }

.p-card-btn {
    flex: 1;
    border: 1.8px solid #e5e7eb;
    border-radius: 14px;
    padding: 20px 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.p-card-btn:hover { border-color: #2e5738; }
.p-card-btn.active { 
    border: 2px solid #2e5738; 
    background: hsl(135deg 31% 26% / 5%);
}

.p-card-btn strong { display: block; font-size: 18px; margin-bottom: 4px; color: #111; }
.p-card-btn small  { font-size: 12px; color: #6b7280; font-weight: 600; text-transform: uppercase; }

.p-add-to-cart-green {
    width: 100%;
    background: #2e5738;
    color: #fff;
    padding: 12px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 16px;
    border: none;
    cursor: pointer;
    transition: background 0.3s;
}

.p-add-to-cart-green:hover    { background: #1B4332; }
.p-add-to-cart-green:disabled { opacity: 0.7; cursor: not-allowed; }

/* ============================================================
   SIDEBAR
   ============================================================ */
.ditto-sidebar-area {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.sidebar-green-card {
    background: #2E5738;
    border-radius: 20px;
    padding: 25px;
    color: #fff;
}

.sidebar-green-card h4, 
.sidebar-green-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #fff !important;
}

.sidebar-white-inner {
    background: #ffffff;
    border-radius: 14px;
    padding: 20px;
    color: #1a1a1a;
}

.sidebar-white-inner h5 { color: #1a1a1a; font-weight: 700; margin-bottom: 5px; }

.sl-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 6px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 13px;
    color: #333;
    gap: 10px;
}

.sl-row span:first-child {
    flex: 1;
	text-align: left;
    white-space: nowrap;
}

.sl-row:last-child { border-bottom: none;text-align:right; }

.results-timeline-horizontal {
    display: flex;
    flex-direction: column; /* Changed from row to column */
    gap: 20px;
    position: relative;
    padding: 10px 0;
}

.results-timeline-horizontal::after {
    display: none;
}
.res-item {
    display: flex;
    flex-direction: row; /* Aligns circle and text horizontally */
    align-items: flex-start; /* Keeps text aligned with top of circle */
    text-align: left;
    gap: 15px;
}


.res-circle {
    /* Remove fixed width and height */
    min-width: 52px; /* Keeps it looking like a circle when text is short */
    min-height: 52px;
    padding: 0 10px; /* Adds breathing room for longer text */
    
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px; /* Use a high value for perfect rounded edges */
    
    display: inline-flex; /* Changed from flex to inline-flex */
    align-items: center;
    justify-content: center;
    
    font-weight: 700;
    font-size: 12px;
    flex-shrink: 0;
    text-align: center;
}

.res-item strong { font-size: 13px; display: block; margin-bottom: 2px; }
.res-item p      { font-size: 11px; opacity: 0.8; margin: 0; }

.sidebar-doc-flex { display: flex; gap: 15px; align-items: flex-start; }
.sidebar-doc-flex img { width: 55px; height: 55px; border-radius: 50%; object-fit: cover; border: 2px solid #fff; }
.sidebar-doc-flex p   { font-size: 14px; line-height: 1.5; font-style: italic; margin: 0; }

/* ============================================================
   CONTENT BLOCKS
   ============================================================ */
.facts-block {
    background: transparent;
    border-radius: 20px;
    padding: 35px;
    margin-bottom: 30px;
    border: 1px solid hsl(220 13% 91%);
}

.ingredients-block { 
    background: transparent;
    border-radius: 20px;
    margin-bottom: 30px;
}

.facts-inner-table { border: 1px solid #eee; border-radius: 12px; overflow: hidden; }

.fi-head, .fi-row {  
    display: grid; 
    /* Changed from 2fr 1.5fr 1fr to 2fr 1.5fr */
    grid-template-columns: 2fr 1.5fr; 
    padding: 15px 20px; 
    border-bottom: 1px solid #eee; 
    font-family: "DM Sans", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    color: rgb(26, 26, 26);
    align-items: center; 
}

.facts-block h3 {
    font-family: "Playfair Display", serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 28px;
    color: rgb(26, 26, 26);
    margin-bottom: 8px;
}

.ingredients-block h3 {
    font-family: "Playfair Display", serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 28px;
    color: rgb(26, 26, 26);
    margin-bottom: 25px;
}

.ing-item strong {
    display: block;
    margin-bottom: 6px;
    font-family: "Playfair Display", serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 20px;
    color: rgb(26, 26, 26);
}

.ing-item p {
    margin: 0;
    font-family: "DM Sans", sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 16px;
    color: rgb(107, 114, 128);
}

/* Ensure the header row looks distinct */
.fi-head {
    font-weight: 700;
    border-bottom: 2px solid #000;}
    
    
.fi-row:last-child { border-bottom: none; }

/* Align the labels in the header */
.fi-head span:nth-child(1) { text-align: left; }
.fi-head span:nth-child(2) { text-align: right; } 

/* Align the data in the rows */
.fi-row span:nth-child(1) { text-align: left; }
.fi-row span:nth-child(2) { text-align: right; }

.ing-grid-container { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.ing-item { border: 1px solid hsl(220 13% 91%); border-radius: 15px; padding: 20px; }

/* ============================================================
   REVIEWS
   ============================================================ */
.reviews-block h3 {
    font-family: "Playfair Display", serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 42px;
    color: rgb(17, 21, 24);
    margin-bottom: 25px;
}

.review-card blockquote {
    font-family: "DM Sans", sans-serif !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 20px !important;
    color: rgb(26, 26, 26) !important;
    border: none;
    padding: 0;
    margin: 10px 0;
}

.review-author {
    font-family: "DM Sans", sans-serif;
    font-size: 12px;
    font-weight: 700;
    line-height: 16px;
    color: rgb(107, 114, 128);
    margin-top: 15px;
}

.review-author span {
    font-family: "DM Sans", sans-serif;
    font-weight: 400;
    color: rgb(107, 114, 128);
    margin-left: 4px;
}

.review-card {
    border-radius: 18px;
    padding: 16px;
    border: 1px solid hsl(220 13% 91%);
    margin-bottom: 15px;
}

.review-stars { font-size: 16px; margin-bottom: 5px; }

/* ============================================================
   FDA DISCLAIMER
   ============================================================ */
.fda-disclaimer {
    background: #E5E7EB;
    border-radius: 10px;
    padding: 16px 20px;
    font-family: "DM Sans", sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 16px;
    color: rgb(107, 114, 128);
    margin-top: 20px;
}

/* ============================================================
   MOBILE RESPONSIVENESS
   ============================================================ */
@media (max-width: 991px) {
    .ditto-main-grid    { flex-direction: column; }
    .ditto-content-area,
    .ditto-sidebar-area { max-width: 100%; flex: 0 0 100%; }
    .ditto-hero-section { flex-direction: column; }
    .ing-grid-container { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
    .facts-block, .ingredients-block { padding: 15px; }
    .fi-row    { justify-content: space-between; padding: 15px 10px; font-size: 13px; }
    .res-item  { gap: 0 !important; }
    .p-title   { font-size: 28px; }

    .ditto-gallery-box .flex-control-nav.flex-control-thumbs li,
    .flex-control-nav.flex-control-thumbs li,
    .ditto-gallery-box .flex-control-nav.flex-control-thumbs li img,
    .flex-control-nav.flex-control-thumbs li img {
        width: 38px !important;
        height: 38px !important;
    }
	.flexy-pills ol li{width:20% !important;}
	
	.ditto-gallery-box img{aspect-ratio:1/1 !important;object-fit:contain !important;}
	
	.cert-content-wrapper{flex-direction:column; gap:2px;}
	.cert-badge{padding:4px 5px;}
	.cert-items{font-size:12px;        display: grid;
        gap: 3px;
        grid-template-columns: repeat(4, 1fr);
        text-align: center;}
	
	
	.ingredients-block{padding:0px !important;}
	.fi-head{padding:5px;}
}

