/*
 * Maquette d'une boutique Shopify (thème gratuit type Dawn / Horizon),
 * personnalisée uniquement via l'éditeur de thème : couleurs + polices.
 */
:root {
  /* « Paramètres du thème > Couleurs » */
  --bg: #faf6ef;
  --bg-alt: #f3ece1;
  --text: #2b2522;
  --text-soft: rgba(43, 37, 34, .75);
  --border: rgba(43, 37, 34, .15);
  --accent: #a8844c;
  --button: #2b2522;
  --button-text: #faf6ef;
  /* « Paramètres du thème > Typographie » */
  --heading: 'Cormorant Garamond', 'Times New Roman', serif;
  --body: 'Jost', 'Helvetica Neue', Arial, sans-serif;
  --page: 1200px;
  --gutter: 16px;

  /* Annotations de la maquette */
  --note-native: #2f7d55;
  --note-app: #c0631d;
  --note-shopify: #5a31f4;
  --note-code: #b0306a;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.6;
  letter-spacing: .03em;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; letter-spacing: inherit; }
h1, h2, h3 { font-family: var(--heading); font-weight: 400; line-height: 1.15; letter-spacing: .01em; margin: 0; }
p { margin: 0; }
.page-width { max-width: var(--page); margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 750px) { :root { --gutter: 50px; } }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Bandeau maquette ----------------------------------------------------------- */
.demo-bar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 14px;
  padding: 7px 16px;
  background: #fff8d6; color: #4a3f10;
  font-size: 12.5px; text-align: center; letter-spacing: 0;
  border-bottom: 1px solid #ecdf9c;
}
.demo-bar button {
  border: 1px solid #b9a74a; background: #fff; border-radius: 999px;
  padding: 2px 12px; font-size: 12px; cursor: pointer;
}
.demo-bar button[aria-pressed="true"] { background: #4a3f10; color: #fff8d6; border-color: #4a3f10; }
.demo-legend { display: none; flex-wrap: wrap; gap: 10px; justify-content: center; width: 100%; }
.notes-on .demo-legend { display: flex; }
.demo-legend span::before {
  content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 5px; vertical-align: -1px;
}
.demo-legend .k-native::before { background: var(--note-native); }
.demo-legend .k-app::before { background: var(--note-app); }
.demo-legend .k-shopify::before { background: var(--note-shopify); }
.demo-legend .k-code::before { background: var(--note-code); }

/* Annotations ---------------------------------------------------------------- */
.notes-on [data-note] { position: relative; outline: 2px dashed var(--note-color, var(--note-native)); outline-offset: 4px; }
.notes-on [data-note]::before {
  content: attr(data-note);
  position: absolute; z-index: 30; top: -14px; left: 8px; max-width: calc(100% - 16px);
  padding: 2px 8px; border-radius: 3px;
  background: var(--note-color, var(--note-native)); color: #fff;
  font: 500 11.5px/1.35 var(--body); letter-spacing: 0; text-transform: none; text-align: left;
  pointer-events: none;
}
[data-kind="app"] { --note-color: var(--note-app); }
[data-kind="shopify"] { --note-color: var(--note-shopify); }
[data-kind="code"] { --note-color: var(--note-code); }

/* Barre d'annonce ------------------------------------------------------------ */
.announcement {
  background: var(--text); color: var(--bg);
  text-align: center; font-size: 13px; letter-spacing: .1em; padding: 9px 16px;
}

/* En-tête -------------------------------------------------------------------- */
.header-wrapper { background: var(--bg); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 20; }
.header {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
  min-height: 76px;
}
.header__menu { display: flex; gap: 26px; font-size: 14.5px; }
.header__menu a { text-decoration: none; color: var(--text-soft); padding: 4px 0; }
.header__menu a:hover, .header__menu a[aria-current] { color: var(--text); text-decoration: underline; text-underline-offset: 4px; }
.header__logo { font-family: var(--heading); font-size: 30px; text-decoration: none; letter-spacing: .04em; white-space: nowrap; }
.header__icons { display: flex; justify-content: flex-end; gap: 4px; }
.icon-btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border: 0; background: none; cursor: pointer; text-decoration: none;
}
.icon-btn svg { width: 22px; height: 22px; }
.icon-btn:hover svg { transform: scale(1.07); }
.cart-count {
  position: absolute; right: 4px; bottom: 6px;
  min-width: 18px; height: 18px; padding: 0 4px; border-radius: 999px;
  background: var(--button); color: var(--button-text);
  font-size: 10.5px; line-height: 18px; text-align: center; letter-spacing: 0;
}
.cart-count:empty { display: none; }
.header__burger { display: none; }
.menu-drawer { display: none; }
@media (max-width: 989px) {
  .header { grid-template-columns: auto 1fr auto; min-height: 64px; }
  .header__menu { display: none; }
  .header__burger { display: inline-flex; }
  .header__logo { font-size: 24px; text-align: center; }
  .header__icons .icon-btn--account { display: none; }
  .menu-drawer {
    display: block; position: fixed; inset: 0 auto 0 0; width: min(340px, 85vw); z-index: 40;
    background: var(--bg); padding: 80px 24px 24px; transform: translateX(-105%); transition: transform .3s ease;
    border-right: 1px solid var(--border);
  }
  .menu-open .menu-drawer { transform: none; }
  .menu-drawer a { display: block; padding: 12px 0; font-size: 18px; text-decoration: none; border-bottom: 1px solid var(--border); }
}
.overlay { position: fixed; inset: 0; background: rgba(43, 37, 34, .45); z-index: 35; opacity: 0; pointer-events: none; transition: opacity .25s; }
.menu-open .overlay, .cart-open .overlay { opacity: 1; pointer-events: auto; }

