 
/* FONT CHU CHUAN TIENG VIET - THE NOMAD */

@import url('https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:wght@400;500;600;700&family=Noto+Serif:wght@400;500;600;700&display=swap');

#christmas-snow {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9998;
}

.noel-music-toggle {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 9999;
  padding: 10px 16px;
  border: 1px solid #d8c39a;
  border-radius: 24px;
  background: #173c32;
  color: #fff;
  cursor: pointer;
}

body {
    background-image: url('/TheNomad/image/background/noel-bg1.jpg') !important;
    background-position: center top !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-attachment: fixed !important;
}

/* TEST HEADER THE NOMAD */
#top,
header,
#menu {
    background: #fcf9f2 !important;
}

#top a,
#menu a {
    color: #514638 !important;
}

#top {
    border-bottom: 1px solid #eee5d6;
}

header {
    border: none !important;
}


/* ===== THE NOMAD HEADER ===== */
#nomad-header {
    background: #fcf9f2 !important;
    padding: 20px 0;
    border-bottom: 1px solid #eee5d6;
}

#nomad-header .row {
    min-height: 75px;
}

#nomad-header #logo img {
    max-height: 70px;
    width: auto;
}

#nomad-header .nomad-brand {
    color: #8b6b3f;
  
font-family: "Times New Roman", serif !important;

    font-size: 26px;
    letter-spacing: 3px;
    text-decoration: none;
    white-space: nowrap;
}

#nomad-header .nomad-subtitle {
    color: #8b6b3f;
    font-size: 10px;
    letter-spacing: 2px;
    margin-top: 4px;
}

#nomad-header .nomad-header-tools {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

#nomad-header .nomad-header-tools > a {
    color: #514638;
    font-size: 17px;
    text-decoration: none;
}

#nomad-header .nomad-header-tools > a:hover {
    color: #b99454;
}

#nomad-header .nomad-search {
    flex: 1 1 100%;
    min-width: 0;
}

#nomad-header .nomad-search .input-group {
    flex-wrap: nowrap;
}

#nomad-header .nomad-search input {
    border-color: #e5d8c4;
}

#nomad-header .nomad-cart {
    max-width: 100%;
}

@media (max-width: 767px) {
    #nomad-header {
        padding: 12px 0;
    }

    #nomad-header .nomad-brand {
        font-size: 16px;
        letter-spacing: 1px;
    }

    #nomad-header .nomad-subtitle {
        font-size: 8px;
        letter-spacing: 1px;
    }

    #nomad-header #logo img {
        max-height: 48px;
    }

    #nomad-header .nomad-header-tools {
        gap: 8px;
    }

    #nomad-header .nomad-header-tools > a {
        font-size: 14px;
    }
}


/* Logo The Nomad ở giữa */
#nomad-header .nomad-center-logo {
    display: inline-block;
}

#nomad-header .nomad-center-logo img {
    max-height: 75px;
    width: auto;
    object-fit: contain;
}

/* Ẩn logo cũ bên trái */
#nomad-header #logo {
    display: none;
}

/* ===== THE NOMAD - MENU ===== */
#menu {
    background: #fcf9f2 !important;
    border: none !important;
    box-shadow: none !important;
    margin-top: 0;
}

#menu .navbar,
#menu .navbar-expand-lg,
#menu .container {
    background: transparent !important;
}

#menu .nav-link,
#menu .dropdown-toggle,
#menu a {
    color: #514638 !important;
    font-size: 14px;
    font-weight: 400;
    text-decoration: none;
}

#menu .nav-link:hover,
#menu a:hover {
    color: #b99454 !important;
}

#menu .dropdown-menu {
    background: #fcf9f2 !important;
    border: 1px solid #eee5d6;
    border-radius: 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.06);
}

#menu .dropdown-item {
    padding: 10px 16px;
}

#menu .dropdown-item:hover {
    background: #f3eadb !important;
    color: #8b6b3f !important;
}


/* ===== THE NOMAD: MEGA MENU SAN PHAM ===== */

#menu {
    background: #fcf9f2 !important;
    border: none !important;
    border-radius: 0;
}

#menu .navbar-nav {
    width: 100%;
}

#menu .nomad-products-menu {
    position: static;
}

#menu .nomad-products-menu > .nav-link {
    color: #514638 !important;
    padding: 16px 24px;
    font-size: 15px;
}

#menu .nomad-products-menu > .nav-link:hover {
    color: #b99454 !important;
}

#menu .nomad-products-dropdown {
    width: 100%;
    margin-top: 0;
    padding: 25px 30px;
    background: #fcf9f2;
    border: 1px solid #eee5d6;
    border-radius: 0;
    box-shadow: 0 8px 22px rgba(60, 40, 20, 0.10);
}

#menu .nomad-products-menu:hover > .nomad-products-dropdown {
    /* Không ép mở menu bằng CSS;
       Bootstrap quản lý trạng thái xổ xuống. */
}

#menu .nomad-products-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 25px 30px;
}

#menu .nomad-category-title {
    display: block;
    margin-bottom: 12px;
    color: #8b6b3f;
    font-weight: 600;
    text-decoration: none;
}

#menu .nomad-category-children a {
    display: block;
    padding: 5px 0;
    color: #514638;
    font-size: 13px;
    text-decoration: none;
}

#menu .nomad-category-title:hover,
#menu .nomad-category-children a:hover {
    color: #b99454;
}

@media (max-width: 767px) {
    #menu .nomad-products-dropdown {
        position: static;
        width: 100%;
        padding: 16px;
    }

    #menu .nomad-products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }
}



/* ===== NOEL: HEADER NAU TRONG SUOT ===== */

/* Header chứa logo, tìm kiếm và giỏ hàng */
#nomad-header {
    background: rgba(65, 39, 24, 0.62) !important;
    background-image: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2) !important;
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
}

/* Thanh menu sản phẩm */
#menu {
    background: rgba(65, 39, 24, 0.62) !important;
    background-image: none !important;
    border: none !important;
    box-shadow: none !important;
}

/* Các lớp bao bên trong menu */
#menu .navbar,
#menu .navbar-expand-lg,
#menu .container {
    background: transparent !important;
}

/* Chữ, liên kết và biểu tượng trong header */
#nomad-header,
#nomad-header a,
#nomad-header .nomad-brand,
#nomad-header .nomad-subtitle,
#nomad-header .nomad-header-tools > a,
#menu .nav-link,
#menu .dropdown-toggle,
#menu a:not(.dropdown-item) {
    color: #ffffff !important;
}

/* Hiệu ứng hover */
#nomad-header .nomad-header-tools > a:hover,
#menu a:hover {
    color: #f0d5a4 !important;
}

/* Ô tìm kiếm vẫn sáng để dễ nhập */
#nomad-header .nomad-search input {
    background: rgba(255, 255, 255, 0.92) !important;
    color: #3b261b !important;
}

/* Menu xổ xuống */
#menu .dropdown-menu,
#menu .nomad-products-dropdown {
    background: rgba(65, 39, 24, 0.96) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
}

#menu .dropdown-item,
#menu .nomad-category-title,
#menu .nomad-category-children a {
    color: #ffffff !important;
}

#menu .dropdown-item:hover {
    background: rgba(255, 255, 255, 0.12) !important;
    color: #f0d5a4 !important;
}

/* =====================================
   THENOMAD - MENU PHONG CÁCH COCOON
===================================== */

/* THANH THÔNG BÁO GIÁNG SINH */
.tn-announcement {
    background: #003013 !important;
    color: #ffffff !important;

    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;
    padding: 10px 20px;

    font-family: Arial, sans-serif;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.3px;

    border-bottom: 1px solid #d5b777;
}

/* Header chính */
#nomad-header.tn-header {
    background: #faf8f2 !important;
    border: none !important;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    position: relative;
    z-index: 1000;
    padding: 0 !important;
    margin-bottom: 28px !important;
box-shadow: 0 5px 18px rgba(0, 0, 0, 0.12) !important;
}
@media (max-width: 991px) {
    #nomad-header.tn-header {
        margin-bottom: 16px !important;
    }
}

/* Bố cục 3 phần */
#nomad-header .tn-header-inner {
    width: calc(100% - 60px);
    max-width: 1560px;
    min-height: 96px;
    margin: auto;

    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 25px;

    position: relative;
}

/* Menu trái và phải */
#nomad-header .tn-nav-left,
#nomad-header .tn-nav-right {
    display: flex;
    align-items: center;
    gap: 28px;
}

#nomad-header .tn-nav-right {
    justify-content: flex-end;
}

/* Các liên kết */
#nomad-header .tn-nav-link {
    color: #231f1b !important;
    font-family: Arial, sans-serif;
    font-size: 18px;
    font-weight: 400;
    white-space: nowrap;
    text-decoration: none !important;
    background: transparent !important;
    border: none !important;
    padding: 0;
    cursor: pointer;
}

#nomad-header .tn-nav-link:hover {
    color: #b89552 !important;
}

#nomad-header .tn-link-pending {
    cursor: default;
}

/* Logo chính giữa */
#nomad-header .tn-logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

#nomad-header .tn-logo a {
    display: block;
}

#nomad-header .tn-logo img {
    display: block;
    width: auto;
    max-width: 170px;
    max-height: 64px;
    object-fit: contain;
}

/* Giỏ hàng */
#nomad-header .tn-cart-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* Nút tìm kiếm */
#nomad-header .tn-search {
    position: relative;
}

#nomad-header .tn-search summary {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    list-style: none;
    color: #231f1b;
    font-size: 19px;
}

#nomad-header .tn-search summary::-webkit-details-marker {
    display: none;
}

#nomad-header .tn-search-panel {
    position: absolute;
    top: calc(100% + 25px);
    left: 0;
    width: 340px;
    padding: 15px;
    background: #faf8f2;
    border: 1px solid #e7dfd0;
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
    z-index: 1100;
}

/* Danh mục sản phẩm */
#nomad-header .tn-products {
    display: flex;
    align-items: center;
    height: 96px;
    position: static;
}

#nomad-header .tn-products-trigger::after {
    display: none;
}

/* Mega menu xổ xuống */
#nomad-header .tn-mega-menu {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: 0 !important;

    width: 100%;
    margin: 0 !important;
    padding: 32px !important;
    transform: none !important;

    background: #fffaf3 !important;
    border: 1px solid #e9e1d5;
    border-radius: 0;
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
    z-index: 1200;

    max-height: 75vh;
    overflow-y: auto;
}

/* Hover trên máy tính */
/* ===== SẢN PHẨM: KHÔNG KHUNG, CLICK ĐỂ MỞ ===== */

#nomad-header .tn-products {
    display: inline-flex !important;
    align-items: center !important;
    flex: 0 0 auto !important;

    width: auto !important;
    min-width: 0 !important;

    background: transparent !important;
    border: none !important;
    box-shadow: none !important;

    margin: 0 !important;
    padding: 0 !important;

    position: static !important;
}

/* Chỉ hiển thị chữ Sản phẩm */
#nomad-header .tn-products-trigger {
    width: auto !important;
    min-width: 0 !important;
    padding: 0 !important;

    background: transparent !important;
    border: none !important;
    box-shadow: none !important;

    color: #231f1b !important;
    font-size: 18px !important;
    font-weight: 400 !important;
    cursor: pointer;
}

#nomad-header .tn-products-trigger:hover {
    color: #b89552 !important;
}

#nomad-header .tn-products-trigger::after {
    display: none !important;
}

/* Menu đóng mặc định, chỉ mở khi được click */
#nomad-header .tn-mega-menu:not(.show) {
    display: none !important;
}

#nomad-header .tn-mega-menu.show {
    display: block !important;
}

/* Dropdown rộng trên máy tính */
@media (min-width: 992px) {

    #nomad-header .tn-mega-menu {
        position: absolute !important;

        top: 100% !important;
        left: 0 !important;
        right: auto !important;

        width: min(1250px, calc(100vw - 60px)) !important;
        max-width: none !important;

        padding: 35px !important;
        margin: 0 !important;

        background: #faf8f2 !important;
        border: 1px solid #e9e1d5 !important;
        border-radius: 3px !important;

        box-shadow: 0 12px 30px rgba(0,0,0,0.12) !important;

        transform: none !important;
    }

    #nomad-header .tn-mega-grid {
        display: grid !important;
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        gap: 35px !important;
    }
}

/* Điện thoại */
@media (max-width: 991px) {

    #nomad-header .tn-mega-menu {
        position: static !important;
        width: 100% !important;
        padding: 15px !important;
    }

    #nomad-header .tn-mega-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 20px !important;
    }
}
/* Lưới danh mục */
#nomad-header .tn-mega-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 32px;
}

/* Tiêu đề danh mục */
#nomad-header .tn-category-title {
    display: block;
    color: #30271f !important;
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 15px;
}

/* Danh mục con */
#nomad-header .tn-category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

#nomad-header .tn-category-list li {
    margin-bottom: 10px;
}

#nomad-header .tn-category-list a {
    color: #51483e !important;
    text-decoration: none;
    font-size: 14px;
}

#nomad-header .tn-category-list a:hover {
    color: #b89552 !important;
}

/* Ẩn giao diện giỏ hàng cũ, giữ thành phần cho JS */
#nomad-header .tn-native-cart {
    display: none !important;
}

/* Thanh ngôn ngữ */
#nomad-header .tn-language {
    font-size: 13px;
}

#nomad-header .tn-currency {
    display: none;
}

/* Nút menu điện thoại */
#nomad-header .tn-mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    color: #231f1b;
    font-size: 22px;
}

/* =====================================
   RESPONSIVE - ĐIỆN THOẠI
===================================== */

@media (max-width: 991px) {

    #nomad-header .tn-header-inner {
        width: calc(100% - 28px);
        grid-template-columns: 44px 1fr auto;
        gap: 10px;
        min-height: 76px;
    }

    #nomad-header .tn-mobile-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    #nomad-header .tn-logo img {
        max-width: 135px;
        max-height: 58px;
    }

    #nomad-header #tn-navigation {
        display: none !important;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
        padding: 22px;

        background: #faf8f2;
        box-shadow: 0 12px 25px rgba(0,0,0,0.12);
        z-index: 1300;
    }

    #nomad-header #tn-navigation.show,
    #nomad-header #tn-navigation.collapsing {
        display: flex !important;
    }

    #nomad-header .tn-products {
        display: block;
        height: auto;
    }

    #nomad-header .tn-mega-menu {
        position: static !important;
        width: 100%;
        padding: 15px !important;
        box-shadow: none;
        max-height: 55vh;
    }

    #nomad-header .tn-mega-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }

    #nomad-header .tn-search-panel {
        position: static;
        width: 100%;
        margin-top: 10px;
    }

    #nomad-header .tn-account,
    #nomad-header .tn-contact,
    #nomad-header .tn-language {
        display: none;
    }

    #nomad-header .tn-cart-link span {
        display: none;
    }

    .tn-announcement {
        font-size: 12px;
        min-height: 40px;
    }
}

@media (max-width: 480px) {
    #nomad-header .tn-mega-grid {
        grid-template-columns: 1fr;
    }
}

#nomad-header .tn-language,
#nomad-header .tn-language a,
#nomad-header .tn-language button {
    color: #231f1b !important;
}

/* ĐỒNG BỘ FONT MENU SẢN PHẨM */
#nomad-header .tn-products-trigger {
    font-family: Arial, sans-serif !important;
    font-size: 18px !important;
    font-weight: 400 !important;
    line-height: 1.25 !important;
}

/* ĐỒNG BỘ FONT NÚT NGÔN NGỮ */
#nomad-header .tn-language .dropdown-toggle,
#nomad-header .tn-language button:not(.dropdown-item) {
    font-family: Arial, sans-serif !important;
    font-size: 18px !important;
    font-weight: 400 !important;
    line-height: 1.25 !important;

    color: #231f1b !important;
    background: transparent !important;

    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;

    padding: 0 !important;
    text-decoration: none !important;
}

/* Căn giữa nút ngôn ngữ */
#nomad-header .tn-language,
#nomad-header .tn-language .dropdown {
    display: inline-flex;
    align-items: center;
}

/* Giữ cỡ chữ vừa phải trong danh sách chọn ngôn ngữ */
#nomad-header .tn-language .dropdown-menu {
    font-size: 14px !important;
}

/* ===== BANNER GIÁNG SINH BO GÓC ===== */

/* Bỏ khung trắng vuông mặc định bên ngoài */
#content .swiper-viewport:has([id^="slideshow"]) {
    border: none !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    overflow: visible !important;
    padding: 0 !important;
    margin-bottom: 45px !important;
}

/* Viền trắng bo tròn ôm sát banner */
#content .swiper-viewport [id^="slideshow"] {
    border: 3px solid #ffffff !important;
    border-radius: 28px !important;

    overflow: hidden !important;
    background: transparent !important;

    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.20) !important;
}

/* Nút chuyển banner */
#content .swiper-viewport:has([id^="slideshow"])
.swiper-button-next,

#content .swiper-viewport:has([id^="slideshow"])
.swiper-button-prev {
    width: 46px !important;
    height: 46px !important;

    background: #ffffff !important;
    color: #173c32 !important;

    border-radius: 50% !important;

    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

/* Kích thước mũi tên */
#content .swiper-viewport:has([id^="slideshow"])
.swiper-button-next::after,

#content .swiper-viewport:has([id^="slideshow"])
.swiper-button-prev::after {
    font-size: 18px !important;
    font-weight: bold;
}

/* Bo góc nhỏ hơn trên điện thoại */
@media (max-width: 767px) {
    #content .swiper-viewport [id^="slideshow"] {
        border-radius: 16px !important;
        border-width: 2px !important;
    }
}

/* ====================================
   THE NOMAD - CHRISTMAS BANNER BUTTON
==================================== */

.tn-banner-promo {
    position: relative;
}

.tn-banner-promo .tn-banner-image-link {
    display: block;
}

.tn-banner-promo img {
    display: block;
    width: 100%;
    height: auto;
}

/* Nút MUA NGAY */
.tn-banner-promo .tn-banner-buy {
    position: absolute;
    right: 18%;
    bottom: 22%;
    z-index: 5;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    padding: 14px 32px;

    background: #fff3d9;
    color: #861c20;

    border: 1px solid #d3a65d;
    border-radius: 30px;

    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1px;
    text-decoration: none;

    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.20);

    transition: all 0.3s ease;
}

/* Hiệu ứng khi di chuột vào */
.tn-banner-promo .tn-banner-buy:hover {
    background: #a6222c;
    color: #ffffff;

    transform: translateY(-4px);

    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.30);

    text-decoration: none;
}

.tn-banner-promo .tn-banner-buy span {
    transition: transform 0.3s ease;
}

.tn-banner-promo .tn-banner-buy:hover span {
    transform: translateX(5px);
}

/* Điện thoại */
@media (max-width: 767px) {
    .tn-banner-promo .tn-banner-buy {
        right: 8%;
        bottom: 12%;
        padding: 8px 14px;
        font-size: 11px;
        gap: 5px;
    }
}

/* HIỆU ỨNG HEADER MỜ KHI CUỘN */

.tn-announcement,
#nomad-header {
    transition: opacity 0.1s linear;
    will-change: opacity;
}
/* =====================================
   THE NOMAD - LUXURY CHRISTMAS COUNTDOWN
===================================== */

