/* Mobile header: hamburger visible on white background */
.btn-mobile-menu.style-dark span,
.btn-mobile-menu.style-dark::before,
.btn-mobile-menu.style-dark::after {
  background-color: var(--dark-blu, #0b1f3a);
}

/* Keep sale/compare price order visually consistent across detail and cards */
.store-price-order-consistent {
  align-items: baseline;
}

.store-price-order-consistent .price-old {
  margin-right: 12px;
}

.store-price-order-consistent .price-new {
  margin-right: 0;
}

/* Sticky mobile header (scroll): site name text instead of logo image */
@media (max-width: 1199px) {
  .tf-header.header-fixed.bg-dark-blu .logo-site.store-sticky-logo-text {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    min-height: 44px;
  }

  .tf-header.header-fixed.bg-dark-blu .store-sticky-logo-text-inner {
    color: #fff;
    font-weight: 600;
    font-size: 1.05rem;
    line-height: 1.2;
    letter-spacing: 0.02em;
    white-space: nowrap;
  }

  .tf-header.header-fixed.bg-dark-blu .logo-site img {
    display: none !important;
  }

  /* Sticky mobile header: white icons/text on dark navy background */
  .tf-header.header-fixed .header-top .nav-icon-item-2 {
    color: #fff !important;
  }
  .tf-header.header-fixed .header-top .nav-icon-item-2 .count {
    color: #fff;
  }
}

.tf-header.style-5:not(.header-fixed) .logo-site img {
  max-height: 48px;
  width: auto;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
}

/* ----- Sticky header (desktop): logo + main nav only, single row ----- */
@media (min-width: 1200px) {
  .tf-header.header-fixed .header-inner.store-sticky-header-inner {
    background: #fff !important;
    border-bottom: 1px solid #e8ecf2;
    box-shadow: 0 6px 24px rgba(15, 23, 42, 0.08);
  }

  .tf-header.header-fixed .store-sticky-nav-row {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    width: 100%;
    min-height: 58px;
    gap: 0;
  }

  .tf-header.header-fixed .store-sticky-nav-logo-wrap {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    padding: 8px 20px 8px 4px;
    margin-right: 8px;
    border-right: 1px solid #e2e8f0;
  }

  .tf-header.header-fixed .store-sticky-bar-logo {
    display: flex;
    align-items: center;
    line-height: 0;
  }

  .tf-header.header-fixed .store-sticky-bar-logo img {
    max-height: 42px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
  }

  .tf-header.header-fixed .header-inner.store-sticky-header-inner .nav-category-wrap,
  .tf-header.header-fixed .header-inner.store-sticky-header-inner .store-all-cats-mega {
    display: none !important;
  }

  .tf-header.header-fixed .header-inner.store-sticky-header-inner .box-navigation.store-sticky-nav-menu,
  .tf-header.header-fixed .header-inner.bg-white .box-navigation.store-nav-flyout-wrap {
    flex: 1;
    min-width: 0;
    display: flex;
    justify-content: flex-start;
    overflow: visible;
  }

  .tf-header.header-fixed .header-inner.bg-white .store-nav-flyout-menu {
    justify-content: flex-start;
  }

  .tf-header.header-fixed .header-inner.bg-white .store-nav-flyout-menu > .menu-item.store-nav-main-item + .menu-item.store-nav-main-item::before {
    background: rgba(11, 31, 58, 0.22);
  }

  .tf-header.header-fixed .header-inner.bg-white .store-nav-flyout-menu .item-link {
    color: var(--dark-blu, #0b1f3a) !important;
    min-height: 58px;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    font-size: 15px;
    letter-spacing: 0.07em;
  }

  .tf-header.header-fixed .header-inner.bg-white .store-nav-flyout-menu > .menu-item.store-nav-main-item > .item-link {
    padding-left: 18px !important;
    padding-right: 18px !important;
  }

  .tf-header.header-fixed .header-inner.bg-white .store-nav-flyout-menu > .menu-item.store-nav-blog-item > .item-link {
    padding-left: 20px !important;
    padding-right: 8px !important;
  }

  .tf-header.header-fixed .header-inner.bg-white .store-nav-flyout-menu > .menu-item:hover > .item-link,
  .tf-header.header-fixed .header-inner.bg-white .store-nav-flyout-menu > .menu-item:focus-within > .item-link {
    color: var(--primary, #c8102e) !important;
    background: rgba(200, 16, 46, 0.06);
  }
}

/* ── Sticky header desktop: compact cart + account icons on the right ── */
@media (min-width: 1200px) {
  .tf-header.header-fixed .store-sticky-nav-icons {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    margin-left: 12px;
    padding-left: 16px;
    border-left: 1px solid #e2e8f0;
  }

  .tf-header.header-fixed .store-sticky-nav-icons .nav-icon-list {
    display: flex;
    align-items: center;
    gap: 2px;
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .tf-header.header-fixed .store-sticky-nav-icons .nav-icon-item-2 {
    display: flex;
    align-items: center;
    padding: 8px 10px;
    border-radius: 8px;
    color: var(--dark-blu, #0b1f3a) !important;
    transition: background 0.15s, color 0.15s;
    text-decoration: none;
    gap: 0;
  }

  .tf-header.header-fixed .store-sticky-nav-icons .nav-icon-item-2:hover {
    color: var(--primary, #c8102e) !important;
    background: rgba(200, 16, 46, 0.06);
  }

  /* Hide the text sub-labels in the compact sticky bar — icon + badge is enough */
  .tf-header.header-fixed .store-sticky-nav-icons .nav-icon-item_sub {
    display: none !important;
  }

  .tf-header.header-fixed .store-sticky-nav-icons .icon {
    font-size: 22px;
    line-height: 1;
  }

  /* Count badge positioning inside sticky icons */
  .tf-header.header-fixed .store-sticky-nav-icons .count {
    top: -4px;
    right: -8px;
  }
}

@media (min-width: 1440px) {
  .tf-header.header-fixed .header-inner.bg-white .store-nav-flyout-menu .item-link {
    font-size: 16px;
  }

  .tf-header.header-fixed .header-inner.bg-white .store-nav-flyout-menu > .menu-item.store-nav-main-item > .item-link {
    padding-left: 24px !important;
    padding-right: 24px !important;
  }
}

/* WhatsApp floating button */
.store-whatsapp-float {
  position: fixed;
  left: 20px;
  bottom: 90px;
  z-index: 9999;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.store-whatsapp-float:hover {
  color: #fff;
  transform: scale(1.06);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
}

@media (max-width: 575px) {
  .store-whatsapp-float {
    left: 14px;
    bottom: 78px;
    width: 50px;
    height: 50px;
  }
}

/* Mobile menu: hide search button */
#mobileMenu .group-btn a[href="#search"] {
  display: none !important;
}

/* Bottom toolbar: 4 equal slots (Shop, Account, Wishlist, Cart) */
@media (max-width: 1199px) {
  .tf-toolbar-bottom .toolbar-item {
    flex: 1 1 0;
    min-width: 0;
  }
}

.store-wishlist-offcanvas .store-wishlist-offcanvas-list {
  max-height: calc(100vh - 220px);
  overflow-y: auto;
}

.store-nav-cat-children .link.text-muted {
  font-size: 0.85rem;
}

/* Homepage promo banners: spacing on mobile (gap from admin: home_banners_mobile_gap) */
@media (max-width: 1199px) {
  .store-home-promo-banners .store-promo-banner-col {
    margin-bottom: var(--store-promo-banner-gap, 16px);
  }

  .store-home-promo-banners .store-promo-banner-col:last-child {
    margin-bottom: 0;
  }

  .store-home-promo-banners .box-image_V05 .box-image_image img {
    width: 100%;
    height: auto;
    display: block;
  }
}

@media (min-width: 1200px) {
  .store-home-promo-banners .store-home-promo-banners__row {
    row-gap: var(--store-promo-banner-gap, 24px);
  }
}

/* Homepage hero: full-width slider (no side gap from container-full-2) */
.tf-slideshow.tf-btn-swiper-main > .container-full-2 {
  max-width: 100%;
  padding-left: 0;
  padding-right: 0;
}

.tf-slideshow.tf-btn-swiper-main .slideshow-container {
  width: 100%;
}

/* (All Categories mega panel styles are below in store-all-cats-mega section) */

/* Account / orders tables — visible row separation */
.store-account-orders-table,
table.store-orders-bordered {
  border: 1px solid var(--line, #dee2e6);
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 8px;
  overflow: hidden;
}

.store-account-orders-table thead th,
table.store-orders-bordered thead th {
  background: var(--bg-2, #f5f5f5);
  border-bottom: 2px solid var(--line, #dee2e6);
}

.store-account-orders-table tbody td,
table.store-orders-bordered tbody td {
  border-bottom: 1px solid var(--line, #dee2e6);
}

.store-account-orders-table tbody tr:last-child td,
table.store-orders-bordered tbody tr:last-child td {
  border-bottom: none;
}

/* Related products on product page */
.store-related-products .card-product {
  height: 100%;
}

/* Blog listing — 3-col grid, square image, title + date (theme reference layout) */
.store-blog-grid > [class*='col-'] {
  display: flex;
}

.store-blog-grid .store-blog-card {
  width: 100%;
  gap: 16px;
}

.store-blog-grid .store-blog-card .blog-image {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
}

.store-blog-grid .store-blog-card .entry_image {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.store-blog-grid .store-blog-card .entry_image img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center;
}

.store-blog-grid .store-blog-card .entry_tag {
  top: 12px;
  left: 12px;
}

.store-blog-grid .store-blog-card .name-tag {
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
}

.store-blog-grid .store-blog-card .blog-content {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0;
}

.store-blog-grid .store-blog-card .entry_name {
  margin: 0;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.35;
  -webkit-line-clamp: 2;
}

.store-blog-grid .store-blog-card .entry_name a {
  color: var(--black, #111);
}

.store-blog-grid .store-blog-card .entry_name a:hover {
  color: var(--primary, #0298fe);
}

.store-blog-grid .store-blog-card .store-blog-date {
  display: block;
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 400;
  color: #6b7280;
}

/* Admin category list indent */
.admin-cat-name-root {
  font-weight: 600;
}

.admin-cat-name-child {
  padding-left: 1.5rem;
  color: var(--bs-secondary-color, #6c757d);
}

.admin-cat-name-child::before {
  content: "↳ ";
  opacity: 0.7;
}

/* ——— Store navigation: 3-level hover flyout ——— */
.header-inner.bg-dark-blu {
  background-color: #0298FE !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.blogcolor{
    color: red;
}

.header-inner .header-inner_wrap {
  align-items: stretch;
  min-height: 52px;
}

.header-inner.bg-dark-blu .nav-category-wrap {
  position: relative;
  z-index: 60;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.header-inner.bg-dark-blu .btn-nav-drop {
  flex-shrink: 0;
  cursor: pointer;
  white-space: nowrap;
}

.header-inner.bg-dark-blu .btn-nav-drop .name-category {
  color: #fff !important;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  line-height: 1.2;
  padding: 0;
}

@media (min-width: 1200px) {
  .header-inner.bg-dark-blu .btn-nav-drop .name-category {
    font-size: 16px;
  }
}

@media (min-width: 1440px) {
  .header-inner.bg-dark-blu .btn-nav-drop .name-category {
    font-size: 17px;
  }
}

.header-inner.bg-dark-blu .btn-nav-drop .icon.icon-caret-down {
  color: #fff;
  font-size: 10px;
}

/* Keep hamburger white on blue bar (theme turns it red on hover) */
.header-inner.bg-dark-blu .btn-nav-drop:hover .btn-mobile-menu span,
.header-inner.bg-dark-blu .btn-nav-drop:hover .btn-mobile-menu::before,
.header-inner.bg-dark-blu .btn-nav-drop:hover .btn-mobile-menu::after,
.header-inner.bg-dark-blu .btn-nav-drop.active .btn-mobile-menu span,
.header-inner.bg-dark-blu .btn-nav-drop.active .btn-mobile-menu::before,
.header-inner.bg-dark-blu .btn-nav-drop.active .btn-mobile-menu::after {
  background-color: #fff !important;
}

.header-inner.bg-dark-blu .btn-nav-drop:hover .name-category,
.header-inner.bg-dark-blu .btn-nav-drop.active .name-category {
  color: #fff !important;
}

.header-inner.bg-white .nav-category-wrap {
  flex-shrink: 0;
}

.header-inner.bg-white .btn-nav-drop .name-category {
  color: var(--dark-blu, #0b1f3a);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0;
}

.header-inner.bg-dark-blu .box-navigation.store-nav-flyout-wrap {
  position: relative;
  z-index: 50;
  flex: 1;
  min-width: 0;
  overflow: visible;
}

.header-inner .sub-menu.mega-menu:not(.store-search-category-panel) {
  display: none !important;
}

.store-nav-flyout-menu {
  display: flex;
  gap: 2px;
  justify-content: flex-start;
  flex-wrap: nowrap;
  align-items: stretch;
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
}

@media (min-width: 1200px) {
  .header-inner.bg-dark-blu .box-navigation.store-nav-flyout-wrap {
    display: flex;
    flex: 1 1 auto;
    justify-content: flex-start;
    min-width: 0;
    margin-left: 0;
  }

  .header-inner.bg-dark-blu .store-nav-flyout-menu {
    flex: 0 1 auto;
    width: auto;
    max-width: 100%;
    justify-content: flex-start;
    gap: 0;
  }

  .header-inner.bg-dark-blu .store-nav-flyout-menu > .menu-item.store-nav-main-item > .item-link {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  .header-inner.bg-dark-blu .store-nav-flyout-menu > .menu-item.store-nav-blog-item {
    flex: 0 0 auto;
    margin-left: 0;
  }

  .header-inner.bg-dark-blu .store-nav-flyout-menu > .menu-item.store-nav-blog-item > .item-link {
    padding-left: 18px !important;
    padding-right: 8px !important;
  }
}

.store-nav-flyout-menu > .menu-item {
  position: relative;
  flex: 0 0 auto;
  list-style: none;
}

/* Vertical separator between main nav categories (reference design) */
.store-nav-flyout-menu > .menu-item.store-nav-main-item + .menu-item.store-nav-main-item::before {
  content: "";
  align-self: center;
  width: 1px;
  height: 26px;
  margin-right: 0;
  background: rgba(255, 255, 255, 0.45);
  flex-shrink: 0;
}

@media (min-width: 1200px) {
  .header-inner.bg-dark-blu .store-nav-flyout-menu > .menu-item.store-nav-main-item + .menu-item.store-nav-main-item::before {
    margin-right: 0;
    margin-left: 0;
  }
}

.header-inner.bg-white .store-nav-flyout-menu > .menu-item.store-nav-main-item + .menu-item.store-nav-main-item::before {
  background: rgba(11, 31, 58, 0.25);
}

.store-nav-flyout-menu > .menu-item.store-nav-main-item {
  display: flex;
  align-items: stretch;
}

.store-nav-flyout-menu > .menu-item.store-nav-blog-item {
  margin-left: 0;
}

.store-nav-flyout-menu > .menu-item > .item-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease;
}

/* No category icons in the main bar */
.store-nav-flyout-menu .store-nav-icon {
  display: none !important;
}

/* Chevron for items with a dropdown (CSS only; overrides theme .item-link::after hit area) */
.store-nav-flyout-menu > .menu-item.menu-item-has-children > .item-link.store-nav-has-dropdown::after {
  content: "" !important;
  display: inline-block !important;
  position: static !important;
  top: auto !important;
  left: auto !important;
  width: 0 !important;
  height: 0 !important;
  margin-left: 6px;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  background: none !important;
  opacity: 0.85;
  transform: none;
  transition: transform 0.2s ease;
}

.store-nav-flyout-menu > .menu-item.menu-item-has-children:hover > .item-link.store-nav-has-dropdown::after,
.store-nav-flyout-menu > .menu-item.menu-item-has-children:focus-within > .item-link.store-nav-has-dropdown::after {
  transform: rotate(180deg) !important;
}

.header-inner.bg-dark-blu .store-nav-flyout-menu .item-link {
  gap: 10px;
  padding: 0 14px !important;  /* was 26px — reduced to close gap with All Categories */
  min-height: 52px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #fff;
}

@media (min-width: 1200px) {
  .header-inner.bg-dark-blu .store-nav-flyout-menu .item-link {
    font-size: 17px;
    letter-spacing: 0.08em;
  }

  .header-inner.bg-dark-blu .store-nav-flyout-menu .store-nav-label {
    font-size: inherit;
  }
}

@media (min-width: 1440px) {
  .header-inner.bg-dark-blu .store-nav-flyout-menu .item-link {
    font-size: 18px;
  }

  .header-inner.bg-dark-blu .store-nav-flyout-menu > .menu-item.store-nav-main-item > .item-link {
    padding-left: 18px !important;
    padding-right: 18px !important;
  }

  .header-inner.bg-dark-blu .store-nav-flyout-menu > .menu-item.store-nav-blog-item > .item-link {
    padding-left: 18px !important;
    padding-right: 8px !important;
  }
}

.header-inner.bg-dark-blu .store-nav-flyout-menu .item-link:not(.store-nav-has-dropdown)::after {
  display: none !important;
}

.header-inner.bg-dark-blu .store-nav-flyout-menu > .menu-item:hover > .item-link,
.header-inner.bg-dark-blu .store-nav-flyout-menu > .menu-item:focus-within > .item-link {
  color: #fff;
  background: rgba(0, 0, 0, 0.08);
}

/* Submenus hidden by default (works even if theme .sub-menu rules differ) */
.box-navigation.store-nav-flyout-wrap .store-nav-dropdown,
.store-nav-flyout-menu .store-nav-dropdown {
  display: none !important;
  position: absolute;
  z-index: 300;
  min-width: 220px;
  margin: 0;
  padding: 10px 0;
  list-style: none;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(30, 55, 95, 0.18), 0 4px 12px rgba(30, 55, 95, 0.08);
}

/* Level 1 panel: white dropdown on hover only */
.store-nav-flyout-menu .store-nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: none;
  transform: translateY(8px);
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.store-nav-flyout-menu > .menu-item.menu-item-has-children > .store-nav-dropdown--l1 {
  top: 100%;
  left: 0;
  padding-top: 14px;
  margin-top: 0;
  border-radius: 0 12px 12px 12px;
  border-top: none;
}

/* Invisible bridge so cursor can reach dropdown without closing */
.store-nav-flyout-menu > .menu-item.menu-item-has-children > .store-nav-dropdown--l1::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}

.box-navigation.store-nav-flyout-wrap .menu-item.menu-item-has-children:hover > .store-nav-dropdown--l1,
.box-navigation.store-nav-flyout-wrap .menu-item.menu-item-has-children:focus-within > .store-nav-dropdown--l1,
.store-nav-flyout-menu > .menu-item.menu-item-has-children:hover > .store-nav-dropdown--l1,
.store-nav-flyout-menu > .menu-item.menu-item-has-children:focus-within > .store-nav-dropdown--l1 {
  display: block !important;
  pointer-events: auto;
  transform: translateY(0);
}

/* Level 2 & 3: flyout to the right */
.store-nav-flyout-menu .store-nav-dropdown--side {
  top: -10px;
  left: calc(100% - 6px);
  min-width: 210px;
  padding-top: 10px;
  border-radius: 12px;
}

.store-nav-flyout-menu .store-nav-dropdown--side::before {
  content: "";
  position: absolute;
  top: 0;
  left: -10px;
  width: 10px;
  height: 100%;
}

.store-nav-flyout-menu .menu-item-has-children {
  position: relative;
}

.box-navigation.store-nav-flyout-wrap .menu-item-has-children:hover > .store-nav-dropdown--side,
.box-navigation.store-nav-flyout-wrap .menu-item-has-children:focus-within > .store-nav-dropdown--side,
.store-nav-flyout-menu .menu-item-has-children:hover > .store-nav-dropdown--side,
.store-nav-flyout-menu .menu-item-has-children:focus-within > .store-nav-dropdown--side {
  display: block !important;
  pointer-events: auto;
  transform: translateY(0);
}

.store-nav-flyout-menu .store-nav-dropdown-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 11px 20px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.35;
  color: #2d3748;
  text-decoration: none;
  text-transform: none;
  letter-spacing: 0;
  white-space: nowrap;
  transition: color 0.15s ease, background 0.15s ease;
}

.store-nav-flyout-menu .store-nav-dropdown-text {
  flex: 1;
  min-width: 0;
}

.store-nav-flyout-menu .store-nav-dropdown-link:hover,
.store-nav-flyout-menu .store-nav-dropdown-link:focus {
  color: var(--primary);
  background: linear-gradient(90deg, rgba(200, 16, 46, 0.08) 0%, transparent 100%);
  outline: none;
}

.store-nav-flyout-menu .menu-item-has-children:hover > .store-nav-dropdown-link,
.store-nav-flyout-menu .menu-item-has-children:focus-within > .store-nav-dropdown-link {
  color: var(--primary);
  font-weight: 600;
}

.store-nav-flyout-menu .store-nav-flyout-caret {
  font-size: 10px;
  color: #a0aec0;
  flex-shrink: 0;
  transition: color 0.15s ease, transform 0.15s ease;
}

.store-nav-flyout-menu .menu-item-has-children:hover > .store-nav-dropdown-link .store-nav-flyout-caret,
.store-nav-flyout-menu .menu-item-has-children:focus-within > .store-nav-dropdown-link .store-nav-flyout-caret {
  color: var(--primary);
  transform: translateX(2px);
}

/* Never show theme default sub-menu on our nav */
.store-nav-flyout-menu .sub-menu {
  display: none !important;
}

/* ----- All Categories mega panel (fixed-height nested list) ----- */
/* Keep position:absolute from theme base (box-nav-category);
   do NOT add display:flex — that breaks the absolute positioning. */
.store-all-cats-mega.box-nav-category {
  --store-all-cats-panel-max-height: min(50vh, 420px);
  min-width: 300px;
  max-width: 300px;
  max-height: var(--store-all-cats-panel-max-height);
  padding: 0 !important;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  overflow: hidden !important;
  box-shadow:
    0 24px 48px rgba(15, 23, 42, 0.14),
    0 8px 16px rgba(15, 23, 42, 0.06);
  background: #fff;
  /* Eliminate the theme's 12px gap so hover never breaks between button and panel */
  top: 100% !important;
}

@media (min-width: 1440px) {
  .store-all-cats-mega.box-nav-category {
    left: 0;
  }
}

.store-all-cats-mega__header {
  padding: 16px 20px 12px;
  border-bottom: 1px solid #eef2f6;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  border-radius: 14px 14px 0 0;
}

.store-all-cats-mega__title {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #64748b;
}

.store-all-cats-mega__list {
  list-style: none;
  margin: 0;
  padding: 6px 0 10px;
  max-height: calc(var(--store-all-cats-panel-max-height) - 96px);
  overflow-y: auto !important;
  overflow-x: hidden !important;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
}

.store-all-cats-mega__list::-webkit-scrollbar {
  width: 6px;
}

.store-all-cats-mega__list::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 3px;
}

.store-all-cats-item {
  position: relative;
  margin: 0;
}

.store-all-cats-main-link {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  padding: 12px 20px;
  color: #1e293b !important;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.store-all-cats-main-link__text {
  flex: 1;
  min-width: 0;
}

.store-all-cats-main-caret {
  display: none !important;
}

.store-all-cats-item:hover > .store-all-cats-main-link,
.store-all-cats-item:focus-within > .store-all-cats-main-link,
.store-all-cats-item.is-active > .store-all-cats-main-link {
  background: #f1f5f9;
  color: #0f172a !important;
}

.store-all-cats-item:hover > .store-all-cats-main-link .store-all-cats-main-caret,
.store-all-cats-item:focus-within > .store-all-cats-main-link .store-all-cats-main-caret {
  color: var(--primary, #c8102e);
}

/* Inline subcategories inside the same fixed-height panel */
.store-all-cats-item--has-children {
  position: relative;
}

.store-all-cats-sub-inline {
  padding: 0 0 10px;
}

.store-all-cats-sub-panel__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.store-all-cats-sub-inline > .store-all-cats-sub-panel__list {
  padding-left: 14px;
}

.store-all-cats-sub-panel__list--deep {
  margin: 4px 0 0 0;
  padding: 4px 0 4px 12px;
  border-left: 2px solid #e2e8f0;
}

.store-all-cats-sub-link {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  padding: 8px 20px 8px 16px;
  color: #475569 !important;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.store-all-cats-sub-link:hover,
.store-all-cats-sub-link:focus {
  color: var(--primary, #c8102e) !important;
  background: rgba(200, 16, 46, 0.06);
  outline: none;
}

.store-all-cats-sub-caret {
  display: none !important;
}

.store-all-cats-sub-link--parent {
  font-weight: 600;
}

.store-all-cats-sub-item {
  position: relative;
}

.store-all-cats-sub-item--has-children:hover > .store-all-cats-sub-link .store-all-cats-sub-caret,
.store-all-cats-sub-item--has-children:focus-within > .store-all-cats-sub-link .store-all-cats-sub-caret {
  color: var(--primary, #c8102e);
}

.store-all-cats-mega__footer {
  padding: 12px 20px 16px;
  border-top: 1px solid #eef2f6;
  background: #fafbfc;
  border-radius: 0 0 14px 14px;
}

.store-all-cats-mega__view-all {
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--primary, #c8102e) !important;
  text-decoration: none;
  letter-spacing: 0.02em;
}

.store-all-cats-mega__view-all:hover {
  text-decoration: underline;
}

/* Sticky header clone: dark text on white bar */
.header-inner.bg-white .store-nav-flyout-menu .item-link {
  gap: 8px;
  padding: 14px 22px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--dark-blu, #0b1f3a);
}

.header-inner.bg-white .store-nav-flyout-menu .item-link:not(.store-nav-has-dropdown)::after {
  display: none !important;
}

/* Override theme .item-link huge gap (icons removed) */
.store-nav-flyout-menu > .menu-item > .item-link {
  gap: 6px !important;
}

.header-inner.bg-dark-blu .box-navigation .store-nav-flyout-menu .item-link .icon,
.header-inner.bg-dark-blu .box-navigation .store-nav-flyout-menu .item-link::before {
  display: none !important;
}

/* Kill theme 40px gap between All Categories | divider | main nav */
.header-inner.bg-dark-blu .header-inner_wrap .col-left {
  gap: 0 !important;
  flex: 1;
  min-width: 0;
  width: auto;
}

.header-inner.bg-dark-blu .col-left {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0 !important;
  min-width: 0;
  flex: 1;
}

/* Divider bar between All Categories and main nav: minimal margin */
.header-inner.bg-dark-blu .col-left > .br-line.type-vertical {
  flex-shrink: 0;
  margin: 0 2px !important;
  height: 24px;
  opacity: 0.4;
}

/* nav-category-wrap: fill the full bar height so top:100% on the panel lands at bar bottom */
.header-inner.bg-dark-blu .nav-category-wrap {
  position: relative;      /* containing block for the absolute panel */
  align-self: stretch;     /* fill the 52px bar height so top:100% is bar-bottom */
  display: flex;
  align-items: center;
  padding: 0 !important;
  margin: 0 !important;
  width: auto;
}

/* Push ALL CATEGORIES button text tighter — remove excess right padding */
.header-inner.bg-dark-blu .nav-category-wrap .btn-nav-drop {
  padding-right: 8px !important;
}

/* First nav item (Desktop & Laptop): reduce left padding to close gap */
.header-inner.bg-dark-blu .store-nav-flyout-menu > .menu-item.store-nav-main-item:first-child > .item-link {
  padding-left: 10px !important;
}

/* All nav items in blue bar: tighter uniform horizontal padding */
.header-inner.bg-dark-blu .store-nav-flyout-menu > .menu-item.store-nav-main-item > .item-link {
  padding-left: 14px !important;
  padding-right: 14px !important;
}

/* All ancestors of the panel and flyout must have overflow:visible so sub-flyouts are not clipped */
.header-inner.bg-dark-blu,
.header-inner.bg-dark-blu .container-full-2,
/* Panel transition — smooth fade-in/out */
.header-inner.bg-dark-blu .nav-category-wrap .store-all-cats-mega.active-item,
.header-inner.bg-dark-blu .nav-category-wrap .box-nav-category.active-item {
  transition: opacity 0.18s ease, visibility 0.18s ease, transform 0.18s ease;
}

/* Hidden state: panel not hovered and not JS-opened */
.header-inner.bg-dark-blu .nav-category-wrap:not(:hover):not(.is-open) .store-all-cats-mega.active-item:not(.active),
.header-inner.bg-dark-blu .nav-category-wrap:not(:hover):not(.is-open) .box-nav-category.active-item:not(.active) {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: translateY(6px) !important;
}

/* Visible state: CSS hover OR JS .is-open OR JS .active */
.header-inner.bg-dark-blu .nav-category-wrap:hover .store-all-cats-mega.active-item,
.header-inner.bg-dark-blu .nav-category-wrap.is-open .store-all-cats-mega.active-item,
.header-inner.bg-dark-blu .nav-category-wrap .store-all-cats-mega.active-item.active,
.header-inner.bg-dark-blu .nav-category-wrap:hover .box-nav-category.active-item,
.header-inner.bg-dark-blu .nav-category-wrap.is-open .box-nav-category.active-item,
.header-inner.bg-dark-blu .nav-category-wrap .box-nav-category.active-item.active {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: translateY(0) !important;
}

/* Button highlight when panel is open */
.header-inner.bg-dark-blu .nav-category-wrap.is-open .btn-nav-drop,
.header-inner.bg-dark-blu .nav-category-wrap:hover .btn-nav-drop {
  background: rgba(0, 0, 0, 0.12);
  border-radius: 6px;
}

/* ── Responsive nav: tablet (1200px–1439px) ────────────────────────────── */
@media (min-width: 1200px) and (max-width: 1439px) {
  /* Tighter nav item padding so all items fit */
  .header-inner.bg-dark-blu .store-nav-flyout-menu .item-link {
    font-size: 13px !important;
    padding: 0 8px !important;
    letter-spacing: 0.04em;
  }

  .header-inner.bg-dark-blu .store-nav-flyout-menu > .menu-item.store-nav-main-item > .item-link {
    padding-left: 8px !important;
    padding-right: 8px !important;
  }

  .header-inner.bg-dark-blu .store-nav-flyout-menu > .menu-item.store-nav-blog-item > .item-link {
    padding-left: 10px !important;
    padding-right: 6px !important;
  }

  /* All Categories button: slightly smaller */
  .header-inner.bg-dark-blu .btn-nav-drop .name-category {
    font-size: 13px;
  }

  .store-all-cats-mega.box-nav-category {
    --store-all-cats-panel-max-height: min(48vh, 380px);
  }
}

/* ── Main navigation: 8 main categories fill available width ───────────── */
@media (min-width: 1200px) {
  .header-inner.bg-dark-blu .store-nav-flyout-menu {
    flex: 1 1 auto;
    width: 100%;
    justify-content: flex-start;
  }

  .header-inner.bg-dark-blu .store-nav-flyout-menu > .menu-item.store-nav-main-item {
    flex: 1 1 0;
    min-width: 0;
  }

  .header-inner.bg-dark-blu .store-nav-flyout-menu > .menu-item.store-nav-main-item > .item-link {
    display: flex;
    justify-content: center;
    width: 100%;
    min-width: 0;
    padding-left: 10px !important;
    padding-right: 10px !important;
    text-align: center;
  }

  .header-inner.bg-dark-blu .store-nav-flyout-menu > .menu-item.store-nav-main-item:first-child > .item-link {
    padding-left: 10px !important;
  }

  .header-inner.bg-dark-blu .store-nav-flyout-menu .store-nav-label {
    display: block;
    width: 100%;
    min-width: 0;
    white-space: nowrap;
  }

  .header-inner.bg-dark-blu .store-nav-flyout-menu > .menu-item.store-nav-blog-item {
    flex: 0 0 auto;
  }

  .header-inner.bg-dark-blu .store-nav-flyout-menu > .menu-item.store-nav-blog-item > .item-link {
    display: flex;
    justify-content: center;
    min-height: 52px;
    padding-left: 10px !important;
    padding-right: 10px !important;
    text-align: center;
  }
}

.store-nav-blog-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 14px;
  background: #c8102e;
  color: #fff;
  font-size: inherit;
  font-weight: inherit;
  line-height: 1;
  letter-spacing: inherit;
  text-transform: inherit;
  border-radius: 3px;
}

@media (min-width: 1200px) and (max-width: 1339px) {
  .header-inner.bg-dark-blu .store-nav-flyout-menu .item-link {
    font-size: 13px !important;
    letter-spacing: 0.02em;
    gap: 4px;
  }

  .store-nav-blog-badge {
    min-height: 32px;
    padding: 0 12px;
  }
}

@media (min-width: 1340px) and (max-width: 1599px) {
  .header-inner.bg-dark-blu .store-nav-flyout-menu .item-link {
    font-size: 14px !important;
    letter-spacing: 0.03em;
    gap: 5px;
  }
}

@media (min-width: 1600px) {
  .header-inner.bg-dark-blu .store-nav-flyout-menu .item-link {
    font-size: 15px !important;
    letter-spacing: 0.04em;
    gap: 6px;
  }

  .header-inner.bg-dark-blu .store-nav-flyout-menu > .menu-item.store-nav-main-item > .item-link {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  .header-inner.bg-dark-blu .store-nav-flyout-menu > .menu-item.store-nav-blog-item > .item-link {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  .store-nav-blog-badge {
    min-height: 36px;
    padding: 0 16px;
  }
}

/* ── Sticky navigation: match main-nav layout/style ─────────────────────── */
@media (min-width: 1200px) {
  .tf-header.header-fixed .header-inner.bg-white .store-nav-flyout-menu {
    flex: 1 1 auto;
    width: 100%;
    justify-content: flex-start;
    gap: 0;
  }

  .tf-header.header-fixed .header-inner.bg-white .store-nav-flyout-menu > .menu-item.store-nav-main-item {
    flex: 1 1 0;
    min-width: 0;
  }

  .tf-header.header-fixed .header-inner.bg-white .store-nav-flyout-menu > .menu-item.store-nav-main-item > .item-link {
    display: flex;
    justify-content: center;
    width: 100%;
    min-width: 0;
    min-height: 56px;
    padding-left: 10px !important;
    padding-right: 10px !important;
    text-align: center;
    color: var(--dark-blu, #0b1f3a) !important;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
  }

  .tf-header.header-fixed .header-inner.bg-white .store-nav-flyout-menu .store-nav-label {
    display: block;
    width: 100%;
    min-width: 0;
    white-space: nowrap;
  }

  .tf-header.header-fixed .header-inner.bg-white .store-nav-flyout-menu > .menu-item.store-nav-blog-item {
    flex: 0 0 auto;
  }

  .tf-header.header-fixed .header-inner.bg-white .store-nav-flyout-menu > .menu-item.store-nav-blog-item > .item-link {
    display: flex;
    justify-content: center;
    min-height: 56px;
    padding-left: 10px !important;
    padding-right: 10px !important;
    text-align: center;
  }

  .tf-header.header-fixed .header-inner.bg-white .store-nav-blog-badge {
    min-height: 32px;
    padding: 0 12px;
  }
}

@media (min-width: 1200px) and (max-width: 1339px) {
  .tf-header.header-fixed .header-inner.bg-white .store-nav-flyout-menu .item-link {
    font-size: 13px !important;
    letter-spacing: 0.02em;
    gap: 4px;
  }
}

@media (min-width: 1340px) and (max-width: 1599px) {
  .tf-header.header-fixed .header-inner.bg-white .store-nav-flyout-menu .item-link {
    font-size: 14px !important;
    letter-spacing: 0.03em;
    gap: 5px;
  }
}

@media (min-width: 1600px) {
  .tf-header.header-fixed .header-inner.bg-white .store-nav-flyout-menu .item-link {
    font-size: 15px !important;
    letter-spacing: 0.04em;
    gap: 6px;
  }

  .tf-header.header-fixed .header-inner.bg-white .store-nav-flyout-menu > .menu-item.store-nav-main-item > .item-link,
  .tf-header.header-fixed .header-inner.bg-white .store-nav-flyout-menu > .menu-item.store-nav-blog-item > .item-link {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  .tf-header.header-fixed .header-inner.bg-white .store-nav-blog-badge {
    min-height: 36px;
    padding: 0 16px;
  }
}

/* ── Mobile: header top row — search bar visible at tablet via utility ─── */
@media (max-width: 1199px) {
  /* Give mobile hamburger enough touch target */
  .btn-mobile-menu {
    min-width: 40px;
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  /* Topbar: ensure phone link wraps gracefully */
  .tf-topbar .topbar-left {
    overflow: hidden;
  }

  .tf-topbar .topbar-left a {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
  }
}

/* ── Search bar: category dropdown readable on all sizes ────────────────── */
.store-search-cat-trigger {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 140px;
}

@media (min-width: 1440px) {
  .store-search-cat-trigger {
    max-width: 180px;
  }
}

/* ── Nav dropdown: prevent right-edge overflow on small desktops ─────────── */
.store-nav-dropdown--l1 {
  max-width: 90vw;
}

/* ── Ensure nav dropdowns clear the sticky bar ───────────────────────────── */
.tf-header.header-fixed .store-nav-dropdown--l1 {
  z-index: 2000;
}

/* ── Mobile offcanvas navigation (PHP-generated) ────────────────────────── */
#wrapper-menu-navigation {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
#wrapper-menu-navigation li {
  list-style: none !important;
}

/* Main category row */
#wrapper-menu-navigation .mb-menu-link {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  min-height: 52px !important;
  padding: 14px 0 !important;
  gap: 8px !important;
  font-size: 17px !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
  color: #111111 !important;
  text-decoration: none !important;
  background: transparent !important;
  border: none !important;
  border-bottom: 1px solid #e2e8f0 !important;
  box-shadow: none !important;
}
#wrapper-menu-navigation .mb-menu-link > span:first-child {
  color: #111111 !important;
  flex: 1 !important;
  display: block !important;
}
#wrapper-menu-navigation .mb-menu-link:hover,
#wrapper-menu-navigation .mb-menu-link:focus {
  color: #0b1f3a !important;
}
#wrapper-menu-navigation .mb-menu-link:hover > span:first-child,
#wrapper-menu-navigation .mb-menu-link:focus > span:first-child {
  color: #0b1f3a !important;
}

/* Caret icon */
#wrapper-menu-navigation .mb-menu-link .icon {
  font-size: 13px !important;
  flex-shrink: 0 !important;
  color: #555 !important;
  transition: transform 0.25s ease !important;
  transform: rotate(0deg) !important;
}
#wrapper-menu-navigation .mb-menu-link:not(.collapsed) .icon {
  transform: rotate(180deg) !important;
}

/* Sub-category list */
#wrapper-menu-navigation .sub-nav-menu {
  list-style: none !important;
  padding: 6px 0 10px 18px !important;
  margin: 0 !important;
  border-left: 3px solid #0b1f3a !important;
}
#wrapper-menu-navigation .sub-nav-link {
  display: block !important;
  font-size: 15px !important;
  font-weight: 400 !important;
  color: #333333 !important;
  text-decoration: none !important;
  padding: 8px 0 !important;
  line-height: 1.4 !important;
}
#wrapper-menu-navigation .sub-nav-link:hover {
  color: #0b1f3a !important;
  font-weight: 600 !important;
}

/* ── Account: wishlist stat icon colour ── */
.store-account-stat-icon.wishlist {
  background: #fff0f1;
  color: #e74c3c;
}

/* Clickable wishlist stat card (wraps in <a>) */
a.store-account-stat {
  color: inherit;
}
a.store-account-stat:hover {
  text-decoration: none;
  border-color: var(--primary, #c8102e);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.06);
}

/* Wishlist page: empty-state heart icon */
.store-wishlist-empty-state .store-wl-empty-icon .icon {
  font-size: 56px;
  color: #e2e8f0;
  line-height: 1;
  display: block;
}

/* ── Account wishlist page ── */
.store-account-wishlist-page .store-wishlist-panel-hd {
  align-items: flex-start;
  gap: 1rem;
}

.store-wishlist-count-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.75rem;
  height: 1.75rem;
  padding: 0 0.5rem;
  margin-left: 0.5rem;
  border-radius: 999px;
  background: #fff0f1;
  color: #c8102e;
  font-size: 0.8125rem;
  font-weight: 700;
  vertical-align: middle;
}

.store-wishlist-panel-sub {
  color: #64748b;
  font-size: 0.9375rem;
  max-width: 42rem;
}

.store-wishlist-panel-bd {
  padding: 1.25rem !important;
}

@media (min-width: 768px) {
  .store-wishlist-panel-bd {
    padding: 1.5rem !important;
  }
}

.store-wishlist-account-grid .col {
  display: flex;
}

.store-wl-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  background: #fff;
  border: 1px solid #e8edf3;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.store-wl-card:hover {
  border-color: #d7e0ea;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
  transform: translateY(-2px);
}

.store-wl-card-media {
  position: relative;
  background: #f8fafc;
  aspect-ratio: 1 / 1;
}

.store-wl-card-img-link {
  display: block;
  width: 100%;
  height: 100%;
}

.store-wl-card-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 1rem;
  display: block;
}

.store-wl-card-sale {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: #c8102e;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.2;
}

.store-wl-card-remove {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.96);
  color: #64748b;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.store-wl-card-remove:hover {
  color: #c8102e;
  background: #fff;
  transform: scale(1.04);
}

.store-wl-card-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem 1rem 1.1rem;
}

.store-wl-card-category {
  margin: 0;
  color: #64748b;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.3;
}

.store-wl-card-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.45;
}

.store-wl-card-title .link {
  color: #0f172a;
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.store-wl-card-title .link:hover {
  color: #c8102e;
}

.store-wl-card-price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.45rem;
  min-height: 1.5rem;
}

.store-wl-card-price {
  color: #0f172a;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.2;
}

.store-wl-card-price--quote {
  font-size: 0.95rem;
  color: #0b1f3a;
}

.store-wl-card-price-old {
  color: #94a3b8;
  font-size: 0.875rem;
  text-decoration: line-through;
}

.store-wl-card-meta {
  margin-top: auto;
}

.store-wl-stock {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.3;
}

.store-wl-stock--in {
  background: #ecfdf3;
  color: #15803d;
}

.store-wl-stock--out {
  background: #fef2f2;
  color: #b91c1c;
}

.store-wl-stock--quote {
  background: #eff6ff;
  color: #1d4ed8;
}

.store-wl-card-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
  gap: 0.5rem;
  margin-top: 0.35rem;
}

.store-wl-add-cart-form {
  margin: 0;
  min-width: 0;
}

.store-wl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  width: 100%;
  min-height: 40px;
  padding: 0.55rem 0.75rem;
  border-radius: 10px;
  border: 1px solid transparent;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.store-wl-btn--view {
  background: #f8fafc;
  border-color: #e2e8f0;
  color: #0f172a;
}

.store-wl-btn--view:hover {
  background: #eef2f7;
  color: #0f172a;
}

.store-wl-btn--cart {
  background: #0b1f3a;
  color: #fff;
  cursor: pointer;
}

.store-wl-btn--cart:hover {
  background: #12325d;
  color: #fff;
}

.store-wl-btn--disabled {
  background: #f1f5f9;
  color: #94a3b8;
  border-color: #e2e8f0;
}

@media (max-width: 575px) {
  .store-wishlist-panel-hd {
    flex-direction: column;
  }

  .store-wishlist-browse-link {
    align-self: flex-start;
  }

  .store-wl-card-actions {
    grid-template-columns: 1fr;
  }
}

/* Separator line between categories and nav links */
#wrapper-menu-navigation .nav-mb-separator {
  list-style: none !important;
  height: 2px !important;
  background: #e2e8f0 !important;
  margin: 12px 0 !important;
  padding: 0 !important;
}

/* Site footer: white text only (background stays #233c52 in styles.css) */
.tf-footer.footer-text-white {
  color: #ffffff;
}

.tf-footer.footer-text-white .footer-heading,
.tf-footer.footer-text-white .footer-menu-list a,
.tf-footer.footer-text-white .footer-contact a,
.tf-footer.footer-text-white .footer-contact .icon,
.tf-footer.footer-text-white .footer-newsletter .caption,
.tf-footer.footer-text-white .footer-newsletter .h6,
.tf-footer.footer-text-white .footer-bottom .h6,
.tf-footer.footer-text-white .inner-bottom,
.tf-footer.footer-text-white a.link,
.tf-footer.footer-text-white a.h6 {
  color: #ffffff;
}

.tf-footer.footer-text-white a.link:hover,
.tf-footer.footer-text-white .footer-menu-list a:hover,
.tf-footer.footer-text-white .footer-contact a:hover {
  color: rgba(255, 255, 255, 0.85) !important;
}

@media (max-width: 575px) {
  .tf-footer.footer-text-white .footer-heading-mobile::before,
  .tf-footer.footer-text-white .footer-heading-mobile::after {
    background-color: #ffffff;
  }
}

/* Footer social icons: always show brand fill (same as theme hover) */
.tf-footer.footer-text-white .tf-social-icon a {
  color: #ffffff;
}

.tf-footer.footer-text-white .tf-social-icon a::after {
  opacity: 1;
  visibility: visible;
}

/* Products listing — compact filter bar */
body.storefront-products .store-pf-compact {
  background: linear-gradient(180deg, #fafbfd 0%, #fff 100%);
  border: 1px solid #e8edf3;
  border-radius: 14px;
  padding: 0.85rem 1rem;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04);
}
body.storefront-products .store-pf-compact__top,
body.storefront-products .store-pf-compact__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.65rem 0.75rem;
}
body.storefront-products .store-pf-compact__bottom {
  margin-top: 0.65rem;
  padding-top: 0.65rem;
  border-top: 1px solid #eef2f7;
}
body.storefront-products .store-pf-field {
  flex: 1 1 140px;
  min-width: 0;
}
body.storefront-products .store-pf-field--grow {
  flex: 2 1 200px;
}
body.storefront-products .store-pf-field--sort {
  flex: 1 1 130px;
  max-width: 200px;
}
body.storefront-products .store-pf-compact .store-products-filter-label {
  margin-bottom: 0.28rem;
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  color: #64748b;
}
body.storefront-products .store-pf-compact .store-products-filter-control {
  min-height: 38px !important;
  font-size: 0.875rem !important;
  border-radius: 10px !important;
  border-color: #e2e8f0 !important;
  padding: 0.4rem 0.7rem !important;
  background: #fff !important;
  box-shadow: none !important;
}
body.storefront-products .store-pf-compact .form-select.store-products-filter-control {
  padding-top: 0.4rem !important;
  padding-bottom: 0.4rem !important;
  font-size: 0.875rem !important;
}
body.storefront-products .store-pf-compact .store-products-filter-control:focus {
  border-color: #0b1f3a !important;
  box-shadow: 0 0 0 3px rgba(11, 31, 58, 0.08) !important;
}
body.storefront-products .store-pf-price {
  flex: 0 1 auto;
}
body.storefront-products .store-pf-price__inputs {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
body.storefront-products .store-pf-price__inputs .store-products-filter-control {
  width: 5.5rem;
  min-width: 4.5rem;
  text-align: center;
}
body.storefront-products .store-pf-price__sep {
  color: #94a3b8;
  font-size: 0.8rem;
  line-height: 1;
}
body.storefront-products .store-pf-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  flex: 1 1 auto;
  min-height: 38px;
}
body.storefront-products .store-pf-chip {
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 0.35rem 0.75rem;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  background: #fff;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
  user-select: none;
}
body.storefront-products .store-pf-chip__input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}
body.storefront-products .store-pf-chip:hover {
  border-color: #cbd5e1;
  color: #0f172a;
}
body.storefront-products .store-pf-chip.is-active,
body.storefront-products .store-pf-chip:has(.store-pf-chip__input:checked) {
  border-color: #0b1f3a;
  background: #0b1f3a;
  color: #fff;
}
body.storefront-products .store-pf-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  margin-left: auto;
}
body.storefront-products .store-pf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0.4rem 1rem;
  border-radius: 10px;
  font-size: 0.8125rem;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
  white-space: nowrap;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
