/*
Theme Name: Coins Co. Auctions
Template: kadence
Description: Kadence child theme for Coins Co. Auctions.
Author: Anvil Media Foundry
Author URI: https://www.anvilmediafoundry.com
Version: 0.3.0
Text Domain: coinsco-child
*/

/*
Design notes
- Modeled on the sites Eric named: bullockauctioneers.com and brooksauctions.com (plus AuctionZip coin auction pages).
  Shared traits: light page, slim dark utility bar, centered logo with a full-width nav row beneath, one big featured-auction
  banner with caps date line, auction cards with start/end times, plain dark footer with address.
- Light theme. Dark appears only in the utility bar, the footer, and small accents (date tiles, countdown).
- Eric's own pick, the WordPress "Sunrise" scheme, is the palette: sunrise red for buttons/links, gold for rules, icons, bands.
- A few touches borrowed from coinsfromusmints.com (his other site): real gold #d3af37, serif headings, line icons.
- Contrast: white on red buttons, dark text on gold, deep gold (#8a6d14) for gold text on light.
*/

:root {
	--cca-ink: #1f1a17;
	--cca-charcoal: #2b2622;
	--cca-gold: #d3af37;
	--cca-gold-deep: #8a6d14;
	--cca-gold-soft: #f6efd9;
	--cca-red: #a8322e;
	--cca-red-dark: #8a2824;
	--cca-text: #2a2521;
	--cca-muted: #5f574d;
	--cca-line: #e4ddcc;
	--cca-bg: #fbf9f4;
	--cca-surface: #ffffff;
	--cca-cream: #f4eee0;
	--cca-on-dark: #d9d3c6;
	--cca-serif: "Noto Serif", Georgia, "Times New Roman", serif;
	--cca-sans: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;

	--global-body-font-family: var(--cca-sans);
	--global-heading-font-family: var(--cca-serif);
	--global-primary-nav-font-family: var(--cca-sans);
	--global-fallback-font: sans-serif;
	--global-palette1: #a8322e;
	--global-palette2: #8a2824;
	--global-palette3: #1f1a17;
	--global-palette4: #2a2521;
	--global-palette5: #5f574d;
	--global-palette6: #8f877a;
	--global-palette7: #e4ddcc;
	--global-palette8: #f6efd9;
	--global-palette9: #fbf9f4;
}

body { background: var(--cca-bg); color: var(--cca-text); font-family: var(--cca-sans); font-size: 17px; line-height: 1.65; }
h1, h2, h3, h4 { font-family: var(--cca-serif); color: var(--cca-ink); letter-spacing: -.005em; }
a { color: var(--cca-red); }
a:hover { color: var(--cca-red-dark); }
:focus-visible { outline: 3px solid var(--cca-gold); outline-offset: 2px; }

