/* Cloud-coloured surfaces, a compact signature, and a little more room for the pieces. */
:root {
  --ap-cloud: #f0eee8;
  --ap-blush: #eee3e2;
  --ap-header-offset: 0px;
  --ap-ease: cubic-bezier(.22, .61, .36, 1);
}
html { scroll-padding-top: 110px; }
body.admin-bar { --ap-header-offset: 32px; }
.ap-header {
  position: sticky;
  top: var(--ap-header-offset);
  background: #faf7f0f5;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: box-shadow .25s ease;
}
.ap-header-inner { min-height: 106px; padding-top: 20px; padding-bottom: 20px; transition: min-height .3s var(--ap-ease), padding .3s var(--ap-ease); }
.ap-header .ap-brand { min-width: 158px; min-height: 44px; justify-content: center; }
.ap-header .ap-brand > span { display: flex; align-items: baseline; font-size: 46px; }
.ap-brand-tail { display: inline-block; max-width: 180px; overflow: hidden; white-space: nowrap; transition: max-width .35s var(--ap-ease), opacity .2s ease; }
.ap-header .ap-brand small { overflow: hidden; max-height: 16px; opacity: 1; transition: max-height .3s ease, margin .3s ease, opacity .2s ease; }
.ap-header.is-compact { box-shadow: 0 5px 24px #302c2709; }
.ap-header.is-compact .ap-header-inner { min-height: 68px; padding-top: 10px; padding-bottom: 10px; }
.ap-header.is-compact .ap-brand-tail { max-width: 0; opacity: 0; }
.ap-header.is-compact .ap-brand small { max-height: 0; margin-top: 0; opacity: 0; }
.ap-navigation { gap: clamp(16px, 2vw, 30px); }
.ap-navigation a { position: relative; }
.ap-search-link { gap: 8px; }
.ap-search-link svg { flex-shrink: 0; }
.ap-language a { min-width: 32px; }
.ap-cart-link { min-width: 44px; justify-content: center; }
.ap-cart-link[data-count="0"] > span { display: none; }
.ap-menu-toggle { color: var(--ap-ink); }
.ap-menu-toggle span { transition: transform .2s ease; }
.ap-menu-toggle[aria-expanded=true] span:first-child { transform: translateY(3.25px) rotate(45deg); }
.ap-menu-toggle[aria-expanded=true] span:last-child { transform: translateY(-3.25px) rotate(-45deg); }
.ap-hero {
  padding: clamp(32px, 4vw, 58px) 0 46px;
  background: radial-gradient(ellipse at 6% 90%, #e6e9de70, transparent 52%), radial-gradient(ellipse at 90% 12%, #eee3e26b, transparent 48%);
}
.ap-hero-grid { gap: clamp(32px, 5vw, 76px); }
.ap-hero-copy { padding-bottom: 14px; }
.ap-hero h1 { font-size: clamp(48px, 6.1vw, 82px)!important; }
.ap-hero-lead { font-size: 16px; max-width: 440px; line-height: 1.8; }
.ap-hero-image > img { aspect-ratio: 1/1; border-radius: 42% 42% 3px 3px!important; }
.ap-hero-image figcaption { display: flex; align-items: center; justify-content: space-between; font-size: 17px; }
.ap-hero-image-symbol { display: none; }
.ap-hero-image figcaption > span:last-child { display: flex; gap: 6px; align-items: baseline; flex-wrap: wrap; width: 100%; }
.ap-hero-image figcaption br { display: none; }
.ap-hero-image figcaption small { margin-left: auto; }
body.ap-atelier .button.ap-primary { background: var(--ap-berry); border-color: var(--ap-berry); border-radius: 4px; min-height: 50px; }
body.ap-atelier .button.ap-primary:hover { background: var(--ap-ink); border-color: var(--ap-ink); }
.ap-values { background: #fffefb70; }
.ap-section { padding: clamp(48px, 6vw, 84px) 0; }
.ap-section-heading h2 { max-width: 780px; }
.ap-category-grid { gap: 28px; }
.ap-category-image { border: 1px solid #dcd5c966; border-radius: 4px; }
.ap-category-image img { aspect-ratio: 4/4.2; }
.ap-category-image > span { border: 1px solid var(--ap-line); }
.ap-category-title > span { transition: transform .2s ease; }
.ap-category-card:hover .ap-category-title > span { transform: translate(3px, -3px); }
.ap-new-pieces { background: var(--ap-cloud); border-bottom: 1px solid var(--ap-line); }
.ap-atelier ul.products { gap: 38px 28px; }
.ap-atelier ul.products li.product img { border-radius: 4px; border: 1px solid #dcd5c950; }
.ap-atelier ul.products li.product .woocommerce-loop-product__title { font-size: clamp(20px, 2vw, 26px); }
.ap-atelier ul.products li.product .button { min-height: 46px; }
.ap-product-badge { border-radius: 2px; font-size: 10px; letter-spacing: .055em; }
.ap-collection-intro { padding: 52px 0 30px; }
.ap-collection-intro > p:not(.ap-eyebrow) { max-width: 760px; margin-left: auto; margin-right: auto; line-height: 1.8; }
.ap-category-nav a { border-radius: 24px; padding: 9px 19px; }
.ap-category-nav a[aria-current=page] { background: var(--ap-ink); border-color: var(--ap-ink); color: var(--ap-white); }
.ap-collection-search { text-align: left; max-width: 560px; margin: 28px auto 0; scroll-margin-top: 100px; }
.ap-collection-search label { display: block; font-size: 12px; margin-bottom: 8px; color: var(--ap-muted); }
.ap-search-fields { display: flex; gap: 8px; }
body.ap-atelier .ap-search-fields input[type=search] { min-width: 0; flex: 1; width: 100%; background: var(--ap-white); border: 1px solid var(--ap-line); border-radius: 4px; padding: 12px 14px; font: inherit; box-shadow: none; color: var(--ap-ink); }
body.ap-atelier .ap-search-fields button { min-height: 48px; padding: 12px 20px; }
.ap-back-to-collection { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin: 0 0 22px; font-size: 13px; text-decoration: none; }
.ap-story-section { padding: 70px 0; }
.ap-final-cta { background: radial-gradient(ellipse at 50% 110%, var(--ap-blush), transparent 70%); }
.ap-footer-main nav a, .ap-footer-bottom nav a { min-height: 44px; }
.ap-product-benefits { gap: 10px; padding-top: 18px; margin: 20px 0; }
.ap-product-benefits > div { gap: 10px; font-size: 13px; }
.ap-product-benefits svg { flex-basis: 22px; width: 22px; height: 22px; }
/* Put the tap area on the summary itself, including the full width of the row. */
.ap-product-details details { padding: 0; }
.ap-product-details summary { min-height: 64px; padding: 16px 0; align-items: center; }
.ap-product-details details[open] { padding-bottom: 20px; }
.ap-product-details details p:first-of-type { margin-top: 0; }
@media (max-width: 1100px) and (min-width: 981px) {
  .ap-navigation { gap: 14px; }
  .ap-header-actions { gap: 12px; }
  .ap-header .ap-brand { min-width: 148px; }
}
@media (max-width: 980px) {
  .ap-header-inner { min-height: 94px; }
  .ap-header .ap-brand > span { font-size: 40px; }
  .ap-navigation { display: flex; flex-direction: column; align-items: stretch; }
  html:not(.ap-enhanced) .ap-header { position: relative; }
  html:not(.ap-enhanced) .ap-header-inner { flex-wrap: wrap; }
  html:not(.ap-enhanced) .ap-navigation { position: static; order: 3; flex-basis: 100%; box-shadow: none; border: 0; padding: 0; }
  html:not(.ap-enhanced) .ap-menu-toggle { display: none; }
  /* Reserve the expanded header, announcement and optional WordPress toolbar in landscape. */
  .ap-enhanced .ap-navigation { display: none; padding: 16px 32px 24px; max-height: calc(100dvh - 190px); overflow-y: auto; }
  .ap-enhanced .ap-navigation.is-open { display: flex; }
  .ap-navigation a { min-height: 50px; padding: 12px 0; border-bottom: 1px solid var(--ap-line); font-size: 18px; }
  .ap-navigation .ap-search-link { border: 0; font-size: 14px; }
}
@media (max-width: 782px) { body.admin-bar { --ap-header-offset: 46px; } }
@media (max-width: 700px) {
  .ap-header-inner { min-height: 86px; padding: 14px 22px; }
  .ap-header .ap-brand { min-width: 120px; }
  .ap-header .ap-brand > span { font-size: 36px; }
  .ap-header.is-compact .ap-header-inner { min-height: 64px; padding-top: 9px; padding-bottom: 9px; }
  .ap-header-actions { gap: 5px; }
  .ap-language { gap: 0; font-size: 12px; }
  .ap-language a { display: grid; place-items: center; min-width: 44px; min-height: 44px; }
  .ap-language a[aria-current=true], .ap-language > span { display: none; }
  .ap-menu-toggle { min-width: 44px; min-height: 44px; padding: 10px; }
  .ap-cart-link { min-height: 44px; }
  .ap-enhanced .ap-navigation { padding-left: 22px; padding-right: 22px; }
  .ap-hero { padding: 28px 0 32px; }
  .ap-hero-grid { gap: 26px; }
  .ap-hero h1 { font-size: clamp(43px, 11.8vw, 64px)!important; margin-bottom: 18px; }
  .ap-hero-lead { font-size: 16px; line-height: 1.55; margin-bottom: 20px!important; }
  .ap-hero-footnote { font-size: 12px; letter-spacing: 0; margin-top: 14px!important; }
  .ap-hero .ap-text-link { font-size: 12px; min-height: 40px; display: inline-flex; align-items: center; }
  .ap-hero .ap-actions { gap: 8px 16px; }
  .ap-hero-image { margin: 0; }
  .ap-hero-image > img { aspect-ratio: 4/3.6; object-position: 50% 45%; }
  .ap-hero-image figcaption { font-size: 16px; padding-top: 12px; }
  .ap-values > .ap-wrap { display: grid; grid-template-columns: 1fr; gap: 10px; padding-top: 18px; padding-bottom: 18px; }
  .ap-values span, .ap-values span:last-child { width: auto; font-size: 11px; justify-content: center; }
  .ap-category-grid { gap: 24px; }
  .ap-category-card { display: grid; grid-template-columns: 112px minmax(0,1fr); gap: 0 20px; align-items: center; }
  .ap-category-image { grid-row: 1 / 3; }
  .ap-category-image img { aspect-ratio: 1/1.1; }
  .ap-category-image > span { display: none; }
  .ap-category-title { margin: 0; align-self: end; gap: 8px; }
  .ap-category-title h3 { font-size: 25px!important; }
  .ap-category-card p { align-self: start; font-size: 12px; margin-top: 8px; }
  .ap-atelier ul.products { gap: 28px 14px; }
  .ap-atelier ul.products li.product .woocommerce-loop-product__title { font-size: 19px; overflow-wrap: anywhere; }
  .ap-product-badge { font-size: 8px; padding: 5px 7px; }
  .ap-collection-intro { padding: 24px 0 20px; }
  .ap-collection-intro .ap-eyebrow { display: none; }
  .ap-collection-intro h1 { font-size: clamp(30px, 8.5vw, 34px)!important; margin-bottom: 12px; overflow-wrap: anywhere; }
  .ap-collection-intro > p:not(.ap-eyebrow) { font-size: 14px; line-height: 1.6; margin-bottom: 16px; }
  .ap-category-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 16px; }
  .ap-category-nav a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; font-size: 12px; padding: 8px 14px; }
  .ap-collection-search { margin-top: 16px; }
  .ap-search-fields { gap: 6px; }
  body.ap-atelier .ap-search-fields button { padding: 12px 14px; font-size: 13px; }
  /* Readable form text also avoids Safari's focus zoom on small input text. */
  body.ap-atelier input:not([type=checkbox]):not([type=radio]),
  body.ap-atelier textarea, body.ap-atelier select { font-size: 16px; }
  .ap-atelier .woocommerce-ordering { float: none; width: 100%; margin: 0; }
  .ap-atelier .woocommerce-ordering select { min-height: 48px; width: 100%; max-width: 100%; font-size: 16px; }
  .ap-atelier .storefront-sorting { display: flex; flex-direction: column; gap: 10px; padding: 14px 0; margin-bottom: 6px; }
  .ap-atelier .woocommerce-result-count { float: none; margin: 0; font-size: 12px; }
  .ap-atelier .woocommerce-pagination .page-numbers li .page-numbers { min-width: 44px; min-height: 44px; }
  .ap-atelier.single-product .site-main { padding-top: 12px; }
  .ap-back-to-collection { margin-bottom: 12px; }
  .ap-atelier.single-product div.product .woocommerce-product-gallery { margin-bottom: 18px; }
  .ap-atelier.single-product .woocommerce-product-gallery__image img:not(.zoomImg) { width: 100%; height: min(calc(100vw - 44px), 40svh, 360px); object-fit: contain; }
  .ap-atelier.single-product .woocommerce-product-gallery .flex-control-thumbs { margin-top: 12px; gap: 10px; }
  .ap-atelier.single-product div.product .product_title { font-size: 32px; margin-bottom: 12px; overflow-wrap: anywhere; }
  .ap-atelier.single-product div.product .woocommerce-product-details__short-description { margin: 18px 0; font-size: 15px; line-height: 1.65; }
  .ap-availability { padding: 18px; border-radius: 4px; }
  .ap-availability .button { width: 100%; min-height: 48px; text-align: center; }
  .ap-product-story { margin-bottom: 24px; }
  .ap-atelier .ap-product-story h2 { margin-bottom: 18px; }
  .ap-product-story p { line-height: 1.7; }
  .ap-story-section { padding: 44px 0; }
  .ap-story-art svg { width: 190px; }
}
@media (max-width: 600px) { body.admin-bar { --ap-header-offset: 0px; } }
@media (max-width: 360px) {
  .ap-header-inner { padding-left: 14px; padding-right: 14px; gap: 6px; }
  .ap-header .ap-brand { min-width: 94px; }
  .ap-header .ap-brand > span { font-size: 31px; }
  .ap-header .ap-brand small { font-size: 6px; }
  .ap-header-actions { gap: 0; }
  .ap-category-card { grid-template-columns: 92px minmax(0,1fr); gap: 0 14px; }
  .ap-category-title h3 { font-size: 23px!important; }
}
@media (hover: none) { .ap-category-card:hover img { transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .ap-header, .ap-header *, .ap-category-title > span { transition: none!important; }
}

#ap-collection-search { scroll-margin-top: 110px; }
.ap-collection-search input:focus-visible { outline: 3px solid var(--ap-berry); outline-offset: 3px; }
.ap-collection-search button { background: var(--ap-berry); color: var(--ap-white); border: 1px solid var(--ap-berry); border-radius: 4px; cursor: pointer; }
.ap-collection-search button:hover { background: var(--ap-ink); border-color: var(--ap-ink); }
/* Storefront's overflow:hidden wrapper otherwise becomes the sticky scroll container. */
body.ap-atelier .site { overflow: visible; }
body.ap-atelier { overflow-x: clip; overflow-y: visible; }
