/* Catalogue controls share the existing paper, green and cobalt palette. */
.catalogue-controls{margin:16px 0 22px;padding:18px;background:#f6f2e6;border:1px solid #d9dfd0;border-radius:16px}
.catalogue-controls .field{margin:0;font-size:12px}
.catalogue-controls select,.catalogue-controls input{width:100%;min-height:44px;background:#fffef9;border:1px solid #b7c4b6;color:#143c32;border-radius:8px;padding:10px;font:inherit}
.catalogue-browse{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:14px}
.catalogue-controls .muted{font-size:12px;line-height:1.5;margin:8px 0 0}
.studio #gift-options .gift-value-options{display:flex;gap:5px;width:100%;grid-column:1/-1;align-items:center;min-height:42px}
.gift-value-button{border:1px solid #b7c4b6;background:#fffef9;color:#143c32;border-radius:8px;min-height:42px;min-width:42px;padding:8px 7px;font:inherit;font-size:12px;font-weight:600;cursor:pointer;flex:1}
.gift-value-button[aria-pressed=true]{background:#143c32;color:#fffef9;border-color:#143c32}
.gift-value-button:hover{border-color:#3158d8;box-shadow:0 0 0 1px #3158d8}
.gift-value-button:focus-visible,.catalogue-controls input:focus-visible,.catalogue-controls select:focus-visible{outline:2px solid #3158d8;outline-offset:3px}
.studio #gift-options .value-note{font-size:12px;color:#526358;line-height:1.5}
.studio #gift-options .value-pending .gift-visual{opacity:.8}
.studio #gift-options .gift-visual .brand-name-fallback{font-size:18px;font-weight:700;line-height:1.15;letter-spacing:-.4px;color:#143c32;overflow-wrap:normal}
.studio #gift-options .gift-visual .group-brand-marks .brand-name-fallback{font-size:10px}
.flexible-brand-grid{display:grid;gap:10px;margin:20px 0}
.flexible-brand{padding:12px;border:1px solid #d9dfd0;border-radius:10px;display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.flexible-brand b{flex:1 0 100%;font-size:14px}
.flexible-brand .gift-value-button{flex:0 0 auto;min-width:64px}
@media(max-width:720px){.catalogue-controls{padding:14px}.catalogue-browse{grid-template-columns:1fr}.studio #gift-options .gift-visual .brand-name-fallback{font-size:15px}.gift-value-button{font-size:11px;padding:8px 5px}.studio #gift-options .gift-value-options{gap:4px}}

/* Authentic merchant artwork shares the established logo-panel geometry. */
.studio #gift-options .gift-visual .brand-mark{background:var(--brand-panel,#fffef9)}
.brand-mark[data-brand="ticketmaster"]{--brand-panel:#026cdf}
.brand-mark[data-brand="bodyshop"]{--brand-panel:#004236}
.brand-mark[data-brand="bolt"]{--brand-panel:#145e4b}
.brand-mark[data-brand="ea"],.brand-mark[data-brand="montrose"]{--brand-panel:#202020}
.brand-mark[data-brand="disneyplus"]{--brand-panel:#006b70}
.studio #gift-options .gift-visual .gift-graphic>.brand-mark:is([data-brand="ticketmaster"],[data-brand="bodyshop"],[data-brand="bolt"],[data-brand="ea"],[data-brand="montrose"],[data-brand="disneyplus"]){background:var(--brand-panel);box-shadow:0 3px 12px #00000016}
/* White source logos also stay legible in basket and recipient previews. */
.brand-mark:is([data-brand="ticketmaster"],[data-brand="bodyshop"],[data-brand="bolt"],[data-brand="ea"],[data-brand="montrose"],[data-brand="disneyplus"]){background:var(--brand-panel);border-radius:9px}
.studio #gift-options .gift-visual .brand-mark[data-brand="choiceplus"]{background:#f2e18a}
.studio #gift-options .gift-visual .brand-mark[data-brand="choiceplus"] img{width:62px;height:62px;max-height:62px}
.studio #gift-options .gift-visual .brand-mark:is([data-brand="tkmaxx"],[data-brand="argos"],[data-brand="restaurant"],[data-brand="roblox"],[data-brand="twitch"]){padding:8px}
.studio #gift-options .gift-visual .brand-mark:is([data-brand="tkmaxx"],[data-brand="argos"],[data-brand="restaurant"] ) img{max-height:62px;width:auto}
.studio #gift-options .gift-visual .brand-mark:is([data-brand="montrose"],[data-brand="sephora"],[data-brand="waterstones"],[data-brand="entertainer"],[data-brand="lululemon"],[data-brand="gymshark"]){padding:10px}

/* The supplied square Restaurant Card image has generous white margins. */
.studio #gift-options .gift-visual .brand-mark[data-brand="restaurant"] img{width:120px;height:54px;object-fit:cover;object-position:center}

/* The short gifting line belongs with the brand, rather than repeated below it. */
.studio #gift-options .gift-visual{min-height:170px;padding-bottom:46px}
.studio #gift-options .gift-visual-label.is-tagline{font-size:10px;line-height:1.4;letter-spacing:.15px;padding:0 12px;bottom:11px;text-wrap:balance}
.studio #gift-options .gift-visual.has-card-art{position:relative;isolation:isolate;overflow:hidden;color:#fff}
.studio #gift-options .gift-card-art{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;pointer-events:none;z-index:0}
.studio #gift-options .has-card-art:after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,#000e 0%,#0008 24%,#0003 58%,#0002 100%);pointer-events:none;z-index:1}
.studio #gift-options .has-card-art .gift-graphic{position:relative;z-index:2}
.studio #gift-options .has-card-art .gift-visual-label{z-index:2;color:#fff;text-shadow:0 1px 3px #000}
.studio #gift-options .has-card-art .gift-added{z-index:3}
@media(max-width:720px){.studio #gift-options .gift-visual{min-height:158px;padding-top:28px;padding-bottom:48px}.studio #gift-options .gift-visual-label.is-tagline{font-size:9px;letter-spacing:0;padding:0 9px;bottom:10px}}

/* Uber's catalogue treatment is white lettering on pure black. */
.studio #gift-options .gift-visual .gift-graphic>.brand-mark[data-brand="uber"]{background:#000;box-shadow:none}
.studio #gift-options .gift-visual .brand-mark[data-brand="uber"] img{filter:brightness(0) invert(1)}

/* AmazingSort ChoicePlus: legacy layout and value-control colours. Face overridden below. */
.brand-mark[data-brand="choiceplus"]{background:#143c32}
.studio #gift-options .gift-option[data-gift="choiceplus"]{position:relative;isolation:isolate;overflow:hidden;background:#fff9ef}
.studio #gift-options .gift-option[data-gift="choiceplus"]>label,.studio #gift-options .gift-option[data-gift="choiceplus"]>.gift-value-options{position:relative;z-index:2}
.studio #gift-options .gift-option[data-gift="choiceplus"] .gift-visual{position:relative;isolation:isolate;overflow:hidden;display:flex;align-items:center;justify-content:center;padding:24px 14px 42px;background:radial-gradient(ellipse at 0 0,#3158d84d,transparent 66%),radial-gradient(circle at 100% 0,#3158d8 0 31px,transparent 32px),linear-gradient(135deg,#1c493e,#102f29)}
.studio #gift-options .gift-option[data-gift="choiceplus"] .gift-visual:after{content:"";position:absolute;left:-36px;top:-84px;width:110px;height:110px;border-radius:22px;background:linear-gradient(145deg,#f2e18a,#ddc663);transform:rotate(28deg);pointer-events:none;z-index:0}
.studio #gift-options .gift-option[data-gift="choiceplus"] .gift-graphic,.studio #gift-options .gift-option[data-gift="choiceplus"] .gift-visual-label{position:relative;z-index:1}
.studio #gift-options .gift-option[data-gift="choiceplus"] .gift-visual-label{position:absolute;color:#fff9ef}
.studio #gift-options .gift-visual .gift-graphic>.brand-mark[data-brand="choiceplus"]{width:min(232px,100%);height:86px;padding:0 5px;background:transparent;border:0;box-shadow:none}
.studio #gift-options .gift-visual .gift-graphic>.brand-mark[data-brand="choiceplus"] img{width:100%;height:100%;max-width:222px;max-height:86px}
.studio #gift-options .gift-option[data-gift="choiceplus"] .gift-value-button{background:#fffef9ed;border-color:#b2bd9c}
.studio #gift-options .gift-option[data-gift="choiceplus"] .gift-value-button[aria-pressed="true"]{background:#143c32;color:#fffef9;border-color:#143c32}
.studio #gift-options .gift-option[data-gift="choiceplus"] .choice-badge{background:#f2e18ae6;border-color:#daca70}
@media(max-width:720px){.studio #gift-options .gift-visual .gift-graphic>.brand-mark[data-brand="choiceplus"]{height:74px;padding:0}.studio #gift-options .gift-visual .gift-graphic>.brand-mark[data-brand="choiceplus"] img{max-height:74px}.studio #gift-options .gift-option[data-gift="choiceplus"]:after{width:min(180px,100%);opacity:.15}}

/* Keep compact wordmarks below faces and product details in supplied photography. */
.studio #gift-options .gift-option:is([data-gift="superdry"],[data-gift="justeat"],[data-gift="food"],[data-gift="rituals"],[data-gift="sephora"],[data-gift="gymshark"],[data-gift="paulsmith"],[data-gift="hm"],[data-gift="bodyshop"]) .gift-graphic{position:absolute;left:0;right:0;bottom:36px;min-height:0;height:38px}
.studio #gift-options .gift-option:is([data-gift="superdry"],[data-gift="justeat"],[data-gift="food"],[data-gift="rituals"],[data-gift="sephora"],[data-gift="gymshark"],[data-gift="paulsmith"],[data-gift="hm"],[data-gift="bodyshop"]) .gift-graphic>.brand-mark{width:100px;height:38px;padding:6px 10px;box-shadow:none}
.studio #gift-options .gift-option:is([data-gift="superdry"],[data-gift="justeat"],[data-gift="food"],[data-gift="rituals"],[data-gift="sephora"],[data-gift="gymshark"],[data-gift="paulsmith"],[data-gift="hm"],[data-gift="bodyshop"]) .brand-mark>img{max-width:80px;max-height:26px}

/* White Hotels.com lettering needs the same dark backplate in every context. */
.brand-mark[data-brand="hotels"]{background:#191d30;border-radius:9px}
.studio #gift-options .gift-visual .gift-graphic>.brand-mark[data-brand="hotels"]{background:#191d30}
.studio #gift-options .gift-option[data-gift="riverisland"] .gift-visual{background:#000;color:#fff}
.studio #gift-options .gift-option:is([data-gift="gymshark"],[data-gift="sports"]) .gift-visual{background:#101511}
.studio #gift-options .gift-option[data-gift="treatwell"] .gift-visual{background:#ff4906}
.studio #gift-options .gift-option[data-gift="marks"] .gift-visual{background:#214719}
/* Compact grouped marks leave the gaming and style portraits visible. */
.studio #gift-options .gift-option:is([data-gift="gaming"],[data-gift="sports"]) .gift-graphic{position:absolute;left:10px;right:10px;bottom:35px;width:auto;height:40px;min-height:0}
.studio #gift-options .gift-option:is([data-gift="gaming"],[data-gift="sports"]) .group-brand-marks{max-width:180px;gap:5px}
.studio #gift-options .gift-option:is([data-gift="gaming"],[data-gift="sports"]) .group-brand-marks .brand-mark{height:38px;padding:5px;transform:none;box-shadow:none}
.studio #gift-options .gift-option:is([data-gift="gaming"],[data-gift="sports"]) .group-brand-marks img{max-height:28px}

/* Supplied campaign wordmarks remain complete inside matching surrounds. */
.studio #gift-options .gift-option[data-gift="asos"] .gift-visual{background:#efbbca}
.studio #gift-options .gift-option[data-gift="ticketmaster"] .gift-visual{background:#0875df}

/* The Entertainer source has white lettering: keep a blue backplate in every context. */
.brand-mark[data-brand="entertainer"]{--brand-panel:#125da8;background:#125da8}
.studio #gift-options .gift-visual .gift-graphic>.brand-mark[data-brand="entertainer"]{background:#125da8}


/* Approved A · Sorted face: the supplied SVG contains the sole logo and 30+ count. */
#make #gift-options .gift-option[data-gift="choiceplus"] .gift-visual{aspect-ratio:1920/1212;height:auto;min-height:0;min-width:0;padding:0;background:transparent;display:block}
.studio #gift-options .gift-option[data-gift="choiceplus"] .gift-visual:before,.studio #gift-options .gift-option[data-gift="choiceplus"] .gift-visual:after{content:none}
#make #gift-options .gift-option[data-gift="choiceplus"] .gift-card-art{display:block;position:absolute;inset:0;width:100%;height:100%;object-fit:contain}
.studio #gift-options .gift-option[data-gift="choiceplus"] .gift-visual-label,.studio #gift-options .gift-option[data-gift="choiceplus"] .gift-added{display:none}
.choiceplus-card-art{display:block;width:100%;height:auto;aspect-ratio:1920/1212;object-fit:contain;border-radius:inherit}
.basket-item-art>.choiceplus-card-art{width:100%;height:auto;object-fit:contain}
