/*
Theme Name:   Aroma
Theme URI:    https://example.com/aroma
Description:  Perfume storefront child theme for Storefront. A quiet, photography-led shop in the modern product-page tradition: system type, generous space, no ornament competing with the bottle. Built for a Malaysian fragrance shop, mobile first, and readable on a slow connection.
Author:       EcomCore
Template:     storefront
Version:      2.0.0
License:      GNU General Public License v2 or later
Text Domain:  aroma
Tags:         e-commerce, two-columns, custom-colors, translation-ready
*/

/* ---------------------------------------------------------------------
 * Design tokens
 *
 * The whole look comes from these. Change the ink and the accent and the
 * shop changes with them, without touching a template.
 *
 * The palette is deliberately near-neutral. A perfume bottle is the only
 * thing on the page worth looking at, and a coloured background is a
 * competitor. White space is doing the selling here.
 * ------------------------------------------------------------------- */

:root {
	--a-ink: #1d1d1f;
	--a-ink-soft: #6e6e73;
	--a-paper: #ffffff;
	--a-paper-alt: #f5f5f7;
	--a-line: #d2d2d7;
	--a-accent: #1d1d1f;
	--a-link: #0066cc;

	--a-radius: 12px;
	--a-radius-pill: 980px;

	/* One spacing scale. Sections breathe or the page feels cheap. */
	--a-gap-xs: .5rem;
	--a-gap-s: 1rem;
	--a-gap-m: 2rem;
	--a-gap-l: 4rem;
	--a-gap-xl: 7rem;

	--a-shell: 1180px;

	--a-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;

	--a-ease: cubic-bezier(.28, .11, .32, 1);
}

/* ---------------------------------------------------------------------
 * Base
 * ------------------------------------------------------------------- */

body,
button,
input,
select,
textarea {
	font-family: var(--a-font);
}

body {
	background: var(--a-paper);
	color: var(--a-ink);
	font-size: 17px;
	line-height: 1.47;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6,
.site-title,
.product_title,
.woocommerce-loop-product__title {
	font-family: var(--a-font);
	font-weight: 600;
	letter-spacing: -.02em;
	line-height: 1.08;
	color: var(--a-ink);
}

p {
	margin-bottom: 1.2em;
}

a {
	color: var(--a-link);
	text-decoration: none;
	transition: opacity .2s var(--a-ease);
}

a:hover {
	color: var(--a-link);
	text-decoration: underline;
}

img {
	max-width: 100%;
	height: auto;
}

.aroma-shell {
	max-width: var(--a-shell);
	margin-inline: auto;
	padding-inline: 1.5rem;
}

/* A quiet inline link with a chevron, for "read more" style navigation
 * that should not shout as loudly as a filled button. */
.aroma-textlink {
	font-size: 1.0625rem;
	white-space: nowrap;
}

.aroma-textlink::after {
	content: " \203A";
	display: inline-block;
	transition: transform .2s var(--a-ease);
}

.aroma-textlink:hover {
	text-decoration: none;
}

.aroma-textlink:hover::after {
	transform: translateX(3px);
}

/* ---------------------------------------------------------------------
 * Header
 *
 * Slim, sticky and translucent. It has to stay out of the way on a phone,
 * where most of these orders are placed.
 * ------------------------------------------------------------------- */

.site-header {
	position: sticky;
	top: 0;
	z-index: 500;
	background: rgba(255, 255, 255, .82);
	-webkit-backdrop-filter: saturate(180%) blur(20px);
	backdrop-filter: saturate(180%) blur(20px);
	border-bottom: 1px solid rgba(0, 0, 0, .08);
	padding-top: .7rem;
	padding-bottom: .7rem;
	transition: box-shadow .25s var(--a-ease);
}

.site-header.is-scrolled {
	box-shadow: 0 1px 12px rgba(0, 0, 0, .06);
}

.site-header .site-branding,
.site-header .site-logo-anchor {
	margin-bottom: 0;
}

.site-header .custom-logo-link img {
	max-height: 40px;
	width: auto;
}

.site-title a {
	color: var(--a-ink);
	font-size: 1.25rem;
	font-weight: 600;
	letter-spacing: -.01em;
}

.site-description {
	display: none;
}

.storefront-primary-navigation,
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
	font-size: .875rem;
	font-weight: 400;
	color: var(--a-ink);
	letter-spacing: -.01em;
}

