/* Eve Site — shop (catalog, design page, checkout, order received, account). */

.shop { padding: 0; }

/* ---------------------------------------------------------------- notices */
.woocommerce-notices-wrapper:empty { display: none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error {
  list-style: none; margin: 0 0 20px; padding: 16px 20px; border-radius: var(--r);
  background: var(--ink-2); border: 1px solid var(--line); border-left: 3px solid var(--pink);
  display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; font-size: 15px;
}
.woocommerce-error { border-left-color: var(--err); }
.woocommerce-error li { list-style: none; }
.woocommerce-message .button, .woocommerce-info .button { order: 2; color: var(--pink); font-weight: 700; background: none; border: 0; padding: 0; }

.crumbs { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--fg-60); }
.crumbs a { color: var(--fg-60); }
.crumbs a:hover { color: var(--fg); }

/* ---------------------------------------------------------------- catalog */
.catalog .page-head { margin-bottom: 0; }
.catalog__search { flex: 0 1 420px; display: flex; align-items: center; gap: 10px; background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--r); padding: 6px 6px 6px 16px; }
.catalog__search > span { font-size: 16px; opacity: 0.5; }
.catalog__search input { flex: 1; min-width: 0; background: none; border: 0; outline: none; font-size: 15px; padding: 10px 0; }
.catalog__bar {
  position: sticky; top: var(--header-h); z-index: 20; margin: 36px 0;
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  background: var(--ink); padding: 12px 0; border-bottom: 1px solid oklch(0.97 0.005 90 / 0.08);
}
.admin-bar .catalog__bar { top: calc(var(--header-h) + var(--wp-admin--admin-bar--height, 0px)); }
.catalog__bar .chip { white-space: nowrap; }
.catalog__count { font-size: 12px; white-space: nowrap; }
@media (max-width: 760px) {
  .catalog__bar { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 24px calc(var(--pad) * -1); padding-inline: var(--pad); }
  .catalog__bar .chips { flex-wrap: nowrap; }
  .catalog__count { display: none; }
}

.designs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 28px 20px; }
.design-card { display: flex; flex-direction: column; gap: 14px; }
.design-card__shot {
  position: relative; display: block; aspect-ratio: 4 / 5; border-radius: 20px; overflow: hidden;
  background: var(--ink-2); container-type: size;
}
.design-card__shot img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform 0.8s var(--ease); }
.design-card__shot:hover img { transform: scale(1.04); }
.design-card__shot.is-tall img { height: auto; object-fit: initial; transition: transform 3.2s cubic-bezier(0.45, 0, 0.2, 1); }
.design-card__shot.is-tall:hover img, .design-card__shot.is-tall:focus-visible img { transform: translateY(calc(-100% + 100cqh)); }
.design-card__badge { position: absolute; top: 12px; right: 12px; background: var(--ink); color: var(--fg); font-size: 11px; font-weight: 800; letter-spacing: 0.04em; padding: 6px 10px; border-radius: 999px; }
.design-card__hint { position: absolute; bottom: 12px; left: 12px; font-size: 10px; background: oklch(0.97 0.005 90 / 0.85); color: var(--ink); padding: 5px 8px; border-radius: 6px; transition: opacity 0.3s; }
.design-card__shot:hover .design-card__hint { opacity: 0; }
@media (hover: none) { .design-card__hint { display: none; } }
.design-card__row { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.design-card__info { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.design-card__name { margin: 0; font-size: 19px; font-weight: 800; font-stretch: 110%; line-height: 1.15; }
.design-card__name a { color: var(--fg); }
.design-card__name a:hover { color: var(--pink); }
.design-card__meta { font-size: 11px; color: oklch(0.97 0.005 90 / 0.55); }
.design-card__buy { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; flex: none; }
.design-card__price { font-size: 13px; color: var(--fg-60); white-space: nowrap; }
.design-card__price strong { font-size: 18px; color: var(--fg); }
.design-card__add { border: 1px solid var(--line-2); background: none; color: var(--fg); font-size: 12px; font-weight: 700; padding: 7px 10px; border-radius: 9px; white-space: nowrap; transition: all 0.2s; }
.design-card__add:hover { background: var(--pink); border-color: var(--pink); color: var(--ink); }
.is-busy .design-card__add { opacity: 0.5; }
.catalog__empty { padding: 60px 0; text-align: center; display: flex; flex-direction: column; gap: 12px; align-items: center; }
.catalog__empty strong { font-size: 22px; }
.catalog__custom { display: flex; flex-direction: column; align-items: center; gap: 14px; padding-top: 48px; text-align: center; }

/* ------------------------------------------------------------ design page */
.design-page { padding-bottom: 96px; display: flex; flex-direction: column; gap: 56px; }
.design-page__top { padding-top: 28px; display: flex; flex-direction: column; gap: 20px; }
.design-page__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px); align-items: start; }
.design-page__media { display: flex; flex-direction: column; gap: 14px; }
.preview__bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.preview__bar .mono { font-size: 11px; }
.preview__stage { border-radius: 22px; background: var(--ink-2); border: 1px solid oklch(0.97 0.005 90 / 0.08); padding: clamp(16px, 3vw, 36px); display: flex; justify-content: center; }
.preview__thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: 10px; }
.preview__thumb { position: relative; padding: 0; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; background: var(--ink-2); border: 2px solid transparent; cursor: pointer; transition: border-color 0.2s, transform 0.2s; }
.preview__thumb:hover { transform: translateY(-2px); }
.preview__thumb.is-on { border-color: var(--pink); }
.preview__thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.design-page__image img { border-radius: 22px; width: 100%; }

.design-page__side { position: sticky; top: calc(var(--header-h) + 16px); display: flex; flex-direction: column; gap: 22px; }
.admin-bar .design-page__side { top: calc(var(--header-h) + 16px + var(--wp-admin--admin-bar--height, 0px)); }
.design-page__head { display: flex; flex-direction: column; gap: 10px; }
.tags { display: flex; gap: 8px; flex-wrap: wrap; }
.tag { font-size: 11px; border: 1px solid oklch(0.97 0.005 90 / 0.18); border-radius: 999px; padding: 5px 10px; }
.design-page__title { margin: 0; font-weight: 900; font-stretch: 118%; font-size: clamp(34px, 4vw, 56px); line-height: 0.92; letter-spacing: -0.025em; text-transform: uppercase; text-wrap: balance; }
.design-page__title.is-long { font-size: clamp(28px, 3.2vw, 44px); line-height: 0.95; }
.design-page__title.is-xlong { font-size: clamp(24px, 2.6vw, 36px); line-height: 1; }
.design-page__rating { font-size: 14px; color: oklch(0.97 0.005 90 / 0.65); }
.stars { color: var(--pink); letter-spacing: 2px; margin-right: 8px; }
/* One column: name, price, package and button first — the screenshot can be very long */
@media (max-width: 900px) { .design-page__grid { grid-template-columns: 1fr; } .design-page__side { position: static; order: -1; } }

