/* ClientOps Gateway production storefront (2026-10-12).
   Template-only floating controls are removed from Blade views.
   This stylesheet is a safety guard for stale markup, and does NOT hide
   the legitimate plans page, pricing cards, or primary navigation. */
body.antler-public .btn-settings,
body.antler-public .btn-demos,
body.antler-public #offcanvasRight,
body.antler-public #settings,
body.antler-public .cd-top {
    display: none !important;
}
/* Dark storefront remains consistent with Antler's [data-background=dark] theme. */
body.antler-public[data-background="dark"] {
    color-scheme: dark;
}

/* Persistent language control in the compact announcement/utility strip.
   Kept outside dropdowns and visible even when announcements are disabled. */
body.antler-public .waw-topbar .waw-topbar-news {
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
body.antler-public .waw-topbar .waw-topbar-actions {
    display: flex;
    justify-content: flex-end;
    min-width: 0;
}
body.antler-public .waw-topbar .waw-topbar-actions .infonews-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 15px;
    float: none !important;
    min-height: 40px;
    width: 100%;
    white-space: nowrap;
}
body.antler-public .waw-topbar .infonews-nav a.iconews {
    margin: 0 !important;
    padding: 8px 0;
    flex-shrink: 0;
}
body.antler-public .waw-topbar .infonews-nav .waw-top-language {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    flex-shrink: 0;
    min-height: 30px;
    padding: 5px 12px;
    margin: 0 !important;
    border: 1px solid rgba(238, 85, 134, .65);
    border-radius: 100px;
    background: rgba(238, 85, 134, .10);
    color: #fff !important;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.3;
    text-decoration: none;
    transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
body.antler-public .waw-topbar .infonews-nav .waw-top-language:hover,
body.antler-public .waw-topbar .infonews-nav .waw-top-language:focus-visible {
    background: #fdd700;
    border-color: #fdd700;
    color: #101920 !important;
    text-decoration: none;
}
body.antler-public .waw-topbar .infonews-nav .waw-top-language:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}
@media (max-width: 1199px) {
    body.antler-public .waw-topbar .waw-topbar-actions .infonews-nav { gap: 12px; }
    body.antler-public .waw-topbar .infonews-nav .tabphone { display: none !important; }
}
@media (max-width: 767px) {
    body.antler-public .waw-topbar .waw-topbar-news { display: none !important; }
    body.antler-public .waw-topbar .waw-topbar-actions {
        flex: 0 0 100%;
        max-width: 100%;
        width: 100%;
    }
    body.antler-public .waw-topbar .waw-topbar-actions .infonews-nav {
        min-height: 40px;
        gap: 15px;
    }
    body.antler-public .waw-topbar .infonews-nav .waw-top-language {
        min-height: 32px;
        padding: 6px 10px;
    }
}
/* Catalog cards: equal heights, wrapped CTAs and accessible small screens. */
.waw-plan-card{display:flex;flex-direction:column;overflow:hidden;height:100%}
.waw-plan-card>.top-content{flex:1;display:flex;flex-direction:column}
.waw-plan-card .fromer{flex:1}
.waw-plan-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-top:14px}
.waw-plan-actions .btn{min-height:44px;display:inline-flex;align-items:center;justify-content:center;white-space:normal;max-width:100%;text-align:center}
.waw-plan-card .list-info{margin-top:auto}
@media(max-width:420px){.waw-plan-actions{flex-direction:column;align-items:stretch}.waw-plan-actions .btn{width:100%}}

/* 2026-11: one specification list per plan, with a concise availability notice.
   No duplicate technical-details disclosure or misleading purchase action. */
