/* Heritage Coin Vault - Premium CSS */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --hcv-dark: #0f1c3f;
  --hcv-royal: #1e40af;
  --hcv-gold: #d4af37;
  --hcv-silver: #b8bfc7;
  --hcv-ivory: #f5f1ed;
  --hcv-beige: #eef1f6;
  --hcv-light-gray: #dde3ea;
  --hcv-text-dark: #1c2333;
  --hcv-text-light: #5c6675;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
  line-height: 1.6;
  color: var(--hcv-text-dark);
  background-color: #fff;
}

/* Home page background watermark: subtle 1800s coin press image fixed
   behind all homepage content. z-index:-1 keeps it beneath every normal-
   flow section without needing to touch each section's own stacking. */
.hcv-home-watermark {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: url('https://test.preciseclientdemo.online/wp-content/uploads/2026/07/coin-press-watermark-v2.png');
  background-repeat: no-repeat;
  background-position: center 20%;
  background-size: cover;
  opacity: 0.08;
  filter: grayscale(100%) contrast(1.05);
  pointer-events: none;
}

@media (max-width: 768px) {
  .hcv-home-watermark {
    background-position: center top;
    opacity: 0.07;
  }
}

/* General Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Georgia', 'Garamond', 'Times New Roman', serif;
  line-height: 1.2;
  font-weight: 600;
  color: var(--hcv-dark);
}

h1 {
  font-size: 3.5rem;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 2.5rem;
  letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

h4 {
  font-size: 1.2rem;
  margin-bottom: 0.3rem;
}

p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--hcv-text-dark);
  margin-bottom: 1rem;
}

/* Announcement Bar */
.hcv-announcement {
  background-color: var(--hcv-dark);
  color: var(--hcv-ivory);
  padding: 1rem;
  text-align: center;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  border-bottom: 1px solid var(--hcv-gold);
}

/* Header */
.hcv-header {
  position: sticky;
  top: 0;
  background-color: #fff;
  border-bottom: 1px solid var(--hcv-light-gray);
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.hcv-header-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1.2rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hcv-logo {
  font-family: 'Georgia', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--hcv-dark);
  letter-spacing: 0.5px;
}

.hcv-logo-accent {
  color: var(--hcv-gold);
}

.hcv-nav {
  display: flex;
  gap: 3rem;
  flex: 1;
  margin-left: 4rem;
}

.hcv-nav a {
  text-decoration: none;
  color: var(--hcv-text-dark);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.3s ease;
  border-bottom: 2px solid transparent;
  padding-bottom: 0.2rem;
}

.hcv-nav a:hover {
  color: var(--hcv-gold);
  border-bottom-color: var(--hcv-gold);
}

.hcv-cta-btn {
  background-color: var(--hcv-gold);
  color: var(--hcv-dark);
  border: none;
  padding: 0.7rem 1.8rem;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border-radius: 3px;
  transition: all 0.3s ease;
  margin-right: 1rem;
  text-decoration: none;
  display: inline-block;
}

.hcv-cta-btn:hover {
  background-color: var(--hcv-dark);
  color: var(--hcv-ivory);
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(15, 28, 63, 0.25);
}

.hcv-mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--hcv-dark);
}

/* Mobile Menu */
.hcv-mobile-menu {
  display: none;
  flex-direction: column;
  background-color: #fff;
  border-bottom: 1px solid var(--hcv-light-gray);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.hcv-mobile-menu.active {
  max-height: 300px;
}

.hcv-mobile-menu a {
  display: block;
  padding: 1rem 2rem;
  text-decoration: none;
  color: var(--hcv-text-dark);
  border-bottom: 1px solid var(--hcv-light-gray);
  font-weight: 500;
}

.hcv-mobile-menu a:hover {
  background-color: var(--hcv-beige);
  color: var(--hcv-gold);
}

/* Hero Section */
.hcv-hero,
.hcv-about-hero,
.hcv-collections-hero,
.hcv-contact-hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 4rem;
  background-color: var(--hcv-dark);
}

.hcv-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

/* About and Collections heroes show a specific coin close-up that must
   remain fully visible (not cropped like a full-bleed cover photo) - the
   Home and Contact heroes keep the original cover behavior above. */
.hcv-about-hero .hcv-hero-bg,
.hcv-collections-hero .hcv-hero-bg {
  object-fit: contain;
  object-position: center;
}

.hcv-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(15, 28, 63, 0.5), rgba(15, 28, 63, 0.3));
  z-index: 2;
}

.hcv-hero-content {
  position: relative;
  z-index: 3;
  max-width: 700px;
  text-align: center;
  padding: 2rem;
  color: var(--hcv-ivory);
}

.hcv-hero-eyebrow {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--hcv-gold);
  margin-bottom: 1.5rem;
}

