/* ============================================================
   UI REDESIGN v10 - 2026-03-31
   All blues → green (#4CAF50 family)
   ============================================================ */

/* --- Compact Logo --- */
.logo {
    display: flex !important;
    align-items: center;
    gap: 0 !important;
    text-decoration: none !important;
}
.logo-img-compact {
    height: 48px;
    width: auto;
    display: block;
    margin: 0 !important;
    padding: 0 !important;
}
.logo-brand-text {
    font-family: var(--font-heading, 'Montserrat', 'Arial', sans-serif);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: #1a5c2a;
    text-transform: uppercase;
    line-height: 1;
    margin: 0 !important;
    padding: 0 !important;
}
.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: flex-start !important;
    gap: 0 !important;
}
.nav-left {
    flex-shrink: 0;
    margin-right: 40px !important;
}
.nav-right {
    flex: 0 0 auto !important;
    margin-left: 0 !important;
}

/* --- Vertical Dropdown Menu for Products --- */
.has-maincategory-dropdown {
    position: relative;
}
.vdrop-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 320px;
    background: #ffffff;
    border-top: 2px solid #4CAF50;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    z-index: 1000;
}
.has-maincategory-dropdown:hover .vdrop-menu,
.vdrop-menu.active {
    display: block;
}
.vdrop-inner {
    padding: 0;
}
.vdrop-list {
    list-style: none;
    margin: 0;
    padding: 8px 0;
}
.vdrop-list > li {
    position: relative;
    display: flex;
    align-items: center;
}
.vdrop-item {
    display: block;
    flex: 1;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    transition: background 0.15s, color 0.15s;
    white-space: nowrap;
}
.vdrop-item:hover {
    background: #f0f8f0;
    color: #4CAF50;
}
.vdrop-list > li:hover > .vdrop-item {
    background: #f0f8f0;
    color: #4CAF50;
}
.vdrop-arrow {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    color: #999;
    pointer-events: none;
    line-height: 1;
}
.vdrop-list > li:hover > .vdrop-arrow {
    color: #4CAF50;
}
/* Separator line between items */
.vdrop-list > li + li {
    border-top: 1px solid #f2f2f2;
}
/* Sub-menu (second level) - absolutely positioned, right side flyout */
.vdrop-sub {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    position: absolute;
    left: 100%;
    top: -8px;
    min-width: 260px;
    background: #ffffff;
    border-left: 2px solid #4CAF50;
    box-shadow: 4px 4px 20px rgba(0, 0, 0, 0.1);
    list-style: none;
    margin: 0;
    padding: 8px 0;
    z-index: 1001;
    transition: opacity 0.15s, visibility 0.15s;
}
.vdrop-list > li:hover > .vdrop-sub {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}
.vdrop-sub-item {
    display: block;
    padding: 8px 20px;
    font-size: 13px;
    color: #555;
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
}
.vdrop-sub-item:hover {
    background: #f0f8f0;
    color: #4CAF50;
}
.vdrop-sub > li + li {
    border-top: 1px solid #f5f5f5;
}
/* Legacy styles kept for sidebar compatibility */
.maincategory-left {
    width: 260px;
    flex-shrink: 0;
    border-right: 1px solid #e8ede4;
    max-height: 70vh;
    overflow-y: auto;
    background: #ffffff;
}
.maincategory-item {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 8px 16px;
    cursor: pointer;
    border-bottom: 1px solid #edf1ea;
    border-left: 3px solid transparent;
    transition: background 0.18s ease, border-color 0.18s ease;
}
.maincategory-item:hover,
.maincategory-item.active {
    background: #edf7ec;
    border-left-color: #4CAF50;
}
.maincategory-item-icon {
    width: 40px;
    height: 32px;
    flex-shrink: 0;
    border-radius: 4px;
    background: #edf7ec;
    color: #4CAF50;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}
.maincategory-item-name {
    flex: 1;
    font-size: 14px;
    color: #263126;
    font-weight: 500;
    line-height: 1.3;
}
.maincategory-arrow {
    font-size: 18px;
    color: #98a397;
}
.maincategory-right {
    padding: 16px 24px 20px;
    max-height: 400px;
    overflow-y: auto;
    background: #ffffff;
    min-width: 180px;
    width: auto;
    flex-shrink: 0;
}
.maincategory-sub-panel {
    display: none;
    flex-direction: column;
}
.maincategory-sub-panel.active {
    display: flex;
}
.maincategory-sub-header {
    padding-bottom: 18px;
    margin-bottom: 10px;
    border-bottom: 1px solid #e8ede4;
}
.maincategory-sub-view-all {
    display: inline-block;
    color: #567552;
    text-decoration: none;
    font-size: 17px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}
.maincategory-sub-view-all:hover {
    color: #3d5b39;
}
.maincategory-sub-link {
    display: block;
    padding: 8px 0;
    color: #334133;
    text-decoration: none;
    font-size: 14px;
    border-bottom: 1px solid #f1f4ef;
    transition: color 0.15s ease, padding-left 0.15s ease;
}
.maincategory-sub-link:hover {
    color: #4CAF50;
    padding-left: 4px;
}

/* --- Product Categories: 6 real categories, large image layout with site styling --- */
.home-categories-section {
    padding: 86px 0 74px;
    background: #f4f7f0;
}
.home-categories-section .aesop-container {
    max-width: min(1320px, calc(100vw - 56px));
}
.home-categories-section .section-header {
    max-width: 760px;
    margin: 0 auto;
}
.home-categories-section .section-header h2 {
    margin-bottom: 14px;
    font-size: clamp(34px, 4vw, 56px);
    line-height: 1.06;
    letter-spacing: -0.02em;
}
.home-categories-section .section-header p {
    max-width: 680px;
    margin: 0 auto;
    font-size: clamp(15px, 1.2vw, 18px);
    line-height: 1.7;
    color: #4b5f4d;
}
.filmedia-cat-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    margin-top: 42px;
}
.filmedia-cat-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 10px 26px rgba(29, 54, 31, 0.08);
}
.filmedia-cat-img {
    position: relative;
    width: 100%;
    min-height: 360px;
    overflow: hidden;
    background: #c9cbc5;
}
.filmedia-cat-img img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}
.filmedia-cat-item:hover .filmedia-cat-img img {
    transform: scale(1.04);
}
.filmedia-cat-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 58px;
    color: #7c8b83;
    background: #c9cbc5;
}
.filmedia-cat-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 24px;
    background: linear-gradient(180deg, rgba(20, 28, 20, 0.14) 0%, rgba(20, 28, 20, 0.28) 56%, rgba(20, 28, 20, 0.42) 100%);
}
.filmedia-cat-overlay h4 {
    max-width: 12ch;
    margin: 0;
    color: #ffffff;
    font-size: clamp(19px, 1.55vw, 28px);
    font-weight: 700;
    line-height: 1.18;
    text-align: center;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}
