/* ==========================================================
   PHIUM — GLOBAL PRODUCT CARD ACTIONS
   23 Aug 2026 — V9

   Shared merchandising + Quick Buy UI for classic WooCommerce product loops
   (category cards, homepage Featured Products, tags, Shop, related/up-sells,
   and product loops placed on normal Pages).
   ========================================================== */

ul.products li.product {
    position: relative;
    --phium-listing-accent: #b77b76;
    --phium-listing-accent-dark: #925d59;
    --phium-listing-heading: #2b1c15;
    --phium-listing-text: #6b5d55;
    --phium-listing-muted: #8f8179;
    --phium-listing-border: #eadfd7;
    --phium-listing-soft: #fbf3f2;
}

/* SALE is globally consistent: top-left, black background, white text. */
html body ul.products li.product .onsale,
html body ul.products li.product .onsale[data-shape="type-2"] {
    position: absolute !important;
    top: 14px !important;
    left: 14px !important;
    right: auto !important;
    z-index: 9 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    min-width: 0 !important;
    min-height: 30px !important;
    margin: 0 !important;
    padding: 8px 13px !important;
    border: 0 !important;
    border-radius: 50px !important;
    background: #17100d !important;
    color: #ffffff !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    letter-spacing: 0.10em !important;
    text-transform: uppercase !important;
    box-shadow: 0 5px 15px rgba(23, 16, 13, 0.22) !important;
}

html body ul.products li.product .onsale::before,
html body ul.products li.product .onsale::after {
    display: none !important;
    content: none !important;
}

/* Outside full category cards, keep the richer controls compact. */
body:not(.tax-product_cat) ul.products li.product .phium-quick-buy {
    gap: 9px;
}

body:not(.tax-product_cat) ul.products li.product .phium-quick-buy-size {
    min-height: 62px;
    padding: 7px 8px !important;
}

body:not(.tax-product_cat) ul.products li.product .phium-quick-buy-add {
    min-height: 40px !important;
    padding: 9px 12px !important;
    font-size: 10.5px !important;
}

body:not(.tax-product_cat) ul.products li.product .phium-quick-buy-now,
body:not(.tax-product_cat) ul.products li.product .phium-wishlist-slot .phium-card-wishlist {
    min-height: 36px !important;
    padding: 7px 8px !important;
    font-size: 9.5px !important;
}

/* ==========================================================
   PHIUM — PRODUCT IMAGE PROMOTION BADGE
   23 Aug 2026 — V9 global

   SALE remains at the top-left. Only an explicitly defined BEST SELLER
   badge is shown at the top-right. Otherwise this corner stays blank.
   ========================================================== */

ul.products li.product
.phium-card-promo-badge {
	position: absolute !important;
	top: 14px !important;
	right: 14px !important;
	left: auto !important;
	z-index: 8 !important;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	max-width: calc(100% - 110px);
	min-height: 30px;
	margin: 0 !important;
	padding: 8px 13px !important;
	border: 1px solid rgba(255, 255, 255, 0.34) !important;
	border-radius: 50px !important;
	background: #b8894f !important;
	color: #ffffff !important;
	font-family: inherit !important;
	font-size: 10px !important;
	font-weight: 800 !important;
	line-height: 1 !important;
	letter-spacing: 0.10em !important;
	text-align: center;
	text-transform: uppercase !important;
	white-space: nowrap;
	pointer-events: none;
	box-shadow: 0 5px 16px rgba(62, 42, 24, 0.24) !important;
}

ul.products li.product
.phium-card-promo-badge.is-hidden {
	display: none !important;
}

@media (max-width: 767px) {
	ul.products li.product
	.phium-card-promo-badge {
		top: 12px !important;
		right: 12px !important;
		min-height: 28px;
		padding: 7px 11px !important;
		font-size: 9px !important;
	}
}


/* ==========================================================
   PHIUM — CATEGORY QUICK BUY
   23 Aug 2026 — V9 global image promotion badge
   Regular 50 ml / 100 ml fragrance cards only.
   Trio / internal products never receive this markup.
   ========================================================== */

ul.products li.product
.phium-quick-buy {
	display: flex;
	flex-direction: column;
	gap: 12px;
	width: 100%;
	margin: 0 !important;
	padding: 0;
}

ul.products li.product
.phium-quick-buy-label {
	display: block;
	margin: 0;
	color: var(--phium-listing-muted);
	font-size: 10px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0.11em;
	text-transform: uppercase;
}


