@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@500;700&display=swap');

:root {
  --bg-primary: #0a0c10;
  --bg-secondary: #10141e;
  --bg-tertiary: #161b26;
  --bg-card: rgba(22, 28, 40, 0.7);
  --bg-card-hover: rgba(30, 38, 54, 0.92);
  --bg-glass: rgba(10, 14, 22, 0.85);

  --border-subtle: rgba(255, 255, 255, 0.1);
  --border-light: rgba(255, 255, 255, 0.18);
  --border-focus: #e5b85c;

  --accent-gold: #d4af37;
  --accent-gold-light: #f3cf65;
  --accent-gold-glow: rgba(212, 175, 55, 0.35);
  /* --accent-blue: #00d2ff; */
  --accent-blue: #032d36;
  --accent-blue-glow: rgba(0, 210, 255, 0.45);

  --text-primary: #ffffff;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-full: 9999px;

  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 25px rgba(212, 175, 55, 0.2);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
  user-select: none;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  height: 100vh;
  height: 100dvh;
  width: 100vw;
  overflow: hidden;
}

/* App Main Fullscreen Layout */
.mainParent {
  position: relative;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
}

/* 3D Fullscreen Viewport Area */
.iframeBox {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, #1a202c 0%, #0a0c10 100%);
  overflow: hidden;
  z-index: 1;
}

.iframeBox iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* =========================================================
   TOP HEADER CAPSULE SYSTEM (Unified Luxury Family DNA)
   ========================================================= */

/* Base Header Glass Capsule */
.header-capsule {
  height: 48px;
  background: var(--bg-glass);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.5), 0 0 20px rgba(212, 175, 55, 0.06);
  display: inline-flex;
  align-items: center;
  transition: var(--transition);
}

.header-capsule:hover {
  border-color: rgba(212, 175, 55, 0.3);
}

/* Top Left Eclipse Logo (Transparent) */
.viewport-overlay-left {
  position: absolute;
  top: 24px;
  left: 28px;
  z-index: 15;
}

.logo-transparent-wrapper {
  display: flex;
  align-items: center;
  background: transparent;
  border: none;
  box-shadow: none;
}

.brand-logo-img {
  height: 44px;
  width: auto;
  max-width: 230px;
  object-fit: contain;
  display: block;
  filter: brightness(1.15) contrast(1.05) drop-shadow(0 4px 14px rgba(0, 0, 0, 0.65));
  transition: var(--transition);
}

.brand-logo-img:hover {
  transform: scale(1.04);
}

/* Top Center Social Media Links (Transparent floating icons with wide spacing) */
.viewport-overlay-center {
  position: absolute;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 15;
  pointer-events: auto;
}

