/*
Theme Name: aperture-shop-theme
Description: general
Version:     2.3.0
Author:      Fixit E.E.
Author URI:  https://www.fixit.gr
Text Domain: aqua-life
*/

:root {
    --color-content-primary: #1e1e1e;
    --color-content-secondary: #c47f2e;
    --color-content-accent: #f5f0e8;
    --color-content-bg: #fafaf7;
    --color-content-text: #2b2b2b;
    --fx-font-heading-override: DM Serif Display, serif;
    --fx-font-body-override: Inter, sans-serif;

    --ap-ink: #192b37;
    --ap-ink-soft: #22394a;
    --ap-paper: #fefaed;
    --ap-paper-warm: #f5edd7;
    --ap-brass: #faca1e;
    --ap-brass-lit: #ffd956;
    --ap-blue: #006ab9;
    --ap-blue-lit: #0b81d8;
    --ap-text: #26313b;
    --ap-muted: #5f6c78;
    --ap-line: rgba(25, 43, 55, 0.16);
    --ap-line-soft: rgba(25, 43, 55, 0.09);
    --ap-line-dark: rgba(255, 255, 255, 0.16);
    --ap-muted-dark: rgba(255, 255, 255, 0.62);
    --ap-serif: "DM Serif Display", Georgia, serif;
    --ap-sans: Inter, -apple-system, "Segoe UI", sans-serif;
    --ap-mono: "JetBrains Mono", ui-monospace, "SF Mono", Consolas, monospace;
}

body {
    background: var(--ap-paper);
    color: var(--ap-text);
    font-family: var(--ap-sans);
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

body h1,
body h2,
body h3,
body h4,
body h5,
body h6 {
    font-family: var(--ap-serif);
    font-weight: 400;
    letter-spacing: -0.005em;
    line-height: 1.12;
    color: var(--ap-ink);
}

body p,
body li {
    font-family: var(--ap-sans);
}

body a {
    color: inherit;
}

/* ---------- header ---------- */

body.fx-arch-editorial .t-header {
    background: var(--ap-ink);
    border-bottom: 0;
    box-shadow: none;
    backdrop-filter: none;
}

body.fx-arch-editorial .t-header-inner {
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;
    row-gap: 0;
    column-gap: 28px;
    max-width: 1280px;
    padding: 18px 32px;
}

body .t-logo,
body .fx-logo-wordmark {
    font-family: var(--ap-serif);
    font-weight: 400;
    font-size: 25px;
    letter-spacing: -0.01em;
    color: #fff;
}

body.fx-arch-editorial .t-logo {
    flex: 0 0 auto;
    width: auto;
    margin-right: 8px;
}

body.fx-arch-editorial .t-search-wrap {
    order: 3;
    flex: 1 1 auto;
    min-width: 180px;
    max-width: 640px;
    margin-left: 4px;
}

body .fx-logo-dot {
    color: var(--ap-blue);
}

body .t-nav {
    margin-left: auto;
    gap: 4px;
    align-items: center;
}

body .t-nav > li > a,
body .t-nav a.t-nav-link {
    font-family: var(--ap-mono);
    font-size: 11.5px;
    font-weight: 500;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: var(--ap-ink);
    padding: 10px 12px;
    border-radius: 0;
}

body .t-nav > li > a:hover {
    color: var(--ap-blue);
    background: transparent;
}

body .t-nav .current-menu-item > a,
body .t-nav .current_page_item > a {
    color: var(--ap-blue);
    box-shadow: inset 0 -1px 0 var(--ap-brass);
}

body .t-header-cta {
    font-family: var(--ap-mono);
    font-size: 11.5px;
    font-weight: 500;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    background: var(--ap-ink);
    color: var(--ap-paper);
    border-radius: 0;
    border: 1px solid var(--ap-ink);
    padding: 11px 20px;
    transition: background 0.18s ease, color 0.18s ease;
}

body .t-header-cta:hover {
    background: var(--ap-brass);
    border-color: var(--ap-blue);
    color: var(--ap-ink);
}

body .t-search-toggle {
    color: var(--ap-ink);
    border-radius: 0;
}

body .t-nav-toggle span {
    background: var(--ap-ink);
    border-radius: 0;
}

/* ---------- submenus ---------- */

body .t-nav ul,
body .t-nav .sub-menu,
body .t-nav .fx-submenu {
    background: var(--ap-ink);
    border: 1px solid var(--ap-ink);
    border-radius: 0;
    box-shadow: 0 24px 60px -28px rgba(0, 0, 0, 0.55);
    padding: 10px 0;
}

body .t-nav ul a,
body .t-nav .sub-menu a {
    font-family: var(--ap-sans);
    font-size: 14px;
    letter-spacing: 0;
    text-transform: none;
    color: var(--ap-muted-dark);
    padding: 9px 22px;
}

body .t-nav ul a:hover,
body .t-nav .sub-menu a:hover {
    color: var(--ap-blue-lit);
    background: transparent;
}

/* ---------- sections ---------- */

body .t-section {
    padding: 104px 0;
    background: var(--ap-paper);
}

body .t-section--soft {
    background: var(--ap-paper-warm);
}

body .t-section--white {
    background: var(--ap-paper);
}

body .t-section--navy {
    background: var(--ap-ink);
    border-radius: 0;
    color: var(--ap-muted-dark);
}

body .t-section--navy .t-section-title,
body .t-section--navy h2,
body .t-section--navy h3 {
    color: var(--ap-paper);
}

body .t-section--navy p {
    color: var(--ap-muted-dark);
}

body .t-container {
    max-width: 1280px;
    padding-left: 32px;
    padding-right: 32px;
}

body .t-section-title {
    font-family: var(--ap-serif);
    font-size: clamp(28px, 3.4vw, 44px);
    letter-spacing: -0.015em;
    text-align: left;
    margin-bottom: 44px;
    padding-top: 22px;
    position: relative;
}

body .t-section-title::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 46px;
    height: 2px;
    background: var(--ap-brass);
}

body .t-section--navy .t-section-title::before {
    background: var(--ap-brass-lit);
}

/* ---------- hero ---------- */

body .t-hero-full {
    border-radius: 0;
}

body .t-hero-full h1 {
    font-family: var(--ap-serif);
    font-size: clamp(2.4rem, 4.6vw, 3.9rem);
    letter-spacing: -0.02em;
    line-height: 1.06;
    color: #fff;
}

body .t-hero-full p {
    font-family: var(--ap-sans);
    font-size: 17px;
    line-height: 1.7;
}

body .t-hero-btns {
    gap: 14px;
    margin-top: 34px;
}

/* ---------- buttons ---------- */

body .t-btn-primary,
body .wp-block-button .wp-block-button__link {
    font-family: var(--ap-mono);
    font-size: 11.5px;
    font-weight: 500;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    background: var(--ap-brass);
    color: var(--ap-ink);
    border: 1px solid var(--ap-brass);
    border-radius: 0;
    padding: 15px 26px;
    box-shadow: none;
    backdrop-filter: none;
    transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

body .t-btn-primary:hover,
body .wp-block-button .wp-block-button__link:hover {
    background: transparent;
    color: var(--ap-blue);
    border-color: var(--ap-blue);
}

body .t-btn-ghost,
body .t-btn-outline {
    font-family: var(--ap-mono);
    font-size: 11.5px;
    font-weight: 500;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 0;
    padding: 15px 26px;
    box-shadow: none;
    backdrop-filter: none;
    transition: border-color 0.18s ease, color 0.18s ease;
}

body .t-btn-ghost:hover,
body .t-btn-outline:hover {
    background: transparent;
    color: var(--ap-blue-lit);
    border-color: var(--ap-blue-lit);
}

body .t-section--soft .t-btn-ghost,
body .t-section--white .t-btn-ghost {
    color: var(--ap-ink);
    border-color: var(--ap-line);
}

/* ---------- cards: contact sheet ---------- */

body .t-grid {
    gap: 0;
    background: transparent;
    border-top: 1px solid var(--ap-line-soft);
    border-left: 1px solid var(--ap-line-soft);
}

body .t-card {
    background: var(--ap-paper);
    border: 0;
    border-right: 1px solid var(--ap-line-soft);
    border-bottom: 1px solid var(--ap-line-soft);
    border-radius: 0;
    box-shadow: none;
    backdrop-filter: none;
    padding: 30px 28px 34px;
    transition: background 0.2s ease;
}

body .t-section--soft .t-card {
    background: var(--ap-paper-warm);
}

body .t-card:hover {
    background: #fff;
    transform: none;
    box-shadow: none;
}

body .t-section--navy .t-grid {
    border-top-color: var(--ap-line-dark);
    border-left-color: var(--ap-line-dark);
}

body .t-section--navy .t-card {
    background: var(--ap-ink);
    color: var(--ap-muted-dark);
}

body .t-section--navy .t-card:hover {
    background: var(--ap-ink-soft);
}

body .t-section--navy .t-card-title {
    color: var(--ap-paper);
}

body .t-card-img,
body .t-card-img img,
body .fx-skin-glass .t-card-img img {
    border-radius: 0;
}

body .t-card-img {
    margin: -30px -28px 26px;
    overflow: hidden;
    border-bottom: 1px solid var(--ap-line-soft);
}

body .t-card-img img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    filter: saturate(0.88) contrast(1.04);
    transition: filter 0.25s ease, transform 0.4s ease;
}

