/* The page of one package (1.75.0): the designer's brand/generated/mockups/package-page-v3-* and its numbers
   (package-page-v3-NOTES_AR.md). A phone: one column, and the order button with the total inside it in a bar fixed at the
   foot (76px). A wide screen: the package and its parts, and beside them a column of 420px with the extras and the button,
   which stays in sight. Nothing changes its size when an extra is chosen: a row is one height, a counter and a box one size. */
.pg3{padding-top:12px}
.pg3-form{display:block}
.pg3-seg{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:2px;height:44px;box-sizing:border-box;padding:3px;border-radius:14px;background:#E3E6EA}
.pg3-seg a{display:grid;place-items:center;border-radius:11px;color:#4F5A73;font-family:var(--font-heading);font-weight:600;font-size:var(--fs-ui);text-decoration:none;white-space:nowrap}
.pg3-seg a.on{background:var(--navy);color:#fff}
.pg3-seg a:focus-visible{outline:2px solid var(--mint);outline-offset:1px}
.pg3-card{border-radius:22px;background:#fff;box-shadow:0 2px 12px rgba(18,40,76,.08)}
.pg3-hero{margin-top:10px;padding:10px 10px 14px}
.pg3-pics{display:grid;gap:8px;height:150px}
.pg3-pics.pg3-n2{grid-template-columns:repeat(2,minmax(0,1fr))}
.pg3-pic{display:flex;align-items:center;justify-content:center;min-height:0;padding:14px;border-radius:14px;background:#E3E6EA;overflow:hidden}
.pg3-pic img{display:block;max-width:100%;max-height:100%;width:auto;height:auto}
.pg3-sys{margin:12px 4px 0;font-family:var(--font-heading);font-weight:600;font-size:var(--fs-small);line-height:20px;color:var(--mint-ink)}
.pg3 h1{margin:0 4px;font-family:var(--font-heading);font-weight:700;font-size:var(--fs-h1);line-height:32px;color:var(--navy)}
.pg3-price{display:flex;align-items:center;height:40px;margin:4px 4px 0}
.pg3-kd{font-family:var(--font-latin);font-weight:700;font-size:var(--fs-small);white-space:nowrap;color:var(--navy)}
.pg3-kd b{font-size:var(--fs-num);font-weight:700}
.pg3-kd.pg3-big{font-size:var(--fs-num)}
.pg3-kd.pg3-big b{font-size:var(--fs-price-card);line-height:1}
.pg3-kd.pg3-big s{font-size:var(--fs-num);font-weight:400;color:#7A8499}
.pg3-inc{margin:2px 4px 0;font-size:var(--fs-small);line-height:20px;color:#4F5A73}
.pg3-h{display:flex;align-items:center;gap:8px;margin:18px 0 8px;font-family:var(--font-heading);font-weight:700;font-size:var(--fs-h2);line-height:30px;color:var(--navy)}
.pg3-h b{display:inline-flex;align-items:center}
.pg3-h b::before{content:"";width:20px;height:2px;background:var(--navy)}
.pg3-h b::after{content:"";width:8px;height:8px;border-radius:50%;background:var(--mint)}
.pg3-parts{margin:0;padding:4px 14px;list-style:none}
.pg3-parts li{display:grid;grid-template-columns:26px minmax(0,1fr);gap:10px;align-items:start;padding:10px 0;font-size:var(--fs-ui);line-height:22px}
.pg3-parts li+li{border-top:1px solid #E6E8EB}
.pg3-no{width:26px;height:26px;border-radius:50%;background:var(--mint-soft);color:var(--mint-ink);font-family:var(--font-latin);font-weight:700;font-size:var(--fs-small);line-height:26px;text-align:center}
.pg3-opts{padding:0 14px}
.pg3-opt{display:flex;align-items:center;gap:10px;min-height:64px;box-sizing:border-box;padding:8px 0;cursor:pointer}
div.pg3-opt{cursor:default}
.pg3-opt+.pg3-opt{border-top:1px solid #E6E8EB}
.pg3-opt-t{flex:1;min-width:0;font-size:var(--fs-ui);line-height:22px}
.pg3-quiet .pg3-opt-t{color:#4F5A73}
.pg3-opt-p{flex:none;display:flex;flex-direction:column;align-items:flex-end}
.pg3-opt-p small{font-size:var(--fs-small);line-height:18px;color:#4F5A73}
.pg3-box{flex:none;appearance:none;-webkit-appearance:none;display:grid;place-items:center;width:24px;height:24px;margin:0;border:1.5px solid #7A8499;border-radius:8px;background:#fff;cursor:pointer}
.pg3-box::after{content:"";width:11px;height:6px;margin-top:-3px;border:solid #fff;border-width:0 0 2.4px 2.4px;transform:rotate(-45deg);opacity:0}
.pg3-box:checked{border-color:var(--mint-ink);background:var(--mint-ink)}
.pg3-box:checked::after{opacity:1}
.pg3-box:focus-visible,.pg3-step button:focus-visible,.pg3-step input:focus-visible{outline:2px solid var(--mint);outline-offset:2px}
.pg3-step{flex:none;display:grid;grid-template-columns:36px 28px 36px;align-items:center;height:40px;box-sizing:border-box;padding:2px;border-radius:12px;background:#F1F2F2}
.pg3-step button{display:grid;place-items:center;height:36px;padding:0;border:0;border-radius:10px;background:#fff;color:var(--navy);cursor:pointer}
.pg3-step button:disabled{opacity:.4;cursor:default}
.pg3-step button .ico{width:14px;height:14px;stroke-width:2.6}
.pg3-step input{width:28px;height:36px;margin:0;padding:0;border:0;background:none;text-align:center;font-family:var(--font-latin);font-weight:700;font-size:var(--fs-body);color:var(--navy);-moz-appearance:textfield;appearance:textfield}
.pg3-step input::-webkit-outer-spin-button,.pg3-step input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.pg3-cap{visibility:hidden;margin:0;padding:0 0 10px;font-size:var(--fs-small);line-height:20px;color:#4F5A73}      /* shown when a counter is at its top; its line is always kept, so the card never grows */
.pg3-cap.on{visibility:visible}
.pg3-cap a{color:var(--mint-ink);font-weight:600}
.pg3-note{margin:10px 0 0;padding:10px 14px;border-radius:14px;background:#FFF7E0;color:#6B5200;font-size:var(--fs-small);line-height:21px}
.pg3 .terms{margin-top:10px}
.pg3-order{margin-top:14px}
/* the bar at the foot: one button, the total inside it */
.pg3-bar{padding:12px 0 calc(12px + env(safe-area-inset-bottom))}
.pg3-bar .pg3-sum{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.pg3-bar .ask-row{display:block;margin:0}
.pg3-bar .btn.btn-primary{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;height:52px;min-height:0;box-sizing:border-box;margin:0;padding:0 18px;border-radius:16px;font-family:var(--font-heading);font-weight:600;font-size:var(--fs-btn);white-space:nowrap}
.pg3-kd.pg3-in{color:#fff}
.pg3-kd.pg3-in b{font-size:var(--fs-h2)}
body.has-total .pg3{padding-bottom:96px}

/* 1.77.0, a camera package (package-page-v3-cameras-*): the two switches over the card, the scenes as its picture, a device's
   picture beside its line, the yearly contract as a line under the button, and the coverage plan */
.pg3-top{display:block}
.pg3-sw{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(0,1fr);gap:8px}
.pg3-lat a{font-family:var(--font-latin);font-weight:700;font-size:var(--fs-item)}
.pg3-help{display:inline-flex;align-items:center;gap:6px;height:44px;color:var(--mint-ink);font-family:var(--font-heading);font-weight:600;font-size:var(--fs-ui);text-decoration:none}
.pg3-help .ico{width:14px;height:14px}
.pg3-cam .pg3-hero{margin-top:0}
.pg3-cam .pk-pic{border-radius:14px}
.pg3-pp li{grid-template-columns:26px minmax(0,1fr) auto;align-items:center}
.pg3-pp li img{display:block;width:56px;height:36px;object-fit:contain}
.pg3-opt-t small,.pg3-pp small{display:block;font-size:var(--fs-small);line-height:20px;color:#4F5A73}
.pg3-cam .pg3-bar .wrap{display:flex;flex-direction:column}
.pg3-plus{order:9;margin:6px 0 0;font-size:var(--fs-small);line-height:20px;color:#4F5A73;text-align:center}
.pg3-plus[hidden]{display:none}
.pg3-plus b{color:var(--navy)}
body.has-total .pg3-cam:has([data-addon]:checked){padding-bottom:124px}
.pg3-cam .pg3-cols{display:flex;flex-direction:column}
.pg3-cam .pg3-main,.pg3-cam .pg3-side{display:contents}
.pg3-cam .pg3-cover{order:2;margin-top:18px}
.pg3-cam .pg3-side>.terms,.pg3-cam .pg3-order,.pg3-cam .pg3-bar{order:3}
.pg3-cam .pg3-side>.pg3-h,.pg3-cam .pg3-opts,.pg3-cam .pg3-note{order:1}
.pg3-cam .cp .cp-head h2{padding:0;font-family:var(--font-heading);font-weight:700;font-size:var(--fs-h2);line-height:30px;white-space:normal}
.pg3-cam .cp .cp-head h2::before,.pg3-cam .cp .cp-head h2::after{content:none}
.pg3-cam .cp .cp-chips{flex-wrap:wrap;overflow:visible;margin-inline:0;padding-inline:0}
.pg3-cam .cp .cp-chips label{font-size:var(--fs-small)}
.pg3-cam .cp-see{display:none}                 /* a phone: the scenes are the card's picture at the head of the page */

@media (min-width:900px){
  .pg3{padding-top:20px}
  .pg3-seg{width:420px}
  .pg3-cols{display:grid;grid-template-columns:minmax(0,1fr) 420px;gap:24px;align-items:start;margin-top:14px}
  .pg3-hero{margin-top:0;padding:14px 14px 18px}
  .pg3-pics{height:240px}
  .pg3 h1{line-height:40px}
  .pg3-inc,.pg3-sys{font-size:var(--fs-small)}
  .pg3-side{position:sticky;top:calc(var(--header-h) + 16px)}
  .pg3-side .pg3-h:first-child{margin-top:0}
  .pg3-bar{position:static;inset:auto;margin-top:14px;padding:0;border:0;border-radius:0;box-shadow:none;background:none}
  .pg3-bar .wrap{padding:0;max-width:none}
  .pg3-bar .btn.btn-primary{height:56px}
  body.has-total .pg3{padding-bottom:32px}
  .pg3-top{display:flex;align-items:center;gap:20px}
  .pg3-sw{width:420px}
  .pg3-sw .pg3-seg{width:auto}
  .pg3-cam .pg3-cols{display:grid;margin-top:6px}
  .pg3-cam .pg3-main,.pg3-cam .pg3-side{display:block}
  .pg3-cam .pg3-main{grid-column:1;grid-row:1}
  .pg3-cam .pg3-cover{grid-column:1;grid-row:2;margin-top:0}
  .pg3-cam .pg3-side{grid-column:2;grid-row:1/span 2;display:flex;flex-direction:column}
  .pg3-cam .pg3-side>.pg3-order{order:1}
  .pg3-cam .pg3-side>.pg3-bar{order:2}
  .pg3-cam .pg3-side>.terms{order:3;margin-top:14px}          /* the drawing: the extras, the button, then the terms */
  .pg3-cam .cp-see{display:block}
  .pg3-plus{margin-top:8px}
  body.has-total .pg3-cam:has([data-addon]:checked){padding-bottom:32px}
}

/* 1.81.0, the package's order bar on a phone (the designer's assistant-fab-v4, screen 2): the bar with the hump (static/app.css) —
   the package's name on its side, with the maintenance's yearly line under it when it is added, and the button with the
   total under its word. On a wide screen the name is not drawn (the page's own heading is beside it) and the line stands
   under the button as it did. */
.pg3-who>b{display:none}
.pg3-cam .pg3-bar .pg3-who{order:9}
@media (max-width:899px){
  .totalbar.pg3-bar>.wrap,.pg3-cam .totalbar.pg3-bar>.wrap{display:contents}
  .totalbar.pg3-bar .ask-row{display:contents}          /* the script that opens the order’s sheet wraps the button in a row of its own */
  .totalbar.pg3-bar .pg3-who{grid-column:1;order:0;display:grid;align-content:center;gap:0;min-width:0;max-height:64px;overflow:hidden}
  .totalbar.pg3-bar .pg3-who>b{display:block;font-family:var(--font-heading);font-weight:600;font-size:var(--fs-ui);line-height:21px;color:#1F2A4B}
  .totalbar.pg3-bar .pg3-plus{order:0;margin:0;font-size:var(--fs-small);line-height:16px;text-align:start}
  .totalbar.pg3-bar .btn.btn-primary{grid-column:3;display:grid;align-content:center;justify-items:center;justify-content:center;gap:0;height:52px;padding:0 6px;border-radius:16px;font-size:var(--fs-ui);line-height:20px}
  .totalbar.pg3-bar .btn .pg3-kd{color:inherit;line-height:20px}
}

/* 1.82.8, Deema's line under the price (payment-v1 §3, kept in v2): only while Deema is on — its mark and a fixed sentence, no widget, no sum per payment */
.pg3-deema{display:flex;align-items:center;gap:8px;margin:10px 0 0;padding-top:10px;border-top:1px solid var(--line);font-size:var(--fs-ui);line-height:22px;color:var(--navy)}
.pg3-deema .pay-logo{flex:none;width:56px;height:24px;min-width:0}
