/* ============================================================
   MOBILE SKINS — CAPES INDIA COMPLETE LIGHT & VIBRANT APP STYLES
   ============================================================ */

/* Top Urgency Header Bar */
.urgency-bar {
  background: var(--brand-black);
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 8px 16px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-transform: uppercase;
}
.urgency-bar .highlight {
  background: var(--brand-primary);
  color: #ffffff;
  padding: 2px 8px;
  border-radius: var(--radius-xs);
  font-weight: 700;
}

/* App Header */
.app-header {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: 76px;
  background: #ffffff;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 16px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  transition: box-shadow var(--transition-fast);
}
@media (min-width: 1024px) {
  .app-header {
    padding: 10px 48px;
    min-height: 96px;
  }
}

.header-left {
  display: flex;
  align-items: center;
  flex: 1 1 0%;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.45rem;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--brand-black);
}

.site-header-logo {
  height: 76px;
  width: auto;
  max-width: 320px;
  object-fit: contain;
  display: block;
  transition: transform 0.25s ease;
}
.brand-logo:hover .site-header-logo {
  transform: scale(1.02);
}
@media (max-width: 1023px) {
  .site-header-logo {
    height: 58px !important;
    max-width: 240px !important;
  }
}
@media (max-width: 480px) {
  .site-header-logo {
    height: 48px !important;
    max-width: 195px !important;
  }
}
.brand-logo .logo-icon {
  width: 34px;
  height: 34px;
  background: var(--brand-primary);
  color: #ffffff;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(191, 47, 47, 0.3);
}
.brand-logo .logo-accent {
  color: var(--brand-primary);
}

.header-nav-desktop {
  display: none;
}
@media (min-width: 1024px) {
  .header-nav-desktop {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    flex: 0 0 auto;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.88rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    white-space: nowrap;
  }
  .header-nav-desktop a {
    color: var(--text-secondary);
    position: relative;
    padding: 6px 0;
    white-space: nowrap;
    transition: color var(--transition-fast);
  }
  .header-nav-desktop a:hover,
  .header-nav-desktop a.active {
    color: var(--brand-primary);
  }
  .header-nav-desktop a.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--brand-primary);
    border-radius: 2px;
  }
}
@media (min-width: 1280px) {
  .header-nav-desktop {
    gap: 28px;
    font-size: 0.92rem;
  }
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex: 1 1 0%;
}
.icon-btn {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  position: relative;
  transition: transform var(--transition-fast), background var(--transition-fast), border-color var(--transition-fast);
}
.icon-btn:hover {
  background: var(--bg-surface-2);
  border-color: var(--border-medium);
}
.icon-btn:active { transform: scale(0.92); }
.icon-btn .badge-count {
  position: absolute;
  top: -2px;
  right: -2px;
  background: var(--brand-primary);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 0.68rem;
  font-weight: 700;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ffffff;
}

/* Bottom Mobile App Bar Navigation */
.mobile-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: var(--bottom-nav-height);
  background: #ffffff;
  border-top: 1px solid var(--border-subtle);
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding-bottom: env(safe-area-inset-bottom, 6px);
  z-index: 99;
}
@media (min-width: 1024px) {
  .mobile-bottom-nav { display: none; }
}
@media (max-width: 1023px) {
  body {
    padding-bottom: calc(var(--bottom-nav-height, 64px) + env(safe-area-inset-bottom, 16px) + 20px) !important;
  }
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  position: relative;
  flex: 1;
  height: 100%;
  transition: color var(--transition-fast), transform var(--transition-fast);
}
.nav-item:active { transform: scale(0.92); }
.nav-item svg { width: 22px; height: 22px; stroke-width: 2; }
.nav-item.active {
  color: var(--brand-primary);
}
.nav-item.active::after {
  content: '';
  position: absolute;
  top: 0;
  width: 28px;
  height: 3px;
  background: var(--brand-primary);
  border-radius: 0 0 3px 3px;
}

/* Center Highlighted SkinLab Customizer Button */
.nav-item.nav-customizer {
  position: relative;
}
.nav-item.nav-customizer .center-pill {
  width: 48px;
  height: 48px;
  background: var(--brand-primary);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  margin-top: -18px;
  box-shadow: 0 6px 18px rgba(191, 47, 47, 0.45);
  border: 3px solid #ffffff;
  transition: transform var(--transition-fast);
}
.nav-item.nav-customizer:active .center-pill {
  transform: scale(0.92);
}

/* Slide-Over Cart Drawer */
.cart-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-smooth);
}
.cart-drawer-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 440px;
  background: #ffffff;
  border-left: 1px solid var(--border-subtle);
  z-index: 201;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform var(--transition-smooth);
  box-shadow: var(--shadow-xl);
}
.cart-drawer.active {
  transform: translateX(0);
}

.cart-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
}
.cart-header h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  text-transform: uppercase;
}

.free-shipping-bar {
  padding: 14px 24px;
  background: var(--brand-primary-light);
  border-bottom: 1px solid var(--brand-primary-border);
  font-size: 0.84rem;
  color: var(--brand-primary);
  font-weight: 600;
}
.progress-track {
  width: 100%;
  height: 6px;
  background: #fecaca;
  border-radius: var(--radius-pill);
  margin-top: 8px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  background: var(--brand-primary);
  border-radius: var(--radius-pill);
  transition: width 0.4s ease;
}

.cart-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px 24px;
  background: #ffffff;
}
.cart-item-row {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border-light);
}
.cart-item-thumb {
  width: 76px;
  height: 100px;
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cart-item-thumb img, .cart-item-thumb svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cart-item-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.cart-item-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.98rem;
  color: var(--text-main);
}
.cart-item-subtitle {
  font-size: 0.8rem;
  color: var(--text-muted);
}
.cart-item-price {
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--brand-primary);
  font-size: 1.05rem;
}
.cart-qty-ctrl {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
}
.cart-qty-btn {
  color: var(--text-main);
  font-weight: bold;
  font-size: 1rem;
}

.cart-footer {
  padding: 22px 24px;
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-surface);
}
.cart-summary-line {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.cart-summary-total {
  display: flex;
  justify-content: space-between;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-main);
}

/* ============================================================
   PRODUCT CARDS (Capes India Style)
   ============================================================ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
@media (min-width: 768px) {
  .products-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}
@media (min-width: 1024px) {
  .products-grid { grid-template-columns: repeat(4, 1fr); gap: 28px; }
}

.product-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.35s ease;
  position: relative;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  cursor: pointer;
}
.product-card:hover {
  transform: translateY(-8px);
  border-color: #cbd5e1;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08);
}

.product-thumb {
  width: 100%;
  aspect-ratio: 1 / 1.34;
  background: radial-gradient(circle at 50% 35%, #f8f9fa 0%, #e4e4e7 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px 14px;
}

.product-device-frame {
  height: 86%;
  max-height: 275px;
  width: auto;
  aspect-ratio: 1 / 2.06;
  max-width: 58%;
  background: #09090b;
  border: 3.5px solid #27272a;
  border-radius: 30px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 14px 28px rgba(0,0,0,0.18), inset 0 0 0 1px rgba(255,255,255,0.15);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
  display: flex;
  flex-direction: column;
}
.product-device-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 35%, rgba(0, 0, 0, 0.05) 100%);
  pointer-events: none;
  z-index: 3;
  border-radius: inherit;
}
.product-card:hover .product-device-frame {
  transform: scale(1.04) translateY(-3px);
  box-shadow: 0 18px 36px rgba(0,0,0,0.22), inset 0 0 0 1px rgba(255,255,255,0.25);
}

/* ============================================================
   AUTHENTIC IPHONE PRO / PRO MAX CAMERA ISLAND
   ============================================================ */
.device-camera-island {
  position: absolute;
  top: 9px;
  left: 9px;
  width: 50px;
  height: 52px;
  background: rgba(24, 24, 27, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  z-index: 4;
  padding: 0;
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.3);
  transition: all 0.25s ease;
}

/* Customizer Hero Stage Phone Frame & Camera Island */
.phone-frame {
  position: relative;
  width: 240px;
  height: 494px;
  background: #0d0e12;
  border: 5px solid #27272a;
  border-radius: 44px;
  box-shadow: 0 25px 60px -10px rgba(0, 0, 0, 0.35), 
              0 10px 25px -5px rgba(0, 0, 0, 0.2), 
              0 0 0 1px rgba(0, 0, 0, 0.08), 
              inset 0 0 0 1.5px rgba(255, 255, 255, 0.18);
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}
.phone-frame::before {
  content: '';
  position: absolute;
  left: -8px;
  top: 100px;
  width: 4px;
  height: 48px;
  background: #3f3f46;
  border-radius: 2px;
  box-shadow: 0 60px 0 #3f3f46, 0 120px 0 #3f3f46;
  z-index: 10;
}
.phone-frame::after {
  content: '';
  position: absolute;
  right: -8px;
  top: 120px;
  width: 4px;
  height: 64px;
  background: #3f3f46;
  border-radius: 2px;
  z-index: 10;
}
.phone-skin-layer {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: all 0.3s ease;
  z-index: 2;
}
.phone-frame.full-wrap .phone-skin-layer {
  inset: 0;
  border-radius: 38px;
}
.phone-frame.back-only .phone-skin-layer {
  inset: 6px;
  border-radius: 36px;
  box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.5), 0 0 0 2px rgba(255, 255, 255, 0.06);
}
.phone-glass-glare {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0.05) 30%, transparent 55%);
  z-index: 6;
  border-radius: inherit;
}
.phone-custom-text {
  position: absolute;
  bottom: 40px;
  left: 0;
  right: 0;
  text-align: center;
  font-family: var(--font-heading, inherit);
  font-size: 0.88rem;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9), 0 0 10px rgba(0, 240, 255, 0.5);
  z-index: 5;
  padding: 0 16px;
  pointer-events: none;
}

/* Hero Stage Camera Island */
.phone-camera-island {
  position: absolute;
  z-index: 4;
  overflow: hidden;
  transition: all 0.25s ease;
  --island-top: 14px;
  --island-left: 14px;
}

.camera-island-skin-bg {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  transition: opacity 0.2s ease;
}

/* Symmetric full wrap mode: aligned seamlessly with the phone back body */
.camera-island-skin-bg.symmetric-mode {
  top: calc(-1 * var(--island-top, 14px));
  left: calc(-1 * var(--island-left, 14px));
  width: 230px;
  height: 484px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Custom accent mode: user explicitly chose a separate camera texture */
.camera-island-skin-bg.accent-mode {
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Ensure camera lenses, flashes and sensors sit on top of the skin layer */
.phone-camera-island > *:not(.camera-island-skin-bg) {
  position: relative;
  z-index: 2;
}

.phone-camera-island.island-apple-pro,
.phone-camera-island:not([class*="island-"]) {
  --island-top: 14px;
  --island-left: 14px;
  top: 14px;
  left: 14px;
  width: 82px;
  height: 86px;
  background: rgba(24, 24, 27, 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  border-radius: 26px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.55), inset 0 1px 2px rgba(255, 255, 255, 0.35);
}

/* Full Body Wrap: Skin applied to the camera bump too! */
.phone-frame.full-wrap .phone-camera-island.skin-covered:not(.island-samsung) {
  border: 2px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45), inset 0 1px 2px rgba(255, 255, 255, 0.45);
}

.phone-camera-island.island-apple-dual {
  --island-top: 14px;
  --island-left: 14px;
  top: 14px;
  left: 14px;
  width: 44px;
  height: 86px;
  background: rgba(24, 24, 27, 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  border-radius: 22px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.55), inset 0 1px 2px rgba(255, 255, 255, 0.35);
}
.phone-camera-island.island-pixel-bar {
  --island-top: 36px;
  --island-left: 0px;
  top: 36px;
  left: 0;
  right: 0;
  width: 100%;
  height: 46px;
  background: #18181b;
  border-top: 1.5px solid rgba(255, 255, 255, 0.2);
  border-bottom: 1.5px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.5);
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
}
.phone-camera-island.island-samsung {
  --island-top: 20px;
  --island-left: 16px;
  top: 20px;
  left: 16px;
  width: 68px;
  height: 180px;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}
