/* ==========================================================================
   WINSTORE — WM-005 Winmaker Holding Brand System (v8 - ONE LINE PRICE & CART)
   ========================================================================== */

:root {
  --wm-forest-900: #041F18;
  --wm-forest-800: #063B2D;
  --wm-forest-700: #0B5A44;
  --wm-emerald:    #10B981;
  --wm-gold:       #DD9933;
  --wm-gold-light: #F59E0B;
  --wm-crimson:    #C60300;
  --wm-ruby:       #8B0000;
  --wm-bg:         #F5F9F7;
  --wm-cream:      #FFF1EC;
  --wm-line:       #E2EAE6;
  --wm-ink:        #0F1E1A;
  --wm-muted:      #5C6F69;
  --font-heading:  'Playfair Display', Georgia, serif;
  --font-body:     'Montserrat', system-ui, -apple-system, sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
}
html, body {
  overflow-x: hidden !important;
  width: 100%;
  max-width: 100vw;
  margin: 0;
  padding: 0;
  background-color: var(--wm-bg);
  font-family: var(--font-body);
  color: var(--wm-ink);
}

/* ==========================================================================
   TASKBAR & HEADER (Deep Forest #063B2D + Gold #DD9933 + White #FFFFFF)
   ========================================================================== */
.header {
  background: var(--wm-forest-800) !important;
  border-bottom: 2px solid var(--wm-gold) !important;
  box-shadow: 0 4px 20px rgba(4,31,24,.4) !important;
  padding: 0 !important;
  width: 100% !important;
}

.header__top {
  background: var(--wm-forest-900) !important;
  border-bottom: 1px solid rgba(221,153,51,.25) !important;
  color: #FFFFFF !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  padding: 6px 16px !important;
  width: 100% !important;
}