/* ---------- Buttons: sunrise red, white text ---------- */
.button, .wp-block-button__link, button.button, input[type="submit"], .woocommerce a.button, .woocommerce button.button, .woocommerce #respond input#submit,
body.single-product .summary .uwa_auction_form button.bid_button, body.single-product .summary .uwa_auction_form .button, body.single-product .summary button.button.alt {
	font-family: var(--cca-sans);
	font-weight: 600;
	font-size: .92rem;
	letter-spacing: .06em;
	text-transform: uppercase;
	background: var(--cca-red);
	color: #fff;
	border: 0;
	border-radius: 3px;
	padding: .85em 1.6em;
	box-shadow: none;
	transition: background .15s ease;
}
.button:hover, .wp-block-button__link:hover, button.button:hover, input[type="submit"]:hover, .woocommerce a.button:hover, .woocommerce button.button:hover,
body.single-product .summary .uwa_auction_form button.bid_button:hover, body.single-product .summary .uwa_auction_form .button:hover {
	background: var(--cca-red-dark);
	color: #fff;
}
.cca-btn-ghost, .wp-block-button.is-style-outline .wp-block-button__link, .cca-feature__cta--ghost {
	background: transparent;
	color: var(--cca-ink);
	box-shadow: inset 0 0 0 1.5px var(--cca-ink);
}
/* Kadence turns every visited button link near-white (.button:visited), which made outline buttons invisible once the page had been visited. */
.cca-btn-ghost:visited, .wp-block-button.is-style-outline .wp-block-button__link:visited, .cca-feature__cta--ghost:visited { color: var(--cca-ink); }
.cca-btn-ghost:hover, .wp-block-button.is-style-outline .wp-block-button__link:hover, .cca-feature__cta--ghost:hover { background: var(--cca-ink); color: #fff; transition: background .15s ease, color .15s ease; }

/* ---------- Utility bar (dark, slim, like Bullock's top strip) ---------- */
.cca-topbar { background: var(--cca-charcoal); color: var(--cca-on-dark); font-size: .8rem; letter-spacing: .04em; }
.cca-topbar__inner {
	display: flex;
	flex-wrap: wrap;
	gap: .25rem 1.5rem;
	align-items: center;
	justify-content: space-between;
	max-width: var(--global-content-width, 1290px);
	margin: 0 auto;
	padding: .5rem var(--global-content-edge-padding, 1.5rem);
}
.cca-topbar a { color: #fff; font-weight: 500; text-decoration: none; }
.cca-topbar a:hover { color: var(--cca-gold); }
.cca-topbar__links { display: flex; gap: 1.25rem; margin-left: auto; }
.cca-topbar__phone { display: none; }
@media (max-width: 1024px) {
	.cca-topbar__phone { display: inline; }
	.cca-header-phone { display: none; }
}

/* ---------- Header: centered logo, nav row underneath ---------- */
#masthead .site-header-row-container-inner { background: var(--cca-surface); }
#masthead .site-main-header-inner-wrap { min-height: 112px; }
#masthead .site-branding a.brand { display: inline-flex; flex-direction: column; align-items: center; gap: .35rem; color: var(--cca-ink); text-decoration: none; text-align: center; }
#masthead .site-branding a.brand::before {
	content: "";
	width: 46px;
	height: 46px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%23d3af37'%3E%3Ccircle cx='24' cy='24' r='22' stroke-width='2.5'/%3E%3Ccircle cx='24' cy='24' r='17' stroke-width='1.5' stroke-dasharray='1.5 3'/%3E%3Cpath d='M24 13l3.1 6.5 7.1.9-5.2 4.9 1.3 7-6.3-3.4-6.3 3.4 1.3-7-5.2-4.9 7.1-.9z' fill='%23d3af37' stroke='none'/%3E%3C/svg%3E") center / contain no-repeat;
}
#masthead .site-branding .site-title { font-family: var(--cca-serif); font-weight: 700; font-size: 1.7rem; line-height: 1.1; color: var(--cca-ink); }
#masthead .site-branding a.brand::after {
	content: "Timed online coin auctions";
	font-family: var(--cca-sans);
	font-size: .66rem;
	font-weight: 600;
	letter-spacing: .24em;
	text-transform: uppercase;
	color: var(--cca-gold-deep);
}
.site-bottom-header-wrap .site-header-row-container-inner { background: var(--cca-cream); border-top: 1px solid var(--cca-line); border-bottom: 3px solid var(--cca-gold); }
#masthead .header-navigation .header-menu-container > ul > li.menu-item > a {
	font-family: var(--cca-sans);
	font-size: .82rem;
	font-weight: 600;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--cca-ink);
	padding: 1em 1.2em;
}
#masthead .header-navigation .header-menu-container > ul > li.menu-item > a:hover,
#masthead .header-navigation .header-menu-container > ul > li.current-menu-item > a { color: var(--cca-red); }
#masthead .header-navigation .header-menu-container > ul > li.current-menu-item > a { box-shadow: inset 0 -3px 0 var(--cca-red); }
.cca-header-phone a {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	font-family: var(--cca-sans);
	font-weight: 700;
	font-size: 1.1rem;
	color: var(--cca-ink);
	text-decoration: none !important;
	white-space: nowrap;
}
.cca-header-phone a::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='%23a8322e' stroke-width='1.8' stroke-linejoin='round'%3E%3Cpath d='M5 4h4l2 5-2.5 1.5a11 11 0 005 5L15 13l5 2v4a2 2 0 01-2 2A16 16 0 013 6a2 2 0 012-2z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.cca-header-phone a:hover { color: var(--cca-red); }
#masthead .mobile-toggle-open-container .menu-toggle-open { color: var(--cca-ink); }
#masthead .site-main-header-wrap.site-header-row-mobile-layout-standard .site-branding a.brand { flex-direction: row; gap: .6rem; }
@media (max-width: 1024px) {
	#masthead .site-main-header-inner-wrap { min-height: 76px; }
	#masthead .site-branding a.brand { flex-direction: row; text-align: left; gap: .6rem; }
	#masthead .site-branding a.brand::before { width: 36px; height: 36px; }
	#masthead .site-branding a.brand::after { display: none; }
	#masthead .site-branding .site-title { font-size: 1.3rem; }
	#masthead .site-header-row-container-inner { border-bottom: 3px solid var(--cca-gold); }
}
#mobile-drawer .drawer-inner { background: var(--cca-bg); }
#mobile-drawer .mobile-navigation a { color: var(--cca-ink); font-family: var(--cca-sans); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; font-size: .9rem; }

