/* ═══════════════════════════════════════════════════════════════
   AIMA Resurse · v1.0.8
   Sistemul vizual Aima (același ca blogul): Cormorant Garamond + Inter Tight,
   #1E1C19 · #F7F3ED · #C9A96E, culorile pilonilor ca accent de categorie.
   Prefix de clase: ars-  (nu intră în coliziune cu abl- / aspg- / asl-)
   Raze: carduri și imagini 14-18px, butoane și chips 100px.
   ═══════════════════════════════════════════════════════════════ */

.ars {
  --d: #1E1C19; --c: #F7F3ED; --b: #F0EBE2; --g: #C9A96E; --gd: #8A6F3E;
  --ink: #3A3630; --mu: #6F665A; --mu2: #8F8270; --line: rgba(58,54,48,.12);
  --arch: #D0B088; --p: #C8BEB0;
  --ease: cubic-bezier(.22,1,.36,1);
  font-family: 'Inter Tight', system-ui, -apple-system, sans-serif;
  color: var(--d);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
.ars--hub, .ars--pp { background: var(--c); overflow-x: clip; }
/* pagina de produs: tema Hello Elementor limitează .site-main la 500-1140px pe paginile fără Elementor; șablonul AIMA are nevoie de toată lățimea */
body.ars-product-view .site-main.ars-main { max-width: none; width: 100%; margin: 0; padding: 0; }
.ars *, .ars *::before, .ars *::after { box-sizing: border-box; }
.ars [hidden] { display: none !important; }
.ars a { color: inherit; }
.ars img { max-width: 100%; }
.ars .ars-wrap { max-width: 1216px; margin: 0 auto; padding: 0 48px; }
.ars .ars-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ── tipografie ── */
.ars .ars-eyebrow {
  display: inline-flex; align-items: center; gap: 9px; margin: 0 0 22px;
  font-size: 10.5px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--mu);
}
.ars .ars-eyebrow span:first-child { color: var(--g); letter-spacing: 0; }
.ars .ars-eyebrow--c { display: flex; justify-content: center; }
.ars .ars-h1 {
  font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 300;
  font-size: clamp(42px, 4.9vw, 68px); line-height: 1.06; letter-spacing: -.022em;
  color: var(--d); margin: 0 0 22px; padding-bottom: .06em; text-wrap: balance;
}
.ars .ars-h1 em, .ars .ars-h2 em { font-style: italic; color: var(--g); }
.ars .ars-h2 {
  font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 300;
  font-size: clamp(30px, 3.2vw, 42px); line-height: 1.12; letter-spacing: -.016em;
  color: var(--d); margin: 0; text-wrap: balance;
}
.ars .ars-lead { font-size: 17px; font-weight: 300; line-height: 1.75; color: var(--mu); max-width: 460px; margin: 0; text-wrap: pretty; }
.ars .ars-link {
  display: inline-flex; align-items: center; gap: 9px; cursor: pointer;
  font-size: 11.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--d); text-decoration: none;
}
.ars .ars-arrow { color: var(--g); display: inline-block; transition: transform .25s var(--ease); }
.ars .ars-link:hover .ars-arrow { transform: translateX(4px); }
.ars a:focus-visible, .ars select:focus-visible, .ars input:focus-visible + .ars-switch__t { outline: 2px solid var(--g); outline-offset: 3px; }

/* ── butoane (link-uri, ca să nu primească stilurile temei pentru <button>) ── */
.ars .ars-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px; white-space: nowrap;
  font-family: 'Inter Tight', sans-serif; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; line-height: 1;
  text-decoration: none; padding: 16px 28px; border-radius: 100px; border: 0; cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .25s var(--ease);
}
.ars .ars-btn--gold { background: var(--g); color: var(--d); }
.ars .ars-btn--gold:hover { background: #D4B97A; transform: translateY(-2px); }
.ars .ars-btn--gold:active, .ars .ars-btn--line:active { transform: translateY(0) scale(.98); }
.ars .ars-btn--line { background: transparent; color: var(--d); box-shadow: inset 0 0 0 .5px rgba(58,54,48,.32); padding: 14px 22px; font-size: 11px; }
.ars .ars-btn--line:hover { box-shadow: inset 0 0 0 1px var(--g); background: rgba(255,255,255,.7); }
.ars .ars-btn--off { background: rgba(58,54,48,.08); color: var(--mu); cursor: default; }
.ars .ars-btn--lg { padding: 19px 34px; font-size: 12.5px; }
.ars .ars-btn__ic {
  width: 20px; height: 20px; border-radius: 50%; display: inline-grid; place-items: center;
  background: rgba(30,28,25,.12); font-size: 12px; letter-spacing: 0; transition: transform .25s var(--ease);
}
.ars .ars-btn--line .ars-btn__ic { background: rgba(201,169,110,.16); color: var(--gd); }
.ars .ars-btn:hover .ars-btn__ic { transform: translateX(3px); }

/* ── apariție la scroll (doar CSS; conținutul rămâne vizibil fără suport) ── */
@keyframes ars-up { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@supports (animation-timeline: view()) {
  .ars .ars-r, .ars .ars-grid > .ars-card, .ars .ars-shelf__grid > .ars-card { animation: ars-up linear both; animation-timeline: view(); animation-range: entry 0% entry 42%; }
}

/* ═════════ COPERȚI ═════════ */
.ars .ars-cover {
  position: relative; overflow: hidden; border-radius: 14px; isolation: isolate;
  aspect-ratio: 3 / 2; background: #E7DFD1;
}
.ars .ars-cover--feat { aspect-ratio: 16 / 10; border-radius: 18px; }
.ars .ars-cover--hero { aspect-ratio: 1 / 1; border-radius: 18px; }
.ars .ars-cover--mini { aspect-ratio: 3 / 4; border-radius: 10px; }
.ars .ars-cover__img {
  position: absolute; inset: 0; width: 100%; height: 100% !important; object-fit: cover;
  transition: transform 1.1s var(--ease);
}
/* arcada din logo, pe fundal închis colorat de pilon */
.ars .ars-cover--arch {
  display: grid; place-items: center;
  background:
    radial-gradient(95% 80% at 82% 12%, color-mix(in srgb, var(--p) 58%, transparent) 0%, transparent 62%),
    radial-gradient(70% 60% at 8% 105%, rgba(201,169,110,.14) 0%, transparent 70%),
    #1E1C19;
}
.ars .ars-arch {
  position: relative; width: 30%; aspect-ratio: 3 / 4.3;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 8px;
  padding-bottom: 17%;
  border: 1.5px solid rgba(208,176,136,.82); border-radius: 999px 999px 2px 2px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--p) 30%, transparent) 0%, rgba(30,28,25,0) 78%);
  transition: border-color .3s ease;
}
.ars .ars-arch::after { content: ''; position: absolute; right: -4.5px; top: 52%; width: 8px; height: 8px; border-radius: 50%; background: var(--arch); }
.ars .ars-arch__mark { font-size: 10px; color: var(--arch); line-height: 1; }
.ars .ars-arch__word {
  font-family: 'Cormorant Garamond', Georgia, serif; font-style: italic; font-weight: 300;
  font-size: clamp(16px, 1.6vw, 24px); line-height: 1.15; color: #F7F3ED; white-space: nowrap; padding-bottom: .1em;
}
.ars .ars-arch--lg { width: 36%; }
.ars .ars-arch--lg .ars-arch__word { font-size: clamp(26px, 2.8vw, 40px); }
.ars .ars-cover--feat .ars-arch { width: 22%; }
/* cuvântul se adaptează la lățimea arcadei: nu iese din contur oricât de lung e */
@supports (container-type: inline-size) {
  .ars .ars-arch { container-type: inline-size; }
  .ars .ars-arch__word { font-size: min(clamp(16px, 1.6vw, 24px), 100cqi * .84 / (var(--len, 8) * .43)); }
  .ars .ars-arch--lg .ars-arch__word { font-size: min(clamp(26px, 2.8vw, 40px), 100cqi * .84 / (var(--len, 8) * .43)); }
}
/* coperta de carte (fără poză) */
.ars .ars-cover--book {
  display: grid; place-items: center;
  background:
    radial-gradient(80% 70% at 80% 10%, color-mix(in srgb, var(--p) 45%, transparent), transparent 65%),
    #E9E1D3;
}
.ars .ars-book {
  position: relative; width: 38%; aspect-ratio: 2 / 2.9;
  display: flex; flex-direction: column; align-items: flex-start; gap: 8px;
  padding: 13% 9% 11% 13%; border-radius: 3px 7px 7px 3px;
  background:
    linear-gradient(90deg, rgba(0,0,0,.28) 0, rgba(0,0,0,.05) 5%, rgba(255,255,255,.06) 6.5%, transparent 9%),
    #1E1C19;
  box-shadow: 0 22px 34px -16px rgba(30,28,25,.55), 0 2px 4px rgba(30,28,25,.18);
  transform: rotate(-2.5deg); transition: transform .5s var(--ease);
}
.ars .ars-book__mark { font-size: 9px; color: var(--g); line-height: 1; }
.ars .ars-book__t {
  font-family: 'Cormorant Garamond', Georgia, serif; font-style: italic; font-weight: 400;
  font-size: clamp(12px, 1.05vw, 16px); line-height: 1.12; color: #F7F3ED; text-wrap: balance; hyphens: manual;
}
.ars .ars-book__a { margin-top: auto; font-size: clamp(6.5px, .55vw, 8.5px); font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: rgba(247,243,237,.6); line-height: 1.5; }
.ars .ars-cover--hero .ars-book { width: 40%; }
.ars .ars-cover--hero .ars-book__t { font-size: clamp(20px, 2.1vw, 30px); }
.ars .ars-cover--hero .ars-book__a { font-size: 10px; }
.ars .ars-cover--mini .ars-book { width: 58%; padding: 14% 8% 10% 12%; gap: 4px; }
.ars .ars-cover--mini .ars-book__t { font-size: 8.5px; line-height: 1.1; }
.ars .ars-cover--mini .ars-book__a, .ars .ars-cover--mini .ars-book__mark { display: none; }

