/**
 * Cool Towels Australia: styles theme.json cannot express.
 * Colours, fonts and component tokens are in theme.json.
 */

/* Body copy outside the content area uses Open Sans, as on the live site. */
.site-footer,
.widget-area,
.ap-breadcrumbs,
.woocommerce .woocommerce-result-count,
.woocommerce .woocommerce-ordering {
	font-family: var(--wp--preset--font-family--ui);
}

.site-footer {
	font-size: 0.8125rem;
}

.site-footer .widget-title {
	font-family: var(--wp--preset--font-family--heading);
	font-size: 0.875rem;
	font-weight: 400;
}

/* Social links in the footer: small square brand buttons. */
.site-footer .wp-block-social-links {
	gap: 0.35rem;
}

.site-footer .wp-block-social-links .wp-social-link {
	border-radius: 0;
}

.site-footer .wp-block-social-links .wp-social-link a {
	padding: 0.3rem;
}

/* Inline icons from the old [font_awesome] shortcode. */
.ap-inline-icon {
	display: inline-flex;
	vertical-align: -0.2em;
	margin-right: 0.4em;
}

.ap-inline-icon .ap-icon {
	width: var(--ap-inline-icon-size, 1.1em);
	height: var(--ap-inline-icon-size, 1.1em);
}

/* Page header title in Merriweather, as on the live site. */
.ap-page-header .ap-page-header__title {
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 400;
}

/* Sidebar "Pages Navigation" menu: current page in green. */
.widget-area .widget_nav_menu .current-menu-item > a {
	color: var(--wp--preset--color--base);
	background: var(--wp--preset--color--primary);
}

/* Home: hero ------------------------------------------------------------------ */
.ct-hero h1 {
	margin-bottom: 0.5rem;
}

.ct-hero p {
	color: #0a0a0a;
}

.ct-button-large .wp-block-button__link {
	font-size: 1rem;
	padding: 0.85em 1.8em;
}

/* Home: category banners ------------------------------------------------------- */
.ct-banners .wp-block-cover.is-style-ap-banner h2 {
	font-size: 1.625rem;
	font-weight: 700;
	line-height: 1.3;
}

.ct-banners .wp-block-cover.is-style-ap-banner p {
	font-family: var(--wp--preset--font-family--ui);
	font-size: 0.875rem;
}

/* Home: testimonials ----------------------------------------------------------- */
.ct-testimonials h4 {
	margin-bottom: 0;
}

.ct-testimonials h2 {
	margin-top: 0;
}

.ct-testimonials .ap-testimonials {
	font-size: 1rem;
}

/* Shop: product title and price follow the live site. */
.woocommerce ul.products li.product .price {
	font-size: 0.875rem;
}

.woocommerce div.product .product_title {
	color: var(--wp--preset--color--contrast);
}

/* Checkout: as on the live site ------------------------------------------------ */
.woocommerce-form-coupon-toggle .woocommerce-info {
	padding: 0 0 1.75rem;
	font-size: 1.125rem;
	text-align: center;
	background: none;
	border: 0;
}

.woocommerce-form-coupon-toggle .woocommerce-info::before {
	display: none;
}

.woocommerce-checkout h3 {
	margin: 0 0 1.25rem;
	font-family: var(--wp--preset--font-family--slab);
	font-size: 1.25rem;
	font-weight: 500;
	color: #515151;
}

.woocommerce form .form-row label {
	margin-bottom: 0.3rem;
	font-size: 1rem;
	font-weight: 400;
}

.woocommerce table.woocommerce-checkout-review-order-table {
	border: 0;
	border-collapse: collapse;
	border-radius: 0;
}

.woocommerce table.woocommerce-checkout-review-order-table th,
.woocommerce table.woocommerce-checkout-review-order-table td {
	padding: 0.75rem 1rem;
	border: 1px solid var(--wp--preset--color--line);
}

.woocommerce table.woocommerce-checkout-review-order-table th {
	font-family: inherit;
	font-size: 1rem;
	font-weight: 600;
	letter-spacing: 0;
	text-transform: none;
	color: #444;
}

.woocommerce table.woocommerce-checkout-review-order-table thead {
	background: var(--wp--preset--color--surface);
}

.woocommerce table.woocommerce-checkout-review-order-table .order-total td {
	color: var(--wp--preset--color--primary);
}

.woocommerce-checkout #payment {
	background: none;
	border-radius: 0;
}

.woocommerce-checkout #payment ul.payment_methods {
	margin: 1.5rem 0 1.25rem;
	padding: 0;
	border: 0;
}

.woocommerce-checkout #payment div.form-row {
	padding: 0;
}

.woocommerce-checkout #payment div.payment_box {
	margin: 0.5rem 0 1rem;
	padding: 0;
	font-size: 1rem;
	color: var(--wp--preset--color--body-text);
	background: none;
}

.woocommerce-checkout #payment div.payment_box::before {
	display: none;
}

.woocommerce-checkout #payment #place_order {
	float: none;
	width: auto;
	margin-top: 1.25rem;
	padding: 0.5em 1.25em;
	font-family: var(--wp--preset--font-family--body);
	font-size: 1rem;
	font-weight: 400;
	letter-spacing: normal;
	text-transform: none;
}

.woocommerce table.woocommerce-checkout-review-order-table tfoot td,
.woocommerce ul#shipping_method .amount {
	font-weight: 400;
}
