/* Homepage sections (Figma: Homepage / Desktop 1920 and Mobile 390). */

/* 04 Hero V2 / Compact finder */
/* Decor is clipped on its own layer so the finder's dropdowns can overflow the hero. */
.ac-hero { position: relative; padding: 40px 0 48px; }
.ac-hero__bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.ac-hero__band { position: absolute; left: 0; right: 0; top: 0; height: 236px; background: var(--ac-graphite); }
.ac-hero__glow { position: absolute; width: 1220px; height: 620px; max-width: none; left: calc(50% - 20px); top: -280px; pointer-events: none; }
.ac-hero__inner { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 28px; }
.ac-hero__head { display: flex; align-items: flex-end; gap: 48px; }
.ac-hero__copy { flex: 1 1 auto; display: flex; flex-direction: column; gap: 10px; color: var(--ac-white); }
.ac-hero__copy h1 { white-space: nowrap; }
.ac-hero__copy p { max-width: 860px; color: var(--ac-on-dark-2); }
.ac-hero__trust { flex: none; display: flex; gap: 28px; list-style: none; padding: 0; color: var(--ac-white); font-size: 13px; font-weight: 500; line-height: 1.4; white-space: nowrap; }
.ac-hero__trust li { display: flex; align-items: center; gap: 8px; }
.ac-hero__trust .ac-icon { color: var(--ac-green); }

.ac-finder { background: var(--ac-white); border-radius: 16px; box-shadow: var(--ac-shadow-lg); }
.ac-finder__tabs { display: flex; padding: 20px 24px 0; border-bottom: 1px solid var(--ac-grey-200); }
.ac-finder__tab { flex: 1 1 0; min-width: 0; display: flex; align-items: center; justify-content: center; gap: 10px; height: 56px; padding: 0 24px; border-radius: 12px 12px 0 0; color: var(--ac-text-2); font-size: 15px; font-weight: 600; line-height: 1; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; transition: background-color var(--ac-fast) ease, color var(--ac-fast) ease; }
.ac-finder__tab:hover { color: var(--ac-black); background: var(--ac-light); }
.ac-finder__tab[aria-selected="true"] { background: var(--ac-black); color: var(--ac-white); }
.ac-finder__tab[aria-selected="true"] .ac-icon { color: var(--ac-green); }
.ac-finder__body { display: flex; align-items: center; gap: 32px; padding: 28px 32px 28px 24px; }
.ac-finder__img { flex: none; width: 220px; height: 220px; object-fit: contain; }
.ac-finder__pane { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.ac-finder__pane[hidden] { display: none; }
.ac-finder__title { font-size: 24px; font-weight: 700; line-height: 1.3; letter-spacing: -.01em; }
.ac-finder__note { color: var(--ac-text-2); max-width: 640px; }
.ac-finder__fields { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.ac-finder__actions { display: flex; align-items: center; gap: 32px; }
.ac-finder__more { display: inline-flex; align-items: center; gap: 6px; color: var(--ac-green-text); font-size: 13px; font-weight: 500; line-height: 1.4; text-decoration: underline; text-underline-position: from-font; }
.ac-finder__clear { display: inline-flex; align-items: center; gap: 6px; color: var(--ac-error); font-size: 13px; font-weight: 500; line-height: 1.4; }
.ac-finder__assist { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; color: var(--ac-text-2); font-size: 13px; line-height: 1.45; }
.ac-finder__assist .ac-icon { color: var(--ac-text-2); }
.ac-finder__submit .ac-icon { transition: transform var(--ac-fast) ease; }
.ac-finder__submit:hover .ac-icon { transform: translateX(3px); }
#ac-pane-code .ac-field { max-width: 640px; }

@media (max-width: 1599px) {
	.ac-hero__head { flex-wrap: wrap; align-items: flex-start; gap: 20px; }
	.ac-hero__copy h1 { white-space: normal; }
	.ac-finder__fields { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.ac-finder__img { width: 160px; height: 160px; }
}
@media (max-width: 1279px) {
	.ac-finder__img { display: none; }
	.ac-hero__band { height: 300px; }
}

/* 05 Benefit strip */
.ac-benefits { background: var(--ac-white); border-top: 1px solid var(--ac-grey-200); border-bottom: 1px solid var(--ac-grey-200); }
.ac-benefits__list { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 32px; list-style: none; }
.ac-benefit { display: flex; align-items: center; gap: 14px; white-space: nowrap; }
.ac-benefit__icon { flex: none; display: flex; padding: 11px; border-radius: 999px; background: var(--ac-green-tint); color: var(--ac-green-text); }
.ac-benefit__text { display: flex; flex-direction: column; gap: 2px; font-size: 13px; }
.ac-benefit__text strong { font-weight: 500; line-height: 1.4; }
.ac-benefit__text span { color: var(--ac-text-2); line-height: 1.45; }

/* 06 Kategorijas */
.ac-cats__all { flex: none; padding-inline: 16px; gap: 8px; }
.ac-cats__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; list-style: none; padding: 0; }
.ac-cat { position: relative; display: flex; gap: 16px; height: 276px; padding: 24px 20px 24px 28px; background: var(--ac-white); border: 1px solid var(--ac-grey-200); border-radius: 16px; transition: border-color var(--ac-fast) ease, box-shadow 200ms ease; }
.ac-cat:hover { border-color: var(--ac-grey-300); box-shadow: var(--ac-shadow-sm); }
.ac-cat__content { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.ac-cat__title::after { content: ""; position: absolute; inset: 0; }
.ac-cat__links { list-style: none; padding: 0; color: var(--ac-text-2); font-size: 15px; line-height: 1.9; }
.ac-cat__links a { position: relative; z-index: 1; transition: color var(--ac-fast) ease; }
.ac-cat__links a:hover { color: var(--ac-black); }
.ac-cat__more { margin-top: auto; position: relative; z-index: 1; }
.ac-cat__img { flex: none; width: 170px; height: 170px; object-fit: contain; transition: transform 300ms var(--ac-ease-out); }
.ac-cat:hover .ac-cat__img { transform: scale(1.05); }

/* 07 Produkti */
.ac-products .ac-section__head { margin-bottom: 24px; }
.ac-products__bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 24px; border-bottom: 1px solid var(--ac-grey-200); }
.ac-products__quick { display: flex; align-items: center; gap: 8px; font-size: 13px; line-height: 1.45; color: var(--ac-text-2); white-space: nowrap; }
.ac-rail { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 4 * 24px) / 5); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 8px; scrollbar-width: none; scroll-behavior: smooth; margin: -8px; padding: 8px; }
.ac-rail::-webkit-scrollbar { display: none; }
.ac-rail[hidden] { display: none; }
.ac-rail__item { scroll-snap-align: start; height: 514px; }

