:root {
  --accent: #0a1e5c;
  --muted: #3ac1d8;
  --secondary: #f47c25;
  --secondaryH: #d28a57;
  --tertiary: #1e87c9;
  --glass: rgba(255, 255, 255, 0.75);
}

body {
  font-family:
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    "Helvetica Neue",
    Arial;
  background: linear-gradient(180deg, #fbfdff, #f7f9ff 60%);
  color: #1f2937;
  -webkit-font-smoothing: antialiased;
}

#Disclaimer-warning {
  width: fit-content;
  margin: auto;
  padding: 5px 15px;
}

#siteLogo {
  width: 200px;
  height: 50px;
}

@media screen and (max-width: 600px) {
  #siteLogo {
    width: 150px;
    height: 30px;
  }
}
nav {
  width: 100%;
  position: fixed !important;
  background-color: rgba(255, 255, 255, 0.75);
  z-index: 2000;
}
.navbar-brand img {
  object-fit: cover;
}
.nav-link.active {
  font-weight: 600;
  border: 1px solid var(--tertiary);
  border-radius: 10px;
  color: var(--tertiary) !important;
}

/* HERO */
.hero-section {
  background: linear-gradient(
    90deg,
    rgba(75, 141, 255, 0.5),
    rgba(5, 150, 105, 0.02)
  );
  position: relative;
  overflow: visible;
  padding-top: 140px !important;
}
.hero-card {
  border-radius: 14px;
  background: linear-gradient(
    180deg,
    rgba(75, 141, 255, 0.5),
    rgba(255, 255, 255, 0.85)
  );
}
.hero-waves {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 70px;
  fill: var(--glass);
  opacity: 0.6;
}
#h1_tag {
  color: var(--accent);
}
#hero_image_collection {
  display: flex;
  align-items: start;
  justify-content: space-between;
}
#flex_spans_best,
#flex_spans_peptides,
#flex_spans_hub {
  display: flex;
  flex-direction: column;
  font-weight: 800;
}
#flex_spans_best {
  color: var(--accent);
  gap: 5px;
  font-size: 40px;
}
#flex_spans_peptides {
  color: var(--muted);
  gap: 10px;
  font-size: 30px;
}
#flex_spans_hub {
  color: var(--secondary);
  gap: 25px;
  font-size: 30px;
  margin-top: 245px;
}
#flex_spans span {
  text-shadow: 10px 5px 0 rgba(0, 0, 0, 0.6);
}

/* PRODUCT / CARD BASE */
.product-card {
  background: linear-gradient(180deg, #fff, rgba(250, 250, 255, 0.95));
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(18, 38, 63, 0.06);
  overflow: hidden;
  transition:
    transform 0.28s cubic-bezier(0.2, 0.9, 0.2, 1),
    box-shadow 0.2s;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.product-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 18px 40px rgba(18, 38, 63, 0.09);
}
.product-thumb {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 8px;
}
.product-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent);
  margin: 0;
}
.product-desc {
  color: #6b7280;
  font-size: 0.9rem;
  min-height: 2rem;
  margin: 0;
}
.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  gap: 0.5rem;
}
.price {
  font-weight: 700;
  color: var(--accent);
}
.action-btn {
  font-size: 0.9rem;
}
@media (max-width: 575.98px) {
  .product-thumb {
    height: 140px;
  }
}

/* IMAGE / OVERLAY (research-style) */
.product-media {
  position: relative;
  height: 220px;
  overflow: hidden;
}
.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s cubic-bezier(0.2, 0.9, 0.2, 1);
  transform-origin: center;
}
.product-card:hover .product-media img,
.product-card:focus-within .product-media img {
  transform: scale(1.06) rotate(-0.4deg);
}
.product-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  transform: translateY(100%);
  transition: transform 0.34s cubic-bezier(0.2, 0.9, 0.2, 1);
  padding: 18px;
  background: linear-gradient(
    180deg,
    rgba(10, 30, 92, 0.72),
    rgba(10, 30, 92, 0.58)
  );
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 110px;
  box-shadow: 0 -6px 30px rgba(11, 23, 50, 0.18);
}
.product-overlay h4 {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
}
.product-overlay p {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.25;
}
.product-overlay .product-study {
  align-self: flex-start;
  margin-top: 8px;
  padding: 6px 10px;
  border-radius: 8px;
}
.product-card:hover .product-overlay,
.product-card:focus-within .product-overlay,
.product-card:active .product-overlay {
  transform: translateY(0%);
}
.product-study {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-decoration: none;
}
.product-study:hover,
.product-study:focus {
  background: var(--muted);
  color: #06203a;
  transform: translateY(-2px);
}
@media (max-width: 768px) {
  .product-media {
    height: 180px;
  }
  .product-overlay {
    min-height: 140px;
    padding: 14px;
  }
}

