:root {
  --blue: #087990;
  --navy: #073b4c;
  --mint: #e8f7f3;
  --green: #1ba982;
  --ink: #18343d;
  --muted: #6d8087;
  --line: #e6eff0;
}
* {
  box-sizing: border-box;
}
body {
  font-family: "Plus Jakarta Sans", sans-serif;
  color: var(--ink);
  background: #fff;
  overflow-x: hidden;
}
a {
  text-decoration: none;
  color: inherit;
}
.announcement {
  background: var(--navy);
  color: #d9f5ef;
  font-size: 0.8rem;
}
.navbar {
  padding: 1rem 0;
  background: #fff;
}
.navbar-brand {
  font-weight: 800;
  color: var(--navy) !important;
  font-size: 1.45rem;
}
.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  background: var(--blue);
  color: #fff;
  margin-right: 6px;
}
.nav-link {
  font-weight: 600;
  color: var(--ink) !important;
  margin: 0 0.3rem;
}
.nav-link:hover,
.active {
  color: var(--blue) !important;
}
.nav-search {
  background: #f4f8f8;
  border: 0;
  border-radius: 12px;
  padding: 0.6rem 1rem;
  width: 210px;
}
.icon-link {
  position: relative;
  font-size: 1.25rem;
  padding: 0.35rem;
  color: var(--ink);
}
.cart-badge {
  position: absolute;
  top: -3px;
  right: -4px;
  background: #ef5b5b;
  color: #fff;
  font-size: 0.62rem;
  border-radius: 99px;
  min-width: 17px;
  text-align: center;
}
.btn-primary {
  background: var(--blue);
  border-color: var(--blue);
  padding: 0.7rem 1.1rem;
  border-radius: 10px;
  font-weight: 700;
}
.btn-primary:hover {
  background: var(--navy);
  border-color: var(--navy);
  transform: translateY(-2px);
}
.btn-outline-primary {
  color: var(--blue);
  border-color: var(--blue);
  border-radius: 10px;
  font-weight: 700;
  padding: 0.7rem 1.1rem;
}
.hero {
  background: linear-gradient(115deg, #e9f9f7 0%, #f8fffe 55%, #d8f0ee 100%);
  min-height: 570px;
  position: relative;
  overflow: hidden;
}
.hero:after {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  background: #c0e9e2;
  border-radius: 50%;
  right: -120px;
  top: 35px;
  opacity: 0.65;
}
.eyebrow {
  display: inline-flex;
  gap: 0.4rem;
  align-items: center;
  color: var(--green);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.hero h1 {
  font-size: clamp(2.45rem, 5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.06;
  color: var(--navy);
}
.hero-img {
  position: relative;
  z-index: 1;
  max-width: 510px;
  width: 100%;
  filter: drop-shadow(0 20px 22px rgba(8, 121, 144, 0.15));
}
.trust-pill {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 25px #107c8a19;
  padding: 0.8rem 1rem;
  font-size: 0.8rem;
  font-weight: 700;
}
.section {
  padding: 5rem 0;
}
.section-title {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--navy);
}
.section-lead {
  color: var(--muted);
  max-width: 580px;
}
.category-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.35rem 0.8rem;
  background: #fff;
  transition: 0.25s;
  text-align: center;
  height: 100%;
}
.category-card i {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin: 0 auto 0.8rem;
  background: var(--mint);
  color: var(--blue);
  border-radius: 18px;
  font-size: 1.6rem;
}
.category-card:hover,
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 35px #16444a16;
  border-color: #bce2dc;
}
.category-card h6 {
  font-weight: 750;
  margin: 0;
}
.product-card {
  height: 100%;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 12px;
  transition: 0.25s;
  background: #fff;
  position: relative;
  display: flex;
  flex-direction: column;
}
.product-card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  object-position: center;
  border-radius: 12px;
  background: #f2f8f7;
}
.product-card > div:last-child {
  display: flex;
  flex: 1;
  flex-direction: column;
}
.product-card > div:last-child > .d-flex {
  margin-top: auto !important;
}
.wish-btn {
  position: absolute;
  right: 20px;
  top: 20px;
  border: 0;
  background: #fff;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  box-shadow: 0 2px 10px #0001;
  color: var(--ink);
}
.wish-btn.liked {
  color: #e55454;
}
.badge-soft {
  background: #eaf8f3;
  color: #168661;
  font-weight: 700;
}
.product-card h6 {
  font-weight: 750;
  line-height: 1.4;
  min-height: 44px;
}
.rating {
  color: #f7a928;
  font-size: 0.85rem;
}
.old-price {
  text-decoration: line-through;
  color: #98a6a8;
  font-size: 0.85rem;
}
.price {
  font-weight: 800;
  color: var(--navy);
  font-size: 1.05rem;
}
.offer-banner {
  background: var(--navy);
  border-radius: 26px;
  color: #fff;
  overflow: hidden;
}
.offer-banner .display-5 {
  font-weight: 800;
}
.feature-box {
  padding: 1.5rem;
  border-radius: 18px;
  background: #f8fcfb;
  height: 100%;
}
.feature-box i {
  font-size: 1.7rem;
  color: var(--blue);
}
.step-num {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: var(--blue);
  color: #fff;
  border-radius: 50%;
  font-weight: 800;
  margin-bottom: 1rem;
}
.review-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.5rem;
  height: 100%;
}
.avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
}
.newsletter {
  background: linear-gradient(110deg, #087990, #0b6074);
  color: #fff;
  border-radius: 24px;
}
.footer {
  background: #062f3b;
  color: #c5d7d8;
}
.footer h6 {
  color: #fff;
  font-weight: 700;
}
.footer a {
  color: #c5d7d8;
  display: block;
  padding: 0.22rem 0;
}
.footer a:hover {
  color: #6de0c7;
}
.page-head {
  background: #f0faf8;
  padding: 4.3rem 0 3.2rem;
}
.page-head h1 {
  font-weight: 800;
  color: var(--navy);
}
.filter-box {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.2rem;
}
.form-control,
.form-select {
  border-color: #dbe7e6;
  padding: 0.7rem 0.8rem;
  border-radius: 10px;
}
.form-control:focus,
.form-select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 0.2rem #08799018;
}
.product-main-img {
  width: 100%;
  border-radius: 22px;
  background: #f2f8f7;
  aspect-ratio: 1;
  object-fit: cover;
}
.qty-control {
  display: inline-flex;
  border: 1px solid #dbe7e6;
  border-radius: 9px;
  overflow: hidden;
}
.qty-control button {
  border: 0;
  background: #f4f8f8;
  width: 38px;
}
.qty-control input {
  border: 0;
  width: 42px;
  text-align: center;
}
.cart-item {
  border-bottom: 1px solid var(--line);
  padding: 1.1rem 0;
}
.cart-item img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 12px;
}
.summary-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.4rem;
  position: sticky;
  top: 20px;
}
.auth-wrap {
  min-height: calc(100vh - 80px);
  background: #edf9f7;
}
.auth-card {
  border: 0;
  border-radius: 22px;
  box-shadow: 0 20px 45px #16444a18;
}
.contact-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.5rem;
  height: 100%;
}
.empty-state {
  padding: 4rem 1rem;
  text-align: center;
  color: var(--muted);
}
#backToTop {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 1000;
  display: none;
  border-radius: 50%;
  width: 45px;
  height: 45px;
}
.toast-container {
  z-index: 2000;
}
.pagination .page-link {
  color: var(--blue);
  border-radius: 8px;
  margin: 0 2px;
  border: 0;
}
.pagination .active .page-link {
  background: var(--blue);
}
@media (max-width: 991px) {
  .navbar {
    padding: 0.75rem 0;
  }
  .navbar-collapse {
    padding-top: 0.75rem;
  }
  .navbar-nav {
    padding: 0.35rem 0;
  }
  .nav-link {
    padding: 0.55rem 0 !important;
  }
  .nav-search {
    width: 100%;
    margin: 0.7rem 0;
  }
  .hero {
    min-height: auto;
  }
  .section {
    padding: 3.5rem 0;
  }
  .summary-card {
    position: static;
  }
  .page-head {
    padding: 3.25rem 0 2.5rem;
  }
}
@media (max-width: 575px) {
  body {
    font-size: 0.94rem;
  }
  .navbar-brand {
    font-size: 1.2rem;
  }
  .brand-mark {
    width: 30px;
    height: 30px;
    border-radius: 9px;
  }
  .hero h1 {
    font-size: 2.45rem;
  }
  .hero .lead {
    font-size: 1rem;
  }
  .section {
    padding: 3rem 0;
  }
  .page-head {
    padding: 2.5rem 0 2rem;
  }
  .page-head h1 {
    font-size: 2rem;
  }
  .section-title {
    font-size: 1.7rem;
  }
  .announcement .container {
    justify-content: center !important;
  }
  .trust-pill {
    padding: 0.65rem 0.7rem;
    font-size: 0.69rem;
  }
  .offer-banner {
    border-radius: 18px;
  }
  .offer-banner .display-5 {
    font-size: 2rem;
  }
  .category-card {
    padding: 1rem 0.5rem;
  }
  .category-card i {
    width: 50px;
    height: 50px;
    font-size: 1.3rem;
  }
  .hero .btn {
    width: 100%;
    margin: 0.25rem 0;
  }
  .product-card img {
    height: 200px;
  }
  .product-card h6 {
    min-height: auto;
  }
  .product-main-img {
    border-radius: 16px;
  }
  .cart-item {
    display: grid !important;
    grid-template-columns: 68px 1fr auto;
    gap: 0.75rem !important;
  }
  .cart-item img {
    width: 68px;
    height: 68px;
  }
  .cart-item .qty-control {
    grid-column: 2 / 3;
  }
  .cart-item > .btn-link {
    grid-column: 3;
    grid-row: 1;
  }
  .summary-card {
    padding: 1.15rem;
  }
  .auth-card {
    border-radius: 16px;
  }
  .newsletter {
    border-radius: 18px;
  }
  .footer .border-top {
    flex-direction: column;
    gap: 0.5rem;
  }
  #backToTop {
    right: 14px;
    bottom: 14px;
  }
}
