/* ==========================================================================
   Jarga Commerce - Agents-First Ecommerce Platform
   ========================================================================== */

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #111;
  background: #fff;
  line-height: 1.4;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* ---------- Header ---------- */
.site-header {
  padding: 32px 0 16px;
  text-align: center;
  background: #fff;
}

.header-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

.logo-link {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #111;
  gap: 4px;
}

.logo-icon {
  width: 40px;
  height: auto;
  margin-bottom: 4px;
}

.logo-heading {
  font-size: 42px;
  font-weight: 700;
  letter-spacing: 12px;
  color: #111;
  margin: 0;
  line-height: 1.1;
}

.logo-text {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 4px;
  color: #666;
}

.logo-tagline {
  font-weight: 400;
}

/* ---------- Navigation ---------- */
.site-nav {
  border-top: 1px solid #111;
  border-bottom: 1px solid #111;
  margin: 0 auto;
  max-width: 1080px;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 0 20px;
}

/* --- Burger (hidden on desktop) --- */
.nav-burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-direction: column;
  gap: 5px;
  z-index: 2;
}

.nav-burger span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: #111;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-burger.open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.nav-burger.open span:nth-child(2) {
  opacity: 0;
}

.nav-burger.open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0;
}

.nav-links li a {
  display: block;
  padding: 14px 20px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  color: #111;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.nav-links li a:hover {
  color: #555;
}

.nav-links li a.nav-active {
  color: #0066ff;
}

