/* Feed The People Merch Store custom styles */
/* Import Inter from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

* {
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: #f9f7f4;
  color: #1a1a1a;
  -webkit-font-smoothing: antialiased;
}

/* Announcement bar */
.announcement-bar {
  background-color: #0a0a0a;
  color: #ffffff;
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  text-align: center;
  padding: 10px 1rem;
}

/* Header */
.site-header {
  background-color: #ffffff;
  border-bottom: 1px solid #e5e5e5;
  position: sticky;
  top: 0;
  z-index: 100;
}

/* Logo */
.site-logo img {
  height: 56px;
  width: auto;
}

/* Nav links */
.nav-link {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #1a1a1a;
  text-decoration: none;
  transition: color 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.nav-link:hover {
  color: #c8a96e;
}
.nav-link.active {
  border-bottom: 2px solid #0a0a0a;
  padding-bottom: 2px;
}

/* Shop Dropdown */
.nav-dropdown-wrap {
  position: relative;
}
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  background: #ffffff;
  border: 1px solid #e5e5e5;
  min-width: 200px;
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(-4px);
  transition: opacity 0.15s, transform 0.15s;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  padding-top: 12px;
  margin-top: 0;
}
.nav-dropdown::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}
.nav-dropdown-wrap:hover .nav-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown-item {
  display: block;
  padding: 10px 20px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #1a1a1a;
  text-decoration: none;
  border-bottom: 1px solid #f0f0f0;
  transition: background 0.1s, color 0.1s;
}
.nav-dropdown-item:last-child { border-bottom: none; }
.nav-dropdown-item:hover {
  background: #f9f7f4;
  color: #0a0a0a;
}
.nav-dropdown-item.all-link {
  background: #0a0a0a;
  color: #ffffff;
  letter-spacing: 0.08em;
}
.nav-dropdown-item.all-link:hover {
  background: #1a1a1a;
  color: #ffffff;
}
.nav-chevron {
  transition: transform 0.2s;
}
.nav-dropdown-wrap:hover .nav-chevron {
  transform: rotate(180deg);
}

/* Cart icon */
.cart-icon-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  text-decoration: none;
  color: #1a1a1a;
}
.cart-badge {
  position: absolute;
  top: -8px;
  right: -10px;
  background: #0a0a0a;
  color: #fff;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  font-size: 0.65rem;
  font-weight: 700;
  display: none;
  align-items: center;
  justify-content: center;
}

/* Hero section */
.hero-section {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-color: #0a0a0a;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
}
.hero-content {
  position: relative;
  z-index: 2;
  color: #ffffff;
}
.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #c8a96e;
  margin-bottom: 1rem;
}
.hero-title {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}
.hero-subtitle {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.82);
  max-width: 520px;
  margin-bottom: 2rem;
}
.hero-quote {
  font-size: 0.875rem;
  font-style: italic;
  color: rgba(255,255,255,0.6);
  margin-bottom: 2rem;
}

/* Buttons */
.btn-primary {
  display: inline-block;
  background-color: #ffffff;
  color: #0a0a0a;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 14px 32px;
  border: 2px solid #ffffff;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
  cursor: pointer;
}
.btn-primary:hover {
  background-color: #0a0a0a;
  color: #ffffff;
  border-color: #ffffff;
}
.btn-secondary {
  display: inline-block;
  background-color: transparent;
  color: #ffffff;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 14px 32px;
  border: 2px solid rgba(255,255,255,0.5);
  text-decoration: none;
  transition: border-color 0.15s, color 0.15s;
  cursor: pointer;
}
.btn-secondary:hover {
  border-color: #ffffff;
  color: #ffffff;
}
.btn-dark {
  display: inline-block;
  background-color: #0a0a0a;
  color: #ffffff;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 14px 32px;
  border: 2px solid #0a0a0a;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
  cursor: pointer;
}
.btn-dark:hover {
  background-color: #1a1a1a;
}
.btn-outline {
  display: inline-block;
  background-color: transparent;
  color: #0a0a0a;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 12px 28px;
  border: 2px solid #0a0a0a;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
  cursor: pointer;
}
.btn-outline:hover {
  background-color: #0a0a0a;
  color: #ffffff;
}

