/* GUIADECOMPRAS — Hero Search Widget styles
   Palette sampled directly from the logo file — no outside hues. */

.gdc-hero {
  --navy:        #021F69;
  --blue-mid:    #0049AA;
  --blue-bright: #0098F7;
  --blue-light:  #00A7FD;
  --orange:      #FD721B;
  --amber:       #F8A820;
  --green:       #0EED26;
  --paper:       #FFFFFF;

  position: relative;
  left: 50%;
  right: 50%;
  width: 100vw;
  margin-left: -50vw;
  margin-right: -50vw;
  margin-top: 0;
  margin-bottom: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 20%, rgba(0,152,247,0.07) 0%, transparent 45%),
    radial-gradient(circle at 84% 74%, rgba(253,114,27,0.06) 0%, transparent 50%),
    var(--paper);
  padding: 88px 24px 72px;
  font-family: 'Inter', sans-serif;
  text-align: center;
  isolation: isolate;
  box-sizing: border-box;
}

/* Kill any theme/Elementor spacing around the widget so it sits flush
   under the header and spans the full browser width. */
.elementor-widget-gdc_hero_widget,
.elementor-widget-gdc_hero_widget > .elementor-widget-container,
.elementor-element.elementor-widget-gdc_hero_widget {
  margin: 0 !important;
  padding: 0 !important;
}
.elementor-widget-gdc_hero_widget .elementor-widget-container {
  overflow: visible;
}

.gdc-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(0,73,170,0.16) 1px, transparent 1px);
  background-size: 26px 26px;
  opacity: 0.55;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 20%, transparent 75%);
  z-index: 0;
}

/* Full-bleed sections can introduce a horizontal scrollbar on some
   themes if the page body doesn't already clip overflow-x. This is
   a safe, narrowly-scoped fix. */
html body {
  overflow-x: hidden;
}

.gdc-hero * { box-sizing: border-box; }
.gdc-inner { position: relative; z-index: 2; max-width: 760px; margin: 0 auto; }

.gdc-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--paper);
  border: 1px solid rgba(0,73,170,0.18);
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--navy);
  box-shadow: 0 6px 16px rgba(2,31,105,0.08);
  margin-bottom: 28px;
}
.gdc-pill .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(14,237,38,0.2);
}

.gdc-hero h1 {
  font-family: 'Baloo 2', sans-serif;
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.5px;
  font-size: clamp(34px, 5.4vw, 58px);
  color: var(--navy);
  margin: 0 0 20px;
}
.gdc-hero h1 .accent { color: var(--blue-bright); }
.gdc-hero h1 .accent2 {
  position: relative;
  color: var(--navy);
  white-space: nowrap;
}
.gdc-hero h1 .accent2::after {
  content: "";
  position: absolute;
  left: -2%; right: -2%; bottom: 6px;
  height: 12px;
  background: var(--amber);
  opacity: 0.4;
  z-index: -1;
  border-radius: 6px;
}

.gdc-sub {
  font-size: 17px;
  color: var(--blue-mid);
  opacity: 0.85;
  max-width: 520px;
  margin: 0 auto 34px;
  line-height: 1.55;
}

.gdc-search {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--paper);
  border: 1px solid rgba(0,73,170,0.18);
  border-radius: 16px;
  padding: 8px 8px 8px 20px;
  max-width: 560px;
  margin: 0 auto 22px;
  box-shadow: 0 14px 32px rgba(2,31,105,0.1);
}
.gdc-search svg.icon-search { flex-shrink: 0; color: var(--blue-mid); }
.gdc-search input {
  flex: 1;
  border: none;
  outline: none;
  font-family: 'Inter', sans-serif;
  font-size: 15.5px;
  color: var(--navy);
  background: transparent;
  padding: 10px 0;
}
.gdc-search input::placeholder { color: rgba(0,73,170,0.45); }
.gdc-search button {
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--orange), var(--amber));
  color: #fff;
  border: none;
  border-radius: 11px;
  padding: 13px 24px;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 14.5px;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
  white-space: nowrap;
}
.gdc-search button:hover { transform: translateY(-1px); box-shadow: 0 8px 18px rgba(253,114,27,0.35); }

