/* iCamStore: WooCommerce pages (replaces WooCommerce's own stylesheets). */

/* ---------- Breadcrumb ---------- */
.ic-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: 0 0 18px; color: var(--ic-text); font-size: 13px; }
.ic-crumbs a { color: var(--ic-text); }
.ic-crumbs a:hover { color: var(--ic-ink); }
.ic-crumbs__sep { color: var(--ic-muted); }
.ic-crumbs > :last-child:not(a) { color: var(--ic-ink); font-weight: 600; }

/* ---------- Shop wrapper ---------- */
.ic-shop { padding-block: 22px 50px; }
.woocommerce-products-header { margin-bottom: 4px; }
.woocommerce-products-header__title { margin: 0 0 10px; font-size: var(--wp--preset--font-size--large, 24px); }
.term-description { max-width: 900px; margin-bottom: 14px; font-size: 14px; }
.term-description p:last-child { margin: 0; }

/* ---------- List pages: filters column + results ---------- */
.ic-archive { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 30px; align-items: start; }
.ic-archive__main { min-width: 0; transition: opacity .15s; }
.ic-archive.is-loading .ic-archive__main { opacity: .45; pointer-events: none; }

.ic-filters {
	position: sticky; top: calc(var(--ic-admin) + var(--ic-bar-h) + 16px);
	max-height: calc(100vh - var(--ic-admin) - var(--ic-bar-h) - 32px); overflow-y: auto; overscroll-behavior: contain;
	scrollbar-width: thin;
}
.ic-filters__head, .ic-filters__foot { display: none; }
.ic-fbox { margin-bottom: 12px; background: #fff; border-radius: var(--ic-radius); box-shadow: var(--ic-shadow); }
.ic-fbox__title {
	display: flex; align-items: center; justify-content: space-between; padding: 14px 18px;
	color: var(--ic-ink); font-family: var(--ic-font-h); font-size: 13px; font-weight: 500; letter-spacing: .03em; text-transform: uppercase;
	cursor: pointer; list-style: none;
}
.ic-fbox__title::-webkit-details-marker { display: none; }
/* A turned square, so its sides are physical (right + bottom) in both directions. */
.ic-fbox__title::after { content: ""; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); opacity: .5; }
.ic-fbox[open] > .ic-fbox__title::after { transform: rotate(-135deg); }
.ic-fbox > :not(summary) { margin-inline: 12px; }
.ic-fbox > :last-child { margin-bottom: 14px; }
.ic-flist { margin: 0; padding: 0; list-style: none; }
.ic-flist li.is-extra { display: none; }
.ic-flist.is-all li.is-extra, .ic-flist.is-finding li { display: block; }
.ic-flist.is-finding li.is-miss { display: none; }
.ic-flink, .ic-fcheck {
	display: flex; align-items: center; gap: 10px; padding: 7px 8px; border-radius: var(--ic-radius-s);
	color: var(--ic-title); font-size: 14px; line-height: 1.35;
}
.ic-flink:hover, .ic-fcheck:hover { background: var(--ic-page); color: var(--ic-ink); }
.ic-flink[aria-current] { background: var(--ic-blue-soft); color: var(--ic-blue); font-weight: 600; }
.ic-flink__name { flex: 1; min-width: 0; }
.ic-flink__count { flex: none; min-width: 26px; padding: 0 6px; border-radius: 10px; background: var(--ic-page); color: var(--ic-text); font-size: 12px; line-height: 20px; text-align: center; }
.ic-fcheck__box { display: inline-grid; place-items: center; flex: none; width: 18px; height: 18px; border: 1.5px solid #cfcfcf; border-radius: 4px; background: #fff; }
.ic-fcheck__box .ic-icon { width: 12px; height: 12px; color: #fff; opacity: 0; }
.ic-fcheck[aria-checked="true"] .ic-fcheck__box { border-color: var(--ic-blue); background: var(--ic-blue); }
.ic-fcheck[aria-checked="true"] .ic-fcheck__box .ic-icon { opacity: 1; }
.ic-fcheck.is-empty { color: var(--ic-muted); }
.ic-fback { display: flex; align-items: center; gap: 6px; margin-bottom: 4px; padding: 4px 8px; color: var(--ic-text); font-size: 13px; }
.ic-fback .ic-icon { width: 14px; height: 14px; }
.ic-fbox > .ic-flist__find { width: calc(100% - 24px); min-height: 36px; margin-bottom: 6px; padding-block: 6px; font-size: 13px; }
.ic-flist__more { margin: 4px 8px 0; padding: 0; border: 0; background: none; color: var(--ic-blue); font-size: 13px; font-weight: 600; cursor: pointer; }
.ic-price__row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ic-price__field span { display: block; margin-bottom: 4px; color: var(--ic-text); font-size: 12px; font-weight: 400; }
.ic-price__field input { min-height: 38px; padding-inline: 10px; }
.ic-price__go { width: 100%; min-height: 38px; margin-top: 10px; }
.ic-price__hint { margin: 8px 0 0; color: var(--ic-muted); font-size: 12px; }

.ic-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: 4px 0 16px; }
.ic-toolbar .woocommerce-result-count { flex: 1; margin: 0; font-size: 13px; }
.ic-toolbar__filters { display: none; min-height: 40px; padding-inline: 14px; }
.ic-toolbar__filters .ic-icon { width: 18px; height: 18px; }
.ic-toolbar__badge { min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--ic-blue); color: #fff; font-size: 11px; line-height: 20px; }
.ic-sort { margin: 0; }
.ic-sort__select { min-width: 220px; min-height: 40px; padding-block: 6px; font-size: 13px; }
.ic-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: -4px 0 18px; }
.ic-chip {
	display: inline-flex; align-items: center; gap: 6px; padding: 5px 8px 5px 12px; padding-inline: 12px 8px;
	border-radius: var(--ic-radius-pill); background: #fff; box-shadow: inset 0 0 0 1px var(--ic-line);
	color: var(--ic-title); font-size: 13px;
}
.ic-chip .ic-icon { width: 14px; height: 14px; color: var(--ic-muted); }
.ic-chip:hover { box-shadow: inset 0 0 0 1px var(--ic-red); color: var(--ic-red); }
.ic-chip:hover .ic-icon { color: var(--ic-red); }
.ic-chips__clear { color: var(--ic-blue); font-size: 13px; font-weight: 600; }
.ic-archive .woocommerce-info { margin-top: 10px; }
.woocommerce-notices-wrapper:empty { display: none; }