body .t-card:hover .t-card-img img {
    filter: saturate(1) contrast(1.04);
    transform: scale(1.02);
}

body .t-card-title {
    font-family: var(--ap-serif);
    font-size: 21px;
    font-weight: 400;
    letter-spacing: -0.01em;
    line-height: 1.2;
    color: var(--ap-ink);
    margin-bottom: 12px;
}

body .t-card-body,
body .t-card p {
    font-family: var(--ap-sans);
    font-size: 14.5px;
    line-height: 1.7;
    color: var(--ap-muted);
}

body .t-card-icon {
    width: 34px;
    height: 34px;
    background: transparent;
    border: 1px solid var(--ap-brass);
    border-radius: 0;
    color: var(--ap-blue);
    margin-bottom: 20px;
    box-shadow: none;
}

body .t-card--link:hover {
    background: #fff;
}

/* ---------- newsletter ---------- */

body .fx-newsletter input:not([type="submit"]):not([type="button"]):not([type="checkbox"]):not([type="radio"]),
body .t-footer-newsletter input:not([type="submit"]):not([type="button"]):not([type="checkbox"]):not([type="radio"]) {
    font-family: var(--ap-sans);
    font-size: 14px;
    background: transparent;
    border: 1px solid var(--ap-line-dark);
    border-radius: 0;
    color: var(--ap-paper);
    padding: 14px 16px;
}

body .fx-newsletter input[type="email"]::placeholder {
    color: rgba(255, 255, 255, 0.45);
}

body .fx-newsletter button,
body .t-footer-newsletter button {
    border-radius: 0;
    box-shadow: none;
    backdrop-filter: none;
}

/* ---------- footer ---------- */

body .t-footer,
body .t-rich-footer {
    background: var(--ap-ink);
    color: var(--ap-muted-dark);
    border-radius: 0;
}

body .t-rich-footer-grid {
    max-width: 1280px;
    padding-left: 32px;
    padding-right: 32px;
    gap: 48px;
}

body .t-rich-footer-col h3,
body .t-rich-footer-col h4,
body .t-rich-footer-col strong {
    font-family: var(--ap-mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ap-blue-lit);
    margin-bottom: 18px;
}

body .t-footer-menu a,
body .t-rich-footer-col a {
    font-family: var(--ap-sans);
    font-size: 14px;
    color: var(--ap-muted-dark);
    text-decoration: none;
    line-height: 2.05;
}

body .t-footer-menu a:hover,
body .t-rich-footer-col a:hover {
    color: var(--ap-blue-lit);
}

body .t-rich-footer-bottom,
body .t-rich-footer-legal {
    font-family: var(--ap-mono);
    font-size: 11px;
    letter-spacing: 0.08em;
    border-top: 1px solid var(--ap-line-dark);
    color: rgba(255, 255, 255, 0.42);
    padding-top: 26px;
}

body .fx-social-icon {
    border: 1px solid var(--ap-line-dark);
    border-radius: 0;
    color: var(--ap-muted-dark);
    background: transparent;
}

body .fx-social-icon:hover {
    border-color: var(--ap-blue-lit);
    color: var(--ap-blue-lit);
    background: transparent;
}

/* ---------- forms ---------- */

body input:not([type="submit"]):not([type="button"]):not([type="checkbox"]):not([type="radio"]),
body textarea,
body select {
    font-family: var(--ap-sans);
    font-size: 15px;
    border-radius: 0;
    border: 1px solid var(--ap-line);
    background: #fff;
    padding: 13px 16px;
}

body input:not([type="submit"]):not([type="button"]):not([type="checkbox"]):not([type="radio"]):focus,
body textarea:focus,
body select:focus {
    border-color: var(--ap-blue);
    outline: none;
}

/* ---------- woocommerce ---------- */

body.woocommerce ul.products li.product,
body .woocommerce ul.products li.product,
body .wc-block-grid__product {
    background: var(--ap-paper);
    border: 1px solid var(--ap-line-soft);
    border-radius: 0;
    box-shadow: none;
    padding: 0 0 24px;
}

body.woocommerce ul.products li.product img,
body .woocommerce ul.products li.product img {
    border-radius: 0;
    filter: saturate(0.9);
}

body.woocommerce ul.products li.product h2,
body .woocommerce ul.products li.product h2,
body.woocommerce ul.products li.product .woocommerce-loop-product__title,
body .woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-family: var(--ap-serif);
    font-size: 18px;
    font-weight: 400;
    padding: 0 20px;
}

body.woocommerce ul.products li.product .price,
body .woocommerce ul.products li.product .price,
body.woocommerce div.product p.price,
body .woocommerce div.product p.price {
    font-family: var(--ap-mono);
    font-size: 14px;
    letter-spacing: 0.02em;
    color: var(--ap-ink);
    padding: 0 20px;
}

body.woocommerce a.button,
body .woocommerce a.button,
body.woocommerce button.button,
body .woocommerce button.button,
body.woocommerce #respond input#submit,
body .woocommerce #respond input#submit,
body.woocommerce .woocommerce-message a.button,
body .woocommerce .woocommerce-message a.button {
    font-family: var(--ap-mono);
    font-size: 11.5px;
    font-weight: 500;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    background: var(--ap-ink);
    color: var(--ap-paper);
    border-radius: 0;
    padding: 14px 22px;
}

body.woocommerce a.button:hover,
body .woocommerce a.button:hover,
body.woocommerce button.button:hover,
body .woocommerce button.button:hover,
body.woocommerce #respond input#submit:hover,
body .woocommerce #respond input#submit:hover {
    background: var(--ap-brass);
    color: var(--ap-ink);
}

body.woocommerce div.product .product_title,
body .woocommerce div.product .product_title {
    font-family: var(--ap-serif);
    font-size: clamp(30px, 3.4vw, 42px);
}

body.woocommerce a.button.alt,
body .woocommerce a.button.alt,
body.woocommerce button.button.alt,
body .woocommerce button.button.alt,
body.woocommerce #respond input#submit.alt,
body .woocommerce #respond input#submit.alt {
    background: var(--ap-ink);
    color: var(--ap-paper);
}

body.woocommerce a.button.alt:hover,
body .woocommerce a.button.alt:hover,
body.woocommerce button.button.alt:hover,
body .woocommerce button.button.alt:hover,
body.woocommerce #respond input#submit.alt:hover,
body .woocommerce #respond input#submit.alt:hover {
    background: var(--ap-brass);
    color: var(--ap-ink);
}

body.woocommerce div.product .woocommerce-tabs ul.tabs li a,
body .woocommerce div.product .woocommerce-tabs ul.tabs li a {
    font-family: var(--ap-mono);
    font-size: 11.5px;
    font-weight: 500;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: var(--ap-muted);
}

body.woocommerce div.product .woocommerce-tabs ul.tabs li.active a,
body .woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
    color: var(--ap-ink);
}

body.woocommerce-cart .wp-block-woocommerce-cart,
body.woocommerce-checkout .wp-block-woocommerce-checkout,
body.woocommerce-account .woocommerce {
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding: 36px 32px 72px;
}

body .ap-wc-title {
    font-family: var(--ap-serif);
    font-size: clamp(30px, 3.4vw, 44px);
    letter-spacing: -0.015em;
    max-width: 1280px;
    margin: 72px auto 0;
    padding: 0 32px;
}

body .woocommerce-breadcrumb {
    font-family: var(--ap-mono);
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ap-muted);
}

/* ---------- responsive ---------- */

@media (max-width: 1100px) {
    body.fx-arch-editorial .t-header-inner {
        column-gap: 16px;
        padding: 16px 24px;
    }

    body .t-nav > li > a,
    body .t-nav a.t-nav-link {
        padding: 10px 8px;
        letter-spacing: 0.09em;
    }
}

@media (max-width: 900px) {
    body .t-section {
        padding: 68px 0;
    }

    body .t-container,
    body .t-rich-footer-grid {
        padding-left: 22px;
        padding-right: 22px;
    }

    body .t-section-title {
        margin-bottom: 32px;
    }

    body .t-nav {
        background: var(--ap-paper);
        border-top: 1px solid var(--ap-line);
    }

    body .t-nav > li > a,
    body .t-nav a.t-nav-link {
        font-size: 12px;
        padding: 14px 24px;
    }

    body .t-header-cta {
        display: inline-block;
        margin: 16px 24px 24px;
    }
}

@media (max-width: 640px) {
    body .t-card {
        padding: 24px 22px 28px;
    }

    body .t-card-img {
        margin: -24px -22px 20px;
    }

    body .t-btn-primary,
    body .t-btn-ghost {
        width: auto;
        display: inline-block;
    }
}

/* ---------- homepage editorial grids ---------- */

.ap-split {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 64px;
    align-items: start;
}

.ap-cells {
    display: grid;
    gap: 1px;
}