/* ═════════ CARD RESURSĂ ═════════ */
.ars .ars-card { display: flex; min-width: 0; }
.ars .ars-card__a { display: flex; flex-direction: column; width: 100%; text-decoration: none; color: inherit; }
.ars .ars-card__a:hover .ars-cover__img { transform: scale(1.04); }
.ars .ars-card__a:hover .ars-arch { border-color: rgba(208,176,136,1); }
.ars .ars-card__a:hover .ars-book { transform: rotate(0deg) translateY(-4px); }
.ars .ars-card__body { display: flex; flex-direction: column; gap: 10px; padding: 20px 2px 0; flex: 1; }
.ars .ars-card__meta { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 14px; }
.ars .ars-type { font-size: 11px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--gd); }
.ars .ars-tag { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 500; color: var(--ink); }
.ars .ars-tag i { width: 8px; height: 8px; border-radius: 50%; background: var(--p); flex-shrink: 0; }
.ars .ars-draft {
  display: inline-flex; font-size: 10.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: #8A4B2E; background: rgba(196,120,80,.12); border-radius: 100px; padding: 3px 9px;
}
.ars .ars-card__title {
  font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 400;
  font-size: 26px; line-height: 1.15; letter-spacing: -.01em; color: var(--d); margin: 2px 0 0;
  text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 1px; text-underline-offset: 5px;
  transition: text-decoration-color .25s ease; text-wrap: balance;
}
.ars .ars-card__a:hover .ars-card__title { text-decoration-color: var(--g); }
.ars .ars-card__ex {
  font-size: 15px; font-weight: 300; line-height: 1.65; color: var(--mu); margin: 0;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.ars .ars-card__foot {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  margin-top: auto; padding-top: 14px; border-top: .5px solid var(--line);
}
.ars .ars-by { display: inline-flex; align-items: center; gap: 9px; min-width: 0; font-size: 13px; color: var(--ink); }
.ars .ars-by__n { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ars .ars-by--team { color: var(--mu); }
.ars .ars-card__end { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.ars .ars-price { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 22px; font-weight: 500; color: var(--d); white-space: nowrap; }
.ars .ars-price del { font-size: .7em; color: var(--mu2); margin-right: 6px; }
.ars .ars-price ins { text-decoration: none; }
.ars .ars-price__free { font-family: 'Inter Tight', sans-serif; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--gd); }
.ars .ars-go {
  width: 32px; height: 32px; border-radius: 50%; display: inline-grid; place-items: center;
  border: .5px solid rgba(58,54,48,.2); color: var(--gd); font-size: 14px;
  transition: background .25s ease, color .25s ease, border-color .25s ease, transform .25s var(--ease);
}
.ars .ars-card__a:hover .ars-go { background: var(--d); color: var(--g); border-color: var(--d); transform: translateX(2px); }
.ars .ars-avatar {
  width: 28px; height: 28px; border-radius: 50%; flex-shrink: 0;
  display: inline-grid; place-items: center; background: #2A2622 center 20% / cover no-repeat;
  border: .5px solid rgba(201,169,110,.35);
  font-family: 'Cormorant Garamond', Georgia, serif; font-size: 12px; letter-spacing: .04em; color: rgba(201,169,110,.9);
}
.ars .ars-avatar--lg { width: 72px; height: 72px; font-size: 26px; }

/* card mare (hero /resurse/) */
.ars .ars-card--feat .ars-card__body { gap: 12px; padding-top: 24px; }
.ars .ars-card--feat .ars-card__title { font-size: clamp(30px, 2.6vw, 38px); line-height: 1.1; }
.ars .ars-card--feat .ars-card__ex { font-size: 16px; max-width: 600px; }

/* ═════════ /RESURSE/ · HERO ═════════ */
.ars .ars-hero { padding: 148px 0 64px; }
.ars .ars-hero__grid { display: grid; grid-template-columns: minmax(0, 11fr) minmax(0, 13fr); gap: 72px; align-items: center; }
.ars .ars-hero .ars-h1 { font-size: clamp(40px, 4.3vw, 62px); }
.ars .ars-hero__tx .ars-eyebrow { animation: ars-up .9s var(--ease) .05s both; }
.ars .ars-hero__tx .ars-h1 { animation: ars-up .9s var(--ease) .12s both; }
.ars .ars-hero__tx .ars-lead { animation: ars-up .9s var(--ease) .22s both; }
.ars .ars-hero__feat { animation: ars-up 1s var(--ease) .3s both; }

/* ═════════ FILTRE ═════════ */
.ars .ars-filters {
  position: sticky; top: 88px; z-index: 20;
  background: rgba(247,243,237,.9); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-top: .5px solid var(--line); border-bottom: .5px solid var(--line);
  padding: 12px 0; margin-bottom: 40px;
}
.ars .ars-filters__in { display: flex; flex-direction: column; gap: 10px; }
.ars .ars-frow { display: flex; align-items: center; gap: 12px; min-width: 0; }
.ars .ars-flabel { flex: 0 0 52px; font-size: 12px; font-weight: 500; color: var(--mu); }
.ars .ars-chips { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; min-width: 0; flex: 1; }
.ars .ars-chip {
  display: inline-flex; align-items: center; gap: 7px; text-decoration: none; white-space: nowrap;
  font-size: 13px; font-weight: 500; line-height: 1.2; color: var(--ink); background: #fff;
  border: .5px solid rgba(58,54,48,.14); border-radius: 100px; padding: 8px 12px;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s var(--ease), opacity .2s ease;
}
.ars .ars-chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--p); }
.ars .ars-chip:hover { border-color: rgba(201,169,110,.6); transform: translateY(-1px); }
.ars .ars-chip:active { transform: scale(.98); }
.ars .ars-chip__n { font-size: 10.5px; color: var(--mu); background: rgba(58,54,48,.06); border-radius: 100px; padding: 2px 6px; min-width: 20px; text-align: center; }
.ars .ars-chip.is-on { background: var(--d); color: var(--c); border-color: var(--d); }
.ars .ars-chip.is-on .ars-chip__n { background: rgba(247,243,237,.16); color: var(--g); }
.ars .ars-chip.is-zero { opacity: .45; }
.ars .ars-ftools { display: flex; align-items: center; gap: 14px; margin-left: auto; flex-shrink: 0; }
.ars .ars-select { position: relative; display: inline-flex; margin: 0; }
.ars .ars-select::after {
  content: ''; position: absolute; right: 16px; top: 50%; width: 6px; height: 6px; margin-top: -5px;
  border-right: 1.5px solid var(--gd); border-bottom: 1.5px solid var(--gd); transform: rotate(45deg); pointer-events: none;
}
.ars .ars-select select {
  -webkit-appearance: none; appearance: none; margin: 0; height: auto; min-height: 0; box-shadow: none;
  font-family: 'Inter Tight', sans-serif; font-size: 13px; font-weight: 500; line-height: 1.2; color: var(--ink);
  background: #fff; border: .5px solid rgba(58,54,48,.14); border-radius: 100px; padding: 9px 40px 9px 16px;
  cursor: pointer; max-width: 240px; text-overflow: ellipsis;
}
.ars .ars-select select:hover { border-color: rgba(201,169,110,.6); }
.ars .ars-switch { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; margin: 0; font-size: 13px; font-weight: 500; color: var(--ink); white-space: nowrap; }
.ars .ars-switch input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.ars .ars-switch__t {
  position: relative; width: 34px; height: 20px; border-radius: 100px; flex-shrink: 0;
  background: rgba(58,54,48,.16); transition: background .2s ease;
}
.ars .ars-switch__t::after {
  content: ''; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%;
  background: #fff; box-shadow: 0 1px 3px rgba(30,28,25,.25); transition: transform .25s var(--ease);
}
.ars .ars-switch input:checked + .ars-switch__t { background: var(--d); }
.ars .ars-switch input:checked + .ars-switch__t::after { transform: translateX(14px); background: var(--g); }

