/*
Theme Name: Ayorra Home
Theme URI: https://ayorrahometextile.com.tr
Author: Best4SME
Author URI: https://best4seo.com.tr
Description: Ayorra Home için özel WooCommerce teması. Mega menü, hero slider, sekmeli çok satanlar, marka bantları, istek listesi ve hızlı bakış özellikleri ile tam dinamik ev tekstili mağaza teması.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ayorra-home
Tags: e-commerce, woo-commerce, custom-menu, custom-logo, translation-ready
*/

/* == 1. Tokens & Reset ================================================== */

:root {
	--ay-green: #3f4c2e;
	--ay-green-soft: #5c7042;
	--ay-navy: #1e3a5f;
	--ay-cream: #f6f3ec;
	--ay-sand: #ede8dd;
	--ay-ink: #23261e;
	--ay-muted: #6e7263;
	--ay-line: #e3dfd3;
	--ay-sale: #d64533;
	--ay-white: #ffffff;
	--ay-radius: 10px;
	--ay-shadow: 0 10px 30px rgba(35, 38, 30, 0.09);
	--ay-font-head: "Jost", system-ui, sans-serif;
	--ay-font-body: "Inter", system-ui, sans-serif;
	--container: 1240px;
	--gutter: 20px;
}

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

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

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body {
	margin: 0;
	font-family: var(--ay-font-body);
	font-size: 15px;
	line-height: 1.65;
	color: var(--ay-ink);
	background: var(--ay-white);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--ay-green); text-decoration: none; transition: color 0.18s ease; }
a:hover { color: var(--ay-navy); }

h1, h2, h3, h4, h5, h6 {
	font-family: var(--ay-font-head);
	font-weight: 600;
	line-height: 1.22;
	color: var(--ay-ink);
	margin: 0 0 0.6em;
}

ul, ol { padding-left: 1.2em; }

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

.screen-reader-text {
	position: absolute !important;
	clip: rect(1px, 1px, 1px, 1px);
	width: 1px; height: 1px; overflow: hidden;
}

.skip-link:focus {
	position: fixed; top: 8px; left: 8px; clip: auto; width: auto; height: auto;
	z-index: 9999; background: var(--ay-green); color: #fff; padding: 8px 14px; border-radius: 6px;
}

:focus-visible { outline: 2px solid var(--ay-navy); outline-offset: 2px; }

/* == 2. Buttons & forms ================================================= */

.btn,
.woocommerce-wrap .button,
.product-card .button,
input[type="submit"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	font-family: var(--ay-font-head);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.03em;
	padding: 11px 22px;
	border-radius: 999px;
	border: 1.5px solid var(--ay-green);
	background: var(--ay-green);
	color: #fff;
	cursor: pointer;
	text-align: center;
	transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.12s ease;
}

.btn:hover,
.woocommerce-wrap .button:hover,
.product-card .button:hover,
input[type="submit"]:hover {
	background: var(--ay-navy);
	border-color: var(--ay-navy);
	color: #fff;
	transform: translateY(-1px);
}

