/*
Theme Name: Astra Child
Theme URI: https://cardkingdom.space
Description: A collector-focused WooCommerce storefront for Cards Collection.
Author: Cards Collection
Template: astra
Version: 2.1.5
Text Domain: astra-child
*/

:root {
	--ck-ink: #15171a;
	--ck-ink-soft: #30343a;
	--ck-muted: #676c72;
	--ck-bg: #f4f5f3;
	--ck-surface: #ffffff;
	--ck-line: #dfe2de;
	--ck-forest: #1f493d;
	--ck-forest-dark: #15372f;
	--ck-gold: #c5a35b;
	--ck-gold-dark: #8b6a2f;
	--ck-oxblood: #8d3038;
	--ck-blue: #175fc5;
	--ck-shadow-sm: 0 8px 24px rgba(21, 23, 26, 0.07);
	--ck-shadow-lg: 0 24px 60px rgba(21, 23, 26, 0.16);
	--ck-radius: 8px;
	--ck-shell: 1280px;
}

html {
	scroll-behavior: smooth;
	overflow-x: clip;
}

body.ck-storefront {
	background: var(--ck-bg);
	color: var(--ck-ink);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
	overflow-x: clip;
}

body.ck-storefront *,
body.ck-storefront *::before,
body.ck-storefront *::after {
	box-sizing: border-box;
}

body.ck-storefront h1,
body.ck-storefront h2,
body.ck-storefront h3,
body.ck-storefront h4,
body.ck-storefront p,
body.ck-storefront a,
body.ck-storefront button,
body.ck-storefront input,
body.ck-storefront select,
body.ck-storefront textarea {
	letter-spacing: 0;
}

body.ck-storefront p,
body.ck-storefront li {
	line-height: 1.7;
}

body.ck-storefront img {
	background-color: #ecefeb;
}

.ck-image-fallback {
	display: grid;
	width: 100%;
	height: 100%;
	min-height: 120px;
	place-items: center;
	padding: 16px;
	background: #e8ece9;
	color: #65706c;
	font-size: 0.78rem;
	font-weight: 700;
	line-height: 1.4;
	text-align: center;
}

.ck-hero-card > .ck-image-fallback,
.ck-category-card__media > .ck-image-fallback,
.ck-product-card__media > .ck-image-fallback,
.ck-about-media__item > .ck-image-fallback {
	position: absolute;
	inset: 0;
	min-height: 0;
}

.woocommerce ul.products li.product .ck-image-fallback,
.woocommerce div.product div.images .ck-image-fallback {
	aspect-ratio: 4 / 5;
	border-radius: var(--ck-radius);
}

body.ck-storefront a {
	color: inherit;
	transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease, opacity 180ms ease;
}

body.ck-storefront a:focus-visible,
body.ck-storefront button:focus-visible,
body.ck-storefront input:focus-visible,
body.ck-storefront select:focus-visible,
body.ck-storefront textarea:focus-visible {
	outline: 3px solid rgba(23, 95, 197, 0.35);
	outline-offset: 3px;
}

.ck-shell {
	width: min(calc(100% - 48px), var(--ck-shell));
	margin-inline: auto;
}

.ck-eyebrow {
	margin: 0 0 14px;
	color: var(--ck-gold-dark);
	font-size: 0.78rem;
	font-weight: 800;
	line-height: 1.2;
	text-transform: uppercase;
}

.ck-button,
body.ck-storefront .ck-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0 22px;
	border: 1px solid transparent;
	border-radius: 6px;
	font-size: 0.95rem;
	font-weight: 800;
	line-height: 1;
	text-decoration: none;
	white-space: nowrap;
}

.ck-button svg,
.ck-text-link svg,
.ck-category-card__arrow svg {
	width: 18px;
	height: 18px;
	margin-left: 9px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.8;
}

.ck-button--primary {
	background: var(--ck-gold);
	color: #17130c !important;
}

