html { scroll-padding-top: 150px; }
body { font-size: 16px; }
.shell { width: min(1280px, calc(100% - 96px)); }
.eyebrow { font-size: 12px; font-weight: 500; text-transform: none; }
.text-link { font-size: 14px; min-height: 44px; border-color: var(--gold); }
.button, .woocommerce button.button, .woocommerce a.button, .wc-block-components-button:not(.is-link) { min-height: 48px; font-size: 14px; border-radius: 4px; padding: 13px 24px; transition: background 160ms cubic-bezier(0.22, 1, 0.36, 1), color 160ms cubic-bezier(0.22, 1, 0.36, 1), transform 160ms cubic-bezier(0.22, 1, 0.36, 1); }
.button:active, .woocommerce button.button:active, .woocommerce a.button:active { transform: scale(0.98); }
.button--outline { background: transparent; color: var(--ink); }
.icon-button { width: 44px; height: 44px; flex-basis: 44px; }
.wp-block-template-part:has(.p-header) { top: 0; }
.p-header { background: var(--paper); color: var(--ink); border: 0; }
.p-header.is-scrolled { box-shadow: 0 3px 20px #30231d12; }
.p-contact { background: var(--ink); color: var(--paper); }
.p-contact .shell { min-height: 30px; display: flex; align-items: center; justify-content: space-between; gap: 24px; font-size: 12px; }
.p-contact a { color: var(--paper); display: flex; align-items: center; gap: 8px; }
.p-masthead { display: grid; grid-template-areas: 'menu brand tools' 'navigation navigation navigation'; grid-template-columns: 1fr auto 1fr; grid-template-rows: 86px 44px; align-items: center; }
.p-brand { grid-area: brand; }
.p-header .stella-logo { width: 136px; height: 78px; }
.p-header .menu-toggle { grid-area: menu; display: none; }
.p-header .p-tools { grid-area: tools; display: flex; justify-content: flex-end; align-items: center; gap: 4px; }
.p-header .p-navigation { grid-area: navigation; display: flex; justify-content: center; align-items: center; gap: 28px; margin: 0; padding: 0; border: 0; background: transparent; }
.p-navigation a { font-size: 13px; padding-block: 12px; min-height: 44px; white-space: nowrap; }
.p-navigation a[aria-current] { color: var(--walnut); text-decoration: underline; text-underline-offset: 7px; }
.p-contact-link { display: flex; align-items: center; gap: 12px; font-size: 13px; min-height: 44px; }
.p-tools .icon-button:last-child::after { right: 0; left: auto; transform: none; }
.p-footer { background: var(--ink); color: var(--paper); }
.p-footer-intro { color: var(--ink); background: var(--ivory); }
.p-footer-intro > .shell { display: flex; align-items: center; justify-content: space-between; gap: 36px; padding-block: 34px; }
.p-footer-intro .stella-logo { width: 146px; height: 84px; }
.p-footer-intro h2 { font-size: 36px; max-width: 480px; }
.p-footer-columns { display: grid; grid-template-columns: 1.35fr repeat(3,minmax(0,1fr)); gap: 40px; padding-block: 48px; }
.p-footer-columns > * { min-width: 0; }
.p-footer-columns h2 { font: 500 26px/1.2 var(--serif); font-synthesis: weight; color: var(--gold); min-height: 0; margin-bottom: 22px; }
.p-footer-columns h2::after { display: none; }
.p-footer-columns nav { border: 0; padding: 0; }
.p-footer-columns nav a { display: block; color: var(--paper); font-size: 13px; padding-block: 5px; }
.p-footer-columns a:hover { color: var(--gold); }
.p-company p, .p-company address, .p-company > a { font-size: 12px; font-style: normal; overflow-wrap: anywhere; }
.p-company p { margin-bottom: 12px; }
.p-company address { margin-bottom: 14px; }
.p-company > a { display: block; margin-bottom: 9px; }
.p-footer-bottom { display: flex; flex-direction: column; align-items: center; gap: 8px; padding-block: 18px; border-top: 1px solid var(--walnut); }
.p-footer-bottom p { font-size: 12px; margin: 0; text-align: center; }
.p-footer-bottom .icon-button { color: var(--gold); }
.back-top { background: var(--gold); color: var(--ink); border-color: var(--gold); border-radius: 50%; }
.p-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 36px; }
.p-heading h2 { font-size: 52px; }
.p-heading > div:last-child { font-size: 14px; }
.p-section { padding-block: 80px; }
.home .p-section { padding-block: 40px; }
.home .b-collections { padding-bottom: 40px; }
.p-centered { text-align: center; }
.p-centered > p:not(.eyebrow) { max-width: 580px; margin: 24px auto; }
.p-editorial { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.p-editorial h2 { font-size: 58px; margin-bottom: 26px; }
.p-editorial p:not(.eyebrow) { max-width: 440px; }
.p-editorial figure { margin: 0; }
.p-editorial img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.p-editorial figcaption { font-size: 12px; margin-top: 12px; color: var(--walnut); }
.p-product-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 26px; }
.p-product-grid .product-card, .catalog-grid:not(.is-list) .product-card, .related-grid .product-card { display: flex; flex-direction: column; }
.product-card { border-radius: 3px; border-color: var(--line); }
.product-card__content { padding: 18px; flex: 1; display: flex; flex-direction: column; }
.product-card h3 { font-size: 24px; min-height: 58px; line-height: 1.18; }
.product-card__bottom { margin-top: auto; padding-top: 12px; }
.product-card__price { font-size: 14px; }
.product-card .favorite-button { top: 8px; right: 8px; width: 44px; height: 44px; flex-basis: 44px; font-size: 18px; }
.product-card .icon-button::after { left: auto; right: 0; transform: none; }
.product-card .product-add, .product-card .product-add.button { width: 44px; height: 44px; flex-basis: 44px; min-height: 44px; background: var(--ink); color: var(--paper); border-radius: 50%; font-size: 20px; padding: 0; }
.test-label { font-size: 10px; }
.page-intro { min-height: 210px; }
.page-intro h1 { font-size: 52px; }
.page-intro p { font-size: 16px; }
.breadcrumb { font-size: 12px; }
.catalog-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.catalog-sidebar label, .filter-reset, .catalog-count, .catalog-sort { font-size: 13px; }
.catalog-sidebar legend { font-size: 25px; }
.catalog-search input, .catalog-sort select { font-size: 14px; height: 44px; }
.catalog-search .bi { top: 11px; }
.view-controls button { width: 44px; height: 44px; flex-basis: 44px; }
.summary-note, .notice, .product-description, .tab-panel { font-size: 13px; }
.config-summary h2 { font-size: 32px; }
.search-dialog label { font-size: 14px; }
@media (max-width: 1000px) {
    .shell { width: calc(100% - 48px); }
    .p-header .menu-toggle { display: inline-flex; }
    .p-masthead { grid-template-areas: 'menu brand tools'; grid-template-rows: 80px; grid-template-columns: 1fr auto 1fr; }
    .p-header .p-navigation { display: none; position: absolute; inset: 100% 0 auto; padding: 18px 24px; flex-direction: column; align-items: stretch; gap: 0; background: var(--paper); border-bottom: 1px solid var(--line); max-height: calc(100dvh - 110px); overflow-y: auto; }
    .p-header .p-navigation.is-open { display: flex; }
    .p-navigation a { padding-block: 12px; font-size: 18px; }
    .p-footer-columns { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .p-footer-intro h2 { font-size: 30px; }
    .p-footer-intro > .shell { gap: 24px; }
    .p-editorial { gap: 48px; }
    .p-editorial h2 { font-size: 46px; }
    .p-product-grid { gap: 18px; }
    .catalog-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
}
@media (max-width: 680px) {
    html { scroll-padding-top: 110px; }
    .shell { width: calc(100% - 36px); }
    .p-contact .shell { font-size: 10px; gap: 10px; }
    .p-contact .shell > span { max-width: 175px; text-align: right; }
    .p-header .stella-logo { width: 100px; height: 60px; }
    .p-masthead { grid-template-columns: 1fr 100px 1fr; }
    .p-header .account-link { display: none; }
    .p-header .p-tools { gap: 0; }
    .p-contact-link { font-size: 12px; max-width: 110px; gap: 8px; line-height: 1.2; }
    .p-section { padding-block: 48px; }
    .home .p-section { padding-block: 24px; }
    .home .b-collections { padding-bottom: 24px; }
    .p-heading { flex-direction: column; align-items: flex-start; gap: 20px; margin-bottom: 28px; }
    .p-heading h2 { font-size: 40px; }
    .p-editorial { grid-template-columns: 1fr; gap: 32px; }
    .p-editorial h2 { font-size: 42px; }
    .p-product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px 14px; }
    .product-card__content { padding: 14px; }
    .product-card h3 { font-size: 21px; }
    .product-card__visual img { max-width: 92%; }
    .p-footer-intro > .shell { flex-wrap: wrap; gap: 22px; padding-block: 30px; }
    .p-footer-intro h2 { font-size: 30px; max-width: 170px; }
    .p-footer-intro .stella-logo { width: 112px; height: 68px; }
    .p-footer-columns { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 30px 20px; padding-block: 42px; }
    .p-company { grid-column: auto; }
    .p-footer-columns h2 { font-size: 23px; }
    .p-footer-columns nav a { font-size: 12px; overflow-wrap: anywhere; }
    .page-intro h1 { font-size: 40px; }
    .catalog-sort select { max-width: 158px; }
    .catalog-layout { gap: 18px; }
    .catalog-toolbar { gap: 8px; }
    .catalog-grid { gap: 24px 14px; }
}