/*
Theme Name: Raphie's Coffee
Theme URI: https://raphiescoffee.co.uk/
Description: A lightweight Astra child theme for Raphie's Coffee. Page content remains editable in the WordPress block editor.
Author: Raphie's Coffee
Template: astra
Version: 1.0.5
Text Domain: raphies-coffee
*/

:root {
	--raphies-ink: #173a40;
	--raphies-ink-soft: #31565a;
	--raphies-cream: #f7f3eb;
	--raphies-paper: #fffdf8;
	--raphies-sage: #93a77f;
	--raphies-sage-pale: #dfe8dc;
	--raphies-gold: #c89c57;
	--raphies-clay: #b66e52;
	--raphies-clay-pale: #f0dfd6;
	--raphies-line: #ded8cc;
}

/* Keep roasting and packing choices close to their fieldset titles. */
.single-product .summary > p.price,
.single-product .summary .ast-shipping-text {
	display: none;
}

.single-product form.cart:has(.raphies-fresh-roast) .woocommerce-variation-price {
	display: none;
}

.woocommerce form.cart .raphies-packing-option table.variations {
	border-bottom: 0;
	margin-bottom: 0;
}

.woocommerce form.cart .raphies-packing-option table.variations td.value {
	padding-bottom: 0 !important;
}

.woocommerce form.cart .raphies-packing-option .reset_variations[style*="visibility: hidden"] {
	display: none;
}

.woocommerce form.cart .raphies-packing-option {
	position: relative;
}

.woocommerce form.cart .raphies-packing-option .reset_variations {
	position: absolute !important;
	top: 0;
	right: 12px;
}

.woocommerce form.cart .raphies-fresh-roast,
.woocommerce form.cart .raphies-packing-option {
	padding-top: 0 !important;
}

.woocommerce form.cart .raphies-fresh-roast legend,
.woocommerce form.cart .raphies-packing-option legend {
	margin-bottom: 0;
}

body {
	background: var(--raphies-paper);
	color: var(--raphies-ink);
	font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
	font-weight: 600;
}

.site-content,
.ast-separate-container .ast-article-single {
	background: transparent;
}

.home .entry-header,
.home .entry-title {
	display: none;
}

.home #primary {
	margin-top: 0;
	padding-top: 0;
}

.home .site-content .ast-container,
.home .site-main,
.home .ast-article-single,
.home .entry-content {
	max-width: none;
	margin: 0;
	padding: 0;
}

/* Match the contact form heading and button to the site's typography. */
.page-id-2312 .entry-content h2 {
	font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
	font-size: clamp(28px, 3vw, 36px);
	font-weight: 600;
	line-height: 1.2;
}

.page-id-2312 .rc-contact button {
	font-family: inherit;
}

/* Keep the privacy policy and Our Story readable and consistent. */
.page-id-3 .entry-content,
.page-id-2255 .entry-content {
	max-width: 760px;
	margin-inline: auto;
	font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 17px;
	line-height: 1.72;
}

.page-id-3 .entry-title,
.page-id-3 .entry-content h2,
.page-id-2255 .entry-title,
.page-id-2255 .entry-content h2 {
	font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
	font-weight: 600;
	line-height: 1.2;
}

.page-id-3 .entry-title,
.page-id-2255 .entry-title {
	font-size: clamp(38px, 5vw, 54px);
}

.page-id-3 .entry-content h2 {
	margin: 2.2em 0 .65em;
	font-size: clamp(27px, 3.5vw, 34px);
}

.page-id-2255 .entry-title {
	max-width: 760px;
	margin-inline: auto;
	margin-bottom: 28px;
}

.page-id-2255 .entry-content h2 {
	margin: 1.6em 0 .65em;
	font-size: clamp(27px, 3.5vw, 34px);
	line-height: 1.25;
}

.page-id-2255 .entry-content p {
	font: inherit;
	margin-bottom: 1.35em;
}

.page-id-2255 .raphies-story-welcome {
	margin-top: 32px;
	padding: 20px 24px;
	border-left: 4px solid var(--raphies-gold);
	background: var(--raphies-cream);
}

