/* PSTR studio – styles for pages generated by the store (account, checkout, messages). */
.pstr-page{max-width:60rem;margin:0 auto;padding:1rem 0 3rem}
.pstr-page h1,.pstr-page .c-collection-title{font-size:2rem;line-height:1.2;margin:0 0 1.5rem;font-family:var(--font-heading-family,inherit)}
.pstr-page h2{font-size:1.25rem;margin:1.5rem 0 .75rem}
.pstr-page p{margin:0 0 1rem}
.pstr-page a:not(.button){text-decoration:underline}
.pstr-narrow,.store-narrow{max-width:30rem;margin:0 auto}
.pstr-page .store-page{padding:0}
.store-form,.pstr-form{display:grid;gap:1rem;margin:0 0 1.5rem}
.store-form label,.pstr-form label{display:grid;gap:.35rem;font-size:.875rem}
.store-form input,.store-form textarea,.store-form select,.pstr-form input,.pstr-form textarea,.store-search input{width:100%;padding:.85rem 1rem;border:1px solid rgba(3,13,66,.2);border-radius:.75rem;background:#fff;font:inherit;color:inherit}
.store-form input:focus,.pstr-form input:focus,.pstr-form textarea:focus,.store-form textarea:focus{outline:2px solid currentColor;outline-offset:1px}
.store-row{display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(9rem,1fr))}
.store-error{color:#c0392b;font-size:.8rem}
.store-flash,.store-notice,.pstr-notice{padding:.85rem 1rem;border-radius:.75rem;background:rgba(3,13,66,.06);margin:0 0 1rem;font-size:.9rem}
.store-flash--error,.pstr-notice--error{background:#fdecea;color:#8a1c12}
.store-table{width:100%;border-collapse:collapse;margin:0 0 1.5rem;font-size:.9rem;background:#fff;border-radius:.75rem;overflow:hidden}
.store-table th,.store-table td{padding:.75rem 1rem;text-align:left;border-bottom:1px solid rgba(3,13,66,.08)}
.store-checkout-grid{display:grid;gap:2rem}
@media(min-width:900px){.store-checkout-grid{grid-template-columns:1.4fr 1fr}}
.store-summary{background:#fff;border-radius:1rem;padding:1.25rem;align-self:start}
.store-summary dl{display:grid;grid-template-columns:1fr auto;gap:.4rem;margin:1rem 0 0}
.store-summary dd{margin:0;text-align:right}
.store-line{display:flex;gap:.75rem;align-items:center;margin:0 0 .75rem}
.store-line img{border-radius:.5rem;object-fit:cover;background:#f3efe9}
.store-line div{flex:1;display:grid}
.store-line small{opacity:.7}
.store-search{display:flex;gap:.5rem;margin:0 0 1.5rem}
.pstr-contact-wrap{max-width:36rem;margin:2rem auto}
.pstr-pagination{margin:2.5rem 0 1rem;text-align:center}
.pstr-pagination .shc3-pagination{display:inline-flex;gap:.5rem;align-items:center}
.pstr-pagination a,.pstr-pagination span{min-width:2.5rem;height:2.5rem;display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:0 .75rem}
.pstr-pagination a{background:rgba(3,13,66,.06)}
.pstr-pagination [aria-current]{background:#030d42;color:#fff}
.pstr-empty{padding:3rem 0;text-align:center}
.pstr-flash{position:fixed;left:50%;bottom:1.5rem;transform:translateX(-50%);z-index:2147483000;background:#030d42;color:#fff;border-radius:999px;padding:.85rem 3rem .85rem 1.5rem;box-shadow:0 10px 30px rgba(0,0,0,.25);font-size:.9rem;max-width:calc(100% - 2rem)}
.pstr-flash__msg{margin:0}
.pstr-flash__close{position:absolute;right:1rem;top:50%;transform:translateY(-50%);background:none;border:0;color:inherit;font-size:1.25rem;cursor:pointer}
html.pstr-busy cart-items{opacity:.4;pointer-events:none}

/* Enlarge the whole preview, not the artwork alone: frame and mat stay aligned. */
product-media-slider[data-pstr-single-image] .product-media-slider__item{aspect-ratio:1/1.15!important}
product-media-slider[data-pstr-single-image] [data-product-media-images-wrapper]{max-width:90%!important}
product-media-slider[data-pstr-single-image] .swiper-slide{width:100%!important;margin-right:0!important}
@media(min-width:768px){
  /* Extend the whole media column into the left gutter so the gallery colour reaches the page edge
     below the sticky image too. The class is added by the server; :has() is only a separate fallback
     (kept in its own rule so browsers without :has() still apply the class rule). */
  .pstr-media-col{background-color:#f7f1ee;--pstr-product-media-background:oklch(0.96195952 0.00762601 48.65388156);background-color:var(--pstr-product-media-background)!important;margin-left:calc(-1 * var(--site-side-spacing,0px));padding-left:var(--site-side-spacing,0px)}
  .product-media:has(product-media-slider[data-pstr-single-image]):not(.pstr-media-col){--pstr-product-media-background:oklch(0.96195952 0.00762601 48.65388156);background-color:var(--pstr-product-media-background);box-shadow:calc(-1 * var(--site-side-spacing,0px)) 0 0 0 var(--pstr-product-media-background)}
  product-media-slider[data-pstr-single-image],product-media-slider[data-pstr-single-image] .product-media-slider__slider{background-color:#f7f1ee;background-color:var(--pstr-product-media-background,oklch(0.96195952 0.00762601 48.65388156))}
  /* Fit the complete preview below the header; scale every overlay together. */
  product-media-slider[data-pstr-single-image] .product-media-slider__item{aspect-ratio:auto!important;height:calc(100vh - 125px);height:calc(100dvh - 125px);max-height:850px}
  product-media-slider[data-pstr-single-image] [data-product-media-images-wrapper]{max-width:min(90%,calc((100vh - 125px)*.78),663px)!important;max-width:min(90%,calc((100dvh - 125px)*.78),663px)!important}
}

/* Mouse clicks must not leave the browser/theme's blue focus rectangle. */
:focus:not(:focus-visible){outline:none!important;--tw-ring-shadow:0 0 transparent!important;--tw-ring-offset-shadow:0 0 transparent!important}
/* Text fields can be focus-visible even after a click: use the site's ink. */
input:focus,select:focus,textarea:focus{--tw-ring-color:currentColor!important;border-color:currentColor!important}
/* Keep a clear, theme-coloured indicator for keyboard navigation. */
:focus-visible{outline:2px solid currentColor!important;outline-offset:2px}