/* ═════════ LISTA ═════════ */
.ars .ars-list { padding: 0 0 112px; }
.ars .ars-listhead { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin: 0 0 28px; }
.ars .ars-count { margin: 0; font-size: 13px; color: var(--mu); }
.ars .ars-reset { font-size: 12.5px; color: var(--d); text-decoration: underline; text-decoration-color: var(--g); text-underline-offset: 3px; }
.ars .ars-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px 30px; }
.ars .ars-specstrip {
  display: flex; align-items: center; gap: 18px; margin: 0 0 40px; padding: 20px 24px;
  background: #fff; border: .5px solid var(--line); border-radius: 18px;
}
.ars .ars-specstrip .ars-avatar { width: 58px; height: 58px; font-size: 21px; }
.ars .ars-specstrip__tx { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1; }
.ars .ars-specstrip__k { font-size: 12px; color: var(--mu); margin: 0; }
.ars .ars-specstrip__n { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 25px; line-height: 1.15; color: var(--d); margin: 0; }
.ars .ars-specstrip__r { font-size: 13px; color: var(--mu); margin: 0; }
.ars .ars-empty { text-align: center; padding: 64px 24px; border: .5px dashed rgba(58,54,48,.22); border-radius: 18px; }
.ars .ars-empty__m { display: block; color: var(--g); font-size: 18px; margin-bottom: 12px; }
.ars .ars-empty p { font-size: 15px; font-weight: 300; color: var(--mu); line-height: 1.7; margin: 0 auto 18px; max-width: 440px; }

/* ═════════ CTA FINAL ═════════ */
.ars .ars-cta { position: relative; overflow: hidden; background: var(--d); padding: 116px 0; text-align: center; }
.ars .ars-cta::before {
  content: ''; position: absolute; top: -90px; left: 50%; transform: translateX(-50%);
  width: 680px; height: 340px; pointer-events: none;
  background: radial-gradient(ellipse, rgba(201,169,110,.13) 0%, transparent 70%);
}
.ars .ars-cta__in { position: relative; max-width: 640px; margin: 0 auto; padding: 0 24px; }
.ars .ars-cta .ars-eyebrow { color: rgba(247,243,237,.55); }
.ars .ars-cta__t {
  font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 300;
  font-size: clamp(36px, 4.2vw, 56px); line-height: 1.08; letter-spacing: -.02em;
  color: var(--c); margin: 0 0 18px; padding-bottom: .05em; text-wrap: balance;
}
.ars .ars-cta__t em { font-style: italic; color: rgba(247,243,237,.62); }
.ars .ars-cta__s { font-size: 15.5px; font-weight: 300; line-height: 1.8; color: rgba(247,243,237,.62); margin: 0 auto 36px; max-width: 480px; }

