/* ------------------------------------------------------------------
   FACOBE — WooCommerce overrides
   Only loaded on shop/product/cart/account pages.
   ------------------------------------------------------------------ */

/* ---------- Product card (PLP) ---------- */
.fcb-plp { padding-block: 16px 40px; }
.fcb-plp__head { display: flex; gap: 12px; align-items: center; padding: 12px 0; }
.fcb-plp__chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; -ms-overflow-style: none; scrollbar-width: none; }
.fcb-plp__chips::-webkit-scrollbar { display: none; }
.fcb-plp__toolbar { position: sticky; top: 56px; z-index: 20; background: var(--fcb-bg);
  padding: 10px var(--fcb-gutter); margin-inline: calc(var(--fcb-gutter) * -1);
  border-bottom: 1px solid var(--fcb-line); display: flex; justify-content: space-between; gap: 8px; }
.fcb-plp__count { font-size: var(--fcb-fs-sm); color: var(--fcb-muted); align-self: center; }

.fcb-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px; }
@media (min-width: 700px) { .fcb-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
@media (min-width: 1100px) { .fcb-grid { grid-template-columns: repeat(4, 1fr); } }

.fcb-card { position: relative; display: flex; flex-direction: column; overflow: hidden; }
.fcb-card__media { position: relative; aspect-ratio: 4/5; overflow: hidden; background: #f2ece2; }
.fcb-card__media img { width: 100%; height: 100%; object-fit: cover;
  transition: transform 500ms var(--fcb-ease), opacity var(--fcb-t-base) var(--fcb-ease); }
.fcb-card__media img.is-hover { position: absolute; inset: 0; opacity: 0; }
.fcb-card:hover .fcb-card__media img.is-hover { opacity: 1; }
.fcb-card:hover .fcb-card__media img.is-primary { transform: scale(1.03); }
.fcb-card__badges { position: absolute; top: 10px; right: 10px; display: flex; gap: 4px; z-index: 1; }
.facobe-badge { display: inline-flex; padding: 4px 8px; background: var(--fcb-ink); color: var(--fcb-surface); font-size: 10px; font-weight: 700; letter-spacing: .08em; border-radius: 2px; }
.facobe-badge--sale { display: none !important; }
.facobe-badge--new { background: var(--fcb-accent); color: var(--fcb-surface); }

/* v2 SAVE ribbon — sits top-left of every discounted card. */
.fcb-card__save {
  position: absolute; top: 10px; left: 0; z-index: 2;
  background: var(--fcb-success); color: var(--fcb-surface);
  padding: 5px 10px 5px 12px;
  font-family: var(--fcb-font-body); font-weight: 700; font-size: 11px;
  letter-spacing: .06em; text-transform: uppercase;
  border-radius: 0 4px 4px 0;
  box-shadow: 0 2px 6px rgba(61,31,61,.14);
}
.fcb-card__save::after {
  content: ''; position: absolute; right: -6px; top: 0;
  width: 0; height: 0;
  border-top: 12px solid var(--fcb-success);
  border-bottom: 12px solid var(--fcb-success);
  border-right: 6px solid transparent;
}
.fcb-card__wl { position: absolute; top: 6px; right: 6px; z-index: 1; width: 34px; height: 34px;
  background: rgba(255,255,255,.92); border: 0; border-radius: 50%; color: var(--fcb-ink);
  display: inline-flex; align-items: center; justify-content: center; }
.fcb-card__wl svg { width: 18px; height: 18px; }
.fcb-card__wl[aria-pressed="true"] { color: var(--fcb-sale); }
.fcb-card__wl[aria-pressed="true"] svg { fill: currentColor; }

.fcb-card__swatches { position: absolute; bottom: 8px; left: 8px; display: flex; gap: 4px; z-index: 1; }
.fcb-swatch { width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.9); box-shadow: 0 0 0 1px rgba(0,0,0,.08); }
/* Card layout — make card a positioned column so CTA can anchor to the media */
.fcb-card { position: relative; }
.fcb-card__link { display: block; position: relative; }

/* Card CTA — sits inside the media on desktop (hover reveal), sits below on mobile */
.fcb-card__cta { position: relative; z-index: 2; background: var(--fcb-bg);
  padding: 8px 0; border: 0; margin-top: 6px; }
@media (min-width: 900px) {
  .fcb-card__cta { position: absolute; bottom: 8px; left: 8px; right: 8px;
    background: rgba(255,255,255,.98); backdrop-filter: blur(6px); border-radius: 6px; padding: 8px;
    transform: translateY(120%); transition: transform var(--fcb-t-base) var(--fcb-ease);
    box-shadow: 0 4px 20px rgba(0,0,0,.08); margin-top: 0; }
  .fcb-card:hover .fcb-card__cta { transform: translateY(0); }
}
.fcb-card__cta__buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.fcb-card__btn { border: 0; padding: 10px 6px; font-size: 11px; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; cursor: pointer; border-radius: 3px;
  transition: background var(--fcb-t-fast) var(--fcb-ease), color var(--fcb-t-fast) var(--fcb-ease); }
.fcb-card__btn--add { background: transparent; color: var(--fcb-ink); border: 1px solid var(--fcb-ink); }
.fcb-card__btn--add:hover { background: var(--fcb-ink); color: #fff; }
.fcb-card__btn--buy { background: var(--fcb-ink); color: #fff; }
.fcb-card__btn--buy:hover { background: var(--fcb-gold-ink); }
.fcb-card__btn.is-loading { opacity: .55; pointer-events: none; }

.fcb-card__cta__sizes { padding: 4px 4px 8px; }
.fcb-card__cta__lbl { display: block; font-size: 10px; color: var(--fcb-muted); text-align: center;
  letter-spacing: .1em; text-transform: uppercase; margin-bottom: 6px; }
.fcb-card__cta__chips { display: flex; gap: 4px; flex-wrap: wrap; justify-content: center; }
.fcb-card__size { border: 1px solid var(--fcb-line-2); background: transparent; padding: 6px 10px;
  font-size: 11px; border-radius: 2px; min-width: 32px; cursor: pointer; }
.fcb-card__size:hover, .fcb-card__size.is-selected { background: var(--fcb-ink); color: #fff; border-color: var(--fcb-ink); }
.fcb-card__size[disabled] { opacity: .3; text-decoration: line-through; pointer-events: none; }

.fcb-card__body { padding: 8px 4px 16px; }
/* Override the sitewide h3 display-font styling — product card titles read as body copy */
h3.fcb-card__title,
.fcb-card h3.fcb-card__title,
body h3.fcb-card__title {
  font-family: var(--fcb-font-body) !important;
  font-size: var(--fcb-fs-sm) !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
  line-height: 1.4 !important;
  margin: 0 0 4px !important;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.fcb-card__rating { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; color: var(--fcb-muted); margin-bottom: 4px; }
.fcb-card__rating svg { width: 12px; height: 12px; color: var(--fcb-gold); }
.facobe-badge--sold-out { position: absolute; inset: 0; background: rgba(255,255,255,.7); color: var(--fcb-ink);
  display: flex; align-items: center; justify-content: center; font-weight: 700; letter-spacing: .1em; font-size: 12px; z-index: 3; }

/* ---------- Price ---------- */
.facobe-price { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 6px; font-family: var(--fcb-font-body); }
.facobe-price__sale { font-weight: 700; color: var(--fcb-ink); font-size: var(--fcb-fs-md); }
.facobe-price__mrp { text-decoration: line-through; color: var(--fcb-muted); font-size: var(--fcb-fs-sm); }
.facobe-price__saved { color: var(--fcb-success); font-size: var(--fcb-fs-xs); font-weight: 600; }
.facobe-price bdi { font-variant-numeric: tabular-nums; }

/* ---------- PDP — best-in-class layout ---------- */
.fcb-pdp { padding: 12px 0 100px; }
.fcb-crumbs { font-size: 12px; color: var(--fcb-muted); margin-bottom: 16px; letter-spacing: .02em; }
.fcb-crumbs a { color: var(--fcb-muted); }
.fcb-crumbs a:hover { color: var(--fcb-ink); }

.fcb-pdp__wrap { display: grid; grid-template-columns: 1fr; gap: 24px; align-items: flex-start; }
@media (min-width: 900px) {
  .fcb-pdp__wrap { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 56px; }
}

.fcb-pdp__gallery { min-width: 0; }
@media (min-width: 900px) {
  .fcb-pdp__info { position: sticky; top: 76px; align-self: start; padding-block: 8px; }
}

.fcb-pdp__brand { font-size: 10px; letter-spacing: .32em; text-transform: uppercase; color: var(--fcb-gold-ink); font-weight: 700; margin: 0 0 8px; }
.fcb-pdp__title { font-family: var(--fcb-font-display); font-size: clamp(22px, 3vw, 32px); margin: 0 0 10px; line-height: 1.15; font-weight: 700; letter-spacing: -.005em; }
.fcb-pdp__rating { display: inline-flex; gap: 6px; align-items: center; margin: 0 0 14px; font-size: var(--fcb-fs-sm); color: var(--fcb-muted); }
.fcb-pdp__rating .star-rating { color: var(--fcb-gold); font-size: 14px; }

.fcb-pdp__price { margin-block: 4px 20px; padding-block: 12px; border-block: 1px solid var(--fcb-line); }
.fcb-pdp__price .facobe-price__sale { font-size: 28px; font-weight: 800; }
.fcb-pdp__price .facobe-price__mrp { font-size: 16px; }
.fcb-pdp__price .facobe-price__saved { display: block; font-size: 13px; margin-top: 4px; }

.fcb-pdp__tax { font-size: 11px; color: var(--fcb-muted); margin-top: -12px; margin-bottom: 20px; letter-spacing: .06em; text-transform: uppercase; }

.fcb-pdp__opt { margin-block: 18px; }
.fcb-pdp__opt__label { display: flex; justify-content: space-between; align-items: center; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 10px; color: var(--fcb-ink); font-weight: 600; }
.fcb-pdp__opt__label a { color: var(--fcb-gold-ink); text-decoration: underline; text-decoration-thickness: 1px; font-size: 11px; }
.fcb-pdp__sizes { display: flex; gap: 8px; flex-wrap: wrap; }
.fcb-pdp__sizes .fcb-chip { padding: 12px 18px; font-weight: 600; min-width: 52px; text-align: center; text-transform: uppercase; letter-spacing: .04em; font-size: 13px; }
.fcb-pdp__sizes .fcb-chip[aria-pressed="true"] { background: var(--fcb-ink); color: #fff; border-color: var(--fcb-ink); }
.fcb-pdp__sizes .fcb-chip[disabled] { opacity: .35; text-decoration: line-through; pointer-events: none; }

.fcb-pdp__actions { display: flex; gap: 10px; margin-top: 24px; }
.fcb-pdp__actions .fcb-btn { flex: 1; padding: 16px 12px; font-size: 14px; }
.fcb-pdp__actions .fcb-btn--outline { background: transparent; }

.fcb-pdp__trust { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 24px; padding: 16px; background: var(--fcb-surface); border-radius: var(--fcb-r-card); list-style: none; }
@media (min-width: 700px) { .fcb-pdp__trust { grid-template-columns: repeat(4, 1fr); } }
.fcb-pdp__trust li { display: flex; gap: 8px; align-items: center; font-size: var(--fcb-fs-xs); color: var(--fcb-ink-2); line-height: 1.3; }
.fcb-pdp__trust svg { width: 22px; height: 22px; color: var(--fcb-gold-ink); flex-shrink: 0; }

.fcb-pdp__acc { margin-top: 24px; }
.fcb-pdp__acc details { border-top: 1px solid var(--fcb-line); padding: 16px 0; }
.fcb-pdp__acc details:last-child { border-bottom: 1px solid var(--fcb-line); }
.fcb-pdp__acc details[open] summary { color: var(--fcb-ink); }
.fcb-pdp__acc summary { list-style: none; cursor: pointer; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: var(--fcb-fs-xs); display: flex; justify-content: space-between; align-items: center; }
.fcb-pdp__acc summary::-webkit-details-marker { display: none; }
.fcb-pdp__acc summary::after { content: '+'; font-size: 22px; line-height: 1; font-weight: 400; color: var(--fcb-muted); }
.fcb-pdp__acc details[open] summary::after { content: '−'; }
.fcb-pdp__acc details > *:not(summary) { margin-top: 14px; font-size: var(--fcb-fs-sm); color: var(--fcb-ink-2); line-height: 1.75; }
.fcb-pdp__acc details p, .fcb-pdp__acc details ul { margin: 0 0 10px; }

/* PDP: reviews block styling */
.fcb-pdp .commentlist { list-style: none; padding: 0; margin: 0; display: grid; gap: 24px; }
.fcb-pdp .comment_container { display: grid; grid-template-columns: 40px 1fr; gap: 12px; }
.fcb-pdp .comment_container .avatar { border-radius: 50%; }
.fcb-pdp #review_form_wrapper { margin-top: 32px; }
.fcb-pdp #review_form_wrapper input, .fcb-pdp #review_form_wrapper textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--fcb-line-2); border-radius: 6px; margin-bottom: 12px;
}
.fcb-pdp #review_form_wrapper .submit { background: var(--fcb-ink); color: #fff; border: 0; padding: 14px 24px; letter-spacing: .06em; text-transform: uppercase; font-weight: 700; }

/* Sticky ATC on mobile */
.fcb-sticky-atc { position: fixed; left: 0; right: 0; bottom: var(--fcb-bottom-nav-h); z-index: 30;
  background: var(--fcb-surface); border-top: 1px solid var(--fcb-line); padding: 8px 12px;
  padding-bottom: calc(8px + env(safe-area-inset-bottom, 0));
  display: flex; gap: 8px; align-items: center; box-shadow: 0 -8px 24px rgba(0,0,0,.06); }
.fcb-sticky-atc__price { flex: 1; min-width: 0; font-family: var(--fcb-font-num); }
.fcb-sticky-atc__price .facobe-price__sale { font-size: 16px; }
.fcb-sticky-atc__price .facobe-price__mrp { font-size: 12px; }
.fcb-sticky-atc .fcb-btn { padding: 12px 16px; font-size: 12px; letter-spacing: .04em;
  white-space: nowrap; flex: 0 0 auto; min-width: 130px; text-align: center; }
@media (min-width: 900px) { .fcb-sticky-atc { display: none; } }

/* Pincode checker */
.fcb-pin { display: flex; gap: 6px; align-items: center; padding: 12px 14px; border: 1px solid var(--fcb-line-2); border-radius: var(--fcb-r-card); margin-top: 16px; }
.fcb-pin svg { width: 20px; height: 20px; color: var(--fcb-gold-ink); }
.fcb-pin input { flex: 1; border: 0; background: transparent; padding: 6px 4px; }
.fcb-pin button { background: transparent; border: 0; font-weight: 600; color: var(--fcb-gold-ink); text-transform: uppercase; letter-spacing: .06em; font-size: 12px; }
.fcb-pin__result { margin-top: 6px; font-size: var(--fcb-fs-sm); color: var(--fcb-success); }
.fcb-pin__result.is-bad { color: var(--fcb-danger); }

/* ---------- Cart page (full page, not the drawer) ---------- */
/* WooCommerce's default cart template uses .button on every action; force FACOBE styling. */
body.woocommerce-cart .woocommerce a.button,
body.woocommerce-cart .woocommerce button.button,
body.woocommerce-cart .woocommerce input.button,
body.woocommerce-cart button.wc-forward,
body.woocommerce-cart a.wc-forward,
body.woocommerce-cart .checkout-button,
body.woocommerce-cart .wc-proceed-to-checkout .button {
  background: var(--fcb-ink) !important;
  color: #fff !important;
  border: 1px solid var(--fcb-ink) !important;
  padding: 14px 22px !important;
  font-family: var(--fcb-font-body) !important;
  font-weight: 600 !important;
  font-size: var(--fcb-fs-md) !important;
  letter-spacing: .06em !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  border-radius: var(--fcb-r-btn) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: background var(--fcb-t-base) var(--fcb-ease) !important;
}
body.woocommerce-cart .woocommerce a.button:hover,
body.woocommerce-cart .woocommerce button.button:hover,
body.woocommerce-cart .checkout-button:hover {
  background: var(--fcb-gold-ink) !important;
  border-color: var(--fcb-gold-ink) !important;
}
/* Apply coupon / Update cart — secondary style */
body.woocommerce-cart button[name="apply_coupon"],
body.woocommerce-cart button[name="update_cart"] {
  background: transparent !important;
  color: var(--fcb-ink) !important;
  border: 1px solid var(--fcb-ink) !important;
}
body.woocommerce-cart button[name="apply_coupon"]:hover,
body.woocommerce-cart button[name="update_cart"]:hover {
  background: var(--fcb-ink) !important;
  color: #fff !important;
}
/* Proceed to checkout gets extra size */
body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
  width: 100%;
  padding: 16px 24px !important;
  font-size: var(--fcb-fs-lg) !important;
}

/* Cart tables — cleaner FACOBE look */
body.woocommerce-cart .shop_table {
  border: 1px solid var(--fcb-line);
  border-radius: var(--fcb-r-card);
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
}
body.woocommerce-cart .shop_table th,
body.woocommerce-cart .shop_table td {
  padding: 16px !important;
  border-bottom: 1px solid var(--fcb-line);
  font-family: var(--fcb-font-body);
}
body.woocommerce-cart .shop_table th {
  background: var(--fcb-surface);
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-size: var(--fcb-fs-xs);
  color: var(--fcb-muted);
}
body.woocommerce-cart .shop_table .product-thumbnail img {
  max-width: 80px;
  border-radius: var(--fcb-r-card);
}
body.woocommerce-cart .shop_table .product-name a {
  color: var(--fcb-ink);
  text-decoration: none;
  font-weight: 500;
  font-size: var(--fcb-fs-md);
}
body.woocommerce-cart .shop_table .product-name a:hover { color: var(--fcb-gold-ink); }
body.woocommerce-cart .shop_table .quantity input.qty {
  width: 64px;
  padding: 8px;
  border: 1px solid var(--fcb-line-2);
  border-radius: 4px;
  text-align: center;
}
body.woocommerce-cart .shop_table .product-remove a {
  color: var(--fcb-muted);
  font-size: 20px;
  text-decoration: none;
}
body.woocommerce-cart .shop_table .product-remove a:hover { color: var(--fcb-danger); }

/* Coupon row */
body.woocommerce-cart .coupon input {
  padding: 12px 14px;
  border: 1px solid var(--fcb-line-2);
  border-radius: var(--fcb-r-btn);
  margin-right: 8px;
}

/* Cart totals card */
body.woocommerce-cart .cart_totals {
  background: var(--fcb-surface);
  border-radius: var(--fcb-r-card);
  padding: 24px;
}
body.woocommerce-cart .cart_totals h2 {
  font-family: var(--fcb-font-display);
  font-size: var(--fcb-fs-xl);
  margin: 0 0 16px;
}
body.woocommerce-cart .cart_totals .shop_table {
  border: 0;
  background: transparent;
}
body.woocommerce-cart .cart_totals th,
body.woocommerce-cart .cart_totals td {
  background: transparent !important;
  border-bottom: 1px solid var(--fcb-line);
}
body.woocommerce-cart .cart_totals .order-total {
  font-size: var(--fcb-fs-lg);
  font-weight: 700;
}

/* WC notice (added to cart, etc.) */
body.woocommerce-cart .woocommerce-message,
body.woocommerce .woocommerce-message {
  background: var(--fcb-gold-soft) !important;
  color: var(--fcb-gold-ink) !important;
  border: 0 !important;
  border-left: 4px solid var(--fcb-gold) !important;
  border-radius: var(--fcb-r-card);
  padding: 14px 20px !important;
  font-family: var(--fcb-font-body);
}
/* Buttons inside the "added to cart" success message ("View cart") */
body.woocommerce-cart .woocommerce-message a.button,
body.woocommerce .woocommerce-message a.button,
body.woocommerce-cart .woocommerce-message a.wc-forward,
body.woocommerce .woocommerce-message a.wc-forward {
  background: var(--fcb-ink) !important;
  color: #fff !important;
  border: 1px solid var(--fcb-ink) !important;
  padding: 10px 20px !important;
  font-family: var(--fcb-font-body) !important;
  font-weight: 600 !important;
  font-size: var(--fcb-fs-sm) !important;
  letter-spacing: .06em !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  border-radius: var(--fcb-r-btn) !important;
  display: inline-flex !important;
  margin-left: 12px !important;
}
body.woocommerce-cart .woocommerce-message a.button:hover,
body.woocommerce .woocommerce-message a.button:hover {
  background: var(--fcb-gold-ink) !important;
  border-color: var(--fcb-gold-ink) !important;
}

/* Empty-cart notice + return-to-shop link */
body.woocommerce-cart .cart-empty,
body.woocommerce .wc-empty-cart-message {
  background: var(--fcb-surface) !important;
  color: var(--fcb-ink) !important;
  border: 1px solid var(--fcb-line) !important;
  border-radius: var(--fcb-r-card);
  padding: 18px 24px 18px 52px !important;   /* extra left room for the icon */
  font-family: var(--fcb-font-body) !important;
  font-size: var(--fcb-fs-md);
  margin-bottom: 20px;
  position: relative;
}
body.woocommerce-cart .cart-empty::before,
body.woocommerce .wc-empty-cart-message::before {
  left: 18px !important;                     /* pin icon inside padding */
  top: 50% !important;
  transform: translateY(-50%);
  color: var(--fcb-accent-ink) !important;
}
body.woocommerce-cart .return-to-shop a.button,
body.woocommerce-cart .return-to-shop .button,
body.woocommerce .return-to-shop a.button,
body.woocommerce .return-to-shop .button {
  background: var(--fcb-ink) !important;
  color: #fff !important;
  border: 1px solid var(--fcb-ink) !important;
  padding: 14px 26px !important;
  font-family: var(--fcb-font-body) !important;
  font-weight: 600 !important;
  font-size: var(--fcb-fs-md) !important;
  letter-spacing: .06em !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  border-radius: var(--fcb-r-btn) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}
body.woocommerce-cart .return-to-shop a.button:hover,
body.woocommerce .return-to-shop a.button:hover {
  background: var(--fcb-gold-ink) !important;
  border-color: var(--fcb-gold-ink) !important;
}

/* ---------- Checkout page — premium FACOBE styling ---------- */
body.woocommerce-checkout .site-content, body.woocommerce-checkout main { background: var(--fcb-bg); }

/* Tighten the page-title → form gap on the checkout. Blocksy adds a hero-section
   AND a container with generous vertical padding that together eat a full
   mobile screen otherwise. Override both. */
body.woocommerce-checkout main .ct-container-full[data-vertical-spacing],
body.woocommerce-checkout main .ct-container[data-vertical-spacing],
body.woocommerce-checkout main .ct-container-full,
body.woocommerce-checkout main .ct-container { padding-top: 12px !important; padding-bottom: 20px !important; }
body.woocommerce-checkout main article .hero-section,
body.woocommerce-checkout main article .hero-section[data-type],
body.woocommerce-checkout main article .entry-header { padding: 0 !important; margin: 0 !important; }
body.woocommerce-checkout main article { padding-top: 0 !important; }
body.woocommerce-checkout main h1.page-title,
body.woocommerce-checkout main .entry-title {
  font-family: var(--fcb-font-display) !important;
  font-size: clamp(28px, 6vw, 40px) !important;
  margin: 0 0 8px !important;
  text-align: left !important;
}

body.woocommerce-checkout h3, body.woocommerce-checkout .woocommerce-billing-fields h3,
body.woocommerce-checkout #order_review_heading {
  font-family: var(--fcb-font-display) !important;
  font-size: clamp(20px, 4.5vw, var(--fcb-fs-2xl)) !important;
  font-weight: 700 !important;
  color: var(--fcb-ink) !important;
  margin: 8px 0 var(--fcb-s-4) !important;
  letter-spacing: -.005em;
}

@media (max-width: 640px) {
  body.woocommerce-checkout main .hero-section,
  body.woocommerce-checkout main .entry-header { padding: 16px 0 4px !important; }
  body.woocommerce-checkout main h1.page-title { font-size: 26px !important; margin-bottom: 4px !important; }
  body.woocommerce-checkout #customer_details { margin-top: 8px !important; }
}

body.woocommerce-checkout .woocommerce-form label,
body.woocommerce-checkout .form-row label {
  font-size: var(--fcb-fs-xs) !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
  color: var(--fcb-muted) !important;
  font-weight: 600 !important;
  margin-bottom: 6px !important;
  display: block !important;
}

body.woocommerce-checkout input[type=text], body.woocommerce-checkout input[type=email],
body.woocommerce-checkout input[type=tel], body.woocommerce-checkout input[type=password],
body.woocommerce-checkout select, body.woocommerce-checkout textarea,
body.woocommerce-checkout .select2-selection {
  border: 1px solid var(--fcb-line-2) !important;
  border-radius: var(--fcb-r-btn) !important;
  padding: 12px 14px !important;
  font-family: var(--fcb-font-body) !important;
  font-size: var(--fcb-fs-md) !important;
  background: var(--fcb-surface) !important;
  min-height: 48px;
  width: 100%;
  transition: border-color var(--fcb-t-fast) var(--fcb-ease);
}
body.woocommerce-checkout input:focus, body.woocommerce-checkout select:focus,
body.woocommerce-checkout textarea:focus {
  outline: 2px solid var(--fcb-gold-ink) !important;
  outline-offset: 1px;
  border-color: transparent !important;
}

/* Right-column order review card */
body.woocommerce-checkout #order_review {
  background: var(--fcb-surface);
  border-radius: var(--fcb-r-card);
  padding: 24px;
  border: 1px solid var(--fcb-line);
}
body.woocommerce-checkout #order_review .shop_table { border: 0; background: transparent; }
body.woocommerce-checkout #order_review th, body.woocommerce-checkout #order_review td {
  background: transparent !important;
  padding: 12px 8px !important;
  border-bottom: 1px solid var(--fcb-line);
  font-family: var(--fcb-font-body) !important;
}
body.woocommerce-checkout #order_review .order-total {
  font-family: var(--fcb-font-display);
  font-size: var(--fcb-fs-xl);
  font-weight: 700;
}