/* Section labels */
.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6b7280;
  margin-bottom: 0.75rem;
  display: block;
}

/* Impact strip */
.impact-strip {
  background-color: #0a0a0a;
  color: #ffffff;
}
.impact-item {
  text-align: center;
  padding: 2rem 1rem;
  border-right: 1px solid rgba(255,255,255,0.1);
}
.impact-item:last-child {
  border-right: none;
}
.impact-item-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #c8a96e;
  margin-bottom: 0.5rem;
}
.impact-item-value {
  font-size: 1.25rem;
  font-weight: 700;
}

/* Product card */
.product-card {
  background: #ffffff;
  text-decoration: none;
  color: #1a1a1a;
  display: block;
  transition: transform 0.25s;
}
.product-card:hover {
  transform: translateY(-3px);
}
.product-card-img-wrap {
  overflow: hidden;
  background: #f0ede8;
  position: relative;
}
.product-card-img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: #f0ede8;
  display: block;
  transition: transform 0.5s ease;
}
.product-card:hover .product-card-img {
  transform: scale(1.04);
}
.product-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #0a0a0a;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
}
.product-card-body {
  padding: 0.875rem 0;
}
.product-card-name {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.3rem;
  color: #1a1a1a;
}
.product-card-price {
  font-size: 0.9375rem;
  font-weight: 500;
  color: #1a1a1a;
}

/* Editorial category card */
.cat-card {
  position: relative;
  overflow: hidden;
  display: block;
  text-decoration: none;
  background: #1a1a1a;
}
.cat-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease, opacity 0.3s;
  opacity: 0.72;
}
.cat-card:hover img {
  transform: scale(1.05);
  opacity: 0.55;
}
.cat-card-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.25rem 1rem;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 100%);
  color: #ffffff;
}
.cat-card-label span {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  display: block;
}
.cat-card-label small {
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  display: block;
  margin-top: 2px;
}

/* Category chips */
.category-chip {
  display: inline-block;
  padding: 8px 20px;
  border: 1.5px solid #d1d1d1;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  color: #6b7280;
  background: transparent;
  text-decoration: none;
}
.category-chip:hover,
.category-chip.active {
  background: #0a0a0a;
  border-color: #0a0a0a;
  color: #ffffff;
}

/* Mission band */
.mission-band {
  background: #f9f7f4;
  border-top: 1px solid #e5e5e5;
  border-bottom: 1px solid #e5e5e5;
}

/* Footer */
.site-footer {
  background-color: #0a0a0a;
  color: rgba(255,255,255,0.7);
}
.footer-heading {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 1rem;
}
.footer-link {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  display: block;
  margin-bottom: 0.5rem;
  transition: color 0.15s;
}
.footer-link:hover {
  color: #ffffff;
}

/* Product detail gallery */
.gallery-thumb {
  width: 72px;
  height: 72px;
  object-fit: cover;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.15s;
}
.gallery-thumb.active {
  border-color: #0a0a0a;
}

/* Accordion */
.accordion-btn {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: none;
  background: transparent;
  cursor: pointer;
  border-top: 1px solid #e5e5e5;
  color: #1a1a1a;
}
.accordion-content {
  font-size: 0.875rem;
  line-height: 1.7;
  color: #4b5563;
  padding-bottom: 1rem;
  display: none;
}
.accordion-content.open {
  display: block;
}

/* Mission support box */
.mission-support-box {
  background: #f9f7f4;
  border-left: 3px solid #c8a96e;
  padding: 1rem 1.25rem;
  font-size: 0.8125rem;
  line-height: 1.6;
  color: #4b5563;
}

