/* Expand Blocksy's left header column to fill all available space */
header [data-row="middle"] [data-column="start"],
header [data-row="middle"] [data-column="start"] > [data-items] {
  flex: 1 1 auto !important;
  width: 100% !important;
  max-width: 100% !important;
}

/* Stretch the HTML container and FiboSearch bar inside it */
header [data-id="html"],
header [data-id="html"] .ct-html-content,
header [data-id="html"] .dgwt-wcas-search-wrapp {
  flex: 1 1 auto !important;
  width: 100% !important;
  max-width: 100% !important;
}

/* Keep the Nuvotech logo from shrinking */
header [data-id="logo"] {
  flex-shrink: 0 !important;
  margin-right: 24px !important;
}

/* Add breathing room before Account & Cart */
header [data-row="middle"] [data-column="end"] {
  flex-shrink: 0 !important;
  margin-left: 24px !important;
}

/* Soft light-gray background behind your homepage product sections */
.home .entry-content {
  background-color: #ffffff !important;
  padding: 25px 20px !important;
  border-radius: 8px;
}

/* Floating white rounded cards with soft shadow (matching your screenshot) */
.wc-block-grid__product,
.products .product {
  background-color: #ffffff !important;
  border: 1px solid #eeeeee !important;
  border-radius: 24px !important;
  padding: 20px 16px !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06) !important;
  text-align: center !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

/* Subtle lift when hovering over a card */
.wc-block-grid__product:hover,
.products .product:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1) !important;
}

/* Centered bold orange product titles (like "Outdoor IP Cameras") */
.wc-block-grid__product-title,
.products .product .woocommerce-loop-product__title {
  color: #e66a1f !important;
  font-weight: 600 !important;
  font-size: 15px !important;
  text-align: center !important;
  margin-top: 12px !important;
}