/* Place order button */
body.woocommerce-checkout #place_order,
body.woocommerce-checkout button.button.alt {
  background: var(--fcb-ink) !important;
  color: #fff !important;
  border: 0 !important;
  padding: 18px 24px !important;
  font-family: var(--fcb-font-body) !important;
  font-weight: 700 !important;
  font-size: var(--fcb-fs-lg) !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
  border-radius: var(--fcb-r-btn) !important;
  width: 100%;
  cursor: pointer;
  transition: background var(--fcb-t-base) var(--fcb-ease);
}
body.woocommerce-checkout #place_order:hover { background: var(--fcb-gold-ink) !important; }

/* Trust strip under place order */
body.woocommerce-checkout .fcb-checkout-trust {
  display: flex; gap: 16px; flex-wrap: wrap; justify-content: center;
  margin-top: 16px; padding: 12px; background: var(--fcb-bg); border-radius: var(--fcb-r-card);
  font-size: 11px; color: var(--fcb-muted); letter-spacing: .04em;
}
body.woocommerce-checkout .fcb-checkout-trust span { display: inline-flex; gap: 4px; align-items: center; }

/* Coupon toggle (top of checkout: "Have a coupon? Click here to enter") */
body.woocommerce-checkout .woocommerce-form-coupon-toggle,
body.woocommerce-checkout .woocommerce-info {
  background: var(--fcb-surface) !important;
  border: 1px dashed var(--fcb-line-2) !important;
  border-left: 4px solid var(--fcb-gold) !important;
  color: var(--fcb-ink) !important;
  border-radius: var(--fcb-r-card);
  padding: 12px 16px !important;
  font-family: var(--fcb-font-body);
}
body.woocommerce-checkout .woocommerce-info a { color: var(--fcb-gold-ink); font-weight: 600; }

