/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Nunito', system-ui, sans-serif;
  background: #f5f5f5;
  color: #1a1a1a;
  min-height: 100vh;
}

/* ===== AGE GATE ===== */
.age-gate-overlay {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.9);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.age-gate-overlay.hidden {
  display: none;
}

.age-gate-box {
  background: #fff;
  border-radius: 20px;
  padding: 2.5rem 2rem;
  max-width: 420px;
  width: 100%;
  text-align: center;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
}

.age-gate-logo {
  margin-bottom: 1.2rem;
}

.age-gate-box h2 {
  font-size: 1.6rem;
  font-weight: 900;
  color: #1a1a1a;
  margin-bottom: 0.8rem;
}

.age-gate-box>p {
  color: #555;
  margin-bottom: 1.8rem;
  line-height: 1.6;
  font-size: 0.95rem;
}

.age-gate-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 1.2rem;
}

.btn-yes {
  background: #FFCC00;
  color: #1a1a1a;
  border: none;
  border-radius: 12px;
  padding: 0.85rem 2rem;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s;
  font-family: 'Nunito', sans-serif;
}

.btn-yes:hover {
  background: #e6b800;
  transform: translateY(-1px);
}

.btn-no {
  background: #f0f0f0;
  color: #555;
  border: none;
  border-radius: 12px;
  padding: 0.85rem 2rem;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  font-family: 'Nunito', sans-serif;
}

.btn-no:hover {
  background: #e0e0e0;
}

.age-gate-legal {
  font-size: 0.72rem;
  color: #aaa;
}

/* ===== HEADER ===== */
.header {
  background: #1a1a1a;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.4);
}