.header__top .wm-taskbar-inner {
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.header__top .wm-taskbar-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header__top .wm-hotline-badge {
  background: var(--wm-gold);
  color: var(--wm-forest-900);
  font-weight: 800;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 4px;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.header__top .wm-hotline-badge svg {
  width: 12px;
  height: 12px;
  fill: currentColor;
}

.header__top a {
  color: #FFFFFF !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  transition: color .2s ease;
}

.header__top a:hover {
  color: var(--wm-gold) !important;
  text-decoration: underline !important;
}

.header__top .wm-taskbar-right {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: #E2EAE6;
}

.header__middle {
  max-width: 1320px !important;
  margin: 0 auto !important;
  padding: 12px 16px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px !important;
}

.header__middle__left {
  order: 2 !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
}

.header__middle__left nav,
.header [data-slot="navigation-menu"],
.header [data-slot="navigation-menu-list"],
.header div[class*="min-w-62.5"] {
  background: transparent !important;
  padding: 0 !important;
}

.header [data-slot="navigation-menu-list"] {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 4px !important;
}

.header [data-slot="navigation-menu-link"],
.header [data-slot="navigation-menu-trigger"] {
  color: #FFFFFF !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  background: transparent !important;
  padding: 6px 10px !important;
  border-radius: 6px !important;
  transition: all .2s ease !important;
  white-space: nowrap !important;
}

.header [data-slot="navigation-menu-link"]:hover,
.header [data-slot="navigation-menu-trigger"]:hover {
  color: var(--wm-gold) !important;
  background: rgba(221,153,51,.15) !important;
}

/* Header Logo */
.header__middle__center {
  order: 1 !important;
  flex: 0 0 auto !important;
}

.logo {
  display: flex !important;
  align-items: center !important;
}

.logo img {
  height: 52px !important;
  width: auto !important;
  max-width: 320px !important;
  object-fit: contain !important;
}

/* Header Icons */
.header__middle__right {
  order: 3 !important;
  flex: 0 0 auto !important;
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
}

.search__icon,
.customer-icon a,
.mini-cart-icon,
.mini__cart__wrapper button,
.wmw-head-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 42px !important;
  height: 42px !important;
  border-radius: 50% !important;
  background: rgba(4,31,24,.75) !important;
  border: 1.5px solid var(--wm-gold) !important;
  color: var(--wm-gold) !important;
  box-shadow: 0 2px 8px rgba(0,0,0,.25), 0 0 10px rgba(221,153,51,.2) !important;
  transition: all .25s ease !important;
  cursor: pointer !important;
}

.search__icon svg,
.customer-icon svg,
.mini-cart-icon svg,
.mini__cart__wrapper svg,
.wmw-head-btn svg {
  stroke: var(--wm-gold) !important;
  width: 20px !important;
  height: 20px !important;
}

.search__icon:hover,
.customer-icon a:hover,
.mini-cart-icon:hover,
.mini__cart__wrapper button:hover,
.wmw-head-btn:hover {
  background: var(--wm-gold) !important;
  color: var(--wm-forest-900) !important;
  transform: translateY(-2px) scale(1.05) !important;
  box-shadow: 0 4px 14px rgba(221,153,51,.5) !important;
}

.search__icon:hover svg,
.customer-icon a:hover svg,
.mini-cart-icon:hover svg,
.mini__cart__wrapper button:hover svg,
.wmw-head-btn:hover svg {
  stroke: var(--wm-forest-900) !important;
}

/* ==========================================================================
   FEATURED PRODUCTS SECTION HEADING (WM-005 BRANDING)
   ========================================================================== */
.collection__products__widget h3.tracking-widest {
  font-family: var(--font-heading) !important;
  font-size: clamp(22px, 2.8vw, 32px) !important;
  font-weight: 900 !important;
  color: var(--wm-forest-900) !important;
  text-align: center !important;
  letter-spacing: 1px !important;
  position: relative !important;
  margin: 20px 0 15px 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 12px !important;
}

.collection__products__widget h3.tracking-widest::before,
.collection__products__widget h3.tracking-widest::after {
  content: "" !important;
  display: inline-block !important;
  width: 40px !important;
  height: 2px !important;
  background: var(--wm-gold) !important;
}

/* ==========================================================================
   PRODUCT CARDS & 1-ROW PRICE + "THÊM GIỎ HÀNG" BUTTON
   ========================================================================== */
.product__list__item__inner {
  background: #FFFFFF !important;
  border: 1px solid var(--wm-line) !important;
  border-radius: 12px !important;
  padding: 12px !important;
  box-shadow: 0 2px 10px rgba(0,0,0,.03) !important;
  transition: all .3s ease !important;
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  height: 100% !important;
}

.product__list__item__inner:hover {
  transform: translateY(-4px) !important;
  border-color: var(--wm-gold) !important;
  box-shadow: 0 8px 24px rgba(6,59,45,.12) !important;
}

.product__list__name {
  font-family: var(--font-body) !important;
  font-size: 14.5px !important;
  font-weight: 600 !important;
  color: var(--wm-forest-900) !important;
  line-height: 1.4 !important;
  min-height: 40px !important;
}

/* 1 HÀNG DUY NHẤT CHO GIÁ VÀ NÚT THÊM GIỎ HÀNG */
.product__list__price {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important;
  margin-top: 10px !important;
  width: 100% !important;
}

.product__list__price .regular-price {
  color: var(--wm-crimson) !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  letter-spacing: 0.2px !important;
  white-space: nowrap !important;
  flex: 0 0 auto !important;
}

/* NÚT THÊM GIỎ HÀNG TRÊN CÙNG 1 HÀNG */
.wm-card-add-cart {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 4px !important;
  background: var(--wm-forest-800) !important;
  color: var(--wm-gold) !important;
  border: 1px solid var(--wm-gold) !important;
  padding: 5px 10px !important;
  border-radius: 6px !important;
  font-size: 11.5px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  margin: 0 !important;
  transition: all .2s ease !important;
  cursor: pointer !important;
  white-space: nowrap !important;
  flex: 0 0 auto !important;
}

.wm-card-add-cart:hover {
  background: var(--wm-gold) !important;
  color: var(--wm-forest-900) !important;
  box-shadow: 0 2px 8px rgba(221,153,51,.4) !important;
}

.wm-card-add-cart svg {
  stroke: currentColor !important;
}

/* ==========================================================================
   SHOWCASE SECTION & TRUST BOXES (WM-005)
   ========================================================================== */
.wmh {
  width: 100% !important;
  max-width: 100vw !important;
  background: #FFFFFF !important;
  padding: 50px 16px !important;
  margin: 30px 0 0 0 !important;
  border-top: 1px solid var(--wm-line) !important;
  border-bottom: 1px solid var(--wm-line) !important;
  overflow: hidden !important;
}

.wmh-wrap {
  max-width: 1280px !important;
  margin: 0 auto !important;
  padding: 0 16px !important;
}

.wmh-head {
  text-align: center !important;
  margin-bottom: 36px !important;
}

.wmh-kicker {
  display: inline-block !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  color: var(--wm-forest-800) !important;
  text-transform: uppercase !important;
  letter-spacing: 1.5px !important;
  background: rgba(6,59,45,.08) !important;
  padding: 4px 12px !important;
  border-radius: 20px !important;
  margin-bottom: 10px !important;
}

.wmh-head h2 {
  font-family: var(--font-heading) !important;
  font-size: clamp(24px, 3vw, 36px) !important;
  color: var(--wm-forest-900) !important;
  font-weight: 800 !important;
  margin: 0 0 12px 0 !important;
}

.wmh-head h2 .u {
  color: var(--wm-gold) !important;
  text-decoration: underline !important;
}

.wmh-lead {
  max-width: 760px !important;
  margin: 0 auto !important;
  font-size: 15px !important;
  color: var(--wm-muted) !important;
  line-height: 1.6 !important;
}

.wmh-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)) !important;
  gap: 20px !important;
  margin-bottom: 40px !important;
}

