/* Home page dedicated styles: hero, delivery banner, urgency bar, products */

/* =============================== Hero =============================== */
.hero-section {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  isolation: isolate; /* allow overlay stacking */
}

.hero-background-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.05);
  z-index: -2;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 12, 20, 0.60) 0%, rgba(8, 12, 20, 0.35) 42%, rgba(8, 12, 20, 0.10) 72%, rgba(8, 12, 20, 0.00) 100%);
  z-index: -1;
}

.hero-text-panel {
  background: rgba(20, 24, 32, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 24px 24px 20px;
  color: #f7f8fa;
  backdrop-filter: blur(6px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}

.hero-text-panel h1 {
  font-size: clamp(28px, 4.5vw, 44px);
  line-height: 1.15;
  font-weight: 800;
  margin: 0 0 10px 0;
}

.hero-text-panel .text-primary { color: #ec0924; }

.hero-subheadline {
  color: #e8ecf3;
  font-weight: 600;
  opacity: 0.9;
  margin: 6px 0 16px 0;
}

.hero-reviews {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 8px 0 18px 0;
}

.hero-reviews .reviews img {
  width: 18px;
  height: 18px;
}

.hero-reviews span {
  font-size: 14px;
  color: #dbe3ef;
}

/* ZIP form */
.hero-zip-form .input-group {
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
}

.hero-zip-form .input-group-label {
  background: rgba(255,255,255,0.10);
  border-right: 1px solid rgba(255,255,255,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
}

.hero-zip-form .input-group-field {
  background: transparent;
  color: #ffffff;
}

.hero-zip-form .input-group-field::placeholder {
  color: #e0e6ef;
}

.hero-zip-form .input-group-button .button {
  background: #ec0924;
  border: none;
  color: white;
  font-weight: 700;
}

.hero-zip-form .input-group-button .button:hover {
  background: #b3071b;
}

.hero-cta-buttons { display: flex; gap: 10px; margin-top: 14px; }

.hero-cta-buttons .button.primary {
  background: #ec0924;
  color: #fff;
  font-weight: 800;
  border: none;
  border-radius: 12px;
}

.hero-cta-buttons .button.primary:hover { background: #b3071b; }

.hero-cta-buttons .button.secondary {
  background: #ffffff;
  border: 1px solid #d5dbe3;
  color: #1a1f2b;
  font-weight: 700;
  border-radius: 12px;
}

.hero-cta-buttons .button.secondary:hover {
  border-color: #aab3bf;
}

/* Wave already defined globally; ensure spacing in hero */
.hero-section .banner-wave { margin-top: 0; }

@media (max-width: 992px) {
  .hero-text-panel { border-radius: 16px; padding: 18px; }
}

/* =============================== Delivery Banner =============================== */
.delivery-banner {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 12px 14px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
  margin: 14px auto 10px;
}

.delivery-banner-items {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.delivery-banner .db-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid #eef2f7;
  background: #fafbfc;
}

.delivery-banner .db-icon { color: #ec0924; }

@media (max-width: 640px) {
  .delivery-banner-items { grid-template-columns: 1fr; }
}

/* =============================== Urgency Bar =============================== */
.urgency-bar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 6px 0 12px;
}

.urgency-bar .u-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 8px 12px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.05);
  font-weight: 600;
  color: #1a1f2b;
}

.urgency-bar .u-item a { color: #0d6efd; text-decoration: none; }
.urgency-bar .u-item a:hover { text-decoration: underline; }

.urgency-bar .u-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #ec0924;
  box-shadow: 0 0 0 4px rgba(236, 9, 36, 0.15);
  animation: pulse-dot 1.6s infinite ease-in-out;
}

@keyframes pulse-dot {
  0% { transform: scale(1); }
  50% { transform: scale(1.25); }
  100% { transform: scale(1); }
}

@media (max-width: 768px) {
  .urgency-bar { grid-template-columns: 1fr; }
}

/* =============================== Products =============================== */
.single-product {
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.06);
  transition: transform 160ms ease, box-shadow 160ms ease;
  background: #fff;
}

.single-product:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(0,0,0,0.08);
}

.single-product .product-img img {
  border-top-left-radius: 14px;
  border-top-right-radius: 14px;
}

.single-product .product-desc {
  padding: 10px 12px;
}

.preco-canto {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(255,255,255,0.92);
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  padding: 6px 8px;
  font-weight: 800;
  color: #1a1f2b;
}

.cart-add button.btn_addcart_home {
  background: #ec0924 !important;
  color: #fff !important;
  border: none !important;
  font-weight: 800 !important;
}

.cart-add button.btn_addcart_home:hover {
  background: #b3071b !important;
}