/* Donate form */
.donate-amount-btn {
  padding: 12px 20px;
  border: 2px solid #d1d1d1;
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  background: transparent;
  color: #1a1a1a;
  transition: all 0.15s;
}
.donate-amount-btn.selected {
  border-color: #0a0a0a;
  background: #0a0a0a;
  color: #ffffff;
}

/* Form inputs */
.form-input {
  width: 100%;
  border: 1.5px solid #d1d1d1;
  padding: 12px 14px;
  font-size: 0.9375rem;
  font-family: 'Inter', sans-serif;
  color: #1a1a1a;
  background: #ffffff;
  outline: none;
  transition: border-color 0.15s;
}
.form-input:focus {
  border-color: #0a0a0a;
}
.form-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
  color: #374151;
}

/* Select */
select.form-input {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%231a1a1a' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}

/* Cart table */
.cart-table {
  width: 100%;
  border-collapse: collapse;
}
.cart-table th {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6b7280;
  padding: 0.75rem 0;
  border-bottom: 1px solid #e5e5e5;
  text-align: left;
}
.cart-table td {
  padding: 1.25rem 0;
  border-bottom: 1px solid #e5e5e5;
  vertical-align: middle;
}

/* Qty stepper */
.qty-stepper {
  display: flex;
  align-items: center;
  border: 1.5px solid #d1d1d1;
  width: fit-content;
}
.qty-stepper button {
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  font-size: 1.1rem;
  cursor: pointer;
  color: #1a1a1a;
}
.qty-stepper input {
  width: 44px;
  height: 36px;
  border: none;
  border-left: 1.5px solid #d1d1d1;
  border-right: 1.5px solid #d1d1d1;
  text-align: center;
  font-size: 0.9375rem;
  font-family: 'Inter', sans-serif;
  outline: none;
}

/* Trust bar */
.trust-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: #6b7280;
}

/* Category Carousel */
.cat-carousel-wrap {
  position: relative;
}
.cat-carousel {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.cat-carousel::-webkit-scrollbar {
  display: none;
}
.cat-carousel-item {
  flex: 0 0 260px;
  scroll-snap-align: start;
}
.cat-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #0a0a0a;
  color: #fff;
  border: none;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: background 0.15s;
}
.cat-carousel-btn:hover {
  background: #1a1a1a;
}
.cat-carousel-btn.prev {
  left: -20px;
}
.cat-carousel-btn.next {
  right: -20px;
}
@media (max-width: 768px) {
  .cat-carousel-item {
    flex: 0 0 200px;
  }
  .cat-carousel-btn {
    display: none;
  }
}

/* Scroll Reveal Animations */
[data-reveal] {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1), transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}
[data-reveal="up"] {
  transform: translateY(30px);
}
[data-reveal="right"] {
  transform: translateX(40px);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}
[data-reveal-delay="1"].is-visible { transition-delay: 0.1s; }
[data-reveal-delay="2"].is-visible { transition-delay: 0.2s; }
[data-reveal-delay="3"].is-visible { transition-delay: 0.3s; }
[data-reveal-delay="4"].is-visible { transition-delay: 0.4s; }

/* Color swatches on product cards */
.product-card-swatches {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  margin-top: 6px;
}
.colour-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1.5px solid rgba(0,0,0,0.12);
  cursor: pointer;
  transition: transform 0.15s, border-color 0.15s;
  flex-shrink: 0;
}
.colour-dot:hover {
  transform: scale(1.25);
  border-color: #0a0a0a;
}
.colour-dot-more {
  font-size: 0.6rem;
  font-weight: 600;
  color: #9ca3af;
  line-height: 14px;
  letter-spacing: 0.02em;
}

/* Footer logo fix */
.footer-logo {
  height: auto;
  max-height: 56px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  display: block;
}

/* Responsive helpers */
@media (max-width: 768px) {
  .hero-section {
    min-height: 75vh;
  }
  .impact-item {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  .impact-item:last-child {
    border-bottom: none;
  }
}