.wmh-card {
  background: #FFFFFF !important;
  border: 1px solid var(--wm-line) !important;
  border-radius: 12px !important;
  padding: 22px !important;
  box-shadow: 0 2px 10px rgba(0,0,0,.03) !important;
  transition: all .25s ease !important;
}

.wmh-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 8px 24px rgba(6,59,45,.1) !important;
  border-color: var(--wm-gold) !important;
}

.wmh-ico {
  width: 44px !important;
  height: 44px !important;
  border-radius: 10px !important;
  background: rgba(6,59,45,.08) !important;
  display: flex !align-items: center !important;
  justify-content: center !important;
  margin-bottom: 14px !important;
  color: var(--wm-forest-800) !important;
}

.wmh-ico svg {
  width: 22px !important;
  height: 22px !important;
  fill: currentColor !important;
}

.wmh-card h3 {
  font-size: 16px !important;
  font-weight: 700 !important;
  color: var(--wm-forest-900) !important;
  margin: 0 0 8px 0 !important;
}

.wmh-card p {
  font-size: 13.5px !important;
  color: var(--wm-muted) !important;
  line-height: 1.5 !important;
  margin: 0 !important;
}

.wmh-trust {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)) !important;
  gap: 24px !important;
  margin-bottom: 36px !important;
}

.wmh-tbox {
  background: #FAFCFB !important;
  border: 1px solid var(--wm-line) !important;
  border-left: 4px solid var(--wm-forest-800) !important;
  border-radius: 12px !important;
  padding: 24px !important;
  box-shadow: 0 4px 14px rgba(0,0,0,.04) !important;
}

.wmh-tbox h3 {
  font-size: 18px !important;
  font-weight: 800 !important;
  color: var(--wm-forest-900) !important;
  margin: 0 0 6px 0 !important;
}

.wmh-tbox .sub {
  font-size: 13px !important;
  color: var(--wm-muted) !important;
  margin: 0 0 16px 0 !important;
}

.wmh-badges {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
}

.wmh-pay {
  background: #FFFFFF !important;
  border: 1px solid #D1D5DB !important;
  color: var(--wm-forest-900) !important;
  font-weight: 700 !important;
  font-size: 12px !important;
  padding: 6px 12px !important;
  border-radius: 6px !important;
  display: inline-flex !important;
  align-items: center !important;
  text-decoration: none !important;
  box-shadow: 0 1px 3px rgba(0,0,0,.05) !important;
  transition: all .2s ease !important;
}

.wmh-pay:hover {
  border-color: var(--wm-gold) !important;
  color: var(--wm-gold) !important;
  transform: translateY(-2px) !important;
}

.wmh-pay.cod {
  background: var(--wm-forest-800) !important;
  color: #FFFFFF !important;
  border-color: var(--wm-forest-800) !important;
}

.wmh-badge {
  background: #FFFFFF !important;
  border: 1px solid var(--wm-line) !important;
  color: var(--wm-forest-800) !important;
  font-weight: 600 !important;
  font-size: 12.5px !important;
  padding: 6px 12px !important;
  border-radius: 6px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  text-decoration: none !important;
  transition: all .2s ease !important;
}

.wmh-badge:hover {
  border-color: var(--wm-gold) !important;
  color: var(--wm-gold) !important;
  transform: translateY(-2px) !important;
}

.wmh-badge svg {
  width: 14px !important;
  height: 14px !important;
  fill: var(--wm-gold) !important;
}

.wmh-cta {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 16px !important;
  flex-wrap: wrap !important;
}

