/* SoundCastle cart contrast fixes for the site-wide dark storefront theme. */
body.woocommerce-cart .woocommerce-cart-form .product-name a,
body.woocommerce-cart .shop_table .product-name a {
	color: #f4f4f4 !important;
	font-weight: 700;
}

body.woocommerce-cart .woocommerce-cart-form .product-name a:hover,
body.woocommerce-cart .woocommerce-cart-form .product-name a:focus-visible,
body.woocommerce-cart .shop_table .product-name a:hover,
body.woocommerce-cart .shop_table .product-name a:focus-visible {
	color: #efc35e !important;
}

.scfpc-product-search {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 10px;
	width: 100%;
	margin: 0 0 28px;
}

.scfpc-product-search input[type="search"] {
	min-width: 0;
	height: 52px;
	padding: 0 18px;
	border: 1px solid #48505b;
	border-radius: 4px;
	background: #11161c;
	color: #f4f4f4;
	font-size: 16px;
}

.scfpc-product-search input[type="search"]::placeholder {
	color: #aeb4bc;
}

.scfpc-product-search input[type="search"]:focus {
	border-color: #efc35e;
	outline: 2px solid rgba(239, 195, 94, 0.28);
	outline-offset: 1px;
}

.scfpc-product-search button {
	height: 52px;
	padding: 0 24px;
	border: 0;
	border-radius: 4px;
	background: #efc35e;
	color: #111318;
	font-weight: 800;
	cursor: pointer;
}

.scfpc-product-search button:hover,
.scfpc-product-search button:focus-visible {
	background: #f7d77f;
}

/* Legal information page: keep the dark page and white table fully readable. */
body.page-id-20472 .sc-legal-page,
body.page-id-20472 .sc-legal-page h1,
body.page-id-20472 .sc-legal-page .sc-note {
	color: #f4f4f4 !important;
}

body.page-id-20472 .sc-legal-page h1 {
	margin-bottom: 32px;
}

body.page-id-20472 .sc-legal-page .sc-table-wrap {
	overflow-x: auto;
	border-radius: 12px;
}

body.page-id-20472 .sc-legal-page .sc-legal-table th {
	background: #e9edf3 !important;
	color: #111827 !important;
}

body.page-id-20472 .sc-legal-page .sc-legal-table td {
	background: #ffffff !important;
	color: #1f2937 !important;
}

body.page-id-20472 .sc-legal-page .sc-legal-table td a {
	color: #174f8a !important;
	text-decoration: underline;
	text-underline-offset: 2px;
}

body.page-id-20472 .sc-legal-page .sc-note {
	margin-top: 22px;
}

/* SoundCastle introduction page. */
body.page-id-20710 .fusion-page-title-bar {
	display: none !important;
}

body.page-id-20710 #wrapper,
body.page-id-20710 #main {
	background: #080b0f !important;
}

body.page-id-20710 .sc-about-page {
	max-width: 1120px;
	margin: 0 auto;
	padding: 72px 24px 96px;
	color: #f4f4f4;
}

body.page-id-20710 .sc-about-hero {
	max-width: 850px;
	margin-bottom: 72px;
}

body.page-id-20710 .sc-about-eyebrow {
	margin: 0 0 18px;
	color: #efc35e;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.16em;
}

body.page-id-20710 .sc-about-page h1,
body.page-id-20710 .sc-about-page h2 {
	color: #f4f4f4 !important;
}

body.page-id-20710 .sc-about-page h1 {
	margin: 0 0 24px;
	font-size: clamp(42px, 7vw, 76px);
	line-height: 1.08;
}

body.page-id-20710 .sc-about-title-brand,
body.page-id-20710 .sc-about-title-ja {
	display: inline;
}

body.page-id-20710 .sc-about-lead {
	margin: 0 0 18px;
	color: #ffffff;
	font-size: clamp(20px, 2.5vw, 28px);
	font-weight: 700;
	line-height: 1.6;
}

body.page-id-20710 .sc-about-hero > p:last-child {
	max-width: 760px;
	color: #b9c0ca;
	font-size: 17px;
	line-height: 1.85;
}

