/* ==========================================================================
   Home of H: light UI refresh (feat/ui, 2026-11-17)
   Loaded LAST in header.php / header2.php. Remove that one <link> to revert.
   Brand kept: black and white, Barlow Semi Condensed, uppercase spaced menu.
   Sections:
     0. Tokens          4. Footer
     1. Global          5. Auth pages (login, register, forgot, reset)
     2. Header          6. Images, placeholder, cards, homepage boxes
     3. Mobile header   7. Responsive fixes (tables, tap targets, overflow)
                        8. Page banners (title + breadcrumb on every inner page)
                        9. UI round 2 (cart message, search overlay close, no results)
   ========================================================================== */

/* 0. Tokens */
:root {
  --hoh-ink: #111;
  --hoh-text: #333;
  --hoh-muted: #6f6f6f;
  --hoh-line: #e5e5e5;
  --hoh-soft: #f6f5f3;
  --hoh-error: #b3261e;
  --hoh-error-bg: #fdf1f0;
  --hoh-ok: #1e6b3a;
  --hoh-ok-bg: #eef7f1;
  --hoh-radius: 4px;
  --hoh-header-h: 84px;
}

/* 1. Global ================================================================ */
html { -webkit-text-size-adjust: 100%; }
body { overflow-wrap: break-word; }
img { max-width: 100%; }

/* Everything clickable shows a pointer */
a[href], button, [role="button"], input[type="submit"], input[type="button"], input[type="reset"],
input[type="checkbox"], input[type="radio"], input[type="file"], select, summary,
label[for], label:has(> input[type="checkbox"]), label:has(> input[type="radio"]),
.search-toggle, .close-search, .navbar-toggle, #show-megamenu, .remove-megamenu,
.slick-arrow, .slick-dots li, .owl-prev, .owl-next, .owl-dot, .bx-prev, .bx-next, .bx-pager-link,
.carousel-control, .carousel-indicators li, .nav-tabs > li > a, .nav-tabs a, [data-toggle], [data-bs-toggle],
.popup, .prod-pager-thumb, .product .item .thumb, .color-swatch, .swatch, .tree-menu .toggle,
.item-product-cat-content .item-image, .back-to-top, #back-to-top, .mm-btn, .mm-listview a {
  cursor: pointer;
}
:focus-visible { outline: 2px solid var(--hoh-ink); outline-offset: 2px; }

/* 2. Header (desktop >= 992px) ============================================ */
.site-header.hoh-header { background: #fff; }
.site-header .header-desktop.hoh-desktop { padding: 0; }
.hoh-desktop .hoh-bar {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: var(--hoh-header-h);
  padding-top: 12px;
  padding-bottom: 12px;
}
.hoh-desktop .site-logo { flex: 0 0 auto; margin: 0; float: none; }
.hoh-desktop .site-logo img { display: block; width: 120px; max-width: 120px; height: auto; }
.hoh-desktop .site-navigation { flex: 1 1 auto; min-width: 0; float: none; }
.hoh-desktop #main-navigation .menu {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0 22px;
  margin: 0;
  padding: 0;
}
.hoh-desktop #main-navigation .menu > li { margin: 0; padding: 0; }
.hoh-desktop #main-navigation .menu > li > a {
  display: inline-block;
  padding: 8px 0;
  font-size: 14px;
  letter-spacing: .12em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--hoh-ink);
  position: relative;
}
.hoh-desktop #main-navigation .menu > li > a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 2px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}
.hoh-desktop #main-navigation .menu > li > a:hover::after,
.hoh-desktop #main-navigation .menu > li.current > a::after { transform: scaleX(1); }
.hoh-desktop #main-navigation .menu .hoh-mobile-only { display: none; }

