/* ==========================================================================
   Santa Fe Basket Company — Modern stylesheet
   Warm, professional theme for a gourmet gift basket company.
   ========================================================================== */

:root {
  --primary: #9a4a2e;        /* terracotta */
  --primary-dark: #7a3a22;
  --primary-light: #c96a45;
  --accent: #c89b3c;         /* gold */
  --green: #4a5d3a;          /* olive */
  --green-dark: #39482c;
  --bg: #faf6f0;             /* warm cream */
  --surface: #ffffff;
  --text: #3b2f2a;
  --muted: #7a6a5f;
  --border: #e6dccf;
  --shadow: 0 4px 18px rgba(59, 47, 42, 0.08);
  --shadow-lg: 0 10px 30px rgba(59, 47, 42, 0.14);
  --radius: 12px;
  --radius-sm: 8px;
  --maxw: 1120px;
  --font-head: Georgia, "Times New Roman", Times, serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--text);
  line-height: 1.25;
  margin: 0 0 0.6em;
}
h1 { font-size: 2.1rem; }
h2 { font-size: 1.6rem; }
h3 { font-size: 1.2rem; }

p { margin: 0 0 1em; }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Skip link (accessibility) ---------- */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--primary);
  color: #fff;
  padding: 10px 16px;
  z-index: 1000;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Header ---------- */
.site-header {
  background: var(--surface);
  border-bottom: 3px solid var(--accent);
  box-shadow: var(--shadow);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 20px;
  max-width: var(--maxw);
  margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: 14px; }
.brand-logo {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 26px;
  flex-shrink: 0;
}
.brand-name {
  font-family: var(--font-head);
  font-size: 1.35rem;
  color: var(--text);
  line-height: 1.1;
}
.brand-name small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 2px;
}

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.main-nav a {
  display: block;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
}
.main-nav a:hover,
.main-nav a[aria-current="page"] {
  background: var(--primary);
  color: #fff;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 1.4rem;
  padding: 6px 12px;
  cursor: pointer;
  color: var(--text);
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary) 55%, var(--accent));
  color: #fff;
  padding: 60px 20px;
  text-align: center;
}
.hero h1 { color: #fff; font-size: 2.4rem; margin-bottom: 0.4em; }
.hero p { font-size: 1.15rem; max-width: 720px; margin: 0 auto 1.4em; opacity: 0.95; }
.hero .subtitle { font-size: 1rem; opacity: 0.9; }

.btn {
  display: inline-block;
  background: var(--accent);
  color: #3b2f2a;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: var(--shadow);
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); color: #3b2f2a; }
.btn-light { background: #fff; color: var(--primary-dark); }
.btn-light:hover { color: var(--primary-dark); }
.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  box-shadow: none;
}
.btn-outline:hover { background: var(--primary); color: #fff; }

/* ---------- Sections ---------- */
.section { padding: 48px 0; }
.section-alt { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 32px; }
.section-head h2 { margin-bottom: 0.3em; }
.section-head p { color: var(--muted); }

/* ---------- Feature / value cards ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}
.card .icon { font-size: 2rem; margin-bottom: 10px; }
.card h3 { margin-bottom: 0.4em; }
.card p { color: var(--muted); font-size: 0.95rem; margin-bottom: 0; }

/* ---------- Product cards ---------- */
.product-grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.product-card .thumb {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #f0e8dc;
}
.product-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-card .body { padding: 16px; display: flex; flex-direction: column; flex: 1; }
.product-card h3 { font-size: 1.05rem; margin-bottom: 0.3em; }
.product-card .price { color: var(--primary); font-weight: 700; margin-bottom: 10px; }
.product-card .desc { color: var(--muted); font-size: 0.88rem; flex: 1; margin-bottom: 12px; }

/* ---------- Product detail ---------- */
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.product-detail .photo {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  background: #f0e8dc;
}
.product-detail .photo img { width: 100%; display: block; }
.product-detail .price { font-size: 1.5rem; color: var(--primary); font-weight: 700; }
.product-detail .meta { color: var(--muted); font-size: 0.9rem; }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs {
  font-size: 0.85rem;
  color: var(--muted);
  padding: 16px 0 0;
}
.breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumbs li + li::before { content: "›"; margin-right: 6px; color: var(--border); }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--primary); }
.breadcrumbs [aria-current="page"] { color: var(--text); font-weight: 600; }

/* ---------- Page header ---------- */
.page-head { padding: 36px 0 8px; }
.page-head h1 { margin-bottom: 0.2em; }
.page-head p { color: var(--muted); max-width: 760px; }

/* ---------- Content / prose ---------- */
.prose { max-width: 820px; }
.prose h2 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; margin-bottom: 1em; }
.prose li { margin-bottom: 0.4em; }

/* ---------- FAQ ---------- */
.faq details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin-bottom: 12px;
}
.faq summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--text);
  font-size: 1.02rem;
}
.faq details p { margin: 12px 0 0; color: var(--muted); }

/* ---------- Contact / info list ---------- */
.info-list { list-style: none; margin: 0; padding: 0; }
.info-list li { padding: 8px 0; border-bottom: 1px solid var(--border); }
.info-list li:last-child { border-bottom: none; }
.info-list strong { color: var(--text); }

/* ---------- Testimonials ---------- */
.testimonial {
  background: var(--surface);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  box-shadow: var(--shadow);
}
.testimonial blockquote { margin: 0 0 8px; font-style: italic; color: var(--text); }
.testimonial cite { font-style: normal; color: var(--muted); font-size: 0.9rem; }

/* ---------- Trust bar ---------- */
.trust-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  text-align: center;
  padding: 20px 0;
}
.trust-bar .item { flex: 1 1 160px; }
.trust-bar .item .num { font-family: var(--font-head); font-size: 1.6rem; color: var(--primary); font-weight: 700; }
.trust-bar .item .label { color: var(--muted); font-size: 0.85rem; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--green);
  color: #fff;
  text-align: center;
  padding: 48px 20px;
}
.cta-band h2 { color: #fff; }
.cta-band p { opacity: 0.92; max-width: 640px; margin: 0 auto 1.2em; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--green-dark);
  color: #e8e2d8;
  padding: 48px 0 0;
  margin-top: 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 32px;
}
.site-footer h3 { color: #fff; font-size: 1.05rem; margin-bottom: 0.8em; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 0.5em; }
.site-footer a { color: #e8e2d8; }
.site-footer a:hover { color: var(--accent); }
.site-footer .about p { font-size: 0.92rem; opacity: 0.9; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding: 18px 0;
  font-size: 0.85rem;
  text-align: center;
  opacity: 0.85;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .product-detail { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .nav-toggle { display: block; }
  .main-nav {
    display: none;
    width: 100%;
    order: 3;
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; }
  .header-inner { flex-wrap: wrap; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 1.8rem; }
  h1 { font-size: 1.7rem; }
}
