/*
Theme Name:   DENWARD Child
Theme URI:    https://test03.jasonkbs.site
Description:  DENWARD — men's denim store child theme for Kadence (free).
Author:       DENWARD
Template:     kadence
Version:      1.0.0
Text Domain:  denward
*/

/* --------------------------------------------------------------------------
   1. Self-hosted Latin faces (subset, preloaded by inc/assets.php)
   Korean / Japanese faces are delivered by Google Fonts CSS (unicode-range
   chunks), so Latin-only pages never download the CJK files.
   -------------------------------------------------------------------------- */

@font-face {
	font-family: "Playfair Display";
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url("assets/fonts/serif-latin-600.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+2013-2014, U+2018-201D, U+2026, U+00B7, U+2192, U+00D7;
}

@font-face {
	font-family: "Inter";
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url("assets/fonts/sans-latin-500.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+2013-2014, U+2018-201D, U+2026, U+00B7, U+2192, U+00D7;
}

/* --------------------------------------------------------------------------
   2. Kadence trims — the child owns page composition
   -------------------------------------------------------------------------- */

/* Kadence wraps content in its own container; our sections need full-bleed. */
.dw-home,
.dw-shop,
.dw-pdp-page,
.dw-404,
.dw-editorial-page {
	margin: 0;
}

.dw-home .entry-content > .kadence-column,
.dw-home .site-main > .entry-content {
	max-width: none;
}

/* Hide Kadence's default archive title block on shop (we draw our own). */
.dw-shop .entry-header,
.dw-shop .kadence-breadcrumbs,
.dw-pdp-page .entry-header,
.dw-pdp-page .kadence-breadcrumbs {
	display: none;
}

/* Header: quiet, hairline, condenses on scroll. */
.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	transition: padding 0.25s cubic-bezier(0.22, 0.61, 0.36, 1), box-shadow 0.25s;
}

.site-header.is-condensed {
	box-shadow: 0 1px 0 rgba(27, 26, 24, 0.08);
}

.site-header .site-branding img,
.site-header .custom-logo {
	max-height: 34px;
	width: auto;
}

/* Kadence buttons inherit brand shapes. */
.kadence-button,
.wp-block-button__link {
	border-radius: 0 !important;
}

/* Make sure Kadence's footer widget grid reads on ink. */
.site-footer .widget-area {
	color: var(--dw-grey-300);
}

/* WooCommerce blocks inherit our tokens instead of Kadence blues. */
.wc-block-components-button,
.wc-block-components-button:not(.is-link) {
	background: var(--dw-ink) !important;
	color: var(--dw-ivory) !important;
	border-radius: 0 !important;
}

.wc-block-grid__product-title {
	font-family: var(--dw-font-sans);
	font-size: 0.9375rem;
}

/* Star ratings stay quiet and brass-toned. */
.woocommerce .star-rating span,
.wc-block-components-product-rating__stars span {
	color: var(--dw-brass);
}