.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo-link {
  text-decoration: none;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-name {
  font-size: 1.1rem;
  font-weight: 900;
  color: #FFCC00;
  line-height: 1.1;
}

.logo-tagline {
  font-size: 0.7rem;
  color: #aaa;
  font-weight: 600;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.whatsapp-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #25D366;
  color: #fff;
  text-decoration: none;
  border-radius: 10px;
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  font-weight: 700;
  transition: all 0.2s;
}

.whatsapp-btn:hover {
  background: #1eb857;
  transform: translateY(-1px);
}

@media (max-width: 480px) {
  .whatsapp-btn span {
    display: none;
  }

  .whatsapp-btn {
    padding: 0.5rem;
  }
}

.cart-btn {
  position: relative;
  background: #FFCC00;
  border: none;
  border-radius: 10px;
  padding: 0.5rem 0.75rem;
  cursor: pointer;
  color: #1a1a1a;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.cart-btn:hover {
  background: #e6b800;
  transform: translateY(-1px);
}

.cart-count {
  position: absolute;
  top: -6px;
  right: -6px;
  background: #ff3b30;
  color: #fff;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  font-size: 0.65rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
  position: relative;
  overflow: hidden;
  padding: 3.5rem 1.5rem;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 204, 0, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -5%;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(255, 204, 0, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.hero-content {
  max-width: 600px;
}

.hero-title {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.hero-highlight {
  color: #FFCC00;
}

.hero-subtitle {
  font-size: 1rem;
  color: #ccc;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.hero-subtitle strong {
  color: #FFCC00;
}

.hero-cta {
  display: inline-block;
  background: #FFCC00;
  color: #1a1a1a;
  padding: 0.9rem 2.2rem;
  border-radius: 14px;
  font-size: 1rem;
  font-weight: 800;
  text-decoration: none;
  transition: all 0.25s;
  box-shadow: 0 4px 20px rgba(255, 204, 0, 0.3);
}

.hero-cta:hover {
  background: #e6b800;
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(255, 204, 0, 0.4);
}

.hero-badges {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.badge {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 0.6rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  backdrop-filter: blur(4px);
}

.badge-icon {
  font-size: 1.1rem;
}

/* ===== CATEGORY NAV ===== */
.category-nav {
  background: #fff;
  border-bottom: 2px solid #eee;
  position: sticky;
  top: 64px;
  z-index: 90;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.category-nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 0.5rem;
  display: flex;
  overflow-x: auto;
  gap: 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.category-nav-inner::-webkit-scrollbar {
  display: none;
}

.cat-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  padding: 0.6rem 0.75rem;
  text-decoration: none;
  color: #555;
  font-size: 0.72rem;
  font-weight: 700;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  transition: all 0.2s;
  flex-shrink: 0;
  text-align: center;
}

.cat-link:hover {
  color: #1a1a1a;
  border-bottom-color: #FFCC00;
}

.cat-link.active {
  color: #1a1a1a;
  border-bottom-color: #FFCC00;
}

.cat-icon {
  font-size: 1.4rem;
  line-height: 1;
  display: block;
}

@media (max-width: 600px) {
  .cat-link {
    padding: 0.55rem 0.6rem;
    font-size: 0.68rem;
  }

  .cat-icon {
    font-size: 1.3rem;
  }
}

/* ===== MAIN CONTENT ===== */
.main-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.product-section {
  padding: 0;
}

.section-header {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.section-title {
  font-size: 1.3rem;
  font-weight: 900;
  color: #1a1a1a;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.section-icon {
  font-size: 1.4rem;
}

.carousel-arrows {
  display: flex;
  gap: 0.4rem;
  flex-shrink: 0;
}

.carousel-arrow {
  background: #fff;
  border: 1.5px solid #e0e0e0;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1rem;
  transition: all 0.2s;
  color: #1a1a1a;
  flex-shrink: 0;
}

.carousel-arrow:hover {
  background: #FFCC00;
  border-color: #FFCC00;
}

/* ===== PRODUCT CAROUSEL ===== */
.carousel-wrapper {
  position: relative;
}

.products-grid {
  display: flex;
  gap: 0.85rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-bottom: 0.75rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
}

.products-grid::-webkit-scrollbar {
  display: none;
}

/* Fade edges */
.carousel-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0.75rem;
  width: 40px;
  background: linear-gradient(to left, #f5f5f5, transparent);
  pointer-events: none;
  border-radius: 0 12px 12px 0;
}

.product-card {
  flex-shrink: 0;
  width: 165px;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  transition: all 0.25s;
  cursor: pointer;
  border: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.product-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: #ff3b30;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  z-index: 2;
  text-transform: uppercase;
}

.product-img {
  width: 100%;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f8f8f8, #efefef);
  font-size: 4rem;
  position: relative;
  overflow: hidden;
}

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

.product-info {
  padding: 0.75rem;
}

.product-name {
  font-size: 0.82rem;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.3;
  margin-bottom: 0.35rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-volume {
  font-size: 0.72rem;
  color: #888;
  margin-bottom: 0.5rem;
}

.product-price-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: auto;
}

.product-price {
  font-size: 1rem;
  font-weight: 800;
  color: #1a1a1a;
  white-space: nowrap;
}

.product-old-price {
  font-size: 0.72rem;
  color: #aaa;
  text-decoration: line-through;
  font-weight: 600;
  white-space: nowrap;
}

.add-to-cart {
  background: #FFCC00;
  border: none;
  border-radius: 8px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.2s;
  flex-shrink: 0;
  color: #1a1a1a;
  font-weight: 900;
}

.add-to-cart:hover {
  background: #e6b800;
  transform: scale(1.1);
}

.qty-control {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.qty-btn {
  background: #f0f0f0;
  border: none;
  border-radius: 6px;
  width: 26px;
  height: 26px;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
  color: #1a1a1a;
}

.qty-btn:hover {
  background: #ddd;
}

.qty-num {
  font-size: 0.85rem;
  font-weight: 800;
  min-width: 16px;
  text-align: center;
}

/* ===== CART SIDEBAR ===== */
.cart-overlay {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.cart-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.cart-sidebar {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 380px;
  max-width: 100vw;
  background: #fff;
  z-index: 201;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 30px rgba(0, 0, 0, 0.15);
}

.cart-sidebar.open {
  transform: translateX(0);
}

.cart-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid #eee;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #1a1a1a;
  color: #fff;
}

.cart-header h3 {
  font-size: 1.1rem;
  font-weight: 800;
}

.cart-close {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #fff;
  border-radius: 8px;
  width: 32px;
  height: 32px;
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.cart-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 1.5rem;
}

.cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  gap: 0.75rem;
  color: #aaa;
  text-align: center;
  padding: 2rem;
}

.cart-empty-icon {
  font-size: 3rem;
}

.cart-empty p {
  font-weight: 700;
  color: #555;
  font-size: 1rem;
}

.cart-empty span {
  font-size: 0.85rem;
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid #f0f0f0;
}

.cart-item-emoji {
  font-size: 2rem;
  min-width: 40px;
  text-align: center;
}

.cart-item-info {
  flex: 1;
}

.cart-item-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.3;
}

.cart-item-price {
  font-size: 0.8rem;
  color: #555;
  margin-top: 0.2rem;
}

.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.cart-item-qty {
  font-weight: 800;
  min-width: 20px;
  text-align: center;
  font-size: 0.9rem;
}

.cart-item-remove {
  background: none;
  border: none;
  color: #ff3b30;
  cursor: pointer;
  font-size: 0.8rem;
  padding: 0.2rem;
  border-radius: 4px;
  margin-left: 0.25rem;
}

.cart-footer {
  padding: 1.25rem 1.5rem;
  border-top: 2px solid #eee;
  background: #fafafa;
}

.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  font-weight: 800;
  font-size: 1.1rem;
}

.cart-checkout-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: #25D366;
  color: #fff;
  text-decoration: none;
  padding: 1rem;
  border-radius: 14px;
  font-size: 1rem;
  font-weight: 800;
  transition: all 0.2s;
  width: 100%;
}

.cart-checkout-btn:hover {
  background: #1eb857;
  transform: translateY(-1px);
}

/* ===== FOOTER ===== */
.footer {
  background: #1a1a1a;
  color: #fff;
  padding: 2rem 1.5rem;
  margin-top: 3rem;
}

.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  text-align: center;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 1.1rem;
  font-weight: 900;
  color: #FFCC00;
}

.footer-legal {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.footer-legal p {
  font-size: 0.8rem;
  color: #888;
  line-height: 1.5;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  color: #aaa;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #FFCC00;
}

/* ===== PAGE STYLES (inner pages) ===== */
.page-hero {
  background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
  padding: 3rem 1.5rem;
  text-align: center;
  color: #fff;
}

.page-hero h1 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 900;
  color: #FFCC00;
  margin-bottom: 0.5rem;
}

.page-hero p {
  color: #aaa;
  font-size: 0.95rem;
}

.page-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
}

.page-content h2 {
  font-size: 1.5rem;
  font-weight: 900;
  color: #1a1a1a;
  margin-top: 2rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #FFCC00;
}

.page-content h3 {
  font-size: 1.1rem;
  font-weight: 800;
  color: #1a1a1a;
  margin-top: 1.5rem;
  margin-bottom: 0.6rem;
}

.page-content p {
  color: #444;
  line-height: 1.7;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}

.page-content ul {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.page-content li {
  color: #444;
  line-height: 1.7;
  margin-bottom: 0.3rem;
  font-size: 0.95rem;
}

.page-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.info-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.info-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 14px;
  padding: 1.2rem;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.info-card .info-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 0.5rem;
}

.info-card strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 800;
  color: #1a1a1a;
  margin-bottom: 0.25rem;
}