/* Thanh countdown */
.tn-announcement {
  min-height: 82px;
  background:
    radial-gradient(
      ellipse at 50% 50%,
      rgba(31, 113, 76, 0.42),
      transparent 70%
    ),
    linear-gradient(110deg, #002b1c, #06452e, #002b1c);

  border-bottom: 1px solid rgba(228, 187, 105, 0.65);
  overflow: hidden;
}

/* Bố cục chính */
.tn-top-countdown {
  position: relative;

  width: 100%;
  min-height: 82px;

  display: flex;
  align-items: center;
  justify-content: center;

  gap: 45px;
  padding: 12px 25px;

  isolation: isolate;
}

/* Các điểm sáng trang trí */
.tn-top-countdown::before {
  content: "";

  position: absolute;
  inset: 0;

  background-image:
    radial-gradient(circle, #ffe6a1 1px, transparent 2px),
    radial-gradient(circle, #fff8d8 1px, transparent 2px),
    radial-gradient(circle, #d6a854 1.5px, transparent 3px);

  background-size:
    127px 61px,
    183px 79px,
    251px 103px;

  background-position:
    10px 15px,
    45px 39px,
    75px 5px;

  opacity: 0.5;
  pointer-events: none;
  z-index: -1;

  animation: tnTwinkle 3s ease-in-out infinite alternate;
}

/* Chữ bên trái */
.tn-countdown-heading {
  display: flex;
  flex-direction: column;

  align-items: center;
  justify-content: center;

  text-align: center;
  gap: 5px;
}

/* Dòng nhỏ phía trên */
.tn-countdown-overline {

font-family: "Times New Roman", serif !important;


  font-size: 10px;
  font-weight: 400;

  letter-spacing: 4px;
  color: #e4c58e;
}

/* Tiêu đề vàng lấp lánh */
.tn-countdown-title {

font-family: "Times New Roman", serif !important;


  font-size: 20px;
  font-weight: 700;

  letter-spacing: 2px;
  white-space: nowrap;

  background: linear-gradient(
    105deg,
    #b47a32 0%,
    #f6d78e 22%,
    #fff9d7 35%,
    #d7a64d 50%,
    #fff8d1 65%,
    #f4cb78 80%,
    #b47a32 100%
  );

  background-size: 220% auto;

  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;

  filter: drop-shadow(0 0 5px rgba(255, 216, 135, 0.28));

  animation: tnGoldShimmer 5s linear infinite;
}

/* 4 ô thời gian */
.tn-top-countdown-clock {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
}

.tn-top-countdown-item {
  position: relative;

  width: 63px;
  height: 58px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  gap: 4px;

  background:
    linear-gradient(
      145deg,
      rgba(255, 225, 158, 0.13),
      rgba(255, 255, 255, 0.025)
    );

  border: 1px solid rgba(226, 183, 103, 0.7);
  border-radius: 10px;

  box-shadow:
    0 3px 12px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

/* Hover nhẹ */
.tn-top-countdown-item:hover {
  transform: translateY(-3px);

  box-shadow:
    0 0 17px rgba(245, 201, 121, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* Số đếm ngược */
.tn-top-countdown-item strong {
 
font-family: "Times New Roman", serif !important;


  font-size: 25px;
  font-weight: 700;
  line-height: 1;

  color: #fff2ce;

  font-variant-numeric: tabular-nums;

  text-shadow:
    0 0 9px rgba(255, 212, 128, 0.4);
}

/* Đơn vị thời gian */
.tn-top-countdown-item small {
  font-family: Arial, sans-serif;

  font-size: 9px;
  font-weight: 600;

  letter-spacing: 1.5px;
  color: #e9c98e;
}

/* Hiệu ứng chữ vàng chuyển động */
@keyframes tnGoldShimmer {
  0% {
    background-position: 200% center;
  }

  100% {
    background-position: -200% center;
  }
}

/* Hiệu ứng điểm sáng nhấp nháy */
@keyframes tnTwinkle {
  0% {
    opacity: 0.2;
  }

  100% {
    opacity: 0.75;
  }
}

/* Tablet */
@media (max-width: 900px) {
  .tn-top-countdown {
    gap: 18px;
  }

  .tn-countdown-title {
    font-size: 15px;
    letter-spacing: 1px;
  }

  .tn-top-countdown-item {
    width: 52px;
    height: 52px;
  }

  .tn-top-countdown-item strong {
    font-size: 21px;
  }
}

/* Điện thoại */
@media (max-width: 650px) {
  .tn-top-countdown {
    flex-direction: column;
    gap: 10px;
    padding: 12px 8px;
  }

  .tn-countdown-overline {
    font-size: 8px;
    letter-spacing: 3px;
  }

  .tn-countdown-title {
    font-size: 14px;
    letter-spacing: 1px;
  }

  .tn-top-countdown-clock {
    gap: 8px;
  }

  .tn-top-countdown-item {
    width: 53px;
    height: 49px;
  }

  .tn-top-countdown-item strong {
    font-size: 20px;
  }
}

/* Tôn trọng chế độ giảm chuyển động */
@media (prefers-reduced-motion: reduce) {
  .tn-countdown-title,
  .tn-top-countdown::before {
    animation: none;
  }
}

/* ==========================================
   RESTORE STICKY + GLASS BLUR EFFECT
========================================== */

/* Thanh countdown trên cùng */
.tn-announcement {
    position: sticky !important;
    top: 0 !important;
    z-index: 100000 !important;

    background: linear-gradient(
        100deg,
        rgba(0, 44, 28, var(--tn-countdown-alpha, 1)),
        rgba(6, 68, 46, var(--tn-countdown-alpha, 1)),
        rgba(0, 44, 28, var(--tn-countdown-alpha, 1))
    ) !important;

    backdrop-filter: blur(var(--tn-glass-blur, 0px));
    -webkit-backdrop-filter: blur(var(--tn-glass-blur, 0px));
}

/* Thanh menu TheNomad */
#nomad-header.tn-header {
    position: sticky !important;
    top: var(--tn-announcement-height, 76px) !important;
    z-index: 99999 !important;

    background: rgba(
        250, 248, 242,
        var(--tn-menu-alpha, 1)
    ) !important;

    backdrop-filter: blur(var(--tn-glass-blur, 0px));
    -webkit-backdrop-filter: blur(var(--tn-glass-blur, 0px));

    transition: box-shadow 0.3s ease;
}

/* Bóng nhẹ khi cuộn xuống */
body.tn-scrolled #nomad-header.tn-header {
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
}

/* Giữ nguyên độ rõ của chữ và đồng hồ */
.tn-countdown-heading,
.tn-top-countdown-clock,
.tn-header-inner {
    opacity: 1 !important;
}

/* ==========================================
   THE NOMAD - FROZEN CHRISTMAS FOOTER
========================================== */

/* Nền footer đóng băng */
footer {
    position: relative;
    isolation: isolate;
    overflow: hidden;

    background:
        radial-gradient(
            ellipse at 50% 0%,
            rgba(122, 208, 227, 0.16),
            transparent 65%
        ),
        linear-gradient(
            180deg,
            #203942 0%,
            #29333a 45%,
            #292d32 100%
        ) !important;

    border-top: 2px solid #d6f7ff;
    padding-top: 75px !important;

    box-shadow:
        inset 0 15px 35px rgba(137, 225, 255, 0.1),
        0 -5px 30px rgba(144, 222, 244, 0.1);
}

/* Đưa nội dung lên trên lớp băng */
footer > * {
    position: relative;
    z-index: 2;
}

/* ==========================================
   NHŨ BĂNG CHẢY TỪ MÉP TRÊN
========================================== */

footer::before {
    content: "";

    position: absolute;
    top: 0;
    left: 0;

    width: 100%;
    height: 75px;

    background: linear-gradient(
        180deg,
        #f4fdff 0%,
        #c6f1fa 18%,
        rgba(133, 216, 238, 0.9) 55%,
        rgba(122, 210, 237, 0.18) 100%
    );

    clip-path: polygon(
        0 0,
        100% 0,
        100% 24%,
        97% 24%,
        96% 78%,
        95% 24%,
        91% 24%,
        90% 54%,
        89% 24%,
        85% 24%,
        84% 90%,
        83% 24%,
        78% 24%,
        77% 60%,
        76% 24%,
        72% 24%,
        71% 48%,
        70% 24%,
        66% 24%,
        65% 85%,
        64% 24%,
        59% 24%,
        58% 58%,
        57% 24%,
        53% 24%,
        52% 96%,
        51% 24%,
        46% 24%,
        45% 48%,
        44% 24%,
        40% 24%,
        39% 75%,
        38% 24%,
        34% 24%,
        33% 55%,
        32% 24%,
        28% 24%,
        27% 88%,
        26% 24%,
        22% 24%,
        21% 56%,
        20% 24%,
        16% 24%,
        15% 80%,
        14% 24%,
        10% 24%,
        9% 50%,
        8% 24%,
        4% 24%,
        3% 70%,
        2% 24%,
        0 24%
    );

    z-index: 1;
    pointer-events: none;

    filter: drop-shadow(0 5px 7px rgba(147, 232, 255, 0.4));

    transform-origin: top center;
    transform: scaleY(1);
    transition: transform 1.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* Khi JS đã sẵn sàng, chờ footer xuất hiện */
footer.tn-ice-ready::before {
    transform: scaleY(0);
}

/* Footer đi vào màn hình: băng hình thành */
footer.tn-ice-ready.tn-frozen::before {
    transform: scaleY(1);
}

/* ==========================================
   HẠT PHA LÊ LẤP LÁNH
========================================== */

footer::after {
    content: "";

    position: absolute;
    inset: 15px 0 0;

    background-image:
        radial-gradient(
            circle,
            rgba(220, 251, 255, 0.85) 1px,
            transparent 3px
        ),
        radial-gradient(
            circle,
            rgba(147, 228, 250, 0.55) 2px,
            transparent 5px
        );

    background-size:
        125px 90px,
        215px 145px;

    background-position:
        10px 20px,
        75px 50px;

    opacity: 0.24;
    pointer-events: none;
    z-index: 0;

    animation: tnFrozenSparkle 4s ease-in-out infinite alternate;
}

@keyframes tnFrozenSparkle {
    0% {
        opacity: 0.12;
    }

    100% {
        opacity: 0.48;
    }
}

/* =====================================
   SOFT NATURAL FROST - FOOTER
===================================== */

/* Lớp băng tuyết mềm */
footer::before {
    content: "";

    position: absolute;
    top: 0;
    left: 0;

    width: 100%;
    height: 78px;

    /* Các lớp tuyết đọng với độ cong tự nhiên */
    background:
        radial-gradient(
            ellipse 150px 28px at 5% 0%,
            rgba(248, 254, 255, 0.96) 35%,
            transparent 85%
        ),
        radial-gradient(
            ellipse 210px 25px at 22% 0%,
            rgba(233, 250, 255, 0.94) 35%,
            transparent 90%
        ),
        radial-gradient(
            ellipse 160px 32px at 43% 0%,
            rgba(249, 254, 255, 0.9) 35%,
            transparent 85%
        ),
        radial-gradient(
            ellipse 200px 25px at 65% 0%,
            rgba(231, 250, 255, 0.95) 35%,
            transparent 90%
        ),
        radial-gradient(
            ellipse 180px 30px at 85% 0%,
            rgba(248, 254, 255, 0.9) 35%,
            transparent 85%
        ),
        linear-gradient(
            to bottom,
            rgba(244, 253, 255, 0.9) 0%,
            rgba(172, 224, 238, 0.4) 24%,
            transparent 90%
        );

    /* Bỏ phần răng cưa cũ */
    clip-path: none !important;

    /* Làm mềm bề mặt */
    filter: blur(1.5px) !important;

    -webkit-mask-image: linear-gradient(
        to bottom,
        black 0%,
        rgba(0,0,0,0.85) 30%,
        transparent 100%
    );

    mask-image: linear-gradient(
        to bottom,
        black 0%,
        rgba(0,0,0,0.85) 30%,
        transparent 100%
    );

    z-index: 1;
    pointer-events: none;

    transform: translateY(0) !important;
    opacity: 1;

    transition:
        transform 1.8s ease,
        opacity 1.8s ease;
}

/* Trước khi cuộn đến footer */
footer.tn-ice-ready::before {
    transform: translateY(-20px) !important;
    opacity: 0 !important;
}

/* Khi cuộn đến footer, sương băng hiện dần */
footer.tn-ice-ready.tn-frozen::before {
    transform: translateY(0) !important;
    opacity: 1 !important;
}

/* Hạt sáng li ti, không quá nhiều */
footer::after {
    content: "";

    position: absolute;
    inset: 0;

    background-image:
        radial-gradient(
            circle,
            rgba(224, 251, 255, 0.65) 1px,
            transparent 2px
        ),
        radial-gradient(
            circle,
            rgba(170, 227, 245, 0.35) 1px,
            transparent 3px
        );

    background-size:
        185px 145px,
        270px 210px;

    opacity: 0.3;
    filter: blur(0.5px);

    pointer-events: none;
    z-index: 0;

    animation: tnSoftFrost 7s ease-in-out infinite alternate;
}

@keyframes tnSoftFrost {
    from {
        opacity: 0.12;
    }

    to {
        opacity: 0.38;
    }
}

@media (prefers-reduced-motion: reduce) {
    footer::before {
        transition: none;
    }

    footer::after {
        animation: none;
    }
}

/* ======================================
   THE NOMAD - MOSS GREEN FOOTER
   COLOR: #003013
====================================== */

/* NỀN FOOTER XANH RÊU */
footer {
    background: rgba(0, 48, 19, 0.20) !important;

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    border-top: 1px solid rgba(219, 242, 220, 0.5);

    box-shadow:
        inset 0 10px 25px rgba(255, 255, 255, 0.03),
        0 -4px 18px rgba(0, 0, 0, 0.12);
}

/* TIÊU ĐỀ CÁC CỘT */
footer h5,
footer h4 {
    color: #ffffff !important;

    font-family: Arial, sans-serif;
    font-size: 16px;
    font-weight: 700 !important;

    opacity: 1 !important;

    text-shadow:
        0 1px 3px rgba(0, 0, 0, 0.35);
}

/* CHỮ NỘI DUNG */
footer a,
footer li,
footer p {
    color: #f5fff5 !important;

    font-size: 14px;
    font-weight: 500;

    opacity: 1 !important;

    text-shadow:
        0 1px 2px rgba(0, 0, 0, 0.35);
}

/* HIỆU ỨNG KHI RÊ CHUỘT */
footer a:hover {
    color: #f9dfa2 !important;

    text-shadow:
        0 0 8px rgba(255, 224, 160, 0.35);

    transition: 0.3s ease;
}

/* ĐƯỜNG PHÂN CÁCH */
footer hr {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.25);

    opacity: 1;
}

/* CHỮ LUÔN NẰM TRÊN LỚP TRANG TRÍ */
footer > .container {
    position: relative;
    z-index: 2;
}

/* HẠT SÁNG TRANG TRÍ NHẸ HƠN */
footer::after {
    opacity: 0.14;
}

/* =====================================
   THE NOMAD - CLEAN SNOW FOOTER
===================================== */

/* Footer gọn hơn */
footer {
    position: relative;
    overflow: hidden;

    /* Giữ màu xanh rêu đang sử dụng */
    background: rgba(0, 48, 19, 0.75) !important;

    /* Làm mờ nền vừa phải */
    backdrop-filter: blur(5px) !important;
    -webkit-backdrop-filter: blur(5px) !important;

    /* Bỏ đường băng sáng trên đầu */
    border-top: none !important;
    box-shadow: none !important;

    padding-top: 40px !important;
    padding-bottom: 85px !important;
}

/* Xóa hoàn toàn hiệu ứng băng phía trên */
footer::before,
footer::after {
    content: none !important;
    display: none !important;
    animation: none !important;
}

/* Một lớp tuyết duy nhất bên dưới */
footer .tn-snow-ground {
    position: absolute !important;

    left: 0 !important;
    bottom: -1px !important;

    width: 100% !important;
    height: 85px !important;

    z-index: 1;
    pointer-events: none;

    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
}

/* Bỏ lớp sương trang trí cũ */
footer .tn-snow-ground::before,
footer .tn-snow-ground::after {
    content: none !important;
    display: none !important;
}

/* SVG tuyết */
footer .tn-snow-ground svg {
    display: block;
    width: 100%;
    height: 100%;
}

/* Giữ chữ rõ */
footer > .container {
    position: relative;
    z-index: 2;
}

/* Responsive */
@media (max-width: 768px) {
    footer {
        padding-top: 32px !important;
        padding-bottom: 65px !important;
    }

    footer .tn-snow-ground {
        height: 65px !important;
    }
}

/* ===== PHẦN 1: KHUNG SẢN PHẨM NOEL ===== */

.product-thumb {
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    padding-top: 38px !important;
    background: #ffffff !important;
    border: 2px solid #d9b15e !important;
    border-radius: 14px !important;
    overflow: hidden !important;
    box-shadow: 0 8px 24px rgba(0,0,0,.24);
    transition: transform .3s, box-shadow .3s;
    isolation: isolate;
}

/* Thanh đỏ có bông tuyết và ánh vàng */
.product-thumb::before {
    content: "✦  ❄   ✧   ❄  ✦";
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 38px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffdc88;
    font-size: 16px;
    letter-spacing: 4px;
    z-index: 3;
    pointer-events: none;

    background:
        radial-gradient(
            circle,
            rgba(255,225,137,.8) 1px,
            transparent 2px
        ) 0 0 / 28px 25px,
        linear-gradient(
            110deg,
            #a60017,
            #da0824 50%,
            #a60017
        );

    border-bottom: 1px solid #f1c675;
    text-shadow: 0 0 7px #ffe1a2;
}

/* Hover card */
.product-thumb:hover {
    transform: translateY(-5px);
    border-color: #f0cf7f !important;
    box-shadow:
        0 12px 30px rgba(0,0,0,.3),
        0 0 12px rgba(247,210,125,.3);
}

.product-layout {
    margin-bottom: 24px;
}

/* ===== PHẦN 2: LÁ HOLLY VÀ QUẢ ĐỎ ===== */

.product-thumb::after {
    content: "";
    position: absolute !important;
    top: -3px !important;
    left: -4px !important;
    width: 82px !important;
    height: 80px !important;
    z-index: 10;
    pointer-events: none;
    background-size: contain;
    background-position: left top;
    background-repeat: no-repeat;

    background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMTAgMTAyIj48ZGVmcz48bGluZWFyR3JhZGllbnQgaWQ9ImciIHgyPSIxIiB5Mj0iMSI+PHN0b3Agc3RvcC1jb2xvcj0iIzU5YWU2MyIvPjxzdG9wIG9mZnNldD0iMSIgc3RvcC1jb2xvcj0iIzA3NTAyYSIvPjwvbGluZWFyR3JhZGllbnQ+PHJhZGlhbEdyYWRpZW50IGlkPSJyIiBjeD0iLjI1IiBjeT0iLjIiIHI9Ii44NSI+PHN0b3Agc3RvcC1jb2xvcj0iI2ZmYmRiMiIvPjxzdG9wIG9mZnNldD0iLjI4IiBzdG9wLWNvbG9yPSIjZWUyZDM1Ii8+PHN0b3Agb2Zmc2V0PSIxIiBzdG9wLWNvbG9yPSIjOGIwMDE5Ii8+PC9yYWRpYWxHcmFkaWVudD48L2RlZnM+PGcgc3Ryb2tlPSIjMTU1MzJlIiBzdHJva2Utd2lkdGg9IjEuNCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgZmlsbD0idXJsKCNnKSI+PHBhdGggZD0iTTQ1IDUyIDIgMTQgMjEgMTYgMjIgMCAzNyAxOSA1MSAxMSA1MiAzMCA3MSAzN1oiLz48cGF0aCBkPSJNNTMgNTQgNzYgNSA4NCAyMSAxMDIgMTUgOTMgMzYgMTA5IDQ3IDg5IDU0IDkyIDcyWiIvPjxwYXRoIGQ9Ik01MCA1MyA5IDgxIDI2IDgzIDI4IDEwMSA0NCA4OCA2MSA5OCA2MiA3NiA3OCA3MFoiLz48L2c+PGcgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjYTZjYzg3IiBzdHJva2Utd2lkdGg9IjEuNSI+PHBhdGggZD0iTTU0IDY2IDIyIDE4TTU1IDYxIDkxIDM4TTU1IDYyIDI4IDg0Ii8+PC9nPjxnIGZpbGw9InVybCgjcikiIHN0cm9rZT0iI2Y1Yjc2YyIgc3Ryb2tlLXdpZHRoPSIxLjEiPjxjaXJjbGUgY3g9IjU2IiBjeT0iNTUiIHI9IjE0Ii8+PGNpcmNsZSBjeD0iNzgiIGN5PSI2MSIgcj0iMTQiLz48Y2lyY2xlIGN4PSI2MyIgY3k9Ijc3IiByPSIxNCIvPjwvZz48ZyBmaWxsPSIjZmZmM2U1IiBvcGFjaXR5PSIuODMiPjxjaXJjbGUgY3g9IjUxIiBjeT0iNDkiIHI9IjMuNSIvPjxjaXJjbGUgY3g9IjczIiBjeT0iNTUiIHI9IjMuNSIvPjxjaXJjbGUgY3g9IjU4IiBjeT0iNzEiIHI9IjMuNSIvPjwvZz48L3N2Zz4=");

    filter: drop-shadow(
        0 2px 2px rgba(0,0,0,.18)
    );
}


/* ===== PHẦN 3: ẢNH VÀ TRANG TRÍ ===== */

/* Nền hình sản phẩm */
.product-thumb .image {
    position: relative !important;
    width: 100%;
    margin: 0 !important;
    padding: 14px 12px 5px !important;
    background: #ffffff !important;
    overflow: hidden;
}

.product-thumb .image a {
    display: block;
    text-align: center;
}

.product-thumb .image img {
    display: block;
    width: 100% !important;
    height: 230px !important;
    object-fit: contain !important;
    margin: 0 auto;
    transition: transform .35s;
}

.product-thumb:hover .image img {
    transform: scale(1.035);
}

/* Bông tuyết vàng bên trái ảnh */
.product-thumb .image::before {
    content: "❄";
    position: absolute;
    top: 48%;
    left: 9px;
    z-index: 2;
    font-size: 24px;
    color: #d6ac55;
    opacity: .8;
    pointer-events: none;
    text-shadow:
        5px 75px 0 #e2bf78,
        0 110px 0 #d6ac55;
}

/* Quả châu vàng treo góc phải */
.product-thumb .image::after {
    content: "";
    position: absolute;
    top: 0;
    right: 13px;
    width: 34px;
    height: 75px;
    z-index: 4;
    pointer-events: none;

    background:
        linear-gradient(
            #e8cb89,
            #ba8b3c
        ) center top / 2px 48px no-repeat,

        radial-gradient(
            circle at 30% 25%,
            #fff9db 0%,
            #f0d089 18%,
            #dfa33f 43%,
            #ab601b 80%,
            #743c0e 100%
        ) center bottom / 27px 27px no-repeat;

    filter: drop-shadow(
        0 3px 3px rgba(0,0,0,.2)
    );
}

/* ===== PHẦN 4: CHỮ - GIÁ - NÚT MUA ===== */

/* Nền nội dung trắng */
.product-thumb .content,
.product-thumb .caption,
.product-thumb .description,
.product-thumb .button-group {
    background: #ffffff !important;
    text-shadow: none !important;
}

/* Nội dung card */
.product-thumb .content {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto;
    padding: 12px 14px 14px !important;
}

/* Tên sản phẩm */
.product-thumb h4,
.product-thumb h4 a {
    color: #1c1c1c !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1.45 !important;
    text-decoration: none !important;
    opacity: 1 !important;
}

.product-thumb h4 a:hover {
    color: #b5001e !important;
}

/* Ẩn mô tả dài trong card, giữ tên và giá */
.product-thumb .description > p:not(.price),
.product-thumb .caption > p:not(.price) {
    display: none !important;
}

/* Giá màu đỏ Noel */
.product-thumb .price,
.product-thumb .price-new {
    color: #c0001c !important;
    font-size: 20px !important;
    font-weight: 750 !important;
    text-shadow: none !important;
}

/* Giá phụ */
.product-thumb .price-old,
.product-thumb .price-tax,
.product-thumb .price small {
    color: #999999 !important;
    font-size: 12px !important;
    font-weight: 400 !important;
}

/* Khu nút mua */
.product-thumb .button-group {
    display: flex !important;
    gap: 6px;
    margin-top: auto !important;
    padding: 10px 0 0 !important;
    border: none !important;
}

/* Nút thêm vào giỏ */
.product-thumb .button-group button:first-child {
    flex: 1 1 auto;
    width: auto !important;
    min-height: 43px;
    background: linear-gradient(
        180deg,
        #16864c,
        #075b36
    ) !important;
    color: #ffffff !important;
    border: 1px solid #248c57 !important;
    border-radius: 7px !important;
    padding: 10px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    text-shadow: none !important;
    transition: background .3s, box-shadow .3s;
}

.product-thumb .button-group button:first-child:hover {
    background: #004e2e !important;
    box-shadow: 0 3px 12px rgba(0,90,50,.3);
}

.product-thumb .button-group button:first-child i,
.product-thumb .button-group button:first-child span {
    color: #ffffff !important;
}

/* Các nút phụ */
.product-thumb .button-group button:not(:first-child) {
    background: #f0f7f2 !important;
    color: #11633f !important;
    border: 1px solid #bfd7c7 !important;
    border-radius: 7px !important;
}

/* ===== PHẦN 5: DANH MỤC + MOBILE ===== */

/* Danh mục đang được chọn */
#column-left .list-group-item.active,
#column-left a.list-group-item.active {
    background: linear-gradient(
        100deg,
        #a90019,
        #d00a23
    ) !important;
    color: #ffffff !important;
    border-color: #be0a22 !important;
}

/* Nút so sánh sản phẩm */
#content #compare-total {
    background: #087044 !important;
    color: #ffffff !important;
    border-color: #087044 !important;
}

/* Hiển thị mobile */
@media (max-width: 767px) {

    .product-thumb {
        padding-top: 32px !important;
    }

    .product-thumb::before {
        height: 32px !important;
        font-size: 11px;
        letter-spacing: 2px;
    }

    .product-thumb::after {
        width: 60px !important;
        height: 57px !important;
    }

    .product-thumb .image img {
        height: 175px !important;
    }

    .product-thumb .image::after {
        width: 27px;
        height: 60px;
    }

    .product-thumb .content {
        padding: 10px !important;
    }

    .product-thumb h4,
    .product-thumb h4 a {
        font-size: 13px !important;
    }

    .product-thumb .price {
        font-size: 17px !important;
    }
}

/* Giảm chuyển động nếu thiết bị yêu cầu */
@media (prefers-reduced-motion: reduce) {
    .product-thumb,
    .product-thumb .image img {
        transition: none !important;
        transform: none !important;
    }
}



/* ===== THE NOMAD - CHI TIET SAN PHAM ===== */

/* Khung chính chỉ dành cho trang chi tiết */
#product-info.container {
    max-width: 1220px !important;
    width: calc(100% - 32px);
    margin: 26px auto 45px !important;
    padding: 25px 30px 35px !important;

 
background: rgba(0, 48, 19, 0.65) !important;

backdrop-filter: blur(7px);
-webkit-backdrop-filter: blur(7px);
    border: 1px solid rgba(216,183,120,.45);
    border-radius: 22px;
    box-shadow: 0 20px 55px rgba(0,0,0,.35);
    color: #fff9ec !important;
}

/* Breadcrumb trên nền navy */
#product-info .breadcrumb {
    background: transparent !important;
    padding: 4px 0 20px !important;
    margin-bottom: 10px !important;
    border: none !important;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

#product-info .breadcrumb a {
    color: #f5e8cf !important;
    font-size: 12px;
    font-weight: 600;
}

#product-info .breadcrumb-item,
#product-info .breadcrumb-item::before {
    color: #c9bba3 !important;
}


