/* Base reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: radial-gradient(circle at 10% 0%, #0b1120 0%, #020617 55%, #000 100%);
  color: #e5e7eb;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 4rem;
}

/* Header */

.header {
  position: sticky;
  top: 0;
  z-index: 999;
  backdrop-filter: blur(14px);
  background: linear-gradient(
    to bottom,
    rgba(15, 23, 42, 0.97),
    rgba(15, 23, 42, 0.85),
    transparent
  );
  border-bottom: 1px solid rgba(56, 189, 248, 0.35);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* Brand (logo + text is now a link) */
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo {
  height: 50px;
  width: 50px;
  border-radius: 999px;
  object-fit: cover;
  box-shadow: 0 0 18px rgba(56, 189, 248, 0.7);
}

.brand-name {
  font-weight: 700;
  letter-spacing: 0.03em;
  font-size: 1rem;
}

.brand-tagline {
  font-size: 0.78rem;
  color: #9ca3af;
}

/* Desktop nav */

.nav {
  display: flex;
  align-items: center;
}

.nav a {
  margin-left: 1.2rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: #e5e7eb;
  position: relative;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, #38bdf8, #22c55e);
  transition: width 0.2s ease;
}

.nav a:hover::after {
  width: 100%;
}

.cart-link {
  color: #38bdf8;
}

/* Mobile nav toggle (hamburger) */

.nav-toggle {
  display: none;
}

.nav-toggle-label {
  display: none; /* hidden on desktop */
  cursor: pointer;
  margin-left: auto;
}

.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after {
  display: block;
  background: #e5e7eb;
  height: 2px;
  width: 22px;
  border-radius: 999px;
  position: relative;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle-label span::before,
.nav-toggle-label span::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-label span::before {
  top: -6px;
}

.nav-toggle-label span::after {
  top: 6px;
}

/* When nav is open (checkbox checked), animate hamburger to X */

.nav-toggle:checked + .nav-toggle-label span {
  transform: rotate(45deg);
}

.nav-toggle:checked + .nav-toggle-label span::before {
  transform: rotate(-90deg);
  top: 0;
}

.nav-toggle:checked + .nav-toggle-label span::after {
  opacity: 0;
}

/* Buttons */

.btn {
  border-radius: 999px;
  padding: 0.65rem 1.3rem;
  border: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.btn-primary {
  background: linear-gradient(120deg, #0ea5e9, #22c55e);
  color: #0b1120;
  box-shadow: 0 16px 40px rgba(8, 47, 73, 0.8);
}

.btn-ghost {
  background: transparent;
  border: 1px solid rgba(148, 163, 184, 0.5);
  color: #e5e7eb;
}

/* Hero */

.hero {
  padding: 3rem 0 2.5rem;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
}

.hero-text h1 {
  font-size: clamp(2.1rem, 3.3vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.hero-text h1 span {
  background: linear-gradient(120deg, #38bdf8, #22c55e);
  -webkit-background-clip: text;
  color: transparent;
}

.hero-text p {
  color: #9ca3af;
  max-width: 480px;
  margin-bottom: 1.5rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.badge {
  font-size: 0.8rem;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  color: #cbd5f5;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-image {
  position: relative;
}

.hero-image img {
  border-radius: 22px;
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.8);
  border: 1px solid rgba(56, 189, 248, 0.4);
}

/* Home page horizontal featured scroller */
.featured-scroller {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  padding: 0.25rem 0 0.75rem;
  scroll-snap-type: x mandatory;
}

.featured-scroller::-webkit-scrollbar {
  height: 6px;
}

.featured-scroller::-webkit-scrollbar-track {
  background: rgba(15, 23, 42, 0.9);
}

.featured-scroller::-webkit-scrollbar-thumb {
  background: rgba(56, 189, 248, 0.6);
  border-radius: 999px;
}

.featured-card {
  flex: 0 0 auto;
  min-width: 260px;
  max-width: 320px;
  scroll-snap-align: start;
}

/* hover pill fixed */
.hero-tag {
  position: absolute;
  right: 10px;
  bottom: 10px;
  max-width: 70%;
  background: rgba(15, 23, 42, 0.88);
  border-radius: 999px;
  padding: 0.25rem 0.7rem;
  font-size: 0.75rem;
  border: 1px solid rgba(56, 189, 248, 0.5);
  color: #cbd5f5;
  pointer-events: none;
}

/* Sections */

.section {
  margin-top: 2.5rem;
}

.section h2 {
  font-size: 1.6rem;
  margin-bottom: 0.75rem;
}

.section-subtitle {
  font-size: 0.95rem;
  color: #9ca3af;
  margin-bottom: 1.5rem;
}

/* Catalog / cards */

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.75rem;
}

.card {
  background: rgba(15, 23, 42, 0.96);
  border-radius: 18px;
  border: 1px solid rgba(30, 64, 175, 0.9);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.95);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.15s ease, box-shadow 0.15s ease,
    border-color 0.15s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(56, 189, 248, 0.7);
  box-shadow: 0 22px 50px rgba(15, 23, 42, 1);
}

.card-image-wrapper {
  position: relative;
}

.card img {
  height: 210px;
  width: 100%;
  object-fit: cover;
}

.card-pill {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.86);
  border: 1px solid rgba(56, 189, 248, 0.5);
  font-size: 0.75rem;
}

.card-body {
  padding: 1.1rem 1.2rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  flex: 1;
}

.card-title {
  font-size: 1.05rem;
  font-weight: 600;
}

.card-desc {
  font-size: 0.9rem;
  color: #9ca3af;
}

.card-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 0.4rem;
}

.price {
  font-weight: 700;
  color: #38bdf8;
}

.chip {
  font-size: 0.75rem;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  color: #9ca3af;
}

.card-footer {
  padding: 0 1.2rem 1.1rem;
}

/* Product page */

.product-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.product-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
}

.product-details h1 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.product-summary {
  color: #9ca3af;
  margin-bottom: 1rem;
}

.product-list {
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

.product-list li {
  margin-left: 1rem;
}

/* About */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 2rem;
  margin-top: 1.5rem;
}

.about-card {
  background: rgba(15, 23, 42, 0.96);
  padding: 1.3rem;
  border-radius: 18px;
  border: 1px solid rgba(37, 99, 235, 0.7);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.95);
  font-size: 0.95rem;
}

/* About page slider */
.about-slider {
  position: relative;
  max-width: 760px;
  margin: 1.5rem auto 0;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(56, 189, 248, 0.35);
  background: rgba(15, 23, 42, 0.65);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.95);
}

