/* ============================================================
   GoGoVie skin for the stock platform pages (Phase 6): customer accounts, password page,
   cart page, search. Loaded after ggv-theme.css on every layout.

   1. Name clash. Stock fields and the design's form fields are both ".field". The design's
      rules (ggv-base.css: .field (0,1,0) column flex, .field label (0,1,1), .field input
      (0,1,1)) load after the stock base and would break the stock floating-label field:
      column layout, a second border, the label's padding gone. Stock fields always carry
      .field__input, so they are restored here at (0,2,0), with the stock values from
      public/base/index.css (.field, .field__label, .field__input). The design's own forms
      (no .field__input) are untouched.
   2. Skin. Stock fields keep their mechanics and take the design's colours, radius, type size
      and focus colour; stock buttons take the design's button shape; stock page titles take
      the design's display face.
   3. The other half of the same name clash, verified on the live store. Phase 6 only guarded
      the direction the design pushes onto stock fields; the reverse was never guarded. Stock
      .field declares eight things the design's .field rule (ggv-base.css, which declares only
      display, flex-direction and gap) never opposes, and they all landed on the design's OWN
      forms:
        align-items:center + justify-content:space-between  -> every label shrank to its text
                                                               width and centred
        margin-block-end:20px                               -> a phantom row gap on top of the
                                                               .fgrid gap
        background-color:rgb(var(--color-background))       -> a filled block behind the label
        font-size / line-height / color from the stock scheme
        width:100%
      and stock .field::after (position:absolute; inset:0; content:""; solid border;
      border-radius; box-shadow; z-index:1) drew a second bordered box around every field,
      label included. On .field.select that same ::after over-constrains the design's chevron:
      inset:0 supplies top:0 and left:0, so top beats the design's bottom:19px and left beats
      its right:16px, and the chevron rendered as a bordered 9px square in the top-left corner.
      Neutralised below for fields that are not stock fields, at (0,2,0) and (0,3,1), leaving
      part 1 untouched.
   ============================================================ */

/* 1. restore stock field mechanics */
.field:has(.field__input){flex-flow:row nowrap;align-items:center;justify-content:space-between;gap:0}
.field .field__label{font-size:inherit;font-weight:inherit;letter-spacing:normal;text-transform:none;color:var(--teal-soft)}
.field .field__input,.field .field__input:focus{
  background:none;border:none;border-radius:0;padding:24px 16px 10px;width:100%;outline:none;
}

/* 2. skin: the design's field look on the stock border layer (.field::after) */
.field:has(.field__input){background-color:var(--paper);font-size:16px}
.field:has(.field__input)::after{border:1px solid var(--line);border-radius:var(--r);box-shadow:none}
.field:has(.field__input):focus-within::after{border-color:var(--orange)}
.field:has(.field__input) .field__input{color:var(--ink)}

/* 3. the design's own fields: undo the stock .field declarations ggv-base.css never opposed,
   so the field is a plain column of label + control again, spaced only by the design's own
   gap, with no second border box. */
.field:not(:has(.field__input)){
  align-items:stretch;justify-content:flex-start;width:auto;margin-block-end:0;
  font-size:inherit;line-height:inherit;color:var(--ink);background-color:transparent;
}
.field:not(:has(.field__input))::after{content:none}

/* the chevron: drop the stock inset and border box, restore the design's own corner glyph */
.field.select:not(:has(.field__input))::after{
  content:"";inset:auto 16px 19px auto;width:9px;height:9px;
  border:0;border-right:2px solid var(--orange-ink);border-bottom:2px solid var(--orange-ink);
  border-radius:0;box-shadow:none;
}

/* stock buttons: the design's .btn shape (ggv-base.css .btn), colours stay with the scheme */
.customer-container .button:not(.button--link,.button--text,.button--icon),
.main-cart__container .button:not(.button--link,.button--text,.button--icon),
.main-search .button:not(.button--link,.button--text,.button--icon),
.main-password .button:not(.button--link,.button--text,.button--icon){
  font-family:var(--f-ui);font-weight:600;font-size:16px;letter-spacing:.005em;border-radius:var(--r);
}

/* stock page titles: the design's display face and tracking (ggv-base.css h1-h4) */
.customer__title,.customers-forgot-password__title,.main-search__title,
.customer-container .title4,.customer-container .title5{
  font-family:var(--f-disp);font-weight:400;letter-spacing:-.018em;
}

/* Password page: the theme logo (components/ggv/logo) inside the stock header's logo box, which
   sets the width from the section's logo width settings. */
.ggv-pw-logo img{display:block;width:100%;height:auto}

/* Notice panel above the login and account forms (components/ggv/notice), the design's .stock
   panel without the dot. */
.ggv-notice{margin:0 0 var(--sp-4);padding:var(--sp-3) 14px;
  background:var(--clinical-wash);border-radius:var(--r);font-size:14.5px;line-height:1.45;color:var(--clinical)}
.ggv-notice p{margin:0}.ggv-notice p + p{margin-top:8px}
.ggv-notice a{color:inherit;text-decoration:underline}
