/* Studio's type, palette and controls, shared by the existing shop templates. */
@font-face {
    font-family: Manrope;
    src: url('studio-beta/assets/manrope.ttf') format('truetype');
    font-weight: 400 800;
    font-style: normal;
    font-display: swap;
}

:root {
    color-scheme: dark;
    --theme-font-family: 'Manrope', Arial, sans-serif;
    --theme-headings-font-family: 'Manrope', Arial, sans-serif;
    --theme-font-size: 1rem;
    --theme-text-color: #d5d8da;
    --theme-headings-color: #f1f0ea;
    --theme-link-initial-color: #ffc34c;
    --theme-link-hover-color: #ffd477;
}

body.andp-theme {
    font-family: var(--andp-font-sans);
    font-size: 1rem;
    line-height: 1.85;
}

body.andp-theme :is(h1,h2,h3,h4,h5,h6) {
    font-family: var(--andp-font-sans);
    font-weight: 500;
    color: var(--andp-white);
    letter-spacing: -.035em;
    text-transform: none;
}

body.andp-theme :is(p,li) { line-height: 1.85; }
body.andp-theme :is(p,input,textarea,select) { font-size: 1rem; }
body.andp-theme :is(input,textarea,select,button) { font-family: var(--andp-font-sans); }

/* Page headings and editorial sections use the same hierarchy as Studio. */
body.andp-theme :is(.andp-blog-archive__title,.andp-legal-title,.andp-login-page__title,.andp-product-details__title,.andp-platform-checkout>h1) {
    font-size: clamp(2rem,3.7vw,3.1rem);
    line-height: 1.18;
    letter-spacing: -.045em;
}
body.andp-theme :is(.andp-flagship__title,.andp-lab__title,.andp-blog-preview__title,.andp-look-finder__title) {
    font-size: clamp(2rem,3.7vw,3.1rem);
    line-height: 1.18;
    letter-spacing: -.045em;
}
body.andp-theme .andp-hero__title {
    font-size: clamp(2.25rem,5.8vw,5.25rem);
    line-height: 1.08;
    letter-spacing: -.045em;
}
body.andp-theme .andp-hero__title-em { font-family: Georgia,serif; font-weight: 400; }

/* Short labels stay quiet: no decorative rule, monospace or wide tracking. */
body.andp-theme .andp-section-label::before { display: none; }
body.andp-theme .andp-section-label,
body.andp-theme .andp-section-label span { font-size: .875rem; letter-spacing: normal; line-height: 1.5; }
body.andp-theme .andp-login-page__eyebrow-line { display: none; }
body.andp-theme :is(.andp-legal-eyebrow__line,.andp-support-eyebrow__line) { display: none; }
body.andp-theme :is(.andp-legal-eyebrow__text,.andp-legal-datestamp) { font-family: var(--andp-font-sans); font-size: .875rem; }
body.andp-theme .andp-login-page__col-heading { font-size: 1.125rem; font-weight: 500; }
body.andp-theme .andp-lf__label { font-size: .875rem; line-height: 1.5; color: var(--andp-text-primary); }
body.andp-theme .andp-stage-banner { font: 400 .875rem/1.6 var(--andp-font-sans); letter-spacing: normal; }
body.andp-theme .andp-stage-banner span { color: var(--andp-text-muted); }

