/* BAHAMUT COMMERCE — dew-field sowing seeds desk base theme */
:root {
  --a29-emerald: #0A5C4B;
  --a29-emerald-dark: #063D33;
  --a29-emerald-light: #14856C;
  --a29-mustard: #C8F05A;
  --a29-lime: #C8F05A;
  --a29-tomato: #FF5C35;
  --a29-cream: #EEF6F2;
  --a29-mist: #D7EBE3;
  --a29-linen: #C9DDD4;
  --a29-white: #FAFFFC;
  --a29-ink: #0C1F1A;
  --a29-muted: #4A635A;
  --a29-sale: #FF5C35;
  --a29-font-display: 'Fraunces', Georgia, serif;
  --a29-font-body: 'Sora', system-ui, sans-serif;
  --a29-radius: 14px;
  --a29-radius-sm: 8px;
  --a29-shadow: 0 18px 48px rgba(12, 31, 26, 0.1);
  --a29-shadow-soft: 0 8px 24px rgba(10, 92, 75, 0.08);
  --a29-container: 1240px;
  --a29-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

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

html { scroll-behavior: smooth; }

body.a29-store {
  margin: 0;
  font-family: var(--a29-font-body);
  font-size: 15px;
  line-height: 1.6;
  color: var(--a29-ink);
  background:
    radial-gradient(1200px 500px at 8% -10%, rgba(200, 240, 90, 0.18), transparent 55%),
    radial-gradient(900px 420px at 92% 8%, rgba(10, 92, 75, 0.08), transparent 50%),
    linear-gradient(180deg, #f4fbf7 0%, var(--a29-cream) 40%, #e8f3ee 100%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  width: min(var(--a29-container), 100% - 2.5rem);
  margin-inline: auto;
}

.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;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; cursor: pointer; }

.a29-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  padding: 0.9rem 1.85rem;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  border: none; border-radius: 999px;
  transition: transform 0.35s var(--a29-ease), background 0.25s, color 0.25s, box-shadow 0.35s;
}
.a29-btn:hover { transform: translateY(-2px); }
.a29-btn-primary {
  background: var(--a29-emerald);
  color: var(--a29-white);
  box-shadow: 0 10px 28px rgba(10, 92, 75, 0.28);
}
.a29-btn-primary:hover { background: var(--a29-emerald-dark); }
.a29-btn-outline {
  background: transparent;
  color: var(--a29-ink);
  border: 1.5px solid var(--a29-ink);
}
.a29-btn-dark { background: var(--a29-emerald-dark); color: var(--a29-white); }
.a29-btn-dark:hover { background: var(--a29-ink); }
.a29-btn-light {
  background: var(--a29-white);
  color: var(--a29-ink);
  box-shadow: 0 8px 22px rgba(12, 31, 26, 0.12);
}

.section-head {
  text-align: center;
  margin-bottom: 2.75rem;
  position: relative;
}
.section-head h2 {
  font-family: var(--a29-font-display);
  font-size: clamp(1.75rem, 3.2vw, 2.45rem);
  font-weight: 650;
  font-variation-settings: "SOFT" 40, "WONK" 0.4;
  margin: 0 0 0.45rem;
  color: var(--a29-ink);
  letter-spacing: -0.02em;
}
.section-head h2::after {
  content: '';
  display: block;
  width: 48px;
  height: 4px;
  margin: 0.85rem auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--a29-emerald), var(--a29-lime));
}
.section-head p { margin: 0.85rem 0 0; color: var(--a29-muted); font-size: 0.95rem; }

.empty-state {
  text-align: center; padding: 4rem 1rem;
  background: var(--a29-white); border-radius: var(--a29-radius);
  box-shadow: var(--a29-shadow-soft);
}
.empty-state p { margin: 0; font-size: 1.1rem; }
.empty-state .sub { color: var(--a29-muted); margin-top: 0.5rem; font-size: 0.9rem; }

.a29-product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.35rem;
}