/* PRODUCT BODY */
.product-body {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

/* SEARCH RESULTS */
.search-results {
  position: absolute;
  top: 45px;
  width: 100%;
  background: white;
  border-radius: 10px;
  max-height: 400px;
  overflow-y: auto;
  display: none;
  z-index: 999;
}
.search-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-bottom: 1px solid #eee;
  cursor: pointer;
  transition: background 0.2s;
}
.search-item:hover {
  background: #f6f6f6;
}
.search-item img {
  width: 45px;
  height: 45px;
  object-fit: cover;
  border-radius: 6px;
}
.search-title {
  font-size: 14px;
  font-weight: 600;
}
.search-price {
  font-size: 12px;
  color: #666;
}

/* AUTH MODALS */
.auth-modal .modal-dialog {
  max-width: 680px;
}
@media (max-width: 992px) {
  .auth-modal .modal-dialog {
    max-width: 600px;
  }
}
@media (max-width: 576px) {
  .auth-modal .modal-dialog {
    margin: 0 12px;
    width: auto;
  }
}
.auth-modal .modal-content {
  border-radius: 12px;
  padding: 0;
  overflow: hidden;
}
.auth-modal .modal-header {
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  padding: 14px 20px;
}
.auth-modal .modal-title {
  color: var(--accent);
  font-weight: 700;
}
.auth-tabs {
  display: flex;
  gap: 8px;
  padding: 10px 18px;
  justify-content: center;
}
.auth-tab-btn {
  border-radius: 8px;
  padding: 8px 12px;
  font-weight: 600;
  background: transparent;
  border: 1px solid transparent;
  min-width: 120px;
}
.auth-tab-btn.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  box-shadow: 0 6px 14px rgba(10, 30, 92, 0.08);
}
.auth-divider {
  height: 1px;
  background: #f1f3f5;
  margin: 8px 0 16px;
}
.auth-modal .modal-body {
  padding: 18px 20px 22px;
}
.auth-form .mb-3 {
  width: 100%;
}
.auth-form .form-text {
  color: rgba(0, 0, 0, 0.6);
}
.form-alert {
  display: none;
  margin-bottom: 10px;
}
#profile a,
#profileBtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 22px;
  color: var(--accent);
  border: 1px solid transparent;
  transition:
    background 0.14s,
    color 0.14s,
    transform 0.08s;
}
#profile a:hover,
#profile a:focus,
#profileBtn:hover,
#profileBtn:focus {
  background: rgba(10, 30, 92, 0.06);
  color: #0d6efd;
  transform: translateY(-2px);
  border-color: rgba(10, 30, 92, 0.08);
}
.auth-form {
  max-width: 420px;
  margin: 0 auto;
}
.auth-form .form-control {
  width: 100%;
  box-sizing: border-box;
  min-width: 0;
}
.auth-form .input-group {
  width: 100%;
}

/* -------------FOOTER */
footer {
  background-color: var(--accent);
  color: var(--muted);
  padding: 5rem 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
  text-decoration: none;
  white-space: nowrap;
}

.footer-logo-img {
  height: 40px;
  width: 40px;
  border-radius: var(--radius-sm);
  background: linear-gradient(
    135deg,
    var(--secondary-teal),
    var(--accent-green)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-dark);
  font-weight: 800;
  font-size: 1.25rem;
  margin-right: 12px;
  flex-shrink: 0;
}

.footer-logo-text {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--neutral-light);
  line-height: 1;
  display: flex;
  align-items: center;
}

.footer-logo-text span {
  color: var(--secondary-teal);
}

.footer-about p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.social-icons {
  display: flex;
  gap: 1rem;
}

.social-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--neutral-light);
  text-decoration: none;
  transition: var(--transition);
  font-size: 1.1rem;
}

.social-icon:hover {
  background-color: var(--primary-blue);
  transform: translateY(-4px);
}

