:root {
  --dl-black: #282c31;
  --dl-bg-main: #282c31;
  --dl-bg-top: #282c31;
  --dl-bg-search: #061321;
  --dl-bg-tile: #061321;
  --dl-bg-footer: #020814;
  --dl-bg-orders: #020814;
  --dl-bg-popup: #061321;
  --dl-bg-footer-btn: #2a2d32;
  --dl-green: #d49b42;
  --dl-green-hover: #cda66c;
  --dl-green-40: rgba(190, 149, 91, 0.25);
  --dl-border: rgba(255, 255, 255, 0.12);
  --dl-border-line: rgba(22, 56, 92, 1);
  --dl-text: #FFFFFF;
  --dl-text-muted: #7898A3;
  --dl-text-dim: #536573;
  --dl-text-subtitle: #7898A3;
  --dl-text-orders: #7898A3;
  --dl-text-news-date: #7898A3;
  --dl-orange: #d49b42;
  --dl-orange-hover: #3B87CF;
  --dl-container: 1200px;
  --header-top: 64px;
  --header-bottom: 50px;
  --header-total: 114px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 10px;
  --font-sans: Lato, sans-serif;
  --font-inter: Inter, system-ui, sans-serif;
  --text-base: 16px;
  --leading-base: 1.5;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  min-height: 100%;
  background-color: #282c31 !important;
  background-image: none !important;
}

html::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--text-base);
  font-weight: 400;
  background: transparent !important;
  color: #F5F7F8;
  line-height: var(--leading-base);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

body::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-sans);
  line-height: 1.2;
  margin: 0;
}

h1 {
  font-size: 2rem;
}

h2 {
  font-size: 1.625rem;
}

h3 {
  font-size: 1.375rem;
}

h4 {
  font-size: 1.125rem;
}

.font-inter {
  font-family: var(--font-inter);
}

.font-lato {
  font-family: var(--font-sans);
}

a {
  color: inherit;
  text-decoration: none;
}

img,
video {
  max-width: 100%;
  display: block;
}

button,
input {
  font: inherit;
}

.container {
  width: min(var(--dl-container), calc(100% - 32px));
  margin: 0 auto;
}

.page-wrap {
  min-height: 100vh;
}

/* Fixed header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
}

.header-top {
  height: var(--header-top);
  background: var(--dl-black);
  display: flex;
  align-items: center;
}

.header-top-wrap,
.header-bottom-wrap {
  position: relative;
  height: 100%;
}

.header-top-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 100%;
}

.header-top-line {
  pointer-events: none;
  position: absolute;
  left: 15px;
  right: 15px;
  bottom: 0;
  height: 1px;
  background: var(--dl-border-line);
}

.header-top-left {
  justify-self: start;
  display: flex;
  align-items: center;
}

.header-logo-wrap {
  justify-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-right {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-currency {
  margin-right: 4px;
}

.cart-widget {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cart-icon-link {
  position: relative;
  display: flex;
  align-items: center;
  color: var(--dl-border);
  transition: filter 0.2s;
}

.cart-total-link {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1.2;
  color: var(--dl-border);
  transition: filter 0.2s;
}

.cart-icon-link:hover,
.cart-total-link:hover {
  filter: brightness(1.25);
}

.cart-icon-link svg {
  width: 29px;
  height: 29px;
}

.cart-total {
  font-size: 12px;
  font-weight: 500;
  color: var(--dl-border);
  line-height: 1.2;
}

.header-login {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 32px;
  padding: 6px 14px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #be955b 0%, #9d7845 100%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.header-login:hover {
  background: linear-gradient(135deg, #cda66c 0%, #ad8855 100%);
  box-shadow: 0 4px 14px rgba(190, 149, 91, 0.45);
  transform: translateY(-1px);
}

.header-login svg {
  width: 16px;
  height: 16px;
}

.header-logo img {
  height: 30px;
  width: auto;
}

.header-bottom {
  height: var(--header-bottom);
  background: var(--dl-black);
  border-top: 1px solid transparent;
  position: relative;
  display: flex;
  align-items: center;
}

.header-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  width: 100%;
}

.header-search {
  position: relative;
  width: 172px;
  height: 32px;
  flex-shrink: 0;
  background: var(--dl-bg-search);
  border-radius: var(--radius-lg);
  border: 2px solid transparent;
  transition: border-color 0.2s;
}

.header-search:focus-within {
  border-color: var(--dl-green);
}

.header-search input {
  width: 100%;
  height: 100%;
  border: none;
  background: transparent;
  padding: 0 2.3rem 0 1rem;
  color: var(--dl-text-muted);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 400;
  outline: none;
  caret-color: var(--dl-text-muted);
}

.header-search input::placeholder {
  color: var(--dl-text-muted);
}

.header-search button {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
  color: var(--dl-text-muted);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 20px !important;
  flex-shrink: 0;
  margin: 0 auto !important;
  padding: 0;
}

.nav-item {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  padding: 8px 0;
  margin-top: 8px;
  color: var(--dl-green);
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0;
  transition: color 0.2s;
}

.nav-item:hover {
  color: var(--dl-green-hover);
}

.nav-item::after {
  content: "";
  display: block;
  height: 2px;
  width: 100%;
  margin-top: 4px;
  background: var(--dl-green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.nav-item:hover::after {
  transform: scaleX(1);
}

.nav-dropdown {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  padding-top: 8px;
  min-width: 300px;
  background: var(--dl-black);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  padding-bottom: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s;
  text-transform: none;
  z-index: 100;
  pointer-events: none;
}

.nav-dropdown-menu a {
  display: block;
  padding: 8px 16px;
  color: var(--dl-green);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 400;
  text-transform: none;
}

.nav-dropdown-menu a:hover {
  color: #555;
}

.video-hub-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 20px;
  margin-left: 8px;
  background: var(--dl-orange);
  color: #000;
  font-size: 12px;
  font-weight: 400;
  border-radius: 2px;
  text-transform: none;
}

.nav-dropdown-menu a:hover .video-hub-badge {
  background: var(--dl-orange-hover);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
  width: 172px;
}

.btn-support {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 32px;
  padding: 0 8px;
  border-radius: var(--radius-lg);
  background: var(--dl-green);
  color: #fff;
  font-family: var(--font-inter);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
  line-height: 1;
}

.btn-support:hover {
  background: var(--dl-green-hover);
}

.btn-support img {
  width: 20px;
  height: 24px;
}

.orders-box {
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 2px 10px;
  gap: 13px;
  background: var(--dl-bg-orders);
  border-radius: var(--radius-lg);
}

.orders-item {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--dl-text-orders);
  transition: color 0.2s;
}

.orders-item:hover {
  color: #fff;
}

.orders-count {
  font-size: 26px;
  line-height: 1;
}

.orders-label {
  font-size: 10px;
  line-height: 1;
  text-transform: uppercase;
}

.orders-divider {
  width: 1px;
  height: 60%;
  background: var(--dl-text-orders);
}

/* Main */
.main-content {
  padding-top: var(--header-total);
}

.main-inner {
  background: var(--dl-bg-main);
  color: #F5F7F8;
  min-height: calc(100vh - var(--header-total));
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: var(--leading-base);
}

.main-container {
  padding: 32px 16px;
}

.banner-wrap {
  text-align: center;
  position: relative;
  margin-top: 30px;
  max-width: 100%;
  overflow: hidden;
  border-radius: 4px;
  background: #050605;
}

.banner-wrap video {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  object-fit: cover;
  aspect-ratio: 1170 / 600;
}

.spacer-32 {
  height: 32px;
}

.text-primary {
  color: var(--dl-green);
  font-family: var(--font-sans);
  font-size: 2rem;
  font-weight: 400;
  line-height: 1.2;
  margin: 0;
}

/* Tiles block - exact DL */
.dl-tiles-block .tiles-top {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-bottom: 32px;
}

.tiles-top__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
}

.tiles-top__title {
  margin: 0;
  color: #fff;
  line-height: 1.2;
  font-weight: 800;
  font-size: 1.625rem;
  font-family: var(--font-sans);
}

.tiles-top__subtitle {
  margin: 0;
  color: var(--dl-text-subtitle);
  font-size: 20px;
  line-height: 1.35;
  font-weight: 400;
  font-family: var(--font-sans);
}

.tiles-top__catalog {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--dl-green);
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 500;
  white-space: nowrap;
  margin-left: auto;
  flex: 0 0 auto;
  transition: opacity 0.2s;
}

.tiles-top__catalog:hover {
  opacity: 0.85;
}

