:root {
  --restored-ink: #26332b;
  --restored-muted: #687169;
  --restored-green: #65745a;
  --restored-green-dark: #3f4c3f;
  --restored-sage: #dfe5d8;
  --restored-cream: #f5f1e7;
  --restored-white: #fffefb;
  --restored-line: rgba(63, 76, 63, 0.16);
  --restored-shadow: 0 20px 50px rgba(43, 52, 45, 0.12);
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.custom-background,
body {
  margin: 0;
  color: var(--restored-ink);
  background: #faf8f2;
  font-family: "Segoe UI", Arial, sans-serif !important;
  font-size: 18px;
  line-height: 1.68;
}

body > .restored-site-header + .menu-modal,
body > .restored-site-header ~ #site-header {
  display: none !important;
}

.restored-site-header {
  position: sticky;
  top: 0;
  z-index: 99999;
  width: 100%;
  border-bottom: 1px solid var(--restored-line);
  background: rgba(255, 254, 251, 0.96);
  box-shadow: 0 8px 30px rgba(39, 50, 42, 0.06);
  backdrop-filter: blur(16px);
}

.restored-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100% - 40px, 1180px);
  min-height: 86px;
  margin: 0 auto;
  gap: 28px;
}

.restored-brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 12px;
  color: var(--restored-ink) !important;
  text-decoration: none !important;
}

.restored-brand img {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: cover;
}

.restored-brand-copy {
  display: grid;
  line-height: 1.1;
}

.restored-brand-copy strong {
  color: var(--restored-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.restored-brand-copy small {
  margin-top: 5px;
  color: var(--restored-muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.restored-navigation {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
}

.restored-navigation a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--restored-ink) !important;
  font-family: "Segoe UI", Arial, sans-serif !important;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none !important;
  transition: color 160ms ease, background 160ms ease, transform 160ms ease;
}

.restored-navigation a:hover,
.restored-navigation a:focus-visible {
  color: var(--restored-green-dark) !important;
  background: var(--restored-sage);
}

.restored-navigation .restored-nav-cta,
.restored-button-primary {
  color: #fff !important;
  background: var(--restored-green-dark);
  box-shadow: 0 10px 24px rgba(63, 76, 63, 0.2);
}

.restored-navigation .restored-nav-cta:hover,
.restored-navigation .restored-nav-cta:focus-visible,
.restored-button-primary:hover,
.restored-button-primary:focus-visible {
  color: #fff !important;
  background: #2f3b31;
  transform: translateY(-1px);
}

.restored-menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 10px;
  border: 0;
  border-radius: 50%;
  background: var(--restored-sage);
  box-shadow: none;
  cursor: pointer;
}

.restored-menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 4px auto;
  border-radius: 2px;
  background: var(--restored-green-dark);
  transition: transform 160ms ease, opacity 160ms ease;
}

.restored-menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.restored-menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.restored-menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

#site-content {
  min-height: 50vh;
  background: transparent;
}

.entry-header {
  display: block !important;
  margin: 0;
  padding: 72px 20px 48px;
  background: linear-gradient(135deg, rgba(223, 229, 216, 0.85), rgba(245, 241, 231, 0.9));
}

.entry-header-inner {
  width: min(100%, 980px) !important;
  max-width: 980px !important;
  margin: 0 auto;
}

.entry-title,
.archive-title {
  margin: 0;
  color: var(--restored-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.04;
}

.home .entry-header {
  display: none !important;
}

.home .featured-media {
  width: min(100% - 40px, 1320px);
  margin: 34px auto 0;
}

.home .featured-media-inner {
  position: relative;
  width: 100% !important;
  max-width: none !important;
  overflow: hidden;
  border-radius: 42px 8px 42px 8px;
  box-shadow: var(--restored-shadow);
}

.home .featured-media img {
  display: block;
  width: 100%;
  height: clamp(460px, 55vw, 680px);
  margin: 0;
  object-fit: cover;
  object-position: center;
}

.home .featured-media-inner::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(26, 35, 29, 0.68) 0%, rgba(26, 35, 29, 0.18) 58%, rgba(26, 35, 29, 0.03) 100%);
  content: "";
  pointer-events: none;
}

