/* =========================================================
   Maison Alpine – Trang chủ
   CSS viết theo BEM, mobile-first, màu dùng biến CSS
   ========================================================= */

/* Bien mau nguon -> 14 bien theme (setting_color.css sinh tu config.json); xam trung tinh giu co dinh */
html {
    --color-primary: var(--shop-color-main);
    --color-primary-dark: var(--shop-color-accent);
    --color-accent: var(--shop-color-accent);
    --color-accent-light: var(--footer-color);
    --color-text: var(--body-color);
    --color-text-muted: #8b8b91;
    --color-bg: var(--body-bg);
    --color-bg-soft: #f6f6fa;
    --color-border: #e5e5e7;
    --color-footer-bg: var(--footer-bg);
    --color-footer-text: var(--footer-color);

    --font-heading: 'Work Sans', 'Helvetica Neue', Arial, sans-serif;
    --font-sans: 'Work Sans', 'Helvetica Neue', Arial, sans-serif;

    --header-height: 64px;
    --transition: 0.3s ease;
}

/* ===== Nền tảng ===== */
body {
    font-family: var(--font-sans);
    font-weight: 400;
    font-size: 14px;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-bg);
    overflow-x: hidden;
}

body.no-scroll {
    overflow: hidden;
}

a {
    color: inherit;
    transition: color var(--transition);
}

a:hover {
    color: var(--color-primary);
    text-decoration: none;
}

img {
    max-width: 100%;
}

/* ===== Thành phần dùng chung ===== */
.section-eyebrow {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 12px;
}

.section-eyebrow--light {
    color: var(--color-accent-light);
}

.section-title {
    color: var(--section-color-title);
    font-family: var(--font-heading);
    font-weight: 300;
    font-size: 22px;
    line-height: 1.35;
    letter-spacing: 0.08em;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.section-title--light {
    color: #fff;
}

.btn-brand {
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--btn-color);
    background-color: var(--btn-bg);
    border: 1px solid var(--btn-bg);
    border-radius: 0;
    padding: 14px 32px;
    transition: background-color var(--transition), color var(--transition), border-color var(--transition);
}

.btn-brand:hover,
.btn-brand:focus {
    color: #fff;
    background-color: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
    box-shadow: none;
}

.btn-brand--outline {
    color: var(--color-primary);
    background-color: transparent;
}

.btn-brand--outline:hover,
.btn-brand--outline:focus {
    color: #fff;
    background-color: var(--color-primary);
    border-color: var(--color-primary);
}

.btn-brand--light {
    color: var(--color-text);
    background-color: #fff;
    border-color: #fff;
}

.btn-brand--light:hover,
.btn-brand--light:focus {
    color: #fff;
    background-color: transparent;
    border-color: #fff;
}

.link-underline {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    padding-bottom: 4px;
    border-bottom: 1px solid currentColor;
}

/* =========================================================
   HEADER
   ========================================================= */
.header {
    position: sticky;
    top: 0;
    z-index: 1030;
    background-color: var(--header-bg-main);
    border-bottom: 1px solid var(--color-border);
}

.header__topbar {
    background-color: var(--header-bg-topbar);
    color: var(--header-color-topbar);
    font-size: 11px;
    letter-spacing: 0.08em;
    padding: 8px 0;
}

.header__topbar-text {
    text-align: center;
}

.header__topbar-link {
    color: var(--header-color-topbar);
}

.header__topbar-link:hover {
    color: var(--color-accent-light);
}

.header__main {
    position: relative;
    height: var(--header-height);
}

.header__main > .container-fluid {
    height: 100%;
}

.header__group {
    flex: 1 1 0;
}

.header__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    font-size: 19px;
    color: var(--color-text);
    background: transparent;
    border: 0;
    cursor: pointer;
}

.header__icon:hover,
.header__icon:focus {
    color: var(--color-primary);
    outline: none;
}

.header__logo {
    display: flex;
    flex-direction: column;
    line-height: 1;
    color: var(--color-text);
}

.header__logo:hover {
    color: var(--color-text);
}

.header__logo-name {
    font-family: var(--font-heading);
    font-size: 20px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    font-weight: 400;
}

.header__logo-sub {
    font-size: 9px;
    letter-spacing: 0.5em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-top: 4px;
}

.header__cart {
    position: relative;
}

.header__cart-count {
    position: absolute;
    top: 4px;
    right: 2px;
    font-size: 9px;
    font-weight: 500;
    color: #fff;
    background-color: var(--color-primary);
}

/* ===== Tìm kiếm ===== */
.search__form {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 20;
    padding: 20px 0;
    background-color: var(--color-bg);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity var(--transition), visibility var(--transition), transform var(--transition);
}

.search--active .search__form {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.search__icon {
    font-size: 18px;
    color: var(--color-text-muted);
}

.search__input {
    flex: 1;
    border: 0;
    border-radius: 0;
    font-family: var(--font-heading);
    font-size: 16px;
    box-shadow: none;
}

.search__input:focus {
    box-shadow: none;
}

.search__submit {
    display: none;
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #fff;
    background-color: var(--color-primary);
    border-radius: 0;
    padding: 10px 24px;
}

.search__submit:hover {
    color: #fff;
    background-color: var(--color-primary-dark);
}

.search__close {
    padding: 0 0 0 12px;
    font-size: 18px;
    background: transparent;
    border: 0;
    cursor: pointer;
}

/* ===== Menu / Sidebar (mobile mặc định) ===== */
.nav-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 1050;
    width: 300px;
    max-width: 85vw;
    overflow-y: auto;
    background-color: var(--color-bg);
    transform: translateX(-100%);
    transition: transform 0.35s ease;
}

.nav-sidebar--open {
    transform: translateX(0);
}

.nav-sidebar__head {
    padding: 16px 20px;
    border-bottom: 1px solid var(--color-border);
}

.nav-sidebar__title {
    font-family: var(--font-heading);
    font-size: 15px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
}

.nav-sidebar__close {
    font-size: 18px;
    padding: 4px;
    background: transparent;
    border: 0;
    cursor: pointer;
}

.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1040;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition), visibility var(--transition);
}

.nav-overlay--show {
    opacity: 1;
    visibility: visible;
}

.main-menu__item {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    border-bottom: 1px solid var(--color-border);
}