/* Boutons -------------------------------------------------------------------- */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 30px;
  background: var(--button); color: var(--button-text);
  border: 1px solid var(--button); border-radius: 0;
  font-size: 15px; letter-spacing: .1em; text-decoration: none; cursor: pointer;
  transition: box-shadow .15s;
}
.button:hover { box-shadow: 0 0 0 1.5px var(--button); }
.button--secondary { background: transparent; color: var(--text); }
.button--full { width: 100%; }
.button:disabled { opacity: .5; cursor: not-allowed; }
.link { font-size: 14.5px; text-underline-offset: 3px; }

/* Sections ------------------------------------------------------------------- */
.section { padding: 56px 0; }
.section--alt { background: var(--bg-alt); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 32px; flex-wrap: wrap; }
.section-head h2, .title { font-size: clamp(30px, 4vw, 42px); }
.rte { color: var(--text-soft); }
.rte p + p { margin-top: 14px; }
.center { text-align: center; }

/* Bannière image */
.banner { position: relative; background: var(--bg-alt); overflow: hidden; }
.banner__inner { display: grid; grid-template-columns: 1fr 1.1fr; align-items: center; gap: 32px; min-height: 560px; }
.banner__content { padding: 48px 0; max-width: 480px; }
.banner__content h1 { font-size: clamp(40px, 6vw, 64px); }
.banner__content p { margin: 18px 0 30px; color: var(--text-soft); font-size: 17px; }
.banner__buttons { display: flex; gap: 12px; flex-wrap: wrap; }
.banner__media { display: grid; grid-template-columns: repeat(3, 1fr); align-items: end; gap: 8px; padding: 32px 0; }
.banner__media div:nth-child(2) { transform: translateY(-28px); }
@media (max-width: 749px) {
  .banner__inner { grid-template-columns: 1fr; min-height: 0; gap: 0; }
  .banner__media { order: -1; padding: 24px 0 0; }
  .banner__content { padding: 24px 0 44px; }
}

/* Grille de produits (« Collection en vedette », page collection) */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px 12px; list-style: none; margin: 0; padding: 0; }
.product-grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 989px) { .product-grid, .product-grid--3 { grid-template-columns: repeat(2, 1fr); } }
.card { position: relative; text-decoration: none; display: block; }
.card__media { position: relative; aspect-ratio: 4 / 5; background: var(--bg-alt); overflow: hidden; }
.card__media > div { position: absolute; inset: 8% 10%; transition: opacity .4s; }
.card__media > div + div { opacity: 0; }
.card:hover .card__media > div:first-child { opacity: 0; }
.card:hover .card__media > div + div { opacity: 1; }
.card__badge {
  position: absolute; left: 10px; bottom: 10px;
  padding: 2px 11px; border-radius: 40px; background: var(--bg); border: 1px solid var(--border);
  font-size: 12px; letter-spacing: .05em;
}
.card__title { margin-top: 12px; font-size: 15.5px; font-weight: 400; }
.card:hover .card__title { text-decoration: underline; text-underline-offset: 3px; }
.card__price { margin-top: 2px; color: var(--text-soft); font-size: 15px; }

