/* Cloudflare behavior adapters. Visual tokens and page layouts come from the existing
   Store Theme, Store Design and Store Home Page styles, copied by the build. */
.number,
.price,
.amount,
.sah-stat__num,
.sah-stat__plus,
.sah-card__price,
.psh-count,
.cart-total {
  font-family: Manrope, Lato, Arial, sans-serif !important;
}
[hidden] {
  display: none !important;
}
.trap {
  display: none !important;
}
.preview {
  text-align: center;
  padding: 7px 16px;
  background: #e4f0f6;
  color: #1e5c77;
  font:
    13px/1.5 Lato,
    Arial,
    sans-serif;
}
input,
textarea,
button {
  font: inherit;
}
.pst-content label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 18px;
}
.pst-content input:not([type="radio"], [type="checkbox"]),
.pst-content textarea {
  display: block;
  width: 100%;
  min-height: 52px;
  padding: 12px 16px;
  border: 1px solid var(--psd-line);
  border-radius: 12px;
  background: #fff;
  color: var(--psd-ink);
  font-weight: 400;
}
.pst-content textarea {
  min-height: 130px;
}
.pst-content input[type="checkbox"],
.pst-content input[type="radio"] {
  accent-color: #c2780c;
  margin-right: 10px;
}
.pst-content .iti {
  width: 100%;
}
.pst-content button:not([type="button"]):not(.picker):not(.store-quiet),
#add > .button,
.cart-line button {
  border: 0;
  border-radius: 999px;
  background: var(--psd-gold-fill);
  color: #09304d;
  padding: 13px 22px;
  cursor: pointer;
  min-height: 48px;
  font:
    700 15px/1.3 Lato,
    Arial,
    sans-serif;
}
.store-quiet {
  background: white;
  border: 1px solid var(--psd-line);
  border-radius: 999px;
  padding: 12px 18px;
  cursor: pointer;
}
.pst-content fieldset,
#add fieldset {
  border: 0;
  margin: 20px 0;
  padding: 0;
  min-width: 0;
}
legend {
  font:
    700 13px/1.5 Lato,
    Arial,
    sans-serif;
  color: var(--psd-muted);
  margin-bottom: 12px;
}
button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
button[aria-busy="true"]:before {
  content: "";
  display: inline-block;
  vertical-align: middle;
  margin-right: 8px;
  width: 14px;
  height: 14px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: store-spin 1s linear infinite;
}
@keyframes store-spin {
  to {
    transform: rotate(360deg);
  }
}
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: end;
  margin: 24px 0;
}
.filters label {
  font:
    700 12px/1.6 Lato,
    Arial,
    sans-serif;
  min-width: 190px;
}
.picker {
  display: flex;
  justify-content: space-between;
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--psd-line);
  border-radius: 12px;
  background: white;
  color: var(--psd-ink);
  cursor: pointer;
  min-height: 50px;
  text-align: left;
  font:
    400 15px/1.5 Lato,
    Arial,
    sans-serif;
}
.picker:after {
  content: "⌄";
  margin-left: 12px;
}
.listbox {
  position: fixed;
  z-index: 100005;
  max-height: 280px;
  overflow: auto;
  background: white;
  box-shadow: 0 12px 36px -16px #09304d66;
  border: 1px solid var(--psd-line);
  border-radius: 14px;
  padding: 6px;
}
.listbox button {
  display: block;
  width: 100%;
  padding: 12px;
  text-align: left;
  border: 0;
  background: white;
  color: #2a3d50;
  border-radius: 8px;
  cursor: pointer;
}
.listbox [aria-selected="true"],
.listbox button:focus {
  background: #e4f0f6;
  color: #1e5c77;
}
.filters select[hidden] {
  display: none !important;
}
.woocommerce ul.products li.product {
  float: none;
  width: auto !important;
  margin: 0 !important;
  list-style: none;
}
.woocommerce ul.products li.product a {
  display: block;
}
.woocommerce ul.products li.product picture {
  display: block;
}
.woocommerce ul.products li.product img {
  height: auto;
  aspect-ratio: 1;
  object-fit: contain !important;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-weight: 400;
}
.painting[hidden] {
  display: none !important;
}
.gallery .image-zoom {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}
.gallery .image-zoom img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 700px;
  object-fit: contain;
}
.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}
.gallery-thumb {
  display: block;
  border: 2px solid transparent;
  padding: 0;
  background: none;
  border-radius: 12px;
  cursor: pointer;
  overflow: hidden;
}
.gallery-thumb img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  opacity: 0.65;
}
.gallery-thumb[aria-pressed="true"] {
  border-color: #ffbe3d;
}
.gallery-thumb[aria-pressed="true"] img {
  opacity: 1;
}
.summary #add {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.summary #add fieldset {
  flex: 1 1 100%;
}
.psd-type input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.psd-type {
  position: relative;
  display: block;
}
.psd-type:has(input:checked) {
  border-color: var(--psd-gold);
  background: #fff8ea;
  box-shadow: 0 0 0 3px #ffbe3d38;
}
.psd-type:has(input:focus-visible) {
  outline: 2px solid #005495;
  outline-offset: 3px;
}
.psd-type:has(input:disabled) {
  opacity: 0.55;
  cursor: not-allowed;
}
.psd-type__top {
  font-size: 14px;
  flex-wrap: wrap;
}
.store-quantity {
  font-size: 12px;
  color: var(--psd-muted);
}
.stepper {
  display: grid;
  grid-template-columns: 36px 48px 36px;
  align-items: center;
  border: 1px solid var(--psd-line);
  border-radius: 999px;
  overflow: hidden;
  background: white;
  width: max-content;
}
.stepper button {
  border: 0;
  border-radius: 0 !important;
  padding: 8px !important;
  min-width: 36px;
  min-height: 42px;
  background: #fff3da;
  color: #6a4b20;
  cursor: pointer;
}
.stepper input {
  width: 48px !important;
  min-width: 0 !important;
  padding: 6px !important;
  border: 0 !important;
  border-radius: 0 !important;
  text-align: center;
  min-height: 42px !important;
  font:
    600 15px/1.4 Manrope,
    Arial,
    sans-serif;
}
.stepper span {
  padding: 8px;
  text-align: center;
  font:
    600 15px/1.4 Manrope,
    Arial,
    sans-serif;
}
.store-reassurance {
  font-size: 12px;
  color: var(--psd-muted);
  margin: 18px 0 0;
}
.store-checkout .checkout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 40px;
  align-items: start;
}
.store-checkout #checkout,
.psd-summary,
.store-account-card {
  padding: clamp(22px, 3vw, 36px);
  border: 1px solid var(--psd-line);
  border-radius: 24px;
  background: white;
  box-shadow: var(--psd-shadow);
}
.store-checkout .psd-summary {
  position: sticky;
  top: 100px;
}
.store-checkout h2 {
  font-size: 28px;
  margin: 0 0 24px;
}
.store-checkout #checkout h2:not(:first-child) {
  margin-top: 30px;
}
.store-checkout .variant {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--psd-line);
  border-radius: 14px;
  padding: 16px;
  cursor: pointer;
}
.store-checkout .variant:has(input:checked) {
  border-color: var(--psd-gold);
  background: #fff8ea;
}
.store-checkout #checkout > button {
  width: 100%;
}
.store-account-card {
  max-width: 760px;
  margin: auto;
}
.store-cart-page {
  max-width: 1180px;
  margin: auto;
}
.cart-line {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
  padding: 22px 0;
  border-bottom: 1px solid var(--psd-line);
}
.cart-line h3 {
  font: 400 22px/1.3 var(--psd-serif);
  margin: 0;
}
.cart-line p {
  margin: 0;
}
.cart-total {
  padding: 20px;
  border-radius: 18px;
  background: #fff8eb;
  font-size: 25px;
  color: #09304d;
}
.store-cart-page > [data-cart-view] {
  padding: 28px;
  border: 1px solid var(--psd-line);
  border-radius: 24px;
  background: white;
  box-shadow: var(--psd-shadow);
  margin-bottom: 28px;
}
.coupon {
  display: flex;
  gap: 10px;
  align-items: end;
  flex-wrap: wrap;
}
.coupon label {
  flex: 1;
  margin: 0 !important;
}
.coupon input {
  margin: 0;
}
.coupon button {
  margin-bottom: 0;
}
.cart-line .store-thumb {
  width: 64px;
  height: 64px;
  object-fit: contain;
  border-radius: 8px;
}
.store-empty {
  text-align: center;
  padding: 40px;
  background: white;
  border: 1px solid var(--psd-line);
  border-radius: 24px;
}
.store-empty h2 {
  font-size: 32px;
}
.store-drawer {
  position: fixed;
  inset: 0 0 0 auto;
  margin: 0;
  width: min(500px, 100vw);
  height: 100dvh;
  max-height: 100dvh;
  border: 0;
  border-left: 1px solid var(--psd-line);
  border-radius: 24px 0 0 24px;
  padding: 28px;
  background: #fffaf3;
  z-index: 100010;
}
.store-drawer::backdrop {
  background: #09304d66;
}
.store-drawer h2 {
  font-size: 28px;
}
.store-close {
  float: right;
  width: 40px;
  height: 40px;
  border: 0;
  background: #fff0d4;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
}
.store-drawer-actions {
  display: grid;
  gap: 12px;
  position: sticky;
  bottom: -28px;
  padding: 20px 0;
  background: #fffaf3;
}
.store-drawer .cart-line {
  gap: 12px;
}
.store-drawer .cart-line h3 {
  font-size: 20px;
}
.store-drawer .cart-line > div {
  min-width: 0;
}
.store-drawer .coupon {
  display: none;
}
#notice:empty {
  display: none;
}
#notice {
  position: fixed;
  bottom: 16px;
  left: 16px;
  right: 16px;
  z-index: 100020;
  background: white;
  border: 1px solid #5095b3;
  border-radius: 16px;
  padding: 16px;
  box-shadow: var(--psd-shadow);
}
.loading {
  opacity: 0.6;
}
img {
  transition: opacity 0.4s;
}
.img-wait {
  opacity: 0;
}
.zoom {
  max-width: 1000px;
  background: #fffaf3;
  border: 0;
  border-radius: 20px;
}
.zoom img {
  max-height: 80vh;
  object-fit: contain;
}
.zoom > button {
  float: right;
}
.pst-touch .pst-contact {
  width: 100%;
}
@media (max-width: 980px) {
  .store-checkout .checkout {
    grid-template-columns: minmax(0, 1fr);
  }
  .store-checkout .psd-summary {
    position: static;
    grid-row: 1;
  }
  .filters label {
    flex: 1;
  }
  .store-drawer {
    border-radius: 0;
  }
  .summary #add > .button {
    flex: 1;
  }
}
@media (max-width: 720px) {
  .filters {
    gap: 12px;
  }
  .filters label {
    min-width: 100%;
    margin: 0;
  }
  .store-checkout #checkout,
  .psd-summary,
  .store-account-card {
    padding: 22px;
    border-radius: 20px;
  }
  .store-cart-page > [data-cart-view] {
    padding: 20px;
  }
  .store-drawer {
    padding: 20px;
  }
  .store-drawer-actions {
    bottom: -20px;
  }
  .cart-line {
    gap: 12px;
  }
  .coupon {
    display: grid;
    grid-template-columns: 1fr;
  }
  .gallery-thumbs {
    gap: 8px;
  }
  .store-quantity {
    margin-top: 0;
  }
  .single_add_to_cart_button {
    width: 100%;
  }
  .psh-spacer + .preview {
    position: relative;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}

.store-checkout .variant input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.store-checkout .variant:focus-within {
  outline: 2px solid #005495;
  outline-offset: 3px;
}

.psd-mini__image picture {
  width: 100%;
  height: 100%;
  display: block;
}
.psd-mini__quantity {
  display: grid;
  place-items: center;
}
.psd-mini__price,
.psd-mini__subtotal strong,
.psd-mini__quantity,
.psd-buybar__text span,
.psd-steps i {
  font-family: Manrope, Arial, sans-serif !important;
}
.cart-line picture {
  width: 64px;
  height: 64px;
  flex: 0 0 64px;
}
.cart-line picture img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.woocommerce-cart td.product-name small {
  display: block;
  color: var(--psd-muted);
  font-size: 12px;
}
.woocommerce-cart button.psd-remove {
  background: transparent;
  border: 0;
  color: var(--psd-muted);
  text-decoration: underline;
  cursor: pointer;
}
.woocommerce-cart .woocommerce-cart-form .coupon {
  margin-top: 24px;
}
.woocommerce-cart .woocommerce-cart-form {
  min-width: 0;
}
.woocommerce-cart .woocommerce-cart-form table {
  width: 100%;
}
.psd-mini {
  z-index: 100010;
}

.store-variant-info {
  padding: 16px 20px;
  border: 1px solid var(--psd-line);
  border-radius: 14px;
  background: #fffaf3;
  margin: 18px 0;
}
.store-variant-info p {
  margin: 4px 0 !important;
  font-size: 13px !important;
}