/* ===== BO CUC 2 COT ===== */

#product-info #content > .row.mb-3 {
    display: grid !important;
    grid-template-columns:
        minmax(0, 1.05fr)
        minmax(0, 1fr);
    gap: 40px;
    align-items: start;
    margin-bottom: 25px !important;
}

#product-info #content > .row.mb-3 > [class*="col"] {
    width: auto !important;
    max-width: none !important;
    min-width: 0;
    padding: 0 !important;
}

/* Ảnh sản phẩm */
#product-info .image > a:first-child {
    display: flex;
    justify-content: center;
    align-items: center;
    aspect-ratio: 1 / 1;
    background: #ffffff;
    border: 1px solid #c8a76a;
    border-radius: 16px;
    overflow: hidden;
}

#product-info .image > a:first-child img {
    width: 100% !important;
    height: 100% !important;
    max-height: 540px;
    object-fit: contain !important;
    border: none !important;
    border-radius: 15px;
    padding: 0 !important;
    margin: 0 !important;
}

/* Ảnh thu nhỏ phía dưới */
#product-info .image > div {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

#product-info .image > div a img {
    width: 78px !important;
    height: 78px !important;
    object-fit: cover;
    background: white;
    padding: 4px;
    border: 1px solid #b99a66 !important;
    border-radius: 11px;
}


/* ===== THONG TIN MUA HANG ===== */

/* Màu chữ thông tin */
#product-info #content > .row.mb-3 > [class*="col"]:last-child {
    color: #f8f3e8 !important;
}

/* Tên sản phẩm */
#product-info #content h1 {
    color: #fff9ee !important;
    font-size: clamp(25px, 2.4vw, 36px) !important;
    font-weight: 750 !important;
    line-height: 1.27 !important;
    margin: 0 0 18px !important;
    text-shadow: none !important;
}

/* Nhãn Noel phía trên tên */
#product-info #content h1::before {
    content: "✦  THE NOMAD CHRISTMAS";
    display: block;
    color: #e4c88d;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 14px;
}

/* Thông tin thương hiệu, tình trạng */
#product-info h1 + ul.list-unstyled {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

#product-info h1 + ul.list-unstyled li {
    background: #fffaf0 !important;
    color: #20314a !important;
    padding: 7px 12px;
    border-radius: 30px;
    font-size: 12px;
}

#product-info h1 + ul.list-unstyled a {
    color: #20314a !important;
}

/* Các dòng thông tin khác */
#product-info #content li,
#product-info #content p {
    color: #eee6d8;
}

/* Giá sản phẩm */
#product-info .price-new,
#product-info .list-unstyled h2 {
    color: #fff6e8 !important;
    font-size: 34px !important;
    font-weight: 800 !important;
    margin: 12px 0 !important;
}

#product-info .price-old {
    color: #c3b9af !important;
    text-decoration: line-through;
}

/* Sao đánh giá */
#product-info .rating i {
    color: #f6ce50 !important;
}

#product-info .rating a,
#product-info #content a:not(.btn):not(.nav-link) {
    color: #e9d4a1;
}

/* Đường ngăn */
#product-info hr {
    border: 0;
    border-top: 1px solid rgba(255,255,255,.4);
    opacity: 1;
    margin: 22px 0;
}

/* Ô nhập và số lượng */
#product-info .form-label {
    color: #fff5e5 !important;
    font-weight: 600;
}

#product-info .form-control,
#product-info .form-select {
    background: #fffdfa !important;
    color: #172541 !important;
    border: 1px solid #d8d0bd !important;
    border-radius: 12px !important;
    min-height: 44px;
}



/* ===== TAB MO TA VA DANH GIA ===== */

#product-info .nav-tabs {
    border-bottom: 1px solid rgba(255,255,255,.4);
    gap: 8px;
}

#product-info .nav-tabs .nav-link {
    color: #f5ecdb !important;
    background: transparent !important;
    border: 1px solid transparent;
    border-radius: 8px 8px 0 0;
    padding: 12px 18px;
    font-weight: 600;
}

#product-info .nav-tabs .nav-link.active {
    color: #10233f !important;
    background: #fffaf0 !important;
    border-color: #fffaf0 !important;
}

/* Nội dung mô tả */
#product-info .tab-content {
    color: #f5eddf !important;
    padding: 22px 6px;
    line-height: 1.8;
}

#product-info .tab-content p,
#product-info .tab-content h2,
#product-info .tab-content h3,
#product-info .tab-content li {
    color: #f5eddf !important;
}

/* Bảng thông số nếu có */
#product-info .tab-content table {
    background: #fffaf0;
    color: #17233d;
}

#product-info .tab-content table td,
#product-info .tab-content table th {
    color: #17233d !important;
}

/* Responsive điện thoại */
@media (max-width: 767px) {
    #product-info.container {
        width: calc(100% - 20px);
        padding: 16px !important;
        border-radius: 15px;
    }

    #product-info #content > .row.mb-3 {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    #product-info #content h1 {
        font-size: 26px !important;
    }

    #product-info .price-new,
    #product-info .list-unstyled h2 {
        font-size: 28px !important;
    }
}



/* ===================================
   THE NOMAD - BUY AREA FINAL
   2 ICON + QUANTITY + FULL CART
=================================== */

#product-info .tn-purchase {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
    width: 100%;
    margin: 20px 0 !important;
    padding: 0 !important;
    background: transparent !important;
}

/* Hàng đầu: mọi nút nằm sát nhau */
#product-info .tn-purchase-top {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    width: 100% !important;
}


/* Hai nút biểu tượng */

#product-info .tn-purchase-actions {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    flex: 0 0 auto !important;
    gap: 10px !important;
    visibility: visible !important;
    opacity: 1 !important;
}

#product-info .tn-purchase-actions .btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 48px !important;
    width: 48px !important;
    height: 48px !important;
    margin: 0 !important;
    padding: 0 !important;

    background: #fff9ef !important;
    color: #17472f !important;
    border: 1px solid #ddbf81 !important;
    border-radius: 13px !important;

    box-shadow: 0 3px 10px rgba(0,0,0,.12);
    cursor: pointer;
    transition: .2s ease;
}

#product-info .tn-purchase-actions .btn i {
    color: #17472f !important;
    font-size: 18px;
}

#product-info .tn-purchase-actions .btn:hover {
    background: #e9dbbe !important;
    transform: translateY(-2px);
}

/* Ô số lượng sát nút so sánh */
#product-info .tn-quantity-stepper {
    display: grid !important;
    grid-template-columns: 40px 48px 40px !important;
    align-items: center !important;

    flex: 0 0 128px !important;
    width: 128px !important;
    height: 48px !important;
    margin: 0 !important;
    padding: 0 !important;

    background: #fff9ef !important;
    border: 1px solid #ddbf81 !important;
    border-radius: 999px !important;
    overflow: hidden !important;
    box-shadow: 0 3px 10px rgba(0,0,0,.12);
}

/* Nút cộng trừ */
#product-info .tn-stepper-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px !important;
    height: 46px !important;
    padding: 0 !important;
    margin: 0 !important;

    background: transparent !important;
    color: #17472f !important;
    border: none !important;
    border-radius: 0 !important;

    font-size: 23px !important;
    font-weight: 600;
    cursor: pointer;
}

#product-info .tn-stepper-btn:hover:not(:disabled) {
    background: #ebddc0 !important;
}

#product-info .tn-stepper-btn:disabled {
    opacity: .35;
    cursor: not-allowed;
}

/* Số chính giữa */
#product-info .tn-quantity-stepper #input-quantity {
    display: block !important;
    width: 48px !important;
    min-width: 0 !important;
    max-width: 48px !important;
    height: 46px !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;

    flex: none !important;
    background: transparent !important;
    color: #17472f !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    text-align: center !important;

    font-size: 16px !important;
    font-weight: 700 !important;
    appearance: textfield;
    -moz-appearance: textfield;
}

/* Ẩn spinner mặc định */
#product-info #input-quantity::-webkit-inner-spin-button,
#product-info #input-quantity::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Nút thêm giỏ hàng toàn chiều ngang */
#product-info .tn-purchase #button-cart {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;

    flex: none !important;
    width: 100% !important;
    max-width: none !important;
    min-height: 54px !important;

    margin: 0 !important;
    padding: 12px 20px !important;

    background: #fff9ef !important;
    color: #17472f !important;
    border: 1px solid #ddbf81 !important;
    border-radius: 999px !important;

    font-size: 16px !important;
    font-weight: 700 !important;
    box-shadow: 0 5px 15px rgba(0,0,0,.14);
    transition: .2s ease;
}

#product-info .tn-purchase #button-cart i {
    color: #17472f !important;
}

#product-info .tn-purchase #button-cart:hover {
    background: #e9d9b7 !important;
    color: #17472f !important;
    transform: translateY(-2px);
}

#product-info .tn-purchase #error-quantity:empty {
    display: none;
}

/* Mobile */
@media (max-width: 767px) {
    #product-info .tn-purchase-top {
        gap: 8px !important;
    }

    #product-info .tn-purchase-actions {
        gap: 8px;
    }

    #product-info .tn-purchase-actions .btn {
        flex-basis: 42px !important;
        width: 42px !important;
        height: 42px !important;
    }

    #product-info .tn-purchase #button-cart {
        min-height: 48px !important;
        font-size: 14px !important;
    }
}


/* FIX ANH PHONG TO BI HEADER NOEL CHE */

.mfp-bg {
    z-index: 200000 !important;
    background: #000 !important;
    opacity: 0.85 !important;
}

.mfp-wrap {
    z-index: 200001 !important;
}

.mfp-container {
    z-index: 200002 !important;
}

.mfp-wrap .mfp-close,
.mfp-wrap .mfp-arrow {
    z-index: 200003 !important;
}



/* ==========================================
   THE NOMAD - CENTER SPECIAL & BLOG
   ========================================== */

/* 1. CAN GIUA TIEU DE */

#common-home #content h3 {
    display: block !important;
    width: 100% !important;

    text-align: center !important;
    margin: 40px auto 28px !important;
    padding: 0 0 12px !important;

    color: #fff6e5 !important;
font-family: "Times New Roman", serif !important;
    font-size: 28px !important;
    font-weight: 600 !important;
    letter-spacing: 2px;

    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    text-shadow: 0 3px 10px rgba(0,0,0,.8);
}

#common-home #content h3::before {
    content: none !important;
}

#common-home #content h3::after {
    content: "";
    display: block;
    width: 80px;
    height: 2px;
    background: #e1bf80;
    margin: 12px auto 0 !important;
    border-radius: 5px;
}


/* 2. CAN GIUA DANH SACH SAN PHAM */

#common-home #content
.row:has(> .product-layout),

#common-home #content
.row:has(> .col .product-thumb),

#common-home #content
.row:has(> [class*="col-"] .product-thumb) {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: stretch !important;

    gap: 20px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}


/* 3. KICH THUOC THE SAN PHAM */

#common-home #content
.row:has(> .product-layout) > .product-layout,

#common-home #content
.row:has(> .col .product-thumb) > .col,

#common-home #content
.row:has(> [class*="col-"] .product-thumb)
> [class*="col-"] {
    float: none !important;
    flex: 0 0 245px !important;
    width: 245px !important;
    max-width: 100% !important;
    padding: 0 !important;
}

#common-home #content .product-thumb {
    width: 100%;
    height: 100%;
}


/* 4. CAN GIUA BLOG */

#common-home #content
.row:has(> .blog-layout),

#common-home #content
.row:has(> .col .blog-thumb),

#common-home #content
.row:has(> [class*="col-"] .blog-thumb) {
    display: flex !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 20px !important;
}

#common-home #content
.row:has(> .blog-layout) > .blog-layout,

#common-home #content
.row:has(> .col .blog-thumb) > .col,

#common-home #content
.row:has(> [class*="col-"] .blog-thumb)
> [class*="col-"] {
    float: none !important;
    flex: 0 0 245px !important;
    width: 245px !important;
    max-width: 100% !important;
}


/* 5. GIAO DIEN DIEN THOAI */

@media (max-width: 768px) {

    #common-home #content h3 {
        font-size: 23px !important;
        margin-top: 30px !important;
    }

    #common-home #content
    .row:has(> .product-layout) > .product-layout,

    #common-home #content
    .row:has(> .col .product-thumb) > .col,

    #common-home #content
    .row:has(> [class*="col-"] .product-thumb)
    > [class*="col-"] {
        flex: 0 0 calc(50% - 10px) !important;
        width: calc(50% - 10px) !important;
    }
}




/* ========================================
   THE NOMAD - CHRISTMAS SEPARATE SECTIONS
   ======================================== */

/* 1. BO KHUNG XANH LON BAO CA TRANG */

#common-home #content {
    background: transparent !important;
    background-image: none !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;

    padding: 0 15px !important;
    margin-top: 0 !important;
    margin-bottom: 55px !important;
}

/* 2. TAO KHOANG CACH GIUA CAC BANNER */

#common-home #content
.swiper-viewport:has([id^="slideshow"]) {
    margin-bottom: 38px !important;
    background: rgba(0,48,19,.55) !important;
    border: 1px solid #d5b36f !important;
    border-radius: 15px !important;
    padding: 6px !important;
    box-shadow: 0 8px 24px rgba(0,0,0,.18) !important;
}

/* Banner hinh anh */
#common-home #content .tn-banner-promo {
    margin-bottom: 30px !important;
}


/* 3. TIEU DE MOI SECTION */

#common-home #content h3 {
    display: block !important;
    width: 100% !important;

    text-align: center !important;
    margin: 48px auto 20px !important;
    padding: 0 !important;
font-family: "Times New Roman", serif !important;
    font-size: 29px !important;
    font-weight: 600 !important;
    letter-spacing: 2px;

    color: #fff4dc !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    text-shadow: 0 3px 12px rgba(0,0,0,.85);
}

