/* Shop, category and product page styles. Tokens come from tokens.css. */

/* ---------- Shared bits ---------- */
.screen-reader-text:not(:focus) {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}
.cc-eyebrow {
	margin: 0 0 8px;
	font-size: var(--cc-text-xs);
	font-weight: 500;
	letter-spacing: var(--cc-tracking-label);
	text-transform: uppercase;
	color: var(--cc-muted);
}
.cc-eyebrow a { color: inherit; text-decoration: none; }
.cc-eyebrow a:hover { color: var(--cc-ink); }
.cc-from { color: var(--cc-muted); font-weight: 400; }
.woocommerce-Price-amount,
.wc-block-components-product-price { font-variant-numeric: tabular-nums; }

/* ---------- Shop and category pages ---------- */
.cc-shop__head { margin-bottom: 40px; text-align: center; }
.cc-shop__title {
	margin: 0 0 24px !important;
	font-size: var(--cc-text-2xl) !important;
	font-weight: 650;
	letter-spacing: -0.035em;
	line-height: 1.05;
}
.cc-shop__head .cc-finder__search { margin-bottom: 20px; }

.cc-tabs ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.cc-tabs a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: var(--cc-tap);
	padding: 0 18px;
	border: 1.5px solid var(--cc-line);
	border-radius: 999px;
	background: var(--cc-white);
	font-size: var(--cc-text-sm);
	font-weight: 500;
	color: var(--cc-ink);
	text-decoration: none;
	white-space: nowrap;
	transition: border-color var(--cc-fast) var(--cc-ease), background var(--cc-fast) var(--cc-ease), color var(--cc-fast) var(--cc-ease);
}
.cc-tabs a:hover { border-color: var(--cc-ink); }
.cc-tabs a[aria-current="page"] { background: var(--cc-ink); border-color: var(--cc-ink); color: var(--cc-white); }
.cc-tabs__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--fill); }
.cc-tabs a[aria-current="page"] .cc-tabs__dot { box-shadow: 0 0 0 2px var(--cc-ink), 0 0 0 3px rgba(255, 255, 255, 0.6); }

.cc-shop__bar {
	margin-bottom: 24px;
	font: 500 13px/1.4 var(--cc-mono);
	color: var(--cc-muted);
	align-items: center;
}
.cc-shop__bar p,
.cc-shop__bar form { margin: 0; }
.cc-shop__bar select {
	min-height: var(--cc-tap);
	padding: 0 36px 0 14px;
	border: 1.5px solid var(--cc-line);
	border-radius: 999px;
	background-color: var(--cc-white);
	font: 500 0.875rem var(--cc-font);
	color: var(--cc-ink);
}

/* Product grid: 2 columns on phones, up to 4 on desktop */
.cc-grid .wc-block-product-template {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 28px 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}
@media (min-width: 768px) {
	.cc-grid .wc-block-product-template { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 20px; }
}
@media (min-width: 1100px) {
	.cc-grid .wc-block-product-template { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.cc-grid .wc-block-product {
	position: relative;
	width: auto !important;
	margin: 0 !important;
	text-align: left;
}
.cc-grid .wc-block-product:has(.cc-cat-pep) { --soft: var(--cc-pep-soft); --fill: var(--cc-pep); --text: var(--cc-pep-text); }
.cc-grid .wc-block-product:has(.cc-cat-blend) { --soft: var(--cc-blend-soft); --fill: var(--cc-blend); --text: var(--cc-blend-text); }
.cc-grid .wc-block-product:has(.cc-cat-sup) { --soft: var(--cc-sup-soft); --fill: var(--cc-sup); --text: var(--cc-sup-text); }

.cc-card__media { margin: 0 0 14px !important; }
.cc-card__media a {
	display: block;
	overflow: hidden;
	border: 1px solid var(--cc-line);
	border-radius: var(--cc-radius);
	background: var(--cc-white);
	transition: border-color var(--cc-medium) var(--cc-ease), box-shadow var(--cc-medium) var(--cc-ease);
}
.cc-grid .wc-block-product:hover .cc-card__media a { border-color: var(--fill, var(--cc-ink)); box-shadow: 0 22px 40px -26px rgba(14, 15, 16, 0.4); }
/* Real product photos, once uploaded */
.cc-card__media img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	transition: transform var(--cc-medium) var(--cc-ease);
}
.cc-grid .wc-block-product:hover .cc-card__media img { transform: scale(1.02); }
/* Branded vial art (no photo yet) */
.cc-media {
	position: relative;
	display: grid;
	place-items: center;
	aspect-ratio: 4 / 5;
	padding: 10px;
}
.cc-media::before {
	content: "";
	position: absolute;
	inset: 10px;
	border-radius: calc(var(--cc-radius) - 8px);
	background: var(--soft);
}
.cc-media__vial { position: relative; display: block; width: 38%; filter: drop-shadow(0 18px 22px rgba(14, 15, 16, 0.18)); transition: transform var(--cc-medium) var(--cc-ease); }
.cc-media__vial svg { display: block; width: 100%; height: auto; }
.cc-grid .wc-block-product:hover .cc-media__vial { transform: translateY(-6px) rotate(-2deg); }
.cc-media__tag {
	position: absolute;
	top: 18px;
	left: 18px;
	z-index: 1;
	padding: 5px 9px;
	border-radius: 999px;
	background: var(--cc-white);
	font: 500 11px/1 var(--cc-mono);
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--text);
}

