/* FotoCity Global UI Scale — centrally controlled from FotoCity > Settings */
html{font-size:100%}
body{font-size:var(--fc-font-base,16px)!important}

/* Shared content widths */
.fc-content-shell,
.fc-home-shell,
.fca-shell,
.fcc-shell,
.fotocity-checkout-shell,
.fotocity-account-simple .woocommerce{
  width:min(var(--fc-content-max,1480px),calc(100% - 48px))!important;
  max-width:var(--fc-content-max,1480px)!important;
  margin-left:auto!important;
  margin-right:auto!important;
}

/* Text roles */
.fc-site-main :where(h1,.fc-ui-h1),
.woocommerce :where(h1,.fc-ui-h1),
.fc-home :where(h1,.fc-ui-h1){font-size:var(--fc-font-h1,34px)!important}
.fc-site-main :where(h2,.fc-ui-h2),
.woocommerce :where(h2,.fc-ui-h2),
.fc-home :where(h2,.fc-ui-h2){font-size:var(--fc-font-h2,26px)!important}
.fc-site-main :where(h3,.fc-ui-h3),
.woocommerce :where(h3,.fc-ui-h3),
.fc-home :where(h3,.fc-ui-h3){font-size:var(--fc-font-h3,20px)!important}

.fc-site-main :where(p,li,td,dd,.fc-ui-text),
.woocommerce :where(p,li,td,dd,.fc-ui-text){font-size:var(--fc-font-base,16px)!important}
.fc-site-main :where(small,.description,.fc-ui-small),
.woocommerce :where(small,.description,.fc-ui-small){font-size:var(--fc-font-small,13px)!important}
.fc-site-main :where(label,th,dt,.fc-ui-label),
.woocommerce :where(label,th,dt,.fc-ui-label){font-size:var(--fc-font-label,14px)!important}

/* Controls — only full action controls, not icon/quantity buttons */
:where(.woocommerce,.fc-site-main,.fc-home) :where(
  a.button,
  button.button,
  input.button,
  button[type="submit"],
  input[type="submit"],
  .fc-home-btn,
  .fc-action-btn,
  .fcc-coupon-btn,
  .fcc-update-cart,
  .fcc-continue,
  .fc-preorder-btn
){
  font-size:var(--fc-font-button,15px)!important;
  min-height:var(--fc-button-height,46px);
  line-height:1.45;
}

:where(.woocommerce,.fc-site-main) :where(
  input[type="text"],input[type="email"],input[type="tel"],input[type="password"],input[type="number"],input[type="url"],
  select,textarea
):not(.qty){
  font-size:var(--fc-font-input,15px)!important;
}
:where(.woocommerce,.fc-site-main) :where(
  input[type="text"],input[type="email"],input[type="tel"],input[type="password"],input[type="number"],input[type="url"],select
):not(.qty){min-height:var(--fc-input-height,50px)}

/* Common statuses and metadata retain the smaller role consistently. */
:where(.woocommerce,.fc-site-main) :where(
  .fc-status-pill,.fc-order-status-badge,.fc-summary-kicker,.fcc-step,.fcc-product-meta,
  .fc-product-desc small,.fc-design-meta small,.fc-order-meta-item span
){font-size:var(--fc-font-small,13px)!important}

@media(max-width:767px){
  .fc-content-shell,.fc-home-shell,.fca-shell,.fcc-shell,.fotocity-checkout-shell,.fotocity-account-simple .woocommerce{
    width:calc(100% - 20px)!important;
  }
}

/* v3.9.1 — crisp text rendering + complete wishlist UI removal */
html,body,.fc-site-main,.woocommerce,.fch-root,.fcf-root{
  text-rendering:auto;
  -webkit-font-smoothing:auto;
  -moz-osx-font-smoothing:auto;
}
:where(button,input,select,textarea,a,.button){
  text-shadow:none!important;
  -webkit-font-smoothing:auto;
}

/* FotoCity no longer exposes any wishlist/favorites feature. Hide leftovers
   from Woodmart/YITH/TI Wishlist or cached Elementor markup as a final guard. */
.fca-heart,
.wd-wishlist-btn,
.wd-header-wishlist,
.wd-tools-element.wd-header-wishlist,
.yith-wcwl-add-to-wishlist,
.yith-wcwl-wishlistaddedbrowse,
.yith-wcwl-wishlistexistsbrowse,
.tinv-wraper.tinv-wishlist,
.tinv-wishlist,
.woocommerce-MyAccount-navigation-link--fc-favorites,
.fc-favorites-page,
.fc-summary-card[href*="wishlist"],
.fc-summary-card[href*="favorite"]{
  display:none!important;
}
