:root {
  --primary: #167a72;
  --primary-dark: #0d3f43;
  --accent: #f2b544;
  --ice: #eaf7fb;
  --soft-green: #e8f6f3;
  --soft-blue: #eef7ff;
  --dark: #1f2937;
  --muted: #6b7280;
  --light: #f8fafc;
  --border: #e5e7eb;
}

* {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, sans-serif;
  color: var(--dark);
  background: #ffffff;
  padding-top: 76px;
}

.navbar-brand {
  color: var(--primary-dark) !important;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.nav-link {
  font-weight: 500;
  color: var(--dark);
}

.nav-link:hover {
  color: var(--primary);
}

.header-shop-tools {
  align-items: center;
  display: flex;
  gap: 18px;
}

.header-search {
  background: #f1f2f6;
  border: 1px solid transparent;
  display: flex;
  height: 42px;
  overflow: hidden;
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease;
  width: clamp(260px, 28vw, 520px);
}

.header-search input {
  background: transparent;
  border: 0;
  color: var(--dark);
  flex: 1;
  font-size: 14px;
  min-width: 0;
  outline: 0;
  padding: 0 18px;
}

.header-search:focus-within {
  border-color: rgba(22, 122, 114, 0.48);
  box-shadow: 0 12px 28px rgba(22, 122, 114, 0.18);
  transform: translateY(-2px);
}

.header-search:focus-within button {
  background: var(--primary-dark);
}

.header-search input:not(:placeholder-shown) {
  box-shadow: inset 4px 0 0 var(--primary);
}

.header-search input::placeholder {
  color: #9ca3af;
}

.header-search button {
  align-items: center;
  background: var(--primary);
  border: 0;
  color: #fff;
  display: inline-flex;
  font-size: 18px;
  justify-content: center;
  transition:
    background-color 0.25s ease,
    transform 0.25s ease;
  width: 52px;
}

.header-search button:hover {
  transform: scale(1.04);
}

.header-cart-btn {
  align-items: center;
  background: transparent;
  border: 0;
  color: var(--primary);
  display: inline-flex;
  font-size: 28px;
  height: 42px;
  justify-content: center;
  padding: 0;
  position: relative;
  width: 42px;
}

.header-cart-count {
  align-items: center;
  background: var(--primary);
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  font-size: 11px;
  font-weight: 800;
  height: 18px;
  justify-content: center;
  min-width: 18px;
  padding: 0 5px;
  position: absolute;
  right: -7px;
  top: -3px;
}

/* Hero */
.hero-section {
  position: relative;
  overflow: hidden;
  min-height: min(700px, calc(85vh - 76px));
  max-height: 700px;
  display: flex;
  align-items: center;
  background: linear-gradient(
    315deg,
    #e8f8f6 3%,
    #dff2ff 38%,
    #e6fbf5 68%,
    #fff2d7 98%
  );
  background-size: 400% 400%;
  animation: heroGradient 15s ease infinite;
  padding: 50px 0;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: -24px;
  z-index: 0;
  background:
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.91) 0%,
      rgba(255, 255, 255, 0.74) 42%,
      rgba(255, 255, 255, 0.45) 100%
    ),
    linear-gradient(
      180deg,
      rgba(234, 247, 251, 0.5),
      rgba(255, 247, 232, 0.42)
    ),
    url("img/logo/Background.png") center / cover no-repeat;
  filter: saturate(1.08);
  opacity: 0.96;
  animation: heroBgDrift 18s ease-in-out infinite alternate;
}

.hero-section::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(
      circle at 18% 24%,
      rgba(22, 122, 114, 0.14),
      transparent 24%
    ),
    radial-gradient(
      circle at 72% 18%,
      rgba(242, 181, 68, 0.16),
      transparent 22%
    ),
    linear-gradient(
      115deg,
      transparent 0 38%,
      rgba(255, 255, 255, 0.36) 46%,
      transparent 54% 100%
    );
  background-size:
    auto,
    auto,
    240% 100%;
  mix-blend-mode: screen;
  opacity: 0.9;
  animation: heroLightSweep 9s ease-in-out infinite;
  pointer-events: none;
}

.hero-section .container {
  position: relative;
  z-index: 3;
}

