/*
Theme Name: Betheme Child
Theme URI: https://themes.muffingroup.com/betheme
Author: Muffin group
Author URI: https://muffingroup.com
Description: Child Theme for Betheme
Template: betheme
Version: 2.0.2
*/


/* ===== Ministerstwo 2.0 – tylko efekty, których BeBuilder nie ma natywnie =====
   Kolory, czcionki i odstępy są w polach elementów (Style / Advanced → Spacing). */

/* migający neon „2.0” */
.msiw-neon-flicker .title { animation: msiw-flicker 6s infinite; }
@keyframes msiw-flicker { 0%, 18%, 22%, 25%, 53%, 57%, 100% { opacity: 1; } 20%, 24%, 55% { opacity: .55; } }

/* menu: zdjęcie zmienia się z kategorią (slajdy dodaje skrypt) */
.msiw-stage { position: relative; overflow: hidden; }
.msiw-stage .msiw-slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transform: scale(1.04); transition: opacity .6s cubic-bezier(.2,.7,.1,1), transform 1.2s cubic-bezier(.2,.7,.1,1); }
.msiw-stage .msiw-slide.on { opacity: 1; transform: none; }
.msiw-plate { display: grid; place-items: center; text-align: center; background: radial-gradient(circle at 50% 45%, #2a2622, #151311 70%); }
.msiw-plate::before { content: ''; position: absolute; inset: 18px; border: 1px solid rgba(242,233,220,.24); border-radius: 2px; }
.msiw-plate b { display: block; font-family: Antonio, sans-serif; font-size: clamp(41.6px, 6vw, 80px); line-height: .9; text-transform: uppercase; color: #f2e9dc; }
.msiw-plate span { display: block; margin-top: 10px; font-family: Antonio, sans-serif; font-size: 12.8px; letter-spacing: .24em; text-transform: uppercase; color: #c9834e; }

/* menu (akordeon): plus po prawej, numer miedziany przy otwartej pozycji */
.msiw-menu-acc .accordion .question .title > i { left: auto; right: 0; }
.msiw-menu-acc .accordion .question .title > span { color: #8a8073; transition: color .3s; }
.msiw-menu-acc .accordion .question.active .title > span { color: #c9834e; }

/* porównanie retro / 2.0: etykiety zawsze widoczne */
.msiw-compare .twentytwenty-overlay { background: none !important; }
.msiw-compare .twentytwenty-before-label, .msiw-compare .twentytwenty-after-label { opacity: 1 !important; }
.msiw-compare .twentytwenty-before-label::before, .msiw-compare .twentytwenty-after-label::before { top: 14px; margin-top: 0; font-family: Antonio, sans-serif; font-size: 14.4px; letter-spacing: .18em; padding: 6px 12px; line-height: 1.4; border-radius: 0; background: rgba(12,11,10,.75); color: #f2e9dc; }
.msiw-compare .twentytwenty-after-label::before { color: #e3a46f; }

/* pogrubienia w tekstach „O marce” */
.msiw-strong strong { color: #f2e9dc; font-weight: 600; }

/* instagram: przyciemnienie i zoom po najechaniu */
.msiw-ig .image_wrapper { position: relative; overflow: hidden; }
.msiw-ig .image_wrapper a::after { content: ''; position: absolute; inset: 0; background: rgba(12,11,10,.5); opacity: 0; transition: opacity .35s; }
.msiw-ig .image_wrapper a:hover::after { opacity: 1; }
.msiw-ig .image_wrapper img { transition: transform 1s cubic-bezier(.2,.7,.1,1); }
.msiw-ig .image_wrapper a:hover img { transform: scale(1.06); }

/* formularz CF7: wybór jako pigułki, zgoda zwykłym tekstem */
.msiw-cf7 .wpcf7-radio { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.msiw-cf7 .wpcf7-radio .wpcf7-list-item { margin: 0; }
.msiw-cf7 .wpcf7-radio input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.msiw-cf7 .wpcf7-radio .wpcf7-list-item-label { display: inline-block; padding: 12px 16px; border: 1px solid rgba(242,233,220,.24); border-radius: 4px; font-family: Antonio, sans-serif; font-size: 14.4px; letter-spacing: .12em; text-transform: uppercase; color: #b8ad9e; cursor: pointer; transition: all .25s; }
.msiw-cf7 .wpcf7-radio input:checked + .wpcf7-list-item-label { background: #c9834e; border-color: #c9834e; color: #0c0b0a; }
.msiw-cf7 .wpcf7-acceptance label { display: flex; gap: 12px; align-items: flex-start; }
.msiw-cf7 .wpcf7-acceptance label, .msiw-cf7 .wpcf7-acceptance .wpcf7-list-item-label { text-transform: none !important; letter-spacing: normal !important; font-size: 13.6px !important; }
.msiw-cf7 .wpcf7-acceptance input { accent-color: #c9834e; width: 20px; height: 20px; flex-shrink: 0; }
.msiw-cf7 .wpcf7-acceptance a { color: #f2e9dc; text-decoration: underline; }

@media (prefers-reduced-motion: reduce) {
  .msiw-neon-flicker .title, .msiw-spin img { animation: none; }
  .msiw-stage .msiw-slide { transition: none; }
}