.phone-camera-island.island-circle {
  --island-top: 24px;
  --island-left: 20px;
  top: 24px;
  left: 20px;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: #18181b;
  border: 2px solid #52525b;
  box-shadow: 0 8px 24px rgba(0,0,0,0.6), inset 0 1px 3px rgba(255,255,255,0.3);
}
.phone-camera-island.island-nothing {
  --island-top: 16px;
  --island-left: 16px;
  top: 16px;
  left: 16px;
  width: 44px;
  height: 78px;
  background: rgba(24, 24, 27, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 20px;
}

/* 7. vivo & iQOO Aura Light Module */
.phone-camera-island.island-vivo-aura {
  --island-top: 14px;
  --island-left: 14px;
  top: 14px;
  left: 14px;
  width: 58px;
  height: 116px;
  border-radius: 26px;
  background: rgba(24, 24, 28, 0.94);
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 8px 24px rgba(0,0,0,0.55);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 10px 6px;
}
.device-camera-island.island-vivo-aura {
  top: 10px;
  left: 10px;
  width: 28px;
  height: 56px;
  border-radius: 12px;
  background: rgba(20, 20, 24, 0.94);
  border: 1px solid rgba(255,255,255,0.22);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 5px 3px;
}
.vivo-aura-circle {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2.5px solid #fef08a;
  box-shadow: 0 0 8px rgba(254, 240, 138, 0.7), inset 0 0 6px rgba(254, 240, 138, 0.5);
  background: rgba(254, 240, 138, 0.15);
}
.device-camera-island .vivo-aura-circle {
  width: 12px;
  height: 12px;
  border: 1.5px solid #fef08a;
  box-shadow: 0 0 4px rgba(254, 240, 138, 0.6);
}

/* 8. Xiaomi / Redmi / POCO Squircle Matrix Module */
.phone-camera-island.island-squircle {
  --island-top: 14px;
  --island-left: 14px;
  top: 14px;
  left: 14px;
  width: 84px;
  height: 84px;
  border-radius: 22px;
  background: rgba(24, 24, 27, 0.94);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 8px 22px rgba(0,0,0,0.55);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
  justify-items: center;
  padding: 8px;
  gap: 6px;
}
.device-camera-island.island-squircle {
  top: 10px;
  left: 10px;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(20, 20, 24, 0.94);
  border: 1px solid rgba(255,255,255,0.25);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
  justify-items: center;
  padding: 4px;
  gap: 3px;
}

/* 9. Motorola Contoured Organic Sculpt */
.phone-camera-island.island-moto-sculpt {
  --island-top: 14px;
  --island-left: 14px;
  top: 14px;
  left: 14px;
  width: 64px;
  height: 94px;
  border-radius: 26px;
  background: rgba(26, 26, 30, 0.92);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 10px 26px rgba(0,0,0,0.45);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
  padding: 8px 4px;
}
.device-camera-island.island-moto-sculpt {
  top: 10px;
  left: 10px;
  width: 30px;
  height: 48px;
  border-radius: 12px;
  background: rgba(20, 20, 24, 0.92);
  border: 1px solid rgba(255,255,255,0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
  padding: 4px 2px;
}

/* 10. Cyber Mecha Shield (Infinix GT / Tecno Pova) */
.phone-camera-island.island-cyber-matrix {
  --island-top: 14px;
  --island-left: 14px;
  top: 14px;
  left: 14px;
  width: 76px;
  height: 96px;
  clip-path: polygon(0 0, 100% 0, 100% 80%, 75% 100%, 0 100%);
  background: #0f172a;
  border: 2px solid #06b6d4;
  box-shadow: 0 0 16px rgba(6, 182, 212, 0.35);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
  padding: 10px 6px;
}
.device-camera-island.island-cyber-matrix {
  top: 10px;
  left: 10px;
  width: 36px;
  height: 46px;
  clip-path: polygon(0 0, 100% 0, 100% 80%, 75% 100%, 0 100%);
  background: #0f172a;
  border: 1.5px solid #06b6d4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
  padding: 4px 2px;
}

/* 11. Flip / Fold Outer Screen Display */
.phone-camera-island.island-flip-screen {
  --island-top: 12px;
  --island-left: 12px;
  top: 12px;
  left: 12px;
  right: 12px;
  width: calc(100% - 24px);
  height: 128px;
  border-radius: 20px;
  background: #09090b;
  border: 2px solid #27272a;
  box-shadow: inset 0 0 12px rgba(0,0,0,0.9), 0 8px 24px rgba(0,0,0,0.5);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 10px 14px;
}
.device-camera-island.island-flip-screen {
  top: 8px;
  left: 8px;
  right: 8px;
  width: calc(100% - 16px);
  height: 58px;
  border-radius: 10px;
  background: #09090b;
  border: 1.5px solid #27272a;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 4px 6px;
}


/* 3 Large Triangular Lenses (iPhone Pro / Pro Max) */
.iphone-pro-lens {
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #52525b 0%, #27272a 60%, #18181b 100%);
  border: 1.5px solid #a1a1aa;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.55), inset 0 1px 1px rgba(255, 255, 255, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
}
.iphone-pro-lens .lens-core {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #0284c7 0%, #0f172a 50%, #020617 100%);
  border: 0.5px solid rgba(56, 189, 248, 0.45);
  box-shadow: inset 0 0 3px #38bdf8, 0 0 2px rgba(0,0,0,0.8);
  display: block;
  position: relative;
}
.iphone-pro-lens .lens-core::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 2.5px;
  height: 2.5px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
}

/* Lens 1: Top-Left (Wide) */
.iphone-pro-lens.lens-tl {
  top: 5px;
  left: 5px;
}
/* Lens 2: Bottom-Left (Telephoto) */
.iphone-pro-lens.lens-bl {
  bottom: 5px;
  left: 5px;
}
/* Lens 3: Right-Center (Ultra-Wide) */
.iphone-pro-lens.lens-tr {
  top: 16px;
  right: 5px;
}

/* True Tone Flash (Top-Right) */
.iphone-pro-flash {
  position: absolute;
  top: 7px;
  right: 9px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: radial-gradient(circle, #fef08a 30%, #eab308 85%);
  border: 0.8px solid rgba(0, 0, 0, 0.35);
  box-shadow: 0 0 4px rgba(234, 179, 8, 0.6);
}

/* LiDAR Sensor (Bottom-Right) */
.iphone-pro-lidar {
  position: absolute;
  bottom: 7px;
  right: 9px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #09090b;
  border: 0.8px solid #3f3f46;
  box-shadow: inset 0 0 2px #000;
}

/* Microphone Hole (Right Edge) */
.iphone-pro-mic {
  position: absolute;
  top: 25px;
  right: 2px;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: #000;
}

/* Dual Lenses for Base iPhone 16 / 15 / 14 / 13 */
.iphone-dual-lens {
  position: absolute;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #52525b 0%, #27272a 60%, #18181b 100%);
  border: 1.5px solid #a1a1aa;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.55), inset 0 1px 1px rgba(255, 255, 255, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
}
.iphone-dual-lens .lens-core {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #0284c7 0%, #0f172a 50%, #020617 100%);
  border: 0.5px solid rgba(56, 189, 248, 0.45);
  box-shadow: inset 0 0 3px #38bdf8;
  display: block;
}
.iphone-dual-lens.lens-d1 { top: 7px; left: 8px; }
.iphone-dual-lens.lens-d2 { bottom: 7px; left: 8px; }

/* ============================================================
   HERO STAGE CAMERA LENSES & SENSORS (CUSTOMIZER)
   ============================================================ */
.stage-lens-pro {
  position: absolute;
  width: 29px;
  height: 29px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #71717a 0%, #3f3f46 50%, #18181b 100%);
  border: 2.5px solid #d4d4d8;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.7), inset 0 1.5px 2px rgba(255, 255, 255, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
}
.stage-lens-pro .lens-core {
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #0284c7 0%, #0f172a 55%, #020617 100%);
  border: 0.8px solid rgba(56, 189, 248, 0.6);
  box-shadow: inset 0 0 5px #38bdf8, 0 0 3px rgba(0,0,0,0.9);
  display: block;
  position: relative;
}
.stage-lens-pro .lens-core::after {
  content: '';
  position: absolute;
  top: 3.5px;
  left: 3.5px;
  width: 4.5px;
  height: 4.5px;
  background: #ffffff;
  border-radius: 50%;
  box-shadow: 0 0 3px #ffffff;
}

.stage-lens-pro.lens-tl { top: 7px; left: 7px; }
.stage-lens-pro.lens-bl { bottom: 7px; left: 7px; }
.stage-lens-pro.lens-tr { top: 27px; right: 7px; }

.stage-flash {
  position: absolute;
  top: 10px;
  right: 14px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fef08a 25%, #eab308 75%, #ca8a04 100%);
  border: 1.2px solid rgba(0, 0, 0, 0.5);
  box-shadow: 0 0 8px rgba(234, 179, 8, 0.8), inset 0 1px 1px rgba(255, 255, 255, 0.8);
  z-index: 5;
}
.stage-lidar {
  position: absolute;
  bottom: 11px;
  right: 14px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #09090b;
  border: 1.2px solid #52525b;
  box-shadow: inset 0 0 3px #000;
  z-index: 5;
}
.stage-mic {
  position: absolute;
  bottom: 27px;
  right: 17px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #09090b;
  border: 0.5px solid #27272a;
  z-index: 5;
}

.stage-lens-dual {
  position: absolute;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #71717a 0%, #3f3f46 50%, #18181b 100%);
  border: 2.5px solid #d4d4d8;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.7);
  left: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
}
.stage-lens-dual .lens-core {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #0284c7 0%, #0f172a 55%, #020617 100%);
  position: relative;
}
.stage-lens-dual .lens-core::after {
  content: '';
  position: absolute;
  top: 3.5px;
  left: 3.5px;
  width: 4px;
  height: 4px;
  background: #ffffff;
  border-radius: 50%;
  box-shadow: 0 0 3px #ffffff;
}
.stage-lens-dual.lens-d1 { top: 9px; }
.stage-lens-dual.lens-d2 { bottom: 9px; }

.stage-pixel-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #09090b;
  padding: 4px 12px;
  border-radius: 20px;
  border: 1.5px solid #3f3f46;
}
.stage-pixel-lens {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #0284c7 0%, #09090b 70%);
  border: 1.5px solid #71717a;
}
.stage-pixel-flash {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: radial-gradient(circle, #fef08a 30%, #eab308 85%);
  border: 1px solid #713f12;
  box-shadow: 0 0 6px rgba(234, 179, 8, 0.6);
}

.stage-samsung-lens {
  position: absolute;
  left: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #71717a 0%, #3f3f46 50%, #18181b 100%);
  border: 2.5px solid #d4d4d8;
  box-shadow: 0 5px 12px rgba(0,0,0,0.75), inset 0 1.5px 2px rgba(255,255,255,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
}
.stage-samsung-lens .lens-core {
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #0284c7 0%, #0f172a 55%, #020617 100%);
  position: relative;
}
.stage-samsung-lens .lens-core::after {
  content: '';
  position: absolute;
  top: 3.5px;
  left: 3.5px;
  width: 4.5px;
  height: 4.5px;
  background: #ffffff;
  border-radius: 50%;
  box-shadow: 0 0 3px #ffffff;
}
.stage-samsung-lens.lens-s1 { top: 0px; }
.stage-samsung-lens.lens-s2 { top: 42px; }
.stage-samsung-lens.lens-s3 { top: 84px; }
.stage-samsung-lens.lens-s4 { top: 126px; width: 24px; height: 24px; left: 4px; }
.stage-samsung-lens.lens-s4 .lens-core { width: 14px; height: 14px; }
.stage-samsung-flash {
  position: absolute;
  top: 14px;
  right: 6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: radial-gradient(circle, #fef08a 30%, #eab308 85%);
  box-shadow: 0 0 6px rgba(234, 179, 8, 0.7);
  z-index: 5;
}
.stage-samsung-sensor {
  position: absolute;
  top: 56px;
  right: 7px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #09090b;
  border: 1px solid #3f3f46;
  z-index: 5;
}

/* Legacy/Fallback 3-lens support arranged in iPhone Pro triangle */
.device-camera-island:not(:has(.iphone-pro-lens)):not(.island-pixel-bar):not(.island-samsung):not(.island-circle):not(.island-nothing) {
  display: block;
}
.device-camera-island:not(:has(.iphone-pro-lens)):not(.island-pixel-bar):not(.island-samsung):not(.island-circle):not(.island-nothing) .device-camera-lens {
  position: absolute;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #0284c7 0%, #0f172a 45%, #020617 85%);
  border: 1.5px solid #a1a1aa;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.55), inset 0 1px 1px rgba(255, 255, 255, 0.45), inset 0 0 3px #38bdf8;
}
.device-camera-island:not(:has(.iphone-pro-lens)):not(.island-pixel-bar):not(.island-samsung):not(.island-circle):not(.island-nothing) .device-camera-lens:nth-child(1) {
  top: 5px;
  left: 5px;
}
.device-camera-island:not(:has(.iphone-pro-lens)):not(.island-pixel-bar):not(.island-samsung):not(.island-circle):not(.island-nothing) .device-camera-lens:nth-child(2) {
  bottom: 5px;
  left: 5px;
}
.device-camera-island:not(:has(.iphone-pro-lens)):not(.island-pixel-bar):not(.island-samsung):not(.island-circle):not(.island-nothing) .device-camera-lens:nth-child(3) {
  top: 16px;
  right: 5px;
}

/* ============================================================
   AUTHENTIC GOOGLE PIXEL CAMERA VISOR
   ============================================================ */
.product-device-frame[data-family="camera_bar"] .device-camera-island,
.product-device-frame[data-brand="google-pixel"] .device-camera-island,
.device-camera-island.island-pixel-bar {
  top: 20px;
  left: 0;
  right: 0;
  width: 100%;
  height: 28px;
  border-radius: 0;
  background: linear-gradient(180deg, #27272a 0%, #18181b 50%, #09090b 100%);
  border-top: 2px solid #52525b;
  border-bottom: 2px solid #3f3f46;
  border-left: none;
  border-right: none;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px;
  box-shadow: 0 5px 12px rgba(0,0,0,0.55);
}
.pixel-visor-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #000;
  padding: 3px 8px;
  border-radius: 9999px;
  border: 1.5px solid #27272a;
}
.pixel-lens {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #0284c7 0%, #09090b 70%);
  border: 1px solid #38bdf8;
  box-shadow: inset 0 0 2px #38bdf8;
  display: block;
}
.pixel-flash {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fef08a;
  box-shadow: 0 0 4px #eab308;
  display: block;
}

/* ============================================================
   AUTHENTIC SAMSUNG GALAXY S-SERIES FLOATING CAMERA ARRAY
   ============================================================ */
.product-device-frame[data-family="samsung_slab"] .device-camera-island,
.product-device-frame[data-brand="samsung"] .device-camera-island,
.device-camera-island.island-samsung {
  top: 10px;
  left: 9px;
  width: 36px;
  height: 96px;
  background: transparent;
  border: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
  padding: 0;
  display: block;
}
.samsung-lens {
  position: absolute;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #52525b 0%, #27272a 70%, #09090b 100%);
  border: 2px solid #71717a;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.6), inset 0 1px 1px rgba(255, 255, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
}
.samsung-lens .lens-core {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, #0284c7 0%, #09090b 70%);
  border: 0.5px solid rgba(56, 189, 248, 0.4);
  box-shadow: inset 0 0 2px #38bdf8;
  display: block;
}
.samsung-lens.lens-s1 { top: 0; left: 0; }
.samsung-lens.lens-s2 { top: 24px; left: 0; }
.samsung-lens.lens-s3 { top: 48px; left: 0; }

.samsung-flash {
  position: absolute;
  top: 4px;
  left: 22px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: radial-gradient(circle, #fef08a 30%, #eab308 85%);
  border: 1px solid rgba(0,0,0,0.4);
  box-shadow: 0 0 4px rgba(234, 179, 8, 0.6);
}
.samsung-sensor {
  position: absolute;
  top: 17px;
  left: 23px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #dc2626;
  box-shadow: 0 0 3px #ef4444;
}
.samsung-lens.lens-s4 {
  top: 28px;
  left: 20px;
  width: 12px;
  height: 12px;
}
.samsung-lens.lens-s4 .lens-core {
  width: 7px;
  height: 7px;
}

/* ============================================================
   AUTHENTIC ONEPLUS CIRCULAR WATCH-DIAL ISLAND
   ============================================================ */
.product-device-frame[data-family="circle_island"] .device-camera-island,
.product-device-frame[data-brand="oneplus"] .device-camera-island,
.device-camera-island.island-circle {
  top: 14px;
  left: 8px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: radial-gradient(circle, #27272a 0%, #18181b 70%, #09090b 100%);
  border: 2px solid #71717a;
  box-shadow: 0 5px 14px rgba(0,0,0,0.5), inset 0 1px 2px rgba(255,255,255,0.3);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
  justify-items: center;
  padding: 6px;
  gap: 3px;
  z-index: 4;
}
.oneplus-lens {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #0284c7 0%, #000 70%);
  border: 1px solid #52525b;
  box-shadow: inset 0 0 2px #38bdf8;
}

/* ============================================================
   AUTHENTIC NOTHING PHONE TRANSPARENT DUAL PILL
   ============================================================ */
.product-device-frame[data-family="transparent"] .device-camera-island,
.product-device-frame[data-brand="nothing"] .device-camera-island,
.device-camera-island.island-nothing {
  top: 12px;
  left: 12px;
  width: 22px;
  height: 44px;
  background: rgba(18, 18, 20, 0.9);
  border-radius: 12px;
  border: 1.5px solid rgba(255,255,255,0.3);
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  padding: 3px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.5);
}
.nothing-lens {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #000;
  border: 1px solid rgba(255,255,255,0.4);
  box-shadow: inset 0 0 2px #38bdf8;
}
/* ============================================================
   AUTHENTIC SMARTPHONE MOCK ARCHITECTURES & HARDWARE SILHOUETTES
   ============================================================ */

/* 1. UNIVERSAL FOLDABLE HARDWARE ARCHITECTURE (Dual-Panel Widescreen) */
.product-device-frame[data-family="foldable"],
.product-device-frame[data-model*="fold"],
.product-device-frame[data-model*="duo"],
.product-device-frame[data-model*="open"] {
  height: auto;
  width: 92%;
  max-width: 220px;
  aspect-ratio: 1.28 / 1;
  max-height: 225px;
  border-radius: 20px;
  border: 3.5px solid #27272a;
  background: #09090b;
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.22), inset 0 0 0 1px rgba(255, 255, 255, 0.15);
  display: flex;
}

.product-device-frame[data-family="foldable"] .device-skin-img,
.product-device-frame[data-model*="fold"] .device-skin-img,
.product-device-frame[data-model*="duo"] .device-skin-img,
.product-device-frame[data-model*="open"] .device-skin-img {
  position: absolute;
  left: 0;
  top: 0;
  width: 50% !important;
  height: 100% !important;
  object-fit: cover;
  border-right: 1.5px solid #18181b;
  z-index: 1;
}

.product-device-frame[data-family="foldable"] .device-camera-island,
.product-device-frame[data-model*="fold"] .device-camera-island,
.product-device-frame[data-model*="duo"] .device-camera-island,
.product-device-frame[data-model*="open"] .device-camera-island {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: transparent !important;
  border: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: none !important;
  padding: 0;
  z-index: 3;
  pointer-events: none;
}

/* Foldable Central Vertical Hinge Seam */
.foldable-hinge-seam,
.duo-hinge-seam {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3.5px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, #18181b 0%, #3f3f46 50%, #18181b 100%);
  box-shadow: inset 0 0 2px rgba(0, 0, 0, 0.8), 0 0 4px rgba(0, 0, 0, 0.6);
  z-index: 4;
}

/* Foldable Right Panel External Cover Screen Display */
.foldable-cover-screen,
.duo-cover-screen {
  position: absolute;
  top: 5px;
  bottom: 5px;
  left: calc(50% + 4px);
  right: 5px;
  border-radius: 14px;
  overflow: hidden;
  background: #000;
  border: 1.5px solid #18181b;
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.85);
  z-index: 3;
}

.foldable-screen-wallpaper,
.duo-screen-wallpaper {
  width: 100%;
  height: 100%;
  background: url('../images/devices/iphone-duo-screen.png') center/cover no-repeat,
              linear-gradient(135deg, #0284c7 0%, #38bdf8 40%, #93c5fd 100%);
  display: block;
}

.foldable-punch-hole,
.duo-punch-hole {
  position: absolute;
  top: 7px;
  right: 7px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
}

.foldable-screen-glare,
.duo-screen-glass-glare {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.03) 40%, rgba(0, 0, 0, 0.15) 100%);
  pointer-events: none;
}

/* Foldable Left-Panel Brand Logomarks */
.foldable-brand-logo {
  position: absolute;
  top: 56%;
  left: 25%;
  transform: translate(-50%, -50%);
  z-index: 2;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.28);
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.45));
}
.foldable-brand-logo.brand-text-logo,
.foldable-brand-logo.samsung-logo {
  font-family: var(--font-heading);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

/* Foldable Left-Panel Camera Modules */
.duo-camera-pill {
  position: absolute;
  top: 9px;
  left: 9px;
  width: 48px;
  height: 23px;
  border-radius: 9999px;
  background: rgba(24, 24, 27, 0.92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1.2px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.55), inset 0 1px 1px rgba(255, 255, 255, 0.35);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 4px;
  gap: 3px;
  z-index: 4;
}

.fold-samsung-island {
  position: absolute;
  top: 8px;
  left: 8px;
  width: 32px;
  height: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  z-index: 4;
}
.fold-samsung-island .samsung-lens {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  width: 14px;
  height: 14px;
}
.fold-samsung-island .samsung-lens .lens-core {
  width: 8px;
  height: 8px;
}
.fold-samsung-island .samsung-flash {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  width: 5px;
  height: 5px;
}

.fold-pixel-island {
  position: absolute;
  top: 9px;
  left: 6px;
  width: 44px;
  height: 22px;
  background: #18181b;
  border-radius: 9999px;
  border: 1px solid #3f3f46;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.5);
  z-index: 4;
}

.fold-circle-island {
  position: absolute;
  top: 8px;
  left: 8px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: radial-gradient(circle, #27272a 0%, #18181b 70%, #09090b 100%);
  border: 1.5px solid #71717a;
  box-shadow: 0 4px 10px rgba(0,0,0,0.6);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
  justify-items: center;
  padding: 4px;
  gap: 2px;
  z-index: 4;
}

/* Customizer Stage Foldable Styles */
.phone-frame[data-family="foldable"],
.phone-frame[data-model*="fold"],
.phone-frame[data-model*="duo"],
.phone-frame[data-model*="open"] {
  width: min(440px, 92vw) !important;
  height: auto !important;
  max-width: 95vw !important;
  aspect-ratio: 1.28 / 1 !important;
  border-radius: clamp(20px, 6vw, 36px) !important;
  border-width: clamp(3px, 1vw, 5px) !important;
}

.phone-frame[data-family="foldable"] .phone-skin-layer,
.phone-frame[data-model*="fold"] .phone-skin-layer,
.phone-frame[data-model*="duo"] .phone-skin-layer,
.phone-frame[data-model*="open"] .phone-skin-layer {
  width: 50% !important;
  right: auto !important;
  left: 0 !important;
  border-right: 2.5px solid #18181b !important;
}

.phone-frame[data-family="foldable"] .phone-camera-island,
.phone-frame[data-model*="fold"] .phone-camera-island,
.phone-frame[data-model*="duo"] .phone-camera-island,
.phone-frame[data-model*="open"] .phone-camera-island {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  pointer-events: none !important;
}

.phone-frame[data-family="foldable"] .camera-island-skin-bg,
.phone-frame[data-model*="fold"] .camera-island-skin-bg,
.phone-frame[data-model*="duo"] .camera-island-skin-bg,
.phone-frame[data-model*="open"] .camera-island-skin-bg {
  display: none !important;
}

.phone-frame[data-family="foldable"] .duo-camera-pill,
.phone-frame[data-model*="fold"] .duo-camera-pill,
.phone-frame[data-model*="duo"] .duo-camera-pill {
  top: 16px;
  left: 16px;
  width: 96px;
  height: 44px;
  border-radius: 9999px;
  padding: 0 8px;
  gap: 6px;
  border-width: 2px;
}
.phone-frame[data-family="foldable"] .duo-lens,
.phone-frame[data-model*="fold"] .duo-lens,
.phone-frame[data-model*="duo"] .duo-lens {
  width: 26px;
  height: 26px;
  border-width: 2.5px;
}
.phone-frame[data-family="foldable"] .duo-lens .lens-core,
.phone-frame[data-model*="fold"] .duo-lens .lens-core,
.phone-frame[data-model*="duo"] .duo-lens .lens-core {
  width: 14px;
  height: 14px;
}
.phone-frame[data-family="foldable"] .duo-sensor-col,
.phone-frame[data-model*="fold"] .duo-sensor-col,
.phone-frame[data-model*="duo"] .duo-sensor-col {
  gap: 4px;
  margin-left: 4px;
}
.phone-frame[data-family="foldable"] .duo-flash,
.phone-frame[data-model*="fold"] .duo-flash,
.phone-frame[data-model*="duo"] .duo-flash {
  width: 7px;
  height: 7px;
}
.phone-frame[data-family="foldable"] .duo-mic,
.phone-frame[data-model*="fold"] .duo-mic,
.phone-frame[data-model*="duo"] .duo-mic {
  width: 4px;
  height: 4px;
}
.phone-frame[data-family="foldable"] .fold-samsung-island,
.phone-frame[data-model*="fold"] .fold-samsung-island {
  top: 16px;
  left: 16px;
  width: 58px;
  height: 160px;
  gap: 8px;
}
.phone-frame[data-family="foldable"] .fold-samsung-island .samsung-lens,
.phone-frame[data-model*="fold"] .fold-samsung-island .samsung-lens {
  width: 28px;
  height: 28px;
  border-width: 2px;
}
.phone-frame[data-family="foldable"] .fold-samsung-island .samsung-lens .lens-core,
.phone-frame[data-model*="fold"] .fold-samsung-island .samsung-lens .lens-core {
  width: 16px;
  height: 16px;
}
.phone-frame[data-family="foldable"] .fold-samsung-island .samsung-flash,
.phone-frame[data-model*="fold"] .fold-samsung-island .samsung-flash {
  width: 10px;
  height: 10px;
}
.phone-frame[data-family="foldable"] .fold-circle-island,
.phone-frame[data-model*="fold"] .fold-circle-island,
.phone-frame[data-model*="open"] .fold-circle-island {
  top: 18px;
  left: 18px;
  width: 84px;
  height: 84px;
  border-width: 2.5px;
  padding: 8px;
  gap: 6px;
}
.phone-frame[data-family="foldable"] .foldable-hinge-seam,
.phone-frame[data-model*="fold"] .foldable-hinge-seam,
.phone-frame[data-model*="duo"] .foldable-hinge-seam,
.phone-frame[data-model*="open"] .foldable-hinge-seam {
  width: 5px;
}
.phone-frame[data-family="foldable"] .foldable-cover-screen,
.phone-frame[data-model*="fold"] .foldable-cover-screen,
.phone-frame[data-model*="duo"] .foldable-cover-screen,
.phone-frame[data-model*="open"] .foldable-cover-screen {
  top: 10px;
  bottom: 10px;
  left: calc(50% + 7px);
  right: 10px;
  border-radius: 26px;
  border-width: 2.5px;
}
.phone-frame[data-family="foldable"] .foldable-punch-hole,
.phone-frame[data-model*="fold"] .foldable-punch-hole,
.phone-frame[data-model*="duo"] .foldable-punch-hole,
.phone-frame[data-model*="open"] .foldable-punch-hole {
  top: 14px;
  right: 14px;
  width: 13px;
  height: 13px;
}

/* 2. UNIVERSAL FLIP CLAMSHELL HARDWARE ARCHITECTURE */
.flip-chassis-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 3;
}

.flip-cover-screen {
  position: absolute;
  top: 6px;
  left: 6px;
  right: 6px;
  height: 44%;
  border-radius: 14px;
  background: radial-gradient(circle at 50% 30%, #1e1e24 0%, #09090b 100%);
  border: 1.5px solid #3f3f46;
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.9), 0 4px 12px rgba(0, 0, 0, 0.4);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 8px 10px;
  z-index: 3;
}

.phone-frame .flip-cover-screen {
  top: 12px;
  left: 12px;
  right: 12px;
  height: 45%;
  border-radius: 22px;
  border-width: 2.5px;
  padding: 14px 18px;
}

.flip-screen-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-heading);
  font-size: 0.62rem;
  font-weight: 800;
  color: #94a3b8;
  letter-spacing: 0.04em;
}
.phone-frame .flip-screen-header {
  font-size: 0.88rem;
}