.design-form { display: flex; flex-direction: column; gap: 22px; }
.design-form.is-busy { opacity: 0.6; pointer-events: none; }
.opts { border: 0; padding: 0; margin: 0; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.opts legend { padding: 0; margin-bottom: 10px; font-size: 14px; font-weight: 700; }
.opts legend .muted { font-weight: 500; }
.opts__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.opts__set { display: flex; flex-direction: column; gap: 10px; }
.opts__set[hidden] { display: none; }
.opt { position: relative; cursor: pointer; border: 1.5px solid oklch(0.97 0.005 90 / 0.15); border-radius: var(--r); background: transparent; transition: all 0.2s; }
.opt:hover { border-color: oklch(0.97 0.005 90 / 0.35); }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt:has(input:checked) { border-color: var(--pink); background: oklch(0.64 0.26 357 / 0.1); }
.opt:has(input:focus-visible) { outline: 2px solid var(--pink); outline-offset: 2px; }
.opt--radio, .opt--check { display: grid; grid-template-columns: 22px 1fr auto; gap: 14px; align-items: center; padding: 16px; }
.opt--check { padding: 13px 16px; border-width: 1px; border-radius: 12px; }
.opt__mark { width: 20px; height: 20px; border-radius: 50%; border: 2px solid oklch(0.97 0.005 90 / 0.15); display: grid; place-items: center; }
.opt:has(input:checked) .opt__mark { border-color: var(--pink); }
.opt--radio .opt__mark::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: transparent; }
.opt--radio:has(input:checked) .opt__mark::after { background: var(--pink); }
.opt--check .opt__mark { border-radius: 6px; font-size: 12px; font-weight: 900; color: var(--ink); }
.opt--check:has(input:checked) .opt__mark { background: var(--pink); }
.opt--check:has(input:checked) .opt__mark::after { content: "✓"; }
.opt__text { display: flex; flex-direction: column; gap: 3px; }
.opt__text strong { font-size: 16px; font-weight: 800; }
.opt--check .opt__text strong { font-size: 15px; font-weight: 700; }
.opt__text strong em { font-style: normal; font-size: 11px; font-weight: 800; color: var(--pink); margin-left: 4px; }
.opt__text > span { font-size: 13px; line-height: 1.4; color: var(--fg-60); }
.opt--check .opt__text > span { font-size: 12px; color: oklch(0.97 0.005 90 / 0.55); }
.opt__price { font-size: 20px; font-weight: 900; font-stretch: 115%; }
.opt--check .opt__price { font-size: 15px; font-weight: 800; font-stretch: 100%; }
.opt--pill { padding: 13px 8px; text-align: center; font-size: 14px; font-weight: 700; border-radius: 12px; }

.design-form__total { display: flex; flex-direction: column; gap: 12px; padding-top: 18px; border-top: 1px solid var(--line); }
.design-form__sum { display: flex; justify-content: space-between; align-items: baseline; }
.design-form__sum strong { font-weight: 900; font-stretch: 118%; font-size: 44px; letter-spacing: -0.03em; }
.design-form__buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.design-form__buttons .btn--ghost { border-width: 1.5px; border-color: oklch(0.97 0.005 90 / 0.3); }
.design-form__note { font-size: 13px; color: oklch(0.97 0.005 90 / 0.55); text-align: center; }

.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: oklch(0.97 0.005 90 / 0.1); border-radius: var(--r); overflow: hidden; }
.facts > div { background: var(--ink); padding: 14px; display: flex; flex-direction: column; gap: 3px; }
.facts strong { font-size: 17px; }
.facts span { font-size: 12px; color: oklch(0.97 0.005 90 / 0.55); }

