/* Final ecommerce UI pass */
:root {
  --font-display: var(--font-retail);
  --sn-ink: #111111;
  --sn-muted: #667085;
  --sn-line: #e5e7eb;
  --sn-soft: #f7f8fa;
  --sn-accent: #b91c1c;
}

/* Production PDP refinement */
.product-page-shell {
  padding-top: 18px;
}

.product-detail.luxury-pdp-layout {
  align-items: start;
  gap: clamp(24px, 4vw, 58px);
}

@media (min-width: 901px) {
  html,
  body,
  main {
    overflow: visible !important;
  }

  .product-page-shell {
    overflow: visible !important;
  }

  .product-detail.luxury-pdp-layout > .product-gallery {
    position: sticky !important;
    top: 112px;
    align-self: start;
    z-index: 1;
  }

  .product-detail.luxury-pdp-layout > .product-summary {
    position: static !important;
  }
}

.product-page-shell .product-summary {
  min-width: 0;
}

.pdp-category-strip {
  flex-wrap: wrap;
}

.pdp-main-title {
  max-width: 820px;
  text-wrap: balance;
}

.pdp-purchase-panel {
  border-radius: 8px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
}

.pdp-price-header-row,
.pdp-stock-lead-row,
.pdp-qty-add-row {
  min-width: 0;
}

.pdp-live-total-pill,
.pdp-code-tag,
.stock-pill,
.lead-time-pill {
  max-width: 100%;
}

.variant-options-track {
  scrollbar-width: thin;
}

.fastener-size-pill,
.fastener-finish-pill {
  white-space: nowrap;
}

.pdp-guarantee-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 900px) {
  .product-page-shell {
    padding-top: 8px;
  }

  .product-detail.luxury-pdp-layout {
    gap: 18px;
  }

  .pdp-purchase-panel {
    box-shadow: none;
  }
}

@media (max-width: 620px) {
  .pdp-breadcrumbs {
    overflow-x: auto;
    padding-bottom: 8px;
    white-space: nowrap;
  }

  .pdp-main-title {
    font-size: clamp(22px, 8vw, 30px);
    line-height: 1.18;
  }

  .pdp-price-header-row {
    align-items: stretch;
    flex-direction: column;
  }

  .pdp-live-price {
    font-size: 26px;
  }

  .pdp-stock-lead-row {
    align-items: stretch;
    flex-direction: column;
  }

  .pdp-qty-add-row {
    grid-template-columns: minmax(104px, 0.42fr) minmax(0, 1fr) 42px;
  }

  .pdp-qty-add-row .add-cart-button {
    min-width: 0;
    padding-inline: 10px;
  }

  .pdp-guarantee-grid {
    grid-template-columns: 1fr;
  }
}

html,
body,
button,
input,
select,
textarea {
  font-family: var(--font-retail), Montserrat, Arial, sans-serif !important;
  letter-spacing: 0 !important;
}

.container,
.hero-controls-inner {
  width: min(1320px, 90%) !important;
  max-width: 1320px !important;
  margin-inline: auto !important;
}

.site-header .container,
.site-footer .container {
  width: min(1320px, 90%) !important;
}

header.site-header,
.site-header,
.pro-site-header {
  position: -webkit-sticky !important;
  position: sticky !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  z-index: 9999 !important;
  border-bottom: 1px solid rgba(17, 17, 17, 0.08) !important;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08) !important;
  background: #ffffff !important;
  transform: none !important;
}

.site-header .nav-row {
  min-height: 74px !important;
}

/* Header layout: balanced row with centered brand, primary nav on its own row below */
.site-header .nav-row {
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) !important;
  grid-template-rows: auto auto !important;
  align-items: center !important;
  row-gap: 0 !important;
}

.header-utilities {
  grid-column: 1 !important;
  grid-row: 1 !important;
  justify-self: start !important;
}

.site-header .brand {
  grid-column: 2 !important;
  grid-row: 1 !important;
  align-self: center !important;
  align-items: center !important;
  justify-self: center !important;
  min-height: 74px !important;
  width: auto !important;
}

.nav-actions {
  grid-column: 3 !important;
  grid-row: 1 !important;
  justify-self: end !important;
}

.site-header .main-nav {
  grid-column: 1 / -1 !important;
  grid-row: 2 !important;
  justify-content: center !important;
}

.screwnet-brand {
  align-items: center !important;
  min-width: max-content;
  font-family: var(--font-retail), Montserrat, Arial, sans-serif !important;
  letter-spacing: 0 !important;
}

.brand-logo-text {
  font-size: clamp(22px, 2.1vw, 30px) !important;
  font-weight: 900 !important;
  letter-spacing: 0 !important;
}

.brand-logo-main,
.brand-logo-accent,
.brand-logo-sub {
  letter-spacing: 0 !important;
}

.brand-logo-sub {
  font-size: 12px !important;
  margin-left: 2px !important;
}

.hero-carousel-section {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  border-bottom: 0 !important;
  background: #fff !important;
}

