/* --- VIEWPORT OVERFLOW & LAYOUT RESET --- */
html {
  overflow-x: clip;
}
body {
  overflow-x: clip;
  max-width: 100vw !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}
*, *::before, *::after {
  box-sizing: border-box !important;
}
.site-header, .topbar {
  width: 100% !important;
  max-width: 100vw !important;
  box-sizing: border-box !important;
}
#tb-text {
  min-width: 0 !important;
  max-width: 100% !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Vivara-style Topbar */
.topbar-black {
  background-color: #000;
  color: #fff;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 8px 0;
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.topbar-item {
  display: flex;
  align-items: center;
  gap: 6px;
}
.topbar-item a {
  color: #fff;
  text-decoration: none;
}
.topbar-center {
  font-weight: 500;
}

/* Vivara-style Header */
.site-header {
  border-bottom: 1px solid var(--line);
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 20;
}
.header-inner {
  min-height: 100px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}
.header-left {
  display: flex;
  align-items: center;
}
.header-action-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #000;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.icon-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: #000;
}
.header-nav-container {
  border-top: none; padding: 16px 0;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.nav a {
  position: relative;
  padding: 4px 0;
  color: #000;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width 0.3s ease, left 0.3s ease;
}
.nav a:hover::after {
  width: 100%;
  left: 0;
}

/* Vivara Categories Section */
.vivara-section {
  padding: 60px 0;
  text-align: center;
}
.v-title {
  font-family: Georgia, serif;
  font-size: 32px;
  font-weight: 400;
  margin: 0 0 10px;
  text-transform: uppercase;
}
.v-subtitle {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: #666;
  text-transform: uppercase;
  display: inline-block;
  padding-bottom: 12px;
  border-bottom: 1px solid #000;
  margin-bottom: 40px;
}
.v-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.v-card {
  display: flex;
  flex-direction: column;
  text-align: center;
  text-decoration: none;
  color: #000;
  background: #fff;
  padding: 15px;
  border-radius: 4px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.02);
  transition: all 0.4s ease;
  border: 1px solid #eaeaea;
}
.v-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.06);
}
.v-img-wrap {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 16px;
  background: #fff;
}
.v-card span {
  font-family: Georgia, serif;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* WhatsApp Floating Button */
.v-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #25d366;
  color: white;
  padding: 15px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  z-index: 100;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  transition: transform 0.3s;
}
.v-whatsapp:hover {
  transform: translateY(-3px);
}

  /* Filters Bar */
  .v-filters-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    border-top: 1px solid #dcdcdc;
    border-bottom: 1px solid #dcdcdc;
    margin-bottom: 40px;
  }
  .v-filter-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 10px 24px;
    background: #fff;
    color: #111;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all 0.3s ease;
  }
  .v-filter-btn:hover {
    border-color: #000;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  }
  .v-results-count {
    font-size: 11px;
    font-weight: 600;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }
  .v-sort-select {
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 10px 24px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #111;
    background: #fff;
    cursor: pointer;
    outline: none;
    transition: all 0.3s ease;
  }
  .v-sort-select:hover {
    border-color: #000;
  }
  /* Carousel Marquee */
.topbar-black {
  background-color: #000;
  color: #fff;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 10px 0;
  overflow: hidden;
  white-space: nowrap;
}
.topbar-carousel {
  width: 100%;
  display: inline-block;
  overflow: hidden;
}
.topbar-track {
  display: inline-flex;
  animation: marquee 25s linear infinite;
}
.topbar-item {
  display: flex;
  align-items: center;
  margin-right: 80px;
}
.topbar-item a {
  color: #fff;
  text-decoration: none;
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
/* LUXURY OVERRIDES */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: #1a1a1a;
}
.site-header {
  border-bottom: 1px solid #eaeaea;
  box-shadow: 0 4px 20px rgba(0,0,0,0.02);
}
.nav a {
  letter-spacing: 0.15em;
  font-size: 10px;
  color: #333;
}
.v-title {
  letter-spacing: 0.1em;
  font-size: 28px;
  color: #000;
}
.v-card span {
  font-size: 11px;
  letter-spacing: 0.15em;
  color: #333;
  margin-top: 12px;
  display: block;
}
.v-img-wrap {
  background: #fcfcfc;
  border: 1px solid #f0f0f0;
  transition: border-color 0.4s ease;
}
.v-card:hover .v-img-wrap {
  border-color: #ddd;
}


/* Luxury Product Page */
.product-gallery {
  background: #fcfcfc !important;
  border: 1px solid #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.product-gallery img {
  width: 100% !important;
  max-width: 500px;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  mix-blend-mode: darken;
}
.product-details h1 {
  font-size: clamp(32px, 4vw, 48px) !important;
  color: #000;
  letter-spacing: -0.02em;
  margin-bottom: 15px !important;
}
.detail-price {
  font-size: 20px !important;
  color: #333;
  font-weight: 300;
  letter-spacing: 0.05em;
}
.product-details dl div {
  border-bottom: 1px solid #eaeaea !important;
}
.product-details dt {
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: 0.1em;
}
.button-dark {
  color: #fff !important;
  background: #111 !important;
  border-color: #111 !important;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 11px;
  padding: 0 40px !important;
}
.button-dark:hover {
  background: #333 !important;
  border-color: #333 !important;
}
.eyebrow {
  color: #666 !important;
}
/* Refined Marquee */
.topbar-black {
  padding: 8px 0;
  background-color: #0a0a0a;
}
.topbar-track {
  animation: marquee 35s linear infinite; /* Slower, more elegant */
}
.topbar-item {
  margin-right: 120px; /* More breathing room */
  font-size: 10px;
}
/* Trust Badges */
.trust-badges {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #eaeaea;
}
.trust-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 9px;
  color: #777;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-align: center;
}
.trust-badge svg {
  color: #000;
  opacity: 0.8;
}

