/* Components CSS - Enhanced UI Elements */

/* ===== HEADER & NAVIGATION ===== */
.site-header {
  background: var(--color-bg);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
  border-bottom: 1px solid rgba(16, 24, 40, 0.08);
  transition: transform var(--transition-slow), box-shadow var(--transition-base);
  transform: translateY(0);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
}

.site-header.header-hidden {
  transform: translateY(-100%);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--gap-base) 0;
  min-height: 70px;
}

.navbar-brand {
  flex-shrink: 0;
}

.brand-link {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--color-text);
  transition: transform var(--transition-fast);
}

.brand-link:hover {
  transform: translateY(-2px);
}

.brand-text {
  font-size: var(--text-2xl);
  font-weight: var(--font-extrabold);
  color: var(--color-primary);
  line-height: 1;
}

.brand-tagline {
  font-size: var(--text-sm);
  color: var(--color-muted);
  font-weight: var(--font-medium);
  margin-top: 2px;
}

.navbar-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--gap-sm);
  width: 40px;
  height: 40px;
  justify-content: center;
  align-items: center;
  z-index: 1001;
}

.navbar-toggle span {
  width: 24px;
  height: 3px;
  background: var(--color-primary);
  border-radius: 2px;
  transition: all var(--transition-base);
  display: block;
}

.navbar-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(7px, 7px);
}

.navbar-toggle.active span:nth-child(2) {
  opacity: 0;
}

.navbar-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

.navbar-menu {
  display: flex;
  align-items: center;
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: var(--gap-lg);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  padding: var(--gap-sm) var(--gap-md);
  color: var(--color-text);
  text-decoration: none;
  font-weight: var(--font-semibold);
  font-size: var(--text-base);
  transition: color var(--transition-fast);
  border-radius: var(--radius-md);
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--color-primary);
  background: var(--color-surface-hover);
}

.nav-link.btn {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  color: var(--color-inverse);
  border: none;
}

.nav-link.btn:hover {
  background: linear-gradient(135deg, var(--color-primary-hover) 0%, var(--color-primary) 100%);
  color: var(--color-inverse);
}

/* Dropdown Menu */
.nav-item.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + var(--gap-sm));
  right: 0;
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  min-width: 220px;
  padding: var(--gap-sm);
  list-style: none;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all var(--transition-base);
  z-index: var(--z-dropdown);
  border: 1px solid rgba(16, 24, 40, 0.1);
}

.nav-item.dropdown:hover .dropdown-menu,
.nav-item.dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-link {
  display: block;
  padding: var(--gap-sm) var(--gap-md);
  color: var(--color-text);
  text-decoration: none;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  font-size: var(--text-base);
}

.dropdown-link:hover,
.dropdown-link.active {
  background: var(--color-primary);
  color: var(--color-inverse);
}

/* Mobile Menu */
@media (max-width: 1023px) {
  .navbar-toggle {
    display: flex;
  }
  
  .navbar-menu {
    position: fixed;
    top: 70px;
    right: 0;
    left: 0;
    background: var(--color-bg);
    box-shadow: var(--shadow-xl);
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-slow);
    border-top: 1px solid rgba(16, 24, 40, 0.08);
  }
  
  .navbar-menu.active {
    max-height: 500px;
    overflow-y: auto;
  }
  
  .navbar-nav {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: var(--gap-base);
  }
  
  .nav-item {
    border-bottom: 1px solid rgba(16, 24, 40, 0.08);
  }
  
  .nav-item:last-child {
    border-bottom: none;
  }
  
  .nav-link {
    padding: var(--gap-base) var(--gap-md);
    width: 100%;
    justify-content: flex-start;
  }
  
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: var(--color-surface);
    margin: var(--gap-xs) 0;
    padding: var(--gap-xs);
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-base);
  }
  
  .nav-item.dropdown.active .dropdown-menu {
    max-height: 300px;
  }
  
  .dropdown-link {
    padding: var(--gap-sm) var(--gap-lg);
  }
}

/* ===== BUTTONS (Enhanced with micro-interactions) ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--gap-sm);
  padding: var(--gap-md) var(--gap-lg);
  font-size: var(--text-base);
  font-weight: var(--font-semibold);
  line-height: var(--leading-tight);
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

/* Ripple Effect */
.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s, opacity 0.6s;
  opacity: 0;
  pointer-events: none;
}

.btn:active::before {
  width: 300px;
  height: 300px;
  opacity: 1;
  transition: width 0s, height 0s, opacity 0.3s;
}

/* Ripple for outline buttons */
.btn-outline::before {
  background: rgba(0, 82, 149, 0.2);
}

/* Ripple for ghost buttons */
.btn-ghost::before {
  background: rgba(0, 82, 149, 0.1);
}