.wmh-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 12px 30px !important;
  border-radius: 8px !important;
  font-weight: 700 !important;
  font-size: 15px !important;
  text-decoration: none !important;
  transition: all .25s ease !important;
}

.wmh-btn.gold {
  background: var(--wm-gold) !important;
  color: var(--wm-forest-900) !important;
  border: 1.5px solid var(--wm-gold) !important;
  box-shadow: 0 4px 14px rgba(221,153,51,.35) !important;
}

.wmh-btn.gold:hover {
  background: var(--wm-gold-light) !important;
  transform: translateY(-2px) !important;
}

.wmh-btn.line {
  background: transparent !important;
  color: var(--wm-forest-800) !important;
  border: 1.5px solid var(--wm-forest-800) !important;
}

.wmh-btn.line:hover {
  background: var(--wm-forest-800) !important;
  color: #FFFFFF !important;
  transform: translateY(-2px) !important;
}

/* ==========================================================================
   FOOTER (Deep Forest #063B2D + Gold Accents + WM-005 Copyright)
   ========================================================================== */
.footer {
  background: var(--wm-forest-800) !important;
  color: #FFFFFF !important;
  border-top: 3px solid var(--wm-gold) !important;
  padding: 24px 0 !important;
  margin-top: 0 !important;
  width: 100% !important;
}

.footer .page-width {
  max-width: 1280px !important;
  margin: 0 auto !important;
  padding: 0 16px !important;
}

.wm-footer-payments {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  margin-bottom: 16px !important;
}

.wm-pay-label {
  font-size: 13px !important;
  color: #E2EAE6 !important;
  font-weight: 600 !important;
  margin-right: 6px !important;
}

.wm-pay-badge {
  background: #FFFFFF !important;
  color: var(--wm-forest-900) !important;
  font-weight: 800 !important;
  font-size: 11.5px !important;
  padding: 5px 12px !important;
  border-radius: 6px !important;
  border: 1px solid var(--wm-gold) !important;
  box-shadow: 0 2px 6px rgba(0,0,0,.15) !important;
  text-decoration: none !important;
  transition: all .2s ease !important;
}

.wm-pay-badge:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 10px rgba(221,153,51,.4) !important;
}

.wm-pay-badge.vnpay      { color: #005BAA !important; }
.wm-pay-badge.nganluong  { color: #E65100 !important; }
.wm-pay-badge.viettel    { color: #EE0033 !important; }
.wm-pay-badge.visamaster { color: #1A1F71 !important; }

.wm-copyright-text {
  font-size: 12.5px !important;
  line-height: 1.6 !important;
  color: #D1E0DA !important;
  text-align: center !important;
}

.wm-copyright-text a {
  color: var(--wm-gold) !important;
  text-decoration: underline !important;
}

.wm-copyright-text strong {
  color: #FFFFFF !important;
}

@media (max-width: 900px) {
  .header__middle {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px !important;
  }
  .header__middle__center {
    display: flex !important;
    justify-content: center !important;
  }
  .header__middle__right {
    justify-content: center !important;
  }
  .header__top .wm-taskbar-inner {
    justify-content: center !important;
    text-align: center !important;
  }
}


/* ==========================================================================
   HERO BANNER — ELEGANT, WIDTH UNCHANGED, HEIGHT -20% (1600 x 560)
   ========================================================================== */
.slideshow-widget {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 auto !important;
  overflow: hidden !important;
}

.slideshow-widget .slick-slider,
.slideshow-widget .slick-list,
.slideshow-widget .slick-track,
.slideshow-widget .slick-slide,
.slideshow-widget .slide__wrapper {
  height: auto !important;
}

.slideshow-widget img {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 1600 / 560 !important;
  object-fit: cover !important;
  object-position: center !important;
  display: block !important;
}

.slideshow-widget .absolute.inset-0 h2 {
  font-family: var(--font-heading) !important;
  letter-spacing: 0.5px !important;
  text-shadow: 0 3px 18px rgba(0,0,0,.55) !important;
}

.slideshow-widget .absolute.inset-0 p {
  text-shadow: 0 2px 12px rgba(0,0,0,.5) !important;
}

.slideshow-widget .absolute.inset-0 a[href] {
  box-shadow: 0 6px 22px rgba(221,153,51,.45) !important;
  border-radius: 8px !important;
  font-weight: 800 !important;
}

@media (max-width: 768px) {
  .slideshow-widget img {
    aspect-ratio: 16 / 9 !important;
  }
}
