: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: #67a739;
  --dl-green-hover: #59c70b;
  --dl-green-40: rgba(103, 167, 57, 0.4);
  --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: #67a739;
  --dl-orange-hover: #59c70b;
  --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: 10px;
  height: 32px;
  padding: 8px 14px;
  border-radius: var(--radius-lg);
  background: var(--dl-green-40);
  color: #fff;
  font-size: 12px;
  text-transform: uppercase;
  transition: background 0.2s, color 0.2s;
}

.header-login:hover {
  background: var(--dl-green-hover);
}

.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: 10px;
  flex-shrink: 0;
  margin: 0;
  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;
}

.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;
  color: var(--dl-green, #67a739) !important;
  transition: color 0.2s ease;
}
.tiles-top__catalog:hover .tiles-top__catalog-arrow {
  color: var(--dl-green-hover, #59c70b) !important;
}

.dl-tiles {
  --grid-gap: 10px;
  --card-r: 8px;
  --card-gap: 12px;
  --pad-l: 20px;
  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: 0 16px 0 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: 86px;
  width: 86px;
  max-height: 86px;
  max-width: 86px;
  object-fit: contain;
  object-position: center center;
  flex: 0 0 86px;
  border-radius: 6px;
}

/* 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: 48px;
  height: 48px;
  padding: 0;
  gap: 0;
  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(103, 167, 57, 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: #252525;
  overflow: hidden;
}

.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.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(103, 167, 57, 0.15);
  color: var(--dl-green);
  border: 1px solid rgba(103, 167, 57, 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: var(--dl-green-40);
  color: #fff;
  font-size: 12px;
  text-transform: uppercase;
}

.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(103, 167, 57, 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: 480px;
  background:
    linear-gradient(180deg, rgba(15, 17, 21, 0.20) 0%, rgba(15, 17, 21, 0.50) 50%, rgba(15, 17, 21, 0.92) 100%),
    url("../assets/auth-hero.jpg?v=hero2026v1") center / cover no-repeat;
}
.auth-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(15, 17, 21, 0.85) 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(103, 167, 57, 0.08), transparent 45%),
    var(--dl-bg-footer);
}
.auth-panel-card {
  border: 1px solid rgba(103, 167, 57, 0.35);
  border-radius: 16px;
  padding: 24px;
  background: rgba(0, 0, 0, 0.28);
  box-shadow: 0 0 0 1px rgba(103, 167, 57, 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(103, 167, 57, 0.12);
  border: 1px solid rgba(103, 167, 57, 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(103, 167, 57, 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(103, 167, 57, 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 img {
  width: 100%;
  border-radius: var(--radius-md);
  background: var(--dl-bg-tile);
}

.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: var(--dl-orange);
  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(103, 167, 57, 0.18);
  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(103, 167, 57, 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(103, 167, 57, 0.45); background: rgba(103, 167, 57, 0.06); }
.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(103, 167, 57, 0.45); background: rgba(103, 167, 57, 0.06); }
.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(103, 167, 57, 0.55);
  background: rgba(103, 167, 57, 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(103, 167, 57, 0.45);
  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(103, 167, 57, 0.5); background: rgba(103, 167, 57, 0.06); }
.ecu-drop.has-file { border-style: solid; border-color: rgba(103, 167, 57, 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: 0; border: 0; background: #111; cursor: pointer; }
.gallery-item img { width: 100%; height: 180px; object-fit: cover; display: block; }
.about-story {
  max-width: 920px;
  margin: 8px auto 40px;
  color: rgba(226, 232, 240, 0.92);
  font-size: 1.05rem;
  line-height: 1.7;
}
.about-story .about-lead {
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  line-height: 1.35;
  color: #f8fafc;
  font-weight: 600;
  margin: 0 0 1.25rem;
}
.about-story p { margin: 0 0 1.1rem; }
.about-pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin: 2rem 0 1.75rem;
}
.about-pillars article {
  padding: 1.15rem 1.2rem 1.25rem;
  background: linear-gradient(165deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.1);
}
.about-pillars h3 {
  margin: 0 0 .55rem;
  font-size: 1.05rem;
  color: var(--dl-green, #67a739);
}
.about-pillars p {
  margin: 0;
  font-size: .95rem;
  color: rgba(203, 213, 225, .9);
  line-height: 1.55;
}
.contact-wa-page {
  max-width: 640px;
  margin: 12px auto 56px;
  color: rgba(226, 232, 240, .92);
}
.contact-wa-lead {
  margin: 0 0 1.5rem;
  font-size: 1.08rem;
  line-height: 1.65;
  color: rgba(226, 232, 240, .88);
}
.contact-wa-card {
  text-align: center;
  padding: 1.75rem 1.5rem 1.85rem;
  background: linear-gradient(165deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  border: 1px solid rgba(103, 167, 57, .28);
}
.contact-wa-label {
  margin: 0 0 .35rem;
  font-size: .8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(103, 167, 57, .95);
  font-weight: 700;
}
.contact-wa-number {
  margin: 0 0 .5rem;
  font-size: clamp(1.45rem, 3vw, 1.85rem);
  font-weight: 700;
  color: #f8fafc;
  letter-spacing: .02em;
}
.contact-wa-meta {
  margin: 0 0 1.25rem;
  font-size: .95rem;
  color: rgba(148, 163, 184, .95);
}
.contact-wa-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 240px;
  padding: 14px 28px;
  background: #25d366;
  color: #fff !important;
  text-decoration: none !important;
  font-weight: 700;
  letter-spacing: .02em;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 10px;
}
.contact-wa-btn:hover { background: #1ebe57; }
.contact-wa-topics {
  margin: 1.75rem 0 0;
  padding: 0 0 0 1.15rem;
  color: rgba(203, 213, 225, .9);
  line-height: 1.7;
}
.contact-wa-topics li { margin: .35rem 0; }
.contact-wa-only {
  max-width: 520px;
  margin: 28px auto 48px;
  text-align: center;
  color: rgba(226, 232, 240, .9);
  font-size: 1.1rem;
  line-height: 1.6;
}
.devices-lead { margin: 0 0 28px; max-width: 42rem; color: rgba(255,255,255,.72); font-size: 1.05rem; line-height: 1.5; }
.devices-empty { margin: 48px 0; color: rgba(255,255,255,.55); }
.devices-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.device-card { display: flex; flex-direction: column; text-decoration: none; color: inherit; background: rgba(10,12,16,.55); border: 1px solid rgba(255,255,255,.08); }
.device-card-media { background: #111; aspect-ratio: 4 / 3; overflow: hidden; }
.device-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.device-card-media--placeholder { background: linear-gradient(160deg, #2a3038, #14171a); }
.device-card-body { padding: 16px 18px 20px; }
.device-card-body h2,
.device-card-body h3 { margin: 0 0 8px; font-size: 1.15rem; color: #f2f2f2; }
.device-card-body p { margin: 0; color: rgba(255,255,255,.65); font-size: .95rem; line-height: 1.45; }
.device-sku { margin-top: 10px !important; font-size: .8rem !important; letter-spacing: .04em; text-transform: uppercase; color: rgba(103, 167, 57, .9) !important; }
.device-price { margin-top: 0 !important; font-size: 1.15rem !important; font-weight: 800 !important; color: #67a739 !important; }
.device-card-body h2 a,
.device-card-body h3 a { color: inherit; text-decoration: none; }
.device-card-body h2 a:hover,
.device-card-body h3 a:hover { color: #67a739; }
.device-card .product-card-footer { margin-top: 4px; }
.device-add-cart {
  margin-top: 14px !important;
  width: 100%;
  min-height: 44px;
  border: 0 !important;
  border-radius: 8px !important;
  background: linear-gradient(135deg, #72b83a 0%, #67a739 100%) !important;
  color: #fff !important;
  font-weight: 700 !important;
  cursor: pointer;
}
.device-add-cart:hover { filter: brightness(1.06); }
.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 {
  position: relative;
  width: auto;
  max-width: min(280px, calc(100vw - 40px));
  height: auto;
  min-height: 48px;
  border-radius: 999px;
  border: 0;
  padding: 12px 18px 12px 14px;
  gap: 10px;
  background: linear-gradient(135deg, #72b83a 0%, #67a739 55%, #5e9933 100%);
  color: #fff;
  box-shadow:
    0 2px 0 rgba(255, 255, 255, 0.2) inset,
    0 8px 22px rgba(103, 167, 57, 0.38),
    0 2px 8px rgba(0, 0, 0, 0.28);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
  -webkit-tap-highlight-color: transparent;
}
.dg-chat-toggle::before {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 999px;
  border: 2px solid rgba(103, 167, 57, 0.4);
  opacity: 0.7;
  animation: dg-chat-pulse 2.4s ease-out infinite;
  pointer-events: none;
}
.dg-chat-toggle::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 999px;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.16) inset;
  pointer-events: none;
}
.dg-chat-toggle:hover {
  filter: brightness(1.06);
  transform: translateY(-2px) scale(1.02);
  box-shadow:
    0 2px 0 rgba(255, 255, 255, 0.26) inset,
    0 12px 28px rgba(103, 167, 57, 0.48),
    0 4px 12px rgba(0, 0, 0, 0.3);
}
.dg-chat-toggle:active {
  transform: translateY(0) scale(0.98);
  filter: brightness(0.98);
}
.dg-chat-toggle:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}
.dg-chat-toggle-ico {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  display: block;
  position: relative;
  z-index: 1;
}
.dg-chat-toggle-label {
  position: relative;
  z-index: 1;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.01em;
  text-align: left;
  white-space: normal;
}
@keyframes dg-chat-pulse {
  0% { transform: scale(0.96); opacity: 0.75; }
  70% { transform: scale(1.08); opacity: 0; }
  100% { transform: scale(1.08); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .dg-chat-toggle::before { animation: none; opacity: 0.35; }
  .dg-chat-toggle,
  .dg-chat-toggle:hover,
  .dg-chat-toggle:active { transition: none; transform: none; }
}
body.shop-vitrine .dg-chat-widget { bottom: 28px; right: 22px; z-index: 1002; }
body.shop-vitrine .dg-chat-toggle {
  background: linear-gradient(135deg, #72b83a 0%, #67a739 55%, #5e9933 100%);
  color: #fff;
}
@media (max-width: 900px) {
  body.shop-vitrine .dg-chat-widget { bottom: 22px; right: 14px; }
  body.shop-vitrine:has(#privacy-popup.is-visible) .dg-chat-widget { bottom: 96px; }
  body.shop-vitrine .dg-chat-toggle {
    max-width: min(240px, calc(100vw - 28px));
    min-height: 46px;
    padding: 10px 14px 10px 12px;
    gap: 8px;
  }
  body.shop-vitrine .dg-chat-toggle-ico { width: 20px; height: 20px; }
  body.shop-vitrine .dg-chat-toggle-label { font-size: 12px; }
}
.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: #67a739; 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: #67a739; border-color: #67a739; 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: #67a739;
  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(103, 167, 57, 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='%23ff6e00' 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: #67a739 !important;
  background-color: #282c31 !important;
  box-shadow: 0 0 0 3px rgba(103, 167, 57, 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(103, 167, 57, 0.4), transparent) !important;
}

.dl-tile:hover {
  background: linear-gradient(135deg, #33373d 0%, #24272c 100%) !important;
  border-color: rgba(103, 167, 57, 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(103, 167, 57, 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: #67a739 !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: #67a739;
  color: #14171a;
  border-color: #67a739;
  box-shadow: 0 6px 18px rgba(103, 167, 57, 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 #67a739 !important;
  background: rgba(103, 167, 57, 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: #67a739;
  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;
}

/* ===== 808-style shop vitrine (Diesel tokens) ===== */
.shop-section {
  margin: 2rem 0 2.5rem;
}
.shop-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.1rem;
  flex-wrap: wrap;
}
.shop-section-head h2 {
  margin: 0;
  font-family: var(--font-sans);
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-weight: 700;
  color: var(--dl-text);
  letter-spacing: 0.01em;
}
.shop-section-head a {
  color: var(--dl-green);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  white-space: nowrap;
}
.shop-section-head a:hover {
  color: #fff;
  text-decoration: underline;
}

