/* ===== SILVER COINS PRICES PAGE ===== */
/* Interactive calculator with 3 coin pricing tables */

/* Remove default padding */
body.page-template-silver-coins-prices .site-main {
  padding: 0 !important;
  max-width: none !important;
}

/* ===== HERO SECTION ===== */
.silver-hero {
  background: var(--gb-navy);
  color: var(--gb-white);
  padding: 3rem 2rem;
  text-align: center;
}

.silver-hero h1 {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--gb-white);
}

.silver-hero .hero-intro {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.9);
}

.silver-hero .hero-intro p {
  margin-bottom: 1rem;
}

.silver-hero .hero-intro p:last-child {
  margin-bottom: 0;
}

/* ===== WARNING NOTICE ===== */
.silver-warning {
  background: #fff3cd;
  border-bottom: 3px solid #ffc107;
  padding: 1.5rem 2rem;
}

.silver-warning .warning-content {
  color: #856404;
  font-weight: 500;
  text-align: center;
}

.silver-warning .warning-content p {
  margin: 0;
}

/* ===== CALCULATOR SECTION ===== */
.silver-calculator {
  background: var(--gb-gray);
  padding: 3rem 2rem;
}

/* Running Total */
.calculator-total {
  background: var(--gb-white);
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
  margin-bottom: 2rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  position: sticky;
  top: 1rem;
  z-index: 10;
}

.calculator-total h2 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--gb-text);
  margin-bottom: 0.75rem;
}

.calculator-total .total-amount {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gb-navy);
}

.calculator-total .total-amount .currency {
  font-size: 1.75rem;
  vertical-align: top;
  margin-right: 0.25rem;
}

.calculator-total .total-amount .amount {
  transition: color 0.3s ease;
}

.calculator-total .total-amount .amount.updating {
  color: var(--gb-gold);
}

/* Coin Tables Container */
.coin-tables {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* Individual Table Section */
.coin-table-section {
  background: var(--gb-white);
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.coin-table-section h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--gb-navy);
  margin-bottom: 0.5rem;
}

.coin-table-section .table-note {
  font-size: 0.9rem;
  color: var(--gb-text-light, #666);
  margin-bottom: 1rem;
}

/* Coin Table */
.coin-table {
  width: 100%;
  border-collapse: collapse;
}

.coin-table thead th {
  text-align: left;
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gb-text-light, #666);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 2px solid var(--gb-border);
}

.coin-table tbody tr {
  border-bottom: 1px solid var(--gb-border);
  transition: background 0.2s;
}

.coin-table tbody tr:hover {
  background: var(--gb-gray);
}

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

.coin-table td {
  padding: 1rem;
  vertical-align: middle;
}

.coin-table .col-coin {
  width: 35%;
}

.coin-table .col-price {
  width: 25%;
}

.coin-table .col-qty {
  width: 20%;
}

.coin-table .col-subtotal {
  width: 20%;
  text-align: right;
}

/* Coin Name */
.coin-table .coin-name {
  font-weight: 600;
  color: var(--gb-text);
}

/* Coin Price */
.coin-table .coin-price {
  font-weight: 600;
  color: var(--gb-navy);
}

/* Subtotal */
.coin-table .coin-subtotal {
  font-weight: 700;
  color: var(--gb-navy);
  font-size: 1.05rem;
}

/* Quantity Controls */
.qty-controls {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--gb-border);
  border-radius: 4px;
  overflow: hidden;
}

.qty-btn {
  width: 36px;
  height: 36px;
  border: none;
  background: var(--gb-gray);
  color: var(--gb-text);
  font-size: 1.25rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qty-btn:hover {
  background: var(--gb-navy);
  color: var(--gb-white);
}

.qty-btn:active {
  transform: scale(0.95);
}

.qty-input {
  width: 50px;
  height: 36px;
  border: none;
  border-left: 1px solid var(--gb-border);
  border-right: 1px solid var(--gb-border);
  text-align: center;
  font-size: 1rem;
  font-weight: 600;
  color: var(--gb-text);
  -moz-appearance: textfield;
}

.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.qty-input:focus {
  outline: none;
  background: #f0f7ff;
}

/* ===== INFO SECTION ===== */
.silver-info {
  background: var(--gb-white);
  padding: 4rem 2rem;
}

.silver-info h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--gb-navy);
  text-align: center;
  margin-bottom: 1.5rem;
}

.silver-info .info-content {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--gb-text);
  text-align: center;
}

/* ===== FAQ ACCORDION ===== */
.silver-faq {
  background: var(--gb-gray);
  padding: 3rem 2rem;
}

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

.faq-item {
  background: var(--gb-white);
  border-radius: 8px;
  margin-bottom: 0.75rem;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border: none;
  background: transparent;
  cursor: pointer;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  color: var(--gb-navy);
  transition: background 0.2s;
}