/* Primary Button */
.btn-primary {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  color: var(--color-inverse);
  box-shadow: var(--shadow-sm);
  border-color: var(--color-primary);
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: var(--shadow-md);
  background: linear-gradient(135deg, var(--color-primary-hover) 0%, var(--color-primary) 100%);
}

.btn-primary:active {
  transform: translateY(0) scale(1);
  box-shadow: var(--shadow-xs);
}

.btn-primary:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* Secondary Button */
.btn-secondary {
  background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-secondary-hover) 100%);
  color: var(--color-inverse);
  box-shadow: var(--shadow-sm);
  border-color: var(--color-secondary);
}

.btn-secondary:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: var(--shadow-md);
  opacity: 0.9;
}

.btn-secondary:active {
  transform: translateY(0) scale(1);
  box-shadow: var(--shadow-xs);
}

/* Outline Button */
.btn-outline {
  background: transparent;
  border-color: var(--color-primary);
  color: var(--color-primary);
  box-shadow: none;
}

.btn-outline:hover {
  background: var(--color-primary);
  color: var(--color-inverse);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

/* Ghost Button */
.btn-ghost {
  background: transparent;
  border-color: transparent;
  color: var(--color-primary);
  box-shadow: none;
}

.btn-ghost:hover {
  background: var(--color-surface-hover);
  transform: translateY(-1px);
}

/* Button Sizes */
.btn-sm {
  padding: var(--gap-sm) var(--gap-base);
  font-size: var(--text-sm);
}

.btn-lg {
  padding: var(--gap-base) var(--gap-xl);
  font-size: var(--text-lg);
}

.btn-block {
  width: 100%;
  display: flex;
}

/* Disabled State */
.btn:disabled,
.btn.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

/* Loading State */
.btn.loading {
  position: relative;
  color: transparent;
  pointer-events: none;
}

.btn.loading::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  top: 50%;
  left: 50%;
  margin-left: -8px;
  margin-top: -8px;
  border: 2px solid var(--color-inverse);
  border-radius: 50%;
  border-top-color: transparent;
  animation: spin 0.6s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ===== CARDS (Enhanced with elevation) ===== */
.card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: all var(--transition-base);
  border: 1px solid rgba(16, 24, 40, 0.05);
}

.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: rgba(16, 24, 40, 0.1);
}

.card-header {
  padding: var(--gap-lg);
  border-bottom: 1px solid rgba(16, 24, 40, 0.08);
}

.card-body {
  padding: var(--gap-lg);
}

.card-footer {
  padding: var(--gap-lg);
  border-top: 1px solid rgba(16, 24, 40, 0.08);
  background: rgba(16, 24, 40, 0.02);
}

.card-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

/* Product Cards */
.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--color-bg);
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.product-card .card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: var(--gap-xl);
}

.product-price {
  font-size: var(--text-3xl);
  font-weight: var(--font-extrabold);
  color: var(--color-primary);
  margin: var(--gap-base) 0;
}

.product-features {
  list-style: none;
  margin: var(--gap-lg) 0;
  display: flex;
  flex-direction: column;
  gap: var(--gap-sm);
}

.product-features li {
  padding: var(--gap-sm) 0;
  color: var(--color-text-secondary);
  display: flex;
  align-items: flex-start;
  gap: var(--gap-sm);
  font-size: var(--text-base);
}

.product-features li::before {
  content: "✓";
  color: var(--color-success);
  font-weight: var(--font-bold);
  font-size: var(--text-xl);
  flex-shrink: 0;
}

/* ===== GRIDS ===== */
.grid {
  display: grid;
  gap: var(--space-lg);
}

.grid-cols-1 {
  grid-template-columns: repeat(1, 1fr);
}

@media (min-width: 640px) {
  .grid-cols-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid-cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Benefits Grid */
.benefit-item {
  text-align: center;
  padding: var(--space-lg);
}

.benefit-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-md);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
  border-radius: var(--radius-xl);
  font-size: var(--text-3xl);
  color: var(--text-inverse);
}

.benefit-title {
  font-size: var(--text-xl);
  font-weight: var(--font-bold);
  color: var(--text-primary);
  margin-bottom: var(--space-xs);
}

.benefit-description {
  font-size: var(--text-base);
  color: var(--text-secondary);
}

/* ===== FORMS ===== */
.form-group {
  margin-bottom: var(--space-lg);
}

/* Form Progress Indicator */
.form-progress-container {
  margin-bottom: var(--space-lg);
  display: none;
}

.form-progress-container.active {
  display: block;
}

.form-progress-bar-wrapper {
  width: 100%;
  height: 4px;
  background: var(--neutral-200);
  border-radius: var(--radius-full);
  overflow: hidden;
  position: relative;
}

.form-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  width: 0%;
  transition: width 0.3s ease;
  border-radius: var(--radius-full);
  position: relative;
}

