/* =========================================================
   YEOSS | Ye'Ole Straight~n~Strop Shop
   Mobile-first • Dark theme • Antique gold accent
   ========================================================= */

:root {
  --bg: #0e0e0e;
  --panel: #141414;
  --panel2: #1a1a1a;
  --text: #f2f2f2;
  --muted: #b8b8b8;
  --line: #2a2a2a;
  --accent: #d2b16a;
  --accent-dim: rgba(210, 177, 106, .15);
  --accent-border: rgba(210, 177, 106, .35);
  --max: 1120px;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 20px 60px rgba(0, 0, 0, .45);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }

/* Skip link */
.skip {
  position: absolute; left: -9999px; top: auto;
  width: 1px; height: 1px; overflow: hidden;
}
.skip:focus {
  left: 16px; top: 16px; width: auto; height: auto;
  background: var(--bg); padding: 10px 14px;
  border: 1px solid var(--accent); border-radius: var(--radius-sm);
  z-index: 999; color: var(--accent);
}

/* ----- HEADER ----- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(14, 14, 14, .88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header__inner {
  display: flex; align-items: center;
  justify-content: space-between;
  gap: 12px; padding: 12px 0;
}

.brand {
  display: flex; align-items: center;
  gap: 10px; text-decoration: none;
  min-width: 0;
}

.brand__logo {
  width: 40px; height: 40px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #0b0b0b;
  object-fit: contain;
  flex-shrink: 0;
}

.brand__name {
  font-weight: 900; font-size: .95rem;
  letter-spacing: .2px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.brand__tag {
  font-size: .78rem; color: var(--muted);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* Desktop nav -- hidden on mobile */
.nav { display: none; gap: 14px; align-items: center; }
.nav a {
  color: var(--muted); text-decoration: none;
  font-weight: 800; font-size: .92rem;
  transition: color .15s;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }

/* Hamburger */
.menu-btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--line); color: var(--text);
  padding: 9px 13px; border-radius: var(--radius-sm);
  font-weight: 900; font-size: .88rem; cursor: pointer;
}

/* Mobile slide-down */
.mobile { border-top: 1px solid var(--line); background: rgba(0, 0, 0, .4); }
.mobile__inner {
  display: flex; flex-direction: column;
  gap: 6px; padding: 12px 0;
}
.mobile__inner a {
  text-decoration: none; color: var(--muted);
  font-weight: 800; font-size: 1rem;
  padding: 8px 0;
}
.mobile__inner a:hover { color: var(--text); }

/* ----- BUTTONS ----- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent); color: #111;
  font-weight: 900; font-size: .92rem;
  padding: 13px 20px; border-radius: var(--radius);
  text-decoration: none; border: 0; cursor: pointer;
  transition: opacity .15s;
}
.btn:hover { opacity: .88; }

.btn--ghost {
  background: transparent; color: var(--text);
  border: 1px solid var(--line);
}
.btn--ghost:hover { border-color: var(--muted); opacity: 1; }

.btn--sm { padding: 10px 14px; border-radius: var(--radius-sm); font-size: .88rem; }

.nav .btn--nav-cta,
.mobile__inner .btn--nav-cta {
  background: transparent;
  color: var(--accent);
  font-weight: 900;
  border: 1px solid var(--accent-border);
  padding: 7px 14px;
  border-radius: var(--radius-sm);
}
.nav .btn--nav-cta:hover,
.mobile__inner .btn--nav-cta:hover {
  background: rgba(210, 177, 106, .1);
  color: var(--accent);
  opacity: 1;
}

/* ----- SECTIONS ----- */
.section { padding: 48px 0; }
.section--alt {
  background: rgba(255, 255, 255, .02);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

/* ----- HERO ----- */
.hero { padding: 40px 0 32px; }
.hero__inner { display: flex; flex-direction: column; gap: 24px; }

.hero h1 {
  font-size: 1.85rem; line-height: 1.12;
  margin: 0 0 10px; font-weight: 950;
}
.hero h1 .muted { color: var(--muted); font-weight: 800; }

.lead { color: var(--muted); font-size: 1.02rem; max-width: 60ch; margin: 0; }

.hero__trust {
  color: var(--muted); font-size: .85rem;
  font-weight: 700; margin-top: 14px;
  letter-spacing: .02em;
}

.hero__cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }

/* ----- HEADINGS ----- */
.section-label {
  color: var(--accent); font-weight: 900;
  letter-spacing: .12em; text-transform: uppercase;
  font-size: .75rem; margin-bottom: 6px;
}

h2 { font-size: 1.5rem; margin: 0 0 6px; font-weight: 950; }
h3 { font-size: 1.1rem; margin: 0 0 8px; font-weight: 900; }

