/* promo.atu.wine: corporate gifts landing page.
   Colours and type follow the main shop (style.css): dark surfaces, ATU red, Raleway titles, Nunito text. */
:root {
    --promo-bg: rgb(31, 31, 31);          /* .shop_container */
    --promo-surface: rgb(35, 35, 35);     /* .shopCell */
    --promo-surface-2: rgb(45, 45, 45);   /* body / checkout card */
    --promo-footer: rgb(25, 25, 25);      /* #atu_footer */
    --promo-text: rgb(220, 220, 220);
    --promo-muted: rgba(255, 255, 255, .6);
    --promo-red: rgb(120, 0, 0);          /* .shopSubTitle bar */
    --promo-red-bright: rgb(190, 0, 5);   /* footer submit */
    --promo-btn: linear-gradient(90deg, rgb(92, 6, 6), rgb(142, 36, 36)); /* .myBuyBtn */
    --promo-radius: 20px;
    --promo-shadow: 3px 5px 9px #0c0c0c;
    --promo-white-wine: #c9b458;
    --promo-rose-wine: #d98a9a;
    --promo-red-wine: #7a1530;
}

.promo { background: var(--promo-bg); color: var(--promo-text); font-family: Nunito, sans-serif; overflow: hidden; }
.promo a { color: inherit; }
.promo-container { width: min(1200px, 100% - 32px); margin: 0 auto; }
.promo-section { padding: 88px 0; }

