@keyframes wc-skeleton-shimmer{to{transform:translateX(100%)}}.wp-block-woocommerce-product-sale-badge{display:flex;flex-direction:column}.wc-block-components-product-sale-badge{background:#fff;border:1px solid #43454b;border-radius:4px;box-sizing:border-box;color:#43454b;display:inline-block;font-size:.875em;font-weight:600;padding:.25em .75em;position:static;text-align:center;text-transform:uppercase;width:fit-content;z-index:9}.wc-block-components-product-sale-badge--align-left{align-self:auto}.wc-block-components-product-sale-badge--align-center{align-self:center}.wc-block-components-product-sale-badge--align-right{align-self:flex-end}.wc-block-components-product-sale-badge span{background-color:inherit;color:inherit}
@keyframes wc-skeleton-shimmer{to{transform:translateX(100%)}}.editor-styles-wrapper .wc-block-grid__products .wc-block-grid__product .wc-block-components-product-image,.wc-block-components-product-image{display:block;position:relative;text-decoration:none}.editor-styles-wrapper .wc-block-grid__products .wc-block-grid__product .wc-block-components-product-image a,.wc-block-components-product-image a{border:0;border-radius:inherit;box-shadow:none;display:block;text-decoration:none}.editor-styles-wrapper .wc-block-grid__products .wc-block-grid__product .wc-block-components-product-image img,.wc-block-components-product-image img{border-radius:inherit;height:auto;vertical-align:middle;width:100%}.editor-styles-wrapper .wc-block-grid__products .wc-block-grid__product .wc-block-components-product-image img[hidden],.wc-block-components-product-image img[hidden]{display:none}.editor-styles-wrapper .wc-block-grid__products .wc-block-grid__product .wc-block-components-product-image .wc-block-components-product-sale-badge--align-left,.wc-block-components-product-image .wc-block-components-product-sale-badge--align-left{left:4px;margin:0;position:absolute;right:auto;top:4px}.editor-styles-wrapper .wc-block-grid__products .wc-block-grid__product .wc-block-components-product-image .wc-block-components-product-sale-badge--align-center,.wc-block-components-product-image .wc-block-components-product-sale-badge--align-center{left:50%;margin:0;position:absolute;right:auto;top:4px;transform:translateX(-50%)}.editor-styles-wrapper .wc-block-grid__products .wc-block-grid__product .wc-block-components-product-image .wc-block-components-product-sale-badge--align-right,.wc-block-components-product-image .wc-block-components-product-sale-badge--align-right{left:auto;margin:0;position:absolute;right:4px;top:4px}.editor-styles-wrapper .wc-block-components-product-image__inner-container{justify-content:flex-start}.is-loading .wc-block-components-product-image{background-color:currentColor!important;border:0!important;box-shadow:none;color:currentColor!important;display:block;line-height:1;max-width:100%!important;opacity:.15;outline:0!important;overflow:hidden!important;pointer-events:none;position:relative!important;width:100%;width:auto;z-index:1}.is-loading .wc-block-components-product-image>*{visibility:hidden}.is-loading .wc-block-components-product-image:after{animation:loading__animation 1.5s ease-in-out infinite;background-image:linear-gradient(90deg,currentColor,hsla(0,0%,96%,.302),currentColor);background-repeat:no-repeat;content:" ";display:block;height:100%;left:0;position:absolute;right:0;top:0;transform:translateX(-100%)}@keyframes loading__animation{to{transform:translateX(100%)}}@media screen and (prefers-reduced-motion:reduce){.is-loading .wc-block-components-product-image{animation:none}}.wc-block-components-product-image__inner-container{bottom:0;display:flex;flex-direction:column;left:0;padding:12px;position:absolute;right:0;top:0}.wc-block-product-image__tools-panel .components-input-control{margin-bottom:8px}.wc-block-components-product-image img{max-width:100%}

/* 9Hits Points — static cart UI.
 * Colours and type come from the ORIGINAL site palette so the drawer and
 * checkout look like part of the store, not a bolt-on:
 *   base        #F4F0E6   cream page
 *   contrast-2  #FF3C00   orange-red accent (buttons, badges)
 *   contrast    #000      text
 *   base-2      #f6decd   soft peach (hover / secondary surfaces)
 *   heading font  "Jost"
 *   body font     "Instrument Sans"
 */

/* Never let a wide child turn the whole page into a horizontal scroller.
 * `clip` (unlike `hidden`) does not create a scroll container, so fixed
 * elements and sticky headers keep working normally. */
html,
body {
  max-width: 100%;
  overflow-x: clip;
}

/* Product art is wrapped in <picture> so AVIF can be served with a WebP
 * fallback; keep the wrapper from adding an inline baseline gap. */
.wc-block-components-product-image picture {
  display: block;
}

/* ------------------------------------------------------------- mini-cart */

[data-p9-mini-cart] {
  visibility: visible;
}

.wc-block-mini-cart__button {
  cursor: pointer;
}

.wc-block-mini-cart__badge {
  background-color: #ff3c00;
  color: #f4f0e6;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-weight: 600;
}

/* --------------------------------------------------------------- overlay */

#p9-drawer-overlay {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  justify-content: flex-end;
  background: rgba(0, 0, 0, 0.4);
  opacity: 1;
  transition: opacity 0.22s ease;
}

