/* ==========================================================================
   Case & Care — main stylesheet
   Design tokens taken from the original BeTheme/Elementor site.
   ========================================================================== */

:root {
    --primary: #2195CE;
    --primary-dark: #1B7FB0;
    --primary-light: #E3F2FA;
    --heading: #161922;
    --text: #626262;
    --muted: #8a8f98;
    --dark: #212121;
    --light: #F7F7F7;
    --light-2: #F6F8FA;
    --border: #E5E7EB;
    --white: #fff;
    --success: #16a34a;
    --danger: #dc2626;
    --radius-sm: 8px;
    --radius: 16px;
    --radius-lg: 30px;
    --container: 1254px;
    --gutter: 24px;
    --header-h: 84px;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    --font-alt: 'Poppins', var(--font);
    --shadow: 0 10px 30px rgba(22, 25, 34, .08);
    --pattern: url('../img/pattern-bg.jpg');
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.5; color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh; }
.site-main { flex: 1 0 auto; width: 100%; }
.site-footer { flex-shrink: 0; }
img, svg, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--primary-dark); }
h1, h2, h3, h4, h5, h6 { color: var(--heading); font-weight: 700; line-height: 1.2; margin: 0 0 .6em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.icon { flex-shrink: 0; vertical-align: middle; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 1000; background: var(--primary); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm); }
.skip-link:focus { top: 12px; color: #fff; }
.text-primary { color: var(--primary); }
.text-center { text-align: center; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--font-alt); font-weight: 700; font-size: 16px; line-height: 1; padding: 16px 40px; border-radius: var(--radius-sm); border: 1px solid transparent; transition: background .2s, color .2s, border-color .2s, transform .2s; cursor: pointer; text-align: center; }
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--primary); color: #fff; }
.btn--primary:hover { background: var(--primary-dark); color: #fff; }
.btn--white { background: #fff; color: var(--dark); }
.btn--white:hover { background: var(--dark); color: #fff; }
.btn--blue-text { color: var(--primary-dark); }
.btn--outline { background: transparent; color: var(--dark); border-color: var(--dark); border-radius: 10px; font-family: var(--font); font-weight: 500; font-size: 15px; padding: 15px 18px; }
.btn--outline:hover { background: var(--dark); color: #fff; }
.btn--sm { padding: 12px 22px; font-size: 14px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .65; cursor: wait; transform: none; }

.pill { display: inline-block; background: var(--primary-light); color: var(--primary); font-size: 13px; font-weight: 600; letter-spacing: .02em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; line-height: 1.3; }
.pill--white { background: #fff; color: var(--primary); }
.kicker { font-family: var(--font-alt); font-weight: 700; font-size: 20px; color: var(--primary); margin-bottom: 10px; text-transform: uppercase; }
.icon-box { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 12px; background: var(--primary-light); color: var(--primary); }

.check-list { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.check-list .icon { color: var(--primary); margin-top: 3px; }
.check-list--white li { color: #fff; font-weight: 500; }
.check-list--white .icon { color: #fff; }
.check-list--bold li { color: var(--heading); font-weight: 600; }
.tool-list { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 8px; }
.tool-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--heading); }
.tool-list .icon { color: var(--heading); margin-top: 4px; }

/* ---------- Sections ---------- */
.section { padding: 50px 0; }
.section--tight { padding: 30px 0 60px; }
.section--flush { padding: 0 0 50px; }
.section--light { background: var(--light-2); border-radius: 70px; padding: 90px 0; }
.section-title { font-size: 42px; text-align: center; margin-bottom: 30px; letter-spacing: -.5px; }
.section-title--left { text-align: left; margin-bottom: 0; }
.section-intro { text-align: center; max-width: 640px; margin: -14px auto 40px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 36px; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(223, 223, 223, .75); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: box-shadow .2s; }
.site-header.is-scrolled { box-shadow: 0 4px 24px rgba(0, 0, 0, .08); }
.site-header__inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); padding: 0 clamp(20px, 5vw, 72px); }
.site-logo { display: flex; align-items: center; flex-shrink: 0; }
.site-logo img { height: 46px; width: auto; max-width: 150px; }
.main-nav { flex: 1; display: flex; justify-content: center; }
.main-nav__list { display: flex; list-style: none; margin: 0; padding: 0; gap: 4px; }
.main-nav__link { display: flex; align-items: center; gap: 5px; padding: 30px 10px 28px; font-weight: 500; color: #4a4d55; position: relative; }
.main-nav__link::after { content: ''; position: absolute; left: 10px; right: 10px; bottom: 18px; height: 2px; background: var(--primary); transform: scaleX(0); transition: transform .2s; }
.main-nav__item.is-active > .main-nav__link, .main-nav__link:hover, .main-nav__item:focus-within > .main-nav__link { color: var(--primary); }
.main-nav__item.is-active > .main-nav__link::after, .main-nav__item:hover > .main-nav__link::after { transform: scaleX(1); }
.main-nav__chevron { transition: transform .2s; }
.has-mega:hover .main-nav__chevron, .has-mega:focus-within .main-nav__chevron { transform: rotate(180deg); }

.mega { position: absolute; left: 0; right: 0; top: 100%; background: #fff; box-shadow: 0 30px 60px rgba(0, 0, 0, .12); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s, transform .2s, visibility .2s; }
.has-mega:hover .mega, .has-mega:focus-within .mega { opacity: 1; visibility: visible; transform: none; }
.mega__inner { max-width: calc(var(--container) + 48px); margin: 0 auto; padding: 28px 24px; display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 30px; align-items: center; }
.mega__brands { list-style: none; margin: 0; padding: 0; }
.mega__brands li + li { border-top: 1px solid #eee; }
.mega__brands a { display: flex; align-items: center; gap: 10px; padding: 16px 12px; color: var(--heading); font-weight: 500; font-size: 17px; }
.mega__brands a:hover { color: var(--primary); }
.mega__brands img { width: 20px; height: 20px; object-fit: contain; }
.mega__art img { max-height: 170px; width: auto; margin: 0 auto; }
.mega__card { background: #f2f2f2; border-radius: var(--radius); padding: 26px 30px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.mega__title { font-size: 26px; font-weight: 700; color: var(--heading); margin: 0; }
.mega__subtitle { font-size: 18px; margin: 4px 0 16px; }
.mega__card img { max-height: 150px; width: auto; }

.header-actions { display: flex; align-items: center; gap: 6px; }
.header-icon { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: transparent; border: 0; color: var(--heading); transition: background .2s, color .2s; }
.header-icon:hover { background: rgba(255, 255, 255, .7); color: var(--primary); }
.header-burger { display: none; }

.header-search { position: absolute; left: 0; right: 0; top: 100%; background: #fff; box-shadow: 0 20px 40px rgba(0, 0, 0, .1); padding: 18px 24px; }
.header-search__form { max-width: 760px; margin: 0 auto; display: flex; align-items: center; gap: 12px; border: 1px solid var(--border); border-radius: 12px; padding: 4px 8px 4px 16px; color: var(--muted); }
.header-search__form input { flex: 1; border: 0; outline: 0; padding: 12px 0; font-size: 16px; color: var(--heading); background: transparent; }
.header-search__close { border: 0; background: none; color: var(--muted); padding: 8px; display: flex; }

/* Mobile drawer */
.drawer { position: fixed; inset: 0; z-index: 200; visibility: hidden; }
.drawer.is-open { visibility: visible; }
.drawer__overlay { position: absolute; inset: 0; background: rgba(0, 0, 0, .55); opacity: 0; transition: opacity .25s; }
.drawer.is-open .drawer__overlay { opacity: 1; }
.drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(360px, 88vw); background: #fff; padding: 22px; display: flex; flex-direction: column; transform: translateX(100%); transition: transform .3s ease; overflow-y: auto; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.drawer__head img { height: 40px; width: auto; }
.drawer__close { border: 0; background: var(--light); width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.drawer__menu { list-style: none; padding: 0; margin: 0 0 24px; }
.drawer__menu a { display: flex; justify-content: space-between; align-items: center; padding: 15px 4px; border-bottom: 1px solid #eee; color: var(--heading); font-weight: 600; font-size: 17px; }
.drawer__menu a.is-active, .drawer__menu a:hover { color: var(--primary); }
.drawer__menu .icon { color: var(--muted); }
.drawer__contact { margin-top: auto; display: grid; gap: 12px; }
.drawer__contact a { display: flex; align-items: center; gap: 10px; color: var(--heading); font-weight: 500; }
.drawer__contact .icon { color: var(--primary); }
body.no-scroll { overflow: hidden; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { margin-top: 40px; background: var(--primary) var(--pattern) center / cover; border-radius: 70px 70px 0 0; padding: 56px 0 0; }
.site-footer__inner { max-width: calc(var(--container) + 48px); margin: 0 auto; padding: 0 24px; }
.footer-card { background: var(--dark); border-radius: var(--radius); padding: 44px 32px; display: grid; grid-template-columns: 1fr 1.25fr; gap: 40px; align-items: center; }
.footer-logo { display: inline-block; }
.footer-logo img { height: 64px; width: auto; margin-bottom: 40px; }
.footer-call { display: flex; align-items: center; gap: 18px; color: #fff; }
.footer-call__icon { color: var(--primary); display: flex; }
.footer-call__label { display: block; color: var(--primary); font-weight: 500; font-size: 17px; margin-bottom: 4px; }
.footer-call__number { display: block; color: #fff; font-size: 30px; font-weight: 600; letter-spacing: -.3px; }
.footer-call:hover .footer-call__number { color: var(--primary); }
.footer-card__menus { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer-menu__title { color: var(--primary); font-size: 14px; font-weight: 500; margin-bottom: 14px; }
.footer-menu ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.footer-menu a { color: #e9e9e9; font-size: 14px; }
.footer-menu a:hover { color: var(--primary); }
.footer-bottom { margin-top: 30px; background: var(--dark); border-radius: var(--radius) var(--radius) 0 0; padding: 18px 32px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; }
.footer-bottom p { margin: 0; font-size: 14px; color: #fff; }
.footer-bottom__credit { text-align: center; }
.footer-bottom__credit a { color: #fff; }
.footer-bottom__credit a:hover { color: var(--primary); }
.footer-social { list-style: none; margin: 0; padding: 0; display: flex; justify-content: flex-end; gap: 10px; }
.footer-social a { width: 34px; height: 34px; border: 1px solid rgba(255, 255, 255, .8); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; }
.footer-social a:hover { background: var(--primary); border-color: var(--primary); color: #fff; }

/* Cookie notice */
.cookie-notice { position: fixed; left: 20px; bottom: 20px; z-index: 150; width: 290px; background: #fff; border-radius: 14px; box-shadow: 0 16px 40px rgba(0, 0, 0, .18); padding: 22px; text-align: center; font-size: 13px; }
.cookie-notice__icon { color: var(--heading); display: block; margin-bottom: 8px; }
.cookie-notice__icon .icon { margin: 0 auto; }
.cookie-notice p { margin-bottom: 10px; }
.cookie-notice__link { display: block; margin-bottom: 14px; }

/* ==========================================================================
   Home
   ========================================================================== */
.hero { background: var(--primary) var(--pattern) center / cover; padding: 75px 0 110px; position: relative; }
.hero::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff); pointer-events: none; }
.hero__card { position: relative; z-index: 1; background: #fff; border-radius: var(--radius-lg); display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; min-height: 480px; }
.hero__content { padding: 44px 30px 44px 56px; }
.hero__title { font-size: 42px; line-height: 1.2; margin: 18px 0 16px; letter-spacing: -.5px; }
.hero__text { max-width: 560px; margin-bottom: 26px; }
.hero__features { list-style: none; padding: 0; margin: 40px 0 0; display: flex; flex-wrap: wrap; gap: 28px; }
.hero__features li { display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--text); line-height: 1.35; }
.hero__features strong { font-weight: 700; color: #4a4d55; }
.hero__media { align-self: stretch; position: relative; display: flex; align-items: center; justify-content: center; padding: 24px; }
.hero__media::before { content: ''; position: absolute; top: 4%; bottom: 4%; left: 14%; right: 0; background: linear-gradient(160deg, #3aa6dc, var(--primary)); border-radius: 46% 54% 52% 48% / 40% 44% 56% 60%; opacity: .9; }

.compare { position: relative; width: min(330px, 100%); margin: -60px 0; user-select: none; --pos: 50%; }
.compare img { width: 100%; height: auto; pointer-events: none; }
.compare__after { position: relative; z-index: 1; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .25)); }
.compare__before { position: absolute; inset: 0; z-index: 2; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare__handle { position: absolute; z-index: 3; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #fff; pointer-events: none; }
.compare__handle span { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 38px; height: 38px; border-radius: 50%; border: 2px solid #fff; background: rgba(255, 255, 255, .25); color: #fff; display: flex; align-items: center; justify-content: center; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.compare__range { position: absolute; z-index: 4; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }

.service-banners { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.service-banner { background: var(--light); border-radius: var(--radius); padding: 40px 30px 40px 48px; display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; overflow: hidden; }
.service-banner__title { font-size: 30px; line-height: 1; max-width: 220px; }
.service-banner p { max-width: 250px; }
.service-banner__img { width: 200px; height: auto; border-radius: 12px; }

.promo { background: var(--primary) var(--pattern) center / cover; border-radius: var(--radius); display: grid; grid-template-columns: 1fr 1fr; align-items: center; min-height: 370px; overflow: visible; margin-bottom: 30px; }
.promo__body { padding: 40px 30px 40px 32px; }
.promo__title { color: #fff; font-size: 42px; margin: 18px 0 14px; letter-spacing: -.5px; }
.promo__text { color: rgba(255, 255, 255, .8); margin-bottom: 28px; }
.promo__text--strong { color: #fff; font-weight: 500; max-width: 560px; }
.promo__text strong { color: #fff; }
.promo__img { width: 100%; max-width: 540px; justify-self: end; margin: -40px 0 0; border-radius: 0 var(--radius) var(--radius) 0; }
.promo__img--nexera { max-width: 470px; margin: -60px 40px -40px 0; justify-self: center; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .25)); }

.brands-box { background: var(--light); border-radius: 10px; padding: 25px; text-align: center; }
.brands-box__title { font-size: 30px; margin-bottom: 18px; }
.brands-box__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 20px; align-items: center; }
.brands-box__list a { display: flex; justify-content: center; align-items: center; height: 103px; padding: 10px; border-radius: 12px; transition: background .2s, transform .2s; }
.brands-box__list a:hover { background: #fff; transform: translateY(-2px); }
.brands-box__list img { max-height: 74px; max-width: 150px; width: auto; }

.nexera { background: var(--light-2); border-radius: 70px; padding: 120px 0 90px; margin: 20px 0; }
.promo--nexera { min-height: 460px; }
.films { padding-top: 50px; text-align: center; }
.films__title { font-size: 30px; margin-bottom: 10px; }
.films__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 30px; text-align: left; }
.film-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; transition: box-shadow .2s, transform .2s; }
.film-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.film-card__image { background: #F2F4F7; border-radius: 12px; padding: 20px; margin-bottom: 18px; display: flex; justify-content: center; }
.film-card__image img { height: 260px; width: auto; }
.film-card__title { font-size: 20px; margin: 14px 0 16px; }

.newsletter { position: relative; background: var(--dark); border-radius: var(--radius); display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; padding: 50px 30px; }
/* White dot pattern overlay (10% opacity, 16px spacing) */
.newsletter::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1.5px, transparent 1.5px);
    background-size: 16px 16px;
    z-index: 0;
    pointer-events: none;
}
/* Keep text and form above the dots */
.newsletter__intro, .newsletter__form { position: relative; z-index: 1; }
.newsletter__kicker { color: #fff; font-size: 14px; font-weight: 500; margin-bottom: 14px; }
.newsletter__title { color: #fff; font-size: 42px; line-height: 50px; max-width: 420px; margin: 0; }
.newsletter__title mark { background: var(--primary); color: #fff; padding: 0 6px; border-radius: 4px; }
.newsletter__form-title { color: var(--primary); font-size: 30px; margin-bottom: 18px; }
.newsletter__form .form-field input { background: #fff; border: 0; }
.newsletter__form .form-status { color: #fff; }

/* ==========================================================================
   Forms
   ========================================================================== */
.form-field { margin-bottom: 14px; }
.form-field label { display: block; font-size: 14px; font-weight: 500; color: var(--heading); margin-bottom: 6px; }
.form-field input:not([type=checkbox]):not([type=radio]):not([type=file]), .form-field select, .form-field textarea, .search-form input {
    width: 100%; border: 1px solid #dcdfe4; border-radius: 6px; padding: 12px 14px; font-size: 14px; background: #fff; color: var(--heading); transition: border-color .2s, box-shadow .2s; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus, .search-form input:focus { outline: 0; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(33, 149, 206, .15); }
.form-field textarea { resize: vertical; min-height: 100px; }
.form-field.has-error input, .form-field.has-error select, .form-field.has-error textarea { border-color: var(--danger); }
.field-error { display: block; color: var(--danger); font-size: 12px; margin-top: 4px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.form-field--full { grid-column: 1 / -1; }
.form-check label { display: flex; gap: 8px; align-items: center; font-weight: 400; }
.form-status { margin-top: 12px; font-size: 14px; font-weight: 500; }
.form-status:empty { display: none; }
.form-status.is-success { color: var(--success); }
.form-status.is-error { color: var(--danger); }
.newsletter .form-status.is-success { color: #7ee2a0; }
.newsletter .form-status.is-error { color: #ff9a9a; }

/* ==========================================================================
   Shop
   ========================================================================== */
.shop-page { padding-top: 50px; padding-bottom: 40px; }
.shop-layout { display: grid; grid-template-columns: 245px 1fr; gap: 40px; align-items: start; }
.filters { background: var(--primary) var(--pattern) center / cover; border-radius: var(--radius-lg); padding: 16px; }
.filters__card { background: var(--dark); color: #fff; border-radius: var(--radius); padding: 22px 18px 18px; }
.filters__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.filters__title { color: #fff; font-size: 20px; font-weight: 600; margin: 0; }
.filters__close { display: none; border: 0; background: none; color: #fff; cursor: pointer; }
.filter-group { border: 0; border-bottom: 1px solid rgba(33, 149, 206, .55); margin: 0; padding: 16px 0 18px; min-width: 0; }
.filter-group:last-of-type { border-bottom: 0; }
.filter-group__toggle { width: 100%; display: flex; justify-content: space-between; align-items: center; background: none; border: 0; color: #fff; font-size: 14px; font-weight: 600; padding: 0 0 10px; text-align: left; cursor: pointer; }
.filter-group__toggle .icon { color: var(--muted); transition: transform .2s; }
.filter-group__toggle:hover .icon { color: #fff; }
.filter-group__toggle[aria-expanded=false] { padding-bottom: 0; }
.filter-group__toggle[aria-expanded=false] .icon { transform: rotate(180deg); }
.filter-group__toggle[aria-expanded=false] + .filter-group__body { display: none; }
.filter-check { display: flex; align-items: center; gap: 10px; padding: 5px 0; font-size: 14px; font-weight: 600; color: #fff; cursor: pointer; transition: color .15s; }
.filter-check:hover { color: var(--primary); }
.filter-check input { appearance: none; -webkit-appearance: none; width: 17px; height: 17px; border: 1.5px solid #fff; border-radius: 4px; margin: 0; display: grid; place-content: center; flex-shrink: 0; cursor: pointer; transition: background .15s, border-color .15s; }
.filter-check input:hover, .filter-check input:focus-visible { border-color: var(--primary); }
.filter-check input:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.filter-check input:checked { background: var(--primary); border-color: var(--primary); }
.filter-check input[type=checkbox]:checked::after { content: ''; width: 9px; height: 5px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg) translate(1px, -1px); }
.filter-check--radio input { border-radius: 50%; }
.filter-check--radio input:checked { background: var(--dark); border-color: var(--primary); }
.filter-check--radio input:checked::after { content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--primary); }
.filter-check.is-extra { display: none; }
.filter-group.show-all .filter-check.is-extra { display: flex; }
.filter-group__more { background: none; border: 0; color: var(--primary); font-size: 14px; padding: 10px 0 0; cursor: pointer; }
.filter-group__more:hover { text-decoration: underline; }
.filters__actions { padding: 6px 0 18px; display: grid; gap: 12px; border-bottom: 1px solid rgba(33, 149, 206, .55); }
.filters__actions:empty { display: none; }
.filters__clear { color: #fff; font-size: 13px; text-align: center; text-decoration: underline; }
.filters__help { position: relative; overflow: hidden; margin-top: 18px; padding: 20px 18px; border-radius: var(--radius-sm); background: var(--primary); color: #fff; }
.filters__help-title { color: #fff; font-size: 17px; font-weight: 700; margin: 0 0 8px; }
.filters__help p { position: relative; z-index: 1; margin: 0 0 16px; font-size: 13px; line-height: 1.5; color: rgba(255, 255, 255, .9); }
.filters__help .btn { position: relative; z-index: 1; background: #fff; color: var(--dark); }
.filters__help .btn:hover { background: var(--dark); color: #fff; }
.filters__help > .icon { position: absolute; right: 10px; bottom: 8px; opacity: .25; pointer-events: none; }
.js .filters__actions .btn { display: none; }

.shop-title { font-size: 30px; margin-bottom: 22px; }
.shop-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-bottom: 24px; font-size: 14px; }
.shop-toolbar__count { margin: 0; flex: 1; color: var(--muted); }
.shop-toolbar__filters { display: none; }
.shop-toolbar__per { display: flex; gap: 10px; align-items: center; }
.shop-toolbar__per span { color: var(--primary); }
.shop-toolbar__per a { color: var(--muted); }
.shop-toolbar__per a.is-current { color: var(--heading); font-weight: 600; text-decoration: underline; }
.shop-toolbar__sort { border: 0; background: #f1f2f4; border-radius: 8px; padding: 10px 12px; font-size: 13px; color: var(--heading); }

.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.product-grid--4 { grid-template-columns: repeat(4, 1fr); }
.product-card { border: 1px solid #e3e3e3; border-radius: 12px; padding: 16px 16px 22px; background: #fff; text-align: center; transition: box-shadow .2s, transform .2s, border-color .2s; display: flex; flex-direction: column; }
.product-card:hover { box-shadow: var(--shadow); border-color: transparent; transform: translateY(-3px); }
.product-card__image { position: relative; display: block; aspect-ratio: 1; margin-bottom: 14px; }
.product-card__image img { width: 100%; height: 100%; object-fit: contain; }
.product-card__badge { position: absolute; top: 0; left: 0; background: var(--primary); color: #fff; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; }
.product-card__title { font-size: 17px; font-weight: 400; line-height: 1.4; margin: 0; }
.product-card__title a { color: var(--text); }
.product-card__title a:hover { color: var(--primary); }
.price { display: block; margin-top: 8px; font-weight: 700; color: var(--heading); }
.price del { color: var(--muted); font-weight: 400; margin-right: 6px; }
.price ins { text-decoration: none; color: var(--primary); }
.empty-state { text-align: center; padding: 60px 20px; border: 1px dashed #d6d9de; border-radius: var(--radius); color: var(--muted); }
.empty-state .icon { margin: 0 auto 10px; }

.pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin-top: 36px; }
.pagination__link { min-width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; border: 1px solid var(--border); color: var(--heading); font-weight: 500; padding: 0 10px; }
.pagination__link:hover { border-color: var(--primary); color: var(--primary); }
.pagination__link.is-current { background: var(--primary); border-color: var(--primary); color: #fff; }
.pagination__dots { padding: 0 6px; align-self: center; }

.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--muted); margin-bottom: 20px; }
.breadcrumb a { color: var(--text); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb--small { font-size: 13px; }

/* Product page */
.product-page { padding-top: 60px; padding-bottom: 30px; }
.product-single { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.product-gallery__main { background: var(--light); border-radius: var(--radius); aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center; padding: 24px; }
.product-gallery__main img { max-height: 100%; width: auto; object-fit: contain; mix-blend-mode: multiply; }
.product-gallery__thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.product-gallery__thumb { width: 76px; height: 76px; border: 2px solid transparent; border-radius: 10px; background: var(--light); padding: 6px; }
.product-gallery__thumb.is-active { border-color: var(--primary); }
.product-gallery__thumb img { width: 100%; height: 100%; object-fit: contain; }
.product-summary__title { font-size: 30px; margin: 10px 0 18px; }
.product-summary__price { font-size: 24px; margin-bottom: 16px; }
.product-summary__short { margin-bottom: 20px; }
.product-summary__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 30px; }
.product-summary__actions .btn--primary { font-size: 14px; padding: 15px 28px; }
.product-meta p { margin: 0 0 8px; font-size: 15px; }
.product-meta span { color: var(--heading); }
.product-meta__sku { display: inline-block; border: 1px solid var(--border); border-radius: 4px; padding: 4px 8px; font-size: 11px !important; text-transform: uppercase; letter-spacing: .03em; }
.stock { font-weight: 600; font-size: 14px; }
.stock--out { color: var(--danger); }
.stock--request { color: #d97706; }

.tabs { margin-top: 60px; }
.tabs__nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; }
.tabs__btn { border: 0; border-radius: 6px; background: #eef6fb; color: var(--primary); padding: 10px 16px; font-weight: 500; }
.tabs__btn.is-active { background: var(--primary); color: #fff; }
.tabs__panel { max-width: 900px; margin: 0 auto; }
.attr-table { width: 100%; border-collapse: collapse; }
.attr-table th, .attr-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--border); font-size: 15px; }
.attr-table th { width: 35%; color: var(--heading); font-weight: 600; background: var(--light); }
.related { margin-top: 70px; }
.related__title { font-size: 24px; font-weight: 500; margin-bottom: 24px; }

/* ==========================================================================
   Content pages
   ========================================================================== */
.page-wrap { padding-top: 60px; padding-bottom: 60px; }
.page-title { font-size: 36px; margin-bottom: 28px; }
.prose { color: var(--text); line-height: 1.7; }
.prose h2 { font-size: 24px; font-weight: 600; margin: 40px 0 14px; }
.prose h3 { font-size: 19px; font-weight: 600; margin: 28px 0 10px; }
.prose > :first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin-bottom: 6px; }
.prose a { text-decoration: underline; }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 1em; }
.prose th, .prose td { border: 1px solid var(--border); padding: 8px 10px; text-align: left; }
.prose img { border-radius: 12px; }
.prose--narrow { max-width: 900px; margin: 0 auto; }

.legal-layout { display: grid; grid-template-columns: 300px 1fr; gap: 60px; align-items: start; }
.legal-layout__aside { position: sticky; top: calc(var(--header-h) + 24px); }
.legal-layout__title { font-size: 42px; line-height: 1.1; margin-bottom: 30px; }
.legal-layout__heading { font-size: 24px; font-weight: 600; color: var(--heading); margin-bottom: 14px; }
.toc__title { font-size: 18px; font-weight: 500; color: var(--heading); margin-bottom: 12px; }
.toc ol { padding-left: 22px; margin: 0; display: grid; gap: 8px; }
.toc li::marker { color: var(--primary); font-size: 14px; }
.toc a { color: var(--primary); font-size: 14px; }
.toc a.is-active { font-weight: 700; }

.return-form-box { background: var(--light); border-radius: var(--radius); padding: 30px; margin: 30px 0; }
.return-form-box__title { font-size: 24px !important; margin-top: 0 !important; }
.return-form-box .prose a, .return-form-box a { text-decoration: underline; }

.faq-group { margin-bottom: 40px; }
.faq-group__title { font-size: 26px; font-weight: 500; margin-bottom: 24px; }
.faq-list { border-left: 1px solid var(--border); }
.faq-item { margin-left: -1px; border-left: 1px solid transparent; transition: border-color .2s; }
.faq-item[open] { border-left-color: #555; }
.faq-item summary { list-style: none; display: grid; grid-template-columns: 70px 1fr 56px; align-items: center; padding: 22px 0; cursor: pointer; color: var(--heading); font-size: 14px; line-height: 1.5; transition: color .2s; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--primary); }
.faq-item__num { color: var(--heading); font-weight: 700; font-size: 14px; padding-left: 26px; transition: color .2s; }
.faq-item__icon { position: relative; width: 12px; height: 12px; justify-self: center; color: #b5b8bd; }
.faq-item__icon::before, .faq-item__icon::after { content: ""; position: absolute; background: currentColor; transition: transform .2s, opacity .2s; }
.faq-item__icon::before { left: 0; right: 0; top: 50%; height: 1px; transform: translateY(-50%); }
.faq-item__icon::after { top: 0; bottom: 0; left: 50%; width: 1px; transform: translateX(-50%); }
.faq-item[open] .faq-item__icon::after { transform: translateX(-50%) scaleY(0); opacity: 0; }
.faq-item[open] summary, .faq-item[open] .faq-item__num { color: var(--primary); }
.faq-item__a { padding: 0 56px 26px 70px; font-size: 16px; line-height: 1.6; }
.faq-item__a > :last-child { margin-bottom: 0; }
.faq-item[open] .faq-item__a { animation: faq-open .25s ease; }
@keyframes faq-open { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.faq-cta { text-align: center; background: var(--light); border-radius: var(--radius); padding: 36px 20px; margin-top: 20px; }
.faq-cta p { font-size: 20px; color: var(--heading); font-weight: 600; }

.page-hero { background: var(--primary) var(--pattern) center / cover; border-radius: 0 0 70px 70px; padding: 90px 0; text-align: center; }
.page-hero__inner { max-width: 900px; }
.page-hero__title { color: #fff; font-size: 42px; letter-spacing: -.5px; }
.page-hero__text { color: #fff; font-weight: 500; max-width: 760px; margin: 0 auto; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split--reverse .split__media { order: 2; }
.split__media img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }
.split__title { font-size: 36px; color: var(--primary); }
.split__title--sm { font-size: 30px; }
.counters { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin: 70px 0 40px; }
.counter { background: #fff; border-radius: var(--radius); padding: 32px 20px; text-align: center; box-shadow: 0 4px 18px rgba(0, 0, 0, .04); }
.counter__value { font-size: 44px; font-weight: 700; color: var(--primary); margin: 0 0 6px; line-height: 1; }
.counter__label { margin: 0; text-transform: lowercase; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card { background: var(--light); border-radius: var(--radius); padding: 40px 30px; text-align: center; }
.feature-card__icon { color: var(--primary); display: block; margin-bottom: 16px; }
.feature-card__icon .icon { margin: 0 auto; }
.feature-card__title { font-size: 26px; font-weight: 500; }

.contact-page { padding-top: 70px; padding-bottom: 60px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.contact-title { font-size: 30px; margin-bottom: 26px; }
.contact-title--right { text-align: right; }
.contact-line { display: flex; align-items: center; gap: 14px; color: var(--primary); font-size: 18px; font-weight: 500; margin-bottom: 18px; }
.contact-line .icon { color: var(--primary); }
.contact-form-title { font-size: 16px; font-weight: 500; margin: 36px 0 16px; color: var(--heading); }
.contact-form { max-width: 520px; }
.hours-line { text-align: right; font-size: 14px; }
.hours-line__dot { color: var(--heading); }
.map-embed { margin-top: 24px; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--light); }
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }

.search-form { display: flex; gap: 10px; max-width: 700px; margin-bottom: 20px; }
.search-form .btn { padding: 12px 22px; }
.search-summary { color: var(--muted); }
.search-heading { font-size: 22px; margin: 34px 0 16px; }
.search-list { list-style: none; padding: 0; display: grid; gap: 10px; }
.search-list a { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border: 1px solid var(--border); border-radius: 10px; color: var(--heading); }
.search-list a:hover { border-color: var(--primary); color: var(--primary); }

.error-page { text-align: center; padding-top: 90px; padding-bottom: 90px; max-width: 640px; }
.error-page__code { font-size: 110px; font-weight: 700; color: var(--primary); line-height: 1; margin-bottom: 10px; }
.error-page__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 20px; }
.form-result__icon { display: block; margin-bottom: 12px; }
.form-result__icon .icon { margin: 0 auto; }
.form-result__icon--ok { color: var(--success); }
.form-result__icon--error { color: var(--danger); }
.form-result__errors { text-align: left; display: inline-block; color: var(--danger); }

/* Shared price note in repairs cards */
.price-note { font-size: 14px; font-weight: 600; color: var(--heading); }
.repairs-service-title-row { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.repairs-service-title-row h1 { margin: 0; }
.repair-service-card__icon-badge--static { position: static !important; margin: 0 !important; flex-shrink: 0; }
.repair-service-card__icon-badge { color: #fff; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1180px) {
    .main-nav__link { padding-left: 8px; padding-right: 8px; }
    .product-grid--4 { grid-template-columns: repeat(3, 1fr); }
    .hero__content { padding-left: 40px; }
    .footer-card { grid-template-columns: 1fr; }
}

@media (max-width: 1024px) {
    :root { --header-h: 72px; }
    .main-nav { display: none; }
    .header-actions { margin-left: auto; }
    .header-burger { display: inline-flex; }
    .site-logo img { height: 42px; }

    .hero { padding: 40px 0 80px; }
    .hero__card { grid-template-columns: 1fr; }
    .hero__content { padding: 36px 30px 10px; }
    .hero__media { padding: 40px 24px 50px; }
    .hero__media::before { left: 10%; right: 10%; }
    .compare { margin: 0; width: min(280px, 80%); }

    .service-banners, .films__grid { grid-template-columns: 1fr; }
    .films__grid { max-width: 520px; margin-left: auto; margin-right: auto; }
    .promo { grid-template-columns: 1fr; }
    .promo__img { margin: 0; border-radius: 0 0 var(--radius) var(--radius); justify-self: center; }
    .promo__img--nexera { margin: 0 auto 30px; max-width: 360px; }
    .nexera { border-radius: 40px; padding: 70px 0 60px; }
    .newsletter { grid-template-columns: 1fr; padding: 40px 26px; }

    .shop-layout { grid-template-columns: 1fr; }
    .filters { position: fixed; top: 0; left: 0; bottom: 0; z-index: 210; width: min(340px, 90vw); max-height: none; overflow-y: auto; scrollbar-width: none; border-radius: 0 var(--radius) var(--radius) 0; padding: 12px; transform: translateX(-105%); transition: transform .3s; }
    .filters__card { min-height: 100%; }
    .filters.is-open { transform: none; box-shadow: 20px 0 60px rgba(0, 0, 0, .3); }
    .filters__close { display: flex; }
    .js .filters__actions .btn { display: inline-flex; }
    .shop-toolbar__filters { display: inline-flex; }

    .product-single, .split, .contact-grid, .legal-layout { grid-template-columns: 1fr; gap: 36px; }
    .split--reverse .split__media { order: 0; }
    .legal-layout__aside { position: static; }
    .contact-title--right, .hours-line { text-align: left; }
    .counters { grid-template-columns: repeat(2, 1fr); }
    .feature-grid { grid-template-columns: 1fr; }
    .section--light { border-radius: 40px; padding: 60px 0; }
}

@media (max-width: 768px) {
    :root { --gutter: 18px; }
    .section-title, .hero__title, .promo__title, .newsletter__title, .page-hero__title { font-size: 32px; line-height: 1.2; }
    .legal-layout__title { font-size: 34px; }
    .section-head { flex-direction: column; align-items: flex-start; }
    .product-grid, .product-grid--4 { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .product-card { padding: 12px 12px 16px; }
    .product-card__title { font-size: 15px; }
    .service-banner { grid-template-columns: 1fr; padding: 32px 26px; }
    .service-banner__img { width: 180px; justify-self: center; }
    .hero__features { gap: 18px; margin-top: 30px; }
    .footer-card { padding: 34px 22px; }
    .footer-card__menus { grid-template-columns: 1fr 1fr; }
    .footer-call__number { font-size: 24px; }
    .footer-bottom { grid-template-columns: 1fr; text-align: center; }
    .footer-social { justify-content: center; }
    .site-footer { border-radius: 40px 40px 0 0; }
    .form-grid { grid-template-columns: 1fr; }
    .page-hero { padding: 60px 0; border-radius: 0 0 40px 40px; }
    .faq-item summary { grid-template-columns: 48px 1fr 40px; }
    .faq-item__num { padding-left: 16px; }
    .faq-item__a { padding: 0 20px 22px 48px; font-size: 15px; }
    .cookie-notice { left: 12px; right: 12px; bottom: 12px; width: auto; }
}

@media (max-width: 480px) {
    .product-grid, .product-grid--4 { grid-template-columns: 1fr 1fr; }
    .footer-card__menus { grid-template-columns: 1fr; }
    .counters { grid-template-columns: 1fr 1fr; gap: 12px; }
    .counter__value { font-size: 34px; }
    .search-form { flex-direction: column; }
    .btn { padding: 15px 26px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}


/* ---------- Custom preloader ---------- */
#my-preloader {
    position: fixed;
    inset: 0;
    z-index: 999999;
    background-color: #dfdfdf;
    background-image: url('../img/pattern-bg-transparent.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity .5s ease, visibility .5s ease;
}
#my-preloader.loaded { opacity: 0; visibility: hidden; }
.loader-logo-wrap {
    width: 220px;
    max-width: 60vw;
    opacity: 0;
    transform: scale(.92);
    animation: logo-in .5s ease forwards;
}
#casecare-logo { width: 100%; height: auto; display: block; }
@keyframes logo-in { to { opacity: 1; transform: scale(1); } }
@media (prefers-reduced-motion: reduce) {
    .loader-logo-wrap { animation-duration: .01s; }
    #my-preloader { transition-duration: .01s; }
}


/* ---------- Back to top ---------- */
.back-to-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 140;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    box-shadow: 0 8px 22px rgba(33, 149, 206, .4);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity .25s ease, transform .25s ease, visibility .25s ease, background .2s;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { background: var(--primary-dark); transform: translateY(-2px); }
.back-to-top:focus-visible { outline: 2px solid var(--primary-dark); outline-offset: 3px; }
@media (max-width: 600px) { .back-to-top { right: 14px; bottom: 14px; width: 44px; height: 44px; } }
@media (prefers-reduced-motion: reduce) { .back-to-top { transition-duration: .01s; } }


/* ---------- Entrance transitions ---------- */
/* main.js adds .reveal (hidden) and then .is-revealed when the element scrolls into view; both classes are removed once it has animated in. */
@media screen and (prefers-reduced-motion: no-preference) {
    .reveal { opacity: 0; }
    .reveal.is-revealed { animation: reveal-up .7s cubic-bezier(.22, .61, .36, 1) var(--reveal-delay, 0ms) both; }
    .reveal--zoom.is-revealed { animation-name: reveal-zoom; animation-duration: .9s; }
}
@keyframes reveal-up { from { opacity: 0; transform: translate3d(0, 28px, 0); } to { opacity: 1; transform: none; } }
@keyframes reveal-zoom { from { opacity: 0; transform: scale(.95); } to { opacity: 1; transform: none; } }
