/* Aroma product page — sits under the site header */
html.aroma-product-page,body.aroma-product-page{
  overflow-x:clip;overscroll-behavior-x:none;max-width:100%;touch-action:pan-y
}
body.aroma-product-page #wikishop-app,
body.aroma-product-page .aroma-pdp-app,
body.aroma-product-page .aroma-pdp,
body.aroma-product-page .aroma-pdp-top,
body.aroma-product-page .aroma-pdp-gallery,
body.aroma-product-page .aroma-pdp-info{
  max-width:100%;min-width:0;overflow-x:clip
}
.aroma-pdp-app{
  max-width:1180px;margin:0 auto;padding:12px 14px 24px;
  font-family:inherit;color:var(--aroma-text,#0f172a)
}
.aroma-pdp{display:flex;flex-direction:column;gap:16px}
.aroma-pdp-backbar{display:none}
.aroma-pdp-top{
  display:grid;grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);gap:18px;align-items:start
}
.aroma-pdp-gallery,.aroma-pdp-info,.aroma-pdp-tabs-wrap{
  background:#fff;border:1px solid #eef2f7;border-radius:20px;
  box-shadow:0 4px 20px rgba(30,41,59,.06)
}
.aroma-pdp-gallery{padding:12px;align-self:start;height:auto;overflow:hidden;position:relative}
.aroma-pdp-info{padding:16px}
.aroma-pdp-main{
  width:100%;border:0;background:#f8fafc;border-radius:16px;padding:8px;cursor:zoom-in;
  display:block;aspect-ratio:1/1;max-height:460px
}
.aroma-pdp-main img{display:block;width:100%;height:100%;object-fit:contain;margin:0 auto}
.aroma-pdp-thumbs{
  display:flex;gap:8px;margin-top:10px;overflow-x:auto;padding-bottom:2px;
  max-width:100%;overscroll-behavior-x:contain;touch-action:pan-x;-webkit-overflow-scrolling:touch
}
.aroma-pdp-thumb{
  flex:0 0 68px;width:68px;height:68px;border-radius:12px;border:1px solid #e2e8f0;background:#fff;
  padding:4px;cursor:pointer
}
.aroma-pdp-thumb.on{border-color:var(--aroma-icon);box-shadow:0 0 0 2px color-mix(in srgb,var(--aroma-icon) 25%,transparent)}
.aroma-pdp-thumb img{width:100%;height:100%;object-fit:contain}
.aroma-pdp-cats{font-size:12px;color:#475569;margin-bottom:6px}
.aroma-pdp-cats a{color:#5b21b6;text-decoration:none}
.aroma-pdp-title{font-size:22px;font-weight:800;margin:0 0 8px;line-height:1.45}
.aroma-pdp-rate{display:flex;align-items:center;gap:8px;margin-bottom:10px}
.aroma-pdp-stars{color:#f59e0b;letter-spacing:1px;font-size:16px}
.aroma-pdp-rate a{font-size:12px;color:#5b21b6;font-weight:700;text-decoration:none}
.aroma-pdp-tools{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:14px}
.aroma-pdp-tool{
  display:inline-flex;align-items:center;gap:6px;min-height:40px;padding:0 12px;
  border-radius:12px;border:1px solid #e2e8f0;background:#fff;color:#334155;
  font:inherit;font-size:12px;font-weight:700;cursor:pointer;text-decoration:none
}
.aroma-pdp-tool:hover{color:var(--aroma-icon);border-color:var(--aroma-icon)}
.aroma-pdp-specs{border-radius:14px;overflow:hidden;border:1px solid #eef2f7;margin-bottom:14px}
.aroma-pdp-spec{display:flex;justify-content:space-between;gap:12px;padding:10px 12px;font-size:13px;background:#fff}
.aroma-pdp-spec:nth-child(odd){background:#f8fafc}
.aroma-pdp-spec span{color:#475569}
.aroma-pdp-spec b{font-weight:800;text-align:left}
.aroma-pdp-price,.aroma-pdp-price .woocommerce-Price-amount{font-size:22px;font-weight:800}
.aroma-pdp-stock{font-size:12.5px;color:#16a34a;font-weight:700;margin:6px 0 2px}
.aroma-pdp-updated{font-size:11px;color:#475569;margin-bottom:10px}

/* Variations — always show real selects (theme swatches may have been stripped) */
.aroma-pdp-buy form.cart,.aroma-pdp-buy .variations_form{display:flex;flex-direction:column;gap:10px;width:100%}
.aroma-pdp-buy table.variations{width:100%;border-collapse:collapse;margin:0}
.aroma-pdp-buy .variations tr{display:grid;grid-template-columns:110px 1fr;gap:8px;align-items:center;padding:8px 0;border-bottom:1px solid #eef2f7}
.aroma-pdp-buy .variations th,.aroma-pdp-buy .variations td{
  display:block;padding:0 !important;border:0 !important;background:transparent !important;text-align:right
}
.aroma-pdp-buy .variations label{font-size:13px;font-weight:700;color:#475569}
.aroma-pdp-buy .variations select,
.aroma-pdp-buy .variations .value select{
  display:block !important;visibility:visible !important;opacity:1 !important;
  width:100% !important;max-width:100% !important;height:44px !important;
  border:1px solid #e2e8f0 !important;border-radius:12px !important;
  padding:0 12px !important;font:inherit !important;font-size:16px !important;
  background:#fff !important;color:#0f172a !important;
  appearance:auto !important;-webkit-appearance:menulist !important;
  position:static !important;clip:auto !important;transform:none !important;
  pointer-events:auto !important
}
.aroma-pdp-buy .reset_variations{font-size:12px;font-weight:700;color:var(--aroma-icon)}
.aroma-pdp-buy .woocommerce-variation-price,
.aroma-pdp-buy .woocommerce-variation-availability,
.aroma-pdp-buy .woocommerce-variation-description,
.aroma-pdp-buy .wd-swatches-product,
.aroma-pdp-buy .swatches-select,
.aroma-pdp-buy .wd-attr-selected{display:none !important}
.aroma-pdp-buy table.variations{display:table !important}
.aroma-pdp-sticky{display:none}
.aroma-pdp-info > form.cart,
.aroma-pdp-info > p.price,
.aroma-pdp-info > .price{display:none !important}
.aroma-pdp-buy .quantity{display:inline-flex;align-items:center;border:1px solid #e2e8f0;border-radius:999px;overflow:hidden;background:#fff}
.aroma-pdp-buy .qty{width:52px;height:44px;border:0;text-align:center;font:inherit;font-weight:800;font-size:16px}
.aroma-pdp-buy .woocommerce-variation-add-to-cart,
.aroma-pdp-buy form.cart:not(.variations_form){display:flex;flex-wrap:wrap;align-items:center;gap:10px}
.aroma-pdp-buy .single_add_to_cart_button,
.aroma-pdp-buy button.button{
  flex:1;min-height:48px;border:0;border-radius:14px !important;color:#fff !important;
  background:linear-gradient(90deg,var(--aroma-icon),var(--aroma-purple));
  font:inherit;font-size:15px;font-weight:800;cursor:pointer;padding:0 18px
}

/* Hide leftover WP/Woodmart variation + price blocks dumped after our form */
.aroma-pdp-extra table.variations,
.aroma-pdp-extra .single_variation_wrap,
.aroma-pdp-extra form.cart,
.aroma-pdp-extra .woocommerce-variation,
.aroma-pdp-extra p.price,
.aroma-pdp-extra .price,
.aroma-pdp-extra .stock,
.aroma-pdp-extra .reset_variations,
.aroma-pdp-extra .quantity{display:none !important}
.aroma-pdp-extra{margin-top:12px;display:flex;flex-direction:column;gap:10px}
.aroma-pdp-extra img{max-height:36px;width:auto}

/* Below-the-fold sections: skip rendering until scrolled near (Speed Index) */
.aroma-pdp-tabs-wrap,.aroma-pdp-related{
  content-visibility:auto;contain-intrinsic-size:auto 520px
}

.aroma-pdp-tabs-wrap{overflow:hidden}
.aroma-pdp-tabs{
  display:flex;gap:0;overflow-x:auto;border-bottom:1px solid #eef2f7;background:#f8fafc;
  max-width:100%;overscroll-behavior-x:contain;touch-action:pan-x
}
.aroma-pdp-tab{
  flex:1 0 auto;min-height:48px;min-width:88px;border:0;background:transparent;
  display:flex;align-items:center;justify-content:center;gap:6px;
  color:#475569;font:inherit;font-size:13px;font-weight:700;cursor:pointer;padding:0 12px
}
.aroma-pdp-tab.on{color:#5b21b6;background:#fff;box-shadow:inset 0 -2px 0 var(--aroma-icon)}
.aroma-pdp-pane{padding:18px 16px}
.aroma-pdp-pane[hidden]{display:none !important}
.aroma-pdp-pane h2{margin:0 0 10px;font-size:18px}
.aroma-pdp-html{font-size:14px;line-height:1.9;color:#334155}
.aroma-pdp-related h3{margin:0 0 10px;font-size:16px}
.aroma-pdp-related{max-width:100%;min-width:0;overflow:hidden}
.aroma-pdp-rel-track{
  display:flex;gap:10px;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:6px;
  max-width:100%;overscroll-behavior-x:contain;touch-action:pan-x;-webkit-overflow-scrolling:touch
}
.aroma-pdp-card{
  flex:0 0 210px;scroll-snap-align:start;background:#fff;border:1px solid #eef2f7;
  border-radius:16px;padding:10px;display:flex;flex-direction:column;gap:8px
}
.aroma-pdp-card-img{display:block;height:150px;background:#f8fafc;border-radius:12px;overflow:hidden}
.aroma-pdp-card-img img{width:100%;height:100%;object-fit:contain}
.aroma-pdp-card h4{font-size:13px;margin:0;line-height:1.5;min-height:2.8em;color:inherit;text-decoration:none}
.aroma-pdp-card a{text-decoration:none;color:inherit}
.aroma-pdp-card-bot{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:auto}
.aroma-pdp-card-go{width:36px;height:36px;border-radius:10px;display:grid;place-items:center;background:var(--aroma-icon);color:#fff !important;font-weight:800}
.aroma-pdp-zoom{position:fixed;inset:0;z-index:80;background:rgba(15,23,42,.72);display:grid;place-items:center;padding:20px}
.aroma-pdp-zoom[hidden]{display:none !important}
.aroma-pdp-zoom img{max-width:min(92%,860px);max-height:86vh;object-fit:contain;border-radius:12px;background:#fff}
.aroma-pdp-zoom-x{position:absolute;top:16px;left:16px;width:44px;height:44px;border:0;border-radius:50%;background:#fff;font-size:24px;cursor:pointer}

.aroma-shopbar,.aroma-shop-sheet,.aroma-shop-sheet-bg{display:none}

@media(max-width:900px){
  .aroma-pdp-app{padding:8px 10px 168px}
  .aroma-pdp-buy .single_add_to_cart_button,
  .aroma-pdp-buy button.single_add_to_cart_button,
  .aroma-pdp-buy .quantity{
    position:absolute !important;width:1px !important;height:1px !important;
    padding:0 !important;margin:-1px !important;overflow:hidden !important;
    clip:rect(0,0,0,0) !important;border:0 !important
  }
  .aroma-pdp-buy .woocommerce-variation-add-to-cart{min-height:0;padding:0;margin:0;gap:0}
  .aroma-pdp-buy .variations tr{grid-template-columns:1fr}
  .aroma-pdp-sticky{
    display:flex;align-items:center;justify-content:space-between;gap:10px;
    position:fixed;left:8px;right:8px;inset-inline:8px;bottom:calc(72px + env(safe-area-inset-bottom));
    max-width:calc(100% - 16px);box-sizing:border-box;
    z-index:48;background:rgba(255,255,255,.98);border:1px solid color-mix(in srgb,var(--aroma-icon) 22%,#fff);
    border-radius:18px;padding:8px 10px;box-shadow:0 10px 28px color-mix(in srgb,var(--aroma-icon) 18%,transparent)
  }
  .aroma-pdp-sticky-meta b{display:block;font-size:13px;color:var(--aroma-text)}
  .aroma-pdp-sticky-meta span{display:block;font-size:11px;color:#16a34a;font-weight:700}
  .aroma-pdp-sticky-btn{
    min-width:148px;height:46px;border:0;border-radius:14px;color:#fff !important;
    background:linear-gradient(90deg,var(--aroma-icon),var(--aroma-purple));
    font:inherit;font-size:13px;font-weight:800;cursor:pointer;padding:0 14px;box-shadow:0 6px 16px color-mix(in srgb,var(--aroma-icon) 28%,transparent)
  }
  .aroma-pdp-sticky-btn:disabled{opacity:.55;cursor:not-allowed}
  .aroma-pdp-backbar{
    display:flex;align-items:center;gap:10px;margin-bottom:8px;
    background:#fff;border:1px solid #eef2f7;border-radius:14px;padding:6px 10px
  }
  .aroma-pdp-back{
    display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:0 10px;
    border-radius:12px;background:#f8fafc;color:var(--aroma-icon);font-weight:800;text-decoration:none;font-size:13px
  }
  .aroma-pdp-back-title{flex:1;min-width:0;font-size:13px;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .aroma-pdp-top{grid-template-columns:1fr}
  .aroma-pdp-title{font-size:18px}
  .aroma-pdp-main{max-height:300px}
  .aroma-pdp-gallery,.aroma-pdp-info{padding:12px}
  .aroma-shopbar{
    display:grid;grid-template-columns:repeat(5,1fr);position:fixed;bottom:0;inset-inline:0;
    min-height:64px;z-index:50;background:#fff;border-top:1px solid #e2e8f0;
    padding:6px 4px calc(6px + env(safe-area-inset-bottom));gap:2px
  }
  .aroma-shopbar-i{
    min-width:48px;min-height:48px;border:0;background:0;display:flex;flex-direction:column;
    align-items:center;justify-content:center;gap:3px;color:#334155;text-decoration:none;
    font:inherit;font-size:10px;font-weight:700;border-radius:12px;cursor:pointer
  }
  .aroma-shopbar-i.on,.aroma-shopbar-i:hover{color:var(--aroma-icon)}
  .aroma-shopbar-cart{position:relative;display:grid;place-items:center}
  .aroma-shopbar-cart b{
    position:absolute;top:-6px;left:-8px;min-width:16px;height:16px;padding:0 4px;
    background:var(--aroma-icon);color:#fff;border-radius:999px;font-size:9px;display:grid;place-items:center
  }
  .aroma-shop-sheet-bg{display:block;position:fixed;inset:0;background:rgba(15,23,42,.45);z-index:60}
  .aroma-shop-sheet-bg[hidden]{display:none !important}
  .aroma-shop-sheet{
    display:block;position:fixed;inset-inline:0;bottom:0;z-index:61;background:#fff;
    border-radius:20px 20px 0 0;padding:16px 16px calc(20px + env(safe-area-inset-bottom));
    max-height:72vh;overflow:auto
  }
  .aroma-shop-sheet[hidden]{display:none !important}
  .aroma-shop-sheet h3{margin:0 0 12px;font-size:16px}
  .aroma-shop-sheet-x{position:absolute;top:10px;left:12px;width:40px;height:40px;border:0;background:#f1f5f9;border-radius:50%;font-size:22px}
  .aroma-shop-search{display:flex;gap:8px}
  .aroma-shop-search input{flex:1;height:44px;border:1px solid #e2e8f0;border-radius:12px;padding:0 12px;font:inherit}
  .aroma-shop-cats{display:flex;flex-direction:column;gap:6px}
  .aroma-shop-cats a{display:block;padding:12px;border-radius:12px;background:#f8fafc;color:inherit;text-decoration:none;font-weight:700}
  body.aroma-product-page .aroma-mtabs{display:none !important}
}