.hcv-hero-title {
  color: var(--hcv-ivory);
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.hcv-hero-text {
  color: var(--hcv-ivory);
  font-size: 1.1rem;
  margin-bottom: 2rem;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
}

.hcv-hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hcv-featured-card {
  position: absolute;
  bottom: 3rem;
  right: 3rem;
  background-color: rgba(212, 175, 55, 0.95);
  padding: 2rem;
  border-radius: 8px;
  max-width: 250px;
  color: var(--hcv-dark);
  z-index: 4;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  animation: float 3s ease-in-out infinite;
}

.hcv-featured-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.hcv-featured-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Buttons */
.hcv-btn {
  display: inline-block;
  padding: 0.9rem 2rem;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.hcv-btn-primary {
  background-color: var(--hcv-gold);
  color: var(--hcv-dark);
  border-color: var(--hcv-gold);
}

.hcv-btn-primary:hover {
  background-color: var(--hcv-dark);
  border-color: var(--hcv-dark);
  color: var(--hcv-ivory);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(15, 28, 63, 0.25);
}

.hcv-btn-secondary {
  background-color: transparent;
  color: var(--hcv-ivory);
  border-color: var(--hcv-ivory);
}

.hcv-btn-secondary:hover {
  background-color: var(--hcv-ivory);
  color: var(--hcv-dark);
  transform: translateY(-2px);
}

.hcv-btn-outline {
  background-color: transparent;
  color: var(--hcv-dark);
  border-color: var(--hcv-dark);
}

.hcv-btn-outline:hover {
  background-color: var(--hcv-dark);
  color: var(--hcv-ivory);
  transform: translateY(-2px);
}

.hcv-btn-light {
  background-color: var(--hcv-ivory);
  color: var(--hcv-dark);
  border-color: var(--hcv-ivory);
}

.hcv-btn-light:hover {
  background-color: var(--hcv-gold);
  border-color: var(--hcv-gold);
  transform: translateY(-2px);
}

.hcv-btn-outline-light {
  background-color: transparent;
  color: var(--hcv-ivory);
  border-color: var(--hcv-ivory);
}

.hcv-btn-outline-light:hover {
  background-color: var(--hcv-ivory);
  color: var(--hcv-dark);
  transform: translateY(-2px);
}

/* Trust Strip */
.hcv-trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  max-width: 1400px;
  margin: -3rem auto 4rem;
  padding: 3rem 2rem;
  background-color: var(--hcv-dark);
  position: relative;
  z-index: 5;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.hcv-trust-item {
  text-align: center;
  color: var(--hcv-ivory);
}

.hcv-trust-icon {
  font-size: 2rem;
  margin-bottom: 0.8rem;
  color: var(--hcv-gold);
}

.hcv-trust-text {
  color: var(--hcv-ivory);
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 0;
}

/* Section Header */
.hcv-section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.hcv-section-header h2 {
  margin-bottom: 0.5rem;
}

.hcv-section-header p {
  font-size: 1.1rem;
  color: var(--hcv-text-light);
  margin-bottom: 0;
}

/* Grid Layouts */
.hcv-grid-1 { grid-template-columns: 1fr; }
.hcv-grid-2 { grid-template-columns: repeat(2, 1fr); gap: 2.5rem; }
.hcv-grid-3 { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
.hcv-grid-4 { grid-template-columns: repeat(4, 1fr); gap: 2.5rem; }
.hcv-grid-6 { grid-template-columns: repeat(6, 1fr); gap: 1.5rem; }

.hcv-collection-grid,
.hcv-coin-grid,
.hcv-products-grid {
  display: grid;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Coin & Currency Showcase */
.hcv-coin-currency-showcase {
  max-width: 1400px;
  margin: 0 auto 4rem;
  padding: 0 2rem;
}

.hcv-showcase-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.hcv-showcase-column h3 {
  text-align: center;
  margin-bottom: 1.5rem;
}

.hcv-source-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 320px;
  margin: 0 auto;
}

.hcv-source-list li {
  border-bottom: 1px solid var(--hcv-light-gray);
}

.hcv-source-list li:last-child {
  border-bottom: none;
}

.hcv-source-list a {
  display: block;
  padding: 1rem 0.5rem;
  text-align: center;
  font-family: 'Georgia', 'Garamond', 'Times New Roman', serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--hcv-dark);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 0.25s ease;
}

.hcv-source-list a:hover,
.hcv-source-list a:focus-visible {
  color: var(--hcv-gold);
}

.hcv-style-grid.hcv-style-grid-narrow {
  grid-template-columns: repeat(3, 1fr);
}

/* Collection Card */
.hcv-collection-card,
.hcv-coin-card,
.hcv-product-card {
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.hcv-collection-card:hover,
.hcv-coin-card:hover,
.hcv-product-card:hover {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
  transform: translateY(-4px);
}

.hcv-card-image-wrapper {
  position: relative;
  width: 100%;
  height: 280px;
  padding: 20px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--hcv-beige);
  overflow: hidden;
}

.hcv-card-image-wrapper img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  transform: none;
}

.hcv-card-label {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background-color: var(--hcv-gold);
  color: var(--hcv-dark);
  padding: 0.4rem 1rem;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hcv-card-content {
  padding: 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.hcv-card-content h3,
.hcv-card-content h4 {
  margin-bottom: 0.8rem;
}

.hcv-card-description {
  color: var(--hcv-text-light);
  font-size: 0.95rem;
  flex: 1;
  margin-bottom: 1rem;
}

.hcv-card-meta {
  font-size: 0.85rem;
  color: var(--hcv-royal);
  font-weight: 600;
  margin-bottom: 1.2rem;
}

.hcv-card-content .hcv-btn {
  align-self: flex-start;
}

/* Shop by Style */
.hcv-shop-by-style {
  max-width: 1400px;
  margin: 0 auto 4rem;
  padding: 0 2rem;
}

.hcv-shop-by-style h2 {
  text-align: center;
  margin-bottom: 3rem;
}

.hcv-style-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.5rem;
}

.hcv-style-card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  background-color: var(--hcv-beige);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.hcv-style-card:hover {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
  transform: translateY(-4px);
}

.hcv-style-card-inner {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
}

.hcv-style-card-inner img {
  width: 100%;
  height: 180px;
  padding: 16px;
  box-sizing: border-box;
  object-fit: contain;
  object-position: center;
  transform: none;
  display: block;
  background-color: var(--hcv-beige);
}

.hcv-style-card-inner span {
  background-color: var(--hcv-dark);
  color: var(--hcv-ivory);
  padding: 1rem;
  text-align: center;
  font-weight: 600;
  width: 100%;
  font-size: 1rem;
  display: block;
  margin-top: auto;
}

/* Paper Currency showcase cards: new composite images already include
   their own framing, so the card must show them edge-to-edge with no
   beige padding or fixed-height empty space above/below. */
.hcv-currency-column .hcv-style-card {
  overflow: hidden;
}

.hcv-currency-column .hcv-style-card-inner {
  padding: 0;
  gap: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: auto;
  min-height: 0;
  overflow: hidden;
}

.hcv-currency-column .hcv-style-card-inner img {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  margin: 0;
  padding: 0;
  object-fit: contain;
  flex: none;
  background-color: transparent;
}

.hcv-currency-column .hcv-style-card-inner span {
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  margin-top: 0;
}

/* Story Split */
.hcv-story-split,
.hcv-our-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto 4rem;
  padding: 0 2rem;
}

.hcv-story-image {
  border-radius: 8px;
  overflow: hidden;
  padding: 30px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}

.hcv-story-image img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 650px;
  object-fit: contain;
  border-radius: 8px;
}