/* Animations */
@keyframes fadeUp {
  0% { opacity: 0; transform: translateY(15px); }
  100% { opacity: 1; transform: translateY(0); }
}
.product-gallery, .product-details {
  }
.product-details {
  
}

/* Additional Luxury Polish */
body {
  background-color: #fdfdfd;
}
.site-header {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
}
.static-topbar {
  white-space: normal;
  overflow: visible;
  padding: 10px 0;
}
.static-topbar .topbar-item {
  margin-right: 0;
  font-size: 10px;
}

/* Mobile Overrides for Luxury UI */
@media (max-width: 900px) {
  /* Header */
  .header-inner {
    grid-template-columns: 1fr auto 1fr !important;
    min-height: 70px !important;
    height: 70px !important;
    gap: 10px !important;
    padding: 0 18px !important;
  }
  .header-left .header-action-link { display: none !important; }
  .menu-button { display: block !important; justify-self: start; font-size: 24px; } .logo { justify-self: center !important; }
  
  .header-actions {
    gap: 10px !important;
  }
  .header-actions button[aria-label="Favoritos"] {
    display: none !important; /* Esconder apenas favoritos no mobile, preservando carrinho e busca */
  }
  
  /* Categories Grid */
  .v-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 15px !important;
  }
  .v-card span {
    font-size: 10px !important;
  }
  
  /* Product Layout */
  .product-layout {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
  }
  .product-gallery {
    padding: 20px !important;
  }
  .product-gallery img {
    max-width: 100% !important;
  }
  .product-details h1 {
    font-size: 28px !important;
  }
  .detail-price {
    font-size: 18px !important;
  }
  
  /* Filters Bar */
  .v-filters-bar {
    flex-wrap: wrap;
    gap: 15px;
    justify-content: space-between;
  }
  .v-sort-select {
    width: 100%;
    margin-top: 10px;
  }
  
  /* Trust Badges */
  .trust-badges {
    flex-wrap: wrap;
    justify-content: space-around;
  }
  
  /* Nav */
  .header-nav-container {
    display: none; /* Hidden by default on mobile, handled by JS toggle if needed */
  }
  .nav.is-open {
    display: flex !important;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    z-index: 100;
  }
  .nav.is-open a {
    padding: 15px 0 !important;
    border-bottom: 1px solid #eee;
    width: 100%;
    text-align: center;
  }
}