.hero-waves {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.hero-wave {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 200%;
  height: 12em;
  background: rgba(255, 255, 255, 0.34);
  border-radius: 1000% 1000% 0 0;
  opacity: 0.72;
  transform: translate3d(0, 0, 0);
  animation: heroWave 10s -3s linear infinite;
}

.hero-wave:nth-of-type(2) {
  bottom: -1.25em;
  opacity: 0.5;
  animation: heroWave 18s linear reverse infinite;
}

.hero-wave:nth-of-type(3) {
  bottom: -2.5em;
  opacity: 0.42;
  animation: heroWave 20s -1s reverse infinite;
}

.hero-floating-icons {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.hero-float {
  position: absolute;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(22, 122, 114, 0.14);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 25px;
  box-shadow: 0 18px 45px rgba(13, 63, 67, 0.1);
  animation:
    heroFloat 6s ease-in-out infinite,
    heroPulse 3.8s ease-in-out infinite;
}

.hero-float-1 {
  left: 5%;
  top: 18%;
}

.hero-float-2 {
  left: 43%;
  bottom: 12%;
  animation-delay: 1.4s;
}

.hero-float-3 {
  left: 15%;
  bottom: 22%;
  animation-delay: 2.2s;
}

.hero-badge {
  background: #fff3cd;
  border: 1px solid #ffe2a3;
  color: #6f4a00;
  animation: heroFadeUp 0.55s ease both;
}

.hero-title {
  font-size: 44px;
  font-weight: 800;
  line-height: 1.15;
  color: var(--primary-dark);
  animation: heroFadeUp 0.65s ease 0.08s both;
}

.hero-text {
  font-size: 18px;
  color: var(--muted);
  margin: 20px 0 30px;
  animation: heroFadeUp 0.65s ease 0.16s both;
}

.hero-ticker {
  width: min(560px, 100%);
  overflow: hidden;
  border: 1px solid rgba(22, 122, 114, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  margin-top: 22px;
  box-shadow: 0 12px 30px rgba(13, 63, 67, 0.07);
  backdrop-filter: blur(10px);
  animation: heroFadeUp 0.65s ease 0.24s both;
}

.hero-ticker-track {
  display: flex;
  width: max-content;
  animation: categoryTicker 24s linear infinite;
}

.hero-ticker span {
  color: var(--primary-dark);
  flex: 0 0 auto;
  font-size: 13px;
  font-weight: 800;
  padding: 10px 18px;
  position: relative;
}

.hero-ticker span::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 5px;
  height: 5px;
  background: var(--accent);
  border-radius: 50%;
  transform: translate(50%, -50%);
}

.hero-stats {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
  animation: heroFadeUp 0.65s ease 0.32s both;
}

.hero-stats div {
  min-width: 118px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 14px;
  box-shadow: 0 12px 30px rgba(13, 63, 67, 0.08);
  backdrop-filter: blur(10px);
}

.hero-stats strong,
.hero-stats span {
  display: block;
}

.hero-stats strong {
  color: var(--primary-dark);
  font-size: 20px;
}

.hero-stats span {
  color: var(--muted);
  font-size: 13px;
}

.hero-marketplace {
  position: relative;
  min-height: 520px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 25px 70px rgba(13, 63, 67, 0.14);
  border: 1px solid var(--border);
  background: var(--ice);
  animation: heroImageIn 0.85s ease 0.14s both;
}

.hero-marketplace-img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  display: block;
}

.hero-marketplace::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 45, 48, 0.08), rgba(7, 45, 48, 0.68)),
    linear-gradient(90deg, rgba(7, 45, 48, 0.08), transparent 55%);
}

.hero-marketplace-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hero-store-card,
.hero-order-card {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(13, 63, 67, 0.18);
  backdrop-filter: blur(10px);
}

.hero-store-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px;
  animation: heroFadeUp 0.75s ease 0.38s both;
}

.hero-store-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-store-brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.hero-store-brand strong,
.hero-store-brand span {
  display: block;
}

.hero-store-brand strong {
  color: var(--primary-dark);
  line-height: 1.2;
}

.hero-store-brand span {
  color: var(--muted);
  font-size: 13px;
}

.hero-rating {
  background: #fff6df;
  border: 1px solid #ffe1a1;
  border-radius: 999px;
  color: #7c5200;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 800;
  padding: 7px 12px;
}

.hero-order-card {
  width: min(330px, 100%);
  padding: 18px;
  margin-right: auto;
  animation: heroFadeUp 0.75s ease 0.52s both;
}

.hero-order-card span,
.hero-order-card small {
  color: var(--muted);
  display: block;
}

.hero-order-card span {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 6px;
}

.hero-order-card strong {
  color: var(--primary-dark);
  display: block;
  font-size: 19px;
  line-height: 1.25;
  margin-bottom: 6px;
}

.hero-order-card div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
}

.hero-order-card b {
  color: var(--primary-dark);
  font-size: 20px;
}

.hero-order-card a {
  color: #fff;
  background: var(--primary);
  border-radius: 8px;
  font-weight: 800;
  padding: 8px 14px;
  text-decoration: none;
}