.tiles-top__catalog-arrow {
  font-size: 24px;
}

.dl-tiles {
  --grid-gap: 10px;
  --card-r: 4px;
  --card-gap: 4px;
  --pad-l: 16px;
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: var(--grid-gap);
  width: 100%;
}

.dl-tile {
  background: var(--dl-bg-tile);
  border-radius: var(--card-r);
  padding-left: var(--pad-l);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--card-gap);
  overflow: hidden;
  height: 108px;
  transition: filter 0.2s, transform 0.2s;
}

.dl-tile:hover {
  filter: brightness(1.12);
  transform: translateY(-1px);
}

.dl-tile__title {
  color: #fff;
  font-family: var(--font-sans);
  font-weight: 900;
  font-size: 20px;
  line-height: 24px;
  letter-spacing: 0;
  margin: 0;
  white-space: pre-line;
}

.dl-tile__img {
  height: 100%;
  width: auto;
  max-height: 100%;
  object-fit: contain;
  flex: 0 0 auto;
}

/* News */
.news-heading {
  margin: 0 0 16px;
  color: #fff;
  font-family: var(--font-sans);
  font-size: 1.625rem;
  font-weight: 700;
  line-height: 1.2;
}

.news-carousel {
  position: relative;
  padding: 10px 2px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.news-slide {
  padding: 16px;
  border-radius: var(--radius-lg);
}

.news-slide h3 {
  margin: 0 0 12px;
  color: var(--dl-green);
  font-family: var(--font-sans);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.375;
  min-height: 70px;
}

.news-slide h3 a:hover {
  text-decoration: underline;
  filter: brightness(1.25);
}

.news-date {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--dl-text-news-date);
  font-family: var(--font-sans);
  font-size: 1.125rem;
  font-weight: 400;
  margin-bottom: 16px;
}

.news-date svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.news-content {
  max-height: 400px;
  overflow-y: auto;
  color: #ccc;
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.6;
  padding-right: 8px;
}

.news-content p {
  margin: 0 0 12px;
}

.read-more-link {
  display: inline-flex;
  align-items: center;
  color: var(--dl-green);
  font-family: var(--font-sans);
  font-size: 1.125rem;
  font-weight: 400;
  text-transform: capitalize;
  margin-top: 16px;
}

.read-more-link:hover {
  filter: brightness(1.25);
}

.read-more-link span:last-child {
  margin-left: 8px;
  font-size: 30px;
}

/* Footer */
.site-footer {
  background: var(--dl-bg-footer);
  padding: 20px 0;
  min-height: 157px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: start;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.footer-brand img {
  height: 24px;
  width: auto;
}

.btn-support-footer {
  width: 215px;
  height: 40px;
  background: var(--dl-bg-footer-btn);
  border-radius: var(--radius-md);
  font-size: 16px;
}

.btn-support-footer:hover {
  background: var(--dl-green-hover);
}

.footer-menus {
  display: grid;
  grid-auto-flow: column;
  gap: 20px;
}

.footer-col-title {
  color: #fff;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 400;
  margin: 0 0 8px;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col a {
  display: block;
  color: var(--dl-text-dim);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 400;
  padding: 2px 0;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: #fff;
}

.footer-right {
  text-align: right;
  display: grid;
  gap: 16px;
  justify-items: end;
}

.footer-right a {
  color: #fff;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 400;
}

.footer-right a:hover {
  color: var(--dl-green);
}

.payment-logos img {
  display: inline-block;
  margin: 8px 6px;
  max-width: 34px;
}

.footer-copy {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 400;
  color: #fff;
}

/* WhatsApp float (Kuram-style) */
.dg-wa-float {
  position: fixed;
  right: 24px;
  bottom: 84px;
  z-index: 1000;
  pointer-events: none;
}

.dg-wa-toggle {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.45);
  transition: transform 0.2s, box-shadow 0.2s;
  pointer-events: auto;
}

.dg-wa-toggle:hover {
  transform: scale(1.06);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.55);
}

.dg-wa-toggle svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}

.dg-wa-toggle-ping {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid #25d366;
  animation: dg-wa-ping 2s ease-out 2;
  pointer-events: none;
}

@keyframes dg-wa-ping {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }
  100% {
    transform: scale(1.45);
    opacity: 0;
  }
}

/* Cookie */
#privacy-popup {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 150;
  display: none;
}

#privacy-popup.is-visible {
  display: block;
}

#privacy-popup .popup-content {
  background: var(--dl-bg-popup);
  border-top: 1px solid var(--dl-border);
  padding: 16px 24px;
  position: relative;
}

.popup-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  max-width: var(--dl-container);
  margin: 0 auto;
}

.popup-text {
  margin: 0;
  color: #ccc;
  font-size: 14px;
}

.privacy-link {
  color: var(--dl-green);
}

.accept-button {
  background: var(--dl-green);
  color: #fff;
  border: none;
  padding: 10px 24px;
  border-radius: var(--radius-lg);
  font-weight: 700;
  cursor: pointer;
}

.accept-button:hover {
  background: var(--dl-green-hover);
}

.close-button {
  position: absolute;
  top: 8px;
  right: 12px;
  background: none;
  border: none;
  color: #888;
  cursor: pointer;
  width: 24px;
  height: 24px;
}

/* Back to top */
#back-to-top {
  position: fixed;
  right: 30px;
  bottom: 30px;
  /* sits below WhatsApp float */
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #061321;
  border: 1px solid #2f2f2f;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s;
  z-index: 999;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

#back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
}

/* Catalog page */
.catalog-page .page-hero {
  padding: 24px 0 8px;
}

.catalog-page .breadcrumb {
  color: var(--dl-text-dim);
  font-size: 14px;
  margin-bottom: 12px;
}

.catalog-page .breadcrumb a:hover {
  color: var(--dl-green);
}

.catalog-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 24px;
  padding-bottom: 48px;
}

.catalog-sidebar {
  position: sticky;
  top: calc(var(--header-total) + 16px);
  align-self: start;
}

.catalog-sidebar h2 {
  font-size: 14px;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 12px;
  font-weight: 400;
}

.sidebar-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid var(--dl-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.sidebar-list a {
  display: block;
  padding: 12px 16px;
  border-bottom: 1px solid var(--dl-border);
  color: var(--dl-green);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 400;
  transition: all 0.2s;
}

.sidebar-list li:last-child a {
  border-bottom: none;
}

.sidebar-list a:hover,
.sidebar-list a.is-active {
  background: rgba(8, 124, 255, 0.1);
  color: var(--dl-green-hover);
  padding-left: 20px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.product-card {
  background: var(--dl-bg-tile);
  border-radius: var(--radius-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: filter 0.2s;
  position: relative;
}

.product-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 1;
  background: var(--dl-orange);
  color: #111;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
}

.product-card:hover {
  filter: brightness(1.1);
}

.product-card-image {
  aspect-ratio: 4/3;
  background: #181b1f;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.product-card-image img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
  display: block;
  margin: auto;
  transition: transform 0.3s ease;
}

.product-card:hover .product-card-image img {
  transform: scale(1.04);
}

.product-card-body {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}

.product-tag {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 400;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(8, 124, 255, 0.15);
  color: var(--dl-green);
  border: 1px solid rgba(190, 149, 91, 0.25);
}

.product-card h3 {
  margin: 0 0 12px;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.3;
  font-weight: 500;
  color: #fff;
  flex: 1;
}

.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--dl-border);
}

.product-price {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 700;
  color: var(--dl-green);
}

.product-price-old {
  font-size: 13px;
  color: var(--dl-text-muted);
  text-decoration: line-through;
  margin-right: 8px;
}

.btn-learn {
  background: var(--dl-green);
  color: #fff;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.btn-learn:hover {
  background: var(--dl-green-hover);
}

/* Mobile */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
}

.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(7px);
}

.mobile-nav.is-open {
  display: block;
}

.mobile-nav-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(450px, 80vw);
  height: 100%;
  background: var(--dl-bg-top);
  padding: 20px;
  overflow-y: auto;
}

.mobile-nav-panel a {
  display: block;
  padding: 12px 0;
  color: var(--dl-green);
  font-family: var(--font-sans);
  text-transform: uppercase;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0;
}

.mobile-nav-panel a:hover {
  color: var(--dl-green-hover);
}

.mobile-nav-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 28px;
  margin-bottom: 16px;
  cursor: pointer;
}

@media (min-width: 420px) {
  .dl-tiles {
    --grid-gap: 15px;
  }
}

