/* FRITTENEDGE v2.0.2 | mobile cards, cart, header, checkout */
/* Keep My Account reachable on small screens: older main.css hides this icon. */
@media (max-width: 600px) {
  body .nexo-header .nexo-actions a.nexo-account {
    display: inline-flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 29px; height: 36px;
    align-items: center; justify-content: center;
    flex: 0 0 auto;
  }
  body .nexo-header .nexo-actions a.nexo-account svg {width: 19px;height: 19px;}
  body .nexo-header .nexo-actions {gap: 8px !important;flex:0 0 auto;}
  body .nexo-header .nexo-header-inner {gap: 7px !important;}
  body .nexo-header .nexo-brand {min-width: 0;flex: 1 1 auto;}
  body .nexo-header .nexo-brand img.custom-logo {max-width: 125px !important;width:100%;height:auto;object-fit:contain;}
}
@media (max-width: 370px) {
  body .nexo-header .nexo-actions {gap: 5px !important;}
  body .nexo-header .nexo-brand img.custom-logo {max-width: 103px !important;}
}
/* Shop/category cards: avoid tall, stacked action buttons on mobile. */
@media (max-width: 767px) {
  body.woocommerce-page:not(.single-product) ul.products li.product,
  body.woocommerce:not(.single-product) ul.products li.product {min-width:0!important;}
  body.woocommerce-page:not(.single-product) ul.products li.product img,
  body.woocommerce:not(.single-product) ul.products li.product img {max-height:195px!important;object-fit:contain!important;object-position:center!important;}
  body.woocommerce ul.products li.product .woocommerce-loop-product__title {min-height:0!important;margin-bottom:5px!important;line-height:1.4!important;}
  body.woocommerce ul.products li.product .price {margin:4px 0 9px!important;}
  body.woocommerce ul.products li.product .button {min-height:32px!important;padding:8px 10px!important;line-height:1.2!important;white-space:normal;}
  body.woocommerce ul.products li.product .fe-189-view-product-wrap,
  body.woocommerce-page ul.products li.product .fe-189-view-product-wrap {margin:7px 10px 10px!important;clear:both;}
  body.woocommerce ul.products li.product a.fe-189-view-product,
  body.woocommerce-page ul.products li.product a.fe-189-view-product {
    width:auto!important;max-width:100%!important;min-height:30px!important;
    padding:7px 10px!important;font-size:9px!important;line-height:1.15!important;
    gap:4px!important;letter-spacing:.015em!important;white-space:nowrap!important;
    text-align:center!important;box-sizing:border-box!important;
  }
  body.home .fhe-product-actions {margin-top:8px!important;}
  body.home .fhe-product-actions a.fhe-add-to-cart {min-height:34px!important;padding:8px 9px!important;font-size:10px!important;}
  /* Classic WooCommerce cart rows: image, name, total, delete (last). */
  body.woocommerce-cart .woocommerce-cart-form table.shop_table tr.cart_item {
    display:grid!important;
    grid-template-columns:65px minmax(0,1fr) auto 28px!important;
    gap:8px!important;align-items:center!important;
    position:relative!important;padding:12px 8px!important;
    border-bottom:1px solid #e8dfd3!important;
  }
  body.woocommerce-cart .woocommerce-cart-form table.shop_table tr.cart_item > td {
    border:0!important;min-width:0!important;margin:0!important;padding:0!important;
    display:block!important;float:none!important;text-align:left!important;
  }
  body.woocommerce-cart .woocommerce-cart-form table.shop_table tr.cart_item td.product-thumbnail {grid-column:1!important;grid-row:1!important;}
  body.woocommerce-cart .woocommerce-cart-form table.shop_table tr.cart_item td.product-name {grid-column:2!important;grid-row:1!important;overflow-wrap:anywhere;}
  body.woocommerce-cart .woocommerce-cart-form table.shop_table tr.cart_item td.product-subtotal {grid-column:3!important;grid-row:1!important;white-space:nowrap;text-align:right!important;}
  body.woocommerce-cart .woocommerce-cart-form table.shop_table tr.cart_item td.product-remove {grid-column:4!important;grid-row:1!important;text-align:right!important;justify-self:end;}
  body.woocommerce-cart .woocommerce-cart-form table.shop_table tr.cart_item td.product-price,
  body.woocommerce-cart .woocommerce-cart-form table.shop_table tr.cart_item td.product-quantity {display:none!important;}
  body.woocommerce-cart .woocommerce-cart-form table.shop_table tr.cart_item td::before {display:none!important;}
  body.woocommerce-cart .woocommerce-cart-form table.shop_table tr.cart_item td.product-thumbnail img {width:60px!important;height:75px!important;object-fit:contain!important;}
  body.woocommerce-cart .woocommerce-cart-form table.shop_table tr.cart_item td.product-remove a.remove {
    display:inline-flex!important;align-items:center;justify-content:center;
    float:none!important;position:static!important;margin:0!important;
    width:26px!important;height:30px!important;line-height:1!important;
  }
  /* WooCommerce Cart Block: keep the remove action at the right of its product details. */
  body.woocommerce-cart .wc-block-cart-items__row .wc-block-cart-item__product {position:relative!important;padding-bottom:33px!important;min-width:0!important;}
  body.woocommerce-cart .wc-block-cart-item__remove-link {position:absolute!important;right:0!important;bottom:0!important;margin:0!important;}
  body.woocommerce-cart .wc-block-cart-items__row .wc-block-cart-item__image {min-width:58px!important;width:66px!important;}
  body.woocommerce-cart .wc-block-cart-items__row .wc-block-cart-item__image img {width:100%!important;height:85px!important;object-fit:contain!important;}
}
/* Billing and shipping appear in the same left-hand checkout section. */
body.woocommerce-checkout:not(.woocommerce-order-received) #customer_details .woocommerce-shipping-fields.fe-202-billing-shipping {
  display:block!important;width:100%!important;max-width:100%!important;float:none!important;
  clear:both!important;margin:24px 0 16px!important;box-sizing:border-box;
}
body.woocommerce-checkout .fe-202-shipping-title {
  margin:0 0 14px!important;color:#292720;
  font:400 27px/1.3 Georgia,serif;
}
body.woocommerce-checkout .fe-202-billing-shipping .fe-shipping-same-row {margin-bottom:15px!important;}
body.woocommerce-checkout .fe-202-billing-shipping .shipping_address {max-width:100%;}
@media(max-width:767px){
  body.woocommerce-checkout .fe-202-shipping-title {font-size:23px!important;}
  body.woocommerce-checkout #customer_details .woocommerce-shipping-fields.fe-202-billing-shipping {margin-top:20px!important;}
}
