/* MELA 1.0.80 — minimal Work Tool cards + compact 1:1 cards. */

/* Work Tools — exact minimal reference anatomy:
 * meta row / large cover / divider / title / one copy / optional price / CTA. */
:is(.work-tools,.mela-elementor-worktools--conversion) :is(.product-slider,.mela-elementor-worktools__track){
  gap:0!important;
  align-items:stretch!important;
  border:0!important;
}
:is(.work-tools,.mela-elementor-worktools--conversion) .product-card.product-card--owner{
  flex:0 0 clamp(30rem,32vw,37rem)!important;
  width:clamp(30rem,32vw,37rem)!important;
  max-width:none!important;
  min-height:0!important;
  padding:0 0 1.75rem!important;
  border:0!important;
  border-right:1px solid color-mix(in srgb,currentColor 28%,transparent)!important;
  scroll-snap-align:start!important;
}
:is(.work-tools,.mela-elementor-worktools--conversion) .product-card.product-card--owner .tool-meta{
  display:flex!important;
  min-height:3.55rem!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:1rem!important;
  padding:0 1.45rem!important;
  color:var(--tool-card-text,currentColor)!important;
}
:is(.work-tools,.mela-elementor-worktools--conversion) .product-card.product-card--owner .tool-meta span{
  color:inherit!important;
}
:is(.work-tools,.mela-elementor-worktools--conversion) .product-card.product-card--owner .ipad-mockup{
  width:min(72%,22rem)!important;
  margin:2.9rem auto 2.25rem!important;
}
:is(.work-tools,.mela-elementor-worktools--conversion) .product-card.product-card--owner .tool-card-copy{
  display:block!important;
  padding:0 1.45rem!important;
}
:is(.work-tools,.mela-elementor-worktools--conversion) .product-card.product-card--owner .tool-card-copy h3{
  display:block!important;
  margin:0!important;
  padding:1.2rem 0 0!important;
  border-top:1px solid currentColor!important;
  font-size:clamp(2rem,2.65vw,3.2rem)!important;
  line-height:.94!important;
  letter-spacing:-.055em!important;
}
:is(.work-tools,.mela-elementor-worktools--conversion) .product-card.product-card--owner .tool-card-description{
  display:block!important;
  margin:1.1rem 0 0!important;
  color:inherit!important;
  font-size:clamp(1rem,1.04vw,1.08rem)!important;
  font-weight:400!important;
  line-height:1.45!important;
  letter-spacing:-.02em!important;
  text-transform:none!important;
}
/* Old conversion layers stay stored in the backend but never render on the card. */
:is(.work-tools,.mela-elementor-worktools--conversion) .product-card.product-card--owner :is(
  .tool-problem,.tool-promise,.tool-benefits,.tool-commerce--free,.tool-commerce--soon
){display:none!important}
:is(.work-tools,.mela-elementor-worktools--conversion) .product-card.product-card--owner .tool-commerce{
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  gap:.2rem!important;
  margin:1.45rem 1.45rem 0!important;
  padding:0!important;
  border:0!important;
  color:inherit!important;
}
:is(.work-tools,.mela-elementor-worktools--conversion) .product-card.product-card--owner .tool-commerce>span{
  font-size:.66rem!important;
  font-weight:900!important;
  letter-spacing:.09em!important;
  text-transform:uppercase!important;
}
:is(.work-tools,.mela-elementor-worktools--conversion) .product-card.product-card--owner .tool-commerce>strong{
  font-family:var(--display)!important;
  font-size:clamp(2rem,2.5vw,3rem)!important;
  line-height:.95!important;
  letter-spacing:-.05em!important;
  white-space:nowrap!important;
}
:is(.work-tools,.mela-elementor-worktools--conversion) .product-card.product-card--owner>:is(
  .worktool-action,.mela-elementor-action,.brand-action,.mela-elementor-status
){
  width:auto!important;
  max-width:none!important;
  min-height:3.4rem!important;
  margin:1rem 1.45rem 0!important;
  align-self:stretch!important;
}

/* 1:1 cards — keep current content, remove unnecessary empty card height. */
.mela-offers-v4 .mela-offers-v4__track{align-items:flex-start!important}
.mela-offers-v4 .mela-offers-v4__card{min-height:0!important;height:auto!important;padding:clamp(2.2rem,3vw,3rem)!important}
.mela-offers-v4 .mela-offers-v4__body{min-height:0!important;margin-top:clamp(1.5rem,2.2vw,2.1rem)!important;align-items:start!important}
.mela-offers-v4 .mela-offers-v4__booking{min-height:0!important;align-self:start!important}
.mela-offers-v4--content-stack .mela-offers-v4__booking{margin-top:.25rem!important;padding-top:1rem!important}

@media(max-width:767px){
  :is(.work-tools,.mela-elementor-worktools--conversion) .product-card.product-card--owner{flex-basis:88vw!important;width:88vw!important}
  :is(.work-tools,.mela-elementor-worktools--conversion) .product-card.product-card--owner .ipad-mockup{width:min(72%,18rem)!important;margin:2rem auto 1.75rem!important}
  :is(.work-tools,.mela-elementor-worktools--conversion) .product-card.product-card--owner .tool-card-copy h3{font-size:clamp(2rem,9vw,2.75rem)!important}
  .mela-offers-v4 .mela-offers-v4__card{padding:1.8rem!important}
}

/* MELA 1.0.81 — Work Tools: borderless presentation + canonical price type.
 * Scope is intentionally limited to the Work Tools widget/native fallback. */
:is(.work-tools,.mela-elementor-worktools--conversion) :is(
  .product-slider,
  .mela-elementor-worktools__track,
  .product-card.product-card--owner,
  .product-card.product-card--owner .tool-card-copy h3,
  .product-card.product-card--owner .tool-commerce
){
  border:0!important;
  outline:0!important;
}
:is(.work-tools,.mela-elementor-worktools--conversion) .product-card.product-card--owner{
  border-right:0!important;
}
:is(.work-tools,.mela-elementor-worktools--conversion) .product-card.product-card--owner .tool-card-copy h3{
  border-top:0!important;
}
:is(.work-tools,.mela-elementor-worktools--conversion) .product-card.product-card--owner .tool-commerce{
  border-top:0!important;
}
:is(.work-tools,.mela-elementor-worktools--conversion) :is(
  .tool-finder,
  .tool-finder__choices,
  .tool-finder__choice,
  .mela-tool-finder,
  .mela-tool-finder__choices,
  .mela-tool-finder__choice,
  .mela-elementor-worktools__controls button
){
  border:0!important;
}
:is(.work-tools,.mela-elementor-worktools--conversion) .product-card.product-card--owner .tool-commerce>strong{
  font-family:var(--mela-worktools-price-value-font,var(--mela-display,"Unbounded Variable","Helvetica Neue",Arial,sans-serif))!important;
  font-weight:var(--mela-worktools-price-value-weight,700)!important;
}