.main-menu__link {
    color: var(--header-color-menu);
    flex: 1;
    display: block;
    padding: 14px 20px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.main-menu__toggle {
    width: 48px;
    align-self: stretch;
    font-size: 12px;
    background: transparent;
    border: 0;
    border-left: 1px solid var(--color-border);
    cursor: pointer;
}

.main-menu__toggle .bi {
    display: inline-block;
    transition: transform var(--transition);
}

.main-menu__item--open > .main-menu__toggle .bi {
    transform: rotate(180deg);
}

.main-menu__submenu {
    display: none;
    width: 100%;
    background-color: var(--color-bg-soft);
}

.main-menu__submenu .main-menu__item:last-child {
    border-bottom: 0;
}

.main-menu__submenu .main-menu__link {
    padding-left: 32px;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: none;
    font-size: 13px;
}

.main-menu__submenu--level-3 {
    background-color: #fff;
}

.main-menu__submenu--level-3 .main-menu__link {
    padding-left: 44px;
}

/* ===== Chuyển ngôn ngữ (fixed giữa mép phải) ===== */
.lang-switcher {
    position: fixed;
    top: 50%;
    right: 0;
    z-index: 1020;
    transform: translateY(-50%);
    width: 44px;
    text-align: center;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.1em;
    background-color: var(--color-primary);
    color: #fff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.lang-switcher__current {
    display: block;
    padding: 12px 0;
    cursor: pointer;
}

.lang-switcher__current::after {
    content: '';
    display: block;
    width: 6px;
    height: 6px;
    margin: 6px auto 0;
    border-right: 1px solid #fff;
    border-bottom: 1px solid #fff;
    transform: rotate(45deg);
}

.lang-switcher__list {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.lang-switcher:hover .lang-switcher__list {
    max-height: 200px;
}

.lang-switcher__link {
    display: block;
    padding: 10px 0;
    color: #fff;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.lang-switcher__link:hover {
    color: var(--color-primary);
    background-color: #fff;
}

/* =========================================================
   CART DRAWER (sidebar giỏ hàng trượt từ phải)
   ========================================================= */
.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 1060;
    width: 420px;
    max-width: 100%;
    background-color: var(--color-bg);
    transform: translateX(100%);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.cart-drawer--open {
    transform: translateX(0);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.12);
}

.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1055;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition), visibility var(--transition);
}

.cart-overlay--show {
    opacity: 1;
    visibility: visible;
}

.cart-drawer__head {
    padding: 20px 24px;
    border-bottom: 1px solid var(--color-border);
}

.cart-drawer__title {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.cart-drawer__close {
    padding: 4px;
    font-size: 18px;
    background: transparent;
    border: 0;
    cursor: pointer;
}

.cart-drawer__body {
    overflow-y: auto;
    padding: 0 24px;
}

.cart-item {
    padding: 20px 0;
    border-bottom: 1px solid var(--color-border);
}

.cart-item__image {
    flex-shrink: 0;
    width: 84px;
    height: 104px;
    margin-right: 16px;
    object-fit: cover;
    background-color: var(--color-bg-soft);
}

.cart-item__name {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 2px;
}

.cart-item__variant {
    font-size: 12px;
    color: var(--color-text-muted);
}

.cart-item__remove {
    padding: 2px 0 2px 8px;
    font-size: 14px;
    color: var(--color-text-muted);
    background: transparent;
    border: 0;
    cursor: pointer;
}

.cart-item__remove:hover {
    color: var(--color-text);
}

.cart-item__qty {
    border: 1px solid var(--color-border);
}

.cart-item__qty-btn {
    width: 30px;
    height: 30px;
    font-size: 15px;
    line-height: 1;
    color: var(--color-text);
    background: transparent;
    border: 0;
    cursor: pointer;
}

.cart-item__qty-btn:hover {
    color: var(--color-primary);
}

.cart-item__qty-input {
    width: 34px;
    height: 30px;
    padding: 0;
    font-size: 13px;
    text-align: center;
    border: 0;
    outline: none;
}

.cart-item__price {
    font-size: 13px;
    font-weight: 500;
}

.cart-drawer__empty {
    display: none;
    padding: 64px 0;
    color: var(--color-text-muted);
}

.cart-drawer__empty-icon {
    display: block;
    margin-bottom: 16px;
    font-size: 40px;
    color: var(--color-border);
}

.cart-drawer--empty .cart-drawer__empty {
    display: block;
}

.cart-drawer--empty .cart-drawer__foot {
    display: none;
}

.cart-drawer__foot {
    padding: 20px 24px 24px;
    border-top: 1px solid var(--color-border);
}

.cart-drawer__label {
    font-size: 12px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.cart-drawer__subtotal {
    font-size: 17px;
    font-weight: 500;
}

.cart-drawer__note {
    font-size: 11px;
    color: var(--color-text-muted);
    margin-bottom: 16px;
}

.cart-drawer__checkout {
    margin-bottom: 10px;
}

/* =========================================================
   ACCOUNT DROPDOWN (icon tài khoản)
   ========================================================= */
.account-dropdown__toggle::after {
    display: none;   /* bỏ mũi tên mặc định của Bootstrap */
}

.account-dropdown__menu {
    min-width: 190px;
    margin-top: 10px;
    padding: 8px 0;
    border: 1px solid var(--color-border);
    border-radius: 0;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.account-dropdown__item {
    padding: 10px 20px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-text);
}

.account-dropdown__item:hover,
.account-dropdown__item:focus {
    color: var(--color-primary);
    background-color: var(--color-bg-soft);
}

.account-dropdown__item:active {
    color: #fff;
    background-color: var(--color-primary);
}

/* =========================================================
   ANIMATION (animate.css)
   ========================================================= */
html {
    --animate-duration: 1s;
}

/* Hero: chữ ẩn sẵn, JS thêm animate__fadeInUp khi slide hiện */
.hero__content > * {
    opacity: 0;
}

.hero__content > .animate__animated {
    opacity: 1;
}

.hero__content > .hero__title.animate__animated {
    animation-delay: 0.15s;
}

.hero__content > .hero__desc.animate__animated {
    animation-delay: 0.3s;
}

.hero__content > .btn.animate__animated {
    animation-delay: 0.45s;
}

@media (prefers-reduced-motion: reduce) {
    .hero__content > * {
        opacity: 1;
    }
}

/* =========================================================
   HERO
   ========================================================= */
.hero__slide {
    position: relative;
    height: 75vh;
    min-height: 460px;
    max-height: 860px;
}

.hero__slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 30%, rgba(0, 0, 0, 0.55) 100%);
}

.hero .owl-carousel .owl-item .hero__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero__content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 60px;
    z-index: 2;
    padding: 0 20px;
    color: #fff;
}

.hero__eyebrow {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.hero__title {
    font-family: var(--font-heading);
    font-weight: 300;
    font-size: 26px;
    line-height: 1.25;
    letter-spacing: 0.06em;
    margin-bottom: 18px;
    text-transform: uppercase;
}

.hero__desc {
    max-width: 560px;
    margin: 0 auto 28px;
    font-size: 15px;
}

.hero .owl-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 20px;
}

.hero .owl-theme .owl-dots .owl-dot span,
.hero.hero .owl-dots .owl-dot span {
    width: 28px;
    height: 2px;
    margin: 0 4px;
    border-radius: 0;
    background-color: rgba(255, 255, 255, 0.5);
}

.hero .owl-dots .owl-dot.active span,
.hero .owl-dots .owl-dot:hover span {
    background-color: #fff;
}

