/*
Theme Name:   SNN-BRX - Bricks Builder Child Theme
Theme URI:    https://github.com/sinanisler/snn-brx-child-theme
Description:  SNN-BRX Child Theme is a purpose-built essential building suite for agencies and professionals, streamlining your Bricks Builder projects with one powerful child theme.
Author:       sinanisler
Author URI:   https://github.com/sinanisler
Text Domain:  snn
Template:     bricks
Requires at least: 6.9
Version: 0.700
*/
@layer base {
  :root {
    /* ── Fallback: --at-neutral fehlt in Farbpalette ── */
    --at-neutral: hsl(0, 0%, 46%);

    /* ── Transitions ── */
    --t2g-transition-smooth: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --t2g-transition-medium: 0.3s ease;
    --t2g-transition-fast: 0.15s ease;

    /* ── Z-Index Scale ── */
    --t2g-z-dropdown: 50;
    --t2g-z-sticky: 100;
    --t2g-z-overlay: 500;
    --t2g-z-fixed: 1000;
    --t2g-z-loader: 9999;

    /* ── RGB-Kanäle (für rgba() Transparenz) ── */
    --t2g-primary-rgb: 239, 91, 6;
    --t2g-secondary-rgb: 49, 55, 221;

    /* ── Gradients (AT-Variablen statt Hex) ── */
    --t2g-gradient-primary: linear-gradient(135deg, var(--at-primary), var(--at-primary-d-1));
    --t2g-gradient-secondary: linear-gradient(135deg, var(--at-secondary), var(--at-secondary-d-1));
    --t2g-gradient-success: linear-gradient(135deg, var(--at-success), hsl(148, 60%, 30%));
    --t2g-gradient-price: linear-gradient(135deg, var(--at-secondary), hsl(245, 80%, 40%), hsl(245, 80%, 30%));

    /* ── Shadows ── */
    --t2g-shadow--up: 0 -4px 16px rgba(0, 0, 0, 0.12);
    --t2g-shadow--primary: 3px 3px 10px rgba(var(--t2g-primary-rgb), 0.3);
    --t2g-shadow--primary-hover: 0 20px 60px rgba(var(--t2g-primary-rgb), 0.25), 0 4px 12px rgba(0, 0, 0, 0.06);
    --t2g-shadow--secondary: 0 8px 30px rgba(var(--t2g-secondary-rgb), 0.25);
    --t2g-shadow--secondary-strong: 0 4px 20px rgba(var(--t2g-secondary-rgb), 0.5);

    /* ── Cards (einheitlicher box-shadow Ring statt border) ── */
    --t2g-card-ring: 0 1px 3px rgba(0,0,0,0.06), 0 0 0 1px rgba(0,0,0,0.04);
    --t2g-card-ring-hover: 0 4px 12px rgba(0,0,0,0.08), 0 0 0 1px var(--at-secondary-l-3);
    --t2g-card-ring-elevated: 0 8px 24px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(0, 0, 0, 0.04);
    --t2g-card-ring-elevated-hover: 0 14px 34px rgba(0, 0, 0, 0.14), 0 0 0 1px var(--at-secondary-l-3);
    --t2g-card-ring-selected: 0 4px 20px rgba(var(--t2g-secondary-rgb),0.2), 0 0 0 2px var(--at-secondary);
    --t2g-card-ring-recommended: var(--at-shadow--l), 0 0 0 2px var(--at-primary-d-2), 0 4px 20px rgba(var(--t2g-primary-rgb),0.12);
    --t2g-card-ring-recommended-hover: 0 4px 16px rgba(0,0,0,0.08), 0 0 0 2px var(--at-primary-d-3), 0 8px 30px rgba(var(--t2g-primary-rgb),0.18);
    --t2g-focus-ring: 0 0 0 2px var(--at-primary);

    /* ── Borders ── */
    --t2g-card-radius: var(--at-radius--m);
    --t2g-divider: 1px solid var(--at-black-l-5);

    /* ── Danger ── */
    --t2g-danger: var(--at-danger);
    --t2g-danger-light: hsl(355, 80%, 93%);
    --t2g-danger-lighter: hsl(355, 80%, 96%);

    /* ── Typography ── */
    --t2g-lh-body: 1.5;
    --t2g-lh-heading: 1.3;
    --t2g-lh-tight: 1.4;
    --t2g-lh-display: 1;
    --t2g-text-muted: var(--at-black-l-1);

    /* ── Layout ── */
    --t2g-gap-tight: 2px;
    --t2g-cart-handle-h: 64px;
    --t2g-sticky-top: var(--at-distance--l);
    --t2g-thumb-max-w: 120px;
    --t2g-thumb-max-w-mobile: 60px;

    /* ── Logo ── */
    --t2g-logo-h: var(--at-heading--xl);
    --t2g-logo-h-mobile: var(--at-heading--xl);
    --t2g-logo-max-w: var(--at-space--3xl);
    --t2g-logo-max-w-mobile: var(--at-space--2xl);

    /* -- Tarif card compact/mobile tokens -- */
    --t2g-card-mobile-gap: var(--at-space--2xs);
    --t2g-card-mobile-pad-y: var(--at-space--2xs);
    --t2g-card-mobile-pad-x: var(--at-space--s);
    --t2g-card-mobile-col-right: clamp(8.2rem, 36vw, 10rem);
    --t2g-card-mobile-logo-h: var(--at-space--xl);
    --t2g-card-mobile-title-size: var(--at-text--m);
    --t2g-card-mobile-speed-size: var(--at-text--m);
    --t2g-card-mobile-price-size: var(--at-heading--s);
    --t2g-card-mobile-cta-size: var(--at-text--s);
    --t2g-card-mobile-zone-pad: var(--at-space--2xs);
    --t2g-card-mobile-zone-bg: var(--at-primary-l-5);
    --t2g-card-mobile-zone-border: var(--at-primary-l-4);


    /* ── Badge: Gutschrift / Gutschein ── */
    --t2g-badge-gutschrift: var(--t2g-rating-excellent);
    --t2g-badge-gutschrift-bg: hsl(142, 76%, 94%);
    --t2g-badge-gutschein: var(--at-secondary);
    --t2g-badge-gutschein-bg: var(--at-secondary-l-4);

    /* ── Rating (HSL-basiert, Score-abhängig) ── */
    --t2g-rating-excellent: hsl(142, 71%, 45%);
    --t2g-rating-good: hsl(217, 91%, 60%);
    --t2g-rating-satisfactory: hsl(38, 92%, 50%);
    --t2g-rating-adequate: hsl(0, 84%, 60%);

    /* ── Legacy Brand Palette (exact visual parity) ── */
    --t2g-legacy-rose: #e67c73;
    --t2g-legacy-yellow: #f7cb4d;
    --t2g-legacy-green: #41b375;
    --t2g-legacy-blue: #7baaf7;
    --t2g-legacy-purple: #ba67c8;
    --t2g-legacy-gold-1: #c4a77d;
    --t2g-legacy-gold-2: #b8956a;
    --t2g-legacy-icon-base: #ff3366;
    --t2g-legacy-icon-hover: #ff8aa7;
    --t2g-legacy-switcher-primary: #0766ff;
    --t2g-legacy-switcher-success: #2fd98a;
    --t2g-legacy-surface-soft: #fbfafa;
    --t2g-legacy-surface-danger: #fff3f3;
    --t2g-legacy-shadow-soft: #d4d4d4;
  }
}

/* ==========================================================================
   TARIF GRID — DOM: .t2g-tarif-grid-wrapper, .t2g-tarif-column
   ========================================================================== */

.t2g-tarif-grid-wrapper {
  display: grid;
  grid-template-columns: var(--at-grid--2-1);
  gap: var(--at-space--m);
}

@media (max-width: 1024px) {
  .t2g-tarif-grid-wrapper {
    grid-template-columns: var(--at-grid--m, 1fr);
  }
}

/* ==========================================================================
   TARIF INFO — DOM: .t2g-tarif-info__*
   ========================================================================== */

.t2g-tarif-info__header {
  background: linear-gradient(135deg, var(--at-secondary-l-1) 0%, var(--at-secondary-l-2) 80%);
  color: var(--at-white);
  padding: var(--at-space--l) var(--at-space--m);
  border-top-left-radius: var(--at-radius--m);
  border-top-right-radius: var(--at-radius--m);
}

.t2g-tarif-info__speed {
  font-size: var(--at-text--s);
  opacity: 0.9;
  line-height: var(--t2g-lh-body);
}

.t2g-tarif-info__features {
  padding: var(--at-space--m);
  background: var(--at-white);
  box-shadow: var(--t2g-card-ring);
  border-bottom-left-radius: var(--at-radius--m);
  border-bottom-right-radius: var(--at-radius--m);
}

/* ===========================================================================
   TARIF CARDS HOTFIX — compact, conversion-first, no-bloat
   =========================================================================== */

.t2g-tarif-card {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 0.8fr);
  gap: var(--at-space--s);
  align-items: stretch;
  position: relative;
  background: var(--at-white);
  border-radius: var(--at-radius--m);
  box-shadow: var(--t2g-card-ring-elevated);
  overflow: hidden;
  padding: var(--at-space--s) var(--at-space--m);
  transition: box-shadow var(--t2g-transition-smooth), transform var(--t2g-transition-smooth), background var(--t2g-transition-smooth);
  --t2g-card-meta-lh: 1.25;
  --t2g-card-tight-lh: 1;
}

.t2g-tarif-card > * {
  min-width: 0;
}

.t2g-tarif-card :is(figure, h3, h4, p) {
  margin: 0;
}

.t2g-tarif-card:hover {
  box-shadow: var(--t2g-card-ring-elevated-hover);
  transform: translateY(var(--at-distance--s));
  background: var(--at-primary-l-5);
}

.t2g-tarif-card:active {
  transform: scale(0.99);
  transition: transform var(--t2g-transition-fast);
}

.t2g-tarif-card__provider {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--at-space--xs);
  text-align: center;
}

.t2g-tarif-card__logo-img {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: var(--t2g-logo-h);
}

.t2g-tarif-card__logo-img img {
  height: var(--t2g-logo-h);
  max-width: var(--t2g-logo-max-w);
  width: auto;
  object-fit: contain;
  transition: transform var(--t2g-transition-smooth);
}

.t2g-tarif-card:hover .t2g-tarif-card__logo-img img {
  transform: scale(1.03);
}

.t2g-tarif-card__title {
  font-size: var(--at-heading--xs);
  line-height: var(--t2g-lh-heading);
  text-wrap: balance;
  overflow-wrap: anywhere;
}

