/*
Theme Name:   Wamaza
Theme URI:    https://www.copernicstudio.com
Author:       COPERNIC STUDIO
Author URI:   https://www.copernicstudio.com
Description:  Thème de la marketplace Wamaza (WooCommerce + Dokan). Identité de marché ouest-africain : auvent rayé, bleu cobalt, jaune souci, ticket de caisse.
Version:      1.0.0
Requires at least: 6.2
Requires PHP: 7.4
License:      GPL-2.0-or-later
Text Domain:  wamaza
Tags:         e-commerce, custom-logo, custom-menu, featured-images, translation-ready
*/

:root {
	--cobalt: #1b3fd8;
	--cobalt-deep: #0f2480;
	--marigold: #ffc21a;
	--marigold-soft: #fff1c2;
	--paper: #f5f7ff;
	--white: #ffffff;
	--ink: #121a3a;
	--muted: #4f5a86;
	--line: #d6ddf5;
	--green: #0b8f63;
	--green-soft: #d9f4e8;
	--coral: #ff5d73;

	--font-display: "Unbounded", "Arial Rounded MT Bold", "Trebuchet MS", sans-serif;
	--font-body: "Figtree", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;

	--r-sm: 6px;
	--r-md: 14px;
	--r-lg: 28px;

	--container: 1180px;
	--gutter: clamp(16px, 4vw, 32px);
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: 17px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

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

a {
	color: var(--cobalt);
	text-underline-offset: 3px;
}

a:hover {
	color: var(--cobalt-deep);
}

:focus-visible {
	outline: 3px solid var(--marigold);
	outline-offset: 3px;
	border-radius: 4px;
}

.skip-link {
	position: absolute;
	left: -9999px;
	top: 8px;
	z-index: 1000;
	padding: 10px 16px;
	background: var(--ink);
	color: #fff;
}

.skip-link:focus {
	left: 8px;
}

.container {
	width: 100%;
	max-width: var(--container);
	margin-inline: auto;
	padding-inline: var(--gutter);
}

h1,
h2,
h3,
h4 {
	margin: 0 0 0.5em;
	font-family: var(--font-display);
	font-weight: 700;
	line-height: 1.12;
	letter-spacing: -0.02em;
	color: var(--ink);
}

p {
	margin: 0 0 1em;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

/* Boutons */
.btn,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce a.button.alt,
.woocommerce button.button.alt {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 48px;
	padding: 12px 24px;
	border: 2px solid var(--ink);
	border-radius: var(--r-sm);
	background: var(--marigold);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: 16px;
	font-weight: 800;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	box-shadow: 4px 4px 0 var(--ink);
	transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.btn:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover {
	background: var(--marigold);
	color: var(--ink);
	transform: translate(2px, 2px);
	box-shadow: 2px 2px 0 var(--ink);
}

.btn--ghost {
	background: var(--white);
}

.btn--ghost:hover {
	background: var(--white);
}

.btn--blue {
	background: var(--cobalt);
	border-color: var(--ink);
	color: #fff;
}

.btn--blue:hover {
	background: var(--cobalt);
	color: #fff;
}

/* En-tête */
.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: var(--white);
	border-bottom: 2px solid var(--ink);
}

.site-header__bar {
	display: flex;
	align-items: center;
	gap: 20px;
	min-height: 72px;
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--ink);
	text-decoration: none;
	flex: none;
}

.brand:hover {
	color: var(--ink);
}

.brand__mark {
	width: 40px;
	height: 40px;
	display: block;
}

.brand__word {
	font-family: var(--font-display);
	font-size: 24px;
	font-weight: 700;
	letter-spacing: -0.04em;
}

.custom-logo-link img {
	max-height: 44px;
	width: auto;
}

.search-form {
	display: flex;
	flex: 1;
	min-width: 0;
	max-width: 520px;
}

.search-form__field {
	flex: 1;
	min-width: 0;
	height: 46px;
	padding: 0 16px;
	border: 2px solid var(--ink);
	border-right: 0;
	border-radius: var(--r-sm) 0 0 var(--r-sm);
	background: var(--paper);
	color: var(--ink);
	font: inherit;
	font-size: 16px;
}

.search-form__submit {
	flex: none;
	width: 52px;
	height: 46px;
	display: grid;
	place-items: center;
	border: 2px solid var(--ink);
	border-radius: 0 var(--r-sm) var(--r-sm) 0;
	background: var(--cobalt);
	color: #fff;
	cursor: pointer;
}

.primary-nav {
	margin-left: auto;
}

.primary-nav ul {
	display: flex;
	gap: 4px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.primary-nav a {
	display: block;
	padding: 10px 14px;
	border-radius: var(--r-sm);
	color: var(--ink);
	font-weight: 700;
	text-decoration: none;
}

.primary-nav a:hover,
.primary-nav .current-menu-item > a {
	background: var(--marigold-soft);
	color: var(--ink);
}

.header-actions {
	display: flex;
	align-items: center;
	gap: 6px;
}

.icon-link {
	position: relative;
	width: 46px;
	height: 46px;
	display: grid;
	place-items: center;
	border-radius: var(--r-sm);
	color: var(--ink);
}

.icon-link:hover {
	background: var(--marigold-soft);
	color: var(--ink);
}

.cart-count {
	position: absolute;
	top: 2px;
	right: 0;
	min-width: 20px;
	height: 20px;
	padding: 0 5px;
	border-radius: 999px;
	background: var(--coral);
	color: #fff;
	font-size: 12px;
	font-weight: 800;
	line-height: 20px;
	text-align: center;
}

.cart-count:empty,
.cart-count[data-count="0"] {
	display: none;
}

.nav-toggle {
	display: none;
	width: 46px;
	height: 46px;
	border: 2px solid var(--ink);
	border-radius: var(--r-sm);
	background: var(--white);
	cursor: pointer;
}

/* Hero avec auvent */
.hero {
	position: relative;
	padding-bottom: clamp(48px, 8vw, 96px);
	background: var(--white);
	overflow: hidden;
}

.awning {
	height: 40px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='112' height='40' viewBox='0 0 112 40'%3E%3Cpath d='M0 0h56v12a28 28 0 0 1-56 0z' fill='%231B3FD8'/%3E%3Cpath d='M56 0h56v12a28 28 0 0 1-56 0z' fill='%23fff' stroke='%23121A3A' stroke-width='2'/%3E%3C/svg%3E");
	background-repeat: repeat-x;
	background-position: 0 0;
	filter: drop-shadow(0 4px 0 rgba(18, 26, 58, 0.12));
	animation: awning-drop 0.7s cubic-bezier(0.2, 0.9, 0.3, 1.2) both;
	transform-origin: top;
}

@keyframes awning-drop {
	from {
		transform: translateY(-100%);
	}
	to {
		transform: translateY(0);
	}
}

.hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
	gap: clamp(32px, 6vw, 72px);
	align-items: center;
	padding-top: clamp(40px, 7vw, 88px);
}

.hero h1 {
	font-size: clamp(34px, 5.6vw, 66px);
	letter-spacing: -0.045em;
	line-height: 1.04;
}

.hero__lead {
	max-width: 52ch;
	font-size: clamp(17px, 2vw, 20px);
	color: var(--muted);
}

.hero-search {
	display: flex;
	max-width: 560px;
	margin: 28px 0 22px;
	border: 2px solid var(--ink);
	border-radius: var(--r-sm);
	background: var(--paper);
	box-shadow: 5px 5px 0 var(--ink);
}

.hero-search input {
	flex: 1;
	min-width: 0;
	height: 58px;
	padding: 0 18px;
	border: 0;
	background: transparent;
	color: var(--ink);
	font: inherit;
	font-size: 17px;
}

.hero-search input:focus-visible {
	outline: none;
}

.hero-search:focus-within {
	box-shadow: 5px 5px 0 var(--cobalt);
}

.hero-search button {
	flex: none;
	padding: 0 24px;
	border: 0;
	border-left: 2px solid var(--ink);
	background: var(--cobalt);
	color: #fff;
	font: inherit;
	font-weight: 800;
	cursor: pointer;
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
}

/* Ticket de caisse */
.ticket {
	position: relative;
	max-width: 400px;
	margin-inline: auto;
	padding: 26px 26px 38px;
	border: 2px solid var(--ink);
	border-bottom: 0;
	background: #fffdf5;
	font-variant-numeric: tabular-nums;
	transform: rotate(1.5deg);
	box-shadow: 8px 8px 0 var(--marigold);
}

.ticket::after {
	content: "";
	position: absolute;
	left: -2px;
	right: -2px;
	bottom: -14px;
	height: 14px;
	background:
		linear-gradient(135deg, #fffdf5 50%, transparent 50%) 0 0 / 20px 14px repeat-x,
		linear-gradient(225deg, #fffdf5 50%, transparent 50%) 0 0 / 20px 14px repeat-x;
	filter: drop-shadow(0 2px 0 var(--ink));
}

.ticket__title {
	margin: 0 0 4px;
	font-family: var(--font-display);
	font-size: 18px;
}

.ticket__note {
	margin: 0 0 18px;
	font-size: 14px;
	color: var(--muted);
}

.ticket__row {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding: 8px 0;
	border-bottom: 1px dashed var(--line);
	font-size: 15px;
}

.ticket__row--total {
	margin-top: 4px;
	border-bottom: 2px solid var(--ink);
	font-weight: 800;
	font-size: 17px;
}

.steps-live {
	margin: 20px 0 0;
	padding: 0;
	list-style: none;
}

.steps-live li {
	position: relative;
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 7px 0;
	font-size: 15px;
	font-weight: 700;
}

.steps-live li::before {
	content: "";
	flex: none;
	width: 22px;
	height: 22px;
	border: 2px solid var(--ink);
	border-radius: 50%;
	background: var(--white);
}

.steps-live .is-done::before {
	background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center / 70% no-repeat;
}

.steps-live .is-now::before {
	background: var(--marigold);
	box-shadow: 0 0 0 4px var(--marigold-soft);
}

.steps-live .is-later {
	color: var(--muted);
	font-weight: 500;
}

/* Sections */
.section {
	padding-block: clamp(56px, 8vw, 104px);
}

.section--white {
	background: var(--white);
}

.section--tight {
	padding-block: 28px;
}

.section__head {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: clamp(24px, 4vw, 44px);
}

.section__head h2 {
	margin: 0;
	max-width: 18ch;
	font-size: clamp(26px, 3.6vw, 42px);
}

.section__more {
	flex: none;
	font-weight: 800;
}

/* Bandeau pays */
.countries {
	background: var(--ink);
	color: #fff;
}

.countries__list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	margin: 0;
	padding: 0;
	list-style: none;
	font-weight: 700;
}

.countries__list li {
	display: inline-flex;
	align-items: center;
}

.countries__list li + li::before {
	content: "";
	width: 8px;
	height: 8px;
	margin-inline: 18px;
	background: var(--marigold);
	transform: rotate(45deg);
}

/* Catégories */
.cats {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-auto-rows: 150px;
	gap: 14px;
}

.cat {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: 18px;
	overflow: hidden;
	border: 2px solid var(--ink);
	border-radius: var(--r-md);
	color: var(--ink);
	text-decoration: none;
	transition: transform 0.12s ease;
}

.cat:hover {
	color: var(--ink);
	transform: translateY(-3px);
}

.cat:nth-child(1) {
	grid-column: span 2;
	grid-row: span 2;
	padding: 26px;
}

.cat:nth-child(4n + 1) {
	background: var(--cobalt);
	color: #fff;
}

.cat:nth-child(4n + 2) {
	background: var(--marigold);
}

.cat:nth-child(4n + 3) {
	background: var(--green-soft);
}

.cat:nth-child(4n) {
	background: var(--white);
}

.cat:nth-child(4n + 1):hover {
	color: #fff;
}

.cat:nth-child(6):last-child {
	grid-column: span 4;
}

.cat:nth-child(7):last-child {
	grid-column: span 3;
}

.cat:nth-child(8):last-child {
	grid-column: span 2;
}

.cat__name {
	font-family: var(--font-display);
	font-size: clamp(16px, 1.8vw, 20px);
	font-weight: 700;
	line-height: 1.15;
}

.cat:nth-child(1) .cat__name {
	font-size: clamp(24px, 3vw, 34px);
}

.cat__count {
	margin-top: 4px;
	font-size: 14px;
	font-weight: 600;
	opacity: 0.8;
}

.cat::before {
	content: "";
	position: absolute;
	top: -26px;
	right: -26px;
	width: 90px;
	height: 90px;
	border: 2px solid currentColor;
	border-radius: 50%;
	opacity: 0.25;
}

.cat:nth-child(1)::before {
	width: 190px;
	height: 190px;
	top: -60px;
	right: -60px;
}

/* Produits WooCommerce */
.woocommerce ul.products,
ul.products {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 18px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after {
	display: none;
}

.woocommerce ul.products li.product {
	position: relative;
	display: flex;
	flex-direction: column;
	float: none;
	width: auto;
	margin: 0;
	padding: 0 0 16px;
	border: 2px solid var(--ink);
	border-radius: var(--r-md);
	background: var(--white);
	overflow: hidden;
}

.woocommerce ul.products li.product a img {
	display: block;
	width: 100%;
	aspect-ratio: 1;
	margin: 0 0 12px;
	object-fit: cover;
	border-bottom: 2px solid var(--ink);
}

.woocommerce ul.products li.product a:not(.button) {
	color: var(--ink);
	text-decoration: none;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
	padding: 0 14px;
	margin: 0 0 6px;
	font-family: var(--font-body);
	font-size: 16px;
	font-weight: 700;
	letter-spacing: 0;
	line-height: 1.3;
}

.woocommerce ul.products li.product .price {
	display: block;
	padding: 0 14px;
	margin-bottom: 12px;
	color: var(--ink);
	font-size: 18px;
	font-weight: 800;
}

.woocommerce ul.products li.product .price del {
	color: var(--muted);
	font-weight: 500;
}

.woocommerce ul.products li.product .price ins {
	background: none;
	color: var(--coral);
	text-decoration: none;
}

.woocommerce ul.products li.product .button {
	margin: auto 14px 0;
	min-height: 44px;
	padding: 8px 16px;
	font-size: 15px;
	box-shadow: 3px 3px 0 var(--ink);
}

.woocommerce span.onsale {
	top: 12px;
	left: 12px;
	right: auto;
	min-width: 0;
	min-height: 0;
	margin: 0;
	padding: 4px 10px;
	border: 2px solid var(--ink);
	border-radius: var(--r-sm);
	background: var(--coral);
	color: #fff;
	font-size: 13px;
	font-weight: 800;
	line-height: 1.4;
}

.empty-note {
	padding: 28px;
	border: 2px dashed var(--ink);
	border-radius: var(--r-md);
	background: var(--white);
	text-align: center;
}

/* Comment ça marche */
.how {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 0;
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: step;
	border: 2px solid var(--ink);
	border-radius: var(--r-md);
	background: var(--paper);
}

.how li {
	position: relative;
	padding: 26px 22px 28px;
	counter-increment: step;
}

.how li + li {
	border-left: 2px dashed var(--ink);
}

.how li::before {
	content: counter(step);
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	margin-bottom: 16px;
	border: 2px solid var(--ink);
	border-radius: 50%;
	background: var(--marigold);
	font-family: var(--font-display);
	font-size: 18px;
	font-weight: 700;
}

.how h3 {
	font-size: 18px;
}

.how p {
	margin: 0;
	color: var(--muted);
	font-size: 16px;
}

/* Zones de livraison */
.zones {
	border-top: 2px solid var(--ink);
}

.zone-row {
	display: grid;
	grid-template-columns: 220px minmax(0, 1fr) 260px;
	gap: 8px 32px;
	align-items: baseline;
	padding: 22px 0;
	border-bottom: 2px solid var(--ink);
}

.zone-row h3 {
	margin: 0;
	font-size: 20px;
}

.zone-row p {
	margin: 0;
}

.zone-row__note {
	color: var(--muted);
	font-size: 15px;
}

/* Vendeurs */
.sellers {
	background: var(--cobalt);
	color: #fff;
	border-block: 2px solid var(--ink);
}

.sellers__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
	gap: clamp(28px, 6vw, 72px);
	align-items: center;
}

.sellers h2 {
	color: #fff;
	font-size: clamp(28px, 4vw, 46px);
}

.sellers p {
	max-width: 54ch;
	color: #e6ebff;
}

.sellers .btn {
	margin-top: 8px;
}

.perks {
	margin: 0;
	padding: 0;
	list-style: none;
}

.perks li {
	display: flex;
	gap: 14px;
	align-items: flex-start;
	padding: 16px 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.35);
	font-weight: 600;
}

.perks li:last-child {
	border-bottom: 0;
}

.perks svg {
	flex: none;
	width: 26px;
	height: 26px;
	margin-top: 1px;
	color: var(--marigold);
}

/* FAQ */
.faq {
	max-width: 820px;
}

.faq details {
	border-bottom: 2px solid var(--ink);
}

.faq details:first-child {
	border-top: 2px solid var(--ink);
}

.faq summary {
	position: relative;
	padding: 20px 48px 20px 0;
	font-weight: 800;
	font-size: 18px;
	cursor: pointer;
	list-style: none;
}

.faq summary::-webkit-details-marker {
	display: none;
}

.faq summary::after {
	content: "+";
	position: absolute;
	right: 8px;
	top: 50%;
	transform: translateY(-50%);
	font-family: var(--font-display);
	font-size: 26px;
	transition: transform 0.2s ease;
}

.faq details[open] summary::after {
	content: "−";
}

.faq details p {
	padding-bottom: 20px;
	margin: 0;
	max-width: 66ch;
	color: var(--muted);
}

/* Pied de page */
.site-footer {
	background: var(--ink);
	color: #cdd4f2;
}

.site-footer a {
	color: #fff;
}

.footer__grid {
	display: grid;
	grid-template-columns: 1.4fr repeat(3, 1fr);
	gap: 36px;
	padding-block: 56px 40px;
}

.footer__brand p {
	max-width: 34ch;
	margin-top: 14px;
}

.site-footer .brand,
.site-footer .brand:hover {
	color: #fff;
}

.site-footer h3 {
	margin-bottom: 14px;
	color: #fff;
	font-family: var(--font-body);
	font-size: 16px;
	letter-spacing: 0;
}

.site-footer ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-footer li {
	margin-bottom: 8px;
}

.footer__bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 8px 24px;
	padding-block: 20px;
	border-top: 1px solid rgba(255, 255, 255, 0.2);
	font-size: 14px;
}