.shop-grid,
.product-grid.shop-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.1rem 1rem;
}

.shop-card,
.product-card.shop-card {
  background: rgba(6, 19, 33, 0.72);
  border: 1px solid var(--dl-border);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
  filter: none;
}
.shop-card:hover,
.product-card.shop-card:hover {
  transform: translateY(-3px);
  border-color: rgba(103, 167, 57, 0.45);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
  filter: none;
}
.shop-card-media,
.shop-card .product-card-image {
  display: block;
  aspect-ratio: 1 / 1;
  background: #0a1520;
  overflow: hidden;
}
.shop-card-media img,
.shop-card .product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}
.shop-card:hover .shop-card-media img,
.shop-card:hover .product-card-image img {
  transform: scale(1.04);
}
.shop-card-body,
.shop-card .product-card-body {
  padding: 0.85rem 0.9rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  flex: 1;
}
.shop-card-body h3,
.shop-card h3 {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.35;
  font-weight: 600;
  flex: 1;
}
.shop-card-body h3 a,
.shop-card h3 a {
  color: #fff;
  text-decoration: none;
}
.shop-card-body h3 a:hover,
.shop-card h3 a:hover {
  color: var(--dl-green);
}
.shop-card-price,
.shop-card .product-card-footer {
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
  flex-wrap: wrap;
  border-top: none;
  padding-top: 0.15rem;
  margin-top: auto;
}
.shop-card .product-price {
  font-size: 1.05rem;
  color: var(--dl-green);
}
.shop-card .product-price-old,
.shop-price-old {
  font-size: 0.85rem;
  color: var(--dl-text-muted);
  text-decoration: line-through;
}
.shop-badge-sale,
.shop-card .product-badge.sale {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  background: #c0392b;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 4px 8px;
  border-radius: 4px;
  text-transform: uppercase;
}
.shop-card .product-badge:not(.sale) {
  background: var(--dl-green);
  color: #111;
}
.shop-card .product-tags,
.shop-card .product-rating,
.shop-card .btn-learn {
  display: none;
}

