/* Fann.co modern cart page */
.fann-cart-page {
  --fann-cart-shell: 1380px;
  --fann-cart-radius: 22px;
  --fann-cart-border: #e5e7eb;
  --fann-cart-soft: #f7f8fa;
  --fann-cart-muted: #71717a;
  --fann-cart-ink: #141414;
  background: #fff;
  color: var(--fann-cart-ink);
  min-height: 60vh;
}
.fann-cart-page__shell { width: min(var(--fann-cart-shell), calc(100% - 40px)); margin-inline: auto; }
.fann-cart-hero { padding: 34px 0 30px; background: linear-gradient(135deg, #fff8d8 0%, #fff 58%, #f6f7f9 100%); border-bottom: 1px solid #eceef1; }
.fann-cart-hero__crumbs { display:flex; align-items:center; gap:8px; margin-bottom:22px; font-size:13px; color:#74777f; }
.fann-cart-hero__crumbs a:hover { color:#111; }
.fann-cart-hero__content { display:flex; align-items:flex-end; justify-content:space-between; gap:28px; }
.fann-cart-hero__eyebrow { display:inline-block; margin-bottom:7px; color:#8b6a00; font-size:12px; font-weight:800; letter-spacing:.12em; text-transform:uppercase; }
.fann-cart-hero h1 { margin:0; font-size:clamp(32px,4vw,52px); line-height:1.05; letter-spacing:-.045em; font-weight:750; }
.fann-cart-hero p { margin:10px 0 0; color:#686b72; max-width:620px; }
.fann-cart-steps { display:flex; align-items:center; min-width:410px; }
.fann-cart-steps span { display:flex; align-items:center; gap:8px; color:#8a8d94; font-size:13px; font-weight:700; white-space:nowrap; }
.fann-cart-steps span i { display:grid; place-items:center; width:30px; height:30px; border-radius:50%; border:1px solid #d6d8dc; background:#fff; font-style:normal; }
.fann-cart-steps span.is-active { color:#111; }
.fann-cart-steps span.is-active i { background:var(--fann-accent,#FEC30F); border-color:var(--fann-accent,#FEC30F); }
.fann-cart-steps b { height:1px; flex:1; min-width:28px; margin:0 10px; background:#d8dade; }
.fann-cart-page__grid { display:grid; grid-template-columns:minmax(0,1fr) 410px; gap:28px; padding:42px 0 72px; align-items:start; }
.fann-cart-page__grid.is-empty { grid-template-columns:1fr; }
.fann-cart-page__grid.is-empty .fann-cart-page__summary { display:none; }
.fann-cart-page__items-panel,
.fann-cart-summary-card { border:1px solid var(--fann-cart-border); border-radius:var(--fann-cart-radius); background:#fff; box-shadow:0 14px 45px rgba(20,20,20,.045); }
.fann-cart-page__items-panel { padding:28px; }
.fann-cart-page__section-head { display:flex; justify-content:space-between; align-items:center; gap:20px; padding-bottom:22px; border-bottom:1px solid #eceef1; }
.fann-cart-page__section-head span:first-child { color:#8a8d94; font-size:12px; font-weight:800; text-transform:uppercase; letter-spacing:.1em; }
.fann-cart-page__section-head h2 { margin:4px 0 0; font-size:24px; line-height:1.2; letter-spacing:-.025em; }
.fann-cart-page__count { padding:7px 12px; border-radius:999px; background:#f4f4f5; color:#4e5056; font-size:12px; font-weight:700; }
.fann-cart-page__items { display:grid; gap:0; }
.fann-cart-page-item { display:grid; grid-template-columns:140px minmax(0,1fr); gap:20px; padding:24px 0; border-bottom:1px solid #eceef1; transition:opacity .22s ease, transform .22s ease; }
.fann-cart-page-item:last-child { border-bottom:0; padding-bottom:0; }
.fann-cart-page-item.is-updating { opacity:.5; transform:scale(.995); pointer-events:none; }
.fann-cart-page-item__media { aspect-ratio:1/1; border-radius:18px; background:#fafafa; overflow:hidden; display:grid; place-items:center; border:1px solid #eef0f2; }
.fann-cart-page-item__media img { width:100%; height:100%; object-fit:contain; padding:10px; }
.fann-cart-page-item__content { min-width:0; display:flex; flex-direction:column; justify-content:space-between; gap:22px; }
.fann-cart-page-item__top { display:flex; justify-content:space-between; gap:18px; }
.fann-cart-page-item__title { display:block; color:#171717; font-size:17px; line-height:1.45; font-weight:700; max-width:620px; }
.fann-cart-page-item__title:hover { color:#7c6100; }
.fann-cart-page-item__variation { margin-top:6px; color:#73767e; font-size:13px; }
.fann-cart-page-item__variation dl { margin:0; display:flex; flex-wrap:wrap; gap:5px 12px; }
.fann-cart-page-item__variation dt,.fann-cart-page-item__variation dd { margin:0; }
.fann-cart-page-item__unit-price { margin-top:8px; font-size:16px; font-weight:800; color:#161616; }
.fann-cart-page-item__unit-price span { color:#90939a; font-size:12px; font-weight:500; }
.fann-cart-page-item__remove { flex:0 0 38px; width:38px; height:38px; display:grid; place-items:center; border:1px solid #e4e6e9; border-radius:50%; background:#fff; color:#777b83; transition:.2s ease; }
.fann-cart-page-item__remove:hover { background:#111; border-color:#111; color:#fff; }
.fann-cart-page-item__remove svg { width:17px; height:17px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.fann-cart-page-item__bottom { display:flex; justify-content:space-between; align-items:center; gap:20px; }
.fann-cart-qty { display:inline-grid; grid-template-columns:38px 54px 38px; align-items:center; padding:4px; border-radius:999px; background:#f4f5f6; }
.fann-cart-qty button { width:38px; height:38px; border:0; border-radius:50%; background:#fff; color:#151515; font-size:20px; box-shadow:0 1px 2px rgba(0,0,0,.04); }
.fann-cart-qty input { width:54px; border:0; outline:0; text-align:center; background:transparent; color:#111; font-weight:700; -moz-appearance:textfield; }
.fann-cart-qty input::-webkit-inner-spin-button,.fann-cart-qty input::-webkit-outer-spin-button { -webkit-appearance:none; margin:0; }
.fann-cart-page-item__subtotal { text-align:right; }
.fann-cart-page-item__subtotal span { display:block; margin-bottom:2px; color:#8a8d94; font-size:12px; }
.fann-cart-page-item__subtotal strong { font-size:18px; }
.fann-cart-page__summary { position:sticky; top:110px; }
.fann-cart-summary-card { padding:26px; }
.fann-cart-summary-card__head { display:flex; justify-content:space-between; align-items:flex-start; gap:15px; }
.fann-cart-summary-card__head span:first-child { color:#8b8e95; font-size:12px; text-transform:uppercase; letter-spacing:.09em; font-weight:800; }
.fann-cart-summary-card__head h2 { margin:4px 0 0; font-size:23px; letter-spacing:-.025em; }
.fann-cart-summary-card__badge { background:#fff6c7; color:#665000; border:1px solid #ffe170; border-radius:999px; padding:7px 10px; font-size:11px; font-weight:800; }
.fann-cart-page-coupon { margin-top:24px; padding:18px; border:1px solid #eceef1; border-radius:16px; background:#fafafa; }
.fann-cart-page-coupon label { display:block; margin-bottom:9px; font-size:13px; font-weight:700; }
.fann-cart-page-coupon__row { display:grid; grid-template-columns:1fr auto; gap:8px; }
.fann-cart-page-coupon input { min-width:0; height:44px; padding:0 14px; border:1px solid #dfe2e6; border-radius:12px; outline:0; background:#fff; }
.fann-cart-page-coupon input:focus { border-color:#d5aa00; box-shadow:0 0 0 3px rgba(254,195,15,.16); }
.fann-cart-page-coupon button { height:44px; padding:0 17px; border:0; border-radius:12px; background:#151515; color:#fff; font-weight:700; }
.fann-cart-page-coupon__message { margin-top:8px; font-size:12px; color:#147a38; }
.fann-cart-page-coupon__message.is-error { color:#b42318; }
.fann-cart-page-coupons { display:flex; flex-wrap:wrap; gap:8px; margin-top:12px; }
.fann-cart-page-coupon-chip { display:inline-flex; align-items:center; gap:7px; padding:6px 9px 6px 11px; border-radius:999px; background:#fff4bb; color:#6f5600; font-size:12px; font-weight:700; }
.fann-cart-page-coupon-chip button { border:0; background:transparent; padding:0; font-size:17px; line-height:1; color:inherit; }
.fann-cart-summary-card__rows { display:grid; gap:12px; margin:24px 0; padding-bottom:22px; border-bottom:1px solid #e8eaed; }
.fann-cart-summary-card__rows > div { display:flex; justify-content:space-between; gap:18px; color:#666a72; font-size:14px; }
.fann-cart-summary-card__rows strong { color:#222; text-align:right; font-weight:700; }
.fann-cart-summary-card__rows .is-discount strong { color:#159447; }
.fann-cart-summary-card__total { display:flex; align-items:flex-end; justify-content:space-between; gap:16px; }
.fann-cart-summary-card__total span { font-size:16px; font-weight:700; }
.fann-cart-summary-card__total strong { font-size:25px; line-height:1.1; }
/* Keep WooCommerce currency symbol and amount on one line inside the custom cart UI. */
.fann-cart-page .woocommerce-Price-amount.amount,
.fann-cart-page .woocommerce-Price-amount.amount bdi,
.fann-cart-page .woocommerce-Price-currencySymbol {
  display:inline !important;
  white-space:nowrap;
}
.fann-cart-page-item__unit-price .woocommerce-Price-amount.amount,
.fann-cart-page-item__subtotal strong .woocommerce-Price-amount.amount,
.fann-cart-summary-card__rows strong .woocommerce-Price-amount.amount,
.fann-cart-summary-card__total strong .woocommerce-Price-amount.amount {
  white-space:nowrap;
}
.fann-cart-checkout-button { margin-top:22px; min-height:54px; padding:0 18px 0 22px; border-radius:999px; display:flex; align-items:center; justify-content:space-between; background:var(--fann-accent,#FEC30F); color:#111; font-weight:800; box-shadow:0 10px 25px rgba(254,195,15,.28); transition:.2s ease; }
.fann-cart-checkout-button:hover { transform:translateY(-1px); background:#111; color:#fff; }
.fann-cart-checkout-button svg,.fann-cart-continue-shopping svg { width:19px; height:19px; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
.fann-cart-continue-shopping { min-height:46px; margin-top:8px; display:flex; align-items:center; justify-content:center; gap:8px; color:#666a72; font-size:13px; font-weight:700; }
.fann-cart-continue-shopping:hover { color:#111; }
.fann-cart-summary-card__trust { display:flex; justify-content:center; gap:18px; margin-top:15px; padding-top:16px; border-top:1px solid #eef0f2; color:#73767e; font-size:11px; }
.fann-cart-summary-card__trust span { display:flex; align-items:center; gap:5px; }
.fann-cart-summary-card__trust svg { width:16px; height:16px; fill:none; stroke:#111; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }
.fann-cart-page__notice { position:fixed; left:22px; bottom:22px; z-index:9995; max-width:min(420px,calc(100vw - 44px)); padding:13px 16px; border-radius:14px; background:#111; color:#fff; box-shadow:0 14px 40px rgba(0,0,0,.22); font-size:13px; font-weight:600; transform:translateY(12px); opacity:0; transition:.22s ease; }
.fann-cart-page__notice.is-showing { transform:none; opacity:1; }
.fann-cart-page__notice.is-error { background:#8f1d18; }
.fann-cart-empty-state { padding:64px 20px; text-align:center; }
.fann-cart-empty-state__icon { width:78px; height:78px; margin:0 auto 18px; display:grid; place-items:center; border-radius:24px; background:#fff4b4; color:#111; }
.fann-cart-empty-state__icon svg { width:34px; height:34px; fill:none; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }
.fann-cart-empty-state > span { color:#9a7a00; font-size:12px; font-weight:800; text-transform:uppercase; letter-spacing:.1em; }
.fann-cart-empty-state h3 { margin:8px 0; font-size:26px; }
.fann-cart-empty-state p { margin:0 auto; max-width:460px; color:#73767e; }
.fann-cart-empty-state a { display:inline-flex; align-items:center; justify-content:center; min-height:48px; margin-top:22px; padding:0 24px; border-radius:999px; background:#111; color:#fff; font-weight:800; }

@media (max-width: 1100px) {
  .fann-cart-page__grid { grid-template-columns:minmax(0,1fr) 360px; gap:20px; }
  .fann-cart-steps { min-width:350px; }
}
@media (max-width: 900px) {
  .fann-cart-hero__content { align-items:flex-start; flex-direction:column; }
  .fann-cart-steps { width:100%; min-width:0; }
  .fann-cart-page__grid { grid-template-columns:1fr; }
  .fann-cart-page__summary { position:static; }
}
@media (max-width: 640px) {
  .fann-cart-page__shell { width:min(100% - 24px,var(--fann-cart-shell)); }
  .fann-cart-hero { padding:22px 0 24px; }
  .fann-cart-hero__crumbs { margin-bottom:16px; font-size:12px; }
  .fann-cart-hero h1 { font-size:34px; }
  .fann-cart-hero p { font-size:14px; }
  .fann-cart-steps span { font-size:0; gap:0; }
  .fann-cart-steps span i { font-size:12px; }
  .fann-cart-steps b { margin:0 7px; min-width:20px; }
  .fann-cart-page__grid { padding:24px 0 50px; }
  .fann-cart-page__items-panel,.fann-cart-summary-card { border-radius:18px; }
  .fann-cart-page__items-panel { padding:18px; }
  .fann-cart-page__section-head h2 { font-size:21px; }
  .fann-cart-page-item { grid-template-columns:96px minmax(0,1fr); gap:13px; padding:18px 0; }
  .fann-cart-page-item__media { border-radius:14px; }
  .fann-cart-page-item__title { font-size:14px; line-height:1.4; display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; overflow:hidden; }
  .fann-cart-page-item__unit-price { font-size:14px; }
  .fann-cart-page-item__remove { width:34px; height:34px; flex-basis:34px; }
  .fann-cart-page-item__bottom { align-items:flex-end; flex-direction:column-reverse; gap:12px; }
  .fann-cart-qty { align-self:flex-start; grid-template-columns:34px 44px 34px; }
  .fann-cart-qty button { width:34px; height:34px; }
  .fann-cart-qty input { width:44px; }
  .fann-cart-page-item__subtotal { align-self:flex-end; }
  .fann-cart-summary-card { padding:20px; }
  .fann-cart-summary-card__trust { flex-direction:column; align-items:center; gap:7px; }
}