.main-navigation ul.menu > li > a:hover,
.main-navigation ul.nav-menu > li > a:hover {
	opacity: .6;
	text-decoration: none;
}

.site-header-cart .cart-contents {
	color: var(--a-ink);
	font-size: .875rem;
}

/* ---------------------------------------------------------------------
 * Buttons
 *
 * Pills. Filled black for the one action that matters on a screen, hollow
 * for everything secondary. Never two filled buttons side by side.
 * ------------------------------------------------------------------- */

.button,
button,
input[type="submit"],
.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce #respond input#submit.alt {
	background: var(--a-accent);
	color: #fff;
	border: 1px solid var(--a-accent);
	border-radius: var(--a-radius-pill);
	font-size: 1rem;
	font-weight: 400;
	letter-spacing: -.01em;
	line-height: 1.2;
	padding: .8em 1.6em;
	text-shadow: none;
	transition: opacity .2s var(--a-ease), background .2s var(--a-ease);
}

.button:hover,
button:hover,
input[type="submit"]:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce #respond input#submit.alt:hover {
	background: var(--a-accent);
	color: #fff;
	opacity: .85;
	text-decoration: none;
}

.aroma-button--ghost,
.woocommerce a.button.aroma-button--ghost {
	background: transparent;
	color: var(--a-ink);
	border: 1px solid var(--a-line);
}

.aroma-button--ghost:hover,
.woocommerce a.button.aroma-button--ghost:hover {
	background: var(--a-ink);
	color: #fff;
	border-color: var(--a-ink);
	opacity: 1;
}

/* ---------------------------------------------------------------------
 * Hero
 *
 * One sentence, one number, one action. Anything more and it stops being
 * a hero and starts being a paragraph.
 * ------------------------------------------------------------------- */

.aroma-hero {
	background: var(--a-paper);
	padding: var(--a-gap-xl) 1.5rem calc(var(--a-gap-xl) - 1rem);
	text-align: center;
	overflow: hidden;
}

.aroma-hero--alt {
	background: var(--a-paper-alt);
}

.aroma-hero__inner {
	max-width: 860px;
	margin: 0 auto;
}

.aroma-hero__eyebrow {
	display: block;
	font-size: 1.25rem;
	font-weight: 600;
	letter-spacing: -.01em;
	color: var(--a-ink-soft);
	margin-bottom: .4rem;
}

.aroma-hero h1 {
	font-size: clamp(2.6rem, 7vw, 4.5rem);
	line-height: 1.04;
	letter-spacing: -.025em;
	margin: 0 0 1rem;
}

.aroma-hero p {
	font-size: clamp(1.15rem, 2.2vw, 1.5rem);
	line-height: 1.35;
	color: var(--a-ink-soft);
	max-width: 40ch;
	margin: 0 auto 2rem;
	letter-spacing: -.01em;
}

.aroma-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 1.4rem;
	align-items: center;
	justify-content: center;
}

/* ---------------------------------------------------------------------
 * Trust strip
 *
 * Malaysian shoppers check three things before they trust a shop they have
 * not bought from: is it real, what does delivery cost, and can I send it
 * back. Those answers go near the top, not in the footer.
 * ------------------------------------------------------------------- */

.aroma-trust {
	background: var(--a-paper-alt);
	padding: var(--a-gap-m) 1.5rem;
}

.aroma-trust__inner {
	max-width: var(--a-shell);
	margin: 0 auto;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: var(--a-gap-m);
	text-align: center;
}

.aroma-trust strong {
	display: block;
	font-size: 1.0625rem;
	font-weight: 600;
	letter-spacing: -.01em;
	margin-bottom: .15rem;
}

.aroma-trust span {
	font-size: .875rem;
	color: var(--a-ink-soft);
}

/* ---------------------------------------------------------------------
 * Sections
 * ------------------------------------------------------------------- */

.aroma-section {
	padding: var(--a-gap-xl) 0;
}

.aroma-section--tight {
	padding: var(--a-gap-l) 0;
}