.t2g-tarif-card__info {
  display: grid;
  justify-content: center;
  border-inline: var(--t2g-divider);
  padding-inline: var(--at-space--xs);
}

.t2g-tarif-card__speed,
.t2g-tarif-card__price-amount {
  font-size: var(--at-heading--m);
  color: var(--at-primary);
  font-weight: 700;
  line-height: var(--t2g-lh-display);
  letter-spacing: -0.03em;
}

.t2g-tarif-card__upload {
  font-size: var(--at-text--xs);
  color: var(--at-black-l-2);
  line-height: var(--t2g-lh-body);
}

.t2g-tarif-card__rating-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: var(--at-space--3xs) var(--at-space--xs);
  border-radius: var(--at-radius--s);
  font-size: var(--at-text--2xs);
  font-weight: 700;
  color: var(--at-white);
  line-height: var(--t2g-lh-display);
  white-space: nowrap;
}

.t2g-tarif-card__rating-badge--excellent { background: var(--t2g-rating-excellent); }
.t2g-tarif-card__rating-badge--good { background: var(--t2g-rating-good); }
.t2g-tarif-card__rating-badge--satisfactory { background: var(--t2g-rating-satisfactory); }
.t2g-tarif-card__rating-badge--adequate { background: var(--t2g-rating-adequate); }

.t2g-tarif-card__rating-label,
.t2g-tarif-card__price-period {
  font-size: var(--at-text--2xs);
  color: var(--t2g-text-muted);
  line-height: var(--t2g-card-meta-lh);
}

.t2g-tarif-card__details {
  display: flex;
  flex-direction: column;
  justify-content: center;
  column-gap: var(--at-space--xs);
}

.t2g-tarif-card__badge-row {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  column-gap: var(--at-space--3xs);
  flex-wrap: wrap;
}

.t2g-tarif-card__badge-row:empty {
  display: none;
}

.t2g-tarif-card__badge {
  display: inline-flex;
  align-items: center;
  font-size: var(--at-text--2xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: var(--at-space--3xs) var(--at-space--xs);
  border-radius: var(--at-radius--s);
  line-height: var(--t2g-lh-display);
  white-space: nowrap;
}

.t2g-tarif-card__badge--gutschrift {
  background: var(--t2g-badge-gutschrift-bg);
  color: var(--t2g-badge-gutschrift);
}

.t2g-tarif-card__badge--gutschein {
  background: var(--t2g-badge-gutschein-bg);
  color: var(--t2g-badge-gutschein);
}

.t2g-tarif-card__details-link {
  font-size: var(--at-text--xs);
  color: var(--at-secondary);
  text-decoration: underline;
  text-decoration-color: var(--at-secondary-l-4);
  text-underline-offset: var(--at-space--3xs);
  cursor: pointer;
  font-weight: 500;
}

.t2g-tarif-card__pricing {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--at-space--2xs);
  text-align: center;
}

.t2g-tarif-card__btn {
  width: 100%;
}

.t2g-tarif-card--recommended {
  --t2g-reco-badge-offset-x: var(--at-space--s);
  --t2g-reco-badge-lift-y: -46%;
  --t2g-reco-provider-pad-top: var(--at-space--s);
  box-shadow: var(--t2g-card-ring-recommended);
  background: linear-gradient(180deg, rgba(var(--t2g-primary-rgb), 0.05) 0%, var(--at-white) 42%);
  overflow: visible;
}

.t2g-tarif-card--recommended::before {
  content: "Tarifempfehlung";
  position: absolute;
  top: 0;
  left: var(--t2g-reco-badge-offset-x);
  transform: translateY(var(--t2g-reco-badge-lift-y));
  z-index: 2;
  display: inline-flex;
  align-items: center;
  font-size: var(--at-text--2xs);
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--at-white);
  background: var(--t2g-gradient-primary);
  padding: var(--at-space--3xs) var(--at-space--s);
  border-radius: 0 0 var(--at-radius--m) 0;
  box-shadow: var(--t2g-shadow--primary);
  pointer-events: none;
}

.t2g-tarif-card--recommended .t2g-tarif-card__provider {
  padding-top: var(--t2g-reco-provider-pad-top);
}

.t2g-tarif-card--recommended:hover {
  box-shadow: var(--t2g-card-ring-recommended-hover);
}

@media (max-width: 1100px) {
  .t2g-tarif-card {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas:
      "provider info details"
      "pricing pricing pricing";
    align-items: start;
    gap: var(--at-space--xs);
    padding: var(--at-space--s);
    --t2g-card-rsp-lh: 1.2;
    --t2g-card-rsp-price-size: var(--at-heading--l);
    --t2g-card-rsp-period-size: var(--at-text--xs);
  }

  .t2g-tarif-card__provider {
    grid-area: provider;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: var(--at-space--2xs);
  }

  .t2g-tarif-card__title {
    font-size: var(--at-text--m);
    line-height: var(--t2g-card-rsp-lh);
  }

  .t2g-tarif-card__info {
    grid-area: info;
    border: none;
    padding: var(--at-space--2xs) 0 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--at-space--3xs);
  }

  .t2g-tarif-card__speed {
    font-size: var(--at-text--m);
  }

  .t2g-tarif-card__upload {
    font-size: var(--at-text--2xs);
    line-height: var(--t2g-card-rsp-lh);
  }

  .t2g-tarif-card__rating-label {
    display: block;
    font-size: var(--at-text--2xs);
    line-height: var(--t2g-card-rsp-lh);
    color: var(--at-black-l-2);
  }

  .t2g-tarif-card__details {
    grid-area: details;
    gap: var(--at-space--3xs);
    padding-top: var(--at-space--2xs);
  }


  .t2g-tarif-card__details-link {
    text-align: left;
    align-self: flex-start;
    white-space: normal;
  }

  .t2g-tarif-card__pricing {
    grid-area: pricing;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "amount cta"
      "period cta";
    align-items: center;
    column-gap: var(--at-space--s);
    row-gap: var(--at-space--3xs);
    width: 100%;
    padding-top: var(--at-space--2xs);
    border-top: var(--t2g-divider);
    text-align: left;
  }

  .t2g-tarif-card__price-amount {
    grid-area: amount;
    font-size: var(--t2g-card-rsp-price-size);
    line-height: var(--t2g-card-tight-lh);
    justify-self: start;
  }

  .t2g-tarif-card__btn {
    grid-area: cta;
    width: auto;
    min-height: var(--at-space--l);
    padding: var(--at-space--2xs) var(--at-space--m);
    font-size: var(--at-text--s);
    justify-self: end;
    align-self: center;
  }

  .t2g-tarif-card__price-period {
    grid-area: period;
    display: block;
    font-size: var(--t2g-card-rsp-period-size);
    line-height: var(--t2g-card-rsp-lh);
    letter-spacing: 0;
    text-transform: none;
    color: var(--at-black-l-2);
    justify-self: start;
  }
}

@media (max-width: 420px) {
  .t2g-tarif-card {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr) minmax(0, 0.95fr);
    gap: var(--at-space--2xs);
  }

  .t2g-tarif-card__title,
  .t2g-tarif-card__speed {
    font-size: var(--at-text--s);
  }

  .t2g-tarif-card__price-amount {
    font-size: var(--at-heading--m);
  }

  .t2g-tarif-card__btn {
    font-size: var(--at-text--xs);
    padding-inline: var(--at-space--s);
  }
}

@media (prefers-reduced-motion: reduce) {
  .t2g-tarif-card,
  .t2g-tarif-card::before,
  .t2g-tarif-card__logo-img img,
  .t2g-tarif-card__logo-img figure img,
  .t2g-tarif-card img,
  .t2g-tarif-card__btn,
  .t2g-tarif-card__details-link {
    transition: none;
  }

  .t2g-tarif-card:hover,
  .t2g-tarif-card__btn:hover,
  .t2g-tarif-card__btn:active {
    transform: none;
  }
}
/* ==========================================================================
   SECTION TITLE — DOM: .t2g-section-title, .t2g-section-title__*
   ========================================================================== */

.t2g-section-title {
  display: flex;
  align-items: center;
  gap: var(--at-content-gap);
  padding-bottom: var(--at-space--s);
}