@media (min-width: 641px) {
  .dl-tiles {
    --card-r: 5px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .news-carousel {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 1024px) {
  .dl-tiles {
    --card-gap: 5px;
    --pad-l: 20px;
  }
}

@media (max-width: 1024px) {
  .main-nav,
  .header-search {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-right {
    grid-column: 1 / -1;
    justify-items: start;
    text-align: left;
  }

  .catalog-layout {
    grid-template-columns: 1fr;
  }

  .catalog-sidebar {
    position: static;
  }
}

@media (max-width: 768px) {
  .dl-tiles-block .tiles-top {
    gap: 8px;
    padding-bottom: 20px;
  }

  .tiles-top__subtitle,
  .tiles-top__catalog {
    font-size: 20px;
  }

  .header-login span {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-menus {
    grid-auto-flow: row;
  }
}

@media (max-width: 600px) {
  .header-bottom-inner {
    justify-content: flex-end;
  }
}

/* E-commerce + mobile header */
.cart-badge {
  position: absolute;
  top: -0.1rem;
  right: -0.001rem;
  width: 12px;
  height: 12px;
  min-width: 12px;
  padding: 0;
  border-radius: 50%;
  background: #fff;
  color: #000;
  font-size: 7px;
  font-weight: 600;
  line-height: 12px;
  text-align: center;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.header-mobile {
  display: none;
}

.mobile-topbar {
  height: 60px;
  background: var(--dl-bg-top);
  display: flex;
  align-items: center;
  padding: 0 16px;
  gap: 12px;
}

.mobile-logo img {
  height: 28px;
  width: auto;
}

.mobile-logo-short {
  display: none;
}

.mobile-topbar-scroll {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity 0.25s, max-height 0.25s;
}

.mobile-topbar.is-scrolled .mobile-topbar-scroll {
  opacity: 1;
  max-height: 40px;
}

.mobile-topbar.is-scrolled .mobile-logo-full {
  display: none;
}

.mobile-topbar.is-scrolled .mobile-logo-short {
  display: block;
}

.mobile-search {
  flex: 1;
  width: auto;
}

.btn-support-sm {
  height: 32px;
  padding: 0 10px;
  font-size: 11px;
  white-space: nowrap;
}

.btn-support-sm span {
  display: none;
}

.mobile-menu-open {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}

.mobile-menu-open span {
  display: block;
  height: 2px;
  background: #fff;
  border-radius: 1px;
}

.mobile-nav-backdrop {
  position: absolute;
  inset: 0;
}

.mobile-login-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  margin-bottom: 16px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #be955b 0%, #9d7845 100%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  transition: all 0.2s ease;
}

.mobile-login-btn:hover {
  background: linear-gradient(135deg, #cda66c 0%, #ad8855 100%);
  box-shadow: 0 4px 14px rgba(190, 149, 91, 0.45);
}

.mobile-currency-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 16px 0;
  padding: 12px 0;
  border-top: 1px solid var(--dl-border);
  border-bottom: 1px solid var(--dl-border);
}

.mobile-currency-label {
  display: flex;
  flex-direction: column;
  font-size: 12px;
  color: var(--dl-text-muted);
  text-transform: uppercase;
}

.currency-switch {
  display: flex;
  gap: 4px;
}

.currency-btn {
  width: 36px;
  height: 32px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--dl-border);
  background: transparent;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.currency-btn.currency-active {
  background: var(--dl-green);
  border-color: var(--dl-green);
  color: #fff;
}

.currency-btn.currency-inactive {
  color: var(--dl-text-muted);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
}

.mobile-accordion-btn {
  width: 100%;
  text-align: left;
  padding: 12px 0;
  border: none;
  background: transparent;
  color: var(--dl-green);
  font-family: var(--font-sans);
  font-size: 16px;
  text-transform: uppercase;
  cursor: pointer;
}

.mobile-accordion-panel {
  display: none;
  padding-left: 12px;
}

.mobile-accordion-panel.is-open {
  display: block;
}

.mobile-cats-title {
  margin: 20px 0 8px;
  font-size: 12px;
  color: var(--dl-text-muted);
  text-transform: uppercase;
}

.mobile-cats a {
  font-size: 14px !important;
  padding: 8px 0 !important;
}

.mobile-video-hub {
  display: flex;
  align-items: center;
  gap: 6px;
}

.overflow-hidden {
  overflow: hidden;
}

/* Account / cart / content pages */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 14px;
  color: var(--dl-text-muted);
}

.breadcrumb a {
  color: var(--dl-green);
  transition: color 0.2s;
}

.breadcrumb a:hover {
  color: var(--dl-green-hover);
}

.breadcrumb-sep {
  color: var(--dl-text-dim);
}

.account-page-header {
  margin-bottom: 32px;
}

.account-page-header .text-primary {
  margin-bottom: 8px;
}

.account-page-lead {
  margin: 0;
  max-width: 560px;
  color: var(--dl-text-muted);
  font-size: 16px;
  line-height: 1.5;
}

.account-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 28px;
  align-items: start;
}

.account-sidebar-card {
  background: var(--dl-bg-footer);
  border: 1px solid var(--dl-border);
  border-radius: var(--radius-lg);
  padding: 20px 16px;
}

.account-sidebar-label {
  margin: 0 0 12px;
  padding: 0 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dl-text-dim);
}

.account-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.account-nav a {
  display: block;
  padding: 11px 12px;
  border-radius: var(--radius-sm);
  color: var(--dl-text-muted);
  font-size: 14px;
  font-weight: 500;
  border-left: 3px solid transparent;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.account-nav a.is-active {
  background: rgba(8, 124, 255, 0.1);
  color: var(--dl-green);
  border-left-color: var(--dl-green);
}

.account-nav a:hover:not(.is-active) {
  background: var(--dl-bg-tile);
  color: #fff;
}

.account-logout {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 14px;
  padding: 11px 14px;
  border: 1px solid var(--dl-border);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--dl-text-muted);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.account-logout:hover {
  border-color: rgba(255, 120, 100, 0.45);
  color: #ffb4ae;
  background: rgba(58, 20, 20, 0.35);
}

.auth-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.auth-card {
  background: var(--dl-bg-tile);
  border: 1px solid var(--dl-border);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.auth-card-head {
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--dl-border);
}

.auth-card-head h2 {
  margin: 0 0 6px;
  font-size: 1.375rem;
  font-weight: 700;
  color: #fff;
}

.auth-card-head p {
  margin: 0;
  font-size: 14px;
  color: var(--dl-text-muted);
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-field label {
  font-size: 13px;
  font-weight: 500;
  color: var(--dl-text-muted);
}

.form-field input {
  width: 100%;
  height: 44px;
  padding: 0 14px;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  background: var(--dl-bg-search);
  color: #fff;
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}

.form-field textarea,
.form-field select {
  width: 100%;
  padding: 10px 14px;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  background: var(--dl-bg-search);
  color: #fff;
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}

.form-field select {
  height: 44px;
  cursor: pointer;
}

.form-field textarea {
  min-height: 96px;
  resize: vertical;
  line-height: 1.45;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--dl-text-dim);
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  border-color: var(--dl-green);
  background: #2e2e2e;
}

.auth-form-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.checkbox-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--dl-text-muted);
  cursor: pointer;
}

.checkbox-label input {
  width: 16px;
  height: 16px;
  accent-color: var(--dl-green);
}

.btn-block {
  width: 100%;
}

.btn-auth {
  height: 44px;
  font-size: 14px;
  letter-spacing: 0.04em;
}

.btn-auth-outline {
  background: transparent;
  border: 2px solid var(--dl-green);
  color: var(--dl-green);
}

.btn-auth-outline:hover {
  background: var(--dl-green);
  color: #fff;
}

.auth-benefits {
  margin: 0;
  padding: 0 0 0 18px;
  color: var(--dl-text-muted);
  font-size: 14px;
  line-height: 1.7;
}

.auth-benefits li {
  margin-bottom: 4px;
}

.auth-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--dl-green);
  white-space: nowrap;
}

.auth-link:hover {
  color: var(--dl-green-hover);
}

.auth-support-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  padding: 14px 18px;
  background: var(--dl-bg-footer);
  border: 1px solid var(--dl-border);
  border-radius: var(--radius-lg);
  font-size: 14px;
  color: var(--dl-text-muted);
}

