﻿/* ==========================================================================
   HavyFashion - Affiliate theme
   Dong bo 1-1 voi pencil-export.html (1440px canvas)
   Header 64 | SubNav 36 | Hero 520 | Banner2 164 | Row tiles 522 | Card Im 367
   ========================================================================== */

:root {
  --hv-black: #000000;
  --hv-white: #ffffff;
  --hv-gray: #747676;
  --hv-gray-light: #9A9A9A;
  --hv-line: #E1E1E1;
  --hv-bg-soft: #f7f7f5;
  --hv-amz: #FFD814;
  --hv-header-h: 64px;
  --hv-radius: 0px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: var(--hv-black);
  background: var(--hv-white);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input { font-family: inherit; font-size: inherit; }

.hv-wrap {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding-left: 32px;
  padding-right: 32px;
}

/* Spacer theo thiet ke */
.hv-sp30 { height: 30px; background: var(--hv-white); }
.hv-sp24 { height: 24px; background: var(--hv-white); }

/* Header - 64px p 0 20px justify-between */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--hv-white);
}
.site-header__inner {
  height: var(--hv-header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 20px;
  max-width: 1440px;
  margin: 0 auto;
}
.site-logo { display:flex; align-items:center; }
.site-logo a {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: 4px;
  color: var(--hv-black);
  white-space: nowrap;
}
.site-logo img { max-height: 40px; width: auto; }
.site-search {
  width: 230px;
  height: 36px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  background: var(--hv-white);
  outline: 1px solid var(--hv-line);
  outline-offset: -0.5px;
}
.site-search svg { flex: 0 0 auto; opacity: .7; }
.site-search input[type="search"] {
  flex: 1; min-width: 0; border: none; outline: none; background: transparent;
  font-size: 12px; color: var(--hv-black);
}
.site-search input::placeholder { color: var(--hv-gray-light); }
.hv-header-line { height: 1px; background: var(--hv-line); }


/* Header nav - giua logo va search */
.site-header__nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 0 auto;
}
.site-header__link {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--hv-black);
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.site-header__link:hover,
.site-header__link.is-active {
  border-bottom-color: var(--hv-black);
}

/* Hero - 520px centered */
.hv-hero {
  position: relative;
  height: 520px;
  overflow: hidden;
  background: #1a1a1a;
  background-size: cover;
  background-position: center;
}
.hv-hero__scrim {
  position: absolute;
  inset: 0;
  background: #000000;
  opacity: 0.30;
  z-index: 0;
}
.hv-hero__content {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--hv-white);
  padding: 0 24px;
}
.hv-hero__title {
  margin: 0;
  font-size: 52px;
  font-weight: 800;
  letter-spacing: 2px;
  line-height: 1;
  text-transform: uppercase;
  color: var(--hv-white);
}
.hv-hero__sub {
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.3px;
  color: var(--hv-white);
}
.hv-hero__cta {
  display: inline-flex;
  align-items: flex-start;
  justify-content: center;
  padding: 0 0 4px 0;
  border-bottom: 2px solid var(--hv-white);
  margin-top: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--hv-white);
}
.hv-hero__cta:hover { opacity: .9; }
.hv-hero__aff {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.6px;
  color: var(--hv-white);
  opacity: 0.95;
}
.hv-hero__eyebrow { display:none; }

/* Banner2 - 164px centered */
.hv-banner {
  position: relative;
  height: 164px;
  overflow: hidden;
  background: #1a1a1a;
  background-size: cover;
  background-position: center;
}
.hv-banner__scrim {
  position: absolute;
  inset: 0;
  background: #000000;
  opacity: 0.35;
  z-index: 0;
}
.hv-banner__content {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--hv-white);
  padding: 0 24px;
}
.hv-banner__title {
  margin: 0;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  line-height: 1;
}
.hv-banner__sub {
  margin: 0;
  font-size: 12px;
  font-weight: 400;
  color: var(--hv-white);
  max-width: 476px;
}
.hv-banner__cta {
  display: inline-flex;
  padding: 0 0 4px 0;
  border-bottom: 2px solid var(--hv-white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--hv-white);
  margin-top: 4px;
}

