/* Gold Commerce integration only.
   Demo14 visual design lives in demo14.css and demo14-pages.css. */

body {
  background: var(--bg);
  color: var(--text);
}

a {
  text-decoration: none;
}

.gold-topbar {
  background: #080808;
  border-bottom: 1px solid var(--border);
  color: var(--text-soft);
  font-size: 13px;
}

.gold-logo-img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid var(--primary-border, #3b3116);
}

.logo-icon {
  background: linear-gradient(135deg, rgba(212, 175, 55, .18), rgba(245, 215, 122, .10));
  border: 1px solid var(--primary-border, #3b3116);
}

.logo-text strong {
  color: var(--heading);
}

.logo-text strong span,
.logo-text small {
  color: var(--primary);
}

.header-cart-pill {
  text-decoration: none;
}

.header-icon-btn i,
.cart-icon-wrap i,
.mobile-nav-icon i {
  pointer-events: none;
}

.offer-banner-track {
  display: flex;
  transition: transform .45s ease;
}

.offer-banner-slide {
  flex: 0 0 100%;
}

.cat-slider-wrap {
  overflow: hidden;
  scroll-behavior: smooth;
}

.cat-slider-track {
  display: flex;
  gap: 16px;
}

.cat-slide-item {
  flex: 0 0 148px;
}

.product-card a,
.product-card button {
  font-family: inherit;
}

.product-card .product-action-btn {
  text-decoration: none;
}

.product-card .product-action-btn i {
  pointer-events: none;
}

.empty-state {
  grid-column: 1 / -1;
  color: var(--text-soft);
}

.footer-full {
  margin-top: 46px;
}

.footer-bottom {
  border-top: 1px solid var(--border);
}

.mobile-bottom-nav a {
  text-decoration: none;
}

.gold-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.gold-blog-card {
  overflow: hidden;
}

.gold-blog-media {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--surface-2);
}

.gold-blog-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .25s ease;
}

.gold-blog-card:hover .gold-blog-media img {
  transform: scale(1.05);
}

.gold-blog-body {
  padding: 18px;
}

.gold-blog-body h2 {
  margin: 0 0 10px;
  color: var(--heading);
  font-size: 20px;
  line-height: 1.25;
}

.gold-blog-body p {
  margin: 0 0 16px;
  color: var(--text-soft);
  line-height: 1.75;
}

.gold-account-form {
  max-width: 760px;
  margin: 0 auto;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
}

.gold-form-grid {
  display: grid;
  gap: 16px;
}

.gold-form-grid label {
  display: grid;
  gap: 8px;
  color: var(--text);
  font-weight: 800;
}

.gold-form-grid input {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface-2);
  color: var(--text);
  padding: 0 14px;
  outline: none;
}

.gold-form-grid input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, .16);
}

.gold-form-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.hero-btn-soft {
  background: rgba(212, 175, 55, .12);
  color: var(--primary);
}

.gold-alert {
  margin-bottom: 16px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(212, 175, 55, .10);
  color: var(--text);
  font-weight: 700;
}

.gold-alert-success {
  border-color: rgba(22, 163, 74, .35);
  background: rgba(22, 163, 74, .14);
}

.gold-alert-danger {
  border-color: rgba(239, 68, 68, .35);
  background: rgba(239, 68, 68, .14);
}

@media (max-width: 991px) {
  .navbar {
    display: none;
  }

  .search-bar {
    grid-column: 1 / -1;
  }

  .gold-blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .gold-blog-grid {
    grid-template-columns: 1fr;
  }
}