.t2g-section-title__badge {
  font-size: var(--at-text--2xs);
  background: linear-gradient(135deg, var(--t2g-danger-lighter), var(--t2g-danger-light));
  color: var(--t2g-danger);
  padding: var(--at-space--3xs) var(--at-space--3xs);
  border-radius: var(--at-radius--s);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Price box typography alignment across Tarifdetail + Checkout */
.t2g-price-box .t2g-price-box__label {
  font-weight: 600;
}

.t2g-price-box .t2g-price-box__row-label {
  font-weight: 500;
}

/* ==========================================================================
   CHECKOUT — DOM: .t2g-checkout__*
   ========================================================================== */

.t2g-checkout__heading {
  text-align: center;
  margin-bottom: var(--at-space--xl);
}

.t2g-checkout__step-heading {
  line-height: var(--t2g-lh-heading);
  letter-spacing: -0.01em;
}

.t2g-checkout__subtitle {
  line-height: var(--t2g-lh-body);
}

/* --- Layout: 2-column on desktop, 1-column on mobile --- */
.t2g-checkout__grid {
  display: grid;
  grid-template-columns: var(--at-grid--2-1);
  gap: var(--at-grid-gap);
  align-items: stretch;

  @media (max-width: 1024px) {
    grid-template-columns: var(--at-grid--1);
  }
}

/* --- Form Column --- */
.t2g-checkout__column-left {
  display: flex;
  flex-direction: column;
  gap: var(--at-space--l);
  min-width: 0;
}

.t2g-checkout__block {
  padding: var(--at-space--m);
  border-radius: var(--at-radius--m);
  box-shadow: var(--t2g-card-ring);
  border: 1px solid var(--at-black-l-5);
  transition: box-shadow var(--t2g-transition-fast), border-color var(--t2g-transition-fast);

  &:hover {
    box-shadow: var(--t2g-card-ring-hover);
  }

  &:focus-within {
    box-shadow: var(--t2g-focus-ring), var(--t2g-card-ring);
    border-color: var(--at-primary-l-2);
  }
}
.t2g-checkout__checkbox :is(ul, ol) li {
  display: inline;
}

.t2g-checkout__checkbox input[type="checkbox"] { margin-top: 7px; }

/* --- Next-Step Button Spacing --- */
.t2g-checkout__next-step {
  margin-top: var(--at-space--l);
}

/* Checkout Submit Button */
.t2g-checkout__submit {
  display: flex;
  flex-direction: column;
  gap: var(--at-space--s);
}

@media (max-width: 1024px) {
  /* Neutralize tarif-column--right's mobile order:-1 (set in Bricks global class
     jyvrnw) so the price-box doesn't get pulled to the top of the document flow.
     The mobile price-box is `position: fixed; bottom: 0` and shown via its
     own visibility rules, so the in-flow right column can stay below. */
  .t2g-checkout__grid .t2g-tarif-column--right,
  .t2g-tarif-step .t2g-tarif-column--right {
    order: 0;
  }
}

/* ==========================================================================
   SUBMIT ERROR
   ========================================================================== */

.t2g-submit-error {
  display: none;
  background: linear-gradient(135deg, var(--t2g-danger-lighter), var(--t2g-danger-light));
  border: 1px solid var(--t2g-danger-light);
  color: var(--t2g-danger);
  padding: var(--at-space--s) var(--at-space--m);
  border-radius: var(--at-radius--s);
  font-size: var(--at-text--s);
  font-weight: 500;
  margin-top: var(--at-content-gap);
}

.t2g-submit-error--visible {
  display: block;
  animation: t2g-shake 0.4s ease-out;
}

/* ==========================================================================
   STORES ARCHIVE — Responsive Grid (Bricks-native Settings)
   ========================================================================== */

.t2g-content__author {
  .t2g-content__author-text {
    font-size: var(--at-text--m);
    font-style: italic;
    color: var(--at-black-t-4);
  }
}

.t2g-contact-store {
  .t2g-contact-store__block {
    border-radius: var(--at-radius--l);
    box-shadow: var(--at-shadow--m);
  }
}

.t2g-business-hours {
  .t2g-timeslot__day,
  .t2g-timeslot__time {
    font-size: var(--at-text--s);
  }
}

@media (max-width: 768px) {}

.t2g-timeslot .t2g-timeslot__time-status {
  font-size: var(--at-text--2xs);
  color: var(--at-white);
  background: var(--at-danger);
  border-radius: var(--at-radius-full);
  padding: var(--at-space--3xs) var(--at-space--s);
}

.t2g-timeslot.t2g-timeslot--closed {
  background: var(--at-black-t-1);
}

/* ==========================================================================
   ACCORDION — Bricks Toggle-Logik (Bricks native, nur Icon-Override)
   ========================================================================== */

.t2g-price-box__accordion-header {
  display: flex !important;
  align-items: center;
  gap: var(--at-space--2xs);
  padding: var(--at-space--s) var(--at-space--m) !important;
  color: var(--at-secondary);
  border-radius: 0 !important;
  cursor: pointer;
  user-select: none;

  &[aria-expanded="true"] .t2g-price-box__accordion-icon {
    transform: rotate(180deg);
  }
}

/* ==========================================================================
   SKELETON CARDS — Lazy-Load Placeholder (ersetzt Full-Screen-Loader)
   ========================================================================== */

.t2g-skeleton-card {
  display: grid;
  grid-template-columns: var(--at-grid--4);
  gap: var(--at-grid-gap);
  align-items: center;
  padding: var(--at-space--m);
  background: var(--at-white);
  box-shadow: var(--t2g-card-ring);
  border-radius: var(--at-radius--m);
  min-height: 120px;

  @media (max-width: 480px) {
    grid-template-columns: var(--at-grid--1);
    gap: var(--at-space--xs);
    padding: var(--at-space--s);
    min-height: 80px;
  }
}

.t2g-skeleton {
  background: var(--at-black-l-5);
  border-radius: var(--at-radius--s);
  animation: t2g-skeleton-pulse 1.5s ease-in-out infinite;
}

.t2g-skeleton--logo {
  width: 80px;
  height: 40px;
  margin: 0 auto;
}

.t2g-skeleton--text {
  height: 14px;
}

.t2g-skeleton--w60 { width: 60%; }
.t2g-skeleton--w80 { width: 80%; }
.t2g-skeleton--w40 { width: 40%; }

.t2g-tarif-column--right {
  position: sticky;
  top: calc(var(--t2g-sticky-top) + 200px);
  z-index: var(--t2g-z-sticky);
  align-self: start;
}

/* Tarifdetail scope (BEM context wrapper) */
.t2g-tarif-step .t2g-tarif-grid-wrapper {
  align-items: start;
}

#t2g-tariff-results {
  display: flex;
  flex-direction: column;
  gap: var(--at-space--l);
  width: 100%;
}

.t2g-tariff-results__wrapper-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.t2g-a11y-live {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.t2g-manual-override {
  margin-top: var(--at-space--2xs);
  padding: var(--at-space--xs) var(--at-space--s);
  border: 1px solid var(--at-secondary-l-3);
  background: var(--at-secondary-l-5);
  border-radius: var(--at-radius--s);
}

.t2g-manual-override__text {
  font-size: var(--at-text--xs);
  color: var(--at-secondary-d-2);
  line-height: var(--t2g-lh-body);
}

.t2g-api-notice {
  background: var(--at-secondary-l-5);
  border: 1px solid var(--at-secondary-l-3);
  border-radius: var(--at-radius--s);
  padding: var(--at-space--xs) var(--at-space--s);
  margin: 0 0 var(--at-space--s);
  color: var(--at-secondary-d-2);
  font-size: var(--at-text--xs);
  line-height: var(--t2g-lh-body);
}

.t2g-api-error {
  background: linear-gradient(135deg, var(--t2g-danger-lighter), var(--t2g-danger-light));
  border: 1px solid var(--t2g-danger-light);
  border-radius: var(--at-radius--m);
  padding: var(--at-space--l) var(--at-space--xl);
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.t2g-api-error__icon {
  font-size: var(--at-heading--l);
  margin-bottom: var(--at-space--xs);
}

.t2g-api-error__title {
  font-size: var(--at-text--m);
  font-weight: 600;
  color: var(--at-danger);
  margin-bottom: var(--at-space--2xs);
  line-height: var(--t2g-lh-tight);
}

.t2g-api-error__hint {
  font-size: var(--at-text--s);
  color: var(--at-danger);
  margin-bottom: var(--at-space--s);
  line-height: var(--t2g-lh-body);
}

.t2g-api-error__action {
  background: var(--at-secondary);
  color: var(--at-white);
  border: 0;
  border-radius: var(--at-radius--m);
  padding: var(--at-space--xs) var(--at-space--m);
  font-weight: 600;
  cursor: pointer;
  min-height: var(--at-space--xl);

  &:focus-visible {
    outline: 2px solid var(--at-secondary-d-1);
    outline-offset: 2px;
  }
}

@media (max-width: 768px) {
  .t2g-checkout__field input,
  .t2g-checkout__field select,
  .t2g-checkout__field textarea {
    min-height: var(--at-space--xl);
    font-size: var(--at-text--m);
  }
}

/* ==========================================================================
   KEYFRAME ANIMATIONS
   ========================================================================== */

@keyframes t2g-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes t2g-pulse {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.01); }
  100% { transform: scale(1); }
}

@keyframes t2g-shake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-5px); }
  40%, 80% { transform: translateX(5px); }
}

@keyframes t2g-shimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}

@keyframes t2g-skeleton-pulse {
  0%, 100% { opacity: 0.55; }
  50%      { opacity: 0.85; }
}

/* ==========================================================================
   STORES — Responsive Overrides
   ========================================================================== */

@media (max-width: 768px) {
  .t2g-stores-list__cards {
    grid-template-columns: 1fr;
  }
}


/* ==========================================================================
   TARIFF FILTER — BEM: .t2g-filter, .t2g-filter__*
   Sticky Sidebar (Desktop) + Toggle-Panel (Mobile)
   ========================================================================== */

/* ── Grid-Wrapper: Filter + Karten ── */
.t2g-tarif-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: var(--at-space--l);
  align-items: start;

  @media (max-width: 1024px) {
    grid-template-columns: 1fr;
    gap: var(--at-space--m);
  }
}

/* ── Karten-Container ── */
.t2g-tarif-cards {
  display: flex;
  flex-direction: column;
  gap: var(--at-space--m);
  padding-inline: var(--at-gutter);

  @media (max-width: 1024px) {
    padding-inline: var(--at-space--xs);
  }

  @media (max-width: 768px) {
    padding-inline: 0;
    gap: var(--at-space--s);
  }
}

/* ── Sidebar Container ── */
.t2g-filter {
  background: var(--at-white);
  border: var(--t2g-divider);
  border-radius: var(--at-radius--m);
  box-shadow: var(--at-shadow--s);
  position: sticky;
  top: var(--at-distance--l);
  z-index: var(--t2g-z-sticky);
}

.t2g-filter__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--at-space--m);
  border-bottom: var(--t2g-divider);
}

.t2g-filter__title {
  margin: 0;
}

.t2g-filter__counter {
  font-size: var(--at-text--2xs);
  font-weight: 600;
  color: var(--at-primary);
  background: var(--at-primary-l-5);
  padding: var(--at-space--3xs) var(--at-space--2xs);
  border-radius: var(--at-radius--2xs);
}

/* ── Filter Groups ── */
.t2g-filter__groups {
  display: flex;
  flex-direction: column;
  padding-block: var(--at-space--s);
}

.t2g-filter__group {
  padding: var(--at-space--s) var(--at-space--m);
  border-bottom: var(--t2g-divider);
}

.t2g-filter__group:last-child {
  border-bottom: none;
}

.t2g-filter__heading {
  margin: 0 0 var(--at-space--xs) 0;
}

/* ── Filter Optionen ── */
.t2g-filter__option {
  display: flex;
  align-items: center;
  gap: var(--at-space--xs);
  padding: var(--at-space--xs) var(--at-space--xs);
  margin: 0 calc(-1 * var(--at-space--xs));
  border-radius: var(--at-radius--xs);
  cursor: pointer;
  transition: background-color var(--t2g-transition-fast);

  &:hover {
    background: var(--at-primary-l-5);
  }
}

.t2g-filter__checkbox {
  width: 1.125em;
  height: 1.125em;
  accent-color: var(--at-primary);
  cursor: pointer;
  flex-shrink: 0;

  &:focus-visible {
    outline: none;
    box-shadow: var(--t2g-focus-ring);
    border-radius: var(--at-radius--2xs);
  }
}

.t2g-filter__label {
  flex: 1;
  font-size: var(--at-text--s);
  color: var(--t2g-text-muted);
}

.t2g-filter__count {
  font-size: var(--at-text--2xs);
  color: var(--at-black-l-3);
  background: var(--at-black-l-5);
  padding: var(--at-space--3xs) var(--at-space--2xs);
  border-radius: var(--at-radius--2xs);
}