/* 1878 CC obverse/reverse pair: side-by-side, each coin fully visible,
   no cropping or distortion, scales down cleanly on small screens. */
.hcv-story-image-pair {
  gap: 1rem;
}

.hcv-story-image-pair img {
  width: 48%;
  max-width: 300px;
  height: auto;
  max-height: 500px;
}

@media (max-width: 600px) {
  .hcv-story-image-pair {
    padding: 1.25rem;
    gap: 0.75rem;
  }

  .hcv-story-image-pair img {
    width: 45%;
    max-width: 180px;
  }
}

.hcv-story-content h2 {
  margin-bottom: 1.5rem;
}

.hcv-story-content p {
  color: var(--hcv-text-light);
}

/* Coin Listings (Year/Mint Mark/Condition, Obverse/Reverse, Price, Buy Now) */
.hcv-listings-preview,
.hcv-listings-page {
  max-width: 1400px;
  margin: 0 auto 4rem;
  padding: 0 2rem;
}

.hcv-listing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.hcv-listing-card {
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.hcv-listing-card:hover {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
  transform: translateY(-4px);
}

.hcv-listing-coinview {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0;
  background-color: var(--hcv-beige);
}

.hcv-listing-coinview img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 100%;
  margin: 0;
  aspect-ratio: unset;
  object-fit: contain;
}

.hcv-listing-info {
  padding: 1.5rem 1.5rem 0;
}

.hcv-listing-info h4 {
  margin-bottom: 0.4rem;
}

.hcv-listing-meta {
  font-size: 0.85rem;
  color: var(--hcv-royal);
  font-weight: 600;
  margin-bottom: 0;
}

.hcv-listing-footer {
  padding: 1.2rem 1.5rem 1.5rem;
  margin-top: auto;
}

.hcv-listing-price {
  display: block;
  font-weight: 600;
  color: var(--hcv-dark);
  margin-bottom: 1rem;
}

.hcv-listing-actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.hcv-btn-sm {
  padding: 0.55rem 1rem;
  font-size: 0.85rem;
}

.hcv-listings-cta {
  text-align: center;
  margin-top: 3rem;
}

/* Box Showcase */
.hcv-box-showcase {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 4rem 0;
  border-radius: 8px;
  overflow: hidden;
  background-color: var(--hcv-dark);
}

.hcv-showcase-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  z-index: 1;
}

.hcv-showcase-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(15, 28, 63, 0.6), rgba(15, 28, 63, 0.3));
  z-index: 2;
}

.hcv-showcase-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: var(--hcv-ivory);
  max-width: 600px;
  padding: 2rem;
}

.hcv-showcase-content h2 {
  color: var(--hcv-ivory);
  margin-bottom: 1rem;
}

.hcv-showcase-content p {
  color: var(--hcv-ivory);
  margin-bottom: 2rem;
}

/* Newsletter */
.hcv-newsletter {
  background: linear-gradient(135deg, var(--hcv-dark), var(--hcv-royal));
  color: var(--hcv-ivory);
  padding: 4rem 2rem;
  border-radius: 8px;
  max-width: 1400px;
  margin: 0 auto 4rem;
}

.hcv-newsletter-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.hcv-newsletter-content h2 {
  color: var(--hcv-ivory);
  margin-bottom: 1rem;
}

.hcv-newsletter-content p {
  color: var(--hcv-ivory);
  margin-bottom: 2rem;
}

.hcv-newsletter-form {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.hcv-newsletter-form input {
  flex: 1;
  padding: 0.9rem 1.5rem;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
}

.hcv-newsletter-form button {
  padding: 0.9rem 2rem;
}

.hcv-newsletter-message {
  color: var(--hcv-gold);
  font-weight: 600;
  font-size: 0.95rem;
  margin-top: 1rem;
}

/* Why Collectors Choose Us */
.hcv-why-curate {
  max-width: 1400px;
  margin: 0 auto 4rem;
  padding: 0 2rem;
}

.hcv-principles-grid {
  display: grid;
}

.hcv-principle-card {
  background-color: var(--hcv-beige);
  padding: 2rem;
  border-radius: 8px;
  text-align: center;
  transition: all 0.3s ease;
}

.hcv-principle-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  transform: translateY(-3px);
}

.hcv-principle-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.hcv-principle-card h3 {
  margin-bottom: 0.6rem;
}

.hcv-principle-card p {
  color: var(--hcv-text-light);
  margin-bottom: 0;
}

/* Morgan Silver Dollar History */
.hcv-history {
  max-width: 1400px;
  margin: 0 auto 4rem;
  padding: 0 2rem;
}