@media (max-width: 1599px) {
	.ac-benefits__list { overflow-x: auto; scrollbar-width: none; justify-content: flex-start; gap: 40px; }
	.ac-rail { grid-auto-columns: calc((100% - 3 * 24px) / 4); }
	.ac-cat__img { width: 130px; height: 130px; }
}
@media (max-width: 1279px) {
	.ac-cats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ac-rail { grid-auto-columns: calc((100% - 2 * 24px) / 3); }
	.ac-products__bar { flex-wrap: wrap; border-bottom: 0; }
	.ac-tabs-line { border-bottom: 1px solid var(--ac-grey-200); width: 100%; }
}
/* Figma renders these 20 px titles ~1% wider than browsers; the padding reproduces its line breaks. */
.ac-cat .ac-h3 { padding-right: 12px; }

/* 08 Aktuāli */
.ac-offers .ac-section__head { margin-bottom: 28px; }
.ac-offers__count { font-size: 13px; font-weight: 500; line-height: 1.4; color: var(--ac-text-2); font-variant-numeric: tabular-nums; }
.ac-offer { display: flex; background: var(--ac-white); border: 1px solid var(--ac-grey-200); border-radius: 20px; overflow: hidden; animation: ac-fade 300ms ease; }
.ac-offer[hidden] { display: none; }
.ac-offer__content { flex: none; width: 760px; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; padding: 52px 48px 52px 56px; }
.ac-offer__pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px 5px 10px; border-radius: 999px; background: var(--ac-green-tint); color: var(--ac-green-text); font-size: 13px; font-weight: 500; line-height: 1.4; }
.ac-offer__title { font-size: 36px; font-weight: 700; line-height: 1.15; letter-spacing: -.02em; }
.ac-offer__lead { font-size: 18px; font-weight: 500; line-height: 1.55; }
.ac-offer__text { color: var(--ac-text-2); }
.ac-offer__features { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; width: 100%; list-style: none; padding: 0; }
.ac-offer__features li { display: flex; align-items: center; gap: 10px; height: 68px; padding: 12px 14px; border-radius: 10px; background: var(--ac-light); font-size: 13px; font-weight: 500; line-height: 1.4; }
.ac-offer__actions { display: flex; align-items: center; gap: 12px; width: 100%; margin-top: auto; }
.ac-offer__price { display: flex; flex-direction: column; gap: 2px; white-space: nowrap; }
.ac-offer__now { font-size: 22px; font-weight: 700; line-height: 1.1; letter-spacing: -.01em; }
.ac-offer__inst { font-size: 13px; line-height: 1.45; color: var(--ac-text-2); }
.ac-offer__spacer { flex: 1; }
.ac-offer__more .ac-icon { transition: transform var(--ac-fast) ease; }
.ac-offer__more:hover .ac-icon { transform: translateX(3px); }
.ac-offer__media { flex: 1 1 0; min-width: 0; position: relative; background: var(--ac-white); }
.ac-offer__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.ac-offers__tabs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; margin-top: 28px; }
.ac-offers__tab { display: flex; flex-direction: column; gap: 12px; padding-bottom: 4px; text-align: left; min-width: 0; }
.ac-offers__progress { position: relative; display: block; height: 3px; border-radius: 2px; background: var(--ac-grey-300); overflow: hidden; }
.ac-offers__progress span { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: 2px; background: var(--ac-black); }
.ac-offers__tab[aria-selected="true"] .ac-offers__progress span { animation: ac-progress var(--ac-slide-ms, 7000ms) linear forwards; }
.ac-offers.is-paused .ac-offers__tab[aria-selected="true"] .ac-offers__progress span { animation-play-state: paused; }
@keyframes ac-progress { to { width: 100%; } }
.ac-offers__row { display: flex; align-items: center; gap: 12px; min-width: 0; }
.ac-offers__thumb { flex: none; width: 56px; height: 56px; border-radius: 10px; border: 1px solid var(--ac-grey-200); background: var(--ac-white); overflow: hidden; opacity: .7; transition: opacity var(--ac-fast) ease, border-color var(--ac-fast) ease; }
.ac-offers__thumb img { width: 100%; height: 100%; object-fit: cover; }
.ac-offers__name { flex: 1; min-width: 0; font-size: 13px; font-weight: 500; line-height: 1.4; color: var(--ac-text-2); transition: color var(--ac-fast) ease; }
.ac-offers__tab:hover .ac-offers__name { color: var(--ac-black); }
.ac-offers__tab:hover .ac-offers__thumb { opacity: 1; }
.ac-offers__tab[aria-selected="true"] .ac-offers__thumb { opacity: 1; border-color: var(--ac-black); }
.ac-offers__tab[aria-selected="true"] .ac-offers__name { color: var(--ac-black); font-weight: 600; }

