:root {
  --bg: #fbf7f1;
  --bg-alt: #f3ece3;
  --panel: #ffffff;
  --panel-edge: #e6dfd2;
  --text: #1b1b1b;
  --muted: #6f6a62;
  --accent: #f4b63a;
  --accent-soft: rgba(244, 182, 58, 0.2);
  --shadow: 0 18px 40px rgba(25, 18, 8, 0.12);
}

.store-body {
  background: radial-gradient(circle at 80% 10%, rgba(244, 182, 58, 0.46), transparent 54%),
    radial-gradient(circle at 15% 90%, rgba(244, 182, 58, 0.4), transparent 64%),
    linear-gradient(160deg, #fffdf8 0%, #f8edd3 52%, #f0cb86 100%);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  padding-top: 70px;
}

.store-body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.22), transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(255, 255, 255, 0.2), transparent 40%);
  pointer-events: none;
  z-index: 0;
}

.store-body .navbar {
  background: rgba(255, 255, 255, 0.96) !important;
  border-bottom: 1px solid var(--panel-edge);
  box-shadow: 0 10px 24px rgba(24, 18, 8, 0.08);
}

.store-body .navbar .nav-link,
.store-body .navbar .navbar-brand,
.store-body .navbar .navbar-toggler {
  color: var(--text) !important;
}

.store-body footer {
  background: var(--panel) !important;
  color: var(--text) !important;
  border-top: 1px solid var(--panel-edge);
}

.store-body footer a {
  color: var(--text) !important;
}

.store-body footer a:hover {
  color: #8a6a1f !important;
}

.store-bottom-nav {
  position: relative;
  z-index: 2;
  margin-top: 42px;
  padding: 20px 16px 18px;
  border-top: 4px solid rgba(244, 182, 58, 0.95);
  background: linear-gradient(180deg, #1a1814 0%, #12100d 100%);
  box-shadow: 0 -14px 34px rgba(16, 12, 6, 0.24);
}

.store-bottom-nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 18px 28px;
}

.store-bottom-nav-inner a {
  color: #f3efe7;
  text-decoration: none;
  font-weight: 400;
  letter-spacing: 0.01em;
}

.store-bottom-nav-inner a:hover {
  color: #f4b63a;
}

.store-bottom-nav-copy {
  max-width: 1200px;
  margin: 12px auto 0;
  text-align: center;
  font-size: 0.78rem;
  color: rgba(243, 239, 231, 0.76);
}

.store-hero {
  --hero-bg-image: url("/images/guitar-beach.png");
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
  align-items: center;
  min-height: 400px;
  padding: 72px 32px 64px;
  max-width: 1200px;
  margin: 14px auto 0;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(145deg, rgba(10, 10, 10, 0.1) 0%, rgba(12, 12, 12, 0.04) 55%, rgba(8, 8, 8, 0.12) 100%),
    radial-gradient(circle at 14% 22%, rgba(244, 182, 58, 0.09), transparent 46%),
    radial-gradient(circle at 86% 78%, rgba(244, 182, 58, 0.06), transparent 50%),
    var(--hero-bg-image) center 18% / cover no-repeat;
  box-shadow: 0 26px 50px rgba(0, 0, 0, 0.26);
}

.hero-content h1 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.1rem, 4.8vw, 3.6rem);
  letter-spacing: 0.01em;
  font-weight: 700;
  line-height: 1.06;
  margin-bottom: 12px;
  color: #f9f7f2;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.45);
}

.hero-kicker {
  text-transform: uppercase;
  letter-spacing: 0.32em;
  font-size: 0.75rem;
  color: #d7be94;
}

.hero-subtitle {
  color: rgba(255, 255, 255, 0.82);
  max-width: 420px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.hero-btn {
  border-radius: 999px;
  padding: 10px 22px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
}

.hero-btn-primary {
  background: var(--accent);
  color: #1a1205;
  border-color: transparent;
}

.hero-btn-outline {
  background: transparent;
  color: var(--text);
  border-color: #cfc6b8;
}

.store-hero .hero-btn-outline {
  background: rgba(255, 255, 255, 0.06);
  color: #f4f1ea;
  border-color: rgba(255, 255, 255, 0.28);
}

.store-hero .hero-btn-outline:hover,
.store-hero .hero-btn-outline:focus {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
  font-size: 0.8rem;
  color: #5f5a52;
}

.hero-badges span {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid #e1d8cb;
  background: rgba(255, 255, 255, 0.75);
}

.hero-art {
  position: relative;
  min-height: 240px;
  display: grid;
  place-items: center;
}

.hero-ring {
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 2px solid rgba(244, 182, 58, 0.3);
  box-shadow: 0 0 30px rgba(244, 182, 58, 0.18);
  animation: ringPulse 5s ease-in-out infinite;
}

.hero-ring.offset {
  width: 140px;
  height: 140px;
  animation-delay: 1.8s;
}

.hero-panel {
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #e1d8cb;
  padding: 16px 22px;
  border-radius: 18px;
  text-align: center;
  box-shadow: var(--shadow);
}

.panel-title {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.7rem;
  color: var(--muted);
}

.panel-subtitle {
  font-size: 1rem;
  font-weight: 600;
}

.store-section {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 16px;
}

.section-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 14px;
}

.section-header h2 {
  margin: 0;
}