.ap-cells--2 {
    grid-template-columns: repeat(2, 1fr);
    background: rgba(25, 43, 55, 0.09);
    border: 1px solid rgba(25, 43, 55, 0.09);
}

.ap-cells--4 {
    grid-template-columns: repeat(4, 1fr);
    background: rgba(25, 43, 55, 0.12);
    border: 1px solid rgba(25, 43, 55, 0.12);
}

.ap-cells--6 {
    grid-template-columns: repeat(6, 1fr);
    background: rgba(25, 43, 55, 0.14);
    border: 1px solid rgba(25, 43, 55, 0.14);
}

@media (max-width: 900px) {
    .ap-split {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .ap-cells--4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .ap-cells--6 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 640px) {
    .ap-cells--2,
    .ap-cells--4 {
        grid-template-columns: 1fr;
    }

    .ap-cells--6 {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ---------- header actions (search / wishlist / cart) ---------- */

body.fx-arch-editorial .t-logo {
    order: 1;
}

body.fx-arch-editorial .t-nav {
    order: 2;
}

body.fx-arch-editorial .t-search-wrap {
    order: 3;
}

body.fx-arch-editorial .t-header-actions {
    order: 4;
}

body.fx-arch-editorial .t-nav-toggle {
    order: 5;
}

body .t-header-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: 2px;
}

/* Direct children only: the wishlist panel hangs inside this container and
   its links and remove buttons must not be squashed into icon boxes. */
body .t-header-actions > a,
body .t-header-actions .fxw-dropdown-toggle,
body .t-search-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    color: var(--ap-ink);
    transition: color 0.18s ease;
}

body .t-header-actions > a:hover,
body .t-header-actions .fxw-dropdown-toggle:hover,
body .t-search-toggle:hover {
    color: var(--ap-blue);
}

body .ap-cart-link,
body .fxw-dropdown-toggle {
    position: relative;
}

body .ap-cart-count,
body .fxw-dropdown-badge {
    position: absolute;
    top: 3px;
    right: 1px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    font-family: var(--ap-mono);
    font-size: 9.5px;
    font-weight: 500;
    line-height: 16px;
    text-align: center;
    background: var(--ap-brass);
    color: var(--ap-ink);
    border-radius: 8px;
}

body .ap-cart-count.is-empty {
    display: none;
}

body .t-search-wrap {
    position: static;
}

body .t-search-form[hidden] {
    display: flex;
}

/* Same width as the results panel below it, so the two read as one sheet
   instead of a panel floating inside a wider strip. */
body .t-search-form {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-width: 1216px;
    margin: 0 auto;
    display: flex;
    justify-content: flex-end;
    padding: 12px 0 0;
    background: var(--ap-paper);
    border: 0;
}

body .t-search-form input:not([type="submit"]):not([type="button"]):not([type="checkbox"]):not([type="radio"]) {
    width: 100%;
    max-width: none;
    font-family: var(--ap-serif);
    font-size: 22px;
    color: var(--ap-ink);
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--ap-line);
    border-radius: 0;
    padding: 10px 2px;
}

body .t-search-form input:not([type="submit"]):not([type="button"]):not([type="checkbox"]):not([type="radio"]):focus {
    outline: none;
    border-bottom-color: var(--ap-blue);
}

/* ---------- wishlist ---------- */

body .fxw-btn {
    background: rgba(250, 248, 244, 0.9);
    border: 1px solid var(--ap-line-soft);
    border-radius: 0;
    color: var(--ap-muted);
}

body .fxw-btn.is-active {
    color: var(--ap-blue);
    border-color: var(--ap-blue);
}

body .fxw-page-card {
    background: var(--ap-paper);
    border: 1px solid var(--ap-line-soft);
    border-radius: 0;
    box-shadow: none;
}

body .fxw-page-card .fxw-page-add-to-cart,
body .fxw-page-card .fxw-page-add-to-cart.button.alt {
    font-family: var(--ap-mono);
    font-size: 11.5px;
    font-weight: 500;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    background: var(--ap-ink);
    color: var(--ap-paper);
    border: 1px solid var(--ap-ink);
    border-radius: 0;
    padding: 13px 20px;
}

body .fxw-page-card .fxw-page-add-to-cart:hover,
body .fxw-page-card .fxw-page-add-to-cart.button.alt:hover {
    background: var(--ap-brass);
    border-color: var(--ap-blue);
    color: var(--ap-ink);
}

body .fxw-page-card .fxw-page-actions .fxw-page-remove {
    align-self: center;
    flex: 0 0 auto;
    margin-top: 0;
    padding: 0;
    border-radius: 0;
    color: var(--ap-muted);
}

body .fxw-page[data-fxw-view="list"] .fxw-page-actions .fxw-page-add-to-cart {
    flex: 0 0 auto;
    width: auto;
    min-width: 220px;
}

body .fxw-view-btn {
    font-family: var(--ap-mono);
    font-size: 11px;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    border-radius: 0;
}

/* ---------- amazingsearch popup ---------- */

/* The plugin themes itself through these tokens, so set them rather than
   out-specify every rule. */
:root {
    --fxw-color-active: #c47f2e;
    --fxw-color-inactive: #6d6660;
    --fxw-radius: 0px;
    --amazingsearch-border: rgba(25, 43, 55, 0.16);
    --amazingsearch-hover-bg: #f2ede4;
    --amazingsearch-highlight: #c47f2e;
    --amazingsearch-price: #141414;
    --amazingsearch-popup-width: min(1216px, calc(100vw - 64px));
}

/* No frame: it sits flush under the field and only needs to lift off the page
   below it. */
body .amazingsearch-autocomplete-container {
    overflow-x: hidden;
    border-radius: 0;
    border: 0;
    box-shadow: 0 26px 44px -30px rgba(25, 43, 55, 0.4);
}

body .amazingsearch-autocomplete-container .amazingsearch-product-link,
body .amazingsearch-autocomplete-container .amazingsearch-product-info,
body .amazingsearch-autocomplete-container .amazingsearch-product-name,
body .amazingsearch-autocomplete-container .amazingsearch-product-desc {
    min-width: 0;
    max-width: 100%;
}

body .amazingsearch-autocomplete-container .amazingsearch-product-name {
    font-family: var(--ap-serif);
}

body .amazingsearch-autocomplete-container .amazingsearch-product-price {
    font-family: var(--ap-mono);
    color: var(--ap-ink);
}

/* ---------- mini cart drawer ---------- */

body #fxmc-drawer {
    background: var(--ap-paper);
    border-left: 1px solid var(--ap-line);
    border-radius: 0;
}

body #fxmc-drawer .fxmc-title {
    font-family: var(--ap-serif);
    font-weight: 400;
    color: var(--ap-ink);
}

body #fxmc-drawer .fxmc-count {
    font-family: var(--ap-mono);
    font-size: 11px;
    background: var(--ap-brass);
    color: var(--ap-ink);
    border-radius: 0;
}

body #fxmc-drawer .fxmc-name {
    font-family: var(--ap-serif);
}

body #fxmc-drawer .fxmc-line,
body #fxmc-drawer .fxmc-line-sub,
body #fxmc-drawer .fxmc-subtotal {
    font-family: var(--ap-mono);
}

body #fxmc-drawer .fxmc-thumb,
body #fxmc-drawer .fxmc-thumb img,
body #fxmc-drawer .fxmc-qty-btn,
body #fxmc-drawer .fxmc-qty-input,
body #fxmc-drawer .fxmc-close,
body #fxmc-drawer .fxmc-remove {
    border-radius: 0;
}

body #fxmc-drawer .fxmc-checkout-btn,
body #fxmc-drawer .fxmc-view-cart {
    font-family: var(--ap-mono);
    font-size: 11.5px;
    font-weight: 500;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    border-radius: 0;
    box-shadow: none;
}

body #fxmc-drawer .fxmc-checkout-btn {
    background: var(--ap-ink);
    color: var(--ap-paper);
}

body #fxmc-drawer .fxmc-checkout-btn:hover {
    background: var(--ap-brass);
    color: var(--ap-ink);
}

body #fxmc-drawer .fxmc-view-cart {
    color: var(--ap-ink);
    border: 1px solid var(--ap-line);
}

@media (max-width: 768px) {
    /* The plugin pins the popup with top: 0 !important, which buries the header
       and the field you are typing into. Margin is the only lever left. */
    body .amazingsearch-autocomplete-container {
        margin-top: var(--ap-search-offset, 140px);
        bottom: auto;
        height: auto;
        max-height: calc(100vh - var(--ap-search-offset, 140px) - 24px);
    }
}

@media (max-width: 900px) {
    /* the container padding drops to 22px here, so the popup must follow */
    :root {
        --amazingsearch-popup-width: calc(100vw - 44px);
    }

    body .t-search-form input:not([type="submit"]):not([type="button"]):not([type="checkbox"]):not([type="radio"]) {
        font-size: 18px;
    }

    body .t-header-actions > a,
    body .t-header-actions .fxw-dropdown-toggle,
    body .t-search-toggle {
        width: 34px;
        height: 34px;
    }

    body .t-header-actions {
        gap: 2px;
    }

    body .t-search-form {
        max-width: calc(100vw - 44px);
        padding: 8px 0 0;
    }

    body .t-search-form input:not([type="submit"]):not([type="button"]):not([type="checkbox"]):not([type="radio"]) {
        max-width: none;
    }
}