.flip-camera-array {
  display: flex;
  align-items: center;
  gap: 6px;
}
.phone-frame .flip-camera-array {
  gap: 12px;
}

.flip-lens-ring {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #52525b 0%, #18181b 70%, #000 100%);
  border: 1.5px solid #a1a1aa;
  box-shadow: 0 2px 4px rgba(0,0,0,0.6), inset 0 1px 1px rgba(255,255,255,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
}
.phone-frame .flip-lens-ring {
  width: 26px;
  height: 26px;
  border-width: 2px;
}

.flip-flash {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: radial-gradient(circle, #fef08a 30%, #eab308 85%);
  box-shadow: 0 0 3px rgba(234, 179, 8, 0.8);
}
.phone-frame .flip-flash {
  width: 10px;
  height: 10px;
}

.flip-screen-glare {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.02) 40%, transparent 100%);
  pointer-events: none;
}

.flip-hinge-seam {
  position: absolute;
  top: 48%;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #18181b 0%, #52525b 50%, #18181b 100%);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
  z-index: 4;
}
.phone-frame .flip-hinge-seam {
  height: 5px;
}

.flip-bottom-brand {
  position: absolute;
  bottom: 12%;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-heading);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.28);
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.5));
  z-index: 2;
  pointer-events: none;
}
.phone-frame .flip-bottom-brand {
  font-size: 0.95rem;
}

