/*
Theme Name: Konsepts — The Relax Studio
Theme URI: https://konsepts.in
Author: KONSEPTS — The Ultimate Innovations
Author URI: https://konsepts.in
Description: Official Full-Site Editing (FSE) WordPress Block Theme for KONSEPTS — The Relax Studio (Premium Humanized Massage Chair & Wellness Kiosk Business). Fully responsive across all devices and screen sizes with sticky header, strict 3-to-4 column grids, predefined & custom theme palettes in Appearance -> Konsepts Settings, 9 editable Gutenberg block patterns, automatic FSE & page cache flushing, and native enquiry mail dispatch to contact@konsepts.in.
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 7.4
Version: 4.4.0
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: konsepts-relax
Tags: full-site-editing, block-patterns, block-styles, wide-blocks, custom-colors, theme-options, wellness, franchise
*/

:root {
  --wp--preset--color--canvas: #061411;
  --wp--preset--color--surface: #0B221D;
  --wp--preset--color--surface-alt: #091B17;
  --wp--preset--color--card: #0F3129;
  --wp--preset--color--primary: #10B981;
  --wp--preset--color--primary-hover: #34D399;
  --wp--preset--color--secondary: #EAB308;
  --wp--preset--color--text-main: #F8FAFC;
  --wp--preset--color--text-muted: #A7F3D0;
  --wp--preset--color--border-color: #1E463C;
  --wp--preset--color--button-text: #04100D;
  --wp--preset--font-family--heading: 'Cormorant Garamond', Georgia, serif;
  --wp--preset--font-family--body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --wp--preset--font-family--mono: 'JetBrains Mono', monospace;
}

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

body,
.editor-styles-wrapper {
  background-color: var(--wp--preset--color--canvas);
  color: var(--wp--preset--color--text-main);
  font-family: var(--wp--preset--font-family--body);
  line-height: 1.65;
  margin: 0;
  -webkit-font-smoothing: antialiased;
}

img, video, figure {
  max-width: 100%;
  height: auto;
}

/* ==========================================================================
   BALANCED TITLE & CONTENT SPACING SYSTEM
   Overrides WordPress core .is-layout-flow / .is-layout-constrained block-gap margins
   so titles and their descriptions stay tightly grouped while distinct items have clear separation.
   ========================================================================== */
h1, h2, h3, h4,
.wp-block-heading,
.konsepts-serif {
  font-family: var(--wp--preset--font-family--heading);
  color: var(--wp--preset--color--text-main);
  line-height: 1.18;
  margin-top: 0 !important;
  margin-bottom: 0.45rem !important;
  word-break: normal;
  overflow-wrap: break-word;
}

h1.wp-block-heading,
.has-xx-large-font-size {
  font-size: clamp(2.15rem, 4.5vw, 3.65rem) !important;
  line-height: 1.1 !important;
  margin-top: 0 !important;
  margin-bottom: 0.75rem !important;
}

h2.wp-block-heading,
.has-x-large-font-size {
  font-size: clamp(1.75rem, 3.4vw, 2.65rem) !important;
  line-height: 1.16 !important;
  margin-top: 0 !important;
  margin-bottom: 1.15rem !important;
}

h3.wp-block-heading {
  font-size: clamp(1.3rem, 2.2vw, 1.65rem) !important;
  line-height: 1.25 !important;
  margin-top: 0 !important;
  margin-bottom: 0.35rem !important;
}

h4.wp-block-heading {
  font-size: clamp(1.15rem, 1.8vw, 1.35rem) !important;
  line-height: 1.3 !important;
  margin-top: 0 !important;
  margin-bottom: 0.3rem !important;
}

/* Prevent WordPress core from injecting 1.5rem top margin between a heading and its own paragraph */
.konsepts-section p,
.konsepts-section-alt p,
.konsepts-card p,
.konsepts-surface-box p,
.konsepts-item-row p {
  margin-top: 0 !important;
  margin-bottom: 0.85rem !important;
  line-height: 1.65;
}

.konsepts-card p:last-child,
.konsepts-surface-box p:last-child,
.konsepts-item-row p:last-child {
  margin-bottom: 0 !important;
}

/* Ensure clear separation whenever a new heading follows a paragraph or another heading */
p:not(.konsepts-kicker) + h2,
p:not(.konsepts-kicker) + h3,
p:not(.konsepts-kicker) + h4,
p:not(.konsepts-kicker) + .wp-block-heading,
h2 + h3,
h2 + h4,
.wp-block-heading + .wp-block-heading {
  margin-top: 1.25rem !important;
}