.cc-card__title {
	margin: 0 0 4px !important;
	font-size: var(--cc-text-base) !important;
	font-weight: 600 !important;
	letter-spacing: -0.01em !important;
	line-height: 1.3 !important;
}
.cc-card__title a { color: var(--cc-ink); text-decoration: none; }
/* The whole card is clickable through the title link; the image link is skipped by keyboard and screen readers */
.cc-card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.cc-card__title a:focus-visible { outline: none; }
.cc-grid .wc-block-product:has(.cc-card__title a:focus-visible) {
	outline: 2px solid var(--cc-orange);
	outline-offset: 4px;
	border-radius: var(--cc-radius);
}
.cc-card-sizes { margin: 0; font: 500 13px/1.4 var(--cc-mono); color: var(--cc-muted); }
.cc-card__price {
	margin: 2px 0 0 !important;
	font: 500 13px/1.4 var(--cc-mono) !important;
	text-align: left !important;
	color: var(--cc-ink);
}
.cc-card__price .cc-from { color: var(--cc-muted); }
.cc-card__price .woocommerce-Price-amount { font-weight: 600; }

.cc-shop .wp-block-query-pagination { margin-top: 48px; gap: 6px; font: 500 13px/1 var(--cc-mono); }
.cc-shop .wp-block-query-pagination a,
.cc-shop .wp-block-query-pagination .current {
	display: inline-grid;
	place-items: center;
	min-width: var(--cc-tap);
	min-height: var(--cc-tap);
	padding: 0 10px;
	border-radius: 999px;
	color: var(--cc-ink);
	text-decoration: none;
}
.cc-shop .wp-block-query-pagination a:hover { background: var(--cc-white); }
.cc-shop .wp-block-query-pagination .current { background: var(--cc-ink); color: var(--cc-white); }

/* ---------- Product page ---------- */
.cc-pdp__cols { gap: 32px 64px; margin: 0; }
@media (max-width: 781px) {
	.cc-pdp__cols { flex-direction: column; }
	.cc-pdp__media { flex-basis: auto !important; }
}
/* WooCommerce fades the gallery in with a script; show it immediately so a slow or failed script never hides it */
.cc-pdp__media .woocommerce-product-gallery { margin: 0; opacity: 1 !important; transition: none !important; }
.cc-pdp__media .woocommerce-product-gallery__image img {
	width: 100%;
	height: auto;
	aspect-ratio: 1;
	object-fit: cover;
	border-radius: var(--cc-radius);
	background: var(--cc-surface);
}
/* Branded vial art when the product has no photo yet */
.cc-pdp-art {
	position: relative;
	display: grid;
	place-items: center;
	aspect-ratio: 1;
	overflow: hidden;
	border: 1px solid var(--cc-line);
	border-radius: var(--cc-radius);
	background: var(--cc-white);
}
.cc-pdp-art::before {
	content: "";
	position: absolute;
	inset: 12px;
	border-radius: calc(var(--cc-radius) - 8px);
	background: radial-gradient(closest-side, var(--cc-white), transparent 85%), var(--soft);
}
/* The vial floats without a shadow filter (smooth on phones); a separate soft shadow shrinks under it. */
.cc-pdp-art .cc-vial { position: relative; z-index: 1; width: 30%; height: auto; animation: cc-float 7s cubic-bezier(0.45, 0, 0.55, 1) infinite; will-change: transform; }
.cc-pdp-art::after {
	content: "";
	position: absolute;
	top: 77%;
	left: 36%;
	width: 28%;
	height: 6%;
	border-radius: 50%;
	background: radial-gradient(closest-side, rgba(14, 15, 16, 0.22), transparent);
	animation: cc-float-shadow 7s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}