.info-card span {
  font-size: 0.8rem;
  color: #888;
}

.address-card {
  background: #fff;
  border-radius: 14px;
  padding: 1.5rem;
  border: 1px solid #eee;
  margin-top: 1rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.address-card p {
  margin-bottom: 0.35rem;
}

.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #1a1a1a;
  color: #fff;
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.9rem;
  margin-top: 2rem;
  transition: all 0.2s;
}

.back-btn:hover {
  background: #333;
}

.warning-banner {
  background: #fff3cd;
  border: 1px solid #ffc107;
  border-radius: 12px;
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
  font-size: 0.9rem;
  font-weight: 700;
  color: #856404;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* ===== NOTIFICATION TOAST ===== */
.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: #1a1a1a;
  color: #fff;
  padding: 0.85rem 1.5rem;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 700;
  z-index: 9998;
  transition: transform 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  white-space: nowrap;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: #f5f5f5;
}

::-webkit-scrollbar-thumb {
  background: #ddd;
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: #ccc;
}

/* ===== LOADING SKELETON ===== */
.loading-skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
  border-radius: 16px;
  height: 220px;
}

@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

/* ===== MOBILE CART RESTRUCTURE ===== */
@media (max-width: 768px) {
  .cart-sidebar {
    top: auto;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 85vh;
    transform: translateY(100%);
    border-radius: 24px 24px 0 0;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.2);
  }

  .cart-sidebar.open {
    transform: translateY(0);
  }

  .cart-header {
    border-radius: 24px 24px 0 0;
    padding: 1rem 1.5rem;
  }

  .cart-overlay {
    backdrop-filter: blur(4px);
  }
}

