﻿/* ── Codi Customs — Design Tokens ── */
:root {
  /* Background */
  --bg-base:        #000000;
  --bg-surface:     #080808;
  --bg-elevated:    #111111;

  /* Borders */
  --border-subtle:  #0f0f0f;
  --border-default: #141414;
  --border-strong:  #222222;

  /* Text */
  --text-primary:   #ffffff;
  --text-secondary: #D4D4D4;
  --text-muted:     #C8C8C8;
  --text-faint:     #999999;
  --text-dim:       #888888;

  /* Accent (Purple) */
  --accent:         #c840ff;
  --accent-bright:  #cc00ff;
  --accent-soft:    #cc44ff;
  --accent-glow:    rgba(204, 68, 255, 0.5);

  /* Status */
  --badge-new-bg:   #cc00ff;
  --badge-new-text: #ffffff;

  /* Font Families */
  --font-body:      'Roboto', sans-serif;
  --font-heading:   'Space Grotesk', sans-serif;
  --font-display:   'Barlow Condensed', sans-serif;
  --font-mono:      'Space Mono', monospace;

  /* Font Sizes */
  --text-xs:   13px;
  --text-sm:   15px;
  --text-base: 16px;
  --text-md:   17px;
  --text-lg:   19px;
  --text-xl:   22px;

  /* Spacing */
  --nav-height: 64px;
}

/* ── Reset ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
body { background: #141414; color: var(--text-primary); font-family: var(--font-body); font-weight: 300; line-height: 1.7; }
h1,h2,h3,h4 { font-family: var(--font-heading); font-weight: 700; letter-spacing: -0.04em; line-height: 1.1; color: #fff; }
a { text-decoration: none; }
::selection { background: var(--accent-bright); color: #fff; }

/* ── Page Loader ── */
body.is-loading { overflow: hidden; }
.loader-overlay {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-base);
  transition: opacity 0.6s ease;
}
.loader-overlay.is-hidden { opacity: 0; pointer-events: none; }
.loader { position: relative; width: 56px; aspect-ratio: 1; }
.loader span {
  position: absolute; inset: 0 30px 30px 0;
  border-radius: 42px;
  box-shadow: inset 0 0 0 3px var(--accent-bright);
  animation: loaderAnim 2.5s infinite;
}
.loader span:last-child { animation-delay: -1.25s; }
@keyframes loaderAnim {
  0%    { inset: 0 30px 30px 0; }
  12.5% { inset: 0 30px 0 0; }
  25%   { inset: 30px 30px 0 0; }
  37.5% { inset: 30px 0 0 0; }
  50%   { inset: 30px 0 0 30px; }
  62.5% { inset: 0 0 0 30px; }
  75%   { inset: 0 0 30px 30px; }
  87.5% { inset: 0 0 30px 0; }
  100%  { inset: 0 30px 30px 0; }
}