.sub { color: var(--muted); margin: 0 0 20px; max-width: 65ch; }

/* ----- BOXES / CARDS ----- */
.box {
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, .25);
  border-radius: var(--radius); padding: 16px;
}
.box h3 { margin: 0 0 8px; }
.box p { margin: 0; color: var(--muted); }
.box ul { margin: 8px 0 0; padding-left: 18px; color: var(--muted); }
.box li { margin: 4px 0; }

/* Callout */
.callout {
  border: 1px solid var(--accent-border);
  background: var(--accent-dim);
  border-radius: var(--radius); padding: 14px 16px;
  display: flex; align-items: center;
  justify-content: space-between;
  gap: 14px; flex-wrap: wrap;
}

/* ----- GRIDS ----- */
.grid-2 { display: grid; grid-template-columns: 1fr; gap: 14px; }
.grid-3 { display: grid; grid-template-columns: 1fr; gap: 14px; }

/* ----- GALLERY ----- */
.gallery-grid {
  display: grid; grid-template-columns: 1fr;
  gap: 18px;
}

.gallery-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden; background: rgba(0, 0, 0, .2);
}

.gallery-item__img-wrap {
  overflow: hidden;
}

.gallery-item__img-wrap img {
  width: 100%;
  display: block;
}

.gallery-item__caption {
  padding: 12px 14px;
}
.gallery-item__title { font-weight: 900; font-size: .95rem; }
.gallery-item__desc { color: var(--muted); font-size: .85rem; margin-top: 3px; line-height: 1.5; }

/* ----- TESTIMONIALS ----- */
.quotes-grid {
  display: grid; grid-template-columns: 1fr;
  gap: 14px;
}

.quote {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px; background: rgba(0, 0, 0, .22);
}
.quote__text {
  margin: 0 0 10px; font-size: 1rem;
  line-height: 1.55;
}
.quote__text::before { content: "\201C"; color: var(--accent); font-weight: 900; }
.quote__text::after { content: "\201D"; color: var(--accent); font-weight: 900; }
.quote__attr { color: var(--muted); font-size: .85rem; }
.quote__source {
  display: inline-block;
  background: rgba(255, 255, 255, .05);
  padding: 2px 8px; border-radius: 6px;
  font-size: .78rem; margin-left: 6px;
}

/* ----- ABOUT ----- */
.about-grid { display: flex; flex-direction: column; gap: 20px; }

.checklist { margin-top: 10px; }
.check {
  display: flex; align-items: baseline; gap: 8px;
  padding: 5px 0; color: var(--muted); font-size: .92rem;
}
.check::before {
  content: "\2713"; color: var(--accent);
  font-weight: 900; flex-shrink: 0;
}

/* ----- LEARN TEASER ----- */
.teaser-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }

.teaser-card {
  border: 1px solid var(--line);
  border-radius: var(--radius); padding: 16px;
  background: rgba(0, 0, 0, .22);
  position: relative;
}
.teaser-card__badge {
  display: inline-block;
  background: rgba(210, 177, 106, .15);
  border: 1px solid var(--accent-border);
  color: var(--accent);
  padding: 3px 10px; border-radius: 999px;
  font-size: .72rem; font-weight: 900;
  letter-spacing: .06em; text-transform: uppercase;
  margin-bottom: 8px;
}
.teaser-card h3 { margin-bottom: 4px; }
.teaser-card p { color: var(--muted); font-size: .9rem; margin: 0; }

/* ----- CONTACT / FORM ----- */
.form-section { display: flex; flex-direction: column; gap: 20px; }
.form-info { display: flex; flex-direction: column; gap: 12px; }

.form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px; background: rgba(0, 0, 0, .22);
}

.form label {
  display: block; font-weight: 800;
  font-size: .92rem; margin-bottom: 12px;
}

.form input,
.form select,
.form textarea {
  width: 100%; margin-top: 5px;
  padding: 12px 14px; border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: #0b0b0b; color: var(--text);
  font: inherit; font-size: .95rem;
}
.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--accent);
}

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

/* ----- SHOP PAGE ----- */
.shop-actions {
  display: flex; gap: 10px; flex-wrap: wrap;
  margin-bottom: 24px;
}

.shop-tabs {
  display: flex; gap: 4px;
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  padding-bottom: 4px; margin-bottom: 20px;
  scrollbar-width: none;
  border-bottom: 1px solid var(--line);
}
.shop-tabs::-webkit-scrollbar { display: none; }

