/*
Theme Name: Ali-Sale Ollie
Theme URI: https://ali-sale.ru/
Description: Lightweight Ali-Sale child theme for Ollie. No page builder or companion plugin required.
Author: Ali-Sale
Template: ollie
Version: 0.7.13
Requires at least: 7.1
Requires PHP: 8.2
Text Domain: ali-sale-ollie
*/

.as-home-market { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; padding: clamp(20px, 3vw, 32px); border: 1px solid #8c51aa; border-radius: 20px; background: #28143d; color: #fff; }
.as-home-market h2 { margin: 8px 0; color: #fff; font-size: clamp(1.2rem, 2.5vw, 1.65rem); }
.as-home-market p { margin: 0; color: #eadcf4; }
.as-home-market .as-eyebrow { color: #ffdc61; }
.as-home-market .as-action { max-width: 100%; text-align: center; }

.as-store-directory { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-block: 24px; }
.as-store-directory a { display: flex; flex-direction: column; gap: 10px; min-width: 0; padding: 22px; border: 1px solid #dac1e6; border-radius: 16px; background: #fff5de; color: #36134e; text-decoration: none; transition: transform .15s; }
.as-store-directory a:hover { transform: translateY(-3px); background: #ffe69b; }
.as-store-directory a:focus-visible { outline: 3px solid #b01b85; outline-offset: 3px; }
.as-store-directory a[aria-current] { border-color: #9b38b9; }
.as-store-directory strong { font-size: 1.15rem; color: #36134e; }
.as-store-directory a > span:last-child { font-size: .9rem; line-height: 1.5; }
.as-store-directory__icon { font-size: 1.8rem; }
.as-more-stores > h2 { color: #ffdc61; }
@media (max-width: 800px) { .as-store-directory { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .as-store-directory { grid-template-columns: 1fr; } }

.as-article-content .wp-block-button__link {
	display: inline-block;
	box-sizing: border-box;
	max-width: 100%;
	min-height: 44px;
	padding: .75rem 1rem;
	white-space: normal;
}

.as-affiliate-disclosure {
	display: block;
	max-width: 100%;
	margin-top: .5rem;
	font-size: .75rem;
	font-weight: 400;
	line-height: 1.5;
	overflow-wrap: anywhere;
}

:root {
	--as-accent: #ef3f22;
	--as-accent-dark: #bd2d15;
	--as-ink: #171b2b;
	--as-muted: #62677a;
	--as-line: #e8e9ef;
	--as-surface: #fff;
	--as-canvas: #f7f7f4;
	--as-radius: 20px;
	--as-shadow: 0 16px 44px rgb(29 35 55 / 10%);
}

body {
	overflow-x: hidden;
}

.as-site-header {
	position: sticky;
	top: 0;
	z-index: 30;
	border-bottom: 1px solid var(--as-line);
	background: rgb(255 255 255 / 94%);
	backdrop-filter: blur(16px);
}

.admin-bar .as-site-header {
	top: 32px;
}

.as-header-row {
	min-height: 72px;
	gap: 2rem;
}

.as-brand {
	flex: 0 0 auto;
}

.as-brand p {
	margin: 0;
	font-size: 1.25rem;
	font-weight: 850;
	letter-spacing: -0.04em;
}

.as-brand a {
	color: var(--as-ink);
	text-decoration: none;
}

.as-header-row .wp-block-navigation {
	flex: 1;
	justify-content: flex-end;
	font-size: 0.94rem;
}

.as-header-row .wp-block-navigation__container {
	column-gap: clamp(0.85rem, 1.7vw, 1.65rem);
	flex-wrap: nowrap;
}

.as-header-row .wp-block-navigation-item {
	white-space: nowrap;
}

.as-header-row .wp-block-navigation a:hover,
.as-header-row .wp-block-navigation a:focus-visible {
	color: var(--as-accent-dark);
}

.as-home {
	background: var(--as-canvas);
	padding: 0 24px 72px;
}

.as-hero {
	position: relative;
	overflow: hidden;
	border-radius: 30px;
	background:
		radial-gradient(circle at 87% 18%, rgb(255 255 255 / 20%) 0 8%, transparent 8.4%),
		linear-gradient(135deg, #ff4a24 0%, #ff7022 58%, #ff9b36 100%);
	box-shadow: var(--as-shadow);
	color: #fff;
}

.as-hero::after {
	position: absolute;
	right: -110px;
	bottom: -170px;
	width: 390px;
	height: 390px;
	border-radius: 50%;
	background: rgb(255 255 255 / 13%);
	content: "";
	pointer-events: none;
}

.as-hero h1 {
	max-width: 900px;
	margin-inline: 0;
	font-size: clamp(2.5rem, 5.8vw, 5rem);
	line-height: 0.99;
	letter-spacing: -0.052em;
}

.as-hero-copy {
	max-width: 740px;
	font-size: clamp(1.05rem, 2vw, 1.28rem);
	line-height: 1.58;
	opacity: 0.95;
}

.as-hero .wp-block-button__link {
	border: 1px solid rgb(255 255 255 / 45%);
	background: #fff;
	color: var(--as-accent-dark);
	font-weight: 750;
}

.as-hero .is-style-outline .wp-block-button__link {
	background: transparent;
	color: #fff;
}

.as-home-grid .wp-block-post-template > li {
	display: flex;
	min-width: 0;
	flex-direction: column;
	overflow: hidden;
	padding: clamp(18px, 2.4vw, 26px);
	border: 1px solid var(--as-line);
	border-radius: var(--as-radius);
	background: var(--as-surface);
	box-shadow: 0 8px 26px rgb(29 35 55 / 7%);
}

.as-home-grid .wp-block-post-featured-image {
	margin-block: 0 1.25rem;
}

.as-home-grid .wp-block-post-featured-image img {
	width: 100%;
	height: 190px;
	border-radius: 14px;
	object-fit: cover;
}

.as-home-grid .wp-block-post-title {
	margin-block: 0 0.7rem;
	font-size: clamp(1.25rem, 2vw, 1.65rem) !important;
	line-height: 1.18;
	letter-spacing: -0.025em;
}

.as-home-grid .wp-block-post-title a {
	color: var(--as-ink);
	text-decoration: none;
}

.as-home-grid .wp-block-post-title a:hover {
	color: var(--as-accent-dark);
}

.as-home-grid .wp-block-post-excerpt {
	display: flex;
	flex: 1;
	flex-direction: column;
}

.as-home-grid .wp-block-post-excerpt__excerpt {
	color: var(--as-muted);
	font-size: 0.98rem;
	line-height: 1.62;
}

.as-home-grid .wp-block-post-excerpt__more-text {
	margin-top: auto;
	padding-top: 0.4rem;
}

.as-home-grid .wp-block-post-excerpt__more-link {
	color: var(--as-accent-dark);
	font-weight: 700;
}

.as-single,
.as-page {
	min-height: 70vh;
	background:
		radial-gradient(circle at 7% 3%, rgb(239 63 34 / 6%), transparent 25rem),
		var(--as-canvas);
}

.as-article-header,
.as-page-header {
	width: 100%;
	padding-block: clamp(1.5rem, 4vw, 3.75rem) clamp(1.5rem, 3vw, 2.5rem);
}

.as-article-category {
	margin: 0 0 1.1rem;
	font-size: 0.82rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.as-article-category a {
	padding: 0.45rem 0.75rem;
	border: 1px solid rgb(239 63 34 / 20%);
	border-radius: 999px;
	background: rgb(239 63 34 / 7%);
	color: var(--as-accent-dark);
	text-decoration: none;
}

.as-article-title {
	margin-block: 0;
	color: var(--as-ink);
	font-size: clamp(2rem, 4.1vw, 3.35rem) !important;
	font-weight: 850;
	letter-spacing: -0.052em;
	line-height: 1.12;
	overflow-wrap: anywhere;
}

.as-article-meta {
	gap: 0.6rem;
	margin-top: 1.4rem;
	color: var(--as-muted);
	font-size: 0.92rem;
}

.as-article-meta p,
.as-article-meta .wp-block-post-author,
.as-article-meta .wp-block-post-author__content {
	margin: 0;
}

.as-article-meta a {
	color: inherit;
	text-decoration: none;
}

.as-article-cover {
	overflow: hidden;
	box-sizing: border-box;
	max-width: 760px !important;
	padding: clamp(12px, 2vw, 20px);
	margin-block: 0 clamp(1rem, 2.5vw, 2rem);
	border: 1px solid var(--as-line);
	border-radius: clamp(18px, 2.4vw, 30px);
	background: #fff;
	box-shadow: var(--as-shadow);
}

.wp-block-post-featured-image.as-article-cover img {
	display: block;
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: 320px;
	margin-inline: auto;
	object-fit: contain;
}

.as-article-cover--scene {
	padding: 0;
}

.as-article-cover.as-article-cover--vector {
	padding: 0;
}

.postid-3005 .wp-block-post-featured-image.as-article-cover--vector {
	display: block;
}

.wp-block-post-featured-image img[src*="/alisale-svg-covers-20261127/"] {
	display: block;
	width: 100%;
	height: auto !important;
	max-height: none !important;
	aspect-ratio: 2 / 1 !important;
	object-fit: contain !important;
}

.as-article-cover.as-article-cover--scene img {
	width: 100%;
	aspect-ratio: 16 / 9;
	height: auto;
	max-height: 360px;
	object-fit: cover;
	object-position: center;
}

@media (max-width: 600px) {
	.wp-block-post-featured-image.as-article-cover img { max-height: 220px; }
	.as-article-cover.as-article-cover--scene img { max-height: 200px; }
}

.as-article-content {
	width: 100%;
	padding: clamp(1.35rem, 4vw, 4rem);
	border: 1px solid var(--as-line);
	border-radius: clamp(18px, 2.4vw, 30px);
	background: var(--as-surface);
	box-shadow: 0 12px 38px rgb(29 35 55 / 7%);
	color: #292d3b;
}

.as-article-content > :first-child {
	margin-top: 0;
}

.as-article-content > :last-child {
	margin-bottom: 0;
}

.as-article-content p,
.as-article-content li {
	font-size: clamp(1rem, 1.25vw, 1.08rem);
	line-height: 1.75;
}

.as-article-content h2,
.as-article-content h3,
.as-article-content h4 {
	color: var(--as-ink);
	letter-spacing: -0.035em;
}

.as-article-content h2 {
	margin-top: clamp(2.5rem, 5vw, 4.25rem);
	font-size: clamp(1.7rem, 3.4vw, 2.65rem);
	line-height: 1.12;
}

.as-article-content .alibaba-header .header-title {
	color: #fff;
}

.as-article-content h3 {
	margin-top: 2.25rem;
	font-size: clamp(1.35rem, 2.4vw, 1.85rem);
	line-height: 1.2;
}

.as-article-content img {
	height: auto;
	border-radius: 14px;
}

.as-article-content blockquote {
	margin-block: 2rem;
	padding: 1.1rem 1.35rem;
	border: 0;
	border-left: 4px solid var(--as-accent);
	border-radius: 0 14px 14px 0;
	background: #fff5f1;
}

.as-article-content table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.95rem;
}

.as-article-content th,
.as-article-content td {
	padding: 0.85rem;
	border: 1px solid var(--as-line);
	text-align: left;
	vertical-align: top;
}

.as-article-content th {
	background: var(--as-canvas);
	color: var(--as-ink);
}

.as-article-footer {
	width: 100%;
	padding-block: 1.4rem;
}

.as-article-tags {
	font-size: 0.9rem;
}

.as-article-tags a {
	display: inline-block;
	margin: 0.25rem 0.25rem 0.25rem 0;
	padding: 0.4rem 0.7rem;
	border: 1px solid var(--as-line);
	border-radius: 999px;
	background: #fff;
	color: var(--as-muted);
	text-decoration: none;
}

.as-editorial-note {
	margin-top: 1rem;
	padding: 1rem 1.15rem;
	border: 1px solid var(--as-line);
	border-radius: 14px;
	background: rgb(255 255 255 / 76%);
	color: var(--as-muted);
	font-size: 0.88rem;
	line-height: 1.55;
}

.as-site-footer {
	border-top: 1px solid var(--as-line);
	background: var(--as-ink);
	color: #fff;
}

.as-footer-row {
	gap: 2rem 4rem;
}

.as-footer-about {
	max-width: 520px;
}

.as-footer-brand {
	margin: 0;
	font-size: 1.35rem;
	font-weight: 850;
	letter-spacing: -0.04em;
}

.as-footer-brand a,
.as-footer-nav a {
	color: #fff;
	text-decoration: none;
}

.as-footer-about .has-small-font-size {
	margin-bottom: 0;
	color: rgb(255 255 255 / 68%);
	line-height: 1.65;
}

.as-footer-nav {
	font-size: 0.9rem;
}

.as-footer-nav .wp-block-navigation__container {
	gap: 0.65rem 1.4rem;
}

.as-footer-nav a:hover,
.as-footer-nav a:focus-visible {
	color: #ffad92;
}

.as-footer-bottom {
	padding-block: 1rem 1.3rem;
	border-top: 1px solid rgb(255 255 255 / 13%);
	color: rgb(255 255 255 / 55%);
}

.as-footer-bottom p {
	margin: 0;
}

@media (max-width: 782px) {
	.admin-bar .as-site-header {
		top: 46px;
	}

	.as-header-row {
		min-height: 62px;
	}

	.as-hero {
		width: 100%;
		max-width: 100%;
		padding: 34px 24px !important;
		border-radius: 22px;
	}

	.as-hero h1 {
		font-size: clamp(2rem, 10vw, 2.85rem);
		overflow-wrap: anywhere;
	}

	.as-hero-copy {
		font-size: 1rem;
	}

	.as-hero .wp-block-buttons {
		align-items: stretch;
		flex-direction: column;
	}

	.as-hero .wp-block-button,
	.as-hero .wp-block-button__link {
		width: 100%;
	}

	.as-home-grid .wp-block-post-template {
		grid-template-columns: minmax(0, 1fr) !important;
	}

	.as-home-grid,
	.as-home-grid .wp-block-post-template,
	.as-home-grid .wp-block-post-template > li {
		width: 100%;
		max-width: 100%;
		min-width: 0;
	}

	.as-single,
	.as-page {
		padding-inline: 12px !important;
	}

	.as-article-header,
	.as-page-header {
		padding-block: 1.5rem 1.25rem;
	}

	.as-article-title {
		font-size: clamp(1.8rem, 7.4vw, 2.5rem) !important;
	}

	.as-article-content {
		padding: 1.2rem;
		border-radius: 18px;
	}

	.as-article-content p,
	.as-article-content li {
		font-size: 1rem;
	}

	.as-article-content .wp-block-table,
	.as-article-content .ali-duty-table-wrap {
		overflow-x: auto;
	}

	.as-footer-row,
	.as-footer-bottom {
		align-items: flex-start;
		padding-inline: 18px;
	}

	.as-footer-nav .wp-block-navigation__container {
		align-items: flex-start;
		flex-direction: column;
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		transition: none !important;
	}
}

/* Shared navigation and calmer editorial layout, theme 0.3.0. */
:where(a, button, input, select, textarea):focus-visible {
	outline: 3px solid #b9361f;
	outline-offset: 4px;
}
html { scroll-padding-top: 100px; }
.as-site-header { box-shadow: 0 3px 16px rgb(23 27 43 / 3%); }
.as-header-row { padding-inline: 8px; }
.as-header-row .wp-block-navigation-item { font-weight: 600; }
.as-home > .as-home-intro { margin-top: 0; }
.as-home-intro {
	display: grid;
	grid-template-columns: minmax(0, 1.3fr) minmax(0, .85fr);
	gap: clamp(32px, 6vw, 88px);
	align-items: center;
	padding-block: clamp(40px, 6vw, 80px);
}
.as-eyebrow { margin: 0 0 18px; font-size: .74rem; font-weight: 750; letter-spacing: .12em; color: var(--as-muted); }
.as-home-intro h1 { margin: 0; color: var(--as-ink); font-size: clamp(2.7rem, 5.2vw, 4.5rem); line-height: 1.06; font-weight: 780; letter-spacing: -.055em; }
.as-home-intro h1 span { color: #c43b20; }
.as-home-intro__lead { max-width: 540px; margin: 24px 0; color: #565c6b; font-size: 1.08rem; line-height: 1.7; }
.as-home-intro__actions { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; }
.as-action { display: inline-flex; align-items: center; gap: 24px; min-height: 48px; padding: 12px 20px; border-radius: 10px; color: #fff; background: #c43b20; text-decoration: none; font-size: .95rem; font-weight: 700; }
.as-action:hover { background: #a92d17; color: #fff; }
.as-text-link { color: #454b58; font-size: .9rem; text-underline-offset: 5px; }
.as-purchase-checklist { padding: clamp(24px, 3vw, 38px); border-radius: 22px; background: #20262b; color: #fff; box-shadow: 0 20px 40px rgb(23 27 43 / 10%); }
.as-purchase-checklist .as-eyebrow { color: #d6bba9; }
.as-purchase-checklist h2 { margin: 0 0 24px; color: #fff; font-size: clamp(1.7rem, 2.5vw, 2.1rem); line-height: 1.15; letter-spacing: -.035em; }
.as-purchase-checklist > a { display: grid; grid-template-columns: 26px minmax(0, 1fr) 18px; gap: 12px; align-items: center; padding-block: 17px; border-top: 1px solid #41464a; color: #fff; text-decoration: none; }
.as-purchase-checklist > a:hover strong { text-decoration: underline; text-underline-offset: 4px; }
.as-step-number { font-size: .72rem; color: #d6bba9; }
.as-purchase-checklist strong { display: block; font-size: .95rem; }
.as-purchase-checklist small { display: block; margin-top: 3px; font-size: .79rem; line-height: 1.5; color: #c4c8ca; }
.as-purchase-checklist__note { margin: 10px 0 0; font-size: .73rem; color: #c4c8ca; }
.as-section-links { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.as-section-links > a { display: flex; min-width: 0; flex-direction: column; padding: 24px; border: 1px solid #e1e3df; border-radius: 16px; color: var(--as-ink); background: #fff; text-decoration: none; transition: border-color .15s; }
.as-section-links > a:hover { border-color: #c43b20; }
.as-tile-mark { display: grid; width: 38px; height: 38px; margin-bottom: 24px; place-items: center; border-radius: 10px; background: #f9eee7; color: #ae341e; font-weight: 750; font-size: 1.25rem; }
.as-section-links strong { font-size: 1rem; line-height: 1.3; }
.as-section-links strong + span { margin-top: 7px; color: var(--as-muted); font-size: .85rem; line-height: 1.6; }
.as-help-section { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; margin-block: 64px !important; padding-block: 38px; border-block: 1px solid #dfe1dd; }
.as-help-section h2 { margin: 0 0 16px; font-size: clamp(1.8rem, 3vw, 2.5rem); line-height: 1.16; letter-spacing: -.04em; }
.as-help-section p:not(.as-eyebrow) { max-width: 430px; margin: 0; color: var(--as-muted); line-height: 1.65; }
.as-help-links a { display: flex; justify-content: space-between; gap: 24px; padding-block: 20px; border-bottom: 1px solid #dfe1dd; text-decoration: none; font-size: .98rem; color: var(--as-ink); }
.as-help-links a:hover { color: #b7351d; }
.as-section-heading { margin-bottom: 24px !important; }
.as-section-heading h2 { margin: 0; font-size: 1.8rem; letter-spacing: -.035em; }
.as-section-heading p { margin: 0; font-size: .85rem; }
.as-home-grid .wp-block-post-template { gap: 22px; }
.as-home-grid .wp-block-post-template > li { padding: 18px; box-shadow: none; border-radius: 16px; }
.as-home-grid .wp-block-post-title { font-size: 1.25rem !important; line-height: 1.32; }
.as-home-grid .wp-block-post-excerpt__excerpt { font-size: .9rem; }
.as-single, .as-page, .as-listing { padding-top: 22px !important; }
.as-article-header, .as-page-header { padding-top: 28px; }
.as-article-category { line-height: 2.4; }
.as-article-category a { white-space: nowrap; }
.as-article-content { box-shadow: none; }
.as-article-content h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); line-height: 1.2; }
.as-article-content h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); }
.as-article-content .alisale-benefit-hero h2 { margin: 0; color: #fff; font-size: clamp(2.3rem, 5vw, 4rem); line-height: 1.02; }
.as-article-content .alisale-benefit-hero.is-undated { grid-template-columns: 1fr; }
.as-article-content .alisale-benefit-hero__eyebrow { margin-top: 0; font-size: .73rem; line-height: 1.5; }
.as-article-content .alisale-benefit-step h3,
.as-article-content .alisale-benefit-feature h3 { margin: 14px 0 8px; font-size: 1.1rem; }
.as-article-content .alisale-sales-calendar th { background: #f7f7f4; }
.as-article-content .alisale-sales-calendar thead th { background: #322a25; color: #fff; }
.as-article-content .alisale-sales-calendar tbody th { font-weight: 650; }
.as-article-content .alisale-sales-calendar__header h2 { margin: 0 0 14px; }
.as-site-footer { background: #20262b; }
.as-footer-bottom { color: #c0c5c7; }
.as-listing { background: var(--as-canvas); padding: 24px 24px 64px; }
.as-listing-header { padding-block: 22px 32px; }
.as-listing-header h1 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.15; letter-spacing: -.04em; }
.as-listing .wp-block-query-pagination { margin-top: 32px; }
.as-listing .wp-block-search { margin-block: 20px; }
.as-not-found { max-width: 680px; padding: 40px 0 90px; }
.as-not-found h1 { font-size: clamp(2rem, 4vw, 3rem); }
@media (max-width: 1024px) {
	.as-header-row { gap: 20px; }
	.as-header-row .wp-block-navigation { font-size: .83rem; }
	.as-section-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 782px) {
	.as-home { padding-inline: 18px; }
	.as-home-intro { grid-template-columns: 1fr; gap: 28px; padding-block: 30px 36px; }
	.as-home-intro h1 { font-size: clamp(2.65rem, 9vw, 3.8rem); }
	.as-home-intro__lead { font-size: 1rem; margin-block: 20px; }
	.as-home-intro__actions { gap: 16px; }
	.as-help-section { grid-template-columns: 1fr; gap: 12px; margin-block: 40px !important; }
	.as-section-links { gap: 12px; }
	.as-section-links > a { padding: 18px; }
	.as-tile-mark { margin-bottom: 16px; }
	.as-section-heading h2 { font-size: 1.5rem; }
	.as-article-content .alisale-benefit-hero { margin-inline: -4px; padding: 22px; }
	.as-footer-nav .wp-block-navigation__container { gap: 14px; }
}
@media (max-width: 359px) {
	.as-section-links { grid-template-columns: 1fr; }
	.as-home-intro h1 { font-size: 2.3rem; }
}

/* Search and content navigation. All controls work without custom JavaScript. */
.as-header-search { position: relative; flex: 0 0 auto; }
.as-header-search summary { display: grid; width: 42px; height: 42px; place-items: center; list-style: none; border: 1px solid var(--as-line); border-radius: 10px; color: var(--as-ink); cursor: pointer; background: #fff; }
.as-header-search summary::-webkit-details-marker { display: none; }
.as-header-search[open] summary { border-color: var(--as-accent-dark); }
.as-header-search form { box-sizing: border-box; position: absolute; top: 52px; right: 0; z-index: 50; width: min(390px, calc(100vw - 36px)); padding: 20px; border: 1px solid var(--as-line); border-radius: 14px; background: #fff; box-shadow: var(--as-shadow); }
.as-header-search label, .as-directory-search label { display: block; margin-bottom: 9px; font-size: .9rem; font-weight: 650; color: var(--as-ink); }
.as-header-search form > div, .as-directory-search > div { display: flex; gap: 8px; }
.as-header-search input, .as-directory-search input { box-sizing: border-box; min-width: 0; flex: 1; width: 100%; border: 1px solid #c9cdd1; border-radius: 8px; padding: 11px 12px; font: inherit; font-size: 16px; }
.as-header-search button, .as-directory-search button { border: 0; border-radius: 8px; padding: 11px 14px; background: #b7351e; color: #fff; font: inherit; font-size: .9rem; font-weight: 650; cursor: pointer; }
.as-table-of-contents { margin: 0 0 32px; padding: 0; border: 1px solid #dedfd9; border-radius: 12px; background: #f9faf7; }
.as-table-of-contents summary { padding: 17px 20px; cursor: pointer; font-size: 1rem; font-weight: 700; }
.as-table-of-contents summary > span { margin-left: 10px; color: var(--as-muted); font-size: .8rem; font-weight: 400; }
.as-table-of-contents ol { padding: 0 24px 18px 42px; margin: 0; }
.as-article-content .as-table-of-contents li { padding-block: 4px; font-size: .93rem; line-height: 1.5; }
.as-table-of-contents a { color: #444c58; text-underline-offset: 4px; }
.as-table-of-contents a:hover { color: var(--as-accent-dark); }
.as-article-content h2[id] { scroll-margin-top: 100px; }
.as-directory-intro { color: var(--as-muted); }
.as-directory-search { margin: 28px 0; padding: 22px; border-radius: 14px; background: #f5f6f2; }
.as-directory-guides { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 28px 0; }
.as-directory-guides section { padding: 22px; border: 1px solid var(--as-line); border-radius: 14px; }
.as-article-content .as-directory-guides h2 { margin: 0 0 14px; font-size: 1.2rem; }
.as-directory-guides ul { padding: 0; margin: 0; list-style: none; }
.as-directory-guides li + li { border-top: 1px solid var(--as-line); }
.as-directory-guides a { display: flex; align-items: center; gap: 16px; justify-content: space-between; padding: 13px 0; text-decoration: none; color: var(--as-ink); font-size: .95rem; line-height: 1.5; }
.as-directory-guides a:hover { color: var(--as-accent-dark); }
.as-directory-topics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.as-directory-topics > a { padding: 20px; border: 1px solid #dedfd9; border-radius: 12px; color: var(--as-ink); text-decoration: none; }
.as-directory-topics > a:hover { border-color: var(--as-accent-dark); }
.as-directory-topics strong { display: block; margin-bottom: 6px; font-size: 1rem; }
.as-directory-topics > a > span { display: flex; justify-content: space-between; color: var(--as-muted); font-size: .85rem; }
@media (max-width: 782px) {
	.as-header-row { gap: 14px; }
	.as-directory-guides, .as-directory-topics { grid-template-columns: 1fr; }
	.as-directory-guides { gap: 14px; }
	.as-directory-guides section { padding: 18px; }
	.as-table-of-contents summary { padding-inline: 14px; }
	.as-table-of-contents summary > span { display: block; margin: 4px 0 0 18px; }
}

/* Sale festival: violet, hot pink and gold. Editorial surfaces stay light. */
:root { --as-accent: #d81b7d; --as-accent-dark: #a80b64; --as-canvas: #f6f2fc; }
:where(a, button, input, select, textarea):focus-visible { outline-color: #c227b0; }
html { scroll-padding-top: 138px; }
.as-site-header { background: #180d30; border-bottom-color: #4c286f; backdrop-filter: none; box-shadow: 0 6px 30px #14062225; }
.as-brand a { color: #ffe776; }
.as-header-row .wp-block-navigation { color: #fff; }
.as-header-row .wp-block-navigation-item:first-child > a { padding: 10px 14px; border-radius: 9px; background: #ffda61; color: #311240; }
.as-header-row .wp-block-navigation a:hover { color: #ff80cf; }
.as-header-row .wp-block-navigation-item:first-child > a:hover { color: #311240; background: #ffed9c; }
.as-header-search summary { background: #36204d; color: #fff; border-color: #6a4588; }
.as-header-search[open] summary { border-color: #ffda61; }
.as-header-search form { border: 1px solid #dbc2ee; }
.as-header-search button, .as-directory-search button { background: #a80b64; }
.as-promo-ribbon { box-sizing: border-box; display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 12px 24px; padding: 9px 18px; background: linear-gradient(100deg,#7128bc,#b91b91,#7128bc); color: #ffe776; font-size: .76rem; font-weight: 650; }
.as-promo-ribbon a { color: #fff7d8; text-decoration: none; }
.as-promo-ribbon a:hover { text-decoration: underline; text-underline-offset: 4px; }
.as-site-header > .as-promo-ribbon { max-width: none; width: 100%; margin: 0 !important; }
.as-home { margin-block-start: 0 !important; }
.as-home { background: radial-gradient(ellipse at 85% 0,#4b1c77 0,transparent 45%),#150d26; padding-top: 24px; }
.as-home > .as-home-intro { box-sizing: border-box; position: relative; overflow: hidden; padding: clamp(26px,4vw,52px); gap: 0; grid-template-columns: 1fr 1fr; border: 1px solid #9448b4; border-radius: 28px; background: radial-gradient(ellipse at 84% 75%,#ba248e88,transparent 55%),linear-gradient(120deg,#371553,#622292); box-shadow: 0 20px 80px #07020f55; }
.as-home-intro .as-eyebrow { color: #f4dd84; font-size: .69rem; letter-spacing: .1em; }
.as-home-intro h1 { position: relative; z-index: 1; color: #fff; font-size: clamp(3rem,5.5vw,4.9rem); line-height: 1.02; letter-spacing: -.055em; }
.as-home-intro h1 span { color: #ffdc61; text-shadow: 0 3px 30px #ffc63135; }
.as-home-intro__lead { color: #eee0fa; font-size: 1rem; max-width: 460px; line-height: 1.65; }
.as-home-intro__actions { gap: 18px; }
.as-action { gap: 14px; padding: 14px 22px; background: linear-gradient(180deg,#ffed98,#ffca44); border: 1px solid #fff0b1; border-bottom: 4px solid #cf8e1e; border-radius: 12px; color: #311240; box-shadow: 0 6px 25px #ffb92335; }
.as-action:hover { background: #fff0a9; color: #311240; transform: translateY(-1px); }
.as-home .as-text-link { color: #f9e7ff; }
.as-hero-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.as-hero-tags span { padding: 6px 10px; border: 1px solid #ffffff35; border-radius: 20px; color: #efdcff; font-size: .68rem; }
.as-gift-stage { position: relative; min-width: 0; align-self: stretch; display: grid; align-content: center; }
.as-gift-stage img { display: block; width: 118%; max-width: none; height: auto; margin-left: -5%; }
.as-gift-label { position: absolute; z-index: 1; padding: 10px 18px; border-radius: 8px; font-size: .83rem; font-weight: 850; letter-spacing: .04em; box-shadow: 0 8px 20px #15061f30; }
.as-gift-label--top { top: 8%; right: 2%; transform: rotate(8deg); background: #d5f56e; color: #2d1741; }
.as-gift-label--bottom { bottom: 4%; left: 5%; transform: rotate(-5deg); background: #ffdc61; color: #3f1740; font-size: .68rem; }
.as-section-links { margin-top: 24px !important; gap: 16px; }
.as-section-links > a { position: relative; overflow: hidden; padding: 24px; border: 1px solid #b971e7; background: linear-gradient(130deg,#7132ad,#431b6c); color: #fff; box-shadow: 0 8px 22px #06020e25; }
.as-section-links > a:nth-child(2) { background: linear-gradient(130deg,#be1c7e,#711465); border-color: #ef6fbb; }
.as-section-links > a:nth-child(3) { background: linear-gradient(130deg,#3656a4,#37216e); border-color: #6f91e1; }
.as-section-links > a:nth-child(4) { background: linear-gradient(130deg,#824228,#55213d); border-color: #d4915b; }
.as-section-links > a:hover { border-color: #ffe287; transform: translateY(-3px); }
.as-section-links > a::after { content: '%'; position: absolute; right: 8px; top: 0; font-size: 110px; font-weight: 900; line-height: 1; opacity: .09; transform: rotate(12deg); }
.as-tile-mark { width: 48px; height: 48px; margin-bottom: 20px; border: 1px solid #ffffff35; border-radius: 13px; background: #ffffff18; color: #ffe287; font-size: 1.7rem; }
.as-section-links strong { font-size: 1.12rem; }
.as-section-links strong + span { color: #f1dcfa; font-size: .8rem; }
.as-home .as-help-section { border-color: #5f3c7a; }
.as-home .as-help-section h2, .as-home .as-section-heading h2 { color: #fff; }
.as-home .as-help-section .as-eyebrow { color: #ffdc61; }
.as-home .as-help-section p:not(.as-eyebrow) { color: #ccb9dc; margin-bottom: 16px; }
.as-home .as-help-links a { color: #f0e4fc; border-color: #5f3c7a; }
.as-home .as-help-links a:hover, .as-home .as-section-heading a { color: #ffdc61; }
.as-home-grid .wp-block-post-template > li { border: 1px solid #dacee9; box-shadow: 0 8px 28px #240a3c08; }
.as-single, .as-page { background: radial-gradient(ellipse at 0 0,#f5d9ee,transparent 50%),#f6f2fc; }
.as-article-category a { background: #f8dfef; color: #9d1262; border-color: #efb3d7; }
.as-article-content { border-color: #e3d5ef; }
.as-directory-search { background: #f2e7fa; }
.as-directory-topics > a:hover, .as-directory-guides section { border-color: #d6b8ec; }
.as-directory-topics > a:nth-child(3n+1) { background: #fff1fa; }
.as-directory-topics > a:nth-child(3n+2) { background: #f3ecff; }
.as-directory-topics > a:nth-child(3n) { background: #fff8e3; }
.as-site-footer { background: radial-gradient(ellipse at 10% 0,#4b1b6a,transparent 65%),#160c29; border-top: 1px solid #703996; }
.as-footer-brand a { color: #ffdc61; }
.as-footer-bottom { color: #cab7dc; }
.as-article-content .alisale-promocodes .alibaba-header { position: relative; overflow: hidden; min-height: 280px; padding: 30px 250px 30px 28px; border: 1px solid #a051c3; border-radius: 18px; background: radial-gradient(ellipse at 95% 80%,#d021a455,transparent 65%),linear-gradient(120deg,#371553,#74269c); }
.as-article-content .alisale-promocodes .alibaba-header::after { content: ''; position: absolute; right: -35px; top: 35px; width: 300px; height: 250px; background: url('assets/gift-party.svg') center/contain no-repeat; pointer-events: none; }
.as-article-content .alisale-promocodes .alibaba-header .header-title { position: relative; z-index: 1; color: #fff; font-size: clamp(1.5rem,3vw,2rem); }
.as-article-content .alisale-promocodes .header-badge { position: relative; z-index: 1; background: #ffdc61; color: #371553; font-weight: 750; }
.as-article-content .alisale-promocodes .header-sub { position: relative; z-index: 1; color: #edddfa; font-size: .92rem; }
.as-article-content .alisale-promocodes .promo-empty { border-color: #edb3d8; background: linear-gradient(110deg,#fff4fa,#fff8e9); }
.as-article-content .alisale-promocodes .promo-empty h3::before { content: '🎁'; display: block; margin-bottom: 12px; font-size: 2rem; }
.as-article-content .alisale-promocodes .promo-empty a { color: #a80b64; font-weight: 650; }
.as-article-content .alisale-promocodes .promo-filters { background: #f6edff; border-color: #d9b5ef; }
.as-article-content .alisale-promocodes .coupon-card { border: 1px solid #dfb1e4; box-shadow: 0 8px 25px #7d215415; }
.as-article-content .alisale-promocodes .coupon-badge { background: linear-gradient(100deg,#6c28a1,#b41883); color: #fff; font-weight: 700; }
.as-article-content .alisale-promocodes .coupon-image-svg { display: block; text-align: right; padding: 8px 20px; background: #fff4db; color: #9f1564; font-size: 2rem; font-weight: 900; line-height: 1; }
.as-article-content .alisale-promocodes .coupon-discount { color: #b00d70; font-size: 1.65rem; }
.as-article-content .alisale-promocodes .promo-code-block { background: #fff9e6; border-color: #d7ad42; }
.as-article-content .alisale-promocodes .copy-btn { background: #ffdc61; border-color: #d1a02a; color: #32123c; }
.as-article-content .alisale-promocodes .promo-shop-link { color: #9f126b; font-weight: 700; }
.as-article-content .alisale-promocodes .category-item { background: #f5eaff; border-color: #d9b5ef; }
.as-article-content .alisale-promocodes .category-item:nth-child(2n) { background: #fff3d4; border-color: #efd17c; }
.as-article-content .alisale-sales-calendar__header { color: #fff; background: linear-gradient(120deg,#402064,#882e9d); }
.as-article-content .alisale-sales-calendar__header h2, .as-article-content .alisale-sales-calendar__header p { color: #fff; }
.as-article-content .alisale-sales-calendar__header .alisale-sales-calendar__eyebrow { color: #ffdc61; }
.as-article-content .alisale-sales-calendar thead th { background: #44205e; }
.as-article-content .alisale-benefit-hero { background: radial-gradient(ellipse at 90% 80%,#c2219455,transparent 65%),linear-gradient(120deg,#3d185e,#812da2); border: 1px solid #b578da; }
.as-site-header .as-header-row .wp-block-navigation .wp-block-navigation__responsive-container.is-menu-open { background: #180d30; color: #fff; }
.as-site-header .is-menu-open .wp-block-navigation-item__content { color: #fff; }
.as-site-header .is-menu-open .wp-block-navigation-item:first-child > a { color: #311240; }
.as-header-row .wp-block-navigation__responsive-container-open { color: #ffdc61; background: #39204f; padding: 6px; border-radius: 8px; }
@media (max-width: 1024px) {
 .as-gift-label { font-size: .66rem; }
 .as-gift-label--bottom { font-size: .55rem; left: 0; }
}
@media (max-width: 782px) {
 .as-home { padding: 16px 14px 48px; }
 .as-home > .as-home-intro { grid-template-columns: 1fr; padding: 28px 22px 18px; border-radius: 22px; }
 .as-home-intro h1 { font-size: clamp(3rem,12vw,4.2rem); }
 .as-home-intro .as-eyebrow { font-size: .58rem; letter-spacing: .055em; }
 .as-home-intro__lead { font-size: .94rem; margin-block: 18px; }
 .as-home-intro__actions { gap: 16px; }
 .as-hero-tags { margin-top: 20px; }
 .as-gift-stage { max-width: 440px; width: 100%; margin: 10px auto 0; }
 .as-gift-stage img { width: 100%; margin: 0; }
 .as-gift-label--top { right: 0; top: 9%; }
 .as-gift-label--bottom { left: 8%; bottom: 6%; font-size: .55rem; }
 .as-section-links { gap: 10px; margin-top: 16px !important; }
 .as-section-links > a { padding: 18px 14px; }
 .as-section-links strong { font-size: .98rem; }
 .as-section-links strong + span { font-size: .75rem; }
 .as-promo-ribbon { gap: 9px 14px; font-size: .65rem; padding-block: 8px; }
 .as-promo-ribbon > a:last-child, .as-promo-ribbon > span:last-of-type { display: none; }
 .as-article-content .alisale-promocodes .alibaba-header { padding: 24px 22px 190px; min-height: 0; }
 .as-article-content .alisale-promocodes .alibaba-header::after { top: auto; bottom: -22px; right: 0; width: 260px; height: 215px; }
}