/* ---------- Product grid and cards ---------- */
ul.products {
	clear: both;
	display: grid;
	grid-template-columns: repeat(var(--ic-cols, 4), minmax(0, 1fr));
	gap: 20px;
	margin: 0;
	padding: 0;
	list-style: none;
}
ul.products.columns-5 { --ic-cols: 5; }
ul.products.columns-3 { --ic-cols: 3; }
ul.products li.product {
	position: relative;
	display: flex;
	flex-direction: column;
	padding: 14px 14px 16px;
	background: #fff;
	border-radius: var(--ic-radius);
	box-shadow: var(--ic-shadow);
}
.ic-card__media { position: relative; display: block; margin-bottom: 12px; }
.ic-card__media img, ul.products li.product img.ic-card__img {
	display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: contain;
}
.ic-labels { position: absolute; top: 0; inset-inline-start: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.ic-label {
	display: inline-block; padding: 3px 9px; border-radius: 3px;
	color: #fff; font-family: var(--ic-font-h); font-size: 11px; font-weight: 700; line-height: 1.3; text-transform: uppercase;
}
.ic-label--sale { background: var(--ic-gold); direction: ltr; unicode-bidi: isolate; } /* "-17%", not "17%-" */
.ic-label--hot { background: var(--ic-red); }
.ic-label--new { background: var(--ic-green); }
.ic-card__title { margin: 0 0 6px; font-size: 15px; font-weight: 500; line-height: 1.35; }
.ic-card__title a {
	display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden;
	color: var(--ic-title);
}
.ic-card__title a:hover { color: var(--ic-ink); opacity: .75; }
.ic-card__cats {
	display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden;
	margin: 0 0 8px; color: var(--ic-muted); font-size: 13px; line-height: 1.4;
}
ul.products li.product .star-rating { margin-bottom: 6px; }
.ic-stock { display: flex; align-items: center; gap: 6px; margin: 0 0 8px; font-size: 13px; }
.ic-stock .ic-icon { width: 14px; height: 14px; color: var(--ic-gold); }
.ic-stock--in { color: var(--ic-title); }
.ic-stock--out { color: var(--ic-red); }
ul.products li.product .price { display: block; margin: 0 0 14px; }
ul.products li.product .button { width: 100%; margin-top: auto; }
ul.products li.product .added_to_cart { display: block; margin-top: 8px; color: var(--ic-blue); font-size: 13px; text-align: center; }

/* Prices */
.price { color: var(--ic-gold-dark); font-family: var(--ic-font); font-size: 15px; font-weight: 600; }
.price del { margin-inline-end: 6px; color: var(--ic-muted); font-size: 13px; font-weight: 400; }
.price ins { text-decoration: none; }

/* Stars */
.star-rating { position: relative; display: inline-block; width: 5.4em; height: 1.1em; overflow: hidden; font-size: 13px; line-height: 1; }
.star-rating::before { content: "★★★★★"; position: absolute; inset: 0; color: #ddd; letter-spacing: .1em; }
.star-rating span { position: absolute; top: 0; inset-inline-start: 0; overflow: hidden; padding-top: 1.5em; height: 0; }
.star-rating span::before { content: "★★★★★"; position: absolute; top: 0; inset-inline-start: 0; color: var(--ic-gold); letter-spacing: .1em; }

/* ---------- Product page ---------- */
.ic-crumbrow { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.ic-crumbrow .ic-crumbs { margin: 0; }
.ic-pnav { display: flex; gap: 4px; flex: none; }
.ic-pnav__link { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; color: var(--ic-text); }
.ic-pnav__link:hover { background: #fff; color: var(--ic-ink); }
.ic-pnav__link .ic-icon { width: 17px; height: 17px; }

div.product {
	--ic-gap: clamp(20px, 3vw, 44px);
	display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: var(--ic-gap); align-items: start;
}
div.product > * { grid-column: 1 / -1; min-width: 0; }
div.product > .woocommerce-product-gallery { grid-column: 1; position: relative; margin: 0 0 var(--ic-gap); opacity: 1 !important; }
div.product > .summary { grid-column: 2; margin: 0 0 var(--ic-gap); }
.woocommerce-product-gallery__wrapper { margin: 0; }
.woocommerce-product-gallery .flex-viewport, .woocommerce-product-gallery > .woocommerce-product-gallery__wrapper {
	overflow: hidden; background: #fff; border-radius: var(--ic-radius);
}
.woocommerce-product-gallery__image img { display: block; width: 100%; height: auto; }
.woocommerce-product-gallery__trigger {
	position: absolute; top: 14px; inset-inline-end: 14px; z-index: 5;
	display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
	background: #fff; box-shadow: var(--ic-shadow-pop); font-size: 0;
}
.woocommerce-product-gallery__trigger::before {
	content: ""; width: 20px; height: 20px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23242424' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M16.5 16.5 21 21M11 8v6M8 11h6'/%3E%3C/svg%3E") center / contain no-repeat;
}
.woocommerce-product-gallery__trigger > *, .woocommerce-product-gallery__trigger img { display: none !important; }
.flex-control-thumbs {
	display: flex; gap: 10px; margin: 10px 0 0; padding: 0 0 6px; list-style: none;
	overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin;
}
.flex-control-thumbs li { flex: 0 0 calc((100% - 30px) / 4); overflow: hidden; background: #fff; border-radius: var(--ic-radius-s); cursor: pointer; scroll-snap-align: start; }
.flex-control-thumbs img { width: 100%; aspect-ratio: 1; object-fit: contain; opacity: .5; transition: opacity .15s; }
.flex-control-thumbs img.flex-active, .flex-control-thumbs img:hover { opacity: 1; }

.summary > * + * { margin-top: 0; }
.ic-brand { display: inline-block; margin-bottom: 8px; }
.ic-brand img { width: auto; max-width: 110px; height: auto; max-height: 34px; }
.product_title { margin: 0 0 12px; font-size: var(--wp--preset--font-size--large, 26px); }
.summary .woocommerce-product-rating { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; font-size: 13px; }
.woocommerce-product-details__short-description { margin-bottom: 16px; color: var(--ic-text); font-size: 14px; }
.woocommerce-product-details__short-description > *:first-child { margin-top: 0; }
.woocommerce-product-details__short-description ul { margin: 6px 0 0; padding-inline-start: 1.1em; }
.woocommerce-product-details__short-description li { margin-bottom: 3px; }
.woocommerce-product-details__short-description li::marker { color: var(--ic-muted); }
.ic-meta { margin: 0 0 12px; padding: 0; border: 0; color: var(--ic-text); font-size: 13px; }
.ic-meta .sku_wrapper { display: inline; color: var(--ic-ink); font-weight: 600; }
.ic-meta .sku { color: var(--ic-text); font-weight: 400; }
div.product .summary .price { display: block; margin: 0 0 14px; font-size: 26px; }
div.product .summary .price del { font-size: 17px; }
div.product .stock {
	display: inline-flex; align-items: center; gap: 7px; margin: 0 0 16px; padding: 5px 14px;
	border: 1px solid currentColor; border-radius: var(--ic-radius-s); font-size: 13px; font-weight: 600;
}
div.product .stock::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
div.product .stock.in-stock { color: var(--ic-green); }
div.product .stock.out-of-stock { color: var(--ic-red); }
div.product .stock.available-on-backorder { color: var(--ic-gold-dark); }

div.product form.cart { display: flex; flex-wrap: wrap; align-items: stretch; gap: 10px; margin: 0 0 18px; }
div.product form.cart.variations_form, div.product form.cart.grouped_form { display: block; }
.quantity { display: inline-flex; align-items: stretch; border: 1px solid var(--ic-line); border-radius: var(--ic-radius-s); background: #fff; }
.quantity .qty { width: 54px; min-height: 46px; padding: 0 4px; border: 0; text-align: center; -moz-appearance: textfield; appearance: textfield; }
.quantity .qty::-webkit-inner-spin-button, .quantity .qty::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.quantity .qty:focus { box-shadow: none; }
.ic-qty-btn { width: 36px; padding: 0; border: 0; background: none; color: var(--ic-ink); font-size: 18px; cursor: pointer; }
.ic-qty-btn:hover { color: var(--ic-blue); }
.quantity:has(input[type="hidden"]) { display: none; }
.single_add_to_cart_button, .ic-buynow { flex: 1 1 150px; min-height: 48px; font-size: 15px; }
.single_add_to_cart_button { background: var(--ic-blue); }
.woocommerce-variation-add-to-cart { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
table.variations { margin-bottom: 6px; }
table.variations th, table.variations td { display: block; padding: 0; text-align: start; }
table.variations th { margin-bottom: 6px; }
table.variations tr + tr th { margin-top: 12px; }
table.variations select { max-width: 360px; }
.reset_variations { display: inline-block; margin-top: 6px; font-size: 13px; }
.woocommerce-variation-price .price { font-size: 22px !important; }

/* Option swatches (inc/swatches.php) */
.ic-varfield.is-swatched select { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.ic-swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.ic-swatch {
	position: relative; display: inline-flex; flex-direction: column; align-items: center; gap: 4px;
	padding: 4px; border: 1.5px solid var(--ic-line); border-radius: var(--ic-radius-s); background: #fff;
	color: var(--ic-title); font-size: 12px; line-height: 1.2; cursor: pointer; transition: border-color .15s, box-shadow .15s;
}
.ic-swatch:hover { border-color: #bdbdbd; }
.ic-swatch[aria-checked="true"] { border-color: var(--ic-blue); box-shadow: 0 0 0 1px var(--ic-blue); }
.ic-swatch__img { display: block; width: 64px; height: 64px; object-fit: contain; border-radius: 3px; }
.ic-swatch__name { max-width: 64px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ic-swatch__text { padding: 7px 10px; font-size: 13px; font-weight: 600; }
.ic-swatches--text .ic-swatch { padding: 0; }
.ic-swatch.is-off { color: var(--ic-muted); cursor: not-allowed; }
.ic-swatch.is-off .ic-swatch__img { opacity: .4; }
.ic-swatch.is-off::after {
	content: ""; position: absolute; inset: 50% 6px auto; height: 1.5px; background: var(--ic-muted); transform: rotate(-20deg);
}
.ic-swatch[hidden] { display: none; }
.ic-varlabel__value { margin-inline-start: 6px; color: var(--ic-text); font-weight: 400; }

.ic-notice {
	display: flex; align-items: center; justify-content: space-between; gap: 14px;
	margin: 0 0 18px; padding: 14px 18px; border-inline-start: 4px solid var(--ic-green); border-radius: var(--ic-radius-s);
	background: var(--ic-green-soft); color: #2b6a2f;
}
a.ic-notice:hover { color: #1f5222; }
.ic-notice__body { display: flex; flex-direction: column; gap: 2px; }
.ic-notice__title { color: #2b6a2f; font-family: var(--ic-font-h); font-size: 15px; font-weight: 500; }
.ic-notice__text { font-size: 13px; }
.ic-notice .ic-icon { width: 28px; height: 28px; flex: none; color: #2b6a2f; }

.ic-share, .ic-payments { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; padding: 14px 0; border-top: 1px solid var(--ic-line); }
.ic-share__label, .ic-payments__label { color: var(--ic-ink); font-size: 14px; font-weight: 600; }
.ic-share__link { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; color: var(--ic-title); }
.ic-share__link .ic-icon { width: 16px; height: 16px; }
.ic-share__link:hover { background: var(--ic-blue-soft); color: var(--ic-blue); }
.ic-payments img { width: auto; height: 22px; }

/* Description | Specification */
.ic-pinfo { margin-bottom: 30px; }
.ic-pinfo__jump { display: flex; gap: 10px; margin-bottom: 14px; }
.ic-pinfo__jumplink { padding: 9px 20px; border-radius: var(--ic-radius-pill); background: #fff; box-shadow: var(--ic-shadow); color: var(--ic-ink); font-family: var(--ic-font-h); font-size: 14px; font-weight: 500; }
.ic-pinfo__jumplink:hover { background: var(--ic-ink); color: #fff; }
.ic-pinfo__grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.ic-pinfo__grid--one { grid-template-columns: minmax(0, 1fr); }
.ic-pinfo__desc, .ic-pinfo__specs, .ic-psection, .ic-viewed { padding: clamp(18px, 2.5vw, 30px); background: #fff; border-radius: var(--ic-radius); box-shadow: var(--ic-shadow); scroll-margin-top: calc(var(--ic-admin) + var(--ic-bar-h) + 16px); }
.ic-pinfo__specs { position: sticky; top: calc(var(--ic-admin) + var(--ic-bar-h) + 16px); }
.ic-pinfo__title { margin: 0 0 16px; font-size: 22px; }
.ic-pinfo__desc img { height: auto; border-radius: var(--ic-radius-s); }
.ic-pinfo__desc iframe { max-width: 100%; }
.ic-spec__title { display: flex; align-items: center; gap: 8px; margin: 18px 0 8px; font-size: 16px; }
.ic-spec__title:first-of-type { margin-top: 0; }
.ic-spec__title .ic-icon { width: 20px; height: 20px; color: var(--ic-blue); }
table.shop_attributes { margin: 0; }
table.shop_attributes th, table.shop_attributes td { padding: 10px 0; border-bottom: 1px solid var(--ic-line); text-align: start; vertical-align: top; font-size: 14px; }
table.shop_attributes th { width: 42%; padding-inline-end: 12px; color: var(--ic-ink); font-weight: 600; }
table.shop_attributes td { color: var(--ic-text); }
table.shop_attributes td p { margin: 0; }
table.shop_attributes td a { color: var(--ic-blue); }
table.shop_attributes tr:last-child th, table.shop_attributes tr:last-child td { border-bottom: 0; }

.ic-psection { margin-bottom: 30px; }
.related.products, .upsells.products { padding-top: 10px; margin-bottom: 30px; }
.related.products > h2, .upsells.products > h2 { font-size: 22px; }

/* Recently viewed */
.ic-viewed { margin-bottom: 30px; }
.ic-mini { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px 20px; margin: 0; padding: 0; list-style: none; }
.ic-mini__item { display: flex; align-items: center; gap: 12px; }
.ic-mini__img img { width: 64px; height: 64px; object-fit: contain; border-radius: var(--ic-radius-s); background: #fff; }
.ic-mini__title { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; color: var(--ic-title); font-size: 14px; line-height: 1.35; }
.ic-mini .price { display: block; margin-top: 2px; font-size: 14px; }

/* Reviews */
#reviews .commentlist { margin: 0 0 20px; padding: 0; list-style: none; }
#reviews .comment_container { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--ic-line); }
#reviews .avatar { width: 48px; height: 48px; border-radius: 50%; }
#reviews .comment-reply-title { display: block; margin-bottom: 10px; color: var(--ic-ink); font-family: var(--ic-font-h); font-size: 17px; }
.comment-form-rating .stars a { color: var(--ic-gold); }
.comment-form p { margin-bottom: 12px; }

/* ---------- Notices ---------- */
.woocommerce-message, .woocommerce-info, .woocommerce-error, .woocommerce-noreviews, p.no-comments {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px;
	margin: 0 0 20px; padding: 14px 18px; border-radius: var(--ic-radius-s);
	background: var(--ic-blue-soft); color: var(--ic-title); font-size: 14px; list-style: none;
}
.woocommerce-message { background: var(--ic-green-soft); }
.woocommerce-error { display: block; background: #fdeaea; color: #8b1c1c; }
.woocommerce-error li { margin: 2px 0; }
.woocommerce-message .button, .woocommerce-info .button { order: 2; min-height: 36px; }

/* ---------- Cart, checkout, account ---------- */
.ic-page--shop { padding-top: 22px; }
.ic-page--shop .ic-page__title { font-size: var(--wp--preset--font-size--large, 26px); }
.ic-page--shop .ic-content > .woocommerce { color: var(--ic-text); }
.ic-card, table.shop_table, .cart_totals, #customer_details, #order_review_heading, #order_review,
.woocommerce-MyAccount-navigation, .woocommerce-MyAccount-content, .woocommerce-order, .cart-empty-box {
	background: #fff; border-radius: var(--ic-radius); box-shadow: var(--ic-shadow);
}

/* Fields */
.form-row { margin: 0 0 14px; }
.form-row label { display: block; margin-bottom: 6px; font-size: 13px; }
.form-row .required { color: var(--ic-red); text-decoration: none; }
.form-row .optional { color: var(--ic-muted); font-weight: 400; }
.form-row-first, .form-row-last { display: inline-block; width: calc(50% - 7px); vertical-align: top; }
.form-row-last { margin-inline-start: 10px; }
.form-row.woocommerce-invalid input.input-text, .form-row.woocommerce-invalid select, .form-row.woocommerce-invalid .select2-selection { border-color: var(--ic-red); }
.form-row.woocommerce-validated input.input-text { border-color: #b9dcb7; }
.woocommerce-input-wrapper { display: block; }
.woocommerce-form__label-for-checkbox { display: inline-flex !important; align-items: flex-start; gap: 8px; font-weight: 400 !important; cursor: pointer; }
.woocommerce-form__label-for-checkbox input { margin-top: 3px; accent-color: var(--ic-blue); }
input[type="radio"] { accent-color: var(--ic-blue); }
.select2-container { width: 100% !important; }
.select2-container .select2-selection--single {
	height: 42px; border: 1px solid var(--ic-line); border-radius: var(--ic-radius-s); background: #fff;
}
.select2-container .select2-selection--single .select2-selection__rendered { padding-inline: 14px 34px; color: var(--ic-title); font-size: 14px; line-height: 40px; }
.select2-container .select2-selection--single .select2-selection__arrow { top: 8px; inset-inline-end: 8px; height: 26px; }
.select2-container--focus .select2-selection--single, .select2-container--open .select2-selection--single { border-color: var(--ic-blue); }
.select2-dropdown { border-color: var(--ic-line); border-radius: var(--ic-radius-s); box-shadow: var(--ic-shadow-pop); overflow: hidden; }
.select2-search--dropdown .select2-search__field { min-height: 36px; border-radius: var(--ic-radius-s); }
.select2-results__option { padding: 8px 12px; font-size: 14px; }
.select2-container--default .select2-results__option--highlighted[aria-selected], .select2-container--default .select2-results__option--highlighted[data-selected] { background: var(--ic-blue); }

/* Cart */
.woocommerce-cart .ic-content > .woocommerce {
	display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 0 30px; align-items: start;
}
.woocommerce-cart .ic-content > .woocommerce > .woocommerce-notices-wrapper:not(:empty) { margin-bottom: 20px; }
.woocommerce-cart .cart-collaterals .cross-sells { margin-top: 30px; }
.woocommerce-cart .ic-content > .woocommerce > * { grid-column: 1; min-width: 0; }
.woocommerce-cart .ic-content > .woocommerce > .woocommerce-notices-wrapper { grid-column: 1 / -1; grid-row: 1; }
.woocommerce-cart .ic-content > .woocommerce > .woocommerce-cart-form { grid-row: 2; }
.woocommerce-cart .cart-collaterals .cross-sells { grid-row: 3; }
.woocommerce-cart .cart-collaterals { display: contents; }
.woocommerce-cart .cart-collaterals .cart_totals {
	grid-column: 2; grid-row: 2 / span 2; position: sticky; top: calc(var(--ic-admin) + var(--ic-bar-h) + 16px);
	padding: 22px; margin: 0;
}
.woocommerce-cart .cart-collaterals .cross-sells { grid-column: 1; }
.woocommerce-cart .cart-collaterals .cross-sells > h2 { font-size: 20px; }
.woocommerce-cart .cart-collaterals ul.products { --ic-cols: 3; }
table.shop_table { margin: 0; overflow: hidden; font-size: 14px; }
table.shop_table th, table.shop_table td { padding: 14px 16px; border-bottom: 1px solid var(--ic-line); text-align: start; vertical-align: middle; }
table.shop_table thead th { color: var(--ic-muted); font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
table.shop_table tr:last-child > td { border-bottom: 0; }
table.cart td.product-thumbnail { width: 88px; }
table.cart img { width: 72px; height: 72px; object-fit: contain; }
table.cart td.product-name a { color: var(--ic-title); font-weight: 600; }
table.cart td.product-name a:hover { color: var(--ic-blue); }
table.cart td.product-name dl.variation { display: flex; flex-wrap: wrap; gap: 0 6px; margin: 4px 0 0; color: var(--ic-text); font-size: 13px; }
table.cart td.product-name dl.variation dt, table.cart td.product-name dl.variation dd, table.cart td.product-name dl.variation p { margin: 0; }
table.cart td.product-price, table.cart td.product-subtotal { white-space: nowrap; }
table.cart td.product-subtotal { color: var(--ic-ink); font-weight: 600; }
table.cart td.product-remove { width: 44px; padding-inline-end: 0; }
.product-remove a.remove {
	display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
	background: #f1f1f1; color: var(--ic-ink) !important; font-size: 18px; line-height: 1; text-decoration: none;
}
.product-remove a.remove:hover { background: #fdeaea; color: var(--ic-red) !important; }
table.cart td.actions { padding: 14px 16px; background: #fcfcfc; }
.actions .coupon { display: inline-flex; gap: 8px; }
.actions .coupon label { display: none; }
.actions .coupon input { width: 200px; min-height: 40px; }
.actions .coupon .button { min-height: 40px; background: var(--ic-ink); }
.actions > .button { float: inline-end; min-height: 40px; }
.ic-autoupdate .actions > button[name="update_cart"] { display: none; }
.cart_totals > h2 { margin: 0 0 12px; font-size: 20px; }
.cart_totals table.shop_table { box-shadow: none; border-radius: 0; }
.cart_totals table.shop_table th, .cart_totals table.shop_table td { padding: 12px 0; }
.cart_totals table.shop_table th { width: 40%; color: var(--ic-text); font-weight: 400; }
.cart_totals .order-total th, .cart_totals .order-total td { color: var(--ic-ink); font-size: 17px; font-weight: 700; }
.woocommerce-shipping-methods { margin: 0; padding: 0; list-style: none; }
.woocommerce-shipping-methods li { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.woocommerce-shipping-destination, .shipping-calculator-button { font-size: 13px; }
.shipping-calculator-form { margin-top: 10px; }
.wc-proceed-to-checkout { padding-top: 14px; }
.wc-proceed-to-checkout .checkout-button { width: 100%; min-height: 52px; background: var(--ic-gold); font-size: 16px; }
.wc-proceed-to-checkout .checkout-button:hover { background: var(--ic-gold-dark); }
.cart-empty.woocommerce-info { justify-content: center; padding: 30px 20px; background: #fff; box-shadow: var(--ic-shadow); font-size: 16px; text-align: center; }
.woocommerce-cart .return-to-shop { text-align: center; }
.woocommerce-cart .return-to-shop .button { background: var(--ic-gold); }

/* Checkout */
.woocommerce-checkout .ic-content > .woocommerce > .woocommerce-form-coupon-toggle,
.woocommerce-checkout .ic-content > .woocommerce > .woocommerce-form-login-toggle { margin-bottom: 12px; }
.woocommerce-form-coupon-toggle .woocommerce-info, .woocommerce-form-login-toggle .woocommerce-info { margin: 0; justify-content: flex-start; }
.woocommerce-form-coupon-toggle .woocommerce-info a, .woocommerce-form-login-toggle .woocommerce-info a { color: var(--ic-blue); font-weight: 600; }
form.checkout_coupon, .woocommerce-checkout form.woocommerce-form-login { margin: 0 0 20px; padding: 18px 20px; background: #fff; border-radius: var(--ic-radius); box-shadow: var(--ic-shadow); }
form.checkout_coupon { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px; }
form.checkout_coupon p { margin: 0; }
form.checkout_coupon .form-row-first { flex: 1 1 220px; width: auto; }
form.checkout_coupon .form-row-last { width: auto; margin: 0; }
form.checkout_coupon .clear { display: none; }
form.checkout {
	display: grid; grid-template-columns: minmax(0, 1fr) 420px; grid-template-rows: auto 1fr; column-gap: 30px; align-items: start;
}
form.checkout > * { grid-column: 1; min-width: 0; }
form.checkout > .woocommerce-NoticeGroup { grid-column: 1 / -1; margin-bottom: 16px; }
#customer_details { grid-row: 1 / span 2; padding: clamp(18px, 2.5vw, 28px); }
#customer_details .col-1, #customer_details .col-2 { float: none; width: auto; }
#customer_details h3 { margin: 0 0 16px; font-size: 19px; }
#customer_details .col-2 { margin-top: 10px; padding-top: 18px; border-top: 1px solid var(--ic-line); }
#ship-to-different-address { margin: 0 0 14px; font-size: 15px; }
#ship-to-different-address label { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; cursor: pointer; }
#order_review_heading, #order_review { grid-column: 2; }
#order_review_heading { grid-row: 1; margin: 0; padding: 22px 22px 6px; border-radius: var(--ic-radius) var(--ic-radius) 0 0; box-shadow: none; font-size: 19px; }
#order_review { grid-row: 2; padding: 0 22px 22px; border-radius: 0 0 var(--ic-radius) var(--ic-radius); box-shadow: none; }
#order_review table.shop_table { box-shadow: none; border-radius: 0; }
#order_review table.shop_table th, #order_review table.shop_table td { padding: 11px 0; }
#order_review .product-name { color: var(--ic-title); }
#order_review .product-quantity { color: var(--ic-muted); font-weight: 400; }
#order_review td.product-total, #order_review tfoot td { text-align: end; white-space: nowrap; }
#order_review tfoot th { color: var(--ic-text); font-weight: 400; }
#order_review tfoot .order-total th, #order_review tfoot .order-total td { color: var(--ic-ink); font-size: 17px; font-weight: 700; }
#order_review .woocommerce-shipping-methods li { justify-content: flex-end; }
#payment { margin-top: 16px; }
#payment ul.payment_methods { margin: 0 0 16px; padding: 0; list-style: none; border: 1px solid var(--ic-line); border-radius: var(--ic-radius-s); }
#payment li.wc_payment_method { padding: 12px 14px; border-bottom: 1px solid var(--ic-line); }
#payment li.wc_payment_method:last-child { border-bottom: 0; }
#payment li.wc_payment_method > label { display: inline-flex; align-items: center; gap: 8px; margin-inline-start: 6px; color: var(--ic-ink); font-size: 14px; cursor: pointer; }
#payment li.wc_payment_method > label img { width: auto; max-height: 24px; }
#payment .payment_box { margin-top: 8px; padding: 10px 12px; border-radius: var(--ic-radius-s); background: var(--ic-page); color: var(--ic-text); font-size: 13px; }
#payment .payment_box p:last-child { margin: 0; }
#payment .woocommerce-privacy-policy-text { font-size: 12px; }
#payment .woocommerce-terms-and-conditions-wrapper { margin-bottom: 14px; font-size: 13px; }
#place_order { width: 100%; min-height: 54px; background: var(--ic-gold); font-size: 16px; }
#place_order:hover { background: var(--ic-gold-dark); }
.woocommerce-checkout .blockUI.blockOverlay { border-radius: var(--ic-radius); }

/* Order received */
.woocommerce-order { padding: clamp(18px, 3vw, 32px); }
.woocommerce-thankyou-order-received { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; padding: 14px 18px; border-radius: var(--ic-radius-s); background: var(--ic-green-soft); color: #2b6a2f; font-family: var(--ic-font-h); font-size: 17px; }
ul.woocommerce-order-overview { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; margin: 0 0 26px; padding: 0; list-style: none; }
ul.woocommerce-order-overview li { padding: 12px 14px; border: 1px solid var(--ic-line); border-radius: var(--ic-radius-s); color: var(--ic-text); font-size: 12px; text-transform: uppercase; letter-spacing: .03em; }
ul.woocommerce-order-overview li strong { display: block; margin-top: 4px; color: var(--ic-ink); font-size: 15px; letter-spacing: 0; text-transform: none; }
.woocommerce-order-details, .woocommerce-customer-details { margin-top: 24px; }
.woocommerce-order-details__title, .woocommerce-column__title { font-size: 19px; }
.woocommerce-order-details table.shop_table, .woocommerce-customer-details address { box-shadow: none; border: 1px solid var(--ic-line); }
.woocommerce-customer-details address { padding: 16px; border-radius: var(--ic-radius-s); font-style: normal; line-height: 1.7; }
.woocommerce-columns--addresses { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.woocommerce-columns--addresses .woocommerce-column { float: none; width: auto; }
.woocommerce-bacs-bank-details { margin-top: 20px; }

/* My account */
.woocommerce-account .ic-content > .woocommerce { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 30px; align-items: start; }
.woocommerce-account .ic-content > .woocommerce > .woocommerce-notices-wrapper { grid-column: 1 / -1; }
.woocommerce-MyAccount-navigation { padding: 10px; position: sticky; top: calc(var(--ic-admin) + var(--ic-bar-h) + 16px); }
.woocommerce-MyAccount-navigation ul { margin: 0; padding: 0; list-style: none; }
.woocommerce-MyAccount-navigation a { display: block; padding: 10px 14px; border-radius: var(--ic-radius-s); color: var(--ic-title); font-size: 14px; }
.woocommerce-MyAccount-navigation .is-active a, .woocommerce-MyAccount-navigation a:hover { background: var(--ic-blue-soft); color: var(--ic-blue); }
.woocommerce-MyAccount-navigation-link--customer-logout a { color: var(--ic-red); }
.woocommerce-MyAccount-content { padding: clamp(18px, 3vw, 30px); }
.woocommerce-MyAccount-content > p:first-child { margin-top: 0; }
.woocommerce-MyAccount-content mark { padding: 0 4px; border-radius: 3px; background: var(--ic-cream); color: var(--ic-ink); }
.woocommerce-MyAccount-content table.shop_table { box-shadow: none; border: 1px solid var(--ic-line); }
.woocommerce-orders-table .button, .woocommerce-MyAccount-content .button { min-height: 34px; padding: 6px 14px; font-size: 13px; }
.woocommerce-Addresses { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.woocommerce-Addresses .woocommerce-Address { float: none; width: auto; padding: 16px; border: 1px solid var(--ic-line); border-radius: var(--ic-radius-s); }
.woocommerce-Address-title { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.woocommerce-Address-title h2 { margin: 0; font-size: 17px; }
.woocommerce-Address address { font-style: normal; line-height: 1.7; }
.woocommerce-EditAccountForm fieldset { margin: 20px 0; padding: 16px; border: 1px solid var(--ic-line); border-radius: var(--ic-radius-s); }
.woocommerce-EditAccountForm legend { padding: 0 6px; color: var(--ic-ink); font-weight: 600; }
.woocommerce-account:not(.logged-in) .ic-content > .woocommerce { display: block; }
#customer_login { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
#customer_login .u-column1, #customer_login .u-column2 { float: none; width: auto; padding: clamp(18px, 3vw, 28px); background: #fff; border-radius: var(--ic-radius); box-shadow: var(--ic-shadow); }
#customer_login h2 { margin-top: 0; font-size: 20px; }
.woocommerce-account:not(.logged-in) .ic-content > .woocommerce > form.woocommerce-form-login { max-width: 480px; }
.woocommerce-form-login__rememberme { margin-bottom: 12px; }
.woocommerce-form-login__submit, .woocommerce-form-register__submit { width: 100%; min-height: 46px; }
.lost_password { margin: 12px 0 0; font-size: 13px; }
.woocommerce-password-strength { margin-top: 6px; padding: 6px 10px; border-radius: var(--ic-radius-s); font-size: 13px; }
.woocommerce-password-strength.strong { background: var(--ic-green-soft); }
.woocommerce-password-strength.short, .woocommerce-password-strength.bad { background: #fdeaea; }
.woocommerce-password-strength.good { background: var(--ic-cream); }
.show-password-input { display: none; }

/* ---------- Tablets and phones ---------- */
@media (max-width: 1280px) and (min-width: 1025px) {
	.ic-archive ul.products { --ic-cols: 3; }
}
@media (max-width: 1100px) {
	ul.products, ul.products.columns-5 { --ic-cols: 3; }
}
@media (max-width: 1024px) {
	.ic-archive { display: block; }
	.ic-toolbar__filters { display: inline-flex; }
	.ic-filters {
		position: fixed; top: 0; bottom: 0; inset-inline-start: 0; z-index: 100010; /* above the admin bar */
		display: flex; flex-direction: column; width: min(360px, 90vw); max-height: none; overflow: hidden;
		background: var(--ic-page); transform: translateX(-100%); transition: transform .25s ease; visibility: hidden;
	}
	.icam-rtl .ic-filters { transform: translateX(100%); }
	.ic-archive.is-filtering .ic-filters { transform: none; visibility: visible; }
	.ic-archive.is-filtering .ic-filters__scrim { display: block !important; position: fixed; inset: 0; z-index: 100005; background: rgba(0, 0, 0, .45); }
	.ic-filters__head { display: flex; align-items: center; justify-content: space-between; padding: 8px 8px 8px 18px; padding-inline: 18px 8px; background: #fff; border-bottom: 1px solid var(--ic-line); }
	.ic-filters__heading { margin: 0; color: var(--ic-ink); font-family: var(--ic-font-h); font-size: 18px; font-weight: 500; }
	.ic-filters__body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 12px; }
	.ic-filters__foot { display: block; padding: 12px; background: #fff; border-top: 1px solid var(--ic-line); }
	.ic-filters__show { width: 100%; min-height: 48px; }
}
@media (max-width: 900px) {
	div.product { display: block; }
	.ic-pinfo__grid { grid-template-columns: minmax(0, 1fr); }
	.ic-pinfo__specs { position: static; }
	form.checkout { display: block; }
	#customer_details { margin-bottom: 20px; }
	#order_review_heading { border-radius: var(--ic-radius) var(--ic-radius) 0 0; }
	.woocommerce-cart .ic-content > .woocommerce { display: block; }
	.woocommerce-cart .cart-collaterals { display: block; margin-top: 20px; }
	.woocommerce-cart .cart-collaterals .cart_totals { position: static; }
	.woocommerce-cart .cart-collaterals .cross-sells { margin-top: 24px; }
	.woocommerce-account .ic-content > .woocommerce { grid-template-columns: 1fr; }
	.woocommerce-MyAccount-navigation { position: static; }
	.woocommerce-MyAccount-navigation ul { display: flex; flex-wrap: wrap; gap: 4px; }
}
@media (max-width: 767px) {
	ul.products, ul.products.columns-5, ul.products.columns-3 { --ic-cols: 2; gap: 10px; }
	ul.products li.product { padding: 10px 10px 12px; }
	.ic-card__title { font-size: 14px; }
	.ic-card__cats { display: none; }
	ul.products li.product .button { min-height: 38px; padding-inline: 8px; font-size: 13px; }
	.ic-toolbar .woocommerce-result-count { order: 3; flex-basis: 100%; }
	.ic-toolbar__filters { flex: 1; }
	.ic-sort { flex: 1; }
	.ic-sort__select { width: 100%; min-width: 0; }
	.flex-control-thumbs li { flex-basis: calc((100% - 30px) / 4.5); }
	.ic-swatch__img { width: 50px; height: 50px; }
	.ic-swatch__name { max-width: 50px; }
	.ic-pnav { display: none; }
	.ic-pinfo__jump { position: sticky; top: calc(var(--ic-admin) + 112px); z-index: 5; }
	.form-row-first, .form-row-last { display: block; width: 100%; margin-inline-start: 0; }
	table.shop_table_responsive thead { display: none; }
	table.shop_table_responsive tbody th { display: none; }
	.cart_totals table.shop_table_responsive tr td { padding-inline: 0; }
	.cart_totals table.shop_table_responsive tr.woocommerce-shipping-totals td { display: block; text-align: start; }
	.cart_totals table.shop_table_responsive tr.woocommerce-shipping-totals td::before { display: block; margin-bottom: 6px; }
	.cart_totals .woocommerce-shipping-methods li { justify-content: flex-start; }
	table.shop_table_responsive tr td { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 8px 14px; border: 0; text-align: end; }
	table.shop_table_responsive tr td::before { content: attr(data-title); color: var(--ic-ink); font-weight: 600; }
	table.shop_table_responsive tr td.product-remove::before, table.shop_table_responsive tr td.product-thumbnail::before, table.shop_table_responsive tr td.actions::before { content: none; }
	/* Cart rows on phones: photo and name side by side, then price, quantity and subtotal. */
	table.cart tr.cart_item { position: relative; display: grid; grid-template-columns: 76px minmax(0, 1fr); padding: 12px 0; border-bottom: 1px solid var(--ic-line); }
	table.cart tr.cart_item td { grid-column: 2; }
	table.cart tr.cart_item td.product-thumbnail { display: block; grid-column: 1; grid-row: 1 / span 4; width: auto; padding-inline-end: 0; }
	table.cart tr.cart_item td.product-thumbnail img { width: 64px; height: 64px; }
	table.cart tr.cart_item td.product-name { display: block; padding-inline-end: 44px; text-align: start; }
	table.cart tr.cart_item td.product-name::before { content: none; }
	table.cart tr.cart_item td.product-remove { position: absolute; top: 10px; inset-inline-end: 8px; width: auto; padding: 0; }
	table.cart td.actions { display: block; }
	.actions .coupon { display: flex; flex-wrap: wrap; width: 100%; }
	.actions .coupon input { flex: 1; width: auto; }
	.actions > .button { float: none; width: 100%; margin-top: 8px; }
	#order_review_heading { padding: 18px 16px 6px; }
	#order_review { padding: 0 16px 16px; }
}

/* ---------- Side panels (the header cart and account open them) ---------- */
.ic-side { position: fixed; inset: 0; z-index: 100010; } /* above the admin bar */
.ic-side__body { display: flex; flex: 1; flex-direction: column; min-height: 0; }
.ic-side__scrim { position: absolute; inset: 0; background: rgba(0, 0, 0, .45); opacity: 0; transition: opacity .25s ease; }
.ic-side__panel {
	position: absolute; top: 0; bottom: 0; inset-inline-end: 0; display: flex; flex-direction: column; width: min(400px, 92vw);
	background: #fff; box-shadow: var(--ic-shadow-pop); outline: 0; transform: translateX(100%); transition: transform .25s ease;
}
.icam-rtl .ic-side__panel { transform: translateX(-100%); }
.ic-side.is-open .ic-side__scrim { opacity: 1; }
.ic-side.is-open .ic-side__panel { transform: none; }
.ic-side__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 20px; border-bottom: 1px solid var(--ic-line); }
.ic-side__title { margin: 0; font-size: 18px; }
.ic-side--cart .widget_shopping_cart_content { display: flex; flex: 1; flex-direction: column; min-height: 0; }
.ic-side--cart .woocommerce-mini-cart { flex: 1; overflow-y: auto; margin: 0; padding: 4px 20px; list-style: none; overscroll-behavior: contain; }
.ic-side--cart .woocommerce-mini-cart-item { position: relative; min-height: 92px; padding: 14px 0; padding-inline: 76px 30px; border-bottom: 1px solid var(--ic-line); }
.ic-side--cart .woocommerce-mini-cart-item:last-child { border-bottom: 0; }
.ic-side--cart .woocommerce-mini-cart-item img { position: absolute; top: 14px; inset-inline-start: 0; width: 64px; height: 64px; object-fit: contain; border-radius: var(--ic-radius-s); background: #fff; }
.ic-side--cart .woocommerce-mini-cart-item > a:not(.remove) { display: block; color: var(--ic-title); font-size: 14px; line-height: 1.4; }
.ic-side--cart .woocommerce-mini-cart-item > a:not(.remove):hover { color: var(--ic-blue); }
.ic-side--cart .woocommerce-mini-cart-item .quantity { display: block; margin-top: 4px; border: 0; border-radius: 0; background: none; color: var(--ic-text); font-size: 13px; } /* "1 × price", not the quantity box */
.ic-side--cart .woocommerce-mini-cart-item .quantity .amount { color: var(--ic-gold-dark); font-weight: 600; }
.ic-side--cart .woocommerce-mini-cart-item .variation { margin: 4px 0 0; color: var(--ic-text); font-size: 12px; }
.ic-side--cart .woocommerce-mini-cart-item .variation dt, .ic-side--cart .woocommerce-mini-cart-item .variation dd { display: inline; margin: 0; }
.ic-side--cart .woocommerce-mini-cart-item .variation dd p { display: inline; margin: 0; }
.ic-side--cart .remove {
	position: absolute; top: 14px; inset-inline-end: 0; display: grid; place-items: center; width: 24px; height: 24px;
	border-radius: 50%; background: #f1f1f1; color: var(--ic-title); font-size: 16px; line-height: 1;
}
.ic-side--cart .remove:hover { background: var(--ic-red); color: #fff; }
.ic-side--cart .woocommerce-mini-cart__total { display: flex; justify-content: space-between; gap: 12px; margin: 0; padding: 16px 20px; border-top: 1px solid var(--ic-line); color: var(--ic-ink); font-size: 16px; }
.ic-side--cart .woocommerce-mini-cart__total .amount { color: var(--ic-ink); font-weight: 700; }
.ic-side--cart .woocommerce-mini-cart__buttons { display: grid; gap: 8px; margin: 0; padding: 0 20px 20px; }
.ic-side--cart .woocommerce-mini-cart__buttons .button { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 46px; margin: 0; }
.ic-side--cart .woocommerce-mini-cart__buttons .button:not(.checkout) { background: #f1f1f1; color: var(--ic-title); }
.ic-side--cart .woocommerce-mini-cart__buttons .button:not(.checkout):hover { background: #e7e7e7; color: var(--ic-ink); }
.ic-side--cart .woocommerce-mini-cart__empty-message { margin: 0; padding: 48px 20px; color: var(--ic-text); text-align: center; }
.ic-side--cart .blockUI.blockOverlay { background: rgba(255, 255, 255, .6) !important; }
.ic-side--account .ic-side__body { overflow-y: auto; padding: 20px; overscroll-behavior: contain; }
.ic-acct__form .form-row { margin: 0 0 14px; }
.ic-acct__form label { display: block; margin-bottom: 6px; color: var(--ic-title); font-size: 14px; }
.ic-acct__form .input-text { width: 100%; }
.ic-acct__form .woocommerce-form-login__rememberme { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.ic-acct__form .woocommerce-form-login__submit { width: 100%; min-height: 46px; }
.ic-acct__links { margin: 0; font-size: 13px; text-align: center; }
.ic-acct__links a { color: var(--ic-blue); }
.ic-acct__new { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--ic-line); text-align: center; }
.ic-acct__new p { margin: 0 0 10px; color: var(--ic-text); font-size: 14px; }
.ic-acct__new .ic-btn { width: 100%; min-height: 46px; }
.ic-acct__hello { margin: 0 0 12px; color: var(--ic-ink); font-family: var(--ic-font-h); font-size: 16px; }
.ic-acct__menu { margin: 0; padding: 0; list-style: none; }
.ic-acct__menu a { display: block; padding: 12px 0; border-bottom: 1px solid var(--ic-line); color: var(--ic-title); font-size: 15px; }
.ic-acct__menu a:hover { color: var(--ic-blue); }
.ic-acct__item--customer-logout a { border-bottom: 0; color: var(--ic-red); }

/* ---------- Camera finder (picture tiles above the list on the cameras pages) ---------- */
.ic-finder { margin-bottom: 20px; padding: 18px 20px 20px; background: #fff; border-radius: var(--ic-radius); box-shadow: var(--ic-shadow); }
.ic-finder__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.ic-finder__title { margin: 0; font-size: 18px; }
.ic-finder__clear { color: var(--ic-blue); font-size: 13px; font-weight: 600; text-decoration: underline; }
.ic-finder__groups { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 18px 28px; }
.ic-finder__label { margin: 0 0 8px; color: var(--ic-ink); font-family: var(--ic-font-h); font-size: 13px; font-weight: 600; }
.ic-finder__opts { display: flex; flex-wrap: wrap; gap: 8px; }
.ic-fopt {
	position: relative; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
	min-width: 86px; padding: 10px 10px 8px; border: 1px solid var(--ic-line); border-radius: var(--ic-radius-s);
	background: #fff; color: var(--ic-title); text-align: center; transition: border-color .15s ease, background .15s ease;
}
.ic-fopt:hover { border-color: var(--ic-blue); color: var(--ic-ink); }
.ic-fopt__icon { display: inline-flex; color: var(--ic-title); }
.ic-fopt__icon svg { width: 48px; height: 36px; }
.ic-fopt__name { font-size: 13px; font-weight: 600; line-height: 1.2; unicode-bidi: plaintext; } /* "1-inch and smaller" reads right on Arabic pages */
.ic-fopt__count { color: var(--ic-muted); font-size: 11px; line-height: 1; }
.ic-fopt--text { flex-direction: row; gap: 6px; min-width: 0; padding: 8px 12px; }
.ic-fopt[aria-checked="true"] { border-color: var(--ic-blue); background: var(--ic-blue-soft); box-shadow: inset 0 0 0 1px var(--ic-blue); }
.ic-fopt[aria-checked="true"] .ic-fopt__icon { color: var(--ic-blue); }
.ic-fopt[aria-checked="true"]::after {
	content: ""; position: absolute; top: 5px; inset-inline-end: 5px; width: 14px; height: 14px; border-radius: 50%;
	background: var(--ic-blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4L18 8'/%3E%3C/svg%3E") center / 10px no-repeat;
}
.ic-stock--soon { color: var(--ic-gold-dark); font-weight: 600; }
@media (max-width: 767px) {
	.ic-finder { padding: 14px 14px 16px; }
	/* One row per group, sliding sideways */
	.ic-finder__opts { flex-wrap: nowrap; overflow-x: auto; margin-inline: -14px; padding-inline: 14px; scrollbar-width: none; }
	.ic-finder__opts::-webkit-scrollbar { display: none; }
	.ic-fopt { flex: none; min-width: 80px; }
}