.shop-cat-strip.dl-tiles,
.dl-tiles.shop-cat-strip {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 0.55rem !important;
  margin: 0.5rem 0 1.5rem !important;
  grid-template-columns: none !important;
}
.shop-cat-strip .dl-tile,
.shop-cat-strip .dl-tile.shop-cat-chip,
.shop-cat-chip {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 0.45rem !important;
  padding: 0.55rem 0.85rem !important;
  background: rgba(6, 19, 33, 0.85) !important;
  border: 1px solid var(--dl-border) !important;
  border-radius: 999px !important;
  color: #fff !important;
  text-decoration: none !important;
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  max-width: 100% !important;
  aspect-ratio: auto !important;
  min-height: 0 !important;
  height: auto !important;
  width: auto !important;
  box-shadow: none !important;
  overflow: visible !important;
  transform: none !important;
}
.shop-cat-strip .dl-tile::before,
.shop-cat-chip::before {
  display: none !important;
}
.shop-cat-strip .dl-tile:hover,
.shop-cat-strip .dl-tile.shop-cat-chip:hover,
.shop-cat-chip:hover {
  border-color: var(--dl-green) !important;
  color: var(--dl-green) !important;
  filter: none !important;
  transform: none !important;
  box-shadow: none !important;
  background: rgba(6, 19, 33, 0.95) !important;
}
.shop-cat-strip .dl-tile__title {
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  margin: 0 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  max-width: 14rem !important;
  line-height: 1.2 !important;
  text-shadow: none !important;
}
.shop-cat-strip .dl-tile__img {
  width: 28px !important;
  height: 28px !important;
  max-height: 28px !important;
  max-width: 28px !important;
  object-fit: cover !important;
  border-radius: 50% !important;
  position: static !important;
  margin: 0 !important;
  flex: 0 0 auto !important;
  filter: none !important;
  transform: none !important;
}
.shop-cat-strip .dl-tile:hover .dl-tile__img {
  transform: none !important;
  filter: none !important;
}