/* Type */
.promo-eyebrow { font-family: Raleway, sans-serif; letter-spacing: 4px; text-transform: uppercase; font-size: 14px; color: var(--promo-muted); margin: 0 0 16px; }
.promo-title { position: relative; font-family: Raleway, sans-serif; font-size: 40px; font-weight: 400; color: #fff; margin: 0 0 32px; padding-left: 28px; }
.promo-title::before { content: ''; position: absolute; left: 0; top: 8px; width: 5px; height: 40px; background: var(--promo-red); }
.promo-title--sub { font-size: 32px; margin-bottom: 8px; }
.promo-title--sub::before { height: 32px; top: 6px; }
.promo-h2 { font-family: Raleway, sans-serif; font-weight: 700; font-size: 32px; color: #fff; margin: 0 0 16px; line-height: 1.2; }
.promo-h2--xl { font-size: 44px; }
.promo-h3 { font-family: Raleway, sans-serif; font-weight: 600; font-size: 22px; color: #fff; margin: 0 0 16px; }
.promo-lead { font-size: 18px; line-height: 1.6; color: var(--promo-text); margin: 0; }
.promo-lead--center { text-align: center; margin: -12px auto 40px; max-width: 640px; color: var(--promo-muted); }
.promo-note { text-align: center; color: var(--promo-muted); font-style: italic; margin: 24px 0 0; }
.promo-note--left { text-align: left; }

/* Buttons (same gradient pill as the shop's ADD button) */
.promo-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 10px 28px; border: 0; border-radius: 40px; background: var(--promo-btn); color: #fff !important; font-size: 15px; letter-spacing: 2px; text-transform: uppercase; text-decoration: none !important; cursor: pointer; transition: filter .2s ease, transform .2s ease; }
.promo-btn:hover { filter: brightness(1.2); }
.promo-btn:active { transform: translateY(1px); }
.promo-btn:focus-visible, .promo-qty__btn:focus-visible, .promo-qty input:focus-visible, .promo a:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.promo-btn:disabled { opacity: .6; cursor: progress; }
.promo-btn--ghost { background: transparent; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .7); }
.promo-btn--ghost:hover { background: rgba(255, 255, 255, .08); filter: none; }
.promo-btn--small { min-height: 44px; padding: 8px 20px; font-size: 13px; }

/* Hero */
.promo-hero { position: relative; min-height: min(92vh, 900px); display: flex; align-items: flex-end; isolation: isolate; overflow: hidden; }
/* Hero look comes from CSS variables: set by the server from promo_settings, changed live by the staging editor. */
.promo-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2;
    object-position: var(--hero-x, 50%) var(--hero-y, 35%); transform-origin: var(--hero-x, 50%) var(--hero-y, 35%);
    transform: scale(calc(var(--hero-zoom, 1) + var(--hero-blur-n, 0) * .015));
    filter: blur(var(--hero-blur-px, 0px)) brightness(var(--hero-bright, 1));
    transition: filter .25s ease, transform .25s ease, object-position .25s ease; }
.promo-hero.is-dragging .promo-hero__img { transition: none; }
.promo-hero::after { content: ''; position: absolute; inset: 0; z-index: -1; opacity: var(--hero-dark, 1); transition: opacity .25s ease; background: linear-gradient(180deg, rgba(31, 31, 31, .25) 0%, rgba(31, 31, 31, .55) 45%, rgba(60, 4, 4, .92) 78%, var(--promo-bg) 100%); }
.promo-hero__inner { width: min(1200px, 100% - 32px); margin: 0 auto; padding: 160px 0 56px; }
.promo-hero__title { font-family: Raleway, sans-serif; font-weight: 700; font-size: clamp(38px, 6vw, 72px); line-height: 1.08; color: #fff; max-width: 820px; margin: 0 0 32px; }
.promo-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 48px; }
.promo-benefits { list-style: none; margin: 0; padding: 24px 0 0; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; border-top: 1px solid rgba(255, 255, 255, .25); }
.promo-benefits li { padding: 0 24px; border-left: 1px solid rgba(255, 255, 255, .25); }
.promo-benefits li:first-child { padding-left: 0; border-left: 0; }
.promo-benefits strong { display: block; font-family: Raleway, sans-serif; font-size: 36px; font-weight: 700; color: #fff; }
.promo-benefits span { color: var(--promo-text); }

/* "−20% la 20+ sticle" pill under the hero buttons */
.promo-pill { display: inline-block; margin: -24px 0 40px; padding: 8px 18px; border-radius: 40px; background: #f6ead8; color: #3a0d0d; font-family: Raleway, sans-serif; font-weight: 700; font-size: 16px; }

/* "Personalizează cu logoul tău →" text link under the hero buttons */
.promo-link { display: inline-block; margin: -24px 0 32px; color: #fff !important; font-size: 17px; text-decoration: underline !important; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.promo-link span { display: inline-block; margin-left: 6px; transition: transform .2s ease; }
.promo-link:hover span { transform: translateX(4px); }
.promo-link + .promo-pill { display: table; margin-top: 0; }

/* Navbar logo (layout's 70x45 white PNG) larger and readable over the hero photo; promo page only */
#nav_logo { width: 96px; height: auto; filter: drop-shadow(0 2px 10px rgba(0, 0, 0, .7)); }

/* Header cart pill, phones only (the hamburger appears at 770px) */
.promo-navcart, .promo-navcart[hidden] { display: none !important; }
@media (max-width: 770px) {
    .promo-navcart:not([hidden]) { display: inline-flex !important; }
    .promo-navcart { align-items: center; gap: 6px; position: absolute; top: 50%; right: calc(5% + 44px); transform: translateY(-50%); z-index: 2; height: 36px; padding: 0 16px; border-radius: 40px; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .85); background: rgba(0, 0, 0, .25); color: #fff !important; font-family: Raleway, sans-serif; font-weight: 700; font-size: 14px; letter-spacing: 1.5px; text-transform: uppercase; text-decoration: none !important; }
}

/* Personalisation flow (ordered by phone) */
.promo-flow { margin-bottom: 32px; }
.promo-flow__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; margin-bottom: 56px; }
.promo-flow__actions .promo-note { margin: 0; flex: 1 1 280px; }

/* About */
.promo-about { background: var(--promo-footer); }
.promo-about__grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: start; }
.promo-numbers { margin: 0; }
.promo-numbers div { display: grid; grid-template-columns: 170px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.promo-numbers dt { font-family: Raleway, sans-serif; font-weight: 700; font-size: 20px; color: #fff; }
.promo-numbers dd { margin: 0; color: var(--promo-muted); }

/* Discount strip (catalog page footer in the PDF) */
.promo-discount { display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; padding: 20px 32px; margin: 0 0 64px; border-radius: var(--promo-radius); background: linear-gradient(90deg, rgb(92, 6, 6), rgb(120, 0, 0)); }
.promo-discount strong { font-family: Raleway, sans-serif; font-size: 48px; font-weight: 700; color: #fff; line-height: 1; }
.promo-discount p { margin: 0; color: #fff; }
.promo-discount small { color: rgba(255, 255, 255, .75); text-align: right; max-width: 220px; }

/* Collections & wine cards */
.promo-collection { margin-bottom: 72px; }
.promo-collection__head p { color: var(--promo-muted); font-style: italic; max-width: 640px; margin: 0 0 32px 28px; }
.promo-wines { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.promo-wine { display: grid; grid-template-columns: 160px 1fr; gap: 24px; padding: 28px; border-radius: var(--promo-radius); background: var(--promo-surface); filter: drop-shadow(var(--promo-shadow)); }
.promo-wine__media { position: relative; display: flex; align-items: center; justify-content: center; min-height: 300px; }
.promo-wine__media::before { content: ''; position: absolute; width: 150px; height: 150px; top: 18%; border-radius: 50%; background: var(--promo-red); }
.promo-wine__media img { position: relative; max-height: 300px; max-width: 100%; object-fit: contain; filter: drop-shadow(1px 20px 27px #000); }
.promo-wine__body { display: flex; flex-direction: column; }
.promo-wine__name { font-family: Raleway, sans-serif; font-weight: 700; font-size: 24px; color: #fff; margin: 0 0 6px; }
.promo-wine__type { display: flex; align-items: center; gap: 8px; color: var(--promo-muted); font-weight: 700; margin: 0 0 14px; }
.promo-dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.promo-dot--white { background: var(--promo-white-wine); }
.promo-dot--rose { background: var(--promo-rose-wine); }
.promo-dot--red { background: var(--promo-red-wine); box-shadow: 0 0 0 1px rgba(255, 255, 255, .35); }
.promo-dot--sparkling { background: transparent; box-shadow: inset 0 0 0 2px var(--promo-white-wine); }
.promo-wine__details { font-size: 14px; font-weight: 700; color: var(--promo-muted); margin: 0 0 6px; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, .1); }
.promo-wine__aroma { margin: 0 0 10px; }
.promo-wine__pairing { font-style: italic; color: var(--promo-muted); margin: 0 0 16px; }
.promo-wine__buy { margin-top: auto; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .1); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.promo-price { margin: 0; font-family: Raleway, sans-serif; font-size: 24px; font-weight: 700; color: #fff; white-space: nowrap; }
.promo-price span, .promo-price small { font-size: 15px; font-weight: 400; color: var(--promo-muted); }
.promo-price s { font-size: 16px; color: var(--promo-muted); margin-right: 4px; }
.promo-soldout { margin: 0; color: var(--promo-muted); }

.promo-add { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.promo-qty { display: inline-flex; align-items: center; height: 44px; border-radius: 40px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3); }
.promo-qty__btn { width: 40px; height: 44px; border: 0; background: transparent; color: #fff; font-size: 20px; cursor: pointer; border-radius: 40px; }
.promo-qty input { width: 48px; height: 44px; border: 0; background: transparent; color: #fff; text-align: center; font-size: 16px; -moz-appearance: textfield; }
.promo-qty input::-webkit-outer-spin-button, .promo-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* Gift sets */
.promo-sets { background: var(--promo-footer); }
.promo-sets__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.promo-set { display: flex; flex-direction: column; border-radius: var(--promo-radius); overflow: hidden; background: var(--promo-surface); filter: drop-shadow(var(--promo-shadow)); }
.promo-set img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; object-position: center 30%; }
.promo-set__body { display: flex; flex-direction: column; gap: 12px; padding: 24px 28px 28px; flex: 1; }
.promo-set__body > p { margin: 0 0 4px; color: var(--promo-text); }
.promo-set__body .promo-add, .promo-set__body > .promo-btn { margin-top: auto; align-self: flex-start; }
.promo-set__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.promo-set__head h3 { font-family: Raleway, sans-serif; font-weight: 700; font-size: 22px; color: #fff; margin: 0; }

.promo-custom { padding: 72px 0; background: linear-gradient(180deg, rgb(40, 18, 22), rgb(31, 31, 31)); text-align: center; }
.promo-custom .promo-h2 { margin-bottom: 40px; }
.promo-custom__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }

/* Numbered steps (catalog "Creează-ți propriul set" and "Cum comanzi") */
.promo-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 24px; text-align: left; }
.promo-steps--3 { grid-template-columns: repeat(3, 1fr); }
.promo-steps--4 { grid-template-columns: repeat(4, 1fr); }
.promo-steps li { padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .3); }
.promo-steps__n { display: block; font-family: Raleway, sans-serif; font-size: 32px; font-weight: 700; color: var(--promo-rose-wine); line-height: 1; margin-bottom: 12px; }
.promo-steps strong { display: block; color: #fff; font-size: 18px; margin-bottom: 4px; }
.promo-steps p { margin: 0; color: var(--promo-muted); }

/* Personalisation */
.promo-perso__head { display: flex; justify-content: space-between; align-items: center; gap: 32px; margin-bottom: 40px; }
.promo-badge { flex: none; width: 190px; height: 190px; margin: 0; border-radius: 50%; background: var(--promo-red); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 24px; transform: rotate(-8deg); color: #fff; }
.promo-badge strong { font-family: Raleway, sans-serif; font-size: 30px; }
.promo-badge span { font-size: 15px; line-height: 1.3; }
.promo-perso__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: start; }
.promo-perso__img { margin: 0; border-radius: var(--promo-radius); overflow: hidden; background: #fff; }
.promo-perso__img img { width: 100%; height: auto; display: block; }
.promo-case { border-left: 4px solid var(--promo-red); padding: 4px 0 4px 20px; margin-bottom: 32px; }
.promo-case h3 { font-family: Raleway, sans-serif; font-size: 20px; font-weight: 700; color: #fff; margin: 0 0 8px; }
.promo-case p { margin: 0 0 6px; }
.promo-what { list-style: none; margin: 0; padding: 0; }
.promo-what li { padding: 14px 0; border-top: 1px solid rgba(255, 255, 255, .15); }
.promo-what strong { display: block; color: #fff; font-size: 17px; }
.promo-what span { color: var(--promo-muted); }

/* Contact */
.promo-contact { background: rgb(32, 20, 24); padding: 48px 0 120px; }
.promo-contact__grid { display: grid; grid-template-columns: auto 1fr 1fr; gap: 48px; align-items: center; }
.promo-contact__grid img { height: auto; }
.promo-contact__grid a, .promo-contact__grid p { display: block; margin: 0 0 6px; color: var(--promo-text); text-decoration: none; }
.promo-contact__grid a:hover { color: #fff; text-decoration: underline; }
.promo-contact__grid p a { display: inline; }
.promo-contact__phone { font-family: Raleway, sans-serif; font-size: 30px; font-weight: 700; color: #fff !important; }

/* Sticky cart bar */
.promo-cartbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30000; background: rgba(25, 25, 25, .96); border-top: 1px solid rgba(255, 255, 255, .12); transform: translateY(110%); visibility: hidden; transition: transform .35s ease, visibility 0s linear .35s; }
.promo-cartbar.is-visible { transform: none; visibility: visible; transition: transform .35s ease; }
.promo-cartbar__inner { width: min(1200px, 100% - 32px); margin: 0 auto; padding: 12px 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.promo-cartbar__text { flex: 1; min-width: 0; }
.promo-cartbar__text strong { color: #fff; margin-right: 12px; }
.promo-cartbar__text span { color: var(--promo-muted); }
.promo-cartbar__track { height: 4px; margin-top: 8px; border-radius: 4px; background: rgba(255, 255, 255, .12); overflow: hidden; }
.promo-cartbar__track span { display: block; height: 100%; width: 0; background: var(--promo-red-bright); transition: width .35s ease; }

/* Tablet */
@media (max-width: 991px) {
    .promo-section { padding: 64px 0; }
    .promo-wines, .promo-sets__grid { grid-template-columns: 1fr; }
    .promo-about__grid, .promo-perso__grid { grid-template-columns: 1fr; gap: 40px; }
    .promo-steps--4 { grid-template-columns: repeat(2, 1fr); }
    .promo-contact__grid { grid-template-columns: 1fr 1fr; }
    .promo-contact__grid img { grid-column: 1 / -1; }
}

/* Phone */
@media (max-width: 575px) {
    .promo-title { font-size: 30px; padding-left: 20px; }
    .promo-title::before { height: 30px; top: 6px; }
    .promo-title--sub { font-size: 26px; }
    .promo-h2, .promo-h2--xl { font-size: 28px; }
    /* Phone hero like the client's reference: text on top, the gift boxes visible below */
    .promo-desktop-only { display: none !important; }
    .promo-hero { min-height: 100svh; align-items: flex-start; }
    .promo-hero__img { object-position: var(--hero-x, 50%) var(--hero-y, 100%); transform-origin: var(--hero-x, 50%) var(--hero-y, 100%); }
    .promo-hero::after { background: linear-gradient(180deg, rgba(15, 10, 10, .78) 0%, rgba(15, 10, 10, .45) 40%, rgba(15, 10, 10, 0) 58%, rgba(15, 10, 10, 0) 90%, var(--promo-bg) 100%); }
    .promo-hero__inner { padding: 96px 0 32px; }
    .promo-eyebrow { font-size: 13px; letter-spacing: 3px; margin-bottom: 12px; }
    .promo-hero__title { font-size: 30px; line-height: 1.15; margin-bottom: 24px; text-shadow: 0 2px 12px rgba(0, 0, 0, .5); }
    .promo-hero__actions { flex-wrap: nowrap; gap: 10px; margin-bottom: 40px; }
    .promo-hero__actions .promo-btn { flex: 1 1 0; min-width: 0; padding: 10px 12px; font-size: 13px; letter-spacing: 1.5px; }
    .promo-link { margin: -20px 0 22px; font-size: 15px; }
    .promo-pill { margin: -16px 0 0; font-size: 15px; }
    .menu-icon, .menu-icon i { color: #fff !important; }
    #nav_logo { width: 84px; }
    .promo-wine__pairing { display: none; }
    .promo-add { width: 100%; flex-wrap: nowrap; }
    .promo-add .promo-btn { flex: 1; }
    .promo-set__body .promo-add { align-self: stretch; }
    .promo-flow__actions .promo-btn { width: 100%; }
    .promo-benefits { grid-template-columns: 1fr; gap: 16px; }
    .promo-benefits li, .promo-benefits li:first-child { padding: 0 0 16px; border-left: 0; border-bottom: 1px solid rgba(255, 255, 255, .15); }
    .promo-benefits strong { font-size: 30px; }
    .promo-numbers div { grid-template-columns: 1fr; gap: 2px; }
    .promo-discount { grid-template-columns: 1fr; gap: 8px; padding: 20px; }
    .promo-discount small { text-align: left; max-width: none; }
    .promo-collection__head p { margin-left: 20px; }
    .promo-wine { grid-template-columns: 1fr; padding: 20px; }
    .promo-wine__media { min-height: 240px; }
    .promo-wine__media img { max-height: 240px; }
    .promo-steps--3, .promo-steps--4 { grid-template-columns: 1fr; }
    .promo-perso__head { flex-direction: column; align-items: flex-start; }
    .promo-badge { width: 150px; height: 150px; align-self: flex-end; margin-top: -8px; }
    .promo-badge strong { font-size: 24px; }
    .promo-badge span { font-size: 13px; }
    .promo-set__head { flex-direction: column; gap: 4px; }
    .promo-contact__grid { grid-template-columns: 1fr; gap: 24px; }
    .promo-cartbar__inner { flex-direction: column; align-items: stretch; gap: 8px; }
    .promo-cartbar__inner .promo-btn { width: 100%; }
}

/* The original site animates with AOS; respect the OS "reduce motion" setting here. */
@media (prefers-reduced-motion: reduce) {
    .promo [data-aos] { opacity: 1 !important; transform: none !important; transition: none !important; }
    .promo-cartbar, .promo-cartbar__track span, .promo-btn { transition: none; }
}

.hero-chooser { background: #292322; color: #fff; padding: 24px 0; }
.hero-chooser h2 { margin: 0; font: 600 24px Raleway, sans-serif; }
.hero-chooser__slides { display: flex; align-items: center; gap: 16px; margin: 16px 0; }
.hero-chooser button:disabled { opacity: .65; cursor: default; }
@media (min-width: 576px) {
    .promo-hero:not([data-hero="original"])::after {
        background: linear-gradient(90deg, rgba(24,14,14,.72), rgba(24,14,14,.04) 74%),
                    linear-gradient(0deg, var(--promo-bg), transparent 12%);
    }
}

/* ---------- Staging-only hero editor (video-player style) ---------- */
.promo-hero__inner { transition: opacity .2s ease; }
.hero-editor { position: absolute; inset: 0; z-index: 20; pointer-events: none; color: #fff; font-family: Nunito, sans-serif; }
.hero-editor > * { pointer-events: auto; }
.hero-editor svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.hero-editor button { font-family: inherit; }
.hero-editor__hint { position: absolute; top: 76px; right: 16px; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px 0 12px; border: 0; border-radius: 40px; background: rgba(0, 0, 0, .55); backdrop-filter: blur(6px); color: #fff; font-size: 13px; font-weight: 700; letter-spacing: .5px; cursor: pointer; opacity: 0; transform: translateY(-4px); transition: opacity .2s ease, transform .2s ease, background .15s ease; }
.hero-editor__hint:hover { background: rgba(0, 0, 0, .75); }
.promo-hero:hover .hero-editor__hint, .hero-editor__hint:focus-visible { opacity: 1; transform: none; }
.hero-editor__dot { display: none; width: 8px; height: 8px; border-radius: 50%; background: #ffb300; }
.hero-editor.is-dirty .hero-editor__dot { display: inline-block; }
.promo-hero.is-editing .hero-editor__hint { display: none; }

.hero-editor__surface, .hero-editor__top, .hero-editor__nav, .hero-editor__bar, .hero-editor__flash { display: none; }
.promo-hero.is-editing .promo-hero__inner { opacity: .12; pointer-events: none; }
.promo-hero.is-editing .hero-editor__surface { display: block; position: absolute; inset: 0; cursor: grab; touch-action: none; background: linear-gradient(180deg, rgba(0, 0, 0, .5) 0, rgba(0, 0, 0, 0) 24%, rgba(0, 0, 0, 0) 52%, rgba(0, 0, 0, .8) 100%); }
.promo-hero.is-dragging .hero-editor__surface { cursor: grabbing; }

.promo-hero.is-editing .hero-editor__top { display: flex; position: absolute; top: 72px; left: 20px; right: 20px; align-items: center; gap: 14px; }
.hero-editor__title { font-family: Raleway, sans-serif; font-weight: 700; font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; text-shadow: 0 1px 4px rgba(0, 0, 0, .6); }
.hero-editor__status { margin-right: auto; font-size: 13px; color: rgba(255, 255, 255, .75); }
.hero-editor.is-dirty .hero-editor__status { color: #ffcc66; }

.hero-editor__icon { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: #fff; cursor: pointer; transition: background .15s ease, opacity .15s ease; }
.hero-editor__icon:hover:not(:disabled) { background: rgba(255, 255, 255, .16); }
.hero-editor__icon:disabled { opacity: .35; cursor: default; }
.hero-editor__top .hero-editor__icon svg { width: 24px; height: 24px; }

.promo-hero.is-editing .hero-editor__nav { display: inline-flex; position: absolute; top: 50%; align-items: center; justify-content: center; width: 64px; height: 64px; padding: 0; border: 0; border-radius: 50%; background: rgba(0, 0, 0, .42); color: #fff; cursor: pointer; transform: translateY(-50%); transition: background .15s ease, transform .15s ease; }
.hero-editor__nav svg { width: 34px; height: 34px; stroke-width: 2.4; }
.hero-editor__nav--prev { left: 20px; }
.hero-editor__nav--next { right: 20px; }
.hero-editor__nav:hover { background: rgba(0, 0, 0, .68); }
.hero-editor__nav:active { transform: translateY(-50%) scale(.92); }

.promo-hero.is-editing .hero-editor__flash { display: block; position: absolute; top: 50%; left: 50%; padding: 14px 26px; border-radius: 40px; background: rgba(0, 0, 0, .62); font-family: Raleway, sans-serif; font-weight: 700; font-size: 18px; white-space: nowrap; opacity: 0; pointer-events: none; transform: translate(-50%, -50%) scale(.94); transition: opacity .2s ease, transform .2s ease; }
.hero-editor__flash.is-on { opacity: 1; transform: translate(-50%, -50%) scale(1); }

.promo-hero.is-editing .hero-editor__bar { display: flex; flex-direction: column; gap: 12px; position: absolute; left: 0; right: 0; bottom: 0; padding: 16px 20px 18px; }
.hero-editor__thumbs { display: flex; gap: 10px; overflow-x: auto; padding: 3px; scrollbar-width: none; }
.hero-editor__thumbs::-webkit-scrollbar { display: none; }
.hero-editor__thumb { position: relative; flex: none; width: 96px; height: 60px; padding: 0; border: 0; border-radius: 10px; overflow: hidden; background: #222; cursor: pointer; box-shadow: 0 0 0 2px rgba(255, 255, 255, .25); transition: box-shadow .15s ease, transform .15s ease; }
.hero-editor__thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero-editor__thumb span { position: absolute; left: 0; right: 0; bottom: 0; padding: 2px 6px; background: linear-gradient(0deg, rgba(0, 0, 0, .85), rgba(0, 0, 0, 0)); color: #fff; font-size: 10px; font-weight: 700; text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hero-editor__thumb:hover { transform: translateY(-2px); }
.hero-editor__thumb.is-active { box-shadow: 0 0 0 3px #fff; }

.hero-editor__controls { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; }
.hero-editor__ctl { display: inline-flex; align-items: center; gap: 8px; margin: 0; color: #fff; font-size: 12px; font-weight: 400; }
.hero-editor__ctl input[type="range"] { width: 110px; margin: 0; accent-color: #fff; cursor: pointer; }
.hero-editor__ctl output { min-width: 40px; color: rgba(255, 255, 255, .8); font-variant-numeric: tabular-nums; }
.hero-editor__tools { display: inline-flex; gap: 2px; }
.hero-editor__publish { display: inline-flex; align-items: center; gap: 8px; height: 40px; margin-left: auto; padding: 0 20px; border: 0; border-radius: 40px; background: #fff; color: #5c0606; font-size: 13px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; cursor: pointer; transition: background .15s ease, color .15s ease; }
.hero-editor__publish:disabled { background: rgba(255, 255, 255, .22); color: rgba(255, 255, 255, .7); cursor: default; }
.hero-editor__tip { margin: 0; color: rgba(255, 255, 255, .6); font-size: 11px; }
.hero-editor__icon:focus-visible, .hero-editor__nav:focus-visible, .hero-editor__thumb:focus-visible, .hero-editor__publish:focus-visible, .hero-editor__hint:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

@media (hover: none) { .hero-editor__hint { opacity: 1; transform: none; } }
@media (max-width: 575px) {
    .hero-editor__hint { top: 64px; right: 12px; height: 36px; font-size: 12px; }
    .promo-hero.is-editing .hero-editor__top { top: 60px; left: 12px; right: 12px; }
    .hero-editor__title { display: none; }
    .promo-hero.is-editing .hero-editor__nav { width: 48px; height: 48px; }
    .hero-editor__nav svg { width: 26px; height: 26px; }
    .hero-editor__nav--prev { left: 8px; }
    .hero-editor__nav--next { right: 8px; }
    .promo-hero.is-editing .hero-editor__bar { gap: 10px; padding: 12px 12px 14px; }
    .hero-editor__thumb { width: 72px; height: 48px; }
    .hero-editor__controls { gap: 8px 12px; }
    .hero-editor__ctl input[type="range"] { width: calc(50vw - 64px); }
    .hero-editor__ctl output { display: none; }
    .hero-editor__publish { width: 100%; justify-content: center; margin-left: 0; }
    .hero-editor__tip { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    .promo-hero__img, .promo-hero::after, .hero-editor__flash, .hero-editor__hint, .promo-hero__inner { transition: none; }
}

/* Promo page header: always the dark look (white logo, white menu icon, COȘ pill).
   navscript.js turns the nav white on scroll with inline styles; these rules win over them.
   After scrolling the bar gets a dark translucent background so it stays readable. */
nav { background-color: transparent !important; box-shadow: none !important; transition: background-color .25s ease, box-shadow .25s ease; }
nav.promo-nav-scrolled { background-color: rgba(18, 13, 13, .86) !important; box-shadow: 0 2px 14px rgba(0, 0, 0, .55) !important; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
#nav_logo { content: url("/img/images/logo_atu_white.png"); }
.menu-icon, .menu-icon i { color: #fff !important; }
@media (min-width: 771px) { nav ul li .aa:not(:hover) { color: rgb(231, 231, 231) !important; } }