.hcv-history-content {
  max-width: 800px;
  margin: 0 auto;
}

.hcv-history-content p {
  color: var(--hcv-text-light);
}

/* Experience */
.hcv-experience-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  max-width: 1400px;
  margin: 0 auto 2rem;
  padding: 0 2rem;
}

.hcv-experience-item h3 {
  margin-bottom: 1rem;
  color: var(--hcv-dark);
}

.hcv-experience-item p {
  color: var(--hcv-text-light);
}

.hcv-experience-note {
  max-width: 1400px;
  margin: 2rem auto 0;
  padding: 0 2rem;
  padding: 1.5rem;
  background-color: var(--hcv-beige);
  border-left: 3px solid var(--hcv-gold);
  border-radius: 4px;
  color: var(--hcv-text-light);
}

/* About CTA */
.hcv-about-cta {
  text-align: center;
  padding: 4rem 2rem;
  background-color: var(--hcv-beige);
  border-radius: 8px;
  max-width: 1400px;
  margin: 0 auto 4rem;
}

.hcv-about-cta h2 {
  margin-bottom: 1rem;
}

.hcv-about-cta p {
  color: var(--hcv-text-light);
  margin-bottom: 2rem;
}

/* Filter Tabs */
.hcv-filter-section {
  max-width: 1400px;
  margin: 0 auto 3rem;
  padding: 0 2rem;
}

.hcv-filter-tabs {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.hcv-filter-tab {
  background-color: transparent;
  border: 2px solid var(--hcv-light-gray);
  color: var(--hcv-text-dark);
  padding: 0.7rem 1.5rem;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.hcv-filter-tab:hover {
  border-color: var(--hcv-gold);
  color: var(--hcv-gold);
}

.hcv-filter-tab.active {
  background-color: var(--hcv-gold);
  color: var(--hcv-dark);
  border-color: var(--hcv-gold);
}

/* Collector Sets Section */
.hcv-collector-sets {
  max-width: 1400px;
  margin: 0 auto 4rem;
  padding: 0 2rem;
}

/* Set Banner */
.hcv-set-banner {
  position: relative;
  min-height: 450px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 4rem 0;
  border-radius: 8px;
  overflow: hidden;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  background-color: var(--hcv-dark);
}

.hcv-banner-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  z-index: 1;
}

.hcv-banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(15, 28, 63, 0.6), rgba(15, 28, 63, 0.3));
  z-index: 2;
}

.hcv-banner-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: var(--hcv-ivory);
  max-width: 700px;
  padding: 2rem;
}

.hcv-banner-content h2 {
  color: var(--hcv-ivory);
  margin-bottom: 2rem;
}

.hcv-banner-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* FAQ/Accordion */
.hcv-faq {
  max-width: 1400px;
  margin: 0 auto 4rem;
  padding: 0 2rem;
}

.hcv-accordion {
  max-width: 800px;
  margin: 0 auto;
}

.hcv-accordion-item {
  border-bottom: 1px solid var(--hcv-light-gray);
  margin-bottom: 0;
}

.hcv-accordion-trigger {
  width: 100%;
  padding: 1.5rem;
  background-color: #fff;
  border: none;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--hcv-dark);
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hcv-accordion-trigger:hover {
  background-color: var(--hcv-beige);
  color: var(--hcv-gold);
}

.hcv-accordion-trigger::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--hcv-gold);
  transition: transform 0.3s ease;
}

.hcv-accordion-trigger.active::after {
  transform: rotate(45deg);
}

.hcv-accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.hcv-accordion-content.active {
  max-height: 500px;
}

.hcv-accordion-content p {
  padding: 0 1.5rem 1.5rem;
  color: var(--hcv-text-light);
}

/* Contact Form Section */
.hcv-contact-form-section {
  max-width: 1400px;
  margin: 0 auto 4rem;
  padding: 0 2rem;
}

.hcv-contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 2rem;
}

.hcv-contact-form {
  display: flex;
  flex-direction: column;
}

.hcv-form-group {
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
}