/* Center the price and Add to Cart button inside each card */
.wc-block-grid__product-price,
.wc-block-grid__product-add-to-cart,
.products .product .price,
.products .product .button {
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
/* Make Account and Cart icons & labels larger and easier to click */
header [data-id="account"],
header [data-id="cart"] {
  padding: 8px 12px !important;
  border-radius: 8px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  transition: background-color 0.2s ease !important;
}

header [data-id="account"]:hover,
header [data-id="cart"]:hover {
  background-color: #f1f5f9 !important;
}

header [data-id="account"] .ct-icon,
header [data-id="cart"] .ct-icon {
  width: 22px !important;
  height: 22px !important;
}
/* Clean Newegg-style search bar with right-aligned orange button */
.dgwt-wcas-sf-wrapp {
  position: relative !important;
  display: flex !important;
  align-items: stretch !important;
}

.dgwt-wcas-sf-wrapp input[type="search"].dgwt-wcas-search-input {
  background-color: #f8fafc !important;
  border: 2px solid #cbd5e1 !important;
  border-radius: 8px !important;
  height: 46px !important;
  padding-left: 16px !important;
  padding-right: 56px !important;
  font-size: 15px !important;
  color: #0f172a !important;
  width: 100% !important;
}

.dgwt-wcas-sf-wrapp input[type="search"].dgwt-wcas-search-input:focus {
  background-color: #ffffff !important;
  border-color: #f95700 !important;
  outline: none !important;
}

/* 1. Force FiboSearch wrapper to stretch full width and align items cleanly */
.dgwt-wcas-search-wrapp,
.dgwt-wcas-sf-wrapp {
  width: 100% !important;
  max-width: 100% !important;
  display: flex !important;
  align-items: center !important;
  position: relative !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* 2. Fully rounded search input box */
.dgwt-wcas-sf-wrapp input[type="search"].dgwt-wcas-search-input {
  width: 100% !important;
  height: 46px !important;
  line-height: 46px !important;
  background-color: #f8fafc !important;
  border: 2px solid #cbd5e1 !important;
  border-radius: 10px !important;
  padding: 0 56px 0 18px !important;
  margin: 0 !important;
  font-size: 15px !important;
  color: #0f172a !important;
  box-sizing: border-box !important;
}

.dgwt-wcas-sf-wrapp input[type="search"].dgwt-wcas-search-input:focus {
  background-color: #ffffff !important;
  border-color: #f95700 !important;
  outline: none !important;
}

/* 1. Full-width rounded search input */
.dgwt-wcas-search-wrapp,
.dgwt-wcas-sf-wrapp {
  width: 100% !important;
  max-width: 100% !important;
  position: relative !important;
  margin: 0 !important;
}

.dgwt-wcas-sf-wrapp input[type="search"].dgwt-wcas-search-input {
  width: 100% !important;
  height: 46px !important;
  background-color: #f8fafc !important;
  border: 2px solid #cbd5e1 !important;
  border-radius: 10px !important;
  padding: 0 58px 0 18px !important;
  font-size: 15px !important;
  color: #0f172a !important;
}

.dgwt-wcas-sf-wrapp input[type="search"].dgwt-wcas-search-input:focus {
  background-color: #ffffff !important;
  border-color: #f95700 !important;
  outline: none !important;
}
/* Full-width pill-shaped search bar matching your Newegg reference */
.dgwt-wcas-search-wrapp,
.dgwt-wcas-sf-wrapp {
  width: 100% !important;
  max-width: 100% !important;
  position: relative !important;
  margin: 0 !important;
}

.dgwt-wcas-sf-wrapp input[type="search"].dgwt-wcas-search-input {
  width: 100% !important;
  height: 48px !important;
  background-color: #ffffff !important;
  border: 2px solid #cbd5e1 !important;
  border-radius: 999px !important;
  padding: 0 74px 0 22px !important;
  font-size: 15px !important;
  color: #0f172a !important;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.05) !important;
}

.dgwt-wcas-sf-wrapp input[type="search"].dgwt-wcas-search-input:focus {
  border-color: #f95700 !important;
  outline: none !important;
}

/* Inset floating orange pill button on the right (matching Newegg) */
.dgwt-wcas-search-wrapp .dgwt-wcas-sf-wrapp button.dgwt-wcas-search-submit,
.dgwt-wcas-sf-wrapp .dgwt-wcas-search-submit {
  left: auto !important;
  right: 5px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  height: 38px !important;
  width: 58px !important;
  margin: 0 !important;
  padding: 0 !important;
  background-color: #f95700 !important;
  border: none !important;
  border-radius: 999px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: background-color 0.2s ease !important;
}

.dgwt-wcas-search-wrapp .dgwt-wcas-sf-wrapp button.dgwt-wcas-search-submit:hover {
  background-color: #e04d00 !important;
}

.dgwt-wcas-sf-wrapp button.dgwt-wcas-search-submit svg {
  position: static !important;
  width: 18px !important;
  height: 18px !important;
  margin: 0 !important;
}

.dgwt-wcas-sf-wrapp button.dgwt-wcas-search-submit svg path {
  fill: #ffffff !important;
}

/* Rounded pill hover highlight for Bottom Row Menu 1 */
header [data-row="bottom"] [data-id="menu"] > ul > li > a {
  padding: 8px 14px !important;
  border-radius: 8px !important;
  transition: background-color 0.2s ease, color 0.2s ease !important;
}

/* Classic Newegg Deep Navy Blue Bottom Row Category Bar */
header [data-row="bottom"] {
  background: transparent !important;
  padding-bottom: 10px !important;
}

header [data-row="bottom"] > .ct-container,
header [data-row="bottom"] > .ct-container-fluid {
  background-color: #16324f !important;
  border-radius: 10px !important;
  min-height: 46px !important;
  box-shadow: 0 3px 10px rgba(22, 50, 79, 0.14) !important;
}

header [data-row="bottom"] [data-id="menu"] > ul > li > a {
  color: #ffffff !important;
  padding: 8px 14px !important;
  border-radius: 8px !important;
  transition: background-color 0.2s ease, color 0.2s ease !important;
}

header [data-row="bottom"] [data-id="menu"] > ul > li > a:hover,
header [data-row="bottom"] [data-id="menu"] > ul > li.current-menu-item > a {
  background-color: rgba(255, 255, 255, 0.12) !important;
  color: #f95700 !important;
}
/* Deep navy dropdown menu matching your Option C category bar */
header [data-row="bottom"] [data-id="menu"] .sub-menu {
  background-color: #16324f !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 10px !important;
  padding: 8px !important;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.25) !important;
}

header [data-row="bottom"] [data-id="menu"] .sub-menu li a {
  color: #ffffff !important;
  font-weight: 500 !important;
  font-size: 13.5px !important;
  padding: 9px 14px !important;
  border-radius: 6px !important;
  transition: background-color 0.15s ease, color 0.15s ease !important;
}

header [data-row="bottom"] [data-id="menu"] .sub-menu li a:hover {
  background-color: rgba(255, 255, 255, 0.12) !important;
  color: #f95700 !important;
}
header [data-row="bottom"] [data-id="menu"] .sub-menu li a:hover {
  background-color: #fff7ed !important;
  color: #f95700 !important;
}

/* Match mobile off-canvas menu to desktop deep navy (#16324f) & orange (#f95700) */
#offcanvas .ct-panel-inner {
  background-color: #16324f !important;
}

