/* ===================================================================
   TRENCHIES — Shared stylesheet
   Real design tokens extracted from trenchies.co:
   Primary: #054fb8  Accent: #3ec7ff / #83dbff  Text: #3d3d3d
   Bg: #ffffff       ATC: #EF4A65 (red)
   =================================================================== */
:root {
  --blue: #054fb8;
  --blue-hover: #0f3d63;
  --sky: #3ec7ff;
  --sky-light: #83dbff;
  --red: #EF4A65;
  --red-hover: #ed3351;
  --ink: #3d3d3d;
  --muted: #6b6b6b;
  --bg: #ffffff;
  --bg-soft: #f9f9f9;
  --border: #e5e5e5;
  --border-soft: #e0e0e0;
  --font-body: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', 'Noto Sans', 'Liberation Sans', Arial, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
.page-width { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.page-width--narrow { max-width: 800px; margin: 0 auto; padding: 0 20px; }
.visually-hidden {
  position: absolute !important;
  overflow: hidden; clip: rect(0 0 0 0);
  height: 1px; width: 1px;
  margin: -1px; padding: 0; border: 0;
}

/* ---------- Announcement bar ---------- */
.announcement-bar {
  background: var(--blue);
  color: #fff;
  padding: 5px 20px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
}
.announcement-bar p { margin: 0; }

/* ---------- Header ---------- */
.header {
  background: #fff;
  padding: 10px 3rem;
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(0,0,0,0.04);
}
@media (min-width: 990px) { .header { padding: 20px 3rem; } }
@media (max-width: 749px) { .header { padding: 10px 20px; } }
.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.header-nav { display: flex; gap: 32px; align-items: center; }
.header-nav a { color: var(--ink); font-size: 14px; font-weight: 500; transition: opacity .2s; }
.header-nav a:hover, .header-nav a.active { opacity: 0.65; }
.header-logo img { height: 43px; width: auto; }
.header-actions { display: flex; gap: 18px; align-items: center; font-size: 14px; }
.header-actions a { color: var(--ink); display: inline-flex; align-items: center; gap: 6px; }
.header-actions svg { width: 20px; height: 20px; }
@media (max-width: 749px) { .header-nav { display: none; } }
@media (min-width: 750px) { .menu-toggle { display: none; } }
.menu-toggle svg { width: 24px; height: 24px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  background: var(--blue);
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.05em;
  border-radius: 9px;
  font-size: 15px;
  transition: background .3s ease, transform .2s ease;
  min-width: 120px;
}
.btn:hover { background: var(--sky-light); transform: translateY(-1px); }
.btn--rect {
  padding: 14px 32px;
  background: var(--blue);
  color: #fff;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 600;
}
.btn--rect:hover { background: var(--sky); }

/* ---------- Footer ---------- */
.footer { background: #fff; padding: 36px 20px; border-top: 1px solid var(--border); }
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-top {
  display: grid; grid-template-columns: 1fr;
  gap: 30px; padding-bottom: 30px; text-align: center;
}
@media (min-width: 750px) {
  .footer-top { grid-template-columns: 1fr 1fr; text-align: left; }
}
.footer-logo-wrap { display: flex; justify-content: center; align-items: center; }
.footer-logo-wrap img { max-width: 205px; height: auto; }
.newsletter h3 { font-size: 20px; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.newsletter p { color: var(--muted); font-size: 14px; margin-bottom: 16px; }
.newsletter form { display: flex; gap: 8px; max-width: 400px; }
@media (max-width: 749px) { .newsletter form { margin: 0 auto; } }
.newsletter input {
  flex: 1; padding: 12px 16px;
  border: 1px solid var(--border); border-radius: 6px;
  font-size: 14px; font-family: inherit; color: var(--ink);
}
.newsletter input:focus { outline: none; border-color: var(--blue); }
.newsletter button {
  padding: 12px 20px; background: var(--blue); color: #fff;
  border-radius: 6px; font-weight: 600; font-size: 14px;
  transition: background .3s ease;
}
.newsletter button:hover { background: var(--blue-hover); }
.footer-bottom {
  border-top: 1px solid var(--border); padding-top: 24px;
  display: flex; flex-direction: column; gap: 16px;
  align-items: center; font-size: 13px; color: var(--muted);
}
@media (min-width: 750px) {
  .footer-bottom { flex-direction: row; justify-content: space-between; }
}
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; justify-content: center; }
.footer-links a { color: var(--muted); transition: color .2s; }
.footer-links a:hover { color: var(--ink); }
.footer-social a svg { width: 20px; height: 20px; fill: var(--ink); }

/* ===================================================================
   HOME PAGE STYLES
   =================================================================== */

/* Hero */
.hero { position: relative; width: 100%; overflow: hidden; }
.hero-container { position: relative; width: 100%; height: 600px; }
@media (max-width: 749px) { .hero-container { height: 350px; } }
.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
@media (max-width: 749px) { .hero-image { object-position: center right; } }
.hero-overlay { position: absolute; inset: 0; background: #000; opacity: 0.3; z-index: 1; }
.hero-content {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: flex-start;
  padding: 40px; z-index: 2;
}
@media (max-width: 749px) { .hero-content { align-items: flex-end; padding: 20px; } }
.hero-text { max-width: 600px; text-align: center; }
@media (max-width: 749px) { .hero-text { text-align: left; } }
.hero h1 { font-size: 48px; font-weight: 700; color: #fff; margin: 0 0 16px; line-height: 1.2; }
.hero .sub { font-size: 18px; font-weight: 400; color: #fff; margin: 0 0 24px; line-height: 1.5; }
@media (max-width: 749px) {
  .hero h1 { font-size: 33.6px; }
  .hero .sub { font-size: 14.4px; }
}

/* Scrolling features bar */
.features-bar {
  background: var(--blue); color: #fff;
  padding: 20px 0; width: 100%;
  overflow: hidden; position: relative;
}
.features-track {
  display: flex; white-space: nowrap;
  animation: scrollFeatures 20s linear infinite;
}
.features-bar:hover .features-track { animation-play-state: paused; }
.features-group { display: flex; align-items: center; flex-shrink: 0; }
.feature-item {
  display: flex; align-items: center;
  font-size: 16px; font-weight: 600;
  letter-spacing: 0.5px; text-transform: uppercase;
  padding: 0 30px; white-space: nowrap; color: #fff;
}
.feature-icon { display: flex; align-items: center; margin-right: 10px; }
.feature-icon svg { width: 20px; height: 20px; fill: #fff; }
.feature-sep {
  width: 6px; height: 6px; border-radius: 50%;
  background: #fff; opacity: 0.5;
  margin: 0 30px; flex-shrink: 0;
}
@keyframes scrollFeatures {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@media (max-width: 768px) {
  .feature-item { font-size: 12px; padding: 0 15px; }
  .feature-icon svg { width: 16px; height: 16px; }
  .feature-sep { width: 4px; height: 4px; margin: 0 15px; }
}

/* Image + text section */
.image-text-section { padding: 30px 0 50px; background: #fff; }
.image-text-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.image-text-content { display: flex; flex-direction: column; gap: 30px; align-items: center; }
@media (min-width: 768px) {
  .image-text-content { flex-direction: row; gap: 40px; }
  .image-text-content .image-column,
  .image-text-content .text-column { width: 50%; }
}
.main-image { width: 100%; height: auto; border-radius: 8px; object-fit: cover; max-width: 800px; margin: 0 auto; }
.text-column { display: flex; flex-direction: column; align-items: flex-start; text-align: left; gap: 15px; }
@media (min-width: 768px) { .text-column { gap: 20px; } }
.image-text-heading { font-size: 2.6rem; font-weight: 700; color: var(--ink); line-height: 1.15; }
@media (min-width: 768px) { .image-text-heading { font-size: 3.5rem; margin-bottom: 25px; } }
.accent-text { color: var(--blue); }
.image-text-subtitle { font-weight: 600; color: var(--ink); font-size: 1.5rem; }
.image-text-body { font-size: 1.1rem; line-height: 1.6; color: var(--ink); }
@media (min-width: 768px) { .image-text-body { font-size: 1.4rem; line-height: 1.5; } }

/* Ingredients */
.ingredients-section { padding: 45px 20px 60px; background: #fff; }
.ingredients-container { max-width: 1200px; margin: 0 auto; }
.ingredients-header { text-align: center; margin-bottom: 40px; }
.ingredients-title { font-size: 46px; color: var(--ink); font-weight: 600; margin-bottom: 10px; line-height: 1.1; }
.ingredients-subtitle { font-size: 16px; color: var(--muted); }
.ingredients-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 989px) { .ingredients-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 749px) {
  .ingredients-grid {
    display: flex; overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 16px; padding: 0 16px;
    scrollbar-width: none;
    margin-left: -20px; margin-right: -20px;
  }
  .ingredients-grid::-webkit-scrollbar { display: none; }
  .ingredient-card { flex: 0 0 calc(100% - 32px); scroll-snap-align: center; }
  .ingredients-title { font-size: 36.8px; }
  .ingredients-subtitle { font-size: 14.4px; }
}
.ingredient-card {
  background: var(--bg-soft);
  border-radius: 12px; padding: 20px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: transform .3s ease, box-shadow .3s ease;
}
.ingredient-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 23px rgba(0,0,0,0.1);
}
@media (max-width: 749px) { .ingredient-card:hover { transform: none; } }
.ingredient-image-wrap {
  width: 100%; height: 180px;
  margin-bottom: 15px; border-radius: 8px;
  overflow: hidden; background: #f0f0f0;
}
.ingredient-image-wrap img { width: 100%; height: 100%; object-fit: cover; }
.ingredient-name { font-size: 18px; color: var(--ink); font-weight: 600; margin-bottom: 10px; }
.ingredient-desc { font-size: 14px; color: var(--muted); line-height: 1.5; }

/* Helps With carousel */
.helps-section {
  background: var(--blue); color: #fff;
  padding: 18px 0; text-align: center;
  overflow: hidden;
  border-top: 2px solid var(--blue);
  border-bottom: 2px solid var(--blue);
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}
.helps-heading { font-weight: 700; font-size: 26px; color: #fff; margin-bottom: 14px; }
.helps-track-container { width: 100%; overflow: hidden; position: relative; padding: 8px 0; }
.helps-track {
  display: inline-flex; white-space: nowrap;
  animation: carouselScroll 20s linear infinite;
  will-change: transform;
}
.helps-section:hover .helps-track { animation-play-state: paused; }
@keyframes carouselScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-100% / 3)); }
}
.helps-pill {
  display: inline-flex;
  padding: 10px 20px; margin: 0 10px;
  background: #fff; color: var(--blue);
  border: 2px solid var(--blue);
  border-radius: 20px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  font-weight: 600; font-size: 15px;
  white-space: nowrap;
}

/* Custom hero — product block on home */
.custom-hero { padding: 60px 20px; background: #fff; }
.custom-hero__container { max-width: 1200px; margin: 0 auto; }
.custom-hero__flex { display: flex; gap: 40px; align-items: center; flex-direction: column; }
@media (min-width: 768px) {
  .custom-hero__flex--image-left { flex-direction: row; }
  .custom-hero__image-wrapper,
  .custom-hero__content { width: 50%; }
}
.custom-hero__image { width: 100%; height: auto; border-radius: 8px; }
.custom-hero__content { width: 100%; padding: 20px; }
.custom-hero__title { font-size: 32px; font-weight: 700; color: var(--ink); line-height: 1.2; margin-bottom: 20px; }
@media (min-width: 768px) { .custom-hero__title { font-size: 44px; } }
.custom-hero__benefits { margin-bottom: 24px; }
.custom-hero__benefit-item {
  display: flex; align-items: center; gap: 12px;
  padding: 8px 0; font-size: 16px; font-weight: 500;
  color: var(--ink);
}
@media (min-width: 768px) { .custom-hero__benefit-item { font-size: 18px; } }
.custom-hero__benefit-icon svg { width: 24px; height: 24px; fill: var(--blue); flex-shrink: 0; }
.custom-hero__button {
  display: inline-block; padding: 14px 32px;
  background: var(--blue); color: #fff;
  font-weight: 700; font-size: 15px;
  border-radius: 9px; letter-spacing: 0.05em;
  transition: background .3s ease;
  margin-bottom: 16px;
}
.custom-hero__button:hover { background: var(--sky-light); }
.custom-hero__guarantee {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 500; color: var(--ink);
}
.custom-hero__guarantee-icon svg { width: 16px; height: 16px; fill: var(--blue); }

/* Comparison */
.comparison { padding: 40px 20px; background: #fff; }
.comparison-container { max-width: 65%; margin: 0 auto; }
@media (max-width: 749px) { .comparison-container { max-width: 100%; } }
.comparison-header { text-align: center; margin-bottom: 40px; }
.comparison-title { font-size: 32px; color: var(--ink); font-weight: 600; margin-bottom: 16px; }
@media (max-width: 749px) { .comparison-title { font-size: 25.6px; } }
.comparison-subtitle { font-size: 16px; color: var(--ink); opacity: 0.8; line-height: 1.6; }
.comparison-image-wrapper { width: 100%; border-radius: 8px; overflow: hidden; }
.comparison-image { width: 100%; height: auto; display: block; }

/* Home FAQ */
.faq-section { padding: 60px 0; background: var(--blue); }
.faq-flex { display: flex; flex-direction: column; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
@media (min-width: 750px) {
  .faq-flex { flex-direction: row; align-items: flex-start; gap: 40px; }
}
.faq-header-col { margin-bottom: 30px; }
@media (min-width: 750px) {
  .faq-header-col { flex: 0 0 48%; margin-bottom: 0; padding-top: 20px; }
}
.faq-heading { color: #fff; font-size: 36px; font-weight: 700; line-height: 1.2; margin-bottom: 15px; }
@media (max-width: 749px) {
  .faq-heading { font-size: 30px; text-align: center; }
  .faq-header-col { text-align: center; }
}
.faq-content-col { display: flex; justify-content: center; }
@media (min-width: 750px) { .faq-content-col { flex: 0 0 48%; } }
.faq-box { width: 100%; border: 1px solid #fff; border-radius: 8px; overflow: hidden; }
@media (min-width: 750px) { .faq-box { width: 85%; } }
.faq-item { border-bottom: 1px solid #fff; }
.faq-item:last-child { border-bottom: none; }
.faq-question {
  display: flex; justify-content: space-between; align-items: center;
  padding: 15px 20px; font-weight: 500; font-size: 16px;
  color: #fff; background: var(--blue);
  width: 100%; text-align: left;
}
@media (min-width: 750px) { .faq-question { padding: 13px 17px; } }
@media (max-width: 749px) { .faq-question { padding: 10px 12px; font-size: 14px; } }
.faq-toggle { font-size: 20px; font-weight: 300; transition: transform .3s ease; color: #fff; margin-left: 12px; }
.faq-item.active .faq-toggle { transform: rotate(45deg); }
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height .3s ease, padding .3s ease;
  padding: 0 20px; font-size: 14px;
  color: #fff; background: var(--blue);
}
@media (max-width: 749px) { .faq-answer { font-size: 13px; padding: 0 12px; } }
.faq-item.active .faq-answer { max-height: 500px; padding: 0 20px 16px; }
@media (max-width: 749px) { .faq-item.active .faq-answer { padding: 0 12px 10px; } }

/* ===================================================================
   PRODUCT PAGE
   =================================================================== */
.shop-product-section { padding: 40px 0; background: #fff; }
.shop-product-inner { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.shop-product-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
@media (min-width: 800px) {
  .shop-product-layout { grid-template-columns: 1.1fr 1fr; gap: 60px; }
}

/* Product gallery */
.shop-carousel-container { width: 100%; }
.shop-main-image-wrapper { width: 100%; }
.shop-image-container {
  width: 100%;
  aspect-ratio: 1/1;
  background: var(--bg-soft);
  border-radius: 12px;
  overflow: hidden;
  position: relative;
}
.shop-main-image {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .3s ease;
}
.shop-main-image.active { opacity: 1; }
.shop-thumbnails-outer { margin-top: 12px; }
.shop-thumbnails {
  display: flex;
  gap: 10px;
}
.shop-thumbnail {
  width: calc(25% - 8px);
  aspect-ratio: 1/1;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color .2s ease;
  background: var(--bg-soft);
}
.shop-thumbnail.active { border-color: var(--blue); }
.shop-thumbnail:hover { border-color: var(--sky); }
.shop-thumbnail img { width: 100%; height: 100%; object-fit: cover; }

/* Product info */
.shop-product-info { display: flex; flex-direction: column; gap: 14px; }
.rating-row {
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
}
.rating-stars { display: inline-flex; gap: 2px; }
.rating-stars svg { width: 16px; height: 16px; color: var(--blue); }
.rating-label { font-size: 12px; font-weight: 500; color: var(--ink); letter-spacing: -0.3px; }
.rating-score { font-size: 12px; font-weight: 500; color: var(--ink); letter-spacing: -0.3px; }
.rating-count { font-size: 12px; color: var(--ink); letter-spacing: -0.3px; }
.rating-satisfaction {
  display: inline-block;
  color: var(--blue);
  background: var(--sky-light);
  padding: 2px 6px;
  border-radius: 3px;
  font-weight: 600;
  font-size: 9px;
  letter-spacing: 0.02em;
  margin-left: 4px;
}
.shop-product-title {
  font-size: 38px;
  color: var(--ink);
  line-height: 1.2;
  font-weight: 700;
  margin: 3px 0 0;
}
@media (max-width: 767px) { .shop-product-title { font-size: 32px; } }
.shop-product-price {
  font-size: 22px;
  color: var(--ink);
  font-weight: 600;
  margin-top: 4px;
}

/* Benefits grid */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 13px;
  max-width: 450px;
  padding-top: 15px;
  padding-right: 10px;
}
.benefit-item { display: flex; align-items: center; gap: 7px; }
.benefit-icon {
  flex-shrink: 0;
  width: 32px; height: 32px;
  background: var(--sky-light);
  color: var(--blue);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
}
.benefit-icon svg { width: 20px; height: 20px; }
.benefit-text { color: var(--ink); font-size: 12px; font-weight: 600; letter-spacing: -0.3px; line-height: 1.4; }

/* ATC button */
.shop-add-to-cart-wrapper { margin-top: 10px; }
.shop-add-to-cart-button {
  width: 100%;
  background: var(--red);
  color: #fff;
  padding: 14px 24px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.06em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: background .2s ease;
  text-transform: uppercase;
}
.shop-add-to-cart-button:hover { background: var(--red-hover); }
.shop-add-to-cart-button svg { width: 20px; height: 20px; }

/* Guarantee row */
.guarantee-container {
  display: flex; gap: 20px;
  justify-content: center;
  margin-top: 14px;
  flex-wrap: wrap;
}
.guarantee-item {
  display: flex; align-items: center; gap: 6px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
}
.guarantee-icon { width: 18px; height: 18px; color: var(--blue); }

.divider-line {
  border: none;
  border-top: 1px solid var(--border-soft);
  margin: 10px 0;
}

/* Product accordion (Description / Ingredients) */
.product-accordion { border-top: 1px solid var(--border); }
.product-accordion .faq-item {
  border-bottom: 1px solid var(--border);
  background: #fff;
}
.product-accordion .faq-question {
  padding: 12px 16px;
  font-weight: 500;
  font-size: 14px;
  color: var(--ink);
  background: #fff;
  line-height: 1.2;
}
.product-accordion .faq-toggle { color: var(--ink); font-size: 18px; }
.product-accordion .faq-answer {
  background: #fff;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.5;
  padding: 0 16px;
}
.product-accordion .faq-answer p { margin-bottom: 10px; }
.product-accordion .faq-answer p:last-child { margin-bottom: 0; }
.product-accordion .faq-item.active .faq-answer { padding: 3px 16px 14px; }

/* ===================================================================
   COLLECTIONS PAGE
   =================================================================== */
.collection-hero {
  text-align: center;
  padding: 50px 20px 30px;
  background: #fff;
}
.collection-hero__title {
  font-size: 46px;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.1;
}
@media (max-width: 749px) { .collection-hero__title { font-size: 32px; } }
.collection-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 989px) { .collection-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .collection-grid { grid-template-columns: 1fr; } }
.product-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
  border: 1px solid var(--border);
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}
.product-card__image-wrap {
  aspect-ratio: 1/1;
  background: var(--bg-soft);
  overflow: hidden;
}
.product-card__image-wrap img { width: 100%; height: 100%; object-fit: cover; }
.product-card__info { padding: 16px; }
.product-card__title { font-size: 16px; color: var(--ink); font-weight: 600; margin-bottom: 4px; }
.product-card__price { font-size: 15px; color: var(--muted); font-weight: 500; }

/* ===================================================================
   CART PAGE
   =================================================================== */
.cart-page { padding: 60px 20px; background: #fff; min-height: 50vh; }
.cart-page-inner { max-width: 1200px; margin: 0 auto; }
.title-wrapper-with-link {
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 20px;
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.title--primary { font-size: 46px; font-weight: 700; color: var(--ink); }
@media (max-width: 749px) { .title--primary { font-size: 32px; } }
.underlined-link {
  color: var(--ink); text-decoration: underline;
  text-underline-offset: 3px; font-size: 15px;
}
.underlined-link:hover { color: var(--blue); }
.cart__warnings {
  text-align: center;
  padding: 40px 20px;
}
.cart__empty-text {
  font-size: 28px; font-weight: 600; color: var(--ink);
  margin-bottom: 24px;
}
.cart__login-title {
  margin-top: 40px;
  font-size: 18px; font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
}
.cart__login-paragraph { color: var(--muted); font-size: 14px; }
.cart__login-paragraph a { color: var(--blue); text-decoration: underline; }

/* ===================================================================
   CONTACT PAGE
   =================================================================== */
.page-title {
  font-size: 46px;
  font-weight: 700;
  color: var(--ink);
  text-align: center;
  padding: 50px 20px 10px;
}
@media (max-width: 749px) { .page-title { font-size: 32px; } }
.contact {
  padding: 27px 20px;
  max-width: 800px;
  margin: 0 auto;
}
.contact__fields {
  display: grid; grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
@media (min-width: 750px) { .contact__fields { grid-template-columns: 1fr 1fr; } }
.field { position: relative; }
.field__input {
  width: 100%;
  padding: 14px 16px;
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #fff;
  transition: border-color .2s;
}
.field__input:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 2px rgba(5,79,184,0.1);
}
.text-area { min-height: 200px; resize: vertical; }
.field__label {
  position: absolute;
  top: -8px; left: 12px;
  background: #fff;
  padding: 0 6px;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  pointer-events: none;
}
.contact__button { margin-top: 20px; text-align: center; }
.contact__button .button {
  padding: 14px 40px;
  background: var(--blue);
  color: #fff;
  border-radius: 9px;
  font-weight: 700;
  letter-spacing: 0.06em;
  font-size: 15px;
  transition: background .2s;
  cursor: pointer;
}
.contact__button .button:hover { background: var(--blue-hover); }

/* ===================================================================
   POLICY PAGES
   =================================================================== */
.shopify-policy {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 20px;
}
.shopify-policy__title { margin-bottom: 30px; }
.shopify-policy__title h1 {
  font-size: 38px;
  font-weight: 700;
  color: var(--ink);
}
@media (max-width: 749px) { .shopify-policy__title h1 { font-size: 28px; } }
.shopify-policy__body { color: var(--ink); font-size: 15px; line-height: 1.6; }
.shopify-policy__body h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  margin-top: 28px;
  margin-bottom: 12px;
}
.shopify-policy__body p { margin-bottom: 14px; }
.shopify-policy__body ul, .shopify-policy__body ol {
  margin-left: 24px;
  margin-bottom: 14px;
}
.shopify-policy__body li { margin-bottom: 8px; }
.shopify-policy__body a { color: var(--blue); text-decoration: underline; }
.shopify-policy__body strong { font-weight: 700; }

/* ===================================================================
   CART + CHECKOUT SYSTEM
   =================================================================== */

/* Price display */
.price-sale-group {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}
.price-compare {
  font-size: 18px;
  color: var(--muted);
  text-decoration: line-through;
  font-weight: 500;
}
.price-current {
  font-size: 26px;
  color: var(--red);
  font-weight: 700;
}
.price-badge {
  display: inline-block;
  background: var(--red);
  color: #fff;
  padding: 3px 9px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-left: 4px;
}

/* Cart badge on header cart icon */
.cart-icon-link {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.cart-count {
  position: absolute;
  top: -6px; right: -8px;
  background: var(--red);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.cart-count.hidden { display: none; }

/* Cart drawer */
.cart-drawer-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}
.cart-drawer-overlay.open { opacity: 1; pointer-events: auto; }

.cart-drawer {
  position: fixed;
  top: 0; right: 0;
  width: 100%;
  max-width: 420px;
  height: 100vh;
  background: #fff;
  box-shadow: -8px 0 30px rgba(0,0,0,0.1);
  z-index: 201;
  transform: translateX(100%);
  transition: transform .3s ease;
  display: flex;
  flex-direction: column;
}
.cart-drawer.open { transform: translateX(0); }

.cart-drawer__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  border-bottom: 1px solid var(--border);
}
.cart-drawer__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
}
.cart-drawer__close {
  width: 32px; height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  border-radius: 6px;
  transition: background .2s;
}
.cart-drawer__close:hover { background: var(--bg-soft); }
.cart-drawer__close svg { width: 18px; height: 18px; }

.cart-drawer__body {
  flex: 1;
  overflow-y: auto;
  padding: 18px 20px;
}
.cart-drawer__empty {
  text-align: center;
  padding: 40px 20px;
  color: var(--muted);
}
.cart-drawer__empty p { margin-bottom: 20px; font-size: 15px; }

.cart-item {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.cart-item:last-child { border-bottom: none; }
.cart-item__image {
  flex-shrink: 0;
  width: 72px; height: 72px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg-soft);
}
.cart-item__image img { width: 100%; height: 100%; object-fit: cover; }
.cart-item__info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.cart-item__title {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
}
.cart-item__price {
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
}
.cart-item__controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 4px;
}
.qty-control {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
}
.qty-btn {
  width: 28px; height: 28px;
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  background: #fff;
  transition: background .15s;
}
.qty-btn:hover { background: var(--bg-soft); }
.qty-val {
  min-width: 32px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
.cart-item__remove {
  font-size: 12px;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color .2s;
}
.cart-item__remove:hover { color: var(--red); }

.cart-drawer__footer {
  padding: 18px 20px;
  border-top: 1px solid var(--border);
  background: var(--bg-soft);
}
.cart-drawer__subtotal {
  display: flex;
  justify-content: space-between;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 4px;
}
.cart-drawer__shipping-note {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 14px;
}
.cart-drawer__checkout {
  display: block;
  width: 100%;
  background: var(--red);
  color: #fff;
  padding: 14px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background .2s;
  text-align: center;
}
.cart-drawer__checkout:hover { background: var(--red-hover); }
.cart-drawer__view-cart {
  display: block;
  text-align: center;
  margin-top: 10px;
  font-size: 13px;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cart-drawer__view-cart:hover { color: var(--ink); }

/* Full cart page */
.cart-items-list { margin-bottom: 30px; }
.cart-page-item {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  align-items: center;
}
@media (max-width: 600px) {
  .cart-page-item { grid-template-columns: 80px 1fr; }
  .cart-page-item__total { grid-column: 2; }
}
.cart-page-item__image {
  width: 100px; height: 100px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg-soft);
}
@media (max-width: 600px) {
  .cart-page-item__image { width: 80px; height: 80px; }
}
.cart-page-item__image img { width: 100%; height: 100%; object-fit: cover; }
.cart-page-item__info { display: flex; flex-direction: column; gap: 8px; }
.cart-page-item__title { font-size: 16px; font-weight: 600; color: var(--ink); }
.cart-page-item__price { font-size: 14px; color: var(--muted); }
.cart-page-item__total { font-size: 16px; font-weight: 600; color: var(--ink); text-align: right; }

.cart-totals {
  max-width: 400px;
  margin-left: auto;
  padding: 24px;
  background: var(--bg-soft);
  border-radius: 12px;
}
.cart-totals__row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 15px;
  color: var(--ink);
}
.cart-totals__row--total {
  border-top: 1px solid var(--border);
  margin-top: 8px;
  padding-top: 14px;
  font-size: 20px;
  font-weight: 700;
}
.cart-totals__checkout {
  display: block;
  width: 100%;
  margin-top: 16px;
  background: var(--red);
  color: #fff;
  padding: 16px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  transition: background .2s;
}
.cart-totals__checkout:hover { background: var(--red-hover); }

/* Checkout page */
.checkout-page {
  padding: 40px 20px 60px;
  max-width: 1100px;
  margin: 0 auto;
}
.checkout-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
@media (min-width: 900px) {
  .checkout-grid { grid-template-columns: 1.2fr 1fr; gap: 60px; }
}
.checkout-section {
  background: #fff;
}
.checkout-section h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 18px;
}
.checkout-form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-bottom: 14px;
}
.checkout-form-row--2 {
  grid-template-columns: 1fr 1fr;
}
@media (max-width: 600px) {
  .checkout-form-row--2 { grid-template-columns: 1fr; }
}

.checkout-summary {
  background: var(--bg-soft);
  padding: 24px;
  border-radius: 12px;
  position: sticky;
  top: 100px;
  align-self: start;
}
.checkout-summary h2 { margin-bottom: 16px; }
.checkout-summary__item {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  align-items: center;
}
.checkout-summary__item:last-of-type { border-bottom: none; margin-bottom: 12px; }
.checkout-summary__img {
  width: 60px; height: 60px;
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
  position: relative;
}
.checkout-summary__img img { width: 100%; height: 100%; object-fit: cover; }
.checkout-summary__qty {
  position: absolute;
  top: -6px; right: -6px;
  background: var(--ink);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  min-width: 20px;
  height: 20px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.checkout-summary__name { font-size: 13px; font-weight: 600; color: var(--ink); }
.checkout-summary__price { font-size: 13px; color: var(--muted); }
.checkout-summary__total { font-size: 14px; font-weight: 600; color: var(--ink); }
.checkout-summary__row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 14px;
  color: var(--ink);
}
.checkout-summary__row--total {
  border-top: 1px solid var(--border);
  margin-top: 8px;
  padding-top: 12px;
  font-size: 18px;
  font-weight: 700;
}

/* Stripe Payment Element wrapper */
#payment-element {
  margin-bottom: 18px;
  min-height: 60px;
}
#payment-message {
  color: var(--red);
  font-size: 14px;
  margin-bottom: 12px;
  display: none;
}
#payment-message.visible { display: block; }

.checkout-submit {
  width: 100%;
  background: var(--red);
  color: #fff;
  padding: 16px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background .2s;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.checkout-submit:hover:not(:disabled) { background: var(--red-hover); }
.checkout-submit:disabled { background: var(--muted); cursor: not-allowed; }
.checkout-submit .spinner {
  width: 18px; height: 18px;
  border: 2px solid rgba(255,255,255,0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.secure-note {
  display: flex;
  align-items: center;
  gap: 6px;
  justify-content: center;
  margin-top: 14px;
  font-size: 12px;
  color: var(--muted);
}
.secure-note svg { width: 14px; height: 14px; fill: var(--muted); }

/* Success page */
.success-page {
  max-width: 600px;
  margin: 0 auto;
  padding: 80px 20px;
  text-align: center;
}
.success-page__icon {
  width: 80px; height: 80px;
  margin: 0 auto 24px;
  background: var(--sky-light);
  color: var(--blue);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.success-page__icon svg { width: 40px; height: 40px; }
.success-page h1 {
  font-size: 36px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 12px;
}
.success-page p { font-size: 16px; color: var(--muted); margin-bottom: 24px; line-height: 1.6; }
.success-page .order-ref {
  display: inline-block;
  background: var(--bg-soft);
  padding: 8px 16px;
  border-radius: 6px;
  font-family: monospace;
  font-size: 13px;
  color: var(--ink);
  margin-bottom: 28px;
}
.success-page .btn { margin: 0 auto; }