.hero-category-pills {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  animation: heroFadeUp 0.75s ease 0.66s both;
}

.hero-category-pills span {
  background: rgba(255, 255, 255, 0.92);
  color: var(--primary-dark);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  padding: 8px 13px;
  box-shadow: 0 10px 24px rgba(13, 63, 67, 0.12);
}

@keyframes heroFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }

  50% {
    transform: translate3d(0, -14px, 0) rotate(6deg);
  }
}

@keyframes heroPulse {
  0%,
  100% {
    box-shadow: 0 18px 45px rgba(13, 63, 67, 0.1);
  }

  50% {
    box-shadow:
      0 18px 45px rgba(13, 63, 67, 0.14),
      0 0 0 10px rgba(22, 122, 114, 0.06);
  }
}

@keyframes heroGradient {
  0% {
    background-position: 0% 0%;
  }

  50% {
    background-position: 100% 100%;
  }

  100% {
    background-position: 0% 0%;
  }
}

@keyframes heroWave {
  2% {
    transform: translateX(0);
  }

  25% {
    transform: translateX(-25%);
  }

  50% {
    transform: translateX(-50%);
  }

  75% {
    transform: translateX(-25%);
  }

  100% {
    transform: translateX(0);
  }
}

@keyframes heroBgDrift {
  from {
    transform: scale(1) translate3d(0, 0, 0);
  }

  to {
    transform: scale(1.035) translate3d(14px, -10px, 0);
  }
}

@keyframes heroLightSweep {
  0%,
  100% {
    background-position:
      center,
      center,
      120% 0;
    opacity: 0.72;
  }

  45% {
    opacity: 0.92;
  }

  70% {
    background-position:
      center,
      center,
      -80% 0;
    opacity: 0.78;
  }
}

@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroImageIn {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes categoryTicker {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* Category */
.category-section {
  padding: 40px 0;
}

.category-card {
  background: #fff;
  border: 1px solid var(--border);
  padding: 20px;
  border-radius: 8px;
  font-weight: 700;
  color: var(--primary-dark);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  transition: 0.3s;
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.category-card:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-5px);
}

/* Section */
.product-section,
.feature-section,
.contact-section {
  padding: 80px 0;
}

.product-section {
  background: linear-gradient(180deg, var(--light), #ffffff);
}

.section-heading {
  margin-bottom: 45px;
}

.section-heading span {
  color: var(--primary);
  font-weight: 700;
}

.section-heading h2 {
  font-weight: 800;
  color: var(--primary-dark);
  margin-top: 8px;
}

.section-heading p {
  color: var(--muted);
}

/* Product */
.product-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
  height: 100%;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.05);
  transition: 0.3s;
  cursor: pointer;
}

.product-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 25px 50px rgba(25, 135, 84, 0.15);
}

.product-img {
  height: 230px;
  background:
    radial-gradient(circle at 70% 25%, #fff7df 0 18%, transparent 19%),
    linear-gradient(135deg, var(--ice), #ffffff);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.35s;
}

.product-img img.product-logo-image {
  width: 72%;
  height: 72%;
  object-fit: contain;
  padding: 18px;
}

.product-img i {
  font-size: 76px;
  color: var(--primary);
}

.product-card:hover .product-img img {
  transform: scale(1.04);
}

.product-body {
  padding: 22px;
}

.product-category {
  font-size: 13px;
  color: var(--primary);
  font-weight: 700;
}

.product-title {
  font-size: 20px;
  font-weight: 800;
  margin: 8px 0;
}

.product-desc {
  color: var(--muted);
  font-size: 14px;
  min-height: 45px;
}

.product-unit {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary-dark);
  margin: 12px 0;
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 12px 0;
}

.product-actions {
  display: grid;
  gap: 8px;
  grid-template-columns: 1fr;
}

.product-actions .btn {
  align-items: center;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 42px;
}

.product-empty-state {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--muted);
  padding: 38px 20px;
  text-align: center;
}

.product-empty-state i {
  color: var(--primary);
  font-size: 34px;
}

.product-empty-state h5 {
  color: var(--primary-dark);
  font-weight: 900;
  margin: 12px 0 6px;
}

.product-empty-state p {
  margin: 0;
}

.product-pagination {
  align-items: center;
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-top: 34px;
}

.product-pagination span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.product-page-btn {
  align-items: center;
  background: var(--primary);
  border: 1px solid var(--primary);
  border-radius: 6px;
  color: #fff;
  display: inline-flex;
  gap: 8px;
  font-weight: 900;
  justify-content: center;
  min-height: 42px;
  min-width: 124px;
  padding: 0 16px;
  transition:
    background-color 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease;
}