/* Cross-sell (cart + PDP + thank-you) — "You may also love" */
.fcb-xsell { padding: 40px 0; border-top: 1px solid var(--fcb-line); margin-top: 32px; }
.fcb-xsell__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 16px; }
.fcb-xsell__head h3 { font-family: var(--fcb-font-display); font-size: var(--fcb-fs-2xl); margin: 0; }
.fcb-xsell__head .fcb-eyebrow { color: var(--fcb-gold-ink); }
.fcb-xsell__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 700px) { .fcb-xsell__grid { grid-template-columns: repeat(4, 1fr); gap: 20px; } }

/* Recently viewed strip */
.fcb-recent { padding: 32px 0 20px; border-top: 1px solid var(--fcb-line); margin-top: 24px; }
.fcb-recent__head { margin-bottom: 16px; }
.fcb-recent__head h3 { font-family: var(--fcb-font-display); font-size: var(--fcb-fs-xl); margin: 0; }
.fcb-recent__strip { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 8px; }
.fcb-recent__strip::-webkit-scrollbar { display: none; }
.fcb-recent__item { flex: 0 0 140px; text-align: center; }
.fcb-recent__item img { width: 140px; aspect-ratio: 4/5; object-fit: cover; border-radius: 6px; margin-bottom: 6px; }
.fcb-recent__item small { display: block; font-size: 11px; color: var(--fcb-muted); }
.fcb-recent__item b { display: block; font-size: 13px; color: var(--fcb-ink); }