/* Contenu des pages */
.page-wrap {
	padding-block: clamp(32px, 5vw, 64px);
}

.page-wrap--wide {
	max-width: none;
	padding-inline: clamp(8px, 2vw, 24px);
}

.page-title {
	font-size: clamp(28px, 4vw, 44px);
}

.entry-content {
	max-width: 760px;
}

.page-wrap--wide .entry-content,
.woocommerce .entry-content,
.woocommerce-page .entry-content {
	max-width: none;
}

.not-found {
	padding-block: 96px;
	text-align: center;
}

.not-found h1 {
	font-size: clamp(48px, 10vw, 120px);
}

/* WooCommerce */
.woocommerce-breadcrumb {
	margin-bottom: 20px;
	color: var(--muted);
	font-size: 15px;
}

.woocommerce div.product .product_title {
	font-size: clamp(26px, 3.4vw, 40px);
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
	color: var(--ink);
	font-size: 26px;
	font-weight: 800;
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
	border: 2px solid var(--ink);
	border-top-width: 2px;
	border-radius: var(--r-sm);
	background: var(--white);
	color: var(--ink);
}

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

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
	min-height: 46px;
	padding: 10px 14px;
	border: 2px solid var(--ink);
	border-radius: var(--r-sm);
	background: var(--white);
	font: inherit;
}

