/* Platouri MDF v8.3 — four original products; gallery is no longer distorted by legacy grid heights.
   Deliberately scoped: no catalog/homepage, checkout, or WooCommerce variation logic is changed. */
:root{--pd83-ink:#241710;--pd83-caramel:#ac632e;--pd83-caramel-dark:#7e401f;--pd83-line:#e8d8c9;--pd83-cream:#fff8f1;--pd83-soft:#f8f2ed}

body.pd26-theme .pd26-woo-landing.pd83-product-experience{
  display:grid!important;
  grid-template-columns:minmax(0,1.04fr) minmax(0,1fr)!important;
  gap:clamp(25px,3.2vw,52px)!important;
  align-items:start!important;
  width:min(100%,1440px)!important;
  max-width:1440px!important;
  height:auto!important;
  min-height:0!important;
  overflow:visible!important;
  padding:clamp(20px,2.5vw,35px) clamp(18px,3.8vw,56px)!important;
  color:var(--pd83-ink);
  background:#fffdfb;
}
body.pd26-theme .pd83-product-experience>*{min-width:0!important}
body.pd26-theme .pd26-woo-landing.pd83-product-experience .pd83-product-gallery{
  display:grid!important;
  grid-template-columns:clamp(70px,6vw,93px) minmax(0,1fr)!important;
  grid-template-rows:auto!important;
  align-items:stretch!important;
  align-content:start!important;
  gap:clamp(11px,1.15vw,16px)!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  width:100%!important;
  overflow:visible!important;
}
body.pd26-theme .pd83-product-experience .pd83-product-gallery> [class*="-gallery-thumbs"]{
  display:grid!important;
  grid-column:1!important;
  grid-row:1!important;
  grid-template-columns:minmax(0,1fr)!important;
  grid-template-rows:repeat(5,minmax(0,1fr))!important;
  gap:clamp(7px,.8vw,11px)!important;
  width:100%!important;
  height:100%!important;
  min-height:0!important;
  max-height:none!important;
  align-self:stretch!important;
  overflow:visible;
}
body.pd26-theme .pd83-product-experience .pd83-product-gallery button[data-pd26-photo]{
  box-sizing:border-box;
  display:block!important;
  width:100%!important;
  height:100%!important;
  min-height:0!important;
  max-height:none!important;
  padding:3px!important;
  overflow:hidden;
  background:#fff;
  border:1.5px solid var(--pd83-line)!important;
  border-radius:14px!important;
  box-shadow:0 3px 12px rgba(74,42,23,.055)!important;
  transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease;
  cursor:pointer;
}
body.pd26-theme .pd83-product-experience .pd83-product-gallery button[data-pd26-photo] img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  min-height:0!important;
  max-height:none!important;
  object-fit:cover!important;
  object-position:center!important;
  border-radius:10px!important;
}
body.pd26-theme .pd83-product-experience .pd83-product-gallery button[data-pd26-photo]:is(.is-active,[aria-pressed="true"]){
  border-color:var(--pd83-caramel)!important;
  box-shadow:0 0 0 2px rgba(172,99,46,.13),0 5px 16px rgba(105,54,22,.11)!important;
}
body.pd26-theme .pd83-product-experience .pd83-product-gallery button[data-pd26-photo]:hover{border-color:#bd875f!important}
body.pd26-theme .pd83-product-experience .pd83-product-gallery button[data-pd26-photo]:focus-visible{
  outline:3px solid var(--pd83-caramel);outline-offset:3px;
}
body.pd26-theme .pd26-woo-landing.pd83-product-experience .pd83-gallery-stage{
  box-sizing:border-box;
  display:block!important;
  grid-column:2!important;
  grid-row:1!important;
  position:relative!important;
  width:100%!important;
  height:auto!important;
  min-width:0!important;
  min-height:0!important;
  max-height:none!important;
  aspect-ratio:1.075!important;
  border:1px solid #ead9c9;
  border-radius:21px!important;
  overflow:hidden!important;
  background:#f5eee8;
  box-shadow:0 12px 35px rgba(79,48,30,.10)!important;
}
body.pd26-theme .pd26-woo-landing.pd83-product-experience .pd83-gallery-stage>img[data-pd26-stage]{
  display:block!important;
  width:100%!important;
  height:100%!important;
  min-height:0!important;
  max-height:none!important;
  position:absolute;
  inset:0;
  padding:0!important;
  object-fit:contain!important;
  object-position:center!important;
  background:#f5eee8;
}
.pd83-gallery-counter{
  position:absolute;bottom:16px;left:17px;z-index:2;
  padding:6px 11px;border-radius:100px;
  background:rgba(255,253,250,.87);backdrop-filter:blur(7px);
  color:#694329;font:600 12px/1.15 Arial,sans-serif;
  box-shadow:0 2px 8px rgba(72,37,17,.06);
}
body.pd26-theme .pd83-product-gallery .pd83-gallery-zoom,
body.pd26-theme .pd83-product-gallery .pd83-gallery-arrow{
  position:absolute;z-index:3;display:grid;place-items:center;
  padding:0!important;width:39px;height:39px;
  border:1px solid #e9ded4;border-radius:50%;
  background:rgba(255,255,255,.94);color:#56351e;
  box-shadow:0 4px 12px rgba(65,32,14,.12);
  cursor:pointer;transition:background .18s,transform .18s,box-shadow .18s;
}
body.pd26-theme .pd83-product-gallery .pd83-gallery-zoom{top:16px;right:16px}
body.pd26-theme .pd83-product-gallery .pd83-gallery-arrow{
  top:50%;transform:translateY(-50%);
  font:400 33px/1 Georgia,serif;
}
body.pd26-theme .pd83-product-gallery .pd83-gallery-prev{left:12px}
body.pd26-theme .pd83-product-gallery .pd83-gallery-next{right:12px}
body.pd26-theme .pd83-product-gallery :is(.pd83-gallery-zoom,.pd83-gallery-arrow):hover{
  background:#fff5ea;box-shadow:0 6px 15px rgba(65,32,14,.15);
}
body.pd26-theme .pd83-product-gallery :is(.pd83-gallery-zoom,.pd83-gallery-arrow):focus-visible{
  outline:3px solid var(--pd83-caramel);outline-offset:3px;
}
.pd83-gallery-dialog{
  position:fixed;inset:0;margin:auto;
  padding:clamp(12px,2vw,26px);
  width:min(1080px,94vw);max-width:94vw;max-height:92dvh;
  border:1px solid #ead5c3;border-radius:20px;
  background:#f9f5f1;color:var(--pd83-ink);
  box-shadow:0 25px 90px rgba(30,19,11,.28);
}
.pd83-gallery-dialog::backdrop{background:rgba(31,20,12,.76);backdrop-filter:blur(5px)}
.pd83-gallery-dialog[open]{display:grid;place-items:center}
.pd83-gallery-dialog img{display:block;width:auto;height:auto;max-width:100%;max-height:calc(92dvh - 56px);object-fit:contain;border-radius:12px}
.pd83-gallery-dialog .pd83-gallery-dialog-close{
  position:absolute;right:14px;top:14px;z-index:1;
  display:grid;place-items:center;width:38px;height:38px;padding:0;
  background:#fff;border:1px solid #e2cdb9;border-radius:50%;color:#683d23;
  font:30px/1 Georgia,serif;cursor:pointer;
}

/* Product title / options are consistent on round, square, flower, and rectangle. */
body.pd26-theme .pd83-product-experience .pd26-woo-landing-config{
  min-width:0!important;width:100%!important;padding:0!important;
  border:0!important;box-shadow:none!important;background:transparent!important;
}
body.pd26-theme .pd83-product-experience .pd26-woo-landing-title{
  margin:0 0 12px!important;
  font:700 clamp(28px,2.6vw,41px)/1.16 'Lora',Georgia,serif!important;
  letter-spacing:-.035em;color:var(--pd83-ink)!important;
  text-align:left;
}
body.pd26-theme .pd83-product-experience .pd83-product-config,
.pd26-woo-single .pd83-product-config{
  margin:0!important;padding:0!important;background:transparent!important;
  border:0!important;box-shadow:none!important;
  font-family:'Lora',Georgia,serif;color:var(--pd83-ink);
}
body.pd26-theme .pd83-product-experience .pd83-product-config .pd73-ornament,
.pd26-woo-single .pd83-product-config .pd73-ornament{margin:4px 0 8px;color:var(--pd83-caramel)}
body.pd26-theme .pd83-product-experience .pd83-product-config>h2,
.pd26-woo-single .pd83-product-config>h2{
  margin:0 0 15px!important;text-align:left!important;
  font:700 clamp(19px,1.7vw,23px)/1.25 'Lora',Georgia,serif!important;
  letter-spacing:-.018em;color:#35231a;
}
body.pd26-theme .pd83-product-experience .pd83-product-config .pd73-thickness-grid,
.pd26-woo-single .pd83-product-config .pd73-thickness-grid{
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:clamp(9px,1vw,16px)!important;margin:0 0 22px!important;
}
body.pd26-theme .pd83-product-experience .pd83-product-config .pd73-thickness-card,
.pd26-woo-single .pd83-product-config .pd73-thickness-card{
  display:flex!important;flex-direction:column!important;align-items:stretch!important;
  position:relative!important;min-width:0!important;overflow:hidden!important;
  padding:0 0 12px!important;background:#fff!important;color:#322017!important;
  border:1.5px solid #ebdacf!important;border-radius:17px!important;
  box-shadow:0 3px 11px rgba(85,46,21,.07)!important;
  cursor:pointer;transition:transform .16s,border-color .16s,box-shadow .16s;
}
body.pd26-theme .pd83-product-experience .pd83-product-config .pd73-thickness-photo,
.pd26-woo-single .pd83-product-config .pd73-thickness-photo{
  display:block!important;width:100%!important;aspect-ratio:1.6!important;
  max-height:none!important;overflow:hidden;margin:0 0 11px!important;
  background:#f6f0eb;
}
body.pd26-theme .pd83-product-experience .pd83-product-config .pd73-thickness-photo img,
.pd26-woo-single .pd83-product-config .pd73-thickness-photo img{
  display:block!important;width:100%!important;height:100%!important;
  object-fit:cover!important;object-position:center!important;
  transition:transform .2s ease;
}
body.pd26-theme .pd83-product-experience .pd83-product-config .pd73-thickness-card strong,
.pd26-woo-single .pd83-product-config .pd73-thickness-card strong{
  text-align:center;font:700 16px/1.25 'Lora',Georgia,serif!important;
  color:#291a13;padding:0 4px;
}
body.pd26-theme .pd83-product-experience .pd83-product-config .pd73-thickness-card:is([aria-pressed="true"],.is-active),
.pd26-woo-single .pd83-product-config .pd73-thickness-card:is([aria-pressed="true"],.is-active){
  background:#fff6ed!important;border-color:var(--pd83-caramel)!important;
  box-shadow:inset 0 0 0 1px var(--pd83-caramel),0 7px 20px rgba(103,53,23,.15)!important;
}
body.pd26-theme .pd83-product-experience .pd83-product-config .pd73-card-check,
.pd26-woo-single .pd83-product-config .pd73-card-check{
  top:9px!important;right:9px!important;width:28px!important;height:28px!important;
  border:2px solid #fff;border-radius:50%;background:var(--pd83-caramel)!important;
  box-shadow:0 4px 10px rgba(79,37,18,.22);font:700 15px/1 Arial,sans-serif;
}
body.pd26-theme .pd83-product-experience .pd83-product-config .pd73-thickness-card:hover,
.pd26-woo-single .pd83-product-config .pd73-thickness-card:hover{
  transform:translateY(-2px);box-shadow:0 7px 19px rgba(91,47,22,.15)!important;
}
body.pd26-theme .pd83-product-experience .pd83-product-config .pd73-size-heading,
.pd26-woo-single .pd83-product-config .pd73-size-heading{margin:3px 0 11px!important;gap:10px}
body.pd26-theme .pd83-product-experience .pd83-product-config .pd73-size-heading h3,
.pd26-woo-single .pd83-product-config .pd73-size-heading h3{
  font:700 clamp(18px,1.75vw,23px)/1.25 'Lora',Georgia,serif!important;
}
body.pd26-theme .pd83-product-experience .pd83-product-config .pd73-size-heading a,
.pd26-woo-single .pd83-product-config .pd73-size-heading a{color:var(--pd83-caramel-dark)!important;text-underline-offset:3px}
body.pd26-theme .pd83-product-experience .pd83-product-config .pd73-size-grid,
.pd26-woo-single .pd83-product-config .pd73-size-grid{
  display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:9px!important;margin:0 0 11px!important;
}
body.pd26-theme .pd83-product-experience .pd83-product-config .pd73-size-card,
.pd26-woo-single .pd83-product-config .pd73-size-card{
  min-width:0!important;min-height:45px!important;padding:8px 5px!important;
  white-space:normal!important;border-radius:10px!important;
  background:#fff!important;border:1px solid #e7d8cb!important;
  color:#31231b!important;font:700 12px/1.28 'Lora',Georgia,serif!important;
  transition:border-color .16s,background .16s;
}
body.pd26-theme .pd83-product-experience .pd83-product-config .pd73-size-card:is([aria-pressed="true"],.is-active),
.pd26-woo-single .pd83-product-config .pd73-size-card:is([aria-pressed="true"],.is-active){
  background:#fff0e2!important;border-color:var(--pd83-caramel)!important;
  color:#7e3e1b!important;box-shadow:inset 0 0 0 1px var(--pd83-caramel)!important;
}
body.pd26-theme .pd83-product-experience .pd83-product-config .pd72-more-button,
.pd26-woo-single .pd83-product-config .pd72-more-button{
  display:flex;align-items:center;justify-content:center;gap:9px;
  min-height:46px;margin:11px 0 18px!important;
  border:1px solid #e6c7ad!important;border-radius:13px!important;
  background:#fff8f1!important;color:#87491e!important;
  font:700 12px/1.3 'Lora',Georgia,serif!important;
}
body.pd26-theme .pd83-product-experience .pd83-product-config .pd73-personalization,
.pd26-woo-single .pd83-product-config .pd73-personalization{
  margin:14px 0 20px!important;padding:15px!important;
  background:#fff9f3!important;border:1px solid #eed8c6!important;
  border-radius:15px!important;
}
body.pd26-theme .pd83-product-experience .pd83-product-config .pd72-personal-buttons button,
.pd26-woo-single .pd83-product-config .pd72-personal-buttons button{
  min-height:47px!important;border-radius:10px!important;
  transition:border-color .18s,background .18s;
}
body.pd26-theme .pd83-product-experience .pd83-product-config .pd73-price,
.pd26-woo-single .pd83-product-config .pd73-price{margin:20px 0 3px!important;gap:8px}
body.pd26-theme .pd83-product-experience .pd83-product-config .pd73-price>span,
.pd26-woo-single .pd83-product-config .pd73-price>span{
  font:400 17px/1.5 'Lora',Georgia,serif;color:#6b5b50;
}
body.pd26-theme .pd83-product-experience .pd83-product-config .pd73-price>strong,
.pd26-woo-single .pd83-product-config .pd73-price>strong{
  font:700 clamp(26px,2.6vw,39px)/1.12 'Lora',Georgia,serif!important;
  letter-spacing:-.02em;color:var(--pd83-ink)!important;
}
body.pd26-theme .pd83-product-experience .pd83-product-config .pd73-purchase,
.pd26-woo-single .pd83-product-config .pd73-purchase{gap:11px!important;margin:10px 0 15px!important}
body.pd26-theme .pd83-product-experience .pd83-product-config .pd73-quantity,
.pd26-woo-single .pd83-product-config .pd73-quantity{
  min-height:55px!important;background:#fff!important;border:1px solid #e7d9ce!important;
  border-radius:13px!important;
}
body.pd26-theme .pd83-product-experience .pd83-product-config .pd73-purchase .single_add_to_cart_button:not(:disabled),
.pd26-woo-single .pd83-product-config .pd73-purchase .single_add_to_cart_button:not(:disabled){
  min-height:55px!important;border:0!important;border-radius:12px!important;
  color:#fff!important;background:linear-gradient(115deg,#ad6331,#7f3c1b)!important;
  font:700 15px/1.2 'Lora',Georgia,serif!important;
  box-shadow:0 7px 17px rgba(119,56,26,.15);
}
body.pd26-theme .pd83-product-experience .pd83-product-config .pd73-purchase .single_add_to_cart_button:not(:disabled):hover,
.pd26-woo-single .pd83-product-config .pd73-purchase .single_add_to_cart_button:not(:disabled):hover{
  background:linear-gradient(115deg,#965025,#653013)!important;
  box-shadow:0 9px 21px rgba(119,56,26,.24);
}
body.pd26-theme .pd83-product-experience .pd83-product-config .pd73-trust,
.pd26-woo-single .pd83-product-config .pd73-trust{padding-top:17px;margin-top:21px!important;border-color:#eadfd5}
body.pd26-theme .pd83-product-experience .pd33-landing-note{display:none}

/* Native Woo single-product pages: share the same option-card treatment. */
.pd26-woo-single .woocommerce-product-gallery{overflow:hidden;border-radius:20px;background:#f6f0ea}
.pd26-woo-single .woocommerce-product-gallery img{border-radius:15px;object-fit:contain}
.pd26-woo-single .summary .product_title{font:700 clamp(29px,3vw,42px)/1.14 'Lora',Georgia,serif;color:var(--pd83-ink)}

@media(max-width:1199px){
  body.pd26-theme .pd26-woo-landing.pd83-product-experience{
    grid-template-columns:1fr!important;gap:26px!important;
    width:min(100%,880px)!important;
  }
  body.pd26-theme .pd83-product-experience .pd83-product-gallery button[data-pd26-photo]{max-height:none!important}
  body.pd26-theme .pd26-woo-landing.pd83-product-experience .pd83-gallery-stage{aspect-ratio:1.38!important}
}
@media(max-width:767px){
  body.pd26-theme .pd26-woo-landing.pd83-product-experience{
    grid-template-columns:minmax(0,1fr)!important;
    padding:12px 14px 24px!important;gap:20px!important;
  }
  body.pd26-theme .pd26-woo-landing.pd83-product-experience .pd83-product-gallery{
    grid-template-columns:minmax(0,1fr)!important;
    grid-template-rows:auto auto!important;
    gap:10px!important;
  }
  body.pd26-theme .pd26-woo-landing.pd83-product-experience .pd83-gallery-stage{
    grid-column:1!important;grid-row:1!important;
    aspect-ratio:1.26!important;border-radius:16px!important;
  }
  body.pd26-theme .pd26-woo-landing.pd83-product-experience .pd83-product-gallery>[class*="-gallery-thumbs"]{
    display:flex!important;grid-column:1!important;grid-row:2!important;
    flex-wrap:nowrap!important;gap:9px!important;height:auto!important;
    overflow-x:auto!important;scrollbar-width:thin;padding:4px 3px 10px!important;
    scroll-snap-type:x proximity;
  }
  body.pd26-theme .pd83-product-experience .pd83-product-gallery button[data-pd26-photo]{
    flex:0 0 clamp(63px,17vw,88px)!important;
    width:clamp(63px,17vw,88px)!important;
    height:clamp(63px,17vw,88px)!important;
    aspect-ratio:1!important;scroll-snap-align:start;
  }
  body.pd26-theme .pd83-product-experience .pd26-woo-landing-title{font-size:clamp(27px,6.2vw,37px)!important}
  body.pd26-theme .pd83-product-experience .pd83-product-config .pd73-thickness-photo{aspect-ratio:1.65!important}
  body.pd26-theme .pd83-product-gallery .pd83-gallery-arrow{width:33px;height:33px;font-size:28px}
  body.pd26-theme .pd83-product-gallery .pd83-gallery-zoom{top:10px;right:10px;width:35px;height:35px}
  body.pd26-theme .pd83-product-experience .pd83-product-config .pd73-size-grid{gap:7px!important}
}
@media(max-width:395px){
  body.pd26-theme .pd83-product-experience .pd83-product-config .pd73-size-grid,
  .pd26-woo-single .pd83-product-config .pd73-size-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  body.pd26-theme .pd83-product-experience .pd83-product-config .pd73-thickness-card strong{font-size:14px!important}
  body.pd26-theme .pd83-product-experience .pd83-product-config .pd73-size-heading{align-items:flex-start;flex-wrap:wrap}
}
@media(hover:none){body.pd26-theme .pd83-product-gallery .pd83-gallery-arrow{background:rgba(255,255,255,.78)}}
@media(prefers-reduced-motion:reduce){
  .pd83-product-experience :is(button,img),.pd83-product-config :is(button,img){transition:none!important;transform:none!important}
}
