/**
 * /diventa-partner/ — page CSS. The page language comes from product.css; the vendor panel and the
 * couple's panel from vendor-panel.css. Redrawn here: the vendor's page and card on GoWeddy, after
 * fornitore-esempio (vendor-profile.css) and the directory (category-listing.css); the price list,
 * the invite and the lead's next step, after app/assets/css/dashboard/vendor/quotes.css and crm.css.
 */

/* ── Hero: the venue's page on GoWeddy, in a browser ── */
.gw-dp-hero {
    --dp-overlap: clamp(5rem, 9vw, 8rem);
    --field-inset: 0 0 var(--dp-overlap);
}
.gw-dp-hero__grid { grid-template-columns: minmax(0, 23rem) minmax(0, 35rem); }
.gw-dp-hero__copy { margin-bottom: calc(var(--dp-overlap) + 3rem); }
/* The window starts level with the copy and ends where the copy's room ends, past the field: the page goes on
   under the fold. It takes its height from the copy, never gives it, so a long page cannot push the copy down. */
.gw-dp-hero__note { margin: .9rem 0 0; font-size: .88rem; color: hsl(var(--opening-ink) / .7); }
.gw-dp-stage { --browser-ring: 300 32% 30%; --browser-drop: 300 30% 20%; position: relative; align-self: stretch; min-width: 0; }
.gw-dp-stage .gw-rp-browser { position: absolute; inset: 0; display: flex; flex-direction: column; }