/* Luxury Hero Section */
.hero-luxury {
  position: relative;
  height: 90vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  color: #000;
}
.hero-luxury-bg {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: url('../assets/images/hero.jpg') center/cover no-repeat;
  z-index: -1;
  transform: scale(1.05);
  animation: slowZoom 20s ease-out forwards;
}
.hero-luxury::after {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: -1;
}
.hero-luxury-content {
  max-width: 800px;
  padding: 20px;
  }
.hero-eyebrow {
  display: block;
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 20px;
  opacity: 0.8;
}
.hero-title {
  font-family: 'Georgia', serif;
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 40px;
}
.button-luxury {
  display: inline-block;
  background: transparent;
  color: #000;
  border: 1px solid rgba(255, 255, 255, 0.6);
  padding: 16px 40px;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.4s ease;
}
.button-luxury:hover {
  background: #fff;
  color: #000;
}
@keyframes slowZoom {
  to { transform: scale(1); }
}

/* Intersection Observer Animations */
.reveal-element { opacity: 1 !important; transform: none !important; transition: none !important; }
.reveal-element.is-visible {
  opacity: 1;
  transform: translateY(0);
}






/* Logo - Bulletproof Background Approach */
.logo {
  display: block !important;
  width: 165px !important;
  height: 48px !important;
  background-image: url('../assets/logo-white.png') !important;
  background-position: center center !important;
  background-size: contain !important;
  background-repeat: no-repeat !important;
  text-indent: -9999px; /* Hide text */
  overflow: hidden;
  margin: 0 auto;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

@media (max-width: 900px) {
  .logo {
    width: 125px !important;
    height: 36px !important;
    background-size: contain !important;
  }
}

/* ===== MOBILE BACK BUTTON ===== */
.mobile-back-btn {
  display: none;
}

@media (max-width: 768px) {
  .mobile-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    padding: 12px 16px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: #1a1a1a;
    cursor: pointer;
    text-decoration: none;
    text-transform: uppercase;
  }
  .mobile-back-btn svg {
    flex-shrink: 0;
  }
  .mobile-back-btn:hover {
    color: #666;
  }
}

/* COLORIZE LOGO TO DARK BLUE (#1c1917) */
.logo {
    
}