.form-progress-bar::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  animation: shimmer-progress 2s infinite;
}

@keyframes shimmer-progress {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

.form-progress-text {
  font-size: var(--text-sm);
  color: var(--color-muted);
  margin-top: var(--space-xs);
  text-align: right;
}

.form-label {
  display: block;
  font-size: var(--text-base);
  font-weight: var(--font-semibold);
  color: var(--text-primary);
  margin-bottom: var(--space-xs);
  text-align: right;
}

.form-input,
.form-select {
  width: 100%;
  padding: var(--space-sm) var(--space-md);
  font-size: var(--text-base);
  border: 2px solid var(--neutral-300);
  border-radius: var(--radius-md);
  background: var(--neutral-white);
  transition: all var(--transition-fast);
  text-align: right;
  direction: rtl;
}

.form-input:focus,
.form-select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 82, 149, 0.1);
}

.form-input::placeholder {
  color: var(--neutral-400);
}

.form-error {
  display: none;
  color: var(--error);
  font-size: var(--text-sm);
  margin-top: var(--space-xs);
  text-align: right;
  padding: var(--space-xs) var(--space-sm);
  background: var(--color-error-light);
  border-radius: var(--radius-sm);
  border-right: 3px solid var(--error);
  animation: slideInError 0.3s ease-out;
  line-height: var(--leading-normal);
}

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

.form-group.error .form-error {
  display: block;
}

.form-group.error .form-input,
.form-group.error .form-select {
  border-color: var(--error);
  background-color: #fff5f5;
  animation: shakeError 0.4s ease-out;
}

@keyframes shakeError {
  0%, 100% {
    transform: translateX(0);
  }
  10%, 30%, 50%, 70%, 90% {
    transform: translateX(-5px);
  }
  20%, 40%, 60%, 80% {
    transform: translateX(5px);
  }
}

/* Success state for valid fields */
.form-group.valid .form-input,
.form-group.valid .form-select {
  border-color: var(--color-success);
  background-color: #f0fdf4;
}

.form-group.valid .form-input:focus,
.form-group.valid .form-select:focus {
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

/* Honeypot - Hidden */
.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

/* ===== SECTIONS ===== */
.section-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.section-title {
  font-size: var(--text-4xl);
  font-weight: var(--font-extrabold);
  color: var(--text-primary);
  margin-bottom: var(--space-md);
}

.section-subtitle {
  font-size: var(--text-xl);
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto;
}

/* ===== FAQ ACCORDION ===== */
.faq-item {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: var(--space-lg);
  text-align: right;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--text-lg);
  font-weight: var(--font-semibold);
  color: var(--text-primary);
  cursor: pointer;
  transition: background var(--transition-fast);
}

.faq-question:hover {
  background: var(--neutral-50);
}

.faq-icon {
  transition: transform var(--transition-base);
  font-size: var(--text-2xl);
  color: var(--primary);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow);
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-answer-content {
  padding: 0 var(--space-lg) var(--space-lg);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
}

/* ===== TESTIMONIALS ===== */
.testimonial-card {
  background: var(--bg-card);
  padding: var(--space-lg);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  text-align: center;
}

.testimonial-photo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto var(--space-md);
  object-fit: cover;
  border: 3px solid var(--primary-light);
}

/* Testimonial Icon (Emoji Avatar) */
.testimonial-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto var(--space-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
  border: 3px solid var(--primary-light);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-base);
}

.testimonial-card:hover .testimonial-icon {
  transform: scale(1.1);
  box-shadow: var(--shadow-md);
}

.testimonial-text {
  font-size: var(--text-base);
  color: var(--text-secondary);
  font-style: italic;
  margin-bottom: var(--space-md);
  line-height: var(--leading-relaxed);
}

.testimonial-author {
  font-size: var(--text-lg);
  font-weight: var(--font-bold);
  color: var(--text-primary);
}

/* ===== STICKY FAB ===== */
.whatsapp-fab {
  position: fixed;
  bottom: var(--space-lg);
  left: var(--space-lg);
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-xl);
  cursor: pointer;
  z-index: 1000;
  transition: all var(--transition-base);
}

.whatsapp-fab:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
}

.whatsapp-fab svg {
  width: 36px;
  height: 36px;
  fill: white;
}

/* RTL Adjustment for FAB (right side for RTL) */
@media (min-width: 640px) {
  .whatsapp-fab {
    left: auto;
    right: var(--space-lg);
  }
}

/* ===== PRODUCT SWITCHER (Enhanced) ===== */
.product-switcher-section {
  background: var(--color-surface);
  padding: var(--gap-3xl) 0;
}

/* Tabs with bottom indicator */
.product-tabs {
  display: flex;
  justify-content: center;
  gap: var(--gap-base);
  margin-bottom: var(--gap-2xl);
  flex-wrap: wrap;
  border-bottom: 2px solid rgba(16, 24, 40, 0.1);
}

