/* ==========================================================================
   Hanina božična želja — prodajna stran (naloži se samo na tej strani)
   Barve: body.mz-brand-hbz v main.css; pisave enake kot Miselne žabice (Literata, Figtree)
   ========================================================================== */

.mz-brand-hbz #main { background: #FFFFFF; }

/* Skupno */
.hb-sky { position: relative; overflow: hidden; background: linear-gradient(180deg, #A9A6E6 0%, #C9B9EC 45%, #F2D6EA 100%); }
.hb-night { position: relative; overflow: hidden; background: linear-gradient(180deg, #2F2A78 0%, #4B3F99 100%); color: #FFFFFF; }
.hb-section { padding: clamp(56px, 7vw, 110px) var(--gutter); }
.hb-night.hb-section { padding-block: clamp(72px, 9vw, 130px); }

.hb-h2 { margin: 0; font-family: 'Literata', Georgia, serif; font-weight: 400; font-size: clamp(32px, 4.2vw, 60px); line-height: 1.05; color: #2F2A78; text-wrap: balance; }
.hb-night .hb-h2 { color: #FFFFFF; }
.hb-h2--big { font-weight: 600; font-size: clamp(36px, 5vw, 72px); line-height: 1; }
.hb-h2 em { font-style: normal; color: #E2367A; }
.hb-text { margin: 0; max-width: 52ch; font-size: clamp(17px, 1.3vw, 19px); line-height: 1.65; color: #3E3A72; text-wrap: pretty; }
.hb-night .hb-text { color: #E4E1F7; }

.hb-btn { position: relative; height: 58px; padding: 0 32px; border: none; border-radius: 999px; background: #E2367A; color: #FFFFFF; font-size: 16px; font-weight: 700; line-height: 1; display: inline-flex; align-items: center; gap: 12px; cursor: pointer; box-shadow: 0 10px 24px rgba(226, 54, 122, .32); transition: transform .25s, background .25s, box-shadow .25s; }
.hb-btn:hover, .hb-btn:focus-visible { background: #CC2A69; color: #FFFFFF; transform: translateY(-2px); box-shadow: 0 14px 30px rgba(226, 54, 122, .38); }
.hb-btn svg { transition: transform .25s; }
.hb-btn:hover svg { transform: translateX(3px); }
.hb-btn--sm { height: 48px; padding: 0 22px; font-size: 15px; box-shadow: none; }
.hb-btn.is-loading { opacity: .7; pointer-events: none; }

.hb-pill { padding: 8px 16px; border-radius: 999px; background: rgba(255, 255, 255, .75); font-size: 14px; font-weight: 700; color: #4B3F99; }
.hb-tag { flex: none; padding: 6px 14px; border-radius: 999px; background: #F6CE5B; color: #2F2A78; font-size: 15px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.hb-tag--lg { display: inline-flex; padding: 9px 18px; font-size: 17px; letter-spacing: .04em; }
.hb-cta { margin-top: 28px; }
.hb-cta--center { display: flex; justify-content: center; padding: 0 16px; }

.hb-cloud { background: #FFFFFF; border-radius: 46px 38px 50px 34px / 36px 48px 38px 50px; box-shadow: 0 0 0 8px rgba(255, 255, 255, .55), 0 0 34px 14px rgba(255, 255, 255, .75); }

.hb-arrows { display: flex; gap: 12px; }
.hb-arrows button { width: 56px; height: 56px; border-radius: 999px; border: 2px solid #2F2A78; background: rgba(255, 255, 255, .6); color: #2F2A78; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background .25s, color .25s; }
.hb-arrows button:hover { background: #2F2A78; color: #FFFFFF; }
.hb-arrows--soft { gap: 10px; }
.hb-arrows--soft button { width: 52px; height: 52px; border: none; background: #F4F0FB; }
.hb-arrows button:disabled { opacity: .35; cursor: default; background: transparent; color: #2F2A78; }

.hb-check { flex: none; width: 22px; height: 22px; border-radius: 999px; background: #E2367A; color: #FFFFFF; display: flex; align-items: center; justify-content: center; }

/* --------------------------------------------------------------------------
   Uvod
   ----------------------------------------------------------------------- */
.hb-hero { padding: clamp(24px, 4vw, 56px) var(--gutter) clamp(80px, 9vw, 140px); }
.hb-hero__in { position: relative; max-width: 1280px; margin: 0 auto; display: flex; flex-wrap: wrap-reverse; align-items: center; gap: clamp(16px, 4vw, 56px); }
.hb-hero__copy { flex: 1 1 400px; display: flex; flex-direction: column; align-items: flex-start; }
.hb-hero__title { margin: 22px 0 0; font-family: 'Literata', Georgia, serif; font-weight: 400; font-size: clamp(58px, 8vw, 124px); line-height: .95; letter-spacing: -.01em; color: #E2367A; text-shadow: 0 2px 0 #FFFFFF, 0 0 30px rgba(255, 255, 255, .7); }
.hb-hero__title em { font-style: normal; }
.hb-hero__lead { margin: 24px 0 0; max-width: 24ch; font-family: 'Literata', Georgia, serif; font-size: clamp(22px, 2vw, 30px); line-height: 1.3; color: #2F2A78; text-wrap: balance; }
.hb-hero__copy > div { margin-top: 32px; }
.hb-hero__note { margin: 18px 0 0; max-width: 100%; display: flex; align-items: center; gap: 10px; padding: 10px 16px 10px 10px; border-radius: 999px; background: rgba(255, 255, 255, .8); font-size: 15px; font-weight: 700; line-height: 1.35; color: #2F2A78; }
.hb-hero__visual { flex: 1 1 380px; display: flex; justify-content: center; }
.hb-hero__book { width: min(100%, 420px, 60vh); }
.hb-hero__book img { width: 100%; height: auto; display: block; transform: rotate(-3deg); filter: drop-shadow(0 30px 40px rgba(60, 40, 120, .35)); }
.hb-wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: clamp(40px, 6vw, 80px); display: block; }
@media (max-width: 599px) {
  .hb-hero__note { border-radius: 22px; align-items: flex-start; }
  .hb-hero__book { width: min(70%, 300px); }
}

/* --------------------------------------------------------------------------
   Hanina želja
   ----------------------------------------------------------------------- */
.hb-story { background: #FFFFFF; scroll-margin-top: 60px; }
.hb-story__in { max-width: 1280px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hb-story__img { flex: 1.3 1 440px; min-width: 0; }
.hb-story__img img { width: 100%; height: auto; display: block; filter: drop-shadow(0 22px 30px rgba(60, 40, 120, .18)); }
.hb-story__copy { flex: 1 1 340px; display: flex; flex-direction: column; gap: 20px; }
.hb-highlight { margin: 0; font-family: 'Literata', Georgia, serif; font-size: clamp(26px, 2.4vw, 34px); line-height: 1.2; color: #E2367A; }
@media (max-width: 599px) { .hb-story__img { flex-basis: 100%; } }

/* --------------------------------------------------------------------------
   Zgodba iz življenja
   ----------------------------------------------------------------------- */
.hb-life__in, .hb-audio__in { position: relative; max-width: 1180px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: clamp(36px, 5vw, 80px); align-items: center; }
.hb-life__copy { flex: 1 1 420px; display: flex; flex-direction: column; gap: 20px; }
.hb-life__quote { flex: 1 1 380px; max-width: 520px; padding: clamp(30px, 4vw, 52px) clamp(26px, 4vw, 48px); }
.hb-life__quote p { margin: 0; font-family: 'Literata', Georgia, serif; font-weight: 400; font-size: clamp(24px, 2.4vw, 34px); line-height: 1.25; color: #E2367A; text-wrap: balance; }
@media (max-width: 599px) { .hb-life__copy, .hb-life__quote { flex-basis: 100%; } }

/* --------------------------------------------------------------------------
   Pokukajte v knjigo
   ----------------------------------------------------------------------- */
.hb-gallery { background: #FFFFFF; padding: clamp(64px, 8vw, 120px) 0; scroll-margin-top: 60px; }
.hb-gallery__head { max-width: 1280px; margin: 0 auto; padding: 0 var(--gutter); display: flex; flex-wrap: wrap; gap: 20px 48px; align-items: flex-end; justify-content: space-between; }
.hb-gallery__copy { flex: 1 1 420px; display: flex; flex-direction: column; gap: 18px; }
.hb-gallery__track { margin-top: clamp(28px, 4vw, 48px); display: flex; gap: clamp(18px, 2.4vw, 32px); align-items: center; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); padding: 12px var(--gutter) 24px; scrollbar-width: none; }
.hb-gallery__track::-webkit-scrollbar { display: none; }
.hb-gallery__item { flex: none; padding: 0; border: none; background: transparent; cursor: zoom-in; scroll-snap-align: start; transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.hb-gallery__item:hover { transform: translateY(-4px); }
.hb-gallery__item img { width: 100%; height: auto; display: block; }
.hb-gallery__item--spread { width: min(84vw, 860px); }
.hb-gallery__item--spread img { filter: drop-shadow(0 18px 26px rgba(60, 40, 120, .2)); }
.hb-gallery__item--page { width: min(84vw, 760px); }
.hb-gallery__item--small { width: min(64vw, 340px); }
.hb-gallery__item--photo { width: min(84vw, 620px); }
.hb-gallery__item--page img, .hb-gallery__item--small img, .hb-gallery__item--photo img { border-radius: 20px; }

/* --------------------------------------------------------------------------
   Več kot božična pravljica
   ----------------------------------------------------------------------- */
.hb-values { background: linear-gradient(180deg, #FFFFFF 0%, #F4F0FB 100%); }
.hb-values__in { max-width: 1280px; margin: 0 auto; }
.hb-values__head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; }
.hb-values__head .hb-text { margin-inline: auto; }
.hb-values__grid { margin-top: clamp(36px, 5vw, 60px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: clamp(14px, 1.6vw, 22px); }
.hb-value { display: flex; flex-direction: column; gap: 14px; padding: 26px 24px 28px; border-radius: 28px; background: #E5DEF8; transition: transform .4s cubic-bezier(.2, .7, .2, 1); }
.hb-value:hover { transform: translateY(-4px); }
.hb-value--pink { background: #FBD9E6; }
.hb-value--yellow { background: #FFF1C4; }
.hb-value--green { background: #D9F1DE; }
.hb-value--blue { background: #DCEBFA; }
.hb-value__icon { width: 52px; height: 52px; border-radius: 999px; background: #FFFFFF; color: #E2367A; display: flex; align-items: center; justify-content: center; }
.hb-value__title { font-family: 'Literata', Georgia, serif; font-weight: 400; font-size: 22px; line-height: 1.15; color: #2F2A78; }
.hb-value__text { font-size: 16px; line-height: 1.5; color: #3E3A72; }
.hb-values__quote { margin: clamp(36px, 5vw, 60px) auto 0; max-width: 30ch; text-align: center; font-family: 'Literata', Georgia, serif; font-size: clamp(22px, 2vw, 30px); line-height: 1.3; color: #2F2A78; text-wrap: balance; }

/* --------------------------------------------------------------------------
   Kaj pravijo bralci
   ----------------------------------------------------------------------- */
.hb-voices { padding: clamp(72px, 9vw, 130px) 0; scroll-margin-top: 60px; }
.hb-voices__head, .hb-voices__foot { position: relative; max-width: 1280px; margin: 0 auto; padding: 0 var(--gutter); display: flex; flex-wrap: wrap; justify-content: space-between; }
.hb-voices__head { gap: 16px 48px; align-items: flex-end; }
.hb-voices__text { margin: 0; flex: 0 1 380px; font-size: 17px; line-height: 1.6; color: #2E2A63; }
.hb-voices__track { position: relative; margin-top: clamp(36px, 5vw, 60px); display: flex; gap: clamp(16px, 2vw, 28px); align-items: flex-start; overflow-x: auto; scroll-snap-type: x mandatory; padding: 16px max(var(--gutter), calc(50vw - 584px)) 36px; scroll-padding-inline: max(var(--gutter), calc(50vw - 584px)); scrollbar-width: none; }
.hb-voices__track::-webkit-scrollbar { display: none; }
.hb-voice { flex: none; width: min(78vw, 330px); scroll-snap-align: start; padding: clamp(16px, 1.6vw, 22px); border: none; border-radius: 26px; background: #FFFFFF; box-shadow: 0 16px 34px rgba(60, 40, 120, .16); cursor: zoom-in; transform: rotate(var(--rot, 0deg)); transition: transform .45s cubic-bezier(.2, .7, .2, 1); }
.hb-voice:hover { transform: rotate(0deg) translateY(-4px); }
.hb-voice img { width: 100%; max-height: 420px; height: auto; display: block; object-fit: contain; object-position: center top; }
.hb-voices__foot { gap: 16px; align-items: center; }

/* --------------------------------------------------------------------------
   Zvočna pravljica
   ----------------------------------------------------------------------- */
.hb-audio { scroll-margin-top: 60px; }
.hb-audio__copy { flex: 1 1 360px; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.hb-audio__card-wrap { flex: 1 1 420px; max-width: 560px; }
.hb-player { color: #2E2A63; padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; gap: 22px; }
.hb-player__head { display: flex; align-items: center; gap: 16px; }
.hb-player__head > div { display: flex; flex-direction: column; gap: 2px; }
.hb-player__photo { flex: none; width: 64px !important; height: 64px !important; border-radius: 999px; object-fit: cover; display: block; }
.hb-player__title { font-family: 'Literata', Georgia, serif; font-size: 22px; line-height: 1.2; color: #2F2A78; }
.hb-player__sub { font-size: 14px; color: #4B4680; }
.hb-player__row { display: flex; align-items: center; gap: 18px; }
.hb-player .hb-player__btn { width: 64px; height: 64px; background: #E2367A; color: #FFFFFF; box-shadow: 0 8px 20px rgba(226, 54, 122, .35); }
.hb-player__btn .hb-player__pause { display: none; }
.hb-player.is-playing .hb-player__pause { display: block; }
.hb-player.is-playing .hb-player__play { display: none; }
.hb-player__track { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.hb-player__bars { height: 44px; flex: none; }
.hb-player__bars span { border-radius: 3px; background: rgba(47, 42, 120, .18); }
.hb-player__bars span.is-on { background: #E2367A; }
.hb-player__time { display: flex; justify-content: space-between; font-size: 13px; color: #4B4680; font-variant-numeric: tabular-nums; }
@media (max-width: 599px) { .hb-audio__copy, .hb-audio__card-wrap { flex-basis: 100%; } }

/* --------------------------------------------------------------------------
   Naročilo
   ----------------------------------------------------------------------- */
.hb-buy { padding: clamp(64px, 8vw, 120px) var(--gutter); scroll-margin-top: 60px; }
.hb-buy__in { position: relative; max-width: 1180px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; gap: clamp(20px, 4vw, 56px); }
.hb-buy__visual { position: relative; flex: 1 1 280px; display: flex; justify-content: center; }
.hb-buy__visual img { width: min(100%, 300px); height: auto; display: block; transform: rotate(3deg); filter: drop-shadow(0 24px 30px rgba(60, 40, 120, .3)); }
.hb-buy__copy { position: relative; flex: 1.3 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.hb-buy__title { margin: 0; font-family: 'Literata', Georgia, serif; font-weight: 400; font-size: clamp(38px, 4.4vw, 64px); line-height: 1; color: #E2367A; text-shadow: 0 2px 0 #FFFFFF; }
.hb-buy__intro { display: flex; flex-direction: column; gap: 8px; }
.hb-buy__subtitle { margin: 0; font-family: 'Literata', Georgia, serif; font-weight: 500; font-size: clamp(22px, 2vw, 28px); line-height: 1.2; color: #2F2A78; }
.hb-buy__text { margin: 0; max-width: 52ch; font-size: 16px; line-height: 1.55; color: #2E2A63; }

.hb-variants { display: flex; flex-direction: column; gap: 10px; }
.hb-variant { width: 100%; display: flex; align-items: center; gap: 16px; padding: 16px 20px; border-radius: 24px; border: 2px solid rgba(47, 42, 120, .16); background: rgba(255, 255, 255, .7); color: #2E2A63; text-align: left; font: inherit; cursor: pointer; transition: border-color .25s, background .25s; }
.hb-variant:hover { border-color: rgba(226, 54, 122, .5); background: #FFFFFF; }
.hb-variant[aria-checked="true"] { border-color: #E2367A; background: #FFFFFF; }
.hb-variant:disabled { opacity: .55; cursor: not-allowed; }
.hb-variant__dot { flex: none; width: 24px; height: 24px; border-radius: 999px; border: 2px solid #2F2A78; display: flex; align-items: center; justify-content: center; }
.hb-variant__dot span { width: 12px; height: 12px; border-radius: 999px; background: #E2367A; transform: scale(0); transition: transform .25s; }
.hb-variant[aria-checked="true"] .hb-variant__dot span { transform: scale(1); }
.hb-variant__info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.hb-variant__label { font-size: 14px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #2F2A78; }
.hb-variant__note { font-size: 14px; color: #4B4680; }
.hb-variant__perk { display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; color: #C42566; }
.hb-variant__perk svg { flex: none; }
.hb-variant__price { flex: none; display: flex; flex-direction: column; align-items: flex-end; line-height: 1; }
.hb-variant__price > span { font-family: 'Literata', Georgia, serif; font-size: 28px; color: #2F2A78; white-space: nowrap; }
.hb-variant__price s { margin-bottom: 5px; font-size: 15px; color: #4B4680; opacity: .75; white-space: nowrap; }
.hb-variant__price small { margin-top: 4px; font-size: 12px; color: #4B4680; white-space: nowrap; }

.hb-includes { display: flex; flex-direction: column; gap: 10px; padding: 16px 20px; border-radius: 22px; background: rgba(255, 255, 255, .75); }
.hb-includes__title { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #2F2A78; }
.hb-includes__row { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.45; color: #2E2A63; }

.hb-buy__actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hb-qty { height: 58px; border: none; background: #FFFFFF; }
.hb-qty button { color: #2F2A78; }
.hb-qty button:hover { background: rgba(47, 42, 120, .08); }
.hb-qty output { min-width: 30px; font-size: 18px; font-weight: 700; color: #2F2A78; }
.hb-btn--buy { flex: 1 1 220px; padding: 0 28px; font-size: 16px; justify-content: space-between; gap: 14px; }
.hb-btn--buy:hover { transform: translateY(-2px); }
.hb-buy__notes { display: flex; flex-direction: column; gap: 4px; font-size: 14px; line-height: 1.5; color: #2E2A63; }

.hb-alt { padding: 18px 20px; border-radius: 22px; background: rgba(255, 255, 255, .75); display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.hb-alt__title { font-size: 15px; font-weight: 700; color: #2F2A78; }
.hb-alt__text { font-size: 14px; line-height: 1.55; color: #3E3A72; }
.hb-alt a { font-size: 14px; font-weight: 700; color: #2F2A78; text-decoration: underline; text-underline-offset: 3px; }
.hb-alt a:hover { color: #E2367A; }
@media (max-width: 599px) {
  .hb-buy__visual img { width: min(60%, 220px); }
  .hb-variant { padding: 14px 16px; gap: 12px; }
  .hb-variant__price > span { font-size: 24px; }
}

/* Mobilna sticky vrstica */
.hb-sticky { background: #2F2A78; box-shadow: 0 12px 30px rgba(20, 16, 70, .35); }
.hb-sticky small { color: #C9C6E6; font-size: 13px; }
.hb-sticky .mz-price { font-family: 'Literata', Georgia, serif; color: #FFFFFF; }

@media (prefers-reduced-motion: reduce) {
  .hb-btn, .hb-gallery__item, .hb-voice, .hb-value { transition: none; }
  .hb-btn:hover, .hb-gallery__item:hover, .hb-value:hover { transform: none; }
}
