/* ============================================================================
   COMO Guest Offer Builder - shared styles
   Used by both the builder (index.html) and the guest page (offer.html).
   ========================================================================== */

/* COMO brand typeface. Put the licensed font files in a fonts folder next to
   this file, keeping the names exactly as supplied. Until they are in place the
   page falls back to Helvetica Neue, then Arial. */
@font-face{
  font-family:"COMO Helvetica";
  src:url("fonts/HelveticaNeueLT%20Std%20Lt.otf") format("opentype"),
      url("fonts/HelveticaNeueLT%20Std%20Lt.ttf") format("truetype");
  font-weight:300;font-style:normal;font-display:swap;
}
@font-face{
  font-family:"COMO Helvetica";
  src:url("fonts/HelveticaNeueLT%20Std%20Lt.otf") format("opentype"),
      url("fonts/HelveticaNeueLT%20Std%20Lt.ttf") format("truetype");
  font-weight:400;font-style:normal;font-display:swap;
}
@font-face{
  font-family:"COMO Helvetica Extended";
  src:url("fonts/HelveticaNeueLT%20Std%20UltLt%20Ext.otf") format("opentype"),
      url("fonts/HelveticaNeueLT%20Std%20UltLt%20Ext.ttf") format("truetype");
  font-weight:200;font-style:normal;font-display:swap;
}
@font-face{
  font-family:"COMO Helvetica Extended";
  src:url("fonts/HelveticaNeue-Extended.otf") format("opentype"),
      url("fonts/HelveticaNeue-Extended.ttf") format("truetype");
  font-weight:400;font-style:normal;font-display:swap;
}
@font-face{
  font-family:"COMO Helvetica Extended";
  src:url("fonts/HelveticaNeueLTStd-MdEx.otf") format("opentype"),
      url("fonts/HelveticaNeueLTStd-MdEx.ttf") format("truetype");
  font-weight:500;font-style:normal;font-display:swap;
}

