/* ==========================================================================
   CollectionZF — single product page (on top of Glozin's markup).
   ========================================================================== */

body.zf.single-product { --zf-pr: 10px; }
body.zf.single-product .site-content { padding-top: 24px; }

/* ---------- breadcrumb ---------- */
body.zf.single-product .woocommerce-breadcrumb,
body.zf.single-product .glozin-breadcrumb { font-size: 12px !important; letter-spacing: .04em; color: var(--zf-muted) !important; margin-bottom: 18px !important; }
body.zf.single-product .woocommerce-breadcrumb a { color: var(--zf-muted) !important; }

/* ---------- layout: gallery | summary ---------- */
body.zf.single-product .product-gallery-summary { gap: clamp(28px, 4vw, 64px) !important; align-items: flex-start; }
body.zf.single-product .product-gallery-summary > .woocommerce-product-gallery { flex: 0 0 56%; max-width: 56%; }
body.zf.single-product .product-gallery-summary > .summary { flex: 1 1 0; min-width: 0; position: sticky; top: calc(var(--zf-header-h) + 24px + var(--wp-admin--admin-bar--height, 0px)); }

/* gallery images: rounded, soft background, vertical thumbs on the left */
body.zf.single-product .woocommerce-product-gallery__image,
body.zf.single-product .woocommerce-product-gallery__image img { border-radius: var(--zf-pr) !important; background: var(--zf-stone); }
body.zf.single-product .woocommerce-product-gallery__image img { aspect-ratio: 4 / 5; object-fit: cover; object-position: center top; }
body.zf.single-product .glozin-product-gallery-thumbnails img,
body.zf.single-product .flex-control-thumbs img {
	border-radius: 8px !important; aspect-ratio: 4 / 5; object-fit: cover; object-position: center top;
	border: 1.5px solid transparent; opacity: .7; transition: opacity .25s, border-color .25s;
}
body.zf.single-product .glozin-product-gallery-thumbnails .swiper-slide-thumb-active img,
body.zf.single-product .glozin-product-gallery-thumbnails img:hover,
body.zf.single-product .flex-control-thumbs img.flex-active { opacity: 1; border-color: var(--zf-ink); }