/* ---------- Inner page title band ---------- */
.entry-hero .hero-section-overlay { background: var(--cca-cream); }
.entry-hero .entry-hero-container-inner { background: var(--cca-cream); border-bottom: 1px solid var(--cca-line); }
.entry-hero .entry-title, .entry-hero h1 { color: var(--cca-ink); font-family: var(--cca-serif); font-weight: 700; }
.entry-hero .entry-title::after, .entry-hero h1::after { content: ""; display: block; width: 56px; height: 3px; margin: .9rem auto 0; background: var(--cca-gold); }
.entry-hero .kadence-breadcrumbs, .entry-hero .kadence-breadcrumbs a { color: var(--cca-muted); }

/* ---------- Shared bits ---------- */
.cca-eyebrow { font-family: var(--cca-sans); font-size: .78rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--cca-gold-deep); margin: 0 0 .5rem; }
.cca-section-alt { background: var(--cca-surface); border-top: 1px solid var(--cca-line); border-bottom: 1px solid var(--cca-line); }
.cca-section-cream { background: var(--cca-cream); border-top: 1px solid var(--cca-line); border-bottom: 3px solid var(--cca-gold); }
.cca-center { text-align: center; }
.cca-center > h2, .home .entry-content h2.wp-block-heading { font-size: clamp(1.7rem, 3.2vw, 2.3rem); margin: 0 0 .4rem; }
.cca-center > h2::after, .home .entry-content h2.wp-block-heading::after { content: ""; display: block; width: 56px; height: 3px; margin: .9rem auto 0; background: var(--cca-gold); }
.cca-lede { max-width: 640px; margin: 0 auto 2.25rem; color: var(--cca-muted); font-size: 1.05rem; }

/* ---------- Hero: framed auction poster, centered ---------- */
.cca-hero { background: radial-gradient(70% 90% at 50% 0%, #fffdf6 0, var(--cca-cream) 100%); border-bottom: 1px solid var(--cca-line); }
.cca-feature {
	max-width: 1000px;
	margin: 0 auto;
	padding: clamp(2rem, 4vw, 3.25rem) clamp(1.25rem, 4vw, 3rem) clamp(2rem, 4vw, 3rem);
	text-align: center;
	background: var(--cca-surface);
	border: 1px solid var(--cca-gold);
	outline: 1px solid rgba(211, 175, 55, .55);
	outline-offset: 7px;
	box-shadow: 0 24px 50px rgba(42, 37, 33, .1);
}
.cca-feature__text .cca-eyebrow { margin-bottom: .75rem; }
.cca-feature__title { margin: 0 0 1.1rem; font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 700; line-height: 1.1; color: var(--cca-ink); }
.cca-feature__when { display: flex; flex-wrap: wrap; justify-content: center; margin: 0 0 2rem; padding: .8rem 0; border-top: 1px solid var(--cca-gold); border-bottom: 1px solid var(--cca-gold); font-size: .82rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--cca-ink); }
.cca-feature__when span { padding: .15rem 1.1rem; }
.cca-feature__when span + span { border-left: 1px solid var(--cca-gold); }
.cca-feature__coins { display: flex; justify-content: center; gap: 1.1rem; margin: 0 auto 2.25rem; }
.cca-feature__coin { display: block; flex: 0 1 200px; aspect-ratio: 3 / 4; padding: 6px; background: #1f1a17; box-shadow: 0 12px 26px rgba(42, 37, 33, .28); }
.cca-feature__coin img { display: block; width: 100%; height: 100%; object-fit: cover; }
.cca-feature__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; }
@media (max-width: 640px) {
	.cca-feature { outline-offset: 5px; }
	.cca-feature__when { flex-direction: column; letter-spacing: .12em; }
	.cca-feature__when span + span { border-left: 0; border-top: 1px solid var(--cca-line); margin-top: .3rem; padding-top: .45rem; }
	.cca-feature__coins { gap: .6rem; }
}

/* ---------- Gold facts band ---------- */
.cca-facts { background: var(--cca-gold); color: var(--cca-ink); }
.cca-facts__inner { display: flex; flex-wrap: wrap; justify-content: center; gap: .9rem 3rem; max-width: 1200px; margin: 0 auto; padding: 1.1rem 1.5rem; }
.cca-facts__item { display: flex; align-items: center; gap: .65rem; font-weight: 600; font-size: .95rem; letter-spacing: .02em; }
.cca-facts__item svg { width: 26px; height: 26px; flex: 0 0 auto; }

/* ---------- Icon steps ---------- */
.cca-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; margin: 2.5rem 0 2rem; }
.cca-step { text-align: center; }
.cca-step__icon { display: inline-grid; place-items: center; width: 76px; height: 76px; margin-bottom: 1.1rem; border: 2px solid var(--cca-gold); border-radius: 50%; color: var(--cca-gold-deep); background: var(--cca-gold-soft); }
.cca-step__icon svg { width: 34px; height: 34px; }
.cca-step h3 { margin: 0 0 .5rem; font-size: 1.25rem; }
.cca-step p { margin: 0; color: var(--cca-muted); }
@media (max-width: 760px) { .cca-steps { grid-template-columns: 1fr; gap: 2rem; } }

