/* =========================================================
   ERMED - nadpisania szablonu Seeva + WooCommerce + CF7
   Paleta: granat #282060, turkus #13a89e, limonka #b0d058
   ========================================================= */

:root {
	--ermed-navy: #282060;
	--ermed-teal: #13a89e;
	--ermed-teal-dark: #0f8a82;
	--ermed-lime: #b0d058;
	--ermed-sea: #2c5559;
	--ermed-radius: 12px;
}

/* ---------- Ogólne ---------- */
body.ermed { overflow-x: hidden; }
img { max-width: 100%; height: auto; }
a { transition: color .2s; }
.screen-reader-text { border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important; }
.skip-link:focus { clip: auto; clip-path: none; height: auto; width: auto; z-index: 100000; left: 10px; top: 10px; padding: 12px 18px; background: #fff; color: var(--ermed-navy); }
:focus-visible { outline: 3px solid var(--ermed-lime); outline-offset: 2px; }
.mt-10 { margin-top: 10px; } .mt-15 { margin-top: 15px; } .pb-120 { padding-bottom: 120px; }
.section-heading .tagline { color: var(--ermed-teal); }
.section-heading.heading-white .tagline { color: var(--ermed-lime); }
.template-btn { display: inline-flex; align-items: center; justify-content: center; gap: 4px; text-align: center; }
.template-btn i.fa-phone, .template-btn .fa-phone { margin: 0 6px 0 0; }
.text-logo { font-family: var(--font-lora); font-size: 34px; font-weight: 700; color: var(--ermed-navy); letter-spacing: 1px; }

/* Logo białe na granatowym tle */
.logo-white img { filter: brightness(0) invert(1); }
.logo-white .text-logo { color: #fff; }
.site-logo img, .panel-logo img, .canvas-logo img { max-height: 30px; width: auto; }
.footer-logo img { max-height: 32px; width: auto; }

/* ---------- Nagłówek ---------- */
.template-header.header-three { position: relative; z-index: 99; background: #fff; }
.template-header .header-top-list-one { background-color: var(--ermed-navy); }
.template-header .header-top-list-one .list-items .single-list-item .site-logo img { max-height: 34px; }
.template-header .header-nav-wrap { position: relative; background: #fff; }
.template-header.sticky-header.sticky-on .header-top-list-one { display: none !important; }
.template-header .site-menu .primary-menu > li > a { font-weight: 500; }
.template-header .site-menu ul li .sub-menu { min-width: 260px; }
.template-header .header-navigation .site-menu ul li.active > a,
.template-header .header-navigation .site-menu ul li > a:hover { color: var(--ermed-teal); }
.template-header .extra-icons { display: flex; align-items: center; gap: 22px; }
.template-header .extra-icons a { color: var(--ermed-navy); font-size: 19px; position: relative; }
.template-header .extra-icons a:hover { color: var(--ermed-teal); }
.cart-icon .cart-count { position: absolute; top: -10px; right: -12px; min-width: 19px; height: 19px; padding: 0 4px; border-radius: 10px; background: var(--ermed-teal); color: #fff; font-size: 11px; font-weight: 700; line-height: 19px; text-align: center; }
.cart-icon .cart-count[hidden] { display: none; }

.header-search { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; box-shadow: 0 12px 24px rgba(29,26,69,.08); padding: 22px 0; z-index: 50; }
.header-search.is-open { display: block; }
.ermed-search-form { position: relative; display: flex; }
.ermed-search-form input[type="search"] { width: 100%; height: 56px; border: 2px solid var(--color-heading-10); border-radius: 30px; padding: 0 64px 0 26px; font-size: 16px; background: #fff; color: var(--color-heading); }
.ermed-search-form input[type="search"]:focus { border-color: var(--ermed-teal); }
.ermed-search-form button { position: absolute; right: 6px; top: 6px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--ermed-teal); color: #fff; }
.ermed-search-form button:hover { background: var(--ermed-navy); }
.mobile-search { margin: 0 0 25px; }
.mobile-contact { margin-top: 30px; }
.mobile-contact .template-btn { width: 100%; }
.slide-panel .panel-inner .contact-us li { display: flex; gap: 12px; }

/* ---------- Hero ---------- */
.hero-area-two .hero-content .title { color: var(--ermed-navy); }
.hero-area-two .hero-content .tagline { color: var(--ermed-teal); }
.hero-btns { display: flex; flex-wrap: wrap; gap: 15px; }
.hero-area-two .hero-img { background-position: center; background-size: cover; }
@media (max-width: 991px) {
	.hero-area-two .hero-content .title { font-size: 46px; }
}
@media (max-width: 575px) {
	.hero-area-two .hero-content .title { font-size: 36px; }
	.hero-btns .template-btn { width: 100%; }
}

/* ---------- Formularze (CF7) ---------- */
.ermed-form .input-field { margin-bottom: 24px; }
.ermed-form .input-field > label { display: block; margin-bottom: 8px; font-weight: 600; color: var(--color-heading); font-size: 15px; }
.ermed-form .wpcf7-form-control-wrap { display: block; }
.ermed-form input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
.ermed-form select,
.ermed-form textarea { width: 100%; }
.contact-form.ermed-form input:not([type="checkbox"]):not([type="submit"]),
.contact-form.ermed-form textarea,
.appointment-form.ermed-form input:not([type="checkbox"]):not([type="submit"]),
.appointment-form.ermed-form textarea,
.appointment-form.ermed-form select { height: 60px; border-radius: 30px; border: 2px solid var(--color-heading-10); background: #fff; padding: 0 26px; font-size: 16px; color: var(--color-heading); }
.ermed-form textarea { height: 150px !important; padding-top: 18px !important; border-radius: 24px !important; resize: vertical; }
.ermed-form input:focus, .ermed-form textarea:focus, .ermed-form select:focus { border-color: var(--ermed-teal) !important; }
.ermed-form .nice-select { width: 100%; float: none; height: 60px; line-height: 56px; border-radius: 30px; border: 2px solid var(--color-heading-10); padding-left: 26px; font-size: 16px; }
.ermed-form .nice-select .list { width: 100%; border-radius: 16px; max-height: 280px; overflow-y: auto; }
.ermed-form .ermed-accept { font-size: 14px; line-height: 1.5; margin-bottom: 20px; }
.ermed-form .ermed-accept .wpcf7-list-item { margin: 0; }
.ermed-form .ermed-accept input { margin-right: 8px; transform: translateY(1px); }
.ermed-form .ermed-accept a { text-decoration: underline; }
.ermed-form .template-btn { min-width: 240px; height: 60px; border-radius: 30px; cursor: pointer; }
.ermed-form .wpcf7-spinner { position: absolute; margin: 18px 0 0 12px; }
.ermed-form .wpcf7-not-valid-tip { font-size: 13px; margin-top: 6px; padding-left: 20px; }
.wpcf7 form .wpcf7-response-output { border-radius: 14px; margin: 20px 0 0; padding: 14px 20px; }

/* Formularz na turkusowym tle (strona główna) */
.ermed-form-white .input-field { margin-bottom: 22px; }
.ermed-form-white input:not([type="checkbox"]):not([type="submit"]),
.ermed-form-white textarea { height: 62px; border: 2px solid #fff; border-radius: 40px; color: #fff; background: transparent; padding: 0 26px; font-size: 17px; font-weight: 600; font-family: var(--font-lora); }
.ermed-form-white textarea { height: 120px !important; }
.ermed-form-white input::placeholder, .ermed-form-white textarea::placeholder { color: rgba(255,255,255,.85); }
.ermed-form-white input:focus, .ermed-form-white textarea:focus { background: #fff; color: var(--color-heading); }
.ermed-form-white .nice-select { height: 62px; line-height: 58px; border: 2px solid #fff; border-radius: 40px; background: transparent; color: #fff; font-size: 17px; font-weight: 600; font-family: var(--font-lora); }
.ermed-form-white .nice-select:after { border-color: #fff; }
.ermed-form-white .nice-select .list { color: var(--color-heading); }
.ermed-form-white .ermed-accept, .ermed-form-white .ermed-accept a { color: #fff; }
.ermed-form-white .template-btn { width: 100%; background: var(--ermed-navy); }
.ermed-form-white .template-btn:hover { background: #fff; color: var(--ermed-navy); }
.ermed-form-white .wpcf7-not-valid-tip { color: #fff; }
.appointment-form-three .form-wrap .section-heading p { color: #fff; }
.appointment-form-three .appointment-image { background-position: center; }
.ermed-notice { padding: 16px 22px; background: var(--color-secondary-10); border-radius: 14px; }

/* ---------- Kategorie (slider na głównej) ---------- */
.ermed-cat-box .thumbnail { display: block; background: #fff; height: 330px; display: flex; align-items: center; justify-content: center; padding: 30px 30px 90px; }
.ermed-cat-box .thumbnail img { max-height: 210px; width: auto !important; object-fit: contain; margin: 0 auto; }
.fancy-content-box-two.ermed-cat-box .thumbnail::before { display: none; }
.ermed-cat-box .box-content .icon i { font-size: 46px; color: var(--ermed-teal); line-height: 1; }
.ermed-cat-box .box-content .title a { color: var(--color-heading); }
.ermed-cat-box .box-content .title a:hover { color: var(--ermed-teal); }
.service-slider .slick-track { display: flex; }
.service-slider .slick-slide { height: auto; }

/* CTA z ikoną */
.ermed-cta-icon { width: 300px; height: 300px; max-width: 80vw; max-height: 80vw; margin: 0 0 0 auto; border-radius: 50%; background: rgba(255,255,255,.12); border: 2px dashed rgba(255,255,255,.4); display: flex; align-items: center; justify-content: center; }
.ermed-cta-icon i { font-size: 130px; color: #fff; }
@media (max-width: 991px) { .ermed-cta-icon { margin: 0 auto 40px; width: 220px; height: 220px; } .ermed-cta-icon i { font-size: 96px; } }

/* O nas - ikona na obrazku */
.bordered-icon-wrapper .border-icon i { font-size: 40px; color: var(--ermed-teal); }
.bordered-icon-wrapper > img { width: 100%; object-fit: cover; border-radius: 6px; }
.big-tagline { background-color: var(--ermed-teal); }

/* Dlaczego ERMED */
.ermed-why-box { background: #fff; border-radius: var(--ermed-radius); padding: 45px 38px; height: calc(100% - 30px); box-shadow: 0 10px 30px rgba(29,26,69,.06); transition: transform .25s, box-shadow .25s; }
.ermed-why-box:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(29,26,69,.1); }
.ermed-why-box .icon { width: 84px; height: 84px; border-radius: 50%; background: var(--color-secondary-10); display: flex; align-items: center; justify-content: center; margin-bottom: 26px; }
.ermed-why-box .icon i { font-size: 38px; color: var(--ermed-teal); }
.ermed-why-box .title { font-size: 24px; margin-bottom: 14px; }
.ermed-why-box p { margin-bottom: 0; }
.ermed-why-box .more-link { display: inline-block; margin-top: 18px; }
.more-link { font-weight: 600; color: var(--ermed-teal); }
.more-link:hover { color: var(--ermed-navy); }
.more-link i { margin-left: 6px; }
.ermed-wcu::before { bottom: 0 !important; }
.ermed-wcu { padding-bottom: 120px; }
.ermed-why-box-white .title { color: var(--color-heading); }

/* ---------- Karty produktów ---------- */
ul.products, ul.product-loop { list-style: none; padding: 0; margin-left: -15px; margin-right: -15px; }
ul.products::before, ul.products::after { display: none !important; }
ul.products li.product { float: none !important; width: auto !important; margin: 0 !important; padding: 0 15px !important; }
.single-product { background: #fff; border: 1px solid var(--color-heading-07); border-radius: var(--ermed-radius); padding: 18px 18px 22px; height: calc(100% - 40px); display: flex; flex-direction: column; transition: box-shadow .25s, transform .25s; }
.single-product:hover { box-shadow: 0 16px 36px rgba(29,26,69,.09); transform: translateY(-4px); }
.single-product .thumbnail { display: flex; align-items: center; justify-content: center; aspect-ratio: 1 / 1; background: #fff; overflow: hidden; margin-bottom: 18px; }
.single-product .thumbnail img { width: 100% !important; height: 100% !important; object-fit: contain; }
.single-product .content { display: block; flex: 1; }
.single-product .content .content-left,
.single-product .content .content-right { max-width: 100%; flex: none; text-align: left; }
.single-product .content .name { font-family: var(--font-lora); font-size: 18px; line-height: 1.35; margin-bottom: 8px; }
.single-product .content .name a { color: var(--color-heading); }
.single-product .content .categories { margin-bottom: 10px; font-size: 14px; }
.single-product .content .categories a { color: var(--ermed-teal); }
.single-product .content .price { font-size: 17px; color: var(--ermed-navy); }
.ermed-ask-price { font-family: var(--font-inter); font-size: 14px; font-weight: 500; color: var(--color-body); }
.ermed-loop-actions { margin-top: 14px; }
.ermed-loop-actions .ermed-ask-btn,
.ermed-loop-actions .button { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 15px; color: var(--ermed-teal); background: none; padding: 0; }
.ermed-loop-actions .ermed-ask-btn:hover { color: var(--ermed-navy); }
.ermed-loop-actions .added_to_cart { display: block; margin-top: 6px; font-size: 14px; }

/* Topbar listy */
.product-loop-topbar { margin-bottom: 30px; }
.product-loop-count .woocommerce-result-count { margin: 0; float: none; }
.product-loop-filter { text-align: right; }
.product-loop-filter .woocommerce-ordering { float: none; margin: 0; display: inline-block; }
.product-loop-filter .nice-select { float: none; display: inline-block; }
@media (max-width: 575px) { .product-loop-filter { text-align: left; margin-top: 12px; } }

/* Paginacja */
.woocommerce nav.woocommerce-pagination ul { border: 0; display: flex; justify-content: center; gap: 10px; }
.woocommerce nav.woocommerce-pagination ul li { border: 0; }
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span { width: 46px; height: 46px; line-height: 46px; padding: 0; border-radius: 50%; background: var(--color-grey); color: var(--color-heading); font-weight: 600; }
.woocommerce nav.woocommerce-pagination ul li span.current,
.woocommerce nav.woocommerce-pagination ul li a:hover { background: var(--ermed-teal); color: #fff; }

/* Sidebar sklepu */
.shop-sidebar .widget { margin-bottom: 30px; padding: 30px; border-radius: var(--ermed-radius); background: var(--color-grey); }
.shop-sidebar .widget-title { margin-bottom: 18px; font-size: 20px; }
.shop-sidebar .categories-widget ul { list-style: none; padding: 0; margin: 0; }
.shop-sidebar .categories-widget li a { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--color-heading-07); color: var(--color-heading); font-size: 15px; }
.shop-sidebar .categories-widget li:last-child a { border-bottom: 0; }
.shop-sidebar .categories-widget li a:hover,
.shop-sidebar .categories-widget li.current a { color: var(--ermed-teal); font-weight: 600; }
.shop-sidebar .categories-widget .count { color: var(--color-heading-50); font-weight: 400; }
.shop-sidebar .ermed-search-form input[type="search"] { height: 50px; font-size: 14px; padding-left: 18px; }
.shop-sidebar .ermed-search-form button { width: 38px; height: 38px; }
@media (max-width: 991px) { .shop-sidebar { margin-top: 40px; } }

.ermed-side-box { background: var(--ermed-navy) !important; color: rgba(255,255,255,.85); border-radius: var(--ermed-radius); padding: 35px 30px; }
.ermed-side-box .title, .ermed-side-box h4, .ermed-side-box h5 { color: #fff; }
.ermed-side-box .template-btn { margin-top: 10px; width: 100%; }
.ermed-side-box-light { background: var(--color-grey) !important; color: var(--color-body); }
.ermed-side-box-light h5 { color: var(--color-heading); }

/* Karta produktu */
.ermed-single-product div.product { display: flex; flex-wrap: wrap; gap: 0 50px; }
.ermed-single-product div.product div.images,
.ermed-single-product div.product div.summary { float: none !important; }
.ermed-single-product div.product div.images { width: calc(45% - 25px) !important; background: #fff; border: 1px solid var(--color-heading-07); border-radius: var(--ermed-radius); padding: 24px; }
.ermed-single-product div.product div.summary { width: calc(55% - 25px) !important; }
.ermed-single-product div.product .woocommerce-tabs,
.ermed-single-product div.product .related { width: 100%; }
.ermed-single-product div.product div.images img { max-height: 480px; width: auto !important; margin: 0 auto; object-fit: contain; }
.ermed-single-product div.product .product_title { font-size: 38px; color: var(--ermed-navy); margin-bottom: 14px; line-height: 1.25; }
.ermed-single-product div.product p.price { color: var(--ermed-teal) !important; font-family: var(--font-lora); font-size: 26px !important; }
.ermed-single-product div.product p.price .ermed-ask-price { font-size: 17px; color: var(--color-body); }
.ermed-single-product .woocommerce-product-details__short-description { margin: 18px 0; }
.ermed-inquiry { margin: 26px 0; padding: 26px; border-radius: var(--ermed-radius); background: var(--color-secondary-10); }
.ermed-inquiry .template-btn { margin: 8px 10px 0 0; }
.ermed-medical-notice { margin-top: 24px; padding: 14px 18px; border-left: 4px solid var(--ermed-lime); background: var(--color-grey); font-size: 14px; font-weight: 600; color: var(--color-heading); }
.ermed-medical-notice i { color: var(--ermed-teal); margin-right: 6px; }
.ermed-single-product .product_meta { padding-top: 18px; border-top: 1px solid var(--color-heading-07); font-size: 15px; }
.ermed-single-product .product_meta > span { display: block; margin-bottom: 6px; }
.ermed-single-product .product_meta a { color: var(--ermed-teal); }
.ermed-single-product .quantity .qty { height: 56px; width: 90px; border-radius: 30px; border: 2px solid var(--color-heading-10); text-align: center; }
.woocommerce .ermed-single-product div.product form.cart { display: flex; gap: 12px; align-items: center; }
.ermed-single-product .woocommerce-tabs { margin-top: 60px; }
.woocommerce div.product .woocommerce-tabs ul.tabs { padding: 0; margin-bottom: 26px; }
.woocommerce div.product .woocommerce-tabs ul.tabs::before { border-color: var(--color-heading-10); }
.woocommerce div.product .woocommerce-tabs ul.tabs li { background: var(--color-grey); border-color: var(--color-heading-10); border-radius: 12px 12px 0 0; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active { background: #fff; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { font-family: var(--font-lora); color: var(--color-heading); }
.ermed-single-product .related { margin-top: 70px; }
.ermed-single-product .related > h2 { font-size: 36px; margin-bottom: 36px; text-align: center; }
@media (max-width: 991px) {
	.ermed-single-product div.product div.images,
	.ermed-single-product div.product div.summary { width: 100% !important; }
	.ermed-single-product div.product div.images { margin-bottom: 30px; }
	.ermed-single-product div.product .product_title { font-size: 30px; }
}
.ermed-empty-cat { padding: 30px; border-radius: var(--ermed-radius); background: var(--color-grey); }

/* Przyciski WC */
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit,
.woocommerce a.button.alt, .woocommerce button.button.alt, .wc-block-components-button:not(.is-link) {
	background-color: var(--ermed-teal) !important; color: #fff !important; border-radius: 30px !important; padding: 16px 32px !important; font-weight: 600 !important; font-family: var(--font-inter); line-height: 1.2 !important; }
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover, .wc-block-components-button:not(.is-link):hover { background-color: var(--ermed-navy) !important; }
.woocommerce-message, .woocommerce-info { border-top-color: var(--ermed-teal); }
.woocommerce-message::before, .woocommerce-info::before { color: var(--ermed-teal); }
.woocommerce span.onsale { background: var(--ermed-lime); color: var(--ermed-navy); }

/* Strony WooCommerce (koszyk, zamówienie, konto) */
.ermed-wc-page input[type="text"], .ermed-wc-page input[type="email"], .ermed-wc-page input[type="tel"], .ermed-wc-page input[type="password"], .ermed-wc-page textarea, .ermed-wc-page select { border-radius: 10px; }
.woocommerce-MyAccount-navigation ul { list-style: none; padding: 0; }
.woocommerce-MyAccount-navigation li a { display: block; padding: 12px 18px; border-radius: 10px; color: var(--color-heading); }
.woocommerce-MyAccount-navigation li.is-active a, .woocommerce-MyAccount-navigation li a:hover { background: var(--color-secondary-10); color: var(--ermed-teal); }

/* ---------- Treść stron ---------- */
.entry-content > *:last-child { margin-bottom: 0; }
.entry-content p, .entry-content li { font-size: 17px; line-height: 1.8; }
.entry-content h2 { font-size: 34px; margin: 40px 0 18px; }
.entry-content h3 { font-size: 26px; margin: 32px 0 14px; }
.entry-content h4 { font-size: 21px; margin: 26px 0 12px; }
.entry-content ul, .entry-content ol { padding-left: 22px; margin-bottom: 20px; }
.entry-content ul { list-style: disc; }
.entry-content ol { list-style: decimal; }
.entry-content a { color: var(--ermed-teal); text-decoration: underline; text-underline-offset: 3px; }
.entry-content a.template-btn { text-decoration: none; color: #fff; }
.entry-content blockquote { border-left: 4px solid var(--ermed-teal); padding: 10px 0 10px 24px; font-family: var(--font-lora); font-style: italic; font-size: 20px; color: var(--color-heading); }
.entry-content table { width: 100%; margin-bottom: 24px; }
.entry-content th, .entry-content td { padding: 10px 14px; border: 1px solid var(--color-heading-10); }

/* Akordeon (bloki "Szczegóły") */
.ermed-accordion details { border: 1px solid var(--color-heading-10); border-radius: var(--ermed-radius); margin-bottom: 14px; background: #fff; transition: box-shadow .2s; }
.ermed-accordion details[open] { box-shadow: 0 10px 28px rgba(29,26,69,.07); border-color: transparent; }
.ermed-accordion summary { list-style: none; cursor: pointer; padding: 20px 60px 20px 26px; position: relative; font-family: var(--font-lora); font-size: 19px; font-weight: 600; color: var(--color-heading); }
.ermed-accordion summary::-webkit-details-marker { display: none; }
.ermed-accordion summary::after { content: "\f067"; font-family: "Font Awesome 5 Pro"; font-weight: 400; position: absolute; right: 24px; top: 50%; transform: translateY(-50%); color: var(--ermed-teal); font-size: 16px; }
.ermed-accordion details[open] summary::after { content: "\f068"; }
.ermed-accordion details > *:not(summary) { padding: 0 26px; }
.ermed-accordion details > *:last-child { padding-bottom: 22px; margin-bottom: 0; }
.ermed-accordion h2:first-child { margin-top: 0; }

/* Kontakt */
.contact-form-area .contact-map iframe { width: 100%; height: 480px; border: 0; display: block; }
.ermed-link-white { color: #fff; font-weight: 600; text-decoration: underline; }
.ermed-link-white:hover { color: var(--ermed-lime); }
.ermed-contact-box { padding: 40px; border-radius: var(--ermed-radius); background: var(--color-grey); }
.ermed-contact-box p { margin-bottom: 10px; }
.ermed-contact-box i { color: var(--ermed-teal); width: 22px; }
.ermed-contact-box .big-phone { font-family: var(--font-lora); font-size: 30px; font-weight: 700; color: var(--ermed-navy); }
@media (max-width: 991px) { .ermed-contact-box { margin-top: 40px; } }
.ermed-appointment .appointment-image { background-position: center; min-height: 420px; }

/* Belka tytułu */
.page-title-area { background: linear-gradient(135deg, rgba(19,168,158,.12), rgba(176,208,88,.12)); }
.page-title-area .breadcrumb-nav { flex-wrap: wrap; row-gap: 8px; }
.page-title-area .breadcrumb-nav a { color: var(--color-heading); }
.page-title-area .breadcrumb-nav a:hover { color: var(--ermed-teal); }
.page-title-area .page-title { color: var(--ermed-navy); }

/* 404 */
.ermed-404 { font-size: 140px; line-height: 1; color: var(--ermed-teal); }
.ermed-search-404 { max-width: 520px; margin: 0 auto; }

/* ---------- Stopka ---------- */
.template-footer .footer-inner.bg-color-primary { background-color: var(--ermed-navy); }
.ermed-cta { padding: 50px 40px; border-radius: var(--ermed-radius); min-height: 260px; position: relative; overflow: hidden; }
.ermed-cta-1 { background: var(--ermed-teal); }
.ermed-cta-2 { background: var(--ermed-sea); }
.ermed-cta-3 { background: #3a3480; }
.ermed-cta .cta-icon { position: absolute; right: -10px; bottom: -20px; font-size: 150px; color: rgba(255,255,255,.12); }
.ermed-cta .cta-title { position: relative; }
.ermed-cta .template-btn { position: relative; }
.template-footer .widget .nav-links { list-style: none; padding: 0; }
.template-footer .newsletters-widget .template-btn-white { padding: 14px 26px; }
.template-footer .copyright-area a { color: var(--ermed-lime); }
.back-to-top { background-color: var(--ermed-teal); }

/* ---------- Mobile ---------- */
@media (max-width: 991px) {
	.template-header .header-navigation { padding: 16px 0; }
	.site-logo.d-lg-none img { max-height: 24px; }
	.appointment-form-three .form-wrap { padding-left: 25px; padding-right: 25px; }
	.ermed-cat-box .thumbnail { height: 280px; }
}
@media (max-width: 575px) {
	.section-heading .title { font-size: 30px; }
	.page-title-area { padding: 50px 0; }
	.page-title-area .page-title { font-size: 30px; }
	.ermed-form .template-btn { width: 100%; min-width: 0; }
	.contact-form-area .contact-map iframe { height: 320px; }
	.big-tagline .tagline { font-size: 24px; }
	.ermed-cta { padding: 40px 28px; min-height: 0; }
}

/* ---------- Poprawki po podglądzie na stagingu (v1.0.1) ---------- */
.template-header .header-top-list-one .list-items .single-list-item:first-child { flex: 0 0 auto; }
.template-header .header-top-list-one .list-items .single-list-item .site-logo img { max-height: none; width: 230px; height: auto; }
.template-header .header-top-list-one .list-items .contact-info .info-title,
.template-header .header-top-list-one .list-items .contact-info .info-desc { white-space: nowrap; }
.site-logo.d-lg-none img { max-height: none; width: 170px; }
.footer-logo img { max-height: none; width: 220px; }
.panel-logo img, .canvas-logo img { max-height: none; width: 200px; }
.hero-area-two { padding-top: 130px; padding-bottom: 130px; }
.hero-area-two .hero-content .title { font-size: 66px; }
@media (max-width: 1199px) { .hero-area-two .hero-content .title { font-size: 54px; } }
@media (max-width: 575px) { .hero-area-two .hero-content .title { font-size: 38px; } .hero-area-two { padding-top: 80px; padding-bottom: 80px; } }
.hero-area-two .hero-content p { max-width: 90%; font-size: 18px; }
.hero-area-two .hero-img { background-position: 58% center; background-color: transparent; }
.appointment-form-three .appointment-image { background-position: 80% center; }
.ermed-appointment .appointment-image { background-position: 85% center; }
.bordered-icon-wrapper > img { height: 460px; object-fit: cover; object-position: center 30%; }
@media (max-width: 991px) { .bordered-icon-wrapper > img { height: 320px; } }
.template-footer .template-btn-white, .template-footer .template-btn-white i,
.ermed-side-box .template-btn-white, .ermed-side-box .template-btn-white i { color: var(--ermed-navy) !important; }
.template-footer .template-btn-white:hover, .template-footer .template-btn-white:hover i,
.ermed-side-box .template-btn-white:hover, .ermed-side-box .template-btn-white:hover i { color: #fff !important; }
.cta-boxed-three .cta-img { min-height: 300px; display: flex; align-items: center; justify-content: flex-end; }
.shop-sidebar .categories-widget li a { text-align: left; }
.shop-sidebar .categories-widget li a::before { display: none; }
.ermed-form input[type="checkbox"] { width: 18px !important; height: 18px !important; min-width: 18px; padding: 0 !important; border-radius: 4px !important; margin: 0 8px 0 0 !important; vertical-align: -3px; accent-color: var(--ermed-teal); background: #fff !important; }
.ermed-form .ermed-accept label { display: inline; font-weight: 400; }
.ermed-form select { appearance: auto; }
.appointment-form-two select { width: 100%; height: 60px; border-radius: 30px; border: 0; padding: 0 22px; font-family: var(--font-lora); font-size: 17px; font-weight: 600; color: var(--color-heading); background: #fff; }
.ermed-form-white select { width: 100%; height: 62px; border-radius: 40px; border: 2px solid #fff; padding: 0 22px; background: transparent; color: #fff; font-family: var(--font-lora); font-size: 17px; font-weight: 600; }
.ermed-form-white select option { color: var(--color-heading); }

/* Ikony koszyka i konta ukryte (do włączenia po starcie sprzedaży: usuń tę regułę) */
.template-header .extra-icons li:has(> .cart-icon),
.template-header .extra-icons li:has(> a[href*="moje-konto"]) { display: none !important; }

/* Górna belka: mniejsze teksty kontaktowe */
.template-header .header-top-list-one .list-items .single-list-item { padding-top: 18px; padding-bottom: 18px; }
.template-header .header-top-list-one .list-items .contact-info .info-title { font-size: 13px; margin-bottom: 4px; }
.template-header .header-top-list-one .list-items .contact-info .info-desc { font-size: 17px; }
.template-header .header-top-list-one .list-items .contact-info .icon img { width: 30px; height: auto; }

/* CTA "Doradztwo fizjoterapeutów": ilustracja */
.cta-boxed-three .ermed-cta-illustration { width: 380px; height: 380px; border-radius: 28px; border: 8px solid rgba(255,255,255,.18); background: #fff; overflow: hidden; box-shadow: 0 20px 50px rgba(0,0,0,.25); }
.cta-boxed-three .ermed-cta-illustration img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 991px) { .cta-boxed-three .ermed-cta-illustration { width: 280px; height: 280px; } }

/* Stopka: mniejsze teksty */
.template-footer .footer-widgets .widget .widget-title { font-size: 20px; margin-bottom: 20px; }
.template-footer .footer-widgets .widget p,
.template-footer .footer-widgets .widget .nav-links li,
.template-footer .footer-widgets .widget .nav-links li a,
.template-footer .footer-widgets .widget .contact-list li,
.template-footer .footer-widgets .widget .contact-list li a { font-size: 14px; line-height: 1.6; }
.template-footer .footer-widgets .widget .nav-links li { margin-bottom: 8px; }
.template-footer .footer-widgets .widget .contact-list li { margin-bottom: 10px; }
.template-footer .footer-widgets .widget .contact-list li a { font-family: var(--font-inter); }
.template-footer .footer-widgets .widget .opening-notice h6 { font-size: 15px; }
.template-footer .footer-widgets .widget .opening-notice p { font-size: 14px; }
.template-footer .copyright-area p { font-size: 13px; }
.ermed-cta .cta-title { font-size: 24px; line-height: 1.35; }
.template-footer .newsletters-widget .template-btn-white { font-size: 15px; padding: 12px 22px; }