/* ── Mobile Toggle-Button ── */
.t2g-filter__toggle {
  display: none;

  @media (max-width: 1024px) {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--at-space--xs);
    width: 100%;
    padding: var(--at-space--s) var(--at-space--m);
    background: var(--at-white);
    border: var(--t2g-divider);
    border-radius: var(--at-radius--m);
    box-shadow: var(--at-shadow--s);
    font-size: var(--at-text--s);
    font-weight: 600;
    color: var(--at-black);
    cursor: pointer;
    transition: color var(--t2g-transition-fast), border-color var(--t2g-transition-fast);
    position: sticky;
    top: 0;
    z-index: var(--t2g-z-dropdown);

    &:hover {
      border-color: var(--at-primary);
      color: var(--at-primary);
    }
  }
}

.t2g-filter__toggle-icon {
  @media (max-width: 1024px) {
    font-size: var(--at-text--s);
    transition: transform var(--t2g-transition-fast);
  }
}

.t2g-filter__toggle--open .t2g-filter__toggle-icon {
  @media (max-width: 1024px) {
    transform: rotate(180deg);
  }
}

.t2g-filter {
  @media (max-width: 1024px) {
    display: none;
    position: fixed;
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    max-height: 80vh;
    border-radius: var(--at-radius--m) var(--at-radius--m) 0 0;
    z-index: var(--t2g-z-fixed);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
  }
}

.t2g-filter--open {
  @media (max-width: 1024px) {
    display: flex;
    flex-direction: column;
  }
}

/* ── Mobile Overlay ── */
.t2g-filter__overlay {
  display: none;

  @media (max-width: 1024px) {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: var(--t2g-z-overlay);
  }
}

.t2g-filter__overlay--visible {
  @media (max-width: 1024px) {
    display: block;
  }
}

.t2g-filter__header {
  @media (max-width: 1024px) {
    cursor: grab;
  }
}

.t2g-filter__groups {
  @media (max-width: 1024px) {
    flex: 1;
    overflow-y: auto;
    overscroll-behavior: contain;
  }
}



/* ==========================================================================
   A11Y PATCHES — Component Scope Only (Homepage, Stores, Tarif, Checkout)
   ========================================================================== */

.t2g-checkout__next-step :is(a, button, [role="button"]),
.t2g-checkout__submit :is(a, button, [role="button"]),
.t2g-stores-list__cards :is(a, button, [role="button"]),
.t2g-contact-store__block :is(a, button, [role="button"]) {
  min-height: var(--at-space--l);
  display: inline-flex;
  align-items: center;
}

.t2g-tarif-card__details-link:focus-visible,
.t2g-filter__toggle:focus-visible,
.t2g-price-box__accordion-header:focus-visible,
.header__logo:focus-visible,
.mm__mobile-logo:focus-visible,
.mm__toggle-open:focus-visible,
.mm__toggle-close:focus-visible,
.mm__nav-link:focus-visible,
.t2g-footer__logo:focus-visible,
.t2g-footer__legal-link:focus-visible,
.t2g-checkout__next-step :is(a, button, [role="button"]):focus-visible,
.t2g-checkout__submit :is(a, button, [role="button"]):focus-visible,
.t2g-stores-list__cards :is(a, button, [role="button"]):focus-visible,
.t2g-contact-store__block :is(a, button, [role="button"]):focus-visible {
  outline: 2px solid var(--at-primary);
  outline-offset: var(--at-focus-outline-offset);
}

.t2g-tarif-card__title,
.t2g-tarif-card__details,
.t2g-price-box__label,
.t2g-price-box__row-label,
.t2g-content__author-text,
.t2g-timeslot__day,
.t2g-timeslot__time {
  overflow-wrap: anywhere;
}

.t2g-checkout__column-left :is(input, select, textarea):focus-visible,
.t2g-verfuegbarkeit__container :is(input, select, textarea):focus-visible {
  outline: 2px solid var(--at-primary);
  outline-offset: 1px;
}

.t2g-faq__accordion-nested [role="button"] {
  position: relative;
  border-radius: var(--at-radius--xs);
}

.t2g-faq__accordion-nested [role="button"]:focus-visible {
  outline: none;
  background-color: var(--at-primary-l-5);
  box-shadow: inset 0 0 0 2px var(--at-primary);
}

.t2g-faq__accordion-nested [role="button"]:focus-visible .t2g-faq__icon {
  color: var(--at-primary);
}

@media (forced-colors: active) {
  .t2g-tarif-card__details-link:focus-visible,
  .t2g-filter__toggle:focus-visible,
  .t2g-price-box__accordion-header:focus-visible,
  .header__logo:focus-visible,
  .mm__mobile-logo:focus-visible,
  .mm__toggle-open:focus-visible,
  .mm__toggle-close:focus-visible,
  .mm__nav-link:focus-visible,
  .t2g-footer__logo:focus-visible,
  .t2g-footer__legal-link:focus-visible,
  .t2g-checkout__next-step :is(a, button, [role="button"]):focus-visible,
  .t2g-checkout__submit :is(a, button, [role="button"]):focus-visible,
  .t2g-stores-list__cards :is(a, button, [role="button"]):focus-visible,
  .t2g-contact-store__block :is(a, button, [role="button"]):focus-visible {
    outline-color: Highlight;
  }

  .t2g-faq__accordion-nested [role="button"]:focus-visible {
    outline: 2px solid Highlight;
    outline-offset: var(--at-focus-outline-offset);
    box-shadow: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .t2g-tarif-card,
  .t2g-tarif-card__logo-img,
  .t2g-filter__toggle,
  .t2g-price-box__accordion-icon,
  .t2g-skeleton {
    animation: none !important;
    transition: none !important;
  }
}


/* ==== T2G GLOBAL CLASS CSS MIGRATION START ==== */
/* migrated typed settings from global class t2g-footer__legal-link (83) */
.t2g-footer__legal-link {
  color: var(--at-primary);
  font-size: var(--at-text--xs);
  font-weight: 400;
}

/* footer class normalization */
.t2g-footer {
  border-radius: var(--t2g-card-radius);
  box-shadow: var(--t2g-card-shadow);
}

.t2g-footer__container {
  padding: var(--at-space--m) 0;
  align-items: center;
}

.t2g-footer__links-wrapper {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: var(--at-space--m);
}

@media (max-width: 768px) {
  .t2g-footer__links-wrapper {
    flex-direction: column;
    gap: var(--at-space--s);
  }
}

.t2g-footer__social-links {
  display: flex;
  flex-direction: row;
  gap: var(--at-space--m);
}

.t2g-footer__icon-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: var(--at-white);
  border: 1px solid var(--at-primary-d-1);
  border-radius: var(--at-radius--m);
  transition: box-shadow var(--t2g-transition-fast), background-color var(--t2g-transition-fast), border-color var(--t2g-transition-fast);
}

.t2g-footer__icon-wrapper:hover,
.t2g-footer__icon-wrapper:focus-within {
  background: var(--at-white);
  border-color: var(--at-neutral-l-3);
  box-shadow: var(--t2g-card-ring-hover);
}

.t2g-footer__icon {
  color: var(--at-primary);
  font-size: 24px;
}

.t2g-footer__divider {
  width: 200px;
  margin-inline: auto;
  border-top: 1px solid var(--at-primary);
}

.t2g-footer__copyright {
  color: var(--at-primary);
  font-size: var(--at-text--2xs);
  font-weight: 400;
}

.t2g-footer__logo {
  width: 180px;
  max-width: 100%;
}

/* migrated from global class t2g-avatar (124) */
.t2g-avatar {
	box-shadow: var(--at-shadow--m);
}

/* migrated from global class t2g-bh__style-stack (125) */
.t2g-bh__style-stack {
  padding: 16px 24px;
  border-radius: 12px;
  border: 1px solid var(--at-black-l-5);
}

/* migrated from global class t2g-business-hours-container (126) */
.t2g-business-hours-container {
  display: flex;
  align-items: center;
}

/* migrated from global class t2g-business-hours-div (127) */
.t2g-business-hours-div {
  display: flex;
  flex-direction: column;
  width: 50%;
  gap: 16px;
}

/* migrated from global class t2g-checkout__form-card (143) */
/* .t2g-checkout__form-card {
    transition: all 0.3s ease;
}
.t2g-checkout__form-card:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
} */
.t2g-checkout__text {
  display: inline;
}
/* migrated from global class t2g-checkout__radio-wrapper (149) */
.t2g-checkout__radio-wrapper {
	gap: var(--at-space--m);
}

/* migrated from global class t2g-circle-item-1 (159) */
/*initial state*/

.t2g-circle-item-1 {
  background-color: var(--t2g-legacy-rose);
  transform: translateY(48px) translateX(100px) scale(0);
}

/*logic for states*/

.t2g-circle-item-1[data-state=up] {
  animation: item1-animation 0.7s cubic-bezier(0.07, 0.82, 0.01, 0.93) forwards;
}

.t2g-circle-item-1[data-state=down] {
  animation: item1-animation-back 0.7s cubic-bezier(0.07, 0.82, 0.01, 0.93) forwards;
}

/*Animations Up and Down (back)*/

@keyframes item1-animation {
  
  from {
    transform: translateY(48px) translateX(100px) scale(0);
  }
  
  to {
    transform: translateY(24px) translateX(0px) scale(1);
  }
	
}

@keyframes item1-animation-back {
  
  from {
    
    transform: translateY(24px) translateX(0px) scale(1);
  }

  to {
    transform: translateY(48px) translateX(100px) scale(0);
  }
	
}

/* migrated from global class t2g-circle-item-2 (160) */
.t2g-circle-item-2 {
  background-color: var(--t2g-legacy-yellow);
  transform: translateY(48px) translateX(48px) scale(0);

}

.t2g-circle-item-2[data-state=up] {
  animation: item2-animation 0.7s cubic-bezier(0.07, 0.82, 0.01, 0.93) 0.05s forwards;
}

.t2g-circle-item-2[data-state=down] {
  animation: item2-animation-back 0.7s cubic-bezier(0.07, 0.82, 0.01, 0.93) forwards;
}

@keyframes item2-animation {
  
  from {
    transform: translateY(48px) translateX(48px) scale(0);
  }
  
  to {
    transform: translateY(0px) translateX(0px) scale(1);
  }
	
}

@keyframes item2-animation-back {
  
  from {
    
    transform: translateY(0px) translateX(0px) scale(1);
  }

  to {
    transform: translateY(48px) translateX(48px) scale(0);
  }
	
}

/* migrated from global class t2g-circle-item-3 (161) */
.t2g-circle-item-3 {
  background-color: var(--t2g-legacy-green);
  transform: translateY(48px) translateX(0px) scale(0);
}

