/*
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;
}
:root {
    --hsk-primary: #326e51;
    --hsk-primary-dark: #326e51;
    --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: 8px;
}
.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: 8px;
}
.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: 10px 9px 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, #2d6249 0%, #326e51 100%);
    padding: 20px 0 0px;
    margin: 16px 0;
    border-radius: var(--hsk-radius-lg);
}
.hsk-deals .row-small { max-width: var(--hsk-container); margin: 0 auto; }
.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;
    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: 100%;
}
/* 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; }

/* ─── 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;
}
/* 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.2); width: calc((100% - 12px) / 2.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.2); width: calc((100% - 12px) / 2.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.2); width: calc((100% - 12px) / 2.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) ───────────────────────────── */
.hsk-brands__banner {
    position: relative;
    border-radius: var(--hsk-radius);
    overflow: hidden;
}
.hsk-brands__banner-track {
    display: flex;
    transition: transform .5s ease;
}
.hsk-brands__banner-slide {
    flex: 0 0 100%;
    width: 100%;
}
.hsk-brands__banner-slide a { display: block; }
.hsk-brands__banner-slide img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
    border-radius: var(--hsk-radius);
}
.hsk-brands__dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 10px;
    display: flex;
    justify-content: center;
    gap: 6px;
    z-index: 3;
}
.hsk-brands__dots button {
    width: 8px !important;
    height: 8px !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    border-radius: 50% !important;
    background: rgba(255,255,255,.6) !important;
    cursor: pointer;
    transition: background .2s, width .2s;
}
.hsk-brands__dots button.is-active {
    background: var(--hsk-primary) !important;
    width: 18px !important;
    border-radius: 4px !important;
}

/* Right: 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 * 3) / 4);
    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: block;
    border: 1px solid var(--hsk-border-light);
    border-radius: var(--hsk-radius);
    overflow: hidden;
    background: var(--hsk-bg-white);
    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__img {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
}
.hsk-brand-card__img > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.hsk-brand-card__logo {
    position: absolute;
    left: 50%;
    bottom: 8px;
    transform: translateX(-50%);
    background: #fff;
    border-radius: 6px;
    padding: 3px 8px;
    box-shadow: 0 1px 4px rgba(0,0,0,.12);
    max-width: 80%;
}
.hsk-brand-card__logo img {
    display: block;
    max-height: 28px;
    width: auto;
    margin: 0 auto;
}
.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: 849px) {
    .hsk-brands__track { grid-auto-columns: calc((100% - 12px * 2) / 2.5); }
    .hsk-brands__banner { margin-bottom: 12px; }
}

/* ─── 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: 40px; }
.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 */
.hsk-single-product .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:wrap; font-size:14px; color:#777; min-height:40px; padding:5px 0; }
.hsk-breadcrumbs__nav a { color:#777; text-decoration:none; cursor:pointer; }
.hsk-breadcrumbs__nav a:last-child { color:var(--hsk-text); }
.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:16px; }
.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; }

/* 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:flex-end; gap:12px; flex-wrap:wrap; padding:4px 0; }
.hsk-pd__price-now { font-size:30px; font-weight:700; color:var(--hsk-red); line-height:1; }
.hsk-pd__price-was { font-size:16px; color:#999; text-decoration:line-through; margin-bottom:2px; }
.hsk-pd__discount-tag { font-size:12px; font-weight:700; color:#fff; background:var(--hsk-red); padding:3px 8px; border-radius:4px; margin-bottom:2px; }

/* 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__pill { padding:6px 16px; border:1px solid #e0e0e0; border-radius:8px; font-size:13px; color:var(--hsk-text); cursor:pointer; transition:all .2s; background:#fff; }
.hsk-pd__pill:hover { border-color:var(--hsk-primary); }
.hsk-pd__pill.is-selected { border-color:var(--hsk-primary); background:var(--hsk-green-light); color:var(--hsk-primary); font-weight:600; }

/* Buy section */
.hsk-pd__buy-section { }
.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(50,110,81,.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:12px;
    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; }

