/*
 Theme Name: Hello Elementor Child
 Theme URI: https://diviniumpeptideos.com
 Description: Child theme premium para Divinium Peptídeos
 Author: ProAG
 Template: hello-elementor
 Version: 2.1.5
 Text Domain: hello-elementor-child
*/

/* =============================================
   GOOGLE FONTS
   ============================================= */
@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,400&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400;1,500&display=swap');

/* =============================================
   DESIGN TOKENS
   ============================================= */
:root {
  /* Brand Colors */
  --dv-navy:        #1E3370;
  --dv-navy-dark:   #141f4a;
  --dv-navy-light:  #243C83;
  --dv-sand:        #D5C8B8;
  --dv-sand-light:  #EDE7DF;
  --dv-lilac:       #653DB4;
  --dv-gold:        #C9A96E;
  --dv-gold-light:  #E2C99A;

  /* Neutrals */
  --dv-white:       #FFFFFF;
  --dv-off-white:   #F8F5F1;
  --dv-gray-50:     #F5F5F5;
  --dv-gray-100:    #EBEBEB;
  --dv-gray-200:    #D4D4D4;
  --dv-gray-400:    #9A9A9A;
  --dv-gray-600:    #5A5A5A;
  --dv-gray-800:    #2A2A2A;
  --dv-black:       #0D0D0D;

  /* Typography */
  --font-heading:   'Cormorant Garamond', Georgia, serif;
  --font-body:      'Nunito', -apple-system, sans-serif;

  /* Spacing */
  --section-py:     80px;
  --container-max:  1320px;

  /* Border Radius */
  --radius-sm:      6px;
  --radius-md:      12px;
  --radius-lg:      20px;
  --radius-full:    9999px;

  /* Shadows */
  --shadow-sm:      0 2px 8px rgba(30,51,112,0.08);
  --shadow-md:      0 8px 32px rgba(30,51,112,0.12);
  --shadow-lg:      0 20px 60px rgba(30,51,112,0.18);
  --shadow-gold:    0 4px 24px rgba(201,169,110,0.25);

  /* Transitions */
  --transition:     0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* =============================================
   RESET & BASE
   ============================================= */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--dv-gray-800);
  background-color: var(--dv-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--dv-navy);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--dv-gold);
}

/* =============================================
   TYPOGRAPHY
   ============================================= */
h1, h2, h3, h4, h5, h6,
.divin-logo-text {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  color: var(--dv-navy-dark);
  margin-bottom: 0.5em;
}

h1 { font-size: clamp(2.2rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.3rem; }
h5 { font-size: 1.1rem; }

p { margin-bottom: 1rem; }

.dv-eyebrow,
.divin-hero-badge {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dv-gold);
  display: inline-block;
  margin-bottom: 0.75rem;
}

/* =============================================
   LAYOUT UTILITIES
   ============================================= */
.container,
.divin-container {
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.section,
.divin-section {
  padding: var(--section-py) 0;
}

.section--dark,
.divin-section-dark {
  background-color: var(--dv-navy-dark) !important;
  color: var(--dv-white) !important;
}

.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4,
.divin-section-dark h1, .divin-section-dark h2, .divin-section-dark h3, .divin-section-dark h4 {
  color: var(--dv-white) !important;
}

.section--light,
.divin-section-alt {
  background-color: var(--dv-off-white) !important;
}

.text-center { text-align: center; }
.text-gold   { color: var(--dv-gold); }
.text-navy   { color: var(--dv-navy); }

/* =============================================
   WPAUTOP FIX (Esconde tags p e br geradas pelo WP dentro de containers flex/grid)
   ============================================= */
.divin-hero-container > p,
.divin-hero-container > br,
.divin-hero-content > p:empty,
.divin-hero-content > br,
.divin-hero-cta > br,
.divin-hero-stats > br,
.divin-hero-stats > p:empty,
.divin-categories-grid > p,
.divin-categories-grid > br,
.divin-featured-grid > p,
.divin-featured-grid > br,
.divin-science-grid > p,
.divin-science-grid > br,
.divin-testimonials-grid > p,
.divin-testimonials-grid > br,
.divin-cta-buttons > br,
.divin-footer-grid > p,
.divin-footer-grid > br {
  display: none !important;
}

/* =============================================
   BUTTONS
   ============================================= */
.btn,
.button,
button[type="submit"],
input[type="submit"],
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.divin-btn-primary,
.divin-product-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  line-height: 1;
}

/* Primary buttons */
.btn-primary,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce #respond input#submit.alt,
.woocommerce #payment #place_order,
.divin-btn-primary,
.divin-product-btn {
  background: var(--dv-navy) !important;
  color: var(--dv-white) !important;
  border-color: var(--dv-navy) !important;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.divin-btn-primary:hover,
.divin-product-btn:hover {
  background: var(--dv-gold) !important;
  border-color: var(--dv-gold) !important;
  color: var(--dv-white) !important;
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

/* Glass/Outline buttons */
.divin-btn-glass {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--dv-navy);
  color: var(--dv-navy) !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: all var(--transition);
  text-decoration: none;
}

.divin-btn-glass:hover {
  background: var(--dv-navy);
  color: var(--dv-white) !important;
  transform: translateY(-2px);
}

/* =============================================
   HEADER (Glassmorphism & Branded Colors)
   ============================================= */
.site-header,
#site-header {
  display: none !important; /* Esconde headers antigos se houver */
}

/* Nosso custom header com classe divin-header */
.divin-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: rgba(255, 255, 255, 0.5) !important;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(30, 51, 112, 0.1);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

.divin-header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  position: relative !important;
}

.divin-logo-wrapper {
  display: flex;
  align-items: center;
}

.divin-logo-link img {
  height: 42px;
  width: auto;
  display: block;
}

/* Nav Menu */
.divin-nav {
  display: flex;
  align-items: center;
}

.divin-menu {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.divin-menu li a {
  display: block;
  padding: 8px 16px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--dv-gray-800);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.divin-menu li a:hover,
.divin-menu li.current-menu-item a {
  color: var(--dv-navy);
  background: var(--dv-gray-50);
}

.divin-menu li.divin-menu__cta a {
  background: var(--dv-navy);
  color: var(--dv-white);
  padding: 10px 22px;
  border-radius: var(--radius-full);
}

.divin-menu li.divin-menu__cta a:hover {
  background: var(--dv-gold);
  color: var(--dv-white);
}

.divin-menu li.divin-menu__account a {
  background: var(--dv-gold, #C9A96E) !important;
  color: var(--dv-navy-dark, #0C192E) !important;
  padding: 10px 22px !important;
  border-radius: var(--radius-full, 9999px) !important;
  font-weight: 800 !important;
}

.divin-menu li.divin-menu__account a:hover {
  background: var(--dv-navy-dark, #0C192E) !important;
  color: var(--dv-white, #FFFFFF) !important;
}

/* Header Actions */
.divin-header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.divin-cart-link-wrapper a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--dv-navy);
  padding: 8px 16px;
  background: var(--dv-sand-light);
  border-radius: var(--radius-full);
  transition: all var(--transition);
}

.divin-cart-link-wrapper a:hover {
  background: var(--dv-navy);
  color: var(--dv-white);
}

.divin-cart-count {
  background: var(--dv-navy);
  color: var(--dv-white);
  font-size: 0.75rem;
  padding: 2px 6px;
  border-radius: 50%;
  min-width: 18px;
  text-align: center;
}

.divin-cart-link-wrapper a:hover .divin-cart-count {
  background: var(--dv-gold);
}

/* Hamburger */
.divin-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.divin-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--dv-navy-dark);
  transition: all var(--transition);
}

/* Offset wrapper content to not hide below fixed header */
.page-wrapper,
#page,
.site,
.site-content {
  padding-top: 80px;
}

/* =============================================
   HERO SECTION (Claro e Premium com grid)
   ============================================= */
.divin-hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  padding: 60px 0;
  background: var(--dv-white);
}

.divin-hero-bg,
.divin-hero-overlay {
  display: none; /* remove overlays escuros antigos */
}

.divin-hero-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  display: grid !important;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 48px;
  width: 100%;
}

.divin-hero-content {
  z-index: 2;
}

.divin-hero-badge span {
  background: var(--dv-sand-light);
  color: var(--dv-navy-dark);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
}

.divin-hero-title {
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  color: var(--dv-navy-dark);
  margin: 20px 0;
  line-height: 1.15;
}

.divin-hero-accent {
  color: var(--dv-navy-light);
  font-style: italic;
}

.divin-hero-subtitle {
  font-size: 1.15rem;
  color: var(--dv-gray-600);
  margin-bottom: 32px;
  max-width: 580px;
}

.divin-hero-cta {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
}

.divin-hero-stats {
  display: flex;
  gap: 32px;
  border-top: 1px solid var(--dv-gray-200);
  padding-top: 32px;
}

.divin-stat {
  flex: 1;
}

.divin-stat strong {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--dv-navy);
  display: block;
}

.divin-stat span {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--dv-gray-600);
}

.divin-stat-divider {
  width: 1px;
  background: var(--dv-gray-200);
  height: 50px;
  align-self: center;
}

/* Vial container */
.divin-hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.divin-hero-vial {
  background: var(--dv-white);
  border: 1px solid var(--dv-sand);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  text-align: center;
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 320px;
  animation: float-anim 5s ease-in-out infinite;
}

.divin-vial-icon {
  font-size: 5rem;
  margin-bottom: 20px;
}

.divin-vial-label {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: var(--dv-navy-dark);
  font-weight: 700;
}

.divin-vial-label-sub {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dv-gold);
  margin-top: 4px;
}

@keyframes float-anim {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}

/* =============================================
   CATEGORIES SECTION
   ============================================= */
.divin-categories-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 24px !important;
  margin-top: 40px;
}

.divin-cat-card {
  position: relative !important;
  border-radius: var(--radius-md) !important;
  padding: 48px 24px !important;
  transition: all var(--transition) !important;
  text-align: center !important;
  display: block !important;
  overflow: hidden !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  height: 220px !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  z-index: 1 !important;
}

/* Specific background images for each card */
.divin-cat-card.cat-regen {
  background-image: url('/wp-content/themes/hello-elementor-child/assets/images/objetivos/cat_regeneracao.webp') !important;
}
.divin-cat-card.cat-metabolico {
  background-image: url('/wp-content/themes/hello-elementor-child/assets/images/objetivos/cat_metabolico.webp') !important;
}
.divin-cat-card.cat-neuro {
  background-image: url('/wp-content/themes/hello-elementor-child/assets/images/objetivos/cat_neuro.webp') !important;
}
.divin-cat-card.cat-hormonal {
  background-image: url('/wp-content/themes/hello-elementor-child/assets/images/objetivos/cat_hormonal.webp') !important;
}
.divin-cat-card.cat-longevidade {
  background-image: url('/wp-content/themes/hello-elementor-child/assets/images/objetivos/cat_longevidade.webp') !important;
}
.divin-cat-card.cat-diluentes {
  background-image: url('/wp-content/themes/hello-elementor-child/assets/images/objetivos/cat_diluentes.webp') !important;
}

/* Semi-transparent dark overlay to ensure text contrast and premium feel */
.divin-cat-card::before {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background: linear-gradient(180deg, rgba(20, 31, 74, 0.65) 0%, rgba(13, 13, 13, 0.85) 100%) !important;
  z-index: -1 !important;
  transition: all var(--transition) !important;
}

.divin-cat-card:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4) !important;
  border-color: var(--dv-gold) !important;
}

.divin-cat-card:hover::before {
  background: linear-gradient(180deg, rgba(20, 31, 74, 0.5) 0%, rgba(13, 13, 13, 0.75) 100%) !important;
}

.divin-cat-icon {
  font-size: 2.2rem !important;
  margin-bottom: 12px !important;
  display: inline-block !important;
  transition: transform var(--transition) !important;
}

.divin-cat-card:hover .divin-cat-icon {
  transform: scale(1.15) translateY(-2px) !important;
}

.divin-cat-card h3 {
  font-family: var(--font-heading) !important;
  font-size: 1.4rem !important;
  color: var(--dv-white) !important;
  margin-bottom: 8px !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3) !important;
}

.divin-cat-card p {
  font-size: 0.88rem !important;
  color: var(--dv-sand-light) !important;
  line-height: 1.5 !important;
  margin: 0 !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4) !important;
}

/* =============================================
   PRODUCTS Destaques (Featured Products)
   ============================================= */
.divin-section-header-flex {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 40px;
}

.divin-link-arrow {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--dv-navy);
}

.divin-featured-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 24px !important;
}

.divin-product-card {
  background: var(--dv-white) !important;
  border: 1px solid var(--dv-gray-100) !important;
  border-radius: var(--radius-md) !important;
  padding: 32px 20px 24px !important;
  text-align: center !important;
  transition: all var(--transition) !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
}

.divin-product-card:hover {
  transform: translateY(-6px) !important;
  box-shadow: var(--shadow-md) !important;
  border-color: var(--dv-sand) !important;
}

.divin-product-icon-wrap {
  width: 60px;
  height: 60px;
  background: var(--dv-sand-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.divin-product-card h3 {
  font-family: var(--font-heading) !important;
  font-size: 1.15rem !important;
  color: var(--dv-navy-dark) !important;
  margin-bottom: 8px !important;
}

.divin-product-card p {
  font-size: 0.85rem !important;
  color: var(--dv-gray-600) !important;
  line-height: 1.5 !important;
  margin-bottom: 16px !important;
  flex-grow: 1 !important;
}

.divin-product-price {
  font-family: var(--font-heading) !important;
  font-size: 1.4rem !important;
  font-weight: 700 !important;
  color: var(--dv-navy) !important;
  margin-bottom: 16px !important;
  display: block !important;
}

.divin-product-btn {
  width: 100% !important;
  padding: 10px 16px !important;
  font-size: 0.75rem !important;
}

/* Homepage Featured Products Image Styling */
.divin-product-image-wrap {
  width: 100%;
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  overflow: hidden;
}

.divin-product-image {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  transition: transform var(--transition);
}

.divin-product-card:hover .divin-product-image {
  transform: scale(1.08);
}

/* Homepage Search Box */
.divin-home-search {
  max-width: 580px;
  margin: 40px auto 0 auto;
  text-align: center;
}

.divin-search-lead {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--dv-gray-600);
  margin-bottom: 16px;
  font-weight: 500;
  line-height: 1.5;
}

.divin-home-search form {
  position: relative;
  display: flex;
  align-items: center;
  box-shadow: var(--shadow-sm);
  border-radius: var(--radius-full);
}

.divin-home-search-input {
  width: 100%;
  padding: 14px 60px 14px 20px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--dv-gray-200);
  background: var(--dv-white);
  color: var(--dv-gray-800);
  transition: all var(--transition);
}

.divin-home-search-input:focus {
  outline: none;
  border-color: var(--dv-gold);
  box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.15), var(--shadow-sm);
}

.divin-home-search-submit {
  position: absolute;
  right: 6px;
  background: var(--dv-navy);
  border: none;
  color: var(--dv-white);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
  padding: 0 !important;
}

.divin-home-search-submit:hover {
  background: var(--dv-gold);
  transform: scale(1.05);
}

.divin-home-search-submit svg {
  stroke: var(--dv-white);
}

@media (max-width: 767px) {
  .divin-home-search {
    margin-top: 30px;
    padding: 0 10px;
  }
  .divin-search-lead {
    font-size: 0.85rem;
  }
  .divin-home-search-input {
    padding: 12px 50px 12px 16px;
    font-size: 0.88rem;
  }
  .divin-home-search-submit {
    width: 32px;
    height: 32px;
    right: 5px;
  }
}

/* =============================================
   SCIENCE / WHY US GRID
   ============================================= */
.divin-science-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 28px !important;
  margin-top: 40px;
}

.divin-science-card {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  padding: 32px 24px !important;
  border-radius: var(--radius-md) !important;
  transition: all var(--transition) !important;
}

.divin-science-card:hover {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: var(--dv-gold) !important;
}

.divin-science-icon {
  font-size: 2.2rem;
  margin-bottom: 16px;
}

.divin-science-card h3 {
  font-family: var(--font-heading) !important;
  font-size: 1.25rem !important;
  color: var(--dv-white) !important;
  margin-bottom: 8px !important;
}

.divin-science-card p {
  font-size: 0.875rem !important;
  color: rgba(255, 255, 255, 0.75) !important;
  line-height: 1.6 !important;
  margin: 0 !important;
}

/* =============================================
   TESTIMONIALS
   ============================================= */
.divin-testimonials-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 24px !important;
  margin-top: 40px;
}

.divin-testimonial-card {
  background: var(--dv-white) !important;
  border: 1px solid var(--dv-gray-100) !important;
  border-radius: var(--radius-md) !important;
  padding: 32px !important;
  transition: all var(--transition) !important;
}

.divin-testimonial-card:hover {
  box-shadow: var(--shadow-md) !important;
  border-color: var(--dv-sand) !important;
}

.divin-stars {
  color: var(--dv-gold);
  font-size: 0.85rem;
  margin-bottom: 16px;
}

.divin-testimonial-card p {
  font-size: 0.95rem !important;
  line-height: 1.7 !important;
  color: var(--dv-gray-600) !important;
  font-style: italic !important;
  margin-bottom: 24px !important;
}

.divin-testi-author {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
}

.divin-testi-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--dv-sand-light);
  color: var(--dv-navy-dark);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.divin-testi-author strong {
  font-size: 0.9rem;
  color: var(--dv-navy-dark);
}

.divin-testi-author span {
  font-size: 0.75rem;
  color: var(--dv-gray-400);
}

/* =============================================
   CTA BANNER SECTION
   ============================================= */
.divin-cta-section {
  background: linear-gradient(135deg, var(--dv-navy-dark) 0%, var(--dv-lilac) 100%) !important;
  padding: 80px 24px !important;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.divin-cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(ellipse at center, rgba(201,169,110,0.15) 0%, transparent 70%);
}

