/* 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; }
}

/* ---------- v7 (2026-11-22, visitor + 320px check) ---------- */
@media (max-width: 767px) {
  /* Top dark bar: 84px -> 56px, header 157px -> 129px (was 19% of a 812px screen) */
  .mainNavbarTop .mainNavbarTopPersonal, .mainNavbarTop .mainNavbarTopPhone { padding-top: 6px !important; padding-bottom: 6px !important; }
  /* Keep content right under the shorter header */
  .parallax-section.parallax-category { padding-top: 14px !important; }
  .main-container.headerOffsetProduct { margin-top: 145px !important; }
  /* Card heart / cart icons (search page): 40x36 -> 44x44 */
  .product-grid4 .socialProd a { min-width: 44px !important; min-height: 44px !important; display: inline-flex !important; align-items: center; justify-content: center; }
  /* Logo upload field was wider than the screen at 320px */
  input[type=file] { max-width: 100% !important; }
}
@media (max-width: 360px) {
  /* Logo was pushed 36px off-screen at 320px */
  .mainNavbarBottomLogoA img { max-width: 92px !important; }
  .mainNavbarBottomLogoAIdf img { max-width: 66px !important; }
  .mainNavbarBottomLogo { padding-left: 8px !important; padding-right: 4px !important; }
}

/* ---------- v8 (2026-11-22): product page options column - spacing and headings (stage A, approved) ---------- */
form[action="/AddToCart"] .productDivider { margin: 20px 0 !important; border-top: 1px solid #eceff3 !important; background: none !important; height: 0 !important; }
form[action="/AddToCart"] .ProductPageHeader { font-size: 18px !important; font-weight: 700 !important; line-height: 1.3 !important; margin: 0 0 10px !important; color: #16243f !important; }
form[action="/AddToCart"] .ProductPageHeader.m-t-30 { margin-top: 0 !important; }
form[action="/AddToCart"] .color-details { margin-bottom: 0 !important; }
form[action="/AddToCart"] .vatP { font-size: 13px !important; color: #666 !important; margin-top: 4px !important; }
form[action="/AddToCart"] .brandingErr { font-size: 14px !important; color: #555 !important; margin-bottom: 6px !important; }
form[action="/AddToCart"] .productBrandingLi { padding: 6px 0 !important; }
form[action="/AddToCart"] .productPageLogoDesc { font-size: 14px !important; color: #555 !important; margin: 0 !important; }
form[action="/AddToCart"] .productPageLogoErr { font-size: 14px !important; color: #0E7A3E !important; margin: 2px 0 0 !important; }
form[action="/AddToCart"] .productPageLogoErr::before { content: "✓ "; font-weight: 700; }
form[action="/AddToCart"] .productLogoDiv { margin: 10px 0 0 !important; }
form[action="/AddToCart"] input[type=file] { font-size: 14px; color: #555; }
form[action="/AddToCart"] input[type=file]::file-selector-button { font: inherit; font-weight: 700; color: #16243f; background: #f1f3f6; border: 1px solid #d9dde3; border-radius: 8px; padding: 8px 14px; margin-left: 10px; cursor: pointer; }
form[action="/AddToCart"] #quantitySlider { accent-color: #0E293E; }
form[action="/AddToCart"] .slidecontainer p { font-size: 14px !important; color: #555 !important; margin: 4px 0 0 !important; }
form[action="/AddToCart"] .hpM-btn { margin-top: 14px !important; }
/* v9: favorites button matches .hpM-btn (Sagi 22.11) */
a.prodFavA{display:inline-flex!important;align-items:center;justify-content:center;gap:8px;width:auto!important;max-width:100%;margin:8px 0 4px!important;padding:8px 18px!important;border:1.5px solid #bc5715!important;border-radius:22px!important;background:#fff!important;color:#bc5715!important;font-weight:700;font-size:15px;line-height:21px;cursor:pointer;text-decoration:none!important;transition:background .15s}
a.prodFavA:hover,a.prodFavA:focus-visible{background:#fdf1e8!important}
a.prodFavA:focus-visible{outline:2px solid #bc5715;outline-offset:2px}
a.prodFavA #chest{display:inline-flex;align-items:center;width:auto!important;line-height:1}
a.prodFavA #chest .side{display:none}
a.prodFavA #chest .heartCenterDiv{width:auto!important}
a.prodFavA #chest i{color:#bc5715!important;font-size:16px}
a.prodFavA .AddToFav{color:#bc5715!important;font-weight:700;font-size:15px;line-height:21px}