.hoh-search { flex: 0 1 300px; min-width: 180px; display: flex; margin: 0; }
.hoh-search input[type="search"] {
  flex: 1 1 auto;
  min-width: 0;
  height: 44px;
  padding: 0 14px;
  border: 1px solid #cfcfcf;
  border-right: 0;
  border-radius: var(--hoh-radius) 0 0 var(--hoh-radius);
  font-size: 15px;
  color: var(--hoh-ink);
  background: #fff;
  -webkit-appearance: none;
  appearance: none;
}
.hoh-search input[type="search"]:focus { border-color: var(--hoh-ink); outline: none; }
.hoh-search button {
  flex: 0 0 48px;
  height: 44px;
  border: 1px solid var(--hoh-ink);
  border-radius: 0 var(--hoh-radius) var(--hoh-radius) 0;
  background: var(--hoh-ink);
  color: #fff;
  font-size: 18px;
  line-height: 1;
}
.hoh-search button:hover { background: #333; }

.site-header .header-page-link.hoh-actions { display: flex; align-items: center; gap: 4px; flex: 0 0 auto; text-align: left; }
.site-header .header-page-link.hoh-actions > * { margin-left: 0; display: block; }
.site-header .header-page-link.hoh-actions .login-header > a.hoh-action {
  padding: 0 10px; text-transform: none; letter-spacing: 0; font-size: 15px;
}
.site-header .header-page-link.hoh-actions .login-header > a.hoh-action::after { content: none; }
.site-header .header-page-link.hoh-actions .login-header .icon-user { top: 0; font-size: 20px; }
.hoh-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 10px;
  border-radius: var(--hoh-radius);
  color: var(--hoh-ink);
  font-size: 15px;
  white-space: nowrap;
  transition: background-color .15s ease;
}
.hoh-action:hover, .hoh-action:focus { background: var(--hoh-soft); color: var(--hoh-ink); text-decoration: none; }
.hoh-action i { font-size: 20px; line-height: 1; }
.hoh-action .hoh-icon { position: relative; display: inline-flex; margin-right: 6px; }
.hoh-badge {
  position: absolute;
  top: -7px; right: -10px;
  min-width: 18px; height: 18px;
  padding: 0 5px;
  border-radius: 9px;
  background: var(--hoh-ink);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  line-height: 18px;
  text-align: center;
}
.hoh-action .hoh-total { color: var(--hoh-muted); }

/* Sticky header (desktop only; mobile keeps its own compact bar) */
@media (min-width: 992px) {
  /* header height when stuck (68px) plus a gap; used by the catalog's sticky category sidebar */
  :root { --hoh-sticky-top: 92px; }
  .site-header.hoh-header { position: -webkit-sticky; position: sticky; top: 0; z-index: 9990; }
  .site-header.hoh-header.is-stuck { box-shadow: 0 2px 14px rgba(0,0,0,.08); }
  .site-header.hoh-header.is-stuck .hoh-bar { min-height: 68px; padding-top: 8px; padding-bottom: 8px; }
}
@media (min-width: 992px) and (max-width: 1599px) {
  .hoh-action .hoh-total { display: none; }
}
@media (min-width: 992px) and (max-width: 1439px) {
  .hoh-desktop .hoh-bar { gap: 20px; }
  .hoh-desktop #main-navigation .menu { gap: 0 16px; }
  .hoh-desktop #main-navigation .menu > li > a { font-size: 13px; letter-spacing: .08em; }
  .hoh-search { flex-basis: 240px; min-width: 150px; }
  .hoh-action .hoh-label { display: none; }
}
@media (min-width: 992px) and (max-width: 1199px) {
  .hoh-desktop .hoh-bar { gap: 14px; }
  .hoh-desktop .site-logo img { width: 100px; max-width: 100px; }
  .hoh-desktop #main-navigation .menu { gap: 0 12px; }
  .hoh-desktop #main-navigation .menu > li > a { font-size: 12px; letter-spacing: .06em; }
  .hoh-search { flex-basis: 190px; min-width: 120px; }
  .hoh-action .hoh-total { display: none; }
}

/* 3. Mobile header (< 992px) ============================================== */
.site-header .header-mobile.hoh-mobile { padding: 8px 0; border-bottom: 1px solid var(--hoh-line); background: #fff; }
.hoh-mobile .hoh-mbar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 8px;
}
.hoh-mobile .navbar-toggle,
.hoh-mobile .hoh-micon {
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 0; background: transparent; padding: 0; margin: 0;
  color: var(--hoh-ink);
  font-size: 20px;
  border-radius: var(--hoh-radius);
}
.hoh-mobile .navbar-toggle:focus, .hoh-mobile .hoh-micon:focus { background: var(--hoh-soft); }
.hoh-mobile .site-logo { margin: 0; text-align: center; }
.hoh-mobile .site-logo img { width: 112px; max-width: 112px; height: auto; display: inline-block; }
.hoh-mobile .hoh-mright { display: flex; justify-content: flex-end; gap: 2px; }
.hoh-mobile .hoh-micon .hoh-badge { top: 4px; right: 2px; }
.hoh-mobile .hoh-micon { position: relative; }