/* Studio's generous, plain-language buttons. The existing variants still apply. */
body.andp-theme .andp-btn,
body.andp-theme .woocommerce a.button,
body.andp-theme .woocommerce button.button,
body.andp-theme .single_add_to_cart_button,
body.andp-theme .andp-lf__submit,
body.andp-theme .andp-acct__save-btn,
body.andp-theme .andp-notifs__save-btn {
    font-family: var(--andp-font-sans) !important;
    font-size: 1rem !important;
    font-weight: 650 !important;
    line-height: 1.5;
    text-transform: none !important;
    letter-spacing: normal !important;
    min-height: 50px;
    padding: 12px 20px !important;
    border-radius: 3px !important;
    white-space: normal;
    text-align: center;
}
body.andp-theme .andp-btn svg { flex-shrink: 0; }
body.andp-theme .andp-btn:not(.andp-btn--ghost):not(.andp-btn--secondary) { background: var(--andp-gold); color: var(--andp-bg); }
body.andp-theme .andp-btn:not(.andp-btn--ghost):not(.andp-btn--secondary):hover { background: #ffd477; color: var(--andp-bg); }
body.andp-theme .andp-btn--ghost { background: transparent; color: var(--andp-white); border: 1px solid var(--andp-border-mid); }
body.andp-theme .andp-btn--secondary { background: transparent; color: var(--andp-gold); border: 1px solid var(--andp-gold); }
body.andp-theme .andp-btn--ghost:hover,
body.andp-theme .andp-btn--secondary:hover { background: var(--andp-gold); color: var(--andp-bg); }
body.andp-theme .andp-header { background-color: rgba(23,24,26,.96); }
body.andp-theme :is(.andp-nav__link,.andp-header__action-link) { font-size: .875rem; font-weight: 500; }
body.andp-theme .andp-header__cart-count { font-size: .75rem; height: 18px; min-width: 18px; }

/* Cards and forms need room for the more readable type. */
body.andp-theme :is(.andp-card__title,.andp-product-card__title,.andp-blog-card__title) {
    font-size: 1.125rem;
    line-height: 1.4;
    font-weight: 500;
    letter-spacing: -.02em;
}
body.andp-theme :is(.andp-card__desc,.andp-product-card__desc,.andp-blog-card__excerpt) { font-size: 1rem; line-height: 1.75; }
body.andp-theme :is(.andp-card__footer,.andp-product-card__footer) { flex-wrap: wrap; gap: 12px; }
body.andp-theme :is(.andp-lf__input,.andp-lf__select,.andp-sidebar__search) { min-height: 48px; }
body.andp-theme :is(.andp-card__body,.andp-product-card__body) { padding: 20px; }
body.andp-theme .andp-footer__legal-links { line-height: 1.6; }
body.andp-theme .andp-footer__legal-links a,
body.andp-theme .andp-footer .andp-footer-privacy-button { font: 400 .875rem/1.6 var(--andp-font-sans); letter-spacing: normal; text-transform: none; }
body.andp-theme .woocommerce-price-suffix { font-size: .875rem; }
body.andp-theme .andp-legal-prose h2 { font-size: 1.375rem; line-height: 1.35; }
body.andp-theme .andp-legal-prose h3 { font-size: 1.125rem; line-height: 1.4; }
body.andp-theme .andp-legal-prose :is(ul,ol) { font-size: 1rem; }
body.andp-theme :focus-visible { outline: 2px solid var(--andp-gold); outline-offset: 4px; }

@media (max-width:700px) {
    body.andp-theme .andp-hero__title { font-size: clamp(2rem,8vw,3rem); }
    body.andp-theme .andp-hero__ctas { flex-wrap: wrap; }
    body.andp-theme .andp-login-page__title { font-size: 2rem; }
}

/* FilmStyles wordmark uses Studio's icon and bold/light lettering. */
body.andp-theme .andp-header__logo-img,
body.andp-theme .andp-footer__logo-img {
    display: block;
    height: 34px;
    width: auto;
    max-width: 100%;
    opacity: 1;
}
body.andp-theme .andp-header__logo { flex-shrink: 0; }
body.andp-theme .andp-header__logo:hover .andp-header__logo-img,
body.andp-theme .andp-footer__logo:hover .andp-footer__logo-img { opacity: .85; }
@media (max-width:480px) {
    body.andp-theme .andp-header__logo-img { height: 27px; }
    body.andp-theme .andp-header__actions { margin-left: auto; }
}
@media (max-width:360px) {
    body.andp-theme .andp-header__logo-img { height: 20px; }
    body.andp-theme .andp-header__inner { gap: 8px; }
    body.andp-theme .andp-header__actions { gap: 0; }
    body.andp-theme .andp-header__action-link { padding-inline: 6px; }
}

/* Bring quiz visitors directly to the matched products below fixed navigation. */
body.woocommerce-shop .andp-shop-main{scroll-margin-top:calc(var(--andp-nav-height) + 24px)}