.restored-hero-copy {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: clamp(28px, 7vw, 92px);
  width: min(610px, calc(100% - 56px));
  color: #fff;
  transform: translateY(-50%);
}

.restored-eyebrow {
  margin: 0 0 16px;
  color: #f4e8c7;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.restored-hero-copy h1 {
  margin: 0;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 6vw, 78px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.restored-hero-copy > p:not(.restored-eyebrow) {
  max-width: 540px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.55;
}

.restored-hero-actions,
.restored-contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.restored-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: "Segoe UI", Arial, sans-serif !important;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none !important;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

.restored-hero-copy .restored-button-primary {
  color: var(--restored-green-dark) !important;
  background: #fff;
  box-shadow: none;
}

.restored-hero-copy .restored-button-primary:hover {
  color: var(--restored-green-dark) !important;
  background: #f6f1e4;
}

.restored-button-secondary {
  color: inherit !important;
  border-color: rgba(255, 255, 255, 0.65);
  background: rgba(255, 255, 255, 0.09);
}

.restored-button-secondary:hover {
  color: inherit !important;
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-1px);
}

.post-inner {
  padding-top: 0 !important;
}

.entry-content {
  color: var(--restored-ink);
  font-family: "Segoe UI", Arial, sans-serif !important;
}

.entry-content > * {
  width: min(100% - 40px, 920px) !important;
  max-width: 920px !important;
  margin-right: auto !important;
  margin-left: auto !important;
}

.entry-content > .alignwide,
.entry-content > .alignfull,
.entry-content > .wp-block-columns,
.entry-content > .wp-block-gallery,
.entry-content > .restored-gallery,
.entry-content > .restored-page-banner,
.entry-content > .n2-section-smartslider {
  width: min(100% - 40px, 1180px) !important;
  max-width: 1180px !important;
}

.entry-content p,
.entry-content li,
.entry-content td,
.entry-content th {
  font-family: "Segoe UI", Arial, sans-serif !important;
  font-size: 17px;
  line-height: 1.7;
}

.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
  color: var(--restored-ink);
  font-family: Georgia, "Times New Roman", serif !important;
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.entry-content h2 {
  margin-top: 1.4em;
  font-size: clamp(34px, 5vw, 54px);
}

.entry-content h3 {
  font-size: clamp(26px, 4vw, 38px);
}

.entry-content h5 {
  font-family: "Segoe UI", Arial, sans-serif !important;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0;
}

.entry-content a:not(.restored-button) {
  color: var(--restored-green-dark) !important;
  text-decoration-color: rgba(63, 76, 63, 0.35) !important;
  text-underline-offset: 0.16em;
}

.entry-content a:not(.restored-button):hover {
  color: #202b23 !important;
}

.home .post-inner {
  padding: 0 0 40px !important;
}

.home .kafelek-logo {
  display: none;
}

.home .main-content,
.home .entry-content > .wp-block-columns {
  position: static;
  top: auto;
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch !important;
  gap: 24px !important;
  margin-top: 42px !important;
  margin-bottom: 0 !important;
}

.home .wp-block-columns + .wp-block-columns {
  margin-top: 24px !important;
}