.home-banner.banner-wrap,
.banner-wrap.home-banner {
  max-height: none;
  overflow: hidden;
}
.home-banner.banner-wrap video,
.banner-wrap.home-banner video {
  object-fit: cover;
  width: 100%;
  height: auto;
  aspect-ratio: 1170 / 600;
}

.catalog-layout.shop-catalog {
  gap: 1.5rem;
}
.catalog-layout.shop-catalog .product-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.product-detail.shop-pdp {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: start;
  margin-top: 1rem;
}
.product-detail.shop-pdp .product-detail-image {
  background: rgba(6, 19, 33, 0.85);
  border: 1px solid var(--dl-border);
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
}
.product-detail.shop-pdp .product-detail-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-detail.shop-pdp .product-detail-title {
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  margin: 0 0 0.75rem;
}
.product-detail.shop-pdp .product-detail-price {
  font-size: 1.55rem;
  color: var(--dl-green);
  font-weight: 800;
  margin: 0 0 1rem;
}
.product-detail.shop-pdp .product-detail-price .shop-price-old {
  margin-right: 0.5rem;
  font-size: 1rem;
  font-weight: 500;
}
.related-products .shop-grid {
  margin-top: 1rem;
}

/* Shop header feel — layout.js IDs/classes unchanged (header stays position:fixed) */
.site-header .header-bottom {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(103, 167, 57, 0.18);
}
.site-header .header-logo img {
  max-height: 44px;
}
.site-header .header-bottom-inner {
  align-items: center;
}

@media (max-width: 1100px) {
  .shop-grid,
  .product-grid.shop-grid,
  .catalog-layout.shop-catalog .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 800px) {
  .shop-grid,
  .product-grid.shop-grid,
  .catalog-layout.shop-catalog .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .product-detail.shop-pdp {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .home-banner.banner-wrap,
  .banner-wrap.home-banner,
  .home-banner.banner-wrap video,
  .banner-wrap.home-banner video {
    max-height: none;
    height: auto;
  }
}
@media (max-width: 480px) {
  .shop-grid,
  .product-grid.shop-grid,
  .catalog-layout.shop-catalog .product-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.7rem;
  }
  .shop-card-body,
  .shop-card .product-card-body {
    padding: 0.65rem;
  }
  .shop-card-body h3,
  .shop-card h3 {
    font-size: 0.82rem;
  }
}
/* ===== 808-full vitrine (Diesel colors only) ===== */
body.shop-vitrine .shop-seo-h1 {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  border: 0 !important;
}
body.shop-vitrine .shop-home-trust,
body.shop-vitrine .shop-home-news {
  display: none !important;
}
body.shop-vitrine .shop-home {
  padding-top: 0;
  padding-bottom: 2rem;
  max-width: none !important;
  width: 100% !important;
}
body.shop-vitrine .shop-home-cats {
  margin: 2rem 0 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}
body.shop-vitrine .home-collections {
  margin: 0;
}
body.shop-vitrine .shop-section {
  margin: 0 0 2.75rem;
}
body.shop-vitrine .shop-section-head {
  margin-bottom: 1.25rem;
  align-items: center;
}
body.shop-vitrine .shop-section-head h2 {
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}
body.shop-vitrine .shop-section-head a {
  font-size: 0.95rem;
  text-decoration: underline;
  text-underline-offset: 3px;
  color: var(--dl-green);
}
body.shop-vitrine .shop-grid,
body.shop-vitrine .product-grid.shop-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.35rem 1.1rem;
}
body.shop-vitrine .shop-card,
body.shop-vitrine .product-card.shop-card {
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
}
body.shop-vitrine .shop-card:hover,
body.shop-vitrine .product-card.shop-card:hover {
  transform: none;
  border-color: transparent;
  box-shadow: none;
}
body.shop-vitrine .shop-card-media,
body.shop-vitrine .shop-card .product-card-image {
  aspect-ratio: 1 / 1;
  border-radius: 6px;
  overflow: hidden;
  background: #12161b;
  border: 1px solid rgba(255,255,255,0.08);
}
body.shop-vitrine .shop-card-media img,
body.shop-vitrine .shop-card .product-card-image img {
  transition: transform 0.25s ease;
}
body.shop-vitrine .shop-card:hover .shop-card-media img,
body.shop-vitrine .shop-card:hover .product-card-image img {
  transform: scale(1.03);
}
body.shop-vitrine .shop-card-body,
body.shop-vitrine .shop-card .product-card-body {
  padding: 0.75rem 0 0;
  background: transparent;
}
body.shop-vitrine .shop-card h3,
body.shop-vitrine .shop-card h3 a {
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.35;
  color: #f2f2f2;
  text-decoration: none;
}
body.shop-vitrine .shop-card-price,
body.shop-vitrine .shop-card .product-card-footer {
  margin-top: 0.45rem;
  justify-content: flex-start;
  gap: 0.5rem;
  border: none;
  background: transparent;
}
body.shop-vitrine .shop-card .product-price {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--dl-green);
}
body.shop-vitrine .shop-price-old,
body.shop-vitrine .product-price-old {
  text-decoration: line-through;
  opacity: 0.55;
  font-size: 0.85rem;
  color: #b8b8b8;
}
body.shop-vitrine .shop-badge-sale,
body.shop-vitrine .product-badge.sale {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  background: #c0392b;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 0.28rem 0.45rem;
  border-radius: 3px;
}

