.topbar {
  background: var(--primary);
  color: #fff;
  height: 44px;
  display: flex;
  align-items: center;
  font-size: 0.9rem;
}

.hellobar {
  color: #fff;
  padding: 10px 0;
  font-weight: 600;
}

.hellobar .container {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
}

.hellobar img {
  width: 48px;
  height: auto;
  border-radius: 8px;
  background: rgba(255,255,255,0.15);
  padding: 4px;
}

.hellobar-cta {
  background: rgba(255,255,255,0.18);
  padding: 6px 14px;
  border-radius: 999px;
  color: #fff;
  font-weight: 700;
}

.topbar .container {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
  align-items: center;
}

.topbar-item {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
}

.topbar-item.left {
  justify-content: flex-start;
}

.topbar-item.right {
  justify-content: flex-end;
}

.header {
  background: #fff;
  padding: 20px 0;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.header-grid {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 24px;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.1rem;
}

.logo-mark {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--primary);
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 700;
  box-shadow: 0 10px 18px rgba(var(--primary-rgb), 0.28);
}

.logo-mark img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.logo-mark img[data-fit="contain"] {
  object-fit: contain;
}

.logo span strong {
  color: var(--primary);
}

.search-bar {
  position: relative;
}

.search-bar input {
  padding-right: 46px;
  background: #f5f4f2;
  border: 1px solid transparent;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.search-bar input:focus {
  background: #fff;
  border-color: var(--primary);
  box-shadow: 0 12px 30px rgba(var(--primary-rgb), 0.12);
}

.search-bar .icon {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary);
}

.cart-button {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  font-weight: 700;
  position: relative;
}

.menu-toggle {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #fff;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
}

.menu-bars {
  display: grid;
  gap: 4px;
}

.menu-bars span {
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 999px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.cart-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 320px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 18px;
  box-shadow: 0 24px 50px rgba(15, 23, 42, 0.18);
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: all .2s ease;
  z-index: 30;
}

.cart-dropdown.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.cart-dropdown-header {
  font-weight: 700;
  margin-bottom: 12px;
}

.cart-dropdown-list {
  display: grid;
  gap: 10px;
  max-height: 280px;
  overflow: auto;
}

.cart-dropdown-item {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  gap: 10px;
  align-items: center;
}

.cart-dropdown-item img {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid var(--border);
}

.cart-dropdown-item strong {
  font-size: 0.9rem;
}

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

.cart-dropdown-footer {
  border-top: 1px solid var(--border);
  margin-top: 12px;
  padding-top: 12px;
  display: grid;
  gap: 10px;
}

.cart-dropdown-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.95rem;
}

.cart-button .bag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #fff;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
}

.navbar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: #fff;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 16px;
}

.nav-links {
  display: flex;
  gap: 18px;
  align-items: center;
  font-weight: 600;
}

.nav-links .active {
  background: rgba(var(--primary-rgb), 0.12);
  color: var(--primary);
  padding: 6px 14px;
  border-radius: 999px;
}

.nav-social {
  display: flex;
  gap: 12px;
  align-items: center;
}

.nav-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #fff;
  color: var(--text);
}

.nav-social a:hover {
  color: var(--primary);
  border-color: rgba(var(--primary-rgb), 0.3);
}

.social-icon {
  width: 18px;
  height: 18px;
  display: block;
}

.dropdown {
  position: relative;
}

.dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.dropdown-menu {
  position: absolute;
  top: 120%;
  left: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 16px;
  min-width: 300px;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: all .2s ease;
  z-index: 20;
}

.dropdown.open .dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  font-weight: 400;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.dropdown-menu a.dropdown-parent {
  font-weight: 700;
}

.dropdown-menu a.dropdown-sub {
  font-weight: 500;
  padding-left: 20px;
  color: #475569;
}

.dropdown-menu a:last-child {
  border-bottom: 0;
}

.dropdown-menu a:hover {
  background: #fff5f2;
  color: var(--primary);
}

.hero {
  padding: 24px 0 40px;
}

.coupon-bar {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 18px;
  border-radius: 14px;
  background: var(--primary);
  color: #fff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.coupon-bar-main {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
}

.coupon-bar-label {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.coupon-bar-text strong {
  color: #fff;
}

.coupon-bar-timer {
  font-size: 0.92rem;
  font-weight: 600;
}

.coupon-bar-timer strong {
  color: #fff;
}

.hero-banner {
  position: relative;
  background: transparent;
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
  padding: 0;
  animation: fadeUp 0.6s ease both;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(#f2e7dd 1px, transparent 1px), linear-gradient(90deg, #f2e7dd 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
}

.hero-track {
  position: relative;
  z-index: 1;
  display: flex;
  transition: transform 0.8s ease;
  will-change: transform;
}

.hero-content {
  position: relative;
  display: block;
  align-items: center;
  min-height: 360px;
  border-radius: 0;
  padding: 0;
  flex: 0 0 100%;
}

.hero-media img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0;
}

.hero-text {
  padding: 24px;
}

.hero-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary);
}