.konsepts-subsection-heading {
  margin-top: 3.5rem !important;
  margin-bottom: 1.25rem !important;
}

.konsepts-mono {
  font-family: var(--wp--preset--font-family--mono);
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}

/* Layout Containers */
.konsepts-section {
  padding: 5rem 1.5rem;
  border-bottom: 1px solid var(--wp--preset--color--border-color);
  background-color: var(--wp--preset--color--canvas);
}

.konsepts-section-alt {
  padding: 5rem 1.5rem;
  border-bottom: 1px solid var(--wp--preset--color--border-color);
  background-color: var(--wp--preset--color--surface-alt);
}

.konsepts-container {
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
}

/* Sticky / Fixed Header & Wrapper Overrides for WordPress FSE */
header.wp-block-template-part,
.wp-site-blocks > header,
.wp-site-blocks > .wp-block-template-part:first-child {
  position: sticky !important;
  top: 0 !important;
  z-index: 9999 !important;
}

.konsepts-header {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  z-index: 9999 !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 1.25rem !important;
  padding: 0.9rem 2rem !important;
  background-color: var(--wp--preset--color--canvas) !important;
  border-bottom: 1px solid var(--wp--preset--color--border-color) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
  margin: 0 !important;
  flex-wrap: nowrap !important;
}

.wp-site-blocks {
  padding-top: 72px;
}

.editor-styles-wrapper .konsepts-header {
  position: relative !important;
  top: auto !important;
}

body.admin-bar header.wp-block-template-part,
body.admin-bar .wp-site-blocks > header,
body.admin-bar .konsepts-header {
  top: 32px !important;
}

@media screen and (max-width: 782px) {
  body.admin-bar header.wp-block-template-part,
  body.admin-bar .wp-site-blocks > header,
  body.admin-bar .konsepts-header {
    top: 46px !important;
  }
}

.konsepts-brand {
  font-family: var(--wp--preset--font-family--heading);
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--wp--preset--color--text-main);
  text-decoration: none;
  white-space: nowrap;
  margin: 0 !important;
  flex-shrink: 0;
}

.konsepts-brand a {
  color: inherit;
  text-decoration: none;
}

.konsepts-mt-1 {
  margin-top: 1.25rem !important;
}

.konsepts-mt-2 {
  margin-top: 2rem !important;
}

.konsepts-mt-4 {
  margin-top: 3.5rem !important;
}

.konsepts-logo-img img {
  height: 56px !important;
  width: auto !important;
  object-fit: contain !important;
}

/* Hide WordPress core's duplicate responsive navigation toggle ("=" icon) so our side-by-side Hamburger + Partner With Us row is clean */
.konsepts-header .wp-block-navigation__responsive-container-open,
.konsepts-header .wp-block-navigation__responsive-container-close {
  display: none !important;
}

.konsepts-nav,
.konsepts-nav .wp-block-navigation__responsive-container,
.konsepts-nav .wp-block-navigation__container {
  display: flex !important;
  align-items: center !important;
  gap: 1.5rem !important;
  flex-wrap: wrap !important;
  position: static !important;
  background: transparent !important;
}

.konsepts-nav a,
.wp-block-navigation-item__content {
  color: var(--wp--preset--color--text-main);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.15s ease;
}

.konsepts-nav a:hover,
.wp-block-navigation-item__content:hover {
  color: var(--wp--preset--color--primary);
}

/* Header Action Buttons Container — Keeps Hamburger Menu & "Partner With Us" Strictly Side-by-Side in the Same Row */
.wp-block-buttons.konsepts-header-actions,
.konsepts-header-actions {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 0.65rem !important;
  flex-wrap: nowrap !important;
  margin: 0 !important;
  flex-shrink: 0;
}

.konsepts-header-actions .wp-block-button {
  width: auto !important;
  margin: 0 !important;
  flex-shrink: 0;
}

.konsepts-header-actions .wp-block-button__link {
  width: auto !important;
  white-space: nowrap !important;
}

.konsepts-mobile-toggle-wrap,
.konsepts-mobile-menu-toggle {
  display: none !important;
  align-items: center;
  justify-content: center;
  margin: 0 !important;
}