/* "Just bought" badge on PDP — appears when real order placed for this product recently */
.fcb-social-proof { display: inline-flex; align-items: center; gap: 6px;
  background: var(--fcb-gold-soft); color: var(--fcb-gold-ink); padding: 6px 12px;
  border-radius: 999px; font-size: 11px; font-weight: 600; letter-spacing: .04em;
  margin: 12px 0; }
.fcb-social-proof::before { content: '✓'; font-size: 12px; }

/* ---------- Policy / editorial pages (About, Shipping, Returns, Privacy, T&C, FAQ, Size Guide) ---------- */
/* Widen Blocksy's container on policy pages so our centering fills the viewport. */
body.page:not(.woocommerce-page) main.ct-container,
body.page:not(.woocommerce-page) main .ct-container,
body.page:not(.woocommerce-page) main .ct-container-full {
  max-width: 100% !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
body.page:not(.woocommerce-page) main article {
  max-width: 100% !important;
  width: 100% !important;
  margin: 0 !important;
}
.page-template-default main .entry-content,
body.page main article > .entry-content,
body.page main .hero-section {
  max-width: 720px !important;
  margin: 0 auto !important;
  padding: 24px 20px !important;
  font-family: var(--fcb-font-body);
  color: var(--fcb-ink);
  line-height: 1.75;
  font-size: 16px;
}
body.page main .hero-section { padding: 48px 20px 8px !important; text-align: center; }
body.page main article h1.entry-title,
body.page main .page-title {
  font-family: var(--fcb-font-display) !important;
  font-size: 48px !important;
  font-weight: 700 !important;
  color: var(--fcb-ink) !important;
  text-align: center;
  margin: 40px auto 8px !important;
  letter-spacing: -.01em;
}
body.page main .entry-content h2 {
  font-family: var(--fcb-font-display);
  font-size: 28px;
  margin: 40px 0 12px;
  color: var(--fcb-ink);
  padding-bottom: 8px;
  border-bottom: 2px solid var(--fcb-gold-soft);
  display: inline-block;
}
body.page main .entry-content h3 {
  font-family: var(--fcb-font-body);
  font-size: 18px;
  font-weight: 700;
  color: var(--fcb-gold-ink);
  margin: 28px 0 10px;
  letter-spacing: .01em;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: .08em;
}
body.page main .entry-content p,
body.page main .entry-content li {
  color: #333;
  font-size: 16px;
  line-height: 1.75;
}
body.page main .entry-content ul {
  list-style: none;
  padding-left: 0;
}
body.page main .entry-content ul li {
  padding-left: 26px;
  position: relative;
  margin-bottom: 6px;
}
body.page main .entry-content ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 10px;
  width: 14px; height: 14px;
  background: var(--fcb-gold-soft);
  border-radius: 50%;
  color: var(--fcb-gold-ink);
}
body.page main .entry-content ul li::after {
  content: '✓';
  position: absolute;
  left: 3px; top: 3px;
  color: var(--fcb-gold-ink);
  font-size: 10px;
  font-weight: 700;
}
body.page main .entry-content ol {
  padding-left: 20px;
}
body.page main .entry-content ol li {
  padding-left: 8px;
  margin-bottom: 6px;
}
body.page main .entry-content a {
  color: var(--fcb-gold-ink);
  border-bottom: 1px solid var(--fcb-gold-soft);
  font-weight: 600;
  transition: color var(--fcb-t-fast) var(--fcb-ease);
}
body.page main .entry-content a:hover { color: var(--fcb-ink); border-color: var(--fcb-ink); }