/* ===== CITY LOCATION ===== */
.logo-city {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  color: #FFCC00;
  letter-spacing: 0.02em;
  margin-top: 1px;
  opacity: 0.95;
}

#user-city {
  color: #FFCC00;
  font-weight: 700;
}

/* ===== PROMO BAR ===== */
.promo-bar {
  background: #FFCC00;
  overflow: hidden;
  display: flex;
  width: 100%;
  height: 36px;
  align-items: center;
}

.promo-track {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  white-space: nowrap;
  padding: 0 1.4rem;
  flex-shrink: 0;
}

.promo-inner {
  display: flex;
  align-items: center;
  width: max-content;
  animation: promo-scroll 18s linear infinite;
}

.promo-track span {
  font-size: 0.82rem;
  font-weight: 800;
  color: #1a1a1a;
  letter-spacing: 0.02em;
}

.promo-track .promo-dot {
  color: #1a1a1a;
  opacity: 0.35;
  font-weight: 400;
}

@keyframes promo-scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* ===== CHECKOUT MODAL ===== */
.checkout-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  backdrop-filter: blur(3px);
}

.checkout-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.checkout-modal {
  position: fixed;
  inset: 0;
  z-index: 201;
  background: #fff;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.4, 0, .2, 1);
  max-width: 480px;
  margin-left: auto;
  box-shadow: -8px 0 40px rgba(0, 0, 0, 0.2);
}

.checkout-modal.open {
  transform: translateX(0);
}

.checkout-header {
  background: #1a1a1a;
  color: #fff;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.checkout-header h3 {
  font-size: 1.05rem;
  font-weight: 800;
  flex: 1;
  text-align: center;
  margin-right: 60px;
}

.checkout-back {
  background: none;
  border: none;
  color: #FFCC00;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.88rem;
  font-weight: 700;
  font-family: 'Nunito', sans-serif;
  padding: 0;
  flex-shrink: 0;
}

.checkout-back:hover {
  opacity: 0.8;
}

.checkout-body {
  flex: 1;
  overflow-y: auto;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  background: #f7f7f7;
}

.checkout-section {
  background: #fff;
  border-radius: 16px;
  padding: 1.1rem 1rem;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.06);
}

.checkout-section-title {
  font-size: 0.92rem;
  font-weight: 800;
  color: #1a1a1a;
  margin-bottom: 0.85rem;
}

.checkout-items-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.checkout-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.87rem;
  color: #333;
}

