/* ==========================================================================
   Home page – Option 1 "Refined Classic"
   ========================================================================== */

.av-home { padding-top: 120px; color: var(--av-ink); }
@media (max-width: 991px) { .av-home { padding-top: 96px; } }

/* ---------- hero: categories beside the slider ---------- */
.av-hero { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 24px; }
.av-cats { border: 1px solid var(--av-line); border-radius: 8px; overflow: hidden; background: #fff; display: flex; flex-direction: column; }
.av-cats h2 { margin: 0; padding: 18px 22px; background: var(--av-ink); color: #fff; font-size: 15px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; line-height: 1.3; }
[dir="rtl"] .av-cats h2 { letter-spacing: 0; }
.av-cats a { display: flex; align-items: center; gap: 14px; min-height: 48px; padding: 0 22px; border-top: 1px solid var(--av-line); color: var(--av-ink); text-decoration: none; font-size: 14px; font-weight: 600; }
.av-cats a:first-of-type { border-top: 0; }
.av-cats a:hover { background: var(--av-band); color: var(--av-ink); }
.av-cats a i, .av-cats a svg { flex: 0 0 26px; width: 26px; font-size: 22px; color: var(--av-gold-text); text-align: center; }
.av-cats .av-count { margin-inline-start: auto; min-width: 30px; padding: 3px 8px; border-radius: 12px; background: var(--av-band); color: var(--av-muted); font-size: 12px; text-align: center; }
.av-cats a.av-all { font-weight: 700; }

.av-slider { position: relative; min-height: 540px; border-radius: 8px; overflow: hidden; background: #1b1a19; }
.av-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .8s ease; }
.av-slide.on { opacity: 1; }
.av-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.av-caption { position: absolute; inset-inline-start: 28px; bottom: 28px; max-width: 380px; padding: 22px 24px; border-radius: 8px; background: rgba(255, 255, 255, .96); display: flex; flex-direction: column; gap: 8px; }
.av-caption .av-eyebrow { font-size: 11px; letter-spacing: 2px; }
.av-caption strong { font-size: 20px; line-height: 1.3; color: var(--av-ink); }
.av-caption a { font-size: 14px; font-weight: 700; color: var(--av-gold-text); }
.av-arrows { position: absolute; inset-inline-end: 24px; bottom: 28px; display: flex; gap: 8px; }
.av-arrows button { width: 44px; height: 44px; padding: 0; border: 0; border-radius: 22px; background: rgba(255, 255, 255, .92); color: var(--av-ink); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.av-arrows button:hover { background: var(--av-gold); }
[dir="rtl"] .av-arrows svg { transform: scaleX(-1); }

/* ---------- brands ---------- */
.av-brand-tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-bottom: 36px; }
.av-brand-tabs button { min-width: 180px; min-height: 68px; padding: 0 28px; border: 1px solid var(--av-line); border-radius: 8px; background: #fff; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; transition: border-color .2s, box-shadow .2s; }
.av-brand-tabs button img { height: 26px; max-width: 150px; object-fit: contain; }
.av-brand-tabs button[aria-selected="true"] { border-color: var(--av-ink); box-shadow: 0 6px 18px rgba(33, 32, 32, .08); }
.av-brand-panel { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: center; }
.av-brand-panel[hidden] { display: none; }
.av-brand-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.av-brand-copy h3 { margin: 0; font-size: 26px; font-weight: 600; color: var(--av-ink); }
.av-brand-copy p { margin: 0; font-size: 15px; line-height: 1.8; color: var(--av-muted); }
.av-brand-prods { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.av-brand-prods a { aspect-ratio: 4 / 3; min-height: 0; overflow: hidden; border-radius: 6px; background: var(--av-tile); display: flex; align-items: center; justify-content: center; padding: 22px; transition: background .2s; }
.av-brand-prods a:hover { background: #ece7df; }
.av-brand-prods img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }

/* ---------- about ---------- */
.av-about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.av-about > img { width: 100%; height: 460px; object-fit: cover; border-radius: 8px; }
.av-about h2 { margin: 12px 0 18px; font-size: 34px; font-weight: 600; color: var(--av-ink); }
.av-about p { margin: 0 0 28px; font-size: 16px; line-height: 1.8; color: var(--av-muted); }

/* ---------- services ---------- */
.av-services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.av-service { padding: 32px; border: 1px solid var(--av-line); border-radius: 8px; display: flex; flex-direction: column; gap: 14px; }
.av-service .av-icon { width: 56px; height: 56px; border-radius: 28px; background: var(--av-band); color: var(--av-gold-text); display: flex; align-items: center; justify-content: center; }
.av-service h3 { margin: 0; font-size: 19px; font-weight: 700; color: var(--av-ink); }
.av-service p { margin: 0; font-size: 14px; line-height: 1.7; color: var(--av-muted); }
.av-service .av-ltr { direction: ltr; unicode-bidi: isolate; }
.av-service p a { white-space: nowrap; color: var(--av-gold-text); }

/* ---------- responsive ---------- */
@media (max-width: 991px) {
    .av-hero, .av-brand-panel, .av-about { grid-template-columns: 1fr; }
    .av-slider { min-height: 380px; }
    .av-services { grid-template-columns: 1fr 1fr; }
    .av-about > img { height: 320px; }
}
@media (max-width: 560px) {
    .av-services { grid-template-columns: 1fr; }
    .av-caption { inset-inline: 16px; bottom: 84px; max-width: none; }
    .av-arrows { inset-inline-end: 16px; bottom: 20px; }
    .av-brand-tabs button { min-width: 0; flex: 1 1 140px; padding: 0 16px; }
    .av-sec { padding-top: 64px; }
}