/* Entry-price headline: keep the lower starting price visible at all times. */
ul.products li.product
.phium-quick-buy-from-price
.phium-quick-buy-from-prefix {
	margin-right: 2px;
	color: var(--phium-listing-muted);
	font-size: 11px;
	font-weight: 600;
}


/* Size selection */
ul.products li.product
.phium-quick-buy-size-block {
	display: grid;
	gap: 7px;
}

ul.products li.product
.phium-quick-buy-sizes {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 9px;
}

ul.products li.product
.phium-quick-buy-size {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 2px;
	min-width: 0;
	min-height: 68px;
	margin: 0 !important;
	padding: 9px 10px !important;
	border: 1px solid var(--phium-listing-border) !important;
	border-radius: 10px !important;
	background: #ffffff !important;
	color: var(--phium-listing-heading) !important;
	font-family: inherit !important;
	font-size: 12px !important;
	font-weight: 700 !important;
	line-height: 1.2 !important;
	letter-spacing: 0.02em;
	text-transform: none !important;
	box-shadow: none !important;
	cursor: pointer;
	transition:
		border-color 0.2s ease,
		background-color 0.2s ease,
		color 0.2s ease,
		transform 0.2s ease;
}

ul.products li.product
.phium-quick-buy-size:hover,
ul.products li.product
.phium-quick-buy-size:focus-visible {
	border-color: var(--phium-listing-accent) !important;
	background: var(--phium-listing-soft) !important;
	outline: none;
}

ul.products li.product
.phium-quick-buy-size.is-selected {
	border-color: var(--phium-listing-accent) !important;
	background: var(--phium-listing-soft) !important;
	color: var(--phium-listing-accent-dark) !important;
	box-shadow: inset 0 0 0 1px rgba(183, 123, 118, 0.18) !important;
}

ul.products li.product
.phium-quick-buy-size-check {
	position: absolute;
	top: 7px;
	right: 8px;
	color: var(--phium-listing-accent-dark);
	font-size: 10px;
	font-weight: 800;
	line-height: 1;
	opacity: 0;
}

ul.products li.product
.phium-quick-buy-size.is-selected
.phium-quick-buy-size-check {
	opacity: 1;
}

ul.products li.product
.phium-quick-buy-size-name {
	font-size: 13px;
	font-weight: 700;
	line-height: 1.15;
}

ul.products li.product
.phium-quick-buy-size-price {
	color: var(--phium-listing-text);
	font-size: 11px;
	font-weight: 600;
	line-height: 1.2;
}

ul.products li.product
.phium-quick-buy-size-price
.amount {
	color: inherit !important;
	font-size: inherit !important;
	font-weight: inherit !important;
}


ul.products li.product
.phium-quick-buy-best-value {
	margin-top: 1px;
	color: var(--phium-listing-accent-dark);
	font-size: 8px;
	font-weight: 800;
	line-height: 1.1;
	letter-spacing: 0.10em;
	text-transform: uppercase;
}

ul.products li.product
.phium-quick-buy-size.is-unavailable {
	opacity: 0.45;
	cursor: not-allowed;
}

ul.products li.product
.phium-quick-buy-size small {
	display: none;
}


/* Compact quantity row */
ul.products li.product
.phium-quick-buy-qty-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-height: 38px;
}

ul.products li.product
.phium-quick-buy-qty {
	display: grid;
	grid-template-columns: 32px 38px 32px;
	align-items: stretch;
	height: 36px;
	overflow: hidden;
	border: 1px solid var(--phium-listing-border);
	border-radius: 10px;
	background: #ffffff;
}

ul.products li.product
.phium-quick-buy-qty button,
ul.products li.product
.phium-quick-buy-qty input {
	width: 100% !important;
	min-width: 0 !important;
	height: 34px !important;
	min-height: 34px !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	color: var(--phium-listing-heading) !important;
	font-family: inherit !important;
	font-size: 13px !important;
	font-weight: 700 !important;
	line-height: 34px !important;
	text-align: center !important;
	box-shadow: none !important;
}

ul.products li.product
.phium-quick-buy-qty button {
	cursor: pointer;
}

ul.products li.product
.phium-quick-buy-qty button:hover {
	color: var(--phium-listing-accent-dark) !important;
	background: var(--phium-listing-soft) !important;
}