.faq-question:hover {
  background: var(--gb-gray);
}

.faq-icon {
  flex-shrink: 0;
  transition: transform 0.3s;
  color: var(--gb-navy);
}

.faq-item.is-open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer > * {
  padding: 0 1.5rem 1.25rem;
  color: var(--gb-text);
  line-height: 1.7;
}

/* ===== HOW TO SELL SECTION ===== */
.silver-how-to-sell {
  background: var(--gb-navy);
  color: var(--gb-white);
  padding: 4rem 2rem;
}

.silver-how-to-sell h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--gb-white);
  text-align: center;
  margin-bottom: 2rem;
}

.silver-how-to-sell .how-to-intro {
  margin-bottom: 3rem;
  text-align: center;
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.9);
}

.silver-how-to-sell .how-to-intro a {
  color: var(--gb-gold);
}

.silver-how-to-sell .sell-steps {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.silver-how-to-sell .sell-step {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}

.silver-how-to-sell .step-number {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gb-gold);
  color: var(--gb-navy);
  font-size: 1.25rem;
  font-weight: 700;
  border-radius: 50%;
}

.silver-how-to-sell .step-content {
  flex: 1;
}

.silver-how-to-sell .step-content h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gb-white);
  margin-bottom: 0.75rem;
}

.silver-how-to-sell .step-content p,
.silver-how-to-sell .step-content ul,
.silver-how-to-sell .step-content li {
  color: rgba(255,255,255,0.9);
  margin-bottom: 0.75rem;
  line-height: 1.7;
}

.silver-how-to-sell .step-content ul {
  margin-left: 1.5rem;
}

.silver-how-to-sell .step-content a:not(.btn) {
  color: var(--gb-gold);
}

.silver-how-to-sell .step-content .btn {
  display: inline-block;
  padding: 0.6rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 4px;
  margin-right: 0.75rem;
  margin-top: 0.5rem;
  transition: all 0.2s;
}

.silver-how-to-sell .step-content .btn-primary {
  background: var(--gb-gold);
  color: var(--gb-navy);
}

.silver-how-to-sell .step-content .btn-primary:hover {
  background: #dbb873;
}

.silver-how-to-sell .step-content .btn-outline {
  border: 2px solid var(--gb-white);
  color: var(--gb-white);
  background: transparent;
}

.silver-how-to-sell .step-content .btn-outline:hover {
  background: var(--gb-white);
  color: var(--gb-navy);
}

/* ===== RELATED LINKS ===== */
.silver-related {
  background: var(--gb-gray);
  padding: 4rem 2rem;
}

.silver-related h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gb-navy);
  text-align: center;
  margin-bottom: 2rem;
}

.silver-related .related-links-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.silver-related .related-link-card {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: var(--gb-white);
  border-radius: 8px;
  text-decoration: none;
  color: var(--gb-navy);
  font-weight: 600;
  text-align: center;
  transition: all 0.2s;
  border: 1px solid var(--gb-border);
  min-height: 80px;
}

.silver-related .related-link-card:hover {
  background: var(--gb-navy);
  color: var(--gb-white);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* ===== BOTTOM NOTICE ===== */
.silver-bottom-notice {
  background: var(--gb-navy);
  padding: 1.5rem 2rem;
  text-align: center;
}

.silver-bottom-notice p {
  color: rgba(255,255,255,0.9);
  font-size: 0.9rem;
  margin: 0;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .calculator-total {
    position: static;
  }

  .silver-related .related-links-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .silver-hero {
    padding: 2.5rem 1.5rem;
  }

  .silver-hero h1 {
    font-size: 1.75rem;
  }

  .silver-calculator {
    padding: 2rem 1rem;
  }

  .coin-table-section {
    padding: 1.5rem 1rem;
    overflow-x: auto;
  }

  .coin-table-section h3 {
    font-size: 1.15rem;
  }

  .coin-table {
    min-width: 500px;
  }

  .calculator-total .total-amount {
    font-size: 2rem;
  }

  .silver-info {
    padding: 3rem 1.5rem;
  }

  .silver-info h2 {
    font-size: 1.5rem;
  }

  .silver-faq {
    padding: 2.5rem 1.5rem;
  }

  .silver-how-to-sell {
    padding: 3rem 1.5rem;
  }

  .silver-how-to-sell h2 {
    font-size: 1.5rem;
  }

  .silver-how-to-sell .sell-step {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .silver-how-to-sell .step-number {
    width: 45px;
    height: 45px;
    font-size: 1.1rem;
  }

  .silver-related {
    padding: 3rem 1.5rem;
  }

  .silver-related .related-links-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .silver-related .related-link-card {
    min-height: 60px;
    padding: 1rem;
  }
}

@media (max-width: 480px) {
  .qty-controls {
    transform: scale(0.9);
  }
}