.ck-button--primary:hover {
	background: #d5b66f;
	box-shadow: 0 12px 28px rgba(197, 163, 91, 0.22);
	transform: translateY(-2px);
}

.ck-button--secondary {
	border-color: rgba(255, 255, 255, 0.42);
	background: rgba(255, 255, 255, 0.06);
	color: #ffffff !important;
}

.ck-button--secondary:hover {
	border-color: #ffffff;
	background: rgba(255, 255, 255, 0.13);
}

.ck-button--light {
	background: #ffffff;
	color: var(--ck-ink) !important;
}

.ck-button--light:hover {
	background: var(--ck-gold);
	transform: translateY(-2px);
}

.ck-button--forest,
body.ck-storefront .ck-button--forest {
	background: var(--ck-forest);
	color: #ffffff;
}

.ck-button--forest:hover,
body.ck-storefront .ck-button--forest:hover {
	background: var(--ck-forest-dark);
	color: #ffffff;
	box-shadow: 0 12px 26px rgba(31, 73, 61, 0.18);
	transform: translateY(-1px);
}

.ck-text-link {
	display: inline-flex;
	align-items: center;
	color: var(--ck-forest) !important;
	font-size: 0.95rem;
	font-weight: 800;
	text-decoration: none;
}

.ck-text-link:hover {
	color: var(--ck-gold-dark) !important;
}

.ck-announcement {
	background: var(--ck-ink);
	color: rgba(255, 255, 255, 0.84);
	font-size: 0.76rem;
	font-weight: 700;
	line-height: 1.35;
	text-align: center;
}

.ck-announcement__inner {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 34px;
	gap: 18px;
}

.ck-announcement__inner span + span::before {
	content: "";
	display: inline-block;
	width: 3px;
	height: 3px;
	margin-right: 18px;
	border-radius: 50%;
	background: var(--ck-gold);
	vertical-align: middle;
}

.site-header,
.ast-primary-header-bar {
	background: rgba(255, 255, 255, 0.98);
}

.site-header {
	position: relative;
	z-index: 100;
	border-bottom: 1px solid rgba(21, 23, 26, 0.08);
	box-shadow: 0 8px 24px rgba(21, 23, 26, 0.05);
}

.ast-primary-header-bar {
	border-bottom: 0;
}

.site-header .ast-container,
.ast-primary-header-bar .ast-builder-grid-row {
	max-width: var(--ck-shell);
}

.ast-site-identity .site-title a {
	color: var(--ck-ink);
	font-weight: 800;
}

.main-header-menu > .menu-item > .menu-link {
	color: var(--ck-ink-soft);
	font-size: 0.91rem;
	font-weight: 700;
}

.main-header-menu > .menu-item > .menu-link:hover,
.main-header-menu > .current-menu-item > .menu-link {
	color: var(--ck-forest);
}

.ast-header-search .ast-icon,
.ast-site-header-cart .ast-addon-cart-wrap {
	color: var(--ck-ink);
}

#ast-desktop-header .ast-primary-header-bar .ast-builder-grid-row-has-sides {
	grid-template-columns: auto minmax(0, 1fr);
	column-gap: clamp(16px, 1.5vw, 24px);
}

#ast-desktop-header .site-header-primary-section-left,
#ast-desktop-header .site-header-primary-section-right {
	min-width: 0;
}

#ast-desktop-header .site-header-primary-section-right {
	flex-wrap: nowrap;
}

#ast-desktop-header .ast-builder-menu-1,
#ast-desktop-header .main-navigation,
#ast-desktop-header .main-header-menu {
	flex-wrap: nowrap;
}

#ast-desktop-header .ast-builder-menu-1 {
	flex: 0 0 auto;
	padding-right: 6px;
}

#ast-desktop-header .main-header-menu > .menu-item {
	flex-shrink: 0;
}

#ast-desktop-header .main-header-menu > .menu-item > .menu-link {
	padding-right: 8px;
	padding-left: 8px;
	white-space: nowrap;
}