.hero-slides-wrapper,
.hero-slide-item {
  position: relative;
  overflow: hidden;
}

.hero-slide-item {
  min-height: clamp(260px, 39vw, 560px) !important;
  background: #f4f5f7;
}

.hero-image-layer,
.hero-image-layer picture,
.hero-bg-image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.hero-bg-image {
  object-fit: cover;
  object-position: center;
}

.hero-slide-link {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: block;
}

.hero-overlay-layer,
.hero-content-container,
.hero-content-box {
  display: none !important;
}

.hero-controls-bar {
  position: absolute;
  inset: auto 0 18px;
  z-index: 5;
  pointer-events: none;
}

.hero-controls-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hero-dots-group,
.hero-arrows-group {
  pointer-events: auto;
}

.hero-arrow-btn,
.hero-dot-indicator {
  border-radius: 999px !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.wooden-why-us-section {
  padding: 28px 0 !important;
  background: #ffffff !important;
}

.wooden-why-us-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 12px !important;
}

.wooden-why-card {
  min-height: 128px;
  border: 1px solid var(--sn-line) !important;
  border-radius: 8px !important;
  padding: 18px !important;
  background: #fff !important;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.wooden-section-title,
.footer-intro-bar h2,
.pdp-main-title {
  font-family: var(--font-retail), Montserrat, Arial, sans-serif !important;
  letter-spacing: 0 !important;
}

.wooden-section-subtitle,
.home-seo-block,
.footer-seo-copy,
.collection-bottom-seo {
  display: none !important;
}

.wooden-trending-section,
.wooden-explore-section,
.wooden-promo-section,
.wooden-bubble-strip {
  background: #ffffff !important;
}

.product-card,
.wooden-cat-card,
.wooden-promo-card {
  border-radius: 8px !important;
  border-color: var(--sn-line) !important;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.05) !important;
}

.pdp-purchase-panel {
  border: 1px solid #e2e5ea !important;
  border-radius: 8px !important;
  padding: 18px !important;
  background: #ffffff !important;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.08) !important;
}

.pdp-variants-container {
  gap: 16px !important;
  padding-top: 4px;
}

.fastener-variant-group {
  border: 0 !important;
  border-top: 1px solid #eef0f3 !important;
  border-radius: 0 !important;
  padding: 14px 0 0 !important;
  background: transparent !important;
}

.fastener-size-pill,
.fastener-finish-pill {
  min-height: 38px !important;
  border-radius: 8px !important;
  border: 1px solid #d6dae1 !important;
  background: #fff !important;
  color: #111 !important;
  font-weight: 700 !important;
}

.fastener-size-pill.is-active,
.fastener-finish-pill.is-selected {
  border-color: #111 !important;
  background: #111 !important;
  color: #fff !important;
  box-shadow: 0 8px 18px rgba(17, 17, 17, 0.16);
}

.pdp-qty-add-row {
  display: grid !important;
  grid-template-columns: 120px minmax(0, 1fr) 46px !important;
  gap: 10px !important;
  align-items: stretch !important;
}

.fastener-qty-stepper {
  display: grid !important;
  grid-template-columns: 36px 1fr 36px !important;
  min-height: 48px !important;
  overflow: hidden;
  border: 1px solid #d3d7df !important;
  border-radius: 8px !important;
  background: #fff !important;
}

.fastener-qty-stepper button,
.fastener-qty-stepper span {
  display: grid !important;
  min-width: 0;
  place-items: center !important;
  border: 0 !important;
  background: #fff !important;
  color: #111 !important;
}

.fastener-qty-stepper button {
  cursor: pointer;
}

.fastener-qty-stepper button:disabled {
  color: #b8bec8 !important;
  cursor: not-allowed;
}

.fastener-qty-stepper .stepper-val {
  border-inline: 1px solid #eef0f3 !important;
  font-size: 14px !important;
  font-weight: 800 !important;
}

.add-cart-button,
.pdp-buy-now-btn,
.pdp-bulk-rfq-btn {
  min-height: 48px !important;
  border-radius: 8px !important;
  font-weight: 800 !important;
  text-transform: uppercase;
}

.add-cart-button {
  background: #111 !important;
  color: #fff !important;
}

.pdp-buy-now-btn {
  width: 100% !important;
  background: var(--sn-accent) !important;
  border-color: var(--sn-accent) !important;
  color: #fff !important;
  box-shadow: 0 14px 28px rgba(185, 28, 28, 0.18);
}

.pdp-wishlist-btn {
  width: 46px !important;
  height: 48px !important;
  border-radius: 8px !important;
}

.pdp-section {
  border: 1px solid #e5e7eb !important;
  border-radius: 8px !important;
  padding: clamp(18px, 2.4vw, 30px) !important;
  background: #fff !important;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
}

.pdp-section-header h2 {
  font-size: clamp(20px, 2vw, 28px) !important;
}

.pdp-responsive-table-content {
  border-radius: 8px !important;
  overflow: hidden;
}