/* ---------- catalogue ---------- */

body.woocommerce-page .woocommerce-result-count,
body.woocommerce-page .woocommerce-ordering select {
    font-family: var(--ap-mono);
    font-size: 11px;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: var(--ap-muted);
}

body.woocommerce-page .woocommerce-ordering select {
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--ap-line);
    border-radius: 0;
    padding: 8px 2px;
    color: var(--ap-ink);
}

body.woocommerce-page .term-description,
body.woocommerce-page .woocommerce-products-header {
    max-width: 720px;
}

body.woocommerce-page .term-description p {
    font-size: 17px;
    line-height: 1.75;
    color: var(--ap-muted);
}

/* Uneven source photography makes the grid rows ragged; one ratio settles it. */
body.woocommerce-page ul.products li.product a img,
body.woocommerce-page ul.products li.product img {
    aspect-ratio: 4 / 3;
    object-fit: cover;
    margin-bottom: 0;
}

body.woocommerce-page ul.products li.product .woocommerce-loop-product__title {
    padding-top: 20px;
    line-height: 1.25;
}

body .ap-loop-spec {
    font-family: var(--ap-sans);
    font-size: 13.5px;
    line-height: 1.6;
    color: var(--ap-muted);
    padding: 0 20px;
    margin: 6px 0 10px;
}

body.woocommerce-page ul.products li.product .price {
    display: block;
    margin-bottom: 16px;
}

body.woocommerce-page ul.products li.product .price del {
    color: var(--ap-muted);
    margin-right: 8px;
}

body.woocommerce-page ul.products li.product .price ins {
    text-decoration: none;
    color: var(--ap-blue);
}

body.woocommerce-page ul.products li.product .button {
    margin: 0 20px 4px;
}

body .ap-grade {
    font-family: var(--ap-mono);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

body .ap-grade--loop {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    padding: 7px 12px;
    background: var(--ap-ink);
    color: var(--ap-paper);
}

body.woocommerce-page ul.products li.product {
    position: relative;
}

body .ap-grade--single {
    display: inline-block;
    padding: 7px 12px;
    margin: 0 0 20px;
    background: var(--ap-paper-warm);
    color: var(--ap-ink);
    border: 1px solid var(--ap-line);
}

body .ap-cond {
    margin: 0 0 18px;
    padding: 12px 14px;
    background: var(--ap-paper-warm);
    border: 1px solid var(--ap-line-soft);
}

body ul.products li.product .ap-cond {
    margin: 0 20px 16px;
}

body .ap-cond-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--ap-mono);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ap-muted);
}

body .ap-cond-row + .ap-cond-row {
    margin-top: 8px;
}

body .ap-cond-label {
    flex: 0 0 66px;
}

body .ap-cond-meter {
    display: flex;
    flex: 1 1 auto;
    gap: 3px;
    max-width: 120px;
}

body .ap-cond-seg {
    flex: 1 1 auto;
    min-width: 5px;
    height: 7px;
    background: rgba(25, 43, 55, 0.13);
}

body .ap-cond-seg.is-on {
    background: var(--ap-brass);
}

body .ap-cond-score {
    flex: 0 0 auto;
    color: var(--ap-ink);
}

body .ap-cond-warranty {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 11px 0 0;
    padding-top: 10px;
    border-top: 1px solid var(--ap-line-soft);
    font-family: var(--ap-mono);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ap-ink);
}

body .ap-cond-warranty::before {
    content: "\2713";
    font-size: 12px;
    line-height: 1.3;
    color: var(--ap-blue);
}

@media (max-width: 700px) {
    body ul.products li.product .ap-cond {
        margin: 0 14px 14px;
        padding: 10px 11px;
    }

    body .ap-cond-row {
        flex-wrap: wrap;
        gap: 5px 8px;
    }

    body .ap-cond-label {
        flex: 1 0 100%;
    }

    body .ap-cond-meter {
        max-width: none;
    }

    body .ap-cond-warranty {
        align-items: flex-start;
        letter-spacing: 0.05em;
    }
}

/* The heart sits over photographs that run from white to near-black, so it
   needs a plate behind it. wishlist.css sets .fxw-btn background to transparent
   with !important, which kills its own .fxw-btn-loop plate — so dress the
   wrapper instead, which carries no !important. */
body .fxw-loop-wrap {
    top: 12px;
    right: 12px;
    display: flex;
    background: rgba(250, 248, 244, 0.94);
    border: 1px solid rgba(25, 43, 55, 0.12);
}

/* ---------- single product ---------- */

body.woocommerce-page div.product .summary {
    padding-top: 4px;
}

body.woocommerce-page div.product p.price {
    font-size: 22px;
    margin-bottom: 22px;
}

body.woocommerce-page div.product p.price del {
    color: var(--ap-muted);
    font-size: 17px;
    margin-right: 10px;
}

body.woocommerce-page div.product p.price ins {
    text-decoration: none;
    color: var(--ap-blue);
}

body.woocommerce-page div.product .woocommerce-product-details__short-description {
    font-size: 17px;
    line-height: 1.75;
    color: var(--ap-muted);
    padding-bottom: 8px;
    margin-bottom: 26px;
    border-bottom: 1px solid var(--ap-line-soft);
}

body.woocommerce-page div.product .product_meta {
    font-family: var(--ap-mono);
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ap-muted);
    margin-top: 30px;
    padding-top: 22px;
    border-top: 1px solid var(--ap-line-soft);
}

body.woocommerce-page div.product .product_meta > span {
    display: block;
    margin-bottom: 8px;
}

body.woocommerce-page div.product .product_meta a {
    color: var(--ap-ink);
}

body.woocommerce-page div.product .product_meta a:hover {
    color: var(--ap-blue);
}

body.woocommerce-page div.product form.cart {
    display: flex;
    max-width: 420px;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 10px;
    margin-bottom: 26px;
}

/* the default quantity box is 211px wide, which wraps the button at 390 */
body.woocommerce-page div.product form.cart .quantity {
    flex: 0 0 96px;
    margin: 0;
}

body.woocommerce-page div.product form.cart .quantity input:not([type="submit"]):not([type="button"]):not([type="checkbox"]):not([type="radio"]) {
    width: 100%;
    height: 100%;
}

body.woocommerce-page div.product form.cart .single_add_to_cart_button {
    flex: 1 1 auto;
}

body.woocommerce-page div.product form.cart .quantity input:not([type="submit"]):not([type="button"]):not([type="checkbox"]):not([type="radio"]) {
    font-family: var(--ap-mono);
    font-size: 14px;
    text-align: center;
    background: transparent;
    color: var(--ap-ink);
    border: 1px solid var(--ap-line);
    border-radius: 0;
    padding: 13px 8px;
}

body.woocommerce-page div.product .fxw-btn {
    font-family: var(--ap-mono);
    font-size: 11px;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: var(--ap-muted);
    border-radius: 0;
}

body.woocommerce-page div.product .woocommerce-tabs {
    margin-top: 72px;
}

body.woocommerce-page div.product .woocommerce-tabs ul.tabs {
    padding: 0;
    border-bottom: 1px solid var(--ap-line);
}

body.woocommerce-page div.product .woocommerce-tabs ul.tabs::before {
    border: 0;
}

body.woocommerce-page div.product .woocommerce-tabs ul.tabs li {
    background: transparent;
    border: 0;
    border-radius: 0;
    margin: 0 26px 0 0;
    padding: 0;
}

body.woocommerce-page div.product .woocommerce-tabs ul.tabs li::before,
body.woocommerce-page div.product .woocommerce-tabs ul.tabs li::after {
    display: none;
}

body.woocommerce-page div.product .woocommerce-tabs ul.tabs li.active {
    box-shadow: inset 0 -2px 0 var(--ap-brass);
}

body.woocommerce-page div.product .woocommerce-tabs .panel {
    max-width: 760px;
}

body.woocommerce-page div.product .woocommerce-tabs .panel h2 {
    font-size: 0;
    margin: 0;
}

body.woocommerce-page div.product .woocommerce-tabs .panel p {
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 20px;
}

body.woocommerce-page .related > h2,
body.woocommerce-page .up-sells > h2 {
    font-family: var(--ap-serif);
    font-size: clamp(24px, 2.6vw, 32px);
    margin-bottom: 32px;
}

body.woocommerce-page .related,
body.woocommerce-page .up-sells {
    margin-top: 88px;
    padding-top: 56px;
    border-top: 1px solid var(--ap-line-soft);
}

body .ap-promises {
    list-style: none;
    margin: 30px 0 0;
    padding: 22px 0 0;
    border-top: 1px solid var(--ap-line-soft);
}

body .ap-promises li {
    position: relative;
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--ap-muted);
    padding-left: 20px;
    margin-bottom: 12px;
}

body .ap-promises li::before {
    content: "";
    position: absolute;
    top: 9px;
    left: 0;
    width: 8px;
    height: 1px;
    background: var(--ap-brass);
}