#ast-desktop-header .ast-header-search {
	flex: 1 1 300px;
	min-width: 220px;
	max-width: 340px;
	padding-right: 8px;
	padding-left: 8px;
}

#ast-desktop-header .ast-header-woo-cart {
	flex: 0 0 auto;
	padding-left: 6px;
}

.ckc-mobile-product-search {
	display: none;
}

.ckc-product-search-form {
	display: flex;
	align-items: stretch;
	width: 100%;
	min-width: 0;
	height: 44px;
	margin: 0;
	overflow: hidden;
	border: 1px solid #cfd5dc;
	border-radius: 6px;
	background: #ffffff;
	box-shadow: none;
	transition: border-color 160ms ease, box-shadow 160ms ease;
}

.ckc-product-search-form:focus-within {
	border-color: var(--ck-blue);
	box-shadow: 0 0 0 3px rgba(23, 95, 197, 0.16);
}

body.ck-storefront .ckc-product-search-input {
	flex: 1 1 auto;
	width: auto;
	min-width: 0;
	height: 42px;
	padding: 0 14px;
	border: 0;
	border-radius: 0;
	background: #ffffff;
	box-shadow: none;
	color: var(--ck-ink);
	font-size: 0.9rem;
	line-height: 1.2;
}

body.ck-storefront .ckc-product-search-input::placeholder {
	color: #737b85;
	opacity: 1;
}

body.ck-storefront .ckc-product-search-input:focus,
body.ck-storefront .ckc-product-search-input:focus-visible {
	outline: 0;
	box-shadow: none;
}

body.ck-storefront .ckc-product-search-submit {
	display: inline-flex;
	flex: 0 0 46px;
	align-items: center;
	justify-content: center;
	width: 46px;
	min-width: 46px;
	height: 42px;
	min-height: 0;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: var(--ck-blue);
	box-shadow: none;
	color: #ffffff;
	cursor: pointer;
	transition: background-color 160ms ease;
}

body.ck-storefront .ckc-product-search-submit:hover {
	background: #104c9f;
}

body.ck-storefront .ckc-product-search-submit:focus-visible {
	outline: 2px solid #ffffff;
	outline-offset: -4px;
}

.ckc-product-search-submit svg {
	width: 20px;
	height: 20px;
}

.ckc-product-search-submit .ast-icon {
	display: inline-flex;
	width: 20px;
	height: 20px;
	line-height: 0;
}

.ckc-product-search-submit .ast-icon svg {
	fill: currentColor;
}

.ckc-product-search-submit > svg {
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.9;
}

.site-primary-footer-wrap,
.site-below-footer-wrap {
	background: #171717;
	color: rgba(255, 255, 255, 0.72);
}

.site-primary-footer-wrap a,
.site-below-footer-wrap a {
	color: #ffffff;
}

.site-primary-footer-wrap .widget-title,
.site-primary-footer-wrap h2,
.site-primary-footer-wrap h3 {
	color: #ffffff;
	font-weight: 800;
}

.site-primary-footer-wrap .menu-link,
.site-primary-footer-wrap a {
	min-height: 38px;
}

.ck-commerce-footer {
	overflow: hidden;
	padding: 68px 0 62px;
	background: #171717;
	color: rgba(255, 255, 255, 0.68);
}

.ck-commerce-footer__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.45fr) minmax(180px, 0.72fr) minmax(240px, 0.95fr);
	align-items: start;
	gap: clamp(44px, 6vw, 96px);
}

.ck-commerce-footer__brand,
.ck-commerce-footer__column {
	min-width: 0;
}

.ck-commerce-footer__brand {
	max-width: 440px;
}

.ck-commerce-footer__logo {
	margin-bottom: 22px;
}

.ck-commerce-footer__logo .custom-logo-link {
	display: inline-flex;
}