ul.products li.product
.phium-quick-buy-qty input {
	border-right: 1px solid var(--phium-listing-border) !important;
	border-left: 1px solid var(--phium-listing-border) !important;
	-moz-appearance: textfield;
}

ul.products li.product
.phium-quick-buy-qty input::-webkit-outer-spin-button,
ul.products li.product
.phium-quick-buy-qty input::-webkit-inner-spin-button {
	margin: 0;
	-webkit-appearance: none;
}


/* Primary Add to Cart */
ul.products li.product
.phium-quick-buy-add {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 100% !important;
	min-height: 46px !important;
	margin: 0 !important;
	padding: 11px 18px !important;
	border: 1px solid var(--phium-listing-accent) !important;
	border-radius: 50px !important;
	background: var(--phium-listing-accent) !important;
	color: #ffffff !important;
	font-family: inherit !important;
	font-size: 12px !important;
	font-weight: 700 !important;
	line-height: 1.2 !important;
	letter-spacing: 0.07em !important;
	text-transform: uppercase !important;
	box-shadow: none !important;
	cursor: pointer;
	transition:
		background-color 0.2s ease,
		border-color 0.2s ease,
		transform 0.2s ease,
		opacity 0.2s ease;
}

ul.products li.product
.phium-quick-buy-add:not(:disabled):hover,
ul.products li.product
.phium-quick-buy-add:not(:disabled):focus-visible {
	border-color: var(--phium-listing-accent-dark) !important;
	background: var(--phium-listing-accent-dark) !important;
	outline: none !important;
	transform: translateY(-1px);
}


/* Wishlist + Buy Now secondary row */
ul.products li.product
.phium-quick-buy-secondary {
	display: grid;
	grid-template-columns: 1fr;
	gap: 9px;
	align-items: stretch;
}

ul.products li.product
.phium-quick-buy-secondary.has-wishlist {
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

ul.products li.product
.phium-wishlist-slot {
	display: none;
	min-width: 0;
}

ul.products li.product
.phium-quick-buy-secondary.has-wishlist
.phium-wishlist-slot {
	display: block;
}

ul.products li.product
.phium-quick-buy-now,
ul.products li.product
.phium-wishlist-slot
.phium-card-wishlist {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 6px !important;
	width: 100% !important;
	height: auto !important;
	min-height: 39px !important;
	margin: 0 !important;
	padding: 8px 10px !important;
	border: 1px solid var(--phium-listing-border) !important;
	border-radius: 50px !important;
	background: #ffffff !important;
	color: var(--phium-listing-text) !important;
	font-family: inherit !important;
	font-size: 10.5px !important;
	font-weight: 700 !important;
	line-height: 1.2 !important;
	letter-spacing: 0.025em !important;
	text-align: center !important;
	text-transform: none !important;
	text-decoration: none !important;
	box-shadow: none !important;
	cursor: pointer;
	transition:
		border-color 0.2s ease,
		background-color 0.2s ease,
		color 0.2s ease;
}

ul.products li.product
.phium-quick-buy-now:not(:disabled):hover,
ul.products li.product
.phium-wishlist-slot
.phium-card-wishlist:hover {
	border-color: var(--phium-listing-accent) !important;
	background: var(--phium-listing-soft) !important;
	color: var(--phium-listing-accent-dark) !important;
}


/* Disabled / processing states */
ul.products li.product
.phium-quick-buy-add:disabled,
ul.products li.product
.phium-quick-buy-now:disabled {
	opacity: 0.46 !important;
	cursor: not-allowed !important;
	transform: none !important;
}

ul.products li.product
.phium-quick-buy.is-processing {
	cursor: wait;
}

ul.products li.product
.phium-quick-buy.is-processing
.phium-quick-buy-size:not(.is-unavailable),
ul.products li.product
.phium-quick-buy.is-processing
.phium-quick-buy-qty {
	opacity: 0.58;
}


/* Small inline success/error message; no layout jump when empty. */
ul.products li.product
.phium-quick-buy-status {
	min-height: 0;
	margin: -3px 0 0;
	color: var(--phium-listing-muted);
	font-size: 10.5px;
	font-weight: 500;
	line-height: 1.35;
	text-align: center;
}

ul.products li.product
.phium-quick-buy-status:empty {
	display: none;
}

ul.products li.product
.phium-quick-buy-status.is-error {
	color: #a54e44;
}

ul.products li.product
.phium-quick-buy-status.is-success {
	color: #5f7f4d;
}


/* The Quick Buy wrapper replaces Select Options inside Blocksy's action area. */
ul.products li.product
.ct-woo-card-actions:has(.phium-quick-buy) {
	min-height: 0 !important;
}

ul.products li.product
.ct-woo-card-actions
.phium-quick-buy
button::before,
ul.products li.product
.ct-woo-card-actions
.phium-quick-buy
button::after {
	display: none;
}


/* Slightly tighten the category badge before the richer purchase block. */
ul.products li.product:has(.phium-quick-buy)
.entry-meta {
	margin-bottom: 14px !important;
}


@media (max-width: 767px) {
	ul.products li.product
	.phium-quick-buy {
		gap: 11px;
	}

	ul.products li.product
	.phium-quick-buy-size {
		min-height: 72px;
		font-size: 12.5px !important;
	}

	ul.products li.product
	.phium-quick-buy-add {
		min-height: 48px !important;
		font-size: 12.5px !important;
	}

	ul.products li.product
	.phium-quick-buy-now,
	ul.products li.product
	.phium-wishlist-slot
	.phium-card-wishlist {
		min-height: 42px !important;
		font-size: 11px !important;
	}
}


/* ==========================================================
   PHIUM — HOME / COMPACT PRODUCT LOOPS
   V9: Homepage Product blocks are not always wrapped by .woocommerce.
   Keep the same Quick Buy UI compact enough for smaller Featured cards.
   ========================================================== */
body.home ul.products li.product .phium-quick-buy,
body.front-page ul.products li.product .phium-quick-buy {
    gap: 8px;
}

body.home ul.products li.product .phium-quick-buy-label,
body.front-page ul.products li.product .phium-quick-buy-label {
    font-size: 8.5px;
    letter-spacing: 0.09em;
}

body.home ul.products li.product .phium-quick-buy-size-block,
body.front-page ul.products li.product .phium-quick-buy-size-block {
    gap: 5px;
}

body.home ul.products li.product .phium-quick-buy-sizes,
body.front-page ul.products li.product .phium-quick-buy-sizes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
}