/* Dong chu Noel nho */
#common-home #content h3::before {
    content: "✦ THE NOMAD CHRISTMAS ✦" !important;
    display: block !important;
    position: static !important;

    width: auto !important;
    height: auto !important;
    margin: 0 auto 10px !important;

    background: none !important;
    color: #f0cf8c !important;
    font-size: 10px !important;
    letter-spacing: 3px;
}

/* Gach vang ben duoi */
#common-home #content h3::after {
    content: "" !important;
    display: block !important;
    width: 75px !important;
    height: 2px !important;
    margin: 12px auto 0 !important;
    background: #d5b36f !important;
    border: none !important;
}


/* 4. SECTION SPECIAL RIENG */

#common-home #content .row.tn-special-grid {
    display: flex !important;
    justify-content: center !important;
    align-items: stretch !important;
    flex-wrap: wrap !important;

    width: 100% !important;
    max-width: 1140px !important;

    gap: 25px !important;
    padding: 35px 30px !important;
    margin: 0 auto 65px !important;

    background: rgba(0,48,19,.83) !important;

    border: 1px solid rgba(220,183,110,.65) !important;
    border-radius: 18px !important;

    box-shadow: 0 12px 30px rgba(0,0,0,.2) !important;
    backdrop-filter: blur(5px);
}

/* Ba san pham can giua */
#common-home #content
.row.tn-special-grid > .product-layout,
#common-home #content
.row.tn-special-grid > .col,
#common-home #content
.row.tn-special-grid > [class*="col-"] {
    float: none !important;
    flex: 0 1 265px !important;
    width: 265px !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Giu the san pham Noel */
#common-home #content
.tn-special-grid .product-thumb {
    width: 100% !important;
    height: 100% !important;
}



/* =====================================
   THE NOMAD - CHRISTMAS BEAUTY BLOG
   ===================================== */

/* KHUNG BLOG RIENG */
#common-home #content .tn-blog-grid {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;

    width: 100% !important;
    max-width: 1140px !important;
    margin: 0 auto 65px !important;
    padding: 35px 30px !important;
    gap: 25px !important;

    background: linear-gradient(
        135deg,
        rgba(0,48,19,.90),
        rgba(37,52,31,.90)
    ) !important;

    border: 1px solid #c9a667 !important;
    border-radius: 18px !important;
    box-shadow: 0 12px 30px rgba(0,0,0,.2);
}

/* SUA LOI COT BLOG BI EP HEP */
#common-home #content .tn-blog-grid > *,
#common-home #content .tn-blog-grid
:is(.product-layout,.blog-layout,[class*="col-"])
:has(.product-thumb) {
    float: none !important;
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    padding: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box;
}

/* NEU BLOG CO ROW LONG NHAU */
#common-home #content .tn-blog-grid .row {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    width: 100% !important;
    margin: 0 !important;
}

/* THE BAI VIET NGANG */
#common-home #content .tn-blog-grid .product-thumb {
    display: grid !important;
    grid-template-columns:
        minmax(0, 42%) minmax(0, 1fr) !important;

    width: 100% !important;
    max-width: 820px !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 270px !important;

    margin: 0 auto !important;
    padding: 0 !important;

    background: #fff9ef !important;
    border: 1px solid #d5b36f !important;
    border-radius: 14px !important;
    overflow: hidden !important;

    box-shadow: 0 8px 25px rgba(0,0,0,.2);
}

/* BO THANH DO VA LA HOLLY CUA CARD SAN PHAM */
#common-home #content .tn-blog-grid
.product-thumb::before,
#common-home #content .tn-blog-grid
.product-thumb::after,
#common-home #content .tn-blog-grid
.image::before,
#common-home #content .tn-blog-grid
.image::after {
    content: none !important;
    display: none !important;
}

/* ANH BLOG BEN TRAI */
#common-home #content .tn-blog-grid
.product-thumb > .image {
    grid-column: 1 !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #e9e2d7 !important;
}

#common-home #content .tn-blog-grid
.product-thumb > .image a {
    display: block;
    height: 100%;
}

#common-home #content .tn-blog-grid
.product-thumb .image img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 270px;
    object-fit: cover !important;
}

/* NOI DUNG BLOG BEN PHAI */
#common-home #content .tn-blog-grid
.product-thumb > .content,
#common-home #content .tn-blog-grid
.product-thumb > .caption {
    grid-column: 2 !important;
    min-width: 0 !important;

    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: flex-start !important;

    padding: 30px 35px !important;
    background: #fff9ef !important;
}

/* TEN BAI VIET */
#common-home #content .tn-blog-grid
.product-thumb h4,
#common-home #content .tn-blog-grid
.product-thumb h4 a {
font-family: "Times New Roman", serif !important;
    font-size: 24px !important;
    font-weight: 700 !important;
    line-height: 1.45 !important;

    color: #532b2e !important;
    text-align: left !important;

    word-break: normal !important;
    overflow-wrap: break-word !important;
    white-space: normal !important;
}

/* NHAN NOEL TREN TIEU DE */
#common-home #content .tn-blog-grid
.product-thumb h4::before {
    content: "✦ HOLIDAY BEAUTY TIPS";
    display: block;

    margin-bottom: 14px;
    font-family: Arial, sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    color: #af8545;
}

/* HIEN MO TA BAI VIET */
#common-home #content .tn-blog-grid
.description > p:not(.price),
#common-home #content .tn-blog-grid
.caption > p:not(.price) {
    display: block !important;
    color: #78665c !important;
    font-size: 14px !important;
    line-height: 1.7 !important;
}

/* KHONG HIEN NUT MUA CUA SAN PHAM */
#common-home #content .tn-blog-grid
.product-thumb .button-group {
    display: none !important;
}

/* MOBILE */
@media (max-width: 768px) {
    #common-home #content .tn-blog-grid {
        padding: 18px 14px !important;
    }

    #common-home #content .tn-blog-grid
    .product-thumb {
        grid-template-columns: minmax(0,1fr) !important;
        max-width: 420px !important;
    }

    #common-home #content .tn-blog-grid
    .product-thumb > .image,
    #common-home #content .tn-blog-grid
    .product-thumb > .content,
    #common-home #content .tn-blog-grid
    .product-thumb > .caption {
        grid-column: 1 !important;
    }

    #common-home #content .tn-blog-grid
    .product-thumb .image img {
        height: 220px !important;
        min-height: 0 !important;
    }

    #common-home #content .tn-blog-grid
    .product-thumb > .content,
    #common-home #content .tn-blog-grid
    .product-thumb > .caption {
        padding: 24px !important;
    }

    #common-home #content .tn-blog-grid
    .product-thumb h4 {
        font-size: 20px !important;
    }
}



/* 6. THUONG HIEU THANH KHU RIENG */

#common-home #content
.swiper-viewport:has([id^="carousel"]) {
    width: 100% !important;
    max-width: 1140px !important;

    margin: 35px auto 50px !important;
    padding: 22px !important;

    background: rgba(0,48,19,.8) !important;
    border: 1px solid #d5b36f !important;
    border-radius: 16px !important;

    box-shadow: 0 8px 25px rgba(0,0,0,.2) !important;
}


/* 7. RESPONSIVE */

@media (max-width: 767px) {

    #common-home #content {
        padding: 0 12px !important;
    }

    #common-home #content h3 {
        font-size: 22px !important;
        margin-top: 35px !important;
    }

    #common-home #content .row.tn-special-grid,
    #common-home #content .row.tn-blog-grid {
        padding: 20px 12px !important;
        gap: 12px !important;
        margin-bottom: 45px !important;
    }

    #common-home #content
    .row.tn-special-grid > .product-layout,
    #common-home #content
    .row.tn-special-grid > .col,
    #common-home #content
    .row.tn-special-grid > [class*="col-"] {
        flex: 0 1 calc(50% - 6px) !important;
        width: calc(50% - 6px) !important;
    }

    #common-home #content
    .tn-blog-grid .product-thumb,
    #common-home #content
    .tn-blog-grid .blog-thumb {
        grid-template-columns: minmax(0,1fr) !important;
    }

    #common-home #content
    .tn-blog-grid .product-thumb > .image,
    #common-home #content
    .tn-blog-grid .blog-thumb > .image,
    #common-home #content
    .tn-blog-grid .product-thumb > .content,
    #common-home #content
    .tn-blog-grid .product-thumb > .caption,
    #common-home #content
    .tn-blog-grid .blog-thumb > .content,
    #common-home #content
    .tn-blog-grid .blog-thumb > .caption {
        grid-column: 1 !important;
    }
}



/* ====================================
   THE NOMAD - BLOG HERO FIX
   ==================================== */

/* An the blog cu SAU KHI da tao the moi */
#common-home #content
.tn-blog-grid.tn-blog-replaced {
    display: none !important;
}

/* Banner blog moi - doc lap */
#common-home #content .tn-noel-blog-feature {
    box-sizing: border-box;
    display: grid !important;
    grid-template-columns: minmax(0, 45%) minmax(0, 55%) !important;

    width: 100% !important;
    max-width: 1140px !important;
    min-height: 320px !important;

    margin: 0 auto 65px !important;
    padding: 0 !important;

    background: #752334 !important;
    border: 2px solid #d5b36f !important;
    border-radius: 16px !important;
    overflow: hidden !important;

    box-shadow: 0 12px 35px rgba(0,0,0,.25);
}

/* Anh blog ben trai */
#common-home #content .tn-noel-blog-photo {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-width: 0 !important;
    overflow: hidden;
    background: #e8d8c4;
}

#common-home #content .tn-noel-blog-photo img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 320px !important;

    object-fit: cover !important;
    object-position: center;
    transition: transform .4s ease;
}

#common-home #content
.tn-noel-blog-photo:hover img {
    transform: scale(1.04);
}

/* Phan noi dung ben phai */
#common-home #content .tn-noel-blog-info {
    box-sizing: border-box;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: flex-start !important;

    width: 100% !important;
    min-width: 0 !important;
    padding: 22px 28px !important;

    background: linear-gradient(
        135deg,
        #852b3a,
        #561b2c
    ) !important;
}

/* Dong chu nho */
#common-home #content .tn-noel-blog-label {
    margin-bottom: 17px !important;
    color: #ead09c !important;
    font-size: 11px !important;
    font-weight: 600;
    letter-spacing: 2px;
}

/* Tieu de */
#common-home #content .tn-noel-blog-name {
    width: 100% !important;
    margin: 0 0 18px !important;
    padding: 0 !important;

    color: #fff5e5 !important;
font-family: "Times New Roman", serif !important;
  font-size: 25px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    letter-spacing: 0 !important;
    text-align: left !important;

    word-break: normal !important;
    overflow-wrap: break-word !important;
    text-shadow: none !important;
}

#common-home #content
.tn-noel-blog-name::before,
#common-home #content
.tn-noel-blog-name::after {
    content: none !important;
    display: none !important;
}

/* Mo ta ngan gon */
#common-home #content .tn-noel-blog-excerpt {
    color: #f4e4d9 !important;
    font-size: 14px !important;
    line-height: 1.7 !important;
    margin: 0 0 25px !important;

    display: -webkit-box !important;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    overflow: hidden;
}

/* Nut doc bai */
#common-home #content .tn-noel-blog-button {
    display: inline-block !important;
    width: auto !important;

    padding: 13px 28px !important;

    background: #fff1d5 !important;
    color: #692335 !important;
    border: 1px solid #e4c58e;
    border-radius: 6px !important;

    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: 1px;
    text-decoration: none !important;
    transition: .25s ease;
}

#common-home #content .tn-noel-blog-button:hover {
    background: #e4c58e !important;
    transform: translateY(-2px);
}

/* Dien thoai */
@media (max-width: 768px) {
    #common-home #content .tn-noel-blog-feature {
        grid-template-columns: minmax(0,1fr) !important;
    }

    #common-home #content .tn-noel-blog-photo img {
        height: 240px !important;
        min-height: 0 !important;
    }

    #common-home #content .tn-noel-blog-info {
        padding: 25px 22px !important;
    }

    #common-home #content .tn-noel-blog-name {
        font-size: 24px !important;
    }
}


/* ===== FIX DUPLICATE BLOG ===== */

/* An hoan toan danh sach blog cu */
#common-home #content
.row.tn-blog-grid.tn-blog-replaced,
#common-home #content
.tn-blog-grid.tn-blog-replaced {
    display: none !important;
}

/* =====================================
   THE NOMAD - CHRISTMAS BLOG SLIDER
   ===================================== */

/* An blog cu */
#common-home #content
.tn-blog-grid.tn-blog-replaced {
    display: none !important;
}

/* Blog chay ngang, khong xuong hang */
#common-home #content .tn-noel-blog-list {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;

    width: 100% !important;
    max-width: 820px !important;

    margin: 0 auto 12px !important;
    padding: 0 !important;
    gap: 0 !important;

    overflow-x: auto !important;
    overflow-y: hidden !important;

    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

#common-home #content
.tn-noel-blog-list::-webkit-scrollbar {
    display: none;
}

/* Moi lan chi hien mot blog */

#common-home #content
.tn-noel-blog-list > .tn-noel-blog-feature {
    flex: 0 0 100% !important;
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;

    height: 350px !important;
    min-height: 0 !important;
    max-height: 350px !important;

    margin: 0 !important;
    padding: 0 !important;

    box-sizing: border-box !important;
    overflow: hidden !important;
    scroll-snap-align: start;
    scroll-snap-stop: always;
}


@media (max-width: 768px) {
    #common-home #content
    .tn-noel-blog-list > .tn-noel-blog-feature {
        height: auto !important;
        max-height: none !important;
    }
}


/* Dieu khien slider */
#common-home #content .tn-blog-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;

    margin: 0 auto 50px;
}

/* Nut trai phai */
#common-home #content .tn-blog-arrow {
    width: 38px;
    height: 38px;

    border: 1px solid #d5b36f;
    border-radius: 50%;

    background: #003013;
    color: #f5dfac;
    font-size: 24px;

    cursor: pointer;
    transition: .25s;
}

#common-home #content .tn-blog-arrow:hover {
    background: #8b2333;
    color: white;
}

/* Cac cham slide */
#common-home #content .tn-blog-dots {
    display: flex;
    gap: 9px;
    align-items: center;
}

#common-home #content .tn-blog-dot {
    width: 9px;
    height: 9px;
    padding: 0;

    background: #d0b88c;
    border: none;
    border-radius: 50%;

    opacity: .6;
    cursor: pointer;
    transition: .3s;
}

#common-home #content
.tn-blog-dot.active {
    width: 24px;
    border-radius: 12px;
    opacity: 1;
    background: #f5d48f;
}

@media (max-width: 768px) {
    #common-home #content .tn-blog-controls {
        margin-bottom: 35px;
    }
}



/* ===== BLOG SLIDER BUTTONS - CHRISTMAS ===== */

/* Can giua cum nut */
#common-home #content .tn-blog-controls {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 15px !important;

    width: fit-content !important;
    margin: 16px auto 48px !important;
    padding: 0 !important;

    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

/* Hai nut mui ten */
#common-home #content .tn-blog-arrow {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 42px !important;
    height: 42px !important;
    padding: 0 !important;

    background: #76283a !important;
    color: #fff1d5 !important;

    border: 1px solid #e7c98b !important;
    border-radius: 50% !important;

    font-size: 0 !important;
    cursor: pointer;

    box-shadow: 0 4px 12px rgba(0,0,0,.22);
    transition: all .25s ease;
}

/* Ve mui ten dep, khong dung ky tu cu */
#common-home #content .tn-blog-arrow::before {
    content: "";
    display: block;
    width: 10px;
    height: 10px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
}

/* Mui ten trai */
#common-home #content
.tn-blog-arrow:first-child::before {
    transform: rotate(-135deg);
    margin-left: 4px;
}

/* Mui ten phai */
#common-home #content
.tn-blog-arrow:last-child::before {
    transform: rotate(45deg);
    margin-right: 4px;
}

/* Hover */
#common-home #content .tn-blog-arrow:hover {
    background: #a13649 !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 16px rgba(231,201,139,.3);
}

/* Nen chua cac cham */
#common-home #content .tn-blog-dots {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;

    padding: 10px 13px !important;
    background: rgba(0,48,19,.85) !important;
    border: 1px solid rgba(231,201,139,.5);
    border-radius: 30px;
}

/* Cham binh thuong */
#common-home #content .tn-blog-dot {
    width: 8px !important;
    height: 8px !important;
    padding: 0 !important;
    background: #93a18a !important;
    border: none !important;
    border-radius: 50% !important;
    opacity: .7 !important;
    transition: all .3s ease;
}

/* Cham dang hien thi */
#common-home #content .tn-blog-dot.active {
    width: 25px !important;
    height: 8px !important;
    background: #f1d49a !important;
    border-radius: 20px !important;
    opacity: 1 !important;
}



/* ===== BLOG IMAGE QUALITY ===== */

#common-home #content .tn-noel-blog-photo {
    overflow: hidden !important;
}

#common-home #content .tn-noel-blog-photo img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;

    object-fit: cover !important;
    object-position: center !important;

    filter: none !important;
    image-rendering: auto !important;
    transform: none !important;
}



/* =========================================
   THE NOMAD - CHRISTMAS BLOG DETAIL
   ========================================= */

/* 1. KHUNG NOI DUNG BAI VIET */

body.tn-article-detail #content {
    width: calc(100% - 30px) !important;
    max-width: 1050px !important;

    margin: 35px auto 65px !important;
    padding: 45px 55px 60px !important;

    background: #fffaf1 !important;
    background-image: none !important;

    border: 1px solid #d5b36f !important;
    border-radius: 20px !important;

    box-shadow: 0 15px 45px rgba(0,0,0,.25);
    box-sizing: border-box;
}

/* 2. THANH DUONG DAN BREADCRUMB */

body.tn-article-detail #content .breadcrumb {
    background: transparent !important;
    border: none !important;
    border-bottom: 1px solid #e6d7b9 !important;
    border-radius: 0 !important;

    padding: 0 0 18px !important;
    margin: 0 0 28px !important;
}

body.tn-article-detail #content .breadcrumb a {
    color: #8a6947 !important;
    text-decoration: none;
}

body.tn-article-detail #content .breadcrumb a:hover {
    color: #8b283b !important;
}

/* 3. TIEU DE CHINH */

body.tn-article-detail #content h1 {
    color: #632b39 !important;
font-family: "Times New Roman", serif !important;
    font-size: clamp(26px, 3vw, 38px) !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;

    text-align: center !important;
    margin: 15px auto 30px !important;

    text-shadow: none !important;
}

/* 4. HINH ANH BAI VIET */

body.tn-article-detail #content .img-thumbnail {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    box-shadow: none !important;
}

body.tn-article-detail #content .image,
body.tn-article-detail #content .text-center {
    background: transparent !important;
}

body.tn-article-detail #content img {
    max-width: 100% !important;
    height: auto !important;
    border-radius: 12px;
    object-fit: contain;
}

/* 5. NOI DUNG CHU DE DOC */

body.tn-article-detail #content p,
body.tn-article-detail #content li {
    color: #40352e !important;
    font-family: Arial, sans-serif !important;
    font-size: 16px !important;
    line-height: 1.9 !important;

    text-align: left;
    overflow-wrap: break-word;
}

/* Sua mau va co chu duoc chen tu editor */
body.tn-article-detail #content p span,
body.tn-article-detail #content li span {
    color: inherit !important;
    font-size: inherit !important;
    line-height: inherit !important;
}

/* 6. TIEU DE CAC BUOC CHAM SOC DA */

body.tn-article-detail #content h2,
body.tn-article-detail #content h3,
body.tn-article-detail #content h4 {
    color: #713041 !important;
font-family: "Times New Roman", serif !important;
    font-weight: 700 !important;
    line-height: 1.45 !important;

    margin: 30px 0 16px !important;
    text-align: left !important;

    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    text-shadow: none !important;
}

/* Khong dung trang tri Noel cua tieu de trang chu */
body.tn-article-detail #content h3::before,
body.tn-article-detail #content h3::after {
    content: none !important;
    display: none !important;
}

body.tn-article-detail #content h2 {
    font-size: 25px !important;
}

body.tn-article-detail #content h3 {
    font-size: 21px !important;
}

/* 7. CAC LIEN KET TRONG BAI */

body.tn-article-detail #content p a,
body.tn-article-detail #content li a {
    color: #8b283b !important;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* 8. MOBILE */