.auth-support-link {
  margin-left: auto;
  padding: 0;
  border: none;
  background: none;
  color: var(--dl-green);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.auth-support-link:hover {
  color: var(--dl-green-hover);
}

/* MK-style auth portal (Diesel Garage colors) */
body.is-auth-guest .auth-breadcrumb { margin-bottom: 12px; }
body.is-auth-guest #account-logged-header { display: none; }
body.is-auth-guest .account-layout--guest {
  display: block;
  max-width: none;
}
body.is-auth-guest .account-sidebar { display: none !important; }
.auth-main .main-inner { padding-top: 8px; }

.auth-portal {
  display: grid;
  grid-template-columns: minmax(280px, 42%) minmax(0, 1fr);
  gap: 0;
  min-height: calc(100vh - 220px);
  border: 1px solid var(--dl-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--dl-bg-tile);
}

.auth-hero {
  position: relative;
  min-height: 420px;
  background:
    linear-gradient(160deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.82) 55%, rgba(0, 0, 0, 0.92) 100%),
    url("../assets/gallery/ecu-workstation.jpg") center / cover no-repeat;
}
.auth-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.75) 100%);
  pointer-events: none;
}
.auth-hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 100%;
  padding: 36px 32px;
}
.auth-kicker {
  margin: 0 0 10px;
  color: var(--dl-green);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.auth-hero-title {
  margin: 0 0 12px;
  color: #fff;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
.auth-hero-lead {
  margin: 0;
  max-width: 420px;
  color: var(--dl-text-muted);
  font-size: 14px;
  line-height: 1.55;
}

.auth-panel {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 28px 32px 24px;
  background:
    radial-gradient(circle at top right, rgba(8, 124, 255, 0.08), transparent 45%),
    var(--dl-bg-footer);
}
.auth-panel-card {
  border: 1px solid rgba(8, 124, 255, 0.35);
  border-radius: 16px;
  padding: 24px;
  background: rgba(0, 0, 0, 0.28);
  box-shadow: 0 0 0 1px rgba(8, 124, 255, 0.08), 0 18px 40px rgba(0, 0, 0, 0.35);
}
.auth-panel-head {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 20px;
}
.auth-panel-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dl-green);
  background: rgba(8, 124, 255, 0.12);
  border: 1px solid rgba(190, 149, 91, 0.25);
}
.auth-panel-title {
  margin: 0 0 4px;
  color: #fff;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.auth-panel-sub {
  margin: 0;
  color: var(--dl-text-muted);
  font-size: 13px;
}

.auth-form--portal { gap: 14px; }
.auth-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.auth-field {
  position: relative;
  display: flex;
  align-items: center;
}
.auth-field input,
.auth-field select {
  width: 100%;
  height: 46px;
  padding: 0 14px;
  border: 1px solid var(--dl-border);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.auth-field--icon input { padding-left: 44px; }
.auth-field:has(.auth-field-icon) input { padding-left: 44px; }
.auth-field:has(.auth-pass-toggle) input { padding-right: 44px; }
.auth-field-icon {
  position: absolute;
  left: 14px;
  color: var(--dl-text-dim);
  pointer-events: none;
}
.auth-field input:focus,
.auth-field select:focus {
  border-color: var(--dl-green);
  box-shadow: 0 0 0 3px rgba(8, 124, 255, 0.15);
}
.auth-field input::placeholder { color: var(--dl-text-dim); }
.auth-pass-toggle {
  position: absolute;
  right: 10px;
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: var(--dl-text-muted);
  cursor: pointer;
}
.auth-pass-toggle:hover { color: #fff; background: rgba(255, 255, 255, 0.06); }

.btn-auth-portal {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 48px;
  margin-top: 4px;
  border: none;
  border-radius: 10px;
  background: linear-gradient(90deg, var(--dl-green) 0%, var(--dl-green-hover) 55%, #14576E 100%);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: filter 0.2s, transform 0.15s;
}
.btn-auth-portal:hover { filter: brightness(1.06); transform: translateY(-1px); }

.auth-switch {
  margin: 16px 0 0;
  text-align: center;
  color: var(--dl-text-muted);
  font-size: 13px;
}
.auth-switch a {
  color: var(--dl-orange);
  font-weight: 700;
  margin-left: 6px;
}
.auth-switch a:hover { color: var(--dl-orange-hover); }

.auth-type-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 14px;
}
.auth-type-tab {
  height: 40px;
  border: 1px solid var(--dl-border);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.25);
  color: var(--dl-text-muted);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.auth-type-tab.is-active {
  border-color: var(--dl-green);
  color: #fff;
  background: rgba(8, 124, 255, 0.15);
}

.auth-pass-rules {
  margin: -4px 0 0;
  padding: 0;
  list-style: none;
  font-size: 12px;
  color: var(--dl-text-dim);
}
.auth-pass-rules li { margin-bottom: 4px; }
.auth-pass-rules li.is-ok { color: #b6e89a; }

.auth-terms { margin-top: 4px; font-size: 13px; }
.auth-terms a { color: var(--dl-green); }

.auth-assurances {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.auth-assurance {
  padding: 14px 12px;
  border: 1px solid var(--dl-border);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.22);
  text-align: center;
}
.auth-assurance-icon {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
  line-height: 1;
}
.auth-assurance strong {
  display: block;
  color: #fff;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.auth-assurance p {
  margin: 0;
  color: var(--dl-text-muted);
  font-size: 12px;
  line-height: 1.4;
}

body.is-account-portal .auth-portal,
body.is-account-portal #auth-guest-shell { display: none; }
body.is-account-portal .account-sidebar { display: block !important; }
body.is-account-portal .account-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 28px;
}

@media (max-width: 980px) {
  .auth-portal { grid-template-columns: 1fr; }
  .auth-hero { min-height: 220px; }
  .auth-assurances { grid-template-columns: 1fr; }
  .auth-form-grid { grid-template-columns: 1fr; }
  .auth-panel { padding: 20px 16px; }
}

/* Legacy account grid (cart etc.) */
.account-grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 32px;
  margin-top: 24px;
}

.cart-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
}

.cart-table th,
.cart-table td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid var(--dl-border);
}

.cart-totals {
  margin: 16px 0 24px;
  font-size: 18px;
}

.cart-empty {
  color: var(--dl-text-muted);
  margin-bottom: 16px;
}

.content-page .prose {
  margin-top: 24px;
  max-width: 720px;
  color: var(--dl-text-muted);
  line-height: 1.7;
}

.content-page .prose h2 {
  margin: 24px 0 12px;
  color: #fff;
  font-size: 1.25rem;
}

.content-page .prose a {
  color: var(--dl-green);
}

.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 24px;
}

.product-detail-image {
  background: #181b1f;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  min-height: 380px;
}

.product-detail-image img, #product-main-img {
  max-width: 100%;
  max-height: 480px;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
  display: block;
  margin: auto;
  border-radius: var(--radius-md);
}

.product-detail-title {
  font-size: 1.75rem;
  margin-bottom: 16px;
}

.product-detail-price {
  font-size: 28px;
  font-weight: 700;
  color: var(--dl-green);
  margin-bottom: 16px;
}

.btn-add-cart {
  margin-top: 20px;
}

.catalog-page .page-hero h1 {
  font-size: 1.75rem;
  margin: 0 0 20px;
  color: #fff;
}

.catalog-empty {
  color: var(--dl-text-muted);
  padding: 24px 0;
}

.product-sku,
.product-short {
  color: var(--dl-text-muted);
  margin: 0 0 12px;
}

.product-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.product-thumb {
  width: 64px;
  height: 64px;
  padding: 0;
  border: 1px solid var(--dl-border);
  background: #111;
  cursor: pointer;
  border-radius: 6px;
  overflow: hidden;
}

.product-thumb.is-active {
  border-color: var(--dl-green);
}

.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-buy-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
}

.related-products {
  margin-top: 48px;
}

.related-products h2 {
  margin-bottom: 16px;
}

.cart-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.cart-totals-box {
  background: var(--dl-bg-tile);
  border-radius: 12px;
  padding: 20px;
}

.cart-totals-box p {
  display: flex;
  justify-content: space-between;
  margin: 8px 0;
}

.cart-thumb {
  width: 56px;
  height: 56px;
  object-fit: contain;
  background: #111;
  border-radius: 6px;
}

.contact-form,
.page-list {
  margin-top: 16px;
}

.page-list {
  padding-left: 18px;
}

.page-list a {
  color: var(--dl-green);
}