.antler-public .waw-plan-card .top-content{min-width:0}
.antler-public .waw-plan-card .waw-plan-actions{display:flex;flex-wrap:nowrap;gap:10px;margin-top:18px;align-items:stretch;min-width:0}
.antler-public .waw-plan-card .waw-plan-actions--paired{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.antler-public .waw-plan-card .waw-plan-actions .btn{width:100%;min-width:0;min-height:51px;margin:0!important;padding:11px 9px!important;display:inline-flex!important;align-items:center;justify-content:center;text-align:center;white-space:normal;line-height:1.35;font-size:clamp(12px,1vw,15px);font-weight:800;overflow-wrap:break-word}
.antler-public .waw-plan-card .waw-plan-unavailable{margin:16px 0 0;padding:12px 14px;border:1px solid rgba(255,218,0,.25);border-radius:10px;background:rgba(255,218,0,.08);color:#f4dc85;font-size:13px;line-height:1.6;overflow-wrap:anywhere}
/* Antler's legacy page template enforces 520px on the upper half of every plan.
   Override this only for the new cards so it does not leave a large empty panel. */
.antler-public .waw-page-plan-grid .waw-plan-card>.top-content{min-height:0;padding:36px 28px}
.antler-public #plans-list,.antler-public #category-plans{scroll-margin-top:120px}
@media(max-width:575px){
  .antler-public .waw-plan-card .waw-plan-actions .btn{font-size:13px;min-height:48px}
  .antler-public .waw-page-plan-grid .waw-plan-card>.top-content{padding:32px 24px}
}
@media(max-width:350px){.antler-public .waw-plan-card .waw-plan-actions--paired{gap:6px}}

/* V5: shared five-slot layout for every catalog card on the homepage, /plans and
   category pages. All cards reserve identical slots for heading, description,
   price, CTAs and availability, regardless of whether ordering is enabled.
   This removes the state-dependent vertical drift introduced by flex: 1. */
.antler-public .pricing.special .waw-plan-card {
  display: flex;
  flex-direction: column;
  height: 100% !important;
  min-height: 0 !important;
}
.antler-public .pricing.special .waw-plan-card > .top-content {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(42px, auto) minmax(138px, auto) minmax(58px, auto) minmax(69px, auto) minmax(86px, auto);
  align-content: start;
  gap: 0;
  flex: 0 0 auto !important;
  height: auto !important;
  min-height: 0 !important;
  padding: 32px 28px !important;
}
.antler-public .pricing.special .waw-plan-card .top-content > .title {
  grid-row: 1;
  align-self: start;
  margin: 0 !important;
}
.antler-public .pricing.special .waw-plan-card .top-content > .fromer {
  grid-row: 2;
  align-self: start;
  flex: none !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  line-height: 1.8;
  overflow-wrap: break-word;
}
.antler-public .pricing.special .waw-plan-card .top-content > .price-content {
  grid-row: 3;
  align-self: start;
  margin: 0 !important;
}
.antler-public .pricing.special .waw-plan-card .top-content > .waw-plan-actions {
  grid-row: 4;
  align-self: start;
  margin: 0 !important;
  min-width: 0;
}
.antler-public .pricing.special .waw-plan-card .top-content > .waw-plan-unavailable,
.antler-public .pricing.special .waw-plan-card .top-content > .waw-plan-available {
  grid-row: 5;
  align-self: start;
  margin: 0 !important;
}
.antler-public .pricing.special .waw-plan-card .waw-plan-available {
  padding: 12px 14px;
  border: 1px solid rgba(79, 193, 140, .35);
  border-radius: 10px;
  background: rgba(79, 193, 140, .09);
  color: #a5ebc8;
  font-size: 13px;
  line-height: 1.6;
}
.antler-public .pricing.special .waw-plan-card .waw-plan-available .waw-plan-status-icon {
  font-weight: 800;
  margin-inline-end: 5px;
}
.antler-public .pricing.special .waw-plan-card > .list-info {
  flex: 1 0 auto;
  margin-top: 0 !important;
}
/* On 2-column widths, text wraps more; reserve a larger description slot.
   Descriptions are never clipped or ellipsized. */
@media (min-width: 768px) and (max-width: 1199.98px) {
  .antler-public .pricing.special .waw-plan-card > .top-content {
    grid-template-rows: minmax(42px, auto) minmax(165px, auto) minmax(58px, auto) minmax(69px, auto) minmax(86px, auto);
  }
}
/* A single card per row on small screens should grow naturally with its text.
   Avoid reserving empty desktop rows when a card is stacked. */
@media (max-width: 767.98px) {
  .antler-public .pricing.special .waw-plan-card > .top-content {
    grid-template-rows: repeat(5, auto);
    row-gap: 12px;
    padding: 28px 24px !important;
  }
}