@media (max-width: 768px) {
    body.tn-article-detail #content {
        width: calc(100% - 24px) !important;
        padding: 24px 18px 35px !important;
        margin: 20px auto 40px !important;
        border-radius: 14px !important;
    }

    body.tn-article-detail #content h1 {
        font-size: 26px !important;
    }

    body.tn-article-detail #content h2 {
        font-size: 21px !important;
    }

    body.tn-article-detail #content p,
    body.tn-article-detail #content li {
        font-size: 15px !important;
        line-height: 1.8 !important;
    }
}



/* =====================================
   THE NOMAD - EDITORIAL BLOG DETAIL
   ===================================== */

/* LAYOUT TRANG BAI VIET */
#cms-blog.container {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 24px 60px !important;
}

/* BREADCRUMB */
#cms-blog > .breadcrumb {
    max-width: 1440px;
    margin: 25px auto !important;
    padding: 12px 20px !important;
    background: #faf5ec !important;
    border-radius: 8px;
}

#cms-blog > .row {
    margin: 0 !important;
}

/* BO KHUNG NOI DUNG CU */
#cms-blog #content {
    width: 100% !important;
    max-width: 100% !important;
    flex: 1 1 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

/* SECTION HERO */
#cms-blog #content .tn-magazine-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;

    width: 100%;
    max-width: 1440px;
    min-height: 480px;
    margin: 0 auto 28px;

    background: #f6eee3;
    overflow: hidden;
    border-radius: 12px;
}

/* ANH BEN TRAI */
#cms-blog #content .tn-magazine-photo {
    min-width: 0;
    overflow: hidden;
    background: #e9e1d7;
}

#cms-blog #content .tn-magazine-photo img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 480px;
    object-fit: cover;
    border-radius: 0 !important;
}

/* GIOI THIEU BEN PHAI */
#cms-blog #content .tn-magazine-intro {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;

    padding: 65px 9%;
    background: #f6eee3;
}

/* NHAN NHO */
#cms-blog #content .tn-magazine-eyebrow {
    color: #a17e4f;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 26px;
}

/* TIEU DE */
#cms-blog #content .tn-magazine-intro h1 {
    
font-family: "Times New Roman", serif !important;

    font-size: clamp(30px, 3.2vw, 52px) !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    color: #6d2939 !important;

    text-align: left !important;
    margin: 0 0 24px !important;
    text-shadow: none !important;
}

#cms-blog #content .tn-magazine-meta {
    font-size: 13px !important;
    color: #75685f !important;
}

#cms-blog #content .tn-magazine-line {
    width: 80px;
    height: 2px;
    margin: 24px 0;
    background: #c5a56c;
}

#cms-blog #content .tn-magazine-tagline {
    color: #9d784f !important;
    font-size: 12px !important;
    letter-spacing: 2px;
}

/* NOI DUNG CHINH */
#cms-blog #content .tn-magazine-body {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;

    padding: 35px clamp(22px, 6%, 90px);
    background: #faf6ee !important;
    border-radius: 12px;
    box-sizing: border-box;
}

/* VAN BAN THONG THUONG */
#cms-blog #content .tn-magazine-body p,
#cms-blog #content .tn-magazine-body li {
    color: #403931 !important;
    font-size: 16px !important;
    line-height: 1.9 !important;
    word-break: normal;
}

#cms-blog #content .tn-magazine-body h2,
#cms-blog #content .tn-magazine-body h3 {
    color: #712d40 !important;
    text-shadow: none !important;
    text-align: left !important;
    margin: 28px 0 16px !important;
}

/* TAT TRANG TRI H3 NOEL CU */
#cms-blog #content .tn-magazine-body h3::before,
#cms-blog #content .tn-magazine-body h3::after {
    content: none !important;
}

/* CAC SECTION ANH VA CHU */
#cms-blog #content .tn-magazine-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;

    width: 100%;
    margin: 30px auto;
    min-height: 430px;

    background: #f1e8dc;
    border-radius: 10px;
    overflow: hidden;
}

/* ANH TRONG SECTION */
#cms-blog #content .tn-magazine-section
.tn-magazine-section-photo {
    min-width: 0;
    overflow: hidden;
}

#cms-blog #content .tn-magazine-section
.tn-magazine-section-photo img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 430px;
    object-fit: cover !important;
    border-radius: 0 !important;
}

/* NOI DUNG CUA MOI SECTION */
#cms-blog #content .tn-magazine-section
.tn-magazine-section-text {
    display: flex;
    flex-direction: column;
    justify-content: center;

    min-width: 0;
    padding: 45px 9%;
}

#cms-blog #content .tn-magazine-section
.tn-magazine-section-text h2 {
font-family: "Noto Serif", "Times New Roman", serif !important;
    font-size: clamp(24px, 2.5vw, 38px) !important;
    color: #712d40 !important;
    line-height: 1.3 !important;
}

/* DAO VI TRI ANH - CHU */
#cms-blog #content .tn-magazine-section.reverse
.tn-magazine-section-photo {
    order: 2;
}

#cms-blog #content .tn-magazine-section.reverse
.tn-magazine-section-text {
    order: 1;
}

/* RESPONSIVE */
@media (max-width: 768px) {

    #cms-blog.container {
        padding: 0 12px 35px !important;
    }

    #cms-blog #content .tn-magazine-hero,
    #cms-blog #content .tn-magazine-section {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    #cms-blog #content .tn-magazine-photo img,
    #cms-blog #content .tn-magazine-section
    .tn-magazine-section-photo img {
        height: 260px !important;
        min-height: 0 !important;
    }

    #cms-blog #content .tn-magazine-intro,
    #cms-blog #content .tn-magazine-section
    .tn-magazine-section-text {
        padding: 28px 24px;
    }

    #cms-blog #content .tn-magazine-section.reverse
    .tn-magazine-section-photo,
    #cms-blog #content .tn-magazine-section.reverse
    .tn-magazine-section-text {
        order: 0;
    }

    #cms-blog #content .tn-magazine-body {
        padding: 20px 16px;
    }
}


/* ===== THE NOMAD - MAGAZINE ARTICLE ===== */

/* Khu noi dung */
#content .tn-magazine-article {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    font-family: Arial, sans-serif;
}

/* Gioi thieu */
#content .tn-magazine-lead {
    text-align: center;
    background: #faf6ee;
    padding: 50px 10%;
    margin-bottom: 25px;
    border-radius: 12px;
}

#content .tn-magazine-kicker {
    display: block;
    color: #ae8751;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 16px;
}
#content .tn-magazine-lead h2 {
font-family: "Times New Roman", serif !important;
    letter-spacing: normal !important;
    font-size: 36px;
    color: #702b3b !important;
    text-align: center !important;
    margin-bottom: 25px;
}
#content .tn-magazine-lead p {
    max-width: 850px;
    margin: 0 auto 16px;
    font-size: 16px;
    line-height: 1.9;
    text-align: center;
}

/* Layout anh - chu */
#content .tn-magazine-article
.tn-magazine-section {
    display: grid !important;
    grid-template-columns:
        minmax(0, 1fr) minmax(0, 1fr) !important;
    align-items: stretch;
    width: 100%;
    min-height: 460px;
    margin: 0 0 28px;
    overflow: hidden;

    background: #f6efe5;
    border: 1px solid #e5d5bb;
    border-radius: 12px;
}

/* Anh */
#content .tn-magazine-article
.tn-magazine-section-photo {
    min-width: 0;
    margin: 0;
    overflow: hidden;
}

#content .tn-magazine-article
.tn-magazine-section-photo img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 460px;
    object-fit: cover !important;
    border-radius: 0 !important;
}

/* Noi dung */
#content .tn-magazine-article
.tn-magazine-section-text {
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 45px 8%;
}

#content .tn-magazine-step {
    display: block;
    font-size: 12px;
    letter-spacing: 3px;
    font-weight: 700;
    color: #a9844c;
    margin-bottom: 20px;
}

#content .tn-magazine-section-text h2 {   
font-family: "Times New Roman", serif !important;
    font-size: clamp(24px, 2.4vw, 36px) !important;
    line-height: 1.3 !important;
    color: #702b3b !important;
    margin: 0 0 22px !important;
}

#content .tn-magazine-section-text p {
    color: #4a3c34 !important;
    font-size: 15px !important;
    line-height: 1.8 !important;
    margin-bottom: 14px;
}

/* Ten san pham */
#content .tn-magazine-product {
    color: #8c3345 !important;
    font-weight: 700;
}

/* Cach su dung */
#content .tn-magazine-tip {
    margin-top: 18px;
    padding: 20px;
    background: #fffaf2;
    border-left: 3px solid #b9975a;
    border-radius: 0 8px 8px 0;
}

#content .tn-magazine-tip strong {
    color: #793246;
}

#content .tn-magazine-tip p {
    margin: 8px 0 0 !important;
}

/* Dao vi tri o buoc 2 va 4 */
#content .tn-magazine-article
.tn-magazine-section.reverse
.tn-magazine-section-photo {
    order: 2;
}

#content .tn-magazine-article
.tn-magazine-section.reverse
.tn-magazine-section-text {
    order: 1;
}

/* Ket luan */
#content .tn-magazine-ending {
    padding: 60px 10%;
    text-align: center;
    background: #0b3828;
    border: 1px solid #c6a56d;
    border-radius: 12px;
}

#content .tn-magazine-ending h2 {
font-family: "Times New Roman", serif !important;
    font-size: 32px !important;
    color: #fff3db !important;
    text-align: center !important;
    margin-bottom: 25px;
}

#content .tn-magazine-ending p {
    max-width: 850px;
    margin: 0 auto 18px;
    color: #f4e9d8 !important;
    line-height: 1.9;
    text-align: center;
}

#content .tn-magazine-ending-highlight {
    color: #efcd8b !important;
    font-weight: 700;
}

/* Mobile */
@media (max-width: 768px) {
    #content .tn-magazine-article
    .tn-magazine-section {
        grid-template-columns: 1fr !important;
    }

    #content .tn-magazine-article
    .tn-magazine-section-photo,
    #content .tn-magazine-article
    .tn-magazine-section-text {
        order: 0 !important;
    }

    #content .tn-magazine-article
    .tn-magazine-section-photo img {
        height: 270px !important;
        min-height: 0 !important;
    }

    #content .tn-magazine-article
    .tn-magazine-section-text {
        padding: 28px 22px;
    }

    #content .tn-magazine-lead,
    #content .tn-magazine-ending {
        padding: 35px 22px;
    }

    #content .tn-magazine-lead h2,
    #content .tn-magazine-ending h2 {
        font-size: 26px !important;
    }
}


/* FIX MAU CHU PHAN KET LUAN BLOG */

body.tn-article-detail #content
.tn-magazine-article .tn-magazine-ending {
    background: #073b29 !important;
    border: 1px solid #d5b36f !important;
}

body.tn-article-detail #content
.tn-magazine-article .tn-magazine-ending h2,
body.tn-article-detail #content
.tn-magazine-article .tn-magazine-ending h2 span {
    color: #f1d49a !important;
    text-align: center !important;
    text-shadow: none !important;
}

body.tn-article-detail #content
.tn-magazine-article .tn-magazine-ending p,
body.tn-article-detail #content
.tn-magazine-article .tn-magazine-ending p span {
    color: #fff8eb !important;
    font-size: 16px !important;
    line-height: 1.9 !important;
    text-align: center !important;
}

body.tn-article-detail #content
.tn-magazine-article .tn-magazine-ending
.tn-magazine-ending-highlight,
body.tn-article-detail #content
.tn-magazine-article .tn-magazine-ending
.tn-magazine-ending-highlight strong {
    color: #f1d49a !important;
    font-weight: 700 !important;
}



/* XOA DONG THE NOMAD CHRISTMAS TREN TIEU DE */

#common-home #content h3::before {
    content: none !important;
    display: none !important;
}

/* GIU GACH CHAN VANG */
#common-home #content h3::after {
    content: "";
    display: block;
    width: 75px;
    height: 2px;
    background: #d5b36f;
    margin: 12px auto 0 !important;
}


/* FIX LOI FONT TIENG VIET - BLOG */

#common-home #content h3.tn-blog-heading {
    font-family: "Times New Roman", Arial, serif !important;
    font-size: 30px !important;
    font-weight: 700 !important;
    letter-spacing: 1px !important;
    text-transform: none !important;

    color: #fff4dc !important;
    text-align: center !important;
}


/* XOA DONG THE NOMAD CHRISTMAS */

#common-home #content h3::before {
    content: none !important;
    display: none !important;
}

/* GIU GACH CHAN VANG */

#common-home #content h3::after {
    content: "" !important;
    display: block !important;
    width: 75px !important;
    height: 2px !important;
    margin: 12px auto 0 !important;
    background: #d5b36f !important;
}



/* FIX FONT TIENG VIET - BLOG TITLE */

#common-home #content h3.tn-blog-title,
#common-home #content h3.tn-blog-heading {
    font-family: "Times New Roman", serif !important;
    font-size: 32px !important;
    font-weight: 700 !important;
    font-style: normal !important;

    letter-spacing: 1px !important;
    text-transform: none !important;

    color: #fff4dc !important;
    text-align: center !important;
    text-shadow: 0 2px 8px rgba(0,0,0,.65) !important;
}


/* ==========================================
   THE NOMAD - FIX BLOG ENDING TEXT
   ========================================== */

/* Giu nguyen nen xanh */
.tn-magazine-ending {
    background: #073b29 !important;
    border: 1px solid #d5b36f !important;
}

/* Dong chu nho phia tren */
.tn-magazine-ending .tn-magazine-kicker {
    color: #e7c681 !important;
}

/* Tieu de mau vang champagne */
.tn-magazine-ending h2,
.tn-magazine-ending h2 span {
    color: #f5d89d !important;
    text-align: center !important;
    text-shadow: none !important;
}

/* Noi dung mau trang kem */
.tn-magazine-ending p,
.tn-magazine-ending p span,
.tn-magazine-ending p strong {
    color: #fff8e9 !important;
    opacity: 1 !important;
    font-size: 17px !important;
    line-height: 1.9 !important;
    text-align: center !important;
}

/* Dong ket luan noi bat */
.tn-magazine-ending .tn-magazine-ending-highlight,
.tn-magazine-ending .tn-magazine-ending-highlight strong,
.tn-magazine-ending .tn-magazine-ending-highlight span {
    color: #f5d89d !important;
    font-weight: 700 !important;
    opacity: 1 !important;
}



/* =========================================
   THE NOMAD - GLOBAL VIETNAMESE FONT FIX
   ========================================= */

/* 1. Font noi dung tren toan website */

html,
body,
button,
input,
textarea,
select {
    font-family: "Be Vietnam Pro", Arial, sans-serif !important;
}

/* 2. Font tieu de tren toan website */

h1, h2, h3, h4, h5, h6 {
   
font-family: "Times New Roman", serif !important;

    font-style: normal !important;
    letter-spacing: 0 !important;
    word-spacing: normal !important;
    font-variant: normal !important;
    text-transform: none !important;
}

/* 3. Tieu de Blog */

#content .tn-magazine-lead h2,
#content .tn-magazine-section-text h2,
#content .tn-magazine-ending h2,
.tn-magazine-hero h1,
.tn-magazine-intro h1,
.tn-noel-blog-name,
.tn-blog-title {
    
font-family: "Times New Roman", serif !important;

    letter-spacing: 0 !important;
    font-style: normal !important;
    font-feature-settings: normal !important;
    font-variant-ligatures: normal !important;
}

/* 4. Noi dung Blog */

#content .tn-magazine-article p,
#content .tn-magazine-article strong,
#content .tn-magazine-tip,
.tn-noel-blog-excerpt {
    font-family: "Be Vietnam Pro", Arial, sans-serif !important;
    letter-spacing: 0 !important;
    word-spacing: normal !important;
}

/* 5. Menu va ten san pham */

#nomad-header,
#nomad-header a,
.product-thumb .caption,
.product-thumb .caption a,
.product-thumb h4,
.product-thumb h4 a {
    font-family: "Be Vietnam Pro", Arial, sans-serif !important;
    letter-spacing: normal !important;
}

/* BO KHUNG BANNER SLIDESHOW TRANG CHU */
#common-home #content .swiper-viewport,
#common-home #content .swiper-viewport:has([id^="slideshow"]) {
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
    padding: 0 !important;
    border-radius: 0 !important;
}

/* BO KHUNG BEN TRONG NEU CO */
#common-home #content .swiper-viewport [id^="slideshow"],
#common-home #content .swiper-viewport .swiper-container,
#common-home #content .swiper-viewport .swiper-wrapper,
#common-home #content .swiper-viewport .swiper-slide,
#common-home #content .swiper-viewport img {
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
}
#common-home .tn-home-slideshow {
  box-sizing: border-box;
  width: 100%;
  max-width: 1440px;
  min-width: 0;
  margin: 24px auto;
  position: relative;
  left: auto;
  transform: none;
  border-radius: 18px;
  overflow: hidden;
}

#common-home .tn-home-slideshow img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}

@media (max-width: 767px) {
  #common-home .tn-home-slideshow {
    width: calc(100% - 24px);
    margin: 14px auto;
    border-radius: 12px;
  }
}

.tn-home-hero {
  position: relative;
  box-sizing: border-box;
  width: calc(100% - 32px);
  max-width: 1120px;
  min-width: 0;
  margin: 24px auto 28px;
  overflow: hidden;
  border-radius: 20px;
}

.tn-home-hero img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}

@media (max-width: 600px) {
  .tn-home-hero {
    width: calc(100% - 20px);
    margin: 14px auto 20px;
    border-radius: 12px;
  }
}

#common-home .nomad-home-showcase {
  box-sizing: border-box;
  width: 100%;
  max-width: 1100px;
  min-width: 0;
  margin: 20px auto 24px;
}

#common-home .nomad-home-showcase__viewport {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  border-radius: 18px;
  background: #003013;
}

#common-home .nomad-home-showcase__slide {
  display: none;
}

#common-home .nomad-home-showcase__slide.active {
  display: block;
}

#common-home .nomad-home-showcase__slide img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}

#common-home .nomad-home-showcase__prev,
#common-home .nomad-home-showcase__next {
  position: absolute;
  z-index: 2;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid #f5e6cd80;
  border-radius: 50%;
  background: #092a20d9;
  color: #fff5e4;
  font-size: 20px;
  cursor: pointer;
}

#common-home .nomad-home-showcase__prev {
  left: 12px;
}

#common-home .nomad-home-showcase__next {
  right: 12px;
}

#common-home .nomad-home-showcase__prev,
#common-home .nomad-home-showcase__next {
  width: 44px;
  height: 44px;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  color: #fff;
  font-size: 36px;
  line-height: 1;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.85);
}

#common-home .nomad-home-showcase__prev:hover,
#common-home .nomad-home-showcase__next:hover {
  background: transparent;
  color: #ffe4b5;
}

#common-home .nomad-home-showcase__prev,
#common-home .nomad-home-showcase__next {
  opacity: 0.55;
  transition: opacity 180ms ease;
}

#common-home .nomad-home-showcase__prev:hover,
#common-home .nomad-home-showcase__next:hover,
#common-home .nomad-home-showcase__prev:focus-visible,
#common-home .nomad-home-showcase__next:focus-visible {
  opacity: 1;
}


/* ==========================================
   THE NOMAD - LUXURY BEAUTY BRAND DIRECTORY
========================================== */

/* AN DANH SACH MAC DINH KHI JS CHAY */

#product-manufacturer .tn-brand-original {
    display: none !important;
}

/* KHUNG TRANG THUONG HIEU */

#product-manufacturer .tn-brand-directory {
    width: 100%;
    margin: 25px auto 55px;

    background: #f7f0e6;
    border: 1px solid #d8c6a5;
    border-radius: 18px;

    overflow: hidden;

    box-shadow: 0 15px 45px rgba(0,0,0,.18);
}

/* BANNER TIEU DE XANH THONG */

#product-manufacturer .tn-brand-hero {
    padding: 60px 25px;

    text-align: center;

    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(210,178,105,.15),
            transparent 65%
        ),
        linear-gradient(
            120deg,
            #003013,
            #0b4630,
            #003013
        );

    border-bottom: 2px solid #d5b36f;
}

#product-manufacturer .tn-brand-eyebrow {
    display: block;

    margin-bottom: 20px;

    color: #e5c78e;
    font-family: "Be Vietnam Pro", Arial, sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
}