.product-page-btn:hover:not(:disabled) {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  box-shadow: 0 12px 28px rgba(22, 122, 114, 0.18);
  transform: translateY(-2px);
}

.product-page-btn:disabled {
  background: #eef0f2;
  border-color: #eef0f2;
  color: #9ca3af;
  cursor: not-allowed;
}

.stock-badge {
  background: #fff6df;
  color: #7c5200;
  border: 1px solid #ffe1a1;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 10px;
  white-space: nowrap;
}

/* Product Detail */
.product-detail-modal .modal-content {
  border: none;
  border-radius: 8px;
  overflow: hidden;
}

.product-detail-modal .modal-body {
  background: #f5f6f8;
  padding: 22px;
  position: relative;
}

.product-detail-close {
  position: absolute;
  right: 18px;
  top: 18px;
  z-index: 4;
  background-color: #fff;
  opacity: 1;
  padding: 10px;
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.14);
}

.product-detail-layout {
  background: #fff;
  border-radius: 8px;
  display: grid;
  grid-template-columns: minmax(280px, 42%) 1fr;
  gap: 26px;
  padding: 18px;
}

.detail-main-image {
  background: #f3f7f8;
  border: 1px solid var(--border);
  border-radius: 8px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.detail-main-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.detail-thumbs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-top: 10px;
}

.detail-thumbs button {
  border: 2px solid transparent;
  border-radius: 6px;
  background: #fff;
  padding: 0;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.detail-thumbs button.active {
  border-color: var(--primary);
}

.detail-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-share {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
  color: var(--dark);
  font-size: 14px;
}

.detail-share i {
  color: #0d6efd;
  font-size: 20px;
}

.detail-share button {
  background: transparent;
  border: 0;
  color: var(--dark);
  margin-left: 10px;
}

.detail-share button i {
  color: var(--primary);
}

.product-detail-info {
  padding: 4px 4px 0 0;
}

.detail-label {
  background: var(--primary);
  color: #fff;
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  margin-bottom: 7px;
  padding: 3px 7px;
}

.detail-title-row h3 {
  color: var(--dark);
  font-size: 22px;
  font-weight: 800;
  line-height: 1.25;
  margin: 0 34px 10px 0;
}

.detail-rating-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  border-bottom: 1px solid #eef0f2;
  padding-bottom: 14px;
  color: var(--muted);
  font-size: 14px;
}

.detail-rating-row strong {
  color: var(--primary);
  text-decoration: underline;
}

.detail-stars {
  color: #f7b500;
  letter-spacing: 1px;
}

.detail-price-box {
  background: #f8fafc;
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 16px 0;
  padding: 16px;
}

.detail-price-box span,
.detail-option-row > span {
  color: var(--muted);
  font-size: 14px;
  min-width: 94px;
}

.detail-price-box strong {
  color: var(--primary);
  font-size: 30px;
  font-weight: 900;
}

.detail-price-box small {
  color: var(--muted);
}

.detail-option-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 16px 0;
}

.detail-option-row.align-start {
  align-items: flex-start;
}

.detail-option-row p {
  margin: 0;
  color: var(--dark);
  font-size: 14px;
}

.detail-option-row p i {
  color: var(--primary);
  margin-right: 6px;
}

.detail-vouchers,
.detail-variants {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.detail-vouchers b {
  background: var(--soft-green);
  color: var(--primary);
  font-size: 12px;
  padding: 5px 8px;
}

.detail-variants button {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--dark);
  min-height: 36px;
  padding: 7px 12px;
}

.detail-variants button.active {
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: inset 0 0 0 1px var(--primary);
}

.detail-qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  height: 34px;
}