.shop-tab {
  flex-shrink: 0;
  padding: 8px 14px; border-radius: 0;
  border: none; border-bottom: 2px solid transparent;
  background: transparent; color: var(--muted);
  font-weight: 800; font-size: .82rem;
  cursor: pointer; transition: all .15s;
  white-space: nowrap; text-transform: uppercase;
  letter-spacing: .06em;
}
.shop-tab:hover { color: var(--text); }
.shop-tab--active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.shop-grid {
  display: grid; grid-template-columns: 1fr;
  gap: 14px;
}

.shop-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden; background: rgba(0, 0, 0, .2);
  cursor: pointer; transition: border-color .15s;
}
.shop-card:hover { border-color: var(--accent-border); }

.shop-card__img-wrap { position: relative; overflow: hidden; }

.shop-card__img {
  width: 100%; aspect-ratio: 4/3;
  object-fit: cover; background: var(--panel);
  display: block;
}
.shop-card__img--empty {
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-size: .85rem;
  background: var(--panel); aspect-ratio: 4/3;
}

.shop-card__zoom {
  position: absolute; inset: 0; z-index: 1;
  background: rgba(0, 0, 0, .45);
  border: none; cursor: zoom-in;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .25s;
}
.shop-card__zoom::after {
  content: "+";
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .2);
  border: 2px solid rgba(255, 255, 255, .5);
  color: #fff; font-size: 1.6rem; font-weight: 300;
  display: flex; align-items: center; justify-content: center;
  transition: transform .2s;
}
.shop-card:hover .shop-card__zoom { opacity: 1; }
.shop-card:hover .shop-card__zoom::after { transform: scale(1.08); }
@media (hover: none) { .shop-card__zoom { opacity: .7; } }