body.home ul.products li.product .phium-quick-buy-size,
body.front-page ul.products li.product .phium-quick-buy-size {
    min-height: 54px;
    padding: 6px 6px !important;
    border-radius: 9px !important;
}

body.home ul.products li.product .phium-quick-buy-size-name,
body.front-page ul.products li.product .phium-quick-buy-size-name {
    font-size: 10.5px;
}

body.home ul.products li.product .phium-quick-buy-size-price,
body.front-page ul.products li.product .phium-quick-buy-size-price {
    font-size: 9px;
}

body.home ul.products li.product .phium-quick-buy-best-value,
body.front-page ul.products li.product .phium-quick-buy-best-value {
    font-size: 6.8px;
    letter-spacing: 0.07em;
}

body.home ul.products li.product .phium-quick-buy-qty-row,
body.front-page ul.products li.product .phium-quick-buy-qty-row {
    min-height: 32px;
}

body.home ul.products li.product .phium-quick-buy-qty,
body.front-page ul.products li.product .phium-quick-buy-qty {
    grid-template-columns: 28px 34px 28px;
    height: 32px;
    border-radius: 9px;
}

body.home ul.products li.product .phium-quick-buy-qty button,
body.home ul.products li.product .phium-quick-buy-qty input,
body.front-page ul.products li.product .phium-quick-buy-qty button,
body.front-page ul.products li.product .phium-quick-buy-qty input {
    height: 30px !important;
    min-height: 30px !important;
    font-size: 11px !important;
    line-height: 30px !important;
}

body.home ul.products li.product .phium-quick-buy-add,
body.front-page ul.products li.product .phium-quick-buy-add {
    min-height: 36px !important;
    padding: 8px 10px !important;
    font-size: 9px !important;
}

body.home ul.products li.product .phium-quick-buy-now,
body.home ul.products li.product .phium-wishlist-slot .phium-card-wishlist,
body.front-page ul.products li.product .phium-quick-buy-now,
body.front-page ul.products li.product .phium-wishlist-slot .phium-card-wishlist {
    min-height: 34px !important;
    padding: 7px 8px !important;
    font-size: 8.5px !important;
}

body.home ul.products li.product .phium-quick-buy-status,
body.front-page ul.products li.product .phium-quick-buy-status {
    font-size: 8.5px;
}