.footer-column h3 {
  color: var(--neutral-light);
  font-size: 1.25rem;
  margin-bottom: 1.75rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.footer-column h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 3rem;
  height: 3px;
  background: linear-gradient(
    to right,
    var(--secondary-teal),
    var(--accent-green)
  );
  border-radius: 10px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 1rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-links a:hover {
  color: var(--secondary-teal);
  padding-left: 0.5rem;
}

.footer-links a i {
  font-size: 0.8rem;
  opacity: 0.7;
}

.newsletter {
  background: rgba(255, 255, 255, 0.05);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  margin-top: 1.5rem;
}

.newsletter h4 {
  color: var(--neutral-light);
  font-size: 1rem;
  margin-bottom: 1rem;
}

.newsletter-form {
  display: block;
  gap: 0.5rem;
}

.newsletter-form input {
  flex-grow: 1;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  border: none;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--neutral-light);
  font-family: "Inter", sans-serif;
}

.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.newsletter-form button {
  padding: 0.75rem 4.5rem;
  border-radius: var(--radius-sm);
  border: none;
  background: linear-gradient(
    135deg,
    var(--secondary-teal),
    var(--accent-green)
  );
  color: var(--primary-dark);
  font-weight: 600;
  cursor: pointer;
  margin: 5px 0px;
  transition: var(--transition);
}

.newsletter-form button:hover {
  transform: translateY(-2px);
}

@media screen and (max-width: 500px) {
  .newsletter-form {
    display: flex;
    gap: 0.5rem;
  }

  .newsletter-form button {
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius-sm);
    border: none;
    background: linear-gradient(
      135deg,
      var(--secondary-teal),
      var(--accent-green)
    );
    color: var(--primary-dark);
    font-weight: 600;
    cursor: pointer;

    transition: var(--transition);
  }
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
  margin-bottom: 0;
}

.footer-legal {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-legal a:hover {
  color: var(--secondary-teal);
}

/* Mobile Responsiveness */
@media (max-width: 1100px) {
  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 2.25rem;
  }

  .hero-content {
    gap: 3rem;
  }

  .security-content {
    gap: 3rem;
  }
}

@media (max-width: 900px) {
  .hero-content,
  .security-content {
    grid-template-columns: 1fr;
  }

  .hero::before {
    width: 100%;
    opacity: 0.05;
  }

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

  .hero-text p {
    max-width: 100%;
  }

  .hero-badges,
  .hero-buttons,
  .hero-stats {
    justify-content: center;
  }

  .hero-card {
    transform: none;
  }

  .hero-card:hover {
    transform: translateY(-10px);
  }
}