.section-header p {
  margin: 6px 0 0;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-chip {
  background: #ffffff;
  border: 1px solid #e1d8cb;
  color: var(--text);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.8rem;
}

.filter-chip.is-active {
  background: var(--accent);
  color: #1a1205;
  border-color: transparent;
}

.product-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.product-card {
  background: var(--panel);
  border: 1px solid var(--panel-edge);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  min-height: 320px;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease;
}

.product-link {
  color: inherit;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-link,
.product-link:hover,
.product-link:focus,
.product-link:active,
.product-link:visited,
.product-link *,
.product-link:hover *,
.product-link:focus *,
.product-link:active *,
.product-link:visited * {
  text-decoration: none !important;
  color: inherit !important;
}


.product-card:hover {
  transform: translateY(-4px);
}

.product-image {
  position: relative;
  padding-top: 75%;
  background: linear-gradient(140deg, rgba(244, 182, 58, 0.35), rgba(245, 239, 230, 0.9));
}

.product-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.product-body {
  padding: 16px;
  display: grid;
  gap: 8px;
}

.product-title {
  font-size: 0.92rem;
  font-weight: 600;
}

.product-meta {
  font-size: 0.85rem;
  color: var(--muted);
}

.product-footer {
  margin-top: auto;
  padding: 0 16px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.price-tag {
  font-weight: 400;
  font-size: 0.8rem;
  color: var(--muted);
}

.product-btn {
  background: #ffffff;
  color: var(--text);
  border: 1px solid #e1d8cb;
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.8rem;
}

.store-section.split {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.split-card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #e1d8cb;
  border-radius: 16px;
  padding: 20px;
}

.split-card ul {
  padding-left: 18px;
  color: var(--muted);
}

.policy-main {
  position: relative;
  z-index: 1;
  flex: 1;
  padding: 34px 16px 0;
}

.policy-shell {
  max-width: 980px;
  margin: 0 auto;
  border-radius: 24px;
  border: 1px solid #e1d8cb;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
  padding: 34px 28px 36px;
}

.policy-shell .back-link {
  display: inline-block;
  margin-bottom: 10px;
  color: #8a6a1f;
  text-decoration: none;
  font-weight: 600;
}

.policy-shell .back-link:hover {
  text-decoration: underline;
}

.policy-shell h1 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.75rem, 3.2vw, 2.35rem);
  letter-spacing: 0.01em;
  font-weight: 700;
  line-height: 1.1;
}

.policy-updated {
  margin: 6px 0 24px;
  color: var(--muted);
  font-size: 0.92rem;
}

.policy-section {
  margin-top: 18px;
}

.policy-section h2 {
  font-size: 1.16rem;
  margin-bottom: 8px;
}

.policy-section p {
  margin: 0;
  color: #2f2d2a;
  line-height: 1.55;
}

.policy-list {
  margin: 10px 0 0;
  padding-left: 18px;
}

.policy-list li {
  margin: 4px 0;
}

.cart-toggle {
  position: fixed;
  right: 18px;
  bottom: 18px;
  background: var(--accent);
  color: #1a1205;
  border: none;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 700;
  z-index: 10;
  box-shadow: var(--shadow);
}

.cart-toggle span {
  margin-left: 8px;
  background: #1a1205;
  color: var(--accent);
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.75rem;
}

.cart-drawer {
  position: fixed;
  inset: 0;
  display: grid;
  grid-template-columns: 1fr;
  pointer-events: none;
  z-index: 20;
}

.cart-drawer.is-open {
  pointer-events: auto;
}

.cart-panel {
  position: absolute;
  right: 0;
  top: 70px;
  bottom: 0;
  width: min(420px, 100%);
  background: #ffffff;
  border-left: 1px solid #e1d8cb;
  padding: 22px;
  z-index: 2;
  transform: translateX(100%);
  transition: transform 0.25s ease;
}

.cart-drawer.is-open .cart-panel {
  transform: translateX(0);
}

.cart-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(32, 24, 10, 0.18);
  z-index: 1;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.cart-drawer.is-open .cart-backdrop {
  opacity: 1;
}

.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.icon-btn {
  background: transparent;
  border: 1px solid #e1d8cb;
  color: var(--text);
  border-radius: 999px;
  width: 32px;
  height: 32px;
}

.cart-items {
  display: grid;
  gap: 12px;
  max-height: 55vh;
  overflow-y: auto;
}

.cart-item {
  display: grid;
  gap: 6px;
  padding: 12px;
  border: 1px solid #e1d8cb;
  border-radius: 12px;
  background: #ffffff;
}

.cart-item-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.qty-row {
  display: flex;
  gap: 8px;
  align-items: center;
}

.qty-btn {
  border: 1px solid #e1d8cb;
  background: transparent;
  color: var(--text);
  width: 26px;
  height: 26px;
  border-radius: 50%;
}

.cart-footer {
  margin-top: 20px;
  border-top: 1px solid #e1d8cb;
  padding-top: 16px;
  display: grid;
  gap: 12px;
}

.cart-total {
  display: flex;
  justify-content: space-between;
  font-size: 1.05rem;
}

.cart-note {
  color: var(--muted);
  font-size: 0.8rem;
}

@keyframes ringPulse {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.08); opacity: 1; }
}

@media (max-width: 720px) {
  .store-hero {
    min-height: 460px;
    padding: 56px 20px 48px;
    background:
      linear-gradient(145deg, rgba(10, 10, 10, 0.12) 0%, rgba(12, 12, 12, 0.06) 55%, rgba(8, 8, 8, 0.14) 100%),
      radial-gradient(circle at 14% 22%, rgba(244, 182, 58, 0.09), transparent 46%),
      radial-gradient(circle at 86% 78%, rgba(244, 182, 58, 0.06), transparent 50%),
      var(--hero-bg-image) center 24% / cover no-repeat;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-btn {
    text-align: center;
  }

  .policy-shell {
    padding: 28px 20px 30px;
  }

  .store-bottom-nav {
    padding-left: 12px;
    padding-right: 12px;
  }

  .store-bottom-nav-inner {
    gap: 14px 20px;
  }
}

@media (max-width: 1120px) {
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 840px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .product-grid {
    grid-template-columns: 1fr;
  }
}