#p9-drawer-overlay.wc-block-components-drawer__screen-overlay--is-hidden {
  pointer-events: none;
  opacity: 0;
}

#p9-drawer-overlay.wc-block-components-drawer__screen-overlay--is-hidden .p9-drawer {
  transform: translateX(100%);
}

body.p9-drawer-open {
  overflow: hidden;
}

.p9-drawer {
  display: flex;
  flex-direction: column;
  width: min(440px, 100%);
  height: 100%;
  background: #f4f0e6;
  color: #000;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  box-shadow: -8px 0 32px rgba(0, 0, 0, 0.2);
  transform: translateX(0);
  transition: transform 0.24s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.p9-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

.p9-drawer__title {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 500;
  color: #000;
}

.p9-drawer-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 100px;
  background: transparent;
  color: #000;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.p9-drawer-close:hover {
  background: #f6decd;
}

.p9-drawer__body {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 8px 24px;
}

.p9-drawer__foot {
  flex: 0 0 auto;
  padding: 18px 24px 24px;
  border-top: 1px solid rgba(0, 0, 0, 0.12);
}

/* ----------------------------------------------------------- empty state */

.p9-drawer__empty {
  padding: 56px 8px;
  text-align: center;
  color: #000;
}

.p9-drawer__empty strong {
  display: block;
  margin-bottom: 8px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 500;
}

.p9-drawer__empty-shop {
  display: inline-block;
  margin-top: 20px;
  padding: 0.9rem 2rem;
  border-radius: 100px;
  background: #ff3c00;
  color: #f4f0e6;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
}

.p9-drawer__empty-shop:hover {
  background: #000;
  color: #f4f0e6;
}

/* ------------------------------------------------------------ item rows */

.p9-drawer-items {
  margin: 0;
  padding: 0;
  list-style: none;
}