/* Shop Hero - ảnh đầu trang danh mục sản phẩm */
.hv-shop-hero {
  height: 360px;
  background-size: cover;
  background-position: center;
  background-color: #1a1a1a;
}
@media (max-width: 767px) {
  .hv-shop-hero { height: 220px; }
}
/* Shop hero placeholder — chi hien trong Customizer preview khi chua co anh */

#hv-shop-hero-wrap { min-height: 1px; }
#hv-shop-hero-wrap:empty { display: none; }
body.customize-partial-edit-shortcuts-shown #hv-shop-hero-wrap:empty { display: block; min-height: 40px; }
.hv-shop-hero--empty {
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  text-align: center;
  color: #9a9a9a;
  font-size: 13px;
  letter-spacing: .5px;
}

/* Category Rows - 2 hang x 4 tiles, moi tile 522px gap 6px p 0 6px */
.hv-cat-row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0 6px;
  background: var(--hv-white);
}
.hv-cat-tile {
  flex: 1 1 0;
  aspect-ratio: 2 / 3;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-color: #222;
  display: flex;
  align-items: stretch;
}
.hv-cat-tile__overlay {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 140px;
  background: linear-gradient(0deg, rgba(0,0,0,0.10) 0%, rgba(0,0,0,0.33) 40%, rgba(0,0,0,0.72) 100%);
  color: var(--hv-white);
  text-align: center;
  padding: 24px;
}
.hv-cat-tile__ttl {
  font-size: 21px;
  line-height: 22px;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  filter: drop-shadow(0px 2px 4px rgba(0,0,0,0.60));
  white-space: pre-line;
}
.hv-cat-tile:hover .hv-cat-tile__overlay { background: linear-gradient(0deg, rgba(0,0,0,0.14) 0%, rgba(0,0,0,0.40) 40%, rgba(0,0,0,0.78) 100%); }

/* BestHead */
.hv-besthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  background: var(--hv-white);
}
.hv-besthead__t {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--hv-black);
}
.hv-besthead__a {
  font-size: 11px;
  font-weight: 400;
  color: var(--hv-gray);
  letter-spacing: 0.2px;
}
.hv-besthead__a:hover { text-decoration: underline; }

/* Shelf - padding 14px 12px gap 10px */
.hv-shelf { background: var(--hv-white); padding: 0; }
.hv-shelf__inner {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 10px;
  padding: 14px 12px;
}
.hv-shelf__head { display:none; }
.hv-shelf--with-head .hv-shelf__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 14px 20px 0;
}
.hv-shelf__title { margin:0; font-size:20px; font-weight:800; letter-spacing:3px; text-transform:uppercase; }
.hv-shelf__more { font-size:12px; font-weight:600; letter-spacing:1.5px; text-transform:uppercase; border-bottom:1px solid transparent; }
.hv-shelf__more:hover { border-bottom-color: var(--hv-black); }

.hv-grid { display:grid; gap:20px; }
.hv-grid--5 { grid-template-columns: repeat(5, 1fr); }
.hv-grid--4 { grid-template-columns: repeat(4, 1fr); }
.hv-grid--3 { grid-template-columns: repeat(3, 1fr); }

/* Card - outline 1px #E1E1E1, Im 367px, Bd p10 gap4 */
.hv-card {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  background: var(--hv-white);
  outline: 1px solid var(--hv-line);
  outline-offset: -0.5px;
  min-width: 0;
}
.hv-card__media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: var(--hv-bg-soft);
  background-size: cover;
  background-position: center;
}
.hv-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}
.hv-card:hover .hv-card__media img { transform: scale(1.03); }
.hv-card__ph { position:absolute; inset:0; display:flex; align-items:center; justify-content:center; color:var(--hv-gray-light); font-size:12px; letter-spacing:1px; }
.hv-card__badge {
  position: absolute; top:10px; left:10px;
  padding: 3px 8px;
  background: var(--hv-black);
  color: var(--hv-white);
  font-size: 10px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  z-index: 2;
}
.hv-card__badge--sale { background:#b3261e; }
.hv-card__body {
  padding: 14px 12px 12px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  flex: 1;
}
.hv-card__brand {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--hv-gray);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hv-card__title {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--hv-black);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hv-card__title a:hover { text-decoration: underline; }
.hv-card__price { display:flex; align-items:center; gap:8px; }
.hv-card__cta { margin-top: 4px; }
.hv-card__note {
  margin: 2px 0 0;
  font-size: 11px;
  line-height: 1.45;
  color: var(--hv-gray-light);
  letter-spacing: 0.2px;
}
.hv-amz-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 11px 0;
  background: var(--hv-amz);
  color: var(--hv-black);
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.3px;
  text-align: center;
  border: none;
}
.hv-amz-btn:hover { filter: brightness(0.97); }
.hv-amz { display:none; }