/* Image avec texte */
.iwt { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.iwt__media { background: var(--bg-alt); display: grid; place-items: center; padding: 40px; min-height: 420px; }
.iwt__media svg { width: min(320px, 100%); }
.iwt__content { padding: clamp(32px, 6vw, 80px); display: flex; flex-direction: column; justify-content: center; gap: 18px; background: var(--bg); border: 1px solid var(--border); }
.iwt__content .eyebrow { font-size: 12.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); }
@media (max-width: 749px) { .iwt { grid-template-columns: 1fr; } .iwt__media { min-height: 300px; } }

/* Multicolonne */
.multicolumn { display: grid; grid-template-columns: repeat(var(--cols, 4), 1fr); gap: 28px; list-style: none; margin: 0; padding: 0; }
.multicolumn h3 { font-size: 24px; margin-bottom: 8px; }
.multicolumn p { color: var(--text-soft); font-size: 15px; }
.multicolumn .num { font-family: var(--heading); font-size: 22px; color: var(--accent); display: block; margin-bottom: 6px; }
.multicolumn--cards li { background: var(--bg); padding: 24px; border: 1px solid var(--border); }
@media (max-width: 989px) { .multicolumn { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .multicolumn { grid-template-columns: 1fr; } }

/* Newsletter */
.newsletter { text-align: center; max-width: 560px; margin: 0 auto; }
.newsletter p { margin: 12px 0 24px; color: var(--text-soft); }
.field-row { display: flex; }
.field {
  flex: 1; min-height: 46px; padding: 0 16px;
  background: transparent; border: 1px solid var(--text-soft); border-radius: 0;
}
.field:focus { outline: 2px solid var(--text); outline-offset: 1px; }
.field-row .button { padding: 0 20px; }

/* Pied de page --------------------------------------------------------------- */
.footer { border-top: 1px solid var(--border); padding: 48px 0 24px; font-size: 14.5px; }
.footer__grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1.4fr; gap: 32px; }
.footer h4 { font-family: var(--body); font-weight: 400; font-size: 15px; margin: 0 0 12px; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 8px; }
.footer a { color: var(--text-soft); text-decoration: none; }
.footer a:hover { color: var(--text); text-decoration: underline; }
.footer__bottom {
  margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--border);
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px;
  font-size: 12.5px; color: var(--text-soft);
}
.localization select { min-height: 40px; padding: 0 12px; background: transparent; border: 1px solid var(--border); }
.payment-icons { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.payment-icons li {
  min-width: 42px; height: 26px; padding: 0 6px; border-radius: 4px; border: 1px solid var(--border); background: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font: 600 10px/1 Arial, sans-serif; letter-spacing: 0; color: #333;
}
@media (max-width: 989px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }

/* Page collection ------------------------------------------------------------ */
.collection-hero { padding: 40px 0 8px; }
.collection-hero h1 { font-size: clamp(36px, 5vw, 52px); }
.collection-hero p { color: var(--text-soft); margin-top: 8px; max-width: 640px; }
.collection { display: grid; grid-template-columns: 240px 1fr; gap: 40px; padding: 32px 0 72px; }
.facets summary { list-style: none; cursor: pointer; font-size: 15px; padding: 10px 0; border-bottom: 1px solid var(--border); }
.facets summary::-webkit-details-marker { display: none; }
.facets summary::after { content: "+"; float: right; }
.facets[open] summary::after { content: "–"; }
.facet { border-bottom: 1px solid var(--border); padding: 14px 0; }
.facet h3 { font-family: var(--body); font-size: 15px; font-weight: 400; margin-bottom: 10px; }
.facet label { display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: var(--text-soft); padding: 3px 0; cursor: pointer; }
.facet input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--text); }
.facet .price-range { display: flex; gap: 8px; align-items: center; }
.facet .price-range input { width: 100%; min-height: 38px; padding: 0 8px; border: 1px solid var(--border); background: transparent; }
.collection__bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 20px; font-size: 14.5px; color: var(--text-soft); flex-wrap: wrap; }
.collection__bar select { min-height: 38px; padding: 0 10px; border: 1px solid var(--border); background: transparent; }
.active-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.active-filters button { border: 1px solid var(--border); background: var(--bg); border-radius: 999px; padding: 3px 12px; font-size: 13px; cursor: pointer; }
.empty { padding: 48px 0; text-align: center; color: var(--text-soft); }
@media (max-width: 989px) {
  .collection { grid-template-columns: 1fr; gap: 16px; }
}