.home .wp-block-column {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--restored-line);
  border-radius: 28px 6px 28px 6px;
  background: var(--restored-white);
  box-shadow: 0 14px 36px rgba(43, 52, 45, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.home .wp-block-column:hover {
  transform: translateY(-5px);
  box-shadow: var(--restored-shadow);
}

.home .wp-block-image,
.home .wp-block-image figure,
.home .wp-block-image a {
  display: block;
  width: 100%;
  margin: 0 !important;
}

.home .kafelek img {
  display: block;
  width: 100% !important;
  height: 270px !important;
  border-radius: 0 !important;
  object-fit: cover !important;
}

.home .wp-block-column h5 {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  min-height: 78px;
  margin: 0 !important;
  padding: 18px 20px;
  color: var(--restored-ink);
  font-size: 18px;
  text-align: center;
}

.home .entry-content > p.has-text-align-center {
  margin-top: 42px !important;
  padding: 20px 26px;
  border: 1px solid var(--restored-line);
  border-radius: 18px 4px 18px 4px;
  background: var(--restored-cream);
  color: var(--restored-green-dark);
  font-size: 17px;
  font-weight: 700;
}

.home .wp-block-spacer {
  display: none;
}

.n2-section-smartslider {
  overflow: hidden;
  margin-top: 54px !important;
  border-radius: 30px 6px 30px 6px;
  box-shadow: var(--restored-shadow);
}

.restored-page-banner {
  overflow: hidden;
  margin-top: 48px !important;
  margin-bottom: 46px !important;
  border-radius: 32px 6px 32px 6px;
  box-shadow: var(--restored-shadow);
}

.restored-page-banner img {
  display: block;
  width: 100%;
  height: clamp(260px, 42vw, 480px);
  object-fit: cover;
}

.restored-missing-media,
img[src*="missing-image.svg"],
.vege-image[src*="missing-image.svg"] {
  display: none !important;
}

.vege-column {
  background-image: none !important;
}

.wp-block-columns {
  gap: 24px !important;
}

.entry-content > .wp-block-columns {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  align-items: stretch !important;
}

.entry-content img:not(.emoji):not(.wp-smiley) {
  max-width: 100%;
  height: auto;
}

.entry-content figure {
  margin-top: 30px;
  margin-bottom: 30px;
}

.entry-content figure img {
  border-radius: 22px 5px 22px 5px;
}

.entry-content blockquote {
  padding: 26px 30px;
  border: 0;
  border-left: 5px solid var(--restored-green);
  border-radius: 0 18px 18px 0;
  background: var(--restored-cream);
}

.entry-content ul,
.entry-content ol {
  padding-left: 1.35em;
}

.entry-content li::marker {
  color: var(--restored-green);
}

.entry-content table {
  display: block;
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--restored-line);
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 18px 4px 18px 4px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(43, 52, 45, 0.07);
}

.entry-content th,
.entry-content td {
  min-width: 190px;
  padding: 14px 16px;
  border-color: var(--restored-line);
  vertical-align: top;
}

.entry-content th {
  background: var(--restored-sage);
  color: var(--restored-green-dark);
  font-weight: 800;
}

.restored-gallery-intro {
  margin-top: 48px !important;
  margin-bottom: 28px !important;
  text-align: center;
}

.restored-gallery-intro p {
  max-width: 690px;
  margin: 12px auto 0;
  color: var(--restored-muted);
}

.restored-gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
  margin-top: 28px !important;
  margin-bottom: 70px !important;
}

.restored-gallery figure {
  grid-column: span 4;
  min-height: 310px;
  margin: 0 !important;
  overflow: hidden;
  border-radius: 26px 5px 26px 5px;
  background: var(--restored-sage);
  box-shadow: 0 14px 34px rgba(43, 52, 45, 0.1);
}

.restored-gallery figure:nth-child(1),
.restored-gallery figure:nth-child(6) {
  grid-column: span 8;
}

.restored-gallery img {
  display: block;
  width: 100%;
  height: 100% !important;
  min-height: 310px;
  border-radius: 0 !important;
  object-fit: cover;
  transition: transform 400ms ease;
}

.restored-gallery figure:hover img {
  transform: scale(1.025);
}

.restored-contact-card,
.restored-order-fallback {
  width: min(100% - 40px, 920px);
  margin: 46px auto 64px;
  padding: clamp(28px, 5vw, 54px);
  border: 1px solid var(--restored-line);
  border-radius: 32px 6px 32px 6px;
  background: linear-gradient(135deg, #edf0e8, #f7f2e7);
  box-shadow: var(--restored-shadow);
}

.restored-contact-card h2,
.restored-order-fallback h1 {
  margin: 0 0 16px;
  color: var(--restored-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 5vw, 54px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.restored-contact-card p,
.restored-order-fallback p {
  max-width: 680px;
  margin: 0;
  color: var(--restored-muted);
}

.restored-order-fallback .restored-eyebrow {
  margin-bottom: 12px;
  color: var(--restored-green);
}

.restored-contact-actions .restored-button-secondary {
  color: var(--restored-green-dark) !important;
  border-color: rgba(63, 76, 63, 0.35);
  background: rgba(255, 255, 255, 0.55);
}

.restored-contact-actions .restored-button-secondary:hover {
  background: #fff;
}

.nf-form-cont {
  display: none !important;
}

.footer-nav-widgets-wrapper,
#site-footer {
  color: rgba(255, 255, 255, 0.78) !important;
  border: 0 !important;
  background: var(--restored-green-dark) !important;
}

.footer-nav-widgets-wrapper {
  margin-top: 72px;
  padding-top: 18px;
}

.footer-inner,
#site-footer .section-inner {
  width: min(100% - 40px, 1120px) !important;
  max-width: 1120px !important;
}

.footer-top,
.footer-widgets-outer-wrapper {
  border-color: rgba(255, 255, 255, 0.14) !important;
}

.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}