.filmedia-cat-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 118px;
    min-height: 42px;
    padding: 10px 24px;
    background: #4CAF50;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 999px;
    transition: transform 0.2s ease, background 0.2s ease;
}
.filmedia-cat-btn:hover {
    background: #388E3C;
    color: #ffffff;
    transform: translateY(-1px);
}

/* --- Application Scenarios: 3x2 grid + green label bar --- */
.app-scenario-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 32px;
}
.app-scenario-item {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    border: none;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.app-scenario-item img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    display: block;
    transition: transform 0.35s;
}
.app-scenario-item:hover img {
    transform: scale(1.04);
}
.app-scenario-placeholder {
    width: 100%;
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: #81c784;
    background: #f5f5f5;
}
.app-scenario-label {
    background: #42a5f5;
    color: #fff;
    text-align: center;
    font-size: 15px;
    font-weight: 600;
    padding: 10px 12px;
    letter-spacing: 0.02em;
    font-family: var(--font-body);
}

/* --- Footer: 3-column layout --- */
.bf-footer-grid-3col {
    display: grid;
    grid-template-columns: 1.6fr 1fr 0.8fr;
    gap: 40px;
    padding: 48px 0 32px;
}
.bf-footer-col {}
.bf-useful-links-vertical {
    list-style: none;
    padding: 0;
    margin: 0;
}
.bf-useful-links-vertical li {
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.bf-useful-links-vertical li a {
    display: block;
    padding: 8px 0;
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}
.bf-useful-links-vertical li a:hover {
    color: #fff;
}

/* --- Product List & Pages: all text black --- */
.bf-product-list-page h1,
.bf-product-list-page h2,
.bf-product-list-page h3,
.bf-product-list-page h4,
.bf-product-list-page h5,
.bf-product-list-page h6,
.bf-product-list-page p,
.bf-product-list-page span,
.bf-product-list-page li,
.bf-product-list-page td,
.bf-product-list-page th,
.bf-product-list-page .bf-product-title,
.bf-product-list-page .bf-product-info,
.bf-product-list-page .category-tree-link span,
.bf-product-list-page .sidebar-title,
.product-sidebar .sidebar-title,
.product-sidebar .category-tree-link span {
    color: #111 !important;
}
.bf-product-list-page .bf-tag {
    color: #111 !important;
}

/* --- Product List: mainCategory sidebar --- */
.bf-pl-layout-new {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 32px;
    align-items: start;
}
.bf-sidebar-maincategory {
    position: sticky;
    top: 80px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.bf-maincategory-panel {
    display: flex;
    min-height: 400px;
}
.bf-maincategory-list {
    width: 220px;
    flex-shrink: 0;
    border-right: 1px solid #eee;
    overflow-y: auto;
    max-height: 600px;
}
.bf-maincategory-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    cursor: pointer;
    border-bottom: 1px solid #f3f3f3;
    transition: background 0.15s;
    border-left: 3px solid transparent;
}
.bf-maincategory-row:hover,
.bf-maincategory-row.active {
    background: #e8f5e9;
    border-left-color: #4CAF50;
}
.bf-maincategory-row-img {
    width: 48px;
    height: 36px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 3px;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
}
.bf-maincategory-row-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.bf-maincategory-row-placeholder {
    width: 48px;
    height: 36px;
    background: #e8f5e9;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4CAF50;
    font-size: 16px;
    border-radius: 3px;
}
.bf-maincategory-row-name {
    flex: 1;
    font-size: 13px;
    color: #222;
    font-weight: 500;
    text-decoration: none;
    line-height: 1.3;
}
.bf-maincategory-row-name:hover {
    color: #4CAF50;
}
.bf-maincategory-row-arrow {
    font-size: 10px;
    color: #bbb;
}
.bf-maincategory-sub-area {
    flex: 1;
    padding: 8px 0;
    overflow-y: auto;
    max-height: 600px;
}
.bf-maincategory-sub-panel {
    display: none;
    flex-direction: column;
}
.bf-maincategory-sub-panel.active {
    display: flex;
}
.bf-maincategory-sub-link {
    display: block;
    padding: 8px 16px;
    font-size: 13px;
    color: #2e7d32;
    text-decoration: none;
    border-bottom: 1px solid #f5f5f5;
    transition: background 0.15s, color 0.15s;
}
.bf-maincategory-sub-link:hover,
.bf-maincategory-sub-link.active {
    background: #e8f5e9;
    color: #1b5e20;
}

/* --- Product Detail: all text black (except buttons) --- */
.bf-product-detail-page .bf-pd-title,
.bf-product-detail-page .bf-pd-short-desc,
.bf-product-detail-page .bf-pd-desc-content,
.bf-product-detail-page .bf-pd-meta,
.bf-product-detail-page .bf-pd-meta-label,
.bf-product-detail-page .bf-pd-meta-value,
.bf-product-detail-page .bf-pd-category,
.bf-product-detail-page .bf-pd-sku,
.bf-product-detail-page .bf-pd-description h3,
.bf-product-detail-page .bf-pd-related h3,
.bf-product-detail-page .bf-pd-related-info h6,
.bf-product-detail-page .bf-pd-related-info .bf-pd-related-cat,
.bf-product-detail-page .bf-widget-title,
.bf-product-detail-page .bf-category-list a,
.bf-product-detail-page .bf-category-list span,
.bf-product-detail-page p,
.bf-product-detail-page h1,
.bf-product-detail-page h2,
.bf-product-detail-page h3,
.bf-product-detail-page h4,
.bf-product-detail-page h5,
.bf-product-detail-page h6,
.bf-product-detail-page li,
.bf-product-detail-page td,
.bf-product-detail-page th {
    color: #111 !important;
}
.bf-product-detail-page .bf-pd-meta-value a,
.bf-product-detail-page .bf-category-list a {
    color: #2e7d32 !important;
}
.bf-product-detail-page .bf-pd-desc-content * {
    color: #111 !important;
}

/* --- Responsive --- */
@media (max-width: 1200px) {
    .filmedia-cat-grid { grid-template-columns: repeat(2, 1fr); }
    .filmedia-cat-img { min-height: 440px; }
}
@media (max-width: 992px) {
    .filmedia-cat-grid { grid-template-columns: 1fr; }
    .filmedia-cat-img { min-height: 420px; }
    .home-categories-section { padding: 88px 0 72px; }
    .home-categories-section .aesop-container { max-width: calc(100vw - 40px); }
    .home-categories-section .section-header h2 { font-size: clamp(42px, 9vw, 58px); }
    .home-categories-section .section-header p { font-size: 18px; }
    .app-scenario-grid { grid-template-columns: repeat(2, 1fr); }
    .bf-footer-grid-3col { grid-template-columns: 1fr; gap: 24px; }
    .bf-pl-layout-new { grid-template-columns: 1fr; }
    .vdrop-menu { display: none !important; }
}
@media (max-width: 576px) {
    .filmedia-cat-img { min-height: 320px; }
    .filmedia-cat-overlay { padding: 24px 18px; gap: 14px; }
    .filmedia-cat-overlay h4 { font-size: 28px; }
    .filmedia-cat-btn { min-width: 126px; min-height: 44px; padding: 10px 22px; }
    .app-scenario-grid { grid-template-columns: 1fr; }

}



/* --- Exhibition Section --- */
.home-exhibition-section {
    padding: 60px 0;
    background: #f8f9fa;
}
.exhibition-carousel-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}
.exhibition-arrow {
    flex-shrink: 0;
    width: 48px; height: 48px;
    border-radius: 50%;
    border: 1.5px solid var(--border, #c8dcc8);
    background: #fff;
    color: var(--text-primary, #1a2e1a);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s;
}
.exhibition-arrow:hover {
    background: var(--accent, #4CAF50);
    color: #fff;
    border-color: var(--accent, #4CAF50);
}
.exhibition-track-viewport {
    flex: 1;
    overflow: hidden;
}
.exhibition-track {
    display: flex;
    gap: 16px;
    transition: transform 0.5s ease;
}
.exhibition-item {
    flex: 0 0 calc(25% - 12px);
    overflow: hidden;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.exhibition-item img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    display: block;
    transition: transform 0.35s;
}
.exhibition-item:hover img {
    transform: scale(1.05);
}
@media (max-width: 768px) {
    .exhibition-item { flex: 0 0 calc(50% - 8px); }
}
@media (max-width: 576px) {
    .exhibition-item { flex: 0 0 100%; }
    .exhibition-arrow { width: 36px; height: 36px; font-size: 1rem; }
}

/* ===== News Filter Bar ===== */
.bf-news-filter-bar {
    margin-bottom: 24px;
}
.bf-news-filter-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
.bf-news-search-input {
    flex: 1;
    min-width: 200px;
    padding: 10px 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    font-family: var(--font-body);
    outline: none;
    transition: border-color 0.2s;
}
.bf-news-search-input:focus {
    border-color: var(--primary);
}
.bf-news-date-group {
    display: flex;
    align-items: center;
    gap: 6px;
}
.bf-news-date-label {
    font-size: 13px;
    font-weight: 600;
    color: #e53e3e;
    font-family: var(--font-body);
    white-space: nowrap;
}
.bf-news-date-input {
    padding: 9px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    font-family: var(--font-body);
    outline: none;
    transition: border-color 0.2s;
    min-width: 160px;
}
.bf-news-date-input:focus {
    border-color: var(--primary);
}
.bf-news-filter-btn {
    padding: 10px 20px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-family: var(--font-body);
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
}
.bf-news-filter-btn:hover {
    background: var(--primary-dark);
}
@media (max-width: 768px) {
    .bf-news-filter-row {
        flex-direction: column;
        align-items: stretch;
    }
    .bf-news-search-input {
        min-width: auto;
    }
    .bf-news-date-group {
        width: 100%;
    }
    .bf-news-date-input {
        flex: 1;
    }
}

/* ============================================================
   WordPress Content Compatibility Styles
   For product description HTML imported from WordPress
   ============================================================ */

/* --- WordPress Image Alignment --- */
.bf-pd-desc-content .alignnone {
    display: block;
    margin: 16px 0;
    max-width: 100%;
    height: auto;
}
.bf-pd-desc-content .aligncenter {
    display: block;
    margin: 16px auto;
    max-width: 100%;
    height: auto;
    text-align: center;
}
.bf-pd-desc-content .alignleft {
    float: left;
    margin: 8px 20px 12px 0;
    max-width: 50%;
    height: auto;
}
.bf-pd-desc-content .alignright {
    float: right;
    margin: 8px 0 12px 20px;
    max-width: 50%;
    height: auto;
}
.bf-pd-desc-content .size-full,
.bf-pd-desc-content .size-large {
    max-width: 100%;
    height: auto;
}
.bf-pd-desc-content .size-medium {
    max-width: 100%;
    height: auto;
}
.bf-pd-desc-content img[class*="wp-image-"] {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

/* --- WordPress Figures & Captions --- */
.bf-pd-desc-content figure {
    margin: 20px 0;
    max-width: 100%;
}
.bf-pd-desc-content figure img {
    max-width: 100%;
    height: auto;
    display: block;
}
.bf-pd-desc-content figcaption,
.bf-pd-desc-content .wp-caption-text {
    font-size: 0.85rem;
    color: #666;
    text-align: center;
    margin-top: 8px;
    font-style: italic;
}
.bf-pd-desc-content .wp-caption {
    max-width: 100%;
    margin: 16px 0;
}

/* --- WordPress Block Heading --- */
.bf-pd-desc-content .wp-block-heading {
    margin-top: 24px;
    margin-bottom: 12px;
}

/* --- Product Description Tables --- */
.bf-pd-desc-content table {
    width: 100% !important;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 0.92rem;
    border: 1px solid #ddd;
    table-layout: auto;
    overflow-x: auto;
    display: table;
}
.bf-pd-desc-content table td,
.bf-pd-desc-content table th {
    padding: 10px 14px;
    border: 1px solid #ddd;
    vertical-align: middle;
    line-height: 1.6;
    word-wrap: break-word;
}
.bf-pd-desc-content table th,
.bf-pd-desc-content table thead td {
    background: #f5f5f5;
    font-weight: 600;
    text-align: left;
}
.bf-pd-desc-content table tr:nth-child(even) {
    background: #fafafa;
}
.bf-pd-desc-content table tr:hover {
    background: #f0f7f0;
}

/* Excel-style table classes from WordPress */
.bf-pd-desc-content .et3 {
    padding: 8px 12px;
    border: 1px solid #ddd;
    vertical-align: middle;
}
.bf-pd-desc-content td[class*="xl6"],
.bf-pd-desc-content td[class*="xl7"] {
    padding: 8px 12px;
    border: 1px solid #ddd;
    vertical-align: middle;
}

/* Content table classes */
.bf-pd-desc-content .contenttable {
    width: 100% !important;
    border-collapse: collapse;
    margin: 16px 0;
}
.bf-pd-desc-content .contenttable td {
    padding: 8px 12px;
    border: 1px solid #ddd;
}
.bf-pd-desc-content .contenttable .tr-even {
    background: #fafafa;
}

/* Table first column as header style */
.bf-pd-desc-content table td:first-child {
    font-weight: 500;
    background: #f8f9fa;
    min-width: 160px;
}

/* --- Product Description Headings --- */
.bf-pd-desc-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 32px 0 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid #4CAF50;
    color: #1a1a1a !important;
    font-family: var(--font-heading, 'Montserrat', sans-serif);
}
.bf-pd-desc-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 28px 0 14px;
    color: #1a1a1a !important;
    font-family: var(--font-heading, 'Montserrat', sans-serif);
}
.bf-pd-desc-content h4 {
    font-size: 1.15rem;
    font-weight: 600;
    margin: 24px 0 12px;
    color: #222 !important;
    font-family: var(--font-heading, 'Montserrat', sans-serif);
}
.bf-pd-desc-content h5 {
    font-size: 1.05rem;
    font-weight: 600;
    margin: 20px 0 10px;
    color: #333 !important;
}

/* --- Product Description Paragraphs --- */
.bf-pd-desc-content p {
    margin: 12px 0;
    line-height: 1.8;
    color: #333 !important;
    font-size: 0.95rem;
}

/* --- Product Description Lists --- */
.bf-pd-desc-content ul,
.bf-pd-desc-content ol {
    margin: 14px 0;
    padding-left: 24px;
}
.bf-pd-desc-content li {
    margin-bottom: 8px;
    line-height: 1.7;
    color: #333 !important;
}
.bf-pd-desc-content ul li {
    list-style-type: disc;
}
.bf-pd-desc-content ol li {
    list-style-type: decimal;
}
.bf-pd-desc-content li strong,
.bf-pd-desc-content li b {
    color: #1a1a1a !important;
    font-weight: 600;
}

/* --- Product Description Strong/Bold --- */
.bf-pd-desc-content strong,
.bf-pd-desc-content b {
    font-weight: 600;
    color: #1a1a1a !important;
}

/* --- Product Description Links --- */
.bf-pd-desc-content a {
    color: #2e7d32 !important;
    text-decoration: underline;
}
.bf-pd-desc-content a:hover {
    color: #1b5e20 !important;
}

/* --- Product Description Horizontal Rules --- */
.bf-pd-desc-content hr {
    border: none;
    border-top: 1px solid #e0e0e0;
    margin: 24px 0;
}

/* --- Product Description Divs (section wrappers) --- */
.bf-pd-desc-content > div {
    margin: 16px 0;
}

/* --- Clearfix for floated images --- */
.bf-pd-desc-content::after {
    content: "";
    display: table;
    clear: both;
}

/* --- Responsive table wrapper --- */
@media (max-width: 768px) {
    .bf-pd-desc-content table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        font-size: 0.85rem;
    }
    .bf-pd-desc-content table td,
    .bf-pd-desc-content table th {
        padding: 8px 10px;
        white-space: nowrap;
    }
    .bf-pd-desc-content .alignleft,
    .bf-pd-desc-content .alignright {
        float: none;
        display: block;
        margin: 12px auto;
        max-width: 100%;
    }
    .bf-pd-desc-content img {
        max-width: 100% !important;
        height: auto !important;
    }
}

/* --- Magic table classes (from Excel/WPS paste) --- */
.bf-pd-desc-content td[class*="magic-"] {
    padding: 8px 12px;
    border: 1px solid #ddd;
    vertical-align: middle;
}

/* --- Font classes from WordPress --- */
.bf-pd-desc-content .font0,
.bf-pd-desc-content .font1 {
    font-family: inherit;
}

/* --- Short description styling --- */
.bf-pd-short-desc {
    line-height: 1.7;
    font-size: 0.95rem;
}
.bf-pd-short-desc strong,
.bf-pd-short-desc b {
    font-weight: 600;
}
.bf-pd-short-desc ul,
.bf-pd-short-desc ol {
    margin: 8px 0;
    padding-left: 20px;
}
.bf-pd-short-desc li {
    margin-bottom: 4px;
}
