/* PyLoHerb — homepage & header (design v3) */

:root {
    --pylo-white: #ffffff;
    --pylo-cream: #f7f4ef;
    --pylo-beige: #e8e4dc;
    --pylo-beige-light: #f0ece6;
    /* Brand greens follow Appearance → base_color / base_hov_color (--primary / --hov-primary) */
    --pylo-green: var(--primary, #1a3d2e);
    --pylo-green-dark: var(--hov-primary, #0f261c);
    --pylo-green-promo: var(--primary, #1c3328);
    --pylo-brown: var(--secondary-base, #9a7b4f);
    --pylo-text: #1c1c1c;
    --pylo-muted: #5c5c5c;
    --pylo-footer-bg: #f3f0ea;
    --pylo-radius: 14px;
    --pylo-serif: var(--site-font-family, "Playfair Display", Georgia, serif);
    --pylo-sans: var(--site-font-family, "Public Sans", system-ui, sans-serif);
    /* Page banners — 1930×705 on desktop and mobile */
    --pylo-banner-ratio: 1930 / 705;
    --pylo-banner-height: calc(100vw * 705 / 1930);
    --pylo-banner-height-tablet: var(--pylo-banner-height);
    --pylo-banner-height-mobile: var(--pylo-banner-height);
    --pylo-banner-height-mobile-compact: var(--pylo-banner-height);

    /* Unified mobile banner copy (all banner types) */
    --pylo-banner-pad-x: 16px;
    --pylo-banner-pad-y: 14px;
    --pylo-banner-eyebrow-size: 10px;
    --pylo-banner-eyebrow-ls: 0.14em;
    --pylo-banner-eyebrow-mb: 6px;
    --pylo-banner-title-size: clamp(1.1rem, 4.6vw, 1.35rem);
    --pylo-banner-title-lh: 1.25;
    --pylo-banner-title-mb: 6px;
    --pylo-banner-desc-size: 12px;
    --pylo-banner-desc-lh: 1.4;
    --pylo-banner-desc-mb: 0;

    /* Desktop banners — copy tokens; height follows 1930×705 */
    --pylo-banner-d-height: var(--pylo-banner-height);
    --pylo-banner-d-pad-y: 48px;
    --pylo-banner-d-pad-top: 48px;
    --pylo-banner-d-pad-bottom: 64px;
    --pylo-banner-d-eyebrow-size: 11px;
    --pylo-banner-d-eyebrow-ls: 0.2em;
    --pylo-banner-d-eyebrow-mb: 16px;
    --pylo-banner-d-title-size: clamp(36px, 5vw, 52px);
    --pylo-banner-d-title-lh: 1.15;
    --pylo-banner-d-title-mb: 20px;
    --pylo-banner-d-desc-size: 15px;
    --pylo-banner-d-desc-lh: 1.65;
    --pylo-banner-d-desc-mb: 0;
    --pylo-banner-d-content-max: 560px;
    --pylo-banner-d-desc-max: 480px;

    /* Site-wide type scale (desktop defaults; overridden on mobile) */
    --pylo-fs-xs: 11px;
    --pylo-fs-sm: 12px;
    --pylo-fs-base: 15px;
    --pylo-fs-md: 16px;
    --pylo-fs-lg: 18px;
    --pylo-fs-h1: clamp(1.75rem, 3.5vw, 2.35rem);
    --pylo-fs-h2: clamp(1.45rem, 2.8vw, 1.85rem);
    --pylo-fs-h3: clamp(1.2rem, 2.2vw, 1.4rem);
    --pylo-fs-h4: 1.1rem;
    --pylo-lh-tight: 1.25;
    --pylo-lh-body: 1.6;

    /* Section spacing scale (design: 16 / 16–20 / 24 / 24–32) */
    --pylo-space-xs: 16px;
    --pylo-space-sm: clamp(16px, 1.2vw, 20px);
    --pylo-space-md: 24px;
    --pylo-space-lg: clamp(24px, 2vw, 32px);

    /* Section “Mô tả” — follows site type scale */
    --pylo-section-desc-size: var(--pylo-fs-base);
    --pylo-section-desc-lh: var(--pylo-lh-body);
    --pylo-section-desc-gap: 1em;
}

/* Trang chủ PyLoHerb — nền wrapper trắng */
.aiz-main-wrapper:has(.pyloherb-hero) {
    background: var(--pylo-white) !important;
}

/* Ẩn floating quick-nav — che nội dung promo trên mobile */
body:has(.pyloherb-hero) .floating-buttons-section {
    display: none !important;
}

.pyloherb-header-wrap {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1020;
    background: #fff;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
    transition: background 0.25s ease, box-shadow 0.25s ease, backdrop-filter 0.25s ease;
}

/* Chừa chỗ cho header fixed để nội dung không bị che */
.aiz-main-wrapper:has(.pyloherb-header-wrap) {
    padding-top: var(--pylo-header-offset, 150px);
}

.pyloherb-header-wrap.is-scrolled {
    background: rgba(252, 250, 245, 0.82);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.pyloherb-header {
    padding: 0px 0;
    transition: padding 0.25s ease;
    background: transparent;
}

.pyloherb-header__inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    grid-template-areas:
        "search logo actions"
        "nav nav nav";
    align-items: center;
    gap: 20px;
    transition: min-height 0.25s ease, padding 0.25s ease;
    position: relative;
}

.pyloherb-header-wrap.is-scrolled .pyloherb-header__inner {
    min-height: 52px;
    padding-top: 0.15rem;
    padding-bottom: 0.15rem;
}

.pyloherb-header-wrap.is-scrolled .pyloherb-header__logo-img {
    height: 36px !important;
}

.pyloherb-header__logo-img {
    transition: height 0.25s ease;
}

.pyloherb-header__start {
    display: contents;
    grid-area: search;
    align-items: center;
    gap: 12px;
    justify-self: start;
    flex-shrink: 0;
    width: max-content;
    min-width: max-content;
}

.pyloherb-header__nav {
    grid-area: nav;
    justify-self: stretch;
    width: 100%;
    min-width: 0;
    display: flex;
    justify-content: center;
}

.pyloherb-header__actions {
    grid-area: actions;
    justify-self: end;
    flex-shrink: 0;
    width: max-content;
    min-width: max-content;
}

.pyloherb-header__logo-img {
    height: 96px !important;
    width: auto !important;
    max-width: none !important;
    max-height: none !important;
    display: block;
    flex-shrink: 0;
    object-fit: contain;
}

.pyloherb-header__logo {
    grid-area: logo;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: inherit;
    flex-shrink: 0;
}

/* Desktop: hamburger ẩn, hiện khi menu tràn (giống mobile sidebar) */
.pyloherb-header__toggle {
    display: none;
    border: 0;
    background: transparent;
    color: var(--pylo-text);
    line-height: 0;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    padding: 0;
}

.pyloherb-header-wrap.is-nav-compact .pyloherb-header__toggle {
    display: inline-flex;
}

.pyloherb-header-wrap.is-nav-compact .pyloherb-header__nav {
    display: none !important;
}

/* Menu tràn: actions + search chiếm khoảng trống giữa */
.pyloherb-header-wrap.is-nav-compact .pyloherb-header__actions {
    grid-column: 2 / -1;
    justify-self: stretch;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    flex: 1 1 auto !important;
    justify-content: flex-end;
    gap: 16px;
}

.pyloherb-header-wrap.is-nav-compact .pyloherb-header__search {
    position: relative;
    flex: 0 0 auto !important;
    min-width: 0;
    width: auto;
    max-width: none;
}

.pyloherb-header-wrap.is-nav-compact .pyloherb-header__search-wrap {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    flex: 1 1 auto !important;
}

.pyloherb-header-wrap.is-nav-compact .pyloherb-header__icon-btn,
.pyloherb-header-wrap.is-nav-compact .pyloherb-header__cart-wrap {
    flex-shrink: 0;
}

/* Sidebar closed: parent + children must not steal taps (header hamburger/search). */
.aiz-top-menu-sidebar:not(.active),
.aiz-top-menu-sidebar:not(.active) .collapse-sidebar,
.aiz-top-menu-sidebar:not(.active) .overlay,
.pyloherb-top-menu-sidebar:not(.active),
.pyloherb-top-menu-sidebar:not(.active) .collapse-sidebar,
.pyloherb-top-menu-sidebar:not(.active) .overlay {
    pointer-events: none !important;
    z-index: -1 !important;
}

/* Drawer menu — z-index must beat aiz-core (.sidebar-all .collapse-sidebar { z-index: 2 })
   which loads after pyloherb.css and was letting the dark overlay cover the panel. */
.aiz-top-menu-sidebar.pyloherb-top-menu-sidebar,
.pyloherb-top-menu-sidebar.pyloherb-top-menu-sidebar {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1080 !important;
}

.aiz-top-menu-sidebar.pyloherb-top-menu-sidebar .collapse-sidebar,
.pyloherb-top-menu-sidebar .collapse-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: min(320px, 86vw);
    height: 100%;
    z-index: 1082 !important;
    background: #fff;
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform 0.35s ease;
    pointer-events: none;
}

.aiz-top-menu-sidebar.pyloherb-top-menu-sidebar .overlay,
.pyloherb-top-menu-sidebar .overlay {
    position: fixed;
    inset: 0;
    z-index: 1081 !important;
    background: rgba(0, 0, 0, 0.45);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    pointer-events: none !important;
}

.aiz-top-menu-sidebar.active,
.pyloherb-top-menu-sidebar.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto !important;
    z-index: 1080 !important;
}

.aiz-top-menu-sidebar.active .collapse-sidebar,
.pyloherb-top-menu-sidebar.active .collapse-sidebar {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto !important;
}

.aiz-top-menu-sidebar.active .overlay,
.pyloherb-top-menu-sidebar.active .overlay {
    opacity: 1;
    visibility: visible;
    pointer-events: auto !important;
}

/* header5: menu + search stay tappable above search drawer chrome */
.logo-bar-area .btn[data-target=".aiz-top-menu-sidebar"],
.logo-bar-area .search-icon-mobile-hide,
.logo-bar-area .search-icon-mobile {
    position: relative;
    z-index: 5;
    pointer-events: auto !important;
}

@media (max-width: 991.98px) {
    .desktop-search-container.d-none {
        display: none !important;
        pointer-events: none !important;
        visibility: hidden !important;
        height: 0 !important;
        overflow: hidden !important;
        z-index: -1 !important;
    }
}

/* Giảm giật layout khi chuyển compact — search vẫn animate width khi hover */
.pyloherb-header__actions,
.pyloherb-header__inner,
.pyloherb-header__nav {
    transition: none !important;
}

.pyloherb-header__toggle {
    position: relative;
    z-index: 5;
}

.pyloherb-header__brand {
    display: flex;
    flex-direction: column;
    gap: 2px;
    line-height: 1.15;
    min-width: 0;
}

.pyloherb-header__brand-name {
    font-family: var(--pylo-serif);
    font-size: 18px;
    font-weight: 700;
    color: var(--pylo-green);
    white-space: nowrap;
}

.pyloherb-header__brand-tagline {
    font-family: var(--pylo-sans);
    font-size: 11px;
    font-weight: 400;
    color: var(--pylo-muted);
    white-space: nowrap;
}

.pyloherb-header__nav-list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.pyloherb-header__nav-item {
    flex: 0 0 auto;
}

.pyloherb-header__nav-link {
    font-family: var(--pylo-sans);
    font-size: 14px;
    font-weight: 500;
    color: var(--pylo-text);
    text-decoration: none;
    padding-bottom: 4px;
    border-bottom: 2px solid transparent;
    transition: color 0.2s, border-color 0.2s;
    white-space: nowrap;
}

.pyloherb-header__nav-link:hover,
.pyloherb-header__nav-link.is-active {
    color: var(--pylo-green);
    border-bottom-color: var(--pylo-green);
}

.pyloherb-header__actions {
    display: flex;
    align-items: center;
    gap: 20px;
    justify-self: end;
    flex-shrink: 0;
}

.pyloherb-header__search {
    position: relative;
    flex: 0 0 auto;
}

.pyloherb-header .pyloherb-header__search.front-header-search {
    background: transparent !important;
    background-color: transparent !important;
    border-radius: 0 !important;
}

.pyloherb-header__search-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--pylo-text, #333);
    cursor: pointer;
    line-height: 0;
}

.pyloherb-header__search-trigger:hover,
.pyloherb-header__search.is-open .pyloherb-header__search-trigger {
    color: var(--pylo-green, #5d3a1a);
}

.pyloherb-header__search-popover {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    z-index: 1060;
    width: min(320px, calc(100vw - 32px));
    padding: 14px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(6px);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

.pyloherb-header__search:hover .pyloherb-header__search-popover,
.pyloherb-header__search:focus-within .pyloherb-header__search-popover,
.pyloherb-header__search.is-open .pyloherb-header__search-popover {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    display: block !important;
}

.pyloherb-header__search-popover::before {
    content: "";
    position: absolute;
    top: -7px;
    right: 8px;
    width: 12px;
    height: 12px;
    background: #fff;
    border-left: 1px solid rgba(0, 0, 0, 0.08);
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    transform: rotate(45deg);
}

.pyloherb-header__search-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    height: 42px;
    padding: 0 8px 0 14px !important;
    background: #fff !important;
    border: 1px solid #c9b9a5 !important;
    border-radius: 999px;
    overflow: visible;
    cursor: text;
}

.pyloherb-header__search-input {
    border: 0;
    background: transparent;
    outline: none;
    font-size: 14px;
    width: 100%;
    min-width: 0;
    opacity: 1;
    color: var(--pylo-text);
    pointer-events: auto;
    flex: 1 1 auto;
}

.pyloherb-header__search-input::placeholder {
    color: #999;
}

.pyloherb-header__search-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #333;
    cursor: pointer;
    flex-shrink: 0;
    line-height: 0;
}

.pyloherb-header__search-submit:hover {
    color: var(--pylo-green, #5d3a1a);
}

.pyloherb-header__icon-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    text-decoration: none;
    color: var(--pylo-text);
    font-size: 11px;
    font-weight: 500;
    background: transparent;
    border: 0;
    padding: 0;
    cursor: pointer;
    font-family: inherit;
    line-height: inherit;
}

button.pyloherb-header__icon-btn:focus {
    outline: none;
}

button.pyloherb-header__icon-btn:focus-visible {
    outline: 2px solid var(--pylo-green, #31513f);
    outline-offset: 2px;
}

.pyloherb-header__icon-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pyloherb-header__cart-badge {
    position: absolute;
    top: -6px;
    right: -8px;
    background: var(--pylo-green);
    color: #fff;
    font-size: 10px;
    min-width: 16px;
    height: 16px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}

/* Mobile header — menu | logo giữa | giỏ hàng */
@media (max-width: 991.98px) {
    .aiz-main-wrapper:has(.pyloherb-header-wrap) {
        padding-top: var(--pylo-header-offset, 88px);
    }

    .pyloherb-header-wrap {
        background: #fcfaf5;
        box-shadow: none;
    }

    .pyloherb-header {
        background: #fcfaf5;
        padding: 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    }

    .pyloherb-header .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .pyloherb-header__inner {
        display: grid;
        grid-template-columns: 44px 1fr auto;
        grid-template-areas: "menu logo actions";
        align-items: center;
        gap: 8px;
        min-height: 58px;
        padding: 6px 0;
    }

    .pyloherb-header__start {
        display: contents;
    }

    .pyloherb-header__toggle {
        grid-area: menu;
        justify-self: start;
        width: 44px;
        height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 8px;
        color: var(--pylo-text);
        transition: background 0.2s ease;
    }

    .pyloherb-header__toggle:active {
        background: rgba(0, 0, 0, 0.05);
    }

    .pyloherb-header__logo {
        grid-area: logo;
        justify-self: center;
        max-width: calc(100vw - 120px);
    }

    .pyloherb-header__brand-name {
        font-size: 15px;
    }

    .pyloherb-header__brand-tagline {
        font-size: 10px;
    }

    .pyloherb-header__logo-img {
        height: 36px !important;
        max-width: min(168px, 50vw);
        width: auto;
        object-fit: contain;
        mix-blend-mode: multiply;
    }

    .pyloherb-header__actions {
        grid-area: actions;
        justify-self: end;
        gap: 4px;
    }

    .pyloherb-header__search {
        display: block !important;
    }

    .pyloherb-header__search-trigger {
        width: 44px;
        height: 44px;
    }

    .pyloherb-header__search-popover {
        right: 0;
        left: auto;
        width: min(300px, calc(100vw - 24px));
    }

    .pyloherb-header__icon-btn {
        min-width: 44px;
        width: 44px;
        height: 44px;
        flex-direction: row;
        gap: 0;
        justify-content: center;
    }

    .pyloherb-header__icon-label {
        display: none !important;
    }

    .pyloherb-header__icon-wrap {
        width: 24px;
        height: 24px;
    }

    .pyloherb-header__cart-badge {
        top: -3px;
        right: -5px;
        min-width: 17px;
        height: 17px;
        font-size: 10px;
        font-weight: 700;
        line-height: 17px;
        background: var(--pylo-green);
    }
}

@media (min-width: 992px) {
    .pyloherb-header__start {
        display: flex;
    }

    .pyloherb-header__actions .pyloherb-header__search {
        position: absolute;
        left: 0;
        top: 48px;
        transform: translateY(-50%);
    }
}

/* ── Hero ── */
.pyloherb-hero {
    position: relative;
    /* Keep in sync with pyloherb-critical.css — mismatched min-height caused CLS */
    width: 100%;
    aspect-ratio: var(--pylo-banner-ratio, 1930 / 705);
    height: var(--pylo-banner-height);
    min-height: var(--pylo-banner-height);
    max-height: var(--pylo-banner-height);
    display: flex;
    align-items: center;
    overflow: hidden;
    background-color: #fff;
    border-radius: 0 !important;
}

.pyloherb-hero__slider {
    position: absolute;
    inset: 0;
    z-index: 0;
}

@media (max-width: 767.98px) {
    .pyloherb-hero__slider--desktop {
        display: none !important;
    }
}

@media (min-width: 768px) {
    .pyloherb-hero__slider--mobile {
        display: none !important;
    }

    .pyloherb-hero__dots--mobile.pyloherb-hero__dots--split {
        display: none !important;
    }
}

@media (max-width: 767.98px) {
    .pyloherb-hero__dots--desktop.pyloherb-hero__dots--split {
        display: none !important;
    }
}

.pyloherb-hero__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease;
    pointer-events: none;
}

.pyloherb-hero__slide.is-active {
    opacity: 1;
    pointer-events: auto;
    z-index: 1;
}

.pyloherb-hero__bg,
.pyloherb-hero__bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.pyloherb-hero__slide>picture,
.pyloherb-hero__bg-link>picture {
    position: absolute;
    inset: 0;
    display: block;
}

.pyloherb-hero__bg {
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.pyloherb-hero__bg-link {
    display: block;
    position: absolute;
    inset: 0;
}

.pyloherb-hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(90deg,
            rgba(var(--hero-overlay-rgb, 0, 0, 0), calc(var(--hero-overlay-on, 0) * 0.72)) 0%,
            rgba(var(--hero-overlay-rgb, 0, 0, 0), calc(var(--hero-overlay-on, 0) * 0.45)) 42%,
            rgba(var(--hero-overlay-rgb, 0, 0, 0), calc(var(--hero-overlay-on, 0) * 0.12)) 68%,
            transparent 100%);
    pointer-events: none;
}

.pyloherb-hero .container {
    position: relative;
    z-index: 3;
    pointer-events: none;
}

.pyloherb-hero__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 50%;
    background: rgba(8, 28, 18, 0.35);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
}

.pyloherb-hero__arrow:hover {
    background: rgba(8, 28, 18, 0.55);
    border-color: rgba(255, 255, 255, 0.6);
}

.pyloherb-hero__arrow--prev {
    left: 20px;
}

.pyloherb-hero__arrow--next {
    right: 20px;
}

.pyloherb-hero__dots {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    display: flex;
    gap: 8px;
}

.pyloherb-hero__dot {
    width: 9px;
    height: 9px;
    padding: 0;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.55);
    background: transparent;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}

.pyloherb-hero__dot.is-active {
    background: #fff;
    transform: scale(1.1);
}

.pyloherb-hero__content {
    position: relative;
    z-index: 2;
    max-width: 560px;
    padding: var(--pylo-banner-d-pad-top, 48px) 0 var(--pylo-banner-d-pad-bottom, 64px);
    color: #fff;
}

/* Lock hero copy to system fonts — Google webfont must not reflow LCP text (CLS). */
.pyloherb-hero__content,
.pyloherb-hero__eyebrow,
.pyloherb-hero__title,
.pyloherb-hero__desc,
.pyloherb-hero__actions .pyloherb-btn {
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
}

.pyloherb-hero__eyebrow {
    font-family: var(--pylo-sans);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 16px;
    opacity: 0.92;
}

.pyloherb-hero__title {
    font-family: var(--pylo-serif);
    font-size: clamp(36px, 5vw, 52px);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 20px;
    color: #fff;
}

.pyloherb-hero__desc {
    font-family: var(--pylo-sans);
    font-size: 15px;
    line-height: 1.65;
    opacity: 0.9;
    margin-bottom: 32px;
    max-width: 480px;
}

.pyloherb-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    pointer-events: auto;
}

.pyloherb-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--pylo-sans);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 14px 28px;
    border-radius: 2px;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    border: 2px solid transparent;
}

.pyloherb-btn--hero-primary {
    background: var(--primary, var(--pylo-green));
    color: #fff;
    border-color: var(--primary, var(--pylo-green));
}

.pyloherb-btn--hero-primary:hover {
    background: var(--hov-primary, var(--pylo-green-dark));
    border-color: var(--hov-primary, var(--pylo-green-dark));
    color: #fff;
}

.pyloherb-btn--hero-outline {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.85);
}

.pyloherb-btn--hero-outline:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

/* ── Sections — spacing scale
   xs 16      gutters, tight stacks, mobile section padding
   sm 16–20   home section padding, inner gaps
   md 24      head→content, product grid, page body
   lg 24–32   CMS sections, page bottom, large inner boxes
   Home stacks many bands: use sm so adjacent content stays 32–40px apart (not 48–64).
── */
.pyloherb-section {
    padding: var(--pylo-space-sm) 0;
}

/* 1. Danh mục nổi bật — trắng */
.pyloherb-section--categories,
.pyloherb-section--cream {
    background: var(--pylo-white);
}

/* 2b. Trang /featured-products */
.pyloherb-featured-page {
    background: var(--pylo-cream, #f7f4ef);
}

.pyloherb-featured-page__body {
    padding-top: var(--pylo-space-lg);
    padding-bottom: var(--pylo-space-lg);
}

.pyloherb-featured-page__breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-family: var(--pylo-sans);
    font-size: 13px;
    color: var(--pylo-muted, #5c5c5c);
    margin-bottom: var(--pylo-space-md);
}

.pyloherb-featured-page__breadcrumb a {
    color: inherit;
    text-decoration: none;
}

.pyloherb-featured-page__breadcrumb a:hover {
    color: var(--pylo-green-dark, #0f261c);
}

.pyloherb-featured-page__breadcrumb .is-current {
    color: var(--pylo-text, #1c1c1c);
    font-weight: 600;
}

/* 2. Sản phẩm bán chạy — cream nhạt */
.pyloherb-section--products {
    background: var(--pylo-cream);
}

/* 3. Tuần lễ Vàng — xanh đậm (class .pyloherb-promo) */

/* 4. Về PyLoHerb — trắng */
.pyloherb-section--story {
    background: var(--pylo-white);
}

/* 5. Cam kết Purity — nền trắng, box beige bên trong */
.pyloherb-section--lab {
    background: var(--pylo-white);
    padding: var(--pylo-space-sm) 0;
    margin-top: 0;
}

.pyloherb-section__head {
    margin-bottom: var(--pylo-space-md);
}

.pyloherb-section__head--stacked {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: var(--pylo-space-sm);
    flex-wrap: wrap;
    text-align: left !important;
}

.pyloherb-section__head--stacked>div:first-child {
    flex: 1 1 auto;
    min-width: 0;
    text-align: left !important;
}

.pyloherb-section__head--stacked .pyloherb-section__title,
.pyloherb-section__head--stacked .pyloherb-section__subtitle,
.pyloherb-section__head--stacked .pyloherb-label {
    text-align: left !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    max-width: none;
}

.pyloherb-section__head--stacked .pyloherb-link-underline {
    flex: 0 0 auto;
    align-self: flex-end;
    margin-left: auto;
}

.pyloherb-section__head--center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.pyloherb-section__head--center>div {
    width: 100%;
    text-align: center;
}

.pyloherb-section__head--center .pyloherb-section__title,
.pyloherb-section__head--center .pyloherb-section__subtitle,
.pyloherb-section__head--center .pyloherb-label {
    text-align: center !important;
}

.pyloherb-section__head--center .pyloherb-section__subtitle {
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.pyloherb-label {
    font-family: var(--pylo-sans);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--pylo-brown);
    margin-bottom: 8px;
}

.pyloherb-label--brown {
    color: var(--pylo-brown);
}

.pyloherb-section__title {
    font-family: var(--pylo-serif);
    font-size: var(--pylo-fs-h2);
    font-weight: 700;
    color: var(--section-title-color, var(--pylo-text));
    line-height: var(--pylo-lh-tight);
}

.pyloherb-section__subtitle {
    font-family: var(--pylo-sans);
    font-size: var(--pylo-section-desc-size, 15px);
    color: var(--section-desc-color, var(--pylo-muted));
    margin-top: var(--pylo-space-xs);
    line-height: var(--pylo-section-desc-lh, 1.7);
}

.pyloherb-link-underline {
    font-family: var(--pylo-sans);
    font-size: 14px;
    color: var(--pylo-text);
    text-decoration: underline;
    text-underline-offset: 4px;
}

.pyloherb-link-underline:hover {
    color: var(--pylo-green);
}

/* ── Featured categories: 1 large (span 2 rows) + 2 small squares ── */
.pyloherb-categories {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: auto auto;
    gap: var(--pylo-space-sm);
    min-height: 0;
    align-items: stretch;
}

.pyloherb-cat-card {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: var(--pylo-radius);
    text-decoration: none;
    width: 100%;
    min-height: 0;
    height: auto;
    align-self: stretch;
    background: #ddd;
}

.pyloherb-cat-card--large {
    grid-column: 1;
    grid-row: 1 / span 2;
    aspect-ratio: unset;
    height: 100%;
    min-height: 0;
    align-self: stretch;
}

.pyloherb-cat-card:nth-child(2) {
    grid-column: 2;
    grid-row: 1;
    aspect-ratio: 1 / 1;
    height: auto;
}

.pyloherb-cat-card:nth-child(3) {
    grid-column: 2;
    grid-row: 2;
    aspect-ratio: 1 / 1;
    height: auto;
}

.pyloherb-cat-card picture {
    position: absolute;
    inset: 0;
    display: block;
}

.pyloherb-cat-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.pyloherb-cat-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
            rgba(0, 0, 0, 0.72) 0%,
            rgba(0, 0, 0, 0.28) 45%,
            rgba(0, 0, 0, 0.05) 100%);
    z-index: 1;
    pointer-events: none;
}

.pyloherb-cat-card:hover img {
    transform: scale(1.04);
}

.pyloherb-cat-card__content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: var(--pylo-space-md);
    color: #fff;
}

.pyloherb-cat-card--large .pyloherb-cat-card__content {
    padding: var(--pylo-space-lg);
}

.pyloherb-cat-card__title {
    font-family: var(--pylo-serif);
    font-size: var(--pylo-fs-h3);
    font-weight: 700;
    margin: 0 0 8px;
    color: #fff;
}

.pyloherb-cat-card--large .pyloherb-cat-card__title {
    font-size: var(--pylo-fs-h2);
    margin-bottom: 10px;
}

.pyloherb-cat-card__desc {
    font-family: var(--pylo-sans);
    font-size: 13px;
    line-height: 1.55;
    opacity: 0.9;
    margin: 0 0 12px;
    max-width: 90%;
}

.pyloherb-cat-card__cta {
    font-family: var(--pylo-sans);
    font-size: 13px;
    text-decoration: underline;
    text-underline-offset: 3px;
    opacity: 0.95;
}

/* ── Products grid ── */
.pyloherb-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--pylo-space-md);
}

/* Horizontal product rail (featured + bestselling) — exactly N visible, no peek */
.pyloherb-products-rail {
    --rail-gap: var(--pylo-space-sm);
    --rail-visible: 2;
    container-type: inline-size;
    container-name: pylo-products-rail;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    padding-bottom: 6px;
    cursor: grab;
}

.pyloherb-products-rail::-webkit-scrollbar {
    display: none;
}

.pyloherb-products-rail:active {
    cursor: grabbing;
}

/* Let parent <a> receive clicks; avoid browser image-drag stealing the click */
.pyloherb-products-rail .pyloherb-product-card__img-wrap img {
    -webkit-user-drag: none;
    user-select: none;
    pointer-events: none;
}

.pyloherb-products-rail .pyloherb-product-card__cart,
.pyloherb-products-rail .pyloherb-product-card__title a,
.pyloherb-products-rail .pyloherb-product-card__img-wrap {
    position: relative;
    z-index: 2;
    pointer-events: auto;
    cursor: pointer;
}

.pyloherb-products-rail .pyloherb-product-card__wish {
    position: absolute;
    z-index: 4;
    pointer-events: auto;
    cursor: pointer;
}

.pyloherb-products-rail:focus-visible {
    outline: 1px solid rgba(15, 38, 28, 0.25);
    outline-offset: 4px;
}

.pyloherb-products-rail__track {
    display: flex;
    align-items: stretch;
    gap: var(--rail-gap);
    width: max-content;
    min-width: 100%;
}

.pyloherb-products-rail__item {
    flex: 0 0 calc((100cqw - (var(--rail-visible) - 1) * var(--rail-gap)) / var(--rail-visible));
    width: calc((100cqw - (var(--rail-visible) - 1) * var(--rail-gap)) / var(--rail-visible));
    max-width: calc((100cqw - (var(--rail-visible) - 1) * var(--rail-gap)) / var(--rail-visible));
    scroll-snap-align: start;
    min-width: 0;
}

.pyloherb-products-rail__item .pyloherb-product-card {
    height: 100%;
}

@media (min-width: 768px) {
    .pyloherb-products-rail {
        --rail-visible: 3;
    }
}

@media (min-width: 992px) {
    .pyloherb-products-rail {
        --rail-visible: 4;
    }
}