.cc-pdp-art .cc-media__tag { top: 24px; left: 24px; z-index: 2; }
@media (prefers-reduced-motion: reduce) { .cc-pdp-art .cc-vial, .cc-pdp-art::after { animation: none; } }
/* Category colors on the product page come from the art's category */
.cc-pdp:has(.cc-cat-pep) { --soft: var(--cc-pep-soft); --fill: var(--cc-pep); --text: var(--cc-pep-text); }
.cc-pdp:has(.cc-cat-blend) { --soft: var(--cc-blend-soft); --fill: var(--cc-blend); --text: var(--cc-blend-text); }
.cc-pdp:has(.cc-cat-sup) { --soft: var(--cc-sup-soft); --fill: var(--cc-sup); --text: var(--cc-sup-text); }
.cc-pdp .cc-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 16px;
	padding: 6px 12px;
	border: 1px solid currentColor;
	border-radius: 999px;
	font: 500 12px/1 var(--cc-mono);
	color: var(--text, var(--cc-muted));
}
.cc-pdp .cc-eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--fill, var(--cc-orange)); }
/* Full-screen photo button: WooCommerce draws it with an emoji, so swap in an SVG
   icon, and hide it entirely while the product only has the placeholder photo. */
.woocommerce-product-gallery__trigger {
	display: inline-grid !important;
	place-items: center;
	width: var(--cc-tap) !important;
	height: var(--cc-tap) !important;
	border-radius: 999px !important;
	background: var(--cc-white) !important;
	box-shadow: 0 0 0 1px var(--cc-gray-200);
}
.woocommerce-product-gallery__trigger > span { display: none; }
.woocommerce-product-gallery__trigger::before {
	content: "";
	width: 18px;
	height: 18px;
	background: var(--cc-ink);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M15 3h6v6M9 21H3v-6M21 3l-7 7M3 21l7-7'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M15 3h6v6M9 21H3v-6M21 3l-7 7M3 21l7-7'/%3E%3C/svg%3E") center / contain no-repeat;
}
.woocommerce-product-gallery:has(.woocommerce-product-gallery__image--placeholder) .woocommerce-product-gallery__trigger { display: none !important; }

@media (min-width: 782px) {
	.cc-pdp__info { position: sticky; top: 96px; align-self: flex-start; }
}
.cc-pdp__title {
	margin: 0 0 8px !important;
	font-size: clamp(2.25rem, 1.5rem + 3vw, 3.6rem) !important;
	font-weight: 650 !important;
	letter-spacing: -0.04em !important;
	line-height: 1 !important;
}
.cc-pdp__summary { margin: 0 0 20px; color: var(--cc-muted); }
.cc-pdp__summary p { margin: 0; }
.cc-pdp__price {
	margin: 0 0 24px !important;
	font-size: var(--cc-text-xl) !important;
	font-weight: 500;
	text-align: left !important;
}