@media (max-width: 900px) {
  .cart-layout {
    grid-template-columns: 1fr;
  }
  .header-currency {
    display: none;
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

@media (max-width: 1024px) {
  .header-desktop {
    display: none;
  }

  .header-mobile {
    display: block;
  }

  .main-content {
    padding-top: 60px;
  }

  .main-inner {
    min-height: calc(100vh - 60px);
  }
}

@media (max-width: 900px) {
  .auth-cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .account-layout,
  .account-grid,
  .product-detail {
    grid-template-columns: 1fr;
  }

  .account-sidebar-card {
    padding: 16px 12px;
  }

  .account-nav {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4px;
  }

  .auth-card {
    padding: 24px 20px;
  }

  .auth-support-bar {
    flex-wrap: wrap;
  }

  .auth-support-link {
    margin-left: 0;
    width: 100%;
    text-align: left;
  }

  .btn-support-sm span {
    display: inline;
  }
}

.checkout-form {
  max-width: 520px;
  margin-top: 28px;
  display: grid;
  gap: 12px;
}
.qty-input {
  width: 72px;
  background: #111;
  color: #fff;
  border: 1px solid #333;
  border-radius: 8px;
  padding: 6px 8px;
}
.ghost-btn {
  background: transparent;
  color: #f7971d;
  border: 0;
  cursor: pointer;
}
.auth-feedback {
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 13px;
  line-height: 1.4;
}
.auth-feedback.ok { background: #1d3314; color: #b6e89a; }
.auth-feedback.err { background: #3a1414; color: #ffb4ae; }

/* Logged-in customer portal */
body.is-account-portal .auth-support-bar { display: none; }
.account-page.is-logged-in .account-layout {
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 24px;
}
.portal-user {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  padding: 4px 8px 16px;
  border-bottom: 1px solid var(--dl-border);
}
.portal-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(190, 149, 91, 0.2);
  color: var(--dl-green);
  font-weight: 700;
  flex-shrink: 0;
}
.portal-user strong { display: block; color: #fff; font-size: 14px; }
.portal-user span { display: block; color: var(--dl-text-muted); font-size: 12px; word-break: break-all; }
.portal-hero {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  padding: 28px;
  margin-bottom: 16px;
  border: 1px solid var(--dl-border);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(ellipse at top right, rgba(190, 149, 91, 0.16), transparent 48%),
    var(--dl-bg-tile);
}
.portal-kicker {
  margin: 0 0 8px;
  color: var(--dl-green);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.portal-hero h2 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.2;
}
.portal-hero p {
  margin: 0;
  max-width: 520px;
  color: var(--dl-text-muted);
  font-size: 14px;
  line-height: 1.5;
}
.portal-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}
.portal-stat {
  padding: 18px 16px;
  background: var(--dl-bg-tile);
  border: 1px solid var(--dl-border);
  border-radius: var(--radius-lg);
  display: grid;
  gap: 6px;
  min-height: 110px;
}
.portal-stat span { color: var(--dl-text-muted); font-size: 12px; }
.portal-stat b { color: #fff; font-size: 28px; letter-spacing: -0.03em; line-height: 1; }
.portal-stat small {
  color: var(--dl-text-dim);
  font-size: 12px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.portal-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 14px;
}
.portal-grid--appt { grid-template-columns: 1fr 1fr; }
.portal-panel {
  background: var(--dl-bg-tile);
  border: 1px solid var(--dl-border);
  border-radius: var(--radius-lg);
  padding: 20px;
}
.portal-panel--solo { width: 100%; }
.portal-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--dl-border);
}
.portal-panel-head h3 { margin: 0; color: #fff; font-size: 15px; }
.portal-panel-head a { color: var(--dl-green); font-size: 13px; font-weight: 600; }
.portal-stack { display: grid; gap: 10px; }
.portal-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--dl-border);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.18);
}
.portal-row strong { display: block; color: #fff; font-size: 14px; }
.portal-row small { display: block; margin-top: 4px; color: var(--dl-text-muted); font-size: 12px; line-height: 1.4; }
.portal-row-meta { display: grid; justify-items: end; gap: 6px; }
.portal-row-meta b { color: #fff; }
.portal-row--link { text-decoration: none; color: inherit; transition: border-color 0.2s, background 0.2s; }
.portal-row--link:hover { border-color: rgba(190, 149, 91, 0.5); background: rgba(190, 149, 91, 0.08); }
.portal-link-cta { color: var(--dl-green); font-size: 13px; font-weight: 700; white-space: nowrap; }
.portal-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  text-transform: lowercase;
  background: #222;
  color: #ddd;
}
.portal-badge.ok { background: #1d3314; color: #b6e89a; }
.portal-badge.warn { background: #3a2a0c; color: #ffd089; }
.portal-badge.bad { background: #3a1414; color: #ffb4ae; }
.portal-actions { display: grid; gap: 10px; }
.portal-action {
  display: grid;
  gap: 4px;
  padding: 14px;
  border: 1px solid var(--dl-border);
  border-radius: 12px;
  text-decoration: none;
  background: rgba(0, 0, 0, 0.18);
  transition: border-color 0.2s, background 0.2s;
}
.portal-action:hover { border-color: rgba(190, 149, 91, 0.5); background: rgba(190, 149, 91, 0.08); }
.portal-action strong { color: #fff; font-size: 14px; }
.portal-action span { color: var(--dl-text-muted); font-size: 12px; line-height: 1.4; }
.portal-empty {
  padding: 28px 16px;
  text-align: center;
  border: 1px dashed var(--dl-border);
  border-radius: 12px;
  color: var(--dl-text-muted);
}
.portal-empty strong { display: block; margin-bottom: 6px; color: #fff; }
.portal-empty p { margin: 0 0 14px; font-size: 13px; }
.order-card {
  border: 1px solid var(--dl-border);
  border-radius: 14px;
  padding: 16px;
  background: rgba(0, 0, 0, 0.18);
}
.order-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}
.order-card h4 { margin: 0; color: #fff; font-size: 15px; }
.order-items { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.order-items li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--dl-text-muted);
  font-size: 13px;
}
.order-items b { color: #fff; font-weight: 600; }
.order-card-foot {
  display: flex;
  justify-content: space-between;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--dl-border);
  color: var(--dl-text-muted);
}
.order-card-foot strong { color: #fff; font-size: 16px; }
.portal-form .form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.portal-form textarea,
.portal-form select,
.portal-form input:not([type="checkbox"]) {
  width: 100%;
  box-sizing: border-box;
}
.portal-form-actions { margin-top: 8px; }
.account-page.is-logged-in .account-content { min-width: 0; }

/* ECU file upload wizard */
.ecu-wizard { display: grid; gap: 18px; }
.ecu-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.ecu-steps li {
  display: grid;
  gap: 6px;
  padding: 12px 10px;
  border: 1px solid var(--dl-border);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.2);
  text-align: center;
}
.ecu-steps li span {
  display: inline-flex;
  width: 28px;
  height: 28px;
  margin: 0 auto;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid var(--dl-border);
  color: var(--dl-text-muted);
  font-weight: 700;
  font-size: 12px;
}
.ecu-steps li small {
  color: var(--dl-text-muted);
  font-size: 11px;
  line-height: 1.3;
}
.ecu-steps li.is-active {
  border-color: rgba(8, 124, 255, 0.55);
  background: rgba(8, 124, 255, 0.08);
}
.ecu-steps li.is-active span {
  background: var(--dl-green);
  border-color: var(--dl-green);
  color: #111;
}
.ecu-steps li.is-done span {
  border-color: rgba(190, 149, 91, 0.5);
  color: var(--dl-green);
}
.ecu-pane h3 { margin: 0 0 6px; color: #fff; font-size: 18px; }
.ecu-pane-lead { margin: 0 0 16px; color: var(--dl-text-muted); font-size: 13px; }
.ecu-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 14px;
}
.ecu-more {
  margin: 0 0 14px;
  border: 1px solid var(--dl-border);
  border-radius: 12px;
  padding: 12px 14px;
  background: rgba(0, 0, 0, 0.15);
}
.ecu-more summary {
  cursor: pointer;
  color: #fff;
  font-weight: 600;
  font-size: 13px;
}
.ecu-file-zone { margin-top: 8px; }
.ecu-file-label { margin: 0 0 8px; color: var(--dl-text-muted); font-size: 13px; }
.ecu-drop {
  border: 1px dashed var(--dl-border);
  border-radius: 14px;
  padding: 22px 16px;
  text-align: center;
  background: rgba(0, 0, 0, 0.22);
  position: relative;
  transition: border-color 0.2s, background 0.2s;
  min-height: 88px;
}
.ecu-drop.is-drag,
.ecu-drop:hover { border-color: rgba(8, 124, 255, 0.5); background: rgba(190, 149, 91, 0.08); }
.ecu-drop.has-file { border-style: solid; border-color: rgba(8, 124, 255, 0.35); }
.ecu-drop.is-uploading::after {
  content: "⋯";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 24px;
}
.ecu-file-input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}
.ecu-drop-inner strong { display: block; color: #fff; font-size: 14px; }
.ecu-drop-inner small { display: block; margin-top: 6px; color: var(--dl-text-muted); font-size: 12px; }
.ecu-options { display: grid; gap: 10px; }
.ecu-option {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px;
  border: 1px solid var(--dl-border);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.18);
  cursor: pointer;
}
.ecu-option input { margin-top: 3px; }
.ecu-option span { display: grid; gap: 4px; }
.ecu-option strong { color: #fff; font-size: 14px; }
.ecu-option small { color: var(--dl-green); font-weight: 700; }
.ecu-total-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 16px 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--dl-border);
  color: var(--dl-text-muted);
}
.ecu-total-line strong { color: #fff; font-size: 18px; }
.ecu-subhead { margin: 18px 0 10px; color: #fff; font-size: 14px; }
.ecu-support-files { display: grid; gap: 12px; }
.ecu-review h4 { margin: 14px 0 6px; color: #fff; font-size: 13px; }
.ecu-review p,
.ecu-review ul { color: var(--dl-text-muted); font-size: 13px; }
.ecu-review ul { margin: 0; padding-left: 18px; }
.ecu-pay-note { font-size: 12px; color: var(--dl-text-dim); }
.ecu-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}
.portal-panel--wizard { padding-bottom: 24px; }
.ecu-file-card .ecu-download-btn { margin-top: 12px; display: inline-flex; }
.ecu-status-note { margin: 12px 0 0; font-size: 12px; color: var(--dl-text-muted); }

@media (max-width: 980px) {
  .portal-stats { grid-template-columns: 1fr 1fr; }
  .portal-grid,
  .portal-grid--appt,
  .portal-form .form-grid { grid-template-columns: 1fr; }
  .ecu-form-grid,
  .ecu-steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .portal-hero { flex-direction: column; padding: 20px; }
  .portal-stats { grid-template-columns: 1fr; }
}

.lang-switch, .mobile-lang-row { display: flex; gap: 6px; align-items: center; }
.lang-btn {
  background: transparent;
  border: 1px solid #333;
  color: #b2b2b2;
  min-width: 36px;
  height: 28px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 12px;
}
.lang-btn.is-active { border-color: #3886FF; color: #3886FF; }
.vehicle-finder {
  grid-column: 1 / -1;
  background: #141414;
  border: 1px solid #262626;
  padding: 16px;
  border-radius: 12px;
  margin-bottom: 16px;
}
.vehicle-finder-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
  align-items: end;
}
.vehicle-finder label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: #ccc; }
.vehicle-finder select, .waitlist-form input, .review-form textarea, .review-form select {
  background: #0f0f0f;
  border: 1px solid #333;
  color: #fff;
  padding: 8px;
  border-radius: 8px;
}
.stock-pill { display: inline-block; font-size: 12px; padding: 2px 8px; border-radius: 999px; }
.stock-pill.low { background: #3a2a10; color: #f7c77d; }
.stock-pill.out { background: #3a1414; color: #ffb4ae; }
.compat-list { color: #bbb; font-size: 14px; }
.review-block { margin-top: 32px; }
.review-item { border-top: 1px solid #222; padding: 12px 0; }
.verified { color: #3886FF; font-size: 12px; }
.review-form, .waitlist-form { display: grid; gap: 8px; max-width: 480px; margin-top: 12px; }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.gallery-item {
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: #181b1f;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 200px;
  overflow: hidden;
}
.gallery-item img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
  display: block;
  margin: auto;
  transition: transform 0.25s ease;
}
.gallery-item:hover img {
  transform: scale(1.04);
}
.gallery-lightbox {
  position: fixed; inset: 0; background: rgba(0,0,0,.85); z-index: 1200;
  display: grid; place-items: center;
}
.gallery-lightbox[hidden] { display: none !important; }
.gallery-lightbox img { max-width: 90vw; max-height: 85vh; }
.gallery-lightbox-close { position: absolute; top: 16px; right: 20px; background: none; border: 0; color: #fff; font-size: 32px; cursor: pointer; }
.dg-chat-widget { position: fixed; right: 24px; bottom: 160px; z-index: 1001; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.dg-chat-toggle { width: 52px; height: 52px; border-radius: 50%; border: 0; background: #061321; color: #d49b42; box-shadow: 0 4px 16px rgba(0,0,0,.4); cursor: pointer; }
.dg-chat-toggle svg { width: 22px; height: 22px; fill: currentColor; }
.dg-chat-panel { width: min(340px, calc(100vw - 32px)); background: #020814; border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 16px; overflow: hidden; box-shadow: 0 16px 40px rgba(0,0,0,.45); }
.dg-chat-panel.is-hidden { display: none; }
.dg-chat-header { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; background: #111; border-bottom: 1px solid #16385C; }
.dg-chat-header strong { font-size: 14px; }
.dg-chat-close { background: none; border: 0; color: #fff; font-size: 22px; line-height: 1; cursor: pointer; }
.dg-chat-body { display: flex; flex-direction: column; }
.dg-chat-messages { height: 240px; overflow: auto; padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.dg-chat-msg { max-width: 85%; padding: 8px 10px; border-radius: 10px; font-size: 13px; line-height: 1.4; }
.dg-chat-msg p { margin: 0; }
.dg-chat-msg--user { align-self: flex-end; background: #1d3314; }
.dg-chat-msg--agent { align-self: flex-start; background: #222; }
.dg-chat-compose { display: flex; gap: 8px; padding: 10px 12px; border-top: 1px solid #16385C; }
.dg-chat-compose input { flex: 1; min-width: 0; background: #0f0f0f; border: 1px solid #333; color: #fff; padding: 10px 12px; border-radius: 10px; }
.dg-chat-compose button { flex: 0 0 auto; background: #fff; color: #111; border: 0; border-radius: 10px; padding: 10px 14px; font-weight: 700; cursor: pointer; }
.dg-chat-wa { display: block; text-align: center; padding: 10px 12px 12px; color: #d49b42; font-size: 12px; text-decoration: none; border-top: 1px solid #16385C; }
.dg-chat-gate { padding: 22px 16px 8px; text-align: center; }
.dg-chat-gate p { margin: 0 0 16px; color: #cfcfcf; font-size: 14px; line-height: 1.45; }
.dg-chat-gate-actions { display: grid; gap: 8px; margin-bottom: 8px; }
.dg-chat-gate-btn { display: block; padding: 11px 14px; border-radius: 10px; border: 1px solid #333; color: #fff; text-decoration: none; font-size: 13px; font-weight: 600; }
.dg-chat-gate-btn--primary { background: #d49b42; border-color: #d49b42; color: #FFFFFF; }
.dg-chat-gate .dg-chat-wa { border-top: 0; padding-top: 4px; }
.pay-actions { display: flex; gap: 8px; flex-wrap: wrap; margin: 12px 0; }
.invoice-card { border-top: 1px solid #222; padding: 10px 0; }
.product-rating { color: #f7c77d; font-size: 13px; margin: 4px 0; }

.vehicle-search-wrap { position: relative; }
.vehicle-search-dropdown {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 4px);
  z-index: 1200;
  background: #141414;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  max-height: 280px;
  overflow: auto;
  box-shadow: 0 12px 32px rgba(0,0,0,.45);
}
.vehicle-search-item {
  display: grid;
  gap: 2px;
  width: 100%;
  text-align: left;
  padding: 10px 12px;
  border: 0;
  background: transparent;
  color: #ddd;
  cursor: pointer;
}
.vehicle-search-item:hover { background: #061321; }
.vehicle-search-type { font-size: 11px; color: #8a8a8a; text-transform: uppercase; }
.portal-timeline {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.portal-timeline li {
  display: grid;
  grid-template-columns: 12px 1fr;
  gap: 10px;
  align-items: start;
}
.portal-timeline-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d49b42;
  margin-top: 4px;
}
.portal-timeline small { color: var(--dl-text-muted); display: block; margin-top: 2px; }
.tuning-search { margin: 16px 0; max-width: 520px; }
.ecu-pay-btn { margin-top: 12px; }

.trust-badges { margin: 0 0 24px; }
.trust-badges__title { font-size: 18px; margin: 0 0 14px; color: #fff; }
.trust-badges__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
}
.trust-badge {
  background: #141414;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 12px 14px;
  display: grid;
  gap: 6px;
}
.trust-badge__icon { font-size: 18px; }
.trust-badge strong { font-size: 13px; color: #fff; }

.compare-title { margin: 0 0 12px; color: #fff; font-size: 18px; }
.compare-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.compare-table th,
.compare-table td {
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 10px 8px;
  text-align: center;
}
.compare-table th { background: #1a1a1a; color: #fff; }
.compare-table tr th:first-child,
.compare-table tr td:first-child { text-align: left; }
.compare-price-row td,
.compare-price-row th { background: #111; }

.ecu-vin-btn { margin-top: 8px; width: 100%; }

@media (max-width: 768px) {
  .ecu-wizard-grid,
  .ecu-form-grid,
  .form-grid,
  .portal-grid {
    grid-template-columns: 1fr !important;
  }
  .portal-page.is-logged-in .account-layout {
    grid-template-columns: 1fr;
  }
  .account-sidebar {
    position: static;
  }
  .compare-table { font-size: 12px; }
  .header-search input[type="search"] { min-width: 0; }
}

.trust-badge--clickable { cursor: pointer; transition: transform 0.15s, box-shadow 0.15s; }
.trust-badge--clickable:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(190, 149, 91, 0.25); }
.trust-badge--clickable:active { transform: scale(0.97); }

.trust-modal { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: center; justify-content: center; }
.trust-modal[hidden] { display: none; }
.trust-modal__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.7); }
.trust-modal__box { position: relative; background: var(--dl-bg-tile, #061321); border: 1px solid var(--dl-border, #16385C); border-radius: 12px; padding: 32px 28px; max-width: 440px; width: 90%; text-align: center; box-shadow: 0 20px 50px rgba(0,0,0,0.5); }
.trust-modal__close { position: absolute; top: 12px; right: 16px; background: none; border: 0; color: #fff; font-size: 28px; cursor: pointer; line-height: 1; }
.trust-modal__icon { font-size: 48px; margin-bottom: 12px; }
.trust-modal__title { font-size: 18px; font-weight: 700; color: var(--dl-orange, #3886FF); margin: 0 0 12px; }
.trust-modal__desc { font-size: 14px; line-height: 1.6; color: var(--dl-text-muted, #7898A3); margin: 0; }


/* ==========================================================================
   ULTRA-PREMIUM FORM CONTROLS, SELECT DROPDOWNS & BUTTONS
   ========================================================================== */

/* Universal Form Field Labels */
.form-field label,
.auth-field label,
.portal-form label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #94a3b8;
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}

/* Universal Inputs & Selects */
.form-field input:not([type="checkbox"]):not([type="radio"]),
.form-field select,
.form-field textarea,
.portal-form input:not([type="checkbox"]):not([type="radio"]),
.portal-form select,
.portal-form textarea,
.auth-field input:not([type="checkbox"]):not([type="radio"]),
.auth-field select,
.auth-field textarea,
.cart-form input,
.cart-form select,
.review-form select,
.review-form textarea,
.review-form input {
  width: 100% !important;
  box-sizing: border-box !important;
  height: auto !important;
  min-height: 46px !important;
  padding: 10px 14px !important;
  background-color: #282c31 !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  border-radius: 8px !important;
  color: #f8fafc !important;
  font-size: 14px !important;
  font-family: inherit !important;
  line-height: 1.4 !important;
  outline: none !important;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2) !important;
}

/* Custom Styled Select Dropdowns */
.form-field select,
.portal-form select,
.auth-field select,
.cart-form select,
.review-form select {
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  cursor: pointer !important;
  padding-right: 38px !important;
  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='%2338bdf8' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 12px center !important;
  background-size: 16px 16px !important;
}

/* Select Dropdown Options */
select option {
  background-color: #282c31 !important;
  color: #f8fafc !important;
  padding: 12px 14px !important;
  font-size: 14px !important;
}

select option:hover,
select option:checked {
  background-color: #282c31 !important;
  color: #ffffff !important;
}

/* Focus States with Vibrant Glow */
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus,
.portal-form input:focus,
.portal-form select:focus,
.portal-form textarea:focus,
.auth-field input:focus,
.auth-field select:focus,
.auth-field textarea:focus,
.cart-form input:focus,
.cart-form select:focus {
  border-color: #38bdf8 !important;
  background-color: #282c31 !important;
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.25), inset 0 1px 2px rgba(0,0,0,0.2) !important;
}

/* Placeholder Styling */
::placeholder {
  color: #64748b !important;
  opacity: 1 !important;
  font-size: 13.5px !important;
}

/* Textarea Min-Height */
.form-field textarea,
.portal-form textarea {
  min-height: 84px !important;
  resize: vertical !important;
}

/* Universal Button Fix - No Overflow, Clean Padding */
.btn-auth,
.btn-auth-portal,
.btn-learn,
.btn-submit,
.btn-add-cart,
.btn-book-appt {
  height: auto !important;
  min-height: 48px !important;
  padding: 12px 24px !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
  letter-spacing: 0.03em !important;
  border-radius: 8px !important;
  box-sizing: border-box !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  white-space: normal !important;
  word-wrap: break-word !important;
  text-decoration: none !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}

.btn-auth:hover,
.btn-auth-portal:hover,
.btn-learn:hover,
.btn-book-appt:hover {
  transform: translateY(-1px) !important;
  filter: brightness(1.1) !important;
}

.btn-auth:active,
.btn-learn:active {
  transform: translateY(0) !important;
}

/* Appointment Form Card Layout */
.portal-grid--appt {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 20px;
  align-items: start;
}

@media (max-width: 860px) {
  .portal-grid--appt {
    grid-template-columns: 1fr;
  }
}


/* ==========================================================================
   CREATIVE & ULTRA-MODERN CATEGORY TILES WITH FLOATING VEHICLE IMAGES
   ========================================================================== */

.dl-tiles {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
  gap: 16px !important;
  width: 100% !important;
}

@media (min-width: 900px) {
  .dl-tiles {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

.dl-tile {
  position: relative !important;
  background: linear-gradient(135deg, #2a2d32 0%, #1e2024 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 12px !important;
  padding-left: 24px !important;
  padding-right: 8px !important;
  height: 116px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  overflow: hidden !important;
  text-decoration: none !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35) !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.dl-tile::before {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  height: 1px !important;
  background: linear-gradient(90deg, transparent, rgba(212, 155, 66, 0.4), transparent) !important;
}

.dl-tile:hover {
  background: linear-gradient(135deg, #33373d 0%, #24272c 100%) !important;
  border-color: rgba(212, 155, 66, 0.6) !important;
  box-shadow: 0 12px 28px -4px rgba(0, 0, 0, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.15), 0 0 16px rgba(212, 155, 66, 0.25) !important;
  transform: translateY(-3px) !important;
}

.dl-tile__title {
  color: #ffffff !important;
  font-family: inherit !important;
  font-weight: 800 !important;
  font-size: 19px !important;
  line-height: 1.25 !important;
  letter-spacing: -0.01em !important;
  margin: 0 !important;
  white-space: pre-line !important;
  z-index: 2 !important;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6) !important;
  transition: color 0.2s ease !important;
}

.dl-tile:hover .dl-tile__title {
  color: #d49b42 !important;
}

.dl-tile__img {
  height: 110% !important;
  max-height: 125px !important;
  width: auto !important;
  object-fit: contain !important;
  flex: 0 0 auto !important;
  filter: drop-shadow(-6px 8px 14px rgba(0, 0, 0, 0.65)) !important;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), filter 0.35s ease !important;
  transform: scale(1) translateX(0) !important;
  z-index: 1 !important;
}

.dl-tile:hover .dl-tile__img {
  transform: scale(1.1) translateX(-6px) translateY(-2px) !important;
  filter: drop-shadow(-8px 12px 18px rgba(0, 0, 0, 0.7)) !important;
}


/* ==========================================================================
   FIX: AUTH INPUTS & ICONS NO-OVERLAP PADDING (LOGIN / REGISTER / PORTAL)
   ========================================================================== */
.auth-field {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  width: 100% !important;
}

.auth-field input,
.auth-field input:not([type="checkbox"]):not([type="radio"]),
.auth-field input[type="email"],
.auth-field input[type="password"],
.auth-field input[type="text"],
.auth-field input[type="tel"] {
  padding-left: 48px !important;
  padding-right: 48px !important;
  box-sizing: border-box !important;
}

.auth-field input:placeholder-shown {
  text-indent: 0 !important;
}

.auth-field-icon {
  position: absolute !important;
  left: 16px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 20px !important;
  height: 20px !important;
  color: #94a3b8 !important;
  pointer-events: none !important;
  z-index: 5 !important;
}

.auth-field-icon svg {
  display: block !important;
  width: 18px !important;
  height: 18px !important;
  stroke: #94a3b8 !important;
}

.auth-pass-toggle {
  position: absolute !important;
  right: 12px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 32px !important;
  height: 32px !important;
  background: transparent !important;
  border: none !important;
  color: #94a3b8 !important;
  cursor: pointer !important;
  z-index: 5 !important;
}

.auth-pass-toggle:hover {
  color: #ffffff !important;
}
.auth-pass-toggle:hover svg {
  stroke: #ffffff !important;
}


/* Product Page Actions Layout */
.product-actions-group {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.product-buy-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.product-buy-row label.product-qty-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: #FFFFFF;
}
.product-buy-row .qty-input {
  width: 58px;
  height: 44px;
  background: #1e2226;
  border: 1px solid #3d444d;
  color: #ffffff;
  border-radius: 6px;
  text-align: center;
  font-weight: 700;
  font-size: 16px;
}
.product-buy-row .btn-add-cart {
  min-height: 44px;
  padding: 0 28px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.product-book-row {
  margin-top: 2px;
}
.btn-book-appt {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 22px;
  background: #252a30;
  color: #f5f7f8;
  border: 1px solid #3d444d;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14.5px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  max-width: 320px;
}
.btn-book-appt:hover {
  background: #d49b42;
  color: #14171a;
  border-color: #d49b42;
  box-shadow: 0 6px 18px rgba(212, 155, 66, 0.35);
}

/* Client Request: Buradaki sarıların içindeki yazılar beyaz olsun */
.product-tag,
.product-tags span,
.product-tags .product-tag {
  color: #ffffff !important;
  font-weight: 500 !important;
  border: 1px solid #b28a52 !important;
  background: rgba(178, 138, 82, 0.14) !important;
}

.btn-learn,
.btn-add-cart,
.btn-book-appt,
.btn-reservation,
.product-card-footer a,
a.btn-learn,
button.btn-learn {
  color: #ffffff !important;
  font-weight: 700 !important;
}

.btn-learn:hover,
.btn-add-cart:hover,
.btn-book-appt:hover {
  color: #ffffff !important;
}


/* === Mobile Usability & Layering Enhancements === */
.mobile-topbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  flex-shrink: 0;
}

.mobile-cart-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  transition: transform 0.15s, opacity 0.15s;
}

.mobile-cart-btn:active {
  transform: scale(0.92);
}

.mobile-cart-btn svg {
  width: 22px;
  height: 22px;
  stroke: #ffffff;
}

.mobile-cart-btn .cart-badge {
  position: absolute;
  top: 0px;
  right: 0px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  font-size: 10px;
  font-weight: 800;
  line-height: 16px;
  text-align: center;
  background: #be955b;
  color: #ffffff;
  border-radius: 8px;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99999 !important;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.mobile-nav.is-open {
  display: block !important;
}

.mobile-nav-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(350px, 85vw);
  height: 100%;
  background: var(--dl-bg-top);
  padding: 24px 20px 60px 20px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  box-shadow: -6px 0 24px rgba(0, 0, 0, 0.5);
  z-index: 100000 !important;
}

body.overflow-hidden {
  overflow: hidden !important;
}

body.overflow-hidden .dg-wa-float,
body.overflow-hidden #privacy-popup {
  display: none !important;
}


/* ==========================================================================
   CUSTOMER PORTAL & ACCOUNT AREA MOBILE RESPONSIVE FIX
   ========================================================================== */
@media (max-width: 991px) {
  .account-layout,
  body.is-account-portal .account-layout,
  .account-page.is-logged-in .account-layout {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
    width: 100% !important;
    max-width: 100% !important;
    grid-template-columns: 1fr !important;
  }

  .account-sidebar,
  body.is-account-portal .account-sidebar,
  .account-page.is-logged-in .account-sidebar {
    width: 100% !important;
    max-width: 100% !important;
    position: static !important;
    margin: 0 !important;
    flex: none !important;
  }

  .account-sidebar-card {
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 16px !important;
    background: linear-gradient(135deg, #24282e 0%, #1a1d21 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 12px !important;
  }

  .account-nav {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
  }

  .account-nav a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 10px 8px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: #cbd5e1 !important;
    transition: all 0.2s ease !important;
  }

  .account-nav a.is-active {
    background: linear-gradient(135deg, #be955b 0%, #9d7845 100%) !important;
    border-color: rgba(255, 255, 255, 0.25) !important;
    color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
  }

  .account-nav a:hover:not(.is-active) {
    background: rgba(255, 255, 255, 0.12) !important;
    color: #ffffff !important;
  }

  .account-logout {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    margin-top: 4px !important;
    padding: 10px !important;
    border-radius: 8px !important;
    background: rgba(239, 68, 68, 0.15) !important;
    border: 1px solid rgba(239, 68, 68, 0.3) !important;
    color: #fca5a5 !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    text-align: center !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
  }

  .account-logout:hover {
    background: rgba(239, 68, 68, 0.25) !important;
    color: #ffffff !important;
  }

  .account-content,
  .account-page.is-logged-in .account-content {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    flex: 1 !important;
  }

  .portal-hero {
    flex-direction: column !important;
    padding: 20px 16px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    border-radius: 12px !important;
    background: linear-gradient(135deg, #24282e 0%, #191c20 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
  }

  .portal-hero h2 {
    font-size: 1.35rem !important;
    word-break: break-word !important;
  }

  .portal-hero p {
    font-size: 13.5px !important;
  }

  .portal-stats {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  @media (max-width: 480px) {
    .portal-stats {
      grid-template-columns: repeat(2, 1fr) !important;
      gap: 8px !important;
    }
  }

  .portal-stat {
    min-height: auto !important;
    padding: 14px 12px !important;
    box-sizing: border-box !important;
    background: linear-gradient(135deg, #24282e 0%, #1a1d21 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 10px !important;
  }

  .portal-stat b {
    font-size: 24px !important;
  }

  .portal-grid,
  .portal-grid--appt {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .portal-panel {
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 16px !important;
    background: linear-gradient(135deg, #24282e 0%, #1a1d21 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 12px !important;
  }

  .portal-empty,
  .portal-action,
  .order-card {
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .account-content,
  .portal-stack,
  .portal-panel,
  .portal-grid,
  .portal-grid--solo {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow-x: hidden !important;
    box-sizing: border-box !important;
  }

  .order-card,
  .ecu-file-card {
    padding: 14px 12px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    word-break: break-word !important;
  }

  .ecu-files-list,
  .ecu-files-list * {
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .ecu-files-list span,
  .ecu-files-list b,
  .ecu-filename,
  .order-card h4,
  .order-card small {
    overflow-wrap: anywhere !important;
    word-break: break-all !important;
    white-space: normal !important;
  }

  .ecu-file-row,
  .ecu-files-list div[style*="display:flex"] {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 8px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .ecu-file-row a.btn-learn,
  .ecu-files-list a.btn-learn,
  .ecu-file-dl {
    width: 100% !important;
    text-align: center !important;
    justify-content: center !important;
    display: flex !important;
    white-space: normal !important;
    box-sizing: border-box !important;
    padding: 8px 12px !important;
  }

  .ecu-attach-box,
  div[style*="border:1px dashed"] {
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .ecu-attach-row,
  div[style*="border:1px dashed"] > div {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 8px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .ecu-attach-input,
  div[style*="border:1px dashed"] input[type="file"] {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    font-size: 11px !important;
  }

  .ecu-attach-btn,
  div[style*="border:1px dashed"] button {
    width: 100% !important;
    text-align: center !important;
    justify-content: center !important;
    display: flex !important;
    white-space: normal !important;
    box-sizing: border-box !important;
    padding: 8px 12px !important;
  }

  .ecu-card-actions,
  .order-card div[style*="gap:8px;margin-top:14px"] {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    gap: 8px !important;
    box-sizing: border-box !important;
  }

  .ecu-card-actions button,
  .ecu-card-actions a,
  .order-card div[style*="gap:8px;margin-top:14px"] button,
  .order-card div[style*="gap:8px;margin-top:14px"] a,
  .order-card .ecu-pay-btn,
  .order-card .ecu-download-btn {
    width: 100% !important;
    text-align: center !important;
    justify-content: center !important;
    display: flex !important;
    align-items: center !important;
    white-space: normal !important;
    word-break: break-word !important;
    box-sizing: border-box !important;
    padding: 10px 14px !important;
    font-size: 13px !important;
  }
}