.konsepts-mobile-menu-toggle .wp-block-button__link,
button.konsepts-mobile-menu-toggle {
  background-color: var(--wp--preset--color--surface) !important;
  color: var(--wp--preset--color--text-main) !important;
  border: 1px solid var(--wp--preset--color--border-color) !important;
  border-radius: 8px !important;
  padding: 0.55rem 0.9rem !important;
  font-size: 0.8125rem !important;
  font-weight: 600 !important;
  cursor: pointer;
  white-space: nowrap !important;
  width: auto !important;
}

/* ==========================================================================
   FULL-HEIGHT SLIDE-IN MOBILE MENU DRAWER FROM THE LEFT
   ========================================================================== */
.konsepts-slide-backdrop {
  position: fixed !important;
  inset: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  height: 100dvh !important;
  background-color: rgba(2, 8, 7, 0.72) !important;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 999998 !important;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.konsepts-slide-backdrop.is-open {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

.konsepts-slide-drawer {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  bottom: 0 !important;
  width: min(84vw, 320px) !important;
  height: 100vh !important;
  height: 100dvh !important;
  max-height: 100dvh !important;
  background-color: var(--wp--preset--color--canvas) !important;
  color: var(--wp--preset--color--text-main) !important;
  border-right: 1px solid var(--wp--preset--color--border-color) !important;
  box-shadow: 16px 0 40px rgba(0, 0, 0, 0.65) !important;
  z-index: 999999 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  padding: 1.5rem 1.25rem !important;
  overflow-y: auto !important;
  transform: translateX(-105%) !important;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1) !important;
}

.konsepts-slide-drawer.is-open {
  transform: translateX(0) !important;
}

.konsepts-slide-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--wp--preset--color--border-color);
}

.konsepts-slide-drawer-close {
  background-color: var(--wp--preset--color--surface);
  color: var(--wp--preset--color--text-main);
  border: 1px solid var(--wp--preset--color--border-color);
  border-radius: 8px;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
}

.konsepts-slide-drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin: 1.25rem 0;
  flex: 1;
}

.konsepts-slide-drawer-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0.95rem;
  border-radius: 10px;
  color: var(--wp--preset--color--text-main) !important;
  text-decoration: none !important;
  font-size: 0.95rem;
  font-weight: 500;
  border: 1px solid transparent;
  transition: all 0.15s ease;
}

.konsepts-slide-drawer-link:hover,
.konsepts-slide-drawer-link:focus {
  background-color: var(--wp--preset--color--surface);
  border-color: var(--wp--preset--color--border-color);
  color: var(--wp--preset--color--primary) !important;
}

.konsepts-slide-drawer-footer {
  padding-top: 1rem;
  border-top: 1px solid var(--wp--preset--color--border-color);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* ==========================================================================
   ALIGNED FOOTER LAYOUT SYSTEM (DESKTOP & MOBILE)
   ========================================================================== */
.konsepts-footer {
  padding: 3.5rem 1.5rem !important;
  background-color: var(--wp--preset--color--surface-alt) !important;
  border-top: 1px solid var(--wp--preset--color--border-color) !important;
}

.wp-block-columns.konsepts-footer-grid,
.konsepts-footer-grid {
  display: grid !important;
  grid-template-columns: 1.15fr 1fr !important;
  gap: 2.5rem !important;
  align-items: start !important;
  width: 100% !important;
}

.konsepts-footer-brand-col,
.konsepts-footer-contact-col {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  text-align: left !important;
  justify-content: flex-start !important;
  width: 100% !important;
}

.konsepts-footer-contact-col {
  background-color: var(--wp--preset--color--surface);
  border: 1px solid var(--wp--preset--color--border-color);
  border-radius: 14px;
  padding: 1.35rem 1.5rem !important;
}

.konsepts-footer-contact-row {
  width: 100% !important;
  padding: 0.55rem 0 !important;
  border-bottom: 1px solid var(--wp--preset--color--border-color);
  margin: 0 !important;
}

.konsepts-footer-contact-row:last-child {
  border-bottom: none !important;
  padding-bottom: 0 !important;
}

.konsepts-footer-contact-row p {
  margin: 0 !important;
  font-size: 0.85rem !important;
  line-height: 1.55 !important;
  text-align: left !important;
  word-break: normal !important;
  overflow-wrap: break-word !important;
}

.konsepts-footer-contact-row a {
  color: var(--wp--preset--color--primary);
  text-decoration: none;
}

.konsepts-footer-contact-row a:hover {
  text-decoration: underline;
}

/* ==========================================================================
   FLOATING FLASHING WHATSAPP BUTTON (CONFIGURABLE IN KONSEPTS SETTINGS)
   ========================================================================== */
@keyframes konsepts-wp-whatsapp-pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.85), 0 10px 28px rgba(0, 0, 0, 0.5);
    background-color: #25D366;
  }
  50% {
    transform: scale(1.06);
    box-shadow: 0 0 0 14px rgba(37, 211, 102, 0), 0 0 30px 6px rgba(37, 211, 102, 0.8);
    background-color: #1EBE5D;
  }
}