.aroma-section--alt {
	background: var(--a-paper-alt);
}

.aroma-section__title {
	text-align: center;
	font-size: clamp(1.9rem, 4vw, 3rem);
	letter-spacing: -.022em;
	margin: 0 0 .6rem;
}

.aroma-section__lede {
	text-align: center;
	font-size: clamp(1.05rem, 2vw, 1.3rem);
	color: var(--a-ink-soft);
	max-width: 44ch;
	margin: 0 auto var(--a-gap-m);
	letter-spacing: -.01em;
}

/* ---------------------------------------------------------------------
 * Feature blocks
 *
 * One product, one photograph, one line of copy, alternating sides. This is
 * the layout that sells a bottle you cannot smell through a screen.
 * ------------------------------------------------------------------- */

.aroma-feature {
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: center;
	gap: var(--a-gap-l);
	max-width: var(--a-shell);
	margin-inline: auto;
	padding: var(--a-gap-l) 1.5rem;
}

.aroma-feature:nth-child(even) .aroma-feature__media {
	order: 2;
}

.aroma-feature__media {
	background: var(--a-paper-alt);
	border-radius: var(--a-radius);
	overflow: hidden;
	aspect-ratio: 4 / 3;
	display: flex;
	align-items: center;
	justify-content: center;
}

.aroma-feature__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .6s var(--a-ease);
}

.aroma-feature:hover .aroma-feature__media img {
	transform: scale(1.03);
}

.aroma-feature__title {
	font-size: clamp(1.7rem, 3.4vw, 2.6rem);
	letter-spacing: -.022em;
	margin: 0 0 .6rem;
}

.aroma-feature__title a {
	color: var(--a-ink);
}

.aroma-feature__title a:hover {
	text-decoration: none;
	opacity: .7;
}

.aroma-feature__text {
	font-size: 1.0625rem;
	color: var(--a-ink-soft);
	margin: 0 0 1rem;
}

.aroma-feature__price {
	display: block;
	font-size: 1.25rem;
	font-weight: 600;
	margin-bottom: 1.2rem;
}

.aroma-feature__price del {
	color: var(--a-ink-soft);
	font-weight: 400;
	margin-right: .4rem;
}

/* ---------------------------------------------------------------------
 * Product grid
 *
 * No cards, no borders, no drop shadows. The bottles sit on white and the
 * grid is held together by alignment alone.
 * ------------------------------------------------------------------- */

.woocommerce ul.products {
	gap: var(--a-gap-m) 0;
}

.woocommerce ul.products li.product {
	background: transparent;
	border: 0;
	padding: 0;
	text-align: center;
	margin-bottom: var(--a-gap-m);
}

.woocommerce ul.products li.product a img {
	background: var(--a-paper-alt);
	border-radius: var(--a-radius);
	margin-bottom: 1rem;
	transition: transform .5s var(--a-ease);
}

.woocommerce ul.products li.product:hover a img {
	transform: scale(1.025);
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
	font-size: 1.0625rem;
	font-weight: 600;
	letter-spacing: -.012em;
	padding: 0 0 .2rem;
	color: var(--a-ink);
}

.woocommerce ul.products li.product .price {
	color: var(--a-ink-soft);
	font-size: 1rem;
	font-weight: 400;
}

/* No opacity on the struck-through price. At .6 the old price landed at 2.37:1
 * and the size of the discount - the whole reason the tile is worth looking at
 * during a sale - was unreadable. The strikethrough and the bolder sale price
 * next to it already say which is which. */
.woocommerce ul.products li.product .price del {
	margin-right: .3rem;
}

.woocommerce ul.products li.product .price ins {
	color: var(--a-ink);
	font-weight: 600;
	text-decoration: none;
}

/* The add-to-cart button on a grid tile is noise. It appears on hover on a
 * pointer device, and stays visible on touch where there is no hover. */
.woocommerce ul.products li.product .button {
	margin-top: .6rem;
	font-size: .9375rem;
	padding: .55em 1.3em;
	opacity: 0;
	transform: translateY(4px);
	transition: opacity .25s var(--a-ease), transform .25s var(--a-ease);
}

.woocommerce ul.products li.product:hover .button,
.woocommerce ul.products li.product .button:focus {
	opacity: 1;
	transform: none;
}

