/** Shopify CDN: Minification failed

Line 740:0 Unexpected "}"

**/
/* Pet Food Calculator Styles */
.pet-calculator-wrapper {
  margin: 1.5rem 0;
  padding: 0 1rem;
  animation: fadeInUp 0.8s ease-out;
  opacity: 0;
  animation-fill-mode: forwards;
}

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

.pet-calculator-container {
  max-width: 700px;
  margin: 0 auto;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  border: 1px solid #e5e7eb;
  transition: all 0.3s ease;
}

.pet-calculator-container:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.calculator-header {
  background: linear-gradient(135deg, #ff6b35, #f7931e);
  color: white;
  padding: 1.5rem 1.5rem;
  text-align: center;
  animation: slideInDown 0.5s ease-out;
}

@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.calculator-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0 0 0.3rem 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.calculator-subtitle {
  font-size: 0.9rem;
  margin: 0;
  opacity: 0.9;
}

.calculator-form {
  padding: 1.5rem;
  display: grid;
  gap: 1.2rem;
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  animation: slideInLeft 0.5s ease-out;
  animation-fill-mode: both;
}

.input-group:nth-child(1) { animation-delay: 0.1s; }
.input-group:nth-child(2) { animation-delay: 0.2s; }
.input-group:nth-child(3) { animation-delay: 0.3s; }
.input-group:nth-child(4) { animation-delay: 0.4s; }

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.input-label {
  font-weight: 600;
  color: #374151;
  font-size: 0.85rem;
}

.calculator-input {
  padding: 0.6rem 0.8rem;
  border: 2px solid #e5e7eb;
  border-radius: 6px;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  background: #fff;
}

.calculator-input:focus {
  outline: none;
  border-color: #ff6b35;
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
  transform: translateY(-1px);
  animation: focusPulse 0.3s ease;
}

@keyframes focusPulse {
  0% { transform: scale(1) translateY(0); }
  50% { transform: scale(1.02) translateY(-2px); }
  100% { transform: scale(1) translateY(-1px); }
}

.weight-input-container,
.age-input-container {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.4rem;
}

.unit-selector {
  padding: 0.6rem 0.8rem;
  border: 2px solid #e5e7eb;
  border-radius: 6px;
  background: #f9fafb;
  font-size: 0.8rem;
  min-width: 70px;
  transition: all 0.2s ease;
}

.unit-selector:focus {
  border-color: #ff6b35;
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.calculate-btn {
  background: linear-gradient(135deg, #ff6b35, #f7931e);
  color: white;
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 3px 10px rgba(255, 107, 53, 0.3);
  margin-top: 0.8rem;
  position: relative;
  overflow: hidden;
}

.calculate-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.5s ease;
}

.calculate-btn:hover::before {
  width: 300px;
  height: 300px;
}

.calculate-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

.calculate-btn:active {
  transform: translateY(-1px);
  animation: pulse 0.3s ease;
}

.calculate-btn:disabled {
  cursor: not-allowed;
  animation: loadingPulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
  0% { transform: scale(1) translateY(-1px); }
  50% { transform: scale(0.98) translateY(-1px); }
  100% { transform: scale(1) translateY(-1px); }
}

@keyframes loadingPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

/* Results Section */
.calculator-results {
  background: #f8fafc;
  border-top: 1px solid #e5e7eb;
  padding: 1.5rem;
  animation: slideInUp 0.6s ease;
}

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

.results-header {
  text-align: center;
  margin-bottom: 1.5rem;
  animation: bounceIn 0.8s ease;
}

@keyframes bounceIn {
  0% { opacity: 0; transform: scale(0.3); }
  50% { opacity: 1; transform: scale(1.05); }
  70% { transform: scale(0.9); }
  100% { opacity: 1; transform: scale(1); }
}

.results-header h4 {
  font-size: 1.3rem;
  color: #374151;
  margin: 0;
  font-weight: 700;
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.8rem;
  margin-bottom: 1.5rem;
}

.result-card {
  background: white;
  border-radius: 10px;
  padding: 1.2rem;
  animation: flipInY 0.6s ease;
  animation-fill-mode: both;
  transition: all 0.3s ease;
}

.result-card:nth-child(1) { animation-delay: 0.1s; }
.result-card:nth-child(2) { animation-delay: 0.2s; }
.result-card:nth-child(3) { animation-delay: 0.3s; }
.result-card:nth-child(4) { animation-delay: 0.4s; }

@keyframes flipInY {
  from {
    transform: perspective(400px) rotate3d(0, 1, 0, 90deg);
    animation-timing-function: ease-in;
    opacity: 0;
  }
  40% {
    transform: perspective(400px) rotate3d(0, 1, 0, -20deg);
    animation-timing-function: ease-in;
  }
  60% {
    transform: perspective(400px) rotate3d(0, 1, 0, 10deg);
    opacity: 1;
  }
  80% {
    transform: perspective(400px) rotate3d(0, 1, 0, -5deg);
  }
  to {
    transform: perspective(400px);
    opacity: 1;
  }
}

.result-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.main-result {
  border: 2px solid #ff6b35;
  background: linear-gradient(135deg, #fff5f2, #fef7f0);
  animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
  from { box-shadow: 0 0 5px rgba(255, 107, 53, 0.3); }
  to { box-shadow: 0 0 15px rgba(255, 107, 53, 0.5); }
}

.result-content {
  text-align: center;
}

.result-content h5 {
  font-size: 0.75rem;
  color: #6b7280;
  margin: 0 0 0.6rem 0;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.result-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ff6b35;
  margin-bottom: 0.2rem;
  animation: countUp 0.8s ease-out;
}

@keyframes countUp {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.8);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.result-unit {
  font-size: 0.75rem;
  color: #6b7280;
}

/* Product Recommendation */
.product-recommendation {
  background: white;
  border-radius: 10px;
  padding: 1.2rem;
  margin-bottom: 1.2rem;
  border: 1px solid #e5e7eb;
  animation: slideInRight 0.6s ease;
}

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

.recommendation-header h5 {
  margin: 0 0 0.8rem 0;
  color: #374151;
  font-size: 1.1rem;
  font-weight: 600;
}

.recommendation-content {
  display: grid;
  gap: 0.75rem;
}

.product-calc-result {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid #f3f4f6;
}

.product-calc-result:last-child {
  border-bottom: none;
}

.calc-label {
  color: #6b7280;
  font-size: 0.9rem;
}

.calc-value {
  font-weight: 600;
  color: #ff6b35;
  font-size: 1rem;
}

/* Feeding Tips */
.feeding-tips {
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  border-radius: 12px;
  padding: 1.5rem;
}

.feeding-tips h5 {
  margin: 0 0 1rem 0;
  color: #0c4a6e;
  font-size: 1.1rem;
  font-weight: 600;
}

.tips-content {
  display: grid;
  gap: 0.75rem;
}

.tip-item {
  background: white;
  padding: 1rem;
  border-radius: 8px;
  border-left: 4px solid #38bdf8;
  font-size: 0.9rem;
  line-height: 1.5;
  color: #334155;
}

/* MOBILE-FIRST CALCULATOR OPTIMIZATION */
/* For 95% Mobile Users - Priority Design */

/* Base Mobile Styles (Default) */
.pet-calculator-wrapper {
  margin: 12px 0;
  padding: 0 12px;
}

.pet-calculator-container {
  border-radius: 12px;
  margin: 0 auto;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  max-width: 100%;
}

.calculator-header {
  padding: 20px 16px;
  background: linear-gradient(135deg, #ff6b35, #f7931e);
}

.calculator-title {
  font-size: 1.4rem;
  font-weight: 700;
  text-align: center;
}

.calculator-subtitle {
  font-size: 0.9rem;
  text-align: center;
  margin-top: 8px;
}

.calculator-form {
  padding: 20px 16px;
  gap: 16px;
}

.input-label {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: #374151;
}

.calculator-input,
.unit-selector {
  height: 48px; /* Mobile touch target */
  padding: 12px 16px;
  font-size: 16px; /* Prevents zoom on iOS */
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  background: white;
  width: 100%;
}

.calculator-input:focus,
.unit-selector:focus {
  border-color: #ff6b35;
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.15);
  outline: none;
}

.weight-input-container,
.age-input-container {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 8px;
  align-items: end;
}

.calculate-btn {
  height: 56px; /* Larger touch target */
  width: 100%;
  padding: 16px 24px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 12px;
  background: linear-gradient(135deg, #ff6b35, #f7931e);
  color: white;
  border: none;
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
  margin-top: 16px;
}

.calculate-btn:active {
  transform: scale(0.98);
}

.calculator-results {
  padding: 20px 16px;
  background: #f8fafc;
}

.results-header h4 {
  font-size: 1.3rem;
  text-align: center;
  margin-bottom: 20px;
  color: #374151;
}

.results-grid {
  display: grid;
  grid-template-columns: 1fr 1fr; /* 2 columns on mobile */
  gap: 12px;
  margin-bottom: 20px;
}

.result-card {
  background: white;
  border-radius: 10px;
  padding: 16px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.result-content h5 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #6b7280;
  margin-bottom: 8px;
}

.result-value {
  font-size: 1.4rem;
  font-weight: 700;
  color: #ff6b35;
  margin-bottom: 4px;
}

.result-unit {
  font-size: 0.8rem;
  color: #6b7280;
}

.main-result {
  grid-column: 1 / -1; /* Full width on mobile */
  border: 2px solid #ff6b35;
  background: linear-gradient(135deg, #fff5f2, #fef7f0);
}

.main-result .result-value {
  font-size: 1.8rem;
}

.product-recommendation,
.feeding-tips {
  background: white;
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 16px;
  border: 1px solid #e5e7eb;
}

.recommendation-header h5,
.feeding-tips h5 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 12px;
}

.product-calc-result {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid #f3f4f6;
  font-size: 0.9rem;
}

.calc-label {
  color: #6b7280;
}

.calc-value {
  font-weight: 600;
  color: #ff6b35;
}

.tip-item {
  background: #f8fafc;
  padding: 12px;
  border-radius: 8px;
  border-left: 3px solid #ff6b35;
  margin-bottom: 8px;
  font-size: 0.9rem;
  line-height: 1.4;
}

/* Desktop/Tablet Override (Mobile-First Approach) */
@media (min-width: 769px) {
  .pet-calculator-wrapper {
    margin: 24px auto;
    padding: 0 20px;
    max-width: 700px;
  }
  
  .calculator-header {
    padding: 24px;
  }
  
  .calculator-title {
    font-size: 1.6rem;
  }
  
  .calculator-form {
    padding: 24px;
    gap: 20px;
  }
  
  .results-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }
  
  .main-result {
    grid-column: auto;
  }
  
  .product-recommendation,
  .feeding-tips {
    padding: 20px;
  }
}
  
  .input-group {
    gap: 0.4rem;
  }
  
  .input-label {
    font-size: 0.9rem;
  }
  
  .calculator-input {
    padding: 0.75rem 0.75rem;
    font-size: 0.95rem;
  }
  
  .results-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
  
  .result-card {
    padding: 1rem;
  }
  
  .result-content h5 {
    font-size: 0.8rem;
  }
  
  .result-value {
    font-size: 1.4rem;
  }
  
  .result-unit {
    font-size: 0.75rem;
  }
  
  .weight-input-container,
  .age-input-container {
    grid-template-columns: 2fr 1fr;
    gap: 0.5rem;
  }
  
  .unit-selector {
    min-width: 70px;
    padding: 0.75rem 0.5rem;
    font-size: 0.85rem;
  }
  
  .calculator-results {
    padding: 1.5rem 1rem;
  }
  
  .product-calc-result {
    flex-direction: row;
    justify-content: space-between;
    padding: 0.75rem 0;
  }
  
  .calc-label {
    font-size: 0.85rem;
    flex: 1;
  }
  
  .calc-value {
    font-size: 1rem;
    font-weight: 700;
  }
  
  .calculate-btn {
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
  }
  
  .tip-item {
    padding: 0.875rem;
    font-size: 0.85rem;
  }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
  .pet-calculator-wrapper {
    padding: 0 0.25rem;
  }
  
  .calculator-title {
    font-size: 1.3rem;
  }
  
  .calculator-subtitle {
    font-size: 0.85rem;
  }
  
  .calculator-form {
    padding: 1rem;
  }
  
  .results-grid {
    grid-template-columns: 1fr;
  }
  
  .weight-input-container,
  .age-input-container {
    grid-template-columns: 1fr;
  }
  
  .unit-selector {
    margin-top: 0.5rem;
    min-width: 100px;
  }
  
  .calculator-results {
    padding: 1rem;
  }
  
  .product-calc-result {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
    padding: 0.5rem 0;
  }
  
  .calc-value {
    font-size: 1.1rem;
  }
}

/* Touch devices */
@media (hover: none) {
  .result-card:hover {
    transform: none;
  }
  
  .calculate-btn:hover {
    transform: none;
  }
}

/* High contrast mode */
@media (prefers-contrast: high) {
  .calculator-container {
    border: 2px solid #000;
  }
  
  .calculator-input {
    border-color: #000;
  }
  
  .result-card {
    border: 2px solid #000;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .calculator-results {
    animation: none;
  }
  
  .result-card {
    transition: none;
  }
  
  .calculate-btn {
    transition: none;
  }
}