.t2g-circle-item-3[data-state=up] {
  animation: item3-animation 0.7s cubic-bezier(0.07, 0.82, 0.01, 0.93) 0.07s  forwards;
}

.t2g-circle-item-3[data-state=down] {
  animation: item3-animation-back 0.7s cubic-bezier(0.07, 0.82, 0.01, 0.93) forwards;
}

@keyframes item3-animation {
  
  from {
    transform: translateY(48px) translateX(0px) scale(0);
  }
  
  to {
    transform: translateY(-24px) translateX(0px) scale(1);
  }
	
}

@keyframes item3-animation-back {
  
  from {
    transform: translateY(-24px) translateX(0px) scale(1);
  }

  to {
    transform: translateY(48px) translateX(0px) scale(0);
  }
	
}

/* migrated from global class t2g-circle-item-4 (162) */
.t2g-circle-item-4 {
  background-color: var(--t2g-legacy-blue);
  transform: translateY(48px) translateX(-48px) scale(0);
}

.t2g-circle-item-4[data-state=up] {
  animation: item4-animation 0.7s cubic-bezier(0.07, 0.82, 0.01, 0.93) 0.09s forwards;
}

.t2g-circle-item-4[data-state=down] {
  animation: item4-animation-back 0.7s cubic-bezier(0.07, 0.82, 0.01, 0.93) forwards;
}

@keyframes item4-animation {
  
  from {
    transform: translateY(48px) translateX(-48px) scale(0);
  }
  
  to {
    transform: translateY(0px) translateX(0px) scale(1);
  }
	
}

@keyframes item4-animation-back {
  
  from {
    
    transform: translateY(0px) translateX(0px) scale(1);
  }

  to {
    transform: translateY(48px) translateX(-48px) scale(0);
  }
	
}

/* migrated from global class t2g-circle-item-5 (163) */
.t2g-circle-item-5 {
  background-color: var(--t2g-legacy-purple);
  transform: translateY(48px) translateX(-100px) scale(0);
}

.t2g-circle-item-5[data-state=up] {
  animation: item5-animation 0.7s cubic-bezier(0.07, 0.82, 0.01, 0.93) 0.11s forwards;
}

.t2g-circle-item-5[data-state=down] {
  animation: item5-animation-back 0.7s cubic-bezier(0.07, 0.82, 0.01, 0.93) forwards;
}

@keyframes item5-animation {
  
  from {
    transform: translateY(48px) translateX(-100px) scale(0);
  }
  
  to {
    transform: translateY(24px) translateX(0px) scale(1);
  }
	
}

@keyframes item5-animation-back {
  
  from {
    
    transform: translateY(24px) translateX(0px) scale(1);
  }

  to {
    transform: translateY(48px) translateX(-100px) scale(0);
  }
	
}

/* migrated from global class t2g-circle-menu__items-item (166) */
.t2g-circle-menu__items-item {
  border-radius: 50vw;
  padding: 8px;
  width: 48px;
  height: 48px;
  transition: 0.3s;

  &:hover {
    scale: 1.1;
    box-shadow: 0 5px 8px 0 var(--t2g-legacy-shadow-soft);
  }
}

/* migrated from global class t2g-circle-menu__items-item-icon (167) */
.t2g-circle-menu__items-item-icon {
  color: var(--at-white);
}

/* migrated from global class t2g-column-items (168) */
.t2g-column-items {
  display: flex;
  flex-direction: column;
  align-items: start;
	row-gap: var(--at-grid-gap--s);
  padding: 0;
}

/* migrated from global class t2g-contact-store__map-iframe__container (180) */
.t2g-contact-store__map-iframe__container {
	 filter: grayscale(1);

	 &:hover {
	  filter: grayscale(0);
	 }
}

/* migrated from global class t2g-day-icon (216) */
.t2g-day-icon {
  font-size: 24px;
}

/* migrated from global class t2g-day-wrapper (217) */
.t2g-day-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* migrated from global class t2g-faq (220) */
.t2g-faq { row-gap: var(--at-grid-gap--l); overflow: hidden; }

/* migrated from global class t2g-faq__accordion-nested (221) */
.t2g-faq__accordion-nested {
    display: flex;
    flex-direction: column;
    gap: var(--at-space--s);
}

/* migrated from global class t2g-faq__container (222) */
.t2g-faq__container { background: var(--at-primary-l-5); ; row-gap: var(--at-space--xl); border-radius: var(--at-radius--xl); padding: clamp(var(--at-space--s), 3vw, var(--at-space--l)); overflow: hidden; }

/* migrated from global class t2g-faq__content (223) */
.t2g-faq__content p {
    color: var(--at-black-l-2) ;
   
}

/* migrated from global class t2g-faq__divider (224) */
.t2g-faq__divider { display: none; }

/* migrated from global class t2g-faq__faq-wrapper (225) */
.t2g-faq__faq-wrapper { display: flex; flex-direction: column; gap: var(--at-space--xs); max-width: 80ch; width: 100%; padding-block-end: var(--at-space--l); margin: 0; list-style: none; min-width: 0; }

/* migrated from global class t2g-faq__heading-wrapper (227) */
.t2g-faq__heading-wrapper { padding: clamp(var(--at-space--s), 3vw, var(--at-space--l)); text-align: center; }

/* migrated from global class t2g-faq__icon (228) */
.t2g-faq__icon { flex-shrink: 0; color: var(--at-black-l-3); transition: transform 0.25s ease, color 0.2s ease; display: flex; align-items: center; justify-content: center; min-width: 24px; min-height: 24px; border-radius: var(--at-radius-full); background: transparent; font-size: 14px; } .t2g-faq__item.brx-open .t2g-faq__icon { color: var(--at-primary); }

/* migrated from global class t2g-faq__item (229) */
.t2g-faq__item { background: var(--at-white); border-radius: var(--at-radius--m); box-shadow: var(--at-shadow--m); overflow: hidden; transition: box-shadow 0.2s ease; list-style: none; border-left: 2px solid transparent; min-width: 0; max-width: 100%; } .t2g-faq__item:hover { box-shadow: var(--at-shadow--m); } .t2g-faq__item.brx-open { border-left-color: var(--at-secondary); box-shadow: var(--at-shadow--m); } .t2g-faq__item > .accordion-title-wrapper:hover, .t2g-faq__item.brx-open > .accordion-title-wrapper { background: var(--at-secondary-l-5); } .t2g-faq__item .accordion-content-wrapper { padding: var(--at-space--s); }

/* migrated from global class t2g-faq__answer (230) */
.t2g-faq__answer {
  font-size: var(--at-text--s);
  color: var(--at-black-l-1);
  line-height: 1.5;
  margin: 0;
}

/* migrated from global class t2g-faq__title (231) */
.t2g-faq__title { display: flex; flex-direction: row; align-items: center; justify-content: space-between; gap: var(--at-space--xs); width: 100%; padding: clamp(var(--at-space--xs), 2vw, var(--at-space--s)) clamp(var(--at-space--xs), 2.5vw, var(--at-space--s)); font-weight: 600; }

/* migrated from global class t2g-half__part (232) */
.t2g-half__part {
  display: flex;
  flex-direction: column;
}

/* migrated from global class t2g-header__offcanvas (243) */
.admin-bar .t2g-header__offcanvas .brx-offcanvas-inner {
  top: var(--wp-admin--admin-bar--height);
  height: calc(100dvh - var(--wp-admin--admin-bar--height));
}

/* migrated from global class t2g-header__site-tagline (244) */
.t2g-header__site-tagline {
  writing-mode: vertical-lr;
  transform: rotate(180deg);
}

/* migrated from global class t2g-header__toggle (246) */
.t2g-header__toggle {
  --brxe-toggle-bar-width: 100%;
}

/* migrated from global class t2g-hero (248) */
.t2g-hero {
  text-align: center;
  gap: var(--at-content-gap); 
}