/* TIEU DE */

#product-manufacturer .tn-brand-heading {
    margin: 0 0 18px !important;

    color: #fff5e3 !important;

    font-family: "Times New Roman", serif !important;
    font-size: clamp(30px, 4vw, 48px) !important;
    font-weight: 700;

    line-height: 1.25;
    letter-spacing: 0;
    text-align: center;
}

#product-manufacturer .tn-brand-description {
    max-width: 650px;
    margin: 0 auto;

    color: #e9dfce !important;

    font-family: "Be Vietnam Pro", Arial, sans-serif;
    font-size: 15px;
    line-height: 1.8;
    text-align: center;
}

/* THAN NOI DUNG NEN KEM */

#product-manufacturer .tn-brand-body {
    padding: 42px 45px 55px;
    background: #f7f0e6;
}

/* THANH TIM KIEM */

#product-manufacturer .tn-brand-search-wrap {
    display: flex;
    align-items: center;
    gap: 12px;

    width: 100%;
    max-width: 650px;

    margin: 0 auto 30px;
    padding: 0 20px;

    background: #ffffff;
    border: 1px solid #d9c9b3;
    border-radius: 12px;

    transition: border-color .25s;
}

#product-manufacturer .tn-brand-search-wrap:focus-within {
    border-color: #b58c4f;
    box-shadow: 0 0 0 3px rgba(213,179,111,.15);
}

#product-manufacturer .tn-brand-search-icon {
    color: #9c825a;
    font-size: 26px;
}

#product-manufacturer .tn-brand-search {
    width: 100%;
    height: 56px;

    padding: 0;

    background: transparent;
    border: none;
    outline: none;
    box-shadow: none;

    color: #352c26;

    font-family: "Be Vietnam Pro", Arial, sans-serif;
    font-size: 14px;
}

/* BO LOC A-Z */

#product-manufacturer .tn-brand-alphabet {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;

    gap: 8px;

    margin: 0 auto 30px;
}

#product-manufacturer .tn-brand-letter {
    min-width: 34px;
    height: 36px;

    padding: 0 10px;

    background: #ffffff;
    color: #773c49;

    border: 1px solid #e0d1bd;
    border-radius: 7px;

    font-family: "Be Vietnam Pro", Arial, sans-serif;
    font-size: 12px;
    font-weight: 600;

    cursor: pointer;
    transition: .25s;
}

#product-manufacturer .tn-brand-letter:hover:not(:disabled) {
    background: #f3e4ca;
    border-color: #d5b36f;
}

#product-manufacturer .tn-brand-letter.active {
    background: #003013;
    border-color: #003013;
    color: #fff5e3;
}

#product-manufacturer .tn-brand-letter:disabled {
    opacity: .3;
    cursor: default;
}

/* SO LUONG THUONG HIEU */

#product-manufacturer .tn-brand-count {
    margin-bottom: 20px;

    color: #7d6b57;
    font-size: 13px;

    text-align: right;
}

/* LUOI CARD */

#product-manufacturer .tn-brand-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 20px;
}

/* CARD THUONG HIEU */

#product-manufacturer .tn-brand-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 12px;

    min-width: 0;
    min-height: 175px;

    padding: 25px 15px;

    background: #ffffff;

    border: 1px solid #e4d6c3;
    border-radius: 14px;

    text-align: center;
    text-decoration: none !important;

    box-shadow: 0 5px 18px rgba(50,30,20,.04);

    transition:
        transform .25s,
        border-color .25s,
        box-shadow .25s;
}

/* HOVER */

#product-manufacturer .tn-brand-card:hover {
    transform: translateY(-5px);

    border-color: #caa66b;

    box-shadow: 0 12px 25px rgba(50,30,20,.12);
}

/* VONG TRON CHU CAI */


/* HINH TRON THUONG HIEU - ANH FULL */

#product-manufacturer .tn-brand-symbol {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100px;
    height: 100px;
    min-width: 100px;

    padding: 0 !important;
    margin: 0;

    border: 2px solid #d5b36f;
    border-radius: 50%;
background: #ffffff;

    overflow: hidden;
    box-sizing: border-box;
}

/* ANH PHU KIN 100% HINH TRON */


#product-manufacturer .tn-brand-symbol img {
    display: block;
    width: 100% !important;
    height: 100% !important;

    object-fit: contain !important;
    object-position: center !important;

    padding: 16px !important;
    box-sizing: border-box !important;

    margin: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
}

/* HOVER PHONG TO NHE */

#product-manufacturer .tn-brand-card:hover
.tn-brand-symbol img {
    transform: scale(1.08);
}

/* TEN THUONG HIEU */

#product-manufacturer .tn-brand-name {
    color: #382f2b !important;

    font-family: "Be Vietnam Pro", Arial, sans-serif;
    font-size: 15px;
    font-weight: 700;

    line-height: 1.5;
    overflow-wrap: anywhere;
}

/* CHU KHAM PHA */

#product-manufacturer .tn-brand-explore {
    color: #a78a56;

    font-family: "Be Vietnam Pro", Arial, sans-serif;
    font-size: 10px;
    font-weight: 700;

    letter-spacing: 1.5px;
}

#product-manufacturer .tn-brand-card:hover
.tn-brand-explore {
    color: #793347;
}

/* KHONG CO KET QUA */

#product-manufacturer .tn-brand-empty {
    margin: 25px auto;
    padding: 25px;

    color: #796956;
    text-align: center;
}

#product-manufacturer .tn-brand-empty[hidden] {
    display: none !important;
}

/* TABLET */

@media (max-width: 991px) {
    #product-manufacturer .tn-brand-grid {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }

    #product-manufacturer .tn-brand-body {
        padding: 30px 25px;
    }
}

/* DIEN THOAI */

@media (max-width: 600px) {

    #product-manufacturer .tn-brand-hero {
        padding: 40px 18px;
    }

    #product-manufacturer .tn-brand-heading {
        font-size: 30px !important;
    }

    #product-manufacturer .tn-brand-body {
        padding: 25px 14px;
    }

    #product-manufacturer .tn-brand-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    #product-manufacturer .tn-brand-card {
        min-height: 150px;
        padding: 18px 10px;
    }

    #product-manufacturer .tn-brand-symbol {
        width: 52px;
        height: 52px;
        font-size: 26px;
    }

    #product-manufacturer .tn-brand-name {
        font-size: 13px;
    }

    #product-manufacturer .tn-brand-search {
        height: 50px;
    }
}

@media (prefers-reduced-motion: reduce) {
    #product-manufacturer .tn-brand-card {
        transition: none;
    }
}



/* =========================================
   THE NOMAD - BEAUTY JOURNAL PAGE
   CHI AP DUNG CHO TRANG DANH SACH BLOG
========================================= */

/* Nen kem cho trang Blog */
#product-category:has(#button-search) #content {
    background: #f7f0e6 !important;
    padding: 28px !important;
    border-radius: 16px;
    margin-bottom: 55px;
}

/* Tieu de Blog */
#product-category:has(#button-search) #content > h1 {
    background: #003013 !important;
    color: #fff5e3 !important;
    text-align: center !important;
    font-family: "Times New Roman", serif !important;
    font-size: 36px !important;
    padding: 32px 20px !important;
    margin: 0 0 28px !important;
    border-radius: 12px;
}

/* Moi bai viet la mot card ngang */
#product-category:has(#button-search)
#content > .mb-3:has(> h2 > a) {
    display: grid !important;
    grid-template-columns: minmax(0, 40%) minmax(0, 60%);
    grid-template-rows: auto auto 1fr auto;

    min-height: 290px;
    margin: 0 0 25px !important;
    padding: 0 !important;

    background: #fffdf9 !important;
    border: 1px solid #dfc9aa;
    border-radius: 15px;
    overflow: hidden;

    box-shadow: 0 6px 20px rgba(0,0,0,.07);
    transition: transform .25s, box-shadow .25s;
}

#product-category:has(#button-search)
#content > .mb-3:has(> h2 > a):hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(0,0,0,.13);
}

/* Anh ben trai */
#product-category:has(#button-search)
#content > .mb-3:has(> h2 > a) > div:has(> a > img) {
    grid-column: 1;
    grid-row: 1 / 5;
    width: 100%;
    height: 100%;
    min-height: 290px;
    overflow: hidden;
}

#product-category:has(#button-search)
#content > .mb-3:has(> h2 > a) > div > a:has(img) {
    display: block;
    width: 100%;
    height: 100%;
}

#product-category:has(#button-search)
#content > .mb-3:has(> h2 > a) img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    min-height: 290px;

    padding: 0 !important;
    border: none !important;
    border-radius: 0 !important;

    object-fit: cover !important;
    object-position: center !important;
}

/* Tieu de bai viet */
#product-category:has(#button-search)
#content > .mb-3:has(> h2 > a) > h2 {
    grid-column: 2;
    grid-row: 1;

    padding: 28px 28px 0 !important;
    margin: 0 0 12px !important;

    font-size: 25px !important;
    line-height: 1.35 !important;
    text-align: left !important;
}

#product-category:has(#button-search)
#content > .mb-3:has(> h2 > a) > h2 a {
    color: #702638 !important;
    text-decoration: none !important;
}

/* Ngay dang, tac gia */
#product-category:has(#button-search)
#content > .mb-3:has(> h2 > a) > ul {
    grid-column: 2;
    grid-row: 2;

    padding: 0 28px !important;
    margin: 0 0 12px !important;

    color: #9b8262 !important;
    font-size: 12px !important;
}

/* Mo ta ngan */
#product-category:has(#button-search)
#content > .mb-3:has(> h2 > a) > p {
    grid-column: 2;
    grid-row: 3;

    padding: 0 28px !important;
    margin: 0 0 18px !important;

    color: #5a5048 !important;
    font-size: 14px !important;
    line-height: 1.8 !important;

    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    overflow: hidden;
}

/* Nut doc bai */
#product-category:has(#button-search)
#content > .mb-3:has(> h2 > a) > .text-end {
    grid-column: 2;
    grid-row: 4;

    text-align: left !important;
    padding: 0 28px 28px !important;
}

#product-category:has(#button-search)
#content > .mb-3:has(> h2 > a) .btn {
    display: inline-block;
    background: #702638 !important;
    border: 1px solid #702638 !important;
    color: #fff5e3 !important;

    padding: 10px 22px !important;
    border-radius: 7px !important;
    font-size: 13px !important;
    font-weight: 600;
    text-decoration: none !important;
}

/* Bai khong co anh */
#product-category:has(#button-search)
#content > .mb-3:has(> h2 > a):not(:has(img)) {
    grid-template-columns: 1fr;
}

#product-category:has(#button-search)
#content > .mb-3:has(> h2 > a):not(:has(img)) > * {
    grid-column: 1;
}

/* Dien thoai */
@media (max-width: 768px) {
    #product-category:has(#button-search) #content {
        padding: 14px !important;
    }

    #product-category:has(#button-search)
    #content > .mb-3:has(> h2 > a) {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        min-height: 0;
    }

    #product-category:has(#button-search)
    #content > .mb-3:has(> h2 > a) > div:has(> a > img) {
        grid-column: 1;
        grid-row: auto;
        height: 230px;
        min-height: 0;
        order: -1;
    }

    #product-category:has(#button-search)
    #content > .mb-3:has(> h2 > a) img {
        min-height: 0;
        height: 230px !important;
    }

    #product-category:has(#button-search)
    #content > .mb-3:has(> h2 > a) > h2,
    #product-category:has(#button-search)
    #content > .mb-3:has(> h2 > a) > ul,
    #product-category:has(#button-search)
    #content > .mb-3:has(> h2 > a) > p,
    #product-category:has(#button-search)
    #content > .mb-3:has(> h2 > a) > .text-end {
        grid-column: 1;
        grid-row: auto;
    }

    #product-category:has(#button-search)
    #content > .mb-3:has(> h2 > a) > h2 {
        font-size: 22px !important;
        padding: 22px 20px 0 !important;
    }
}



/* ==========================================
   THE NOMAD - COCOON STYLE BEAUTY JOURNAL
   Chi ap dung trang danh sach Blog
========================================== */

/* Nen kem va khung trang */
#product-category:has(#button-search) {
    width: calc(100% - 48px) !important;
    max-width: 1500px !important;
    margin: 30px auto 60px !important;
    padding: 0 24px 35px !important;
    background: #faf7f0 !important;
    border-radius: 8px;
}

/* Bo cuc 3 cot */
#product-category:has(#button-search) #content {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 28px !important;
    width: 100% !important;
    padding: 0 0 35px !important;
    background: transparent !important;
}

/* Cac phan khong phai bai viet chiem ca hang */
#product-category:has(#button-search) #content
> :not(.mb-3:has(> h2 > a)) {
    grid-column: 1 / -1;
    min-width: 0;
}

/* Tieu de dau trang */
#product-category:has(#button-search) #content > h1 {
    padding: 50px 20px 44px !important;
    margin: 0 !important;
    text-align: center !important;
    background: #063522 !important;
    color: #fff8e8 !important;
    border-radius: 6px;

    font-family: "Noto Serif", Georgia, serif !important;
    font-size: clamp(32px, 4vw, 48px) !important;
    line-height: 1.3 !important;
}

#product-category:has(#button-search) #content > h1::before {
    content: "THE NOMAD  ·  BEAUTY JOURNAL";
    display: block;
    margin-bottom: 15px;
    color: #e0c188;
    font: 600 10px "Be Vietnam Pro", Arial, sans-serif;
    letter-spacing: 3px;
}

/* Bo duong ke mac dinh */
#product-category:has(#button-search) #content > hr {
    display: none !important;
}

/* Tieu de tim kiem */
#product-category:has(#button-search) #content > h3 {
    margin: 8px 0 -10px !important;
    color: #193e2d !important;
    font: 600 15px "Be Vietnam Pro", Arial, sans-serif !important;
}

/* Tim kiem va sap xep */
#product-category:has(#button-search) #content
> .input-group.dropdown.mb-3 {
    max-width: 100%;
    margin: 0 !important;
}

#product-category:has(#button-search) #input-search,
#product-category:has(#button-search) #input-sort {
    background: #fffefa !important;
    border: 1px solid #e3d7c4 !important;
    color: #38312d !important;
    box-shadow: none !important;
}

#product-category:has(#button-search) #button-search {
    background: #073b29 !important;
    color: #fff7e7 !important;
    border: 1px solid #073b29 !important;
}

/* ==============================
   CAC BAI VIET BEN DUOI - 3 COT
============================== */

#product-category:has(#button-search) #content
> .mb-3:has(> h2 > a) {
    display: flex !important;
    flex-direction: column !important;

    min-width: 0 !important;
    min-height: 0 !important;

    margin: 0 !important;
    padding: 0 !important;

    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    overflow: hidden;
}

/* Anh bai viet */
#product-category:has(#button-search) #content
> .mb-3:has(> h2 > a) > div:has(> a > img) {
    order: -1;
    width: 100%;
    height: 310px;
    overflow: hidden;
    border-radius: 6px;
    background: #eee3d4;
}

#product-category:has(#button-search) #content
> .mb-3:has(> h2 > a) > div > a:has(img) {
    display: block;
    width: 100%;
    height: 100%;
}

#product-category:has(#button-search) #content
> .mb-3:has(> h2 > a) img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;

    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    border-radius: 0 !important;

    object-fit: cover !important;
    object-position: center !important;

    transition: transform .45s ease;
}

#product-category:has(#button-search) #content
> .mb-3:has(> h2 > a):hover img {
    transform: scale(1.035);
}

/* Thong tin nho */
#product-category:has(#button-search) #content
> .mb-3:has(> h2 > a) > ul {
    order: 1;
    padding: 0 !important;
    margin: 18px 0 10px !important;
    color: #a18257 !important;
    font-size: 12px !important;
}

#product-category:has(#button-search) #content
> .mb-3:has(> h2 > a) > ul a {
    color: #8f6c3e !important;
}

/* Tieu de bai viet */
#product-category:has(#button-search) #content
> .mb-3:has(> h2 > a) > h2 {
    order: 2;
    padding: 0 !important;
    margin: 0 0 12px !important;
    font-family: "Noto Serif", Georgia, serif !important;
    font-size: 22px !important;
    font-weight: 600 !important;
    line-height: 1.5 !important;
    text-align: left !important;
}

#product-category:has(#button-search) #content
> .mb-3:has(> h2 > a) > h2 a {
    color: #24241f !important;
    text-decoration: none !important;
}

#product-category:has(#button-search) #content
> .mb-3:has(> h2 > a) > h2 a:hover {
    color: #8d3445 !important;
}

/* Mo ta */
#product-category:has(#button-search) #content
> .mb-3:has(> h2 > a) > p {
    order: 3;
    padding: 0 !important;
    margin: 0 0 16px !important;

    color: #756e62 !important;
    font-size: 14px !important;
    line-height: 1.8 !important;

    display: -webkit-box !important;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}

/* Link doc bai */
#product-category:has(#button-search) #content
> .mb-3:has(> h2 > a) > .text-end {
    order: 4;
    margin-top: auto;
    padding: 0 !important;
    text-align: left !important;
}

#product-category:has(#button-search) #content
> .mb-3:has(> h2 > a) > .text-end .btn {
    padding: 9px 16px !important;
    background: transparent !important;
    border: 1px solid #cdb58f !important;
    border-radius: 3px !important;
    color: #75402f !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    box-shadow: none !important;
}

/* ==============================
   BAI DAU TIEN - HERO NOI BAT
============================== */

#product-category:has(#button-search) #content
> .mb-3:has(> h2 > a):nth-child(1 of .mb-3:has(> h2 > a)) {
    grid-column: 1 / -1 !important;

    display: grid !important;
    grid-template-columns: 32% 68% !important;
    grid-template-rows: auto auto 1fr auto;

    min-height: 500px !important;
    background: #fffaf1 !important;
    border: 1px solid #e8dcca !important;
    border-radius: 7px !important;
    overflow: hidden !important;
}

/* Anh lon ben phai */
#product-category:has(#button-search) #content
> .mb-3:has(> h2 > a):nth-child(1 of .mb-3:has(> h2 > a))
> div:has(> a > img) {
    grid-column: 2 !important;
    grid-row: 1 / 5 !important;

    width: 100% !important;
    height: 100% !important;
    min-height: 500px !important;

    border-radius: 0 !important;
}

/* Tieu de ben trai */
#product-category:has(#button-search) #content
> .mb-3:has(> h2 > a):nth-child(1 of .mb-3:has(> h2 > a))
> h2 {
    grid-column: 1 !important;
    grid-row: 1 !important;

    padding: 65px 32px 0 !important;
    margin: 0 0 22px !important;

    font-size: clamp(25px, 2.7vw, 38px) !important;
    line-height: 1.35 !important;
}

/* Thong tin bai noi bat */
#product-category:has(#button-search) #content
> .mb-3:has(> h2 > a):nth-child(1 of .mb-3:has(> h2 > a))
> ul {
    grid-column: 1 !important;
    grid-row: 2 !important;
    padding: 0 32px !important;
    margin: 0 0 16px !important;
}

/* Mo ta bai noi bat */
#product-category:has(#button-search) #content
> .mb-3:has(> h2 > a):nth-child(1 of .mb-3:has(> h2 > a))
> p {
    grid-column: 1 !important;
    grid-row: 3 !important;

    padding: 0 32px !important;
    margin: 0 0 24px !important;
    -webkit-line-clamp: 5;
}

/* Nut bai noi bat */
#product-category:has(#button-search) #content
> .mb-3:has(> h2 > a):nth-child(1 of .mb-3:has(> h2 > a))
> .text-end {
    grid-column: 1 !important;
    grid-row: 4 !important;

    padding: 0 32px 45px !important;
}

/* ==============================
   RESPONSIVE
============================== */

@media (max-width: 1000px) {
    #product-category:has(#button-search) #content {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    #product-category:has(#button-search) #content
    > .mb-3:has(> h2 > a) > div:has(> a > img) {
        height: 260px;
    }
}