@media (max-width: 768px) {
  .section {
    padding: 4rem 0;
  }

  .container {
    padding: 0 1.5rem;
  }

  /* Remove margin-right on logo for mobile */
  .logo-container {
    margin-right: 0;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: 4.5rem;
    left: 0;
    width: 100%;
    background-color: var(--neutral-light);
    flex-direction: column;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    z-index: 999;
    gap: 0;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    padding: 1rem 0;
    border-bottom: 1px solid var(--neutral-mid);
    width: 100%;
  }

  .nav-links a:last-child {
    border-bottom: none;
  }

  .nav-links a::after {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .hero {
    padding: 9rem 0 5rem;
  }

  .hero-text h1 {
    font-size: 2.5rem;
  }

  .hero-text p {
    font-size: 1.1rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 300px;
  }

  .hero-stats {
    flex-wrap: wrap;
    justify-content: center;
  }

  .features-grid,
  .services-grid {
    grid-template-columns: 1fr;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-legal {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 2.25rem;
  }

  h2 {
    font-size: 2rem;
  }

  h3 {
    font-size: 1.5rem;
  }

  .section {
    padding: 3rem 0;
  }

  .container {
    padding: 0 1.25rem;
  }

  .hero-text h1 {
    font-size: 2rem;
  }

  .stat-item h3 {
    font-size: 2rem;
  }

  .testimonial-card {
    padding: 2rem;
  }

  .newsletter-form {
    flex-direction: column;
  }

  /* Ensure logo stays in one line on mobile */
  .logo-text {
    font-size: 1.5rem;
  }

  .footer-logo-text {
    font-size: 1.5rem;
  }
}

/* ensure SweetAlert sits above any custom modal */
.swal-overlay,
.swal-modal {
  z-index: 20000 !important;
}

/* FEATURED / FP CAROUSEL */
.fp-section {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.6),
    rgba(245, 249, 255, 0.9)
  );
  border-radius: 12px;
  padding: 32px 0;
  margin-bottom: 32px;
}
.fp-head .h3 {
  color: var(--accent);
  margin-bottom: 0;
  font-weight: 800;
}
.fp-carousel-wrap {
  position: relative;
  overflow: visible;
}
.fp-carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 48px) / 4);
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 6px;
  -webkit-overflow-scrolling: touch;
}
.fp-carousel:focus {
  outline: none;
}
.fp-card {
  background: linear-gradient(180deg, #fff, rgba(250, 250, 255, 0.95));
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(18, 38, 63, 0.06);
  overflow: hidden;
  scroll-snap-align: start;
  transition:
    transform 0.28s cubic-bezier(0.2, 0.9, 0.2, 1),
    box-shadow 0.2s;
  display: flex;
  flex-direction: column;
  min-width: 0;
  animation: fpFadeUp 0.5s ease both;
}
.fp-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 18px 40px rgba(18, 38, 63, 0.09);
}
.fp-media {
  position: relative;
  height: 220px;
  overflow: hidden;
}
.fp-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform-origin: center;
  transition: transform 0.8s cubic-bezier(0.2, 0.9, 0.2, 1);
}
.fp-card:hover .fp-media img {
  transform: scale(1.06) rotate(-0.6deg);
}
.fp-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: linear-gradient(90deg, var(--muted), var(--tertiary));
  color: #06203a;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  box-shadow: 0 6px 18px rgba(11, 23, 50, 0.12);
}
.fp-badge--alt {
  background: linear-gradient(90deg, var(--secondary), var(--secondaryH));
  color: #fff;
}
.fp-body {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.fp-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent);
  margin: 0;
}
.fp-desc {
  margin: 0;
  color: #6b7280;
  font-size: 0.9rem;
  min-height: 2.4rem;
}
.fp-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  gap: 8px;
}
.fp-price {
  font-weight: 800;
  color: var(--accent);
  font-size: 1rem;
}
.fp-add {
  padding: 6px 10px;
  border-radius: 10px;
}
.fp-controls .btn {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.fp-controls .btn:hover {
  transform: translateY(-3px);
}
@media (max-width: 1100px) {
  .fp-carousel {
    grid-auto-columns: calc((100% - 32px) / 3);
  }
}
@media (max-width: 768px) {
  .fp-carousel {
    grid-auto-columns: calc((100% - 16px) / 2);
  }
  .fp-media {
    height: 180px;
  }
}
@media (max-width: 420px) {
  .fp-carousel {
    grid-auto-columns: 86%;
  }
  .fp-media {
    height: 200px;
  }
}
@keyframes fpFadeUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.fp-card:nth-child(1) {
  animation-delay: 0.05s;
}
.fp-card:nth-child(2) {
  animation-delay: 0.08s;
}
.fp-card:nth-child(3) {
  animation-delay: 0.11s;
}
.fp-card:nth-child(4) {
  animation-delay: 0.14s;
}
.fp-card:focus-within {
  box-shadow: 0 20px 50px rgba(18, 38, 63, 0.14);
  transform: translateY(-6px);
}
.fp-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  transform: translateY(100%);
  transition: transform 0.34s cubic-bezier(0.2, 0.9, 0.2, 1);
  padding: 18px;
  background: linear-gradient(
    180deg,
    rgba(10, 30, 92, 0.72),
    rgba(10, 30, 92, 0.58)
  );
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: flex-start;
  min-height: 110px;
  box-shadow: 0 -6px 30px rgba(11, 23, 50, 0.18);
}
.fp-overlay h4 {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
}
.fp-overlay p {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.25;
}
.fp-overlay .fp-study {
  align-self: flex-start;
  margin-top: 8px;
  padding: 6px 10px;
  border-radius: 8px;
}
.fp-card:hover .fp-overlay,
.fp-card:focus-within .fp-overlay,
.fp-card:active .fp-overlay {
  transform: translateY(0%);
}
.fp-study {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-decoration: none;
}
.fp-study:hover,
.fp-study:focus {
  background: var(--muted);
  color: #06203a;
  transform: translateY(-2px);
}