.shop-card__icons {
  position: absolute; top: 8px; left: 8px;
  display: flex; gap: 6px; z-index: 2;
  pointer-events: auto;
}
.shop-card__icon {
  width: 30px; height: 30px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .75rem; line-height: 1;
  text-decoration: none; border: none; cursor: default;
  backdrop-filter: blur(4px);
  box-shadow: 0 2px 6px rgba(0,0,0,.35);
}
.shop-card__icon--available {
  background: rgba(34, 197, 94, .85); color: #fff;
}
.shop-card__icon--sold {
  background: rgba(239, 68, 68, .8); color: #fff;
}
.shop-card__icon--pending {
  background: rgba(234, 179, 8, .8); color: #fff;
}
.shop-card__icon--inquire {
  background: rgba(59, 130, 246, .85); color: #fff;
  cursor: pointer;
}
.shop-card__icon--inquire:hover { background: rgba(59, 130, 246, 1); }
.shop-card__icon--ebay {
  background: rgba(255, 255, 255, .9); color: #333;
  cursor: pointer;
}
.shop-card__icon--ebay:hover { background: #fff; }

.shop-card__icon svg { width: 18px; height: 18px; fill: currentColor; }

.shop-card__body { padding: 12px 14px; }

.shop-card__name { font-weight: 900; font-size: .95rem; }

.shop-card__meta-row {
  display: flex; align-items: baseline; gap: 10px;
  margin-top: 4px;
}
.shop-card__price { font-weight: 900; color: var(--accent); white-space: nowrap; }
.shop-card__status {
  font-size: .72rem; font-weight: 900;
  text-transform: uppercase; letter-spacing: .04em;
}
.shop-card__status--available { color: #4ade80; }
.shop-card__status--sold { color: #f87171; }
.shop-card__status--pending { color: #fbbf24; }

.shop-card__desc {
  color: var(--muted); font-size: .85rem;
  margin-top: 6px;
}

.shop-card__tap {
  padding: 8px 14px;
  border-top: 1px solid var(--line);
  text-align: center;
  font-size: .75rem; color: var(--muted);
  letter-spacing: .03em;
  transition: color .15s;
}
.shop-card:hover .shop-card__tap { color: var(--accent); }
.shop-card__chevron {
  display: inline-block;
  transition: transform .2s;
  font-size: 1rem; vertical-align: middle;
}
.shop-card:hover .shop-card__chevron { transform: translateX(3px); }
.shop-card__tap:has(+ .shop-detail.open) { display: none; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(0, 0, 0, .88);
  backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .2s;
  cursor: zoom-out;
}
.lightbox--open { opacity: 1; }
.lightbox__inner { position: relative; max-width: 92vw; max-height: 92vh; }
.lightbox__img {
  max-width: 92vw; max-height: 88vh;
  object-fit: contain; border-radius: var(--radius);
  cursor: default;
}
.lightbox__close {
  position: absolute; top: -12px; right: -12px;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--accent); color: #111;
  border: none; font-size: 1.3rem; font-weight: 900;
  cursor: pointer; display: flex;
  align-items: center; justify-content: center;
}

/* Shop detail expand */
.shop-detail {
  border-top: 1px solid var(--line);
  padding: 14px; background: rgba(0, 0, 0, .12);
  display: none;
}
.shop-detail.open { display: block; }
.shop-detail__photos {
  display: flex; gap: 8px; overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 6px; margin-bottom: 12px;
}
.shop-detail__photo {
  flex-shrink: 0; width: 200px; height: 150px;
  object-fit: cover; border-radius: var(--radius-sm);
  border: 1px solid var(--line);
}
.shop-detail__meta { color: var(--muted); font-size: .9rem; line-height: 1.6; }
.shop-detail__meta strong { color: var(--text); }
.shop-detail__actions { margin-top: 12px; display: flex; gap: 10px; flex-wrap: wrap; }

/* Empty / loading states */
.shop-empty, .gallery-empty, .quotes-empty {
  text-align: center; color: var(--muted);
  padding: 40px 20px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
}

/* ----- SKELETON LOADING ----- */
.skel {
  background: linear-gradient(90deg, var(--panel) 25%, var(--panel2) 50%, var(--panel) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s ease-in-out infinite;
  border-radius: var(--radius-sm);
}
.skel--card { height: 260px; border-radius: var(--radius); }
.skel--quote { height: 120px; border-radius: var(--radius); }
.skel--gallery { aspect-ratio: 3/4; border-radius: var(--radius); }

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ----- FAQ / DETAILS ----- */
.faq {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, .22);
  padding: 14px 16px; margin-bottom: 10px;
}
.faq summary {
  cursor: pointer; font-weight: 900;
  list-style: none; font-size: .95rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; float: right; color: var(--muted);
  font-weight: 900; font-size: 1.1rem;
}
.faq[open] summary::after { content: "\2212"; }
.faq p { margin: 10px 0 0; color: var(--muted); line-height: 1.6; }

/* ----- FOOTER ----- */
.footer {
  padding: 20px 0;
  border-top: 1px solid var(--line);
}
.footer__inner {
  display: flex; flex-direction: column;
  gap: 6px; color: var(--muted); font-size: .88rem;
}
.footer__links a { display: inline-flex; align-items: center; gap: 4px; }
.footer a { color: var(--muted); transition: color .15s; }
.footer a:hover { color: var(--accent); }
.footer__icon {
  width: 14px; height: 14px;
  fill: currentColor;
  vertical-align: -2px;
  flex-shrink: 0;
}

/* ----- FLOATING CTA ----- */
.fab {
  position: fixed; bottom: 18px; right: 18px;
  z-index: 40;
  background: var(--accent); color: #111;
  font-weight: 900; font-size: .85rem;
  padding: 14px 18px; border-radius: 999px;
  text-decoration: none; border: 0;
  box-shadow: 0 4px 24px rgba(210, 177, 106, .25), 0 4px 20px rgba(0, 0, 0, .5);
  transition: transform .15s, opacity .3s;
}
.fab:hover { transform: scale(1.04); }

/* ----- UTILITY ----- */
.tiny { color: var(--muted); font-size: .85rem; }
.mt-sm { margin-top: 10px; }
.mt-md { margin-top: 18px; }
.cta-row { display: flex; gap: 10px; flex-wrap: wrap; }
.text-center { text-align: center; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); border: 0;
}

/* ==============================
   RESPONSIVE // min-width up
   ============================== */

@media (min-width: 640px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .quotes-grid { grid-template-columns: 1fr 1fr; }
  .shop-grid { grid-template-columns: 1fr 1fr; }
  .teaser-grid { grid-template-columns: 1fr 1fr 1fr; }
  .form-section { flex-direction: row; }
  .form-section > * { flex: 1; }
}

@media (min-width: 768px) {
  .hero h1 { font-size: 2.2rem; }
  h2 { font-size: 1.7rem; }
  .footer__inner { flex-direction: row; justify-content: space-between; }
}

@media (min-width: 960px) {
  .nav { display: flex; }
  .menu-btn { display: none; }

  .hero__copy { max-width: 680px; }

  .hero h1 { font-size: 2.5rem; }

  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .quotes-grid { grid-template-columns: repeat(3, 1fr); }
  .shop-grid { grid-template-columns: repeat(3, 1fr); }

  .about-grid { flex-direction: row; }
  .about-grid > * { flex: 1; }

  .fab { bottom: 24px; right: 24px; }
}

@media (min-width: 1100px) {
  .shop-grid { grid-template-columns: repeat(4, 1fr); }
}
