/* Theme Name: brandingvn.com */

:root {
    --rvdt-primary: #6d1a24;
    --rvdt-primary-dark: #450b13;
    --rvdt-gold: #c89b5c;
    --rvdt-background: #f8f4ed;
    --rvdt-border: rgba(109, 26, 36, 0.12);
    --rvdt-text: #2d2022;
    --rvdt-muted: #807477;
}

body {
    font-family: "Mulish", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, "Ubuntu", Arial, cursive, sans-serif;
    font-size: 1rem;
    line-height: 1.3;
}
a { text-decoration: none; }
a:hover { opacity: 0.95; }
.text-truncate2{overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;}

.color1 { color: #6d1a24; }

.font-playfair-display { font-family: "Playfair Display", serif; }


/* ================= TOPBAR ================= */
.topbar {
background: #6d1a24;
color: #f2e3d5;
font-size: 12.5px;
letter-spacing: .3px;
padding: 7px 0;
}
.topbar a { color: #f2e3d5; }
.topbar .divider { color: rgba(242,227,213,0.35); margin: 0 14px; }
.topbar .zalo-btn {
background: rgba(255,255,255,0.12);
padding: 3px 12px;
border-radius: 20px;
font-weight: 500;
}

/* ================= HEADER ================= */
header.main-header {
position: sticky;
top: 0;
z-index: 1000;
background: #fff;
box-shadow: 0 2px 14px rgba(109,26,36,0.07);
}
.main-nav .nav-link {
    color: #3a2226 !important;
    font-weight: 500;
    font-size: 16px;
    letter-spacing: .3px;
    padding: 10px 14px !important;
    position: relative;
    transition: color .25s ease;
    text-transform: uppercase;
}
.main-nav .nav-link.active,
.main-nav .nav-link:hover { color: #6d1a24 !important; }
.main-nav .nav-link.active::before {
content: "";
position: absolute;
left: 14px; right: 14px; bottom: 4px;
height: 2px; background: #6d1a24;
}
.header-icon-btn {
width: 38px; height: 38px;
border-radius: 50%;
display: flex; align-items: center; justify-content: center;
color: #6d1a24;
font-size: 16px;
transition: background .25s ease;
position: relative;
}
.header-icon-btn:hover { background: #f6e9e2; }
.cart-badge {
position: absolute; top: -2px; right: -2px;
background: #6d1a24; color: #fff;
font-size: 9px; width: 16px; height: 16px;
border-radius: 50%; display: flex; align-items: center; justify-content: center;
}


/* Phần tử chứa menu cấp 2 */
.main-nav .dropdown-submenu { position: relative; }
/* Mặc định ẩn menu cấp 2 */
.main-nav .dropdown-submenu > .dropdown-menu {
    display: none;
    position: absolute;
    top: 0;
    left: 100%;
    margin-top: -1px;
    margin-left: 0;
}
/* Hover vào mục cha thì hiện menu cấp 2 */
.main-nav .dropdown-submenu:hover > .dropdown-menu { display: block; }
/* Giữ menu mở khi rê chuột từ mục cha sang submenu */
.main-nav .dropdown-submenu > .dropdown-menu:hover { display: block; }
/* Mũi tên hướng sang phải */
.main-nav .dropdown-submenu > .dropdown-toggle { position: relative; padding-right: 36px; }
.main-nav .dropdown-submenu > .dropdown-toggle::after {
    position: absolute;
    top: 50%;
    right: 12px;
    margin: 0;
    transform: translateY(-50%) rotate(-90deg);
}
/* Không giới hạn phần menu cấp 2 */
.main-nav .dropdown-menu { overflow: visible; }


  /* ===== Trust features ===== */
  .trust-features { border-top:1px solid #f0e6e2; border-bottom:1px solid #f0e6e2; background:#fff; }
  .trust-feat { display:flex; align-items:center; gap:12px; }
  .trust-feat-icon {
    width:48px; height:48px; border-radius:50%; background:#fdeceb; color:#c31f2e;
    display:flex; align-items:center; justify-content:center; font-size:20px; flex-shrink:0;
  }
  .trust-feat .tf-title { font-weight:700; font-size:14px; color:#2b2320; }
  .trust-feat .tf-sub { font-size:12px; color:#948a85; }

  /* ===== Footer ===== */
  .site-footer { background: #430f13; color:#e9d9d6; }
  .site-footer h6 { color:#fff; font-weight:700; font-size:14.5px; letter-spacing:.5px; margin-bottom:16px; }
  .site-footer a { color:#d9c3c0; font-size:13.5px; }
  .site-footer a:hover { color:#fff; }
  .social-circle {
    width:34px; height:34px; border-radius:50%; background:rgba(255,255,255,.12); color:#fff;
    display:flex; align-items:center; justify-content:center; transition:.25s;
  }
  .social-circle:hover { background:#fff; color:#430f13; transform: translateY(-3px); }
  .footer-contact li { font-size:13.5px; margin-bottom:12px; display:flex; gap:10px; }
  .footer-contact i { color:#e08b8b; margin-top:2px; }
  .footer-bottom { border-top:1px solid rgba(255,255,255,.12); font-size:12.5px; color:#c9adaa; }




.section-heading {
    text-align: center;
    font-weight: 700;
    font-size: 1.3rem;
    letter-spacing: 1px;
    color: #810905;
    position: relative;
    display: inline-block;
    margin-bottom: 8px;
}

.prod-card {
    border:1px solid #f0e6e2; border-radius:10px; overflow:hidden; background:#fff; height:100%;
    transition: transform .3s ease, box-shadow .3s ease;
}
.prod-card:hover { transform: translateY(-6px); box-shadow: 0 16px 28px rgba(0,0,0,.1); }
.prod-img-wrap { overflow:hidden; height:220px; background:#f4eede; position:relative; margin: 8px; border-radius: 5px; }
.prod-img-wrap img { width:100%; height:100%; object-fit:contain; transition: transform .5s ease; padding: 3px 0; }
.prod-card:hover .prod-img-wrap img { transform: scale(1.08); }
.prod-fav { position:absolute; top:10px; right:10px; width:30px; height:30px; border-radius:50%; background:#fff;
display:flex; align-items:center; justify-content:center; color:#c31f2e; box-shadow:0 2px 6px rgba(0,0,0,.15); }
.prod-name { font-weight:600; color:#2b2320;}
.prod-country { font-size:14px; color:#948a85; }
.prod-price { color:#d3202c; font-weight:800; font-size:16px; }


/* ===== Gallery ===== */
.gallery-wrap { position: relative; }
.badge-stack { position:absolute; top:14px; left:14px; z-index:5; display:flex; flex-direction:column; gap:8px; }
.pill-badge {
font-size: 11.5px; font-weight: 700; padding: 5px 12px; border-radius: 5px; color:#fff;
letter-spacing:.3px; backdrop-filter: blur(3px); box-shadow: 0 3px 8px rgba(0,0,0,.15);
width: fit-content;
}
.pill-bestseller { background: rgba(211,32,44,.92); }
.pill-genuine { background: rgba(46,125,50,.9); }
.pill-import { background: rgba(230,160,20,.92); color:#3a2900; }

.main-slide-frame {
border: 1px solid #eee2df; border-radius: 10px; overflow: hidden; background:#fbf7f5;
}
.main-slide-frame .swiper-slide {
display:flex; align-items:center; justify-content:center; height: 430px;
overflow: hidden;
}
.main-slide-frame img {
width:100%; height:100%; object-fit: contain; transition: transform .5s ease;
}
.main-slide-frame .swiper-slide:hover img { transform: scale(1.06); }

.zoom-btn {
position:absolute; bottom:14px; right:14px; z-index:5; width:36px; height:36px; border-radius:50%;
background:#fff; display:flex; align-items:center; justify-content:center; color:#3a2f2b;
box-shadow:0 2px 8px rgba(0,0,0,.18);
}
.fav-btn {
width:42px; height:42px; border-radius:50%; border:1px solid #eee2df; display:flex;
align-items:center; justify-content:center; color:#c31f2e; background:#fff; transition:.25s;
}
.fav-btn:hover { background:#c31f2e; color:#fff; transform: scale(1.08); }

.thumb-nav { margin-top: 12px; }
.thumb-nav .swiper-slide {
border:2px solid transparent; border-radius:8px; overflow:hidden; cursor:pointer; opacity:.75;
transition: opacity .25s ease, border-color .25s ease; height: 84px;
}
.thumb-nav .swiper-slide img { width:100%; height:100%; object-fit:contain; }
.thumb-nav .swiper-slide-thumb-active { border-color:#c31f2e; opacity:1; }
.gallery-arrow {
width:32px; height:32px; border-radius:50%; background:#fff; border:1px solid #eee2df;
display:flex; align-items:center; justify-content:center; color:#5a4d48; z-index:6;
transition: .25s;
}
.gallery-arrow:hover { background:#c31f2e; color:#fff; border-color:#c31f2e; }

/* ===== Product info ===== */
.product-title { font-weight: 800; font-size: 1.6rem; color:#241d1a; }
.country-flag { width:22px; height:16px; object-fit:cover; border-radius:2px; }
.meta-line { color:#5a4d48; font-size: 14.5px; }
.stars { color:#f0a500; font-size:14px; letter-spacing:1px; }
.price-tag { color:#d3202c; font-weight:800; font-size: 1.4rem; }
.desc-text { color:#5c4f4a; line-height:1.65; }
.feature-list li { color:#4a3f3b; margin-bottom:9px; display:flex; gap:10px; align-items:flex-start; }
.feature-list i { color:#c31f2e; margin-top:2px; }

@keyframes gradientShift { 0%{background-position:0% 50%} 50%{background-position:100% 50%} 100%{background-position:0% 50%} }
.btn-shopee {
background: linear-gradient(120deg,#d3202c,#ee4d2d,#d3202c); background-size:200% 200%;
animation: gradientShift 4s ease infinite; color:#fff; font-weight:700; border:none;
border-radius:8px; padding:12px 18px; transition: transform .2s ease, box-shadow .2s ease;
}
.btn-shopee:hover { transform: translateY(-2px); box-shadow: 0 10px 20px rgba(211,32,44,.28); color:#fff; }
.btn-zalo-outline {
border:1.5px solid #0068ff; color:#0068ff; font-weight:700; border-radius:8px; padding:12px 18px;
background:#fff; transition:.25s;
}
.btn-zalo-outline:hover { background:#0068ff; color:#fff; transform: translateY(-2px); }
.trust-line { font-size:13px; color:#7a6d68; }

/* ===== Section headers ===== */
.prod-section-heading {
color:#c31f2e; font-weight:800; font-size: 19px; letter-spacing:.4px;
display:flex; align-items:center; gap:10px; margin-bottom:12px;
}
.prod-section-heading .bar { width:5px; height:20px; background:#c31f2e; border-radius:3px; display:inline-block; }

/* ===== Quick info bento ===== */
.quickinfo-section { background:#faf7f6; }
.qi-card {
background:#fff; border:1px solid #f0e6e2; border-radius:10px; padding:18px 10px;
text-align:center; height:100%; transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.qi-card:hover { transform: translateY(-5px); box-shadow: 0 12px 24px rgba(211,32,44,.09); border-color:#f2d9db; }
.qi-icon { color:#c31f2e; font-size:22px; margin-bottom:8px; }
.qi-label { font-size:12.5px; color:#948a85; margin-bottom:2px; }
.qi-value { font-size:14.5px; font-weight:700; color:#2b2320; }

/* ===== Description / pairing ===== */
.pairing-card { background:#faf7f6; border-radius:10px; }
.pairing-item { text-align:center; }
.pairing-circle {
width:50px; height:50px; border-radius:50%; overflow:hidden; margin:0 auto 8px; border:3px solid #fff;
box-shadow: 0 4px 14px rgba(0,0,0,.1); transition: transform .3s ease;
}
.pairing-item:hover .pairing-circle { transform: scale(1.08); }
.pairing-circle img { width:100%; height:100%; object-fit:cover; }
.pairing-label { font-size:12.5px; color:#4a3f3b; font-weight:600; }
.temp-note {
margin-top:18px; background:#fff; border:1px dashed #e7bfc2; border-radius:8px; padding:10px 14px;
font-size:13.5px; color:#5c4f4a; display:flex; align-items:center; gap:10px;
}
.temp-note i { color:#c31f2e; }




.product_read-more-content { height: 350px; overflow: hidden; }
.product_read-more-toggle:checked ~ .product_read-more-content { height: auto; }
.product_read-more-fade { position: absolute; right: 0; bottom: 0; left: 0; height: 50px; pointer-events: none; background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff); }
.product_read-more-toggle:checked ~ .product_read-more-content .product_read-more-fade { display: none; }
.product_read-more-button { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.product_arrow-icon { display: inline-block; margin-left: 2px; width: 6px; height: 6px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform 0.25s ease; }
.product_read-more-toggle:checked ~ .d-flex .product_arrow-icon { transform: translateY(1px) rotate(225deg); }
.product_collapse-text { display: none; }
.product_read-more-toggle:checked ~ .d-flex .product_show-more-text { display: none; }
.product_read-more-toggle:checked ~ .d-flex .product_collapse-text { display: inline; }


article { text-align: justify; }
article h1, h2, h3, h4 { font-family: "Playfair Display", serif; color: #6d1a24; font-weight: bold; }
article h1 { font-size: 1.75rem; margin-bottom: 1.35rem; }
article h2 { font-size: 1.35rem; margin-bottom: 0.5rem; }
article h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
article h4 { font-size: 1rem; margin-bottom: 0.5rem; }
article table { max-width: 100% !important; margin: 2rem auto 0 auto; }
article img.size-full { width: 100% !important; height: auto !important; margin-bottom: 1rem; }