/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

@import url('https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400;1,600&family=Cormorant:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&display=swap');

:root {
  --max-w: 1240px;
  --font-display: 'Cormorant', 'Cormorant Garamond', serif;
  --font-body: 'Be Vietnam Pro', 'BeVietnamPro', sans-serif;
  --font-nav: 'Be Vietnam Pro', 'BeVietnamPro', sans-serif;
  --bg: #FFFFFF;
  --bg-section: #FFFFFF;
  --bg-soft: #F4F7FD;
  --white: #FFFFFF;
  /* ---------- PRIMARY / SECONDARY (Chủ đạo #132466, Hover toàn bộ #2A52BE, Giá màu đen #111111) ---------- */
  --primary: #132466;
  --primary-hover: #2A52BE;
  --primary-light: #E5EAF8;
  --secondary: #132466;
  --success: #7BA893;
  --alert: #B5453D;
  --text-base: #222222;
  --text-headline: #111111;
  --text-muted: #6E7288;
  --divider: #E2E2E2;
  --link: #132466;
  --link-hover: #2A52BE;
  --widget-link: #6E7288;
  --widget-link-hover: #2A52BE;
  --tooltip-text: #FFFFFF;
  --tooltip-bg: #132466;
  --btn-cart-bg: var(--primary);
  --btn-cart-bg-hover: var(--primary-hover);
  --badge-sale: #132466;
  --badge-new: #D87935;
  --badge-custom: #6E7288;
  --review-stars: #D87935;
  --price-regular: #888888;
  --price-sale: #111111;
  --text-dark: var(--text-base);
  --text-navy: var(--text-headline);
  --border: var(--divider);
  --gold: var(--review-stars);
  --primary-dark: var(--primary-hover);
}

/* ==========================================================================
   GLOBAL PRODUCT PRICE & TYPOGRAPHY STYLING
   ========================================================================== */
.price,
.cat-price,
.mina-sp-price,
.cat-regular-price-only,
.cat-current-price {
  color: #111111;
}

