:root {
  --yellow: #ffbc0f;
  --yellow-dark: #f2a600;
  --black: #212121;
  --gray: #6b6b6b;
  --green: #00a84f;
  --white: #ffffff;
  --shadow: 0 15px 35px rgba(28, 22, 5, 0.15);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Lexend", "Segoe UI", Arial, sans-serif;
  background: #f9f7f2;
  color: var(--black);
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
}

.site-header {
  background: var(--yellow);
  padding: 1.25rem 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-transform: uppercase;
  color: var(--black);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
}

.logo img {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 2px solid rgba(0, 0, 0, 0.12);
  object-fit: cover;
  background: var(--white);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-weight: 500;
  font-size: 0.95rem;
  flex-wrap: nowrap;
}

.main-nav a {
  padding: 0.4rem 0;
  position: relative;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.4rem;
  height: 3px;
  background: transparent;
  border-radius: 999px;
  transition: background 0.2s;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  background: var(--black);
}

.main-nav a.active::after {
  background: var(--black);
}

.logo a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
}

.nav-dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-trigger {
  cursor: pointer;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 0.5rem;
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  min-width: 180px;
  padding: 0.5rem 0;
  z-index: 100;
}

.dropdown-menu a {
  display: block;
  padding: 0.75rem 1.25rem;
  color: var(--black);
  text-decoration: none;
  font-weight: 500;
  transition: background 0.2s;
}

.dropdown-menu a:hover {
  background: rgba(0, 0, 0, 0.05);
}

.ghost-btn {
  padding: 0.65rem 1.5rem;
  border-radius: 999px;
  border: 2px solid var(--black);
  background: transparent;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.85rem;
}

main {
  max-width: 1200px;
  margin: 2.5rem auto 3rem;
  padding: 0 1.5rem;
}

.hero-card {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  background: var(--white);
  padding: 2rem;
  border-radius: 28px;
  box-shadow: var(--shadow);
}

/* Countdown Section */
.countdown-section {
  max-width: 1200px;
  margin: 2rem auto 0;
  padding: 0 1.5rem;
}

.countdown-card {
  background: transparent;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.countdown-timer {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.countdown-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  min-width: 90px;
}

.countdown-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  font-family: 'Lexend', sans-serif;
}

.countdown-label-small {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #ff4444;
  line-height: 1;
}

.hero-content {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  width: 100%;
}

.hero-carousel {
  flex: 1 1 600px;
  min-height: 420px;
  max-height: 500px;
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow);
  background: #000;
  width: 100%;
}

.carousel-track {
  display: flex;
  height: 100%;
  width: 100%;
  transition: transform 0.7s ease;
  overflow: hidden;
}

.carousel-track img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  flex: 0 0 100%;
  display: block;
}