.detail-qty button,
.detail-qty strong {
  width: 42px;
  height: 32px;
  border: 0;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.detail-qty button {
  color: var(--muted);
}

.detail-qty strong {
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  font-weight: 700;
}

.detail-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.detail-cart-btn,
.detail-buy-btn {
  border-radius: 4px;
  font-weight: 800;
  min-height: 46px;
  padding: 0 28px;
}

.detail-cart-btn {
  background: var(--soft-green);
  border: 1px solid var(--primary);
  color: var(--primary);
}

.detail-buy-btn {
  background: var(--primary);
  border: 1px solid var(--primary);
  color: #fff;
}

.product-detail-tabs {
  display: grid;
  gap: 16px;
  margin-top: 16px;
}

.detail-section {
  background: #fff;
  border-radius: 8px;
  padding: 20px;
}

.detail-section h4 {
  color: var(--primary-dark);
  font-size: 18px;
  font-weight: 900;
  margin-bottom: 14px;
}

.detail-section p,
.detail-section li {
  color: var(--muted);
}

.detail-review-summary {
  background: var(--soft-green);
  border: 1px solid rgba(22, 122, 114, 0.18);
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 14px;
}

.detail-review-summary strong {
  color: var(--primary);
  font-size: 26px;
}

.detail-review-summary span {
  color: #f7b500;
}

.detail-reviews {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.detail-review-card {
  border-bottom: 1px solid #eef0f2;
  padding-bottom: 12px;
}

.detail-review-card div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}

.detail-review-card span {
  color: #f7b500;
}

.detail-review-card p {
  margin: 0;
}

/* Payment */
.payment-modal .modal-content {
  border: none;
  border-radius: 8px;
  overflow: hidden;
}

.payment-modal .modal-header {
  border-bottom: 1px solid var(--border);
  padding: 18px 22px;
}

.payment-eyebrow {
  color: var(--primary);
  display: block;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 4px;
}

.payment-modal .modal-title {
  color: var(--primary-dark);
  font-weight: 900;
}

.payment-modal .modal-body {
  background: #f5f8f8;
  padding: 22px;
}

.payment-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 18px;
}

.order-summary-layout {
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
}

.payment-summary,
.payment-methods {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 18px;
}

.payment-summary > span {
  color: var(--primary);
  display: block;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 8px;
}

.payment-summary h4 {
  color: var(--primary-dark);
  font-size: 19px;
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 8px;
}

.payment-summary p {
  color: var(--muted);
  margin-bottom: 18px;
}

.checkout-form-group {
  display: grid;
  gap: 6px;
  margin-bottom: 14px;
}

.checkout-form-group label {
  color: var(--dark);
  font-size: 13px;
  font-weight: 700;
}

.checkout-form-group input,
.checkout-form-group textarea {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 14px;
  color: var(--dark);
  background: #fafbfb;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.checkout-form-group input:focus,
.checkout-form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(22, 122, 114, 0.08);
  outline: none;
}

.checkout-form-group textarea {
  resize: vertical;
  min-height: 90px;
}

.payment-section-header {
  background: #f2fbf7;
  border: 1px solid rgba(22, 122, 114, 0.18);
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 16px;
}

.payment-section-header span {
  color: var(--primary-dark);
  font-size: 14px;
  font-weight: 800;
}

.payment-section-header small {
  color: var(--muted);
  display: block;
  font-size: 12px;
  margin-top: 6px;
  line-height: 1.5;
}

.payment-methods {
  display: grid;
  gap: 14px;
}

.payment-items {
  border-top: 1px solid #eef0f2;
  display: grid;
  gap: 10px;
  max-height: 160px;
  overflow: auto;
  padding: 12px 0;
}

.payment-items div {
  display: grid;
  gap: 3px;
}

.payment-items span {
  color: var(--dark);
  font-weight: 800;
}

.payment-items small {
  color: var(--muted);
}

.payment-summary-row,
.payment-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid #eef0f2;
  padding: 12px 0;
}

.payment-summary-row small,
.payment-total small {
  color: var(--muted);
}

.payment-summary-row strong {
  color: var(--dark);
}

.payment-total strong {
  color: var(--primary);
  font-size: 22px;
  font-weight: 900;
}

.payment-group + .payment-group {
  margin-top: 18px;
}

.payment-group h5 {
  color: var(--primary-dark);
  font-size: 16px;
  font-weight: 900;
  margin-bottom: 12px;
}

.payment-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.payment-grid-wallet {
  grid-template-columns: repeat(2, minmax(0, 180px));
}

.payment-option {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 4px 10px;
  min-height: 76px;
  padding: 12px;
  text-align: left;
  transition: 0.25s;
}

.payment-option:hover,
.payment-option.active {
  border-color: var(--primary);
  box-shadow: 0 12px 28px rgba(22, 122, 114, 0.12);
  transform: translateY(-2px);
}

.payment-option.active {
  background: var(--soft-green);
}

.payment-option i,
.payment-logo {
  align-items: center;
  background: #fff;
  border: 1px solid rgba(22, 122, 114, 0.18);
  border-radius: 8px;
  color: var(--primary);
  display: flex;
  font-size: 19px;
  grid-row: span 2;
  height: 36px;
  justify-content: center;
  width: 54px;
}

.payment-logo img {
  max-width: 44px;
  max-height: 24px;
  object-fit: contain;
}

.payment-option span {
  color: var(--dark);
  font-weight: 800;
}

.payment-option small {
  color: var(--muted);
}