@media (prefers-reduced-motion: reduce) {
	ul.products li.product
	.phium-quick-buy button {
		transition: none !important;
	}
}

/* ==========================================================
   PHIUM — WOOCOMMERCE PRODUCT COLLECTION BLOCK COMPATIBILITY
   23 Aug 2026 — V10

   Gutenberg/WooCommerce Product Collection blocks use:
   ul.wc-block-product-template > li.wc-block-product
   rather than the classic ul.products > li.product markup.
   Keep the approved Quick Buy design and merchandising badges identical.
   ========================================================== */

.wp-block-woocommerce-product-collection .wc-block-product {
    position: relative !important;
    min-width: 0 !important;
    --phium-listing-accent: #c98f67;
    --phium-listing-accent-dark: #aa724e;
    --phium-listing-heading: #2d1f1a;
    --phium-listing-text: #5f4b42;
    --phium-listing-muted: #8f8179;
    --phium-listing-border: #eadfd7;
    --phium-listing-soft: #fbf3f2;
}

/* Product image is the positioning surface for SALE + BEST SELLER. */
.wp-block-woocommerce-product-collection
.wc-block-product
.wc-block-components-product-image {
    position: relative !important;
}

.wp-block-woocommerce-product-collection
.wc-block-product
.wc-block-components-product-image > a {
    position: relative !important;
    display: block !important;
}

/* SALE — always top-left, black with white text. */
html body
.wp-block-woocommerce-product-collection
.wc-block-product
.wc-block-components-product-sale-badge {
    position: absolute !important;
    top: 14px !important;
    left: 14px !important;
    right: auto !important;
    bottom: auto !important;
    z-index: 10 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    min-width: 0 !important;
    min-height: 30px !important;
    margin: 0 !important;
    padding: 8px 13px !important;
    border: 0 !important;
    border-radius: 50px !important;
    background: #17100d !important;
    color: #ffffff !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    letter-spacing: 0.10em !important;
    text-transform: uppercase !important;
    box-shadow: 0 5px 15px rgba(23, 16, 13, 0.22) !important;
    transform: none !important;
}

html body
.wp-block-woocommerce-product-collection
.wc-block-product
.wc-block-components-product-sale-badge__text {
    color: #ffffff !important;
    font: inherit !important;
    line-height: 1 !important;
}

/* Explicit BEST SELLER only — top-right. */
.wp-block-woocommerce-product-collection
.wc-block-product
.wc-block-components-product-image
.phium-card-promo-badge {
    position: absolute !important;
    top: 14px !important;
    right: 14px !important;
    left: auto !important;
    z-index: 11 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    max-width: calc(100% - 118px) !important;
    min-height: 30px !important;
    margin: 0 !important;
    padding: 8px 13px !important;
    border: 1px solid rgba(255, 255, 255, 0.38) !important;
    border-radius: 50px !important;
    background: #b8894f !important;
    color: #ffffff !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    letter-spacing: 0.10em !important;
    text-transform: uppercase !important;
    white-space: nowrap !important;
    pointer-events: none !important;
    box-shadow: 0 5px 16px rgba(62, 42, 24, 0.24) !important;
}

/* Quick Buy wrapper — reset Gutenberg block/button layout before styling. */
html body
.wp-block-woocommerce-product-collection
.wc-block-product
.phium-quick-buy {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 9px !important;
    width: 100% !important;
    max-width: none !important;
    margin: 12px 0 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    text-align: left !important;
}

html body
.wp-block-woocommerce-product-collection
.wc-block-product
.phium-quick-buy * {
    box-sizing: border-box;
}

html body
.wp-block-woocommerce-product-collection
.wc-block-product
.phium-quick-buy-label {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    color: var(--phium-listing-muted) !important;
    font-size: 9px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    letter-spacing: 0.10em !important;
    text-transform: uppercase !important;
    text-align: left !important;
}

