/*
Theme Name: Hasaki
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/* ══════════════════════════════════════════════════════════════
   HASAKI DESIGN SYSTEM — Inspired by hasaki.vn
   ══════════════════════════════════════════════════════════════ */

/* Remove underline on all links, including hover/focus */
a,
a:hover,
a:focus,
a:active {
    text-decoration: none !important;
}

/* ─── CSS VARIABLES ──────────────────────────────────────── */
.header .nav > li > ul {
    padding: 5px;
}
.header .nav > li > ul > li > a {
    color: #000;
}
.hometitle {
    font-weight: bold!important;
}
:root {
    --hsk-primary: #016143;
    --hsk-primary-dark: #016143;
    --hsk-primary-light: #e5f3ec;
    --hsk-green-light: #e5f3ec;
    --hsk-orange: #f58220;
    --hsk-red: #d82f2f;
    --hsk-red-dark: #c0272d;
    --hsk-bg: #f5f5f5;
    --hsk-bg-white: #ffffff;
    --hsk-text: #333333;
    --hsk-text-light: #666666;
    --hsk-text-muted: #999999;
    --hsk-border: #e0e0e0;
    --hsk-border-light: #eeeeee;
    --hsk-shadow: 0 2px 8px rgba(0,0,0,0.08);
    --hsk-shadow-hover: 0 4px 16px rgba(0,0,0,0.12);
    --hsk-radius: 8px;
    --hsk-radius-lg: 16px;
    --hsk-radius-pill: 50px;
    --hsk-container: 1400px;
    --hsk-gap: 12px;
    --hsk-transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --hsk-font: 'Be Vietnam Pro', 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ─── GOOGLE FONTS ───────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:wght@300;400;500;600;700&display=swap');

/* ─── BASE OVERRIDES ─────────────────────────────────────── */
body {
    font-family: var(--hsk-font) !important;
    background-color: var(--hsk-bg);
    color: var(--hsk-text);
    -webkit-font-smoothing: antialiased;
}

/* ─── CONTAINER ──────────────────────────────────────────── */
.hsk-container {
    max-width: var(--hsk-container);
    margin: 0 auto;
    padding: 0 16px;
}

/* ══════════════════════════════════════════════════════════════
   HOMEPAGE SECTIONS
   ══════════════════════════════════════════════════════════════ */

.hasaki-home {
    background: var(--hsk-bg);
}

/* ─── 1. HERO BANNER SLIDER ─────────────────────────────── */
.hsk-hero {
    padding: 12px 0 0;
}
.hsk-hero__wrap {
    display: flex;
    gap: 8px;
    min-height: 340px;
}
.hsk-hero__slider {
    flex: 0 0 66.666%;
    max-width: 66.666%;
    position: relative;
    border-radius: var(--hsk-radius-lg);
    overflow: hidden;
}
.hsk-hero__side {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.hsk-hero__side-banner {
    flex: 1;
    border-radius: var(--hsk-radius-lg);
    overflow: hidden;
    display: block;
}
.hsk-hero__side-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--hsk-transition);
}
.hsk-hero__side-banner:hover img {
    transform: scale(1.03);
}

/* Slider */
.hsk-slider {
    position: relative;
    width: 100%;
    height: 100%;
}
.hsk-slider__track {
    position: relative;
    width: 100%;
    height: 100%;
}
.hsk-slider__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.6s ease;
    z-index: 0;
}
.hsk-slider__slide.is-active {
    opacity: 1;
    z-index: 1;
}
.hsk-slider__slide a {
    display: block;
    height: 100%;
}
.hsk-slider__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hsk-slider__btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.85);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--hsk-text);
    box-shadow: var(--hsk-shadow);
    opacity: 0;
    transition: opacity var(--hsk-transition), background var(--hsk-transition);
}
.hsk-hero__slider:hover .hsk-slider__btn {
    opacity: 1;
}
.hsk-slider__btn:hover {
    background: #fff;
}
.hsk-slider__btn--prev { left: 12px; }
.hsk-slider__btn--next { right: 12px; }
.hsk-slider__dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    display: flex;
    gap: 6px;
}
.hsk-slider__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    padding: 0;
    transition: all var(--hsk-transition);
}
.hsk-slider__dot.is-active {
    background: #fff;
    width: 24px;
    border-radius: 4px;
}

/* ─── 2. USP BAR ────────────────────────────────────────── */
.hsk-usp {
    padding: 20px 0;
    background: var(--hsk-bg-white);
    border-bottom: 1px solid var(--hsk-border-light);
}
.hsk-usp__grid {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}
.hsk-usp__item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
}
.hsk-usp__icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--hsk-green-light);
    color: var(--hsk-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}
.hsk-usp__icon i { font-size: 18px; }
.hsk-usp__text {
    font-weight: 600;
    font-size: 14px;
    color: var(--hsk-text);
    display: block;
}
.hsk-usp__subtext {
    font-size: 12px;
    color: var(--hsk-text-light);
    display: block;
    margin-top: 2px;
}

/* ─── 3. QUICK CATEGORY ICONS ────────────────────────────── */
.hsk-categories {
    padding: 24px 0 16px;
}
.hsk-categories__grid {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    padding: 8px 0;
}
.hsk-categories__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    width: 80px;
    transition: transform var(--hsk-transition);
}
.hsk-categories__item:hover {
    transform: translateY(-4px);
}
.hsk-categories__icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--hsk-border-light);
    transition: border-color var(--hsk-transition), box-shadow var(--hsk-transition);
    background: var(--hsk-bg-white);
}
.hsk-categories__item:hover .hsk-categories__icon {
    border-color: var(--hsk-primary);
    box-shadow: 0 0 0 3px var(--hsk-green-light);
}
.hsk-categories__icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hsk-categories__title {
    font-size: 12px;
    font-weight: 500;
    color: var(--hsk-text);
    text-align: center;
    line-height: 1.3;
}

/* ─── 4. PRODUCT SECTIONS ────────────────────────────────── */
.hsk-products {
    padding: 24px 0;
}
.hsk-products__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}
.hsk-products__title {
    font-size: 20px;
    font-weight: 700;
    color: var(--hsk-text);
    margin: 0;
    position: relative;
    padding-left: 14px;
}
.hsk-products__title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 22px;
    background: var(--hsk-primary);
    border-radius: 2px;
}
.hsk-products__viewall {
    font-size: 14px;
    font-weight: 500;
    color: var(--hsk-primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: color var(--hsk-transition);
}
.hsk-products__viewall:hover {
    color: var(--hsk-primary-dark);
}
.hsk-products__grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--hsk-gap);
}

/* ─── PRODUCT CARD ───────────────────────────────────────── */
.hsk-product-card {
    background: var(--hsk-bg-white);
    border-radius: var(--hsk-radius);
    border: 1px solid var(--hsk-border-light);
    transition: box-shadow var(--hsk-transition), transform var(--hsk-transition);
    display: flex;
    flex-direction: column;
    position: relative;
    padding: 5px;
}
.hsk-product-card:hover {
    box-shadow: var(--hsk-shadow-hover);
    transform: translateY(-2px);
}
.hsk-product-card__link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.hsk-product-card__image {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background: #fafafa;
    border-radius: var(--hsk-radius);
}
.hsk-product-card__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.4s ease;
    padding: 3px;
}
.hsk-product-card:hover .hsk-product-card__image img {
    transform: scale(1.05);
}
.hsk-product-card__badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: var(--hsk-red);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    z-index: 2;
    line-height: 1.4;
}
.hsk-product-card__info {
    padding: 8px 4px 4px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    flex: 1;
}
.hsk-product-card__brand {
    font-size: 11px;
    color: var(--hsk-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}
.hsk-product-card__name {
    font-size: 13px;
    font-weight: 400;
    line-height: 1.4;
    color: var(--hsk-text);
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 36px;
    text-wrap: inherit;
}
.hsk-product-card__desc {
    display: none;
}
.hsk-product-card__meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 2px;
    font-size: 11px;
    color: var(--hsk-text-muted);
}
.hsk-product-card__rating {
    display: inline-flex;
    align-items: center;
    gap: 2px;
}
.hsk-star {
    font-size: 12px;
    color: #ccc;
    line-height: 1;
}
.hsk-star--filled {
    color: #f5a623;
}
.hsk-product-card__rating-val {
    font-size: 11px;
    font-weight: 600;
    color: var(--hsk-text-light);
}
.hsk-product-card__reviews {
    font-size: 11px;
    color: var(--hsk-text-muted);
}
.hsk-product-card__sold-txt {
    font-size: 11px;
    color: var(--hsk-text-muted);
    white-space: nowrap;
    margin-left: auto;
}
.hsk-product-card__progress {
    position: relative;
    height: 6px;
    border-radius: 50px;
    background: #f0f0f0;
    overflow: hidden;
    margin-top: 4px;
    margin-bottom: 5px;
}
.hsk-product-card__progress-bar {
    position: absolute;
    inset: 0 auto 0 0;
    height: 100%;
    border-radius: 50px;
    background: linear-gradient(90deg, var(--hsk-orange), #f5a623);
}
.hsk-product-card__price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
}
/* WooCommerce default price markup inside the card */
.hsk-product-card__price,
.hsk-product-card__price ins,
.hsk-product-card__price ins .amount,
.hsk-product-card__price > .amount {
    color: var(--hsk-primary) !important;
    font-weight: 700;
    text-decoration: none;
}
.hsk-product-card__price ins {
    font-size: 15px;
}
.hsk-product-card__price del,
.hsk-product-card__price del .amount {
    color: var(--hsk-text-muted) !important;
    font-size: 12px;
    font-weight: 400 !important;
    text-decoration: line-through;
}
.hsk-price--sale,
.hsk-price--current {
    font-size: 15px;
    font-weight: 700;
    color: var(--hsk-primary);
}
.hsk-price--regular {
    font-size: 12px;
    color: var(--hsk-text-muted);
    text-decoration: line-through;
}
.hsk-product-card__addtocart {
    display: none !important;
}