.social-links-badge {
  display: inline-flex;
  align-items: center;
  gap: 50px;
  height: 52px;
  padding: 6px 14px;
  background: transparent;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.behance-text-icon {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 24px;
  letter-spacing: -0.3px;
  line-height: 1;
  color: #ffffff;
  transition: var(--transition);
}

.social-icon-link {
  background: transparent;
  border: none;
  color: #ffffff;
  opacity: 0.9;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  text-decoration: none;
  line-height: 1;
}

.social-icon-link svg {
  width: 27px;
  height: 27px;
  transition: var(--transition);
}

.social-icon-link:hover {
  background: transparent;
  color: var(--accent-blue);
  opacity: 1;
  transform: translateY(-2px) scale(1.22);
  filter: drop-shadow(0 0 10px var(--accent-blue-glow));
}

.social-icon-link:hover .behance-text-icon {
  color: var(--accent-blue);
  filter: drop-shadow(0 0 8px var(--accent-blue-glow));
}

/* Top Right Costa Logo & Contact Group (Transparent) */
.viewport-overlay-right {
  position: absolute;
  top: 24px;
  right: 28px;
  z-index: 15;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.right-transparent-group {
  display: flex;
  align-items: center;
  gap: 18px;
  background: transparent;
  border: none;
  box-shadow: none;
}

.brand-logo-holder {
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-costa-img {
  height: 38px;
  width: auto;
  max-width: 230px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.65));
  transition: var(--transition);
}

.brand-costa-img:hover {
  transform: scale(1.04);
}

/* Contact Button inside Right Group (Transparent with Social Icon Hover Style) */
.contact-dropdown-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.contact-icon-btn {
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  color: #ffffff;
  opacity: 0.9;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  padding: 0;
}

.contact-icon-btn svg {
  width: 26px;
  height: 26px;
  fill: #ffffff;
  transition: var(--transition);
}

.contact-icon-btn:hover {
  background: transparent;
  color: var(--accent-blue);
  opacity: 1;
  transform: translateY(-2px) scale(1.22);
  filter: drop-shadow(0 0 10px var(--accent-blue-glow));
}

.contact-icon-btn:hover svg {
  fill: var(--accent-blue);
}



/* Floating Contact Dropdown Popup (Matching Header Capsule DNA & Flush Alignment) */
.contact-dropdown-popup {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: var(--bg-glass);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  min-width: 230px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.5), 0 0 20px rgba(212, 175, 55, 0.06);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 100;
}

.contact-dropdown-popup.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.contact-popup-item {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #ffffff;
  padding: 4px 6px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.contact-popup-item:hover {
  background: rgba(255, 255, 255, 0.05);
  transform: translateX(2px);
}

.contact-popup-icon {
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
}

.contact-popup-icon.whatsapp-accent {
  color: #25d366;
}

.contact-popup-text {
  font-family: 'Space Grotesk', -apple-system, sans-serif;
  font-size: 13.5px;
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
  letter-spacing: 0.5px;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.contact-popup-item:hover .contact-popup-text {
  color: var(--accent-gold-light);
}

/* 3D Hint Helper Pill */
.viewport-3d-hint {
  position: absolute;
  bottom: 24px;
  left: 28px;
  z-index: 10;
  pointer-events: none;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(10, 14, 22, 0.65);
  backdrop-filter: blur(16px);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
  font-size: 12px;
  color: var(--text-secondary);
}

.viewport-3d-hint svg {
  width: 15px;
  height: 15px;
  fill: var(--accent-gold);
}

/* =========================================================
   BOTTOM HORIZONTAL NAVIGATION TAB DOCK
   ========================================================= */

.tabUpperDiv {
  position: absolute;
  bottom: 24px;
  bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  left: 50%;
  transform: translateX(-50%);
  z-index: 25;
  background: var(--bg-glass);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 10px 18px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6), 0 0 25px rgba(212, 175, 55, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 860px;
  width: auto;
  overflow: hidden;
}

.tab {
  display: flex;
  flex-direction: row;
  gap: 14px;
  align-items: center;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 4px 6px;
  max-width: 100%;
}

.tab::-webkit-scrollbar {
  display: none;
}

.tab button.tablinks {
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-muted);
  width: 82px;
  height: 74px;
  min-width: 82px;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 6px;
  flex: 0 0 82px;
}

.tab button.tablinks:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.tab button.tablinks.active {
  background: linear-gradient(145deg, rgba(212, 175, 55, 0.22), rgba(212, 175, 55, 0.06));
  border-color: rgba(212, 175, 55, 0.6);
  color: var(--accent-gold-light);
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.25);
}

/* Glowing gold active indicator bar cleanly inside the button */
.tab button.tablinks.active::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 24px;
  border-radius: 3px;
  background: var(--accent-gold);
  box-shadow: 0 0 8px var(--accent-gold);
}

.bt {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  height: 100%;
}

.btn-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.icon-img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  opacity: 0.7;
  filter: brightness(0) invert(1);
  transition: var(--transition);
}

.tab button.tablinks:hover .icon-img {
  opacity: 0.95;
  transform: scale(1.08);
}