html body
.wp-block-woocommerce-product-collection
.wc-block-product
.phium-quick-buy-size-block {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 6px !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

html body
.wp-block-woocommerce-product-collection
.wc-block-product
.phium-quick-buy-sizes {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

html body
.wp-block-woocommerce-product-collection
.wc-block-product
button.phium-quick-buy-size {
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 2px !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    min-height: 58px !important;
    height: auto !important;
    margin: 0 !important;
    padding: 7px 8px !important;
    border: 1px solid var(--phium-listing-border) !important;
    border-radius: 10px !important;
    background: #ffffff !important;
    color: var(--phium-listing-heading) !important;
    font-family: inherit !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    line-height: 1.15 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    text-align: center !important;
    box-shadow: none !important;
    cursor: pointer !important;
}

html body
.wp-block-woocommerce-product-collection
.wc-block-product
button.phium-quick-buy-size.is-selected {
    border-color: var(--phium-listing-accent) !important;
    background: var(--phium-listing-soft) !important;
    color: var(--phium-listing-accent-dark) !important;
    box-shadow: inset 0 0 0 1px rgba(201, 143, 103, 0.16) !important;
}

html body
.wp-block-woocommerce-product-collection
.wc-block-product
.phium-quick-buy-size-check {
    position: absolute !important;
    top: 7px !important;
    right: 8px !important;
    display: block !important;
    margin: 0 !important;
    color: var(--phium-listing-accent-dark) !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    opacity: 0 !important;
}

html body
.wp-block-woocommerce-product-collection
.wc-block-product
button.phium-quick-buy-size.is-selected
.phium-quick-buy-size-check {
    opacity: 1 !important;
}

html body
.wp-block-woocommerce-product-collection
.wc-block-product
.phium-quick-buy-size-name {
    display: block !important;
    margin: 0 !important;
    color: inherit !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    line-height: 1.15 !important;
}

html body
.wp-block-woocommerce-product-collection
.wc-block-product
.phium-quick-buy-size-price,
html body
.wp-block-woocommerce-product-collection
.wc-block-product
.phium-quick-buy-size-price .amount {
    display: block !important;
    margin: 0 !important;
    color: var(--phium-listing-text) !important;
    font-size: 9.5px !important;
    font-weight: 600 !important;
    line-height: 1.15 !important;
}

html body
.wp-block-woocommerce-product-collection
.wc-block-product
.phium-quick-buy-best-value {
    display: block !important;
    margin: 1px 0 0 !important;
    color: var(--phium-listing-accent-dark) !important;
    font-size: 7px !important;
    font-weight: 800 !important;
    line-height: 1.1 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
}

html body
.wp-block-woocommerce-product-collection
.wc-block-product
button.phium-quick-buy-size.is-unavailable {
    opacity: 0.45 !important;
    cursor: not-allowed !important;
}

html body
.wp-block-woocommerce-product-collection
.wc-block-product
.phium-quick-buy-size small {
    display: none !important;
}

/* Qty: label left, one compact three-part control right. */
html body
.wp-block-woocommerce-product-collection
.wc-block-product
.phium-quick-buy-qty-row {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
    width: 100% !important;
    min-height: 34px !important;
    margin: 0 !important;
    padding: 0 !important;
}

html body
.wp-block-woocommerce-product-collection
.wc-block-product
.phium-quick-buy-qty {
    display: grid !important;
    grid-template-columns: 30px 36px 30px !important;
    align-items: stretch !important;
    width: 96px !important;
    min-width: 96px !important;
    max-width: 96px !important;
    height: 34px !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    border: 1px solid var(--phium-listing-border) !important;
    border-radius: 9px !important;
    background: #ffffff !important;
}

html body
.wp-block-woocommerce-product-collection
.wc-block-product
.phium-quick-buy-qty button,
html body
.wp-block-woocommerce-product-collection
.wc-block-product
.phium-quick-buy-qty input {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    height: 32px !important;
    min-height: 32px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: var(--phium-listing-heading) !important;
    font-family: inherit !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    line-height: 32px !important;
    text-align: center !important;
    box-shadow: none !important;
}

html body
.wp-block-woocommerce-product-collection
.wc-block-product
.phium-quick-buy-qty input {
    border-right: 1px solid var(--phium-listing-border) !important;
    border-left: 1px solid var(--phium-listing-border) !important;
    -moz-appearance: textfield;
}

html body
.wp-block-woocommerce-product-collection
.wc-block-product
.phium-quick-buy-qty input::-webkit-outer-spin-button,
html body
.wp-block-woocommerce-product-collection
.wc-block-product
.phium-quick-buy-qty input::-webkit-inner-spin-button {
    margin: 0;
    -webkit-appearance: none;
}

/* Main CTA full-width. */
html body
.wp-block-woocommerce-product-collection
.wc-block-product
button.phium-quick-buy-add {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    max-width: none !important;
    min-height: 40px !important;
    height: auto !important;
    margin: 0 !important;
    padding: 9px 12px !important;
    border: 1px solid var(--phium-listing-accent) !important;
    border-radius: 50px !important;
    background: var(--phium-listing-accent) !important;
    color: #ffffff !important;
    font-family: inherit !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    letter-spacing: 0.06em !important;
    text-transform: uppercase !important;
    text-align: center !important;
    box-shadow: none !important;
}

/* Buy Now / Wishlist secondary row. */
html body
.wp-block-woocommerce-product-collection
.wc-block-product
.phium-quick-buy-secondary {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 8px !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

html body
.wp-block-woocommerce-product-collection
.wc-block-product
.phium-quick-buy-secondary.has-wishlist {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

html body
.wp-block-woocommerce-product-collection
.wc-block-product
.phium-wishlist-slot {
    display: none !important;
    min-width: 0 !important;
}

html body
.wp-block-woocommerce-product-collection
.wc-block-product
.phium-quick-buy-secondary.has-wishlist
.phium-wishlist-slot {
    display: block !important;
}

html body
.wp-block-woocommerce-product-collection
.wc-block-product
button.phium-quick-buy-now,
html body
.wp-block-woocommerce-product-collection
.wc-block-product
.phium-wishlist-slot .phium-card-wishlist {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 5px !important;
    width: 100% !important;
    max-width: none !important;
    min-height: 36px !important;
    height: auto !important;
    margin: 0 !important;
    padding: 8px 10px !important;
    border: 1px solid var(--phium-listing-border) !important;
    border-radius: 50px !important;
    background: #ffffff !important;
    color: var(--phium-listing-text) !important;
    font-family: inherit !important;
    font-size: 9.5px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    text-transform: none !important;
    text-decoration: none !important;
    text-align: center !important;
    box-shadow: none !important;
}

html body
.wp-block-woocommerce-product-collection
.wc-block-product
.phium-quick-buy-add:disabled,
html body
.wp-block-woocommerce-product-collection
.wc-block-product
.phium-quick-buy-now:disabled {
    opacity: 0.46 !important;
    cursor: not-allowed !important;
}

html body
.wp-block-woocommerce-product-collection
.wc-block-product
.phium-quick-buy-status {
    min-height: 0 !important;
    margin: -2px 0 0 !important;
    font-size: 9px !important;
    line-height: 1.3 !important;
    text-align: center !important;
}

html body
.wp-block-woocommerce-product-collection
.wc-block-product
.phium-quick-buy-status:empty {
    display: none !important;
}

@media (max-width: 767px) {
    html body
    .wp-block-woocommerce-product-collection
    .wc-block-product
    .phium-quick-buy-sizes {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 7px !important;
    }

    html body
    .wp-block-woocommerce-product-collection
    .wc-block-product
    button.phium-quick-buy-size {
        min-height: 60px !important;
    }

    html body
    .wp-block-woocommerce-product-collection
    .wc-block-product
    .wc-block-components-product-sale-badge {
        top: 12px !important;
        left: 12px !important;
    }

    .wp-block-woocommerce-product-collection
    .wc-block-product
    .wc-block-components-product-image
    .phium-card-promo-badge {
        top: 12px !important;
        right: 12px !important;
        min-height: 28px !important;
        padding: 7px 11px !important;
        font-size: 9px !important;
    }
}

/* ==========================================================
   PHIUM V11 — PRODUCT COLLECTION CTA COMPLETION
   23 Aug 2026
   - Restores Wishlist in Woo Product Collection blocks.
   - Keeps Wishlist + Buy Now side by side.
   - Strengthens Home/Featured CTA readability.
   ========================================================== */

html body
.wp-block-woocommerce-product-collection
.wc-block-product
.phium-quick-buy-secondary.has-wishlist {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    width: 100% !important;
}

html body
.wp-block-woocommerce-product-collection
.wc-block-product
.phium-quick-buy-secondary.has-wishlist
.phium-wishlist-slot {
    display: block !important;
    min-width: 0 !important;
}

html body
.wp-block-woocommerce-product-collection
.wc-block-product
.phium-wishlist-slot
.phium-card-wishlist,
html body
.wp-block-woocommerce-product-collection
.wc-block-product
button.phium-quick-buy-now {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    min-height: 40px !important;
    margin: 0 !important;
    padding: 9px 10px !important;
    border: 1px solid var(--phium-listing-border) !important;
    border-radius: 50px !important;
    background: #ffffff !important;
    color: var(--phium-listing-text) !important;
    font-family: inherit !important;
    font-size: 10.5px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    letter-spacing: 0.015em !important;
    text-transform: none !important;
    text-decoration: none !important;
    text-align: center !important;
    box-shadow: none !important;
    cursor: pointer !important;
}

html body
.wp-block-woocommerce-product-collection
.wc-block-product
.phium-wishlist-slot
.phium-card-wishlist .ct-icon-container,
html body
.wp-block-woocommerce-product-collection
.wc-block-product
.phium-wishlist-slot
.phium-card-wishlist > svg {
    display: none !important;
}

html body
.wp-block-woocommerce-product-collection
.wc-block-product
.phium-wishlist-heart {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 15px !important;
    font-weight: 400 !important;
    line-height: 1 !important;
}

html body
.wp-block-woocommerce-product-collection
.wc-block-product
.phium-wishlist-label {
    display: inline !important;
}

html body
.wp-block-woocommerce-product-collection
.wc-block-product
button.phium-quick-buy-add {
    min-height: 42px !important;
    padding: 10px 14px !important;
    font-size: 11.5px !important;
    letter-spacing: 0.055em !important;
}

html body
.wp-block-woocommerce-product-collection
.wc-block-product
.phium-wishlist-slot
.phium-card-wishlist:hover,
html body
.wp-block-woocommerce-product-collection
.wc-block-product
button.phium-quick-buy-now:not(:disabled):hover {
    border-color: var(--phium-listing-accent) !important;
    background: var(--phium-listing-soft) !important;
    color: var(--phium-listing-accent-dark) !important;
}

@media (max-width: 520px) {
    html body
    .wp-block-woocommerce-product-collection
    .wc-block-product
    .phium-quick-buy-secondary.has-wishlist {
        grid-template-columns: 1fr !important;
    }
}

/* ==========================================================
   PHIUM A11Y CONTRAST V1
   Homepage accessibility contrast corrections
   ========================================================== */

/* Header cart count */
body.home #header .ct-dynamic-count-cart {
    background: #8c5a3d !important;
    color: #ffffff !important;
}

/* Mobile current / hover menu */
@media (max-width: 999.98px) {
    body.home #offcanvas .mobile-menu li.current-menu-item > a,
    body.home #offcanvas .mobile-menu li.current_page_item > a,
    body.home #offcanvas .mobile-menu a:hover,
    body.home #offcanvas .ct-menu-link:hover {
        color: #8c5a3d !important;
    }
}

/* Product card promotional badge */
body.home .wp-block-woocommerce-product-collection
.wc-block-product
.phium-card-promo-badge {
    background: #8c5a3d !important;
    color: #ffffff !important;
}

/* Quick Buy muted labels */
body.home .wp-block-woocommerce-product-collection
.wc-block-product
.phium-quick-buy-label {
    color: #5f4b42 !important;
}

/* Selected Quick Buy option */
body.home .wp-block-woocommerce-product-collection
.wc-block-product
button.phium-quick-buy-size.is-selected,
body.home .wp-block-woocommerce-product-collection
.wc-block-product
button.phium-quick-buy-size.is-selected .phium-quick-buy-size-name,
body.home .wp-block-woocommerce-product-collection
.wc-block-product
.phium-quick-buy-size-check,
body.home .wp-block-woocommerce-product-collection
.wc-block-product
.phium-quick-buy-best-value {
    color: #8c5a3d !important;
}

/* Main Quick Buy CTA */
body.home .wp-block-woocommerce-product-collection
.wc-block-product
button.phium-quick-buy-add {
    background: #8c5a3d !important;
    border-color: #8c5a3d !important;
    color: #ffffff !important;
}

/* PHIUM Community accent text/icons */
body.home .phium-community-eyebrow,
body.home .phium-community-icon,
body.home .phium-instagram-mark,
body.home .phium-instagram-profile span {
    color: #8c5a3d !important;
}

/* Newsletter CTA */
body.home #wpforms-submit-34 {
    background: #8c5a3d !important;
    border-color: #8c5a3d !important;
    color: #ffffff !important;
}

/* Explore Collections CTA */
body.home .wp-block-buttons .wp-block-button__link {
    background: #8c5a3d !important;
    border-color: #8c5a3d !important;
    color: #ffffff !important;
}

/* Keyboard skip link */
body.home a.skip-link {
    color: #5f4b42 !important;
}