.site-footer.white-theme-footer {
  margin-top: 48px;
  padding: 54px 0 26px !important;
  background: #0b0d10 !important;
  color: #fff !important;
}

.footer-intro-bar {
  display: grid !important;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr) !important;
  gap: 28px !important;
  align-items: end !important;
  padding-bottom: 30px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
}

.footer-intro-bar h2 {
  max-width: 760px;
  font-size: clamp(26px, 3.1vw, 42px) !important;
  line-height: 1.12 !important;
}

.white-theme-footer .footer-grid {
  display: grid !important;
  grid-template-columns: minmax(260px, 1.25fr) repeat(3, minmax(160px, 1fr)) !important;
  gap: 34px !important;
  padding: 34px 0 !important;
}

.footer-column h4 {
  font-size: 12px !important;
  font-weight: 900 !important;
  text-transform: uppercase;
}

.footer-column a,
.footer-column span,
.footer-brand-column p {
  font-size: 13px !important;
  line-height: 1.65 !important;
}

.footer-bottom-bar {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 18px !important;
  padding-top: 20px !important;
}

@media (max-width: 980px) {
  .wooden-why-us-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .white-theme-footer .footer-grid,
  .footer-intro-bar {
    grid-template-columns: 1fr 1fr !important;
  }
}

@media (max-width: 760px) {
  .site-header {
    position: sticky !important;
    top: 0 !important;
    z-index: 1200 !important;
  }

  .container,
  .site-header .container,
  .site-footer .container,
  .hero-controls-inner {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  .site-header .nav-row {
    grid-template-columns: auto 1fr auto !important;
    gap: 8px !important;
    min-height: 62px !important;
  }

  .brand {
    align-self: center !important;
    align-items: center !important;
    min-height: 62px !important;
    width: auto !important;
    min-width: 0 !important;
    justify-self: center;
  }

  .brand-logo-text {
    font-size: clamp(20px, 6.4vw, 25px) !important;
  }

  .brand-logo-sub {
    font-size: 10px !important;
  }

  .nav-actions {
    gap: 4px !important;
  }

  .nav-support-pill,
  .nav-actions .icon-button:not(:last-child) {
    display: none !important;
  }

  .hero-slide-item {
    min-height: clamp(220px, 70vw, 360px) !important;
  }

  .hero-controls-bar {
    bottom: 10px;
  }

  .hero-arrows-group {
    display: none !important;
  }

  .wooden-why-us-grid,
  .white-theme-footer .footer-grid,
  .footer-intro-bar {
    grid-template-columns: 1fr !important;
  }

  .product-grid,
  .collection-grid,
  .collection-grid.columns-2,
  .collection-grid.columns-3,
  .collection-grid.columns-4,
  .home-quick-product-grid,
  .wooden-products-grid,
  .shop-products-grid,
  .myntra-products-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px 8px !important;
    width: 100% !important;
  }

  .wooden-why-card {
    min-height: 112px;
  }

  .pdp-purchase-panel {
    padding: 14px !important;
  }

  .pdp-qty-add-row {
    grid-template-columns: 98px minmax(0, 1fr) 44px !important;
  }

  .fastener-qty-stepper {
    grid-template-columns: 30px 1fr 30px !important;
    min-height: 44px !important;
  }

  .add-cart-button,
  .pdp-buy-now-btn,
  .pdp-bulk-rfq-btn {
    min-height: 44px !important;
    font-size: 11px !important;
  }

  .pdp-wishlist-btn {
    width: 44px !important;
    height: 44px !important;
  }

  .footer-bottom-bar {
    display: grid !important;
  }
}

@media (max-width: 420px) {
  .pdp-qty-add-row {
    grid-template-columns: 92px minmax(0, 1fr) 40px !important;
    gap: 7px !important;
  }

  .add-cart-button span,
  .pdp-buy-now-btn span {
    font-size: 10px !important;
  }
}