.product-tab {
  padding: var(--gap-base) var(--gap-lg);
  background: transparent;
  border: none;
  border-bottom: 4px solid transparent;
  font-size: var(--text-lg);
  font-weight: var(--font-semibold);
  color: var(--color-muted);
  cursor: pointer;
  transition: all var(--transition-base);
  position: relative;
  margin-bottom: -2px;
}

.product-tab:hover {
  color: var(--color-primary);
  background: var(--color-surface-hover);
}

.product-tab:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

.product-tab.active {
  color: var(--color-primary);
  border-bottom-color: var(--color-primary);
  font-weight: var(--font-bold);
}

/* Tab Panel */
#product-content {
  min-height: 400px;
  position: relative;
}

/* Fade in animation for panel */
.product-display {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gap-2xl);
  align-items: start;
  animation: fadeIn var(--transition-base) ease-out;
}

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

@media (min-width: 768px) {
  .product-display {
    grid-template-columns: 1fr 1fr;
    gap: var(--gap-3xl);
  }
}

/* Product Image */
.product-image-wrapper {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  position: relative;
}

.product-main-image {
  width: 100%;
  height: auto;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-base);
}

.product-image-wrapper:hover .product-main-image {
  transform: scale(1.02);
  box-shadow: var(--shadow-lg);
}

/* Product Details */
.product-details {
  display: flex;
  flex-direction: column;
  gap: var(--gap-lg);
}

.product-name {
  font-size: var(--text-4xl);
  font-weight: var(--font-extrabold);
  color: var(--color-primary);
  margin-bottom: var(--gap-sm);
  line-height: var(--leading-tight);
}

.product-description {
  font-size: var(--text-lg);
  color: var(--color-text-secondary);
  line-height: var(--leading-relaxed);
}

.product-info-section {
  margin-top: var(--gap-base);
}

.product-info-section h3 {
  font-size: var(--text-xl);
  font-weight: var(--font-bold);
  color: var(--color-text);
  margin-bottom: var(--gap-md);
}

/* Product Lists */
.product-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--gap-sm);
}

.product-list li {
  padding: var(--gap-xs) 0;
  padding-right: var(--gap-lg);
  color: var(--color-text-secondary);
  font-size: var(--text-base);
  position: relative;
  line-height: var(--leading-normal);
}

.product-list li::before {
  content: "✓";
  position: absolute;
  right: 0;
  color: var(--color-success);
  font-weight: var(--font-bold);
  font-size: var(--text-lg);
}

.product-list.treats-list li::before {
  content: "●";
  color: var(--color-secondary);
}

/* Price Section */
.product-price-section {
  display: flex;
  align-items: center;
  gap: var(--gap-lg);
  margin-top: var(--gap-xl);
  padding-top: var(--gap-lg);
  border-top: 1px solid rgba(16, 24, 40, 0.1);
  flex-wrap: wrap;
}

.product-price {
  font-size: var(--text-4xl);
  font-weight: var(--font-extrabold);
  color: var(--color-primary);
}

/* Skeleton Loading State */
.product-skeleton {
  animation: pulse 1.5s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.product-skeleton .product-main-image,
.product-skeleton .product-name,
.product-skeleton .product-description {
  background: linear-gradient(
    90deg,
    rgba(16, 24, 40, 0.05) 25%,
    rgba(16, 24, 40, 0.1) 50%,
    rgba(16, 24, 40, 0.05) 75%
  );
  background-size: 200% 100%;
  animation: shimmer 1.5s ease-in-out infinite;
  border-radius: var(--radius-md);
}

@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

/* ===== MODAL (Enhanced with A11y) ===== */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(2px);
  z-index: var(--z-modal);
  align-items: center;
  justify-content: center;
  padding: var(--gap-base);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.modal.active {
  display: flex;
  opacity: 1;
}

.modal-content {
  background: var(--color-bg);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-2xl);
  transform: scale(0.95) translateY(20px);
  transition: transform var(--transition-base);
  border: 1px solid rgba(16, 24, 40, 0.1);
}

.modal.active .modal-content {
  transform: scale(1) translateY(0);
}