/* Compact Shopify-like header feel */
body.shop-vitrine .site-header .header-bottom {
  border-bottom: 1px solid rgba(103, 167, 57, 0.22);
}
body.shop-vitrine .main-content {
  padding-top: calc(var(--header-top, 56px) + var(--header-bottom, 56px) + 8px);
}

/* Catalog: denser collection page */
body.shop-vitrine.catalog-page .catalog-layout.shop-catalog {
  grid-template-columns: 220px 1fr;
  gap: 1.75rem;
}
body.shop-vitrine.catalog-page .catalog-layout.shop-catalog .product-grid,
body.shop-vitrine.catalog-page .shop-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
body.shop-vitrine.catalog-page .page-hero {
  margin-bottom: 1rem;
}
body.shop-vitrine.catalog-page .page-hero .text-primary {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
}

@media (max-width: 1100px) {
  body.shop-vitrine .shop-grid,
  body.shop-vitrine .product-grid.shop-grid,
  body.shop-vitrine.catalog-page .catalog-layout.shop-catalog .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 800px) {
  body.shop-vitrine .shop-grid,
  body.shop-vitrine .product-grid.shop-grid,
  body.shop-vitrine.catalog-page .catalog-layout.shop-catalog .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  body.shop-vitrine.catalog-page .catalog-layout.shop-catalog {
    grid-template-columns: 1fr;
  }
}


/* Logged-in appointment book panel — brand orange, match main site */
.portal-appt-book {
  border-color: rgba(103, 167, 57, 0.28) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}
