/* ════════════════════════════════════════════════════════════
   v-t.one — shop-frontend.css
   V4b design system for license-server frontend components
   ════════════════════════════════════════════════════════════ */

:root {
  --o:       #f47c00;
  --od:      #d96b00;
  --olt:     #fff7ed;
  --omid:    #fed7a8;
  --amber:   #f59e0b;
  --amberd:  #d97706;
  --amberlt: #fffbeb;
  --teal:    #0d9488;
  --teallt:  #f0fdfa;
  --tealmid: #99f6e4;
  --s9:      #1c1917;
  --s7:      #44403c;
  --s5:      #78716c;
  --s4:      #a8a29e;
  --s3:      #d6d3d1;
  --s2:      #e7e5e4;
  --s1:      #f5f5f4;
  --s0:      #fafaf9;
  --white:   #ffffff;
  --r:       10px;
  --rlg:     14px;
  --ease:    cubic-bezier(0.4,0,0.2,1);
  --spring:  cubic-bezier(0.34,1.56,0.64,1);
  --vt-success: #15803d;
  --vt-danger:  #dc2626;
}

/* ── Base wrapper ────────────────────────────────────────── */
.vt-shop {
  font-family: var(--vt-font, 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif);
  color: var(--s7);
  line-height: 1.65;
}
.vt-shop *, .vt-shop *::before, .vt-shop *::after { box-sizing: border-box; }

/* Container: same width/centering recipe as the rest of the site's
   .vt-container (vtdesign-bundle), so shop pages line up with the
   nav/hero above them instead of running full-bleed edge to edge.
   Covers every top-level wrapper class used across these templates. */
.vt-shop,
.vt-docs-index,
.vt-docs-layout {
  width: var(--vt-container, min(90vw, 1400px));
  margin: 0 auto;
  padding: 2rem 0 3rem;
}
@media (min-width: 768px) {
  .vt-shop,
  .vt-docs-index,
  .vt-docs-layout {
    padding: 3.5rem 0 5rem;
  }
}

/* vt_member_sidebar is a standalone module (root: .vt-shop) meant to be
   placed as a grid column inside an editor-applied .vt-dash-layout article
   alongside another module. Let it fill that column instead of trying to
   center itself as a full page container. */
.vt-dash-layout > .vt-shop {
  width: auto;
  margin: 0;
  padding: 0;
}

/* ── Grid compatibility shim ─────────────────────────────────
   The site ships no Bootstrap, but these templates still carry
   Bootstrap's row/col/g-* markup. Recreated here with CSS Grid,
   scoped to .vt-shop so it can't leak onto unrelated site markup. */
.vt-shop .row {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
}
.vt-shop .row.g-3 { gap: 1rem; }
.vt-shop .row.g-4 { gap: 1.5rem; }
.vt-shop .row.g-5 { gap: 3rem; }

.vt-shop .row > [class*="col"] { grid-column: span 12; min-width: 0; }
.vt-shop .row > .col-12 { grid-column: span 12; }

@media (min-width: 768px) {
  .vt-shop .row > .col-md-4 { grid-column: span 4; }
  .vt-shop .row > .col-md-6 { grid-column: span 6; }
  .vt-shop .row > .col-md-8 { grid-column: span 8; }
}
@media (min-width: 992px) {
  .vt-shop .row > .col-lg-4 { grid-column: span 4; }
  .vt-shop .row > .col-lg-5 { grid-column: span 5; }
  .vt-shop .row > .col-lg-7 { grid-column: span 7; }
  .vt-shop .row > .col-lg-8 { grid-column: span 8; }
}

/* row-cols-*: equal-width auto grids (product/package card listings) */
.vt-shop .row[class*="row-cols"] { grid-template-columns: 1fr; }
.vt-shop .row[class*="row-cols"] > [class*="col"] { grid-column: span 1; }
@media (min-width: 768px) {
  .vt-shop .row.row-cols-md-2 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 992px) {
  .vt-shop .row.row-cols-lg-3 { grid-template-columns: repeat(3, 1fr); }
}

/* ── Buttons ─────────────────────────────────────────────── */
.vt-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  font-family: var(--vt-font, 'Outfit', sans-serif); font-weight: 600; font-size: 0.9rem;
  border-radius: var(--r); border: 1.5px solid transparent;
  cursor: pointer; white-space: nowrap; line-height: 1; text-decoration: none;
  padding: 0.6rem 1.2rem;
  transition: background 0.2s var(--ease), color 0.2s, box-shadow 0.2s,
              transform 0.2s var(--spring), border-color 0.2s;
  position: relative; overflow: hidden;
}
.vt-btn::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.2) 50%, transparent 60%);
  transform: translateX(-100%); transition: transform 0.4s ease;
}
.vt-btn:hover::after { transform: translateX(100%); }
.vt-btn:disabled { opacity: 0.6; cursor: not-allowed; pointer-events: none; }
.vt-btn--sm  { padding: 0.42rem 0.875rem; font-size: 0.82rem; }
.vt-btn--lg  { padding: 0.825rem 1.875rem; font-size: 1rem; }
.vt-btn--w   { width: 100%; justify-content: center; }

