/* stockpile_calculator.php 専用CSS */

/* 備蓄計算ページ固有のスタイル */
.stockpile-calculator-page .intro-section {
  padding: 80px 0;
  background: white;
  text-align: center;
}

.stockpile-calculator-page .intro-section h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--secondary-color);
}

.stockpile-calculator-page .section-description {
  font-size: 1.2rem;
  color: #666;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.7;
}

/* 計算機セクション */
.stockpile-calculator-page .calculator-section {
  padding: 80px 0;
  background: #f8f9fa;
}

.stockpile-calculator-page .calculator-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 15px;
}

.stockpile-calculator-page .calculator-form {
  background: white;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  margin-bottom: 40px;
}

.stockpile-calculator-page .calculator-form h3 {
  font-size: 2rem;
  margin-bottom: 30px;
  color: var(--secondary-color);
  display: flex;
  align-items: center;
  gap: 15px;
  border-bottom: 3px solid var(--accent-color);
  padding-bottom: 15px;
}

.stockpile-calculator-page .calculator-form h3 i {
  color: var(--primary-color);
  font-size: 1.8rem;
}

/* フォームレイアウト */
.stockpile-calculator-page .form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-bottom: 40px;
}

.stockpile-calculator-page .form-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.stockpile-calculator-page .form-group label {
  font-weight: 600;
  color: var(--secondary-color);
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.stockpile-calculator-page .form-group label i {
  color: var(--primary-color);
  font-size: 0.9rem;
}

.stockpile-calculator-page .form-control {
  padding: 15px;
  border: 2px solid #e1e8ed;
  border-radius: 10px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: white;
}

.stockpile-calculator-page .form-control:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

/* 家族構成セクション */
.stockpile-calculator-page .family-section {
  margin-bottom: 40px;
  padding: 30px;
  background: #f8f9fa;
  border-radius: 15px;
  border-left: 4px solid var(--accent-color);
}

.stockpile-calculator-page .family-section h4 {
  font-size: 1.5rem;
  margin-bottom: 25px;
  color: var(--secondary-color);
  display: flex;
  align-items: center;
  gap: 10px;
}

.stockpile-calculator-page .family-section h4 i {
  color: var(--primary-color);
}

.stockpile-calculator-page .family-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-bottom: 30px;
}

.stockpile-calculator-page .number-input-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  background: white;
  border: 2px solid #e1e8ed;
  border-radius: 10px;
  padding: 8px;
  transition: all 0.3s ease;
}

.stockpile-calculator-page .number-input-wrapper:focus-within {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

.stockpile-calculator-page .number-input {
  border: none;
  text-align: center;
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--primary-color);
  background: transparent;
  flex: 1;
  padding: 8px;
}

.stockpile-calculator-page .number-input:focus {
  outline: none;
  box-shadow: none;
  border: none;
}

.stockpile-calculator-page .btn-control {
  width: 40px;
  height: 40px;
  border: 2px solid var(--primary-color);
  background: white;
  color: var(--primary-color);
  border-radius: 8px;
  font-size: 1.2rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stockpile-calculator-page .btn-control:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-2px);
}

/* 特別なニーズセクション */
.stockpile-calculator-page .special-needs-section {
  margin-top: 25px;
}

.stockpile-calculator-page .special-needs-section h5 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: var(--secondary-color);
  display: flex;
  align-items: center;
  gap: 8px;
}

.stockpile-calculator-page .special-needs-section h5 i {
  color: var(--accent-color);
}

.stockpile-calculator-page .checkbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
}

.stockpile-calculator-page .checkbox-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px;
  background: white;
  border: 2px solid #e1e8ed;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.stockpile-calculator-page .checkbox-item:hover {
  border-color: var(--primary-color);
  background: rgba(231, 76, 60, 0.05);
}

.stockpile-calculator-page .checkbox-item input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.stockpile-calculator-page .checkmark {
  width: 20px;
  height: 20px;
  border: 2px solid #ddd;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.stockpile-calculator-page .checkbox-item input[type="checkbox"]:checked + .checkmark {
  background: var(--primary-color);
  border-color: var(--primary-color);
}

.stockpile-calculator-page .checkbox-item input[type="checkbox"]:checked + .checkmark::after {
  content: "✓";
  color: white;
  font-weight: bold;
  font-size: 0.8rem;
}

.stockpile-calculator-page .checkbox-text {
  font-weight: 500;
  color: #555;
}

