﻿/*
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);
}
.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; }

/* ---------- 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: 180px; height: 40px; } }