.modal-header {
  padding: var(--gap-lg) var(--gap-xl);
  border-bottom: 1px solid rgba(16, 24, 40, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  background: var(--color-bg);
  z-index: 10;
}

.modal-title {
  font-size: var(--text-2xl);
  font-weight: var(--font-bold);
  color: var(--color-primary);
  margin: 0;
}

.modal-close {
  background: none;
  border: none;
  font-size: var(--text-3xl);
  line-height: 1;
  color: var(--color-muted);
  cursor: pointer;
  padding: var(--gap-sm);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.modal-close:hover {
  background: var(--color-surface-hover);
  color: var(--color-text);
}

.modal-close:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.modal-body {
  padding: var(--gap-xl);
}

.modal-form-group {
  margin-bottom: var(--gap-lg);
}

.modal-error {
  display: none;
  background: var(--color-error-light);
  color: var(--color-error);
  padding: var(--gap-base) var(--gap-lg);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-error);
  margin-bottom: var(--gap-lg);
  text-align: center;
  font-weight: var(--font-medium);
  font-size: var(--text-sm);
}

/* ===== SUCCESS TOAST (Enhanced with ARIA) ===== */
.success-toast {
  position: fixed;
  top: var(--gap-xl);
  left: 50%;
  transform: translateX(-50%) translateY(-100px);
  background: linear-gradient(135deg, var(--color-success) 0%, #0d9488 100%);
  color: var(--color-inverse);
  padding: var(--gap-base) var(--gap-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-2xl);
  display: flex;
  align-items: center;
  gap: var(--gap-base);
  z-index: var(--z-toast);
  min-width: 320px;
  max-width: 90vw;
  opacity: 0;
  transition: all var(--transition-base);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.success-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.toast-icon {
  font-size: var(--text-2xl);
  flex-shrink: 0;
}

.toast-message {
  font-size: var(--text-base);
  font-weight: var(--font-medium);
  line-height: var(--leading-normal);
  text-align: right;
  flex: 1;
}

/* Responsive toast position */
@media (max-width: 767px) {
  .success-toast {
    left: var(--gap-base);
    right: var(--gap-base);
    transform: translateX(0) translateY(-100px);
    min-width: auto;
  }
  
  .success-toast.show {
    transform: translateX(0) translateY(0);
  }
}

@media (min-width: 1024px) {
  .success-toast {
    left: auto;
    right: var(--gap-xl);
    transform: translateX(100px);
    top: var(--gap-xl);
  }
  
  .success-toast.show {
    transform: translateX(0);
  }
}

/* Skeleton Loading for Images */
.skeleton {
  background: linear-gradient(
    90deg,
    #f0f0f0 0px,
    #f8f8f8 40px,
    #f0f0f0 80px
  );
  background-size: 200px 100%;
  animation: skeleton-loading 1.5s infinite;
  border-radius: var(--radius-md);
  position: relative;
  overflow: hidden;
}

@keyframes skeleton-loading {
  0% {
    background-position: -200px 0;
  }
  100% {
    background-position: calc(200px + 100%) 0;
  }
}

img.skeleton {
  min-height: 200px;
  width: 100%;
  display: block;
  object-fit: cover;
  background-color: #f0f0f0;
}

/* Skeleton for product images */
.product-image-wrapper img.skeleton,
.card-image.skeleton,
.product-main-image.skeleton {
  aspect-ratio: 1 / 1;
  min-height: 300px;
}

/* Skeleton for testimonial images */
.testimonial-photo.skeleton {
  min-height: 80px;
  width: 80px;
  border-radius: 50%;
}

/* Smooth transition when image loads */
img {
  transition: opacity 0.3s ease-in-out;
}

img.skeleton {
  opacity: 0.7;
}

img:not(.skeleton) {
  opacity: 1;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 100px;
  left: var(--gap-lg);
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  color: var(--color-inverse);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-xl);
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition-base);
  z-index: var(--z-sticky);
  font-size: var(--text-xl);
  font-weight: var(--font-bold);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 12px 24px rgba(0, 82, 149, 0.4);
  background: linear-gradient(135deg, var(--color-primary-hover) 0%, var(--color-primary) 100%);
}

.back-to-top:active {
  transform: translateY(-2px) scale(1);
}

.back-to-top:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* RTL Adjustment for Back to Top */
@media (min-width: 640px) {
  .back-to-top {
    left: auto;
    right: var(--gap-lg);
  }
}

/* Enhanced Tooltips */
[data-tooltip] {
  position: relative;
  cursor: help;
}

[data-tooltip]:hover::after,
[data-tooltip]:focus::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 8px);
  right: 50%;
  transform: translateX(50%);
  padding: var(--gap-sm) var(--gap-md);
  background: var(--neutral-800);
  color: var(--color-inverse);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  white-space: nowrap;
  z-index: var(--z-tooltip);
  box-shadow: var(--shadow-lg);
  pointer-events: none;
  animation: tooltip-fade-in 0.2s ease-out;
  max-width: 250px;
  white-space: normal;
  text-align: right;
  line-height: var(--leading-normal);
}

[data-tooltip]:hover::before,
[data-tooltip]:focus::before {
  content: '';
  position: absolute;
  bottom: calc(100% + 2px);
  right: 50%;
  transform: translateX(50%);
  border: 6px solid transparent;
  border-top-color: var(--neutral-800);
  z-index: var(--z-tooltip);
  pointer-events: none;
  animation: tooltip-fade-in 0.2s ease-out;
}

