/* =========================================================
   Art Magic – vzhľad od verzie 1.0.50 (výber klientky)
   Farba #AF9E92 + neutrálne, písmo Jost (ako Green Apple), hlavné nadpisy veľkými
   písmenami, hranaté rohy. Súbor sa načítava ako posledný, preto môže upraviť
   farebné prvky z ostatných súborov témy. Samotné farby sú v premenných v main.css.
   ========================================================= */

/* ---------- Elementor: globálne farby a písma ukazujú na nové hodnoty
   (prvky, ktorým bola v Elementore nastavená globálna farba alebo písmo) ---------- */
body[class*="elementor-kit-"]{
  --e-global-color-primary:var(--am-acc);--e-global-color-secondary:var(--am-acc-d);
  --e-global-color-text:var(--am-ink);--e-global-color-accent:var(--am-acc-l2);
  --e-global-typography-primary-font-family:"Jost";--e-global-typography-secondary-font-family:"Jost";
  --e-global-typography-text-font-family:"Jost";--e-global-typography-accent-font-family:"Jost";   /* „accent“ používa Elementor pre tlačidlá; ručne písané poznámky majú Caveat cez triedu am-hand */
  font-family:var(--am-ft)
}
:focus-visible{outline-color:var(--am-acc-d)}

/* ---------- písmo a nadpisy ----------
   Od 1.0.76 bez !important a s prioritou nižšou ako nastavenia jednotlivých widgetov v Elementore:
   téma určuje predvolený vzhľad, ale v Elementore sa dá pri widgete zmeniť veľkosť, hrúbka,
   farba, zarovnanie aj písmo (nastavenie widgetu má vždy prednosť). */
[class*="elementor-kit-"] :is(h1,h2,h3,h4,h5,h6):not(.am-hand):not(.am-hand *),
.elementor .elementor-button{font-family:var(--am-f)}
[class*="elementor-kit-"] :is(p,li,input,textarea,select,label,td,th){font-family:var(--am-ft)}
/* veľké nadpisy tenké (Jost Light) a kapitálkami, menšie nadpisy stredne hrubé (Jost Medium) */
[class*="elementor-kit-"] :is(h1,h2):not(.am-hand):not(.am-hand *),
.elementor :is(h1,h2).elementor-heading-title:not(.am-hand *){font-weight:300;text-transform:uppercase;letter-spacing:.05em;line-height:1.15}
[class*="elementor-kit-"] :is(h3,h4):not(.am-hand):not(.am-hand *),
.elementor :is(h3,h4,h5,h6).elementor-heading-title:not(.am-hand *){font-weight:500;letter-spacing:-.005em}
:is(h1,h2) :is(.am-hl,em,strong,span):not(.am-hand){text-transform:inherit}
/* karty kurzov a obrazov (nie sú to widgety Elementoru) */
:is(.am-ev__title,.am-ev__d,.am-ev__price,.woocommerce-loop-product__title,.am-gift__card .v):not(.am-hand){font-weight:500!important;letter-spacing:-.005em!important}
:is(.am-btn,.button,.am-ev__title,.woocommerce-loop-product__title):not(.am-hand):not(.elementor-button){font-family:var(--am-f)!important}

/* názov na detaile kurzu a obrazu ako na Green Apple: menší, kapitálky, Jost Medium */
.single-product .am-kd__body h1.elementor-heading-title{
  font-size:clamp(30px,1.6vw + 22px,44px);font-weight:500;line-height:1.2;letter-spacing:.04em
}
/* úvodná stránka: hlavný nadpis v hero na mobile menší, aby bol na 2 riadky („KURZY MAĽOVANIA / V BRATISLAVE“) */
@media (max-width:900px){
  .elementor .am-hero__title :is(h1,h2){font-size:clamp(26px,7.4vw,38px)}
}
/* odkaz „Zobraziť košík“, ktorý WooCommerce pridáva vedľa tlačidla – potvrdenie je pod tlačidlom */
.single-product .am-kd__cart .added_to_cart{display:none!important}

/* ---------- hranaté rohy: tlačidlá, fotky, karty, boxy, polia formulárov bez zaoblenia.
   Okrúhle ostávajú len kruhy: ikonky sociálnych sietí, bodky karuselu, čísla krokov,
   počet v košíku, šípky galérie. ---------- */
