/* HyperDAF Premium core runtime bundle. Source modules remain canonical under assets/css/. */

/* ===== foundation/reset.css ===== */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
}

img,
picture,
svg {
    display: block;
    max-width: 100%;
    height: auto;
}

button,
input,
select,
textarea {
    font: inherit;
}

a {
    color: inherit;
}

ul,
ol {
    padding-inline-start: 1.25rem;
}

/* ===== foundation/base.css ===== */
:root {
    --hdf-color-primary: #f97316;
    --hdf-color-primary-hover: #ea580c;
    --hdf-color-accent: #2563eb;
    --hdf-color-accent-hover: #1d4ed8;
    --hdf-color-on-primary: #ffffff;
    --hdf-color-on-primary-hover: #ffffff;
    --hdf-color-on-accent: #ffffff;
    --hdf-color-text: #111827;
    --hdf-color-text-secondary: #374151;
    --hdf-color-muted: #6b7280;
    --hdf-color-text-inverse: #ffffff;
    --hdf-color-link: #ea580c;
    --hdf-color-link-hover: #c2410c;
    --hdf-color-page: #ffffff;
    --hdf-color-surface: #ffffff;
    --hdf-color-subtle: #f3f4f6;
    --hdf-color-surface-strong: #111827;
    --hdf-color-border: #e5e7eb;
    --hdf-color-border-strong: #9ca3af;
    --hdf-color-success: #15803d;
    --hdf-color-warning: #b45309;
    --hdf-color-error: #b91c1c;
    --hdf-color-danger: var(--hdf-color-error);
    --hdf-color-info: #1d4ed8;
    --hdf-focus-ring-color: #2271b1;
    --hdf-focus-ring-width: 3px;
    --hdf-focus-ring-offset: 2px;
    --hdf-header-top-background: #f3f4f6;
    --hdf-header-top-text: #374151;
    --hdf-header-main-background: #ffffff;
    --hdf-header-main-text: #111827;
    --hdf-header-nav-background: #ffffff;
    --hdf-header-border: #e5e7eb;
    --hdf-footer-background: #f7f8fa;
    --hdf-footer-text: #111827;
    --hdf-footer-link: #374151;
    --hdf-footer-link-hover: #ea580c;
    --hdf-nav-link: #111827;
    --hdf-nav-link-hover: #ea580c;
    --hdf-nav-link-active: #ea580c;
    --hdf-mobile-nav-background: #ffffff;
    --hdf-mobile-nav-text: #111827;
    --hdf-mobile-nav-border: #e5e7eb;
    --hdf-blog-card-background: #ffffff;
    --hdf-blog-card-text: #111827;
    --hdf-blog-meta-text: #6b7280;
    --hdf-article-heading: #111827;
    --hdf-article-link: #ea580c;
    --hdf-article-quote-background: #f3f4f6;
    --hdf-empty-state-background: #ffffff;
    --hdf-empty-state-text: #111827;
    --hdf-button-primary-background: #f97316;
    --hdf-button-primary-text: #ffffff;
    --hdf-button-primary-hover-background: #ea580c;
    --hdf-button-primary-hover-text: #ffffff;
    --hdf-button-secondary-background: #ffffff;
    --hdf-button-secondary-text: #111827;
    --hdf-button-secondary-border: #9ca3af;
    --hdf-button-secondary-hover-background: #f3f4f6;
    --hdf-button-secondary-hover-text: #111827;
    --hdf-input-background: #ffffff;
    --hdf-input-text: #111827;
    --hdf-input-placeholder: #9ca3af;
    --hdf-input-border: #d1d5db;
    --hdf-input-focus-border: #f97316;
    --hdf-input-focus-ring: #f97316;
    --hdf-container: 1300px;
    /* Canonical first-party public width contract. Header owns the mode;
       pages/Commerce consume the resolved shell width and content inset. */
    --hdf-site-frame-gutter: 10px;
    --hdf-site-frame-width: calc(100% - var(--hdf-site-frame-gutter));
    --hdf-site-frame-padding-x: var(--hdf-header-main-padding-x, 24px);
    --hdf-content-max: 900px;
    --hdf-article-content-width: 820px;
    --hdf-page-content-width: 1100px;
    --hdf-page-narrow-width: 760px;
    --hdf-page-wide-width: 1300px;
    --hdf-page-padding-top: 48px;
    --hdf-page-padding-right: 40px;
    --hdf-page-padding-bottom: 48px;
    --hdf-page-padding-left: 40px;
    --hdf-page-tablet-padding-top: 40px;
    --hdf-page-tablet-padding-right: 28px;
    --hdf-page-tablet-padding-bottom: 40px;
    --hdf-page-tablet-padding-left: 28px;
    --hdf-page-mobile-padding-top: 32px;
    --hdf-page-mobile-padding-right: 20px;
    --hdf-page-mobile-padding-bottom: 32px;
    --hdf-page-mobile-padding-left: 20px;
    --hdf-page-header-spacing: 30px;
    --hdf-page-featured-spacing: 32px;
    --hdf-page-boxed-padding: 32px;
    --hdf-page-comments-spacing: 48px;
    --hdf-page-mobile-sidebar-gap: 36px;
    --hdf-sidebar-width: 320px;
    --hdf-page-gutter: 40px;
    --hdf-section-spacing: 48px;
    --hdf-hero-visual-min: 360px;
    --hdf-empty-state-width: 760px;
    --hdf-mobile-nav-width: 360px;
    --hdf-control-height: 46px;
    --hdf-button-height: 42px;
    --hdf-button-radius: 999px;
    --hdf-input-radius: 8px;
    --hdf-icon-lg: 56px;
    --hdf-logo-max-width: 180px;
    --hdf-logo-mobile-width: 140px;
    --hdf-logo-max-height: 56px;
    --hdf-radius-sm: 8px;
    --hdf-radius-md: 14px;
    --hdf-radius-lg: 22px;
    --hdf-radius-pill: 999px;
    --hdf-blog-card-radius: 14px;
    --hdf-blog-media-ratio: 16 / 9;
    --hdf-border-width: 1px;
    --hdf-raised-edge-width: 1px;
    --hdf-raised-edge-depth-width: calc(var(--hdf-raised-edge-width) + 1px);
    --hdf-raised-edge-radius: var(--hdf-radius-md);
    --hdf-raised-edge-tint: 4%;
    --hdf-raised-edge-contrast: 72%;
    --hdf-raised-edge-outline: color-mix(in srgb, var(--hdf-color-border-strong) 38%, var(--hdf-color-border));
    --hdf-raised-edge-border: var(--hdf-raised-edge-outline);
    --hdf-raised-edge-light: color-mix(in srgb, #ffffff 64%, var(--hdf-raised-edge-outline));
    --hdf-raised-edge-dark: color-mix(in srgb, var(--hdf-color-border-strong) calc(126% - var(--hdf-raised-edge-contrast)), var(--hdf-raised-edge-outline));
    --hdf-raised-edge-inner: color-mix(in srgb, #ffffff 76%, var(--hdf-raised-edge-outline));
    --hdf-raised-edge-heading-background: color-mix(in srgb, var(--hdf-color-primary) var(--hdf-raised-edge-tint), var(--hdf-color-subtle));
    --hdf-raised-edge-heading-color: var(--hdf-color-text);
    --hdf-raised-edge-panel-background: var(--hdf-color-surface);
    --hdf-raised-edge-hover-background: color-mix(in srgb, var(--hdf-color-primary) 2%, var(--hdf-color-subtle));
    --hdf-raised-edge-accent-background: color-mix(in srgb, var(--hdf-color-primary) 9%, var(--hdf-color-surface));
    --hdf-support-height: 92px;
    --hdf-space-1: 4px;
    --hdf-space-2: 8px;
    --hdf-space-3: 12px;
    --hdf-space-4: 16px;
    --hdf-space-5: 20px;
    --hdf-space-6: 24px;
    --hdf-space-7: 28px;
    --hdf-space-8: 32px;
    --hdf-space-9: 40px;
    --hdf-space-10: 48px;
    --hdf-space-11: 64px;
    --hdf-space-12: 80px;
    --hdf-space-13: 96px;
    --hdf-transition: 180ms ease;
    --hdf-transition-media: 300ms ease;
    --hdf-header-border-strong: #d1d5db;
    --hdf-header-top-link-hover: #ea580c;
    --hdf-header-top-separator: #d1d5db;
    --hdf-header-promo-color: #f97316;
    --hdf-header-main-gap: 24px;
    --hdf-header-main-control-size: 48px;
    --hdf-header-branding-width: 235px;
    --hdf-header-brand-mark-size: 56px;
    --hdf-header-brand-mark-radius: 8px;
    --hdf-header-title-size: 30px;
    --hdf-header-tagline-size: 13px;
    --hdf-header-search-background: #ffffff;
    --hdf-header-search-text: #111827;
    --hdf-header-search-placeholder: #9ca3af;
    --hdf-header-search-border: #d1d5db;
    --hdf-header-search-focus-border: #f97316;
    --hdf-header-action-gap: 5px;
    --hdf-header-action-color: #111827;
    --hdf-header-action-hover-color: #ea580c;
    --hdf-header-action-hover-background: #fff7ed;
    --hdf-header-action-badge-background: #f97316;
    --hdf-header-action-badge-text: #ffffff;
    --hdf-header-nav-cta-height: 42px;
    --hdf-header-nav-cta-border: #f97316;
    --hdf-header-nav-cta-text: #ea580c;
    --hdf-header-nav-cta-hover-background: #ea580c;
    --hdf-header-nav-cta-hover-text: #ffffff;
    --hdf-header-nav-cta-hover-border: #ea580c;
    --hdf-header-nav-cta-badge-background: #f97316;
    --hdf-header-nav-cta-badge-text: #ffffff;
    --hdf-header-dropdown-width: 240px;
    --hdf-header-dropdown-background: #ffffff;
    --hdf-header-dropdown-text: #111827;
    --hdf-header-dropdown-border: #e5e7eb;
    --hdf-header-dropdown-hover-background: #fff7ed;
    --hdf-header-dropdown-hover-text: #ea580c;
    --hdf-header-explore-background: #f97316;
    --hdf-header-explore-text: #ffffff;
    --hdf-header-explore-hover-background: #ea580c;
    --hdf-header-explore-hover-text: #ffffff;
    --hdf-header-explore-panel-width: 300px;
    --hdf-header-explore-panel-background: #ffffff;
    --hdf-header-explore-border: #e5e7eb;
    --hdf-header-explore-item-text: #111827;
    --hdf-header-explore-item-hover-background: #fff7ed;
    --hdf-header-explore-item-hover-text: #ea580c;
    --hdf-header-top-height: 42px;
    --hdf-header-main-height: 108px;
    --hdf-header-nav-height: 60px;
    --hdf-font-body: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --hdf-font-heading: "Work Sans", Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --hdf-font-ui: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --hdf-font-size-base: 16px;
    --hdf-line-height-body: 1.65;
    --hdf-font-weight-body: 400;
    --hdf-font-weight-heading: 700;
    --hdf-font-weight-button: 700;
    --hdf-letter-spacing-heading: -0.025em;
}

html {
    font-size: var(--hdf-font-size-base);
}

body {
    background: var(--hdf-color-page);
    color: var(--hdf-color-text);
    font-family: var(--hdf-font-body);
    font-weight: var(--hdf-font-weight-body);
    line-height: var(--hdf-line-height-body);
}

.site {
    display: flex;
    min-height: 100vh;
    flex-direction: column;
}

.site-main {
    flex: 1;
    padding-block: var(--hdf-section-spacing);
}

a {
    color: var(--hdf-color-link);
    text-decoration-thickness: .08em;
    text-underline-offset: .18em;
}

a:hover,
a:focus-visible {
    color: var(--hdf-color-link-hover);
}

/* ===== foundation/typography.css ===== */
h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0 0 .65em;
    color: var(--hdf-article-heading);
    font-family: var(--hdf-font-heading);
    font-weight: var(--hdf-font-weight-heading);
    line-height: 1.15;
    letter-spacing: var(--hdf-letter-spacing-heading);
}

h1 { font-size: clamp(2rem, 4vw, 4.25rem); }
h2 { font-size: clamp(1.5rem, 2.5vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 1.7vw, 1.75rem); }

p { margin: 0 0 1.25em; }

/* Step 31: semantic bold is standard bold, never extra-bold. */
strong,
b {
    font-weight: 700;
}

.entry-content {
    max-width: var(--hdf-article-content-width);
    font-size: 1.075rem;
}

.entry-content > * + * { margin-top: 1.35em; }
.entry-content a { color: var(--hdf-article-link); }


button,
input,
select,
textarea,
.wp-element-button,
.wp-block-button__link {
    font-family: var(--hdf-font-ui);
}

.site-title,
.entry-title,
.page-title,
.widget-title,
.wp-block-heading {
    font-family: var(--hdf-font-heading);
}

small,
figcaption,
.entry-meta,
.wp-block-post-date,
.wp-block-post-author {
    color: var(--hdf-color-muted);
    font-family: var(--hdf-font-body);
}


/* Canonical document title: one real page/archive title beside its content. */
.entry-article > .entry-header .entry-title,
.page-header > .page-title,
.page-header > h1,
.woocommerce-products-header__title.page-title,
.woocommerce-shop-loop-header__title {
    margin: 0;
    color: var(--hdf-article-heading);
    font-family: var(--hdf-font-heading);
    font-size: clamp(2rem, 3.6vw, 3rem);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.025em;
}

@media (max-width: 782px) {
    .entry-article > .entry-header .entry-title,
    .page-header > .page-title,
    .page-header > h1,
    .woocommerce-products-header__title.page-title,
    .woocommerce-shop-loop-header__title {
        font-size: clamp(1.85rem, 8vw, 2.35rem);
    }
}

/* Canonical document-title surface: one current-document heading only. */
.entry-article > .entry-header,
.page-header {
    outline: var(--hdf-raised-edge-width) solid var(--hdf-raised-edge-outline);
    outline-offset: 0;
    margin-block-end: var(--hdf-page-header-spacing);
    padding: clamp(12px, 1.5vw, 18px) clamp(14px, 2vw, 22px);
    border: var(--hdf-raised-edge-width) solid var(--hdf-raised-edge-border);
    border-block-start-color: var(--hdf-raised-edge-light);
    border-inline-start-color: var(--hdf-raised-edge-light);
    border-block-end: var(--hdf-raised-edge-depth-width) solid var(--hdf-raised-edge-dark);
    border-inline-end: var(--hdf-raised-edge-depth-width) solid var(--hdf-raised-edge-dark);
    border-radius: var(--hdf-raised-edge-radius);
    background: var(--hdf-raised-edge-heading-background);
    color: var(--hdf-raised-edge-heading-color);
}

.widget-title:not(.hdf-context-widget__title),
.comments-title,
.comment-reply-title {
    outline: var(--hdf-raised-edge-width) solid var(--hdf-raised-edge-outline);
    outline-offset: 0;
    display: block;
    margin-block-end: var(--hdf-space-4);
    padding: 9px 12px;
    border: var(--hdf-raised-edge-width) solid var(--hdf-raised-edge-border);
    border-block-start-color: var(--hdf-raised-edge-light);
    border-inline-start-color: var(--hdf-raised-edge-light);
    border-block-end: var(--hdf-raised-edge-depth-width) solid var(--hdf-raised-edge-dark);
    border-inline-end: var(--hdf-raised-edge-depth-width) solid var(--hdf-raised-edge-dark);
    border-radius: min(var(--hdf-raised-edge-radius), 12px);
    background: var(--hdf-raised-edge-heading-background);
    color: var(--hdf-raised-edge-heading-color);
    font-size: clamp(1rem, 1.4vw, 1.22rem);
    line-height: 1.2;
}

.entry-article > .entry-header + .entry-content,
.page-header + * {
    margin-block-start: 0;
}

/* ===== layout/container.css ===== */
.hyperdaf-container {
    width: min(calc(100% - var(--hdf-page-gutter)), var(--hdf-container));
    margin-inline: auto;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--hdf-space-7);
}

.content-with-sidebar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) var(--hdf-sidebar-width);
    gap: var(--hdf-space-10);
}

.page-header {
    margin-bottom: 26px;
}

.page-header .archive-description {
    margin-top: 10px;
}

.entry-article {
    max-width: var(--hdf-content-max);
}

.content-with-sidebar .entry-article {
    max-width: none;
}
/* Canonical front-page responsive containment. Homepage engines remain fluid
   during viewport resize/orientation changes without a page reload. */
.hdf-front-page-main {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: hidden;
    overflow-x: clip;
}

.hdf-front-page-main > * {
    max-width: 100%;
    min-width: 0;
}

.hdf-front-page-main img,
.hdf-front-page-main svg,
.hdf-front-page-main video,
.hdf-front-page-main iframe {
    max-width: 100%;
}

.hyperdaf-container {
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

/* ===== layout/widget-areas.css ===== */
.hdf-blog-layout {
    display: grid;
    min-width: 0;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--hdf-space-8);
}

.hdf-blog-layout--has-sidebar {
    grid-template-columns: minmax(0, 1fr) minmax(240px, var(--hdf-sidebar-width));
    grid-template-areas: "blog-primary blog-sidebar";
    align-items: stretch;
}

.hdf-blog-primary {
    min-width: 0;
    grid-area: blog-primary;
}

.hdf-blog-layout > .hdf-context-sidebar--blog {
    min-width: 0;
    grid-area: blog-sidebar;
}

.hdf-context-sidebar {
    min-width: 0;
    height: 100%;
}

.hdf-blog-layout--has-sidebar .content-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hdf-context-sidebar {
    display: grid;
    align-content: start;
    gap: var(--hdf-space-5);
}