.trust {
  padding: 24px 0 8px;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  width: 100%;
}

.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.06);
  animation: fadeUp 0.6s ease both;
}

.trust-item strong {
  font-size: 0.95rem;
}

.trust-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: rgba(var(--primary-rgb), 0.12);
  display: grid;
  place-items: center;
  color: var(--primary);
}

.trust-icon svg {
  width: 22px;
  height: 22px;
}

.lead-capture {
  padding: 80px 0 80px;
}

.lead-box {
  position: relative;
  background: #fff;
  border-radius: 26px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 22px 50px rgba(15, 23, 42, 0.08);
  padding: 26px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
  align-items: center;
  overflow: hidden;
}

.lead-box::before {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--primary-rgb), 0.15) 0%, rgba(var(--primary-rgb), 0) 70%);
  top: -120px;
  left: -120px;
}

.lead-copy {
  position: relative;
  z-index: 1;
}

.lead-tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(var(--primary-rgb), 0.12);
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 0.4px;
  font-size: 0.8rem;
  margin-bottom: 10px;
}

.lead-copy h2 {
  font-size: 1.6rem;
  margin-bottom: 10px;
}

.lead-form {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
}

.lead-form .btn {
  width: 100%;
}

.lead-form small {
  display: block;
  font-size: 0.85rem;
}

.lead-trigger {
  grid-column: 1 / -1;
  margin-top: 6px;
}

.hero-ovals {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  justify-items: center;
}

.hero-oval {
  text-align: center;
}

.hero-oval img {
  width: 120px;
  height: auto;
}

.hero-oval span {
  display: block;
  margin-top: 8px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 1px;
}

.hero-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 5;
}

.hero-nav.prev {
  left: 16px;
}

.hero-nav.next {
  right: 16px;
}

.category-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

@media (max-width: 960px) {
  .category-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.footer {
  border-top: 1px solid var(--border);
  padding: 32px 0 40px;
  background: #fff;
  margin-top: 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.footer-grid.footer-grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.footer-contact {
  text-align: right;
}

.footer-quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.footer-quick-actions .btn {
  padding: 6px 12px;
  font-size: 0.85rem;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 14px 0 0;
  margin-top: 18px;
  font-size: 0.9rem;
  color: var(--muted);
  text-align: center;
}

@media (max-width: 960px) {
  .header-grid {
    grid-template-columns: 1fr;
  }

  .cart-button {
    justify-content: flex-start;
  }

  .nav-links {
    flex-wrap: wrap;
  }

  .hero-content {
    grid-template-columns: 1fr;
  }

  .hero-ovals {
    grid-template-columns: repeat(3, minmax(90px, 1fr));
  }

  .lead-box {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid.footer-grid-2 {
    grid-template-columns: 1fr;
  }

  .footer-contact {
    text-align: left;
  }
}

@media (max-width: 640px) {
  .topbar {
    height: auto;
    padding: 8px 0;
  }

  .topbar .container {
    display: block;
  }

  .topbar-item {
    justify-content: center;
    align-items: center;
    margin-top: 6px;
  }

  .topbar-item:first-child {
    margin-top: 0;
  }

  .navbar .container {
    flex-direction: column;
    align-items: flex-start;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .navbar {
    display: none;
  }

  body.nav-open .navbar {
    display: block;
  }

  .cart-button {
    width: 100%;
    justify-content: space-between;
  }

  .cart-dropdown {
    right: 0;
    left: 0;
    width: 100%;
  }

  .coupon-bar {
    align-items: flex-start;
  }

  .coupon-bar-main {
    flex-wrap: wrap;
  }

  .nav-links {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 6px;
  }

  .nav-links > a,
  .dropdown-toggle {
    width: 100%;
    padding: 12px 10px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.08);
  }

  .dropdown-menu {
    position: static;
    min-width: 100%;
    border: 0;
    box-shadow: none;
    padding: 6px 0 0;
    opacity: 1;
    transform: none;
    max-height: 0;
    overflow: hidden;
    pointer-events: none;
    transition: max-height .2s ease;
  }

  .dropdown.open .dropdown-menu {
    max-height: 420px;
    pointer-events: auto;
  }

  .dropdown-menu a {
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 10px;
    margin-bottom: 6px;
  }

  .category-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-banner {
    padding: 0;
    border-radius: 0;
    background: transparent;
  }

  .hero-content {
    padding: 0;
    min-height: auto;
  }

  .hero-media img {
    border-radius: 0;
  }

  .hero-grid {
    opacity: 0.2;
  }

  .trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust-item {
    width: 100%;
    justify-content: flex-start;
  }

  .lead-box {
    padding: 20px;
  }
}

@media (max-width: 420px) {
  .trust-grid {
    grid-template-columns: 1fr;
  }
}