.tab button.tablinks.active .icon-img {
  opacity: 1;
  filter: drop-shadow(0 0 6px var(--accent-gold)) brightness(1.2);
}

.iconLabel {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.1;
  max-width: 78px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* =========================================================
   FLOATING ANIMATED DRAWER PANEL (Slides in on Tab Click)
   ========================================================= */

.configUpperDiv {
  position: absolute;
  top: 20px;
  right: 24px;
  bottom: 20px;
  width: 440px;
  height: calc(100vh - 40px);
  background: rgba(12, 16, 24, 0.94);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  box-shadow: -20px 25px 60px rgba(0, 0, 0, 0.85), 0 0 35px rgba(212, 175, 55, 0.12);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: 30;

  /* Initial State: Smoothly Hidden off-screen */
  transform: translateX(calc(100% + 40px));
  opacity: 0;
  pointer-events: none;
  transition: transform 0.42s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
}

.configUpperDiv.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}

/* Close Drawer Button */
.drawer-close-btn {
  position: absolute;
  top: 18px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  z-index: 35;
  padding: 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.drawer-close-btn svg {
  stroke: #ffffff;
  transition: var(--transition);
}

.drawer-close-btn:hover {
  background: rgba(212, 175, 55, 0.18);
  border-color: var(--accent-gold);
  transform: rotate(90deg) scale(1.06);
  box-shadow: 0 0 16px var(--accent-gold-glow);
}

.drawer-close-btn:hover svg {
  stroke: var(--accent-gold);
}

.configBox {
  display: flex;
  height: 100%;
  width: 100%;
  overflow: hidden;
}

.tabs-contentDiv {
  flex: 1;
  width: 100%;
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 28px 24px 30px;
  background: radial-gradient(ellipse at top right, rgba(30, 41, 59, 0.25), transparent 70%), var(--bg-secondary);
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.15) transparent;
}

.tabs-contentDiv::-webkit-scrollbar {
  width: 5px;
}

.tabs-contentDiv::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 10px;
}

.tabcontent {
  display: none;
  animation: fadeInPanel 0.38s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes fadeInPanel {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Section Header (Sticky pinned at top of drawer) */
.section-header-wrapper {
  position: sticky;
  top: -28px;
  z-index: 20;
  background: rgba(12, 16, 24, 0.96);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  padding: 24px 44px 14px 24px;
  margin: -28px -24px 18px -24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.content-hdng {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.content-hdng::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 18px;
  background: var(--accent-gold);
  border-radius: 2px;
}

.section-subtitle {
  font-size: 13px;
  color: var(--text-muted);
  margin-left: 14px;
  font-weight: 400;
}

/* Inner Container Grid */
.contentInner-box {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  padding: 4px 0 24px;
}

/* Models / Batteries / Wheels Cards */
.content-boxes {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.content-boxes::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
}

.content-boxes:hover {
  background: var(--bg-card-hover);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.5);
}

.content-boxes.childrens.active,
.content-boxes.active {
  border-color: var(--accent-gold);
  background: linear-gradient(160deg, rgba(212, 175, 55, 0.12), rgba(20, 25, 35, 0.85));
  box-shadow: 0 0 25px rgba(212, 175, 55, 0.2), inset 0 0 15px rgba(212, 175, 55, 0.05);
}

/* Selection Badge on Card */
.selection-check {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  color: transparent;
  font-size: 12px;
  font-weight: bold;
}

.content-boxes.active .selection-check,
.childrens.active .selection-check {
  background: var(--accent-gold);
  border-color: var(--accent-gold);
  color: #000;
  box-shadow: 0 0 10px var(--accent-gold);
}

.img-box {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 0;
  min-height: 140px;
}

.content-imgs {
  max-width: 100%;
  max-height: 140px;
  object-fit: contain;
  filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.6));
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.content-boxes:hover .content-imgs {
  transform: scale(1.06);
}

.card-info-row {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--border-subtle);
}