.hcv-form-group label {
  font-weight: 600;
  color: var(--hcv-dark);
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.hcv-form-group input,
.hcv-form-group select,
.hcv-form-group textarea {
  padding: 0.9rem 1rem;
  border: 2px solid var(--hcv-light-gray);
  border-radius: 4px;
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.3s ease;
}

.hcv-form-group input:focus,
.hcv-form-group select:focus,
.hcv-form-group textarea:focus {
  outline: none;
  border-color: var(--hcv-gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.hcv-form-submit {
  margin-top: 0.5rem;
}

.hcv-form-message {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 4px;
  display: none;
}

.hcv-form-message.success {
  display: block;
  background-color: rgba(212, 175, 55, 0.1);
  color: var(--hcv-royal);
  border-left: 3px solid var(--hcv-gold);
}

.hcv-contact-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.hcv-contact-info h3 {
  grid-column: 1 / -1;
}

.hcv-info-card {
  background-color: var(--hcv-beige);
  padding: 1.5rem;
  border-radius: 8px;
  border-left: 3px solid var(--hcv-gold);
}

.hcv-info-label {
  font-weight: 600;
  color: var(--hcv-dark);
  margin-bottom: 0.5rem;
}

.hcv-info-card p {
  margin-bottom: 0;
  color: var(--hcv-text-light);
}

.hcv-info-card a {
  color: var(--hcv-gold);
  text-decoration: none;
}

.hcv-info-card a:hover {
  text-decoration: underline;
}

/* Concierge */
.hcv-concierge {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto 4rem;
  padding: 0 2rem;
}

.hcv-concierge-image {
  border-radius: 8px;
  overflow: hidden;
}

.hcv-concierge-image img {
  width: 100%;
  height: auto;
  display: block;
}

.hcv-concierge-content h2 {
  margin-bottom: 1.5rem;
}

.hcv-concierge-content p {
  color: var(--hcv-text-light);
}

/* Mini FAQ */
.hcv-mini-faq {
  max-width: 1400px;
  margin: 0 auto 4rem;
  padding: 0 2rem;
}

.hcv-faq-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.hcv-faq-card {
  background-color: var(--hcv-beige);
  padding: 2rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.hcv-faq-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  transform: translateY(-3px);
}

.hcv-faq-card h4 {
  margin-bottom: 1rem;
}

.hcv-faq-card p {
  color: var(--hcv-text-light);
  margin-bottom: 0;
}

/* Footer */
.hcv-footer {
  background-color: var(--hcv-dark);
  color: var(--hcv-ivory);
  margin-top: 4rem;
  padding: 3rem 2rem 1rem;
}

.hcv-footer-content {
  max-width: 1400px;
  margin: 0 auto 3rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem;
}

.hcv-footer-section h4 {
  color: var(--hcv-ivory);
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

.hcv-footer-section p {
  color: var(--hcv-ivory);
  font-size: 0.95rem;
  line-height: 1.7;
}

.hcv-footer-section ul {
  list-style: none;
  padding: 0;
}

.hcv-footer-section li {
  margin-bottom: 0.8rem;
}

.hcv-footer-section a {
  color: var(--hcv-ivory);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.hcv-footer-section a:hover {
  color: var(--hcv-gold);
}

.hcv-footer-tagline {
  font-size: 0.9rem;
  font-style: italic;
  color: var(--hcv-gold);
  margin-top: 0.5rem;
}

.hcv-footer-bottom {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
  text-align: center;
  font-size: 0.9rem;
}

.hcv-footer-bottom p {
  color: var(--hcv-ivory);
  margin-bottom: 0;
}

/* Scroll Reveal Animation */
.hcv-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.hcv-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 1200px) {
  .hcv-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .hcv-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .hcv-grid-6 { grid-template-columns: repeat(3, 1fr); }
  .hcv-style-grid { grid-template-columns: repeat(3, 1fr); }
  .hcv-listing-grid { grid-template-columns: repeat(2, 1fr); }
  .hcv-story-split,
  .hcv-our-story { grid-template-columns: 1fr; gap: 2rem; }
  .hcv-contact-container { grid-template-columns: 1fr; }
  .hcv-concierge { grid-template-columns: 1fr; gap: 2rem; }
  .hcv-footer-content { grid-template-columns: repeat(2, 1fr); }

  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
}

@media (max-width: 768px) {
  .hcv-header-content {
    padding: 1rem 1.5rem;
  }

  .hcv-nav {
    display: none;
  }

  .hcv-mobile-menu-toggle {
    display: block;
  }

  .hcv-mobile-menu {
    display: flex;
  }

  .hcv-cta-btn {
    display: none;
  }

  .hcv-hero,
  .hcv-about-hero,
  .hcv-collections-hero,
  .hcv-contact-hero {
    min-height: 400px;
    flex-direction: column;
    padding: 2rem 0;
  }

  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.2rem; }

  .hcv-hero-buttons {
    flex-direction: column;
  }

  .hcv-hero-buttons a {
    width: 100%;
  }

  .hcv-featured-card {
    position: static;
    margin-top: 1.5rem;
    max-width: 100%;
  }

  .hcv-trust-strip {
    grid-template-columns: repeat(2, 1fr);
    margin-left: 0;
    margin-right: 0;
  }

  .hcv-collection-grid,
  .hcv-coin-grid,
  .hcv-products-grid {
    grid-template-columns: 1fr;
  }

  .hcv-style-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hcv-style-grid.hcv-style-grid-narrow {
    grid-template-columns: repeat(2, 1fr);
  }

  .hcv-showcase-columns {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hcv-listing-grid {
    grid-template-columns: 1fr;
  }

  .hcv-faq-grid,
  .hcv-experience-grid {
    grid-template-columns: 1fr;
  }

  .hcv-footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hcv-contact-info {
    grid-template-columns: 1fr;
  }

  .hcv-filter-tabs {
    gap: 0.5rem;
  }

  .hcv-filter-tab {
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
  }

  .hcv-newsletter-form {
    flex-direction: column;
  }

  .hcv-accordion-trigger {
    padding: 1.2rem;
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .hcv-announcement {
    font-size: 0.85rem;
    padding: 0.75rem;
  }

  .hcv-logo {
    font-size: 1.2rem;
  }

  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.2rem; }
  h3 { font-size: 1rem; }

  .hcv-hero-content,
  .hcv-showcase-content,
  .hcv-banner-content {
    padding: 1rem;
  }

  .hcv-hero-eyebrow {
    font-size: 0.8rem;
  }

  .hcv-section-header {
    margin-bottom: 2rem;
  }

  .hcv-trust-strip {
    grid-template-columns: 1fr;
    padding: 2rem 1rem;
  }

  .hcv-style-grid {
    grid-template-columns: 1fr;
  }

  .hcv-style-grid.hcv-style-grid-narrow {
    grid-template-columns: 1fr;
  }

  .hcv-card-image-wrapper {
    height: 200px;
  }

  .hcv-listing-coinview {
    height: 200px;
  }

  .hcv-card-content {
    padding: 1.5rem;
  }

  .hcv-listing-card,
  .hcv-product-card {
    min-height: 0;
  }

  .hcv-footer-section {
    text-align: center;
  }

  .hcv-form-group {
    margin-bottom: 1rem;
  }

  .hcv-btn {
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
  }
}

/* ==========================================================================
   WooCommerce - Shop / Product / Cart / Checkout / My Account
   Cart, Checkout and My Account use WooCommerce's own default templates
   (unmodified, to protect payment/order logic) restyled here to match the
   site's existing design system. Shop and single product pages use full
   custom theme templates (archive-product.php / single-product.php).
   ========================================================================== */

/* Scoped to div.woocommerce (the shortcode wrapper on Cart/Checkout/My Account)
   so it can never match <body class="woocommerce"> and squeeze the whole page. */
div.woocommerce {
  max-width: 1400px;
  margin: 0 auto 4rem;
  padding: 0 2rem;
}

.woocommerce a.button,
.woocommerce button.button,
.woocommerce #respond input#submit,
.woocommerce input.button,
.woocommerce-Button {
  display: inline-block;
  padding: 0.9rem 2rem;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid var(--hcv-gold);
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  background-color: var(--hcv-gold);
  color: var(--hcv-dark);
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce #respond input#submit:hover,
.woocommerce input.button:hover {
  background-color: var(--hcv-dark);
  border-color: var(--hcv-dark);
  color: var(--hcv-ivory);
  transform: translateY(-2px);
}

.woocommerce table.shop_table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.woocommerce table.shop_table th {
  background-color: var(--hcv-dark);
  color: var(--hcv-ivory);
  padding: 1rem;
  text-align: left;
  font-weight: 600;
}

.woocommerce table.shop_table td {
  padding: 1rem;
  border-bottom: 1px solid var(--hcv-light-gray);
}

.woocommerce table.shop_table img {
  border-radius: 4px;
  width: 64px;
  height: 64px;
  object-fit: cover;
}

.woocommerce .quantity .qty,
.woocommerce input.input-text,
.woocommerce select,
.woocommerce textarea {
  padding: 0.7rem 1rem;
  border: 2px solid var(--hcv-light-gray);
  border-radius: 4px;
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.3s ease;
}

.woocommerce .quantity .qty:focus,
.woocommerce input.input-text:focus,
.woocommerce select:focus,
.woocommerce textarea:focus {
  outline: none;
  border-color: var(--hcv-gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.woocommerce-cart-form .actions,
.woocommerce-page table.cart td.actions {
  background: transparent;
}

.woocommerce-billing-fields label,
.woocommerce-additional-fields label,
.woocommerce-shipping-fields label,
.woocommerce form .form-row label {
  font-weight: 600;
  color: var(--hcv-dark);
  margin-bottom: 0.4rem;
  display: block;
  font-size: 0.95rem;
}

.woocommerce-checkout #payment {
  background-color: var(--hcv-beige);
  border-radius: 8px;
  padding: 1.5rem;
  margin-top: 1.5rem;
}

.woocommerce-checkout #payment div.payment_box {
  background-color: #fff;
  border-radius: 4px;
  padding: 1rem;
  margin-top: 0.5rem;
}

.woocommerce-checkout #place_order,
.woocommerce a.checkout-button {
  width: 100%;
  text-align: center;
  padding: 1rem 2rem;
  font-size: 1rem;
}

.woocommerce-cart .cart-collaterals .cart_totals {
  background-color: var(--hcv-beige);
  border-radius: 8px;
  padding: 1.5rem;
}

.woocommerce-cart .cart_totals table.shop_table {
  box-shadow: none;
  background: transparent;
}

.woocommerce-cart .cart_totals tr.order-total .amount {
  color: var(--hcv-dark);
  font-weight: 700;
  font-size: 1.2rem;
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.woocommerce-noreviews {
  background-color: rgba(212, 175, 55, 0.1);
  border-left: 3px solid var(--hcv-gold);
  border-radius: 4px;
  padding: 1rem 1.5rem;
  margin-bottom: 1.5rem;
  list-style: none;
}

.woocommerce-error {
  border-left-color: #b3261e;
  background-color: rgba(179, 38, 30, 0.06);
}

/* My Account */
.woocommerce-account .woocommerce-MyAccount-navigation {
  background-color: var(--hcv-dark);
  border-radius: 8px;
  padding: 1rem 0;
  margin-bottom: 2rem;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li a {
  display: block;
  padding: 0.8rem 1.5rem;
  color: var(--hcv-ivory);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a,
.woocommerce-account .woocommerce-MyAccount-navigation ul li a:hover {
  color: var(--hcv-gold);
}

.woocommerce-account .woocommerce-MyAccount-content {
  background-color: #fff;
}

/* Product single-page add-to-cart form */
.woocommerce div.product form.cart .quantity {
  margin-right: 0.75rem;
}

.woocommerce div.product form.cart {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
/* WooCommerce's default content wrapper (woocommerce_output_content_wrapper()),
   used by the single product page's default template. Matches the site's
   existing 1400px container pattern used by every other section. */
#primary.content-area {
  max-width: 1400px;
  margin: 0 auto 4rem;
  padding: 0 2rem;
}

#primary.content-area #main.site-main {
  display: block;
  width: 100%;
}

@media (max-width: 768px) {
  #primary.content-area {
    padding: 0 1.5rem;
  }
}
/* Single product page uses WooCommerce's own default stylesheet (see inc/woocommerce.php),
   which sets its own purple (#7f54b3) on buttons. Override with the site's gold accent.
   !important is used deliberately here since this must reliably win over the plugin's
   own equal-specificity button rules regardless of stylesheet load order. */
.single_add_to_cart_button.button,
.woocommerce div.product form.cart .button {
  background-color: var(--hcv-gold) !important;
  border-color: var(--hcv-gold) !important;
  color: var(--hcv-dark) !important;
}

.single_add_to_cart_button.button:hover,
.woocommerce div.product form.cart .button:hover {
  background-color: var(--hcv-dark) !important;
  border-color: var(--hcv-dark) !important;
  color: var(--hcv-ivory) !important;
}
/* ==========================================================================
   Header cart drawer
   ========================================================================== */

.hcv-cart-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--hcv-dark);
  padding: 0.5rem;
  margin-right: 0.5rem;
}

.hcv-cart-toggle:hover {
  color: var(--hcv-gold);
}

.hcv-cart-toggle .hcv-cart-icon {
  display: block;
}

.hcv-cart-count {
  position: absolute;
  top: 0;
  right: 0;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 999px;
  background-color: var(--hcv-gold);
  color: var(--hcv-dark);
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
}

body.hcv-cart-drawer-locked {
  overflow: hidden;
}

.hcv-cart-drawer-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(15, 28, 63, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 998;
}

.hcv-cart-drawer-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.hcv-cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: 400px;
  max-width: 90vw;
  background-color: #fff;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.2);
  z-index: 999;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s ease;
}

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

.hcv-cart-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  background-color: var(--hcv-dark);
  color: var(--hcv-ivory);
}

.hcv-cart-drawer-header h3 {
  color: var(--hcv-ivory);
  margin-bottom: 0;
  font-size: 1.2rem;
}

.hcv-cart-drawer-close {
  background: none;
  border: none;
  color: var(--hcv-ivory);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  padding: 0;
}

.hcv-cart-drawer-close:hover {
  color: var(--hcv-gold);
}

.hcv-cart-drawer-body {
  padding: 1.5rem;
  overflow-y: auto;
  flex: 1;
}

.hcv-cart-drawer-body .widget_shopping_cart_content .woocommerce-mini-cart {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
}

.hcv-cart-drawer-body .woocommerce-mini-cart-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--hcv-light-gray);
  position: relative;
}