body.storefront-products .store-pf-btn--primary {
  background: #0b1f3a;
  color: #fff;
  border-color: #0b1f3a;
}
body.storefront-products .store-pf-btn--primary:hover {
  background: #12325d;
  color: #fff;
}
body.storefront-products .store-pf-btn--ghost {
  background: #fff;
  color: #475569;
  border-color: #e2e8f0;
}
body.storefront-products .store-pf-btn--ghost:hover {
  background: #f8fafc;
  color: #0f172a;
  border-color: #cbd5e1;
}
body.storefront-products .store-pf-compact .store-products-filters-divider,
body.storefront-products .store-pf-compact .store-products-filters-options {
  display: none !important;
}
@media (max-width: 767px) {
  body.storefront-products .store-pf-compact {
    padding: 0.75rem;
  }
  body.storefront-products .store-pf-field--sort {
    max-width: none;
  }
  body.storefront-products .store-pf-actions {
    width: 100%;
    margin-left: 0;
  }
  body.storefront-products .store-pf-actions .store-pf-btn {
    flex: 1 1 0;
  }
}
@media (min-width: 992px) {
  body.storefront-products .store-products-head {
    margin-bottom: 0.5rem;
  }
}

/* Breadcrumb bar + first content block: tight gap under header nav */
.s-page-title.style-2 .content {
  padding-top: 12px;
  padding-bottom: 12px;
}
body.storefront-product .flat-single-product.flat-spacing-3 {
  padding-top: 12px;
}
body.storefront-products .store-products-wrap {
  padding-top: 16px;
}
body.storefront-products .store-products-empty {
  padding-top: 1.5rem;
  padding-bottom: 2rem;
}
body.storefront-products .store-products-browse-all-btn {
  min-width: min(100%, 22rem);
  padding: 1rem 2.25rem;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  justify-content: center;
}
@media (max-width: 767px) {
  .s-page-title.style-2 .content {
    padding-top: 10px;
    padding-bottom: 10px;
  }
  body.storefront-product .flat-single-product.flat-spacing-3 {
    padding-top: 8px;
  }
  body.storefront-products .store-products-wrap {
    padding-top: 12px;
  }
}