/* 3. SAMSUNG GALAXY S-ULTRA BOXY HARDWARE SILHOUETTE */
.product-device-frame[data-brand="samsung"][data-model*="ultra"] {
  border-radius: 6px !important;
}
.phone-frame[data-brand="samsung"][data-model*="ultra"] {
  border-radius: 8px !important;
}

.samsung-ultra-island,
.samsung-slab-island {
  position: absolute;
  top: 10px;
  left: 9px;
  width: 38px;
  height: 108px;
  display: block;
}
.phone-frame .samsung-ultra-island,
.phone-frame .samsung-slab-island {
  top: 18px;
  left: 16px;
  width: 68px;
  height: 190px;
}

.samsung-ultra-island .samsung-lens.lens-s1 { top: 0; left: 0; }
.samsung-ultra-island .samsung-lens.lens-s2 { top: 25px; left: 0; }
.samsung-ultra-island .samsung-lens.lens-s3 { top: 50px; left: 0; }
.samsung-ultra-island .samsung-flash { top: 5px; left: 22px; }
.samsung-ultra-island .samsung-sensor { top: 17px; left: 23px; }
.samsung-ultra-island .samsung-lens.lens-s4 { top: 29px; left: 20px; }

.phone-frame .samsung-ultra-island .samsung-lens.lens-s1 { top: 0; left: 0; }
.phone-frame .samsung-ultra-island .samsung-lens.lens-s2 { top: 44px; left: 0; }
.phone-frame .samsung-ultra-island .samsung-lens.lens-s3 { top: 88px; left: 0; }
.phone-frame .samsung-ultra-island .samsung-flash { top: 10px; left: 42px; }
.phone-frame .samsung-ultra-island .samsung-sensor { top: 32px; left: 44px; }
.phone-frame .samsung-ultra-island .samsung-lens.lens-s4 { top: 52px; left: 38px; }

/* 4. CIRCULAR WATCH-DIAL CAMERA ISLAND (OnePlus, Xiaomi Ultra, Vivo X, Realme Pro+) */
.watch-dial-island {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, #27272a 0%, #18181b 70%, #09090b 100%);
  border: 2px solid #71717a;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.6), inset 0 1px 2px rgba(255, 255, 255, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 4;
}

.watch-dial-island.circle-island-oneplus {
  top: 14px;
  left: 8px;
  width: 48px;
  height: 48px;
}
.watch-dial-island.circle-island-centered {
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: 52px;
  height: 52px;
}

.phone-frame .watch-dial-island.circle-island-oneplus {
  top: 20px;
  left: 14px;
  width: 96px;
  height: 96px;
  border-width: 3px;
}
.phone-frame .watch-dial-island.circle-island-centered {
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: 106px;
  height: 106px;
  border-width: 3px;
}

.dial-sapphire-face {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
  justify-items: center;
  padding: 6px;
  gap: 3px;
}
.phone-frame .dial-sapphire-face {
  padding: 12px;
  gap: 8px;
}

.dial-lens {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #0284c7 0%, #000 70%);
  border: 1px solid #52525b;
  box-shadow: inset 0 0 2px #38bdf8;
  display: flex;
  align-items: center;
  justify-content: center;
}
.phone-frame .dial-lens {
  width: 26px;
  height: 26px;
  border-width: 1.5px;
}

.dial-flash-quad {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #fef08a;
  box-shadow: 0 0 4px #eab308;
}
.phone-frame .dial-flash-quad {
  width: 8px;
  height: 8px;
}

/* 5. GOOGLE PIXEL FLOATING STADIUM VS VISOR BAR */
.pixel-stadium-island {
  position: absolute;
  top: 18px;
  left: 10px;
  right: 10px;
  width: calc(100% - 20px);
  height: 28px;
  border-radius: 9999px;
  background: #18181b;
  border: 1.5px solid #52525b;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  z-index: 4;
}
.phone-frame .pixel-stadium-island {
  top: 28px;
  left: 18px;
  right: 18px;
  width: calc(100% - 36px);
  height: 52px;
  padding: 0 16px;
  border-width: 2px;
}

