/* hp-ui v4 – Hoshen Pirsum UI polish (2026-11-20)
   Type scale: 13 / 14 / 16 / 18 / 22 / 28 / 36 px
   Brand action orange (accessible): #BC5715 (4.65:1 with white), hover #9E4A12
   WhatsApp text button: #0E7A3E (5.42:1)
   Text greys: #3A3A3A body-strong, #555 secondary (7.46:1), #666 muted (5.74:1)
   Error red: #C00000 (6.48:1)
*/

/* ---------- Colors: action buttons ---------- */
.hp-hero-btn,
.hpA-btn.hpA-or,
.hp-sbar-btn,
.hpM-btn,
.hpM-save,
.hpA-card button[type=submit],
.hpA-card .hpA-send {
  background-color: #BC5715 !important;
  border-color: #BC5715 !important;
  color: #fff !important;
}
.hp-hero-btn:hover, .hp-hero-btn:focus,
.hpA-btn.hpA-or:hover,
.hp-sbar-btn:hover,
.hpM-btn:hover,
.hpM-save:hover,
.hpA-card button[type=submit]:hover {
  background-color: #9E4A12 !important;
  border-color: #9E4A12 !important;
}
.hpH-q .hpH-cart:hover { background: #BC5715 !important; }
.hpH-q a:hover { color: #BC5715 !important; }
.hpM-res a { color: #BC5715 !important; }

/* WhatsApp text button (keeps the green family, readable) */
.hpA-btn.hpA-wa { background-color: #0E7A3E !important; border-color: #0E7A3E !important; color: #fff !important; }
.hpA-btn.hpA-wa:hover { background-color: #0A6131 !important; }

/* ---------- Colors: text ---------- */
.product-grid4 .add-to-cart { color: #3A3A3A !important; border-color: #D5D5D5 !important; }
.product-grid4 .add-to-cart:hover { color: #fff !important; background: #0E293E !important; border-color: #0E293E !important; }
.breadcrumbDiv:not(.breadcrumbAbs) .breadcrumb a,
.breadcrumbDiv:not(.breadcrumbAbs) .breadcrumb span,
.breadcrumbDiv:not(.breadcrumbAbs) .breadcrumb li { color: #666 !important; }
.productPageLogoDesc, .AddToFav { color: #666 !important; }
.brandingErr, .productPageLogoErr, .brandingErr span, .productPageLogoErr span { color: #C00000 !important; }

/* ---------- Type scale ---------- */
.breadcrumb a, .breadcrumb span, .breadcrumb li { font-size: 13px !important; }
body .subCategoryList:has(.subCategoryItems) .subCategoryItem .subCategoryItems * { font-size: 13px !important; line-height: 1.35 !important; }
.product-grid4 .price { font-size: 14px !important; }
.product-grid4 .add-to-cart { font-size: 14px !important; }

/* product page */
h1.product-title { font-size: 36px !important; line-height: 1.25 !important; }
.ProductPageHeader, .productSummaryDivHeader { font-size: 22px !important; line-height: 1.3 !important; }
.productTxt p, .productTxt li { font-size: 18px !important; line-height: 1.6 !important; color: #4A4A4A !important; }
.footerTitle { font-size: 22px !important; }

/* ---------- Touch targets & color swatches ---------- */
.product-grid4 .product-color a.hoverableColor { display: inline-block; padding: 3px; }
.product-grid4 .product-color .Mytooltip { width: 18px !important; height: 18px !important; border-radius: 50% !important; }

@media (max-width: 767px) {
  h1.product-title { font-size: 26px !important; }
  .ProductPageHeader, .productSummaryDivHeader { font-size: 20px !important; }
  .productTxt p, .productTxt li { font-size: 16px !important; }
  .footerTitle { font-size: 20px !important; }
  .product-grid4 .product-color a.hoverableColor { padding: 4px; }
  .product-grid4 .product-color .Mytooltip { width: 20px !important; height: 20px !important; }
  /* iOS: no auto-zoom on focus */
  input[type=text], input[type=email], input[type=tel], input[type=search], input[type=number], input[type=password], select, textarea { font-size: 16px !important; }
  /* header phone circle */
  .navbar a[href^="tel"] { min-width: 44px; min-height: 44px; display: inline-flex !important; align-items: center; justify-content: center; }
}

/* ---------- v2: remaining off-scale sizes ---------- */
.dropdown_item-1A { font-size: 14px !important; }
.quantityTable td { font-size: 16px !important; }
.product-code { font-size: 16px !important; color: #666 !important; }
.productSummaryFeature, .productSummaryPrice { font-size: 16px !important; }
.subtotalName, .subtotalPriceSpan { font-size: 18px !important; }
.footerSocialTitle { font-size: 22px !important; }
.hpA-pop b { font-size: 16px !important; }
a.open-popup-link { font-size: 14px !important; }
@media (max-width: 767px) { .footerSocialTitle { font-size: 20px !important; } }

/* ---------- v4: home page ---------- */
.stepsHomeItemDesc p { font-size: 16px !important; color: #555 !important; line-height: 1.6 !important; }
.homePageMainContentDiv p, .homePageMainContentDiv li { font-size: 16px !important; line-height: 1.6 !important; }
.box-content h3.title { font-size: 28px !important; }
.homeArticlesItemTitle { font-size: 22px !important; }
@media (max-width: 767px) { .box-content h3.title { font-size: 22px !important; } .homeArticlesItemTitle { font-size: 20px !important; } }

/* ---------- v5 (2026-11-20, second audit round) ---------- */
/* Search page: subcategory titles were 11px */
body .subCategoryList .subCategoryTitle, body .subCategoryList .subCategoryTitle * { font-size: 13px !important; }

@media (max-width: 767px) {
  /* Compact (scrolled) header: logo was cut off on the left at 375px */
  .mainNavbarBottomLogo { min-width: 0 !important; padding-left: 8px !important; padding-right: 8px !important; }
  .mainNavbarBottomLogoA img { max-width: 108px !important; height: auto !important; }
  .mainNavbarBottomLogoAIdf img { max-width: 92px !important; height: auto !important; }

  /* Category / quote hero: title hidden under header, CTA covering breadcrumbs */
  .parallax-section.parallax-category { height: auto !important; min-height: 0 !important; padding: 40px 12px 12px !important; }
  .parallax-category .mainParallaxTitles { position: relative !important; top: auto !important; left: auto !important; right: auto !important; transform: none !important; height: auto !important; width: auto !important; }
  .parallax-category .breadcrumbDiv.breadcrumbAbs { position: relative !important; bottom: auto !important; margin-top: 10px !important; }

  /* Quick-quote form: .row outside a container pushed the page 15px sideways */
  form.not-checkbox > .row { margin-left: 0 !important; margin-right: 0 !important; }
  form.not-checkbox button[type=submit] { min-height: 44px !important; min-width: 120px !important; font-size: 16px !important; }

  /* Mobile menu: tap targets */
  #myNav .closebtn { min-width: 44px !important; min-height: 44px !important; display: inline-flex !important; align-items: center; justify-content: center; }
  #myNav .Rama1A { display: block !important; min-height: 44px !important; line-height: 44px !important; padding-top: 0 !important; padding-bottom: 0 !important; }
  #myNav .iconMenuArrowBTN { top: 3px !important; min-height: 44px !important; min-width: 44px !important; display: inline-flex !important; align-items: center; justify-content: center; }
  #myNav .Rama2LI { padding-top: 0 !important; padding-bottom: 0 !important; }
  #myNav .Rama2A { display: block !important; min-height: 40px !important; line-height: 40px !important; padding-top: 0 !important; padding-bottom: 0 !important; }

  /* Product page: color swatches, branding checkboxes, quantity slider, wishlist */
  .swatches.Color .colorIdLi { display: inline-flex !important; align-items: center; justify-content: center; min-width: 40px !important; min-height: 40px !important; margin: 2px !important; padding: 0 !important; }
  .swatches.Color .colorIdLi > a.Mytooltip { width: 26px !important; height: 26px !important; border-radius: 50% !important; }
  .swatches.Color .colorIdLi > a.Mytooltip img { width: 100% !important; height: 100% !important; }
  .productBrandingLi input[type=checkbox] { width: 20px !important; height: 20px !important; vertical-align: middle; }
  #quantitySlider { height: 28px !important; }
  .add-wishlist { min-width: 44px !important; min-height: 44px !important; }
  .product-grid4 .add-to-cart { min-height: 44px !important; }

  /* Home: category link lists in boxes were 12px */
  .box-content .post, .box-content .post a { font-size: 14px !important; }
}

/* ---------- v6 (2026-11-20) ---------- */
@media (max-width: 767px) {
  /* Accessibility menu button and hero quote button: 44px tap targets */
  .accessibileMenu button.open { min-width: 44px !important; min-height: 44px !important; }
  .hp-hero-btn { display: inline-flex !important; align-items: center; justify-content: center; min-height: 44px !important; }
}