.contentImg-txt {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #ffffff;
}

.contentImgPrice {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-gold-light);
  background: rgba(212, 175, 55, 0.12);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(212, 175, 55, 0.25);
}

/* Swatches Layout for Paint & Seat Colors */
.paintContent,
.seatContent {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 10px 0 24px;
}

.paintColorsOuterBox,
.seatColorsOuterBox {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px 8px 14px;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
}

.paintColorsOuterBox:hover,
.seatColorsOuterBox:hover {
  background: var(--bg-card-hover);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.paintColorsOuterBox.active,
.seatColorsOuterBox.active,
.paintColorsBox.active,
.seatColorsBox.active {
  border-color: var(--accent-gold);
  background: linear-gradient(160deg, rgba(212, 175, 55, 0.15), rgba(20, 25, 35, 0.8));
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.25);
}

.paintColorsBox,
.seatColorsBox {
  border-radius: 50%;
  padding: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  position: relative;
}

.paintColors,
.seatColors {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.15);
  box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.3), 0 4px 12px rgba(0, 0, 0, 0.4);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

/* Gloss reflection on round swatches */
.paintColors::before,
.seatColors::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.45) 0%, rgba(255, 255, 255, 0) 100%);
  border-radius: 58px 58px 0 0;
  pointer-events: none;
}

.paintColorsOuterBox:hover .paintColors,
.seatColorsOuterBox:hover .seatColors {
  transform: scale(1.08);
  border-color: rgba(255, 255, 255, 0.4);
}

.paintColorsBox.childrens.active .paintColors,
.seatColorsBox.childrens.active .seatColors,
.paintColorsOuterBox.active .paintColors,
.seatColorsOuterBox.active .seatColors {
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.4), 0 6px 16px rgba(0, 0, 0, 0.6);
  transform: scale(1.05);
}

.colorImg-txt {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3px;
  color: var(--text-secondary);
  text-align: center;
  margin-top: 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
}

.paintColorsOuterBox.active .colorImg-txt,
.seatColorsOuterBox.active .colorImg-txt,
.paintColorsBox.active+.colorImg-txt,
.seatColorsBox.active+.colorImg-txt {
  color: var(--accent-gold-light);
  font-weight: 700;
}

/* Paint Textures */
#glossBlack {
  background: url('assets/image-034.jpg') center/cover;
}

#mattBlack {
  background: url('assets/image-037.jpg') center/cover;
}

#glossRed {
  background: url('assets/image-035.jpg') center/cover;
}

#glossPink {
  background: url('assets/image-036.jpg') center/cover;
}

#glossPurple {
  background: url('assets/image-038.jpg') center/cover;
}

#glossWhite {
  background: url('assets/image-032.jpg') center/cover;
}

#glossSilver {
  background: url('assets/image-033.jpg') center/cover;
}

#glossBlue {
  background: url('assets/image-039.jpg') center/cover;
}

#glossTeal {
  background: url('assets/image-040.jpg') center/cover;
}

/* Seat Leather Textures */
#black {
  background: url('assets/image-043.jpg') center/cover;
}

#brown {
  background: url('assets/image-042.jpg') center/cover;
}

#red {
  background: url('assets/image-044.jpg') center/cover;
}

#blue {
  background: url('assets/image-047.jpg') center/cover;
}

#white {
  background: url('assets/image-041.jpg') center/cover;
}

#coral {
  background: url('assets/image-046.jpg') center/cover;
}

#orange {
  background: url('assets/image-045.jpg') center/cover;
}

/* Stitching Colors & Patterns */
#blackStiching {
  background: radial-gradient(circle, #222 20%, #000 80%);
}

#brownStiching {
  background: radial-gradient(circle, #d29e8c 20%, #8d5644 80%);
}

#redStiching {
  background: radial-gradient(circle, #ff4d4d 20%, #b30000 80%);
}