.p9-drawer-item {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.p9-drawer-item:last-child {
  border-bottom: 0;
}

.p9-drawer-item__img {
  width: 64px;
  height: 64px;
  border-radius: 6px;
  object-fit: cover;
  background: #f6decd;
}

.p9-drawer-item__body {
  min-width: 0;
}

.p9-drawer-item__name {
  display: block;
  margin-bottom: 10px;
  color: #000;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.p9-drawer-item__qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(0, 0, 0, 0.25);
  border-radius: 100px;
  overflow: hidden;
}

.p9-qty-btn {
  width: 30px;
  height: 30px;
  border: 0;
  background: transparent;
  color: #000;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
}

.p9-qty-btn:hover {
  background: #f6decd;
}

.p9-qty-input {
  width: 44px;
  height: 30px;
  border: 0;
  background: transparent;
  color: #000;
  text-align: center;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 0.85rem;
  -moz-appearance: textfield;
  appearance: textfield;
}

.p9-qty-input::-webkit-outer-spin-button,
.p9-qty-input::-webkit-inner-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

.p9-drawer-item__side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.p9-drawer-item__price {
  color: #000;
  font-size: 0.95rem;
  font-weight: 700;
  white-space: nowrap;
}

.p9-drawer-item__remove {
  border: 0;
  background: none;
  color: rgba(0, 0, 0, 0.45);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

.p9-drawer-item__remove:hover {
  color: #ff3c00;
}

/* --------------------------------------------------------------- totals */

.p9-drawer__summary {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 4px;
}

.p9-drawer__summary-label {
  color: #000;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
}

.p9-drawer__summary-value {
  color: #000;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
}

.p9-drawer__meta {
  margin: 0 0 16px;
  color: rgba(0, 0, 0, 0.6);
  font-size: 0.8rem;
}

.p9-drawer__actions {
  display: grid;
  gap: 10px;
}

/* ---------------------------------------------------------------- buttons */

.p9-btn {
  box-sizing: border-box;
  display: block;
  width: 100%;
  max-width: 100%;
  padding: 0.9rem 2rem;
  border: 0;
  border-radius: 100px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.p9-btn--primary {
  background: #ff3c00;
  color: #f4f0e6;
}

.p9-btn--primary:hover {
  background: #000;
  color: #f4f0e6;
}

.p9-btn--ghost {
  background: transparent;
  color: #000;
  box-shadow: inset 0 0 0 1px #000;
}

.p9-btn--ghost:hover {
  background: #f6decd;
  color: #000;
}

/* ---------------------------------------------------------------- toast */

.p9-toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 100001;
  max-width: min(420px, calc(100% - 32px));
  padding: 12px 22px;
  border-radius: 100px;
  background: #000;
  color: #f4f0e6;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  text-align: center;
  opacity: 0;
  transform: translate(-50%, 12px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
}

.p9-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* The drawer footer already has two large CTAs; keep the toast out of them. */
body.p9-drawer-open .p9-toast {
  bottom: 250px;
}

/* ------------------------------------------------------- checkout extras */

.p9-checkout-item {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.p9-checkout-item__img {
  width: 56px;
  height: 56px;
  border-radius: 6px;
  object-fit: cover;
  background: #f6decd;
}

.p9-checkout-item__name {
  color: #000;
  font-size: 0.92rem;
  font-weight: 600;
}

.p9-checkout-item__qty {
  color: rgba(0, 0, 0, 0.6);
  font-size: 0.8rem;
}

.p9-checkout-item__price {
  color: #000;
  font-size: 0.92rem;
  font-weight: 700;
  white-space: nowrap;
}

.p9-field {
  margin-bottom: 18px;
}

.p9-field label {
  display: block;
  margin-bottom: 6px;
  color: #000;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
}

.p9-field input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid rgba(0, 0, 0, 0.25);
  border-radius: 8px;
  background: #fff;
  color: #000;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 0.92rem;
  box-sizing: border-box;
}

.p9-field input:focus {
  outline: 2px solid #ff3c00;
  outline-offset: 1px;
  border-color: #ff3c00;
}

.p9-field__hint {
  margin: 6px 0 0;
  color: rgba(0, 0, 0, 0.6);
  font-size: 0.78rem;
}

.p9-notice {
  margin-bottom: 18px;
  padding: 14px 18px;
  border-radius: 8px;
  font-size: 0.85rem;
}

.p9-notice--info {
  background: #f6decd;
  color: #000;
}

.p9-notice--error {
  background: #ffe3d9;
  color: #8a1f00;
  box-shadow: inset 0 0 0 1px #ff3c00;
}

.p9-notice--success {
  background: #e8f5e0;
  color: #1c4a12;
}

/* ----------------------------------------------------- product quick view */

body.p9-qv-open {
  overflow: hidden;
}

.p9-qv {
  position: fixed;
  inset: 0;
  z-index: 100002;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.p9-qv[hidden] {
  display: none !important;
}

.p9-qv__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.p9-qv__dialog {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  width: min(760px, 100%);
  max-height: min(90vh, 720px);
  overflow: auto;
  border-radius: 16px;
  background: #f4f0e6;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
}

.p9-qv__media {
  min-width: 0;
  background: #f6decd;
}

.p9-qv__media picture {
  display: block;
  height: 100%;
}

.p9-qv__media img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 460px;
  object-fit: contain;
}

.p9-qv__body {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 32px;
}

.p9-qv__title {
  margin: 0 0 8px;
  color: #000;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1.2;
}

.p9-qv__price {
  margin: 0;
  color: #000;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
}

.p9-qv__rate {
  margin: 4px 0 20px;
  color: rgba(0, 0, 0, 0.6);
  font-size: 0.82rem;
}

.p9-qv__qty {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  border: 1px solid rgba(0, 0, 0, 0.25);
  border-radius: 100px;
  overflow: hidden;
}

.p9-qv__qty button {
  width: 36px;
  height: 38px;
  border: 0;
  background: transparent;
  color: #000;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

.p9-qv__qty button:hover {
  background: #f6decd;
}

.p9-qv__qty input {
  width: 56px;
  height: 38px;
  border: 0;
  background: transparent;
  color: #000;
  text-align: center;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 0.9rem;
  -moz-appearance: textfield;
  appearance: textfield;
}

.p9-qv__qty input::-webkit-outer-spin-button,
.p9-qv__qty input::-webkit-inner-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

.p9-qv__total {
  margin: 16px 0 24px;
  color: #000;
  font-size: 0.9rem;
}

.p9-qv__total strong {
  font-size: 1.1rem;
}

.p9-qv__actions {
  display: grid;
  gap: 10px;
  margin-top: auto;
}

.p9-qv__close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 100px;
  background: #f4f0e6;
  color: #000;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.p9-qv__close:hover {
  background: #f6decd;
}

.p9-qv__desc {
  margin: 14px 0 0;
  color: rgba(0, 0, 0, 0.7);
  font-size: 0.8rem;
  line-height: 1.5;
}

.p9-qv__desc strong {
  color: #000;
}

@media (max-width: 680px) {
  .p9-qv {
    padding: 12px;
  }

  .p9-qv__dialog {
    grid-template-columns: minmax(0, 1fr);
    max-height: calc(100vh - 24px);
  }

  .p9-qv__media img {
    width: 100%;
    height: 220px;
    max-height: 220px;
    object-fit: contain;
  }

  .p9-qv__body {
    padding: 20px;
  }

  .p9-qv__title {
    font-size: 1.3rem;
  }
}

@media (max-width: 480px) {
  .p9-drawer {
    width: 100%;
  }
}