/* Bottom bar: cart, search, account, each a full tap target */
.site-header .header-mobile .header-mobile-fixed.hoh-mfixed {
  z-index: 9980;
  padding: 0 0 env(safe-area-inset-bottom, 0);
  border-top: 1px solid var(--hoh-line);
  box-shadow: 0 -2px 12px rgba(0,0,0,.06);
}
.hoh-mfixed > div { flex: 1 1 0; }
.hoh-mfixed a, .hoh-mfixed .search-toggle {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px;
  min-height: 56px;
  width: 100%;
  color: var(--hoh-ink);
  font-size: 12px;
  letter-spacing: .04em;
}
.site-header .header-mobile .header-mobile-fixed.hoh-mfixed i { font-size: 20px; }
@media (max-width: 991px) {
  body { padding-bottom: 60px; }
  .back-to-top, #back-to-top { bottom: 72px !important; }
}

/* Mobile drawer (mmenu clone of #main-navigation) */
.site-mobile-navigation .remove-megamenu {
  display: flex !important; align-items: center; gap: 8px;
  min-height: 48px; padding: 0 16px !important;
  font-size: 14px; letter-spacing: .08em; text-transform: uppercase;
  border-bottom: 1px solid var(--hoh-line);
}
.site-mobile-navigation .mm-listview > li > a,
.site-mobile-navigation .mm-listview > li > span {
  min-height: 48px;
  display: flex; align-items: center;
  font-size: 15px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--hoh-ink) !important;
}
.site-mobile-navigation .hoh-mobile-only > a { text-transform: none !important; letter-spacing: 0 !important; color: var(--hoh-muted) !important; }
.site-mobile-navigation .hoh-mobile-only.hoh-first { border-top: 1px solid var(--hoh-line); }

/* Search overlay input (opened from the mobile bar) */
.search-overlay .wrapper-search .input-search { font-size: 16px; }

