﻿/* =========================================================================
   BM Pottery — modern site layer
   Loaded after vendors.css and style.css. Everything new is prefixed "bm-";
   the few overrides of the old theme are grouped at the end.
   ========================================================================= */

:root {
    --bm-plum: #8f2d5a;
    --bm-plum-dark: #5e1c3b;
    --bm-plum-soft: #f6e9ef;
    --bm-clay: #c4693f;
    --bm-clay-soft: #f8ece4;
    --bm-leaf: #3b8a4a;
    --bm-sand: #faf6f1;
    --bm-paper: #ffffff;
    --bm-ink: #2a2225;
    --bm-text: #4a4044;
    --bm-muted: #7a6d72;
    --bm-line: #ebe2da;
    --bm-whatsapp: #1fa855;
    --bm-zalo: #0068ff;
    --bm-radius: 14px;
    --bm-radius-sm: 8px;
    --bm-shadow: 0 1px 2px rgba(42, 34, 37, .06), 0 8px 24px rgba(42, 34, 37, .08);
    --bm-shadow-lg: 0 18px 48px rgba(42, 34, 37, .16);
    --bm-serif: "DM Serif Display", Georgia, "Times New Roman", serif;
    --bm-sans: "Inter", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    --bm-header-h: 96px;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--bm-sans);
    color: var(--bm-text);
    background: var(--bm-paper);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6 { color: var(--bm-ink); }