body.page main .entry-content table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 20px 0;
  border-radius: var(--fcb-r-card);
  overflow: hidden;
  border: 1px solid var(--fcb-line);
  font-family: var(--fcb-font-body);
}
body.page main .entry-content th {
  background: var(--fcb-ink);
  color: #fff;
  padding: 12px;
  text-align: left;
  font-family: var(--fcb-font-body);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 600;
}
body.page main .entry-content td {
  padding: 12px;
  border-bottom: 1px solid var(--fcb-line);
  background: var(--fcb-surface);
}
body.page main .entry-content tbody tr:nth-child(even) td { background: var(--fcb-bg); }
body.page main .entry-content tbody tr:last-child td { border-bottom: 0; }

body.page main .entry-content em {
  color: var(--fcb-muted);
  font-style: italic;
}
body.page main .entry-content strong {
  color: var(--fcb-ink);
  font-weight: 700;
}

/* ---------- Sitewide micro-interactions + polish ---------- */
a, button, .fcb-btn { transition: all var(--fcb-t-fast) var(--fcb-ease); }
.fcb-btn--primary:hover, body a.fcb-btn--primary:hover, body button.fcb-btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(26,26,26,.18);
}
.fcb-btn--primary:active, body a.fcb-btn--primary:active { transform: translateY(0); box-shadow: 0 2px 6px rgba(26,26,26,.12); }
.fcb-card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.06); }
.fcb-card { transition: transform var(--fcb-t-base) var(--fcb-ease), box-shadow var(--fcb-t-base) var(--fcb-ease); }

