/* Boutique Torlann — panier / checkout / compte / support
 * Coquille commune : mêmes marges que le header (.container 1160 / 24px).
 */

body.shop-page {
  background: var(--paper, #FFFFFF);
  min-height: 100vh;
}

.shop-main {
  padding: 36px 0 80px;
}

/* Ne pas écraser .container (max-width: 1160px). */

.shop-page-head {
  margin: 0 0 28px;
}
.shop-page-head .eyebrow {
  margin: 0 0 12px;
}
.shop-page-head h1 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--ink, #111111);
  margin: 0 0 10px;
}
.shop-page-head__lead {
  margin: 0;
  max-width: 54ch;
  color: var(--ink-soft, #4A4A4A);
  font-size: 1.05rem;
  line-height: 1.55;
}

.tl-back {
  margin: 0 0 14px;
  font-size: 0.9rem;
}
.tl-back a {
  color: var(--ink-soft, #4A4A4A);
  text-decoration: none;
  font-weight: 500;
}
.tl-back a:hover {
  color: var(--coral, #A64A25);
}

/* Formulaires auth / contenus lecture (login, register, support) */
.shop-narrow {
  max-width: 640px;
}
.shop-auth {
  max-width: 440px;
  margin-left: auto;
  margin-right: auto;
}
.shop-auth--wide {
  max-width: 520px;
}
.shop-auth .shop-page-head {
  text-align: center;
}
.shop-auth .shop-page-head__lead {
  margin-left: auto;
  margin-right: auto;
}
.shop-auth .shop-page-head .eyebrow {
  margin-left: auto;
  margin-right: auto;
}
.shop-auth > p {
  text-align: center;
}

.btn-google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  box-sizing: border-box;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid #dadce0;
  border-radius: 24px;
  background: #fff;
  color: #1f1f1f;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}
.btn-google:hover {
  background: #f8f9fa;
  border-color: #c6c9ce;
  color: #1f1f1f;
}
.btn-google__icon { flex: 0 0 auto; }
.auth-or {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0;
  color: #667085;
  font-size: 13px;
  text-align: center;
}
.auth-or::before,
.auth-or::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #e6dcc9;
}
.auth-or span { flex: 0 0 auto; }
.auth-google-hint {
  margin: 0 0 16px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #fff8e8;
  color: #5c5346;
  font-size: 13px;
  text-align: center;
}

.shop-header__nav {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: auto;
  font-size: 14px;
  font-weight: 600;
}
.shop-header__nav a { text-decoration: none; color: var(--ink, #111111); }
.shop-header__nav a:hover { color: var(--coral, #A64A25); }
.shop-cart-link { position: relative; display: inline-flex; align-items: center; gap: 6px; }
.shop-cart-badge {
  background: var(--coral, #A64A25);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 99px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
}

.shop-wrap h1 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin: 0 0 22px;
  color: var(--ink, #111111);
}
.shop-empty {
  background: #fff;
  border: 1px solid var(--line, #E6DCC9);
  border-radius: 18px;
  padding: 48px 40px;
  text-align: center;
}
.shop-empty p {
  margin: 0 0 18px;
  color: var(--ink-soft, #4A4A4A);
  font-size: 1.05rem;
}
.shop-pricing {
  margin-top: 8px;
}
.shop-main .pricing--multi .price-card {
  background: #fff;
}
.shop-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.9fr;
  gap: 22px;
  align-items: start;
}
.shop-panel, .shop-summary, .summary-card {
  background: #fff;
  border: 1px solid var(--line, #E6DCC9);
  border-radius: 18px;
  padding: 20px;
  box-shadow: var(--shadow-sm, 0 2px 8px rgba(23,32,51,.06));
}
.shop-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.shop-table th {
  text-align: left;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #8890A0;
  padding: 8px 0;
  border-bottom: 1px solid #eee;
}
.shop-table td { padding: 14px 8px 14px 0; border-bottom: 1px solid #f1f1f1; vertical-align: top; }
.shop-table .muted { font-weight: 400; margin-top: 4px; }
.qty-form input[type="number"] {
  width: 64px;
  height: 38px;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 0 8px;
}
.linkish {
  background: none;
  border: 0;
  color: var(--coral, #A64A25);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
}
.cart-remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--coral, #A64A25);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.cart-remove:hover {
  background: rgba(255, 111, 82, 0.12);
  color: var(--coral-deep, #8B3C1C);
}
.shop-table__action {
  width: 48px;
  text-align: right;
  vertical-align: middle;
}
.shop-summary h2, .summary-card h2, .checkout-form-col h2, .shop-panel h2 {
  font-size: 1.05rem;
  margin: 0 0 14px;
}
.shop-summary__row, .shop-summary__total, .summary-total {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 10px 0;
}
.shop-summary__total, .summary-total {
  border-top: 1px solid #eee;
  padding-top: 14px;
  margin-top: 16px;
  font-size: 1.1rem;
}
.btn--block { width: 100%; justify-content: center; }

/* Checkout Woo-like */
.checkout-columns {
  display: grid;
  grid-template-columns: 1.35fr 0.9fr;
  gap: 28px;
  align-items: start;
}
.account-banner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  background: #E4F1EE;
  border: 1px solid #cfe4df;
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 22px;
}
.account-banner p { margin: 4px 0 0; font-size: 13.5px; color: #4A4A4A; }
.account-banner--ok { background: #FBEDD3; border-color: #f0d7a4; }
.account-banner__actions { display: flex; gap: 8px; flex-shrink: 0; }
.woo-checkout-form { display: grid; gap: 12px; }
.woo-checkout-form h2 { margin: 18px 0 4px; }
.woo-checkout-form label {
  display: grid;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #4A4A4A;
}
.shop-auth__label-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  font-weight: 600;
}
.shop-auth__forgot {
  font-size: 12.5px;
  font-weight: 500;
  color: #C15A3A;
  text-decoration: none;
  white-space: nowrap;
}
.shop-auth__forgot:hover {
  text-decoration: underline;
}
.woo-checkout-form input,
.woo-checkout-form select {
  height: 46px;
  border: 1px solid #D8CBAF;
  border-radius: 12px;
  padding: 0 14px;
  font: inherit;
  background: #fff;
  color: #111111;
}
.woo-checkout-form input:focus,
.woo-checkout-form select:focus {
  outline: none;
  border-color: var(--coral, #A64A25);
  box-shadow: 0 0 0 4px rgba(255,111,82,.15);
}
.form-row--2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-hint { margin: 0; font-size: 13px; color: #8890A0; }
.check-line {
  display: flex !important;
  align-items: flex-start;
  gap: 10px;
  font-weight: 500 !important;
  color: #111111 !important;
}
.check-line input { width: 18px; height: 18px; margin-top: 2px; }
.account-create {
  background: #FFFFFF;
  border-radius: 14px;
  padding: 14px;
  display: grid;
  gap: 12px;
}
.legal-note { font-size: 12.5px; color: #8890A0; margin: 4px 0 8px; }
.summary-lines { list-style: none; margin: 0; padding: 0; }
.summary-lines li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
}
.trust-list {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  font-size: 13px;
  color: #4A4A4A;
}
.trust-list li { padding: 6px 0 6px 18px; position: relative; }
.trust-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--teal, #405B3A);
  font-weight: 700;
}
.compte-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 8px;
}
.profile-subtitle {
  margin: 18px 0 4px;
  font-size: 0.95rem;
  color: var(--ink, #111111);
}
.profile-form .btn { margin-top: 8px; justify-self: start; }

/* Réutilise .license-field (défini aussi dans checkout.css pour la page succès) */
.shop-panel .license-field {
  max-width: 360px;
}
.license-field {
  display: flex;
  align-items: stretch;
  width: 100%;
  max-width: 420px;
  background: #fff;
  border: 1px solid #e2d6c2;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(23,32,51,.04);
}
.license-field__value {
  flex: 1;
  min-width: 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
  font-weight: 700;
  color: #111111;
  padding: 10px 12px;
  word-break: break-all;
  line-height: 1.35;
  user-select: all;
}
.license-field__btn {
  flex: 0 0 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-left: 1px solid #e2d6c2;
  background: #fbf7f0;
  color: #4A4A4A;
  cursor: pointer;
  transition: background .15s, color .15s;
}
.license-field__btn:hover {
  background: #fff4f0;
  color: #8B3C1C;
}
.license-field__btn.is-copied {
  background: #E8EEE7;
  color: #405B3A;
}
.license-field__icon {
  width: 17px;
  height: 17px;
  display: block;
}
.flash {
  padding: 12px 14px;
  border-radius: 10px;
  margin-bottom: 16px;
  font-size: 13.5px;
  font-weight: 500;
}
.flash--ok { background: #E8EEE7; color: #405B3A; }
.flash--bad { background: #fdeceb; color: #d0341f; }
.flash--warn { background: #fdf0dd; color: #b7690a; }
.mono { font-family: ui-monospace, Menlo, monospace; font-size: 12.5px; word-break: break-all; }
.empty { color: #8890A0; padding: 12px 0; }

/* —— Page Mon compte (maquette) —— */
.account-page {
  --acct-border: #ece7db;
  --acct-border-strong: #e0d8c5;
  --acct-muted: #8a8577;
  --acct-muted-2: #6b6559;
  --acct-accent: var(--coral-deep, #8B3C1C);
  --acct-accent-tint: #fdeeea;
  --acct-green: #405B3A;
  --acct-green-tint: #e5f5ec;
  --acct-radius: 16px;
  --acct-radius-sm: 10px;
}
.account-page__inner {
  /* Même largeur que le header ; ne pas écraser margin:auto de .container */
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
  max-width: 1160px;
  box-sizing: border-box;
}

/* Toutes les pages compte / auth / support dans la coquille boutique */
.shop-main > .container {
  margin-left: auto;
  margin-right: auto;
}
.welcome-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  color: var(--acct-accent);
  background: var(--acct-accent-tint);
  padding: 5px 12px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: 10px;
}
.badge-pill .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--acct-accent);
}
.welcome-title {
  display: flex;
  align-items: center;
  gap: 14px;
}
.avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--coral, #A64A25), #8B3C1C);
  color: #fff;
  font-weight: 800;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.welcome-title h1 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  margin: 0;
  letter-spacing: -.02em;
}
.welcome-sub {
  color: var(--acct-muted);
  font-size: 13.5px;
  margin: 2px 0 0;
}
.logout-btn {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--acct-border-strong);
  background: #fff;
  color: var(--ink, #111111);
  font-size: 13px;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 20px;
  text-decoration: none;
  white-space: nowrap;
}
.logout-btn:hover { background: #faf9f6; }

.account-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 0 0 22px;
  padding: 4px;
  background: #fff;
  border: 1px solid var(--acct-border);
  border-radius: 14px;
  width: fit-content;
  max-width: 100%;
}
.account-tabs__link {
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--acct-muted);
  text-decoration: none;
  transition: color .15s ease, background .15s ease;
}
.account-tabs__link:hover {
  color: var(--ink, #111111);
  background: #faf9f6;
}
.account-tabs__link.is-active {
  background: var(--acct-accent-tint, #fff4ef);
  color: var(--acct-accent, #A64A25);
}

.acct-home-simple__status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-top: 4px;
}
.acct-home-simple__site {
  margin: 14px 0 0;
  font-size: 14px;
  color: var(--acct-muted);
}
.acct-home-simple__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
  align-items: center;
}
.stat-suffix {
  font-size: 0.55em;
  font-weight: 600;
  color: var(--acct-muted);
  margin-left: 4px;
}

.dev-switcher {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  padding: 10px 12px;
  border: 1px dashed #d0d5dd;
  border-radius: 12px;
  background: #fafbfc;
}
.dev-switcher__label {
  font-size: 12px;
  font-weight: 700;
  color: #667085;
  margin-right: 4px;
}
.dev-switcher__btn {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  color: var(--ink, #111111);
  background: #fff;
  border: 1px solid #e4e7ec;
}
.dev-switcher__btn:hover { border-color: var(--acct-accent, #A64A25); color: var(--acct-accent, #A64A25); }
.dev-switcher__btn--muted { color: #667085; }

.dev-login-panel {
  margin: 0 0 20px;
  padding: 14px 16px;
  border: 1px dashed #d0d5dd;
  border-radius: 12px;
  background: #fafbfc;
}
.dev-login-panel__title {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 700;
}
.dev-login-panel__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.dev-login-panel__form { margin: 0; }
.dev-login-panel__hint {
  margin: 10px 0 0;
  font-size: 12px;
  color: #667085;
}

.table-wrap { overflow-x: auto; }
.agency-clients td { vertical-align: top; }

.license-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.license-section-head .btn-primary {
  white-space: nowrap;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  margin-bottom: 26px;
}
.stat-card {
  background: #fff;
  border: 1px solid var(--acct-border);
  border-radius: var(--acct-radius-sm);
  padding: 16px 18px;
}
.stat-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--acct-muted);
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: 8px;
}
.stat-value {
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--acct-green);
  flex-shrink: 0;
}
.stat-sub {
  font-size: 12px;
  color: var(--acct-muted);
  margin-top: 3px;
}
.stat-sub a { color: var(--acct-accent); font-weight: 600; }

.top-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 16px;
  align-items: start;
  margin-bottom: 16px;
}
.card-desc--tight { margin-bottom: 14px; }
.account-page .license-field--compact {
  max-width: 100%;
  flex: 1 1 220px;
}
.offer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.offer-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--acct-border);
  border-radius: var(--acct-radius-sm);
  background: #fdfbf7;
}
.offer-item__info {
  display: grid;
  gap: 2px;
  min-width: 0;
}
.offer-item__info strong {
  font-size: 13.5px;
  font-weight: 700;
}
.offer-item__info span {
  font-size: 12px;
  color: var(--acct-muted);
  font-weight: 600;
}
.offer-item__cta {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  border: none;
  background: var(--acct-accent-tint);
  color: var(--acct-accent);
  font-size: 12px;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 20px;
  text-decoration: none;
}
.offer-item__cta:hover {
  background: var(--acct-accent);
  color: #fff;
}

.acct-card {
  background: #fff;
  border: 1px solid var(--acct-border);
  border-radius: var(--acct-radius);
  padding: 28px;
  margin-bottom: 16px;
}
.acct-card--compact { margin-bottom: 0; }
.acct-card--pw { padding: 20px 28px; }
.card-title {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  margin: 0 0 4px;
}
.card-title--sm { font-size: 16px; margin-bottom: 14px; }
.card-desc {
  color: var(--acct-muted);
  font-size: 13px;
  margin: 0 0 22px;
}

.form-section { margin-bottom: 8px; }
.fs-title {
  font-size: 13.5px;
  font-weight: 700;
  margin: 0 0 14px;
}
.field-label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  margin-bottom: 7px;
  color: var(--acct-muted-2);
}
.field-block { margin-bottom: 16px; }
.account-form input[type=text],
.account-form input[type=email],
.account-form input[type=tel],
.account-form input[type=password],
.account-form select {
  width: 100%;
  border: 1.5px solid var(--acct-border-strong);
  border-radius: var(--acct-radius-sm);
  padding: 11px 13px;
  font-size: 13.5px;
  color: var(--ink, #111111);
  background: #fff;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
  font-family: inherit;
  height: auto;
}
.account-form input:focus,
.account-form select:focus {
  border-color: var(--acct-accent);
  box-shadow: 0 0 0 3px var(--acct-accent-tint);
}
.account-form input::placeholder { color: #c9c3b4; }
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.grid-2:last-child { margin-bottom: 0; }
hr.sep {
  border: none;
  border-top: 1px solid var(--acct-border);
  margin: 22px 0;
}
.check-row {
  display: flex;
  align-items: center;
  gap: 9px;
}
.check-row input {
  width: 16px;
  height: 16px;
  cursor: pointer;
  accent-color: var(--acct-accent);
}
.check-row label {
  font-size: 13.5px;
  cursor: pointer;
  font-weight: 500;
}

.btn-primary {
  border: none;
  background: var(--coral, #A64A25);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 13px 24px;
  border-radius: 24px;
  cursor: pointer;
  font-family: inherit;
}
.btn-primary:hover { filter: brightness(1.05); }
.btn-secondary {
  border: 1.5px solid var(--acct-border-strong);
  background: #fff;
  color: var(--ink, #111111);
  font-size: 13.5px;
  font-weight: 700;
  padding: 11px 20px;
  border-radius: 20px;
  cursor: pointer;
  font-family: inherit;
}
.btn-secondary:hover { background: #faf9f6; }

.pw-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  border: none;
  background: none;
  color: var(--acct-accent);
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  padding: 0;
  font-family: inherit;
  width: 100%;
  text-align: left;
}
.pw-toggle svg { transition: transform .15s; flex-shrink: 0; }
.pw-toggle.open svg { transform: rotate(90deg); }
.pw-body {
  overflow: hidden;
  max-height: 0;
  transition: max-height .25s ease;
}
.pw-body.open { max-height: 280px; margin-top: 16px; }
.pw-hint {
  font-size: 12px;
  color: var(--acct-muted);
  margin: 0 0 14px;
}
.pw-save { margin-top: 14px; }

.bottom-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 16px;
  align-items: start;
}

.account-page .license-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 14px;
  border: 1px solid var(--acct-border);
  border-radius: var(--acct-radius-sm);
  background: #fdfbf7;
  margin-top: 0;
}
.account-page .license-row + .license-row { margin-top: 10px; }
.license-meta { flex: 1; min-width: 140px; }
.license-plan {
  font-size: 13.5px;
  font-weight: 700;
  text-transform: capitalize;
  margin-bottom: 6px;
}
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--acct-green);
  background: var(--acct-green-tint);
  padding: 3px 10px;
  border-radius: 20px;
}
.status-badge--muted {
  color: var(--acct-muted-2);
  background: #f3f0e8;
}
.key-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--acct-border-strong);
  border-radius: 8px;
  padding: 7px 10px;
  font-family: ui-monospace, Menlo, monospace;
  font-size: 12px;
  max-width: 100%;
}
.key-chip__value {
  word-break: break-all;
  font-weight: 600;
}
.copy-btn {
  border: none;
  background: var(--acct-accent-tint);
  color: var(--acct-accent);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 6px;
  cursor: pointer;
  flex-shrink: 0;
  font-family: inherit;
}
.copy-btn:hover,
.copy-btn.is-copied {
  background: var(--acct-accent);
  color: #fff;
}
.license-exp {
  font-size: 12px;
  color: var(--acct-muted);
  margin-top: 2px;
  width: 100%;
}

table.orders {
  width: 100%;
  border-collapse: collapse;
}
table.orders th {
  text-align: left;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--acct-muted);
  text-transform: uppercase;
  letter-spacing: .03em;
  padding: 0 8px 10px;
  border-bottom: 1px solid var(--acct-border);
}
table.orders td {
  padding: 11px 8px;
  font-size: 12.5px;
  border-bottom: 1px solid var(--acct-border);
  vertical-align: top;
}
table.orders tr:last-child td { border-bottom: none; }
table.orders .o-num {
  font-family: ui-monospace, Menlo, monospace;
  font-size: 11.5px;
  word-break: break-all;
}
table.orders .o-amount { font-weight: 700; }
table.orders .o-date {
  color: var(--acct-muted);
  font-size: 11.5px;
}

/* ——— Guides ——— */
.guides-list {
  list-style: none;
  margin: 0 0 40px;
  padding: 0;
  display: grid;
  gap: 20px;
}
.guides-card {
  display: grid;
  grid-template-columns: minmax(140px, 240px) minmax(0, 1fr);
  gap: 18px 22px;
  align-items: center;
  padding: 18px 20px;
  border: 1px solid var(--line, #E8E4DC);
  border-radius: 12px;
  background: var(--paper, #fff);
}
.guides-card:not(:has(.guides-card__cover)) {
  grid-template-columns: 1fr;
}
.guides-card__cover {
  display: block;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #f3f1ec;
  align-self: stretch;
  min-height: 120px;
}
.guides-card__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
/* Wide infographic: crop into the left slot (show integrated side) */
.guides-card__cover--banner {
  aspect-ratio: 4 / 3;
}
.guides-card__cover--banner img {
  object-fit: cover;
  object-position: 78% center;
}
.guides-card__body {
  min-width: 0;
}
.guides-card__meta {
  margin: 0 0 6px;
  font-size: 0.82rem;
  color: var(--ink-soft, #4A4A4A);
}
.guides-card__title {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 750;
  letter-spacing: -0.02em;
  line-height: 1.25;
}
.guides-card__title a {
  color: var(--ink, #111);
  text-decoration: none;
}
.guides-card__title a:hover {
  color: var(--coral, #A64A25);
}
.guides-card__excerpt {
  margin: 0 0 12px;
  color: var(--ink-soft, #4A4A4A);
  line-height: 1.55;
  max-width: 62ch;
}
.guides-card__more {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--coral, #A64A25);
  text-decoration: none;
}
@media (max-width: 640px) {
  .guides-card {
    grid-template-columns: 1fr;
    align-items: stretch;
    padding: 16px;
  }
  .guides-card__cover,
  .guides-card__cover--banner {
    aspect-ratio: 16 / 9;
    min-height: 0;
  }
  .guides-card__cover--banner img {
    object-position: center;
  }
}
.guides-card__more:hover {
  text-decoration: underline;
}
.guides-empty {
  margin: 0 0 32px;
  color: var(--ink-soft, #4A4A4A);
}
.guides-article__meta {
  margin: 0 0 12px;
  font-size: 0.9rem;
  color: var(--ink-soft, #4A4A4A);
}
.guides-article__lead {
  margin: 0 0 28px;
  max-width: none;
  font-size: 0.95rem;
  line-height: 1.55;
  font-style: italic;
  font-weight: 400;
  color: var(--ink-soft, #4A4A4A);
}
.guides-article__cover {
  margin: 0 0 20px;
  border-radius: 12px;
  overflow: hidden;
  background: #f3f1ec;
}
.guides-article__cover img {
  width: 100%;
  height: auto;
  display: block;
}
.guides-article__cover--banner {
  background: #f7f3ea;
}
.guides-article__cover--banner img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center;
}
.guides-article__body {
  max-width: none;
  width: 100%;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink, #111);
}
.guides-article__body h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 750;
  letter-spacing: -0.02em;
  margin: 1.6em 0 0.55em;
}
.guides-article__body h3 {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin: 1.35em 0 0.45em;
}
.guides-article__body p {
  margin: 0 0 1em;
}
.guides-article__body ul,
.guides-article__body ol {
  margin: 0 0 1em;
  padding-left: 1.25em;
}
.guides-article__body li {
  margin: 0.25em 0;
}
.guides-article__body a {
  color: var(--coral, #A64A25);
}
.guides-article__body small {
  display: block;
  color: var(--muted, #6b6560);
  font-size: 0.88em;
  line-height: 1.5;
}
.guides-article__body .table-responsive {
  width: calc(100% + min(12vw, 8rem));
  max-width: none;
  margin: 1.1em 0 1.35em;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.guides-article__body table {
  width: 100%;
  min-width: 36rem;
  border-collapse: collapse;
  font-size: 0.92rem;
  line-height: 1.45;
}
.guides-article__body th,
.guides-article__body td {
  border: 1px solid var(--line, #E8E4DC);
  padding: 0.65em 0.75em;
  text-align: left;
  vertical-align: top;
}
.guides-article__body thead th {
  background: #f7f4ef;
  font-weight: 650;
}
.guides-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 36px 0 28px;
}
.guides-nav__link {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 18px;
  border: 1px solid var(--line, #E8E4DC);
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  min-height: 72px;
}
.guides-nav__link:hover {
  border-color: var(--coral, #A64A25);
}
.guides-nav__link--next {
  text-align: right;
  justify-self: end;
  width: 100%;
}
.guides-nav__dir {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink-soft, #4A4A4A);
}
.guides-nav__title {
  font-weight: 650;
  line-height: 1.35;
}
.guides-cta {
  margin-top: 12px;
  padding: 24px 26px;
  border-radius: 12px;
  background: #f7f4ef;
  border: 1px solid var(--line, #E8E4DC);
}
.guides-cta h2 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 750;
}
.guides-cta p {
  margin: 0 0 14px;
  color: var(--ink-soft, #4A4A4A);
  max-width: 54ch;
  line-height: 1.5;
}
.guides-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 !important;
}

@media (max-width: 700px) {
  .guides-nav {
    grid-template-columns: 1fr;
  }
  .guides-nav__link--next {
    text-align: left;
    justify-self: stretch;
  }
}

@media (max-width: 900px) {
  .shop-grid, .checkout-columns, .form-row--2 { grid-template-columns: 1fr; }
  .account-banner { flex-direction: column; align-items: flex-start; }
  .shop-header__nav { gap: 12px; font-size: 13px; }
}
@media (max-width: 760px) {
  .grid-2, .bottom-grid, .stat-row, .top-grid { grid-template-columns: 1fr; }
  .welcome-row { flex-direction: column; }
  .shop-main { padding: 28px 0 64px; }
}