.t2g-hero__highlight {
    background: var(--at-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 900;
}

/* migrated from global class t2g-hero__feature (265) */
/* feature-list system (reusable across sections) */
.t2g-feature-list,
.t2g-hero__features,
.t2g-stores__bullet-list {
  display: flex;
  flex-direction: column;
  gap: var(--at-space--m);
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
  background: transparent;
  text-align: left;
}

.t2g-feature-list--grid,
.t2g-hero__features {
  display: grid;
  grid-template-columns: var(--at-grid--2);
}

.t2g-feature-list__item,
.t2g-hero__feature,
.t2g-stores__bullet {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: var(--at-space--m);
  background: var(--at-white);
  padding: var(--at-space--m);
  border-radius: var(--at-radius--xl);
  box-shadow: var(--at-shadow--s);
  transition: box-shadow var(--t2g-transition-smooth), transform var(--t2g-transition-smooth);
  list-style: none;
}

.t2g-feature-list__item:hover,
.t2g-hero__feature:hover,
.t2g-stores__bullet:hover {
  box-shadow: var(--at-shadow--m);
  transform: translateY(var(--at-distance--s));
}

.t2g-feature-list__icon,
.t2g-hero__feature-icon,
.t2g-stores__bullet-icon {
  flex: 0 0 auto;
  width: var(--at-space--xl);
  height: var(--at-space--xl);
  min-width: var(--at-space--xl);
  min-height: var(--at-space--xl);
  background: var(--at-primary);
  border: 1px solid var(--at-primary);
  color: var(--at-white);
  border-radius: var(--at-radius--m);
  display: grid;
  place-items: center;
  transition: background var(--t2g-transition-smooth), color var(--t2g-transition-smooth);
}

.t2g-feature-list__icon svg,
.t2g-hero__feature-icon svg,
.t2g-stores__bullet-icon svg {
  width: 45%;
  height: 45%;
}

.t2g-feature-list__item:hover :is(.t2g-feature-list__icon, .t2g-hero__feature-icon, .t2g-stores__bullet-icon),
.t2g-hero__feature:hover :is(.t2g-feature-list__icon, .t2g-hero__feature-icon, .t2g-stores__bullet-icon),
.t2g-stores__bullet:hover :is(.t2g-feature-list__icon, .t2g-hero__feature-icon, .t2g-stores__bullet-icon) {
  background: var(--at-primary-l-4);
  color: var(--at-primary);
  border-color: var(--at-primary-l-3);
}

.t2g-feature-list__content,
.t2g-stores__bullet-content {
  flex: 1;
  text-align: left;
}

.t2g-feature-list__text,
.t2g-hero__feature-text,
.t2g-stores__bullet-content,
.t2g-stores__bullet-content p {
  display: block;
  text-align: left;
  font-size: var(--at-text--s);
  color: var(--at-black-l-2);
  line-height: 1.5;
}

.t2g-feature-list__text p,
.t2g-stores__bullet-content p {
  margin: 0;
}

.t2g-feature-list__title,
.t2g-feature-list__text strong,
.t2g-hero__feature-text strong,
.t2g-feature-list__content :is(h3, h4),
.t2g-stores__bullet-content :is(h3, h4) {
  display: block;
  font-size: var(--at-text--m);
  font-weight: 800;
  color: var(--at-black);
  margin: 0 0 var(--at-space--3xs);
  letter-spacing: -0.01em;
}

.t2g-feature-list__item > :is(.t2g-feature-list__text, .t2g-hero__feature-text, .t2g-stores__bullet-content) {
  flex: 1;
}
/* migrated from global class t2g-hero__subheadline (269) */
.t2g-hero__subheadline {
    font-size: var(--at-text--m);
    color: var(--at-black-l-2);
    max-width: 60ch;
    line-height: 1.6;
}

/* migrated from global class t2g-hero__tagline (270) */
.t2g-hero__tagline {
    font-size: var(--at-heading--s);
    font-weight: 700;
    color: var(--at-secondary-l-2);
    line-height: 1.3;
}

/* migrated from global class t2g-hero__title (271) */
.t2g-hero__title {
    font-size: clamp(var(--at-heading--l), 5vw, var(--at-heading--xl));
    font-weight: 900;
    line-height: 1.55;
    color: var(--at-primary);
}

/* migrated from global class t2g-highlight-card (272) */
.t2g-highlight-card {
  border-radius: 24px;
  padding: var(--at-space--xl) var(--at-space--l);
  position: relative;
  background: var(--at-white);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.t2g-highlight-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: linear-gradient(135deg, rgba(196, 167, 125, 0.1), rgba(196, 167, 125, 0.01));
  -webkit-mask: linear-gradient(var(--at-primary-l-3) 0 0) content-box, linear-gradient(var(--at-primary-l-3) 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.t2g-highlight-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 50px 80px -15px rgba(196, 167, 125, 0.12), 0 15px 40px -10px rgba(0,0,0,0.03);
}

/* migrated from global class t2g-icon-bar (273) */
.t2g-icon-bar {
  --base-color: var(--t2g-legacy-icon-base);
  --hover-color: var(--t2g-legacy-icon-hover);
}

/* migrated from global class t2g-icon-bar-h (274) */
.t2g-icon-bar-h,
.t2g-icon-bar-h i{
  display: flex;
  color: var(--base-color);
  font-size: 2.4rem;
}

.t2g-icon-bar-h:hover {
  color: var(--hover-color);
}

/* migrated from global class t2g-icon-frame (275) */
.t2g-icon-frame {
  overflow: hidden;
  box-sizing: border-box;
  position: relative;
  background-color: var(--at-black);
  border-radius: 50vw;
  padding: 24px;
  transition: 0.3s;
}

.t2g-icon-frame:hover {
  scale: 1.1;
}

.t2g-icon-frame[data-state=up] {
  animation: icon-frame-color-change 0.7s cubic-bezier(0.07, 0.82, 0.01, 0.93) forwards;
}

.t2g-icon-frame[data-state=down] {
  animation: icon-frame-color-change-back 0.7s cubic-bezier(0.07, 0.82, 0.01, 0.93) forwards;
}

@keyframes icon-frame-color-change {
  from {
    background-color: var(--at-black);
  }

  to {
    background-color: var(--at-black-l-5);
  }
}

@keyframes icon-frame-color-change-back {
  from {
    background-color: var(--at-black-l-5);
  }

  to {
    background-color: var(--at-black);
  }
}

/* migrated from global class t2g-icon-frame__close-icon (276) */
.t2g-icon-frame__close-icon {
  transform: translateY(48px) translateX(0) rotate(180deg);
  cursor: pointer;
  position: absolute;
  overflow: hidden;
  color: var(--at-black);
}

.t2g-icon-frame__close-icon[data-state=up] {
  animation: close-icon-animation 0.7s cubic-bezier(0.07, 0.82, 0.01, 0.93) forwards;
}

.t2g-icon-frame__close-icon[data-state=down] {
  animation: close-icon-animation-back 1s cubic-bezier(0.07, 0.82, 0.01, 0.93) forwards;
}

@keyframes close-icon-animation {
  
  from {
    transform: translateY(48px) translateX(0) rotate(180deg);
  }
  
  to {
    transform: translateY(0) translateX(0px) rotate(0);
  }
	
}

@keyframes close-icon-animation-back {
  

  from {
    transform: translateY(0) translateX(0) rotate(0);
  }
  
  to {
    transform: translateY(48px) translateX(0px) rotate(180deg);
  }
	
}

/* migrated from global class t2g-icon-frame__menu-icon (277) */
.t2g-icon-frame__menu-icon {
  cursor: pointer;
  position: absolute;
  overflow: hidden;
  color: var(--at-white);
}

.t2g-icon-frame__menu-icon[data-state=up] {
  animation: menu-icon-animation 0.7s cubic-bezier(0.07, 0.82, 0.01, 0.93) forwards;
}

.t2g-icon-frame__menu-icon[data-state=down] {
  animation: menu-icon-animation-back 1s cubic-bezier(0.07, 0.82, 0.01, 0.93) forwards;
}


@keyframes menu-icon-animation {
  
  from {
    transform: translateY(0) translateX(0);
  }
  
  to {
    transform: translateY(-48px) translateX(0px);
  }
	
}

@keyframes menu-icon-animation-back {
  

  from {
    transform: translateY(-48px) translateX(0);
  }
  
  to {
    transform: translateY(0) translateX(0px);
  }
	
}

/* migrated from global class t2g-internet-tarif (278) */
.t2g-internet-tarif {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: var(--at-space--l);
    background: var(--at-white);
    padding: var(--at-space--l);
    border-radius: var(--at-radius--xl);
    box-shadow: var(--at-shadow--s);
    transition: box-shadow 0.25s ease, transform 0.25s ease;
    position: relative;
    overflow: hidden;

    &:hover {
        box-shadow: var(--at-shadow--l);
        transform: translateY(-4px);
    }

    @media (max-width: 1024px) {
        flex-direction: column;
        gap: var(--at-space--m);
        padding: var(--at-space--m);
    }
}

/* migrated from global class t2g-internet-tarif__info (282) */
.t2g-internet-tarif__info {
  text-decoration-line: underline;
  text-underline-offset: auto;
  text-underline-offset: from-font;
}

/* migrated from global class t2g-iphone-slider__iphone (289) */
.t2g-iphone-slider__iphone {
  position: absolute;
  z-index: 100;
  height: 100%;
  top: 50%;          
  left: 50%;         
  transform: translate(-50%, -50%); 
  border-radius: 48px;
  overflow: hidden;
  pointer-events: none;
}

/* migrated from global class t2g-iphone-slider__slide (290) */
.t2g-iphone-slider__slide {
  overflow: hidden;
  padding: 0px 8px;
}

/* migrated from global class t2g-iphone-slider__slide-img (291) */
.t2g-iphone-slider__slide-img {
  border-radius: 57px;
  width: 300px;
  height: 100%;
}

/* migrated from global class t2g-magic-up--0 (295) */
.t2g-magic-up--0 {
  opacity: 0;
  animation: magic-up 1.4s cubic-bezier(0, 0.41, 0, 1.08) forwards;
}
.t2g-tagline {
  color: var(--at-secondary-l-2);
  font-weight: 700;
  text-transform: uppercase;
}
@keyframes magic-up {
  from {
    opacity: 0;
    filter: blur(12px);
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    filter: blur(0px);
    transform: translateY(0px);
  }
}

/* migrated from global class t2g-magic-up--1 (296) */
.t2g-magic-up--1 {
  opacity: 0;
  animation: magic-up 1.4s cubic-bezier(0, 0.41, 0, 1.08) 0.1s forwards;
}

/* migrated from global class t2g-magic-up--3 (297) */
.t2g-magic-up--3 {
  opacity: 0;
  animation: magic-up 1.4s cubic-bezier(0, 0.41, 0, 1.08) 0.3s forwards;
}

/* migrated from global class t2g-magic-up--4 (298) */
.t2g-magic-up--4 {
  opacity: 0;
  animation: magic-up 1.4s cubic-bezier(0, 0.41, 0, 1.08) 0.4s forwards;
}

/* migrated from global class t2g-magic-up--5 (299) */
.t2g-magic-up--5 {
  opacity: 0;
  animation: magic-up 1.4s cubic-bezier(0, 0.41, 0, 1.08) 0.5s forwards;
}

/* migrated from global class t2g-magic-up--6 (300) */
.t2g-magic-up--6 {
  opacity: 0;
  animation: magic-up 1.4s cubic-bezier(0, 0.41, 0, 1.08) 0.6s forwards;
}

/* migrated from global class t2g-open__status (352) */
.t2g-open__status {
  font-size: 14px;
  text-align: center;
  color: var(--at-white);
  background: var(--at-success);
  border-radius: 50vw;
  padding: 2px 12px;
  font-weight: 700;
}

/* migrated from global class t2g-option (353) */
.t2g-option {
  position: relative;
  padding: 0;
  border: none;
}
.t2g-option__section {
  padding-top: var(--at-space--l);
  margin-top: var(--at-space--m);
}
.t2g-option input[type='radio'] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}
.t2g-option input[type='radio']:checked + label {
  background: linear-gradient(135deg, rgba(var(--t2g-secondary-rgb), 0.04), rgba(var(--t2g-secondary-rgb), 0.1));
  box-shadow: var(--t2g-card-ring-selected);
  transform: translateY(-3px);
  animation: t2g-pulse 0.3s ease-out;
}
.t2g-option input[type='radio']:checked + label::before {
  opacity: 1;
}
.t2g-option label {
  display: flex;
  align-items: center;
  gap: var(--at-container-gap);
  padding: var(--at-space--s);
  border-radius: var(--t2g-card-radius);
  background: var(--at-white);
  box-shadow: var(--t2g-card-ring-elevated);
  cursor: pointer;
  transition: var(--t2g-transition-smooth);
  position: relative;
  overflow: hidden;

  &::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(var(--t2g-secondary-rgb), 0.03), rgba(var(--t2g-secondary-rgb), 0.06));
    opacity: 0;
    transition: var(--t2g-transition-smooth);
  }

  &:hover {
    box-shadow: var(--t2g-card-ring-elevated-hover);
    transform: translateY(-3px);
  }

  &:hover::before {
    opacity: 1;
  }

  &:focus-visible {
    outline: none;
    box-shadow: var(--t2g-focus-ring), var(--t2g-card-ring);
  }
}
.t2g-option__thumbnail {
  flex-shrink: 0;
  max-width: var(--t2g-thumb-max-w);
}
.t2g-option__details {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--t2g-gap-tight);
  min-width: 0;
}
.t2g-option__header {
  display: flex;
  align-items: center;
  gap: var(--at-content-gap);
  flex-wrap: wrap;
  margin-bottom: var(--at-space--3xs);
}
.t2g-option__desc {
  font-size: var(--at-text--xs);
  color: var(--t2g-text-muted);
  line-height: var(--t2g-lh-body);
}
.t2g-option__badge {
  font-size: var(--at-text--2xs);
  background: var(--t2g-gradient-success);
  color: var(--at-white);
  padding: var(--at-space--3xs) var(--at-space--xs);
  border-radius: var(--at-radius--2xs);
  font-weight: 700;
  text-transform: uppercase;
  animation: t2g-fade-in 0.3s ease-out;
}
.t2g-option__price-tag {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: var(--t2g-gap-tight);
  min-width: 80px;
  flex-shrink: 0;
}
.t2g-option__price {
  font-size: var(--at-text--s);
  color: var(--at-black);
}
.t2g-option__price--free,
.t2g-option__price--offer {
  color: var(--at-success);
}
.t2g-option__price::before {
  content: '+ ';
  font-weight: 500;
  color: var(--t2g-text-muted);
}
.t2g-option__price-period {
  font-size: var(--at-text--2xs);
  color: var(--at-black-l-3);
}
@media (max-width: 480px) {
  .t2g-option__thumbnail {
    width: var(--t2g-thumb-max-w-mobile);
  }
}