/* 09 Jaunumi */
.ac-news__all { flex: none; padding-inline: 16px; gap: 8px; border-color: var(--ac-grey-300); }
.ac-news__grid { display: flex; gap: 32px; align-items: flex-start; }
.ac-post { position: relative; }
.ac-post--featured { flex: none; width: 800px; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.ac-post__media { display: block; overflow: hidden; border-radius: 16px; }
.ac-post__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 400ms var(--ac-ease-out); }
.ac-post:hover .ac-post__media img { transform: scale(1.03); }
.ac-post--featured .ac-post__media { width: 100%; height: 450px; }
.ac-post__meta { display: flex; align-items: center; gap: 10px; font-size: 13px; line-height: 1.45; color: var(--ac-text-2); }
.ac-post__tag { padding: 3px 8px; border-radius: 6px; background: var(--ac-light); color: var(--ac-dark); font-weight: 500; line-height: 1.4; }
.ac-post__tag--green { background: var(--ac-green-tint); color: var(--ac-green-text); }
.ac-post__title { font-weight: 600; letter-spacing: -.01em; line-height: 1.3; }
.ac-post--featured .ac-post__title { font-size: 26px; font-weight: 700; }
.ac-post__title a::after { content: ""; position: absolute; inset: 0; }
.ac-post__excerpt { color: var(--ac-text-2); }
.ac-post--featured .ac-post__excerpt { font-size: 18px; line-height: 1.55; }
.ac-news__list { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; }
.ac-post--row { display: flex; gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--ac-grey-200); }
.ac-post--row:first-child { padding-top: 0; }
.ac-post--row:last-child { border-bottom: 0; }
.ac-post--row .ac-post__media { flex: none; width: 240px; height: 135px; border-radius: 12px; }
.ac-post__text { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.ac-post--row .ac-post__title { font-size: 20px; }
.ac-post--row .ac-post__excerpt { width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* 10 Zīmoli */
.ac-brands__grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; list-style: none; padding: 0; }
.ac-brands__item { display: flex; align-items: center; justify-content: center; height: 104px; background: var(--ac-white); border: 1px solid var(--ac-grey-200); border-radius: 12px; transition: border-color var(--ac-fast) ease, box-shadow 200ms ease, transform 200ms ease; }
.ac-brands__item img { width: 140px; height: 52px; object-fit: contain; }
.ac-brands__item:hover { border-color: var(--ac-grey-300); box-shadow: var(--ac-shadow-sm); transform: translateY(-2px); }

/* 11 Veikali un kontakti */
.ac-stores__grid { display: grid; grid-template-columns: minmax(0, 496fr) minmax(0, 496fr) minmax(0, 559fr); gap: 24px; }
.ac-store { display: flex; flex-direction: column; height: 416px; background: var(--ac-white); border: 1px solid var(--ac-grey-200); border-radius: 16px; overflow: hidden; }
.ac-store__map { position: relative; flex: none; display: block; height: 150px; background: var(--ac-light); overflow: hidden; }
.ac-store__roads i, .ac-store__roads b { position: absolute; width: 800px; background: var(--ac-white); }
.ac-store__roads i { height: 3px; left: -104px; transform: rotate(-8deg); }
.ac-store__roads b { height: 6px; left: -120.5px; transform: rotate(18deg); }
.ac-store__roads i:nth-child(1) { top: -40.7px; }
.ac-store__roads i:nth-child(2) { top: 7.3px; }
.ac-store__roads i:nth-child(3) { top: 55.3px; }
.ac-store__roads b:nth-child(4) { top: 162.5px; }
.ac-store__roads b:nth-child(5) { top: 210.5px; }
.ac-store__roads b:nth-child(6) { top: 258.5px; }
.ac-store__pin { position: absolute; left: calc(50% - 9.33px); top: 50%; transform: translate(-50%, -50%); display: flex; padding: 10px; border-radius: 999px; background: var(--ac-black); color: var(--ac-green); transition: transform 200ms var(--ac-ease-out); }
.ac-store__map:hover .ac-store__pin { transform: translate(-50%, -58%); }
.ac-store__body { display: flex; flex-direction: column; gap: 12px; padding: 24px 28px 28px; }
.ac-store__row { display: flex; align-items: center; gap: 10px; color: var(--ac-dark); white-space: nowrap; }
.ac-store__row .ac-icon { flex: none; color: var(--ac-mid); }
.ac-store__row--muted { color: var(--ac-mid); white-space: normal; }
.ac-store__row--muted .ac-icon { color: var(--ac-mid); }
.ac-store__actions { display: flex; gap: 10px; padding-top: 6px; }
.ac-store__actions .ac-btn { flex: 1 1 0; min-width: 0; padding-inline: 18px; gap: 8px; }
.ac-store__route { border-color: var(--ac-grey-300); }
.ac-help { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; height: 416px; padding: 32px; border-radius: 16px; background: var(--ac-black); color: var(--ac-white); }
.ac-help__icon { display: flex; padding: 10px; border-radius: 10px; background: var(--ac-grey-700); color: var(--ac-green); }
.ac-help__title { font-size: 24px; font-weight: 700; line-height: 1.3; letter-spacing: -.01em; }
.ac-help__text { color: var(--ac-on-dark-2); }
.ac-help__spacer { flex: 1; }
.ac-help__row { display: flex; align-items: center; gap: 10px; font-weight: 500; white-space: nowrap; transition: color var(--ac-fast) ease; }
.ac-help__row:hover { color: var(--ac-green); }
.ac-help__row .ac-icon, .ac-help__at { color: var(--ac-green); }
.ac-help__cta { padding-inline: 18px; gap: 8px; }

@media (max-width: 1599px) {
	.ac-offer__content { width: 52%; }
	.ac-post--featured { width: 50%; }
}
@media (max-width: 1279px) {
	.ac-offers__tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.ac-brands__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.ac-stores__grid { grid-template-columns: 1fr 1fr; }
	.ac-help { grid-column: 1 / -1; height: auto; }
}

/* Mobile 390: hero + finder */
.ac-finder__tabs-wrap { position: relative; }
.ac-finder__more-tabs { display: none; }
.ac-finder__extra-open .ac-finder__extra { display: block; }
@media (max-width: 767px) {
	.ac-hero { padding: 24px 0; }
	.ac-hero__band { height: 170px; }
	.ac-hero__glow, .ac-hero__trust { display: none; }
	.ac-hero__inner { gap: 20px; }
	.ac-hero__copy { gap: 8px; }
	.ac-hero .ac-h1 { font-size: 28px; letter-spacing: -.025em; }
	.ac-hero__sub-m { color: var(--ac-on-dark-2); font-size: 15px; line-height: 1.5; }
	.ac-finder__tabs-wrap { height: 56px; border-bottom: 1px solid var(--ac-grey-200); overflow: hidden; }
	.ac-finder__tabs { gap: 4px; padding: 8px 56px 0 8px; border-bottom: 0; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-padding-inline: 8px; }
	.ac-finder__tabs::-webkit-scrollbar { display: none; }
	.ac-finder__tab { flex: none; height: 48px; padding: 0 16px; gap: 8px; font-size: 13px; letter-spacing: .04em; scroll-snap-align: start; }
	.ac-finder__tabs-wrap::after { content: ""; position: absolute; top: 0; right: 0; width: 64px; height: 55px; pointer-events: none; background: linear-gradient(to right, rgba(255,255,255,0), #fff 60%); transition: opacity 150ms ease; }
	.ac-finder__tabs-wrap.is-end::after { opacity: 0; }
	.ac-finder__more-tabs { display: flex; align-items: center; justify-content: center; position: absolute; z-index: 1; right: 8px; top: 16px; width: 32px; height: 32px; border-radius: 999px; background: var(--ac-white); border: 1px solid var(--ac-grey-200); box-shadow: 0 1px 3px rgba(0,0,0,.08); transition: opacity 150ms ease, transform 150ms ease; }
	.ac-finder__tabs-wrap.is-end .ac-finder__more-tabs { opacity: 0; pointer-events: none; }
	.ac-finder__body { padding: 18px 16px; }
	.ac-finder__pane { gap: 14px; }
	.ac-finder__title { font-size: 18px; letter-spacing: -.01em; }
	.ac-finder__fields { grid-template-columns: 1fr 1fr; gap: 10px; }
	.ac-finder__extra { display: none; }
	.ac-finder__actions { flex-wrap: wrap; justify-content: space-between; gap: 14px; }
	.ac-finder__assist { display: none; }
	#ac-pane-vehicle .ac-finder__assist, #ac-pane-code .ac-finder__assist { display: inline-flex; margin-left: 0; }

	/* Benefit strip as swipe rail */
	.ac-benefits { padding: 16px 0 14px; display: flex; flex-direction: column; gap: 12px; }
	.ac-benefits__list { gap: 24px; padding-block: 0; height: 64px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-padding-inline: 16px; }
	.ac-benefit { flex: none; width: 270px; gap: 12px; scroll-snap-align: start; }
	.ac-benefit__icon { padding: 10px; }
	.ac-benefit__text { min-width: 0; flex: 1; }
	.ac-benefit__text span { overflow: hidden; text-overflow: ellipsis; }
}
.ac-benefits__divider { display: none; }
@media (max-width: 767px) {
	.ac-benefits__divider { display: block; flex: none; width: 1px; height: 40px; background: var(--ac-grey-200); }
}
.ac-cat__meta { display: none; }
.ac-products__all { display: none; }
@media (max-width: 767px) {
	/* 05 Kategorijas: 2-column tiles */
	.ac-cats .ac-section__head { margin-bottom: 20px; }
	.ac-cats__grid { grid-template-columns: 1fr 1fr; gap: 12px; }
	.ac-cat { flex-direction: column-reverse; justify-content: flex-end; gap: 8px; height: 199px; padding: 12px 12px 14px; border-radius: 14px; }
	.ac-cat__img { width: 100%; height: 96px; }
	.ac-cat__content { gap: 0; flex: none; }
	.ac-cat .ac-h3 { padding-right: 0; font-size: 14px; font-weight: 600; line-height: 1.4; letter-spacing: 0; margin-bottom: 8px; }
	.ac-cat__links, .ac-cat__more { display: none; }
	.ac-cat__meta { display: block; font-size: 13px; line-height: 1.45; color: var(--ac-text-2); }

	/* 06 Produkti: full-bleed swipe rail, view-all button below */
	.ac-products .ac-container { padding-inline: 0; }
	.ac-products .ac-section__head, .ac-products__bar, .ac-products__all { margin-inline: 16px; }
	.ac-products .ac-section__head { margin-bottom: 16px; }
	.ac-products .ac-section__controls { display: none; }
	.ac-products__bar { display: flex; flex-direction: column; align-items: stretch; gap: 16px; margin: 0 0 16px; border-bottom: 0; }
	.ac-products__bar .ac-tabs-line { gap: 24px; padding-inline: 16px; border-bottom: 1px solid var(--ac-grey-200); }
	.ac-products__quick { height: 32px; min-width: 0; max-width: 100%; padding-inline: 16px; overflow-x: auto; scrollbar-width: none; }
	.ac-products__quick::-webkit-scrollbar { display: none; }
	.ac-rail { grid-auto-columns: 256px; gap: 12px; margin: 0; padding: 0 16px; scroll-padding-inline: 16px; }
	.ac-rail__item { height: 510px; }
	.ac-products__all { display: flex; height: 48px; margin-top: 16px; border-color: var(--ac-grey-300); gap: 8px; }
}
.ac-post__meta-m { display: none; }
@media (max-width: 767px) {
	/* 07 Aktuāli */
	.ac-offers .ac-container { padding-inline: 0; }
	.ac-offers .ac-section__head { margin: 0 16px 16px; align-items: flex-end; }
	.ac-offers .ac-arrows { display: none; }
	.ac-offers__slides { padding-inline: 16px; }
	.ac-offer { flex-direction: column-reverse; border-radius: 16px; }
	.ac-offer__media { flex: none; height: 230px; }
	.ac-offer__content { width: 100%; gap: 14px; padding: 20px; }
	.ac-offer__title { font-size: 24px; line-height: 1.2; letter-spacing: -.015em; }
	.ac-offer__lead { font-size: 15px; font-weight: 400; line-height: 1.5; color: var(--ac-text-2); }
	.ac-offer__lead + .ac-offer__text { display: none; }
	.ac-offer__features li { height: auto; padding: 10px; gap: 8px; white-space: nowrap; }
	.ac-offer__actions { flex-direction: column; align-items: stretch; gap: 14px; }
	.ac-offer__price { flex-direction: row; align-items: baseline; gap: 8px; }
	.ac-offer__spacer { display: none; }
	.ac-offer__more { align-self: flex-start; }
	.ac-offers__tabs { display: flex; gap: 12px; margin-top: 16px; padding-inline: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-padding-inline: 16px; }
	.ac-offers__tabs::-webkit-scrollbar { display: none; }
	.ac-offers__tab { flex: none; width: 230px; gap: 10px; padding-bottom: 0; scroll-snap-align: start; }
	.ac-offers__row { gap: 10px; }
	.ac-offers__thumb { width: 48px; height: 48px; }

	/* 08 Jaunumi */
	.ac-news .ac-section__head { margin-bottom: 20px; align-items: flex-end; }
	.ac-news__grid { flex-direction: column; gap: 20px; }
	.ac-post--featured { width: 100%; gap: 12px; }
	.ac-post--featured .ac-post__media { height: 201px; border-radius: 14px; }
	.ac-post--featured .ac-post__title { font-size: 20px; }
	.ac-post--featured .ac-post__excerpt { font-size: 15px; line-height: 1.5; }
	.ac-news__list { width: 100%; }
	.ac-post--row, .ac-post--row:first-child { align-items: center; gap: 14px; padding: 14px 0; border-bottom: 0; border-top: 1px solid var(--ac-grey-200); }
	.ac-post--row .ac-post__media { width: 104px; height: 72px; border-radius: 10px; }
	.ac-post--row .ac-post__text { gap: 6px; }
	.ac-post--row .ac-post__meta, .ac-post--row .ac-post__excerpt { display: none; }
	.ac-post--row .ac-post__title { font-size: 14px; font-weight: 600; line-height: 1.4; letter-spacing: 0; }
	.ac-post__meta-m { display: block; font-size: 13px; line-height: 1.45; color: var(--ac-text-2); }
}
@media (max-width: 767px) {
	/* 09 Zīmoli */
	.ac-brands__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
	.ac-brands__item { height: 64px; border-radius: 10px; }
	.ac-brands__item img { width: 96px; height: 36px; }

	/* 10 Veikali un kontakti */
	.ac-stores .ac-section__head { margin-bottom: 16px; }
	.ac-stores__grid { grid-template-columns: 1fr; gap: 16px; }
	.ac-store { height: auto; }
	.ac-store__map { height: 120px; }
	.ac-store__pin { left: calc(50% - 9px); top: 60px; }
	.ac-store__body { padding: 20px; }
	.ac-help { grid-column: auto; height: auto; padding: 24px 20px; }
	.ac-help__title { font-size: 20px; }
	.ac-help__spacer { flex: none; height: 4px; }
}
@media (min-width: 768px) and (max-width: 1279px) {
	.ac-news__grid { flex-direction: column; }
	.ac-post--featured { width: 100%; }
	.ac-post--featured .ac-post__media { height: auto; aspect-ratio: 16 / 9; }
	.ac-news__list { width: 100%; }
	.ac-offer__content { width: 56%; padding: 40px 32px; }
	.ac-offer__title { font-size: 30px; }
}

/* In-between widths (design only defines 1920 and 390). */
@media (min-width: 768px) and (max-width: 1599px) {
	.ac-cat { height: auto; min-height: 276px; }
}
.ac-finder__more { white-space: nowrap; }
@media (min-width: 768px) and (max-width: 1023px) {
	/* Tablet: mobile-style tiles, three across. */
	.ac-cats__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
	.ac-cat { flex-direction: column-reverse; justify-content: flex-end; gap: 8px; min-height: 0; padding: 16px; }
	.ac-cat__img { width: 100%; height: 120px; }
	.ac-cat .ac-h3 { padding-right: 0; font-size: 16px; }
	.ac-cat__links, .ac-cat__more { display: none; }
	.ac-cat__meta { display: block; font-size: 13px; color: var(--ac-text-2); }
	.ac-finder__assist { display: none; }
	.ac-finder__fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 768px) and (max-width: 1279px) {
	.ac-offer__actions { flex-wrap: wrap; }
	.ac-offer__spacer { flex-basis: 100%; height: 0; }
}
@media (min-width: 768px) and (max-width: 1023px) {
	.ac-finder__tabs { overflow-x: auto; scrollbar-width: none; gap: 4px; }
	.ac-finder__tabs::-webkit-scrollbar { display: none; }
	.ac-finder__tab { flex: none; padding: 0 18px; }
}