.gw-dp-prof { flex: 1; display: block; min-height: 0; overflow: hidden; -webkit-mask-image: linear-gradient(to bottom, #000 80%, transparent); mask-image: linear-gradient(to bottom, #000 80%, transparent); padding: .8rem 1.1rem 1.15rem; background: hsl(var(--gw-cream)); font-family: var(--gw-font-sans); color: hsl(var(--gw-fg)); }
.gw-dp-prof__crumbs { display: flex; align-items: center; gap: .35rem; font-size: .64rem; color: hsl(var(--gw-muted-fg)); }
.gw-dp-prof__crumbs i { font-style: normal; opacity: .6; }
.gw-dp-prof__crumbs b { font-weight: 500; color: hsl(var(--gw-fg)); }
.gw-dp-prof__gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: repeat(2, 6.4rem); gap: .35rem; margin: .7rem 0 .95rem; }
.gw-dp-prof__tile { position: relative; overflow: hidden; border-radius: .6rem; }
.gw-dp-prof__tile.is-main { grid-row: span 2; }
.gw-dp-prof__tile img { width: 100%; height: 100%; object-fit: cover; }
.gw-dp-prof__tile.is-more > span { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .1rem; background: hsl(345 20% 12% / .5); color: #fff; }
.gw-dp-prof__tile.is-more b { font-size: .7rem; font-weight: 600; }
.gw-dp-prof__tile.is-more small { font-size: .6rem; opacity: .85; }
.gw-dp-prof__info { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; }
.gw-dp-prof__main { display: flex; flex-direction: column; min-width: 0; }
.gw-dp-prof__meta { display: flex; align-items: center; flex-wrap: wrap; gap: .55rem; }
.gw-dp-prof__meta em { font-size: .58rem; font-style: normal; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: hsl(var(--gw-wine)); }
.gw-dp-prof__title { margin: .3rem 0 .2rem; font-family: var(--gw-font-serif); font-size: 1.6rem; font-weight: 500; line-height: 1.15; }
.gw-dp-prof__loc { display: inline-flex; align-items: center; gap: .3rem; font-size: .74rem; color: hsl(var(--gw-muted-fg)); }
.gw-dp-prof__loc .bi { color: hsl(var(--gw-wine)); }
.gw-dp-prof__side { flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: .55rem; }
.gw-dp-prof__price { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: flex-end; gap: .3rem; }
.gw-dp-prof__price small { width: 100%; font-size: .56rem; letter-spacing: .05em; text-align: right; text-transform: uppercase; color: hsl(var(--gw-muted-fg)); }
.gw-dp-prof__price b { font-family: var(--gw-font-serif); font-size: 1.3rem; font-weight: 400; line-height: 1; color: hsl(var(--gw-wine)); }
.gw-dp-prof__price em { font-size: .62rem; font-style: normal; color: hsl(var(--gw-muted-fg)); }
.gw-dp-prof__actions { display: flex; gap: .4rem; }
.gw-dp-prof__actions .bi { display: grid; place-items: center; width: 2rem; height: 2rem; border: 1px solid hsl(var(--gw-border)); border-radius: .55rem; font-size: .75rem; }
.gw-dp-prof__body { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); align-items: start; gap: .8rem; margin-top: 1.1rem; }
.gw-dp-prof__about,
.gw-dp-prof__ask { display: flex; flex-direction: column; overflow: hidden; border: 1px solid hsl(var(--gw-border)); border-radius: .8rem; background: #fff; }
.gw-dp-prof__about { gap: .5rem; padding: .85rem .95rem 1rem; }
.gw-dp-prof__about > b { font-family: var(--gw-font-serif); font-size: 1rem; font-weight: 500; }
.gw-dp-prof__about > span:not(.gw-dp-prof__feats) { font-size: .7rem; line-height: 1.6; color: hsl(var(--gw-muted-fg)); }
.gw-dp-prof__feats { display: flex; flex-wrap: wrap; gap: .3rem; }
.gw-dp-prof__feats span { padding: .18rem .55rem; border: 1px solid hsl(var(--gw-wine) / .18); border-radius: 99px; background: hsl(var(--gw-wine) / .06); font-size: .6rem; font-weight: 500; color: hsl(var(--gw-wine)); }
.gw-dp-prof__ask > b { padding: .7rem .6rem; border-bottom: 1px solid hsl(var(--gw-border)); background: hsl(var(--gw-wine) / .05); font-size: .72rem; font-weight: 600; line-height: 1.3; text-align: center; }
.gw-dp-prof__ask-body { display: flex; flex-direction: column; gap: .4rem; padding: .7rem .65rem .8rem; }
.gw-dp-prof__ask-body span { padding: .38rem .5rem; border: 1px solid hsl(var(--gw-border)); border-radius: .4rem; font-size: .62rem; color: hsl(var(--gw-muted-fg)); }
.gw-dp-prof__col { display: flex; flex-direction: column; gap: .8rem; min-width: 0; }
.gw-dp-prof__about .gw-dp-where__map { height: 6rem; margin: 0 -.95rem -1rem; }
.gw-dp-prof__wa { display: flex; flex-direction: column; gap: .4rem; margin: 0 .65rem .8rem; padding-top: .7rem; border-top: 1px solid hsl(var(--gw-border)); text-align: center; }
.gw-dp-prof__wa small { font-size: .56rem; color: hsl(var(--gw-muted-fg)); }
.gw-dp-prof__wa span { display: flex; align-items: center; justify-content: center; gap: .3rem; padding: .38rem; border: 1px solid hsl(150 55% 32%); border-radius: .4rem; font-size: .6rem; font-weight: 500; color: hsl(150 55% 30%); }
.gw-dp-prof__ask-body em { padding: .45rem; border-radius: .5rem; background: hsl(var(--gw-wine)); font-size: .66rem; font-style: normal; font-weight: 500; text-align: center; color: #fff; }
.gw-dp-prof__actions span { display: grid; place-items: center; padding: 0 .95rem; border-radius: .55rem; background: hsl(var(--gw-wine)); font-size: .76rem; font-weight: 500; color: #fff; }

/* ── The page, further down: who they are, the features the couples filter on, where they are ── */
.gw-dp-about { display: flex; flex-direction: column; gap: .75rem; padding: 1.25rem 1.3rem 1.35rem; }
.gw-dp-about__title { font-family: var(--gw-font-serif); font-size: 1.2rem; font-weight: 500; }
.gw-dp-about p { margin: 0; font-size: .8rem; line-height: 1.65; color: hsl(var(--gw-muted-fg)); }
.gw-dp-about__features { display: flex; flex-wrap: wrap; gap: .35rem; }
.gw-dp-about__features span { padding: .28rem .7rem; border: 1px solid hsl(var(--gw-wine) / .18); border-radius: 99px; background: hsl(var(--gw-wine) / .06); font-size: .68rem; font-weight: 500; color: hsl(var(--gw-wine)); }
.gw-dp-where { position: relative; align-self: flex-end; display: flex; flex-direction: column; width: min(100%, 21rem); margin: -1.25rem -1.5rem 0 0; overflow: hidden; }
/* A map drawn, not fetched: a green patch, two roads and the pin. */
.gw-dp-where__map {
    position: relative;
    height: 6.5rem;
    background:
        linear-gradient(28deg, transparent 47%, #fff 47% 51%, transparent 51%),
        linear-gradient(-14deg, transparent 58%, hsl(40 60% 88%) 58% 62%, transparent 62%),
        radial-gradient(circle at 22% 70%, hsl(110 30% 84%) 0 22%, transparent 23%),
        radial-gradient(circle at 80% 25%, hsl(110 30% 86%) 0 18%, transparent 19%),
        hsl(60 20% 93%);
}
.gw-dp-where__map .bi { position: absolute; top: 50%; left: 50%; font-size: 1.6rem; color: hsl(var(--gw-wine)); transform: translate(-50%, -80%); filter: drop-shadow(0 4px 6px hsl(345 30% 20% / .35)); }
.gw-dp-where__rows { display: flex; flex-direction: column; gap: .7rem; padding: .95rem 1rem .85rem; }
.gw-dp-where__rows > span { display: flex; align-items: center; gap: .65rem; font-size: .76rem; }
.gw-dp-where__rows .bi { flex: none; display: grid; place-items: center; width: 1.9rem; height: 1.9rem; border-radius: 50%; background: hsl(var(--gw-wine) / .08); font-size: .78rem; color: hsl(var(--gw-wine)); }
.gw-dp-where__rows > span > span { display: flex; flex-direction: column; min-width: 0; }
.gw-dp-where__rows small { font-size: .58rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: hsl(var(--gw-muted-fg)); }
.gw-dp-where__wa { display: flex; align-items: center; justify-content: center; gap: .45rem; margin: 0 1rem 1rem; padding: .55rem; border: 1px solid hsl(150 55% 32%); border-radius: .6rem; font-size: .78rem; font-weight: 500; color: hsl(150 55% 30%); }

/* ── The request form of the page (gw-vp-contact), as the couple fills it in ── */
.gw-dp-ask { display: flex; flex-direction: column; width: min(100%, 21rem); overflow: hidden; border: 1px solid hsl(var(--gw-border)); border-radius: 1rem; background: #fff; box-shadow: 0 18px 40px -26px hsl(340 40% 25% / .35); font-family: var(--gw-font-sans); color: hsl(var(--gw-fg)); }
.gw-dp-ask__head { padding: 1rem 1.1rem; border-bottom: 1px solid hsl(var(--gw-border)); background: hsl(var(--gw-wine) / .05); text-align: center; }
.gw-dp-ask__head b { font-size: .95rem; font-weight: 600; }
.gw-dp-ask__body { display: flex; flex-direction: column; gap: .55rem; padding: 1.05rem 1.1rem 1.15rem; }
.gw-dp-ask__body > span:not(.gw-dp-ask__row):not(.gw-dp-ask__check):not(.gw-dp-ask__send),
.gw-dp-ask__row > span { display: flex; align-items: center; gap: .45rem; padding: .5rem .7rem; border: 1px solid hsl(var(--gw-border)); border-radius: .5rem; font-size: .8rem; }
.gw-dp-ask__body .bi-calendar { color: hsl(var(--gw-muted-fg)); }
.gw-dp-ask__body > span.is-area { min-height: 4.4rem; align-items: flex-start; line-height: 1.45; }
.gw-dp-ask__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; }
.gw-dp-ask__check { display: flex; align-items: flex-start; gap: .5rem; font-size: .66rem; line-height: 1.45; color: hsl(var(--gw-muted-fg)); }
.gw-dp-ask__check .bi { flex: none; display: grid; place-items: center; width: .95rem; height: .95rem; margin-top: .1rem; border-radius: .22rem; background: hsl(var(--gw-wine)); font-size: .6rem; color: #fff; }
.gw-dp-ask__send { display: flex; align-items: center; justify-content: center; gap: .45rem; margin-top: .15rem; padding: .65rem; border-radius: .75rem; background: hsl(var(--gw-wine)); font-size: .84rem; font-weight: 500; color: #fff; }
@media (min-width: 992px) {
    .gw-dp-lead .gw-duo { grid-template-columns: minmax(0, 21rem) minmax(0, 30rem); align-items: start; }
}

/* ── The biolink, in the phone ── */
.gw-dp-biosec__show { align-items: center; }

/* ── The couple's panel (vendor-panel.css), open on a period of their planner ── */
.gw-rp-couple .gw-rp-period { font-size: .8rem; }
.gw-rp-couple .gw-rp-period__head { gap: .7rem; padding: .85rem 1rem; }
.gw-rp-couple .gw-rp-period__id b { font-size: .9rem; }
.gw-rp-couple .gw-rp-period__id small { font-size: .72rem; }
.gw-rp-couple .gw-rp-task { gap: .6rem; padding: .6rem 1rem; }
.gw-rp-couple .gw-rp-task__check { width: 1.15rem; height: 1.15rem; margin-top: .02rem; }
.gw-rp-couple .gw-rp-task.is-done .gw-rp-task__check::after { top: .27rem; left: .26rem; width: .48rem; height: .26rem; }

/* ── Sections with copy beside a replica ── */
.gw-dp-couples,
.gw-dp-dir,
.gw-dp-dictation,
.gw-dp-lead,
.gw-dp-chosen,
.gw-dp-biosec { padding-block: clamp(3.5rem, 7vw, 5.5rem); }
@media (min-width: 768px) {
    .gw-dp-page,
    .gw-dp-list,
    .gw-dp-invite,
    .gw-dp-free { padding-block: clamp(3rem, 6vw, 5rem); }
}

/* The lead's next step (crm.php): the one full-size button of the strip. */
.gw-rp-lead__deal .gw-dp-next { margin-top: .45rem; }
.gw-dp-next__btn { display: inline-flex; align-items: center; align-self: flex-start; gap: .45rem; padding: .55rem 1rem; border-radius: .6rem; background: hsl(var(--gw-wine)); font-size: .84rem; font-weight: 500; color: #fff; }

/* ── The price list (supModal): the vendor's own sheet ── */
.gw-rp-win__head + .gw-dp-sheet__sec { border-top: 0; }
.gw-dp-sheet__sec { display: flex; align-items: center; gap: .6rem; padding: .75rem 1.15rem; border-top: 1px solid var(--app-border-light); font-size: .84rem; font-weight: 600; }
.gw-dp-sheet__sec > .bi:first-child { color: hsl(var(--gw-muted-fg)); }
.gw-dp-sheet__sec em { padding: .05rem .5rem; border-radius: 99px; background: hsl(340 38% 95%); font-size: .68rem; font-style: normal; font-weight: 600; color: hsl(var(--gw-wine)); }
.gw-dp-sheet__sec > .bi:last-child { margin-left: auto; font-size: .7rem; color: hsl(var(--gw-muted-fg)); }
.gw-dp-sheet__sec.is-open > .bi:last-child { transform: rotate(180deg); }
.gw-dp-sheet__open { display: flex; flex-direction: column; gap: .5rem; padding-bottom: .9rem; }
.gw-dp-sheet__open > .gw-dp-sheet__sec { margin-bottom: .1rem; }
.gw-dp-line { display: flex; flex-direction: column; gap: .45rem; margin: 0 1.15rem; padding: .6rem .7rem .7rem; border: 1px solid var(--app-border-light); border-radius: .5rem; background: var(--app-surface-warm); }
.gw-dp-line > b { display: flex; align-items: center; gap: .35rem; font-size: .8rem; font-weight: 600; }
.gw-dp-line > b .bi { color: var(--app-faint); }
.gw-dp-line__prices { display: flex; flex-wrap: wrap; gap: .4rem; }
.gw-dp-line__f { flex: 1 1 5rem; display: flex; flex-direction: column; gap: .15rem; min-width: 0; }
.gw-dp-line__f.is-type { flex: 1.4 1 7rem; }
.gw-dp-line__f.is-vat { flex: 0 1 3.6rem; }
.gw-dp-line__f small { font-size: .6rem; font-weight: 600; white-space: nowrap; color: hsl(var(--gw-muted-fg)); }
.gw-dp-line__f > span { display: flex; align-items: center; gap: .3rem; padding: .28rem .45rem; border: 1px solid hsl(var(--gw-border)); border-radius: .4rem; background: #fff; font-size: .74rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.gw-dp-line__f em { font-style: normal; color: hsl(var(--gw-muted-fg)); }
.gw-dp-line__f.is-type .bi { margin-left: auto; font-size: .6rem; color: hsl(var(--gw-muted-fg)); }

/* ── The invite (propInviteLeadModal) beside the email the couple receives ── */
@media (min-width: 992px) {
    .gw-dp-invite .gw-duo { grid-template-columns: minmax(0, 25rem) minmax(0, 30rem); align-items: start; }
}
.gw-dp-send__body { padding: 1.1rem 1.2rem 1.2rem; }
.gw-dp-send__state { margin: 0 0 1rem; font-size: .86rem; font-weight: 600; }
.gw-dp-send__steps { display: flex; flex-direction: column; gap: .6rem; margin: 0; padding: 0; list-style: none; counter-reset: gw-dp-step; }
.gw-dp-send__steps li { display: flex; align-items: flex-start; gap: .65rem; font-size: .84rem; line-height: 1.45; counter-increment: gw-dp-step; }
.gw-dp-send__steps li::before { content: counter(gw-dp-step); flex: none; display: grid; place-items: center; width: 1.4rem; height: 1.4rem; border-radius: 50%; background: hsl(var(--gw-wine) / .1); font-size: .7rem; font-weight: 700; color: hsl(var(--gw-wine)); }

/* ── The choice: the email to the vendor, and the chosen quote read again on the confirmed guests ── */
.gw-dp-chosen__show .gw-rp-mail { width: min(100%, 29rem); }
.gw-dp-pcard { position: relative; align-self: flex-end; margin: -1rem -1.5rem 0 0; }

/* The sign-up's three steps are words of different length: each tab takes its own. */
.gw-dp-signup .gw-rp-ui__tabs > * { flex: auto; padding-inline: .55rem; }

/* ── What stays free: the agenda of the calendar, and the documents of one couple ── */
.gw-dp-agenda { padding: 1rem 1.1rem 1.1rem; }
.gw-dp-agenda .gw-rp-cal__bar { margin-bottom: 0; }
.gw-dp-agenda__day { display: block; margin: .85rem 0 .35rem; padding-bottom: .3rem; border-bottom: 1px solid var(--app-border-light); font-size: .7rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: hsl(var(--gw-muted-fg)); }
.gw-dp-agenda .gw-rp-cal__ev { gap: .55rem; padding: .3rem 0; font-size: .8rem; }
.gw-dp-agenda .gw-rp-cal__ev > .bi { width: 1.7rem; height: 1.7rem; font-size: .8rem; }
.gw-dp-agenda .gw-rp-cal__ev small { min-width: 2.6rem; font-weight: 600; }
.gw-dp-docs { position: relative; align-self: flex-end; width: min(100%, 22rem); margin: -1.75rem -1.5rem 0 0; padding-bottom: .3rem; }
.gw-dp-docs__head { display: flex; align-items: center; gap: .6rem; padding: .95rem .95rem .7rem; }
.gw-dp-docs__head b { font-size: .95rem; font-weight: 600; }
.gw-dp-docs__head em { margin-left: auto; padding: .1rem .55rem; border-radius: 99px; background: var(--app-muted); font-size: .68rem; font-style: normal; }

/* Step two: filling in the page. */
.gw-dp-fill__photos { display: flex; gap: .35rem; }
.gw-dp-fill__photos img,
.gw-dp-fill__photos span { width: 2.6rem; height: 2.6rem; border-radius: .45rem; object-fit: cover; }
.gw-dp-fill__photos span { display: grid; place-items: center; border: 1.5px dashed hsl(var(--gw-border)); font-size: .8rem; color: hsl(var(--gw-muted-fg)); }
.gw-dp-fill__chips { display: flex; flex-wrap: wrap; gap: .3rem; }
.gw-dp-fill__chips span { padding: .2rem .55rem; border: 1px solid hsl(var(--gw-wine) / .18); border-radius: 99px; background: hsl(var(--gw-wine) / .06); font-size: .64rem; font-weight: 500; color: hsl(var(--gw-wine)); }

@media (max-width: 991.98px) {
    .gw-dp-hero__grid { grid-template-columns: minmax(0, 1fr); row-gap: 2.25rem; }
    .gw-dp-hero__copy { margin-bottom: 0; }
    .gw-dp-hero { --dp-overlap: 12rem; }
    .gw-dp-stage { width: 100%; max-width: 37rem; justify-self: center; }
    .gw-dp-stage .gw-rp-browser { position: relative; height: 36rem; }
    /* Stacked at the same width, an overlap reads as a mistake: they stand apart. */
    .gw-dp-where,
    .gw-dp-pcard,
    .gw-dp-docs { margin: 1rem 0 0; }
}
@media (max-width: 767.98px) {
    .gw-dp-hero { padding-bottom: 2.25rem; }
    .gw-dp-couples,
    .gw-dp-dir,
    .gw-dp-dictation,
    .gw-dp-lead,
    .gw-dp-chosen,
    .gw-dp-biosec { padding-block: 2.25rem; }
}
@media (max-width: 575.98px) {
    .gw-dp-hero__cta { display: block; text-align: center; }
    .gw-rp-couple .gw-rp-period__head { padding-inline: .8rem; }
    .gw-rp-couple .gw-rp-task { padding-inline: .8rem; }
    /* The page as a phone shows it: one photo with the count, the price under the name. */
    .gw-dp-stage .gw-rp-browser { height: auto; }
    .gw-dp-prof { padding-inline: .8rem; -webkit-mask-image: none; mask-image: none; }
    .gw-dp-prof__body { display: none; }
    .gw-dp-prof__gallery { grid-template-columns: minmax(0, 1fr); grid-template-rows: 11rem; }
    .gw-dp-prof__tile:not(.is-main) { display: none; }
    .gw-dp-prof__info { flex-direction: column; align-items: stretch; }
    .gw-dp-prof__side { align-items: stretch; }
    .gw-dp-prof__price { justify-content: flex-start; }
    .gw-dp-prof__price small { text-align: left; }
    .gw-dp-prof__actions span { flex: 1; padding-block: .55rem; }
    .gw-dp-line { margin-inline: .9rem; }
    .gw-dp-sheet__sec { padding-inline: .9rem; }
}