/* Page produit --------------------------------------------------------------- */
.product { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; padding: 40px 0 64px; align-items: start; }
.product__media { position: sticky; top: 100px; }
.product__main { background: var(--bg-alt); aspect-ratio: 1 / 1; display: grid; place-items: center; padding: 6%; }
.product__main > div { width: min(420px, 100%); }
.thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 8px; list-style: none; padding: 0; }
.thumbs button { width: 100%; aspect-ratio: 1; background: var(--bg-alt); border: 1px solid transparent; padding: 10%; cursor: pointer; }
.thumbs button[aria-current="true"] { border-color: var(--text); }
.product__info { display: flex; flex-direction: column; gap: 22px; }
.product__vendor { font-size: 12.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--text-soft); }
.product__title { font-size: clamp(36px, 4.5vw, 48px); margin-top: 6px; }
.product__price { font-size: 19px; letter-spacing: .06em; }
.product__tax { font-size: 13px; color: var(--text-soft); margin-top: 4px; }
.product__tax a { color: inherit; }
.variant fieldset { border: 0; margin: 0; padding: 0; }
.variant legend { font-size: 14px; margin-bottom: 8px; }
.pills { position: relative; display: flex; flex-wrap: wrap; gap: 8px; }
.pills input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pills label {
  display: inline-block; padding: 7px 18px; border: 1px solid var(--border); border-radius: 40px;
  font-size: 14px; cursor: pointer; background: var(--bg); transition: border-color .15s;
}
.pills label:hover { border-color: var(--text); }
.pills input:checked + label { background: var(--text); color: var(--bg); border-color: var(--text); }
.pills input:focus-visible + label { outline: 2px solid var(--accent); outline-offset: 2px; }
.qty { display: inline-flex; border: 1px solid var(--text-soft); }
.qty button { width: 44px; height: 44px; border: 0; background: none; cursor: pointer; font-size: 18px; }
.qty input { width: 48px; border: 0; background: none; text-align: center; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.buy-buttons { display: grid; gap: 10px; }
.shop-pay {
  min-height: 48px; border: 0; border-radius: 4px; background: #5a31f4; color: #fff; cursor: pointer;
  font: 600 16px/1 Arial, sans-serif; letter-spacing: 0;
}
.shop-pay b { font-style: italic; font-weight: 800; }
.shop-pay:hover { background: #3c1fbb; }
.more-pay { text-align: center; font-size: 13.5px; }
.product__desc { color: var(--text-soft); }
.product__desc ul { margin: 12px 0 0; padding-left: 18px; }
.accordion { border-top: 1px solid var(--border); }
.accordion details { border-bottom: 1px solid var(--border); }
.accordion summary { list-style: none; cursor: pointer; padding: 15px 0; display: flex; justify-content: space-between; align-items: center; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: ""; width: 9px; height: 9px; border-right: 1px solid; border-bottom: 1px solid; transform: rotate(45deg); transition: transform .2s; margin-right: 4px; }
.accordion details[open] summary::after { transform: rotate(-135deg); }
.accordion details > div { padding: 0 0 18px; color: var(--text-soft); font-size: 15px; }
.share { font-size: 14px; color: var(--text-soft); display: inline-flex; gap: 8px; align-items: center; }
@media (max-width: 989px) {
  .product { grid-template-columns: 1fr; gap: 28px; padding-top: 16px; }
  .product__media { position: static; }
}

/* Bloc d'appli d'options : volontairement un peu « générique », comme une appli tierce */
.app-options {
  border: 1px solid #ddd; border-radius: 8px; padding: 16px; background: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; letter-spacing: 0; font-weight: 400;
  display: grid; gap: 14px; color: #333;
}
.app-options__title { font-size: 15px; font-weight: 600; }
.app-options label.app-label { display: block; font-size: 13.5px; margin-bottom: 5px; color: #555; }
.app-options select { width: 100%; min-height: 40px; border: 1px solid #ccc; border-radius: 6px; padding: 0 10px; background: #fff; }
.app-check { display: flex; align-items: center; gap: 8px; font-size: 14px; cursor: pointer; }
.app-check input { width: 17px; height: 17px; }
.app-swatches { display: flex; gap: 8px; flex-wrap: wrap; }
.app-swatches label { display: inline-flex; align-items: center; gap: 6px; border: 1px solid #ccc; border-radius: 6px; padding: 6px 10px; font-size: 13.5px; cursor: pointer; }
.app-swatches input { accent-color: #333; }
.app-swatches i { width: 14px; height: 14px; border-radius: 50%; display: inline-block; }
.app-options__total { border-top: 1px solid #eee; padding-top: 10px; font-size: 14px; display: flex; justify-content: space-between; }
.app-options__total strong { font-size: 15px; }

/* Tiroir panier -------------------------------------------------------------- */
.cart-drawer {
  position: fixed; inset: 0 0 0 auto; z-index: 40; width: min(420px, 100vw);
  background: var(--bg); border-left: 1px solid var(--border);
  display: flex; flex-direction: column; transform: translateX(105%); transition: transform .3s ease;
}
.cart-open .cart-drawer { transform: none; }
.cart-drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 18px 24px; }
.cart-drawer__head h2 { font-size: 28px; }
.cart-drawer__body { flex: 1; overflow-y: auto; padding: 0 24px; }
.cart-drawer__foot { padding: 18px 24px 24px; border-top: 1px solid var(--border); display: grid; gap: 10px; }
.cart-line { display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--border); }
.cart-line__media { background: var(--bg-alt); aspect-ratio: 4 / 5; padding: 6px; }
.cart-line__name { font-size: 15px; text-decoration: none; }
.cart-line__meta { font-size: 13px; color: var(--text-soft); margin-top: 2px; line-height: 1.5; }
.cart-line__price { font-size: 14.5px; text-align: right; white-space: nowrap; }
.cart-line__actions { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.cart-line .qty button { width: 34px; height: 34px; font-size: 15px; }
.cart-line .qty input { width: 34px; font-size: 14px; }
.remove { border: 0; background: none; cursor: pointer; padding: 6px; color: var(--text-soft); }
.addon-line { display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; padding: 8px 0; font-size: 13.5px; color: var(--text-soft); border-bottom: 1px dashed var(--border); }
.addon-line__tag { display: grid; place-items: center; font-size: 11px; background: #fff; border: 1px solid #ddd; border-radius: 4px; height: 30px; letter-spacing: 0; }
.subtotal { display: flex; justify-content: space-between; font-size: 17px; }
.cart-note { font-size: 12.5px; color: var(--text-soft); }
.cart-empty { text-align: center; padding: 64px 0; display: grid; gap: 20px; justify-items: center; }
.cart-empty h3 { font-size: 26px; }

/* Messages */
.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); z-index: 60;
  background: var(--text); color: var(--bg); padding: 12px 20px; font-size: 14px; opacity: 0; transition: .25s; pointer-events: none;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Paiement (checkout Shopify) ------------------------------------------------ */
.checkout-page { background: #fff; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; letter-spacing: 0; font-weight: 400; color: #1a1a1a; font-size: 14px; }
.checkout-page h1, .checkout-page h2 { font-family: inherit; }
.co-header { border-bottom: 1px solid #dedede; }
.co-header__inner { max-width: 1100px; margin: 0 auto; padding: 18px 16px; display: flex; justify-content: space-between; align-items: center; }
.co-header a.logo { font-family: 'Cormorant Garamond', serif; font-size: 28px; text-decoration: none; }
.co-header a.bag { color: #1773b0; }
.co { display: grid; grid-template-columns: 1fr 1fr; min-height: calc(100vh - 70px); }
.co__main { padding: 32px 38px 48px 16px; display: flex; justify-content: flex-end; }
.co__main > div { width: 100%; max-width: 520px; display: grid; gap: 28px; align-content: start; }
.co__side { background: #f5f5f5; border-left: 1px solid #dedede; padding: 32px 16px 48px 38px; }
.co__side > div { max-width: 440px; position: sticky; top: 24px; display: grid; gap: 18px; }
.co h2 { font-size: 21px; font-weight: 600; margin-bottom: 14px; }
.express { display: grid; gap: 10px; }
.express__label { text-align: center; font-size: 13.5px; color: #707070; }
.express__row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.express__row button { min-height: 46px; border: 0; border-radius: 5px; font: 700 15px/1 Arial, sans-serif; cursor: pointer; }
.xp-shop { background: #5a31f4; color: #fff; font-style: italic; }
.xp-apple { background: #000; color: #fff; }
.xp-google { background: #000; color: #fff; }
.xp-paypal { background: #ffc439; color: #003087; font-style: italic; }
.or { display: flex; align-items: center; gap: 12px; color: #707070; font-size: 13px; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: #dedede; }
.co-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.co-fields .full { grid-column: 1 / -1; }
.co-input, .co-select {
  width: 100%; min-height: 48px; padding: 0 12px; border: 1px solid #dedede; border-radius: 5px; background: #fff; font-size: 14px;
}
.co-input:focus, .co-select:focus { outline: none; border-color: #1773b0; box-shadow: 0 0 0 1px #1773b0; }
.co-check { display: flex; gap: 8px; align-items: center; margin-top: 12px; font-size: 14px; }
.co-radios { border: 1px solid #dedede; border-radius: 5px; overflow: hidden; }
.co-radios label { display: flex; align-items: center; gap: 12px; padding: 16px; cursor: pointer; border-bottom: 1px solid #dedede; }
.co-radios label:last-child { border-bottom: 0; }
.co-radios label:has(input:checked) { background: #f0f5ff; border-color: #1773b0; }
.co-radios span { flex: 1; }
.co-muted { color: #707070; font-size: 13px; }
.card-box { background: #f5f5f5; padding: 16px; border-top: 1px solid #dedede; display: grid; gap: 12px; }
.card-box .co-input { background: #fff; color: #888; }
.co-pay { min-height: 56px; width: 100%; border: 0; border-radius: 5px; background: #1773b0; color: #fff; font-size: 17px; font-weight: 600; cursor: pointer; }
.co-pay:hover { background: #136396; }
.co-links { display: flex; flex-wrap: wrap; gap: 14px; border-top: 1px solid #dedede; padding-top: 16px; font-size: 12.5px; }
.co-links a { color: #1773b0; }
.co-line { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; }
.co-line__media { position: relative; width: 64px; height: 64px; border: 1px solid #dedede; border-radius: 8px; background: #fff; padding: 4px; }
.co-line__qty { position: absolute; top: -8px; right: -8px; min-width: 21px; height: 21px; border-radius: 11px; background: #666; color: #fff; font-size: 12px; display: grid; place-items: center; padding: 0 6px; }
.co-line__meta { color: #707070; font-size: 12.5px; }
.co-line--addon .co-line__media { display: grid; place-items: center; font-size: 10px; color: #707070; text-align: center; line-height: 1.2; }
.co-code { display: flex; gap: 10px; }
.co-code button { min-height: 48px; padding: 0 18px; border: 1px solid #dedede; border-radius: 5px; background: #ececec; color: #707070; }
.co-totals { display: grid; gap: 8px; }
.co-totals div { display: flex; justify-content: space-between; }
.co-totals .grand { font-size: 19px; font-weight: 600; margin-top: 6px; }
.co-totals .grand small { font-size: 12px; color: #707070; font-weight: 400; margin-right: 6px; }
.co-summary-toggle { display: none; }
@media (max-width: 999px) {
  .co { grid-template-columns: 1fr; }
  .co__side { order: -1; border-left: 0; border-bottom: 1px solid #dedede; padding: 24px 16px; }
  .co__side > div, .co__main > div { max-width: 600px; margin: 0 auto; position: static; }
  .co__main { padding: 28px 16px 48px; justify-content: center; }
}
@media (max-width: 560px) { .express__row { grid-template-columns: 1fr 1fr; } }
.modal {
  position: fixed; inset: 0; z-index: 70; background: rgba(0, 0, 0, .5);
  display: none; place-items: center; padding: 16px;
}
.modal.show { display: grid; }
.modal__box { background: #fff; border-radius: 10px; max-width: 440px; padding: 28px; display: grid; gap: 14px; }
.modal__box h3 { font-size: 20px; font-family: inherit; font-weight: 600; }
.modal__box p { color: #444; }