*:not(.elementor-social-icon):not(.am-dots span):not(.am-step__n):not(.am-step__n *):not(.am-odst__steps li):not(.elementor-button-icon-qty):not(.am-th-btn):not(.am-kar-btn):not(.am-btn-load i):not(.cky-switch *):not(.cky-btn-revisit-wrapper):not(.cky-btn-revisit-wrapper *):not(.avatar):not(input[type="radio"]):not(.mdj-sig *),
*:not(.elementor-social-icon):not(.am-dots span):not(.am-step__n):not(.am-step__n *):not(.am-odst__steps li):not(.elementor-button-icon-qty):not(.am-th-btn):not(.am-kar-btn):not(.am-btn-load i):not(.cky-switch *):not(.cky-btn-revisit-wrapper):not(.cky-btn-revisit-wrapper *):not(.avatar):not(input[type="radio"]):not(.mdj-sig *)::before,
*:not(.elementor-social-icon):not(.am-dots span):not(.am-step__n):not(.am-step__n *):not(.am-odst__steps li):not(.elementor-button-icon-qty):not(.am-th-btn):not(.am-kar-btn):not(.am-btn-load i):not(.cky-switch *):not(.cky-btn-revisit-wrapper):not(.cky-btn-revisit-wrapper *):not(.avatar):not(input[type="radio"]):not(.mdj-sig *)::after{border-radius:0!important}

/* prvky s ID v selektore (vyššia priorita ako pravidlo vyššie) – tiež hranaté */
body .am-checkout #place_order,.am-checkout #order_review_heading,.am-checkout #order_review{border-radius:0!important}

/* ---------- plávajúca karta „Najbližší kurz“ v hero: jemný okraj a tieň, aby nesplývala s pozadím ---------- */
.am-next{border:1px solid rgba(29,26,34,.14)!important;box-shadow:0 2px 6px rgba(29,26,34,.08),0 20px 40px -16px rgba(29,26,34,.5)!important}