.portal-appt-remote {
  background: rgba(103, 167, 57, 0.08);
  border: 1px solid rgba(103, 167, 57, 0.28);
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 18px;
}
.portal-appt-remote h4,
.portal-appt-subhead {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 700;
  color: var(--dl-orange);
  display: flex;
  align-items: center;
  gap: 6px;
}
.portal-appt-subhead {
  color: var(--dl-text-muted);
  font-weight: 600;
}
.portal-appt-submit {
  width: 100%;
  min-height: 48px;
  padding: 14px 20px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: none;
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
  background: linear-gradient(135deg, #72b83a, #67a739);
  box-shadow: 0 4px 14px rgba(103, 167, 57, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.portal-appt-submit:hover { filter: brightness(1.06); }
.portal-appt-success {
  display: none;
  background: rgba(103, 167, 57, 0.1);
  border: 1px solid rgba(103, 167, 57, 0.45);
  border-radius: 10px;
  padding: 18px;
  margin-bottom: 18px;
}
.portal-appt-success h4 {
  color: var(--dl-orange);
  margin: 0 0 8px;
  font-size: 16px;
}
.portal-appt-success p {
  margin: 0 0 12px;
  font-size: 14px;
  color: var(--dl-text-muted);
}
.portal-appt-wa {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #25d366;
  color: #fff;
  padding: 12px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}

/* Theme Green Arrow & Breadcrumbs Override */
.tiles-top__catalog-arrow,
body.shop-vitrine .tiles-top__catalog-arrow,
body.shop-vitrine.shop-classic-home .tiles-top__catalog-arrow,
.breadcrumb span,
body.shop-vitrine .breadcrumb span,
body.shop-vitrine.catalog-page .breadcrumb span {
  color: #67a739 !important;
}
.tiles-top__catalog:hover .tiles-top__catalog-arrow,
body.shop-vitrine .tiles-top__catalog:hover .tiles-top__catalog-arrow,
body.shop-vitrine.shop-classic-home .tiles-top__catalog:hover .tiles-top__catalog-arrow {
  color: #59c70b !important;
}



/* ==========================================================================
   FIXED-SIZE AUTH PORTAL & CARD STABILITY (Eliminates size jumps across tabs)
   ========================================================================== */
@media (min-width: 901px) {
  .auth-portal {
    display: grid !important;
    grid-template-columns: minmax(320px, 42%) minmax(0, 1fr) !important;
    gap: 0 !important;
    min-height: 720px !important;
    max-height: 760px !important;
    border: 1px solid var(--dl-border) !important;
    border-radius: var(--radius-lg) !important;
    overflow: hidden !important;
    background: var(--dl-bg-tile) !important;
    align-items: stretch !important;
  }

  .auth-hero {
    position: relative !important;
    min-height: 100% !important;
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-end !important;
  }

  .auth-panel {
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    padding: 24px 28px 20px !important;
    height: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .auth-panel-card {
    border: 1px solid rgba(103, 167, 57, 0.35) !important;
    border-radius: 16px !important;
    padding: 22px 24px !important;
    background: rgba(0, 0, 0, 0.32) !important;
    box-shadow: 0 0 0 1px rgba(103, 167, 57, 0.08), 0 18px 40px rgba(0, 0, 0, 0.35) !important;
    min-height: 550px !important;
    max-height: 550px !important;
    height: 550px !important;
    display: flex !important;
    flex-direction: column !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .auth-panel-head {
    margin-bottom: 10px !important;
    flex-shrink: 0 !important;
  }

  .auth-mode-tabs {
    margin: 8px 0 12px 0 !important;
    flex-shrink: 0 !important;
  }

  .auth-view {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    padding-right: 6px !important;
  }

  .auth-view::-webkit-scrollbar {
    width: 5px;
  }
  .auth-view::-webkit-scrollbar-thumb {
    background: rgba(103, 167, 57, 0.45);
    border-radius: 4px;
  }
  .auth-view::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
  }

  .auth-assurances {
    flex-shrink: 0 !important;
    margin-top: 14px !important;
  }
}

@media (max-width: 900px) {
  .auth-portal {
    grid-template-columns: 1fr !important;
  }
  .auth-hero {
    min-height: 240px !important;
  }
  .auth-panel {
    padding: 20px 16px !important;
  }
  .auth-panel-card {
    min-height: auto !important;
  }
}

/* Compact form grid styling */
.auth-form--portal .auth-form-grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 10px !important;
  margin-bottom: 0 !important;
}

.auth-form--portal {
  gap: 10px !important;
}

.auth-form--portal .auth-field input,
.auth-form--portal .auth-field select {
  height: 42px !important;
}

/* === DG MOBILE COMPREHENSIVE FIXES 2026 === */

/* 0. Ensure [hidden] is always respected on .auth-view and .auth-field across desktop & mobile */
.auth-view[hidden],
.auth-field[hidden],
.auth-feedback[hidden] {
  display: none !important;
}

@media (min-width: 901px) {
  #auth-login-view:not([hidden]),
  #auth-forgot-view:not([hidden]),
  #auth-reset-view:not([hidden]) {
    justify-content: center !important;
  }
  #auth-register-view:not([hidden]),
  #auth-appointment-view:not([hidden]) {
    justify-content: flex-start !important;
  }
  body.shop-vitrine:has(#privacy-popup.is-visible) .dg-chat-widget,
  body:has(#privacy-popup.is-visible) .dg-chat-widget {
    bottom: 88px !important;
  }
}

/* 1. Auth Portal Mode Tabs (3 equal columns on desktop & mobile) + Appointment Field Label Fix */
.auth-type-tabs.auth-mode-tabs {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 8px !important;
}
.auth-type-tabs.auth-mode-tabs .auth-type-tab {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  white-space: nowrap !important;
  padding: 0 10px !important;
}

/* Fix .auth-field when it contains a <label> (e.g. Appointment tab) so label stacks above input */
#auth-appointment-view .auth-field,
.auth-field:has(> label) {
  flex-direction: column !important;
  align-items: stretch !important;
}
#auth-appointment-view .auth-field input,
#auth-appointment-view .auth-field select,
#auth-appointment-view .auth-field textarea,
.auth-field:not(:has(.auth-field-icon)) input:not([type="checkbox"]):not([type="radio"]) {
  padding-left: 14px !important;
}
.auth-field:not(:has(.auth-pass-toggle)) input:not([type="checkbox"]):not([type="radio"]) {
  padding-right: 14px !important;
}

/* 2. Mobile-Only Adjustments (<= 768px) — Desktop 100% Untouched */
@media (max-width: 768px) {
  /* Product Detail Page: eliminate 380px min-height + 1/1 aspect-ratio horizontal overflow */
  .product-detail.shop-pdp,
  body.shop-vitrine .product-detail.shop-pdp {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 16px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .product-detail.shop-pdp > *,
  .product-detail-info {
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .product-detail-image,
  .product-detail.shop-pdp .product-detail-image,
  body.shop-vitrine .product-detail.shop-pdp .product-detail-image {
    min-height: 210px !important;
    max-height: 300px !important;
    height: auto !important;
    aspect-ratio: 4 / 3 !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px !important;
    box-sizing: border-box !important;
  }
  .product-detail-image img,
  #product-main-img,
  body.shop-vitrine .product-detail.shop-pdp .product-detail-image img {
    max-width: 100% !important;
    max-height: 260px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
  }
  .product-detail.shop-pdp .product-detail-title {
    font-size: 1.35rem !important;
    line-height: 1.25 !important;
    margin-bottom: 8px !important;
  }
  .product-detail.shop-pdp .product-detail-price {
    font-size: 1.4rem !important;
    margin-bottom: 12px !important;
  }
  .product-actions-group {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
    gap: 10px !important;
    margin: 18px 0 !important;
  }
  .product-actions-group .btn-add-cart,
  .product-actions-group .btn-book-appt {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    justify-content: center !important;
    box-sizing: border-box !important;
  }

  /* Login / Register / Appointment Portal on Mobile */
  .auth-portal {
    grid-template-columns: 1fr !important;
    min-height: 0 !important;
    max-height: none !important;
    height: auto !important;
  }
  .auth-hero {
    min-height: 130px !important;
    max-height: 165px !important;
    height: auto !important;
  }
  .auth-hero-content {
    padding: 16px 16px !important;
    justify-content: flex-end !important;
  }
  .auth-kicker {
    font-size: 10px !important;
    margin-bottom: 4px !important;
  }
  .auth-hero-title {
    font-size: 1.2rem !important;
    margin-bottom: 4px !important;
    line-height: 1.15 !important;
  }
  .auth-hero-lead {
    font-size: 12px !important;
    line-height: 1.35 !important;
  }
  .auth-panel {
    padding: 14px 12px 18px !important;
    gap: 14px !important;
    height: auto !important;
    overflow: visible !important;
  }
  .auth-panel-card {
    padding: 16px 14px !important;
    min-height: 0 !important;
    max-height: none !important;
    height: auto !important;
    overflow: visible !important;
  }
  .auth-panel-head {
    margin-bottom: 12px !important;
    gap: 10px !important;
  }
  .auth-panel-icon {
    width: 38px !important;
    height: 38px !important;
    flex-shrink: 0 !important;
  }
  .auth-panel-title {
    font-size: 1rem !important;
  }
  .auth-panel-sub {
    font-size: 12px !important;
  }
  .auth-type-tabs.auth-mode-tabs {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 5px !important;
    margin: 10px 0 12px 0 !important;
  }
  .auth-type-tabs.auth-mode-tabs .auth-type-tab {
    height: 38px !important;
    padding: 0 4px !important;
    font-size: 11px !important;
    letter-spacing: -0.01em !important;
  }
  .auth-type-tabs.auth-mode-tabs .auth-type-tab svg {
    width: 13px !important;
    height: 13px !important;
    margin-right: 3px !important;
    flex-shrink: 0 !important;
  }
  .auth-form--portal .auth-form-grid {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }
  .auth-view {
    overflow: visible !important;
    padding-right: 0 !important;
  }
  .auth-assurances {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
    margin-top: 4px !important;
  }
  .auth-assurance {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    text-align: left !important;
    padding: 10px 12px !important;
  }
  .auth-assurance-icon {
    margin-bottom: 0 !important;
    font-size: 18px !important;
    flex-shrink: 0 !important;
  }

  /* Responsive Cart Table on Mobile */
  .cart-table,
  .cart-table tbody {
    display: block !important;
    width: 100% !important;
  }
  .cart-table thead {
    display: none !important;
  }
  .cart-table tbody tr {
    display: grid !important;
    grid-template-columns: 56px 1fr auto !important;
    grid-template-areas:
      "thumb title remove"
      "thumb qty total" !important;
    gap: 8px 12px !important;
    align-items: center !important;
    padding: 12px !important;
    margin-bottom: 12px !important;
    background: rgba(0, 0, 0, 0.28) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 12px !important;
  }
  .cart-table tbody td {
    padding: 0 !important;
    border: none !important;
  }
  .cart-table tbody td:nth-child(1) { grid-area: thumb; }
  .cart-table tbody td:nth-child(2) { grid-area: title; font-weight: 700; font-size: 13.5px; line-height: 1.3; }
  .cart-table tbody td:nth-child(2) a { color: #fff !important; text-decoration: none !important; }
  .cart-table tbody td:nth-child(3) { display: none !important; }
  .cart-table tbody td:nth-child(4) { grid-area: qty; }
  .cart-table tbody td:nth-child(4) .qty-input { width: 64px !important; height: 36px !important; min-height: 36px !important; padding: 4px 6px !important; }
  .cart-table tbody td:nth-child(5) { grid-area: total; font-weight: 800; color: #67a739; font-size: 15px; text-align: right; }
  .cart-table tbody td:nth-child(6) { grid-area: remove; text-align: right; }

  /* Cookie Banner (#privacy-popup), Live Support Pill (.dg-chat-widget), and #back-to-top Harmony */
  #privacy-popup {
    z-index: 1050 !important;
  }
  #privacy-popup .popup-content {
    padding: 10px 14px !important;
  }
  #privacy-popup .popup-body {
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
  }
  #privacy-popup .popup-text {
    font-size: 11.5px !important;
    line-height: 1.35 !important;
    margin: 0 !important;
    flex: 1 1 auto !important;
  }
  #privacy-popup .accept-button {
    padding: 7px 14px !important;
    min-height: 34px !important;
    font-size: 12px !important;
    border-radius: 8px !important;
    flex: 0 0 auto !important;
    width: auto !important;
    margin: 0 !important;
  }

  body.shop-vitrine .dg-chat-widget,
  .dg-chat-widget {
    bottom: 14px !important;
    right: 12px !important;
    z-index: 1002 !important;
  }
  body.shop-vitrine:has(#privacy-popup.is-visible) .dg-chat-widget,
  body:has(#privacy-popup.is-visible) .dg-chat-widget {
    bottom: 72px !important;
  }
  body.shop-vitrine .dg-chat-toggle,
  .dg-chat-toggle {
    min-height: 40px !important;
    padding: 8px 13px 8px 10px !important;
    gap: 6px !important;
  }
  body.shop-vitrine .dg-chat-toggle-ico,
  .dg-chat-toggle-ico {
    width: 18px !important;
    height: 18px !important;
  }
  body.shop-vitrine .dg-chat-toggle-label,
  .dg-chat-toggle-label {
    font-size: 11.5px !important;
  }

  #back-to-top {
    left: 12px !important;
    right: auto !important;
    bottom: 14px !important;
    width: 38px !important;
    height: 38px !important;
    font-size: 16px !important;
    z-index: 1001 !important;
  }
  body:has(#privacy-popup.is-visible) #back-to-top {
    bottom: 72px !important;
  }
}


/* ==========================================================================
   Software Product Cards: Widescreen presentation showing 100% of UI
   Görsellerin tamamının kırpılmadan, net şekilde kutuda gözükmesi
   ========================================================================== */
body.shop-vitrine [data-shop-section="software"] .shop-card-media,
body.shop-vitrine .product-card[data-category*="software"] .shop-card-media,
body.shop-vitrine .product-card[data-cat*="software"] .shop-card-media,
body.shop-vitrine .shop-card-media:has(img[src*="assets/software/"]),
body.shop-vitrine .product-card-image:has(img[src*="assets/software/"]),
.product-card[data-category*="software"] .product-card-image,
.product-card[data-cat*="software"] .product-card-image {
  aspect-ratio: 16 / 10 !important;
  background: #12161b !important;
  border-radius: 6px !important;
  overflow: hidden !important;
  display: block !important;
  position: relative !important;
}

body.shop-vitrine .shop-card-media img[src*="assets/software/"],
body.shop-vitrine .shop-card .product-card-image img[src*="assets/software/"],
.shop-card-media img[src*="assets/software/"],
.product-card-image img[src*="assets/software/"],
.product-card[data-category*="software"] .product-card-image img,
.product-card[data-cat*="software"] .product-card-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center center !important;
  padding: 0 !important;
  margin: 0 !important;
  background: #12161b !important;
  box-sizing: border-box !important;
  display: block !important;
  transition: transform 0.25s ease !important;
}