@keyframes tooltip-fade-in {
  from {
    opacity: 0;
    transform: translateX(50%) translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateX(50%) translateY(0);
  }
}

/* Tooltip positioning variants */
[data-tooltip-position="left"]:hover::after,
[data-tooltip-position="left"]:focus::after {
  right: auto;
  left: 0;
  transform: none;
}

[data-tooltip-position="right"]:hover::after,
[data-tooltip-position="right"]:focus::after {
  right: 0;
  left: auto;
  transform: none;
}

[data-tooltip-position="bottom"]:hover::after,
[data-tooltip-position="bottom"]:focus::after {
  bottom: auto;
  top: calc(100% + 8px);
  transform: translateX(50%);
}

[data-tooltip-position="bottom"]:hover::before,
[data-tooltip-position="bottom"]:focus::before {
  bottom: auto;
  top: calc(100% - 4px);
  border-top-color: transparent;
  border-bottom-color: var(--neutral-800);
}

/* Breadcrumbs */
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: var(--gap-sm);
  font-size: var(--text-sm);
  color: var(--color-muted);
  margin-bottom: var(--gap-lg);
  flex-wrap: wrap;
}

.breadcrumbs a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
  display: flex;
  align-items: center;
  gap: var(--gap-xs);
}

.breadcrumbs a:hover {
  color: var(--color-primary-hover);
  text-decoration: underline;
}

.breadcrumbs a:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

.breadcrumbs span {
  color: var(--color-muted);
  display: flex;
  align-items: center;
}

.breadcrumbs span::before {
  content: '›';
  margin: 0 var(--gap-sm);
  color: var(--color-muted);
  font-size: var(--text-lg);
}

.breadcrumbs .breadcrumb-current {
  color: var(--color-text);
  font-weight: var(--font-semibold);
}

/* Accessibility: Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .modal-content,
  .success-toast,
  .product-display,
  .btn,
  .card,
  .form-error,
  .form-group.error .form-input,
  .form-group.error .form-select,
  .btn::before {
    transition: none;
    animation: none;
  }
  
  .product-skeleton .product-main-image,
  .product-skeleton .product-name,
  .product-skeleton .product-description,
  .skeleton,
  .form-progress-bar::after {
    animation: none;
  }
  
  .back-to-top:hover,
  [data-tooltip]:hover::after,
  [data-tooltip]:focus::after {
    transform: translateX(50%);
    animation: none;
  }
}

/* ===== PRODUCT PAGE STYLES ===== */

/* Product Hero Section */
.product-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gap-2xl);
  align-items: center;
}

@media (min-width: 768px) {
  .product-hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--gap-3xl);
  }
}

.product-hero-image {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

.product-hero-image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

.product-hero-content {
  text-align: center;
}

@media (min-width: 768px) {
  .product-hero-content {
    text-align: right;
  }
}

.product-hero-title {
  font-size: var(--text-4xl);
  font-weight: var(--font-extrabold);
  color: var(--color-primary);
  margin-bottom: var(--gap-md);
  line-height: var(--leading-tight);
}

@media (min-width: 768px) {
  .product-hero-title {
    font-size: var(--text-5xl);
  }
}

.product-hero-description {
  font-size: var(--text-lg);
  color: var(--color-text-secondary);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--gap-lg);
}

@media (min-width: 768px) {
  .product-hero-description {
    font-size: var(--text-xl);
  }
}

.product-hero-price {
  font-size: var(--text-4xl);
  font-weight: var(--font-extrabold);
  color: var(--color-primary);
  margin: var(--gap-lg) 0;
}

/* Product Section Content */
.product-section-content {
  max-width: 800px;
  margin: 0 auto;
}

.product-section-content p {
  font-size: var(--text-lg);
  line-height: var(--leading-relaxed);
  color: var(--color-text-secondary);
  text-align: center;
}

/* Product Lists (Ingredients, Treats) */
.product-list-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gap-md);
  list-style: none;
  padding: 0;
  max-width: 800px;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .product-list-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.product-list-item {
  display: flex;
  align-items: center;
  gap: var(--gap-md);
  padding: var(--gap-md);
  background: var(--color-bg);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

.product-list-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.product-list-icon {
  font-size: var(--text-2xl);
  color: var(--color-success);
  font-weight: var(--font-bold);
  flex-shrink: 0;
}

.product-list-icon.treats-icon {
  color: var(--color-secondary);
}

.product-list-text {
  font-size: var(--text-base);
  color: var(--color-text);
  line-height: var(--leading-normal);
}

/* Product Steps (How To Use) */
.product-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gap-lg);
  max-width: 900px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .product-steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