/* ---------- CTA band ---------- */
.cca-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 2.5rem; max-width: 1200px; margin: 0 auto; }
.cca-cta h2 { margin: 0 0 .35rem; font-size: clamp(1.5rem, 3vw, 2rem); }
.cca-cta h2::after { display: none; }
.cca-cta p { margin: 0; color: var(--cca-muted); }
.cca-cta__actions { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ---------- Auction cards ---------- */
.cca-auction-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.75rem; text-align: left; }
.cca-auction-grid > .cca-auction-card { flex: 0 1 380px; min-width: min(100%, 300px); }
.cca-auction-card { display: flex; flex-direction: column; overflow: hidden; background: var(--cca-surface); border: 1px solid var(--cca-line); border-radius: 2px; transition: box-shadow .2s ease, transform .2s ease; }
.cca-auction-card:hover { box-shadow: 0 14px 34px rgba(42, 37, 33, .14); transform: translateY(-2px); }
.cca-auction-card__media { position: relative; display: flex; gap: 2px; aspect-ratio: 16 / 10; overflow: hidden; background: var(--cca-charcoal); }
.cca-auction-card__shot { flex: 1 1 0; min-width: 0; position: relative; }
.cca-auction-card__media img { position: absolute; inset: 0; width: 100% !important; height: 100% !important; object-fit: contain; display: block; }
.cca-auction-card__placeholder { display: block; width: 100%; height: 100%; background: var(--cca-charcoal); }
.cca-auction-card__media .cca-badge { position: absolute; top: .9rem; left: .9rem; z-index: 2; }
.cca-auction-card__body { display: flex; gap: 1.1rem; padding: 1.35rem; border-top: 3px solid var(--cca-gold); }
.cca-auction-card__date { flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 3.8rem; height: 4.1rem; margin: 0; background: var(--cca-charcoal); line-height: 1; }
.cca-auction-card__month { font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--cca-gold); }
.cca-auction-card__day { margin-top: .25rem; font-family: var(--cca-serif); font-size: 1.65rem; font-weight: 700; color: #fff; }
.cca-auction-card__title { margin: 0 0 .5rem; font-size: 1.25rem; line-height: 1.25; }
.cca-auction-card__title a { color: var(--cca-ink); text-decoration: none; }
.cca-auction-card__title a:hover { color: var(--cca-red); }
.cca-auction-card__meta { margin: 0 0 1.1rem !important; padding: 0 !important; list-style: none !important; font-size: .92rem; color: var(--cca-muted); }
.cca-auction-card__meta li { margin: 0; padding: 0; }
.cca-auction-card__meta li + li { margin-top: .2rem; }
.cca-empty { padding: 1.5rem; border: 1px dashed #cfc8b6; text-align: center; color: var(--cca-muted); }

.cca-badge { display: inline-block; padding: .35em .8em; border-radius: 2px; font-size: .7rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; line-height: 1.2; background: var(--cca-gold); color: var(--cca-ink); }
.cca-badge--live { background: var(--cca-red); color: #fff; }
.cca-badge--closed { background: #d8d2c3; color: var(--cca-muted); }

/* ---------- Lot cards ---------- */
.woocommerce ul.products li.product { background: var(--cca-surface); border: 1px solid var(--cca-line); border-radius: 2px; overflow: hidden; transition: box-shadow .2s ease; }
.woocommerce ul.products li.product:hover { box-shadow: 0 14px 34px rgba(42, 37, 33, .14); }
.woocommerce ul.products li.product .woocommerce-loop-image-link { background: var(--cca-charcoal); display: block; }
.woocommerce ul.products li.product .woocommerce-loop-image-link img { aspect-ratio: 1; object-fit: contain; }
.woocommerce ul.products li.product .product-details.content-bg { background: transparent; padding: 1rem 1.1rem 1.2rem; border-top: 3px solid var(--cca-gold); }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-family: var(--cca-serif); font-size: 1.02rem; font-weight: 700; line-height: 1.35; margin-bottom: 0; color: var(--cca-ink); }
.woocommerce ul.products li.product .price { color: var(--cca-ink); font-weight: 600; }
.woocommerce ul.products li.product .woo-ua-current { font-weight: 400; color: var(--cca-muted); }
.uwa_auction_bage_icon { filter: grayscale(1) sepia(1) saturate(2.2) hue-rotate(2deg) brightness(.95); }
.cca-lot-meta { color: var(--cca-muted); }
.woocommerce-result-count, .woocommerce-ordering select { font-size: .9rem; color: var(--cca-muted); }

/* ---------- Single lot ---------- */
.single-product div.product .product_title { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.single-product div.product .woocommerce-product-gallery { background: var(--cca-charcoal); border: 1px solid var(--cca-line); border-top: 3px solid var(--cca-gold); }
.single-product div.product .woocommerce-product-gallery img { object-fit: contain; }
.single-product .summary .price { font-family: var(--cca-serif); font-size: 1.5rem; font-weight: 700; color: var(--cca-ink); }
.single-product .summary .uwa_auction_time { font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--cca-muted); }
.single-product .summary .uwa_auction_product_countdown, .single-product .summary .countdown_row { box-shadow: none !important; }
.single-product .summary .countdown_row { background: var(--cca-charcoal); border: 0; border-bottom: 3px solid var(--cca-gold); border-radius: 0; }
.single-product .summary .countdown_amount { font-family: var(--cca-serif); font-size: 1.6rem; font-weight: 700; color: var(--cca-gold); }
.single-product .summary .countdown_section { color: var(--cca-on-dark); }
.single-product .woocommerce-tabs ul.tabs li.active { background: var(--cca-gold-soft); border-top: 3px solid var(--cca-gold); }
.single-product .woocommerce-tabs ul.tabs li.active a { color: var(--cca-ink); }

/* ---------- Auction page, tables ---------- */
.cca-lot-number { display: inline-block; margin: 0 0 .35em; font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--cca-gold-deep); }
.cca-lot-meta .cca-lot-number { margin: 0; }
.cca-schedule { border: 1px solid var(--cca-line); border-left: 4px solid var(--cca-gold); border-radius: 2px; background: var(--cca-surface); }
.cca-schedule dt { color: var(--cca-gold-deep); }
.cca-schedule dd { white-space: nowrap; }
.cca-schedule dl { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
@media (max-width: 480px) { .cca-schedule dd { white-space: normal; } }
.cca-increments thead th { background: var(--cca-charcoal); color: var(--cca-gold); font-family: var(--cca-sans); }
.cca-increments tbody tr:nth-child(even) { background: var(--cca-gold-soft); }
.cca-pay-all { border: 1px solid var(--cca-gold); border-radius: 2px; background: var(--cca-gold-soft); }

/* ---------- Forms ---------- */
.cca-form p { margin: 0 0 1.1rem; }
.cca-form label, .woocommerce form .form-row label { display: block; margin-bottom: .35rem; font-size: .8rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--cca-muted); }
.cca-form input[type="text"], .cca-form input[type="email"], .cca-form input[type="tel"], .cca-form textarea,
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select {
	width: 100%;
	padding: .8rem .9rem;
	background: var(--cca-surface);
	border: 1px solid #cfc8b6;
	border-radius: 2px;
	font: inherit;
	color: var(--cca-text);
}
.cca-form input:focus, .cca-form textarea:focus, .woocommerce form .form-row input.input-text:focus { border-color: var(--cca-gold-deep); outline: 2px solid var(--cca-gold); outline-offset: 0; }
.cca-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.25rem; }
.cca-form__hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
@media (max-width: 560px) { .cca-form__row { grid-template-columns: 1fr; } }
.cca-notice { margin: 0 0 1.5rem; padding: .9rem 1.1rem; border-left: 4px solid var(--cca-gold); background: var(--cca-gold-soft); }
.cca-notice--err { border-left-color: var(--cca-red); background: #f8e4e2; }

.cca-form-wrap { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 3rem; align-items: start; }
.cca-form-card { padding: 2rem; background: var(--cca-surface); border: 1px solid var(--cca-line); border-top: 3px solid var(--cca-gold); }
.cca-info { padding: 2rem; background: var(--cca-cream); border: 1px solid var(--cca-line); border-top: 3px solid var(--cca-gold); }
.cca-info h3 { margin: 0 0 1.25rem; font-size: 1.3rem; }
.cca-info__row { display: flex; gap: 1rem; margin: 0 0 1.25rem; }
.cca-info__row svg { flex: 0 0 auto; width: 24px; height: 24px; margin-top: .15rem; color: var(--cca-red); }
.cca-info__row small { display: block; font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--cca-gold-deep); }
.cca-info a { color: var(--cca-ink); text-decoration: none; font-weight: 500; }
.cca-info a:hover { color: var(--cca-red); }
@media (max-width: 860px) { .cca-form-wrap { grid-template-columns: 1fr; gap: 2rem; } }

.woocommerce form.login, .woocommerce form.register, .woocommerce form.checkout_coupon, .woocommerce-checkout #customer_details, .woocommerce-checkout-review-order {
	background: var(--cca-surface);
	border: 1px solid var(--cca-line);
	border-top: 3px solid var(--cca-gold);
	border-radius: 2px;
	padding: 1.75rem;
}
.woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 0; border: 1px solid var(--cca-line); background: var(--cca-surface); }
.woocommerce-MyAccount-navigation li a { display: block; padding: .8rem 1rem; color: var(--cca-text); text-decoration: none; border-left: 3px solid transparent; font-weight: 500; }
.woocommerce-MyAccount-navigation li.is-active a, .woocommerce-MyAccount-navigation li a:hover { background: var(--cca-gold-soft); border-left-color: var(--cca-gold); }
.woocommerce-message, .woocommerce-info { border-top-color: var(--cca-gold); background: var(--cca-gold-soft); color: var(--cca-text); }
.woocommerce-message::before, .woocommerce-info::before { color: var(--cca-gold-deep); }
.woocommerce-error { border-top-color: var(--cca-red); }