body.page-id-20710 .sc-about-section {
	margin-top: 64px;
}

body.page-id-20710 .sc-about-section h2 {
	margin-bottom: 24px;
	font-size: 30px;
}

body.page-id-20710 .sc-about-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

body.page-id-20710 .sc-about-card {
	display: flex;
	min-height: 150px;
	padding: 26px;
	flex-direction: column;
	justify-content: space-between;
	border: 1px solid #303844;
	border-radius: 12px;
	background: #10151b;
	color: #f4f4f4 !important;
}

body.page-id-20710 .sc-about-card:hover,
body.page-id-20710 .sc-about-card:focus-visible {
	border-color: #efc35e;
	transform: translateY(-2px);
}

body.page-id-20710 .sc-about-card strong {
	font-size: 20px;
}

body.page-id-20710 .sc-about-card span {
	color: #aeb5bf;
}

body.page-id-20710 .sc-about-company dl {
	margin: 0;
	border-top: 1px solid #39414c;
}

body.page-id-20710 .sc-about-company dl > div {
	display: grid;
	grid-template-columns: 180px 1fr;
	gap: 24px;
	padding: 20px 0;
	border-bottom: 1px solid #39414c;
}

body.page-id-20710 .sc-about-company dt {
	color: #9ea6b1;
	font-weight: 700;
}

body.page-id-20710 .sc-about-company dd {
	margin: 0;
	color: #f4f4f4;
}

body.page-id-20710 .sc-about-company a {
	color: #efc35e !important;
}

body.page-id-20710 .sc-about-actions {
	display: flex;
	gap: 12px;
	margin-top: 48px;
}

body.page-id-20710 .sc-about-actions a {
	display: inline-flex;
	min-height: 52px;
	padding: 0 24px;
	align-items: center;
	justify-content: center;
	border-radius: 4px;
	font-weight: 800;
}

body.page-id-20710 .sc-about-primary {
	background: #efc35e;
	color: #111318 !important;
}

body.page-id-20710 .sc-about-secondary {
	border: 1px solid #57616e;
	color: #f4f4f4 !important;
}

@media (max-width: 767px) {
	.scfpc-product-search {
		grid-template-columns: 1fr;
		margin-bottom: 22px;
	}

	.scfpc-product-search button {
		width: 100%;
	}

	body.woocommerce-cart .shop_table_responsive .product-name {
		overflow-wrap: anywhere;
	}

	body.page-id-20472 .sc-legal-page .sc-legal-table,
	body.page-id-20472 .sc-legal-page .sc-legal-table tbody,
	body.page-id-20472 .sc-legal-page .sc-legal-table tr,
	body.page-id-20472 .sc-legal-page .sc-legal-table th,
	body.page-id-20472 .sc-legal-page .sc-legal-table td {
		display: block;
		width: 100% !important;
	}

	body.page-id-20472 .sc-legal-page .sc-legal-table tr {
		border-bottom: 1px solid #cfd5dd;
	}

	body.page-id-20472 .sc-legal-page .sc-legal-table th {
		padding-bottom: 8px;
		border-bottom: 0;
	}

	body.page-id-20472 .sc-legal-page .sc-legal-table td {
		padding-top: 10px;
		overflow-wrap: anywhere;
	}

	body.page-id-20710 .sc-about-page {
		padding: 48px 20px 72px;
	}

	body.page-id-20710 .sc-about-hero {
		margin-bottom: 48px;
	}

	body.page-id-20710 .sc-about-title-brand,
	body.page-id-20710 .sc-about-title-ja {
		display: block;
	}

	body.page-id-20710 .sc-about-grid {
		grid-template-columns: 1fr;
	}

	body.page-id-20710 .sc-about-company dl > div {
		grid-template-columns: 1fr;
		gap: 6px;
	}

	body.page-id-20710 .sc-about-actions {
		flex-direction: column;
	}

	body.page-id-20710 .sc-about-actions a {
		width: 100%;
	}
}