.checkout-item-name {
  flex: 1;
}

.checkout-item-qty {
  color: #888;
  margin: 0 0.5rem;
  font-size: 0.8rem;
}

.checkout-item-price {
  font-weight: 700;
  color: #1a1a1a;
}

.checkout-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #eee;
  padding-top: 0.65rem;
  font-weight: 700;
  font-size: 0.95rem;
}

.checkout-total-value {
  color: #1a1a1a;
  font-size: 1.1rem;
  font-weight: 900;
}

.checkout-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.form-group label {
  font-size: 0.78rem;
  font-weight: 700;
  color: #555;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.form-group input,
.form-group textarea {
  border: 1.5px solid #e0e0e0;
  border-radius: 10px;
  padding: 0.65rem 0.85rem;
  font-size: 0.95rem;
  font-family: 'Nunito', sans-serif;
  outline: none;
  transition: border-color 0.2s;
  background: #fafafa;
  color: #1a1a1a;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #FFCC00;
  background: #fff;
}

.form-group input.error {
  border-color: #ff3b30;
}

.form-group input[readonly] {
  background: #f0f0f0;
  color: #666;
  cursor: default;
}

.form-row {
  display: flex;
  gap: 0.75rem;
}

.cep-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.cep-input-wrap input {
  width: 100%;
}

.cep-status {
  position: absolute;
  right: 0.75rem;
  font-size: 1rem;
  pointer-events: none;
}

.checkout-footer {
  padding: 1rem 1.25rem;
  background: #fff;
  border-top: 1px solid #eee;
  flex-shrink: 0;
}

.checkout-confirm-btn {
  width: 100%;
  background: #FFCC00;
  color: #1a1a1a;
  border: none;
  border-radius: 14px;
  padding: 1rem;
  font-size: 1.05rem;
  font-weight: 900;
  font-family: 'Nunito', sans-serif;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 4px 16px rgba(255, 204, 0, 0.35);
}

.checkout-confirm-btn:hover {
  background: #e6b800;
  transform: translateY(-1px);
}

.checkout-confirm-btn:disabled {
  opacity: 0.5;
  transform: none;
  cursor: not-allowed;
}

/* ===== DELIVERY BANNER ===== */
.delivery-banner {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  border-radius: 16px;
  padding: 1rem 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
  animation: slideIn 0.4s cubic-bezier(.4, 0, .2, 1);
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

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

.delivery-banner-icon {
  font-size: 2rem;
  flex-shrink: 0;
  animation: moto-ride 1.5s ease-in-out infinite alternate;
}

@keyframes moto-ride {
  from {
    transform: translateX(0) rotate(-3deg);
  }

  to {
    transform: translateX(4px) rotate(3deg);
  }
}

.delivery-banner-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  flex: 1;
}

.delivery-banner-title {
  font-size: 1rem;
  font-weight: 900;
  color: #FFCC00;
  line-height: 1.2;
}

.delivery-banner-sub {
  font-size: 0.78rem;
  color: #aaa;
  font-weight: 600;
}

.delivery-banner-badge {
  background: #22c55e;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  padding: 0.3rem 0.65rem;
  border-radius: 20px;
  flex-shrink: 0;
}

/* ===== CHECKOUT STEPS ===== */
.checkout-step {
  display: flex;
  flex-direction: column;
  flex: 1;
  overflow: hidden;
}

/* Header center */
.checkout-header-center {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  margin-right: 60px;
}

.checkout-header-center h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
  margin: 0;
}

/* Step indicator dots */
.checkout-steps-indicator {
  display: flex;
  align-items: center;
  gap: 0;
}

.step-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  transition: background 0.3s;
}

.step-dot.active {
  background: #FFCC00;
}

.step-dot.done {
  background: #22c55e;
}

.step-line {
  width: 20px;
  height: 2px;
  background: rgba(255, 255, 255, 0.2);
}