.hdf-context-sidebar .widget {
    position: relative;
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--hdf-color-border);
    border-radius: var(--hdf-radius-md);
    background: var(--hdf-color-surface);
    color: var(--hdf-color-text);
}

.hdf-context-sidebar .widget-title {
    outline: 0;
    margin: 0;
    padding: 10px 14px;
    border: 0;
    border-bottom: 1px solid var(--hdf-color-border);
    border-radius: 0;
    background: var(--hdf-color-subtle);
    color: var(--hdf-color-text);
    font-family: var(--hdf-font-heading);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
}

.hdf-context-sidebar .widget > :not(.widget-title):not(.hdc-product-category-accordion):not(.hdc-big-card-widget__card) {
    margin-inline: 14px;
}

.hdf-context-sidebar .widget > :last-child:not(.hdc-product-category-accordion):not(.hdc-big-card-widget__card) {
    margin-bottom: 14px;
}

.hdf-context-sidebar .widget_hyperdaf_big_card {
    overflow: visible;
    border: 0;
    background: transparent;
}

.hdf-context-sidebar .widget_hyperdaf_big_card > .widget-title {
    margin-bottom: 10px;
    border: 1px solid var(--hdf-color-border);
    border-radius: var(--hdf-radius-md);
    background: var(--hdf-color-subtle);
}

.hdf-context-sidebar .hdc-widget-sticky-candidate.is-hdc-sticky-active {
    position: sticky;
    top: calc(var(--wp-admin--admin-bar--height, 0px) + 16px);
    z-index: 3;
    align-self: start;
}

body.has-hdf-sticky-header .hdf-context-sidebar .hdc-widget-sticky-candidate.is-hdc-sticky-active {
    top: calc(
        var(--wp-admin--admin-bar--height, 0px)
        + var(--hdf-header-top-height, 0px)
        + var(--hdf-header-main-height, 0px)
        + var(--hdf-header-nav-height, 0px)
        + 16px
    );
}

.hdf-context-sidebar .widget ul,
.hdf-context-sidebar .widget ol {
    padding-inline-start: 18px;
}

.hdf-context-sidebar .widget a {
    color: var(--hdf-color-text);
}

.hdf-context-sidebar .widget a:hover,
.hdf-context-sidebar .widget a:focus-visible {
    color: var(--hdf-color-primary-hover);
}

@media (max-width: 1024px) {
    .hdf-blog-layout--has-sidebar {
        grid-template-columns: 1fr;
        grid-template-areas:
            "blog-primary"
            "blog-sidebar";
    }

    .hdf-blog-layout--has-sidebar .content-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hdf-context-sidebar .hdc-widget-sticky-candidate.is-hdc-sticky-active {
        position: static;
    }
}

@media (max-width: 640px) {
    .hdf-blog-layout--has-sidebar .content-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== layout/pages.css ===== */
.hdf-page {
    --hdf-page-layout-width: var(--hdf-page-content-width);
    --hdf-page-current-padding-top: var(--hdf-page-padding-top);
    --hdf-page-current-padding-right: var(--hdf-page-padding-right);
    --hdf-page-current-padding-bottom: var(--hdf-page-padding-bottom);
    --hdf-page-current-padding-left: var(--hdf-page-padding-left);
    padding-block: var(--hdf-page-current-padding-top) var(--hdf-page-current-padding-bottom);
}

.hdf-page-shell {
    width: min(
        calc(100% - var(--hdf-page-current-padding-left) - var(--hdf-page-current-padding-right)),
        var(--hdf-page-layout-width)
    );
    margin-inline: auto;
}

.hdf-page--contained,
.hdf-page--boxed {
    --hdf-page-layout-width: var(--hdf-page-content-width);
}

.hdf-page--wide {
    --hdf-page-layout-width: var(--hdf-page-wide-width);
}

.hdf-page--narrow {
    --hdf-page-layout-width: var(--hdf-page-narrow-width);
}

.hdf-page--edge-to-edge .hdf-page-shell {
    width: 100%;
    max-width: none;
    padding-inline: var(--hdf-page-current-padding-left) var(--hdf-page-current-padding-right);
}

/* Public site-frame consumer contract. Commerce or first-party pages may opt
 * into the exact Header inner-frame geometry without owning width values.
 * The Theme/Header remains the only source of frame width and horizontal
 * padding; the stronger selector also prevents composition presets from
 * re-constraining extension content inside .entry-content. */
.hdf-page.hdf-page--site-frame .hdf-page-shell {
    box-sizing: border-box;
    width: var(--hdf-site-frame-width, min(calc(100% - var(--hdf-site-frame-gutter, 10px)), var(--hdf-container)));
    max-width: none;
    margin-inline: auto;
    padding-inline: var(--hdf-site-frame-padding-x, var(--hdf-header-main-padding-x, 24px));
}

.hdf-page.hdf-page--site-frame .hdf-page-primary,
.hdf-page.hdf-page--site-frame .entry-article,
.hdf-page.hdf-page--site-frame .entry-content {
    width: 100%;
    min-width: 0;
    max-width: none;
    margin-inline: 0;
}


.hdf-page-primary,
.hdf-page .entry-article,
.hdf-page .entry-content {
    min-width: 0;
}

.hdf-page .entry-article,
.hdf-page .entry-content {
    width: 100%;
    max-width: none;
}

.hdf-page .entry-header {
    margin-bottom: 26px;
}

.hdf-page .entry-hero {
    margin: 0 0 var(--hdf-page-featured-spacing);
}

.hdf-page--boxed .hdf-page-primary {
    padding: var(--hdf-page-boxed-padding);
    border: 1px solid var(--hdf-color-border);
    border-radius: var(--hdf-radius-lg);
    background: var(--hdf-color-surface);
}

.hdf-page .comments-area {
    margin-top: var(--hdf-page-comments-spacing);
}


.hdf-page .entry-content > .alignwide {
    position: relative;
    left: 50%;
    width: min(
        var(--hdf-page-wide-width),
        calc(100vw - var(--hdf-page-current-padding-left) - var(--hdf-page-current-padding-right))
    );
    max-width: none;
    transform: translateX(-50%);
}

.hdf-page .entry-content > .alignfull {
    position: relative;
    left: 50%;
    width: 100vw;
    max-width: none;
    transform: translateX(-50%);
}

/* ===== components/forms.css ===== */
.search-form { position: relative; display: flex; align-items: center; }

.search-field,
input[type="text"],
input[type="email"],
input[type="search"],
input[type="number"],
select,
textarea {
    width: 100%;
    min-height: var(--hdf-control-height);
    padding: calc(var(--hdf-space-3) - 2px) calc(var(--hdf-space-3) + 2px);
    border: 1px solid var(--hdf-input-border);
    border-radius: var(--hdf-input-radius);
    background: var(--hdf-input-background);
    color: var(--hdf-input-text);
    font-family: var(--hdf-font-ui);
    transition: border-color var(--hdf-transition), background-color var(--hdf-transition);
}

input::placeholder,
textarea::placeholder { color: var(--hdf-input-placeholder); }
.search-field { padding-inline-end: calc(var(--hdf-space-13) + var(--hdf-space-5)); border-color: var(--hdf-input-focus-border); border-radius: var(--hdf-radius-pill); }

.search-submit,
button,
input[type="submit"],
.button-primary {
    min-height: var(--hdf-button-height);
    padding: calc(var(--hdf-space-3) - 2px) calc(var(--hdf-space-4) + 2px);
    border: 1px solid color-mix(in srgb, var(--hdf-button-primary-background) 72%, var(--hdf-color-border));
    border-radius: var(--hdf-button-radius);
    background: var(--hdf-button-primary-background);
    color: var(--hdf-button-primary-text);
    font-family: var(--hdf-font-ui);
    font-weight: var(--hdf-font-weight-button);
    cursor: pointer;
    transition: background var(--hdf-transition), color var(--hdf-transition), border-color var(--hdf-transition);
}

.button-secondary { border-color: var(--hdf-button-secondary-border); background: var(--hdf-button-secondary-background); color: var(--hdf-button-secondary-text); }
.search-submit { position: absolute; inset-inline-end: 3px; }
.search-submit:hover,
.search-submit:focus-visible,
button:hover,
button:focus-visible,
input[type="submit"]:hover,
input[type="submit"]:focus-visible,
.button-primary:hover,
.button-primary:focus-visible { background: var(--hdf-button-primary-hover-background); color: var(--hdf-button-primary-hover-text); }
.button-secondary:hover,
.button-secondary:focus-visible { background: var(--hdf-button-secondary-hover-background); color: var(--hdf-button-secondary-hover-text); }

.search-field:focus,
input:focus,
select:focus,
textarea:focus {
    border-color: var(--hdf-input-focus-border);
    outline: var(--hdf-focus-ring-width) solid color-mix(in srgb, var(--hdf-input-focus-ring) 30%, transparent);
    outline-offset: var(--hdf-focus-ring-offset);
}

.hyperdaf-live-results {
    position: absolute;
    z-index: 100;
    top: calc(100% + var(--hdf-space-2));
    inset-inline: 0;
    overflow: auto;
    max-height: 440px;
    border: 1px solid var(--hdf-color-border);
    border-radius: var(--hdf-radius-md);
    background: var(--hdf-color-surface);
}

/* ===== components/cards.css ===== */
.content-card,
.not-found-card {
    overflow: hidden;
    border: 1px solid var(--hdf-color-border);
    border-radius: var(--hdf-blog-card-radius);
    background: var(--hdf-blog-card-background);
    color: var(--hdf-blog-card-text);
}

.content-card {
    transition: border-color var(--hdf-transition), background-color var(--hdf-transition);
}

.content-card:hover,
.content-card:focus-within {
    border-color: color-mix(in srgb, var(--hdf-color-primary) 32%, var(--hdf-color-border));
    background: color-mix(in srgb, var(--hdf-color-primary) 2%, var(--hdf-color-subtle));
}

.content-card__media { overflow: hidden; aspect-ratio: var(--hdf-blog-media-ratio); }
.content-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--hdf-transition-media); }
.content-card:hover .content-card__media img { transform: scale(1.03); }
.content-card__body { padding: var(--hdf-space-6); }
.entry-title a { text-decoration: none; }
.entry-meta { margin-bottom: calc(var(--hdf-space-3) - 2px); color: var(--hdf-blog-meta-text); font-size: .86rem; }
.not-found-card { max-width: var(--hdf-empty-state-width); margin: calc(var(--hdf-space-11) - var(--hdf-space-1)) auto; padding: var(--hdf-space-10); background: var(--hdf-empty-state-background); color: var(--hdf-empty-state-text); text-align: center; }

/* ===== components/content.css ===== */
.entry-header {
    margin-bottom: calc(var(--hdf-space-7) + 2px);
}

.entry-hero {
    overflow: hidden;
    margin-block: calc(var(--hdf-space-7) + 2px);
    border-radius: var(--hdf-radius-lg);
}

.entry-hero img {
    width: 100%;
}

.entry-content blockquote {
    margin-inline: 0;
    padding: var(--hdf-space-4) var(--hdf-space-6);
    border: 1px solid var(--hdf-color-border);
    border-inline-start: var(--hdf-space-1) solid var(--hdf-color-primary);
    border-radius: 0 var(--hdf-radius-sm) var(--hdf-radius-sm) 0;
    background: color-mix(in srgb, var(--hdf-color-primary) 5%, var(--hdf-article-quote-background));
}

.entry-content table {
    width: 100%;
    border-collapse: collapse;
}

.entry-content th,
.entry-content td {
    padding: var(--hdf-space-3);
    border: 1px solid var(--hdf-color-border);
    text-align: start;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: var(--hdf-space-2);
    margin-top: calc(var(--hdf-space-7) + 2px);
}

.tag-list a {
    padding: calc(var(--hdf-space-2) - 2px) var(--hdf-space-3);
    border: 1px solid var(--hdf-color-border);
    border-radius: var(--hdf-radius-pill);
    background: var(--hdf-color-subtle);
    text-decoration: none;
}

.comments-area {
    margin-top: var(--hdf-space-10);
    padding-top: calc(var(--hdf-space-8) + var(--hdf-space-1));
    border-top: 1px solid var(--hdf-color-border);
}

/** Front-page commercial hero/slider owns the header boundary. */
.hdf-front-page-main {
    padding-block-start: 0;
    background: var(--hdf-color-home-page, var(--hdf-color-page, #FFFFFF));
}

.hyperdaf-home-hero {
    padding-block: calc(var(--hdf-space-11) + var(--hdf-space-2));
    background: linear-gradient(135deg, var(--hdf-color-subtle), var(--hdf-color-surface));
}

.hyperdaf-home-hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(var(--hdf-sidebar-width), 0.9fr);
    align-items: center;
    gap: var(--hdf-space-10);
}

.hyperdaf-home-hero__visual {
    min-height: var(--hdf-hero-visual-min);
    border-radius: var(--hdf-radius-lg);
    background:
        radial-gradient(circle at 30% 25%, color-mix(in srgb, var(--hdf-color-primary) 72%, white), transparent 36%),
        linear-gradient(145deg, var(--hdf-color-text), color-mix(in srgb, var(--hdf-color-text) 78%, var(--hdf-color-primary)));
}


@media (max-width: 782px) {
    .hyperdaf-home-hero {
        padding-block: calc(var(--hdf-space-9) + var(--hdf-space-1));
    }

    .hyperdaf-home-hero__inner {
        grid-template-columns: 1fr;
    }

    .hyperdaf-home-hero__visual {
        min-height: 240px;
    }
}

/* ===== components/states.css ===== */
::selection { background: var(--hdf-color-accent); color: var(--hdf-color-on-accent); }
.entry-summary, .page-description { color: var(--hdf-color-text-secondary); }
.hyperdaf-surface-strong { background: var(--hdf-color-surface-strong); color: var(--hdf-color-text-inverse); }

.hyperdaf-notice {
    padding: var(--hdf-space-4);
    border: 1px solid color-mix(in srgb, currentColor 28%, var(--hdf-color-border));
    border-radius: var(--hdf-radius-md);
    background: color-mix(in srgb, currentColor 4%, var(--hdf-color-surface));
}

/* Legacy utility name retained for compatibility; visual depth is intentionally flat. */
.hdf-raised-surface {
    border: 1px solid var(--hdf-color-border);
    border-radius: var(--hdf-radius-md);
    background: var(--hdf-color-surface);
}

/* Raised depth is restricted to approved heading surfaces. */
.hdf-raised-heading-surface {
    outline: var(--hdf-raised-edge-width) solid var(--hdf-raised-edge-outline);
    outline-offset: 0;
    border: var(--hdf-raised-edge-width) solid var(--hdf-raised-edge-border);
    border-block-start-color: var(--hdf-raised-edge-light);
    border-inline-start-color: var(--hdf-raised-edge-light);
    border-block-end: var(--hdf-raised-edge-depth-width) solid var(--hdf-raised-edge-dark);
    border-inline-end: var(--hdf-raised-edge-depth-width) solid var(--hdf-raised-edge-dark);
    border-radius: var(--hdf-raised-edge-radius);
    background: var(--hdf-raised-edge-heading-background);
    color: var(--hdf-raised-edge-heading-color);
}

.hyperdaf-notice--success { color: var(--hdf-color-success); }
.hyperdaf-notice--warning { color: var(--hdf-color-warning); }
.hyperdaf-notice--error { color: var(--hdf-color-error); }
.hyperdaf-notice--info { color: var(--hdf-color-info); }
.entry-content thead, .entry-content th { border-color: var(--hdf-color-border-strong); }
.page .entry-article { max-width: var(--hdf-page-content-width); }

/* ===== templates/presets.css ===== */
/*
 * Business template composition profiles.
 * One shared renderer set is retained; profiles change ordered composition, geometry and density only.
 */
.hdf-template-hero { overflow: hidden; border-block-end: var(--hdf-border-width) solid var(--hdf-color-border); }
.hdf-template-hero__content { position: relative; z-index: 1; }
.hdf-template-hero__content > p:not(.eyebrow) { max-width: 62ch; }
.hdf-template-hero__actions { display:flex; flex-wrap:wrap; gap:12px; margin-top:24px; }
.hdf-template-hero__primary,.hdf-template-hero__secondary { display:inline-flex; align-items:center; justify-content:center; min-height:44px; padding:10px 20px; border:var(--hdf-border-width) solid transparent; border-radius:var(--hdf-button-radius); font-weight:var(--hdf-button-weight); text-decoration:none; }
.hdf-template-hero__primary { background:var(--hdf-button-primary-background); color:var(--hdf-button-primary-text); }
.hdf-template-hero__primary:hover,.hdf-template-hero__primary:focus-visible { background:var(--hdf-button-primary-hover-background); color:var(--hdf-button-primary-hover-text); }
.hdf-template-hero__secondary { border-color:var(--hdf-button-secondary-border); background:var(--hdf-button-secondary-background); color:var(--hdf-button-secondary-text); }
.hdf-template-hero__visual { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; min-height:250px; align-content:center; }
.hdf-template-hero__highlight { display:flex; min-height:96px; align-items:flex-end; padding:18px; border:1px solid var(--hdf-color-border); border-radius:var(--hdf-radius-md); background:var(--hdf-color-surface); color:var(--hdf-color-text); font-weight:700; }
.hdf-template-commerce-home { padding-block:var(--hdf-section-spacing); }
.hdf-template-commerce-home__section + .hdf-template-commerce-home__section { margin-top:var(--hdf-section-spacing); }
.hdf-template-commerce-home__heading { display:flex; justify-content:space-between; gap:24px; align-items:end; margin-bottom:24px; }
.hdf-template-commerce-home__heading p { max-width:60ch; margin:0; color:var(--hdf-color-text-muted); }
.hdf-template-category-grid { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:12px; }
.hdf-template-category-grid a { display:flex; min-height:80px; align-items:center; justify-content:center; padding:14px; border:1px solid var(--hdf-color-border); border-radius:var(--hdf-radius-md); background:var(--hdf-color-surface); color:var(--hdf-color-text); font-weight:700; text-align:center; text-decoration:none; }
.hdf-template-product-grid { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:var(--hdc-archive-row-gap,16px) var(--hdc-archive-column-gap,12px); }

/* Electronics: dense department marketplace, crisp rows and compact cards. */
.hdf-header-composition--electronics-commercial .hdf-header-main__inner { grid-template-columns:minmax(260px,auto) minmax(360px,1fr) auto; }
.hdf-home-composition--electronics-department-grid .hyperdaf-home-hero { background:linear-gradient(120deg,var(--hdf-color-surface-subtle),var(--hdf-color-surface)); }
.hdf-home-composition--electronics-department-grid .hdf-template-hero__highlight { border-radius:0; }
.hdf-home-composition--electronics-department-grid .hdf-template-category-grid a { border-radius:0; }
.hdf-blog-composition--electronics-guides .content-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
.hdf-footer-composition--electronics-service .footer-main__inner { grid-template-columns:minmax(260px,1.1fr) 3fr; }

/* Medicine: calm trust-led header, readable information and softer catalog geometry. */
.hdf-header-composition--medicine-trust .site-header { border-radius:0 0 var(--hdf-radius-md) var(--hdf-radius-md); overflow:visible; }
.hdf-header-composition--medicine-trust .hdf-header-navigation__inner { grid-template-columns:minmax(190px,.8fr) 2fr minmax(190px,.8fr); }
.hdf-home-composition--medicine-care-path .hyperdaf-home-hero { background:var(--hdf-color-surface-subtle); }
.hdf-home-composition--medicine-care-path .hyperdaf-home-hero__inner { grid-template-columns:1.15fr .85fr; }
.hdf-home-composition--medicine-care-path .hdf-template-hero__highlight,.hdf-home-composition--medicine-care-path .hdf-template-category-grid a { border-radius:var(--hdf-radius-md); }
.hdf-home-composition--medicine-care-path .hdf-template-category-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
.hdf-page-composition--medicine-readable .entry-content { max-width:820px; }
.hdf-blog-composition--medicine-wellness .content-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
.hdf-footer-composition--medicine-guidance .footer-main__inner { grid-template-columns:minmax(300px,1fr) 2.2fr; }

/* Furniture: editorial showroom, large media and room-led spacing. */
.hdf-header-composition--furniture-editorial .hdf-header-topbar { display:none; }
.hdf-header-composition--furniture-editorial .hdf-header-main__inner { grid-template-columns:minmax(300px,.85fr) minmax(440px,1.4fr) auto; }
.hdf-header-composition--furniture-editorial .hdf-header-navigation { border-top:var(--hdf-border-width) solid var(--hdf-color-border); }
.hdf-home-composition--furniture-room-story .hyperdaf-home-hero { background:var(--hdf-color-surface-subtle); }
.hdf-home-composition--furniture-room-story .hyperdaf-home-hero__inner { grid-template-columns:.9fr 1.1fr; min-height:560px; }
.hdf-home-composition--furniture-room-story .hdf-template-hero__visual { grid-template-columns:1.3fr .7fr; }
.hdf-home-composition--furniture-room-story .hdf-template-hero__highlight { min-height:150px; border-radius:0; }
.hdf-home-composition--furniture-room-story .hdf-template-category-grid { grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; }
.hdf-home-composition--furniture-room-story .hdf-template-category-grid a { min-height:130px; align-items:flex-end; justify-content:flex-start; padding:24px; border-radius:0; }
.hdf-blog-composition--furniture-inspiration .content-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:40px; }
.hdf-page-composition--furniture-editorial .entry-content { font-size:1.04em; }
.hdf-footer-composition--furniture-showroom .footer-main__inner { grid-template-columns:1.2fr 2fr; gap:64px; }