/* ---------- podčiarknutie štetcom v nadpise a ťahy štetcom v pásoch: farba palety ---------- */
.am-hl::after{background:var(--am-acc-l2)!important;-webkit-mask:var(--am-stroke) center/100% 100% no-repeat;mask:var(--am-stroke) center/100% 100% no-repeat}
.am-band.am-steps::before{background:var(--am-acc)!important;-webkit-mask:var(--am-stroke) center/contain no-repeat;mask:var(--am-stroke) center/contain no-repeat;opacity:.12!important}
.am-band.am-priv::before{background:#fff!important;-webkit-mask:var(--am-stroke) center/contain no-repeat;mask:var(--am-stroke) center/contain no-repeat}
.am-gift{background-image:none!important}
.am-gift p:not(.am-gift__card p),
.am-priv p{color:rgba(255,255,255,.82)}

/* ---------- filtre: bez farebných bodiek ---------- */
.am-chip i{display:none!important}
.am-chip{padding-left:18px!important}

/* ---------- karty kurzov: štítok náročnosti jednotne biely ---------- */
.am-lv{background:#fff!important;color:var(--am-ink)!important}

/* ---------- kroky „Ako to prebieha“: všetky čísla v hlavnej farbe ---------- */
.am-step:nth-child(n) .am-step__n{background:var(--am-acc)!important}

/* ---------- detail kurzu a obrazu ---------- */
.am-kinfo li .am-kinfo__ico{background:var(--am-acc-l)!important;color:var(--am-acc)!important}
.am-kd__buy{background:#FBFAF8!important;border-color:rgba(29,26,34,.09)!important}
.am-kd__note p::before{color:var(--am-acc)}
.am-box--pink{background:var(--am-soft)!important}
.am-box__list svg{fill:var(--am-acc)!important}
.am-box__list i{color:var(--am-acc)!important}

/* ---------- stránka poukazu ---------- */
.am-pk-occ{background:var(--am-acc-l)!important;border-color:rgba(29,26,34,.08)!important}
.am-occ2--light .am-occ2__ico{background:#fff!important;color:var(--am-acc)!important}
.am-pk-step:nth-child(2) .am-pk-step__n :is(div,h2,h3,p,span){color:var(--am-ink)!important}
.am-pk-step:nth-child(3) .am-pk-step__n :is(div,h2,h3,p,span){background:var(--am-acc-l)!important}

/* ---------- úvodná stránka: príležitosti, recenzie, o nás ---------- */
.am-occ2__label{color:rgba(255,255,255,.7)}
.am-occ2__ico{color:var(--am-acc-l2)!important}
.am-rev--big{background:var(--am-acc-l)}
.am-revs>.am-rev .am-rev__body::before{color:var(--am-acc)!important;opacity:.28!important}
.am-rev__src[class*="am-rev__src--"]{background:#F3F1F4}
.am-ab-tag :is(p,div,h2,h3,span){color:var(--am-ink)!important}

/* ---------- podstránky ---------- */
.am-promo::after{background:linear-gradient(180deg,rgba(20,18,24,.05) 0%,rgba(20,18,24,.55) 45%,rgba(20,18,24,.9) 100%)!important}
.am-ct__card,
.am-autor{background:#FBFAF8!important;border-color:rgba(29,26,34,.09)!important}

/* ---------- košík a pokladňa (iba farby) ---------- */
.am-checkout #order_review_heading,
.am-checkout #order_review,
.am-checkout :is(.woocommerce-order-details,.woocommerce-customer-details),
.am-cart .cart_totals{background:#FBFAF8!important;border-color:rgba(29,26,34,.09)!important}
.elementor-menu-cart__product-remove:hover,
.am-cart td.product-remove a.remove:hover{background:var(--am-acc-l)!important}
body :is(.woocommerce-message,.woocommerce-info,.woocommerce-error)::before{color:var(--am-acc)!important}
body .woocommerce-info{background:var(--am-soft)}

/* ---------- päta ---------- */
.amf{background:linear-gradient(160deg,var(--am-acc-d) 0%,var(--am-acc-deep) 100%)!important;color:rgba(255,255,255,.88)}
.amf__lead :is(p,div),
.amf__claim :is(p,div){color:rgba(255,255,255,.78)!important}
.amf__links a,
.amf__links span{color:rgba(255,255,255,.88)!important}
.amf__bot :is(p,div){color:rgba(255,255,255,.65)!important}
.amf__bot a{color:rgba(255,255,255,.88)!important}
body .amf__btn-line .elementor-button:hover{color:var(--am-acc-deep)!important}

/* ---------- ťahy štetcom: všade jednofarebne v tónoch hlavnej farby (motív maľovania ostáva, nekričí) ---------- */
.am-hero__media::after,
.am-gift__card::after,
.am-kd__img::after,
.am-pk-occ::after,
.am-pagehead::after,
.am-ab-photo::after,
.am-oc::after{
  background:var(--am-acc)!important;
  -webkit-mask:var(--am-stroke) center/contain no-repeat!important;mask:var(--am-stroke) center/contain no-repeat!important
}
.am-hero__media::after,.am-kd__img::after,.am-ab-photo::after{opacity:.55!important}
.am-gift__card::after{opacity:.5!important}
.am-pk-occ::after,.am-oc::after{opacity:.3!important}
.am-pagehead::after{opacity:.25!important}
/* päta má tmavé pozadie – ťah vo svetlom tóne */
.amf::after{
  background:var(--am-acc-l2)!important;opacity:.14!important;
  -webkit-mask:var(--am-stroke) center/contain no-repeat!important;mask:var(--am-stroke) center/contain no-repeat!important
}

/* =========================================================
   Päta – nový vzhľad (od 1.1.3)
   Tmavé teplé pozadie (kontrast textu AA), veľký nadpis výzvy ako nadpisy na webe,
   vodorovné svetlé logo, výraznejší kontakt, jemné oddelenia.
   ========================================================= */
body .amf{background:var(--am-acc-deep)!important;color:#F3EFEC}   /* rovnaká farba ako sekcia Oslava alebo teambuilding */
body .amf::after{opacity:.1!important;right:-120px!important;bottom:-170px!important}
body .amf__in{max-width:1240px!important;padding:clamp(64px,8vw,104px) var(--am-pad) 28px!important}

/* výzva */
body .amf__cta{align-items:flex-end;gap:28px 40px;padding-bottom:clamp(44px,5.5vw,64px)!important;border-bottom:1px solid rgba(243,239,236,.18)}
body.elementor-kit-6 .amf__title :is(h1,h2,h3),
body .elementor .amf__title :is(h1,h2,h3){font-family:var(--am-f);font-size:clamp(34px,4.6vw,60px)!important;font-weight:300!important;line-height:1.02!important;letter-spacing:.01em!important;text-transform:uppercase;color:#fff!important;margin:0}
body .elementor .amf__lead :is(p,div){margin:14px 0 0;font-size:17px;line-height:1.55;color:rgba(243,239,236,.86)!important}
body .amf__btns{gap:12px}
body .amf__btn-line .elementor-button{background:transparent!important;color:#fff!important;box-shadow:inset 0 0 0 1.5px rgba(243,239,236,.55)!important}
body .amf__btn-line .elementor-button:hover{background:#F3EFEC!important;color:#221E1B!important}

/* stĺpce */
body .amf__grid{grid-template-columns:minmax(0,1.55fr) minmax(0,1fr) minmax(0,1.1fr) minmax(0,1.25fr);gap:clamp(32px,4.5vw,64px);padding-top:clamp(44px,5.5vw,64px)!important}
body .amf__logo img{width:min(176px,100%)!important;height:auto}   /* okrúhle logo klientky (svetlá verzia) */
body .elementor .amf__claim :is(p,div){margin:20px 0 22px;font-size:15px;line-height:1.65;color:rgba(243,239,236,.84)!important;max-width:24em;text-align:left}
body .amf__soc a{width:42px!important;height:42px!important;background:transparent!important;box-shadow:inset 0 0 0 1px rgba(243,239,236,.25);color:#F3EFEC!important}
body .amf__soc a:hover{background:var(--am-acc)!important;box-shadow:none;color:#fff!important}
body .amf__soc svg{width:17px!important;height:17px!important}
body .elementor .amf__h :is(h2,h3,h4,h5),
body .elementor .amf__h :is(h2,h3,h4,h5) a{margin:0 0 20px;font-family:var(--am-ft);font-size:12px!important;font-weight:600!important;letter-spacing:.18em!important;text-transform:uppercase;color:#E7E2DE!important;text-decoration:none}
body .amf__links li{margin:0 0 12px!important}
body .amf__links a,body .amf__links span{font-size:15.5px!important;color:rgba(243,239,236,.92)!important;text-decoration:none;transition:color .2s}
body .amf__links a:hover,body .amf__links a:hover span{color:#fff!important;text-decoration:underline;text-decoration-color:var(--am-acc);text-underline-offset:5px;text-decoration-thickness:1px}
/* kontakt výraznejšie – hlavný spôsob, ako sa ozvať */
body .amf__contact .amf__links a,body .amf__contact .amf__links span{font-size:18px!important;font-weight:500;color:#fff!important}
body .amf__contact .amf__links li{margin:0 0 14px!important}
body .amf__links svg{width:16px!important;height:16px!important;fill:#E7E2DE!important}

/* spodný riadok */
body .amf__bot{margin-top:clamp(44px,5.5vw,64px)!important;padding-top:22px!important;border-top:1px solid rgba(243,239,236,.18)}
body .elementor .amf__bot :is(p,div){font-size:13px;color:rgba(243,239,236,.8)!important}
body .amf__bot .mdj-sig{color:rgba(243,239,236,.8)!important}

@media (max-width:900px){
  body .amf__grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  body .amf__brand{grid-column:1/-1;flex-direction:column!important;align-items:flex-start}
  body .amf__contact{grid-column:1/-1}
}
@media (max-width:600px){
  /* mobil: všetko na stred */
  body .amf__cta{align-items:stretch;text-align:center}
  body .amf__btns{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:10px}
  body .amf__btns .elementor-button{width:100%;justify-content:center}
  body.elementor-kit-6 .amf__title :is(h1,h2,h3),
  body .elementor .amf__title :is(h1,h2,h3){font-size:34px!important}
  body .amf__grid{grid-template-columns:repeat(2,minmax(0,1fr));text-align:center;row-gap:40px}
  body .amf__brand{grid-column:1/-1;align-items:center!important;justify-content:center;gap:0!important}
  body .amf__logo img{margin:0 auto!important;width:150px!important}
  body .elementor .amf__claim :is(p,div){text-align:center!important;margin:18px auto 20px!important;max-width:20em}
  body .amf__soc :is(.elementor-social-icons-wrapper,.elementor-grid){justify-content:center!important}
  body .amf__contact{grid-column:1/-1}
  body .amf__links li,body .amf__links a{justify-content:center}
  body .amf__bot{flex-direction:column!important;align-items:center;text-align:center;gap:10px}
}
}

/* tlačidlo na zmenu súhlasu (CookieYes) vo farbe webu so svetlým okrajom – viditeľné na bielom aj na tmavej päte */
body .cky-btn-revisit-wrapper{background:var(--am-acc)!important;box-shadow:0 0 0 2px rgba(255,255,255,.85),0 8px 20px -8px rgba(29,26,34,.5)!important}
body .cky-btn-revisit-wrapper:hover{background:var(--am-acc-d)!important}

/* =========================================================
   Mobilné menu (Off-Canvas): položky rovnakým štýlom ako nadpisy webu –
   Jost 400, kapitálky (predtým Jost 750, pôsobil ako iné písmo; 300 bol príliš tenký)
   ========================================================= */
.elementor .am-oc__nav a.elementor-item{font-family:var(--am-ft,"Jost"),system-ui,sans-serif!important;font-size:clamp(23px,6.2vw,28px)!important;font-weight:400!important;letter-spacing:.035em!important;text-transform:uppercase;line-height:1.1!important;color:var(--am-ink)!important;padding:16px 2px!important}
.elementor .am-oc__nav a.elementor-item:hover,
.elementor .am-oc__nav a.elementor-item.elementor-item-active{color:var(--am-acc-d)!important}

/* =========================================================
   Štítok zľavy a akciová cena (od 1.2.7)
   ========================================================= */
.woocommerce span.onsale{position:absolute!important;z-index:5;min-width:0!important;min-height:0!important;margin:0!important;padding:6px 10px!important;
  border-radius:0!important;background:var(--am-acc-d)!important;color:#fff!important;font:600 13px/1 var(--am-ft)!important;letter-spacing:.02em;box-shadow:none!important}
/* karta produktu: vpravo hore s odstupom (vľavo je štítok techniky) */
.woocommerce ul.products li.product span.onsale{top:12px!important;right:12px!important;left:auto!important}
/* detail produktu: vľavo hore vo fotke, na mobile pod hlavičkou */
.single-product .am-pd__gal{position:relative}
.single-product span.onsale{top:14px!important;left:14px!important;right:auto!important}
@media (max-width:700px){
  .single-product span.onsale{top:calc(var(--am-head-h,64px) + 14px)!important}
}
/* akciová cena na detaile: pôvodná menšia a tlmená, nová bez podčiarknutia */
.am-kd__price .price del{font-size:.5em!important;font-weight:500!important;color:var(--am-ink-2)!important;opacity:.75;letter-spacing:0;margin-right:.35em;text-decoration-thickness:1px}
.am-kd__price .price ins{text-decoration:none!important;background:none}
.am-kd__price .price del .woocommerce-Price-amount{font-weight:500}

/* =========================================================
   Kurz: Čo je v cene + Storno podmienky [am_kurz_podmienky]
   ========================================================= */
.am-kpod{display:grid;gap:26px;font-family:var(--am-ft)}
.am-kpod__h{margin:0 0 12px!important;font-size:18px!important;font-weight:600!important;letter-spacing:0!important;text-transform:none!important;color:var(--am-ink)!important}
.am-kpod__list{margin:0!important;padding:0!important;list-style:none;display:grid;gap:9px}
.am-kpod__list li{display:flex;align-items:flex-start;gap:10px;margin:0;font-size:16px;line-height:1.45;color:var(--am-ink-2)}
.am-kpod__list svg{flex:none;width:18px;height:18px;margin-top:2px;fill:none;stroke:var(--am-acc-d);stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.am-kpod__p{margin:0!important;font-size:16px;line-height:1.6;color:var(--am-ink-2)}

/* Poznámka pod tlačidlom na detaile produktu [am_produkt_poznamka] */
.am-pnote{display:flex;align-items:flex-start;gap:8px;margin:14px 0 0!important;font:400 14px/1.45 var(--am-ft);color:var(--am-ink-2)}
.am-pnote svg{flex:none;width:16px;height:16px;margin-top:1px;fill:none;stroke:var(--am-acc-d);stroke-width:2;stroke-linecap:round;stroke-linejoin:round}

/* =========================================================
   Úvod – sekcia poukazov: vizuál poukazu ako obrázok (od 1.3.1)
   Elementor: widget Obrázok s CSS triedou „am-gift__visual“ (nahrádza HTML kartu am-gift__card).
   Rovnaké jemné vznášanie a natočenie ako pôvodná karta; tieň cez drop-shadow (obrázok má zaoblené priehľadné rohy).
   ========================================================= */
.am-gift__visual{display:flex;justify-content:center}
.am-gift__visual img{display:block;width:100%!important;max-width:470px!important;height:auto!important;margin-inline:auto;border-radius:0!important;
  filter:drop-shadow(0 34px 34px rgba(40,24,16,.28)) drop-shadow(0 6px 10px rgba(40,24,16,.12));
  --am-fr:4deg;animation:am-float 6.5s ease-in-out infinite alternate}
@media (max-width:900px){.am-gift__visual img{max-width:380px!important;--am-fr:2.5deg;--am-fy:-7px}}
@media (prefers-reduced-motion:reduce){.am-gift__visual img{animation:none;transform:rotate(3deg)}}