.about-slider .slide {
  display: none;
  text-align: center;
}

.about-slider .slide.active {
  display: block;
}

.about-slider img {
  width: 100%;
  height: auto;
  border-radius: 18px;
}

.about-slider p {
  padding: 0.7rem 1rem 1rem;
  font-size: 0.9rem;
  color: #9ca3af;
}

.slide-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(148, 163, 184, 0.4);
  color: #e5e7eb;
  font-size: 1.8rem;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.slide-btn.prev { left: 12px; }
.slide-btn.next { right: 12px; }

.slide-btn:hover {
  border-color: rgba(56, 189, 248, 0.6);
}

/* Footer */

.footer {
  margin-top: 3rem;
  border-top: 1px solid rgba(56, 189, 248, 0.3);
  background: rgba(15, 23, 42, 0.92);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 2rem;
  text-align: center;
  font-size: 0.9rem;
  color: #9ca3af;
}

.footer-small {
  font-size: 0.8rem;
  margin-top: 0.35rem;
}

/* Forms */

form {
  display: grid;
  gap: 0.75rem;
  max-width: 500px;
}

input,
textarea {
  background: rgba(15, 23, 42, 0.9);
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  padding: 0.6rem 0.8rem;
  color: #e5e7eb;
  font-size: 0.95rem;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

/* Cart table */

.cart-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}

.cart-table th,
.cart-table td {
  padding: 0.5rem;
  font-size: 0.9rem;
  text-align: left;
  border-bottom: 1px solid rgba(30, 64, 175, 0.7);
}