.pixel-visor-bar {
  position: absolute;
  top: 20px;
  left: 0;
  right: 0;
  width: 100%;
  height: 28px;
  background: linear-gradient(180deg, #27272a 0%, #18181b 50%, #09090b 100%);
  border-top: 2px solid #52525b;
  border-bottom: 2px solid #3f3f46;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px;
  box-shadow: 0 5px 12px rgba(0,0,0,0.55);
  z-index: 4;
}
.phone-frame .pixel-visor-bar {
  top: 32px;
  height: 52px;
  padding: 0 18px;
}

/* 6. NOTHING PHONE AUTHENTIC GLYPH INTERFACE */
.nothing-glyph-back {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 4;
}

.glyph-camera-pill {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 22px;
  height: 44px;
  background: rgba(18, 18, 20, 0.9);
  border-radius: 12px;
  border: 1.5px solid rgba(255,255,255,0.3);
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  padding: 3px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.5);
}
.phone-frame .glyph-camera-pill {
  top: 20px;
  left: 20px;
  width: 44px;
  height: 88px;
  border-radius: 22px;
  padding: 6px;
}

.nothing-red-recording-led {
  position: absolute;
  top: 3px;
  right: 3px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #ef4444;
  box-shadow: 0 0 3px #ef4444;
}
.phone-frame .nothing-red-recording-led {
  width: 5px;
  height: 5px;
  top: 6px;
  right: 6px;
}

/* Illuminated White LED Glyph Strips */
.glyph-strip {
  position: absolute;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.7), inset 0 0 2px #fff;
}
.glyph-camera-arc {
  top: 9px;
  left: 9px;
  width: 28px;
  height: 50px;
  border-radius: 16px;
  border: 2px solid rgba(255, 255, 255, 0.7);
  background: transparent;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}
.glyph-top-slash {
  top: 14px;
  right: 18px;
  width: 16px;
  height: 2.5px;
  transform: rotate(45deg);
}
.glyph-center-coil {
  top: 48%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.65);
  background: transparent;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.45);
}
.glyph-bottom-line {
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 2.5px;
  height: 18px;
}
.glyph-bottom-dot {
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 2.5px;
  height: 2.5px;
}

.phone-frame .glyph-camera-arc {
  top: 16px;
  left: 16px;
  width: 52px;
  height: 96px;
  border-radius: 28px;
  border-width: 3.5px;
}
.phone-frame .glyph-top-slash {
  top: 24px;
  right: 28px;
  width: 32px;
  height: 4px;
}
.phone-frame .glyph-center-coil {
  width: 108px;
  height: 108px;
  border-width: 3.5px;
}
.phone-frame .glyph-bottom-line {
  bottom: 24px;
  width: 4px;
  height: 36px;
}
.phone-frame .glyph-bottom-dot {
  bottom: 16px;
  width: 4px;
  height: 4px;
}

/* Nothing Phone 2a Centered Eyes Module */
.nothing-2a-center-module {
  position: absolute;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.4);
  background: radial-gradient(circle, #18181b 0%, #09090b 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 4;
}
.phone-frame .nothing-2a-center-module {
  top: 36px;
  width: 116px;
  height: 116px;
  border-width: 3px;
}

.nothing-eyes-pill {
  width: 36px;
  height: 18px;
  border-radius: 9999px;
  background: #000;
  border: 1px solid #52525b;
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 0 4px;
}
.phone-frame .nothing-eyes-pill {
  width: 72px;
  height: 36px;
  border-width: 2px;
  padding: 0 8px;
}

/* 7. VIVO & iQOO AURA LIGHT MODULE */
.vivo-aura-module {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 30px;
  height: 60px;
  border-radius: 14px;
  background: rgba(20, 20, 24, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.22);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 6px 3px;
  z-index: 4;
}
.phone-frame .vivo-aura-module {
  top: 16px;
  left: 16px;
  width: 60px;
  height: 124px;
  border-radius: 26px;
  border-width: 2px;
  padding: 12px 6px;
}

.vivo-cam-upper {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.phone-frame .vivo-cam-upper {
  gap: 8px;
}

.vivo-lens {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #0284c7 0%, #000 70%);
  border: 1px solid #52525b;
  box-shadow: inset 0 0 2px #38bdf8;
}
.phone-frame .vivo-lens {
  width: 24px;
  height: 24px;
  border-width: 2px;
}

.vivo-aura-circle {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid #fef08a;
  box-shadow: 0 0 8px rgba(254, 240, 138, 0.7), inset 0 0 4px rgba(254, 240, 138, 0.5);
  background: rgba(254, 240, 138, 0.15);
}
.phone-frame .vivo-aura-circle {
  width: 34px;
  height: 34px;
  border-width: 3px;
  box-shadow: 0 0 14px rgba(254, 240, 138, 0.8), inset 0 0 8px rgba(254, 240, 138, 0.6);
}

/* 8. XIAOMI / POCO / REDMI SQUIRCLE MATRIX */
.xiaomi-squircle-island {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(20, 20, 24, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.55);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
  justify-items: center;
  padding: 4px;
  gap: 3px;
  z-index: 4;
}
.phone-frame .xiaomi-squircle-island {
  top: 16px;
  left: 16px;
  width: 86px;
  height: 86px;
  border-radius: 24px;
  border-width: 2px;
  padding: 10px;
  gap: 8px;
}

.squircle-lens {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #0284c7 0%, #000 70%);
  border: 1px solid #52525b;
  box-shadow: inset 0 0 2px #38bdf8;
}
.phone-frame .squircle-lens {
  width: 26px;
  height: 26px;
  border-width: 2px;
}

.squircle-flash {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #fef08a;
  box-shadow: 0 0 3px #eab308;
}
.phone-frame .squircle-flash {
  width: 9px;
  height: 9px;
}

/* 9. MOTOROLA ORGANIC CONTOURED SCULPT */
.moto-sculpt-island {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 32px;
  height: 52px;
  border-radius: 14px;
  background: rgba(24, 24, 28, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.45);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
  padding: 4px 2px;
  z-index: 4;
}
.phone-frame .moto-sculpt-island {
  top: 16px;
  left: 16px;
  width: 68px;
  height: 108px;
  border-radius: 28px;
  border-width: 2px;
  padding: 8px 4px;
}

.moto-lens {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #0284c7 0%, #000 70%);
  border: 1px solid #52525b;
}
.phone-frame .moto-lens {
  width: 26px;
  height: 26px;
  border-width: 2px;
}

.moto-flash {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #fef08a;
  box-shadow: 0 0 2px #eab308;
}
.phone-frame .moto-flash {
  width: 8px;
  height: 8px;
}

/* 10. APPLE IPHONE PRO & BASE DUAL ISLANDS */
.iphone-pro-island {
  position: absolute;
  top: 8px;
  left: 8px;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(24, 24, 27, 0.92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1.2px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.55), inset 0 1px 1px rgba(255, 255, 255, 0.35);
  z-index: 4;
}
.phone-frame .iphone-pro-island {
  top: 14px;
  left: 14px;
  width: 82px;
  height: 86px;
  border-radius: 26px;
  border-width: 1.5px;
}

.iphone-dual-island {
  position: absolute;
  top: 8px;
  left: 8px;
  width: 24px;
  height: 46px;
  border-radius: 12px;
  background: rgba(24, 24, 27, 0.92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1.2px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.55), inset 0 1px 1px rgba(255, 255, 255, 0.35);
  z-index: 4;
}
.phone-frame .iphone-dual-island {
  top: 14px;
  left: 14px;
  width: 44px;
  height: 86px;
  border-radius: 22px;
  border-width: 1.5px;
}

.device-skin-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-badge-corner {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 4;
}

.product-info {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
  background: #ffffff;
}

.product-cat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: #6b7280;
  margin-bottom: 6px;
}
.product-rating {
  color: #f59e0b;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 0.82rem;
}

.product-title {
  font-family: var(--font-heading);
  font-size: 0.98rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1.35;
  margin-bottom: 8px;
  color: #111827;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  word-break: normal;
  overflow-wrap: break-word;
  min-height: 2.7em;
}

.product-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.product-price-main {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 900;
  color: #111827;
}
.product-price-cut {
  font-size: 0.88rem;
  color: #9ca3af;
  text-decoration: line-through;
  margin-left: 6px;
}
.product-discount-tag {
  font-size: 0.72rem;
  font-weight: 800;
  background: #ecfdf5;
  color: #059669;
  padding: 2px 7px;
  border-radius: 4px;
  text-transform: uppercase;
}

.product-cta-btn {
  width: 100%;
  padding: 11px 16px;
  background: #111827;
  color: #ffffff;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
}
.product-card:hover .product-cta-btn {
  background: var(--brand-primary);
  box-shadow: 0 4px 14px rgba(191, 47, 47, 0.35);
  color: #ffffff;
}