/* utilities / accessibility */
.container .small-muted {
  color: var(--muted);
}
.btn:focus,
a:focus {
  outline: 3px solid rgba(91, 75, 255, 0.18);
  outline-offset: 2px;
}
.add-cart,
#cartCount {
  background-color: var(--secondary) !important;
  color: white !important;
}
.btn-outline-secondary,
.btn-outline-primary {
  color: var(--accent);
  border: 1px solid var(--accent);
}
.btn-outline-secondary,
.btn-outline-primary:hover {
  background-color: var(--accent);
  border: 1px solid var(--accent);
  color: white;
}
.btn-primary {
  background-color: var(--secondary);
  border: 1px solid var(--secondary);
}
.btn-primary:hover {
  background-color: var(--secondaryH);
  border: 1px solid var(--secondaryH);
}
.btn-primary:active {
  background-color: var(--secondaryH) !important;
  border: 1px solid var(--secondaryH) !important;
}
.visually-hidden {
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
  border: 0;
  padding: 0;
  margin: -1px;
}

.about-section {
  padding: 120px 20px;
  background: #f8f9fc;
  position: relative;
  overflow: hidden;
}

.about-container {
  max-width: 1200px;
  margin: auto;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.about-tag {
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--secondary);
  font-weight: 600;
}

.about-title {
  font-size: 42px;
  color: var(--accent);
  margin: 15px 0 25px;
  line-height: 1.2;
  font-weight: 700;
}

.about-title span {
  color: var(--tertiary);
}

.about-text {
  font-size: 16px;
  line-height: 1.7;
  color: #555;
  margin-bottom: 18px;
}

.about-trust {
  display: flex;
  gap: 30px;
  margin: 30px 0;
}

.trust-item h3 {
  font-size: 26px;
  color: var(--accent);
  margin-bottom: 5px;
}

.trust-item p {
  font-size: 14px;
  color: #777;
}

.about-btn {
  display: inline-block;
  padding: 14px 28px;
  background: var(--secondary);
  color: white;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.about-btn:hover {
  background: var(--secondaryH);
  transform: translateY(-3px);
}

/* RIGHT VISUAL */

.about-visual {
  position: relative;
}

.about-glass {
  background: var(--glass);
  backdrop-filter: blur(12px);
  padding: 40px;
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
  position: relative;
  z-index: 2;
}

.about-glass h4 {
  color: var(--accent);
  margin-bottom: 15px;
}

.about-glass ul {
  padding-left: 18px;
}

.about-glass li {
  margin-bottom: 8px;
  color: #555;
}

.molecule-bg {
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, var(--muted), transparent);
  top: -60px;
  right: -60px;
  opacity: 0.4;
  filter: blur(60px);
  z-index: 1;
  animation: float 8s ease-in-out infinite;
}

@keyframes float {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(20px);
  }
  100% {
    transform: translateY(0);
  }
}

/* RESPONSIVE */

@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-title {
    font-size: 32px;
  }

  .about-trust {
    justify-content: space-between;
  }
}

/* NAV PROFILE */

.profile-trigger {
  display: flex;
  align-items: center;
  padding: 0;
}

/* small avatar */

.avatar-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--tertiary));
  color: white;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

/* dropdown card */

.profile-dropdown {
  width: 260px;
  border-radius: 14px;
  overflow: hidden;
  border: none;
  animation: dropdownFade 0.25s ease;
}

/* animation */

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

/* header */

.profile-card-header {
  padding: 20px;
  text-align: center;
  background: linear-gradient(135deg, var(--accent), var(--tertiary));
  color: white;
}

.avatar-large {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  background: white;
  color: var(--accent);
  font-weight: 600;
}

.profile-email {
  margin-top: 8px;
  font-size: 13px;
  word-break: break-all;
}

/* menu items */

.profile-card-body {
  padding: 6px 0;
}

.profile-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  font-size: 14px;
}

.profile-item:hover {
  background: #f5f7fb;
}

/* order badge */

.order-badge {
  margin-left: auto;
  background: var(--secondary);
}

/* mobile improvements */

@media (max-width: 992px) {
  .profile-dropdown {
    width: 100%;
    margin-top: 10px;
  }
}

/* Generic section spacing */
.section {
  padding-top: 2.25rem;
  padding-bottom: 2.25rem;
}
.section.bg-white {
  background: var(--surface);
}
.section.bg-light {
  background: var(--panel-bg);
}