.product-step {
  text-align: center;
  padding: var(--gap-xl);
  background: var(--color-bg);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

.product-step:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.product-step-number {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--gap-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-primary) 100%);
  border-radius: 50%;
  font-size: var(--text-4xl);
  font-weight: var(--font-extrabold);
  color: var(--color-inverse);
  box-shadow: var(--shadow-md);
}

.product-step-text {
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  line-height: var(--leading-relaxed);
}

/* FAQ Container for Product Pages */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

/* Related Products */
.product-related-card {
  display: block;
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  text-decoration: none;
  color: inherit;
}

.product-related-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-6px);
}

.product-related-card img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.product-related-content {
  padding: var(--gap-lg);
}

.product-related-title {
  font-size: var(--text-xl);
  font-weight: var(--font-bold);
  color: var(--color-primary);
  margin-bottom: var(--gap-sm);
}

.product-related-description {
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  line-height: var(--leading-normal);
  margin-bottom: var(--gap-md);
}

.product-related-cta {
  text-align: center;
}

/* Home Page Product Cards */
.product-home-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-home-card .card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: var(--gap-xl);
}

.product-home-title {
  font-size: var(--text-2xl);
  font-weight: var(--font-bold);
  color: var(--color-primary);
  margin-bottom: var(--gap-md);
  text-align: center;
}

.product-home-description {
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--gap-lg);
  flex: 1;
  text-align: center;
}

/* Mobile Touch Targets Enhancement */
@media (max-width: 767px) {
  /* Larger touch targets for mobile */
  .btn {
    min-height: 48px;
    min-width: 48px;
    padding: 14px 20px;
    font-size: var(--text-base);
  }
  
  .btn-lg {
    min-height: 52px;
    padding: 16px 24px;
    font-size: var(--text-lg);
  }
  
  .faq-question {
    min-height: 48px;
    padding: 16px var(--space-lg);
  }
  
  .product-tab {
    min-height: 48px;
    padding: 14px var(--gap-lg);
  }
  
  /* Larger form inputs to prevent zoom on iOS */
  .form-input,
  .form-select {
    font-size: 16px;
    padding: 14px 16px;
    min-height: 48px;
  }
  
  /* Better spacing for mobile */
  .form-group {
    margin-bottom: var(--space-xl);
  }
  
  .form-error {
    font-size: var(--text-sm);
    padding: var(--space-sm);
    margin-top: var(--space-sm);
  }
  
  /* Back to top button positioning for mobile */
  .back-to-top {
    width: 56px;
    height: 56px;
    bottom: 80px;
    right: var(--gap-base);
    left: auto;
    font-size: var(--text-2xl);
  }
  
  .product-hero-title {
    font-size: var(--text-3xl);
  }
  
  .product-hero-price {
    font-size: var(--text-3xl);
  }
  
  .product-step-number {
    width: 60px;
    height: 60px;
    font-size: var(--text-3xl);
  }
}

/* Neutral colors for footer (ensure compatibility) */
:root {
  --neutral-50: #fafafa;
  --neutral-300: #d1d5db;
  --neutral-400: #9ca3af;
  --neutral-700: #374151;
  --neutral-800: #1f2937;
  --text-inverse: #ffffff;
  --bg-card: #ffffff;
  --bg-section: #f7f9fc;
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 0.75rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --text-primary: var(--color-text);
  --text-secondary: var(--color-text-secondary);
  --primary: var(--color-primary);
  --primary-light: var(--color-primary-light);
  --secondary: var(--color-secondary);
  --error: var(--color-error);
  --leading-relaxed: 1.625;
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 200ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== ENHANCED UI COMPONENTS (Ingredients, Offers, Discounts) ===== */

/* Active Ingredients Chips */
.ingredients {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-block: 12px 16px;
}

.ing-chip {
  direction: ltr;
  padding: 8px 12px;
  border-radius: 999px;
  background: #f1f5f9;
  color: #0f172a;
  font-weight: 600;
  font-size: 14px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s, background 0.2s;
  cursor: help;
}

.ing-chip:hover {
  transform: translateY(-2px);
  background: #e2e8f0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.ing-note {
  color: #475569;
  font-size: 14px;
  margin-top: 6px;
  line-height: 1.6;
  font-style: italic;
}

/* Treats Grid */
.treats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 8px;
  list-style: none;
  padding: 0;
}

.treats li {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 10px 12px;
  text-align: center;
  font-weight: 600;
  color: #0f172a;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  transition: all 0.2s;
}

.treats li:hover {
  border-color: #005295;
  box-shadow: 0 2px 6px rgba(0, 82, 149, 0.15);
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  .treats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .ing-chip {
    font-size: 13px;
    padding: 6px 10px;
  }
}