/* ---------- summary ---------- */
.zf-pill {
	display: inline-flex; align-items: center; margin-bottom: 14px;
	padding: 6px 12px; border-radius: 6px; background: var(--zf-stone); color: var(--zf-ink);
	font: 500 12px/1 var(--zf-font); letter-spacing: .02em;
}
.zf-pill--sale { background: var(--zf-ink); color: #fff; }
.zf-pill--soldout { background: #f3e6e4; color: #8b3a32; }
body.zf.single-product .summary .product_title {
	font: 500 clamp(28px, 3vw, 42px)/1.1 var(--zf-font-display) !important;
	letter-spacing: -.005em !important; text-transform: none; margin: 0 0 14px !important;
}
body.zf.single-product .summary .product-taxonomy,
body.zf.single-product .summary .glozin-product-taxonomy { display: none !important; }

body.zf.single-product .glozin-product-price { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin: 4px 0 18px; }
body.zf.single-product .glozin-product-price .price { display: flex; align-items: baseline; gap: 12px; margin: 0 !important; font: 600 28px/1 var(--zf-font) !important; color: var(--zf-ink) !important; }
body.zf.single-product .glozin-product-price .price del { order: 2; font-size: 18px; font-weight: 400; color: var(--zf-muted) !important; opacity: 1; }
body.zf.single-product .glozin-product-price .price ins { text-decoration: none; }
.zf-off { display: inline-flex; align-items: center; height: 26px; padding: 0 9px; border-radius: 4px; background: var(--zf-ink); color: #fff; font: 600 12px/1 var(--zf-font); letter-spacing: .04em; }

.zf-lede { color: var(--zf-ink-2); font-size: 15px; line-height: 1.7; margin: 0 0 22px; padding-bottom: 22px; border-bottom: 1px solid var(--zf-line); max-width: 520px; }
body.zf.single-product .summary .short-description { color: var(--zf-ink-2); padding-bottom: 22px; margin-bottom: 22px; border-bottom: 1px solid var(--zf-line); }

/* ---------- variations ---------- */
body.zf.single-product form.variations_form { position: relative; }
body.zf.single-product table.variations { margin-bottom: 8px !important; border: 0; }
body.zf.single-product table.variations tr { display: block; margin-bottom: 18px; }
body.zf.single-product table.variations th.label,
body.zf.single-product table.variations td.label { display: block; padding: 0 0 10px !important; text-align: left; }
body.zf.single-product table.variations label { font: 500 14px/1 var(--zf-font) !important; color: var(--zf-ink); }
body.zf.single-product table.variations td.value { display: block; padding: 0 !important; }
body.zf.single-product .reset_variations { font-size: 12px; color: var(--zf-muted) !important; margin-top: 8px; display: inline-block; }

/* WCBoost swatches: round colour chips + square size buttons */
body.zf.single-product .wcboost-variation-swatches__wrapper { display: flex; flex-wrap: wrap; gap: 10px; }
body.zf.single-product .wcboost-variation-swatches--color .wcboost-variation-swatches__item {
	width: 38px !important; height: 38px !important; border-radius: 50% !important; padding: 3px !important;
	border: 1.5px solid transparent !important; box-shadow: none !important; background: #fff !important;
	transition: border-color .2s;
}
body.zf.single-product .wcboost-variation-swatches--color .wcboost-variation-swatches__name { border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); }
body.zf.single-product .wcboost-variation-swatches--color .wcboost-variation-swatches__item.selected,
body.zf.single-product .wcboost-variation-swatches--color .wcboost-variation-swatches__item:hover { border-color: var(--zf-ink) !important; }
body.zf.single-product .wcboost-variation-swatches--button .wcboost-variation-swatches__item,
body.zf.single-product .wcboost-variation-swatches--label .wcboost-variation-swatches__item {
	min-width: 56px !important; height: 44px !important; padding: 0 14px !important;
	border: 1px solid var(--zf-line) !important; border-radius: 8px !important;
	background: #fff !important; color: var(--zf-ink) !important; box-shadow: none !important;
	font: 500 14px/42px var(--zf-font) !important; text-align: center; transition: all .2s;
}
body.zf.single-product .wcboost-variation-swatches--button .wcboost-variation-swatches__item:hover { border-color: var(--zf-ink) !important; }
body.zf.single-product .wcboost-variation-swatches--button .wcboost-variation-swatches__item.selected,
body.zf.single-product .wcboost-variation-swatches--label .wcboost-variation-swatches__item.selected { background: var(--zf-ink) !important; border-color: var(--zf-ink) !important; color: #fff !important; }
body.zf.single-product .wcboost-variation-swatches__item.disabled { opacity: .35 !important; text-decoration: line-through; }

/* native selects as fallback when swatches are absent */
body.zf.single-product table.variations select {
	width: 100%; max-width: 360px; height: 48px; padding: 0 14px;
	border: 1px solid var(--zf-line); border-radius: 8px; background-color: #fff; font-size: 14px;
}

.zf-sizeguide-link {
	position: absolute; right: 0; top: 0; z-index: 2;
	display: inline-flex; align-items: center; gap: 6px;
	background: none; border: 0; padding: 0; cursor: pointer;
	font: 500 13px/1 var(--zf-font); color: var(--zf-ink); text-decoration: underline; text-underline-offset: 3px;
}
.zf-sizeguide-link .zf-ico { width: 18px; height: 18px; }

/* ---------- add to cart row ---------- */
body.zf.single-product .woocommerce-variation-add-to-cart,
body.zf.single-product form.cart:not(.variations_form) { display: flex; flex-wrap: wrap; align-items: stretch; gap: 10px; }
body.zf.single-product form.cart .quantity { margin: 0 !important; }
body.zf.single-product form.cart .quantity .qty,
body.zf.single-product form.cart .quantity { height: 56px; border-radius: 8px; }
body.zf.single-product .single_add_to_cart_button {
	flex: 1 1 200px; height: 56px !important; min-height: 56px;
	background: var(--zf-ink) !important; color: #fff !important; border: 0 !important;
	border-radius: 8px !important; font: 500 15px/1 var(--zf-font) !important; letter-spacing: .04em !important; text-transform: none !important;
	display: inline-flex !important; align-items: center; justify-content: center; gap: 10px;
	transition: background .25s, transform .25s var(--zf-ease) !important;
}
body.zf.single-product .single_add_to_cart_button:hover { background: #000 !important; transform: translateY(-1px); }
body.zf.single-product .single_add_to_cart_button.disabled { opacity: .55 !important; }
body.zf.single-product .wcboost-wishlist-button,
body.zf.single-product .product-featured-icons .glozin-wishlist-button {
	width: 56px !important; height: 56px !important; border: 1px solid var(--zf-line) !important; border-radius: 8px !important;
	display: inline-flex !important; align-items: center; justify-content: center; background: #fff !important;
}

/* Utopia Fast Checkout box (quick COD order) */
body.zf.single-product [class*="fast-checkout"] { border-radius: 10px; }

/* ---------- reassurance ---------- */
.zf-reassure { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 22px 0 0 !important; padding: 18px 0 0 !important; border-top: 1px solid var(--zf-line); }
.zf-reassure li { display: flex; align-items: flex-start; gap: 10px; font-size: 12px; line-height: 1.4; color: var(--zf-muted); margin: 0 !important; }
.zf-reassure .zf-ico { width: 24px; height: 24px; color: var(--zf-ink); stroke-width: 1.3; }
.zf-reassure strong { display: block; color: var(--zf-ink); font-weight: 500; font-size: 12.5px; }
body.zf.single-product .guarantee-safe-checkout { display: none !important; }

/* ---------- details: tabs + editorial image ---------- */
.zf-details {
	display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: start;
	margin: clamp(56px, 7vw, 96px) 0 0; padding-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--zf-line);
}
.zf-details__nav { display: flex; gap: 30px; border-bottom: 1px solid var(--zf-line); margin-bottom: 26px; overflow-x: auto; scrollbar-width: none; }
.zf-details__nav::-webkit-scrollbar { display: none; }
.zf-details__nav button {
	position: relative; flex: none; background: none; border: 0; padding: 0 0 14px; cursor: pointer;
	font: 400 14px/1 var(--zf-font); color: var(--zf-muted); white-space: nowrap;
}
.zf-details__nav button[aria-selected="true"] { color: var(--zf-ink); font-weight: 500; }
.zf-details__nav button[aria-selected="true"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--zf-ink); }
.zf-details__panel { animation: zf-fade .35s var(--zf-ease); }
.zf-details__panel p { color: var(--zf-ink-2); line-height: 1.75; font-size: 15px; }
@keyframes zf-fade { from { opacity: 0; transform: translateY(6px); } }
.zf-prose { color: var(--zf-ink-2); font-size: 15px; line-height: 1.75; }
.zf-prose p { margin: 0 0 12px; }
.zf-features { list-style: none; margin: 18px 0 0 !important; padding: 0 !important; display: grid; gap: 14px; }
.zf-features li { display: flex; align-items: center; gap: 14px; font-size: 14px; color: var(--zf-ink); margin: 0 !important; }
.zf-features .zf-ico { width: 20px; height: 20px; stroke-width: 1.4; }
.zf-details__media { margin: 0; border-radius: var(--zf-pr); overflow: hidden; background: var(--zf-stone); aspect-ratio: 4 / 3.4; position: sticky; top: calc(var(--zf-header-h) + 24px); }
.zf-details__media img { width: 100% !important; height: 100% !important; object-fit: cover; object-position: center 25%; }

/* hide Glozin's highlight marquee and empty tabs/reviews wrappers */
body.zf.single-product .product-highlights,
body.zf.single-product .woocommerce-tabs:empty { display: none !important; }

/* ---------- related ---------- */
.zf-related { margin: clamp(56px, 7vw, 96px) 0 clamp(40px, 6vw, 80px); }
.zf-related .zf-head { margin-bottom: 26px; }
.zf-related .zf-card__media { border-radius: var(--zf-pr); }
.zf-related .zf-rail__track { grid-auto-columns: calc((100% - 3 * 18px) / 4); gap: 18px; }

/* ---------- sticky mobile add-to-cart ---------- */
.zf-sticky {
	position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
	display: flex; align-items: center; gap: 12px;
	padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
	background: rgba(255,255,255,.97); border-top: 1px solid var(--zf-line);
	box-shadow: 0 -12px 30px -24px rgba(0,0,0,.5);
	transform: translateY(110%); transition: transform .35s var(--zf-ease);
}
.zf-sticky[hidden] { display: none; }
.zf-sticky.is-shown { transform: none; }
.zf-sticky__thumb img { width: 44px; height: 54px; object-fit: cover; border-radius: 6px; display: block; }
.zf-sticky__info { flex: 1; min-width: 0; display: grid; gap: 3px; }
.zf-sticky__info strong { font-size: 13px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.zf-sticky__info span { font-size: 13px; font-weight: 600; }
.zf-sticky__info del { color: var(--zf-muted); font-weight: 400; }
.zf-sticky__info ins { text-decoration: none; }
@media (min-width: 992px) { .zf-sticky { display: none !important; } }

/* ---------- responsive ---------- */
@media (max-width: 991px) {
	body.zf.single-product .product-gallery-summary > .woocommerce-product-gallery,
	body.zf.single-product .product-gallery-summary > .summary { flex: 1 1 100%; max-width: 100%; position: static; }
	.zf-details { grid-template-columns: 1fr; }
	.zf-details__media { position: static; aspect-ratio: 4 / 3; }
	.zf-related .zf-rail__track { grid-auto-columns: calc((100% - 2 * 14px) / 3); gap: 14px; }
}
@media (max-width: 600px) {
	body.zf.single-product .site-content { padding-top: 8px; }
	.zf-reassure { grid-template-columns: 1fr; gap: 14px; }
	.zf-reassure li { align-items: center; }
	.zf-reassure strong { display: inline; margin-right: 6px; }
	.zf-related .zf-rail__track { grid-auto-columns: 62%; }
	.zf-details__nav { gap: 22px; }
}

/* ---------- live QA fixes ---------- */
.zf-details > * { min-width: 0; }
/* Glozin's own sticky add-to-cart duplicates ours (and pads the body) */
body.zf.single-product #glozin-sticky-add-to-cart { display: none !important; }
body.zf.single-product { padding-bottom: 0 !important; }
/* room for the mobile sticky bar lives inside the dark footer, not as white body padding */
@media (max-width: 991px) { body.zf.zf-has-sticky .zf-footer { padding-bottom: 104px; } }
/* compare is noise on a fashion PDP; wishlist stays as a quiet icon */
body.zf.single-product .wcboost-products-compare-button--single { display: none !important; }
body.zf.single-product .wcboost-wishlist-single-button { border-radius: 8px !important; border-color: var(--zf-line) !important; }
/* add to cart: always ink, softer when no size chosen yet */
body.zf.single-product .single_add_to_cart_button.disabled,
body.zf.single-product .single_add_to_cart_button:disabled { background: var(--zf-ink) !important; opacity: .45 !important; }
body.zf.single-product form.cart .quantity { border-radius: 8px !important; }
body.zf.single-product .glozin-product-price .price,
body.zf.single-product .glozin-product-price .price ins .amount { font-weight: 600 !important; }
body.zf.single-product .product_meta .sku_wrapper { display: none !important; }


/* ==========================================================================
   Utopia Fast Checkout — CollectionZF skin
   ========================================================================== */
body.zf .zf-fc {
	width: 100%; margin: 6px 0 14px !important; padding: 0 !important;
	background: #fff !important; border: 1px solid var(--zf-line) !important; border-radius: 14px !important;
	box-shadow: 0 24px 60px -36px rgba(21,21,21,.35) !important; overflow: hidden; font-family: var(--zf-font) !important;
}
body.zf .zf-fc > h3 {
	position: relative; display: grid !important; grid-template-columns: 1fr auto; align-items: center; row-gap: 4px;
	margin: 0 !important; padding: 18px 22px !important; background: var(--zf-ink) !important; color: #fff !important;
	text-align: left !important; border: 0 !important; border-radius: 0 !important;
}
.zf-fc__title { font: 500 15px/1.1 var(--zf-font-display); letter-spacing: .16em; text-transform: uppercase; }
.zf-fc__sub { grid-column: 1; font: 400 12px/1.3 var(--zf-font); color: rgba(255,255,255,.7); letter-spacing: .02em; text-transform: none; }
.zf-fc__badge {
	grid-column: 2; grid-row: 1 / span 2; display: inline-flex; align-items: center; gap: 6px;
	padding: 7px 11px; border-radius: 40px; background: rgba(255,255,255,.12); font: 600 11px/1 var(--zf-font); letter-spacing: .06em; text-transform: uppercase;
}
.zf-fc__badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #7ed69a; box-shadow: 0 0 0 0 rgba(126,214,154,.7); animation: zf-ping 2s infinite; }
@keyframes zf-ping { 70% { box-shadow: 0 0 0 7px rgba(126,214,154,0); } 100% { box-shadow: 0 0 0 0 rgba(126,214,154,0); } }
.zf-fc__trust { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); margin: 0 !important; padding: 0 !important; background: var(--zf-cream); border-bottom: 1px solid var(--zf-line); }
.zf-fc__trust li { display: flex; align-items: center; justify-content: center; gap: 7px; margin: 0 !important; padding: 11px 6px; font-size: 11.5px; font-weight: 500; color: var(--zf-ink-2); text-align: center; line-height: 1.2; }
.zf-fc__trust li + li { border-left: 1px solid var(--zf-line); }
.zf-fc__trust .zf-ico { width: 16px; height: 16px; flex: none; color: var(--zf-ink); }

body.zf .zf-fc #fast-checkout-form { padding: 20px 22px 22px !important; background: transparent !important; border: 0 !important; }
body.zf .zf-fc .form-input-box { display: grid !important; grid-template-columns: 1fr 1fr; gap: 10px !important; margin: 0 0 16px !important; }
body.zf .zf-fc .form-input-box p { position: relative; margin: 0 !important; padding: 0 !important; width: auto !important; }
body.zf .zf-fc .form-input-box input,
body.zf .zf-fc .form-input-box select {
	width: 100% !important; height: 52px !important; margin: 0 !important; box-sizing: border-box;
	padding: 0 14px 0 44px !important; border: 1px solid var(--zf-line) !important; border-radius: 10px !important;
	background-color: #fff !important; background-repeat: no-repeat !important; background-position: 14px 50% !important; background-size: 19px !important;
	font: 400 14.5px/1 var(--zf-font) !important; color: var(--zf-ink) !important; box-shadow: none !important;
	transition: border-color .2s, box-shadow .2s, background-color .2s;
	-webkit-appearance: none; appearance: none;
}
body.zf .zf-fc .form-input-box input::placeholder { color: #a39c94 !important; opacity: 1; }
body.zf .zf-fc .form-input-box input:focus, body.zf .zf-fc .form-input-box select:focus {
	outline: none; border-color: var(--zf-ink) !important; box-shadow: 0 0 0 4px rgba(21,21,21,.06) !important;
}
body.zf .zf-fc .form-input-box input:not(:placeholder-shown):valid { border-color: #b9d4c1 !important; background-color: #fbfdfb !important; }
body.zf .zf-fc #utopia-name { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%238a837b%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%228%22%20r%3D%224%22/%3E%3Cpath%20d%3D%22M4.5%2020.5c1.2-3.8%204-5.5%207.5-5.5s6.3%201.7%207.5%205.5%22/%3E%3C/svg%3E") !important; }
body.zf .zf-fc #utopia-address { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%238a837b%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%2021s-6.5-5.6-6.5-11a6.5%206.5%200%200%201%2013%200c0%205.4-6.5%2011-6.5%2011z%22/%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2210%22%20r%3D%222.4%22/%3E%3C/svg%3E") !important; }
body.zf .zf-fc #utopia-gov { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%238a837b%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3.5%206.5%209%204l6%202.5%205.5-2.5v13L15%2019.5%209%2017l-5.5%202.5z%22/%3E%3Cpath%20d%3D%22M9%204v13M15%206.5v13%22/%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%238a837b%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m7%2010%205%205%205-5%22/%3E%3C/svg%3E") !important; background-position: 14px 50%, calc(100% - 14px) 50% !important; background-size: 19px, 18px !important; padding-right: 40px !important; cursor: pointer; }
body.zf .zf-fc #utopia-phone { padding-left: 66px !important; letter-spacing: .06em; }
.zf-fc__prefix {
	position: absolute; left: 1px; top: 1px; bottom: 1px; width: 54px; z-index: 1; display: flex; align-items: center; justify-content: center;
	font: 600 13px/1 var(--zf-font); color: var(--zf-ink); border-right: 1px solid var(--zf-line); border-radius: 10px 0 0 10px; background: var(--zf-cream);
	pointer-events: none;
}

/* receipt */
body.zf .zf-fc .order-summary {
	position: relative; margin: 0 0 16px !important; padding: 18px 18px 14px !important;
	background: var(--zf-cream) !important; border: 0 !important; border-radius: 12px !important;
}
body.zf .zf-fc .order-summary::after {
	content: ""; position: absolute; left: 12px; right: 12px; bottom: -6px; height: 12px;
	background: radial-gradient(circle at 6px 0, #fff 5px, transparent 5.5px) 0 0 / 14px 12px repeat-x;
}
body.zf .zf-fc .order-summary h4 { margin: 0 0 12px !important; font: 600 11px/1 var(--zf-font) !important; letter-spacing: .16em; text-transform: uppercase; color: var(--zf-muted) !important; }
body.zf .zf-fc .order-line { display: flex !important; justify-content: space-between; align-items: baseline; gap: 12px; padding: 7px 0 !important; border: 0 !important; font-size: 14px; color: var(--zf-ink-2); }
body.zf .zf-fc .order-line strong { color: var(--zf-ink); font-weight: 600; }
body.zf .zf-fc .order-line .variation { color: var(--zf-muted); }
body.zf .zf-fc .order-line .value { color: var(--zf-ink); font-weight: 500; white-space: nowrap; }
body.zf .zf-fc .order-line.total { margin-top: 8px; padding-top: 14px !important; border-top: 1px dashed #d9d0c4 !important; }
body.zf .zf-fc .order-line.total .label { font: 500 13px/1 var(--zf-font); letter-spacing: .12em; text-transform: uppercase; color: var(--zf-ink); }
body.zf .zf-fc .order-line.total .value { font: 600 24px/1 var(--zf-font) !important; }
body.zf .zf-fc .fc-shipping.is-free { color: var(--zf-ok) !important; font-weight: 600; }
.zf-fc__hint { margin: 8px 0 2px !important; font-size: 12px; color: var(--zf-muted); }
.zf-fc__hint strong { color: var(--zf-ink); }

/* qty + Arabic CTA */
body.zf .zf-fc .utopia-fast-bottom-set { display: grid !important; grid-template-columns: 124px 1fr; gap: 10px !important; align-items: stretch; margin: 6px 0 0 !important; }
body.zf .zf-fc .quantity-box {
	display: grid !important; grid-template-columns: 38px 1fr 38px; align-items: center; height: 58px !important; margin: 0 !important;
	border: 1px solid var(--zf-line) !important; border-radius: 10px !important; background: #fff !important; overflow: hidden;
}
body.zf .zf-fc .quantity-box .btn-minus, body.zf .zf-fc .quantity-box .btn-plus {
	display: flex !important; align-items: center; justify-content: center; height: 100%; width: auto !important; font-size: 18px; color: var(--zf-ink); cursor: pointer; background: transparent !important; border: 0 !important; user-select: none;
}
body.zf .zf-fc .quantity-box .btn-minus:hover, body.zf .zf-fc .quantity-box .btn-plus:hover { background: var(--zf-cream) !important; }
body.zf .zf-fc .quantity-box input { width: 100% !important; height: 100% !important; border: 0 !important; padding: 0 !important; text-align: center; font: 600 15px/1 var(--zf-font) !important; background: transparent !important; -moz-appearance: textfield; }
body.zf .zf-fc .quantity-box input::-webkit-outer-spin-button, body.zf .zf-fc .quantity-box input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
body.zf .zf-fc .utopia-fast-bottom-set .button {
	position: relative; overflow: hidden; height: 58px !important; margin: 0 !important; width: 100% !important;
	border: 0 !important; border-radius: 10px !important; color: #fff !important;
	font: 700 19px/1 "Noto Kufi Arabic", var(--zf-font) !important; letter-spacing: 0 !important; text-transform: none !important;
	display: flex !important; align-items: center; justify-content: center; gap: 10px;
	box-shadow: 0 14px 30px -14px rgba(21,21,21,.55) !important; transition: transform .25s var(--zf-ease), box-shadow .25s !important;
}
body.zf .zf-fc .utopia-fast-bottom-set .button:hover { transform: translateY(-2px); box-shadow: 0 20px 36px -16px rgba(21,21,21,.6) !important; }
body.zf .zf-fc .utopia-fast-bottom-set .button::after {
	content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%;
	background: linear-gradient(100deg, transparent, rgba(255,255,255,.22), transparent); transform: skewX(-20deg);
	animation: zf-shine 3.6s ease-in-out infinite;
}
@keyframes zf-shine { 0%, 55% { left: -60%; } 100% { left: 130%; } }
body.zf .zf-fc .utopia-fast-bottom-set .button .dashicons { display: none !important; }
body.zf .zf-fc .terms { margin: 12px 0 0 !important; font-size: 12px !important; color: var(--zf-muted) !important; text-align: center; }
body.zf .zf-fc .terms a { color: var(--zf-ink) !important; text-decoration: underline; text-underline-offset: 2px; }

/* WhatsApp: refined outline instead of the loud green slab */
body.zf .zf-fc #ufc-whatsapp-btn {
	height: 52px; margin-top: 12px !important; padding: 0 16px !important; border-radius: 10px !important;
	background: #fff !important; color: #128c4a !important; border: 1.5px solid #bfe3cc !important; box-shadow: none !important;
	font: 600 14px/1 var(--zf-font) !important;
}
body.zf .zf-fc #ufc-whatsapp-btn:hover { background: #f0faf3 !important; border-color: #25d366 !important; }
body.zf .zf-fc #ufc-whatsapp-btn svg { color: #25d366; }
body.zf .zf-fc .fast-checkout-message:empty { display: none; }

/* "Ajouter au panier": solid ink like every primary button on the site */
body.zf.single-product .zf-has-fc .single_add_to_cart_button { background: var(--zf-ink) !important; color: #fff !important; border: 0 !important; }
body.zf.single-product .zf-has-fc .single_add_to_cart_button:hover { background: #000 !important; }

@media (max-width: 600px) {
	body.zf .zf-fc > h3 { padding: 16px 18px !important; }
	body.zf .zf-fc #fast-checkout-form { padding: 16px !important; }
	body.zf .zf-fc .form-input-box { grid-template-columns: 1fr; }
	.zf-fc__trust li { flex-direction: column; gap: 5px; font-size: 10.5px; padding: 10px 4px; }
	body.zf .zf-fc .utopia-fast-bottom-set { grid-template-columns: 110px 1fr; }
}
body.zf .zf-fc .order-line .variation { text-transform: capitalize; }
body.zf.single-product .summary .product_meta,
body.zf.single-product .summary .glozin-product-meta { display: none !important; }
body.zf.single-product .summary .short-description { display: none !important; }
/* sold-out products: no express order form */
body.zf.single-product .product.outofstock #utopia-fast-checkout,
body.zf.single-product .product.outofstock .check_ui_popop_after_submit { display: none !important; }
/* audit: readable small text + comfortable tabs */
.zf-fc__trust li { font-size: 12px !important; }
body.zf .zf-fc .order-summary h4 { font-size: 12px !important; }
.zf-details__nav button { padding: 10px 0 16px; font-size: 14.5px; }
@media (max-width: 600px) { .zf-fc__trust li { font-size: 11.5px !important; } }
/* tablet: stack gallery and summary (Glozin keeps them side by side from 768px) */
@media (max-width: 991px) {
	body.zf.single-product .product-gallery-summary { flex-direction: column !important; }
	body.zf.single-product .product-gallery-summary > .woocommerce-product-gallery,
	body.zf.single-product .product-gallery-summary > .summary { width: 100% !important; max-width: 100% !important; flex: 0 0 auto !important; }
}
@media (min-width: 601px) and (max-width: 991px) {
	body.zf.single-product .product-gallery-summary > .woocommerce-product-gallery { max-width: 620px !important; margin-inline: auto; }
}