.divin-cta-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: 0 auto;
}

.divin-cta-content h2 {
  color: var(--dv-white) !important;
  font-size: 2.2rem;
  margin-bottom: 16px;
}

.divin-cta-content p {
  color: rgba(255,255,255,0.8);
  font-size: 1.05rem;
  margin-bottom: 32px;
}

.divin-cta-buttons {
  display: flex !important;
  gap: 16px !important;
  justify-content: center !important;
}

/* =============================================
   FOOTER
   ============================================= */
.divin-footer {
  background: var(--dv-navy-dark) !important;
  color: rgba(255, 255, 255, 0.85) !important;
  padding: 64px 24px 32px !important;
  max-width: 100% !important;
  width: 100% !important;
  margin-inline-end: 0 !important;
  margin-inline-start: 0 !important;
  margin: 0 !important;
}

.divin-footer-container {
  max-width: var(--container-max);
  margin: 0 auto;
}

.divin-footer-grid {
  display: grid !important;
  grid-template-columns: 2fr 1fr 1fr 1.5fr !important;
  gap: 48px !important;
  padding-bottom: 48px !important;
  border-bottom: 1px solid rgba(255,255,255,0.12) !important;
}

.divin-footer-desc {
  font-size: 0.9rem;
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.8) !important;
  line-height: 1.6;
}

.divin-footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dv-white) !important;
  margin-bottom: 20px;
}

.divin-footer-col p {
  color: rgba(255, 255, 255, 0.8) !important;
  font-size: 0.875rem;
  line-height: 1.6;
}

.divin-footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.divin-footer-col ul li {
  margin-bottom: 10px;
}

.divin-footer-col ul li a {
  color: rgba(255,255,255,0.8) !important;
  font-size: 0.875rem;
  transition: color var(--transition, 0.3s ease);
}

.divin-footer-col ul li a:hover {
  color: var(--dv-gold-light) !important;
}

.divin-footer a {
  color: var(--dv-gold-light, #E2C99A) !important;
  text-decoration: none;
  transition: color 0.3s ease;
}

.divin-footer a:hover,
.divin-footer a:focus {
  color: var(--dv-white) !important;
  text-decoration: underline;
}

.divin-footer-bottom {
  margin-top: 32px;
  padding-top: 24px;
  text-align: center;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.75) !important;
}

.divin-footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.75) !important;
}

.divin-footer-bottom a {
  color: var(--dv-gold-light, #E2C99A) !important;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px dashed var(--dv-gold-light, #E2C99A);
  padding-bottom: 2px;
  transition: all 0.3s ease;
}

.divin-footer-bottom a:hover,
.divin-footer-bottom a:focus {
  color: var(--dv-white) !important;
  border-bottom-color: var(--dv-white);
  text-decoration: none;
}

/* =============================================
   WHATSAPP FLOATING BUTTON
   ============================================= */
.divin-whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9998;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(37,211,102,0.45);
  text-decoration: none;
  transition: all var(--transition);
  animation: divin-pulse 3s infinite;
}

.divin-whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 32px rgba(37,211,102,0.6);
}

@keyframes divin-pulse {
  0%, 100% { box-shadow: 0 6px 24px rgba(37,211,102,0.45), 0 0 0 0 rgba(37,211,102,0); }
  50%       { box-shadow: 0 6px 24px rgba(37,211,102,0.45), 0 0 0 12px rgba(37,211,102,0); }
}

/* =============================================
   WOOCOMMERCE SHOP PAGE GRID
   ============================================= */
.woocommerce-page #primary,
.woocommerce #primary {
  background: var(--dv-off-white);
  padding: 40px 0;
}

.woocommerce ul.products,
.woocommerce-page ul.products {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 28px !important;
  margin: 40px 0 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  background: var(--dv-white) !important;
  border-radius: var(--radius-md) !important;
  border: 1px solid var(--dv-gray-100) !important;
  overflow: hidden !important;
  padding: 0 !important;
  margin: 0 !important;
  transition: all var(--transition) !important;
  box-shadow: var(--shadow-sm) !important;
  display: flex !important;
  flex-direction: column !important;
  width: auto !important;
  float: none !important;
}

.woocommerce ul.products li.product:hover,
.woocommerce-page ul.products li.product:hover {
  transform: translateY(-6px) !important;
  box-shadow: var(--shadow-md) !important;
  border-color: var(--dv-sand) !important;
}

.woocommerce ul.products li.product img {
  width: 100% !important;
  height: 240px !important;
  object-fit: cover !important;
  border-radius: 0 !important;
  display: block !important;
}

.woocommerce ul.products li.product h2.woocommerce-loop-product__title {
  font-family: var(--font-heading) !important;
  font-size: 1.15rem !important;
  font-weight: 600 !important;
  color: var(--dv-navy-dark) !important;
  padding: 16px 20px 4px !important;
  line-height: 1.3 !important;
}

.dv-product-cat {
  padding: 0 20px !important;
  font-size: 0.7rem !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  color: var(--dv-gold) !important;
  font-weight: 700 !important;
  display: block;
  margin-top: 12px;
}

.woocommerce ul.products li.product .price {
  display: block !important;
  padding: 8px 20px !important;
  font-family: var(--font-heading) !important;
  font-size: 1.4rem !important;
  font-weight: 700 !important;
  color: var(--dv-navy) !important;
}

.woocommerce ul.products li.product .price ins {
  text-decoration: none !important;
}

.woocommerce ul.products li.product .button {
  margin: 8px 20px 20px !important;
  display: block !important;
  width: calc(100% - 40px) !important;
  text-align: center !important;
}

/* =============================================
   SHOP FILTER TABS
   ============================================= */
/* =============================================
   SHOP CONTROL BAR (Search & Filters)
   ============================================= */
.dv-shop-control-bar {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 20px 0 10px !important;
  position: relative !important;
  top: auto !important;
  z-index: 10 !important;
}

.dv-shop-control-bar__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
}

/* Filters Container */
.dv-shop-filters {
  width: 100%;
}

.dv-shop-filters__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.dv-filter-tab {
  padding: 10px 20px;
  border-radius: var(--radius-full);
  background: var(--dv-white);
  border: 1px solid var(--dv-gray-100);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--dv-gray-600);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  display: inline-block;
  line-height: 1.2;
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
}

.dv-filter-tab:hover {
  border-color: var(--dv-navy-light);
  color: var(--dv-navy);
  background: var(--dv-sand-light);
}

.dv-filter-tab.active {
  background: var(--dv-navy) !important;
  border-color: var(--dv-navy) !important;
  color: var(--dv-white) !important;
  box-shadow: var(--shadow-sm);
}

/* Search Box Container (below categories) */
.dv-shop-search {
  width: 100%;
  max-width: 440px;
  position: relative;
  margin: 0 auto;
}

.dv-shop-search form {
  position: relative;
  display: flex;
  align-items: center;
  margin: 0 !important;
}

.dv-search-input {
  width: 100%;
  padding: 12px 50px 12px 20px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--dv-gray-200);
  background: var(--dv-white);
  color: var(--dv-gray-800);
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}

.dv-search-input:focus {
  outline: none;
  border-color: var(--dv-gold);
  box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.15), var(--shadow-sm);
}

.dv-search-submit {
  position: absolute;
  right: 6px;
  background: var(--dv-navy);
  border: none;
  color: var(--dv-white);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
  padding: 0 !important;
}

.dv-search-submit:hover {
  background: var(--dv-gold);
  transform: scale(1.05);
}

.dv-search-submit svg {
  stroke: var(--dv-white);
}

/* Mobile Responsive */
@media (max-width: 767px) {
  .dv-shop-control-bar {
    padding: 12px 0 8px !important;
  }

  .dv-shop-control-bar__inner {
    padding: 0 15px;
    gap: 12px;
  }

  .dv-shop-filters {
    overflow: visible;
  }

  .dv-shop-filters__inner {
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    overflow-x: auto !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
    margin: 0 -15px;
    padding: 2px 15px 8px 15px;
  }

  .dv-shop-filters__inner::-webkit-scrollbar {
    display: none !important;
  }

  .dv-filter-tab {
    flex-shrink: 0;
    padding: 8px 16px;
    font-size: 0.75rem;
  }

  .dv-shop-search {
    max-width: 100%;
  }

  .dv-search-input {
    padding: 10px 45px 10px 16px;
    font-size: 0.85rem;
  }

  .dv-search-submit {
    width: 32px;
    height: 32px;
    right: 5px;
  }
}

/* =============================================
   SHOP HERO BANNER
   ============================================= */
.dv-shop-hero {
  background: linear-gradient(180deg, rgba(20, 31, 74, 0.45) 0%, rgba(20, 31, 74, 0.7) 100%), url('/wp-content/themes/hello-elementor-child/assets/images/Bannerloja_virtual.webp') no-repeat center/cover;
  padding: 120px 24px !important;
  text-align: center;
  position: relative;
}

.dv-shop-hero h1 {
  color: var(--dv-white) !important;
  font-family: var(--font-heading) !important;
  font-size: 3.5rem !important;
  font-weight: 400 !important;
  letter-spacing: 0.05em !important;
  margin: 0 !important;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.5) !important;
}

.dv-shop-hero p {
  color: rgba(255,255,255,0.85);
  font-size: 1.1rem;
  margin: 12px 0 0 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

@media (max-width: 768px) {
  .dv-shop-hero {
    padding: 80px 24px !important;
  }
  .dv-shop-hero h1 {
    font-size: 2.5rem !important;
  }
}

/* =============================================
   RESPONSIVE DESIGN
   ============================================= */
@media (max-width: 1024px) {
  .divin-hero-container {
    grid-template-columns: 1fr !important;
    text-align: center;
  }

  .divin-hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .divin-hero-cta {
    justify-content: center;
  }

  .divin-hero-stats {
    justify-content: center;
  }

  .divin-hero-visual {
    margin-top: 40px;
  }

  .divin-categories-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .divin-featured-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .divin-science-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .divin-testimonials-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .woocommerce ul.products,
  .woocommerce-page ul.products {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 768px) {
  .divin-menu {
    display: none;
  }

  .divin-menu.is-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--dv-white);
    border-bottom: 1px solid var(--dv-gray-100);
    padding: 16px 24px;
    box-shadow: var(--shadow-lg);
    gap: 4px;
  }

  .divin-menu-toggle {
    display: flex;
  }

  .divin-categories-grid {
    grid-template-columns: 1fr !important;
  }

  .divin-featured-grid {
    grid-template-columns: 1fr !important;
  }

  .divin-science-grid {
    grid-template-columns: 1fr !important;
  }

  .divin-testimonials-grid {
    grid-template-columns: 1fr !important;
  }

  .divin-footer-grid {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }

  .woocommerce ul.products,
  .woocommerce-page ul.products {
    grid-template-columns: 1fr !important;
  }
}

/* =============================================
   PAGE TITLE FIXES
   ============================================= */
.home .page-header,
.home .entry-title {
  display: none !important;
}

/* =============================================
   WOOCOMMERCE LAYOUT ALIGNMENT & FIXES
   ============================================= */
.woocommerce-page .site-main,
.woocommerce .site-main {
  max-width: var(--container-max);
  margin: 0 auto !important;
  padding: 0 24px !important;
}

.woocommerce-breadcrumb {
  max-width: var(--container-max);
  margin: 20px auto 0 !important;
  padding: 0 24px !important;
}

/* Fix for pseudo elements becoming grid items in WooCommerce ul.products */
.woocommerce ul.products::before,
.woocommerce ul.products::after,
.woocommerce-page ul.products::before,
.woocommerce-page ul.products::after {
  display: none !important;
  content: none !important;
}

/* =============================================
   REMOVE CARD UNDERLINES (Divinium Peptídeos)
   ============================================= */
.divin-cat-card,
.divin-product-card,
.divin-cat-card *,
.divin-product-card * {
  text-decoration: none !important;
}

/* =============================================
   VIDEO HERO BACKGROUND (Divinium Peptídeos)
   ============================================= */
/* =============================================
   VIDEO HERO BACKGROUND (Divinium Peptídeos)
   ============================================= */
.divin-hero {
  position: relative;
  min-height: 90vh !important;
  display: flex !important;
  align-items: center !important;
  padding: 80px 0 !important;
  overflow: hidden !important;
  background: #000000 !important;
}

.divin-hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.85;
}

.divin-hero-overlay {
  display: block !important;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.45) !important;
  z-index: 1;
}

.divin-hero-container {
  position: relative;
  z-index: 2;
}

.divin-hero .divin-hero-title {
  color: var(--dv-white) !important;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.divin-hero .divin-hero-accent {
  background: linear-gradient(135deg, #60A5FA 0%, #A78BFA 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-style: normal !important;
  text-shadow: none;
}

.divin-hero .divin-hero-subtitle {
  color: rgba(255,255,255,0.9) !important;
  text-shadow: 0 1px 5px rgba(0,0,0,0.5);
}

.divin-hero .divin-hero-badge span {
  background: rgba(255, 255, 255, 0.1) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  color: #60a5fa !important;
  backdrop-filter: blur(8px);
}

.divin-hero .divin-hero-stats {
  border-top: 1px solid rgba(255,255,255,0.2) !important;
}

.divin-hero .divin-stat strong {
  color: var(--dv-white) !important;
  text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

.divin-hero .divin-stat span {
  color: rgba(255,255,255,0.8) !important;
}

.divin-hero .divin-stat-divider {
  background: rgba(255,255,255,0.2) !important;
}

.divin-hero-glow {
  position: absolute;
  width: clamp(200px, 40vw, 350px);
  height: clamp(200px, 40vw, 350px);
  background: radial-gradient(circle, rgba(37, 99, 235, 0.25) 0%, transparent 70%);
  filter: blur(50px);
  z-index: -1;
}

.divin-hero-img-float {
  max-width: 100% !important;
  height: 275px !important;
  width: auto !important;
  max-height: 275px !important;
  object-fit: contain !important;
  filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.45));
  animation: float-anim-new 6s ease-in-out infinite;
}

@keyframes float-anim-new {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(2deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

/* =============================================
   CYCLES PAGE STYLES (Divinium Peptídeos)
   ============================================= */
.divin-cycles-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-bottom: 60px;
}

.divin-cycle-card {
  background: var(--dv-white);
  border: 1px solid var(--dv-gray-100);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--dv-navy);
  transition: all var(--transition);
}

.divin-cycle-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--dv-sand);
}

.divin-cycle-header h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--dv-navy-dark);
  margin-bottom: 12px;
}

.divin-cycle-header p {
  color: var(--dv-gray-600);
  font-size: 1.1rem;
  margin-bottom: 32px;
  line-height: 1.6;
}

.divin-cycle-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.divin-cycle-peptides,
.divin-cycle-info {
  background: var(--dv-off-white);
  padding: 32px;
  border-radius: var(--radius-md);
  border: 1px solid var(--dv-gray-100);
}

.divin-cycle-peptides h3,
.divin-cycle-info h3 {
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--dv-navy);
  margin-bottom: 24px;
}

.divin-cycle-peptides ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.divin-cycle-peptides ul li strong {
  display: block;
  font-size: 1.1rem;
  color: var(--dv-navy-dark);
  margin-bottom: 4px;
}

.divin-cycle-peptides ul li span {
  font-size: 0.95rem;
  color: var(--dv-gray-600);
  line-height: 1.5;
  display: block;
}

.divin-info-row {
  margin-bottom: 24px;
}

.divin-info-row:last-child {
  margin-bottom: 0;
}

.divin-info-row strong {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--dv-gold);
  margin-bottom: 6px;
}

.divin-info-row span {
  font-size: 1.05rem;
  color: var(--dv-gray-800);
  line-height: 1.5;
  display: block;
}

.divin-safety-warning {
  background: rgba(201, 169, 110, 0.08);
  border: 1px solid var(--dv-gold);
  border-radius: var(--radius-md);
  padding: 32px;
  margin-top: 40px;
}

.divin-safety-warning h3 {
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--dv-navy-dark);
  margin-bottom: 12px;
}