.page-id-3 .entry-content p,
.page-id-3 .entry-content li,
.page-id-3 .entry-content a {
	font: inherit;
}

.page-id-3 .entry-content p {
	margin-block: 0 1.15em;
}

.page-id-3 .entry-content ul {
	margin-block: 0 1.5em;
}

.page-id-3 .entry-content li + li {
	margin-top: .55em;
}

.page-id-3 .entry-content table {
	font: inherit;
	line-height: 1.55;
}

.page-id-3 .entry-content th,
.page-id-3 .entry-content td {
	padding: 14px 16px;
	vertical-align: top;
}

.page-id-3 .raphies-policy-notice {
	padding: 16px 18px;
	border-left: 4px solid var(--raphies-gold);
	background: var(--raphies-cream);
}

.page-id-2252 .entry-content,
.page-id-2253 .entry-content {
	max-width: 760px;
	margin-inline: auto;
	font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 17px;
	line-height: 1.72;
}

.page-id-2252 .entry-title,
.page-id-2253 .entry-title {
	max-width: 760px;
	margin-inline: auto;
	font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
	font-size: clamp(38px, 5vw, 54px);
	line-height: 1.2;
}

.page-id-2252 .entry-content h2,
.page-id-2253 .entry-content h2 {
	font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
	line-height: 1.25;
}

.page-id-2252 .entry-content h2,
.page-id-2253 .entry-content h2 {
	margin: 2em 0 .65em;
	font-size: clamp(27px, 3.5vw, 34px);
}

.page-id-2252 .raphies-policy-notice,
.page-id-2253 .raphies-policy-notice {
	padding: 16px 18px;
	border-left: 4px solid var(--raphies-gold);
	background: var(--raphies-cream);
}

.ast-primary-header-bar {
	background: rgba(255, 253, 248, .97);
	border-bottom: 1px solid var(--raphies-line);
}

.site-header .custom-logo-link img {
	width: 168px;
	max-width: 168px;
	max-height: 129px;
	object-fit: contain;
	filter: none !important;
}

.main-header-menu > .menu-item > .menu-link {
	color: var(--raphies-ink);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: .035em;
}

.main-header-menu > .menu-item > .menu-link:hover,
.main-header-menu > .current-menu-item > .menu-link {
	color: #a16f36;
}

.raphies-announcement {
	margin: 0;
	padding: 9px 20px;
	background: var(--raphies-ink);
	color: #fff;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .06em;
	text-align: center;
	text-transform: uppercase;
}

.raphies-hero {
	min-height: clamp(520px, 64vh, 650px);
	display: flex;
	align-items: center;
	margin: 0;
	padding: clamp(56px, 8vw, 120px) 0;
	background-color: #d8c7b2;
	background-position: center;
	background-size: cover;
}

.raphies-hero__inner {
	width: min(1180px, calc(100% - 40px));
	margin: 0 auto;
}

.raphies-hero__copy {
	width: min(560px, 100%);
	margin-left: 0 !important;
	margin-right: auto !important;
	padding: clamp(26px, 4vw, 46px);
	background: rgba(255, 253, 248, .84);
	backdrop-filter: blur(2px);
}

.raphies-eyebrow {
	margin-bottom: 16px;
	color: #9b7137;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .16em;
	text-transform: uppercase;
}

.raphies-trust-strip {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0;
	width: min(1180px, calc(100% - 40px));
	margin: 0 auto;
	border-bottom: 1px solid var(--raphies-line);
}

.raphies-trust-item {
	margin: 0;
	padding: 18px 12px;
	border-right: 1px solid var(--raphies-line);
	color: var(--raphies-ink);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .055em;
	text-align: center;
	text-transform: uppercase;
}

.raphies-trust-item::before {
	content: "•";
	margin-right: 9px;
	color: var(--raphies-gold);
}

.raphies-trust-item:last-child {
	border-right: 0;
}

.raphies-hero h1 {
	max-width: 12ch;
	margin: 0 0 18px;
	color: var(--raphies-ink);
	font-size: clamp(42px, 5vw, 66px);
	line-height: .98;
	letter-spacing: -.045em;
}