body.woocommerce-page span.onsale {
    position: absolute;
    top: 0;
    left: 0;
    right: auto;
    min-width: 0;
    min-height: 0;
    width: auto;
    height: auto;
    line-height: 1;
    font-family: var(--ap-mono);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    background: var(--ap-brass);
    color: var(--ap-ink);
    border-radius: 0;
    padding: 7px 12px;
    margin: 0;
}

/* ---------- mobile menu ---------- */

body .ap-sub-toggle {
    display: none;
}

/* aqua-life.js toggles t-nav-lock on the body, but nothing ever styled it, so
   the page scrolled away behind the open menu. */
body.t-nav-lock {
    overflow: hidden;
}

@media (max-width: 900px) {
    body .t-nav {
        max-height: calc(100vh - 74px);
        overflow-y: auto;
        overscroll-behavior: contain;
        padding-bottom: 8px;
    }

    body .t-nav > li {
        position: relative;
        border-bottom: 1px solid var(--ap-line-soft);
    }

    body .t-nav > li > a,
    body .t-nav a.t-nav-link {
        padding-right: 56px;
    }

    body .ap-sub-toggle {
        position: absolute;
        top: 0;
        right: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 56px;
        height: 46px;
        padding: 0;
        background: transparent;
        border: 0;
        border-left: 1px solid var(--ap-line-soft);
        color: var(--ap-muted);
    }

    body .ap-sub-toggle svg {
        width: 18px;
        height: 18px;
        transition: transform 0.25s ease;
    }

    body .t-nav > li.ap-sub-open > .ap-sub-toggle {
        color: var(--ap-blue);
    }

    body .t-nav > li.ap-sub-open > .ap-sub-toggle svg {
        transform: rotate(180deg);
    }

    /* overflow alone leaves the links focusable, so collapse visibility too */
    body .t-nav ul.w-nav-list {
        position: static;
        max-height: 0;
        overflow: hidden;
        visibility: hidden;
        background: var(--ap-paper-warm);
        border: 0;
        border-radius: 0;
        box-shadow: none;
        padding: 0;
        transition: max-height 0.3s ease, visibility 0s linear 0.3s;
    }

    body .t-nav > li.ap-sub-open > ul.w-nav-list {
        max-height: 640px;
        visibility: visible;
        padding: 4px 0 10px;
        transition: max-height 0.3s ease, visibility 0s;
    }

    body .t-nav ul.w-nav-list a {
        font-family: var(--ap-sans);
        font-size: 14px;
        letter-spacing: 0;
        text-transform: none;
        color: var(--ap-text);
        padding: 11px 24px;
    }

    body .t-nav ul.w-nav-list a:hover {
        color: var(--ap-blue);
        background: transparent;
    }
}

/* ---------- search results panel ---------- */

body .amazingsearch-autocomplete-container {
    background: var(--ap-paper);
    padding: 0;
}

body .amazingsearch-autocomplete-container .amazingsearch-section {
    border-bottom: 1px solid var(--ap-line-soft);
    padding: 0;
}

body .amazingsearch-autocomplete-container .amazingsearch-section:last-child {
    border-bottom: 0;
}

body .amazingsearch-autocomplete-container .amazingsearch-section-title {
    font-family: var(--ap-mono);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ap-blue);
    background: transparent;
    border: 0;
    padding: 20px 28px 12px;
    margin: 0;
}

body .amazingsearch-autocomplete-container .amazingsearch-product-list,
body .amazingsearch-autocomplete-container .amazingsearch-items {
    list-style: none;
    margin: 0;
    padding: 0 0 12px;
}

body .amazingsearch-autocomplete-container .amazingsearch-product-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 28px;
    border: 0;
}

body .amazingsearch-autocomplete-container .amazingsearch-product-link {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 10px 0;
    border: 0;
}

body .amazingsearch-autocomplete-container .amazingsearch-product-link:hover {
    background: transparent;
}

body .amazingsearch-autocomplete-container .amazingsearch-product-item:hover {
    background: var(--ap-paper-warm);
}

body .amazingsearch-autocomplete-container .amazingsearch-product-image {
    flex: 0 0 56px;
}

body .amazingsearch-autocomplete-container .amazingsearch-product-image img {
    width: 56px;
    height: 56px;
    object-fit: cover;
    border-radius: 0;
    display: block;
}

body .amazingsearch-autocomplete-container .amazingsearch-product-name {
    display: block;
    font-family: var(--ap-serif);
    font-size: 17px;
    line-height: 1.25;
    color: var(--ap-ink);
}

body .amazingsearch-autocomplete-container .amazingsearch-highlight {
    color: var(--ap-blue);
    background: transparent;
    font-weight: inherit;
}

body .amazingsearch-autocomplete-container .amazingsearch-product-desc {
    display: block;
    font-family: var(--ap-sans);
    font-size: 12.5px;
    line-height: 1.5;
    color: var(--ap-muted);
    margin-top: 3px;
}

body .amazingsearch-autocomplete-container .amazingsearch-product-price {
    margin-top: 5px;
}

body .amazingsearch-autocomplete-container .amazingsearch-price,
body .amazingsearch-autocomplete-container .amazingsearch-special-price {
    font-family: var(--ap-mono);
    font-size: 13px;
    color: var(--ap-ink);
}

body .amazingsearch-autocomplete-container .amazingsearch-old-price {
    font-family: var(--ap-mono);
    font-size: 12px;
    color: var(--ap-muted);
    text-decoration: line-through;
    margin-right: 8px;
}

body .amazingsearch-autocomplete-container .amazingsearch-tocart-btn {
    font-family: var(--ap-mono);
    font-size: 15px;
    line-height: 1;
    width: 34px;
    height: 34px;
    background: transparent;
    color: var(--ap-ink);
    border: 1px solid var(--ap-line);
    border-radius: 0;
    cursor: pointer;
    transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

body .amazingsearch-autocomplete-container .amazingsearch-tocart-btn:hover {
    background: var(--ap-ink);
    border-color: var(--ap-ink);
    color: var(--ap-paper);
}

body .amazingsearch-autocomplete-container .amazingsearch-item {
    border: 0;
}

body .amazingsearch-autocomplete-container .amazingsearch-item-link {
    display: flex;
    align-items: baseline;
    gap: 10px;
    font-family: var(--ap-sans);
    font-size: 14.5px;
    color: var(--ap-text);
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 9px 28px;
}

body .amazingsearch-autocomplete-container .amazingsearch-item-link:hover {
    background: var(--ap-paper-warm);
    color: var(--ap-ink);
}

body .amazingsearch-autocomplete-container .amazingsearch-item-count {
    font-family: var(--ap-mono);
    font-size: 11px;
    color: var(--ap-muted);
}

body .amazingsearch-autocomplete-container .amazingsearch-further-search {
    padding: 0;
    border-top: 1px solid var(--ap-line-soft);
    background: var(--ap-paper-warm);
}

body .amazingsearch-autocomplete-container .amazingsearch-further-search-link {
    display: block;
    font-family: var(--ap-mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ap-ink);
    padding: 16px 28px;
}

body .amazingsearch-autocomplete-container .amazingsearch-further-search-link:hover {
    color: var(--ap-blue);
}

/* ---------- wishlist dropdown ---------- */

body .fxw-dropdown {
    background: var(--ap-paper);
    border: 1px solid var(--ap-line);
    border-radius: 0;
    box-shadow: 0 30px 70px -34px rgba(0, 0, 0, 0.5);
}

body .fxw-dropdown-head {
    font-family: var(--ap-mono);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ap-blue);
    background: transparent;
    border-bottom: 1px solid var(--ap-line-soft);
    padding: 18px 20px 12px;
}

body .fxw-dropdown-head span {
    color: var(--ap-muted);
}

body .fxw-dd-item {
    align-items: center;
    gap: 14px;
    padding: 12px 20px;
    border: 0;
}

body .fxw-dd-item:hover {
    background: var(--ap-paper-warm);
}

body .fxw-dd-item img {
    width: 52px;
    height: 52px;
    object-fit: cover;
    border-radius: 0;
    flex: 0 0 52px;
}

body .fxw-dd-title {
    font-family: var(--ap-serif);
    font-size: 15.5px;
    line-height: 1.25;
    color: var(--ap-ink);
}

body .fxw-dd-price {
    font-family: var(--ap-mono);
    font-size: 12.5px;
    color: var(--ap-muted);
    margin-top: 4px;
}

body .fxw-dd-remove {
    color: var(--ap-muted);
    border-radius: 0;
}

body .fxw-dd-remove:hover {
    color: var(--ap-ink);
}

body .fxw-dropdown-foot {
    font-family: var(--ap-mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ap-ink);
    background: var(--ap-paper-warm);
    border-top: 1px solid var(--ap-line-soft);
    padding: 16px 20px;
}

body .fxw-dropdown-foot:hover {
    color: var(--ap-blue);
}

body .fxw-dropdown-empty {
    color: var(--ap-muted);
    padding: 28px 20px;
}

body .fxw-dropdown-empty p {
    font-size: 14px;
}