/* Light Theme Universal Form Components */
.white-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  padding: 32px;
}
.input-clean-light {
  width: 100%;
  padding: 12px 16px;
  background: #ffffff;
  border: 1.5px solid #e5e7eb;
  border-radius: 8px;
  color: #111827;
  font-size: 0.92rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.input-clean-light:focus {
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px rgba(191, 47, 47, 0.12);
}

/* ============================================================
   BRIGHT, ENERGETIC PRE-FOOTER SECTION (YOUTHFUL & VIBRANT)
   Vivid Colors • Pure White Surfaces • High-Energy Visuals
   ============================================================ */
.pre-footer-energetic {
  position: relative;
  background: radial-gradient(circle at 10% 20%, rgba(255, 71, 87, 0.09) 0%, transparent 45%),
              radial-gradient(circle at 90% 80%, rgba(6, 182, 212, 0.10) 0%, transparent 50%),
              radial-gradient(circle at 50% 50%, rgba(245, 158, 11, 0.08) 0%, transparent 45%),
              linear-gradient(180deg, #ffffff 0%, #fff8f8 35%, #f0fdfa 75%, #f8fafc 100%);
  padding: 72px 20px 60px;
  border-top: 1px solid #f1f5f9;
  overflow: hidden;
}
@media (min-width: 1024px) {
  .pre-footer-energetic {
    padding: 88px 48px 68px;
  }
}

.footer-container {
  max-width: 1360px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* 1. Innovative 4-Pillar Trust & Specs Strip (Bright White & Vibrant Icon Accents) */
.footer-specs-strip {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 18px;
  margin-bottom: 48px;
}
@media (min-width: 640px) {
  .footer-specs-strip { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1100px) {
  .footer-specs-strip { grid-template-columns: repeat(4, 1fr); }
}

.footer-spec-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 8px 24px -4px rgba(15, 23, 42, 0.05), 0 2px 6px -1px rgba(15, 23, 42, 0.03);
  position: relative;
}
.footer-spec-card:hover {
  transform: translateY(-6px);
  background: #ffffff;
}

/* Individual Card Vibrant Energetic Themes */
/* Card 1: 3M Vinyl - Neon Coral / Crimson */
.footer-spec-card:nth-child(1) .footer-spec-icon-box {
  background: linear-gradient(135deg, #fee2e2 0%, #ffedd5 100%);
  border: 1.5px solid #fca5a5;
  color: #e11d48;
  box-shadow: 0 4px 14px rgba(225, 29, 72, 0.2);
}
.footer-spec-card:nth-child(1):hover {
  border-color: #f87171;
  box-shadow: 0 16px 36px -4px rgba(239, 68, 68, 0.18), 0 0 0 1.5px #f87171;
}

/* Card 2: 0.05mm Laser - Electric Cyan */
.footer-spec-card:nth-child(2) .footer-spec-icon-box {
  background: linear-gradient(135deg, #ecfeff 0%, #cffafe 100%);
  border: 1.5px solid #67e8f9;
  color: #0284c7;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.2);
}
.footer-spec-card:nth-child(2):hover {
  border-color: #38bdf8;
  box-shadow: 0 16px 36px -4px rgba(6, 182, 212, 0.18), 0 0 0 1.5px #38bdf8;
}

/* Card 3: Express Air Shipping - Sunset Gold / Amber */
.footer-spec-card:nth-child(3) .footer-spec-icon-box {
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  border: 1.5px solid #fcd34d;
  color: #d97706;
  box-shadow: 0 4px 14px rgba(217, 119, 6, 0.2);
}
.footer-spec-card:nth-child(3):hover {
  border-color: #fbbf24;
  box-shadow: 0 16px 36px -4px rgba(245, 158, 11, 0.18), 0 0 0 1.5px #fbbf24;
}

/* Card 4: Free Replacement - Fresh Mint / Emerald */
.footer-spec-card:nth-child(4) .footer-spec-icon-box {
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
  border: 1.5px solid #6ee7b7;
  color: #059669;
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.2);
}
.footer-spec-card:nth-child(4):hover {
  border-color: #34d399;
  box-shadow: 0 16px 36px -4px rgba(16, 185, 129, 0.18), 0 0 0 1.5px #34d399;
}

.footer-spec-icon-box {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.footer-spec-card:hover .footer-spec-icon-box {
  transform: scale(1.1) rotate(-3deg);
}
.footer-spec-content {
  flex: 1;
}
.footer-spec-title {
  font-family: var(--font-heading);
  font-size: 0.96rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #0f172a;
  margin-bottom: 3px;
}
.footer-spec-sub {
  font-size: 0.81rem;
  color: #475569;
  line-height: 1.45;
  font-weight: 500;
}

/* 2. Innovative VIP Club / Newsletter Hero Card (Bright & High-Energy) */
.footer-vip-banner {
  background: linear-gradient(135deg, #ffffff 0%, #fff5f5 45%, #eff6ff 85%, #fdf4ff 100%);
  border: 2px solid #fed7aa;
  border-radius: 24px;
  padding: 38px 32px;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 32px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 48px -10px rgba(239, 68, 68, 0.12), 0 10px 24px -6px rgba(59, 130, 246, 0.08);
}
@media (min-width: 992px) {
  .footer-vip-banner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 48px 52px;
  }
}
.footer-vip-banner::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(255, 71, 87, 0.18) 0%, rgba(249, 115, 22, 0.1) 50%, transparent 70%);
  pointer-events: none;
}
.footer-vip-banner::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: 20%;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.footer-vip-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: linear-gradient(135deg, #fee2e2 0%, #ffedd5 100%);
  border: 1.5px solid #fca5a5;
  border-radius: 9999px;
  color: #dc2626;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 14px;
  box-shadow: 0 2px 8px rgba(220, 38, 38, 0.12);
}
.footer-vip-title {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 2.7vw, 2.1rem);
  font-weight: 900;
  color: #0f172a;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  line-height: 1.18;
}
.footer-vip-desc {
  font-size: 0.95rem;
  color: #475569;
  max-width: 480px;
  line-height: 1.6;
  margin-bottom: 0;
  font-weight: 500;
}
.footer-vip-form-wrap {
  width: 100%;
  max-width: 540px;
  position: relative;
  z-index: 2;
}
.footer-vip-lead-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-vip-form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
@media (min-width: 600px) {
  .footer-vip-form-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.footer-vip-field {
  width: 100%;
}
.footer-vip-input {
  width: 100%;
  box-sizing: border-box;
  padding: 14px 18px;
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: var(--radius-md);
  color: #0f172a;
  font-size: 0.9rem;
  font-family: var(--font-body);
  font-weight: 600;
  outline: none;
  transition: all 0.25s ease;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.03);
}
.footer-vip-input:focus {
  background: #ffffff;
  border-color: #ef4444;
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.15), 0 2px 8px rgba(15, 23, 42, 0.06);
}
.footer-vip-input::placeholder {
  color: #94a3b8;
  font-size: 0.86rem;
  font-weight: 500;
}
.footer-vip-submit-btn {
  width: 100%;
  padding: 16px 26px;
  background: linear-gradient(135deg, #ef4444 0%, #f97316 55%, #e11d48 100%);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-size: 0.96rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 6px 22px rgba(239, 68, 68, 0.4), 0 2px 6px rgba(249, 115, 22, 0.25);
}
.footer-vip-submit-btn:hover {
  background: linear-gradient(135deg, #dc2626 0%, #ea580c 55%, #be123c 100%);
  transform: translateY(-3px) scale(1.01);
  box-shadow: 0 12px 28px rgba(239, 68, 68, 0.55), 0 4px 12px rgba(249, 115, 22, 0.35);
}
.footer-vip-submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}
.footer-vip-subtext {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  color: #64748b;
  margin-top: 6px;
  flex-wrap: wrap;
  font-weight: 600;
}

/* Revealed High-Tech VIP Voucher Card (Bright Celebratory State) */
.footer-vip-voucher-unlocked {
  display: none;
  background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 50%, #eff6ff 100%);
  border: 2px solid #86efac;
  border-radius: 18px;
  padding: 26px;
  box-shadow: 0 12px 36px rgba(34, 197, 94, 0.16), 0 4px 12px rgba(0, 0, 0, 0.04);
  animation: fadeInZoom 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}
@keyframes fadeInZoom {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}
.vip-voucher-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 800;
  color: #16a34a;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}
.vip-voucher-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 900;
  color: #0f172a;
  text-transform: uppercase;
  margin-bottom: 14px;
  line-height: 1.25;
}
.vip-code-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #ffffff;
  border: 2px dashed #ef4444;
  border-radius: 12px;
  padding: 14px 18px;
  margin-bottom: 16px;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.08);
}
.vip-code-text {
  font-family: monospace;
  font-size: 1.55rem;
  font-weight: 900;
  color: #dc2626;
  letter-spacing: 0.08em;
}
.vip-code-copy-btn {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 10px 18px;
  font-family: var(--font-heading);
  font-size: 0.84rem;
  font-weight: 800;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}
.vip-code-copy-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(239, 68, 68, 0.45);
}
.vip-voucher-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.vip-voucher-shop-btn {
  flex: 1;
  min-width: 160px;
  padding: 11px 18px;
  background: #22c55e;
  color: #ffffff;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.85rem;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s ease;
}
.vip-voucher-shop-btn:hover {
  background: #16a34a;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(34, 197, 94, 0.4);
}
.vip-voucher-custom-btn {
  flex: 1;
  min-width: 140px;
  padding: 11px 18px;
  background: #0f172a;
  border: 1px solid #1e293b;
  color: #ffffff;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.85rem;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}
.vip-voucher-custom-btn:hover {
  background: #1e293b;
  border-color: #334155;
  transform: translateY(-2px);
}
.vip-voucher-footer-note {
  font-size: 0.8rem;
  color: #64748b;
  line-height: 1.5;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  border-top: 1px solid #e2e8f0;
  padding-top: 12px;
  font-weight: 500;
}
.vip-voucher-reset-link {
  color: #dc2626;
  background: none;
  border: none;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
}

/* ============================================================
   INNOVATIVE & MODERN HIGH-TECH LUXURY SITEMAP FOOTER
   ============================================================ */
.app-footer {
  position: relative;
  background: radial-gradient(ellipse at 50% 0%, #161b26 0%, #0a0c10 70%, #06080b 100%);
  color: #ffffff;
  padding: 70px 20px 110px;
  margin-top: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 -16px 48px rgba(0, 0, 0, 0.25);
  overflow: hidden;
}
@media (min-width: 1024px) {
  .app-footer { padding: 80px 48px 56px; margin-top: 0; }
}

/* Subtle Ambient Background Mesh in Footer */
.app-footer::before {
  content: '';
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(191, 47, 47, 0.15) 0%, rgba(191, 47, 47, 0) 70%);
  pointer-events: none;
  z-index: 0;
}

/* 3. Five-Column Modern Sitemap Grid */
.footer-main-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 56px;
}
@media (min-width: 640px) {
  .footer-main-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .footer-main-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; gap: 32px; }
}

.footer-col-about {
  display: flex;
  flex-direction: column;
}
.footer-brand-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.footer-brand-title {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #ffffff;
  text-transform: uppercase;
}
.footer-brand-title span {
  color: var(--brand-primary);
}
.footer-about-bio {
  font-size: 0.86rem;
  color: #94a3b8;
  line-height: 1.65;
  margin-bottom: 18px;
}
.footer-live-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.25);
  border-radius: var(--radius-pill);
  padding: 6px 14px;
  font-size: 0.78rem;
  color: #4ade80;
  font-weight: 700;
  margin-bottom: 22px;
  width: fit-content;
}
.footer-pulse-dot {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 10px #22c55e;
  animation: beaconPulse 2s infinite;
}
@keyframes beaconPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

/* Social Hubs */
.footer-social-row {
  display: flex;
  gap: 10px;
}
.footer-social-pill {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  text-decoration: none;
  font-size: 1rem;
  transition: all 0.25s ease;
}
.footer-social-pill:hover {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(191, 47, 47, 0.35);
}

