/* Second design pass: navigation, image handling, keyboard access, and spacing. */
.hp-skip-link {
  position: fixed;
  z-index: 1000;
  top: 8px;
  left: 12px;
  transform: translateY(-150%);
  padding: 10px 16px;
  background: #fff;
  border: 2px solid var(--blue);
  border-radius: 10px;
  font-weight: 700;
}
.hp-skip-link:focus { transform: translateY(0); }
:where(a, button, input, textarea, select, summary):focus-visible {
  outline: 3px solid #5967ed;
  outline-offset: 3px;
}
.hp-nav { position: relative; }
.hp-links a { padding: 12px 0; }
.hp-mobile-menu { display: none; }
.hp-hero { background: radial-gradient(circle at 76% 41%, #dfe6fd 0, transparent 39%), linear-gradient(135deg, #fafbfc, #edf0f4); }
.hp-hero h1 { text-wrap: balance; }
.hp-hero-visual { isolation: isolate; }
.hp-hero-visual::before {
  content: '';
  position: absolute;
  z-index: -1;
  width: 72%;
  aspect-ratio: 1;
  border: 1px solid rgba(65, 78, 135, .13);
  border-radius: 50%;
  box-shadow: 0 0 0 32px rgba(255,255,255,.23), 0 0 0 70px rgba(255,255,255,.14);
}
.hp-product-media { display: flex; align-items: center; justify-content: center; overflow: hidden; background: #fff; }
.hp-product-media img { display: block; width: 100%; height: 100%; min-width: 0; min-height: 0; object-fit: contain; filter: drop-shadow(0 10px 16px rgba(15, 21, 37, .12)); }
.hp-product-copy { min-height: 194px; display: flex; flex-direction: column; }
.hp-product-copy h3 { font-weight: 700; }
.hp-product-copy .hp-text-link { margin-top: auto; width: fit-content; }
.hp-product:hover { transform: translateY(-3px); }
.hp-section h2, .hp-page-title { text-wrap: balance; }
.hp-section h2 { font-weight: 650; }
.hp-page-title { font-weight: 700; }
.hp-cta h2 { color: #fff; }
.hp-capabilities { gap: 0; border-top: 1px solid #dfe2e8; border-bottom: 1px solid #dfe2e8; }
.hp-capability { min-height: 180px; padding: 26px 28px 28px; border: 0; border-radius: 0; background: transparent; }
.hp-capability:first-child { padding-left: 0; }
.hp-capability + .hp-capability { border-left: 1px solid #dfe2e8; }
.hp-number { margin-bottom: 28px; }
.hp-form :is(input, textarea, select) { min-height: 48px; box-shadow: none; }
.hp-form textarea { resize: vertical; }
.hp-form label:has(input[type="checkbox"]) { font-weight: 500; line-height: 1.7; }
.hp-form input[type="checkbox"] { min-height: 0; vertical-align: middle; accent-color: var(--blue); }
.hp-notice { border: 1px solid #cbd5f0; }
.hp-notice.error { background: #fff0ed; border-color: #e9bbb1; }
.hp-contact-main { background: radial-gradient(circle at 16% 20%, #e8edff 0, transparent 29%), #f6f7f8; }
.hp-contact-layout { display: grid; grid-template-columns: minmax(250px, .75fr) minmax(0, 1.25fr); gap: clamp(40px, 7vw, 110px); align-items: start; }
.hp-contact-intro { position: sticky; top: 130px; }
.hp-contact-intro .hp-muted { max-width: 430px; font-size: 17px; line-height: 1.8; }
.hp-contact-guide { margin-top: 46px; padding-top: 22px; border-top: 1px solid #d9dde7; }
.hp-contact-guide strong { font-size: 15px; }
.hp-contact-guide ul { padding-left: 20px; margin: 14px 0 0; color: var(--muted); font-size: 14px; line-height: 2; }
.hp-contact-panel { padding: clamp(24px, 4vw, 46px); border: 1px solid #e5e7ed; border-radius: 26px; background: #fff; box-shadow: 0 22px 70px rgba(33, 42, 78, .07); }
.hp-contact-panel h2 { margin: 0 0 4px; font-size: 30px; font-weight: 700; letter-spacing: -.04em; }
.hp-contact-panel > .hp-muted { margin: 0 0 30px; font-size: 13px; }
.hp-contact-panel .hp-form { max-width: none; }
.hp-consent { display: flex !important; gap: 9px; align-items: flex-start; }
.hp-consent input { flex: 0 0 auto; width: 19px !important; height: 19px; margin: 3px 0 0 !important; }
body.woocommerce-page .content-area { width: 100%; max-width: 1200px; float: none; padding: 0 28px; margin: 0 auto; }
body.woocommerce .site-main { width: 100%; }
body.woocommerce .woocommerce-products-header__title,
body.woocommerce .product_title { line-height: 1.15; text-wrap: balance; }
body.woocommerce .woocommerce-products-header__title { margin-bottom: 38px; }
body.woocommerce ul.products li.product { margin-bottom: 28px; }
body.woocommerce ul.products li.product .button { font-size: 13px; min-height: 44px; display: inline-flex; align-items: center; }
body.woocommerce.single-product .woocommerce-product-gallery { background: #fff; border-radius: 28px; overflow: hidden; }
body.woocommerce.single-product .summary { padding-top: 18px; }
body.woocommerce.single-product .product_title { font-weight: 740; }
body.woocommerce.single-product .woocommerce-tabs { border-top: 1px solid var(--line); margin-top: 60px; padding-top: 24px; }
body.woocommerce.single-product .woocommerce-tabs ul.tabs li { border: 0; }
body.woocommerce.single-product .woocommerce-tabs ul.tabs li a { font-weight: 700; }
body.woocommerce.single-product .related > h2 { font-size: clamp(27px, 3vw, 38px); letter-spacing: -.04em; }
.hp-product-detail { clear: both; padding: 72px 0 46px; border-top: 1px solid var(--line); }
.hp-product-detail-head { display: grid; grid-template-columns: 1fr 1fr; column-gap: 45px; align-items: end; }
.hp-product-detail-head .hp-eyebrow { grid-column: 1 / -1; }
.hp-product-detail-head h2 { font-size: clamp(34px, 4vw, 54px); font-weight: 700; letter-spacing: -.045em; line-height: 1.18; margin: 12px 0 0; }
.hp-product-detail-head p { color: var(--muted); margin: 0 0 3px; }
.hp-feature-list { display: grid; grid-template-columns: repeat(3, 1fr); padding: 0; margin: 48px 0 0; list-style: none; border-top: 1px solid #d9dde5; }
.hp-feature-list li { padding: 26px 28px 30px 0; border-bottom: 1px solid #d9dde5; }
.hp-feature-list li + li { padding-left: 28px; border-left: 1px solid #d9dde5; }
.hp-feature-list h3 { font-size: 18px; font-weight: 700; margin: 0 0 8px; }
.hp-feature-list p { color: var(--muted); font-size: 14px; margin: 0; }
.hp-product-detail-footer { margin-top: 36px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.hp-product-detail-footer p { margin: 0; color: var(--muted); }
.hp-product-detail-footer .hp-btn { flex: 0 0 auto; }
body.woocommerce.single-product .related { padding-top: 44px; }
body.woocommerce.single-product .related > h2 { font-weight: 650; }
body.woocommerce-account .site-main { padding: 64px 0 100px; min-height: 55vh; }
body.woocommerce-account .entry-header h1 { margin: 0 0 38px; font-size: clamp(36px, 4vw, 58px); font-weight: 700; letter-spacing: -.05em; }
body.woocommerce-account .woocommerce-MyAccount-navigation { width: 24%; }
body.woocommerce-account .woocommerce-MyAccount-content { width: 70%; }
body.woocommerce-account .woocommerce-MyAccount-navigation ul { border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: #fff; }
body.woocommerce-account .woocommerce-MyAccount-navigation ul li { border-bottom: 1px solid var(--line); }
body.woocommerce-account .woocommerce-MyAccount-navigation ul li:last-child { border-bottom: 0; }
body.woocommerce-account .woocommerce-MyAccount-navigation ul li a { min-height: 48px; display: flex; align-items: center; padding: 10px 17px; }
body.woocommerce-account .woocommerce-MyAccount-navigation ul li a::before { margin-right: 9px; }
body.woocommerce-account .woocommerce-MyAccount-content { padding: 24px 30px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
body.woocommerce-account .woocommerce-MyAccount-content p:first-child { margin-top: 0; }
body.woocommerce-account .woocommerce form.login,
body.woocommerce-account .woocommerce form.register { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 30px; }
body.woocommerce-account .woocommerce :is(input.input-text, input[type="password"]) { border: 1px solid #cbd0d8; border-radius: 10px; padding: 12px; min-height: 46px; background: #fff; }
body.woocommerce-account .woocommerce-Button { min-height: 44px; border-radius: 999px; }
@media (max-width: 850px) {
  .hp-nav { flex-wrap: nowrap; min-height: 70px; padding: 10px 20px; gap: 14px; }
  .hp-links { display: none; }
  .hp-mobile-menu { display: block; margin-left: auto; }
  .hp-mobile-menu summary {
    min-height: 44px;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 6px 10px;
    border-radius: 999px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 700;
    list-style: none;
  }
  .hp-mobile-menu summary::-webkit-details-marker { display: none; }
  .hp-menu-icon, .hp-menu-icon::before, .hp-menu-icon::after {
    display: block;
    width: 17px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
  }
  .hp-menu-icon { position: relative; }
  .hp-menu-icon::before, .hp-menu-icon::after { content: ''; position: absolute; left: 0; }
  .hp-menu-icon::before { top: -6px; }
  .hp-menu-icon::after { top: 6px; }
  .hp-mobile-links {
    position: absolute;
    top: calc(100% + 1px);
    left: 12px;
    right: 12px;
    display: grid;
    padding: 12px;
    border: 1px solid rgba(180, 185, 195, .4);
    border-radius: 18px;
    background: #fff;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 18px 40px rgba(24, 31, 58, .12);
  }
  .hp-mobile-links a { display: flex; align-items: center; min-height: 48px; padding: 8px 14px; border-radius: 10px; font-size: 15px; font-weight: 650; }
  .hp-mobile-links a:hover, .hp-mobile-links a:focus-visible { background: #eef0fa; }
  .hp-nav-cta { margin-left: 0; }
  .hp-contact-layout { grid-template-columns: 1fr; gap: 28px; }
  .hp-contact-intro { position: static; }
  .hp-contact-guide { margin-top: 24px; }
  body.woocommerce-account .woocommerce-MyAccount-navigation,
  body.woocommerce-account .woocommerce-MyAccount-content { width: 100%; float: none; }
  body.woocommerce-account .woocommerce-MyAccount-navigation { margin-bottom: 24px; }
  .hp-capability:nth-child(3) { border-left: 0; }
  .hp-capability:nth-child(n+3) { border-top: 1px solid #dfe2e8; }
}
@media (max-width: 580px) {
  body.woocommerce-page .content-area { padding: 0 20px; }
  body.woocommerce.post-type-archive-product .site-main { padding: 60px 0; }
  body.woocommerce.single-product .site-main { padding: 30px 0 70px; }
  body.woocommerce.single-product .summary { padding-top: 0; }
  body.woocommerce.single-product .woocommerce-tabs { margin-top: 36px; }
  .hp-product-detail { padding-top: 56px; }
  .hp-product-detail-head { grid-template-columns: 1fr; }
  .hp-product-detail-head p { margin-top: 16px; }
  .hp-feature-list { display: block; margin-top: 30px; }
  .hp-feature-list li, .hp-feature-list li + li { border-left: 0; padding: 20px 0; }
  .hp-product-detail-footer { display: block; }
  .hp-product-detail-footer .hp-btn { margin-top: 20px; }
  body.woocommerce-account .site-main { padding: 50px 0 80px; }
  body.woocommerce-account .woocommerce-MyAccount-content { padding: 22px; }
  body.woocommerce-account .woocommerce form.login,
  body.woocommerce-account .woocommerce form.register { padding: 22px; }
  .hp-capabilities { display: block; }
  .hp-capability, .hp-capability:first-child, .hp-capability + .hp-capability {
    min-height: 0;
    padding: 22px 0;
    border-left: 0;
    border-top: 0;
  }
  .hp-capability + .hp-capability { border-top: 1px solid #dfe2e8; }
  .hp-number { margin-bottom: 8px; }
  .hp-nav-cta { display: none; }
  .hp-hero { padding: 62px 0 52px; }
  .hp-hero-visual { margin-top: 8px; min-height: 320px; }
  .hp-hero-visual img { max-width: 78%; }
  .hp-hero-tag { bottom: 16px; left: 16px; }
  .hp-section { padding: 74px 0; }
  .hp-product-copy { min-height: auto; }
  .hp-product-copy .hp-text-link { margin-top: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .hp-skip-link, .hp-product { transition: none; }
}