body .amazingsearch-autocomplete-container .amazingsearch-popular .amazingsearch-items,
body .amazingsearch-autocomplete-container .amazingsearch-recent .amazingsearch-items {
    gap: 8px;
    padding: 0 28px 20px;
}

body .amazingsearch-autocomplete-container .amazingsearch-popular .amazingsearch-item,
body .amazingsearch-autocomplete-container .amazingsearch-recent .amazingsearch-item {
    background: transparent;
    border: 1px solid var(--ap-line);
    border-radius: 0;
    padding: 0;
}

body .amazingsearch-autocomplete-container .amazingsearch-popular .amazingsearch-item-link,
body .amazingsearch-autocomplete-container .amazingsearch-recent .amazingsearch-item-link {
    font-family: var(--ap-mono);
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ap-muted);
    padding: 8px 14px;
}

body .amazingsearch-autocomplete-container .amazingsearch-popular .amazingsearch-item:hover,
body .amazingsearch-autocomplete-container .amazingsearch-recent .amazingsearch-item:hover {
    border-color: var(--ap-ink);
}

body .amazingsearch-autocomplete-container .amazingsearch-popular .amazingsearch-item-link:hover,
body .amazingsearch-autocomplete-container .amazingsearch-recent .amazingsearch-item-link:hover {
    background: transparent;
    color: var(--ap-ink);
}

body .amazingsearch-autocomplete-container .amazingsearch-pages .amazingsearch-item-link {
    padding: 7px 28px;
}

body .amazingsearch-autocomplete-container .amazingsearch-item-name {
    font-weight: 400;
}

/* three sections of results can run past the fold on a laptop */
body .amazingsearch-autocomplete-container {
    max-height: 74vh;
    overflow-y: auto;
}

/* ---------- cart & checkout blocks ---------- */

body .wc-block-components-title,
body .wp-block-woocommerce-cart-order-summary-heading-block,
body .wc-block-cart__totals-title {
    font-family: var(--ap-mono);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ap-blue);
}

body .wc-block-cart-items__header {
    font-family: var(--ap-mono);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ap-muted);
    border-bottom: 1px solid var(--ap-line);
}

body .wc-block-components-product-name {
    font-family: var(--ap-serif);
    font-size: 17px;
    line-height: 1.25;
    color: var(--ap-ink);
}

body .wc-block-components-product-metadata,
body .wc-block-components-product-metadata__description {
    font-family: var(--ap-sans);
    font-size: 13px;
    color: var(--ap-muted);
}

body .wc-block-components-product-price,
body .wc-block-components-formatted-money-amount,
body .wc-block-components-totals-item__value {
    font-family: var(--ap-mono);
    color: var(--ap-ink);
}

body .wc-block-components-totals-item__label {
    font-family: var(--ap-sans);
    color: var(--ap-text);
}

body .wc-block-components-totals-footer-item {
    border-top: 1px solid var(--ap-line);
}

body .wc-block-components-totals-footer-item .wc-block-components-totals-item__label {
    font-family: var(--ap-serif);
    font-size: 20px;
    color: var(--ap-ink);
}

body .wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
    font-size: 20px;
}

body .wc-block-components-panel__button {
    font-family: var(--ap-sans);
    font-size: 14.5px;
    color: var(--ap-ink);
}

/* Buttons come out of the blocks slate grey; the shop's primary is ink. */
body .wc-block-components-button:not(.is-link),
body .wc-block-cart__submit-button,
body .wc-block-components-totals-coupon__button,
body .wc-block-components-checkout-place-order-button {
    font-family: var(--ap-mono);
    font-size: 11.5px;
    font-weight: 500;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    background-color: var(--ap-ink);
    color: var(--ap-paper);
    border: 1px solid var(--ap-ink);
    border-radius: 0;
    box-shadow: none;
    min-height: 50px;
}

body .wc-block-components-button:not(.is-link):hover,
body .wc-block-cart__submit-button:hover,
body .wc-block-components-totals-coupon__button:hover,
body .wc-block-components-checkout-place-order-button:hover {
    background-color: var(--ap-blue);
    border-color: var(--ap-blue);
    color: #fff;
}

body .wc-block-components-button:not(.is-link):disabled {
    background-color: rgba(25, 43, 55, 0.12);
    border-color: rgba(25, 43, 55, 0.12);
    color: var(--ap-text);
}

body .wc-block-components-button.is-link {
    font-family: var(--ap-mono);
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ap-muted);
}

body .wc-block-components-text-input input:not([type="submit"]):not([type="button"]):not([type="checkbox"]):not([type="radio"]),
body .wc-block-components-textarea,
body .wc-block-components-select__select {
    font-family: var(--ap-sans);
    font-size: 15px;
    background: transparent;
    color: var(--ap-ink);
    border: 1px solid var(--ap-line);
    border-radius: 0;
    min-height: 50px;
}

body .wc-block-components-text-input input:not([type="submit"]):not([type="button"]):not([type="checkbox"]):not([type="radio"]):focus,
body .wc-block-components-textarea:focus,
body .wc-block-components-select__select:focus {
    border-color: var(--ap-ink);
    outline: none;
    box-shadow: none;
}

body .wc-block-components-text-input label {
    font-family: var(--ap-sans);
    color: var(--ap-muted);
}

body .wc-block-components-quantity-selector {
    border: 1px solid var(--ap-line);
    border-radius: 0;
}

body .wc-block-components-quantity-selector input.wc-block-components-quantity-selector__input:not([type="submit"]):not([type="button"]):not([type="checkbox"]):not([type="radio"]) {
    font-family: var(--ap-mono);
    font-size: 14px;
    background: transparent;
    color: var(--ap-ink);
    border: 0;
}

body .wc-block-components-quantity-selector__button {
    font-family: var(--ap-mono);
    color: var(--ap-muted);
    border-radius: 0;
}

body .wc-block-components-quantity-selector__button:hover {
    color: var(--ap-ink);
}

body .wc-block-cart-item__wrap .wc-block-cart-item__remove-link,
body .wc-block-components-product-badge {
    font-family: var(--ap-mono);
    font-size: 10.5px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ap-muted);
    border-radius: 0;
}

body .wc-block-cart-items__row,
body .wc-block-cart-items td {
    border-color: var(--ap-line-soft);
}

body .wc-block-components-sidebar .wc-block-components-panel,
body .wp-block-woocommerce-cart-order-summary-block {
    background: var(--ap-paper-warm);
    border: 1px solid var(--ap-line-soft);
    border-radius: 0;
    padding: 26px 24px;
}

body.home .t-hero-full {
    position: relative;
    min-height: 78vh;
}

body .ap-promo-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 18px 0;
    background: rgba(25, 43, 55, 0.72);
    border-top: 2px solid var(--ap-brass);
}

body .ap-promo-caption .t-container {
    display: flex;
    align-items: baseline;
    gap: 16px;
    flex-wrap: wrap;
}

body .ap-promo-kicker {
    flex: 0 0 auto;
    padding: 5px 10px;
    background: var(--ap-brass);
    color: var(--ap-ink);
    font-family: var(--ap-mono);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

body .ap-promo-text {
    font-family: var(--ap-sans);
    font-size: 15px;
    color: rgba(255, 255, 255, 0.9);
}

body.home .t-section--soft > .t-container > .t-section-title,
body .ap-tiles > .t-container > .t-section-title {
    display: block;
    margin: 0 0 30px;
    padding: 15px 20px;
    background: var(--ap-ink);
    background-image: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 10px);
    color: var(--ap-paper);
    font-family: var(--ap-mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.2em;
    line-height: 1.4;
    text-align: left;
    text-transform: uppercase;
    border-left: 4px solid var(--ap-brass);
}

body .ap-tiles .t-card {
    position: relative;
    padding: 0;
    gap: 0;
    overflow: hidden;
    background: none;
    border: 0;
    border-radius: 0;
}

body .ap-tiles .t-card:hover {
    box-shadow: none;
    transform: none;
}

body .ap-tiles .t-card:hover .t-card-title {
    background: var(--ap-brass);
    color: var(--ap-ink);
}

body .ap-tiles .t-card-img {
    margin: 0;
}

body .ap-tiles .t-card-img img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

body .ap-tiles .t-card-title {
    position: absolute;
    left: 0;
    bottom: 0;
    margin: 0;
    padding: 13px 18px;
    background: rgba(25, 43, 55, 0.78);
    color: var(--ap-paper);
    font-family: var(--ap-serif);
    font-size: 20px;
    line-height: 1.2;
}

body .ap-tiles .t-card-body {
    display: none;
}

body .ap-panel {
    padding: 0;
    background: none;
}

body .ap-panel > .t-container {
    padding-top: 46px;
    padding-bottom: 46px;
    background: var(--ap-ink);
    background-image: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 12px);
    text-align: center;
}

body .ap-panel-kicker {
    margin: 0 0 12px;
    font-family: var(--ap-mono);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ap-blue-lit);
}

body .ap-panel-lead {
    max-width: 620px;
    margin: 0 auto 26px;
    font-size: 16px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
}

body .ap-panel-btn {
    display: inline-block;
    padding: 14px 28px;
    background: var(--ap-brass);
    color: var(--ap-ink);
    font-family: var(--ap-mono);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

body .ap-panel-btn:hover {
    background: var(--ap-brass-lit);
}

body .ap-news-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
}