.raphies-hero p:not(.raphies-eyebrow) {
	max-width: 48ch;
	font-size: 17px;
}

.raphies-hero-actions {
	display: flex;
	align-items: center;
	gap: 24px;
	margin-top: 26px;
}

.raphies-hero-actions .wp-block-buttons,
.raphies-hero-actions .wp-block-button,
.raphies-hero-actions p {
	margin: 0;
}

.raphies-text-link a {
	color: var(--raphies-ink);
	font-size: 14px;
	font-weight: 700;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 5px;
}

/* Dormant “Find your coffee” block pattern. Styles take effect only if inserted. */
.raphies-finder {
	background: var(--raphies-cream);
}

.raphies-finder__intro {
	max-width: 680px;
	margin: 0 auto 48px;
	text-align: center;
}

.raphies-finder__intro h2 {
	margin: 0 0 16px;
	font-size: clamp(36px, 5vw, 58px);
	letter-spacing: -.04em;
}

.raphies-finder__choices {
	gap: 1px !important;
	background: var(--raphies-line);
	border: 1px solid var(--raphies-line);
}

.raphies-finder__choice {
	padding: clamp(28px, 4vw, 44px);
	background: var(--raphies-paper);
}

.raphies-finder__choice h3 {
	margin: 10px 0 14px;
	font-size: 25px;
}

.raphies-finder__note {
	margin: 26px 0 0;
	color: var(--raphies-ink-soft);
	font-size: 14px;
	text-align: center;
}

.wp-block-button__link,
.button,
button,
input[type="submit"] {
	border-radius: 0 !important;
	font-weight: 700 !important;
	letter-spacing: .035em;
}

.wp-block-button:not(.is-style-outline) .wp-block-button__link {
	background: var(--raphies-ink);
	color: #fff;
}

.wp-block-button.is-style-outline .wp-block-button__link {
	border-color: var(--raphies-ink);
	color: var(--raphies-ink);
}

.raphies-section {
	padding: clamp(70px, 9vw, 124px) 20px;
}

.raphies-section > * {
	width: min(1180px, 100%);
	margin-left: auto;
	margin-right: auto;
}

.raphies-section--cream {
	background: var(--raphies-cream);
}

.raphies-freshness {
	background: var(--raphies-paper);
}

.raphies-freshness__intro {
	max-width: 720px;
	margin: 0 auto 46px;
	text-align: center;
}

.raphies-freshness__intro h2 {
	margin: 0 0 14px;
	font-size: clamp(36px, 5vw, 58px);
	letter-spacing: -.04em;
}

.raphies-freshness__grid {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1px;
	background: var(--raphies-line);
	border: 1px solid var(--raphies-line);
}

.raphies-freshness__item {
	margin: 0 !important;
	padding: clamp(28px, 4vw, 42px);
	background: var(--raphies-cream);
}

.raphies-freshness__item:nth-child(2) {
	background: var(--raphies-sage-pale);
}

.raphies-freshness__item h3 {
	margin: 10px 0 14px;
	font-size: 25px;
}

.raphies-freshness__item p:last-child {
	margin-bottom: 0;
}

.raphies-section--ink {
	background: var(--raphies-ink);
	color: #fff;
}

.raphies-section--ink h2,
.raphies-section--ink h3,
.raphies-section--ink a {
	color: #fff;
}

.raphies-section-heading {
	display: flex;
	justify-content: space-between;
	align-items: end;
	gap: 24px;
	margin-bottom: 42px;
}

.raphies-section-heading h2 {
	margin: 0;
	font-size: clamp(34px, 4.5vw, 56px);
	letter-spacing: -.035em;
}

.raphies-category-grid {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1px;
	background: var(--raphies-line);
	border: 1px solid var(--raphies-line);
}

.raphies-category-card {
	min-height: 270px;
	display: grid !important;
	grid-template-rows: 28px 78px minmax(96px, 1fr) auto;
	align-content: start;
	justify-items: center;
	margin: 0 !important;
	padding: 28px;
	background: var(--raphies-paper);
	border-top: 5px solid var(--raphies-sage);
	text-align: center;
}