.divin-safety-warning p {
  font-size: 0.95rem;
  color: var(--dv-gray-600);
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 991px) {
  .divin-cycle-body {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .divin-cycle-card {
    padding: 32px;
  }
}

/* =============================================
   FIX FOR WORDPRESS P TAG WRAP & LAYER ORDERING
   ============================================= */
.divin-hero > p {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  z-index: 1 !important;
  overflow: hidden !important;
}

.divin-hero > p > video.divin-hero-video {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  opacity: 0.85 !important;
  z-index: 1 !important;
}

.divin-hero-video {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  opacity: 0.85 !important;
  z-index: 1 !important;
}

.divin-hero-overlay {
  display: block !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background: rgba(0, 0, 0, 0.45) !important;
  z-index: 2 !important;
}

.divin-hero-container {
  position: relative !important;
  z-index: 3 !important;
}

/* =============================================
   FULL WIDTH LAYOUT OVERRIDES (Divinium Peptídeos)
   ============================================= */
.home .site-main,
.page-id-21 .site-main,
.page-id-24 .site-main,
.page-template-default .site-main {
  max-width: 100% !important;
  width: 100% !important;
  margin-inline-end: 0 !important;
  margin-inline-start: 0 !important;
  padding: 0 !important;
}

.home .site-content,
.page-id-21 .site-content,
.page-id-24 .site-content,
.page-template-default .site-content {
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

.home article,
.page-id-21 article,
.page-id-24 article {
  max-width: 100% !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

.home .entry-content,
.page-id-21 .entry-content,
.page-id-24 .entry-content {
  max-width: 100% !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* =============================================
   WOOCOMMERCE CART & CHECKOUT BLOCKS PREMIUM STYLING
   ============================================= */

/* Page layout container fixes */
.woocommerce-cart .site-main,
.woocommerce-checkout .site-main,
.woocommerce-account .site-main,
.woocommerce-cart .site-content,
.woocommerce-checkout .site-content,
.woocommerce-account .site-content {
  max-width: var(--container-max) !important;
  width: 100% !important;
  margin: 40px auto !important;
  padding: 0 24px !important;
}

/* Titles */
.woocommerce-cart h1.entry-title,
.woocommerce-checkout h1.entry-title,
.woocommerce-account h1.entry-title {
  font-family: var(--font-heading);
  color: var(--dv-navy-dark);
  font-size: clamp(2rem, 4vw, 3rem);
  text-align: center;
  margin-bottom: 40px;
}

/* Cart Block Wrapper */
.wp-block-woocommerce-cart {
  display: block !important;
  margin-top: 20px !important;
}

/* Two column layout container */
.wp-block-woocommerce-cart .wc-block-cart__container {
  display: grid !important;
  grid-template-columns: 1fr 380px !important;
  gap: 40px !important;
  align-items: start !important;
}

@media (max-width: 1199px) {
  .wp-block-woocommerce-cart .wc-block-cart__container {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
  }
}

/* Left column - items container */
.wc-block-cart__items {
  border: none !important;
  padding: 0 !important;
}

/* Individual cart item card styling */
.wc-block-cart-items .wc-block-components-cart-item {
  background: var(--dv-white) !important;
  border: 1px solid var(--dv-gray-100) !important;
  border-radius: var(--radius-md) !important;
  padding: 24px !important;
  margin-bottom: 20px !important;
  box-shadow: var(--shadow-sm) !important;
  transition: transform var(--transition), box-shadow var(--transition) !important;
}

.wc-block-cart-items .wc-block-components-cart-item:hover {
  transform: translateY(-2px) !important;
  box-shadow: var(--shadow-md) !important;
  border-color: var(--dv-sand) !important;
}

/* Product link styling in cart */
.wc-block-components-cart-item__name {
  font-family: var(--font-heading) !important;
  font-size: 1.25rem !important;
  font-weight: 700 !important;
  color: var(--dv-navy-dark) !important;
  text-decoration: none !important;
}

.wc-block-components-cart-item__name:hover {
  color: var(--dv-gold) !important;
}

/* Remove underlines from all text links in the cart block */
.wp-block-woocommerce-cart a {
  text-decoration: none !important;
}

/* Quantity selector custom styling */
.wc-block-components-quantity-selector {
  border: 1px solid var(--dv-gray-200) !important;
  border-radius: var(--radius-full) !important;
  background: var(--dv-white) !important;
  overflow: hidden !important;
  height: 38px !important;
  max-width: 110px !important;
}

.wc-block-components-quantity-selector button {
  background: var(--dv-gray-50) !important;
  color: var(--dv-gray-800) !important;
  border: none !important;
  transition: background var(--transition) !important;
}

.wc-block-components-quantity-selector button:hover {
  background: var(--dv-sand-light) !important;
  color: var(--dv-navy) !important;
}

/* Product metadata (sku, variation details) */
.wc-block-components-cart-item__metadata {
  font-size: 0.85rem !important;
  color: var(--dv-gray-600) !important;
}

/* Right column - Totals card styling */
.wc-block-cart__totals {
  background: var(--dv-off-white) !important;
  border: 1px solid var(--dv-sand-light) !important;
  border-radius: var(--radius-md) !important;
  padding: 30px !important;
  box-shadow: var(--shadow-sm) !important;
  position: sticky !important;
  top: 100px !important;
}

/* Totals heading */
.wc-block-cart__totals-title {
  font-family: var(--font-heading) !important;
  color: var(--dv-navy-dark) !important;
  font-size: 1.5rem !important;
  font-weight: 600 !important;
  margin-bottom: 20px !important;
  border-bottom: 2px solid var(--dv-sand) !important;
  padding-bottom: 10px !important;
  text-transform: capitalize !important;
}

/* Coupon section */
.wc-block-components-totals-coupon {
  border-bottom: 1px solid var(--dv-gray-200) !important;
  padding-bottom: 15px !important;
  margin-bottom: 15px !important;
}

.wc-block-components-totals-coupon__button {
  color: var(--dv-navy) !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  font-size: 0.8rem !important;
  letter-spacing: 0.05em !important;
}

/* Price labels & amounts */
.wc-block-components-totals-item {
  margin-bottom: 12px !important;
  font-family: var(--font-body) !important;
}

.wc-block-components-totals-item__label {
  color: var(--dv-gray-600) !important;
}

.wc-block-components-totals-item__value {
  color: var(--dv-navy-dark) !important;
  font-weight: 700 !important;
}

/* Total footer item */
.wc-block-components-totals-footer-item {
  border-top: 1px solid var(--dv-gray-200) !important;
  padding-top: 15px !important;
  margin-top: 15px !important;
  margin-bottom: 25px !important;
}

.wc-block-components-totals-footer-item .wc-block-components-totals-item__label {
  font-family: var(--font-heading) !important;
  font-size: 1.3rem !important;
  color: var(--dv-navy-dark) !important;
  font-weight: 600 !important;
}

.wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
  font-size: 1.5rem !important;
  color: var(--dv-navy) !important;
  font-weight: 700 !important;
}

/* Primary checkout button in cart */
.wc-block-cart__proceed-to-checkout .wc-block-components-checkout-button__button {
  background: var(--dv-navy) !important;
  color: var(--dv-white) !important;
  border: 2px solid var(--dv-navy) !important;
  border-radius: var(--radius-full) !important;
  padding: 16px 32px !important;
  font-family: var(--font-body) !important;
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  width: 100% !important;
  transition: all var(--transition) !important;
  box-shadow: var(--shadow-sm) !important;
  text-align: center !important;
  cursor: pointer !important;
  display: block !important;
}

.wc-block-cart__proceed-to-checkout .wc-block-components-checkout-button__button:hover {
  background: var(--dv-gold) !important;
  border-color: var(--dv-gold) !important;
  color: var(--dv-white) !important;
  transform: translateY(-2px) !important;
  box-shadow: var(--shadow-gold) !important;
}

/* =============================================
   CHECKOUT BLOCK CUSTOM STYLES
   ============================================= */
.wp-block-woocommerce-checkout {
  margin-top: 20px !important;
}

.wp-block-woocommerce-checkout .wc-block-checkout__container {
  display: grid !important;
  grid-template-columns: 1fr 380px !important;
  gap: 40px !important;
  align-items: start !important;
}

@media (max-width: 1199px) {
  .wp-block-woocommerce-checkout .wc-block-checkout__container {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
  }
}

.wc-block-checkout__main {
  background: var(--dv-white) !important;
  border: 1px solid var(--dv-gray-100) !important;
  border-radius: var(--radius-md) !important;
  padding: 35px !important;
  box-shadow: var(--shadow-sm) !important;
}

.wc-block-checkout__sidebar {
  background: var(--dv-off-white) !important;
  border: 1px solid var(--dv-sand-light) !important;
  border-radius: var(--radius-md) !important;
  padding: 30px !important;
  box-shadow: var(--shadow-sm) !important;
  position: sticky !important;
  top: 100px !important;
}

/* Step headings in checkout block */
.wc-block-components-checkout-step__title {
  font-family: var(--font-heading) !important;
  color: var(--dv-navy-dark) !important;
  font-size: 1.4rem !important;
  font-weight: 600 !important;
}

/* Checkout inputs styling */
.wc-block-components-text-input input,
.wc-block-components-combobox input {
  border: 1px solid var(--dv-gray-200) !important;
  border-radius: var(--radius-sm) !important;
  font-family: var(--font-body) !important;
}

.wc-block-components-text-input input:focus,
.wc-block-components-combobox input:focus {
  border-color: var(--dv-navy) !important;
  box-shadow: 0 0 0 2px rgba(30,51,112,0.1) !important;
}

/* Place order button */
.wc-block-checkout__actions .wc-block-components-checkout-button__button {
  background: var(--dv-navy) !important;
  color: var(--dv-white) !important;
  border: 2px solid var(--dv-navy) !important;
  border-radius: var(--radius-full) !important;
  padding: 16px 32px !important;
  font-family: var(--font-body) !important;
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  width: 100% !important;
  transition: all var(--transition) !important;
  box-shadow: var(--shadow-sm) !important;
}

.wc-block-checkout__actions .wc-block-components-checkout-button__button:hover {
  background: var(--dv-gold) !important;
  border-color: var(--dv-gold) !important;
  color: var(--dv-white) !important;
  transform: translateY(-2px) !important;
  box-shadow: var(--shadow-gold) !important;
}

/* =============================================
   MY ACCOUNT REFERRALS DASHBOARD
   ============================================= */
.divin-referrals-dashboard {
  background: var(--dv-white) !important;
  border: 1px solid var(--dv-gray-100) !important;
  border-radius: var(--radius-md) !important;
  padding: 30px !important;
  box-shadow: var(--shadow-sm) !important;
  margin-top: 10px !important;
}

.divin-ref-title {
  font-family: var(--font-heading) !important;
  color: var(--dv-navy-dark) !important;
  font-size: 1.8rem !important;
  font-weight: 600 !important;
  margin-bottom: 8px !important;
}

.divin-ref-intro {
  color: var(--dv-gray-600) !important;
  font-size: 0.95rem !important;
  margin-bottom: 25px !important;
}

.divin-ref-card {
  background: var(--dv-off-white) !important;
  border: 1px solid var(--dv-sand-light) !important;
  border-radius: var(--radius-md) !important;
  padding: 20px !important;
  margin-bottom: 30px !important;
}

.divin-ref-badge {
  font-family: var(--font-body) !important;
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  color: var(--dv-navy) !important;
  display: block !important;
  margin-bottom: 12px !important;
}

.divin-ref-link-box {
  display: flex !important;
  gap: 10px !important;
}

#divin-ref-link-input {
  flex: 1 !important;
  background: var(--dv-white) !important;
  border: 1px solid var(--dv-gray-200) !important;
  border-radius: var(--radius-sm) !important;
  padding: 10px 15px !important;
  font-size: 0.9rem !important;
  color: var(--dv-gray-800) !important;
  outline: none !important;
}

.divin-ref-copy-btn {
  background: var(--dv-navy) !important;
  color: var(--dv-white) !important;
  border: 1px solid var(--dv-navy) !important;
  border-radius: var(--radius-sm) !important;
  padding: 0 20px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  font-size: 0.8rem !important;
  cursor: pointer !important;
  transition: all var(--transition) !important;
}

.divin-ref-copy-btn:hover {
  background: var(--dv-gold) !important;
  border-color: var(--dv-gold) !important;
}

/* =============================================
   SEGURO ENTREGA GARANTIDA
   ============================================= */
.divin-insurance-card {
  background: #fbfbfb !important;
  border: 1px dashed var(--dv-gold) !important;
  border-radius: var(--radius-md) !important;
  padding: 15px 18px !important;
  margin: 20px 0 !important;
  font-family: var(--font-body) !important;
  box-shadow: var(--shadow-sm) !important;
  transition: all var(--transition) !important;
}

.divin-insurance-header {
  margin-bottom: 6px !important;
}

.divin-insurance-checkbox-label {
  display: flex !important;
  align-items: center !important;
  cursor: pointer !important;
  user-select: none !important;
}

.divin-insurance-checkbox-label input {
  position: absolute !important;
  opacity: 0 !important;
  cursor: pointer !important;
  height: 0 !important;
  width: 0 !important;
}

.divin-insurance-checkbox-custom {
  height: 18px !important;
  width: 18px !important;
  background-color: var(--dv-white) !important;
  border: 2px solid var(--dv-navy) !important;
  border-radius: var(--radius-sm) !important;
  margin-right: 12px !important;
  display: inline-block !important;
  position: relative !important;
  flex-shrink: 0 !important;
  transition: all var(--transition) !important;
}

.divin-insurance-checkbox-label:hover input ~ .divin-insurance-checkbox-custom {
  border-color: var(--dv-gold) !important;
}

.divin-insurance-checkbox-label input:checked ~ .divin-insurance-checkbox-custom {
  background-color: var(--dv-navy) !important;
  border-color: var(--dv-navy) !important;
}

.divin-insurance-checkbox-custom:after {
  content: "" !important;
  position: absolute !important;
  display: none !important;
  left: 5px !important;
  top: 1px !important;
  width: 4px !important;
  height: 9px !important;
  border: solid var(--dv-white) !important;
  border-width: 0 2px 2px 0 !important;
  transform: rotate(45deg) !important;
}

.divin-insurance-checkbox-label input:checked ~ .divin-insurance-checkbox-custom:after {
  display: block !important;
}

.divin-insurance-title {
  font-weight: 700 !important;
  color: var(--dv-navy-dark) !important;
  font-size: 0.9rem !important;
}

.divin-insurance-body {
  font-size: 0.82rem !important;
  color: var(--dv-gray-600) !important;
  line-height: 1.45 !important;
  padding-left: 30px !important;
}

.divin-insurance-link {
  color: var(--dv-gold) !important;
  text-decoration: underline !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  margin-left: 4px !important;
  transition: color var(--transition) !important;
}

.divin-insurance-link:hover {
  color: var(--dv-navy) !important;
}

/* Modal Seguro */
.divin-modal {
  display: none; 
  position: fixed; 
  z-index: 999999; 
  left: 0;
  top: 0;
  width: 100%; 
  height: 100%; 
  overflow: auto; 
  background-color: rgba(17, 30, 54, 0.5) !important;
  backdrop-filter: blur(4px) !important;
  transition: all 0.3s ease;
}

.divin-modal-content {
  background-color: var(--dv-white) !important;
  margin: 10% auto !important; 
  padding: 30px !important;
  border: 1px solid var(--dv-sand-light) !important;
  width: 90% !important;
  max-width: 600px !important;
  border-radius: var(--radius-md) !important;
  box-shadow: var(--shadow-lg) !important;
  position: relative !important;
  animation: divinModalAnim 0.3s ease-out !important;
}

@keyframes divinModalAnim {
  from {transform: translateY(-30px); opacity: 0;}
  to {transform: translateY(0); opacity: 1;}
}

.divin-modal-close {
  color: var(--dv-gray-400) !important;
  position: absolute !important;
  top: 15px !important;
  right: 20px !important;
  font-size: 28px !important;
  font-weight: bold !important;
  cursor: pointer !important;
  transition: color var(--transition) !important;
}

.divin-modal-close:hover {
  color: var(--dv-gold) !important;
}

.divin-modal-title {
  font-family: var(--font-heading) !important;
  color: var(--dv-navy-dark) !important;
  font-size: 1.5rem !important;
  font-weight: 600 !important;
  margin-bottom: 4px !important;
  line-height: 1.2 !important;
}

.divin-modal-subtitle {
  color: var(--dv-gold) !important;
  font-weight: 700 !important;
  font-size: 0.92rem !important;
  margin-bottom: 20px !important;
  border-bottom: 1px solid var(--dv-gray-100) !important;
  padding-bottom: 15px !important;
}

.divin-modal-body h3 {
  font-family: var(--font-heading) !important;
  color: var(--dv-navy) !important;
  font-size: 1.05rem !important;
  font-weight: 700 !important;
  margin-top: 18px !important;
  margin-bottom: 8px !important;
}

.divin-modal-body ul {
  margin-left: 20px !important;
  margin-bottom: 12px !important;
}

.divin-modal-body li {
  margin-bottom: 6px !important;
  font-size: 0.88rem !important;
  color: var(--dv-gray-700) !important;
}

/* =============================================
   WOOCOMMERCE PRODUCT GALLERY SIZE ADJUSTMENT
   ============================================= */
.woocommerce div.product div.images .woocommerce-product-gallery__wrapper {
  max-width: 320px !important;
  margin: 0 auto !important;
}

.woocommerce div.product div.images .flex-control-thumbs {
  max-width: 320px !important;
  margin: 15px auto 0 !important;
}

@media (max-width: 768px) {
  .woocommerce div.product div.images .woocommerce-product-gallery__wrapper,
  .woocommerce div.product div.images .flex-control-thumbs {
    max-width: 260px !important;
  }
}

/* =============================================
   AVISO DE DESCONTO ATACADO
   ============================================= */
.divin-wholesale-notice {
  background: var(--dv-off-white) !important;
  border: 1px solid var(--dv-gray-100) !important;
  border-radius: var(--radius-md) !important;
  padding: 16px 20px !important;
  margin-bottom: 24px !important;
  font-family: var(--font-body) !important;
  box-shadow: var(--shadow-sm) !important;
  transition: all var(--transition) !important;
}

.divin-wholesale-notice.eligible {
  background: #fbf9f4 !important; /* Branco suave levemente dourado */
  border: 1px solid var(--dv-gold-light) !important;
  box-shadow: var(--shadow-gold) !important;
}

.divin-wholesale-notice-inner {
  display: flex !important;
  align-items: flex-start !important;
  gap: 15px !important;
  margin-bottom: 12px !important;
}

.divin-wholesale-notice-icon {
  font-size: 24px !important;
  line-height: 1 !important;
  flex-shrink: 0 !important;
}

.divin-wholesale-notice-text {
  flex: 1 !important;
}

.divin-wholesale-notice-title {
  font-family: var(--font-heading) !important;
  font-size: 1.2rem !important;
  font-weight: 600 !important;
  color: var(--dv-navy-dark) !important;
  margin: 0 0 4px 0 !important;
}

.divin-wholesale-notice-desc {
  font-size: 0.875rem !important;
  color: var(--dv-gray-600) !important;
  margin: 0 !important;
  line-height: 1.45 !important;
}

.divin-wholesale-notice.eligible .divin-wholesale-notice-desc {
  color: var(--dv-navy-dark) !important;
}

.divin-wholesale-notice-progress {
  height: 6px !important;
  background: var(--dv-gray-100) !important;
  border-radius: var(--radius-full) !important;
  overflow: hidden !important;
}

.divin-wholesale-notice-bar {
  height: 100% !important;
  background: var(--dv-gold) !important;
  border-radius: var(--radius-full) !important;
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.divin-wholesale-notice.eligible .divin-wholesale-notice-bar {
  background: var(--dv-navy) !important;
}

/* =============================================
   AVISO DA PROMOÇÃO DE INAUGURAÇÃO (BRINDE NAD+ 500mg)
   ============================================= */
.divin-inauguration-notice {
  background: linear-gradient(135deg, #0c192e 0%, #172a4a 100%) !important;
  border: 1px solid #00e5ff !important;
  border-radius: var(--radius-md) !important;
  padding: 18px 22px !important;
  margin-bottom: 24px !important;
  font-family: var(--font-body) !important;
  box-shadow: 0 4px 20px rgba(0, 229, 255, 0.25) !important;
  transition: all var(--transition) !important;
  color: #ffffff !important;
}

.divin-inauguration-notice.eligible {
  background: linear-gradient(135deg, #071326 0%, #0d2347 100%) !important;
  border: 2px solid #ffd700 !important;
  box-shadow: 0 4px 25px rgba(255, 215, 0, 0.35) !important;
}

.divin-inauguration-inner {
  display: flex !important;
  align-items: flex-start !important;
  gap: 15px !important;
  margin-bottom: 12px !important;
}

.divin-inauguration-icon {
  font-size: 28px !important;
  line-height: 1 !important;
  flex-shrink: 0 !important;
}

.divin-inauguration-text {
  flex: 1 !important;
}

.divin-inauguration-title {
  font-family: var(--font-heading) !important;
  font-size: 1.25rem !important;
  font-weight: 700 !important;
  color: #00e5ff !important;
  margin: 0 0 6px 0 !important;
  letter-spacing: 0.5px !important;
}

.divin-inauguration-notice.eligible .divin-inauguration-title {
  color: #ffd700 !important;
}

.divin-inauguration-desc {
  font-size: 0.9rem !important;
  color: #e0e6ed !important;
  margin: 0 !important;
  line-height: 1.5 !important;
}

.divin-promo-badge-tag {
  display: inline-block !important;
  background: rgba(0, 229, 255, 0.15) !important;
  color: #00e5ff !important;
  border: 1px solid #00e5ff !important;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  padding: 2px 8px !important;
  border-radius: 12px !important;
  margin-left: 6px !important;
}

.divin-inauguration-notice.eligible .divin-promo-badge-tag {
  background: rgba(255, 215, 0, 0.18) !important;
  color: #ffd700 !important;
  border-color: #ffd700 !important;
}

.divin-inauguration-progress {
  height: 8px !important;
  background: rgba(255, 255, 255, 0.15) !important;
  border-radius: var(--radius-full) !important;
  overflow: hidden !important;
}

.divin-inauguration-bar {
  height: 100% !important;
  background: linear-gradient(90deg, #00e5ff 0%, #0088ff 100%) !important;
  border-radius: var(--radius-full) !important;
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.divin-inauguration-notice.eligible .divin-inauguration-bar {
  background: linear-gradient(90deg, #ffd700 0%, #ffaa00 100%) !important;
}

/* =============================================
   WOOCOMMERCE CART & SHIPPING CALCULATOR REVISION
   Fix: CEP input box on the left, OK button on the right with proper spacing (gap),
   and complete responsive polish for the Shopping Cart ("Carrinho de Compras").
   ============================================= */

/* 1. SHIPPING CALCULATOR CONTAINER & CEP INPUT / OK BUTTON LAYOUT */

/* Wrapper form & field containers for shipping calculator (supports Classic Cart, Blocks Cart & Custom CEP plugins) */
.woocommerce-shipping-calculator,
.shipping-calculator-form,
.shipping-calculator-address-form,
.wc-block-components-shipping-calculator,
.wc-block-components-shipping-calculator-address-form,
.wc-block-components-totals-shipping,
.wcf-cep-container,
.frete-calculator-form,
.calc-frete-wrapper {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  align-items: flex-end !important;
  justify-content: flex-start !important;
  gap: 12px !important;
  margin-top: 14px !important;
  margin-bottom: 16px !important;
  width: 100% !important;
}

/* Individual paragraphs/rows inside the shipping form */
.shipping-calculator-form p,
.woocommerce-shipping-calculator p,
.wc-block-components-shipping-calculator-address-form form {
  margin: 0 !important;
  padding: 0 !important;
}

/* Field row wrapper for CEP input field */
#calc_shipping_postcode_field,
.shipping-calculator-form p:has(#calc_shipping_postcode),
.shipping-calculator-form p:first-of-type,
.wc-block-components-shipping-calculator-address-form .wc-block-components-text-input {
  order: 1 !important; /* Force CEP Input box to the LEFT */
  flex: 1 1 170px !important;
  min-width: 130px !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  flex-direction: column !important;
}

/* Title / Label "Calcular Frete" */
.shipping-calculator-button,
label[for="calc_shipping_postcode"],
.wc-block-components-shipping-calculator__title,
.wc-block-components-totals-shipping__title,
.calc-frete-label {
  font-family: var(--font-heading) !important;
  font-size: 1.05rem !important;
  font-weight: 600 !important;
  color: var(--dv-navy-dark) !important;
  margin-bottom: 6px !important;
  display: block !important;
  width: 100% !important;
  text-decoration: none !important;
  order: 0 !important;
}

/* CEP Input Field Box */
#calc_shipping_postcode,
input[name="calc_shipping_postcode"],
.wc-block-components-shipping-calculator-address-form input[type="text"],
.shipping-calculator-form input[type="text"],
.wcf-cep-input {
  order: 1 !important; /* CEP box on the LEFT */
  width: 100% !important;
  height: 44px !important;
  padding: 8px 16px !important;
  border: 1px solid var(--dv-gray-200) !important;
  border-radius: var(--radius-sm) !important;
  font-family: var(--font-body) !important;
  font-size: 0.95rem !important;
  font-weight: 600 !important;
  color: var(--dv-navy-dark) !important;
  background-color: var(--dv-white) !important;
  outline: none !important;
  box-shadow: none !important;
  transition: border-color var(--transition), box-shadow var(--transition) !important;
}

#calc_shipping_postcode:focus,
input[name="calc_shipping_postcode"]:focus,
.wc-block-components-shipping-calculator-address-form input[type="text"]:focus {
  border-color: var(--dv-navy) !important;
  box-shadow: 0 0 0 3px rgba(30,51,112,0.12) !important;
}

/* OK Button */
button[name="calc_shipping"],
.shipping-calculator-form button,
.shipping-calculator-form .button,
.wc-block-components-shipping-calculator-address-form__button,
.wc-block-components-shipping-calculator button,
button.shipping-calculator-button,
.shipping-calculator-form button[type="submit"],
.wcf-cep-button,
.calc-frete-btn {
  order: 2 !important; /* Force OK Button to the RIGHT */
  flex: 0 0 auto !important;
  height: 44px !important;
  min-width: 68px !important;
  padding: 0 22px !important;
  margin: 0 !important;
  background: var(--dv-navy) !important;
  color: var(--dv-white) !important;
  border: 1px solid var(--dv-navy) !important;
  border-radius: var(--radius-full) !important;
  font-family: var(--font-body) !important;
  font-weight: 700 !important;
  font-size: 0.85rem !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all var(--transition) !important;
  box-shadow: var(--shadow-sm) !important;
  text-align: center !important;
}

button[name="calc_shipping"]:hover,
.shipping-calculator-form button:hover,
.wc-block-components-shipping-calculator-address-form__button:hover,
.wc-block-components-shipping-calculator button:hover {
  background: var(--dv-gold) !important;
  border-color: var(--dv-gold) !important;
  color: var(--dv-white) !important;
  transform: translateY(-2px) !important;
  box-shadow: var(--shadow-gold) !important;
}

/* Shipping Calculation Results List (PAC, SEDEX, etc.) */
ul#shipping_method,
.wc-block-components-shipping-rates-control,
.shipping-calculator-results,
.woocommerce-shipping-methods {
  margin-top: 16px !important;
  padding-left: 0 !important;
  list-style: none !important;
  width: 100% !important;
}

ul#shipping_method li,
.shipping-calculator-results li,
.woocommerce-shipping-methods li {
  background: var(--dv-white) !important;
  border: 1px solid var(--dv-gray-100) !important;
  border-radius: var(--radius-sm) !important;
  padding: 10px 14px !important;
  margin-bottom: 8px !important;
  font-size: 0.9rem !important;
  color: var(--dv-gray-800) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 10px !important;
  transition: border-color var(--transition) !important;
}

ul#shipping_method li:hover {
  border-color: var(--dv-sand) !important;
}


/* 2. COMPLETE SHOPPING CART ("CARRINHO DE COMPRAS") RESPONSIVENESS */

/* Page container padding & alignment */
.woocommerce-cart .site-main,
.woocommerce-cart .entry-content,
.woocommerce-cart #content {
  max-width: var(--container-max) !important;
  margin: 30px auto !important;
  padding: 0 20px !important;
}

/* Main Grid Layout for Cart Blocks */
.wp-block-woocommerce-cart .wc-block-cart__container {
  display: grid !important;
  grid-template-columns: 1fr 380px !important;
  gap: 36px !important;
  align-items: start !important;
}

/* Classic WooCommerce Cart Layout */
.woocommerce-cart .woocommerce {
  display: block !important;
  width: 100% !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
}

.woocommerce-cart .woocommerce-cart-form {
  width: 100% !important;
  max-width: 1200px !important;
  margin: 0 auto 30px auto !important;
}

/* Cart Item Table (Classic WooCommerce) */
.woocommerce-cart table.shop_table.cart {
  border-collapse: separate !important;
  border-spacing: 0 !important;
  border: 1px solid var(--dv-gray-100) !important;
  border-radius: var(--radius-md) !important;
  overflow: hidden !important;
  background: var(--dv-white) !important;
  box-shadow: var(--shadow-sm) !important;
  width: 100% !important;
  margin-bottom: 24px !important;
}

.woocommerce-cart table.shop_table.cart th {
  background-color: var(--dv-navy-dark) !important;
  color: var(--dv-white) !important;
  font-family: var(--font-body) !important;
  font-size: 0.85rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  padding: 14px 18px !important;
  border: none !important;
}

.woocommerce-cart table.shop_table.cart td {
  padding: 16px 18px !important;
  border-top: 1px solid var(--dv-gray-100) !important;
  vertical-align: middle !important;
  color: var(--dv-gray-800) !important;
}

.woocommerce-cart table.shop_table.cart td.product-name a {
  font-family: var(--font-heading) !important;
  font-size: 1.15rem !important;
  font-weight: 700 !important;
  color: var(--dv-navy-dark) !important;
}

.woocommerce-cart table.shop_table.cart td.product-name a:hover {
  color: var(--dv-gold) !important;
}

.woocommerce-cart table.shop_table.cart td.product-thumbnail img {
  width: 70px !important;
  height: auto !important;
  border-radius: var(--radius-sm) !important;
}

/* Coupon & Action Row in Classic Cart */
.woocommerce-cart table.shop_table.cart td.actions {
  background-color: var(--dv-off-white) !important;
  padding: 20px !important;
}

.woocommerce-cart .coupon {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  flex-wrap: wrap !important;
}

.woocommerce-cart .coupon input[type="text"] {
  height: 42px !important;
  padding: 0 16px !important;
  border: 1px solid var(--dv-gray-200) !important;
  border-radius: var(--radius-sm) !important;
  font-size: 0.9rem !important;
}

.woocommerce-cart .coupon button[type="submit"] {
  height: 42px !important;
  padding: 0 20px !important;
  background: var(--dv-navy) !important;
  color: var(--dv-white) !important;
  border: none !important;
  border-radius: var(--radius-full) !important;
  font-weight: 700 !important;
  font-size: 0.8rem !important;
  text-transform: uppercase !important;
  cursor: pointer !important;
  transition: all var(--transition) !important;
}

.woocommerce-cart .coupon button[type="submit"]:hover {
  background: var(--dv-gold) !important;
}


/* RESPONSIVE MEDIA QUERIES FOR CART */

/* Tablet & Small Desktop (max-width: 1199px) */
@media (max-width: 1199px) {
  .wp-block-woocommerce-cart .wc-block-cart__container {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }

  .wc-block-cart__totals,
  .cart_totals {
    position: static !important;
    width: 100% !important;
  }
}

/* Mobile (max-width: 767px) */
@media (max-width: 767px) {
  .woocommerce-cart .site-main,
  .woocommerce-cart .entry-content {
    padding: 0 14px !important;
    margin: 20px auto !important;
  }

  /* Transform Classic Cart Table into Mobile Cards */
  .woocommerce-cart table.shop_table.cart,
  .woocommerce-cart table.shop_table.cart tbody,
  .woocommerce-cart table.shop_table.cart tr,
  .woocommerce-cart table.shop_table.cart td {
    display: block !important;
    width: 100% !important;
  }

  .woocommerce-cart table.shop_table.cart thead {
    display: none !important;
  }

  .woocommerce-cart table.shop_table.cart tr {
    background: var(--dv-white) !important;
    border: 1px solid var(--dv-gray-100) !important;
    border-radius: var(--radius-md) !important;
    padding: 16px !important;
    margin-bottom: 16px !important;
    box-shadow: var(--shadow-sm) !important;
    position: relative !important;
  }

  .woocommerce-cart table.shop_table.cart td {
    padding: 8px 0 !important;
    border: none !important;
    text-align: left !important;
  }

  .woocommerce-cart table.shop_table.cart td.product-remove {
    position: absolute !important;
    top: 14px !important;
    right: 14px !important;
    width: auto !important;
  }

  .woocommerce-cart table.shop_table.cart td.product-thumbnail {
    text-align: center !important;
    margin-bottom: 8px !important;
  }

  .woocommerce-cart table.shop_table.cart td.product-thumbnail img {
    width: 80px !important;
  }

  .woocommerce-cart table.shop_table.cart td.product-name {
    font-size: 1.1rem !important;
    padding-right: 35px !important;
  }

  .woocommerce-cart table.shop_table.cart td.product-price,
  .woocommerce-cart table.shop_table.cart td.product-subtotal {
    font-weight: 700 !important;
    font-size: 1.05rem !important;
  }

  .woocommerce-cart table.shop_table.cart td.actions {
    border-radius: 0 0 var(--radius-md) var(--radius-md) !important;
  }

  .woocommerce-cart .coupon {
    flex-direction: column !important;
    align-items: stretch !important;
  }

  .woocommerce-cart .coupon input[type="text"],
  .woocommerce-cart .coupon button[type="submit"] {
    width: 100% !important;
  }

  /* Block Cart Items on Mobile */
  .wc-block-cart-items .wc-block-components-cart-item {
    padding: 18px !important;
    margin-bottom: 14px !important;
  }

  /* CEP Form Mobile adjustments */
  .woocommerce-shipping-calculator,
  .shipping-calculator-form,
  .wc-block-components-shipping-calculator-address-form {
    flex-wrap: nowrap !important; /* Keep input and OK button side by side */
    gap: 10px !important;
  }

  #calc_shipping_postcode,
  input[name="calc_shipping_postcode"],
  .wc-block-components-shipping-calculator-address-form input[type="text"] {
    height: 44px !important;
    font-size: 0.9rem !important;
  }

  button[name="calc_shipping"],
  .shipping-calculator-form button,
  .wc-block-components-shipping-calculator-address-form__button {
    height: 44px !important;
    padding: 0 18px !important;
    font-size: 0.8rem !important;
    white-space: nowrap !important;
  }
}

/* Extra Small Mobile (max-width: 480px) */
@media (max-width: 480px) {
  .wc-block-cart__totals,
  .cart_totals {
    padding: 20px 16px !important;
  }

  .wc-block-cart__totals-title,
  .cart_totals h2 {
    font-size: 1.35rem !important;
  }

  .wc-block-cart__proceed-to-checkout .wc-block-components-checkout-button__button,
  .checkout-button {
    padding: 14px 20px !important;
    font-size: 0.88rem !important;
  }
}

/* =============================================
   WOOCOMMERCE CHECKOUT & HEADER FIXES
   Fix 1: Input text overlapping floating labels in customer registration/checkout
   Fix 2: Fixed sticky header covering checkout page title ("Finalizar Compra")
   ============================================= */

/* Fix 2: Spacing for Checkout, Cart & Account pages so fixed menu never covers title */
body.woocommerce-checkout,
body.woocommerce-cart,
body.woocommerce-account {
  padding-top: 90px !important;
}

.woocommerce-checkout .site-main,
.woocommerce-cart .site-main,
.woocommerce-account .site-main,
.woocommerce-checkout .site-content,
.woocommerce-cart .site-content,
.woocommerce-account .site-content,
.wp-block-woocommerce-checkout,
.wp-block-woocommerce-cart {
  margin-top: 20px !important;
  padding-top: 10px !important;
}

.woocommerce-checkout h1.entry-title,
.woocommerce-cart h1.entry-title,
.woocommerce-account h1.entry-title,
.wc-block-checkout__title,
.wc-block-cart__title {
  margin-top: 15px !important;
  margin-bottom: 30px !important;
  clear: both !important;
}

/* Fix 1: Floating Labels & Address Input Spacing in WooCommerce Checkout & Cart */
.wc-block-components-text-input,
/* Fix 1: Floating Labels & Address Input Spacing in WooCommerce Checkout & Cart */
.wc-block-components-text-input,
.wc-block-components-combobox,
.wc-block-components-country-input,
.wc-block-components-state-input,
.wc-block-components-address-form .wc-block-components-text-input {
  position: relative !important;
  z-index: 1 !important;
}

/* Prevent hidden inputs from rendering as empty boxes */
.wc-block-components-text-input input[type="hidden"],
input[type="hidden"] {
  display: none !important;
  height: 0 !important;
  min-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  background: transparent !important;
}

/* Ensure adequate vertical height and top padding so labels NEVER overlap typed input data (excludes checkboxes & radios) */
.wc-block-components-text-input input:not([type="checkbox"]):not([type="radio"]),
input.wc-block-components-text-input__input:not([type="checkbox"]):not([type="radio"]),
.wc-block-components-text-input__input:not([type="checkbox"]):not([type="radio"]),
.wc-block-components-combobox input:not([type="checkbox"]):not([type="radio"]),
input.wc-block-components-combobox__input:not([type="checkbox"]):not([type="radio"]),
.wc-block-components-combobox__input:not([type="checkbox"]):not([type="radio"]),
.wc-block-components-country-input input:not([type="checkbox"]):not([type="radio"]),
.wc-block-components-country-input select,
select.wc-block-components-country-input__select,
.wc-block-components-state-input input:not([type="checkbox"]):not([type="radio"]),
.wc-block-components-state-input select,
select.wc-block-components-state-input__select,
.wc-block-components-address-form input:not([type="checkbox"]):not([type="radio"]),
.wc-block-checkout__address-form input:not([type="checkbox"]):not([type="radio"]),
#shipping-first_name, #shipping-last_name, #shipping-address_1, #shipping-postcode, #shipping-city, #shipping-phone, #shipping-state,
#billing-first_name, #billing-last_name, #billing-address_1, #billing-postcode, #billing-city, #billing-phone, #billing-state {
  border: 1px solid var(--dv-gray-200) !important;
  border-radius: var(--radius-sm) !important;
  height: 58px !important;
  min-height: 58px !important;
  padding-top: 26px !important;
  padding-bottom: 6px !important;
  padding-left: 14px !important;
  padding-right: 14px !important;
  font-family: var(--font-body) !important;
  font-size: 0.95rem !important;
  color: var(--dv-gray-800) !important;
  line-height: 1.2 !important;
  background-color: var(--dv-white) !important;
  box-shadow: none !important;
  margin: 0 !important;
  box-sizing: border-box !important;
  vertical-align: bottom !important;
}

.wc-block-components-text-input input:focus,
input.wc-block-components-text-input__input:focus,
.wc-block-components-text-input__input:focus,
.wc-block-components-combobox input:focus,
input.wc-block-components-combobox__input:focus,
.wc-block-components-combobox__input:focus {
  border-color: var(--dv-navy) !important;
  box-shadow: 0 0 0 3px rgba(30,51,112,0.12) !important;
}

/* Floating labels positioned cleanly at top-left of the input box */
.wc-block-components-text-input label,
label.wc-block-components-text-input__label,
.wc-block-components-text-input__label,
.wc-block-components-combobox label,
label.wc-block-components-combobox__label,
.wc-block-components-combobox__label,
.wc-block-components-country-input label,
.wc-block-components-state-input label,
.wc-block-components-address-form label,
.wc-block-checkout__address-form label {
  position: absolute !important;
  top: 5px !important;
  left: 14px !important;
  font-size: 0.70rem !important;
  font-weight: 700 !important;
  color: var(--dv-gray-600) !important;
  z-index: 2 !important;
  pointer-events: none !important;
  line-height: 1 !important;
  transform: none !important;
  background: transparent !important;
  margin: 0 !important;
  padding: 0 !important;
  max-width: calc(100% - 28px) !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

/* Active or focused floating label state */
.wc-block-components-text-input.is-active label,
.wc-block-components-text-input:focus-within label,
.wc-block-components-combobox.is-active label,
.wc-block-components-combobox:focus-within label,
.wc-block-components-country-input.is-active label,
.wc-block-components-country-input:focus-within label,
.wc-block-components-state-input.is-active label,
.wc-block-components-state-input:focus-within label,
.wc-block-components-text-input input:not(:placeholder-shown) ~ label,
.wc-block-components-combobox input:not(:placeholder-shown) ~ label {
  top: 5px !important;
  font-size: 0.70rem !important;
  color: var(--dv-navy) !important;
  font-weight: 700 !important;
}

/* Checkbox & Radio inputs in WooCommerce Checkout (e.g. "Crie uma conta", "Usar mesmo endereço") */
.wc-block-components-checkbox,
.wc-block-checkout__create-account,
.wc-block-components-checkbox-control {
  display: flex !important;
  align-items: flex-start !important;
  margin: 16px 0 !important;
  position: relative !important;
  clear: both !important;
  height: auto !important;
  min-height: 0 !important;
}

.wc-block-components-checkbox label,
.wc-block-checkout__create-account label,
.wc-block-components-checkbox-control label,
.wc-block-components-checkbox__label {
  display: inline-flex !important;
  align-items: flex-start !important;
  font-size: 0.9rem !important;
  font-weight: 500 !important;
  color: var(--dv-gray-800) !important;
  line-height: 1.4 !important;
  margin: 0 !important;
  padding: 0 !important;
  max-width: 100% !important;
  cursor: pointer !important;
  position: relative !important;
  top: auto !important;
  left: auto !important;
  z-index: 10 !important;
  pointer-events: auto !important;
}

/* Hide WooCommerce Blocks pseudo-elements/backdrop that cause duplicate boxes or overflow overlays */
.wc-block-components-checkbox-control__mark,
.wc-block-components-checkbox-control__backdrop {
  display: none !important;
}

/* Clean, native, 18px x 18px checkbox input */
.wc-block-components-checkbox input[type="checkbox"],
.wc-block-checkout__create-account input[type="checkbox"],
.wc-block-components-checkbox-control input[type="checkbox"],
input[type="checkbox"].wc-block-components-checkbox-control__input {
  height: 18px !important;
  min-height: 18px !important;
  max-height: 18px !important;
  width: 18px !important;
  min-width: 18px !important;
  max-width: 18px !important;
  margin: 2px 10px 0 0 !important;
  padding: 0 !important;
  border: 1px solid var(--dv-gray-400) !important;
  border-radius: 4px !important;
  background-color: #ffffff !important;
  accent-color: var(--dv-navy) !important;
  appearance: checkbox !important;
  -webkit-appearance: checkbox !important;
  display: inline-block !important;
  position: relative !important;
  top: auto !important;
  left: auto !important;
  opacity: 1 !important;
  visibility: visible !important;
  z-index: 10 !important;
  cursor: pointer !important;
  flex-shrink: 0 !important;
  box-shadow: none !important;
}

/* =============================================
   WOOCOMMERCE PRODUCT LOOP STAR RATING ALIGNMENT FIX
   Aligns star ratings in shop/category product cards with product title and price padding
   ============================================= */
.woocommerce ul.products li.product .star-rating,
.woocommerce-page ul.products li.product .star-rating,
.products li.product .star-rating,
.products .product .star-rating,
.wc-block-grid__product .star-rating,
.product-card .star-rating,
.divin-product-card .star-rating {
  margin-left: 20px !important;
  margin-right: 20px !important;
  margin-top: 6px !important;
  margin-bottom: 8px !important;
  float: none !important;
  display: block !important;
  text-align: left !important;
}

.woocommerce ul.products li.product .woocommerce-product-rating,
.woocommerce-page ul.products li.product .woocommerce-product-rating,
.products .product .woocommerce-product-rating {
  padding-left: 20px !important;
  padding-right: 20px !important;
  margin-top: 4px !important;
  margin-bottom: 6px !important;
}

/* Maintain single product summary rating alignment */
.single-product .summary .star-rating,
.single-product .summary .woocommerce-product-rating,
.single-product .summary .woocommerce-product-rating .star-rating {
  margin-left: 0 !important;
  padding-left: 0 !important;
}

/* =============================================
   MOBILE & TABLET RESPONSIVE REVISION FOR CART & CHECKOUT
   ============================================= */

@media (max-width: 1199px) {
  /* Fix Imagem 2 & 3: Sticky Order Summary Box has solid opaque background & max z-index
     so scrolling form fields and texts pass BEHIND the box without bleeding through! */
  .wc-block-checkout__main,
  .wc-block-checkout__main *,
  .wc-block-components-checkout-step,
  .wc-block-components-checkout-step *,
  .wc-block-components-text-input,
  .wc-block-components-combobox {
    z-index: 1 !important;
  }

  .wc-block-checkout__sidebar,
  .wc-block-cart__totals,
  .wc-block-components-order-summary,
  .wc-block-checkout__order-notes,
  .wc-block-components-order-summary-toggle,
  .wc-block-components-panel,
  .wc-block-components-order-summary__content,
  .wc-block-components-order-summary-toggle__button {
    background-color: #F8F5F1 !important;
    background: #F8F5F1 !important;
    z-index: 99999 !important;
    position: sticky !important;
    top: 80px !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15) !important;
    border-radius: var(--radius-md) !important;
  }

  .wp-block-woocommerce-cart .wc-block-cart__container,
  .wp-block-woocommerce-checkout .wc-block-checkout__container {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .wc-block-checkout__main,
  .wc-block-checkout__sidebar,
  .wc-block-cart__totals,
  .wc-block-cart__items,
  .wc-block-cart-items {
    padding: 20px 16px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}

@media (max-width: 768px) {
  /* Page container padding on mobile */
  .woocommerce-cart .site-main,
  .woocommerce-checkout .site-main,
  .woocommerce-account .site-main,
  .woocommerce-cart .site-content,
  .woocommerce-checkout .site-content,
  .woocommerce-account .site-content {
    padding: 0 12px !important;
    margin: 15px auto !important;
  }

  body.woocommerce-checkout,
  body.woocommerce-cart,
  body.woocommerce-account {
    padding-top: 75px !important;
  }

  /* Cart Item Card Mobile Styling */
  .wc-block-cart-items .wc-block-components-cart-item {
    padding: 16px 12px !important;
    margin-bottom: 14px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
  }

  .wc-block-components-cart-item__product {
    display: flex !important;
    gap: 12px !important;
    align-items: flex-start !important;
  }

  .wc-block-components-cart-item__image {
    width: 64px !important;
    min-width: 64px !important;
    height: 64px !important;
  }

  .wc-block-components-cart-item__image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: var(--radius-sm) !important;
  }

  .wc-block-components-cart-item__name {
    font-size: 1rem !important;
    line-height: 1.3 !important;
    margin-bottom: 4px !important;
  }

  .wc-block-components-cart-item__price,
  .wc-block-components-cart-item__total {
    font-size: 0.95rem !important;
    font-weight: 700 !important;
  }

  .wc-block-components-cart-item__quantity {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    padding-top: 8px !important;
    border-top: 1px solid var(--dv-gray-100) !important;
  }

  /* Wholesale Notice Mobile Styling */
  .divin-wholesale-notice {
    padding: 14px 12px !important;
    margin-bottom: 16px !important;
    border-radius: var(--radius-sm) !important;
  }

  .divin-wholesale-notice-inner {
    gap: 10px !important;
  }

  .divin-wholesale-notice-icon {
    font-size: 20px !important;
  }

  .divin-wholesale-notice-title {
    font-size: 1.05rem !important;
  }

  .divin-wholesale-notice-desc {
    font-size: 0.82rem !important;
    line-height: 1.4 !important;
  }

  /* Delivery Insurance Card Mobile Styling */
  .divin-insurance-card {
    padding: 14px 12px !important;
    margin: 14px 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .divin-insurance-body {
    padding-left: 28px !important;
    font-size: 0.8rem !important;
  }

  .divin-insurance-title {
    font-size: 0.85rem !important;
  }

  /* Cart Totals Title & Items */
  .wc-block-cart__totals-title {
    font-size: 1.25rem !important;
    margin-bottom: 14px !important;
  }

  .wc-block-cart__proceed-to-checkout .wc-block-components-checkout-button__button,
  .checkout-button {
    padding: 14px 16px !important;
    font-size: 0.9rem !important;
    min-height: 48px !important;
  }
}

/* =============================================
   WOOCOMMERCE ORDER SUMMARY PRODUCT ITEM BADGE FIX
   Ensures quantity badge (e.g. "1") sits ON TOP of product image (z-index: 20 vs z-index: 1)
   ============================================= */
.wc-block-components-order-summary-item__image,
.wc-block-components-order-summary-item__image-wrapper,
.wc-block-components-cart-item__image {
  position: relative !important;
  overflow: visible !important;
}

.wc-block-components-order-summary-item__image img,
.wc-block-components-order-summary-item__image-wrapper img,
.wc-block-components-cart-item__image img {
  position: relative !important;
  z-index: 1 !important;
}

/* Quantity badge attached to product image thumbnail in Order Summary */
.wc-block-components-order-summary-item__image .wc-block-components-order-summary-item__quantity,
.wc-block-components-order-summary-item__image .wc-block-components-product-badge,
.wc-block-components-order-summary-item__image > span {
  position: absolute !important;
  z-index: 20 !important;
  top: -6px !important;
  right: -6px !important;
  background-color: var(--dv-navy, #1E3370) !important;
  color: #FFFFFF !important;
  font-weight: 700 !important;
  font-size: 0.72rem !important;
  border-radius: 11px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  min-width: 22px !important;
  max-width: 28px !important;
  height: 22px !important;
  padding: 0 4px !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25) !important;
  border: 1.5px solid #FFFFFF !important;
  box-sizing: border-box !important;
  flex-shrink: 0 !important;
  line-height: 1 !important;
}

/* Force inner text nodes and inner spans to unpin from left: 4px and center 100% inside badge */
.wc-block-components-order-summary-item__image .wc-block-components-order-summary-item__quantity *,
.wc-block-components-order-summary-item__image .wc-block-components-product-badge *,
.wc-block-components-order-summary-item__image > span * {
  position: static !important;
  left: auto !important;
  right: auto !important;
  top: auto !important;
  bottom: auto !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  width: 100% !important;
  height: auto !important;
  display: block !important;
  padding: 0 !important;
  margin: 0 auto !important;
  font-size: inherit !important;
  color: inherit !important;
  font-weight: inherit !important;
  line-height: 1 !important;
  vertical-align: middle !important;
  transform: none !important;
  text-align: center !important;
  letter-spacing: normal !important;
  text-indent: 0 !important;
  float: none !important;
}

/* =============================================
   WOOCOMMERCE CART TABLE LEFT CUTOFF & MARGIN FIX
   Eliminates negative left margins & forces 16px protective padding on left edge of cart items table
   ============================================= */
.wp-block-woocommerce-cart,
.wp-block-woocommerce-cart.alignwide,
.wp-block-woocommerce-cart.alignfull,
.wp-block-woocommerce-checkout,
.wp-block-woocommerce-checkout.alignwide,
.wp-block-woocommerce-checkout.alignfull,
.wc-block-cart-items-block,
.wc-block-cart__items,
.wc-block-cart-items,
.wc-block-cart-items__header,
.wc-block-cart-items table,
.wc-block-cart-items tr,
.wc-block-cart-items th,
.wc-block-cart-items td,
.wc-block-components-cart-item,
.wc-block-components-cart-item__product,
.wc-block-components-cart-item__image {
  margin-left: 0 !important;
  margin-right: 0 !important;
  box-sizing: border-box !important;
}

/* Ensure left column elements (Header "PRODUTO" and Product Images) have protective 16px left padding */
.wc-block-cart-items th:first-child,
.wc-block-cart-items td:first-child,
.wc-block-cart-items__header th:first-child,
.wc-block-cart-items__header div:first-child,
.wc-block-cart-items__header span:first-child,
.wc-block-components-cart-item__product,
.wc-block-components-cart-item__image-wrapper {
  padding-left: 16px !important;
}

/* Ensure cart items block is constrained cleanly within layout bounds */
.wp-block-woocommerce-cart .wc-block-cart__container,
.wp-block-woocommerce-checkout .wc-block-checkout__container {
  overflow: hidden !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

/* =============================================
   CART & CHECKOUT NAVIGATION BUTTONS
   "Editar Pedido" in Order Summary & "Comprar Mais" in Cart
   ============================================= */

/* Header layout container for "Resumo do pedido" + "Editar Pedido" button */
.divin-has-edit-btn,
.wc-block-components-order-summary-heading-block,
.wc-block-components-order-summary-toggle,
.wc-block-components-order-summary__content h2,
.wc-block-checkout__sidebar h2 {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

/* "Editar Pedido" Button in Checkout Order Summary */
.divin-edit-cart-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 5px 14px !important;
  font-family: inherit !important;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  color: var(--dv-navy, #1E3370) !important;
  background-color: var(--dv-white, #FFFFFF) !important;
  border: 1.5px solid var(--dv-navy, #1E3370) !important;
  border-radius: 20px !important;
  text-decoration: none !important;
  transition: all 0.2s ease-in-out !important;
  cursor: pointer !important;
  white-space: nowrap !important;
  line-height: 1.2 !important;
  margin-left: auto !important;
}

.divin-edit-cart-btn:hover {
  background-color: var(--dv-navy, #1E3370) !important;
  color: #FFFFFF !important;
  border-color: var(--dv-navy, #1E3370) !important;
  box-shadow: 0 2px 8px rgba(30, 51, 112, 0.2) !important;
  transform: translateY(-1px) !important;
}

/* Header layout container for "Total No Carrinho" + "Comprar Mais" button */
.divin-has-shop-btn,
.wc-block-cart__totals-title {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

/* "Comprar Mais" Button in Shopping Cart (beside Total No Carrinho) */
.divin-continue-shopping-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 5px 14px !important;
  font-family: inherit !important;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  color: var(--dv-navy, #1E3370) !important;
  background-color: var(--dv-white, #FFFFFF) !important;
  border: 1.5px solid var(--dv-navy, #1E3370) !important;
  border-radius: 20px !important;
  text-decoration: none !important;
  transition: all 0.2s ease-in-out !important;
  cursor: pointer !important;
  margin: 0 0 0 auto !important;
  white-space: nowrap !important;
  line-height: 1.2 !important;
}

.divin-continue-shopping-btn:hover {
  background-color: var(--dv-navy, #1E3370) !important;
  color: #FFFFFF !important;
  border-color: var(--dv-navy, #1E3370) !important;
  box-shadow: 0 2px 8px rgba(30, 51, 112, 0.2) !important;
  transform: translateY(-1px) !important;
}

/* ==========================================================================
   DIVINIUM BLOG ARCHIVE GRID & HERO STYLES (NO "ARQUIVOS" TITLE, 3-COL GRID)
   ========================================================================== */

/* Hide old default archive header if any theme elements leak */
body.blog .page-header,
body.archive.category .page-header,
body.archive .page-header {
  display: none !important;
}

.divinium-blog-wrapper {
  background-color: #080d19 !important;
  color: #f8fafc !important;
  min-height: 80vh !important;
  padding-bottom: 70px !important;
  width: 100% !important;
}

.divinium-blog-hero {
  background: linear-gradient(135deg, #0b1528 0%, #111e36 50%, #080d19 100%) !important;
  border-bottom: 1px solid rgba(201, 160, 80, 0.25) !important;
  padding: 60px 20px 45px !important;
  text-align: center !important;
  margin-bottom: 10px !important;
}

.divinium-blog-hero-container {
  max-width: 900px !important;
  margin: 0 auto !important;
}

.divinium-blog-badge {
  display: inline-block !important;
  background: rgba(201, 160, 80, 0.12) !important;
  border: 1px solid rgba(201, 160, 80, 0.4) !important;
  color: #c9a050 !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 1.2px !important;
  padding: 6px 18px !important;
  border-radius: 20px !important;
  margin-bottom: 16px !important;
}

.divinium-blog-title {
  color: #ffffff !important;
  font-size: 42px !important;
  font-weight: 800 !important;
  margin: 0 0 16px 0 !important;
  letter-spacing: -0.5px !important;
  line-height: 1.2 !important;
}

.divinium-blog-subtitle {
  color: #94a3b8 !important;
  font-size: 17px !important;
  line-height: 1.6 !important;
  margin: 0 0 32px 0 !important;
  max-width: 780px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Category Filter Pills */
.divinium-blog-categories {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  gap: 12px !important;
  margin-top: 20px !important;
}

.divinium-cat-pill {
  background: #1e293b !important;
  color: #cbd5e1 !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  padding: 9px 20px !important;
  border-radius: 25px !important;
  text-decoration: none !important;
  transition: all 0.25s ease !important;
  border: 1px solid #334155 !important;
}

.divinium-cat-pill:hover,
.divinium-cat-pill.active {
  background: linear-gradient(90deg, #c9a050 0%, #e2b96c 100%) !important;
  color: #0b1528 !important;
  border-color: #c9a050 !important;
  box-shadow: 0 4px 15px rgba(201, 160, 80, 0.35) !important;
}

/* Container & Grid Layout */
.divinium-blog-container {
  max-width: 1240px !important;
  margin: 45px auto 0 !important;
  padding: 0 24px !important;
}

.divinium-blog-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 32px !important;
}

@media (max-width: 1024px) {
  .divinium-blog-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 24px !important;
  }
}

@media (max-width: 640px) {
  .divinium-blog-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
  .divinium-blog-title {
    font-size: 32px !important;
  }
  .divinium-blog-hero {
    padding: 40px 16px 30px !important;
  }
}

/* Blog Card Styling */
.divinium-blog-card {
  background: #0f172a !important;
  border: 1px solid #1e293b !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease !important;
}

.divinium-blog-card:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45), 0 0 25px rgba(201, 160, 80, 0.2) !important;
  border-color: rgba(201, 160, 80, 0.6) !important;
}

.divinium-card-image-link {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  height: 230px !important;
  overflow: hidden !important;
  background: #1e293b !important;
}

.divinium-card-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transition: transform 0.4s ease !important;
}

.divinium-blog-card:hover .divinium-card-img {
  transform: scale(1.06) !important;
}

.divinium-card-category {
  position: absolute !important;
  top: 16px !important;
  left: 16px !important;
  background: rgba(11, 21, 40, 0.88) !important;
  backdrop-filter: blur(8px) !important;
  border: 1px solid rgba(201, 160, 80, 0.5) !important;
  color: #c9a050 !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  padding: 4px 14px !important;
  border-radius: 15px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.6px !important;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3) !important;
}

.divinium-card-body {
  padding: 24px !important;
  display: flex !important;
  flex-direction: column !important;
  flex-grow: 1 !important;
}

.divinium-card-meta {
  font-size: 13px !important;
  color: #64748b !important;
  margin-bottom: 10px !important;
  font-weight: 500 !important;
}

.divinium-card-title {
  font-size: 19px !important;
  font-weight: 700 !important;
  line-height: 1.45 !important;
  margin: 0 0 12px 0 !important;
}

.divinium-card-title a {
  color: #f8fafc !important;
  text-decoration: none !important;
  transition: color 0.2s ease !important;
}

.divinium-card-title a:hover {
  color: #c9a050 !important;
}

.divinium-card-excerpt {
  color: #94a3b8 !important;
  font-size: 14px !important;
  line-height: 1.6 !important;
  margin-bottom: 22px !important;
  flex-grow: 1 !important;
}

.divinium-card-footer {
  border-top: 1px solid #1e293b !important;
  padding-top: 16px !important;
  margin-top: auto !important;
}

.divinium-read-more {
  display: inline-flex !important;
  align-items: center !important;
  color: #c9a050 !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  transition: color 0.2s ease, transform 0.2s ease !important;
}

.divinium-read-more .arrow {
  margin-left: 6px !important;
  transition: transform 0.2s ease !important;
}

.divinium-read-more:hover {
  color: #e2b96c !important;
}

.divinium-read-more:hover .arrow {
  transform: translateX(4px) !important;
}

/* Pagination */
.divinium-pagination {
  display: flex !important;
  justify-content: center !important;
  gap: 8px !important;
  margin-top: 50px !important;
}

.divinium-pagination .page-numbers {
  display: inline-block !important;
  padding: 10px 18px !important;
  background: #0f172a !important;
  border: 1px solid #1e293b !important;
  border-radius: 8px !important;
  color: #cbd5e1 !important;
  text-decoration: none !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  transition: all 0.2s ease !important;
}

.divinium-pagination .page-numbers.current,
.divinium-pagination .page-numbers:hover {
  background: #c9a050 !important;
  color: #0b1528 !important;
  border-color: #c9a050 !important;
}

/* ==========================================================================
   DIVINIUM SINGLE ARTICLE STYLES
   ========================================================================== */

.divinium-single-article {
  background-color: #080d19 !important;
  color: #e2e8f0 !important;
  min-height: 80vh !important;
  padding-bottom: 80px !important;
  font-family: inherit !important;
}

.divinium-single-header {
  background: linear-gradient(135deg, #0b1528 0%, #111e36 50%, #080d19 100%) !important;
  border-bottom: 1px solid rgba(201, 160, 80, 0.2) !important;
  padding: 50px 20px 40px !important;
  text-align: center !important;
}

.divinium-single-header-container {
  max-width: 900px !important;
  margin: 0 auto !important;
}

.divinium-breadcrumb {
  font-size: 13px !important;
  color: #64748b !important;
  margin-bottom: 20px !important;
}

.divinium-breadcrumb a {
  color: #94a3b8 !important;
  text-decoration: none !important;
  transition: color 0.2s ease !important;
}

.divinium-breadcrumb a:hover {
  color: #c9a050 !important;
}

.divinium-single-badge {
  display: inline-block !important;
  background: rgba(201, 160, 80, 0.12) !important;
  border: 1px solid rgba(201, 160, 80, 0.4) !important;
  color: #c9a050 !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  padding: 5px 16px !important;
  border-radius: 20px !important;
  margin-bottom: 18px !important;
}

.divinium-single-title {
  color: #ffffff !important;
  font-size: 38px !important;
  font-weight: 800 !important;
  line-height: 1.3 !important;
  margin: 0 0 20px 0 !important;
  letter-spacing: -0.5px !important;
}

.divinium-single-meta {
  font-size: 14px !important;
  color: #94a3b8 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 12px !important;
}

.divinium-single-meta strong {
  color: #c9a050 !important;
}

.divinium-single-featured-container {
  max-width: 960px !important;
  margin: 35px auto 0 !important;
  padding: 0 20px !important;
}

.divinium-single-featured {
  border-radius: 20px !important;
  overflow: hidden !important;
  border: 1px solid #1e293b !important;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5) !important;
  max-height: 480px !important;
}

.divinium-featured-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

.divinium-single-body {
  padding: 50px 20px !important;
}

.divinium-single-container {
  max-width: 860px !important;
  margin: 0 auto !important;
}

/* Single Content Typography */
.divinium-single-content {
  font-size: 17px !important;
  line-height: 1.8 !important;
  color: #cbd5e1 !important;
}

.divinium-single-content p {
  margin-bottom: 24px !important;
}

.divinium-single-content h2 {
  color: #ffffff !important;
  font-size: 26px !important;
  font-weight: 700 !important;
  margin: 45px 0 20px 0 !important;
  border-bottom: 1px solid #1e293b !important;
  padding-bottom: 12px !important;
}

.divinium-single-content h3 {
  color: #c9a050 !important;
  font-size: 22px !important;
  font-weight: 700 !important;
  margin: 35px 0 16px 0 !important;
}

.divinium-single-content ul,
.divinium-single-content ol {
  margin: 0 0 25px 25px !important;
  padding: 0 !important;
}

.divinium-single-content li {
  margin-bottom: 10px !important;
}

.divinium-single-content strong {
  color: #f8fafc !important;
}

.divinium-single-content a {
  color: #c9a050 !important;
  text-decoration: underline !important;
  transition: color 0.2s ease !important;
}

.divinium-single-content a:hover {
  color: #e2b96c !important;
}

/* CTA Box & Button Styles in Single Blog Articles */
.divinium-single-content .divinium-cta-box {
  background: linear-gradient(135deg, #0b1528 0%, #16243e 100%) !important;
  border: 1px solid #c9a050 !important;
  border-radius: 12px !important;
  padding: 35px 30px !important;
  margin: 40px 0 !important;
  text-align: center !important;
  color: #ffffff !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4) !important;
}

.divinium-single-content .divinium-cta-box h3 {
  color: #c9a050 !important;
  margin-top: 0 !important;
  margin-bottom: 12px !important;
  font-size: 22px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  border-bottom: none !important;
  padding-bottom: 0 !important;
}

.divinium-single-content .divinium-cta-box p {
  font-size: 16px !important;
  line-height: 1.6 !important;
  color: #e2e8f0 !important;
  margin-bottom: 25px !important;
}

.divinium-single-content .divinium-cta-box a,
.divinium-single-content .divinium-cta-box a:link,
.divinium-single-content .divinium-cta-box a:visited,
.divinium-single-content a.divinium-cta-btn,
.divinium-single-content .wp-block-button__link {
  display: inline-block !important;
  background: linear-gradient(90deg, #c9a050 0%, #e2b96c 100%) !important;
  color: #0b1528 !important;
  font-weight: 800 !important;
  padding: 15px 32px !important;
  border-radius: 30px !important;
  text-decoration: none !important;
  text-transform: uppercase !important;
  font-size: 14px !important;
  letter-spacing: 1px !important;
  box-shadow: 0 4px 15px rgba(201, 160, 80, 0.4) !important;
  transition: all 0.3s ease !important;
}

.divinium-single-content .divinium-cta-box a:hover,
.divinium-single-content .divinium-cta-box a:focus,
.divinium-single-content a.divinium-cta-btn:hover,
.divinium-single-content .wp-block-button__link:hover {
  background: linear-gradient(90deg, #e2b96c 0%, #f3d38c 100%) !important;
  color: #080d19 !important;
  text-decoration: none !important;
  box-shadow: 0 6px 20px rgba(201, 160, 80, 0.6) !important;
  transform: translateY(-2px) !important;
}

/* Product Card links in single content */
.divinium-single-content .divinium-product-card h4 a {
  color: #ffffff !important;
  text-decoration: none !important;
}

.divinium-single-content .divinium-product-card h4 a:hover {
  color: #c9a050 !important;
  text-decoration: none !important;
}

.divinium-single-content .divinium-product-card a {
  text-decoration: none !important;
}

.divinium-post-tags {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  margin-top: 40px !important;
  padding-top: 25px !important;
  border-top: 1px solid #1e293b !important;
}

.divinium-post-tags .tags-label {
  font-weight: 700 !important;
  color: #94a3b8 !important;
}

.divinium-post-tags .tag-item a {
  background: #1e293b !important;
  color: #cbd5e1 !important;
  font-size: 13px !important;
  padding: 5px 14px !important;
  border-radius: 15px !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
}

.divinium-post-tags .tag-item a:hover {
  background: #c9a050 !important;
  color: #0b1528 !important;
}

.divinium-post-nav {
  display: flex !important;
  justify-content: space-between !important;
  margin-top: 40px !important;
  padding-top: 30px !important;
  border-top: 1px solid #1e293b !important;
}

.divinium-post-nav a {
  color: #c9a050 !important;
  font-weight: 700 !important;
  font-size: 15px !important;
  text-decoration: none !important;
}

.divinium-post-nav a:hover {
  color: #e2b96c !important;
}

/* Related Section */
.divinium-related-section {
  background: #0b1528 !important;
  border-top: 1px solid #1e293b !important;
  padding: 60px 20px !important;
  margin-top: 60px !important;
}

.divinium-related-section .divinium-single-container {
  max-width: 1240px !important;
}

.related-section-title {
  color: #ffffff !important;
  font-size: 26px !important;
  font-weight: 800 !important;
  margin: 0 0 35px 0 !important;
  text-align: center !important;
}

/* =============================================
   WOOCOMMERCE MY ACCOUNT PORTAL & HEADER ACCOUNT LINK
   ============================================= */

/* Header Account Link */
.divin-account-link-wrapper {
  display: inline-flex;
  align-items: center;
  margin-right: 8px;
}

.divin-account-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--dv-navy-dark, #0C192E);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 8px 14px;
  border-radius: var(--radius-full, 9999px);
  background: var(--dv-off-white, #F9F9FB);
  border: 1px solid var(--dv-gray-200, #E5E7EB);
  transition: all var(--transition, 0.2s ease);
}

.divin-account-link:hover {
  background: var(--dv-navy-dark, #0C192E);
  color: var(--dv-white, #FFFFFF);
  border-color: var(--dv-navy-dark, #0C192E);
}

.divin-account-link svg {
  stroke: currentColor;
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .divin-account-label {
    display: none;
  }
  .divin-account-link {
    padding: 8px;
  }
}

/* My Account Container & Navigation Layout */
.woocommerce-account .woocommerce {
  max-width: var(--container-max, 1320px);
  margin: 40px auto;
  padding: 0 20px;
}

.woocommerce-account .woocommerce-MyAccount-navigation {
  float: left;
  width: 260px;
  background: var(--dv-white, #ffffff);
  border: 1px solid var(--dv-gray-200, #e5e7eb);
  border-radius: var(--radius-md, 12px);
  padding: 16px;
  box-shadow: var(--shadow-sm, 0 1px 3px rgba(0,0,0,0.05));
  margin-bottom: 30px;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.woocommerce-account .woocommerce-MyAccount-navigation li {
  margin-bottom: 6px;
}

.woocommerce-account .woocommerce-MyAccount-navigation li a {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  color: var(--dv-navy-dark, #0C192E);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border-radius: var(--radius-sm, 8px);
  transition: all 0.2s ease;
}

.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a,
.woocommerce-account .woocommerce-MyAccount-navigation li a:hover {
  background: var(--dv-navy-dark, #0C192E);
  color: var(--dv-white, #ffffff);
}

.woocommerce-account .woocommerce-MyAccount-content {
  float: right;
  width: calc(100% - 290px);
  background: var(--dv-white, #ffffff);
  border: 1px solid var(--dv-gray-200, #e5e7eb);
  border-radius: var(--radius-md, 12px);
  padding: 30px;
  box-shadow: var(--shadow-sm, 0 1px 3px rgba(0,0,0,0.05));
}

@media (max-width: 860px) {
  .woocommerce-account .woocommerce-MyAccount-navigation,
  .woocommerce-account .woocommerce-MyAccount-content {
    float: none;
    width: 100%;
  }
}

/* My Account Dashboard Welcome Box */
.divin-account-welcome-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  background: linear-gradient(135deg, #0C192E 0%, #162B4D 100%);
  color: #ffffff;
  padding: 26px 30px;
  border-radius: var(--radius-md, 12px);
  margin-bottom: 30px;
  box-shadow: 0 10px 25px rgba(12, 25, 46, 0.15);
}

.divin-account-welcome-text h2 {
  color: #ffffff !important;
  font-family: var(--font-heading, Cormorant Garamond, serif);
  font-size: 1.8rem;
  margin: 0 0 6px 0;
}

.divin-account-welcome-text p {
  color: #CBD5E1;
  font-size: 0.95rem;
  margin: 0;
}

.divin-account-cpf-badge {
  background: rgba(201, 169, 110, 0.15);
  border: 1px solid #C9A96E;
  padding: 10px 18px;
  border-radius: 8px;
  text-align: right;
}

.divin-account-cpf-badge span {
  display: block;
  font-size: 0.75rem;
  color: #C9A96E;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.divin-account-cpf-badge strong {
  font-size: 1rem;
  color: #ffffff;
}

/* Dashboard Cards Grid */
.divin-account-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.divin-dash-card {
  display: flex;
  flex-direction: column;
  background: #F9F9FB;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  padding: 22px;
  text-decoration: none !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.divin-dash-card:hover {
  transform: translateY(-4px);
  border-color: #0C192E;
  box-shadow: 0 12px 24px rgba(0,0,0,0.08);
}

.divin-dash-card-gold {
  background: #FCFAF4;
  border-color: #E6D7B8;
}

.divin-dash-card-gold:hover {
  border-color: #C9A96E;
}

.divin-dash-card-icon {
  font-size: 2rem;
  margin-bottom: 14px;
}

.divin-dash-card-content h3 {
  font-family: var(--font-heading, Cormorant Garamond, serif);
  color: #0C192E;
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 8px 0;
}

.divin-dash-card-content p {
  color: #64748B;
  font-size: 0.88rem;
  line-height: 1.5;
  margin: 0 0 16px 0;
}

.divin-dash-card-link {
  color: #0C192E;
  font-weight: 700;
  font-size: 0.88rem;
}

.divin-dash-card-gold .divin-dash-card-link {
  color: #B39B59;
}

/* Support & Customer Service Dashboard */
.divin-support-header {
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 1px solid #E5E7EB;
}

.divin-support-header h3 {
  font-family: var(--font-heading, Cormorant Garamond, serif);
  color: #0C192E;
  font-size: 1.6rem;
  margin: 0 0 6px 0;
}

.divin-support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.divin-support-card {
  background: #F9F9FB;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  padding: 24px;
}

.divin-support-card-primary {
  background: #F4F7F6;
  border-color: #25D366;
}

.divin-support-badge {
  display: inline-block;
  background: #25D366;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 10px;
}

.divin-support-card h4 {
  font-family: var(--font-heading, Cormorant Garamond, serif);
  color: #0C192E;
  font-size: 1.3rem;
  margin: 0 0 8px 0;
}

.divin-support-card p {
  color: #64748B;
  font-size: 0.9rem;
  margin: 0 0 18px 0;
}

.divin-btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #25D366;
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 20px;
  border-radius: 8px;
  text-decoration: none !important;
  width: 100%;
  transition: background 0.2s ease;
}

.divin-btn-whatsapp:hover {
  background: #1EBE57;
}

.divin-support-info-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.divin-support-info-list li {
  font-size: 0.9rem;
  color: #475569;
  margin-bottom: 10px;
  line-height: 1.5;
}

.divin-support-orders-box {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  padding: 24px;
}

.divin-support-orders-box h4 {
  font-family: var(--font-heading, Cormorant Garamond, serif);
  color: #0C192E;
  font-size: 1.3rem;
  margin: 0 0 4px 0;
}

.divin-support-orders-box p {
  color: #64748B;
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.divin-support-order-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 14px;
  background: #F9F9FB;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  margin-bottom: 10px;
}

.divin-order-status-badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  background: #E2E8F0;
  color: #334155;
}

.divin-order-status-badge.status-completed {
  background: #DEF7EC;
  color: #03543F;
}

.divin-order-status-badge.status-processing {
  background: #E1EFFE;
  color: #1E429F;
}

.divin-btn-whatsapp-sm {
  background: #25D366;
  color: #ffffff !important;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 6px;
  text-decoration: none !important;
}

/* Referrals & Affiliate Styling */
.divin-ref-header {
  margin-bottom: 25px;
}

.divin-ref-title {
  font-family: var(--font-heading, Cormorant Garamond, serif);
  color: #0C192E;
  font-size: 1.7rem;
  margin: 0 0 6px 0;
}

.divin-ref-intro {
  color: #475569;
  font-size: 0.95rem;
  margin: 0;
}

.divin-ref-card {
  background: #FDFBF7;
  border: 1px solid #E6D7B8;
  border-radius: 12px;
  padding: 24px;
}

.divin-ref-badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #B39B59;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}

.divin-ref-link-box {
  display: flex;
  gap: 10px;
}

.divin-ref-link-box input {
  flex: 1;
  background: #ffffff !important;
  border: 1px solid #CBD5E1 !important;
  border-radius: 8px !important;
  padding: 10px 14px !important;
  font-family: monospace !important;
  font-size: 0.95rem !important;
  color: #0C192E !important;
}

.divin-ref-copy-btn {
  background: #0C192E !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 10px 20px !important;
  cursor: pointer !important;
  transition: background 0.2s ease !important;
}

.divin-ref-copy-btn:hover {
  background: #C9A96E !important;
}

.divin-coupons-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  overflow: hidden;
}

.divin-coupons-table th {
  background: #0C192E;
  color: #ffffff;
  padding: 14px 18px;
  text-align: left;
  font-weight: 600;
}

.divin-coupons-table td {
  padding: 14px 18px;
  border-bottom: 1px solid #E5E7EB;
}

.coupon-code-cell code {
  font-family: monospace;
  font-size: 1rem;
  font-weight: 700;
  color: #0C192E;
  background: #F1F5F9;
  padding: 4px 8px;
  border-radius: 4px;
}

.coupon-amount-cell {
  font-weight: 700;
  color: #C9A96E;
  font-size: 1.05rem;
}

.divin-coupon-badge {
  background: #DEF7EC;
  color: #03543F;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 12px;
}

.divin-empty-box {
  padding: 24px;
  text-align: center;
  background: #F9F9FB;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  color: #64748B;
}

/* Thank You Page Callout Banner */
.divin-thankyou-portal-box {
  background: linear-gradient(135deg, #0C192E 0%, #1A345B 100%);
  color: #ffffff;
  padding: 28px;
  border-radius: 14px;
  margin: 30px 0;
  box-shadow: 0 10px 30px rgba(12, 25, 46, 0.15);
}

.divin-thankyou-portal-header h3 {
  color: #ffffff !important;
  font-family: var(--font-heading, Cormorant Garamond, serif);
  font-size: 1.6rem;
  margin: 0 0 8px 0;
}

.divin-thankyou-portal-header p {
  color: #CBD5E1;
  font-size: 0.95rem;
  margin: 0 0 20px 0;
  line-height: 1.5;
}

.divin-thankyou-portal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.divin-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none !important;
  transition: all 0.2s ease;
}

.divin-btn-navy {
  background: #ffffff;
  color: #0C192E !important;
}

.divin-btn-navy:hover {
  background: #F1F5F9;
}

.divin-btn-gold {
  background: #C9A96E;
  color: #0C192E !important;
}

.divin-btn-gold:hover {
  background: #D8BA82;
}

.divin-btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff !important;
}

.divin-btn-outline:hover {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

/* Prevent duplicate CPF field on Edit Account form */
.woocommerce-EditAccountForm p.woocommerce-form-row:has(label[for*="cpf"]) ~ p.woocommerce-form-row:has(label[for*="cpf"]),
.woocommerce-EditAccountForm .form-row:has(#account_billing_cpf) ~ .form-row:has(#account_billing_cpf),
.woocommerce-EditAccountForm .form-row:has(input[name="billing_cpf"]) ~ .form-row:has(input[name="billing_cpf"]),
.woocommerce-EditAccountForm fieldset ~ p.divin-cpf-field-row,
.woocommerce-EditAccountForm .divin-cpf-field-row ~ .divin-cpf-field-row {
  display: none !important;
}

/* Referral Dashboard Stats Grid */
.divin-ref-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

@media (max-width: 768px) {
  .divin-ref-stats-grid {
    grid-template-columns: 1fr;
  }
}

.divin-ref-stat-card {
  background: #ffffff;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 18px 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.divin-ref-stat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.divin-ref-stat-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
  color: #64748B;
}

.divin-ref-stat-value {
  font-family: var(--font-heading, Cormorant Garamond, serif);
  font-size: 1.7rem;
  line-height: 1.2;
}

.divin-text-green {
  color: #10B981 !important;
}

.divin-text-navy {
  color: #0C192E !important;
}

.divin-text-gold {
  color: #C9A96E !important;
}

.divin-ref-stat-sub {
  font-size: 0.75rem;
  color: #94A3B8;
}

/* Coupon Badges */
.divin-coupon-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 700;
}

.divin-badge-active {
  background: #ECFDF5;
  color: #059669;
  border: 1px solid #A7F3D0;
}

.divin-badge-used {
  background: #F1F5F9;
  color: #64748B;
  border: 1px solid #CBD5E1;
}

/* Used Coupons Table Footer */
.divin-coupons-used-table tfoot tr th {
  padding: 14px 16px;
  border-top: 2px solid #E2E8F0;
  background: #F8FAFC;
}

/* ==========================================================================
   FAQ PAGE LEGIBILITY & SHARPNESS FIX (OVERRIDE BLURRY BACKDROP FILTER)
   ========================================================================== */

.divin-faq-container {
  max-width: 900px !important;
  margin: 40px auto !important;
  padding: 20px 20px 60px 20px !important;
  font-family: 'Nunito', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  color: #0C192E !important;
  filter: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.divin-faq-main-title {
  font-family: var(--font-heading, 'Cormorant Garamond', 'Georgia', serif) !important;
  font-size: 2.5rem !important;
  font-weight: 700 !important;
  color: #0C192E !important;
  text-align: center !important;
  margin-bottom: 12px !important;
  letter-spacing: -0.02em !important;
  text-shadow: none !important;
}

.divin-faq-subtitle {
  font-size: 1.05rem !important;
  color: #475569 !important;
  text-align: center !important;
  margin-bottom: 40px !important;
  line-height: 1.6 !important;
  font-weight: 500 !important;
}

.divin-faq-list {
  display: flex !important;
  flex-direction: column !important;
  gap: 20px !important;
}

.divin-faq-item {
  background: #ffffff !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  filter: none !important;
  border: 1px solid #E2E8F0 !important;
  border-left: 4px solid #C9A96E !important;
  border-radius: 12px !important;
  padding: 24px 28px !important;
  box-shadow: 0 4px 14px rgba(12, 25, 46, 0.04) !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.divin-faq-item:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 24px rgba(12, 25, 46, 0.08) !important;
  border-color: #CBD5E1 !important;
  border-left-color: #C9A96E !important;
}

.divin-faq-question {
  font-family: var(--font-heading, 'Cormorant Garamond', 'Georgia', serif) !important;
  font-size: 1.35rem !important;
  font-weight: 700 !important;
  color: #0C192E !important;
  margin-bottom: 12px !important;
  line-height: 1.35 !important;
  text-shadow: none !important;
}

.divin-faq-answer {
  font-size: 1rem !important;
  color: #334155 !important;
  line-height: 1.7 !important;
  font-weight: 400 !important;
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
}

.divin-faq-answer p {
  color: #334155 !important;
  margin: 0 0 12px 0 !important;
  font-size: 1rem !important;
  line-height: 1.7 !important;
}

.divin-faq-answer p:last-child {
  margin-bottom: 0 !important;
}

.divin-faq-answer strong,
.divin-faq-answer b {
  color: #0C192E !important;
  font-weight: 700 !important;
}

.divin-faq-answer ul {
  margin: 12px 0 12px 20px !important;
  padding: 0 !important;
}

.divin-faq-answer li {
  color: #334155 !important;
  margin-bottom: 8px !important;
  line-height: 1.6 !important;
}

.divin-faq-answer a {
  color: #C9A96E !important;
  text-decoration: underline !important;
  font-weight: 600 !important;
}

.divin-faq-answer a:hover {
  color: #0C192E !important;
}

/* ==========================================================================
   RECONSTITUTION STEP-BY-STEP & BAC WATER CARD (FAQ)
   ========================================================================== */

.divin-faq-step-card {
  background: linear-gradient(135deg, #0C192E 0%, #1E293B 100%) !important;
  border: 1px solid #C9A96E !important;
  border-radius: 16px !important;
  padding: 32px !important;
  color: #FFFFFF !important;
  box-shadow: 0 12px 32px rgba(12, 25, 46, 0.15) !important;
  margin-bottom: 24px !important;
}

.divin-faq-step-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  border-bottom: 1px solid rgba(201, 169, 110, 0.3) !important;
  padding-bottom: 20px !important;
  margin-bottom: 24px !important;
  flex-wrap: wrap !important;
  gap: 16px !important;
}

.divin-faq-logo-wrapper {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
}

.divin-faq-logo-img {
  max-height: 46px !important;
  width: auto !important;
  display: block !important;
}

.divin-faq-badge-gold {
  background: rgba(201, 169, 110, 0.15) !important;
  border: 1px solid #C9A96E !important;
  color: #F1F5F9 !important;
  padding: 6px 14px !important;
  border-radius: 20px !important;
  font-size: 0.85rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.03em !important;
  text-transform: uppercase !important;
}

.divin-faq-step-layout {
  display: grid !important;
  grid-template-columns: 1fr 280px !important;
  gap: 28px !important;
  align-items: start !important;
}

@media (max-width: 768px) {
  .divin-faq-step-layout {
    grid-template-columns: 1fr !important;
  }
}

.divin-faq-steps-list {
  display: flex !important;
  flex-direction: column !important;
  gap: 14px !important;
}

.divin-step-item {
  display: flex !important;
  align-items: flex-start !important;
  gap: 14px !important;
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 12px !important;
  padding: 14px 18px !important;
  transition: background 0.2s ease, border-color 0.2s ease !important;
}

.divin-step-item:hover {
  background: rgba(201, 169, 110, 0.12) !important;
  border-color: rgba(201, 169, 110, 0.4) !important;
}

.divin-step-icon-num {
  width: 32px !important;
  height: 32px !important;
  background: #C9A96E !important;
  color: #0C192E !important;
  font-weight: 800 !important;
  font-size: 0.95rem !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  margin-top: 2px !important;
}

.divin-step-text {
  font-size: 0.98rem !important;
  line-height: 1.55 !important;
  color: #F8FAFC !important;
}

.divin-step-text strong {
  color: #FFFFFF !important;
  font-weight: 700 !important;
}

.divin-bac-illustration-card {
  background: rgba(12, 25, 46, 0.75) !important;
  border: 1px solid rgba(201, 169, 110, 0.4) !important;
  border-radius: 14px !important;
  padding: 20px !important;
  text-align: center !important;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.3) !important;
}

.divin-bac-img-wrap {
  width: 100% !important;
  max-width: 220px !important;
  margin: 0 auto 14px auto !important;
  border-radius: 10px !important;
  overflow: hidden !important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
}

.divin-bac-img-wrap img {
  width: 100% !important;
  height: auto !important;
  display: block !important;
  object-fit: cover !important;
}

.divin-bac-caption {
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  color: #C9A96E !important;
  margin-bottom: 4px !important;
}

.divin-bac-subcaption {
  font-size: 0.82rem !important;
  color: #94A3B8 !important;
  line-height: 1.4 !important;
}

/* ==========================================================================
   MEGA-MENU "LOJA" & COMBOS PROMOCIONAIS HIGHLIGHT
   ========================================================================== */

.divin-menu-item-has-mega {
  position: static !important;
}

.divin-menu-link-loja {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
}

.divin-menu-arrow {
  transition: transform 0.25s ease !important;
}

.divin-menu-item-has-mega:hover .divin-menu-arrow {
  transform: rotate(180deg) !important;
}

/* Dropdown Container */
.divin-mega-menu {
  position: absolute !important;
  top: 100% !important;
  left: 50% !important;
  transform: translateX(-50%) translateY(10px) !important;
  width: 900px !important;
  max-width: calc(100% - 32px) !important;
  background: #0C192E !important;
  border: 1px solid rgba(201, 169, 110, 0.4) !important;
  border-radius: 16px !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45) !important;
  padding: 24px !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease !important;
  z-index: 99999 !important;
}

/* Hover Bridge area to prevent mouse drop */
.divin-mega-menu::before {
  content: "" !important;
  position: absolute !important;
  top: -15px !important;
  left: 0 !important;
  right: 0 !important;
  height: 15px !important;
}

.divin-menu-item-has-mega:hover .divin-mega-menu {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: translateX(-50%) translateY(0) !important;
}

.divin-mega-menu-inner {
  display: grid !important;
  grid-template-columns: 240px 1fr !important;
  gap: 24px !important;
  align-items: stretch !important;
}

@media (max-width: 768px) {
  .divin-mega-menu-inner {
    grid-template-columns: 1fr !important;
  }
}

/* Coluna 1: Categorias */
.divin-mega-categories {
  border-right: 1px solid rgba(255, 255, 255, 0.1) !important;
  padding-right: 20px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
}

.divin-mega-section-title {
  font-size: 0.8rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
  color: #C9A96E !important;
  margin-bottom: 14px !important;
}

.divin-mega-cat-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 0 16px 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
}

/* ==========================================================================
   MEGA-MENU STRICT ISOLATION & WOOCOMMERCE SHIELDING
   ========================================================================== */

/* Universal Reset for All Links inside Mega Menu on ANY Page (Home, Shop, Archives, Single) */
.divin-mega-menu a,
body.woocommerce .divin-mega-menu a,
body.woocommerce-page .divin-mega-menu a,
#site-header .divin-mega-menu a,
.site-header .divin-mega-menu a {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  text-decoration: none !important;
}

/* Category Links in Left Column */
.divin-mega-cat-link,
body.woocommerce .divin-mega-cat-link,
body.woocommerce-page .divin-mega-cat-link {
  color: #CBD5E1 !important;
  font-size: 0.92rem !important;
  font-weight: 500 !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 8px 12px !important;
  border-radius: 6px !important;
  background: transparent !important;
  border: 1px solid transparent !important;
  transition: all 0.2s ease !important;
  box-shadow: none !important;
}

.divin-mega-cat-link:hover,
body.woocommerce .divin-mega-cat-link:hover,
body.woocommerce-page .divin-mega-cat-link:hover {
  color: #FFFFFF !important;
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid transparent !important;
}

/* Highlighted Category Link (Combos Promocionais) */
.divin-mega-highlight,
body.woocommerce .divin-mega-highlight,
body.woocommerce-page .divin-mega-highlight {
  color: #F8FAFC !important;
  font-weight: 700 !important;
  background: rgba(201, 169, 110, 0.15) !important;
  border: 1px solid rgba(201, 169, 110, 0.35) !important;
}

.divin-mega-highlight:hover,
body.woocommerce .divin-mega-highlight:hover,
body.woocommerce-page .divin-mega-highlight:hover {
  background: rgba(201, 169, 110, 0.25) !important;
  border: 1px solid rgba(201, 169, 110, 0.5) !important;
}

.divin-mega-badge-hot {
  background: #C9A96E !important;
  color: #0C192E !important;
  font-size: 0.65rem !important;
  font-weight: 900 !important;
  padding: 2px 6px !important;
  border-radius: 4px !important;
  letter-spacing: 0.05em !important;
}

.divin-mega-all-products-link,
body.woocommerce .divin-mega-all-products-link,
body.woocommerce-page .divin-mega-all-products-link {
  font-size: 0.85rem !important;
  font-weight: 700 !important;
  color: #C9A96E !important;
  text-decoration: none !important;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: inline-block !important;
}

.divin-mega-all-products-link:hover,
body.woocommerce .divin-mega-all-products-link:hover,
body.woocommerce-page .divin-mega-all-products-link:hover {
  text-decoration: underline !important;
  background: transparent !important;
  color: #DFB775 !important;
}

/* Coluna 2: Combos Banner & Carrossel Grid 2x3 + Dots */
.divin-mega-combos-banner {
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  overflow: hidden !important;
}

.divin-mega-banner-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin-bottom: 14px !important;
}

.divin-mega-banner-tag {
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  color: #C9A96E !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
}

.divin-mega-banner-title {
  font-family: var(--font-heading, 'Cormorant Garamond', serif) !important;
  font-size: 1.4rem !important;
  font-weight: 700 !important;
  color: #FFFFFF !important;
  margin: 2px 0 0 0 !important;
}

.divin-mega-viewall-btn,
body.woocommerce .divin-mega-viewall-btn,
body.woocommerce-page .divin-mega-viewall-btn {
  font-size: 0.82rem !important;
  color: #CBD5E1 !important;
  text-decoration: none !important;
  font-weight: 600 !important;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  display: inline-block !important;
}

.divin-mega-viewall-btn:hover,
body.woocommerce .divin-mega-viewall-btn:hover,
body.woocommerce-page .divin-mega-viewall-btn:hover {
  color: #C9A96E !important;
  background: transparent !important;
}

/* Slide Container & 2x3 Grid Layout */
.divin-mega-combos-pages-wrap {
  width: 100% !important;
  position: relative !important;
}

.divin-mega-slides-container {
  width: 100% !important;
  position: relative !important;
}

.divin-mega-slide {
  display: none !important;
  opacity: 0 !important;
  transition: opacity 0.35s ease-in-out !important;
}

.divin-mega-slide.active {
  display: block !important;
  opacity: 1 !important;
}

.divin-mega-grid-2x3 {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 12px !important;
}

@media (max-width: 600px) {
  .divin-mega-grid-2x3 {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

.divin-mega-combo-card,
body.woocommerce .divin-mega-combo-card,
body.woocommerce-page .divin-mega-combo-card {
  width: 100% !important;
  box-sizing: border-box !important;
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(201, 169, 110, 0.25) !important;
  border-radius: 12px !important;
  padding: 10px !important;
  text-decoration: none !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2) !important;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease !important;
}

.divin-mega-combo-card:hover,
body.woocommerce .divin-mega-combo-card:hover,
body.woocommerce-page .divin-mega-combo-card:hover {
  transform: translateY(-3px) scale(1.02) !important;
  border-color: #C9A96E !important;
  background: rgba(201, 169, 110, 0.15) !important;
  box-shadow: 0 8px 24px rgba(201, 169, 110, 0.25) !important;
}

.divin-mega-combo-thumb {
  width: 100% !important;
  height: 140px !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  margin-bottom: 8px !important;
  background: #000000 !important;
}

.divin-mega-combo-thumb img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transition: transform 0.3s ease !important;
}

.divin-mega-combo-card:hover .divin-mega-combo-thumb img {
  transform: scale(1.05) !important;
}

.divin-mega-combo-title {
  font-size: 0.8rem !important;
  font-weight: 700 !important;
  color: #F8FAFC !important;
  line-height: 1.25 !important;
  margin-bottom: 4px !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  min-height: 2.5em !important;
}

.divin-mega-combo-price {
  font-size: 0.88rem !important;
  font-weight: 800 !important;
  color: #C9A96E !important;
}

/* Dots Pagination (Bolinhas) */
.divin-mega-dots-wrap {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 10px !important;
  margin-top: 14px !important;
}

.divin-mega-dot,
body.woocommerce .divin-mega-dot,
body.woocommerce-page .divin-mega-dot {
  width: 12px !important;
  height: 12px !important;
  border-radius: 50% !important;
  border: 2px solid #C9A96E !important;
  background: transparent !important;
  cursor: pointer !important;
  padding: 0 !important;
  margin: 0 !important;
  transition: all 0.25s ease !important;
  outline: none !important;
  box-shadow: none !important;
}

.divin-mega-dot:hover,
body.woocommerce .divin-mega-dot:hover,
body.woocommerce-page .divin-mega-dot:hover {
  background: rgba(201, 169, 110, 0.5) !important;
  transform: scale(1.2) !important;
}

.divin-mega-dot.active,
body.woocommerce .divin-mega-dot.active,
body.woocommerce-page .divin-mega-dot.active {
  background: #C9A96E !important;
  width: 26px !important;
  border-radius: 10px !important;
  box-shadow: 0 0 10px rgba(201, 169, 110, 0.6) !important;
}
  width: 26px !important;
  border-radius: 10px !important;
  box-shadow: 0 0 10px rgba(201, 169, 110, 0.6) !important;
}

.divin-filter-tab-gold {
  background: rgba(201, 169, 110, 0.15) !important;
  border-color: #C9A96E !important;
  color: #C9A96E !important;
  font-weight: 700 !important;
}

.divin-filter-tab-gold:hover,
.divin-filter-tab-gold.active {
  background: #C9A96E !important;
  color: #0C192E !important;
}

.divin-combo-disclaimer {
  display: block !important;
  margin-top: 5px !important;
  font-size: 0.8rem !important;
  color: #94A3B8 !important;
  font-style: italic !important;
  font-weight: 500 !important;
}

/* ==========================================================================
   CLASSIC WOOCOMMERCE CART PREMIUM RESPONSIVE STYLING (FIX DISTORTION)
   ========================================================================== */
.woocommerce-cart .woocommerce {
  display: block !important;
  width: 100% !important;
  max-width: 1140px !important;
  margin: 0 auto !important;
}

.woocommerce-cart .woocommerce-cart-form {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 0 40px 0 !important;
  float: none !important;
}

.woocommerce-cart table.shop_table.cart {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 0 24px 0 !important;
  float: none !important;
  table-layout: auto !important;
}

.woocommerce-cart .cart-collaterals {
  display: block !important;
  width: 100% !important;
  max-width: 600px !important;
  margin: 40px auto 0 auto !important;
  position: relative !important;
}

.divin-mega-slides-container {
  width: 100% !important;
  position: relative !important;
}

.divin-mega-slide {
  display: none !important;
  opacity: 0 !important;
  transition: opacity 0.35s ease-in-out !important;
}

.divin-mega-slide.active {
  display: block !important;
  opacity: 1 !important;
}

.divin-mega-grid-2x3 {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 12px !important;
}

@media (max-width: 600px) {
  .divin-mega-grid-2x3 {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

.divin-mega-combo-card,
body.woocommerce .divin-mega-combo-card,
body.woocommerce-page .divin-mega-combo-card {
  width: 100% !important;
  box-sizing: border-box !important;
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(201, 169, 110, 0.25) !important;
  border-radius: 12px !important;
  padding: 10px !important;
  text-decoration: none !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2) !important;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease !important;
}

.divin-mega-combo-card:hover,
body.woocommerce .divin-mega-combo-card:hover,
body.woocommerce-page .divin-mega-combo-card:hover {
  transform: translateY(-3px) scale(1.02) !important;
  border-color: #C9A96E !important;
  background: rgba(201, 169, 110, 0.15) !important;
  box-shadow: 0 8px 24px rgba(201, 169, 110, 0.25) !important;
}

.divin-mega-combo-thumb {
  width: 100% !important;
  height: 140px !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  margin-bottom: 8px !important;
  background: #000000 !important;
}

.divin-mega-combo-thumb img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transition: transform 0.3s ease !important;
}

.divin-mega-combo-card:hover .divin-mega-combo-thumb img {
  transform: scale(1.05) !important;
}

.divin-mega-combo-title {
  font-size: 0.8rem !important;
  font-weight: 700 !important;
  color: #F8FAFC !important;
  line-height: 1.25 !important;
  margin-bottom: 4px !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  min-height: 2.5em !important;
}

.divin-mega-combo-price {
  font-size: 0.88rem !important;
  font-weight: 800 !important;
  color: #C9A96E !important;
}

/* Dots Pagination (Bolinhas) */
.divin-mega-dots-wrap {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 10px !important;
  margin-top: 14px !important;
}

.divin-mega-dot,
body.woocommerce .divin-mega-dot,
body.woocommerce-page .divin-mega-dot {
  width: 12px !important;
  height: 12px !important;
  border-radius: 50% !important;
  border: 2px solid #C9A96E !important;
  background: transparent !important;
  cursor: pointer !important;
  padding: 0 !important;
  margin: 0 !important;
  transition: all 0.25s ease !important;
  outline: none !important;
  box-shadow: none !important;
}

.divin-mega-dot:hover,
body.woocommerce .divin-mega-dot:hover,
body.woocommerce-page .divin-mega-dot:hover {
  background: rgba(201, 169, 110, 0.5) !important;
  transform: scale(1.2) !important;
}

.divin-mega-dot.active,
body.woocommerce .divin-mega-dot.active,
body.woocommerce-page .divin-mega-dot.active {
  background: #C9A96E !important;
  width: 26px !important;
  border-radius: 10px !important;
  box-shadow: 0 0 10px rgba(201, 169, 110, 0.6) !important;
}
  width: 26px !important;
  border-radius: 10px !important;
  box-shadow: 0 0 10px rgba(201, 169, 110, 0.6) !important;
}

.divin-filter-tab-gold {
  background: rgba(201, 169, 110, 0.15) !important;
  border-color: #C9A96E !important;
  color: #C9A96E !important;
  font-weight: 700 !important;
}

.divin-filter-tab-gold:hover,
.divin-filter-tab-gold.active {
  background: #C9A96E !important;
  color: #0C192E !important;
}

.divin-combo-disclaimer {
  display: block !important;
  margin-top: 5px !important;
  font-size: 0.8rem !important;
  color: #94A3B8 !important;
  font-style: italic !important;
  font-weight: 500 !important;
}

/* ==========================================================================
   CLASSIC WOOCOMMERCE CART PREMIUM RESPONSIVE STYLING (FIX DISTORTION)
   ========================================================================== */
.woocommerce-cart .woocommerce {
  display: block !important;
  width: 100% !important;
  max-width: 1140px !important;
  margin: 0 auto !important;
}

.woocommerce-cart .woocommerce-cart-form {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 0 40px 0 !important;
  float: none !important;
}

.woocommerce-cart table.shop_table.cart {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 0 24px 0 !important;
  float: none !important;
  table-layout: auto !important;
}

.woocommerce-cart .cart-collaterals {
  display: block !important;
  width: 100% !important;
  max-width: 600px !important;
  margin: 40px auto 0 auto !important;
  float: none !important;
}

.woocommerce-cart .cart_totals {
  width: 100% !important;
  float: none !important;
}

/* Coupon Input & Label Uppercase Styling */
.woocommerce-cart .coupon input[type="text"],
.woocommerce-checkout .coupon input[type="text"],
.wc-block-components-totals-coupon__input input,
.coupon-code-cell code,
.wc-block-components-totals-coupon__name {
  text-transform: uppercase !important;
}

/* ==========================================================================
   AFFILIATE & WITHDRAWAL DASHBOARD STYLES (MINHA CONTA)
   ========================================================================== */

.divin-affiliate-dashboard {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 12px !important;
  padding: 30px !important;
  margin-bottom: 40px !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03) !important;
}

.divin-affiliate-title {
  color: #0b1528 !important;
  font-size: 24px !important;
  font-weight: 800 !important;
  margin-top: 0 !important;
  margin-bottom: 8px !important;
}

.divin-affiliate-subtitle {
  color: #64748b !important;
  font-size: 15px !important;
  margin-bottom: 25px !important;
}

/* Link de Indicação Card */
.divin-referral-link-card {
  background: linear-gradient(135deg, #0b1528 0%, #16243e 100%) !important;
  border-radius: 10px !important;
  padding: 20px !important;
  color: #ffffff !important;
  margin-bottom: 25px !important;
  box-shadow: 0 4px 12px rgba(11, 21, 40, 0.15) !important;
}

.divin-referral-link-card .referral-link-header {
  font-weight: 700 !important;
  font-size: 15px !important;
  margin-bottom: 10px !important;
  color: #c9a050 !important;
}

.divin-referral-link-card .referral-link-body {
  display: flex !important;
  gap: 10px !important;
}

.divin-referral-link-card input {
  flex: 1 !important;
  background: rgba(255, 255, 255, 0.1) !important;
  border: 1px solid rgba(201, 160, 80, 0.4) !important;
  color: #ffffff !important;
  font-size: 14px !important;
  padding: 10px 14px !important;
  border-radius: 6px !important;
}

.divin-referral-link-card button {
  background: #c9a050 !important;
  color: #0b1528 !important;
  font-weight: 800 !important;
  border: none !important;
  padding: 10px 20px !important;
  border-radius: 6px !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}

.divin-referral-link-card button:hover {
  background: #e2b96c !important;
}

/* Stats Grid */
.divin-stats-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)) !important;
  gap: 16px !important;
  margin-bottom: 30px !important;
}

.divin-stat-card {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 10px !important;
  padding: 20px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
}

.divin-stat-card .stat-label {
  font-size: 13px !important;
  color: #64748b !important;
  font-weight: 600 !important;
}

.divin-stat-card .stat-value {
  font-size: 22px !important;
  font-weight: 800 !important;
  color: #0b1528 !important;
}

.divin-stat-card .stat-value.date {
  font-size: 16px !important;
  color: #0284c7 !important;
}

.divin-stat-card .stat-sub {
  font-size: 12px !important;
  color: #94a3b8 !important;
}

.divin-stat-card.available {
  border-left: 4px solid #16a34a !important;
}

.divin-stat-card.requested {
  border-left: 4px solid #eab308 !important;
}

.divin-stat-card.paid {
  border-left: 4px solid #0284c7 !important;
}

.divin-stat-card.payout-date {
  border-left: 4px solid #8b5cf6 !important;
}

/* Formulário de Dados Bancários */
.divin-bank-form-box {
  background: #f1f5f9 !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 10px !important;
  padding: 25px !important;
  margin-bottom: 30px !important;
}

.divin-bank-form-box h3 {
  color: #0b1528 !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  margin-top: 0 !important;
  margin-bottom: 6px !important;
}

.divin-bank-form-box p {
  font-size: 14px !important;
  color: #475569 !important;
  margin-bottom: 20px !important;
}

.divin-form-row {
  display: grid !important;
  gap: 16px !important;
  margin-bottom: 16px !important;
}

.divin-form-row.col-2 {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)) !important;
}

.divin-form-row.col-3 {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)) !important;
}

.divin-bank-form-box label {
  display: block !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  color: #1e293b !important;
  margin-bottom: 6px !important;
}

.divin-bank-form-box input,
.divin-bank-form-box select {
  width: 100% !important;
  padding: 10px 12px !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 6px !important;
  font-size: 14px !important;
  background: #ffffff !important;
}

.divin-form-actions {
  display: flex !important;
  align-items: center !important;
  gap: 15px !important;
  margin-top: 20px !important;
}

.form-feedback-msg {
  font-weight: 700 !important;
  font-size: 14px !important;
}

/* Sections & Tables */
.divin-section-box {
  margin-top: 35px !important;
}

.section-header-flex {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 15px !important;
  margin-bottom: 16px !important;
}

.section-header-flex h3 {
  margin: 0 !important;
  font-size: 18px !important;
  color: #0b1528 !important;
}

.action-btn-withdrawal {
  background: #16a34a !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  padding: 10px 22px !important;
  border-radius: 6px !important;
  border: none !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}

.action-btn-withdrawal:hover {
  background: #15803d !important;
}

.divin-table {
  width: 100% !important;
  border-collapse: collapse !important;
  margin-top: 10px !important;
}

.divin-table th {
  background: #f8fafc !important;
  color: #475569 !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  padding: 12px 16px !important;
  border-bottom: 2px solid #e2e8f0 !important;
}

.divin-table td {
  padding: 14px 16px !important;
  border-bottom: 1px solid #f1f5f9 !important;
  font-size: 14px !important;
  vertical-align: middle !important;
}

.badge-status {
  display: inline-block !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  padding: 4px 10px !important;
  border-radius: 12px !important;
}

.badge-status.available {
  background: #dcfce7 !important;
  color: #15803d !important;
}

.badge-status.requested {
  background: #fef9c3 !important;
  color: #a16207 !important;
}

.badge-status.paid {
  background: #e0f2fe !important;
  color: #0369a1 !important;
}

.badge-status.used {
  background: #f1f5f9 !important;
  color: #475569 !important;
}

.type-badge {
  font-size: 12px !important;
  font-weight: 600 !important;
}

.type-badge.pix {
  color: #16a34a !important;
}

.type-badge.shop {
  color: #0284c7 !important;
}