body .ap-news-media {
    position: relative;
    min-height: 300px;
}

body .ap-news-media img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body .ap-news-body {
    padding: 42px 44px;
    background: var(--ap-ink);
}

body .ap-news-title {
    margin: 0 0 12px;
    font-family: var(--ap-serif);
    font-size: 28px;
    line-height: 1.15;
    color: var(--ap-paper);
}

body .ap-news-sub {
    margin: 0 0 24px;
    font-size: 15px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.72);
}

body .ap-news-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 18px;
}

body .ap-news-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

body .ap-news-field span {
    font-family: var(--ap-mono);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.68);
}

body .ap-news-field input {
    padding: 12px 14px;
    background: var(--ap-paper);
    border: 1px solid transparent;
    border-radius: 0;
    font-family: var(--ap-sans);
    font-size: 14px;
    color: var(--ap-ink);
}

body .ap-news-field input:focus {
    outline: none;
    border-color: var(--ap-blue);
}

body .ap-news-btn {
    padding: 13px 30px;
    background: var(--ap-brass);
    border: 0;
    border-radius: 0;
    font-family: var(--ap-mono);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ap-ink);
    cursor: pointer;
}

body .ap-news-btn:hover {
    background: var(--ap-brass-lit);
}

@media (max-width: 860px) {
    body .ap-news-split {
        grid-template-columns: 1fr;
    }

    body .ap-news-media {
        min-height: 220px;
    }

    body .ap-news-body {
        padding: 30px 24px;
    }

    body .ap-news-fields {
        grid-template-columns: 1fr;
    }

    body .ap-promo-caption {
        padding: 13px 0;
    }

    body .ap-promo-caption .t-container {
        gap: 9px;
    }

    body .ap-promo-text {
        font-size: 13.5px;
        line-height: 1.5;
    }
}

body .t-header,
body.fx-sticky-header .t-header {
    background: var(--ap-ink);
    border-bottom: 0;
}

body .t-header-inner {
    gap: 22px;
}

body .t-logo,
body .t-logo a,
body .fx-logo-text {
    color: var(--ap-paper);
}

body .fx-logo-dot {
    color: var(--ap-brass);
}

body .t-nav > li > a,
body .t-nav > .menu-item > a {
    font-family: var(--ap-sans);
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
    color: #fff;
}

body .t-nav > li > a:hover,
body .t-nav > .menu-item > a:hover,
body .t-nav .current-menu-item > a,
body .t-nav .current_page_item > a,
body .t-nav .current-menu-ancestor > a {
    color: var(--ap-brass);
}

body .t-nav > li.menu-item-has-children > a::after,
body .t-nav > .menu-item-has-children > a::after {
    content: "";
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-left: 8px;
    vertical-align: middle;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
}

body .t-header-cta {
    background: var(--ap-blue);
    border: 0;
    border-radius: 4px;
    color: #fff;
    font-family: var(--ap-sans);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
}

body .t-header-cta:hover {
    background: var(--ap-blue-lit);
    color: #fff;
}

body .t-header-actions > a,
body .t-header-actions > .fxw-dropdown-toggle,
body .t-search-toggle {
    color: #fff;
}

body .t-header-actions > a:hover,
body .t-header-actions > .fxw-dropdown-toggle:hover,
body .t-search-toggle:hover {
    color: var(--ap-brass);
}

body.fx-arch-editorial .t-search-wrap,
body .t-search-wrap {
    position: static;
    flex: 1 1 auto;
    min-width: 180px;
    max-width: 640px;
    color: #fff;
}

body .t-search-toggle {
    display: none;
}

body .t-search-form {
    position: static;
    display: flex;
    width: 100%;
    padding: 0;
    background: none;
    border: 0;
    box-shadow: none;
}

body .t-search-form input:not([type="submit"]):not([type="button"]):not([type="checkbox"]):not([type="radio"]) {
    width: 100%;
    height: 48px;
    padding: 0 16px;
    background: #ececec;
    border: 1px solid transparent;
    border-radius: 4px;
    font-family: var(--ap-sans);
    font-size: 15px;
    color: var(--ap-text);
}

body .t-search-form input:not([type="submit"]):not([type="button"]):not([type="checkbox"]):not([type="radio"]):focus {
    background: #fff;
    border-color: var(--ap-blue);
    color: var(--ap-text);
}

body .t-nav ul.w-nav-list.level_2 {
    min-width: 720px;
    padding: 26px 30px 28px;
    max-height: 74vh;
    overflow-y: auto;
    background: #fff;
    border: 0;
    border-radius: 0 0 4px 4px;
    box-shadow: 0 18px 40px rgba(25, 43, 55, 0.28);
    columns: 220px 4;
    column-gap: 34px;
}

body .t-nav ul.w-nav-list.level_2 > li {
    break-inside: avoid;
    width: 100%;
}

body .t-nav ul.w-nav-list.level_2 > li > a {
    display: block;
    padding: 7px 0;
    font-family: var(--ap-sans);
    font-size: 16px;
    font-weight: 300;
    letter-spacing: 0;
    text-transform: none;
    color: var(--ap-blue);
    background: none;
}

body .t-nav ul.w-nav-list.level_2 > li > a:hover {
    color: var(--ap-ink);
    background: none;
    text-decoration: underline;
}

body .t-footer,
body .t-rich-footer {
    background: var(--ap-ink);
}

body .t-rich-footer-col h4 {
    color: var(--ap-brass);
}

body .ap-panel-kicker {
    color: var(--ap-brass);
}

body .ap-promo-kicker {
    color: var(--ap-ink);
}

body .ap-tiles .t-card:hover .t-card-title {
    background: var(--ap-brass);
    color: var(--ap-ink);
}

body .ap-news-body {
    background: var(--ap-blue);
}

body .ap-news-sub {
    color: rgba(255, 255, 255, 0.86);
}

body .ap-news-field span {
    color: rgba(255, 255, 255, 0.88);
}

body .ap-panel-btn,
body .ap-news-btn {
    background: var(--ap-brass);
    color: var(--ap-ink);
    border-radius: 4px;
}

body .ap-panel-btn:hover,
body .ap-news-btn:hover {
    background: var(--ap-brass-lit);
    color: var(--ap-ink);
}

body .t-btn-primary,
body .wp-block-button .wp-block-button__link {
    background: var(--ap-blue);
    border-color: var(--ap-blue);
    border-radius: 4px;
    color: #fff;
}

body .t-btn-primary:hover,
body .wp-block-button .wp-block-button__link:hover {
    background: var(--ap-blue-lit);
    border-color: var(--ap-blue-lit);
    color: #fff;
}

@media (max-width: 1100px) {
    body .t-search-wrap {
        max-width: 300px;
    }
}

@media (max-width: 900px) {
    body .t-search-wrap {
        order: 5;
        flex: 1 0 100%;
        max-width: none;
        margin-top: 10px;
    }

    body .t-nav ul.w-nav-list.level_2 {
        min-width: 0;
        columns: 1;
        padding: 4px 0 8px;
        max-height: none;
        overflow: visible;
        box-shadow: none;
        background: none;
    }

    body .t-nav ul.w-nav-list.level_2 > li > a {
        color: var(--ap-paper);
    }
}

body .t-nav > li > a,
body .t-nav > .menu-item > a {
    white-space: nowrap;
}

body .fx-logo-dot {
    color: var(--ap-brass);
}

body .t-header-actions > .fxw-dropdown-wrap > .fxw-dropdown-toggle {
    color: #fff;
}

body .t-header-actions > .fxw-dropdown-wrap > .fxw-dropdown-toggle:hover {
    color: var(--ap-brass);
}

body.fx-arch-editorial .t-header-inner {
    column-gap: 18px;
}

body .t-header-cta {
    flex: 0 0 auto;
    white-space: nowrap;
}

body .t-search-form,
body .t-search-form input:not([type="submit"]):not([type="button"]):not([type="checkbox"]):not([type="radio"]) {
    min-width: 0;
}

body .t-nav {
    gap: 18px;
}

body .t-nav > li.t-has-mega > ul.w-nav-list.level_2 {
    display: none;
}

body .t-nav .t-mega-panel {
    min-width: 720px;
    padding: 26px 30px 28px;
    max-height: 74vh;
    overflow-y: auto;
    background: #fff;
    border: 0;
    border-radius: 0 0 4px 4px;
    box-shadow: 0 18px 40px rgba(25, 43, 55, 0.28);
    columns: 220px 4;
    column-gap: 34px;
}

body .t-nav .t-mega-panel li {
    break-inside: avoid;
    width: 100%;
    list-style: none;
}

body .t-nav .t-mega-panel a {
    display: block;
    padding: 7px 0;
    font-family: var(--ap-sans);
    font-size: 16px;
    font-weight: 300;
    letter-spacing: 0;
    text-transform: none;
    color: var(--ap-blue);
    background: none;
}

body .t-nav .t-mega-panel a:hover {
    color: var(--ap-ink);
    background: none;
    text-decoration: underline;
}