@keyframes konsepts-wp-whatsapp-beacon {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.2;
    transform: scale(1.4);
  }
}

.konsepts-whatsapp-float {
  position: fixed !important;
  bottom: 1.5rem !important;
  z-index: 999990 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.6rem !important;
  background-color: #25D366 !important;
  color: #04100D !important;
  font-family: var(--wp--preset--font-family--body) !important;
  font-size: 0.875rem !important;
  font-weight: 700 !important;
  padding: 0.75rem 1.2rem !important;
  border-radius: 9999px !important;
  border: 2px solid #FFFFFF !important;
  text-decoration: none !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45) !important;
  transition: transform 0.2s ease, background-color 0.2s ease !important;
}

.konsepts-whatsapp-float--right {
  right: 1.5rem !important;
  left: auto !important;
}

.konsepts-whatsapp-float--left {
  left: 1.5rem !important;
  right: auto !important;
}

.konsepts-whatsapp-float.is-flashing {
  animation: konsepts-wp-whatsapp-pulse 1.6s infinite ease-in-out !important;
}

.konsepts-whatsapp-float:hover {
  background-color: #1EBE5D !important;
  color: #04100D !important;
  transform: translateY(-2px) scale(1.03) !important;
}

.konsepts-whatsapp-beacon {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: #FFFFFF;
  display: inline-block;
  flex-shrink: 0;
}

.konsepts-whatsapp-float.is-flashing .konsepts-whatsapp-beacon {
  animation: konsepts-wp-whatsapp-beacon 1.1s infinite ease-in-out;
}

@media (max-width: 680px) {
  .konsepts-whatsapp-float {
    bottom: 1rem !important;
    padding: 0.65rem 1rem !important;
    font-size: 0.8rem !important;
  }
  .konsepts-whatsapp-float--right {
    right: 1rem !important;
  }
  .konsepts-whatsapp-float--left {
    left: 1rem !important;
  }
}

/* ==========================================================================
   STRICT MULTI-COLUMN GRID SYSTEM (MAX 3 OR 4 PER LINE — NEVER SQUISHED)
   Overrides WordPress core .wp-block-columns.is-layout-flex { display: flex !important; flex-wrap: nowrap !important }
   ========================================================================== */
.wp-block-columns.konsepts-grid-2,
.konsepts-grid-2 {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 2rem !important;
  align-items: stretch !important;
  width: 100%;
}

.wp-block-columns.konsepts-grid-3,
.konsepts-grid-3 {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 1.5rem !important;
  align-items: stretch !important;
  width: 100%;
}

.wp-block-columns.konsepts-grid-4,
.konsepts-grid-4 {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 1.25rem !important;
  align-items: stretch !important;
  width: 100%;
}

/* Ensure child .wp-block-column inside our grids never shrink or have forced flex-basis margins */
.konsepts-grid-2 > .wp-block-column,
.konsepts-grid-3 > .wp-block-column,
.konsepts-grid-4 > .wp-block-column {
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  flex-basis: auto !important;
  margin: 0 !important;
  word-break: normal !important;
  overflow-wrap: break-word !important;
}

/* Cards, Surfaces & Stacked Item Rows */
.konsepts-card {
  background-color: var(--wp--preset--color--card);
  border: 1px solid var(--wp--preset--color--border-color);
  border-radius: 14px;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition: border-color 0.2s ease;
}

.konsepts-card:hover {
  border-color: var(--wp--preset--color--primary);
}