/* ---------- Footer (dark, plain, address-forward like Bullock) ---------- */
.cca-footer { background: var(--cca-charcoal); color: var(--cca-on-dark); border-top: 4px solid var(--cca-gold); }
.cca-footer__inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; max-width: var(--global-content-width, 1290px); margin: 0 auto; padding: 3.25rem var(--global-content-edge-padding, 1.5rem) 2.5rem; }
.cca-footer h4 { margin: 0 0 1rem; font-family: var(--cca-sans); font-size: .78rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--cca-gold); }
.cca-footer__brand { font-family: var(--cca-serif); font-size: 1.4rem; font-weight: 700; color: #fff; margin: 0 0 .6rem; }
.cca-footer p { margin: 0 0 .5rem; font-size: .95rem; }
.cca-footer ul { margin: 0; padding: 0; list-style: none; }
.cca-footer li { margin: 0 0 .45rem; font-size: .95rem; }
.cca-footer a { color: #fff; text-decoration: none; }
.cca-footer a:hover { color: var(--cca-gold); }
.site-footer, .site-footer-wrap .site-footer-row-container-inner { background: #1c1815; color: #9a9488; }
.site-footer a { color: #cfc8b6; text-decoration: none; }
.site-footer a:hover { color: var(--cca-gold); }
@media (max-width: 760px) { .cca-footer__inner { grid-template-columns: 1fr; gap: 2rem; padding-top: 2.5rem; } }

@media (max-width: 767px) {
	.cca-topbar__inner { justify-content: center; text-align: center; }
	.cca-topbar__tagline { display: none; }
}

/* Round 3 */
.cca-feature__title { margin-top: 0 !important; }
.cca-feature__text .cca-eyebrow { margin-bottom: .5rem; }
.cca-feature__coins { margin: 2.25rem auto 2.25rem !important; }
.cca-feature__when { margin-bottom: 0 !important; }
#wrapper > .skip-link { position: absolute; left: -9999px; top: 0; }
#wrapper > .skip-link:focus { left: 1rem; top: 1rem; z-index: 100000; padding: .6rem 1rem; background: #fff; color: var(--cca-ink); }

/* Round 4: reading width, boxed-content shadow, empty-cart grid */
.content-style-boxed .entry-content-wrap, .content-style-boxed .content-bg { box-shadow: none; background: transparent; }
.page .entry-content > h2.wp-block-heading, .page .entry-content > h3.wp-block-heading, .page .entry-content > p, .page .entry-content > ul { max-width: 780px; margin-left: auto; margin-right: auto; }
.page .entry-content > table.cca-increments, .page .entry-content > .cca-increments { max-width: 780px; margin-left: auto; margin-right: auto; }
.cca-increments { max-width: 780px; }
.wc-block-grid__product { background: var(--cca-surface); border: 1px solid var(--cca-line); border-top: 3px solid var(--cca-gold); padding: 0 0 1rem; }
.wc-block-grid__product-image img { background: var(--cca-charcoal); }
.wc-block-grid__product-title { font-family: var(--cca-serif); font-weight: 700; padding: 0 1rem; }
.wc-block-grid__product-price { padding: 0 1rem; }
.wp-block-separator.is-style-dots::before { color: var(--cca-gold); }
/* Round 5 */
.cca-form__row { gap: 1.1rem 1.25rem; margin-bottom: 1.1rem; }
.cca-form__row p { margin: 0; }
.single-product .summary .uwa_auction_product_countdown { background: transparent !important; padding: 0 !important; border: 0 !important; }#mobile-drawer .drawer-header .menu-toggle-close, #mobile-drawer .menu-toggle-close { color: var(--cca-ink); }
/* Header logo: the SVG replaces the text brand; the site title stays in the DOM for screen readers. */
#masthead .site-branding a.brand { display: block; width: 250px; height: 56px; background: url("assets/logo.svg") left center / contain no-repeat; }
#masthead .site-branding a.brand::before, #masthead .site-branding a.brand::after { display: none !important; }
#masthead .site-branding .site-title-wrap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 767px) { #masthead .site-branding a.brand { width: 150px; height: 34px; } }

/* Phone header: a small account button beside the menu toggle, so signing in / registering is not buried in the menu. */
#masthead .site-header-item-navgation-popup-toggle { display: flex; align-items: center; justify-content: flex-end; gap: .6rem; }
#masthead .cca-header-account {
	display: inline-block; white-space: nowrap; padding: .45rem .7rem; margin-left: .5rem; border-radius: 3px;
	background: var(--cca-red); color: #fff; font-family: var(--cca-sans); font-weight: 700;
	font-size: .72rem; letter-spacing: .04em; text-transform: uppercase; line-height: 1.1; text-decoration: none;
}
#masthead .cca-header-account:hover, #masthead .cca-header-account:focus { background: var(--cca-ink); color: #fff; }
#masthead .cca-header-account .cca-badge { margin-left: .3rem; }

/* Lot cards: Kadence slides the text up over the image on hover to reveal the button. Keep the button
   always visible and the text still (also better on phones, where there is no hover). */
.woocommerce ul.products.woo-archive-action-on-hover li.product .product-action-wrap { position: static; opacity: 1; width: auto; margin-top: .6rem; padding: 0; }
.woocommerce ul.products.woo-archive-action-on-hover li.product:hover .entry-content-wrap,
.woocommerce ul.products.woo-archive-action-on-hover li.product:focus-within .entry-content-wrap { transform: none; }

/* ---- Editable blocks: text is plain WordPress blocks; icons come from these classes. ---- */
.cca-icon-gavel { --cca-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m14 13-8.381 8.38a1 1 0 0 1-3.001-3L11 9.999'/%3E%3Cpath d='M15.973 4.027A13 13 0 0 0 5.902 2.373c-1.398.342-1.092 2.158.277 2.601a19.9 19.9 0 0 1 5.822 3.024'/%3E%3Cpath d='M16.001 11.999a19.9 19.9 0 0 1 3.024 5.824c.444 1.369 2.26 1.676 2.603.278A13 13 0 0 0 20 8.069'/%3E%3Cpath d='M18.352 3.352a1.205 1.205 0 0 0-1.704 0l-5.296 5.296a1.205 1.205 0 0 0 0 1.704l2.296 2.296a1.205 1.205 0 0 0 1.704 0l5.296-5.296a1.205 1.205 0 0 0 0-1.704z'/%3E%3C/svg%3E"); }
.cca-icon-clock { --cca-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpolyline points='12 6 12 12 16 14'/%3E%3C/svg%3E"); }
.cca-icon-card { --cca-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='20' height='14' x='2' y='5' rx='2'/%3E%3Cline x1='2' x2='22' y1='10' y2='10'/%3E%3C/svg%3E"); }
.cca-icon-user { --cca-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E"); }
.cca-icon-receipt { --cca-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 2v20l2-1 2 1 2-1 2 1 2-1 2 1 2-1 2 1V2l-2 1-2-1-2 1-2-1-2 1-2-1-2 1Z'/%3E%3Cpath d='M16 8h-6a2 2 0 1 0 0 4h4a2 2 0 1 1 0 4H8'/%3E%3Cpath d='M12 17.5v-11'/%3E%3C/svg%3E"); }
.cca-icon-phone { --cca-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E"); }
.cca-icon-mail { --cca-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='20' height='16' x='2' y='4' rx='2'/%3E%3Cpath d='m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7'/%3E%3C/svg%3E"); }
.cca-icon-pin { --cca-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 6-8 12-8 12s-8-6-8-12a8 8 0 0 1 16 0Z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E"); }
/* Facts strip (home) */
.cca-facts { display: flex; flex-wrap: wrap; justify-content: center; gap: .9rem 3rem; padding: 1.1rem 1.5rem; background: var(--cca-gold); color: var(--cca-ink); }
.cca-facts > .cca-facts__item { display: flex; align-items: center; gap: .65rem; margin: 0; font-weight: 600; font-size: .95rem; letter-spacing: .02em; }
.cca-facts__item::before { content: ""; flex: 0 0 26px; width: 26px; height: 26px; background: currentColor; -webkit-mask: var(--cca-icon) center / contain no-repeat; mask: var(--cca-icon) center / contain no-repeat; }

/* How it works steps (home) */
.cca-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; margin: 2.5rem 0 2rem; }
.cca-steps > * { margin: 0; }
.cca-step { position: relative; padding-top: calc(76px + 1.1rem); text-align: center; }
.cca-step::before { content: ""; position: absolute; top: 0; left: 50%; width: 76px; height: 76px; margin-left: -38px; box-sizing: border-box; border: 2px solid var(--cca-gold); border-radius: 50%; background: var(--cca-gold-soft); }
.cca-step::after { content: ""; position: absolute; top: 21px; left: 50%; width: 34px; height: 34px; margin-left: -17px; background: var(--cca-gold-deep); -webkit-mask: var(--cca-icon) center / contain no-repeat; mask: var(--cca-icon) center / contain no-repeat; }
@media (max-width: 760px) { .cca-steps { grid-template-columns: 1fr; gap: 2rem; } }

/* Call to action (home) */
.cca-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 2.5rem; max-width: 1200px; margin: 0 auto; }
.cca-cta > * { margin: 0; }

/* Contact and consign: contact details as plain paragraphs with an icon */
.cca-form-card > h2:first-child { margin-top: 0; }
.cca-info > * { margin-top: 0; }
.cca-info__row { display: block; position: relative; margin: 0 0 1.25rem; padding-left: 2.4rem; }
.cca-info__row::before { content: ""; position: absolute; left: 0; top: .15rem; width: 24px; height: 24px; background: var(--cca-red); -webkit-mask: var(--cca-icon) center / contain no-repeat; mask: var(--cca-icon) center / contain no-repeat; }
.cca-info__row strong { display: block; font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--cca-gold-deep); }

/* On the site WordPress wraps a group's blocks in an inner container (the editor does not). Let our grid/flex
   rules above act on the blocks themselves in both places. */
.cca-facts > .wp-block-group__inner-container,
.cca-steps > .wp-block-group__inner-container,
.cca-cta > .wp-block-group__inner-container,
.cca-form-wrap > .wp-block-group__inner-container { display: contents; }
/* Account button in the main menu */
.cca-menu-account > a { display: inline-flex !important; align-items: center; gap: .5rem; padding: .55rem 1rem !important; border-radius: 2px; background: var(--cca-red); color: #fff !important; font-weight: 600; line-height: 1.2; }
.cca-menu-account > a:hover { background: var(--cca-red-deep, #8a2824); color: #fff !important; }
.cca-menu-account > a::before { content: ""; width: 18px; height: 18px; background: currentColor; -webkit-mask: var(--cca-icon) center / contain no-repeat; mask: var(--cca-icon) center / contain no-repeat; }
.cca-menu-account .cca-badge { display: inline-block; min-width: 1.4em; padding: .1em .5em; border-radius: 999px; background: #fff; color: var(--cca-red); font-size: .75rem; font-weight: 700; text-align: center; }
.cca-icon-globe { --cca-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20'/%3E%3Cpath d='M2 12h20'/%3E%3C/svg%3E"); }
.cca-icon-trend { --cca-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='22 7 13.5 15.5 8.5 10.5 2 17'/%3E%3Cpolyline points='16 7 22 7 22 13'/%3E%3C/svg%3E"); }