/* Testimonials */
.testimonials-section .tp-card {
  border-radius: var(--card-radius);
  background: linear-gradient(180deg, #fff 0, #fbfdff 100%);
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease;
  box-shadow: var(--shadow-sm);
  min-height: 150px;
  padding: 1.25rem;
}
.testimonials-section .tp-card:hover,
.testimonials-section .tp-card:focus {
  transform: translateY(-6px);
  box-shadow: var(--shadow-soft);
}
.tp-quote {
  color: var(--accent);
  font-size: 1rem;
  line-height: 1.45;
  margin: 0 0 0.6rem 0;
}
.tp-meta {
  margin-top: 0.5rem;
  color: var(--muted);
  font-size: 0.92rem;
}

/* Resource cards */
.resource-card {
  background: #fff;
  border-radius: 10px;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  box-shadow: var(--shadow-sm);
  min-height: 120px;
}
.resource-card .resource-head {
  width: 100%;
}
.resource-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(180deg, var(--glass), #eef9ff);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(10, 30, 92, 0.04);
}

/* Resource link styling */
.resource-link {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}
.resource-link:hover {
  color: var(--tertiary);
}

/* Reports strip */
.reports-strip {
  border-top: 1px solid rgba(10, 30, 92, 0.04);
  border-bottom: 1px solid rgba(10, 30, 92, 0.03);
  padding-top: 0.9rem;
  padding-bottom: 0.9rem;
}
.reports-strip img {
  filter: grayscale(0.03);
  opacity: 0.98;
}

/* Wholesale */
.wholesale-section .card {
  border-radius: 12px;
  background: linear-gradient(180deg, #fff, #fcfcff);
}
#whQty {
  max-width: 140px;
  border: 1px solid rgba(10, 30, 92, 0.06);
}
#whPricePreview {
  color: var(--accent);
  background: rgba(58, 193, 216, 0.08);
  padding: 0.28rem 0.55rem;
  border-radius: 6px;
  font-weight: 600;
}

/* Buttons local accent */
.wholesale-section .btn-primary,
.wholesale-section .btn-primary:focus,
.wholesale-section .btn-primary:hover {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 6px 14px rgba(10, 30, 92, 0.08);
}

/* News cards */
.news-card img {
  object-fit: cover;
  height: 160px;
  width: 100%;
  border-radius: 8px;
}
.news-card h5 {
  margin-top: 0.5rem;
  margin-bottom: 0.3rem;
  font-size: 1rem;
  color: var(--accent);
}
.news-card p {
  margin-bottom: 0.5rem;
  color: rgba(10, 30, 92, 0.6);
}

/* FAQ */
.faq-section .accordion-button {
  border-radius: 8px;
  background: linear-gradient(180deg, #fff, #fbfdff);
  color: var(--accent);
}
.faq-section .accordion-button:not(.collapsed) {
  box-shadow: var(--shadow-sm);
}
.faq-section .accordion-item + .accordion-item {
  margin-top: 0.6rem;
}

/* Accessibility & focus */
.tp-card,
.resource-card,
.news-card {
  outline: none;
}
.tp-card:focus,
.resource-card:focus {
  box-shadow: 0 10px 30px rgba(10, 30, 92, 0.09);
  transform: translateY(-6px);
}

/* Responsive tweaks */
@media (max-width: 991px) {
  .resource-card {
    align-items: stretch;
  }
  .news-card img {
    height: 140px;
  }
  .tp-card {
    min-height: 140px;
  }
}
@media (max-width: 575px) {
  .tp-quote {
    font-size: 0.96rem;
  }
  #whQty {
    width: 100%;
    max-width: none;
  }
}

/* subtle accent underline for headings */
.section h2.h3 {
  position: relative;
  padding-bottom: 0.6rem;
}
.section h2.h3::after {
  content: "";
  display: block;
  width: 56px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--tertiary));
  border-radius: 6px;
  margin-top: 0.5rem;
}

/* subtle card hover for news */
.news-card:hover,
.news-card:focus {
  transform: translateY(-6px);
  transition: transform 0.22s ease;
  box-shadow: var(--shadow-soft);
}

/* Quick message section */

.quick-message-section {
  background: linear-gradient(180deg, #ffffff, rgba(10, 30, 92, 0.03));
}

/* Left text */

.qm-title {
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 15px;
}

.qm-text {
  color: rgba(10, 30, 92, 0.65);
  margin-bottom: 20px;
}

.qm-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.qm-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--accent);
}

.qm-item i {
  color: var(--secondary);
  font-size: 16px;
}

/* Form card */