.vt-btn--primary {
  background: var(--o); color: #fff; border-color: var(--o);
  box-shadow: 0 2px 8px rgba(244,124,0,0.22);
}
.vt-btn--primary:hover {
  background: var(--od); border-color: var(--od); color: #fff;
  box-shadow: 0 6px 20px rgba(244,124,0,0.38); transform: translateY(-2px);
}
.vt-btn--stone {
  background: var(--s1); color: var(--s7); border-color: var(--s2);
}
.vt-btn--stone:hover {
  background: var(--s2); color: var(--s9); transform: translateY(-1px);
}
.vt-btn--outline-stone {
  background: transparent; color: var(--s7); border-color: var(--s2);
}
.vt-btn--outline-stone:hover {
  background: var(--s1); color: var(--s9); border-color: var(--s3); transform: translateY(-1px);
}
.vt-btn--danger {
  background: transparent; color: #dc2626; border-color: #fca5a5;
}
.vt-btn--danger:hover { background: #fef2f2; border-color: #f87171; }

.vt-btn--link {
  background: none; border: none; padding: 0;
  color: var(--o); font-weight: 600; font-size: 0.84rem;
  cursor: pointer; text-decoration: underline;
  text-decoration-color: transparent;
  transition: text-decoration-color 0.15s, color 0.15s;
  font-family: var(--vt-font, 'Outfit', sans-serif);
}
.vt-btn--link:hover { color: var(--od); text-decoration-color: var(--od); }

/* vtdesign's site-wide `.vt-theme a { color: inherit }` (specificity 0,1,1)
   otherwise beats a single class here on anchor-tag buttons, leaving link
   text an inherited color instead of the button's intended text color. */
.vt-shop a.vt-btn--primary,
.vt-shop a.vt-btn--primary:hover       { color: #fff; }
.vt-shop a.vt-btn--stone               { color: var(--s7); }
.vt-shop a.vt-btn--stone:hover         { color: var(--s9); }
.vt-shop a.vt-btn--outline-stone       { color: var(--s7); }
.vt-shop a.vt-btn--outline-stone:hover { color: var(--s9); }
.vt-shop a.vt-btn--danger              { color: #dc2626; }
.vt-shop a.vt-btn--link                { color: var(--o); }
.vt-shop a.vt-btn--link:hover          { color: var(--od); }

/* ── Badges ──────────────────────────────────────────────── */
.vt-badge {
  display: inline-block; font-size: 0.62rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.05em;
  padding: 0.18rem 0.5rem; border-radius: 4px;
}
.vt-badge--platform { background: var(--s1); color: var(--s5); }
.vt-badge--free     { background: #dcfce7; color: #15803d; }
.vt-badge--pro      { background: var(--olt); color: var(--od); }
.vt-badge--popular  { background: var(--o); color: #fff; }
.vt-badge--trial    { background: var(--amberlt); color: var(--amberd); }
.vt-badge--active   { background: #dcfce7; color: #15803d; }
.vt-badge--expired  { background: var(--s1); color: var(--s4); }
.vt-badge--inactive { background: #fee2e2; color: #dc2626; }
.vt-badge--sub-active    { background: #dcfce7; color: #15803d; }
.vt-badge--sub-pending   { background: var(--s1); color: var(--s4); }
.vt-badge--sub-past_due  { background: var(--amberlt); color: var(--amberd); }
.vt-badge--sub-paused    { background: var(--amberlt); color: var(--amberd); }
.vt-badge--sub-cancelled { background: #fee2e2; color: #dc2626; }
.vt-badge--sub-expired   { background: #fee2e2; color: #dc2626; }
.vt-badge--otype-onetime { background: var(--s1); color: var(--s5); }
.vt-badge--otype-sub     { background: var(--olt); color: var(--od); }
.vt-badge--otype-renewal { background: var(--amberlt); color: var(--amberd); }

/* ── Product list cards ──────────────────────────────────── */
.vt-pcard {
  background: var(--white); border: 1.5px solid var(--s2);
  border-radius: var(--rlg); padding: 1.625rem;
  height: 100%; display: flex; flex-direction: column; gap: 0.875rem;
  position: relative; overflow: hidden;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s var(--spring);
}
.vt-pcard:hover {
  border-color: var(--s3);
  box-shadow: 0 8px 28px rgba(28,25,23,0.09);
  transform: translateY(-3px);
}
.vt-pcard--featured { border-color: var(--o); box-shadow: 0 0 0 3px var(--olt); }
.vt-pcard--featured:hover {
  box-shadow: 0 0 0 3px var(--olt), 0 10px 32px rgba(244,124,0,0.14);
}
.vt-pcard__accent {
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--o), var(--amber));
}
.vt-pcard__accent--teal  { background: linear-gradient(90deg, var(--teal), var(--amber)); }
.vt-pcard__accent--amber { background: linear-gradient(90deg, var(--amber), var(--o)); }
.vt-pcard__ribbon {
  position: absolute; top: 14px; right: -22px;
  background: var(--o); color: #fff;
  font-size: 0.62rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em;
  padding: 0.2rem 2.2rem; transform: rotate(45deg); z-index: 2;
}
.vt-pcard__head {
  display: flex; align-items: flex-start; justify-content: space-between;
  padding-top: 0.4rem; gap: 0.5rem;
}
.vt-pcard__icon {
  width: 42px; height: 42px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  transition: transform 0.25s var(--spring);
}
.vt-pcard:hover .vt-pcard__icon { transform: scale(1.1) rotate(-5deg); }
.vt-pcard__icon--o     { background: var(--olt);    color: var(--o); }
.vt-pcard__icon--teal  { background: var(--teallt); color: var(--teal); }
.vt-pcard__icon--amber { background: var(--amberlt);color: var(--amberd); }
.vt-pcard__badges { display: flex; gap: 0.3rem; flex-wrap: wrap; align-items: center; }
.vt-pcard__name {
  font-size: 1rem; font-weight: 700; color: var(--s9); margin: 0;
  transition: color 0.15s;
}
.vt-pcard:hover .vt-pcard__name { color: var(--o); }
.vt-pcard__code { font-size: 0.72rem; color: var(--s4); font-family: monospace; margin: 0; }
.vt-pcard__desc { font-size: 0.875rem; color: var(--s5); line-height: 1.65; margin: 0; flex: 1; }
.vt-pcard__foot {
  display: flex; align-items: center; justify-content: flex-end;
  border-top: 1px solid var(--s2); padding-top: 0.875rem;
}

/* ── Product list search / filter ────────────────────────── */
.vt-product-search {
  display: flex; align-items: center; gap: 0.75rem;
  flex-wrap: wrap; margin-bottom: 2rem;
}
.vt-product-search__input-wrap {
  display: flex; align-items: center; gap: 0.55rem;
  background: var(--white); border: 1.5px solid var(--s3);
  border-radius: 9999px; padding: 0.5rem 1rem;
  flex: 1; min-width: 200px; max-width: 360px;
  color: var(--s4);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.vt-product-search__input-wrap:focus-within {
  border-color: var(--o); box-shadow: 0 0 0 3px var(--olt);
}
.vt-product-search__input {
  border: none; outline: none; background: transparent;
  font-size: 0.9rem; color: var(--s7); width: 100%;
}
.vt-product-search__input::placeholder { color: var(--s4); }
.vt-product-search__input::-webkit-search-cancel-button { cursor: pointer; }
.vt-product-search__filters { display: flex; gap: 0.4rem; }
[data-vt-product-grid] .col {
  transition: opacity 0.22s ease, transform 0.22s ease;
}
.vt-filter-btn {
  border: 1.5px solid var(--s3); background: var(--white);
  border-radius: 9999px; padding: 0.4rem 1rem;
  font-size: 0.85rem; font-weight: 500; color: var(--s5);
  cursor: pointer; transition: border-color 0.2s, color 0.2s;
}
.vt-filter-btn:hover { border-color: var(--s4); color: var(--s7); }
.vt-filter-btn--active {
  border-color: var(--o); color: var(--o); background: var(--white);
}

/* ── Pricing cards ───────────────────────────────────────── */
.vt-pkg-card {
  background: var(--white); border: 1.5px solid var(--s2);
  border-radius: var(--rlg); padding: 1.75rem;
  height: 100%; display: flex; flex-direction: column; gap: 1.1rem;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s var(--spring);
}
.vt-pkg-card:hover {
  border-color: var(--s3);
  box-shadow: 0 8px 28px rgba(28,25,23,0.08);
  transform: translateY(-4px);
}
.vt-pkg-card--featured { border-color: var(--o); box-shadow: 0 0 0 3px var(--olt); }
.vt-pkg-card--featured:hover {
  box-shadow: 0 0 0 3px var(--olt), 0 12px 36px rgba(244,124,0,0.18);
  transform: translateY(-6px);
}

.vt-pkg-tag {
  display: inline-block; font-size: 0.62rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  padding: 0.22rem 0.6rem; border-radius: 4px; margin-bottom: 0.2rem;
}
.vt-pkg-tag--free    { background: #dcfce7; color: #15803d; }
.vt-pkg-tag--pro     { background: var(--olt); color: var(--od); }
.vt-pkg-tag--popular { background: var(--o); color: #fff; }
.vt-pkg-tag--trial   { background: var(--amberlt); color: var(--amberd); }

.vt-pkg-name { font-size: 1.1rem; font-weight: 800; color: var(--s9); margin: 0 0 0.1rem; letter-spacing: -0.01em; }
.vt-pkg-desc { font-size: 0.84rem; color: var(--s5); line-height: 1.65; margin: 0; }

.vt-pkg-price { display: flex; align-items: baseline; gap: 0.25rem; flex-wrap: wrap; }
.vt-pkg-price__currency { font-size: 1rem; font-weight: 700; color: var(--s5); }
.vt-pkg-price__amount   { font-size: 2.1rem; font-weight: 900; color: var(--s9); letter-spacing: -0.04em; line-height: 1; }
.vt-pkg-price__amount--sm { font-size: 1.5rem; }
.vt-pkg-price__cycle    { font-size: 0.78rem; color: var(--s4); align-self: flex-end; padding-bottom: 0.25rem; }
.vt-pkg-price__vat      { font-size: 0.7rem; color: var(--s4); width: 100%; margin-top: 0.15rem; }
.vt-pkg-price__trial-num { font-size: 2rem; font-weight: 900; color: var(--teal); letter-spacing: -0.03em; }

.vt-pkg-divider { height: 1px; background: var(--s2); border: none; margin: 0; }

.vt-pkg-features { list-style: none; margin: 0; padding: 0; flex: 1; display: flex; flex-direction: column; gap: 0.5rem; }
.vt-pkg-features li { display: flex; align-items: flex-start; gap: 0.5rem; font-size: 0.855rem; color: var(--s7); line-height: 1.45; }
.vt-feat-ck   { width: 16px; height: 16px; flex-shrink: 0; color: var(--o); margin-top: 1px; }
.vt-feat-teal { width: 16px; height: 16px; flex-shrink: 0; color: var(--teal); margin-top: 1px; }
.vt-feat-dash { width: 16px; height: 16px; flex-shrink: 0; color: var(--s3); margin-top: 1px; }

/* ── Price summary box ───────────────────────────────────── */
.vt-price-box {
  background: var(--s0); border: 1px solid var(--s2);
  border-radius: var(--r); padding: 1rem 1.125rem;
}
.vt-price-row {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.875rem; color: var(--s5); padding: 0.35rem 0;
}
.vt-price-row--total {
  font-weight: 800; font-size: 1rem; color: var(--s9);
  border-top: 1.5px solid var(--s2); margin-top: 0.35rem; padding-top: 0.7rem;
}
.vt-price-row--discount { color: var(--teal); }

/* ── Alerts ──────────────────────────────────────────────── */
.vt-alert {
  display: flex; gap: 0.65rem; align-items: flex-start;
  border-radius: var(--r); padding: 0.825rem 1rem;
  font-size: 0.875rem; line-height: 1.6; margin-bottom: 1rem;
}
.vt-alert svg { flex-shrink: 0; margin-top: 1px; }
.vt-alert[hidden] { display: none; }
.vt-alert--error { background: #fef2f2; border: 1px solid #fca5a5; color: #dc2626; }
.vt-alert--info  { background: var(--teallt); border: 1px solid var(--tealmid); color: var(--teal); }
.vt-alert--warn  { background: var(--amberlt); border: 1px solid #fde68a; color: var(--amberd); }
.vt-alert--ok    { background: #f0fdf4; border: 1px solid #bbf7d0; color: #15803d; }
/* PayPal payment indicator — PayPal brand blue (#003087) instead of the theme accent. */
.vt-alert--paypal { background: #f0f6ff; border: 1px solid #a8caf5; color: #003087; }
.vt-alert--paypal strong { color: #003087; }

/* ── Card panel (checkout flow: cart / billing / summary) ──── */
.vt-panel {
  background: var(--white);
  border: 1px solid var(--s2);
  border-radius: var(--rlg);
  box-shadow: 0 1px 3px rgba(28,25,23,0.04), 0 12px 32px -14px rgba(28,25,23,0.14);
  padding: 1.5rem;
}
@media (min-width: 768px) {
  .vt-panel { padding: 2.25rem; }
}

/* ── Checkout step breadcrumb ────────────────────────────── */
.vt-steps {
  display: flex; align-items: center; flex-wrap: wrap;
  gap: 0.4rem 0.65rem; margin-bottom: 1.25rem;
}
.vt-step {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.8rem; font-weight: 600; color: var(--s4); white-space: nowrap;
}
.vt-step:not(:last-child)::after {
  content: ""; width: 1.5rem; height: 1.5px; background: var(--s3);
  margin-left: 0.15rem;
}
.vt-step__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 1.5rem; height: 1.5rem; flex-shrink: 0; border-radius: 50%;
  border: 1.5px solid var(--s3); background: var(--white);
  font-size: 0.72rem; font-weight: 700; color: var(--s4);
}
.vt-step.is-done   { color: var(--s7); }
.vt-step.is-done   .vt-step__num { border-color: var(--o); background: var(--olt); color: var(--o); }
.vt-step.is-current { color: var(--s9); }
.vt-step.is-current .vt-step__num { border-color: var(--o); background: var(--o); color: var(--white); }

/* ── Form fields ─────────────────────────────────────────── */
.vt-field-label {
  display: block; font-size: 0.78rem; font-weight: 600;
  color: var(--s7); margin-bottom: 0.35rem;
}
.vt-field-label .req { color: var(--o); }
.vt-field-group { margin-bottom: 1rem; }
.vt-field-group:last-child { margin-bottom: 0; }

.vt-field-input,
.vt-field-select {
  width: 100%; font-family: var(--vt-font, 'Outfit', sans-serif); font-size: 0.875rem;
  color: var(--s7); border: 1.5px solid var(--s2); border-radius: 8px;
  padding: 0.6rem 0.875rem; background: var(--white); display: block;
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none; appearance: none;
}
.vt-field-input:focus,
.vt-field-select:focus {
  outline: none; border-color: var(--o);
  box-shadow: 0 0 0 3px rgba(244,124,0,0.1);
}
.vt-field-input--error { border-color: #f87171; }
.vt-field-hint { font-size: 0.72rem; color: var(--s4); margin-top: 0.3rem; }
.vt-field-err  { font-size: 0.72rem; color: #dc2626; margin-top: 0.25rem; margin-bottom: 0.25rem; }
.vt-field-select {
  padding-right: 2.25rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 1rem;
}
textarea.vt-field-input { resize: vertical; min-height: 9rem; }

.vt-check-label {
  display: flex; align-items: flex-start; gap: 0.5rem;
  font-size: 0.84rem; color: var(--s5); cursor: pointer; line-height: 1.55;
}
.vt-check-label input[type=checkbox] { accent-color: var(--o); flex-shrink: 0; margin-top: 2px; }
.vt-check-label a { color: var(--o); }

/* ── Domain input ────────────────────────────────────────── */
.vt-domain-input {
  font-family: var(--vt-font, 'Outfit', sans-serif); font-size: 0.875rem; color: var(--s7);
  border: 1.5px solid var(--s2); border-radius: 8px;
  padding: 0.5rem 0.75rem; background: var(--white); width: 100%;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.vt-domain-input:focus {
  outline: none; border-color: var(--o);
  box-shadow: 0 0 0 3px rgba(244,124,0,0.1);
}

/* ── Cart ────────────────────────────────────────────────── */
.vt-cart-empty {
  background: var(--white); border: 1.5px solid var(--s2);
  border-radius: var(--rlg); padding: 4rem 2rem; text-align: center;
}
.vt-cart-empty__icon {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--s1); color: var(--s4);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.25rem;
}
.vt-cart-empty h3 { font-size: 1.1rem; font-weight: 800; color: var(--s9); margin-bottom: 0.35rem; }
.vt-cart-empty p  { font-size: 0.875rem; color: var(--s5); margin: 0; }

.vt-cart-item {
  background: var(--white); border: 1.5px solid var(--s2);
  border-radius: var(--rlg); padding: 1.25rem; margin-bottom: 0.875rem;
  transition: border-color 0.2s;
}
.vt-cart-item:hover { border-color: var(--s3); }
.vt-cart-item__name { font-size: 0.95rem; font-weight: 700; color: var(--s9); margin: 0 0 0.1rem; }
.vt-cart-item__meta { font-size: 0.78rem; color: var(--s4); margin: 0; }

.vt-coupon-wrap { display: flex; gap: 0.5rem; }
.vt-coupon-msg  { font-size: 0.82rem; margin-top: 0.35rem; }

.vt-coupon-chip {
  display: inline-flex; align-items: center; gap: 0.25rem;
  font-size: 0.75rem; font-weight: 600; padding: 0.28rem 0.7rem;
  border: 1.5px solid var(--s2); border-radius: 999px;
  background: var(--white); color: var(--s5); cursor: pointer;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
}
.vt-coupon-chip:hover,
.vt-coupon-chip--active { border-color: var(--o); background: var(--olt); color: var(--od); }
.vt-coupon-chip-desc { color: var(--s4); font-weight: 400; }

.vt-summary-box {
  background: var(--white); border: 1.5px solid var(--s2);
  border-radius: var(--rlg); padding: 1.5rem;
  position: sticky; top: 80px;
}
@media (max-width: 991px) {
  .vt-summary-box { position: static; top: auto; }
}
.vt-summary-box__title {
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--s4); margin-bottom: 1rem;
}

/* ── Checkout summary ────────────────────────────────────── */
.vt-summary-item {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 1rem; padding: 0.875rem 0; border-bottom: 1px solid var(--s2);
}
.vt-summary-item:last-child { border-bottom: none; }
.vt-summary-item__name  { font-size: 0.9rem; font-weight: 700; color: var(--s9); margin: 0 0 0.1rem; }
.vt-summary-item__pkg   { font-size: 0.78rem; color: var(--s4); margin: 0; }
.vt-summary-item__domain{ font-size: 0.75rem; color: var(--s5); display: flex; align-items: center; gap: 0.3rem; margin-top: 0.2rem; }
.vt-summary-item__price { font-weight: 700; color: var(--s9); font-size: 0.9rem; white-space: nowrap; }
.vt-billing-address { font-size: 0.875rem; color: var(--s7); line-height: 1.75; font-style: normal; }
.vt-section-label {
  display: block; font-size: 0.68rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.09em; color: var(--s4); margin-bottom: 0.75rem;
}

/* ── Legal checkbox block ────────────────────────────────── */
.vt-legal-box {
  background: var(--s0); border: 1px solid var(--s2); border-radius: var(--r);
  padding: 1rem 1.125rem; display: flex; flex-direction: column; gap: 0.625rem;
}

/* ── Order success ───────────────────────────────────────── */
.vt-success-wrap { text-align: center; padding: 3rem 0; }
.vt-success-icon {
  width: 72px; height: 72px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.5rem;
}
.vt-success-icon--ok      { background: #dcfce7; color: #15803d; }
.vt-success-icon--pending { background: var(--amberlt); color: var(--amberd); }
.vt-success-icon--info    { background: var(--teallt); color: var(--teal); }
.vt-success-icon svg { width: 32px; height: 32px; }
.vt-success-h    { font-size: 1.75rem; font-weight: 900; color: var(--s9); letter-spacing: -0.025em; margin-bottom: 0.4rem; }
.vt-success-lead { font-size: 0.95rem; color: var(--s5); margin-bottom: 0.3rem; }
.vt-success-sub  { font-size: 0.84rem; color: var(--s4); margin-bottom: 2rem; }
.vt-order-box {
  background: var(--white); border: 1.5px solid var(--s2);
  border-radius: var(--rlg); padding: 1.5rem;
  max-width: 480px; margin: 0 auto 2rem; text-align: left;
}
.vt-order-box__title {
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--s4); margin-bottom: 0.75rem;
}
.vt-order-row {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.875rem; color: var(--s7); padding: 0.45rem 0;
  border-bottom: 1px solid var(--s2);
}
.vt-order-row:last-child { border-bottom: none; }
.vt-order-row__label { color: var(--s4); }
.vt-order-row__val   { font-weight: 600; color: var(--s9); font-size: 0.84rem; }

/* ── Dashboard ───────────────────────────────────────────── */
.vt-profile-box {
  background: var(--white); border: 1.5px solid var(--s2);
  border-radius: var(--rlg); padding: 1.5rem; margin-bottom: 1.25rem;
}
.vt-profile-box__head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 1.1rem; flex-wrap: wrap; gap: 0.5rem;
}
.vt-profile-box__title { font-size: 1rem; font-weight: 700; color: var(--s9); margin: 0; }
.vt-profile-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 575px) { .vt-profile-grid { grid-template-columns: 1fr; } }
.vt-profile-item__label { font-size: 0.72rem; color: var(--s4); margin-bottom: 0.15rem; }
.vt-profile-item__value { font-size: 0.9rem; font-weight: 600; color: var(--s9); }

.vt-section-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 1rem; flex-wrap: wrap; gap: 0.5rem;
}
.vt-section-header__title { font-size: 1.05rem; font-weight: 700; color: var(--s9); margin: 0; }
.vt-section-count {
  font-size: 0.65rem; font-weight: 700; padding: 0.22rem 0.7rem;
  border-radius: 999px; background: var(--olt); color: var(--od);
}
.vt-section-count--grey { background: var(--s1); color: var(--s5); }

.vt-license-card {
  background: var(--white); border: 1.5px solid var(--s2);
  border-radius: var(--rlg); padding: 1.375rem; margin-bottom: 0.875rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.vt-license-card:hover { border-color: var(--s3); box-shadow: 0 4px 18px rgba(28,25,23,0.07); }
.vt-license-card--inactive { opacity: 0.7; background: var(--s0); }
.vt-license-card__head {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 1rem; margin-bottom: 0.875rem; flex-wrap: wrap;
}
.vt-license-card__name { font-size: 1rem; font-weight: 700; color: var(--s9); margin: 0 0 0.1rem; }
.vt-license-card__pkg  { font-size: 0.78rem; color: var(--s4); font-family: monospace; margin: 0; }

.vt-license-meta { display: flex; flex-wrap: wrap; gap: 0.4rem 1.25rem; font-size: 0.82rem; color: var(--s5); margin-bottom: 0.875rem; }
.vt-license-meta__item { display: flex; align-items: center; gap: 0.3rem; }
.vt-license-meta__item svg { width: 13px; height: 13px; color: var(--s4); flex-shrink: 0; }
.vt-license-key {
  font-family: monospace; font-size: 0.78rem;
  background: var(--s0); border: 1px solid var(--s2); border-radius: 4px;
  padding: 0.1rem 0.4rem; color: var(--s7);
}

.vt-domain-slot { margin-bottom: 0.625rem; }
.vt-domain-slot:last-of-type { margin-bottom: 0; }
.vt-domain-view { display: flex; align-items: center; gap: 0.4rem; flex-wrap: wrap; font-size: 0.875rem; }
.vt-domain-view__label { color: var(--s4); font-size: 0.78rem; }
.vt-domain-view__value { font-weight: 600; color: var(--s9); font-family: monospace; font-size: 0.84rem; }
.vt-domain-editor { display: flex; gap: 0.4rem; align-items: center; margin-top: 0.4rem; flex-wrap: wrap; }
.vt-domain-editor input {
  font-family: monospace; font-size: 0.84rem; color: var(--s7);
  border: 1.5px solid var(--s2); border-radius: 7px; padding: 0.38rem 0.65rem;
  background: var(--white); flex: 1; min-width: 160px; transition: border-color 0.2s;
}
.vt-domain-editor input:focus { outline: none; border-color: var(--o); }
.vt-domain-error { font-size: 0.78rem; color: #dc2626; margin-top: 0.25rem; }
.vt-domain-hint  { font-size: 0.72rem; color: var(--s4); margin-top: 0.3rem; }
.vt-license-actions {
  display: flex; gap: 0.5rem; flex-wrap: wrap;
  margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--s2);
}

/* Subscription card */
.vt-sub-card {
  background: var(--white); border: 1.5px solid var(--s2);
  border-radius: var(--rlg); padding: 1.375rem; margin-bottom: 0.875rem;
  transition: border-color 0.2s;
}
.vt-sub-card:hover { border-color: var(--s3); }
.vt-sub-card__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.vt-sub-card__name { font-size: 0.95rem; font-weight: 700; color: var(--s9); margin: 0 0 0.25rem; }
.vt-sub-card__pkg  { font-size: 0.82rem; color: var(--s5); font-weight: 400; }
.vt-sub-card__meta { font-size: 0.82rem; color: var(--s5); margin-top: 0.5rem; }
.vt-sub-card__actions { display: flex; flex-direction: column; gap: 0.4rem; min-width: 160px; }

/* ── Dashboard layout ────────────────────────────────────── */
.vt-dash-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 2rem;
  align-items: start;
}
/* Force both grid columns to top-align regardless of any theme margins applied to
   the first flow element. The sidebar is an <aside> and the content is a <div>; some
   site themes add top margin to these, which would push one column down. !important
   is used deliberately to win over unknown third-party theme selectors. */
.vt-dash-layout > * { margin-top: 0 !important; }
.vt-dash-layout > .mod_article,
.vt-dash-layout > .ce_module,
.vt-dash-layout > [class*="mod_"] { margin: 0 !important; }
.vt-dash-sidebar {
  background: var(--white);
  border: 1.5px solid var(--s2);
  border-radius: var(--rlg);
  padding: 1.5rem;
  position: sticky;
  top: 40px;
  margin: 0 !important;
  align-self: start;
}
.vt-dash-avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--olt); color: var(--o);
  font-size: 1.1rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 0.75rem;
  flex-shrink: 0;
}
.vt-dash-name  { font-size: 0.95rem; font-weight: 700; color: var(--s9); text-align: center; margin: 0 0 0.15rem; }
.vt-dash-email { font-size: 0.78rem; color: var(--s4); text-align: center; margin: 0 0 1.25rem; word-break: break-all; }
.vt-dash-divider { height: 1px; background: var(--s2); margin: 0.75rem 0; }
.vt-dash-nav { list-style: none; padding: 0; margin: 0; }
.vt-dash-nav li { margin-bottom: 0.15rem; }
.vt-dash-nav a {
  display: flex; align-items: center; gap: 0.6rem;
  padding: 0.55rem 0.75rem; border-radius: var(--r);
  text-decoration: none; font-size: 0.875rem; font-weight: 500; color: var(--s5);
  transition: background 0.15s, color 0.15s;
}
.vt-dash-nav a:hover { background: var(--s1); color: var(--s9); }
.vt-dash-nav a.vt-dash-nav--active { background: var(--olt); color: var(--o); font-weight: 600; }
.vt-dash-nav a svg { width: 16px; height: 16px; flex-shrink: 0; }

@media (max-width: 991px) {
  .vt-dash-layout { grid-template-columns: 1fr; }
  .vt-dash-sidebar { position: static; }
}

/* ── Orders table ────────────────────────────────────────── */
.vt-orders-wrap {
  background: var(--white); border: 1.5px solid var(--s2);
  border-radius: var(--rlg); overflow-x: auto; -webkit-overflow-scrolling: touch;
}
.vt-orders-table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 0.875rem; }
.vt-orders-table thead tr { border-bottom: 1px solid var(--s2); }
.vt-orders-table th {
  padding: 0.75rem 1rem; text-align: left;
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.06em; color: var(--s4);
  background: var(--s0);
}
.vt-orders-table td { padding: 0.875rem 1rem; border-bottom: 1px solid var(--s2); color: var(--s7); vertical-align: middle; }
.vt-orders-table tbody tr:last-child td { border-bottom: none; }
.vt-orders-table tbody tr:hover td { background: var(--s0); }
.vt-orders-table__name { font-size: 0.9rem; font-weight: 600; color: var(--s9); margin: 0 0 0.1rem; }
.vt-orders-table__pkg  { font-size: 0.78rem; color: var(--s4); margin: 0; }

/* ── Mini cart ───────────────────────────────────────────── */
.vt-mini-cart-bar { display: inline-flex; align-items: center; gap: 0.5rem; padding-left: 20px;}
.vt-mini-cart { display: inline-flex; position: relative; }
.vt-mini-cart-link {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 8px; color: var(--s5);
  text-decoration: none; position: relative;
  transition: background 0.15s, color 0.15s, transform 0.2s var(--spring);
}
.vt-mini-cart-bar a{
    background: rgba(242, 240, 234, 0.42);
}
.vt-mini-cart-link:hover { background: var(--olt); color: var(--o); transform: scale(1.08); }
.vt-mini-cart-profile--active { background: var(--olt); color: var(--o); }
.vt-mini-cart-profile--active:hover { transform: scale(1.08); }
.vt-mini-cart-badge {
  position: absolute; top: -4px; left: 50%; transform: translateX(-50%);
  background: var(--o); color: #fff; font-size: 0.6rem; font-weight: 700;
  width: 17px; height: 17px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid #fff; pointer-events: none;
}
.vt-mini-cart-badge[hidden] { display: none; }

/* ── Cart toast ──────────────────────────────────────────── */
.vt-cart-toast {
  position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 9999;
  background: var(--s9); color: #fff;
  padding: 0.875rem 1.25rem; border-radius: var(--rlg);
  font-size: 0.875rem; font-family: var(--vt-font, 'Outfit', sans-serif);
  box-shadow: 0 8px 28px rgba(28,25,23,0.22);
  opacity: 0; transform: translateY(12px);
  transition: opacity 0.25s, transform 0.25s var(--spring);
  pointer-events: none;
}
.vt-cart-toast--visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.vt-cart-toast-link { color: var(--o); font-weight: 600; text-decoration: none; }
.vt-cart-toast-link:hover { color: var(--amber); }

/* ── Empty state ─────────────────────────────────────────── */
.vt-empty { text-align: center; padding: 2.5rem 1rem; }
.vt-empty p { font-size: 0.875rem; color: var(--s4); margin: 0; }

/* ── Responsive tweaks ───────────────────────────────────── */
/* ── Documentation index cards ───────────────────────────── */
.vt-docs-card {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 1.25rem; border: 1.5px solid var(--s2); border-radius: var(--rlg);
  text-decoration: none; height: 100%; box-sizing: border-box;
  transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.vt-docs-card:hover { border-color: var(--o); box-shadow: 0 4px 18px -4px rgba(28,25,23,0.1); }
.vt-docs-card__icon {
  width: 44px; height: 44px; flex-shrink: 0;
  border-radius: 10px; background: var(--olt);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.vt-docs-card__body { flex: 1; min-width: 0; }
.vt-docs-card__head { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 0.25rem; }
.vt-docs-card__title { font-weight: 700; color: var(--s9); font-size: 0.95rem; }
.vt-docs-card__chip { font-size: 0.7rem; font-family: monospace; background: var(--s1); color: var(--s5); padding: 0.15rem 0.5rem; border-radius: 6px; }
.vt-docs-card__teaser { font-size: 0.85rem; color: var(--s5); margin: 0 0 0.5rem; line-height: 1.55; }
.vt-docs-card__cta { font-size: 0.8rem; color: var(--o); font-weight: 500; }
.vt-docs-index__empty { font-size: 0.875rem; color: var(--s4); }

/* ── Documentation reader layout ─────────────────────────── */
.vt-docs-layout { display: grid; grid-template-columns: 220px 1fr; gap: 3rem; align-items: start; }
.vt-docs-sidebar__inner { position: sticky; top: 5rem; }
.vt-docs-plugin-id {
  display: flex; align-items: center; gap: 0.75rem;
  padding-bottom: 1rem; margin-bottom: 1rem; border-bottom: 1px solid var(--s2);
}
.vt-docs-plugin-id__icon {
  width: 40px; height: 40px; flex-shrink: 0;
  border-radius: 10px; background: var(--olt);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.vt-docs-plugin-id__name { font-weight: 700; color: var(--s9); font-size: 0.9rem; margin: 0; line-height: 1.2; }
.vt-docs-plugin-id__meta { font-size: 0.75rem; color: var(--s4); margin: 0; }
.vt-docs-meta { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1.25rem; }
.vt-docs-meta__chip { font-size: 0.72rem; font-family: monospace; background: var(--s1); color: var(--s5); padding: 0.2rem 0.55rem; border-radius: 6px; }
.vt-docs-meta__chip--secondary { background: var(--olt); color: var(--o); }
.vt-docs-toc__label { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--s4); margin-bottom: 0.5rem; }
#vt-docs-toc a {
  display: block; font-size: 0.85rem; color: var(--s6);
  text-decoration: none; padding: 0.3rem 0.6rem; border-radius: 6px;
  border-left: 2px solid transparent;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
#vt-docs-toc a.vt-toc-h3 { padding-left: 1.25rem; font-size: 0.8rem; color: var(--s4); }
#vt-docs-toc a.vt-toc-active { background: var(--olt); color: var(--o); border-left-color: var(--o); font-weight: 600; }

/* ── Docs main content typography ────────────────────────── */
.vt-docs-main { min-width: 0; }
.vt-docs-main h2 {
  font-size: 1.2rem; font-weight: 800; color: var(--s9);
  margin-top: 2.5rem; margin-bottom: 0.75rem;
  padding-bottom: 0.5rem; border-bottom: 1px solid var(--s2);
  scroll-margin-top: 5rem;
}
.vt-docs-main h3 { font-size: 1rem; font-weight: 700; color: var(--s9); margin-top: 1.75rem; margin-bottom: 0.5rem; scroll-margin-top: 5rem; }
.vt-docs-main p { color: var(--s7); line-height: 1.75; margin-bottom: 1rem; }
.vt-docs-main ul, .vt-docs-main ol { color: var(--s7); line-height: 1.9; margin-bottom: 1rem; padding-left: 1.25rem; }
.vt-docs-main code { font-family: monospace; font-size: 0.85em; background: var(--s1); color: var(--s7); padding: 0.15rem 0.4rem; border-radius: 4px; }
.vt-docs-main pre { background: var(--s9); color: #e5e7eb; border-radius: 10px; padding: 1rem 1.25rem; overflow-x: auto; margin-bottom: 1.25rem; }
.vt-docs-main pre code { background: none; color: inherit; padding: 0; font-size: 0.875rem; }
.vt-docs-main details { border: 1.5px solid var(--s2); border-radius: 12px; padding: 1rem 1.25rem; margin-bottom: 0.75rem; }
.vt-docs-main details summary { font-weight: 600; color: var(--s9); cursor: pointer; font-size: 0.9rem; }
.vt-docs-main table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; width: 100%; min-width: 0; border-collapse: collapse; font-size: 0.875rem; margin-bottom: 1.25rem; }
.vt-docs-main th { text-align: left; padding: 0.6rem 1rem; background: var(--s1); color: var(--s5); font-weight: 600; border-bottom: 1px solid var(--s2); }
.vt-docs-main td { padding: 0.6rem 1rem; border-bottom: 1px solid var(--s2); color: var(--s7); }

@media (max-width: 767px) {
  .vt-sub-card__head   { flex-direction: column; }
  .vt-sub-card__actions { min-width: auto; flex-direction: row; }
  .vt-license-card__head { flex-direction: column; }
}

@media (max-width: 900px) {
  .vt-docs-layout { grid-template-columns: 1fr; }
  .vt-docs-sidebar { display: none; }
}
@media (max-width: 768px) {
	.vt-shop .row{
		grid-template-columns: 1fr;
	}
	.vt-shop .row > [class*="col"]{
		grid-column: span 1;
	}
}
/* ==========================================================================
   V&T Design theme — tokens, layout, effect primitives
   ========================================================================== */

:root {
  --vt-dark: #1a1a1a;       /* primary text (light mode) */
  --vt-bg: #f2f0ea;         /* page background */
  --vt-beige: #b7ab98;      /* sand tone, hero text on video */
  --vt-red: #df9b0c;        /* accent (gold) */
  --vt-grey: #6b675f;
  --vt-font: 'TeX Gyre Adventor', 'Century Gothic', 'Avant Garde', 'Futura', sans-serif;
  --vt-container: min(90vw, 1400px);
}

/* ---- base -------------------------------------------------------------- */

@font-face {
  font-family: 'TeX Gyre Adventor';
  src: url('../../bundles/tahericreatevtdesign/fonts/texgyreadventor-regular.otf') format('otf');
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: 'TeX Gyre Adventor';
  src: url('../../bundles/tahericreatevtdesign/fonts/texgyreadventor-bold.otf') format('otf');
  font-weight: 700;
  font-display: swap;
}

html.vt-theme {
  scroll-behavior: auto !important;
}

html.vt-theme,
html.vt-theme body {
  margin: 0;
  padding: 0;
  background: var(--vt-bg);
  color: var(--vt-dark);
  font-family: var(--vt-font);
  -webkit-font-smoothing: antialiased;
  overscroll-behavior-y: none;
}

html.vt-theme body {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

html.vt-theme body::-webkit-scrollbar { display: none; }

/* custom classes  */
.bg-white{
  background-color: #ffffff;
}

/* system cursor stays visible; the red dot follows as an accent */

.vt-theme a { color: inherit; text-decoration: none; }

.vt-container {
  width: var(--vt-container);
  margin: 0 auto;
}

.vt-label {
  font-size: 0.75rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  opacity: 0.85;
  margin: 0 0 2.5rem;
}

/* ---- page layers (dark + hidden reveal layer) --------------------------- */

.vt-page {
  position: relative;
  overflow: clip;
}

.vt-layer {
  position: relative;
  z-index: 1;
}

.vt-layer--red {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: var(--vt-red);
  color: var(--vt-dark);
  pointer-events: none;
  --size: 0px;
  --x: 50vw;
  --y: 50vh;
  -webkit-mask-image: radial-gradient(circle closest-side, #000 98%, transparent 100%);
  mask-image: radial-gradient(circle closest-side, #000 98%, transparent 100%);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: var(--size) var(--size);
  mask-size: var(--size) var(--size);
  -webkit-mask-position: calc(var(--x) - var(--size) / 2) calc(var(--y) - var(--size) / 2);
  mask-position: calc(var(--x) - var(--size) / 2) calc(var(--y) - var(--size) / 2);
}

.vt-layer--red .vt-hero__bg,
.vt-layer--red .vt-statement__bg,
.vt-layer--red .vt-motto__bg { visibility: hidden; }

.vt-layer--red .vt-hero__fallback { background: none; }

.vt-layer--red strong,
.vt-layer--red .vt-statement__text strong { color: var(--vt-dark); }

/* inside the reveal layer everything is static & fully visible */
.vt-layer--red .vt-masklist__desc { opacity: 1; transform: none; }
.vt-layer--red .vt-mask-ghost { opacity: 1; }
.vt-layer--red .vt-anim-chars .vt-char,
.vt-layer--red .vt-anim-lines,
.vt-layer--red .vt-anim-up { transform: none; opacity: 1; transition: none; }
.vt-layer--red .vt-line-ghost { opacity: 1; }
.vt-layer--red .vt-line-fill { display: none; }

body.vt-is-red .vt-header,
body.vt-is-red .vt-footer { color: var(--vt-dark); }

/* ---- Contao layout hooks --------------------------------------------------
   Standard fe_page markup: #header/#container/#main/#footer stay untouched,
   we only style them. #main acts as the dark layer that gets cloned. */

.vt-theme #wrapper { overflow: clip; }
.vt-theme #container { position: relative; }
.vt-theme #main { position: relative; z-index: 1; }
.vt-theme #main .mod_article { position: static; }

.vt-theme #header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  transition: all 0.3s ease-in-out;
}
.vt-theme .vt-scrolled #header{
  background: #5c788bbf;
  backdrop-filter: blur(14px);
}

.vt-theme #header .inside {
  display: grid;
  grid-template-columns: 10fr auto 1fr;
  align-items: center;
  padding: 3.25rem 2.5rem 1.75rem;
  transition: all 0.3s ease-in-out;
}
.vt-theme .vt-scrolled #header .inside{
  padding: 1.75rem 2.5rem 1.75rem;
}

.vt-theme #header .inside > :first-child { grid-column: 1; }

/* pill behind the whole menu (readability on any background) */
.vt-theme #header .inside .vt-nav,
.vt-theme #header .inside .mod_navigation {
  grid-column: 2;
  background: rgba(242, 240, 234, 0.42);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-radius: 999px;
  padding: 0.85rem 2.2rem;
}

body.vt-is-red .vt-theme #header .inside .mod_navigation,
body.vt-is-red #header .inside .mod_navigation { background: rgba(26, 26, 26, 0.12); }

.vt-theme #footer {
  /* position: fixed;
  z-index: 10;
  inset: auto auto 0 0;
  padding: 0 2.5rem 2rem; */
}

/* ---- header / nav -------------------------------------------------------- */

.vt-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 1.75rem 2.5rem;
  mix-blend-mode: exclusion;
}

.vt-header__logo img {
  /* height: 150px; */
  height: 100px;
  width: auto;
  display: block;
  position: absolute;
  left: 5vw;
  /* top: 5vh; */
  top: 22px;
  transform-origin: top left;
  transition: transform 0.35s cubic-bezier(0.19, 1, 0.22, 1);
}

/* shrink the logo by 30% once the page is scrolled */
body.vt-scrolled .vt-header__logo img { transform: scale(0.6); }

.vt-nav { grid-column: 2; }

.vt-nav__list {
  display: flex;
  /* gap: 3rem; */
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.vt-nav__link {
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  display: block;
}

.vt-nav__inner {
  display: block;
  position: relative;
  overflow: hidden;
  height: 1.2em;
}

.vt-nav__text {
  display: block;
  transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.vt-nav__text--back {
  position: absolute;
  inset: 0;
  transform: translateY(110%);
}

.vt-nav__item:hover .vt-nav__text--front { transform: translateY(-110%); }
.vt-nav__item:hover .vt-nav__text--back { transform: translateY(0); }
.vt-nav__item.is-active .vt-nav__link { opacity: 1; }
.vt-nav__item:not(.is-active) .vt-nav__link { opacity: 0.55; }
.vt-nav__item:hover .vt-nav__link { opacity: 1; }

.vt-nav__item { position: relative; }

/* burger + submenu chevron are mobile-only (injected by JS on every page) */
.vt-burger,
.vt-nav__toggle { display: none; }

/* ---- desktop dropdown (level 2) — only above the mobile breakpoint ---- */
@media (min-width: 901px) {
  .vt-nav__sub {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translate(-50%, 8px);
    padding-top: 1.1rem; /* hover bridge to the pill */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
    z-index: 20;
  }

  .vt-nav__item:hover .vt-nav__sub,
  .vt-nav__item:focus-within .vt-nav__sub {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
  }

  .vt-nav__sub .vt-nav__list {
    flex-direction: column;
    gap: 0;
    min-width: 15rem;
    background: rgba(242, 240, 234, 0.92);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border-radius: 1.4rem;
    padding: 0.9rem 0.6rem;
    box-shadow: 0 18px 40px rgba(13, 13, 13, 0.18);
  }

  .vt-nav__sub .vt-nav__item { white-space: nowrap; }

  .vt-nav__sub .vt-nav__link {
    padding: 0.55rem 1.2rem;
    border-radius: 999px;
    letter-spacing: 0.18em;
    font-size: 0.72rem;
    transition: background 0.25s;
  }
}

.vt-nav__sub .vt-nav__item:hover .vt-nav__link { background: rgba(223, 155, 12, 0.18); }

/* ---- footer -------------------------------------------------------------- */

.vt-footer {
  position: fixed;
  z-index: 10;
  inset: auto auto 0 0;
  padding: 0 2.5rem 2rem;
  mix-blend-mode: exclusion;
}
.footer-bottom{
  display: flex;
  justify-content: space-between;
  /* margin-top: 20px; */
  padding: 10px 35px;
  background: var(--vt-dark);
  color: #ffffff;
}
.footer-bottom .agbs{
  display: flex;
  gap: 15px;
}
.footer-bottom .agbs a:hover{
  color: var(--amber);
}

.vt-socials {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  margin: 0;
  /* padding: 0; */
  position: fixed;
  z-index: 10;
  inset: auto auto 0 0;
  padding: 0 2rem 4rem;
  transition: all 0.5s ease-in-out;
}
.vt-socials.scrolled {
  gap: 0.5rem;
}
.vt-socials.scrolled a svg circle, .vt-socials.scrolled a svg rect, .vt-socials.scrolled a svg path{
  color: var(--amber);
}
.vt-socials.scrolled:hover{
  gap: 1.4rem;
}

.vt-socials__link { display: block; opacity: 0.75; transition: opacity 0.3s, transform 0.3s; }
.vt-socials__link:hover { opacity: 1; transform: translateX(4px); }
.vt-socials__link svg { width: 20px; height: 20px; display: block; fill: currentColor; }
.vt-socials__label { font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; }

/* ---- custom cursor ------------------------------------------------------- */

.vt-cursor {
  position: fixed;
  z-index: 99;
  left: 0;
  top: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--vt-red);
  pointer-events: none;
  transform: translate(calc(var(--x, -100px) - 50%), calc(var(--y, -100px) - 50%)) scale(var(--scale, 1));
  transition: none;
  display: grid;
  place-items: center;
}

.vt-cursor__label {
  font-size: 2.4px; /* scales up via --scale */
  letter-spacing: 0.1em;
  color: var(--vt-dark);
  font-weight: 700;
  opacity: 0;
  text-align: center;
  line-height: 1.3;
  white-space: pre;
}

.vt-cursor.has-label .vt-cursor__label { opacity: 1; }

/* ---- press / hold button -------------------------------------------------- */

.vt-press {
  position: fixed;
  z-index: 11;
  bottom: 5rem;
  left: calc(50% - 39px);
  width: 78px;
  height: 78px;
  background: none;
  border: 0;
  padding: 0;
  display: none;
  -webkit-user-select: none;
  user-select: none;
  touch-action: none;
}

.vt-press__ring {
  position: absolute;
  inset: 0;
  animation: vt-ring 10s linear infinite;
}

.vt-press__ring svg { width: 100%; height: 100%; display: block; }
.vt-press__ring text { fill: var(--vt-dark); font-size: 11px; letter-spacing: 3px; font-family: var(--vt-font); }

.vt-press__hand {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--vt-dark);
}

body.vt-is-red .vt-press__ring text,
body.vt-is-red .vt-press__hand { fill: var(--vt-dark); color: var(--vt-dark); }

@keyframes vt-ring { to { transform: rotate(1turn); } }

html.vt-touch .vt-press { display: block; }

/* narrow viewports always get the press button (parity with the reference) */
@media (max-width: 767px) {
  .vt-press { display: block; }
}

/* ---- preloader ------------------------------------------------------------ */

.vt-loader {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--vt-bg);
  display: grid;
  place-items: center;
  transition: opacity 0.5s ease, visibility 0.5s;
}

.vt-loader.is-done { opacity: 0; visibility: hidden; }

.vt-loader__inner { position: relative; width: 540px; height: 540px; display: grid; place-items: center; }

.vt-loader__circle { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.vt-loader__circle circle {
  fill: none;
  stroke: var(--vt-dark);
  stroke-width: 1;
  stroke-dasharray: 829;
  stroke-dashoffset: var(--po, 829);
}

.vt-loader__logo img { height: 112px; width: auto; }

.vt-loader__percent {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  color: var(--vt-dark);
}

/* ---- effect primitives ----------------------------------------------------- */

/* char intro */
.vt-anim-chars .vt-char {
  display: inline-block;
  transform: translateY(115%);
  opacity: 0;
  transition: transform 0.6s cubic-bezier(0.215, 0.61, 0.355, 1), opacity 0.4s;
  transition-delay: var(--d, 0s);
}

body.vt-entered .vt-anim-chars.in-view .vt-char { transform: translateY(0); opacity: 1; }

.vt-anim-lines {
  opacity: 0;
  transform: translateY(30px);
  transition: transform 0.6s cubic-bezier(0.215, 0.61, 0.355, 1), opacity 0.6s;
}

body.vt-entered .vt-anim-lines.in-view { opacity: 1; transform: translateY(0); }

.vt-anim-up {
  opacity: 0;
  transform: translateY(40px);
  transition: transform 0.7s cubic-bezier(0.215, 0.61, 0.355, 1), opacity 0.7s;
  transition-delay: var(--d, 0s);
}

body.vt-entered .vt-anim-up.in-view { opacity: 1; transform: translateY(0); }

/* scroll fill paragraph: ghost text + clipped bright copy per line */
.vt-scroll-mask { position: relative; }

.vt-line-pair { display: block; position: relative; }
.vt-line-pair .vt-line-ghost { opacity: 0.2; }
.vt-line-pair .vt-line-fill {
  position: absolute;
  inset: 0;
  clip-path: inset(0 var(--size, 100%) 0 0);
  -webkit-clip-path: inset(0 var(--size, 100%) 0 0);
}

/* giant heading wipe */
.vt-mask-heading { position: relative; }
.vt-mask-heading .vt-mask-ghost { opacity: 0.2; }
.vt-mask-heading .vt-mask-fill {
  position: absolute;
  inset: 0;
  clip-path: inset(0 var(--size, 100%) 0 0);
  -webkit-clip-path: inset(0 var(--size, 100%) 0 0);
}

/* parallax carrier */
[data-vt-parallax] { will-change: transform; transform: translateY(var(--offset, 0)); }

/* ---- sections --------------------------------------------------------------- */

/* hero */
.vt-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: clip;
}

.vt-hero__bg { position: absolute; inset: -20% 0; z-index: 0; }
.vt-hero__bg video, .vt-hero__bg img { width: 100%; height: 100%; object-fit: cover; }

.vt-hero__fallback {
  width: 100%;
  height: 100%;
  background: linear-gradient(160deg, #57748c 0%, #7b93a7 45%, #46617a 100%);
}

.vt-hero__content { position: relative; z-index: 1; text-align: center; padding: 5rem 2rem 18vh; }

.vt-hero__subtitle {
  font-size: 0.85rem;
  letter-spacing: 0.55em;
  text-transform: uppercase;
  margin: 0 0 1.5rem;
}

.vt-hero__heading {
  font-size: clamp(2.4rem, 5vw, 5rem);
  line-height: 0.98;
  margin: 0;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--vt-dark);
}

.vt-hero__line {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  /* keep room for descenders (j, g, p) inside the clip area */
  padding-bottom: 0.14em;
  margin-bottom: -0.14em;
}

/* Contao skip link */
.vt-theme a.invisible { position: absolute; left: -9999px; }
.vt-hero__line strong, .vt-hero__heading strong { color: #ffffff; font-weight: 700; }

.vt-layer--red .vt-hero__heading, .vt-layer--red .vt-hero__line strong { color: var(--vt-dark); }

/* statement */
.vt-statement { position: relative; padding: 22vh 0; overflow: clip; }
.vt-statement--has-bg { padding: 30vh 0; }

.vt-statement__bg { position: absolute; inset: -20% 0; z-index: 0; }
.vt-statement__bg img, .vt-statement__bg video { width: 100%; height: 100%; object-fit: cover; opacity: 0.55; }

.vt-statement__inner { position: relative; z-index: 1; max-width: 62rem; margin: 0 auto; }

.vt-statement__text {
  font-size: clamp(1.8rem, 4.2vw, 3.6rem);
  line-height: 1.15;
  font-weight: 700;
}

.vt-statement__text strong { color: var(--vt-red); }

/* mask list */
.vt-masklist { padding: 14vh 0; }

.vt-masklist__row {
  position: relative;
  display: flex;
  align-items: center;
  gap: 4rem;
  padding: 0.6rem 0;
  border-top: 1px solid rgba(26, 26, 26, 0.15);
}

.vt-masklist__row:last-child { border-bottom: 1px solid rgba(26, 26, 26, 0.15); }

.vt-masklist__title {
  font-size: clamp(3rem, 8vw, 7.5rem);
  line-height: 1.02;
  margin: 0;
  text-transform: uppercase;
  font-weight: 700;
  white-space: nowrap;
}

.vt-masklist__desc {
  max-width: 22rem;
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0;
  opacity: 0;
  transform: translateX(-12px);
  transition: opacity 0.45s, transform 0.45s;
}

/* hover state: red band + dark title + description */
.vt-masklist__row::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--vt-red);
  transform: scaleY(0);
  transform-origin: center;
  transition: transform 0.45s cubic-bezier(0.19, 1, 0.22, 1);
  z-index: 0;
}

.vt-masklist__row:hover::before { transform: scaleY(1); }
.vt-masklist__row > * { position: relative; z-index: 1; }
.vt-masklist__row:hover .vt-masklist__title { color: var(--vt-dark); }
.vt-masklist__row:hover .vt-masklist__title .vt-mask-ghost { opacity: 1; }
.vt-masklist__row:hover .vt-masklist__desc { opacity: 1; transform: translateX(0); color: var(--vt-dark); }

/* history */
.vt-history { padding: 14vh 0; }

.vt-history__row {
  display: grid;
  grid-template-columns: 8rem 1fr;
  gap: 2rem;
  padding: 1.6rem 0;
  border-top: 1px solid rgba(26, 26, 26, 0.15);
}

.vt-history__year { font-size: 1.6rem; font-weight: 700; text-transform: uppercase; }
.vt-history__title { font-size: 1.6rem; font-weight: 700; margin: 0 0 0.3rem; }
.vt-history__company { font-size: 0.95rem; opacity: 0.7; margin: 0; }
.vt-history__title.is-swapped { color: var(--vt-red); }

/* showreel */
.vt-showreel { padding: 10vh 0; }

.vt-showreel__player {
  position: relative;
  width: min(92vw, 1500px);
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  overflow: clip;
  transform: scale(var(--vscale, 0.72));
  transition: transform 0.2s linear;
}

.vt-showreel__video { width: 100%; height: 100%; object-fit: cover; display: block; }
.vt-showreel__fallback { background: linear-gradient(135deg, #1d1d1d, #3a3a3a); }

.vt-showreel__play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 88px;
  height: 88px;
  display: grid;
  place-items: center;
  background: rgba(13, 13, 13, 0.55);
  color: var(--vt-dark);
  border: 0;
  border-radius: 50%;
}

html.vt-has-cursor .vt-showreel__play { display: none; }

/* testimonials */
.vt-testimonials { padding: 14vh 0; }

.vt-testimonials__head { display: flex; justify-content: space-between; align-items: flex-start; }

.vt-testimonials__thumbs { display: flex; gap: 0.6rem; }

.vt-testimonials__thumb {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid transparent;
  padding: 0;
  background: none;
  opacity: 0.45;
  transition: opacity 0.3s, border-color 0.3s;
}

.vt-testimonials__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vt-testimonials__thumb.is-active { opacity: 1; border-color: var(--vt-dark); }

.vt-testimonials__list { position: relative; min-height: 16rem; }

.vt-testimonial {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(24px);
  transition: opacity 0.5s, transform 0.5s, visibility 0.5s;
}

.vt-testimonial.is-active { position: relative; opacity: 1; visibility: visible; transform: translateY(0); }

.vt-testimonial__quote {
  font-size: clamp(1.8rem, 4vw, 3.4rem);
  line-height: 1.12;
  font-weight: 700;
  margin: 0 0 2.5rem;
}

.vt-testimonial__mark { color: var(--vt-red); }
.vt-testimonial__name { font-weight: 700; margin: 0 0 0.2rem; }
.vt-testimonial__position, .vt-testimonial__company { font-size: 0.85rem; opacity: 0.7; margin: 0; }

/* motto */
.vt-motto {
  position: relative;
  min-height: 92vh;
  display: grid;
  place-items: center;
  overflow: clip;
  text-align: center;
}

.vt-motto__bg { position: absolute; inset: -20% 0; }
.vt-motto__bg img, .vt-motto__bg video { width: 100%; height: 100%; object-fit: cover; opacity: 0.6; }

.vt-motto__content { position: relative; z-index: 1; padding: 2rem; }
.vt-motto__label { font-size: 0.8rem; letter-spacing: 0.4em; text-transform: uppercase; margin: 0 0 1.2rem; }

.vt-motto__heading {
  font-size: clamp(3rem, 8vw, 7.5rem);
  line-height: 0.98;
  font-weight: 700;
  margin: 0 0 1.6rem;
  text-transform: none;
}

.vt-motto__line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.14em;
  margin-bottom: -0.14em;
}
.vt-motto__author { font-size: 0.95rem; opacity: 0.8; margin: 0; }

/* connect */
.vt-connect { padding: 14vh 0 22vh; }

.vt-connect__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.vt-connect__links { list-style: none; margin: 0; padding: 0; }
.vt-connect__item { padding: 0.35rem 0; }

.vt-connect__link {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  display: inline-block;
  position: relative;
}

.vt-connect__link.is-swapped { color: var(--vt-red); }

.vt-connect__block { margin-bottom: 2rem; }
.vt-connect__type { display: block; font-size: 1.3rem; font-weight: 700; margin-bottom: 0.3rem; }
.vt-connect__type.is-swapped { color: var(--vt-red); }
.vt-connect__value { font-size: 0.95rem; opacity: 0.75; }

.mod_login form, .mod_lostPasswordNotificationCenter form, .mod_registrationNotificationCenter form{
  box-shadow: 0 4px 24px rgba(28, 25, 23, 0.06);
  max-width: 480px;
  margin: 5rem auto;
  padding: 2.5rem;
  background: var(--white);
  border: 1.5px solid var(--s2);
  border-radius: 10px;
}


/* ---- responsive ------------------------------------------------------------- */

@media (max-width: 1199px) {
  .vt-masklist__desc { display: none; }
  .vt-masklist__row:hover .vt-masklist__desc { display: none; }
}

@media (max-width: 900px) {
  .vt-theme #header .inside { padding: 1.4rem 1.4rem; grid-template-columns: 1fr auto; }
  .vt-header__logo img { height: 74px; left: 1.4rem; top: 1.4rem; }
  .vt-footer { padding: 0 1.4rem 1.2rem; }

  /* burger button */
  .vt-burger {
    grid-column: 2;
    justify-self: end;
    z-index: 30;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 50%;
    background: rgba(242, 240, 234, 0.55);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 0;
    cursor: pointer;
  }
  .vt-burger span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--vt-dark);
    transition: transform 0.3s, opacity 0.3s;
  }
  body.vt-nav-open .vt-burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  body.vt-nav-open .vt-burger span:nth-child(2) { opacity: 0; }
  body.vt-nav-open .vt-burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

  /* nav becomes fullscreen overlay */
  .vt-theme #header .inside .mod_navigation,
  .vt-theme #header .inside .vt-nav {
    position: fixed;
    inset: 0;
    grid-column: 1 / -1;
    background: var(--vt-bg);
    border-radius: 0;
    padding: 8rem 2rem 3rem;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    overflow-y: auto;
    z-index: 25;
    /* liquid-ish reveal: circle grows from the burger corner (top right) */
    clip-path: circle(0% at calc(100% - 3rem) 3rem);
    -webkit-clip-path: circle(0% at calc(100% - 3rem) 3rem);
    visibility: hidden;
    transition: clip-path 0.6s cubic-bezier(0.65, 0, 0.35, 1), -webkit-clip-path 0.6s cubic-bezier(0.65, 0, 0.35, 1), visibility 0.6s;
  }
  .vt-theme #header .inside .mod_navigation.vt-nav-visible,
  .vt-theme #header .inside .vt-nav.vt-nav-visible {
    clip-path: circle(150% at calc(100% - 3rem) 3rem);
    -webkit-clip-path: circle(150% at calc(100% - 3rem) 3rem);
    visibility: visible;
    height: 100vh;
  }
  .vt-theme .vt-scrolled #header .inside{
    padding: 1.2rem 1.5rem 1.2rem;
  }
  body.vt-scrolled .vt-header__logo img{
    transform: scale(0.65);
  }
  .vt-nav__list {
    flex-direction: column;
    align-items: center;
    gap: 1.4rem;
    width: 100%;
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.4s ease 0.3s, transform 0.5s cubic-bezier(0.19, 1, 0.22, 1) 0.3s;
  }
  .vt-nav-visible > .vt-nav__list { opacity: 1; transform: translateY(0); }

  /* every item (incl. the one with a submenu) stays centered */
  .vt-nav__item { display: flex; flex-direction: column; align-items: center; width: 100%; text-align: center; }
  .vt-nav__link { font-size: 1.5rem; letter-spacing: 0.15em; }

  /* hide the floating press button + social rail while the menu covers the screen */
  body.vt-nav-open .vt-press,
  body.vt-nav-open #footer,
  body.vt-nav-open .vt-footer { opacity: 0; visibility: hidden; pointer-events: none; }

  /* parent row: link (navigates) + separate chevron button (toggles submenu) */
  .vt-nav__parentrow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
  }

  .vt-nav__toggle {
    width: 2.2rem;
    height: 2.2rem;
    border: 0;
    background: rgba(26, 26, 26, 0.06);
    border-radius: 50%;
    display: grid;
    place-items: center;
    padding: 0;
    cursor: pointer;
  }
  .vt-nav__chevron {
    display: block;
    width: 0.55em;
    height: 0.55em;
    border-right: 2px solid var(--vt-dark);
    border-bottom: 2px solid var(--vt-dark);
    transform: translateY(-0.12em) rotate(45deg);
    transition: transform 0.3s ease;
    font-size: 1rem;
  }
  .vt-nav__item.has-sub.is-open .vt-nav__chevron {
    transform: translateY(0.1em) rotate(-135deg);
  }

  .vt-nav__sub {
    position: static;
    transform: none;
    visibility: visible;
    width: 100%;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    padding-top: 0;
    transition: max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.35s ease, padding-top 0.3s;
  }
  .vt-nav__item.is-open > .vt-nav__sub {
    max-height: 32rem;
    opacity: 1;
    padding-top: 1rem;
  }
  .vt-nav__sub .vt-nav__list {
    background: none;
    box-shadow: none;
    padding: 0;
    gap: 0.7rem;
    opacity: 1;              /* the base .vt-nav__list opacity:0 must not hide the submenu */
    transform: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  .vt-nav__sub .vt-nav__link { font-size: 0.95rem; opacity: 0.7; }
}

/* legacy narrow tweaks */
@media (max-width: 767px) {

  .vt-hero__heading { font-size: clamp(3rem, 16vw, 5rem); }
  .vt-statement { padding: 16vh 0; }
  .vt-statement__text { font-size: clamp(1.5rem, 7.4vw, 2.2rem); }
  .vt-masklist__title { font-size: clamp(2.6rem, 13vw, 4rem); white-space: normal; }
  .vt-masklist__row { gap: 1rem; }
  .vt-history__row { grid-template-columns: 5rem 1fr; gap: 1rem; }
  .vt-history__year, .vt-history__title { font-size: 1.15rem; }
  .vt-connect__grid { grid-template-columns: 1fr; gap: 2rem; }
  .vt-showreel__player { transform: none; }

  /* mobile frame vignette like the reference */
  .vt-frame::before, .vt-frame::after {
    content: '';
    position: fixed;
    left: 0;
    width: 100%;
    z-index: 4;
    pointer-events: none;
  }
  .vt-frame::after{
    content: none;
  }
  .vt-socials.scrolled{
    opacity: 0;
  }
  .vt-socials{
    opacity: 1;
    padding: 0 1rem 5rem;
  }
  .footer-bottom{
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  .footer-bottom{
    padding: 10px 20px;
  }
  .vt-frame::before { top: 0; height: 7rem; background: linear-gradient(180deg, rgba(242, 240, 234, 0.9) 0%, rgba(242, 240, 234, 0) 100%); }
  .vt-frame::after { bottom: 0; height: 9rem; background: linear-gradient(0deg, rgba(242, 240, 234, 0.95) 31%, rgba(242, 240, 234, 0) 93%); }
}
@media (max-width: 600px){
  .vt-loader__inner{
    width: 90%;
    max-width: 90%;
  }
}

/* reduce motion */
@media (prefers-reduced-motion: reduce) {
  .vt-anim-chars .vt-char, .vt-anim-lines, .vt-anim-up { transition: none; transform: none; opacity: 1; }
}

.vt-goo-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ---- opt-in dark sections (set "vt-dark-section" as CSS class on any element) ---- */

.vt-dark-section {
  background: #000;
  color: var(--vt-bg);
}

.vt-dark-section .vt-history__row,
.vt-dark-section .vt-masklist__row { border-top-color: rgba(242, 240, 234, 0.16); }
.vt-dark-section .vt-masklist__row:last-child { border-bottom-color: rgba(242, 240, 234, 0.16); }

/* inside the gold reveal layer a dark section must not paint black */
.vt-layer--red .vt-dark-section {
  background: transparent;
  color: var(--vt-dark);
}

/* ---- page transition (gold wipe between pages) ---- */

.vt-transition {
  position: fixed;
  inset: 0;
  z-index: 998;
  background: var(--vt-red);
  transform: translateY(100%);
  pointer-events: none;
}

.vt-transition.is-in {
  transition: transform 0.45s cubic-bezier(0.76, 0, 0.24, 1);
  transform: translateY(0);
}

.vt-transition.is-out {
  transform: translateY(0);
  animation: vt-wipe-out 0.6s cubic-bezier(0.76, 0, 0.24, 1) 0.1s forwards;
}

@keyframes vt-wipe-out {
  to { transform: translateY(-100%); }
}

/* ---- shop: mini cart in header ---- */

.vt-theme #header .inside .mod_tc_mini_cart,
.vt-theme #header .inside > .tc-mini-cart {
  grid-column: 3;
  justify-self: start;
  margin-left: 1.5rem;
}

.tc-mini-cart-link {
  position: relative;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(242, 240, 234, 0.42);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  color: var(--vt-dark);
  transition: transform 0.25s ease;
}

.tc-mini-cart-link:hover { transform: scale(1.08); }

.tc-mini-cart-badge {
  position: absolute;
  top: -3px;
  right: -3px;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--vt-red);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  display: grid;
  place-items: center;
}