/* ペットセクション */
.stockpile-calculator-page .pets-section {
  margin-bottom: 40px;
  padding: 30px;
  background: #f8f9fa;
  border-radius: 15px;
  border-left: 4px solid var(--accent-color);
}

.stockpile-calculator-page .pets-section h4 {
  font-size: 1.5rem;
  margin-bottom: 25px;
  color: var(--secondary-color);
  display: flex;
  align-items: center;
  gap: 10px;
}

.stockpile-calculator-page .pets-section h4 i {
  color: var(--primary-color);
}

/* ペット追加ボタンの改善 */
.stockpile-calculator-page .pets-section .btn.secondary-btn {
  background: var(--primary-color);
  color: white;
  border: 2px solid var(--primary-color);
  padding: 12px 25px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 15px;
  text-decoration: none;
  cursor: pointer;
}

.stockpile-calculator-page .pets-section .btn.secondary-btn:hover {
  background: #c0392b;
  border-color: #c0392b;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(231, 76, 60, 0.3);
  color: white;
  text-decoration: none;
}

.stockpile-calculator-page .pets-section .btn.secondary-btn:active {
  transform: translateY(0);
  box-shadow: 0 4px 10px rgba(231, 76, 60, 0.2);
}

.stockpile-calculator-page .pets-section .btn.secondary-btn i {
  font-size: 0.9rem;
  transition: transform 0.3s ease;
}

.stockpile-calculator-page .pets-section .btn.secondary-btn:hover i {
  transform: rotate(90deg);
}

.stockpile-calculator-page .pet-item {
  background: white;
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 20px;
  border: 2px solid #e1e8ed;
  position: relative;
  transition: all 0.3s ease;
}

.stockpile-calculator-page .pet-item:hover {
  border-color: var(--primary-color);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.stockpile-calculator-page .pet-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.stockpile-calculator-page .pet-weight-group {
  opacity: 0.5;
  transition: all 0.3s ease;
}

.stockpile-calculator-page .pet-weight-group:not([style*="display: none"]) {
  opacity: 1;
}

.stockpile-calculator-page .remove-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  border: none;
  background: #dc3545;
  color: white;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.stockpile-calculator-page .remove-btn:hover {
  background: #c82333;
  transform: scale(1.1);
}

/* 追加設定セクション */
.stockpile-calculator-page .additional-options {
  margin-bottom: 40px;
  padding: 30px;
  background: #f8f9fa;
  border-radius: 15px;
  border-left: 4px solid var(--accent-color);
}

.stockpile-calculator-page .additional-options h4 {
  font-size: 1.5rem;
  margin-bottom: 25px;
  color: var(--secondary-color);
  display: flex;
  align-items: center;
  gap: 10px;
}

.stockpile-calculator-page .additional-options h4 i {
  color: var(--primary-color);
}

.stockpile-calculator-page .options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-bottom: 30px;
}

.stockpile-calculator-page .disaster-risks h5 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: var(--secondary-color);
  display: flex;
  align-items: center;
  gap: 8px;
}

.stockpile-calculator-page .disaster-risks h5 i {
  color: #f39c12;
}

/* 計算ボタン */
.stockpile-calculator-page .calculate-button-container {
  text-align: center;
  margin-top: 40px;
}

.stockpile-calculator-page .calculate-btn {
  background: linear-gradient(135deg, var(--primary-color), #c0392b);
  color: white;
  border: none;
  padding: 20px 50px;
  border-radius: 50px;
  font-size: 1.3rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 250px;
  justify-content: center;
}

.stockpile-calculator-page .calculate-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(231, 76, 60, 0.4);
}

.stockpile-calculator-page .calculate-btn i {
  font-size: 1.2rem;
}

/* 結果セクション */
.stockpile-calculator-page .calculator-results {
  background: white;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  animation: slideInUp 0.5s ease;
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.stockpile-calculator-page .results-header h3 {
  font-size: 2rem;
  margin-bottom: 30px;
  color: var(--secondary-color);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  border-bottom: 3px solid var(--accent-color);
  padding-bottom: 15px;
}

.stockpile-calculator-page .results-header h3 i {
  color: var(--primary-color);
}

.stockpile-calculator-page .results-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 25px;
  margin-bottom: 40px;
}

.stockpile-calculator-page .summary-card {
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  border-radius: 15px;
  padding: 25px;
  text-align: center;
  border-left: 5px solid var(--accent-color);
  transition: all 0.3s ease;
}

