:where(.pa-hero-grid, .pa-story, .pa-values, .pa-services-grid, .pa-contact, .pc-intro, .pc-channels, .pc-planning-grid, .pc-services, .pc-closing, .pr-intro, .pr-planning-grid, .pr-faq, .pr-contact, .pq-intro, .pq-layout, .pq-next, .py-intro, .py-section-heading, .py-price, .py-faq, .py-contact, .ps-intro, .ps-heading, .ps-preparation, .ps-price, .ps-faq, .ps-contact, .footer-grid, .care-grid) > * {
  min-width: 0;
}
main :where(h1, h2, h3, p, li, address), footer :where(p, a, address) {
  overflow-wrap: anywhere;
}
main .button {
  max-width: 100%;
  white-space: normal;
  text-align: center;
  line-height: 1.5;
  min-height: 44px;
}
main .button > span:not(.navigation-link-spinner), main .button > svg {
  flex-shrink: 0;
}
svg.whatsapp-icon { fill: currentColor; stroke: none; }
.button > svg.whatsapp-icon { width: 24px; height: 24px; }
.pc-channel-top > svg.whatsapp-icon { color: #0089aa; }
:where(.pa-image-note, .py-visual-note, .ps-visual-note) {
  max-width: calc(100% - 24px);
}
:where(.pa-image-note, .py-visual-note, .ps-visual-note) > div {
  min-width: 0;
}
:where(.pa-image-note, .py-visual-note, .ps-visual-note) strong {
  overflow-wrap: anywhere;
}
:where(.wp-entry, .pa-editor-content, .pc-editor, .pr-editor, .pq-editor, .py-editor, .ps-editor) :where(iframe, video, embed, object) {
  max-width: 100%;
}
:where(.wp-entry, .pa-editor-content, .pc-editor, .pr-editor, .pq-editor, .py-editor, .ps-editor) pre {
  max-width: 100%;
  overflow-x: auto;
}
:where(.wp-entry, .pa-editor-content, .pc-editor, .pr-editor, .pq-editor, .py-editor, .ps-editor) table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
}
#info-dialog {
  width: min(560px, calc(100vw - 32px));
  max-width: calc(100vw - 32px);
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  overscroll-behavior: contain;
}
#info-dialog :where(select, textarea, input) {
  min-width: 0;
  font-size: 16px;
}
@media (max-width: 1280px) {
  .header .submenu-toggle {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
  }
  .header .submenu-copy {
    min-width: 0;
    overflow-wrap: anywhere;
  }
  .header nav.open {
    max-height: calc(100vh - 120px);
    max-height: calc(100dvh - 120px);
  }
}
@media (min-width: 761px) and (max-width: 1000px) {
  .pc-channels { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pc-address { grid-column: 1 / -1; }
  .pa-contact, .pr-contact, .py-contact, .ps-contact, .pc-closing {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }
  .pa-contact-actions, .pr-contact-actions, .py-contact-links, .ps-contact-links {
    align-items: flex-start;
    text-align: left;
  }
  .pc-closing .button { justify-self: start; }
}
@media (min-width: 761px) and (max-width: 900px) {
  .pa-hero-grid, .pa-story, .pa-services-grid,
  .pc-intro, .pc-planning-grid, .pc-services,
  .pr-intro, .pr-planning-grid, .pr-faq,
  .pq-intro, .pq-layout, .pq-next,
  .py-intro, .py-section-heading, .py-price, .py-faq,
  .ps-intro, .ps-heading, .ps-preparation, .ps-price, .ps-faq {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }
  .pq-sidebar { position: static; }
  .pq-topics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; }
  .pq-topics .pq-label { grid-column: 1 / -1; }
  .pq-help { display: none; }
  .pa-hero-visual > img, .py-visual > img, .ps-visual > img { height: 420px; }
}
@media (max-width: 600px) {
  .pakora-page-banner { padding-top: 162px; }
  body:not(.home) > main.wp-content-area { padding-top: 162px; }
  .header nav.open {
    max-height: calc(100vh - 165px);
    max-height: calc(100dvh - 165px);
  }
  .pakora-banner-copy h1 { font-size: clamp(28px, 7.2vw, 38px); }
  .pa-contact .button, .pr-contact .button, .pc-closing .button, .py-contact .button, .ps-contact .button {
    width: 100%;
    justify-content: center;
  }
  .pa-contact-actions, .pr-contact-actions, .py-contact-links, .ps-contact-links { width: 100%; }
  .footer-grid a:not(.footer-brand a) { min-height: 44px; display: flex; align-items: center; }
  .footer-contact-row { margin-top: 12px; }
  .footer-bottom { padding-bottom: 54px; }
  .design-credit { max-width: 100%; flex-wrap: wrap; }
  .pq-topics a, .py-type-nav a, .pa-inline-link, .ps-text-link, .py-text-link, .pc-text-link, .pr-text-link {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
  .navigation-link-spinner { margin-inline-start: 3px; }
}
@media (max-width: 380px) {
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .footer-brand, .footer-contact-info { grid-column: auto; }
  .care article { grid-template-columns: 82px minmax(0, 1fr); column-gap: 14px; }
  .care .care-media { height: 100px; }
  .service .service-card-heading { flex-wrap: wrap; }
  .pa-image-note, .py-visual-note, .ps-visual-note { padding: 14px; gap: 10px; }
  .pa-image-note strong, .ps-visual-note strong { font-size: 14px; }
  .ps-actions .button, .py-actions .button, .pa-actions .button { width: 100%; justify-content: center; }
}
@media (max-height: 500px) and (max-width: 1280px) {
  .header nav { border-radius: 12px; }
  .mobile-nav-heading { display: none; }
}


@media (max-width: 520px) {
  .services .rug-stack {
    display: none;
  }
}

.header { height: auto; min-height: 90px; }
.header > a { flex-shrink: 0; }
.header .logo { width: auto; height: 88px; max-width: 150px; }
.hero-content > h1 { max-width: 58%; }
.hero-content > p:not(.handwriting) { max-width: 52%; }
.hero-content > p:not(.handwriting) br { display: inline; }
.hero-content .hero-note { position: static; max-width: 100%; }
@media (max-width: 1280px) {
  .header { min-height: 78px; }
  .header .logo { height: 56px; max-width: 100%; }
  .hero-content { padding-top: 130px; padding-bottom: 36px; }
  .hero-content > h1 { font-size: clamp(36px, 4.1vw, 52px); }
  .hero-content > p:not(.handwriting) { max-width: 48%; }
  .hero-features { max-width: 55%; flex-wrap: wrap; }
  .hero-content .hero-note { margin: 28px 0 12px 10%; }
}
@media (max-width: 900px) {
  .hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto 320px;
    height: auto;
    min-height: 0;
    background-color: #f6fafc;
    background-size: auto 320px;
    background-position: 72% bottom;
  }
  .hero .hero-content {
    grid-column: 1;
    grid-row: 1;
    padding-top: 126px;
    padding-bottom: 32px;
    min-width: 0;
  }
  .hero .hero-content > h1 { max-width: 100%; font-size: clamp(30px, 5vw, 44px); }
  .hero .hero-content > p:not(.handwriting) { max-width: 640px; font-size: 16px; line-height: 1.7; }
  .hero .hero-features { max-width: 100%; display: flex; flex-wrap: wrap; gap: 16px 24px; }
  .hero .hero-features > div { font-size: 12px; }
  .hero .hero-content .hero-note { position: static; margin: 24px 0 0; transform: none; text-align: left; font-size: 22px !important; width: fit-content; }
  .hero .hero-note br { display: none; }
  .hero .hero-note::after { height: 8px; }
  .hero .hero-slides { top: auto; bottom: 0; height: 320px; background-size: cover; background-position: 72% center; }
  .hero::before { inset: 0 0 320px; background: #f6fafc; }
  .hero .hero-ribbon { display: none; }
  .hero .hero-caption {
    position: relative;
    grid-column: 1;
    grid-row: 2;
    align-self: start;
    justify-self: start;
    inset: auto;
    margin: 18px 16px;
    max-width: calc(100% - 32px);
    padding: 12px 16px;
  }
  .hero .hero-slideshow-controls {
    position: relative;
    grid-column: 1;
    grid-row: 2;
    align-self: end;
    justify-self: end;
    inset: auto;
    margin: 16px;
  }
}
@media (max-width: 600px) {
  .header { min-height: 126px; }
  .header .logo { height: 66px; }
  .hero .hero-content { padding-top: 166px; padding-bottom: 28px; }
  .hero .hero-content > h1 { font-size: clamp(28px, 7.5vw, 38px); }
  .hero .buttons { display: flex; flex-wrap: wrap; gap: 10px; }
  .hero .buttons .button { flex: 1 1 145px; padding-inline: 12px; }
  .hero .hero-features { gap: 16px; }
  .hero .hero-features > div { flex: 1 1 135px; }
  .hero .hero-caption strong { font-size: 14px; }
  .hero .hero-caption-kicker { font-size: 11px; }
  .floating-whatsapp { width: 44px; height: 44px; left: 10px; bottom: max(10px, env(safe-area-inset-bottom)); }
  .floating-whatsapp > svg { width: 27px; height: 27px; }
  .back-to-top { width: 44px; height: 44px; right: 10px; bottom: max(10px, env(safe-area-inset-bottom)); }
}

.floating-whatsapp.is-over-hero { opacity: 0; visibility: hidden; pointer-events: none; }
@media (min-width: 601px) and (max-width: 900px) {
  .floating-whatsapp { width: 48px; height: 48px; left: 12px; bottom: 12px; }
  .floating-whatsapp > svg { width: 30px; height: 30px; }
}