.a29-product-card {
  background: var(--a29-white);
  display: flex; flex-direction: column;
  border-radius: var(--a29-radius);
  overflow: hidden;
  box-shadow: var(--a29-shadow-soft);
  border: 1px solid rgba(10, 92, 75, 0.06);
  transition: transform 0.45s var(--a29-ease), box-shadow 0.45s var(--a29-ease);
}
.a29-product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--a29-shadow);
}
.a29-product-img {
  position: relative;
  display: block;
  aspect-ratio: 1;
  background:
    linear-gradient(145deg, var(--a29-mist), #f7fffb);
  overflow: hidden;
}
.a29-product-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s var(--a29-ease);
}
.a29-product-card:hover .a29-product-img img {
  transform: scale(1.07);
}
.a29-product-badge {
  position: absolute; top: 0.85rem; left: 0.85rem;
  background: linear-gradient(135deg, var(--a29-emerald), var(--a29-emerald-light));
  color: var(--a29-white);
  font-size: 0.62rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  box-shadow: 0 6px 16px rgba(10, 92, 75, 0.25);
}
.a29-product-body { padding: 1.05rem 1rem 1.25rem; flex: 1; display: flex; flex-direction: column; }
.a29-product-body h3 {
  font-size: 0.94rem; font-weight: 600; margin: 0 0 0.35rem; line-height: 1.35;
}
.a29-product-body h3 a:hover { color: var(--a29-emerald); }
.a29-product-cat {
  font-size: 0.72rem;
  color: var(--a29-emerald);
  margin-bottom: 0.55rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 600;
}
.a29-product-price { font-weight: 700; font-size: 1rem; margin-bottom: 0.85rem; }
.a29-product-price s { color: var(--a29-sale); font-weight: 400; margin-right: 0.35rem; }
.a29-product-actions { display: flex; gap: 0.4rem; margin-top: auto; }
.a29-product-actions .a29-cart-btn {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 0.35rem;
  padding: 0.6rem 0.55rem;
  background: var(--a29-ink); color: var(--a29-white);
  font-size: 0.62rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  border: none; border-radius: 999px;
  transition: background 0.25s, transform 0.3s var(--a29-ease);
}
.a29-product-actions .a29-cart-btn:hover {
  background: var(--a29-emerald);
  transform: translateY(-1px);
}
.a29-icon-btn {
  width: 38px; height: 38px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--a29-mist); color: var(--a29-ink);
  border: none; font-size: 0.85rem; border-radius: 50%;
  transition: background 0.25s, color 0.25s, transform 0.3s var(--a29-ease);
}
.a29-icon-btn:hover {
  background: var(--a29-emerald);
  color: var(--a29-white);
  transform: rotate(-8deg) scale(1.05);
}

.pagination {
  display: flex; justify-content: center; gap: 0.35rem; margin-top: 2.5rem; flex-wrap: wrap;
}
.pagination a, .pagination span {
  min-width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; border: 1px solid var(--a29-linen);
  background: var(--a29-white); border-radius: 999px;
}
.pagination a:hover { border-color: var(--a29-emerald); color: var(--a29-emerald); }
.pagination .current { background: var(--a29-emerald); color: var(--a29-white); border-color: var(--a29-emerald); }

.a29-breadcrumb {
  font-size: 0.78rem; color: var(--a29-muted); letter-spacing: 0.04em;
}
.a29-breadcrumb a:hover { color: var(--a29-emerald); }

.a29-scroll-top {
  position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 90;
  width: 46px; height: 46px; border-radius: 50%;
  background: linear-gradient(145deg, var(--a29-emerald), var(--a29-emerald-light));
  color: var(--a29-white);
  border: none; font-size: 1.1rem; opacity: 0; pointer-events: none;
  box-shadow: 0 10px 28px rgba(10, 92, 75, 0.3);
  transition: opacity 0.25s, background 0.2s, transform 0.3s var(--a29-ease);
}
.a29-scroll-top.is-visible { opacity: 1; pointer-events: auto; }
.a29-scroll-top:hover { transform: translateY(-3px); }

@media (max-width: 1024px) {
  .a29-product-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .a29-product-grid { grid-template-columns: repeat(2, 1fr); gap: 0.85rem; }
}
@media (max-width: 480px) {
  .a29-product-grid { grid-template-columns: 1fr 1fr; }
  .a29-product-actions .a29-cart-btn { font-size: 0.58rem; padding: 0.5rem 0.35rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