@media (hover: none) {
	.woocommerce ul.products li.product .button {
		opacity: 1;
		transform: none;
	}
}

.woocommerce span.onsale {
	background: var(--a-ink);
	color: #fff;
	border-radius: var(--a-radius-pill);
	min-height: auto;
	min-width: auto;
	padding: .25em .85em;
	line-height: 1.6;
	font-size: .8125rem;
	font-weight: 400;
	top: .6rem;
	left: .6rem;
}

/* Scent family chips ------------------------------------------------- */

.aroma-families {
	display: flex;
	flex-wrap: wrap;
	gap: .6rem;
	justify-content: center;
	margin-bottom: var(--a-gap-m);
	padding-inline: 1.5rem;
}

.aroma-families a {
	display: inline-block;
	padding: .5em 1.2em;
	border: 1px solid var(--a-line);
	border-radius: var(--a-radius-pill);
	background: transparent;
	font-size: .9375rem;
	color: var(--a-ink);
	transition: background .2s var(--a-ease), color .2s var(--a-ease), border-color .2s var(--a-ease);
}

.aroma-families a:hover {
	background: var(--a-ink);
	color: #fff;
	border-color: var(--a-ink);
	text-decoration: none;
}

/* ---------------------------------------------------------------------
 * Single product
 * ------------------------------------------------------------------- */

.woocommerce div.product {
	padding-top: var(--a-gap-m);
}

.woocommerce div.product .product_title {
	font-size: clamp(2rem, 4vw, 3rem);
	letter-spacing: -.022em;
	margin-bottom: .4rem;
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
	font-size: 1.5rem;
	font-weight: 400;
	color: var(--a-ink);
	letter-spacing: -.015em;
}

.woocommerce div.product .woocommerce-product-details__short-description {
	font-size: 1.0625rem;
	color: var(--a-ink-soft);
}

.woocommerce div.product form.cart .button {
	width: 100%;
	max-width: 320px;
	padding: .9em 1.6em;
	font-size: 1.0625rem;
}

.woocommerce div.product .images img {
	border-radius: var(--a-radius);
	background: var(--a-paper-alt);
}

.woocommerce div.product .woocommerce-tabs ul.tabs {
	border-bottom: 1px solid var(--a-line);
	padding-left: 0;
}

.woocommerce div.product .woocommerce-tabs ul.tabs::before {
	border-bottom-color: var(--a-line);
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
	background: transparent;
	border: 0;
	border-radius: 0;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
	color: var(--a-ink-soft);
	font-weight: 400;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
	color: var(--a-ink);
	font-weight: 600;
}

/* Scent profile ------------------------------------------------------ */

.aroma-notes {
	border-top: 1px solid var(--a-line);
	border-bottom: 1px solid var(--a-line);
	padding: 1.4rem 0;
	margin: 1.8rem 0;
}

.aroma-notes h3 {
	font-size: .8125rem;
	margin: 0 0 .9rem;
	text-transform: uppercase;
	letter-spacing: .06em;
	font-weight: 600;
	color: var(--a-ink-soft);
}

.aroma-notes dl {
	margin: 0;
	display: grid;
	grid-template-columns: 96px 1fr;
	gap: .55rem 1rem;
}

.aroma-notes dt {
	font-weight: 400;
	color: var(--a-ink-soft);
	font-size: .9375rem;
}

.aroma-notes dd {
	margin: 0;
	font-size: .9375rem;
}

/* ---------------------------------------------------------------------
 * Cart and checkout
 *
 * Most orders arrive on a phone over mobile data. One column, large targets,
 * and a 16px input font because anything smaller makes iOS zoom on focus.
 * ------------------------------------------------------------------- */

.woocommerce-checkout .col2-set .col-1,
.woocommerce-checkout .col2-set .col-2 {
	float: none;
	width: 100%;
}

