/**
 * Prime Clinic — minimal gold buttons + gold-sand gradients.
 * Loaded LAST. Palette: gold #c09c73, bronze #98774e, cream #f7f1e8.
 * No green, teal, mint. No candy shadows / 12px pills.
 */

:root {
  --pc-gold: #c09c73;
  --pc-bronze: #98774e;
  --pc-cream: #f7f1e8;
  --pc-ivory: #faf6f0;
  --pc-sand: #efe4d4;
  --pc-ink: #2a241e;
  --pc-mute: #5d564d;
  --pc-line: #e8dfd2;
  --pc-white: #ffffff;
  --pc-radius: 7px;
  --pc-grad-sand: linear-gradient(180deg, #faf6f0 0%, #f7f1e8 48%, #f3eadc 100%);
  --pc-grad-sand-soft: radial-gradient(1200px 520px at 12% -8%, rgba(192, 156, 115, 0.16), transparent 58%),
    linear-gradient(180deg, #faf6f0 0%, #f7f1e8 42%, #efe4d4 100%);
  --pc-grad-hero: linear-gradient(
      105deg,
      rgba(28, 20, 14, 0.74) 0%,
      rgba(44, 32, 20, 0.42) 38%,
      rgba(152, 119, 78, 0.2) 72%,
      rgba(192, 156, 115, 0.12) 100%
    ),
    linear-gradient(
      180deg,
      rgba(28, 20, 14, 0.2) 0%,
      rgba(28, 20, 14, 0.04) 42%,
      rgba(24, 16, 10, 0.62) 100%
    );
  --pc-grad-hero-mobile: linear-gradient(
    180deg,
    rgba(28, 20, 14, 0.22) 0%,
    rgba(44, 30, 18, 0.4) 40%,
    rgba(24, 16, 10, 0.78) 100%
  );
  --pc-grad-footer: linear-gradient(180deg, #3a322c 0%, #2c261f 52%, #231e19 100%);

  --main: #c09c73;
  --omain: #faf6f0;
  --fon: #f7f1e8;
  --hover: #98774e;
  --black: #2a241e;
  --white: #ffffff;
  --border: #e8dfd2;
  --dfon: #ece6dc;
  --green: #c09c73;
  --gray: #5d564d;
  --shadow: 0 8px 24px rgba(42, 36, 30, 0.06);
  --mshadow: none;
  --red: #c09c73;
  --hred: #98774e;

  --wp--preset--color--light-green-cyan: #c09c73;
  --wp--preset--color--vivid-green-cyan: #98774e;
  --wp--preset--gradient--light-green-cyan-to-vivid-green-cyan: linear-gradient(135deg, #f7f1e8 0%, #c09c73 100%);
}

.main-header,
.pc-header {
  --pc-gold: #c09c73;
  --pc-gold-dark: #98774e;
  --pc-line: #e8dfd2;
  --pc-paper: #f7f1e8;
}

html,
body {
  background: var(--pc-grad-sand-soft);
  background-color: var(--pc-cream);
  color: var(--pc-ink);
}

/* ==========================================================================
   Buttons — flat gold or ghost, 7px, no candy shadow
   ========================================================================== */

html body a.btn,
html body span.btn,
html body .btn,
html body button.btn,
html body input[type="submit"].btn,
html body a.btn.btn-main,
html body span.btn.btn-main,
html body .btn.btn-main,
html body .btn.btn-red,
html body .btn.btn-header,
html body .btn.btn-zapis,
html body .btn-header.btn-zapis,
html body .pc-header__cta,
html body .prime-head__cta,
html body .pc-hs-cta,
html body .pc-header .btn-header.btn-zapis,
html body .pc-header span.btn.btn-zapis,
html body .pc-drawer__cta,
html body input.wpcf7-submit,
html body .wpcf7 input[type="submit"],
html body .wpcf7-submit,
html body button.wpcf7-submit,
html body .btn.btn-blue.submit-otpzvonok,
html body .pc-cine-hero__cta,
html body span.pc-cine-hero__cta.btn-zapis,
html body .prime-hero-actions .btn,
html body .main_slider-block .btn.btn-main,
html body .coockie-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 22px;
  border-radius: 7px !important;
  border: 1px solid #c09c73 !important;
  background-color: #c09c73 !important;
  background-image: none !important;
  background: #c09c73 none !important;
  color: #ffffff !important;
  font-weight: 500;
  letter-spacing: 0.02em;
  box-shadow: none !important;
  text-shadow: none !important;
  transform: none !important;
  text-decoration: none !important;
  filter: none !important;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

html body a.btn:hover,
html body span.btn:hover,
html body .btn:hover,
html body a.btn.btn-main:hover,
html body span.btn.btn-main:hover,
html body .btn.btn-main:hover,
html body .btn.btn-red:hover,
html body .btn.btn-header:hover,
html body .btn.btn-zapis:hover,
html body span.btn.btn-zapis:hover,
html body .pc-header__cta:hover,
html body .prime-head__cta:hover,
html body .pc-hs-cta:hover,
html body .pc-drawer__cta:hover,
html body .wpcf7 input[type="submit"]:hover,
html body .wpcf7-submit:hover,
html body button.wpcf7-submit:hover,
html body .pc-cine-hero__cta:hover,
html body .pc-cine-hero__cta:focus-visible,
html body .coockie-btn:hover {
  background-color: #98774e !important;
  background-image: none !important;
  background: #98774e none !important;
  border-color: #98774e !important;
  color: #ffffff !important;
  box-shadow: none !important;
  transform: none !important;
  text-decoration: none !important;
  filter: none !important;
}

a.btn:focus-visible,
.btn.btn-main:focus-visible,
.pc-header__cta:focus-visible,
.wpcf7-submit:focus-visible,
.pc-cine-hero__cta:focus-visible {
  outline: 2px solid var(--pc-bronze);
  outline-offset: 3px;
}

/* Ghost / outline CTAs */
.btn.btn-omain,
.btn.btn-main-border,
.btn.btn-border,
.prime-hero-actions .btn.btn-main:not(.btn-zapis),
.main_slider-block .btn.btn-main:not(.btn-zapis),
.pc-cine-hero__ghost,
a.pc-cine-hero__more {
  background: transparent !important;
  background-image: none !important;
  border: 1px solid var(--pc-gold) !important;
  color: var(--pc-gold) !important;
  box-shadow: none !important;
  text-shadow: none !important;
}

.btn.btn-omain:hover,
.btn.btn-main-border:hover,
.btn.btn-border:hover,
.prime-hero-actions .btn.btn-main:not(.btn-zapis):hover,
.main_slider-block .btn.btn-main:not(.btn-zapis):hover,
.pc-cine-hero__ghost:hover,
a.pc-cine-hero__more:hover {
  background: rgba(192, 156, 115, 0.12) !important;
  background-image: none !important;
  border-color: var(--pc-bronze) !important;
  color: var(--pc-bronze) !important;
}

.btn.btn-white-border,
.btn.btn-owhite {
  background: transparent !important;
  background-image: none !important;
  border-color: rgba(247, 241, 232, 0.7) !important;
  color: var(--pc-cream) !important;
  box-shadow: none !important;
  text-shadow: none !important;
}

.btn.btn-white-border:hover,
.btn.btn-owhite:hover {
  background: rgba(247, 241, 232, 0.12) !important;
  border-color: var(--pc-gold) !important;
  color: var(--pc-cream) !important;
}

.btn.btn-white,
.btn.btn-fon {
  background: var(--pc-ivory) !important;
  background-image: none !important;
  border-color: var(--pc-line) !important;
  color: var(--pc-bronze) !important;
  box-shadow: none !important;
}

.btn.btn-white:hover,
.btn.btn-fon:hover {
  background: var(--pc-cream) !important;
  border-color: var(--pc-gold) !important;
  color: var(--pc-bronze) !important;
}

.search-form button.btn {
  background: rgba(192, 156, 115, 0.14) !important;
  background-image: none !important;
  border-color: transparent !important;
  color: var(--pc-bronze) !important;
  box-shadow: none !important;
  min-height: 0;
  padding: 5px 20px;
}

.search-form button.btn:hover {
  background: var(--pc-gold) !important;
  color: var(--pc-white) !important;
}

.pc-header .open-service-menu,
.pc-header .open-service-menu.btn,
.main-header:not(.pc-header) .open-service-menu.btn {
  border-radius: var(--pc-radius) !important;
  box-shadow: none !important;
  text-shadow: none !important;
  background-image: none !important;
}

.pc-nav-toggle {
  border-radius: var(--pc-radius) !important;
  box-shadow: none !important;
}

/* ==========================================================================
   Cinematic hero — warmer gold-sand overlay
   ========================================================================== */

html body .pc-cine-hero .pc-cine-hero__shade,
html body .pc-cine-hero__shade,
html body .prime-hero-slide .back.prime-hero-back::before,
html body .prime-hero-back .effects,
html body .main_slider-block .effects,
html body .main_slider-block .left .back .effects,
html body .first-screen-main .effects,
html body .main_slider-block .left .back::before {
  background:
    linear-gradient(
      105deg,
      rgba(28, 20, 14, 0.74) 0%,
      rgba(44, 32, 20, 0.42) 38%,
      rgba(152, 119, 78, 0.2) 72%,
      rgba(192, 156, 115, 0.12) 100%
    ),
    linear-gradient(
      180deg,
      rgba(28, 20, 14, 0.2) 0%,
      rgba(28, 20, 14, 0.04) 42%,
      rgba(24, 16, 10, 0.62) 100%
    ) !important;
}

.prime-hero-slide .back.prime-hero-back::after,
.pc-cine-hero__shade::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
    90% 70% at 18% 42%,
    rgba(192, 156, 115, 0.2) 0%,
    rgba(28, 20, 14, 0) 62%
  );
}

.pc-cine-hero,
.main_slider-block,
#block-0.main_slider-block,
.pbl.main_slider-block {
  background: #1c1610 !important;
}

.pc-cine-hero__kicker,
.prime-hero-kicker {
  color: #e4c49a !important;
}

.pc-cine-hero__cta,
span.pc-cine-hero__cta.btn-zapis {
  border-radius: var(--pc-radius) !important;
  box-shadow: none !important;
}

.pc-cine-hero__nav:hover,
.pc-cine-hero__nav:focus-visible {
  background: var(--pc-gold) !important;
  border-color: var(--pc-gold) !important;
}

.pc-cine-hero__dot.is-active,
.pc-cine-hero__progress > i,
.prime-hero-services .slick-dots .slick-active button {
  background: var(--pc-gold) !important;
}

.action-link .linear,
.action-item .linear,
.action-link .back::before {
  background: linear-gradient(
    180deg,
    rgba(28, 20, 14, 0) 0%,
    rgba(44, 30, 18, 0.45) 46%,
    rgba(152, 119, 78, 0.7) 100%
  ) !important;
}

/* ==========================================================================
   Section backgrounds — cream / sand, no mint paper
   ========================================================================== */

.bfon,
.bgray,
.bomain,
.page-block,
.archive-page,
.content-single-page,
.napr_home-block,
.napr-home,
.grid_img_text-block,
.about_gallery-block,
.documents-block,
.doctors-block {
  background-color: var(--pc-ivory);
  background-image: linear-gradient(180deg, #faf6f0 0%, #ffffff 36%, #f7f1e8 100%);
}

.bwhite.pbl,
.pbl.bwhite {
  background: linear-gradient(180deg, #ffffff 0%, #faf6f0 100%);
}

.loop-service-item .back::after {
  background: linear-gradient(
    180deg,
    rgba(28, 20, 14, 0.1) 0%,
    rgba(44, 30, 18, 0.28) 48%,
    rgba(122, 94, 60, 0.72) 100%
  ) !important;
}

.loop-service-item .back:hover::after {
  background: linear-gradient(
    180deg,
    rgba(28, 20, 14, 0.08) 0%,
    rgba(152, 119, 78, 0.28) 50%,
    rgba(122, 94, 60, 0.8) 100%
  ) !important;
}

.doctor-item > .back,
.doctor-item > .br-20.back,
.review-content,
.coockie-modal {
  background: linear-gradient(180deg, #ffffff 0%, #faf6f0 100%) !important;
  border-color: var(--pc-line) !important;
  box-shadow: 0 10px 28px rgba(42, 36, 30, 0.05);
}

.doctor-item .img .back,
.doctor-item .img > .back {
  background-color: #f7f1e8 !important;
}

.blocks-footer,
.blocks-footer.pbl {
  background: #faf6f0 !important;
  background-image: none !important;
}

.contacts-block .text-block,
.contact-footer-item .text-block {
  background: #faf6f0 !important;
  background-image: none !important;
  border: 0 !important;
  box-shadow: none !important;
}

.bhover {
  background: var(--pc-gold) !important;
  background-image: none !important;
}

.bhover:hover {
  background: var(--pc-bronze) !important;
}

a.bfon,
.bfon.tr {
  background: linear-gradient(160deg, #ffffff 0%, #f7f1e8 100%) !important;
}

a.bfon:hover {
  background: linear-gradient(160deg, #faf6f0 0%, #ead9c0 100%) !important;
}

.tabs:not(.no-style) .tab span,
.falsh-tab span {
  background: var(--pc-ivory);
  border-color: var(--pc-gold);
}

.tabs .tab.active span,
.tabs .tab span:hover {
  background: var(--pc-gold) !important;
  color: var(--pc-white) !important;
}

/* ==========================================================================
   Header / footer / forms
   ========================================================================== */

.pc-header.main-header,
.main-header,
.center-header {
  background: linear-gradient(180deg, #ffffff 0%, #faf6f0 100%) !important;
  border-bottom-color: var(--pc-line) !important;
}

.service-menu,
.pc-drawer,
.mobile-menu,
.fixed-mobile-menu,
.pc-drawer__panel {
  background: linear-gradient(180deg, #ffffff 0%, #f7f1e8 100%) !important;
}

.main-footer,
.main-footer.bblack,
footer.main-footer {
  background: var(--pc-grad-footer) !important;
  color: var(--pc-cream) !important;
  box-shadow: inset 0 1px 0 rgba(192, 156, 115, 0.28);
}

.main-footer a,
.main-footer .link,
.main-footer .cwhite {
  color: var(--pc-cream);
}

.main-footer a:hover,
.main-footer .link:hover {
  color: #e4c49a !important;
}

.bottom-footer {
  border-color: rgba(192, 156, 115, 0.22) !important;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="search"],
textarea,
select,
.wpcf7-form-control:not(.wpcf7-submit):not(.wpcf7-checkbox):not(.wpcf7-acceptance) {
  background: linear-gradient(180deg, #ffffff 0%, #faf6f0 100%);
  border-color: var(--pc-line) !important;
  color: var(--pc-ink);
}

input:focus,
textarea:focus,
select:focus,
.wpcf7-form-control:focus {
  border-color: var(--pc-gold) !important;
  box-shadow: 0 0 0 3px rgba(192, 156, 115, 0.18);
  outline: none;
}

.checkbox-block input:checked ~ span:after {
  border-color: var(--pc-gold) !important;
  background: var(--pc-gold) !important;
}

/* Kill leftover green / teal / mint */
.has-light-green-cyan-color,
.has-vivid-green-cyan-color {
  color: var(--pc-bronze) !important;
}

.has-light-green-cyan-background-color,
.has-vivid-green-cyan-background-color,
.has-light-green-cyan-to-vivid-green-cyan-gradient-background {
  background: var(--pc-gold) !important;
  background-image: none !important;
}

.has-light-green-cyan-border-color,
.has-vivid-green-cyan-border-color {
  border-color: var(--pc-gold) !important;
}

.hero__text::before,
.page-hero__subtitle::before,
.termin::before {
  background: var(--pc-gold) !important;
}

svg rect[fill="#F5F8F9"],
svg rect[fill="#f5f8f9"] {
  fill: #f7f1e8;
}

svg rect[stroke="#DDE8E8"],
svg rect[stroke="#dde8e8"] {
  stroke: #e8dfd2;
}

.chover,
a.chover {
  color: var(--pc-bronze) !important;
}

/* ==========================================================================
   Mobile
   ========================================================================== */

@media (max-width: 768px) {
  html body a.btn,
  html body span.btn,
  html body .btn,
  html body .btn.btn-main,
  html body .btn.btn-header,
  html body .btn.btn-zapis,
  html body .wpcf7-submit,
  html body .pc-header__cta,
  html body .prime-head__cta,
html body .pc-hs-cta,
  html body .pc-cine-hero__cta,
  html body .prime-hero-actions .btn {
    min-height: 44px !important;
    padding: 12px 18px !important;
    border-radius: 7px !important;
    box-shadow: none !important;
    background: #c09c73 none !important;
    background-image: none !important;
  }

  .pc-cine-hero__shade,
  .prime-hero-slide .back.prime-hero-back::before,
  .main_slider-block .left .back::before {
    background: var(--pc-grad-hero-mobile) !important;
  }

  body {
    background: var(--pc-cream) !important;
  }
}

@media (max-width: 414px) {
  .pc-header__cta,
  .pc-header .btn-header.btn-zapis {
    min-height: 40px !important;
    padding: 8px 12px !important;
    border-radius: 6px !important;
    box-shadow: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .btn,
  a.btn,
  .pc-header__cta,
  .pc-cine-hero__cta,
  .wpcf7-submit {
    transition: none !important;
    transform: none !important;
  }
}