/* Size buttons (built from WooCommerce's dropdown by product.js) */
.cc-choices { min-width: 0; margin: 0 0 20px; padding: 0; border: 0; }
.cc-choices__legend { margin: 0 0 10px; padding: 0; font-size: var(--cc-text-sm); font-weight: 500; }
.cc-choices__list { display: flex; flex-wrap: wrap; gap: 8px; }
.cc-choice { position: relative; display: inline-flex; cursor: pointer; }
.cc-choice input { position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; }
.cc-choice span {
	display: inline-grid;
	place-items: center;
	min-width: 72px;
	min-height: var(--cc-tap);
	padding: 0 16px;
	border: 1.5px solid var(--cc-gray-300);
	border-radius: 999px;
	font-size: var(--cc-text-sm);
	font-weight: 500;
	font-variant-numeric: tabular-nums;
	transition: border-color var(--cc-fast) var(--cc-ease), background var(--cc-fast) var(--cc-ease), color var(--cc-fast) var(--cc-ease);
}
.cc-choice:hover span { border-color: var(--cc-ink); }
.cc-choice input:checked + span { background: var(--cc-ink); border-color: var(--cc-ink); color: var(--cc-white); }
.cc-choice input:focus-visible + span { outline: 2px solid var(--cc-orange); outline-offset: 3px; }
.cc-choice input:disabled + span { color: var(--cc-muted); border-style: dashed; text-decoration: line-through; cursor: not-allowed; }
.cc-choices-source { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.cc-pdp__form table.variations { margin: 0; border: 0; }
.cc-pdp__form .reset_variations { display: none !important; }
/* The chosen size's price moves into the main price, so hide WooCommerce's copy */
.cc-pdp__form .woocommerce-variation-price { display: none; }

.cc-pdp__form p.stock {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 16px;
	font-size: var(--cc-text-sm);
	color: var(--cc-muted);
}
.cc-pdp__form p.stock::before {
	content: "";
	flex: none;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #2E8B57;
}
.cc-pdp__form p.stock.cc-ships-later::before { background: var(--cc-orange); }
.cc-pdp__form p.stock.out-of-stock::before { background: var(--cc-muted-dark); }

.cc-pdp__form .woocommerce-variation-add-to-cart,
.cc-pdp__form form.cart:not(.variations_form) { display: flex; align-items: stretch; gap: 10px; }
.cc-pdp__form .quantity input.qty {
	width: 72px;
	min-height: 52px;
	border: 1.5px solid var(--cc-gray-300);
	border-radius: 999px;
	background: var(--cc-white);
	font: inherit;
	font-variant-numeric: tabular-nums;
	color: var(--cc-ink);
	text-align: center;
}
.cc-pdp__form .single_add_to_cart_button {
	flex: 1;
	min-height: 52px;
	border-radius: 999px !important;
	font-size: var(--cc-text-base) !important;
}
.cc-pdp__form .single_add_to_cart_button.disabled { opacity: 0.5; cursor: not-allowed; }

.cc-bulk { margin: 20px 0 0; font-size: var(--cc-text-sm); color: var(--cc-muted); }
.cc-bulk b { font-weight: 500; color: var(--cc-ink); white-space: nowrap; }

.cc-details {
	display: grid;
	grid-template-columns: max-content 1fr;
	gap: 10px 24px;
	margin: 28px 0 0;
	padding-top: 24px;
	border-top: 1px solid var(--cc-line);
	font-size: var(--cc-text-sm);
}
.cc-details dt { font: 500 12px/1.7 var(--cc-mono); letter-spacing: 0.04em; text-transform: uppercase; color: var(--cc-muted); }
.cc-details dd { margin: 0; }

.cc-ruo {
	margin-top: 24px;
	padding: 14px 16px;
	border: 1px solid var(--cc-line);
	border-left: 4px solid var(--cc-orange);
	border-radius: var(--cc-radius-sm);
	background: var(--cc-surface);
	font-size: var(--cc-text-sm);
	line-height: 1.5;
}
.cc-ruo strong { font-weight: 600; }

.cc-coa { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--cc-gray-200); }
.cc-coa__title { margin: 0 0 6px !important; font-size: var(--cc-text-base) !important; }
.cc-coa p { margin: 0; font-size: var(--cc-text-sm); }
.cc-coa__link { font-weight: 500; color: var(--cc-orange-text); }