/* Product detail — info column layout */
.storefront-product .product-info-short-desc {
  line-height: 1.55;
}
.storefront-product .product-info-short-desc p:last-child {
  margin-bottom: 0;
}
.storefront-product .product-info-short-desc ul,
.storefront-product .product-info-short-desc ol {
  margin: 0.5rem 0 0.75rem;
  padding-left: 1.25rem;
  list-style-position: outside;
}
.storefront-product .product-info-short-desc ul {
  list-style-type: disc;
}
.storefront-product .product-info-short-desc ol {
  list-style-type: decimal;
}
.storefront-product .product-info-short-desc ul li,
.storefront-product .product-info-short-desc ol li {
  display: list-item;
  margin-bottom: 0.35rem;
  line-height: 1.55;
  padding-left: 0.15rem;
}
.storefront-product .product-info-short-desc ul li {
  list-style-type: disc;
}
.storefront-product .product-info-short-desc ol li {
  list-style-type: decimal;
}
.storefront-product .product-info-short-desc ul li:last-child,
.storefront-product .product-info-short-desc ol li:last-child {
  margin-bottom: 0;
}
.storefront-product .store-pd-actions .tf-btn {
  min-width: 148px;
}

/* Product detail — rich description (CKEditor HTML) */
.storefront-product .tab-descriptions .desc ul,
.storefront-product .tab-descriptions .desc ol {
  margin: 0.75rem 0 0.75rem 1.25rem;
  padding-left: 1.1rem;
}
.storefront-product .tab-descriptions .desc ul li,
.storefront-product .tab-descriptions .desc ol li {
  margin-bottom: 0.45rem;
  line-height: 1.6;
}
.storefront-product .tab-descriptions .desc p {
  margin-bottom: 0.75rem;
}
.storefront-product .tab-descriptions .desc p:last-child {
  margin-bottom: 0;
}

