:root {
  --orange: #f58220;
  --orange-dark: #d96c0a;
  --navy: #1e3a8a;
  --navy-deep: #152a63;
  --sky: #4fa3e3;
  --top-bar: #2f6fad;
  --peach: #fff4e8;
  --bg: #f5f7fb;
  --text: #243042;
  --muted: #6b7a8c;
  --white: #fff;
  --radius: 12px;
  --shadow: 0 8px 24px rgba(30, 58, 138, 0.08);
  --font: "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--navy);
  text-decoration: none;
}

a:hover {
  color: var(--orange);
}

.container {
  width: min(1240px, 92vw);
  margin: 0 auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.65rem 1.25rem;
  border-radius: 999px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: transform 0.15s, background 0.15s;
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--orange-dark);
}

.btn-light {
  background: var(--white);
  color: var(--navy);
}

.btn-block {
  width: 100%;
}

.top-bar {
  background: var(--top-bar);
  color: var(--white);
  font-size: 0.85rem;
}

.top-bar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.45rem 0;
  gap: 1rem;
  flex-wrap: wrap;
}

.top-bar__links {
  display: flex;
  gap: 1rem;
}

.top-bar a {
  color: var(--white);
}

.site-header {
  background: var(--white);
  box-shadow: var(--shadow);
}

.header-main {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem 0;
}

.logo-link img {
  height: 44px;
  width: auto;
}

.header-search {
  display: grid;
  grid-template-columns: 160px 1fr auto;
  gap: 0;
  border: 2px solid #e6ebf2;
  border-radius: 999px;
  overflow: hidden;
}

.header-search select,
.header-search input {
  border: none;
  padding: 0.75rem 1rem;
  font: inherit;
}

.header-search select {
  border-right: 1px solid #e6ebf2;
  background: #f9fbff;
}

.header-search .btn {
  border-radius: 0;
  padding: 0.75rem 1.4rem;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.header-action {
  background: none;
  border: none;
  font: inherit;
  cursor: pointer;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.badge {
  background: #e53e3e;
  color: var(--white);
  border-radius: 999px;
  font-size: 0.7rem;
  min-width: 1.25rem;
  padding: 0 0.35rem;
  text-align: center;
}

.main-nav {
  background: var(--orange);
}

.main-nav__inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0.65rem 0;
}

.shop-categories-btn {
  background: var(--navy);
  color: var(--white);
  border: none;
  padding: 0.55rem 1rem;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
}

.main-nav__links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.main-nav__links a {
  color: var(--white);
  font-weight: 600;
}

.main-nav__links a.active,
.main-nav__links a:hover {
  text-decoration: underline;
}

.hero {
  background: var(--white);
  padding: 1.5rem 0 2rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1rem;
}

.hero-banner {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 360px;
  display: flex;
  align-items: flex-end;
  background: var(--navy);
}

.hero-banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
}

.hero-banner__content {
  position: relative;
  z-index: 1;
  padding: 2rem;
  color: var(--white);
  max-width: 28rem;
}

.hero-banner__content h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.hero-side {
  display: grid;
  gap: 1rem;
}

.mini-banner {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  min-height: 170px;
  background: var(--peach);
}

.mini-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mini-banner__text {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  background: rgba(255, 255, 255, 0.92);
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  font-weight: 700;
  color: var(--navy);
}

.brand-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  padding: 1.25rem 0;
  opacity: 0.75;
  font-weight: 700;
  color: var(--muted);
}

.section {
  padding: 2.5rem 0;
}

.section-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
  gap: 1rem;
}

.section-title h2 {
  margin: 0;
  color: var(--navy);
}

.category-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 0.75rem;
}

.category-pill {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1rem 0.75rem;
  text-align: center;
  box-shadow: var(--shadow);
  color: var(--text);
}

.category-pill__icon {
  font-size: 1.75rem;
  display: block;
}

.category-pill__name {
  display: block;
  font-weight: 700;
  margin-top: 0.35rem;
}

.category-pill__count {
  font-size: 0.8rem;
  color: var(--muted);
}

.deal-section {
  background: var(--peach);
}

.countdown {
  background: var(--navy);
  color: var(--white);
  padding: 0.35rem 0.75rem;
  border-radius: 8px;
  font-weight: 700;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.product-card__media {
  position: relative;
  aspect-ratio: 1;
  background: #f0f3f8;
}

.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card__badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: var(--orange);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
}

.product-card__body {
  padding: 1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-card__title {
  font-size: 0.95rem;
  margin: 0.35rem 0;
  line-height: 1.35;
}

.product-card__title a {
  color: inherit;
}

.price-current {
  color: var(--orange);
  font-size: 1.2rem;
  font-weight: 800;
}

.price-old {
  text-decoration: line-through;
  color: var(--muted);
  margin-left: 0.35rem;
  font-size: 0.9rem;
}

.star.filled {
  color: #f5a623;
}

.muted {
  color: var(--muted);
  font-size: 0.85rem;
}

.split-section {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 1.25rem;
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
}

.side-tabs {
  list-style: none;
  margin: 0;
  padding: 0;
}

.side-tabs a {
  display: block;
  padding: 0.55rem 0.75rem;
  border-radius: 8px;
  color: var(--text);
  font-weight: 600;
}

.side-tabs a:hover,
.side-tabs a.active {
  background: var(--peach);
  color: var(--orange-dark);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}

.blog-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.blog-card__body {
  padding: 1rem;
}

.service-bar {
  background: #eef2f7;
  padding: 1.5rem 0;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}

.service-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.service-icon {
  font-size: 1.5rem;
}

.newsletter-section {
  background: linear-gradient(135deg, var(--sky), var(--navy));
  color: var(--white);
  padding: 2rem 0;
}

.newsletter-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
  justify-content: space-between;
}