/* ---------- Cart and checkout ---------- */
.woocommerce-cart .cc-main,
.woocommerce-checkout .cc-main { padding-top: var(--wp--preset--spacing--40); }
.cc-checkout-page > .cc-shop__title,
.cc-cart-page > .cc-shop__title { margin-left: 0 !important; }
.cc-checkout-notice {
	max-width: 1200px;
	margin: 0 auto 32px;
	padding: 16px 18px;
	border: 1px solid var(--cc-gray-200);
	border-radius: var(--cc-radius-sm);
	background: var(--cc-surface);
	font-size: var(--cc-text-sm);
	line-height: 1.5;
}
.cc-checkout-notice p { margin: 0; }
.cc-checkout-notice p + p { margin-top: 6px; color: var(--cc-muted); }
.cc-checkout-notice strong { font-weight: 600; }

.wc-block-cart,
.wc-block-checkout { font-size: var(--cc-text-base); }
.wc-block-cart .wc-block-components-product-name,
.wc-block-checkout .wc-block-components-product-name { color: var(--cc-ink); font-weight: 500; text-decoration: none; }
.wc-block-components-product-badge {
	border: 0 !important;
	border-radius: 999px !important;
	padding: 2px 10px !important;
	background: var(--cc-gray-100);
	color: var(--cc-ink);
	font-size: var(--cc-text-xs) !important;
	text-transform: none !important;
	letter-spacing: 0;
}
.wc-block-components-product-badge.wc-block-components-product-backorder-badge::before {
	content: "";
	display: inline-block;
	width: 6px;
	height: 6px;
	margin-right: 6px;
	border-radius: 50%;
	background: var(--cc-orange);
	vertical-align: middle;
}
/* "Overseas only" sizes show "Ships: In about 4 weeks" instead of the 10-day badge. */
:is(.wc-block-cart-item__product, .wc-block-components-order-summary-item__description):has(.wc-block-components-product-details__ships) .wc-block-components-product-backorder-badge { display: none; }
.wc-block-components-quantity-selector { border-radius: 999px !important; }
.wc-block-components-quantity-selector::after { border-radius: 999px !important; border-color: var(--cc-gray-300) !important; }

.wc-block-components-button:not(.is-link),
.wc-block-cart__submit-button,
.wc-block-components-checkout-place-order-button {
	min-height: 52px;
	border-radius: 999px !important;
	background: var(--cc-orange) !important;
	color: var(--cc-ink) !important;
	font-weight: 500 !important;
}
.wc-block-components-button:not(.is-link):hover { background: var(--cc-orange-hover) !important; }
.wc-block-components-button:not(.is-link):focus-visible { outline: 2px solid var(--cc-ink) !important; outline-offset: 3px; box-shadow: none !important; }

.wc-block-components-text-input input,
.wc-block-components-combobox .wc-block-components-combobox-control input,
.wc-blocks-components-select .wc-blocks-components-select__select {
	border-color: var(--cc-gray-300) !important;
	border-radius: var(--cc-radius-sm) !important;
}
.wc-block-components-text-input input:focus,
.wc-blocks-components-select .wc-blocks-components-select__select:focus {
	border-color: var(--cc-ink) !important;
	box-shadow: 0 0 0 1px var(--cc-ink) !important;
}
.wc-block-components-checkbox .wc-block-components-checkbox__input[type="checkbox"] {
	width: 20px;
	height: 20px;
	border-color: var(--cc-muted) !important;
	border-radius: 4px !important;
}
.wc-block-components-checkbox .wc-block-components-checkbox__input[type="checkbox"]:checked { background: var(--cc-ink) !important; border-color: var(--cc-ink) !important; }
.wc-block-components-checkbox .wc-block-components-checkbox__mark { fill: var(--cc-white) !important; }
.wc-block-components-checkbox label { align-items: flex-start; line-height: 1.45; }
.wc-block-checkout__terms { font-size: var(--cc-text-sm); color: var(--cc-muted); }
.wc-block-checkout__terms a { color: var(--cc-ink); }
.wc-block-components-checkout-step__title { font-weight: 600 !important; letter-spacing: -0.01em; }
.wc-block-components-totals-wrapper { border-color: var(--cc-gray-200) !important; }
.wc-block-components-sidebar-layout .wc-block-components-sidebar .wc-block-components-panel,
.wc-block-components-totals-coupon { font-size: var(--cc-text-sm); }