.konsepts-surface-box {
  background-color: var(--wp--preset--color--surface);
  border: 1px solid var(--wp--preset--color--border-color);
  border-radius: 16px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.konsepts-item-row {
  background-color: var(--wp--preset--color--canvas);
  border: 1px solid var(--wp--preset--color--border-color);
  border-radius: 12px;
  padding: 1.1rem 1.25rem;
  margin-top: 0.85rem !important;
  margin-bottom: 0 !important;
}

.konsepts-item-row h3,
.konsepts-item-row h4,
.konsepts-item-row .wp-block-heading {
  margin-top: 0 !important;
  margin-bottom: 0.3rem !important;
}

.konsepts-item-row p {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.konsepts-kicker,
p.konsepts-kicker {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--wp--preset--color--primary);
  margin-top: 0 !important;
  margin-bottom: 0.45rem !important;
  line-height: 1.4;
}

.konsepts-gold-text {
  color: var(--wp--preset--color--secondary);
}

.konsepts-muted {
  color: var(--wp--preset--color--text-muted);
}

/* Buttons */
.konsepts-btn,
.wp-element-button,
.wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: var(--wp--preset--color--primary);
  color: var(--wp--preset--color--button-text) !important;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.15s ease;
  text-align: center;
}

.konsepts-btn:hover,
.wp-element-button:hover,
.wp-block-button__link:hover {
  background-color: var(--wp--preset--color--primary-hover);
}

.konsepts-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: transparent;
  color: var(--wp--preset--color--text-main) !important;
  border: 1px solid var(--wp--preset--color--border-color);
  font-weight: 500;
  font-size: 0.875rem;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
}

.konsepts-btn-outline:hover {
  border-color: var(--wp--preset--color--primary);
}

/* Images — Fill 2-Column Split Height Cleanly Without Black Void Underneath */
.konsepts-img-frame {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--wp--preset--color--border-color);
  background-color: #050a09;
  aspect-ratio: 16 / 10;
  margin-bottom: 1rem !important;
}

.konsepts-grid-2 > .konsepts-img-frame {
  aspect-ratio: auto !important;
  height: 100% !important;
  min-height: 320px;
  margin-bottom: 0 !important;
  display: flex;
}

.konsepts-img-frame figure.wp-block-image,
.konsepts-img-frame figure {
  margin: 0 !important;
  width: 100% !important;
  height: 100% !important;
}

.konsepts-img-frame img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block;
}

/* Interactive Session Tier Cards (Max 3 per line for readability) & 20-Punch Grid */
.konsepts-tier-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 0.75rem;
}

.konsepts-tier-card,
.konsepts-tier-btn {
  background-color: var(--wp--preset--color--canvas);
  color: var(--wp--preset--color--text-main);
  border: 1px solid var(--wp--preset--color--border-color);
  border-radius: 10px;
  padding: 0.95rem;
  cursor: pointer;
  transition: all 0.15s ease;
}

.konsepts-tier-card.active,
.konsepts-tier-btn.active {
  border-color: var(--wp--preset--color--primary) !important;
  box-shadow: 0 0 0 1px var(--wp--preset--color--primary);
}

.wp-block-buttons.konsepts-punch-grid,
.konsepts-punch-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 0.5rem !important;
  background-color: #F5E6C8;
  padding: 0.85rem;
  border-radius: 10px;
  border: 2px solid var(--wp--preset--color--secondary);
  width: 100%;
}

.wp-block-button.konsepts-punch-slot,
.konsepts-punch-slot {
  width: 100% !important;
  margin: 0 !important;
}

.wp-block-button.konsepts-punch-slot .wp-block-button__link,
button.konsepts-punch-slot {
  width: 100% !important;
  height: 42px;
  padding: 0.25rem !important;
  border-radius: 6px !important;
  border: 1px solid rgba(120, 53, 15, 0.3) !important;
  background-color: #FFFDF9 !important;
  color: #111827 !important;
  font-family: var(--wp--preset--font-family--mono);
  font-weight: 700;
  cursor: pointer;
}

.wp-block-button.konsepts-punch-slot.punched .wp-block-button__link,
button.konsepts-punch-slot.punched {
  background-color: var(--wp--preset--color--card) !important;
  color: var(--wp--preset--color--secondary) !important;
  border-color: var(--wp--preset--color--secondary) !important;
}

.wp-block-buttons.konsepts-filter-buttons {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 0.65rem !important;
}

.wp-block-button.konsepts-loc-filter-btn .wp-block-button__link {
  background-color: var(--wp--preset--color--surface) !important;
  color: var(--wp--preset--color--text-main) !important;
  border: 1px solid var(--wp--preset--color--border-color) !important;
  padding: 0.55rem 1.1rem !important;
  font-size: 0.8125rem !important;
}