.cart-table img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 10px;
}

.cart-actions {
  display: flex;
  gap: 0.3rem;
}

.cart-total {
  text-align: right;
  margin-top: 1rem;
  font-weight: 700;
}

/* Responsive tweaks */

@media (max-width: 800px) {
  .hero,
  .product-layout,
  .about-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .header-inner {
    flex-wrap: wrap;
  }

  /* Show hamburger, hide desktop nav by default */
  .nav-toggle-label {
    display: block;
  }

  .nav {
    display: none;
    width: 100%;
    flex-direction: column;
    margin-top: 0.75rem;
  }

  .nav a {
    margin-left: 0;
    padding: 0.3rem 0;
  }

  /* When checkbox checked, show nav */
  .nav-toggle:checked + .nav-toggle-label + .nav {
    display: flex;
  }
}


/* About page slider */

.about-slider {
  position: relative;
  max-width: 760px;
  margin: 2rem auto 0;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(56, 189, 248, 0.35);
  background: rgba(15, 23, 42, 0.7);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.95);
}

.about-slider .slides {
  width: 100%;
}

.about-slider .slide {
  display: none;
}

.about-slider .slide.active {
  display: block;
}

.about-slider img {
  width: 100%;
  display: block;
}

.slide-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.55);
  border: 1px solid rgba(148,163,184,0.5);
  color: white;
  font-size: 1.8rem;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  cursor: pointer;
}

.slide-btn.prev { left: 12px; }
.slide-btn.next { right: 12px; }


@media (max-width: 480px) {
  .hero {
    padding-top: 2.2rem;
  }

  .hero-text h1 {
    font-size: 1.8rem;
  }

  .hero-text p {
    font-size: 0.9rem;
  }

  .card img {
    height: 180px;
  }

  .card-body {
    padding: 0.9rem 0.9rem 1rem;
  }
}

/* Shoppy Pay buttons inside cart */
.btn-pay {
  padding: 0.5rem 0.9rem;
  font-size: 0.85rem;
}

.pay-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.pay-note {
  margin-top: 0.35rem;
  font-size: 0.8rem;
  color: #9ca3af;
}




/* Fix mobile layout for Featured Favourites scroller */
.featured-scroller {
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  padding-bottom: 1rem;
}

.featured-scroller .featured-card {
  flex: 0 0 auto;
  width: clamp(240px, 80vw, 320px);
}
/* Stop long text from breaking cards on mobile */
.card-desc {
  white-space: normal;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 5; /* show max 5 lines */
  -webkit-box-orient: vertical;
}

/* Make sure buttons don’t stretch weird on small screens */
.featured-scroller .btn {
  width: 100%;
  justify-content: center;
}

/* Slightly smaller card image on tiny screens */
@media (max-width: 480px) {
  .featured-scroller .card img {
    height: 170px;
  }
}

.payment-methods img {
  height: 28px;
  width: auto;
  max-height: 28px;
  max-width: 44px;      /* ✅ caps wide logos */
  object-fit: contain;
  flex: 0 0 auto;
  filter: brightness(0) invert(1);
}
@media (max-width: 800px) {
  .payment-methods img {
    height: 22px !important;
    width: 22px !important;
    max-height: 22px !important;
    max-width: 22px !important;
  }
}




.secure-checkout {
  margin-top: 0.75rem;
  text-align: center;
  font-size: 0.85rem;
  color: #cbd5f5;
  opacity: 0.9;
}
/* Trustpilot bar (under header) */
.tp-bar {
  width: 100%;
  background: rgba(15, 23, 42, 0.35);
  border-top: 1px solid rgba(56, 189, 248, 0.12);
  border-bottom: 1px solid rgba(56, 189, 248, 0.12);
}

.tp-bar-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 10px 16px;
}

.tp-bar-inner .trustpilot-widget {
  width: 100%;
  overflow: hidden;
}

/* Optional: hide on tiny screens if it feels crowded */
@media (max-width: 420px) {
  .tp-bar { display: none; }
}