#blueStiching {
  background: radial-gradient(circle, #3385ff 20%, #003399 80%);
}

#orangeStiching {
  background: radial-gradient(circle, #ffbb33 20%, #cc7a00 80%);
}

#tealStiching {
  background: radial-gradient(circle, #00b3b3 20%, #004d4d 80%);
}

/* Double stitch center line overlay effect */
#SeatStiching .seatColors::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.9) 0px, rgba(255, 255, 255, 0.9) 4px, transparent 4px, transparent 8px);
  transform: translateY(-50%) rotate(45deg);
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.8);
}

/* Accessories Modern Toggles Container */
.accessories-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 8px 0 24px;
}

.accessory-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--transition);
}

.accessory-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(255, 255, 255, 0.18);
}

.accessory-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.accessory-title {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.3px;
}

.switch-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: var(--transition);
}

/* Modern iOS / Cyber Switch Toggle */
.switch {
  position: relative;
  display: inline-block;
  width: 52px;
  height: 28px;
  flex-shrink: 0;
  margin: 0;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #1e2430;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 30px;
  transition: var(--transition);
}

.slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background-color: #94a3b8;
  border-radius: 50%;
  transition: var(--transition);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.4);
}

input:checked+.slider {
  background: linear-gradient(135deg, var(--accent-gold), #b89125);
  border-color: var(--accent-gold);
  box-shadow: 0 0 14px var(--accent-gold-glow);
}

input:checked+.slider:before {
  transform: translateX(24px);
  background-color: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* =========================================================
   RESPONSIVE DESIGN (Tablets & Mobile)
   ========================================================= */

@media (max-width: 1200px) {
  .configUpperDiv {
    width: 390px;
  }

  .social-links-badge {
    gap: 40px;
  }

  .tabUpperDiv {
    max-width: 780px;
  }

  .tab button.tablinks {
    width: 76px;
    height: 70px;
    min-width: 76px;
    flex: 0 0 76px;
  }
}

@media (max-width: 991px) {
  .configUpperDiv {
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100vw;
    height: 48vh;
    max-height: 52vh;
    border-radius: 24px 24px 0 0;
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 -15px 40px rgba(0, 0, 0, 0.85);
    transform: translateY(100%);
  }

  .configUpperDiv.open {
    transform: translateY(0);
  }

  .tabUpperDiv {
    bottom: 12px;
    padding: 8px 10px;
    width: calc(100% - 24px);
    max-width: calc(100% - 24px);
    border-radius: 20px;
  }

  .tab {
    gap: 10px;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    justify-content: flex-start;
  }

  .tab button.tablinks {
    width: 70px;
    height: 66px;
    min-width: 70px;
    flex: 0 0 70px;
    padding: 5px;
  }

  .icon-img {
    width: 20px;
    height: 20px;
  }

  .iconLabel {
    font-size: 9.5px;
  }

  .tabs-contentDiv {
    padding: 14px 14px 28px;
    -webkit-overflow-scrolling: touch;
  }

  .contentInner-box {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .paintContent,
  .seatContent {
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
  }
}

@media (max-width: 768px) {

  /* Mobile Header */
  .viewport-overlay-left {
    top: 14px;
    left: 16px;
  }

  .viewport-overlay-right {
    top: 14px;
    right: 16px;
  }

  .brand-logo-img {
    height: 22px;
    max-width: 110px;
  }

  .right-transparent-group {
    gap: 10px;
  }

  .brand-costa-img {
    height: 19px;
    max-width: 100px;
  }

  .contact-icon-btn {
    width: 28px;
    height: 28px;
    background: transparent;
    border: none;
    box-shadow: none;
  }

  .contact-icon-btn svg {
    width: 17px;
    height: 17px;
  }

  /* Social Icons on Mobile: Right side vertical single column */
  .viewport-overlay-center {
    top: 38%;
    right: 14px;
    left: auto;
    bottom: auto;
    transform: translateY(-50%);
    width: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 15;
    pointer-events: auto;
  }

  .social-links-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    height: auto;
    width: auto;
    padding: 6px 0;
    background: transparent;
    border: none;
    box-shadow: none;
  }

  .social-icon-link {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .social-icon-link svg {
    width: 17px;
    height: 17px;
  }

  .behance-text-icon {
    font-size: 15px;
  }

  /* Bottom Dock on Mobile: Smooth swipeable dock */
  .tabUpperDiv {
    bottom: 10px;
    bottom: calc(10px + env(safe-area-inset-bottom, 0px));
    padding: 6px 8px;
    width: calc(100% - 16px);
    max-width: calc(100% - 16px);
    border-radius: 18px;
  }

  .tab {
    gap: 8px;
    padding: 2px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    justify-content: flex-start;
  }

  .tab button.tablinks {
    width: 62px;
    height: 58px;
    min-width: 62px;
    flex: 0 0 62px;
    padding: 4px;
  }

  .icon-img {
    width: 18px;
    height: 18px;
  }

  .iconLabel {
    font-size: 8.5px;
    max-width: 60px;
  }

  /* Compact Mobile Drawer Content (Eliminating Clipping & Scrolling Issues) */
  .configUpperDiv {
    height: 35vh;
    max-height: 52vh;
  }

  .drawer-close-btn {
    top: 12px;
    right: 14px;
    width: 28px;
    height: 28px;
  }

  .tabs-contentDiv {
    padding: 12px 14px 28px;
    -webkit-overflow-scrolling: touch;
  }

  .section-header-wrapper {
    position: sticky;
    top: -12px;
    z-index: 20;
    background: rgba(12, 16, 24, 0.98);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    padding: 12px 42px 10px 14px;
    margin: -12px -14px 10px -14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .content-hdng {
    font-size: 14px;
    letter-spacing: 1px;
    margin-bottom: 2px;
  }

  .section-subtitle {
    font-size: 11px;
    margin-left: 8px;
  }

  .contentInner-box {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding: 4px 0 16px;
  }

  .content-boxes {
    padding: 8px 6px 8px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    min-height: 105px;
  }

  .selection-check {
    top: 6px;
    right: 6px;
    width: 16px;
    height: 16px;
    font-size: 9px;
  }

  .img-box {
    width: 100%;
    min-height: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2px;
  }

  .content-imgs {
    max-height: 48px;
    max-width: 100%;
    object-fit: contain;
    width: auto;
    filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.6));
  }

  .card-info-row {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 3px;
    margin-top: 4px;
    padding-top: 4px;
    border-top: 1px solid var(--border-subtle);
  }

  .contentImg-txt {
    font-size: 10.5px;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
    color: #ffffff;
    line-height: 1.1;
  }

  .contentImgPrice {
    font-size: 9px;
    font-weight: 600;
    padding: 1px 5px;
    border-radius: var(--radius-full);
    white-space: nowrap;
  }

  .paintContent,
  .seatContent {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding: 4px 0 16px;
  }

  .paintColorsOuterBox,
  .seatColorsOuterBox {
    padding: 8px 4px 6px;
    border-radius: 12px;
  }

  .paintColors,
  .seatColors {
    width: 40px;
    height: 40px;
  }

  .colorImg-txt {
    font-size: 9.5px;
    margin-top: 4px;
  }

  /* Compact Accessories on Mobile */
  .accessories-grid {
    gap: 8px;
    padding: 4px 0 16px;
  }

  .accessory-card {
    padding: 10px 12px;
    border-radius: 12px;
  }

  .accessory-title {
    font-size: 12.5px;
  }

  .switch-label {
    font-size: 10px;
  }

  .switch {
    width: 44px;
    height: 24px;
  }

  .slider:before {
    height: 18px;
    width: 18px;
    left: 2px;
    bottom: 2px;
  }

  input:checked+.slider:before {
    transform: translateX(20px);
  }
}