.wp-block-button.konsepts-loc-filter-btn.active .wp-block-button__link {
  background-color: var(--wp--preset--color--primary) !important;
  color: var(--wp--preset--color--button-text) !important;
  border-color: var(--wp--preset--color--primary) !important;
}

/* Form Controls */
.konsepts-input,
.konsepts-select {
  width: 100%;
  background-color: var(--wp--preset--color--canvas);
  color: var(--wp--preset--color--text-main);
  border: 1px solid var(--wp--preset--color--border-color);
  border-radius: 8px;
  padding: 0.65rem 0.9rem;
  font-size: 0.875rem;
}

.konsepts-input:focus,
.konsepts-select:focus {
  outline: none;
  border-color: var(--wp--preset--color--primary);
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS FOR ALL DEVICES & SCREENS (LAPTOP, TABLET, MOBILE)
   ========================================================================== */
@media (max-width: 1120px) {
  .wp-block-columns.konsepts-grid-4,
  .konsepts-grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  .wp-block-columns.konsepts-grid-3,
  .konsepts-grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  .konsepts-header {
    padding: 0.9rem 1.25rem;
    gap: 1rem;
  }
}

@media (max-width: 820px) {
  .konsepts-header {
    padding: 0.75rem 1rem !important;
    gap: 0.65rem !important;
    flex-wrap: nowrap !important;
  }
  .konsepts-brand {
    font-size: 1.35rem !important;
  }
  .konsepts-mobile-toggle-wrap,
  .konsepts-mobile-menu-toggle {
    display: inline-flex !important;
  }
  .konsepts-nav {
    display: none !important;
  }
  .wp-block-buttons.konsepts-header-actions,
  .konsepts-header-actions {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 0.5rem !important;
    flex-wrap: nowrap !important;
    width: auto !important;
  }
  .konsepts-header-actions .wp-block-button,
  .konsepts-header-actions .wp-block-button__link,
  .konsepts-header .wp-block-button__link {
    width: auto !important;
    padding: 0.5rem 0.8rem !important;
    font-size: 0.78rem !important;
    white-space: nowrap !important;
  }
  .konsepts-section,
  .konsepts-section-alt {
    padding: 3.5rem 1.25rem;
  }
  .wp-block-columns.konsepts-grid-2,
  .konsepts-grid-2,
  .wp-block-columns.konsepts-footer-grid,
  .konsepts-footer-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }
}

@media (max-width: 680px) {
  .wp-block-columns.konsepts-grid-2,
  .wp-block-columns.konsepts-grid-3,
  .wp-block-columns.konsepts-grid-4,
  .konsepts-grid-2,
  .konsepts-grid-3,
  .konsepts-grid-4,
  .wp-block-columns.konsepts-footer-grid,
  .konsepts-footer-grid {
    grid-template-columns: 1fr !important;
    gap: 1.15rem !important;
  }
  .konsepts-tier-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  .konsepts-section,
  .konsepts-section-alt {
    padding: 2.75rem 1rem;
  }
  .konsepts-card,
  .konsepts-surface-box {
    padding: 1.25rem;
  }
  .konsepts-header {
    padding: 0.7rem 0.85rem !important;
    gap: 0.5rem !important;
  }
  .konsepts-brand {
    font-size: 1.2rem !important;
  }
  /* Full-width buttons inside content sections on mobile, but NEVER inside .konsepts-header */
  .konsepts-section .konsepts-btn,
  .konsepts-section .konsepts-btn-outline,
  .konsepts-section .wp-block-button__link,
  .konsepts-section-alt .konsepts-btn,
  .konsepts-section-alt .konsepts-btn-outline,
  .konsepts-section-alt .wp-block-button__link {
    width: 100%;
    padding: 0.7rem 1rem;
  }
  .konsepts-header-actions .wp-block-button,
  .konsepts-header-actions .wp-block-button__link,
  .konsepts-header .konsepts-btn,
  .konsepts-header .wp-block-button__link {
    width: auto !important;
    padding: 0.48rem 0.72rem !important;
    font-size: 0.75rem !important;
    white-space: nowrap !important;
  }
  .konsepts-footer {
    padding: 2.5rem 1rem !important;
  }
  .konsepts-footer-contact-col {
    padding: 1.15rem !important;
  }
}

@media (max-width: 400px) {
  .konsepts-punch-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    padding: 0.5rem;
    gap: 0.35rem;
  }
  .konsepts-punch-slot {
    height: 36px;
    font-size: 0.75rem;
  }
}