/* 4. Footer =============================================================== */
.site-footer.hoh-footer { border-top: 1px solid var(--hoh-line); background: #fff; }
.hoh-footer .footer { padding-top: 48px; padding-bottom: 24px; }
.hoh-footer .footer .section-padding, .hoh-footer .footer-bottom .section-padding { padding-top: 0; padding-bottom: 0; }
.hoh-footer .block-widget-wrap > .row { row-gap: 28px; }
.hoh-footer .block, .hoh-footer .block-content { margin-bottom: 0 !important; }
.hoh-footer .block-title {
  margin: 0 0 18px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--hoh-ink);
}
.hoh-footer .block-content ul { list-style: none; margin: 0; padding: 0; }
.hoh-footer .block-content li { margin: 0 0 4px; }
.hoh-footer .block-content li a,
.hoh-footer .block-content li span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 32px;
  color: var(--hoh-muted);
  font-size: 15px;
  transition: color .15s ease;
}
.hoh-footer .block-content li a:hover,
.hoh-footer .block-content li a:focus { color: var(--hoh-ink); text-decoration: underline; text-underline-offset: 3px; }
.hoh-footer .block-content li > span { align-items: flex-start; line-height: 1.6; padding-top: 6px; }
.hoh-footer .block-content li > span > i { margin-top: 4px; }
.hoh-footer .block-content li i { width: 16px; text-align: center; color: var(--hoh-ink); font-size: 15px; }
.hoh-footer .hoh-social { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.hoh-footer .hoh-social a {
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--hoh-line);
  border-radius: 50%;
  color: var(--hoh-ink);
  font-size: 16px;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.hoh-footer .hoh-social a:hover, .hoh-footer .hoh-social a:focus { background: var(--hoh-ink); border-color: var(--hoh-ink); color: #fff; }
.hoh-footer .footer-bottom { background: var(--hoh-ink); padding: 18px 0; }
.hoh-footer .footer-bottom .hoh-bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px;
}
.hoh-footer .footer-bottom p, .hoh-footer .footer-bottom a { margin: 0; color: #bdbdbd; font-size: 14px; }
.hoh-footer .footer-bottom a:hover { color: #fff; }
.hoh-footer .footer-bottom .hoh-bottom-links { display: flex; flex-wrap: wrap; gap: 4px 20px; margin: 0; padding: 0; list-style: none; }
.hoh-footer .footer-bottom .hoh-bottom-links a { display: inline-block; padding: 6px 0; }
@media (max-width: 767px) {
  .hoh-footer .footer { padding-top: 40px; padding-bottom: 16px; }
  .hoh-footer .block-content li a, .hoh-footer .block-content li span { min-height: 44px; }
  .hoh-footer .footer-bottom .hoh-bottom { justify-content: center; text-align: center; }
}

/* 5. Auth pages =========================================================== */
.site-main .page-title:has(+ .hoh-auth), .site-main .page-title:has(+ #content > .hoh-auth) { margin-bottom: 0; }
.hoh-auth { padding: 56px 16px 72px; background: var(--hoh-soft); }
.hoh-auth-card {
  max-width: 460px;
  margin: 0 auto;
  padding: 36px 36px 32px;
  background: #fff;
  border: 1px solid var(--hoh-line);
  border-radius: var(--hoh-radius);
  box-shadow: 0 6px 24px rgba(0,0,0,.05);
}
.hoh-auth-card.is-wide { max-width: 760px; }
.hoh-auth-card h2 {
  margin: 0 0 6px;
  font-size: 28px;
  line-height: 1.2;
  color: var(--hoh-ink);
}
.hoh-auth-card .hoh-auth-sub { margin: 0 0 24px; color: var(--hoh-muted); font-size: 15px; }
.hoh-field { margin-bottom: 18px; }
.hoh-field label {
  display: block;
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--hoh-ink);
  letter-spacing: .02em;
}
.hoh-field label .req { color: var(--hoh-error); margin-left: 2px; }
.hoh-field input[type="text"], .hoh-field input[type="email"], .hoh-field input[type="password"],
.hoh-field input[type="tel"], .hoh-field select, .hoh-field textarea {
  display: block;
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border: 1px solid #cfcfcf;
  border-radius: var(--hoh-radius);
  background: #fff;
  color: var(--hoh-ink);
  font-size: 16px;
  box-shadow: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.hoh-field textarea { height: 96px; padding: 12px 14px; resize: vertical; }
.hoh-field input:focus, .hoh-field select:focus, .hoh-field textarea:focus {
  border-color: var(--hoh-ink);
  box-shadow: 0 0 0 3px rgba(0,0,0,.08);
  outline: none;
}
.hoh-field .select2-container { width: 100% !important; }
.hoh-field .select2-container .select2-selection--single { height: 48px; border-color: #cfcfcf; border-radius: var(--hoh-radius); }
.hoh-field .select2-container .select2-selection--single .select2-selection__rendered { line-height: 46px; padding-left: 14px; font-size: 16px; }
.hoh-field .select2-container .select2-selection--single .select2-selection__arrow { height: 46px; }
.hoh-pass { position: relative; }
.hoh-pass input { padding-right: 76px !important; }
.hoh-pass .hoh-toggle-pass {
  position: absolute;
  top: 2px; right: 2px; bottom: 2px;
  min-width: 64px;
  padding: 0 12px;
  border: 0;
  border-radius: var(--hoh-radius);
  background: transparent;
  color: var(--hoh-ink);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.hoh-pass .hoh-toggle-pass:hover, .hoh-pass .hoh-toggle-pass:focus { background: var(--hoh-soft); }
.hoh-row-links { display: flex; justify-content: flex-end; margin: -6px 0 18px; }
.hoh-row-links a, .hoh-auth-alt a { color: var(--hoh-ink); text-decoration: underline; text-underline-offset: 3px; }
.hoh-row-links a:hover, .hoh-auth-alt a:hover { color: #555; }
.hoh-btn-primary {
  display: block;
  width: 100%;
  min-height: 52px;
  padding: 0 20px;
  border: 1px solid var(--hoh-ink);
  border-radius: var(--hoh-radius);
  background: var(--hoh-ink);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  transition: background-color .15s ease;
}
.hoh-btn-primary:hover, .hoh-btn-primary:focus { background: #333; color: #fff; }
.hoh-auth-alt {
  margin: 22px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--hoh-line);
  text-align: center;
  color: var(--hoh-muted);
  font-size: 15px;
}
.hoh-alert {
  margin: 0 0 20px;
  padding: 12px 14px;
  border-radius: var(--hoh-radius);
  border-left: 4px solid var(--hoh-error);
  background: var(--hoh-error-bg);
  color: var(--hoh-error);
  font-size: 15px;
  line-height: 1.5;
}
.hoh-alert.is-ok { border-left-color: var(--hoh-ok); background: var(--hoh-ok-bg); color: var(--hoh-ok); }
.hoh-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.hoh-grid-2 .hoh-span-2 { grid-column: 1 / -1; }
@media (max-width: 575px) {
  .hoh-auth { padding: 28px 12px 48px; }
  .hoh-auth-card { padding: 26px 18px 22px; }
  .hoh-auth-card h2 { font-size: 24px; }
  .hoh-grid-2 { grid-template-columns: 1fr; }
}

/* 6. Images, placeholder, cards, homepage boxes =========================== */
img.is-placeholder, .is-placeholder { background-color: #f3f2ef; }
.product .item .thumb .photo { background-color: #f3f2ef; }

/* Equal-height product cards (markup untouched) */
.product .product-carousel .owl-stage { display: flex; }
.product .product-carousel .owl-item { display: flex; }
.product .product-carousel .owl-item > .item { display: flex; flex-direction: column; width: 100%; }
.product .product-carousel .owl-item > .item > .text { flex: 1 0 auto; }
.product-cat > .row > .item-product-cat { display: flex; }
.product-cat > .row > .item-product-cat > .inner { display: flex; flex-direction: column; width: 100%; }
.product-cat > .row > .item-product-cat > .inner > .text { flex: 1 0 auto; }
.product .text h3 a { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* Homepage category boxes: same image ratio, same caption height */
.block-product-cats.layout-4 .product-cats-list > .row > [class*="col-"] { display: flex; }
.block-product-cats.layout-4 .item-product-cat-content {
  display: flex; flex-direction: column; width: 100%; height: 100%;
}
.block-product-cats.layout-4 .item-product-cat-content > a { display: block; }
.block-product-cats.layout-4 .item-product-cat-content .item-image {
  position: relative;
  aspect-ratio: 11 / 10;
  overflow: hidden;
  background: #f3f2ef;
}
.block-product-cats.layout-4 .item-product-cat-content .item-image img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.block-product-cats.layout-4 .item-product-cat-content:hover .item-image img { transform: scale(1.03); }
.block-product-cats.layout-4 .item-product-cat-content .product-cat-content-info {
  flex: 1 0 auto;
  display: flex;
  margin-top: 0 !important;
  position: static !important;
  transform: none !important;
}
.block-product-cats.layout-4 .item-product-cat-content .product-cat-content-info .item-title {
  display: flex; align-items: center; justify-content: center;
  width: 100%;
  min-height: 56px;
  margin: 0;
}
.block-product-cats.layout-4 .item-product-cat-content .product-cat-content-info .item-title a {
  display: flex; align-items: center; justify-content: center;
  width: 100%; min-height: 56px; padding: 8px 12px; text-align: center;
}
@media (max-width: 767px) {
  .block-product-cats.layout-4 .product-cats-list > .row > [class*="col-"] { margin-bottom: 20px; }
}

/* 7. Responsive fixes ===================================================== */
.hoh-table-scroll { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.hoh-table-scroll > table { margin-bottom: 0; }
@media (max-width: 767px) {
  .hoh-table-scroll > table { min-width: 560px; }
  input[type="text"], input[type="email"], input[type="password"], input[type="number"], input[type="search"],
  input[type="tel"], select, textarea { font-size: 16px; } /* stops iOS zoom on focus */
  .btn, input[type="submit"], button.button, .button { min-height: 44px; }
  .breadcrumbs a, .customer-sidebar a, .user-sidebar a { display: inline-block; padding: 10px 0; }
  .product .text h3 a { font-size: 15px; }
  iframe { max-width: 100%; }
}
@media (max-width: 767px) {
  .hoh-footer .block-widget-wrap > .row > .col-6 { flex: 0 0 50%; max-width: 50%; width: 50%; }
}

/* Tap targets of at least 44px on phones */
@media (max-width: 767px) {
  .hoh-mobile .site-logo a { display: inline-flex; align-items: center; min-height: 44px; }
  .product .text p a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 18px; }
  .product .text h3 a { padding: 6px 0; }
  .hoh-footer .hoh-social a { width: 44px; height: 44px; }
  .hoh-footer .footer-bottom .hoh-bottom-links a { padding: 12px 4px; }
  .hoh-row-links a, .hoh-auth-alt a, .site-main .page-title .breadcrumbs a, .page-banner .breadcrumbs a, .contact-info a, .page a[href^="mailto:"], .page a[href^="tel:"] {
    display: inline-block; padding: 13px 0;
  }
  .hoh-row-links { margin-top: -14px; margin-bottom: 6px; }
  .nav-tabs > li > a { min-height: 44px; display: flex; align-items: center; }
}

/* ===================================================================   FOOTER FIX (fix/footer, 2026-11-19): centering + readable hover/focus.
   Keep this block last. Selectors start with #site-footer because the theme
   (assets1/css/app.css "10. Footer") styles the footer by ID, e.g.
   `#site-footer ul li a:hover { color: #000 }`, which beat every
   `.hoh-footer ...` rule above and turned the dark-bar links black on #111.
   ========================================================================== */

/* Vertical rhythm: one padding source instead of theme 50px + ours 48px on top. */
#site-footer.hoh-footer { padding-top: 0; padding-bottom: 0; }
#site-footer.hoh-footer .footer { padding-top: 64px; padding-bottom: 56px; }
#site-footer.hoh-footer .footer-bottom { margin-top: 0; border-top: 0; }

/* Light area: muted links (the intended --hoh-muted, 5.0:1 on white), ink + underline on hover/focus. */
#site-footer.hoh-footer .footer ul li { margin-bottom: 4px; }
#site-footer.hoh-footer .footer .block-content li a { color: var(--hoh-muted); }
#site-footer.hoh-footer .footer .block-content li a:hover,
#site-footer.hoh-footer .footer .block-content li a:focus {
  color: var(--hoh-ink); text-decoration: underline; text-underline-offset: 3px;
}
#site-footer.hoh-footer .footer .block-content li a:focus-visible,
#site-footer.hoh-footer .hoh-social a:focus-visible {
  outline: 2px solid var(--hoh-ink); outline-offset: 2px;
}
#site-footer.hoh-footer .hoh-social a:hover,
#site-footer.hoh-footer .hoh-social a:focus { background: var(--hoh-ink); border-color: var(--hoh-ink); color: #fff; }

/* Dark bottom bar (both footer.php and footer2.php): light text, white + underline on hover/focus. */
#site-footer .footer-bottom p,
#site-footer .footer-bottom ul,
#site-footer .footer-bottom ul li { margin: 0; }
#site-footer .footer-bottom p,
#site-footer .footer-bottom a,
#site-footer .footer-bottom ul li a { color: #bdbdbd; line-height: 1.5; }
#site-footer .footer-bottom a:hover,
#site-footer .footer-bottom a:focus,
#site-footer .footer-bottom ul li a:hover,
#site-footer .footer-bottom ul li a:focus {
  color: #fff; text-decoration: underline; text-underline-offset: 3px;
}
#site-footer .footer-bottom a:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

/* Columns: content-sized and spread edge to edge from 768px up, so the
   left and right margins match (equal 25% columns left ~250px empty on the
   right of the short Account column at 1440). */
@media (min-width: 768px) {
  #site-footer.hoh-footer .block-widget-wrap > .row {
    flex-wrap: nowrap; justify-content: space-between; column-gap: 24px;
  }
  /* Bootstrap 3's clearfix pseudo-elements would be flex items at both ends. */
  #site-footer.hoh-footer .block-widget-wrap > .row::before,
  #site-footer.hoh-footer .block-widget-wrap > .row::after { content: none; display: none; }
  #site-footer.hoh-footer .block-widget-wrap > .row > .hoh-fcol {
    flex: 0 1 auto; width: auto; max-width: none;
  }
}
/* Bottom bar shares the columns' content edges (the .block-widget-wrap 7.5px inset). */
#site-footer.hoh-footer .footer-bottom { padding: 20px 0; }
#site-footer.hoh-footer .footer-bottom .hoh-bottom {
  padding: 0 7.5px; align-items: center; justify-content: space-between;
}
#site-footer.hoh-footer .footer-bottom .hoh-bottom-links a { padding: 6px 0; }

/* Phones: Contact full width, Categories | Account side by side, Connect full width. */
@media (max-width: 767px) {
  #site-footer.hoh-footer .footer { padding-top: 44px; padding-bottom: 36px; }
  #site-footer.hoh-footer .block-widget-wrap > .row > .hoh-fcol { flex: 0 0 100%; max-width: 100%; width: 100%; }
  #site-footer.hoh-footer .block-widget-wrap > .row > .hoh-fcol--categories,
  #site-footer.hoh-footer .block-widget-wrap > .row > .hoh-fcol--account { flex: 0 0 50%; max-width: 50%; width: 50%; }
  #site-footer.hoh-footer .hoh-fcol--contact { order: 1; }
  #site-footer.hoh-footer .hoh-fcol--categories { order: 2; }
  #site-footer.hoh-footer .hoh-fcol--account { order: 3; }
  #site-footer.hoh-footer .hoh-fcol--connect { order: 4; }
  #site-footer.hoh-footer .footer-bottom .hoh-bottom { flex-direction: column; justify-content: center; text-align: center; gap: 4px; }
  #site-footer.hoh-footer .footer-bottom .hoh-bottom-links { justify-content: center; }
  #site-footer.hoh-footer .footer-bottom .hoh-bottom-links a { padding: 12px 6px; }
}
/* Up to 991px the theme adds 52px under the footer and body gets 60px for the
   fixed mobile bar, which showed a white band under the dark bar. Drop the
   footer's 52px and paint the body's 60px dark. */
@media (max-width: 991px) {
  #site-footer.hoh-footer { padding-bottom: 0; }
  #site-footer.hoh-footer .footer-bottom { box-shadow: 0 60px 0 var(--hoh-ink); }
}
/* Same side gaps as the homepage: the footer content sits in the same box as the homepage
   `.container` (Bootstrap 4 widths, 15px gutter), so footer text lines up with the page above
   (2026-11-19, owner: "same gap left and right like in homepage"). */
#site-footer.hoh-footer .section-container {
  width: 100%; margin-left: auto; margin-right: auto; padding-left: 0; padding-right: 0; box-sizing: border-box;
}
@media (min-width: 576px)  { #site-footer.hoh-footer .section-container { max-width: 540px; } }
@media (min-width: 768px)  { #site-footer.hoh-footer .section-container { max-width: 720px; padding-left: 7px; padding-right: 7px; } }
@media (min-width: 992px)  { #site-footer.hoh-footer .section-container { max-width: 960px; } }
@media (min-width: 1200px) { #site-footer.hoh-footer .section-container { max-width: 1140px; } }
/* END FOOTER FIX */
/* 8. Page banners ========================================================= */
/* Two markups share one look: the wpbingo block `.site-main .page-title` (login, register,
   forgot, reset, cart, product, category) and the codeastro `.page-banner` printed by
   hoh_page_banner() (about, faq, contact, search, checkout, verify, reset success, customer
   area). Same height, title/breadcrumb position and white text over a dark scrim. */
.site-main .page-title,
.page-banner {
  position: relative;
  isolation: isolate;            /* keeps the ::before scrim behind the text */
  display: flex;
  flex-direction: column;
  justify-content: flex-end;     /* title + breadcrumb sit low, as in the theme */
  align-items: center;
  box-sizing: border-box;
  min-height: 288px;
  padding: 40px 15px 50px;
  overflow: hidden;
  text-align: center;
  background-color: #6b5b4b;
}
.page-banner {
  background-image: url(../../media/site-header.jpg); /* default when no banner upload is set */
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}
.page-banner.is-default { background-position: center top; background-size: auto; } /* same crop as .page-title */
@media (min-width: 1921px) {
  .site-main .page-title, .page-banner.is-default { background-size: cover; } /* the 1920px image would repeat */
}
.site-main .page-title::before,
.page-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(0, 0, 0, .38);
}
.page-banner .overlay { display: none; } /* legacy per-page overlay; the scrim above replaces it */
.site-main .page-title .section-container,
.page-banner .inner { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0; }
.site-main .page-title .content-title-heading { display: block; }
.site-main .page-title .content-title-heading .text-title-heading,
.page-banner h1 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 50px;
  font-weight: 400;
  line-height: 60px;
  text-shadow: 0 1px 12px rgba(0, 0, 0, .35);
  z-index: auto;
}
.site-main .page-title .breadcrumbs,
.page-banner .breadcrumbs {
  margin: 0;
  color: rgba(255, 255, 255, .85);
  font-size: 14px;
  font-weight: 500;
  line-height: 25px;
  text-shadow: 0 1px 6px rgba(0, 0, 0, .4);
}
.site-main .page-title .breadcrumbs a,
.page-banner .breadcrumbs a { color: #fff; position: relative; }
.site-main .page-title .breadcrumbs a:hover,
.site-main .page-title .breadcrumbs a:focus,
.page-banner .breadcrumbs a:hover,
.page-banner .breadcrumbs a:focus { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.page-banner .breadcrumbs .delimiter { margin: 0 10px; }
.site-main .page-title .breadcrumbs .delimiter::before,
.page-banner .breadcrumbs .delimiter::before {
  content: "";
  position: relative;
  top: 2px;
  display: inline-block;
  width: 1px;
  height: 12px;
  background: rgba(255, 255, 255, .7);
  transform: rotate(25deg);
}
/* Banner straight into a `.page` block: `.page` already pads 50px, no extra 70px gap */
.site-main .page-title:has(+ .page) { margin-bottom: 0; }
@media (max-width: 767px) {
  .site-main .page-title,
  .page-banner { min-height: 290px; }
  .site-main .page-title .content-title-heading .text-title-heading,
  .page-banner h1 { font-size: 30px; line-height: 36px; }
}

/* 9. UI round 2 (fix/ui-round2, 2026-11-19) ================================ */

/* Add-to-cart result on product.php (replaces the old alert() popups) */
.hoh-cart-msg {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin: -14px 0 30px;
  padding: 14px 16px;
  border: 1px solid;
  border-radius: var(--hoh-radius);
  font-size: 15px;
  line-height: 1.45;
  scroll-margin-top: max(calc(var(--hoh-header-h) + 24px), 38vh); /* lands mid-screen, price + button stay in view */
}
.hoh-cart-msg:focus { outline: none; }
.hoh-cart-msg.is-success { color: var(--hoh-ok); background: var(--hoh-ok-bg); border-color: #b9dcc5; }
.hoh-cart-msg.is-error { color: var(--hoh-error); background: var(--hoh-error-bg); border-color: #efc3bf; }
.hoh-cart-msg > .fa { font-size: 20px; flex: 0 0 auto; }
.hoh-cart-msg .hoh-cart-msg-text { flex: 1 1 200px; margin: 0; color: var(--hoh-text); }
.hoh-cart-msg .hoh-cart-msg-text strong { color: var(--hoh-ink); font-weight: 600; }
.hoh-cart-msg .hoh-cart-msg-btn {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 18px;
  background: var(--hoh-ink);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  border-radius: 2px;
  white-space: nowrap;
}
.hoh-cart-msg .hoh-cart-msg-btn:hover,
.hoh-cart-msg .hoh-cart-msg-btn:focus { background: #000; color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.hoh-cart-msg .hoh-cart-msg-btn:focus-visible { outline: 2px solid var(--hoh-ink); outline-offset: 2px; }

/* Search with no results: neutral note instead of large red text */
.hoh-no-results { margin: 10px 0 40px; color: var(--hoh-muted); font-size: 16px; line-height: 1.5; }

/* Mobile search overlay: visible close button (the theme's "Cancel" only shows after typing) */
.search-overlay .wrapper-search { padding-top: 72px; }
.search-overlay .hoh-search-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--hoh-ink);
  font-size: 30px;
  line-height: 1;
}
/* the x is drawn with two 2px bars so it reads clearly at any font */
.search-overlay .hoh-search-close > span { display: none; }
.search-overlay .hoh-search-close::before,
.search-overlay .hoh-search-close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 24px;
  height: 2px;
  margin: -1px 0 0 -12px;
  background: currentColor;
  transform: rotate(45deg);
}
.search-overlay .hoh-search-close::after { transform: rotate(-45deg); }
.search-overlay .hoh-search-close:hover { background: var(--hoh-soft); }
.search-overlay .hoh-search-close:focus-visible { outline: 2px solid var(--hoh-ink); outline-offset: 2px; }
@media (max-width: 767px) {
  .search-overlay .wrapper-search { padding-left: 20px; padding-right: 20px; }
}

/* Checkout: which billing / shipping fields are still missing */
.hoh-checkout-missing {
  margin-bottom: 40px;
  padding: 16px 18px;
  border: 1px solid #efc3bf;
  border-radius: var(--hoh-radius);
  background: var(--hoh-error-bg);
  color: var(--hoh-text);
  font-size: 15px;
  line-height: 1.5;
}
.hoh-checkout-missing p { margin: 0 0 8px; }
.hoh-checkout-missing p:last-child { margin: 14px 0 0; }
.hoh-checkout-missing strong { color: var(--hoh-error); }
.hoh-checkout-missing-group { font-weight: 600; color: var(--hoh-ink); }
.hoh-checkout-missing-btn {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 18px;
  background: var(--hoh-ink);
  color: #fff !important;
  font-size: 13px;
  letter-spacing: .06em;
  text-transform: uppercase;
  border-radius: 2px;
}
.hoh-checkout-missing-btn:hover,
.hoh-checkout-missing-btn:focus { background: #000; text-decoration: underline; text-underline-offset: 3px; }

/* Search overlay: become visible at once when opening (the theme fades visibility over .3s, which
   keeps the field unfocusable during the click that opens it); closing keeps the theme fade. */
.search-overlay.search-visible { transition: opacity .3s ease-in-out, visibility 0s; }