.qm-form-card {
  background: var(--glass);
  backdrop-filter: blur(8px);
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 8px 30px rgba(10, 30, 92, 0.08);
}

/* Inputs */

.qm-form-card .form-control {
  border-radius: 8px;
  border: 1px solid rgba(10, 30, 92, 0.08);
  padding: 10px 12px;
}

.qm-form-card .form-control:focus {
  border-color: var(--tertiary);
  box-shadow: 0 0 0 3px rgba(30, 135, 201, 0.12);
}

/* Button */

.qm-btn {
  background: var(--accent);
  color: white;
  padding: 10px 24px;
  border-radius: 8px;
  font-weight: 600;
  border: none;
}

.qm-btn:hover {
  background: var(--secondary);
  transition: 0.25s;
}

/* Responsive */

@media (max-width: 768px) {
  .qm-form-card {
    padding: 20px;
  }

  .qm-title {
    font-size: 1.6rem;
  }
}

@media (max-width: 991.98px) {
  .navbar .navbar-collapse {
    padding: 0.35rem 0.75rem;
  }

  /* Keep nav-links compact (don't stretch to 100%) */
  .navbar-nav .nav-link {
    display: inline-flex !important;
    align-items: center;
    width: auto !important; /* prevents full-width stretching */
    padding: 0.36rem 0.7rem !important;
    margin: 0.2rem 0 !important;
    border-radius: 8px;
    text-decoration: none;
    color: inherit;
    white-space: nowrap;
  }

  /* Ensure nav items don't force children to full width */
  .navbar-nav .nav-item {
    width: auto !important;
  }

  /* Make the cart button a compact inline control */
  .navbar-nav > a.btn,
  .navbar-nav a.btn,
  .navbar .btn.position-relative {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    width: fit-content !important;
    padding: 0.32rem 0.6rem !important;
    border-radius: 8px;
    margin: 20px !important;
  }

  /* If the cart link sits directly inside <ul> make sure it behaves */
  .navbar-nav > li > a.btn,
  .navbar-nav > a.btn {
    display: inline-flex !important;
  }

  /* Tweak search area inside the collapsed menu so it doesn't force full-width buttons */
  .nav-search-wrap {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    flex-wrap: wrap;
  }
  .nav-search-wrap .input-group {
    flex: 1 1 auto;
    min-width: 120px;
  }

  /* Cleaner, lighter navbar-toggler (remove thick padding and heavy shadow) */
  .navbar-toggler {
    padding: 0.25rem 0.5rem !important;
    border-radius: 8px !important;
    box-shadow: none !important;
    border: 1px solid rgba(10, 30, 92, 0.06) !important;
    background: rgba(255, 255, 255, 0.9) !important; /* subtle glass */
    transition:
      transform 0.12s ease,
      background 0.12s ease;
  }
  .navbar-toggler:focus,
  .navbar-toggler:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(10, 30, 92, 0.06) !important;
  }

  /* Make dropdown caret smaller and inline with text */
  .navbar .dropdown-toggle::after {
    margin-left: 0.45rem;
    vertical-align: baseline;
  }

  /* Ensure badge positioning on small screens doesn't push layout */
  .position-relative #cartCount,
  .navbar .badge {
    top: -6px !important;
    right: -8px !important;
    transform: translate(0, 0) !important;
    font-size: 0.7rem !important;
    padding: 0.5rem 0.8rem 0.5rem 0.5rem !important;
    text-align: center !important;
    margin: auto !important;
    color: white !important;
  }

  .navbar-collapse.show {
    display: block !important;
    width: auto !important;
  }
}

@media (max-width: 991.98px) {
  .navbar-nav .nav-link + .nav-link {
    border-top: 0.5px solid rgba(10, 30, 92, 0.03);
    padding-top: 0.4rem;
  }
}

.navbar-toggler .navbar-toggler-icon {
  width: 1.05rem !important;
  height: 1.05rem;
  background-size: 1.05rem;
  padding-left: 5px;
}

@media screen and (max-width: 1500px) {
  #visible-cart-dsk {
    visibility: hidden;
  }
}

@media screen and (max-width: 991.98px) {
  #visible-cart-dsk {
    visibility: visible;
  }
}

a {
  text-decoration: none;
  color: var(--muted);
}

html,
body {
  font-family:
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    "Helvetica Neue",
    Arial,
    sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
}

.newsletter-form input,
.newsletter-form button,
.qm-form-card .form-control {
  font-family: inherit !important;
}