/* Fade in on scroll */
@media (prefers-reduced-motion: no-preference) {
  .fcb-fade-in { opacity: 0; transform: translateY(12px); transition: opacity .5s ease, transform .5s ease; }
  .fcb-fade-in.is-visible { opacity: 1; transform: none; }
}

/* Better focus ring across the site */
*:focus-visible { outline: 2px solid var(--fcb-gold-ink); outline-offset: 2px; border-radius: 4px; }

/* Trust markers row (near ATC / PDP / checkout) */
.fcb-trust-markers { display: flex; gap: 10px; flex-wrap: wrap; padding: 12px 0;
  font-size: 11px; color: var(--fcb-muted); letter-spacing: .04em; text-transform: uppercase; }
.fcb-trust-markers span { display: inline-flex; align-items: center; gap: 4px; }
.fcb-trust-markers svg { width: 14px; height: 14px; color: var(--fcb-success); }

/* ---------- Cart drawer content ---------- */
.fcb-mini-cart__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.fcb-mini-cart__item { display: grid; grid-template-columns: 72px 1fr auto; gap: 12px; align-items: start; }
.fcb-mini-cart__item img { width: 72px; height: 90px; object-fit: cover; border-radius: 4px; }
.fcb-mini-cart__item h4 { font-size: var(--fcb-fs-sm); font-weight: 500; margin: 0 0 4px; }
.fcb-mini-cart__item p { font-size: var(--fcb-fs-xs); color: var(--fcb-muted); margin: 0; }
.fcb-mini-cart__qty { display: inline-flex; align-items: center; border: 1px solid var(--fcb-line-2); border-radius: 4px; margin-top: 6px; }
.fcb-mini-cart__qty button { background: transparent; border: 0; padding: 4px 10px; font-size: 14px; }
.fcb-mini-cart__qty input { width: 32px; text-align: center; border: 0; background: transparent; }
.fcb-mini-cart__remove { background: transparent; border: 0; padding: 4px; color: var(--fcb-muted); font-size: 18px; }

.fcb-progress { margin: 20px 0; }
.fcb-progress__msg { font-size: var(--fcb-fs-xs); color: var(--fcb-ink-2); margin-bottom: 6px; letter-spacing: .04em; }
.fcb-progress__msg b { color: var(--fcb-success); }
.fcb-progress__bar { height: 6px; background: var(--fcb-line); border-radius: 999px; overflow: hidden; }
.fcb-progress__fill { height: 100%; background: linear-gradient(90deg, var(--fcb-gold-soft), var(--fcb-gold)); border-radius: 999px; transition: width var(--fcb-t-base) var(--fcb-ease); }

.fcb-mini-cart__totals { border-top: 1px solid var(--fcb-line); padding-top: 16px; display: grid; gap: 8px; font-size: var(--fcb-fs-sm); }
.fcb-mini-cart__totals .row { display: flex; justify-content: space-between; }
.fcb-mini-cart__totals .row.total { font-size: var(--fcb-fs-lg); font-weight: 700; }