@media (max-width: 900px) {
    body .t-nav .t-mega-panel {
        min-width: 0;
        columns: 1;
        padding: 4px 0 8px;
        max-height: none;
        overflow: visible;
        box-shadow: none;
        background: none;
    }

    body .t-nav .t-mega-panel a {
        color: var(--ap-paper);
    }
}

body .t-nav .t-mega-panel {
    columns: auto;
    min-width: 760px;
}

body .t-nav .t-mega-panel > ul {
    margin: 0;
    padding: 0;
    background: none;
    border: 0;
    box-shadow: none;
    columns: 210px 4;
    column-gap: 34px;
}

body .t-nav .t-mega-panel > ul > li > a {
    padding: 7px 0;
}

body.fx-arch-editorial .t-search-wrap,
body .t-search-wrap {
    min-width: 0;
}

body .t-header-actions {
    flex: 0 0 auto;
}

@media (max-width: 1240px) {
    body.fx-arch-editorial .t-search-wrap,
    body .t-search-wrap {
        max-width: 260px;
    }
}

@media (max-width: 900px) {
    body.fx-arch-editorial .t-header-inner {
        flex-wrap: wrap;
    }

    body.fx-arch-editorial .t-search-wrap,
    body .t-search-wrap {
        order: 5;
        flex: 1 0 100%;
        max-width: none;
        margin: 10px 0 0;
    }
}

@media (max-width: 1150px) {
    body.fx-arch-editorial .t-header-inner {
        flex-wrap: nowrap;
    }

    body .t-search-toggle {
        display: inline-flex;
    }

    body .t-search-form[hidden] {
        display: none;
    }

    body.fx-arch-editorial .t-search-wrap,
    body .t-search-wrap {
        position: relative;
        order: 3;
        flex: 0 0 auto;
        min-width: 0;
        max-width: none;
        margin: 0 0 0 4px;
    }

    body .t-search-form {
        position: absolute;
        top: calc(100% + 10px);
        right: 0;
        display: flex;
        width: min(520px, calc(100vw - 32px));
        padding: 14px;
        background: #fff;
        border-radius: 4px;
        box-shadow: 0 18px 40px rgba(25, 43, 55, 0.28);
        z-index: 120;
    }
}

@media (max-width: 1150px) {
    body .t-header-cta {
        display: none;
    }

    body .t-nav > li > a,
    body .t-nav > .menu-item > a {
        font-size: 14px;
    }

    body .t-nav {
        gap: 12px;
    }
}

@media (max-width: 420px) {
    body.fx-arch-editorial .t-header-inner {
        padding-left: 16px;
        padding-right: 16px;
        column-gap: 10px;
    }

    body .t-logo,
    body .fx-logo-wordmark {
        font-size: 21px;
    }
}

body .t-nav > li:nth-last-of-type(1) > .t-mega-panel,
body .t-nav > li:nth-last-of-type(2) > .t-mega-panel {
    left: auto;
    right: 0;
}

body .ap-cond-row--cosmetic .ap-cond-seg.is-on {
    background: var(--ap-blue);
}

body .ap-cond-row--function .ap-cond-seg.is-on {
    background: #3f7d3a;
}

body .ap-cond-seg {
    background: rgba(25, 43, 55, 0.16);
}

body .t-header-cta {
    display: none;
}

body .t-nav > li > a,
body .t-nav > .menu-item > a {
    font-size: 15px;
}

body .t-nav {
    gap: 13px;
    min-width: 0;
}

body.fx-arch-editorial .t-search-wrap,
body .t-search-wrap {
    flex: 1 1 auto;
    min-width: 200px;
    max-width: 640px;
}

body #fxmc-drawer .fxmc-checkout-btn {
    background: var(--ap-blue);
    color: #fff;
}

body #fxmc-drawer .fxmc-checkout-btn:hover {
    background: var(--ap-blue-lit);
    color: #fff;
}

body {
    --amazingsearch-popup-width: min(760px, calc(100vw - 64px));
}

@media (max-width: 1150px) {
    body.fx-arch-editorial .t-search-wrap,
    body .t-search-wrap {
        flex: 0 0 auto;
        min-width: 0;
        max-width: none;
    }

    body .t-nav {
        min-width: 0;
    }
}

@media (min-width: 1151px) {
    body.fx-arch-editorial .t-search-wrap,
    body .t-search-wrap {
        flex: 1 1 auto;
        min-width: 200px;
        max-width: 640px;
    }
}

body .t-footer,
body .t-rich-footer {
    margin-top: 0;
}

body .ap-page-list {
    max-width: 760px;
    margin: 0 0 26px;
    padding: 0;
    list-style: none;
}

body .ap-page-list li {
    position: relative;
    padding: 9px 0 9px 22px;
    border-bottom: 1px solid var(--ap-line-soft);
    font-family: var(--ap-sans);
    font-size: 15.5px;
    line-height: 1.6;
    color: var(--ap-text);
}

body .ap-page-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 18px;
    width: 9px;
    height: 2px;
    background: var(--ap-blue);
}

body .t-lead {
    color: var(--ap-text);
}

@media (max-width: 1150px) {
    body.fx-arch-editorial .t-search-wrap,
    body .t-search-wrap {
        position: static;
    }

    body .t-search-form {
        top: 100%;
        left: 16px;
        right: 16px;
        width: auto;
        max-width: none;
        margin-top: 8px;
    }

    body {
        --amazingsearch-popup-width: calc(100vw - 32px);
    }
}

@media (max-width: 900px) {
    body .t-nav-toggle span {
        background: #fff;
    }

    body .t-nav {
        padding: 6px 16px 18px;
        background: var(--ap-ink);
        border-bottom: 0;
        max-height: calc(100vh - 68px);
        overflow-y: auto;
    }

    body .t-nav > li,
    body .t-nav > .menu-item {
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    }

    body .t-nav > li:last-of-type,
    body .t-nav > .menu-item:last-of-type {
        border-bottom: 0;
    }

    body .t-nav > li > a,
    body .t-nav > .menu-item > a {
        padding: 13px 0;
        font-size: 16px;
        color: #fff;
    }

    body .t-nav > li > a:hover,
    body .t-nav > .menu-item > a:hover,
    body .t-nav .current-menu-item > a,
    body .t-nav .current-menu-ancestor > a {
        color: var(--ap-brass);
    }

    body .t-nav > li > a::after,
    body .t-nav > .menu-item-has-children > a::after {
        display: none;
    }

    body .t-nav .ap-sub-toggle {
        color: #fff;
        background: none;
        border: 0;
    }

    body .t-nav .t-mega-panel a {
        padding: 9px 0;
        font-size: 15px;
        color: rgba(255, 255, 255, 0.76);
    }

    body .t-nav .t-mega-panel a:hover {
        color: var(--ap-brass);
        text-decoration: none;
    }
}

@media (max-width: 900px) {
    body .t-nav > li.menu-item-has-children > a::after,
    body .t-nav > .menu-item.menu-item-has-children > a::after {
        display: none;
    }
}

body .wc-block-components-text-input {
    position: relative;
    display: flex;
    flex-direction: column-reverse;
    padding-top: 0;
}

body .wc-block-components-text-input label,
body .wc-block-components-text-input.is-active label {
    position: static;
    transform: none;
    margin: 0 0 7px;
    padding: 0;
    font-family: var(--ap-mono);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.12em;
    line-height: 1.4;
    text-transform: uppercase;
    color: var(--ap-muted);
    overflow: visible;
}

body .wc-block-components-text-input input:not([type="submit"]):not([type="button"]):not([type="checkbox"]):not([type="radio"]) {
    padding: 13px 16px;
    background: var(--ap-paper);
}

body .wc-block-components-totals-coupon__form {
    align-items: flex-end;
}

body .wc-block-components-totals-coupon__button:disabled,
body .wc-block-components-totals-coupon__button[aria-disabled="true"] {
    background: rgba(25, 43, 55, 0.10);
    border-color: transparent;
    color: var(--ap-text);
    opacity: 1;
}

html {
    background: var(--ap-paper);
}

@media (max-width: 900px) {
    body .t-nav > li > .t-mega-panel,
    body .t-nav > .menu-item > .t-mega-panel {
        display: none;
    }

    body .t-nav > li.ap-sub-open > .t-mega-panel,
    body .t-nav > .menu-item.ap-sub-open > .t-mega-panel {
        display: block;
        position: static;
        min-width: 0;
        max-height: none;
        margin: 0;
        padding: 0 0 10px;
        overflow: visible;
        background: none;
        box-shadow: none;
        columns: auto;
    }

    body .t-nav .t-mega-panel > ul {
        columns: auto;
        column-gap: 0;
    }

    body .t-nav .t-mega-panel > ul > li > a {
        display: block;
        padding: 10px 0;
        white-space: normal;
    }
}

@media (max-width: 900px) {
    body .t-nav .t-mega-panel > ul > li > a {
        padding: 7px 0;
        font-size: 14.5px;
    }

    body.t-nav-lock .fx-fab-stack {
        display: none;
    }
}

@media (max-width: 900px) {
    body.t-nav-lock .fx-fab-stack {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }
}