/* ---------- Track order ---------- */
.cc-hint { display: block; margin: 6px 0 0; font-size: var(--cc-text-sm); color: var(--cc-muted); }
.cc-track-form { margin-top: 24px; }
.cc-track-form__fields { display: grid; gap: 16px; }
@media (min-width: 600px) { .cc-track-form__fields { grid-template-columns: 1fr 1fr; } }
.cc-track-form .form-row { margin: 0; }
.cc-track-form label,
.woocommerce-MyAccount-content label { display: block; margin-bottom: 8px; font-size: var(--cc-text-sm); font-weight: 500; }
.cc-track-form .input-text,
.woocommerce-account .input-text {
	box-sizing: border-box;
	width: 100%;
	min-height: 48px;
	padding: 0 14px;
	border: 1.5px solid var(--cc-gray-300);
	border-radius: var(--cc-radius-sm);
	background: var(--cc-white);
	font: inherit;
	color: var(--cc-ink);
}
.cc-track-form .input-text:focus-visible,
.woocommerce-account .input-text:focus-visible { outline: 2px solid var(--cc-orange); outline-offset: 0; border-color: var(--cc-ink); }
.cc-track-form button[type="submit"] { margin-top: 20px; min-width: 200px; }

.cc-track-again { margin: 0 0 20px; font-size: var(--cc-text-sm); }
.cc-track-status {
	margin: 0 0 40px;
	padding: 24px;
	border: 1px solid var(--cc-gray-200);
	border-radius: var(--cc-radius);
	background: var(--cc-white);
}
.cc-track-status__title { margin: 0 0 8px !important; font-size: var(--cc-text-xl) !important; }
.cc-track-status__message { margin: 0 0 24px; font-size: var(--cc-text-lg); line-height: 1.5; }
.cc-track-status__tracking { margin: 24px 0 0; font-size: var(--cc-text-sm); }
.cc-track-status__tracking a { font-weight: 600; font-variant-numeric: tabular-nums; color: var(--cc-ink); }
.cc-track-status__button { display: inline-flex; margin-top: 20px; text-decoration: none; }