.pyloherb-product-card {
    --card-accent: var(--primary, #132b1f);
    --card-accent-hover: var(--hov-primary, #0f261c);
    --card-text: #1c1c1c;
    --card-muted: #9a9a9a;
    --card-line: #ececec;
    position: relative;
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(28, 28, 28, 0.08);
    box-shadow: 0 1px 2px rgba(28, 28, 28, 0.03);
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.pyloherb-product-card:hover {
    box-shadow: 0 10px 28px rgba(28, 28, 28, 0.08);
    border-color: rgba(19, 43, 31, 0.2);
}

.pyloherb-product-card__media {
    position: relative;
}

.pyloherb-product-card__img-wrap {
    display: block;
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background: #f3f3f5;
    padding: 0;
    box-sizing: border-box;
}

.pyloherb-product-card__img-frame {
    display: block;
    width: 100%;
    height: 100%;
    background: #f3f3f5;
    overflow: hidden;
    box-sizing: border-box;
}

.pyloherb-product-card__img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    padding: 0;
    display: block;
}

.pyloherb-product-card__wish {
    position: absolute;
    top: 12px;
    right: 12px;
    left: auto;
    bottom: auto;
    z-index: 4;
    width: 36px;
    height: 36px;
    border-radius: 999px;
    border: 1px solid rgba(28, 28, 28, 0.12);
    background: #ffffff;
    color: #2a2a2a;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(28, 28, 28, 0.08);
    transition: color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.pyloherb-product-card__wish i {
    font-size: 18px;
    line-height: 1;
}

.pyloherb-product-card__wish:hover {
    color: #c0392b;
    border-color: rgba(192, 57, 43, 0.35);
    transform: scale(1.04);
}

.pyloherb-product-card__badge {
    position: absolute;
    top: 0;
    left: 0;
    font-family: var(--pylo-serif, Georgia, serif);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 8px 12px;
    border-radius: 0 0 10px 0;
    z-index: 2;
}

.pyloherb-product-card__badge--hot {
    background: var(--card-accent);
    color: #fff;
}

.pyloherb-product-card__badge--sale {
    background: #c0392b !important;
    color: #fff !important;
}

.pyloherb-product-card__badge--soldout {
    background: #5c5c5c;
    color: #fff;
    z-index: 3;
}

.pyloherb-product-card__body {
    padding: 14px 16px 16px;
    text-align: left;
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #ffffff;
}

.pyloherb-product-card__category {
    margin: 0 0 6px;
    font-family: var(--pylo-sans);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    line-height: 1.3;
    color: var(--card-accent);
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pyloherb-product-card__title {
    font-family: var(--pylo-sans);
    font-size: 14px;
    font-weight: 700;
    margin: 0 0 10px;
    line-height: 1.35;
    letter-spacing: -0.01em;
    min-height: 2.7em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: var(--card-text);
}

.pyloherb-product-card__title a {
    color: inherit;
    text-decoration: none;
}

.pyloherb-product-card__title a:hover {
    color: var(--card-accent);
}

.pyloherb-product-card__footer {
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid var(--card-line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.pyloherb-product-card__price {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    align-self: center;
    gap: 3px;
    min-width: 0;
    flex: 1 1 auto;
    margin: 0;
    padding: 0;
    text-decoration: none;
    color: inherit;
}

.pyloherb-product-card__price-current {
    font-family: var(--pylo-sans);
    font-weight: 700;
    color: var(--card-accent);
    font-size: 14px;
    letter-spacing: -0.01em;
    line-height: 1;
    white-space: nowrap;
    margin: 0;
    display: block;
}

.pyloherb-product-card__price-old {
    font-family: var(--pylo-sans);
    font-size: 12px;
    font-weight: 500;
    color: var(--card-muted);
    margin: 0;
    line-height: 1;
    text-decoration: line-through;
}

.pyloherb-product-card__excerpt {
    font-family: var(--pylo-sans);
    font-size: 12px;
    line-height: 1.5;
    color: var(--pylo-muted);
    margin: 0 0 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pyloherb-product-card__cart,
button.pyloherb-product-card__cart,
a.pyloherb-product-card__cart,
span.pyloherb-product-card__cart {
    flex: 0 0 auto;
    width: auto;
    min-width: 0;
    max-width: 52%;
    margin: 0;
    padding: 7px 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    -webkit-appearance: none;
    appearance: none;
    font-family: var(--pylo-sans);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.25;
    text-align: center;
    text-decoration: none;
    text-transform: none;
    white-space: normal;
    min-height: 32px;
    cursor: pointer;
    border-radius: 8px;
    box-sizing: border-box;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

button.pyloherb-product-card__cart--solid,
.pyloherb-product-card__cart--solid,
a.pyloherb-product-card__cart--solid {
    background: var(--card-accent) !important;
    background-color: var(--card-accent) !important;
    background-image: none !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    border: 1px solid var(--card-accent) !important;
    box-shadow: none !important;
}

button.pyloherb-product-card__cart--solid:hover,
.pyloherb-product-card__cart--solid:hover,
a.pyloherb-product-card__cart--solid:hover {
    background: var(--card-accent-hover) !important;
    background-color: var(--card-accent-hover) !important;
    border-color: var(--card-accent-hover) !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}

.pyloherb-product-card__cart--soldout,
span.pyloherb-product-card__cart--soldout {
    background: #ffffff !important;
    color: #9a9a9a !important;
    -webkit-text-fill-color: #9a9a9a !important;
    border: 1px solid #d8d8d8 !important;
    cursor: default !important;
    pointer-events: none;
    box-shadow: none !important;
}

.pyloherb-product-card--sold-out .pyloherb-product-card__img-wrap img {
    filter: grayscale(0.2);
    opacity: 0.88;
}

.pyloherb-product-card--sold-out .pyloherb-product-card__category,
.pyloherb-product-card--sold-out .pyloherb-product-card__title,
.pyloherb-product-card--sold-out .pyloherb-product-card__title a,
.pyloherb-product-card--sold-out .pyloherb-product-card__price-current {
    color: #9a9a9a;
}

.pyloherb-product-card--sold-out .pyloherb-product-card__wish {
    opacity: 0.7;
}

@media (max-width: 575.98px) {
    .pyloherb-product-card__body {
        padding: 12px;
    }

    .pyloherb-product-card__title {
        font-size: 13px;
        margin-bottom: 12px;
    }

    .pyloherb-product-card__footer {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .pyloherb-product-card__price {
        width: 100%;
        align-self: stretch;
    }

    .pyloherb-product-card__price-current {
        font-size: 13px;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .pyloherb-product-card__cart,
    button.pyloherb-product-card__cart,
    a.pyloherb-product-card__cart,
    span.pyloherb-product-card__cart {
        width: 100%;
        max-width: none;
        min-width: 0;
        padding: 8px 10px;
        font-size: 11px;
        min-height: 34px;
    }
}

/* ── Promo — card xanh trong container (mockup) ── */
.pyloherb-promo.pyloherb-section {
    padding: var(--pylo-space-sm) 0;
    background: var(--pylo-cream);
}

.pyloherb-promo .pyloherb-promo__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 0;
    align-items: stretch;
    width: 100%;
    min-height: 360px;
    border-radius: 4px;
    background: var(--pylo-green-promo);
    overflow: hidden;
}

@media (min-width: 992px) {
    .pyloherb-promo .pyloherb-promo__grid {
        aspect-ratio: 2.15 / 1;
        max-height: 550px;
    }
}

.pyloherb-promo .pyloherb-promo__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: var(--pylo-space-sm);
    padding: var(--pylo-space-lg) var(--pylo-space-md);
    background: var(--pylo-green-promo);
    color: #fff;
    min-width: 0;
    min-height: 0;
}

.pyloherb-promo .pyloherb-promo__content>* {
    margin: 0;
}

.pyloherb-promo .pyloherb-promo__eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.9);
}

.pyloherb-promo .pyloherb-promo__title {
    font-family: var(--pylo-serif);
    font-size: clamp(1.5rem, 2.5vw, 2.25rem);
    font-weight: 700;
    color: var(--section-title-color, #fff);
    line-height: 1.15;
}

.pyloherb-promo .pyloherb-promo__desc {
    font-size: var(--pylo-section-desc-size, 15px);
    color: var(--section-desc-color, rgba(255, 255, 255, 0.92));
    line-height: var(--pylo-section-desc-lh, 1.7);
    max-width: 28rem;
    text-align: left;
}

.pyloherb-promo .pyloherb-countdown {
    display: grid;
    grid-template-columns: repeat(4, auto);
    gap: 20px;
    width: auto;
    max-width: 100%;
}

.pyloherb-promo .pyloherb-countdown__unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.pyloherb-promo .pyloherb-countdown__item {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    padding: 16px 14px;
    min-width: 76px;
    text-align: center;
    box-shadow: none;
    width: 100%;
}

.pyloherb-promo .pyloherb-countdown__num {
    display: block;
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    line-height: 1;
    font-family: var(--pylo-serif);
}

.pyloherb-promo .pyloherb-countdown__lbl {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.75);
    text-transform: uppercase;
}

.pyloherb-promo .pyloherb-btn--promo {
    background: #fff;
    color: #1a1a1a;
    border: none;
    align-self: flex-start;
    padding: 14px 32px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
}

.pyloherb-promo .pyloherb-btn--promo:hover {
    background: var(--pylo-beige-light);
    color: #1a1a1a;
}

.pyloherb-promo .pyloherb-promo__media {
    min-height: 0;
    min-width: 0;
    border-radius: 0;
    margin: 30px 0px;
    overflow: hidden;
}

.pyloherb-promo .pyloherb-promo__media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
}

/* ── About ── */
.pyloherb-about__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: var(--pylo-space-lg);
    align-items: center;
    width: 100%;
}

.pyloherb-about__media {
    position: relative;
    width: 100%;
    min-width: 0;
}

.pyloherb-about__img {
    width: 100%;
    height: auto;
    border-radius: var(--pylo-radius);
    display: block;
    object-fit: contain;
    object-position: center;
    aspect-ratio: 4 / 3;
    max-height: none;
}

.pyloherb-about__badge {
    position: absolute;
    bottom: -24px;
    right: -24px;
    background: #D4C5A9;
    border-radius: 8px;
    padding: 30px 24px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    max-width: 190px;
}

.pyloherb-about__badge-num {
    display: block;
    font-family: var(--pylo-serif);
    font-size: 32px;
    font-weight: 700;
    color: var(--pylo-green);
}

.pyloherb-about__badge-text {
    font-size: 13px;
    color: var(--pylo-muted);
    line-height: 1.4;
    font-weight: 600;
}

.pyloherb-about__title {
    font-family: var(--pylo-serif);
    font-size: var(--pylo-fs-h2);
    font-weight: 700;
    color: var(--section-title-color, var(--pylo-text));
}

.pyloherb-text {
    font-size: var(--pylo-section-desc-size, 15px);
    color: var(--section-desc-color, var(--pylo-muted));
    line-height: var(--pylo-section-desc-lh, 1.7);
    margin: 0 0 var(--pylo-section-desc-gap, 1em);
    text-align: left;
}

.pyloherb-text:last-child {
    margin-bottom: 0;
}

.pyloherb-link-story {
    font-weight: 600;
    color: var(--pylo-green);
    text-decoration: none;
}

.pyloherb-link-story:hover {
    text-decoration: underline;
}

/* ── Home alternating backgrounds (admin A / B) ── */
.pyloherb-home-bg--a {
    background: var(--pylo-home-bg-a, var(--pylo-white));
}

.pyloherb-home-bg--b {
    background: var(--pylo-home-bg-b, var(--pylo-cream));
}

/* ── Home CTA (book / buy) — light band matching section rhythm ── */
.pyloherb-home-cta {
    --home-cta-ink: var(--section-title-color, var(--pylo-green-dark, #0f261c));
    --home-cta-mute: var(--section-desc-color, var(--pylo-muted, #5c5c5c));
    --home-cta-gold: var(--pylo-brown, #8b7355);
    --home-cta-line: rgba(15, 38, 28, 0.12);
    position: relative;
    padding: var(--pylo-space-sm) 0;
    overflow: hidden;
    color: var(--home-cta-ink);
}

.pyloherb-home-cta__stage {
    display: grid;
    gap: var(--pylo-space-lg);
    align-items: end;
}

@media (min-width: 992px) {
    .pyloherb-home-cta__stage {
        grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
        gap: var(--pylo-space-lg);
    }
}

.pyloherb-home-cta__eyebrow {
    margin: 0 0 18px;
    font-family: var(--pylo-sans);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--home-cta-gold);
}

.pyloherb-home-cta__ornament {
    display: block;
    width: 36px;
    height: 1px;
    margin: 0 0 22px;
    background: var(--home-cta-gold);
    opacity: 0.85;
}

.pyloherb-home-cta__title {
    margin: 0 0 18px;
    max-width: 11em;
    font-family: var(--pylo-serif);
    font-size: clamp(2rem, 4.2vw, 3.15rem);
    font-weight: 500;
    font-style: italic;
    line-height: 1.12;
    letter-spacing: -0.015em;
    color: var(--home-cta-ink);
}

.pyloherb-home-cta__desc {
    margin: 0;
    max-width: 28em;
    font-family: var(--pylo-sans);
    font-size: var(--pylo-section-desc-size, 15px);
    line-height: var(--pylo-section-desc-lh, 1.7);
    font-weight: 400;
    color: var(--home-cta-mute);
    text-align: left;
}

.pyloherb-home-cta__paths {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    border-top: 1px solid var(--home-cta-line);
}

.pyloherb-home-cta__path {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 18px;
    align-items: center;
    padding: 26px 0;
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid var(--home-cta-line);
    transition: background 0.3s ease;
}

.pyloherb-home-cta__path:last-child {
    border-bottom: 0;
}

.pyloherb-home-cta__path-index {
    font-family: var(--pylo-serif);
    font-size: 13px;
    font-style: italic;
    letter-spacing: 0.04em;
    color: var(--home-cta-gold);
    opacity: 0.75;
    min-width: 1.6em;
}

.pyloherb-home-cta__path-body {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.pyloherb-home-cta__path-kicker {
    font-family: var(--pylo-sans);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--home-cta-mute);
}

.pyloherb-home-cta__path-name {
    position: relative;
    display: inline-block;
    width: fit-content;
    font-family: var(--pylo-serif);
    font-size: clamp(1.35rem, 2.4vw, 1.7rem);
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: 0.01em;
    color: var(--home-cta-ink);
    transition: color 0.25s ease;
}

.pyloherb-home-cta__path-name::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 100%;
    height: 1px;
    background: var(--home-cta-gold);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.35s ease;
}

.pyloherb-home-cta__path-go {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--home-cta-gold);
    opacity: 0.85;
    transition: transform 0.35s ease, opacity 0.25s ease;
}

.pyloherb-home-cta__path:hover .pyloherb-home-cta__path-name,
.pyloherb-home-cta__path:focus-visible .pyloherb-home-cta__path-name {
    color: var(--pylo-green, #1a3d2e);
}

.pyloherb-home-cta__path:hover .pyloherb-home-cta__path-name::after,
.pyloherb-home-cta__path:focus-visible .pyloherb-home-cta__path-name::after {
    transform: scaleX(1);
}

.pyloherb-home-cta__path:hover .pyloherb-home-cta__path-go,
.pyloherb-home-cta__path:focus-visible .pyloherb-home-cta__path-go {
    transform: translateX(6px);
    opacity: 1;
}

.pyloherb-home-cta__path:focus-visible {
    outline: 1px solid var(--home-cta-gold);
    outline-offset: 6px;
}

@media (max-width: 767.98px) {
    .pyloherb-home-cta {
        padding: var(--pylo-space-xs) 0;
    }

    .pyloherb-home-cta__stage {
        gap: var(--pylo-space-xs);
    }

    .pyloherb-home-cta__eyebrow {
        margin-bottom: 10px;
        font-size: var(--pylo-fs-xs);
        letter-spacing: 0.16em;
    }

    .pyloherb-home-cta__ornament {
        width: 28px;
        margin-bottom: 12px;
    }

    .pyloherb-home-cta__title {
        margin-bottom: 10px;
        max-width: none;
        font-size: var(--pylo-fs-h3);
        line-height: 1.25;
    }

    .pyloherb-home-cta__desc {
        font-size: var(--pylo-fs-sm);
        line-height: 1.5;
    }

    .pyloherb-home-cta__path {
        gap: 10px;
        padding: var(--pylo-space-xs) 0;
    }

    .pyloherb-home-cta__path-index {
        font-size: var(--pylo-fs-xs);
        min-width: 1.4em;
    }

    .pyloherb-home-cta__path-kicker {
        font-size: var(--pylo-fs-xs);
    }

    .pyloherb-home-cta__path-name {
        font-size: var(--pylo-fs-md);
        line-height: 1.2;
    }

    .pyloherb-home-cta__path-go svg {
        width: 18px;
        height: 10px;
    }
}

@media (max-width: 575.98px) {
    .pyloherb-home-cta {
        padding: var(--pylo-space-xs) 0;
    }

    .pyloherb-home-cta__path {
        gap: 8px;
        padding: 12px 0;
    }
}

/* ── Lab — box beige giữa trang trắng */
.pyloherb-lab__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--pylo-space-lg);
    flex-wrap: wrap;
    background: var(--pylo-beige-light);
    border-radius: 12px;
    padding: var(--pylo-space-lg) var(--pylo-space-md);
}

.pyloherb-lab__copy {
    flex: 1;
    min-width: 280px;
    max-width: 520px;
}

.pyloherb-lab__title {
    font-family: var(--pylo-serif);
    font-size: var(--pylo-fs-h2);
    font-weight: 700;
    color: var(--section-title-color, var(--pylo-text));
}

.pyloherb-lab__stats {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.pyloherb-stat-card {
    background: #fff;
    border-radius: 10px;
    padding: 24px 28px;
    min-width: 200px;
    flex: 1;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.pyloherb-stat-card__label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--pylo-text);
    margin-bottom: 6px;
}

.pyloherb-stat-card__value {
    font-family: var(--pylo-serif);
    font-size: 28px;
    font-weight: 700;
    color: var(--pylo-green);
    line-height: 1.2;
}

.pyloherb-stat-card__value small {
    font-size: 14px;
    font-weight: 500;
}

/* ── Why Choose Us ── */
.pyloherb-whychoose {
    padding-top: var(--pylo-space-lg);
    padding-bottom: var(--pylo-space-lg);
}

.pyloherb-whychoose__heading {
    margin: 0 0 var(--pylo-space-md);
    text-align: center;
    font-family: var(--pylo-sans);
    font-size: var(--pylo-fs-h3);
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--section-title-color, #c4783a);
    line-height: 1.35;
}

.pyloherb-whychoose__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--pylo-space-md) var(--pylo-space-lg);
}

.pyloherb-whychoose__item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    min-width: 0;
}

.pyloherb-whychoose__icon {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
}

.pyloherb-whychoose__icon .pylo-why-icon {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

.pyloherb-whychoose__body {
    min-width: 0;
    flex: 1 1 auto;
}

.pyloherb-whychoose__title {
    margin: 2px 0 8px;
    font-family: var(--pylo-sans);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.45;
    color: #c4783a;
}

.pyloherb-whychoose__desc {
    margin: 0;
    font-size: var(--pylo-section-desc-size, 15px);
    line-height: var(--pylo-section-desc-lh, 1.7);
    color: var(--pylo-muted, #5c5c5c);
    text-align: left;
}

@media (max-width: 767.98px) {
    .pyloherb-whychoose__grid {
        grid-template-columns: 1fr;
        gap: var(--pylo-space-md);
    }

    .pyloherb-whychoose__icon {
        width: 40px;
        height: 40px;
    }
}

/* ── Footer ── */
.pyloherb-footer {
    --footer-ink: #1a2e24;
    --footer-mute: rgba(26, 46, 36, 0.72);
    --footer-line: rgba(26, 46, 36, 0.12);
    --footer-chip: rgba(26, 46, 36, 0.05);
    --footer-accent: #8a6a3d;
    background: #e4e2dd;
    color: var(--footer-ink);
    width: 100%;
    margin-top: auto;
    overflow-x: hidden;
}

@media (max-width: 1199px) {
    body:has(.pyloherb-hero) .pyloherb-footer {
        padding-bottom: 80px;
    }
}

.pyloherb-footer__inner {
    padding-top: var(--pylo-space-lg);
    padding-bottom: var(--pylo-space-md);
}

.pyloherb-footer__stage {
    display: grid;
    gap: 40px;
}

@media (min-width: 992px) {
    .pyloherb-footer__stage {
        grid-template-columns: minmax(260px, 0.95fr) minmax(0, 1.35fr);
        gap: var(--pylo-space-lg);
        align-items: start;
    }
}

.pyloherb-footer__logo-link {
    display: inline-block;
    margin-bottom: 18px;
}

.pyloherb-footer__logo {
    display: block;
    height: 40px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
}

.pyloherb-footer__desc {
    margin: 0 0 22px;
    max-width: 38em;
    font-size: 14px;
    line-height: 1.7;
    color: var(--footer-mute);
}

.pyloherb-footer__brand-title {
    margin: 0 0 10px;
    font-family: var(--pylo-sans);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.45;
    color: var(--footer-ink);
}

.pyloherb-footer__social {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}

.pyloherb-footer__social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 999px;
    border: 1px solid var(--footer-line);
    background: var(--footer-chip);
    color: var(--footer-ink);
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.pyloherb-footer__social a:hover {
    background: rgba(26, 46, 36, 0.1);
    border-color: rgba(26, 46, 36, 0.28);
    transform: translateY(-1px);
}

.pyloherb-footer__social a i,
.pyloherb-footer__social a svg {
    font-size: 16px;
    line-height: 1;
    display: block;
}

.pyloherb-footer__contact {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pyloherb-footer__contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    line-height: 1.55;
    color: var(--footer-mute);
}

.pyloherb-footer__contact i,
.pyloherb-footer__contact svg {
    margin-top: 2px;
    font-size: 15px;
    color: var(--footer-accent);
    flex-shrink: 0;
}

.pyloherb-footer__contact a {
    color: inherit;
    text-decoration: none;
}

.pyloherb-footer__contact a:hover {
    color: var(--footer-ink);
}

.pyloherb-footer__links-panel {
    min-width: 0;
}

.pyloherb-footer__nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 32px;
}

@media (min-width: 992px) {
    .pyloherb-footer__nav {
        grid-template-columns: repeat(var(--footer-link-cols, 3), minmax(0, 1fr));
        gap: 28px 40px;
    }
}

.pyloherb-footer__group,
.pyloherb-footer__col {
    min-width: 0;
}

.pyloherb-footer__heading {
    margin: 0 0 16px;
    font-family: var(--pylo-sans);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--footer-accent);
    line-height: 1.35;
}

.pyloherb-footer__accordion-btn {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    letter-spacing: inherit;
    text-align: left;
    text-transform: inherit;
    cursor: default;
}

.pyloherb-footer__links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pyloherb-footer__links a {
    display: inline-block;
    font-size: 14px;
    line-height: 1.45;
    color: var(--footer-mute);
    text-decoration: none;
    transition: color 0.2s ease;
}

.pyloherb-footer__links a:hover {
    color: var(--footer-ink);
}

.pyloherb-footer__bct-row {
    margin-top: 28px;
    text-align: center;
}

.pyloherb-footer__bct-link {
    display: inline-flex;
    padding: 0;
    border-radius: 0;
    line-height: 0;
    text-decoration: none;
}

.pyloherb-footer__bct {
    display: block;
    width: auto;
    max-width: 180px;
    height: auto;
    object-fit: contain;
}

.pyloherb-footer__payments {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 14px;
}

.pyloherb-footer__payment-img {
    display: block;
    height: 22px;
    width: auto;
    max-width: 56px;
    object-fit: contain;
    opacity: 0.85;
}

.pyloherb-footer__floor {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px 24px;
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid var(--footer-line);
}

.pyloherb-footer__copy {
    margin: 0;
    font-size: 13px;
    line-height: 1.55;
    color: var(--footer-mute);
}

.pyloherb-footer__copy a {
    color: inherit;
}

.pyloherb-footer__promises {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
}

.pyloherb-footer__promises li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    letter-spacing: 0.02em;
    color: var(--footer-mute);
}

.pyloherb-footer__promises i {
    font-size: 16px;
    color: var(--footer-accent);
}

@media (min-width: 992px) {
    .pyloherb-footer__group>.pyloherb-footer__links {
        display: flex !important;
    }

    .pyloherb-footer__accordion-btn {
        pointer-events: none;
    }

    .pyloherb-footer__accordion-btn::after {
        display: none !important;
    }
}

@media (max-width: 991.98px) {
    .pyloherb-footer__inner {
        padding-top: 36px;
        padding-bottom: 20px;
    }

    .pyloherb-footer__nav {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .pyloherb-footer__group {
        border-bottom: 1px solid var(--footer-line);
    }

    .pyloherb-footer__bct-row {
        margin-top: 18px;
        padding-bottom: 8px;
    }

    .pyloherb-footer__heading {
        margin-bottom: 0;
    }

    .pyloherb-footer__accordion-btn {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 14px 0;
        cursor: pointer;
        pointer-events: auto;
        user-select: none;
    }

    .pyloherb-footer__accordion-btn::after {
        content: '';
        width: 8px;
        height: 8px;
        border-right: 1.5px solid var(--footer-mute);
        border-bottom: 1.5px solid var(--footer-mute);
        transform: rotate(45deg);
        transition: transform 0.2s ease;
        flex-shrink: 0;
        margin-top: -4px;
    }

    .pyloherb-footer__group.is-open .pyloherb-footer__accordion-btn::after {
        transform: rotate(-135deg);
        margin-top: 4px;
    }

    .pyloherb-footer__group .pyloherb-footer__links {
        padding-bottom: 14px;
    }

    .pyloherb-footer__group:not(.is-open) .pyloherb-footer__links {
        display: none;
    }

    .pyloherb-footer__floor {
        flex-direction: column;
        align-items: flex-start;
    }
}

.pyloherb-footer .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ── Responsive ── */
@media (max-width: 991px) {
    .pyloherb-categories {
        grid-template-columns: 2fr 1fr;
        grid-template-rows: auto auto;
        gap: var(--pylo-space-xs);
        min-height: 0;
        align-items: stretch;
    }

    .pyloherb-cat-card {
        min-height: 0;
        height: auto;
        align-self: stretch;
    }

    .pyloherb-cat-card--large {
        grid-column: 1;
        grid-row: 1 / span 2;
        aspect-ratio: unset;
        height: 100%;
        align-self: stretch;
    }

    .pyloherb-cat-card--large img {
        object-fit: contain;
        object-position: center center;
    }

    .pyloherb-cat-card:nth-child(2) {
        grid-column: 2;
        grid-row: 1;
        aspect-ratio: 1 / 1;
        height: auto;
    }

    .pyloherb-cat-card:nth-child(3) {
        grid-column: 2;
        grid-row: 2;
        aspect-ratio: 1 / 1;
        height: auto;
    }

    .pyloherb-cat-card__content {
        padding: 10px 12px;
    }

    .pyloherb-cat-card--large .pyloherb-cat-card__content {
        padding: 12px 14px;
    }

    .pyloherb-cat-card__title {
        font-size: 11px;
        line-height: 1.2;
        margin-bottom: 4px;
        display: -webkit-box;
        line-clamp: 2;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .pyloherb-cat-card--large .pyloherb-cat-card__title {
        font-size: 12px;
        margin-bottom: 5px;
    }

    .pyloherb-cat-card__desc {
        font-size: 10px;
        line-height: 1.4;
        margin-bottom: 6px;
        display: -webkit-box;
        line-clamp: 2;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .pyloherb-cat-card__cta {
        font-size: 10px;
    }

    .pyloherb-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pyloherb-promo .pyloherb-promo__grid,
    .pyloherb-about__grid,
    .pyloherb-lab__bar {
        display: flex;
        flex-direction: column;
        aspect-ratio: unset;
        max-height: none;
        overflow: visible;
        min-height: 0;
    }

    .pyloherb-promo.pyloherb-section {
        padding: var(--pylo-space-xs) 0;
    }

    .pyloherb-promo .pyloherb-promo__content {
        order: 1;
        padding: var(--pylo-space-md);
        gap: var(--pylo-space-xs);
        width: 100%;
    }

    .pyloherb-promo .pyloherb-promo__media {
        order: 2;
        width: 100%;
        min-height: 240px;
        height: auto;
        aspect-ratio: 4 / 3;
    }

    .pyloherb-promo .pyloherb-countdown {
        grid-template-columns: repeat(4, 1fr);
        gap: 12px;
        width: 100%;
    }

    .pyloherb-promo .pyloherb-countdown__item {
        min-width: 0;
        padding: 14px 8px;
    }

    .pyloherb-about__grid {
        gap: var(--pylo-space-md);
    }

    .pyloherb-lab__bar {
        padding: var(--pylo-space-md);
        gap: var(--pylo-space-md);
    }

    .pyloherb-lab__stats {
        width: 100%;
    }

    .pyloherb-stat-card {
        min-width: 0;
        flex: 1 1 calc(50% - 8px);
    }

    .pyloherb-header__nav {
        display: none !important;
    }
}

@media (max-width: 767.98px) {
    .pyloherb-hero .container {
        padding-left: var(--pylo-banner-pad-x, 16px) !important;
        padding-right: var(--pylo-banner-pad-x, 16px) !important;
    }

    .pyloherb-hero__content {
        max-width: 100%;
        padding-left: 0;
        padding-right: 0;
    }
}

@media (max-width: 575px) {

    .pyloherb-hero__content {
        padding: 12px 0 18px;
    }

    .pyloherb-hero__arrow {
        width: 36px;
        height: 36px;
    }

    .pyloherb-hero__arrow--prev {
        left: 10px;
    }

    .pyloherb-hero__arrow--next {
        right: 10px;
    }

    .pyloherb-hero__dots {
        bottom: 18px;
    }

    .pyloherb-products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: var(--pylo-space-xs);
    }

    .pyloherb-section {
        padding: var(--pylo-space-xs) 0;
    }

    .pyloherb-section__head {
        margin-bottom: var(--pylo-space-xs);
    }

    .pyloherb-section__head--stacked {
        flex-direction: column;
        align-items: flex-start !important;
        gap: var(--pylo-space-xs);
        padding-left: 0;
        padding-right: 0;
        text-align: left !important;
    }

    .pyloherb-section__head--stacked .pyloherb-link-underline {
        margin-left: 0;
        align-self: flex-start;
    }

    .pyloherb-promo.pyloherb-section {
        padding: var(--pylo-space-xs) 0;
    }

    .pyloherb-promo .pyloherb-promo__content {
        padding: var(--pylo-space-md) var(--pylo-space-xs);
        gap: var(--pylo-space-xs);
    }

    .pyloherb-promo .pyloherb-promo__title {
        font-size: var(--pylo-fs-h2);
        max-width: none;
    }

    .pyloherb-promo .pyloherb-promo__desc {
        font-size: var(--pylo-fs-sm);
    }

    .pyloherb-promo .pyloherb-countdown {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px 16px;
    }

    .pyloherb-promo .pyloherb-countdown__num {
        font-size: 24px;
    }

    .pyloherb-promo .pyloherb-btn--promo {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .pyloherb-promo .pyloherb-promo__media {
        min-height: 200px;
    }

    .pyloherb-about__badge {
        bottom: 16px;
        right: 16px;
        padding: 16px 18px;
        max-width: 180px;
    }

    .pyloherb-about__badge-num {
        font-size: 26px;
    }

    .pyloherb-lab__bar {
        padding: 28px 20px;
    }

    .pyloherb-stat-card {
        flex: 1 1 100%;
        padding: 20px;
    }
}

@media (max-width: 380px) {
    .pyloherb-promo .pyloherb-countdown {
        gap: 8px;
    }
}

/* Khoảng trống cho bottom nav mobile */
@media (max-width: 1199px) {
    body:has(.pyloherb-hero) .aiz-main-wrapper {
        padding-bottom: 0;
    }
}

/* PyLoHerb mobile — override custom-style / Bootstrap */
@media (max-width: 991px) {
    body:has(.pyloherb-hero) {
        overflow-x: hidden;
    }

    .pyloherb-promo .pyloherb-promo__grid {
        display: flex !important;
        flex-direction: column !important;
        aspect-ratio: unset !important;
        max-height: none !important;
        min-height: 0 !important;
        overflow: visible !important;
        gap: 0 !important;
    }

    .pyloherb-promo .pyloherb-promo__content {
        width: 100% !important;
        box-sizing: border-box;
    }

    .pyloherb-promo .pyloherb-promo__media {
        width: 100% !important;
        flex-shrink: 0;
    }

    .pyloherb-footer__col,
    .pyloherb-footer__group {
        margin-bottom: 0 !important;
    }
}

/* ── Product description prose (FE polish) ── */
.pyloherb-desc-section {
    scroll-margin-top: 80px;
}

.pyloherb-desc-card {
    background: #fff;
    border: 1px solid rgba(26, 61, 46, 0.08);
    border-radius: var(--pylo-radius, 14px);
    padding: 28px 28px 32px;
    box-shadow: 0 2px 14px rgba(15, 38, 28, 0.04);
}

.pyloherb-desc-card__head {
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(26, 61, 46, 0.08);
}

.pyloherb-desc-card__title {
    margin: 0;
    font-family: var(--pylo-serif, "Playfair Display", Georgia, serif);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--pylo-green-dark, #0f261c);
}

.pyloherb-desc-card__tabs {
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(26, 61, 46, 0.08);
}

/* ── PDP content tabs ── */
.pyloherb-pdp-tabs {
    margin: 56px 0 48px;
}

/* Tab bar */
.pyloherb-pdp-tabs__nav-wrap {
    position: sticky;
    top: var(--pylo-header-offset, 72px);
    z-index: 20;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(14px) saturate(1.1);
    -webkit-backdrop-filter: blur(14px) saturate(1.1);
    border-bottom: 1px solid rgba(26, 61, 46, 0.1);
    box-shadow: 0 8px 24px rgba(15, 38, 28, 0.04);
}

.pyloherb-pdp-tabs__nav-wrap .container {
    padding-top: 0;
    padding-bottom: 0;
}

.pyloherb-pdp-tabs__nav {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin: 0;
    padding: 0;
}

.pyloherb-pdp-tabs__nav::-webkit-scrollbar {
    display: none;
}

.pyloherb-pdp-tabs__btn {
    position: relative;
    flex: 0 0 auto;
    appearance: none;
    border: 0;
    background: transparent;
    cursor: pointer;
    padding: 18px 22px;
    margin: 0;
    font-family: var(--pylo-sans, "Public Sans", system-ui, sans-serif);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.02em;
    line-height: 1.2;
    color: var(--pylo-muted, #5c5c5c);
    white-space: nowrap;
    transition: color 0.22s ease;
}

.pyloherb-pdp-tabs__btn+.pyloherb-pdp-tabs__btn::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 1px;
    height: 14px;
    transform: translateY(-50%);
    background: rgba(26, 61, 46, 0.12);
    pointer-events: none;
}

.pyloherb-pdp-tabs__btn-label {
    position: relative;
    display: inline-block;
    padding-bottom: 2px;
}

.pyloherb-pdp-tabs__btn-label::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -18px;
    height: 2px;
    border-radius: 2px 2px 0 0;
    background: transparent;
    transform: scaleX(0.55);
    transform-origin: center;
    opacity: 0;
    transition:
        background 0.22s ease,
        transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.22s ease;
}

.pyloherb-pdp-tabs__btn:hover {
    color: var(--pylo-green, #1a3d2e);
}

.pyloherb-pdp-tabs__btn.is-active {
    color: var(--pylo-green, #1a3d2e);
    font-weight: 700;
}

.pyloherb-pdp-tabs__btn.is-active .pyloherb-pdp-tabs__btn-label::after {
    background: linear-gradient(90deg, var(--pylo-green, #1a3d2e), var(--pylo-brown, #9a7b4f));
    transform: scaleX(1);
    opacity: 1;
    height: 3px;
}

.pyloherb-pdp-tabs__btn:focus-visible {
    outline: none;
}

.pyloherb-pdp-tabs__btn:focus-visible .pyloherb-pdp-tabs__btn-label {
    outline: 2px solid var(--pylo-brown, #9a7b4f);
    outline-offset: 4px;
    border-radius: 4px;
}

.pyloherb-pdp-tabs__panels {
    padding-top: 22px;
}

.pyloherb-pdp-tabs__panel {
    display: none;
}

.pyloherb-pdp-tabs__panel.is-active {
    display: block;
    animation: pyloTabIn 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes pyloTabIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pyloherb-pdp-tabs__card {
    position: relative;
    background:
        linear-gradient(180deg, #ffffff 0%, #fcfbf8 100%);
    border: 1px solid rgba(26, 61, 46, 0.08);
    border-radius: 16px;
    padding: 28px 30px 34px;
    box-shadow: 0 10px 28px rgba(15, 38, 28, 0.05);
    overflow: hidden;
}

.pyloherb-pdp-tabs__card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--pylo-green, #1a3d2e) 0%, var(--pylo-brown, #9a7b4f) 100%);
    opacity: 0.85;
}

.pyloherb-pdp-tabs__prose {
    position: relative;
    z-index: 1;
}

.pyloherb-pdp-tabs__panel #reviewsRatings {
    scroll-margin-top: 120px;
}

.pyloherb-pdp-tabs__panel #reviewsRatings>.reviews-ratings-container {
    border-radius: 16px;
    border-color: rgba(26, 61, 46, 0.08);
    box-shadow: 0 2px 14px rgba(15, 38, 28, 0.04);
}

/* PDP buy box — chỉ trong .product-details */
.product-details .product-buybox {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin-left: 0;
    margin-right: 0;
    padding: 14px 16px !important;
    border-radius: 12px !important;
    border: 1px solid rgba(26, 61, 46, 0.1) !important;
    background: #fff;
}

.product-details .product-buybox__meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid rgba(26, 61, 46, 0.08);
}

.product-details .product-buybox__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.product-details .product-buybox #chosen_price {
    font-size: 22px;
    font-weight: 800;
    line-height: 1.2;
    color: var(--pylo-green-dark, #1a3d2e);
}

.product-details .product-buybox__info {
    min-width: 0;
    flex: 1 1 auto;
}

.product-details .product-buybox__row-qty {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: nowrap;
}

.product-details .product-buybox__qty {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex: 0 0 auto;
    margin-left: auto;
}

.product-details .product-buybox__qty-label {
    font-size: 11px;
    font-weight: 700;
    color: var(--pylo-muted, #5c5c5c);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
}

.product-details .product-buybox .aiz-plus-minus {
    min-height: 32px !important;
    height: 32px !important;
    border-radius: 8px !important;
    border: 1px solid rgba(26, 61, 46, 0.15) !important;
    background: #fff;
}

.product-details .product-buybox .aiz-plus-minus .inc-btn,
.product-details .product-buybox .aiz-plus-minus .dec-btn {
    width: 28px !important;
    height: 28px !important;
    margin: 1px !important;
}

.product-details .product-buybox .aiz-plus-minus .input-number {
    margin-top: 0 !important;
    font-size: 13px !important;
    width: 28px !important;
    height: 28px !important;
    padding: 0 !important;
}

.product-details .product-buybox__stock {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

.product-details .product-buybox__chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.2;
    background: #f5f3ef;
    color: var(--pylo-muted, #5c5c5c);
}

.product-details .product-buybox__chip--stock {
    background: #eef5f0;
    color: var(--pylo-green, #1a3d2e);
}

.product-details .product-buybox__chip strong {
    font-weight: 700;
    color: var(--pylo-text, #1c1c1c);
}

.product-details .product-buybox__actions {
    gap: 8px;
}

@media (max-width: 767.98px) {
    .product-details .right-side-cws {
        display: none !important;
    }

    .product-details .product-pdp-meta-row {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        align-items: center !important;
        column-gap: 10px;
        row-gap: 4px;
        margin-top: 4px !important;
        margin-bottom: 4px !important;
    }

    .product-details .product-pdp-meta-row > .d-flex:first-child {
        flex: 1 1 100%;
        min-width: 0;
    }

    .product-details #variant_sku_section {
        flex: 0 0 auto;
        margin-bottom: 0 !important;
    }

    .product-details .product-pdp-mobile-actions {
        display: flex !important;
        flex: 0 0 auto;
        gap: 8px;
        margin-left: auto;
    }

    .product-details .product-pdp-mobile-actions button {
        min-height: 28px;
        white-space: nowrap;
    }

    .product-details .product-pdp-mobile-actions i {
        font-size: 16px;
        line-height: 1;
    }

    .product-details .right-side-cws {
        padding-bottom: 6px !important;
        justify-content: flex-start !important;
        gap: 10px;
    }

    .product-details h1.fs-20 {
        font-family: var(--pylo-serif);
        font-size: 19px !important;
        font-weight: 600;
        line-height: 1.35;
        margin-bottom: 6px !important;
        letter-spacing: -0.01em;
    }

    /* Ô giá bán gọn — giữ để thấy giá gốc / % giảm */
    .product-details #option-choice-form>h5.fs-16,
    .product-details #option-choice-form>h5 {
        font-size: 11px !important;
        font-weight: 700 !important;
        letter-spacing: 0.05em;
        text-transform: uppercase;
        color: var(--pylo-muted) !important;
        margin: 2px 0 3px !important;
    }

    .product-details #option-choice-form .product-variant h5.fs-16,
    .product-details #option-choice-form .product-variant p.fs-14 {
        font-size: 13px !important;
        line-height: 1.3;
    }

    .product-details #option-choice-form .product-variant .variant-item-select,
    .product-details #option-choice-form .product-variant .variant-item-select span.fs-14 {
        font-size: 11px !important;
        line-height: 1.2;
        white-space: nowrap;
    }

    .product-details #option-choice-form .product-variant .variant-item-select {
        padding-left: 8px !important;
        padding-right: 8px !important;
    }

    .product-details #option-choice-form .product-variant .variant-wrapper {
        gap: 4px 6px;
    }

    .product-details #option-choice-form .product-variant .variant-wrapper > .aiz-megabox {
        display: inline-flex;
        width: auto;
        max-width: 100%;
    }

    .product-details #option-choice-form .product-variant .variant-item-select span.fs-14 {
        padding-left: 4px !important;
        padding-right: 4px !important;
    }

    .product-details #option-choice-form>.bg-light.rounded-2 {
        padding: 8px 12px !important;
        border-radius: 10px !important;
        background: #f5f3ef !important;
        border: 1px solid rgba(26, 61, 46, 0.06);
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }

    .product-details #option-choice-form>.bg-light.rounded-2 h6 {
        font-size: 17px !important;
        font-weight: 700 !important;
        color: var(--pylo-green-dark) !important;
        line-height: 1.2;
    }

    .product-details .product-buybox {
        padding: 12px !important;
        border-radius: 12px !important;
        border: 1px solid rgba(26, 61, 46, 0.1) !important;
        background: #fff;
        box-shadow: 0 2px 10px rgba(15, 38, 28, 0.04);
        margin-top: 8px !important;
        margin-bottom: 6px !important;
        overflow: visible;
    }

    .product-details .product-buybox__meta {
        gap: 8px;
        padding-bottom: 8px;
        margin-bottom: 8px;
        border-bottom: 1px solid rgba(26, 61, 46, 0.08);
    }

    .product-details .product-buybox__top {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        margin-bottom: 2px;
    }

    .product-details .product-buybox #chosen_price {
        font-family: var(--pylo-sans);
        font-size: 20px !important;
        font-weight: 800;
        line-height: 1.2;
        letter-spacing: -0.02em;
        color: var(--pylo-green-dark);
    }

    .product-details .product-buybox__row-qty {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 8px;
        flex-wrap: nowrap !important;
    }

    .product-details .product-buybox__stock {
        display: inline-flex;
        align-items: center;
        gap: 4px;
        flex-wrap: wrap;
    }

    .product-details .product-buybox__chip {
        font-size: 11px !important;
        padding: 3px 6px !important;
        border-radius: 5px !important;
        line-height: 1.2;
    }

    .product-details .product-buybox__qty {
        width: auto;
        display: inline-flex;
        align-items: center;
        gap: 6px;
        margin-left: auto;
    }

    .product-details .product-buybox .aiz-plus-minus {
        border: 1px solid rgba(26, 61, 46, 0.15) !important;
        background: #fff;
        border-radius: 8px !important;
        min-height: 32px !important;
        height: 32px !important;
        box-shadow: none;
    }

    .product-details .product-buybox .aiz-plus-minus .inc-btn,
    .product-details .product-buybox .aiz-plus-minus .dec-btn {
        width: 28px !important;
        height: 28px !important;
        margin: 1px !important;
    }

    .product-details .product-buybox .aiz-plus-minus .input-number {
        margin-top: 0 !important;
        font-size: 13px !important;
        width: 28px !important;
        height: 28px !important;
        padding: 0 !important;
    }

    .product-details .product-buybox__actions.d-none,
    .product-details .product-buybox__actions .buy-now.d-none,
    .product-details .product-buybox__actions .add-to-cart.d-none,
    .product-details .product-buybox__oos.d-none,
    .product-details .product-buybox__oos .out-of-stock.d-none {
        display: none !important;
    }

    /* 2 nút cạnh nhau — dễ nhìn, ít cuộn */
    .product-details .product-buybox__actions {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        gap: 6px !important;
        align-items: stretch;
        margin-top: 10px !important;
        margin-bottom: 0 !important;
    }

    .product-details .product-buybox__actions .buy-now:not(.d-none),
    .product-details .product-buybox__actions .add-to-cart:not(.d-none) {
        width: 100%;
        margin: 0 !important;
        min-width: 0;
        padding: 9px 4px !important;
        border-radius: 8px !important;
        font-size: 12px !important;
        font-weight: 700 !important;
        line-height: 1.15;
        min-height: 40px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .product-details .product-buybox__actions .buy-now {
        background: var(--primary, var(--pylo-green)) !important;
        border-color: var(--primary, var(--pylo-green)) !important;
        color: #fff !important;
    }

    .product-details .product-buybox__actions .buy-now:hover {
        background: var(--hov-primary, var(--pylo-green-dark)) !important;
        border-color: var(--hov-primary, var(--pylo-green-dark)) !important;
        color: #fff !important;
    }

    .product-details .product-buybox__actions .add-to-cart {
        background: color-mix(in srgb, var(--primary, #1a3d2e) 10%, #fff) !important;
        color: var(--primary, var(--pylo-green)) !important;
        border: 1px solid color-mix(in srgb, var(--primary, #1a3d2e) 14%, transparent) !important;
        -webkit-text-fill-color: var(--primary, var(--pylo-green)) !important;
    }

    .product-details .product-buybox__actions .add-to-cart:hover {
        background: var(--primary, var(--pylo-green)) !important;
        border-color: var(--primary, var(--pylo-green)) !important;
        color: #fff !important;
        -webkit-text-fill-color: #fff !important;
    }

    .product-details .product-buybox__oos {
        margin-top: 10px !important;
    }

    .product-details .product-buybox__oos .out-of-stock:not(.d-none) {
        margin-top: 10px !important;
        border-radius: 8px !important;
        min-height: 44px;
        padding: 11px 10px !important;
        font-size: 13px !important;
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        width: 100%;
    }

    .product-details .product-buybox .selected-variations {
        padding-top: 8px !important;
        padding-bottom: 8px !important;
    }
}

@media (max-width: 575.98px) {
    .product-details>.container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .product-details .product-buybox {
        padding: 14px !important;
    }

    .product-details .product-buybox #chosen_price {
        font-size: 22px;
    }

    .product-details .product-buybox__actions .buy-now,
    .product-details .product-buybox__actions .add-to-cart {
        font-size: 11px !important;
        padding: 8px 3px !important;
    }
}

/* Mobile PDP: bỏ khoảng trống thừa dưới buy box → tab */
@media (max-width: 767.98px) {

    .product-details>.container>.pt-30px.pb-6,
    .product-details .pt-30px {
        padding-top: 16px !important;
        padding-bottom: 0 !important;
    }

    .product-details .product-buybox {
        margin-bottom: 0 !important;
    }

    .product-details .product-details__seller-brand {
        padding-top: 10px !important;
        padding-bottom: 0 !important;
        margin: 0;
    }

    .product-details .product-details__seller-brand.d-none {
        display: none !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .product-details .warranty-section {
        padding-bottom: 0 !important;
        margin: 0;
    }

    .product-details #smart-bar-trigger,
    #smart-bar-trigger {
        height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        line-height: 0;
        overflow: hidden;
    }

    .pyloherb-pdp-tabs {
        margin: 0 0 24px;
    }
}

@media (max-width: 767.98px) {
    .pyloherb-pdp-tabs__btn {
        padding: 14px 14px;
        font-size: 13px;
    }

    .pyloherb-pdp-tabs__btn+.pyloherb-pdp-tabs__btn::before {
        height: 12px;
    }

    .pyloherb-pdp-tabs__btn-label::after {
        bottom: -14px;
    }

    .pyloherb-pdp-tabs__panels {
        padding-top: 12px;
    }

    .pyloherb-pdp-tabs__card {
        padding: 20px 16px 24px;
        border-radius: 14px;
    }
}

.pyloherb-prose {
    font-family: var(--pylo-sans, "Public Sans", system-ui, sans-serif);
    font-size: var(--pylo-section-desc-size, 15px);
    line-height: var(--pylo-section-desc-lh, 1.7);
    color: #3d3d3d;
    letter-spacing: 0.01em;
}

.pyloherb-prose>*:first-child {
    margin-top: 0;
}

.pyloherb-prose>*:last-child {
    margin-bottom: 0;
}

.pyloherb-prose p {
    margin: 0 0 var(--pylo-section-desc-gap, 1em);
    text-align: left;
}

.pyloherb-prose .pylo-prose-lead {
    font-size: 1em;
    line-height: var(--pylo-section-desc-lh, 1.7);
    color: #2f2f2f;
}

.pyloherb-prose h1,
.pyloherb-prose h2,
.pyloherb-prose h3,
.pyloherb-prose h4,
.pyloherb-prose .pylo-prose-heading {
    font-family: var(--pylo-serif, "Playfair Display", Georgia, serif);
    font-weight: 600;
    color: var(--pylo-green-dark, #0f261c);
    line-height: 1.35;
    margin: 1.75em 0 0.75em;
}

.pyloherb-prose h1 {
    font-size: 1.55rem;
}

.pyloherb-prose h2 {
    font-size: 1.4rem;
}

.pyloherb-prose h3,
.pyloherb-prose .pylo-prose-heading {
    font-size: 1.2rem;
    padding-bottom: 0.45em;
    border-bottom: 1px solid rgba(26, 61, 46, 0.1);
}

.pyloherb-prose h4 {
    font-size: 1.05rem;
}

.pyloherb-prose strong,
.pyloherb-prose b {
    color: var(--pylo-green-dark, #0f261c);
    font-weight: 700;
}

.pyloherb-prose a {
    color: var(--pylo-brown, #9a7b4f);
    text-decoration: underline;
    text-underline-offset: 2px;
    word-break: break-word;
}

.pyloherb-prose a:hover {
    color: var(--pylo-green, #1a3d2e);
}

.pyloherb-prose ul,
.pyloherb-prose ol {
    margin: 0 0 1.25em;
    padding-left: 1.35em;
}

.pyloherb-prose li {
    margin-bottom: 0.45em;
}

.pyloherb-prose ul li::marker {
    color: var(--pylo-green, #1a3d2e);
}

.pyloherb-prose blockquote {
    margin: 1.25em 0;
    padding: 14px 18px;
    border-left: 3px solid var(--pylo-green, #1a3d2e);
    background: #f7f4ef;
    border-radius: 0 10px 10px 0;
    color: #4a4a4a;
    font-style: italic;
}

.pyloherb-prose img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 0.75em 0 1.25em;
    display: block;
}

.pyloherb-prose table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.25em 0;
    font-size: 14px;
    background: #fff;
    border: 1px solid #000;
}

.pyloherb-prose table th,
.pyloherb-prose table td {
    border: 1px solid #000 !important;
    padding: 10px 14px;
    text-align: left;
    vertical-align: middle;
    background: #fff !important;
    color: #1c1c1c !important;
}

.pyloherb-prose table th {
    font-weight: 600;
}

.pyloherb-prose table tr:nth-child(even) th,
.pyloherb-prose table tr:nth-child(even) td,
.pyloherb-prose table tr:nth-child(odd) th,
.pyloherb-prose table tr:nth-child(odd) td {
    background: #fff !important;
}

.pyloherb-prose hr {
    border: 0;
    border-top: 1px solid rgba(26, 61, 46, 0.1);
    margin: 1.75em 0;
}

.pylo-prose-specs {
    margin: 1.5em 0;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
}

.pylo-prose-specs__label {
    display: none;
}

.pylo-prose-specs__list {
    display: grid;
    grid-template-columns: minmax(140px, 220px) 1fr;
    gap: 0;
    margin: 0;
    border: 1px solid #000;
    background: #fff;
}

.pylo-prose-specs__list dt,
.pylo-prose-specs__list dd {
    margin: 0;
    padding: 10px 14px;
    border-bottom: 1px solid #000;
    border-right: 1px solid #000;
    background: #fff;
    color: #1c1c1c;
    font-size: 14px;
}

.pylo-prose-specs__list dt {
    font-weight: 600;
}

.pylo-prose-specs__list dd {
    font-weight: 500;
    border-right: 0;
    word-break: break-word;
}

.pylo-prose-specs__list dt:nth-last-child(2),
.pylo-prose-specs__list dd:last-child {
    border-bottom: 0;
}

.pylo-prose-contact {
    margin: 1.5em 0 0;
    padding: 18px 20px;
    border-radius: 12px;
    background: #0f261c;
    color: #f4f1ea;
}

.pylo-prose-contact__title {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    opacity: 0.7;
    margin-bottom: 10px;
}

.pylo-prose-contact__body {
    font-size: 14px;
    line-height: 1.7;
    word-break: break-word;
}

.pylo-prose-contact__body a {
    color: #e4c99a;
}

@media (max-width: 767.98px) {
    .pyloherb-desc-card {
        padding: 20px 16px 24px;
    }

    .pylo-prose-specs__list {
        grid-template-columns: 1fr;
    }

    .pylo-prose-specs__list dt {
        border-right: 0;
        border-bottom: 0;
        padding-bottom: 2px;
    }

    .pylo-prose-specs__list dd {
        border-right: 0;
        padding-top: 2px;
    }

    .pylo-prose-specs__list dt:nth-last-child(2) {
        border-bottom: 0;
    }
}

/* ══════════════════════════════════════════════
   Search / Category listing page
   ══════════════════════════════════════════════ */

.aiz-main-wrapper:has(.pyloherb-listing) {
    background: var(--pylo-cream) !important;
}

.pyloherb-listing {
    padding: 0;
}

@media (min-width: 992px) {
    .pyloherb-listing {
        padding: var(--pylo-space-md) 0 var(--pylo-space-lg);
    }
}

.pyloherb-listing-hero {
    position: relative;
    margin-bottom: var(--pylo-space-sm);
    border-radius: 0;
    overflow: hidden;
    min-height: var(--pylo-banner-height);
    height: var(--pylo-banner-height);
    max-height: var(--pylo-banner-height);
    aspect-ratio: var(--pylo-banner-ratio, 1930 / 705);
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background:
        linear-gradient(100deg, rgba(var(--hero-overlay-rgb, 0, 0, 0), calc(var(--hero-overlay-on, 0) * 0.95)) 0%, rgba(var(--hero-overlay-rgb, 0, 0, 0), calc(var(--hero-overlay-on, 0) * 0.72)) 45%, rgba(var(--hero-overlay-rgb, 0, 0, 0), calc(var(--hero-overlay-on, 0) * 0.55)) 100%),
        radial-gradient(circle at 70% 30%, rgba(var(--hero-overlay-rgb, 0, 0, 0), calc(var(--hero-overlay-on, 0) * 0.28)), transparent 48%),
        var(--pylo-listing-hero-bg, #fff);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Vertical rules removed — were decorative and looked like bugs on /search */

.pyloherb-listing-hero__inner {
    position: relative;
    z-index: 2;
    max-width: var(--pylo-banner-d-content-max, 560px);
    margin-left: 0;
    padding: var(--pylo-banner-d-pad-top, 48px) 0 var(--pylo-banner-d-pad-bottom, 64px);
    color: #f8f3ea;
}

.pyloherb-listing-hero__eyebrow {
    display: block;
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    opacity: 0.8;
    margin-bottom: 12px;
}

.pyloherb-listing-hero__title {
    margin: 0 0 12px;
    font-family: var(--pylo-serif);
    font-size: var(--pylo-banner-d-title-size, var(--pylo-fs-h1));
    font-style: italic;
    color: var(--section-title-color, #fff);
    line-height: var(--pylo-banner-d-title-lh, 1.1);
}

.pyloherb-listing-hero__desc {
    margin: 0;
    font-size: 13px;
    line-height: 1.7;
    opacity: 0.92;
    color: var(--section-desc-color, inherit);
}

/* /search banner: text centered vertically, moderate padding */
.pyloherb-listing-hero.pyloherb-listing-hero--search {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    min-height: var(--pylo-banner-height);
    height: var(--pylo-banner-height);
    max-height: var(--pylo-banner-height);
    border-radius: 0;
    background:
        linear-gradient(90deg,
            rgba(var(--hero-overlay-rgb, 0, 0, 0), calc(var(--hero-overlay-on, 0) * 0.58)) 0%,
            rgba(var(--hero-overlay-rgb, 0, 0, 0), calc(var(--hero-overlay-on, 0) * 0.34)) 26%,
            rgba(var(--hero-overlay-rgb, 0, 0, 0), calc(var(--hero-overlay-on, 0) * 0.12)) 48%,
            transparent 64%),
        linear-gradient(180deg,
            transparent 40%,
            rgba(var(--hero-overlay-rgb, 0, 0, 0), calc(var(--hero-overlay-on, 0) * 0.18)) 100%),
        var(--pylo-listing-hero-bg) !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    box-shadow: none;
}

.pyloherb-listing-hero::before,
.pyloherb-listing-hero::after {
    content: none !important;
    display: none !important;
}

.pyloherb-listing-hero--search .pyloherb-listing-hero__inner {
    max-width: var(--pylo-banner-d-content-max, 560px);
    width: 100%;
    color: #fff;
    padding: var(--pylo-banner-d-pad-top, 48px) 0 var(--pylo-banner-d-pad-bottom, 64px);
    text-shadow: none;
}

.pyloherb-listing-hero--search .pyloherb-listing-hero__eyebrow {
    opacity: 0.95;
    letter-spacing: 0.16em;
    font-weight: 600;
    color: var(--section-title-color, #fff);
    margin-bottom: 10px;
    white-space: pre-line;
}

.pyloherb-listing-hero--search .pyloherb-listing-hero__title {
    font-style: normal;
    font-weight: 600;
    color: var(--section-title-color, #fff);
    line-height: 1.15;
    margin-bottom: 14px;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.38);
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
    max-width: none;
}

.pyloherb-listing-hero--search .pyloherb-listing-hero__desc {
    opacity: 0.98;
    font-size: clamp(15px, 1.35vw, 17px);
    line-height: 1.55;
    width: auto;
    max-width: 34em;
    color: var(--section-desc-color, #fff);
    white-space: normal;
}

.pyloherb-listing__wrap {
    max-width: none;
}

.pyloherb-listing__layout {
    align-items: flex-start;
}

/* Sidebar filters */
.pyloherb-listing__sidebar {
    background: var(--pylo-white);
    border-radius: var(--pylo-radius);
    border: 1px solid rgba(26, 61, 46, 0.08);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
    overflow: hidden;
}

.pyloherb-listing__sidebar .collapse-sidebar {
    background: transparent;
}

.pyloherb-listing__sidebar .border-bottom-listing-sidebar {
    border-bottom: 1px solid rgba(26, 61, 46, 0.06) !important;
    background: transparent !important;
}

.pyloherb-listing__sidebar .border-bottom-listing-sidebar:last-child {
    border-bottom: none !important;
}

.pyloherb-listing__sidebar .filter-section {
    font-family: var(--pylo-serif);
    font-size: 15px !important;
    font-weight: 600 !important;
    color: var(--pylo-green) !important;
    text-decoration: none;
    padding-right: 4px;
}

.pyloherb-listing__sidebar .filter-section::after {
    font-size: 12px;
    color: #9a9488;
}

.pyloherb-listing__sidebar .hummingbird-treeview-converter2 li,
.pyloherb-listing__sidebar .aiz-checkbox label {
    font-family: var(--pylo-sans);
    font-size: 13px;
}

.pyloherb-listing__sidebar .aiz-megabox>input:checked~span,
.pyloherb-listing__sidebar .aiz-checkbox>input:checked~.aiz-square-check {
    border-color: var(--pylo-green);
    background-color: var(--pylo-green);
}

.pyloherb-listing__sidebar .see_more_toggle_btn,
.pyloherb-listing__sidebar .less_toggle_btn {
    color: var(--pylo-green);
    font-weight: 600;
    font-size: 13px;
}

.pyloherb-listing__sidebar .collapse-sidebar .overlay {
    background: rgba(15, 38, 28, 0.45);
}

.pyloherb-listing__sidebar #input-slider-range .noUi-connect {
    background: var(--pylo-green);
}

/* Sort bar (search listing) */
.pyloherb-listing__sortbar {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    flex-wrap: wrap;
    width: 100%;
    margin-top: 10px;
    position: relative;
    z-index: 1;
}

.pyloherb-listing__sortbar .pyloherb-listing__sort {
    min-width: min(100%, 240px);
    max-width: 280px;
}

.pyloherb-listing__sort-sidebar .pyloherb-listing__sort-select {
    width: 100%;
}

.pyloherb-listing__filter-btn span {
    margin-left: 0;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
}

/* Breadcrumb above mobile filter — keep on its own row */
.pyloherb-listing__main>.breadcrumb,
.pyloherb-listing__crumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 6px;
    width: 100%;
    max-width: 100%;
    margin-bottom: 4px !important;
    position: relative;
    z-index: 1;
    overflow: visible;
}

.pyloherb-listing__main>.breadcrumb>li,
.pyloherb-listing__crumbs>li {
    flex: 0 1 auto;
    min-width: 0;
    max-width: 100%;
}

.pyloherb-listing__main>.breadcrumb>i,
.pyloherb-listing__crumbs>i {
    flex: 0 0 auto;
}

/* Main content header (legacy — kept for other pages if used) */
.pyloherb-listing__head {
    background: var(--pylo-white);
    border-radius: calc(var(--pylo-radius) + 2px);
    border: 1px solid rgba(26, 61, 46, 0.1);
    box-shadow: 0 8px 28px rgba(15, 38, 28, 0.06);
    padding: 0;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}

.pyloherb-listing__head::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--pylo-green) 0%, #4a7a5c 50%, var(--pylo-brown) 100%);
    z-index: 1;
}

.pyloherb-listing__toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: space-between;
    gap: 0;
    min-height: 88px;
}

.pyloherb-listing__toolbar-main {
    flex: 1 1 280px;
    min-width: 0;
    padding: 18px 22px;
    background: linear-gradient(135deg, #f7f4ef 0%, #fdfbf8 55%, #fff 100%);
    border-right: 1px solid rgba(26, 61, 46, 0.08);
    position: relative;
}

.pyloherb-listing__toolbar-main::after {
    content: "";
    position: absolute;
    left: 0;
    top: 14px;
    bottom: 14px;
    width: 4px;
    border-radius: 0 4px 4px 0;
    background: var(--pylo-green);
}

.pyloherb-listing__eyebrow {
    display: block;
    margin: 0 0 6px;
    padding-left: 12px;
    font-family: var(--pylo-sans);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--pylo-brown);
}

.pyloherb-listing__toolbar-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    padding: 16px 18px;
    background: var(--pylo-white);
    flex: 0 0 auto;
    min-width: min(100%, 280px);
    border-left: 1px solid rgba(26, 61, 46, 0.06);
}

.pyloherb-listing__filter-btn {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    width: auto;
    min-width: 44px;
    min-height: 44px;
    height: auto;
    padding: 10px 14px;
    border-radius: 12px;
    border: 1px solid rgba(26, 61, 46, 0.12);
    background: var(--pylo-cream);
    color: var(--pylo-green);
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
    white-space: nowrap;
    overflow: visible;
    box-sizing: border-box;
}

.pyloherb-listing__sortbar .pyloherb-listing__filter-btn {
    width: 100%;
    max-width: 100%;
}

.pyloherb-listing__filter-btn:hover {
    background: #fff;
    border-color: var(--pylo-green);
}

.pyloherb-listing__breadcrumb {
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
    gap: 6px;
    font-family: var(--pylo-sans);
    font-size: 13px;
    color: var(--pylo-muted);
}

.pyloherb-listing__breadcrumb a {
    color: var(--pylo-muted);
    text-decoration: none;
}

.pyloherb-listing__breadcrumb a:hover {
    color: var(--pylo-green);
}

.pyloherb-listing__title {
    font-family: var(--pylo-serif);
    font-size: clamp(20px, 2.6vw, 26px);
    font-weight: 600;
    color: var(--pylo-green-dark);
    margin: 0 0 8px;
    padding-left: 12px;
    line-height: 1.25;
}

.pyloherb-listing__count {
    font-family: var(--pylo-sans);
    font-size: 13px;
    color: var(--pylo-muted);
    margin: 0;
    padding-left: 12px;
}

.pyloherb-listing__count #total_product_count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 24px;
    padding: 0 8px;
    margin-right: 6px;
    border-radius: 999px;
    background: rgba(26, 61, 46, 0.08);
    color: var(--pylo-green);
    font-weight: 700;
    font-size: 12px;
}

.pyloherb-listing__loading {
    display: none;
    font-family: var(--pylo-sans);
    font-size: 13px;
    color: var(--pylo-brown);
    margin: 6px 0 0;
    padding-left: 12px;
}

.pyloherb-listing__sort {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    flex: 1;
    min-width: 180px;
}

.pyloherb-listing__sort-label {
    font-family: var(--pylo-sans);
    font-size: 13px;
    font-weight: 600;
    color: var(--pylo-muted);
    margin: 0;
    white-space: nowrap;
}

.pyloherb-listing__sort-select {
    min-width: 0;
    width: 100%;
    height: 44px;
    border-radius: 12px !important;
    border: 1px solid rgba(26, 61, 46, 0.14) !important;
    font-family: var(--pylo-sans);
    font-size: 14px;
    font-weight: 600;
    color: var(--pylo-green-dark);
    background: var(--pylo-cream);
    padding: 0 14px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.pyloherb-listing__view-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px;
    background: var(--pylo-cream);
    border-radius: 10px;
    border: 1px solid rgba(26, 61, 46, 0.08);
}

.pyloherb-listing__view-toggle .btn-col-filter {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    width: 40px;
    height: 36px;
    padding: 0;
    border: none;
    border-radius: 8px;
    background: transparent;
    cursor: pointer;
    transition: background 0.15s, box-shadow 0.15s;
}

.pyloherb-listing__view-toggle .btn-col-filter span {
    display: block;
    width: 4px;
    height: 14px;
    border-radius: 2px;
    background: #b8b8b8;
    transition: background 0.15s;
}

.pyloherb-listing__view-toggle .btn-col-filter.active-cols {
    background: var(--pylo-white);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.pyloherb-listing__view-toggle .btn-col-filter.active-cols span {
    background: var(--pylo-green);
}

/* Product grid */
.pyloherb-listing__grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(2, 1fr);
    align-items: start;
}

.pyloherb-listing__item {
    min-width: 0;
    width: 100%;
    max-width: 100%;
}

.pyloherb-listing__grid.gutters-16 {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.pyloherb-listing__grid.gutters-16>.col,
.pyloherb-listing__grid.gutters-16>[class*="col-"],
.pyloherb-listing__grid.gutters-16>.pyloherb-listing__item {
    width: 100%;
    max-width: 100%;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.pyloherb-listing__products-wrap .pyloherb-listing__item {
    margin-bottom: 0;
}

.pyloherb-listing__products-wrap {
    border: 1px solid rgba(26, 61, 46, 0.08);
    border-radius: calc(var(--pylo-radius) + 4px);
    padding: 20px 16px 18px;
    background: linear-gradient(180deg, #faf7f2 0%, #f3efe8 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.pyloherb-listing .aiz-card-box {
    position: relative;
    border-radius: 10px;
    border: 1px solid #e9e3d8;
    background: #fff;
    box-shadow: 0 8px 24px rgba(15, 38, 28, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    overflow: hidden;
    padding: 10px 10px 14px !important;
}

.pyloherb-listing .aiz-card-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(15, 38, 28, 0.12);
    border-color: #dcd3c5;
}

.pyloherb-listing .aiz-card-box .img-fit {
    border-radius: 8px;
    background: #f8f4ed;
}

.pyloherb-listing .aiz-card-box .aiz-p-hov-icon {
    right: 6px;
    top: 6px;
}

.pyloherb-listing .aiz-card-box .aiz-p-hov-icon a {
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid #ece6db;
}

.pyloherb-listing .aiz-card-box .absolute-top-left {
    left: 8px !important;
}

.pyloherb-listing .aiz-card-box h3 {
    min-height: 42px;
}

.pyloherb-listing .aiz-card-box h3 a {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.45;
    color: #1a1a1a;
}

.pyloherb-listing .aiz-card-box h3 a:hover {
    color: var(--pylo-green-dark);
}

.pyloherb-listing .aiz-card-box .fs-14 {
    margin-top: 10px !important;
}

.pyloherb-listing .aiz-card-box .fw-700.text-primary {
    color: #111 !important;
    font-size: 18px;
    letter-spacing: -0.01em;
}

.pyloherb-listing .aiz-card-box del {
    color: #8f8a82 !important;
    font-size: 12px;
}

.pyloherb-listing .aiz-card-box .cart-btn {
    background: var(--primary, #1b3f2f);
    border-radius: 0 0 10px 10px;
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.pyloherb-listing .aiz-card-box .cart-btn:hover {
    background: var(--hov-primary, #10281d);
}

.pyloherb-listing .aiz-card-box:hover .cart-btn {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* Search listing — product cards (product_box_1) */
.pyloherb-listing .pyloherb-product-card {
    width: 100%;
    max-width: 100%;
}

.pyloherb-listing .pyloherb-product-card::before {
    display: none;
}

.pyloherb-listing .pyloherb-product-card:hover {
    transform: none;
}

/* Pagination — chỉ .pyloherb-listing__pagination */
.pyloherb-listing__pagination {
    margin-top: 28px;
    display: flex;
    justify-content: center;
    width: 100%;
    overflow: hidden;
}

.pyloherb-listing__pagination .pagination {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
    max-width: 100%;
}

.pyloherb-listing__pagination .page-item {
    margin: 0;
}

.pyloherb-listing__pagination .page-link {
    font-family: var(--pylo-sans);
    min-width: 36px;
    width: 36px;
    height: 36px;
    padding: 0 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px !important;
    border: 1px solid rgba(26, 61, 46, 0.12) !important;
    color: var(--pylo-text);
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    background: var(--pylo-white);
}

.pyloherb-listing__pagination .page-link i {
    font-size: 16px;
    line-height: 1;
}

.pyloherb-listing__pagination .page-link--ellipsis {
    min-width: 28px;
    width: 28px;
    border-color: transparent !important;
    background: transparent !important;
    color: var(--pylo-muted, #8a857c);
    pointer-events: none;
}

.pyloherb-listing__pagination .page-item.active .page-link {
    background: var(--primary, #183b2c);
    border-color: var(--primary, #163527) !important;
    color: #fff;
    box-shadow: 0 6px 14px color-mix(in srgb, var(--primary, #0f261c) 16%, transparent);
}

.pyloherb-listing__pagination .page-item.disabled .page-link {
    opacity: 0.45;
}

.pyloherb-listing__pagination .page-link:hover {
    background: var(--pylo-cream);
    color: var(--primary, var(--pylo-green));
}

.pyloherb-listing__pagination .page-item.active .page-link:hover {
    color: #fff;
    background: var(--hov-primary, var(--primary, #10281d));
    border-color: var(--hov-primary, var(--primary, #10281d)) !important;
}

@media (max-width: 575.98px) {
    .pyloherb-listing__pagination {
        margin-top: 20px;
    }

    .pyloherb-listing__pagination .pagination {
        gap: 4px;
    }

    .pyloherb-listing__pagination .page-link {
        min-width: 32px;
        width: 32px;
        height: 32px;
        font-size: 12px;
        border-radius: 7px !important;
    }

    .pyloherb-listing__pagination .page-link--ellipsis {
        min-width: 22px;
        width: 22px;
    }

    .pyloherb-listing__pagination .page-link i {
        font-size: 14px;
    }
}

.pyloherb-listing-skeleton {
    border-radius: calc(var(--pylo-radius) + 2px);
    background: #fff;
    border: 1px solid rgba(26, 61, 46, 0.1);
    box-shadow: 0 8px 28px rgba(15, 38, 28, 0.08);
    padding: 10px;
}

.pyloherb-listing-skeleton__thumb,
.pyloherb-listing-skeleton__line {
    position: relative;
    overflow: hidden;
    background: #efece6;
}

.pyloherb-listing-skeleton__thumb::after,
.pyloherb-listing-skeleton__line::after {
    content: "";
    position: absolute;
    top: 0;
    left: -140%;
    width: 120%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.7), transparent);
    animation: pylo-skeleton 1.1s infinite;
}

.pyloherb-listing-skeleton__thumb {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 12px;
    margin-bottom: 10px;
    background: linear-gradient(180deg, #faf8f4 0%, #f3efe8 100%);
}

.pyloherb-listing-skeleton__line {
    height: 10px;
    border-radius: 999px;
    margin-bottom: 8px;
}

.pyloherb-listing-skeleton__line--short {
    width: 74%;
}

.pyloherb-listing-skeleton__line--price {
    width: 45%;
    height: 12px;
    margin-top: 10px;
}

@keyframes pylo-skeleton {
    100% {
        left: 140%;
    }
}

/* Product type badges (preorder) */
.pyloherb-listing__main>.product-tab {
    margin-bottom: 16px;
}

.pyloherb-listing__main .product-tab .aiz-megabox>span {
    border-radius: 10px !important;
    font-family: var(--pylo-sans);
    transition: all 0.15s;
}

.pyloherb-listing__main .product-tab .aiz-megabox>input:checked~span.bg-soft-dark {
    background: var(--pylo-green) !important;
    color: #fff !important;
    border-color: var(--pylo-green) !important;
}

@media (min-width: 576px) {
    .pyloherb-listing__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 992px) {
    .pyloherb-listing__sidebar-col {
        position: sticky;
        top: 88px;
        align-self: flex-start;
    }

    /* Desktop/tablet lớn: cột bộ lọc cố định (không drawer) — Sort nằm trong cột này */
    .pyloherb-listing .aiz-filter-sidebar.sidebar-xl,
    .pyloherb-listing .aiz-filter-sidebar.sidebar-xl .collapse-sidebar {
        position: static !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        width: 100% !important;
        max-width: none !important;
        height: auto !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        z-index: auto !important;
        overflow: visible !important;
    }

    .pyloherb-listing .aiz-filter-sidebar.sidebar-xl .overlay {
        display: none !important;
    }
}

@media (max-width: 1199px) {
    .pyloherb-listing__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {


    /* Chỉ listing: bỏ padding container trong — tránh cộng 2 lần; giữ mép ngoài 16px */
    .pyloherb-listing.container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .pyloherb-listing .pyloherb-listing__wrap.container,
    .pyloherb-listing .container.pyloherb-listing__wrap {
        padding-left: 0 !important;
        padding-right: 0 !important;
        max-width: 100%;
    }

    .pyloherb-listing__products-wrap {
        padding: var(--pylo-space-xs);
        border-radius: 12px;
    }

    .pyloherb-listing-hero {
        height: var(--pylo-banner-height-tablet);
        max-height: var(--pylo-banner-height-tablet);
        min-height: var(--pylo-banner-height-tablet);
        overflow: hidden;
        margin-bottom: 14px;
        background-image:
            linear-gradient(100deg, rgba(var(--hero-overlay-rgb, 0, 0, 0), calc(var(--hero-overlay-on, 0) * .95)) 0%, rgba(var(--hero-overlay-rgb, 0, 0, 0), calc(var(--hero-overlay-on, 0) * .72)) 45%, rgba(var(--hero-overlay-rgb, 0, 0, 0), calc(var(--hero-overlay-on, 0) * .55)) 100%),
            var(--pylo-listing-hero-bg-mobile, var(--pylo-listing-hero-bg, #fff));
    }

    .pyloherb-listing-hero__inner {
        margin-left: 0;
        margin-right: 0;
        padding: var(--pylo-banner-pad-y, 14px) var(--pylo-banner-pad-x, 16px);
    }

    .pyloherb-listing-hero--search {
        height: var(--pylo-banner-height-tablet);
        max-height: var(--pylo-banner-height-tablet);
        min-height: var(--pylo-banner-height-tablet);
        background-position: center;
        background-image:
            linear-gradient(90deg,
                rgba(18, 32, 26, 0.62) 0%,
                rgba(18, 32, 26, 0.28) 42%,
                transparent 72%),
            linear-gradient(180deg, transparent 30%, rgba(18, 32, 26, 0.22) 100%),
            var(--pylo-listing-hero-bg-mobile, var(--pylo-listing-hero-bg)) !important;
        justify-content: center;
    }

    .pyloherb-listing-hero--search .pyloherb-listing-hero__inner {
        padding: 14px 16px;
    }

    .pyloherb-listing-hero--search .pyloherb-listing-hero__title {
        white-space: normal;
        font-size: clamp(18px, 5vw, 26px);
    }

    .pyloherb-listing-hero--search .pyloherb-listing-hero__desc {
        font-size: 13px;
        max-width: 100%;
        line-height: 1.4;
    }

    .pyloherb-listing__sortbar {
        justify-content: stretch;
        width: 100%;
    }

    .pyloherb-listing__sortbar .pyloherb-listing__filter-btn {
        width: 100%;
        justify-content: center;
    }

    .pyloherb-listing__sortbar .pyloherb-listing__sort {
        flex: 1;
        max-width: none;
        min-width: 0;
    }

    .pyloherb-listing__head {
        margin-bottom: 14px;
    }

    .pyloherb-listing__toolbar {
        min-height: 0;
    }

    .pyloherb-listing__toolbar-main {
        flex: 1 1 100%;
        border-right: 0;
        border-bottom: 1px solid rgba(26, 61, 46, 0.08);
        padding: 16px;
    }

    .pyloherb-listing__toolbar-actions {
        flex: 1 1 100%;
        min-width: 0;
        border-left: 0;
        padding: 14px 16px;
    }

    .pyloherb-listing__toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .pyloherb-listing__toolbar-actions {
        justify-content: space-between;
    }

    .pyloherb-listing__sort {
        flex: 1;
    }

    .pyloherb-listing__sort-select {
        flex: 1;
        min-width: 0;
    }

    .pyloherb-listing__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }
}

/* ===== Offers page (/flash-deals) ===== */
.pyloherb-offers-hero {
    position: relative;
    min-height: var(--pylo-banner-height);
    height: var(--pylo-banner-height);
    max-height: var(--pylo-banner-height);
    aspect-ratio: var(--pylo-banner-ratio, 1930 / 705);
    display: flex;
    align-items: center;
    overflow: hidden;
    background-color: #fff;
    border-radius: 0;
    width: 100%;
}

/* ===== All categories page (/categories) ===== */
.pyloherb-all-cats__breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 22px;
    font-size: 13px;
    color: var(--pylo-muted, #5c5c5c);
}

.pyloherb-all-cats__breadcrumb a {
    color: inherit;
    text-decoration: none;
}

.pyloherb-all-cats__breadcrumb a:hover {
    color: var(--pylo-green-dark, #0f261c);
}

.pyloherb-all-cats__breadcrumb .is-current {
    color: var(--pylo-green-dark, #0f261c);
    font-weight: 600;
}

.pyloherb-all-cats__head {
    margin-bottom: 28px;
}

.pyloherb-all-cats__title {
    margin: 0 0 8px;
    font-family: var(--pylo-serif, "Playfair Display", Georgia, serif);
    font-size: clamp(22px, 2.8vw, 30px);
    font-weight: 700;
    color: var(--pylo-green-dark, #0f261c);
}

.pyloherb-all-cats__desc {
    margin: 0;
    font-size: var(--pylo-section-desc-size, 15px);
    line-height: var(--pylo-section-desc-lh, 1.7);
    color: var(--pylo-muted, #5c5c5c);
    text-align: left;
}

.pyloherb-all-cats__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.pyloherb-all-cats__card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid rgba(15, 38, 28, 0.08);
    border-radius: 10px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.pyloherb-all-cats__card:hover {
    border-color: rgba(15, 38, 28, 0.18);
    transform: translateY(-2px);
    text-decoration: none;
    color: inherit;
}

.pyloherb-all-cats__media {
    display: block;
    overflow: hidden;
    background: #ece8e1;
    aspect-ratio: 1 / 1;
}

.pyloherb-all-cats__media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.45s ease;
}

.pyloherb-all-cats__card:hover .pyloherb-all-cats__media img {
    transform: scale(1.04);
}

.pyloherb-all-cats__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 10px;
    padding: 18px 18px 20px;
}

.pyloherb-all-cats__name {
    display: block;
    margin: 0;
    font-family: var(--pylo-serif, "Playfair Display", Georgia, serif);
    font-size: var(--pylo-fs-h3);
    font-weight: 700;
    line-height: 1.25;
    color: var(--pylo-green-dark, #0f261c);
}

.pyloherb-all-cats__cta {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--pylo-green-dark, #0f261c);
}

.pyloherb-all-cats__cta::after {
    content: "→";
    margin-left: 8px;
    transition: transform 0.2s ease;
}

.pyloherb-all-cats__card:hover .pyloherb-all-cats__cta::after {
    transform: translateX(3px);
}

.pyloherb-all-cats__empty {
    text-align: center;
    padding: var(--pylo-space-lg) var(--pylo-space-xs);
    color: var(--pylo-muted, #5c5c5c);
}

@media (max-width: 991.98px) {
    .pyloherb-all-cats__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }
}

@media (max-width: 575.98px) {
    .pyloherb-all-cats__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }
}

/* ===== Flash deal detail (/flash-deal/{slug}) ===== */
.pyloherb-fd-detail-hero {
    position: relative;
    min-height: var(--pylo-banner-height);
    height: var(--pylo-banner-height);
    max-height: var(--pylo-banner-height);
    aspect-ratio: var(--pylo-banner-ratio, 1930 / 705);
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    padding: 28px 0 40px;
    background-color: #fff;
    border-radius: 0;
    width: 100%;
}

.pyloherb-fd-detail-hero__bg {
    position: absolute;
    inset: 0;
    background-size: contain;
    background-position: center;
}

.pyloherb-fd-detail-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(var(--hero-overlay-rgb, 0, 0, 0), calc(var(--hero-overlay-on, 0) * 0.55)) 0%, rgba(var(--hero-overlay-rgb, 0, 0, 0), calc(var(--hero-overlay-on, 0) * 0.22)) 48%, rgba(var(--hero-overlay-rgb, 0, 0, 0), calc(var(--hero-overlay-on, 0) * 0.08)) 100%);
}

.pyloherb-fd-detail-hero__breadcrumb {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.78);
}

.pyloherb-fd-detail-hero__breadcrumb a {
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
}

.pyloherb-fd-detail-hero__breadcrumb a:hover {
    color: #fff;
}

.pyloherb-fd-detail-hero__breadcrumb .is-current {
    color: #fff;
    font-weight: 600;
}

.pyloherb-fd-detail-hero__panel {
    position: relative;
    z-index: 2;
    max-width: 520px;
    background: rgba(247, 244, 239, 0.96);
    padding: 28px 28px 26px;
    border-radius: 6px;
}

.pyloherb-fd-detail-hero__accent {
    display: block;
    width: 44px;
    height: 3px;
    background: #c9a87c;
    margin-bottom: 14px;
}

.pyloherb-fd-detail-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0 0 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--pylo-brown, #9a7b4f);
}

.pyloherb-fd-detail-hero__title {
    margin: 0 0 16px;
    font-family: var(--pylo-serif, "Playfair Display", Georgia, serif);
    font-size: clamp(26px, 3.4vw, 36px);
    font-weight: 700;
    line-height: 1.2;
    color: var(--pylo-green-dark, #0f261c);
}

.pyloherb-fd-detail-hero__timer {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.pyloherb-fd-detail-hero__timer-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #7a7a7a;
}

.pyloherb-fd-detail-hero__countdown {
    display: flex;
    align-items: center;
    gap: 6px;
}

.pyloherb-fd-detail-hero__tick {
    min-width: 52px;
    padding: 10px 12px;
    border-radius: 8px;
    background: var(--pylo-green-dark, #0f261c);
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    line-height: 1;
    white-space: nowrap;
}

.pyloherb-fd-detail-hero__tick small {
    display: block;
    margin: 4px 0 0;
    font-size: 10px;
    font-weight: 600;
    color: #c9a87c;
    text-transform: none;
}

.pyloherb-fd-detail-hero__colon {
    font-size: 15px;
    font-weight: 700;
    color: var(--pylo-green-dark, #0f261c);
}

.pyloherb-fd-detail-hero__expired {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: #a33;
}

.pyloherb-fd-detail-products__head {
    margin-bottom: 24px;
}

.pyloherb-fd-detail-products__title {
    margin: 0 0 8px;
    font-family: var(--pylo-serif, "Playfair Display", Georgia, serif);
    font-size: var(--pylo-fs-h2);
    font-weight: 700;
    color: var(--pylo-green-dark, #0f261c);
}

.pyloherb-fd-detail-products__desc {
    margin: 0;
    font-size: var(--pylo-section-desc-size, 15px);
    line-height: var(--pylo-section-desc-lh, 1.7);
    color: var(--pylo-muted, #5c5c5c);
    text-align: left;
}

.pyloherb-fd-detail-products__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.pyloherb-fd-detail-products__empty {
    text-align: center;
    padding: var(--pylo-space-lg) var(--pylo-space-xs);
}

.pyloherb-fd-detail-products__empty p {
    margin-bottom: 16px;
    font-size: 16px;
    color: var(--pylo-muted, #5c5c5c);
}

@media (max-width: 991.98px) {
    .pyloherb-fd-detail-products__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 14px;
    }
}

@media (max-width: 767.98px) {
    .pyloherb-fd-detail-hero {
        min-height: var(--pylo-banner-height-mobile);
        height: var(--pylo-banner-height-mobile);
        max-height: var(--pylo-banner-height-mobile);
        padding: 12px 0 16px;
    }

    .pyloherb-fd-detail-hero__panel {
        padding: 14px 14px;
        max-width: 100%;
    }

    .pyloherb-fd-detail-products__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }
}

.pyloherb-offers-hero__bg {
    position: absolute;
    inset: 0;
    background-size: contain;
    background-position: center;
    background-image: var(--pylo-offers-hero-bg);
}

@media (max-width: 767.98px) {
    .pyloherb-offers-hero__bg {
        background-image: var(--pylo-offers-hero-bg-mobile, var(--pylo-offers-hero-bg));
    }
}

.pyloherb-offers-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(var(--hero-overlay-rgb, 0, 0, 0), calc(var(--hero-overlay-on, 0) * 0.35)) 0%, rgba(var(--hero-overlay-rgb, 0, 0, 0), calc(var(--hero-overlay-on, 0) * 0.08)) 55%, rgba(var(--hero-overlay-rgb, 0, 0, 0), calc(var(--hero-overlay-on, 0) * 0.02)) 100%);
}

.pyloherb-offers-hero__panel {
    position: relative;
    z-index: 2;
    max-width: 520px;
    background: rgba(247, 244, 239, 0.96);
    padding: 36px 32px;
    border-radius: 4px;
    margin: 48px 0;
}

.pyloherb-offers-hero__accent {
    display: block;
    width: 48px;
    height: 3px;
    background: #c9a87c;
    margin-bottom: 16px;
}

.pyloherb-offers-hero__eyebrow {
    font-family: var(--pylo-sans);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    color: var(--pylo-brown);
    margin-bottom: 10px;
}

.pyloherb-offers-hero__title {
    font-family: var(--pylo-serif);
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    color: var(--section-title-color, var(--pylo-green-dark));
    line-height: 1.15;
    margin-bottom: 14px;
}

.pyloherb-offers-hero__desc {
    font-family: var(--pylo-sans);
    font-size: 14px;
    line-height: 1.65;
    color: var(--section-desc-color, var(--pylo-muted));
    margin-bottom: 24px;
}

.pyloherb-offers-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* Panel nền sáng — outline trắng (hero home) sẽ mất chữ; dùng xanh đậm */
.pyloherb-offers-hero__panel .pyloherb-btn--hero-outline {
    background: transparent;
    color: var(--primary, var(--pylo-green, #0f261c));
    border-color: var(--primary, var(--pylo-green, #0f261c));
}

.pyloherb-offers-hero__panel .pyloherb-btn--hero-outline:hover {
    background: var(--hov-primary, var(--pylo-green-dark, #0f261c));
    color: #fff;
    border-color: var(--hov-primary, var(--pylo-green-dark, #0f261c));
}

.pyloherb-offers-flash__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.pyloherb-offers-flash__eyebrow {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--pylo-sans);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #c0392b;
    margin-bottom: 6px;
}

.pyloherb-offers-flash__bolt {
    font-size: 16px;
}

.pyloherb-offers-flash__featured {
    display: inline-block;
    margin-left: 8px;
    padding: 2px 8px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    background: rgba(192, 57, 43, 0.12);
    color: #c0392b;
    border-radius: 4px;
    vertical-align: middle;
}

.pyloherb-offers-flash__title {
    font-family: var(--pylo-serif);
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 700;
    color: var(--section-title-color, var(--pylo-green-dark));
    margin: 0;
}

.pyloherb-offers-flash__timer-wrap {
    text-align: right;
}

.pyloherb-offers-flash__timer-label {
    display: block;
    font-size: 12px;
    color: var(--pylo-muted);
    margin-bottom: 8px;
}

.pyloherb-offers-flash__timer {
    display: inline-flex;
    align-items: stretch;
    gap: 6px;
}

.pyloherb-offers-flash__timer-box {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 52px;
    padding: 8px 10px 6px;
    background: var(--pylo-green-dark, #0f261c);
    border-radius: 8px;
    color: #fff;
    line-height: 1.1;
    white-space: nowrap;
}

.pyloherb-offers-flash__timer-num {
    font-family: var(--pylo-sans);
    font-size: 18px;
    font-weight: 700;
    color: #fff;
}

.pyloherb-offers-flash__timer-unit {
    margin-top: 3px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: none;
    color: #c9a87c;
}

.pyloherb-offers-flash__timer-sep {
    align-self: center;
    font-weight: 700;
    color: var(--pylo-green-dark, #0f261c);
}

.pyloherb-offers-flash__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.pyloherb-offers-combo__head {
    margin-bottom: 22px;
}

.pyloherb-offers-combo__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0 0 8px;
    font-size: 13px;
    font-weight: 700;
    color: #c45c3e;
    letter-spacing: 0.01em;
}

.pyloherb-offers-combo__eyebrow-icon {
    display: inline-flex;
    color: #c45c3e;
}

.pyloherb-offers-combo__title {
    margin: 0 0 8px;
    font-family: var(--pylo-serif, "Playfair Display", Georgia, serif);
    font-size: clamp(26px, 3.2vw, 34px);
    font-weight: 700;
    line-height: 1.2;
    color: var(--pylo-green-dark, #0f261c);
}

.pyloherb-offers-combo__desc {
    margin: 0;
    max-width: 520px;
    font-size: var(--pylo-section-desc-size, 15px);
    line-height: var(--pylo-section-desc-lh, 1.7);
    color: var(--pylo-muted, #5c5c5c);
    text-align: left;
}

.pyloherb-offers-combo__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.pyloherb-offers-combo-pack {
    display: grid;
    grid-template-columns: minmax(180px, 35%) minmax(0, 1fr);
    gap: 18px;
    align-items: stretch;
    min-height: 260px;
    padding: 16px;
    background: #fff;
    border: 1px solid rgba(26, 61, 46, 0.08);
    border-radius: 16px;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 4px 18px rgba(15, 38, 28, 0.06);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.pyloherb-offers-combo-pack:hover {
    box-shadow: 0 10px 28px rgba(15, 38, 28, 0.1);
    transform: translateY(-2px);
    color: inherit;
    text-decoration: none;
}

.pyloherb-offers-combo-pack__hero {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 12px;
    overflow: hidden;
    background: #ece8e1;
    flex-shrink: 0;
    align-self: start;
}

.pyloherb-offers-combo-pack__hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.pyloherb-offers-combo-pack__badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 9px;
    border-radius: 6px;
    background: #1c1c1c;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.pyloherb-offers-combo-pack__info {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pyloherb-offers-combo-pack__name {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.25;
    color: #1c1c1c;
}

.pyloherb-offers-combo-pack__price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
}

.pyloherb-offers-combo-pack__price strong {
    font-size: 18px;
    font-weight: 700;
    color: #c48a3a;
}

.pyloherb-offers-combo-pack__price del {
    font-size: 13px;
    font-weight: 500;
    color: #9a9a9a;
}

.pyloherb-offers-combo-pack__timer {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
}

.pyloherb-offers-combo-pack__timer-label {
    font-size: 11px;
    font-weight: 700;
    color: #8a8a8a;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.pyloherb-offers-combo-pack__countdown {
    display: flex;
    align-items: center;
    gap: 4px;
}

.pyloherb-offers-combo-pack__tick {
    min-width: 42px;
    padding: 6px 7px;
    border-radius: 8px;
    background: #ece8e1;
    text-align: center;
    font-size: 13px;
    font-weight: 700;
    color: #222;
    line-height: 1.1;
    white-space: nowrap;
}

.pyloherb-offers-combo-pack__tick small {
    display: block;
    margin-top: 2px;
    font-size: 9px;
    font-weight: 600;
    color: #7a7a7a;
    text-transform: none;
}

.pyloherb-offers-combo-pack__colon {
    font-size: 13px;
    font-weight: 700;
    color: #999;
}

.pyloherb-offers-combo-pack__products {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 2px;
}

.pyloherb-offers-combo-mini {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    padding: 7px 8px;
    border-radius: 10px;
    background: #f3f5f7;
}

.pyloherb-offers-combo-mini__img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

.pyloherb-offers-combo-mini__img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.pyloherb-offers-combo-mini__body {
    min-width: 0;
}

.pyloherb-offers-combo-mini__name {
    margin: 0;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.25;
    color: #222;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pyloherb-offers-combo-mini__variant,
.pyloherb-offers-combo-mini__qty {
    margin: 1px 0 0;
    font-size: 11px;
    color: #777;
}

.pyloherb-offers-combo-pack__cta {
    margin-top: auto;
    align-self: flex-end;
    font-size: 13px;
    font-weight: 600;
    color: #666;
}

.pyloherb-offers-combo-pack:hover .pyloherb-offers-combo-pack__cta {
    color: #c48a3a;
}

.pyloherb-combo-detail {
    padding: 24px 0 56px;
    background: #fff;
}

.pyloherb-combo-detail__breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    font-size: 13px;
    color: #8a8a8a;
}

.pyloherb-combo-detail__breadcrumb a {
    color: #8a8a8a;
    text-decoration: none;
}

.pyloherb-combo-detail__breadcrumb a:hover {
    color: var(--pylo-green, #1a3d2e);
}

.pyloherb-combo-detail__breadcrumb .is-current {
    color: #333;
    font-weight: 600;
}

.pyloherb-combo-detail__layout {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 36px;
    align-items: start;
}

.pyloherb-combo-detail__media {
    border-radius: 16px;
    overflow: hidden;
    background: #f3f1ec;
    aspect-ratio: 1 / 1;
}

.pyloherb-combo-detail__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.pyloherb-combo-detail__content {
    min-width: 0;
}

.pyloherb-combo-detail__badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 999px;
    background: #e8f0ea;
    color: #1a3d2e;
    font-size: 12px;
    font-weight: 700;
}

.pyloherb-combo-detail__title {
    margin: 12px 0 10px;
    font-size: clamp(28px, 3.4vw, 40px);
    font-weight: 700;
    line-height: 1.15;
    color: #111;
}

.pyloherb-combo-detail__price {
    display: flex;
    align-items: baseline;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.pyloherb-combo-detail__price strong {
    font-size: 28px;
    font-weight: 700;
    color: #111;
}

.pyloherb-combo-detail__price del {
    font-size: 16px;
    color: #9a9a9a;
}

.pyloherb-combo-detail__timer-wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
    padding: 14px 16px;
    background: #f4f2f8;
    border-radius: 12px;
}

.pyloherb-combo-detail__timer-label {
    font-size: 12px;
    font-weight: 700;
    color: #7a7a7a;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.pyloherb-combo-detail__countdown {
    display: flex;
    align-items: center;
    gap: 6px;
}

.pyloherb-combo-detail__tick {
    min-width: 48px;
    padding: 8px 9px;
    border-radius: 8px;
    background: #ece8e1;
    text-align: center;
    font-size: 15px;
    font-weight: 700;
    color: #222;
    line-height: 1.1;
    white-space: nowrap;
}

.pyloherb-combo-detail__tick small {
    display: block;
    margin-top: 2px;
    font-size: 10px;
    font-weight: 600;
    color: #7a7a7a;
    text-transform: none;
}

.pyloherb-combo-detail__colon {
    font-size: 14px;
    font-weight: 700;
    color: #999;
}

.pyloherb-combo-detail__desc {
    margin-bottom: 22px;
    font-size: 14px;
    line-height: 1.6;
    color: #666;
}

.pyloherb-combo-detail__section-title {
    margin: 0 0 12px;
    font-size: 18px;
    font-weight: 700;
    color: #111;
}

.pyloherb-combo-detail__items {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 22px;
}

.pyloherb-combo-detail__item {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    padding: 12px;
    border: 1px solid #e7e7e7;
    border-radius: 12px;
    background: #fff;
}

.pyloherb-combo-detail__item-img {
    width: 56px;
    height: 56px;
    border-radius: 10px;
    object-fit: contain;
    background: #f5f5f5;
}

.pyloherb-combo-detail__item-body {
    min-width: 0;
}

.pyloherb-combo-detail__item-name {
    display: block;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
    color: #1c1c1c;
    text-decoration: none;
}

.pyloherb-combo-detail__item-name:hover {
    color: var(--pylo-green, #1a3d2e);
}

.pyloherb-combo-detail__item-variant {
    margin: 4px 0 0;
    font-size: 12px;
    color: #777;
}

.pyloherb-combo-detail__item-qty {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 28px;
    padding: 0 8px;
    border-radius: 8px;
    background: #eaf2ff;
    color: #3558a0;
    font-size: 12px;
    font-weight: 700;
}

.pyloherb-combo-detail__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 320px;
    min-height: 48px;
    padding: 12px 20px;
    border: 0;
    border-radius: 10px;
    background: var(--primary, #1a3d2e);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.15s ease;
}

.pyloherb-combo-detail__cta:hover {
    background: var(--hov-primary, #0f261c);
    color: #fff;
}

@media (max-width: 991.98px) {
    .pyloherb-combo-detail__layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .pyloherb-combo-detail__media {
        aspect-ratio: 16 / 10;
    }
}

@media (max-width: 575.98px) {
    .pyloherb-combo-detail {
        padding: 16px 0 40px;
    }

    .pyloherb-combo-detail__title {
        font-size: 26px;
    }

    .pyloherb-combo-detail__price strong {
        font-size: 22px;
    }

    .pyloherb-combo-detail__timer-wrap {
        flex-direction: column;
        align-items: flex-start;
    }

    .pyloherb-combo-detail__cta {
        max-width: none;
    }
}

.pyloherb-offers-programs__head {
    text-align: center;
    margin-bottom: 32px;
}

.pyloherb-offers-programs__title {
    font-family: var(--pylo-serif);
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 700;
    color: var(--section-title-color, var(--pylo-green-dark));
    margin-bottom: 12px;
}

.pyloherb-offers-programs__line {
    display: block;
    width: 48px;
    height: 3px;
    background: var(--pylo-brown);
    margin: 0 auto;
}

.pyloherb-offers-programs__grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 20px;
    align-items: stretch;
}

.pyloherb-offers-programs__stack {
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-height: 100%;
}

.pyloherb-offers-program {
    position: relative;
    display: block;
    min-height: 220px;
    border-radius: var(--pylo-radius);
    overflow: hidden;
    background-color: var(--pylo-green);
    background-size: contain;
    background-position: center;
    text-decoration: none;
    color: inherit;
}

.pyloherb-offers-program--large {
    min-height: 460px;
}

.pyloherb-offers-program--solid {
    display: block;
    text-decoration: none;
}

.pyloherb-offers-program__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 38, 28, 0.15) 0%, rgba(15, 38, 28, 0.72) 100%);
}

.pyloherb-offers-program__content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 24px;
    z-index: 1;
    color: #fff;
}

.pyloherb-offers-program__content--dark {
    position: relative;
    color: var(--pylo-text);
    padding: 28px 24px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.pyloherb-offers-program__label {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 10px;
    opacity: 0.9;
}

.pyloherb-offers-program__label--dark {
    color: var(--pylo-brown);
    opacity: 1;
}

.pyloherb-offers-program__title {
    font-family: var(--pylo-serif);
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #fff;
}

.pyloherb-offers-program__title--dark {
    color: var(--pylo-green-dark);
}

.pyloherb-offers-program__desc {
    font-size: var(--pylo-section-desc-size, 15px);
    line-height: var(--pylo-section-desc-lh, 1.7);
    margin-bottom: var(--pylo-section-desc-gap, 1em);
    opacity: 0.92;
    max-width: 90%;
    text-align: left;
}

.pyloherb-offers-program__desc--dark {
    color: var(--pylo-muted);
    opacity: 1;
}

.pyloherb-offers-program__link {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: #fff;
}

.pyloherb-offers-program__actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.pyloherb-offers-program__secondary {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: var(--pylo-muted);
    text-decoration: none;
}

.pyloherb-btn--sm {
    padding: 10px 22px;
    font-size: 11px;
}

.pyloherb-btn--dark {
    background: var(--primary, var(--pylo-green));
    color: #fff;
    border: none;
}

.pyloherb-btn--dark:hover {
    background: var(--hov-primary, var(--pylo-green-dark));
    color: #fff;
}

@media (max-width: 991.98px) {
    .pyloherb-offers-flash__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pyloherb-offers-combo__list {
        grid-template-columns: 1fr;
    }

    /* Tablet hẹp / mobile lớn: xếp ảnh trên, info dưới (tránh ảnh kéo dài) */
    .pyloherb-offers-combo-pack {
        grid-template-columns: 1fr;
        gap: 14px;
        min-height: 0;
        align-items: stretch;
    }

    .pyloherb-offers-combo-pack__hero {
        width: 100%;
        min-height: 0;
        aspect-ratio: 1 / 1;
    }

    .pyloherb-offers-combo-pack__hero img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

    .pyloherb-offers-combo-pack__cta {
        align-self: flex-start;
    }

    .pyloherb-offers-programs__grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .pyloherb-offers-programs__stack {
        display: contents;
        /* xếp 3 card cùng 1 cột dọc, không còn cụm 2 card */
    }

    .pyloherb-offers-program,
    .pyloherb-offers-program--large {
        width: 100%;
        min-height: 200px;
        height: auto;
    }
}

@media (max-width: 575.98px) {
    .pyloherb-offers-flash__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .pyloherb-offers-combo-pack {
        grid-template-columns: 1fr;
        gap: 12px;
        min-height: 0;
        align-items: stretch;
        padding: 12px;
    }

    .pyloherb-offers-combo-pack__hero {
        width: 100%;
        min-height: 0;
        aspect-ratio: 1 / 1;
    }

    .pyloherb-offers-combo-pack__hero img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

    .pyloherb-offers-combo-pack__cta {
        align-self: flex-start;
    }

    .pyloherb-offers-combo-pack__name {
        font-size: 16px;
    }

    .pyloherb-offers-combo-pack__price strong {
        font-size: 16px;
    }

    .pyloherb-offers-combo-pack__countdown {
        flex-wrap: wrap;
    }

    .pyloherb-offers-flash__head {
        flex-direction: column;
        align-items: flex-start;
    }

    .pyloherb-offers-flash__timer-wrap {
        text-align: left;
    }
}

/* ── Cart & Checkout (PyLoHerb) ── */
body:has(.pyloherb-cart-page),
body:has(.pyloherb-checkout) {
    background: var(--pylo-cream) !important;
}

.pyloherb-cart-page,
.pyloherb-checkout {
    padding: var(--pylo-space-lg) 0;
}

.pyloherb-cart__hero,
.pyloherb-checkout__hero {
    max-width: 640px;
    margin-bottom: var(--pylo-space-md);
}

.pyloherb-cart__title,
.pyloherb-checkout__title {
    font-family: var(--pylo-serif);
    font-size: var(--pylo-fs-h1);
    font-weight: 700;
    color: var(--pylo-green-dark);
    margin-bottom: 8px;
}

.pyloherb-cart__subtitle,
.pyloherb-checkout__subtitle {
    font-size: var(--pylo-fs-base);
    line-height: var(--pylo-lh-body);
    color: var(--pylo-muted);
    margin: 0;
}

.pyloherb-cart__toolbar {
    margin-bottom: 16px;
}

.pyloherb-cart__select-all {
    font-size: 13px;
    color: var(--pylo-muted);
}

.pyloherb-cart-item {
    display: grid;
    grid-template-columns: auto 96px 1fr auto;
    gap: 16px;
    align-items: start;
    background: #fff;
    border-radius: var(--pylo-radius);
    padding: 20px;
    margin-bottom: 14px;
    box-shadow: 0 2px 12px rgba(15, 38, 28, 0.06);
    position: relative;
}

.pyloherb-cart-item__check {
    padding-top: 4px;
}

.pyloherb-cart-item__thumb {
    width: 96px;
    aspect-ratio: 1;
    border-radius: 10px;
    overflow: hidden;
    background: var(--pylo-beige-light);
    position: relative;
}

.pyloherb-cart-item__thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.pyloherb-cart-item__badges {
    position: absolute;
    top: 6px;
    left: 6px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 2;
}

.pyloherb-cart-item__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 80px;
    padding: 4px 8px;
    border-radius: 999px;
    font-size: 10px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: 0.02em;
    background: #fff;
    border: 1px solid #e4ddd1;
    color: #4d463b;
}

.pyloherb-cart-item__badge--soldout {
    background: #fef0ef;
    border-color: #f7c3bf;
    color: #b33a31;
}

.pyloherb-cart-item__badge--discount {
    background: #ebf8f0;
    border-color: #bfe5ce;
    color: #1f7a4f;
}

.pyloherb-cart-item__category {
    display: block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--pylo-brown);
    margin-bottom: 4px;
}

.pyloherb-cart-item__name {
    font-family: var(--pylo-serif);
    font-size: 17px;
    font-weight: 600;
    color: var(--pylo-text);
    margin: 0 0 4px;
    line-height: 1.35;
}

.pyloherb-cart-item__variant {
    font-size: 12px;
    color: var(--pylo-muted);
    margin: 0 0 8px;
}

.pyloherb-cart-item__combo-list {
    list-style: none;
    margin: 0 0 10px;
    padding: 0;
    font-size: 12px;
    color: var(--pylo-muted);
    line-height: 1.5;
}

.pyloherb-cart-item__combo-list li {
    margin: 0;
}

.pyloherb-cart-item--combo {
    border-color: rgba(26, 61, 46, 0.18);
    background: linear-gradient(180deg, #fbfaf7 0%, #fff 100%);
}

.pyloherb-cart-item__price-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.pyloherb-cart-item__price {
    font-size: 15px;
    font-weight: 700;
    color: var(--pylo-green-dark);
}

.pyloherb-cart-item__price-old {
    font-size: 13px;
    color: #999;
    text-decoration: line-through;
}

.pyloherb-cart-item__actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    min-width: 120px;
}

.pyloherb-cart-item__qty {
    display: inline-flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 999px;
    overflow: hidden;
    background: #fff;
}

.pyloherb-cart-item__qty-btn {
    width: 32px;
    height: 32px;
    border: 0;
    background: transparent;
    font-size: 16px;
    color: var(--pylo-text);
    cursor: pointer;
}

.pyloherb-cart-item__qty-input {
    width: 36px;
    border: 0;
    text-align: center;
    font-size: 14px;
    padding: 0;
    background: transparent;
}

.pyloherb-cart-item__line-total {
    font-size: 14px;
    font-weight: 700;
    color: var(--pylo-text);
}

.pyloherb-cart-item__remove {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    border: 0;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #ece7de;
    color: #999;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    z-index: 3;
}

.pyloherb-cart-item__remove:hover {
    color: #c62828;
    background: #fce8e8;
}

.pyloherb-cart__ship-banner {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
    padding: 14px 18px;
    background: #f5e8d3;
    border-radius: 10px;
    font-size: 13px;
    color: var(--pylo-green-dark);
}

.pyloherb-cart__coupon-alert {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    margin-bottom: 16px;
    background: #e8f4ec;
    border-radius: 10px;
    font-size: 13px;
}

.pyloherb-cart__coupon-alert button {
    border: 0;
    border-radius: 999px;
    padding: 8px 14px;
    background: var(--primary, var(--pylo-green));
    color: #fff;
    font-size: 12px;
    font-weight: 600;
}

.pyloherb-cart__coupon-alert button:hover {
    background: var(--hov-primary, var(--pylo-green-dark));
}

.pyloherb-cart__empty {
    text-align: center;
    padding: var(--pylo-space-lg);
    background: #fff;
    border-radius: var(--pylo-radius);
}

.pyloherb-order-summary {
    background: var(--pylo-beige-light);
    border-radius: var(--pylo-radius);
    padding: 24px;
    position: sticky;
    top: 100px;
}

.pyloherb-order-summary__title {
    font-family: var(--pylo-serif);
    font-size: 22px;
    font-weight: 700;
    color: var(--pylo-green-dark);
    margin: 0;
}

.pyloherb-order-summary__head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 20px;
}

.pyloherb-order-summary__badge {
    font-size: 11px;
    padding: 4px 8px;
    background: #fff3cd;
    border-radius: 4px;
    color: #856404;
}

.pyloherb-order-summary__products {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid #ddd8cf;
}

.pyloherb-order-summary__product {
    display: grid;
    grid-template-columns: 56px 1fr auto;
    gap: 10px;
    align-items: start;
}

.pyloherb-order-summary__product img {
    width: 56px;
    height: 56px;
    object-fit: contain;
    border-radius: 8px;
}

.pyloherb-order-summary__product-name {
    font-size: 13px;
    font-weight: 600;
    margin: 0 0 2px;
    line-height: 1.35;
}

.pyloherb-order-summary__product-meta {
    font-size: 11px;
    color: var(--pylo-muted);
    margin: 0;
}

.pyloherb-order-summary__product-price {
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.pyloherb-order-summary__coupon {
    margin-bottom: 16px;
}

.pyloherb-order-summary__coupon-label {
    display: block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--pylo-muted);
    margin-bottom: 8px;
}

.pyloherb-order-summary__coupon-row {
    display: flex;
    gap: 0;
    background: #fff;
    border-radius: 999px;
    border: 1px solid #ddd;
    overflow: hidden;
}

.pyloherb-order-summary__coupon-input {
    flex: 1;
    border: 0;
    padding: 10px 14px;
    font-size: 13px;
    background: transparent;
    min-width: 0;
}

.pyloherb-order-summary__coupon-apply {
    border: 0;
    background: transparent;
    padding: 10px 16px;
    font-size: 12px;
    font-weight: 700;
    color: var(--pylo-green-dark);
    white-space: nowrap;
    cursor: pointer;
}

.pyloherb-order-summary__coupon-hint {
    display: block;
    margin-top: 6px;
    font-size: 11px;
    color: var(--pylo-muted);
}

/* Club point redeem panel — modern compact checkout widget */
.pyloherb-club-point {
    --cp-bg: #ffffff;
    --cp-line: #ebe7df;
    --cp-ink: #1a1a1a;
    --cp-muted: #7a7a7a;
    --cp-brand: var(--primary, var(--pylo-green, #1a3d2e));
    --cp-soft: #f4f6f4;
    margin-bottom: 16px;
    padding: 14px;
    background: var(--cp-bg);
    border-radius: 14px;
    border: 1px solid var(--cp-line);
    font-family: var(--pylo-sans, "Segoe UI", system-ui, -apple-system, sans-serif);
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}

.pyloherb-club-point.is-applied {
    border-color: color-mix(in srgb, var(--cp-brand) 28%, var(--cp-line));
    background: linear-gradient(180deg, #fff 0%, #f7faf7 100%);
}

.pyloherb-club-point__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
}

.pyloherb-club-point__title-wrap {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.pyloherb-club-point__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: var(--cp-soft);
    color: var(--cp-brand);
    flex-shrink: 0;
}

.pyloherb-club-point__heading {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.pyloherb-club-point__title {
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--cp-ink);
    line-height: 1.2;
}

.pyloherb-club-point__balance-inline {
    font-size: 12px;
    color: var(--cp-muted);
    line-height: 1.2;
}

.pyloherb-club-point__balance-inline strong {
    color: var(--cp-brand);
    font-weight: 700;
}

.pyloherb-club-point__status {
    flex-shrink: 0;
    padding: 4px 8px;
    border-radius: 6px;
    background: rgba(26, 61, 46, 0.1);
    color: var(--cp-brand);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.pyloherb-club-point__hint {
    margin: 0;
    font-size: 12px;
    line-height: 1.45;
    color: var(--cp-muted);
}

.pyloherb-club-point__toggle {
    display: flex !important;
    align-items: center;
    gap: 10px;
    margin: 0 0 14px;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    cursor: pointer;
}

.pyloherb-club-point__toggle-text {
    font-size: 13px;
    font-weight: 500;
    color: var(--cp-ink);
    line-height: 1.35;
}

.pyloherb-club-point__controls {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: 2px;
}

.pyloherb-club-point__slider-wrap {
    padding: 0;
}

.pyloherb-club-point__slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 4px;
    border-radius: 999px;
    background: #e6e6e6;
    outline: none;
    cursor: pointer;
}

.pyloherb-club-point__slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--cp-brand);
    border: 2px solid #fff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

.pyloherb-club-point__slider::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--cp-brand);
    border: 2px solid #fff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

.pyloherb-club-point__range-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 6px;
    font-size: 11px;
    color: var(--cp-muted);
    font-variant-numeric: tabular-nums;
}

.pyloherb-club-point__value-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
    align-items: stretch;
}

.pyloherb-club-point__input-group {
    display: flex;
    align-items: center;
    min-width: 0;
    background: var(--cp-soft);
    border: 0;
    border-radius: 10px;
    overflow: hidden;
}

.pyloherb-club-point__input {
    flex: 1 1 auto;
    width: 100%;
    min-width: 0;
    border: 0;
    background: transparent;
    padding: 11px 4px 11px 12px;
    font-size: 15px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    color: var(--cp-ink);
    outline: none;
    font-family: inherit;
}

.pyloherb-club-point__unit {
    padding: 0 12px 0 4px;
    font-size: 12px;
    font-weight: 500;
    color: var(--cp-muted);
    white-space: nowrap;
}

.pyloherb-club-point__preview {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    min-width: 88px;
    padding: 0 12px;
    background: #fff4f2;
    border-radius: 10px;
}

.pyloherb-club-point__preview-label {
    font-size: 13px;
    font-weight: 700;
    color: #c23b2e;
}

.pyloherb-club-point__preview-amount {
    font-size: 14px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    color: #c23b2e;
    line-height: 1.2;
    white-space: nowrap;
}

.pyloherb-club-point__actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
}

.pyloherb-club-point__actions:has(.pyloherb-club-point__btn--remove) {
    grid-template-columns: 1fr 1fr;
}

.pyloherb-club-point__btn {
    appearance: none;
    border: 0;
    cursor: pointer;
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    border-radius: 10px;
    padding: 12px 14px;
    width: 100%;
    transition: background 0.15s ease, color 0.15s ease, opacity 0.15s ease;
}

.pyloherb-club-point__btn--apply {
    background: var(--primary, var(--cp-brand));
    color: #fff;
}

.pyloherb-club-point__btn--apply:hover {
    background: var(--hov-primary, var(--cp-brand));
    opacity: 1;
}

.pyloherb-club-point__btn--remove {
    background: #f5f5f5;
    color: #5c5c5c;
}

.pyloherb-club-point__btn--remove:hover {
    background: #ececec;
}

/* Legacy class hooks kept for any leftover references */
.pyloherb-order-summary__club-point {
    margin-bottom: 16px;
}

.pyloherb-order-summary__totals {
    background: #ebe6dc;
    border-radius: 10px;
    padding: 16px;
    margin-bottom: 18px;
}

.pyloherb-order-summary__row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: 13px;
    color: var(--pylo-muted);
    padding: 4px 0;
}

.pyloherb-order-summary__row--discount span:last-child {
    color: #c62828;
}

.pyloherb-order-summary__row--total {
    margin-top: 8px;
    padding-top: 10px;
    border-top: 1px solid #d5cfc4;
    font-size: clamp(13px, 2vw, 16px);
    font-weight: 700;
    color: var(--pylo-green-dark);
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 6px 10px;
}

.pyloherb-order-summary__row--total>span:first-child {
    font-size: clamp(12px, 1.8vw, 15px);
    flex: 1 1 auto;
    min-width: 0;
    word-break: break-word;
}

.pyloherb-order-summary__row--total .pyloherb-order-summary__total-amount,
.pyloherb-order-summary__row--total>span:last-child {
    font-size: clamp(14px, 2.2vw, 20px);
    flex: 0 0 auto;
    margin-left: auto;
    white-space: nowrap;
    text-align: right;
}

.pyloherb-btn--checkout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 20px;
    border: 0;
    border-radius: 999px;
    background: var(--primary, var(--pylo-green));
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s;
}

.pyloherb-btn--checkout:hover:not(:disabled) {
    background: var(--hov-primary, var(--pylo-green-dark));
    color: #fff;
}

.pyloherb-btn--checkout:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.pyloherb-order-summary__trust {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 16px;
}

.pyloherb-order-summary__trust div {
    background: #fff;
    border-radius: 8px;
    padding: 10px;
    font-size: 11px;
    text-align: center;
    line-height: 1.4;
}

/* Checkout steps */
.pyloherb-checkout__step {
    background: #fff;
    border-radius: var(--pylo-radius);
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: 0 2px 12px rgba(15, 38, 28, 0.05);
}

.pyloherb-checkout__step-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.pyloherb-checkout__step-num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--secondary-base, var(--pylo-brown, #9a7b4f));
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pyloherb-checkout__step-num.is-muted {
    background: transparent;
    color: var(--pylo-muted);
    font-size: 18px;
}

.pyloherb-checkout__step-title {
    font-family: var(--pylo-serif);
    font-size: 20px;
    font-weight: 700;
    margin: 0;
    flex: 1;
    color: var(--secondary-base, var(--pylo-brown, #9a7b4f));
}

.pyloherb-checkout__step-icon {
    flex-shrink: 0;
}

.pyloherb-checkout__step--delivery:has(#delivery_info:empty) {
    display: none;
}

.pyloherb-checkout__sidebar {
    position: sticky;
    top: 100px;
}

.pyloherb-checkout__sidebar-actions {
    background: #fff;
    border-radius: var(--pylo-radius);
    padding: 20px;
    margin-top: 16px;
    box-shadow: 0 2px 12px rgba(15, 38, 28, 0.05);
}

.pyloherb-checkout__agree {
    font-size: 12px;
    line-height: 1.5;
    color: var(--pylo-muted);
    margin-bottom: 14px;
    display: block;
}

.pyloherb-checkout__agree a {
    color: var(--pylo-green-dark);
    font-weight: 600;
}

.pyloherb-checkout__policy-note {
    font-size: 11px;
    color: var(--pylo-muted);
    text-align: center;
    margin: 12px 0 0;
    line-height: 1.5;
}

/* Checkout form fields */
.pyloherb-checkout .form-control,
.pyloherb-checkout .bootstrap-select .dropdown-toggle,
.pyloherb-checkout textarea.form-control {
    border-radius: 8px !important;
    border-color: #ddd !important;
    font-size: 14px;
    min-height: 44px;
}

.pyloherb-checkout #shipping_info label,
.pyloherb-checkout #shipping_info .col-md-2 label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--pylo-muted);
}

.pyloherb-checkout #shipping_info .row {
    margin-bottom: 4px;
}

.pyloherb-checkout #payment_info>h3 {
    font-family: var(--pylo-serif);
    font-size: 18px;
    margin-bottom: 16px;
}

.pyloherb-checkout #payment_info .aiz-megabox {
    margin-bottom: 12px;
}

.pyloherb-checkout #payment_info .aiz-megabox-elem {
    border: 1px solid #e0dcd4 !important;
    border-radius: 12px !important;
    padding: 16px 18px !important;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.pyloherb-checkout #payment_info .aiz-megabox>input:checked~.aiz-megabox-elem {
    border-color: var(--pylo-green-dark) !important;
    box-shadow: 0 0 0 1px var(--pylo-green-dark);
}

.pyloherb-checkout #payment_info .aiz-megabox-elem .fs-14 {
    font-weight: 600;
    color: var(--pylo-text);
}

.pyloherb-checkout #payment_info textarea[name="additional_info"] {
    border-radius: 10px;
    min-height: 100px;
}

.pyloherb-checkout #delivery_info .card,
.pyloherb-checkout #shipping_info .card {
    border: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
}

@media (max-width: 991.98px) {
    .pyloherb-cart-item {
        grid-template-columns: auto 72px 1fr;
        gap: 12px;
    }

    .pyloherb-cart-item__thumb {
        width: 72px;
        border-radius: 8px;
    }

    .pyloherb-cart-item__body {
        min-width: 0;
    }

    .pyloherb-cart-item__actions {
        grid-column: 2 / -1;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        min-width: 0;
        gap: 8px;
    }

    .pyloherb-cart-item__remove {
        position: static;
        top: auto;
        right: auto;
        flex-shrink: 0;
        box-shadow: none;
    }

    .pyloherb-order-summary,
    .pyloherb-checkout__sidebar {
        position: static;
    }
}

@media (max-width: 767.98px) {
    .pyloherb-cart-page {
        padding: var(--pylo-space-xs) 0 var(--pylo-space-md);
    }

    .pyloherb-cart--has-sticky {
        padding-bottom: 96px;
    }

    .pyloherb-cart--modern .pyloherb-cart__hero {
        margin-bottom: 8px;
    }

    .pyloherb-cart--modern .pyloherb-cart__title {
        font-size: var(--pylo-fs-h1);
        margin-bottom: 0;
    }

    .pyloherb-cart--modern .pyloherb-cart__subtitle {
        display: none;
    }

    .pyloherb-cart--modern .pyloherb-cart__meta {
        margin-bottom: 12px;
        gap: 8px;
    }

    .pyloherb-cart--modern .pyloherb-cart__meta-pill,
    .pyloherb-cart--modern .pyloherb-cart__continue-link {
        font-size: 11px;
        padding: 7px 10px;
    }

    .pyloherb-cart--modern .pyloherb-cart__toolbar {
        margin-bottom: 10px;
        padding: 10px 12px;
    }

    .pyloherb-cart--modern .pyloherb-cart-item {
        margin-bottom: 10px;
        padding: 12px;
        border-radius: 12px;
        box-shadow: 0 4px 14px rgba(15, 38, 28, 0.05);
    }

    .pyloherb-cart--modern .pyloherb-cart-item:hover {
        transform: none;
        box-shadow: 0 4px 14px rgba(15, 38, 28, 0.05);
    }

    .pyloherb-cart--modern .pyloherb-cart-item__remove {
        top: auto;
        right: auto;
        width: 32px;
        height: 32px;
        font-size: 20px;
        box-shadow: none;
    }

    .pyloherb-cart__coupon-alert {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        padding: 12px;
        margin-bottom: 12px;
    }

    .pyloherb-cart__coupon-alert button {
        width: 100%;
    }

    .pyloherb-order-summary--cart-modern .pyloherb-order-summary__title {
        font-size: 18px;
    }

    .pyloherb-order-summary--cart-modern .pyloherb-order-summary__row--total {
        font-size: clamp(12px, 3.4vw, 15px);
        gap: 6px 10px;
        flex-wrap: wrap;
    }

    .pyloherb-order-summary--cart-modern .pyloherb-order-summary__row--total>span:first-child {
        font-size: clamp(11px, 3vw, 14px);
        white-space: normal;
        word-break: break-word;
    }

    .pyloherb-order-summary--cart-modern .pyloherb-order-summary__total-amount,
    .pyloherb-order-summary--cart-modern .pyloherb-order-summary__row--total>span:last-child {
        font-size: clamp(13px, 3.8vw, 17px);
        white-space: nowrap;
    }

    /* Keep summary checkout visible as primary CTA; sticky is secondary shortcut */
    .pyloherb-order-summary--cart-modern .pyloherb-btn--checkout-desktop {
        display: inline-flex;
        width: 100%;
    }

    .pyloherb-cart__sticky-checkout {
        display: block;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1080;
        padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
        background: rgba(255, 255, 255, 0.98);
        border-top: 1px solid #ebe6dc;
        box-shadow: 0 -8px 24px rgba(26, 61, 46, 0.08);
        backdrop-filter: blur(8px);
    }

    .pyloherb-cart__sticky-checkout-inner {
        display: flex;
        align-items: center;
        gap: 8px;
        max-width: 720px;
        margin: 0 auto;
        flex-wrap: nowrap;
        min-width: 0;
    }

    .pyloherb-cart__sticky-checkout-info {
        flex: 1 1 auto;
        min-width: 0;
        display: flex;
        flex-direction: column;
        gap: 2px;
        overflow: hidden;
    }

    .pyloherb-cart__sticky-checkout-info span {
        font-size: clamp(10px, 2.8vw, 12px);
        color: #6b7a6e;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
    }

    .pyloherb-cart__sticky-checkout-info strong {
        font-size: clamp(12px, 3.6vw, 16px);
        font-weight: 700;
        color: #1a3d2e;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        line-height: 1.2;
    }

    .pyloherb-cart__sticky-checkout-btn {
        flex: 0 0 auto;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 44px;
        max-width: 46%;
        padding: 10px 12px;
        border-radius: 12px;
        background: var(--primary, var(--pylo-green));
        color: #fff;
        font-size: 12px;
        font-weight: 700;
        text-decoration: none;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .pyloherb-cart__sticky-checkout-btn:hover {
        background: var(--hov-primary, var(--pylo-green-dark));
        color: #fff;
    }
}

@media (max-width: 575.98px) {
    .pyloherb-cart-item {
        grid-template-columns: auto 64px minmax(0, 1fr);
        padding: 12px;
        gap: 10px;
    }

    .pyloherb-cart-item__check {
        position: static;
        padding-top: 22px;
    }

    .pyloherb-cart-item__thumb {
        width: 64px;
        max-width: 64px;
        min-width: 64px;
    }

    .pyloherb-cart-item__name {
        font-size: 14px;
        line-height: 1.3;
    }

    .pyloherb-cart-item__price {
        font-size: 13px;
    }

    .pyloherb-cart-item__line-total {
        font-size: 13px;
        white-space: nowrap;
    }

    .pyloherb-cart-item__price-row {
        flex-wrap: nowrap;
    }

    .pyloherb-cart-item__price,
    .pyloherb-cart-item__price-old {
        white-space: nowrap;
    }

    .pyloherb-cart-item__badges {
        top: 4px;
        left: 4px;
    }

    .pyloherb-cart-item__actions {
        grid-column: 1 / -1;
        flex-wrap: wrap;
    }

    .pyloherb-cart-item__qty {
        order: 1;
    }

    .pyloherb-cart-item__line-total {
        order: 2;
        margin-left: auto;
    }

    .pyloherb-cart-item__remove {
        order: 3;
    }

    .pyloherb-order-summary__trust {
        grid-template-columns: 1fr;
    }
}

/* Sticky checkout hidden on desktop by default */
.pyloherb-cart__sticky-checkout {
    display: none;
}

@media (min-width: 768px) {
    .pyloherb-cart--has-sticky {
        padding-bottom: 0;
    }

    .pyloherb-cart__sticky-checkout {
        display: none !important;
    }

    .pyloherb-order-summary--cart-modern .pyloherb-btn--checkout-desktop {
        display: inline-flex;
    }
}

.pyloherb-checkout__policy-note {
    margin-top: 12px;
}

.vietqr-payment-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding: 16px;
    border: 1px solid rgba(23, 53, 31, 0.12);
    border-radius: 8px;
    background: #faf9f6;
    text-align: center;
}

.vietqr-payment-box__title {
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 12px;
    color: var(--pylo-green, #17351f);
}

.vietqr-payment-box__img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto 12px;
    border-radius: 6px;
}

.vietqr-payment-box__amount {
    font-size: 14px;
    margin-bottom: 6px;
}

.vietqr-payment-box__download {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(23, 53, 31, 0.22);
    background: #fff;
    color: var(--pylo-green-dark);
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

.vietqr-payment-box__download:hover {
    border-color: var(--pylo-green-dark);
    background: #f3efe8;
    color: var(--pylo-green-dark);
}

.vietqr-payment-box__hint {
    font-size: 12px;
}

.vietqr-bank-block ul {
    padding-left: 1.1rem;
}

/* ── Checkout Figma layout (light theme) ── */
body:has(.pyloherb-checkout--figma),
.aiz-main-wrapper:has(.pyloherb-checkout--figma) {
    background: #f7f4ef !important;
}

.pyloherb-checkout--figma {
    padding: var(--pylo-space-lg) 0;
    color: var(--pylo-text);
}

.pyloherb-checkout--figma .pyloherb-checkout__hero {
    max-width: 100%;
    margin-bottom: var(--pylo-space-md);
}

.pyloherb-checkout--figma .pyloherb-checkout__title {
    color: var(--pylo-green-dark);
    font-size: var(--pylo-fs-h1);
    margin-bottom: 8px;
}

.pyloherb-checkout--figma .pyloherb-checkout__subtitle {
    color: var(--pylo-muted);
    font-size: var(--pylo-fs-base);
    max-width: 560px;
}

.pyloherb-checkout__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.75fr) minmax(300px, 400px);
    gap: var(--pylo-space-lg);
    align-items: start;
}

.pyloherb-checkout__block {
    margin-bottom: var(--pylo-space-md);
}

.pyloherb-checkout__block-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: var(--pylo-space-sm);
}

.pyloherb-checkout__block-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--secondary-base, var(--pylo-brown, #9a7b4f));
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    flex-shrink: 0;
    line-height: 1;
}

.pyloherb-checkout__block-title {
    font-family: var(--pylo-serif);
    font-size: 20px;
    font-weight: 600;
    color: var(--secondary-base, var(--pylo-brown, #9a7b4f));
    margin: 0;
}

.pyloherb-field-label {
    display: block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #6b6b6b;
    margin-bottom: 8px;
}

.pyloherb-field-input,
.pyloherb-checkout--figma .form-control,
.pyloherb-checkout--figma .bootstrap-select .dropdown-toggle {
    background: #fff !important;
    border: 1px solid #e0ddd6 !important;
    border-radius: 6px !important;
    color: var(--pylo-text) !important;
    padding: 13px 14px !important;
    font-size: 14px !important;
    box-shadow: none !important;
    min-height: 48px;
}

/* intl-tel-input: keep dial-code (+84) from covering typed digits */
.pyloherb-checkout .iti,
.pyloherb-checkout--figma .iti {
    display: block;
    width: 100%;
}

.pyloherb-checkout .iti__flag-container,
.pyloherb-checkout--figma .iti__flag-container {
    z-index: 2;
}

.pyloherb-checkout .iti--separate-dial-code input.pyloherb-field-input,
.pyloherb-checkout .iti--separate-dial-code input.form-control,
.pyloherb-checkout .iti--allow-dropdown input.pyloherb-field-input,
.pyloherb-checkout .iti--allow-dropdown input.form-control,
.pyloherb-checkout--figma .iti--separate-dial-code input.form-control,
.pyloherb-checkout--figma .iti--allow-dropdown input.form-control {
    padding-left: 98px !important;
    padding-right: 14px !important;
    width: 100% !important;
}

.pyloherb-checkout .iti--separate-dial-code .iti__selected-flag,
.pyloherb-checkout--figma .iti--separate-dial-code .iti__selected-flag {
    background: transparent;
    border-right: 1px solid #e0ddd6;
}

.pyloherb-checkout--figma .form-control::placeholder {
    color: #b0aca4;
}

.pyloherb-checkout--figma .form-control:focus,
.pyloherb-checkout--figma .bootstrap-select .dropdown-toggle:focus {
    border-color: #9a7b4f !important;
    outline: none !important;
}

.pyloherb-checkout-fields__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 24px;
}

.pyloherb-checkout-field--full {
    grid-column: 1 / -1;
}

.pyloherb-shipping-figma__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 12px 18px;
    margin-bottom: 16px;
}

.pyloherb-shipping-figma__link {
    border: 0;
    background: transparent;
    padding: 0;
    font-size: 12px;
    font-weight: 600;
    color: var(--pylo-brown);
    text-decoration: underline;
    cursor: pointer;
}

.pyloherb-shipping-figma__link--add {
    text-decoration: none;
    color: var(--pylo-green-dark);
}

.pyloherb-shipping-figma__alert {
    margin-bottom: 14px;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 13px;
}

.pyloherb-shipping-figma--guest .alert-danger.pyloherb-shipping-figma__alert,
.pyloherb-shipping-figma .alert-danger.pyloherb-shipping-figma__alert {
    background: #fdecea;
    color: #8a1f11;
    border: 1px solid #f5c2c0;
}

.pyloherb-shipping-figma--guest .pyloherb-field-input.is-invalid {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 0.15rem rgba(220, 53, 69, 0.15);
}

.pyloherb-shipping-figma--guest .invalid-feedback {
    font-size: 12px;
    color: #c0392b;
    margin-top: 6px;
}

.pyloherb-shipping-figma__alert--warn {
    background: #fff8e6;
    color: #8a6d3b;
    border: 1px solid #f0e4c8;
}

.pyloherb-field-input--readonly {
    background: #fff !important;
    color: var(--pylo-text) !important;
    cursor: default;
}

.pyloherb-checkout-field--aux .pyloherb-field-label {
    font-size: 9px;
    letter-spacing: 0.08em;
}

.pyloherb-checkout--figma #delivery_info {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #ebe6dc;
}

.pyloherb-checkout--figma #delivery_info:empty {
    display: none;
    margin: 0;
    padding: 0;
    border: 0;
}

.pyloherb-checkout--figma #delivery_info .card {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

.pyloherb-checkout--figma #delivery_info .card-header {
    background: transparent !important;
    border: 0 !important;
    padding: 0 0 10px !important;
    color: #6b6b6b;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.pyloherb-checkout--figma #delivery_info .card-body {
    padding: 0 !important;
}

.pyloherb-checkout--figma #delivery_info .aiz-megabox-elem {
    background: #fff !important;
    border: 1px solid #e0ddd6 !important;
    border-radius: 8px !important;
    color: var(--pylo-text);
}

/* Compact delivery type — own row under products, width fits label */
.pyloherb-delivery-type {
    flex: 0 0 100%;
    max-width: 100%;
}

.pyloherb-delivery-type__options {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.pyloherb-delivery-type__card {
    display: inline-flex !important;
    width: auto;
    max-width: 100%;
    min-height: 0;
    padding: 10px 14px !important;
    align-items: center !important;
    white-space: nowrap;
}

.pyloherb-delivery-type__label {
    white-space: nowrap;
    line-height: 1.3;
    font-size: 14px;
}

.pyloherb-delivery-type__card .aiz-rounded-check {
    margin-top: 0 !important;
}

.pyloherb-checkout--figma #delivery_info .aiz-megabox>input:checked~.aiz-megabox-elem {
    border-color: var(--pylo-green, #1a3d2e) !important;
}

.pyloherb-checkout-payments {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pyloherb-pay-card {
    display: block;
    margin: 0;
    cursor: pointer;
}

.pyloherb-pay-card input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.pyloherb-pay-card__inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 14px;
    align-items: center;
    padding: 16px 18px;
    background: #fff;
    border: 1px solid #e0ddd6;
    border-radius: 10px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.pyloherb-pay-card__radio {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid #c5c0b8;
    position: relative;
    flex-shrink: 0;
}

.pyloherb-pay-card__radio::after {
    content: "";
    position: absolute;
    inset: 3px;
    border-radius: 50%;
    background: #0f261c;
    transform: scale(0);
    transition: transform 0.15s;
}

.pyloherb-pay-card input:checked+.pyloherb-pay-card__inner,
.pyloherb-pay-card.is-selected .pyloherb-pay-card__inner {
    border-color: #0f261c;
    box-shadow: 0 0 0 1px rgba(15, 38, 28, 0.06);
}

.pyloherb-pay-card input:checked+.pyloherb-pay-card__inner .pyloherb-pay-card__radio,
.pyloherb-pay-card.is-selected .pyloherb-pay-card__radio {
    border-color: #0f261c;
}

.pyloherb-pay-card input:checked+.pyloherb-pay-card__inner .pyloherb-pay-card__radio::after,
.pyloherb-pay-card.is-selected .pyloherb-pay-card__radio::after {
    transform: scale(1);
}

.pyloherb-pay-card__title {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--pylo-green-dark);
    margin-bottom: 3px;
}

.pyloherb-pay-card__desc {
    display: block;
    font-size: 12px;
    color: var(--pylo-muted);
    line-height: 1.45;
}

.pyloherb-pay-card__icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pyloherb-pay-card__icon img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.pyloherb-pay-card__icon--qr {
    color: var(--pylo-green-dark);
}

.pyloherb-qr-panel {
    margin-top: 16px;
    padding: 24px 20px;
    background: #fff;
    border: 1px solid #e0ddd6;
    border-radius: 10px;
}

#manual_payment_description {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    text-align: center;
}

.pyloherb-qr-panel__center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 0 auto;
}

.pyloherb-qr-panel .vietqr-payment-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    padding: 20px;
    background: #faf9f6;
}

.pyloherb-qr-panel .vietqr-payment-box__img {
    width: 260px;
    max-width: 100%;
    height: auto;
    margin-left: auto;
    margin-right: auto;
}

.pyloherb-qr-panel__desc {
    font-size: 13px;
    color: var(--pylo-muted);
    margin-bottom: 16px;
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
}

.pyloherb-qr-panel .row,
.pyloherb-qr-panel .form-group.row {
    width: 100%;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.pyloherb-checkout-wallet {
    margin-top: 14px;
    padding: 14px 16px;
    border-radius: 8px;
    background: #fff;
    border: 1px solid #e0ddd6;
    color: var(--pylo-text);
}

.pyloherb-checkout__aside {
    position: sticky;
    top: 100px;
}

.pyloherb-order-summary--checkout-card {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 24px rgba(15, 38, 28, 0.08);
    border: 1px solid rgba(224, 221, 214, 0.6);
}

.pyloherb-order-summary--checkout-card .pyloherb-order-summary__title {
    font-family: var(--pylo-serif);
    font-size: 22px;
    font-weight: 700;
    color: var(--pylo-green-dark);
}

.pyloherb-order-summary--checkout-card .pyloherb-order-summary__product-name {
    font-family: var(--pylo-serif);
    font-size: 14px;
    font-weight: 600;
    color: var(--pylo-green-dark);
}

.pyloherb-order-summary--checkout-card .pyloherb-order-summary__product img {
    width: 64px;
    height: 64px;
    border-radius: 8px;
}

.pyloherb-order-summary--checkout-card .pyloherb-order-summary__coupon-row {
    border: 1px solid #e0ddd6;
    border-radius: 8px;
    background: #faf9f6;
}

.pyloherb-order-summary--checkout-card .pyloherb-club-point {
    background: #fff;
    border-color: #ebe7df;
}

.pyloherb-order-summary__totals--beige {
    background: #f2ebe1;
    border-radius: 8px;
}

.pyloherb-order-summary--checkout-card .pyloherb-order-summary__row--total {
    font-family: var(--pylo-serif);
    font-size: clamp(15px, 2vw, 18px);
    color: var(--pylo-green-dark);
    border-top-color: #ddd5c8;
}

.pyloherb-order-summary__total-amount {
    font-family: var(--pylo-serif);
    font-size: clamp(16px, 2.4vw, 24px);
    font-weight: 700;
    color: var(--pylo-green-dark);
}

.pyloherb-btn--checkout-figma {
    border-radius: 8px !important;
    padding: 16px 20px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase;
    background: var(--primary, #0f261c) !important;
}

.pyloherb-btn--checkout-figma:hover {
    background: var(--hov-primary, #1a3d2e) !important;
}

.pyloherb-checkout__policy-note--in-card {
    margin: 14px 0 0;
    font-size: 11px;
    line-height: 1.55;
    color: #8a8a8a;
    text-align: center;
}

.pyloherb-checkout--figma #pyloherb-manual-payment-fields {
    margin-top: 14px;
    color: var(--pylo-text);
}

@media (max-width: 991.98px) {
    .pyloherb-checkout__grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .pyloherb-checkout__aside {
        position: static;
    }

    .pyloherb-checkout-field--half {
        max-width: 100%;
    }

    .pyloherb-checkout-fields__grid {
        grid-template-columns: 1fr;
    }
}

/* ── Checkout modern refresh ── */
.pyloherb-checkout--modern {
    --checkout-card-bg: #ffffff;
    --checkout-card-border: rgba(15, 38, 28, 0.08);
    --checkout-card-shadow: 0 8px 32px rgba(15, 38, 28, 0.06);
    --checkout-radius: 16px;
}

body:has(.pyloherb-checkout--modern),
.aiz-main-wrapper:has(.pyloherb-checkout--modern) {
    background: linear-gradient(180deg, #f9f6f1 0%, #f3efe8 100%) !important;
}

.pyloherb-checkout--modern .pyloherb-checkout__container {
    width: 100%;
}

.pyloherb-checkout__topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}

.pyloherb-checkout__back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--pylo-green-dark);
    text-decoration: none;
    transition: color 0.2s, gap 0.2s;
}

.pyloherb-checkout__back:hover {
    color: var(--pylo-brown);
    gap: 10px;
}

.pyloherb-checkout__item-count {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--pylo-muted);
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid var(--checkout-card-border);
    border-radius: 999px;
    padding: 6px 12px;
}

.pyloherb-checkout--modern .pyloherb-checkout__hero {
    margin-bottom: 28px;
}

.pyloherb-checkout--modern .pyloherb-checkout__title {
    letter-spacing: -0.02em;
    line-height: 1.15;
}

.pyloherb-checkout__trust {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
    list-style: none;
    margin: 18px 0 0;
    padding: 0;
}

.pyloherb-checkout__trust li {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #4a5c52;
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid var(--checkout-card-border);
    border-radius: 999px;
    padding: 7px 12px;
}

.pyloherb-checkout__progress {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    padding: 0 4px;
}

.pyloherb-checkout__progress-step {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #9a9a9a;
    font-size: 13px;
    font-weight: 600;
}

.pyloherb-checkout__progress-step.is-active {
    color: var(--secondary-base, var(--pylo-brown, #9a7b4f));
}

.pyloherb-checkout__progress-dot {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #e8e4dc;
    color: #6b6b6b;
    font-size: 12px;
    font-weight: 700;
    transition: background 0.2s, color 0.2s, transform 0.2s;
}

.pyloherb-checkout__progress-step.is-active .pyloherb-checkout__progress-dot {
    background: var(--secondary-base, var(--pylo-brown, #9a7b4f));
    color: #fff;
    transform: scale(1.05);
}

.pyloherb-checkout__progress-line {
    flex: 1;
    height: 2px;
    max-width: 80px;
    background: linear-gradient(90deg,
            var(--secondary-base, var(--pylo-brown, #9a7b4f)),
            color-mix(in srgb, var(--secondary-base, #9a7b4f) 25%, #c5c0b8));
    border-radius: 2px;
}

.pyloherb-checkout__progress-label {
    white-space: nowrap;
}

.pyloherb-checkout__card {
    background: var(--checkout-card-bg);
    border: 1px solid var(--checkout-card-border);
    border-radius: var(--checkout-radius);
    box-shadow: var(--checkout-card-shadow);
    padding: 28px;
    margin-bottom: 20px;
}

.pyloherb-checkout--modern .pyloherb-checkout__block {
    margin-bottom: 0;
}

.pyloherb-checkout--modern .pyloherb-checkout__block-head {
    margin-bottom: 24px;
    padding-bottom: 18px;
    border-bottom: 1px solid #f0ece6;
}

.pyloherb-checkout__block-desc {
    margin: 4px 0 0;
    font-size: 13px;
    line-height: 1.5;
    color: var(--pylo-muted);
    font-weight: 400;
}

.pyloherb-checkout--modern .pyloherb-checkout__block-num {
    width: 36px;
    height: 36px;
    font-size: 15px;
    background: var(--secondary-base, var(--pylo-brown, #9a7b4f));
    box-shadow: 0 4px 12px color-mix(in srgb, var(--secondary-base, #9a7b4f) 28%, transparent);
}

.pyloherb-checkout--modern .pyloherb-field-input,
.pyloherb-checkout--modern .form-control,
.pyloherb-checkout--modern .bootstrap-select .dropdown-toggle {
    border-radius: 10px !important;
    border-color: #e8e4dc !important;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.pyloherb-checkout--modern .iti--separate-dial-code input.pyloherb-field-input,
.pyloherb-checkout--modern .iti--separate-dial-code input.form-control,
.pyloherb-checkout--modern .iti--allow-dropdown input.pyloherb-field-input,
.pyloherb-checkout--modern .iti--allow-dropdown input.form-control {
    padding-left: 98px !important;
}

.pyloherb-checkout--modern .form-control:focus,
.pyloherb-checkout--modern .bootstrap-select .dropdown-toggle:focus {
    border-color: #1a3d2e !important;
    box-shadow: 0 0 0 3px rgba(26, 61, 46, 0.12) !important;
}

.pyloherb-checkout--modern .pyloherb-pay-card__inner {
    border-radius: 12px;
    padding: 18px 20px;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s, background 0.2s;
}

.pyloherb-checkout--modern .pyloherb-pay-card:hover .pyloherb-pay-card__inner {
    border-color: #c5c0b8;
    box-shadow: 0 4px 16px rgba(15, 38, 28, 0.06);
    transform: translateY(-1px);
}

.pyloherb-checkout--modern .pyloherb-pay-card input:checked+.pyloherb-pay-card__inner,
.pyloherb-checkout--modern .pyloherb-pay-card.is-selected .pyloherb-pay-card__inner {
    border-color: #0f261c;
    background: linear-gradient(180deg, #fff 0%, #f8faf8 100%);
    box-shadow: 0 6px 20px rgba(15, 38, 28, 0.1);
}

.pyloherb-checkout--modern .pyloherb-qr-panel {
    border-radius: 14px;
    border-color: #ebe6dc;
    background: linear-gradient(180deg, #fff 0%, #faf9f6 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.pyloherb-qr-panel__proof {
    width: 100%;
    max-width: 420px;
    margin: 20px auto 0;
    padding-top: 20px;
    border-top: 1px dashed #e0ddd6;
}

.pyloherb-qr-panel__proof-title {
    margin: 0 0 14px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #6b6b6b;
    text-align: center;
}

.pyloherb-qr-panel__proof-field {
    margin-bottom: 14px;
}

.pyloherb-qr-panel__proof-field:last-child {
    margin-bottom: 0;
}

.pyloherb-checkout--modern .pyloherb-uploader .input-group-text {
    background: #f3efe8;
    border-color: #e8e4dc;
    font-size: 12px;
    font-weight: 600;
}

.pyloherb-checkout--modern .pyloherb-order-summary--checkout-card {
    border-radius: var(--checkout-radius);
    border: 1px solid var(--checkout-card-border);
    box-shadow: var(--checkout-card-shadow);
    padding: 26px;
}

.pyloherb-checkout--modern .pyloherb-order-summary--checkout-card .pyloherb-order-summary__products {
    gap: 16px;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom-color: #f0ece6;
}

.pyloherb-checkout--modern .pyloherb-order-summary--checkout-card .pyloherb-order-summary__product {
    grid-template-columns: 64px 1fr auto;
    gap: 12px;
    padding: 10px;
    border-radius: 12px;
    background: #faf9f6;
    transition: background 0.2s;
}

.pyloherb-checkout--modern .pyloherb-order-summary--checkout-card .pyloherb-order-summary__coupon-row {
    border-radius: 10px;
    border-color: #e8e4dc;
    background: #fff;
}

.pyloherb-checkout--modern .pyloherb-order-summary__totals--beige {
    background: linear-gradient(180deg, #f5efe6 0%, #ebe6dc 100%);
    border-radius: 12px;
    padding: 18px;
}

.pyloherb-checkout--modern .pyloherb-btn--checkout-figma {
    border-radius: 12px !important;
    padding: 17px 22px !important;
    font-size: 13px !important;
    background: var(--primary, #0f261c) !important;
    box-shadow: 0 8px 24px color-mix(in srgb, var(--primary, #0f261c) 22%, transparent);
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.pyloherb-checkout--modern .pyloherb-btn--checkout-figma:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 28px color-mix(in srgb, var(--hov-primary, #163528) 28%, transparent);
    background: var(--hov-primary, #163528) !important;
}

.pyloherb-order-summary__trust--checkout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid #f0ece6;
    font-size: 11px;
    color: var(--pylo-muted);
}

.pyloherb-order-summary__trust--checkout div {
    display: flex;
    align-items: center;
    gap: 6px;
    justify-content: center;
}

.pyloherb-checkout--modern .pyloherb-checkout__aside {
    top: 88px;
}

@media (max-width: 991.98px) {
    .pyloherb-checkout--modern .pyloherb-checkout__grid {
        display: flex;
        flex-direction: column;
    }

    .pyloherb-checkout--modern .pyloherb-checkout__aside {
        order: 2;
        position: static;
        margin-top: 4px;
    }

    .pyloherb-checkout--modern .pyloherb-checkout__main {
        order: 1;
    }

    .pyloherb-checkout--modern .pyloherb-btn--checkout-desktop,
    .pyloherb-checkout--modern .pyloherb-btn--checkout-figma {
        display: inline-flex !important;
        width: 100%;
    }

    .pyloherb-checkout__card {
        padding: 20px 18px;
    }

    .pyloherb-checkout__progress-label {
        display: none;
    }

    .pyloherb-checkout__progress-line {
        max-width: none;
        flex: 1;
    }
}

@media (max-width: 575.98px) {
    .pyloherb-checkout__trust li {
        font-size: 11px;
        padding: 6px 10px;
    }
}

.pyloherb-order-summary__coupon--checkout {
    margin-bottom: 18px;
    padding: 14px;
    background: #f8f6f2;
    border: 1px dashed #d5cfc4;
    border-radius: 12px;
}

.pyloherb-order-summary__coupon--checkout .pyloherb-order-summary__coupon-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: var(--pylo-green-dark);
    margin-bottom: 10px;
}

.pyloherb-order-summary__coupon--checkout .pyloherb-order-summary__coupon-row {
    border-radius: 10px;
    border-color: #e0ddd6;
    background: #fff;
}

.pyloherb-order-summary__coupon--checkout .pyloherb-order-summary__coupon-apply {
    color: #fff;
    background: var(--primary, var(--pylo-green));
    border-radius: 0 10px 10px 0;
    padding: 10px 16px;
}

.pyloherb-order-summary__coupon--checkout .pyloherb-order-summary__coupon-apply:hover {
    background: var(--hov-primary, var(--pylo-green-dark));
}

.pyloherb-order-summary__coupon--checkout .pyloherb-order-summary__coupon-hint {
    margin-top: 8px;
    text-align: center;
}

/* Cart Modern Refresh */
.pyloherb-cart--modern .pyloherb-cart__hero {
    margin-bottom: 14px;
}

.pyloherb-cart--modern .pyloherb-cart__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.pyloherb-cart--modern .pyloherb-cart__meta-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #ece7de;
    color: var(--pylo-muted);
    font-size: 12px;
}

.pyloherb-cart--modern .pyloherb-cart__meta-pill strong {
    color: var(--pylo-green-dark);
}

.pyloherb-cart--modern .pyloherb-cart__continue-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid #d8d2c7;
    background: #fff;
    color: var(--pylo-text);
    font-size: 12px;
    font-weight: 600;
}

.pyloherb-cart--modern .pyloherb-cart__continue-link:hover {
    border-color: var(--pylo-green-dark);
    color: var(--pylo-green-dark);
}

.pyloherb-cart--modern .pyloherb-cart__toolbar {
    margin-bottom: 14px;
    padding: 12px 14px;
    border: 1px solid #ece7de;
    border-radius: 12px;
    background: #fff;
}

.pyloherb-cart--modern .pyloherb-cart-item {
    border: 1px solid #ece7de;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(15, 38, 28, 0.06);
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
    overflow: visible;
}

.pyloherb-cart--modern .pyloherb-cart-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(15, 38, 28, 0.1);
    border-color: #ddd6cb;
}

.pyloherb-cart--modern .pyloherb-cart-item__qty {
    border-color: #d9d4ca;
    background: #fbfaf7;
}

.pyloherb-cart--modern .pyloherb-cart-item__line-total {
    font-size: 16px;
    color: var(--pylo-green-dark);
}

.pyloherb-cart--modern .pyloherb-cart-item__remove {
    width: 34px;
    height: 34px;
    background: #fff;
    border: 1px solid #e7dfd2;
}

@media (min-width: 992px) {
    .pyloherb-cart--modern .pyloherb-cart-item__remove {
        position: absolute;
        top: 12px;
        right: 12px;
        box-shadow: 0 8px 20px rgba(15, 38, 28, 0.14);
    }
}

.pyloherb-cart--modern .pyloherb-cart__ship-banner {
    margin-top: 12px;
    background: linear-gradient(120deg, #f7efe1 0%, #f2e8d8 100%);
    border: 1px solid #eadfcf;
    border-radius: 12px;
}

.pyloherb-order-summary--cart-modern {
    border: 1px solid #ebe3d8;
    background: linear-gradient(180deg, #fffaf1 0%, #f8f2e7 100%);
    box-shadow: 0 10px 28px rgba(15, 38, 28, 0.08);
}

.pyloherb-order-summary--cart-modern .pyloherb-order-summary__title {
    font-size: 24px;
}

.pyloherb-order-summary--cart-modern .pyloherb-order-summary__coupon-row {
    background: #fff;
    border-color: #e2dbcf;
}

.pyloherb-order-summary--cart-modern .pyloherb-order-summary__coupon-input {
    font-size: 13px;
}

.pyloherb-order-summary--cart-modern .pyloherb-order-summary__coupon-apply {
    background: var(--primary, var(--pylo-green));
    color: #fff;
}

.pyloherb-order-summary--cart-modern .pyloherb-order-summary__coupon-apply:hover {
    background: var(--hov-primary, var(--pylo-green-dark));
}

.pyloherb-order-summary--cart-modern .pyloherb-btn--checkout {
    margin-top: 16px;
    border-radius: 12px;
    box-shadow: 0 10px 24px rgba(15, 38, 28, 0.2);
}

@media (max-width: 991.98px) {
    .pyloherb-cart--modern .pyloherb-cart__meta {
        flex-wrap: wrap;
    }
}

/* Global mobile hardening for user pages */
.pyloherb-listing,
.pyloherb-offers-hero {
    overflow-x: clip;
}

.pyloherb-cart-page,
.pyloherb-checkout {
    overflow-x: visible;
}

/* Shared page hero (flash-deals/contact and user pages) */
.pylo-hero {
    position: relative;
    width: 100%;
    min-height: var(--pylo-banner-height);
    height: var(--pylo-banner-height);
    max-height: var(--pylo-banner-height);
    aspect-ratio: var(--pylo-banner-ratio, 1930 / 705);
    overflow: hidden;
    background-color: #fff;
    border-radius: 0;
}

.pylo-hero img {
    width: 100%;
    height: 100%;
    min-height: inherit;
    object-fit: cover;
    display: block;
}

.pylo-hero__grad {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right,
            rgba(var(--hero-overlay-light-rgb, 0, 0, 0), calc(var(--hero-overlay-light-on, 0) * 0.92)) 0%,
            rgba(var(--hero-overlay-light-rgb, 0, 0, 0), calc(var(--hero-overlay-light-on, 0) * 0.72)) 30%,
            rgba(var(--hero-overlay-light-rgb, 0, 0, 0), calc(var(--hero-overlay-light-on, 0) * 0.18)) 60%,
            transparent 100%);
}

.pylo-hero--overlay-dark .pylo-hero__grad {
    background: linear-gradient(90deg,
            rgba(var(--hero-overlay-rgb, 0, 0, 0), calc(var(--hero-overlay-on, 0) * 0.72)) 0%,
            rgba(var(--hero-overlay-rgb, 0, 0, 0), calc(var(--hero-overlay-on, 0) * 0.28)) 55%,
            rgba(var(--hero-overlay-rgb, 0, 0, 0), calc(var(--hero-overlay-on, 0) * 0.08)) 100%);
}

.pylo-hero__copy {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    width: 100%;
    box-sizing: border-box;
    padding: 0;
    pointer-events: none;
}

.pylo-hero__copy .container,
.pylo-hero__content {
    pointer-events: auto;
}

.pylo-hero__content {
    width: 100%;
    max-width: var(--pylo-banner-d-content-max, 560px);
    padding: var(--pylo-banner-d-pad-top, 48px) 0 var(--pylo-banner-d-pad-bottom, 64px);
}

.pylo-hero__eyebrow {
    margin: 0 0 10px;
    font-family: var(--pylo-sans);
    font-size: 11px;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--section-title-color, #4a6741);
    font-weight: 600;
}

.pylo-hero__h1 {
    margin: 0;
    font-family: var(--pylo-serif);
    font-size: clamp(1.75rem, 3.6vw, 2.4rem);
    line-height: 1.18;
    color: var(--section-title-color, #1a2a1a);
    overflow-wrap: anywhere;
    word-break: break-word;
}

.pylo-hero__subtitle {
    margin: 10px 0 0;
    max-width: 34em;
    font-family: var(--pylo-sans);
    font-size: clamp(0.9rem, 1.4vw, 1rem);
    line-height: 1.55;
    color: var(--section-desc-color, #666);
}

.pylo-store-page__hero-wrap {
    padding-top: 20px;
    padding-bottom: 14px;
}

/* ══════════════════════════════════════════════
   Blog listing page
   ══════════════════════════════════════════════ */

.aiz-main-wrapper:has(.pyloherb-blog) {
    background: var(--pylo-cream) !important;
}

.pyloherb-blog {
    padding: var(--pylo-space-md) 0 var(--pylo-space-lg);
}

.pyloherb-blog__wrap {
    max-width: 1280px;
}

.pyloherb-blog__layout {
    align-items: flex-start;
    gap: 28px 0;
}

.pyloherb-blog__head {
    background: var(--pylo-white);
    border-radius: var(--pylo-radius);
    border: 1px solid rgba(26, 61, 46, 0.08);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
    padding: 20px 24px;
    margin-bottom: 24px;
}

.pyloherb-blog__head-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-top: 12px;
}

.pyloherb-blog__title {
    margin: 0;
    font-family: var(--pylo-serif);
    font-size: clamp(22px, 3vw, 28px);
    font-weight: 600;
    color: var(--pylo-green);
}

.pyloherb-blog__meta {
    margin: 6px 0 0;
    font-size: 13px;
    color: var(--pylo-muted);
}

.pyloherb-blog__filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid rgba(26, 61, 46, 0.15);
    background: var(--pylo-white);
    color: var(--pylo-green);
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

.pyloherb-blog__grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pyloherb-blog-card {
    display: flex;
    flex-direction: column;
    background: var(--pylo-white);
    border-radius: var(--pylo-radius);
    border: 1px solid rgba(26, 61, 46, 0.08);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.pyloherb-blog-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(15, 38, 28, 0.1);
}

.pyloherb-blog-card__media {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--pylo-beige-light);
}

.pyloherb-blog-card__media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.pyloherb-blog-card__category {
    position: absolute;
    left: 10px;
    top: 10px;
    padding: 3px 7px;
    border-radius: 999px;
    background: rgba(26, 61, 46, 0.88);
    color: #fff;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    line-height: 1.2;
}

.pyloherb-blog-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 18px 20px 20px;
}

.pyloherb-blog-card__date {
    font-size: 12px;
    color: var(--pylo-muted);
    margin-bottom: 8px;
}

.pyloherb-blog-card__title {
    margin: 0 0 10px;
    font-family: var(--pylo-serif);
    font-size: clamp(15px, 1.4vw, 18px);
    line-height: 1.35;
    min-height: 0;
}

.pyloherb-blog-card__title a {
    color: var(--pylo-text);
    text-decoration: none;
    transition: color 0.2s ease;
}

.pyloherb-blog-card__title a:hover {
    color: var(--pylo-green);
}

.pyloherb-blog-card__excerpt {
    margin: 0 0 14px;
    font-size: 13px;
    line-height: 1.65;
    color: var(--pylo-muted);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pyloherb-blog-card__link {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--pylo-green);
    text-decoration: none;
}

.pyloherb-blog-card__link i {
    font-size: 16px;
    transition: transform 0.2s ease;
}

.pyloherb-blog-card__link:hover {
    color: var(--pylo-green-dark);
}

.pyloherb-blog-card__link:hover i {
    transform: translateX(3px);
}

.pyloherb-blog__pagination {
    margin-top: var(--pylo-space-md);
}

.pyloherb-blog__empty {
    text-align: center;
    padding: var(--pylo-space-lg);
    background: var(--pylo-white);
    border-radius: var(--pylo-radius);
    border: 1px solid rgba(26, 61, 46, 0.08);
}

.pyloherb-blog__empty i {
    font-size: 42px;
    color: rgba(26, 61, 46, 0.35);
    margin-bottom: 12px;
}

.pyloherb-blog__empty h3 {
    margin: 0 0 8px;
    font-family: var(--pylo-serif);
    color: var(--pylo-green);
}

.pyloherb-blog__empty p {
    margin: 0 0 18px;
    color: var(--pylo-muted);
    font-size: 14px;
}

.pyloherb-blog__sidebar-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.pyloherb-blog__sidebar .collapse-sidebar {
    background: transparent;
}

.pyloherb-blog__search,
.pyloherb-blog__filter-block {
    padding: 20px;
    border-bottom: 1px solid rgba(26, 61, 46, 0.06);
}

.pyloherb-blog__filter-block {
    border-bottom: none;
}

.pyloherb-blog__sidebar-label {
    display: block;
    margin: 0 0 12px;
    font-family: var(--pylo-serif);
    font-size: 15px;
    font-weight: 600;
    color: var(--pylo-green);
}

.pyloherb-blog__search-field {
    display: flex;
    align-items: stretch;
    border: 1px solid rgba(26, 61, 46, 0.12);
    border-radius: 10px;
    overflow: hidden;
    background: var(--pylo-cream);
}

.pyloherb-blog__search-field input {
    flex: 1;
    min-width: 0;
    border: 0;
    background: transparent;
    padding: 12px 14px;
    font-size: 14px;
    color: var(--pylo-text);
}

.pyloherb-blog__search-field input:focus {
    outline: none;
}

.pyloherb-blog__search-field button {
    border: 0;
    background: var(--primary, var(--pylo-green));
    color: #fff;
    width: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.pyloherb-blog__search-field button:hover {
    background: var(--hov-primary, var(--pylo-green-dark));
}

.pyloherb-blog__categories {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pyloherb-blog__category-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    cursor: pointer;
    user-select: none;
}

.pyloherb-blog__category-item input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.pyloherb-blog__category-check {
    width: 18px;
    height: 18px;
    border-radius: 4px;
    border: 1.5px solid rgba(26, 61, 46, 0.25);
    background: #fff;
    flex-shrink: 0;
    position: relative;
}

.pyloherb-blog__category-item input:checked+.pyloherb-blog__category-check {
    background: var(--pylo-green);
    border-color: var(--pylo-green);
}

.pyloherb-blog__category-item input:checked+.pyloherb-blog__category-check::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 2px;
    width: 5px;
    height: 9px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.pyloherb-blog__category-name {
    font-size: 13px;
    color: var(--pylo-text);
    line-height: 1.4;
}

.pyloherb-blog__category-item:hover .pyloherb-blog__category-name {
    color: var(--pylo-green);
}

.pyloherb-blog__recent {
    background: var(--pylo-white);
    border-radius: var(--pylo-radius);
    border: 1px solid rgba(26, 61, 46, 0.08);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
    padding: 20px;
}

.pyloherb-blog__recent-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.pyloherb-blog__recent-item {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
}

.pyloherb-blog__recent-thumb {
    width: 72px;
    height: 72px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--pylo-beige-light);
}

.pyloherb-blog__recent-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.pyloherb-blog__recent-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.pyloherb-blog__recent-title {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--pylo-text);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pyloherb-blog__recent-item:hover .pyloherb-blog__recent-title {
    color: var(--pylo-green);
}

.pyloherb-blog__recent-date {
    font-size: 11px;
    color: var(--pylo-muted);
}

@media (min-width: 768px) {
    .pyloherb-blog__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 992px) {
    .pyloherb-blog__sidebar-col {
        position: sticky;
        top: 88px;
        align-self: flex-start;
    }
}

@media (max-width: 767px) {
    .pyloherb-blog {
        padding: 16px 0 32px;
    }

    .pyloherb-blog>.container.pyloherb-blog__wrap {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    .pyloherb-blog__grid {
        grid-template-columns: repeat(1, minmax(0, 1fr));
        gap: 14px;
    }

    .pyloherb-blog__head {
        padding: 16px;
    }

    .pyloherb-blog-card__body {
        padding: 14px 16px 16px;
    }

    .pyloherb-blog-card__title {
        font-size: 15px;
    }

    .pyloherb-blog-card__excerpt {
        -webkit-line-clamp: 2;
    }
}

@media (max-width: 575.98px) {
    .pyloherb-blog .pyloherb-listing-hero {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }
}

/* =========================================================================
   Custom page — PyLoHerb (aligned with blog prose + sticky footer)
   ========================================================================= */

.pyloherb-page {
    flex: 1 0 auto;
    width: 100%;
    padding: var(--pylo-space-lg) 0;
    background: #fff;
}

.pyloherb-page__wrap {
    max-width: 860px;
}

.pyloherb-page__article {
    min-height: 40vh;
}

.pyloherb-page__header {
    margin-bottom: 20px;
}

.pyloherb-page__title {
    font-family: var(--pylo-serif, Georgia, serif);
    font-size: clamp(1.75rem, 3.2vw, 2.35rem);
    font-weight: 600;
    line-height: 1.25;
    color: var(--pylo-green-dark, #0f261c);
    margin: 0;
}

.pyloherb-page__content {
    overflow-x: auto;
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: anywhere;
    /* Base only — keep color/font from Summernote inline styles */
    font-family: var(--pylo-sans, system-ui, sans-serif);
    font-size: 16px;
    line-height: 1.75;
}

.pyloherb-page__content img,
.pyloherb-page__content video,
.pyloherb-page__content iframe,
.pyloherb-page__content table {
    max-width: 100% !important;
    height: auto !important;
}

.pyloherb-page__content table {
    display: block;
    overflow-x: auto;
}

/* Only fix absolute/fixed layout that breaks the page — do not override colors */
.pyloherb-page__content [style*="position:absolute"],
.pyloherb-page__content [style*="position: absolute"],
.pyloherb-page__content [style*="position:fixed"],
.pyloherb-page__content [style*="position: fixed"] {
    position: static !important;
    transform: none !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    inset: auto !important;
    z-index: auto !important;
    float: none !important;
}

/* =========================================================================
   Blog detail — PyLoHerb prose / WordPress import
   ========================================================================= */

.pyloherb-blog-detail {
    padding-bottom: 40px;
}

.pyloherb-blog-detail__header {
    margin-bottom: 8px;
}

.pyloherb-blog-detail__eyebrow {
    margin: 0 0 12px;
    font-family: var(--pylo-sans);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--pylo-brown, #8a6a3d);
    line-height: 1.35;
}

.pyloherb-blog-detail__title {
    margin: 0 0 18px;
    font-family: var(--pylo-serif);
    font-size: clamp(1.55rem, 3.2vw, 2.15rem);
    font-weight: 600;
    font-style: normal;
    line-height: 1.25;
    color: var(--pylo-green-dark, #0f261c);
    letter-spacing: -0.01em;
}

.pyloherb-blog-detail__article {
    background: var(--pylo-white);
    border: 1px solid rgba(26, 61, 46, 0.08);
    border-radius: var(--pylo-radius);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
    padding: clamp(20px, 3vw, 36px);
    margin-bottom: 24px;
}

.pyloherb-blog-detail__toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 16px;
    margin-bottom: 22px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(26, 61, 46, 0.08);
}

.pyloherb-blog-detail__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 8px;
    font-family: var(--pylo-sans);
    font-size: 13px;
    color: var(--pylo-muted);
}

.pyloherb-blog-detail__meta time {
    color: inherit;
}

.pyloherb-blog-detail__share .jssocials,
.pyloherb-blog-detail__share .aiz-share {
    display: flex;
    align-items: center;
    gap: 6px;
}

.pyloherb-blog-detail__cover {
    margin: 0 0 28px;
    max-width: 280px;
    border-radius: 10px;
    overflow: hidden;
    background: var(--pylo-beige-light);
}

.pyloherb-blog-detail__cover img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: contain;
}

/* --- Article body (WP HTML) --- */
.pyloherb-blog-detail__content,
.blog-detail__content {
    font-family: var(--pylo-sans);
    color: var(--pylo-text);
    font-size: 16.5px;
    line-height: 1.8;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.pyloherb-blog-detail__content::after,
.blog-detail__content::after {
    content: "";
    display: table;
    clear: both;
}

.pyloherb-blog-detail__content>*:first-child {
    margin-top: 0 !important;
}

.pyloherb-blog-detail__content>*:last-child {
    margin-bottom: 0 !important;
}

/* Paragraphs */
.pyloherb-blog-detail__content p,
.blog-detail__content p {
    display: block;
    margin: 0 0 1.15em;
}

/* Inline pieces inside paragraphs must stay inline (WP wraps runs in span/b/a) */
.pyloherb-blog-detail__content p span,
.pyloherb-blog-detail__content p b,
.pyloherb-blog-detail__content p strong,
.pyloherb-blog-detail__content p a,
.pyloherb-blog-detail__content li span,
.pyloherb-blog-detail__content h2 span,
.pyloherb-blog-detail__content h3 span,
.pyloherb-blog-detail__content a span,
.blog-detail__content p span,
.blog-detail__content li span,
.blog-detail__content p span {
    display: inline;
    margin: 0;
}

.pyloherb-blog-detail__content h1,
.pyloherb-blog-detail__content h2,
.pyloherb-blog-detail__content h3,
.pyloherb-blog-detail__content h4,
.pyloherb-blog-detail__content h5,
.pyloherb-blog-detail__content h6,
.blog-detail__content h1,
.blog-detail__content h2,
.blog-detail__content h3,
.blog-detail__content h4,
.blog-detail__content h5,
.blog-detail__content h6 {
    font-family: var(--pylo-serif);
    color: var(--pylo-green-dark);
    font-weight: 600;
    line-height: 1.3;
    margin: 1.75em 0 0.7em;
}

.pyloherb-blog-detail__content h2,
.blog-detail__content h2 {
    font-size: clamp(1.35rem, 2.2vw, 1.6rem);
    padding-bottom: 0.35em;
    border-bottom: 1px solid rgba(26, 61, 46, 0.1);
}

.pyloherb-blog-detail__content h3,
.blog-detail__content h3 {
    font-size: clamp(1.15rem, 1.8vw, 1.3rem);
}

.pyloherb-blog-detail__content h2 b,
.pyloherb-blog-detail__content h3 b,
.pyloherb-blog-detail__content h2 strong,
.pyloherb-blog-detail__content h3 strong {
    font-weight: 600;
}

.pyloherb-blog-detail__content ul,
.pyloherb-blog-detail__content ol,
.blog-detail__content ul,
.blog-detail__content ol {
    margin: 0 0 1.25em;
    padding-left: 1.4em;
}

.pyloherb-blog-detail__content li,
.blog-detail__content li {
    margin: 0 0 0.55em;
    padding-left: 0.15em;
}

.pyloherb-blog-detail__content li::marker {
    color: var(--pylo-brown);
}

.pyloherb-blog-detail__content a,
.blog-detail__content a {
    color: var(--pylo-green);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.pyloherb-blog-detail__content a:hover,
.blog-detail__content a:hover {
    color: var(--pylo-green-dark);
}

.pyloherb-blog-detail__content strong,
.pyloherb-blog-detail__content b,
.blog-detail__content strong,
.blog-detail__content b {
    color: var(--pylo-green-dark);
    font-weight: 700;
}

.pyloherb-blog-detail__content em,
.pyloherb-blog-detail__content i,
.blog-detail__content em,
.blog-detail__content i {
    font-style: italic;
}

.pyloherb-blog-detail__content blockquote,
.blog-detail__content blockquote {
    margin: 1.4em 0;
    padding: 1em 1.2em;
    border-left: 3px solid var(--pylo-brown);
    background: var(--pylo-cream);
    border-radius: 0 10px 10px 0;
    font-style: italic;
    color: var(--pylo-muted);
}

.pyloherb-blog-detail__content hr,
.blog-detail__content hr {
    border: 0;
    border-top: 1px solid rgba(26, 61, 46, 0.12);
    margin: 2em 0;
}

.pyloherb-blog-detail__content table,
.blog-detail__content table {
    width: 100%;
    max-width: 100%;
    border-collapse: collapse;
    margin: 0 0 1.4em;
    font-size: 0.95em;
    display: block;
    overflow-x: auto;
}

.pyloherb-blog-detail__content th,
.pyloherb-blog-detail__content td,
.blog-detail__content th,
.blog-detail__content td {
    border: 1px solid rgba(26, 61, 46, 0.12);
    padding: 0.55em 0.75em;
    text-align: left;
}

.pyloherb-blog-detail__content iframe,
.pyloherb-blog-detail__content video,
.pyloherb-blog-detail__content embed,
.blog-detail__content iframe,
.blog-detail__content video,
.blog-detail__content embed {
    max-width: 100%;
    margin: 1.2em 0;
}

/* Images + WP captions */
.pyloherb-blog-detail__content img,
.blog-detail__content img,
.pyloherb-blog-detail__content .img-fit,
.blog-detail__content .img-fit {
    max-width: 100% !important;
    width: auto;
    height: auto !important;
    object-fit: contain !important;
    border-radius: 10px;
    margin: 0.4em 0 0.2em;
    display: block;
}

.pyloherb-blog-detail__content figure,
.blog-detail__content figure,
.pyloherb-blog-detail__content .wp-caption,
.blog-detail__content .wp-caption {
    display: block;
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 1.5em 0;
    padding: 0;
    background: transparent;
    text-align: center;
}

.pyloherb-blog-detail__content figure img,
.blog-detail__content figure img,
.pyloherb-blog-detail__content .wp-caption img,
.blog-detail__content .wp-caption img {
    margin-left: auto;
    margin-right: auto;
}

.pyloherb-blog-detail__content figcaption,
.blog-detail__content figcaption,
.pyloherb-blog-detail__content .wp-caption-text,
.blog-detail__content .wp-caption-text {
    display: block;
    margin-top: 0.65em;
    padding: 0 8px;
    font-size: 0.88em;
    line-height: 1.5;
    color: var(--pylo-muted);
    font-style: italic;
    text-align: center;
}

.pyloherb-blog-detail__content .alignleft,
.pyloherb-blog-detail__content .alignright,
.pyloherb-blog-detail__content .alignnone,
.pyloherb-blog-detail__content .aligncenter,
.blog-detail__content .alignleft,
.blog-detail__content .alignright,
.blog-detail__content .alignnone,
.blog-detail__content .aligncenter {
    float: none !important;
    display: block;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Kill leftover WP inline floats / fixed widths that break the column */
.pyloherb-blog-detail__content [style*="float"],
.blog-detail__content [style*="float"] {
    float: none !important;
}

.pyloherb-blog-detail__content [style*="width"],
.blog-detail__content [style*="width"] {
    max-width: 100% !important;
}

.pyloherb-blog-detail__comments {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid rgba(26, 61, 46, 0.08);
}

@media (max-width: 991.98px) {
    .pyloherb-blog-detail .pyloherb-blog__sidebar-col {
        margin-top: 8px;
    }
}

@media (max-width: 767.98px) {
    .pyloherb-blog-detail__article {
        padding: 16px 14px 22px;
        border-radius: 0;
        border-left: 0;
        border-right: 0;
        box-shadow: none;
    }

    .pyloherb-blog-detail__content,
    .blog-detail__content {
        font-size: 15.5px;
        line-height: 1.75;
    }

    .pyloherb-blog-detail__cover {
        margin-bottom: 20px;
        max-width: 200px;
        border-radius: 8px;
    }
}

@media (max-width: 991.98px) {
    .pyloherb-listing__products-wrap {
        padding: 14px 12px;
    }

    .pyloherb-listing .pyloherb-product-card {
        box-shadow: 0 6px 20px rgba(15, 38, 28, 0.09);
    }

    .pyloherb-listing .pyloherb-product-card__img-wrap {
        margin: 0;
        border-radius: 0;
    }

    .pyloherb-listing .pyloherb-product-card__body {
        padding: 12px 10px 14px;
    }

    .pyloherb-listing .pyloherb-product-card__title {
        font-size: 13px;
        min-height: 36px;
    }

    .pyloherb-listing .pyloherb-product-card__price-current {
        font-size: 13px;
    }

    .pyloherb-listing .aiz-card-box {
        padding: 8px 8px 12px !important;
        box-shadow: 0 6px 18px rgba(15, 38, 28, 0.07);
    }

    .pyloherb-listing .aiz-card-box h3 {
        min-height: 38px;
    }

    .pyloherb-product-card__body {
        padding: 12px 10px 12px;
    }

    .pyloherb-product-card__title {
        min-height: 36px;
        margin-bottom: 8px;
    }
}

@media (max-width: 575.98px) {
    .pyloherb-listing-hero {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }

    .pyloherb-listing .aiz-card-box .absolute-top-left {
        left: 6px !important;
    }

    .pyloherb-product-card__footer {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .pyloherb-product-card__cart,
    button.pyloherb-product-card__cart,
    a.pyloherb-product-card__cart,
    span.pyloherb-product-card__cart {
        width: 100%;
        max-width: none;
        padding: 8px 10px;
        font-size: 11px;
        letter-spacing: 0;
        min-height: 34px;
    }

    .pyloherb-offers-hero {
        min-height: var(--pylo-banner-height-mobile);
        height: var(--pylo-banner-height-mobile);
        max-height: var(--pylo-banner-height-mobile);
    }

    .pyloherb-cart-item__actions {
        gap: 8px;
    }

    .pyloherb-cart-item__line-total {
        font-size: 13px;
    }

    .pylo-hero {
        height: var(--pylo-banner-height-mobile);
        min-height: 0;
        max-height: var(--pylo-banner-height-mobile);
        overflow: hidden;
    }

    .pylo-hero img {
        height: 100%;
        min-height: 0;
    }

    .pylo-hero__copy {
        padding: 12px 14px;
    }

    .pylo-hero__content {
        width: 100%;
        max-width: 100%;
    }

    .pylo-hero__eyebrow {
        font-size: 9px;
        margin-bottom: 4px;
        letter-spacing: .14em;
    }

    .pylo-hero__h1 {
        font-size: clamp(1.05rem, 5vw, 1.35rem);
        line-height: 1.25;
    }

    .pylo-hero__subtitle {
        margin-top: 6px;
        font-size: 0.75rem;
        line-height: 1.4;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .pylo-store-page__hero-wrap {
        padding-left: 16px !important;
        padding-right: 16px !important;
        padding-top: 16px;
        padding-bottom: 10px;
    }
}

/* ── User account panel (dashboard & profile) ── */
.pyloherb-account {
    background: #f3f1ec;
    font-family: var(--pylo-sans);
}

.pyloherb-account__layout {
    display: flex;
    align-items: flex-start;
    gap: 28px;
}

.pyloherb-account__sidebar {
    flex: 0 0 280px;
    max-width: 280px;
    background: var(--pylo-white);
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(26, 61, 46, 0.08);
    border: 1px solid rgba(26, 61, 46, 0.06);
    overflow: hidden;
}

.pyloherb-account__main {
    flex: 1;
    min-width: 0;
    padding: 0 !important;
    margin: 0 !important;
    width: auto !important;
}

.pyloherb-account__profile {
    border-bottom: 1px solid #eee9e0;
}

.pyloherb-account__profile .avatar {
    width: 72px;
    height: 72px;
}

.pyloherb-account__profile .avatar img,
.pyloherb-account__profile .avatar .image {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: contain;
    border: 3px solid #f5efe6;
}

.pyloherb-account__profile h4 {
    font-family: var(--pylo-sans);
    font-size: 16px;
    font-weight: 700;
    color: var(--pylo-text);
    margin-bottom: 4px;
}

.pyloherb-account__profile .text-truncate {
    color: var(--pylo-muted);
    font-size: 13px;
}

.pyloherb-account__segment {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 8px 14px;
    border-radius: 12px;
    background: #f3f5f2;
    border: 1px solid #e2e8df;
}

.pyloherb-account__segment-label {
    font-size: 10px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #6b7a6e;
    line-height: 1.2;
}

.pyloherb-account__segment-value {
    font-size: 13px;
    font-weight: 700;
    color: #1a3d2e;
    line-height: 1.2;
}

.pyloherb-account__segment--loyal {
    background: #eef7f0;
    border-color: #c8e6cf;
}

.pyloherb-account__segment--loyal .pyloherb-account__segment-value {
    color: #1f7a3f;
}

.pyloherb-account__segment--vip {
    background: linear-gradient(135deg, #fff8e8 0%, #f7ecd0 100%);
    border-color: #e6d3a0;
}

.pyloherb-account__segment--vip .pyloherb-account__segment-value {
    color: #8a6a1f;
}

.pyloherb-account .aiz-side-nav-list {
    border-bottom: none !important;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

.pyloherb-account .aiz-side-nav-item {
    margin-bottom: 4px;
}

.pyloherb-account .aiz-side-nav-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 14px !important;
    border-radius: 10px !important;
    font-family: var(--pylo-sans);
    font-size: 14px;
    font-weight: 500;
    color: var(--pylo-text) !important;
    background: transparent !important;
    transition: background 0.2s ease, color 0.2s ease;
}

.pyloherb-account .aiz-side-nav-link svg {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
}

.pyloherb-account .aiz-side-nav-link svg path,
.pyloherb-account .aiz-side-nav-link svg rect {
    fill: #a8a8b0 !important;
}

.pyloherb-account .aiz-side-nav-text {
    margin-left: 0 !important;
}

.pyloherb-account .aiz-side-nav-link.active,
.pyloherb-account .aiz-side-nav-link:hover {
    background: #fff6dc !important;
    color: var(--pylo-green) !important;
}

.pyloherb-account .aiz-side-nav-link.active svg path,
.pyloherb-account .aiz-side-nav-link.active svg rect,
.pyloherb-account .aiz-side-nav-link:hover svg path,
.pyloherb-account .aiz-side-nav-link:hover svg rect {
    fill: var(--pylo-green) !important;
}

.pyloherb-account .aiz-side-nav-item.pyloherb-account__nav-danger .aiz-side-nav-link {
    color: #d43533 !important;
}

.pyloherb-account .aiz-side-nav-item.pyloherb-account__nav-danger .aiz-side-nav-link:hover {
    background: #fff0f0 !important;
    color: #c62828 !important;
}

.pyloherb-account .badge-inline.badge-success {
    background: var(--pylo-green);
    color: #fff;
    font-size: 10px;
    padding: 3px 8px;
    border-radius: 20px;
    margin-left: auto;
}

.pyloherb-account__logout {
    display: block;
    width: 100%;
    margin-top: 16px;
    padding: 12px 20px;
    border-radius: 12px !important;
    background: var(--primary, var(--pylo-green)) !important;
    border: none !important;
    color: #fff !important;
    text-align: center;
    text-decoration: none !important;
    transition: background 0.2s ease;
}

.pyloherb-account__logout:hover {
    background: var(--hov-primary, var(--pylo-green-dark)) !important;
    color: #fff !important;
}

/* Order confirmed */
body:has(.pyloherb-order-confirm) {
    background: var(--pylo-cream) !important;
}

.pyloherb-order-confirm {
    padding: 24px 0 48px;
    font-family: var(--pylo-sans);
    color: var(--pylo-text);
}

.pyloherb-order-confirm__container {
    max-width: 880px;
}

.pyloherb-order-confirm__progress {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.pyloherb-order-confirm__progress-step {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #8a938c;
}

.pyloherb-order-confirm__progress-dot {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    background: #e8e4db;
    color: #6b7a6e;
}

.pyloherb-order-confirm__progress-step.is-done .pyloherb-order-confirm__progress-dot,
.pyloherb-order-confirm__progress-step.is-active .pyloherb-order-confirm__progress-dot {
    background: var(--secondary-base, var(--pylo-brown, #9a7b4f));
    color: #fff;
}

.pyloherb-order-confirm__progress-label {
    font-size: 12px;
    font-weight: 600;
}

.pyloherb-order-confirm__progress-step.is-done .pyloherb-order-confirm__progress-label,
.pyloherb-order-confirm__progress-step.is-active .pyloherb-order-confirm__progress-label {
    color: var(--secondary-base, var(--pylo-brown, #9a7b4f));
}

.pyloherb-order-confirm__progress-line {
    width: 28px;
    height: 2px;
    background: #e0dbd1;
    flex-shrink: 0;
}

.pyloherb-order-confirm__progress-line.is-done {
    background: var(--secondary-base, var(--pylo-brown, #9a7b4f));
}

.pyloherb-order-confirm__hero {
    text-align: center;
    background: #fff;
    border-radius: 16px;
    padding: 28px 20px 24px;
    margin-bottom: 16px;
    box-shadow: 0 8px 28px rgba(26, 61, 46, 0.06);
}

.pyloherb-order-confirm__check {
    width: 56px;
    height: 56px;
    margin: 0 auto 14px;
    border-radius: 50%;
    background: #e7f6ec;
    color: #1f7a3f;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pyloherb-order-confirm__title {
    margin: 0 0 8px;
    font-family: var(--pylo-serif);
    font-size: clamp(22px, 4vw, 32px);
    font-weight: 700;
    color: var(--pylo-green-dark);
    line-height: 1.25;
}

.pyloherb-order-confirm__subtitle {
    margin: 0 auto 16px;
    max-width: 480px;
    font-size: 13px;
    line-height: 1.5;
    color: #6b7a6e;
}

.pyloherb-order-confirm__subtitle strong {
    color: var(--pylo-text);
    word-break: break-word;
}

.pyloherb-order-confirm__chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 18px;
}

.pyloherb-order-confirm__chip {
    display: inline-flex;
    align-items: center;
    padding: 7px 12px;
    border-radius: 999px;
    background: #f6f4ef;
    border: 1px solid #ebe6dc;
    font-size: 12px;
    font-weight: 600;
    color: #5c6b60;
}

.pyloherb-order-confirm__chip--total {
    background: var(--primary, #1a3d2e);
    border-color: var(--primary, #1a3d2e);
    color: #fff;
    white-space: nowrap;
}

.pyloherb-order-confirm__chip--vnpay {
    background: #eef5f0;
    border-color: rgba(26, 61, 46, 0.18);
    color: #132b1f;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    letter-spacing: 0.02em;
    word-break: break-all;
}

.pyloherb-order-confirm__code {
    font-family: var(--pylo-sans, "Public Sans", system-ui, sans-serif);
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.02em;
    color: #132b1f;
}

.pyloherb-order-confirm__code-list {
    font-weight: 600;
    color: #5c6b60;
}

.pyloherb-order-confirm__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.pyloherb-order-confirm__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 18px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.pyloherb-order-confirm__btn--primary {
    background: var(--primary, var(--pylo-green));
    color: #fff;
}

.pyloherb-order-confirm__btn--primary:hover {
    background: var(--hov-primary, var(--pylo-green-dark));
    color: #fff;
}

.pyloherb-order-confirm__btn--outline {
    background: #fff;
    border: 1px solid #d8d2c7;
    color: var(--pylo-text);
}

.pyloherb-order-confirm__btn--outline:hover {
    border-color: var(--pylo-green);
    color: var(--pylo-green);
}

.pyloherb-order-confirm__grid {
    display: grid;
    gap: 16px;
    margin-bottom: 16px;
}

.pyloherb-order-confirm__card--addresses {
    grid-column: 1 / -1;
}

.pyloherb-order-confirm__address-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

.pyloherb-order-confirm__address-block {
    padding: 12px 14px;
    border: 1px solid #efeae2;
    border-radius: 12px;
    background: #fbfaf8;
}

.pyloherb-order-confirm__address-label {
    margin: 0 0 10px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #6b7a6e;
}

.pyloherb-order-confirm__address-name {
    margin: 0 0 4px;
    font-size: 14px;
    font-weight: 700;
    color: var(--pylo-text);
}

.pyloherb-order-confirm__address-meta {
    margin: 0 0 6px;
    font-size: 13px;
    color: #5c6b60;
    display: flex;
    align-items: center;
    gap: 6px;
}

.pyloherb-order-confirm__address-meta a {
    color: inherit;
    text-decoration: none;
}

.pyloherb-order-confirm__address-meta a:hover {
    color: var(--pylo-green);
}

.pyloherb-order-confirm__address-lines {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    color: #5c6b60;
    word-break: break-word;
}

.pyloherb-order-confirm__card {
    background: #fff;
    border-radius: 16px;
    padding: 16px 18px 18px;
    box-shadow: 0 8px 28px rgba(26, 61, 46, 0.06);
    margin-bottom: 16px;
}

.pyloherb-order-confirm__card-title {
    margin: 0 0 14px;
    font-size: 15px;
    font-weight: 700;
    color: var(--pylo-text);
}

.pyloherb-order-confirm__subhead {
    margin: 16px 0 8px;
    font-size: 13px;
    font-weight: 700;
    color: #5c6b60;
}

.pyloherb-order-confirm__rows {
    margin: 0;
}

.pyloherb-order-confirm__row {
    display: grid;
    grid-template-columns: minmax(110px, 42%) 1fr;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #f0ece6;
}

.pyloherb-order-confirm__row:first-child {
    padding-top: 0;
}

.pyloherb-order-confirm__row:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.pyloherb-order-confirm__row dt {
    margin: 0;
    font-size: 12px;
    font-weight: 600;
    color: #6b7a6e;
}

.pyloherb-order-confirm__row dd {
    margin: 0;
    font-size: 13px;
    color: var(--pylo-text);
    word-break: break-word;
    text-align: right;
}

.pyloherb-order-confirm__row--total dt,
.pyloherb-order-confirm__row--total dd {
    font-weight: 700;
    color: #1a3d2e;
}

.pyloherb-order-confirm__order-head {
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0ece6;
}

.pyloherb-order-confirm__order-code {
    margin: 0 0 4px;
    font-size: 14px;
    color: #5c6b60;
}

.pyloherb-order-confirm__order-code strong {
    color: var(--pylo-green-dark);
    font-size: 15px;
}

.pyloherb-order-confirm__order-meta {
    margin: 0;
    font-size: 12px;
    color: #6b7a6e;
    line-height: 1.45;
}

.pyloherb-order-confirm__products {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 14px;
}

.pyloherb-order-confirm__product {
    display: flex;
    gap: 12px;
    padding: 12px;
    border-radius: 14px;
    background: #faf9f6;
    border: 1px solid #eee9e0;
}

.pyloherb-order-confirm__thumb {
    flex: 0 0 64px;
    width: 64px;
    height: 64px;
    border-radius: 12px;
    overflow: hidden;
    background: #f0ece6;
    border: 1px solid #e6e0d6;
}

.pyloherb-order-confirm__thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.pyloherb-order-confirm__product-body {
    flex: 1;
    min-width: 0;
}

.pyloherb-order-confirm__product-index {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: #9aa39b;
    margin-bottom: 2px;
}

.pyloherb-order-confirm__product-name {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--pylo-text);
    line-height: 1.35;
    text-decoration: none;
    word-break: break-word;
}

a.pyloherb-order-confirm__product-name:hover {
    color: var(--pylo-green);
}

.pyloherb-order-confirm__product-meta {
    margin: 4px 0 0;
    font-size: 12px;
    color: #6b7a6e;
}

.pyloherb-order-confirm__product-price {
    margin: 8px 0 0;
    font-size: 14px;
    font-weight: 700;
    color: #1a3d2e;
    white-space: nowrap;
}

.pyloherb-order-confirm__amount {
    margin: 0;
    padding-top: 4px;
    border-top: 1px dashed #ddd5c8;
}

.pyloherb-order-confirm__amount-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 0;
    font-size: 13px;
}

.pyloherb-order-confirm__amount-row dt {
    margin: 0;
    color: #6b7a6e;
}

.pyloherb-order-confirm__amount-row dd {
    margin: 0;
    font-weight: 600;
    color: var(--pylo-text);
    white-space: nowrap;
}

.pyloherb-order-confirm__amount-row--total {
    margin-top: 4px;
    padding-top: 12px;
    border-top: 1px dashed #ddd5c8;
}

.pyloherb-order-confirm__amount-row--total dt,
.pyloherb-order-confirm__amount-row--total dd {
    font-size: 15px;
    font-weight: 700;
    color: #1a3d2e;
}

@media (max-width: 575.98px) {
    .pyloherb-order-confirm {
        padding: 16px 0 36px;
    }

    .pyloherb-order-confirm__progress-label {
        display: none;
    }

    .pyloherb-order-confirm__progress-line {
        width: 18px;
    }

    .pyloherb-order-confirm__hero {
        padding: 22px 16px 20px;
    }

    .pyloherb-order-confirm__actions {
        flex-direction: column;
    }

    .pyloherb-order-confirm__btn {
        width: 100%;
    }

    .pyloherb-order-confirm__card {
        padding: 14px 14px 16px;
    }

    .pyloherb-order-confirm__row dd {
        font-size: 12px;
    }
}

@media (min-width: 768px) {
    .pyloherb-order-confirm {
        padding: 32px 0 64px;
    }

    .pyloherb-order-confirm__grid {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .pyloherb-order-confirm__address-grid {
        grid-template-columns: 1fr 1fr;
    }

    .pyloherb-order-confirm__row dd {
        text-align: left;
    }

    .pyloherb-order-confirm__thumb {
        flex-basis: 72px;
        width: 72px;
        height: 72px;
    }
}

/* Order detail (purchase history details) */
.pyloherb-order-detail {
    display: flex;
    flex-direction: column;
    gap: 16px;
    font-family: var(--pylo-sans);
    color: var(--pylo-text);
}

.pyloherb-order-detail--has-pay {
    padding-bottom: 88px;
}

.pyloherb-order-detail__header {
    background: #fff;
    border-radius: 16px;
    padding: 16px 18px 18px;
    box-shadow: 0 8px 28px rgba(26, 61, 46, 0.06);
}

.pyloherb-order-detail__back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #6b7a6e;
    text-decoration: none;
    margin-bottom: 12px;
}

.pyloherb-order-detail__back:hover {
    color: var(--pylo-green);
}

.pyloherb-order-detail__back i {
    font-size: 16px;
}

.pyloherb-order-detail__title-row {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pyloherb-order-detail__title {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--pylo-text);
    word-break: break-word;
}

.pyloherb-order-detail__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.pyloherb-order-detail__badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.2;
}

.pyloherb-order-detail__badge--status {
    background: #eef4ef;
    color: #1a3d2e;
}

.pyloherb-order-detail__badge--paid {
    background: #e7f6ec;
    color: #1f7a3f;
}

.pyloherb-order-detail__badge--unpaid {
    background: #fdeceb;
    color: #c62828;
}

.pyloherb-order-detail__meta-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.pyloherb-order-detail__chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px;
    border-radius: 10px;
    background: #f6f4ef;
    border: 1px solid #ebe6dc;
    font-size: 12px;
    color: #5c6b60;
}

.pyloherb-order-detail__chip i {
    font-size: 14px;
    color: var(--pylo-green);
}

.pyloherb-order-detail__chip--total {
    background: var(--primary, #1a3d2e);
    border-color: var(--primary, #1a3d2e);
    color: #fff;
    font-weight: 700;
}

.pyloherb-order-detail__grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.pyloherb-order-detail__main {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
}

.pyloherb-order-detail__aside {
    min-width: 0;
}

.pyloherb-order-detail__card {
    background: #fff;
    border-radius: 16px;
    padding: 16px 18px 18px;
    box-shadow: 0 8px 28px rgba(26, 61, 46, 0.06);
}

.pyloherb-order-detail__card-title {
    margin: 0 0 14px;
    font-size: 15px;
    font-weight: 700;
    color: var(--pylo-text);
}

.pyloherb-order-detail__subhead {
    margin: 16px 0 8px;
    font-size: 13px;
    font-weight: 700;
    color: #5c6b60;
}

.pyloherb-order-detail__products {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pyloherb-order-detail__product {
    padding: 12px;
    border-radius: 14px;
    background: #faf9f6;
    border: 1px solid #eee9e0;
}

.pyloherb-order-detail__product-top {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.pyloherb-order-detail__thumb {
    flex: 0 0 64px;
    width: 64px;
    height: 64px;
    border-radius: 12px;
    overflow: hidden;
    background: #f0ece6;
    border: 1px solid #e6e0d6;
}

.pyloherb-order-detail__thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.pyloherb-order-detail__product-body {
    flex: 1;
    min-width: 0;
}

.pyloherb-order-detail__product-index {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: #9aa39b;
    margin-bottom: 2px;
}

.pyloherb-order-detail__product-name {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--pylo-text);
    line-height: 1.35;
    text-decoration: none;
    word-break: break-word;
}

a.pyloherb-order-detail__product-name:hover {
    color: var(--pylo-green);
}

.pyloherb-order-detail__product-meta {
    margin: 4px 0 0;
    font-size: 12px;
    color: #6b7a6e;
    line-height: 1.4;
}

.pyloherb-order-detail__dot {
    margin: 0 4px;
    opacity: 0.6;
}

.pyloherb-order-detail__product-price {
    margin: 8px 0 0;
    font-size: 15px;
    font-weight: 700;
    color: #1a3d2e;
}

.pyloherb-order-detail__product-actions {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #ebe6dc;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pyloherb-order-detail__action-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.pyloherb-order-detail__action-label {
    font-size: 12px;
    color: #6b7a6e;
    flex-shrink: 0;
}

.pyloherb-order-detail__action-value {
    text-align: right;
    min-width: 0;
}

.pyloherb-order-detail__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 6px 14px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.pyloherb-order-detail__btn--primary {
    background: var(--primary, var(--pylo-green));
    color: #fff;
}

.pyloherb-order-detail__btn--primary:hover {
    background: var(--hov-primary, var(--pylo-green-dark));
    color: #fff;
}

.pyloherb-order-detail__btn--outline {
    background: #fff;
    border-color: #cfd6cf;
    color: var(--pylo-text);
}

.pyloherb-order-detail__btn--outline:hover {
    border-color: var(--pylo-green);
    color: var(--pylo-green);
}

.pyloherb-order-detail__btn--muted {
    background: #f0ece6;
    color: #5c6b60;
}

.pyloherb-order-detail__btn--muted:hover {
    background: #e6e0d6;
    color: var(--pylo-text);
}

.pyloherb-order-detail__status {
    font-size: 12px;
    font-weight: 600;
    color: #5c6b60;
}

.pyloherb-order-detail__status--info {
    color: #1a6f9a;
}

.pyloherb-order-detail__status--ok {
    color: #1f7a3f;
}

.pyloherb-order-detail__status--danger {
    color: #c62828;
}

.pyloherb-order-detail__address-name {
    margin: 0 0 4px;
    font-size: 14px;
    font-weight: 700;
    color: var(--pylo-text);
}

.pyloherb-order-detail__address-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

@media (min-width: 768px) {
    .pyloherb-order-detail__address-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
}

.pyloherb-order-detail__address-block {
    padding: 12px 14px;
    border: 1px solid #efeae2;
    border-radius: 12px;
    background: #fbfaf8;
}

.pyloherb-order-detail__address-label {
    margin: 0 0 10px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #6b7a6e;
}

.pyloherb-order-detail__address-meta {
    margin: 0 0 6px;
    font-size: 13px;
    color: #5c6b60;
    display: flex;
    align-items: center;
    gap: 6px;
}

.pyloherb-order-detail__address-meta a {
    color: inherit;
    text-decoration: none;
}

.pyloherb-order-detail__address-meta a:hover {
    color: var(--pylo-green);
}

.pyloherb-order-detail__address-lines {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    color: #5c6b60;
}

.pyloherb-order-detail__rows {
    margin: 0;
    display: flex;
    flex-direction: column;
}

.pyloherb-order-detail__row {
    display: grid;
    grid-template-columns: minmax(110px, 38%) 1fr;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #f0ece6;
}

.pyloherb-order-detail__row:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.pyloherb-order-detail__row:first-child {
    padding-top: 0;
}

.pyloherb-order-detail__row dt {
    margin: 0;
    font-size: 12px;
    font-weight: 600;
    color: #6b7a6e;
}

.pyloherb-order-detail__row dd {
    margin: 0;
    font-size: 13px;
    color: var(--pylo-text);
    word-break: break-word;
    text-align: right;
}

.pyloherb-order-detail__amount {
    margin: 0;
}

.pyloherb-order-detail__amount-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 0;
    font-size: 13px;
}

.pyloherb-order-detail__amount-row dt {
    margin: 0;
    color: #6b7a6e;
}

.pyloherb-order-detail__amount-row dd {
    margin: 0;
    font-weight: 600;
    color: var(--pylo-text);
}

.pyloherb-order-detail__amount-row--total {
    margin-top: 6px;
    padding-top: 12px;
    border-top: 1px dashed #ddd5c8;
}

.pyloherb-order-detail__amount-row--total dt,
.pyloherb-order-detail__amount-row--total dd {
    font-size: 15px;
    font-weight: 700;
    color: #1a3d2e;
}

.pyloherb-order-detail__pay-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 46px;
    padding: 10px 18px;
    border: 0;
    border-radius: 12px;
    background: var(--primary, var(--pylo-green));
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s ease;
}

.pyloherb-order-detail__pay-btn:hover {
    background: var(--hov-primary, var(--pylo-green-dark));
    color: #fff;
}

.pyloherb-order-detail__pay-btn--desktop {
    display: none;
    margin-top: 14px;
}

.pyloherb-order-detail__sticky-pay {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
    background: rgba(255, 255, 255, 0.96);
    border-top: 1px solid #ebe6dc;
    box-shadow: 0 -8px 24px rgba(26, 61, 46, 0.08);
    backdrop-filter: blur(8px);
}

.pyloherb-order-detail__sticky-pay-inner {
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 720px;
    margin: 0 auto;
}

.pyloherb-order-detail__sticky-pay-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.pyloherb-order-detail__sticky-pay-info span {
    font-size: 11px;
    color: #6b7a6e;
}

.pyloherb-order-detail__sticky-pay-info strong {
    font-size: 16px;
    color: #1a3d2e;
}

.pyloherb-order-detail__sticky-pay .pyloherb-order-detail__pay-btn {
    width: auto;
    min-width: 148px;
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .pyloherb-order-detail {
        gap: 20px;
    }

    .pyloherb-order-detail--has-pay {
        padding-bottom: 0;
    }

    .pyloherb-order-detail__header {
        padding: 20px 22px;
    }

    .pyloherb-order-detail__title-row {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
    }

    .pyloherb-order-detail__title {
        font-size: 22px;
    }

    .pyloherb-order-detail__grid {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 280px;
        align-items: start;
        gap: 20px;
    }

    .pyloherb-order-detail__card {
        padding: 20px 22px;
    }

    .pyloherb-order-detail__thumb {
        flex-basis: 72px;
        width: 72px;
        height: 72px;
    }

    .pyloherb-order-detail__row {
        grid-template-columns: 160px 1fr;
    }

    .pyloherb-order-detail__row dd {
        text-align: left;
    }

    .pyloherb-order-detail__pay-btn--desktop {
        display: inline-flex;
    }

    .pyloherb-order-detail__sticky-pay {
        display: none;
    }
}

@media (min-width: 1100px) {
    .pyloherb-order-detail__grid {
        grid-template-columns: minmax(0, 1fr) 300px;
    }
}

/* Dashboard main */
.pyloherb-dashboard {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.pyloherb-dashboard__segment {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 22px;
    border-radius: 16px;
    background: #f6f8f5;
    border: 1px solid #e4ebe4;
}

.pyloherb-dashboard__segment-label {
    display: block;
    font-size: 11px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #6b7a6e;
    margin-bottom: 4px;
}

.pyloherb-dashboard__segment-value {
    display: block;
    font-size: 22px;
    font-weight: 700;
    color: #1a3d2e;
    line-height: 1.2;
}

.pyloherb-dashboard__segment-hint {
    margin-top: 6px;
    font-size: 13px;
    color: #5c6b60;
}

.pyloherb-dashboard__segment-badge {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #e8eee8;
    color: #1a3d2e;
    font-size: 22px;
    flex-shrink: 0;
}

.pyloherb-dashboard__segment--loyal {
    background: #eef7f0;
    border-color: #c8e6cf;
}

.pyloherb-dashboard__segment--loyal .pyloherb-dashboard__segment-value {
    color: #1f7a3f;
}

.pyloherb-dashboard__segment--loyal .pyloherb-dashboard__segment-badge {
    background: #d7edd9;
    color: #1f7a3f;
}

.pyloherb-dashboard__segment--vip {
    background: linear-gradient(135deg, #fff9ec 0%, #f5ebcf 100%);
    border-color: #e6d3a0;
}

.pyloherb-dashboard__segment--vip .pyloherb-dashboard__segment-value {
    color: #8a6a1f;
}

.pyloherb-dashboard__segment--vip .pyloherb-dashboard__segment-badge {
    background: #f0e2b5;
    color: #8a6a1f;
}

.pyloherb-dashboard__coupon {
    border-color: #c8dff7 !important;
    background: #f0f7ff;
    color: #2b6cb0;
    border-radius: 12px;
    padding: 14px 18px;
}

.pyloherb-dashboard__coupon-btn {
    background: #3490f3;
    color: #fff;
    border: none;
}

.pyloherb-dashboard__wallet {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 22px;
    background: linear-gradient(135deg, var(--pylo-green) 0%, var(--pylo-green-dark) 100%);
    border-radius: 16px;
    color: #fff;
}

.pyloherb-dashboard__wallet-label {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    opacity: 0.85;
    margin-bottom: 4px;
}

.pyloherb-dashboard__wallet-value {
    display: block;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.2;
}

.pyloherb-dashboard__wallet-meta {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    opacity: 0.8;
}

.pyloherb-dashboard__wallet-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.pyloherb-dashboard__wallet-btn {
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border-radius: 999px;
    padding: 8px 18px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.pyloherb-dashboard__wallet-link {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.9);
    font-size: 12px;
    text-decoration: underline;
    cursor: pointer;
    padding: 0;
}

.pyloherb-dashboard__hero {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.pyloherb-dashboard__hero--single {
    grid-template-columns: minmax(0, 1fr);
}

.pyloherb-dashboard__hero-card {
    border-radius: 16px;
    padding: 22px 24px;
    color: #fff;
    min-height: 148px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 10px 28px rgba(26, 61, 46, 0.12);
}

.pyloherb-dashboard__hero-card--green {
    background: linear-gradient(135deg, #1a3d2e 0%, #245a42 100%);
}

.pyloherb-dashboard__hero-card--gold {
    background: linear-gradient(135deg, #e8a317 0%, #f0c040 55%, #d4920f 100%);
}

.pyloherb-dashboard__hero-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.pyloherb-dashboard__hero-label {
    margin: 0 0 6px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.9;
}

.pyloherb-dashboard__hero-value {
    margin: 0;
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 700;
    line-height: 1.15;
}

.pyloherb-dashboard__hero-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.pyloherb-dashboard__hero-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 14px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.92);
    text-decoration: none;
}

.pyloherb-dashboard__hero-link:hover {
    color: #fff;
    text-decoration: underline;
}

.pyloherb-dashboard__stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.pyloherb-dashboard__stat-card {
    background: var(--pylo-white);
    border-radius: 14px;
    padding: 20px 18px;
    text-align: center;
    border: 1px solid rgba(26, 61, 46, 0.06);
    box-shadow: 0 4px 18px rgba(26, 61, 46, 0.05);
}

.pyloherb-dashboard__stat-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 10px;
}

.pyloherb-dashboard__stat-icon--cart {
    background: #fde8ea;
    color: #d43533;
}

.pyloherb-dashboard__stat-icon--wish {
    background: #e8f1fd;
    color: #3490f3;
}

.pyloherb-dashboard__stat-icon--order {
    background: #e8f5ea;
    color: #4a9b5f;
}

.pyloherb-dashboard__stat-value {
    margin: 0 0 4px;
    font-size: 28px;
    font-weight: 700;
    color: var(--pylo-text);
    line-height: 1.1;
}

.pyloherb-dashboard__stat-label {
    margin: 0;
    font-size: 13px;
    color: var(--pylo-muted);
    line-height: 1.4;
}

.pyloherb-dashboard__section {
    background: transparent;
}

.pyloherb-dashboard__section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.pyloherb-dashboard__section-title {
    margin: 0;
    font-family: var(--pylo-serif);
    font-size: clamp(20px, 2.2vw, 26px);
    font-weight: 700;
    color: var(--pylo-green);
}

.pyloherb-dashboard__subsection-title {
    margin: 22px 0 12px;
    font-size: 15px;
    font-weight: 700;
    color: var(--pylo-text);
}

.pyloherb-dashboard__add-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border: 1px solid var(--pylo-green);
    border-radius: 999px;
    background: transparent;
    color: var(--pylo-green);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.pyloherb-dashboard__add-btn:hover {
    background: var(--pylo-green);
    color: #fff;
}

.pyloherb-dashboard__address-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.pyloherb-dash-address-card {
    background: var(--pylo-white);
    border-radius: 14px;
    border: 1px solid rgba(26, 61, 46, 0.08);
    box-shadow: 0 4px 18px rgba(26, 61, 46, 0.05);
    padding: 18px 18px 16px;
    display: flex;
    flex-direction: column;
    min-height: 200px;
}

.pyloherb-dash-address-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 14px;
}

.pyloherb-dash-address-card__head h3 {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    color: var(--pylo-text);
}

.pyloherb-dash-address-card__badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 6px;
    background: var(--pylo-green);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.pyloherb-dash-address-card__badge--billing {
    background: #5a7fc9;
}

.pyloherb-dash-address-card__body {
    flex: 1;
}

.pyloherb-dash-address-card__name {
    margin: 0 0 6px;
    font-size: 15px;
    font-weight: 700;
    color: var(--pylo-text);
}

.pyloherb-dash-address-card__line,
.pyloherb-dash-address-card__phone {
    margin: 0 0 4px;
    font-size: 13px;
    color: var(--pylo-muted);
    line-height: 1.5;
}

.pyloherb-dash-address-card__empty {
    margin: 0;
    font-size: 13px;
    color: var(--pylo-muted);
}

.pyloherb-dash-address-card__actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid #f0ebe3;
}

.pyloherb-dashboard__address-edit-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border: 1px solid #ddd6c8;
    border-radius: 10px;
    background: #faf8f4;
    color: var(--pylo-text);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    cursor: pointer;
    text-decoration: none;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.pyloherb-dashboard__address-edit-btn:hover {
    border-color: var(--pylo-green);
    background: #fff;
    color: var(--pylo-green);
}

.pyloherb-dash-address-card__delete {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ecd9d9;
    border-radius: 10px;
    background: #fff5f5;
    color: #d43533;
    font-size: 18px;
    text-decoration: none;
    flex-shrink: 0;
}

.pyloherb-dash-address-card__delete:hover {
    background: #fde8ea;
    color: #b71c1c;
}

/* ── Profile page addresses ── */
.pyloherb-profile-addresses {
    margin: 0 0 24px;
    padding: 22px 22px 20px;
    background: #faf9f6;
    border: 1px solid rgba(26, 61, 46, 0.08);
    border-radius: 16px;
}

.pyloherb-profile-addresses__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.pyloherb-profile-addresses__title {
    margin: 0 0 4px;
    font-family: var(--pylo-serif);
    font-size: clamp(1.25rem, 2vw, 1.55rem);
    font-weight: 700;
    color: var(--pylo-green-dark, #0f261c);
}

.pyloherb-profile-addresses__subtitle {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: var(--pylo-muted);
}

.pyloherb-profile-addresses__grid {
    align-items: stretch;
}

.pyloherb-profile-address-card.is-featured {
    border-color: rgba(26, 61, 46, 0.18);
    box-shadow: 0 8px 24px rgba(26, 61, 46, 0.07);
}

.pyloherb-profile-address-card__label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.pyloherb-profile-address-card__pin {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #eef5f0;
    color: var(--pylo-green);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    flex-shrink: 0;
}

.pyloherb-profile-address-card__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: flex-end;
}

.pyloherb-profile-address-card__badges .pyloherb-dash-address-card__badge {
    white-space: nowrap;
}

.pyloherb-dash-address-card__phone i {
    margin-right: 4px;
    opacity: 0.75;
}

.pyloherb-profile-address-card__more {
    flex-shrink: 0;
}

.pyloherb-profile-address-card__more-btn {
    width: 42px;
    height: 42px;
    border: 1px solid #e5e0d6;
    border-radius: 10px;
    background: #fff;
    color: var(--pylo-muted);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.pyloherb-profile-address-card__more-btn:hover,
.pyloherb-profile-address-card__more.show .pyloherb-profile-address-card__more-btn {
    border-color: var(--pylo-green);
    color: var(--pylo-green);
}

.pyloherb-profile-address-add {
    min-height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 24px;
    border: 1.5px dashed rgba(26, 61, 46, 0.22);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.65);
    color: var(--pylo-green-dark, #0f261c);
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.pyloherb-profile-address-add:hover {
    border-color: var(--pylo-green);
    background: #fff;
    color: var(--pylo-green);
}

.pyloherb-profile-address-add__icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #eef5f0;
    color: var(--pylo-green);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.pyloherb-profile-address-add__text {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.pyloherb-profile-addresses__empty {
    text-align: center;
    padding: var(--pylo-space-lg) var(--pylo-space-sm);
    background: #fff;
    border-radius: 14px;
    border: 1px solid rgba(26, 61, 46, 0.08);
}

.pyloherb-profile-addresses__empty-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 14px;
    border-radius: 50%;
    background: #eef5f0;
    color: var(--pylo-green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

.pyloherb-profile-addresses__empty h3 {
    margin: 0 0 6px;
    font-size: 16px;
    font-weight: 700;
    color: var(--pylo-text);
}

.pyloherb-profile-addresses__empty p {
    margin: 0 0 16px;
    font-size: 14px;
    color: var(--pylo-muted);
}

@media (max-width: 767.98px) {
    .pyloherb-profile-addresses {
        padding: 16px;
    }

    .pyloherb-profile-addresses__head .pyloherb-dashboard__add-btn {
        width: 100%;
        justify-content: center;
    }

    .pyloherb-profile-address-card__head,
    .pyloherb-dash-address-card__head {
        flex-direction: column;
        align-items: flex-start;
    }

    .pyloherb-profile-address-card__badges {
        justify-content: flex-start;
    }
}

.pyloherb-dashboard__package-card {
    background: var(--pylo-white);
    border-radius: 14px;
    border: 1px solid rgba(26, 61, 46, 0.08);
    padding: 18px;
}

.pyloherb-dashboard__package-logo {
    width: 56px;
    height: 56px;
    object-fit: contain;
}

.pyloherb-dash__other-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pyloherb-dash-address-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    background: var(--pylo-white);
    border: 1px solid rgba(26, 61, 46, 0.08);
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(26, 61, 46, 0.04);
}

.pyloherb-dash-address-row__icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #f0f7f2;
    color: var(--pylo-green);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.pyloherb-dash-address-row__body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 13px;
    color: var(--pylo-muted);
    line-height: 1.45;
}

.pyloherb-dash-address-row__body strong {
    font-size: 14px;
    color: var(--pylo-text);
    font-weight: 700;
}

.pyloherb-dash-address-row__phone {
    color: var(--pylo-muted);
}

.pyloherb-dash-address-row__menu-btn {
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 8px;
    background: #f3f1ec;
    color: var(--pylo-muted);
    font-size: 18px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.pyloherb-dash-address-row__menu-btn:hover {
    background: #e8e4dc;
    color: var(--pylo-text);
}

@media (max-width: 1199px) {
    .pyloherb-account__sidebar {
        flex: 0 0 250px;
        max-width: 250px;
    }
}

@media (max-width: 991px) {
    .pyloherb-account__layout {
        flex-direction: column;
        gap: 20px;
    }

    .pyloherb-account__sidebar {
        flex: none;
        max-width: 100%;
        width: 100%;
    }

    .pyloherb-dashboard__hero {
        grid-template-columns: 1fr;
    }

    .pyloherb-dashboard__stats {
        grid-template-columns: 1fr;
    }

    .pyloherb-dashboard__address-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575px) {
    .pyloherb-account {
        padding-top: 24px !important;
        padding-bottom: 24px !important;
    }

    .pyloherb-dashboard__section-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .pyloherb-dashboard__add-btn {
        width: 100%;
        justify-content: center;
    }

    .pyloherb-dashboard__wallet {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* =========================================================================
   PyLoHerb — Responsive hardening layer (áp cho toàn bộ frontend)
   Mục tiêu: chặn tràn ngang, media co giãn, header laptop, hero mobile,
   grid/table reflow. pyloherb.css chỉ nạp ở frontend nên an toàn dùng
   html/body ở đây (không ảnh hưởng admin/seller).
   ========================================================================= */

/* 1) Chặn cuộn ngang — không overflow-x trên html/body/wrapper (cắt dropdown thông báo/account).
   Media/text đã có max-width + overflow-wrap bên dưới. */
html,
body {
    max-width: 100%;
}

/* 2) Media luôn co theo khung, không đẩy tràn layout */
.aiz-main-wrapper img,
.aiz-main-wrapper svg,
.aiz-main-wrapper video,
.aiz-main-wrapper iframe,
.aiz-main-wrapper embed,
.aiz-main-wrapper object {
    max-width: 100%;
}

.aiz-main-wrapper iframe {
    height: auto;
}

.aiz-main-wrapper .pylo-contact__map-wrap iframe {
    height: 100%;
}

/* 3) Chuỗi dài (URL, mã, tên SP không dấu cách) không làm vỡ khung */
.aiz-main-wrapper p,
.aiz-main-wrapper h1,
.aiz-main-wrapper h2,
.aiz-main-wrapper h3,
.aiz-main-wrapper h4,
.aiz-main-wrapper h5,
.aiz-main-wrapper h6,
.aiz-main-wrapper li,
.aiz-main-wrapper a,
.aiz-main-wrapper span {
    overflow-wrap: break-word;
    word-wrap: break-word;
}

/* 4) Con của flex/grid được phép co (fix overflow do min-width:auto mặc định) */
.aiz-main-wrapper .row>[class*="col"] {
    min-width: 0;
}

/* 5) Bảng dữ liệu (đơn hàng, dashboard) cuộn ngang thay vì vỡ trang */
.aiz-main-wrapper .table-responsive {
    -webkit-overflow-scrolling: touch;
}

/* ── Laptop nhỏ (≤1199px): giữ logo full-size, thu gọn search; menu dư vào More ── */
@media (max-width: 1199.98px) and (min-width: 992px) {
    .pyloherb-header__nav-list {
        gap: 20px;
    }

    .pyloherb-header__nav-link {
        font-size: 13px;
    }

    .pyloherb-header__actions {
        gap: 12px;
    }

    .pyloherb-header__search-wrap {
        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;
        padding: 0 8px 0 14px !important;
    }

    .pyloherb-header__inner {
        gap: 16px;
    }

    .pyloherb-header__logo-img {
        height: 48px !important;
        width: auto !important;
        max-width: none !important;
    }
}

/* ── Hero: keep min-height / title size in sync with critical CSS (CLS) ── */
@media (max-width: 991.98px) {
    .pyloherb-hero {
        min-height: var(--pylo-banner-height-tablet);
        height: var(--pylo-banner-height-tablet);
        max-height: var(--pylo-banner-height-tablet);
        align-items: center;
    }

    .pyloherb-hero__bg,
    .pyloherb-hero__bg-img {
        object-fit: cover;
        object-position: center;
    }

    .pyloherb-hero__content {
        padding: 18px 0 22px;
        max-width: 100%;
    }

    .pyloherb-hero__title {
        font-size: clamp(1.25rem, 4vw, 1.75rem);
        margin-bottom: 8px;
        line-height: 1.22;
    }

    .pyloherb-hero__desc {
        font-size: 13px;
        margin-bottom: 12px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .pyloherb-hero__actions .pyloherb-btn {
        padding: 10px 16px;
        font-size: 11px;
    }

    .pyloherb-hero__dots {
        bottom: 10px;
    }
}

@media (max-width: 575.98px) {
    .pyloherb-hero {
        min-height: var(--pylo-banner-height-mobile);
        height: var(--pylo-banner-height-mobile);
        max-height: var(--pylo-banner-height-mobile);
    }

    .pyloherb-hero__content {
        padding: 12px 0 16px;
    }

    .pyloherb-hero__eyebrow {
        margin-bottom: 6px;
        font-size: 10px;
    }

    .pyloherb-hero__title {
        font-size: clamp(1.05rem, 4.8vw, 1.35rem);
        margin-bottom: 0;
        line-height: 1.25;
    }

    .pyloherb-hero__desc,
    .pyloherb-hero__actions {
        display: none;
    }

    .pyloherb-hero__arrow {
        width: 30px;
        height: 30px;
    }

    .pyloherb-hero__dots {
        bottom: 8px;
    }
}

/* Page banners (listing / store / categories …): cùng chiều cao mobile với home hero */
@media (max-width: 991.98px) {

    .pyloherb-listing-hero,
    .pyloherb-listing-hero.pyloherb-listing-hero--search,
    .pylo-hero,
    .pyloherb-offers-hero,
    .pyloherb-bs__hero,
    .pyloherb-fd-detail-hero {
        min-height: var(--pylo-banner-height-tablet);
        height: var(--pylo-banner-height-tablet);
        max-height: var(--pylo-banner-height-tablet);
        overflow: hidden;
    }

    .pylo-hero img {
        height: 100%;
        min-height: 0;
        object-fit: cover;
        object-position: center;
    }

    .pyloherb-bs__hero:not(.pyloherb-bs__hero--picture) {
        background-image: var(--pylo-bs-hero-bg-mobile, var(--pylo-bs-hero-bg, none));
    }

    .pyloherb-listing-hero__inner,
    .pyloherb-listing-hero--search .pyloherb-listing-hero__inner {
        padding: var(--pylo-banner-pad-y, 14px) var(--pylo-banner-pad-x, 16px);
    }

    .pyloherb-listing-hero__title,
    .pyloherb-listing-hero--search .pyloherb-listing-hero__title {
        font-size: clamp(1.15rem, 3.6vw, 1.55rem);
        margin-bottom: 6px;
        white-space: normal;
        overflow-wrap: anywhere;
        word-break: break-word;
        line-height: 1.22;
    }

    .pyloherb-listing-hero__desc,
    .pyloherb-listing-hero--search .pyloherb-listing-hero__desc {
        font-size: 13px;
        line-height: 1.4;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
}

@media (max-width: 575.98px) {

    .pyloherb-listing-hero,
    .pyloherb-listing-hero.pyloherb-listing-hero--search,
    .pylo-hero,
    .pyloherb-offers-hero,
    .pyloherb-bs__hero,
    .pyloherb-fd-detail-hero {
        min-height: var(--pylo-banner-height-mobile);
        height: var(--pylo-banner-height-mobile);
        max-height: var(--pylo-banner-height-mobile);
    }

    .pyloherb-listing-hero__inner,
    .pyloherb-listing-hero--search .pyloherb-listing-hero__inner {
        padding: 12px 14px;
    }

    .pyloherb-listing-hero__title,
    .pyloherb-listing-hero--search .pyloherb-listing-hero__title {
        font-size: clamp(1.05rem, 4.8vw, 1.3rem);
        white-space: normal;
        line-height: 1.25;
    }

    .pyloherb-listing-hero__desc,
    .pyloherb-listing-hero--search .pyloherb-listing-hero__desc {
        font-size: 12px;
        -webkit-line-clamp: 2;
    }

    .pylo-hero__copy {
        padding: 12px 14px;
    }
}

/* /blog & /search — cùng scale landscape ngắn */
@media (max-width: 991.98px) {

    .pyloherb-blog .pyloherb-listing-hero,
    .pyloherb-listing-hero.pyloherb-listing-hero--search {
        min-height: var(--pylo-banner-height-mobile-compact);
        height: var(--pylo-banner-height-mobile-compact);
        max-height: var(--pylo-banner-height-mobile-compact);
    }
}

/* ── Container: padding hai bên gọn trên điện thoại ──
   Banner dùng --pylo-banner-pad-x (16px) một lớp — không cộng thêm. */
@media (max-width: 575.98px) {
    .aiz-main-wrapper .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    /* Listing: hero full-bleed; product wrap tự pad bên dưới */
    .aiz-main-wrapper .pyloherb-listing.container,
    .aiz-main-wrapper .pyloherb-listing .container.pyloherb-listing__wrap {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .aiz-main-wrapper .pyloherb-blog .container.pyloherb-blog__wrap {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    .aiz-main-wrapper .pyloherb-listing__products-wrap {
        padding: 12px 16px;
    }
}

/* ── An toàn cho các lưới sản phẩm/khối: tự xuống hàng, không tràn ── */
@media (max-width: 991.98px) {

    .pyloherb-products-grid,
    .pyloherb-listing__grid,
    .pyloherb-dashboard__stats,
    .pyloherb-dashboard__address-grid {
        max-width: 100%;
    }
}

@media (max-width: 767.98px) {
    .pyloherb-products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }
}

/* ── Topbar chạy chữ: không cho tràn/đẩy chiều ngang ── */
.top-banner,
.top-banner .container,
.top-banner .top-banner-scroll-text {
    max-width: 100%;
    overflow: hidden;
}

/* ── PDP related + last viewed: reuse home product rail cards ── */
.pyloherb-related-products {
    padding: var(--pylo-space-lg) 0;
}

.pyloherb-related-products .pyloherb-section__head,
.pyloherb-last-viewed .pyloherb-section__head {
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.pyloherb-related-products .pyloherb-section__head>div,
.pyloherb-last-viewed .pyloherb-section__head>div {
    width: 100%;
    text-align: center;
}

.pyloherb-related-products .pyloherb-section__title,
.pyloherb-related-products .pyloherb-section__subtitle,
.pyloherb-last-viewed .pyloherb-section__title,
.pyloherb-last-viewed .pyloherb-section__subtitle {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.pyloherb-last-viewed {
    background: #faf9f7;
    border-top: 1px solid rgba(15, 38, 28, 0.06);
}

/* legacy related carousel styles kept inert when using product_box_1 */
.related-product-container .aiz-carousel {
    margin-left: -6px;
    margin-right: -6px;
}

.related-product-container .related-product-card,
.related-product-container .carousel-box.related-product-card {
    border: 1px solid rgba(26, 61, 46, 0.12);
    border-radius: 12px;
    background: #fff;
    padding: 10px;
    margin: 0 6px;
    height: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

.related-product-container .related-product-card__media,
.related-product-container .related-product-card .img {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
    background: #f3f3f3;
}

.related-product-container .related-product-card__body {
    padding: 10px 2px 2px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.related-product-container .related-product-card__title {
    font-size: 13px;
    font-weight: 400;
    line-height: 1.4;
    margin: 0;
    min-height: 2.8em;
}

.related-product-container .related-product-card__price {
    font-size: 14px;
    font-weight: 700;
    color: var(--pylo-text, #1a1a1a);
}

.related-product-container .related-product-card__price-old {
    margin-left: 6px;
    font-weight: 600;
    opacity: 0.55;
}

/* ── PDP related / same-seller: ảnh luôn fill ô, không nham nhở ── */
.related-product-container .img,
.frequently-bought-container .img {
    flex-shrink: 0;
    background: #f3f3f3;
}

.related-product-container .img>a,
.frequently-bought-container .img>a {
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
}

.related-product-container .img img,
.frequently-bought-container .img img {
    width: 100% !important;
    height: 100% !important;
    max-height: none !important;
    object-fit: contain !important;
    object-position: center center !important;
    margin: 0 !important;
}

.related-product-container .img .product-hover-image,
.frequently-bought-container .img .product-hover-image {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

/* Fixed site header (header1–6) — sticky-top bị phá bởi overflow-x:clip trên html/body */
.pylo-site-header.is-fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1020;
    background: #fff;
    overflow: visible;
    transition: box-shadow 0.2s ease;
    font-size: 0;
    line-height: 0;
}

.pylo-site-header.is-fixed>* {
    font-size: 1rem;
    line-height: normal;
}

.pylo-site-header.is-fixed.is-scrolled {
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
}

.pylo-site-header.is-fixed .sticky-top,
.pylo-site-header.is-fixed .stikcy-header-visibility {
    position: relative !important;
    top: auto !important;
    overflow: visible;
}

.pylo-site-header .top-navbar {
    position: relative;
    z-index: 1035;
    overflow: visible;
}

.pylo-site-header .top-navbar .dropdown,
.pylo-site-header .top-navbar .dropdown-menu {
    z-index: 1040;
}

.pylo-site-header .hover-user-top-menu {
    z-index: 1060 !important;
    overflow: visible;
}

.pylo-site-header .logo-bar-area {
    overflow: visible;
}

.pylo-site-header-spacer {
    width: 100%;
    flex-shrink: 0;
    pointer-events: none;
    /* header5 single row (no top-navbar); keep in sync with nav.blade.php inline spacer */
    min-height: 64px;
    height: 64px;
}

/* header5 compact row */
.pylo-site-header header.stikcy-header-visibility,
.pylo-site-header header.sticky-top {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-top: 0 !important;
}

@media (max-width: 767.98px) {
    .pylo-site-header .logo-bar-area>.container>.d-flex {
        min-height: 50px !important;
        padding-top: 2px !important;
        padding-bottom: 2px !important;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .pylo-site-header .logo-bar-area>.container>.d-flex {
        min-height: 64px !important;
        padding-top: 4px !important;
        padding-bottom: 4px !important;
    }
}

.pylo-site-header .logo-bar-area a.d-block {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.pylo-site-header .logo-bar-area a.d-block>#header-logo-preview,
.pylo-site-header .logo-bar-area a.d-block>img.h-md-40px,
.pylo-site-header .logo-bar-area>.container>.d-flex>a.d-block img {
    height: auto !important;
    max-height: 80px !important;
    width: 80px !important;
    max-width: 80px !important;
    object-fit: contain !important;
}

@media (min-width: 768px) {

    .pylo-site-header .logo-bar-area a.d-block>#header-logo-preview,
    .pylo-site-header .logo-bar-area a.d-block>img.h-md-40px,
    .pylo-site-header .logo-bar-area>.container>.d-flex>a.d-block img {
        height: auto !important;
        max-height: 100px !important;
        width: 100px !important;
        max-width: 100px !important;
        object-fit: contain !important;
    }
}

.pylo-site-header .header_menu_links {
    padding-top: 4px !important;
    padding-bottom: 4px !important;
    line-height: 1.2 !important;
}

.pylo-site-header .search-icon-desktop,
.pylo-site-header .pyloherb-header-settings .gear-toggle {
    width: 30px !important;
    height: 30px !important;
}

/* ── Customer notifications (icon list, no type images) ── */
.pylo-notif {
    background: var(--pylo-white);
    border: 1px solid rgba(26, 61, 46, 0.08);
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(26, 61, 46, 0.06);
    overflow: hidden;
}

.pylo-notif__head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 24px 18px;
    border-bottom: 1px solid #eee9e0;
}

.pylo-notif__title {
    margin: 0;
    font-family: var(--pylo-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--pylo-green);
    line-height: 1.2;
}

.pylo-notif__subtitle {
    margin: 6px 0 0;
    font-size: 0.875rem;
    color: var(--pylo-muted);
}

.pylo-notif__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.pylo-notif__select-all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--pylo-muted);
    cursor: pointer;
}

.pylo-notif__select-all input {
    width: 16px;
    height: 16px;
    accent-color: var(--pylo-green);
}

.pylo-notif__delete-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid rgba(26, 61, 46, 0.16);
    background: transparent;
    color: var(--pylo-green);
    border-radius: 999px;
    padding: 8px 14px;
    font-size: 0.8125rem;
    font-weight: 700;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.pylo-notif__delete-btn:hover:not(:disabled) {
    background: var(--pylo-green);
    border-color: var(--pylo-green);
    color: #fff;
}

.pylo-notif__delete-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.pylo-notif__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.pylo-notif__item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 24px;
    border-bottom: 1px solid #f0ece6;
    transition: background 0.2s ease;
}

.pylo-notif__item:last-child {
    border-bottom: 0;
}

.pylo-notif__item:hover {
    background: #faf8f4;
}

.pylo-notif__item.is-unread {
    background: linear-gradient(90deg, rgba(26, 61, 46, 0.05), transparent 60%);
}

.pylo-notif__check {
    display: inline-flex;
    align-items: center;
    margin: 10px 0 0;
    cursor: pointer;
}

.pylo-notif__check input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.pylo-notif__check-box {
    width: 18px;
    height: 18px;
    border: 1.5px solid rgba(26, 61, 46, 0.28);
    border-radius: 4px;
    background: #fff;
    position: relative;
}

.pylo-notif__check input:checked+.pylo-notif__check-box {
    background: var(--pylo-green);
    border-color: var(--pylo-green);
}

.pylo-notif__check input:checked+.pylo-notif__check-box::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 1px;
    width: 5px;
    height: 10px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.pylo-notif__icon {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin-top: 2px;
}

.pylo-notif__icon--order {
    background: rgba(26, 61, 46, 0.1);
    color: var(--pylo-green);
}

.pylo-notif__icon--custom {
    background: rgba(154, 123, 79, 0.14);
    color: var(--pylo-brown);
}

.pylo-notif__icon--preorder,
.pylo-notif__icon--table {
    background: rgba(26, 61, 46, 0.08);
    color: var(--pylo-green-dark);
}

.pylo-notif__icon--default {
    background: #f0ece6;
    color: var(--pylo-muted);
}

.pylo-notif__body {
    min-width: 0;
    flex: 1;
}

.pylo-notif__text {
    margin: 0 0 6px;
    font-size: 0.9375rem;
    line-height: 1.5;
    color: var(--pylo-text);
}

.pylo-notif__link {
    color: var(--pylo-green);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.pylo-notif__link:hover {
    color: var(--pylo-green-dark);
}

.pylo-notif__time {
    display: block;
    font-size: 0.75rem;
    color: var(--pylo-muted);
}

.pylo-notif__empty {
    padding: 56px 24px;
    text-align: center;
}

.pylo-notif__empty-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: #f0ece6;
    color: var(--pylo-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.pylo-notif__empty-title {
    margin: 0 0 8px;
    font-family: var(--pylo-serif);
    font-size: 1.25rem;
    color: var(--pylo-green);
}

.pylo-notif__empty-desc {
    margin: 0 auto 20px;
    max-width: 320px;
    font-size: 0.875rem;
    color: var(--pylo-muted);
}

.pylo-notif__empty-cta {
    display: inline-flex;
    align-items: center;
    padding: 10px 18px;
    border-radius: 999px;
    background: var(--primary, var(--pylo-green));
    color: #fff !important;
    font-size: 0.8125rem;
    font-weight: 700;
}

.pylo-notif__empty-cta:hover {
    background: var(--hov-primary, var(--pylo-green-dark));
    color: #fff !important;
}

.pylo-notif__pagination {
    padding: 16px 24px 20px;
    border-top: 1px solid #eee9e0;
}

@media (max-width: 767.98px) {
    .pylo-notif__head {
        padding: 18px 16px 14px;
    }

    .pylo-notif__item {
        padding: 14px 16px;
        gap: 10px;
    }

    .pylo-notif__delete-btn span {
        display: none;
    }
}

/* =========================================================================
   Unified mobile banner copy — same size + padding for every banner type
   ========================================================================= */
@media (max-width: 767.98px) {

    .pyloherb-hero,
    .pylo-hero,
    .pyloherb-listing-hero,
    .pyloherb-listing-hero.pyloherb-listing-hero--search,
    .pyloherb-blog .pyloherb-listing-hero,
    .pyloherb-offers-hero,
    .pyloherb-bs__hero,
    .pyloherb-fd-detail-hero {
        min-height: var(--pylo-banner-height-mobile) !important;
        height: var(--pylo-banner-height-mobile) !important;
        max-height: var(--pylo-banner-height-mobile) !important;
        overflow: hidden;
        border-radius: 0 !important;
    }

    /* ------------------------------------------------------------------
       One left gutter only (= --pylo-banner-pad-x / 16px).
       Outer shell gets the pad; nested container/content get 0 on X.
       ------------------------------------------------------------------ */

    /* Full-bleed banners: pad the first content shell */
    .pyloherb-hero>.container,
    .pylo-hero__copy,
    .pyloherb-bs__hero>.container,
    .pyloherb-offers-hero>.container,
    .pyloherb-fd-detail-hero>.container {
        box-sizing: border-box !important;
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: var(--pylo-banner-pad-x) !important;
        padding-right: var(--pylo-banner-pad-x) !important;
        padding-top: var(--pylo-banner-pad-y) !important;
        padding-bottom: var(--pylo-banner-pad-y) !important;
    }

    /* Nested inners — no extra horizontal inset */
    .pyloherb-hero__content,
    .pylo-hero__copy>.container,
    .pylo-hero__content,
    .pyloherb-bs__hero-content,
    .pyloherb-offers-hero__panel,
    .pyloherb-fd-detail-hero__panel {
        box-sizing: border-box !important;
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }

    /* Listing page body (hero is outside) — keep normal container gutters */
    .pyloherb-listing.container,
    .pyloherb-listing>.container.pyloherb-listing__wrap,
    .pyloherb-blog>.container.pyloherb-blog__wrap {
        padding-left: var(--pylo-banner-pad-x, 16px) !important;
        padding-right: var(--pylo-banner-pad-x, 16px) !important;
    }

    .pyloherb-listing-hero>.container,
    .pylo-hero__copy>.container,
    .pyloherb-hero>.container,
    .pyloherb-offers-hero>.container,
    .pyloherb-bs__hero>.container,
    .pyloherb-fd-detail-hero>.container {
        padding-left: var(--pylo-banner-pad-x, 16px) !important;
        padding-right: var(--pylo-banner-pad-x, 16px) !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        max-width: 100% !important;
        width: 100% !important;
    }

    .pyloherb-listing-hero__inner,
    .pyloherb-listing-hero--search .pyloherb-listing-hero__inner,
    .pyloherb-blog .pyloherb-listing-hero__inner,
    .pyloherb-hero__content,
    .pylo-hero__content,
    .pyloherb-offers-hero__panel,
    .pyloherb-bs__hero-content,
    .pyloherb-fd-detail-hero__panel {
        box-sizing: border-box !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: var(--pylo-banner-pad-y) 0 !important;
    }

    .pylo-hero__copy {
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: stretch !important;
        inset: 0 !important;
    }

    .pyloherb-listing-hero,
    .pyloherb-listing-hero--search,
    .pyloherb-offers-hero,
    .pyloherb-bs__hero,
    .pyloherb-fd-detail-hero {
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: stretch !important;
    }

    /* /flash-deals: drop cream card — match other page banners on mobile */
    .pyloherb-offers-hero {
        align-items: stretch !important;
    }

    .pyloherb-offers-hero>.container {
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        flex: 1 1 auto !important;
        height: 100% !important;
        min-height: 0 !important;
        position: relative !important;
        z-index: 2 !important;
    }

    .pyloherb-offers-hero__overlay {
        background: linear-gradient(90deg,
                rgba(var(--hero-overlay-rgb, 0, 0, 0), calc(var(--hero-overlay-on, 0) * 0.72)) 0%,
                rgba(var(--hero-overlay-rgb, 0, 0, 0), calc(var(--hero-overlay-on, 0) * 0.35)) 48%,
                rgba(var(--hero-overlay-rgb, 0, 0, 0), calc(var(--hero-overlay-on, 0) * 0.08)) 100%) !important;
    }

    .pyloherb-offers-hero__panel {
        background: transparent !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        max-width: 100% !important;
    }

    .pyloherb-offers-hero__accent {
        display: none !important;
    }

    .pyloherb-offers-hero__eyebrow {
        color: rgba(255, 255, 255, 0.92) !important;
    }

    .pyloherb-offers-hero__title {
        color: #fff !important;
    }

    .pyloherb-offers-hero__desc {
        color: rgba(255, 255, 255, 0.88) !important;
        margin-bottom: 0 !important;
    }

    .pyloherb-offers-hero__actions {
        display: none !important;
    }

    /* Eyebrow */
    .pyloherb-hero__eyebrow,
    .pylo-hero__eyebrow,
    .pyloherb-listing-hero__eyebrow,
    .pyloherb-listing-hero--search .pyloherb-listing-hero__eyebrow,
    .pyloherb-offers-hero__eyebrow,
    .pyloherb-bs__eyebrow,
    .pyloherb-fd-detail-hero__eyebrow {
        display: block !important;
        font-size: var(--pylo-banner-eyebrow-size) !important;
        font-weight: 600 !important;
        letter-spacing: var(--pylo-banner-eyebrow-ls) !important;
        text-transform: uppercase !important;
        line-height: 1.2 !important;
        margin: 0 0 var(--pylo-banner-eyebrow-mb) !important;
    }

    /* Title */
    .pyloherb-hero__title,
    .pylo-hero__h1,
    .pyloherb-listing-hero__title,
    .pyloherb-listing-hero--search .pyloherb-listing-hero__title,
    .pyloherb-offers-hero__title,
    .pyloherb-bs__hero h1,
    .pyloherb-fd-detail-hero__title,
    .pylo-store-page .pylo-hero__h1 {
        font-size: var(--pylo-banner-title-size) !important;
        font-weight: 700 !important;
        font-style: normal !important;
        line-height: var(--pylo-banner-title-lh) !important;
        margin: 0 0 var(--pylo-banner-title-mb) !important;
        white-space: normal !important;
        overflow-wrap: anywhere !important;
        word-break: break-word !important;
        text-shadow: none !important;
    }

    /* Description / subtitle */
    .pyloherb-hero__desc,
    .pylo-hero__subtitle,
    .pyloherb-listing-hero__desc,
    .pyloherb-listing-hero--search .pyloherb-listing-hero__desc,
    .pyloherb-offers-hero__desc,
    .pyloherb-bs__hero p,
    .pylo-store-page .pylo-hero__subtitle {
        font-size: var(--pylo-banner-desc-size) !important;
        line-height: var(--pylo-banner-desc-lh) !important;
        margin: var(--pylo-banner-desc-mb) 0 0 !important;
        max-width: 100% !important;
        white-space: normal !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
    }

    /* Home hero: keep one-line title feel; hide CTA clutter on small phones only below */
    .pyloherb-hero__actions {
        display: none !important;
    }
}

@media (max-width: 575.98px) {
    :root {
        --pylo-banner-pad-x: 16px;
        --pylo-banner-pad-y: 12px;
        --pylo-banner-eyebrow-size: 9px;
        --pylo-banner-eyebrow-mb: 4px;
        --pylo-banner-title-size: var(--pylo-fs-h3);
        --pylo-banner-title-mb: 4px;
        --pylo-banner-desc-size: var(--pylo-fs-sm);
        --pylo-fs-xs: 10px;
        --pylo-fs-sm: 12px;
        --pylo-fs-base: 14px;
        --pylo-fs-md: 14px;
        --pylo-fs-lg: 15px;
        --pylo-fs-h1: clamp(1.35rem, 6vw, 1.65rem);
        --pylo-fs-h2: clamp(1.2rem, 5vw, 1.4rem);
        --pylo-fs-h3: clamp(1.05rem, 4.5vw, 1.25rem);
        --pylo-fs-h4: 1.05rem;
    }

    .pyloherb-hero__desc,
    .pyloherb-hero__actions {
        display: none !important;
    }
}

/* =========================================================================
   Mobile typography — ALL storefront content (not only banners)
   ========================================================================= */
@media (max-width: 767.98px) {
    :root {
        --pylo-fs-xs: 10px;
        --pylo-fs-sm: 12px;
        --pylo-fs-base: 14px;
        --pylo-fs-md: 15px;
        --pylo-fs-lg: 16px;
        --pylo-fs-h1: clamp(1.4rem, 5.5vw, 1.75rem);
        --pylo-fs-h2: clamp(1.25rem, 4.8vw, 1.5rem);
        --pylo-fs-h3: clamp(1.1rem, 4.2vw, 1.3rem);
        --pylo-fs-h4: 1.05rem;
        --pylo-lh-tight: 1.25;
        --pylo-lh-body: 1.55;
        /* Banner copy follows the same scale */
        --pylo-banner-eyebrow-size: var(--pylo-fs-xs);
        --pylo-banner-title-size: var(--pylo-fs-h3);
        --pylo-banner-desc-size: var(--pylo-fs-sm);
    }

    html {
        font-size: 16px;
        -webkit-text-size-adjust: 100%;
        text-size-adjust: 100%;
    }

    body,
    .aiz-main-wrapper,
    .aiz-pyloherb {
        font-size: var(--pylo-fs-base) !important;
        line-height: var(--pylo-lh-body) !important;
    }

    /* Generic headings */
    h1,
    .h1,
    h2,
    .h2,
    h3,
    .h3,
    h4,
    .h4,
    h5,
    .h5,
    h6,
    .h6 {
        line-height: var(--pylo-lh-tight) !important;
    }

    h1,
    .h1 {
        font-size: var(--pylo-fs-h1) !important;
    }

    h2,
    .h2 {
        font-size: var(--pylo-fs-h2) !important;
    }

    h3,
    .h3 {
        font-size: var(--pylo-fs-h3) !important;
    }

    h4,
    .h4 {
        font-size: var(--pylo-fs-h4) !important;
    }

    h5,
    .h5,
    h6,
    .h6 {
        font-size: var(--pylo-fs-md) !important;
    }

    p,
    li,
    td,
    th,
    label,
    .form-control,
    .text-muted,
    .opacity-70,
    .fs-14,
    .fs-15,
    .fs-16,
    .pyloherb-section__desc,
    .pyloherb-whychoose__text,
    .pyloherb-bs__split-text p,
    .pyloherb-bs__cta-inner p,
    .pylo-store-page p,
    .pylo-store-page__intro,
    .pylo-store-page__body {
        font-size: var(--pylo-fs-base) !important;
        line-height: var(--pylo-lh-body) !important;
    }

    .fs-10,
    .fs-11,
    .fs-12 {
        font-size: var(--pylo-fs-sm) !important;
    }

    .fs-13 {
        font-size: var(--pylo-fs-sm) !important;
    }

    .fs-18,
    .fs-20 {
        font-size: var(--pylo-fs-lg) !important;
    }

    small,
    .small,
    .fs-xs {
        font-size: var(--pylo-fs-xs) !important;
    }

    /* Section / listing / page titles */
    .pyloherb-section__title,
    .pyloherb-section__head .pyloherb-section__title,
    .pyloherb-section__head--stacked .pyloherb-section__title,
    .pyloherb-section__head--center .pyloherb-section__title,
    .pyloherb-page__title,
    .pyloherb-blog-detail__title,
    .pyloherb-combo-detail__section-title,
    .pyloherb-dashboard__section-title,
    .pyloherb-related-products .pyloherb-section__title,
    .pyloherb-last-viewed .pyloherb-section__title,
    .pyloherb-pdp__title,
    .product-details h1,
    .pyloherb-bs__split-text h2,
    .pyloherb-bs__cta-inner h2,
    .pyloherb-bs__values h2,
    .pylo-store-page h2,
    .pylo-store-page__title {
        font-size: var(--pylo-fs-h2) !important;
        line-height: var(--pylo-lh-tight) !important;
    }

    .pyloherb-section__desc,
    .pyloherb-section__subtitle,
    .pyloherb-eyebrow,
    .pyloherb-section .pyloherb-eyebrow {
        font-size: var(--pylo-fs-xs) !important;
        line-height: 1.3 !important;
    }

    /* Product cards & prices */
    .pyloherb-product-card__title,
    .pyloherb-product-card__name,
    .aiz-card-box .product-name,
    .aiz-card-box h3,
    .aiz-card-box h4 {
        font-size: var(--pylo-fs-base) !important;
        line-height: 1.35 !important;
    }

    .pyloherb-product-card__price,
    .pyloherb-product-card__price-new,
    .aiz-card-box .price {
        font-size: var(--pylo-fs-md) !important;
    }

    .pyloherb-product-card__meta,
    .pyloherb-product-card__badge,
    .pyloherb-product-card__cat {
        font-size: var(--pylo-fs-xs) !important;
    }

    /* Buttons / nav / forms */
    .btn,
    .pyloherb-btn,
    button.btn {
        font-size: var(--pylo-fs-sm) !important;
    }

    .pyloherb-header__nav-link,
    .pyloherb-header__icon-label {
        font-size: var(--pylo-fs-sm) !important;
    }

    /* Prose / CMS body */
    .pyloherb-prose,
    .pyloherb-page__content,
    .pyloherb-pdp-tabs__prose,
    .pyloherb-blog-detail__body,
    .pyloherb-featured-page__body {
        font-size: var(--pylo-fs-base) !important;
        line-height: var(--pylo-lh-body) !important;
    }

    .pyloherb-prose p:not([style*="line-height"]),
    .pyloherb-page__content p:not([style*="line-height"]),
    .pyloherb-blog-detail__body p:not([style*="line-height"]),
    .pyloherb-pdp-tabs__prose p:not([style*="line-height"]) {
        font-size: var(--pylo-fs-base) !important;
        line-height: var(--pylo-lh-body) !important;
    }

    .pyloherb-prose h1 {
        font-size: var(--pylo-fs-h1) !important;
    }

    .pyloherb-prose h2 {
        font-size: var(--pylo-fs-h2) !important;
    }

    .pyloherb-prose h3,
    .pyloherb-prose .pylo-prose-heading {
        font-size: var(--pylo-fs-h3) !important;
    }

    .pyloherb-prose h4 {
        font-size: var(--pylo-fs-h4) !important;
    }

    .pyloherb-prose li,
    .pyloherb-page__content li,
    .pyloherb-blog-detail__body li {
        font-size: var(--pylo-fs-base) !important;
    }

    /* Listing / filters / sort */
    .pyloherb-listing__title,
    .pyloherb-listing__head h1,
    .pyloherb-listing__head h2 {
        font-size: var(--pylo-fs-h2) !important;
    }

    .pyloherb-listing__sort,
    .pyloherb-listing__filter-btn,
    .pyloherb-listing__toolbar,
    .breadcrumb,
    .pyloherb-pdp__breadcrumb {
        font-size: var(--pylo-fs-sm) !important;
    }

    /* Footer */
    .pyloherb-footer,
    .pyloherb-footer p,
    .pyloherb-footer li,
    .pyloherb-footer a {
        font-size: var(--pylo-fs-sm) !important;
        line-height: 1.5 !important;
    }

    .pyloherb-footer__title,
    .pyloherb-footer h5,
    .pyloherb-footer h6 {
        font-size: var(--pylo-fs-base) !important;
    }
}

/* =========================================================================
   Unified DESKTOP banners — ALL pages match HOME size
   ========================================================================= */
@media (min-width: 768px) {

    .pyloherb-hero,
    .pylo-hero,
    .pyloherb-listing-hero,
    .pyloherb-listing-hero.pyloherb-listing-hero--search,
    .pyloherb-blog .pyloherb-listing-hero,
    .pyloherb-offers-hero,
    .pyloherb-bs__hero,
    .pyloherb-fd-detail-hero {
        width: 100% !important;
        max-width: none !important;
        min-height: var(--pylo-banner-d-height) !important;
        height: var(--pylo-banner-d-height) !important;
        max-height: var(--pylo-banner-d-height) !important;
        border-radius: 0 !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: stretch !important;
    }

    /* Listing/blog — now full-bleed in markup; no 100vw hack */
    .pyloherb-listing-hero,
    .pyloherb-listing-hero.pyloherb-listing-hero--search,
    .pyloherb-blog .pyloherb-listing-hero {
        position: relative !important;
        left: auto !important;
        width: 100% !important;
        max-width: none !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .pylo-hero img,
    .pyloherb-offers-hero__bg,
    .pyloherb-fd-detail-hero__bg {
        position: absolute !important;
        inset: 0 !important;
        width: 100% !important;
        height: 100% !important;
        min-height: 0 !important;
        object-fit: cover !important;
        background-size: cover !important;
        background-position: center !important;
    }

    .pylo-hero picture,
    .pylo-hero>picture {
        position: absolute !important;
        inset: 0 !important;
        width: 100% !important;
        height: 100% !important;
        display: block !important;
    }

    /* ---- Text left edge = HOME (.container 15px gutters) ---- */
    --pylo-banner-d-pad-top: 48px;
    --pylo-banner-d-pad-bottom: 64px;

    .pylo-hero__copy {
        padding: 0 !important;
        justify-content: center !important;
        position: absolute !important;
        inset: 0 !important;
        z-index: 2 !important;
        display: flex !important;
        flex-direction: column !important;
    }

    /* Same .container as home — do not override max-width or side padding */
    .pyloherb-hero>.container,
    .pylo-hero__copy>.container,
    .pyloherb-offers-hero>.container,
    .pyloherb-fd-detail-hero>.container,
    .pyloherb-bs__hero>.container,
    .pyloherb-listing-hero>.container {
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        flex: 1 1 auto !important;
        min-height: 0 !important;
        height: 100% !important;
        position: relative !important;
        z-index: 2 !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        box-sizing: border-box !important;
    }

    /* Copy: vertical pad only (home .pyloherb-hero__content) */
    .pyloherb-listing-hero__inner,
    .pyloherb-listing-hero--search .pyloherb-listing-hero__inner,
    .pyloherb-blog .pyloherb-listing-hero__inner,
    .pyloherb-hero__content,
    .pylo-hero__content,
    .pyloherb-offers-hero__panel,
    .pyloherb-fd-detail-hero__panel,
    .pyloherb-bs__hero-content {
        box-sizing: border-box !important;
        width: 100% !important;
        max-width: var(--pylo-banner-d-content-max) !important;
        margin: 0 !important;
        padding: var(--pylo-banner-d-pad-top) 0 var(--pylo-banner-d-pad-bottom) !important;
        text-shadow: none !important;
    }

    .pyloherb-offers-hero__overlay,
    .pyloherb-fd-detail-hero__overlay {
        background: linear-gradient(90deg,
                rgba(var(--hero-overlay-rgb, 0, 0, 0), calc(var(--hero-overlay-on, 0) * 0.72)) 0%,
                rgba(var(--hero-overlay-rgb, 0, 0, 0), calc(var(--hero-overlay-on, 0) * 0.45)) 42%,
                rgba(var(--hero-overlay-rgb, 0, 0, 0), calc(var(--hero-overlay-on, 0) * 0.12)) 68%,
                transparent 100%) !important;
    }

    .pyloherb-offers-hero__panel,
    .pyloherb-fd-detail-hero__panel {
        background: transparent !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .pyloherb-offers-hero__accent,
    .pyloherb-fd-detail-hero__accent {
        display: none !important;
    }

    .pyloherb-fd-detail-hero {
        align-items: stretch !important;
        padding: 0 !important;
    }

    .pyloherb-fd-detail-hero__breadcrumb {
        margin-bottom: 12px !important;
        color: rgba(255, 255, 255, 0.85) !important;
    }

    .pyloherb-fd-detail-hero__breadcrumb a,
    .pyloherb-fd-detail-hero__breadcrumb .is-current {
        color: inherit !important;
    }

    /* Type — HOME scale for all banners */
    .pyloherb-hero__eyebrow,
    .pylo-hero__eyebrow,
    .pylo-store-page .pylo-hero__eyebrow,
    .pyloherb-listing-hero__eyebrow,
    .pyloherb-listing-hero--search .pyloherb-listing-hero__eyebrow,
    .pyloherb-offers-hero__eyebrow,
    .pyloherb-bs__eyebrow,
    .pyloherb-fd-detail-hero__eyebrow {
        display: block !important;
        font-size: var(--pylo-banner-d-eyebrow-size) !important;
        font-weight: 600 !important;
        letter-spacing: var(--pylo-banner-d-eyebrow-ls) !important;
        text-transform: uppercase !important;
        line-height: 1.2 !important;
        margin: 0 0 var(--pylo-banner-d-eyebrow-mb) !important;
        opacity: 0.92 !important;
    }

    .pyloherb-offers-hero__eyebrow,
    .pyloherb-fd-detail-hero__eyebrow,
    .pyloherb-listing-hero__eyebrow,
    .pyloherb-listing-hero--search .pyloherb-listing-hero__eyebrow {
        color: rgba(255, 255, 255, 0.92) !important;
    }

    .pyloherb-hero__title,
    .pylo-hero__h1,
    .pylo-store-page .pylo-hero__h1,
    .pyloherb-listing-hero__title,
    .pyloherb-listing-hero--search .pyloherb-listing-hero__title,
    .pyloherb-offers-hero__title,
    .pyloherb-bs__hero h1,
    .pyloherb-fd-detail-hero__title {
        font-size: var(--pylo-banner-d-title-size) !important;
        font-weight: 700 !important;
        font-style: normal !important;
        line-height: var(--pylo-banner-d-title-lh) !important;
        margin: 0 0 var(--pylo-banner-d-title-mb) !important;
        letter-spacing: normal !important;
        text-shadow: none !important;
        overflow-wrap: anywhere !important;
        word-break: break-word !important;
    }

    .pyloherb-offers-hero__title,
    .pyloherb-fd-detail-hero__title,
    .pyloherb-listing-hero__title,
    .pyloherb-listing-hero--search .pyloherb-listing-hero__title {
        color: #fff !important;
    }

    .pyloherb-hero__desc,
    .pylo-hero__subtitle,
    .pylo-store-page .pylo-hero__subtitle,
    .pyloherb-listing-hero__desc,
    .pyloherb-listing-hero--search .pyloherb-listing-hero__desc,
    .pyloherb-offers-hero__desc,
    .pyloherb-bs__hero p {
        font-size: var(--pylo-banner-d-desc-size) !important;
        line-height: var(--pylo-banner-d-desc-lh) !important;
        margin: 0 0 var(--pylo-banner-d-desc-mb) !important;
        max-width: var(--pylo-banner-d-desc-max) !important;
        opacity: 0.9 !important;
    }

    .pyloherb-hero__desc {
        margin-bottom: 32px !important;
    }

    .pyloherb-offers-hero__desc,
    .pyloherb-listing-hero__desc,
    .pyloherb-listing-hero--search .pyloherb-listing-hero__desc {
        color: rgba(255, 255, 255, 0.9) !important;
        margin-bottom: 24px !important;
    }

    .pyloherb-offers-hero__panel .pyloherb-btn--hero-outline {
        color: #fff !important;
        border-color: rgba(255, 255, 255, 0.85) !important;
    }

    .pyloherb-offers-hero__panel .pyloherb-btn--hero-outline:hover {
        background: #fff !important;
        color: var(--pylo-green-dark, #0f261c) !important;
        border-color: #fff !important;
    }
}

/* Listing/blog hero is already full-bleed in markup */
@media (max-width: 767.98px) {

    .pyloherb-listing-hero,
    .pyloherb-listing-hero.pyloherb-listing-hero--search {
        width: 100% !important;
        max-width: none !important;
        margin-left: 0 !important;
        left: auto !important;
        border-radius: 0 !important;
    }

    .pyloherb-listing-hero>.container {
        padding-left: var(--pylo-banner-pad-x, 16px) !important;
        padding-right: var(--pylo-banner-pad-x, 16px) !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        max-width: 100% !important;
        width: 100% !important;
    }

    .pyloherb-listing-hero__inner,
    .pyloherb-listing-hero--search .pyloherb-listing-hero__inner {
        padding: var(--pylo-banner-pad-y, 14px) 0 !important;
        max-width: 100% !important;
    }
}

/* ── PDP Gallery Square Aspect Ratio ── */
.product-details .main-slider,
.pyloherb-pdp .main-slider,
.main-slider {
    width: 100%;
    aspect-ratio: 1 / 1 !important;
    height: auto !important;
}

.product-details .main-slider .swiper-slide,
.pyloherb-pdp .main-slider .swiper-slide,
.main-slider .swiper-slide {
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1;
}

.product-details .main-slider .swiper-slide img,
.pyloherb-pdp .main-slider .swiper-slide img,
.main-slider .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* ── Thumbnail Gallery Square Aspect Ratio ── */
@media (min-width: 768px) {
    .product-details .product-slider-wrapper .thumb-container,
    .pyloherb-pdp .thumb-container,
    .thumb-container {
        position: absolute !important;
        top: 0 !important;
        bottom: 0 !important;
        left: 15px !important;
        right: 15px !important;
        width: calc(100% - 30px) !important;
        height: 100% !important;
        max-height: 100% !important;
        overflow: hidden !important;
    }

    .product-details .thumb-slider,
    .pyloherb-pdp .thumb-slider,
    .thumb-slider {
        width: 100% !important;
        height: 100% !important;
    }

    .thumb-container.has-buttons .thumb-slider,
    .thumb-container:has(.thumb-slider-btn) .thumb-slider {
        height: calc(100% - 34px) !important;
    }

    .product-details .thumb-slider .swiper-slide,
    .pyloherb-pdp .thumb-slider .swiper-slide,
    .thumb-slider .swiper-slide {
        width: 100% !important;
        aspect-ratio: 1 / 1 !important;
        height: auto !important;
        max-height: unset !important;
    }
}

.product-details .thumb-slider .swiper-slide img,
.pyloherb-pdp .thumb-slider .swiper-slide img,
.thumb-slider .swiper-slide img {
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover !important;
    object-position: center;
}

/* ── PDP Spacing Rules (Header -> Breadcrumb -> Product Block -> Tabs) ── */
.product-details,
.pyloherb-pdp {
    padding-top: 28px !important;
    padding-bottom: 0 !important;
}

.product-details > .container > .pt-30px,
.product-details .pt-30px,
.product-details > .container > .pt-30px.pb-6 {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.product-details .product-slider-wrapper {
    margin-bottom: 0 !important;
}

.product-details #option-choice-form {
    margin-bottom: 0 !important;
}

.product-details .breadcrumb,
.pyloherb-pdp__breadcrumb {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 22px !important;
    font: 12px / 1.4 var(--pylo-sans, sans-serif);
}

.pyloherb-pdp-tabs,
.product-details-nav-tab {
    margin-top: 56px !important;
    margin-bottom: 48px !important;
}

@media (max-width: 991.98px) {
    .pyloherb-pdp-tabs,
    .product-details-nav-tab {
        margin-top: 40px !important;
        margin-bottom: 36px !important;
    }
}

@media (max-width: 767.98px) {
    .product-details,
    .pyloherb-pdp {
        padding-top: 10px !important;
        padding-bottom: 0 !important;
    }

    .product-details > .container > .pt-30px.pb-6,
    .product-details .pt-30px {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }

    .product-details .breadcrumb,
    .pyloherb-pdp__breadcrumb {
        margin-top: 0 !important;
        margin-bottom: 8px !important;
    }

    .product-details .product-slider-wrapper .thumb-container,
    .thumb-container {
        width: 100% !important;
        height: 64px !important;
        margin-top: 10px !important;
        overflow: hidden !important;
    }

    .product-details .thumb-slider,
    .thumb-slider {
        width: 100% !important;
        height: 64px !important;
    }

    .product-details .thumb-slider .swiper-wrapper,
    .thumb-slider .swiper-wrapper {
        display: flex !important;
        flex-direction: row !important;
        height: 64px !important;
    }

    .product-details .thumb-slider .swiper-slide,
    .pyloherb-pdp .thumb-slider .swiper-slide,
    .thumb-slider .swiper-slide {
        width: 64px !important;
        min-width: 64px !important;
        max-width: 64px !important;
        height: 64px !important;
        aspect-ratio: 1 / 1 !important;
        flex-shrink: 0 !important;
        margin-right: 8px !important;
        border-radius: 8px !important;
        overflow: hidden;
    }

    .product-details .thumb-slider .swiper-slide img,
    .pyloherb-pdp .thumb-slider .swiper-slide img,
    .thumb-slider .swiper-slide img {
        width: 100% !important;
        height: 100% !important;
        aspect-ratio: 1 / 1 !important;
        object-fit: cover !important;
    }

    .pyloherb-pdp-tabs,
    .product-details-nav-tab {
        margin-top: 28px !important;
        margin-bottom: 28px !important;
    }
}

/* ── PyLo PDP Trust Badges ── */
.pyloherb-pdp-trust-badges {
    border-top: 1px dashed rgba(26, 61, 46, 0.12) !important;
}

.pyloherb-pdp-trust-badge-item {
    min-height: 28px;
}

.pyloherb-pdp-trust-badge-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    line-height: 1;
}

.pyloherb-pdp-trust-badge-text {
    font-size: 12px;
    font-weight: 600;
    color: var(--pylo-text, #2c2523);
    letter-spacing: -0.01em;
}

.pyloherb-pdp-tabs__btn i {
    opacity: 0.85;
    transition: transform 0.2s ease;
}

.pyloherb-pdp-tabs__btn.is-active i {
    opacity: 1;
    color: var(--pylo-primary, #1a3d2e);
}

/* ── Product Subtitle & Highlights ── */
.product-subtitle h2 {
    color: #9d4915 !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    line-height: 1.45 !important;
    letter-spacing: normal !important;
    text-transform: none !important;
}

@media (min-width: 768px) {
    .product-subtitle h2 {
        font-size: 16px !important;
    }
}

.pyloherb-pdp-highlights {
    border-top: 1px dashed rgba(0, 0, 0, 0.08);
    padding-top: 10px;
}
.pyloherb-pdp-highlights .pyloherb-highlights-content {
    color: #111111;
}
.pyloherb-pdp-highlights .pyloherb-highlights-content p {
    margin-bottom: 4px;
    line-height: 1.5;
}
.pyloherb-pdp-highlights .pyloherb-highlights-content strong,
.pyloherb-pdp-highlights .pyloherb-highlights-content b {
    font-weight: 700;
    display: inline-block;
    margin-bottom: 4px;
}
.pyloherb-pdp-highlights .pyloherb-highlights-content ul {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 0;
}
.pyloherb-pdp-highlights .pyloherb-highlights-content ol {
    list-style: decimal;
    padding-left: 20px;
    margin-bottom: 0;
}
.pyloherb-pdp-highlights .pyloherb-highlights-content ul li,
.pyloherb-pdp-highlights .pyloherb-highlights-content ol li {
    margin-bottom: 4px;
    line-height: 1.45;
}
