/* Product Detail Image Enhancements */
/* Product Detail Image Layout - Placeholder Fit */
/* Product Detail Image Layout - Large Fit & Fast Load */
/* Product Detail Image Layout - Fill Space & Modern */

.product-hero {
  align-items: stretch !important;
}
.product-image-col {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 18px;
  min-width: 380px;
  max-width: 700px;
  width: 100%;
  margin: 0 auto;
  height: 100%;
  flex: 1 1 0;
}

.product-image-col {
  flex: 1 1 0;
}

.product-main-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  background: #e0f2f1;
  display: block;
}


.product-main-image {
  width: 100%;
  height: 420px;
  min-height: 420px;
  max-height: 520px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  background: #e0f2f1;
  display: block;
  aspect-ratio: 16/9;
}


.product-thumbnails {
  display: flex;
  gap: 18px;
  justify-content: flex-start;
  margin-top: 10px;
}

.product-thumbnails .thumbnail {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 12px;
  border: 2.5px solid var(--accent);
  background: #e0f2f1;
  box-shadow: 0 2px 8px rgba(0,0,0,0.10);
  transition: border-color 0.2s, box-shadow 0.2s;
  cursor: pointer;
}

.product-thumbnails .thumbnail.active {
  border-color: var(--accent-2);
  box-shadow: 0 4px 16px rgba(106,183,255,0.18);
}
/* Enhanced Styles - Modern E-commerce Design */

/* Cart Modal Styles - Dark Mode Inspired */
.cart-modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.2s ease;
}

.cart-modal.is-open {
  display: flex;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.cart-modal-content {
  background: linear-gradient(135deg, #1a1f2e 0%, #252b3b 100%);
  border-radius: 20px;
  max-width: 600px;
  width: 90%;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.1);
  animation: slideUp 0.3s ease;
}

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

.cart-modal-header {
  padding: 24px 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(180deg, rgba(255,255,255,0.05) 0%, transparent 100%);
}

.cart-modal-header h2 {
  margin: 0;
  font-size: 24px;
  font-weight: 600;
  color: #ffffff;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.cart-modal-close {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 28px;
  color: #e2e8f0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  transition: all 0.2s ease;
}

.btn-checkout:disabled {
  opacity: 0.5;
}

.cart-modal-close:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: rgba(239, 68, 68, 0.4);
  color: #fca5a5;
  transform: rotate(90deg);
}

.cart-modal-body {
  flex: 1;
  overflow-y: auto;
  padding: 24px 32px;
}

.cart-modal-body::-webkit-scrollbar {
  width: 8px;
}

.cart-modal-body::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 10px;
}

.cart-modal-body::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 10px;
}

.cart-modal-body::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* Screen reader only text */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Cart error alert */
.cart-error {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #fca5a5;
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 16px;
  font-size: 14px;
  animation: fadeIn 0.2s ease;
}

/* Cart item image */
.cart-item-image {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
}