.payment-note {
  align-items: flex-start;
  background: #eef8f5;
  border: 1px solid rgba(22, 122, 114, 0.16);
  border-radius: 8px;
  color: var(--primary-dark);
  display: flex;
  gap: 10px;
  margin-top: 18px;
  padding: 12px;
}

.payment-note i {
  color: var(--primary);
}

.payment-note p {
  margin: 0;
}

.order-summary-action {
  align-content: start;
  display: grid;
}

.payment-confirm-btn {
  background: var(--primary);
  border: 1px solid var(--primary);
  border-radius: 6px;
  color: #fff;
  font-weight: 900;
  margin-top: 16px;
  min-height: 48px;
  width: 100%;
}

.payment-instruction {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  max-width: 620px;
  margin: 0 auto;
  overflow: hidden;
}

.payment-instruction-top {
  align-items: center;
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 12px;
  padding: 16px 18px;
}

.payment-back-btn {
  align-items: center;
  background: transparent;
  border: 0;
  color: var(--muted);
  display: inline-flex;
  font-size: 18px;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.payment-instruction-top h4 {
  color: var(--primary-dark);
  font-size: 18px;
  font-weight: 900;
  margin: 0;
}

.payment-instruction-card {
  margin: 0 auto;
  max-width: 500px;
  padding: 24px 18px 28px;
}

.instruction-row {
  align-items: flex-start;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
}

.instruction-row span {
  color: var(--dark);
  font-size: 13px;
  font-weight: 800;
}

.instruction-row strong {
  color: var(--primary);
  font-weight: 900;
}

.instruction-deadline div {
  display: grid;
  gap: 3px;
  text-align: right;
}

.instruction-deadline small {
  color: var(--muted);
  font-size: 12px;
}

.instruction-method {
  align-items: center;
  display: flex;
  gap: 10px;
  padding: 18px 0 10px;
}

.instruction-method i,
.instruction-logo {
  align-items: center;
  border: 1px solid rgba(22, 122, 114, 0.18);
  border-radius: 6px;
  color: var(--primary);
  display: inline-flex;
  height: 30px;
  justify-content: center;
  width: 44px;
}

.instruction-logo img {
  max-width: 34px;
  max-height: 20px;
  object-fit: contain;
}

.instruction-method b {
  color: var(--dark);
}

.instruction-account {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 5px 12px;
  padding: 8px 0 12px;
}

.instruction-account span,
.instruction-account small {
  color: var(--muted);
  font-size: 12px;
  grid-column: 1 / -1;
}

.instruction-account strong {
  color: var(--primary);
  font-size: 18px;
  font-weight: 900;
}

.instruction-account button {
  background: transparent;
  border: 0;
  color: var(--primary);
  font-size: 12px;
  font-weight: 900;
}

.instruction-success-note {
  color: var(--primary);
  font-size: 12px;
  margin: 0 0 16px;
}

.instruction-warning {
  color: var(--dark);
  font-size: 13px;
  margin: 0 0 16px;
}

.instruction-guide {
  border-top: 1px solid var(--border);
}

.instruction-guide button {
  align-items: center;
  background: #fff;
  border: 0;
  color: var(--dark);
  display: flex;
  font-size: 13px;
  font-weight: 900;
  justify-content: space-between;
  padding: 13px 0;
  width: 100%;
}

.instruction-guide ol {
  color: var(--muted);
  font-size: 12px;
  margin: 0;
  padding: 0 0 14px 18px;
}

.instruction-guide li + li {
  margin-top: 8px;
}

.transfer-upload {
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

.transfer-upload h5 {
  color: var(--primary-dark);
  font-size: 14px;
  font-weight: 900;
  margin-bottom: 10px;
}

.transfer-upload label {
  align-items: center;
  background: #eef8f5;
  border: 1px dashed rgba(22, 122, 114, 0.42);
  border-radius: 8px;
  color: var(--primary-dark);
  cursor: pointer;
  display: grid;
  gap: 4px;
  justify-items: center;
  padding: 18px;
  text-align: center;
}

.transfer-upload label i {
  color: var(--primary);
  font-size: 28px;
}

.transfer-upload label span {
  font-weight: 900;
}

.transfer-upload label small,
.transfer-upload p {
  color: var(--muted);
  font-size: 12px;
}

.transfer-upload input {
  display: none;
}

.transfer-upload p {
  margin: 8px 0 0;
}

.instruction-ok-btn {
  background: var(--primary);
  border: 1px solid var(--primary);
  color: #fff;
  display: block;
  font-weight: 900;
  height: 46px;
  margin: 26px auto 0;
  width: min(300px, 100%);
}

.thank-you-modal .modal-content {
  border: none;
  border-radius: 8px;
}

.thank-you-modal .modal-body {
  padding: 34px 28px;
}

.thank-you-icon {
  align-items: center;
  background: var(--soft-green);
  border-radius: 50%;
  color: var(--primary);
  display: inline-flex;
  font-size: 48px;
  height: 88px;
  justify-content: center;
  margin-bottom: 18px;
  width: 88px;
}

.thank-you-modal h4 {
  color: var(--primary-dark);
  font-weight: 900;
  margin-bottom: 10px;
}

.thank-you-modal p {
  color: var(--muted);
  margin-bottom: 22px;
}

/* Logo */
.logo-section {
  padding: 70px 0;
  background: #ffffff;
}

.logo-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
}

.logo-card {
  min-height: 150px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  box-shadow: 0 12px 35px rgba(13, 63, 67, 0.06);
}

.logo-card img {
  max-width: 100%;
  max-height: 92px;
  object-fit: contain;
}

/* Testimonial and Partner Section */
.testimonial-section {
  background: linear-gradient(
    135deg,
    rgba(232, 246, 243, 0.95),
    rgba(238, 247, 255, 0.95)
  );
  padding: 80px 0;
}

.testimonial-section .section-heading h2 {
  max-width: 640px;
  margin: 0 auto 16px;
}

.testimonial-grid {
  display: grid;
  gap: 20px;
}

.testimonial-card {
  background: #fff;
  border: 1px solid rgba(22, 122, 114, 0.12);
  border-radius: 18px;
  box-shadow: 0 24px 40px rgba(15, 23, 42, 0.06);
  padding: 24px;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 48px rgba(15, 23, 42, 0.1);
}

.testimonial-head {
  align-items: center;
  display: flex;
  gap: 14px;
  margin-bottom: 18px;
}

.testimonial-head img {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(22, 122, 114, 0.18);
}

.testimonial-head strong {
  color: var(--primary-dark);
  display: block;
  font-size: 16px;
  font-weight: 900;
}

.testimonial-head span {
  color: var(--muted);
  font-size: 13px;
}

.testimonial-card p {
  color: var(--dark);
  font-size: 15px;
  line-height: 1.8;
  margin: 0;
}

.partner-panel {
  background: linear-gradient(180deg, #ffffff 0%, #f7fbfd 100%);
  border: 1px solid rgba(22, 122, 114, 0.14);
  border-radius: 24px;
  padding: 28px;
}

.partner-highlight span {
  color: var(--primary);
  display: inline-block;
  font-size: 13px;
  font-weight: 900;
  margin-bottom: 10px;
}

.partner-highlight h3 {
  color: var(--dark);
  font-size: 28px;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 12px;
}

.partner-highlight p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
  margin: 0 0 24px;
}

.partner-logos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.logo-box {
  background: #fff;
  border: 1px solid rgba(22, 122, 114, 0.12);
  border-radius: 16px;
  display: grid;
  place-items: center;
  min-height: 120px;
  padding: 18px;
}

.logo-box img {
  max-height: 120px;
  object-fit: contain;
}

.logo-caption {
  margin-top: 10px;
  color: var(--primary-dark);
  font-weight: 800;
  font-size: 14px;
  text-align: center;
}

.partner-quotes {
  display: grid;
  gap: 16px;
}

.partner-quote-card {
  align-items: center;
  background: #fff;
  border: 1px solid rgba(22, 122, 114, 0.12);
  border-radius: 16px;
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 18px;
  padding: 16px;
}

.partner-quote-card img {
  width: 92px;
  height: 92px;
  border-radius: 18px;
  object-fit: cover;
}

.partner-quote-card strong {
  color: var(--primary-dark);
  display: block;
  font-size: 15px;
  font-weight: 900;
  margin-bottom: 6px;
}

.partner-quote-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
}

