:root {
    --pm-red: #d90029;
    --pm-red-dark: #c80025;
    --pm-yellow: #ffd52e;
    --pm-ink: #19191b;
    --pm-paper: #fff;
    --pm-surface: #f2f2f4;
    --pm-surface-high: #e8e8eb;
    --pm-muted: #5e5e68;
    --pm-line: #d8d8de;
    --pm-display: "Outfit", sans-serif;
    --pm-body: "Plus Jakarta Sans", sans-serif;
    --pm-label: "Space Grotesk", sans-serif;
    --pm-mono: "Space Grotesk", monospace;
    --pm-max: 1320px;
    --pm-gutter: clamp(20px, 3.35vw, 48px);
    --pm-radius: 30px;
    --pm-radius-sm: 18px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--pm-ink);
    background: var(--pm-paper);
    font-family: var(--pm-body);
    font-size: 16px;
    line-height: 1.625;
    -webkit-font-smoothing: antialiased;
}
body.pm-drawer-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, [type="button"], [type="submit"] { cursor: pointer; }
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3, h4 { font-family: var(--pm-display); }

.pm-icon {
    display: inline-block;
    width: .82em;
    height: .82em;
    flex: 0 0 auto;
    overflow: visible;
    fill: currentColor;
    vertical-align: -.04em;
}
.pm-icon--left { transform: rotate(180deg); }

