/*
 Theme Name:   Woodmart Child
 Description:  Woodmart Child Theme
 Author:       XTemos
 Author URI:   http://xtemos.com
 Template:     woodmart
 Version:      1.0.0
 Text Domain:  woodmart
*/
/* ===== PC ===== */
@media (min-width: 1024px) {

  .whb-general-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 40px;
    background: #fff;
    border-bottom: 1px solid #eee;
  }

  /* Logo */
  .whb-col-left {
    flex: 1;
  }

  .site-logo img {
    max-height: 44px;
  }

  /* Menu center */
  .whb-col-center {
    flex: 2;
    text-align: center;
  }

  .wd-nav-main {
    justify-content: center;
    gap: 18px;
  }

  .wd-nav-main > li > a {
    font-size: 15px;
    font-weight: 500;
    color: #2C2C2C;
    position: relative;
  }

  /* Hover underline */
  .wd-nav-main > li > a::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #D97B2D;
    transition: 0.3s;
  }

  .wd-nav-main > li > a:hover::after {
    width: 100%;
  }

  /* Right (CTA) */
  .whb-col-right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
  }

  .header-cta {
    background: #D97B2D;
    color: #fff;
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 14px;
  }
}
/* ===== TABLET ===== */
@media (max-width: 1023px) {

  .whb-general-header-inner {
    padding: 10px 20px;
  }

  /* Logo nhỏ lại */
  .site-logo img {
    max-height: 38px;
  }

  /* Menu nhỏ hơn */
  .wd-nav-main > li > a {
    font-size: 14px;
    padding: 8px 10px;
  }

  .wd-nav-main {
    gap: 10px;
  }

  /* Ẩn CTA nếu bị chật */
  .header-cta {
    display: none;
  }
}
/* ===== MOBILE ===== */
@media (max-width: 767px) {

  .whb-general-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
  }

  /* Logo center */
  .whb-mobile-center {
    text-align: center;
  }

  .site-logo img {
    max-height: 34px;
  }

  /* Menu icon */
  .wd-header-mobile-nav .wd-tools-text {
    font-size: 13px;
    color: #2C2C2C;
  }

  /* Cart */
  .wd-header-cart .wd-tools-icon {
    transform: scale(0.9);
  }

  /* Badge cart */
  .wd-cart-number {
    font-size: 10px;
    padding: 2px 5px;
  }
}
.whb-sticked .whb-general-header-inner {
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  background: #fff;
}
.wd-nav-main > li > a {
  transition: all 0.3s ease;
}

.site-logo img {
  transition: 0.3s;
}