body.shop-vitrine .shop-card:hover .shop-card-media img[src*="assets/software/"],
body.shop-vitrine .shop-card:hover .product-card-image img[src*="assets/software/"] {
  transform: scale(1.03) !important;
}


/* ==========================================================================
   Customer Portal Guest Layout Fix
   Ensure auth portal spans full width without affecting catalog / shop layout
   ========================================================================== */
body.is-auth-guest #account-body,
.customer-portal-body.account-layout--guest,
#account-shell .account-layout--guest {
  display: block !important;
  width: 100% !important;
  grid-template-columns: 1fr !important;
}

body.is-auth-guest #account-body > .account-content,
.customer-portal-body.account-layout--guest > .account-content,
#account-shell .account-content {
  width: 100% !important;
  max-width: 100% !important;
}

body.is-auth-guest .auth-portal,
#account-shell .auth-portal {
  width: 100% !important;
  max-width: 1296px !important;
}



/* ==========================================================================
   Virtual POS / Payment Gateway Compliance Styles (Mandatory Legal Requirements)
   ========================================================================== */
.footer-legal-bar {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px 14px !important;
  padding: 16px 8px 12px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  margin-top: 18px !important;
  font-size: 0.82rem !important;
  text-align: center !important;
}
.footer-legal-bar a {
  color: #94a3b8 !important;
  text-decoration: none !important;
  transition: color 0.2s ease !important;
}
.footer-legal-bar a:hover {
  color: #86efac !important;
  text-decoration: underline !important;
}
.footer-legal-bar .legal-sep {
  color: rgba(255, 255, 255, 0.25) !important;
  user-select: none !important;
}

.legal-doc {
  color: #cbd5e1 !important;
  font-size: 0.95rem !important;
  line-height: 1.7 !important;
  max-width: 920px !important;
  margin: 0 auto !important;
  padding: 10px 0 30px !important;
}
.legal-doc h2 {
  color: #f1f5f9 !important;
  font-size: 1.25rem !important;
  margin-top: 24px !important;
  margin-bottom: 10px !important;
  font-weight: 600 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  padding-bottom: 6px !important;
}
.legal-doc p {
  margin-bottom: 12px !important;
}
.legal-doc ul {
  margin: 10px 0 16px 24px !important;
  padding: 0 !important;
}
.legal-doc li {
  margin-bottom: 8px !important;
}
.legal-doc strong {
  color: #f8fafc !important;
}
.legal-doc a {
  color: #86efac !important;
  text-decoration: underline !important;
}
.legal-doc .legal-effective {
  color: #94a3b8 !important;
  font-size: 0.85rem !important;
  margin-bottom: 20px !important;
  padding-bottom: 10px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}