/* =========================================================
   GIFT FEATURE
   ========================================================= */
.gift-feature {
    background-color: var(--color-bg-soft);
}

.gift-feature__media {
    position: relative;
    height: 100%;
    min-height: 320px;
    overflow: hidden;
}

.gift-feature__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.gift-feature__media:hover .gift-feature__image {
    transform: scale(1.04);
}

.gift-feature__play {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 72px;
    height: 72px;
    font-size: 30px;
    color: #fff;
    border: 1px solid #fff;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.2);
    transform: translate(-50%, -50%);
    transition: background-color var(--transition), color var(--transition);
}

.gift-feature__media:hover .gift-feature__play {
    color: var(--color-primary);
    background-color: #fff;
}

.gift-feature__content {
    padding: 48px 24px;
}

.gift-feature__text {
    color: var(--color-text-muted);
}

/* =========================================================
   PRODUCT CARD (dùng chung)
   ========================================================= */
/* Khung HTML dùng chung cho mọi block sản phẩm (trang chủ + danh mục) */
.product-card {
    position: relative;
}

/* Khung ảnh: chứa badge + ảnh + nút, không nền */
.product-card__thumb {
    position: relative;
    margin-bottom: 16px;
    overflow: hidden;
}

/* Badge: nhỏ gọn ở góc trên trái khung ảnh */
.product-card__badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    padding: 3px 8px;
    font-size: 9px;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-text);
    background-color: var(--color-bg-soft);
    pointer-events: none;
}

.product-card__media {
    position: relative;
    aspect-ratio: 4 / 5;
    overflow: hidden;
}

.product-card .product-card__image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: opacity 0.6s ease;
}

/* Ảnh hover: cùng kích thước ảnh chính, ẩn sẵn */
.product-card .product-card__image--hover {
    opacity: 0;
}

.product-card__collection {
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-bottom: 6px;
}

.product-card__name {
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.product-card__name a {
    color: var(--color-text);
}

.product-card__name a:hover {
    color: var(--color-primary);
}

.product-card__price {
    font-size: 13px;
    letter-spacing: 0.05em;
    margin-bottom: 0;
}

/* Nút thêm giỏ: mặc định (mobile/tablet) là thanh liền đáy khung ảnh */
.product-card__btn.btn-brand {
    display: block;
    width: 100%;
    padding: 11px 10px;
    font-size: 10px;
    color: #fff;
    background-color: var(--color-primary);
    border: 0;
}

.product-card__btn.btn-brand:hover,
.product-card__btn.btn-brand:focus {
    color: #fff;
    background-color: var(--color-primary-dark);
}

.product-card__btn.btn-brand:disabled {
    color: var(--color-text-muted);
    background-color: var(--color-border);
    opacity: 1;
    cursor: not-allowed;
}

/* Modifier: card trên nền tối */
.product-card--dark .product-card__badge {
    background-color: #fff;
}

.product-card--dark .product-card__collection {
    color: var(--color-accent-light);
}

.product-card--dark .product-card__name a,
.product-card--dark .product-card__price {
    color: #fff;
}

.product-card--dark .product-card__name a:hover {
    color: var(--color-accent-light);
}

/* Modifier: hết hàng */
.product-card--soldout .product-card__image--main {
    opacity: 0.5;
}

/* Hover đổi ảnh (chỉ thiết bị có chuột) */
@media (hover: hover) {
    .product-card:hover .product-card__image--main {
        opacity: 0;
    }

    .product-card:hover .product-card__image--hover {
        opacity: 1;
    }
}

/* =========================================================
   PRODUCT SHOWCASE
   ========================================================= */
.product-showcase {
    padding: 64px 0;
    background-color: var(--color-bg);
}

.product-showcase__head {
    margin-bottom: 40px;
}

.product-showcase__title {
    font-family: var(--font-sans);
    font-weight: 300;
    font-size: 20px;
    line-height: 1.4;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-text);
    margin-bottom: 24px;
}

.product-showcase__cta.btn-brand--outline {
    color: var(--color-text);
    border-color: var(--color-text);
    padding: 12px 40px;
    letter-spacing: 0.1em;
    font-weight: 400;
}

.product-showcase__cta.btn-brand--outline:hover,
.product-showcase__cta.btn-brand--outline:focus {
    color: #fff;
    background-color: var(--color-text);
    border-color: var(--color-text);
}

.product-showcase__slider .owl-nav {
    display: flex;
    justify-content: center;
    margin-top: 28px;
}

.product-showcase__slider.owl-theme .owl-nav [class*='owl-'] {
    width: 44px;
    height: 44px;
    margin: 0 6px;
    font-size: 14px;
    color: var(--color-text);
    background: transparent;
    border: 1px solid var(--color-border);
    border-radius: 0;
}

.product-showcase__slider .owl-nav [class*='owl-']:hover {
    color: #fff;
    background-color: var(--color-primary);
    border-color: var(--color-primary);
}

.product-showcase__slider .owl-nav .disabled {
    opacity: 0.35;
}

/* =========================================================
   COLLECTION FEATURE
   ========================================================= */
.collection-feature {
    padding: 64px 0;
    color: rgba(255, 255, 255, 0.8);
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
}

.collection-feature__text {
    font-size: 14px;
}

/* =========================================================
   CATEGORY GRID
   ========================================================= */
.category-grid {
    padding: 64px 0 40px;
}

.category-tile {
    position: relative;
    overflow: hidden;
}

.category-tile__image {
    width: 100%;
    aspect-ratio: 7 / 8;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.category-tile::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.5) 100%);
}

.category-tile:hover .category-tile__image {
    transform: scale(1.06);
}

.category-tile__label {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 16px;
    z-index: 2;
    padding: 0 8px;
    text-align: center;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #fff;
}

/* =========================================================
   HERITAGE
   ========================================================= */
.heritage {
    position: relative;
    min-height: 520px;
    overflow: hidden;
}

.heritage__image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.heritage::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(32, 32, 37, 0.5);
}

.heritage__content {
    position: relative;
    z-index: 2;
    min-height: 520px;
    padding: 64px 0;
    color: #fff;
}

.heritage__title {
    font-family: var(--font-heading);
    font-weight: 300;
    font-size: 24px;
    line-height: 1.25;
    margin-bottom: 20px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.heritage__text {
    max-width: 620px;
    color: rgba(255, 255, 255, 0.85);
}

/* =========================================================
   NEWSLETTER
   ========================================================= */
.newsletter {
    padding: 64px 0;
    background-color: var(--color-bg-soft);
}

.newsletter__text {
    color: var(--color-text-muted);
    margin-bottom: 28px;
}

.newsletter__input {
    height: 50px;
    border: 1px solid var(--color-border);
    border-radius: 0;
    background-color: #fff;
}

.newsletter__input:focus {
    border-color: var(--color-primary);
    box-shadow: none;
}

.newsletter__submit {
    flex-shrink: 0;
    height: 50px;
    margin-top: 10px;
    padding: 0 36px;
    white-space: nowrap;
}

.newsletter__note {
    margin-top: 18px;
    font-size: 11px;
    color: var(--color-text-muted);
}

.newsletter__note a {
    text-decoration: underline;
}

.newsletter__success {
    font-family: var(--font-heading);
    font-size: 16px;
    color: var(--color-primary);
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
    padding: 56px 0 24px;
    color: var(--color-footer-text);
    background-color: var(--color-footer-bg);
}

.footer__heading {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--footer-color-title);
    margin-bottom: 18px;
}