/* ─── FLASH DEALS (dark green section) ───────────────────── */
.hsk-deals {
    background: var(--hsk-primary);
    background: linear-gradient(180deg, #014d35 0%, #016143 100%);
    padding: 20px 0 16px;
    margin: 16px 0;
    border-radius: var(--hsk-radius-lg);
}
.hsk-deals .row-small { max-width: var(--hsk-container); margin: 0 auto; }
/* Flatsome .row/.col bên trong section thêm padding → khử để khoảng xanh cân đối */
.hsk-deals .row,
.hsk-deals .col {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin: 0 !important;
}
.hsk-deals__head {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 0 16px 16px;
    flex-wrap: wrap;
}
.hsk-deals__title {
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: .3px;
}
.hsk-deals__timer {
    display: flex;
    align-items: center;
    gap: 4px;
}
.hsk-deals__timer-label {
    color: #fff;
    font-size: 13px;
    margin-right: 4px;
    opacity: .9;
}
.hsk-deals__time {
    background: #fff;
    color: var(--hsk-primary);
    font-weight: 800;
    font-size: 15px;
    min-width: 30px;
    text-align: center;
    padding: 4px 6px;
    border-radius: 6px;
    line-height: 1;
}
.hsk-deals .hsk-product-card__desc {
    display: none;
}
.hsk-deals__sep { color: #fff; font-weight: 800; }
.hsk-deals__viewall {
    margin-left: auto;
    color: #fff !important;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}
.hsk-deals__viewall:hover { opacity: .85; }

/* Deals slider: flex track, 6 columns, custom arrows */
.hsk-deals__slider-wrap { position: relative; padding: 0 16px; }
.hsk-deals__slider {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    overflow: hidden;
    scroll-behavior: smooth;
}
.hsk-deals__cell {
    flex: 0 0 calc((100% - 12px * 5) / 6);
    width: calc((100% - 12px * 5) / 6);
}
.hsk-deals__cell .hsk-product-card {
    background: var(--hsk-bg-white);
    border-radius: var(--hsk-radius);
    border: 1px solid var(--hsk-border-light);
    overflow: hidden;
    height: auto;
}
/* Co thẻ theo đúng nội dung, không bị theme kéo giãn để lộ nền xanh */
.hsk-deals__slider { align-items: flex-start !important; }
.hsk-deals__cell { align-self: flex-start !important; }
.hsk-deals__cell .hsk-product-card { height: auto !important; min-height: 0 !important; margin: 0 !important; }
.hsk-deals__cell .hsk-product-card__link,
.hsk-deals__cell .hsk-product-card__info { flex: 0 0 auto !important; }
/* No add-to-cart button inside deals slider */
.hsk-deals__cell .hsk-product-card__addtocart { display: none !important; }
/* Custom arrows over the dark section */
.hsk-deals__arrow {
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
    width: 40px !important; height: 40px !important; min-height: 0 !important;
    margin: 0 !important; padding: 0 !important;
    border: none !important; border-radius: 50% !important;
    background: #fff !important;
    box-shadow: 0 2px 10px rgba(0,0,0,.25) !important;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; color: #333 !important; line-height: 1 !important;
    text-transform: none !important; font-size: inherit !important;
    transition: color .2s, box-shadow .2s, opacity .2s;
}
.hsk-deals__arrow svg { display: block; }
.hsk-deals__arrow:hover { color: var(--hsk-primary) !important; background: #fff !important; }
.hsk-deals__arrow:disabled { opacity: 0; pointer-events: none; }
.hsk-deals__arrow--prev { left: -4px !important; right: auto !important; }
.hsk-deals__arrow--next { right: -4px !important; left: auto !important; }

/* Tablet: 3 cột */
@media (max-width: 1024px) {
    .hsk-deals__cell {
        flex: 0 0 calc((100% - 12px * 2) / 3);
        width: calc((100% - 12px * 2) / 3);
    }
}
/* Mobile: 2 cột */
@media (max-width: 600px) {
    .hsk-deals__cell {
        flex: 0 0 calc((100% - 12px) / 2);
        width: calc((100% - 12px) / 2);
    }
    /* Sát cạnh: 2 bên 0px; section tự co theo nội dung (auto height) */
    .hsk-deals { padding-bottom: 12px; }
    .hsk-deals__head { padding-left: 0; padding-right: 0; }
    .hsk-deals__slider-wrap { padding-left: 0; padding-right: 0; }
    /* Giảm font-size giá 3px tránh tràn trên di động */
    .hsk-product-card__price ins,
    .hsk-product-card__price ins .amount,
    .hsk-product-card__price > .amount {
        font-size: 12px !important;
    }
}

/* ─── HOME CATEGORIES (.cateitem) ────────────────────────── */
.cateitem {
    border-radius: 8px;
    overflow: hidden;
    padding: 10px 8px;
    transition: transform .2s, box-shadow .2s;
}
.cateitem:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,.1);
}
.cateitem .image-cover { border-radius: 8px; }
.cateitem .title {
    font-size: 90%;
    margin: 8px 0 0;
    line-height: 1.4;
    color: var(--hsk-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
/* Ép title danh mục hiển thị 1 dòng (đè inline + style Flatsome) */
.homeslider .cateitem p.title,
.cateitem .title {
    font-size: 11px !important;
    line-height: 1.3 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 100%;
}
/* Dots slider (Flickity) — gọn, đẹp hơn, có khoảng cách với khối trên */
.homeslider .flickity-page-dots,
.homecta .flickity-page-dots {
    position: relative !important;
    bottom: auto !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    text-align: center !important;
    margin-top: 14px !important;
    line-height: 1 !important;
}
.homeslider .flickity-page-dots .dot,
.homecta .flickity-page-dots .dot {
    width: 7px !important;
    height: 7px !important;
    margin: 0 3px !important;
    background: #cfd8d4 !important;
    border: none !important;
    opacity: 1 !important;
    transition: width .25s ease, background .25s ease !important;
}
.homeslider .flickity-page-dots .dot.is-selected,
.homecta .flickity-page-dots .dot.is-selected {
    width: 18px !important;
    border-radius: 4px !important;
    background: var(--hsk-primary) !important;
}
/* CTAs (mobile): dots sát item, chữ nhỏ 70% */
@media (max-width: 600px) {
    .homecta .flickity-page-dots {
        margin-top: -30px !important;
    }
    .homecta .col-inner p {
        font-size: 70% !important;
    }
    /* Giảm padding các section box trên mobile xuống 8px (đè inline) */
    .col-inner.box-shadow-2 {
        padding: 8px !important;
    }
    /* Thương hiệu: khoảng cách tiêu đề ↔ thẻ còn 8px */
    .homebrands .hometitle {
        margin: 0 0 8px !important;
    }
}
/* Banner đầu trang: dots căn giữa, kéo lên gần banner */
.homebanner .flickity-page-dots {
    width: 100% !important;
    text-align: center !important;
    margin-top: 4px !important;
}
/* Pseudo-random pastel backgrounds, cycled every 8 items */
.cateitem { background: #f3f4f6; }
.col:nth-child(8n+1) .cateitem { background: #ffeef0; }
.col:nth-child(8n+2) .cateitem { background: #e7f6ee; }
.col:nth-child(8n+3) .cateitem { background: #fff3e0; }
.col:nth-child(8n+4) .cateitem { background: #e8f1fd; }
.col:nth-child(8n+5) .cateitem { background: #f3ecfb; }
.col:nth-child(8n+6) .cateitem { background: #fdeff7; }
.col:nth-child(8n+7) .cateitem { background: #e6f7f8; }
.col:nth-child(8n+8) .cateitem { background: #fef7e0; }

/* ─── HOME TOP SEARCH (.hsk-top) ──────────────────────────── */
.hsk-top__slider-wrap {
    position: relative;
}
.hsk-top__slider {
    display: flex;
    gap: 16px;
    overflow: hidden;
    scroll-behavior: smooth;
}
.hsk-top__block {
    flex: 0 0 calc((100% - 16px * 3) / 4);
    width: calc((100% - 16px * 3) / 4);
    border: 1px solid var(--hsk-border-light);
    border-radius: var(--hsk-radius);
    overflow: hidden;
    background: var(--hsk-bg-white);
    display: flex;
    flex-direction: row;
}
/* Main product: 2/3 width, name + price overlay on image */
.hsk-top__main {
    flex: 0 0 66.666%;
    width: 66.666%;
    position: relative;
    display: block;
    border-right: 1px solid var(--hsk-border-light);
}
.hsk-top__main-imgwrap {
    width: 100%;
    aspect-ratio: 1 / 1;
}
.hsk-top__main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.hsk-top__main-info {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 24px 10px 8px;
    background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.92) 55%, #fff 100%);
}
.hsk-top__main-name {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 12px;
    line-height: 1.35;
    color: var(--hsk-text);
    margin-bottom: 2px;
}
.hsk-top__main-price .amount {
    color: var(--hsk-primary) !important;
    font-weight: 700;
    font-size: 14px;
}
.hsk-top__main-price del .amount {
    color: var(--hsk-text-muted) !important;
    font-weight: 400;
    font-size: 11px;
}
/* Sub products: 1/3 width, 2 rows of images */
.hsk-top__subs {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
}
.hsk-top__sub {
    flex: 1 1 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    transition: background .2s;
}
.hsk-top__sub + .hsk-top__sub {
    border-top: 1px solid var(--hsk-border-light);
}
.hsk-top__sub:hover { background: #f7f7f7; }
.hsk-top__sub .hsk-top__sub-img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}
.hsk-top__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 40px !important;
    height: 40px !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    border-radius: 50% !important;
    background: #fff !important;
    box-shadow: 0 2px 10px rgba(0,0,0,.25) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #333 !important;
    line-height: 1 !important;
    text-transform: none !important;
    font-size: inherit !important;
    transition: color .2s, box-shadow .2s, opacity .2s;
}
.hsk-top__arrow svg { display: block; }
.hsk-top__arrow:hover { color: var(--hsk-primary) !important; background: #fff !important; }
.hsk-top__arrow:disabled { opacity: 0; pointer-events: none; }
.hsk-top__arrow--prev { left: -16px !important; right: auto !important; }
.hsk-top__arrow--next { right: -16px !important; left: auto !important; }

@media (max-width: 849px) {
    .hsk-top__block { flex: 0 0 calc(100% - 40px); width: calc(100% - 40px); }
}

/* ─── HOME BEST SELLERS (.hsk-bestseller) ─────────────────── */
.hsk-bestseller__slider-wrap {
    position: relative;
}
.hsk-bestseller__slider {
    display: flex;
    gap: 12px;
    overflow: hidden;
    scroll-behavior: smooth;
}
.hsk-bestseller__cell {
    flex: 0 0 calc((100% - 12px * 4) / 5);
    width: calc((100% - 12px * 4) / 5);
}
.hsk-bestseller__cell .hsk-product-card {
    background: var(--hsk-bg-white);
    border-radius: var(--hsk-radius);
    border: 1px solid var(--hsk-border-light);
    overflow: hidden;
    height: 100%;
}
.hsk-bestseller__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 40px !important;
    height: 40px !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    border-radius: 50% !important;
    background: #fff !important;
    box-shadow: 0 2px 10px rgba(0,0,0,.25) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #333 !important;
    line-height: 1 !important;
    text-transform: none !important;
    font-size: inherit !important;
    transition: color .2s, box-shadow .2s, opacity .2s;
}
.hsk-bestseller__arrow svg { display: block; }
.hsk-bestseller__arrow:hover { color: var(--hsk-primary) !important; background: #fff !important; }
.hsk-bestseller__arrow:disabled { opacity: 0; pointer-events: none; }
.hsk-bestseller__arrow--prev { left: -16px !important; right: auto !important; }
.hsk-bestseller__arrow--next { right: -16px !important; left: auto !important; }
.customfooter p {
    margin-bottom: 10px;
}
.customfooter .title {
    margin-bottom: 20px;
}
.customfooter .col {
    padding-bottom: 10px;
}
.newsletter p {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 99px;
    margin-bottom: 0;
    padding: 5px;
}
.newsletter .wpcf7-text {
    background: #fff;
    border-radius: 99px;
    box-shadow: none!important;
    margin-bottom: 0!important;
    border: none!important;
}
.newsletter .wpcf7-submit {
    border-radius: 99px;
    background: #f58220!important;
    color: #fff!important;
    text-transform: none!important;
    margin-right: 0!important;
    margin-bottom: 0!important;
    font-weight: normal;
}
.wpcf7-spinner {
    display: none!important;
}
@media (max-width: 849px) {
    .hsk-bestseller__cell { flex: 0 0 calc((100% - 12px) / 2); width: calc((100% - 12px) / 2); }
}

/* ─── HOME CLINIC (.hsk-clinic) ───────────────────────────── */
.hsk-clinic__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}
.hsk-clinic__more {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    font-size: 13px;
    font-weight: 600;
    color: var(--hsk-primary);
    white-space: nowrap;
}
.hsk-clinic__more:hover { color: var(--hsk-red); }
.hsk-clinic__more svg { display: block; }
.hsk-clinic__banners {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
}
.hsk-clinic__banner {
    display: block;
    border-radius: var(--hsk-radius);
    overflow: hidden;
    line-height: 0;
}
.hsk-clinic__banner img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform .4s ease;
}
.hsk-clinic__banner:hover img { transform: scale(1.02); }
.hsk-clinic__slider-wrap {
    position: relative;
}
.hsk-clinic__slider {
    display: flex;
    gap: 12px;
    overflow: hidden;
    scroll-behavior: smooth;
}
.hsk-clinic__cell {
    flex: 0 0 calc((100% - 12px * 4) / 5);
    width: calc((100% - 12px * 4) / 5);
}
.hsk-clinic__cell .hsk-product-card {
    background: var(--hsk-bg-white);
    border-radius: var(--hsk-radius);
    border: 1px solid var(--hsk-border-light);
    overflow: hidden;
    height: 100%;
}
/* Clinic services have no price table — hide all price/cart elements. */
.hsk-clinic__cell .hsk-product-card__price,
.hsk-clinic__cell .hsk-product-card__price-row,
.hsk-clinic__cell .hsk-product-card__addtocart,
.hsk-clinic__cell .hsk-product-card .price,
.hsk-clinic__cell .price {
    display: none !important;
}
.hsk-clinic__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 40px !important;
    height: 40px !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    border-radius: 50% !important;
    background: #fff !important;
    box-shadow: 0 2px 10px rgba(0,0,0,.25) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #333 !important;
    line-height: 1 !important;
    text-transform: none !important;
    font-size: inherit !important;
    transition: color .2s, box-shadow .2s, opacity .2s;
}
.hsk-clinic__arrow svg { display: block; }
.hsk-clinic__arrow:hover { color: var(--hsk-primary) !important; background: #fff !important; }
.hsk-clinic__arrow:disabled { opacity: 0; pointer-events: none; }
.hsk-clinic__arrow--prev { left: -16px !important; right: auto !important; }
.hsk-clinic__arrow--next { right: -16px !important; left: auto !important; }

@media (max-width: 849px) {
    .hsk-clinic__cell { flex: 0 0 calc((100% - 12px) / 2); width: calc((100% - 12px) / 2); }
}

/* ─── HOME RECENTLY VIEWED (.hsk-viewed) ──────────────────── */
.hsk-viewed__slider-wrap {
    position: relative;
}
.hsk-viewed__slider {
    display: flex;
    gap: 12px;
    overflow: hidden;
    scroll-behavior: smooth;
}
.hsk-viewed__cell {
    flex: 0 0 calc((100% - 12px * 4) / 5);
    width: calc((100% - 12px * 4) / 5);
}
.hsk-viewed__cell .hsk-product-card {
    background: var(--hsk-bg-white);
    border-radius: var(--hsk-radius);
    border: 1px solid var(--hsk-border-light);
    overflow: hidden;
    height: 100%;
}
.hsk-viewed__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 40px !important;
    height: 40px !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    border-radius: 50% !important;
    background: #fff !important;
    box-shadow: 0 2px 10px rgba(0,0,0,.25) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #333 !important;
    line-height: 1 !important;
    text-transform: none !important;
    font-size: inherit !important;
    transition: color .2s, box-shadow .2s, opacity .2s;
}
.hsk-viewed__arrow svg { display: block; }
.hsk-viewed__arrow:hover { color: var(--hsk-primary) !important; background: #fff !important; }
.hsk-viewed__arrow:disabled { opacity: 0; pointer-events: none; }
.hsk-viewed__arrow--prev { left: -16px !important; right: auto !important; }
.hsk-viewed__arrow--next { right: -16px !important; left: auto !important; }

@media (max-width: 849px) {
    .hsk-viewed__cell { flex: 0 0 calc((100% - 12px) / 2); width: calc((100% - 12px) / 2); }
}

/* ─── HOME SUGGESTED (.hsk-goiy) ──────────────────────────── */
.homegoiy { margin-top: 20px; }
.hsk-goiy__grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
}
.hsk-goiy__cell.is-hidden { display: none; }
.hsk-goiy__cell .hsk-product-card {
    background: var(--hsk-bg-white);
    border-radius: var(--hsk-radius);
    border: 1px solid var(--hsk-border-light);
    overflow: hidden;
    height: 100%;
}
.hsk-goiy__more-wrap {
    text-align: center;
    margin-top: 20px;
}
.hsk-goiy__more {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 10px 32px;
    border: 1px solid var(--hsk-primary);
    border-radius: var(--hsk-radius);
    background: #fff;
    color: var(--hsk-primary);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s, color .2s;
}
.hsk-goiy__more:hover { background: var(--hsk-primary); color: #fff; }
.hsk-goiy__more svg { display: block; }
.hsk-goiy__more.is-done { display: none; }

@media (max-width: 1024px) {
    .hsk-goiy__grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 849px) {
    .hsk-goiy__grid { grid-template-columns: repeat(2, 1fr); }
}

/* ─── HOME BRANDS (.hsk-brands) ───────────────────────────── */
/* Brand cards in a 2-row horizontal slider */
.hsk-brands__slider-wrap {
    position: relative;
    overflow: hidden;
}
.hsk-brands__track {
    display: grid;
    grid-auto-flow: column;
    grid-template-rows: 1fr 1fr;
    grid-auto-columns: calc((100% - 12px * 7) / 8);
    gap: 12px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.hsk-brands__track::-webkit-scrollbar { display: none; }
.hsk-brand-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: 1px solid var(--hsk-border-light);
    border-radius: var(--hsk-radius);
    overflow: hidden;
    background: var(--hsk-bg-white);
    padding: 8px;
    transition: box-shadow .2s, transform .2s;
}
.hsk-brand-card:hover {
    box-shadow: 0 4px 14px rgba(0,0,0,.12);
    transform: translateY(-2px);
}
.hsk-brand-card__logo {
    width: 100%;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.hsk-brand-card__logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}
.hsk-brand-card__name {
    display: block;
    width: 100%;
    margin-top: 6px;
}
.hsk-brand-card__name img {
    display: block;
    max-width: 100%;
    height: auto;
    max-height: 18px;
    width: auto;
    margin: 0 auto;
    object-fit: contain;
}
.hsk-brands__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 36px !important;
    height: 36px !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    border-radius: 50% !important;
    background: #fff !important;
    box-shadow: 0 2px 10px rgba(0,0,0,.2) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #333 !important;
    line-height: 1 !important;
    text-transform: none !important;
    font-size: inherit !important;
    transition: color .2s, box-shadow .2s, opacity .2s;
}
.hsk-brands__arrow svg { display: block; }
.hsk-brands__arrow:hover { color: var(--hsk-primary) !important; background: #fff !important; }
.hsk-brands__arrow:disabled { opacity: 0; pointer-events: none; }
.hsk-brands__arrow--prev { left: -4px !important; right: auto !important; }
.hsk-brands__arrow--next { right: -4px !important; left: auto !important; }

@media (max-width: 1024px) {
    .hsk-brands__track { grid-auto-columns: calc((100% - 12px * 4) / 5); }
}
@media (max-width: 849px) {
    .hsk-brands__track { grid-auto-columns: calc((100% - 12px * 4) / 5); }
}
@media (max-width: 640px) {
    .hsk-brands__track { grid-auto-columns: calc((100% - 12px * 1.2) / 2.2); }
}

/* ─── 5. PROMOTIONAL BANNERS ─────────────────────────────── */
.hsk-promo {
    padding: 24px 0;
}
.hsk-promo__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.hsk-promo__item {
    display: block;
    border-radius: var(--hsk-radius-lg);
    overflow: hidden;
    transition: transform var(--hsk-transition), box-shadow var(--hsk-transition);
}
.hsk-promo__item:hover {
    transform: translateY(-3px);
    box-shadow: var(--hsk-shadow-hover);
}
.hsk-promo__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ─── 6. BRAND LOGOS ─────────────────────────────────────── */
.hsk-brands {
    background: var(--hsk-bg-white);
}
.hsk-brands__title {
    font-size: 20px;
    font-weight: 700;
    color: var(--hsk-text);
    margin: 0 0 20px;
    text-align: center;
}
.hsk-brands__grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}
.hsk-brands__item {
    width: 100px;
    height: 56px;
    border: 1px solid var(--hsk-border-light);
    border-radius: var(--hsk-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    background: var(--hsk-bg-white);
    transition: border-color var(--hsk-transition), box-shadow var(--hsk-transition);
}
.hsk-brands__item:hover {
    border-color: var(--hsk-primary);
    box-shadow: 0 0 0 2px var(--hsk-green-light);
}
.hsk-brands__item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* ══════════════════════════════════════════════════════════════
   WOOCOMMERCE OVERRIDES — SHOP / CATEGORY PAGE
   ══════════════════════════════════════════════════════════════ */

/* Product grid on shop/category */
.woocommerce ul.products {
    display: grid !important;
    grid-template-columns: repeat(5, 1fr) !important;
    gap: var(--hsk-gap) !important;
}
.woocommerce ul.products li.product {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    background: var(--hsk-bg-white);
    border-radius: var(--hsk-radius);
    border: 1px solid var(--hsk-border-light);
    overflow: hidden;
    transition: box-shadow var(--hsk-transition), transform var(--hsk-transition);
}
.woocommerce ul.products li.product:hover {
    box-shadow: var(--hsk-shadow-hover);
    transform: translateY(-2px);
}
.woocommerce ul.products li.product a img {
    border-radius: 0;
    margin: 0 !important;
    padding: 8px;
    object-fit: contain;
    aspect-ratio: 1;
    background: #fafafa;
    transition: transform 0.4s ease;
}
.woocommerce ul.products li.product:hover a img {
    transform: scale(1.05);
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: 13px !important;
    font-weight: 400 !important;
    padding: 8px 12px 4px !important;
    line-height: 1.4;
    color: var(--hsk-text);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 36px;
}
.woocommerce ul.products li.product .price {
    padding: 0 12px 8px !important;
    font-size: 15px;
    color: var(--hsk-primary) !important;
    font-weight: 700 !important;
}
.woocommerce ul.products li.product .price,
.woocommerce ul.products li.product .price ins .amount,
.woocommerce ul.products li.product .price > .amount {
    color: var(--hsk-primary) !important;
}
.woocommerce ul.products li.product .price del {
    color: var(--hsk-text-muted) !important;
    font-size: 12px;
    font-weight: 400 !important;
}
.woocommerce ul.products li.product .price del .amount {
    color: var(--hsk-text-muted) !important;
}
.woocommerce ul.products li.product .price ins {
    font-weight: 700 !important;
    color: var(--hsk-primary) !important;
    text-decoration: none;
}
.woocommerce ul.products li.product .star-rating {
    margin: 0 12px 4px !important;
    font-size: 12px;
}
.woocommerce ul.products li.product .onsale,
.woocommerce span.onsale {
    background: var(--hsk-red) !important;
    color: #fff !important;
    border-radius: 4px !important;
    padding: 3px 8px !important;
    min-width: auto !important;
    min-height: auto !important;
    line-height: 1.4 !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    top: 8px !important;
    left: 8px !important;
    right: auto !important;
}
/* Add to cart button */
.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product a.add_to_cart_button {
    background: var(--hsk-primary) !important;
    color: #fff !important;
    border: none !important;
    border-radius: var(--hsk-radius) !important;
    font-family: var(--hsk-font) !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    padding: 8px 12px !important;
    margin: 4px 12px 12px !important;
    text-transform: none !important;
    transition: background var(--hsk-transition) !important;
    width: calc(100% - 24px);
    text-align: center;
}
.woocommerce ul.products li.product .button:hover,
.woocommerce ul.products li.product a.add_to_cart_button:hover {
    background: var(--hsk-primary-dark) !important;
}

/* ─── SINGLE PRODUCT PAGE ────────────────────────────────── */
.woocommerce div.product .product_title {
    font-size: 22px;
    font-weight: 600;
    color: var(--hsk-text);
}
.woocommerce div.product p.price {
    color: var(--hsk-red) !important;
    font-size: 24px !important;
    font-weight: 700 !important;
}
.woocommerce div.product p.price del {
    color: var(--hsk-text-muted) !important;
    font-size: 16px;
}
.woocommerce div.product .single_add_to_cart_button {
    background: var(--hsk-primary) !important;
    color: #fff !important;
    border: none !important;
    border-radius: var(--hsk-radius) !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    padding: 12px 32px !important;
    text-transform: none !important;
    font-family: var(--hsk-font) !important;
    transition: background var(--hsk-transition) !important;
}
.woocommerce div.product .single_add_to_cart_button:hover {
    background: var(--hsk-primary-dark) !important;
}

/* Quantity input */
.woocommerce .quantity .qty {
    border-radius: var(--hsk-radius) !important;
    border: 1px solid var(--hsk-border) !important;
    font-family: var(--hsk-font) !important;
}

/* Tabs */
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
    color: var(--hsk-primary) !important;
    border-bottom-color: var(--hsk-primary) !important;
}

/* ─── SIDEBAR WIDGETS (Filters) ──────────────────────────── */
.widget_layered_nav ul li a,
.widget_product_categories ul li a {
    font-family: var(--hsk-font);
    font-size: 13px;
    color: var(--hsk-text);
    text-decoration: none;
    padding: 4px 0;
    display: block;
    transition: color var(--hsk-transition);
}
.widget_layered_nav ul li a:hover,
.widget_product_categories ul li a:hover {
    color: var(--hsk-primary);
}

/* ─── BREADCRUMBS ────────────────────────────────────────── */
.woocommerce .woocommerce-breadcrumb {
    font-size: 13px;
    color: var(--hsk-text-muted);
    font-family: var(--hsk-font);
    margin-bottom: 16px !important;
}
.woocommerce .woocommerce-breadcrumb a {
    color: var(--hsk-primary);
    text-decoration: none;
}

/* ─── PAGINATION ─────────────────────────────────────────── */
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
    border-radius: var(--hsk-radius) !important;
    font-family: var(--hsk-font) !important;
    font-size: 14px;
    min-width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.woocommerce nav.woocommerce-pagination ul li span.current {
    background: var(--hsk-primary) !important;
    border-color: var(--hsk-primary) !important;
    color: #fff !important;
}

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════════ */

@media only screen and (max-width: 1200px) {
    .hsk-products__grid {
        grid-template-columns: repeat(4, 1fr);
    }
    .woocommerce ul.products {
        grid-template-columns: repeat(4, 1fr) !important;
    }
}

@media only screen and (max-width: 992px) {
    .hsk-products__grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .woocommerce ul.products {
        grid-template-columns: repeat(3, 1fr) !important;
    }
    .hsk-hero__wrap {
        flex-direction: column;
    }
    .hsk-hero__slider {
        flex: none;
        max-width: 100%;
    }
    .hsk-hero__side {
        flex-direction: row;
    }
    .hsk-promo__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media only screen and (max-width: 768px) {
    .hsk-hero__side {
        display: none;
    }
    .hsk-hero__slider {
        border-radius: var(--hsk-radius);
    }
    .hsk-products__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    .woocommerce ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
    }
    .hsk-usp__grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .hsk-categories__grid {
        gap: 10px;
    }
    .hsk-categories__item {
        width: 64px;
    }
    .hsk-categories__icon {
        width: 48px;
        height: 48px;
    }
    .hsk-categories__title {
        font-size: 11px;
    }
    .hsk-promo__grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .hsk-product-card__addtocart {
        opacity: 1;
        transform: translateY(0);
    }
    .hsk-brands__item {
        width: 80px;
        height: 48px;
    }
}

@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/
    .hsk-products__title {
        font-size: 16px;
    }
    .hsk-product-card__name {
        font-size: 12px;
    }
    .hsk-price--sale,
    .hsk-price--current {
        font-size: 14px;
    }
}

/* ══════════════════════════════════════════════════════════════
   SINGLE PRODUCT PAGE — HASAKI.VN CLONE
   ══════════════════════════════════════════════════════════════ */

.hsk-single-product { background: var(--hsk-bg); padding-bottom: 0px; overflow-x: clip; }
/* Đồng bộ nền các wrapper của Flatsome để không lộ mảng trắng ở cuối trang */
.hsk-single-product #main,
.hsk-single-product #content,
.hsk-single-product .page-wrapper,
.hsk-single-product .page-wrapper-inner { background: var(--hsk-bg) !important; }
.hsk-single-product .product-container,
.hsk-single-product .product-main,
.hsk-single-product .product-footer { display: none; }

/* ── Hide editor & store notices ── */
.hsk-single-product .woocommerce-store-notice,
.hsk-single-product .demo_store,
.hsk-single-product .woocommerce-info,
.hsk-single-product .woocommerce-message,
.hsk-single-product .woocommerce-notices-wrapper:empty,
.hsk-single-product .woocommerce-error,
.hsk-single-product .is-dismissible,
.hsk-single-product .cookie-notice,
.hsk-single-product .wp-block-woocommerce-store-notices,
body.hsk-single-product .woocommerce-store-notice { display:none!important; }

/* Override Flatsome defaults on single product (chỉ trong vùng nội dung, không đụng footer) */
.hsk-single-product .hsk-container .col { padding:0!important; }
.hsk-single-product .product-page-accordian,
.hsk-single-product .related.products { display:none!important; }

/* ── Breadcrumbs ── */
.hsk-breadcrumbs { padding: 5px 0; }
.hsk-breadcrumbs__nav { display:flex; align-items:center; gap:5px; flex-wrap:nowrap; font-size:14px; color:#777; min-height:40px; padding:5px 0; overflow:hidden; }
.hsk-breadcrumbs__nav svg { display:block; flex-shrink:0; align-self:center; }
.hsk-breadcrumbs__nav a { color:#777; text-decoration:none; cursor:pointer; white-space:nowrap; flex-shrink:0; }
.hsk-breadcrumbs__nav .hsk-breadcrumbs__sep { flex-shrink:0; }
/* Item cuối (trang hiện tại): co lại và cắt bằng "..." khi quá dài */
.hsk-breadcrumbs__nav a:last-child,
.hsk-breadcrumbs__nav .hsk-breadcrumbs__current {
    color:var(--hsk-text);
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    flex-shrink:1;
    min-width:0;
}
.hsk-breadcrumbs__nav a:hover { color:var(--hsk-primary); text-decoration:underline; }

/* ── Card base ── */
.hsk-pd__card { background:#fff; border-radius:20px; box-shadow:0 4px 16px rgba(20,25,26,.08); }

/* ═══ 3-COLUMN LAYOUT ═══ */
.hsk-pd__layout { display:flex; gap:20px; align-items:flex-start; }
.hsk-pd__content { flex:1; min-width:0; display:flex; flex-direction:column; gap:20px; }
.hsk-pd__sidebar { width:22%; flex-shrink:0; display:flex; flex-direction:column; gap:20px; position:sticky; top:80px; }

/* ═══ CARD 1: TOP — GALLERY + INFO ═══ */
.hsk-pd__top { display:flex; padding:20px; gap:20px; align-items:flex-start; }

/* Gallery */
.hsk-pd__gallery { width:44%; flex-shrink:0; }
.hsk-pd__gallery-inner { display:flex; gap:10px; }
.hsk-pd__thumbs {
    display:flex!important; flex-direction:column!important; gap:4px!important;
    width:60px!important; flex-shrink:0;
    max-height:400px; overflow-y:auto; overflow-x:hidden;
    scrollbar-width:none; margin:0!important; padding:0!important;
    -ms-overflow-style:none;
}
.hsk-pd__thumbs::-webkit-scrollbar { display:none; }
.hsk-pd__thumb {
    width:60px!important; height:60px!important;
    min-width:60px!important; min-height:60px!important;
    max-width:60px!important; max-height:60px!important;
    border:2px solid #eee; border-radius:6px;
    overflow:hidden; cursor:pointer; padding:1px;
    background:#fff; transition:border-color .2s;
    flex-shrink:0!important; box-sizing:border-box!important;
    margin:0!important; display:block!important;
}
.hsk-pd__thumb.is-active, .hsk-pd__thumb:hover { border-color:var(--hsk-primary); }
.hsk-pd__thumb img {
    width:100%!important; height:100%!important;
    object-fit:cover!important; display:block!important;
    max-width:none!important; max-height:none!important;
}
.hsk-pd__main-img { flex:1; position:relative; border-radius:5px; overflow:hidden; background:#fafafa; max-height:380px; display:flex; align-items:center; justify-content:center; }
.hsk-pd__slide { display:none; width:100%; align-items:center; justify-content:center; }
.hsk-pd__slide.is-active { display:flex; }
.hsk-pd__slide img { max-width:100%; max-height:352px; object-fit:contain; transition:transform .3s; }
.hsk-pd__slide img:hover { transform:scale(1.05); }
.hsk-pd__badge-sale { position:absolute; top:10px; left:10px; background:var(--hsk-red); color:#fff; font-size:12px; font-weight:700; padding:3px 8px; border-radius:4px; z-index:3; }

/* ── Product Info ── */
.hsk-pd__info { flex:1; min-width:0; display:flex; flex-direction:column; gap:8px; }
.hsk-pd__brand-row { font-size:14px; color:#666; display:flex; align-items:center; gap:4px; }
.hsk-pd__brand-row span { color:#777; }
.hsk-pd__brand-row a { color:var(--hsk-primary); font-weight:600; text-decoration:none; }
.hsk-pd__brand-row a:hover { text-decoration:underline; }
.hsk-pd__title { font-size:20px; font-weight:600; line-height:1.4; color:var(--hsk-text); margin:0; margin-top:-8px; text-wrap:inherit; }

/* Rating row */
.hsk-pd__rating-row { display:flex; align-items:center; gap:8px; flex-wrap:wrap; font-size:13px; color:#666; margin-top:-8px; }
.hsk-pd__stars-wrap { display:flex; align-items:center; gap:5px; }
.hsk-pd__rating-num { font-weight:700; color:var(--hsk-text); font-size:14px; }
.hsk-pd__stars { display:flex; gap:1px; }
.hsk-pd__review-count { color:var(--hsk-primary); text-decoration:none; font-size:13px; }
.hsk-pd__review-count:hover { text-decoration:underline; }
.hsk-pd__sep { color:#ddd; }
.hsk-pd__sold { color:#666; }

/* Price block */
.hsk-pd__price-block { display:flex; align-items:baseline; gap:8px; flex-wrap:wrap; padding:4px 0; }
.hsk-pd__price-now { font-size:24px; font-weight:700; color:var(--hsk-red); line-height:1; }
.hsk-pd__price-vat { font-size:13px; color:#999; }
.hsk-pd__price-market { font-size:13px; color:#777; margin-top:4px; display:flex; align-items:center; gap:6px; flex-wrap:wrap; }
.hsk-pd__market-regular { text-decoration:line-through; color:#999; }
.hsk-pd__market-sep { color:#ccc; }
.hsk-pd__market-save { color:var(--hsk-red); font-weight:600; }

/* Hide native WC variation price/availability (shown at top instead) */
.hsk-pd__buy-section .woocommerce-variation-price,
.hsk-pd__buy-section .woocommerce-variation-availability { display:none !important; }

/* Hide WC "Clear / Xóa" reset variations link */
.hsk-pd__buy-section .reset_variations { display:none !important; }

/* Ẩn bảng chọn biến thể chuẩn của WC (đã dùng pills tùy biến ở trên).
   Giữ <select> ẩn để JS đồng bộ giá trị khi bấm pill. */
.hsk-pd__buy-section .variations_form .variations {
    display:none !important;
}
.hsk-pd__buy-section .variations_form .variations select {
    position:absolute !important;
    width:1px !important; height:1px !important;
    padding:0 !important; margin:-1px !important;
    overflow:hidden !important; clip:rect(0,0,0,0) !important;
    white-space:nowrap !important; border:0 !important;
}

/* Variants (pill-style) */
.hsk-pd__variants { border-top:1px solid #f0f0f0; padding-top:14px; display:flex; flex-direction:column; gap:12px; }
.hsk-pd__variant-group { display:flex; flex-direction:column; gap:6px; }
.hsk-pd__variant-label { font-size:13px; font-weight:600; color:var(--hsk-text); }
.hsk-pd__variant-pills { display:flex; flex-wrap:wrap; gap:8px; }
.hsk-pd__variant-pills span.hsk-pd__pill { padding:6px 16px; border:1px solid #e0e0e0; border-radius:99px !important; font-size:13px; color:var(--hsk-text); cursor:pointer; transition:all .2s; background:#fff !important; }
.hsk-pd__variant-pills span.hsk-pd__pill:hover { border-color:var(--hsk-primary) !important; background:var(--hsk-primary) !important; color:#fff !important; }
.hsk-pd__variant-pills span.hsk-pd__pill.is-selected { border-color:var(--hsk-primary) !important; background:var(--hsk-primary) !important; color:#fff !important; font-weight:600; }

/* Override swatch nút biến thể của Flatsome (ux-swatch) trong form thêm giỏ */
.hsk-pd__buy-section .ux-swatch.ux-swatch--label,
.hsk-pd__buy-section .ux-swatch {
    border:1px solid #e0e0e0 !important; border-radius:99px !important;
    background:#fff !important; color:var(--hsk-text) !important;
    padding:6px 16px !important; min-width:0 !important; width:auto !important;
    transition:all .2s !important; box-shadow:none !important;
}
.hsk-pd__buy-section .ux-swatch .ux-swatch__text { color:inherit !important; }
.hsk-pd__buy-section .ux-swatch:hover {
    border-color:var(--hsk-primary) !important; background:var(--hsk-primary) !important; color:#fff !important;
}
.hsk-pd__buy-section .ux-swatch:hover .ux-swatch__text { color:#fff !important; }
.hsk-pd__buy-section .ux-swatch.selected {
    border-color:var(--hsk-primary) !important; background:var(--hsk-primary) !important; color:#fff !important; font-weight:600;
}
.hsk-pd__buy-section .ux-swatch.selected .ux-swatch__text { color:#fff !important; }

/* Buy section */
.hsk-pd__buy-section { margin-bottom:0; }
.hsk-pd__buy-section .cart,
.hsk-pd__buy-section form.cart,
.hsk-pd__buy-section .variations_form { margin-bottom:0 !important; }
.hsk-pd__wishlist-btn { margin-bottom:0 !important; }
.hsk-pd__qty-label { font-size:14px; font-weight:600; color:var(--hsk-text); margin-bottom:10px; display:block; }
.hsk-pd__buy-row form.cart { display:flex; align-items:center; gap:14px; }
.hsk-pd__buy-row .quantity {
    display:flex; align-items:center;
    border:1px solid #d0d0d0; border-radius:8px; overflow:hidden;
    height:48px; flex-shrink:0;
}
.hsk-pd__buy-row .quantity .qty {
    width:52px; height:46px; text-align:center;
    border:none!important; border-left:1px solid #d0d0d0!important; border-right:1px solid #d0d0d0!important;
    font-size:16px; font-weight:600; font-family:var(--hsk-font);
    background:transparent; -moz-appearance:textfield;
}
.hsk-pd__buy-row .quantity .qty::-webkit-inner-spin-button,
.hsk-pd__buy-row .quantity .qty::-webkit-outer-spin-button { -webkit-appearance:none; }
.hsk-pd__buy-row .quantity .plus,
.hsk-pd__buy-row .quantity .minus {
    width:36px; height:46px; border:none; background:transparent;
    cursor:pointer; font-size:20px; display:flex; align-items:center;
    justify-content:center; color:#666; transition:background .15s;
}
.hsk-pd__buy-row .quantity .plus:hover,
.hsk-pd__buy-row .quantity .minus:hover { background:#f0f0f0; }
.hsk-pd__buy-row .single_add_to_cart_button {
    flex:1; height:48px;
    background:var(--hsk-primary)!important; color:#fff!important;
    border:none!important; border-radius:10px!important;
    font-size:16px!important; font-weight:700!important;
    font-family:var(--hsk-font)!important; cursor:pointer;
    text-transform:uppercase!important; letter-spacing:.5px;
    transition:all .2s!important;
    display:flex!important; align-items:center!important; justify-content:center!important;
    line-height:1!important; padding:0 20px!important;
}
.hsk-pd__buy-row .single_add_to_cart_button:hover {
    background:var(--hsk-primary-dark)!important;
    box-shadow:0 4px 14px rgba(1,97,67,.35);
}
/* "Mua ngay" (Flatsome buy now) — đồng bộ với nút "Chọn mua" */
.hsk-pd__buy-row .ux-buy-now-button {
    flex:1; height:48px; margin:0!important;
    background:var(--hsk-primary)!important; color:#fff!important;
    border:none!important; border-radius:10px!important;
    font-size:16px!important; font-weight:600!important;
    font-family:var(--hsk-font)!important; cursor:pointer;
    text-transform:uppercase!important; letter-spacing:.5px;
    transition:all .2s!important;
    display:flex!important; align-items:center!important; justify-content:center!important;
    line-height:1!important; padding:0 20px!important;
}
.hsk-pd__buy-row .ux-buy-now-button:hover {
    background:var(--hsk-primary-dark)!important;
    box-shadow:0 4px 14px rgba(1,97,67,.35);
}

/* Wishlist button (full width with text) */
.hsk-pd__wishlist-btn {
    width:100%; height:46px; margin-top:12px;
    border:1px solid #d0d0d0; border-radius:10px;
    background:#fff; cursor:pointer; color:#555;
    display:flex; align-items:center; justify-content:center; gap:8px;
    font-size:14px; font-family:var(--hsk-font); font-weight:500;
    transition:all .25s;
}
.hsk-pd__wishlist-btn span { line-height:1; }
.hsk-pd__wishlist-btn svg { flex-shrink:0; }
.hsk-pd__wishlist-btn:hover { border-color:#e53935; color:#e53935; }
.hsk-pd__wishlist-btn.is-liked { color:#e53935; border-color:#e53935; }
.hsk-pd__wishlist-btn.is-liked svg { fill:#e53935; }

/* USP Bar — gray background with vertical separators */
.hsk-pd__usp-bar {
    display:flex; align-items:stretch; margin-top:0;
    background:#f5f5f5; border-radius:12px; overflow:hidden;
    border:1px solid #eee;
}
.hsk-pd__usp {
    display:flex; align-items:center; gap:8px; flex:1;
    padding:12px 14px; min-width:0;
}
.hsk-pd__usp div { display:flex; flex-direction:column; min-width:0; }
.hsk-pd__usp strong { font-size:12px; color:var(--hsk-primary); line-height:1.35; white-space:nowrap; }
.hsk-pd__usp span { font-size:11px; color:#888; line-height:1.35; white-space:nowrap; }
.hsk-pd__usp svg { flex-shrink:0; }
.hsk-pd__usp-sep { width:1px; background:#ddd; flex-shrink:0; margin:8px 0; }

/* ═══ SECTION NAV (becomes fixed via JS) ═══ */
.hsk-pd__section-nav {
    display:flex; gap:0; background:#fff;
    border-radius:20px; overflow:hidden;
    box-shadow:0 4px 16px rgba(20,25,26,.08);
    border-bottom:2px solid #f0f0f0;
    transition:border-radius .2s, box-shadow .2s;
}
.hsk-pd__section-nav.is-fixed {
    position:fixed; top:0; left:0; right:0;
    z-index:999; border-radius:0;
    box-shadow:0 2px 12px rgba(0,0,0,.12);
    max-width:100%; justify-content:center;
}
.hsk-pd__section-nav-placeholder {
    display:none;
}
.hsk-pd__section-nav-placeholder.is-visible {
    display:block;
}
.hsk-pd__nav-link {
    padding:14px 22px; font-size:14px; font-weight:600;
    font-family:var(--hsk-font); color:#777;
    text-decoration:none; white-space:nowrap;
    position:relative; transition:color .2s;
}
.hsk-pd__nav-link::after {
    content:''; position:absolute; bottom:-2px; left:0; right:0;
    height:3px; background:transparent; border-radius:3px 3px 0 0;
    transition:background .2s;
}
.hsk-pd__nav-link:hover { color:var(--hsk-primary); }
.hsk-pd__nav-link.is-active { color:var(--hsk-primary); }
.hsk-pd__nav-link.is-active::after { background:var(--hsk-primary); }

/* ═══ SECTION CARDS ═══ */
.hsk-pd__section { padding:20px; }
.hsk-pd__section-heading {
    font-size:18px; font-weight:700; color:var(--hsk-text);
    margin:0 0 16px; padding-bottom:12px;
    border-bottom:1px solid #f0f0f0;
}
.hsk-pd__desc-text { font-size:14px; line-height:1.8; color:#333; }
.hsk-pd__desc-text img { max-width:100%; border-radius:8px; margin:8px 0; }

/* Real images slider (under main gallery image) */
.hsk-pd__real { margin-top:14px; }
.hsk-pd__real-head { margin-bottom:8px; }
.hsk-pd__real-title { font-size:14px; font-weight:700; color:var(--hsk-text); }
.hsk-pd__real-slider-wrap { position:relative; display:flex; align-items:center; }
.hsk-pd__real .hsk-pd__real-track {
    display:grid;
    grid-auto-flow:column;
    grid-auto-columns:calc((100% - 5 * 10px) / 6);
    gap:10px !important;
    column-gap:10px !important;
    overflow-x:auto;
    scroll-behavior:smooth;
    scrollbar-width:none;
    -ms-overflow-style:none;
    scroll-snap-type:x mandatory;
}
.hsk-pd__real .hsk-pd__real-track .hsk-pd__real-cell { margin:0 !important; }
.hsk-pd__real-track::-webkit-scrollbar { display:none; }
.hsk-pd__real-cell {
    padding:0; border:1px solid #eee; border-radius:8px; overflow:hidden;
    background:#fafafa; cursor:pointer; aspect-ratio:1/1;
    scroll-snap-align:start; transition:border-color .15s;
}
.hsk-pd__real-cell:hover { border-color:var(--hsk-primary); }
.hsk-pd__real-cell img { width:100%; height:100%; object-fit:contain; display:block; }
.hsk-pd__real-arrow {
    flex-shrink:0; width:28px; height:28px; border:none; border-radius:50%;
    background:#fff; box-shadow:0 1px 6px rgba(0,0,0,.18); color:#333;
    display:flex; align-items:center; justify-content:center; cursor:pointer;
    position:absolute; top:50%; transform:translateY(-50%); z-index:2;
}
.hsk-pd__real-arrow--prev { left:-6px; }
.hsk-pd__real-arrow--next { right:-6px; }
.hsk-pd__real-arrow:hover { color:var(--hsk-primary); }
.hsk-pd__real-arrow[disabled] { opacity:0; pointer-events:none; }
@media (max-width:600px) {
    .hsk-pd__real-track { grid-auto-columns:calc((100% - 5 * 6px) / 6); gap:6px; }
}
/* HSK_REAL_LIGHTBOX_PLACEHOLDER */
/* Real images lightbox */
.hsk-real-lightbox { position:fixed; inset:0; z-index:99999; display:none; }
.hsk-real-lightbox.is-open { display:block; }
.hsk-real-lightbox__overlay { position:absolute; inset:0; background:rgba(0,0,0,.82); }
.hsk-real-lightbox__dialog {
    position:absolute; inset:0; display:flex; align-items:center; justify-content:center;
}
.hsk-real-lightbox__stage {
    position:relative; width:min(86vw, 86vh); aspect-ratio:1/1;
    background:#fff; border-radius:10px; overflow:hidden;
}
.hsk-real-lightbox__slide { position:absolute; inset:0; display:none; }
.hsk-real-lightbox__slide.is-active { display:block; }
.hsk-real-lightbox__slide img { width:100%; height:100%; object-fit:contain; display:block; }
.hsk-real-lightbox__close {
    position:absolute; top:18px; right:18px; width:42px; height:42px; border:none;
    border-radius:50%; background:rgba(255,255,255,.15); color:#fff; cursor:pointer;
    display:flex; align-items:center; justify-content:center; z-index:3;
}
.hsk-real-lightbox__close:hover { background:rgba(255,255,255,.3); }
.hsk-real-lightbox__arrow {
    position:absolute; top:50%; transform:translateY(-50%); width:46px; height:46px;
    border:none; border-radius:50%; background:rgba(255,255,255,.15); color:#fff;
    cursor:pointer; display:flex; align-items:center; justify-content:center; z-index:3;
}
.hsk-real-lightbox__arrow:hover { background:rgba(255,255,255,.3); }
.hsk-real-lightbox__arrow--prev { left:24px; }
.hsk-real-lightbox__arrow--next { right:24px; }
.hsk-real-lightbox__counter {
    position:absolute; bottom:24px; left:50%; transform:translateX(-50%);
    color:#fff; font-size:14px; background:rgba(0,0,0,.4); padding:4px 12px; border-radius:20px;
}
@media (max-width:600px) {
    .hsk-real-lightbox__stage { width:92vw; }
    .hsk-real-lightbox__arrow { width:38px; height:38px; }
    .hsk-real-lightbox__arrow--prev { left:8px; }
    .hsk-real-lightbox__arrow--next { right:8px; }
}

/* ═══ FLASH DEAL ═══ */
.hsk-pd__flashdeal {
    display:flex;
    align-items:center;
    gap:12px;
    background:linear-gradient(90deg, #ff3b30 0%, #ff6a00 100%);
    border-radius:10px;
    padding:8px 14px;
    margin:12px 0;
}
.hsk-pd__flashdeal-label {
    display:flex;
    align-items:center;
    gap:6px;
    color:#fff;
    font-weight:800;
    font-size:14px;
    letter-spacing:.5px;
    white-space:nowrap;
}
.hsk-pd__flashdeal-label svg { flex:none; }
.hsk-pd__flashdeal-timer {
    display:flex;
    align-items:center;
    gap:5px;
    margin-left:auto;
}
.hsk-pd__flashdeal-text {
    color:#fff;
    font-size:13px;
    margin-right:4px;
    white-space:nowrap;
}
.hsk-pd__flashdeal-box {
    background:#fff;
    color:#ff3b30;
    font-weight:800;
    font-size:15px;
    min-width:28px;
    text-align:center;
    padding:4px 6px;
    border-radius:6px;
    line-height:1;
}
.hsk-pd__flashdeal-colon { color:#fff; font-weight:800; }
@media (max-width:600px) {
    .hsk-pd__flashdeal { gap:8px; padding:8px 10px; }
    .hsk-pd__flashdeal-text { display:none; }
    .hsk-pd__flashdeal-box { font-size:14px; min-width:26px; }
}

/* Detail table */
.hsk-pd__detail-table { width:100%; border-collapse:collapse; }
.hsk-pd__detail-table tr:nth-child(odd) { background:#fafafa; }
.hsk-pd__detail-table td { padding:10px 16px; font-size:14px; border-bottom:1px solid #f0f0f0; }
.hsk-pd__dt-label { color:#777; font-weight:500; width:160px; }

/* Reviews */
.hsk-pd__review-summary { display:flex; align-items:center; gap:0; padding:24px; background:#fff7ed; border:1px solid #fde4c8; border-radius:12px; margin-bottom:20px; }
.hsk-pd__review-left { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:8px; min-width:160px; padding-right:24px; border-right:1px solid #fde4c8; }
.hsk-pd__review-big { font-size:48px; font-weight:800; color:var(--hsk-orange); line-height:1; }
.hsk-pd__review-big span { font-size:20px; color:#bbb; font-weight:500; }
.hsk-pd__review-left .hsk-pd__stars { display:flex; gap:2px; }
.hsk-pd__review-total-txt { font-size:13px; color:#888; }
.hsk-pd__review-bars { flex:1; display:flex; flex-direction:column; gap:8px; justify-content:center; padding-left:24px; }
.hsk-pd__bar-row { display:flex; align-items:center; gap:10px; }
.hsk-pd__bar-label { font-size:13px; color:#666; display:flex; align-items:center; gap:3px; min-width:34px; }
.hsk-pd__bar-track { flex:1; height:8px; background:#eee; border-radius:99px; overflow:hidden; }
.hsk-pd__bar-fill { height:100%; background:var(--hsk-orange); border-radius:99px; transition:width .4s ease; }
.hsk-pd__bar-count { font-size:13px; color:#888; min-width:40px; text-align:right; }

/* WC review form overrides */
.hsk-pd__section .comment-form textarea,
.hsk-pd__section .comment-form input[type="text"],
.hsk-pd__section .comment-form input[type="email"] { border:1px solid #e0e0e0!important; border-radius:8px!important; font-family:var(--hsk-font); font-size:14px; padding:10px 12px; width:100%; box-sizing:border-box; }
.hsk-pd__section .form-submit input[type="submit"] { background:var(--hsk-primary)!important; color:#fff!important; border:none!important; border-radius:99px!important; padding:12px 32px!important; font-family:var(--hsk-font); font-weight:700; cursor:pointer; width:100%; font-size:15px; }

/* Hide the native review form while it lives in-page (before moving to popup) */
#comments .comment-respond,
#review_form_wrapper { display:none; }

/* "Viết đánh giá" CTA button */
.hsk-pd__review-cta { display:flex; justify-content:center; margin:20px 0; }
.hsk-pd__write-review-btn {
    display:inline-flex; align-items:center; gap:8px;
    background:#fff; color:var(--hsk-primary);
    border:1.5px solid var(--hsk-primary); border-radius:99px;
    padding:11px 36px; font-size:15px; font-weight:700;
    font-family:var(--hsk-font); cursor:pointer; transition:all .2s;
}
.hsk-pd__write-review-btn:hover { background:var(--hsk-primary); color:#fff; }

/* ═══ DANH SÁCH ĐÁNH GIÁ (custom Hasaki style) ═══ */
/* Ẩn danh sách review gốc của WooCommerce để tránh hiển thị trùng */
.hsk-pd__review-form-host .commentlist,
.hsk-pd__review-form-host ol.commentlist,
.hsk-pd__review-form-host #comments > .woocommerce-Reviews-title,
.hsk-pd__review-form-host .woocommerce-noreviews,
.hsk-pd__review-form-host #comments > .commentlist,
.hsk-pd__review-form-host p.no-comments { display:none !important; }

.hsk-pd__review-list { display:flex; flex-direction:column; gap:0; margin-top:8px; }
.hsk-pd__review-item {
    display:flex; gap:12px; padding:18px 0;
    border-bottom:1px solid #eee;
}
.hsk-pd__review-item:last-child { border-bottom:none; }
.hsk-pd__review-avatar {
    flex:0 0 42px; width:42px; height:42px; border-radius:50%;
    background:var(--hsk-primary); color:#fff;
    display:flex; align-items:center; justify-content:center;
    font-size:18px; font-weight:700; line-height:1; text-transform:uppercase;
}
.hsk-pd__review-content { flex:1; min-width:0; }
.hsk-pd__review-author { display:flex; align-items:center; gap:10px; flex-wrap:wrap; margin-bottom:4px; }
.hsk-pd__review-name { font-size:15px; font-weight:700; color:var(--hsk-text); }
.hsk-pd__review-verified {
    display:inline-flex; align-items:center; gap:4px;
    font-size:12px; font-weight:600; color:var(--hsk-primary);
}
.hsk-pd__review-verified svg { flex-shrink:0; }
.hsk-pd__review-item-stars { display:flex; gap:1px; margin-bottom:6px; }
.hsk-pd__review-text { font-size:14px; line-height:1.6; color:#444; }
.hsk-pd__review-text p { margin:0 0 6px; }
.hsk-pd__review-text p:last-child { margin-bottom:0; }
.hsk-pd__review-date { font-size:12px; color:#999; margin-top:6px; }
.hsk-pd__review-empty {
    text-align:center; color:#888; font-size:14px;
    padding:24px 0; margin:0;
}

/* Phân trang đánh giá */
.hsk-pd__review-pagination {
    display:flex; align-items:center; justify-content:center;
    gap:6px; flex-wrap:wrap; margin-top:20px;
}
.hsk-pd__review-pagination button.hsk-pd__page-btn {
    width:36px !important; height:36px !important;
    min-width:36px !important; max-width:36px !important;
    min-height:36px !important;
    padding:0 !important; margin:0 !important; box-sizing:border-box !important;
    display:inline-flex; align-items:center; justify-content:center;
    border:1px solid #e0e0e0; border-radius:8px; background:#fff;
    color:var(--hsk-text); font-family:var(--hsk-font);
    font-size:14px; font-weight:600; line-height:1 !important; cursor:pointer; transition:all .2s;
}
.hsk-pd__review-pagination button.hsk-pd__page-btn:hover:not(.is-disabled):not(.is-active) {
    border-color:var(--hsk-primary); color:var(--hsk-primary);
}
.hsk-pd__review-pagination button.hsk-pd__page-btn.is-active {
    background:var(--hsk-primary) !important; border-color:var(--hsk-primary);
    color:#fff !important; cursor:default;
}
.hsk-pd__review-pagination button.hsk-pd__page-btn.is-disabled { opacity:.4; cursor:not-allowed; }
.hsk-pd__review-pagination button.hsk-pd__page-nav { font-size:16px; }
.hsk-pd__page-ellipsis { padding:0 4px; color:#999; }

/* ═══ REVIEW POPUP ═══ */
.hsk-review-popup { position:fixed; inset:0; z-index:100000; display:none; }
.hsk-review-popup.is-open { display:block; }
.hsk-review-popup__overlay { position:absolute; inset:0; background:rgba(0,0,0,.55); }
.hsk-review-popup__dialog {
    position:absolute; top:50%; left:50%; transform:translate(-50%,-50%);
    width:min(540px, 92vw); max-height:92vh; overflow-y:auto;
    background:#fff; border-radius:16px; padding:18px 20px;
    box-shadow:0 20px 60px rgba(0,0,0,.25);
}
.hsk-review-popup__close {
    position:absolute; top:12px; right:12px;
    width:28px; height:28px; border:none; background:#f2f2f2;
    border-radius:50%; font-size:20px; line-height:1; color:#666;
    cursor:pointer; display:flex; align-items:center; justify-content:center;
}
.hsk-review-popup__close:hover { background:#e53935; color:#fff; }
.hsk-review-popup__head { display:flex; flex-direction:column; align-items:center; gap:6px; margin-bottom:12px; }
.hsk-review-popup__thumb { width:56px; height:56px; border-radius:10px; object-fit:cover; flex:none; border:1px solid #f0f0f0; }
.hsk-review-popup__product { font-size:14px; font-weight:600; color:var(--hsk-text); line-height:1.35; text-align:center; }

/* ── Custom review form (matches sample) ── */
.hsk-review-form { display:flex; flex-direction:column; gap:12px; }

.hsk-review-form__rating-block { text-align:center; }
.hsk-review-form__rating-title { font-size:14px; font-weight:600; color:var(--hsk-text); margin-bottom:8px; }
.hsk-review-form__stars { display:flex; justify-content:center; gap:16px; }
.hsk-review-form__star {
    display:flex; flex-direction:column; align-items:center; gap:4px;
    background:none; border:none; cursor:pointer; padding:0;
}
.hsk-review-form__star svg { width:28px; height:28px; fill:#ddd; transition:fill .15s; }
.hsk-review-form__star-label { font-size:11px; color:#999; transition:color .15s; white-space:nowrap; }
.hsk-review-form__star.is-on svg { fill:#f5a623; }
.hsk-review-form__star.is-on .hsk-review-form__star-label { color:var(--hsk-text); font-weight:600; }

.hsk-review-form__field { display:flex; flex-direction:column; }
.hsk-review-form__row { display:flex; gap:10px; }
.hsk-review-form__row .hsk-review-form__field { flex:1; }
.hsk-review-form textarea,
.hsk-review-form input[type="text"],
.hsk-review-form input[type="tel"] {
    width:100%; box-sizing:border-box;
    border:1px solid #e0e0e0; border-radius:8px;
    font-family:var(--hsk-font); font-size:13px; padding:9px 12px;
    color:var(--hsk-text); background:#fff; outline:none; transition:border-color .15s;
}
.hsk-review-form textarea { min-height:64px; resize:vertical; }
.hsk-review-form textarea:focus,
.hsk-review-form input:focus { border-color:var(--hsk-primary); }

.hsk-review-form__upload {
    display:inline-flex; align-items:center; gap:6px;
    border:1px dashed #cfd8d3; border-radius:8px;
    padding:8px 14px; cursor:pointer; color:var(--hsk-primary);
    font-size:13px; font-weight:600; background:#f7faf8; width:fit-content;
}
.hsk-review-form__upload svg { width:18px; height:18px; }
.hsk-review-form__upload:hover { background:#eef5f1; }
.hsk-review-form__preview { display:flex; flex-wrap:wrap; gap:8px; margin-top:8px; }
.hsk-review-form__preview-item { position:relative; width:54px; height:54px; border-radius:8px; overflow:hidden; border:1px solid #eee; }
.hsk-review-form__preview-item img,
.hsk-review-form__preview-item video { width:100%; height:100%; object-fit:cover; display:block; }
.hsk-review-form__preview-remove {
    position:absolute; top:2px; right:2px; width:18px; height:18px;
    background:rgba(0,0,0,.6); color:#fff; border:none; border-radius:50%;
    font-size:12px; line-height:1; cursor:pointer; display:flex; align-items:center; justify-content:center;
}

.hsk-review-form__consent { display:flex; align-items:center; gap:8px; font-size:12px; color:#666; cursor:pointer; }
.hsk-review-form__consent input { width:15px; height:15px; accent-color:var(--hsk-primary); flex:none; }

.hsk-review-form__submit {
    background:var(--hsk-primary); color:#fff; border:none; border-radius:99px;
    padding:11px 32px; font-size:14px; font-weight:700; font-family:var(--hsk-font);
    cursor:pointer; transition:opacity .2s; width:100%; margin-top:2px;
}
.hsk-review-form__submit:hover { opacity:.92; }
.hsk-review-form__submit:disabled { opacity:.5; cursor:not-allowed; }

/* ═══ BRAND CARD ═══ */
.hsk-pd__brand-card { padding:20px; display:flex; align-items:center; gap:16px; }
.hsk-pd__brand-name { font-size:18px; font-weight:700; color:var(--hsk-text); margin:0; }
.hsk-pd__brand-link { color:var(--hsk-primary); font-size:14px; font-weight:500; text-decoration:none; }
.hsk-pd__brand-link:hover { text-decoration:underline; }

/* ═══ FULL-WIDTH: CÓ THỂ BẠN THÍCH (SLIDER) ═══ */
.hsk-pd__you-like {
    margin-top:24px; margin-bottom:40px; padding:24px 0 0;
    background:#fff; border-radius:20px;
    box-shadow:0 4px 16px rgba(20,25,26,.08);
    max-width:100%; box-sizing:border-box; overflow:hidden;
}
/* Đảm bảo container sản phẩm và các khối con không tràn quá 1400px */
.hsk-single-product .hsk-container { box-sizing:border-box; width:100%; max-width:1370px; margin-left:auto; margin-right:auto; }
.hsk-product-detail,
.hsk-pd__layout,
.hsk-pd__you-like { max-width:100% !important; box-sizing:border-box; }
/* Card slider gốc của Flatsome có .col negative-margin → khử để không tràn ngang */
.hsk-pd__related-slider .col,
.hsk-pd__related-slider .product-small.col { margin:0 !important; padding:0 !important; }
.hsk-pd__you-like-header {
    display:flex; align-items:center; justify-content:space-between;
    padding:0 20px 16px; border-bottom:1px solid #f0f0f0;
}
.hsk-pd__you-like-title {
    font-size:18px; font-weight:700; color:var(--hsk-text); margin:0;
}
.hsk-pd__slider-wrap { position:relative; overflow:hidden; padding:16px 20px 20px; }
.hsk-pd__slider-arrow,
.hsk-pd__you-like .hsk-pd__slider-arrow {
    position:absolute; top:50%; transform:translateY(-50%); z-index:5;
    width:40px !important; height:40px !important; min-height:0 !important;
    margin:0 !important; padding:0 !important;
    border:none !important; border-radius:50% !important;
    background:#fff !important;
    box-shadow:0 2px 10px rgba(0,0,0,.18) !important;
    display:flex; align-items:center; justify-content:center;
    cursor:pointer; color:#333 !important; line-height:1 !important;
    text-transform:none !important; font-size:inherit !important;
    transition:color .2s, box-shadow .2s;
}
.hsk-pd__slider-arrow svg { display:block; }
.hsk-pd__slider-arrow:hover,
.hsk-pd__you-like .hsk-pd__slider-arrow:hover {
    color:var(--hsk-primary) !important; background:#fff !important;
    box-shadow:0 4px 14px rgba(0,0,0,.25) !important;
}
.hsk-pd__slider-arrow:disabled { opacity:0; pointer-events:none; }
.hsk-pd__slider-prev { left:6px !important; right:auto !important; }
.hsk-pd__slider-next { right:6px !important; left:auto !important; }
.hsk-pd__slider {
    display:flex; gap:var(--hsk-gap, 12px);
    transition:transform .4s ease;
    will-change:transform;
}
/* Related slider: same card as category grid, fixed width per slide */
.hsk-pd__related-slider .hsk-product-card {
    width:calc((100% - var(--hsk-gap, 12px) * 4) / 5);
    flex:0 0 calc((100% - var(--hsk-gap, 12px) * 4) / 5);
    background:var(--hsk-bg-white);
    border-radius:var(--hsk-radius);
    border:1px solid var(--hsk-border-light);
    overflow:hidden;
    transition:box-shadow var(--hsk-transition), transform var(--hsk-transition);
}
.hsk-pd__related-slider .hsk-product-card:hover {
    box-shadow:var(--hsk-shadow-hover);
    transform:translateY(-2px);
}
/* No "Thêm giỏ hàng" button inside related slider */
.hsk-pd__related-slider .hsk-product-card__addtocart { display:none !important; }

/* ═══ SIDEBAR ═══ */
.hsk-pd__sidebar-box { padding:16px; }
.hsk-pd__sb-title { font-size:14px; font-weight:700; color:var(--hsk-text); margin:0 0 12px; padding-bottom:10px; border-bottom:2px solid var(--hsk-primary); }
.hsk-pd__sb-list { list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:10px; }
.hsk-pd__sb-list li { display:flex; align-items:flex-start; gap:8px; font-size:13px; color:#555; line-height:1.4; }
.hsk-pd__sb-list li svg { flex-shrink:0; margin-top:1px; }
.hsk-pd__sb-list li strong { color:var(--hsk-primary); }
.hsk-pd__sb-product { display:flex; gap:10px; padding:8px 0; border-bottom:1px solid #f0f0f0; text-decoration:none; transition:background .2s; }
.hsk-pd__sb-product:last-child { border-bottom:none; }
.hsk-pd__sb-product:hover { background:#f8f8f8; }
.hsk-pd__sb-product-img { width:50px; height:50px; flex-shrink:0; border-radius:6px; overflow:hidden; border:1px solid #f0f0f0; }
.hsk-pd__sb-product-img img { width:100%; height:100%; object-fit:contain; }
.hsk-pd__sb-product-info { display:flex; flex-direction:column; gap:2px; min-width:0; }
.hsk-pd__sb-product-name { font-size:12px; color:#333; line-height:1.3; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.hsk-pd__sb-product-price { font-size:13px; font-weight:700; color:var(--hsk-red); }

/* ═══ MOBILE STICKY BUY BAR ═══ */
.hsk-pd__sticky-buy {
    display:none; position:fixed; left:0; right:0; bottom:0; z-index:9998;
    align-items:center; gap:10px;
    padding:8px 12px; box-sizing:border-box;
    background:#fff; border-top:1px solid #eee;
    box-shadow:0 -2px 12px rgba(0,0,0,.12);
    transform:translateY(110%); transition:transform .28s ease;
    padding-bottom:calc(8px + env(safe-area-inset-bottom, 0px));
}
.hsk-pd__sticky-buy.is-visible { transform:translateY(0); }
.hsk-pd__sticky-buy-thumb {
    width:44px; height:44px; flex:0 0 44px;
    border:1px solid #f0f0f0; border-radius:8px; overflow:hidden; background:#fafafa;
}
.hsk-pd__sticky-buy-thumb img { width:100%; height:100%; object-fit:contain; display:block; }
.hsk-pd__sticky-buy-info { display:flex; flex-direction:column; min-width:0; flex:1; gap:2px; }
.hsk-pd__sticky-buy-price { font-size:17px; font-weight:800; color:var(--hsk-red); line-height:1.1; }
.hsk-pd__sticky-buy-old { font-size:12px; color:#999; text-decoration:line-through; line-height:1; }
.hsk-pd__sticky-buy .hsk-pd__sticky-buy-btn {
    flex:0 0 auto; height:44px; padding:0 20px; margin:0 !important;
    display:flex; align-items:center; justify-content:center; gap:8px;
    background:var(--hsk-primary); color:#fff; border:none; border-radius:10px;
    font-size:15px; font-weight:700; font-family:var(--hsk-font);
    text-transform:uppercase; letter-spacing:.5px; cursor:pointer; line-height:1;
    transition:background .2s;
}
.hsk-pd__sticky-buy-btn svg { flex:none; display:block; }
.hsk-pd__sticky-buy-btn:hover { background:var(--hsk-primary-dark); }

/* ═══ MOBILE BUY SHEET (bottom-sheet popup) ═══ */
.hsk-pd__buy-sheet { display:none; position:fixed; inset:0; z-index:10001; }
.hsk-pd__buy-sheet.is-open { display:block; }
.hsk-pd__buy-sheet-overlay {
    position:absolute; inset:0; background:rgba(0,0,0,.5);
    opacity:0; transition:opacity .28s ease;
}
.hsk-pd__buy-sheet.is-open .hsk-pd__buy-sheet-overlay { opacity:1; }
.hsk-pd__buy-sheet-panel {
    position:absolute; left:0; right:0; bottom:0;
    background:#fff; border-radius:18px 18px 0 0;
    padding:18px 16px calc(16px + env(safe-area-inset-bottom, 0px));
    box-shadow:0 -4px 24px rgba(0,0,0,.18);
    transform:translateY(100%); transition:transform .3s cubic-bezier(.22,1,.36,1);
    max-height:88vh; overflow-y:auto;
}
.hsk-pd__buy-sheet.is-open .hsk-pd__buy-sheet-panel { transform:translateY(0); }
.hsk-pd__buy-sheet-close {
    position:absolute; top:12px; right:12px; z-index:2;
    width:32px; height:32px; border:none; border-radius:50%;
    background:#f2f2f2; color:#555; cursor:pointer;
    display:flex; align-items:center; justify-content:center;
}
.hsk-pd__buy-sheet-close:hover { background:#e53935; color:#fff; }
.hsk-pd__buy-sheet-head { display:flex; gap:12px; align-items:flex-start; padding-right:36px; padding-bottom:14px; border-bottom:1px solid #f0f0f0; }
.hsk-pd__buy-sheet-thumb {
    width:72px; height:72px; flex:0 0 72px;
    border:1px solid #f0f0f0; border-radius:10px; overflow:hidden; background:#fafafa;
}
.hsk-pd__buy-sheet-thumb img { width:100%; height:100%; object-fit:contain; display:block; }
.hsk-pd__buy-sheet-meta { display:flex; flex-direction:column; gap:6px; min-width:0; }
.hsk-pd__buy-sheet-name { font-size:14px; font-weight:600; color:var(--hsk-text); line-height:1.4; display:-webkit-box; -webkit-line-clamp:2; line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.hsk-pd__buy-sheet-prices { display:flex; align-items:baseline; gap:8px; flex-wrap:wrap; }
.hsk-pd__buy-sheet-price { font-size:20px; font-weight:800; color:var(--hsk-red); line-height:1; }
.hsk-pd__buy-sheet-old { font-size:13px; color:#999; text-decoration:line-through; }
.hsk-pd__buy-sheet-body { padding:14px 0 0; }
.hsk-pd__buy-sheet-variants { display:flex; flex-direction:column; gap:14px; margin-bottom:16px; }
.hsk-pd__buy-sheet-qty-row { display:flex; align-items:center; justify-content:space-between; }
.hsk-pd__buy-sheet-qty { display:flex; align-items:center; flex:0 0 auto; width:auto; border:1px solid #d0d0d0; border-radius:8px; overflow:hidden; height:42px; }
.hsk-pd__buy-sheet-qty-label { font-size:14px; font-weight:600; color:var(--hsk-text); }
.hsk-pd__buy-sheet-qty-btn {
    width:42px !important; height:40px; flex:0 0 42px; border:none; background:transparent;
    font-size:20px; color:#666; cursor:pointer; line-height:1; padding:0; margin:0;
    display:flex; align-items:center; justify-content:center; transition:background .15s; box-sizing:border-box;
}
.hsk-pd__buy-sheet-qty-btn:hover { background:#f0f0f0; }
.hsk-pd__buy-sheet-qty-input {
    width:50px !important; min-width:50px; max-width:50px; height:40px !important;
    flex:0 0 50px; text-align:center; font-size:16px; font-weight:600; padding:0; margin:0;
    border:none !important; border-left:1px solid #d0d0d0 !important; border-right:1px solid #d0d0d0 !important;
    border-radius:0 !important; box-shadow:none !important; box-sizing:border-box;
    background:transparent; font-family:var(--hsk-font); -moz-appearance:textfield; appearance:textfield;
}
.hsk-pd__buy-sheet-qty-input::-webkit-inner-spin-button,
.hsk-pd__buy-sheet-qty-input::-webkit-outer-spin-button { -webkit-appearance:none; margin:0; }
.hsk-pd__buy-sheet-footer { margin-top:18px; }
.hsk-pd__buy-sheet-submit {
    width:100%; height:50px; box-sizing:border-box;
    display:flex; align-items:center; justify-content:center; gap:10px;
    background:var(--hsk-primary); color:#fff; border:none; border-radius:12px;
    font-size:16px; font-weight:700; font-family:var(--hsk-font);
    text-transform:uppercase; letter-spacing:.5px; cursor:pointer; line-height:1;
    transition:background .2s;
}
.hsk-pd__buy-sheet-submit svg { flex:none; display:block; }
.hsk-pd__buy-sheet-submit:hover { background:var(--hsk-primary-dark); }

/* ═══ RESPONSIVE ═══ */
/* ─── Tablet ngang & nhỏ (≤1024px) ─── */
@media (max-width:1024px) {
    .hsk-pd__layout { gap:16px; }
    .hsk-pd__content { gap:16px; }
    .hsk-pd__sidebar { width:26%; }
    .hsk-pd__gallery { width:42%; }
    .hsk-pd__nav-link { padding:14px 16px; }
}

/* ─── Tablet dọc (≤992px): chuyển 1 cột, sidebar xuống dưới ─── */
@media (max-width:992px) {
    /* Chặn tràn ngang triệt để trên mobile (body cũng có class .hsk-single-product) */
    html, body.hsk-single-product { max-width:100%; overflow-x:hidden; }
    .hsk-single-product .hsk-container,
    .hsk-product-detail,
    .hsk-pd__layout,
    .hsk-pd__content,
    .hsk-pd__top,
    .hsk-pd__info,
    .hsk-pd__buy-section,
    .hsk-pd__card,
    .hsk-pd__section,
    .hsk-pd__you-like { max-width:100%; box-sizing:border-box; }
    .hsk-pd__buy-row .single_add_to_cart_button,
    .hsk-pd__buy-row .ux-buy-now-button,
    .hsk-pd__wishlist-btn { box-sizing:border-box; }

    .hsk-pd__layout { flex-direction:column; }
    .hsk-pd__sidebar {
        width:100%; position:static; top:auto;
        flex-direction:row; flex-wrap:wrap; gap:16px;
    }
    .hsk-pd__sidebar-box { flex:1 1 calc(50% - 8px); min-width:240px; }
    .hsk-pd__title { font-size:18px; }
    .hsk-pd__price-now { font-size:22px; }

    /* Section nav: cho cuộn ngang gọn gàng */
    .hsk-pd__section-nav { overflow-x:auto; -webkit-overflow-scrolling:touch; scrollbar-width:none; }
    .hsk-pd__section-nav::-webkit-scrollbar { display:none; }
    .hsk-pd__section-nav.is-fixed { justify-content:flex-start; }
    .hsk-pd__nav-link { flex:0 0 auto; }

    /* Related slider: ~3.2 card/màn hình */
    .hsk-pd__related-slider .hsk-product-card {
        width:calc((100% - var(--hsk-gap, 12px) * 2.2) / 3.2);
        flex:0 0 calc((100% - var(--hsk-gap, 12px) * 2.2) / 3.2);
    }
}

/* ─── Mobile lớn (≤768px) ─── */
@media (max-width:768px) {
    .hsk-pd__card { border-radius:12px; }

    /* Bật thanh mua hàng cố định đáy màn hình — luôn hiển thị */
    .hsk-pd__sticky-buy { display:flex; transform:none !important; }

    /* Gallery: ảnh chính trên, thumbnail cuộn ngang dưới */
    .hsk-pd__top { flex-direction:column; padding:14px; gap:14px; }
    .hsk-pd__gallery { width:100%; }
    .hsk-pd__gallery-inner { flex-direction:column-reverse; gap:8px; }
    .hsk-pd__thumbs {
        flex-direction:row!important; width:100%!important;
        max-height:none; overflow-x:auto; overflow-y:hidden;
        gap:6px!important; padding-bottom:2px!important;
    }
    .hsk-pd__thumb {
        width:52px!important; height:52px!important;
        min-width:52px!important; min-height:52px!important;
        max-width:52px!important; max-height:52px!important;
    }
    .hsk-pd__main-img { max-height:320px; }
    .hsk-pd__slide img { max-height:300px; }

    /* Info */
    .hsk-pd__info { width:100%; }
    .hsk-pd__rating-row { font-size:12px; gap:6px; }

    /* Buy row: số lượng và nút "Chọn mua" cùng hàng; "Mua ngay" xuống hàng riêng */
    .hsk-pd__buy-row form.cart { flex-wrap:wrap; gap:10px; }
    .hsk-pd__buy-row .quantity { height:46px; }
    .hsk-pd__buy-row .single_add_to_cart_button {
        flex:1 1 auto; width:auto; order:0; height:46px;
        font-size:15px!important;
    }
    .hsk-pd__buy-row .ux-buy-now-button {
        flex:0 0 100%; width:100%; order:1; height:46px;
        font-size:15px!important;
    }

    /* Brand card: nút "Xem tất cả sản phẩm" xuống dòng, rộng 100% */
    .hsk-pd__brand-card { flex-wrap:wrap; }
    .hsk-pd__brand-view-btn {
        flex:0 0 100%; width:100%; text-align:center; box-sizing:border-box;
    }

    /* USP bar: xếp dọc, ẩn vạch ngăn dọc */
    .hsk-pd__usp-bar { flex-direction:column; }
    .hsk-pd__usp { padding:10px 14px; border-bottom:1px solid #eaeaea; }
    .hsk-pd__usp:last-child { border-bottom:none; }
    .hsk-pd__usp strong, .hsk-pd__usp span { white-space:normal; }
    .hsk-pd__usp-sep { display:none; }

    /* Section */
    .hsk-pd__section { padding:16px; }
    .hsk-pd__section-heading { font-size:16px; margin-bottom:12px; }

    /* Review summary: xếp dọc */
    .hsk-pd__review-summary { flex-direction:column; gap:16px; padding:18px; }
    .hsk-pd__review-left {
        min-width:0; width:100%; padding-right:0; padding-bottom:16px;
        border-right:none; border-bottom:1px solid #fde4c8;
    }
    .hsk-pd__review-bars { width:100%; padding-left:0; }

    /* Related slider: ~2.3 card/màn hình */
    .hsk-pd__related-slider .hsk-product-card {
        width:calc((100% - var(--hsk-gap, 12px) * 1.3) / 2.3);
        flex:0 0 calc((100% - var(--hsk-gap, 12px) * 1.3) / 2.3);
    }
    .hsk-pd__you-like-title { font-size:16px; }
    .hsk-pd__slider-wrap { padding:14px 12px 16px; }
}

/* ─── Mobile nhỏ (≤480px) ─── */
@media (max-width:480px) {
    .hsk-single-product .hsk-container { padding:0 10px; }
    .hsk-pd__layout { gap:12px; }
    .hsk-pd__content { gap:12px; }

    .hsk-pd__top { padding:12px; }
    .hsk-pd__title { font-size:16px; }
    .hsk-pd__price-now { font-size:20px; }
    .hsk-pd__price-block { gap:6px; }

    /* Rating row gọn: cho xuống dòng, ẩn dấu phân cách thừa */
    .hsk-pd__rating-row { gap:5px 8px; }
    .hsk-pd__sku-code { width:100%; }

    /* Sidebar về 1 cột */
    .hsk-pd__sidebar { flex-direction:column; }
    .hsk-pd__sidebar-box { flex:1 1 100%; min-width:0; }

    /* Flash deal gọn */
    .hsk-pd__flashdeal { padding:8px 10px; gap:8px; }
    .hsk-pd__flashdeal-label { font-size:12px; }

    /* Variant pills nhỏ hơn chút */
    .hsk-pd__variant-pills span.hsk-pd__pill { padding:5px 14px; font-size:12px; }

    /* Section nav text nhỏ */
    .hsk-pd__nav-link { padding:12px 14px; font-size:13px; }

    /* Review item */
    .hsk-pd__review-avatar { flex:0 0 36px; width:36px; height:36px; font-size:15px; }
    .hsk-pd__review-name { font-size:14px; }

    /* Related slider: ~2 card */
    .hsk-pd__related-slider .hsk-product-card {
        width:calc((100% - var(--hsk-gap, 12px)) / 2);
        flex:0 0 calc((100% - var(--hsk-gap, 12px)) / 2);
    }

    /* Popup đánh giá full hơn */
    .hsk-review-popup__dialog { width:94vw; padding:16px 14px; }
    .hsk-review-form__stars { gap:10px; }
    .hsk-review-form__star svg { width:26px; height:26px; }
    .hsk-review-form__row { flex-direction:column; gap:12px; }
}

/* ═══ PROMO VOUCHERS ═══ */
.hsk-pd__promos { border-top:1px solid #f0f0f0; padding-top:12px; }
.hsk-pd__promo-label { display:flex; align-items:center; gap:6px; font-size:13px; font-weight:600; color:#e53935; margin-bottom:8px; }
.hsk-pd__promo-chips { display:flex; flex-wrap:wrap; gap:8px; }
.hsk-pd__promo-chip {
    padding:5px 12px; border:1px dashed #e53935; border-radius:6px;
    font-size:12px; color:#e53935; background:#fff5f5;
    cursor:default; transition:all .2s;
}
.hsk-pd__promo-chip:hover { background:#ffecec; }

/* ═══ DELIVERY INFO ═══ */
.hsk-pd__delivery {
    display:flex; align-items:center; gap:12px;
    padding:14px 16px; background:#fff;
    border:1px solid #e0e0e0; border-radius:10px;
}
.hsk-pd__delivery-icon {
    flex-shrink:0; width:40px; height:40px;
    border-radius:50%; background:#f0f7f3;
    display:flex; align-items:center; justify-content:center;
}
.hsk-pd__delivery-info { display:flex; flex-direction:column; gap:2px; }
.hsk-pd__delivery-label { font-size:14px; color:#333; }
.hsk-pd__delivery-label strong { color:var(--hsk-text); font-weight:700; }
.hsk-pd__delivery-time { font-size:13px; color:#666; }
.hsk-pd__delivery-time strong { color:var(--hsk-primary); font-weight:700; }




/* ═══ BRAND CARD (enhanced) ═══ */
.hsk-pd__brand-card { padding:16px 20px; display:flex; align-items:center; gap:14px; }
.hsk-pd__brand-logo {
    width:48px; height:48px; border-radius:50%;
    background:linear-gradient(135deg, #016143, #4caf50);
    display:flex; align-items:center; justify-content:center; flex-shrink:0;
}
.hsk-pd__brand-initial { font-size:22px; font-weight:700; color:#fff; }
.hsk-pd__brand-info { flex:1; min-width:0; }
.hsk-pd__brand-name { font-size:16px; font-weight:700; color:var(--hsk-text); margin:0; }
.hsk-pd__brand-slogan { font-size:12px; color:#888; }
.hsk-pd__brand-view-btn {
    padding:8px 20px; border:1px solid var(--hsk-primary);
    border-radius:8px; font-size:13px; font-weight:600;
    color:var(--hsk-primary); background:#fff; text-decoration:none;
    white-space:nowrap; transition:all .2s;
}
.hsk-pd__brand-view-btn:hover { background:var(--hsk-green-light); }

/* ═══ IMAGE DOTS ═══ */
.hsk-pd__dots { display:flex; justify-content:center; gap:6px; padding-top:10px; }
.hsk-pd__dot {
    width:8px; height:8px; border-radius:50%;
    background:#ddd; cursor:pointer; transition:all .2s;
}
.hsk-pd__dot.is-active { background:var(--hsk-primary); width:20px; border-radius:4px; }
.hsk-pd__dot:hover { background:#aaa; }

/* ═══ STOCK STATUS ═══ */
.hsk-pd__stock { display:flex; align-items:center; gap:6px; font-size:13px; color:#666; }
.hsk-pd__stock.in-stock strong { color:var(--hsk-primary); }
.hsk-pd__stock.out-of-stock strong { color:#e53935; }

/* ═══ SKU CODE ═══ */
.hsk-pd__sku-code { font-size:13px; color:#999; }

/* ═══ SHORT DESCRIPTION ═══ */
.hsk-pd__short-desc { font-size:13px; color:#555; line-height:1.6; padding:8px 0; }
.hsk-pd__short-desc p { margin:0 0 4px; }

/* ═══ CATEGORY LINKS ═══ */
.hsk-pd__cats { display:flex; align-items:center; gap:6px; font-size:12px; color:#999; flex-wrap:wrap; }
.hsk-pd__cats a { color:var(--hsk-primary); text-decoration:none; }
.hsk-pd__cats a:hover { text-decoration:underline; }

/* ══════════════════════════════════════════════════════════════
   CATEGORY / ARCHIVE PAGE
   ══════════════════════════════════════════════════════════════ */

.hsk-cat {
    max-width: var(--hsk-container);
    margin: 0 auto;
    padding: 0 16px 40px;
    font-family: var(--hsk-font);
}

/* ─── BREADCRUMBS (reuse) ─── */
.hsk-cat .hsk-breadcrumbs { margin-bottom: 12px; }

/* ─── LAYOUT ─── */
.hsk-cat__layout {
    display: flex;
    gap: 20px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 6px 24px rgba(20, 25, 26, .14);
    overflow: hidden;
    min-height: 600px;
    padding: 20px;
}

/* ─── SIDEBAR ─── */
.hsk-cat__sidebar {
    width: 220px;
    flex-shrink: 0;
    border-right: 1px solid #e9e9e9;
    padding: 0 20px 0 0;
    margin-right: 0;
    align-self: stretch;
}

/* ─── WIDGET AREA (Shop Sidebar) ─── */
.hsk-cat__widgets {
    padding: 0;
}

/* Each widget = one filter group with a divider below */
.hsk-cat__widgets .widget {
    padding: 0 0 16px;
    margin: 0 0 16px;
    border-bottom: 1px solid #f0f0f0;
    list-style: none;
}
.hsk-cat__widgets .widget:last-child {
    margin-bottom: 0;
    border-bottom: none;
}

/* Widget title */
.hsk-cat__widgets .widget-title {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--hsk-text);
    margin: 0 0 10px;
    padding: 0;
}
/* Flatsome adds its own divider after the title — hide it */
.hsk-cat__widgets .is-divider {
    display: none;
}

/* ─── ACCORDION SELECT-BOX (mỗi nhóm filter là 1 khối phẳng) ─── */
/* Widget "Danh mục sản phẩm" (luôn mở) */
.hsk-cat__widgets .widget_product_categories {
    width: 100%;
    box-sizing: border-box;
    padding: 0;
    margin: 0 0 14px;
    border: none;
    border-radius: 0;
    background: transparent;
}
.hsk-cat__widgets .widget_product_categories .widget-title {
    margin: 0 0 8px;
    padding: 0;
    background: transparent;
    font-size: 14px;
    font-weight: 700;
    color: var(--hsk-text);
}
.hsk-cat__widgets .widget_product_categories > ul,
.hsk-cat__widgets .widget_product_categories .product-categories {
    padding: 0;
    border-top: none;
    margin: 0;
}
.hsk-cat__widgets .widget.hsk-cat__acc {
    width: 100%;
    flex: 1 1 100%;
    box-sizing: border-box;
    padding: 0;
    margin: 0 0 14px;
    border: none;
    border-radius: 0;
    background: transparent;
}
.hsk-cat__widgets .widget.hsk-cat__acc:last-child { margin-bottom: 0; }

.hsk-cat__widgets .hsk-cat__acc-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    box-sizing: border-box;
    margin: 0 0 8px;
    padding: 0;
    cursor: pointer;
    user-select: none;
    background: transparent;
    font-size: 14px;
    font-weight: 700;
    color: var(--hsk-text);
}
.hsk-cat__widgets .hsk-cat__acc-head::after {
    content: '';
    width: 9px; height: 9px;
    border-right: 2px solid #777;
    border-bottom: 2px solid #777;
    transform: rotate(45deg);
    transition: transform .25s ease;
    margin-left: 8px; flex-shrink: 0;
    margin-top: -3px;
}
.hsk-cat__widgets .hsk-cat__acc.is-collapsed .hsk-cat__acc-head::after {
    transform: rotate(-45deg);
    margin-top: 2px;
}
.hsk-cat__widgets .hsk-cat__acc-head:hover { color: var(--hsk-primary); }

.hsk-cat__widgets .hsk-cat__acc-body {
    padding: 0;
    border-top: none;
}
.hsk-cat__widgets .hsk-cat__acc.is-collapsed .hsk-cat__acc-body {
    display: none;
}

/* Lists (categories + layered nav share the same look) */
.hsk-cat__widgets ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.hsk-cat__widgets li {
    padding: 0;
    margin: 0;
    line-height: 1.4;
    border: none;
}
/* Override Flatsome widget dividers:
   .widget>ul>li+li { border-top } and .widget>ul>li ul { border-left } */
.hsk-cat__widgets .widget > ul > li + li,
.hsk-cat__widgets ul > li + li {
    border-top: 0 !important;
}
.hsk-cat__widgets .widget > ul > li ul,
.hsk-cat__widgets ul.children,
.hsk-cat__widgets .children {
    border-left: 0 !important;
    margin: 2px 0 0 !important;
    padding-left: 10px !important;
    width: auto !important;
}
.hsk-cat__widgets li a {
    display: inline-block;
    padding: 0;
    font-size: 13px;
    color: var(--hsk-text);
    text-decoration: none;
    transition: color .15s;
}
.hsk-cat__widgets li a:hover {
    color: var(--hsk-primary);
}

/* Product count — grey, pushed to the right */
.hsk-cat__widgets .count {
    float: right;
    color: var(--hsk-text-muted);
    font-size: 12px;
    font-weight: 400;
    padding-top: 0;
}

/* Current category: only colour + weight change, no background */
.hsk-cat__widgets .product-categories .current-cat > a {
    color: var(--hsk-primary);
    font-weight: 600;
}

/* Children of the current category: indented + slightly smaller */
.hsk-cat__widgets .product-categories .children {
    padding-left: 10px;
    margin: 2px 0 0;
}
.hsk-cat__widgets .product-categories .children a {
    font-size: 12px;
    color: var(--hsk-text-light);
}
.hsk-cat__widgets .product-categories .children a:hover {
    color: var(--hsk-primary);
}
/* Hide grandchildren — keep the tree to two visible levels */
.hsk-cat__widgets .product-categories .children .children {
    display: none;
}
/* Only expand the children of the current category */
.hsk-cat__widgets .product-categories > li:not(.current-cat) > .children {
    display: none;
}

/* Layered-nav: checkbox-style filter options */
.hsk-cat__widgets .woocommerce-widget-layered-nav-list__item {
    position: relative;
}
.hsk-cat__widgets .woocommerce-widget-layered-nav-list__item a {
    display: flex;
    align-items: center;
    padding-left: 24px;
    position: relative;
}
/* Checkbox box — also override Flatsome's .widget li.chosen a:before "x" + round shape */
.hsk-cat__widgets .woocommerce-widget-layered-nav-list__item a::before,
.hsk-cat__widgets .woocommerce-widget-layered-nav-list__item.chosen a::before,
.hsk-cat__widgets .wc-layered-nav-term.chosen > a::before {
    content: '' !important;
    position: absolute !important;
    left: 0 !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 16px !important;
    height: 16px !important;
    border: 1px solid #ccc !important;
    border-radius: 3px !important;
    background: #fff !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
    text-align: left !important;
    opacity: 1 !important;
    color: transparent !important;
    transition: border-color .15s, background-color .15s;
}
.hsk-cat__widgets .woocommerce-widget-layered-nav-list__item a:hover::before {
    border-color: var(--hsk-primary) !important;
}
/* Checked state (active filter): only the checkbox color changes, text stays identical */
.hsk-cat__widgets .woocommerce-widget-layered-nav-list__item.chosen a::before,
.hsk-cat__widgets .wc-layered-nav-term.chosen > a::before {
    background: var(--hsk-primary) !important;
    border-color: var(--hsk-primary) !important;
}
/* Check mark */
.hsk-cat__widgets .woocommerce-widget-layered-nav-list__item.chosen a::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 50%;
    width: 4px;
    height: 8px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: translateY(-60%) rotate(45deg);
}
/* Keep count aligned right inside the flex row */
.hsk-cat__widgets .woocommerce-widget-layered-nav-list__item .count {
    float: none;
    margin-left: auto;
}

/* ─── MAIN CONTENT ─── */
.hsk-cat__main {
    flex: 1;
    min-width: 0;
    padding: 16px 0 24px;
}

/* Title */
.hsk-cat__title {
    font-size: 20px;
    font-weight: 700;
    color: var(--hsk-text);
    margin: 0 0 12px;
    line-height: 1.3;
}

/* Sub-category chips */
.hsk-cat__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}
.hsk-cat__chip {
    display: inline-flex;
    align-items: center;
    padding: 6px 16px;
    font-size: 13px;
    color: var(--hsk-text);
    background: #f5f5f5;
    border: 1px solid #e8e8e8;
    border-radius: 20px;
    text-decoration: none;
    transition: all .2s;
    white-space: nowrap;
    font-family: var(--hsk-font);
}
.hsk-cat__chip:hover {
    border-color: var(--hsk-primary);
    color: var(--hsk-primary);
    background: var(--hsk-primary-light);
}

/* ─── SORT BAR ─── */
.hsk-cat__sort-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 16px;
    padding-bottom: 0;
    gap: 12px;
}
.hsk-cat__sort-tabs {
    display: flex;
    gap: 0;
    overflow-x: auto;
}
.hsk-cat__sort-btn {
    padding: 12px 18px;
    font-size: 13px;
    font-weight: 500;
    color: #777;
    text-decoration: none;
    white-space: nowrap;
    position: relative;
    transition: color .2s;
    font-family: var(--hsk-font);
    border-bottom: 2px solid transparent;
}
.hsk-cat__sort-btn:hover { color: var(--hsk-primary); }
.hsk-cat__sort-btn.is-active {
    color: var(--hsk-primary);
    font-weight: 600;
    border-bottom-color: var(--hsk-primary);
}
.hsk-cat__sort-count {
    font-size: 13px;
    color: var(--hsk-text-muted);
    white-space: nowrap;
    flex-shrink: 0;
}

/* ─── PRODUCT GRID (override WC + Flatsome defaults) ─── */
/* Flatsome renders the loop as <div class="products row ..."> (not <ul>),
   and each item as <div class="hsk-product-card product ...">. Target both. */
.hsk-cat__main .woocommerce ul.products,
.hsk-cat__main ul.products,
.hsk-cat__main .products.row,
.hsk-cat__main .products {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 10px !important;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
}
.hsk-cat__main .products::before,
.hsk-cat__main .products::after,
.hsk-cat__main ul.products::before,
.hsk-cat__main ul.products::after { display: none !important; content: none !important; }

/* Each product item — works for li.product and div.hsk-product-card.product */
.hsk-cat__main ul.products li.product,
.hsk-cat__main .products .product,
.hsk-cat__main .products .hsk-product-card {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
}
/* Neutralise Flatsome column / box markup if present */
.hsk-cat__main .product-small.col,
.hsk-cat__main .product-small .col-inner {
    padding: 0 !important;
    margin: 0 !important;
}
.hsk-cat__main .product-small .box { display: none !important; }
.hsk-cat__main .hsk-product-card { display: flex !important; }

/* ─── Out of Stock badge ─── */
.hsk-product-card__badge--oos {
    background: #666;
    top: auto;
    bottom: 8px;
    left: 8px;
}

/* ─── PAGINATION (override) ─── */
.hsk-cat__main nav.woocommerce-pagination {
    margin-top: 24px;
    text-align: center;
}
.hsk-cat__main nav.woocommerce-pagination ul {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: none !important;
}
.hsk-cat__main nav.woocommerce-pagination ul li {
    border: none !important;
}
.hsk-cat__main nav.woocommerce-pagination ul li a,
.hsk-cat__main nav.woocommerce-pagination ul li span {
    border-radius: 8px !important;
    border: 1px solid #e0e0e0 !important;
    min-width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-family: var(--hsk-font);
    color: var(--hsk-text);
    transition: all .2s;
}
.hsk-cat__main nav.woocommerce-pagination ul li a:hover {
    border-color: var(--hsk-primary) !important;
    color: var(--hsk-primary);
}
.hsk-cat__main nav.woocommerce-pagination ul li span.current {
    background: var(--hsk-primary) !important;
    border-color: var(--hsk-primary) !important;
    color: #fff !important;
}

/* ─── HIDE Flatsome cruft on archive ─── */
.hsk-cat .woocommerce-result-count,
.hsk-cat .woocommerce-ordering,
.hsk-cat .category-filtering {
    display: none !important;
}
/* Hide Flatsome's default shop title bar + breadcrumb (we use custom .hsk-breadcrumbs).
   This block sits outside .hsk-cat, before <main>, so target it globally. */
.archive.woocommerce .shop-page-title.category-page-title,
.post-type-archive-product .shop-page-title,
.tax-product_cat .shop-page-title {
    display: none !important;
}
/* Flatsome wraps the product loop inside .shop-container — keep it visible */
.hsk-cat__main .shop-container {
    display: block !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1200px) {
    .hsk-cat__main .woocommerce ul.products,
    .hsk-cat__main ul.products,
    .hsk-cat__main .products.row,
    .hsk-cat__main .products {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}
@media (max-width: 992px) {
    .hsk-cat {
        padding-left: 5px;
        padding-right: 5px;
    }
    .hsk-cat__layout {
        flex-direction: column;
        padding: 8px;
        border-radius: 8px;
    }
    .hsk-cat__sidebar {
        width: 100%;
        border-right: none;
        border-bottom: none;
        position: static;
        max-height: none;
        padding: 0;
        margin-bottom: 4px;
    }
    /* Ẩn widget Danh mục sản phẩm trên mobile */
    .hsk-cat__widgets .widget_product_categories {
        display: none;
    }
    /* Tiêu đề nhóm lọc dạng outline button */
    .hsk-cat__widgets .hsk-cat__acc-head {
        padding: 8px 12px;
        border: 1px solid #d9d9d9;
        border-radius: 6px;
        background: #fff;
        transition: border-color .15s, color .15s;
    }
    .hsk-cat__widgets .hsk-cat__acc:not(.is-collapsed) .hsk-cat__acc-head {
        border-color: var(--hsk-primary);
        color: var(--hsk-primary);
    }
    .hsk-cat__widgets .hsk-cat__acc-body {
        padding: 8px 2px 0;
    }
    .hsk-cat__main .woocommerce ul.products,
    .hsk-cat__main ul.products,
    .hsk-cat__main .products.row,
    .hsk-cat__main .products {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}
@media (max-width: 768px) {
    .hsk-cat__main .woocommerce ul.products,
    .hsk-cat__main ul.products,
    .hsk-cat__main .products.row,
    .hsk-cat__main .products {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    .hsk-cat__sort-tabs {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    .hsk-cat__sort-btn { padding: 10px 14px; font-size: 12px; }
    .hsk-cat__title { font-size: 18px; }
}

/* ─── Remove leftover header divider line on shop/category pages ─── */
/* The header-bottom bar ("DANH MỤC SẢN PHẨM") shows a border/shadow that
   reads as a stray line above our content. Drop it on archive pages. */
.archive.woocommerce .header-bottom,
.tax-product_cat .header-bottom,
.post-type-archive-product .header-bottom {
    border-bottom: 0 !important;
    border-left: 0 !important;
    box-shadow: none !important;
}
.archive.woocommerce.header-shadow .header-wrapper,
.tax-product_cat.header-shadow .header-wrapper,
.post-type-archive-product.header-shadow .header-wrapper {
    box-shadow: none !important;
}

/* ─── OFF-CANVAS MOBILE MENU (dark green, full height) ────── */
#main-menu.mobile-sidebar,
#main-menu .sidebar-menu {
    background-color: var(--hsk-primary) !important;
    min-height: 100vh;
    height: 100%;
}
/* The Magnific popup wrapper that holds the slide-out panel */
.mfp-content #main-menu.mobile-sidebar {
    height: 100vh;
}
/* Mobile menu rộng 100% màn hình */
.mfp-content #main-menu.mobile-sidebar,
#main-menu.mobile-sidebar {
    width: 100% !important;
    max-width: 100% !important;
}
.off-canvas .mfp-content,
.off-canvas-left .mfp-content,
.off-canvas-right .mfp-content {
    width: 100% !important;
    max-width: 100% !important;
}
/* Light text + dividers so links stay readable on dark green */
#main-menu .nav-sidebar > li > a,
#main-menu .nav-sidebar .menu-item > a,
#main-menu .nav-sidebar li a,
#main-menu .nav-sidebar .back-link a,
#main-menu .sidebar-menu li a {
    color: #fff !important;
}
/* Tất cả icon trong mobile menu màu trắng (mũi tên, back, toggle) */
#main-menu .nav-sidebar .icon-angle-right,
#main-menu .nav-sidebar .icon-angle-left,
#main-menu .nav-sidebar [class^="icon-"],
#main-menu .nav-sidebar [class*=" icon-"],
#main-menu .nav-sidebar .ux-menu-link__icon,
#main-menu .nav-sidebar .menu-item-has-children > a::after,
#main-menu .nav-sidebar i,
#main-menu .sidebar-menu i {
    color: #fff !important;
    fill: #fff !important;
}
#main-menu .nav-sidebar > li {
    border-color: rgba(255, 255, 255, .12) !important;
}
#main-menu .nav-sidebar > li > a:hover,
#main-menu .nav-sidebar .menu-item > a:hover {
    color: #fff !important;
    background-color: rgba(0, 0, 0, .12) !important;
}
#main-menu .nav-sidebar .current-menu-item > a {
    color: #fff !important;
    background-color: rgba(0, 0, 0, .18) !important;
}

/* ══════════════════════════════════════════════════════════════
   BLOG / CATEGORY ARCHIVE — Cẩm nang làm đẹp (grid 4 cột)
   ══════════════════════════════════════════════════════════════ */
.hsk-blog {
    max-width: var(--hsk-container, 1400px);
    margin: 0 auto;
    padding: 0 15px 50px;
    font-family: var(--hsk-font);
}
.hsk-blog__title {
    font-size: 26px;
    font-weight: 700;
    color: var(--hsk-text);
    margin: 10px 0 6px;
}
.hsk-blog__desc {
    color: var(--hsk-text-light);
    font-size: 15px;
    margin: 0 0 20px;
}
.hsk-blog__empty {
    color: var(--hsk-text-light);
    padding: 40px 0;
    text-align: center;
}
/* HSK_BLOG_PLACEHOLDER */
/* Grid 4 cột */
.hsk-blog__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    align-items: stretch;
}
/* Thẻ bài viết */
.hsk-blog-card {
    background: var(--hsk-bg-white);
    border-radius: var(--hsk-radius-lg, 12px);
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .07);
    transition: box-shadow .25s ease, transform .25s ease;
    height: 100%;
}
.hsk-blog-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, .14);
    transform: translateY(-3px);
}
.hsk-blog-card__link {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: inherit;
    text-decoration: none;
}
/* Ảnh — tỉ lệ cố định + zoom khi hover */
.hsk-blog-card__image {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #f0f2f1;
}
.hsk-blog-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .45s ease;
}
.hsk-blog-card:hover .hsk-blog-card__image img {
    transform: scale(1.07);
}
.hsk-blog-card__noimg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #e7f6ee, #cfe9dd);
}
/* HSK_BLOG_PLACEHOLDER2 */
/* Phần nội dung thẻ */
.hsk-blog-card__body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    padding: 14px 14px 16px;
}
.hsk-blog-card__title {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--hsk-text);
    margin: 0 0 8px;
    /* Giới hạn 2 dòng */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color .2s ease;
}
.hsk-blog-card:hover .hsk-blog-card__title {
    color: var(--hsk-primary);
}
.hsk-blog-card__meta {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12.5px;
    color: var(--hsk-text-light);
    margin-bottom: 8px;
}
.hsk-blog-card__meta svg {
    flex-shrink: 0;
    color: var(--hsk-primary);
}
/* Mô tả ngắn — đúng 3 dòng */
.hsk-blog-card__excerpt {
    font-size: 13.5px;
    line-height: 1.55;
    color: var(--hsk-text-light);
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
/* HSK_BLOG_PLACEHOLDER3 */
/* Phân trang */
.hsk-blog__pagination {
    margin-top: 32px;
    display: flex;
    justify-content: center;
}
.hsk-blog__pagination ul {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.hsk-blog__pagination .page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 10px;
    border-radius: 8px;
    border: 1px solid var(--hsk-border-light, #e5e5e5);
    background: var(--hsk-bg-white);
    color: var(--hsk-text);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.hsk-blog__pagination .page-numbers:hover {
    border-color: var(--hsk-primary);
    color: var(--hsk-primary);
}
.hsk-blog__pagination .page-numbers.current {
    background: var(--hsk-primary);
    border-color: var(--hsk-primary);
    color: #fff;
}
.hsk-blog__pagination .page-numbers.dots {
    border-color: transparent;
    background: transparent;
}
/* Responsive */
@media (max-width: 1024px) {
    .hsk-blog__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
    .hsk-blog__grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .hsk-blog { padding: 0 10px 40px; }
    .hsk-blog__title { font-size: 22px; }
}
@media (max-width: 420px) {
    .hsk-blog-card__body { padding: 10px 10px 12px; }
    .hsk-blog-card__title { font-size: 14px; }
}

/* ══════════════════════════════════════════════════════════════
   SINGLE POST — trang chi tiết bài viết
   ══════════════════════════════════════════════════════════════ */
.hsk-post {
    max-width: var(--hsk-container, 1200px);
    margin: 0 auto;
    padding: 0 15px 50px;
    font-family: var(--hsk-font);
}
/* Layout 2 cột: nội dung (1fr) + sidebar (300px) */
.hsk-post__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 30px;
    align-items: start;
}
.hsk-post__main { min-width: 0; }
.hsk-post__article {
    background: var(--hsk-bg-white);
    padding: 20px 20px 1px;
    border-radius: var(--hsk-radius-lg, 16px);
    box-shadow: var(--hsk-shadow, 0 2px 8px rgba(0,0,0,0.08));
}
.hsk-post__title {
    font-size: 28px;
    font-weight: 800;
    line-height: 1.35;
    color: var(--hsk-text);
    margin: 6px 0 0;
}
.hsk-post__divider {
    width: 50px;
    height: 3px;
    background: var(--hsk-primary);
    margin: 14px 0 22px;
    border-radius: 2px;
}
/* Ảnh đại diện */
.hsk-post__featured {
    width: 100%;
    border-radius: var(--hsk-radius-lg, 12px);
    overflow: hidden;
    margin-bottom: 24px;
}
.hsk-post__featured img {
    width: 100%;
    height: auto !important;
    display: block;
}
/* Nội dung bài */
.hsk-post__content {
    font-size: 16px;
    line-height: 1.75;
    color: var(--hsk-text);
}
.hsk-post__title,
.hsk-post__content h1,
.hsk-post__content h2,
.hsk-post__content h3,
.hsk-post__content h4,
.hsk-post__content h5,
.hsk-post__content h6,
.hsk-post__content p { text-wrap: inherit; }
.hsk-post__content p { margin: 0 0 16px; }
.hsk-post__content h2 {
    font-size: 22px;
    font-weight: 700;
    color: var(--hsk-text);
    margin: 28px 0 14px;
    padding-left: 12px;
    border-left: 4px solid var(--hsk-primary);
}
.hsk-post__content h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--hsk-text);
    margin: 22px 0 12px;
}
.hsk-post__content img {
    max-width: 100%;
    width: auto;
    height: auto !important;
    border-radius: 8px;
    margin: 8px 0;
}
.hsk-post__content a {
    color: var(--hsk-primary);
    text-decoration: underline;
}
.hsk-post__content ul,
.hsk-post__content ol {
    margin: 0 0 16px;
    padding-left: 22px;
}
.hsk-post__content li { margin-bottom: 8px; }
.hsk-post__content table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
    font-size: 14.5px;
}
.hsk-post__content table td,
.hsk-post__content table th {
    border: 1px solid var(--hsk-border-light, #e5e5e5);
    padding: 10px 12px;
    text-align: left;
}
.hsk-post__content table th { background: var(--hsk-green-light, #e5f3ec); }
.hsk-post__content blockquote {
    margin: 16px 0;
    padding: 12px 18px;
    border-left: 4px solid var(--hsk-primary);
    background: var(--hsk-green-light, #e5f3ec);
    border-radius: 0 8px 8px 0;
    color: var(--hsk-text);
}
/* HSK_POST_PLACEHOLDER2 */
/* Bài cùng danh mục */
.hsk-related {
    margin: 40px 0 0;
}
.hsk-related__title {
    font-size: 22px;
    font-weight: 700;
    color: var(--hsk-text);
    margin: 0 0 18px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--hsk-primary);
    display: inline-block;
}
.hsk-related__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    align-items: stretch;
}

/* ─── Sidebar: Tin mới cập nhật ─── */
.hsk-post__sidebar { min-width: 0; align-self: stretch; }
.hsk-sidebar-sticky {
    position: sticky;
    top: 80px;
}
.hsk-widget {
    background: var(--hsk-bg-white, #fff);
    border: 1px solid var(--hsk-border-light, #e5e5e5);
    border-radius: var(--hsk-radius-lg, 12px);
    padding: 16px;
}
.hsk-widget__title {
    font-size: 17px;
    font-weight: 700;
    color: var(--hsk-text);
    margin: 0 0 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--hsk-primary);
}
.hsk-widget__list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.hsk-recent {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    text-decoration: none;
}
.hsk-recent__image {
    flex: 0 0 70px;
    width: 70px;
    height: 70px;
    border-radius: 8px;
    overflow: hidden;
    background: var(--hsk-green-light, #e5f3ec);
}
.hsk-recent__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .3s ease;
}
.hsk-recent:hover .hsk-recent__image img { transform: scale(1.06); }
.hsk-recent__noimg { display: block; width: 100%; height: 100%; }
.hsk-recent__title {
    margin: 0;
    font-size: 13.5px;
    font-weight: 500;
    line-height: 1.45;
    color: var(--hsk-text);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color .2s ease;
}
.hsk-recent:hover .hsk-recent__title { color: var(--hsk-primary); }

/* Responsive single post */
@media (max-width: 1024px) {
    .hsk-post__layout { grid-template-columns: minmax(0, 1fr) 260px; gap: 22px; }
    .hsk-related__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
    .hsk-post__layout { grid-template-columns: 1fr; }
    .hsk-sidebar-sticky { position: static; }
}
@media (max-width: 768px) {
    .hsk-post__article { padding: 10px 10px 1px; }
    .hsk-post__title { font-size: 24px; }
    .hsk-post__content { font-size: 15px; }
    .hsk-related__grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}
@media (max-width: 480px) {
    .hsk-related__grid { grid-template-columns: 1fr; }
}

/* ════════════════════════════════════════════════════════════
   CART PAGE — layout 2 cột (danh sách sản phẩm + tóm tắt)
   ════════════════════════════════════════════════════════════ */
.hsk-cart {
    max-width: var(--hsk-container, 1200px);
    margin: 0 auto;
    padding: 24px 15px 60px;
}
.hsk-cart__heading {
    font-size: 26px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 20px;
    display: flex;
    align-items: baseline;
    gap: 10px;
}
.hsk-cart__count {
    font-size: 15px;
    font-weight: 400;
    color: #888;
}
.hsk-cart__layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 24px;
    align-items: start;
}

/* ─── Cột trái: danh sách sản phẩm ─── */
.hsk-cart__items {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    overflow: hidden;
}
.hsk-cart__list {
    display: flex;
    flex-direction: column;
}
.hsk-cart-item {
    display: grid;
    grid-template-columns: 90px 1fr 130px 120px 130px 40px;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    border-bottom: 1px solid #f0f0f0;
}
.hsk-cart-item:last-child {
    border-bottom: none;
}
.hsk-cart-item__thumb img {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #eee;
}
.hsk-cart-item__info {
    min-width: 0;
}
.hsk-cart-item__name {
    font-size: 14px;
    line-height: 1.45;
    font-weight: 500;
}
.hsk-cart-item__name a {
    color: #1a1a1a;
    text-decoration: none;
}
.hsk-cart-item__name a:hover {
    color: var(--hsk-primary, #1a8f5f);
}
.hsk-cart-item__price-mobile {
    display: none;
    margin-top: 6px;
    font-size: 14px;
    color: var(--hsk-primary, #1a8f5f);
    font-weight: 600;
}
.hsk-cart-item__price,
.hsk-cart-item__subtotal {
    font-size: 14px;
    text-align: center;
}
.hsk-cart-item__price {
    color: #555;
}
.hsk-cart-item__subtotal {
    font-weight: 700;
    color: var(--hsk-primary, #1a8f5f);
}
.hsk-cart-item__qty {
    display: flex;
    justify-content: center;
}
.hsk-cart-item__qty .quantity {
    display: inline-flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
}
/* Nút +/- của Flatsome: bỏ khe hở, gộp liền với input */
.hsk-cart-item__qty .quantity .minus,
.hsk-cart-item__qty .quantity .plus,
.hsk-cart-item__qty .quantity button.minus,
.hsk-cart-item__qty .quantity button.plus,
.hsk-cart-item__qty .quantity input.minus,
.hsk-cart-item__qty .quantity input.plus {
    width: 34px;
    height: 36px;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    border-radius: 0 !important;
    background: #f5f5f5;
    color: #555;
    font-size: 16px;
    line-height: 36px;
    text-align: center;
    box-shadow: none !important;
    cursor: pointer;
    flex: 0 0 auto;
}
.hsk-cart-item__qty .quantity .minus:hover,
.hsk-cart-item__qty .quantity .plus:hover,
.hsk-cart-item__qty .quantity button.minus:hover,
.hsk-cart-item__qty .quantity button.plus:hover,
.hsk-cart-item__qty .quantity input.minus:hover,
.hsk-cart-item__qty .quantity input.plus:hover {
    background: #ebebeb;
    color: var(--hsk-primary, #1a8f5f);
}
.hsk-cart-item__qty .quantity input.qty {
    width: 46px;
    height: 36px;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    border-left: 1px solid #e5e5e5 !important;
    border-right: 1px solid #e5e5e5 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    text-align: center;
    font-size: 14px;
    background: #fff;
    -moz-appearance: textfield;
    appearance: textfield;
}
.hsk-cart-item__qty .quantity input.qty::-webkit-outer-spin-button,
.hsk-cart-item__qty .quantity input.qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.hsk-cart-item__remove {
    text-align: center;
}
.hsk-cart-item__remove a.remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    font-size: 20px;
    line-height: 1;
    color: #bbb !important;
    background: #f5f5f5;
    text-decoration: none;
    transition: all .15s ease;
}
.hsk-cart-item__remove a.remove:hover {
    color: #fff !important;
    background: #e74c3c;
}

/* ─── Hàng thao tác (tiếp tục mua / coupon / cập nhật) ─── */
.hsk-cart__actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
    padding: 18px 20px;
    border-top: 1px solid #f0f0f0;
    background: #fafafa;
}
.hsk-cart__continue {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 500;
    color: var(--hsk-primary, #1a8f5f);
    text-decoration: none;
}
.hsk-cart__continue:hover {
    text-decoration: underline;
}
.hsk-cart__actions-right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.hsk-cart__coupon {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}
.hsk-cart__coupon input.input-text {
    width: 150px;
    height: 40px;
    border: none;
    padding: 0 12px;
    font-size: 14px;
    margin: 0;
    box-shadow: none;
    background: transparent;
}
.hsk-cart__coupon-btn {
    height: 40px;
    border: none;
    background: #eef6f1;
    color: var(--hsk-primary, #1a8f5f);
    font-size: 14px;
    font-weight: 600;
    padding: 0 16px;
    margin-right: 0 !important;
    margin-bottom: 0 !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    white-space: nowrap;
    flex: 0 0 auto;
    cursor: pointer;
    transition: background .15s ease;
}
.hsk-cart__coupon-btn:hover {
    background: #ddeee4;
}
.hsk-cart__update {
    height: 40px;
    border: 1px solid var(--hsk-primary, #1a8f5f);
    background: #fff;
    color: var(--hsk-primary, #1a8f5f) !important;
    font-size: 14px;
    font-weight: 600;
    padding: 0 20px;
    margin-right: 0 !important;
    margin-bottom: 0 !important;
    border-radius: 8px;
    cursor: pointer;
    transition: all .15s ease;
}
.hsk-cart__update:hover {
    background: var(--hsk-primary, #1a8f5f);
    color: #fff !important;
}

/* ─── Cột phải: tóm tắt đơn hàng ─── */
.hsk-cart__summary {
    position: sticky;
    top: 20px;
}
.hsk-cart-totals {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 20px 22px;
    box-shadow: 0 2px 12px rgba(0,0,0,.04);
}
.hsk-cart-totals__title {
    font-size: 17px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0f0f0;
}
.hsk-cart-totals__rows {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.hsk-cart-totals__row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    font-size: 14px;
    color: #555;
}
.hsk-cart-totals__row > span:last-child {
    text-align: right;
    font-weight: 500;
    color: #1a1a1a;
}
.hsk-cart-totals__row.cart-discount > span:last-child {
    color: #e74c3c;
}
.hsk-cart-totals__row.order-total {
    margin-top: 6px;
    padding-top: 14px;
    border-top: 1px solid #f0f0f0;
    font-size: 16px;
}
.hsk-cart-totals__row.order-total > span {
    font-weight: 700;
    color: #1a1a1a;
}
.hsk-cart-totals__row.order-total > span:last-child {
    color: var(--hsk-primary, #1a8f5f);
    font-size: 19px;
}
.hsk-cart-totals .wc-proceed-to-checkout {
    margin-top: 18px;
    margin-bottom: 0 !important;
    padding: 0;
}
.hsk-cart-totals .wc-proceed-to-checkout a.checkout-button {
    display: block;
    width: 100%;
    text-align: center;
    background: var(--hsk-primary, #1a8f5f);
    color: #fff !important;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    padding: 15px 16px;
    border-radius: 8px;
    text-decoration: none;
    transition: background .15s ease;
    margin: 0 !important;
}
.hsk-cart-totals .wc-proceed-to-checkout a.checkout-button:hover {
    background: #15784f;
}
.hsk-cart-totals .shipping-calculator-button {
    color: var(--hsk-primary, #1a8f5f);
}
.hsk-cart-totals .woocommerce-shipping-totals.shipping th,
.hsk-cart-totals .woocommerce-shipping-totals.shipping td {
    font-size: 14px;
}
.hsk-cart-totals ul#shipping_method {
    list-style: none;
    margin: 0;
    padding: 0;
}
.hsk-cart-totals ul#shipping_method li {
    margin: 4px 0;
    font-size: 13px;
}

/* ─── Giỏ hàng trống ─── */
.hsk-cart .cart-empty,
.wc-empty-cart-message,
.cart-empty.woocommerce-info {
    text-align: center;
    font-size: 16px;
    color: #555;
    padding: 40px 0;
}
.hsk-cart .return-to-shop {
    text-align: center;
    margin-top: 10px;
}

/* ─── Responsive cart ─── */
@media (max-width: 1024px) {
    .hsk-cart__layout {
        grid-template-columns: 1fr 320px;
        gap: 18px;
    }
    .hsk-cart-item {
        grid-template-columns: 80px 1fr 110px 100px 110px 36px;
        gap: 10px;
        padding: 16px 14px;
    }
    .hsk-cart-item__thumb img { width: 80px; height: 80px; }
}
@media (max-width: 860px) {
    .hsk-cart__layout {
        grid-template-columns: 1fr;
    }
    .hsk-cart__summary {
        position: static;
    }
}
@media (max-width: 600px) {
    /* Bỏ padding cha của Flatsome (.row-main / .col / .col-inner) để
       nội dung giỏ hàng chỉ cách 2 cạnh 8px */
    .woocommerce-cart .row-main,
    .woocommerce-cart .row-main > .col,
    .woocommerce-cart .row-main > .col > .col-inner {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .hsk-cart {
        padding: 16px 8px 40px;
    }
    .hsk-cart__heading { font-size: 22px; }

    /* Item: ảnh trái — tên trên, giá + số lượng cùng hàng dưới */
    .hsk-cart-item {
        grid-template-columns: 72px auto 1fr;
        grid-template-areas:
            "thumb info  info"
            "thumb price qty";
        gap: 6px 10px;
        padding: 12px 8px;
        align-items: center;
    }
    .hsk-cart-item__thumb { grid-area: thumb; align-self: start; }
    .hsk-cart-item__thumb img { width: 72px; height: 72px; }
    .hsk-cart-item__info { grid-area: info; align-self: center; }

    /* Giá: dùng cột giá riêng, ẩn giá lặp trong info */
    .hsk-cart-item__price-mobile { display: none; }
    .hsk-cart-item__price {
        grid-area: price;
        display: block;
        text-align: left;
        align-self: center;
        font-size: 15px;
        font-weight: 600;
        color: var(--hsk-primary, #1a8f5f);
        white-space: nowrap;
    }

    /* Số lượng: cùng hàng với giá, canh giữa dọc, đẩy sang phải */
    .hsk-cart-item__qty {
        grid-area: qty;
        justify-content: flex-end;
        align-self: center;
    }

    /* Bỏ thành tiền (Total) và nút xóa trên mobile */
    .hsk-cart-item__subtotal { display: none; }
    .hsk-cart-item__remove { display: none; }

    /* Hàng thao tác xếp dọc, các phần tử rộng 100% */
    .hsk-cart__actions {
        flex-direction: column;
        align-items: stretch;
        padding: 12px 8px 8px;
    }
    .hsk-cart__actions-right {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        gap: 10px;
    }
    .hsk-cart__coupon {
        width: 100%;
    }
    .hsk-cart__coupon input.input-text {
        flex: 1;
        width: auto;
    }
    .hsk-cart__update {
        width: 100%;
        margin-bottom: -15px !important;
    }

    /* Hộp tóm tắt: nút thanh toán cách cạnh dưới 13px (8 + 5px) */
    .hsk-cart-totals {
        padding: 16px 12px 13px;
    }
}

/* ─── Căn chỉnh hàng thao tác (text ↔ button cùng chiều cao) ─── */
.hsk-cart__continue {
    height: 40px;
    line-height: 40px;
}
.hsk-cart__continue svg {
    vertical-align: middle;
}

/* ════════════════════════════════════════════════════════════
   CART — SẢN PHẨM GỢI Ý
   ════════════════════════════════════════════════════════════ */
.hsk-cart-suggest {
    max-width: var(--hsk-container, 1200px);
    margin: 0 auto;
    padding: 0 15px 40px;
}
.hsk-cart-suggest__title {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 18px;
    padding-left: 12px;
    border-left: 4px solid var(--hsk-primary, #1a8f5f);
    line-height: 1.2;
}
/* Desktop/tablet: bỏ cấu trúc slide, dàn đều 8 sản phẩm thành lưới 4 cột */
.hsk-cart-suggest__slider {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--hsk-gap, 16px);
    align-items: stretch;
}
.hsk-cart-suggest__slide {
    display: contents;
}
.hsk-cart-suggest__slider .hsk-product-card {
    height: 100%;
}
@media (max-width: 768px) {
    .hsk-cart-suggest__slider { gap: 12px; }
}
@media (max-width: 600px) {
    .hsk-cart-suggest { padding: 0 8px 40px; }
    .hsk-cart-suggest__title { font-size: 18px; }

    /* Mobile: slider ngang, mỗi slide là lưới 2x2 (4 sản phẩm) */
    .hsk-cart-suggest__slider {
        display: flex;
        grid-template-columns: none;
        gap: 0;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .hsk-cart-suggest__slider::-webkit-scrollbar {
        display: none;
    }
    .hsk-cart-suggest__slide {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        flex: 0 0 100%;
        width: 100%;
        scroll-snap-align: start;
    }
}

/* ════════════════════════════════════════════════════════════
   HEADER — icon Giỏ hàng & Tài khoản: bỏ nền khi hover (desktop)
   (override .is-outline button của Flatsome; có .header-button bọc giữa)
   ════════════════════════════════════════════════════════════ */
.header .header-button a.icon.button.is-outline:hover,
.header .header-button a.icon.button.is-outline:focus,
.header li.cart-item a.is-outline:hover,
.header li.cart-item a.is-outline:focus,
.header li.account-item a.is-outline:hover,
.header li.account-item a.is-outline:focus {
    background-color: transparent !important;
    border-color: rgba(255,255,255,.5) !important;
    color: #fff !important;
}
.header .header-button a.icon.button.is-outline:hover i,
.header li.cart-item a.is-outline:hover i,
.header li.account-item a.is-outline:hover i {
    color: #fff !important;
}

/* ════════════════════════════════════════════════════════════
   CHECKOUT PAGE — layout 2 cột (thông tin KH + tóm tắt đơn)
   ════════════════════════════════════════════════════════════ */
.hsk-checkout {
    max-width: var(--hsk-container, 1200px);
    margin: 0 auto;
    padding: 24px 0px 10px;
}
.hsk-checkout__heading {
    font-size: 26px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 20px;
}
.hsk-checkout__layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 24px;
    align-items: start;
}
.hsk-checkout__main {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

/* ─── Khối section ─── */
.hsk-checkout__section {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 20px 22px;
}
.hsk-checkout__section-title {
    font-size: 17px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 16px;
}

/* ─── Grid field 2 cột ─── */
.hsk-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 16px;
}
.hsk-grid .hsk-col-full {
    grid-column: 1 / -1;
}
.hsk-grid .hsk-col-half {
    grid-column: span 1;
}
/* form-row của WC: bỏ margin mặc định để grid kiểm soát khoảng cách */
.hsk-checkout .hsk-grid .form-row {
    margin: 0 !important;
    padding: 0;
    width: auto;
}

/* ─── Label & input ─── */
.hsk-checkout .hsk-grid .form-row label {
    display: block;
    font-size: 13.5px;
    font-weight: 600;
    color: #333;
    margin: 0 0 6px;
}
.hsk-checkout .hsk-grid .form-row label .required {
    color: #e53935;
    text-decoration: none;
    border: 0;
}
.hsk-checkout .hsk-grid .form-row .optional {
    color: #999;
    font-weight: 400;
}
.hsk-checkout .hsk-grid input[type="text"],
.hsk-checkout .hsk-grid input[type="tel"],
.hsk-checkout .hsk-grid input[type="email"],
.hsk-checkout .hsk-grid textarea,
.hsk-checkout .hsk-grid select {
    width: 100%;
    height: 44px;
    padding: 10px 12px;
    margin: 0 !important;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    color: #1a1a1a;
    background: #fff;
    box-shadow: none;
    transition: border-color .15s ease;
}
.hsk-checkout .hsk-grid textarea {
    height: auto;
    min-height: 90px;
    resize: vertical;
}
.hsk-checkout .hsk-grid input:focus,
.hsk-checkout .hsk-grid textarea:focus,
.hsk-checkout .hsk-grid select:focus {
    border-color: var(--hsk-primary, #016143);
    outline: none;
}
.hsk-checkout .hsk-grid select:disabled {
    background: #f5f5f5;
    color: #999;
    cursor: not-allowed;
}
.hsk-checkout .hsk-grid .woocommerce-input-wrapper {
    width: 100%;
}

/* ─── Khối hóa đơn VAT ─── */
.hsk-checkout__vat-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
    cursor: pointer;
    margin: 0;
}
.hsk-checkout__vat-toggle input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--hsk-primary, #016143);
    cursor: pointer;
}
.hsk-checkout__vat-fields {
    margin-top: 16px;
}
.hsk-checkout__vat-fields[hidden] {
    display: none;
}

/* ─── Cột phải: tóm tắt đơn hàng ─── */
.hsk-checkout__sidebar {
    position: sticky;
    top: 20px;
}
.hsk-checkout__order {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 20px 22px;
}
.hsk-checkout__order .shop_table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    margin: 0 0 12px;
}
.hsk-checkout__order .shop_table th,
.hsk-checkout__order .shop_table td {
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    text-align: left;
    vertical-align: top;
}
.hsk-checkout__order .shop_table td.product-total,
.hsk-checkout__order .shop_table th.product-total {
    text-align: right;
    white-space: nowrap;
}
.hsk-checkout__order .shop_table .product-name {
    color: #333;
    line-height: 1.4;
}
.hsk-checkout__order .shop_table .product-quantity {
    color: #888;
}
.hsk-checkout__order .cart-subtotal th,
.hsk-checkout__order .order-total th {
    font-weight: 600;
    color: #555;
}
.hsk-checkout__order .order-total th,
.hsk-checkout__order .order-total td {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    border-bottom: none;
}
.hsk-checkout__order .order-total .woocommerce-Price-amount {
    color: var(--hsk-primary, #016143);
}

/* Phương thức thanh toán */
.hsk-checkout__order #payment {
    margin-top: 8px;
}
.hsk-checkout__order #payment ul.payment_methods {
    list-style: none;
    margin: 0 0 14px;
    padding: 14px 0 0;
    border-top: 1px solid #f0f0f0;
}
.hsk-checkout__order #payment ul.payment_methods li {
    margin: 0 0 10px;
    font-size: 14px;
}
.hsk-checkout__order #payment .payment_box {
    background: #f8f8f8;
    border-radius: 8px;
    padding: 10px 12px;
    margin: 8px 0 0;
    font-size: 13px;
    color: #666;
}
.hsk-checkout__order #payment .place-order {
    padding: 0;
    margin: 0;
}
.hsk-checkout__order #place_order {
    display: block;
    width: 100%;
    background: var(--hsk-primary, #016143);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    padding: 16px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background .15s ease;
}
.hsk-checkout__order #place_order:hover {
    background: #014d35;
}

/* ─── Responsive checkout ─── */
@media (max-width: 1024px) {
    .hsk-checkout__layout {
        grid-template-columns: 1fr 320px;
        gap: 18px;
    }
}
@media (max-width: 860px) {
    .hsk-checkout__layout {
        grid-template-columns: 1fr;
    }
    .hsk-checkout__sidebar {
        position: static;
    }
}
@media (max-width: 480px) {
    .hsk-grid {
        grid-template-columns: 1fr;
    }
    .hsk-grid .hsk-col-half {
        grid-column: 1 / -1;
    }
    .hsk-checkout__section,
    .hsk-checkout__order {
        padding: 16px;
    }
}

/* ════════════════════════════════════════════════════════════
   TRANG THƯƠNG HIỆU (page-brands.php)
   ════════════════════════════════════════════════════════════ */
.hsk-brands__container {
    max-width: var(--hsk-container, 1400px);
    margin: 0 auto;
    padding: 0 15px 50px;
}

/* Thanh lọc 0-9 / A-Z: chữ xanh đậm, không viền */
.hsk-brands__alpha {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 14px;
    position: sticky;
    top: 0;
    z-index: 5;
    background: var(--hsk-bg-white, #fff);
    padding: 14px 0;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--hsk-border-light, #eee);
}
.hsk-brands__alpha-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    padding: 2px 4px;
    border: 0;
    background: none;
    font-size: 20px;
    font-weight: 700;
    color: var(--hsk-primary, #016143);
    text-decoration: none;
    line-height: 1.2;
    transition: opacity .15s, transform .15s;
}
.hsk-brands__alpha-btn:hover {
    opacity: .7;
    transform: translateY(-1px);
}
.hsk-brands__alpha-btn.is-disabled {
    opacity: .3;
    pointer-events: none;
}
.hsk-brands__alpha-btn.is-active {
    text-decoration: underline;
    text-underline-offset: 5px;
}

/* Section theo chữ cái */
.hsk-brands__section { scroll-margin-top: 70px; margin-bottom: 32px; }
.hsk-brands__letter {
    font-size: 24px;
    font-weight: 800;
    color: var(--hsk-primary, #016143);
    margin: 0 0 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--hsk-primary, #016143);
}
.hsk-brands__empty { color: var(--hsk-text-light, #666); padding: 20px 0; }

/* Lưới brand */
.hsk-brands__grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}
/* Thẻ brand: ảnh vuông ở trên, tên ở dưới */
.hsk-brand-tile {
    display: block;
    text-decoration: none;
    background: var(--hsk-bg-white, #fff);
    border: 1px solid var(--hsk-border-light, #eee);
    border-radius: 10px;
    overflow: hidden;
    transition: transform .18s, box-shadow .18s;
}
.hsk-brand-tile:hover {
    transform: translateY(-3px);
    box-shadow: var(--hsk-shadow-hover, 0 4px 16px rgba(0,0,0,0.12));
}
/* Khung ảnh vuông 1:1 */
.hsk-brand-tile__media {
    position: relative;
    aspect-ratio: 1 / 1;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.hsk-brand-tile__logo {
    max-width: 82%;
    max-height: 82%;
    width: auto;
    height: auto;
    object-fit: contain;
}
/* Tên brand nằm dưới ảnh */
.hsk-brand-tile__name {
    display: block;
    padding: 10px 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--hsk-text, #333);
    text-align: center;
    line-height: 1.35;
    border-top: 1px solid var(--hsk-border-light, #eee);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
/* Không có logo: chữ cái đầu trên nền gradient xanh */
.hsk-brand-tile.is-noimg .hsk-brand-tile__media {
    background: linear-gradient(to top, #013d2b 0%, #016143 45%, #2e9e76 100%);
}
.hsk-brand-tile__initial {
    font-size: 48px;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

@media (max-width: 1100px) {
    .hsk-brands__grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 768px) {
    .hsk-brands__grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
    .hsk-brands__letter { font-size: 20px; }
    .hsk-brands__alpha-btn { font-size: 17px; }
    .hsk-brand-tile__initial { font-size: 38px; }
}
@media (max-width: 480px) {
    .hsk-brands__grid { grid-template-columns: repeat(3, 1fr); }
    .hsk-brands__alpha { gap: 4px 10px; }
    .hsk-brands__alpha-btn { font-size: 16px; min-width: 24px; }
}