
:root {
    --am-primary:      #2e7d32;   
    --am-primary-dark: #1b5e20;   
    --am-accent:       #ef6c00;   
    --am-accent-dark:  #e65100;   
    --am-blue:         #388e3c;   
    --am-bg:           #f5f7fa;   
    --am-primary-rgb:  46, 125, 50;
    --am-accent-rgb:   239, 108, 0;

    --primary:      #2e7d32 !important;
    --primary-dark: #1b5e20 !important;
    --color-primary: #2e7d32 !important;
}

.bg-primary,
.btn-primary,
button.bg-primary,
.bg-\[\#2e7d32\],
.bg-\[\#1b5e20\] {
    background-color: var(--am-primary) !important;
}
.bg-primary-dark,
.hover\:bg-primary-dark:hover,
.bg-\[\#1b5e20\] {
    background-color: var(--am-primary-dark) !important;
}
.hover\:bg-primary:hover { background-color: var(--am-primary-dark) !important; }

[style*="#2e7d32"],
[style*="#66bb6a"],
[style*="#1b5e20"] {
}

.text-primary,
a.text-primary,
.text-\[\#2e7d32\],
.text-\[\#1b5e20\] {
    color: var(--am-primary) !important;
}

.border-primary,
.focus\:border-primary:focus,
.border-\[\#2e7d32\] {
    border-color: var(--am-primary) !important;
}
.ring-primary,
.focus\:ring-primary:focus {
    --tw-ring-color: var(--am-primary) !important;
}

.site-header { border-top: 3px solid var(--am-accent); }
.top-bar { background: var(--am-primary) !important; }
.top-bar a { color: #dbe4f0 !important; }
.top-bar a:hover { color: #fff !important; }

.cat-nav { background: var(--am-primary) !important; }
.cat-nav__item > a { color: #eaf0f7 !important; }
.cat-nav__item > a:hover,
.cat-nav__item:hover > a { color: #fff !important; background: rgba(255,255,255,0.08) !important; }
.cat-nav__dropdown { border-top: 3px solid var(--am-accent) !important; }
.cat-nav__dropdown a:hover { color: var(--am-accent) !important; background: #f5f7fa !important; }

.action-btn:hover { color: var(--am-accent) !important; }

.pcard .pcard__price .pcard__footer .pcard__price-main { color: var(--am-primary) !important; }
.pcard .pcard__price .pcard__footer .add-to-cart-btn,
.pcard .pcard__price .pcard__price-row .pcard__discount-pill {
    background: linear-gradient(135deg, var(--am-accent) 0%, var(--am-accent-dark) 100%) !important;
    box-shadow: 0 4px 10px rgba(var(--am-accent-rgb), 0.35) !important;
}
.pcard .pcard__price .pcard__footer .add-to-cart-btn:hover {
    box-shadow: 0 6px 14px rgba(var(--am-accent-rgb), 0.5) !important;
}
.badge-best { background: var(--am-accent) !important; }
.badge-new  { background: var(--am-blue) !important; }

.product-brand-tag {
    background: #e8f5e9 !important;
    color: var(--am-primary) !important;
}
.price-box .price-current,
.product-price-main { color: var(--am-primary) !important; }
.product-internal-links a[style*="fce7f3"] {
    background: #e8f5e9 !important;
    color: var(--am-primary) !important;
}
.add-to-cart-main,
.btn-add-cart,
button[class*="add"] {
    background: var(--am-accent) !important;
}
.add-to-cart-main:hover { background: var(--am-accent-dark) !important; }

.review-modal-btn { background: var(--am-primary) !important; }
.bg-primary\/10 { background: rgba(var(--am-primary-rgb), 0.1) !important; }

.dc-section {
    background: linear-gradient(135deg, var(--am-primary) 0%, var(--am-primary-dark) 100%) !important;
}
.dc-timer, .dc-badge { background: var(--am-accent) !important; }
.dc-price { color: var(--am-accent) !important; }

body.bg-gray-50 { background: var(--am-bg) !important; }
.bg-gray-100 { background: #eef1f6 !important; }

.section-title,
.bw-smart-related-title {
    border-color: var(--am-accent) !important;
}
.bw-smart-related-title svg { color: var(--am-accent) !important; }

.site-footer,
footer.site-footer { background: var(--am-primary) !important; }
.site-footer a:hover { color: var(--am-accent) !important; }

a { color: inherit; }
a.link, .prose a { color: var(--am-blue); }

::selection { background: rgba(var(--am-accent-rgb), 0.25); }

.stock-alert-box button { background: var(--am-accent) !important; }

.spinner { border-top-color: var(--am-primary) !important; }

.mob-panel__head { background: var(--am-primary) !important; }
.mob-acc__trigger.open { color: var(--am-accent) !important; }
.mob-simple-link:active { background: #eef1f6 !important; }

[class*="pink"] { }  
.text-pink-500, .text-pink-600 { color: var(--am-primary) !important; }
.bg-pink-500, .bg-pink-600 { background: var(--am-primary) !important; }
.bg-pink-50 { background: #e8f5e9 !important; }

.cat-nav { position: relative; }
.cat-nav__list { position: static; }
.cat-nav__item { position: static; }

.cat-nav__dropdown--mega {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    display: none;
    padding: 0;
    background: #fff;
    box-shadow: 0 16px 40px rgba(20,40,63,.16);
    border-top: 3px solid var(--am-accent);
    border-radius: 0 0 12px 12px;
    z-index: 200;
    overflow: hidden;
    animation: megaFade .18s ease;
}
.cat-nav__item:hover .cat-nav__dropdown--mega { display: block; }

@keyframes megaFade {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}

.mega-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 32px;
    background: linear-gradient(90deg, #f5f7fa, #e8f5e9);
    border-bottom: 1px solid #e3ebe3;
}
.mega-head__title {
    font-size: 15px;
    font-weight: 700;
    color: var(--am-primary);
    position: relative;
    padding-right: 14px;
}
.mega-head__title::before {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 18px;
    background: var(--am-accent);
    border-radius: 2px;
}
.mega-head__count {
    font-size: 12px;
    color: #8a97a8;
    background: #fff;
    padding: 3px 12px;
    border-radius: 20px;
    border: 1px solid #e3ebe3;
}

.mega-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2px 10px;
    padding: 18px 26px 24px;
    max-height: 380px;
    overflow-y: auto;
}
.mega-grid a {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 9px 12px;
    font-size: 13.5px;
    color: #3d4a5c !important;
    border-radius: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: background .15s, color .15s, transform .15s;
}
.mega-grid a::before {
    content: "";
    flex: 0 0 6px;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: #cbd5e1;
    transition: background .15s, transform .15s;
}
.mega-grid a:hover {
    background: #e8f5e9 !important;
    color: var(--am-primary) !important;
    transform: translateX(-3px);
}
.mega-grid a:hover::before { background: var(--am-accent); transform: scale(1.4); }

.mega-grid::-webkit-scrollbar { width: 8px; }
.mega-grid::-webkit-scrollbar-thumb { background: #d5dde6; border-radius: 4px; }
.mega-grid::-webkit-scrollbar-track { background: #f5f7fa; }

.cat-nav__trigger {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    cursor: default;
    color: #eaf0f7 !important;
    transition: color .15s;
}
.cat-nav__item--group:hover .cat-nav__trigger { color: #fff !important; }
.cat-nav__item:hover .cat-nav__trigger svg,
.cat-nav__item:hover > a svg { transform: rotate(180deg); }
.cat-nav__trigger svg, .cat-nav__item > a svg { transition: transform .2s; }

@media (max-width: 1280px) { .mega-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 1024px) { .mega-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px) {
    .cat-nav__dropdown--mega { position: static; box-shadow: none; animation: none; }
    .mega-head { padding: 10px 16px; }
    .mega-grid { grid-template-columns: repeat(2, 1fr); max-height: none; padding: 10px; }
}

.cat-nav {
    background: var(--am-primary) !important;
    box-shadow: 0 2px 8px rgba(20,40,63,.15);
}
.cat-nav__inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}
.cat-nav__list {
    display: flex !important;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
    flex-wrap: nowrap;
}
.cat-nav__item {
    display: flex;
    align-items: center;
}
.cat-nav__item > a,
.cat-nav__item > .cat-nav__trigger {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 52px;                 
    padding: 0 18px;              
    font-size: 14px;
    font-weight: 600;
    color: #dbe4f0 !important;
    white-space: nowrap;
    position: relative;
    transition: color .15s, background .15s;
}
.cat-nav__item:not(:last-child) > a::after,
.cat-nav__item:not(:last-child) > .cat-nav__trigger::after {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 18px;
    width: 1px;
    background: rgba(255,255,255,.14);
}
.cat-nav__item:hover > a,
.cat-nav__item:hover > .cat-nav__trigger {
    color: #fff !important;
    background: rgba(255,255,255,.08);
}
.cat-nav__item > a::before,
.cat-nav__item > .cat-nav__trigger::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 12px;
    right: 12px;
    height: 3px;
    background: var(--am-accent);
    border-radius: 3px 3px 0 0;
    transform: scaleX(0);
    transition: transform .2s;
}
.cat-nav__item:hover > a::before,
.cat-nav__item:hover > .cat-nav__trigger::before {
    transform: scaleX(1);
}

@media (max-width: 1100px) {
    .cat-nav__list { overflow-x: auto; scrollbar-width: none; }
    .cat-nav__list::-webkit-scrollbar { display: none; }
    .cat-nav__item > a,
    .cat-nav__item > .cat-nav__trigger { height: 48px; padding: 0 14px; font-size: 13px; }
}


.cat-nav__dropdown,
.cat-nav__dropdown--mega {
    position: absolute !important;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    display: block !important;
    max-height: 0;
    overflow: hidden;
}
.cat-nav__item:hover .cat-nav__dropdown,
.cat-nav__item:hover .cat-nav__dropdown--mega {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    max-height: 460px;
    overflow: visible;
}
.cat-nav { overflow: visible; }
.cat-nav__inner { background: transparent !important; }
.cat-nav__list { background: transparent !important; min-height: 0 !important; }

.cat-nav + * { margin-top: 0 !important; }

.site-header {
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 900;
    background: #fff;
    transition: box-shadow .25s;
}
.site-header.is-scrolled {
    box-shadow: 0 4px 18px rgba(20,40,63,.12);
}
html { overflow-x: hidden; }
body { overflow-x: clip; overflow-y: visible; }

.site-logo img {
    height: 74px !important;
    max-height: 74px !important;
    width: auto !important;
    transition: height .25s ease, max-height .25s ease;
}
.site-header.is-scrolled .site-logo img {
    height: 52px !important;
    max-height: 52px !important;
}

.top-bar {
    background: var(--am-primary) !important;
    overflow: hidden;
    max-height: 60px;
    transition: max-height .25s ease, padding .25s ease, opacity .2s ease;
}
.site-header.is-scrolled .top-bar {
    max-height: 0;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    opacity: 0;
}

.main-bar {
    display: flex;
    align-items: center;
    min-height: 90px;           
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
    transition: min-height .25s ease, padding .25s ease;
}
.site-logo {
    display: flex;
    align-items: center;
    line-height: 0;             
}
.site-logo img { display: block; }
.site-header.is-scrolled .main-bar {
    min-height: 66px;
    padding-top: 0.4rem !important;
    padding-bottom: 0.4rem !important;
}

@media (max-width: 768px) {
    .site-logo img { height: 58px !important; max-height: 58px !important; }
    .site-header.is-scrolled .site-logo img { height: 44px !important; max-height: 44px !important; }
    .site-header.is-scrolled .cat-nav {
        position: sticky;
        top: 0;
    }
}

.top-bar__inner {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
    min-height: 40px;
}
.top-bar__menus { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.top-bar__contact { display: flex; align-items: center; gap: 16px; }
.top-contact-item {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    color: #eaf0f7 !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px;
    transition: color .15s;
}
.top-contact-item span { font-size: 18px !important; }
.top-contact-item svg { width: 20px !important; height: 20px !important; color: var(--am-accent); }
.top-contact-item:hover { color: var(--am-accent) !important; }

@media (max-width: 768px) {
    .top-bar { display: block !important; }
    .top-bar__menus { display: none !important; }
    .top-bar__inner { justify-content: center; padding: 8px 12px; flex-wrap: wrap; gap: 14px; }
    .top-bar__contact { display: flex !important; gap: 18px; }
    .top-contact-item { font-size: 15px !important; }
    .top-contact-item span { font-size: 15px !important; }
}

.product-content img,
.post-content img,
.bw-rich img,
.cat-intro img,
.cat-desc img {
    display: block !important;
    max-width: 100% !important;
    height: auto !important;
    margin: 20px auto !important;      
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(20,40,63,.1);
}
.product-content a,
.post-content a,
.bw-rich a {
    display: inline;
}
.product-content a:has(img),
.post-content a:has(img),
.bw-rich a:has(img) {
    display: block;
    text-align: center;
}
.product-content figure,
.post-content figure,
.bw-rich figure { text-align: center; margin: 20px auto; }
.product-content figcaption,
.post-content figcaption,
.bw-rich figcaption { font-size: 13px; color: #8a97a8; margin-top: 6px; text-align: center; }

.product-content table,
.post-content table,
.bw-rich table,
.cat-intro table {
    width: 100% !important;              
    border-collapse: collapse !important;
    margin: 24px 0 !important;
    font-size: 14px;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(20,40,63,.08);
    border: 1px solid #e3ebe3;
    display: table !important;           
}
.product-content table th,
.post-content table th,
.bw-rich table th,
.cat-intro table th {
    background: linear-gradient(135deg, #2e7d32, #1b5e20) !important;
    color: #fff !important;
    font-weight: 700;
    padding: 14px 16px !important;
    text-align: right;
    border: none !important;
    font-size: 14px;
}
.product-content table td,
.post-content table td,
.bw-rich table td,
.cat-intro table td {
    padding: 12px 16px !important;
    border: 1px solid #e8f5e9 !important;
    text-align: right;
    color: #3d4a5c;
    vertical-align: middle;
}
.product-content table tr:nth-child(even) td,
.post-content table tr:nth-child(even) td,
.bw-rich table tr:nth-child(even) td,
.cat-intro table tr:nth-child(even) td {
    background: #f7faf7;
}
.product-content table tr:hover td,
.post-content table tr:hover td,
.bw-rich table tr:hover td,
.cat-intro table tr:hover td {
    background: #e8f5e9;
}
.product-content table tr:first-child td,
.post-content table tr:first-child td,
.bw-rich table tr:first-child td {
    background: linear-gradient(135deg, #2e7d32, #1b5e20);
    color: #fff;
    font-weight: 700;
}
@media (max-width: 640px) {
    .product-content table,
    .post-content table,
    .bw-rich table,
    .cat-intro table {
        display: block !important;
        overflow-x: auto;
        white-space: nowrap;
    }
}

.pcard__footer--contact {
    display: flex;
    justify-content: center;
    width: 100%;
}
.pcard__contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    padding: 9px 14px;
    background: linear-gradient(135deg, #2e7d32, #1b5e20);
    color: #fff !important;
    font-size: 13.5px;
    font-weight: 600;
    border-radius: 10px;
    text-decoration: none;
    transition: all .18s;
    box-shadow: 0 2px 8px rgba(46,125,50,.2);
}
.pcard__contact-btn:hover {
    background: linear-gradient(135deg, #ef6c00, #d96812);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(239,108,0,.3);
}
.pcard__contact-btn svg { color: #fff; }

.product-contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #2e7d32, #1b5e20);
    color: #fff !important;
    font-size: 15px;
    font-weight: 700;
    border-radius: 12px;
    text-decoration: none;
    transition: all .18s;
    box-shadow: 0 4px 14px rgba(46,125,50,.25);
}
.product-contact-btn:hover {
    background: linear-gradient(135deg, #ef6c00, #d96812);
    transform: translateY(-1px);
}
.product-contact-btn svg { color: #fff; }

.badge-contact {
    background: var(--am-accent) !important;
    color: #fff !important;
}
.badge-out {
    background: #9ca3af !important;
    color: #fff !important;
}
.pcard__out-badge {
    font-size: 0.75rem;
    color: #9ca3af;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    padding: 0.25rem 0.5rem;
    white-space: nowrap;
}
.product-unavail-badge {
    display: inline-block;
    padding: 8px 20px;
    background: #f3f4f6;
    color: #9ca3af;
    font-size: 15px;
    font-weight: 700;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
}


.product-content a,
.post-content a,
.bw-rich a,
.cat-intro a {
    color: var(--am-link, #388e3c) !important;
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: rgba(45,108,181,.4);
    text-underline-offset: 3px;
    text-decoration-thickness: 1.5px;
    transition: color .15s, text-decoration-color .15s, background .15s;
    padding: 0 2px;
    border-radius: 3px;
}
.product-content a:hover,
.post-content a:hover,
.bw-rich a:hover,
.cat-intro a:hover {
    color: var(--am-accent) !important;
    text-decoration-color: var(--am-accent);
    background: rgba(239,108,0,.08);
}
.product-content a:has(img),
.post-content a:has(img),
.bw-rich a:has(img) {
    text-decoration: none;
    font-weight: normal;
    background: none;
    padding: 0;
}

.related-carousel {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
}
.related-track {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 8px 4px 14px;
    flex: 1;
    scrollbar-width: none;
}
.related-track::-webkit-scrollbar { display: none; }
.related-track > .pcard {
    flex: 0 0 195px;
    max-width: 195px;
    scroll-snap-align: start;
}
.related-track .pcard { margin: 0; }

.related-nav {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #e3ebe3;
    background: #fff;
    color: var(--am-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(20,40,63,.12);
    transition: all .18s;
    z-index: 2;
}
.related-nav:hover {
    background: var(--am-primary);
    color: #fff;
    border-color: var(--am-primary);
    transform: scale(1.08);
}
.related-nav:active { transform: scale(0.96); }

@media (max-width: 640px) {
    .related-track > .pcard { flex-basis: 155px; max-width: 155px; }
    .related-nav { width: 34px; height: 34px; }
}

.pcard {
    background: #fff !important;
    border: 1px solid #e8edf3 !important;
    border-radius: 14px !important;
    overflow: hidden;
    transition: box-shadow .2s, border-color .2s, transform .2s;
    box-shadow: 0 1px 3px rgba(20,40,63,.04);
}
.pcard:hover {
    border-color: #c5d4e6 !important;
    box-shadow: 0 8px 24px rgba(20,40,63,.12) !important;
    transform: translateY(-3px);
}
.pcard .pcard__img,
.pcard__img-wrap {
    background: #f8fafc !important;
    border-bottom: 1px solid #f0f3f7;
}
.pcard__price-main {
    color: var(--am-primary) !important;
    font-weight: 800;
}

.contact-cta-box {
    background: linear-gradient(135deg, #f0f5fb, #e3ecf7);
    border: 1px solid #c5d4e6;
    border-radius: 1rem;
    padding: 1.25rem;
    margin-top: 0.875rem;
}
.contact-cta-head {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    color: #2e7d32;
    font-size: 0.92rem;
    font-weight: 600;
    line-height: 1.75;
    margin-bottom: 1rem;
}
.contact-cta-head svg { color: var(--am-accent); flex-shrink: 0; margin-top: 3px; }
.contact-cta-actions {
    display: flex;
    gap: 0.75rem;
}
.contact-cta-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1rem;
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: 0.75rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: transform .18s, box-shadow .18s, background .18s;
}
.contact-cta-btn--call {
    background: linear-gradient(135deg, #2e7d32, #1b5e20);
    color: #fff !important;
    box-shadow: 0 4px 14px rgba(46,125,50,.22);
}
.contact-cta-btn--call:hover { transform: translateY(-2px); box-shadow: 0 7px 20px rgba(46,125,50,.32); }
.contact-cta-btn--wa {
    background: linear-gradient(135deg, #25d366, #1da851);
    color: #fff !important;
    box-shadow: 0 4px 14px rgba(37,211,102,.25);
}
.contact-cta-btn--wa:hover { transform: translateY(-2px); box-shadow: 0 7px 20px rgba(37,211,102,.38); }
.contact-cta-btn svg { color: #fff; flex-shrink: 0; }
.contact-cta-number {
    text-align: center;
    margin-top: 1rem;
    font-size: 1.35rem;
    font-weight: 800;
    color: #2e7d32;
    letter-spacing: 1px;
    font-family: Tahoma, sans-serif;
    direction: ltr;
}
@media (max-width: 480px) {
    .contact-cta-actions { flex-direction: column; }
}

.pcard {
    display: flex !important;
    flex-direction: column;
    height: 100%;
}
.pcard__name {
    display: -webkit-box !important;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.8em;          
    line-height: 1.4;
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
}
.pcard__footer,
.pcard__footer--contact {
    margin-top: auto;
}
.products-grid,
.product-list-grid,
.category-products {
    align-items: stretch;
}
.products-grid > *,
.product-list-grid > * { display: flex; }

.gallery-wrap {
    width: 100%;
    max-width: 100%;
    overflow: hidden;          
}
.gallery-main {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #f8fafc;
    border: 1px solid #eef2f6;
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 12px;
}
.gallery-thumbs {
    display: flex;
    flex-wrap: wrap;           
    gap: 8px;
    margin-top: 12px;
    width: 100%;
}
.gallery-thumb {
    flex: 0 0 auto;
    width: 62px;
    height: 62px;
    padding: 0;
    background: #fff;
    border: 1.5px solid #e3ebe3;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: border-color .15s, transform .15s;
}
.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 4px;
    background: #fafbfc;
}
.gallery-thumb:hover { border-color: #c5d4e6; transform: translateY(-1px); }
.gallery-thumb.active {
    border-color: var(--am-accent);
    box-shadow: 0 0 0 2px rgba(239,108,0,.15);
}

@media (max-width: 640px) {
    .gallery-thumb { width: 54px; height: 54px; }
    .gallery-thumbs { gap: 6px; }
}

@media (max-width: 768px) {
    html { overflow-x: hidden; max-width: 100%; }
    body { overflow-x: clip; max-width: 100%; }
    .gallery-wrap, .product-gallery, .product-info { max-width: 100%; overflow-x: hidden; }
}

.sort-opt.active,
.sort-opt:hover,
.filter-chip,
.view-btn.active,
.chip.active,
.tab.active,
.badge-new {
    background: var(--am-primary) !important;
    color: #fff !important;
    border-color: var(--am-primary) !important;
}
.sort-opt.active { color: #fff !important; }

.text-pink-400, .text-pink-500, .text-pink-600, .text-pink-700 { color: var(--am-primary) !important; }
.bg-pink-400, .bg-pink-500, .bg-pink-600, .bg-pink-700 { background: var(--am-primary) !important; }
.bg-pink-50, .bg-pink-100 { background: #e8f5e9 !important; }
.border-pink-100, .border-pink-200, .border-pink-300,
.border-pink-400, .border-pink-500, .border-pink-600 { border-color: #c8e6c9 !important; }
.ring-pink-500, .ring-pink-400 { --tw-ring-color: var(--am-primary) !important; }
.from-pink-500, .to-pink-500, .from-pink-600, .to-pink-600 {
    --tw-gradient-from: var(--am-primary) !important;
    --tw-gradient-to: var(--am-primary) !important;
}

.hover\:bg-pink-600:hover, .hover\:bg-pink-700:hover { background: var(--am-primary-dark, #1b5e20) !important; }
.hover\:text-pink-600:hover, .hover\:text-pink-700:hover { color: var(--am-accent) !important; }

input[type="radio"]:checked, input[type="checkbox"]:checked { accent-color: var(--am-primary) !important; }

a.active, .nav-link.active, .page-item.active .page-link {
    background: var(--am-primary) !important;
    color: #fff !important;
    border-color: var(--am-primary) !important;
}

.variant-box {
    margin: 1rem 0;
    padding: 1rem;
    background: #f8fafc;
    border: 1px solid #e8edf3;
    border-radius: 0.875rem;
}
.variant-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: #2e7d32;
    margin-bottom: 0.75rem;
}
.variant-options {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.variant-opt {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.75rem 1rem;
    background: #fff;
    border: 1.5px solid #e3ebe3;
    border-radius: 0.625rem;
    cursor: pointer;
    transition: all .15s;
}
.variant-opt:hover { border-color: #c5d4e6; }
.variant-opt input[type="radio"] { accent-color: var(--am-primary); width: 18px; height: 18px; flex-shrink: 0; }
.variant-opt input:checked ~ .variant-opt-name { font-weight: 700; color: var(--am-primary); }
.variant-opt:has(input:checked) {
    border-color: var(--am-primary);
    background: #f0f5fb;
    box-shadow: 0 0 0 2px rgba(46,125,50,.08);
}
.variant-opt-name {
    flex: 1;
    font-size: 0.9rem;
    color: #374151;
}
.variant-opt-price {
    font-size: 0.95rem;
    font-weight: 700;
    color: #2e7d32;
    white-space: nowrap;
}
.variant-opt--out {
    opacity: 0.55;
    cursor: not-allowed;
    background: #f9fafb;
}
.variant-opt-out-label {
    font-size: 0.8rem;
    color: #9ca3af;
    font-weight: 600;
}

.variant-opt-price { display: inline-flex; align-items: center; gap: 0.4rem; flex-wrap: wrap; justify-content: flex-end; }
.variant-opt-old {
    font-size: 0.8rem;
    color: #9ca3af;
    text-decoration: line-through;
    font-weight: 500;
}
.variant-opt-badge {
    font-size: 0.7rem;
    font-weight: 700;
    color: #fff;
    background: #ef4444;
    padding: 0.1rem 0.35rem;
    border-radius: 0.35rem;
}
.variant-opt-now { font-weight: 800; color: #2e7d32; }


   و فقط .blog-content را استثنا کرده بود. متن مقاله ها با کلاس
   post-content رندر می شود، توضیحات محصول و دسته با bw-rich —
   برای همین همه بولت ها ناپدید شده بودند. */
.post-content ul,
.bw-rich ul,
.cat-desc ul,
.cat-intro ul,
.am-hometext-content ul,
.product-desc ul,
.blog-content ul {
    list-style: disc outside !important;
    padding-right: 1.5rem;
    margin: 0 0 1rem;
}
.post-content ol,
.bw-rich ol,
.cat-desc ol,
.cat-intro ol,
.am-hometext-content ol,
.product-desc ol,
.blog-content ol {
    list-style: decimal outside !important;
    padding-right: 1.5rem;
    margin: 0 0 1rem;
}
.post-content ul ul,
.bw-rich ul ul,
.cat-desc ul ul,
.am-hometext-content ul ul { list-style: circle outside !important; margin-bottom: 0.35rem; }

.post-content li,
.bw-rich li,
.cat-desc li,
.cat-intro li,
.am-hometext-content li,
.product-desc li,
.blog-content li {
    display: list-item !important;
    margin-bottom: 0.45rem;
    line-height: 2;
}
.post-content li::marker,
.bw-rich li::marker,
.cat-desc li::marker,
.cat-intro li::marker,
.am-hometext-content li::marker,
.product-desc li::marker,
.blog-content li::marker { color: var(--am-accent, #ef6c00); }

.post-content .toc-list,
.bw-rich .toc-list { list-style: none !important; padding-right: 0; }

.cart-item__price-old {
    color: #9aa4b0;
    font-size: 0.8125rem;
    text-decoration: line-through;
    margin-left: 0.5rem;
}
.cart-item__price-off {
    display: inline-block;
    background: #e02b2b;
    color: #fff;
    font-size: 0.6875rem;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: 6px;
    margin-left: 0.5rem;
}
.cart-item__meta { display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px; }

.cart-guest-note {
    margin: 0.5rem 0 0;
    font-size: 0.75rem;
    color: #98a1ad;
    text-align: center;
    line-height: 1.9;
}
.cart-guest-note a { color: var(--am-primary, #2e7d32); }

.ship-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 1rem; }
.ship-help-btn {
    display: inline-flex; align-items: center; gap: 5px;
    background: none; border: 1px solid #dfe4ea; border-radius: 999px;
    padding: 5px 12px; font-family: inherit; font-size: 12px; color: var(--am-primary, #2e7d32);
    cursor: pointer; transition: border-color .18s ease, background .18s ease;
}
.ship-help-btn svg { width: 14px; height: 14px; }
.ship-help-btn:hover { border-color: var(--am-accent, #ef6c00); background: #fff8f3; color: var(--am-accent, #ef6c00); }

.ship-modal { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 1rem; }
.ship-modal[hidden] { display: none; }
.ship-modal__backdrop { position: absolute; inset: 0; background: rgba(17, 28, 43, .55); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }
.ship-modal__box {
    position: relative; width: 100%; max-width: 560px; max-height: 88vh; display: flex; flex-direction: column;
    background: #fff; border-radius: 18px; overflow: hidden; box-shadow: 0 24px 60px rgba(10, 22, 40, .35);
    animation: shipIn .22s ease;
}
@keyframes shipIn { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .ship-modal__box { animation: none; } }

.ship-modal__head {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    padding: 15px 18px; background: var(--am-primary, #2e7d32); color: #fff;
}
.ship-modal__head h3 { margin: 0; font-size: 15px; font-weight: 700; }
.ship-modal__x { background: none; border: none; color: rgba(255,255,255,.75); font-size: 26px; line-height: 1; cursor: pointer; padding: 0 4px; }
.ship-modal__x:hover { color: #fff; }

.ship-modal__body { padding: 16px 18px; overflow-y: auto; }
.ship-cards { display: flex; flex-direction: column; gap: 9px; margin-bottom: 15px; }
.ship-card { display: flex; align-items: flex-start; gap: 11px; background: #f7faf7; border: 1px solid #eef3ee; border-radius: 12px; padding: 12px 14px; }
.ship-card__ico { flex: 0 0 auto; font-size: 20px; line-height: 1.4; }
.ship-card b { display: block; font-size: 13.5px; color: #1f2937; margin-bottom: 3px; }
.ship-card p { margin: 0; font-size: 12.5px; line-height: 1.95; color: #5b6572; }
.ship-amt { font-weight: 700; color: #1f2937; white-space: nowrap; }
.ship-free { color: #15803d; }

.ship-notes { margin: 0 0 14px; padding-right: 1.15rem; list-style: disc outside; }
.ship-notes li { font-size: 12.5px; line-height: 2; color: #5b6572; margin-bottom: 5px; }
.ship-notes li::marker { color: var(--am-accent, #ef6c00); }

.ship-hl { background: #fff8f3; border: 1px solid #ffe0c7; border-radius: 12px; padding: 12px 14px; font-size: 12.5px; line-height: 2; color: #8a4a12; }

.ship-modal__foot { padding: 12px 18px; border-top: 1px solid #eef3ee; text-align: left; }
.ship-modal__ok {
    background: var(--am-primary, #2e7d32); color: #fff; border: none; border-radius: 10px;
    padding: 9px 26px; font-family: inherit; font-size: 13.5px; font-weight: 700; cursor: pointer;
}
.ship-modal__ok:hover { background: #1b5e20; }

@media (max-width: 560px) {
    .ship-modal { padding: 0; align-items: flex-end; }
    .ship-modal__box { max-width: none; max-height: 92vh; border-radius: 18px 18px 0 0; }
}

.am-search { position: relative; z-index: 900; flex: 1 1 auto; max-width: 620px; margin: 0 1.5rem; }
.am-search form {
    display: flex; align-items: center; gap: 8px;
    background: #fff; border: 1.5px solid #e1e8e1; border-radius: 14px;
    padding: 0 8px 0 6px; height: 46px;
    transition: border-color .18s ease, box-shadow .18s ease;
}
.am-search form:focus-within { border-color: var(--am-accent, #ef6c00); box-shadow: 0 0 0 4px rgba(239,108,0,.10); }
.am-search-ico { width: 18px; height: 18px; color: #9aa4b0; flex: 0 0 auto; margin-right: 6px; }
.am-search input {
    flex: 1 1 auto; min-width: 0; border: none; outline: none; background: none;
    font-family: inherit; font-size: 13.5px; color: #24332a; height: 100%;
}
.am-search input::placeholder { color: #a8b2be; }
.am-search-clear {
    display: none; border: none; background: #f1f5f1; color: #7b8694;
    width: 22px; height: 22px; border-radius: 50%; cursor: pointer;
    font-size: 17px; line-height: 1; flex: 0 0 auto;
}
.am-search.has-text .am-search-clear { display: block; }
.am-search-go {
    flex: 0 0 auto; border: none; cursor: pointer;
    background: var(--am-primary, #2e7d32); color: #fff;
    border-radius: 10px; padding: 0 18px; height: 34px;
    font-family: inherit; font-size: 13px; font-weight: 700;
    transition: background .18s ease;
}
.am-search-go:hover { background: var(--am-accent, #ef6c00); }

.am-search-panel {
    position: absolute; top: calc(100% + 8px); right: 0; left: 0; z-index: 5;
    background: #fff; border: 1px solid #e8ecf1; border-radius: 14px;
    box-shadow: 0 18px 44px rgba(16,29,45,.16); overflow: hidden; max-height: 74vh; overflow-y: auto;
}
.am-search-panel[hidden] { display: none; }
.am-sg-head {
    font-size: 11px; color: #98a1ad; padding: 9px 14px 5px; background: #fafbfc;
    border-bottom: 1px solid #f1f5f1;
}
.am-sg-item {
    display: flex; align-items: center; gap: 10px; padding: 9px 14px;
    text-decoration: none; color: #24332a; border-bottom: 1px solid #f5f7f9;
}
.am-sg-item:last-child { border-bottom: none; }
.am-sg-item:hover, .am-sg-item.is-active { background: #f7faf7; }
.am-sg-thumb {
    width: 42px; height: 42px; flex: 0 0 auto; border: 1px solid #eef3ee; border-radius: 9px;
    background: #fafbfc; display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.am-sg-thumb img { max-width: 100%; max-height: 100%; object-fit: contain; }
.am-sg-name { font-size: 13px; line-height: 1.7; flex: 1 1 auto; min-width: 0; }
.am-sg-name b { font-weight: 700; color: #1c3d1f; }
.am-sg-price { font-size: 12.5px; font-weight: 700; color: #1c3d1f; white-space: nowrap; }
.am-sg-price.off { color: #a8b2be; font-weight: 400; font-size: 11.5px; }
.am-sg-chip {
    display: inline-flex; align-items: center; gap: 6px;
    background: #f1f5f1; border-radius: 999px; padding: 5px 12px;
    font-size: 12.5px; color: #37424f; text-decoration: none; margin: 0 0 6px 6px;
}
.am-sg-chip:hover { background: var(--am-primary, #2e7d32); color: #fff; }
.am-sg-chips { padding: 10px 14px; display: flex; flex-wrap: wrap; }
.am-sg-all {
    display: block; text-align: center; padding: 11px; font-size: 12.5px; font-weight: 700;
    color: var(--am-primary, #2e7d32); background: #f7faf7; text-decoration: none;
    border-top: 1px solid #eef3ee;
}
.am-sg-all:hover { color: var(--am-accent, #ef6c00); }
.am-sg-empty { padding: 26px 14px; text-align: center; color: #a8b2be; font-size: 13px; }

.am-search--m { margin: 0; max-width: none; z-index: 900; display: flex; align-items: center; gap: 8px; }
.am-search--m form {
    flex: 1 1 auto; min-width: 0;
    height: 46px; border-radius: 14px;
    background: #f6f8fb; border-color: #e7ecf3;
    padding: 0 10px 0 6px;
}
.am-search--m form:focus-within { background: #fff; }
.am-search--m input { font-size: 14px; }
.am-search--m .am-search-ico { width: 19px; height: 19px; margin-right: 4px; }
.am-search--m .am-search-clear { width: 24px; height: 24px; font-size: 18px; }

.am-search-cancel {
    display: none; flex: 0 0 auto;
    background: none; border: none; padding: 4px 2px;
    font-family: inherit; font-size: 13px; font-weight: 700;
    color: var(--am-primary, #2e7d32); cursor: pointer; white-space: nowrap;
}
.am-search--m.is-open .am-search-cancel { display: block; }

.am-search--m .am-search-panel {
    top: calc(100% + 10px);
    right: -0.75rem; left: -0.75rem;
    border-radius: 16px 16px 0 0;
    max-height: calc(100vh - 190px);
    box-shadow: 0 -2px 0 #eef3ee, 0 20px 50px rgba(16,29,45,.2);
}
.am-search--m .am-sg-item { padding: 11px 14px; }
.am-search--m .am-sg-thumb { width: 46px; height: 46px; }
.am-search--m .am-sg-name { font-size: 13.5px; }

.am-search-dim {
    position: fixed; inset: 0; z-index: 890;
    background: rgba(12,22,36,.32);
    opacity: 0; pointer-events: none; transition: opacity .2s ease;
}
.am-search-dim.on { opacity: 1; pointer-events: auto; }

.related-track { align-items: stretch !important; }

.related-track > .pcard {
    display: flex !important;
    align-self: stretch !important;
    height: 100% !important;
}
.related-track > style,
.related-track > script,
.am-rowsec-track > style,
.am-rowsec-track > script,
.am-deals-track > style,
.am-deals-track > script,
.cat-grid > style,
.cat-grid > script { display: none !important; }
.related-track .pcard {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.related-track .pcard__name {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.45em;
    line-height: 1.5;
}

.related-track .pcard__price { margin-top: auto; }
.related-track .pcard__price-main,
.related-track .pcard__price-old,
.related-track .pcard__price-out {
    white-space: nowrap;
    display: block;
}
.related-track .pcard__price-main { font-size: 0.875rem; }

.related-track .pcard__footer { margin-top: 0.5rem; }

@media (max-width: 640px) {
    .related-track .pcard__price-main { font-size: 0.8125rem; }
    .related-track .pcard__name { font-size: 0.78rem; min-height: 2.4em; }
}

.paym { margin-top: 18px; border-top: 1px solid #eef3ee; padding-top: 14px; }
.paym-t { font-size: 12.5px; color: #98a1ad; margin-bottom: 9px; }
.paym-o {
    display: flex; align-items: flex-start; gap: 9px; cursor: pointer;
    padding: 10px 12px; border: 1px solid #e1e8e1; border-radius: 12px; margin-bottom: 8px;
    transition: border-color .18s ease, background .18s ease;
}
.paym-o:hover { border-color: #cfd8e3; }
.paym-o input { margin-top: 4px; flex: 0 0 auto; }
.paym-o:has(input:checked), .paym-o.is-on { border-color: #ef6c00; background: #fff8f3; }
.paym-b { display: block; min-width: 0; }
.paym-b b { display: block; font-size: 13.5px; color: #24332a; }
.paym-b small { display: block; font-size: 11.5px; color: #8b98a8; margin-top: 2px; line-height: 1.8; }
.paym-only {
    margin-top: 16px; background: #fff8f3; border: 1px solid #ffe0c7; border-radius: 12px;
    padding: 11px 13px; font-size: 12.5px; color: #8a4a12; line-height: 1.95;
}

.ck-coupon { display: flex; gap: 7px; margin: 0 0 8px; }
.ck-coupon input {
    flex: 1 1 auto; min-width: 0; border: 1px solid #e1e8e1; border-radius: 10px;
    padding: 9px 12px; font-family: inherit; font-size: 13px; outline: none;
    transition: border-color .18s ease;
}
.ck-coupon input:focus { border-color: #ef6c00; }
.ck-coupon button {
    flex: 0 0 auto; border: 1px solid #dfe4ea; background: #f7faf7; color: #37424f;
    border-radius: 10px; padding: 0 16px; font-family: inherit; font-size: 12.5px;
    font-weight: 700; cursor: pointer;
}
.ck-coupon button:hover { border-color: #2e7d32; color: #2e7d32; }
.ck-coupon button:disabled { opacity: .6; cursor: default; }
.ck-coupon-msg { font-size: 11.5px; min-height: 16px; margin-bottom: 6px; }
.ck-coupon-msg.ok { color: #15803d; }
.ck-coupon-msg.bad { color: #dc2626; }

.cart-item--warn { border-color: #ffe0c7 !important; background: #fffdf7; }
.cart-warn {
    width: 100%; order: -1;
    background: #fff8f3; border: 1px solid #ffe0c7; border-radius: 10px;
    padding: 8px 12px; margin-bottom: 10px;
    font-size: 12px; line-height: 1.9; color: #8a4a12;
}
.cart-warn b { color: #1c3d1f; }
.cart-warn--bad { background: #fef2f2; border-color: #fecaca; color: #991b1b; }

.cap {
    display: flex; align-items: stretch; gap: 0;
    border: 1px solid #e1e8e1; border-radius: 12px; overflow: hidden;
    background: #fbfcfd; transition: border-color .18s ease, box-shadow .18s ease;
}
.cap:focus-within { border-color: #ef6c00; box-shadow: 0 0 0 4px rgba(239,108,0,.10); }

.cap-q {
    display: flex; align-items: center; gap: 8px;
    padding: 10px 14px; background: #f1f5f1; border-left: 1px solid #e1e8e1;
    flex: 0 0 auto; white-space: nowrap;
}
.cap-q svg { width: 18px; height: 18px; color: #16a34a; flex: 0 0 auto; }
.cap-t { font-size: 12px; color: #6b7a8d; }
.cap-sum {
    font-family: 'Courier New', monospace; font-size: 15px; font-weight: 700;
    color: #1c3d1f; letter-spacing: 1px; direction: ltr;
    background: #fff; border: 1px solid #e1e8e1; border-radius: 7px; padding: 2px 10px;
    -webkit-user-select: none; user-select: none;
}
.cap-in {
    flex: 1 1 auto; min-width: 0; border: none; outline: none; background: transparent;
    font-family: inherit; font-size: 14px; color: #24332a; padding: 10px 14px; text-align: center;
}
.cap-in::placeholder { color: #b3bdc9; }

@media (max-width: 480px) {
    .cap { flex-direction: column; }
    .cap-q { border-left: none; border-bottom: 1px solid #e1e8e1; justify-content: center; }
    .cap-in { text-align: center; padding: 12px; }
}

.cart-item__variant {
    display: inline-block; margin-top: 4px;
    background: #eef7ee; color: #2e7d32; border: 1px solid #c8e6c9;
    border-radius: 7px; padding: 2px 9px; font-size: 11.5px;
}

.btn-cart,
.sticky-cta .btn-cart {
    background-color: #2e7d32 !important;
    background-image:
        repeating-linear-gradient(
            135deg,
            rgba(255,255,255,.07) 0 10px,
            rgba(255,255,255,0)   10px 20px
        ) !important;
    background-size: 28px 28px;
    color: #fff !important;
    box-shadow: 0 4px 14px rgba(46,125,50,.25);
    transition: background-position .45s ease, box-shadow .18s ease, transform .1s ease;
}
.btn-cart:hover,
.sticky-cta .btn-cart:hover {
    background-color: #1c3d1f !important;
    background-position: 28px 0;               
    box-shadow: 0 7px 20px rgba(46,125,50,.34);
}
.btn-cart:active { transform: scale(.98); }
.btn-cart:disabled {
    background-color: #9ca3af !important;
    background-image: none !important;
    box-shadow: none;
    cursor: not-allowed;
}

.pcard .add-to-cart-btn {
    background-color: #2e7d32 !important;
    background-image: repeating-linear-gradient(135deg,
        rgba(255,255,255,.08) 0 8px, rgba(255,255,255,0) 8px 16px) !important;
}
.pcard .add-to-cart-btn:hover { background-color: #1c3d1f !important; }

@media (prefers-reduced-motion: reduce) {
    .btn-cart, .sticky-cta .btn-cart { transition: box-shadow .18s ease; }
    .btn-cart:hover { background-position: 0 0; }
}

.bw-rich { color: #3f3f46; font-size: 0.9rem; line-height: 2.05; }
.bw-rich > *:first-child { margin-top: 0; }

.bw-rich h2, .bw-rich h3, .bw-rich h4 {
    color: #1f2937; font-weight: 700; line-height: 1.7;
    margin: 1.75rem 0 .65rem; padding-right: .7rem; position: relative;
}
.bw-rich h2 { font-size: 1.15rem; }
.bw-rich h3 { font-size: 1rem; }
.bw-rich h4 { font-size: 0.925rem; padding-right: 0; }
.bw-rich h2::before, .bw-rich h3::before {
    content: ''; position: absolute; right: 0; top: .28em; bottom: .28em;
    width: 3px; border-radius: 3px; background: #2e7d32;
}
.bw-rich h3::before { background: #ef6c00; }

.bw-rich p { margin: 0 0 .9rem; }
.bw-rich ul, .bw-rich ol { margin: 0 0 1rem; padding-right: 1.4rem; }
.bw-rich ul { list-style: disc; }
.bw-rich ol { list-style: decimal; }
.bw-rich li { margin-bottom: .4rem; padding-right: .2rem; display: list-item; }
.bw-rich li::marker { color: #ef6c00; }
.bw-rich strong, .bw-rich b { color: #1f2937; font-weight: 700; }

.bw-rich a {
    color: #2e7d32; font-weight: 600;
    text-decoration: underline; text-underline-offset: 3px;
    text-decoration-color: #cfd8e3; transition: color .18s ease, text-decoration-color .18s ease;
}
.bw-rich a:hover { color: #ef6c00; text-decoration-color: #ef6c00; }

.bw-rich img { max-width: 100%; height: auto; border-radius: .6rem; margin: .5rem 0; }
.bw-rich hr { border: 0; border-top: 1px solid #f1f1f4; margin: 1.5rem 0; }
.bw-rich blockquote {
    margin: 1rem 0; padding: .85rem 1rem; border-right: 3px solid #ef6c00;
    background: #fff8f3; border-radius: .5rem; color: #4b5563;
}

.bw-rich table {
    width: 100%; border-collapse: separate; border-spacing: 0; margin: 1rem 0 1.25rem;
    font-size: 0.85rem; border: 1px solid #ececed; border-radius: .6rem; overflow: hidden;
}
.bw-rich thead th, .bw-rich table tr:first-child th {
    background: #eef7ee; color: #1f2937; font-weight: 700;
}
.bw-rich th, .bw-rich td {
    border-bottom: 1px solid #f1f1f4; border-left: 1px solid #f1f1f4;
    padding: .65rem .8rem; text-align: right; vertical-align: top; line-height: 1.85;
}
.bw-rich th:first-child, .bw-rich td:first-child { border-left: 0; }
.bw-rich tr:last-child th, .bw-rich tr:last-child td { border-bottom: 0; }
.bw-rich tbody tr:nth-child(even) td { background: #fcfcfd; }

@media (max-width: 640px) {
    .bw-rich table { display: block; overflow-x: auto; white-space: nowrap; }
    .bw-rich th, .bw-rich td { white-space: normal; min-width: 8rem; }
}

.brand-rich {
    background: #fff; border: 1px solid #eef3ee; border-radius: 1rem;
    padding: 1.5rem 1.75rem;
}
.brand-rich__title {
    display: flex; align-items: center; gap: .6rem;
    font-size: 1.05rem; font-weight: 800; color: #1c3d1f; margin: 0 0 1rem;
}
.brand-rich__title::before {
    content: ''; width: 4px; height: 1.1em; border-radius: 2px; background: #ef6c00;
}
@media (max-width: 640px) {
    .brand-rich { padding: 1.1rem 1rem; border-radius: .85rem; }
}


.brand-rich ul,
.cat-body ul,
.product-content ul,
.page-content ul,
.bw-cashback-content ul,
.post-content ul,
.bw-rich ul,
.cat-desc ul,
.cat-intro ul,
.cat-seo ul,
.am-hometext-content ul,
.product-desc ul,
.blog-content ul {
    list-style: disc outside !important;
    padding-right: 1.6rem;
    padding-left: 0;
    margin: 0 0 1rem;
}
.brand-rich ol,
.cat-body ol,
.product-content ol,
.page-content ol,
.bw-cashback-content ol,
.post-content ol,
.bw-rich ol,
.cat-desc ol,
.cat-intro ol,
.cat-seo ol,
.am-hometext-content ol,
.product-desc ol,
.blog-content ol {
    list-style: decimal outside !important;
    padding-right: 1.6rem;
    padding-left: 0;
    margin: 0 0 1rem;
}

.brand-rich ul ul, .cat-body ul ul, .product-content ul ul,
.post-content ul ul, .bw-rich ul ul, .cat-desc ul ul,
.cat-intro ul ul, .cat-seo ul ul, .am-hometext-content ul ul,
.product-desc ul ul, .blog-content ul ul { list-style: circle outside !important; }

.brand-rich ul ul ul, .cat-body ul ul ul, .product-content ul ul ul,
.post-content ul ul ul, .bw-rich ul ul ul, .cat-desc ul ul ul,
.blog-content ul ul ul { list-style: square outside !important; }

.brand-rich li ul, .brand-rich li ol,
.cat-body li ul, .cat-body li ol,
.product-content li ul, .product-content li ol,
.post-content li ul, .post-content li ol,
.bw-rich li ul, .bw-rich li ol,
.cat-desc li ul, .cat-desc li ol,
.cat-intro li ul, .cat-intro li ol,
.blog-content li ul, .blog-content li ol { margin: 0.4rem 0 0.2rem; }

.brand-rich li,
.cat-body li,
.product-content li,
.page-content li,
.bw-cashback-content li,
.post-content li,
.bw-rich li,
.cat-desc li,
.cat-intro li,
.cat-seo li,
.am-hometext-content li,
.product-desc li,
.blog-content li {
    display: list-item !important;
    margin-bottom: 0.45rem;
    line-height: 2;
    padding-right: 0.25rem;
}

.brand-rich li > p, .cat-body li > p, .product-content li > p,
.post-content li > p, .bw-rich li > p, .cat-desc li > p,
.cat-intro li > p, .cat-seo li > p, .am-hometext-content li > p,
.product-desc li > p, .blog-content li > p { margin: 0; display: inline; }

.brand-rich li::marker,
.cat-body li::marker,
.product-content li::marker,
.page-content li::marker,
.bw-cashback-content li::marker,
.post-content li::marker,
.bw-rich li::marker,
.cat-desc li::marker,
.cat-intro li::marker,
.cat-seo li::marker,
.am-hometext-content li::marker,
.product-desc li::marker,
.blog-content li::marker {
    color: var(--am-accent, #ef6c00);
    font-weight: 700;
}

.post-content .toc-list,
.bw-rich .toc-list,
.product-content .toc-list,
.cat-body .toc-list { list-style: none !important; padding-right: 0; }

.post-content nav ul, .bw-rich nav ul, .cat-body nav ul,
.product-content nav ul, .brand-rich nav ul { list-style: none !important; padding-right: 0; }

@media (max-width: 640px) {
    .brand-rich ul, .cat-body ul, .product-content ul, .post-content ul,
    .bw-rich ul, .cat-desc ul, .cat-intro ul, .blog-content ul,
    .brand-rich ol, .cat-body ol, .product-content ol, .post-content ol,
    .bw-rich ol, .cat-desc ol, .cat-intro ol, .blog-content ol { padding-right: 1.25rem; }
}

/* قیمت هر عدد در بسته های چندتایی */
.variant-opt-price { flex-direction: column; align-items: flex-end; gap: 0.25rem; }
.variant-opt-price > .variant-opt-old,
.variant-opt-price > .variant-opt-badge,
.variant-opt-price > .variant-opt-now { order: 0; }

.variant-unit-chip {
    order: 1;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #eefaf3;
    border: 1px solid #cdebd9;
    border-radius: 999px;
    padding: 2px 9px;
    font-size: 11.5px;
    font-weight: 500;
    color: #15803d;
    white-space: nowrap;
    line-height: 1.9;
}
.variant-unit-chip b { font-weight: 800; }
.variant-unit-chip .u-lbl { opacity: .75; }
.variant-unit-chip .u-save {
    background: #15803d; color: #fff; border-radius: 999px;
    padding: 0 6px; font-size: 10.5px; font-weight: 700;
}
.variant-opt--out .variant-unit-chip { background: #f4f6f8; border-color: #e3ebe3; color: #a3acb8; }
.variant-opt--out .variant-unit-chip .u-save { background: #c4ccd6; }

.price-unit { margin-top: 7px; font-size: 13px; font-weight: 500; color: #15803d;
    background: #eefaf3; border: 1px solid #cdebd9; border-radius: 9px; padding: 6px 13px; display: inline-block; }
.price-unit b { font-weight: 800; }
.price-unit .pu-save { background: #15803d; color: #fff; border-radius: 999px; padding: 1px 8px;
    font-size: 11px; font-weight: 700; margin-right: 4px; }
@media (max-width: 640px) {
    .price-unit { font-size: 12.5px; padding: 5px 11px; }
    .variant-unit-chip { font-size: 11px; padding: 2px 8px; }
}

/* بنر کش بک صفحه محصول */
.cb-banner { display: flex; align-items: center; gap: 10px; margin-top: 10px; padding: 10px 13px;
    background: linear-gradient(135deg, #ecfdf5, #dcfce7); border: 1px solid #bbf7d0;
    border-radius: 11px; animation: cbGlow 2.4s ease-in-out infinite; }
.cb-banner .cb-icon { flex: 0 0 auto; width: 26px; height: 26px; border-radius: 8px;
    background: #16a34a; color: #fff; display: flex; align-items: center; justify-content: center; }
.cb-banner .cb-icon svg { width: 15px; height: 15px; }
.cb-banner .cb-text { font-size: 13px; color: #166534; line-height: 1.8; }
.cb-banner .cb-text b { font-weight: 800; font-size: 14px; }
.cb-banner .cb-text small { display: block; font-size: 11px; color: #3f8f5f; font-weight: 400; }
@keyframes cbGlow {
    0%, 100% { border-color: #bbf7d0; box-shadow: 0 0 0 0 rgba(22,163,74,0); }
    50%      { border-color: #86efac; box-shadow: 0 0 0 4px rgba(22,163,74,.10); }
}
@media (prefers-reduced-motion: reduce) { .cb-banner { animation: none; } }
.cart-summary .summary-row.cb-row { color: #16a34a; font-weight: 700; }
