/**
 * Yêu Hàng Ngoại — Premium Visual System 3.9.51.2
 * Visual layer only. No template, SEO, schema or commerce behavior changes.
 */

:root{
  --yhn-brand:#d4146f;
  --yhn-brand-dark:#a81258;
  --yhn-brand-soft:#fff4f8;
  --yhn-ink:#221c1f;
  --yhn-muted:#71686d;
  --yhn-line:#ebe5e7;
  --yhn-paper:#fff;
  --yhn-warm:#faf8f7;
  --yhn-gold:#b48a54;
  --yhn-radius:12px;
  --yhn-shadow:0 12px 34px rgba(50,35,42,.07);
}

body{
  color:var(--yhn-ink);
  background:#fff;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}

body :where(h1,h2,h3,h4){letter-spacing:-.025em}
body :where(p,li){text-wrap:pretty}

/* Header: preserve the signature pink navigation and reduce visual noise. */
.header-main{border-bottom:1px solid rgba(45,28,36,.055)}
.header-bottom{box-shadow:none!important}
.header-bottom-nav>li>a{letter-spacing:.01em}
.header-bottom-nav>li>a:hover{opacity:.82}
.header-search-form .search-field,
.dgwt-wcas-sf-wrapp input[type=search].dgwt-wcas-search-input{
  border-color:#e8e1e4!important;
  box-shadow:none!important;
}
.nav-dropdown{
  border-color:#ece5e8!important;
  box-shadow:0 18px 48px rgba(43,27,35,.12)!important;
}

/* Shared section rhythm and restrained heading accents. */
.yhn-home-premium .yhn-home-section__heading h2,
.yhn-home-premium .yhn-home-reasons h2,
.shop-page-title .page-title-inner h1,
.archive .page-title h1{
  position:relative;
  color:var(--yhn-ink)!important;
}
.yhn-home-premium .yhn-home-section__heading h2:after,
.yhn-home-premium .yhn-home-reasons h2:after{
  content:"";
  display:block;
  width:34px;
  height:2px;
  margin-top:9px;
  background:var(--yhn-brand);
}
.yhn-home-premium .yhn-home-section__heading{
  align-items:flex-end!important;
  margin-bottom:22px!important;
}
.yhn-home-premium .yhn-home-section__heading>a{
  color:#5d5358!important;
  font-weight:600!important;
}

/* Homepage: editorial pacing instead of repeated template blocks. */
.yhn-home-premium{--yhn-rose:var(--yhn-brand);background:#fff!important}
.yhn-home-premium .yhn-home-shell{max-width:1240px}
.yhn-home-premium .yhn-home-hero{
  border-bottom:1px solid #f0e7e9;
  box-shadow:none!important;
}
.yhn-home-premium .yhn-home-hero__copy{max-width:540px}
.yhn-home-premium .yhn-home-hero h1{
  color:#211a1d!important;
  font-family:Georgia,"Times New Roman",serif!important;
  font-weight:500!important;
  letter-spacing:-.045em!important;
}
.yhn-home-premium .yhn-home-eyebrow{
  color:#7b5c45!important;
  letter-spacing:.2em!important;
}
.yhn-home-premium .yhn-home-categories,
.yhn-home-premium .yhn-home-bestsellers,
.yhn-home-premium .yhn-home-new,
.yhn-home-premium .yhn-home-brands,
.yhn-home-premium .yhn-home-news,
.yhn-home-premium .yhn-home-reasons{padding-top:46px;padding-bottom:46px}
.yhn-home-premium .yhn-home-new,
.yhn-home-premium .yhn-home-news{background:var(--yhn-warm)}
.yhn-home-premium .yhn-home-category-card,
.yhn-home-premium .yhn-home-product-card,
.yhn-home-premium .yhn-home-news-card{
  border-color:var(--yhn-line)!important;
  border-radius:var(--yhn-radius)!important;
  box-shadow:none!important;
}
.yhn-home-premium .yhn-home-category-card,
.yhn-home-premium .yhn-home-product-card{transition:transform .22s ease,border-color .22s ease,box-shadow .22s ease}
.yhn-home-premium .yhn-home-category-card:hover,
.yhn-home-premium .yhn-home-product-card:hover{
  transform:translateY(-3px);
  border-color:#dfd1d6!important;
  box-shadow:var(--yhn-shadow)!important;
}
.yhn-home-premium .yhn-home-product-card__image{background:#fcfbfb!important}
.yhn-home-premium .yhn-home-product-card__badge{
  border-radius:4px!important;
  box-shadow:none!important;
  letter-spacing:.035em;
}
.yhn-home-premium .yhn-home-brand-grid{
  border:1px solid var(--yhn-line);
  border-radius:var(--yhn-radius);
  overflow:hidden;
}
.yhn-home-premium .yhn-home-brand-grid a{
  border-color:var(--yhn-line)!important;
  min-height:82px;
  background:#fff;
}

/* Product/category archives: keep sidebar, clarify the catalog hierarchy. */
.post-type-archive-product .shop-container,
.tax-product_cat .shop-container,
.tax-product_tag .shop-container{padding-top:24px}
.post-type-archive-product .widget,
.tax-product_cat .widget,
.tax-product_tag .widget,
.single-product .product-sidebar .widget{
  border-color:var(--yhn-line)!important;
  border-radius:10px!important;
  box-shadow:none!important;
}
.post-type-archive-product .widget-title,
.tax-product_cat .widget-title,
.tax-product_tag .widget-title,
.single-product .product-sidebar .widget-title{
  color:var(--yhn-ink);
  letter-spacing:.01em;
}
.products .product-small .box{
  border:1px solid var(--yhn-line)!important;
  border-radius:var(--yhn-radius)!important;
  background:#fff;
  box-shadow:none!important;
  transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease;
}
.products .product-small .box:hover{
  transform:translateY(-3px);
  border-color:#dfd2d7!important;
  box-shadow:var(--yhn-shadow)!important;
}
.products .product-small .box-image{background:#fbfafa}
.products .product-small .box-text{padding:14px 14px 16px!important}
.products .product-small .product-title{line-height:1.48;min-height:2.96em}
.products .product-small .price{margin-top:7px}
.products .product-small .badge-container{margin:10px 0 0 10px}
.products .product-small .badge-inner{border-radius:4px!important;box-shadow:none!important}
.custom-tax-description{
  max-width:820px;
  margin:44px auto 34px!important;
  padding:32px 38px!important;
  border-color:var(--yhn-line)!important;
  border-radius:var(--yhn-radius)!important;
  box-shadow:none!important;
  color:#554d51;
}
.custom-tax-description h2{font-family:Georgia,"Times New Roman",serif;font-weight:500!important;color:var(--yhn-ink)}

/* Product detail: one clear commerce column, fewer competing boxes. */
.single-product #main{background:#fff}
.single-product .product-main{padding-top:22px}
.single-product .product-gallery,
.single-product .product-info{
  border-color:var(--yhn-line)!important;
  box-shadow:none!important;
}
.single-product .product-info{padding:28px 30px!important}
.single-product .product-info h1{
  color:var(--yhn-ink)!important;
  font-size:28px!important;
  line-height:1.3!important;
  font-weight:650!important;
}
.single-product .product-info .price{
  color:var(--yhn-brand)!important;
  font-size:27px!important;
  letter-spacing:-.03em;
}
.single-product .variations,
.single-product form.cart,
.single-product .product-short-description{border-color:var(--yhn-line)!important}
.single-product .single_add_to_cart_button{
  min-height:48px;
  border-radius:7px!important;
  font-weight:750!important;
  letter-spacing:.025em;
  box-shadow:none!important;
}
.single-product .yhn-offer-box,
.single-product .yhn-commitment-box,
.single-product .yhn-product-benefits,
.single-product .yhn-product-trust{
  border-color:#eadfe3!important;
  background:#fffafb!important;
  box-shadow:none!important;
}
.single-product .woocommerce-tabs,
.single-product .product-footer .woocommerce-tabs{
  border:1px solid var(--yhn-line)!important;
  border-radius:var(--yhn-radius)!important;
  box-shadow:none!important;
  overflow:hidden;
}
.single-product .woocommerce-tabs .panel{max-width:790px;margin-left:auto!important;margin-right:auto!important;padding:38px 34px!important}
.single-product .woocommerce-tabs .panel :where(p,li){font-size:15.5px;line-height:1.82;color:#4f484b}
.single-product .woocommerce-tabs .panel h2,
.single-product .woocommerce-tabs .panel h3{
  font-family:Georgia,"Times New Roman",serif;
  font-weight:500;
  color:var(--yhn-ink);
}
.single-product .related-products-wrapper{margin-top:48px}

/* Brand landing: retain actual brand identity, align chrome with YHN. */
.yhn-bl{
  --bl-blue:var(--yhn-brand);
  --bl-blue2:var(--yhn-brand-soft);
  --bl-ink:var(--yhn-ink);
  --bl-line:var(--yhn-line);
  --bl-soft:var(--yhn-warm);
}
.yhn-bl-hero,
.yhn-bl-story,
.yhn-bl-collection,
.yhn-bl-need{border-radius:var(--yhn-radius)!important;box-shadow:none!important}
.yhn-bl-hero{
  background:radial-gradient(circle at 84% 14%,rgba(212,20,111,.08),transparent 23%),linear-gradient(118deg,#fff 0,#fdf9fa 52%,#f7f1f3 100%)!important;
}
.yhn-bl-hero h1,
.yhn-bl-story h2{font-weight:500!important}
.yhn-bl-hero-identity,
.yhn-bl-story-art{background:linear-gradient(145deg,#faf7f8,#f3edef)!important}
.yhn-bl-identity-mountain--back{background:rgba(180,138,84,.09)!important}
.yhn-bl-identity-mountain--front{background:rgba(212,20,111,.055)!important}
.yhn-bl-product-grid .yhn-pc-card{border-radius:var(--yhn-radius)!important}

/* A–Z directory: reduce the generated-card feeling while retaining filters. */
.yhn-bd{--bd-blue:var(--yhn-brand);--bd-line:var(--yhn-line);--bd-ink:var(--yhn-ink)}
.yhn-bd-hero,
.yhn-bd-featured-card,
.yhn-bd-cta{border-radius:var(--yhn-radius)!important;box-shadow:none!important}
.yhn-bd-list-card{
  border:0!important;
  border-bottom:1px solid var(--yhn-line)!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
.yhn-bd-list-card:hover{background:var(--yhn-brand-soft)!important;transform:none!important}
.yhn-bd-tools{border-color:var(--yhn-line)!important;box-shadow:none!important}

/* Editorial/blog detail: calm reading measure and human editorial rhythm. */
.single-post .article-inner{
  border:0!important;
  box-shadow:none!important;
  background:#fff;
}
.single-post .entry-header,
.single-post .entry-content,
.single-post .entry-footer{max-width:790px;margin-left:auto;margin-right:auto}
.single-post .entry-header{padding-top:18px;text-align:left}
.single-post .entry-title{
  font-family:Georgia,"Times New Roman",serif!important;
  font-size:clamp(32px,4vw,48px)!important;
  line-height:1.14!important;
  font-weight:500!important;
  color:var(--yhn-ink)!important;
}
.single-post .entry-divider{margin-left:0;background:var(--yhn-brand);width:40px}
.single-post .entry-content{font-size:16px;line-height:1.86;color:#494145}
.single-post .entry-content :where(h2,h3){font-family:Georgia,"Times New Roman",serif;font-weight:500;color:var(--yhn-ink);margin-top:1.7em}
.single-post .entry-content h2{font-size:29px}
.single-post .entry-content h3{font-size:23px}
.single-post .entry-content img{border-radius:8px;box-shadow:none}
.single-post .entry-content blockquote{
  margin:28px 0;
  padding:18px 24px;
  border-left:2px solid var(--yhn-gold);
  background:var(--yhn-warm);
  color:#50464b;
  font-family:Georgia,"Times New Roman",serif;
}

/* Footer: quieter separation; classic structure remains untouched. */
.footer-2{border-top:1px solid rgba(255,255,255,.08)}
.absolute-footer{border-top:1px solid rgba(255,255,255,.09)}

@media (max-width:849px){
  .yhn-home-premium .yhn-home-categories,
  .yhn-home-premium .yhn-home-bestsellers,
  .yhn-home-premium .yhn-home-new,
  .yhn-home-premium .yhn-home-brands,
  .yhn-home-premium .yhn-home-news,
  .yhn-home-premium .yhn-home-reasons{padding-top:32px;padding-bottom:32px}
  .single-product .product-info{padding:20px 18px!important}
  .single-product .product-info h1{font-size:23px!important}
  .single-product .woocommerce-tabs .panel{padding:28px 20px!important}
  .custom-tax-description{padding:25px 22px!important}
}

@media (max-width:549px){
  :root{--yhn-radius:10px}
  .yhn-home-premium .yhn-home-section__heading{margin-bottom:17px!important}
  .yhn-home-premium .yhn-home-section__heading h2,
  .yhn-home-premium .yhn-home-reasons h2{font-size:20px!important;line-height:1.25!important}
  .yhn-home-premium .yhn-home-category-card:hover,
  .yhn-home-premium .yhn-home-product-card:hover,
  .products .product-small .box:hover{transform:none;box-shadow:none!important}
  .products .product-small .box-text{padding:11px 10px 13px!important}
  .single-post .entry-title{font-size:31px!important}
  .single-post .entry-content{font-size:15.5px;line-height:1.8}
  .single-post .entry-content h2{font-size:25px}
  .single-post .entry-content h3{font-size:21px}
}

@media (prefers-reduced-motion:reduce){
  .yhn-home-premium *,
  .products .product-small .box{scroll-behavior:auto!important;transition:none!important;animation:none!important}
}
