/* Pricing block wrapper */
:root {
  --radius-xl-root: var(--radius-xl);
  --radius-2xl-root: var(--radius-2xl);
  --radius-full-root: var(--radius-full);
}

.hayden-pricing {
  max-width: var(--site-max-width, 90rem);
  margin-inline: auto;
  margin-top: var(--section-space-mobile);
  margin-bottom: var(--section-space-mobile);
  padding-top: var(--block-padding-y);
  padding-bottom: var(--block-padding-y);
  padding-left: var(--block-padding-x);
  padding-right: var(--block-padding-x);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  background: var(--hb-bg-color, var(--card-bg));
  border-radius: var(--radius-2xl-root, var(--radius-2xl));
}

/* Desktop spacing */
@media (min-width: 768px) {
  .hayden-pricing:not([data-margin-top]):not([data-margin-bottom]) {
    margin-top: var(--section-space-desktop);
    margin-bottom: var(--section-space-desktop);
  }
}

/* Full-width breakout support */
.hayden-pricing.alignfull {
  position: relative;
  width: 100vw;
  max-width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  border-radius: 0;
  box-sizing: border-box;
}

/* Full-width: center content with side padding */
.hayden-pricing.alignfull {
  padding-left: max(1.5rem, calc((100vw - var(--site-max-width, 90rem)) / 1.9));
  padding-right: max(1.5rem, calc((100vw - var(--site-max-width, 90rem)) / 1.9));
}

@media (min-width: 782px) {
  .hayden-pricing.alignfull {
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    width: 100vw;
    max-width: 100vw;
  }
}

/* Editor-specific full-width support */
.editor-styles-wrapper .hayden-pricing.alignfull,
.block-editor-block-list__layout .hayden-pricing.alignfull {
  position: relative;
  width: 100%;
  max-width: 100%;
  left: 0;
  right: 0;
  margin-left: 0;
  margin-right: 0;
  padding-left: max(1.5rem, calc((100% - var(--wp--style--global--content-size, 48rem)) / 2));
  padding-right: max(1.5rem, calc((100% - var(--wp--style--global--content-size, 48rem)) / 2));
}

/* For editor canvas that uses viewport width */
.wp-block[data-align="full"] .hayden-pricing.alignfull {
  width: 100vw;
  max-width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  padding-left: max(1.5rem, calc((100vw - 100%) / 2));
  padding-right: max(1.5rem, calc((100vw - 100%) / 2));
}

/* 1. Heading */
.hayden-pricing-title {
  margin: 0;
  color: var(--color-headings);
  text-align: left;
}

/* 2. Intro paragraph */
.hayden-pricing-intro {
  margin: 0.5rem 0 0 0;
  color: var(--color-body);
}

/* =========================================================
   Layout Controls (data attributes)
   ========================================================= */

/* Block-level padding overrides */
.hayden-pricing[data-padding-y="small"] {
  padding-top: 1.75rem;
  padding-bottom: 1.75rem;
}