@media (max-width: 900px) {
  .vt-theme #header .inside { grid-template-columns: 1fr auto auto; gap: 0.7rem; }
  .vt-theme #header .inside .mod_tc_mini_cart { grid-column: 2; }
  .vt-burger { grid-column: 3; }
}

/* ---- shop: generic surfaces (cart, checkout, products) ---- */

.tc-shop,
.mod_tc_cart, .mod_tc_checkout_summary, .mod_tc_billing_address,
.mod_tc_order_success, .mod_tc_member_dashboard, .mod_login,
.ce_tc_product_list, .mod_tc_product_reader {
  width: var(--vt-container);
  max-width: 68rem;
  margin: 0 auto;
  padding: 13rem 0 16vh;
}

.ce_tc_product_list .tc-shop,
.ce_tc_product_list { max-width: none; padding-top: 4rem; }
.ce_tc_product_list .tc-shop { padding: 0; width: 100%; }

.mod_tc_cart table, .mod_tc_checkout_summary table {
  width: 100%;
  border-collapse: collapse;
}

.mod_tc_cart th, .mod_tc_cart td,
.mod_tc_checkout_summary th, .mod_tc_checkout_summary td {
  padding: 1rem 0.6rem;
  text-align: left;
  border-bottom: 1px solid rgba(26, 26, 26, 0.12);
}

