/*============================================================================
  AROKO LAB - DESIGN SYSTEM & THEME OVERRIDES
  Colors: Deep Violet / Electric Purple (#7928CA) & Crimson Tech Red (#FF1E56)
  Typography: Outfit (Headings & Body) + Space Mono (Lab Specs & Technical Tags)
==============================================================================*/

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Space+Mono:ital,wght@0,400;0,700;1,400&display=swap');

:root {
  /* Aroko Lab Brand Colors */
  --aroko-purple: #7928CA;
  --aroko-purple-hover: #6018a8;
  --aroko-purple-light: #A855F7;
  --aroko-purple-subtle: rgba(121, 40, 202, 0.12);
  --aroko-purple-glow: rgba(168, 85, 247, 0.3);

  --aroko-red: #FF1E56;
  --aroko-red-hover: #E11D48;
  --aroko-red-subtle: rgba(255, 30, 86, 0.12);
  --aroko-red-glow: rgba(255, 30, 86, 0.3);

  --aroko-gradient: linear-gradient(135deg, #7928CA 0%, #FF1E56 100%);
  --aroko-gradient-hover: linear-gradient(135deg, #6018a8 0%, #E11D48 100%);
  --aroko-gradient-subtle: linear-gradient(135deg, rgba(121, 40, 202, 0.08) 0%, rgba(255, 30, 86, 0.08) 100%);

  /* Neutrals */
  --aroko-bg-dark: #0A090D;
  --aroko-surface-dark: #121019;
  --aroko-surface-card: #181622;
  --aroko-border-subtle: rgba(168, 85, 247, 0.2);
  --aroko-text-high: #FFFFFF;
  --aroko-text-muted: #9E9AA8;

  /* Typography */
  --aroko-font-primary: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --aroko-font-mono: 'Space Mono', monospace;
}

/* Base Typography Enhancement */
body, html {
  font-family: var(--aroko-font-primary) !important;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6,
.font-headings, .page-header-title {
  font-family: var(--aroko-font-primary) !important;
  font-weight: 700 !important;
  letter-spacing: -0.02em;
}

/* Technical Mono Accents */
.aroko-spec-tag,
.lab-badge,
.sku-tag,
.font-mono-technical {
  font-family: var(--aroko-font-mono) !important;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ============================================================================
  1. TOPBAR & ANNOUNCEMENT BAR (ROXO & VERMELHO)
============================================================================== */
.aroko-announcement-bar {
  background: var(--aroko-gradient);
  color: #FFFFFF;
  padding: 8px 12px;
  font-family: var(--aroko-font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 15px rgba(121, 40, 202, 0.25);
  position: relative;
  z-index: 100;
}

.aroko-announcement-content {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.aroko-tag-pill {
  background: #FFFFFF;
  color: var(--aroko-purple);
  font-weight: 900;
  font-size: 10px;
  padding: 2px 7px;
  border-radius: 4px;
  letter-spacing: 0.08em;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.aroko-msg {
  color: #FFFFFF;
  font-weight: 500;
}

.aroko-msg strong {
  color: #FFE600;
  font-weight: 700;
}

.aroko-divider {
  color: rgba(255, 255, 255, 0.4);
  font-size: 10px;
}

.section-adbar,
.head-adbar,
.js-adbar {
  background: var(--aroko-gradient) !important;
  color: #FFFFFF !important;
  font-family: var(--aroko-font-mono) !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 0.06em !important;
  padding: 8px 0 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 15px rgba(121, 40, 202, 0.2);
}

.section-adbar a,
.js-adbar a {
  color: #FFFFFF !important;
  text-decoration: none !important;
  transition: opacity 0.2s ease;
}

.section-adbar a:hover,
.js-adbar a:hover {
  opacity: 0.85;
}

/* Topbar secondary nav */
.section-topbar {
  border-bottom: 1px solid var(--aroko-border-subtle) !important;
}

/* ============================================================================
  2. HEADER & NAVIGATION
============================================================================== */
.head-main {
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.head-logo-row {
  border-bottom: 1px solid rgba(121, 40, 202, 0.1);
}

/* Store name / Logo accent */
.logo-text,
.js-logo-container a {
  font-family: var(--aroko-font-primary) !important;
  font-weight: 900 !important;
  letter-spacing: -0.03em !important;
  text-transform: uppercase;
}

/* Nav links hover with Purple/Red accent */
.nav-list-link {
  font-weight: 600 !important;
  font-size: 14px !important;
  letter-spacing: 0.02em !important;
  transition: color 0.2s ease !important;
  position: relative;
}

.nav-list-link:hover {
  color: var(--aroko-purple-light) !important;
}

.nav-list-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--aroko-gradient);
  transition: width 0.25s ease;
  border-radius: 2px;
}

.nav-list-link:hover::after {
  width: 100%;
}

/* Cart badge with pulse in red */
.badge-cart,
.js-cart-widget-amount {
  background: var(--aroko-red) !important;
  color: #FFFFFF !important;
  font-family: var(--aroko-font-mono) !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  box-shadow: 0 0 10px var(--aroko-red-glow);
}

/* ============================================================================
  3. BUTTONS (CALL TO ACTION COM GRADIENTE AROKO)
============================================================================== */
.btn-primary,
.btn-add-to-cart,
.js-prod-submit-form,
.js-addtocart {
  background: var(--aroko-gradient) !important;
  border: none !important;
  color: #FFFFFF !important;
  font-family: var(--aroko-font-primary) !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  border-radius: 8px !important;
  padding: 14px 28px !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-shadow: 0 4px 20px rgba(121, 40, 202, 0.35) !important;
  position: relative;
  overflow: hidden;
}

.btn-primary:hover,
.btn-add-to-cart:hover,
.js-prod-submit-form:hover,
.js-addtocart:hover {
  background: var(--aroko-gradient-hover) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(255, 30, 86, 0.45) !important;
  color: #FFFFFF !important;
}

.btn-primary:active,
.btn-add-to-cart:active {
  transform: translateY(0);
}

.btn-secondary {
  border: 1.5px solid var(--aroko-purple) !important;
  color: var(--aroko-purple) !important;
  background: transparent !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
  transition: all 0.2s ease !important;
}

.btn-secondary:hover {
  background: var(--aroko-purple-subtle) !important;
  color: var(--aroko-purple-light) !important;
  border-color: var(--aroko-purple-light) !important;
}

/* ============================================================================
  4. CARDS DE PRODUTO & VITRINE
============================================================================== */
.item-product {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.item-product .item {
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
}

.item-product:hover .item {
  transform: translateY(-4px);
}

/* Item Image Container with Subtle Lab Border */
.item-image-container {
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  transition: border-color 0.3s ease;
}

.item-product:hover .item-image-container {
  box-shadow: 0 8px 30px rgba(121, 40, 202, 0.15);
}

/* Product Titles */
.item-name {
  font-family: var(--aroko-font-primary) !important;
  font-weight: 600 !important;
  font-size: 15px !important;
  line-height: 1.35 !important;
  transition: color 0.2s ease;
}

.item-product:hover .item-name {
  color: var(--aroko-purple) !important;
}

/* Price Display */
.item-price {
  font-family: var(--aroko-font-mono) !important;
  font-weight: 700 !important;
  font-size: 17px !important;
  color: var(--aroko-red) !important;
  letter-spacing: -0.02em;
}

.price-compare {
  font-family: var(--aroko-font-mono) !important;
  font-size: 13px !important;
  opacity: 0.55;
}

/* Installments / Parcelamento */
.installments,
.js-max-installments-container {
  font-family: var(--aroko-font-primary) !important;
  font-size: 12px !important;
  color: var(--aroko-text-muted) !important;
  font-weight: 500;
}

.installments strong {
  color: var(--aroko-purple) !important;
  font-weight: 700;
}

/* ============================================================================
  5. LAB SPEC BADGES & ETIQUETAS
============================================================================== */
.label-primary,
.label-circle,
.label {
  border-radius: 6px !important;
  font-family: var(--aroko-font-mono) !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  padding: 4px 8px !important;
}

/* Free Shipping Badge */
.label-shipping {
  background: var(--aroko-purple) !important;
  color: #FFFFFF !important;
  box-shadow: 0 2px 10px var(--aroko-purple-glow);
}

/* Discount / Sale Badge */
.label-offer,
.label-accent {
  background: var(--aroko-red) !important;
  color: #FFFFFF !important;
  box-shadow: 0 2px 10px var(--aroko-red-glow);
}

/* Custom Lab Tag */
.aroko-lab-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--aroko-purple-subtle);
  border: 1px solid var(--aroko-purple-light);
  color: var(--aroko-purple-light);
  font-family: var(--aroko-font-mono);
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
  margin-bottom: 6px;
}

.aroko-lab-tag::before {
  content: '⚡';
  font-size: 10px;
}

/* ============================================================================
  6. DRAWER CART (CARRINHO LATERAL AJAX)
============================================================================== */
.cart-panel {
  border-left: 1px solid var(--aroko-border-subtle);
}

.cart-panel-header {
  border-bottom: 1px solid var(--aroko-border-subtle);
}

.cart-free-shipping-progress {
  background: var(--aroko-gradient) !important;
  border-radius: 100px;
  height: 6px !important;
}

/* ============================================================================
  7. FOOTER
============================================================================== */
.section-footer {
  border-top: 1px solid var(--aroko-border-subtle);
  position: relative;
}

.section-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--aroko-gradient);
}

/* ============================================================================
  8. COMPACT & REFINED NEWSLETTER (AROKO LAB PALETTE - ROXO & VERMELHO)
============================================================================== */
.section-newsletter {
  padding: 28px 0 !important;
  background: transparent !important;
}

.section-newsletter-home {
  padding: 24px 20px !important;
  background: #121019 !important;
  background: linear-gradient(135deg, #13111C 0%, #1A1426 100%) !important;
  border: 1px solid rgba(121, 40, 202, 0.25) !important;
  border-radius: 14px !important;
  max-width: 600px !important;
  margin: 0 auto !important;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4), 0 0 15px rgba(121, 40, 202, 0.1) !important;
}

.section-newsletter-home .newsletter-container {
  max-width: 100% !important;
}

.section-newsletter-home .js-home-newsletter-internal-container {
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
}

.section-newsletter-home-colors {
  background: linear-gradient(135deg, #13111C 0%, #1A1426 100%) !important;
  color: #FFFFFF !important;
}

.aroko-newsletter-title,
.js-home-newsletter-title {
  font-family: var(--aroko-font-primary) !important;
  font-size: 1.15rem !important;
  font-weight: 700 !important;
  color: #FFFFFF !important;
  letter-spacing: -0.01em !important;
  text-transform: uppercase !important;
  margin-bottom: 4px !important;
}

.aroko-newsletter-text,
.js-home-newsletter-text {
  font-family: var(--aroko-font-primary) !important;
  font-size: 0.85rem !important;
  color: var(--aroko-text-muted) !important;
  margin-bottom: 14px !important;
  line-height: 1.4 !important;
}

/* Form inputs */
.section-newsletter-home .form-control,
.newsletter-footer .form-control {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(168, 85, 247, 0.35) !important;
  color: #FFFFFF !important;
  border-radius: 8px !important;
  padding: 10px 14px !important;
  font-size: 13px !important;
  height: 42px !important;
  transition: all 0.2s ease !important;
}

.section-newsletter-home .form-control:focus,
.newsletter-footer .form-control:focus {
  border-color: var(--aroko-purple-light) !important;
  box-shadow: 0 0 12px var(--aroko-purple-glow) !important;
  background: rgba(255, 255, 255, 0.09) !important;
  outline: none !important;
}

.section-newsletter-home .form-control::placeholder,
.newsletter-footer .form-control::placeholder {
  color: rgba(255, 255, 255, 0.45) !important;
}

/* Newsletter CTA Button */
.section-newsletter-home .newsletter-btn,
.section-newsletter-home-colors .newsletter-btn,
.newsletter-footer .newsletter-btn {
  background: var(--aroko-gradient) !important;
  color: #FFFFFF !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 10px 22px !important;
  font-family: var(--aroko-font-primary) !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
  box-shadow: 0 4px 15px rgba(121, 40, 202, 0.35) !important;
  cursor: pointer !important;
  transition: all 0.25s ease !important;
  height: 42px !important;
  line-height: 22px !important;
}

.section-newsletter-home .newsletter-btn:hover,
.section-newsletter-home-colors .newsletter-btn:hover,
.newsletter-footer .newsletter-btn:hover {
  background: var(--aroko-gradient-hover) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 20px rgba(255, 30, 86, 0.45) !important;
  color: #FFFFFF !important;
}

/* Footer Newsletter strip */
.newsletter-footer {
  background: #0E0D14 !important;
  border-top: 1px solid rgba(121, 40, 202, 0.15) !important;
  border-bottom: 1px solid rgba(121, 40, 202, 0.15) !important;
  padding: 16px 0 !important;
  color: #FFFFFF !important;
}

.newsletter-footer .h1-md {
  font-size: 1.15rem !important;
  font-weight: 700 !important;
  color: #FFFFFF !important;
}

.newsletter-footer .font-small {
  color: var(--aroko-text-muted) !important;
  font-size: 0.85rem !important;
}

/* Override any default pink background */
[data-store="home-newsletter"],
.section-newsletter,
.section-newsletter-home,
.section-newsletter-home-colors,
.newsletter-footer {
  background-color: #121019 !important;
}