/* --- DARK LUXURY THEME --- */
.header-nav-container { border-top: none !important; }
.topbar { border-bottom: none !important; }
.header-nav-container { border-top: none !important; padding: 6px 0 !important; }
.site-header {
    position: sticky !important;
    top: 0 !important;
    z-index: 1000 !important;
    background: linear-gradient(135deg, #010610 0%, #061426 100%) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.header-inner {
    min-height: 84px !important;
    height: 84px !important;
    transition: all 0.25s ease !important;
}

/* On-Scroll Luxury Compact Elevation */
.site-header.is-scrolled {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
}

.site-header.is-scrolled .header-inner {
    min-height: 72px !important;
    height: 72px !important;
}

.site-header.is-scrolled .logo {
    width: 165px !important;
    height: 48px !important;
}

@media (max-width: 900px) {
    .header-inner {
        min-height: 70px !important;
        height: 70px !important;
        padding: 0 18px !important;
    }
    .site-header.is-scrolled .header-inner {
        min-height: 62px !important;
        height: 62px !important;
        padding: 0 16px !important;
    }
    .site-header.is-scrolled .logo {
        width: 125px !important;
        height: 36px !important;
    }
}

.site-header button, 
.site-header a, 
.site-header svg {
    color: #fff !important;
    stroke: #fff !important;
}

.logo {
    filter: drop-shadow(0 1px 3px rgba(0,0,0,0.3)) !important;
    mix-blend-mode: normal !important;
}

.nav {
    background: transparent !important;
    border-bottom: none !important;
}

.v-title, .v-subtitle {
    color: #001730 !important;
}
/* Restored Borders */
.product-card { border: 1px solid #f2f2f2 !important; }
.product-card button { border: 1px solid #000 !important; }
.menu-button, #close-sidebar, #sub-prev, #sub-next { border: none !important; }
.product-image div:nth-child(2) { border: 1px solid #ddd !important; }

/* --- SKELETON LOADING --- */
.skeleton {
    background: #e2e5e7;
    background-image: linear-gradient(90deg, rgba(255,255,255,0) 0, rgba(255,255,255,0.4) 50%, rgba(255,255,255,0) 100%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 4px;
}
@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}
.skeleton-card { display: flex; flex-direction: column; gap: 12px; background: #fff; padding-bottom:15px; border-radius:4px; border: 1px solid #f2f2f2; }
.skeleton-img { width: 100%; aspect-ratio: 1; }
.skeleton-title { height: 14px; width: 70%; margin: 0 15px; }
.skeleton-price { height: 16px; width: 40%; margin: 0 15px; }
.skeleton-btn { height: 40px; width: calc(100% - 30px); margin: 10px 15px 0; border-radius: 2px; }

/* --- LGPD BANNER --- */
.cookie-banner { display: none !important; }


/* --- LUXURY USER BADGE IN HEADER --- */
.hickmann-user-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(197, 160, 89, 0.6);
    padding: 3px 10px 3px 4px;
    border-radius: 50px;
    text-decoration: none !important;
    transition: all 0.2s ease;
    flex-shrink: 0;
}
.hickmann-user-badge:hover {
    background: rgba(197, 160, 89, 0.15);
    border-color: #C5A059;
}
.user-avatar-circle {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #C5A059 !important;
    color: #00050d !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Outfit', -apple-system, sans-serif;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
}
.user-name-text {
    font-family: 'Outfit', -apple-system, sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #fff !important;
    white-space: nowrap;
}

@media (max-width: 900px) {
    .header-left {
        gap: 12px !important;
    }
    .hickmann-user-badge {
        padding: 0 !important;
        background: transparent !important;
        border: none !important;
    }
    .user-avatar-circle {
        width: 26px !important;
        height: 26px !important;
        background: #C5A059 !important;
        color: #00050d !important;
        border: 1px solid #fff !important;
        font-size: 11px !important;
    }
    .user-name-text {
        display: none !important;
    }
}

/* ==========================================================================
   HICKMANN PRATAS — LUXURY CHECKOUT & VIRTUAL CARD (VIVARA BENCHMARK)
   ========================================================================== */

/* Drawer Scroll & Container */
#cartDrawer {
    width: 480px;
    max-width: 100vw;
    background: #ffffff;
    box-shadow: -10px 0 45px rgba(0, 0, 0, 0.25);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    letter-spacing: -0.01em;
}

/* Stepper Progress Bar */
.hkm-stepper {
    background: #fafaf9;
    border-bottom: 1px solid #f0eee9;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.hkm-step-item {
    display: flex;
    align-items: center;
    gap: 7px;
    cursor: default;
    user-select: none;
    transition: all 0.2s ease;
}
.hkm-step-item.is-clickable {
    cursor: pointer;
}
.hkm-step-item.is-clickable:hover .hkm-step-label {
    color: #C5A059;
}
.hkm-step-badge {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    transition: all 0.25s ease;
}
.hkm-step-item.active .hkm-step-badge {
    background: #111111;
    color: #ffffff;
    box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.35);
}
.hkm-step-item.completed .hkm-step-badge {
    background: #166534;
    color: #ffffff;
}
.hkm-step-item.pending .hkm-step-badge {
    background: #e2e8f0;
    color: #94a3b8;
}
.hkm-step-label {
    font-size: 10.5px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
    transition: color 0.2s ease;
}
.hkm-step-item.active .hkm-step-label {
    color: #111111;
    font-weight: 700;
}
.hkm-step-item.completed .hkm-step-label {
    color: #166534;
}
.hkm-step-item.pending .hkm-step-label {
    color: #94a3b8;
}
.hkm-step-connector {
    flex: 1;
    height: 2px;
    background: #e2e8f0;
    margin: 0 8px;
    border-radius: 2px;
    transition: background 0.3s ease;
}
.hkm-step-connector.completed {
    background: #166534;
}

/* Luxury Interactive Card Visual */
.hkm-card-preview-wrapper {
    perspective: 1000px;
    margin: 0 auto 18px auto;
    max-width: 330px;
    width: 100%;
}
.hkm-card-visual {
    width: 100%;
    aspect-ratio: 1.586 / 1;
    border-radius: 14px;
    background: linear-gradient(135deg, #1c1917 0%, #09090b 50%, #1f2937 100%);
    border: 1px solid rgba(197, 160, 89, 0.45);
    box-shadow: 0 14px 32px -4px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.08) inset;
    padding: 18px 20px;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}
.hkm-card-visual::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 85% 15%, rgba(197, 160, 89, 0.18), transparent 50%),
                radial-gradient(circle at 20% 85%, rgba(255, 255, 255, 0.05), transparent 45%);
    pointer-events: none;
}
.hkm-card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    z-index: 2;
}
.hkm-card-brand-logo {
    min-width: 48px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}