.design-page__section { display: flex; flex-direction: column; gap: 24px; }
/* Four steps: 4 in a row, 2×2 on tablets, one column on phones — never 3 + 1 */
.steps-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 1100px) { .steps-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps-grid { grid-template-columns: 1fr; } }
.step-card { border: 1px solid var(--line); border-radius: 18px; padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.step-card .mono { font-size: 12px; color: var(--pink); }
.step-card strong { font-size: 19px; }
.step-card > span:last-child { font-size: 14px; line-height: 1.5; color: oklch(0.97 0.005 90 / 0.62); }
.similar { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 16px; }
.similar__item { display: flex; flex-direction: column; gap: 10px; color: var(--fg); }
.similar__item:hover { color: var(--pink); }
.similar__shot { aspect-ratio: 4 / 3; border-radius: 16px; overflow: hidden; background: var(--ink-2); }
.similar__shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.similar__name { font-size: 16px; font-weight: 800; }

/* Plain products (deposit, tip, hosting…) and WAPF fields there */
.design-page__plain { display: flex; flex-direction: column; gap: 20px; }
.design-page__plain .price { font-weight: 900; font-stretch: 118%; font-size: 40px; color: var(--fg); }
.design-page__plain form.cart { display: flex; flex-direction: column; gap: 16px; }
.design-page__plain .quantity { display: none; }
.design-page__plain .single_add_to_button, .design-page__plain button[type="submit"] { width: 100%; }
.wapf-field-label label { font-size: 14px; font-weight: 700; }
.wapf-swatch-wrapper { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.wapf-swatch--text { position: relative; padding: 12px 16px; border: 1.5px solid oklch(0.97 0.005 90 / 0.15); border-radius: 12px; cursor: pointer; font-weight: 700; }
.wapf-swatch--text.wapf-checked { border-color: var(--pink); background: oklch(0.64 0.26 357 / 0.1); }
.wapf-swatch--text input { position: absolute; opacity: 0; }
.wapf-field-input input[type="text"], .wapf-field-input input[type="number"], .wapf-field-input textarea { width: 100%; padding: 14px; border-radius: 12px; border: 1px solid oklch(0.97 0.005 90 / 0.16); background: var(--ink-2); }
.wapf-product-totals { padding-top: 14px; border-top: 1px solid var(--line); }
.wapf--inner > div { display: flex; justify-content: space-between; align-items: baseline; }
.wapf-grand-total { font-weight: 900; font-size: 28px; }
.button, button.button, .single_add_to_cart_button {
  display: inline-flex; align-items: center; justify-content: center; padding: 16px 24px; border-radius: 12px; border: 0;
  background: var(--pink); color: var(--ink); font-weight: 800; font-size: 16px; cursor: pointer;
}
.button:hover, .single_add_to_cart_button:hover { background: var(--fg); color: var(--ink); }

/* ---------------------------------------------------------------- checkout */
.woocommerce-checkout .entry-header { display: none; }
.woocommerce-checkout .site-main > article > .entry-content, .woocommerce-cart .site-main > article > .entry-content,
.woocommerce-account .site-main > article > .entry-content, .woocommerce-order-received .site-main > article > .entry-content { max-width: none; color: var(--fg); font-size: 16px; line-height: 1.5; }
.entry-content .co :is(h1, h2, h3) { margin: 0; text-transform: none; font-stretch: 100%; color: inherit; }

.co { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.85fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
@media (max-width: 960px) { .co { grid-template-columns: 1fr; } }
.co__main { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.co__head { display: flex; flex-direction: column; gap: 14px; margin-bottom: 6px; }
.co__back { align-self: flex-start; background: none; border: 0; padding: 0; font-size: 14px; color: var(--fg-60); }
.co__back:hover { color: var(--fg); }
.entry-content .co .co__title { font-weight: 900; font-stretch: 118%; font-size: clamp(44px, 6vw, 88px); line-height: 0.88; letter-spacing: -0.035em; text-transform: uppercase; }
.co__progress { list-style: none; margin: 4px 0 0; padding: 0; display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; color: var(--fg-50); counter-reset: co; }
.co__progress li { display: inline-flex; align-items: center; gap: 8px; counter-increment: co; white-space: nowrap; }
.co__progress li::before { content: counter(co); width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); font-family: var(--mono); font-size: 11px; font-weight: 500; }
.co__progress li + li { padding-left: 34px; position: relative; }
.co__progress li + li::after { content: ""; position: absolute; left: 0; top: 50%; width: 24px; height: 1px; background: var(--line-2); }
.co__progress .is-done { color: var(--fg-70); }
.co__progress .is-done::before { content: "✓"; background: var(--pink); border-color: var(--pink); color: var(--ink); font-family: var(--font); font-weight: 900; }
.co__progress .is-on { color: var(--fg); }
.co__progress .is-on::before { border-color: var(--pink); color: var(--pink); }
@media (max-width: 560px) { .co__progress li:not(.is-on) { font-size: 0; gap: 0; } .co__progress li + li { padding-left: 28px; } .co__progress li + li::after { width: 18px; } }
.co__step { background: var(--ink-2); border: 1px solid oklch(0.97 0.005 90 / 0.08); border-radius: 24px; padding: clamp(20px, 3vw, 32px); display: flex; flex-direction: column; gap: 14px; }
.entry-content .co .co__step-title { font-size: 20px; font-weight: 850; font-stretch: 112%; text-transform: uppercase; letter-spacing: -0.01em; }
.co__step-title span { color: var(--pink); font-family: var(--mono); font-size: 13px; font-weight: 500; margin-right: 10px; vertical-align: 3px; }
.co__step-note { margin: -6px 0 4px; font-size: 14px; color: var(--fg-60); }

.co__fields .woocommerce-billing-fields > h3, .co__fields .woocommerce-additional-fields > h3, .co__fields .woocommerce-shipping-fields { display: none; }
.co__fields .woocommerce-billing-fields__field-wrapper, .co__fields .woocommerce-additional-fields__field-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.co__fields .woocommerce-additional-fields__field-wrapper { grid-template-columns: 1fr; margin-top: 10px; }
.co__fields .form-row-wide, .co__fields .notes { grid-column: 1 / -1; }
@media (max-width: 560px) { .co__fields .woocommerce-billing-fields__field-wrapper { grid-template-columns: 1fr; } }
.co .form-row { margin: 0; display: flex; flex-direction: column; gap: 6px; }
.co__fields .form-row:has(> .woocommerce-input-wrapper > input[type="hidden"]) { display: none; }
.co .input-text, .co textarea { width: 100%; padding: 17px 16px; border-radius: 14px; border: 1px solid oklch(0.97 0.005 90 / 0.14); background: var(--ink); color: var(--fg); font-size: 15px; outline: none; transition: border-color 0.2s, box-shadow 0.2s; }
.co .input-text:focus, .co textarea:focus { border-color: var(--pink); box-shadow: 0 0 0 4px oklch(0.64 0.26 357 / 0.15); }
.co textarea { min-height: 96px; resize: vertical; }
.co .woocommerce-invalid .input-text { border-color: var(--err); }

/* Payment methods as cards */
.co #payment { background: none; display: flex; flex-direction: column; gap: 16px; }
.co ul.payment_methods { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; border: 0; }
.co li.wc_payment_method { position: relative; border: 1.5px solid oklch(0.97 0.005 90 / 0.14); border-radius: 16px; padding: 16px 18px; transition: border-color 0.2s, background 0.2s; }
.co li.wc_payment_method:has(> input:checked) { border-color: var(--pink); background: oklch(0.64 0.26 357 / 0.08); }
.co li.wc_payment_method > input { position: absolute; opacity: 0; }
.co li.wc_payment_method > label { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 16px; cursor: pointer; }
.co li.wc_payment_method > label::before { content: ""; flex: none; width: 20px; height: 20px; border-radius: 50%; border: 2px solid oklch(0.97 0.005 90 / 0.25); box-shadow: inset 0 0 0 4px var(--ink-2); }
.co li.wc_payment_method:has(> input:checked) > label::before { border-color: var(--pink); background: var(--pink); }
.co li.wc_payment_method > label img { max-height: 22px; width: auto; display: inline; margin-left: auto; }
.co .payment_box { margin: 14px 0 0; padding: 0; background: none; color: var(--fg-70); font-size: 14px; }
.co .payment_box::before { display: none; }
.co .payment_box p:last-child { margin-bottom: 0; }
.co .place-order { display: flex; flex-direction: column; gap: 14px; padding: 0; margin: 0; }
.co .place-order-btn, .co #place_order { width: 100%; padding: 22px; border-radius: 16px; font-weight: 900; font-size: 18px; letter-spacing: -0.01em; }
.co .woocommerce-terms-and-conditions-wrapper, .co .woocommerce-privacy-policy-text { font-size: 13px; color: var(--fg-50); }
.co .woocommerce-privacy-policy-text p { margin: 0; }
.co .woocommerce-terms-and-conditions-wrapper a { color: var(--fg-70); text-decoration: underline; }

/* Order summary */
.co__side { position: sticky; top: calc(var(--header-h) + 20px); display: flex; flex-direction: column; gap: 14px; }
.admin-bar .co__side { top: calc(var(--header-h) + 20px + var(--wp-admin--admin-bar--height, 0px)); }
@media (max-width: 960px) { .co__side { position: static; order: -1; } }
.co__sum { background: var(--paper); color: var(--ink); border-radius: 26px; padding: clamp(20px, 2.5vw, 28px); display: flex; flex-direction: column; gap: 18px; box-shadow: 0 50px 100px -50px oklch(0 0 0 / 0.8); }
.co__sum-head { display: flex; justify-content: space-between; align-items: baseline; }
.entry-content .co .co__sum-head h2 { font-size: 22px; font-weight: 900; font-stretch: 115%; text-transform: uppercase; color: var(--ink); }
.co__sum-head .mono { font-size: 12px; opacity: 0.55; }
.co-review { display: flex; flex-direction: column; gap: 16px; }
.co-items { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.co-item { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--ink-line); }
.co-item:first-child { padding-top: 0; }
.co-item__thumb { width: 64px; height: 78px; border-radius: 12px; overflow: hidden; background: oklch(0.9 0.012 90); }
.co-item__thumb img { width: 100%; height: auto; }
.co-item__info { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.co-item__info strong { font-size: 15px; line-height: 1.25; }
.co-item__meta { font-size: 12px; opacity: 0.6; }
.co-item__meta dl { margin: 0; }
.co-item__meta dt, .co-item__meta dd { display: inline; margin: 0; }
.co-item__meta dd p { display: inline; margin: 0; }
.co-item__price { font-weight: 800; font-size: 16px; }
.co-totals { margin: 0; display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.co-totals > div { display: flex; justify-content: space-between; gap: 12px; }
.co-totals dt { opacity: 0.65; }
.co-totals dd { margin: 0; text-align: right; }
.co-totals__coupon dd a { color: var(--ink); opacity: 0.6; font-size: 13px; margin-left: 6px; }
.co-totals__total { align-items: baseline; padding-top: 14px; margin-top: 6px; border-top: 1px solid var(--ink-line); }
.co-totals__total dt { opacity: 1; font-weight: 800; }
.co-totals__total dt small { font-weight: 500; opacity: 0.55; margin-left: 4px; }
.co-totals__total dd { font-weight: 900; font-stretch: 118%; font-size: 44px; letter-spacing: -0.03em; line-height: 1; }
.co-totals__total dd small { display: block; font-size: 12px; font-weight: 500; letter-spacing: 0; }
.co__coupon { display: flex; gap: 8px; }
.co__coupon input { flex: 1; min-width: 0; padding: 13px 14px; border-radius: 12px; border: 1px solid oklch(0.16 0.01 280 / 0.15); background: var(--white); color: var(--ink); font-size: 14px; outline: none; }
.co__coupon input::placeholder { color: oklch(0.16 0.01 280 / 0.45); }
.co__coupon input:focus { border-color: var(--pink); }
.co__coupon .btn { padding: 13px 18px; border-radius: 12px; font-size: 14px; }
.co__coupon.is-busy { opacity: 0.6; pointer-events: none; }
.co__coupon-msg:empty { display: none; }
.co__coupon-msg .woocommerce-message, .co__coupon-msg .woocommerce-error { margin: 0; background: oklch(0.16 0.01 280 / 0.06); color: var(--ink); border: 0; border-left: 3px solid var(--pink); font-size: 13px; padding: 10px 12px; }
.co__coupon-msg .woocommerce-error { border-left-color: var(--err); }
.co__perks { list-style: none; margin: 0; padding: 4px 4px 0; display: flex; flex-direction: column; gap: 12px; }
.co__perks li { display: grid; grid-template-columns: 28px 1fr; column-gap: 12px; align-items: start; }
.co__perks li::before { content: "✓"; grid-row: span 2; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: oklch(0.64 0.26 357 / 0.14); color: var(--pink); font-weight: 900; font-size: 13px; }
.co__perks strong { font-size: 14px; }
.co__perks span { font-size: 13px; color: var(--fg-50); line-height: 1.35; }
.co__legal { font-size: 12px; color: var(--fg-50); margin: 0; padding-left: 44px; }

/* Express pay (Stripe buttons above the form) */
#wc-stripe-express-checkout-element, .wc-stripe-express-checkout-button-separator, #wcpay-express-checkout-button-separator { max-width: 640px; }
.wc-stripe-express-checkout-button-separator { color: var(--fg-50); font-family: var(--mono); font-size: 12px; margin: 14px 0 22px; }
.woocommerce-form-login-toggle .woocommerce-info { margin-bottom: 18px; }

/* ---------------------------------------------------------- order received */
.woocommerce-order-received .entry-header { display: none; }
.booked { display: flex; flex-direction: column; gap: 40px; max-width: 1100px; padding-block: clamp(30px, 6vw, 80px); }
.booked__head { display: flex; flex-direction: column; gap: 18px; }
.booked__title { margin: 0; font-weight: 900; font-stretch: 122%; font-size: clamp(52px, 10vw, 160px); line-height: 0.84; letter-spacing: -0.04em; text-transform: uppercase; }
.booked__title em { font-style: normal; color: var(--pink); }
.booked .lead { font-size: 19px; max-width: 620px; }
.booked__steps { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.booked__steps li { display: grid; grid-template-columns: 110px 1fr; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.booked__steps .mono { font-size: 13px; color: var(--pink); }
.booked__steps li > span:last-child { display: flex; flex-direction: column; gap: 4px; }
.booked__steps strong { font-size: 19px; }
.booked__steps li > span:last-child > span { font-size: 15px; color: oklch(0.97 0.005 90 / 0.62); }
.booked__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.booked__details { color: var(--fg-70); font-size: 15px; }
.booked__details :is(h2, h3) { color: var(--fg); font-size: 20px; margin: 24px 0 12px; }
.booked__details table { width: 100%; border-collapse: collapse; }
.booked__details :is(th, td) { padding: 10px 0; border-bottom: 1px solid var(--line); text-align: left; }
.booked__details address { font-style: normal; }
@media (max-width: 640px) { .booked__steps li { grid-template-columns: 1fr; gap: 6px; } }

/* ------------------------------------------------------------------ cart */
.woocommerce-cart-form table { width: 100%; border-collapse: collapse; }
.woocommerce-cart-form :is(th, td) { padding: 14px 8px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.woocommerce-cart-form img { width: 64px; border-radius: 10px; }
.woocommerce-cart-form .product-remove a { font-size: 20px; color: var(--fg-60); }
.cart-collaterals { margin-top: 32px; display: flex; justify-content: flex-end; }
.cart_totals { width: min(100%, 420px); background: var(--paper); color: var(--ink); border-radius: 24px; padding: 26px; }
.cart_totals table { width: 100%; border-collapse: collapse; }
.cart_totals :is(th, td) { padding: 10px 0; border-bottom: 1px solid var(--ink-line); text-align: left; }
.wc-proceed-to-checkout .checkout-button { width: 100%; margin-top: 16px; background: var(--ink); color: var(--fg); }

/* --------------------------------------------------------------- account */
.woocommerce-MyAccount-navigation ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 4px; }
.woocommerce-MyAccount-navigation a { display: block; padding: 10px 14px; border-radius: 10px; color: var(--fg-70); }
.woocommerce-MyAccount-navigation .is-active a { background: var(--ink-2); color: var(--fg); }
@media (min-width: 900px) { .woocommerce-account .woocommerce { display: grid; grid-template-columns: 220px 1fr; gap: 56px; } }
.woocommerce form.login, .woocommerce form.register { display: flex; flex-direction: column; gap: 14px; max-width: 460px; }

/* Design preview: browser frame, page scrolls on hover */
.preview { border-radius: 22px; background: var(--ink-2); border: 1px solid oklch(0.97 0.005 90 / 0.08); padding: clamp(14px, 2.4vw, 28px); display: flex; flex-direction: column; gap: 12px; }
.preview__chrome { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 14px 14px 0 0; background: oklch(0.12 0.01 280); margin-bottom: -12px; }
.preview__dots { display: flex; gap: 6px; }
.preview__dots i { width: 10px; height: 10px; border-radius: 50%; background: oklch(0.97 0.005 90 / 0.2); }
.preview__url { flex: 1; background: var(--ink); border-radius: 8px; padding: 6px 12px; font-size: 12px; color: var(--fg-60); }
.preview .preview__frame { width: 100%; aspect-ratio: auto; border-radius: 0 0 14px 14px; border: 0; background: var(--paper); overflow: hidden; }
.preview .preview__frame img { width: 100%; height: auto; display: block; }
.preview__hint { font-size: 11px; color: var(--fg-50); text-align: center; }


/* Catalog filters */
.catalog__filters { display: flex; flex-direction: column; gap: 12px; min-width: 0; flex: 1; }
.catalog__filters .chip small { font-size: 11px; opacity: 0.55; margin-left: 4px; }
.catalog__filters .chip.is-extra { display: none; }
.catalog__filters .chips.is-open .chip.is-extra { display: inline-flex; }
.catalog__filters .chips.is-open .chip--more { display: none; }
.chip--more { border-style: dashed; }
.catalog__filters .chip { min-height: 35px; padding-block: 5px; }
/* Color filter: a chip with a real color dot, its name and how many designs use it */
.chips__label { font-size: 11px; margin-right: 4px; align-self: center; }
.chip--color { gap: 8px; padding-left: 8px; }
.swatch {
  width: 18px; height: 18px; border-radius: 50%; flex: none;
  background: var(--sw, #888); box-shadow: inset 0 0 0 1px oklch(0 0 0 / 0.18), 0 0 0 1px oklch(0.97 0.005 90 / 0.18);
}
.chip--color.is-on .swatch { box-shadow: inset 0 0 0 1px oklch(0 0 0 / 0.25), 0 0 0 2px var(--ink); }
.swatch--pink { --sw: #f45da0; }
.swatch--light { --sw: #f7f3ec; }
.swatch--dark { --sw: #141217; box-shadow: inset 0 0 0 1px oklch(1 0 0 / 0.35), 0 0 0 1px oklch(0.97 0.005 90 / 0.25); }
.swatch--beige { --sw: #e2c9a6; }
.swatch--brown { --sw: #7b4a2d; }
.swatch--blue { --sw: #3d7fe0; }
.swatch--green { --sw: #2e9e63; }
.swatch--purple { --sw: #8b5cf6; }
.swatch--red { --sw: #e02f3a; }
.swatch--orange { --sw: #f97316; }
.swatch--yellow { --sw: #f6c90e; }
/* Metals: a highlight across the dot, so gold and silver read as metal, not flat yellow or grey */
.swatch--gold { background: linear-gradient(135deg, #8c6a1c 0%, #d9b44a 30%, #fff1b8 48%, #c99a2e 62%, #8a6417 100%); }
.swatch--silver { background: linear-gradient(135deg, #7f858e 0%, #c9ced5 30%, #ffffff 48%, #a9afb8 62%, #737982 100%); }
@media (max-width: 760px) {
  .catalog__filters .chips { flex-wrap: nowrap; }
  .catalog__filters .chip.is-extra { display: inline-flex; }
  .chip--more { display: none; }
}

/* Stripe payment element: no extra frame around it */
.co .payment_box fieldset, .co .wc-upe-form, .co .wc-payment-form { border: 0 !important; padding: 0 !important; margin: 0 !important; background: none !important; }
.co .payment_box.payment_method_stripe { margin-top: 16px; }
.co-item__remove { align-self: flex-start; font-size: 12px; font-weight: 700; color: oklch(0.16 0.01 280 / 0.5); text-decoration: underline; text-underline-offset: 0.2em; }
.co-item__remove:hover { color: var(--ink); }
.co-item.is-removing { opacity: 0.4; pointer-events: none; }
.design-form__go { margin-top: 4px; }

/* Design page: about + similar */
.section-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.designs--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) { .designs--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .designs--4 { grid-template-columns: 1fr; } }
.about { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 80px); align-items: start; padding-top: 56px; border-top: 1px solid var(--line); }
.about__head { position: sticky; top: calc(var(--header-h) + 28px); display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.about__copy { font-size: 18px; line-height: 1.65; color: oklch(0.97 0.005 90 / 0.78); max-width: 720px; }
.about__copy p { margin: 0 0 1em; }
.about__copy p:first-child { font-size: clamp(20px, 2vw, 26px); line-height: 1.4; color: var(--fg); font-weight: 600; }
.about__copy :is(strong, b) { color: var(--fg); }
.about__copy p:has(> strong:only-child) { margin: 28px 0 14px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--pink); }
.about__copy p:has(> strong:only-child) strong { color: inherit; font-weight: 500; }
.about__copy ul { list-style: none; margin: 0 0 1em; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 10px; }
.about__copy li { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--ink-2); font-size: 15px; color: var(--fg); }
.about__copy li::before { content: "✓"; flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: oklch(0.64 0.26 357 / 0.14); color: var(--pink); font-weight: 900; font-size: 12px; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } .about__head { position: static; } }

/* Order received: details as cards */
.booked__details { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); gap: 20px; align-items: start; }
@media (max-width: 860px) { .booked__details { grid-template-columns: 1fr; } }
.booked__details > p { grid-column: 1 / -1; margin: 0; font-size: 14px; color: var(--fg-60); }
.booked__details > p:empty, .booked__details > :is(h2, p):only-child { display: none; }
.booked__details :is(.woocommerce-order-details, .woocommerce-customer-details) { margin: 0; border-radius: 24px; padding: clamp(20px, 3vw, 28px); }
.booked__details .woocommerce-order-details { background: var(--paper); color: var(--ink); }
.booked__details .woocommerce-customer-details { background: var(--ink-2); border: 1px solid var(--line); }
.entry-content .booked__details :is(h2, h3) { margin: 0 0 16px; font-size: 22px; font-weight: 900; font-stretch: 115%; text-transform: uppercase; color: inherit; }
.booked__details table { width: 100%; border-collapse: collapse; font-size: 15px; }
.booked__details thead { display: none; }
.booked__details :is(th, td) { padding: 12px 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--ink-line); color: var(--ink); font-weight: 400; }
.booked__details td:last-child, .booked__details tfoot td { text-align: right; white-space: nowrap; }
.booked__details .product-name a { color: var(--ink); font-weight: 800; text-decoration: none; }
.booked__details .product-quantity { opacity: 0.5; font-weight: 700; }
.booked__details .wc-item-meta { list-style: none; margin: 6px 0 0; padding: 0; font-size: 13px; opacity: 0.65; display: flex; flex-wrap: wrap; gap: 4px 12px; }
.booked__details .wc-item-meta li, .booked__details .wc-item-meta p { display: inline; margin: 0; }
.booked__details .wc-item-meta strong { font-weight: 600; }
.booked__details tfoot th { opacity: 0.65; }
.booked__details tfoot tr:last-child :is(th, td) { border: 0; padding-top: 16px; font-weight: 800; opacity: 1; }
.booked__details tfoot tr:last-child td { font-weight: 900; font-stretch: 118%; font-size: 32px; letter-spacing: -0.02em; }
.booked__details address { font-style: normal; line-height: 1.7; color: var(--fg-70); border: 0; padding: 0; }
.booked__details address p { margin: 0; }
.booked__details .woocommerce-column__title { color: var(--fg); }
.booked__details .order-again { display: none; }

/* Upgrade offer popup */
.upsell { width: min(100% - 32px, 560px); max-height: calc(100dvh - 32px); padding: 0; border: 0; border-radius: 28px; background: var(--ink); color: var(--fg); overflow: auto; box-shadow: 0 0 0 1px oklch(0.64 0.26 357 / 0.5), 0 60px 120px -40px oklch(0.64 0.26 357 / 0.45); }
.upsell::backdrop { background: oklch(0.1 0.01 280 / 0.75); backdrop-filter: blur(6px); }
.upsell[open] { animation: quote-in 0.55s var(--ease); }
.upsell__panel { position: relative; padding: clamp(24px, 4vw, 38px); display: flex; flex-direction: column; gap: 16px; }
.upsell__close { position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-2); background: none; color: var(--fg); font-size: 18px; }
.upsell__close:focus:not(:focus-visible) { outline: none; }
.upsell__title { margin: 0; font-weight: 900; font-stretch: 118%; font-size: clamp(38px, 7vw, 58px); line-height: 0.9; letter-spacing: -0.03em; text-transform: uppercase; }
.upsell__title em { font-style: normal; color: var(--pink); }
.upsell__lead { font-size: 16px; line-height: 1.5; color: var(--fg-70); margin: 0; }
.upsell__list { list-style: none; margin: 0; padding: 16px 0 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.upsell__list li::before { content: "✓ "; color: var(--pink); font-weight: 900; }
.upsell__price { display: flex; align-items: baseline; gap: 14px; }
.upsell__price del { color: var(--fg-50); font-size: 22px; }
.upsell__price strong { font-weight: 900; font-stretch: 120%; font-size: 64px; line-height: 0.9; letter-spacing: -0.04em; color: var(--pink); }
.upsell__timer { margin: 0; font-size: 12px; letter-spacing: 0.06em; color: var(--fg-60); text-transform: uppercase; }
.upsell__timer span { color: var(--pink); font-size: 14px; }
.upsell__no { background: none; border: 0; color: var(--fg-50); font-size: 14px; text-decoration: underline; text-underline-offset: 0.2em; padding: 4px; }
.upsell__no:hover { color: var(--fg); }
@media (max-width: 640px) {
  .upsell { width: 100%; max-width: none; margin: auto 0 0; border-radius: 26px 26px 0 0; max-height: 94dvh; }
  .upsell[open] { animation: quote-up 0.5s var(--ease); }
}
.design-card__name { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* Checkout address block */
.co__fields .woocommerce-billing-fields__field-wrapper { grid-template-columns: repeat(6, 1fr); }
.co__fields .form-row-first, .co__fields .form-row-last { grid-column: span 3; }
.co__fields .form-row-wide { grid-column: 1 / -1; }
.co__fields .form-row-third { grid-column: span 2; }
#billing_country_field { margin-top: 10px; }
#billing_country_field::before { content: "Billing address"; display: block; margin-bottom: 8px; font-size: 13px; font-weight: 700; color: var(--fg-60); }
.co .form-row label:not(.screen-reader-text) { font-size: 12px; color: var(--fg-50); }
.co select, .co .select2-container .select2-selection--single { min-height: 56px; border-radius: 14px !important; background: var(--ink) !important; border-color: oklch(0.97 0.005 90 / 0.14) !important; }
.co .select2-container--default .select2-selection--single .select2-selection__rendered { line-height: 54px; }
.co .select2-container--default .select2-selection--single .select2-selection__arrow { height: 54px; }
@media (max-width: 560px) {
  .co__fields .woocommerce-billing-fields__field-wrapper { grid-template-columns: 1fr 1fr; }
  .co__fields :is(.form-row-first, .form-row-last, .form-row-wide) { grid-column: 1 / -1; }
  .co__fields .form-row-third { grid-column: span 1; }
  .co__fields #billing_city_field { grid-column: 1 / -1; }
}
.catalog__bar { align-items: flex-start; }
.catalog__meta { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; padding-top: 8px; }
.catalog__reset { display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: 999px; background: var(--fg); color: var(--ink); font-size: 13px; font-weight: 800; white-space: nowrap; }
.catalog__reset:hover { background: var(--pink); color: var(--ink); }
@media (max-width: 760px) { .catalog__meta { padding-top: 0; flex-direction: row; } }

/* ------------------------------------------------- payment products */
.pay-page { padding-block: clamp(40px, 6vw, 80px) 96px; }
.pay { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
@media (max-width: 900px) { .pay { grid-template-columns: 1fr; } }
.pay__intro { display: flex; flex-direction: column; gap: 22px; padding-top: 12px; }
.pay__title { font-size: clamp(48px, 7vw, 110px); }
.pay__lead p { margin: 0; }
.pay__perks { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.pay__perks li { display: grid; grid-template-columns: 28px 1fr; column-gap: 12px; }
.pay__perks li::before { content: "✓"; grid-row: span 2; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: oklch(0.64 0.26 357 / 0.14); color: var(--pink); font-weight: 900; font-size: 13px; }
.pay__perks strong { font-size: 15px; }
.pay__perks span { font-size: 13px; color: var(--fg-60); }
.pay__card { position: sticky; top: calc(var(--header-h) + 20px); background: var(--ink-2); border: 1px solid oklch(0.97 0.005 90 / 0.1); border-radius: 26px; padding: clamp(22px, 3vw, 32px); display: block; box-shadow: 0 50px 100px -50px oklch(0 0 0 / 0.8); }
.pay__card-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.pay__name { font-weight: 850; font-stretch: 112%; font-size: 20px; text-transform: uppercase; }
.pay__price { font-weight: 900; font-stretch: 118%; font-size: 32px; }
.pay__card form.cart { display: flex; flex-direction: column; gap: 18px; margin: 0; }
.pay__card .quantity { display: none; }
.pay__card .single_add_to_cart_button { width: 100%; padding: 20px; border-radius: 14px; font-size: 17px; font-weight: 900; }
.pay__card .wapf-wrapper, .pay__card .wapf-field-group { display: flex; flex-direction: column; gap: 16px; }
.pay__card .wapf-field-container { width: 100% !important; margin: 0; padding: 0; }
.pay__card .wapf-field-label { margin-bottom: 8px; }
.pay__card .wapf-field-label label { font-size: 14px; font-weight: 700; color: var(--fg); }
.pay__card .wapf-swatch-wrapper { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; margin: 0; }
.pay__card .wapf-swatch--text { display: grid; place-items: center; text-align: center; min-height: 52px; padding: 10px; border-radius: 12px; border: 1.5px solid oklch(0.97 0.005 90 / 0.15); background: var(--ink); font-weight: 800; font-size: 15px; line-height: 1.15; transition: all 0.2s; }
.pay__card .wapf-swatch--text:hover { border-color: oklch(0.97 0.005 90 / 0.35); }
.pay__card .wapf-swatch--text.wapf-checked { border-color: var(--pink); background: var(--pink); color: var(--ink); }
.pay__card .wapf-field-input :is(input[type="text"], input[type="number"], input[type="url"], input[type="email"], textarea, select) { width: 100%; padding: 14px 16px; border-radius: 12px; border: 1px solid oklch(0.97 0.005 90 / 0.14); background: var(--ink); color: var(--fg); font-size: 15px; outline: none; }
.pay__card .wapf-field-input :is(input, textarea, select):focus { border-color: var(--pink); }
.pay__card .wapf-field-description { font-size: 12px; color: var(--fg-50); margin-top: 6px; }
.pay__card .wapf-product-totals { padding-top: 16px; border-top: 1px solid var(--line); }
.pay__card .wapf--inner > div { display: flex; justify-content: space-between; align-items: baseline; }
.pay__card .wapf--inner span:first-child { font-size: 14px; color: var(--fg-60); }
.pay__card .wapf-grand-total { font-weight: 900; font-stretch: 118%; font-size: 40px; letter-spacing: -0.02em; }

/* Compact inputs (checkout and payment cards) */
.co .input-text, .co textarea { padding: 13px 14px; border-radius: 12px; font-size: 15px; }
.co textarea { min-height: 84px; }
.co select, .co .select2-container .select2-selection--single { min-height: 48px; border-radius: 12px !important; }
.co .select2-container--default .select2-selection--single .select2-selection__rendered { line-height: 46px; padding-left: 14px; }
.co .select2-container--default .select2-selection--single .select2-selection__arrow { height: 46px; }
.co .select2-container--default .select2-selection--single .select2-selection__placeholder { color: oklch(0.97 0.005 90 / 0.4); }
.co__fields .form-row { justify-content: flex-end; }
#billing_country_field::before { content: "Billing address"; }

/* Catalog bar on phones: filters scroll on their own line, reset + count below */
@media (max-width: 760px) {
  .catalog__bar { flex-direction: column; align-items: stretch; flex-wrap: nowrap; overflow: visible; gap: 10px; margin-inline: 0; padding-inline: 0; }
  .catalog__filters { min-width: 0; }
  .catalog__filters .chips { overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--pad) * -1); padding-inline: var(--pad); }
  .catalog__filters .chips::-webkit-scrollbar { display: none; }
  .catalog__meta { flex-direction: row; justify-content: space-between; align-items: center; }
  .catalog__count { display: inline; }
}

/* Express pay (Apple Pay, Google Pay, Link, Amazon Pay) above the checkout */
#wc-stripe-express-checkout-element { margin: 0 0 6px; }
#wc-stripe-express-checkout-button-separator, .wc-stripe-express-checkout-button-separator { display: flex !important; align-items: center; gap: 14px; margin: 14px 0 26px !important; font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-50); }
#wc-stripe-express-checkout-button-separator::before, #wc-stripe-express-checkout-button-separator::after,
.wc-stripe-express-checkout-button-separator::before, .wc-stripe-express-checkout-button-separator::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.co .woocommerce-input-wrapper input.input-text { height: 50px; padding: 0 14px; }
.co .woocommerce-input-wrapper textarea.input-text { padding: 13px 14px; }
.co .woocommerce-input-wrapper select, .co .select2-container .select2-selection--single { height: 50px; min-height: 50px; }
.co .select2-container--default .select2-selection--single .select2-selection__rendered { line-height: 48px; }
.co .select2-container--default .select2-selection--single .select2-selection__arrow { height: 48px; }
.co .select2-container { display: block; vertical-align: top; }
.co .woocommerce-input-wrapper { display: block; }
.co__fields .form-row { justify-content: flex-start; }

/* Payment card controls */
.pay-form { display: block; }
.pay-form > :not([type="hidden"]) + :not([type="hidden"]) { margin-top: 20px; }
.pay-form__group { border: 0; margin: 0; padding: 0; min-width: 0; display: block; }
.pay-form__group > * + * { margin-top: 12px; }
.own-amount-wrap { display: flex; flex-direction: column; gap: 8px; }
.own-amount-wrap[hidden] { display: none; }
.pay-form__label { display: block; font-size: 14px; font-weight: 700; }
.pay__site { margin: -6px 0 0; font-size: clamp(18px, 2vw, 24px); font-weight: 800; word-break: break-all; }
.pay__site .mono { font-size: 12px; color: var(--pink); margin-right: 6px; font-weight: 500; }

.pay-amounts { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 8px; }
@media (max-width: 480px) { .pay-amounts { grid-template-columns: repeat(min(var(--n, 4), 3), minmax(0, 1fr)); } }
.pay-amount { position: relative; display: grid; place-items: center; min-height: 54px; padding: 8px; border-radius: 14px; border: 1.5px solid oklch(0.97 0.005 90 / 0.15); background: var(--ink); color: var(--fg); font-weight: 900; font-stretch: 112%; font-size: 18px; cursor: pointer; transition: all 0.2s; }
.pay-amount:hover { border-color: oklch(0.97 0.005 90 / 0.4); }
.pay-amount input { position: absolute; opacity: 0; pointer-events: none; }
.pay-amount:has(input:checked), .pay-amount.is-on { background: var(--pink); border-color: var(--pink); color: var(--ink); }
.pay-amount:has(input:focus-visible) { outline: 2px solid var(--pink); outline-offset: 2px; }

.own-amount { position: relative; display: block; }
.own-amount[hidden] { display: none; }
.own-amount__sign { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); font-weight: 900; font-size: 26px; color: var(--fg-50); pointer-events: none; }
.own-amount input { width: 100%; height: 64px; padding: 0 18px 0 44px; border-radius: 14px; border: 1.5px solid oklch(0.97 0.005 90 / 0.15); background: var(--ink); color: var(--fg); font-size: 26px; font-weight: 900; font-stretch: 112%; outline: none; -moz-appearance: textfield; }
.own-amount input::-webkit-outer-spin-button, .own-amount input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.own-amount input:focus { border-color: var(--pink); box-shadow: 0 0 0 4px oklch(0.64 0.26 357 / 0.15); }
.own-amount input::placeholder { font-size: 18px; font-weight: 600; }
.pay-form__hint { font-size: 12px; color: var(--fg-50); }

.periods { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.period { position: relative; display: grid; grid-template-columns: auto 1fr; grid-template-areas: "n price" "u per" "save save"; align-items: baseline; column-gap: 10px; row-gap: 2px; padding: 16px; border-radius: 16px; border: 1.5px solid oklch(0.97 0.005 90 / 0.15); background: var(--ink); cursor: pointer; transition: all 0.2s; }
.period:hover { border-color: oklch(0.97 0.005 90 / 0.4); }
.period input { position: absolute; opacity: 0; pointer-events: none; }
.period:has(input:checked) { border-color: var(--pink); background: oklch(0.64 0.26 357 / 0.1); box-shadow: inset 0 0 0 1px var(--pink); }
.period:has(input:focus-visible) { outline: 2px solid var(--pink); outline-offset: 2px; }
.period__months { grid-area: n; font-weight: 900; font-stretch: 120%; font-size: 40px; line-height: 0.9; }
.period__unit { grid-area: u; font-size: 13px; color: var(--fg-60); text-transform: uppercase; letter-spacing: 0.04em; font-weight: 700; }
.period__price { grid-area: price; justify-self: end; font-weight: 900; font-size: 22px; }
.period__per { grid-area: per; justify-self: end; font-size: 12px; color: var(--fg-50); }
.period__save { grid-area: save; margin-top: 10px; justify-self: start; padding: 4px 8px; border-radius: 999px; background: oklch(0.64 0.26 357 / 0.15); color: var(--pink); font-size: 12px; font-weight: 800; }
.period__flag { position: absolute; top: -10px; right: 12px; padding: 3px 9px; border-radius: 999px; background: var(--pink); color: var(--ink); font-size: 11px; font-weight: 800; }
@media (max-width: 420px) { .periods { grid-template-columns: 1fr; } }

.pay-form__total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 16px; border-top: 1px solid var(--line); }
.pay-form__total span { font-size: 14px; color: var(--fg-60); }
.pay-form__total strong { font-weight: 900; font-stretch: 118%; font-size: 44px; letter-spacing: -0.03em; }

.pay__card > * + * { margin-top: 18px; }
.pay__card > .woocommerce-notices-wrapper:empty + * { margin-top: 0; }

/* Tiles for products without a photo (cart, checkout, mini cart) */
.ph-tile {
  --a: var(--pink); position: relative; display: grid; place-content: center; justify-items: center; gap: 4px;
  width: 100%; height: 100%; min-height: 64px; padding: 6px; border-radius: inherit; overflow: hidden; color: #fff;
  background: radial-gradient(120% 90% at 20% 0%, color-mix(in oklch, var(--a) 70%, transparent), transparent 70%), var(--ink);
}
.ph-tile::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px oklch(1 0 0 / 0.08); }
.ph-tile svg { filter: drop-shadow(0 4px 10px oklch(0 0 0 / 0.35)); }
.ph-tile__label { font-family: var(--mono); font-size: 9px; letter-spacing: 0.06em; text-transform: uppercase; line-height: 1.1; text-align: center; opacity: 0.85; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ph-tile--violet { --a: oklch(0.62 0.2 300); }
.ph-tile--blue { --a: oklch(0.65 0.16 250); }
.ph-tile--green { --a: oklch(0.7 0.15 160); }