.vt-theme .mod_tc_cart .submit, .vt-theme .mod_tc_checkout_summary .submit,
.vt-theme .mod_tc_billing_address .submit, .vt-theme .mod_login .submit,
.vt-theme .tc-btn, .vt-theme .tc-add-to-cart {
  display: inline-block;
  border: 0;
  background: var(--vt-dark);
  color: var(--vt-bg);
  font-family: var(--vt-font);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.95rem 2.2rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease;
}

.vt-theme .mod_tc_cart .submit:hover, .vt-theme .tc-btn:hover,
.vt-theme .tc-add-to-cart:hover { background: var(--vt-red); transform: translateY(-2px); }

.vt-theme .mod_login input.text, .vt-theme .mod_tc_billing_address input.text,
.vt-theme .mod_tc_billing_address select {
  width: 100%;
  border: 1px solid rgba(26, 26, 26, 0.25);
  background: #fff;
  border-radius: 0.8rem;
  padding: 0.85rem 1rem;
  font-family: var(--vt-font);
  margin-bottom: 1rem;
}

/* ---- compact hero (shop/cart/checkout): half height, video stays ---- */

.vt-hero--compact .vt-hero,
.content-vt-hero.vt-hero--compact .vt-hero {
  min-height: 50vh;
  min-height: 50svh;
}