/* Column Headers and Links */
.footer-col-heading {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-nav-link {
  color: #94a3b8;
  font-size: 0.86rem;
  text-decoration: none;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.footer-nav-link:hover {
  color: #ffffff;
  transform: translateX(4px);
}
.footer-nav-link:hover::before {
  content: '›';
  color: var(--brand-primary);
  font-weight: bold;
}
.footer-nav-link .nav-tag {
  font-size: 0.68rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.nav-tag-hot { background: rgba(239, 68, 68, 0.2); color: #f87171; border: 1px solid rgba(239, 68, 68, 0.3); }
.nav-tag-new { background: rgba(59, 130, 246, 0.2); color: #60a5fa; border: 1px solid rgba(59, 130, 246, 0.3); }
.nav-tag-ai  { background: rgba(168, 85, 247, 0.2); color: #c084fc; border: 1px solid rgba(168, 85, 247, 0.3); }

/* 4. Bottom Utilities & Payment Strip */
.footer-bottom-bar {
  padding-top: 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
}
@media (min-width: 1024px) {
  .footer-bottom-bar {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.footer-copy-info {
  font-size: 0.82rem;
  color: #64748b;
  text-align: center;
  line-height: 1.6;
}
@media (min-width: 1024px) {
  .footer-copy-info { text-align: left; }
}
.footer-copy-info a {
  color: #94a3b8;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}
.footer-copy-info a:hover {
  color: var(--brand-primary);
}

/* Payment Rails Strip */
.footer-payment-strip {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}
.payment-badge {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  padding: 6px 10px;
  font-family: var(--font-heading);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #cbd5e1;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}
.payment-badge:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
  color: #ffffff;
  transform: translateY(-2px);
}

/* Scroll To Top Button */
.footer-back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #cbd5e1;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all 0.25s ease;
}
.footer-back-to-top:hover {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(191, 47, 47, 0.35);
}


/* ============================================================
   CONSENT & SPIN WHEEL MODALS (Light Theme Friendly)
   ============================================================ */
.ms-consent-banner {
  position: fixed;
  bottom: 80px;
  left: 16px;
  right: 16px;
  max-width: 480px;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  padding: 20px;
  z-index: 150;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
@media (min-width: 1024px) {
  .ms-consent-banner { bottom: 24px; left: 24px; }
}

.cb-btn--accept {
  background: var(--brand-primary);
  color: #fff;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-family: var(--font-heading);
  text-transform: uppercase;
}
.cb-btn--reject {
  background: var(--bg-surface);
  color: var(--text-main);
  border: 1px solid var(--border-medium);
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  font-weight: 600;
}

#ms-consent-modal:not(.open) {
  display: none !important;
}
#spin-wheel-modal:not(.active), #exit-intent-modal:not(.active), .lead-modal-overlay:not(.active) {
  display: none !important;
}
#spin-wheel-modal.active, #exit-intent-modal.active, .lead-modal-overlay.active {
  display: flex !important;
  position: fixed !important;
  inset: 0 !important;
  z-index: 99999 !important;
}

/* AI Chat Floating Widget */
.ai-chat-launcher {
  position: fixed;
  bottom: 84px;
  right: 20px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #111827;
  color: #ffffff;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 90;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), background 0.2s;
}
@media (min-width: 1024px) {
  .ai-chat-launcher {
    bottom: 24px;
    right: 24px;
    width: 54px;
    height: 54px;
  }
}
.ai-chat-launcher:hover {
  transform: scale(1.08);
  background: var(--brand-primary);
}

/* Floating WhatsApp Launcher (Left Side, Exact Same Height as AI Chatbot) */
.whatsapp-floating-launcher {
  position: fixed;
  bottom: 84px;
  left: 20px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #25D366;
  color: #ffffff;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 90;
  text-decoration: none;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s, background 0.2s;
}
@media (min-width: 1024px) {
  .whatsapp-floating-launcher {
    bottom: 24px;
    left: 24px;
    width: 54px;
    height: 54px;
  }
}
.whatsapp-floating-launcher:hover {
  transform: scale(1.1);
  background: #20ba5a;
  box-shadow: 0 6px 22px rgba(37, 211, 102, 0.65);
}
.whatsapp-online-dot {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #4ade80;
  border: 2px solid #ffffff;
  box-shadow: 0 0 6px rgba(74, 222, 128, 0.8);
  animation: pulse-online 1.8s infinite;
}
@keyframes pulse-online {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.2); opacity: 0.8; }
  100% { transform: scale(1); opacity: 1; }
}

.whatsapp-floating-tooltip {
  position: absolute;
  left: 64px;
  background: #0f172a;
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: 9999px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}
.whatsapp-floating-tooltip::before {
  content: '';
  position: absolute;
  left: -5px;
  top: 50%;
  transform: translateY(-50%);
  border-width: 5px 5px 5px 0;
  border-style: solid;
  border-color: transparent #0f172a transparent transparent;
}
.whatsapp-floating-launcher:hover .whatsapp-floating-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}
@media (max-width: 640px) {
  .whatsapp-floating-tooltip {
    display: none;
  }
}

.ai-chat-modal {
  display: none;
  position: fixed;
  bottom: 84px;
  right: 20px;
  width: 360px;
  max-width: calc(100vw - 40px);
  height: 480px;
  max-height: calc(100vh - 120px);
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  box-shadow: 0 20px 48px -8px rgba(0, 0, 0, 0.2);
  z-index: 95;
  flex-direction: column;
  overflow: hidden;
}
.ai-chat-modal.active {
  display: flex;
}
.ai-chat-header {
  padding: 14px 18px;
  background: #111827;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.ai-chat-messages {
  flex: 1;
  padding: 16px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #f8f9fa;
  font-size: 0.88rem;
}
.chat-msg {
  padding: 10px 14px;
  border-radius: 12px;
  max-width: 82%;
  line-height: 1.5;
}
.chat-msg.bot {
  background: #ffffff;
  color: #111827;
  align-self: flex-start;
  border: 1px solid var(--border-subtle);
}
.chat-msg.user {
  background: var(--brand-primary);
  color: #ffffff;
  align-self: flex-end;
}
.ai-chat-input-bar {
  padding: 12px 14px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  gap: 8px;
  background: #ffffff;
}
.ai-chat-input-bar input {
  flex: 1;
  padding: 8px 12px;
  border: 1px solid var(--border-medium);
  border-radius: 8px;
  font-size: 0.85rem;
  outline: none;
}
.ai-chat-input-bar button {
  padding: 8px 14px;
  background: var(--brand-primary);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
}

/* ============================================================
   GLOBAL SCROLL READING PROGRESS BAR
   ============================================================ */
.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3.5px;
  background: linear-gradient(90deg, var(--brand-primary) 0%, #ff4757 35%, #06b6d4 75%, #10b981 100%);
  transform-origin: 0 50%;
  transform: scaleX(0);
  z-index: 999999;
  pointer-events: none;
  box-shadow: 0 0 10px rgba(191, 47, 47, 0.7), 0 0 18px rgba(6, 182, 212, 0.45);
  transition: transform 0.08s ease-out;
}

/* ============================================================
   FLOATING BACK TO TOP BUTTON
   ============================================================ */
.floating-back-to-top {
  position: fixed;
  bottom: 84px;
  right: 84px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #ffffff;
  color: var(--brand-black);
  border: 1.5px solid var(--border-subtle);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 89;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.9);
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.2s, color 0.2s, box-shadow 0.2s, border-color 0.2s, visibility 0.35s;
}
@media (min-width: 1024px) {
  .floating-back-to-top {
    bottom: 24px;
    right: 88px;
    width: 48px;
    height: 48px;
  }
}
.floating-back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}
.floating-back-to-top:hover {
  background: var(--brand-primary);
  color: #ffffff;
  border-color: var(--brand-primary);
  transform: translateY(-4px) scale(1.06);
  box-shadow: 0 12px 28px rgba(191, 47, 47, 0.4);
}
.floating-back-to-top:active {
  transform: translateY(-1px) scale(0.96);
}

/* ============================================================
   GLOBAL SCROLL REVEAL & MOTION SYSTEM (ALL SECTIONS & PAGES)
   Silky Spring-Dampened Easing • Apple & Stripe-Grade Aesthetics
   ============================================================ */
.reveal, .reveal-up, .reveal-section, [data-reveal], [data-reveal="up"] {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-left, [data-reveal="left"] {
  opacity: 0;
  transform: translateX(-38px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-right, [data-reveal="right"] {
  opacity: 0;
  transform: translateX(38px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-zoom, .reveal-scale, [data-reveal="zoom"] {
  opacity: 0;
  transform: scale(0.92) translateY(20px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-pop {
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.65s cubic-bezier(0.34, 1.56, 0.64, 1),
              transform 0.65s cubic-bezier(0.34, 1.56, 0.64, 1);
  will-change: opacity, transform;
}

/* Revealed Active State */
.is-revealed {
  opacity: 1 !important;
  transform: translate(0, 0) scale(1) !important;
}

/* Stagger Delays for Cascade Waves */
.delay-1  { transition-delay: 0.05s !important; }
.delay-2  { transition-delay: 0.10s !important; }
.delay-3  { transition-delay: 0.15s !important; }
.delay-4  { transition-delay: 0.20s !important; }
.delay-5  { transition-delay: 0.25s !important; }
.delay-6  { transition-delay: 0.30s !important; }
.delay-7  { transition-delay: 0.35s !important; }
.delay-8  { transition-delay: 0.40s !important; }
.delay-9  { transition-delay: 0.45s !important; }
.delay-10 { transition-delay: 0.50s !important; }
.delay-11 { transition-delay: 0.55s !important; }
.delay-12 { transition-delay: 0.60s !important; }

/* Pulse animation on compare slider handle */
@keyframes handleHintPulse {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
  }
  50% {
    transform: translate(-50%, -50%) scale(1.15);
    box-shadow: 0 0 24px rgba(191, 47, 47, 0.7);
  }
}
.capes-handle-circle.hint-pulse {
  animation: handleHintPulse 2s ease-in-out infinite;
}

/* Header scroll elevation effect */
.app-header.scrolled {
  box-shadow: 0 6px 20px -2px rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
}

/* Smooth button press micro-interaction */
.btn-capes-primary, .btn-capes-outline, .btn-neon-primary {
  transition: transform 0.18s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.18s ease, background 0.18s ease;
}
.btn-capes-primary:active, .btn-capes-outline:active, .btn-neon-primary:active {
  transform: scale(0.97);
}

/* Universal Card Hover Elevations & Micro-Interactions */
.product-card, .catalog-card, .white-card, .capes-category-card, .capes-device-box, 
.control-card, .faq-item, .benefit-card, .step-card, .review-card, .spec-card, .legal-summary-card,
.footer-spec-card {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.25s ease;
}
.product-card:hover, .white-card:hover, .control-card:hover, 
.benefit-card:hover, .step-card:hover, .spec-card:hover, .legal-summary-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 36px -4px rgba(0, 0, 0, 0.10), 0 0 0 1px rgba(191, 47, 47, 0.15);
}

/* Section Title Subtle Floating Accent */
.section-headline-accent {
  position: relative;
  display: inline-block;
  letter-spacing: -0.01em;
}

/* Smart Device Auto-Detection Floating Pill */
.device-detect-pill {
  position: fixed;
  top: 76px;
  left: 50%;
  transform: translateX(-50%) translateY(-24px);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  border: 1.5px solid #fecaca;
  border-radius: var(--radius-pill);
  box-shadow: 0 10px 32px rgba(191, 47, 47, 0.16), 0 2px 8px rgba(0, 0, 0, 0.05);
  padding: 8px 18px 8px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  font-size: 0.84rem;
  color: #0f172a;
}
.device-detect-pill.visible {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.device-detect-pill .btn-detect-jump {
  background: linear-gradient(135deg, #ef4444 0%, #f97316 100%);
  color: #ffffff;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.78rem;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.35);
  white-space: nowrap;
}
.device-detect-pill .btn-detect-jump:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.5);
}
.device-detect-pill .detect-close {
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 0.85rem;
  cursor: pointer;
  padding: 2px 6px;
  line-height: 1;
  transition: color 0.2s;
}
.device-detect-pill .detect-close:hover {
  color: #0f172a;
}
@media (max-width: 640px) {
  .device-detect-pill {
    top: auto;
    bottom: 74px;
    width: calc(100% - 32px);
    border-radius: var(--radius-md);
    justify-content: space-between;
    font-size: 0.8rem;
    padding: 10px 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-up, .reveal-section, .reveal-left, .reveal-right, .reveal-zoom, .reveal-scale, .reveal-pop, [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .scroll-progress-bar {
    display: none !important;
  }
}

/* ============================================================
   UNIVERSAL VIBRANT PAGE HERO SECTION DESIGN SYSTEM
   ============================================================ */
.page-hero-banner {
  position: relative;
  background: linear-gradient(135deg, #fff0f3 0%, #fee2e2 20%, #ffedd5 45%, #fef3c7 70%, #eff6ff 100%);
  border: 2px solid rgba(239, 68, 68, 0.22);
  border-radius: var(--radius-2xl, 24px);
  padding: 44px 36px;
  margin: 20px auto 36px;
  box-shadow: 0 20px 45px -15px rgba(239, 68, 68, 0.15), 0 4px 15px rgba(0, 0, 0, 0.03);
  overflow: hidden;
}
.page-hero-banner::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, rgba(239, 68, 68, 0.22) 0%, rgba(249, 115, 22, 0.14) 45%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  filter: blur(25px);
}
.page-hero-banner::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: 5%;
  width: 380px;
  height: 240px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.18) 0%, rgba(139, 92, 246, 0.12) 45%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  filter: blur(30px);
}
.page-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 9999px;
  background: linear-gradient(135deg, #ef4444 0%, #f97316 100%);
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
  box-shadow: 0 4px 14px rgba(239, 68, 68, 0.35);
  border: none;
}
.page-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4.2vw, 3.4rem);
  font-weight: 900;
  text-transform: uppercase;
  color: #0f172a;
  line-height: 1.1;
  margin: 0 0 14px;
  letter-spacing: -0.02em;
}
.page-hero-title .highlight-red {
  color: var(--brand-primary, #ef4444);
}
.page-hero-title .highlight-gradient {
  background: linear-gradient(135deg, #ef4444 0%, #ea580c 50%, #f59e0b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.page-hero-sub {
  font-size: clamp(0.95rem, 1.4vw, 1.08rem);
  color: #334155;
  font-weight: 500;
  line-height: 1.6;
  max-width: 680px;
  margin: 0 0 22px;
}
.page-hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.page-hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.95);
  border: 1.5px solid rgba(239, 68, 68, 0.22);
  font-size: 0.82rem;
  font-weight: 800;
  color: #0f172a;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.04);
  backdrop-filter: blur(8px);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.page-hero-chip:hover {
  transform: translateY(-2px);
  border-color: #ef4444;
  color: #ef4444;
  box-shadow: 0 6px 16px rgba(239, 68, 68, 0.2);
}

/* Feature Deck inside Hero */
.customizer-hero-feature-deck {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 290px;
}
.hero-feature-stat-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border: 1.5px solid rgba(239, 68, 68, 0.2);
  border-radius: var(--radius-xl, 16px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
  transition: all 0.2s ease;
}
.hero-feature-stat-pill:hover {
  transform: translateY(-2px);
  border-color: #ef4444;
  box-shadow: 0 8px 20px rgba(239, 68, 68, 0.15);
}
.stat-pill-icon {
  font-size: 1.35rem;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #fff1f2 0%, #fee2e2 100%);
  border-radius: var(--radius-md, 8px);
}
.stat-pill-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.88rem;
  color: #0f172a;
}
.stat-pill-sub {
  font-size: 0.74rem;
  color: #64748b;
  font-weight: 600;
}
@media (max-width: 640px) {
  .page-hero-banner {
    padding: 32px 20px;
    border-radius: var(--radius-lg, 16px);
  }
}

/* ============================================================
   PRODUCT SPEC BADGES (BRAND & MODEL IDENTIFIERS)
   ============================================================ */
.product-spec-badges {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin: 6px 0 8px;
}
.product-spec-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2.5px 8px;
  border-radius: 4px;
  letter-spacing: 0.02em;
  line-height: 1.3;
  white-space: normal;
  word-break: normal;
  overflow-wrap: break-word;
}
.product-spec-badge.badge-brand {
  background: rgba(239, 68, 68, 0.1);
  color: var(--brand-primary, #ef4444);
  border: 1px solid rgba(239, 68, 68, 0.2);
  text-transform: uppercase;
}
.product-spec-badge.badge-model {
  background: #f1f5f9;
  color: #0f172a;
  border: 1px solid #e2e8f0;
}
.product-compat-hint {
  font-size: 0.72rem;
  color: #64748b;
  font-weight: 500;
  margin-bottom: 8px;
  line-height: 1.35;
  white-space: normal;
  word-break: normal;
  overflow-wrap: break-word;
}

/* ============================================================
   MOBILE APP-LIKE ARCHITECTURE & MOBILE DRAWER NAVIGATION
   Ultra-Fluid Native App Experience • 0ms Tap Response • Safe Insets
   ============================================================ */

/* 1. Global Touch Mechanics & Hygiene */
html, body {
  -webkit-tap-highlight-color: transparent;
  overscroll-behavior-y: contain;
}

button, a, input, select, .nav-item, .product-card, .btn-neon-primary, .btn-glass, .drawer-nav-link {
  touch-action: manipulation;
}

body.drawer-open {
  overflow: hidden !important;
  touch-action: none !important;
}

/* 2. Page Content Bottom Safe Area */
@media (max-width: 1023px) {
  .page-content {
    padding-bottom: calc(var(--bottom-nav-height, 66px) + env(safe-area-inset-bottom, 16px) + 20px) !important;
  }
}

/* 3. Mobile Header Hamburger Toggle Button */
.mobile-menu-toggle-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  margin-right: 10px;
  cursor: pointer;
  transition: transform var(--transition-fast), background var(--transition-fast);
}
.mobile-menu-toggle-btn:active {
  transform: scale(0.92);
  background: var(--bg-surface-2);
}
@media (min-width: 1024px) {
  .mobile-menu-toggle-btn {
    display: none !important;
  }
}

/* 4. Slide-Out App Navigation Drawer */
.mobile-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.mobile-drawer-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.mobile-app-drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: min(340px, 86vw);
  background: #ffffff;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  transform: translateX(-105%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
}
.mobile-app-drawer.active {
  transform: translateX(0);
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--border-subtle);
  background: #ffffff;
}
.mobile-drawer-close {
  width: 36px;
  height: 36px;
  font-size: 1.1rem;
}

.mobile-drawer-body {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 18px 18px 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mobile-drawer-promo {
  background: linear-gradient(135deg, rgba(191, 47, 47, 0.08) 0%, rgba(249, 115, 22, 0.08) 100%);
  border: 1px solid rgba(191, 47, 47, 0.22);
  border-radius: 14px;
  padding: 14px 16px;
}
.drawer-promo-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--brand-primary);
  background: rgba(191, 47, 47, 0.12);
  padding: 2px 8px;
  border-radius: 4px;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}