.hayden-pricing[data-padding-y="medium"] {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

.hayden-pricing[data-padding-y="large"] {
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}

@media (min-width: 768px) {
  .hayden-pricing[data-padding-y="small"] {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
  
  .hayden-pricing[data-padding-y="medium"] {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
  
  .hayden-pricing[data-padding-y="large"] {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }
}

/* Horizontal padding overrides */
.hayden-pricing:not(.alignfull)[data-padding-x="small"] {
  padding-left: var(--block-padding-x-small);
  padding-right: var(--block-padding-x-small);
}

.hayden-pricing:not(.alignfull)[data-padding-x="medium"] {
  padding-left: var(--block-padding-x-medium);
  padding-right: var(--block-padding-x-medium);
}

.hayden-pricing:not(.alignfull)[data-padding-x="large"] {
  padding-left: var(--block-padding-x-large);
  padding-right: var(--block-padding-x-large);
}





/* Content Alignment (data-content-align) */
.hayden-pricing[data-content-align="center"] .hayden-pricing-title,
.hayden-pricing[data-content-align="center"] .hayden-pricing-intro {
  text-align: center;
}

.hayden-pricing[data-content-align="center"] .hayden-pricing-toggle {
  margin-inline: auto;
}

.hayden-pricing[data-content-align="right"] .hayden-pricing-title,
.hayden-pricing[data-content-align="right"] .hayden-pricing-intro {
  text-align: right;
}

.hayden-pricing[data-content-align="right"] .hayden-pricing-toggle {
  margin-left: auto;
}

/* Top/Bottom Margin Overrides (data-margin-top/bottom) */
.hayden-pricing[data-margin-top="none"] {
  margin-top: 0 !important;
}

.hayden-pricing[data-margin-top="small"] {
  margin-top: 4rem !important;
}

.hayden-pricing[data-margin-top="medium"] {
  margin-top: 6rem !important;
}

.hayden-pricing[data-margin-top="large"] {
  margin-top: 8rem !important;
}

.hayden-pricing[data-margin-bottom="none"] {
  margin-bottom: 0 !important;
}

.hayden-pricing[data-margin-bottom="small"] {
  margin-bottom: 4rem !important;
}

.hayden-pricing[data-margin-bottom="medium"] {
  margin-bottom: 6rem !important;
}

.hayden-pricing[data-margin-bottom="large"] {
  margin-bottom: 8rem !important;
}

/* Editor-specific margin overrides */
.editor-styles-wrapper .hayden-pricing[data-margin-top="none"],
.block-editor-block-list__layout .hayden-pricing[data-margin-top="none"] {
  margin-top: 0 !important;
}

.editor-styles-wrapper .hayden-pricing[data-margin-bottom="none"],
.block-editor-block-list__layout .hayden-pricing[data-margin-bottom="none"] {
  margin-bottom: 0 !important;
}

/* =========================================================
   Typography Controls
   ========================================================= */

/* Heading line-height control */
.hayden-type .hayden-type-heading { 
  line-height: 1.1; 
}

/* Default sizing follows theme customizer tokens */
.hayden-pricing .hayden-pricing-title {
  font-size: var(--h2-font-size-mobile);
}

.hayden-pricing .hayden-pricing-intro {
  font-size: var(--body-font-size-mobile);
  line-height: var(--body-line-height, 1.6);
}

/* Heading font size scales (mobile = one step down) */
.hayden-pricing.hayden-type--heading-sm .hayden-pricing-title { font-size: var(--text-sm); }
.hayden-pricing.hayden-type--heading-base .hayden-pricing-title { font-size: var(--text-sm); }
.hayden-pricing.hayden-type--heading-lg .hayden-pricing-title { font-size: var(--text-base); }
.hayden-pricing.hayden-type--heading-xl .hayden-pricing-title { font-size: var(--text-lg); }
.hayden-pricing.hayden-type--heading-2xl .hayden-pricing-title { font-size: var(--text-xl); }
.hayden-pricing.hayden-type--heading-3xl .hayden-pricing-title { font-size: var(--text-2xl); }
.hayden-pricing.hayden-type--heading-4xl .hayden-pricing-title { font-size: var(--text-3xl); }

/* Body font size scales (mobile = one step down) */
.hayden-pricing.hayden-type--body-sm .hayden-pricing-intro { font-size: var(--text-sm); }
.hayden-pricing.hayden-type--body-base .hayden-pricing-intro { font-size: var(--text-sm); }
.hayden-pricing.hayden-type--body-lg .hayden-pricing-intro { font-size: var(--text-base); }
.hayden-pricing.hayden-type--body-xl .hayden-pricing-intro { font-size: var(--text-lg); }
.hayden-pricing.hayden-type--body-2xl .hayden-pricing-intro { font-size: var(--text-xl); }
.hayden-pricing.hayden-type--body-3xl .hayden-pricing-intro { font-size: var(--text-2xl); }
.hayden-pricing.hayden-type--body-4xl .hayden-pricing-intro { font-size: var(--text-3xl); }

@media (min-width: 768px) {
  .hayden-pricing .hayden-pricing-title {
    font-size: var(--h2-font-size-desktop);
  }

  .hayden-pricing .hayden-pricing-intro {
    font-size: var(--body-font-size-desktop);
  }

  .hayden-pricing.hayden-type--heading-sm .hayden-pricing-title { font-size: var(--text-sm); }
  .hayden-pricing.hayden-type--heading-base .hayden-pricing-title { font-size: var(--text-base); }
  .hayden-pricing.hayden-type--heading-lg .hayden-pricing-title { font-size: var(--text-lg); }
  .hayden-pricing.hayden-type--heading-xl .hayden-pricing-title { font-size: var(--text-xl); }
  .hayden-pricing.hayden-type--heading-2xl .hayden-pricing-title { font-size: var(--text-2xl); }
  .hayden-pricing.hayden-type--heading-3xl .hayden-pricing-title { font-size: var(--text-3xl); }
  .hayden-pricing.hayden-type--heading-4xl .hayden-pricing-title { font-size: var(--text-4xl); }

  .hayden-pricing.hayden-type--body-sm .hayden-pricing-intro { font-size: var(--text-sm); }
  .hayden-pricing.hayden-type--body-base .hayden-pricing-intro { font-size: var(--text-base); }
  .hayden-pricing.hayden-type--body-lg .hayden-pricing-intro { font-size: var(--text-lg); }
  .hayden-pricing.hayden-type--body-xl .hayden-pricing-intro { font-size: var(--text-xl); }
  .hayden-pricing.hayden-type--body-2xl .hayden-pricing-intro { font-size: var(--text-2xl); }
  .hayden-pricing.hayden-type--body-3xl .hayden-pricing-intro { font-size: var(--text-3xl); }
  .hayden-pricing.hayden-type--body-4xl .hayden-pricing-intro { font-size: var(--text-4xl); }
}

/* 3. Pricing content area */
.hayden-pricing-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  width: 100%;
  box-sizing: border-box;
}

/* Editor-only: prevent grid overflow */
.block-editor-inner-blocks .hayden-pricing-content {
  max-width: 100% !important;
  overflow: hidden !important;
}

/* Responsive grid for pricing cards */
@media (min-width: 640px) {
  .hayden-pricing-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .hayden-pricing-content {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Column variations */
  .hayden-pricing[data-columns="1"] .hayden-pricing-content {
    grid-template-columns: repeat(1, 1fr);
  }

  .hayden-pricing[data-columns="2"] .hayden-pricing-content {
    grid-template-columns: repeat(2, 1fr);
  }

  .hayden-pricing[data-columns="3"] .hayden-pricing-content {
    grid-template-columns: repeat(3, 1fr);
  }

  .hayden-pricing[data-columns="4"] .hayden-pricing-content {
    grid-template-columns: repeat(4, 1fr);
  }

  .hayden-pricing[data-columns="5"] .hayden-pricing-content {
    grid-template-columns: repeat(5, 1fr);
  }

  .hayden-pricing[data-columns="6"] .hayden-pricing-content {
    grid-template-columns: repeat(6, 1fr);
  }
}

/* Editor: Force grid layout for pricing plans */
.block-editor-block-list__layout .hayden-pricing-content {
  grid-template-columns: 1fr !important;
}

.hayden-pricing-content .block-editor-inner-blocks .block-editor-block-list__layout {
  position: relative;
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 20px;
}

/* Editor: disable grid inside pricing features (list area) */
.hayden-pricing-content .hayden-pricing-features .block-editor-inner-blocks .block-editor-block-list__layout,
.hayden-pricing-content .hayden-pricing-features .block-editor-block-list__layout {
  display: block !important;
  grid-template-columns: unset !important;
  gap: 0 !important;
}

/* Editor responsive grid */
@media (min-width: 640px) {
  .block-editor-block-list__layout .hayden-pricing-content {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  
  .hayden-pricing-content .block-editor-inner-blocks .block-editor-block-list__layout {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (min-width: 1024px) {
  .block-editor-block-list__layout .hayden-pricing-content {
    grid-template-columns: repeat(3, 1fr) !important;
  }
  
  .hayden-pricing-content .block-editor-inner-blocks .block-editor-block-list__layout {
    grid-template-columns: repeat(3, 1fr) !important;
  }

  /* Editor column variations */
  .hayden-pricing[data-columns="1"] .hayden-pricing-content,
  .block-editor-block-list__layout .hayden-pricing[data-columns="1"] .hayden-pricing-content {
    grid-template-columns: repeat(1, 1fr) !important;
  }
  
  .hayden-pricing[data-columns="1"] .hayden-pricing-content .block-editor-inner-blocks .block-editor-block-list__layout {
    grid-template-columns: repeat(1, 1fr) !important;
  }

  .hayden-pricing[data-columns="2"] .hayden-pricing-content,
  .block-editor-block-list__layout .hayden-pricing[data-columns="2"] .hayden-pricing-content {
    grid-template-columns: 1fr !important;
  }
  
  .hayden-pricing[data-columns="2"] .hayden-pricing-content .block-editor-inner-blocks .block-editor-block-list__layout {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .hayden-pricing[data-columns="3"] .hayden-pricing-content,
  .block-editor-block-list__layout .hayden-pricing[data-columns="3"] .hayden-pricing-content {
    grid-template-columns: 1fr !important;
  }
  
  .hayden-pricing[data-columns="3"] .hayden-pricing-content .block-editor-inner-blocks .block-editor-block-list__layout {
    grid-template-columns: repeat(3, 1fr) !important;
  }

  .hayden-pricing[data-columns="4"] .hayden-pricing-content,
  .block-editor-block-list__layout .hayden-pricing[data-columns="4"] .hayden-pricing-content {
    grid-template-columns: repeat(4, 1fr) !important;
  }
  
  .hayden-pricing[data-columns="4"] .hayden-pricing-content .block-editor-inner-blocks .block-editor-block-list__layout {
    grid-template-columns: repeat(4, 1fr) !important;
  }

  .hayden-pricing[data-columns="5"] .hayden-pricing-content,
  .block-editor-block-list__layout .hayden-pricing[data-columns="5"] .hayden-pricing-content {
    grid-template-columns: repeat(5, 1fr) !important;
  }
  
  .hayden-pricing[data-columns="5"] .hayden-pricing-content .block-editor-inner-blocks .block-editor-block-list__layout {
    grid-template-columns: repeat(5, 1fr) !important;
  }

  .hayden-pricing[data-columns="6"] .hayden-pricing-content,
  .block-editor-block-list__layout .hayden-pricing[data-columns="6"] .hayden-pricing-content {
    grid-template-columns: repeat(6, 1fr) !important;
  }
  
  .hayden-pricing[data-columns="6"] .hayden-pricing-content .block-editor-inner-blocks .block-editor-block-list__layout {
    grid-template-columns: repeat(6, 1fr) !important;
  }
}

/* Force correct columns in WordPress block editor - use .wp-block selector */
.wp-block-smart-pricing[data-columns="3"] .hayden-pricing-content {
  grid-template-columns: repeat(3, 1fr) !important;
}

.wp-block-smart-pricing[data-columns="2"] .hayden-pricing-content {
  grid-template-columns: repeat(2, 1fr) !important;
}

.wp-block-smart-pricing[data-columns="1"] .hayden-pricing-content {
  grid-template-columns: repeat(1, 1fr) !important;
}

/* Highest specificity: target editor wrapper directly */
#editor-styles-wrapper .hayden-pricing-content {
  grid-template-columns: 1fr !important;
}

#editor-styles-wrapper .hayden-pricing[data-columns="2"] .hayden-pricing-content {
  grid-template-columns: repeat(2, 1fr) !important;
}

#editor-styles-wrapper .hayden-pricing[data-columns="3"] .hayden-pricing-content {
  grid-template-columns: repeat(3, 1fr) !important;
}

#editor-styles-wrapper .hayden-pricing[data-columns="4"] .hayden-pricing-content {
  grid-template-columns: repeat(4, 1fr) !important;
}

.hayden-pricing-toggle {
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
  background: var(--toggle-bg, rgba(0,0,0,0.05));
  border-radius: 999px;
  padding: 0.25rem;
  width: fit-content;
}
.hayden-pricing-toggle button {
  border: none;
  background: transparent;
  padding: 0.5rem 1.2rem;
  border-radius: 999px;
  cursor: pointer;
  color: var(--toggle-text, inherit);
  font-weight: 600;
  transition: all 0.2s;
}
.hayden-pricing-toggle button.is-active {
  background: var(--toggle-button-bg, #0f172a);
  color: var(--toggle-button-text, #fff);
}

/* Editor notice */
.hayden-editor-notice {
  margin: 2rem 0 1rem 0;
  padding: 1rem;
  background: #f0f6fc;
  border-left: 4px solid #0284c7;
  border-radius: 4px;
}

.hayden-editor-notice-text {
  margin: 0;
  font-size: 0.9rem;
  color: #0c4a6e;
  font-weight: 500;
}

/* 4. Pricing plan grid (legacy) */
.hayden-pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .hayden-pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .hayden-pricing-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Editor: Override WordPress block list to use grid layout */
.hayden-pricing-grid .block-editor-inner-blocks .block-editor-block-list__layout {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 640px) {
  .hayden-pricing-grid .block-editor-inner-blocks .block-editor-block-list__layout {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .hayden-pricing-grid .block-editor-inner-blocks .block-editor-block-list__layout {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Frontend: Ensure pricing plans display in grid */
.hayden-pricing-grid > .hayden-pricing-plan {
  display: flex;
  flex-direction: column;
}

/* Pricing plan card */
.hayden-pricing-plan {
  background: var(--plan-card-bg, var(--card-bg-alt, #fff));
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: var(--radius-xl-root, var(--radius-xl, 18px));
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  padding: 2rem;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transition: transform 0.2s, box-shadow 0.2s;
}

/* Hide duplicate block toolbar in nested blocks */
.hayden-pricing-plan .block-editor-block-list__block .block-editor-block-toolbar {
  display: none;
}

/* Completely hide all nested block toolbars inside features area */
.hayden-pricing-features .block-editor-block-toolbar,
.hayden-pricing-features .block-editor-block-contextual-toolbar,
.hayden-pricing-features .components-toolbar-group,
.hayden-pricing-features .block-editor-block-mover {
  display: none !important;
}

.hayden-pricing-plan:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.hayden-pricing-plan.is-highlight {
  border: 2px solid var(--color-primary, #f97316);
  box-shadow: 0 8px 32px rgba(249, 115, 22, 0.15);
}

.hayden-pricing-badge {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: var(--color-primary, #f97316);
  color: #fff;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hayden-pricing-plan-title {
  margin: 0;
  color: var(--plan-title-color, var(--color-headings));
  font-size: 1.5rem;
}

.hayden-pricing-plan-subtitle {
  margin: 0;
  opacity: 0.7;
  font-size: 0.95rem;
  color: var(--plan-body-color, var(--color-body));
}

.hayden-pricing-amounts {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.1);
}

.hayden-pricing-price {
  font-size: var(--plan-price-size, var(--text-4xl, 2.25rem));
  font-weight: 700;
  color: var(--plan-price-color, var(--color-body));
  word-break: break-word;
  overflow-wrap: break-word;
}

/* Editor-specific: reduce price size to prevent card breakout */
.block-editor-block-list__layout .hayden-pricing-price {
  font-size: var(--plan-price-size, var(--text-4xl, 2.25rem));
}

.hayden-pricing-price--yearly {
  display: none;
}

/* Toggle visibility based on billing cycle */
.hayden-pricing[data-billing="monthly"] .hayden-pricing-price--monthly { display: block; }
.hayden-pricing[data-billing="monthly"] .hayden-pricing-price--yearly { display: none; }
.hayden-pricing[data-billing="yearly"] .hayden-pricing-price--monthly { display: none; }
.hayden-pricing[data-billing="yearly"] .hayden-pricing-price--yearly { display: block; }

.hayden-pricing-features {
  flex: 1;
}

.hayden-pricing-feature-list {
  margin: 0;
  padding-left: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.hayden-pricing-feature-list li {
  list-style: disc;
  padding-left: 0.25rem;
}

/* Make inner blocks full width in features area - NOT grid */
.hayden-pricing-features .block-editor-block-list__layout,
.hayden-pricing-features .block-editor-inner-blocks > .block-editor-block-list__layout,
.hayden-pricing-features .block-editor-block-list__layout.is-layout-grid {
  display: block !important;
  grid-template-columns: unset !important;
  gap: 0 !important;
  width: 100% !important;
}

/* Override any parent grid on list wrappers */
.hayden-pricing-features .block-editor-inner-blocks {
  display: block !important;
  width: 100% !important;
  grid-template-columns: unset !important;
}

/* Force all nested blocks to not use grid */
.hayden-pricing-features .block-editor-block-list__block {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
}

.hayden-pricing-features .block-editor-inner-blocks,
.hayden-pricing-features > * {
  width: 100%;
}

.hayden-pricing-features .block-editor-block-list__block {
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
}

/* Style lists in editor to match frontend */
.hayden-pricing-features ul,
.hayden-pricing-features ol {
  margin: 0 !important;
  padding-left: 1.5rem !important;
  list-style-position: outside !important;
  list-style-type: disc !important;
}

.hayden-pricing-features ol {
  list-style-type: decimal !important;
}

.hayden-pricing-features li {
  display: list-item !important;
  list-style: inherit !important;
  padding-left: 0.25rem !important;
  margin-bottom: 0.5rem !important;
  color: var(--plan-body-color, var(--color-body));
  line-height: 1.5;
}

/* Override WordPress editor list styles */
.hayden-pricing-features .block-editor-block-list__block[data-type="core/list"] ul,
.hayden-pricing-features .block-editor-block-list__block[data-type="core/list"] ol {
  list-style-type: disc !important;
  list-style-position: outside !important;
  list-style: disc outside !important;
  padding-left: 1.5rem !important;
  margin: 0 !important;
}

.hayden-pricing-features .block-editor-block-list__block[data-type="core/list"] ol {
  list-style-type: decimal !important;
  list-style: decimal outside !important;
}

/* Force list items to show bullets */
.hayden-pricing-features .wp-block-list__item,
.hayden-pricing-features .block-editor-block-list__block[data-type="core/list-item"] {
  display: list-item !important;
  list-style: inherit !important;
}

/* Editor: override core list reset */
.editor-styles-wrapper .hayden-pricing-features ul,
.block-editor-block-list__layout .hayden-pricing-features ul,
.editor-styles-wrapper .hayden-pricing-features ol,
.block-editor-block-list__layout .hayden-pricing-features ol {
  list-style: disc outside !important;
  list-style-type: disc !important;
  padding-left: 1.5rem !important;
}

.editor-styles-wrapper .hayden-pricing-features ol,
.block-editor-block-list__layout .hayden-pricing-features ol {
  list-style-type: decimal !important;
  list-style: decimal outside !important;
}

/* Remove the pseudo-element bullets - keep native list styling */

.hayden-pricing-features li {
  display: list-item !important;
  padding-left: 0.25rem !important;
  margin-bottom: 0.5rem !important;
  color: var(--plan-body-color, var(--color-body));
  line-height: 1.5;
}

.hayden-pricing-features ul li,
.hayden-pricing-features ol li {
  display: list-item !important;
  margin-left: 0;
  margin-right: 0;
  width: 100% !important;
}

.hayden-pricing-features .block-editor-block-list__block[data-type="core/list-item"] {
  display: list-item !important;
  width: 100% !important;
  margin-bottom: 0.5rem !important;
}

/* Ensure list content displays properly */
.hayden-pricing-features ul li > *,
.hayden-pricing-features ol li > * {
  display: inline;
}

.hayden-pricing-features p {
  color: var(--plan-body-color, var(--color-body));
}

/* Force list items in editor to show bullets */
.hayden-pricing-features .block-editor-block-list__block[data-type="core/list-item"],
.hayden-pricing-features .block-editor-block-list__block[data-type="core/list-item"] > .block-editor-block-list__block-edit {
  display: list-item !important;
  list-style: inherit !important;
}

/* Final editor override: force bullets to render */
.editor-styles-wrapper .hayden-pricing-features ul,
.block-editor-block-list__layout .hayden-pricing-features ul {
  list-style: disc outside !important;
  list-style-type: disc !important;
  padding-left: 1.5rem !important;
}

.editor-styles-wrapper .hayden-pricing-features ol,
.block-editor-block-list__layout .hayden-pricing-features ol {
  list-style: decimal outside !important;
  list-style-type: decimal !important;
  padding-left: 1.5rem !important;
}

.editor-styles-wrapper .hayden-pricing-features li,
.block-editor-block-list__layout .hayden-pricing-features li {
  display: list-item !important;
  list-style-type: inherit !important;
}

.editor-styles-wrapper .hayden-pricing-features li::marker,
.block-editor-block-list__layout .hayden-pricing-features li::marker {
  color: currentColor;
}

.hayden-pricing-ctas {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.hayden-pricing-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: var(--radius-full-root, var(--radius-full, 9999px));
  padding: 0.85rem 1.9rem;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  background-color: var(--plan-button-bg, var(--color-primary, #f97316));
  color: var(--plan-button-text, #ffffff);
  cursor: pointer;
  transition: transform 150ms ease, opacity 150ms ease;
}

.hayden-pricing-cta:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.hayden-pricing-cta:active {
  transform: translateY(0);
}

.hayden-pricing-cta--yearly {
  display: none;
}

.hayden-pricing[data-billing="yearly"] .hayden-pricing-cta--yearly { display: inline-flex; }
.hayden-pricing[data-billing="yearly"] .hayden-pricing-cta--monthly { display: none; }
.hayden-pricing[data-billing="monthly"] .hayden-pricing-cta--monthly { display: inline-flex; }

@media (max-width: 768px) {
  .hayden-pricing-grid,
  .hayden-pricing-grid .block-editor-inner-blocks,
  .hayden-pricing-grid .block-editor-block-list__layout {
    grid-template-columns: 1fr !important;
  }
}