.screen-reader-text {
    position: absolute !important;
    width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.screen-reader-text:focus, .pm-skip-link:focus {
    clip: auto !important; width: auto; height: auto; margin: 0;
    padding: 12px 18px; top: 8px; left: 8px; z-index: 10000;
    background: var(--pm-yellow); color: var(--pm-ink); border-radius: 999px;
}
.pm-skip-link { position: absolute; left: -9999px; }

.pm-site-header {
    position: relative;
    z-index: 100;
    height: 80px;
    background: rgba(255,255,255,.97);
    border-top: 1px solid #f2d4d9;
}
.pm-site-header--checkout { border-bottom: 1px solid var(--pm-line); }
.pm-header-inner {
    width: min(100%, var(--pm-max));
    height: 100%;
    margin: 0 auto;
    padding: 0 var(--pm-gutter);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}
.pm-brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.pm-brand img { width: auto; height: 40px; object-fit: contain; object-position: left center; }
.pm-main-nav { display: flex; align-items: center; justify-content: center; gap: clamp(25px, 3vw, 46px); margin-left: auto; }
.pm-main-nav a {
    font-family: var(--pm-label);
    font-size: 15px;
    line-height: 20px;
    letter-spacing: .2px;
    font-weight: 600;
}
.pm-main-nav a:hover, .pm-main-nav a:focus-visible, .pm-main-nav .is-active { color: var(--pm-red); }
.pm-header-actions { margin-left: clamp(10px, 2vw, 30px); }
.pm-cart-button, .pm-button, .button, button.button, input.button,
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button,
.wp-element-button, .wc-block-components-button {
    min-height: 46px;
    border: 0 !important;
    border-radius: 999px !important;
    padding: 12px 24px !important;
    background: var(--pm-ink) !important;
    color: #fff !important;
    font-family: var(--pm-label) !important;
    font-size: 15px !important;
    line-height: 20px !important;
    letter-spacing: .2px !important;
    font-weight: 600 !important;
    box-shadow: none !important;
    text-align: center;
    transition: background .2s ease, color .2s ease, transform .2s ease;
}
.pm-cart-button:hover, .pm-button:hover, .button:hover,
.woocommerce a.button:hover, .woocommerce button.button:hover,
.wp-element-button:hover, .wc-block-components-button:hover { background: var(--pm-red) !important; color: #fff !important; }
.pm-cart-button { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; }
.pm-cart-button {
    font-size: 13px !important;
    line-height: 18px !important;
    letter-spacing: .4px !important;
}
.pm-cart-count {
    min-width: 24px; height: 23px; padding: 0 7px;
    display: inline-grid; place-items: center;
    border-radius: 999px; background: var(--pm-yellow); color: var(--pm-ink);
    font-family: var(--pm-mono); font-size: 13px; line-height: 18px; letter-spacing: .4px; font-weight: 600;
}
.pm-cart-noscript { margin-left: 8px; font-weight: 700; }
.pm-button--ink { display: inline-flex; align-items: center; justify-content: center; gap: 12px; }
.pm-button--yellow { background: var(--pm-yellow) !important; color: var(--pm-ink) !important; }
.pm-button--yellow:hover { background: #fff !important; color: var(--pm-ink) !important; }
.pm-pill, .pm-kicker {
    display: inline-flex; align-items: center; width: fit-content;
    padding: 5px 13px; border-radius: 999px;
    font-family: var(--pm-mono); font-size: 14px; line-height: 20px; font-weight: 500;
    letter-spacing: .4px;
}
.pm-pill--yellow { background: var(--pm-yellow); color: var(--pm-ink); }
.pm-pill--ink { background: var(--pm-ink); color: #fff; }

.pm-commerce-main, .pm-content-page, .pm-commerce-page { min-height: 65vh; }
.pm-content-page, .pm-commerce-page {
    width: min(100%, var(--pm-max)); margin: 0 auto; padding: 52px var(--pm-gutter) 100px;
}
.pm-page-heading { margin-bottom: 38px; }
.pm-page-heading .pm-kicker { margin-bottom: 22px; background: var(--pm-yellow); }
.pm-page-heading h1 {
    max-width: 900px;
    margin-bottom: 18px;
    font-size: 64px;
    line-height: 66px;
    letter-spacing: -1.8px;
    font-weight: 700;
}
.pm-page-heading p { color: var(--pm-muted); font-size: 18px; line-height: 28px; }

.pm-site-footer { background: var(--pm-paper); color: var(--pm-ink); }
.pm-footer-inner {
    width: min(100%, var(--pm-max)); margin: 0 auto; padding: 40px var(--pm-gutter);
    display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.pm-footer-brand { display: flex; align-items: center; gap: 16px; color: var(--pm-muted); font-family: var(--pm-label); font-size: 13px; line-height: 1.25; letter-spacing: .025em; font-weight: 500; }
.pm-footer-brand img { width: auto; height: 32px; object-fit: contain; }
.pm-footer-inner nav { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 24px 32px; }
.pm-footer-inner nav a,
.pm-footer-inner nav span { color: var(--pm-muted); font-family: var(--pm-label); font-size: 13px; line-height: 1.25; font-weight: 600; }
.pm-footer-inner nav a:hover { color: var(--pm-red); }

.pm-cart-overlay {
    position: fixed; inset: 0; z-index: 998;
    background: rgba(25,25,27,.45); opacity: 0; visibility: hidden;
    transition: opacity .2s, visibility .2s;
}
.pm-cart-drawer {
    position: fixed; z-index: 999; top: 0; right: 0;
    width: min(460px, 100%); height: 100dvh; padding: 30px;
    overflow-y: auto; background: #fff;
    transform: translateX(100%); transition: transform .28s ease;
    box-shadow: -10px 0 40px rgba(25,25,27,.14);
}
.pm-drawer-open .pm-cart-overlay { opacity: 1; visibility: visible; }
.pm-drawer-open .pm-cart-drawer { transform: translateX(0); }
.pm-cart-drawer__header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.pm-cart-drawer__header h2 { margin: 0; font-size: 28px; line-height: 32px; letter-spacing: -.4px; font-weight: 700; }
.pm-cart-close { width: 42px; height: 42px; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--pm-surface); }
.pm-cart-close .pm-icon { width: 14px; height: 14px; }
.pm-mini-cart-content .woocommerce-mini-cart { list-style: none; padding: 0; margin: 0; }
.pm-mini-cart-content .woocommerce-mini-cart-item { position: relative; min-height: 92px; padding: 14px 35px 14px 92px !important; border-bottom: 1px solid var(--pm-line); }
.pm-mini-cart-content .woocommerce-mini-cart-item img { position: absolute; left: 0; top: 14px; width: 72px; height: 64px; border-radius: 12px; object-fit: cover; }
.pm-mini-cart-content a.remove { position: absolute; right: 0; top: 12px; color: var(--pm-red) !important; }
.woocommerce a.remove .pm-icon { width: 12px; height: 12px; margin: auto; }
.pm-mini-cart-content .woocommerce-mini-cart__total { display: flex; justify-content: space-between; margin: 26px 0 18px; font-weight: 800; }
.pm-mini-cart-content .woocommerce-mini-cart__buttons { display: grid; gap: 10px; }

.pm-checkout-security, .pm-back-to-cart { font-family: var(--pm-label); font-size: 13px; line-height: 18px; letter-spacing: .4px; font-weight: 600; }
.pm-checkout-security { display: flex; align-items: center; gap: 8px; margin-left: auto; color: var(--pm-muted); }
.pm-checkout-security span { color: #2f9e44; }
.pm-back-to-cart { margin-left: 24px; padding: 10px 18px; border-radius: 999px; background: var(--pm-surface); }

@media (max-width: 760px) {
    :root { --pm-radius: 22px; --pm-radius-sm: 14px; }
    body { font-size: 16px; }
    .pm-site-header { height: 64px; }
    .pm-brand img { width: auto; height: 40px; object-fit: contain; object-position: left; }
    .pm-main-nav { display: none; }
    .pm-header-actions { margin-left: auto; }
    .pm-cart-button { min-height: 40px; padding: 9px 15px !important; }
    .pm-content-page, .pm-commerce-page { padding-top: 34px; padding-bottom: 70px; }
    .pm-page-heading { margin-bottom: 28px; }
    .pm-page-heading h1 {
        font-size: 32px;
        line-height: 34px;
        letter-spacing: -.9px;
        font-weight: 800;
    }
    .pm-page-heading p { font-size: 16px; }
    .pm-footer-inner { display: block; padding-top: 32px; padding-bottom: 32px; }
    .pm-footer-brand { display: block; }
    .pm-footer-brand img { height: 28px; }
    .pm-footer-brand span { display: block; margin-top: 16px; }
    .pm-footer-inner nav { justify-content: flex-start; gap: 12px 20px; margin-top: 20px; }
    .pm-footer-inner nav > * { display: none; }
    .pm-footer-inner nav .pm-footer-legal,
    .pm-footer-inner nav span { display: inline; }
    .pm-cart-drawer { padding: 24px 20px; }
    .pm-checkout-security { display: none; }
    .pm-back-to-cart { margin-left: auto; padding: 8px 13px; font-size: 12px; }
}