.woocommerce-checkout #payment,
.woocommerce-cart .cart_totals {
	border: 2px solid var(--ink);
	border-radius: var(--r-md);
	background: var(--white);
}

.woocommerce-checkout #payment div.payment_box {
	background: var(--paper);
	color: var(--ink);
}

.woocommerce-checkout #payment div.payment_box::before {
	border-bottom-color: var(--paper);
}

/* Responsive */
@media (max-width: 1020px) {
	.nav-toggle {
		display: inline-grid;
		place-items: center;
		order: 5;
	}

	.primary-nav {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		display: none;
		margin: 0;
		padding: 12px var(--gutter) 20px;
		border-bottom: 2px solid var(--ink);
		background: var(--white);
	}

	.primary-nav.is-open {
		display: block;
	}

	.primary-nav ul {
		flex-direction: column;
	}

	.search-form {
		display: none;
	}

	.header-actions {
		margin-left: auto;
	}

	.woocommerce ul.products,
	ul.products {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.footer__grid {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 860px) {
	.hero__grid,
	.sellers__grid {
		grid-template-columns: 1fr;
	}

	.how {
		grid-template-columns: 1fr 1fr;
	}

	.how li:nth-child(3) {
		border-left: 0;
	}

	.how li:nth-child(n + 3) {
		border-top: 2px dashed var(--ink);
	}

	.cats {
		grid-template-columns: repeat(2, 1fr);
		grid-auto-rows: 130px;
	}

	.cat:nth-child(1) {
		grid-column: span 2;
		grid-row: span 1;
	}

	.cat:nth-child(1)::before {
		width: 120px;
		height: 120px;
	}

	.cat:nth-child(6):last-child,
	.cat:nth-child(7):last-child {
		grid-column: span 1;
	}

	.zone-row {
		grid-template-columns: 1fr;
	}
}

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

	.woocommerce ul.products,
	ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 12px;
	}

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

	.section__head {
		flex-direction: column;
		align-items: flex-start;
		gap: 12px;
	}

	.hero-search {
		flex-direction: column;
		box-shadow: 4px 4px 0 var(--ink);
	}

	.hero-search input {
		flex: none;
		width: 100%;
		height: 56px;
	}

	.hero-search button {
		min-height: 52px;
		border-left: 0;
		border-top: 2px solid var(--ink);
	}

	.hero__actions .btn {
		flex: 1 1 100%;
	}

	.how {
		grid-template-columns: 1fr;
	}

	.how li + li {
		border-left: 0;
		border-top: 2px dashed var(--ink);
	}

	.countries__list {
		row-gap: 6px;
		font-size: 15px;
	}

	.countries__list li + li::before {
		margin-inline: 12px;
	}

	.footer__grid {
		grid-template-columns: 1fr;
		gap: 28px;
	}

	.ticket {
		transform: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	.awning {
		animation: none;
	}

	.btn,
	.cat,
	.faq summary::after {
		transition: none;
	}
}