.woocommerce form .form-row label {
	font-size: .9375rem;
	color: var(--a-ink-soft);
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.select2-container .select2-selection--single {
	padding: .85em 1em;
	border: 1px solid var(--a-line);
	border-radius: var(--a-radius);
	background: var(--a-paper);
	font-size: 16px;
	line-height: 1.3;
	transition: border-color .2s var(--a-ease), box-shadow .2s var(--a-ease);
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus {
	border-color: var(--a-ink);
	box-shadow: 0 0 0 3px rgba(0, 0, 0, .07);
	outline: none;
}

.woocommerce-checkout #payment,
.woocommerce .cart-collaterals .cart_totals,
.woocommerce-checkout-review-order-table {
	background: var(--a-paper-alt);
	border: 0;
	border-radius: var(--a-radius);
}

.woocommerce-checkout #payment ul.payment_methods {
	border-bottom: 1px solid var(--a-line);
}

.woocommerce-info,
.woocommerce-message,
.woocommerce-error {
	background: var(--a-paper-alt);
	border-top: 0;
	border-radius: var(--a-radius);
	color: var(--a-ink);
}

.woocommerce-info::before,
.woocommerce-message::before {
	color: var(--a-ink);
}

/* ---------------------------------------------------------------------
 * Cart and Checkout blocks
 *
 * WooCommerce 10 builds the cart and checkout pages out of blocks, not the old
 * shortcodes, and renders the form in the browser. None of the classic selectors
 * above match any of it, so without this section the most important page in the
 * shop is the only one not wearing the shop's clothes.
 *
 * The 16px minimum on inputs matters most: below it, iOS zooms the page on
 * focus, and a customer entering an address on a phone gets thrown sideways at
 * every field. Everything else here is the same ink, the same pill buttons and
 * the same spacing as the rest of the site.
 * ------------------------------------------------------------------- */

.wc-block-components-form .wc-block-components-text-input input[type="text"],
.wc-block-components-form .wc-block-components-text-input input[type="email"],
.wc-block-components-form .wc-block-components-text-input input[type="tel"],
.wc-block-components-form .wc-block-components-text-input input[type="number"],
.wc-block-components-text-input input,
.wc-block-components-textarea,
.wc-blocks-components-select__select {
	font-size: 16px;
	border-radius: var(--a-radius);
	border-color: var(--a-line);
	color: var(--a-ink);
}

.wc-block-components-text-input input:focus,
.wc-block-components-textarea:focus,
.wc-blocks-components-select__select:focus {
	border-color: var(--a-ink);
	box-shadow: 0 0 0 3px rgba(0, 0, 0, .07);
	outline: none;
}

.wc-block-components-title,
.wc-block-components-checkout-step__title {
	font-family: var(--a-font);
	font-weight: 600;
	letter-spacing: -.015em;
	color: var(--a-ink);
}

.wc-block-components-button:not(.is-link) {
	background: var(--a-accent);
	color: #fff;
	border-radius: var(--a-radius-pill);
	font-weight: 400;
	font-size: 1rem;
	padding: .8em 1.6em;
	transition: opacity .2s var(--a-ease);
}

.wc-block-components-button:not(.is-link):hover {
	background: var(--a-accent);
	color: #fff;
	opacity: .85;
}

.wc-block-components-button.is-link {
	color: var(--a-link);
}

.wc-block-components-sidebar,
.wc-block-components-totals-wrapper,
.wp-block-woocommerce-checkout-order-summary-block {
	background: var(--a-paper-alt);
	border-radius: var(--a-radius);
	border-color: var(--a-line);
}

.wc-block-components-totals-item__value,
.wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
	color: var(--a-ink);
	font-weight: 600;
}

.wc-block-components-product-name {
	color: var(--a-ink);
	font-weight: 600;
	letter-spacing: -.012em;
}

.wc-block-components-radio-control__option,
.wc-block-components-panel {
	border-color: var(--a-line);
}

/* ---------------------------------------------------------------------
 * WhatsApp button
 *
 * In Malaysia this converts better than any contact form.
 * ------------------------------------------------------------------- */

.aroma-whatsapp {
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 9997;
	width: 54px;
	height: 54px;
	border-radius: 50%;
	background: #25d366;

	/* Near-black on the brand green, not white. White on #25d366 is 1.98:1 and
	 * the glyph washes out completely in daylight, which is where a phone is
	 * usually held. Ink on green is 8.5:1. */
	color: var(--a-ink);

	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 26px;
	box-shadow: 0 4px 16px rgba(0, 0, 0, .18);
	transition: transform .2s var(--a-ease);
}