.stockpile-calculator-page .summary-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.stockpile-calculator-page .summary-card i {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 15px;
  display: block;
}

.stockpile-calculator-page .summary-info h4 {
  font-size: 1rem;
  color: #666;
  margin-bottom: 8px;
  font-weight: 500;
}

.stockpile-calculator-page .summary-info p {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--secondary-color);
  margin: 0;
}

/* 結果タブ */
.stockpile-calculator-page .results-navigation {
  margin-bottom: 30px;
}

.stockpile-calculator-page .results-tabs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
  background: #f8f9fa;
  padding: 8px;
  border-radius: 15px;
}

.stockpile-calculator-page .tab-btn {
  background: transparent;
  border: none;
  padding: 15px 20px;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #666;
  font-size: 0.9rem;
}

.stockpile-calculator-page .tab-btn:hover {
  background: rgba(231, 76, 60, 0.1);
  color: var(--primary-color);
}

.stockpile-calculator-page .tab-btn.active {
  background: white;
  color: var(--primary-color);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.stockpile-calculator-page .tab-btn i {
  font-size: 1rem;
}

/* 結果コンテンツ */
.stockpile-calculator-page .tab-content {
  display: none;
}

.stockpile-calculator-page .tab-content.active {
  display: block;
}

.stockpile-calculator-page .tab-content h4 {
  font-size: 1.5rem;
  margin-bottom: 25px;
  color: var(--secondary-color);
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 2px solid var(--accent-color);
  padding-bottom: 10px;
}

.stockpile-calculator-page .tab-content h4 i {
  color: var(--primary-color);
}

.stockpile-calculator-page .results-table-container {
  overflow-x: auto;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.stockpile-calculator-page .results-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: 15px;
  overflow: hidden;
}

.stockpile-calculator-page .results-table th {
  background: linear-gradient(135deg, var(--primary-color), #c0392b);
  color: white;
  padding: 20px 15px;
  text-align: left;
  font-weight: 600;
  font-size: 1rem;
}

.stockpile-calculator-page .results-table td {
  padding: 18px 15px;
  border-bottom: 1px solid #eee;
  color: #555;
  line-height: 1.5;
}

.stockpile-calculator-page .results-table tr:nth-child(even) {
  background: #f8f9fa;
}

.stockpile-calculator-page .results-table tr:hover {
  background: rgba(231, 76, 60, 0.05);
}

/* 結果アクションボタン */
.stockpile-calculator-page .results-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.stockpile-calculator-page .results-actions .btn {
  padding: 15px 25px;
  font-weight: 600;
  border-radius: 10px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  cursor: pointer;
}

.stockpile-calculator-page .results-actions .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  text-decoration: none;
}

/* Primary Button */
.stockpile-calculator-page .results-actions .primary-btn {
  background: var(--primary-color);
  color: white;
  border: 2px solid var(--primary-color);
}

.stockpile-calculator-page .results-actions .primary-btn:hover {
  background: #c0392b;
  border-color: #c0392b;
  color: white;
}

/* Secondary Button */
.stockpile-calculator-page .results-actions .secondary-btn {
  background: #6c757d;
  color: white;
  border: 2px solid #6c757d;
}

.stockpile-calculator-page .results-actions .secondary-btn:hover {
  background: #5a6268;
  border-color: #5a6268;
  color: white;
}

/* Outline Button */
.stockpile-calculator-page .results-actions .outline-btn {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.stockpile-calculator-page .results-actions .outline-btn:hover {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

/* 計算機ヒントセクション */
.stockpile-calculator-page .calculator-tips {
  padding: 80px 0;
  background: white;
}

.stockpile-calculator-page .calculator-tips h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 60px;
  color: var(--secondary-color);
}

.stockpile-calculator-page .tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.stockpile-calculator-page .tip-card {
  background: white;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: all 0.3s ease;
  border-top: 4px solid var(--primary-color);
}

.stockpile-calculator-page .tip-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.stockpile-calculator-page .tip-card i {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 20px;
  display: block;
}

.stockpile-calculator-page .tip-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--secondary-color);
}

.stockpile-calculator-page .tip-card p {
  color: #666;
  line-height: 1.6;
}

/* 商品推薦セクション */
.stockpile-calculator-page .product-recommendations {
  padding: 80px 0;
  background: #f8f9fa;
}