.hcv-cart-drawer-body .woocommerce-mini-cart-item img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 4px;
}

.hcv-cart-drawer-body .woocommerce-mini-cart-item a.remove {
  color: var(--hcv-text-light);
  text-decoration: none;
  font-size: 1.2rem;
  margin-left: auto;
}

.hcv-cart-drawer-body .woocommerce-mini-cart-item a.remove:hover {
  color: #b3261e;
}

.hcv-cart-drawer-body .total {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--hcv-dark);
  margin: 1rem 0;
  padding-top: 1rem;
  border-top: 2px solid var(--hcv-light-gray);
}

.hcv-cart-drawer-body .wc-proceed-to-checkout a.button,
.hcv-cart-drawer-body a.button {
  display: block;
  text-align: center;
  width: 100%;
  margin-bottom: 0.6rem;
  padding: 0.9rem 1.5rem;
  border-radius: 4px;
  font-weight: 600;
  text-decoration: none;
  background-color: var(--hcv-gold);
  color: var(--hcv-dark);
  border: 2px solid var(--hcv-gold);
}

.hcv-cart-drawer-body .wc-proceed-to-checkout a.button:hover,
.hcv-cart-drawer-body a.button:hover {
  background-color: var(--hcv-dark);
  border-color: var(--hcv-dark);
  color: var(--hcv-ivory);
}