/* migrated from global class t2g-option--selected (354) */
.t2g-option--selected {
  background: var(--at-secondary-l-6);
}

/* migrated from global class t2g-option__desc (355) */
.t2g-option__desc {
  margin: 0;
  color: var(--at-black-l-2);
  font-size: var(--at-text--xs);
  line-height: 1.45;
}

/* migrated from global class t2g-option__header (357) */
.t2g-option__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--at-space--s);
}

/* migrated from global class t2g-option__name (358) */
.t2g-option__name {
  margin: 0;
  color: var(--at-black);
  font-size: var(--at-text--s);
  font-weight: 700;
  line-height: 1.35;
}

/* migrated from global class t2g-option__price (359) */
.t2g-option__price {
  margin: 0;
  color: var(--at-primary-d-1);
  font-size: var(--at-text--m);
  font-weight: 700;
  line-height: 1.2;
}

/* migrated from global class t2g-option__price-period (361) */
.t2g-option__price-period {
  margin: 0;
  color: var(--at-black-l-2);
  font-size: var(--at-text--2xs);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.2;
}

/* migrated from global class t2g-option__thumbnail (365) */
.t2g-option__thumbnail {
  width: 56px;
  height: 56px;
  border-radius: var(--at-radius--s);
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.t2g-option__thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* migrated from global class t2g-order-button--mobile (367) */
.t2g-order-button--mobile {
  width: 100%;
  padding: var(--at-space--m);
  background: linear-gradient(135deg, var(--at-secondary), var(--at-secondary-d-1));
  color: var(--at-white);
  border: none;
  border-radius: var(--at-radius--m);
  font-size: var(--at-text--s);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--at-content-gap);
  margin-top: var(--at-space--m);
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);

  &:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.5);
  }
}

/* migrated from global class t2g-price-05 (368) */
.t2g-price-05 {
	box-shadow:  var(--at-shadow--m);
}

/* migrated from global class t2g-price-box (379) */
.t2g-price-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  row-gap: var(--m-gap);
}
.t2g-price-box__main {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-bottom: var(--at-space--m);
  border-bottom: 2px solid var(--at-secondary-l-5);
  margin-bottom: var(--at-space--m);
}
.t2g-price-box__label {
  font-size: var(--at-text--xs);
  letter-spacing: 0.06em;
  font-weight: 500;
  color: var(--at-secondary);
  line-height: var(--t2g-lh-tight);
}
.t2g-price-box__value {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: var(--at-space--3xs);
}
.t2g-price-box__amount {
  font-size: var(--at-heading--xl);
  font-weight: 800;
  color: var(--at-secondary);
  background: var(--t2g-gradient-price);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% auto;
  animation: t2g-shimmer 3s linear 1;
  letter-spacing: -0.03em;
}
.t2g-price-box__period {
  font-size: var(--at-text--s);
  color: var(--t2g-text-muted);
  line-height: var(--t2g-lh-tight);
}
.t2g-price-box__breakdown {
  display: flex;
  flex-direction: column;
  background: var(--at-secondary-l-6);
  border-radius: var(--at-radius--m);
  padding: var(--at-space--s);
  border: 1px solid var(--at-secondary-l-4);
  row-gap: var(--at-space--xs);
}
.t2g-price-box__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  font-size: var(--at-text--xs);
  padding: var(--at-space--3xs) 0;
  column-gap: var(--at-space--xs);
}
.t2g-price-box__row:not(:last-child) {
  border-bottom: 1px solid var(--at-secondary-l-5);
}
.t2g-price-box__row-label {
  color: var(--at-black-l-1);
}
.t2g-price-box__row-value {
  font-weight: 600;
  color: var(--at-black);
}
.t2g-price-box__row--total {
  font-weight: 700;
  padding-top: var(--at-content-gap);
  border-bottom: none;
}
.t2g-price-box__row--total .t2g-price-box__row-value {
  font-size: var(--at-text--s);
  color: var(--at-secondary);
  font-weight: 800;
}
.t2g-price-box__footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--at-space--s);
  padding: var(--at-space--s);
}
.t2g-price-box__tv {
  display: flex;
  flex-direction: column;
  gap: var(--at-space--2xs);
  padding-block: var(--at-space--s);
  border-top: var(--t2g-divider);
  border-bottom: var(--t2g-divider);
  margin: var(--at-space--xs) 0;
}
.t2g-price-box__handle:focus-visible {
  outline: none;
  box-shadow: var(--t2g-focus-ring);
}
.t2g-price-box--desktop {
  /* Sticky owner is the right column; desktop price box itself stays in flow. */
  position: sticky;
  top: auto;
  z-index: auto;
  align-self: start;
}

@media (min-width: 1025px) {
  .t2g-tarif-step .t2g-tarif-column--right,
  .t2g-checkout__grid .t2g-tarif-column--right {
    max-height: calc(100vh - var(--t2g-sticky-top) - var(--at-space--m));
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .t2g-tarif-step .t2g-tarif-column--right::-webkit-scrollbar,
  .t2g-checkout__grid .t2g-tarif-column--right::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;
  }
}
.t2g-tarif-step .t2g-tarif-column--right .t2g-price-box--mobile,
.t2g-checkout__grid .t2g-tarif-column--right .t2g-price-box--mobile {
  display: none;
}

@media (max-width: 1024px) {
  .t2g-tarif-step .t2g-tarif-column--right .t2g-price-box--desktop,
  .t2g-checkout__grid .t2g-tarif-column--right .t2g-price-box--desktop {
    display: none;
  }

  .t2g-tarif-step .t2g-tarif-column--right .t2g-price-box--mobile,
  .t2g-checkout__grid .t2g-tarif-column--right .t2g-price-box--mobile {
    display: flex;
    flex-direction: column;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: var(--t2g-z-fixed);
    background: var(--at-white);
    border-top-left-radius: var(--at-radius--l);
    border-top-right-radius: var(--at-radius--l);
    box-shadow: var(--t2g-shadow--up);
    max-height: 90vh;
    overflow: hidden;
    padding-bottom: env(safe-area-inset-bottom, 0);
  }
  .t2g-price-box__handle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--at-space--m);
    padding: var(--at-space--m) var(--at-space--l);
    min-height: var(--t2g-cart-handle-h);
    cursor: pointer;
    list-style: none;
    user-select: none;
  }
  .t2g-price-box__handle::-webkit-details-marker {
    display: none;
  }
  .t2g-price-box__accordion-content {
    max-height: calc(90vh - var(--t2g-cart-handle-h));
    overflow-y: auto;
    padding: 0 var(--at-space--l) calc(var(--at-space--l) + env(safe-area-inset-bottom, 0));
  }
  .t2g-price-box__accordion-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--at-space--s) var(--at-space--l);
  }
  .t2g-price-box__accordion-nested {
    display: flex;
    flex-direction: column;
  }

  .t2g-checkout__form-area,
  .t2g-checkout__column-left,
  .t2g-tarif-column--left {
    padding-bottom: calc(var(--t2g-cart-handle-h) + var(--at-space--m) + env(safe-area-inset-bottom, 0));
  }
}

.t2g-order-notice {
  text-align: center;
  font-size: var(--at-text--2xs);
  color: var(--at-black-l-3);
  margin-top: var(--at-content-gap);

  a {
    color: var(--at-secondary);
    text-decoration: underline;
  }
}

/* migrated from global class t2g-price-levels__tabs__content (388) */
.t2g-price-levels__tabs__content{ /* RESET CONTENT */
	padding: 0 ;
  border: none ;
}

/* migrated from global class t2g-price-levels__tabs__head (390) */
.t2g-price-levels__tabs__head .tab-title { /* TAB LINK */
  padding: 1.2rem 2.4rem ;
  font-weight: 700;
  font-size: 1.4rem;
  line-height: 2rem;
  color: var(--at-neutral);

  &.brx-open { /* TAB OPEN */
    background-color: var(--at-primary) ;
	  color: var(--at-primary-l-6);
    pointer-events: none;
  }
}

/* migrated from global class t2g-pricing-main-btn (397) */
.t2g-pricing-main-btn:hover {
  background: var(--at-secondary-d-1);
}

/* migrated from global class t2g-stack__header (398) */
.t2g-stack__header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--t2g-legacy-surface-soft);
}

/* migrated from global class t2g-stack__header-date (399) */
.t2g-stack__header-date {
  font-size: 18px;
  color: var(--at-black);
}

/* migrated from global class t2g-stack__header-title (400) */
.t2g-stack__header-title {
  font-size: 20px;
  color: var(--at-black);
  font-weight: 700;
}