@media (max-width: 700px) {
    #product-category:has(#button-search) {
        width: calc(100% - 20px) !important;
        padding: 0 12px 30px !important;
    }

    #product-category:has(#button-search) #content {
        grid-template-columns: 1fr !important;
        gap: 25px !important;
    }

    #product-category:has(#button-search) #content
    > .mb-3:has(> h2 > a) > div:has(> a > img) {
        height: 260px;
    }

    /* Bai noi bat xep doc tren mobile */
    #product-category:has(#button-search) #content
    > .mb-3:has(> h2 > a):nth-child(1 of .mb-3:has(> h2 > a)) {
        display: flex !important;
        flex-direction: column !important;
        min-height: 0 !important;
    }

    #product-category:has(#button-search) #content
    > .mb-3:has(> h2 > a):nth-child(1 of .mb-3:has(> h2 > a))
    > div:has(> a > img) {
        order: -1;
        height: 280px !important;
        min-height: 0 !important;
    }

    #product-category:has(#button-search) #content
    > .mb-3:has(> h2 > a):nth-child(1 of .mb-3:has(> h2 > a))
    > h2 {
        padding: 25px 22px 0 !important;
        font-size: 26px !important;
    }

    #product-category:has(#button-search) #content
    > .mb-3:has(> h2 > a):nth-child(1 of .mb-3:has(> h2 > a))
    > ul,
    #product-category:has(#button-search) #content
    > .mb-3:has(> h2 > a):nth-child(1 of .mb-3:has(> h2 > a))
    > p {
        padding: 0 22px !important;
    }

    #product-category:has(#button-search) #content
    > .mb-3:has(> h2 > a):nth-child(1 of .mb-3:has(> h2 > a))
    > .text-end {
        padding: 0 22px 28px !important;
    }
}



/* ==========================================
   THE NOMAD - LUXURY MY ACCOUNT
   Chi ap dung trang Tai khoan
========================================== */

/* Can giua trang tai khoan */
#account-account {
    max-width: 1200px !important;
    margin: 30px auto 65px !important;
    padding: 0 20px !important;
}

/* Breadcrumb */
#account-account .breadcrumb {
    background: #fffaf2 !important;
    border: 1px solid #e5d8c3 !important;
    border-radius: 10px !important;
    padding: 14px 20px !important;
    margin-bottom: 24px !important;
}

#account-account .breadcrumb a {
    color: #715037 !important;
    text-decoration: none;
}

/* Hai cot: noi dung va menu phai */
#account-account > .row:has(> #column-right) {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 275px;
    align-items: start;
    gap: 24px;
    margin: 0 !important;
}

#account-account > .row > #content {
    width: 100% !important;
    max-width: none !important;
    min-width: 0;
    padding: 0 0 32px !important;
    background: #f7f0e6 !important;
    border: 1px solid #e4d5be;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0,0,0,.16);
}

/* Banner tieu de xanh thong */
#account-account #content > h1 {
    margin: 0 0 34px !important;
    padding: 44px 35px !important;

    background: linear-gradient(
        115deg, #003013, #0a4930, #003013
    ) !important;

    color: #fff5e3 !important;
    font-family: "Noto Serif", Georgia, serif !important;
    font-size: clamp(28px, 3vw, 39px) !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    text-align: center !important;
}

/* Tieu de tung nhom */
#account-account #content > h2 {
    margin: 28px 30px 17px !important;
    padding: 0 0 12px !important;

    color: #683044 !important;
    font-family: "Noto Serif", Georgia, serif !important;
    font-size: 23px !important;
    font-weight: 600 !important;

    border-bottom: 1px solid #ddc8a8;
    text-align: left !important;
}

/* Luoi lien ket */
#account-account #content > ul.list-unstyled {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px !important;

    margin: 0 30px 28px !important;
    padding: 0 !important;
    list-style: none !important;
}

#account-account #content > ul.list-unstyled > li {
    margin: 0 !important;
    padding: 0 !important;
    min-width: 0;
}

/* Tung muc la mot card */
#account-account #content > ul.list-unstyled > li > a {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 10px;

    min-height: 62px;
    padding: 16px 18px !important;

    background: #fffdf9 !important;
    border: 1px solid #e5d6c1 !important;
    border-radius: 10px !important;

    color: #493c35 !important;
    font-family: "Be Vietnam Pro", Arial, sans-serif;
    font-size: 13px !important;
    font-weight: 500;
    line-height: 1.6 !important;
    text-decoration: none !important;

    transition: .25s ease;
}

#account-account #content > ul.list-unstyled > li > a::after {
    content: "→";
    color: #b68b50;
    font-size: 18px;
    flex-shrink: 0;
}

/* Hover */
#account-account #content > ul.list-unstyled > li > a:hover {
    background: #fff8ec !important;
    border-color: #c8a574 !important;
    color: #782f43 !important;

    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(70,40,20,.08);
}

/* Cot menu ben phai */
#account-account > .row > #column-right {
    width: 100% !important;
    max-width: none !important;
    min-width: 0;
    padding: 0 !important;
}

#account-account #column-right .list-group {
    overflow: hidden;
    background: #fffaf2;
    border: 1px solid #e0cdae;
    border-radius: 14px !important;
    box-shadow: 0 10px 28px rgba(0,0,0,.13);
}

/* Tung dong menu phai */
#account-account #column-right .list-group-item {
    padding: 14px 18px !important;

    background: #fffaf2 !important;
    border: none !important;
    border-bottom: 1px solid #eee3d3 !important;

    color: #493c35 !important;
    font-family: "Be Vietnam Pro", Arial, sans-serif;
    font-size: 12px !important;
    line-height: 1.5 !important;

    transition: background .2s;
}

#account-account #column-right .list-group-item:hover,
#account-account #column-right .list-group-item.active {
    background: #073b29 !important;
    color: #fff5e3 !important;
}

/* Dong cuoi */
#account-account #column-right .list-group-item:last-child {
    border-bottom: none !important;
}

/* Tablet */
@media (max-width: 900px) {
    #account-account > .row:has(> #column-right) {
        grid-template-columns: minmax(0, 1fr) 220px;
        gap: 16px;
    }

    #account-account #content > ul.list-unstyled {
        grid-template-columns: 1fr;
    }
}

/* Mobile */
@media (max-width: 700px) {
    #account-account {
        padding: 0 12px !important;
    }

    #account-account > .row:has(> #column-right) {
        grid-template-columns: 1fr;
    }

    #account-account > .row > #column-right {
        grid-row: 2;
    }

    #account-account #content > h1 {
        padding: 32px 18px !important;
    }

    #account-account #content > h2 {
        margin: 25px 18px 15px !important;
        font-size: 20px !important;
    }

    #account-account #content > ul.list-unstyled {
        margin: 0 18px 20px !important;
        grid-template-columns: 1fr;
    }
}



/* =====================================
   THE NOMAD - ACCOUNT FULL WIDTH
   BO MENU TAI KHOAN BEN PHAI
===================================== */

/* An menu mac dinh ben phai */
#account-account #column-right {
    display: none !important;
}

/* Bo chia 2 cot cu */
#account-account > .row:has(#column-right) {
    display: block !important;
    margin: 0 !important;
}

/* Mo rong khung tai khoan */
#account-account #content {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;

    margin: 0 auto !important;
}

/* Can giua trang */
#account-account {
    max-width: 1100px !important;
    margin: 30px auto 60px !important;
}



/* ==================================================
   THE NOMAD - ACCOUNT PAGES CHRISTMAS LUXURY
   Áp dụng cho các trang tài khoản, trừ Login và
   trang My Account đã được thiết kế riêng.
================================================== */

/* 1. BỐ CỤC TRANG TÀI KHOẢN */

main > .container[id^="account-"]:not(#account-login):not(#account-account) {
    max-width: 1200px !important;
    margin: 25px auto 70px !important;
    padding: 0 20px !important;

    font-family: "Be Vietnam Pro", Arial, sans-serif;
    color: #354337;
}

main > .container[id^="account-"]:not(#account-login):not(#account-account) > .row {
    align-items: flex-start;
    --bs-gutter-x: 24px;
}


/* 2. THANH ĐƯỜNG DẪN BREADCRUMB */

main > .container[id^="account-"]:not(#account-login):not(#account-account) .breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;

    margin: 0 0 25px !important;
    padding: 14px 22px !important;

    background: rgba(255, 250, 242, 0.97) !important;
    border: 1px solid #e6d7be !important;
    border-radius: 9px !important;

    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
}

main > .container[id^="account-"]:not(#account-login):not(#account-account) .breadcrumb-item {
    padding: 0 5px !important;
    font-size: 12px !important;
    color: #73634f !important;
    text-shadow: none !important;
}

main > .container[id^="account-"]:not(#account-login):not(#account-account) .breadcrumb-item a {
    color: #315b43 !important;
    text-decoration: none !important;
}

main > .container[id^="account-"]:not(#account-login):not(#account-account) .breadcrumb-item a:hover {
    color: #b38b4d !important;
}

main > .container[id^="account-"]:not(#account-login):not(#account-account) .breadcrumb-item::after {
    display: none !important;
}

main > .container[id^="account-"]:not(#account-login):not(#account-account) .breadcrumb-item + .breadcrumb-item::before {
    content: "/" !important;
    color: #bdab90 !important;
    padding-right: 10px;
}


/* 3. KHUNG NỘI DUNG CHÍNH */

main > .container[id^="account-"]:not(#account-login):not(#account-account) #content {
    min-width: 0;
    padding: 35px 40px 42px !important;

    background: #fffaf2 !important;
    border: 1px solid #e4d2b5 !important;
    border-radius: 15px !important;

    box-shadow: 0 16px 42px rgba(0, 20, 10, 0.30) !important;

    color: #354337 !important;
    font-size: 13px;
    line-height: 1.8;
}

/* Bỏ khoảng trống 730px mặc định */
main > .container[id^="account-"]:not(#account-login):not(#account-account) #column-left,
main > .container[id^="account-"]:not(#account-login):not(#account-account) #column-right {
    padding-bottom: 0 !important;
    min-width: 0;
    align-self: flex-start;
}

/* Tiêu đề chính */
main > .container[id^="account-"]:not(#account-login):not(#account-account) #content h1 {
    margin: 0 0 13px !important;

    font-family: "Noto Serif", Georgia, serif !important;
    color: #003d27 !important;
    font-size: clamp(26px, 3vw, 34px) !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;

    text-shadow: none !important;
}

/* Tiêu đề phụ */
main > .container[id^="account-"]:not(#account-login):not(#account-account) #content h2,
main > .container[id^="account-"]:not(#account-login):not(#account-account) #content legend {
    color: #17492f !important;

    font-family: "Noto Serif", Georgia, serif !important;
    font-size: 21px !important;
    font-weight: 600 !important;

    margin: 25px 0 20px !important;
    padding-bottom: 12px !important;

    border: none !important;
    border-bottom: 1px solid #dcccaf !important;

    width: 100%;
    text-shadow: none !important;
}

/* Nội dung, văn bản */
main > .container[id^="account-"]:not(#account-login):not(#account-account) #content p,
main > .container[id^="account-"]:not(#account-login):not(#account-account) #content li,
main > .container[id^="account-"]:not(#account-login):not(#account-account) #content label {
    color: #4d544a !important;
    text-shadow: none !important;
}

/* Link */
main > .container[id^="account-"]:not(#account-login):not(#account-account) #content a:not(.btn) {
    color: #98703e !important;
    text-decoration: none;
}

main > .container[id^="account-"]:not(#account-login):not(#account-account) #content a:not(.btn):hover {
    color: #003d27 !important;
    text-decoration: underline;
}


/* 4. FORM NHẬP THÔNG TIN */

main > .container[id^="account-"]:not(#account-login):not(#account-account) #content label {
    font-family: "Be Vietnam Pro", Arial, sans-serif;
    font-size: 12px !important;
    font-weight: 600 !important;
    text-align: left !important;
    margin-bottom: 8px;
}

main > .container[id^="account-"]:not(#account-login):not(#account-account) #content .form-control,
main > .container[id^="account-"]:not(#account-login):not(#account-account) #content .form-select {
    width: 100%;
    min-height: 46px;

    padding: 10px 14px !important;

    background: #ffffff !important;
    border: 1px solid #decfb9 !important;
    border-radius: 6px !important;

    color: #253d30 !important;
    font-size: 13px !important;

    box-shadow: none !important;

    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

/* Focus */
main > .container[id^="account-"]:not(#account-login):not(#account-account) #content .form-control:focus,
main > .container[id^="account-"]:not(#account-login):not(#account-account) #content .form-select:focus {
    border-color: #bc965d !important;
    box-shadow: 0 0 0 3px rgba(196, 155, 88, 0.16) !important;
    outline: none;
}

main > .container[id^="account-"]:not(#account-login):not(#account-account) #content .form-control::placeholder {
    color: #a9a092;
}

/* Checkbox / Switch */
main > .container[id^="account-"]:not(#account-login):not(#account-account) #content .form-check-input {
    border: 1px solid #bdab90 !important;
    box-shadow: none;
}

main > .container[id^="account-"]:not(#account-login):not(#account-account) #content .form-check-input:checked {
    background-color: #003d27 !important;
    border-color: #003d27 !important;
}

main > .container[id^="account-"]:not(#account-login):not(#account-account) #content .form-check-input:focus {
    box-shadow: 0 0 0 3px rgba(0, 61, 39, 0.15) !important;
}

/* Dấu bắt buộc */
main > .container[id^="account-"]:not(#account-login):not(#account-account) #content .required .col-form-label::before {
    color: #b44e47 !important;
}

/* Thông báo lỗi */
main > .container[id^="account-"]:not(#account-login):not(#account-account) #content .text-danger,
main > .container[id^="account-"]:not(#account-login):not(#account-account) #content .invalid-feedback {
    color: #b53636 !important;
}


/* 5. NÚT BẤM */

main > .container[id^="account-"]:not(#account-login):not(#account-account) #content .btn-primary {
    min-height: 45px;
    padding: 10px 27px !important;

    background: #003d27 !important;
    border: 1px solid #003d27 !important;
    border-radius: 6px !important;

    color: #fff8ea !important;
    font-family: "Be Vietnam Pro", Arial, sans-serif;
    font-size: 12px;
    font-weight: 600;

    box-shadow: none !important;
    transition: 0.25s ease;
}

main > .container[id^="account-"]:not(#account-login):not(#account-account) #content .btn-primary:hover {
    background: #12633f !important;
    border-color: #12633f !important;
    color: #ffffff !important;
    transform: translateY(-2px);
}

main > .container[id^="account-"]:not(#account-login):not(#account-account) #content .btn-light,
main > .container[id^="account-"]:not(#account-login):not(#account-account) #content .btn-secondary {
    background: #f0e5d2 !important;
    border: 1px solid #d8c3a3 !important;
    color: #284432 !important;
    border-radius: 6px;
}


/* 6. MENU TÀI KHOẢN BÊN PHẢI */

main > .container[id^="account-"]:not(#account-login):not(#account-account) #column-right .list-group {
    overflow: hidden;

    background: #fffaf2 !important;
    border: 1px solid #e2cfb0 !important;
    border-radius: 13px !important;

    box-shadow: 0 12px 32px rgba(0, 20, 10, 0.25) !important;
}

main > .container[id^="account-"]:not(#account-login):not(#account-account) #column-right .list-group-item {
    display: flex;
    align-items: center;

    min-height: 43px;
    padding: 12px 17px !important;

    background: #fffaf2 !important;
    border: none !important;
    border-bottom: 1px solid #eee2cf !important;

    color: #455145 !important;
    font-family: "Be Vietnam Pro", Arial, sans-serif;
    font-size: 12px !important;
    font-weight: 500;
    line-height: 1.5;

    text-decoration: none !important;
    transition: background 0.2s ease, color 0.2s ease;
}

main > .container[id^="account-"]:not(#account-login):not(#account-account) #column-right .list-group-item:last-child {
    border-bottom: none !important;
}

/* Di chuột và mục đang chọn */
main > .container[id^="account-"]:not(#account-login):not(#account-account) #column-right .list-group-item:hover,
main > .container[id^="account-"]:not(#account-login):not(#account-account) #column-right .list-group-item.active {
    background: #003d27 !important;
    color: #fff7e7 !important;
    border-color: #003d27 !important;
}


/* 7. RIÊNG TRANG ĐĂNG KÝ */

/* Form đăng ký: nhãn ở trên, ô nhập ở dưới */
#account-register #content form .row.mb-3 {
    display: block !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-bottom: 20px !important;
}

#account-register #content form .row.mb-3 > .col-sm-2,
#account-register #content form .row.mb-3 > .col-sm-10 {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

#account-register #content form .col-form-label {
    padding-top: 0 !important;
    padding-bottom: 6px !important;
    text-align: left !important;
}

/* Khoảng cách giữa các nhóm */
#account-register #content fieldset {
    margin-bottom: 30px;
}

#account-register #content fieldset legend {
    margin-top: 20px !important;
}


/* 8. BẢNG DỮ LIỆU: ĐƠN HÀNG, GIAO DỊCH */

main > .container[id^="account-"]:not(#account-login):not(#account-account) #content .table-responsive {
    border-radius: 8px;
    overflow-x: auto;
}

main > .container[id^="account-"]:not(#account-login):not(#account-account) #content .table {
    background: #ffffff;
    color: #344536;
    font-size: 12px;
}

main > .container[id^="account-"]:not(#account-login):not(#account-account) #content .table thead th {
    background: #e9e1d2 !important;
    color: #21452e !important;
    font-weight: 600;
    border-color: #ddcfb8;
}

main > .container[id^="account-"]:not(#account-login):not(#account-account) #content .table td {
    border-color: #e9dfcf;
    vertical-align: middle;
}


/* 9. RESPONSIVE - TABLET */

@media (max-width: 991px) {
    main > .container[id^="account-"]:not(#account-login):not(#account-account) #content {
        padding: 28px 25px 35px !important;
    }

    main > .container[id^="account-"]:not(#account-login):not(#account-account) #column-right .list-group-item {
        padding: 11px 12px !important;
        font-size: 11px !important;
    }
}


/* 10. RESPONSIVE - ĐIỆN THOẠI */

@media (max-width: 767px) {
    main > .container[id^="account-"]:not(#account-login):not(#account-account) {
        padding: 0 13px !important;
        margin: 15px auto 40px !important;
    }

    main > .container[id^="account-"]:not(#account-login):not(#account-account) #content {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;

        padding: 25px 20px 30px !important;
        border-radius: 12px !important;
    }

    main > .container[id^="account-"]:not(#account-login):not(#account-account) #column-right,
    main > .container[id^="account-"]:not(#account-login):not(#account-account) #column-left {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
        margin-top: 20px;
    }

    main > .container[id^="account-"]:not(#account-login):not(#account-account) #content h1 {
        font-size: 26px !important;
    }

    main > .container[id^="account-"]:not(#account-login):not(#account-account) #content h2,
    main > .container[id^="account-"]:not(#account-login):not(#account-account) #content legend {
        font-size: 19px !important;
    }

    main > .container[id^="account-"]:not(#account-login):not(#account-account) .breadcrumb {
        padding: 12px 14px !important;
    }
}



/* =========================================
   THE NOMAD - LOGOUT / SUCCESS PAGE
   CHRISTMAS LUXURY
========================================= */

/* Khung tổng */
#common-success,
#account-logout {
    max-width: 1200px !important;
    margin: 25px auto 70px !important;
    padding: 0 20px !important;
    font-family: "Be Vietnam Pro", Arial, sans-serif;
}

/* Breadcrumb */
#common-success .breadcrumb,
#account-logout .breadcrumb {
    background: #fffaf2 !important;
    border: 1px solid #e4d5bd !important;
    border-radius: 9px !important;
    padding: 14px 20px !important;
    margin-bottom: 25px !important;
}

#common-success .breadcrumb a,
#account-logout .breadcrumb a {
    color: #315b43 !important;
    text-decoration: none !important;
}

#common-success .breadcrumb-item::after,
#account-logout .breadcrumb-item::after {
    display: none !important;
}

/* Bố cục 2 cột */
#common-success > .row,
#account-logout > .row {
    display: flex !important;
    align-items: flex-start !important;
    flex-wrap: wrap;
    gap: 24px;
    margin: 0 !important;
}

/* Khung nội dung chính */
#common-success #content,
#account-logout #content {
    flex: 1 1 550px !important;
    width: auto !important;
    min-width: 0;
    max-width: 100% !important;

    padding: 50px 45px !important;

    background: #fffaf2 !important;
    border: 1px solid #e4d2b5 !important;
    border-radius: 15px !important;

    box-shadow: 0 16px 42px rgba(0,20,10,.28) !important;
    color: #344639 !important;

    text-align: center;
}

/* Tiêu đề */
#common-success #content h1,
#account-logout #content h1 {
    color: #003d27 !important;
    font-family: "Noto Serif", Georgia, serif !important;
    font-size: 32px !important;
    font-weight: 600 !important;
    line-height: 1.5;
    text-shadow: none !important;
    margin: 0 0 24px !important;
}

/* Nội dung thông báo */
#common-success #content p,
#account-logout #content p {
    color: #526051 !important;
    font-size: 13px !important;
    line-height: 2 !important;
    text-shadow: none !important;
    margin-bottom: 18px;
}