.hkm-card-chip-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 4px;
    position: relative;
    z-index: 2;
}
.hkm-card-chip {
    width: 36px;
    height: 26px;
    border-radius: 4px;
    background: linear-gradient(135deg, #e6c875 0%, #d4af37 50%, #aa820a 100%);
    box-shadow: inset 0 0 2px rgba(0,0,0,0.4);
    position: relative;
    overflow: hidden;
}
.hkm-card-chip::after {
    content: '';
    position: absolute;
    inset: 3px;
    border: 1px solid rgba(0, 0, 0, 0.3);
    border-radius: 2px;
}
.hkm-card-contactless {
    opacity: 0.75;
}
.hkm-card-number-display {
    font-family: 'Courier New', Courier, monospace;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.16em;
    color: #f8fafc;
    text-shadow: 0 1px 3px rgba(0,0,0,0.8);
    margin: 8px 0 6px 0;
    position: relative;
    z-index: 2;
    white-space: nowrap;
}
.hkm-card-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    position: relative;
    z-index: 2;
}
.hkm-card-holder-name {
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #f1f5f9;
    max-width: 190px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.hkm-card-expiry-display {
    font-family: 'Courier New', Courier, monospace;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #f1f5f9;
}

/* Luxury Touch-Friendly Inputs */
.hkm-input-field {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    background: #ffffff;
    border: 1.5px solid #dcdad5;
    border-radius: 8px;
    font-size: 15px;
    color: #1c1917;
    outline: none;
    transition: all 0.2s ease;
    box-sizing: border-box;
    -webkit-appearance: none;
}
.hkm-input-field:focus {
    border-color: #0f172a;
    box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.08);
    background: #ffffff;
}
.hkm-input-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #334155;
    margin-bottom: 6px;
}
.hkm-input-group {
    margin-bottom: 14px;
    position: relative;
}