/* Universal: campaign-oriented multi-category marketplace. */
.hdf-header-composition--universal-marketplace .site-header { overflow:visible; border-radius:0 0 var(--hdf-header-shell-bottom-radius) var(--hdf-header-shell-bottom-radius); }
.hdf-home-composition--universal-campaign-grid .hyperdaf-home-hero { background:var(--hdf-color-surface-subtle); }
.hdf-home-composition--universal-campaign-grid .hdf-template-hero__highlight,.hdf-home-composition--universal-campaign-grid .hdf-template-category-grid a { border-radius:var(--hdf-radius-lg); }
.hdf-home-composition--universal-campaign-grid .hdf-template-category-grid { grid-template-columns:repeat(6,minmax(0,1fr)); }
.hdf-blog-composition--universal-stories .content-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
.hdf-footer-composition--universal-directory .footer-main__inner { grid-template-columns:minmax(260px,1fr) 3fr; }

@media (max-width:1140px) {
 .hdf-template-product-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
 .hdf-template-category-grid,.hdf-home-composition--universal-campaign-grid .hdf-template-category-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
 .hdf-home-composition--furniture-room-story .hyperdaf-home-hero__inner,.hdf-home-composition--medicine-care-path .hyperdaf-home-hero__inner { grid-template-columns:1fr; }
 .hdf-header-composition--furniture-editorial .hdf-header-topbar { display:none; }
}
@media (max-width:720px) {
 .hdf-template-hero__visual { grid-template-columns:1fr 1fr; min-height:auto; }
 .hdf-template-hero__highlight { min-height:78px; padding:12px; }
 .hdf-template-category-grid,.hdf-home-composition--medicine-care-path .hdf-template-category-grid,.hdf-home-composition--furniture-room-story .hdf-template-category-grid,.hdf-home-composition--universal-campaign-grid .hdf-template-category-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
 .hdf-template-product-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .hdf-template-commerce-home__heading { display:block; }
 .hdf-home-composition--furniture-room-story .hdf-template-category-grid a { min-height:90px; padding:16px; }
}
@media (max-width:480px) { .hdf-template-product-grid { grid-template-columns:1fr; } }

/* Page composition continuations: each profile carries its identity beyond the home page. */
.hdf-page-composition--electronics-clean .site-main > .hyperdaf-container,
.hdf-page-composition--electronics-clean .entry-content { max-width:var(--hdf-page-wide-width); }
.hdf-page-composition--electronics-clean .entry-content > h2 { border-block-end:var(--hdf-border-width) solid var(--hdf-color-border); padding-block-end:10px; }
.hdf-page-composition--universal-modular .entry-content > .wp-block-group,
.hdf-page-composition--universal-modular .entry-content > .wp-block-columns { border:var(--hdf-border-width) solid var(--hdf-color-border); border-radius:var(--hdf-radius-lg); padding:clamp(18px,3vw,32px); background:var(--hdf-color-surface); }
.hdf-page-composition--universal-modular .entry-content > * + .wp-block-group,
.hdf-page-composition--universal-modular .entry-content > * + .wp-block-columns { margin-block-start:var(--hdf-section-spacing); }
.hdf-product-composition--electronics-specification .woocommerce-tabs,
.hdf-product-composition--medicine-information .woocommerce-tabs,
.hdf-product-composition--furniture-detail .woocommerce-tabs,
.hdf-product-composition--universal-commerce .woocommerce-tabs { margin-block-start:var(--hdf-section-spacing); }

/* ===== components/breadcrumbs.css ===== */
.hdf-breadcrumbs,
.woocommerce .woocommerce-breadcrumb {
    box-sizing: border-box;
    margin: 0;
    border: 0;
    background: var(--hdf-breadcrumb-background);
    color: var(--hdf-breadcrumb-text);
    font-family: var(--hdf-font-ui);
    font-size: var(--hdf-breadcrumb-font-size);
    line-height: 1.35;
}

.hdf-breadcrumbs__inner,
.woocommerce .woocommerce-breadcrumb {
    width: min(
        calc(100% - var(--hdf-page-padding-left) - var(--hdf-page-padding-right)),
        var(--hdf-page-wide-width)
    );
    margin-inline: auto;
    padding-block: var(--hdf-breadcrumb-padding-y);
}

.hdf-breadcrumbs--contained .hdf-breadcrumbs__inner {
    max-width: var(--hdf-page-content-width);
}

.hdf-breadcrumbs--narrow .hdf-breadcrumbs__inner {
    max-width: var(--hdf-page-narrow-width);
}

.hdf-breadcrumbs--wide .hdf-breadcrumbs__inner {
    max-width: var(--hdf-page-wide-width);
}

.hdf-breadcrumbs--container .hdf-breadcrumbs__inner {
    width: min(calc(100% - var(--hdf-page-gutter)), var(--hdf-container));
    max-width: var(--hdf-container);
}

.hdf-breadcrumbs--full .hdf-breadcrumbs__inner {
    width: 100%;
    max-width: none;
    padding-inline: var(--hdf-page-padding-left) var(--hdf-page-padding-right);
}