.vt-hero--compact .vt-hero__content { padding: 6rem 2rem 6vh; }
.vt-hero--compact .vt-hero__heading { font-size: clamp(2rem, 3.6vw, 3.6rem); }
.vt-hero--compact .vt-hero__subtitle { margin-bottom: 1rem; }

/* module pages get their spacing from the compact hero above them */
.tc-shop,
.mod_tc_cart, .mod_tc_checkout_summary, .mod_tc_billing_address,
.mod_tc_order_success, .mod_tc_member_dashboard, .mod_login {
  padding-top: 4rem;
}

/* ---- topseller teaser: a product list with its own headline (e.g. home) ---- */

.vt-layer .tc-shop:has(> h2) {
  padding: 12vh 0;
  max-width: none;
  width: var(--vt-container);
}

.vt-layer .tc-shop > h2 {
  margin: 0 0 3rem;
  font-size: clamp(2rem, 4.4vw, 3.6rem);
  font-weight: 700;
}

/* hide the search/filter bar inside the teaser (belongs on the shop page) */
.vt-layer .tc-shop:has(> h2) .tc-product-search { display: none; }

/* the bundle outputs bootstrap grid classes without shipping bootstrap:
   recreate the row/col behaviour */
.vt-layer .tc-shop .row {
  display: grid;
  gap: 2rem;
  align-items: stretch;
}

