/* UX023. Every rule is limited to the four product views; archive/Home cards are unchanged. */
body.caeli-site.caeli-ux023-pdp .caeli-product-identity{margin-bottom:1rem;padding-bottom:0}
body.caeli-site.caeli-ux023-pdp .caeli-product-identity .price{margin-bottom:0}
body.caeli-site.caeli-ux023-pdp .woocommerce div.product .woocommerce-product-gallery{min-width:0;margin:0;align-self:start;position:relative;height:auto!important;aspect-ratio:auto;padding:0}
body.caeli-site.caeli-ux023-pdp .woocommerce div.product .woocommerce-product-gallery .flex-viewport{position:relative;aspect-ratio:4/5;height:auto!important;overflow:hidden;background:#f7f4f1}
body.caeli-site.caeli-ux023-pdp .woocommerce div.product .woocommerce-product-gallery__wrapper>.woocommerce-product-gallery__image{aspect-ratio:4/5;height:auto!important}
body.caeli-site.caeli-ux023-pdp .woocommerce div.product .woocommerce-product-gallery__image>a{display:block;aspect-ratio:4/5}
body.caeli-site.caeli-ux023-pdp .woocommerce div.product .woocommerce-product-gallery__image img{display:block;width:100%;height:100%;max-height:none;aspect-ratio:auto;object-fit:contain;padding:0;background:#f7f4f1}
body.caeli-site.caeli-ux023-pdp .woocommerce div.product .woocommerce-product-gallery .flex-control-thumbs{position:static!important;inset:auto!important;display:flex!important;flex-wrap:nowrap!important;height:auto!important;gap:10px;overflow-x:auto;overflow-y:hidden;max-width:100%;margin:12px 0 0!important;padding:4px 2px 8px;list-style:none;scrollbar-width:none!important;-ms-overflow-style:none!important;scroll-behavior:smooth;overscroll-behavior-inline:contain}
body.caeli-site.caeli-ux023-pdp .woocommerce div.product .woocommerce-product-gallery .flex-control-thumbs::-webkit-scrollbar{display:none!important;width:0!important;height:0!important}
body.caeli-site.caeli-ux023-pdp .caeli-ux026-thumb-nav{position:relative;width:100%;max-width:100%}
body.caeli-site.caeli-ux023-pdp .caeli-ux026-thumb-arrow{position:absolute;top:50%;transform:translateY(-50%);z-index:2;display:flex;align-items:center;justify-content:center;width:32px;height:32px;min-height:32px;padding:0;border:1px solid rgba(114,64,75,.2);border-radius:50%;background:rgb(255 251 248 / 92%);color:#33282b;box-shadow:0 2px 8px rgba(51,40,43,.12);cursor:pointer;transition:opacity .2s ease,visibility .2s ease,background-color .2s ease,border-color .2s ease}
body.caeli-site.caeli-ux023-pdp .caeli-ux026-thumb-arrow--previous{left:4px}
body.caeli-site.caeli-ux023-pdp .caeli-ux026-thumb-arrow--next{right:4px}
body.caeli-site.caeli-ux023-pdp .caeli-ux026-thumb-arrow:hover:not(:disabled){background:#fff6f4;color:#6e3040;border-color:#6e3040}
body.caeli-site.caeli-ux023-pdp .caeli-ux026-thumb-arrow:focus-visible{outline:2px solid #6e3040;outline-offset:2px}
body.caeli-site.caeli-ux023-pdp .caeli-ux026-thumb-arrow:disabled,body.caeli-site.caeli-ux023-pdp .caeli-ux026-thumb-arrow.is-disabled{opacity:0;visibility:hidden;pointer-events:none;cursor:default}
body.caeli-site.caeli-ux023-pdp .caeli-ux026-thumb-arrow[hidden]{display:none!important}
body.caeli-site.caeli-ux023-pdp .caeli-ux026-thumb-arrow svg{width:14px;height:14px;pointer-events:none}
@media(max-width:768px),(hover:none) and (pointer:coarse){body.caeli-site.caeli-ux023-pdp .caeli-ux026-thumb-arrow{display:none!important}}
body.caeli-site.caeli-ux023-pdp .woocommerce div.product .woocommerce-product-gallery .flex-control-thumbs li{flex:0 0 64px;width:64px!important;min-width:64px;max-width:64px;margin:0;float:none;position:static}
body.caeli-site.caeli-ux023-pdp .woocommerce div.product .woocommerce-product-gallery .flex-control-thumbs li[hidden]{display:none!important}
body.caeli-site.caeli-ux023-pdp .woocommerce div.product .woocommerce-product-gallery .flex-control-thumbs img{display:block;width:64px;height:80px;object-fit:contain;padding:0;background:#f7f4f1;border:1px solid transparent;outline-offset:1px;opacity:.7}
body.caeli-site.caeli-ux023-pdp .woocommerce div.product .woocommerce-product-gallery .flex-control-thumbs .flex-active{border-color:#72404b;outline:1px solid #72404b;opacity:1}
body.caeli-ux023-pdp .caeli-ux023-arrow,body.caeli-ux023-pdp .caeli-ux023-expand{position:absolute;z-index:3;display:grid;place-items:center;width:44px;height:44px;min-height:44px;padding:0;border:0;border-radius:50%;background:rgb(255 251 248 / 85%);color:#33282b;box-shadow:none;cursor:pointer}
body.caeli-ux023-pdp .caeli-ux023-arrow{top:50%;transform:translateY(-50%)}
body.caeli-ux023-pdp .caeli-ux023-arrow--previous{left:10px}
body.caeli-ux023-pdp .caeli-ux023-arrow--next{right:10px}
body.caeli-ux023-pdp .caeli-ux023-expand{right:10px;bottom:10px}
body.caeli-ux023-pdp .caeli-ux023-arrow:hover,body.caeli-ux023-pdp .caeli-ux023-expand:hover{background:#fff6f4;color:#6e3040}
body.caeli-ux023-pdp .caeli-ux023-arrow[hidden]{display:none!important}
body.caeli-ux023-pdp .caeli-ux023-arrow svg,body.caeli-ux023-pdp .caeli-ux023-expand svg{width:18px;height:18px;pointer-events:none}
body.caeli-ux023-pdp button:focus-visible,body.caeli-ux023-pdp .flex-control-thumbs img:focus-visible{outline:2px solid #6e3040;outline-offset:3px}
body.caeli-ux023-pdp .caeli-ux023-size-heading{display:flex!important;align-items:center;justify-content:space-between;gap:1rem}
body.caeli-ux023-pdp .caeli-ux023-size-heading label{margin:0}
body.caeli-ux023-pdp .caeli-ux023-size-heading .caeli-size-guide-trigger-btn{font:inherit;font-size:.78rem;font-weight:400;letter-spacing:0;text-transform:none;text-decoration:underline;text-underline-offset:4px;background:transparent;color:inherit;border:0;min-height:44px;margin:0;padding:.5rem 0;white-space:nowrap}
body.caeli-ux023-pdp.caeli-ux023-guidemoved .caeli-size-selector-guide-wrap{display:none}
body.caeli-ux023-pdp .variations [name="attribute_pa_colour"]+.caeli-native-choices button::before{display:inline-block!important;content:'';width:13px;height:13px;min-width:13px;vertical-align:middle;margin-right:8px;border:1px solid #8e7e77;border-radius:50%;box-sizing:border-box}
body.caeli-ux023-pdp .variations [data-value="white-pink"]::before{background:linear-gradient(135deg,#fff 50%,#e9bcc8 50%)}
body.caeli-ux023-pdp .variations [data-value="white-blue"]::before{background:linear-gradient(135deg,#fff 50%,#c0d6e5 50%)}
body.caeli-ux023-pdp .variations [data-value="burgundy"]::before{background:#772d3c}
body.caeli-ux023-pdp .variations [data-value="cream"]::before{background:#eee4ce}
body.caeli-ux023-pdp .variations [data-value="blue"]::before{background:#b6ccd8}
body.caeli-ux023-pdp .variations [data-value="pink"]::before{background:#e9bcc8}
body.caeli-ux023-pdp .variations [data-value="grey"]::before{background:#b6b5b4}
body.caeli-ux023-pdp .variations [data-value="black"]::before{background:#252525}
body.caeli-ux023-pdp .variations [data-value="white-grey"]::before{background:linear-gradient(135deg,#fff 50%,#a5a5a3 50%)}
body.caeli-ux023-pdp .variations [data-value="white-beige"]::before{background:linear-gradient(135deg,#fff 50%,#d3bea6 50%)}
body.caeli-ux023-pdp .caeli-ux023-lightbox{position:fixed;inset:0;width:100%;height:100%;height:100dvh;max-width:none;max-height:none;padding:0;margin:0;border:0;background:transparent;color:#30272a;overflow:hidden}
body.caeli-ux023-pdp .caeli-ux023-lightbox::backdrop{background:rgb(245 237 233 / 96%)}
@supports ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){body.caeli-ux023-pdp .caeli-ux023-lightbox::backdrop{background:rgb(244 235 231 / 46%);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}}
body.caeli-ux023-pdp .caeli-ux023-lightbox__stage{display:flex;align-items:center;justify-content:center;position:absolute;inset:64px 68px 86px;touch-action:pan-y;overflow:hidden}
body.caeli-ux023-pdp .caeli-ux023-lightbox__image{display:block;max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;background:transparent;box-shadow:0 8px 44px rgb(55 32 39 / 8%);user-select:none;-webkit-user-drag:none}
body.caeli-ux023-pdp .caeli-ux023-lightbox__close{position:absolute;right:18px;top:14px;display:grid;place-items:center;width:44px;height:44px;padding:0;border:0;border-radius:50%;background:rgb(255 251 248 / 88%);color:inherit;cursor:pointer}
body.caeli-ux023-pdp .caeli-ux023-lightbox__close svg{width:18px;height:18px}
body.caeli-ux023-pdp .caeli-ux023-lightbox__footer{position:absolute;bottom:20px;left:18px;right:18px;text-align:center;line-height:1.5;font-size:.8rem;margin:0}
body.caeli-ux023-pdp .caeli-ux023-lightbox__counter{display:block;margin-top:4px}
body.caeli-ux023-pdp .caeli-ux023-gallery-status{position:absolute;clip-path:inset(50%);width:1px;height:1px;overflow:hidden;white-space:nowrap}
@media(max-width:767px){body.caeli-ux023-pdp .caeli-ux023-lightbox__stage{inset:68px 12px 104px}body.caeli-ux023-pdp .caeli-ux023-lightbox>.caeli-ux023-arrow{background:rgb(255 251 248 / 93%);width:40px;height:44px}body.caeli-ux023-pdp .caeli-ux023-lightbox>.caeli-ux023-arrow--previous{left:8px}body.caeli-ux023-pdp .caeli-ux023-lightbox>.caeli-ux023-arrow--next{right:8px}}
@media(prefers-reduced-motion:reduce){body.caeli-ux023-pdp .woocommerce-product-gallery *{transition:none!important;scroll-behavior:auto!important}}

/* Keep the identity track content-sized after removing the redundant header rows. */
@media(min-width:769px){body.caeli-site.caeli-ux023-pdp .woocommerce div.product:has(>.caeli-product-identity){grid-template-rows:max-content max-content;align-content:start;row-gap:1.25rem}body.caeli-site.caeli-ux023-pdp .caeli-product-identity{margin-bottom:0}}

/* Remove only an empty disabled-payment placeholder, never payment disclosures. */
body.caeli-ux023-pdp .summary > #payment-method-message:empty { display: none; }

/* UX033: product header, provider disclosures and the approved short summary. */
body.caeli-site.caeli-ux023-pdp.caeli-money-seo .caeli-product-identity > .product_title {
  margin-block: 0 16px;
}

body.caeli-site.caeli-ux023-pdp .entry-summary > #payment-method-message:not(:empty) {
  display: flow-root;
  height: auto;
  min-height: 4em;
  margin-block: 0 24px;
  overflow-wrap: anywhere;
  line-height: 1.5;
}

body.caeli-site.caeli-ux023-pdp .entry-summary > #payment-method-message:has(> .__PrivateStripeElement) {
  /* The provider reserves its own height and applies a negative 4px block margin. */
  padding-block: 4px;
}

body.caeli-site.caeli-ux023-pdp .entry-summary > #payment-method-message > .__PrivateStripeElement > iframe {
  /* Align the embedded message and keep the provider-set responsive height. */
  margin: 0 !important;
  max-width: 100%;
}

body.caeli-site.caeli-ux023-pdp.caeli-money-seo .entry-summary > .caeli-money-intro {
  margin-block: 0;
}

body.caeli-site.caeli-ux023-pdp .entry-summary .variations_form > table.variations {
  margin-block-start: 24px;
}

@media (min-width: 769px) {
  body.caeli-site.caeli-ux023-pdp.caeli-money-seo .woocommerce div.product:has(> .caeli-product-identity) {
    row-gap: 20px;
  }
}

@media (max-width: 768px) {
  /* The gallery stays between the heading block and the purchase summary. */
  body.caeli-site.caeli-ux023-pdp.caeli-money-seo .woocommerce div.product > .summary:has(> #payment-method-message:not(:empty)) {
    padding-block-start: 4px;
  }
}