/* Phone spacing contract: full width, only 10px left/right breathing room. */
@media (max-width: 767px) {
  .container,
  .site-header .container,
  .site-footer .container,
  .hero-controls-inner,
  .collection-shell,
  .collection-content,
  .myntra-archive,
  .cart-page,
  .account-page-shell,
  .wishlist-content,
  .product-page-shell {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  .collection-page > .container {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  .collection-page .collection-heading,
  .collection-page .collection-toolbar,
  .collection-page .archive-layout,
  .collection-page .industrial-archive,
  .collection-page .collection-main-content {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .collection-page .archive-layout,
  .collection-page .industrial-archive {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }

  .collection-page .desktop-filter-rail {
    display: none !important;
  }

  .collection-page .collection-main-content {
    min-width: 0 !important;
  }

  .product-page-shell > .breadcrumbs,
  .product-page-shell > .product-detail,
  .product-page-shell > .related-products-section {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .product-page-shell .product-detail {
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
  }

  .product-page-shell .product-summary {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .gallery-main,
  .product-gallery .gallery-main {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .category-section-wrapper .section-title,
  .category-track {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  .product-grid,
  .collection-grid,
  .collection-grid.columns-2,
  .collection-grid.columns-3,
  .collection-grid.columns-4,
  .collection-main-content .collection-grid,
  .collection-main-content .collection-grid.columns-2,
  .collection-main-content .collection-grid.columns-3,
  .collection-main-content .collection-grid.columns-4,
  .home-quick-product-grid,
  .wooden-products-grid,
  .shop-products-grid,
  .products-grid,
  .myntra-products-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px 8px !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .product-card {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
  }

  .product-card .product-media-wrapper,
  .product-card .product-media {
    width: 100% !important;
    max-width: 100% !important;
  }

  .product-card .product-media {
    max-height: none !important;
  }

  .product-card .product-info {
    padding: 8px 7px 9px !important;
  }

  .product-card .quick-view {
    display: none !important;
  }
}

/* Professional header/footer refresh inspired by the approved homepage mockup. */
.pro-site-header {
  position: sticky !important;
  top: 0 !important;
  z-index: 2200 !important;
  background: #ffffff !important;
  border-bottom: 1px solid #eceff3 !important;
  box-shadow: none !important;
}

.pro-header-top {
  border-bottom: 1px solid #eef0f3;
  background: #ffffff;
  color: #16181d;
}

.pro-header-top-inner {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.pro-header-contact,
.pro-header-services {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 18px;
}

.pro-header-contact a,
.pro-header-services a,
.pro-currency-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #20242c;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.pro-header-contact svg,
.pro-header-services svg {
  color: #555b66;
}

.pro-header-main.nav-row {
  min-height: 76px !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) !important;
  grid-template-rows: auto !important;
  gap: 12px !important;
}

.pro-site-header .header-utilities {
  grid-column: 1 !important;
  grid-row: 1 !important;
  justify-self: start !important;
}

.pro-site-header .header-utilities button {
  min-height: 40px;
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  border: 0 !important;
  background: transparent !important;
  color: #101114 !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  text-transform: none !important;
}

.pro-site-header .header-utilities button:first-child span {
  display: inline !important;
}

.pro-site-header .header-utilities button:nth-child(2) {
  display: none !important;
}

.pro-site-header .brand {
  grid-column: 2 !important;
  grid-row: 1 !important;
  min-height: 76px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.pro-site-header .screwnet-brand {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 !important;
  text-decoration: none !important;
}

.screwnet-brand-img {
  display: block !important;
  width: auto !important;
  height: 42px !important;
  max-width: 230px !important;
  object-fit: contain !important;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.screwnet-brand:hover .screwnet-brand-img {
  opacity: 0.92;
  transform: scale(1.02);
}

.footer-logo-img {
  height: 40px !important;
  max-width: 220px !important;
  margin-bottom: 12px !important;
}

.drawer-logo-img {
  height: 28px !important;
  max-width: 155px !important;
  margin: 0 auto 6px !important;
}

.pro-site-header .main-nav {
  display: none !important;
}

.pro-site-header .nav-actions {
  grid-column: 3 !important;
  grid-row: 1 !important;
  justify-self: end !important;
  display: flex !important;
  align-items: center;
  gap: 14px !important;
}

.pro-site-header .nav-actions .icon-button,
.pro-site-header .cart-nav-button {
  width: auto !important;
  min-width: 0 !important;
  height: 40px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #101114 !important;
}

.pro-site-header .nav-actions .icon-button::after,
.pro-site-header .cart-nav-button::after {
  margin-left: 6px;
  font-size: 12px;
  font-weight: 600;
}

.pro-search-trigger::after {
  content: "Search";
}

.pro-site-header .nav-actions a[aria-label^="Wishlist"]::after {
  content: "Saved";
}

.pro-site-header .nav-actions a[aria-label="My Account"]::after {
  content: "Account";
}

.pro-site-header .cart-nav-button::after {
  content: "Cart";
}

.pro-site-header .wishlist-nav span {
  top: 0;
  right: -2px;
  background: #d50012;
}

.pro-site-header .nav-support-pill {
  min-height: 40px;
  border-color: #e1e5ea;
  background: #fff !important;
  color: #111 !important;
}

.pro-header-search-row {
  padding-bottom: 12px;
  background: #ffffff;
}

.pro-header-search-inner {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 0;
  max-width: 720px !important;
}

.pro-category-dropdown {
  position: relative;
  min-width: 0;
}

.pro-category-select {
  width: 100%;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid #d7dce3;
  border-right: 0;
  border-radius: 5px 0 0 5px;
  padding: 0 14px;
  background: #ffffff;
  color: #17191f;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.pro-category-select[aria-expanded="true"] {
  border-color: #b9c0ca;
  box-shadow: 0 10px 24px rgba(15, 23, 42, .08);
}

.pro-category-menu {
  position: absolute;
  left: 0;
  top: calc(100% + 8px);
  z-index: 2400;
  width: min(320px, 88vw);
  max-height: 420px;
  display: grid;
  gap: 2px;
  overflow-y: auto;
  border: 1px solid #e2e6ec;
  border-radius: 8px;
  background: #ffffff;
  padding: 8px;
  box-shadow: 0 24px 56px rgba(15, 23, 42, .16);
}

.pro-category-menu a {
  min-height: 36px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  border-radius: 6px;
  padding: 0 10px;
  color: #1f2937;
  font-size: 12px;
  font-weight: 700;
}

.pro-category-menu a.featured {
  grid-template-columns: 16px minmax(0, 1fr);
  background: #f5f7fa;
  color: #111111;
}

.pro-category-menu a:hover {
  background: #111111;
  color: #ffffff;
}

.pro-category-menu small {
  color: #7a828f;
  font-size: 10px;
}

.pro-category-menu a:hover small {
  color: rgba(255,255,255,.72);
}

.pro-header-search-inner .desktop-search-container {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
}

.pro-header-search-inner .desktop-search-form {
  position: relative !important;
  width: 100% !important;
  height: 44px !important;
  min-height: 44px !important;
  display: flex !important;
  align-items: center !important;
  border: 1.5px solid #d7dce3 !important;
  border-radius: 0 6px 6px 0 !important;
  background: #ffffff !important;
  box-shadow: none !important;
  overflow: hidden !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}

.pro-header-search-inner .desktop-search-form:focus-within {
  border-color: #d50012 !important;
  box-shadow: 0 0 0 3px rgba(213, 0, 18, 0.12) !important;
}

.pro-header-search-inner .desktop-search-form .search-icon {
  position: absolute !important;
  left: 14px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 18px !important;
  height: 18px !important;
  color: #64748b !important;
  pointer-events: none !important;
  z-index: 2 !important;
}

.pro-header-search-inner .desktop-search-form input {
  width: 100% !important;
  height: 100% !important;
  padding-left: 44px !important;
  padding-right: 90px !important;
  font-size: 13.5px !important;
  font-weight: 500 !important;
  color: #0f172a !important;
  background: transparent !important;
  border: 0 !important;
  outline: none !important;
}

.pro-header-search-inner .desktop-search-form input::placeholder {
  color: #94a3b8 !important;
}

.pro-header-search-inner .desktop-search-form .search-clear-btn,
.pro-header-search-inner .desktop-search-form .search-loading-spinner {
  position: absolute !important;
  right: 60px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  z-index: 2 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: transparent !important;
  border: 0 !important;
  color: #64748b !important;
  cursor: pointer !important;
  padding: 4px !important;
}

.pro-header-search-inner .desktop-search-form .search-submit-btn {
  position: absolute !important;
  right: 0 !important;
  top: 0 !important;
  bottom: 0 !important;
  width: 54px !important;
  min-width: 54px !important;
  height: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #d50012 !important;
  color: #ffffff !important;
  font-size: 14px !important;
  cursor: pointer !important;
  transition: background 0.15s ease !important;
  z-index: 2 !important;
}

.pro-header-search-inner .desktop-search-form .search-submit-btn:hover {
  background: #b91c1c !important;
}

.pro-header-search-inner .desktop-search-form .search-submit-btn::before {
  content: none !important;
  display: none !important;
}

.pro-announcement-wrap {
  display: none !important;
}

.site-footer.white-theme-footer.pro-site-footer,
footer.site-footer.white-theme-footer.pro-site-footer {
  margin-top: 8px !important;
  padding: 0 0 18px !important;
  background: #ffffff !important;
  color: #15171c !important;
  border: 0 !important;
  box-shadow: none !important;
}

.site-footer.white-theme-footer.pro-site-footer .container {
  width: min(1320px, 90%) !important;
  max-width: 1320px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-shadow: none !important;
}

.pro-site-footer .footer-intro-bar {
  display: grid !important;
  grid-template-columns: minmax(260px, .9fr) minmax(0, 1fr) 220px !important;
  gap: 28px !important;
  align-items: center !important;
  padding: 22px 24px !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 12px !important;
  background: #ffffff !important;
  box-shadow: none !important;
}

.pro-site-footer .footer-intro-bar > div:first-child {
  display: flex;
  align-items: center;
  gap: 18px;
}

.pro-site-footer .footer-intro-bar h2,
.pro-site-footer .footer-intro-bar p {
  margin: 0 !important;
  color: #111111 !important;
}

.pro-site-footer .footer-intro-bar h2 {
  font-size: 20px !important;
  font-weight: 900 !important;
}

.pro-site-footer .footer-intro-bar p {
  margin-top: 4px !important;
  font-size: 13px !important;
}

.footer-bulk-points {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}

.footer-bulk-points span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #20242c;
  font-size: 13px;
  font-weight: 700;
}

.footer-rfq-button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 5px;
  background: #d50012;
  color: #ffffff !important;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  box-shadow: none !important;
}

.pro-site-footer .footer-grid {
  display: grid !important;
  grid-template-columns: minmax(260px, 1.25fr) repeat(4, minmax(130px, 1fr)) !important;
  gap: 28px !important;
  padding: 30px 0 20px !important;
  border: 0 !important;
  border-top: 0;
  border-radius: 0;
  background: transparent !important;
  box-shadow: none !important;
}

.pro-site-footer .footer-brand-column .screwnet-brand {
  display: inline-flex !important;
  width: max-content !important;
  min-width: 0 !important;
  align-items: flex-start !important;
  margin: 0 0 14px !important;
  text-decoration: none !important;
}

.pro-site-footer .footer-brand-column p {
  color: #4b5563 !important;
  font-size: 13px !important;
  line-height: 1.5 !important;
  margin-bottom: 12px !important;
}

.pro-site-footer .footer-column h4 {
  margin: 0 0 10px !important;
  color: #0f172a !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
}

.pro-site-footer .footer-column {
  display: flex !important;
  flex-direction: column !important;
  align-content: start !important;
  gap: 3px !important;
}

.pro-site-footer .footer-column a,
.pro-site-footer .footer-column span,
.footer-column a,
.footer-column span {
  display: inline-block !important;
  padding: 1px 0 !important;
  margin: 0 !important;
  font-size: 13px !important;
  line-height: 1.35 !important;
  color: #475569 !important;
}

.pro-site-footer .footer-column a:hover {
  color: #c40012 !important;
}

.pro-site-footer .footer-social-links .social-pill {
  width: max-content;
  border-color: #22c55e !important;
  background: #ecfdf3 !important;
  color: #15803d !important;
  box-shadow: none !important;
}

.pro-site-footer .footer-bottom-bar {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 18px !important;
  padding: 18px 0 0 !important;
  border-top: 1px solid #e2e8f0 !important;
  color: #667085 !important;
  font-size: 12px !important;
  box-shadow: none !important;
}

.pro-site-footer .developer-credit {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  color: #1f2937;
  font-weight: 900;
}

.pro-site-footer .developer-credit span {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 1px solid #e5e7eb;
  border-radius: 5px;
  padding: 0 9px;
  background: #ffffff;
  color: #111827;
  font-size: 11px;
}

.pro-site-footer .developer-credit img {
  width: auto;
  height: 22px;
  max-width: 74px;
  display: block;
  object-fit: contain;
  border: 1px solid #e5e7eb;
  border-radius: 5px;
  padding: 4px 8px;
  background: #ffffff;
}

@media (max-width: 980px) {
  .pro-header-top-inner,
  .pro-header-contact,
  .pro-header-services {
    gap: 10px;
  }

  .pro-header-services a span {
    display: none;
  }

  .pro-site-footer .footer-intro-bar,
  .pro-site-footer .footer-grid {
    grid-template-columns: 1fr 1fr !important;
  }
}

@media (max-width: 767px) {
  .pro-header-top {
    display: none;
  }

  .pro-header-main.nav-row {
    min-height: 58px !important;
    grid-template-columns: 40px minmax(0, 1fr) auto !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  .pro-site-header .header-utilities {
    width: 40px;
  }

  .pro-site-header .header-utilities button {
    width: 40px !important;
    height: 40px !important;
    justify-content: center;
    padding: 0 !important;
  }

  .pro-site-header .header-utilities .desktop-nav-label,
  .pro-site-header .header-utilities .desktop-search-util-btn,
  .pro-site-header .nav-support-pill,
  .pro-site-header .nav-actions a[aria-label="My Account"],
  .pro-site-header .nav-actions .wishlist-nav:not(.cart-nav-button),
  .pro-site-header .nav-actions a[aria-label^="Wishlist"] {
    display: none !important;
  }

  .pro-site-header .nav-actions .pro-search-trigger,
  .pro-site-header .nav-actions .cart-nav-button {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px !important;
    height: 40px !important;
    color: #111111 !important;
  }

  .pro-search-trigger::after {
    display: none;
  }

  .pro-site-header .brand {
    width: auto !important;
    min-width: 0 !important;
    min-height: 58px !important;
  }

  .screwnet-brand-img {
    height: 34px !important;
    max-width: 185px !important;
  }

  .pro-site-header .nav-actions {
    gap: 0 !important;
  }

  .pro-site-header .cart-nav-button {
    width: 40px !important;
    height: 40px !important;
  }

  .pro-site-header .cart-nav-button::after {
    display: none;
  }

  .pro-header-search-row {
    display: none;
  }

  .pro-site-footer {
    padding-bottom: calc(76px + env(safe-area-inset-bottom)) !important;
  }

  .site-footer.white-theme-footer.pro-site-footer .container {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  .pro-site-footer .footer-intro-bar,
  .pro-site-footer .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  .footer-bulk-points {
    display: grid;
    gap: 10px;
  }

  .footer-rfq-button {
    width: 100%;
  }

  .pro-site-footer .footer-bottom-bar {
    display: grid !important;
    justify-items: start;
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  .pro-site-footer .developer-credit {
    justify-content: flex-start;
    gap: 10px 14px;
  }

  .pro-site-footer .developer-credit img {
    height: 24px;
  }

  /* Mobile Hero Banner: 1:1 square aspect ratio */
  .hero-slide-item,
  .hero-banner-only .hero-slide {
    aspect-ratio: 1 / 1 !important;
    min-height: 0 !important;
    height: auto !important;
    width: 100% !important;
  }
}

/* Homepage USP Strip Section matching user screenshot */
.usp-strip-section {
  padding: 24px 0 !important;
  background: #ffffff !important;
}

.usp-strip-card {
  display: grid !important;
  grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
  align-items: center !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 12px !important;
  background: #ffffff !important;
  box-shadow: none !important;
  overflow: hidden !important;
}

.usp-strip-item {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 12px !important;
  padding: 20px 10px !important;
  border-right: 1px solid #e2e8f0 !important;
  transition: background 0.2s ease !important;
}

.usp-strip-item:last-child {
  border-right: 0 !important;
}

.usp-strip-item:hover {
  background: #f8fafc !important;
}

.usp-icon-wrap {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #1e293b !important;
  flex-shrink: 0 !important;
}

.usp-text-wrap {
  display: flex !important;
  flex-direction: column !important;
  text-align: left !important;
  line-height: 1.25 !important;
}

.usp-line1 {
  font-size: 13.5px !important;
  font-weight: 700 !important;
  color: #1e293b !important;
  letter-spacing: -0.01em !important;
}

.usp-line2 {
  font-size: 13.5px !important;
  font-weight: 600 !important;
  color: #475569 !important;
  letter-spacing: -0.01em !important;
}

@media (max-width: 1024px) {
  .usp-strip-card {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  .usp-strip-item {
    border-right: 1px solid #e2e8f0 !important;
  }

  .usp-strip-item:nth-child(3n) {
    border-right: 0 !important;
  }

  .usp-strip-item:nth-child(1),
  .usp-strip-item:nth-child(2),
  .usp-strip-item:nth-child(3) {
    border-bottom: 1px solid #e2e8f0 !important;
  }
}

@media (max-width: 640px) {
  .usp-strip-card {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .usp-strip-item {
    gap: 10px !important;
    padding: 16px 12px !important;
    border-right: 1px solid #e2e8f0 !important;
    border-bottom: 1px solid #e2e8f0 !important;
  }

  .usp-strip-item:nth-child(2n) {
    border-right: 0 !important;
  }

  .usp-strip-item:nth-child(5),
  .usp-strip-item:nth-child(6) {
    border-bottom: 0 !important;
  }

  .usp-icon-wrap svg {
    width: 26px !important;
    height: 26px !important;
  }

  .usp-line1,
  .usp-line2 {
    font-size: 12px !important;
  }
}

/* Comprehensive Mobile Homepage UI Polishing (< 767px) */
@media (max-width: 767px) {
  /* Section Spacing */
  .section {
    padding-block: 20px !important;
  }

  .container {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 14px !important;
    padding-right: 14px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
  }

  /* 1. Category Bubbles Strip */
  .wooden-bubble-strip {
    padding: 12px 0 16px !important;
    background: #ffffff !important;
    border-bottom: 1px solid #f1f5f9 !important;
  }

  .wooden-bubble-track {
    display: flex !important;
    gap: 14px !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    scrollbar-width: none !important;
    padding: 4px 10px 8px !important;
    -webkit-overflow-scrolling: touch !important;
  }

  .wooden-bubble-track::-webkit-scrollbar {
    display: none !important;
  }

  .wooden-bubble-item {
    flex: 0 0 76px !important;
    width: 76px !important;
    text-align: center !important;
    text-decoration: none !important;
    scroll-snap-align: start !important;
  }

  .wooden-bubble-circle {
    width: 68px !important;
    height: 68px !important;
    border-radius: 50% !important;
    border: 1.5px solid #e2e8f0 !important;
    background: #ffffff !important;
    margin: 0 auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05) !important;
  }

  .wooden-bubble-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }

  .wooden-bubble-fallback {
    color: #475569 !important;
  }

  .wooden-bubble-label {
    display: block !important;
    margin-top: 6px !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    color: #1e293b !important;
    text-align: center !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    width: 76px !important;
  }

  /* 2. Section Headers */
  .wooden-section-header {
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
    margin-bottom: 14px !important;
    text-align: left !important;
  }

  .wooden-section-header.center {
    text-align: center !important;
  }

  .wooden-section-tag {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    letter-spacing: 0.08em !important;
    color: #d50012 !important;
    text-transform: uppercase !important;
  }

  .wooden-section-title {
    font-size: 20px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    line-height: 1.25 !important;
    margin: 0 !important;
  }

  .wooden-section-subtitle {
    display: block !important;
    font-size: 12px !important;
    color: #64748b !important;
    line-height: 1.45 !important;
    margin-top: 2px !important;
  }

  .wooden-view-all-btn {
    font-size: 12px !important;
    font-weight: 700 !important;
    color: #d50012 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    margin-top: 4px !important;
    text-decoration: none !important;
  }

  /* 3. Trending Products & Tabs */
  .wooden-tabs-nav {
    display: flex !important;
    gap: 8px !important;
    overflow-x: auto !important;
    scrollbar-width: none !important;
    padding-bottom: 6px !important;
    margin-bottom: 14px !important;
    flex-wrap: nowrap !important;
    -webkit-overflow-scrolling: touch !important;
  }

  .wooden-tabs-nav::-webkit-scrollbar {
    display: none !important;
  }

  .wooden-tab-pill {
    white-space: nowrap !important;
    flex: 0 0 auto !important;
    padding: 7px 16px !important;
    border-radius: 999px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    border: 1px solid #e2e8f0 !important;
    background: #ffffff !important;
    color: #475569 !important;
    cursor: pointer !important;
  }

  .wooden-tab-pill.is-active {
    background: #0f172a !important;
    color: #ffffff !important;
    border-color: #0f172a !important;
  }

  .wooden-products-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }

  /* 4. Explore Category Grid */
  .wooden-category-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }

  .wooden-cat-card {
    border-radius: 10px !important;
    overflow: hidden !important;
    border: 1px solid #e2e8f0 !important;
    background: #ffffff !important;
    text-decoration: none !important;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04) !important;
  }

  .wooden-cat-img-box {
    height: 120px !important;
    position: relative !important;
    overflow: hidden !important;
    background: #f8fafc !important;
  }

  .wooden-cat-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }

  .wooden-cat-count {
    position: absolute !important;
    top: 8px !important;
    right: 8px !important;
    background: rgba(15, 23, 42, 0.8) !important;
    color: #ffffff !important;
    padding: 2px 7px !important;
    border-radius: 4px !important;
    font-size: 10px !important;
    font-weight: 700 !important;
  }

  .wooden-cat-info {
    padding: 10px !important;
  }

  .wooden-cat-name {
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    margin: 0 0 4px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  .wooden-cat-link {
    display: inline-flex !important;
    align-items: center !important;
    gap: 2px !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    color: #d50012 !important;
  }

  /* 5. Promo Offer Grid */
  .wooden-promo-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .wooden-promo-card {
    padding: 18px !important;
    border-radius: 12px !important;
    border: 1px solid #e2e8f0 !important;
    background: linear-gradient(135deg, #ffffff, #f8fafc) !important;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04) !important;
  }

  .wooden-promo-top {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin-bottom: 8px !important;
  }

  .wooden-promo-badge {
    background: #0f172a !important;
    color: #ffffff !important;
    padding: 3px 8px !important;
    border-radius: 4px !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    letter-spacing: 0.05em !important;
  }

  .wooden-promo-highlight {
    font-size: 11px !important;
    font-weight: 700 !important;
    color: #d50012 !important;
  }

  .wooden-promo-title {
    font-size: 16px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    margin: 0 0 4px !important;
  }

  .wooden-promo-desc {
    font-size: 12px !important;
    color: #64748b !important;
    line-height: 1.45 !important;
    margin: 0 0 12px !important;
  }

  .wooden-promo-cta {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    color: #d50012 !important;
    text-decoration: none !important;
  }

  /* 6. Customer Stories Section */
  .wooden-reviews-grid {
    display: flex !important;
    gap: 12px !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    scrollbar-width: none !important;
    padding: 4px 0 8px !important;
    -webkit-overflow-scrolling: touch !important;
  }

  .wooden-reviews-grid::-webkit-scrollbar {
    display: none !important;
  }

  .wooden-review-card {
    flex: 0 0 85vw !important;
    max-width: 320px !important;
    scroll-snap-align: start !important;
    border-radius: 12px !important;
    padding: 16px !important;
    border: 1px solid #e2e8f0 !important;
    background: #ffffff !important;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04) !important;
  }

  .wooden-review-stars {
    display: flex !important;
    gap: 3px !important;
    margin-bottom: 8px !important;
    color: #000000 !important;
  }

  .wooden-review-quote {
    font-size: 12.5px !important;
    color: #334155 !important;
    line-height: 1.5 !important;
    margin: 0 0 14px !important;
  }

  .wooden-review-footer {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    border-top: 1px solid #f1f5f9 !important;
    padding-top: 10px !important;
  }

  .wooden-review-author-box {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
  }

  .wooden-review-avatar {
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    background: #0f172a !important;
    color: #ffffff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 13px !important;
    font-weight: 700 !important;
  }

  .wooden-review-author {
    display: block !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
  }

  .wooden-review-role {
    display: block !important;
    font-size: 10.5px !important;
    color: #64748b !important;
  }

  .wooden-review-verified {
    display: inline-flex !important;
    align-items: center !important;
    gap: 3px !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    color: #000000 !important;
  }
}