/* Payment option */
.payment-options {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.payment-option {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  border: 2px solid #e0e0e0;
  border-radius: 14px;
  padding: 0.85rem 1rem;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  background: #fafafa;
}

.payment-option.selected {
  border-color: #32BCAD;
  background: #f0fffe;
}

.payment-option-icon {
  width: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pix-icon svg {
  display: block;
}

.payment-option-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.payment-option-name {
  font-size: 0.95rem;
  font-weight: 800;
  color: #1a1a1a;
}

.payment-option-desc {
  font-size: 0.75rem;
  color: #888;
}

.payment-check {
  color: #32BCAD;
  font-weight: 900;
  font-size: 1.1rem;
}

/* Review block */
.review-block {
  font-size: 0.88rem;
  color: #444;
  line-height: 1.7;
}

.review-block strong {
  color: #1a1a1a;
}

/* Green confirm button */
.checkout-confirm-btn--green {
  background: #22c55e;
  box-shadow: 0 4px 16px rgba(34, 197, 94, 0.35);
}

.checkout-confirm-btn--green:hover {
  background: #16a34a;
}

/* ===== PIX SCREEN ===== */
.pix-body {
  align-items: center;
  justify-content: center;
  background: #f7f7f7;
  padding: 2rem 1.25rem;
  gap: 1.25rem;
}

.pix-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  gap: 1rem;
}

/* Loading */
.pix-spinner {
  width: 48px;
  height: 48px;
  border: 4px solid #e0e0e0;
  border-top-color: #4db6ac;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.pix-loading-text {
  font-size: 0.95rem;
  color: #666;
  font-weight: 600;
}

/* Header badge */
.pix-header-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #e8faf8;
  border: 1.5px solid #4db6ac;
  border-radius: 30px;
  padding: 0.4rem 1rem;
  font-size: 0.9rem;
  font-weight: 800;
  color: #1a1a1a;
}

/* Amount */
.pix-amount-label {
  font-size: 1.6rem;
  font-weight: 900;
  color: #1a1a1a;
}

/* QR code */
.pix-qr-wrap {
  background: #fff;
  border-radius: 16px;
  padding: 0.85rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.pix-qr-img {
  width: 180px;
  height: 180px;
  display: block;
  border-radius: 8px;
}

/* Instruction */
.pix-instruction {
  font-size: 0.82rem;
  color: #666;
  text-align: center;
}

/* Copy wrap */
.pix-copy-wrap {
  display: flex;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.07);
}

.pix-code-input {
  flex: 1;
  border: none;
  padding: 0.75rem 0.85rem;
  font-size: 0.72rem;
  color: #333;
  background: #fff;
  font-family: monospace;
  outline: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pix-copy-btn {
  background: #4db6ac;
  color: #fff;
  border: none;
  padding: 0.75rem 1.1rem;
  font-size: 0.88rem;
  font-weight: 800;
  font-family: 'Nunito', sans-serif;
  cursor: pointer;
  transition: background 0.2s;
  flex-shrink: 0;
}

.pix-copy-btn:hover {
  background: #3da49a;
}

.pix-copy-btn.copied {
  background: #22c55e;
}

/* Status pulsing dot */
.pix-status-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: #888;
  font-weight: 600;
}

.pix-pulse {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fbbf24;
  animation: pulse-dot 1.2s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes pulse-dot {

  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.4);
    opacity: 0.6;
  }
}

/* Success */
.pix-success-icon {
  font-size: 3.5rem;
}

.pix-success-title {
  font-size: 1.3rem;
  font-weight: 900;
  color: #16a34a;
  margin: 0;
  text-align: center;
}

.pix-success-sub {
  font-size: 0.88rem;
  color: #555;
  text-align: center;
}

/* Error */
.pix-error-icon {
  font-size: 2rem;
}

.pix-error-text {
  font-size: 0.9rem;
  color: #666;
  text-align: center;
  line-height: 1.6;
}