#common-success #content p a,
#account-logout #content p a {
    color: #a17a45 !important;
    text-decoration: none;
}

/* Nút tiếp tục */
#common-success #content .btn-primary,
#account-logout #content .btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 170px;
    min-height: 47px;
    padding: 12px 30px !important;

    background: #003d27 !important;
    border: 1px solid #003d27 !important;
    border-radius: 6px !important;

    color: #fff8e9 !important;
    font-size: 13px !important;
    font-weight: 600;

    transition: .25s ease;
}

#common-success #content .btn-primary:hover,
#account-logout #content .btn-primary:hover {
    background: #12613f !important;
    border-color: #12613f !important;
    transform: translateY(-2px);
}

/* Menu bên phải */
#common-success #column-right,
#account-logout #column-right {
    flex: 0 0 270px !important;
    width: 270px !important;
    max-width: 100% !important;
    padding: 0 !important;
    align-self: flex-start;
}

/* Nếu có menu bên trái */
#common-success #column-left,
#account-logout #column-left {
    padding-bottom: 0 !important;
}

/* Hết khoảng trống khổng lồ */
#common-success #column-right,
#account-logout #column-right {
    padding-bottom: 0 !important;
}

/* Khung menu */
#common-success #column-right .list-group,
#account-logout #column-right .list-group {
    overflow: hidden;
    background: #fffaf2 !important;

    border: 1px solid #e2cfb0 !important;
    border-radius: 13px !important;

    box-shadow: 0 12px 32px rgba(0,20,10,.25);
}

/* Từng mục menu */
#common-success #column-right .list-group-item,
#account-logout #column-right .list-group-item {
    padding: 13px 17px !important;

    background: #fffaf2 !important;
    border: none !important;
    border-bottom: 1px solid #eee2cf !important;

    color: #455145 !important;
    font-size: 12px !important;
    font-weight: 500;
    text-decoration: none !important;

    transition: .2s ease;
}

#common-success #column-right .list-group-item:hover,
#account-logout #column-right .list-group-item:hover,
#common-success #column-right .list-group-item.active,
#account-logout #column-right .list-group-item.active {
    background: #003d27 !important;
    color: #fff8e9 !important;
}

/* Responsive */
@media (max-width: 767px) {
    #common-success,
    #account-logout {
        padding: 0 13px !important;
    }

    #common-success #content,
    #account-logout #content {
        flex: 0 0 100% !important;
        padding: 35px 24px !important;
    }

    #common-success #column-right,
    #account-logout #column-right {
        flex: 0 0 100% !important;
        width: 100% !important;
    }

    #common-success #content h1,
    #account-logout #content h1 {
        font-size: 26px !important;
    }
}


/* =================================
   THE NOMAD - CHECKOUT PAGE
================================= */

.checkout-page {
    max-width: 1320px;
    padding-top: 25px;
    padding-bottom: 45px;
}

.checkout-page h1 {
    color: #064b38;
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 25px;
}

.checkout-columns {
    align-items: flex-start;
    --bs-gutter-x: 20px;
}

.checkout-left,
.checkout-right {
    min-width: 0;
}

.checkout-panel {
    background: #fffdf8;
    border: 1px solid #e5e5d9;
    border-radius: 10px;
    padding: 22px;
    margin-bottom: 18px;
    box-shadow: 0 3px 12px rgba(0, 40, 25, 0.045);
}

.checkout-order-panel {
    background: #fffdf8;
}

/* Form */
.checkout-page .form-control,
.checkout-page .form-select {
    border: 1px solid #dce3d9;
    border-radius: 6px;
    min-height: 42px;
}

.checkout-page .form-control:focus,
.checkout-page .form-select:focus {
    border-color: #0b6349;
    box-shadow: 0 0 0 0.15rem rgba(11, 99, 73, 0.12);
}

/* Buttons */
.checkout-page .btn-primary {
    background: #07543f;
    border-color: #07543f;
    border-radius: 6px;
    padding: 10px 20px;
    font-weight: 600;
}

.checkout-page .btn-primary:hover {
    background: #043d2e;
    border-color: #043d2e;
}

/* Order summary */
.checkout-order-panel .table {
    margin-bottom: 0;
}

.checkout-order-panel .table th {
    color: #064b38;
}

/* Mobile */
@media (max-width: 991px) {
    .checkout-page {
        padding: 15px;
    }

    .checkout-page h1 {
        font-size: 24px;
    }

    .checkout-panel {
        padding: 16px;
    }

    .checkout-right {
        margin-top: 5px;
    }
}


/* THE NOMAD - CHECKOUT REDESIGN */

#checkout-checkout.checkout-page {
    width: calc(100% - 50px);
    max-width: 1440px;
    margin: 30px auto 60px;
    padding: 0;
}

.checkout-page h1 {
    color: #064b38;
    font-size: 30px;
    font-weight: 700;
    margin: 25px 0;
}

.checkout-page .checkout-columns {
    display: flex;
    align-items: flex-start;
    --bs-gutter-x: 24px;
}

.checkout-page .checkout-left {
    flex: 0 0 58%;
    max-width: 58%;
}

.checkout-page .checkout-right {
    flex: 0 0 42%;
    max-width: 42%;
    position: sticky;
    top: 110px;
}

.checkout-page .checkout-panel {
    background: #fffdf8;
    border: 1px solid #e5e8df;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 40, 25, 0.05);
}

.checkout-page .checkout-panel h2,
.checkout-page .checkout-panel h3 {
    color: #064b38;
    font-weight: 700;
}

.checkout-page .form-control,
.checkout-page .form-select {
    min-height: 43px;
    border: 1px solid #dce4d9;
    border-radius: 6px;
}

.checkout-page .form-control:focus,
.checkout-page .form-select:focus {
    border-color: #0b6349;
    box-shadow: 0 0 0 3px rgba(11, 99, 73, 0.1);
}

.checkout-page .btn-primary {
    background: #07543f;
    border-color: #07543f;
    border-radius: 6px;
    font-weight: 600;
    padding: 11px 22px;
}

.checkout-page .btn-primary:hover {
    background: #043d2e;
    border-color: #043d2e;
}

.checkout-page #checkout-confirm {
    width: 100%;
}

@media (max-width: 991px) {
    #checkout-checkout.checkout-page {
        width: calc(100% - 24px);
    }

    .checkout-page .checkout-left,
    .checkout-page .checkout-right {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .checkout-page .checkout-right {
        position: static;
    }

    .checkout-page .checkout-panel {
        padding: 16px;
    }
}


/* Trang chủ Noel */
#common-home .nomad-home-showcase {
    width: auto;
    max-width: none;
    margin: 24px 3px 0;
}

#common-home .nomad-home-showcase__viewport {
    border: 1px solid #d5b36f;
}

#common-home #content .nomad-home-sections > :is(.nomad-home-promotions, .nomad-home-articles) {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(12px, 2vw, 24px);
    margin-inline: 0 !important;
    padding: 0 !important;
}

#common-home #content .nomad-home-sections > :is(.nomad-home-promotions, .nomad-home-articles) > .col {
    width: auto !important;
    max-width: none !important;
    min-width: 0;
    margin: 0 !important;
    padding: 0 !important;
}

#common-home #content .nomad-home-sections > :is(.nomad-home-promotions, .nomad-home-articles) .product-thumb {
    background: #fff9ef !important;
    border: 1px solid #d5b36f !important;
    border-radius: 18px !important;
    padding-top: 4px !important;
}

#common-home #content .nomad-home-sections > :is(.nomad-home-promotions, .nomad-home-articles) .product-thumb::before {
    content: "";
    height: 4px !important;
    background: #a98648;
}

#common-home #content .nomad-home-sections > :is(.nomad-home-promotions, .nomad-home-articles) .product-thumb::after,
#common-home #content .nomad-home-sections > :is(.nomad-home-promotions, .nomad-home-articles) .product-thumb .image::before,
#common-home #content .nomad-home-sections > :is(.nomad-home-promotions, .nomad-home-articles) .product-thumb .image::after {
    display: none !important;
}

#common-home #content .nomad-home-sections > :is(.nomad-home-promotions, .nomad-home-articles) .product-thumb :is(.content, .description) {
    background: transparent !important;
}

#common-home #content .nomad-home-sections > :is(.nomad-home-promotions, .nomad-home-articles) .product-thumb .description {
    margin: 0 !important;
    padding: 0 !important;
}

#common-home #content .nomad-home-sections > .nomad-home-promotions .product-thumb .description {
    display: flex;
    flex-direction: column;
    flex: 1;
}

#common-home #content .nomad-home-sections > .nomad-home-promotions .product-thumb .price {
    margin-top: auto;
}

@media (max-width: 767px) {
    #common-home #content .nomad-home-sections > :is(.nomad-home-promotions, .nomad-home-articles) {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 479px) {
    #common-home #content .nomad-home-sections > :is(.nomad-home-promotions, .nomad-home-articles) {
        grid-template-columns: minmax(0, 1fr);
    }
}


/* Điều hướng và danh mục sản phẩm Noel */
.container[id^="product-"] > .breadcrumb > .breadcrumb-item {
    min-width: 0;
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
}

.container[id^="product-"] > .breadcrumb > .breadcrumb-item a {
    white-space: normal;
    overflow-wrap: anywhere;
}

#product-info #content,
#product-category #content {
    min-width: 0;
}

#product-info #content h1,
#product-info #content .list-unstyled,
#product-info #content .tab-content {
    overflow-wrap: anywhere;
}

#product-info #content .tab-content img {
    max-width: 100%;
    height: auto;
}

#product-info #content .tab-content table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
}

#product-category {
    margin-top: clamp(14px, 3vw, 32px);
    margin-bottom: clamp(24px, 5vw, 56px);
}

#product-category > .breadcrumb {
    background: #faf5ea;
    border: 1px solid #d5b36f;
    border-radius: 12px;
}

#product-category > .breadcrumb a,
#product-category > .row > #content a:not(.btn) {
    color: #154333;
}

#product-category > .row > #content {
    margin-inline: 12px;
    padding: clamp(16px, 3vw, 32px);
    background: #faf5ea;
    border: 1px solid #d5b36f;
    border-radius: 18px;
    color: #153d2e;
}

#product-category > .row > #content > h1 {
    margin: 0 0 20px;
    color: #153d2e;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(28px, 4vw, 44px);
    overflow-wrap: anywhere;
}

#product-category .tn-category-refine {
    margin-bottom: 24px;
}

#product-category .tn-category-refine h2 {
    color: #153d2e;
    font-size: 18px;
    margin: 0 0 12px;
}

#product-category .tn-category-refine ul {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 175px), 1fr));
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

#product-category .tn-category-refine a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    height: 100%;
    padding: 12px;
    background: #fffdf7;
    border: 1px solid #decba5;
    border-radius: 10px;
    text-decoration: none;
}

#product-category .tn-category-refine a:hover,
#product-category .tn-category-refine a:focus-visible {
    background: #e9eee3;
    text-decoration: underline;
}

@media (max-width: 575px) {
    .container[id^="product-"] > .breadcrumb > .breadcrumb-item {
        padding-inline: 8px;
    }

    .container[id^="product-"] > .breadcrumb > .breadcrumb-item::after {
        display: none;
    }

    #product-info #content .nav-tabs {
        gap: 4px;
    }

    #product-info #content .nav-tabs .nav-link {
        padding-inline: 8px;
    }
}


/* Breadcrumb bài viết dài và nút nhạc trên điện thoại */
#cms-blog > .breadcrumb > .breadcrumb-item {
    min-width: 0;
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
}

#cms-blog > .breadcrumb > .breadcrumb-item a {
    white-space: normal;
    overflow-wrap: anywhere;
}

@media (max-width: 575px) {
    #cms-blog > .breadcrumb > .breadcrumb-item::after {
        display: none;
    }

    .noel-music-toggle {
        display: grid;
        place-items: center;
        width: 44px;
        height: 44px;
        padding: 0 !important;
        right: 12px !important;
        bottom: 12px !important;
        font-size: 19px;
    }

    .noel-music-toggle .noel-music-label {
        display: none;
    }
}

/* A single storefront breadcrumb style takes precedence over page-specific styles. */
@layer nomad-breadcrumb {
    #container main .breadcrumb {
        display: flex !important;
        flex-wrap: wrap !important;
        align-items: center !important;
        gap: 0 !important;
        min-height: 38px !important;
        margin: 0 0 18px !important;
        padding: 0 !important;
        overflow: hidden !important;
        list-style: none !important;
        background: #faf5ea !important;
        border: 1px solid #d5b36f !important;
        border-radius: 12px !important;
        box-shadow: none !important;
    }

    #container main .breadcrumb > .breadcrumb-item {
        position: relative !important;
        display: flex !important;
        align-items: center !important;
        min-width: 0 !important;
        max-width: 100% !important;
        min-height: 36px !important;
        margin: 0 !important;
        padding: 6px 24px !important;
        color: #153d2e !important;
        background: transparent !important;
        border: 0 !important;
        font-size: 12px !important;
        line-height: 1.4 !important;
        text-shadow: none !important;
        white-space: normal !important;
        overflow-wrap: anywhere !important;
    }

    #container main .breadcrumb > .breadcrumb-item::before {
        content: none !important;
    }

    #container main .breadcrumb > .breadcrumb-item::after {
        content: "" !important;
        display: block !important;
        position: absolute !important;
        top: 50% !important;
        right: 7px !important;
        width: 25px !important;
        height: 25px !important;
        border: 0 !important;
        border-right: 1px solid #dbe1e0 !important;
        border-bottom: 1px solid #dbe1e0 !important;
        transform: translateY(-50%) rotate(-45deg) !important;
        pointer-events: none;
    }

    #container main .breadcrumb > .breadcrumb-item > a {
        display: block !important;
        min-width: 0 !important;
        color: #153d2e !important;
        font-size: inherit !important;
        font-weight: 500 !important;
        white-space: normal !important;
        overflow-wrap: anywhere !important;
        text-decoration: none !important;
    }

    #container main .breadcrumb > .breadcrumb-item > a:hover,
    #container main .breadcrumb > .breadcrumb-item > a:focus-visible {
        text-decoration: underline !important;
        text-underline-offset: 3px;
    }

    @media (max-width: 575px) {
        #container main .breadcrumb > .breadcrumb-item {
            padding-inline: 12px 20px !important;
        }

        #container main .breadcrumb > .breadcrumb-item::after {
            right: 5px !important;
            width: 17px !important;
            height: 17px !important;
        }
    }
}

/* Blog index: keep the breadcrumb outside the article panel. */
#product-category:has(> .row > #content > .input-group > #button-search) {
    width: calc(100% - clamp(24px, 5vw, 64px)) !important;
    max-width: 1280px !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
}

#product-category:has(> .row > #content > .input-group > #button-search) > .row {
    margin-inline: 0 !important;
}

#product-category:has(#button-search) > .row > #content {
    grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
    gap: clamp(12px, 2vw, 22px) !important;
    padding: clamp(14px, 2.6vw, 32px) !important;
    background: #faf7f0 !important;
    border: 1px solid #d5b36f;
    border-radius: 14px;
}

#product-category:has(#button-search) #content > h1 {
    padding-block: clamp(24px, 4vw, 44px) !important;
}

#product-category:has(#button-search) #content > h3 {
    margin: 0 !important;
}

#product-category:has(#button-search) #content > .input-group.dropdown.mb-3 {
    grid-column: 1 / span 4;
    align-self: center;
}

#product-category:has(#button-search) #content > .row:has(#input-sort) {
    grid-column: 5 / -1;
    margin: 0 !important;
    align-self: center;
}

#product-category:has(#button-search) #content > .row:has(#input-sort) > div {
    width: 100%;
    margin: 0;
    padding: 0;
}

#product-category:has(#button-search) #content > .mb-3:has(> h2 > a) {
    grid-column: span 2;
}

@media (min-width: 701px) and (max-width: 1024px) {
    #product-category:has(#button-search) #content > .mb-3:has(> h2 > a) {
        grid-column: span 3;
    }
}

@media (max-width: 700px) {
    #product-category:has(#button-search) #content > .input-group.dropdown.mb-3,
    #product-category:has(#button-search) #content > .row:has(#input-sort),
    #product-category:has(#button-search) #content > .mb-3:has(> h2 > a) {
        grid-column: 1 / -1;
    }
}

/* Compact music control and journal image fit 2026-11-16 */
body .noel-music-toggle { display:inline-flex!important; align-items:center; justify-content:center; box-sizing:border-box; width:44px!important; height:44px!important; min-width:44px!important; padding:0!important; border-radius:50%!important; font-size:22px!important; line-height:1!important; box-shadow:0 3px 12px #0003; }
body .noel-music-toggle .noel-music-label { position:absolute!important; width:1px!important; height:1px!important; padding:0!important; margin:-1px!important; overflow:hidden!important; clip-path:inset(50%); white-space:nowrap; }
body .noel-music-toggle[aria-pressed="true"] { border-color:#efd18b!important; box-shadow:0 0 0 3px #d5b36f55; }
body .noel-music-toggle:focus-visible { outline:3px solid #d5b36f; outline-offset:3px; }
#common-home #content .nomad-home-articles .product-thumb .image { padding:0!important; overflow:hidden; height:220px!important; min-height:0!important; }
#common-home #content .nomad-home-articles .product-thumb .image a { display:block!important; width:100%!important; height:100%!important; }
#common-home #content .nomad-home-articles .product-thumb .image img { display:block!important; width:100%!important; height:100%!important; min-height:0!important; max-width:none!important; max-height:none!important; padding:0!important; margin:0!important; border:0!important; object-fit:cover!important; }
@media(max-width:767px) { #common-home #content .nomad-home-articles .product-thumb .image { height:180px!important; } }
#product-category:has(#input-search) #content .mb-3 > div > a:has(img) { display:block; overflow:hidden; }
#product-category:has(#input-search) #content img.img-thumbnail { display:block; width:100%!important; max-width:none!important; padding:0!important; border:0!important; margin:0!important; object-fit:cover; }

/* Keep gift artwork independent from the growing product list */
#common-home #nomad-gifts .nomad-gifts__cover { align-self:start!important; height:420px!important; min-height:0!important; max-height:420px!important; background-size:auto,cover!important; }
#common-home #nomad-gifts .nomad-gifts__body { min-width:0; }
@media(max-width:767px) { #common-home #nomad-gifts .nomad-gifts__cover { height:200px!important; max-height:200px!important; } }

/* Balanced closing sections across the beauty journal */
#content .tn-magazine-ending { display:flex!important; flex-direction:column; align-items:center!important; justify-content:center; gap:16px; padding:clamp(28px,5vw,56px) clamp(20px,4vw,48px)!important; text-align:center!important; }
#content .tn-magazine-ending > * { float:none!important; width:100%!important; max-width:760px!important; margin:0 auto!important; text-align:center!important; }
#content .tn-magazine-ending > h2 { max-width:820px!important; padding:0!important; font-size:clamp(24px,3vw,34px)!important; line-height:1.3!important; text-wrap:balance; }
#content .tn-magazine-ending > p { line-height:1.8!important; text-wrap:pretty; }
#content .tn-magazine-ending .tn-magazine-kicker { display:block; font-size:11px; line-height:1.6; letter-spacing:.14em; }
#content .tn-magazine-ending .tn-magazine-ending-highlight { margin-top:2px!important; }

/* Override the article body heading rule inside closing panels */
#cms-blog #content .tn-magazine-ending > h2, #cms-blog #content .tn-magazine-ending > p, #cms-blog #content .tn-magazine-ending > span { text-align:center!important; margin:0 auto!important; }
#cms-blog #content .tn-magazine-ending > h2 { max-width:820px!important; width:100%!important; padding:0!important; line-height:1.3!important; font-size:clamp(24px,3vw,34px)!important; }