.cart-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Enhanced empty state */
.cart-empty {
  text-align: center;
  padding: 48px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.cart-empty-icon {
  color: #475569;
  opacity: 0.6;
  margin-bottom: 8px;
}

.cart-empty-title {
  font-size: 20px;
  font-weight: 600;
  color: #e2e8f0;
  margin: 0;
}

.cart-empty-text {
  font-size: 16px;
  color: #94a3b8;
  margin: 0;
}

.cart-empty-cta {
  margin-top: 8px;
}

.cart-empty p {
  font-size: 18px;
  color: #94a3b8;
  margin-bottom: 24px;
}

.cart-item {
  display: flex;
  gap: 16px;
  padding: 20px;
  margin-bottom: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.cart-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateX(4px);
}

.cart-item:last-child {
  margin-bottom: 0;
}

.cart-item-info {
  flex: 1;
}

.cart-item-info h4 {
  margin: 0 0 8px 0;
  font-size: 17px;
  font-weight: 600;
  color: #f1f5f9;
  letter-spacing: 0.3px;
}

.cart-item-price {
  margin: 0;
  color: #94a3b8;
  font-size: 14px;
  font-weight: 500;
}

.cart-item-controls {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.cart-item-quantity {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(45, 80, 22, 0.3);
  border: 1px solid rgba(139, 195, 74, 0.3);
  border-radius: 10px;
  padding: 6px 12px;
}

.qty-btn-small {
  background: rgba(139, 195, 74, 0.2);
  border: 1px solid rgba(139, 195, 74, 0.3);
  font-size: 18px;
  color: #a5d6a7;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  transition: all 0.2s ease;
  font-weight: 600;
}

.qty-btn-small:hover:not(:disabled) {
  background: rgba(139, 195, 74, 0.4);
  border-color: rgba(139, 195, 74, 0.5);
  color: #c5e1a5;
  transform: scale(1.1);
}

.qty-btn-small:disabled,
.qty-btn-small[aria-disabled="true"] {
  opacity: 0.4;
  pointer-events: none;
}

.cart-item-quantity span {
  min-width: 28px;
  text-align: center;
  font-weight: 700;
  font-size: 15px;
  color: #e8f5e9;
}

.cart-item-subtotal {
  font-size: 19px;
  font-weight: 700;
  color: #8bc34a;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.cart-item-remove {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #fca5a5;
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 6px;
  transition: all 0.2s ease;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cart-item-remove:hover {
  background: rgba(239, 68, 68, 0.3);
  border-color: rgba(239, 68, 68, 0.5);
  color: #fee2e2;
  transform: scale(1.05);
}

.cart-modal-footer {
  padding: 24px 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.2) 100%);
  border-radius: 0 0 20px 20px;
}

.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  font-size: 20px;
  font-weight: 600;
  color: #cbd5e1;
  padding: 16px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.cart-total-amount {
  color: #8bc34a;
  font-size: 28px;
  font-weight: 700;
  text-shadow: 0 2px 8px rgba(139, 195, 74, 0.4);
}

.btn-checkout {
  width: 100%;
  padding: 18px;
  font-size: 17px;
  font-weight: 700;
  transition: all 0.3s ease;
  background: linear-gradient(135deg, #689f38 0%, #8bc34a 100%);
  border: none;
  box-shadow: 0 4px 15px rgba(139, 195, 74, 0.4);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-checkout:hover {
  background: linear-gradient(135deg, #7cb342 0%, #9ccc65 100%);
  box-shadow: 0 6px 25px rgba(139, 195, 74, 0.6);
  transform: translateY(-2px);
}

.btn-checkout:disabled {
  cursor: not-allowed;
  background: rgba(100, 100, 100, 0.3);
  box-shadow: none;
  color: #64748b;
}

/* Enhanced Product Cards with Hover Effects */
.product-card,
.product {
  transition: all 0.3s ease;
  position: relative;
}

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

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Loading Animation for Add to Cart */
@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.btn[disabled] {
  animation: pulse 1.5s infinite;
  cursor: not-allowed;
}

/* Enhanced Cart Badge */
.cart-badge {
  animation: bounceIn 0.3s ease;
}

@keyframes bounceIn {
  0% {
    transform: scale(0);
  }
  50% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
  }
}

/* Better Cart Button Styling */
.cart-btn {
  position: relative;
  transition: all 0.3s ease;
}

.cart-btn:hover {
  transform: scale(1.05);
}

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

/* Product Image Placeholder Enhancement */
.product-image-placeholder {
  background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
  position: relative;
  overflow: hidden;
}

.product-image-placeholder::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}

/* Enhanced Filter Buttons */
.filter {
  transition: all 0.2s ease;
  position: relative;
}

.filter::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 80%;
  height: 2px;
  background: var(--accent, #2d5016);
  transition: transform 0.2s ease;
}

.filter.active::after,
.filter:hover::after {
  transform: translateX(-50%) scaleX(1);
}

/* Enhanced Buttons */
.btn {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.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;
}

.btn:active::before {
  width: 300px;
  height: 300px;
}

/* Responsive Cart Modal */
@media (max-width: 640px) {
  .cart-modal-content {
    max-width: 95%;
    max-height: 90vh;
  }

  .cart-modal-header,
  .cart-modal-body,
  .cart-modal-footer {
    padding: 20px;
  }

  .cart-item {
    flex-direction: column;
    gap: 12px;
  }

  .cart-item-image {
    width: 80px;
    height: 80px;
    align-self: center;
  }

  .cart-item-controls {
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
  }

  .cart-empty {
    padding: 32px 16px;
  }
}

/* Enhanced FAQ Accordion */
.faq-item {
  transition: all 0.3s ease;
}

.faq-item:hover {
  background: rgba(45, 80, 22, 0.02);
}

/* Better Form Inputs */
input[type="number"].qty-input {
  transition: all 0.2s ease;
}

input[type="number"].qty-input:focus {
  transform: scale(1.05);
  box-shadow: 0 0 0 3px rgba(45, 80, 22, 0.1);
}

/* Testimonial Carousel Enhancement */
.testimonial-grid {
  scroll-behavior: smooth;
}

/* Enhanced Gallery Hover */
.gallery-card {
  transition: all 0.3s ease;
  overflow: hidden;
}

.gallery-card:hover {
  transform: scale(1.02);
}

.gallery-card img {
  transition: all 0.5s ease;
}

.gallery-card:hover img {
  transform: scale(1.1);
}

/* Better Section Transitions */
.section {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s ease forwards;
}

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

.section:nth-child(1) { animation-delay: 0.1s; }
.section:nth-child(2) { animation-delay: 0.2s; }
.section:nth-child(3) { animation-delay: 0.3s; }

/* Enhanced Success States */
.success-icon {
  animation: scaleIn 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes scaleIn {
  0% {
    transform: scale(0) rotate(-180deg);
  }
  100% {
    transform: scale(1) rotate(0);
  }
}

/* ===========================
   NEW DEMO ENHANCEMENTS
   =========================== */

/* 2. Animated Hero Section */
.hero-copy h1 {
  animation: fadeInUp 0.8s ease-out;
}

.hero-card {
  animation: fadeInRight 1s ease-out 0.3s backwards;
}

.hero-actions .btn {
  animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

.hero-grid > div {
  animation: fadeInUp 0.8s ease-out 0.5s backwards;
}

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

/* 4. Better Cart Badge Animation */
.cart-badge.pop {
  animation: pop 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes pop {
  0%, 100% { 
    transform: scale(1); 
  }
  50% { 
    transform: scale(1.4); 
  }
}

/* 3. Sticky Add to Cart Bar */
.sticky-cart-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(26, 31, 46, 0.98);
  backdrop-filter: blur(10px);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 999;
  border-top: 1px solid rgba(139, 195, 74, 0.2);
  transform: translateY(100%);
  transition: transform 0.3s ease;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
}

.sticky-cart-bar.visible {
  transform: translateY(0);
}

.sticky-cart-bar .product-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sticky-cart-bar .product-info img {
  width: 50px;
  height: 50px;
  border-radius: 8px;
  object-fit: cover;
}

.sticky-cart-bar .product-info h4 {
  margin: 0;
  font-size: 1rem;
  color: #fff;
}

.sticky-cart-bar .price {
  font-size: 1.25rem;
  font-weight: 600;
  color: #8bc34a;
}

.sticky-cart-bar .btn {
  padding: 12px 32px;
  white-space: nowrap;
}

/* 7. Quantity Counter on Product Cards */
.quantity-selector {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(139, 195, 74, 0.3);
  border-radius: 8px;
  padding: 4px;
}

.qty-btn {
  width: 32px;
  height: 32px;
  border: none;
  background: rgba(139, 195, 74, 0.1);
  color: #8bc34a;
  font-size: 1.25rem;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.qty-btn:hover {
  background: rgba(139, 195, 74, 0.2);
  transform: scale(1.1);
}

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

.qty-input {
  width: 50px;
  text-align: center;
  border: none;
  background: transparent;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
}

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

/* 10. Loading Skeleton for Product Grid */
.product-skeleton {
  background: linear-gradient(90deg, 
    rgba(255, 255, 255, 0.05) 25%, 
    rgba(255, 255, 255, 0.1) 50%, 
    rgba(255, 255, 255, 0.05) 75%
  );
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
  border-radius: 12px;
  height: 400px;
}

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

/* 11. Product Quick View Modal */
.quick-view-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.quick-view-modal.active {
  opacity: 1;
  pointer-events: all;
}

.quick-view-content {
  background: linear-gradient(135deg, #1a1f2e 0%, #252b3b 100%);
  border-radius: 16px;
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 40px;
  position: relative;
  transform: scale(0.9);
  transition: transform 0.3s ease;
  border: 1px solid rgba(139, 195, 74, 0.2);
}

.quick-view-modal.active .quick-view-content {
  transform: scale(1);
}

.quick-view-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #fff;
  font-size: 1.5rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  transition: all 0.2s ease;
}

.quick-view-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}

.quick-view-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.quick-view-image {
  width: 100%;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  padding: 20px;
}

/* 18. Sleek Horizontal Comparison Blocks - CACHE BUST v2 */
.comparison-container {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 28px !important;
  margin: 48px 0 !important;
  width: 100% !important;
}

.comparison-product-block {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(139, 195, 74, 0.15);
  border-radius: 12px;
  padding: 32px;
  position: relative;
  overflow: hidden;
  display: flex !important;
  flex-direction: column;
  gap: 24px;
  transition: all 0.3s ease;
}

.comparison-product-block:hover {
  border-color: rgba(139, 195, 74, 0.3);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
  transform: translateY(-4px);
}

.featured-block {
  border-color: rgba(139, 195, 74, 0.25);
  background: rgba(139, 195, 74, 0.04);
}

.featured-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: linear-gradient(135deg, #8bc34a, #7cb342);
  color: #1a1f2e;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.product-block-header {
  margin-bottom: 8px;
}

.product-block-header h4 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 8px 0;
  letter-spacing: -0.3px;
}

.block-tagline {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  margin: 0;
  font-weight: 500;
}

.product-block-specs {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.spec-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.01);
  border-radius: 8px;
  border-left: 2px solid rgba(139, 195, 74, 0.3);
  transition: all 0.2s ease;
}

.spec-item:hover {
  background: rgba(255, 255, 255, 0.03);
  border-left-color: #8bc34a;
  transform: translateX(4px);
}

.spec-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(139, 195, 74, 0.1);
  border-radius: 6px;
  color: #8bc34a;
  transition: all 0.2s ease;
}

.spec-item:hover .spec-icon {
  background: rgba(139, 195, 74, 0.2);
}

.spec-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.spec-name {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.4px;
  font-weight: 600;
}

.spec-description {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

.product-block-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(139, 195, 74, 0.1);
}

.price-section {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.price {
  font-size: 2rem;
  font-weight: 800;
  color: #8bc34a;
  font-family: 'Fraunces', serif;
  line-height: 1;
}

.serving {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 500;
}

.product-block-footer .btn {
  flex-shrink: 0;
  padding: 12px 28px;
  font-size: 0.9rem;
  font-weight: 600;
}

/* Desktop - force 2 columns */
@media (min-width: 768px) {
  .comparison-container {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* Tablet adjustments */
@media (max-width: 1024px) {
  .comparison-container {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 24px !important;
  }
  
  .comparison-product-block {
    padding: 28px;
  }
  
  .product-block-header h4 {
    font-size: 1.4rem;
  }
  
  .price {
    font-size: 1.75rem;
  }
}

/* Mobile - stack */
@media (max-width: 767px) {
  .comparison-container {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  
  .comparison-product-block {
    padding: 24px;
    gap: 20px;
  }
  
  .product-block-header h4 {
    font-size: 1.25rem;
  }
  
  .product-block-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
  
  .product-block-footer .btn {
    width: 100%;
    text-align: center;
  }
  
  .spec-item {
    padding: 10px;
  }
  
  .spec-icon {
    width: 24px;
    height: 24px;
  }
  
  .price {
    font-size: 1.5rem;
  }
}

/* Spacing consistency fixes */
.product-block-footer,
.cart-item-controls,
.hero-actions,
.price-row {
  gap: 16px !important;
}

.quantity-selector {
  gap: 8px;
}

/* 19. Social Proof Counter */
.social-proof {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(139, 195, 74, 0.1);
  padding: 12px 24px;
  border-radius: 50px;
  border: 1px solid rgba(139, 195, 74, 0.3);
  margin: 20px 0;
}

.social-proof-count {
  font-size: 1.5rem;
  font-weight: 700;
  color: #8bc34a;
  font-family: 'Space Grotesk', monospace;
}

.social-proof-text {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
}

/* 24. Micro-interactions */
.btn {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.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: width 0.6s ease, height 0.6s ease;
}

.btn:active::before {
  width: 300px;
  height: 300px;
}

input:focus,
textarea:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(139, 195, 74, 0.3);
  transform: scale(1.02);
  transition: all 0.2s ease;
}

.product:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(139, 195, 74, 0.15);
}

.badge {
  transition: all 0.2s ease;
}

.badge:hover {
  transform: scale(1.05);
  background: rgba(139, 195, 74, 0.2);
}

/* 26. Scroll-triggered Animations */
.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.scroll-reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-reveal-left.revealed {
  opacity: 1;
  transform: translateX(0);
}

.scroll-reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-reveal-right.revealed {
  opacity: 1;
  transform: translateX(0);
}

/* 22. Swipeable Product Gallery - Mobile */
.swipeable-gallery {
  position: relative;
  overflow: hidden;
  touch-action: pan-y;
}

.gallery-track {
  display: flex;
  transition: transform 0.3s ease;
}

.gallery-track.swiping {
  transition: none;
}

.gallery-slide {
  min-width: 100%;
  flex-shrink: 0;
}

.gallery-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}

.gallery-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
}

.gallery-dot.active {
  background: #8bc34a;
  width: 24px;
  border-radius: 4px;
}

/* Product Strength Selector Radio Buttons */
label:has(input[type="radio"][name="strength"]) {
  transition: all 0.2s ease;
  font-family: var(--font-body);
}

label:has(input[type="radio"][name="strength"]) span {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
}

label:has(input[type="radio"][name="strength"]) .price-large {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--accent);
}

label:has(input[type="radio"][name="strength"]):hover {
  background: rgba(255,255,255,0.06) !important;
  border-color: var(--accent) !important;
}

label:has(input[type="radio"][name="strength"]:checked) {
  background: rgba(158, 230, 191, 0.08) !important;
  border-color: var(--accent) !important;
  box-shadow: 0 0 0 3px rgba(158, 230, 191, 0.1);
}

label:has(input[type="radio"][name="strength"]) input[type="radio"] {
  accent-color: var(--accent);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .quick-view-grid {
    grid-template-columns: 1fr;
  }

  .sticky-cart-bar {
    padding: 12px 16px;
  }

  .sticky-cart-bar .product-info h4 {
    font-size: 0.875rem;
  }
}