.gdc-popular {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: var(--blue-mid);
  margin-bottom: 34px;
}
.gdc-popular .label { font-weight: 600; color: var(--navy); }
.gdc-chip {
  background: #fff;
  border: 1px solid rgba(0,73,170,0.18);
  color: var(--blue-bright);
  padding: 7px 15px;
  border-radius: 999px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: background .15s ease, border-color .15s ease;
}
.gdc-chip:hover { background: rgba(0,152,247,0.08); border-color: var(--blue-bright); color: var(--blue-bright); }

.gdc-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 26px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--navy);
}
.gdc-stats span { display: inline-flex; align-items: center; gap: 6px; }
.gdc-stats svg { flex-shrink: 0; }

.gdc-float {
  position: absolute;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 12.5px;
  font-weight: 600;
  color: #fff;
  box-shadow: 0 8px 20px rgba(2,31,105,0.18);
}
.f-verified { top: 46%; left: 4%; background: linear-gradient(135deg, var(--green), #08B81E); }
.f-free     { top: 8%;  right: 5%; background: linear-gradient(135deg, var(--blue-bright), var(--blue-mid)); }
.f-updated  { bottom: 14%; right: 3%; background: linear-gradient(135deg, var(--orange), var(--amber)); }

.gdc-tagcard {
  position: absolute;
  width: 128px;
  height: 76px;
  border-radius: 14px;
  box-shadow: 0 16px 30px rgba(2,31,105,0.2);
  display: flex;
  overflow: hidden;
}
.card-top {
  background: linear-gradient(135deg, var(--blue-bright), var(--blue-mid));
}
.card-bottom {
  background: linear-gradient(135deg, var(--amber), var(--orange));
}
.gdc-tagcard .stripe {
  width: 34%;
  background: rgba(255,255,255,0.18);
  position: relative;
}
.gdc-tagcard .stripe::after {
  content: "";
  position: absolute;
  inset: 8px;
  border: 2px dashed rgba(255,255,255,0.6);
  border-radius: 8px;
}
.gdc-tagcard .lines { flex: 1; padding: 14px 12px; display: flex; flex-direction: column; gap: 7px; justify-content: center; }
.gdc-tagcard .lines i { display: block; height: 6px; border-radius: 3px; background: #fff; opacity: .9; }
.gdc-tagcard .lines i:nth-child(1) { width: 70%; }
.gdc-tagcard .lines i:nth-child(2) { width: 45%; opacity: .65; }

.card-top    { top: 4%; left: 2%; transform: rotate(-9deg); }
.card-bottom { top: 30%; right: 2%; transform: rotate(7deg); }

.gdc-percent {
  position: absolute;
  bottom: 6%;
  left: 6%;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), var(--amber));
  border: 3px dashed rgba(255,255,255,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: 'Baloo 2', sans-serif;
  font-weight: 800;
  font-size: 26px;
  box-shadow: 0 14px 26px rgba(253,114,27,0.35);
  z-index: 1;
}

.gdc-sparkle { position: absolute; color: var(--green); opacity: .85; z-index: 1; }
.sp-1 { top: 4%; left: 15%; }
.sp-2 { bottom: 6%; right: 22%; }

@media (max-width: 900px) {
  .gdc-tagcard, .gdc-float, .gdc-percent, .gdc-sparkle { display: none; }
  .gdc-hero { padding: 64px 20px 52px; }
}
@media (max-width: 560px) {
  .gdc-search { flex-wrap: wrap; padding: 14px; border-radius: 18px; }
  .gdc-search input { width: 100%; padding: 6px 0 12px; }
  .gdc-search button { width: 100%; justify-content: center; }
  .gdc-stats { gap: 14px 20px; }
}

@media (prefers-reduced-motion: no-preference) {
  .gdc-tagcard, .gdc-percent, .gdc-float { transition: transform .4s ease; }
}