.hdf-breadcrumbs ol {
    display: flex;
    min-width: 0;
    flex-wrap: wrap;
    align-items: center;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.hdf-breadcrumbs li {
    display: inline-flex;
    min-width: 0;
    align-items: center;
}

.hdf-breadcrumbs a,
.woocommerce .woocommerce-breadcrumb a {
    color: var(--hdf-breadcrumb-link);
    text-decoration: none;
}

.hdf-breadcrumbs a:hover,
.hdf-breadcrumbs a:focus-visible,
.woocommerce .woocommerce-breadcrumb a:hover,
.woocommerce .woocommerce-breadcrumb a:focus-visible {
    color: var(--hdf-breadcrumb-link-hover);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.hdf-breadcrumbs__separator {
    margin-inline: 9px;
    color: color-mix(in srgb, var(--hdf-breadcrumb-text) 54%, transparent);
}

.hdf-breadcrumbs__current {
    display: block;
    max-width: min(54vw, 520px);
    overflow: hidden;
    color: var(--hdf-breadcrumb-text);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.woocommerce .woocommerce-breadcrumb {
    display: block;
}


body.hdf-has-breadcrumbs .site-main,
body.hdf-has-breadcrumbs .hdf-page {
    padding-block-start: clamp(24px, 3vw, 32px);
}

body.hyperdaf-commerce-product-archive.woocommerce .woocommerce-breadcrumb,
body.hyperdaf-commerce-product-archive .woocommerce .woocommerce-breadcrumb {
    width: min(
        calc(100% - (var(--hdc-archive-page-gutter, var(--hdf-page-padding-left)) * 2)),
        var(--hdc-archive-page-width, var(--hdf-page-wide-width))
    );
    max-width: none;
    margin: 0 auto;
    border: 0;
}

@media (max-width: 1060px) {
    .hdf-breadcrumbs__inner,
    .woocommerce .woocommerce-breadcrumb {
        width: min(
            calc(100% - var(--hdf-page-tablet-padding-left) - var(--hdf-page-tablet-padding-right)),
            var(--hdf-page-wide-width)
        );
    }

    .hdf-breadcrumbs--full .hdf-breadcrumbs__inner {
        width: 100%;
        padding-inline: var(--hdf-page-tablet-padding-left) var(--hdf-page-tablet-padding-right);
    }
}

@media (max-width: 782px) {
    .hdf-breadcrumbs__inner,
    .woocommerce .woocommerce-breadcrumb {
        width: min(
            calc(100% - var(--hdf-page-mobile-padding-left) - var(--hdf-page-mobile-padding-right)),
            var(--hdf-page-wide-width)
        );
    }

    .hdf-breadcrumbs--full .hdf-breadcrumbs__inner {
        width: 100%;
        padding-inline: var(--hdf-page-mobile-padding-left) var(--hdf-page-mobile-padding-right);
    }

    .hdf-breadcrumbs__current {
        max-width: 62vw;
    }
}


.woocommerce .woocommerce-breadcrumb,
body.woocommerce .woocommerce-breadcrumb {
    border: 0;
}


@media (max-width: 1060px) {
    .hdf-breadcrumbs--container .hdf-breadcrumbs__inner {
        width: min(calc(100% - var(--hdf-page-gutter)), var(--hdf-container));
        max-width: var(--hdf-container);
    }

    body.hyperdaf-commerce-product-archive.woocommerce .woocommerce-breadcrumb,
    body.hyperdaf-commerce-product-archive .woocommerce .woocommerce-breadcrumb {
        width: min(
            calc(100% - (var(--hdc-archive-page-gutter, var(--hdf-page-tablet-padding-left)) * 2)),
            var(--hdc-archive-page-width, var(--hdf-page-wide-width))
        );
    }
}

@media (max-width: 782px) {
    .hdf-breadcrumbs--container .hdf-breadcrumbs__inner {
        width: min(calc(100% - var(--hdf-page-gutter)), var(--hdf-container));
        max-width: var(--hdf-container);
    }

    body.hyperdaf-commerce-product-archive.woocommerce .woocommerce-breadcrumb,
    body.hyperdaf-commerce-product-archive .woocommerce .woocommerce-breadcrumb {
        width: min(
            calc(100% - (var(--hdc-archive-page-gutter, var(--hdf-page-mobile-padding-left)) * 2)),
            var(--hdc-archive-page-width, var(--hdf-page-wide-width))
        );
    }
}

/* Shop-only breadcrumb rhythm: keep the recommended header-to-breadcrumb
 * padding, remove the document-title reserve, and hand the archive surface
 * directly to HyperDAF Commerce. */
body.woocommerce-shop.hdf-has-breadcrumbs .site-main,
body.woocommerce-shop.hdf-has-breadcrumbs .hdf-page {
    padding-block-start: 0;
}

body.woocommerce-shop.woocommerce .woocommerce-breadcrumb,
body.woocommerce-shop .woocommerce .woocommerce-breadcrumb {
    margin-block: 0;
    padding-block: clamp(10px, 1vw, 14px);
}

/* Single Product consumes the public Commerce spacing bridge: a compact
 * header-to-breadcrumb gap plus an independent lower gap keeps the native
 * breadcrumb clear of both the Product Sidebar and media surface. */
body.hdc-single-product-page.hdf-has-breadcrumbs .site-main,
body.hdc-single-product-page.hdf-has-breadcrumbs .hdf-page {
    padding-block-start: var(--hdc-single-breadcrumb-top-gap, 5px);
}

body.hdc-single-product-page.woocommerce .woocommerce-breadcrumb,
body.hdc-single-product-page .woocommerce .woocommerce-breadcrumb {
    margin-block: 0 var(--hdc-single-breadcrumb-bottom-gap, 12px);
    padding-block: 0;
}

/* ===== components/footer/shell.css ===== */
.site-footer {
    position: relative;
    margin-top: auto;
    outline: var(--hdf-raised-edge-width) solid var(--hdf-raised-edge-outline);
    outline-offset: 0;
    border: var(--hdf-raised-edge-width) solid var(--hdf-raised-edge-border);
    border-block-start-color: var(--hdf-raised-edge-light);
    border-inline-start-color: var(--hdf-raised-edge-light);
    border-block-end: var(--hdf-raised-edge-depth-width) solid var(--hdf-raised-edge-dark);
    border-inline-end: var(--hdf-raised-edge-depth-width) solid var(--hdf-raised-edge-dark);
    background: var(--hdf-footer-background);
    color: var(--hdf-footer-text);
    font-family: var(--hdf-font-body);
}

.site-footer a {
    color: var(--hdf-footer-link);
}

.site-footer a:hover,
.site-footer a:focus-visible {
    color: var(--hdf-footer-link-hover);
}

/* ===== components/footer/support-newsletter.css ===== */
.footer-support-newsletter {
    position: relative;
    min-height: var(--hdf-support-height);
    border: 0;
    background: var(--hdf-color-primary);
    color: var(--hdf-color-on-primary);
}


.footer-support-newsletter__inner {
    display: grid;
    min-height: inherit;
    align-items: center;
    grid-template-columns: minmax(280px, 1fr) minmax(390px, 610px);
    gap: clamp(28px, 5vw, 74px);
    padding-block: clamp(18px, 2.2vw, 28px);
}

.footer-support-newsletter__message {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 16px;
}

.footer-support-newsletter__icon {
    display: grid;
    width: 46px;
    height: 46px;
    flex: 0 0 auto;
    place-items: center;
    border: var(--hdf-border-width) solid color-mix(in srgb, var(--hdf-color-on-primary) 58%, transparent);
    border-radius: 50%;
    color: var(--hdf-color-on-primary);
    font-size: 22px;
}

.footer-support-newsletter__icon svg,
.footer-newsletter__field-icon svg,
.footer-newsletter__privacy svg {
    width: 1em;
    height: 1em;
}

.footer-support-newsletter__copy h2 {
    margin: 0;
    color: var(--hdf-color-on-primary);
    font-family: var(--hdf-font-heading);
    font-size: clamp(1.05rem, 1.45vw, 1.3rem);
    font-weight: 650;
    letter-spacing: -.01em;
    line-height: 1.15;
}

.footer-support-newsletter__copy p {
    max-width: 58ch;
    margin: 5px 0 0;
    color: color-mix(in srgb, var(--hdf-color-on-primary) 90%, transparent);
    font-family: var(--hdf-font-body);
    font-size: clamp(.82rem, .95vw, .92rem);
    line-height: 1.45;
}

.footer-newsletter {
    min-width: 0;
}

.footer-newsletter__form {
    position: relative;
    display: grid;
    min-width: 0;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    border: var(--hdf-border-width) solid color-mix(in srgb, var(--hdf-color-on-primary) 64%, transparent);
    border-radius: calc(var(--hdf-input-radius) + 2px);
    background: var(--hdf-color-on-primary);
    overflow: hidden;
}

.footer-newsletter__field-icon {
    display: grid;
    width: 44px;
    height: 46px;
    place-items: center;
    color: var(--hdf-color-muted);
    font-size: 18px;
}

.footer-newsletter__form input[type="email"] {
    width: 100%;
    min-width: 0;
    height: 46px;
    padding: 0 10px 0 2px;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--hdf-color-text);
    font-family: var(--hdf-font-ui);
    font-size: .9rem;
}

.footer-newsletter__form input[type="email"]:focus {
    border: 0;
    outline: 0;
}

.footer-newsletter__form button {
    display: inline-flex;
    min-width: 120px;
    height: 46px;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding-inline: 20px;
    border: 0;
    border-inline-start: var(--hdf-border-width) solid color-mix(in srgb, var(--hdf-color-primary) 28%, transparent);
    border-radius: 0;
    background: var(--hdf-color-primary-hover);
    color: var(--hdf-color-on-primary);
    font-family: var(--hdf-font-ui);
    font-size: .88rem;
    font-weight: 650;
}

.footer-newsletter__form button:hover,
.footer-newsletter__form button:focus-visible {
    background: color-mix(in srgb, var(--hdf-color-primary-hover) 86%, #000000);
    color: var(--hdf-color-on-primary);
}

.footer-newsletter__form button span {
    font-size: 15px;
}

.footer-newsletter__privacy,
.footer-newsletter__status {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 8px 0 0;
    color: color-mix(in srgb, var(--hdf-color-on-primary) 92%, transparent);
    font-size: .75rem;
    line-height: 1.35;
}

.footer-newsletter__privacy span {
    font-size: 14px;
}

.footer-newsletter__honeypot {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
}

/* Compact support/newsletter accordion shell. Desktop remains expanded. */
.footer-support-newsletter__toggle {
    display: none;
}

.footer-support-newsletter__panel {
    display: block;
}

@media (max-width: 1140px) {
    .footer-support-newsletter {
        min-height: 0;
        padding: 8px 12px;
        box-sizing: border-box;
    }

    .footer-support-newsletter__toggle {
        position: relative;
        display: flex;
        width: 100%;
        min-height: 44px;
        align-items: center;
        justify-content: center;
        gap: 10px;
        padding: 0 12px;
        border: 0;
        border-radius: 8px;
        background: var(--hdf-color-on-primary);
        color: var(--hdf-color-text);
        font-family: var(--hdf-font-heading);
        font-size: .78rem;
        font-weight: 700;
        letter-spacing: .02em;
        text-transform: uppercase;
    }

    .footer-support-newsletter__toggle > span:last-child {
        position: absolute;
        top: 50%;
        inset-inline-end: 10px;
        display: grid;
        width: 24px;
        height: 24px;
        place-items: center;
        border: var(--hdf-border-width) solid var(--hdf-color-border);
        border-radius: 50%;
        color: var(--hdf-color-text);
        transform: translateY(-50%);
        transition: transform var(--hdf-transition);
    }

    .footer-support-newsletter__toggle > span:last-child svg {
        width: 13px;
        height: 13px;
    }

    .footer-support-newsletter.is-open .footer-support-newsletter__toggle > span:last-child {
        transform: translateY(-50%) rotate(180deg);
    }

    .footer-support-newsletter__panel {
        display: none;
    }

    .footer-support-newsletter.is-open .footer-support-newsletter__panel {
        display: block;
    }

    .footer-support-newsletter__inner {
        width: 100%;
        max-width: 100%;
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 14px 0 4px;
        box-sizing: border-box;
    }

    .footer-support-newsletter__message {
        gap: 12px;
    }

    .footer-support-newsletter__icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .footer-newsletter__privacy {
        gap: 0;
    }
}

/* ===== components/footer/main.css ===== */
.footer-main {
    padding-block: var(--hdf-space-10);
    border: 0;
    background: var(--hdf-footer-background);
}

.footer-main__inner {
    display: grid;
    align-items: start;
    grid-template-columns: minmax(240px, 1.3fr) minmax(0, 3.7fr);
    gap: clamp(34px, 4.5vw, 70px);
}

/* ===== components/footer/brand.css ===== */
.footer-brand {
    min-width: 0;
}

.footer-brand__top-row {
    display: block;
    min-width: 0;
}

.footer-branding {
    min-height: 54px;
}

.footer-branding__custom-logo,
.footer-branding__custom-logo a,
.footer-branding__identity {
    display: inline-flex;
    max-width: 100%;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.footer-branding__custom-logo img {
    display: block;
    width: auto;
    max-width: 210px;
    max-height: 62px;
    object-fit: contain;
}

.footer-branding__favicon,
.footer-branding__mark {
    display: grid;
    width: 54px;
    height: 54px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 10px;
    object-fit: cover;
}

.footer-branding__mark {
    background: var(--hdf-color-primary);
    color: var(--hdf-color-on-primary);
    font-family: var(--hdf-font-heading);
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-branding__copy {
    display: grid;
    min-width: 0;
}

.footer-branding__copy small {
    justify-self: start;
    color: var(--hdf-color-primary-hover);
    font-family: var(--hdf-font-ui);
    font-size: .66rem;
    font-weight: 650;
    letter-spacing: .08em;
    line-height: 1;
    text-transform: uppercase;
}

.footer-branding__copy strong {
    overflow: hidden;
    color: var(--hdf-footer-text);
    font-family: var(--hdf-font-heading);
    font-size: clamp(1.3rem, 2vw, 1.72rem);
    font-weight: 650;
    line-height: 1.1;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.footer-contact {
    display: inline-flex;
    max-width: 100%;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
    text-decoration: none;
    cursor: default;
}

.footer-contact__icon {
    display: grid;
    width: 40px;
    height: 40px;
    flex: 0 0 auto;
    place-items: center;
    border: var(--hdf-border-width) solid color-mix(in srgb, var(--hdf-color-primary) 46%, var(--hdf-color-border));
    border-radius: 50%;
    color: var(--hdf-color-primary-hover);
    font-size: 18px;
}

.footer-contact__icon svg {
    width: 1em;
    height: 1em;
}

.footer-contact__copy {
    display: grid;
    min-width: 0;
    gap: 2px;
}

.footer-contact__copy strong {
    color: var(--hdf-footer-text);
    font-size: .88rem;
    font-weight: 650;
    line-height: 1.2;
}

.footer-contact__copy span {
    color: var(--hdf-footer-link);
    font-size: .85rem;
    line-height: 1.2;
}

.footer-contact:hover .footer-contact__icon,
.footer-contact:focus-visible .footer-contact__icon {
    border-color: var(--hdf-color-primary-hover);
    background: var(--hdf-color-primary);
    color: var(--hdf-color-on-primary);
}

.footer-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.footer-socials a {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border: var(--hdf-border-width) solid var(--hdf-color-border-strong);
    border-radius: 50%;
    outline: 0 solid transparent;
    outline-offset: 0;
    background: var(--hdf-footer-background);
    color: var(--hdf-footer-link);
    font-size: 15px;
    line-height: 1;
    text-decoration: none;
    transition: background-color var(--hdf-transition), border-color var(--hdf-transition), color var(--hdf-transition), outline-color var(--hdf-transition), outline-width var(--hdf-transition), outline-offset var(--hdf-transition), transform var(--hdf-transition);
}

.footer-socials a svg {
    display: block;
    width: 1em;
    height: 1em;
}

.footer-socials a:hover,
.footer-socials a:focus-visible {
    border-color: var(--hdf-color-primary);
    outline: 2px solid color-mix(in srgb, var(--hdf-color-primary) 34%, transparent);
    outline-offset: 3px;
    background: var(--hdf-color-primary);
    color: var(--hdf-color-on-primary);
    transform: translateY(-1px);
}

.footer-brand__description {
    max-width: 34ch;
    margin: 16px 0 0;
    color: color-mix(in srgb, var(--hdf-footer-text) 76%, transparent);
    font-size: .88rem;
    line-height: 1.58;
}

.footer-brand__mobile-heading { display:none; }

/* ===== components/footer/menus.css ===== */
.footer-menu-columns {
    display: grid;
    min-width: 0;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(22px, 3vw, 46px);
}

.footer-menu-column {
    min-width: 0;
}

.footer-menu-column__heading {
    position: relative;
    margin: 0 0 14px;
    padding-bottom: 11px;
    color: var(--hdf-footer-text);
    font-family: var(--hdf-font-heading);
    font-size: .88rem;
    font-weight: 650;
    letter-spacing: .06em;
    text-transform: uppercase;
    line-height: 1.2;
}

.footer-menu-column__heading::after {
    position: absolute;
    bottom: 0;
    inset-inline-start: 0;
    width: 24px;
    height: 2px;
    background: var(--hdf-color-primary);
    content: "";
}

.footer-menu-column__toggle {
    display: none;
}

.footer-menu,
.footer-menu ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-menu li + li {
    margin-top: 5px;
}

.footer-menu a {
    display: inline;
    color: var(--hdf-footer-link);
    font-size: .88rem;
    line-height: 1.35;
    text-decoration: none;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.footer-menu a::before {
    display: none;
    content: none;
}

.footer-menu a:hover,
.footer-menu a:focus-visible,
.footer-menu .current-menu-item > a {
    color: var(--hdf-footer-text);
    text-decoration: underline;
}

/* ===== components/footer/bottom.css ===== */
.footer-bottom {
    padding-block: 8px;
    border-top: var(--hdf-border-width) solid var(--hdf-color-border-strong);
    background: var(--hdf-footer-background);
    color: color-mix(in srgb, var(--hdf-footer-text) 72%, transparent);
    font-size: .78rem;
}

.footer-bottom__inner {
    display:flex;
    min-height:24px;
    align-items:center;
    justify-content:center;
    text-align:center;
}

.footer-bottom__copyright { margin:0; }
.footer-bottom__copyright a { color:inherit;text-decoration:none; }
.footer-bottom__copyright a:hover,.footer-bottom__copyright a:focus-visible { color:var(--hdf-footer-text);text-decoration:underline;text-underline-offset:3px; }

.footer-back-to-top {
    position:fixed;
    z-index:170;
    right:clamp(14px, 2vw, 28px);
    bottom:clamp(14px, 2vw, 28px);
    display:grid;
    width:44px;
    height:44px;
    place-items:center;
    padding:0;
    border:var(--hdf-border-width) solid var(--hdf-color-border-strong);
    border-radius:50%;
    background:var(--hdf-footer-background);
    color:var(--hdf-footer-text);
    box-shadow:none;
    cursor:pointer;
}
.footer-back-to-top[hidden] { display:none; }
.footer-back-to-top span:first-child { display:grid;place-items:center;font-size:19px; }
.footer-back-to-top svg { width:1em;height:1em; }
.footer-back-to-top:hover,.footer-back-to-top:focus-visible { border-color:var(--hdf-color-primary);background:var(--hdf-color-primary);color:var(--hdf-color-on-primary);outline:0;box-shadow:none; }

/* ===== components/footer/responsive.css ===== */
/* Compact tablet/mobile footer uses one stacked composition and one accordion network. */
@media (max-width: 1140px) {
    .footer-support-newsletter__inner {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .footer-main {
        padding-block: 24px 20px;
    }

    .footer-main__inner {
        display: flex;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        align-items: stretch;
        flex-direction: column;
        gap: 14px;
        padding-inline: var(--hdf-footer-mobile-padding-x, 16px);
        box-sizing: border-box;
    }

    .footer-brand {
        display: flex;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        flex-direction: column;
        gap: 12px;
    }

    .footer-brand__top-row {
        display: grid;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        grid-template-columns: minmax(0, 1fr) max-content;
        align-items: center;
        justify-content: stretch;
        column-gap: clamp(12px, 3vw, 28px);
    }

    .footer-branding {
        min-width: 0;
        min-height: 0;
    }

    .footer-branding__favicon,
    .footer-branding__mark {
        width: 44px;
        height: 44px;
    }

    .footer-branding__copy strong {
        max-width: 34vw;
        font-size: 1.34rem;
    }

    .footer-contact {
        width: max-content;
        max-width: min(48vw, 310px);
        justify-self: end;
        margin-top: 0;
        margin-inline-start: auto;
        gap: 12px;
    }

    .footer-contact__copy {
        text-align: start;
    }

    .footer-contact__icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .footer-contact__copy strong {
        font-size: .88rem;
    }

    .footer-contact__copy span {
        font-size: .85rem;
    }

    .footer-brand__mobile-heading {
        display: block;
        margin: 4px 0 0;
        color: var(--hdf-footer-text);
        font-family: var(--hdf-font-heading);
        font-size: 1rem;
        font-weight: 700;
        line-height: 1.2;
    }

    .footer-brand__description {
        max-width: none;
        margin: 0;
        font-size: .87rem;
        line-height: 1.55;
    }

    .footer-socials {
        gap: 8px;
        margin-top: 0;
    }

    .footer-socials a {
        width: var(--hdf-footer-mobile-social-size, 36px);
        height: var(--hdf-footer-mobile-social-size, 36px);
        border-radius: 8px;
    }

    .footer-menu-columns {
        display: flex;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        align-self: stretch;
        flex-direction: column;
        gap: var(--hdf-footer-mobile-menu-gap, 6px);
        order: 2;
        border-top: 0;
    }

    .footer-menu-column,
    .footer-menu-column__toggle,
    .footer-menu-column__panel {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }

    .footer-menu-column {
        display: block;
        width: 100%;
        max-width: none;
        min-width: 0;
        flex: 0 0 auto;
        align-self: stretch;
        border-bottom: 0;
    }

    .footer-menu-column__heading {
        display: none;
    }

    .footer-menu-column__toggle {
        display: flex;
        min-height: 42px;
        align-items: center;
        justify-content: space-between;
        padding: 0 10px;
        border: var(--hdf-border-width) solid var(--hdf-color-border);
        border-radius: var(--hdf-footer-mobile-menu-radius, 9px);
        background: var(--hdf-color-surface, #FFFFFF);
        color: var(--hdf-footer-text);
        font-family: var(--hdf-font-heading);
        font-size: .78rem;
        font-weight: 700;
        letter-spacing: .02em;
        text-transform: uppercase;
    }

    .footer-menu-column__toggle span:last-child {
        display: grid;
        width: 24px;
        height: 24px;
        place-items: center;
        border: var(--hdf-border-width) solid var(--hdf-color-border);
        border-radius: 50%;
        font-size: 13px;
        transition: transform var(--hdf-transition);
    }

    .footer-menu-column__toggle[aria-expanded="true"] span:last-child {
        transform: rotate(180deg);
    }

    .footer-menu-column__panel {
        display: none;
        margin-top: -1px;
        padding: 12px;
        border: var(--hdf-border-width) solid var(--hdf-color-border);
        border-top: 0;
        border-radius: 0 0 var(--hdf-footer-mobile-menu-radius, 9px) var(--hdf-footer-mobile-menu-radius, 9px);
        background: var(--hdf-color-surface, #FFFFFF);
    }

    .footer-menu-column.is-open .footer-menu-column__toggle {
        border-radius: var(--hdf-footer-mobile-menu-radius, 9px) var(--hdf-footer-mobile-menu-radius, 9px) 0 0;
    }

    .footer-menu-column.is-open .footer-menu-column__panel {
        display: block;
    }

    .footer-bottom__inner {
        width: 100%;
        max-width: 100%;
        align-items: center;
        flex-direction: row;
        justify-content: center;
        text-align: center;
    }

    .footer-bottom__copyright {
        width: 100%;
        text-align: center;
    }

    .footer-back-to-top {
        width: var(--hdf-footer-mobile-back-to-top-size, 44px);
        height: var(--hdf-footer-mobile-back-to-top-size, 44px);
        border-color: var(--hdf-color-primary);
        background: var(--hdf-color-primary);
        color: var(--hdf-color-on-primary);
    }
}

@media (max-width: 520px) {
    .footer-newsletter__form {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .footer-newsletter__form button {
        grid-column: 1 / -1;
        width: 100%;
        border-top: var(--hdf-border-width) solid color-mix(in srgb, var(--hdf-color-primary) 26%, transparent);
        border-inline-start: 0;
    }

    .footer-brand {
        gap: 10px;
    }

    .footer-brand__top-row {
        grid-template-columns: minmax(0, 1fr) max-content;
        column-gap: 8px;
    }

    .footer-branding__custom-logo,
    .footer-branding__custom-logo a,
    .footer-branding__identity {
        gap: 8px;
    }

    .footer-branding__favicon,
    .footer-branding__mark {
        width: 40px;
        height: 40px;
    }

    .footer-branding__copy strong {
        max-width: 104px;
        font-size: 1.05rem;
    }

    .footer-contact {
        gap: 7px;
    }

    .footer-contact__icon {
        width: 34px;
        height: 34px;
        font-size: 16px;
    }

    .footer-contact__copy strong,
    .footer-contact__copy span {
        font-size: .7rem;
    }

    .footer-contact {
        max-width: 46vw;
    }

    .footer-contact__copy {
        min-width: 0;
    }

    .footer-contact__copy strong,
    .footer-contact__copy span {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}

/* ===== components/header/shell.css ===== */
.site-header {
    position: relative;
    z-index: 80;
    overflow: visible;
    border-bottom: var(--hdf-border-width) solid var(--hdf-header-border);
    border-radius: 0 0 var(--hdf-header-shell-bottom-radius) var(--hdf-header-shell-bottom-radius);
    background: var(--hdf-header-main-background);
    color: var(--hdf-header-main-text);
}


/* Public header slots may render dropdown layers. Header geometry remains
 * Theme-owned, while extension panels must not be clipped by row shells. */
.site-header .hdf-header-main,
.site-header .hdf-header-main__inner,
.site-header .hdf-header-main__actions,
.site-header [data-hdf-header-slot] {
    overflow: visible;
}

/* One public site-frame contract. Header width mode resolves these tokens once;
 * first-party page/Commerce surfaces consume them instead of inventing widths. */
body.hdf-header-width-full {
    --hdf-site-frame-width: calc(100% - var(--hdf-site-frame-gutter, 10px));
}

body.hdf-header-width-contained {
    --hdf-site-frame-width: min(calc(100% - var(--hdf-site-frame-gutter, 10px)), var(--hdf-container));
}

body.hdf-header-width-custom {
    --hdf-site-frame-width: min(calc(100% - var(--hdf-site-frame-gutter, 10px)), var(--hdf-header-custom-width));
}

.site-header--sticky {
    position: sticky;
    top: 0;
}

.admin-bar .site-header--sticky {
    top: 32px;
}

.site-header .hdf-header-topbar__inner,
.site-header .hdf-header-main__inner,
.site-header .hdf-header-navigation__inner {
    box-sizing: border-box;
    max-width: none;
    margin-inline: auto;
}

.site-header .hdf-header-topbar__inner,
.site-header .hdf-header-main__inner,
.site-header .hdf-header-navigation__inner {
    width: var(--hdf-site-frame-width, calc(100% - 10px));
}

.hdf-header-topbar__inner {
    padding-inline: var(--hdf-header-top-padding-x);
}

.hdf-header-main__inner {
    padding-inline: var(--hdf-header-main-padding-x);
}

.hdf-header-navigation__inner {
    padding-inline: var(--hdf-header-nav-padding-x);
}

.site-header svg {
    display: block;
    width: 1em;
    height: 1em;
}

.site-header button,
.site-header a {
    -webkit-tap-highlight-color: transparent;
}

.site-header.is-scrolled {
    border-bottom-color: var(--hdf-header-border-strong);
}

@media (max-width: 1060px) {
    body {
        --hdf-site-frame-padding-x: var(--hdf-header-tablet-padding-x, 24px);
    }

    .site-header .hdf-header-topbar__inner,
    .site-header .hdf-header-main__inner,
    .site-header .hdf-header-navigation__inner {
        padding-inline: var(--hdf-header-tablet-padding-x);
    }
}

@media (max-width: 782px) {
    body {
        --hdf-site-frame-width: 100%;
        --hdf-site-frame-padding-x: var(--hdf-header-mobile-padding-x, 12px);
    }

    .site-header .hdf-header-topbar__inner,
    .site-header .hdf-header-main__inner,
    .site-header .hdf-header-navigation__inner {
        width: 100%;
        max-width: 100%;
        padding-inline: var(--hdf-header-mobile-padding-x, 12px);
    }
}


/* Desktop commercial row separation uses only crisp border layers.
 * No shadow, blur or glow is part of the Header DNA.
 */
@media (min-width: 1141px) {
    .hdf-header-topbar,
    .hdf-header-main,
    .hdf-header-navigation {
        position: relative;
    }

    .hdf-header-topbar {
        border-bottom-color: var(--hdf-header-border-strong);
    }

    .hdf-header-topbar::after {
        position: absolute;
        right: 0;
        bottom: -2px;
        left: 0;
        height: 1px;
        background: color-mix(in srgb, var(--hdf-header-main-background) 82%, var(--hdf-header-border-strong));
        content: "";
        pointer-events: none;
    }

    .hdf-header-main {
        border-bottom-color: color-mix(in srgb, var(--hdf-header-border) 72%, var(--hdf-header-border-strong));
    }

    .hdf-header-main::after {
        position: absolute;
        right: 0;
        bottom: -1px;
        left: 0;
        height: 1px;
        background: color-mix(in srgb, var(--hdf-header-main-background) 88%, var(--hdf-header-border));
        content: "";
        pointer-events: none;
    }

    .hdf-header-navigation {
        border-bottom: 2px solid var(--hdf-header-border-strong);
    }

    .hdf-header-navigation::after {
        position: absolute;
        right: 0;
        bottom: -3px;
        left: 0;
        height: 1px;
        background: color-mix(in srgb, var(--hdf-header-nav-background) 80%, var(--hdf-header-border-strong));
        content: "";
        pointer-events: none;
    }
}

/* ===== components/header/icons.css ===== */
.hdf-header-promo__icon,
.hdf-header-action__icon,
.hdf-header-search__submit > span[aria-hidden="true"],
.hdf-header-search__scope-placeholder > span[aria-hidden="true"],
.hdf-mobile-menu-toggle__icon,
.hdf-explore__menu-icon,
.hdf-explore__chevron,
.hdf-menu-link-icon {
    display: inline-grid;
    flex: 0 0 auto;
    place-items: center;
    line-height: 1;
}

.hdf-header-promo__icon svg,
.hdf-header-action__icon svg,
.hdf-header-search__submit svg,
.hdf-header-search__scope-placeholder svg,
.hdf-mobile-menu-toggle__icon svg,
.hdf-explore__menu-icon svg,
.hdf-explore__chevron svg,
.hdf-menu-link-icon svg {
    display: block;
    width: 1em;
    height: 1em;
    overflow: visible;
}

.hdf-menu-link-icon {
    width:1em;
    height:1em;
    color:currentColor;
    font-size:inherit;
}

.hdf-menu-link-label {
    min-width: 0;
}

.hdf-explore-menu a {
    gap: var(--hdf-space-3);
}

.hdf-header-search__leading-icon,
.hdf-header-support__icon,
.hdf-header-secure__icon {
    display: inline-grid;
    flex: 0 0 auto;
    place-items: center;
    line-height: 1;
}

.hdf-header-search__leading-icon svg,
.hdf-header-support__icon svg,
.hdf-header-secure__icon svg {
    display: block;
    width: 1em;
    height: 1em;
}

/* Normalize trusted package icons to the surrounding semantic color. */
.site-header svg [fill]:not([fill="none"]) {
    fill: currentColor;
}

.site-header svg [stroke]:not([stroke="none"]) {
    stroke: currentColor;
}

.site-header svg path:not([fill]):not([stroke]) {
    fill: currentColor;
}

/* The Theme Wishlist slot always renders the normal outline heart.
 * Saved-product state belongs to Commerce count/dropdown data, never the
 * Header icon geometry, fill or color. */
.site-header .hdf-header-action--favorites .hdf-header-icon--heart,
.site-header .hdf-header-action--favorites .hdf-header-icon--heart path {
    fill: none;
    stroke: currentColor;
}

.hdf-primary-menu .hdf-menu-link-icon {
    width:clamp(14px, calc(var(--hdf-header-nav-height) * .27), 20px);
    height:clamp(14px, calc(var(--hdf-header-nav-height) * .27), 20px);
    font-size:clamp(14px, calc(var(--hdf-header-nav-height) * .27), 20px);
}

/* ===== components/header/top-bar.css ===== */
.hdf-header-topbar {
    min-height: var(--hdf-header-top-height);
    border-bottom: var(--hdf-border-width) solid var(--hdf-header-border);
    background: var(--hdf-header-top-background);
    color: var(--hdf-header-top-text);
    font-family: var(--hdf-font-ui, Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
    font-size: clamp(10px, calc(var(--hdf-header-top-height) * .34), 14px);
    line-height: 1;
}

.hdf-header-topbar__inner {
    display: grid;
    min-height: inherit;
    align-items: center;
    grid-template-columns: minmax(180px, 1fr) auto minmax(360px, 1fr);
    gap: clamp(10px, calc(var(--hdf-header-top-height) * .55), 24px);
}

.hdf-header-topbar__nav--utility { justify-self: end; }
.hdf-top-menu { display:flex;align-items:center;margin:0;padding:0;list-style:none; }
.hdf-top-menu--social { gap:clamp(10px, calc(var(--hdf-header-top-height) * .36), 18px); }
.hdf-top-menu--utility { gap:0; }
.hdf-top-menu--utility li { display:flex;align-items:center; }
.hdf-top-menu--utility li + li::before {
    width:var(--hdf-border-width);
    height:clamp(12px, calc(var(--hdf-header-top-height) * .48), 18px);
    margin-inline:clamp(8px, calc(var(--hdf-header-top-height) * .35), 18px);
    background:var(--hdf-header-top-separator);
    content:"";
}
.hdf-top-menu a {
    display:inline-flex;
    align-items:center;
    gap:clamp(5px, calc(var(--hdf-header-top-height) * .2), 8px);
    padding-block:clamp(2px, calc(var(--hdf-header-top-height) * .08), 4px);
    color:var(--hdf-header-top-text);
    font-weight:500;
    text-decoration:none;
    white-space:nowrap;
}
.hdf-top-menu a:hover,.hdf-top-menu a:focus-visible { color:var(--hdf-header-top-link-hover); }
.hdf-top-menu--social .hdf-menu-link-icon,
.hdf-top-menu--utility .hdf-menu-link-icon {
    width:clamp(13px, calc(var(--hdf-header-top-height) * .45), 19px);
    height:clamp(13px, calc(var(--hdf-header-top-height) * .45), 19px);
    font-size:clamp(13px, calc(var(--hdf-header-top-height) * .45), 19px);
}
.hdf-top-menu--social .hdf-menu-link-label { position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap; }
.hdf-header-promo {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:clamp(5px, calc(var(--hdf-header-top-height) * .2), 8px);
    color:var(--hdf-header-promo-color);
    text-align:center;
    text-decoration:none;
    white-space:nowrap;
}
.hdf-header-promo strong { font-weight:650; }
.hdf-header-promo__note { color:var(--hdf-header-promo-note-color);font-weight:500; }
.hdf-header-promo__icon { font-size:clamp(13px, calc(var(--hdf-header-top-height) * .47), 20px); }

.hdf-top-menu--social {
    gap: clamp(12px, calc(var(--hdf-header-top-height) * .42), 18px);
}

.hdf-top-menu--utility .hdf-menu-link-icon {
    display: grid;
    place-items: center;
}

.hdf-top-menu--utility .hdf-menu-link-icon svg {
    width: 1em;
    height: 1em;
}

.hdf-top-menu--utility .hdf-menu-link-icon--dealers svg,
.hdf-top-menu--utility .hdf-menu-link-icon--track-order svg {
    width: 1em;
    height: 1em;
}


/* Utility icons scale from the owning top-row text size. Legacy keys resolve to the same visual box. */
.hdf-top-menu--utility .hdf-menu-link-icon--dealers,
.hdf-top-menu--utility .hdf-menu-link-icon--tag,
.hdf-top-menu--utility .hdf-menu-link-icon--track-order,
.hdf-top-menu--utility .hdf-menu-link-icon--shield-check {
    display: inline-grid;
    width: 1em;
    height: 1em;
    flex: 0 0 1em;
    place-items: center;
    overflow: visible;
    font-size: 1em;
}

.hdf-top-menu--utility .hdf-menu-link-icon--dealers svg,
.hdf-top-menu--utility .hdf-menu-link-icon--tag svg,
.hdf-top-menu--utility .hdf-menu-link-icon--track-order svg,
.hdf-top-menu--utility .hdf-menu-link-icon--shield-check svg {
    width: 1em;
    height: 1em;
}


.hdf-header-topbar__nav--utility { display:flex;align-items:center;gap:clamp(8px, calc(var(--hdf-header-top-height) * .28), 14px); }
.hdf-header-utility-controls { display:flex;align-items:center;gap:0; }
.hdf-header-utility-controls > * + *::before { display:inline-block;width:var(--hdf-border-width);height:clamp(12px, calc(var(--hdf-header-top-height) * .48), 18px);margin-inline:clamp(8px, calc(var(--hdf-header-top-height) * .35), 18px);background:var(--hdf-header-top-separator);content:"";vertical-align:middle; }
.hdf-utility-selector { position:relative;display:inline-flex;align-items:center;color:var(--hdf-header-top-text);font-family:var(--hdf-font-ui);font-size:inherit; }
.hdf-utility-selector > summary { display:inline-flex;align-items:center;gap:5px;padding-block:3px;color:inherit;font-weight:500;list-style:none;cursor:pointer;white-space:nowrap; }
.hdf-utility-selector > summary::-webkit-details-marker { display:none; }
.hdf-utility-selector > summary:hover,.hdf-utility-selector > summary:focus-visible,.hdf-utility-selector[open] > summary { color:var(--hdf-header-top-link-hover);outline:0; }
.hdf-utility-selector__chevron { font-size:.9em;line-height:1;transition:transform var(--hdf-transition); }
.hdf-utility-selector[open] .hdf-utility-selector__chevron { transform:rotate(180deg); }
.hdf-utility-selector__panel { position:absolute;z-index:260;top:calc(100% + 10px);inset-inline-end:0;width:max-content;min-width:220px;max-width:min(340px, calc(100vw - 24px));max-height:340px;overflow:auto;border:var(--hdf-border-width) solid var(--hdf-header-dropdown-border);border-radius:var(--hdf-input-radius);background:var(--hdf-header-dropdown-background);color:var(--hdf-header-dropdown-text); }
.hdf-utility-selector__panel form { display:grid;padding:6px; }
.hdf-utility-selector__panel button { display:flex;width:100%;min-height:38px;align-items:center;justify-content:space-between;gap:14px;padding:7px 10px;border:0;border-radius:6px;background:transparent;color:var(--hdf-header-dropdown-text);font-family:var(--hdf-font-ui);font-size:.82rem;text-align:start;cursor:pointer; }
.hdf-utility-selector__panel button small { color:var(--hdf-color-muted);font-size:.7rem; }
.hdf-utility-selector__panel button:hover,.hdf-utility-selector__panel button:focus-visible,.hdf-utility-selector__panel button.is-current { background:var(--hdf-header-dropdown-hover-background);color:var(--hdf-header-dropdown-hover-text);outline:0; }
.hdf-utility-selector__panel button:hover small,.hdf-utility-selector__panel button:focus-visible small,.hdf-utility-selector__panel button.is-current small { color:currentColor; }

/* ===== components/header/branding.css ===== */
.hdf-header-main__branding {
    width: min(100%, var(--hdf-header-branding-width));
    flex: 0 0 auto;
}

.site-branding {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: clamp(8px, calc(var(--hdf-header-main-height) * .12), 13px);
}

.site-logo,
.site-logo a {
    display: flex;
    min-width: 0;
    align-items: center;
}

.site-logo img {
    display: block;
    width: auto;
    max-width: var(--hdf-header-logo-max-width);
    max-height: min(var(--hdf-header-logo-max-height), calc(var(--hdf-header-main-height) * .68));
    object-fit: contain;
}

.site-favicon {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    text-decoration: none;
}

.site-favicon img,
.site-brand-mark {
    display: grid;
    width: min(var(--hdf-header-brand-mark-size), calc(var(--hdf-header-main-height) * .66));
    height: min(var(--hdf-header-brand-mark-size), calc(var(--hdf-header-main-height) * .66));
    flex: 0 0 auto;
    place-items: center;
    border-radius: var(--hdf-header-brand-mark-radius);
    object-fit: cover;
}

.site-brand-mark {
    background: var(--hdf-color-primary);
    color: var(--hdf-color-on-primary);
    font-family: var(--hdf-font-heading);
    font-size: calc(min(var(--hdf-header-brand-mark-size), var(--hdf-header-main-height) * .66) * .50);
    font-weight: 650;
    line-height: 1;
    text-decoration: none;
}

.site-identity {
    display: grid;
    min-width: 0;
    align-content: center;
}

.site-brand-eyebrow {
    justify-self: end;
    margin: 0 2px 3px 0;
    color: var(--hdf-header-branding-eyebrow-color);
    font-family: var(--hdf-font-ui);
    font-size: clamp(8px, calc(var(--hdf-header-main-height) * .105), 11px);
    font-weight: 650;
    letter-spacing: .07em;
    line-height: 1;
    text-transform: uppercase;
    white-space: nowrap;
}

.site-title {
    min-width: 0;
    margin: 0;
    font-family: var(--hdf-font-heading);
    font-size: clamp(15px, calc(var(--hdf-header-main-height) * .27), calc(var(--hdf-header-title-size) - 5px));
    font-weight: 650;
    letter-spacing: -.02em;
    line-height: 1.02;
}

.site-title a {
    display: block;
    color: var(--hdf-header-main-text);
    text-decoration: none;
    white-space: nowrap;
}

.site-title a:hover,
.site-title a:focus-visible {
    color: var(--hdf-header-main-text);
}

.site-description {
    margin: 4px 0 0;
    overflow: hidden;
    color: var(--hdf-color-muted);
    font-family: var(--hdf-font-ui);
    font-size: min(var(--hdf-header-tagline-size), calc(var(--hdf-header-main-height) * .15));
    font-weight: 400;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ===== components/header/main-row.css ===== */
.hdf-header-main {
    --hdf-header-main-control-render-size: max(36px, calc(var(--hdf-header-main-control-size) - 5px));
    --hdf-header-cart-control-width: calc(var(--hdf-header-main-control-render-size) + 30px);
    min-height: var(--hdf-header-main-height);
    border-bottom: var(--hdf-border-width) solid var(--hdf-header-border);
    background: var(--hdf-header-main-background);
    color: var(--hdf-header-main-text);
}

.hdf-header-main__inner {
    display: grid;
    min-width: 0;
    min-height: inherit;
    align-items: center;
    grid-template-columns: minmax(270px, 1fr) minmax(420px, 680px) minmax(300px, 1fr);
    column-gap: var(--hdf-header-main-gap);
}

.hdf-header-main__left,
.hdf-header-main__branding,
.hdf-header-main__explore,
.hdf-header-main__search-track,
.hdf-header-main__search,
.hdf-header-main__actions {
    min-width: 0;
}

.hdf-header-main__left {
    display: flex;
    width: 100%;
    min-width: 0;
    align-items: center;
    justify-self: stretch;
    gap: 18px;
    overflow: visible;
}

.hdf-header-main__branding {
    flex: 0 1 auto;
}

.hdf-header-main__explore {
    flex: 0 0 var(--hdf-header-main-control-render-size);
}

.hdf-header-main__search-track {
    display: grid;
    width: 100%;
    min-width: 0;
    place-items: center;
    padding-inline: 16px;
}

.hdf-header-main__search {
    box-sizing: border-box;
    width: min(680px, 100%);
    min-width: 0;
    justify-self: center;
}

.hdf-header-main__actions {
    display: grid;
    align-items: center;
    justify-content: end;
    grid-auto-columns: max-content;
    grid-auto-flow: column;
    gap: var(--hdf-header-action-gap, 10px);
    white-space: nowrap;
}

.hdf-header-main__actions--labels-hidden .hdf-header-action__label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.hdf-mobile-menu-toggle {
    display: none;
    width: var(--hdf-header-main-control-render-size);
    height: var(--hdf-header-main-control-render-size);
    min-height: var(--hdf-header-main-control-render-size);
    align-items: center;
    justify-content: center;
    padding: 0;
    border: var(--hdf-border-width) solid var(--hdf-header-border);
    border-radius: var(--hdf-input-radius);
    background: var(--hdf-header-main-background);
    color: var(--hdf-header-main-text);
}

.hdf-mobile-menu-toggle:hover,
.hdf-mobile-menu-toggle:focus-visible {
    border-color: var(--hdf-color-primary);
    background: var(--hdf-color-subtle);
    color: var(--hdf-color-primary-hover);
}

.hdf-mobile-menu-toggle__icon {
    font-size: calc(var(--hdf-header-main-control-render-size) * .46);
}

.hdf-header-main--controls-border-off .hdf-mobile-menu-toggle,
.hdf-header-main--controls-border-off .hdf-explore__toggle,
.hdf-header-main--controls-border-off .hdf-header-action__icon {
    border-width: 0;
    border-color: transparent;
}


.hdf-header-main__branding:empty {
    display: none;
}

.hdf-header-main__actions > *,
.hdf-header-main__actions .hdc-notification-widget {
    display: flex;
    height: var(--hdf-header-main-control-render-size);
    align-items: center;
    justify-content: center;
}

/* ===== components/header/search.css ===== */
.hdf-header-search {
    --hdf-header-search-auto-height: clamp(40px, calc(var(--hdf-header-main-height) * .50), 46px);
    position: relative;
    display: grid;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    height: var(--hdf-header-search-auto-height);
    border: 0;
    border-radius: calc(var(--hdf-header-search-auto-height) / 2);
    background: var(--hdf-header-search-background);
    overflow: visible;
    isolation: isolate;
    font-family: var(--hdf-font-ui, Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
}

.hdf-header-search::after {
    position: absolute;
    z-index: 6;
    inset: 0;
    border: var(--hdf-border-width) solid var(--hdf-header-search-border);
    border-radius: inherit;
    content: "";
    pointer-events: none;
}

.hdf-header-search--scope-right {
    grid-template-columns: minmax(0, 1fr) clamp(150px, 27%, 220px) var(--hdf-header-search-auto-height);
}

.hdf-header-search--scope-left {
    grid-template-columns: clamp(150px, 27%, 220px) minmax(0, 1fr) var(--hdf-header-search-auto-height);
}

.hdf-header-search:focus-within {
    border-color: var(--hdf-header-search-border);
    outline: 0;
    box-shadow:none;
}

.hdf-header-search__input-wrap,
.hdf-header-search__scope,
.hdf-header-search__scope > *,
.hdf-header-search__field,
.hdf-header-search__submit {
    box-sizing: border-box;
    min-width: 0;
    max-width: 100%;
}

.hdf-header-search__input-wrap {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    overflow: hidden;
    border-radius: calc(var(--hdf-header-search-auto-height) / 2) 0 0 calc(var(--hdf-header-search-auto-height) / 2);
}

.hdf-header-search--scope-left .hdf-header-search__input-wrap {
    border-radius: 0;
}

.hdf-header-search__leading-icon {
    position: absolute;
    top: 50%;
    inset-inline-start: clamp(16px, calc(var(--hdf-header-search-auto-height) * .42), 24px);
    color: var(--hdf-header-search-placeholder);
    font-size: calc(var(--hdf-header-search-auto-height) * .38);
    transform: translateY(-50%);
    pointer-events: none;
}

.hdf-header-search__leading-icon + .screen-reader-text + .hdf-header-search__field {
    padding-inline-start: calc(var(--hdf-header-search-auto-height) * 1.15);
}

.hdf-header-search__scope {
    position: relative;
    z-index: 2;
    align-self: stretch;
    margin-block: 0;
    overflow: hidden;
    border-inline-start: var(--hdf-border-width) solid var(--hdf-header-search-border);
}

.hdf-header-search--scope-left .hdf-header-search__scope {
    border-inline-start: 0;
    border-inline-end: var(--hdf-border-width) solid var(--hdf-header-search-border);
}

.hdf-header-search__scope > *,
.hdf-header-search__scope-placeholder {
    width: 100%;
    height: 100%;
}

.hdf-header-search__scope-placeholder {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding-inline: clamp(12px, calc(var(--hdf-header-search-auto-height) * .36), 20px);
    overflow: hidden;
    border: 0;
    background: transparent;
    color: var(--hdf-header-search-text);
    font-size: clamp(12px, calc(var(--hdf-header-search-auto-height) * .28), 15px);
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
    cursor: default;
}

.hdf-header-search__scope-placeholder > span:first-child {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hdf-header-search__scope-control {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
}

.hdf-header-search__scope-select {
    width: 100%;
    height: 100%;
    min-height: 0;
    padding: 0 calc(var(--hdf-header-search-auto-height) * .88) 0 clamp(12px, calc(var(--hdf-header-search-auto-height) * .36), 20px);
    border: 0;
    border-radius: 0;
    outline: 0;
    appearance: none;
    background: var(--hdf-header-search-background);
    color: var(--hdf-header-search-text);
    font-family: var(--hdf-font-ui);
    font-size: clamp(12px, calc(var(--hdf-header-search-auto-height) * .28), 15px);
    font-weight: 550;
    line-height: 1;
    cursor: pointer;
}

.hdf-header-search__scope-select:hover,
.hdf-header-search__scope-select:focus,
.hdf-header-search__scope-select:focus-visible {
    outline: 0;
    background: #ffffff;
    color: #111827;
    box-shadow:none;
}

.hdf-header-search__scope-chevron {
    position: absolute;
    top: 50%;
    inset-inline-end: clamp(12px, calc(var(--hdf-header-search-auto-height) * .32), 18px);
    display: grid;
    width: 15px;
    height: 15px;
    place-items: center;
    color: currentColor;
    pointer-events: none;
    transform: translateY(-50%);
}

.hdf-header-search__scope-chevron svg {
    width: 14px;
    height: 14px;
}

.hdf-header-search__field {
    width: 100%;
    height: 100%;
    min-height: 0;
    padding: 0 clamp(14px, calc(var(--hdf-header-search-auto-height) * .42), 24px);
    border: 0;
    border-radius: 0;
    outline: 0;
    background: transparent;
    color: var(--hdf-header-search-text);
    font-family: inherit;
    font-size: clamp(13px, calc(var(--hdf-header-search-auto-height) * .30), 15px);
    font-weight: 500;
    line-height: 1;
}

.hdf-header-search__field::placeholder {
    color: var(--hdf-header-search-placeholder);
}

.hdf-header-search__field:focus,
.hdf-header-search__field:focus-visible,
.hdf-header-search__scope-placeholder:focus,
.hdf-header-search__submit:focus,
.hdf-header-search__submit:focus-visible {
    outline: 0;
    box-shadow:none;
}

.hdf-header-search__submit {
    position: relative;
    z-index: 3;
    display: grid;
    width: calc(var(--hdf-header-search-auto-height) - 8px);
    height: calc(var(--hdf-header-search-auto-height) - 8px);
    min-height: 0;
    margin: 4px;
    padding: 0;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: var(--hdf-color-primary);
    color: var(--hdf-color-on-primary);
    font-size: calc(var(--hdf-header-search-auto-height) * .42);
}

.hdf-header-search__submit:hover,
.hdf-header-search__submit:focus-visible {
    background: var(--hdf-color-primary-hover);
    color: var(--hdf-color-on-primary-hover);
}

.hdf-header-search__results {
    z-index: 2147482400;
    overflow-x: hidden;
    overflow-y: auto;
    max-height: min(72vh, 620px);
    border: var(--hdf-border-width) solid var(--hdf-header-border);
    border-radius: var(--hdf-input-radius);
    background: var(--hdf-header-search-background);
    color: var(--hdf-header-search-text);
    font-family: var(--hdf-font-ui);
    overscroll-behavior: contain;
}

.hdf-header-search__results[hidden] {
    display: none;
}

.hdf-header-search__results--portal {
    position: fixed;
    top: var(--hdf-live-top, 0);
    left: var(--hdf-live-left, 0);
    width: min(var(--hdf-live-width, 600px), calc(100vw - 16px));
}

.hdf-live-search-empty {
    margin: 0;
    padding: 18px;
    color: var(--hdf-color-muted);
    font-size: 14px;
}

.hdf-blog-live-list {
    margin: 0;
    padding: 8px;
    list-style: none;
}

.hdf-blog-live-list li::marker {
    content: "";
}

.hdf-blog-live-item {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    min-height: 72px;
    padding: 8px;
    border-bottom: var(--hdf-border-width) solid var(--hdf-header-border);
    color: var(--hdf-header-search-text);
    text-decoration: none;
}

.hdf-blog-live-list li:last-child .hdf-blog-live-item {
    border-bottom: 0;
}

.hdf-blog-live-item:hover,
.hdf-blog-live-item:focus-visible {
    background: var(--hdf-color-subtle);
    color: var(--hdf-header-search-text);
}

.hdf-blog-live-item__image {
    display: block;
    width: 58px;
    height: 58px;
    border-radius: 8px;
    background: var(--hdf-color-subtle);
    object-fit: cover;
}

.hdf-blog-live-item__content {
    display: grid;
    min-width: 0;
    gap: 4px;
}

.hdf-blog-live-item__content strong {
    overflow: hidden;
    color: var(--hdf-color-text);
    font-family: var(--hdf-font-heading);
    font-size: 14px;
    font-weight: 650;
    line-height: 1.3;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hdf-blog-live-item__meta,
.hdf-blog-live-item__excerpt {
    overflow: hidden;
    color: var(--hdf-color-muted);
    font-size: 12px;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}


/* Component-specific form normalization; intentionally stronger than generic form primitives. */
.hdf-header-search input[type="search"].hdf-header-search__field {
    width: 100%;
    height: 100%;
    min-height: 0;
    margin: 0;
    padding-block: 0;
    border: 0;
    border-radius: 0;
    outline: 0;
    background: transparent;
    box-shadow:none;
    appearance: none;
}

.hdf-header-search input[type="search"].hdf-header-search__field:focus,
.hdf-header-search input[type="search"].hdf-header-search__field:focus-visible {
    border: 0;
    outline: 0;
    box-shadow:none;
}

.hdf-header-search__scope select,
.hdf-header-search__scope button {
    min-height: 0;
    margin: 0;
    border: 0;
    border-radius: 0;
    outline: 0;
    background: transparent;
    box-shadow:none;
    font-family: var(--hdf-font-ui);
}

.hdf-header-search__submit svg,
.hdf-header-search__leading-icon svg {
    display: block;
    width: 1em;
    height: 1em;
}

.site-header .hdf-header-search__scope button:hover,
.site-header .hdf-header-search__scope button:focus-visible,
.site-header .hdf-header-search__scope select:hover,
.site-header .hdf-header-search__scope select:focus-visible {
    background: var(--hdf-header-search-background);
    color: var(--hdf-header-search-text);
}

.site-header .hdf-header-search__scope option {
    background: var(--hdf-header-search-background);
    color: var(--hdf-header-search-text);
}

.site-header .hdf-header-search__scope select.hdf-header-search__scope-select,
.site-header .hdf-header-search__scope select.hdf-header-search__scope-select:hover,
.site-header .hdf-header-search__scope select.hdf-header-search__scope-select:focus,
.site-header .hdf-header-search__scope select.hdf-header-search__scope-select:focus-visible {
    background: #ffffff;
    color: #111827;
}

/* ===== components/header/actions.css ===== */
.hdf-header-action { display:flex;min-width:0; }
.hdf-header-action__control {
    position:relative;
    display:flex;
    width:var(--hdf-header-main-control-render-size);
    min-width:var(--hdf-header-main-control-render-size);
    min-height:var(--hdf-header-main-control-render-size);
    align-items:center;
    flex-direction:column;
    justify-content:center;
    gap:4px;
    padding:0;
    border:0;
    background:transparent;
    color:var(--hdf-header-action-color);
    text-decoration:none;
    cursor:pointer;
}
.hdf-header-action__control:disabled { opacity:1; }
.hdf-header-action__icon {
    display:grid;
    width:var(--hdf-header-main-control-render-size);
    height:var(--hdf-header-main-control-render-size);
    place-items:center;
    border:var(--hdf-border-width) solid var(--hdf-header-action-border);
    border-radius:var(--hdf-header-action-radius);
    background:var(--hdf-header-action-background);
    color:var(--hdf-header-action-color);
    font-size:calc(var(--hdf-header-main-control-render-size) * .46);
    transition:background-color var(--hdf-transition),border-color var(--hdf-transition),color var(--hdf-transition);
}
.hdf-header-action__control:hover .hdf-header-action__icon,.hdf-header-action__control:focus-visible .hdf-header-action__icon { border-color:var(--hdf-header-action-hover-border);background:var(--hdf-header-action-background);color:var(--hdf-header-action-hover-color); box-shadow:none; }
.hdf-header-action__control:hover,.hdf-header-action__control:focus-visible { color:var(--hdf-header-action-hover-color); }
.hdf-header-action__label,.hdf-header-action__meta { display:block;max-width:calc(var(--hdf-header-main-control-render-size) * 1.7);overflow:hidden;font-family:var(--hdf-font-ui);font-size:clamp(10px, calc(var(--hdf-header-main-control-render-size) * .24), 13px);font-weight:650;line-height:1.08;text-overflow:ellipsis;white-space:nowrap; }
.hdf-header-action__meta { color:var(--hdf-color-primary-hover);font-weight:700; }
.hdf-header-action__badge { position:absolute;z-index:2;top:-6px;inset-inline-end:-2px;display:grid;min-width:20px;height:20px;padding-inline:5px;place-items:center;border-radius:var(--hdf-radius-pill);background:var(--hdf-header-action-badge-background);color:var(--hdf-header-action-badge-text);font-size:10px;font-weight:700;line-height:1; }
.hdf-header-action__badge--dot { top:-2px;inset-inline-end:5px;min-width:8px;width:8px;height:8px;padding:0; }
.hdf-header-actions-legacy { display:flex;align-items:center;justify-content:flex-end;gap:clamp(7px, calc(var(--hdf-header-main-control-size) * .2), 14px); }

.hdf-header-action__icon svg { width:1em; height:1em; line-height:1; }
.hdf-header-action, .hdf-header-action__control { align-self:center; }
.hdf-header-action__control--cart { width:var(--hdf-header-cart-control-width); min-width:var(--hdf-header-cart-control-width); }
.hdf-header-action--cart .hdf-header-action__control { width:var(--hdf-header-cart-control-width); min-width:var(--hdf-header-cart-control-width); }
.hdf-header-action--cart .hdf-header-action__icon, .hdf-header-action__control--cart .hdf-header-action__icon { font-size:1px; }
.hdf-header-action--cart .hdf-header-action__icon .hdc-icon, .hdf-header-action__control--cart .hdf-header-action__icon .hdc-icon { width:19px; height:18px; min-width:19px; min-height:18px; }
.hdf-header-action--cart .hdf-header-action__meta, .hdf-header-action__control--cart .hdf-header-action__meta { max-width:calc(var(--hdf-header-cart-control-width) - 8px); font-size:clamp(9px, calc(var(--hdf-header-main-control-render-size) * .22), 11px); letter-spacing:-.01em; text-align:center; }


.hdf-header-action,
.hdf-header-action__control,
.hdc-notification-widget {
    height: var(--hdf-header-main-control-render-size);
    align-items: center;
    justify-content: center;
}

.hdf-header-action__control:focus-visible,
.hdf-header-action__control:hover,
.hdf-header-action__control:focus-visible .hdf-header-action__icon,
.hdf-header-action__control:hover .hdf-header-action__icon {
    box-shadow:none;
    transform: none;
}

.hdf-header-action__icon > svg,
.hdf-header-action__icon .hdc-icon {
    display: block;
    width: 1em;
    height: 1em;
    margin: auto;
}

.hdf-header-action--cart .hdf-header-action__control,
.hdf-header-action__control--cart {
    position: relative;
    display: flex;
    width: var(--hdf-header-cart-control-width);
    min-width: var(--hdf-header-cart-control-width);
    height: var(--hdf-header-main-control-render-size);
    min-height: var(--hdf-header-main-control-render-size);
    align-items: center;
    justify-content: center;
    gap: 0;
    padding-inline: 0;
    border: var(--hdf-border-width) solid var(--hdf-header-action-border);
    border-radius: var(--hdf-header-action-radius);
    background: var(--hdf-header-action-background);
}

.hdf-header-action--cart .hdf-header-action__icon,
.hdf-header-action__control--cart .hdf-header-action__icon {
    position: absolute;
    inset-block: 0;
    inset-inline-start: 0;
    display: grid;
    width: 31px;
    height: 100%;
    place-items: center;
    border: 0;
    background: transparent;
    font-size: 1px;
    transform: none;
}

.hdf-header-action--cart .hdf-header-action__control:hover,
.hdf-header-action--cart .hdf-header-action__control:focus-visible,
.hdf-header-action--cart .hdf-header-action__control:active,
.hdf-header-action__control--cart:hover,
.hdf-header-action__control--cart:focus-visible,
.hdf-header-action__control--cart:active {
    width: var(--hdf-header-cart-control-width);
    min-width: var(--hdf-header-cart-control-width);
    height: var(--hdf-header-main-control-render-size);
    min-height: var(--hdf-header-main-control-render-size);
    margin: 0;
    padding: 0;
    transform: none;
    translate: none;
}

.hdf-header-action--cart .hdf-header-action__control:hover .hdf-header-action__icon,
.hdf-header-action--cart .hdf-header-action__control:focus-visible .hdf-header-action__icon,
.hdf-header-action--cart .hdf-header-action__control:active .hdf-header-action__icon,
.hdf-header-action__control--cart:hover .hdf-header-action__icon,
.hdf-header-action__control--cart:focus-visible .hdf-header-action__icon,
.hdf-header-action__control--cart:active .hdf-header-action__icon {
    inset-block: 0;
    inset-inline-start: 0;
    width: 31px;
    height: 100%;
    margin: 0;
    border: 0;
    background: transparent;
    box-shadow:none;
    transform: none;
    translate: none;
}

.hdf-header-action--cart .hdf-header-action__meta,
.hdf-header-action__control--cart .hdf-header-action__meta {
    position: absolute;
    inset-block-start: 50%;
    inset-inline-start: 31px;
    inset-inline-end: 4px;
    display: block;
    width: auto;
    min-width: 0;
    max-width: none;
    overflow: hidden;
    padding: 0;
    color: var(--hdf-header-action-color);
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    text-overflow: clip;
    white-space: nowrap;
    transform: translateY(-50%);
}

.hdf-header-action--cart .hdc-cart-widget--amount-xl .hdf-header-action__meta,
.hdc-cart-widget--amount-xl .hdf-header-action__control--cart .hdf-header-action__meta { font-size: 11px; letter-spacing: 0; }
.hdf-header-action--cart .hdc-cart-widget--amount-lg .hdf-header-action__meta,
.hdc-cart-widget--amount-lg .hdf-header-action__control--cart .hdf-header-action__meta { font-size: 10px; letter-spacing: -0.01em; }
.hdf-header-action--cart .hdc-cart-widget--amount-md .hdf-header-action__meta,
.hdc-cart-widget--amount-md .hdf-header-action__control--cart .hdf-header-action__meta { font-size: 9px; letter-spacing: -0.02em; }
.hdf-header-action--cart .hdc-cart-widget--amount-sm .hdf-header-action__meta,
.hdc-cart-widget--amount-sm .hdf-header-action__control--cart .hdf-header-action__meta { font-size: 8px; letter-spacing: -0.025em; }
.hdf-header-action--cart .hdc-cart-widget--amount-xs .hdf-header-action__meta,
.hdc-cart-widget--amount-xs .hdf-header-action__control--cart .hdf-header-action__meta { font-size: 7px; letter-spacing: -0.035em; }

.hdf-header-action--cart .hdf-header-action__label,
.hdf-header-action__control--cart .hdf-header-action__label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.hdf-header-main--controls-border-off .hdf-header-action--cart .hdf-header-action__control,
.hdf-header-main--controls-border-off .hdf-header-action__control--cart {
    border-width: 0;
}

/* ===== components/header/navigation.css ===== */
.hdf-header-navigation {
    min-height:var(--hdf-header-nav-height);
    border-top:var(--hdf-border-width) solid var(--hdf-header-border);
    border-radius:0 0 var(--hdf-header-shell-bottom-radius) var(--hdf-header-shell-bottom-radius);
    background:var(--hdf-header-nav-background);
}
.hdf-header-navigation__inner {
    display:grid;
    min-height:inherit;
    align-items:center;
    grid-template-columns:max-content minmax(0,1fr) max-content;
    gap:clamp(12px, calc(var(--hdf-header-nav-height) * .32), 26px);
}
.hdf-primary-navigation { min-width:0; }
.hdf-primary-menu {
    display:flex;
    min-height:100%;
    align-items:stretch;
    justify-content:center;
    gap:clamp(16px, calc(var(--hdf-header-nav-height) * .48), 40px);
    margin:0;
    padding:0;
    list-style:none;
}
.hdf-primary-menu>li { position:relative;display:flex;align-items:stretch; }
.hdf-primary-menu>li>a {
    position:relative;
    display:flex;
    align-items:center;
    color:var(--hdf-nav-link);
    font-family:var(--hdf-font-ui, Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
    font-size:clamp(12px, calc(var(--hdf-header-nav-height) * .235), 16px);
    font-weight:600;
    text-decoration:none;
    white-space:nowrap;
}
.hdf-primary-menu>li>a::after { position:absolute;right:100%;bottom:-1px;left:0;height:clamp(2px, calc(var(--hdf-header-nav-height) * .045), 3px);background:currentColor;content:"";transition:right var(--hdf-transition); }
.hdf-primary-menu>li:hover>a,.hdf-primary-menu>li:focus-within>a { color:var(--hdf-nav-link-hover); }
.hdf-primary-menu>.current-menu-item>a,.hdf-primary-menu>.current-menu-ancestor>a { color:var(--hdf-nav-link-active); }
.hdf-primary-menu>li:hover>a::after,.hdf-primary-menu>li:focus-within>a::after,.hdf-primary-menu>.current-menu-item>a::after,.hdf-primary-menu>.current-menu-ancestor>a::after { right:0; }
.hdf-primary-navigation--underline-off .hdf-primary-menu>li:not(.current-menu-item):not(.current-menu-ancestor)>a::after { display:none; }

.hdf-header-support,.hdf-header-secure {
    display:inline-flex;
    width:auto;
    min-height:clamp(40px, calc(var(--hdf-header-nav-height) - 12px), 64px);
    align-items:center;
    gap:clamp(8px, calc(var(--hdf-header-nav-height) * .18), 13px);
    padding-inline:clamp(12px, calc(var(--hdf-header-nav-height) * .27), 20px);
    border:var(--hdf-border-width) solid;
    border-radius:var(--hdf-header-support-radius);
    font-family:var(--hdf-font-ui, Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
    text-decoration:none;
    transition:background-color var(--hdf-transition),border-color var(--hdf-transition),color var(--hdf-transition);
}
.hdf-header-support { min-width:clamp(205px, 17vw, 270px);border-color:var(--hdf-header-support-border);background:var(--hdf-header-support-background);color:var(--hdf-header-support-text); }
.hdf-header-secure { min-width:clamp(245px, 20vw, 305px);border-color:var(--hdf-header-secure-border);border-radius:var(--hdf-header-secure-radius);background:var(--hdf-header-secure-background);color:var(--hdf-header-secure-text); }
.hdf-header-support__icon,.hdf-header-secure__icon { font-size:clamp(20px, calc(var(--hdf-header-nav-height) * .43), 30px); }
.hdf-header-support__icon { color:var(--hdf-header-support-icon-color); }
.hdf-header-secure__icon { color:var(--hdf-header-secure-icon-color); }
.hdf-header-support__copy,.hdf-header-secure__copy { display:grid;gap:clamp(1px, calc(var(--hdf-header-nav-height) * .035), 3px);align-content:center; }
.hdf-header-support strong,.hdf-header-secure strong { font-size:clamp(12px, calc(var(--hdf-header-nav-height) * .23), 16px);font-weight:650;line-height:1.12; }
.hdf-header-support small,.hdf-header-secure small { font-size:clamp(10px, calc(var(--hdf-header-nav-height) * .18), 13px);line-height:1.12; }
.hdf-header-support small { color:var(--hdf-color-muted); }
.hdf-header-secure small { color:var(--hdf-header-secure-note); }
.hdf-header-support:hover,.hdf-header-support:focus-visible { border-color:var(--hdf-color-primary);background:var(--hdf-header-support-hover-background);color:var(--hdf-header-support-hover-text); }
.hdf-header-secure:hover,.hdf-header-secure:focus-visible { border-color:var(--hdf-color-primary);background:var(--hdf-header-secure-hover-background);color:var(--hdf-header-secure-hover-text); }
.hdf-header-support:hover .hdf-header-support__icon,.hdf-header-support:focus-visible .hdf-header-support__icon,.hdf-header-secure:hover .hdf-header-secure__icon,.hdf-header-secure:focus-visible .hdf-header-secure__icon,.hdf-header-secure:hover small,.hdf-header-secure:focus-visible small { color:currentColor; }

.hdf-primary-menu .hdf-menu-link-icon { font-size:clamp(13px, calc(var(--hdf-header-nav-height) * .245), 19px); }
.hdf-header-support:hover strong,.hdf-header-support:focus-visible strong,.hdf-header-secure:hover strong,.hdf-header-secure:focus-visible strong { color:currentColor; }

/* ===== components/header/explore.css ===== */
.hdf-explore {
    position: relative;
    width: var(--hdf-header-main-control-render-size);
}

.hdf-explore__toggle {
    display: flex;
    width: 100%;
    min-width: var(--hdf-header-main-control-render-size);
    height: var(--hdf-header-main-control-render-size);
    align-items: center;
    justify-content: center;
    gap: var(--hdf-space-2);
    padding-inline: var(--hdf-space-3);
    border: var(--hdf-border-width) solid var(--hdf-header-explore-border);
    border-radius: var(--hdf-input-radius);
    background: var(--hdf-header-explore-panel-background);
    color: var(--hdf-header-explore-item-text);
    font-family: var(--hdf-font-ui);
    font-weight: 600;
}

.hdf-explore--with-label {
    width: auto;
}

.hdf-explore--with-label .hdf-explore__toggle {
    width: auto;
    min-width: max(var(--hdf-header-main-control-render-size), 180px);
}

.hdf-explore__toggle:hover,
.hdf-explore__toggle:focus-visible,
.hdf-explore.is-open .hdf-explore__toggle {
    border-color: var(--hdf-color-primary);
    background: var(--hdf-header-explore-hover-background);
    color: var(--hdf-header-explore-hover-text);
}

.hdf-explore__menu-icon {
    font-size: calc(var(--hdf-header-main-control-render-size) * .46);
}

.hdf-explore__chevron {
    display: none;
    transition: transform var(--hdf-transition);
}

.hdf-explore--with-label .hdf-explore__chevron {
    display: inline-grid;
    margin-inline-start: auto;
}

.hdf-explore.is-open .hdf-explore__chevron {
    transform: rotate(180deg);
}

body.hdf-explore-modal-open {
    overflow: hidden;
}

.hdf-explore__backdrop {
    position: fixed;
    z-index: 2147482998;
    inset: 0;
    background: rgb(17 24 39 / 46%);
    opacity: 0;
    transition: opacity var(--hdf-transition);
}

.hdf-explore__panel {
    position: fixed;
    z-index: 2147482999;
    top: 0;
    bottom: 0;
    inset-inline-start: 0;
    margin: 0;
    padding: 0;
    width: min(var(--hdf-header-explore-panel-width), calc(100vw - 36px));
    overflow-x: hidden;
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    border-inline-end: var(--hdf-border-width) solid var(--hdf-header-explore-border);
    background: var(--hdf-header-explore-panel-background);
    color: var(--hdf-header-explore-item-text);
    transform: translateX(-102%);
    transition: transform var(--hdf-transition);
}

[dir="rtl"] .hdf-explore__panel {
    transform: translateX(102%);
}

.hdf-explore__backdrop.is-open {
    opacity: 1;
}

.hdf-explore__panel.is-open,
[dir="rtl"] .hdf-explore__panel.is-open {
    transform: translateX(0);
}

.hdf-explore__panel-header {
    outline: var(--hdf-raised-edge-width) solid var(--hdf-raised-edge-outline);
    outline-offset: 0;
    position: sticky;
    z-index: 2;
    top: 0;
    display: flex;
    min-height: 58px;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 0;
    padding: 0 14px 0 18px;
    border: var(--hdf-raised-edge-width) solid var(--hdf-raised-edge-border);
    border-block-start-color: var(--hdf-raised-edge-light);
    border-inline-start-color: var(--hdf-raised-edge-light);
    border-block-end: var(--hdf-raised-edge-depth-width) solid var(--hdf-raised-edge-dark);
    border-inline-end: var(--hdf-raised-edge-depth-width) solid var(--hdf-raised-edge-dark);
    border-radius: 0 0 var(--hdf-raised-edge-radius) var(--hdf-raised-edge-radius);
    background: var(--hdf-raised-edge-heading-background);
}

.hdf-explore__panel-header h2 {
    margin: 0;
    color: var(--hdf-header-explore-item-text);
    font-family: var(--hdf-font-heading);
    font-size: clamp(15px, calc(var(--hdf-header-nav-height) * .25), 17px);
    font-weight: 600;
    line-height: 1.3;
}

.hdf-explore__close {
    display: grid;
    width: 38px;
    height: 38px;
    padding: 0;
    place-items: center;
    border: var(--hdf-border-width) solid var(--hdf-header-explore-border);
    border-radius: 50%;
    background: var(--hdf-header-explore-background);
    color: var(--hdf-header-explore-text);
    font-family: var(--hdf-font-ui);
    font-size: 18px;
    font-weight: 400;
    line-height: 1;
}

.hdf-explore__close:hover,
.hdf-explore__close:focus-visible {
    border-color: var(--hdf-color-primary);
    background: var(--hdf-color-primary);
    color: var(--hdf-color-on-primary);
}

.hdf-explore__navigation {
    min-height: calc(100% - 58px);
}

.hdf-explore-menu,
.hdf-explore-menu ul,
.hdf-explore-menu .sub-menu {
    margin: 0;
    list-style: none;
}

.hdf-explore-menu {
    padding: 8px 0;
}

.hdf-explore-menu li::marker,
.hdf-explore-menu .sub-menu li::marker {
    content: "";
}

.hdf-explore-menu li {
    position: relative;
}


.hdf-explore__panel .hdf-menu-link-icon {
    display: none;
}

.hdf-explore__panel .hdf-menu-link-label {
    min-width: 0;
}

.hdf-explore-menu a {
    display: flex;
    min-height: clamp(46px, calc(var(--hdf-header-nav-height) * .82), 54px);
    align-items: center;
    gap: clamp(9px, calc(var(--hdf-header-nav-height) * .18), 13px);
    padding: 9px 52px 9px 18px;
    border-bottom: var(--hdf-border-width) solid var(--hdf-header-explore-border);
    color: var(--hdf-header-explore-item-text);
    font-family: var(--hdf-font-ui);
    font-size: clamp(12px, calc(var(--hdf-header-nav-height) * .215), 15px);
    font-weight: 500;
    line-height: 1.35;
    text-decoration: none;
}

.hdf-explore-menu li:last-child > a {
    border-bottom: 0;
}

.hdf-explore-menu a:hover,
.hdf-explore-menu a:focus-visible {
    background: var(--hdf-header-explore-item-hover-background);
    color: var(--hdf-header-explore-item-hover-text);
}

.hdf-explore__panel .hdf-explore-menu .sub-menu {
    position: static;
    display: none;
    width: 100%;
    margin: 0;
    padding: 0 0 6px 18px;
    border: 0;
    background: color-mix(in srgb, var(--hdf-header-explore-panel-background) 94%, var(--hdf-header-explore-item-hover-background));
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
}

.hdf-explore__panel .hdf-explore-menu li.is-submenu-open > .sub-menu {
    display: block;
}

.hdf-explore__panel .hdf-submenu-toggle {
    position: absolute;
    top: 8px;
    inset-inline-end: 10px;
    width: 32px;
    height: 32px;
}


.hdf-explore__panel::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;
}

.hdf-explore__close > span,
.hdf-explore__close svg {
    display: grid;
    width: 18px;
    height: 18px;
    place-items: center;
}

.hdf-explore-menu > li > a:hover,
.hdf-explore-menu > li > a:focus-visible,
.hdf-explore-menu > li.is-submenu-open > a {
    background: var(--hdf-color-primary);
    color: var(--hdf-color-on-primary);
}

.hdf-explore-menu > li.is-submenu-open > .hdf-submenu-toggle {
    border-color: color-mix(in srgb, var(--hdf-color-on-primary) 64%, transparent);
    background: transparent;
    color: var(--hdf-color-on-primary);
}

.hdf-explore__panel .hdf-submenu-toggle {
    border: var(--hdf-border-width) solid var(--hdf-header-explore-border);
    border-radius: 50%;
    background: var(--hdf-header-explore-panel-background);
    color: var(--hdf-header-explore-item-text);
}

.hdf-explore__panel .hdf-submenu-toggle:hover,
.hdf-explore__panel .hdf-submenu-toggle:focus-visible {
    border-color: currentColor;
}

.hdf-explore__panel .sub-menu a {
    min-height: 42px;
    padding-inline: 18px 44px;
    font-size: clamp(12px, calc(var(--hdf-header-nav-height) * .2), 14px);
    font-weight: 450;
}

.hdf-explore__panel .sub-menu a:hover,
.hdf-explore__panel .sub-menu a:focus-visible,
.hdf-explore__panel .sub-menu .current-menu-item > a,
.hdf-explore__panel .sub-menu .current-menu-ancestor > a {
    background: var(--hdf-color-primary);
    color: var(--hdf-color-on-primary);
}

.hdf-explore__empty {
    display: grid;
    min-height: calc(100% - 58px);
    padding: 28px 20px;
    place-items: start stretch;
}

.hdf-explore__empty p {
    margin: 0;
    padding: 14px 16px;
    border: var(--hdf-border-width) solid var(--hdf-header-explore-border);
    border-radius: var(--hdf-input-radius);
    background: color-mix(in srgb, var(--hdf-header-explore-panel-background) 94%, var(--hdf-color-primary));
    color: var(--hdf-header-explore-item-text);
    font-family: var(--hdf-font-ui);
    font-size: 14px;
    line-height: 1.5;
}
@media (max-width: 782px) {
    .hdf-explore__panel {
        width: min(var(--hdf-header-explore-panel-width), calc(100vw - 20px));
    }
}

.hdf-explore__panel svg {
    display: block;
    width: 1em;
    height: 1em;
}

.hdf-explore__panel svg [fill]:not([fill="none"]) {
    fill: currentColor;
}

.hdf-explore__panel svg [stroke]:not([stroke="none"]) {
    stroke: currentColor;
}

.hdf-explore__panel svg path:not([fill]):not([stroke]) {
    fill: currentColor;
}

/* ===== components/header/dropdowns.css ===== */
.hdf-primary-menu .sub-menu {
    outline: var(--hdf-raised-edge-width) solid var(--hdf-raised-edge-outline);
    outline-offset: 0;
    position: absolute;
    z-index: 130;
    top: calc(100% + 6px);
    inset-inline-start: 0;
    width: var(--hdf-header-dropdown-width);
    margin: 0;
    padding: var(--hdf-space-2) 0;
    border: var(--hdf-raised-edge-width) solid var(--hdf-raised-edge-border);
    border-block-start-color: var(--hdf-raised-edge-light);
    border-inline-start-color: var(--hdf-raised-edge-light);
    border-block-end: var(--hdf-raised-edge-depth-width) solid var(--hdf-raised-edge-dark);
    border-inline-end: var(--hdf-raised-edge-depth-width) solid var(--hdf-raised-edge-dark);
    border-radius: var(--hdf-raised-edge-radius);
    background: var(--hdf-header-dropdown-background);
    list-style: none;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(6px);
    transition: opacity var(--hdf-transition), transform var(--hdf-transition), visibility var(--hdf-transition);
}

.hdf-primary-menu > .menu-item-has-children::after {
    position: absolute;
    z-index: 129;
    top: 100%;
    right: 0;
    left: 0;
    height: 10px;
    content: "";
}

.hdf-primary-menu li:hover > .sub-menu,
.hdf-primary-menu li:focus-within > .sub-menu,
.hdf-primary-menu li.is-submenu-open > .sub-menu,
.hdf-primary-menu li.is-submenu-hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.hdf-primary-navigation--submenu-horizontal .hdf-primary-menu > li > .sub-menu {
    display: grid;
    width: min(var(--hdf-header-horizontal-submenu-width), calc(100vw - 64px));
    grid-template-columns: repeat(var(--hdf-header-horizontal-submenu-columns), minmax(150px, 1fr));
    gap: 0;
    padding: 16px;
}

.hdf-primary-navigation--submenu-horizontal .hdf-primary-menu > li {
    position: static;
}

.hdf-primary-navigation--submenu-horizontal .hdf-primary-menu > li > .sub-menu {
    inset-inline-start: 50%;
    transform: translate(-50%, 6px);
}

.hdf-primary-navigation--submenu-horizontal .hdf-primary-menu > li:hover > .sub-menu,
.hdf-primary-navigation--submenu-horizontal .hdf-primary-menu > li:focus-within > .sub-menu,
.hdf-primary-navigation--submenu-horizontal .hdf-primary-menu > li.is-submenu-open > .sub-menu,
.hdf-primary-navigation--submenu-horizontal .hdf-primary-menu > li.is-submenu-hover > .sub-menu {
    transform: translate(-50%, 0);
}

.hdf-primary-menu .sub-menu .sub-menu {
    top: calc(-1 * var(--hdf-border-width));
    inset-inline-start: 100%;
}

.hdf-primary-menu .sub-menu a {
    display: flex;
    min-height: 42px;
    align-items: center;
    gap: 8px;
    padding: var(--hdf-space-2) var(--hdf-space-4);
    border-bottom: var(--hdf-border-width) solid var(--hdf-header-dropdown-border);
    color: var(--hdf-header-dropdown-text);
    font-family: var(--hdf-font-ui);
    font-size: clamp(12px, calc(var(--hdf-header-nav-height) * .21), 14px);
    font-weight: 500;
    line-height: 1.35;
    text-decoration: none;
}

.hdf-primary-navigation--submenu-horizontal .hdf-primary-menu > li > .sub-menu > li > a {
    border-bottom: 0;
}

.hdf-primary-menu .sub-menu li:last-child > a {
    border-bottom: 0;
}

.hdf-primary-menu .sub-menu a:hover,
.hdf-primary-menu .sub-menu a:focus-visible {
    background: var(--hdf-header-dropdown-hover-background);
    color: var(--hdf-header-dropdown-hover-text);
}

.hdf-submenu-media {
    grid-column: auto / span 1;
    grid-row: 1 / span 8;
    width: var(--hdf-header-horizontal-submenu-image-width);
    align-self: stretch;
    padding: 0 0 0 14px;
}

.hdf-submenu-media__image {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 180px;
    object-fit: cover;
    border-radius: var(--hdf-radius-card);
}

.hdf-submenu-toggle {
    display: inline-grid;
    width: 28px;
    min-height: 28px;
    margin-inline-start: 4px;
    padding: 0;
    place-items: center;
    border: 0;
    border-radius: 4px;
    background: transparent;
    color: currentColor;
}

.hdf-submenu-toggle svg {
    width: 14px;
    height: 14px;
}

.hdf-submenu-toggle[aria-expanded="true"] svg {
    transform: rotate(180deg);
}

.hdf-primary-menu > .menu-item-has-children > .hdf-submenu-toggle {
    align-self: center;
}

@media (max-width: 1060px) {
    .hdf-primary-menu .sub-menu,
    .hdf-primary-navigation--submenu-horizontal .hdf-primary-menu > li > .sub-menu {
        position: static;
        display: none;
        width: 100%;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: none;
    }

    .hdf-primary-menu li.is-submenu-open > .sub-menu,
    .hdf-primary-menu li.is-submenu-hover > .sub-menu {
        display: block;
    }

    .hdf-submenu-media {
        display: none;
    }
}

/* ===== components/header/responsive.css ===== */
@media (max-width: 1260px) {
    .hdf-header-main__inner {
        grid-template-columns: minmax(225px, 1fr) minmax(380px, 620px) minmax(285px, 1fr);
        column-gap: clamp(10px, 1.35vw, var(--hdf-header-main-gap));
    }

    .hdf-header-main__search {
        width: min(620px, 100%);
    }

    .hdf-header-main__actions {
        gap: min(9px, var(--hdf-header-action-gap, 10px));
    }

    .hdf-header-search--scope-right {
        grid-template-columns: minmax(0, 1fr) clamp(142px, 25%, 200px) var(--hdf-header-search-auto-height);
    }

    .hdf-header-search--scope-left {
        grid-template-columns: clamp(142px, 25%, 200px) minmax(0, 1fr) var(--hdf-header-search-auto-height);
    }

    .hdf-header-navigation__inner {
        grid-template-columns: minmax(170px, .8fr) minmax(0, 2fr) minmax(200px, 1fr);
        gap: var(--hdf-space-4);
    }

    .hdf-primary-menu {
        gap: clamp(14px, 1.7vw, var(--hdf-space-4));
    }
}

/* Compact two-row commercial Header:
 * row one = offcanvas + branding + Commerce actions;
 * row two = full-width search with equal inline padding.
 */
@media (max-width: 1140px) {
    .hdf-header-main {
        --hdf-header-main-control-render-size: var(--hdf-header-tablet-control-size, 34px);
        --hdf-header-cart-control-width: var(--hdf-header-main-control-render-size);
        min-height: 0;
        border-bottom: 0;
    }

    .hdf-header-topbar,
    .hdf-header-navigation,
    .hdf-header-navigation.is-open,
    .hdf-mobile-menu-toggle {
        display: none;
    }

    .site-header {
        border-bottom: 0;
        border-radius: 0;
    }

    body.hdf-header-mobile-separation .site-header {
        border-bottom: 2px solid var(--hdf-header-border-strong);
    }

    .site-header .hdf-header-main__inner {
        display: grid;
        width: 100%;
        max-width: 100%;
        min-height: 0;
        align-items: center;
        grid-template-columns: minmax(0, 1fr) max-content;
        grid-template-areas:
            "left actions"
            "search search";
        column-gap: 8px;
        row-gap: 8px;
        padding: 8px var(--hdf-header-mobile-padding-x, 12px) 0;
        box-sizing: border-box;
    }

    .hdf-header-main__left {
        grid-area: left;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        justify-content: flex-start;
        gap: 8px;
        overflow: hidden;
    }

    .hdf-header-main__branding {
        width: auto;
        max-width: min(31vw, 152px);
        min-width: 0;
        flex: 1 1 auto;
        overflow: hidden;
    }

    .site-branding,
    .site-logo,
    .site-logo a,
    .site-identity {
        min-width: 0;
    }

    .site-title a,
    .site-description {
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .hdf-header-main__explore,
    .hdf-explore,
    .hdf-explore__toggle,
    .hdf-mobile-menu-toggle {
        width: var(--hdf-header-main-control-render-size);
        min-width: var(--hdf-header-main-control-render-size);
        height: var(--hdf-header-main-control-render-size);
        min-height: var(--hdf-header-main-control-render-size);
        flex: 0 0 var(--hdf-header-main-control-render-size);
        aspect-ratio: 1 / 1;
        padding: 0;
        border-radius: 5px;
    }

    .hdf-header-main__explore {
        order: -1;
    }

    .hdf-header-main__actions {
        grid-area: actions;
        display: grid;
        width: max-content;
        max-width: 100%;
        min-width: 0;
        align-self: center;
        justify-content: end;
        grid-auto-columns: var(--hdf-header-main-control-render-size);
        grid-auto-flow: column;
        gap: 3px;
        overflow: visible;
    }

    .hdf-header-main__actions > *,
    .hdf-header-main__actions .hdc-notification-widget,
    .hdf-header-action,
    .hdf-header-action__control,
    .hdf-header-action__icon,
    .hdf-header-action--cart .hdf-header-action__control,
    .hdf-header-action__control--cart {
        width: var(--hdf-header-main-control-render-size);
        min-width: var(--hdf-header-main-control-render-size);
        max-width: var(--hdf-header-main-control-render-size);
        height: var(--hdf-header-main-control-render-size);
        min-height: var(--hdf-header-main-control-render-size);
        flex: 0 0 var(--hdf-header-main-control-render-size);
        aspect-ratio: 1 / 1;
        align-items: center;
        justify-content: center;
    }

    .hdf-header-action__icon,
    .hdf-header-action--cart .hdf-header-action__control,
    .hdf-header-action__control--cart {
        border-radius: 5px;
    }

    .hdf-header-action--cart .hdf-header-action__control,
    .hdf-header-action__control--cart {
        grid-template-columns: 1fr;
        gap: 0;
        padding-inline: 0;
    }

    .hdf-header-action--cart .hdf-header-action__icon,
    .hdf-header-action__control--cart .hdf-header-action__icon {
        position: static;
        margin: auto;
        transform: none;
    }

    .hdf-header-action__label,
    .hdf-header-action__meta,
    .hdf-header-action--cart .hdf-header-action__label,
    .hdf-header-action__control--cart .hdf-header-action__label,
    .hdf-header-action--cart .hdf-header-action__meta,
    .hdf-header-action__control--cart .hdf-header-action__meta {
        display: none;
    }

    .hdf-header-main__search-track {
        grid-area: search;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        padding: 0 0 8px;
        overflow: visible;
        box-sizing: border-box;
    }

    .hdf-header-main__search,
    .hdf-header-search,
    .hdf-header-search__input-wrap,
    .hdf-header-search__field {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }

    .hdf-header-search {
        grid-template-columns: minmax(0, 1fr) var(--hdf-header-search-auto-height);
        overflow: hidden;
    }

    .hdf-header-search__scope {
        display: none;
    }

    .hdf-header-search__input-wrap {
        border-radius: calc(var(--hdf-header-search-auto-height) / 2) 0 0 calc(var(--hdf-header-search-auto-height) / 2);
    }

    .hdf-header-search__submit {
        flex: 0 0 auto;
    }
}

@media (max-width: 782px) {
    .admin-bar .site-header--sticky {
        top: 46px;
    }

    .hdf-header-main {
        --hdf-header-main-control-render-size: var(--hdf-header-mobile-control-size, 30px);
        --hdf-header-cart-control-width: var(--hdf-header-main-control-render-size);
    }

    .site-description {
        display: none;
    }

    .site-brand-eyebrow {
        display: block;
        justify-self: end;
        margin: 0 0 1px;
        font-size: var(--hdf-header-mobile-eyebrow-size, 7px);
        line-height: 1;
    }

    .site-logo img {
        max-width: var(--hdf-header-logo-mobile-width);
    }

    .site-favicon img,
    .site-brand-mark {
        width: var(--hdf-header-mobile-brand-mark-size, 30px);
        height: var(--hdf-header-mobile-brand-mark-size, 30px);
        border-radius: 5px;
    }

    .site-title {
        max-width: clamp(88px, 26vw, 146px);
        font-size: var(--hdf-header-mobile-title-size, 14px);
        line-height: 1.05;
    }

    .hdf-header-main__actions {
        gap: 3px;
    }

    .hdf-header-action__badge {
        top: -5px;
        min-width: 17px;
        height: 17px;
        padding-inline: 4px;
        font-size: 9px;
    }
}

@media (max-width: 560px) {
    .site-header .hdf-header-main__inner {
        column-gap: 5px;
    }

    .hdf-header-main__left {
        gap: 5px;
    }

    .hdf-header-main__branding {
        max-width: min(31vw, 118px);
    }

    .site-title {
        max-width: clamp(78px, 24vw, 112px);
    }

    .hdf-header-main__actions {
        gap: 2px;
    }
}

@media (max-width: 390px) {
    .hdf-header-main {
        --hdf-header-main-control-render-size: calc(var(--hdf-header-mobile-control-size, 30px) - 2px);
        --hdf-header-cart-control-width: var(--hdf-header-main-control-render-size);
    }

    .hdf-header-main__branding {
        max-width: 102px;
    }

    .site-title {
        max-width: 80px;
        font-size: max(12px, calc(var(--hdf-header-mobile-title-size, 14px) - 1px));
    }
}

/* ===== utilities/accessibility.css ===== */
.screen-reader-text {
    position: absolute;
    overflow: hidden;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    word-wrap: normal;
}

.screen-reader-text:focus {
    z-index: 100000;
    top: var(--hdf-space-2);
    left: var(--hdf-space-2);
    display: block;
    width: auto;
    height: auto;
    padding: calc(var(--hdf-space-3) + 2px) calc(var(--hdf-space-4) + 2px);
    clip: auto;
    clip-path: none;
    background: var(--hdf-color-surface);
    color: var(--hdf-color-text);
    font-size: 1rem;
    line-height: normal;
    text-decoration: none;
}

:focus-visible {
    outline: var(--hdf-focus-ring-width) solid var(--hdf-focus-ring-color);
    outline-offset: var(--hdf-focus-ring-offset);
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto;
        transition-duration: 0.01ms;
        animation-duration: 0.01ms;
        animation-iteration-count: 1;
    }
}

/* ===== utilities/responsive.css ===== */
@media (max-width: 1024px) {
    .content-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .content-with-sidebar {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 782px) {
    .content-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom__inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .hyperdaf-container {
        width: min(calc(100% - var(--hdf-space-7)), var(--hdf-container));
    }
}


/* Canonical tablet/mobile viewport containment. Every homepage engine reflows
 * live on viewport/orientation changes; the page itself never becomes an
 * unintended horizontal scroller. Scoped component scrollers remain allowed. */
@media (max-width: 1140px) {
    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
        overflow-x: clip;
    }

    #page,
    .site,
    .site-header,
    .site-main,
    .site-footer,
    .hdf-front-page-main,
    .hdf-front-page-main > * {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }

    .hdf-front-page-main img,
    .hdf-front-page-main video,
    .hdf-front-page-main iframe,
    .hdf-front-page-main canvas {
        max-width: 100%;
        height: auto;
    }

    .hdf-front-page-main input,
    .hdf-front-page-main select,
    .hdf-front-page-main textarea,
    .hdf-front-page-main button {
        max-width: 100%;
    }
}

/* ===== layout/pages-responsive.css ===== */
@media (max-width: 1024px) {
    .hdf-page {
        --hdf-page-current-padding-top: var(--hdf-page-tablet-padding-top);
        --hdf-page-current-padding-right: var(--hdf-page-tablet-padding-right);
        --hdf-page-current-padding-bottom: var(--hdf-page-tablet-padding-bottom);
        --hdf-page-current-padding-left: var(--hdf-page-tablet-padding-left);
    }

}

@media (max-width: 782px) {
    .hdf-page {
        --hdf-page-current-padding-top: var(--hdf-page-mobile-padding-top);
        --hdf-page-current-padding-right: var(--hdf-page-mobile-padding-right);
        --hdf-page-current-padding-bottom: var(--hdf-page-mobile-padding-bottom);
        --hdf-page-current-padding-left: var(--hdf-page-mobile-padding-left);
    }

    .hdf-page--boxed .hdf-page-primary {
        padding: min(var(--hdf-page-boxed-padding), var(--hdf-space-6));
    }
}