.footer-menu a,
.footer-widgets a,
#site-footer a {
  color: rgba(255, 255, 255, 0.86) !important;
  font-family: "Segoe UI", Arial, sans-serif !important;
}

.footer-menu a:hover,
.footer-widgets a:hover,
#site-footer a:hover {
  color: #fff !important;
}

.social-icons a {
  color: var(--restored-green-dark) !important;
  background: #fff !important;
}

.footer-copyright,
.powered-by-wordpress {
  color: rgba(255, 255, 255, 0.62) !important;
}

@media (max-width: 960px) {
  .restored-header-inner {
    min-height: 76px;
  }

  .restored-menu-toggle {
    display: block;
  }

  .restored-navigation {
    position: absolute;
    top: calc(100% + 1px);
    right: 20px;
    left: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 14px;
    border: 1px solid var(--restored-line);
    border-radius: 20px 4px 20px 4px;
    background: #fffefb;
    box-shadow: var(--restored-shadow);
  }

  .restored-navigation.is-open {
    display: flex;
  }

  .restored-navigation a {
    justify-content: center;
  }

  .home .main-content,
  .home .entry-content > .wp-block-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .restored-gallery figure,
  .restored-gallery figure:nth-child(1),
  .restored-gallery figure:nth-child(6) {
    grid-column: span 6;
  }
}

@media (max-width: 680px) {
  .restored-header-inner {
    width: min(100% - 24px, 1180px);
  }

  .restored-brand-copy small {
    display: none;
  }

  .restored-brand img {
    width: 50px;
    height: 50px;
  }

  .restored-brand-copy strong {
    font-size: 21px;
  }

  .home .featured-media {
    width: calc(100% - 20px);
    margin-top: 10px;
  }

  .home .featured-media-inner {
    border-radius: 24px 5px 24px 5px;
  }

  .home .featured-media img {
    height: 610px;
    object-position: 62% center;
  }

  .home .featured-media-inner::after {
    background: linear-gradient(0deg, rgba(26, 35, 29, 0.8), rgba(26, 35, 29, 0.18));
  }

  .restored-hero-copy {
    top: auto;
    right: 24px;
    bottom: 38px;
    left: 24px;
    width: auto;
    transform: none;
  }

  .restored-hero-copy h1 {
    font-size: clamp(40px, 13vw, 58px);
  }

  .restored-hero-actions,
  .restored-contact-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .restored-button {
    width: 100%;
  }

  .home .main-content,
  .home .entry-content > .wp-block-columns,
  .entry-content > .wp-block-columns {
    grid-template-columns: 1fr;
  }

  .home .kafelek img {
    height: min(84vw, 390px) !important;
  }

  .entry-header {
    padding: 52px 20px 38px;
  }

  .entry-content > *,
  .entry-content > .alignwide,
  .entry-content > .alignfull,
  .entry-content > .wp-block-columns,
  .entry-content > .wp-block-gallery,
  .entry-content > .restored-gallery,
  .entry-content > .restored-page-banner,
  .entry-content > .n2-section-smartslider {
    width: calc(100% - 28px) !important;
  }

  .restored-gallery {
    display: block;
  }

  .restored-gallery figure {
    min-height: 260px;
    margin-bottom: 14px !important;
  }

  .restored-gallery img {
    min-height: 260px;
  }

  .footer-top {
    display: block;
  }
}

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