/*
Theme Name: Razzi Child
Theme URI: https://ofmatter.uk/
Description: Child theme for the Razzi WooCommerce theme on Of Matter.
Author: Of Matter
Template: razzi
Version: 1.0.0
Text Domain: razzi-child
*/

.ofmatter-ring-fit {
	margin: 24px 0;
	padding: 18px 0;
	border-top: 1px solid var(--rz-border-color-light, #e2e2e2);
	border-bottom: 1px solid var(--rz-border-color-light, #e2e2e2);
}

.ofmatter-ring-fit p {
	margin: 0;
}

.ofmatter-ring-fit__eyebrow {
	margin-bottom: 6px !important;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.12em;
	line-height: 1.4;
	text-transform: uppercase;
}

.ofmatter-ring-fit__value {
	font-size: 22px;
	line-height: 1.35;
}

.ofmatter-ring-fit__approx {
	margin-top: 10px !important;
	color: var(--rz-text-color-gray, #767676);
	font-size: 12px;
}

.ofmatter-ring-fit__conversions {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 18px;
	margin-top: 4px;
	font-size: 14px;
	line-height: 1.5;
}

.ofmatter-ring-fit__conversions strong,
.ofmatter-ring-fit__diameter strong {
	color: var(--rz-color-dark, #111111);
	font-weight: 500;
}

.ofmatter-ring-fit__diameter {
	margin-top: 4px !important;
	font-size: 14px;
}

.ofmatter-ring-fit__note {
	margin-top: 10px !important;
	color: var(--rz-text-color-gray, #767676);
	font-size: 13px;
	line-height: 1.5;
}

.ofmatter-ring-sizes__intro {
	margin: 0 0 6px;
	line-height: 1.6;
}

.ofmatter-ring-sizes__note {
	margin: 0 0 16px;
	color: var(--rz-text-color-gray, #767676);
	font-size: 13px;
	line-height: 1.5;
}

.ofmatter-ring-sizes__scroll {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.woocommerce-tabs .ofmatter-ring-sizes__table {
	width: 100%;
	min-width: 500px;
	margin: 0;
	border: 0;
	border-collapse: collapse;
	table-layout: fixed;
}

.woocommerce-tabs .ofmatter-ring-sizes__table th,
.woocommerce-tabs .ofmatter-ring-sizes__table td {
	padding: 12px 10px;
	border: 0;
	border-bottom: 1px solid var(--rz-border-color-light, #e2e2e2);
	text-align: center;
	vertical-align: middle;
}

.woocommerce-tabs .ofmatter-ring-sizes__table thead th {
	display: table-cell;
	font-weight: 600;
	white-space: nowrap;
}

.woocommerce-tabs .ofmatter-ring-sizes__table thead th:last-child {
	white-space: normal;
}

.woocommerce-tabs .ofmatter-ring-sizes__table thead tr {
	display: table-row;
}

.woocommerce-tabs .ofmatter-ring-sizes__table tbody th {
	font-weight: 500;
}

.woocommerce-tabs .ofmatter-ring-sizes__table tbody tr.is-current th,
.woocommerce-tabs .ofmatter-ring-sizes__table tbody tr.is-current td {
	background: var(--rz-background-color-gray, #f5f5f5);
	font-weight: 600;
}

.ofmatter-ring-sizes__marker {
	display: block;
	margin-top: 2px;
	font-size: 10px;
	font-weight: 500;
	letter-spacing: 0.04em;
	line-height: 1.2;
	white-space: nowrap;
}

@media (max-width: 767px) {
	.ofmatter-ring-fit {
		margin: 20px 0;
		padding: 16px 0;
	}
}

/* Of Matter footer */
.ofmatter-footer {
	padding: 72px 0 64px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.15);
	font-family: "Libre Baskerville", sans-serif;
}

.ofmatter-footer__inner {
	display: grid;
	grid-template-columns: minmax(280px, 1.25fr) minmax(440px, 1fr);
	gap: 80px;
	align-items: start;
}

.ofmatter-footer__brand {
	max-width: 480px;
}

.ofmatter-footer__logo {
	display: inline-flex;
	width: min(190px, 100%);
	color: #ffffff;
}

.ofmatter-footer__logo svg,
.ofmatter-footer__logo img {
	display: block;
	width: 100%;
	height: auto;
}

.ofmatter-footer__logo svg path,
.ofmatter-footer__logo svg polygon,
.ofmatter-footer__logo svg rect {
	fill: currentColor !important;
}

.ofmatter-footer__text-logo {
	font-size: 28px;
	letter-spacing: 0.04em;
}

.ofmatter-footer__story {
	max-width: 440px;
	margin: 28px 0 20px;
	color: rgba(255, 255, 255, 0.7);
	font-size: 15px;
	line-height: 1.75;
}

.ofmatter-footer__story-link {
	display: inline-flex;
	gap: 12px;
	align-items: center;
	padding-bottom: 3px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.45);
	color: #ffffff;
	font-size: 14px;
	line-height: 1.5;
}

.ofmatter-footer__story-link:hover,
.ofmatter-footer__story-link:focus {
	border-bottom-color: #ffffff;
	color: #ffffff;
}

.ofmatter-footer__story-link span {
	transition: transform 180ms ease;
}

.ofmatter-footer__story-link:hover span,
.ofmatter-footer__story-link:focus span {
	transform: translateX(3px);
}

.ofmatter-footer__navigation {
	display: grid;
	grid-template-columns: repeat(3, minmax(110px, 1fr));
	gap: 44px;
}

.ofmatter-footer__menu h2 {
	margin: 0 0 22px;
	color: #ffffff;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.13em;
	line-height: 1.4;
	text-transform: uppercase;
}

.ofmatter-footer__menu ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.ofmatter-footer__menu li + li {
	margin-top: 12px;
}

.ofmatter-footer__menu a {
	color: rgba(255, 255, 255, 0.7);
	font-size: 14px;
	line-height: 1.5;
}

.ofmatter-footer__menu a:hover,
.ofmatter-footer__menu a:focus {
	color: #ffffff;
}

.site-footer .footer-main.site-info {
	padding-top: 24px;
	padding-bottom: 24px;
}

.site-footer .footer-main .copyright {
	color: rgba(255, 255, 255, 0.55);
	font-size: 12px;
	letter-spacing: 0.02em;
}

@media (max-width: 991px) {
	.ofmatter-footer {
		padding: 56px 0 52px;
	}

	.ofmatter-footer__inner {
		grid-template-columns: 1fr;
		gap: 48px;
	}

	.ofmatter-footer__brand {
		max-width: 560px;
	}
}

@media (max-width: 575px) {
	.ofmatter-footer {
		padding: 44px 0 40px;
	}

	.ofmatter-footer__logo {
		width: 170px;
	}

	.ofmatter-footer__story {
		margin-top: 22px;
		font-size: 14px;
	}

	.ofmatter-footer__navigation {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 38px 28px;
	}

	.ofmatter-footer__menu:last-child {
		grid-column: 1 / -1;
	}
}

/* Legal & Customer Care Pages */
.legal-page-content {
	max-width: 820px;
	margin: 40px auto 80px;
	padding: 0 20px;
	color: #2c2c2c;
	line-height: 1.8;
	font-family: "Libre Baskerville", Georgia, serif;
}

.legal-lead {
	font-size: 1.15em;
	line-height: 1.85;
	color: #444;
	margin-bottom: 32px;
	padding-bottom: 24px;
	border-bottom: 1px solid rgba(129, 122, 99, 0.2);
}

.legal-page-content h2 {
	margin-top: 40px;
	margin-bottom: 16px;
	font-size: 1.4em;
	color: #231815;
	letter-spacing: 0.02em;
}

.legal-page-content h3 {
	margin-top: 24px;
	margin-bottom: 12px;
	font-size: 1.15em;
	color: #333;
}

.legal-page-content ul,
.legal-page-content ol {
	margin: 16px 0 24px 24px;
	padding: 0;
}

.legal-page-content li {
	margin-bottom: 10px;
}

.legal-page-content a {
	color: #817a63;
	text-decoration: underline;
}

.legal-page-content a:hover {
	color: #231815;
}