.logo-card-tall img {
  max-height: 116px;
}

/* Feature */
.feature-card {
  background: #fff;
  border-radius: 8px;
  padding: 35px 25px;
  height: 100%;
  border: 1px solid var(--border);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.04);
  text-align: center;
}

.feature-card i {
  font-size: 46px;
  color: var(--primary);
}

.feature-card h5 {
  font-weight: 800;
  margin: 18px 0 10px;
}

.feature-card p {
  color: var(--muted);
}

/* CTA */
.cta-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
}

.cta-section h2 {
  font-weight: 800;
}

.cta-section p {
  max-width: 650px;
  margin: 15px auto 25px;
}

/* Contact */
.contact-list p {
  font-size: 17px;
  margin-bottom: 15px;
}

.contact-list i {
  color: var(--primary);
  margin-right: 8px;
}

.social-block {
  margin-top: 28px;
}

.social-block h5 {
  color: var(--primary-dark);
  font-weight: 800;
  margin-bottom: 14px;
}

.social-links,
.footer-social {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.certification-links {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.certification-links img {
  max-width: 120px;
  max-height: 72px;
  width: auto;
  height: auto;
}

.social-links a,
.footer-social a {
  width: 46px;
  height: 46px;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid var(--border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 26px rgba(13, 63, 67, 0.08);
  transition: 0.25s;
}

.social-links a:hover,
.footer-social a:hover {
  transform: translateY(-4px);
  border-color: rgba(22, 122, 114, 0.28);
  box-shadow: 0 14px 34px rgba(13, 63, 67, 0.14);
}

.social-links img,
.footer-social img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.contact-box {
  background: #fff;
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--border);
}

.contact-box h5 {
  font-weight: 800;
  margin-bottom: 20px;
}

/* Cart */
.cart-item {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px solid #e5e7eb;
  padding: 12px 0;
}

.cart-item h6 {
  margin-bottom: 4px;
  font-weight: 700;
}

.cart-item small {
  color: var(--muted);
}

.qty-btn {
  border: none;
  background: var(--soft-green);
  color: var(--primary-dark);
  font-weight: 700;
  width: 28px;
  height: 28px;
  border-radius: 8px;
}

/* WhatsApp */
.floating-wa {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 58px;
  height: 58px;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 30px;
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.4);
  z-index: 999;
}

.floating-wa:hover {
  color: #fff;
  transform: scale(1.05);
}

/* Footer */
.footer {
  background: #0b2217;
  color: #fff;
  padding: 25px 0;
}

.footer-social {
  justify-content: center;
  margin-bottom: 16px;
}

.footer-social a {
  background: rgba(255, 255, 255, 0.95);
}

/* Responsive */
@media (max-width: 991.98px) {
  .header-shop-tools {
    align-items: stretch;
    gap: 12px;
    margin-top: 12px;
    width: 100%;
  }

  .header-search {
    flex: 1;
    width: auto;
  }

  .header-search input {
    padding: 0 12px;
  }

  .header-cart-btn {
    flex: 0 0 42px;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 34px;
  }

  .hero-section {
    padding: 55px 0;
  }

  .hero-float {
    opacity: 0.55;
    transform: scale(0.88);
  }

  .hero-float-2 {
    left: auto;
    right: 6%;
    bottom: 44%;
  }

  .hero-float-3 {
    display: none;
  }

  .hero-ticker {
    border-radius: 8px;
  }

  .hero-marketplace,
  .hero-marketplace-img {
    min-height: 440px;
  }

  .hero-marketplace-overlay {
    padding: 16px;
  }

  .hero-order-card {
    margin-left: 0;
  }

  .product-detail-modal .modal-body {
    padding: 12px;
  }

  .product-detail-layout {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 14px;
  }

  .detail-title-row h3 {
    font-size: 20px;
    margin-right: 28px;
  }

  .detail-price-box strong {
    font-size: 26px;
  }

  .detail-option-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .detail-option-row > span {
    min-width: 0;
  }

  .payment-layout {
    grid-template-columns: 1fr;
  }

  .payment-grid,
  .payment-grid-wallet {
    grid-template-columns: 1fr;
  }

  .product-section,
  .feature-section,
  .contact-section,
  .logo-section {
    padding: 55px 0;
  }

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

  .social-links {
    margin-bottom: 8px;
  }
}

@media (max-width: 420px) {
  .navbar-brand {
    font-size: 16px;
  }

  .product-pagination {
    align-items: stretch;
    flex-direction: column;
  }

  .product-page-btn {
    width: 100%;
  }

  .header-search {
    height: 40px;
  }

  .header-search input {
    font-size: 13px;
  }

  .header-search button {
    width: 46px;
  }

  .brand-logo {
    width: 36px;
    height: 36px;
  }

  .hero-title {
    font-size: 30px;
  }

  .hero-float {
    display: none;
  }

  .hero-ticker span {
    padding: 10px 14px;
  }

  .hero-marketplace,
  .hero-marketplace-img {
    min-height: 390px;
  }

  .hero-store-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-order-card strong {
    font-size: 17px;
  }

  .hero-order-card div {
    align-items: flex-start;
    flex-direction: column;
  }

  .detail-thumbs {
    grid-template-columns: repeat(4, 1fr);
  }

  .detail-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .detail-cart-btn,
  .detail-buy-btn {
    width: 100%;
  }

  .logo-strip {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
