/*
Theme Name: Terroir Viet
Theme URI: https://terroirviet.angem.vn
Description: Premium candle brand child theme
Author: An Gem Group
Template: twentytwentyfive
Version: 1.0.0
Text Domain: terroirviet
*/
:root{--tv-gold:#CA8A04;--tv-primary:#1C1917;--tv-bg:#FAFAF9;--tv-border:#E7E5E4}
body{font-family:'Inter',sans-serif!important;background:var(--tv-bg)!important}
h1,h2,h3,h4,h5,h6,.product_title{font-family:'Playfair Display',serif!important;color:var(--tv-primary)!important}
a{color:var(--tv-gold);text-decoration:none}
.wp-element-button,.woocommerce a.button,.woocommerce button.button{background:var(--tv-gold)!important;color:#fff!important;border:none!important;border-radius:8px!important;padding:12px 28px!important;font-weight:600!important;text-transform:uppercase;letter-spacing:.06em}


/* Active menu item underline */
.wp-block-navigation-item.current-menu-item > .wp-block-navigation-item__content,
.wp-block-navigation .current-menu-item > a,
.wp-block-navigation-item.current-menu-item > a {
  border-bottom: 1.5px solid currentColor !important;
  padding-bottom: 2px !important;
}

/* Hide cart drawer WooCommerce default text */
.wc-block-mini-cart__empty-cart-wrapper .wp-block-heading,
.wc-block-components-order-meta,
p.wc-block-mini-cart__empty-cart-wrapper {
  display: none !important;
}


/* Active menu item underline */
.wp-block-navigation-item.current-menu-item > .wp-block-navigation-item__content { border-bottom:1.5px solid currentColor!important; padding-bottom:2px!important; }
.wp-block-navigation .current-menu-item > a { border-bottom:1.5px solid currentColor!important; padding-bottom:2px!important; }

/* Active menu item underline */
.wp-block-navigation-item.current-menu-item > .wp-block-navigation-item__content { border-bottom:1.5px solid currentColor!important; padding-bottom:2px!important; }
.wp-block-navigation .current-menu-item > a { border-bottom:1.5px solid currentColor!important; padding-bottom:2px!important; }

/* === HERO OVERLAY HEADER === */
.tv-page{margin-top:0!important}
.tv-hero{margin-top:-86px!important;position:relative!important;z-index:1!important}
.tv-hero-overlay{padding-top:110px!important}
.tv-hero-bg{position:absolute!important;top:0!important;left:0!important;width:100%!important;height:100%!important;object-fit:cover!important;z-index:0!important}


/* ===== Terroir Viet Custom CSS ===== */

/* Active nav item highlight */
.wp-block-navigation-item.current-menu-item > a,
.wp-block-navigation-item.current_page_item > a {
  color: #C95F70 !important;
  font-weight: 600;
  border-bottom: 2px solid #C95F70;
  padding-bottom: 1px;
}

/* Smooth scroll behaviour */
html { scroll-behavior: smooth; }

/* Product card transition on Dòng Vùng emotion section */
.tv-emotion-card { cursor: pointer; }

/* Hide duplicate page title on pages with custom hero H1 */
.page-id-158 .entry-title,
.page-id-135 .wp-block-post-title { display: none; }

/* Hero heading fix - override Customizer CSS */
body.home .tv-hero-overlay .tv-hero-text,
body.page-id-17 .tv-hero-overlay .tv-hero-text {
  padding: 110px 0 60px !important;
}
/* Desktop: tighten hero text width */
@media(min-width:769px){
  body.home .tv-hero-text h1,
  body.page-id-17 .tv-hero-text h1 {
    font-size: clamp(42px,4.5vw,58px) !important;
  }
}