.ck-commerce-footer__logo .custom-logo {
	display: block;
	width: 96px;
	height: auto;
	max-width: 100%;
	border-radius: 10px;
}

.ck-commerce-footer__brand-name {
	display: inline-block;
	color: #ffffff;
	font-size: 1.25rem;
	font-weight: 800;
	line-height: 1.2;
	text-decoration: none;
}

.ck-commerce-footer__description {
	max-width: 400px;
	margin: 0;
	font-size: 0.9rem;
	line-height: 1.75;
}

.ck-commerce-footer__title {
	margin: 0 0 20px;
	color: #ffffff;
	font-size: 1.05rem;
	font-weight: 800;
	line-height: 1.3;
}

.ck-commerce-footer__menu,
.ck-commerce-footer__contact-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.ck-commerce-footer__menu li + li {
	margin-top: 2px;
}

.ck-commerce-footer__menu a {
	display: inline-flex;
	align-items: center;
	min-height: 42px;
	padding: 6px 0;
	color: rgba(255, 255, 255, 0.7);
	font-size: 0.9rem;
	font-weight: 700;
	line-height: 1.4;
	text-decoration: none;
	transition: color 160ms ease, transform 160ms ease;
}

.ck-commerce-footer__menu a:hover,
.ck-commerce-footer__menu a:focus-visible {
	color: var(--ck-gold);
	transform: translateX(3px);
}

.ck-commerce-footer__contact-list li + li {
	margin-top: 10px;
}

.ck-commerce-footer__contact-link {
	display: grid;
	grid-template-columns: 40px minmax(0, 1fr);
	align-items: center;
	gap: 13px;
	max-width: 360px;
	padding: 5px 0;
	color: inherit;
	text-decoration: none;
}

.ck-commerce-footer__contact-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.05);
	color: var(--ck-gold);
	transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.ck-commerce-footer__contact-icon svg {
	width: 20px;
	height: 20px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.7;
}

.ck-commerce-footer__contact-copy {
	min-width: 0;
}

.ck-commerce-footer__contact-label,
.ck-commerce-footer__contact-value {
	display: block;
}

.ck-commerce-footer__contact-label {
	color: rgba(255, 255, 255, 0.48);
	font-size: 0.68rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	line-height: 1.3;
	text-transform: uppercase;
}

.ck-commerce-footer__contact-value {
	margin-top: 3px;
	color: rgba(255, 255, 255, 0.82);
	font-size: 0.88rem;
	font-weight: 700;
	line-height: 1.45;
	overflow-wrap: anywhere;
	transition: color 160ms ease;
}

.ck-commerce-footer__contact-link:hover .ck-commerce-footer__contact-icon,
.ck-commerce-footer__contact-link:focus-visible .ck-commerce-footer__contact-icon {
	border-color: var(--ck-gold);
	background: var(--ck-gold);
	color: #171717;
}

.ck-commerce-footer__contact-link:hover .ck-commerce-footer__contact-value,
.ck-commerce-footer__contact-link:focus-visible .ck-commerce-footer__contact-value {
	color: var(--ck-gold);
}

.ck-commerce-footer a:focus-visible {
	outline: 2px solid var(--ck-gold);
	outline-offset: 4px;
}

.site-below-footer-wrap {
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.site-below-footer-wrap .ast-footer-copyright {
	color: rgba(255, 255, 255, 0.58);
	font-size: 0.78rem;
	line-height: 1.5;
}

.site-below-footer-wrap .ast-footer-copyright p {
	margin: 0;
}

/* Keep Astra Header Builder's copyright row visually joined to the commercial footer. */
#colophon.site-footer .site-below-footer-wrap {
	background: #171717;
	color: rgba(255, 255, 255, 0.78);
}

#colophon.site-footer .site-below-footer-wrap .ast-footer-copyright,
#colophon.site-footer .site-below-footer-wrap .ast-footer-copyright p {
	color: rgba(255, 255, 255, 0.78);
}