.newsletter-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.newsletter-form input {
  padding: 0.75rem 1rem;
  border-radius: 999px;
  border: none;
  min-width: 240px;
}

.site-footer {
  background: var(--navy-deep);
  color: #c9d6ef;
  padding-top: 2.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 2rem;
}

.footer-col h3 {
  color: var(--white);
  margin-top: 0;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links a {
  color: #c9d6ef;
  display: block;
  padding: 0.2rem 0;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.social-links a {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  padding: 0.35rem 0.65rem;
  border-radius: 6px;
  font-size: 0.85rem;
}

.footer-bottom {
  margin-top: 2rem;
  background: var(--white);
  color: var(--text);
  padding: 1rem 0;
}

.footer-bottom__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.payment-icons span {
  margin-right: 0.5rem;
  font-weight: 700;
  color: var(--muted);
}

.cart-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s;
}

.cart-overlay.open {
  pointer-events: auto;
  opacity: 1;
}

.cart-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  border: none;
  cursor: pointer;
}

.cart-panel {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: min(420px, 100vw);
  background: var(--white);
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 24px rgba(0, 0, 0, 0.15);
}

.cart-panel__head {
  padding: 1rem;
  border-bottom: 1px solid #e6ebf2;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-panel__foot {
  padding: 1rem;
  border-bottom: 1px solid #e6ebf2;
}

.cart-panel__foot {
  border-bottom: none;
  border-top: 1px solid #e6ebf2;
  margin-top: auto;
}

.cart-panel__body {
  padding: 1rem;
  overflow: auto;
}

.close-btn {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}

.cart-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.cart-item {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.cart-item img {
  border-radius: 8px;
  object-fit: cover;
}

.link-btn {
  background: none;
  border: none;
  color: var(--orange);
  cursor: pointer;
  font: inherit;
}

.alert-success {
  background: #e6ffed;
  color: #1b6b36;
  padding: 0.75rem;
  border-radius: 8px;
  margin-bottom: 0.75rem;
}

.page-hero {
  background: var(--white);
  padding: 2rem 0;
  border-bottom: 1px solid #e6ebf2;
}

.page-hero h1 {
  margin: 0;
  color: var(--navy);
}

.content-page {
  padding: 2rem 0 3rem;
}

.content-page .prose {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  max-width: 900px;
}

.prose h2,
.prose h3 {
  color: var(--navy);
}

.form-card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  max-width: 640px;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1px solid #cfd8e6;
  border-radius: 8px;
  font: inherit;
}

.form-group input.invalid,
.form-group textarea.invalid {
  border-color: #e53e3e;
}

.field-error {
  display: block;
  color: #c53030;
  font-size: 0.85rem;
  margin-top: 0.25rem;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin: 1rem 0;
}

.checkbox-group input[type="checkbox"] {
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.2rem;
  flex-shrink: 0;
  accent-color: var(--orange);
}

.checkbox-group label {
  font-weight: 500;
  line-height: 1.45;
  cursor: pointer;
}

.form-success {
  background: #e6ffed;
  color: #1b6b36;
  padding: 1rem;
  border-radius: 8px;
  margin-top: 1rem;
}

.form-card__title {
  margin-top: 0;
  color: var(--navy);
}

.section-heading {
  color: var(--navy);
}

.rounded-img {
  border-radius: var(--radius);
  margin-bottom: 1rem;
}

.no-scroll {
  overflow: hidden;
}

.mobile-dock {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--white);
  border-top: 1px solid #e6ebf2;
  z-index: 900;
  justify-content: space-around;
  padding: 0.5rem 0.25rem;
  font-size: 0.75rem;
}

.mobile-dock a,
.mobile-dock button {
  background: none;
  border: none;
  color: var(--text);
  font: inherit;
  cursor: pointer;
}

.link-arrow {
  font-weight: 600;
  color: var(--orange);
}

@media (max-width: 768px) {
  .mobile-dock {
    display: flex;
  }

  body {
    padding-bottom: 3.5rem;
  }
}

@media (max-width: 960px) {
  .header-main {
    grid-template-columns: 1fr;
  }

  .header-search {
    grid-template-columns: 1fr;
    border-radius: var(--radius);
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .split-section {
    grid-template-columns: 1fr;
  }
}

.legal-prose h3 {
  font-size: 1.05rem;
  margin-top: 1.25rem;
}

.contact-layout {
  display: grid;
  gap: 2rem;
  align-items: start;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .contact-layout {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .main-nav__links {
    gap: 0.75rem;
    font-size: 0.9rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}