/* ── Scrollbars ── */
* { scrollbar-width: thin; scrollbar-color: #999 transparent; }
*::-webkit-scrollbar { width: 8px; height: 8px; }
*::-webkit-scrollbar-track { background: transparent; }
*::-webkit-scrollbar-thumb { background-color: #999; border-radius: 999px; border: 2px solid transparent; background-clip: content-box; }
*::-webkit-scrollbar-thumb:hover { background-color: #bbb; }

/* ── Nav ── */
@property --glow-angle { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
@keyframes navGlowRotate { to { --glow-angle: 360deg; } }

.nav-wrap { position: fixed; top: 0; left: 0; right: 0; z-index: 200; display: flex; justify-content: center; padding: 0; transition: padding 0.4s ease; pointer-events: none; overflow: visible; }
.nav-wrap.scrolled { padding: 12px 20px; }
.nav-stack { width: 100%; display: flex; flex-direction: column; align-items: stretch; }
nav { width: 100%; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 10px 40px; height: 90px; overflow: visible; background: rgba(0,0,0,0.88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid #0f0f0f; transition: all 0.4s ease; pointer-events: auto; }
nav.scrolled { background: linear-gradient(rgba(5,5,5,0.9),rgba(5,5,5,0.9)) padding-box, conic-gradient(from var(--glow-angle),rgba(255,255,255,0.04) 0%,rgba(255,255,255,0.12) 50%,rgba(255,255,255,0.04) 100%) border-box; border: 1px solid transparent; border-radius: 14px; backdrop-filter: blur(20px); box-shadow: 0 4px 32px rgba(0,0,0,0.6); padding: 12px 32px; animation: navGlowRotate 3s linear infinite; }
nav:not(.scrolled) { animation: none; }
.nav-left { display: flex; align-items: center; }
.logo { display: flex; justify-content: center; min-width: 180px; }
.nav-right { display: flex; align-items: center; gap: 20px; justify-content: flex-end; }
.nav-links { display: flex; gap: 36px; list-style: none; align-items: center; }
.nav-links a { color: #ccc; font-family: var(--font-body); font-size: 14px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; transition: color 0.2s, text-shadow 0.2s; position: relative; }
.nav-links a::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 1px; background: var(--accent-soft); transition: width 0.25s ease; }
.nav-links a:hover, .nav-links a.active { color: var(--accent-soft); text-shadow: 0 0 10px var(--accent-glow); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links li { display: flex; align-items: center; }
.nav-links .has-dropdown { position: relative; }
.nav-links .has-dropdown > a { display: flex; align-items: center; gap: 6px; }
.nav-links .has-dropdown > a::after { display: none; }
.nav-kontakt-link { color: #ccc; font-family: var(--font-body); font-size: 14px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; transition: color 0.2s, text-shadow 0.2s; white-space: nowrap; }
.nav-kontakt-link:hover { color: var(--accent-soft); text-shadow: 0 0 10px var(--accent-glow); }
.chevron { display: inline-flex; align-items: center; transition: transform 0.25s ease; transform: rotate(180deg); }
.has-dropdown:hover .chevron { transform: rotate(0deg); }
.dropdown { position: absolute; top: 100%; left: 0; padding-top: 40px; min-width: 140px; opacity: 0; pointer-events: none; transform: translateY(-6px); transition: opacity 0.2s, transform 0.2s; z-index: 100; }
.dropdown::before { content: ''; position: absolute; top: 40px; left: 0; right: 0; bottom: 0; background: #1c1c1e; border: 1px solid #333; border-radius: 4px; z-index: -1; }
.has-dropdown:hover .dropdown { opacity: 1; pointer-events: auto; transform: translateY(0); }
.dropdown-item { display: flex; align-items: center; justify-content: space-between; padding: 10px 16px; font-size: 14px; letter-spacing: 1.5px; color: #fff; border-bottom: 1px solid #1a1a1a; transition: color 0.2s, background 0.2s; cursor: default; position: relative; white-space: nowrap; }
.dropdown-item:last-child { border-bottom: none; }
.dropdown > a { display: block; padding: 10px 16px; font-size: 14px; letter-spacing: 1.5px; color: #fff; border-bottom: 1px solid #1a1a1a; transition: color 0.2s, background 0.2s; white-space: nowrap; position: relative; z-index: 1; }
.dropdown > a:last-child { border-bottom: none; }
.dropdown > a:hover { color: #cc44ff; background: #111; }
.dropdown-item:hover { color: #fff; background: #111; }
.dropdown-item .sub-arrow { font-size: 10px; color: #555; margin-left: 10px; }
.has-subdropdown { position: relative; }
.subdropdown { position: absolute; left: 100%; top: 0; min-width: 140px; opacity: 0; pointer-events: none; transition: opacity 0.2s; z-index: 101; padding-left: 6px; }
.subdropdown::before { content: ''; position: absolute; top: 0; left: 6px; right: 0; bottom: 0; background: #1c1c1e; border: 1px solid #333; border-radius: 4px; z-index: -1; }
.subdropdown a { display: block; padding: 10px 16px; font-size: 14px; letter-spacing: 1.5px; color: #fff; border-bottom: 1px solid #1a1a1a; transition: color 0.2s, background 0.2s; white-space: nowrap; }
.subdropdown a:last-child { border-bottom: none; }
.subdropdown a:hover { color: var(--accent-soft); background: #111; }
.has-subdropdown:hover .subdropdown { opacity: 1; pointer-events: auto; }
.nav-icon { color: #ccc; cursor: pointer; transition: color 0.2s, filter 0.2s; }
.nav-icon:hover { color: var(--accent-soft); filter: drop-shadow(0 0 6px var(--accent-glow)); }
.search-wrap { position: relative; cursor: pointer; display: flex; align-items: center; }
.account-wrap { position: relative; cursor: pointer; display: flex; align-items: center; }
.cart-wrap { position: relative; cursor: pointer; display: flex; }
.cart-badge { position: absolute; top: -6px; right: -7px; background: var(--accent-bright); color: #fff; font-size: 10px; font-weight: 700; width: 17px; height: 17px; border-radius: 50%; display: none; align-items: center; justify-content: center; }
.cart-badge.visible { display: flex; }
.currency-select { background: transparent; border: 1px solid #333; color: #ccc; font-size: 14px; padding: 4px 8px; border-radius: 4px; cursor: pointer; outline: none; transition: border-color 0.2s; }
.currency-select:hover { border-color: var(--accent-soft); }
.currency-select option { background: #111; }
.mobile-menu-btn { display: none; background: none; border: 1px solid #333; color: #ccc; cursor: pointer; padding: 6px; border-radius: 8px; transition: all 0.2s; align-items: center; justify-content: center; width: 44px; height: 44px; }
.mobile-menu-btn:hover { border-color: var(--accent-soft); color: var(--accent-soft); }

/* ── Search Panel ── */
.search-panel { width: 100%; max-height: 0; overflow: hidden; pointer-events: none; background: rgba(5,5,5,0.94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid #0f0f0f; transition: max-height 0.7s cubic-bezier(0.16,1,0.3,1); }
.nav-wrap.search-open .search-panel { max-height: 560px; pointer-events: auto; overflow-y: auto; }
.nav-wrap.scrolled .search-panel { border-radius: 0 0 14px 14px; }
.search-panel-inner { padding: 24px 40px 28px; opacity: 0; transform: translateY(-10px); transition: opacity 0.4s ease, transform 0.5s cubic-bezier(0.16,1,0.3,1); }
.nav-wrap.search-open .search-panel-inner { opacity: 1; transform: translateY(0); transition-delay: 0.1s; }
.search-input-row { display: flex; align-items: center; gap: 14px; border-bottom: 1px solid #262626; padding-bottom: 14px; color: #fff; }
.search-input { flex: 1; background: none; border: none; outline: none; color: #fff; font-family: var(--font-body); font-size: 17px; letter-spacing: 0.3px; }
.search-input::placeholder { color: rgba(255,255,255,0.6); text-transform: uppercase; letter-spacing: 1px; font-size: 14px; }
.search-close { background: none; border: none; color: #fff; cursor: pointer; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; transition: color 0.2s; }
.search-close:hover { color: var(--accent-soft); }
.search-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.search-chip { border: 1px solid rgba(255,255,255,0.3); color: #fff; font-size: 13px; letter-spacing: 0.5px; padding: 8px 16px; border-radius: 999px; transition: border-color 0.2s, color 0.2s; }
.search-chip:hover { border-color: var(--accent-soft); color: var(--accent-soft); }
.search-results { display: flex; gap: 20px; margin-top: 24px; overflow-x: auto; padding-bottom: 6px; }
.search-result-item { display: flex; flex-direction: column; align-items: flex-start; width: 220px; flex-shrink: 0; border-radius: 8px; transition: opacity 0.2s; }
.search-result-item:hover { opacity: 0.8; }
.search-result-img { width: 220px; height: 220px; flex-shrink: 0; background: #0d0d0d; border: 1px solid var(--border-default); overflow: hidden; display: flex; align-items: center; justify-content: center; }
.search-result-img img { width: 100%; height: 100%; object-fit: cover; }
.search-result-info { display: flex; flex-direction: column; gap: 4px; min-width: 0; margin-top: 10px; width: 100%; }
.search-result-name { color: #fff; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; width: 100%; }
.search-result-price { color: var(--accent-soft); font-size: 13px; font-weight: 600; }
@media (max-width: 600px) {
  .search-result-item { width: 120px; }
  .search-result-img { width: 120px; height: 120px; }
}
.search-empty { color: #fff; font-size: 13px; letter-spacing: 0.5px; padding: 10px 6px; }
@media (max-width: 600px) {
  .search-panel-inner { padding: 18px 20px 20px; }
  .search-input { font-size: 15px; }
}

.mobile-nav { display: none; position: fixed; inset: 0; z-index: 199; background: rgba(3,3,3,0.97); backdrop-filter: blur(16px); flex-direction: column; justify-content: center; align-items: center; pointer-events: auto; }
.mobile-nav.open { display: flex; animation: mobileNavIn 0.25s ease; }
@keyframes mobileNavIn { from { opacity: 0; transform: scale(0.97); } to { opacity: 1; transform: scale(1); } }
.mobile-nav a { color: #bbb; font-size: 22px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; padding: 18px 40px; transition: color 0.2s; text-align: center; width: 100%; }
.mobile-nav a:hover { color: var(--accent-soft); }
.mob-accordion { width: 100%; }
.mob-acc-btn { width: 100%; background: none; border: none; color: #bbb; font-size: 22px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; padding: 18px 40px; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 10px; transition: color 0.2s; }
.mob-acc-btn:hover { color: var(--accent-soft); }
.mob-chevron { transition: transform 0.25s ease; flex-shrink: 0; }
.mob-accordion.open .mob-chevron { transform: rotate(180deg); }
.mob-accordion.open .mob-acc-btn { color: #fff; }
.mob-acc-body { display: none; flex-direction: column; align-items: center; padding-bottom: 8px; }
.mob-accordion.open .mob-acc-body { display: flex; }
.mob-acc-body a { font-size: 14px !important; letter-spacing: 2px !important; padding: 10px 40px !important; color: #666 !important; }
.mob-acc-body a:hover { color: var(--accent-soft) !important; }

/* ── Cart Sidebar ── */
.cart-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,0.65); backdrop-filter: blur(4px); z-index: 500; opacity: 0; pointer-events: none; transition: opacity 0.3s; }
.cart-backdrop.open { opacity: 1; pointer-events: auto; }
.cart-sidebar { position: fixed; top: 0; right: 0; width: 460px; height: 100%; height: 100dvh; background: #1c1c1e; border-left: 1px solid var(--border-default); z-index: 600; display: flex; flex-direction: column; transform: translateX(100%); transition: transform 0.35s cubic-bezier(0.4,0,0.2,1); }
.cart-sidebar.open { transform: translateX(0); }
.cart-header { display: flex; align-items: center; justify-content: space-between; padding: 24px 28px; border-bottom: 1px solid rgba(255,255,255,0.18); }
.cart-header h3 { font-family: var(--font-body); font-size: 14px; font-weight: 500; letter-spacing: 3px; text-transform: uppercase; color: #fff; }
.cart-close { background: none; border: none; color: #fff; cursor: pointer; transition: color 0.2s; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; }
.cart-close:hover { color: var(--accent-soft); }
.cart-shipping-progress { padding: 14px 28px; border-bottom: 1px solid rgba(255,255,255,0.18); }
.cart-shipping-note { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #fff; margin-bottom: 8px; }
.cart-shipping-note strong { color: #fff; }
.cart-shipping-icon { flex-shrink: 0; color: #fff; }
.cart-shipping-track { width: 100%; height: 4px; background: rgba(255,255,255,0.15); border-radius: 2px; overflow: hidden; }
.cart-shipping-fill { height: 100%; background: var(--accent-bright); border-radius: 2px; transition: width 0.3s ease; }
.cart-item-variant { font-size: 12px; color: #fff; margin-bottom: 6px; }
.cart-footnote { font-size: 12px; color: #eee; line-height: 1.5; margin-bottom: 14px; text-align: center; }
.cart-items { flex: 1; overflow-y: auto; padding: 16px 28px; }
.cart-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; gap: 10px; color: #fff; }
.cart-empty p { font-size: 14px; letter-spacing: 1.5px; }
.cart-item { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.18); }
.cart-item-link { display: contents; color: inherit; text-decoration: none; cursor: pointer; }
.cart-item-img { width: 104px; height: 104px; flex-shrink: 0; background: #0d0d0d; border: 1px solid var(--border-default); border-radius: 6px; display: flex; align-items: center; justify-content: center; font-size: 8px; letter-spacing: 1.5px; color: rgba(255,255,255,0.1); overflow: hidden; }
.cart-item-details { flex: 1; display: flex; flex-direction: column; }
.cart-item-name { font-size: 14px; font-weight: 500; color: #fff; margin-bottom: 8px; transition: color 0.2s; }
.cart-item-link:hover .cart-item-name { color: var(--accent-soft); }
.cart-item-row-controls { display: flex; align-items: center; gap: 10px; }
.cart-qty-ctrl { display: flex; align-items: center; border: 1px solid rgba(255,255,255,0.18); }
.cart-qty-ctrl button { background: none; border: none; color: #fff; width: 36px; height: 36px; cursor: pointer; font-size: 19px; transition: color 0.2s; }
.cart-qty-ctrl button:hover { color: var(--accent-soft); }
.cart-qty-ctrl span { width: 32px; text-align: center; font-size: 14px; color: #fff; }
.cart-item-price { font-size: 13px; font-weight: 700; color: #fff; margin-left: auto; }
.cart-pickup-banner { padding: 12px 28px; font-size: 12px; line-height: 1.5; color: var(--accent-bright); background: rgba(204,0,255,0.08); border-top: 1px solid rgba(255,255,255,0.18); }
.cart-footer { padding: 16px 28px; padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid rgba(255,255,255,0.18); }
.cart-total { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.cart-total span { font-size: 13px; letter-spacing: 2px; text-transform: uppercase; color: #fff; }
.cart-total strong { font-size: 20px; font-weight: 700; color: #fff; }
.checkout-btn { width: 100%; padding: 15px; border-radius: 999px; background: var(--accent-bright); border: none; color: #fff; font-size: 14px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; cursor: pointer; transition: background 0.2s, box-shadow 0.2s; }
.checkout-btn:hover { background: #aa00dd; box-shadow: 0 0 20px rgba(204,0,255,0.4); }
.cart-pay-icons { display: flex; justify-content: center; margin-top: 12px; }
.cart-pay-icons-img { width: 100%; height: auto; display: block; filter: invert(1); }

/* ── Chat Button ── */
.chat-btn { position: fixed; bottom: 28px; right: 28px; width: 54px; height: 54px; background: var(--accent-bright); border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 0 16px rgba(204,0,255,0.5); transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s; z-index: 499; border: none; }
.chat-btn:hover { transform: scale(1.1); box-shadow: 0 0 28px rgba(204,0,255,0.8); }
.cart-sidebar.open ~ .chat-btn, .cart-backdrop.open ~ .chat-btn { opacity: 0; pointer-events: none; }

/* ── Toast ── */
.toast { position: fixed; bottom: 96px; right: 28px; background: #0d0d0d; border: 1px solid rgba(204,68,255,0.3); color: #fff; font-size: 14px; letter-spacing: 1px; padding: 14px 20px; transform: translateY(12px); opacity: 0; transition: all 0.3s; z-index: 9999; pointer-events: none; white-space: nowrap; }
.toast.show { transform: translateY(0); opacity: 1; }

/* ── Footer ── */
footer { position: relative; border-radius: 32px 32px 0 0; max-width: 1200px; margin: 80px auto 0; padding: 56px 60px 36px; border: 1px solid transparent; border-bottom: none; background: radial-gradient(35% 128px at 50% 0%, rgba(255,255,255,0.05), transparent) padding-box, linear-gradient(#000,#000) padding-box, conic-gradient(from var(--glow-angle), rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.12) 50%, rgba(255,255,255,0.04) 100%) border-box; animation: navGlowRotate 6s linear infinite; }
footer::before { content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%) translateY(-50%); width: 33%; height: 1px; background: rgba(255,255,255,0.15); filter: blur(2px); border-radius: 100px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-brand img { height: 44px; margin-bottom: 16px; display: block; }
.footer-brand p { font-family: 'Roboto', sans-serif; font-size: 13px; color: #C8C8C8; line-height: 1.8; margin-top: 12px; }
.footer-col h4 { font-family: 'Roboto', sans-serif; font-size: 13px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { font-family: 'Roboto', sans-serif; font-size: 14px; color: #C8C8C8; text-decoration: none; letter-spacing: 0.3px; display: inline-flex; align-items: center; gap: 6px; transition: color 0.2s, transform 0.2s; }
.footer-col ul a:hover { color: #fff; transform: translateX(2px); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid #0f0f0f; padding-top: 24px; }
.footer-bottom p { font-family: 'Roboto', sans-serif; font-size: 14px; color: #333; letter-spacing: 0.5px; }
.footer-socials { display: flex; gap: 16px; }
.footer-socials a { color: #444; transition: color 0.2s, filter 0.2s; }
.footer-socials a:hover { color: #cc44ff; filter: drop-shadow(0 0 6px rgba(204,68,255,0.5)); }
.footer-anim { opacity: 0; filter: blur(4px); transform: translateY(-8px); transition: opacity 0.8s ease, filter 0.8s ease, transform 0.8s ease; }
.footer-anim.visible { opacity: 1; filter: blur(0px); transform: translateY(0); }

/* ── Responsive ── */
@media (max-width: 965px) {
  .mobile-menu-btn { display: flex; }
  .nav-left { display: none; }
  .nav-right > *:not(.mobile-menu-btn):not(.cart-wrap):not(#accountBtn):not(.search-wrap) { display: none; }
  .nav-right { gap: 12px; }
  nav { grid-template-columns: auto 1fr auto; padding: 12px 20px; }
  nav.scrolled { padding: 10px 20px; border-radius: 10px; }
  .nav-wrap.scrolled { padding: 8px 12px; }
  .logo { justify-content: flex-start; }
  .cart-sidebar { width: 100%; }
}
@media (max-width: 600px) {
  footer { padding: 40px 20px 28px; border-radius: 20px 20px 0 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 380px) {
  footer { padding: 32px 14px 24px; }
  .footer-grid { gap: 14px 12px; }
  .footer-col h4 { font-size: 11px; margin-bottom: 10px; }
  .footer-col ul a { font-size: 12px; }
}

/* ── Legibility: grey body text → white ── */
.legal-section p,
.legal-section ul li,
.dl-sub, .svc-desc, .trust-item p, .cta-text,
.ph-sub, .pc-tag, .pc-rate-txt,
.k-info-value, .k-info-label,
.newsletter-disclaimer,
.footer-bottom p { color: var(--text-secondary) !important; }

/* ── Legal pages: readable font sizes ── */
.legal-section p,
.legal-section ul li { font-size: 16px !important; line-height: 1.8 !important; }
@media (max-width: 600px) {
  .legal-section p,
  .legal-section ul li { font-size: 15px !important; }
}

/* ── Screen-reader-only text (kept for accessible labels not shown visually) ── */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ── Animated floating labels (see components/animated-fields.js) ── */
.anim-label span {
  transition: transform 0.32s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.28s ease;
  transform: translateY(0);
  opacity: 1;
}
.anim-label.floated span {
  transform: translateY(-135%);
  opacity: 0;
}

/* Flavor 1: a real (or synthesized) label docks above the field on focus,
   instead of sitting as a separate static caption row above it. */
.anim-real-label {
  position: absolute;
  left: 2px;
  top: 50%;
  transform: translateY(-50%) scale(1);
  transform-origin: left center;
  transition: top 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.25s ease;
  pointer-events: none;
  color: rgba(255, 255, 255, 0.38);
  white-space: nowrap;
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 0.3px;
  text-transform: none;
}
.anim-real-label--top { top: 12px; transform: translateY(0) scale(1); transform-origin: left top; }
.anim-real-label.floated {
  top: 0;
  transform: translateY(-100%) scale(0.78);
  color: #fff;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.anim-real-label--top.floated { transform: translateY(-100%) scale(0.78); }
.anim-real-label span {
  display: inline-block;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.anim-real-label.floated span { transform: translateY(-1px); }

/* ── Reduced motion: site-wide fallback for decorative animation/transition ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
