/* ══ CKEditor Rich Content Styling ══
   Apply class="rich-content" to any wrapper div holding admin-entered
   CKEditor HTML (product/category description & content fields). */

.rich-content { width: 100%; font-size: 15.5px; color: #444; line-height: 1.9; }
.rich-content * { max-width: 100%; }

.rich-content h1, .rich-content h2 {
    font-size: clamp(20px, 2.8vw, 26px);
    font-weight: 700;
    color: #1a1a2e;
    margin: 32px 0 12px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
    line-height: 1.3;
}
.rich-content h1:first-child, .rich-content h2:first-child { margin-top: 0; }

.rich-content h3 {
    font-size: clamp(16px, 2vw, 18px);
    font-weight: 700;
    color: #1a1a2e;
    margin: 24px 0 10px;
    line-height: 1.3;
}
.rich-content h4 { font-size: 16px; font-weight: 700; color: #333; margin: 18px 0 8px; }

.rich-content p { margin: 0 0 16px; line-height: normal !important; }
.rich-content p:last-child { margin-bottom: 0; }

/* ── Lists: bulletproofed against theme resets ── */
.rich-content ul,
.rich-content ol {
    list-style-position: outside !important;
    margin: 0 0 18px 22px !important;
    padding: 0 !important;
}
.rich-content ul { list-style-type: disc !important; }
.rich-content ol { list-style-type: decimal !important; }
.rich-content ul li,
.rich-content ol li {
    display: list-item !important;
    list-style: inherit !important;
    margin-bottom: 9px;
    line-height: 1.75;
    padding-left: 4px;
}
/* kill any theme ::before bullet icon that might be masking the real marker */
.rich-content li::before { content: none !important; }
.rich-content ul > li::marker { color: #b92a25; font-size: 18px; }
.rich-content ol > li::marker { color: #b92a25; font-weight: 700; }

/* nested lists */
.rich-content li > ul,
.rich-content li > ol { margin-top: 8px; margin-bottom: 0; }

.rich-content strong, .rich-content b { color: #1a1a2e; font-weight: 700; }
.rich-content em, .rich-content i { font-style: italic; }

.rich-content a { color: #0147a7; text-decoration: underline; }
.rich-content a:hover { color: #b92a25; }

.rich-content blockquote {
    border-left: 4px solid #b92a25;
    background: #fff8f8;
    margin: 20px 0;
    padding: 14px 20px;
    border-radius: 0 8px 8px 0;
    color: #555;
    font-style: italic;
    font-size: 15px;
}

.rich-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 16px 0;
    display: block;
}

.rich-content pre {
    background: #f5f6f7;
    border-radius: 8px;
    padding: 16px 20px;
    overflow-x: auto;
    font-size: 13.5px;
    line-height: 1.6;
}

/* ── Tables: forced full-width chain ── */
.rich-content .table-scroll { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 20px 0; }
.rich-content table { width: 100% !important; border-collapse: collapse; font-size: 14.5px; }
.rich-content table th {
    background: #1a1a2e;
    color: #fff;
    padding: 12px 16px;
    text-align: left;
    font-weight: 700;
    white-space: nowrap;
}
.rich-content table td { padding: 11px 16px; border-bottom: 1px solid #f0f0f0; color: #555; vertical-align: top; }
.rich-content table tr:nth-child(even) td { background: #f9f9f9; }
.rich-content table tr:hover td { background: #fff3f3; }

@media (max-width: 768px) {
    .rich-content { font-size: 14.5px; }
}


/* ══ Product Detail Page Polish ══ */

/* Product info card */
.product-details .pd-detail {
    background: #fff;
    border-radius: 12px;
    /*padding: 28px;*/
    margin-bottom: 24px;
}
.product-details .pd-detail h3 {
    font-size: 26px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 8px;
}
.product-details .tagline {
    color: #b92a25;
    font-size: 15px;
    margin-bottom: 16px;
}

/* CTA buttons */

/* Thumbnail gallery */
.product-thumb-gallery { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.product-thumb {
    width: 64px; height: 64px; object-fit: cover;
    border-radius: 6px; cursor: pointer; opacity: .65;
    border: 2px solid transparent; transition: all .2s ease;
}
.product-thumb:hover { opacity: 1; border-color: #b92a25; }

/* Also available in — pill chips */
.also-available-list { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; }
.also-available-list li a {
    display: inline-block; padding: 8px 16px;
    border: 1px solid #eee; border-radius: 999px;
    font-size: 14px; color: #444; transition: all .2s ease;
}
.also-available-list li a:hover { background: #b92a25; color: #fff; border-color: #b92a25; }


/* ══ FAQ Section Polish ══ */

.faq-section {
    padding: 60px 0;
    background: #fafafa;
}

.faq-section .sec-title.centered {
    text-align: center;
    margin-bottom: 40px;
}
.faq-section .sec-title_heading {
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 700;
    color: #1a1a2e;
    position: relative;
    display: inline-block;
    padding-bottom: 14px;
}
.faq-section .sec-title_heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #b92a25;
    border-radius: 2px;
}

.faq-section .accordion-box {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.faq-section .accordion.block {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
    transition: box-shadow .2s ease, border-color .2s ease;
}
.faq-section .accordion.block:hover {
    box-shadow: 0 4px 18px rgba(0,0,0,0.07);
}
.faq-section .accordion.block.active {
    border-color: #b92a25;
}

.faq-section .acc-btn {
    position: relative;
    padding: 18px 56px 18px 22px;
    font-size: 16px;
    font-weight: 600;
    color: #1a1a2e;
    cursor: pointer;
    line-height: 1.5;
    transition: color .2s ease;
}
.faq-section .acc-btn:hover {
    color: #b92a25;
}

/* plus/minus indicator */
.faq-section .acc-btn::after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    line-height: 28px;
    text-align: center;
    border-radius: 50%;
    background: #f5f1f1;
    color: #b92a25;
    font-size: 18px;
    font-weight: 400;
    transition: all .25s ease;
}
.faq-section .accordion.block.active .acc-btn::after {
    content: '\2212'; /* minus sign */
    background: #b92a25;
    color: #fff;
    transform: translateY(-50%) rotate(180deg);
}

.faq-section .acc-content .content {
    padding: 0 22px 20px;
    color: #555;
    font-size: 14.5px;
    line-height: 1.8;
    border-top: 1px solid #f3f3f3;
    padding-top: 14px;
}

@media (max-width: 576px) {
    .faq-section { padding: 40px 0; }
    .faq-section .acc-btn { padding: 15px 48px 15px 16px; font-size: 15px; }
    .faq-section .acc-content .content { padding: 0 16px 16px; }
    .product-image{
        width: 100%;
    }
}

.sidebar-page-container{
    padding: 70px 0px 1px !important;
}
.accordion-box .block {
    margin-bottom: 5px !important;
}
.faq-section .acc-content .content {
    border: none !important;
}

.accordion-box .block .acc-content {
    padding-top: 0px;
}

@media (max-width: 768px) {
    

.rich-content {
    padding: 0px !important;
}
}