/* ═════════ PAGINA DE SPECIALIST ═════════ */
.ars.ars--sp { max-width: 980px; margin: 8px auto 0; text-align: left; } /* .ars.ars--sp: câștigă în fața resetului .aspg * din paginile de specialist */
.ars--sp .ars-sp__group { margin: 0 0 52px; }
.ars--sp .ars-sp__h {
  display: flex; align-items: center; justify-content: center; gap: 10px; margin: 0 0 20px;
  font-size: 10px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: #A8987E; text-align: center;
}
.ars--sp .ars-sp__h span { color: var(--g); letter-spacing: 0; }
.ars--sp .ars-sp__pk { display: flex; flex-direction: column; gap: 12px; }
.ars .ars-pk {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px; align-items: center;
  background: #fff; border: .5px solid rgba(58,54,48,.1); border-radius: 14px; padding: 26px 28px 26px 30px;
  position: relative; overflow: hidden; transition: border-color .2s ease, transform .3s var(--ease), box-shadow .3s ease;
}
.ars .ars-pk::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--p); opacity: .9; }
.ars .ars-pk:hover { border-color: rgba(201,169,110,.4); transform: translateY(-2px); box-shadow: 0 16px 36px rgba(58,48,34,.07); }
.ars .ars-pk__main { display: flex; flex-direction: column; gap: 9px; min-width: 0; }
.ars .ars-pk__tags { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; }
.ars .ars-pk__t { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 25px; font-weight: 400; line-height: 1.18; color: var(--d); margin: 0; text-wrap: balance; }
.ars .ars-pk__t a { text-decoration: none; }
.ars .ars-pk__t a:hover { text-decoration: underline; text-decoration-color: var(--g); text-decoration-thickness: 1px; text-underline-offset: 4px; }
.ars .ars-pk__d { font-size: 14px; font-weight: 300; line-height: 1.65; color: var(--mu); margin: 0; max-width: 560px; }
.ars .ars-pk__facts, .ars .ars-pp-facts { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 4px 0 0; padding: 0; }
.ars .ars-pk__facts li, .ars .ars-pp-facts li {
  margin: 0; padding: 5px 11px; border-radius: 100px; font-size: 11.5px; font-weight: 500; color: var(--ink);
  background: color-mix(in srgb, var(--p) 16%, #fff); border: .5px solid color-mix(in srgb, var(--p) 45%, transparent);
}
.ars .ars-pk__side { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.ars .ars-pk__price { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 30px; font-weight: 500; line-height: 1; color: var(--d); white-space: nowrap; }
.ars .ars-pk__price--soon { font-family: 'Inter Tight', sans-serif; font-size: 12px; font-weight: 500; letter-spacing: .06em; color: var(--mu); }
.ars--sp .ars-sp__books { display: flex; flex-direction: column; gap: 10px; }
.ars .ars-bk {
  display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 22px; align-items: center;
  background: #fff; border: .5px solid rgba(58,54,48,.1); border-radius: 12px; padding: 14px 22px 14px 14px;
  transition: border-color .2s ease;
}
.ars .ars-bk:hover { border-color: rgba(201,169,110,.35); }
.ars .ars-bk__cover { display: block; text-decoration: none; }
.ars .ars-bk__main { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.ars .ars-bk__t { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 21px; font-weight: 400; line-height: 1.2; color: var(--d); margin: 0; display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.ars .ars-bk__t a { text-decoration: none; }
.ars .ars-bk__t a:hover { text-decoration: underline; text-decoration-color: var(--g); text-underline-offset: 4px; }
.ars .ars-bk__a { font-size: 10.5px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--gd); margin: 0; }
.ars .ars-bk__d { font-size: 13px; font-weight: 300; line-height: 1.6; color: var(--mu); margin: 2px 0 0; }
.ars--sp .ars-sp__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 24px; }
.ars--sp .ars-sp__more { text-align: center; margin-top: -16px; }

/* ═════════ PAGINA DE PRODUS ═════════ */
.ars .ars-preview {
  position: relative; z-index: 3; margin: 108px auto -84px; max-width: 1120px; padding: 10px 18px; border-radius: 100px;
  font-size: 12.5px; color: #6B3A22; background: rgba(196,120,80,.12); text-align: center;
}
.ars .ars-notices { padding-top: 120px; margin-bottom: -96px; }
.ars .ars-pp-hero {
  padding: 140px 0 80px;
  background: radial-gradient(60% 75% at 100% 0%, color-mix(in srgb, var(--p) 24%, transparent), transparent 72%);
}
.ars .ars-pp-hero__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 72px; align-items: center; }
.ars .ars-pp-media { animation: ars-up 1s var(--ease) .15s both; }
.ars .ars-pp-info > * { animation: ars-up .9s var(--ease) both; }
.ars .ars-pp-info > *:nth-child(2) { animation-delay: .06s; }
.ars .ars-pp-info > *:nth-child(3) { animation-delay: .12s; }
.ars .ars-pp-info > *:nth-child(n+4) { animation-delay: .18s; }
.ars .ars-crumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin: 0 0 24px; font-size: 13px; color: var(--mu); }
.ars .ars-crumbs a { color: var(--mu); text-decoration: none; }
.ars .ars-crumbs a:hover { color: var(--d); }
.ars .ars-crumbs .ars-sep { color: rgba(58,54,48,.3); }
.ars .ars-pp-title {
  font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 300;
  font-size: clamp(38px, 4.1vw, 58px); line-height: 1.07; letter-spacing: -.02em;
  color: var(--d); margin: 0 0 20px; padding-bottom: .05em; text-wrap: balance;
}
.ars .ars-pp-deck p { font-size: 18px; font-weight: 300; line-height: 1.7; color: var(--mu); margin: 0 0 8px; max-width: 560px; text-wrap: pretty; }
.ars .ars-pp-facts { margin: 18px 0 0; }
.ars .ars-pp-buy { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 22px; margin: 32px 0 0; padding: 26px 0 0; border-top: .5px solid var(--line); }
.ars .ars-pp-price { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 40px; font-weight: 500; line-height: 1; color: var(--d); white-space: nowrap; }
.ars .ars-pp-price .ars-price__free { font-size: 14px; }
.ars .ars-pp-note { flex-basis: 100%; margin: 2px 0 0; font-size: 13px; color: var(--mu); }
/* codul de reducere Aima (produse din magazinul specialistului) */
.ars .ars-code {
  flex-basis: 100%; display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 18px 20px; border-radius: 14px; background: #fff; border: 1px dashed rgba(201,169,110,.7);
}
.ars .ars-code__tx { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.ars .ars-code__k { margin: 0; font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gd); }
.ars .ars-code__v { margin: 0; font-family: 'Inter Tight', sans-serif; font-size: 22px; font-weight: 600; letter-spacing: .08em; color: var(--d); }
.ars .ars-code__n { margin: 0; font-size: 13px; line-height: 1.55; color: var(--mu); }
.ars .ars-code__b {
  flex-shrink: 0; display: inline-flex; align-items: center; padding: 11px 18px; border-radius: 100px; cursor: pointer;
  font-size: 11.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; text-decoration: none;
  color: var(--d); background: var(--b); transition: background .2s ease, color .2s ease;
}
.ars .ars-code__b:hover { background: #E7DFD1; }
.ars .ars-code__b.is-done { background: var(--d); color: var(--g); }
.ars .ars-code--mini { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; padding: 0; border: 0; background: none; margin: 6px 0 0; }
.ars .ars-code--mini .ars-code__k { font-size: 10px; }
.ars .ars-code--mini .ars-code__v { font-size: 13px; letter-spacing: .1em; padding: 3px 9px; border: 1px dashed rgba(201,169,110,.8); border-radius: 6px; }
.ars .ars-code--mini .ars-code__n { font-size: 12px; }
.ars .ars-code--mini .ars-code__b { padding: 6px 12px; font-size: 10px; }
.ars .ars-codetag {
  display: inline-flex; align-items: center; white-space: nowrap; padding: 4px 10px; border-radius: 100px;
  font-size: 11px; font-weight: 600; letter-spacing: .04em; color: var(--gd); border: 1px dashed rgba(201,169,110,.8);
}
.ars .ars-pp-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.ars .ars-pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 100px; text-decoration: none;
  font-size: 12.5px; font-weight: 500; color: var(--d); background: color-mix(in srgb, var(--p) 28%, #fff);
}
.ars .ars-pill i { width: 7px; height: 7px; border-radius: 50%; background: var(--p); filter: saturate(1.4) brightness(.85); }
.ars a.ars-pill:hover { background: color-mix(in srgb, var(--p) 42%, #fff); }

.ars .ars-pp-body { padding: 24px 0 104px; }
.ars .ars-pp-body__grid { display: grid; grid-template-columns: minmax(0, 680px) 340px; gap: 88px; justify-content: center; align-items: start; }
.ars .ars-pp-body__grid--solo { grid-template-columns: minmax(0, 720px); }
.ars .ars-pp-aside { position: sticky; top: 120px; display: flex; flex-direction: column; gap: 16px; }
.ars .ars-pp-body--short { padding: 0 0 88px; }
.ars .ars-pp-aside--row { position: static; flex-direction: row; flex-wrap: wrap; }
.ars .ars-pp-aside--row > * { flex: 1 1 340px; max-width: 520px; }
.ars .ars-box { background: var(--b); border-radius: 18px; padding: 24px 26px; }
.ars .ars-box__t { font-family: 'Cormorant Garamond', Georgia, serif; font-style: italic; font-size: 24px; line-height: 1.2; color: var(--d); margin: 0 0 10px; }
.ars .ars-box__x { font-size: 14.5px; line-height: 1.7; color: var(--ink); margin: 0; }
.ars .ars-person { display: flex; gap: 18px; align-items: flex-start; background: #fff; border: .5px solid var(--line); border-radius: 18px; padding: 22px; }
.ars .ars-person__tx { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.ars .ars-person__n { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 24px; line-height: 1.15; color: var(--d); margin: 0; }
.ars .ars-person__r { font-size: 12.5px; line-height: 1.55; color: var(--mu); margin: 0 0 8px; }

/* textul produsului */
.ars .ars-content { font-size: 17.5px; line-height: 1.8; font-weight: 300; color: var(--ink); }
.ars .ars-content > * { margin-top: 0; margin-bottom: 1.2em; }
.ars .ars-content p { font-size: 17.5px; line-height: 1.8; font-weight: 300; color: var(--ink); margin: 0 0 1.2em; }
.ars .ars-content > p:first-child { font-size: 19px; line-height: 1.72; color: var(--d); }
.ars .ars-content strong, .ars .ars-content b { font-weight: 600; color: var(--d); }
.ars .ars-content h2, .ars .ars-content h3 {
  font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 400; font-size: clamp(28px, 2.6vw, 36px); line-height: 1.15;
  letter-spacing: -.012em; color: var(--d); margin: 1.8em 0 .6em;
}
.ars .ars-content ul, .ars .ars-content ol { list-style: none; padding: 0; margin: 0 0 1.4em; }
.ars .ars-content li { position: relative; padding-left: 28px; margin: 0 0 .65em; font-size: 17px; line-height: 1.7; color: var(--ink); }
.ars .ars-content ul > li::before { content: '✦'; position: absolute; left: 2px; top: .1em; font-size: 11px; color: var(--g); }
.ars .ars-content a { color: var(--d); text-decoration: underline; text-decoration-color: var(--g); text-underline-offset: 3px; }
.ars .ars-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 1.6em 0; }
.ars .ars-fact { background: #fff; border: .5px solid var(--line); border-radius: 14px; padding: 20px 22px; }
.ars .ars-fact:first-child:nth-last-child(odd) { grid-column: 1 / -1; }
.ars .ars-content .ars-fact__k { font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gd); margin: 0 0 8px; }
.ars .ars-content .ars-fact__v { font-size: 15.5px; line-height: 1.65; margin: 0; color: var(--ink); }
.ars .ars-content .ars-fact__v::first-letter { text-transform: uppercase; } /* valoarea stă singură sub etichetă; textul sursă rămâne neschimbat */
.ars .ars-note { display: flex; gap: 14px; align-items: flex-start; margin: 2em 0 0; padding: 20px 22px; border: .5px solid rgba(58,54,48,.16); border-radius: 14px; }
.ars .ars-note__m { color: var(--g); font-size: 13px; line-height: 1.7; }
.ars .ars-content .ars-note p { margin: 0; font-size: 14.5px; line-height: 1.7; color: var(--mu); }

.ars .ars-rel { padding: 0 0 112px; }
.ars .ars-rel__head { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 36px; padding-top: 72px; border-top: .5px solid var(--line); }

/* ═════════ RESPONSIVE ═════════ */
@media (max-width: 1100px) {
  .ars .ars-hero__grid, .ars .ars-pp-hero__grid { gap: 52px; }
  .ars .ars-pp-body__grid { grid-template-columns: minmax(0, 1fr) 300px; gap: 52px; }
  .ars .ars-frow { flex-wrap: wrap; }
  .ars .ars-ftools { margin-left: 64px; }
}
@media (max-width: 960px) {
  .ars .ars-hero__grid, .ars .ars-pp-hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .ars .ars-hero { padding: 128px 0 52px; }
  .ars .ars-pp-hero { padding: 120px 0 56px; }
  .ars .ars-pp-media { max-width: 520px; }
  .ars .ars-grid, .ars--sp .ars-sp__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 24px; }
  .ars .ars-filters { position: static; }
  .ars .ars-pp-body__grid { grid-template-columns: minmax(0, 1fr); gap: 32px; max-width: 760px; }
  .ars .ars-pp-aside { position: static; }
}
@media (max-width: 640px) {
  .ars .ars-wrap { padding: 0 20px; }
  .ars .ars-hero { padding: 112px 0 44px; }
  .ars .ars-h1 { font-size: clamp(38px, 10.5vw, 48px); }
  .ars .ars-pp-hero { padding: 108px 0 44px; }
  .ars .ars-cover--hero { aspect-ratio: 16 / 10; }
  .ars .ars-cover--hero .ars-arch--lg { width: 26%; }
  .ars .ars-cover--hero .ars-book { width: 30%; }
  .ars .ars-pp-title { font-size: clamp(34px, 9.4vw, 44px); }
  .ars .ars-pp-deck p { font-size: 16.5px; }
  .ars .ars-pp-buy { flex-direction: column; align-items: stretch; }
  .ars .ars-pp-buy .ars-btn { width: 100%; }
  .ars .ars-pp-price { font-size: 36px; }
  .ars .ars-grid, .ars--sp .ars-sp__grid { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .ars .ars-card__title { font-size: 25px; }
  .ars .ars-filters { padding: 12px 0 10px; margin-bottom: 28px; }
  .ars .ars-frow { flex-wrap: nowrap; }
  .ars .ars-flabel { display: none; }
  .ars .ars-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -20px; padding: 2px 20px; }
  .ars .ars-chips::-webkit-scrollbar { display: none; }
  .ars .ars-chip { flex-shrink: 0; }
  .ars .ars-frow:last-child { flex-direction: column; align-items: stretch; gap: 10px; }
  .ars .ars-ftools { margin-left: 0; justify-content: space-between; }
  .ars .ars-select select { max-width: 210px; }
  .ars .ars-facts { grid-template-columns: minmax(0, 1fr); }
  .ars .ars-content p, .ars .ars-content li { font-size: 16.5px; }
  .ars .ars-content > p:first-child { font-size: 17.5px; }
  .ars .ars-pk { grid-template-columns: minmax(0, 1fr); gap: 18px; padding: 22px 20px 22px 24px; }
  .ars .ars-pk__side { flex-direction: column; align-items: stretch; gap: 14px; }
  .ars .ars-pk__side .ars-btn { width: 100%; }
  .ars .ars-pk__price { align-self: flex-start; }
  .ars .ars-bk { grid-template-columns: 52px minmax(0, 1fr); padding: 14px 16px 16px 12px; }
  .ars .ars-bk .ars-cover--mini .ars-book { width: 68%; padding: 14% 7% 10% 10%; }
  .ars .ars-bk .ars-cover--mini .ars-book__t { font-size: 7.5px; }
  .ars .ars-bk__side { grid-column: 1 / -1; }
  .ars .ars-bk__side .ars-btn { width: 100%; }
  .ars .ars-specstrip { flex-wrap: wrap; padding: 18px; }
  .ars .ars-cta { padding: 88px 0; }
  .ars .ars-btn { padding: 15px 22px; font-size: 11.5px; }
  .ars .ars-btn--lg { padding: 18px 26px; }
  .ars .ars-list, .ars .ars-rel { padding-bottom: 80px; }
  .ars .ars-rel__head { padding-top: 56px; }
}

/* ═════════ MIȘCARE REDUSĂ ═════════ */
@media (prefers-reduced-motion: reduce) {
  .ars *, .ars *::before, .ars *::after { animation: none !important; transition: none !important; }
}
@media print { .ars .ars-r, .ars .ars-grid > .ars-card, .ars .ars-hero__feat, .ars .ars-pp-info > *, .ars .ars-pp-media { animation: none !important; opacity: 1 !important; transform: none !important; } }

/* ── 1.0.4: prețuri ── */
.ars .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.ars .ars-pk__price del, .ars .ars-pp-price del { display: block; font-size: .5em; line-height: 1.2; color: var(--mu2); margin: 0 0 4px; }
.ars .ars-pk__price ins, .ars .ars-pp-price ins { text-decoration: none; }
.ars .ars-pk__price del { text-align: right; }
.ars .ars-price__label { white-space: normal; }
.ars .ars-card__end .ars-price__label { display: inline-block; max-width: 11em; text-align: right; line-height: 1.15; font-size: .9em; }
.ars .ars-pk__price .ars-price__label { display: block; text-align: right; line-height: 1.1; }
.ars .ars-pp-price .ars-price__label { font-size: .9em; }
/* poza întreagă: coperți de ebook și afișe, așezate pe fundal colorat de pilon, ca un obiect */
.ars .ars-cover--contain { background: color-mix(in srgb, var(--p) 22%, #F3EEE6); }
.ars .ars-cover--contain .ars-cover__img { object-fit: contain; padding: 7% 0; filter: drop-shadow(0 14px 18px rgba(30,28,25,.16)); }
.ars .ars-cover--hero.ars-cover--contain .ars-cover__img, .ars .ars-cover--feat.ars-cover--contain .ars-cover__img { padding: 8% 0; }
.ars .ars-card__a:hover .ars-cover--contain .ars-cover__img { transform: scale(1.025); }

/* ── 1.0.5: formularul AIMA de cerere (pagina resursei) ──
   Tema aplică stiluri proprii pe input / textarea / button: proprietățile-cheie au !important. */
.ars .ars-req { padding: 0 0 104px; scroll-margin-top: 96px; }
.ars .ars-req__card {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start;
  background: #fff; border: .5px solid var(--line); border-radius: 24px; padding: 56px;
  box-shadow: 0 30px 60px -40px rgba(30,28,25,.28);
}
.ars .ars-req__intro .ars-h2 { margin: 0 0 16px; }
.ars .ars-req__lead { font-size: 16px; font-weight: 300; line-height: 1.75; color: var(--ink); margin: 0 0 28px; text-wrap: pretty; }
.ars .ars-req__pick { background: var(--c); border-radius: 16px; padding: 20px 22px; border-left: 2px solid var(--p); }
.ars .ars-req__k { display: block; margin: 0 0 8px; font-size: 10.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gd); }
.ars .ars-req__k em { font-style: normal; font-weight: 500; letter-spacing: .06em; text-transform: none; color: var(--mu2); margin-left: 4px; }
.ars .ars-req__pick-t { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 23px; line-height: 1.2; color: var(--d); margin: 0; text-wrap: balance; }
.ars .ars-req__pick-p { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 20px; font-weight: 500; color: var(--d); margin: 8px 0 0; }
.ars .ars-req__form { display: flex; flex-direction: column; gap: 18px; margin: 0; }
.ars .ars-req__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.ars .ars-req__f { display: flex; flex-direction: column; margin: 0; }
.ars .ars-req__form input[type="text"], .ars .ars-req__form input[type="email"], .ars .ars-req__form input[type="tel"], .ars .ars-req__form textarea {
  -webkit-appearance: none !important; appearance: none !important; width: 100% !important; max-width: none !important; margin: 0 !important;
  font-family: 'Inter Tight', system-ui, sans-serif !important; font-size: 16px !important; font-weight: 400 !important; line-height: 1.5 !important; color: var(--d) !important;
  background: #FBF9F5 !important; border: .5px solid rgba(58,54,48,.24) !important; border-radius: 12px !important; box-shadow: none !important;
  padding: 13px 16px !important; height: auto !important; min-height: 50px; transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
}
.ars .ars-req__form textarea { min-height: 120px; resize: vertical; }
.ars .ars-req__form input::placeholder, .ars .ars-req__form textarea::placeholder { color: var(--mu2) !important; opacity: 1; }
.ars .ars-req__form input:focus, .ars .ars-req__form textarea:focus {
  outline: none !important; background: #fff !important; border-color: var(--g) !important; box-shadow: 0 0 0 3px rgba(201,169,110,.22) !important;
}
.ars .ars-req__ok { display: flex; gap: 12px; align-items: flex-start; margin: 2px 0 0; font-size: 13.5px; line-height: 1.6; color: var(--ink); cursor: pointer; }
.ars .ars-req__ok input { flex: none; width: 18px !important; height: 18px !important; margin: 2px 0 0 !important; accent-color: var(--gd); cursor: pointer; }
.ars .ars-req__ok a { color: var(--d); text-decoration: underline; text-decoration-color: var(--g); text-underline-offset: 3px; }
.ars .ars-req__send-row { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 6px; }
.ars .ars-req__form .ars-req__send {
  -webkit-appearance: none !important; appearance: none !important; display: inline-flex !important; align-items: center; gap: 12px; cursor: pointer;
  margin: 0 !important; border: 0 !important; border-radius: 100px !important; padding: 18px 30px !important; height: auto !important; min-height: 0 !important; width: auto !important;
  background: var(--g) !important; color: var(--d) !important; box-shadow: none !important; text-shadow: none !important;
  font-family: 'Inter Tight', sans-serif !important; font-size: 12.5px !important; font-weight: 600 !important; letter-spacing: .1em !important; text-transform: uppercase !important; line-height: 1 !important;
  transition: background .25s var(--ease), transform .25s var(--ease);
}
.ars .ars-req__form .ars-req__send:hover { background: #D4B97A !important; transform: translateY(-2px); }
.ars .ars-req__form .ars-req__send:active { transform: translateY(0) scale(.98); }
.ars .ars-req__form .ars-req__send:focus-visible { outline: 2px solid var(--gd) !important; outline-offset: 3px; }
.ars .ars-req__form .ars-req__send[disabled] { opacity: .6; cursor: progress; transform: none; }
.ars .ars-req__send .ars-btn__ic { width: 22px; height: 22px; border-radius: 50%; display: inline-grid; place-items: center; background: rgba(30,28,25,.1); font-size: 12px; }
.ars .ars-req__msg { margin: 0; font-size: 14px; line-height: 1.55; color: var(--mu); min-height: 1.55em; }
.ars .ars-req__msg.is-err { color: #A2442F; }
.ars .ars-req__msg.is-ok { color: var(--gd); }
.ars .ars-req__trap { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.ars .ars-req__done { display: flex; gap: 16px; align-items: flex-start; background: var(--c); border-radius: 16px; padding: 28px 26px; }
.ars .ars-req__done span { color: var(--g); font-size: 16px; line-height: 1.5; }
.ars .ars-req__done p { margin: 0; font-family: 'Cormorant Garamond', Georgia, serif; font-size: 25px; line-height: 1.3; color: var(--d); }
@media (max-width: 960px) {
  .ars .ars-req__card { grid-template-columns: 1fr; gap: 36px; padding: 40px 32px; }
}
@media (max-width: 640px) {
  .ars .ars-req { padding-bottom: 80px; }
  .ars .ars-req__card { padding: 30px 20px; border-radius: 20px; }
  .ars .ars-req__row { grid-template-columns: 1fr; }
  .ars .ars-req__form .ars-req__send { width: 100% !important; justify-content: center; }
}

/* ═══════════════════════════════════════════════════════════════
   1.0.6 · /resurse/ refăcută
   1) fundalul crem pe toată lățimea (tema NexSaaS pune pagina într-un
      .main-container de ~1290px cu padding și fundal albăstrui)
   2) filtrele pe un singur rând: pilonii ca chips, tipul și specialistul ca liste
   3) lista pe rafturi de tip (fără filtre) sau o singură grilă (cu filtre)
   4) sesiunile și programele ca rânduri compacte, nu ca poze mari repetate
   ═══════════════════════════════════════════════════════════════ */

/* 1 · fundal pe toată lățimea */
html:has(.ars--hub), body:has(.ars--hub) { background: #F7F3ED !important; }
body:has(.ars--hub) { overflow-x: clip; }
main.site-main:has(.ars--hub) { padding-top: 0 !important; padding-bottom: 0 !important; background: #F7F3ED; }
main.site-main:has(.ars--hub) > .main-container,
main.site-main .main-container:has(> .elementor .ars--hub),
.main-container:has(.ars--hub) { max-width: none !important; width: 100% !important; padding-left: 0 !important; padding-right: 0 !important; margin: 0 !important; }
.elementor-widget-shortcode:has(> .elementor-shortcode > .ars--hub),
.elementor-shortcode:has(> .ars--hub) { width: 100%; }
.ars--hub { width: 100%; }

/* hero: mai strâns, dar tot cu aer sub antetul plutitor */
.ars--hub .ars-hero { padding: 152px 0 88px; position: relative; }
.ars--hub .ars-hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 70% at 78% 40%, rgba(201,169,110,.10) 0%, transparent 70%);
}
.ars--hub .ars-hero__grid { grid-template-columns: minmax(0, 12fr) minmax(0, 13fr); gap: 80px; position: relative; }
.ars--hub .ars-hero .ars-h1 { font-size: clamp(40px, 4.2vw, 60px); line-height: 1.04; letter-spacing: -.02em; padding-bottom: .06em; }
.ars--hub .ars-hero .ars-lead { margin-top: 26px; }
.ars--hub .ars-card--feat .ars-cover--feat { box-shadow: 0 30px 60px -34px rgba(58,44,24,.45); }

/* 2 · bara de filtre, un singur rând */
.ars--hub .ars-filters { padding: 14px 0; margin-bottom: 64px; background: rgba(247,243,237,.86); }
.ars--hub .ars-filters__in { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 10px 20px; }
.ars--hub .ars-filters .ars-chips {
  flex: 1 1 100%; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; gap: 6px; padding: 2px;
}
.ars--hub .ars-filters .ars-chips::-webkit-scrollbar { display: none; }
.ars--hub .ars-filters .ars-chips.has-r { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 48px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 48px), transparent); }
.ars--hub .ars-filters .ars-chips.has-l { -webkit-mask-image: linear-gradient(90deg, transparent, #000 48px); mask-image: linear-gradient(90deg, transparent, #000 48px); }
.ars--hub .ars-filters .ars-chips.has-l.has-r { -webkit-mask-image: linear-gradient(90deg, transparent, #000 48px, #000 calc(100% - 48px), transparent); mask-image: linear-gradient(90deg, transparent, #000 48px, #000 calc(100% - 48px), transparent); }
.ars--hub .ars-chip { flex-shrink: 0; background: transparent; border-color: rgba(58,54,48,.16); padding: 9px 14px; }
.ars--hub .ars-chip:hover { background: #fff; }
.ars--hub .ars-chip__n { background: transparent; padding: 0; min-width: 0; color: var(--mu2); }
.ars--hub .ars-chip.is-on .ars-chip__n { background: transparent; }
.ars--hub .ars-ftools { margin: 0; gap: 10px; }
.ars--hub .ars-select select { background: transparent; max-width: 210px; }
.ars--hub .ars-select select.is-on { background: var(--d); color: var(--c); border-color: var(--d); }
.ars--hub .ars-select:has(select.is-on)::after { border-color: var(--g); }
.ars--hub .ars-switch { padding-left: 6px; }
.ars--hub .ars-filters .ars-chips + .ars-ftools { padding-top: 2px; }

/* 3 · rafturi */
.ars--hub .ars-list { padding-bottom: 128px; }
.ars--hub .ars-list:not(.is-flat) .ars-listhead { display: none; }
.ars--hub .ars-shelves { display: flex; flex-direction: column; gap: 104px; }
.ars--hub .ars-shelf__head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 20px;
  padding-bottom: 18px; margin-bottom: 32px; border-bottom: .5px solid var(--line);
}
.ars--hub .ars-shelf__t {
  font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 400; font-size: clamp(30px, 2.8vw, 42px);
  line-height: 1.1; letter-spacing: -.015em; color: var(--d); margin: 0;
}
.ars--hub .ars-shelf__n {
  font-family: 'Inter Tight', sans-serif; font-size: 13px; font-weight: 400; letter-spacing: 0; color: var(--mu2);
  vertical-align: super; margin-left: 4px;
}
.ars--hub .ars-shelf__all { flex-shrink: 0; font-size: 13.5px; font-weight: 500; text-decoration: none; }
.ars--hub .ars-shelf__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px 32px; }
.ars--hub .ars-list:not(.is-flat) .ars-card.is-more { display: none; }

/* cu filtre: o singură grilă, fără titluri de raft */
.ars--hub .ars-list.is-flat .ars-shelves { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px 32px; }
.ars--hub .ars-list.is-flat .ars-shelf,
.ars--hub .ars-list.is-flat .ars-shelf__grid { display: contents; }
.ars--hub .ars-list.is-flat .ars-shelf__head { display: none; }

/* 4 · sesiuni și programe ca rânduri compacte (doar în rafturi) */
.ars--hub .ars-list:not(.is-flat) .ars-shelf--rows .ars-shelf__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; }
.ars--hub .ars-list:not(.is-flat) .ars-shelf--rows .ars-card { border-bottom: .5px solid var(--line); }
.ars--hub .ars-list:not(.is-flat) .ars-shelf--rows .ars-card__a { flex-direction: row; align-items: center; gap: 22px; padding: 22px 0; }
.ars--hub .ars-list:not(.is-flat) .ars-shelf--rows .ars-cover { flex: 0 0 96px; width: 96px; aspect-ratio: 1 / 1; border-radius: 50%; }
.ars--hub .ars-list:not(.is-flat) .ars-shelf--rows .ars-cover .ars-arch,
.ars--hub .ars-list:not(.is-flat) .ars-shelf--rows .ars-cover .ars-book { transform: scale(.9); }
.ars--hub .ars-list:not(.is-flat) .ars-shelf--rows .ars-card__body { padding: 0; gap: 6px; }
.ars--hub .ars-list:not(.is-flat) .ars-shelf--rows .ars-card__title { font-size: 23px; }
.ars--hub .ars-list:not(.is-flat) .ars-shelf--rows .ars-card__ex { font-size: 14px; -webkit-line-clamp: 1; }
.ars--hub .ars-list:not(.is-flat) .ars-shelf--rows .ars-card__foot { border-top: 0; padding-top: 4px; }
.ars--hub .ars-list:not(.is-flat) .ars-shelf--rows .ars-by .ars-avatar { display: none; }
.ars--hub .ars-list:not(.is-flat) .ars-shelf--rows .ars-price { font-size: 20px; }

@media (max-width: 1100px) {
}
@media (max-width: 960px) {
  .ars--hub .ars-hero { padding: 128px 0 64px; }
  .ars--hub .ars-hero__grid { grid-template-columns: 1fr; gap: 44px; }
  .ars--hub .ars-shelf__grid,
  .ars--hub .ars-list.is-flat .ars-shelves { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 24px; }
  .ars--hub .ars-list:not(.is-flat) .ars-shelf--rows .ars-shelf__grid { grid-template-columns: 1fr; }
  .ars--hub .ars-list:not(.is-flat) .ars-shelf:not(.ars-shelf--rows) .ars-card.is-more { display: flex; }
  .ars--hub .ars-list:not(.is-flat) .ars-shelf:not(.ars-shelf--rows) .ars-shelf__grid {
    display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin: 0 -48px; padding: 0 48px 6px; scroll-padding: 0 48px;
  }
  .ars--hub .ars-list:not(.is-flat) .ars-shelf:not(.ars-shelf--rows) .ars-shelf__grid::-webkit-scrollbar { display: none; }
  .ars--hub .ars-list:not(.is-flat) .ars-shelf:not(.ars-shelf--rows) .ars-card { flex: 0 0 min(46%, 340px); scroll-snap-align: start; }
}
@media (max-width: 640px) {
  .ars--hub .ars-hero { padding: 116px 0 52px; }
  .ars--hub .ars-filters { padding: 10px 0 12px; margin-bottom: 44px; }
  .ars--hub .ars-filters__in { gap: 10px; }
  .ars--hub .ars-filters .ars-chips { margin: 0 -20px; padding: 2px 20px; }
  .ars--hub .ars-ftools { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .ars--hub .ars-ftools .ars-select select { max-width: none; width: 100%; padding: 9px 34px 9px 14px; }
  .ars--hub .ars-ftools .ars-switch { grid-column: 1 / -1; padding: 4px 2px 0; }
  .ars--hub .ars-shelves { gap: 72px; }
  .ars--hub .ars-shelf__head { margin-bottom: 24px; padding-bottom: 14px; }
  .ars--hub .ars-shelf__t { font-size: 28px; }
  .ars--hub .ars-shelf__all { font-size: 12.5px; }
  .ars--hub .ars-list.is-flat .ars-shelves { grid-template-columns: 1fr; gap: 44px; }
  .ars--hub .ars-list:not(.is-flat) .ars-shelf:not(.ars-shelf--rows) .ars-shelf__grid { margin: 0 -20px; padding: 0 20px 6px; scroll-padding: 0 20px; gap: 14px; }
  .ars--hub .ars-list:not(.is-flat) .ars-shelf:not(.ars-shelf--rows) .ars-card { flex-basis: 80%; }
  .ars--hub .ars-list:not(.is-flat) .ars-shelf--rows .ars-card__a { gap: 16px; padding: 18px 0; }
  .ars--hub .ars-list:not(.is-flat) .ars-shelf--rows .ars-cover { flex-basis: 72px; width: 72px; }
  .ars--hub .ars-list:not(.is-flat) .ars-shelf--rows .ars-card__title { font-size: 21px; }
  .ars--hub .ars-list:not(.is-flat) .ars-shelf--rows .ars-card__ex { display: none; }
}

/* ═══════════════════════════════════════════════════════════════
   1.0.7 · Pasul următor (produsele Aima recomandate)
   1) secțiunea „Pasul următor pentru pilonul X” pe paginile resurselor
      de specialist și ale celor gratuite (și pe „Comandă primită”)
   2) caseta care apare după click pe „Descarcă gratuit”
   ═══════════════════════════════════════════════════════════════ */

/* 1 · secțiunea */
.ars .ars-next { padding: 8px 0 104px; }
.ars .ars-next__box {
  position: relative; overflow: hidden; border-radius: 24px; padding: 60px 56px 64px;
  background:
    radial-gradient(70% 90% at 100% 0%, color-mix(in srgb, var(--p) 26%, transparent), transparent 70%),
    var(--b);
}
.ars .ars-next__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 22px 40px; flex-wrap: wrap; margin: 0 0 44px; }
.ars .ars-next__tx { max-width: 640px; min-width: 0; }
.ars .ars-next__tx .ars-eyebrow { margin-bottom: 16px; }
.ars .ars-next__s { margin: 16px 0 0; font-size: 16px; font-weight: 300; line-height: 1.75; color: var(--mu); max-width: 560px; text-wrap: pretty; }
.ars .ars-next__grid { gap: 44px 28px; }
.ars .ars-next__grid .ars-card__foot { border-top-color: rgba(58,54,48,.16); }
.ars .ars-next__head .ars-link { flex-shrink: 0; padding-bottom: 6px; }

/* 2 · caseta de după descărcare */
.ars .ars-pp-next { flex-basis: 100%; display: flex; flex-direction: column; gap: 12px; margin: 6px 0 0; animation: ars-up .55s var(--ease) both; }
.ars .ars-pp-next__ok { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--ink); }
.ars .ars-pp-next__ok span {
  width: 20px; height: 20px; border-radius: 50%; flex-shrink: 0; display: inline-grid; place-items: center;
  background: var(--d); color: var(--g); font-size: 11px; line-height: 1;
}
.ars .ars-pp-next__card {
  display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 16px; align-items: center;
  padding: 12px 18px 12px 12px; border-radius: 16px; background: #fff; border: .5px solid var(--line);
  text-decoration: none; color: inherit; max-width: 560px;
  transition: border-color .2s ease, transform .3s var(--ease), box-shadow .3s ease;
}
.ars .ars-pp-next__card:hover { border-color: rgba(201,169,110,.55); transform: translateY(-2px); box-shadow: 0 14px 30px rgba(58,48,34,.08); }
.ars .ars-pp-next__card .ars-cover--mini { border-radius: 10px; }
.ars .ars-pp-next__card .ars-cover--mini .ars-arch { width: 50%; padding-bottom: 12%; }
.ars .ars-pp-next__card .ars-cover--mini .ars-arch__word { display: none; }
.ars .ars-pp-next__tx { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.ars .ars-pp-next__k { font-size: 10.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gd); }
.ars .ars-pp-next__t { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 21px; font-weight: 400; line-height: 1.2; color: var(--d); text-wrap: balance; }
.ars .ars-pp-next__p { font-size: 13px; color: var(--mu); }
.ars .ars-pp-next__p .amount { color: var(--d); font-weight: 500; }
.ars .ars-pp-next__card:hover .ars-go { background: var(--d); color: var(--g); border-color: var(--d); transform: translateX(2px); }

/* 3 · pagina „Comandă primită”: în coloana temei, fără marginile paginii de produs */
.ars.ars--ty { margin: 56px 0 8px; clear: both; }
.ars--ty .ars-next { padding: 0; }
.ars--ty .ars-wrap { max-width: none; padding: 0; }
.ars--ty .ars-next__box { padding: 44px 40px 48px; }
.ars--ty .ars-next__grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 36px 24px; }
/* aima-core pune titlurile din „Comandă primită” la 26px cu !important; titlul recomandărilor rămâne ca pe pagina de produs */
.woocommerce-order-received .ars--ty .ars-next .ars-h2 { font-size: clamp(28px, 2.6vw, 36px) !important; font-weight: 300 !important; line-height: 1.12; }

@media (max-width: 960px) {
  .ars .ars-next__box { padding: 48px 32px 52px; }
}
@media (max-width: 640px) {
  .ars .ars-next { padding-bottom: 80px; }
  .ars .ars-next__box { padding: 40px 20px 44px; border-radius: 20px; margin: 0 -8px; }
  .ars .ars-next__head { margin-bottom: 32px; }
  .ars .ars-next__s { font-size: 15px; }
  .ars .ars-pp-next__card { grid-template-columns: 48px minmax(0, 1fr) auto; gap: 14px; padding: 10px 14px 10px 10px; }
  .ars .ars-pp-next__t { font-size: 19px; }
  .ars--ty .ars-next__box { padding: 36px 20px 40px; margin: 0; }
  /* pe telefon, recomandările ca rânduri compacte (poză mică, titlu, preț), nu trei carduri mari una sub alta */
  .ars .ars-next__grid { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .ars .ars-next__grid > .ars-card { animation: none; }
  .ars .ars-next__grid .ars-card__a {
    flex-direction: row; align-items: center; gap: 14px; padding: 10px 12px 10px 10px;
    background: #fff; border: .5px solid var(--line); border-radius: 16px;
  }
  .ars .ars-next__grid .ars-cover { flex: 0 0 76px; width: 76px; aspect-ratio: 1 / 1; border-radius: 12px; }
  .ars .ars-next__grid .ars-cover .ars-arch__word { display: none; }
  .ars .ars-next__grid .ars-card__body { padding: 0; gap: 4px; min-width: 0; }
  .ars .ars-next__grid .ars-card__meta .ars-tag, .ars .ars-next__grid .ars-card__ex, .ars .ars-next__grid .ars-by { display: none; }
  .ars .ars-next__grid .ars-type { font-size: 10px; }
  .ars .ars-next__grid .ars-card__title { font-size: 19px; line-height: 1.2; margin: 0; }
  .ars .ars-next__grid .ars-card__foot { justify-content: flex-start; padding-top: 2px; border-top: 0; margin-top: 0; }
  .ars .ars-next__grid .ars-price { font-size: 19px; }
  .ars .ars-next__grid .ars-go { width: 28px; height: 28px; font-size: 13px; }
}