/* migrated from global class t2g-store-card (402) */
.t2g-store-card {
  transition: transform var(--t2g-transition-smooth), box-shadow var(--t2g-transition-smooth);
  box-shadow: var(--t2g-card-ring);
  border-radius: var(--at-radius--m);
  background: var(--at-white);

  &:hover {
    box-shadow: var(--at-shadow--l);
    transform: translateY(-4px);
  }

  &:hover .t2g-store-card__placeholder-img,
  &:hover .t2g-store-card__placeholder-img img {
    transform: scale(1.05);
    filter: brightness(1.05);
  }

  &:hover .t2g-store-card__title {
    color: var(--at-primary);
  }
}
.t2g-store-card__placeholder {
  position: relative;
}
.t2g-store-card__placeholder-img,
.t2g-store-card__placeholder-img img {
  transition: transform var(--t2g-transition-medium), filter var(--t2g-transition-medium);
}
.t2g-store-card__chip--secondary {
  background: var(--at-secondary-l-5);
  color: var(--at-secondary);
  padding: var(--at-space--3xs) var(--at-space--xs);
}
.t2g-store-card__title {
  transition: color var(--t2g-transition-fast);
}
/* migrated from global class t2g-store-profile (417) */
.t2g-store-profile {
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    background: var(--at-white);
    border-radius: var(--at-radius--xl);
    box-shadow: 0 10px 30px -10px rgba(196, 167, 125, 0.05), 0 2px 10px -2px rgba(0,0,0,0.01);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    justify-content: flex-end;

    &::after {
        content: '';
        position: absolute;
        inset: 0;
        border-radius: inherit;
        padding: 1.5px;
        background: linear-gradient(135deg, rgba(196, 167, 125, 0.1), rgba(196, 167, 125, 0.01));
        -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
        -webkit-mask-composite: xor;
        mask-composite: exclude;
        pointer-events: none;
        z-index: 10;
    }

    &:hover {
        transform: translateY(-6px);
        box-shadow: 0 30px 60px -10px rgba(196, 167, 125, 0.1), 0 10px 25px -5px rgba(0,0,0,0.02);
    }

    &:hover .t2g-store-profile__back {
        transform: translateY(0);
        opacity: 1;
    }
}

/* migrated from global class t2g-store-profile__back (419) */
.t2g-store-profile__back {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    background: var(--at-white);
  border: 1px solid var(--at-white);
    border-radius: var(--at-radius--xl);
    z-index: 20;
    transform: translateY(-100%);
    opacity: 0;
}

/* migrated from global class t2g-store-profile__content (424) */
.t2g-store-profile__content {
    padding: var(--at-space--l);
      display: flex;
      flex-direction: column;
      flex-grow: 1;
  }

/* migrated from global class t2g-store-profile__text (428) */
.t2g-store-profile__text {
    color: var(--at-text-muted);
      margin: 0 0 var(--at-space--m);
      line-height: 1.5;
      font-size: var(--at-text--s);
  }

/* migrated from global class t2g-stores-new (438) */
.t2g-stores-new:hover .t2g-stores-new__back {
	transform: translateY(0) rotateZ(0);
  opacity: 1;
}

/* migrated from global class t2g-stores__bullet (443) */
/* consolidated with reusable feature-list system above */
/* migrated from global class t2g-stores__intro-grid (453) */
.t2g-stores__intro-grid {
    display: grid;
      grid-template-columns: 1fr 1.2fr;
      gap: var(--at-space--3xl);
      align-items: center;
  }

@media (max-width: 1024px) {
  .t2g-stores__intro-grid {
    grid-template-columns: 1fr; gap: var(--at-space--xl);
  }
}

/* migrated from global class t2g-stores__profile (455) */
.t2g-store-profile:hover .t2g-store-profile__back {
  transform: translateY(0) rotateZ(0);
  opacity: 1;
}

/* migrated from global class t2g-stores__profiles (463) */
.t2g-stores__profiles {
    display: grid;
    grid-template-columns: var(--at-grid--3);
    gap: var(--at-space--l);
    width: 100%;
    padding: 0;
    margin: 0;
    list-style: none;
}
@media (max-width: 1024px) {
    .t2g-stores__profiles {
        grid-template-columns: var(--at-grid--2);
        gap: var(--at-space--m);
    }
}
@media (max-width: 768px) {
    .t2g-stores__profiles {
        grid-template-columns: var(--at-grid--1);
    }
}

/* migrated from global class t2g-stores__subtitle (464) */
.t2g-stores__subtitle {
    font-size: clamp(var(--at-text--s), 1.2vw, var(--at-text--m));
    color: var(--at-neutral-d-2, #555555);
    margin: 0 auto var(--at-space--l);
    line-height: 1.6;
    max-width: 65ch;
    text-align: center;
}

/* migrated from global class t2g-stores__title (466) */
.t2g-stores__title {
  color: var(--at-primary);
  line-height: 1.2;
}

/* migrated from global class t2g-switcher-control (472) */
.t2g-switcher-control {
  position: relative;
  height: 60px;
  background: var(--at-neutral-l-5);
}

/* migrated from global class t2g-switcher-control__style (473) */
.t2g-switcher-control__style {
  transition: all ease-in-out 0.2s;
  cursor: default;
  z-index: 10;
  width: 120px;
  font-size: 16px;
  font-weight: 800;
  color: var(--at-neutral);
  background: none;
}

.t2g-switcher-control__style:not(.data-checkbox-checked):hover {
    cursor: pointer;
}

.t2g-switcher-control__style[data-change-color] {
  color: var(--at-white);
  pointer-events: none;
  
}

/* migrated from global class t2g-switcher-moving (475) */
.t2g-switcher-moving {
  position: absolute;
  height: inherit;
  border-radius: 50vw;
  width: 50%;
  background: var(--t2g-legacy-switcher-primary);
}

.t2g-switcher-moving[data-checked-1st] {
    animation: bb-checkbox-to-1st 0.1s ease-in-out forwards;
}

@keyframes bb-checkbox-to-1st {
  0% {
    transform: translateX(100%);
  }
  
  100% {
    transform: translateX(0);
    background: var(--t2g-legacy-switcher-primary);
  }
	
}


.t2g-switcher-moving[data-checked-2nd]  {
   animation: bb-checkbox-to-2nd 0.1s ease-in-out forwards;
}

@keyframes bb-checkbox-to-2nd {
  0% {
    transform: translateX(0);
  }
  
  100% {
    transform: translateX(100%);
    background: var(--t2g-legacy-switcher-success);
  }
	
}

/* migrated from global class t2g-timeline (491) */
.t2g-timeline {
  display: flex;
  flex-direction: column;
}

/* migrated from global class t2g-timeslot (492) */
.t2g-timeslot {
  display: flex;
  justify-content: space-between;

  &:hover {
    background: var(--t2g-legacy-surface-soft);
  }
}

/* migrated from global class t2g-timeslot--closed (493) */
.t2g-timeslot--closed {
  background: var(--t2g-legacy-surface-danger);
}

/* migrated from global class t2g-timeslot-left (494) */
.t2g-timeslot-left {
  display: flex;
}

/* migrated from global class t2g-timeslot__day (495) */
.t2g-timeslot__day {
  font-size: 16px;
  font-weight: 600;
}

/* migrated from global class t2g-timeslot__time-status (497) */
.t2g-timeslot__time-status {
  font-size: 14px;
  color: var(--at-white);
  background: var(--at-danger);
  border-radius: 50vw;
  padding: 2px 12px;
  font-weight: 700;
}

/* migrated from global class t2g-top-slider (498) */
.t2g-top-slider {
    background: var(--at-surface-1);
      border-bottom: 1px solid var(--at-border-color);
      padding: var(--at-space--xs) 0;
  }

/* migrated from global class t2g-top-slider__slide (499) */
.t2g-top-slider__slide {
    flex: 0 0 auto;
      background: var(--at-surface-0);
      border: 1px solid var(--at-border-color);
      border-radius: var(--at-radius--s);
      padding: var(--at-space--2xs) var(--at-space--s);
      scroll-snap-align: start;
      display: flex;
      align-items: center;
      gap: var(--at-space--xs);
      font-weight: 700;
      font-size: var(--at-text--xs);
      color: var(--at-text);
      box-shadow: var(--at-shadow--s);
  }

/* migrated from global class t2g-top-slider__track (500) */
.t2g-top-slider__track {
    display: flex;
      gap: var(--at-space--m);
      overflow-x: auto;
      scroll-snap-type: x mandatory;
      scrollbar-width: none;
  }
  .t2g-top-slider__track::-webkit-scrollbar {
    display: none;
  }

/* migrated from global class t2g-tv (501) */
.t2g-tv {
  padding-top: var(--at-space--l);
  margin-top: var(--at-space--l);
}
.t2g-tv__options {
  display: flex;
  flex-direction: column;
  gap: var(--at-space--s);
  list-style: none;
  padding: 0;
  border: none;
}
.t2g-tv__option {
  flex: 1;
}
.t2g-tv__option input[type='radio'] {
  display: none;
}
.t2g-tv__option label {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--at-space--m);
  background: var(--at-white);
  border-radius: var(--at-radius--m);
  box-shadow: var(--t2g-card-ring-elevated);
  font-size: var(--at-text--s);
  font-weight: 700;
  color: var(--t2g-text-muted);
  cursor: pointer;
  transition: var(--t2g-transition-smooth);

  &:hover {
    background: var(--at-primary-l-5);
    box-shadow: var(--t2g-card-ring-elevated-hover);
  }

  &:focus-visible {
    outline: none;
    box-shadow: var(--t2g-focus-ring), var(--t2g-card-ring);
  }
}
.t2g-tv__option input[type='radio']:checked + label {
  background: var(--t2g-gradient-secondary);
  color: var(--at-white);
  box-shadow: var(--t2g-shadow--secondary-strong), 0 0 0 2px var(--at-secondary-d-1);
  transform: scale(1.02);
}

/* migrated from global class t2g-tv-tarif (502) */
.t2g-tv-tarif {
  gap: var(--at-space--xs);
  align-items: stretch;
}

/* migrated from global class t2g-tv__badge (503) */
.t2g-tv__badge {
    font-size: var(--at-text--2xs, 0.6875rem);
    background: var(--at-success-light, #dcfce7);
    color: var(--at-success-dark, #166534);
    padding: 2px 6px;
    border-radius: var(--at-radius--s, 6px);
    font-weight: 600;
  }

/* migrated from global class t2g-verfuegbarkeit (509) */
.t2g-verfuegbarkeit {
	padding: 0;
  gap: var(--at-container-gap);
}

/* migrated from global class t2g-verfuegbarkeit__container (512) */
.t2g-verfuegbarkeit__container {
  background: var(--at-primary-l-5);
	row-gap: var(--at-space--xl);
  border-radius: var(--at-radius--xl);
  align-items: center;
  
}

/* migrated from global class t2g-verfuegbarkeit__form (514) */
.t2g-verfuegbarkeit__form {
	box-shadow: var(--at-shadow--l); 
}

/* migrated from global class t2g-verfuegbarkeit__title (521) */
.t2g-verfuegbarkeit__title {
    color: var(--at-primary);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.03em;
}