/* COSMO gift card add-on — GIFTCARD-1202 r1. Scoped to .cgc-* / #cosmo-gc-*; the rest of the storefront is not restyled. */
:root{--cgc-navy:#082252;--cgc-gold:#bf9b60;--cgc-paper:#faf9f6;--cgc-ink:#1d1d1b;--cgc-mute:#5c5a55;--cgc-line:#d9d4ca}
/* menu pill: navy outlined pill with a gold accent; on the navy desktop header the outline is gold so it stays visible */
.cgc-pill{display:inline-flex;align-items:center;gap:7px;margin-inline-start:14px;padding:6px 14px 6px 12px;border:1px solid var(--cgc-navy);border-radius:999px;color:var(--cgc-navy);background:transparent;text-decoration:none;font:inherit;font-size:12px;letter-spacing:.06em;line-height:1.2;white-space:nowrap;vertical-align:middle;transition:background .15s,color .15s}
.cgc-pill .cgc-dot{width:6px;height:6px;border-radius:50%;background:var(--cgc-gold);flex:none}
.cgc-pill:hover,.cgc-pill:focus-visible{background:var(--cgc-navy);color:#fff;outline:none}
.cgc-pill--desk{border-color:var(--cgc-gold);color:#fff;align-self:center}
.cgc-pill--desk:hover,.cgc-pill--desk:focus-visible{background:var(--cgc-gold);color:var(--cgc-navy)}
.cgc-pill--mob{margin:14px 22px 6px;padding:9px 16px}
/* page */
html.cgc-open #root main,html.cgc-open #cosmo-bf-root,html.cgc-open #cosmo-bf-homeline{display:none!important}
#cosmo-gc-page{background:var(--cgc-paper);color:var(--cgc-ink);font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:15px;line-height:1.5}
#cosmo-gc-page *{box-sizing:border-box}
#cosmo-gc-page .cgc-wrap{max-width:1240px;margin:0 auto;padding:36px 28px 72px}
#cosmo-gc-page .cgc-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:48px;align-items:start}
#cosmo-gc-page .cgc-media{position:sticky;top:96px}
#cosmo-gc-page picture,#cosmo-gc-page .cgc-img img{display:block;width:100%;height:auto;aspect-ratio:3/4;object-fit:cover;background:#ece8e1}
#cosmo-gc-page .cgc-kicker{margin:0 0 6px;font-size:12px;letter-spacing:.22em;color:var(--cgc-gold)}
#cosmo-gc-page h1{margin:0 0 8px;font-family:Fahkwang,FahKwang,Georgia,serif;font-weight:400;font-size:38px;line-height:1.15;color:var(--cgc-navy)}
#cosmo-gc-page h2{margin:0 0 12px;font-family:Fahkwang,FahKwang,Georgia,serif;font-weight:400;font-size:24px;color:var(--cgc-navy)}
#cosmo-gc-page .cgc-sub{margin:0 0 14px;color:var(--cgc-mute);font-size:13px;letter-spacing:.02em}
#cosmo-gc-page .cgc-lead{margin:0 0 12px;font-size:16px}
#cosmo-gc-page .cgc-how{margin:0 0 22px;padding:0;list-style:none}
#cosmo-gc-page .cgc-how li{position:relative;padding-inline-start:18px;margin:4px 0}
#cosmo-gc-page .cgc-how li:before{content:"";position:absolute;inset-inline-start:2px;top:.62em;width:6px;height:6px;border-radius:50%;background:var(--cgc-gold)}
#cosmo-gc-page .cgc-fs{border:0;border-top:1px solid var(--cgc-line);margin:0;padding:18px 0 6px}
#cosmo-gc-page legend{padding:0;margin-bottom:10px;font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:var(--cgc-navy)}
#cosmo-gc-page .cgc-chips{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:12px}
.cgc-chip{min-height:44px;min-width:72px;padding:8px 14px;border:1px solid var(--cgc-line);border-radius:999px;background:#fff;color:var(--cgc-ink);font:inherit;cursor:pointer}
.cgc-chip.is-on{background:var(--cgc-navy);border-color:var(--cgc-navy);color:#fff}
.cgc-f{display:flex;flex-direction:column;gap:5px;margin-bottom:12px}
.cgc-l{font-size:13px;color:var(--cgc-mute)}
.cgc-in{width:100%;min-height:46px;padding:10px 12px;border:1px solid var(--cgc-line);border-radius:6px;background:#fff;color:var(--cgc-ink);font:inherit;font-size:16px}
.cgc-in:focus{outline:2px solid var(--cgc-navy);outline-offset:1px;border-color:var(--cgc-navy)}
textarea.cgc-in{min-height:84px;resize:vertical}
.cgc-help{color:var(--cgc-mute);font-size:12.5px}
.cgc-grid2{display:grid;grid-template-columns:1fr 1fr;gap:0 14px}
.cgc-choice{display:flex;gap:12px;align-items:flex-start;padding:12px 14px;margin-bottom:8px;border:1px solid var(--cgc-line);border-radius:8px;background:#fff;cursor:pointer}
.cgc-choice.is-on{border-color:var(--cgc-navy);box-shadow:inset 0 0 0 1px var(--cgc-navy)}
.cgc-choice input{margin-top:4px;accent-color:var(--cgc-navy)}
.cgc-choice small{display:block;color:var(--cgc-mute)}
.cgc-sum{border-top:1px solid var(--cgc-line);padding:14px 0 6px;margin-top:6px}
.cgc-row{display:flex;justify-content:space-between;gap:12px;align-items:center;margin:4px 0}
.cgc-total{font-size:17px;border-top:1px solid var(--cgc-line);padding-top:8px;margin-top:8px}
.cgc-btn{display:inline-flex;justify-content:center;align-items:center;min-height:50px;width:100%;margin:12px 0 6px;padding:12px 20px;border:1px solid var(--cgc-navy);border-radius:2px;background:var(--cgc-navy);color:#fff;font:inherit;font-size:13px;letter-spacing:.16em;text-transform:uppercase;cursor:pointer}
.cgc-btn[disabled]{opacity:.55;cursor:default}
.cgc-btn--line{background:#fff;color:var(--cgc-navy)}
a.cgc-btn{text-decoration:none;box-sizing:border-box}
#cosmo-gc-mine .cgc-btn,#cosmo-gc-mine .cgc-btn--line{width:auto;max-width:100%}
.cgc-link{border:0;background:none;color:var(--cgc-navy);text-decoration:underline;font:inherit;cursor:pointer;padding:6px 0;min-height:36px}
.cgc-small{font-size:12px;color:var(--cgc-mute)}
.cgc-ok{color:#1e5b35;background:#eef6f0;border-radius:6px;padding:10px 12px}
.cgc-err{color:#8f1d1d;background:#fbeeee;border-radius:6px;padding:10px 12px}
.cgc-note{color:var(--cgc-mute)}
#cosmo-gc-page .cgc-gallery{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin:56px 0 0}
#cosmo-gc-page .cgc-check{max-width:620px;margin:56px auto 0;padding:26px;border:1px solid var(--cgc-line);background:#fff}
#cosmo-gc-page[dir=rtl] .cgc-sub,#cosmo-gc-page[dir=rtl] legend{letter-spacing:0}
/* checkout box */
#cosmo-gc-checkout{margin:0 0 18px;padding:18px;border:1px solid var(--cgc-line);border-radius:8px;background:#fff;color:var(--cgc-ink);font-size:15px}
#cosmo-gc-checkout h2{margin:0 0 6px;font-size:18px;font-weight:500;color:var(--cgc-navy)}
#cosmo-gc-checkout .cgc-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}
#cosmo-gc-checkout .cgc-btn{margin:4px 0}
#cosmo-gc-checkout .cgc-left{font-weight:600;margin:4px 0}
@media (max-width:760px){
  #cosmo-gc-page .cgc-wrap{padding:22px 16px 56px}
  #cosmo-gc-page .cgc-hero{grid-template-columns:1fr;gap:22px}
  #cosmo-gc-page .cgc-media{position:static}
  #cosmo-gc-page h1{font-size:30px}
  .cgc-grid2,#cosmo-gc-checkout .cgc-actions{grid-template-columns:1fr}
  #cosmo-gc-page .cgc-gallery{grid-template-columns:1fr;gap:16px;margin-top:36px}
  #cosmo-gc-page .cgc-check{padding:18px;margin-top:36px}
}
@media (prefers-reduced-motion:reduce){.cgc-pill{transition:none}}
/* r1b: My gift cards on /account */
#cosmo-gc-account{margin:24px 0;padding:22px;border:1px solid var(--cgc-line);border-radius:8px;background:#fff;color:var(--cgc-ink);font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:15px;line-height:1.5;box-sizing:border-box;width:100%}
#cosmo-gc-account *{box-sizing:border-box}
#cosmo-gc-account h2{margin:0 0 8px;font-family:Fahkwang,FahKwang,Georgia,serif;font-weight:400;font-size:22px;color:var(--cgc-navy)}
#cosmo-gc-account .cgc-verify{padding:14px;margin:8px 0 12px;background:var(--cgc-paper);border-radius:6px}
#cosmo-gc-account .cgc-verify p{margin:0 0 10px}
#cosmo-gc-account .cgc-actions--v{display:flex;gap:10px;align-items:flex-end;padding-bottom:12px}
#cosmo-gc-account .cgc-actions--v .cgc-btn{width:auto;margin:0}
#cosmo-gc-account .cgc-btn--line{width:auto}
/* My gift cards list — account widget and /gift-card #cosmo-gc-mine. Stacked card rows (People-like): id, balance, expiry, each on its own line. Redeem code is not shown. */
#cosmo-gc-mine,#cosmo-gc-mine *{box-sizing:border-box}
#cosmo-gc-mine{margin:32px 0 0;max-width:100%}
#cosmo-gc-account .cgc-cards,
#cosmo-gc-mine .cgc-cards{list-style:none;margin:12px 0 24px;padding:0;display:grid;gap:14px;justify-items:stretch;max-width:28rem}
#cosmo-gc-account .cgc-cardrow,
#cosmo-gc-mine .cgc-cardrow{border:1px solid var(--cgc-line);border-inline-start:3px solid var(--cgc-gold);border-radius:6px;padding:16px 18px;display:flex;flex-direction:column;gap:10px;background:#fff;min-width:0;max-width:100%;overflow-wrap:break-word}
#cosmo-gc-account .cgc-cardrow.is-off,
#cosmo-gc-mine .cgc-cardrow.is-off{opacity:.7;border-inline-start-color:var(--cgc-line)}
#cosmo-gc-account .cgc-cardid,
#cosmo-gc-mine .cgc-cardid{margin:0;color:var(--cgc-navy);font-size:16px;line-height:1.35}
#cosmo-gc-account .cgc-cardid strong,
#cosmo-gc-mine .cgc-cardid strong{font-weight:600}
#cosmo-gc-account .cgc-cardbal,
#cosmo-gc-mine .cgc-cardbal,
#cosmo-gc-account .cgc-cardexp,
#cosmo-gc-mine .cgc-cardexp{display:flex;justify-content:space-between;align-items:baseline;gap:12px 16px;margin:0;flex-wrap:wrap;min-width:0}
#cosmo-gc-account .cgc-cardbal span,
#cosmo-gc-mine .cgc-cardbal span,
#cosmo-gc-account .cgc-cardexp span:first-child,
#cosmo-gc-mine .cgc-cardexp span:first-child{font-size:12px;color:var(--cgc-mute);letter-spacing:.04em}
#cosmo-gc-page[dir=rtl] .cgc-cardbal span,
#cosmo-gc-mine[dir=rtl] .cgc-cardbal span,
#cosmo-gc-account[dir=rtl] .cgc-cardbal span,
#cosmo-gc-page[dir=rtl] .cgc-cardexp span:first-child,
#cosmo-gc-mine[dir=rtl] .cgc-cardexp span:first-child,
#cosmo-gc-account[dir=rtl] .cgc-cardexp span:first-child{letter-spacing:0}
#cosmo-gc-account .cgc-cardbal b,
#cosmo-gc-mine .cgc-cardbal b{font-size:22px;color:var(--cgc-navy);font-weight:600;line-height:1.2}
#cosmo-gc-account .cgc-cardexp,
#cosmo-gc-mine .cgc-cardexp{color:var(--cgc-mute);font-size:13px}
#cosmo-gc-account .cgc-cardrow .cgc-note,
#cosmo-gc-mine .cgc-cardrow .cgc-note{margin:0;font-size:13px}
#cosmo-gc-account .cgc-uses,
#cosmo-gc-mine .cgc-uses{margin:2px 0 0}
#cosmo-gc-account .cgc-uses ul,
#cosmo-gc-mine .cgc-uses ul{margin:4px 0 0;padding-inline-start:18px;color:var(--cgc-mute);font-size:13.5px}
#cosmo-gc-account p.cgc-help,
#cosmo-gc-mine p.cgc-help{margin:4px 0}
#cosmo-gc-account .cgc-cards + .cgc-btn,
#cosmo-gc-mine .cgc-cards + p,
#cosmo-gc-mine .cgc-cards + .cgc-f{margin-top:0}
@media (max-width:760px){#cosmo-gc-account{padding:16px;margin:16px 0}#cosmo-gc-account .cgc-actions--v{padding-bottom:0}#cosmo-gc-mine{margin-top:24px}#cosmo-gc-account .cgc-cardrow,#cosmo-gc-mine .cgc-cardrow{padding:14px 14px}}
/* r3: no-returns / no-refund notice, digital share panel, recipient gift view */
.cgc-notice{margin:8px 0 0;padding:8px 12px;border-inline-start:3px solid var(--cgc-gold);background:var(--cgc-paper);color:var(--cgc-ink)}
#cosmo-gc-page .cgc-share,#cosmo-gc-page .cgc-gift{margin:0 0 22px;padding:20px;border:1px solid var(--cgc-line);border-radius:8px;background:#fff}
#cosmo-gc-page .cgc-share h2{font-size:22px}
#cosmo-gc-page .cgc-share .cgc-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:8px 0}
#cosmo-gc-page .cgc-share .cgc-btn,#cosmo-gc-page .cgc-gift .cgc-btn{margin:0;width:100%;text-align:center}
#cosmo-gc-page .cgc-gift h2{font-size:24px;margin:0 0 6px}
#cosmo-gc-page .cgc-gift h3{margin:18px 0 6px;font-size:14px;letter-spacing:.14em;text-transform:uppercase;color:var(--cgc-navy)}
#cosmo-gc-page[dir=rtl] .cgc-gift h3{letter-spacing:0}
#cosmo-gc-page .cgc-giftamt{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin:10px 0}
#cosmo-gc-page .cgc-giftamt b{font-size:28px;color:var(--cgc-navy);font-weight:600}
#cosmo-gc-page .cgc-giftmsg{margin:12px 0;padding:10px 14px;border-inline-start:3px solid var(--cgc-gold);background:var(--cgc-paper);color:var(--cgc-ink);font-style:italic;overflow-wrap:anywhere}
#cosmo-gc-page .cgc-giftsteps{margin:0;padding-inline-start:22px}
#cosmo-gc-page .cgc-giftsteps li{margin:4px 0}
#cosmo-gc-checkout .cgc-notice{margin-top:12px}
@media (max-width:760px){#cosmo-gc-page .cgc-share .cgc-actions{grid-template-columns:1fr}}

/* r4: share page card image, scheduled send, gifts you bought */
#cosmo-gc-page .cgc-giftimg{max-width:280px;margin:0 auto 14px}
#cosmo-gc-page .cgc-sched .cgc-in{max-width:20rem;direction:ltr;text-align:start}
.cgc-boughth{margin:22px 0 6px;font-size:15px;color:var(--cgc-navy)}
.cgc-bought{margin:0 0 18px;padding-inline-start:20px}
.cgc-bought li{margin:4px 0}
#cosmo-gc-page .cgc-giftimg img{display:block;width:100%;max-width:320px;height:auto;margin:0 auto;border-radius:4px}

/* r4.3 thank-you view */
#cosmo-gc-page .cgc-thanks{margin-top:8px}
#cosmo-gc-page .cgc-thx-h{margin:0 0 10px}
#cosmo-gc-page .cgc-thx-dl{display:grid;grid-template-columns:auto 1fr;gap:6px 14px;margin:14px 0;padding:12px 14px;border:1px solid rgba(10,29,82,.18)}
#cosmo-gc-page .cgc-thx-dl dt{font-weight:600;margin:0}
#cosmo-gc-page .cgc-thx-dl dd{margin:0}
#cosmo-gc-page .cgc-thx-ref{font-weight:700;letter-spacing:.04em}
#cosmo-gc-page .cgc-btn[disabled],#cosmo-gc-page .cgc-in[disabled],#cosmo-gc-page .cgc-chip[disabled]{opacity:.6;cursor:not-allowed}