/* Offer Ribbon */
.offer-ribbon {
  background: linear-gradient(90deg, #aa0e0e, #c71f1f);
  color: #fff;
  padding: 8px 14px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 15px;
  box-shadow: 0 6px 14px rgba(170, 14, 14, 0.2);
  margin-block: 10px;
  animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 6px 14px rgba(170, 14, 14, 0.2);
  }
  50% {
    box-shadow: 0 6px 20px rgba(170, 14, 14, 0.35);
  }
}

/* Free Shipping Section */
.free-ship {
  background: #ecfdf5;
  color: #047857;
  font-weight: 700;
  border-radius: 12px;
  padding: 8px 12px;
  margin-top: 10px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  animation: pulse-shipping 2s infinite;
  font-size: 14px;
  border: 1px solid #d1fae5;
}

@keyframes pulse-shipping {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

/* Package Info */
.pack-info {
  color: #334155;
  font-weight: 600;
  margin-top: 6px;
  font-size: 14px;
  text-align: center;
}

/* Price Box */
.price-box {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 14px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.06);
  margin-top: 8px;
}

.price-old {
  color: #64748b;
  font-size: 14px;
  margin-bottom: 4px;
}

.price-old span {
  text-decoration: line-through;
  font-weight: 700;
  color: #94a3b8;
}

.price-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
  flex-wrap: wrap;
}

.price-new {
  font-size: 28px;
  font-weight: 800;
  color: #005295;
}

.price-new span {
  display: inline-block;
}

.save-badge {
  background: #ecfdf5;
  color: #047857;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 14px;
  border: 1px solid #d1fae5;
}

.price-note {
  color: #475569;
  font-size: 13px;
  margin-top: 6px;
  line-height: 1.5;
}

/* Deal Countdown */
.deal-countdown {
  margin-top: 8px;
  font-weight: 700;
  color: #aa0e0e;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}

#deal-timer {
  font-family: 'Courier New', monospace;
  font-size: 16px;
  font-weight: 800;
  color: #7f1d1d;
  direction: ltr;
  display: inline-block;
}

/* Enhanced Toast Notification */
.toast {
  position: fixed;
  inset-inline-end: 16px;
  bottom: 16px;
  z-index: 9999;
  background: linear-gradient(135deg, #047857 0%, #059669 100%);
  color: #fff;
  padding: 12px 16px;
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.25s, transform 0.25s;
  max-width: 90vw;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  gap: 8px;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.toast::before {
  content: "✅";
  font-size: 18px;
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .toast {
    inset-inline: 16px;
    inset-inline-end: 16px;
    bottom: 16px;
  }
}

/* Accessibility: Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .ing-chip:hover {
    transform: none;
  }
  
  .treats li:hover {
    transform: none;
  }
  
  .offer-ribbon {
    animation: none;
  }
  
  .free-ship {
    animation: none;
  }
  
  .toast {
    transition: opacity 0.15s;
  }
  
  .benefit-item-full:hover {
    transform: none;
  }
}

/* Product Hero Enhanced (for discount integration) */
.product-hero-content .offer-section {
  margin-top: var(--gap-lg);
}

.product-hero-content .btn-primary-discount {
  background: linear-gradient(135deg, #aa0e0e 0%, #c71f1f 100%);
  color: #fff;
  font-size: var(--text-lg);
  padding: var(--gap-base) var(--gap-xl);
  font-weight: var(--font-bold);
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-base);
  box-shadow: 0 4px 12px rgba(170, 14, 14, 0.3);
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.product-hero-content .btn-primary-discount:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(170, 14, 14, 0.4);
}

.product-hero-content .btn-primary-discount:active {
  transform: translateY(0);
}

/* Product Benefits List (Full Width) */
.product-benefits-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--gap-md);
  max-width: 800px;
  margin: 0 auto;
}

.benefit-item-full {
  display: flex;
  align-items: flex-start;
  gap: var(--gap-md);
  padding: var(--gap-md);
  background: var(--color-bg);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  border: 1px solid rgba(0, 82, 149, 0.1);
}

.benefit-item-full:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: rgba(0, 82, 149, 0.3);
}

.benefit-icon-check {
  font-size: var(--text-xl);
  flex-shrink: 0;
  line-height: 1;
}

.benefit-item-full span:last-child {
  font-size: var(--text-base);
  color: var(--color-text);
  line-height: var(--leading-relaxed);
}

@media (max-width: 767px) {
  .price-new {
    font-size: 24px;
  }
  
  .offer-ribbon {
    font-size: 14px;
    padding: 6px 12px;
  }
  
  .free-ship {
    font-size: 13px;
    padding: 6px 10px;
  }
  
  .pack-info {
    font-size: 13px;
  }
  
  .benefit-item-full {
    padding: var(--gap-sm);
  }
  
  .benefit-item-full span:last-child {
    font-size: var(--text-sm);
  }
}