/* Timeline: down the page on phones, across on wider screens */
.cc-timeline { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.cc-timeline__step {
	position: relative;
	display: grid;
	grid-template-columns: 20px 1fr auto;
	gap: 12px;
	align-items: center;
	padding: 10px 0;
}
.cc-timeline__step:not(:last-child)::after {
	content: "";
	position: absolute;
	left: 9px;
	top: 30px;
	bottom: -10px;
	width: 2px;
	background: var(--cc-gray-200);
}
.cc-timeline__step.is-done:not(:last-child)::after { background: var(--cc-ink); }
.cc-timeline__dot {
	position: relative;
	z-index: 1;
	width: 20px;
	height: 20px;
	border: 2px solid var(--cc-gray-300);
	border-radius: 50%;
	background: var(--cc-white);
}
.cc-timeline__step.is-done .cc-timeline__dot { border-color: var(--cc-ink); background: var(--cc-ink); }
.cc-timeline__step.is-done .cc-timeline__dot::after {
	content: "";
	position: absolute;
	left: 5px;
	top: 2px;
	width: 5px;
	height: 9px;
	border: solid var(--cc-white);
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}
.cc-timeline__step.is-next .cc-timeline__dot { border-color: var(--cc-orange); box-shadow: 0 0 0 4px rgba(226, 112, 42, 0.18); }
.cc-timeline__label { font-weight: 500; }
.cc-timeline__step.is-todo .cc-timeline__label { color: var(--cc-muted); font-weight: 400; }
.cc-timeline__date { font-size: var(--cc-text-sm); color: var(--cc-muted); font-variant-numeric: tabular-nums; }
@media (min-width: 700px) {
	.cc-timeline { grid-template-columns: repeat(4, 1fr); }
	.cc-timeline__step { grid-template-columns: 1fr; gap: 6px; padding: 0 12px 0 0; align-items: start; }
	.cc-timeline__step:not(:last-child)::after { left: 22px; right: 0; top: 9px; bottom: auto; width: auto; height: 2px; }
}

.cc-track-notes__title { font-size: var(--cc-text-lg) !important; }
.cc-track-notes { margin: 0 0 32px; padding: 0; list-style: none; }
.cc-track-notes li { padding: 14px 0; border-top: 1px solid var(--cc-gray-200); }
.cc-track-notes li p { margin: 0; }

/* Order details table (Track order, My account, order confirmation) */
.woocommerce-order-details,
.woocommerce-customer-details { margin-top: 32px; font-size: var(--cc-text-sm); }
.woocommerce-order-details__title,
.woocommerce-column__title { font-size: var(--cc-text-lg) !important; }
.woocommerce-table--order-details { width: 100%; border-collapse: collapse; }
.woocommerce-table--order-details th,
.woocommerce-table--order-details td { padding: 12px 0; border-bottom: 1px solid var(--cc-gray-200); text-align: left; vertical-align: top; }
.woocommerce-table--order-details td:last-child,
.woocommerce-table--order-details th:last-child { text-align: right; }
.woocommerce-customer-details address { font-style: normal; line-height: 1.6; padding: 16px; border: 1px solid var(--cc-gray-200); border-radius: var(--cc-radius-sm); }

/* ---------- Content pages: policies, FAQ, contact ---------- */
.cc-draft-note {
	padding: 12px 16px;
	border: 1px dashed var(--cc-orange-text);
	border-radius: var(--cc-radius-sm);
	background: #FFF7F1;
	font-size: var(--cc-text-sm);
}
.cc-main .wp-block-post-content h2 { margin-top: 2.25em; font-size: var(--cc-text-xl); }
.cc-main .wp-block-post-content h3 { margin-top: 1.75em; margin-bottom: 0.4em; font-size: var(--cc-text-base); font-weight: 600; letter-spacing: 0; }
.cc-main .wp-block-post-content h3 + p { margin-top: 0; }
.cc-main .wp-block-post-content ul { padding-left: 1.25em; }
.cc-main .wp-block-post-content li + li { margin-top: 0.4em; }
.cc-main .wp-block-post-content table {
	width: 100%;
	border-collapse: collapse;
	font-size: var(--cc-text-sm);
	display: block;
	overflow-x: auto;
}
.cc-main .wp-block-post-content th,
.cc-main .wp-block-post-content td { padding: 10px 12px 10px 0; border-bottom: 1px solid var(--cc-gray-200); text-align: left; vertical-align: top; }
.cc-main .wp-block-post-content th { font-weight: 600; white-space: nowrap; }

.cc-contact { margin: 28px 0 40px; }
.cc-contact__row { display: grid; gap: 0 16px; }
@media (min-width: 600px) { .cc-contact__row { grid-template-columns: 1fr 1fr; } }
.cc-field { margin: 0 0 18px; }
.cc-field label { display: block; margin-bottom: 8px; font-size: var(--cc-text-sm); font-weight: 500; }
.cc-optional { font-weight: 400; color: var(--cc-muted); }
.cc-field input,
.cc-field textarea {
	box-sizing: border-box;
	width: 100%;
	min-height: 48px;
	padding: 12px 14px;
	border: 1.5px solid var(--cc-gray-300);
	border-radius: var(--cc-radius-sm);
	background: var(--cc-white);
	font: inherit;
	color: var(--cc-ink);
}
.cc-field textarea { resize: vertical; }
.cc-field input:focus-visible,
.cc-field textarea:focus-visible { outline: 2px solid var(--cc-orange); outline-offset: 0; border-color: var(--cc-ink); }
.cc-field [aria-invalid="true"] { border-color: #A3281E; }
.cc-field-error { display: block; margin-top: 6px; font-size: var(--cc-text-sm); color: #A3281E; }
.cc-form-error { padding: 12px 16px; border-radius: var(--cc-radius-sm); background: #FCEEEC; color: #7A1E16; font-size: var(--cc-text-sm); }
.cc-contact-done { margin: 28px 0; padding: 16px 18px; border-radius: var(--cc-radius-sm); background: #EEF7F1; }
.cc-contact-done p { margin: 0; }
.cc-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* WooCommerce notices, e.g. "added to your cart" */
.wc-block-components-notice-banner { border-radius: var(--cc-radius-sm); font-size: var(--cc-text-sm); }
