/* S.K TRADERS — premium seed desk theme */
:root {
  --ts-charcoal: #161B22;
  --ts-ink: #12161C;
  --ts-paper: #F6F5F1;
  --ts-surface: #FFFFFF;
  --ts-surface-2: #ECEAE4;
  --ts-muted: #3E4654;
  --ts-line: rgba(18, 22, 28, .09);
  --ts-wine: #C45C32;
  --ts-wine-dark: #9A3F1E;
  --ts-gold: #C9A227;
  --ts-gold-pale: #F7EFCF;
  --ts-grove: #1F6B63;
  --ts-grove-deep: #154A45;
  --ts-mist: #EFEDE7;
  --ts-success: #2F6B4F;
  --font-display: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  --font-body: 'Sora', 'Avenir Next', sans-serif;
  --container: 1200px;
  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgba(18, 22, 28, .04), 0 18px 40px rgba(18, 22, 28, .07);
  --shadow-soft: 0 1px 1px rgba(18, 22, 28, .03), 0 10px 28px rgba(18, 22, 28, .05);
  --shadow-hover: 0 8px 28px rgba(18, 22, 28, .1);
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --focus-ring: 0 0 0 4px rgba(196, 92, 50, .18);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.ts-store {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: -.01em;
  color: var(--ts-ink);
  background:
    radial-gradient(1200px 420px at 12% -8%, rgba(31, 107, 99, .07), transparent 58%),
    radial-gradient(900px 380px at 100% 0%, rgba(196, 92, 50, .06), transparent 52%),
    var(--ts-paper);
  -webkit-font-smoothing: antialiased;
}
body.ts-store h1,
body.ts-store h2,
body.ts-store h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -.03em;
  /* Inherit from the surface so dark heroes keep light type */
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.page-wrap { display: flex; flex-direction: column; min-height: 100vh; }
.page-main { flex: 1; }

.container {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

/* Buttons */
.ts-btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  padding: 14px 26px; border: 1px solid transparent;
  border-radius: 999px;
  background: var(--ts-ink);
  color: #fff;
  font-size: 12px; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; cursor: pointer;
  box-shadow: var(--shadow-soft);
  transition: transform .28s var(--ease-out), background .22s, color .22s, border-color .22s, box-shadow .22s;
}
.ts-btn:hover {
  background: var(--ts-wine);
  transform: translateY(-1px) scale(1.02);
  box-shadow: var(--shadow-hover);
}
.ts-btn:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring), var(--shadow-soft);
}
.ts-btn-outline {
  background: transparent; color: var(--ts-ink);
  border-color: var(--ts-line); box-shadow: none;
}
.ts-btn-outline:hover {
  background: var(--ts-ink); color: #fff;
  border-color: var(--ts-ink);
}
.ts-btn-sm { padding: 10px 18px; font-size: 11px; }

.ts-stars { color: var(--ts-gold); font-size: 12px; letter-spacing: 1px; }

/* Product cards — border interaction, not soft glass cards */
.ts-product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px 24px;
}
.ts-product-card {
  background: var(--ts-surface);
  border: 1px solid var(--ts-line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out);
}
.ts-product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}
.ts-product-img {
  position: relative;
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--ts-mist);
  border: 0;
}
.ts-product-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease-out);
}
.ts-product-card:hover .ts-product-img img { transform: scale(1.05); }
.ts-product-badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--ts-wine); color: #fff;
  font-size: 10px; font-weight: 700; letter-spacing: .08em;
  padding: 6px 10px; text-transform: uppercase;
  border-radius: 999px;
}
.ts-product-body { padding: 16px 16px 18px; }
.ts-product-body h3 {
  font-family: var(--font-display);
  font-size: 1.18rem; font-weight: 600;
  margin: 6px 0 4px; line-height: 1.25;
}
.ts-product-cat {
  display: block; font-size: 11px; color: var(--ts-muted);
  letter-spacing: .06em; text-transform: uppercase; margin-bottom: 6px;
}
.ts-product-price {
  font-weight: 600; font-size: 14px; color: var(--ts-ink);
}

.ts-tabs {
  display: flex; gap: 8px; flex-wrap: wrap;
  margin: 0 0 28px; border-bottom: 1px solid var(--ts-line);
}
.ts-tab {
  border: 0; background: transparent;
  padding: 12px 4px; margin-right: 18px;
  font-size: 12px; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--ts-muted);
  border-bottom: 2px solid transparent; cursor: pointer;
}
.ts-tab.is-active, .ts-tab:hover {
  color: var(--ts-ink);
  border-bottom-color: var(--ts-wine);
}

@media (max-width: 980px) {
  .ts-product-grid { grid-template-columns: repeat(2, 1fr); gap: 20px 14px; }
}
@media (max-width: 560px) {
  .ts-product-grid { grid-template-columns: 1fr 1fr; gap: 16px 10px; }
  .ts-product-body h3 { font-size: 1rem; }
}