/* Product detail — specification sheet (label / value table) */
.storefront-product .store-product-specs-wrap .store-spec-sheet,
.storefront-product .store-product-specs-wrap .store-spec-sheet tbody,
.storefront-product .store-product-specs-wrap .store-spec-sheet tr {
  display: table !important;
  width: 100% !important;
}
.storefront-product .store-product-specs-wrap .store-spec-sheet .store-spec-label,
.storefront-product .store-product-specs-wrap .store-spec-sheet .store-spec-value {
  display: table-cell !important;
}
.store-product-specs-wrap .store-spec-group:last-child {
  margin-bottom: 0 !important;
}
.store-product-specs-wrap .store-spec-heading {
  letter-spacing: 0.02em;
  font-size: 1.05rem;
  margin-bottom: 0.85rem;
}
.storefront-product .store-product-specs-wrap .store-spec-table-responsive {
  border: 1px solid #e3e8ef;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 6px 20px rgba(15, 23, 42, 0.05);
}
.store-spec-table-responsive {
  border: 1px solid #e3e8ef;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}
.store-spec-sheet {
  border-collapse: collapse;
  border-style: hidden;
  font-size: 17px;
  line-height: 1.55;
  color: #0f172a;
}
.storefront-product .store-product-specs-wrap .store-spec-sheet {
  font-size: 17px;
}
.store-spec-sheet tbody tr {
  transition: background-color 0.15s ease;
}
.store-spec-sheet tbody tr:not(:last-child) .store-spec-label,
.store-spec-sheet tbody tr:not(:last-child) .store-spec-value {
  border-bottom: 1px solid #e8ecf0;
}
.storefront-product .store-product-specs-wrap .store-spec-sheet tbody tr:hover .store-spec-label {
  background: #eef4f9;
}
.storefront-product .store-product-specs-wrap .store-spec-sheet tbody tr:hover .store-spec-value {
  background: #f8fafc;
}
.store-spec-sheet .store-spec-label {
  width: 1%;
  min-width: 200px;
  max-width: 34%;
  padding: 16px 20px;
  font-size: 17px;
  text-align: left;
  font-weight: 600;
  vertical-align: middle;
  white-space: nowrap;
  background: #f4f7fa;
  color: #0f172a;
  border-right: 1px solid #e3e8ef;
  letter-spacing: 0.01em;
}
.storefront-product .store-product-specs-wrap .store-spec-sheet tbody tr:nth-child(even) .store-spec-label {
  background: #eef2f6;
}
.store-spec-sheet .store-spec-value {
  width: auto;
  padding: 16px 22px;
  font-size: 17px;
  vertical-align: middle;
  background: #fff;
  color: #334155;
  font-weight: 400;
}
.storefront-product .store-product-specs-wrap .store-spec-sheet tbody tr:nth-child(even) .store-spec-value {
  background: #fbfcfd;
}
.store-spec-sheet tbody tr:last-child .store-spec-label,
.store-spec-sheet tbody tr:last-child .store-spec-value {
  padding-bottom: 20px;
}
.store-product-specs-inline .store-spec-heading {
  font-size: 1rem;
  margin-bottom: 0.75rem;
}
@media (max-width: 575px) {
  .store-spec-sheet {
    font-size: 15px;
  }
  .store-spec-sheet .store-spec-label {
    width: 40%;
    min-width: 0;
    max-width: none;
    padding: 12px 12px 12px 14px;
    font-size: 15px;
    white-space: normal;
  }
  .store-spec-sheet .store-spec-value {
    padding: 12px 14px 12px 12px;
    font-size: 15px;
  }
  .store-spec-sheet tbody tr:last-child .store-spec-label,
  .store-spec-sheet tbody tr:last-child .store-spec-value {
    padding-bottom: 16px;
  }
}