.btn--ghost { background: transparent; color: var(--ay-green); }
.btn--ghost:hover { color: #fff; }
.btn--lg { padding: 14px 30px; font-size: 15px; }

input[type="text"], input[type="search"], input[type="email"], input[type="tel"],
input[type="password"], input[type="number"], input[type="url"], textarea, select {
	font: inherit;
	color: var(--ay-ink);
	background: #fff;
	border: 1.5px solid var(--ay-line);
	border-radius: 8px;
	padding: 10px 14px;
	transition: border-color 0.15s ease;
	max-width: 100%;
}

input:focus, textarea:focus, select:focus { border-color: var(--ay-green-soft); outline: none; }

/* == 3. Topbar / Header / Nav =========================================== */

.topbar { background: var(--ay-navy); color: #fff; font-size: 13px; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; min-height: 36px; gap: 12px; }
.topbar a { color: #fff; display: inline-flex; align-items: center; gap: 6px; }
.topbar a:hover { color: var(--ay-sand); }

.site-header { background: #fff; border-bottom: 1px solid var(--ay-line); position: relative; z-index: 60; }
.site-header__inner { display: flex; align-items: center; gap: 24px; padding-block: 16px; }

.site-logo img { max-height: 58px; width: auto; }
.site-logo__text {
	font-family: var(--ay-font-head);
	font-size: 26px; font-weight: 700;
	color: var(--ay-green); letter-spacing: 0.02em;
}

.header-search { flex: 1; max-width: 520px; margin-inline: auto; }
.header-search form {
	display: flex; align-items: center;
	background: var(--ay-cream);
	border: 1.5px solid var(--ay-line);
	border-radius: 999px;
	padding: 3px 6px 3px 18px;
	transition: border-color 0.15s ease;
}
.header-search form:focus-within { border-color: var(--ay-green-soft); }
.header-search input[type="search"] { flex: 1; border: 0; background: transparent; padding: 8px 0; border-radius: 0; }
.header-search input[type="search"]:focus { outline: none; }
.header-search button {
	border: 0; background: var(--ay-green); color: #fff;
	width: 38px; height: 38px; border-radius: 50%;
	display: grid; place-items: center; cursor: pointer;
	transition: background 0.15s ease; flex: none;
}
.header-search button:hover { background: var(--ay-navy); }

.header-actions { display: flex; align-items: center; gap: 18px; margin-left: auto; }
.header-action { position: relative; color: var(--ay-ink); display: inline-flex; }
.header-action:hover { color: var(--ay-green); }

.header-action__count, .header-cart__count {
	position: absolute; top: -7px; right: -9px;
	min-width: 17px; height: 17px; padding-inline: 4px;
	border-radius: 999px; background: var(--ay-sale); color: #fff;
	font-size: 10.5px; font-weight: 700;
	display: grid; place-items: center; line-height: 1;
}

.header-cart { display: inline-flex; align-items: center; gap: 9px; color: var(--ay-ink); font-weight: 600; font-size: 14px; }
.header-cart:hover { color: var(--ay-green); }
.header-cart__icon { position: relative; display: inline-flex; }

.header-burger { display: none; flex-direction: column; gap: 4.5px; background: none; border: 0; padding: 6px; cursor: pointer; }
.header-burger span { width: 22px; height: 2.2px; background: var(--ay-ink); border-radius: 2px; }

.main-nav { background: var(--ay-green); }
.main-nav__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; }
.main-nav__list > .menu-item { position: relative; }
.main-nav__list > .menu-item > a {
	display: inline-flex; align-items: center; gap: 6px;
	color: #fff;
	font-family: var(--ay-font-head);
	font-size: 14.5px; font-weight: 500; letter-spacing: 0.02em;
	padding: 13px 15px;
	transition: background 0.15s ease;
}
.main-nav__list > .menu-item > a:hover,
.main-nav__list > .menu-item.current-menu-item > a { background: rgba(255, 255, 255, 0.12); color: #fff; }

.main-nav__list .sub-menu {
	list-style: none; margin: 0; padding: 8px 0;
	position: absolute; top: 100%; left: 0; min-width: 220px;
	background: #fff; border: 1px solid var(--ay-line);
	border-radius: 0 0 var(--ay-radius) var(--ay-radius);
	box-shadow: var(--ay-shadow);
	opacity: 0; visibility: hidden; transform: translateY(8px);
	transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
	z-index: 70;
}
.main-nav__list .menu-item:hover > .sub-menu,
.main-nav__list .menu-item:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.main-nav__list .sub-menu a { display: block; padding: 8px 18px; color: var(--ay-ink); font-size: 14px; }
.main-nav__list .sub-menu a:hover { color: var(--ay-green); background: var(--ay-cream); }

.menu-item--mega { position: static !important; }
.mega-menu {
	position: absolute; top: 100%; left: 0; right: 0;
	background: #fff;
	border: 1px solid var(--ay-line);
	border-top: 3px solid var(--ay-green);
	box-shadow: var(--ay-shadow);
	opacity: 0; visibility: hidden; transform: translateY(8px);
	transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
	z-index: 70;
}
.menu-item--mega:hover .mega-menu,
.menu-item--mega:focus-within .mega-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.mega-menu__inner { max-width: var(--container); margin-inline: auto; padding: 26px var(--gutter) 30px; }
.mega-menu__title { font-size: 15px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ay-muted); margin-bottom: 14px; }
.mega-menu__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.mega-menu__cols ul { list-style: none; margin: 0; padding: 0; }
.mega-menu__cols a { display: block; padding: 7px 0; color: var(--ay-ink); font-size: 14.5px; border-bottom: 1px dashed var(--ay-line); transition: padding 0.15s ease, color 0.15s ease; }
.mega-menu__cols a:hover { color: var(--ay-green); padding-left: 4px; }

.shipping-strip {
	background: var(--ay-cream);
	border-bottom: 1px solid var(--ay-line);
	text-align: center;
	font-size: 13.5px;
	color: var(--ay-green);
	padding: 7px 0;
}
.shipping-strip em { font-style: italic; font-weight: 500; }

/* == 4. Hero slider ===================================================== */

.hero-slider {
	position: relative;
	background: linear-gradient(135deg, var(--ay-cream) 0%, var(--ay-sand) 100%);
	overflow: hidden;
}

.hero-slide { display: none; }
.hero-slide.is-active { display: block; animation: ay-fade 0.5s ease; }

@keyframes ay-fade { from { opacity: 0; } to { opacity: 1; } }

.hero-slide__inner {
	display: grid;
	grid-template-columns: 1.05fr 1fr;
	align-items: center;
	gap: 40px;
	min-height: 460px;
	padding-block: 40px;
}

.hero-slide__eyebrow {
	font-family: var(--ay-font-head);
	font-size: 15px; font-weight: 500;
	color: var(--ay-navy);
	letter-spacing: 0.04em;
	margin: 0 0 10px;
}

.hero-slide__title {
	font-size: clamp(28px, 4vw, 46px);
	font-weight: 700;
	color: var(--ay-green);
	margin-bottom: 24px;
}

.hero-slide__media img {
	border-radius: 18px;
	box-shadow: var(--ay-shadow);
	max-height: 440px;
	width: 100%;
	object-fit: cover;
}

.hero-slider__arrow {
	position: absolute; top: 50%; transform: translateY(-50%);
	width: 44px; height: 44px; border-radius: 50%;
	border: 1.5px solid var(--ay-line);
	background: rgba(255, 255, 255, 0.9);
	color: var(--ay-green);
	font-size: 24px; line-height: 1;
	cursor: pointer; z-index: 5;
	transition: background 0.15s ease, color 0.15s ease;
}
.hero-slider__arrow:hover { background: var(--ay-green); color: #fff; }
.hero-slider__arrow--prev { left: 14px; }
.hero-slider__arrow--next { right: 14px; }

.hero-slider__dots {
	position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%);
	display: flex; gap: 8px; z-index: 5;
}
.hero-slider__dots button {
	width: 9px; height: 9px; border-radius: 50%; border: 0;
	background: rgba(35, 38, 30, 0.25);
	cursor: pointer; padding: 0;
	transition: background 0.15s ease, transform 0.15s ease;
}
.hero-slider__dots button.is-active { background: var(--ay-green); transform: scale(1.25); }

/* == 5. Home sections =================================================== */

.home-section { padding-block: 54px; }
.home-section:nth-of-type(even) { background: var(--ay-cream); }

.section-eyebrow {
	font-family: var(--ay-font-head);
	font-size: 14px; font-weight: 500;
	letter-spacing: 0.1em; text-transform: uppercase;
	color: var(--ay-navy);
	margin: 0 0 4px;
	text-align: center;
}

.section-title {
	font-size: clamp(22px, 3vw, 30px);
	text-align: center;
	margin-bottom: 30px;
}
.section-title::after {
	content: "";
	display: block;
	width: 54px; height: 3px;
	background: var(--ay-green-soft);
	border-radius: 3px;
	margin: 12px auto 0;
}

.section-sub { text-align: center; color: var(--ay-muted); margin: -20px 0 28px; }

.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.section-head .section-title { text-align: left; margin-bottom: 24px; }
.section-head .section-title::after { margin-left: 0; }
.section-link { font-family: var(--ay-font-head); font-weight: 600; font-size: 14px; }

.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

.cat-card {
	position: relative;
	display: block;
	border-radius: var(--ay-radius);
	overflow: hidden;
	background: var(--ay-sand);
	aspect-ratio: 4 / 3;
	box-shadow: 0 4px 14px rgba(35, 38, 30, 0.06);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--ay-shadow); }
.cat-card__media, .cat-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cat-card__placeholder { position: absolute; inset: 0; background: linear-gradient(135deg, var(--ay-sand), var(--ay-cream)); }
.cat-card__body {
	position: absolute; left: 14px; bottom: 14px;
	background: rgba(255, 255, 255, 0.93);
	border-radius: 8px;
	padding: 10px 16px;
	display: flex; flex-direction: column;
}
.cat-card__name { font-family: var(--ay-font-head); font-weight: 600; font-size: 16px; color: var(--ay-ink); }
.cat-card__count { font-size: 12.5px; color: var(--ay-muted); }

.best-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 30px; }
.best-tab {
	border: 1.5px solid var(--ay-line);
	background: #fff;
	color: var(--ay-muted);
	font-family: var(--ay-font-head);
	font-size: 13.5px; font-weight: 600;
	padding: 8px 18px;
	border-radius: 999px;
	cursor: pointer;
	transition: all 0.15s ease;
}
.best-tab:hover { border-color: var(--ay-green-soft); color: var(--ay-green); }
.best-tab.is-active { background: var(--ay-green); border-color: var(--ay-green); color: #fff; }
.best-panel { display: none; }
.best-panel.is-active { display: block; }
.best-empty { text-align: center; color: var(--ay-muted); }

.ay-product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; list-style: none; margin: 0; padding: 0; }
.ay-product-grid--5 { grid-template-columns: repeat(5, 1fr); }

.ay-product-carousel {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: minmax(232px, 260px);
	gap: 20px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	padding-bottom: 10px;
	scrollbar-width: thin;
	scrollbar-color: var(--ay-green-soft) var(--ay-sand);
}
.ay-product-carousel > * { scroll-snap-align: start; }

.brand-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; }
.brand-card {
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
	min-height: 120px;
	padding: 20px;
	background: #fff;
	border: 1.5px solid var(--ay-line);
	border-radius: var(--ay-radius);
	transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.brand-card:hover { border-color: var(--ay-green-soft); transform: translateY(-3px); box-shadow: var(--ay-shadow); }
.brand-card img { max-height: 52px; width: auto; object-fit: contain; }
.brand-card span { font-family: var(--ay-font-head); font-weight: 600; font-size: 16px; color: var(--ay-ink); }

.blog-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.blog-grid--archive { grid-template-columns: repeat(2, 1fr); margin-bottom: 34px; }

.blog-card {
	background: #fff;
	border: 1px solid var(--ay-line);
	border-radius: var(--ay-radius);
	overflow: hidden;
	transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.blog-card:hover { transform: translateY(-3px); box-shadow: var(--ay-shadow); }
.blog-card__media { display: block; aspect-ratio: 3 / 2; background: var(--ay-sand); overflow: hidden; }
.blog-card__media img, .blog-card__placeholder { width: 100%; height: 100%; object-fit: cover; display: block; }
.blog-card__body { padding: 16px 18px 20px; }
.blog-card__meta { display: flex; gap: 12px; font-size: 12px; color: var(--ay-muted); margin-bottom: 8px; }
.blog-card__title { font-size: 16.5px; margin-bottom: 8px; }
.blog-card__title a { color: var(--ay-ink); }
.blog-card__title a:hover { color: var(--ay-green); }
.blog-card__excerpt { font-size: 13.5px; color: var(--ay-muted); margin: 0 0 10px; }
.blog-card__more { font-family: var(--ay-font-head); font-weight: 600; font-size: 13.5px; }

.home-seo { background: var(--ay-cream); border-top: 1px solid var(--ay-line); }
.home-seo__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; }
.home-seo h3 { font-size: 19px; color: var(--ay-green); }
.home-seo p { color: var(--ay-muted); font-size: 14px; }

/* == 6. Product card ==================================================== */

.product-card {
	background: #fff;
	border: 1px solid var(--ay-line);
	border-radius: var(--ay-radius);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: box-shadow 0.18s ease, transform 0.18s ease;
	position: relative;
	height: 100%;
}
.product-card:hover { box-shadow: var(--ay-shadow); transform: translateY(-3px); }

.product-card__media { position: relative; background: var(--ay-cream); }
.product-card__thumb { display: block; aspect-ratio: 1 / 1; overflow: hidden; position: relative; }
.product-card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: opacity 0.25s ease; }
.product-card__hover { position: absolute; inset: 0; opacity: 0; }
.product-card:hover .product-card__hover { opacity: 1; }