#offcanvas [data-id="mobile-menu"] ul li a {
  color: #ffffff !important;
  font-weight: 600 !important;
  border-radius: 8px !important;
  padding: 10px 12px !important;
  transition: background-color 0.2s ease, color 0.2s ease !important;
}

#offcanvas [data-id="mobile-menu"] ul li a:hover,
#offcanvas [data-id="mobile-menu"] ul li.current-menu-item > a {
  background-color: rgba(255, 255, 255, 0.12) !important;
  color: #f95700 !important;
}

/* Slightly softer background & indent for expanded mobile subcategories */
#offcanvas [data-id="mobile-menu"] .sub-menu {
  background-color: rgba(0, 0, 0, 0.18) !important;
  border-radius: 8px !important;
  margin: 4px 0 8px 10px !important;
  padding: 4px !important;
}
/* Clean vertical separator between Nuvotech logo and pill search bar */
header [data-id="logo"] {
  padding-right: 22px !important;
  border-right: 1px solid #e2e8f0 !important;
}
/* 1. Make the 3-column slider row match your header width cleanly */
.home .wp-block-columns.alignwide {
  max-width: 100% !important;
  gap: 20px !important;
  margin-top: 16px !important;
}

/* 2. Remove extra padding/double boxes inside each slider card */
.home .wp-block-columns .wp-block-column {
  padding: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.home .wp-block-columns .n2-ss-slider,
.home .wp-block-columns .n2-ss-align {
  border-radius: 12px !important;
  overflow: hidden !important;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08) !important;
  margin: 0 !important;
}

/* 3. Ensure all 3 slider images fill edge-to-edge with identical height */
.home .wp-block-columns .n2-ss-slide-background-image img {
  object-fit: cover !important;
}
/* Keep 3 Smart Sliders side-by-side in equal columns aligned with header */
.home .wp-block-columns.alignwide {
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 18px !important;
  max-width: 100% !important;
  margin-top: 16px !important;
}

/* 1. Stretch the 3-slider row to match your header width */
.home .entry-content > .wp-block-columns {
  max-width: 100% !important;
  width: 100% !important;
  display: flex !important;
  gap: 20px !important;
  margin: 16px 0 24px 0 !important;
}

/* 2. Remove the extra white padded frame around each column */
.home .entry-content > .wp-block-columns > .wp-block-column {
  flex: 1 1 0% !important;
  min-width: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
}

/* 3. Force identical height & clean rounded corners on all 3 sliders */
.home .wp-block-columns .n2-ss-slider,
.home .wp-block-columns .n2-ss-slider-1,
.home .wp-block-columns .n2-ss-slide-backgrounds {
  height: 215px !important;
  min-height: 215px !important;
  max-height: 215px !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08) !important;
}
/* Force Smart Slider wrappers to fill 100% of each column with zero white border */
.home .wp-block-columns .n2-section-smartslider,
.home .wp-block-columns .n2-ss-align,
.home .wp-block-columns .n2-ss-slider,
.home .wp-block-columns .n2-ss-slider-1,
.home .wp-block-columns .n2-ss-slider-2,
.home .wp-block-columns .n2-ss-slider-3 {
  width: 100% !important;
  max-width: 100% !important;
  height: 220px !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Remove the outer white card padding from the 3 slider columns only */
.home .entry-content > .wp-block-columns:first-of-type > .wp-block-column {
  padding: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 12px !important;
  overflow: hidden !important;
}

/* Make every slide image fill edge-to-edge cleanly */
.home .wp-block-columns .n2-ss-slide-background,
.home .wp-block-columns .n2-ss-slide-background-image,
.home .wp-block-columns .n2-ss-slide-background-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  margin: 0 !important;
  padding: 0 !important;
}

.home .wp-block-columns .n2-ss-slide-background-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}