/* product card listings (row-cols-*): 3 columns */
.vt-layer .tc-shop .row[class*="row-cols"] {
  grid-template-columns: repeat(3, 1fr);
}

/* product description header: text 2/3, info box 1/3 */
.vt-layer .tc-shop .row:has(> .col-lg-7) {
  grid-template-columns: 2fr 1fr;
  align-items: start;
}

/* the packages are right below — hide the redundant jump buttons
   (plain links pointing at the reader page itself) */
.vt-layer .tc-shop .row:has(> .col-lg-7) .tc-btn,
.vt-layer .tc-shop .row:has(> .col-lg-7) a[href$="/produkt"],
.vt-layer .tc-shop .row:has(> .col-lg-7) a[href*="#"] { display: none !important; }

.vt-layer .tc-shop .row > .col { min-width: 0; }

.vt-layer .tc-shop .row .tc-pcard {
  display: flex;
  flex-direction: column;
  height: 100%;
  margin: 0;
}

.vt-layer .tc-shop .row .tc-pcard__foot { margin-top: auto; }

@media (max-width: 1100px) {
  .vt-layer .tc-shop .row { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .vt-layer .tc-shop .row { grid-template-columns: 1fr; }
}

/* ── Back to top — Fuel Rocket ───────────────────────────── */
.v4b-btt {
    position: fixed;
    bottom: 4rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    border: none;
    background: var(--vt-dark);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    transform: translateY(16px) scale(0.8);
    transition: opacity 0.35s var(--ease), transform 0.35s var(--spring), box-shadow 0.25s var(--ease);
    pointer-events: none;
    outline: none;
    box-shadow: 0 4px 20px rgba(0,0,0,0.35);
}

.v4b-btt.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.v4b-btt:hover {
    transform: translateY(-3px) scale(1.06);
    box-shadow: 0 0 0 6px rgba(244,124,0,0.15), 0 10px 30px rgba(0,0,0,0.4);
}

.v4b-btt:active {
    transform: scale(0.93);
}

.v4b-btt:focus-visible {
    box-shadow: 0 0 0 3px var(--o);
}

.v4b-btt__ring {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
    pointer-events: none;
}

.v4b-btt__ring-track {
    stroke: rgba(255,255,255,0.07);
    stroke-width: 2.5;
    fill: none;
}

.v4b-btt__ring-fill {
    stroke: var(--vt-red);
    stroke-width: 2.5;
    fill: none;
    stroke-linecap: round;
    stroke-dasharray: 163.36;
    stroke-dashoffset: 163.36;
    transition: stroke-dashoffset 0.08s linear;
    filter: drop-shadow(0 0 2px rgba(244,124,0,0.7));
}

@keyframes v4b-launch {
    0% {
        transform: translateX(-2px);
        opacity: 1;
    }

    6% {
        transform: translateX( 2px);
        opacity: 1;
    }

    12% {
        transform: translateX(-2px);
        opacity: 1;
    }

    18% {
        transform: translateX(0) translateY(-8px) scale(1.08);
        opacity: 1;
    }

    100% {
        transform: translateX(0) translateY(-200px) scale(0.2);
        opacity: 0;
    }
}

@keyframes v4b-blast {
    0% {
        transform: translateX(-50%) scale(0.4);
        opacity: 1;
    }

    100% {
        transform: translateX(-50%) scale(4.5);
        opacity: 0;
    }
}

.v4b-btt--fuel {
    overflow: visible;
}

.v4b-btt--fuel.v4b-btt--launching {
    animation: v4b-launch 0.85s cubic-bezier(0.45, 0, 0.7, 0.3) forwards;
    pointer-events: none;
}

.v4b-btt--fuel::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    width: 56px;
    height: 18px;
    border-radius: 50%;
    background: radial-gradient(ellipse, rgba(244,124,0,0.6) 0%, transparent 70%);
    transform: translateX(-50%) scale(0);
    opacity: 0;
    pointer-events: none;
}

.v4b-btt--fuel.v4b-btt--launching::after {
    animation: v4b-blast 0.5s ease-out 0.15s forwards;
}
.v4b-btt--no-transition {
    transition: none !important;
}

/* Shop */
.vt-shop, .vt-docs-index, .vt-docs-layout{
  min-height: 50vh;
}

/* ---- shop bundle color override: map teal/orange/amber onto the gold accent ---- */

html.vt-theme {
  --teal:    #df9b0c;
  --teald:   #b57f09;
  --tealmid: #f3d38a;
  --teallt:  #fbf3df;
  --o:       #df9b0c;
  --od:      #b57f09;
  --omid:    #f3d38a;
  --olt:     #fbf3df;
  --amber:   #df9b0c;
  --amberd:  #b57f09;
  --amberlt: #fbf3df;
}