/* 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; gap:30px; padding:20px; background:#fafafa; border-radius:12px; margin-bottom:20px; }
.hsk-pd__review-left { display:flex; flex-direction:column; align-items:center; gap:6px; min-width:100px; }
.hsk-pd__review-big { font-size:40px; font-weight:700; color:var(--hsk-orange); line-height:1; }
.hsk-pd__review-big span { font-size:18px; color:#999; font-weight:400; }
.hsk-pd__review-total-txt { font-size:12px; color:#999; }
.hsk-pd__review-bars { flex:1; display:flex; flex-direction:column; gap:6px; justify-content:center; }
.hsk-pd__bar-row { display:flex; align-items:center; gap:8px; }
.hsk-pd__bar-label { font-size:12px; color:#666; display:flex; align-items:center; gap:2px; min-width:32px; }
.hsk-pd__bar-track { flex:1; height:8px; background:#eee; border-radius:4px; overflow:hidden; }
.hsk-pd__bar-fill { height:100%; background:var(--hsk-orange); border-radius:4px; transition:width .4s ease; }
.hsk-pd__bar-count { font-size:12px; color:#999; min-width:20px; text-align:right; }

/* WC review form overrides */
.hsk-pd__section .comment-respond { margin-top:20px; padding:16px; background:#fafafa; border-radius:12px; }
.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:8px 12px; }
.hsk-pd__section .form-submit input[type="submit"] { background:var(--hsk-primary)!important; color:#fff!important; border:none!important; border-radius:10px!important; padding:10px 24px!important; font-family:var(--hsk-font); font-weight:600; cursor:pointer; }

/* ═══ 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; padding:24px 0 0;
    background:#fff; border-radius:20px;
    box-shadow:0 4px 16px rgba(20,25,26,.08);
}
.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); }

/* ═══ RESPONSIVE ═══ */
@media (max-width:992px) {
    .hsk-pd__layout { flex-direction:column; }
    .hsk-pd__sidebar { width:100%; position:static; flex-direction:row; }

    .hsk-pd__sidebar-box { flex:1; }
    .hsk-pd__top { flex-direction:column; }
    .hsk-pd__gallery { width:100%; }
    .hsk-pd__title { font-size:18px; }
    .hsk-pd__price-now { font-size:24px; }
    .hsk-pd__related-grid { grid-template-columns:repeat(3,1fr); }
}
@media (max-width:768px) {
    .hsk-pd__card { border-radius:12px; }
    .hsk-pd__top { padding:14px; }
    .hsk-pd__gallery-inner { flex-direction:column-reverse; }
    .hsk-pd__thumbs { flex-direction:row; width:100%; max-height:none; overflow-x:auto; overflow-y:hidden; }
    .hsk-pd__thumb { width:44px; height:44px; }
    .hsk-pd__usp-bar { flex-direction:column; }
    .hsk-pd__sidebar { flex-direction:column; }
    .hsk-pd__related-grid { grid-template-columns:repeat(2,1fr); }
    .hsk-pd__tab-btn { padding:10px 14px; font-size:13px; }
    .hsk-pd__review-summary { flex-direction:column; gap:16px; }
}

/* ═══ 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, #326e51, #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: 1370px;
    margin: 0 auto;
    padding: 0 15px 40px;
    font-family: var(--hsk-font);
}

/* ─── BREADCRUMBS (reuse) ─── */
.hsk-cat .hsk-breadcrumbs { margin-bottom: 12px; }

/* ─── LAYOUT ─── */
.hsk-cat__layout {
    display: flex;
    gap: 0;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(20,25,26,.08);
    overflow: hidden;
    min-height: 600px;
}

/* ─── SIDEBAR ─── */
.hsk-cat__sidebar {
    width: 220px;
    flex-shrink: 0;
    border-right: 1px solid #f0f0f0;
    padding: 15px 0 0;
    align-self: stretch;
}

/* ─── WIDGET AREA (Shop Sidebar) ─── */
.hsk-cat__widgets {
    padding: 0 16px;
}

/* 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;
}

/* 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 20px 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__layout {
        flex-direction: column;
    }
    .hsk-cat__sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #f0f0f0;
        position: static;
        max-height: none;
        padding: 12px 0;
    }
    .hsk-cat__widgets {
        display: flex;
        flex-wrap: wrap;
        gap: 0 24px;
    }
    .hsk-cat__widgets .widget {
        flex: 1 1 160px;
        min-width: 160px;
        border-bottom: none;
        padding-bottom: 8px;
        margin-bottom: 8px;
    }
    .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;
}
/* Light text + dividers so links stay readable on dark green */
#main-menu .nav-sidebar > li > a,
#main-menu .nav-sidebar .menu-item > a {
    color: #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;
}