.raphies-category-card:nth-child(2),
.raphies-category-card:nth-child(4) {
	background: var(--raphies-sage-pale);
}

.raphies-category-card:nth-child(2) {
	border-top-color: var(--raphies-gold);
}

.raphies-category-card:nth-child(3) {
	border-top-color: var(--raphies-clay);
}

.raphies-category-card:nth-child(4) {
	border-top-color: var(--raphies-ink-soft);
}

.raphies-category-card h3 {
	align-self: start;
	margin: 8px 0 12px;
	font-size: 26px;
}

.raphies-category-card > p {
	margin-top: 0;
}

.raphies-category-card > p:nth-of-type(2) {
	align-self: start;
	margin-bottom: 18px;
}

.raphies-category-card > p:last-child {
	align-self: end;
}

.raphies-category-card p:last-child {
	margin-bottom: 0;
}

.raphies-category-card a {
	color: var(--raphies-ink);
	font-weight: 700;
}

.raphies-proof-grid {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 36px;
}

.raphies-proof-grid h3 {
	margin: 12px 0 10px;
	font-size: 23px;
}

.raphies-number {
	color: var(--raphies-gold);
	font-weight: 800;
	letter-spacing: .1em;
}

.raphies-photo-story {
	background: var(--raphies-paper);
}

.raphies-photo-story__grid {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}

.raphies-photo-card {
	margin: 0;
}

.raphies-photo-card img {
	width: 100%;
	aspect-ratio: 3 / 2;
	object-fit: cover;
}

.raphies-photo-card figcaption {
	margin: 0;
	padding: 14px 16px;
	background: var(--raphies-sage-pale);
	color: var(--raphies-ink);
	font-size: 13px;
	text-align: left;
}

.raphies-photo-card:nth-child(2) figcaption {
	background: var(--raphies-clay-pale);
}

.raphies-photo-card:nth-child(3) figcaption {
	background: var(--raphies-cream);
}

/* Give product summaries, descriptions and related products room at the edges. */
.single-product .site-content .ast-container {
	box-sizing: border-box;
	width: 100%;
	max-width: 1240px;
	margin-inline: auto;
	padding-inline: clamp(24px, 4vw, 56px) !important;
}

.single-product .woocommerce-tabs .panel {
	line-height: 1.75;
}

.single-product .woocommerce-tabs .panel > p {
	max-width: 75ch;
}

.single-product .raphies-tasting-item {
	overflow-wrap: anywhere;
}

.raphies-tasting-profile {
	margin: 34px 0;
	padding: clamp(24px, 4vw, 38px);
	background: var(--raphies-cream);
	border-left: 5px solid var(--raphies-clay);
}

.raphies-tasting-profile h2 {
	margin-top: 0;
}

.raphies-tasting-grid {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1px;
	margin: 24px 0 0;
	background: var(--raphies-line);
	border: 1px solid var(--raphies-line);
}

