/* GC Card Add — the size picker a card with sizes opens from its basket
   (inc/gc-card-add.php). Its own file because the basket is styled by two
   stylesheets that never load together, gc-shop-archive.css and
   gc-card-grid-1.css, and both depend on this one.

   The picker is a sibling of the button, so it sits in whichever box
   positions the button on each surface — the card's media, the whole tile on
   GC Card Grid 1 —
   and is pinned across the bottom of it. z-index 7 clears the reviews chip (6)
   and the button (5). Open, the card keeps its basket on screen with it.

   Each size is an a.button, for wc-add-to-cart.js, so the list's class is in
   every size selector: `.woocommerce a.button` would otherwise paint it as the
   site's solid blue call to action. */
.gc-shop__sizes{position:absolute;left:8px;right:8px;bottom:8px;z-index:7;
  /* Never taller than the box it sits in, which clips (the media is overflow:hidden). */
  max-height:calc(100% - 16px);overflow-y:auto;box-sizing:border-box;
  padding:10px 10px 12px;border-radius:14px;background:rgba(255,255,255,.97);
  box-shadow:0 14px 30px -12px rgba(20,33,43,.55);backdrop-filter:blur(6px);
  color:var(--gc-ink,#14212B);font-size:13px;line-height:1.2;text-align:left;}
.gc-shop__sizes[hidden]{display:none;}
.gc-shop__sizes-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0 0 8px 2px;}
.gc-shop__sizes-title{font-weight:700;}
.gc-shop__sizes .gc-shop__sizes-close{display:inline-flex;align-items:center;justify-content:center;
  width:28px;height:28px;margin:0;padding:0;border:0;border-radius:999px;background:transparent;
  color:var(--gc-muted,#5A6B75);cursor:pointer;}
.gc-shop__sizes .gc-shop__sizes-close:hover{background:rgba(20,33,43,.08);color:var(--gc-ink,#14212B);}
.gc-shop__sizes-close svg{width:16px;height:16px;display:block;}
.gc-shop__sizes-list{display:flex;flex-wrap:wrap;gap:6px;}
.gc-shop__sizes .gc-shop__sizes-list .gc-shop__size{flex:1 1 60px;display:flex;flex-direction:column;align-items:center;gap:2px;
  min-width:0;margin:0;padding:7px 6px;border:1px solid rgba(20,33,43,.14);border-radius:10px;
  background:#fff;color:var(--gc-ink,#14212B);font-size:13px;font-weight:600;line-height:1.2;
  text-decoration:none;white-space:nowrap;transition:background .18s,color .18s,border-color .18s;}
.gc-shop__sizes .gc-shop__sizes-list a.gc-shop__size:hover{background:var(--gc-blue,#5BA7DB);border-color:var(--gc-blue,#5BA7DB);color:#fff;}
.gc-shop__sizes .gc-shop__sizes-list a.gc-shop__size:focus-visible{outline:2px solid var(--gc-orange,#F2994A);outline-offset:2px;}
.gc-shop__size-price{font-weight:500;opacity:.8;}
.gc-shop__size-price del{opacity:.6;margin-right:4px;}
.gc-shop__size-price ins{text-decoration:none;}
.gc-shop__sizes .gc-shop__sizes-list .gc-shop__size.is-out{opacity:.5;cursor:not-allowed;}
.gc-shop__sizes .gc-shop__sizes-list a.gc-shop__size.loading{opacity:.6;pointer-events:none;}
.gc-shop__sizes .gc-shop__sizes-list a.gc-shop__size::after{display:none;content:none;}
.gc-shop__sizes .added_to_cart{display:none;}
.gc-sizes-open{--gc-add-o:1;--gc-add-y:0px;--gc-add-s:1;--gc-add-pe:auto;}