.hv-price-now { font-size: 16px; font-weight: 800; color: var(--hv-black); }
.hv-price-old { font-size: 12.5px; color: var(--hv-gray-light); text-decoration: line-through; }
.hv-price--lg .hv-price-now { font-size: 26px; }
.hv-price--lg .hv-price-old { font-size: 16px; }

.hv-btn {
  display:inline-flex; align-items:center; justify-content:center;
  height:44px; padding:0 28px;
  font-size:13px; font-weight:700; letter-spacing:2px; text-transform:uppercase;
  border:1px solid var(--hv-black); background:var(--hv-black); color:var(--hv-white);
  cursor:pointer; transition: background .15s ease, color .15s ease; white-space:nowrap;
}
.hv-btn:hover { background:var(--hv-white); color:var(--hv-black); }
.hv-btn--light { background:var(--hv-white); color:var(--hv-black); border-color:var(--hv-white); }
.hv-btn--light:hover { background:transparent; color:var(--hv-white); }

.hv-archive { padding: 40px 0 60px; }
.hv-archive__head { margin-bottom: 28px; }
.hv-archive__title { margin:0; font-size:28px; font-weight:800; letter-spacing:4px; text-transform:uppercase; }
.hv-archive__count { margin-top:6px; font-size:13px; color:var(--hv-gray); }
.hv-empty { padding:80px 0; text-align:center; color:var(--hv-gray); }
.hv-empty h2 { font-size:20px; font-weight:700; letter-spacing:2px; text-transform:uppercase; color:var(--hv-black); }
.hv-pagination { margin-top:48px; text-align:center; }
.hv-pagination .page-numbers { display:inline-block; min-width:38px; height:38px; line-height:36px; padding:0 10px; margin:0 3px; border:1px solid var(--hv-line); font-size:13px; font-weight:600; }
.hv-pagination .page-numbers.current { background:var(--hv-black); color:var(--hv-white); border-color:var(--hv-black); }
.hv-pagination a.page-numbers:hover { border-color:var(--hv-black); }
.site-footer { margin-top:0; background:#111111; color:#cfcfcf; }
.site-footer__disclosure { padding:18px 0; border-bottom:1px solid #2a2a2a; font-size:12px; text-align:center; color:#9a9a9a; }
.site-footer__main { display:grid; grid-template-columns:2fr 1fr; gap:40px; padding:48px 0; }
.site-footer__logo { font-size:22px; font-weight:800; letter-spacing:4px; color:var(--hv-white); }
.site-footer__tag { margin-top:12px; font-size:13px; color:#9a9a9a; max-width:380px; }
.site-footer h4 { margin:0 0 14px; font-size:12px; font-weight:700; letter-spacing:2px; text-transform:uppercase; color:var(--hv-white); }
.site-footer__menu li { margin-bottom:8px; }
.site-footer__menu a { font-size:13px; }
.site-footer__menu a:hover { color:var(--hv-white); text-decoration:underline; }
.site-footer__bottom { padding:18px 0; border-top:1px solid #2a2a2a; font-size:12px; color:#777; display:flex; justify-content:space-between; align-items:center; gap:12px; flex-wrap:wrap; }
.hv-page { padding:48px 0 60px; max-width:860px; margin:0 auto; }
.hv-page__title { font-size:32px; font-weight:800; letter-spacing:2px; text-transform:uppercase; margin:0 0 24px; }
.hv-entry { font-size:15px; line-height:1.7; color:#222; }
.hv-entry p { margin:0 0 16px; }
.hv-entry a { text-decoration:underline; }
.hv-single { padding:36px 0 24px; }
.hv-breadcrumb { font-size:12px; color:var(--hv-gray); letter-spacing:.5px; margin-bottom:20px; }
.hv-breadcrumb a:hover { text-decoration:underline; }
.hv-single__grid { display:grid; grid-template-columns:minmax(0,5fr) minmax(0,7fr); gap:48px; align-items:start; }
.hv-single__gallery { position:sticky; top:calc(var(--hv-header-h) + 24px); max-width:520px; }
.hv-gallery__main {
  position: relative;
  max-width: 480px;
  margin: 0 auto;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--hv-line);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}
.hv-gallery__main img {
  width: 100%;
  max-height: 600px;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  cursor: zoom-in;
  transition: transform 0.3s ease;
}
.hv-gallery__main:hover img {
  transform: scale(1.02);
}
.hv-gallery__zoom-btn {
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid var(--hv-line);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--hv-black);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  transition: background 0.2s ease, transform 0.2s ease, color 0.2s ease;
  z-index: 2;
  padding: 0;
}
.hv-gallery__zoom-btn:hover {
  background: var(--hv-black);
  color: #fff;
  transform: scale(1.08);
}
.hv-gallery__thumbs {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: thin;
}
.hv-gallery__thumb {
  flex: 0 0 68px;
  width: 68px;
  height: 68px;
  border: 1.5px solid var(--hv-line);
  border-radius: 6px;
  padding: 2px;
  overflow: hidden;
  cursor: pointer;
  background: var(--hv-white);
  opacity: 0.7;
  transition: border-color 0.2s, opacity 0.2s, transform 0.2s;
}
.hv-gallery__thumb:hover {
  opacity: 1;
}
.hv-gallery__thumb.is-active {
  border-color: var(--hv-black);
  opacity: 1;
  transform: translateY(-2px);
}
.hv-gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
  display: block;
}

/* Lightbox Modal */
body.hv-modal-open {
  overflow: hidden !important;
}
.hv-lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.hv-lightbox.is-open {
  opacity: 1;
  visibility: visible;
}
.hv-lightbox__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  cursor: zoom-out;
}
.hv-lightbox__container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px 20px;
  box-sizing: border-box;
  z-index: 2;
  user-select: none;
  pointer-events: none;
}
.hv-lightbox__close,
.hv-lightbox__counter,
.hv-lightbox__nav,
.hv-lightbox__stage {
  pointer-events: auto;
}
.hv-lightbox__stage {
  max-width: 90vw;
  max-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hv-lightbox__stage img {
  max-width: 90vw;
  max-height: 88vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.7);
  transition: transform 0.25s ease;
  transform: scale(0.96);
}
.hv-lightbox.is-open .hv-lightbox__stage img {
  transform: scale(1);
}
.hv-lightbox__close {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  color: #fff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s;
  z-index: 10;
  padding: 0;
}
.hv-lightbox__close:hover {
  background: rgba(255, 255, 255, 0.35);
  transform: scale(1.1);
}
.hv-lightbox__counter {
  position: absolute;
  top: 24px;
  left: 28px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 1px;
  background: rgba(0, 0, 0, 0.5);
  padding: 5px 14px;
  border-radius: 20px;
  z-index: 10;
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.hv-lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  color: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s;
  z-index: 10;
  padding: 0;
}
.hv-lightbox__nav:hover {
  background: rgba(255, 255, 255, 0.35);
  transform: translateY(-50%) scale(1.1);
}
.hv-lightbox__nav--prev {
  left: 24px;
}
.hv-lightbox__nav--next {
  right: 24px;
}
@media (max-width: 768px) {
  .hv-lightbox__nav {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }
  .hv-lightbox__nav--prev { left: 10px; }
  .hv-lightbox__nav--next { right: 10px; }
  .hv-lightbox__close {
    top: 14px;
    right: 14px;
    width: 38px;
    height: 38px;
    font-size: 20px;
  }
  .hv-lightbox__counter {
    top: 16px;
    left: 16px;
    font-size: 12px;
    padding: 4px 10px;
  }
  .hv-lightbox__stage img {
    max-width: 94vw;
    max-height: 82vh;
  }
}
.hv-single__brand { font-size:12px; font-weight:600; letter-spacing:2px; text-transform:uppercase; color:var(--hv-gray); }
.hv-single__title { margin:8px 0 12px; font-size:30px; font-weight:800; letter-spacing:1px; line-height:1.2; }
.hv-single__price { margin-bottom:20px; }
.hv-single__desc { margin:20px 0; padding-top:20px; border-top:1px solid var(--hv-line); font-size:14px; color:#333; }
.hv-single__desc p { margin:0 0 12px; }
.hv-aff-note { margin-top:12px; font-size:12px; color:var(--hv-gray); }
.hv-disclosure { margin-top:16px; padding:12px 14px; background:var(--hv-bg-soft); font-size:12px; color:var(--hv-gray); }
.hv-single__meta { margin-top:20px; padding-top:16px; border-top:1px solid var(--hv-line); font-size:12px; color:var(--hv-gray); }
.hv-single__meta a:hover { text-decoration:underline; }
.hv-single__full-desc { margin-top:48px; padding-top:36px; border-top:1px solid var(--hv-line); }
.hv-single__full-desc__title { margin:0 0 24px; font-size:20px; font-weight:800; letter-spacing:1.5px; text-transform:uppercase; color:var(--hv-black); }
.hv-single__full-desc__body { font-size:15px; line-height:1.75; color:#222; max-width:860px; }
.hv-single__full-desc__body p { margin:0 0 16px; }
.hv-single__full-desc__body ul, .hv-single__full-desc__body ol { margin:0 0 16px; padding-left:20px; list-style:disc; }
.hv-single__full-desc__body li { margin-bottom:6px; }
.hv-single__full-desc__body hr { border:none; border-top:1px solid var(--hv-line); margin:28px 0; }
.hv-single__full-desc__body h3 { margin:28px 0 14px; font-size:18px; font-weight:700; color:var(--hv-black); }
.hv-single__full-desc__body img { max-width:100%; height:auto; display:block; margin:20px auto; }
.hv-single__full-desc__body a { text-decoration:underline; }

@media (max-width: 1180px) {
  .hv-cat-tile { aspect-ratio: 2 / 3; }
  .hv-cat-tile__ttl { font-size: 18px; line-height: 20px; }
}
@media (max-width: 900px) {
  .hv-cat-row { flex-wrap: wrap; }
  .hv-cat-tile { flex: 1 1 calc(50% - 6px); aspect-ratio: 2 / 3; }
  .hv-shelf__inner { flex-wrap: wrap; }
  .hv-card { flex: 1 1 calc(33.333% - 10px); min-width: 160px; }
  .hv-single__grid { grid-template-columns:1fr; gap:28px; }
  .hv-single__gallery { position:static; }
  .site-footer__main { grid-template-columns:1fr 1fr; }
}
@media (max-width: 767px) {
  .site-search { display:none; }
      .hv-hero { height: 420px; }
  .hv-hero__title { font-size: 32px; letter-spacing:1.5px; }
  .hv-banner { height: 164px; }
  .hv-banner__title { font-size: 22px; }
  .hv-cat-tile { flex: 1 1 100%; aspect-ratio: 2 / 3; }
  .hv-besthead { flex-direction: column; align-items: flex-start; gap: 4px; }
}
@media (max-width: 600px) {
  .hv-wrap { padding-left:16px; padding-right:16px; }
  .hv-card { flex: 1 1 calc(50% - 10px); }
  .hv-card__media { aspect-ratio: 2 / 3; }
  .site-footer__main { grid-template-columns:1fr; padding:36px 0; }
}

/* Fix: shelf co it hon 5 sp - card khong gian toan bo hang */
.hv-shelf__inner .hv-card {
  flex: 0 0 calc((100% - 40px) / 5);
  max-width: calc((100% - 40px) / 5);
}
@media (max-width: 1180px) {
  .hv-shelf__inner .hv-card { flex: 0 0 calc((100% - 30px) / 4); max-width: calc((100% - 30px) / 4); }
}
@media (max-width: 900px) {
  .hv-shelf__inner .hv-card { flex: 0 0 calc((100% - 20px) / 3); max-width: calc((100% - 20px) / 3); }
}
@media (max-width: 600px) {
  .hv-shelf__inner .hv-card { flex: 0 0 calc((100% - 10px) / 2); max-width: calc((100% - 10px) / 2); }
}

/* --- Shop archive: Express.com (Shop All Women's Clothing + Sort By) --- */
.hv-shop { padding: 25px 0 40px; }
.hv-shop__header { padding: 19px 0 15px; }
.hv-shop__title { margin: 0 0 14px; font-size: 30px; line-height: 35px; font-weight: 600; letter-spacing: 0.5px; color: #000; }
.hv-cat-tabs { display: flex; align-items: center; gap: 44px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.hv-cat-tabs::-webkit-scrollbar { display: none; }
.hv-cat-tab { flex: 0 0 auto; padding: 7px 0; font-size: 14px; line-height: 20px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: #17171d; border-bottom: 2px solid transparent; white-space: nowrap; }
.hv-cat-tab.is-active { border-bottom-color: #17171d; }
.hv-cat-tab:hover { opacity: .85; }
.hv-toolbar { display: flex; align-items: stretch; height: 50px; border: 2px solid #d5d6d6; border-left: none; margin-top: 16px; }
.hv-toolbar__sort { flex: 1 1 0; display: flex; align-items: center; gap: 8px; padding: 2px 30px 2px 30px; border-right: 2px solid #d5d6d6; min-width: 0; }
.hv-toolbar__label { font-size: 14px; font-weight: 400; letter-spacing: .5px; color: #000; white-space: nowrap; }
.hv-toolbar__sort select { flex: 1 1 0; min-width: 0; height: 25px; border: none; background: #fff; font-size: 14px; font-weight: 400; color: #000; outline: none; cursor: pointer; appearance: auto; }
.hv-toolbar__filter { flex: 0 0 99px; display: flex; align-items: center; justify-content: center; background: #fff; border: none; border-left: 2px solid #d5d6d6; margin-left: -2px; font-size: 14px; font-weight: 600; letter-spacing: .5px; color: #000; cursor: pointer; }
.hv-toolbar__filter:hover { background: #f7f7f5; }
.hv-toolbar__count { text-align: right; padding-top: 10px; font-size: 14px; color: #5a5c5c; letter-spacing: .5px; }
.hv-shop__grid { margin-top: 18px; }
@media (max-width: 900px) {
  .hv-cat-tabs { gap: 24px; }
  .hv-toolbar { flex-wrap: wrap; height: auto; border-left: 2px solid #d5d6d6; }
  .hv-toolbar__sort { flex: 1 1 100%; border-right: none; border-bottom: 2px solid #d5d6d6; padding: 10px 12px; }
  .hv-toolbar__filter { flex: 1 1 auto; border-left: none; height: 46px; }
}

/* Product details expand (under Category in single) */
.hv-details { margin-top:16px; border-top:1px solid var(--hv-line); padding-top:12px; }
.hv-details__summary { list-style:none; cursor:pointer; font-size:14px; font-weight:700; color:var(--hv-black); display:flex; align-items:center; justify-content:space-between; gap:12px; user-select:none; }
.hv-details__summary::-webkit-details-marker { display:none; }
.hv-details__chev { width:10px; height:10px; flex:0 0 10px; border-right:2px solid var(--hv-black); border-bottom:2px solid var(--hv-black); transform:rotate(45deg); transition:transform .2s; margin-bottom:4px; }
.hv-details[open] .hv-details__chev { transform:rotate(-135deg); margin-bottom:-2px; }
.hv-details__body { margin-top:12px; }
.hv-details__row { display:grid; grid-template-columns:1fr 1fr; gap:8px; padding:8px 0; border-bottom:1px solid #f0f0f0; font-size:13px; line-height:1.5; }
.hv-details__row:last-child { border-bottom:none; }
.hv-details__key { color:var(--hv-gray); font-weight:500; }
.hv-details__val { color:var(--hv-black); }