/* Giá khuyến mại / Sale Price: Màu Primary thương hiệu */
.price ins,
.price ins *,
.cat-price ins,
.cat-price ins *,
.mina-sp-price ins,
.mina-sp-price ins *,
.mina-sp-current-price,
.mina-sp-current-price *,
.cat-sale-price,
.cat-sale-price *,
ins .woocommerce-Price-amount,
ins .amount {
  color: var(--primary, #132466) !important;
  text-decoration: none !important;
  font-weight: 700 !important;
}

/* Giá gốc / Giá cũ khi có sale: Màu xám gạch ngang */
.price del,
.price del *,
.cat-price del,
.cat-price del *,
.mina-sp-price del,
.mina-sp-price del *,
.cat-regular-price,
.cat-regular-price *,
del .woocommerce-Price-amount,
del .amount {
  color: var(--text-muted, #888888) !important;
  font-size: 12.5px !important;
  font-weight: 400 !important;
  text-decoration: line-through !important;
  opacity: 0.85 !important;
}

/* Tag % giảm giá bên cạnh giá bán trên card */
/* Tag % giảm giá bên cạnh giá bán trên card */
.cat-discount-badge {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: var(--primary, #132466) !important;
  color: #FFFFFF !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  padding: 2.5px 6px !important;
  border-radius: 4px !important;
  border: 1px solid var(--primary, #132466) !important;
  vertical-align: middle !important;
  margin-left: 4px !important;
  white-space: nowrap !important;
}

/* Badge % giảm giá trên trang chi tiết sản phẩm (cạnh giá và trên gallery stage) */
.mina-sp-sale-badge,
.mina-sp-stage-badge.mina-stage-sale-badge {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: var(--primary, #132466) !important;
  color: #FFFFFF !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  padding: 3px 8px !important;
  border-radius: 6px !important;
  line-height: 1.1 !important;
  box-shadow: 0 2px 6px rgba(19, 36, 102, 0.25) !important;
  letter-spacing: 0.02em !important;
  white-space: nowrap !important;
}

/* Badges nhóm ở góc thumbnail card sản phẩm ngoài danh sách */
.cat-badges-wrap {
  position: absolute !important;
  top: 8px !important;
  right: 8px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-end !important;
  gap: 4px !important;
  z-index: 6 !important;
  pointer-events: none !important;
}

.cat-badges-wrap .sale-badge {
  position: static !important;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;
  margin: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  white-space: nowrap !important;
  width: auto !important;
  max-width: none !important;
}

.sale-badge {
  position: static !important;
  color: #FFFFFF !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  letter-spacing: 0.03em !important;
  padding: 3px 8px !important;
  border-radius: 999px !important;
  z-index: 5 !important;
  pointer-events: none !important;
  line-height: 1.2 !important;
  text-transform: uppercase !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15) !important;
  white-space: nowrap !important;
  width: auto !important;
  max-width: none !important;
}

.cat-thumb > .sale-badge {
  position: absolute !important;
  top: 8px !important;
  right: 8px !important;
  white-space: nowrap !important;
  width: auto !important;
}

.sale-badge.sale-badge-discount,
.sale-badge:not([class*="sale-badge-"]) {
  background: var(--primary, #132466) !important;
  box-shadow: 0 2px 8px rgba(19, 36, 102, 0.35) !important;
}
.sale-badge.sale-badge-bestseller {
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%) !important;
  box-shadow: 0 2px 8px rgba(217, 119, 6, 0.35) !important;
}
.sale-badge.sale-badge-new {
  background: linear-gradient(135deg, #0284C7 0%, #0369A1 100%) !important;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.35) !important;
}
.sale-badge.sale-badge-featured {
  background: linear-gradient(135deg, #6366F1 0%, #4F46E5 100%) !important;
  box-shadow: 0 2px 8px rgba(79, 70, 229, 0.35) !important;
}
.sale-badge.sale-badge-custom {
  background: linear-gradient(135deg, #8B5CF6 0%, #7C3AED 100%) !important;
  box-shadow: 0 2px 8px rgba(124, 58, 237, 0.35) !important;
}
.sale-badge.out-of-stock-badge {
  background: #64748B !important;
  box-shadow: none !important;
}

/* Product Titles & Cat_Products Block Titles ('Be Vietnam Pro') */
.mina-sp-title,
.product-title,
.product_title,
.cat-card-body h3,
.cat-card-body h3 a,
.cat-title,
.cat-heading-main,
.cat-heading-sub,
.cat-section-title,
.cat-header-titles h2,
.cat-header-titles h3,
.mina-search-prod-title,
.mina-search-prod-title a {
  font-family: var(--font-body, 'Be Vietnam Pro', sans-serif) !important;
}

.cat-short-desc {
  font-size: 12px !important;
  line-height: 1.35 !important;
  height: 34px !important;
  color: var(--text-muted, #6B7494) !important;
  margin-top: 0 !important;
  margin-bottom: 2px !important;
  padding: 0 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}
.cat-short-desc p, .cat-short-desc ul, .cat-short-desc li, .cat-short-desc span, .cat-short-desc div {
  font-size: 12px !important;
  line-height: 1.35 !important;
  margin: 0 !important;
  padding: 0 !important;
  display: inline !important;
  color: inherit !important;
}

/* ==========================================================================
   UNIFIED BUTTON DESIGN SYSTEM (PRIMARY #132466 | HOVER #2A52BE)
   ========================================================================== */

/* 1. PRIMARY BUTTONS — NÚT THÊM GIỎ HÀNG & NÚT THAO TÁC CHÍNH */
.btn-add,
.btn-add-cart,
.cat-card-body .btn-add.button,
.cat-card-body .btn-add-cart,
.mina-sp-add-btn,
.single_add_to_cart_button,
.add_to_cart_button,
.ajax_add_to_cart,
.btn-drawer-checkout,
.mina-btn-checkout,
.mina-btn-primary,
.mina-hero-search-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  padding: 10px 24px !important;
  border-radius: 999px !important;
  background: var(--primary, #132466) !important;
  color: #FFFFFF !important;
  font-family: var(--font-body, 'Be Vietnam Pro', sans-serif) !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.04em !important;
  border: 1px solid var(--primary, #132466) !important;
  cursor: pointer !important;
  transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
  box-shadow: 0 4px 14px rgba(19, 36, 102, 0.22) !important;
  text-decoration: none !important;
  line-height: 1.2 !important;
  box-sizing: border-box !important;
  white-space: nowrap !important;
  outline: none !important;
}

/* Triệt tiêu icon ✓ / spinner trùng lặp của WooCommerce default pseudo-elements :after & :before */
.btn-add:after,
.btn-add:before,
.btn-add-cart:after,
.btn-add-cart:before,
.mina-sp-add-btn:after,
.mina-sp-add-btn:before,
.single_add_to_cart_button:after,
.single_add_to_cart_button:before,
.add_to_cart_button:after,
.add_to_cart_button:before,
.ajax_add_to_cart:after,
.ajax_add_to_cart:before,
.added_to_cart {
  display: none !important;
  content: none !important;
}

.btn-add:hover,
.btn-add-cart:hover,
.cat-card-body .btn-add.button:hover,
.cat-card-body .btn-add-cart:hover,
.mina-sp-add-btn:hover,
.single_add_to_cart_button:hover,
.add_to_cart_button:hover,
.ajax_add_to_cart:hover,
.btn-drawer-checkout:hover,
.mina-btn-checkout:hover,
.mina-btn-primary:hover,
.mina-hero-search-btn:hover {
  background: var(--primary-hover, #2A52BE) !important;
  border-color: var(--primary-hover, #2A52BE) !important;
  color: #FFFFFF !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 24px rgba(42, 82, 190, 0.38) !important;
}

.btn-add:active,
.btn-add-cart:active,
.cat-card-body .btn-add.button:active,
.mina-sp-add-btn:active,
.single_add_to_cart_button:active,
.btn-drawer-checkout:active,
.mina-btn-checkout:active {
  transform: translateY(0) !important;
  box-shadow: 0 2px 8px rgba(19, 36, 102, 0.2) !important;
}


/* 2. SECONDARY BUTTONS — NÚT XEM CHI TIẾT & NÚT PHỤ */
.btn-view-detail,
.btn-detail,
.cat-view-all,
.btn-drawer-cart,
.mina-btn-view-cart,
.mina-btn-secondary,
.mina-search-prod-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  padding: 9px 20px !important;
  border-radius: 999px !important;
  background: #FFFFFF !important;
  color: var(--primary, #132466) !important;
  font-family: var(--font-body, 'Be Vietnam Pro', sans-serif) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  text-transform: none !important;
  letter-spacing: 0.02em !important;
  border: 1px solid var(--primary, #132466) !important;
  cursor: pointer !important;
  transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
  text-decoration: none !important;
  line-height: 1.2 !important;
  box-sizing: border-box !important;
  white-space: nowrap !important;
  outline: none !important;
}

.btn-view-detail:hover,
.btn-detail:hover,
.cat-view-all:hover,
.btn-drawer-cart:hover,
.mina-btn-view-cart:hover,
.mina-btn-secondary:hover,
.mina-search-prod-btn:hover {
  background: var(--primary-hover, #2A52BE) !important;
  border-color: var(--primary-hover, #2A52BE) !important;
  color: #FFFFFF !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 18px rgba(42, 82, 190, 0.25) !important;
}

.btn-view-detail:active,
.btn-detail:active,
.cat-view-all:active,
.btn-drawer-cart:active {
  transform: translateY(0) !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05) !important;
}


/* 3. OUT OF STOCK BUTTONS — NÚT HẾT HÀNG / TẠM NGƯNG */
.out-of-stock-btn,
.btn-out-of-stock,
.mina-sp-out-of-stock-msg {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  padding: 10px 20px !important;
  border-radius: 999px !important;
  background-color: var(--bg-soft, #F5F5F5) !important;
  color: var(--text-muted, #6E7288) !important;
  border: 1px solid var(--border, #E2E2E2) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  cursor: not-allowed !important;
  opacity: 0.85 !important;
  box-shadow: none !important;
}

/*************** ADD CUSTOM CSS HERE.   ***************/

/* ==========================================================================
   HEADER NAVIGATION MENU (LUXURY BEAUTY BRAND STYLING)
   ========================================================================== */
#header .header-nav > li > a,
#header .header-bottom-nav > li > a,
#header .nav-top-link,
#wide-nav .nav-top-link,
#header .nav > li > a {
  font-family: var(--font-nav) !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
  color: #111111 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  position: relative !important;
  padding: 10px 0 !important;
  margin: 0 14px !important;
  transition: color 0.25s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}

/* Submenu / Dropdown item text styling */
#header .nav-dropdown > li > a,
#header .sub-menu > li > a {
  font-family: var(--font-body) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  color: #111111 !important;
  transition: color 0.2s ease !important;
}

/* Hiệu ứng thanh gạch chân mảnh khi Hover */
#header .header-nav > li > a::after,
#header .header-bottom-nav > li > a::after,
#wide-nav .nav-top-link::after {
  content: '' !important;
  position: absolute !important;
  bottom: 2px !important;
  left: 0 !important;
  width: 100% !important;
  height: 2.5px !important;
  background-color: #2A52BE !important;
  border-radius: 2px !important;
  transform: scaleX(0) !important;
  transform-origin: right !important;
  transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}

/* Hover & Active State — chữ đậm màu đen, hover vào màu xanh sáng hơn #2A52BE */
#header .header-nav > li > a:hover,
#header .header-bottom-nav > li > a:hover,
#header .nav-top-link:hover,
#wide-nav .nav-top-link:hover,
#header .nav > li > a:hover,
#header .header-nav > li.active > a,
#header .header-nav > li.current-menu-item > a,
#header .header-bottom-nav > li.current-menu-item > a,
#header .header-bottom-nav > li.active > a,
.header-bottom-nav > li:hover > a,
#header .nav-dropdown > li > a:hover,
#header .sub-menu > li > a:hover {
  color: #2A52BE !important;
}

#header .header-nav > li > a:hover::after,
#header .header-bottom-nav > li > a:hover::after,
#wide-nav .nav-top-link:hover::after,
#header .header-bottom-nav > li.current-menu-item > a::after,
#header .header-bottom-nav > li.active > a::after {
  transform: scaleX(1) !important;
  transform-origin: left !important;
}

/* Header Icons (Search, Cart, Mobile Icon) Hover */
#header .header-search > a:hover i,
#header .cart-item .header-cart-link:hover i,
#header .mobile-nav .nav-icon a:hover i,
#header .account-item > a:hover {
  color: #2A52BE !important;
  transform: scale(1.1);
  transition: transform 0.2s ease, color 0.2s ease;
}


/* ==========================================================================
   PRODUCT THUMBNAIL HOVER IMAGE EFFECT
   ========================================================================== */
.cat-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  border-radius: 12px 12px 0 0;
  background: var(--bg-soft, #F5F5F5);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  overflow: hidden;
}

.cat-thumb a {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.cat-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: opacity 0.45s cubic-bezier(0.25, 1, 0.5, 1), transform 0.45s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Ảnh chính */
.cat-thumb img.primary-img {
  position: relative;
  z-index: 1;
  opacity: 1;
}

/* Ảnh phụ (Hình thứ 2 từ WooCommerce Product Gallery) */
.cat-thumb img.secondary-img {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  opacity: 0;
  transform: scale(1.05);
}

/* Hiệu ứng khi Hover vào Card */
.cat-card:hover .cat-thumb img.primary-img {
  opacity: 0;
}

.cat-card:hover .cat-thumb img.secondary-img {
  opacity: 1;
  transform: scale(1);
}

/* Nếu sản phẩm chỉ có 1 ảnh, giữ hiệu ứng phóng to mượt mà cho ảnh chính */
.cat-card:hover .cat-thumb img.primary-img:only-child {
  opacity: 1;
  transform: scale(1.07);
}

/* ==========================================================================
   STYLE THANH CUỘN (MINIMALIST TWO-TONE LINE SCROLLBAR ACCORDING TO DESIGN)
   ========================================================================== */

/* 1. Ẩn hoàn toàn thanh cuộn thô mặc định của trình duyệt */
.cat-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 8px;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE / Edge */
  -webkit-overflow-scrolling: touch;
}

.cat-scroll::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

/* 2. Thanh cuộn đường kẻ mảnh độ dài 30vw luôn hiển thị căn trái theo danh sách sản phẩm */
.cat-progress.swiper-scrollbar {
  height: 3px !important;
  background: var(--primary-light, #E4E6F0) !important;
  border-radius: 999px !important;
  position: relative !important;
  width: 30vw !important;
  max-width: 320px !important;
  min-width: 180px !important;
  margin: 24px 0 0 0 !important;
  left: 0 !important;
  right: auto !important;
  opacity: 1 !important;
  display: block !important;
}
.cat-progress .swiper-scrollbar-drag {
  height: 100% !important;
  background: var(--primary, #1A245F) !important;
  border-radius: 999px !important;
  cursor: grab;
}


/* ==========================================================================
   BLOG POST ARCHIVE CARDS (MAKIEKY STYLE)
   ========================================================================== */
.mina-post-card .col-inner {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border, #E2E2E2);
  background: var(--white, #FFFFFF);
  transition: all 0.3s ease;
  height: 100%;
}
.mina-post-card .col-inner:hover {
  transform: translateY(-4px);
  border-color: var(--primary, #1A245F);
  box-shadow: 0 12px 28px -8px rgba(26, 36, 95, 0.18);
}
.mina-post-thumb {
  height: 200px;
  overflow: hidden;
  background: var(--bg-soft, #E4E9F7);
}
.mina-post-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.mina-post-card:hover .mina-post-img {
  transform: scale(1.05);
}
.mina-post-body {
  padding: 18px 16px;
}
.mina-post-title {
  font-family: var(--font-body, 'Jost', sans-serif);
  font-size: 16px;
  font-weight: 600;
  color: var(--text-headline, #1B1216);
  margin-bottom: 8px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.mina-post-desc {
  font-size: 13.5px;
  color: var(--text-muted, #6E7288);
  line-height: 1.6;
  margin-bottom: 14px;
}
.mina-post-readmore {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--primary, #1A245F);
  display: inline-block;
  transition: transform 0.2s ease;
}
.mina-post-card:hover .mina-post-readmore {
  transform: translateX(4px);
}

/* Hide Single Product Ratings & Review Links Completely */
.woocommerce-product-rating,
.woocommerce-review-link,
.mina-sp-rating-row,
.star-rating,
.star-rating-wrap {
  display: none !important;
}

/* ==========================================================================
   EYE-CATCHING PRODUCT PRICE TYPOGRAPHY (.cat-price, .price)
   ========================================================================== */
.cat-price,
.price,
.mina-sp-price {
  display: flex !important;
  align-items: baseline !important;
  gap: 5px !important;
  flex-wrap: wrap !important;
  font-family: var(--font-body, 'Jost', sans-serif) !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
  color: var(--text-headline, #1B1216) !important;
  margin-bottom: 6px !important;
  min-height: 18px !important;
  letter-spacing: -0.01em !important;
}
.cat-price del,
.price del,
.mina-sp-price del {
  color: var(--text-muted, #8C6B72) !important;
  font-size: 10.5px !important;
  font-weight: 400 !important;
  text-decoration: line-through !important;
  opacity: 0.75 !important;
}
.cat-price ins,
.price ins,
.mina-sp-price ins {
  text-decoration: none !important;
  color: var(--primary, #1A245F) !important;
  font-weight: 700 !important;
  font-size: 14px !important;
}
.cat-price .woocommerce-Price-amount,
.price .woocommerce-Price-amount,
.mina-sp-price .woocommerce-Price-amount {
  display: inline-block !important;
}
.cat-price .woocommerce-Price-currencySymbol,
.price .woocommerce-Price-currencySymbol,
.mina-sp-price .woocommerce-Price-currencySymbol {
  font-size: 0.85em !important;
  font-weight: 600 !important;
  margin-left: 2px !important;
  text-decoration: underline !important;
  text-underline-offset: 2px !important;
}

/* ==========================================================================
   ADDED TO CART BUTTON STYLE (SINGLE ROW WITH TICK & ARROW ICON)
   ========================================================================== */
.btn-add.added,
.btn-add.button.added,
.cat-card-body .btn-add.added {
  display: none !important;
}

.added_to_cart.wc-forward,
.cat-card-body a.added_to_cart.wc-forward {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  text-align: center !important;
  background: #7BA893 !important; /* Sage Green pastel chuẩn như ảnh hình mẫu */
  color: #FFFFFF !important;
  padding: 5px 8px !important;
  border-radius: 999px !important;
  font-size: 10.5px !important;
  font-weight: 600 !important;
  letter-spacing: 0.02em !important;
  text-transform: uppercase !important;
  margin: 0 !important;
  min-height: 28px !important;
  line-height: 1.2 !important;
  text-decoration: none !important;
  transition: all 0.25s ease !important;
  box-sizing: border-box !important;
}

.added_to_cart.wc-forward::before {
  content: '✓ ' !important;
  font-weight: 700;
  margin-right: 4px;
}

.added_to_cart.wc-forward::after {
  content: ' ➔' !important;
  font-size: 11px;
  margin-left: 4px;
  transition: transform 0.2s ease;
}

.added_to_cart.wc-forward:hover {
  background: #5E8D77 !important;
  color: #FFFFFF !important;
}

.added_to_cart.wc-forward:hover::after {
  transform: translateX(3px);
}

/* Fix cart page quantity input border overlap */
.woocommerce-cart table.cart td.product-quantity .quantity input.qty {
  border: 1px solid var(--border, #E2E2E2) !important;
}

/* Fix header search form overflow on mobile due to long Vietnamese placeholder */
@media (max-width: 768px) {
  .header-search-form .flex-col.flex-grow,
  .searchform .flex-col.flex-grow {
    min-width: 0 !important;
  }
  .header-search-form input.search-field,
  .searchform input.search-field {
    min-width: 0 !important;
    font-size: 13px !important;
    padding-left: 10px !important;
  }
  .header-search-form button[type="submit"],
  .searchform button[type="submit"] {
    padding-left: 10px !important;
    padding-right: 10px !important;
    font-size: 13px !important;
    white-space: nowrap !important;
  }
}

.makieky-cart-wrapper .quantity {
  overflow: hidden !important;
}
.makieky-cart-wrapper .quantity .qty {
  height: 100% !important;
  box-shadow: none !important;
  border-top: none !important;
  border-bottom: none !important;
  padding: 0 !important;
  margin: 0 !important;
  line-height: normal !important;
  text-align: center !important;
}

@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/
  .makieky-checkout-wrapper .cart-body {
    grid-template-columns: 1fr !important;
  }
  .address-cards-grid {
    grid-template-columns: 1fr !important;
  }
  /* Fix quantity layout on mobile cart */
  .makieky-cart-wrapper .quantity {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    height: 38px !important;
    width: 100px !important;
    border-radius: 999px !important;
    border: 1px solid var(--border, #E2E2E2) !important;
    box-sizing: border-box !important;
  }
  .makieky-cart-wrapper .quantity input.minus,
  .makieky-cart-wrapper .quantity input.plus {
    width: 32px !important;
    height: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    border: none !important;
    font-size: 18px !important;
    font-weight: 500 !important;
    line-height: 1 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 0 !important;
    min-width: 0 !important;
    color: var(--text-headline, #111) !important;
    border-radius: 999px !important;
  }
  .makieky-cart-wrapper .quantity input.qty {
    flex: 1 !important;
    height: 100% !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-align: center !important;
    background: transparent !important;
    -moz-appearance: textfield !important;
    min-width: 0 !important;
  }
  /* Fix checkout coupon button alignment on mobile */
  .checkout_coupon.woocommerce-form-coupon {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
  }
  .checkout_coupon.woocommerce-form-coupon p.form-row,
  .checkout_coupon.woocommerce-form-coupon p.form-row-first,
  .checkout_coupon.woocommerce-form-coupon p.form-row-last {
    width: 100% !important;
    float: none !important;
    margin: 0 !important;
  }
  .checkout_coupon.woocommerce-form-coupon input.input-text,
  .checkout_coupon.woocommerce-form-coupon .button {
    margin: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}

.woocommerce-order-details address,
.woocommerce-customer-details address,
.address-card address,
.address-card-body,
.order_details,
address,
address * {
    word-wrap: break-word !important;
    word-break: break-all !important;
    overflow-wrap: anywhere !important;
}

/* Truncate long emails with ... instead of breaking */
.woocommerce-customer-details--email,
address a[href^="mailto:"] {
    display: block !important;
    max-width: 100%;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    word-break: normal !important;
}

/* For order details list item, target the strong tag so it doesn't break flex layout */
.order_details .email {
    min-width: 0 !important;
}
.order_details .email strong {
    display: block; /* or inline-block if not flex, but block helps truncation in flex */
    max-width: 100%;
    min-width: 0 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    word-break: normal !important;
    text-align: right;
}

/* ==========================================================================
   RECOMMENDED PRODUCTS WIDGET ("BẠN CỦNG CÓ THỂ THÍCH") - OBAGI STYLE
   ========================================================================== */
.mina-rec-widget {
  width: 100%;
  box-sizing: border-box;
}

.mina-rec-header {
  margin-bottom: 14px;
}

.mina-rec-tag {
  font-family: var(--font-body, 'Be Vietnam Pro', sans-serif) !important;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted, #6E7288);
  display: block;
  margin-bottom: 2px;
}

.mina-rec-heading {
  font-family: var(--font-body, 'Be Vietnam Pro', sans-serif) !important;
  font-size: 17px;
  font-weight: 700;
  color: var(--text-headline, #111111);
  margin: 0;
  line-height: 1.3;
}

.mina-rec-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mina-rec-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #FFFFFF;
  border: 1px solid var(--border, #E2E2E2);
  border-radius: 12px;
  padding: 10px 12px;
  transition: all 0.25s ease;
}

.mina-rec-item:hover {
  border-color: var(--primary-hover, #2A52BE);
  box-shadow: 0 4px 14px rgba(42, 82, 190, 0.1);
}

.mina-rec-thumb {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg-soft, #F5F5F5);
  display: flex;
  align-items: center;
  justify-content: center;
}

.mina-rec-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 2px;
}

.mina-rec-details {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.mina-rec-title {
  font-family: var(--font-body, 'Be Vietnam Pro', sans-serif) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: var(--text-headline, #111111) !important;
  line-height: 1.35 !important;
  text-decoration: none !important;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.mina-rec-title:hover {
  color: var(--primary-hover, #2A52BE) !important;
}

.mina-rec-price {
  font-size: 13px !important;
  font-weight: 700 !important;
  color: #111111 !important;
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.mina-rec-price * {
  color: #111111 !important;
}

.mina-rec-price del,
.mina-rec-price del * {
  color: #888888 !important;
  font-size: 11.5px !important;
  font-weight: 400 !important;
}

.mina-rec-add-btn {
  align-self: flex-start;
  padding: 6px 16px !important;
  font-size: 12px !important;
  height: auto !important;
  min-height: 32px !important;
  border-radius: 999px !important;
  margin-top: 2px !important;
}

/* ==========================================================================
   GLOBAL RESPONSIVE CONTAINER PADDING & ANTI-OVERFLOW RULES
   ========================================================================== */
html, body {
  overflow-x: hidden !important;
  max-width: 100% !important;
  width: 100% !important;
}

#wrapper, #main, #content {
  overflow-x: hidden !important;
  max-width: 100% !important;
  width: 100% !important;
}

/* Global Container Standard Padding */
.wrap,
.container,
.mina-archive-wrap,
.mina-search-wrap,
.makieky-cart-wrapper .wrap,
.makieky-checkout-wrapper .wrap,
.cat-section {
  box-sizing: border-box !important;
  max-width: var(--max-w, 1240px) !important;
  padding-left: 24px !important;
  padding-right: 24px !important;
}

@media (max-width: 992px) {
  .wrap,
  .container,
  .mina-archive-wrap,
  .mina-search-wrap,
  .makieky-cart-wrapper .wrap,
  .makieky-checkout-wrapper .wrap,
  .cat-section {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
}

@media (max-width: 768px) {
  .wrap,
  .container,
  .mina-archive-wrap,
  .mina-search-wrap,
  .makieky-cart-wrapper .wrap,
  .makieky-checkout-wrapper .wrap,
  .cat-section {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  /* Fix section full-width breaks */
  .pg-hero,
  .mina-search-hero {
    width: 100% !important;
    left: 0 !important;
    right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}

@media (max-width: 480px) {
  .wrap,
  .container,
  .mina-archive-wrap,
  .mina-search-wrap,
  .makieky-cart-wrapper .wrap,
  .makieky-checkout-wrapper .wrap,
  .cat-section {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }
}

/* ==========================================================================
   UNIFIED BUTTON SYSTEM & MOBILE FORM OPTIMIZATION (MAKIEKY LUXURY)
   ========================================================================== */

/* 1. Global Button Standardization (Cart, Checkout & Primary CTA) */
.checkout-btn,
.place-order,
.mina-empty-cart-btn,
.button.checkout-button,
a.button.primary:not([class*="is-"]),
button.button.primary:not([class*="is-"]) {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  height: 48px !important;
  border-radius: 999px !important;
  padding: 0 24px !important;
  font-family: var(--font-body, 'Be Vietnam Pro', sans-serif) !important;
  font-size: 14.5px !important;
  font-weight: 700 !important;
  background: var(--primary, #132466) !important;
  color: #FFFFFF !important;
  border: none !important;
  box-shadow: 0 4px 14px rgba(19, 36, 102, 0.2) !important;
  transition: all 0.2s ease !important;
  box-sizing: border-box !important;
  text-decoration: none !important;
  cursor: pointer !important;
}

.checkout-btn:hover,
.place-order:hover,
.mina-empty-cart-btn:hover,
.button.checkout-button:hover,
a.button.primary:not([class*="is-"]):hover,
button.button.primary:not([class*="is-"]):hover {
  background: var(--primary-hover, #2A52BE) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 18px rgba(19, 36, 102, 0.3) !important;
  color: #FFFFFF !important;
}

/* 2. Secondary & Outline Buttons */
.continue-shop,
.mina-cart-update-btn,
.button.secondary:not([class*="is-"]),
a.button.secondary:not([class*="is-"]) {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  height: 44px !important;
  border-radius: 999px !important;
  padding: 0 22px !important;
  font-family: var(--font-body, 'Be Vietnam Pro', sans-serif) !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  background: #FFFFFF !important;
  color: var(--text-headline, #111111) !important;
  border: 1.5px solid var(--border, #E2E8F0) !important;
  transition: all 0.2s ease !important;
  box-sizing: border-box !important;
  text-decoration: none !important;
  cursor: pointer !important;
}

.continue-shop:hover,
.mina-cart-update-btn:hover,
.button.secondary:not([class*="is-"]):hover,
a.button.secondary:not([class*="is-"]):hover {
  border-color: var(--primary, #132466) !important;
  color: var(--primary, #132466) !important;
  background: var(--bg-soft, #F8FAFC) !important;
}

/* 2.1 UX Builder & Flatsome Button Sizes */
.button.is-xxsmall:not(.circle) {
  font-size: 10.5px !important;
  min-height: 24px !important;
  line-height: 24px !important;
  padding: 0 10px !important;
  height: auto !important;
}

.button.is-xsmall:not(.circle) {
  font-size: 11.5px !important;
  min-height: 28px !important;
  line-height: 28px !important;
  padding: 0 12px !important;
  height: auto !important;
}

.button.is-smaller:not(.circle) {
  font-size: 12.5px !important;
  min-height: 32px !important;
  line-height: 32px !important;
  padding: 0 14px !important;
  height: auto !important;
}

.button.is-small:not(.circle) {
  font-size: 13px !important;
  min-height: 36px !important;
  line-height: 36px !important;
  padding: 0 16px !important;
  height: auto !important;
}

.button.is-large:not(.circle) {
  font-size: 16px !important;
  min-height: 52px !important;
  line-height: 52px !important;
  padding: 0 28px !important;
  height: auto !important;
}

.button.is-larger:not(.circle) {
  font-size: 17px !important;
  min-height: 56px !important;
  line-height: 56px !important;
  padding: 0 32px !important;
  height: auto !important;
}

.button.is-xlarge:not(.circle) {
  font-size: 18px !important;
  min-height: 60px !important;
  line-height: 60px !important;
  padding: 0 36px !important;
  height: auto !important;
}

.button.is-xxlarge:not(.circle) {
  font-size: 20px !important;
  min-height: 66px !important;
  line-height: 66px !important;
  padding: 0 40px !important;
  height: auto !important;
}

/* 3. Mobile Form Optimization */
@media (max-width: 768px) {
  /* Prevent iOS auto-zoom on input focus by setting minimum font-size: 14px */
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="password"],
  input[type="number"],
  input[type="search"],
  select,
  textarea,
  .woocommerce form .form-row input.input-text,
  .woocommerce form .form-row textarea,
  .woocommerce form .form-row select {
    font-size: 14px !important;
    min-height: 44px !important;
    border-radius: 10px !important;
    border: 1px solid var(--border, #E2E8F0) !important;
    padding: 10px 14px !important;
    box-sizing: border-box !important;
    width: 100% !important;
    font-family: var(--font-body, 'Be Vietnam Pro', sans-serif) !important;
  }

  textarea,
  .woocommerce form .form-row textarea {
    min-height: 84px !important;
  }

  .woocommerce form .form-row {
    margin-bottom: 14px !important;
    width: 100% !important;
    float: none !important;
    padding: 0 !important;
  }

  .woocommerce form .form-row-first,
  .woocommerce form .form-row-last {
    width: 100% !important;
    float: none !important;
    margin-right: 0 !important;
  }

  /* Full-width responsive buttons on mobile */
  .checkout-btn,
  .place-order,
  .mina-empty-cart-btn,
  .continue-shop,
  .mina-cart-update-btn {
    width: 100% !important;
    text-align: center !important;
    justify-content: center !important;
  }
}

/* ==========================================================================
   STEPPER PROGRESS BAR RESPONSIVE (ANTI-BREAK / NO STAIRCASE)
   ========================================================================== */
.pg-hero .steps,
.makieky-cart-wrapper .steps,
.makieky-checkout-wrapper .steps,
.steps {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-wrap: nowrap !important;
  gap: 12px !important;
  margin-top: 16px !important;
  box-sizing: border-box !important;
}

@media (max-width: 768px) {
  .pg-hero .steps,
  .makieky-cart-wrapper .steps,
  .makieky-checkout-wrapper .steps,
  .steps {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    white-space: nowrap !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    touch-action: pan-x !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
    justify-content: flex-start !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 6px 2px 10px !important;
    gap: 6px !important;
    margin-top: 12px !important;
    box-sizing: border-box !important;
  }

  .pg-hero .steps::-webkit-scrollbar,
  .makieky-cart-wrapper .steps::-webkit-scrollbar,
  .makieky-checkout-wrapper .steps::-webkit-scrollbar,
  .steps::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
  }

  .pg-hero .steps .step,
  .makieky-cart-wrapper .steps .step,
  .makieky-checkout-wrapper .steps .step,
  .steps .step {
    font-size: 11.5px !important;
    padding: 4px 8px !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    gap: 5px !important;
  }

  .pg-hero .steps .step .dot,
  .makieky-cart-wrapper .steps .step .dot,
  .makieky-checkout-wrapper .steps .step .dot,
  .steps .step .dot {
    width: 18px !important;
    height: 18px !important;
    font-size: 10px !important;
    flex-shrink: 0 !important;
  }

  .pg-hero .steps .step-line,
  .makieky-cart-wrapper .steps .step-line,
  .makieky-checkout-wrapper .steps .step-line,
  .steps .step-line {
    width: 12px !important;
    flex-shrink: 0 !important;
  }
}

/* ==========================================================================
   RECOMMENDED PRODUCTS GRID ("BẠN CŨNG CÓ THỂ THÍCH")
   ========================================================================== */
.mina-rec-cart-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 16px !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

@media (max-width: 992px) {
  .mina-rec-cart-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 14px !important;
  }
}

@media (max-width: 576px) {
  .mina-rec-cart-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }

  .mina-rec-cart-grid .cat-card {
    padding: 10px 8px !important;
    border-radius: 12px !important;
  }

  .mina-rec-cart-grid .cat-card h3 {
    font-size: 12.5px !important;
    height: 34px !important;
    line-height: 1.35 !important;
    margin-bottom: 4px !important;
  }

  .mina-rec-cart-grid .cat-price {
    font-size: 13px !important;
    margin-bottom: 8px !important;
  }

  .mina-rec-cart-grid .btn-add.button,
  .mina-rec-cart-grid .btn-add.button.btn-view-details {
    font-size: 11.5px !important;
    height: 36px !important;
    min-height: 36px !important;
    padding: 0 8px !important;
    border-radius: 999px !important;
    white-space: nowrap !important;
    width: 100% !important;
    text-align: center !important;
    justify-content: center !important;
  }
}

/* ==========================================================================
   CHECKOUT LAYOUT & FLOATING BUTTONS MOBILE OPTIMIZATION
   ========================================================================== */
@media (max-width: 992px) {
  .makieky-checkout-wrapper .co-body,
  .makieky-cart-wrapper .cart-body {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
    gap: 20px !important;
    padding-top: 16px !important;
    padding-bottom: 40px !important;
  }

  .makieky-checkout-wrapper .co-main-col,
  .makieky-checkout-wrapper #customer_details,
  .makieky-checkout-wrapper .woocommerce-billing-fields,
  .makieky-checkout-wrapper .woocommerce-billing-fields__field-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  .makieky-checkout-wrapper .section,
  .makieky-checkout-wrapper .summary,
  .makieky-cart-wrapper .summary {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .makieky-checkout-wrapper .section {
    padding: 20px 14px !important;
    border-radius: 12px !important;
    margin-bottom: 16px !important;
  }

  .makieky-checkout-wrapper .form-grid {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    max-width: 100% !important;
    gap: 12px !important;
    box-sizing: border-box !important;
  }

  .makieky-checkout-wrapper .form-grid .form-row {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }

  .makieky-checkout-wrapper .woocommerce-input-wrapper {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .makieky-checkout-wrapper .form-grid input[type="text"],
  .makieky-checkout-wrapper .form-grid input[type="email"],
  .makieky-checkout-wrapper .form-grid input[type="tel"],
  .makieky-checkout-wrapper .form-grid select,
  .makieky-checkout-wrapper .form-grid textarea,
  .makieky-checkout-wrapper input.input-text {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    display: block !important;
  }

  .makieky-checkout-wrapper .pay-options {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}

@media (max-width: 576px) {
  .makieky-floating-contact {
    bottom: 20px !important;
    gap: 8px !important;
  }

  .makieky-back-to-top-wrap {
    left: 14px !important;
    bottom: 20px !important;
    z-index: 998 !important;
  }

  .mina-floating-cart-btn {
    left: 14px !important;
    bottom: 84px !important;
    width: 44px !important;
    height: 44px !important;
    z-index: 999 !important;
  }
}

/* ==========================================================================
   MAKIEKY LUXURY MOBILE SIDEBAR & SUBMENU HIERARCHY STYLING
   ========================================================================== */

/* 1. Mobile Sidebar Container - Full Width & Spacious */
.mobile-sidebar {
  background: #FFFFFF !important;
  box-shadow: 4px 0 25px rgba(19, 36, 102, 0.12) !important;
  max-width: 440px !important;
  width: 92vw !important;
}

@media (max-width: 576px) {
  .mobile-sidebar {
    width: 94vw !important;
    max-width: 100% !important;
  }
}

.mobile-sidebar .sidebar-menu {
  padding: 0 !important;
  background: #FFFFFF !important;
}

/* 2. Mobile Search Bar Inside Drawer - 1 Single Clean Border */
#main-menu .header-search-form,
.mobile-sidebar .header-search-form {
  padding: 14px 16px 12px 16px !important;
  border: none !important;
  border-bottom: 1px solid #F1F5F9 !important;
  margin: 0 !important;
  background: #FFFFFF !important;
  box-shadow: none !important;
}

#main-menu .header-search-form-wrapper,
#main-menu .searchform-wrapper,
#main-menu .ux-search-box,
#main-menu .searchform-wrapper.is-normal,
#main-menu .searchform-wrapper.form-flat,
.mobile-sidebar .header-search-form-wrapper,
.mobile-sidebar .searchform-wrapper,
.mobile-sidebar .ux-search-box {
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 0 !important;
  width: 100% !important;
}

#main-menu .searchform-wrapper form,
.mobile-sidebar .searchform-wrapper form {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

#main-menu .searchform-wrapper input.search-field,
.mobile-sidebar .searchform-wrapper input.search-field {
  width: 100% !important;
  height: 42px !important;
  border-radius: 999px !important;
  background: var(--bg-soft, #F8FAFC) !important;
  border: 1.5px solid var(--border, #E2E8F0) !important;
  padding: 0 95px 0 16px !important;
  font-family: var(--font-body, 'Be Vietnam Pro', sans-serif) !important;
  font-size: 13px !important;
  color: var(--text-headline, #111111) !important;
  outline: none !important;
  box-sizing: border-box !important;
  box-shadow: none !important;
  transition: all 0.2s ease !important;
}

#main-menu .searchform-wrapper input.search-field:focus,
.mobile-sidebar .searchform-wrapper input.search-field:focus {
  border-color: var(--primary, #132466) !important;
  background: #FFFFFF !important;
  box-shadow: 0 0 0 3px rgba(19, 36, 102, 0.08) !important;
}

#main-menu .searchform-wrapper button[type="submit"],
.mobile-sidebar .searchform-wrapper button[type="submit"] {
  position: absolute !important;
  right: 3px !important;
  top: 3px !important;
  bottom: 3px !important;
  height: 36px !important;
  padding: 0 14px !important;
  border-radius: 999px !important;
  background: var(--primary, #132466) !important;
  color: #FFFFFF !important;
  font-family: var(--font-body, 'Be Vietnam Pro', sans-serif) !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  border: none !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: background 0.2s ease !important;
  box-shadow: none !important;
}

#main-menu .searchform-wrapper button[type="submit"]:hover,
.mobile-sidebar .searchform-wrapper button[type="submit"]:hover {
  background: var(--primary-hover, #2A52BE) !important;
}

/* 3. Level 1 Menu Items */
.mobile-sidebar .nav-sidebar {
  padding: 4px 0 16px !important;
  margin: 0 !important;
  list-style: none !important;
}

.mobile-sidebar .nav-sidebar > li.menu-item {
  position: relative !important;
  border-bottom: 1px solid #F1F5F9 !important;
  margin: 0 !important;
  padding: 0 !important;
  transition: background 0.2s ease !important;
}

.mobile-sidebar .nav-sidebar > li.menu-item:last-child {
  border-bottom: none !important;
}

.mobile-sidebar .nav-sidebar > li.menu-item > a {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 13px 18px !important;
  font-family: var(--font-body, 'Be Vietnam Pro', sans-serif) !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
  letter-spacing: 0.03em !important;
  text-transform: uppercase !important;
  color: var(--text-headline, #111111) !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
  box-sizing: border-box !important;
  min-height: 48px !important;
}

.mobile-sidebar .nav-sidebar > li.menu-item:hover > a,
.mobile-sidebar .nav-sidebar > li.menu-item.current-menu-item > a,
.mobile-sidebar .nav-sidebar > li.menu-item.active > a {
  color: var(--primary, #132466) !important;
  background: #F8FAFC !important;
}

/* 4. Accordion Toggle Button */
.mobile-sidebar .nav-sidebar li.has-child > button.toggle,
.mobile-sidebar .nav-sidebar li.menu-item-has-children > button.toggle {
  position: absolute !important;
  right: 8px !important;
  top: 5px !important;
  width: 38px !important;
  height: 38px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #EEF2F6 !important;
  border: none !important;
  border-radius: 8px !important;
  color: #132466 !important;
  cursor: pointer !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
  z-index: 10 !important;
  outline: none !important;
  padding: 0 !important;
}

.mobile-sidebar .nav-sidebar li.has-child > button.toggle:hover,
.mobile-sidebar .nav-sidebar li.has-child.active > button.toggle {
  background: rgba(19, 36, 102, 0.12) !important;
  color: var(--primary, #132466) !important;
}

.mobile-sidebar .nav-sidebar li.has-child > button.toggle i,
.mobile-sidebar .nav-sidebar li.has-child > button.toggle svg {
  display: inline-block !important;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  font-size: 14px !important;
}

.mobile-sidebar .nav-sidebar li.has-child.active > button.toggle i,
.mobile-sidebar .nav-sidebar li.has-child.active > button.toggle svg {
  transform: rotate(180deg) !important;
}

/* 5. Level 2 Sub-menu (Clean Minimalist Accordion - No Border, No Shadow) */
.mobile-sidebar .nav-sidebar .sub-menu,
.mobile-sidebar .nav-sidebar .children {
  display: none;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  margin: 0 !important;
  padding: 0 0 10px 0 !important;
  list-style: none !important;
  box-sizing: border-box !important;
}

.mobile-sidebar .nav-sidebar li.active > .sub-menu,
.mobile-sidebar .nav-sidebar li.active > .children {
  display: block !important;
  animation: minaSubMenuFadeIn 0.2s ease forwards;
}

@keyframes minaSubMenuFadeIn {
  from { opacity: 0; transform: translateY(-3px); }
  to { opacity: 1; transform: translateY(0); }
}

/* 6. Submenu Group Headers - Pure Text, Clean Alignment */
.mina-submenu-group-header {
  display: block !important;
  font-family: var(--font-body, 'Be Vietnam Pro', sans-serif) !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  color: var(--primary, #132466) !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 14px 18px 4px 18px !important;
  margin: 0 !important;
  width: 100% !important;
  box-sizing: border-box !important;
  pointer-events: none !important;
}

.mina-submenu-group-header:first-of-type,
.mina-submenu-group-header.mina-group-congdung {
  padding-top: 8px !important;
}

.mina-submenu-group-header svg {
  display: none !important;
}

/* 7. Submenu Items & Links - Pure Minimalist Typography & Even Spacing */
.mobile-sidebar .nav-sidebar .sub-menu li,
.mobile-sidebar .nav-sidebar .children li {
  border: none !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.mobile-sidebar .nav-sidebar .sub-menu li a,
.mobile-sidebar .nav-sidebar .children li a {
  font-family: var(--font-body, 'Be Vietnam Pro', sans-serif) !important;
  font-size: 13.5px !important;
  font-weight: 400 !important;
  color: #475569 !important;
  text-transform: none !important;
  padding: 7px 18px 7px 24px !important;
  border-radius: 0 !important;
  display: block !important;
  transition: color 0.15s ease, padding 0.15s ease !important;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  line-height: 1.4 !important;
}

.mobile-sidebar .nav-sidebar .sub-menu li a:hover,
.mobile-sidebar .nav-sidebar .children li a:hover,
.mobile-sidebar .nav-sidebar .sub-menu li.current-menu-item a,
.mobile-sidebar .nav-sidebar .children li.current-menu-item a {
  color: var(--primary, #132466) !important;
  background: transparent !important;
  font-weight: 600 !important;
  padding-left: 28px !important;
  border: none !important;
  box-shadow: none !important;
}

.mina-sub-item-icon {
  display: none !important;
}

/* 8. Badges & Special Elements */
.mina-menu-sale-tag {
  background: #EF4444 !important;
  color: #FFFFFF !important;
  font-size: 9.5px !important;
  font-weight: 700 !important;
  padding: 2px 7px !important;
  border-radius: 999px !important;
  letter-spacing: 0.04em !important;
  margin-left: 8px !important;
  display: inline-flex !important;
  align-items: center !important;
  line-height: 1 !important;
}