:root{
  --font:"COMO Helvetica","Helvetica Neue",Helvetica,Arial,sans-serif;
  --font-display:"COMO Helvetica Extended","COMO Helvetica","Helvetica Neue",Helvetica,Arial,sans-serif;
  --ink:#2b3138;
  --soft:#5c6670;
  --line:#d9dde1;
  --panel:#f1f2f3;
  --accent:#8a9199;
  --warn:#8a6d3b;
  --error:#a2443c;
  /* COMO Warm Grey Light, 172/161/153 */
  --band:#aca199;
  /* Page width, and the narrower measure long prose is held to inside it.
     The two are deliberately different: photographs and cards want the width,
     paragraphs do not. A line much past 90 characters is hard to track back
     from, so the text keeps its measure however wide the screen gets. */
  --page:900px;
  /* Off by default: text runs to the same edges as the cards and the hero, so
     the page reads as one width rather than two. Set this to 620px to hold
     paragraphs to a narrower column again; nothing else needs changing. */
  --measure:none;
}
*{box-sizing:border-box;}
html,body{margin:0;padding:0;}
body{font-family:var(--font);color:var(--ink);background:#e9ebec;min-height:100vh;}

/* ---------- offer document ---------- */
.print-area{width:100%;max-width:var(--page);background:#fff;box-shadow:0 6px 30px rgba(0,0,0,.12);padding:0 0 48px;}
/* The logo stands on white. The dark band is gone, so the logo file should be
   dark artwork on transparent rather than white. */
.masthead{background:#fff;color:var(--ink);text-align:center;padding:30px 0 22px;}
.masthead .m1{font-family:var(--font-display);font-size:30px;letter-spacing:.24em;font-weight:200;}
.doc-body{padding:38px 52px 0;}
.salutation{font-size:14px;font-weight:400;margin-bottom:14px;max-width:var(--measure);}
.intro{font-size:13px;line-height:1.75;font-weight:300;color:var(--soft);margin:0 0 26px;max-width:var(--measure);}
.offer-head{text-align:center;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:16px 0;margin:0 0 26px;}
.offer-head .oh1{font-size:11px;letter-spacing:.16em;color:var(--soft);}
.offer-head .oh2{font-size:15px;font-weight:400;margin-top:8px;letter-spacing:.04em;}

/* The instruction above the room cards. Pitched between body text and a
   heading: a guest who skims past it has missed what they are being asked
   to do, which is the whole point of the page. */
.options-lead{margin:0 0 14px;font-size:13.5px;line-height:1.6;color:var(--ink);max-width:var(--measure);}
.options{display:grid;grid-template-columns:repeat(2,1fr);gap:14px;margin-bottom:30px;align-items:stretch;}
.options.one{grid-template-columns:1fr;}
@media (max-width:620px){ .options{grid-template-columns:1fr;} }
.option{min-width:0;border:1px solid var(--line);border-radius:6px;overflow:hidden;display:flex;flex-direction:column;
  cursor:pointer;transition:border-color .15s ease,background .15s ease;-webkit-tap-highlight-color:transparent;}
.option:hover{border-color:var(--accent);}
.option:focus-visible{outline:2px solid var(--accent);outline-offset:3px;}
.option.selected{border-color:var(--ink);background:#f7f8f8;box-shadow:inset 0 0 0 1px var(--ink);}
/* Two columns. The room and what tells it apart run down the left, the stay
   and the price down the right, which is what fills the empty top right the
   single column left behind. Each block is placed explicitly so a phone can
   put them back into one column in a sensible reading order. */
.option-body{padding:14px 16px;flex:1;display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:0;row-gap:0;align-items:stretch;}
.option-room-meta{grid-column:1;grid-row:1;padding-right:20px;}
.option-features{grid-column:1;grid-row:2;padding-right:20px;}
.option-stay{grid-column:2;grid-row:1;}
.option-price-block{grid-column:2;grid-row:2;}
/* A hairline down the gutter. The two right-hand blocks each carry a piece of
   it and the rows meet, so it reads as one line rather than two dashes. */
.option-stay,.option-price-block{padding-left:20px;border-left:1px solid var(--line);}

/* What tells this room apart from the others. One per line in the left column,
   which is narrow enough that two would not fit. */
.option-features{margin-top:14px;padding-top:12px;border-top:1px solid var(--line);
  display:grid;grid-template-columns:repeat(auto-fit,minmax(148px,1fr));gap:9px 16px;}
.feat{display:grid;grid-template-columns:17px 1fr;gap:10px;align-items:center;
  font-size:11.5px;font-weight:300;color:var(--ink);line-height:1.4;}
.feat svg{width:16px;height:16px;stroke:var(--accent);fill:none;
  stroke-width:1.3;stroke-linecap:round;stroke-linejoin:round;}

/* The wide card has room for three columns rather than two, so the features
   get a column of their own instead of sitting under the room detail. */
.options.feature .option.wide .option-body{
  grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1fr);}
.options.feature .option.wide .option-room-meta{grid-column:1;grid-row:1 / 3;}
.options.feature .option.wide .option-features{grid-column:2;grid-row:1 / 3;
  margin-top:0;padding-top:0;border-top:none;padding-left:0;padding-right:20px;gap:13px 16px;}
.options.feature .option.wide .option-stay{grid-column:3;grid-row:1;}
.options.feature .option.wide .option-price-block{grid-column:3;grid-row:2;}

/* One column on a phone, in reading order: the room, the stay, the price, then
   what tells the room apart. The gutter rule goes with the second column. */
@media (max-width:620px){
  /* The room keeps a column beside its features, which is the one pairing a
     phone is still wide enough to hold. The stay and the price drop below and
     run the full width, divided off by the hairline that separates the columns
     on a desktop. */
  .option-body,
  .options.feature .option.wide .option-body{
    grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:14px;}
  .option-room-meta,
  .options.feature .option.wide .option-room-meta{grid-column:1;grid-row:1;padding-right:0;}
  .option-features,
  .options.feature .option.wide .option-features{grid-column:2;grid-row:1;
    margin-top:0;padding-top:0;border-top:none;padding-left:0;padding-right:0;
    grid-template-columns:minmax(0,1fr);}
  .option-stay,
  .options.feature .option.wide .option-stay{grid-column:1 / -1;grid-row:2;
    margin-top:13px;padding-top:12px;border-top:1px solid var(--line);}
  .option-price-block,
  .options.feature .option.wide .option-price-block{grid-column:1 / -1;grid-row:3;}
  .option-stay,.option-price-block{padding-left:0;border-left:none;}
}
.option-price-block{margin-top:0;}
.option-meta{font-size:12px;font-weight:300;color:var(--soft);line-height:1.75;}
/* Now the first thing on the card, so it reads as its title rather than as
   another line of detail. */
.option-room{margin:0 0 1px;font-size:14px;font-weight:400;color:var(--ink);line-height:1.35;}
.option-rate{margin-top:4px;color:var(--accent);font-size:11.5px;letter-spacing:.04em;text-transform:uppercase;}
.option-price{font-size:16px;font-weight:400;padding-top:12px;color:var(--ink);}
.option-price-note{font-size:11px;color:var(--soft);margin-top:1px;}
/* The total is the line the guest is really looking for, so it is banded
   rather than merely ruled off. The text darkens to --ink with it: the soft
   grey reads at 2.3:1 on this background, below the legible threshold, where
   --ink gives 5.2:1. Backgrounds are forced to print further down. */
.option-total{font-size:12px;color:var(--ink);margin-top:10px;
  padding:8px 11px;background:var(--band);border-radius:3px;}

/* ---------- carousel ---------- */
/* contain:layout scopes layout work to the carousel box, so redrawing the
   preview while the specialist types does not force the browser back through
   every room photograph. The box is a fixed height already, so this changes
   nothing visible. Paint containment is deliberately NOT used: it promotes a
   compositing layer, which drops the arrow glyphs to greyscale antialiasing.
   The hero sizes itself from its image, so it is excluded below. */
/* Sized by ratio rather than a fixed pixel height, so the photograph grows
   with the card instead of flattening out as the page gets wider. Anything
   that passes an explicit height (hero, transfer, club) keeps that height,
   because a set height makes the browser ignore the ratio. */
.option-media{position:relative;aspect-ratio:16/10;background:var(--panel);overflow:hidden;
  contain:layout;
  -webkit-tap-highlight-color:transparent;-webkit-user-select:none;user-select:none;touch-action:pan-y;}
.option-media img{-webkit-user-drag:none;user-select:none;pointer-events:none;}
.option-slide{position:absolute;top:0;right:0;bottom:0;left:0;opacity:0;transition:opacity .25s ease;}
.option-slide.active{opacity:1;}
.option-slide img{width:100%;height:100%;object-fit:cover;display:block;}
.option-badge{position:absolute;top:50%;left:0;right:0;transform:translateY(-50%);text-align:center;
  font-size:11px;letter-spacing:.1em;color:var(--accent);}
.option-media.has-images .option-badge{top:8px;left:8px;right:auto;transform:none;
  background:rgba(255,255,255,.9);color:var(--ink);padding:3px 8px;border-radius:3px;}
.option.selected .option-badge::after{content:" \2713";}
.option.selected .option-media.has-images .option-badge{background:var(--ink);color:#fff;font-weight:500;letter-spacing:.12em;}
.option.selected .option-media:not(.has-images) .option-badge{color:var(--ink);font-weight:500;}
.car-nav{display:none;position:absolute;top:50%;transform:translateY(-50%);width:26px;height:26px;border:none;
  border-radius:50%;background:rgba(255,255,255,.88);color:var(--ink);font-size:15px;line-height:1;cursor:pointer;
  align-items:center;justify-content:center;padding:0;-webkit-tap-highlight-color:transparent;user-select:none;}
.car-nav:hover{background:#fff;}
.car-nav.prev{left:8px;}
.car-nav.next{right:8px;}
.car-dots{display:none;position:absolute;bottom:8px;left:0;right:0;justify-content:center;gap:5px;}
.car-dot{width:6px;height:6px;border-radius:50%;border:none;padding:0;background:rgba(255,255,255,.55);
  cursor:pointer;-webkit-tap-highlight-color:transparent;}
.car-dot.active{background:#fff;}
.option-media.multi .car-nav,.option-media.multi .car-dots{display:flex;}
.car-nav:focus,.car-dot:focus{outline:none;}
.car-nav:focus-visible,.car-dot:focus-visible{outline:2px solid var(--accent);outline-offset:2px;}

/* hero carousel */
.option-media.hero{height:auto;aspect-ratio:auto;line-height:0;contain:none;}
.option-media.hero .option-slide{position:relative;top:auto;right:auto;bottom:auto;left:auto;opacity:1;display:none;transition:none;}
.option-media.hero .option-slide.active{display:block;}
.option-media.hero img{width:100%;height:auto;object-fit:fill;}
/* Once the first photograph has loaded the hero is pinned to a ratio rather
   than the pixel height the markup carries, so it widens with the page instead
   of turning into a letterbox. Print overrides this with a millimetre height. */
.option-media.hero.fixed{overflow:hidden;height:auto !important;aspect-ratio:21/9;}
.option-media.hero.fixed .option-slide{position:absolute;top:0;right:0;bottom:0;left:0;height:100%;}
.option-media.hero.fixed .option-slide.active{display:block;}
.option-media.hero.fixed img{height:100%;object-fit:cover;}

/* ---------- enquiry form ---------- */
.enquiry{margin-bottom:30px;}
.enquiry-label{font-size:11px;letter-spacing:.1em;text-transform:uppercase;color:var(--soft);display:block;margin-bottom:8px;}
.enquiry textarea{font-family:var(--font);font-size:12.5px;line-height:1.6;color:var(--ink);width:100%;min-height:92px;
  padding:10px 12px;border:1px solid var(--line);border-radius:6px;background:#fff;resize:vertical;}
.enquiry textarea:focus{outline:none;border-color:var(--accent);}
.enquiry-actions{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin-top:14px;}
.btn-send{font-family:var(--font);font-size:12.5px;letter-spacing:.06em;padding:12px 28px;background:var(--ink);
  color:#fff;border:none;border-radius:6px;cursor:pointer;}
.btn-send:disabled{opacity:.55;cursor:default;}
.enquiry-error{font-size:12px;color:var(--error);}
.confirmation{border:1px solid var(--line);border-radius:6px;background:var(--panel);padding:26px 24px;margin-bottom:30px;text-align:center;}
.confirmation .c1{font-size:14px;font-weight:400;color:var(--ink);margin-bottom:8px;letter-spacing:.02em;}
.confirmation .c2{font-size:12px;line-height:1.65;color:var(--soft);margin:0;}
.doc-placeholder{border:1px dashed var(--line);border-radius:6px;padding:34px 20px;text-align:center;
  font-size:12px;color:var(--accent);margin-bottom:30px;}

/* ---------- fine print ---------- */
/* The band is held to the text measure rather than its paragraphs being held
   inside a full-width box, which left an awkward pool of grey on the right. */
.fineband{background:var(--panel);padding:18px 20px;border-radius:6px;margin-bottom:30px;font-size:11.5px;
  line-height:1.7;font-weight:300;color:var(--soft);max-width:var(--measure);}
.fineband p{margin:0 0 10px;}
.fineband p:last-child{margin:0;}
.section-title{font-size:12.5px;font-weight:400;text-transform:uppercase;letter-spacing:.1em;color:var(--ink);margin:26px 0 12px;}
.sub-title{font-size:12px;letter-spacing:.12em;text-transform:uppercase;color:var(--accent);margin:16px 0 8px;}
.fine{font-size:12px;line-height:1.7;font-weight:300;color:var(--soft);margin:0 0 12px;max-width:var(--measure);}
ul.fine{padding-left:18px;margin:0 0 14px;}
.fine.label{margin-bottom:4px;}
.closing{border-top:1px solid var(--line);margin-top:26px;padding-top:22px;}
.closing p.lead{font-size:13px;line-height:1.75;font-weight:300;color:var(--ink);margin:0 0 18px;max-width:var(--measure);}
.closing p.a{font-size:13px;font-weight:300;margin:0 0 2px;}
.closing p.b{font-size:13px;font-weight:300;margin:18px 0 0;}
.closing p.c{font-size:13px;font-weight:400;margin:2px 0 0;color:var(--ink);}
.closing p.d{font-size:12px;color:var(--soft);margin:1px 0 0;}
.footer{text-align:center;margin-top:34px;padding:26px 52px 0;border-top:1px solid var(--line);}
.footer .f1{font-family:var(--font-display);font-size:16px;font-weight:200;letter-spacing:.24em;}
.footer .f2{font-family:var(--font-display);font-size:8.5px;font-weight:400;letter-spacing:.32em;color:var(--soft);margin-top:5px;margin-bottom:14px;}
.footer .f3{font-size:11.5px;line-height:1.8;font-weight:300;color:var(--soft);}

.offer-unavailable{padding:60px 52px;text-align:center;}
.offer-unavailable .u1{font-size:15px;font-weight:400;color:var(--ink);margin-bottom:10px;letter-spacing:.02em;}
.offer-unavailable .u2{font-size:12.5px;line-height:1.7;color:var(--soft);margin:0;}

/* ---------- print ---------- */

/* ---------- guests, source and other panel controls ---------- */
.checkrow{display:flex;gap:14px;align-items:center;min-height:34px;}
.checkitem{display:flex;align-items:center;gap:6px;font-size:12.5px;color:var(--ink);cursor:pointer;}
.childages{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:14px;}
.childages .field{margin-bottom:0;min-width:0;}
.section-note.warn{color:var(--ink);font-weight:500;}

/* A deselected cancellation row stays visible but reads as inactive. */
.cancel-row.off input{opacity:.45;}
.cancel-tick{display:flex;align-items:center;}

/* ---------- the logo, once the file is present ---------- */
/* Capped on both sides so a wide lockup and a stacked one (palm above the
   wordmark) both sit sensibly. A tall logo is limited by its height rather
   than running the masthead to 250px deep. */
.logo-img{display:block;margin:0 auto;max-width:210px;max-height:118px;width:auto;height:auto;}

/* ---------- extra bed note on an option card ---------- */
.option-extra{margin-top:2px;color:var(--accent);font-size:11.5px;letter-spacing:.03em;}

/* ---------- transfer ---------- */
.transfer{margin-top:30px;margin-bottom:34px;}
.transfer-body{display:grid;grid-template-columns:300px 1fr;gap:22px;align-items:start;margin-top:10px;}
/* Carries an explicit height in the markup, so the ratio has to be released or
   the browser derives the width from it and overflows a narrow column. */
.transfer-media{border-radius:6px;aspect-ratio:auto;}
.transfer-text{min-width:0;}
.transfer-name{font-size:13.5px;color:var(--ink);margin-bottom:4px;}
.transfer-price{font-size:16px;color:var(--ink);padding-top:8px;}
.transfer-price-note{font-size:11px;color:var(--soft);margin-top:1px;}
@media (max-width:620px){ .transfer-body{grid-template-columns:1fr;} }

/* ---------- dining, experiences, wellness ---------- */
.docpanels{margin-top:28px;border-top:1px solid var(--line);}
.docpanel{border-bottom:1px solid var(--line);}
.docpanel>summary{list-style:none;cursor:pointer;padding:13px 0;font-size:12px;letter-spacing:.14em;
  text-transform:uppercase;color:var(--accent);position:relative;}
.docpanel>summary::-webkit-details-marker{display:none;}
.docpanel>summary::after{content:"+";position:absolute;right:2px;top:11px;font-size:15px;color:var(--soft);}
.docpanel[open]>summary::after{content:"\2013";}
.docpanel-body{padding:0 0 16px;font-size:12.5px;font-weight:300;line-height:1.75;color:var(--ink);max-width:var(--measure);}
.docpanel-link a{color:var(--accent);}
/* One photograph per panel, above its text. Full width of the document and
   whatever proportions the file has. */
.docpanel-media{line-height:0;border-radius:4px;overflow:hidden;margin:2px 0 14px;}
.docpanel-media img{display:block;width:100%;height:auto;}

/* ---------- closing promotional block ---------- */
.club{margin-top:30px;border:1px solid var(--line);border-radius:6px;overflow:hidden;}
.club-media{border-radius:0;aspect-ratio:auto;}
.club-text{padding:16px 18px;}
.club-title{font-size:13.5px;letter-spacing:.1em;text-transform:uppercase;color:var(--ink);margin-bottom:6px;}

.fine.contact{margin-top:24px;}

/* ---------- price breakdown ----------
   The itemisation from the quotation this replaces. Collapsed by default so
   the offer still reads as an offer rather than an invoice. */
.breakdown{border:1px solid var(--line);border-radius:6px;margin:0 0 30px;}
.breakdown>summary{list-style:none;cursor:pointer;padding:12px 16px;
  font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:var(--accent);position:relative;}
.breakdown>summary::-webkit-details-marker{display:none;}
.breakdown>summary::after{content:"+";position:absolute;right:16px;top:10px;font-size:15px;color:var(--soft);}
.breakdown[open]>summary::after{content:"\2013";}
.breakdown[open]>summary{border-bottom:1px solid var(--line);}
.bd-body{padding:4px 16px 14px;}
.bd-block{padding:12px 0;}
.bd-block + .bd-block{border-top:1px solid var(--line);}
.bd-head{font-size:12px;font-weight:400;color:var(--ink);margin-bottom:8px;letter-spacing:.02em;}
.bd-row{display:grid;grid-template-columns:1fr auto;gap:16px;align-items:baseline;
  font-size:12px;font-weight:300;color:var(--soft);line-height:1.7;}
.bd-row.bd-strong{color:var(--ink);font-weight:400;margin-top:6px;padding-top:6px;
  border-top:1px solid var(--line);}
.bd-n{color:var(--accent);font-size:11px;}
.bd-a{font-variant-numeric:tabular-nums;white-space:nowrap;}
@media (max-width:620px){
  .bd-row{grid-template-columns:1fr auto;gap:10px;}
  .bd-n{display:block;}
}

/* ---------- promotional banners ----------
   Full document width, keeping whatever proportions the artwork has. The link
   gets a visible focus ring because it is an image link with no text of its
   own, so there is nothing else to show a keyboard user where they are. */
.banners{margin-top:34px;display:flex;flex-direction:column;gap:14px;}
.banner{position:relative;line-height:0;border-radius:4px;overflow:hidden;}
.banner img{display:block;width:100%;height:auto;}
.banner a{display:block;}
.banner a:focus-visible{outline:2px solid var(--accent);outline-offset:3px;}

/* Wording laid over the photograph. The scrim is not decoration: white text on
   an unknown photograph is unreadable wherever the image happens to be pale,
   and a gradient darkens the side the text sits on without flattening the
   picture. It fades out by 62% so the subject stays visible. */
.banner-text{position:absolute;top:0;left:0;bottom:0;width:100%;
  display:flex;flex-direction:column;justify-content:center;
  padding:0 7%;line-height:1.3;pointer-events:none;
  background:linear-gradient(90deg,rgba(18,22,20,.62) 0%,rgba(18,22,20,.42) 38%,rgba(18,22,20,0) 62%);}
.banner-text .bt1{font-family:var(--font-display);font-size:19px;font-weight:300;
  letter-spacing:.12em;text-transform:uppercase;color:#fff;}
.banner-text .bt2{font-size:12.5px;font-weight:300;letter-spacing:.02em;
  color:rgba(255,255,255,.88);margin-top:7px;max-width:62%;}
@media (max-width:620px){
  .banner-text{padding:0 6%;
    background:linear-gradient(90deg,rgba(18,22,20,.68) 0%,rgba(18,22,20,.5) 55%,rgba(18,22,20,.2) 100%);}
  .banner-text .bt1{font-size:15px;letter-spacing:.1em;}
  .banner-text .bt2{font-size:11.5px;margin-top:5px;max-width:100%;}
}

/* ---------- narrow screens ----------
   The guest opens this link wherever they happen to be, so the document has to
   hold up on a phone. The side padding is the main thing: 52px of each is a
   third of a phone screen. */
@media (max-width:760px){
  /* The hero carries a fixed height in the markup, which is right on a desktop
     and far too deep on a phone, where it would fill most of the first screen
     before the guest has read a word. */
  .option-media.hero,.option-media.hero.fixed{height:auto !important;aspect-ratio:3/2;}
  .doc-body{padding:28px 24px 0;}
  .footer{padding:24px 24px 0;}
  .offer-unavailable{padding:48px 24px;}
  .masthead{padding:24px 0 18px;}
}
@media (max-width:420px){
  .doc-body{padding:24px 18px 0;}
  .footer{padding:22px 18px 0;}
  .logo-img{max-width:170px;max-height:96px;}
}


/* ---------- alternative offer layouts ----------
   Swap the class on .options to change the arrangement. The card markup is
   identical in all three, so nothing in the renderer changes.
     (default)  two per row, photograph above the detail
     .stacked   one per row, photograph beside the detail
     .feature   two per row, with a third card running the full width
*/
.options.stacked{grid-template-columns:1fr;}
.options.stacked .option{display:grid;grid-template-columns:300px 1fr;align-items:stretch;}
.options.stacked .option-media{height:100% !important;min-height:210px;aspect-ratio:auto !important;}
.options.stacked .option-body{padding:18px 20px;}

/* The wide card keeps the ordinary shape, photograph above detail, and simply
   runs the full width with a taller carousel so the premium option is the one
   the eye lands on. */
.options.feature .option.wide{grid-column:1 / -1;}
.options.feature .option.wide .option-media{height:auto !important;aspect-ratio:3/1;}
.options.feature .option.wide .option-body{padding:18px 20px;}

@media (max-width:620px){
  .options.stacked .option{grid-template-columns:1fr;}
  .options.stacked .option-media{height:150px !important;min-height:0;aspect-ratio:auto !important;}
  /* Stacked into one column on a phone, so the wide card is no longer wide and
     takes the same ratio as the rest. */
  .options.feature .option.wide .option-media{height:auto !important;aspect-ratio:16/10;}
}
@media print{
  .options.stacked .option-media{height:150px !important;min-height:0;aspect-ratio:auto !important;}
  .options.feature .option.wide .option-media{height:172px !important;aspect-ratio:auto !important;}
}

@media print{
  /* On paper the column is already the right measure, so any on-screen text
     width is released. Left in place it would narrow every paragraph to 89% of
     the page and push the document onto an extra sheet. */
  :root{--measure:none;}
  .transfer-body{grid-template-columns:260px 1fr;gap:18px;}
  html,body{background:#fff !important;height:auto !important;min-height:0 !important;overflow:visible !important;}
  .no-print{display:none !important;}
  .layout{display:block !important;max-width:none !important;height:auto !important;overflow:visible !important;}
  .preview{display:block !important;padding:0 !important;height:auto !important;overflow:visible !important;}
  /* The browser draws its own date, title and page number into the page
     margin box, which is where "COMO Offer Builder" was coming from. With no
     page margin there is no margin box, so those disappear and the offer is
     the only thing on the paper. The white space is recreated as padding
     here instead. */
  .print-area{box-shadow:none !important;margin:0 !important;width:auto !important;max-width:none !important;
    height:auto !important;overflow:visible !important;padding:14mm 13mm !important;
    -webkit-box-decoration-break:clone;box-decoration-break:clone;}
  .doc-body{padding:22px 0 0 !important;}
  .footer{padding:26px 0 0 !important;}
  .masthead{padding:10px 0 18px !important;background:#fff !important;}
  /* Every forced height clears the ratio with it. A definite height alongside
     an aspect ratio lets the browser work the width out from the ratio, which
     is how the hero once came out wider than the page it sat on. */
  .option-media{height:132px !important;aspect-ratio:auto !important;}
  /* The hero carries an inline height from the renderer, and the rule above
     is !important, so the hero needs its own !important rule at higher
     specificity or it collapses to the room-card height. */
  .option-media.hero,
  .option-media.hero.fixed{height:85mm !important;max-height:85mm !important;aspect-ratio:auto !important;}
  .option-media.hero.fixed img{height:100% !important;object-fit:cover !important;}
  .option-slide{opacity:0 !important;}
  .option-slide:first-child{opacity:1 !important;}
  .option-media.hero .option-slide{display:none !important;}
  .option-media.hero .option-slide:first-child{display:block !important;}
  .car-nav,.car-dots{display:none !important;}
  /* A closed section prints as nothing, so every panel is opened for the PDF
     and its toggle affordance removed. */
  .docpanel>summary{list-style:none;}
  .docpanel>summary::after{display:none !important;}
  .docpanel-body{display:block !important;}
  .docpanel,.transfer,.club{break-inside:avoid;page-break-inside:avoid;}
  .option-features{break-inside:avoid;page-break-inside:avoid;}
  .feat{font-size:10.5px;}
  /* Panels force open on paper, so their photographs would add roughly a page
     to a document whose purpose is still undecided. The text and link print;
     the pictures are a screen flourish. Delete this line to print them. */
  .docpanel-media{display:none !important;}
  .transfer-media{height:150px !important;aspect-ratio:auto !important;}
  .club-media{height:150px !important;aspect-ratio:auto !important;}
  .option{break-inside:avoid;page-break-inside:avoid;}
  .fineband,.closing,.confirmation{break-inside:avoid;page-break-inside:avoid;}
  .section-title,.sub-title{break-after:avoid;page-break-after:avoid;break-inside:avoid;}
  p.fine,ul.fine,.intro{orphans:3;widows:3;}
  *{-webkit-print-color-adjust:exact !important;print-color-adjust:exact !important;}
  @page{margin:0;}
}