.nav-right {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-cart {
  position: relative;
  color: #111;
  display: flex;
  align-items: center;
  transition: color 0.2s ease;
}

.nav-cart:hover {
  color: #555;
}

.nav-cart-count {
  position: absolute;
  top: -6px;
  right: -8px;
  background: #0066ff;
  color: #fff;
  font-size: 9px;
  font-weight: 600;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* ---------- Main Content ---------- */
.main-content {
  max-width: 1080px;
  margin: 0 auto;
  padding: 40px 20px 60px;
}

/* ---------- Product Grid ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px 24px;
}

.product-grid--3col-center {
  grid-template-columns: repeat(3, 1fr);
  max-width: 960px;
  margin: 0 auto;
}

/* ---------- Product Card (Plan Card) ---------- */
.product-card {
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: 1px solid #e0e0e0;
  padding: 24px;
  text-align: center;
  background: #fff;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.product-card--plan {
  position: relative;
}

.product-card-image--plan {
  aspect-ratio: auto;
  background: none;
  margin-bottom: 16px;
}

.plan-card-visual {
  width: 100%;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}

.plan-card-visual--starter { background: linear-gradient(135deg, #f0f4ff, #e0e8ff); }
.plan-card-visual--launch { background: linear-gradient(135deg, #e8fff0, #d0f0e0); }
.plan-card-visual--managed { background: linear-gradient(135deg, #fff0e8, #ffe0d0); }

.plan-card-icon svg {
  stroke: #111;
}

.plan-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #0066ff;
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 4px 10px;
  border-radius: 2px;
}

.product-card-title {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  line-height: 1.4;
  margin-bottom: 8px;
  color: #111;
}

.product-card-price {
  font-size: 24px;
  font-weight: 700;
  color: #111;
  margin-bottom: 8px;
}

.product-card-subtitle {
  font-size: 12px;
  font-weight: 400;
  color: #777;
  line-height: 1.5;
}

/* ---------- Plan Detail Visual ---------- */
.pdp-image-main--plan {
  background: none;
  cursor: default;
}

.plan-detail-visual {
  width: 100%;
  aspect-ratio: 3 / 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  gap: 20px;
}

.plan-detail-visual--starter { background: linear-gradient(135deg, #f0f4ff, #e0e8ff); }
.plan-detail-visual--launch { background: linear-gradient(135deg, #e8fff0, #d0f0e0); }
.plan-detail-visual--managed { background: linear-gradient(135deg, #fff0e8, #ffe0d0); }

.plan-detail-icon svg {
  width: 80px;
  height: 80px;
  stroke: #111;
}

.plan-detail-name {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #111;
}

/* ---------- Cart Plan Icon ---------- */
.cart-item-plan-icon {
  width: 72px;
  height: 72px;
  background: #f5f5f5;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-item-plan-icon svg {
  width: 32px;
  height: 32px;
  stroke: #111;
}

/* ---------- Feature Cards ---------- */
.features-cards {
  padding: 0 20px 48px;
}

.features-cards-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature-card {
  border: 1px solid #e0e0e0;
  padding: 28px 20px;
  text-align: center;
  background: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.feature-card-icon {
  margin-bottom: 16px;
}

.feature-card-icon svg {
  stroke: #111;
}

.feature-card-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 10px;
  color: #111;
}

.feature-card-text {
  font-size: 12px;
  font-weight: 400;
  line-height: 1.7;
  color: #777;
}

/* ---------- Hero (Home - Light) ---------- */
.hero-light {
  max-width: 1080px;
  margin: 0 auto;
  padding: 56px 20px 48px;
  text-align: center;
}

.hero-light-inner {
  max-width: 640px;
  margin: 0 auto;
}

.hero-light-subtitle {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 4px;
  margin-bottom: 16px;
  color: #999;
}

.hero-light-title {
  font-size: 42px;
  font-weight: 700;
  letter-spacing: 0.5px;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #111;
}

.hero-light-description {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.7;
  color: #666;
  margin-bottom: 28px;
}

/* ---------- Agent Showcase ---------- */
.agent-showcase {
  max-width: 1080px;
  margin: 0 auto;
  padding: 60px 20px;
}

.agent-showcase-inner {
  max-width: 1080px;
  margin: 0 auto;
}

.agent-showcase-lead {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.7;
  color: #666;
  text-align: center;
  max-width: 600px;
  margin: -20px auto 12px;
}

.agent-showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.agent-showcase-card {
  border: 1px solid #e0e0e0;
  background: #fff;
  padding: 0;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.agent-showcase-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.agent-showcase-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #999;
  padding: 16px 20px 12px;
  border-bottom: 1px solid #f0f0f0;
}

.agent-chat {
  padding: 16px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.chat-msg {
  font-size: 12px;
  line-height: 1.6;
  padding: 10px 14px;
  border-radius: 8px;
  position: relative;
}

.chat-msg--user {
  background: #f5f5f5;
  color: #333;
  margin-left: 16px;
}

.chat-msg--agent {
  background: #f0f7ff;
  color: #333;
  margin-right: 16px;
}

.chat-sender {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.chat-msg--user .chat-sender {
  color: #999;
}

.chat-msg--agent .chat-sender {
  color: #111;
}

.chat-meta {
  font-size: 11px;
  color: #888;
}

.chat-meta strong {
  color: #555;
  font-weight: 600;
}

.chat-buttons {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.chat-btn {
  display: inline-block;
  padding: 8px 18px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  border-radius: 4px;
  cursor: default;
}

.chat-btn--yes {
  background: #111;
  color: #fff;
  border: 1px solid #111;
}

.chat-btn--no {
  background: #fff;
  color: #666;
  border: 1px solid #ddd;
}

.chat-msg--button-tap {
  background: transparent;
  padding: 6px 14px;
  margin-left: 16px;
  font-style: italic;
  color: #999;
}

.chat-tap-indicator {
  font-size: 10px;
  font-weight: 400;
  color: #bbb;
  letter-spacing: 0;
  text-transform: none;
  margin-right: 4px;
}

.chat-image {
  margin-top: 10px;
}

.chat-image-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px;
  background: #eee;
  border-radius: 6px;
  max-width: 140px;
}

.chat-image-placeholder span {
  font-size: 10px;
  color: #999;
  letter-spacing: 0.3px;
}

/* ---------- Tech Stack Section ---------- */
.tech-stack {
  padding: 48px 20px;
  text-align: center;
  background: #fafafa;
}

.tech-stack-inner {
  max-width: 1080px;
  margin: 0 auto;
}

.tech-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 16px;
}

.tech-badge {
  padding: 10px 24px;
  border: 1px solid #ddd;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  color: #555;
  background: #fff;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.tech-badge:hover {
  border-color: #111;
  color: #111;
}

/* ---------- Section Heading ---------- */
.section-heading {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 4px;
  text-align: center;
  margin-bottom: 32px;
  color: #111;
}

.section-cta {
  text-align: center;
  margin-top: 40px;
}

/* ---------- Shared Buttons ---------- */
.btn-outline {
  display: inline-block;
  padding: 14px 32px;
  border: 1px solid #111;
  color: #111;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: background 0.2s ease, color 0.2s ease;
}

.btn-outline:hover {
  background: #111;
  color: #fff;
}

.btn-text {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  color: #0066ff;
  transition: color 0.2s ease;
}

.btn-text:hover {
  color: #0052cc;
}

/* ---------- Home About Section ---------- */
.home-about {
  max-width: 1080px;
  margin: 0 auto;
  padding: 60px 20px;
}

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

.home-about-image {
  overflow: hidden;
}

.home-about-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.home-about-title {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 4px;
  margin-bottom: 16px;
}

.home-about-text p {
  font-size: 14px;
  line-height: 1.8;
  color: #555;
  margin-bottom: 20px;
}

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  max-width: 1080px;
  margin: 0 auto;
  padding: 16px 20px 0;
}

.breadcrumb-inner {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.5px;
  color: #999;
}

.breadcrumb-inner a {
  color: #999;
  transition: color 0.2s ease;
}

.breadcrumb-inner a:hover {
  color: #111;
}

.breadcrumb-sep {
  margin: 0 6px;
  color: #ccc;
}

.breadcrumb-current {
  color: #111;
}

/* ---------- Product Detail Page (PDP) ---------- */
.pdp {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

/* --- Gallery --- */
.pdp-gallery {
  position: static;
}

.pdp-image-main {
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #f5f5f3;
  margin-bottom: 12px;
  cursor: zoom-in;
}

.pdp-image-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.pdp-image-main:hover img {
  transform: scale(1.05);
}

.pdp-image-thumbs {
  display: flex;
  gap: 8px;
}

.pdp-thumb {
  width: 72px;
  height: 96px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.2s ease;
  background: #f5f5f3;
}

.pdp-thumb:hover,
.pdp-thumb.active {
  border-color: #111;
}

.pdp-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- Product Info --- */
.pdp-info {
  padding-top: 4px;
}

.pdp-vendor {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #0066ff;
  margin-bottom: 8px;
}

.pdp-title {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.5px;
  line-height: 1.3;
  color: #111;
  margin-bottom: 16px;
}

.pdp-price-block {
  margin-bottom: 12px;
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.pdp-price {
  font-size: 28px;
  font-weight: 700;
  color: #111;
}

.pdp-compare-price {
  font-size: 15px;
  font-weight: 400;
  color: #999;
  text-decoration: line-through;
}

.pdp-availability {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
}

.pdp-availability.in-stock {
  color: #2d7d46;
}

.pdp-availability.sold-out {
  color: #c00;
}

/* --- Variant selector --- */
.pdp-variants {
  margin-bottom: 20px;
}

.pdp-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 6px;
  color: #111;
}

.pdp-select {
  width: 100%;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 13px;
  border: 1px solid #111;
  background: #fff;
  color: #111;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23111' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

.pdp-select:focus {
  outline: 2px solid #0066ff;
  outline-offset: 1px;
}

/* --- Quantity --- */
.pdp-quantity {
  margin-bottom: 20px;
}

.pdp-qty-control {
  display: flex;
  align-items: center;
  border: 1px solid #111;
  width: fit-content;
}

.pdp-qty-btn {
  width: 28px;
  height: 28px;
  background: none;
  border: none;
  font-size: 13px;
  cursor: pointer;
  color: #111;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.15s ease;
  font-family: inherit;
}

.pdp-qty-btn:hover {
  background: #f5f5f3;
}

.pdp-qty-input {
  width: 34px;
  height: 28px;
  text-align: center;
  border: none;
  border-left: 1px solid #ddd;
  border-right: 1px solid #ddd;
  font-family: inherit;
  font-size: 14px;
  color: #111;
  -moz-appearance: textfield;
}

.pdp-qty-input::-webkit-outer-spin-button,
.pdp-qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* --- Buttons --- */
.pdp-add-to-cart {
  display: block;
  width: 100%;
  padding: 16px;
  background: #0066ff;
  color: #fff;
  border: 1px solid #0066ff;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.2s ease;
  margin-bottom: 10px;
}

.pdp-add-to-cart:hover {
  background: #0052cc;
  border-color: #0052cc;
}

.pdp-add-to-cart:disabled {
  background: #ccc;
  border-color: #ccc;
  cursor: not-allowed;
}

.pdp-buy-now {
  display: block;
  width: 100%;
  padding: 16px;
  background: #fff;
  color: #111;
  border: 1px solid #111;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
  margin-bottom: 20px;
}

.pdp-buy-now:hover {
  background: #111;
  color: #fff;
}

/* --- SKU --- */
.pdp-sku {
  font-size: 11px;
  color: #999;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
}

/* --- Description --- */
.pdp-description {
  font-size: 14px;
  line-height: 1.8;
  color: #333;
  margin-bottom: 28px;
}

.pdp-description p {
  margin-bottom: 12px;
}

.pdp-description p:last-child {
  margin-bottom: 0;
}

.pdp-description ul {
  margin: 8px 0 12px 20px;
}

.pdp-description li {
  list-style: disc;
  font-size: 14px;
  line-height: 1.7;
  color: #333;
  margin-bottom: 4px;
}

/* --- Accordion (details/metafields) --- */
.pdp-details {
  border-top: 1px solid #ddd;
  margin-bottom: 24px;
}

.pdp-accordion-btn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 16px 0;
  background: none;
  border: none;
  border-bottom: 1px solid #ddd;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #111;
  cursor: pointer;
  transition: color 0.15s ease;
}

.pdp-accordion-btn:hover {
  color: #555;
}

.pdp-accordion-icon {
  font-size: 18px;
  font-weight: 300;
  transition: transform 0.2s ease;
}

.pdp-accordion-btn.open .pdp-accordion-icon {
  transform: rotate(45deg);
}

.pdp-accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0;
}

.pdp-accordion-panel.open {
  max-height: 300px;
  padding: 12px 0 16px;
}

.pdp-accordion-panel p {
  font-size: 13px;
  line-height: 1.6;
  color: #555;
}

/* --- Tags --- */
.pdp-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 24px;
}

.pdp-tag {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 4px 10px;
  border: 1px solid #ddd;
  color: #777;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.pdp-tag:hover {
  border-color: #0066ff;
  color: #0066ff;
}

/* --- Share --- */
.pdp-share {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pdp-share-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #999;
}

.pdp-share-link {
  color: #999;
  transition: color 0.15s ease;
  display: flex;
  align-items: center;
}

.pdp-share-link:hover {
  color: #111;
}

/* --- Related Products --- */
.pdp-related {
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid #ddd;
}

.pdp-related-heading {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 32px;
  color: #111;
}

/* ---------- Page Content (shared) ---------- */
.page-content {
  max-width: 720px;
  margin: 0 auto;
}

.page-title {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 4px;
  margin-bottom: 24px;
  color: #111;
}

.page-subtitle {
  font-size: 14px;
  color: #777;
  text-align: center;
  margin-bottom: 32px;
  margin-top: -16px;
}

/* ---------- About Page ---------- */
.about-hero {
  margin-bottom: 40px;
}

.about-hero-image {
  overflow: hidden;
}

.about-hero-image img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  object-position: center 40%;
}

.about-intro {
  margin-bottom: 40px;
}

.about-lead {
  font-size: 18px;
  font-weight: 300;
  line-height: 1.8;
  color: #333;
}

.about-grid {
  display: grid;
  gap: 36px;
}

.about-heading {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 12px;
  color: #111;
}

.about-section p {
  font-size: 14px;
  line-height: 1.8;
  color: #555;
  margin-bottom: 12px;
}

.about-list {
  margin: 12px 0;
  padding-left: 20px;
}

.about-list li {
  font-size: 14px;
  line-height: 1.8;
  color: #555;
  list-style: disc;
  margin-bottom: 4px;
}

/* ---------- Collections Page ---------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 20px;
}

.filter-btn {
  padding: 8px 20px;
  font-family: inherit;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: 1px solid #ddd;
  background: #fff;
  color: #777;
  cursor: pointer;
  transition: all 0.15s ease;
}

.filter-btn:hover,
.filter-btn.active {
  border-color: #111;
  color: #111;
}

.sort-bar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.sort-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: #999;
}

.sort-select {
  width: auto;
  min-width: 180px;
  padding: 8px 36px 8px 12px;
  font-size: 12px;
  border-color: #ddd;
}

.collection-count {
  font-size: 11px;
  color: #999;
  margin-bottom: 20px;
  text-align: center;
}

/* ---------- Contact Page ---------- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.contact-lead {
  font-size: 14px;
  line-height: 1.8;
  color: #555;
  margin-bottom: 32px;
}

.contact-details {
  display: grid;
  gap: 20px;
}

.contact-detail-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #999;
  margin-bottom: 4px;
}

.contact-detail a,
.contact-detail p {
  font-size: 14px;
  color: #111;
  line-height: 1.5;
}

.contact-detail a:hover {
  color: #0066ff;
}

/* --- Form --- */
.form-group {
  margin-bottom: 16px;
}

.form-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 6px;
  color: #111;
}

.form-input {
  width: 100%;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 13px;
  border: 1px solid #ddd;
  background: #fff;
  color: #111;
  transition: border-color 0.15s ease;
}

.form-input:focus {
  outline: none;
  border-color: #0066ff;
}

.form-textarea {
  resize: vertical;
  min-height: 100px;
}

.form-success {
  font-size: 14px;
  color: #2d7d46;
  text-align: center;
  margin-top: 20px;
}

/* ---------- Legal / Terms Pages ---------- */
.legal-content {
  max-width: 680px;
}

.legal-section {
  margin-bottom: 32px;
}

.legal-heading {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 12px;
  color: #111;
}

.legal-section p {
  font-size: 14px;
  line-height: 1.8;
  color: #555;
  margin-bottom: 10px;
}

.legal-section a {
  color: #0066ff;
  text-decoration: underline;
}

.legal-section a:hover {
  color: #0052cc;
}

/* ---------- Cart Page ---------- */
.cart-empty {
  text-align: center;
  padding: 40px 0;
}

.cart-empty p {
  font-size: 14px;
  color: #777;
}

.cart-table {
  margin-bottom: 32px;
}

.cart-header {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 40px;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid #111;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #999;
}

.cart-item {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 40px;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid #eee;
  align-items: center;
}

.cart-item-product {
  display: flex;
  gap: 16px;
  align-items: center;
}

.cart-item-image {
  width: 72px;
  height: 72px;
  overflow: hidden;
  flex-shrink: 0;
  background: #f5f5f3;
  border-radius: 8px;
}

.cart-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  line-height: 1.4;
}

.cart-item-variant {
  font-size: 11px;
  color: #999;
  margin-top: 2px;
}

.cart-item-price,
.cart-item-total {
  font-size: 13px;
  font-weight: 600;
}

.cart-item-remove {
  background: none;
  border: none;
  font-size: 18px;
  color: #999;
  cursor: pointer;
  font-family: inherit;
  padding: 0;
  transition: color 0.15s ease;
}

.cart-item-remove:hover {
  color: #111;
}

.cart-summary {
  max-width: 360px;
  margin-left: auto;
}

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 12px 0;
  border-top: 1px solid #111;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.cart-shipping-note {
  font-size: 11px;
  color: #999;
  margin-bottom: 20px;
}

.cart-note {
  margin-bottom: 20px;
}

.cart-note .form-textarea {
  min-height: 60px;
  font-size: 12px;
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid #ddd;
  padding: 48px 20px 24px;
  background: #fafafa;
}

.footer-inner {
  max-width: 1080px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-heading {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 16px;
  color: #111;
}

.footer-text {
  font-size: 13px;
  line-height: 1.6;
  color: #777;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  font-size: 13px;
  color: #777;
  transition: color 0.15s ease;
}

.footer-links a:hover {
  color: #111;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  color: #777;
  transition: color 0.15s ease;
}

.footer-social a:hover {
  color: #111;
}

.footer-newsletter {
  display: flex;
  margin-top: 12px;
}

.footer-newsletter input {
  flex: 1;
  padding: 10px 12px;
  font-family: inherit;
  font-size: 12px;
  border: 1px solid #ddd;
  border-right: none;
  background: #fff;
  color: #111;
}

.footer-newsletter input:focus {
  outline: none;
  border-color: #0066ff;
}

.footer-newsletter button {
  padding: 10px 16px;
  font-family: inherit;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  background: #111;
  color: #fff;
  border: 1px solid #111;
  cursor: pointer;
  transition: background 0.15s ease;
  white-space: nowrap;
}

.footer-newsletter button:hover {
  background: #333;
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid #eee;
  text-align: center;
}

.footer-bottom p {
  font-size: 11px;
  letter-spacing: 1px;
  color: #999;
}

.site-footer p {
  font-size: 11px;
  letter-spacing: 1px;
  color: #999;
}

/* ---------- Module Cards (Home) ---------- */
.modules-section {
  max-width: 1080px;
  margin: 0 auto;
  padding: 60px 20px;
}

.modules-inner {
  max-width: 1080px;
  margin: 0 auto;
}

.modules-lead {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.7;
  color: #666;
  text-align: center;
  max-width: 600px;
  margin: -20px auto 36px;
}

.modules-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 8px;
}

.module-card {
  border: 1px solid #e0e0e0;
  padding: 24px 20px;
  background: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.module-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.module-card:last-child {
  grid-column: 2 / 3;
}

.module-card-icon {
  margin-bottom: 14px;
}

.module-card-icon svg {
  stroke: #111;
}

.module-card-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 4px;
  color: #111;
}

.module-card-endpoints {
  font-size: 11px;
  font-weight: 500;
  color: #999;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.module-card-list {
  padding-left: 16px;
}

.module-card-list li {
  font-size: 12px;
  line-height: 1.6;
  color: #777;
  list-style: disc;
  margin-bottom: 4px;
}

/* ---------- Module Detail Cards (About) ---------- */
.modules-deep-dive {
  margin-top: 16px;
}

.module-detail-grid {
  display: grid;
  gap: 24px;
}

.module-detail-card {
  border: 1px solid #e0e0e0;
  padding: 28px 24px;
  background: #fff;
  transition: box-shadow 0.2s ease;
}

.module-detail-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}

.module-detail-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.module-detail-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  flex-shrink: 0;
}

.module-detail-icon svg {
  stroke: #111;
}

.module-detail-title {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #111;
  margin: 0;
}

.module-detail-count {
  font-size: 11px;
  font-weight: 500;
  color: #999;
  letter-spacing: 0.5px;
}

.module-detail-desc {
  font-size: 14px;
  line-height: 1.7;
  color: #555;
  margin-bottom: 14px;
}

.module-detail-list {
  padding-left: 20px;
}

.module-detail-list li {
  font-size: 13px;
  line-height: 1.7;
  color: #666;
  list-style: disc;
  margin-bottom: 4px;
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .product-grid,
  .product-grid--3col-center {
    grid-template-columns: 1fr;
    gap: 24px 16px;
    max-width: 400px;
    margin: 0 auto;
  }

  .nav-links li a {
    padding: 12px 10px;
    font-size: 10px;
    letter-spacing: 1px;
  }

  .logo-heading {
    font-size: 32px;
    letter-spacing: 8px;
  }

  .logo-text {
    font-size: 9px;
    letter-spacing: 2px;
  }

  .site-header {
    padding: 24px 0 14px;
  }

  .main-content {
    padding: 24px 16px 40px;
  }

  .pdp {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .pdp-title {
    font-size: 22px;
  }

  .pdp-related {
    margin-top: 40px;
    padding-top: 28px;
  }

  .hero-light {
    padding: 40px 20px 36px;
  }

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

  .features-cards-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .home-about-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .agent-showcase-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .modules-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .module-card:last-child {
    grid-column: auto;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .page-content {
    max-width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

  .cart-header {
    display: none;
  }

  .cart-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .cart-summary {
    max-width: 100%;
  }

  /* Mobile nav: burger menu */
  .nav-burger {
    display: flex;
  }

  .nav-inner {
    justify-content: space-between;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    border-bottom: 1px solid #111;
    z-index: 100;
    padding: 8px 0;
  }

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

  .nav-links li a {
    padding: 12px 20px;
    font-size: 12px;
    text-align: left;
  }

  .nav-right {
    position: static;
    transform: none;
    padding: 10px 0;
  }

  .nav-cart svg {
    width: 24px;
    height: 24px;
  }
}

@media (max-width: 480px) {
  .features-cards-inner {
    grid-template-columns: 1fr;
  }

  .hero-light-title {
    font-size: 26px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}