.product-card .onsale,
.woocommerce-wrap .onsale {
	position: absolute; top: 10px; left: 10px; z-index: 3;
	background: var(--ay-sale); color: #fff;
	font-size: 12px; font-weight: 700;
	padding: 4px 9px;
	border-radius: 6px;
	line-height: 1.2;
	min-width: 0; min-height: 0; margin: 0;
}

.product-card__actions {
	position: absolute; top: 10px; right: 10px; z-index: 3;
	display: flex; flex-direction: column; gap: 7px;
	opacity: 0; transform: translateX(6px);
	transition: opacity 0.18s ease, transform 0.18s ease;
}
.product-card:hover .product-card__actions,
.product-card:focus-within .product-card__actions { opacity: 1; transform: translateX(0); }

.pc-action {
	width: 36px; height: 36px; border-radius: 50%;
	border: 1px solid var(--ay-line);
	background: #fff; color: var(--ay-ink);
	display: grid; place-items: center;
	cursor: pointer;
	transition: all 0.15s ease;
}
.pc-action:hover { background: var(--ay-green); border-color: var(--ay-green); color: #fff; }
.pc-action--wish.is-active { background: var(--ay-sale); border-color: var(--ay-sale); color: #fff; }

.product-card__body { padding: 14px 16px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product-card__cats { font-size: 11.5px; color: var(--ay-muted); line-height: 1.5; max-height: 2.9em; overflow: hidden; }
.product-card__cats a { color: inherit; }
.product-card__cats a:hover { color: var(--ay-green); }

.product-card__title { font-size: 15px; font-weight: 600; margin: 0; }
.product-card__title a { color: var(--ay-ink); }
.product-card__title a:hover { color: var(--ay-green); }

.product-card__rating .star-rating { font-size: 0.78em; color: #e2a63b; }

.product-card__price {
	font-family: var(--ay-font-head);
	font-weight: 700; font-size: 15.5px;
	color: var(--ay-green);
	margin-top: auto;
}
.product-card__price del { color: var(--ay-muted); font-weight: 500; font-size: 0.86em; margin-right: 6px; }
.product-card__price ins { text-decoration: none; }

.product-card__buy .button { width: 100%; padding: 10px 14px; font-size: 13px; }
.product-card__buy .added_to_cart { display: inline-block; margin-top: 6px; font-size: 12.5px; }

/* == 7. Inner pages / layouts =========================================== */

.page-hero {
	background: linear-gradient(135deg, var(--ay-cream), var(--ay-sand));
	border-bottom: 1px solid var(--ay-line);
	padding: 34px 0 26px;
	margin-bottom: 36px;
}
.page-hero__title { font-size: clamp(24px, 3.4vw, 34px); margin-bottom: 6px; color: var(--ay-green); }

.ay-breadcrumb { font-size: 13px; color: var(--ay-muted); }
.ay-breadcrumb .sep { margin-inline: 7px; }
.ay-breadcrumb .current { color: var(--ay-ink); font-weight: 500; }

.site-main { min-height: 40vh; padding-bottom: 60px; }
.front-page { padding-bottom: 0; }

.layout-with-sidebar { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 36px; align-items: start; }
.layout-with-sidebar--left { grid-template-columns: 260px minmax(0, 1fr); }

.layout-sidebar .widget {
	background: var(--ay-cream);
	border: 1px solid var(--ay-line);
	border-radius: var(--ay-radius);
	padding: 20px;
	margin-bottom: 20px;
}
.widget-title { font-size: 15px; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 14px; }
.widget ul { list-style: none; margin: 0; padding: 0; }
.widget ul li { padding: 6px 0; border-bottom: 1px dashed var(--ay-line); font-size: 14px; }
.widget ul li:last-child { border-bottom: 0; }

.entry-content { max-width: 820px; }
.entry-meta { display: flex; gap: 16px; font-size: 13px; color: var(--ay-muted); margin-bottom: 18px; }
.entry-thumb img { border-radius: var(--ay-radius); margin-bottom: 24px; }

.post-nav { display: flex; justify-content: space-between; gap: 18px; margin: 36px 0; font-family: var(--ay-font-head); font-weight: 600; }

.page-404 { text-align: center; max-width: 560px; }
.page-404__code {
	font-family: var(--ay-font-head);
	font-size: 96px; font-weight: 700;
	color: var(--ay-sand);
	line-height: 1;
	margin: 0 0 8px;
	-webkit-text-stroke: 2px var(--ay-green-soft);
}

.page-404 .search-form, .search-empty .search-form { display: flex; gap: 10px; justify-content: center; margin: 22px 0; }
.search-empty { text-align: center; padding: 30px 0; }

.wishlist-empty { text-align: center; padding: 40px 0; }
.wishlist-empty .btn { margin-top: 8px; }

.pagination .nav-links,
.woocommerce-pagination ul.page-numbers {
	display: flex; justify-content: center; gap: 6px;
	list-style: none;
	margin: 30px 0 0; padding: 0;
	border: 0;
}
.page-numbers {
	display: inline-grid; place-items: center;
	min-width: 38px; height: 38px; padding-inline: 8px;
	border-radius: 8px;
	border: 1.5px solid var(--ay-line);
	color: var(--ay-ink);
	font-weight: 600; font-size: 14px;
	background: #fff;
}
.page-numbers.current, .page-numbers:hover { background: var(--ay-green); border-color: var(--ay-green); color: #fff; }
.woocommerce-pagination ul.page-numbers li { border: 0; margin: 0; }

.comments-area { margin-top: 44px; max-width: 820px; }
.comment-list { list-style: none; padding: 0; }
.comment-list .comment { border: 1px solid var(--ay-line); border-radius: var(--ay-radius); padding: 16px; margin-bottom: 14px; }
.comment-list .children { list-style: none; margin-top: 14px; }
.comment-form label { display: block; font-weight: 600; font-size: 13.5px; margin-bottom: 4px; }
.comment-form input, .comment-form textarea { width: 100%; }
.comment-form .form-submit input { width: auto; }

/* == 8. WooCommerce pages =============================================== */

.woocommerce-wrap ul.products {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 22px;
	margin: 0; padding: 0;
	list-style: none;
}
.woocommerce-wrap ul.products::before,
.woocommerce-wrap ul.products::after { display: none; }
.woocommerce-wrap ul.products li.product { width: auto !important; float: none !important; margin: 0 !important; }

.shop-toolbar {
	display: flex; align-items: center; justify-content: space-between;
	gap: 16px; flex-wrap: wrap;
	background: var(--ay-cream);
	border: 1px solid var(--ay-line);
	border-radius: var(--ay-radius);
	padding: 10px 16px;
	margin-bottom: 24px;
}
.shop-toolbar .woocommerce-result-count { margin: 0; font-size: 13.5px; color: var(--ay-muted); }
.shop-toolbar__right { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.shop-perpage { display: flex; align-items: center; gap: 6px; font-size: 13.5px; color: var(--ay-muted); }
.shop-perpage__opt { padding: 3px 8px; border-radius: 6px; color: var(--ay-ink); font-weight: 600; }
.shop-perpage__opt.is-active, .shop-perpage__opt:hover { background: var(--ay-green); color: #fff; }
.woocommerce-ordering { margin: 0; }
.woocommerce-ordering select { padding: 7px 12px; }

.woocommerce-wrap div.product {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 40px;
	align-items: start;
}
.woocommerce-wrap div.product .woocommerce-product-gallery,
.woocommerce-wrap div.product div.images { width: 100% !important; float: none !important; margin: 0 !important; }
.woocommerce-wrap div.product div.summary,
.woocommerce-wrap div.product .entry-summary { width: 100% !important; float: none !important; margin: 0 !important; }
.woocommerce-wrap div.product .woocommerce-tabs,
.woocommerce-wrap div.product .related.products,
.woocommerce-wrap div.product .upsells.products,
.woocommerce-wrap div.product .woocommerce-message,
.woocommerce-wrap div.product .woocommerce-info { grid-column: 1 / -1; }

.woocommerce-wrap div.product .woocommerce-product-gallery img { border-radius: var(--ay-radius); }
.woocommerce-wrap div.product .product_title { font-size: clamp(22px, 3vw, 30px); }

.woocommerce-wrap div.product p.price,
.woocommerce-wrap div.product span.price {
	font-family: var(--ay-font-head);
	color: var(--ay-green);
	font-size: 22px; font-weight: 700;
}
.woocommerce-wrap div.product p.price del { color: var(--ay-muted); font-size: 0.8em; }
.woocommerce-wrap div.product p.price ins { text-decoration: none; }

.woocommerce-wrap div.product form.cart { margin: 22px 0; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.woocommerce-wrap div.product form.cart.variations_form { display: block; }
.woocommerce-wrap div.product form.cart .quantity .qty { width: 74px; text-align: center; }

.woocommerce-wrap table.variations { width: 100%; margin-bottom: 14px; }
.woocommerce-wrap table.variations td { padding: 6px 0; }
.woocommerce-wrap .woocommerce-variation-add-to-cart { display: flex; gap: 12px; align-items: center; }

.woocommerce-wrap .woocommerce-tabs ul.tabs {
	list-style: none;
	display: flex; gap: 6px;
	padding: 0; margin: 40px 0 0;
	border-bottom: 2px solid var(--ay-line);
}
.woocommerce-wrap .woocommerce-tabs ul.tabs li { background: none; border: 0; margin: 0; padding: 0; }
.woocommerce-wrap .woocommerce-tabs ul.tabs li::before,
.woocommerce-wrap .woocommerce-tabs ul.tabs li::after { display: none; }
.woocommerce-wrap .woocommerce-tabs ul.tabs li a {
	display: block;
	padding: 11px 18px;
	font-family: var(--ay-font-head);
	font-weight: 600; font-size: 14px;
	color: var(--ay-muted);
	border-bottom: 2px solid transparent;
	margin-bottom: -2px;
}
.woocommerce-wrap .woocommerce-tabs ul.tabs li.active a { color: var(--ay-green); border-bottom-color: var(--ay-green); }
.woocommerce-wrap .woocommerce-tabs .panel { padding: 24px 0; }

.related.products > h2, .upsells.products > h2 { font-size: 22px; text-align: center; margin: 44px 0 24px; }
.related.products ul.products, .upsells.products ul.products { grid-template-columns: repeat(4, 1fr); }

.woocommerce-message, .woocommerce-info, .woocommerce-error {
	border-radius: var(--ay-radius);
	border: 1px solid var(--ay-line);
	border-top: 3px solid var(--ay-green);
	background: var(--ay-cream);
	padding: 14px 18px;
	margin-bottom: 22px;
	list-style: none;
}
.woocommerce-error { border-top-color: var(--ay-sale); }

.woocommerce-wrap table.shop_table {
	width: 100%;
	border-collapse: collapse;
	border: 1px solid var(--ay-line);
	border-radius: var(--ay-radius);
	overflow: hidden;
}
.woocommerce-wrap table.shop_table th,
.woocommerce-wrap table.shop_table td {
	padding: 12px 14px;
	border-bottom: 1px solid var(--ay-line);
	text-align: left;
	font-size: 14px;
}
.woocommerce-wrap table.shop_table thead th { background: var(--ay-cream); font-family: var(--ay-font-head); }

.woocommerce-wrap .cart_totals, .woocommerce-wrap #order_review {
	background: var(--ay-cream);
	border: 1px solid var(--ay-line);
	border-radius: var(--ay-radius);
	padding: 22px;
}
.woocommerce-wrap form .form-row input.input-text,
.woocommerce-wrap form .form-row textarea,
.woocommerce-wrap form .form-row select { width: 100%; }

.woocommerce-account .woocommerce-MyAccount-navigation ul {
	list-style: none; padding: 0;
	border: 1px solid var(--ay-line);
	border-radius: var(--ay-radius);
	overflow: hidden;
}
.woocommerce-account .woocommerce-MyAccount-navigation li a {
	display: block;
	padding: 11px 16px;
	border-bottom: 1px solid var(--ay-line);
	color: var(--ay-ink);
	font-weight: 500;
}
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a,
.woocommerce-account .woocommerce-MyAccount-navigation li a:hover { background: var(--ay-green); color: #fff; }

/* == 9. Footer ========================================================== */

.site-footer { background: var(--ay-green); color: rgba(255, 255, 255, 0.86); }

.site-footer__cols { display: grid; grid-template-columns: 1fr 1fr 1.3fr 1fr; gap: 34px; padding-block: 48px 38px; }
.site-footer h4 { color: #fff; font-size: 15px; text-transform: uppercase; letter-spacing: 0.07em; margin-bottom: 16px; }

.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { padding: 5px 0; }

.site-footer a { color: rgba(255, 255, 255, 0.86); }
.site-footer a:hover { color: #fff; text-decoration: underline; }

.footer-col--contact p { margin: 0 0 10px; font-size: 14px; }
.footer-social a { margin-left: 8px; font-weight: 600; }

.footer-col--brand { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.site-logo--footer img { max-height: 62px; }
.site-logo--footer .site-logo__text { color: #fff; }
.footer-payments { max-height: 34px; width: auto; }

.site-footer__bottom { border-top: 1px solid rgba(255, 255, 255, 0.16); padding: 16px 0; font-size: 13px; }
.site-footer__bottom p { margin: 0; text-align: center; }

/* == 10. Mobile bar, floats, offcanvas, quick view ====================== */

.mobile-bar {
	position: fixed; inset-inline: 0; bottom: 0; z-index: 90;
	display: none;
	grid-template-columns: 1fr 1fr;
	background: #fff;
	border-top: 1px solid var(--ay-line);
	box-shadow: 0 -6px 20px rgba(35, 38, 30, 0.08);
}
.mobile-bar button {
	display: flex; align-items: center; justify-content: center; gap: 8px;
	border: 0; background: none;
	padding: 12px 8px;
	font-family: var(--ay-font-head);
	font-size: 13.5px; font-weight: 600;
	color: var(--ay-ink);
	cursor: pointer;
}
.mobile-bar button + button { border-left: 1px solid var(--ay-line); }

.float-btn {
	position: fixed; z-index: 89;
	display: inline-flex; align-items: center; gap: 8px;
	font-family: var(--ay-font-head);
	font-weight: 600; font-size: 14px;
	border-radius: 999px;
	padding: 11px 18px;
	color: #fff;
	box-shadow: var(--ay-shadow);
}
.float-btn--wa { right: 18px; bottom: 24px; background: #25d366; }
.float-btn--wa:hover { background: #1eb457; color: #fff; }
.float-btn--call { left: 18px; bottom: 24px; background: var(--ay-navy); }
.float-btn--call:hover { background: var(--ay-green); color: #fff; }

.offcanvas {
	position: fixed; top: 0; left: 0; bottom: 0;
	width: min(340px, 88vw);
	background: #fff;
	z-index: 120;
	transform: translateX(-102%);
	transition: transform 0.25s ease;
	display: flex; flex-direction: column;
	box-shadow: var(--ay-shadow);
}
.offcanvas.is-open { transform: translateX(0); }

.offcanvas__head {
	display: flex; align-items: center; justify-content: space-between;
	padding: 16px 18px;
	border-bottom: 1px solid var(--ay-line);
	font-family: var(--ay-font-head);
}
.offcanvas__close { border: 0; background: none; font-size: 26px; line-height: 1; cursor: pointer; color: var(--ay-ink); }

.offcanvas__tabs { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--ay-line); }
.offcanvas__tabs button {
	border: 0;
	background: var(--ay-cream);
	padding: 11px;
	font-family: var(--ay-font-head);
	font-weight: 600; font-size: 13.5px;
	color: var(--ay-muted);
	cursor: pointer;
}
.offcanvas__tabs button.is-active { background: #fff; color: var(--ay-green); box-shadow: inset 0 -2px 0 var(--ay-green); }

.offcanvas__panel { display: none; overflow-y: auto; padding: 10px 0; flex: 1; }
.offcanvas__panel.is-active { display: block; }
.offcanvas__panel ul { list-style: none; margin: 0; padding: 0; }
.offcanvas__panel li { border-bottom: 1px solid var(--ay-line); }
.offcanvas__panel a { display: block; padding: 12px 20px; color: var(--ay-ink); font-size: 15px; }
.offcanvas__panel a:hover { color: var(--ay-green); background: var(--ay-cream); }

.offcanvas-scrim {
	position: fixed; inset: 0;
	background: rgba(35, 38, 30, 0.45);
	z-index: 110;
	opacity: 0;
	transition: opacity 0.25s ease;
}
.offcanvas-scrim.is-open { opacity: 1; }

.qv-modal { position: fixed; inset: 0; z-index: 130; display: none; }
.qv-modal.is-open { display: block; }
.qv-modal__scrim { position: absolute; inset: 0; background: rgba(35, 38, 30, 0.55); }
.qv-modal__box {
	position: absolute; top: 50%; left: 50%;
	transform: translate(-50%, -50%);
	width: min(760px, 92vw);
	max-height: 86vh;
	overflow-y: auto;
	background: #fff;
	border-radius: 14px;
	box-shadow: var(--ay-shadow);
	padding: 28px;
}
.qv-modal__close {
	position: absolute; top: 10px; right: 12px;
	border: 0; background: none;
	font-size: 30px; line-height: 1;
	cursor: pointer; color: var(--ay-muted);
	z-index: 2;
}
.qv-modal__close:hover { color: var(--ay-sale); }
.qv-modal__content .qv { display: grid; grid-template-columns: 1fr 1.1fr; gap: 26px; align-items: start; }
.qv__media img { border-radius: var(--ay-radius); width: 100%; }
.qv__title { font-size: 21px; }
.qv__price { font-family: var(--ay-font-head); font-size: 19px; font-weight: 700; color: var(--ay-green); margin-bottom: 12px; }
.qv__price del { color: var(--ay-muted); font-size: 0.82em; }
.qv__price ins { text-decoration: none; }
.qv__excerpt { font-size: 14px; color: var(--ay-muted); margin-bottom: 18px; }
.qv-loading { text-align: center; padding: 40px 0; color: var(--ay-muted); }

/* == 11. Responsive ===================================================== */

@media (max-width: 1080px) {
	.ay-product-grid--5 { grid-template-columns: repeat(4, 1fr); }
	.blog-grid { grid-template-columns: repeat(2, 1fr); }
	.site-footer__cols { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 920px) {
	.header-burger { display: flex; }
	.product-card__actions { opacity: 1; transform: none; }
	.main-nav { display: none; }
	.header-search { order: 4; flex-basis: 100%; max-width: none; }
	.site-header__inner { flex-wrap: wrap; gap: 14px; }
	.header-cart__total { display: none; }

	.hero-slide__inner { grid-template-columns: 1fr; min-height: 0; text-align: center; gap: 22px; padding-block: 30px 44px; }
	.hero-slide__media { order: -1; }
	.hero-slide__media img { max-height: 320px; margin-inline: auto; }
	.hero-slider__arrow { display: none; }

	.cat-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
	.ay-product-grid, .ay-product-grid--5 { grid-template-columns: repeat(2, 1fr); gap: 14px; }
	.woocommerce-wrap ul.products { grid-template-columns: repeat(2, 1fr); gap: 14px; }
	.related.products ul.products, .upsells.products ul.products { grid-template-columns: repeat(2, 1fr); }

	.layout-with-sidebar, .layout-with-sidebar--left { grid-template-columns: 1fr; }
	.layout-with-sidebar--left .layout-sidebar--shop { order: 2; }

	.woocommerce-wrap div.product { grid-template-columns: 1fr; gap: 24px; }

	.home-seo__cols { grid-template-columns: 1fr; gap: 26px; }
	.blog-grid--archive { grid-template-columns: 1fr; }

	.mobile-bar { display: grid; }
	body { padding-bottom: 52px; }
	.float-btn--wa { bottom: 68px; }
	.float-btn--call { display: none; }

	.home-section { padding-block: 38px; }
}

@media (max-width: 560px) {
	.topbar__cta { display: none; }
	.blog-grid { grid-template-columns: 1fr; }
	.site-footer__cols { grid-template-columns: 1fr; gap: 26px; }
	.qv-modal__content .qv { grid-template-columns: 1fr; }
	.shop-toolbar { justify-content: center; }
}