@media (max-width: 480px) {
  .hcv-cart-drawer {
    width: 100%;
    max-width: 100vw;
  }

  .hcv-cart-drawer-header,
  .hcv-cart-drawer-body {
    padding: 1rem;
  }
}
/* ==========================================================================
   Coin & Bill Listing Table + Detail Modal (Explore Coins page)
   ========================================================================== */

.hcv-coin-table-section {
  max-width: 1400px;
  margin: 0 auto 4rem;
  padding: 0 2rem;
}

.hcv-coin-table-search {
  max-width: 420px;
  margin: 0 auto 2rem;
  position: relative;
}

.hcv-coin-table-search input {
  width: 100%;
  padding: 0.9rem 1rem 0.9rem 2.8rem;
  border: 2px solid var(--hcv-light-gray);
  border-radius: 4px;
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.3s ease;
  background-color: #fff;
}

.hcv-coin-table-search input:focus {
  outline: none;
  border-color: var(--hcv-gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.hcv-coin-table-search::before {
  content: '';
  position: absolute;
  left: 1rem;
  top: 50%;
  width: 16px;
  height: 16px;
  transform: translateY(-50%);
  border: 2px solid var(--hcv-text-light);
  border-radius: 50%;
  box-sizing: border-box;
}

.hcv-coin-table-search::after {
  content: '';
  position: absolute;
  left: 1.85rem;
  top: 50%;
  width: 7px;
  height: 2px;
  background: var(--hcv-text-light);
  transform: translateY(6px) rotate(45deg);
  transform-origin: left center;
}

.hcv-coin-table-empty {
  text-align: center;
  color: var(--hcv-text-light);
  padding: 2rem;
  display: none;
}

.hcv-table-wrap {
  overflow-x: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  background-color: #fff;
  -webkit-overflow-scrolling: touch;
}


table.hcv-coin-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  background-color: #fff;
}

table.hcv-coin-table thead th {
  background-color: var(--hcv-dark);
  color: var(--hcv-ivory);
  padding: 1rem 1.25rem;
  text-align: left;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

table.hcv-coin-table tbody tr {
  cursor: pointer;
  transition: background-color 0.2s ease;
  border-bottom: 1px solid var(--hcv-light-gray);
}

table.hcv-coin-table tbody tr:last-child {
  border-bottom: none;
}

table.hcv-coin-table tbody tr:hover {
  background-color: var(--hcv-beige);
}

table.hcv-coin-table tbody tr.hcv-row-hidden {
  display: none;
}

table.hcv-coin-table td {
  padding: 1rem 1.25rem;
  font-size: 0.95rem;
  color: var(--hcv-text-dark);
  vertical-align: middle;
}

table.hcv-coin-table td.hcv-col-coin {
  font-weight: 600;
  color: var(--hcv-dark);
}

table.hcv-coin-table td.hcv-col-price {
  font-weight: 700;
  color: var(--hcv-royal);
  white-space: nowrap;
}

/* Detail Modal */
body.hcv-modal-locked {
  overflow: hidden;
}

.hcv-detail-modal-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(15, 28, 63, 0.6);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 998;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.hcv-detail-modal-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.hcv-detail-modal {
  background-color: #fff;
  border-radius: 8px;
  max-width: 760px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  transform: translateY(20px) scale(0.98);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.hcv-detail-modal-overlay.is-open .hcv-detail-modal {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.hcv-detail-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 2rem;
  background-color: var(--hcv-dark);
  color: var(--hcv-ivory);
  position: sticky;
  top: 0;
  z-index: 1;
}

.hcv-detail-modal-header h3 {
  color: var(--hcv-ivory);
  margin-bottom: 0;
  font-size: 1.3rem;
}

.hcv-detail-modal-close {
  background: none;
  border: none;
  color: var(--hcv-ivory);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  margin-left: 1rem;
}

.hcv-detail-modal-close:hover {
  color: var(--hcv-gold);
}

.hcv-detail-modal-body {
  padding: 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.hcv-detail-modal-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.hcv-detail-modal-images figure {
  margin: 0;
  height: 260px;
  background-color: var(--hcv-beige);
  border-radius: 8px;
  overflow: hidden;
}

.hcv-detail-modal-images img {
  width: 100%;
  height: 100%;
  aspect-ratio: unset;
  object-fit: contain;
  display: block;
  padding: 12px;
  box-sizing: border-box;
}

.hcv-detail-modal-images figcaption {
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--hcv-text-light);
  padding: 0.5rem 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hcv-detail-modal-info dl {
  margin: 0 0 1.5rem;
}

.hcv-detail-modal-info .hcv-detail-row {
  display: flex;
  justify-content: space-between;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--hcv-light-gray);
  font-size: 0.95rem;
}

.hcv-detail-modal-info .hcv-detail-row dt {
  color: var(--hcv-text-light);
  font-weight: 500;
}

.hcv-detail-modal-info .hcv-detail-row dd {
  color: var(--hcv-dark);
  font-weight: 600;
  text-align: right;
}

.hcv-detail-modal-price {
  font-family: 'Georgia', 'Garamond', 'Times New Roman', serif;
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--hcv-royal);
  margin-bottom: 1.5rem;
}

.hcv-detail-modal-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.hcv-detail-modal-actions .hcv-btn {
  width: 100%;
}

.hcv-detail-modal-view-full {
  text-align: center;
  margin-top: 0.75rem;
  font-size: 0.85rem;
}

.hcv-detail-modal-view-full a {
  color: var(--hcv-text-light);
  text-decoration: underline;
}

.hcv-detail-modal-view-full a:hover {
  color: var(--hcv-gold);
}

@media (max-width: 768px) {
  .hcv-detail-modal-body {
    grid-template-columns: 1fr;
  }

  .hcv-detail-modal-overlay {
    padding: 1rem;
  }

  .hcv-detail-modal-header {
    padding: 1.2rem 1.5rem;
  }

  
table.hcv-coin-table {
    min-width: 600px;
  }
}
/* ==========================================================================
   Product grid card consistency (Explore Coins page)
   Keeps the mixed coin-card / supply-card grid visually even: matching
   image height across both card shapes, clamped text so a long description
   can't stretch one card taller than its neighbors, and price/actions
   pinned to the bottom of every card.
   ========================================================================== */

.hcv-listing-grid {
  align-items: stretch;
}

.hcv-listing-card,
.hcv-product-card {
  min-height: 480px;
}

/* Give the dual obverse/reverse image area the same height as the single-image
   supply cards (previously aspect-ratio-driven, so it varied with column width
   and rarely matched the fixed 280px used elsewhere - a main source of the
   uneven card heights). */
.hcv-listing-coinview {
  height: 280px;
}

.hcv-listing-coinview img {
  height: 100%;
  aspect-ratio: unset;
}

.hcv-card-content h3,
.hcv-listing-info h4 {
  min-height: 2.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hcv-card-description {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hcv-listing-meta {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hcv-listing-actions .hcv-btn,
.hcv-card-content > .hcv-btn {
  width: 100%;
}

.hcv-card-content {
  gap: 0.25rem;
}
/* Full-card clickability (Explore Coins grid + supply cards). Delegated
   click/keyboard handling lives in coin-detail.js; this is purely the
   affordance styling. */
.hcv-listing-card,
.hcv-product-card {
  cursor: pointer;
}

.hcv-listing-card:hover,
.hcv-product-card:hover {
  box-shadow: 0 8px 24px rgba(15, 28, 63, 0.18);
}

.hcv-listing-card:focus-visible,
.hcv-product-card:focus-visible {
  outline: 3px solid var(--hcv-gold);
  outline-offset: 2px;
}

/* Keep the inner button/link's own focus ring instead of double-outlining
   when the card itself isn't the focused element. */
.hcv-listing-card .hcv-open-detail:focus-visible,
.hcv-product-card .hcv-btn:focus-visible {
  outline: 3px solid var(--hcv-gold);
  outline-offset: 2px;
}