.carousel-slide {
  position: relative;
  flex: 0 0 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.carousel-badge-top-left {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  background: var(--yellow);
  color: var(--black);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  z-index: 10;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.carousel-badge-top-right {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: var(--yellow);
  color: var(--black);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  z-index: 10;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.carousel-content {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  z-index: 10;
  width: 100%;
  padding: 0 2rem;
}

.carousel-off {
  color: var(--yellow);
  font-size: 5rem;
  font-weight: 800;
  line-height: 1;
  text-shadow: 0 4px 20px rgba(255, 188, 15, 0.5);
  margin-bottom: 1rem;
}

.carousel-text {
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.carousel-control span {
  display: block;
  width: 12px;
  height: 12px;
  border-top: 3px solid #111;
  border-right: 3px solid #111;
  transform: rotate(45deg);
}

.carousel-control.prev {
  left: 20px;
}

.carousel-control.prev span {
  transform: rotate(225deg);
}

.carousel-control.next {
  right: 20px;
}

.purchase-card {
  flex: 0 0 420px;
  min-width: 420px;
  background: transparent;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.purchase-info {
  position: relative;
  background: linear-gradient(135deg, #fcd045, #f5b11b);
  border-radius: 26px;
  padding: 2rem 2.25rem;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.benefit-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  color: #1d1d1d;
  text-transform: uppercase;
  position: relative;
}

.discount-badge {
  background: #0a6af4;
  color: var(--white);
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-left: auto;
  box-shadow: 0 4px 10px rgba(10, 106, 244, 0.3);
}

.benefit-item.filled {
  background: #111;
  color: var(--white);
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  width: fit-content;
}

.benefit-item.filled .bf-arrow {
  color: var(--white);
}

.bullet {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid rgba(0, 0, 0, 0.5);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.bullet::after {
  content: "";
  width: 6px;
  height: 6px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
  position: absolute;
}

.discount-pill {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: #0a6af4;
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  box-shadow: 0 8px 20px rgba(10, 106, 244, 0.4);
  text-transform: uppercase;
}

.info-icon {
  position: absolute;
  bottom: 1.2rem;
  right: 1.2rem;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.65);
  color: var(--white);
  font-weight: 700;
  cursor: pointer;
}

.quantity-bar {
  margin-top: 0.75rem;
  background: #111;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 1.25rem;
  gap: 1.25rem;
}

.qty-btn {
  width: 58px;
  height: 58px;
  border-radius: 999px;
  border: none;
  background: #ffbc0f;
  color: #111;
  font-size: 2.2rem;
  font-weight: 600;
  cursor: pointer;
}

.quantity-box {
  background: #dedede;
  color: #111;
  min-width: 100px;
  text-align: center;
  border-radius: 16px;
  padding: 0.5rem 1rem;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.purchase-cta {
  margin-top: 0.25rem;
  width: 100%;
  border: none;
  border-radius: 24px;
  background: linear-gradient(90deg, #18b000, #33c400);
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 1.1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  box-shadow: 0 20px 30px rgba(0, 128, 0, 0.25);
}

.purchase-cta .icon-cart {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 2px solid rgba(255, 255, 255, 0.7);
  position: relative;
}

.purchase-cta .icon-cart::before,
.purchase-cta .icon-cart::after {
  content: "";
  position: absolute;
  border: 2px solid var(--white);
  border-radius: 4px;
}

.purchase-cta .icon-cart::before {
  inset: 6px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  border-bottom: 2px solid var(--white);
}

.purchase-cta .icon-cart::after {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  bottom: 4px;
  left: 6px;
  border: 2px solid var(--white);
  box-shadow: 12px 0 0 0 var(--white);
}

.purchase-cta strong {
  font-size: 1.2rem;
}

.offer {
  margin-top: 3rem;
  background: var(--white);
  padding: 2rem;
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.offer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.offer-header > div {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.bf-header-icon {
  width: 60px;
  height: 60px;
  background: var(--yellow);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  flex-shrink: 0;
}

.eyebrow {
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  color: var(--gray);
  margin: 0;
}

.offer-header h2 {
  margin: 0.25rem 0;
  font-size: 2rem;
}

.subtitle {
  margin: 0;
  color: var(--gray);
}

.black-friday-card {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.bf-banner {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  min-height: 400px;
  background: #1a1a1a;
}

.bf-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.bf-progress-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40px;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 1rem;
  backdrop-filter: blur(5px);
  z-index: 10;
}

.bf-progress-fill {
  height: 100%;
  background: var(--yellow);
  border-radius: 0 4px 4px 0;
  position: relative;
  transition: width 0.3s ease;
  box-shadow: 0 0 10px rgba(255, 188, 15, 0.5);
}

.bf-progress-text {
  position: absolute;
  right: 1rem;
  color: var(--white);
  font-weight: 700;
  font-size: 0.9rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  z-index: 11;
  pointer-events: none;
}

.bf-progress-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40px;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 1rem;
  backdrop-filter: blur(5px);
  z-index: 10;
}

.bf-progress-fill {
  height: 100%;
  background: var(--yellow);
  border-radius: 0 4px 4px 0;
  position: relative;
  transition: width 0.3s ease;
  box-shadow: 0 0 10px rgba(255, 188, 15, 0.5);
}

.bf-progress-text {
  position: absolute;
  right: 1rem;
  color: var(--white);
  font-weight: 700;
  font-size: 0.9rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  z-index: 10;
}

.bf-banner-content {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-end;
  padding: 2rem 2.5rem;
  background: linear-gradient(to left, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 50%, transparent 100%);
}

.bf-top-text {
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 1rem 0;
}

.bf-day-badge {
  background: var(--yellow);
  color: var(--black);
  padding: 0.5rem 1.25rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.bf-prize {
  color: var(--yellow);
  font-size: 4.5rem;
  font-weight: 800;
  line-height: 1;
  margin: 0.5rem 0;
  text-shadow: 0 4px 20px rgba(255, 188, 15, 0.4);
}

.bf-price-label {
  color: var(--white);
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 1rem 0 0.5rem 0;
}

.bf-price {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.bf-price-value {
  color: var(--yellow);
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1;
}

.bf-price-unit {
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.25rem;
}

.bf-details {
  background: #fff8e1;
  border-radius: 20px;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.bf-detail-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: start;
}

.bf-detail-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.bf-label {
  color: var(--black);
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.bf-value-box {
  background: var(--yellow);
  color: var(--black);
  padding: 0.5rem 1rem;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1.1rem;
  text-align: center;
  margin-top: 0.25rem;
}

.bf-date {
  color: var(--yellow);
  font-size: 1.5rem;
  font-weight: 700;
}

.bf-time {
  color: var(--yellow);
  font-size: 1.5rem;
  font-weight: 700;
  margin-left: 0.5rem;
}

.bf-price-text {
  color: var(--yellow);
  font-size: 1.5rem;
  font-weight: 700;
  margin-top: 0.25rem;
}

.bf-subtitle {
  color: var(--black);
  font-size: 0.85rem;
  margin: 0.5rem 0 0 0;
  text-align: left;
}

.bf-benefits {
  background: #fff8e1;
  border-radius: 20px;
  padding: 1.75rem;
}

.bf-title {
  color: var(--black);
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 1.25rem 0;
  line-height: 1.4;
}

.bf-benefit-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.bf-benefit-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--black);
  font-size: 0.95rem;
  font-weight: 500;
}

.bf-arrow {
  color: var(--black);
  font-size: 1.2rem;
  font-weight: 700;
}

.benefit-item .bf-arrow {
  color: #1d1d1d;
  flex-shrink: 0;
}

.bf-info-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--black);
  color: var(--white);
  border: none;
  font-size: 0.75rem;
  font-weight: 700;
  margin-left: auto;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.bf-quantity-bar {
  background: var(--black);
  border-radius: 20px;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.bf-qty-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--black);
  border: none;
  font-size: 1.5rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s;
}

.bf-qty-btn:hover {
  transform: scale(1.1);
}

.bf-quantity-box {
  flex: 1;
  background: #dedede;
  color: var(--black);
  border-radius: 12px;
  padding: 0.75rem;
  text-align: center;
  font-size: 1.3rem;
  font-weight: 700;
}

.bf-purchase-btn {
  width: 100%;
  background: linear-gradient(90deg, #18b000, #33c400);
  color: var(--white);
  border: none;
  border-radius: 20px;
  padding: 1.5rem 2rem;
  font-size: 1.25rem;
  margin-top: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(0, 128, 0, 0.3);
  transition: transform 0.2s;
  min-height: 60px;
}

.bf-purchase-btn:hover {
  transform: translateY(-2px);
}

.bf-cart-icon {
  font-size: 1.75rem;
  flex-shrink: 0;
}

.bf-purchase-btn strong {
  font-size: 1.4rem;
  font-weight: 700;
  white-space: nowrap;
}


.primary.full {
  width: 100%;
  padding: 1rem;
  border-radius: 18px;
  background: var(--green);
  color: var(--white);
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  animation: pulse 2s ease-in-out infinite;
}

.results-section {
  max-width: 1200px;
  margin: 3rem auto;
  padding: 0 1.5rem;
}

.results-container {
  background: var(--white);
  border-radius: 28px;
  padding: 4rem 3rem;
  box-shadow: var(--shadow);
  text-align: center;
}

.results-container h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--black);
  margin: 0 0 3rem 0;
}

.results-empty {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

.results-empty-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--black);
  margin: 0;
}

.results-empty-text {
  font-size: 1rem;
  color: var(--gray);
  margin: 0;
  max-width: 500px;
}

.terms-section {
  max-width: 1200px;
  margin: 3rem auto;
  padding: 0 1.5rem;
}

.terms-container {
  background: var(--white);
  border-radius: 28px;
  padding: 3rem 4rem;
  box-shadow: var(--shadow);
}

.terms-container h1 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--black);
  margin: 0 0 2.5rem 0;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.terms-content {
  color: var(--black);
  line-height: 1.8;
}

.terms-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--black);
  margin: 2.5rem 0 1rem 0;
  text-transform: uppercase;
}

.terms-content h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--black);
  margin: 2rem 0 1rem 0;
}

.terms-content p {
  margin: 1rem 0;
  font-size: 1rem;
}

.terms-content ul {
  margin: 1rem 0;
  padding-left: 2rem;
}

.terms-content li {
  margin: 0.5rem 0;
}

.site-footer {
  background: #111;
  color: rgba(255, 255, 255, 0.75);
  padding: 4rem 1.5rem;
}

.site-footer hr {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin: 2rem 0;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
}

.footer-logo {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-logo strong {
  display: block;
  font-size: 1.1em;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
  margin: 1rem 0;
}

.footer-social a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.footer-social a::before {
  content: "";
  width: 14px;
  height: 14px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
}

.footer-social a:nth-child(2)::before {
  border-radius: 2px;
  border: 2px solid #fff;
  border-top: none;
  border-left: none;
  width: 12px;
  height: 12px;
  transform: rotate(0deg);
}

.footer-social a:nth-child(3)::before {
  width: 0;
  height: 0;
  border: 6px solid transparent;
  border-left-color: #fff;
  transform: translateX(2px);
}

.footer-description {
  max-width: 860px;
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-cert {
  align-self: center;
  text-align: center;
  padding: 1rem 1.5rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.footer-cert span {
  font-weight: 700;
  font-size: 1.1rem;
}

.footer-cert small {
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.65rem;
}

.footer-middle {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-middle .label {
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.65);
  display: block;
  margin-bottom: 0.5rem;
}

.viacap-logo {
  font-size: 2rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.viacap-logo span {
  color: var(--yellow);
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.8rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.85);
}

.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(0, 168, 79, 0.4);
  }
  70% {
    transform: scale(1.03);
    box-shadow: 0 0 0 15px rgba(0, 168, 79, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(0, 168, 79, 0);
  }
}

@media (max-width: 960px) {
  .main-nav {
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
  }

  .ghost-btn {
    display: none;
  }

  .hero-card {
    padding: 1.5rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .offer {
    padding: 1.5rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .countdown-section {
    padding: 0 1rem;
    margin: 1.5rem auto 0;
  }

  .countdown-card {
    padding: 0;
  }

  .countdown-timer {
    gap: 0.75rem;
  }

  .countdown-box {
    min-width: 70px;
  }

  .countdown-value {
    font-size: 1.5rem;
  }

  .countdown-label-small {
    font-size: 0.65rem;
  }

  .hero-content {
    flex-direction: column;
    width: 100%;
    gap: 1.5rem;
  }

  .hero-carousel {
    flex: 1 1 100%;
    min-height: 300px;
    width: 100%;
    max-width: 100%;
    border-radius: 20px;
    margin: 0;
  }

  .carousel-track {
    height: auto;
    min-height: 300px;
    width: 100%;
  }

  .carousel-track img {
    object-fit: cover;
    object-position: center;
    width: 100%;
    height: auto;
    min-height: 300px;
    display: block;
  }

  .purchase-card {
    width: 100%;
    max-width: 100%;
    flex: 1 1 100%;
    min-width: 0;
  }

  .black-friday-card {
    width: 100%;
    max-width: 100%;
  }

  .bf-banner {
    width: 100%;
    max-width: 100%;
  }

  .bf-banner img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
  }

  .carousel-control {
    width: 40px;
    height: 40px;
  }

  .carousel-control.prev {
    left: 0.75rem;
  }

  .carousel-control.next {
    right: 0.75rem;
  }

  .hero-banner {
    flex-direction: column;
    text-align: center;
  }

  .hero-media {
    width: 100%;
    max-width: 320px;
  }

  .purchase-card {
    flex: 1 1 100%;
    width: 100%;
  }

  .bf-banner {
    min-height: 300px;
    height: auto;
    width: 100%;
    max-width: 100%;
    border-radius: 20px;
  }

  .bf-banner img {
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center;
    min-height: 300px;
    display: block;
  }

  .bf-banner-content {
    padding: 1.5rem;
    align-items: center;
    text-align: center;
    background: linear-gradient(to bottom, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.5) 50%, transparent 100%);
  }

  .bf-prize {
    font-size: 3rem;
  }

  .bf-price-value {
    font-size: 2.5rem;
  }

  .footer-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-cert {
    align-self: flex-start;
  }

  .footer-middle,
  .footer-bottom {
    align-items: flex-start;
  }
}

@media (max-width: 600px) {
  .header-content {
    flex-wrap: wrap;
    gap: 1rem;
  }

  .main-nav {
    order: 3;
    width: 100%;
    justify-content: center;
    font-size: 0.85rem;
    gap: 0.75rem;
  }

  .hero-card {
    padding: 1rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .offer {
    padding: 1rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin-top: 2rem;
  }

  .countdown-section {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .countdown-section {
    padding: 0 1rem;
    margin: 1rem auto 0;
  }

  .countdown-card {
    padding: 0;
  }

  .countdown-timer {
    gap: 0.5rem;
  }

  .countdown-box {
    min-width: 60px;
  }

  .countdown-value {
    font-size: 1.25rem;
  }

  .countdown-label-small {
    font-size: 0.6rem;
  }

  .hero-content {
    gap: 1rem;
    width: 100%;
  }

  .hero-carousel {
    min-height: 250px;
    height: auto;
    width: 100%;
    max-width: 100%;
    border-radius: 16px;
    margin: 0;
  }

  .carousel-track {
    height: auto;
    min-height: 250px;
    width: 100%;
  }

  .carousel-track img {
    width: 100%;
    height: auto;
    min-height: 250px;
    object-fit: cover;
    display: block;
  }

  .purchase-card {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .black-friday-card {
    width: 100%;
    max-width: 100%;
  }

  .bf-banner {
    width: 100%;
    max-width: 100%;
  }

  .bf-banner img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
  }

  .carousel-control {
    width: 36px;
    height: 36px;
  }

  .carousel-control.prev {
    left: 0.5rem;
  }

  .carousel-control.next {
    right: 0.5rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .purchase-card {
    padding: 1.5rem;
  }

  .purchase-info {
    padding: 1.25rem 1.5rem;
  }

  .bf-banner {
    min-height: 250px;
    height: auto;
    width: 100%;
    max-width: 100%;
    border-radius: 16px;
  }

  .bf-banner img {
    width: 100%;
    height: auto;
    object-fit: cover;
    min-height: 250px;
    display: block;
  }

  .bf-banner-content {
    padding: 1rem;
  }

  .bf-top-text {
    font-size: 0.75rem;
  }

  .bf-day-badge {
    padding: 0.4rem 1rem;
    font-size: 0.85rem;
  }

  .bf-prize {
    font-size: 2.5rem;
  }

  .bf-price-label {
    font-size: 0.85rem;
  }

  .bf-price-value {
    font-size: 2rem;
  }

  .bf-price-unit {
    font-size: 0.75rem;
  }

  .bf-details {
    padding: 1.25rem;
    border-radius: 16px;
  }

  .bf-detail-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .bf-benefits {
    padding: 1.25rem;
    border-radius: 16px;
  }

  .bf-title {
    font-size: 1rem;
  }

  .offer-card {
    flex-direction: column;
  }

  .footer-links,
  .footer-contact {
    flex-direction: column;
  }

  .terms-container {
    padding: 2rem 1.5rem;
  }

  .terms-container h1 {
    font-size: 1.5rem;
  }

  .results-container {
    padding: 2rem 1.5rem;
  }

  .results-container h1 {
    font-size: 2rem;
  }
}

/* Modal de Login/Cadastro */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  backdrop-filter: blur(4px);
}

/* Ajustar z-index do SweetAlert2 para aparecer acima do modal */
.swal2-container {
  z-index: 10001 !important;
}

.modal-container {
  background: var(--white);
  border-radius: 16px;
  width: 90%;
  max-width: 450px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: transparent;
  border: none;
  font-size: 2rem;
  color: var(--gray);
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s;
  z-index: 10;
}

.modal-close:hover {
  background: #f5f5f5;
  color: var(--black);
}

.modal-tabs {
  display: flex;
  border-bottom: 2px solid #f0f0f0;
  padding: 0 2rem;
  margin-top: 1rem;
}

.modal-tab {
  flex: 1;
  padding: 1rem;
  background: transparent;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray);
  cursor: pointer;
  border-bottom: 3px solid transparent;
  transition: all 0.2s;
  position: relative;
  top: 2px;
}

.modal-tab.active {
  color: var(--yellow-dark);
  border-bottom-color: var(--yellow-dark);
}

.modal-tab:hover {
  color: var(--black);
}

.modal-form {
  display: none;
  padding: 2rem;
}

.modal-form.active {
  display: block;
}

.modal-form h2 {
  margin: 0 0 1.5rem 0;
  font-size: 1.75rem;
  color: var(--black);
  font-weight: 700;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--black);
}

.form-group input {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.2s;
  background: var(--white);
}

.form-group input:focus {
  outline: none;
  border-color: var(--yellow);
  box-shadow: 0 0 0 3px rgba(255, 188, 15, 0.1);
}

.form-group input::placeholder {
  color: #b0b0b0;
}

.btn-submit {
  width: 100%;
  padding: 1rem;
  background: var(--yellow);
  color: var(--black);
  font-size: 1rem;
  font-weight: 700;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  margin-top: 0.5rem;
}

.btn-submit:hover {
  background: var(--yellow-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 188, 15, 0.3);
}

.btn-submit:active {
  transform: translateY(0);
}

@media (max-width: 768px) {
  .modal-container {
    width: 95%;
    max-height: 95vh;
    border-radius: 12px;
  }

  .modal-form {
    padding: 1.5rem;
  }

  .modal-tabs {
    padding: 0 1rem;
  }

  .modal-tab {
    padding: 0.875rem 0.5rem;
    font-size: 0.9rem;
  }

  .modal-form h2 {
    font-size: 1.5rem;
  }
}

/* Menu do Usuário (Avatar + Dropdown) */
.user-menu {
  position: relative;
  display: inline-block;
}

.user-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--black);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  border: 2px solid var(--black);
}

.user-avatar .profile-icon {
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.user-avatar:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.user-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  min-width: 220px;
  z-index: 1000;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.user-info {
  padding: 1rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  background: var(--yellow);
}

.user-info strong {
  display: block;
  font-size: 0.95rem;
  color: var(--black);
  margin-bottom: 0.25rem;
}

.user-info span {
  display: block;
  font-size: 0.8rem;
  color: rgba(0, 0, 0, 0.6);
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  color: var(--black);
  text-decoration: none;
  transition: background 0.2s;
  font-size: 0.9rem;
}

.dropdown-item:hover {
  background: rgba(0, 0, 0, 0.05);
}

.dropdown-item span {
  font-size: 1.1rem;
}

@media (max-width: 600px) {
  .user-menu {
    order: 2;
  }
  
  .user-dropdown {
    right: auto;
    left: 0;
  }
}