.bm-serif, .bm-h1, .bm-h2, .bm-h3 { font-family: var(--bm-serif); font-weight: 400; letter-spacing: -.01em; color: var(--bm-ink); }
.bm-h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); line-height: 1.08; margin: 0 0 18px; }
.bm-h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); line-height: 1.15; margin: 0 0 14px; }
.bm-h3 { font-size: 1.45rem; line-height: 1.25; margin: 0 0 10px; }
.bm-eyebrow {
    display: inline-block; font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
    color: var(--bm-plum); margin-bottom: 12px;
}
.bm-lead { font-size: 1.12rem; color: var(--bm-text); max-width: 62ch; }
.bm-muted { color: var(--bm-muted); }
a { color: var(--bm-plum); }
a:hover { color: var(--bm-plum-dark); }
img { max-width: 100%; }
.bm-skip { position: absolute; left: -9999px; top: 8px; z-index: 10001; background: #fff; padding: 8px 14px; border-radius: 6px; }
.bm-skip:focus { left: 8px; }
:focus-visible { outline: 3px solid rgba(143, 45, 90, .45); outline-offset: 2px; }

.bm-container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.bm-section { padding: 84px 0; }
.bm-section--tight { padding: 56px 0; }
.bm-section--sand { background: var(--bm-sand); }
.bm-section--plum { background: var(--bm-plum-dark); color: #f2e6ec; }
.bm-section--plum .bm-h2, .bm-section--plum .bm-h3 { color: #fff; }
.bm-section--plum .bm-eyebrow { color: #f2b9d2; }
.bm-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 36px; flex-wrap: wrap; }
.bm-section-head p { margin: 0; max-width: 60ch; }

/* ---------- buttons ---------- */
.bm-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 13px 22px; border-radius: 999px; border: 2px solid transparent;
    font-family: var(--bm-sans); font-weight: 600; font-size: .95rem; line-height: 1.1;
    text-decoration: none !important; cursor: pointer; transition: background .18s, color .18s, border-color .18s, transform .18s, box-shadow .18s;
    white-space: nowrap;
}
.bm-btn:hover { transform: translateY(-1px); }
.bm-btn--primary { background: var(--bm-plum); color: #fff !important; box-shadow: 0 6px 16px rgba(143, 45, 90, .25); }
.bm-btn--primary:hover { background: var(--bm-plum-dark); color: #fff !important; }
.bm-btn--outline { border-color: var(--bm-plum); color: var(--bm-plum) !important; background: transparent; }
.bm-btn--outline:hover { background: var(--bm-plum); color: #fff !important; }
.bm-btn--light { background: #fff; color: var(--bm-ink) !important; }
.bm-btn--light:hover { background: var(--bm-plum-soft); }
.bm-btn--ghost-light { border-color: rgba(255, 255, 255, .7); color: #fff !important; }
.bm-btn--ghost-light:hover { background: rgba(255, 255, 255, .14); }
.bm-btn--whatsapp { background: var(--bm-whatsapp); color: #fff !important; }
.bm-btn--whatsapp:hover { background: #178a45; }
.bm-btn--zalo { background: var(--bm-zalo); color: #fff !important; }
.bm-btn--zalo:hover { background: #0052c9; }
.bm-btn--sm { padding: 9px 16px; font-size: .88rem; }
.bm-btn--block { width: 100%; }
.bm-zalo-mark { font-weight: 800; font-size: .78rem; letter-spacing: .02em; background: #fff; color: var(--bm-zalo); border-radius: 4px; padding: 1px 4px; }

/* ---------- top bar ---------- */
.bm-topbar { background: var(--bm-plum-dark); color: #f3e3ea; font-size: .84rem; }
.bm-topbar .bm-container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; }
/* Badges (text) and contact links must look identical: same colour, size and weight, overriding the old theme's link styles */
.bm-topbar .bm-topbar__badge, .bm-topbar a, .bm-topbar a:visited {
    display: inline-flex; align-items: center; color: #fff !important; font-family: var(--bm-sans);
    font-size: .84rem !important; font-weight: 500; line-height: 1.2; letter-spacing: 0; text-transform: none; text-decoration: none !important;
}
.bm-topbar a:hover { color: #f2b9d2 !important; }
.bm-topbar__left, .bm-topbar__right { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.bm-topbar .fa { margin-right: 6px; font-size: .95em; color: inherit; opacity: .85; }
.bm-topbar__badge { display: inline-flex; align-items: center; gap: 6px; }

/* ---------- header ---------- */
.bm-header { position: sticky; top: 0; z-index: 1000; background: rgba(255, 255, 255, .97); backdrop-filter: saturate(140%) blur(8px); border-bottom: 1px solid var(--bm-line); transition: box-shadow .2s; }
.bm-header.is-scrolled { box-shadow: 0 6px 24px rgba(42, 34, 37, .08); }
.bm-header__bar { display: flex; align-items: center; gap: 22px; height: var(--bm-header-h); }
.bm-logo { display: inline-flex; align-items: center; flex-shrink: 0; }
.bm-logo img { height: 76px; width: auto; display: block; }
.bm-nav { flex: 1; }
.bm-nav__list { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.bm-nav__item { position: relative; }
.bm-nav__link {
    display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 999px;
    color: var(--bm-ink); font-weight: 500; font-size: .96rem; text-decoration: none !important; background: none; border: 0; cursor: pointer; white-space: nowrap;
}
/* "Products" is a <button> (it opens the menu); make it look exactly like the link items */
a.bm-nav__link, button.bm-nav__link {
    font-family: var(--bm-sans) !important; font-size: .96rem !important; font-weight: 500 !important; line-height: 1.2 !important;
    letter-spacing: 0 !important; text-transform: none !important; color: var(--bm-ink); height: auto; min-height: 0; margin: 0;
    box-shadow: none; -webkit-appearance: none; appearance: none;
}
.bm-nav__link:hover, .bm-nav__link[aria-expanded="true"], .bm-nav__link.is-active { background: var(--bm-plum-soft); color: var(--bm-plum); }
.bm-nav__link .fa-angle-down { transition: transform .2s; }
.bm-nav__link[aria-expanded="true"] .fa-angle-down { transform: rotate(180deg); }

.bm-mega {
    position: absolute; left: 0; top: calc(100% + 10px); width: min(860px, 86vw);
    background: #fff; border: 1px solid var(--bm-line); border-radius: var(--bm-radius); box-shadow: var(--bm-shadow-lg);
    padding: 22px; display: none; z-index: 1001;
}
.bm-mega.is-open { display: block; }
.bm-mega__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px 18px; }
.bm-mega__link { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: var(--bm-radius-sm); color: var(--bm-ink); text-decoration: none !important; }
.bm-mega__link:hover { background: var(--bm-sand); color: var(--bm-plum); }
.bm-mega__thumb { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; background: var(--bm-sand); flex-shrink: 0; }
.bm-mega__name { font-weight: 500; font-size: .93rem; line-height: 1.2; }
.bm-mega__count { display: block; font-size: .78rem; color: var(--bm-muted); }
.bm-mega__foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; border-top: 1px solid var(--bm-line); margin-top: 14px; padding-top: 14px; flex-wrap: wrap; }

.bm-header__actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.bm-search { position: relative; }
.bm-search input {
    width: 210px; height: 42px; border-radius: 999px; border: 1px solid var(--bm-line); background: var(--bm-sand);
    padding: 0 16px 0 40px; font-size: .92rem; color: var(--bm-ink); transition: width .2s, border-color .2s, background .2s;
}
.bm-search input:focus { width: 260px; background: #fff; border-color: var(--bm-plum); outline: none; }
.bm-search .fa { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: var(--bm-muted); }
.bm-icon-btn {
    position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    height: 42px; min-width: 42px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--bm-line); background: #fff;
    color: var(--bm-ink) !important; text-decoration: none !important; font-size: .9rem; font-weight: 500; cursor: pointer; white-space: nowrap;
}
.bm-icon-btn:hover { border-color: var(--bm-plum); color: var(--bm-plum) !important; }
.bm-icon-btn .fa { font-size: 1.05rem; }
.bm-count {
    display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 20px; padding: 0 6px;
    border-radius: 999px; background: var(--bm-plum); color: #fff; font-size: .74rem; font-weight: 700;
}
.bm-account { position: relative; }
.bm-account__menu {
    position: absolute; right: 0; top: calc(100% + 8px); min-width: 220px; background: #fff; border: 1px solid var(--bm-line);
    border-radius: var(--bm-radius-sm); box-shadow: var(--bm-shadow-lg); padding: 8px; display: none; z-index: 1001;
}
.bm-account__menu.is-open { display: block; }
.bm-account__menu a, .bm-account__menu button {
    display: block; width: 100%; text-align: left; padding: 9px 12px; border-radius: 6px; color: var(--bm-ink); text-decoration: none !important;
    background: none; border: 0; font-size: .92rem; cursor: pointer;
}
.bm-account__menu a:hover, .bm-account__menu button:hover { background: var(--bm-sand); color: var(--bm-plum); }
.bm-account__hello { padding: 6px 12px 10px; border-bottom: 1px solid var(--bm-line); margin-bottom: 6px; font-size: .84rem; color: var(--bm-muted); }
.bm-burger { display: none; }

/* mobile drawer */
.bm-drawer { position: fixed; inset: 0; z-index: 2000; display: none; }
.bm-drawer.is-open { display: block; }
.bm-drawer__scrim { position: absolute; inset: 0; background: rgba(30, 20, 25, .45); }
.bm-drawer__panel {
    position: absolute; top: 0; right: 0; bottom: 0; width: min(380px, 88vw); background: #fff; overflow-y: auto;
    padding: 18px 20px 32px; box-shadow: var(--bm-shadow-lg); animation: bm-slide .22s ease-out;
}
@keyframes bm-slide { from { transform: translateX(30px); opacity: .4; } to { transform: none; opacity: 1; } }
.bm-drawer__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.bm-drawer__head img { height: 60px; }
.bm-drawer__nav { list-style: none; padding: 0; margin: 0 0 18px; }
.bm-drawer__nav > li > a, .bm-drawer__nav summary {
    display: flex; justify-content: space-between; align-items: center; padding: 13px 4px; border-bottom: 1px solid var(--bm-line);
    color: var(--bm-ink); font-weight: 500; text-decoration: none; cursor: pointer; list-style: none;
}
.bm-drawer__nav summary::-webkit-details-marker { display: none; }
.bm-drawer__cats { list-style: none; padding: 6px 0 10px 10px; margin: 0; columns: 2; column-gap: 14px; }
.bm-drawer__cats a { display: block; padding: 6px 0; font-size: .92rem; color: var(--bm-text); text-decoration: none; break-inside: avoid; }
.bm-drawer .bm-search input, .bm-drawer .bm-search input:focus { width: 100%; }
.bm-drawer__actions { display: grid; gap: 10px; margin-top: 16px; }

/* ---------- hero ---------- */
.bm-hero { position: relative; min-height: min(78vh, 720px); display: flex; align-items: center; color: #fff; overflow: hidden; background: #3d3a2e; }
.bm-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.bm-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(28, 16, 22, .78) 0%, rgba(28, 16, 22, .45) 45%, rgba(28, 16, 22, .05) 80%); }
.bm-hero .bm-container { position: relative; z-index: 1; padding-top: 64px; padding-bottom: 64px; }
.bm-hero__content { max-width: 620px; }
.bm-hero .bm-h1 { color: #fff; }
.bm-hero .bm-eyebrow { color: #f6c3d9; }
.bm-hero__lead { font-size: 1.15rem; color: rgba(255, 255, 255, .9); margin-bottom: 28px; max-width: 54ch; }
.bm-hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.bm-hero__note { margin-top: 22px; font-size: .9rem; color: rgba(255, 255, 255, .8); display: flex; gap: 18px; flex-wrap: wrap; }
.bm-hero__note .fa { color: #9fe0b0; margin-right: 6px; }

/* ---------- stats strip ---------- */
.bm-stats { background: #fff; border-bottom: 1px solid var(--bm-line); }
.bm-stats__grid { display: grid; grid-template-columns: repeat(5, 1fr); }
.bm-stat { padding: 26px 18px; text-align: center; border-right: 1px solid var(--bm-line); }
.bm-stat:last-child { border-right: 0; }
.bm-stat__num { font-family: var(--bm-serif); font-size: 2rem; color: var(--bm-plum); line-height: 1.1; }
.bm-stat__label { font-size: .86rem; color: var(--bm-muted); margin-top: 4px; }

/* ---------- category grid ---------- */
.bm-cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.bm-cat-card {
    position: relative; display: block; border-radius: var(--bm-radius); overflow: hidden; background: var(--bm-sand);
    aspect-ratio: 4 / 5; text-decoration: none !important; box-shadow: var(--bm-shadow); isolation: isolate;
}
.bm-cat-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.bm-cat-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, rgba(25, 14, 19, .78) 100%); }
.bm-cat-card:hover img { transform: scale(1.05); }
.bm-cat-card__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px; z-index: 1; color: #fff; }
.bm-cat-card__name { font-family: var(--bm-serif); font-size: 1.35rem; line-height: 1.15; }
.bm-cat-card__meta { font-size: .84rem; opacity: .85; display: flex; align-items: center; gap: 6px; margin-top: 4px; }
.bm-cat-card--wide { grid-column: span 2; aspect-ratio: auto; }

/* ---------- split / feature ---------- */
.bm-split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.bm-split--reverse > :first-child { order: 2; }
.bm-split__media { position: relative; }
.bm-split__media img { width: 100%; border-radius: var(--bm-radius); box-shadow: var(--bm-shadow); display: block; }
.bm-split__media .bm-float-img { position: absolute; width: 46%; right: -18px; bottom: -28px; border: 6px solid #fff; }
.bm-checks { list-style: none; padding: 0; margin: 18px 0 26px; display: grid; gap: 10px; }
.bm-checks li { position: relative; padding-left: 30px; }
.bm-checks li::before { content: "\f00c"; font-family: FontAwesome; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%; background: var(--bm-plum-soft); color: var(--bm-plum); font-size: .7rem; display: flex; align-items: center; justify-content: center; }

/* ---------- feature cards ---------- */
.bm-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.bm-cards--4 { grid-template-columns: repeat(4, 1fr); }
.bm-card { background: #fff; border: 1px solid var(--bm-line); border-radius: var(--bm-radius); padding: 26px; }
.bm-section--sand .bm-card { border-color: transparent; box-shadow: var(--bm-shadow); }
.bm-card__icon { width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: var(--bm-plum-soft); color: var(--bm-plum); font-size: 1.2rem; margin-bottom: 14px; }
.bm-card h3 { font-size: 1.08rem; font-weight: 600; margin: 0 0 6px; font-family: var(--bm-sans); }
.bm-card p { margin: 0; font-size: .95rem; color: var(--bm-muted); }

/* ---------- steps ---------- */
.bm-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.bm-steps--2 { grid-template-columns: 1fr 1fr; }
.bm-step { position: relative; padding: 26px 22px 22px; border-radius: var(--bm-radius); background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); }
.bm-step::before { counter-increment: step; content: counter(step); display: flex; width: 38px; height: 38px; border-radius: 50%; align-items: center; justify-content: center; background: #fff; color: var(--bm-plum-dark); font-weight: 700; margin-bottom: 14px; }
.bm-step h3 { color: #fff; font-size: 1.05rem; font-weight: 600; font-family: var(--bm-sans); margin: 0 0 6px; }
.bm-step p { margin: 0; font-size: .93rem; color: #e7d4dd; }
.bm-section:not(.bm-section--plum) .bm-step { background: #fff; border-color: var(--bm-line); }
.bm-section:not(.bm-section--plum) .bm-step::before { background: var(--bm-plum); color: #fff; }
.bm-section:not(.bm-section--plum) .bm-step h3 { color: var(--bm-ink); }
.bm-section:not(.bm-section--plum) .bm-step p { color: var(--bm-muted); }

/* ---------- gallery ---------- */
.bm-gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 12px; }
.bm-gallery a, .bm-gallery figure { display: block; margin: 0; border-radius: var(--bm-radius-sm); overflow: hidden; position: relative; background: var(--bm-sand); }
.bm-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.bm-gallery a:hover img { transform: scale(1.04); }
.bm-gallery .is-wide { grid-column: span 2; }
.bm-gallery .is-tall { grid-row: span 2; }
.bm-gallery figcaption { position: absolute; left: 10px; bottom: 10px; background: rgba(255, 255, 255, .92); color: var(--bm-ink); font-size: .8rem; padding: 4px 10px; border-radius: 999px; }

/* ---------- markets ---------- */
.bm-markets { display: flex; flex-wrap: wrap; gap: 10px; }
.bm-chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--bm-line); font-size: .92rem; color: var(--bm-ink); }
.bm-section--plum .bm-chip { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .2); color: #fff; }

/* ---------- CTA band ---------- */
.bm-cta { border-radius: 22px; padding: 48px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 30px; align-items: center; background: linear-gradient(120deg, var(--bm-plum-dark), var(--bm-plum)); color: #f6e7ee; position: relative; overflow: hidden; }
.bm-cta .bm-h2 { color: #fff; }
.bm-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }

/* ---------- page header (inner pages) ---------- */
.bm-pagehead { background: var(--bm-sand); border-bottom: 1px solid var(--bm-line); padding: 42px 0 34px; }
.bm-pagehead .bm-h1 { font-size: clamp(2rem, 3.6vw, 2.8rem); margin-bottom: 8px; }
.bm-pagehead p { margin: 0; max-width: 70ch; }
.bm-crumbs { list-style: none; padding: 0; margin: 0 0 14px; display: flex; flex-wrap: wrap; gap: 6px; font-size: .86rem; color: var(--bm-muted); }
.bm-crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .6; }
.bm-crumbs a { color: var(--bm-muted); text-decoration: none; }
.bm-crumbs a:hover { color: var(--bm-plum); }

/* ---------- category intro ---------- */
.bm-cat-intro { display: grid; grid-template-columns: 1.5fr 1fr; gap: 32px; align-items: center; background: var(--bm-sand); border-radius: var(--bm-radius); padding: 28px; margin-bottom: 28px; }
.bm-cat-intro--noimg { grid-template-columns: 1fr; }
.bm-cat-intro h1 { font-family: var(--bm-serif); font-weight: 400; font-size: clamp(1.7rem, 2.8vw, 2.3rem); margin: 0 0 12px; }
.bm-cat-intro p { margin: 0 0 12px; }
.bm-cat-intro img { width: 100%; height: 100%; max-height: 280px; object-fit: cover; border-radius: var(--bm-radius-sm); }
.bm-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.bm-tag { display: inline-flex; align-items: center; gap: 6px; font-size: .84rem; padding: 6px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--bm-line); color: var(--bm-ink); }
.bm-tag .fa { color: var(--bm-leaf); }

/* ---------- trade box (product page) ---------- */
.bm-trade { border: 1px solid var(--bm-line); border-radius: var(--bm-radius); overflow: hidden; margin: 22px 0; background: #fff; }
.bm-trade__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 18px; background: var(--bm-sand); border-bottom: 1px solid var(--bm-line); font-weight: 600; color: var(--bm-ink); }
.bm-trade__head .fa { color: var(--bm-plum); margin-right: 8px; }
.bm-trade__grid { display: grid; grid-template-columns: repeat(2, 1fr); }
.bm-trade__cell { padding: 14px 18px; border-bottom: 1px solid var(--bm-line); }
.bm-trade__cell:nth-child(odd) { border-right: 1px solid var(--bm-line); }
.bm-trade__label { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--bm-muted); }
.bm-trade__value { font-size: 1.15rem; font-weight: 600; color: var(--bm-ink); margin-top: 2px; }
.bm-trade__value small { font-size: .82rem; font-weight: 400; color: var(--bm-muted); }
.bm-trade__note { padding: 12px 18px; font-size: .86rem; color: var(--bm-muted); }
.bm-trade--locked { position: relative; }
.bm-trade--locked .bm-trade__grid { filter: blur(5px); user-select: none; pointer-events: none; opacity: .7; }
.bm-trade__lock { position: absolute; inset: 49px 0 0 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 18px; background: rgba(255, 255, 255, .55); }
.bm-trade__lock p { margin: 0 0 12px; font-weight: 500; color: var(--bm-ink); max-width: 34ch; }
.bm-trade__lock .bm-btns { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.bm-product-actions { display: grid; gap: 10px; margin-top: 18px; }
.bm-product-actions__row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

/* ---------- forms ---------- */
.bm-form-card { background: #fff; border: 1px solid var(--bm-line); border-radius: 18px; box-shadow: var(--bm-shadow); padding: 34px; }
.bm-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.bm-form-grid .is-full { grid-column: 1 / -1; }
.bm-field label { display: block; font-size: .88rem; font-weight: 600; color: var(--bm-ink); margin-bottom: 6px; }
.bm-field label .bm-req { color: var(--bm-plum); }
.bm-field input[type=text], .bm-field input[type=email], .bm-field input[type=password], .bm-field input[type=tel], .bm-field input[type=url], .bm-field select, .bm-field textarea {
    width: 100%; height: 48px; border: 1px solid #d9cec5; border-radius: 10px; padding: 0 14px; font-size: 1rem; background: #fff; color: var(--bm-ink);
    transition: border-color .15s, box-shadow .15s;
}
.bm-field textarea { height: auto; min-height: 130px; padding: 12px 14px; }
.bm-field input:focus, .bm-field select:focus, .bm-field textarea:focus { border-color: var(--bm-plum); box-shadow: 0 0 0 4px rgba(143, 45, 90, .12); outline: none; }
.bm-field .field-validation-error, .bm-field .text-danger { display: block; font-size: .84rem; color: #b42318; margin-top: 4px; }
.bm-field .input-validation-error { border-color: #d92d20 !important; }
.bm-hint { font-size: .82rem; color: var(--bm-muted); margin-top: 5px; }
.bm-check { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; }
.bm-check input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--bm-plum); flex-shrink: 0; }
.bm-alert { border-radius: 10px; padding: 14px 16px; margin-bottom: 18px; font-size: .95rem; }
.bm-alert--error { background: #fef3f2; border: 1px solid #fecdca; color: #912018; }
.bm-alert--error ul { margin: 0; padding-left: 18px; }
.bm-alert--ok { background: #ecfdf3; border: 1px solid #abefc6; color: #05603a; }
.bm-alert--info { background: var(--bm-plum-soft); border: 1px solid #ebc9d8; color: var(--bm-plum-dark); }
.bm-auth { display: grid; grid-template-columns: 1fr 1.15fr; min-height: calc(100vh - 160px); }
.bm-auth__aside { position: relative; color: #fff; padding: 56px 48px; display: flex; flex-direction: column; justify-content: flex-end; background: #3d2b33; overflow: hidden; }
.bm-auth__aside img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.bm-auth__aside > * { position: relative; }
.bm-auth__aside .bm-h2 { color: #fff; }
.bm-auth__aside .bm-checks li::before { background: rgba(255, 255, 255, .2); color: #fff; }
.bm-auth__main { padding: 48px 6vw; display: flex; align-items: center; background: var(--bm-sand); }
.bm-auth__main > div { width: 100%; max-width: 640px; }

/* ---------- contact ---------- */
.bm-contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: start; }
.bm-team { display: grid; gap: 12px; }
.bm-person { display: flex; gap: 14px; align-items: center; padding: 14px; border: 1px solid var(--bm-line); border-radius: var(--bm-radius-sm); background: #fff; }
.bm-person__avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--bm-plum-soft); color: var(--bm-plum); display: flex; align-items: center; justify-content: center; font-weight: 700; flex-shrink: 0; }
.bm-person__name { font-weight: 600; color: var(--bm-ink); }
.bm-person__meta { font-size: .86rem; color: var(--bm-muted); }
.bm-person__meta a { color: var(--bm-plum); }
.bm-map { border-radius: var(--bm-radius); overflow: hidden; border: 1px solid var(--bm-line); }
.bm-map iframe { display: block; width: 100%; height: 280px; border: 0; }

/* ---------- facts table ---------- */
.bm-facts { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--bm-radius); overflow: hidden; box-shadow: var(--bm-shadow); }
.bm-facts th, .bm-facts td { padding: 14px 18px; border-bottom: 1px solid var(--bm-line); text-align: left; vertical-align: top; font-size: .96rem; }
.bm-facts th { width: 38%; color: var(--bm-muted); font-weight: 500; background: #fdfbf9; }
.bm-facts tr:last-child th, .bm-facts tr:last-child td { border-bottom: 0; }

/* ---------- footer ---------- */
.bm-footer { background: #23191d; color: #cbbcc3; font-size: .94rem; }
.bm-footer a { color: #e9dce2; text-decoration: none; }
.bm-footer a:hover { color: #fff; text-decoration: underline; }
.bm-footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; padding: 64px 0 40px; }
.bm-footer__logo { height: 88px; width: auto; margin-bottom: 18px; }
.bm-footer h4 { color: #fff; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 16px; font-weight: 600; }
.bm-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.bm-footer__contact li { display: flex; gap: 10px; }
.bm-footer__contact .fa { width: 16px; margin-top: 4px; color: #e7a9c4; }
.bm-footer__social { display: flex; gap: 10px; margin-top: 18px; }
.bm-footer__social a { width: 38px; height: 38px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, .08); }
.bm-footer__social a:hover { background: var(--bm-plum); text-decoration: none; }
.bm-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 18px 0; font-size: .84rem; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; }

/* ---------- floating chat ---------- */
.bm-chat { position: fixed; right: 18px; bottom: 18px; z-index: 1500; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.bm-chat__btn {
    display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 18px 0 14px; border-radius: 999px; color: #fff !important;
    text-decoration: none !important; font-weight: 600; box-shadow: 0 10px 24px rgba(0, 0, 0, .18); transition: transform .18s;
}
.bm-chat__btn:hover { transform: translateY(-2px); }
.bm-chat__btn .fa { font-size: 1.6rem; }
.bm-chat__btn--wa { background: var(--bm-whatsapp); }
.bm-chat__btn--zalo { background: var(--bm-zalo); height: 44px; font-size: .9rem; }
.bm-chat__label { font-size: .92rem; }

/* ---------- toast ---------- */
.bm-toast {
    position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); z-index: 2100; opacity: 0; pointer-events: none;
    background: var(--bm-ink); color: #fff; padding: 12px 18px; border-radius: 999px; box-shadow: var(--bm-shadow-lg);
    font-size: .94rem; transition: opacity .2s, transform .2s; max-width: calc(100vw - 32px);
}
.bm-toast.is-visible { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.bm-toast a { color: #f6c3d9; font-weight: 600; }
.bm-toast .fa { color: #7ee2a0; margin-right: 6px; }

/* ---------- old theme: product grid + misc polish ---------- */
.page-section, .shop-header { font-family: var(--bm-sans); }
.single-slider-product { border-radius: var(--bm-radius-sm); overflow: hidden; background: #fff; transition: box-shadow .2s, transform .2s; }
.single-slider-product.grid-view-product:hover { box-shadow: var(--bm-shadow); transform: translateY(-2px); }
.single-slider-product__image { background: #fff; }
.single-slider-product__image .img-fluid { border: 0 !important; aspect-ratio: 1 / 1; object-fit: contain; width: 100%; }
.single-slider-product__content { padding: 12px 14px !important; text-align: left; }
.single-slider-product__content .product-title a { font-weight: 600; color: var(--bm-ink); font-size: .95rem; letter-spacing: .02em; }
.single-slider-product__content .product-title a:hover { color: var(--bm-plum); }
.breadcrumb-area { background: var(--bm-sand); border-bottom: 1px solid var(--bm-line) !important; }
.breadcrumb-content ul li, .breadcrumb-content ul li a { font-size: .88rem; }
.pagination-section .pagination li a, .pagination-section .pagination li span { border-radius: 8px !important; }
.pagination > .active > a, .pagination > .active > span { background: var(--bm-plum) !important; border-color: var(--bm-plum) !important; }
.theme-button { background: var(--bm-plum) !important; border-color: var(--bm-plum) !important; border-radius: 999px !important; color: #fff !important; }
.theme-button:hover { background: var(--bm-plum-dark) !important; }
.product-details-title { font-family: var(--bm-serif); font-weight: 400 !important; }
.sidebar-area .sidebar-title, .single-sidebar-widget .widget-title { font-family: var(--bm-sans); font-weight: 600; }
.scroll-top { display: none !important; }

/* ---------- responsive ---------- */
@media (max-width: 1399px) {
    .bm-search input { width: 170px; }
    .bm-search input:focus { width: 210px; }
    .bm-nav__link { padding: 10px 11px; }
    .bm-header__bar { gap: 14px; }
    .bm-header__actions .bm-hide-sm { display: none; }
}
@media (max-width: 1199px) {
    .bm-nav, .bm-header__actions .bm-search, .bm-header__actions .bm-account { display: none; }
    .bm-burger { display: inline-flex; }
}
@media (max-width: 991px) {
    :root { --bm-header-h: 78px; }
    .bm-topbar .bm-hide-md { display: none; }
    .bm-logo img { height: 60px; }
    .bm-stats__grid { grid-template-columns: repeat(3, 1fr); }
    .bm-stat:nth-child(3) { border-right: 0; }
    .bm-stat:nth-child(n+4) { border-top: 1px solid var(--bm-line); }
    .bm-cat-grid { grid-template-columns: repeat(3, 1fr); }
    .bm-split, .bm-contact-grid, .bm-cta, .bm-cat-intro, .bm-auth { grid-template-columns: 1fr; }
    .bm-split--reverse > :first-child { order: 0; }
    .bm-split__media .bm-float-img { display: none; }
    .bm-cards, .bm-cards--4, .bm-steps { grid-template-columns: repeat(2, 1fr); }
    .bm-footer__top { grid-template-columns: 1fr 1fr; }
    .bm-gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; }
    .bm-cta__actions { justify-content: flex-start; }
    .bm-auth__aside { min-height: 260px; padding: 32px 24px; }
    .bm-section { padding: 64px 0; }
}
@media (max-width: 640px) {
    .bm-container { padding: 0 16px; }
    .bm-topbar__right .bm-hide-sm { display: none; }
    .bm-cat-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .bm-cat-card__name { font-size: 1.1rem; }
    .bm-cat-card__body { padding: 12px; }
    .bm-cards, .bm-cards--4, .bm-steps, .bm-form-grid { grid-template-columns: 1fr; }
    .bm-stats__grid { grid-template-columns: repeat(2, 1fr); }
    .bm-stat { border-right: 1px solid var(--bm-line) !important; border-top: 1px solid var(--bm-line); }
    .bm-stat:nth-child(2n) { border-right: 0 !important; }
    .bm-stat:first-child, .bm-stat:nth-child(2) { border-top: 0; }
    .bm-stat:last-child { grid-column: 1 / -1; border-right: 0 !important; }
    .bm-footer__top { grid-template-columns: 1fr; }
    .bm-form-card { padding: 22px; }
    .bm-cta { padding: 30px 22px; }
    .bm-hero { min-height: 560px; }
    .bm-hero::after { background: linear-gradient(180deg, rgba(28, 16, 22, .35) 0%, rgba(28, 16, 22, .8) 70%); }
    .bm-hero .bm-container { align-self: flex-end; }
    .bm-chat__label { display: none; }
    .bm-chat__btn { padding: 0 14px; width: 52px; justify-content: center; }
    .bm-chat__btn--zalo { width: 52px; padding: 0; }
    .bm-trade__grid { grid-template-columns: 1fr; }
    .bm-trade__cell:nth-child(odd) { border-right: 0; }
    .bm-product-actions__row { grid-template-columns: 1fr; }
    .bm-section-head { margin-bottom: 24px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
