/* =========================================================
   FPBL shop: product cards, product page polish
   Brand: navy #061bb0 / #1800ad, cream #e3ebed, ink #23243f
   ========================================================= */

/* ---------- Product cards (shop, categories, related) ---------- */
.woocommerce ul.products li.product.fpc-li { display: flex; margin: 0 !important; padding: 0 !important; float: none !important; width: auto !important; text-align: left; }
.related.products ul.products li.product.fpc-li,
.related.products ul.products li.product.fpc-li:hover { transform: none !important; box-shadow: none !important; overflow: visible !important; }

.fpc { position: relative; display: flex; flex-direction: column; width: 100%; background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 2px 18px rgba(6, 27, 176, .08); transition: transform .3s ease, box-shadow .3s ease; font-family: "DM Sans", system-ui, sans-serif; }
.fpc:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(6, 27, 176, .16); }
.fpc:focus-within { outline: 3px solid #ffb703; outline-offset: 3px; }

.woocommerce ul.products li.product .fpc__media { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: linear-gradient(145deg, #061bb0, #1800ad); }
.woocommerce ul.products li.product .fpc__media img,
.woocommerce ul.products li.product .fpc__img { display: block; width: 100% !important; height: 100% !important; margin: 0 !important; object-fit: cover; box-shadow: none !important; transition: transform .6s ease; }
.fpc:hover .fpc__img { transform: scale(1.05); }
.fpc__ph { display: block; width: 100%; height: 100%; }

.fpc__cat, .fpc__badge { position: absolute; top: 12px; z-index: 3; padding: 6px 11px; border-radius: 999px; font: 800 .62rem/1 "DM Sans", sans-serif; letter-spacing: .07em; text-transform: uppercase; color: #fff; pointer-events: none; }
.fpc__cat { left: 12px; background: #061bb0; }
.fpc__badge { right: 12px; background: #c2410c; }

.fpc__body { display: flex; flex-direction: column; flex: 1; padding: 18px 20px 20px; }
.woocommerce ul.products li.product .fpc__name { margin: 0 0 6px; padding: 0; font-family: "Playfair Display", Georgia, serif; font-size: 1.12rem; font-weight: 700; line-height: 1.3; color: #061bb0; }
.fpc__name a { color: inherit !important; text-decoration: none !important; outline: none; }
.fpc__name a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.fpc__desc { margin: 0 0 12px; font-size: .85rem; line-height: 1.6; color: #45476a; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

.fpc__sizes { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 6px !important; padding: 0 !important; list-style: none !important; }
.fpc__sizes li { margin: 0 !important; padding: 4px 11px; border: 1.5px solid #061bb0; border-radius: 999px; font-size: .72rem; font-weight: 700; line-height: 1.2; color: #061bb0; background: #fff; }
.fpc__note { margin: 0 0 12px; font-size: .75rem; line-height: 1.5; color: #5a5c7a; }

.fpc__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 14px; border-top: 2px solid #e3ebed; }
.fpc__price { margin: 0; font: 700 1.2rem/1.2 "Playfair Display", Georgia, serif; color: #061bb0; }
.fpc__price small { display: block; margin-top: 2px; font: 400 .72rem/1.2 "DM Sans", sans-serif; color: #5a5c7a; }
.fpc__from { margin-right: 4px; font: 500 .75rem "DM Sans", sans-serif; color: #5a5c7a; }
.woocommerce ul.products li.product .fpc__btn { position: relative; z-index: 2; display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 20px; border: 0; border-radius: 999px; background: #061bb0; color: #fff !important; font: 700 .85rem/1 "DM Sans", sans-serif; text-decoration: none !important; white-space: nowrap; transition: background .2s, transform .2s; }
.woocommerce ul.products li.product .fpc__btn:hover { background: #1800ad; transform: translateY(-1px); }
.woocommerce ul.products li.product .fpc__btn:focus-visible { outline: 3px solid #ffb703; outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
	.fpc, .fpc__img, .fpc__btn { transition: none !important; }
	.fpc:hover, .fpc:hover .fpc__img { transform: none; }
}

/* ---------- Product page ---------- */
body.single-product { color: #23243f; }

/* Photo: fill the column, square, rounded. */
body.single-product .elementor-widget-woocommerce-product-images { width: 100%; max-width: 560px; }
body.single-product .elementor-widget-woocommerce-product-images .woocommerce-product-gallery { width: 100% !important; max-height: none !important; }
body.single-product .woocommerce-product-gallery__image img { width: 100% !important; height: auto !important; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 18px; }
body.single-product .woocommerce-product-gallery__trigger { top: 14px !important; right: 14px !important; width: 44px !important; height: 44px !important; }

/* Short description. */
body.single-product .woocommerce-product-details__short-description { font-style: normal !important; font-size: 1rem !important; line-height: 1.7 !important; color: #45476a !important; }

/* Add-on steppers: the theme's pink button reset was winning. */
body.single-product .fpbl-addons-wrap .fpbl-step-btn,
body.single-product .fpbl-builder-wrap .fpbl-step-btn { width: 44px; height: 44px; padding: 0; border: 1.5px solid #061bb0; border-radius: 50%; background: #fff; color: #061bb0; font: 700 1.2rem/1 "DM Sans", sans-serif; box-shadow: none; }
body.single-product .fpbl-addons-wrap .fpbl-step-btn:hover,
body.single-product .fpbl-builder-wrap .fpbl-step-btn:hover { background: #061bb0; color: #fff; border-color: #061bb0; }
body.single-product .fpbl-addons-wrap .fpbl-step-btn:focus-visible,
body.single-product .fpbl-builder-wrap .fpbl-step-btn:focus-visible { outline: 3px solid #ffb703; outline-offset: 2px; }
body.single-product .fpbl-step-val { min-width: 28px; text-align: center; font: 700 1rem "DM Sans", sans-serif; color: #061bb0; }
body.single-product .fpbl-item-name { font-family: "DM Sans", sans-serif; font-weight: 600; color: #23243f; }
body.single-product .fpbl-item-price { font-family: "DM Sans", sans-serif; font-weight: 700; color: #061bb0; }

/* Quantity and Add to cart. */
body.single-product form.cart { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
body.single-product form.cart .fpbl-addons-wrap,
body.single-product form.cart .fpbl-builder-wrap,
body.single-product form.cart .fpbl-product-delivery { flex: 1 1 100%; }
body.single-product form.cart .quantity { margin: 0 !important; }
body.single-product form.cart .quantity .qty { width: 76px; height: 52px; padding: 0 8px; border: 2px solid #c9d3e8 !important; border-radius: 999px; background: #fff; text-align: center; font: 700 1rem "DM Sans", sans-serif; color: #061bb0; }
body.single-product form.cart .single_add_to_cart_button,
body.single-product .elementor-add-to-cart .single_add_to_cart_button { min-height: 52px; margin: 0 !important; padding: 0 34px !important; border: 0 !important; border-radius: 999px !important; background: #061bb0 !important; color: #fff !important; font: 700 1rem/1 "DM Sans", sans-serif !important; letter-spacing: 0; text-transform: none; transition: background .2s, transform .2s, box-shadow .2s; }
body.single-product form.cart .single_add_to_cart_button:hover { background: #1800ad !important; transform: translateY(-2px); box-shadow: 0 10px 28px rgba(6, 27, 176, .3); }
body.single-product form.cart .single_add_to_cart_button:focus-visible { outline: 3px solid #ffb703; outline-offset: 3px; }
body.single-product form.cart .single_add_to_cart_button.disabled { opacity: .55; }
body.single-product .reset_variations { display: inline-flex; align-items: center; min-height: 44px; color: #061bb0; font: 600 .9rem "DM Sans", sans-serif; }

/* Meta line. */
body.single-product .product_meta { font: 400 .9rem "DM Sans", sans-serif; color: #45476a; }
body.single-product .product_meta a { color: #061bb0; font-weight: 600; text-decoration: none; }
body.single-product .product_meta a:hover { text-decoration: underline; }

/* Tabs as pills. */
body.single-product .woocommerce-tabs ul.tabs { display: flex !important; flex-wrap: wrap; gap: 8px; margin: 0 0 24px !important; padding: 0 !important; border: 0 !important; overflow: visible !important; }
body.single-product .woocommerce-tabs ul.tabs::before,
body.single-product .woocommerce-tabs ul.tabs::after,
body.single-product .woocommerce-tabs ul.tabs li::before,
body.single-product .woocommerce-tabs ul.tabs li::after { display: none !important; border: 0 !important; box-shadow: none !important; }
body.single-product .woocommerce-tabs ul.tabs li { margin: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; background: none !important; }
body.single-product .woocommerce-tabs ul.tabs li a { display: inline-flex !important; align-items: center; min-height: 44px; padding: 0 20px !important; border: 2px solid #061bb0 !important; border-radius: 999px !important; background: #fff !important; color: #061bb0 !important; font: 700 .9rem/1 "DM Sans", sans-serif !important; text-decoration: none !important; }
body.single-product .woocommerce-tabs ul.tabs li a:hover { background: #e3ebed !important; }
body.single-product .woocommerce-tabs ul.tabs li.active a { background: #061bb0 !important; color: #fff !important; }
body.single-product .woocommerce-tabs ul.tabs li a:focus-visible { outline: 3px solid #ffb703; outline-offset: 2px; }
body.single-product .woocommerce-Tabs-panel { max-width: 820px; margin: 0 !important; padding: 0 !important; border: 0 !important; font: 400 1rem/1.8 "DM Sans", sans-serif; color: #3a3a5a; }
body.single-product .woocommerce-Tabs-panel h2 { margin: 0 0 14px; font: 700 1.5rem/1.2 "Playfair Display", Georgia, serif; color: #061bb0; }
body.single-product .woocommerce-Tabs-panel p { margin: 0 0 1.1em; }
body.single-product .woocommerce-Tabs-panel a { color: #061bb0 !important; text-decoration: underline; font-weight: 600; }

/* Related heading. */
body.single-product .related > h2 { font: 700 clamp(1.5rem, 3vw, 2rem)/1.2 "Playfair Display", Georgia, serif; color: #061bb0; }

@media (max-width: 767px) {
	body.single-product .elementor-widget-woocommerce-product-images { max-width: none; }
	body.single-product form.cart .single_add_to_cart_button { flex: 1 1 auto; }
	body.single-product .woocommerce-tabs ul.tabs li a { padding: 0 16px !important; font-size: .85rem !important; }
}

/* Size picker (Plate, Bowl 3L, Bowl 5L). The product template's "cart button" style
   was turning these into solid blue pills with hidden text. */
body.single-product form.cart .fpbl-sizes { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; margin: 4px 0 12px; width: 100%; }
body.single-product form.cart button.fpbl-size { display: grid !important; gap: 2px; justify-items: start; align-content: center; width: 100% !important; min-height: 68px; margin: 0 !important; padding: 12px 14px !important; border: 1.5px solid #d9dfeb !important; border-radius: 12px !important; background: #fff !important; color: #23243f !important; font: 400 1rem/1.3 "DM Sans", sans-serif !important; text-align: left; text-transform: none !important; letter-spacing: 0 !important; box-shadow: none !important; transform: none !important; }
body.single-product form.cart button.fpbl-size:hover { border-color: #061bb0 !important; background: #f7f8ff !important; }
body.single-product form.cart button.fpbl-size.is-active { border-color: #061bb0 !important; background: #eef1ff !important; box-shadow: 0 0 0 2px rgba(6, 27, 176, .25) !important; }
body.single-product form.cart button.fpbl-size:focus-visible { outline: 3px solid #ffb703 !important; outline-offset: 2px; }
body.single-product form.cart .fpbl-size__name { font-weight: 700; font-size: 1rem; color: #061bb0; }
body.single-product form.cart .fpbl-size__note { font-size: .85rem; color: #4a4d6a; }
body.single-product form.cart .fpbl-size__price { font-weight: 700; font-size: 1rem; color: #23243f; }
body.single-product form.cart table.variations { margin-bottom: 8px; background: none !important; }
body.single-product form.cart table.variations th.label label { font: 700 .75rem "DM Sans", sans-serif; letter-spacing: .12em; text-transform: uppercase; color: #5a5c7a; }
/* Steppers sit inside the same form, so give them the same protection. */
body.single-product form.cart button.fpbl-step-btn { width: 44px !important; height: 44px !important; padding: 0 !important; border: 1.5px solid #061bb0 !important; border-radius: 50% !important; background: #fff !important; color: #061bb0 !important; font: 700 1.2rem/1 "DM Sans", sans-serif !important; }
body.single-product form.cart button.fpbl-step-btn:hover { background: #061bb0 !important; color: #fff !important; }
body.single-product form.cart table.variations tr, body.single-product form.cart table.variations td, body.single-product form.cart table.variations th, body.single-product form.cart table.variations tbody { background: none !important; }
@media (max-width: 767px) { body.single-product form.cart table.variations th, body.single-product form.cart table.variations td { display: block; width: 100%; padding: 0 0 6px !important; } }