.stockpile-calculator-page .product-recommendations h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--secondary-color);
}

.stockpile-calculator-page .product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.stockpile-calculator-page .product-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
}

.stockpile-calculator-page .product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.stockpile-calculator-page .product-card.featured {
  border: 3px solid var(--accent-color);
}

.stockpile-calculator-page .product-card.featured::before {
  content: 'おすすめ';
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--accent-color);
  color: white;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  z-index: 2;
}

.stockpile-calculator-page .product-image {
  position: relative;
  height: 200px;
}

.stockpile-calculator-page .product-image .product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stockpile-calculator-page .rating {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(255, 255, 255, 0.9);
  padding: 5px 10px;
  border-radius: 15px;
  font-weight: 600;
  color: #f39c12;
  font-size: 0.9rem;
}

.stockpile-calculator-page .product-info {
  padding: 25px;
}

.stockpile-calculator-page .product-info h4 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--secondary-color);
  line-height: 1.3;
}

.stockpile-calculator-page .product-info p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 20px;
}

.stockpile-calculator-page .product-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 25px;
}

.stockpile-calculator-page .product-features span {
  font-size: 0.9rem;
  color: var(--success-color);
  display: flex;
  align-items: center;
  gap: 8px;
}

.stockpile-calculator-page .product-features i {
  color: var(--success-color);
}

.stockpile-calculator-page .price-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.stockpile-calculator-page .price {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-color);
}

/* CTAセクション */
.stockpile-calculator-page .cta-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--primary-color), #c0392b);
  color: white;
  text-align: center;
}

.stockpile-calculator-page .cta-content h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: white;
}

.stockpile-calculator-page .cta-content p {
  font-size: 1.2rem;
  margin-bottom: 40px;
  opacity: 0.9;
}

.stockpile-calculator-page .cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.stockpile-calculator-page .cta-buttons .btn {
  padding: 15px 30px;
  font-size: 1.1rem;
  border-radius: 25px;
  transition: all 0.3s ease;
  text-decoration: none;
  cursor: pointer;
  font-weight: 600;
}

.stockpile-calculator-page .cta-buttons .primary-btn {
  background: white;
  color: var(--primary-color);
  border: 2px solid white;
}

.stockpile-calculator-page .cta-buttons .primary-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  text-decoration: none;
  color: var(--primary-color);
}

.stockpile-calculator-page .cta-buttons .secondary-btn {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.stockpile-calculator-page .cta-buttons .secondary-btn:hover {
  background: white;
  color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  text-decoration: none;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .stockpile-calculator-page .intro-section,
  .stockpile-calculator-page .calculator-section,
  .stockpile-calculator-page .calculator-tips,
  .stockpile-calculator-page .product-recommendations,
  .stockpile-calculator-page .cta-section {
    padding: 60px 0;
  }

  .stockpile-calculator-page .calculator-form {
    padding: 25px;
  }

  .stockpile-calculator-page .family-grid,
  .stockpile-calculator-page .options-grid,
  .stockpile-calculator-page .checkbox-grid,
  .stockpile-calculator-page .tips-grid,
  .stockpile-calculator-page .product-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .stockpile-calculator-page .results-tabs {
    grid-template-columns: 1fr;
  }

  .stockpile-calculator-page .results-summary {
    grid-template-columns: 1fr;
  }

  .stockpile-calculator-page .pet-grid {
    grid-template-columns: 1fr;
  }

  .stockpile-calculator-page .results-actions {
    flex-direction: column;
    align-items: center;
  }

  .stockpile-calculator-page .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .stockpile-calculator-page .intro-section h2,
  .stockpile-calculator-page .calculator-tips h2,
  .stockpile-calculator-page .product-recommendations h2,
  .stockpile-calculator-page .cta-content h2 {
    font-size: 2rem;
  }

  .stockpile-calculator-page .calculator-form h3,
  .stockpile-calculator-page .results-header h3 {
    font-size: 1.5rem;
  }

  .stockpile-calculator-page .family-section,
  .stockpile-calculator-page .pets-section,
  .stockpile-calculator-page .additional-options {
    padding: 20px;
  }

  .stockpile-calculator-page .calculator-results {
    padding: 25px;
  }

  .stockpile-calculator-page .results-table th,
  .stockpile-calculator-page .results-table td {
    padding: 12px 8px;
    font-size: 0.9rem;
  }
} 