/* site additions: enquiry captcha + DPDP consent (no layout overrides) */
/* live session captcha, styled to match the form's existing fields */
.cf-cap-q{display:inline-block;font-size:17px;font-weight:700;letter-spacing:2px;
  background:rgba(0,0,0,.05);border:1px solid rgba(0,0,0,.15);border-radius:4px;
  padding:8px 14px;white-space:nowrap;user-select:none;margin:0 10px 6px 0;vertical-align:middle}
.cf-cap-a{max-width:160px;display:inline-block;vertical-align:middle}


/* ---- dpdp-v1 ---------------------------------------------------------- */
/* The consent line always takes a row of its own, above the captcha, so the
   captcha and the send button can sit together underneath. Themes lay the
   bottom of a form out with floats (Divi's .et_contact_bottom_container) or
   flex, so the width and clearing have to be forced or the line gets squeezed
   into the narrow captcha column. */
.dpdp-consent { display: block !important; float: none !important; clear: both !important;
  width: 100% !important; max-width: 100% !important; flex: 0 0 100% !important;
  box-sizing: border-box; margin: 4px 0 16px !important; padding: 10px 12px !important;
  text-align: left !important;
  /* The text used to inherit the theme's form colour, which on a DARK form
     (allydzine.com) is the dark grey meant for white inputs: the line was
     there, legally required, and effectively invisible - and the checkbox sat
     flush on the form's edge, outside the visible box. A faint light panel with
     its own text colour reads on any background, and the padding brings the
     checkbox inside the box. On the usual white form the panel is invisible. */
  background: rgba(255,255,255,.92) !important; border-radius: 6px;
  color: #1c1f24 !important; }
.dpdp-consent label, .dpdp-consent span { color: #1c1f24 !important; }
.dpdp-consent a { color: #0b57d0 !important; }
/* No `order` here, ever. The block is placed in document order, just before
   the captcha row; Divi's newer contact module makes the FORM a flex
   container, so an `order:-1` left over from an earlier attempt threw the
   consent line to the very top of the form, above the Name field. */
.dpdp-consent label { display: flex !important; align-items: flex-start; gap: 10px;
  width: 100%; font-size: 14px; line-height: 1.55; cursor: pointer;
  font-weight: 400 !important; text-align: left !important; margin: 0 !important;
  padding: 0 !important; text-transform: none !important; letter-spacing: normal !important;
  color: inherit; }
/* themes (Divi's mobile sheet especially) strip a checkbox down to
   appearance:none with no background or border — it is then present but
   completely invisible.  Force a real, visible control. */
.dpdp-consent input[type="checkbox"] { appearance: auto !important;
  -webkit-appearance: checkbox !important; -moz-appearance: checkbox !important;
  width: 17px !important; height: 17px !important; min-width: 17px !important;
  max-width: 17px !important; min-height: 17px !important;
  margin: 3px 0 0 !important; padding: 0 !important; flex: 0 0 auto;
  position: static !important; opacity: 1 !important; visibility: visible !important;
  border: 1px solid #8a8f98 !important; border-radius: 3px !important;
  background: #fff !important; background-image: none !important;
  box-shadow: none !important; outline: none !important; float: none !important;
  display: inline-block !important; accent-color: #1f7a3d; cursor: pointer; }
.dpdp-consent span { flex: 1 1 auto; }
/* Some themes leave the captcha answer box transparent, which on a dark
   section makes it invisible even though the rest of the fields are light. */
form[action="/send.php"] input[name="captcha"] {
  background: #fff !important; color: #14181c !important;
  border: 1px solid #8a8f98 !important; border-radius: 4px !important;
  -webkit-text-fill-color: #14181c !important; opacity: 1 !important; }
.dpdp-consent a { text-decoration: underline; }
/* Divi: the bottom row is a flex/float container — give the consent its own line */
.et_contact_bottom_container { flex-wrap: wrap; }
.et_contact_bottom_container .dpdp-consent { margin-bottom: 12px !important; }
/* Divi's bottom row is float:right with a negative top margin that would ride
   up over the consent line now sitting above it. */
.dpdp-consent + .et_contact_bottom_container { margin-top: 0 !important; }
.et_pb_contact .dpdp-consent { clear: both !important; }
/* CF7: the captcha <p> follows the consent, so it must start a fresh row. */
.dpdp-consent + p { clear: both; }

/* The captcha question inherits the theme's form text colour, which on a dark
   form (pahunahaveli.com) is the dark grey meant for white inputs - the sum is
   printed and cannot be read, so the visitor cannot answer it. Same remedy as
   the consent line: its own small light chip, legible on any background. */
.cf-cap-q, .et_pb_contact_captcha_question { display: inline-block; background: rgba(255,255,255,.92); color: #1c1f24;
  padding: 6px 10px; border-radius: 6px; font-weight: 600; letter-spacing: .02em;
  line-height: 1.2; }

.dpdp-footer-line { display: block; margin-top: 8px; font-size: 13px; opacity: .92; }
.dpdp-footer-line a { text-decoration: underline; }

.dpdp-standalone { max-width: 62rem; margin: 0 auto; padding: 28px 20px 56px; }
.dpdp-back { margin: 0 0 18px; font-size: 14px; }
.dpdp-back a { text-decoration: underline; }
.dpdp-doc { max-width: 60rem; margin: 0 auto; padding: 8px 20px 40px; }
.dpdp-doc h2 { font-size: clamp(19px, 2.2vw, 24px); line-height: 1.3; margin: 32px 0 10px; }
.dpdp-doc p, .dpdp-doc li { font-size: 16px; line-height: 1.75; }
.dpdp-doc ul { margin: 0 0 16px 22px; list-style: disc !important; }
.dpdp-doc ul li { list-style: disc !important; }
.dpdp-doc li { margin: 4px 0; }
.dpdp-meta { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; opacity: .7; }

.dpdp-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 99999;
  max-width: 640px; margin: 0 auto; background: #14181c; color: #fff;
  border-radius: 12px; padding: 18px 20px; box-shadow: 0 16px 44px rgba(0,0,0,.34);
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.dpdp-banner[hidden] { display: none; }
.dpdp-banner p { margin: 0; flex: 1 1 260px; font-size: 14px; line-height: 1.6; color: #fff; }
.dpdp-banner a { color: #8fd0ff; text-decoration: underline; }
.dpdp-banner__btns { display: flex; gap: 10px; flex: 0 0 auto; }
/* themes set a global button{} with their own padding, colour and box model —
   beat it, or the two buttons come out as tan pills the wrong size */
.dpdp-banner .dpdp-btn {
  appearance: none !important; -webkit-appearance: none !important;
  box-sizing: border-box !important; border: 0 !important; border-radius: 8px !important;
  padding: 11px 20px !important; margin: 0 !important; min-width: 0 !important;
  width: auto !important; height: auto !important; line-height: 1.2 !important;
  font-size: 14px !important; font-weight: 700 !important; letter-spacing: 0 !important;
  text-transform: none !important; cursor: pointer;
  background: #fff !important; color: #14181c !important; box-shadow: none !important; }
.dpdp-banner .dpdp-btn:hover { background: #e9edf2 !important; color: #14181c !important; }
.dpdp-banner .dpdp-btn--ghost,
.dpdp-banner .dpdp-btn--ghost:hover {
  background: transparent !important; color: #fff !important;
  border: 1px solid rgba(255,255,255,.5) !important; }
.dpdp-consent { -webkit-tap-highlight-color: transparent; }
@media (max-width: 767px) {
  .dpdp-consent { margin: 6px 0 14px !important; }
  .dpdp-consent label { font-size: 13.5px; line-height: 1.5; }
}
@media (max-width: 560px) {
  .dpdp-banner { left: 10px; right: 10px; bottom: 10px; padding: 16px; }
  .dpdp-banner__btns { width: 100%; }
  .dpdp-banner .dpdp-btn { flex: 1 1 0; }
}


/* ---- 3i flat-PHP form wiring ------------------------------------------- */
/* our captcha row sits where the old CF7 quiz was */
.cf-cap-row{margin:0 0 12px!important;clear:both}
.cf-cap-row label{display:block}
/* response line under every form (CF7 hides it until the form has a status) */
form[data-3i] .wpcf7-response-output{margin:12px 0 0;padding:8px 12px;border:2px solid #ffb900;border-radius:4px;background:rgba(255,255,255,.92);color:#1c1f24}
form[data-3i].sent .wpcf7-response-output{border-color:#46b450}
form[data-3i].failed .wpcf7-response-output{border-color:#dc3232}

/* CF7 grid forms (CF7 Grid & Styler): the column holding the button is a flex row; consent + captcha go on their own lines above the button */
.wpt-col:has(> .dpdp-consent){flex-wrap:wrap}
.wpt-col > .dpdp-consent,.wpt-col > .cf-cap-row{flex:0 0 100%;width:100%;max-width:100%}

/* DPDP footer line: use the footer text colour (theme link colours were unreadable on some dark footers) */
.dpdp-footer-line,.dpdp-footer-line a{color:inherit!important}
.dpdp-footer-line a{text-decoration:underline!important}

/* ---- thefabindiahospitality.com: wired enquiry forms (measured repair, see layout_shift.json) ----
   The theme pins every submit button absolutely at top:64% of the CF7 wrapper. With the consent line
   and the captcha added, 64% falls in the middle of them; in the two wired forms the button is
   therefore placed in the normal flow, centred, directly under the captcha (same size, colours, text). */
form[data-3i] input[type=submit] { position: static !important; top: auto !important; left: auto !important;
  display: block !important; margin: 14px auto 0 !important; }
form[data-3i] .f3i-submit { margin: 0; }
/* booking box: the button now sits inside the box in flow, so the bottom padding that used to hold it
   (12%) is reduced to the box's top padding (5%) */
form[data-3i] .contactbox { padding-bottom: 5% !important; }
/* contact form: the fields are 80% wide and centred - the consent + captcha block follows them */
.column.f3i-extra { max-width: 80%; margin: 0 auto; }
.column.f3i-extra .cf-cap-row { margin: 0; }
.column.f3i-extra .cf-cap-row label, .column.f3i-extra .cf-cap-row .wpcf7-form-control-wrap { display: flex !important; align-items: center; gap: 10px; width: 100%; margin: 0; }
.column.f3i-extra .cf-cap-q { margin: 0; flex: 0 0 auto; }
.column.f3i-extra input.cf-cap-a { flex: 1 1 auto; max-width: none !important; width: auto !important; margin: 0 !important; }
.f3i-extra + .column > p { margin-bottom: 1.3em; }
/* booking form (dark box): consent + captcha inside the box, centred like the fields */
.contactbox .f3i-extra { padding: 0 2%; margin-top: 4px; }
.contactbox .f3i-extra .cf-cap-row { text-align: center; margin: 0; }
.contactbox .f3i-extra .cf-cap-row label, .contactbox .f3i-extra .cf-cap-row .wpcf7-form-control-wrap { display: inline-flex !important; align-items: center; gap: 10px; margin: 0; }
.contactbox .f3i-extra .cf-cap-q { margin: 0; }
.contactbox .f3i-extra input.cf-cap-a { width: 190px !important; max-width: 60vw !important; margin: 0 !important; }

/* re-tagged headings (one <h1> per page): pinned to the live computed style */
h2.h1pin-prod{font-family:Outfit, sans-serif!important;font-size:23.8px!important;font-weight:700!important;font-style:normal!important;line-height:1.3!important;color:rgb(255, 255, 255)!important;letter-spacing:normal!important;text-transform:none!important;text-align:center!important;text-shadow:none!important;margin-top:0px!important;margin-bottom:11.9px!important;margin-left:0px!important;margin-right:0px!important;padding-top:0px!important;padding-bottom:0px!important;padding-left:0px!important;padding-right:0px!important}
@media (max-width:549px){h2.h1pin-prod{font-size:19.6px!important;margin-bottom:9.8px!important}}
h1.h1pin-home{font-family:Outfit, sans-serif!important;font-size:25.6px!important;font-weight:700!important;font-style:normal!important;line-height:1.3!important;color:rgb(112, 42, 54)!important;letter-spacing:normal!important;text-transform:none!important;text-align:center!important;text-shadow:none!important;margin-top:0px!important;margin-bottom:12.8px!important;margin-left:0px!important;margin-right:0px!important;padding-top:0px!important;padding-bottom:0px!important;padding-left:0px!important;padding-right:0px!important}
@media (max-width:549px){h1.h1pin-home{font-size:19.2px!important;margin-bottom:9.6px!important}}
h1.h1pin-contact{font-family:Outfit, sans-serif!important;font-size:25.6px!important;font-weight:700!important;font-style:normal!important;line-height:1.3!important;color:rgb(112, 42, 54)!important;letter-spacing:normal!important;text-transform:none!important;text-align:center!important;text-shadow:none!important;margin-top:0px!important;margin-bottom:12.8px!important;margin-left:0px!important;margin-right:0px!important;padding-top:0px!important;padding-bottom:0px!important;padding-left:0px!important;padding-right:0px!important}
@media (max-width:549px){h1.h1pin-contact{font-size:19.2px!important;margin-bottom:9.6px!important}}
h1.h1pin-event{font-family:Outfit, sans-serif!important;font-size:20px!important;font-weight:700!important;font-style:normal!important;line-height:1.6!important;color:rgb(112, 42, 54)!important;letter-spacing:normal!important;text-transform:none!important;text-align:center!important;text-shadow:none!important;margin-top:0px!important;margin-bottom:10px!important;margin-left:0px!important;margin-right:0px!important;padding-top:0px!important;padding-bottom:0px!important;padding-left:0px!important;padding-right:0px!important}
@media (max-width:549px){h1.h1pin-event{font-size:16px!important;margin-bottom:8px!important}}
h1.h1pin-wedding{font-family:Outfit, sans-serif!important;font-size:20px!important;font-weight:700!important;font-style:normal!important;line-height:1.6!important;color:rgb(112, 42, 54)!important;letter-spacing:normal!important;text-transform:none!important;text-align:center!important;text-shadow:none!important;margin-top:0px!important;margin-bottom:10px!important;margin-left:0px!important;margin-right:0px!important;padding-top:0px!important;padding-bottom:0px!important;padding-left:0px!important;padding-right:0px!important}
@media (max-width:549px){h1.h1pin-wedding{font-size:16px!important;margin-bottom:8px!important}}
h1.h1pin-top{font-family:Outfit, sans-serif!important;font-size:20px!important;font-weight:700!important;font-style:normal!important;line-height:1.6!important;color:rgb(112, 42, 54)!important;letter-spacing:normal!important;text-transform:none!important;text-align:start!important;text-shadow:none!important;margin-top:0px!important;margin-bottom:10px!important;margin-left:0px!important;margin-right:0px!important;padding-top:0px!important;padding-bottom:0px!important;padding-left:0px!important;padding-right:0px!important}
@media (max-width:549px){h1.h1pin-top{font-size:16px!important;margin-bottom:8px!important}}
h1.h1pin-cruise{font-family:Outfit, sans-serif!important;font-size:20px!important;font-weight:700!important;font-style:normal!important;line-height:1.6!important;color:rgb(112, 42, 54)!important;letter-spacing:normal!important;text-transform:none!important;text-align:start!important;text-shadow:none!important;margin-top:0px!important;margin-bottom:10px!important;margin-left:0px!important;margin-right:0px!important;padding-top:0px!important;padding-bottom:0px!important;padding-left:0px!important;padding-right:0px!important}
@media (max-width:549px){h1.h1pin-cruise{font-size:16px!important;margin-bottom:8px!important}}
h1.h1pin-domestic{font-family:Outfit, sans-serif!important;font-size:25.6px!important;font-weight:700!important;font-style:normal!important;line-height:1.3!important;color:rgb(112, 42, 54)!important;letter-spacing:normal!important;text-transform:none!important;text-align:start!important;text-shadow:none!important;margin-top:0px!important;margin-bottom:12.8px!important;margin-left:0px!important;margin-right:0px!important;padding-top:0px!important;padding-bottom:0px!important;padding-left:0px!important;padding-right:0px!important}
@media (max-width:549px){h1.h1pin-domestic{font-size:19.2px!important;margin-bottom:9.6px!important}}
h1.h1pin-intl{font-family:Outfit, sans-serif!important;font-size:25.6px!important;font-weight:700!important;font-style:normal!important;line-height:1.3!important;color:rgb(112, 42, 54)!important;letter-spacing:normal!important;text-transform:none!important;text-align:start!important;text-shadow:none!important;margin-top:0px!important;margin-bottom:12.8px!important;margin-left:0px!important;margin-right:0px!important;padding-top:0px!important;padding-bottom:0px!important;padding-left:0px!important;padding-right:0px!important}
@media (max-width:549px){h1.h1pin-intl{font-size:19.2px!important;margin-bottom:9.6px!important}}

/* the theme reserved 90px under the textarea for its absolutely-placed button; the button now sits in the flow under consent + captcha */
.wpcf7-form[data-3i] textarea{margin-bottom:1em!important}
