/* =========================================================
   SHARPIDO - Shared header (sh-header.tpl)
   A single sticky row, link sheets and a domain price ledger.
   The navigation becomes a scrolling drawer below 1024px.
   ========================================================= */
header.shh {
    --shh-red: #dc1f26;
    --shh-line: #e8e3e1;
    position: sticky; top: 0; z-index: 1030;
    width: 100%; height: auto; min-height: 0; margin: 0; padding: 0;
    background: #fff; color: #1b1b1f; border: 0; border-bottom: 1px solid var(--shh-line);
    font-family: Poppins, sans-serif; font-size: 14px; line-height: 1.5;
    letter-spacing: normal; text-transform: none; float: none; box-shadow: none;
}
header.shh.shh-scrolled { border-bottom-color: #c9c0bd; box-shadow: 0 2px 8px rgba(27,27,31,.06); }
.shh *, .shh *::before, .shh *::after { box-sizing: border-box; }
.shh :where(div, nav, section, ul, li, p, h2, form, label, a, button, input, span, strong, small, img, svg) {
    margin: 0; padding: 0; float: none; box-shadow: none; letter-spacing: normal; text-transform: none; line-height: inherit;
}
.shh ul { list-style: none; }
.shh li::before, .shh li::after, .shh a::before, .shh a::after, .shh button::before, .shh button::after { content: none; }
.shh a, .shh button { color: inherit; font: inherit; text-decoration: none; }
.shh button { appearance: none; background: none; border: 0; border-radius: 0; cursor: pointer; text-align: left; }
.shh input { font: inherit; color: #1b1b1f; }
.shh a:hover, .shh button:hover { color: #bd1720; text-decoration: none; }
.shh :is(a, button, input):focus-visible { outline: 2px solid #1b1b1f; outline-offset: 3px; }
.shh [hidden] { display: none !important; }
.shh .shh-bar { max-width: 1228px; min-height: 71px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; gap: 24px; }
.shh .shh-brand { display: flex; align-items: center; flex: 0 0 auto; max-width: 190px; min-height: 44px; font-weight: 700; font-size: 16px; }
.shh .shh-brand img { display: block; width: auto; height: 38px; max-width: 100%; object-fit: contain; }
.shh .shh-drawer { display: flex; align-items: center; flex: 1; min-width: 0; gap: 12px; }
.shh .shh-navigation { margin-right: auto; }
.shh .shh-top-list { display: flex; align-items: center; gap: 18px; }
.shh .shh-top-link { display: flex; align-items: center; gap: 6px; min-height: 71px; position: relative; font-weight: 500; white-space: nowrap; border-bottom: 2px solid transparent; padding-top: 2px; }
.shh [aria-current="page"] { border-bottom: 2px solid var(--shh-red); }
.shh .shh-chevron { flex: none; transition: transform .15s ease; }
.shh [aria-expanded="true"] > .shh-chevron { transform: rotate(180deg); }
.shh .shh-offers { gap: 8px; flex-wrap: nowrap; white-space: nowrap; }
.shh .shh-offer-tag { font-size: 10px; line-height: 1.5; padding: 2px 5px; border-radius: 3px; background: #dc1f26; color: #fff; font-weight: 600; }
.shh .shh-actions { display: flex; align-items: center; gap: 10px; flex: none; }
.shh .shh-icon-link { display: flex; align-items: center; justify-content: center; gap: 6px; min-width: 38px; min-height: 44px; position: relative; }
.shh .shh-icon { flex: none; }
.shh .shh-account-name { max-width: 100px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 13px; }
.shh .shh-cart-count { position: absolute; top: 0; right: -4px; min-width: 18px; padding: 1px 4px; border-radius: 10px; background: #dc1f26; color: #fff; font-size: 10px; text-align: center; }
.shh .shh-panel { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--shh-line); box-shadow: 0 18px 28px rgba(27,27,31,.10); max-height: calc(100vh - var(--shh-offerbar-header-bottom, 72px)); max-height: calc(100dvh - var(--shh-offerbar-header-bottom, 72px)); overflow-y: auto; overscroll-behavior: contain; }
.shh .shh-panel-inner { max-width: 1228px; padding: 30px 24px 34px; margin: 0 auto; }
.shh .shh-panel-domain { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 52px; }
.shh .shh-rows { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; }
.shh .shh-panel-domain .shh-rows { grid-template-columns: minmax(0, 1fr); }
.shh .shh-link-row { display: flex; align-items: start; justify-content: space-between; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--shh-line); white-space: normal; }
.shh .shh-link-row[aria-current="page"] { border-bottom: 2px solid var(--shh-red); }
.shh .shh-link-copy { min-width: 0; }
.shh .shh-link-copy strong { display: block; font-size: 15px; font-weight: 600; overflow-wrap: anywhere; }
.shh .shh-link-copy > span { display: block; margin-top: 5px; font-family: 'Open Sans', sans-serif; font-size: 13px; line-height: 1.65; color: #62616a; }
.shh .shh-price { flex: none; font-size: 13px; font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; padding-top: 2px; }
.shh small { font-size: 11px; font-weight: 400; color: #62616a; }
.shh .shh-billing, .shh .shh-domain-note { margin-top: 16px; font: 12px/1.6 'Open Sans', sans-serif; color: #62616a; }
.shh .shh-domain-box { background: #fff6f3; padding: 26px 28px; }
.shh .shh-search label { display: block; font-size: 24px; line-height: 1.3; font-weight: 600; margin-bottom: 16px; }
.shh .shh-search-field { display: flex; gap: 6px; min-width: 0; }
.shh .shh-search input[type="text"] { display: block; flex: 1; min-width: 0; width: 100%; height: 48px; padding: 10px 12px; background: #fff; border: 1px solid #bcb2ae; border-radius: 3px; font-size: 16px; }
.shh .shh-search input::placeholder { color: #62616a; opacity: 1; }
.shh .shh-search button { flex: none; padding: 10px 18px; min-height: 48px; border-radius: 3px; background: #dc1f26; color: #fff; font-weight: 500; }
.shh .shh-search button:hover { background: #bd1720; }
.shh .shh-tlds { margin-top: 22px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; }
.shh .shh-tlds li { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; padding: 11px 0; border-bottom: 1px solid #e8d9d3; font-size: 13px; font-variant-numeric: tabular-nums; }
.shh .shh-tlds strong { font-size: 20px; font-weight: 600; }
.shh .shh-tlds span { white-space: nowrap; }
.shh .shh-text-link, .shh .shh-whatsapp { display: inline-flex; align-items: center; min-height: 44px; margin-top: 8px; color: #bd1720; font-size: 13px; text-decoration: underline; text-underline-offset: 4px; }
.shh .shh-columns { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; }
.shh .shh-column h2 { font-size: 17px; font-weight: 600; padding-bottom: 10px; }
.shh .shh-column .shh-link-row { flex-wrap: wrap; gap: 8px; }
.shh .shh-small-disclosure { position: relative; }
.shh .shh-small-panel { position: absolute; top: 100%; right: 0; width: 210px; max-height: calc(100dvh - var(--shh-offerbar-header-bottom, 72px)); overflow-y: auto; padding: 10px; background: #fff; border: 1px solid var(--shh-line); box-shadow: 0 12px 24px rgba(27,27,31,.10); }
.shh .shh-small-panel a { display: block; min-height: 44px; padding: 11px 12px; font-size: 13px; overflow-wrap: anywhere; }
.shh .shh-small-panel a:hover { background: #fff6f3; }
.shh .shh-currency-heading, .shh .shh-drawer-toggle, .shh .shh-mobile-search { display: none; }
@media (min-width: 1024px) and (max-width: 1199px) {
    .shh .shh-bar { padding: 0 16px; gap: 16px; }
    .shh .shh-top-list { gap: 12px; }
    .shh .shh-drawer { gap: 10px; }
    .shh .shh-top-link { font-size: 12px; }
    .shh .shh-actions { gap: 4px; }
    .shh .shh-account-name { max-width: 65px; }
}
@media (max-width: 1023px) {
    .shh .shh-bar { min-height: 59px; padding: 0 12px; gap: 8px; justify-content: space-between; }
    .shh .shh-brand { min-width: 0; flex: 0 1 auto; max-width: calc(100% - 140px); font-size: 12px; }
    .shh .shh-brand img { height: 36px; width: auto; }
    .shh .shh-actions { gap: 0; }
    .shh .shh-icon-link { min-width: 44px; min-height: 44px; }
    .shh .shh-account-name { display: none; }
    .shh .shh-cart-count { right: 0; }
    .shh .shh-drawer-toggle { display: flex; }
    .shh .shh-drawer-toggle path { transform-origin: 12px 12px; transition: transform .18s ease; }
    .shh .shh-drawer-toggle[aria-expanded="true"] .shh-burger-top { transform: translateY(5px) rotate(45deg); transform-origin: 12px 7px; }
    .shh .shh-drawer-toggle[aria-expanded="true"] .shh-burger-bottom { transform: translateY(-5px) rotate(-45deg); transform-origin: 12px 17px; }
    .shh .shh-drawer { display: none; position: absolute; top: 100%; left: 0; right: 0; height: calc(100vh - var(--shh-offerbar-header-bottom, 60px)); height: calc(100dvh - var(--shh-offerbar-header-bottom, 60px)); overflow-y: auto; overscroll-behavior: contain; padding: 22px 20px max(32px, env(safe-area-inset-bottom)); background: #fff; border-bottom: 1px solid var(--shh-line); }
    .shh.shh-drawer-open .shh-drawer { display: block; }
    .shh .shh-mobile-search { display: block; padding-bottom: 24px; }
    .shh .shh-search label { font-size: 22px; }
    .shh .shh-search button { padding: 10px 13px; }
    .shh .shh-top-list { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
    .shh .shh-top-link { min-height: 52px; width: 100%; justify-content: space-between; border-bottom: 1px solid var(--shh-line); padding: 12px 0; white-space: normal; }
    .shh .shh-top-link[aria-current="page"] { border-bottom: 2px solid var(--shh-red); }
    .shh .shh-offers { max-width: none; justify-content: flex-start; gap: 12px; }
    .shh .shh-panel { position: static; max-height: none; overflow: visible; box-shadow: none; border: 0; }
    .shh .shh-panel-inner { display: block; padding: 0 0 20px; }
    .shh .shh-rows, .shh .shh-columns { display: block; }
    .shh .shh-column { padding-top: 20px; }
    .shh .shh-link-row { min-height: 44px; padding: 16px 0; gap: 8px; flex-wrap: wrap; }
    .shh .shh-link-copy { flex: 1 1 180px; }
    .shh .shh-price { margin-left: auto; text-align: right; }
    .shh .shh-link-copy strong { font-size: 14px; }
    .shh .shh-domain-box { margin-top: 16px; padding: 16px; }
    .shh .shh-desktop-search { display: none; }
    .shh .shh-tlds { margin-top: 0; grid-template-columns: minmax(0, 1fr); }
    .shh .shh-currency-toggle { display: none; }
    .shh .shh-currency .shh-small-panel, .shh .shh-currency .shh-small-panel[hidden] { display: block !important; position: static; width: auto; max-height: none; overflow: visible; padding: 20px 0 0; border: 0; box-shadow: none; }
    .shh .shh-currency-heading { display: block; font-size: 13px; color: #62616a; margin-bottom: 8px; }
    .shh .shh-currency ul { display: flex; flex-wrap: wrap; gap: 8px; }
    .shh .shh-currency a { border: 1px solid var(--shh-line); border-radius: 3px; }
    .shh .shh-account .shh-small-panel { right: -44px; max-height: calc(100dvh - var(--shh-offerbar-header-bottom, 60px)); }
}
@media (prefers-reduced-motion: reduce) {
    .shh *, .shh *::before, .shh *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* Normal-flow campaign strip; the navigation remains sticky at top: 0. */
.shh-offerbar { --sh-focus: #fff; background: #1b1b1f; color: #fff; font: 13px/1.4 'Open Sans', sans-serif; }
.shh-offerbar, .shh-offerbar * { box-sizing: border-box; }
.shh-offerbar[hidden], .shh-offerbar [hidden] { display: none !important; }
.shh-offerbar-inner { max-width: 1228px; min-height: 40px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: center; gap: 16px; }
.shh-offerbar-campaign { color: #dedde2; overflow-wrap: anywhere; }
.shh-offerbar-label { font-weight: 700; white-space: nowrap; }
.shh-offerbar-code, .shh-offerbar-close, .shh-offerbar-link { margin: 0; padding: 0; font: inherit; color: #fff; background: none; border: 0; border-radius: 0; box-shadow: none; text-transform: none; letter-spacing: normal; cursor: pointer; float: none; }
.shh-offerbar-code { min-width: 0; min-height: 28px; padding: 3px 10px; border: 1px dashed #aaa8b1; border-radius: 3px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.shh-offerbar-code-text { display: block; overflow: hidden; text-overflow: ellipsis; }
.shh-offerbar-countdown { color: #dedde2; font-variant-numeric: tabular-nums; white-space: nowrap; }
.shh-offerbar-link { display: inline-flex; align-items: center; min-height: 40px; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.shh-offerbar-close { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 40px; min-height: 40px; }
.shh-offerbar :is(button, a):hover { color: #fff; }
.shh-offerbar :is(button, a):focus-visible { outline: 2px solid var(--sh-focus); outline-offset: 3px; }
.shh-offerbar-status { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 767px) {
    .shh-offerbar-inner { min-height: 52px; padding: 4px 12px; gap: 8px; }
    .shh-offerbar-campaign, .shh-offerbar-countdown, .shh-offerbar-link { display: none; }
    .shh-offerbar-code { min-height: 44px; flex: 0 1 auto; }
    .shh-offerbar-close { min-height: 44px; flex-basis: 44px; }
}

/* The theme sets html, body { height: 100% }. A sticky header can only stick
   within its parent, so with a viewport-tall body it scrolled away after one
   screen. Let the body grow with the page (still at least the viewport). */
html, body { height: auto; }
body { min-height: 100%; }