.footer__list li {
    margin-bottom: 8px;
}

.footer__link {
    font-size: 13px;
    color: var(--color-footer-text);
}

.footer__link:hover {
    color: var(--color-accent-light);
}

.footer__bottom {
    margin-top: 24px;
    padding: 28px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer__logo {
    font-family: var(--font-heading);
    font-size: 18px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: #fff;
}

.footer__logo:hover {
    color: var(--color-accent-light);
}

.footer__social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    margin-left: 8px;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
}

.footer__social-link:hover {
    color: var(--color-primary-dark);
    background-color: #fff;
}

.footer__copyright {
    font-size: 11px;
    letter-spacing: 0.08em;
}

/* =========================================================
   PAGE HEAD (đầu trang con: danh mục, liên hệ…)
   ========================================================= */
.page-head {
    padding: 32px 0 40px;
}

.page-head__breadcrumb {
    padding: 0;
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    background-color: transparent;
}

.page-head__breadcrumb .breadcrumb-item a {
    color: var(--color-text-muted);
}

.page-head__breadcrumb .breadcrumb-item a:hover {
    color: var(--color-primary);
}

.page-head__breadcrumb .breadcrumb-item.active {
    color: var(--color-text);
}

.page-head__title {
    margin: 28px 0 16px;
    font-family: var(--font-sans);
    font-weight: 300;
    font-size: 24px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.page-head__desc {
    max-width: 680px;
    color: var(--color-text-muted);
}

/* =========================================================
   PRODUCT LIST (lưới sản phẩm + bộ lọc)
   ========================================================= */
.product-list {
    padding-bottom: 64px;
}

.product-list__toolbar {
    position: sticky;
    top: var(--sticky-offset, 0);
    z-index: 10;
    margin-bottom: 8px;
    padding: 14px 0;
    background-color: var(--color-bg);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.product-list__filter-toggle {
    padding: 6px 0;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--color-text);
    background: transparent;
    border: 0;
    cursor: pointer;
}

.product-list__filter-toggle:hover {
    color: var(--color-primary);
}

.product-list__filter-count {
    font-size: 10px;
    color: #fff;
    background-color: var(--color-primary);
}

.product-list__count {
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

.product-list__sort-label {
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

.product-list__select {
    width: auto;
    height: 36px;
    padding-left: 10px;
    font-size: 12px;
    border-color: var(--color-border);
    border-radius: 0;
}

.product-list__select:focus {
    border-color: var(--color-primary);
    box-shadow: none;
}

.product-list__chips {
    min-height: 16px;
    padding: 8px 0 16px;
}

.product-list__chip {
    display: inline-flex;
    align-items: center;
    margin: 4px 8px 4px 0;
    padding: 6px 12px;
    font-size: 11px;
    letter-spacing: 0.05em;
    color: var(--color-text);
    background-color: var(--color-bg-soft);
    border: 0;
    cursor: pointer;
}

.product-list__chip .bi {
    margin-left: 8px;
    font-size: 10px;
}

.product-list__chip:hover {
    color: #fff;
    background-color: var(--color-primary);
}

.product-list__chip--clear {
    text-decoration: underline;
    background-color: transparent;
}

.product-list__item {
    margin-bottom: 32px;
}

.product-list__empty {
    padding: 64px 0;
    color: var(--color-text-muted);
}

.product-list__empty-title {
    font-family: var(--font-heading);
    font-size: 18px;
    color: var(--color-text);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* ===== Sidebar bộ lọc (trượt từ trái) ===== */
.filter-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 1060;
    width: 380px;
    max-width: 90vw;
    background-color: var(--color-bg);
    transform: translateX(-100%);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.filter-sidebar--open {
    transform: translateX(0);
    box-shadow: 10px 0 40px rgba(0, 0, 0, 0.12);
}

.filter-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1055;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition), visibility var(--transition);
}

.filter-overlay--show {
    opacity: 1;
    visibility: visible;
}

.filter-sidebar__head {
    padding: 20px 24px;
    border-bottom: 1px solid var(--color-border);
}

.filter-sidebar__title {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.filter-sidebar__close {
    padding: 4px;
    font-size: 18px;
    background: transparent;
    border: 0;
    cursor: pointer;
}

.filter-sidebar__body {
    overflow-y: auto;
    padding: 0 24px;
}

.filter-sidebar__foot {
    padding: 16px 24px;
    border-top: 1px solid var(--color-border);
}

.filter-sidebar__foot .btn {
    padding-left: 10px;
    padding-right: 10px;
}

.filter-group {
    border-bottom: 1px solid var(--color-border);
}

.filter-group__head {
    padding: 18px 0;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-text);
    background: transparent;
    border: 0;
    cursor: pointer;
}

.filter-group__head .bi {
    font-size: 12px;
    transition: transform var(--transition);
}

.filter-group__head.collapsed .bi {
    transform: rotate(-90deg);
}

.filter-group__list {
    padding-bottom: 8px;
}

.filter-group__item {
    margin-bottom: 10px;
}

.filter-group__item--more {
    display: none;
}

.filter-group--expanded .filter-group__item--more {
    display: list-item;
}

.filter-group__label {
    font-size: 13px;
    cursor: pointer;
}

.filter-group__count {
    color: var(--color-text-muted);
}

.filter-group__input:checked ~ .custom-control-label::before {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
}

.filter-group__input:focus ~ .custom-control-label::before {
    box-shadow: none;
}

.filter-group__input:disabled ~ .filter-group__label {
    color: #ccc;
    cursor: not-allowed;
}

.filter-group__more {
    margin-bottom: 18px;
    padding: 0;
    font-size: 12px;
    text-decoration: underline;
    color: var(--color-text);
    background: transparent;
    border: 0;
    cursor: pointer;
}

/* =========================================================
   PRODUCT DETAIL (trang chi tiết sản phẩm)
   ========================================================= */
.stars {
    display: inline-flex;
    gap: 2px;
    font-size: 12px;
    color: var(--color-text);
}

.product-detail {
    padding: 24px 0 64px;
}

.product-detail__breadcrumb {
    margin-bottom: 24px;
    padding: 0;
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    background-color: transparent;
}

.product-detail__breadcrumb .breadcrumb-item a {
    color: var(--color-text-muted);
}

.product-detail__breadcrumb .breadcrumb-item.active {
    color: var(--color-text);
}

/* ===== Thư viện ảnh ===== */
.product-gallery__main {
    flex: 1;
    min-width: 0;
}

.product-gallery__slide {
    aspect-ratio: 9 / 11;
    background-color: var(--color-bg-soft);
}

.product-gallery .product-gallery__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-gallery__main.owl-theme .owl-nav {
    margin: 0;
}

.product-gallery__main.owl-theme .owl-nav [class*='owl-'] {
    position: absolute;
    top: 50%;
    width: 40px;
    height: 40px;
    margin: 0;
    font-size: 14px;
    color: var(--color-text);
    background-color: rgba(255, 255, 255, 0.85);
    border-radius: 0;
    transform: translateY(-50%);
}

.product-gallery__main.owl-theme .owl-nav [class*='owl-']:hover {
    color: #fff;
    background-color: var(--color-primary);
}

.product-gallery__main .owl-prev {
    left: 12px;
}

.product-gallery__main .owl-next {
    right: 12px;
}

.product-gallery__main .owl-nav .disabled {
    opacity: 0;
}

.product-gallery__thumbs {
    gap: 10px;
    margin-top: 12px;
}

.product-gallery__thumb {
    width: 64px;
    padding: 0;
    background: transparent;
    border: 1px solid transparent;
    opacity: 0.6;
    cursor: pointer;
    transition: opacity var(--transition), border-color var(--transition);
}

.product-gallery__thumb img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

.product-gallery__thumb:hover,
.product-gallery__thumb--active {
    border-color: var(--color-primary);
    opacity: 1;
}

/* ===== Thông tin sản phẩm ===== */
.product-info__badge {
    display: inline-block;
    margin-bottom: 16px;
    padding: 3px 8px;
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    background-color: var(--color-bg-soft);
}

.product-info__collection {
    margin-bottom: 4px;
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

.product-info__name {
    margin-bottom: 6px;
    font-weight: 300;
    font-size: 30px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.product-info__subtitle {
    margin-bottom: 12px;
    color: var(--color-text-muted);
}

.product-info__rating {
    gap: 8px;
    margin-bottom: 20px;
    font-size: 12px;
    color: var(--color-text);
}

.product-info__rating-text {
    text-decoration: underline;
}

.product-info__price {
    margin-bottom: 24px;
    font-size: 20px;
    letter-spacing: 0.04em;
}

.product-info__label {
    margin-bottom: 10px;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.product-info__size-value {
    font-weight: 400;
    letter-spacing: 0.05em;
    text-transform: none;
    color: var(--color-text-muted);
}

.product-info__size {
    margin-right: 8px;
}

.product-info__size-input {
    position: absolute;
    opacity: 0;
}

.product-info__size-label {
    min-width: 72px;
    margin-bottom: 0;
    padding: 10px 14px;
    font-size: 12px;
    text-align: center;
    border: 1px solid var(--color-border);
    cursor: pointer;
    transition: border-color var(--transition), background-color var(--transition), color var(--transition);
}

.product-info__size-label:hover {
    border-color: var(--color-primary);
}

.product-info__size-input:checked + .product-info__size-label {
    color: #fff;
    background-color: var(--color-primary);
    border-color: var(--color-primary);
}

.product-info__size-input:focus-visible + .product-info__size-label {
    outline: 1px solid var(--color-primary);
    outline-offset: 2px;
}

.product-info__actions {
    gap: 10px;
    margin: 24px 0;
}

.product-info__qty {
    border: 1px solid var(--color-border);
}

.product-info__qty-btn {
    width: 40px;
    height: 48px;
    font-size: 16px;
    color: var(--color-text);
    background: transparent;
    border: 0;
    cursor: pointer;
}

.product-info__qty-input {
    width: 36px;
    height: 48px;
    padding: 0;
    font-size: 14px;
    text-align: center;
    color: var(--color-text);
    border: 0;
    outline: none;
}

.product-info__perks {
    margin-bottom: 28px;
    font-size: 13px;
}

.product-info__perks li {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.product-info__perks .bi {
    width: 28px;
    font-size: 16px;
}

.product-info__perks a {
    text-decoration: underline;
}

.product-info__panel {
    border-top: 1px solid var(--color-border);
}

.product-info__panel:last-child {
    border-bottom: 1px solid var(--color-border);
}

.product-info__panel-head {
    padding: 16px 0;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-text);
    background: transparent;
    border: 0;
    cursor: pointer;
}

.product-info__panel-body {
    padding-bottom: 20px;
    font-size: 14px;
    color: var(--color-text-muted);
}

/* ===== Hiệu quả: 2 hàng chữ / ảnh xen kẽ ===== */
.product-benefits {
    padding: 48px 0;
}

.product-benefits__row + .product-benefits__row {
    margin-top: 48px;
}

.product-benefits .product-benefits__image {
    display: block;
    width: 100%;
    aspect-ratio: 52 / 50;
    object-fit: cover;
}

.product-benefits__content {
    max-width: 420px;
    margin: 0 auto;
    padding: 32px 16px 0;
}

.product-benefits__title {
    margin-bottom: 24px;
    font-weight: 400;
    font-size: 20px;
    line-height: 1.35;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.product-benefits__list li {
    margin-bottom: 10px;
    font-size: 13px;
    letter-spacing: 0.03em;
}

.product-benefits__list--caps li {
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* ===== Thành phần nổi bật: slider + thanh tiến trình ===== */
.product-ingredients {
    padding: 64px 0;
    background-color: var(--color-bg-soft);
}

.product-ingredients__title {
    margin-bottom: 40px;
    font-weight: 400;
    font-size: 20px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.product-ingredients__slider {
    max-width: 960px;
    margin: 0 auto;
}

.ingredient-card .ingredient-card__image {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    margin-bottom: 24px;
}

.ingredient-card__name {
    margin-bottom: 14px;
    font-weight: 400;
    font-size: 18px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.ingredient-card__text {
    max-width: 440px;
    margin: 0 auto;
    font-size: 12px;
    line-height: 1.7;
    letter-spacing: 0.03em;
    color: var(--color-text-muted);
}

.product-ingredients__nav {
    gap: 24px;
    margin-top: 32px;
}

.product-ingredients__arrow {
    padding: 4px;
    font-size: 14px;
    color: var(--color-text);
    background: transparent;
    border: 0;
    cursor: pointer;
    transition: opacity var(--transition);
}

.product-ingredients__arrow:disabled {
    opacity: 0.3;
    cursor: default;
}

.product-ingredients__progress {
    position: relative;
    width: 140px;
    height: 2px;
    background-color: var(--color-border);
}

.product-ingredients__progress-bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 50%;
    background-color: var(--color-primary);
    transition: left 0.6s ease, width 0.3s ease;
}

/* ===== Sản phẩm liên quan ===== */
.product-related {
    padding: 64px 0;
}

.product-related .section-title {
    margin-bottom: 40px;
}

/* ===== Câu chuyện bao bì (video) ===== */
.product-story__media,
.product-apply__media {
    position: relative;
    overflow: hidden;
    background-color: var(--color-bg-soft);
}

.product-story__media {
    aspect-ratio: 4 / 3;
}

.product-apply__media {
    aspect-ratio: 1 / 1;
}

.product-story__video,
.product-apply__video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-story__content {
    padding: 48px 24px;
}

.product-story__text {
    color: var(--color-text-muted);
}

/* ===== Cách sử dụng ===== */
.product-apply {
    padding: 64px 0;
}

.product-apply__tabs {
    margin-bottom: 20px;
    border-bottom: 1px solid var(--color-border);
}

.product-apply__tabs .product-apply__tab {
    margin-right: 28px;
    padding: 10px 0;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    border-bottom: 2px solid transparent;
}

.product-apply__tabs .product-apply__tab.active {
    color: var(--color-text);
    border-bottom-color: var(--color-primary);
}

.product-apply__content {
    min-height: 90px;
    color: var(--color-text-muted);
}

/* =========================================================
   REVIEWS (đánh giá & nhận xét)
   ========================================================= */
.reviews {
    padding: 64px 0;
    border-top: 1px solid var(--color-border);
}

.reviews > .container > .section-title {
    margin-bottom: 40px;
}

.reviews__summary {
    padding: 28px 24px;
    background-color: var(--color-bg-soft);
}

.reviews__average {
    font-weight: 300;
    font-size: 56px;
    line-height: 1;
}

.reviews__stars {
    font-size: 15px;
}

.reviews__total {
    margin-top: 4px;
    font-size: 12px;
    color: var(--color-text-muted);
}

.reviews__bars {
    margin: 20px 0;
}

.reviews__bar {
    gap: 10px;
    padding: 5px 6px;
    font-size: 12px;
    color: var(--color-text);
    background: transparent;
    border: 0;
    cursor: pointer;
    transition: background-color var(--transition);
}

.reviews__bar:hover,
.reviews__bar--active {
    background-color: #fff;
}

.reviews__bar-label {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    width: 30px;
}

.reviews__bar-label .bi {
    font-size: 10px;
}

.reviews__bar-track {
    height: 4px;
    border-radius: 0;
    background-color: var(--color-border);
}

.reviews__bar-fill {
    background-color: var(--color-primary);
}

.reviews__bar-count {
    width: 30px;
    text-align: right;
    color: var(--color-text-muted);
}

.reviews__recommend {
    font-size: 13px;
}

/* Form viết đánh giá */
.review-form-wrap {
    display: none;
    margin-bottom: 32px;
}

.review-form {
    padding: 28px 24px;
    border: 1px solid var(--color-border);
}

.review-form__title {
    margin-bottom: 4px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.review-form__note {
    font-size: 12px;
    color: var(--color-text-muted);
}

.review-form__close {
    padding: 4px;
    font-size: 16px;
    background: transparent;
    border: 0;
    cursor: pointer;
}

.review-form__label {
    margin-bottom: 6px;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.review-form__input {
    font-size: 14px;
    border-color: var(--color-border);
    border-radius: 0;
}

.review-form__input:not(textarea) {
    height: 46px;
}

.review-form__input:focus {
    border-color: var(--color-primary);
    box-shadow: none;
}

.review-form__rating-text {
    font-size: 13px;
    color: var(--color-text-muted);
}

.review-form__counter {
    margin-top: 4px;
    font-size: 11px;
    color: var(--color-text-muted);
}

.review-form__upload {
    height: 64px;
    margin-bottom: 0;
    font-size: 13px;
    color: var(--color-text-muted);
    border: 1px dashed var(--color-border);
    cursor: pointer;
    transition: border-color var(--transition), color var(--transition);
}

.review-form__upload:hover {
    color: var(--color-text);
    border-color: var(--color-primary);
}

.review-form__agree {
    font-size: 12px;
    line-height: 1.6;
}

.review-form__agree a {
    text-decoration: underline;
}

.review-form .custom-control-input:checked ~ .custom-control-label::before {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
}

.review-form .custom-control-input.is-invalid ~ .custom-control-label {
    color: #dc3545;
}

/* Chọn sao: các sao xếp ngược để dùng selector ~ tô màu các sao phía trước */
.rating-input {
    flex-direction: row-reverse;
}

.rating-input__radio {
    position: absolute;
    opacity: 0;
}

.rating-input__star {
    margin: 0 2px 0 0;
    padding: 0 2px;
    font-size: 26px;
    color: var(--color-border);
    cursor: pointer;
    transition: color 0.15s ease, transform 0.15s ease;
}

.rating-input__star:hover {
    transform: scale(1.1);
}

.rating-input__star:hover,
.rating-input__star:hover ~ .rating-input__star,
.rating-input__radio:checked ~ .rating-input__star {
    color: var(--color-primary);
}

.rating-input__radio:focus-visible + .rating-input__star {
    outline: 1px solid var(--color-primary);
}

.rating-input--invalid .rating-input__star {
    color: #f1b0b7;
}

.reviews__alert {
    border-radius: 0;
    font-size: 14px;
}

/* Danh sách đánh giá */
.reviews__toolbar {
    gap: 12px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--color-border);
}

.reviews__showing {
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

.reviews__filter-chip {
    margin-left: 6px;
    padding: 3px 10px;
    font-size: 11px;
    color: #fff;
    background-color: var(--color-primary);
    border: 0;
    cursor: pointer;
}

.reviews__filter-chip .bi {
    margin-left: 4px;
    font-size: 9px;
}

.reviews__sort {
    width: auto;
    height: 36px;
    font-size: 12px;
    border-color: var(--color-border);
    border-radius: 0;
}

.reviews__sort:focus {
    border-color: var(--color-primary);
    box-shadow: none;
}

.review-item {
    padding: 24px 0;
    border-bottom: 1px solid var(--color-border);
}

.review-item--hidden {
    display: none;
}

.review-item__date {
    font-size: 12px;
    color: var(--color-text-muted);
}

.review-item__title {
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.04em;
}

.review-item__text {
    margin-bottom: 12px;
    font-size: 14px;
}

.review-item__meta {
    gap: 12px;
    margin-bottom: 12px;
    font-size: 12px;
}

.review-item__author {
    font-weight: 500;
}

.review-item__reply {
    margin-bottom: 12px;
    padding: 14px 16px;
    font-size: 13px;
    color: var(--color-text-muted);
    background-color: var(--color-bg-soft);
    border-left: 2px solid var(--color-primary);
}

.review-item__reply-title {
    margin-bottom: 4px;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-text);
}

.reviews__empty {
    padding: 32px 0;
    color: var(--color-text-muted);
}

.reviews__more {
    margin-top: 32px;
}

@media (min-width: 768px) {
    .product-gallery__thumbs {
        margin-top: 0;
        margin-right: 16px;
    }

    .product-gallery__thumb {
        width: 72px;
    }

    .product-info__name {
        font-size: 36px;
    }

    .product-story__content {
        padding: 64px 56px;
    }

    .product-ingredients,
    .product-apply,
    .product-related,
    .reviews {
        padding: 88px 0;
    }

    .product-benefits {
        padding: 88px 0;
    }

    .review-form {
        padding: 32px;
    }
}

@media (min-width: 992px) {
    .product-benefits__content {
        padding: 0 32px;
    }

    .product-benefits__title {
        font-size: 24px;
    }

    .product-ingredients__title {
        font-size: 24px;
    }

    .ingredient-card__name {
        font-size: 20px;
    }

    .product-info {
        position: sticky;
        top: calc(var(--sticky-offset, 140px) + 24px);
        padding-left: 24px;
    }

    .product-story__content {
        padding: 64px 72px;
    }
}

/* =========================================================
   CONTACT (trang liên hệ)
   ========================================================= */
.contact {
    padding: 8px 0 64px;
}

.contact-form__title {
    margin-bottom: 6px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.contact-form__note {
    margin-bottom: 28px;
    font-size: 12px;
    color: var(--color-text-muted);
}

.contact-form__label {
    margin-bottom: 6px;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.contact-form__input {
    font-size: 14px;
    border-color: var(--color-border);
    border-radius: 0;
}

.contact-form__input:not(textarea) {
    height: 48px;
}

.contact-form__input:focus {
    border-color: var(--color-primary);
    box-shadow: none;
}

.contact-form__counter {
    margin-top: 4px;
    font-size: 11px;
    color: var(--color-text-muted);
}

.contact-form__agree {
    font-size: 12px;
    line-height: 1.6;
}

.contact-form__agree a {
    text-decoration: underline;
}

.contact-form .custom-control-input:checked ~ .custom-control-label::before {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
}

.contact-form .custom-control-input.is-invalid ~ .custom-control-label {
    color: #dc3545;
}

.contact-form__submit {
    min-width: 220px;
}

.contact-form__alert {
    font-size: 14px;
    border-radius: 0;
}

.contact-info__block {
    padding: 28px 0;
    border-bottom: 1px solid var(--color-border);
}

.contact-info__block:first-child {
    padding-top: 0;
}

.contact-info__block:last-child {
    border-bottom: 0;
}

.contact-info__title {
    margin-bottom: 12px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.contact-info__text {
    font-size: 13px;
    color: var(--color-text-muted);
}

.contact-info__text strong {
    font-weight: 500;
    color: var(--color-text);
}

.contact-info__link {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-text);
}

.contact-info__link .bi {
    width: 26px;
    font-size: 15px;
}

.contact-info__link:hover {
    text-decoration: underline;
}

/* ===== Bản đồ & hệ thống cửa hàng ===== */
.store-map {
    padding: 64px 0;
    background-color: var(--color-bg-soft);
}

.store-map .section-title {
    margin-bottom: 40px;
}

.store-map__box {
    background-color: #fff;
}

.store-list__item {
    display: block;
    padding: 20px 24px;
    color: var(--color-text);
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--color-border);
    border-left: 2px solid transparent;
    cursor: pointer;
    transition: background-color var(--transition), border-color var(--transition);
}

.store-list li:last-child .store-list__item {
    border-bottom: 0;
}

.store-list__item:hover {
    background-color: var(--color-bg-soft);
}

.store-list__item--active {
    background-color: var(--color-bg-soft);
    border-left-color: var(--color-primary);
}

.store-list__city {
    display: block;
    margin-bottom: 2px;
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

.store-list__name {
    display: block;
    margin-bottom: 10px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.store-list__line {
    display: flex;
    align-items: flex-start;
    margin-bottom: 4px;
    font-size: 12px;
    color: var(--color-text-muted);
}

.store-list__line .bi {
    flex-shrink: 0;
    width: 22px;
    margin-top: 2px;
}

.store-map__frame {
    position: relative;
    height: 360px;
}

.store-map__iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    filter: grayscale(0.85);   /* bản đồ tông xám hợp màu thương hiệu */
}

.store-map__directions {
    position: absolute;
    right: 16px;
    bottom: 16px;
    padding: 10px 20px;
}

@media (min-width: 768px) {
    .store-map {
        padding: 88px 0;
    }

    .store-map__frame {
        height: 460px;
    }
}

@media (min-width: 992px) {
    .store-map__frame {
        height: 100%;
        min-height: 480px;
    }

    .contact-info {
        padding-top: 4px;
    }
}

/* =========================================================
   NEWS LIST (danh mục tin tức)
   ========================================================= */
.news-list {
    padding: 8px 0 64px;
}

.news-list__item {
    margin-bottom: 48px;
}

/* Card tin tức dùng chung */
.news-card__media {
    overflow: hidden;
    margin-bottom: 20px;
    background-color: var(--color-bg-soft);
}

.news-card .news-card__image {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.news-card:hover .news-card__image {
    transform: scale(1.04);
}

.news-card__meta {
    gap: 14px;
    margin-bottom: 10px;
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.news-card__date {
    color: var(--color-text-muted);
}

.news-card__title {
    margin-bottom: 10px;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.news-card__title a {
    color: var(--color-text);
}

.news-card__title a:hover {
    color: var(--color-accent);
}

.news-card__excerpt {
    display: -webkit-box;
    margin-bottom: 16px;
    overflow: hidden;
    font-size: 13px;
    color: var(--color-text-muted);
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.news-card__more {
    color: var(--color-text);
}

/* Phân trang */
.news-pagination .page-item .page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin: 0 4px;
    padding: 0;
    font-size: 13px;
    color: var(--color-text);
    border: 1px solid var(--color-border);
    border-radius: 0;
}

.news-pagination .page-item .page-link:hover {
    border-color: var(--color-primary);
    background-color: transparent;
}

.news-pagination .page-item.active .page-link {
    color: #fff;
    background-color: var(--color-primary);
    border-color: var(--color-primary);
}

.news-pagination .page-item.disabled .page-link {
    color: var(--color-border);
}

.news-pagination .page-link:focus {
    box-shadow: none;
}

/* =========================================================
   ARTICLE (chi tiết tin tức)
   ========================================================= */
.article-head {
    padding: 32px 0 32px;
}

.article-head__title {
    max-width: 860px;
    margin: 28px auto 16px;
    font-weight: 300;
    font-size: 24px;
    line-height: 1.35;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.article-head__meta {
    gap: 8px 24px;
    margin-bottom: 0;
    font-size: 12px;
    letter-spacing: 0.06em;
    color: var(--color-text-muted);
}

.article-head__meta .bi {
    margin-right: 6px;
}

.article {
    padding-bottom: 64px;
}

.article__cover {
    margin: 0 0 40px;
}

.article .article__cover-image {
    display: block;
    width: 100%;
    aspect-ratio: 2 / 1;
    object-fit: cover;
}

.article__body {
    max-width: 760px;
    font-size: 15px;
    line-height: 1.85;
}

.article__body h2 {
    margin: 40px 0 14px;
    font-weight: 500;
    font-size: 16px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.article__body p,
.article__body ul {
    margin-bottom: 18px;
}

.article__body ul {
    padding-left: 20px;
}

.article__body li {
    margin-bottom: 6px;
}

.article__body a:not(.link-underline) {
    text-decoration: underline;
}

.article__lead {
    font-size: 17px;
    line-height: 1.8;
    color: var(--color-text);
}

.article__quote {
    margin: 40px 0;
    padding: 28px 32px;
    text-align: center;
    background-color: var(--color-bg-soft);
}

.article__quote p {
    margin-bottom: 12px;
    font-weight: 300;
    font-size: 19px;
    line-height: 1.6;
    letter-spacing: 0.02em;
}

.article__quote cite {
    font-style: normal;
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

.article__figure {
    margin: 32px 0;
}

.article .article__image {
    display: block;
    width: 100%;
}

.article__caption {
    margin-top: 10px;
    font-size: 12px;
    text-align: center;
    color: var(--color-text-muted);
}

.article__footer {
    gap: 16px;
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid var(--color-border);
}

.article__back {
    font-size: 11px;
}

.article-share {
    position: relative;
    gap: 8px;
}

.article-share__label {
    margin-right: 6px;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.article-share__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    font-size: 15px;
    color: var(--color-text);
    background: transparent;
    border: 1px solid var(--color-border);
    border-radius: 50%;
    cursor: pointer;
    transition: color var(--transition), background-color var(--transition), border-color var(--transition);
}

.article-share__link:hover {
    color: #fff;
    background-color: var(--color-primary);
    border-color: var(--color-primary);
}

.article-share__copied {
    position: absolute;
    left: 0;
    top: 100%;
    margin-top: 8px;
    padding: 4px 10px;
    font-size: 11px;
    color: #fff;
    white-space: nowrap;
    background-color: var(--color-primary);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition), visibility var(--transition);
}

.article-share__copied--show {
    opacity: 1;
    visibility: visible;
}

/* Bài viết liên quan */
.news-related {
    padding: 64px 0 24px;
    border-top: 1px solid var(--color-border);
}

.news-related .section-title {
    margin-bottom: 40px;
}

.news-related__item {
    margin-bottom: 40px;
}

@media (min-width: 768px) {
    .article-head__title {
        font-size: 32px;
    }

    .news-related {
        padding-top: 88px;
    }
}

/* =========================================================
   RESPONSIVE (mobile-first)
   ========================================================= */
@media (min-width: 576px) {
    .newsletter__submit {
        margin-top: 0;
    }

    .category-tile__label {
        font-size: 11px;
        bottom: 24px;
    }
}

@media (min-width: 768px) {
    html {
        --header-height: 80px;
    }

    .section-title {
        font-size: 28px;
    }

    .header__logo-name {
        font-size: 24px;
    }

    .search__submit {
        display: inline-block;
    }

    .hero__title {
        font-size: 36px;
    }

    .hero__content {
        bottom: 90px;
    }

    .gift-feature__content {
        padding: 64px 56px;
    }

    .heritage__title {
        font-size: 32px;
    }

    .product-showcase,
    .collection-feature,
    .newsletter {
        padding: 88px 0;
    }

    .product-showcase__title {
        font-size: 28px;
    }

    .page-head {
        padding: 40px 0 56px;
    }

    .page-head__title {
        font-size: 32px;
    }

    .product-list__item {
        margin-bottom: 40px;
    }

    .product-showcase__head {
        margin-bottom: 56px;
    }
}

/* Desktop: menu ngang, hover bằng CSS */
@media (min-width: 992px) {
    .nav-sidebar {
        position: static;
        width: auto;
        max-width: none;
        overflow: visible;
        transform: none;
        transition: none;
        border-top: 1px solid var(--color-border);
    }

    .nav-overlay {
        display: none;
    }

    .main-menu {
        display: flex;
        justify-content: center;
    }

    .main-menu__item {
        border-bottom: 0;
    }

    .main-menu__toggle {
        display: none;
    }

    .main-menu > .main-menu__item > .main-menu__link {
        position: relative;
        padding: 16px 22px;
        font-size: 11px;
        letter-spacing: 0.2em;
    }

    .main-menu > .main-menu__item > .main-menu__link::after {
        content: '';
        position: absolute;
        left: 22px;
        right: 22px;
        bottom: 10px;
        height: 1px;
        background-color: var(--color-primary);
        transform: scaleX(0);
        transition: transform var(--transition);
    }

    .main-menu > .main-menu__item:hover > .main-menu__link::after {
        transform: scaleX(1);
    }

    /* Menu con cấp 2 */
    .main-menu__submenu {
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        z-index: 30;
        width: 240px;
        padding: 10px 0;
        background-color: #fff;
        border: 1px solid var(--color-border);
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
        opacity: 0;
        visibility: hidden;
        transform: translateY(8px);
        transition: opacity var(--transition), visibility var(--transition), transform var(--transition);
    }

    .main-menu__item:hover > .main-menu__submenu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .main-menu__submenu .main-menu__link,
    .main-menu__submenu--level-3 .main-menu__link {
        padding: 9px 22px;
        font-size: 13px;
    }

    .main-menu__submenu .main-menu__item--has-sub > .main-menu__link::after {
        content: '\203A';
        float: right;
        font-size: 16px;
        line-height: 1;
    }

    /* Menu cháu cấp 3: bung sang phải */
    .main-menu__submenu--level-3 {
        top: -11px;
        left: 100%;
        transform: translateX(8px);
    }

    .main-menu__item:hover > .main-menu__submenu--level-3 {
        transform: translateX(0);
    }

    .gift-feature__media {
        min-height: 560px;
    }

    .gift-feature__content {
        padding: 64px 72px;
    }

    .collection-feature__text {
        font-size: 15px;
    }

    .heritage,
    .heritage__content {
        min-height: 640px;
    }
}

@media (min-width: 1200px) {
    .section-title {
        font-size: 32px;
    }

    .hero__title {
        font-size: 44px;
    }

    .product-showcase__title {
        font-size: 34px;
        letter-spacing: 0.14em;
    }

    .heritage__title {
        font-size: 40px;
    }
}

/* Desktop có chuột: thanh "Thêm vào giỏ" trượt lên từ đáy khung ảnh khi hover */
@media (min-width: 992px) and (hover: hover) {
    .product-card__btn.btn-brand {
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 2;
        transform: translateY(100%);
        transition: transform 0.35s ease, background-color var(--transition);
    }

    .product-card:hover .product-card__btn.btn-brand,
    .product-card__btn.btn-brand:focus {
        transform: translateY(0);
    }
}