.aroma-whatsapp:hover {
	color: var(--a-ink);
	transform: scale(1.06);
	text-decoration: none;
}

/* ---------------------------------------------------------------------
 * Footer
 * ------------------------------------------------------------------- */

.site-footer {
	background: var(--a-paper-alt);
	color: var(--a-ink-soft);
	padding-top: var(--a-gap-m);
	font-size: .875rem;
	border-top: 1px solid var(--a-line);
}

.site-footer a {
	color: var(--a-ink-soft);
}

.site-footer a:hover {
	color: var(--a-ink);
}

.site-footer h1, .site-footer h2, .site-footer h3 {
	font-size: .875rem;
	color: var(--a-ink);
}

.aroma-footer-links ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: .6rem 1.6rem;
	justify-content: center;
}

.aroma-footer-links a {
	font-size: .875rem;
	color: var(--a-ink-soft);
}

.aroma-footer-links a:hover {
	color: var(--a-ink);
	text-decoration: underline;
}

.aroma-footer-note {
	border-top: 1px solid var(--a-line);
	margin-top: var(--a-gap-m);
	padding: 1.2rem 0;
	font-size: .75rem;
	color: var(--a-ink-soft);
	text-align: center;
}

/* ---------------------------------------------------------------------
 * Reveal on scroll
 *
 * A short fade and rise, once, the first time a section comes into view.
 * Elements start visible and are only hidden by JS, so a visitor with
 * JavaScript blocked sees the whole page rather than a blank one.
 * ------------------------------------------------------------------- */

.aroma-js .aroma-reveal {
	opacity: 0;
	transform: translateY(22px);
	transition: opacity .7s var(--a-ease), transform .7s var(--a-ease);
	will-change: opacity, transform;
}

.aroma-js .aroma-reveal.is-visible {
	opacity: 1;
	transform: none;
}

/* ---------------------------------------------------------------------
 * Responsive
 * ------------------------------------------------------------------- */

@media (max-width: 900px) {
	:root {
		--a-gap-xl: 4.5rem;
		--a-gap-l: 2.75rem;
	}

	.aroma-feature {
		grid-template-columns: 1fr;
		gap: var(--a-gap-m);
		text-align: center;
	}

	.aroma-feature:nth-child(even) .aroma-feature__media {
		order: 0;
	}

	.aroma-feature__media {
		aspect-ratio: 3 / 2;
	}
}

@media (max-width: 768px) {
	body {
		font-size: 16px;
	}

	.aroma-hero {
		padding: var(--a-gap-l) 1.25rem;
	}

	.aroma-hero__actions {
		flex-direction: column;
		gap: 1rem;
	}

	.aroma-hero__actions .button {
		width: 100%;
		max-width: 320px;
	}

	.aroma-notes dl {
		grid-template-columns: 1fr;
		gap: .15rem;
	}

	.aroma-notes dt {
		margin-top: .6rem;
	}

	.site-header {
		position: static;
	}

	/* Storefront pins its own handheld footer bar (account, search, cart) to the
	 * bottom of the viewport at these widths. Left at 20px the WhatsApp button
	 * sits in the same strip: either it disappears behind the bar or it covers
	 * the cart link. Lift it clear of both. */
	.aroma-whatsapp {
		bottom: calc(4.75em + env(safe-area-inset-bottom, 0px));
	}
}

/* ---------------------------------------------------------------------
 * Accessibility and motion
 * ------------------------------------------------------------------- */

:where(a, button, input, select, textarea):focus-visible {
	outline: 2px solid var(--a-link);
	outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: .001ms !important;

		/* Without capping the count, a looping animation does not stop - it
		 * strobes at the frame rate. WooCommerce's checkout spinner loops for
		 * the length of every AJAX call, which is exactly the person who asked
		 * for less motion getting far more of it. */
		animation-iteration-count: 1 !important;

		transition-duration: .001ms !important;
		scroll-behavior: auto !important;
	}

	.aroma-js .aroma-reveal {
		opacity: 1;
		transform: none;
	}
}

@media print {
	.site-header,
	.site-footer,
	.aroma-whatsapp,
	.aroma-trust {
		display: none;
	}
}