.raphies-tasting-grid--three {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.raphies-tasting-item {
	padding: 20px;
	background: var(--raphies-paper);
}

.raphies-tasting-item p {
	margin: 0;
}

.raphies-tasting-label {
	margin-bottom: 6px !important;
	color: var(--raphies-clay);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.raphies-demo-note {
	color: var(--raphies-ink-soft);
	font-size: 13px;
}

.raphies-newsletter-form {
	max-width: 620px;
	margin: 28px auto 0;
}

.raphies-newsletter-form .mailpoet_form {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 10px;
	padding: 0 !important;
	background: transparent !important;
}

.raphies-newsletter-form .mailpoet_paragraph,
.raphies-newsletter-form .mailpoet_form_paragraph {
	margin: 0 !important;
}

.raphies-newsletter-form .mailpoet_text {
	width: 100% !important;
	min-height: 52px;
	padding: 12px 16px !important;
	border: 1px solid var(--raphies-line) !important;
	border-radius: 0 !important;
	background: var(--raphies-paper) !important;
	color: var(--raphies-ink) !important;
}

.raphies-newsletter-form .mailpoet_submit {
	min-height: 52px;
	padding: 12px 22px !important;
	border: 1px solid var(--raphies-ink) !important;
	border-radius: 0 !important;
	background: var(--raphies-ink) !important;
	color: #fff !important;
	font-size: 13px !important;
	font-weight: 800 !important;
	letter-spacing: .045em;
}

.raphies-newsletter-form .mailpoet_form_paragraph:last-of-type,
.raphies-newsletter-form .mailpoet_message {
	grid-column: 1 / -1;
}

.raphies-newsletter-form .mailpoet_form_paragraph:last-of-type {
	margin-top: 9px !important;
	color: var(--raphies-ink-soft);
	font-size: 12px;
}

.raphies-footer-content .raphies-newsletter-form {
	margin: 18px auto 0;
}

.raphies-footer-content .raphies-newsletter-form .mailpoet_form {
	grid-template-columns: 1fr;
}

.raphies-footer-content .raphies-newsletter-form .mailpoet_form_paragraph:last-of-type {
	color: rgba(255, 255, 255, .72);
}

.raphies-story {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(40px, 8vw, 100px);
	align-items: center;
}

.raphies-story h2 {
	font-size: clamp(36px, 5vw, 62px);
	letter-spacing: -.04em;
}

.raphies-story-note {
	padding: clamp(36px, 6vw, 72px);
	background: #e8eddf;
}

.raphies-shop .products {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 28px !important;
}

.raphies-shop .products::before,
.raphies-shop .products::after {
	display: none !important;
}

.raphies-shop ul.products li.product,
.woocommerce ul.products li.product {
	width: auto !important;
	margin: 0 !important;
}

.woocommerce ul.products li.product img {
	aspect-ratio: 1 / 1;
	object-fit: cover;
	background: var(--raphies-cream);
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
	font-size: 18px;
}

.site-footer {
	border-top: 1px solid var(--raphies-line);
	background: var(--raphies-ink);
	color: #f8f3e9;
}

.raphies-footer-content {
	width: min(1180px, calc(100% - 40px));
	margin: 0 auto;
	padding: 70px 0 52px;
}

.raphies-footer-content h2,
.raphies-footer-content h3,
.raphies-footer-content p,
.raphies-footer-content a {
	color: #f8f3e9;
}

.raphies-footer-content a:hover {
	color: var(--raphies-gold);
}

.raphies-footer-intro {
	display: grid !important;
	grid-template-columns: minmax(280px, 620px);
	justify-content: center;
	align-items: end;
	padding-bottom: 46px;
	border-bottom: 1px solid rgba(255, 255, 255, .18);
	text-align: center;
}

.raphies-footer-intro h2 {
	max-width: 600px;
	margin: 0;
	font-size: clamp(34px, 5vw, 56px);
	letter-spacing: -.035em;
}

.raphies-footer-links {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 36px;
	padding-top: 44px;
}

.raphies-footer-links h3 {
	margin: 0 0 16px;
	color: var(--raphies-gold);
	font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .14em;
	text-transform: uppercase;
}

.raphies-footer-links p {
	margin: 0 0 9px;
	font-size: 14px;
}

.raphies-product-checkout {
	margin: 24px 0 0;
	padding: 12px 20px 16px;
	border: 1px solid var(--raphies-line);
	border-radius: 4px;
}

.raphies-product-checkout legend {
	width: auto;
	margin: 0 auto;
	padding-inline: 10px;
	font-size: 15px;
	font-weight: 600;
}

.raphies-product-checkout .raphies-payment-logos {
	justify-content: center;
	margin: 8px 0 0;
}

.raphies-payment-logos {
 display: flex;
 flex-wrap: wrap;
 gap: 8px;
 align-items: center;
 margin: 14px 0;
}

.raphies-payment-logos img {
 display: block;
 width: 54px;
 height: 34px;
 object-fit: contain;
 padding: 4px;
 background: #fff;
 border: 1px solid rgba(23, 58, 64, .12);
 border-radius: 4px;
}

.raphies-footer-content .raphies-company-details {
	max-width: 920px;
	margin: 40px 0 0;
	padding-top: 24px;
	border-top: 1px solid rgba(255, 255, 255, .18);
	color: rgba(248, 243, 233, .78);
	font-size: 12px;
	line-height: 1.7;
}

.raphies-footer-content .raphies-footer-copyright {
	margin: 16px 0 0;
	color: rgba(248, 243, 233, .68);
	font-size: 12px;
	line-height: 1.7;
}

/* Fallback for cached Astra footer-builder markup. */
.site-footer .site-above-footer-wrap,
.site-footer .site-primary-footer-wrap,
.site-footer .site-below-footer-wrap {
	display: none !important;
}

.site-footer .ast-builder-social-element {
	display: none;
}

/* FAQ page. */
.page-id-2254 .entry-content {
	max-width: 760px;
	margin-inline: auto;
	font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 17px;
	line-height: 1.7;
}

.page-id-2254 .entry-title {
	display: none;
}

.raphies-guide-intro,
.raphies-faqs {
	padding-block: clamp(24px, 4vw, 52px);
}

.raphies-guide-intro h1,
.raphies-faqs h2 {
	max-width: 760px;
	font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
	font-size: clamp(38px, 5vw, 54px);
	line-height: 1.2;
	letter-spacing: -.02em;
}

.raphies-guide-cards {
	gap: 18px;
	margin-block: 34px;
}

.raphies-guide-cards .wp-block-column {
	padding: 24px;
	border: 1px solid var(--raphies-line);
	background: var(--raphies-cream);
}

.raphies-guide-cards h3 {
	margin-top: 0;
}

.raphies-faqs > h3 {
	margin-top: 36px;
	padding-bottom: 10px;
	border-bottom: 1px solid var(--raphies-line);
	font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
	font-size: clamp(27px, 3.5vw, 34px);
	line-height: 1.25;
}

.raphies-faqs details {
	margin: 0;
	padding: 18px 0;
	border-bottom: 1px solid var(--raphies-line);
}

.raphies-faqs summary {
	cursor: pointer;
	font-family: inherit;
	font-size: 17px;
	font-weight: 600;
	line-height: 1.5;
	padding-right: 12px;
}

.raphies-faqs summary::marker {
	color: var(--raphies-gold);
}

.raphies-faqs summary:focus-visible {
	outline: 2px solid var(--raphies-gold);
	outline-offset: 6px;
}

.raphies-faqs details p {
	max-width: 760px;
	margin: 14px 0 2px;
	color: var(--raphies-ink-soft);
}

.raphies-faqs details p + p {
	margin-top: 16px;
}

.raphies-faq-contact {
	margin-top: 40px;
	padding: 22px 24px;
	border-left: 4px solid var(--raphies-gold);
	background: var(--raphies-cream);
}

@media (max-width: 921px) {
	.raphies-category-grid,
	.raphies-shop .products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.raphies-proof-grid,
	.raphies-story {
		grid-template-columns: 1fr;
	}

	.raphies-photo-story__grid {
		grid-template-columns: 1fr;
	}

	.raphies-freshness__grid {
		grid-template-columns: 1fr;
	}

	.raphies-tasting-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.raphies-trust-strip,
	.raphies-footer-links {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.raphies-footer-intro {
		grid-template-columns: 1fr;
		gap: 28px;
	}
}

@media (max-width: 781px) {
	.woocommerce-shop ul.products,
	.tax-product_cat ul.products {
		display: grid !important;
		grid-template-columns: minmax(0, 1fr) !important;
	}

	.woocommerce-shop ul.products li.product,
	.tax-product_cat ul.products li.product {
		width: 100% !important;
		margin-inline: 0 !important;
		min-width: 0;
	}

	ul.products .cfvsw-shop-variations {
		display: none !important;
	}

	.site-header .ast-cart-menu-wrap .amount,
	.site-header .ast-woo-header-cart-total,
	.site-header .ast-woo-header-cart-info-wrap {
		display: none !important;
	}

	.single-product .single_add_to_cart_button {
		width: 100% !important;
		min-height: 48px;
		padding: 14px 20px !important;
	}

	.home .entry-content .raphies-section {
		padding: 36px 20px;
	}

	.home .raphies-freshness__intro,
	.home .raphies-section-heading {
		margin-bottom: 22px;
	}

	.home .raphies-section .raphies-eyebrow {
		margin-bottom: 10px;
	}

	.home .raphies-freshness__item {
		padding: 20px;
	}

	.home .raphies-proof-grid {
		gap: 22px;
	}

	.home .raphies-proof-grid > .wp-block-group {
		margin-block: 0;
	}

	.home .raphies-section .raphies-number {
		margin-block: 0 6px;
	}

	.home .raphies-freshness__item h3,
	.home .raphies-proof-grid h3 {
		margin: 6px 0 10px;
	}

	.home .raphies-proof-grid p:last-child {
		margin-bottom: 0;
	}

	.home .entry-content .raphies-category-card {
		min-height: 0;
		grid-template-rows: auto auto auto auto;
		padding: 18px 20px;
	}

	.home .raphies-category-card h3 {
		margin: 4px 0 8px;
	}

	.home .raphies-category-card > p:nth-of-type(2) {
		margin-bottom: 12px;
	}

	.home #primary {
		padding-bottom: 0;
	}

	.home .raphies-hero {
		display: flex;
		flex-direction: column;
		min-height: 320px !important;
		justify-content: flex-end;
		padding: 16px;
		background: var(--raphies-cream);
	}

	.home .raphies-hero > .wp-block-cover__image-background {
		position: absolute;
		inset: 0;
		width: 100%;
		height: 100%;
		object-fit: cover;
		object-position: 85% center;
	}

	.home .raphies-hero > .wp-block-cover__background {
		display: none;
	}

	.home .raphies-hero .wp-block-cover__inner-container,
	.home .raphies-hero__inner,
	.home .raphies-hero__copy {
		width: 100%;
		max-width: none;
	}

	.home .raphies-hero__copy {
		max-width: 250px;
		padding: 12px;
		text-align: center;
		background: rgba(255, 253, 248, .9);
		backdrop-filter: blur(2px);
	}

	.home .raphies-hero h1 {
		font-size: 25px;
		margin-bottom: 8px;
		margin-inline: auto;
	}

	.home .raphies-hero .raphies-eyebrow {
		font-size: 9px;
		margin-bottom: 8px;
	}

	.home .raphies-hero p:not(.raphies-eyebrow) {
		font-size: 13px;
		line-height: 1.5;
	}

	.home .raphies-hero-actions {
		gap: 10px;
		margin-top: 10px;
		justify-content: center;
	}

	.home .raphies-hero-actions .wp-block-button__link {
		padding: 10px 14px;
		font-size: 12px;
	}

	.home .entry-content .raphies-freshness__grid,
	.home .entry-content .raphies-proof-grid,
	.home .entry-content .raphies-category-grid,
	.home .entry-content .wp-block-group.is-layout-grid {
		grid-template-columns: minmax(0, 1fr) !important;
	}

	.home .entry-content .wp-block-columns {
		flex-direction: column;
	}

	.home .entry-content .wp-block-column {
		flex-basis: 100% !important;
		min-width: 0;
	}

	.home .entry-content .raphies-section-heading {
		display: block;
	}
}

@media (max-width: 560px) {
	.raphies-announcement {
		font-size: 10px;
	}

	.raphies-hero {
		min-height: 590px;
		align-items: flex-end;
		background-position: 65% center;
	}

	.raphies-hero__inner {
		width: calc(100% - 24px);
	}

	.raphies-hero__copy {
		padding: 28px 24px;
	}

	.raphies-hero h1 {
		font-size: 43px;
	}

	.raphies-category-grid,
	.raphies-shop .products {
		grid-template-columns: 1fr;
	}

	.raphies-category-card {
		min-height: 220px;
	}

	.raphies-tasting-grid {
		grid-template-columns: 1fr;
	}

	.raphies-trust-strip,
	.raphies-footer-links {
		grid-template-columns: 1fr;
	}

	.raphies-trust-item {
		border-right: 0;
		border-bottom: 1px solid var(--raphies-line);
	}

	.raphies-newsletter-form .mailpoet_form {
		grid-template-columns: 1fr;
	}

	.raphies-section-heading {
		display: block;
	}

	.raphies-finder__choices {
		gap: 1px !important;
	}
}