/* Card Number Input with Brand Badge */
.hkm-card-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}
.hkm-card-input-wrapper .hkm-input-field {
    padding-right: 56px;
}
.hkm-card-input-badge {
    position: absolute;
    right: 12px;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Payment Method Selection Tabs */
.hkm-payment-selector {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 18px;
}
.hkm-pay-tab {
    padding: 13px 12px;
    border-radius: 10px;
    border: 2px solid #e2e8f0;
    background: #ffffff;
    cursor: pointer;
    text-align: left;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    gap: 4px;
    position: relative;
}
.hkm-pay-tab:hover {
    border-color: #cbd5e1;
}
.hkm-pay-tab.active {
    border-color: #0f172a;
    background: #0f172a;
    color: #ffffff;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.16);
}
.hkm-pay-tab-title {
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
}
.hkm-pay-tab.active .hkm-pay-tab-title {
    color: #ffffff;
}
.hkm-pay-tab:not(.active) .hkm-pay-tab-title {
    color: #0f172a;
}
.hkm-pay-tab-badge {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.hkm-pay-tab.active .hkm-pay-tab-badge {
    color: #C5A059;
}
.hkm-pay-tab:not(.active) .hkm-pay-tab-badge {
    color: #166534;
}

/* Reassurance Badges Bar */
.hkm-reassurance-bar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding: 12px 10px;
    background: #fdfcf9;
    border: 1px solid #f1ece1;
    border-radius: 8px;
    margin-top: 16px;
    text-align: center;
}
.hkm-reassurance-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}
.hkm-reassurance-icon {
    font-size: 17px;
    line-height: 1;
}
.hkm-reassurance-text {
    font-size: 9.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #44403c;
    line-height: 1.25;
}

/* Primary Action CTA */
.hkm-btn-checkout {
    width: 100%;
    min-height: 52px;
    padding: 16px 20px;
    background: #0f172a;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.22);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.hkm-btn-checkout:hover {
    background: #000000;
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}
.hkm-btn-checkout:active {
    transform: translateY(0);
}
.hkm-btn-checkout:disabled {
    background: #94a3b8;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Rejection Alert Card */
.hkm-rejection-card {
    background: #fff5f5;
    border: 1.5px solid #feb2b2;
    border-radius: 10px;
    padding: 16px;
    margin-top: 16px;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.08);
}

/* Order Summary Bar */
.hkm-order-summary-bar {
    background: #fafaf9;
    border-bottom: 1px solid #f0eee9;
    padding: 10px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
    transition: background 0.2s ease;
}
.hkm-order-summary-bar:hover {
    background: #f5f5f4;
}

/* Mobile Touch Optimization (Vivara Mobile-First Benchmark) */
@media (max-width: 480px) {
    .hkm-stepper {
        padding: 10px 12px;
    }
    .hkm-step-label {
        font-size: 9.5px;
        letter-spacing: 0.04em;
    }
    .hkm-step-badge {
        width: 20px;
        height: 20px;
        font-size: 10px;
    }
    .hkm-step-connector {
        margin: 0 4px;
    }
    .hkm-card-preview-wrapper {
        max-width: 280px;
        margin: 0 auto 12px auto;
    }
    .hkm-card-visual {
        padding: 12px 14px;
        border-radius: 10px;
    }
    .hkm-card-chip {
        width: 28px;
        height: 20px;
    }
    .hkm-card-number-display {
        font-size: 13.5px;
        letter-spacing: 0.12em;
        margin: 4px 0;
    }
    .hkm-card-holder-name {
        font-size: 9px;
        max-width: 150px;
    }
    .hkm-card-expiry-display {
        font-size: 10px;
    }
    .hkm-input-field {
        min-height: 46px;
        font-size: 15px;
        padding: 10px 12px;
    }
    .hkm-pay-tab {
        padding: 10px;
    }
    .hkm-pay-tab-title {
        font-size: 11.5px;
    }
    .hkm-pay-tab-badge {
        font-size: 9px;
    }
    .hkm-btn-checkout {
        min-height: 48px;
        padding: 14px 16px;
        font-size: 12px;
    }
    .hkm-reassurance-bar {
        padding: 8px 6px;
        gap: 4px;
    }
    .hkm-reassurance-icon {
        font-size: 14px;
    }
    .hkm-reassurance-text {
        font-size: 8.5px;
    }
}



/* Ocultar Badge Flutuante do Netlify */
iframe[src*="netlify"],
[data-netlify-deploy-id],
netlify-drawer,
#netlify-drawer,
.netlify-drawer,
[class*="netlify-badge"] {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}