.drawer-promo-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.95rem;
  color: #0f172a;
  margin-bottom: 2px;
}
.drawer-promo-sub {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.mobile-drawer-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.drawer-section-label {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding-left: 6px;
}

.mobile-drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.drawer-nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-radius: 12px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--text-main);
  background: transparent;
  transition: background var(--transition-fast), transform var(--transition-fast), color var(--transition-fast);
}
.drawer-nav-link:active {
  transform: scale(0.97);
  background: var(--bg-surface-2);
}
.drawer-nav-link.active {
  color: var(--brand-primary);
  background: var(--brand-primary-light);
}
.drawer-nav-link.highlight {
  background: linear-gradient(135deg, rgba(191, 47, 47, 0.07) 0%, rgba(6, 182, 212, 0.07) 100%);
  border: 1px solid rgba(191, 47, 47, 0.18);
}
.drawer-nav-icon {
  font-size: 1.15rem;
  line-height: 1;
}

/* Tags inside drawer */
.drawer-tag, .drawer-tag-new, .drawer-tag-hot, .drawer-tag-sale, .drawer-tag-live, .drawer-tag-online {
  margin-left: auto;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 4px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.drawer-tag { background: #f1f5f9; color: #475569; }
.drawer-tag-new { background: #dbeafe; color: #1d4ed8; }
.drawer-tag-hot { background: #fee2e2; color: #dc2626; }
.drawer-tag-sale { background: #dcfce7; color: #15803d; }
.drawer-tag-live { background: rgba(6, 182, 212, 0.15); color: #0891b2; }
.drawer-tag-online { background: #dcfce7; color: #16a34a; }

.drawer-brands-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.drawer-brand-chip {
  padding: 9px 8px;
  text-align: center;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}
.drawer-brand-chip:active {
  transform: scale(0.95);
  background: var(--brand-primary-light);
  color: var(--brand-primary);
  border-color: var(--brand-primary-border);
}

.mobile-drawer-footer {
  padding: 14px 20px calc(14px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-surface);
}
.drawer-footer-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
}

/* 5. Mobile Floating Action Buttons (Coordination & Collision Prevention) */
@media (max-width: 1023px) {
  .whatsapp-floating-launcher {
    bottom: calc(var(--bottom-nav-height, 66px) + env(safe-area-inset-bottom, 16px) + 12px) !important;
    left: 14px !important;
    width: 48px !important;
    height: 48px !important;
  }
  .ai-chat-launcher {
    bottom: calc(var(--bottom-nav-height, 66px) + env(safe-area-inset-bottom, 16px) + 12px) !important;
    right: 14px !important;
    width: 48px !important;
    height: 48px !important;
  }
  .floating-back-to-top {
    bottom: calc(var(--bottom-nav-height, 66px) + env(safe-area-inset-bottom, 16px) + 68px) !important;
    right: 14px !important;
    width: 42px !important;
    height: 42px !important;
  }
  .ai-chat-modal {
    inset: 12px 12px calc(var(--bottom-nav-height, 66px) + 16px) 12px !important;
    width: auto !important;
    max-height: none !important;
  }
}

/* 6. Cart Drawer Mobile Responsive Fix */
@media (max-width: 480px) {
  .cart-drawer {
    width: 100vw !important;
    max-width: 100vw !important;
    border-radius: 0 !important;
  }
}

/* 7. Product Catalog Mobile Card Polish (2-Col Clean Layout) */
@media (max-width: 640px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }
  .product-card {
    padding: 10px 10px 14px !important;
    border-radius: 16px !important;
  }
  .product-title,
  .product-card-title {
    font-size: 0.88rem !important;
    line-height: 1.3 !important;
    margin-bottom: 6px !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
    min-height: 2.6em !important;
  }
  .product-cta-btn {
    padding: 8px 10px !important;
    font-size: 0.78rem !important;
    border-radius: 10px !important;
  }
  .product-card-pricing {
    font-size: 0.95rem !important;
  }
}

/* 8. SkinLab 3D Stage Mobile Optimization */
@media (max-width: 520px) {
  .phone-frame:not([data-model*="duo"]) {
    max-width: 80vw !important;
    height: auto !important;
    aspect-ratio: 9 / 19.5 !important;
  }
}

/* 9. Checkout Flow Responsive Stacking & Grid System */
.checkout-split-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 32px;
  align-items: start;
}
@media (max-width: 1023px) {
  .checkout-split-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
}

.form-row-2col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
@media (max-width: 640px) {
  .form-row-2col {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
}

.form-row-3col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
@media (max-width: 640px) {
  .form-row-3col {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
}

.payment-rails-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

/* 10. Customizer Mobile Sticky Action Dock (App Feel) */
@media (max-width: 1023px) {
  .customizer-checkout-card {
    position: sticky !important;
    bottom: calc(var(--bottom-nav-height, 66px) + env(safe-area-inset-bottom, 16px)) !important;
    z-index: 85 !important;
    border-radius: 16px 16px 0 0 !important;
    margin: 0 -16px -20px -16px !important;
    padding: 16px 20px !important;
    box-shadow: 0 -10px 25px rgba(0, 0, 0, 0.45) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    background: rgba(17, 17, 17, 0.95) !important;
  }
}

/* 11. Hero Actions & Component Padding on Mobile */
@media (max-width: 480px) {
  .capes-hero-actions {
    flex-direction: column !important;
    width: 100% !important;
    gap: 10px !important;
  }
  .capes-hero-actions .btn-capes-hero-cta,
  .capes-hero-actions .btn-capes-hero-secondary {
    width: 100% !important;
    text-align: center !important;
    justify-content: center !important;
  }
  .article-hero {
    padding: 24px 18px !important;
    border-radius: 18px !important;
  }
  .footer-vip-banner {
    padding: 24px 18px !important;
    border-radius: 18px !important;
  }
  .white-card {
    padding: 20px 16px !important;
  }
}

/* 12. Native Momentum Scroll for Horizontal Tabs & Strips */
.category-filter-strip,
.filter-pills-row,
.blog-category-pills,
.device-filter-bar,
.quiz-tabs-bar {
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.category-filter-strip::-webkit-scrollbar,
.filter-pills-row::-webkit-scrollbar,
.blog-category-pills::-webkit-scrollbar,
.device-filter-bar::-webkit-scrollbar,
.quiz-tabs-bar::-webkit-scrollbar {
  display: none;
}

/* 13. Blog Toolbar Mobile Polish */
@media (max-width: 640px) {
  .blog-search-box {
    width: 100% !important;
    min-width: 0 !important;
  }
  .blog-filter-section {
    padding: 12px 14px !important;
    gap: 12px !important;
  }
}



