/**
 * FRIO Ice Cream & Botana - Product Page Styles
 * Beautiful, mobile-first responsive design with smooth animations
 * All comments in English as requested
 */

/* === ANIMATIONS & KEYFRAMES === */

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

@keyframes shimmer {
  0% {
    background-position: -200px 0;
  }
  100% {
    background-position: calc(200px + 100%) 0;
  }
}

/* Base animation classes */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.6s ease forwards;
}

.fade-up:nth-child(1) { animation-delay: 0.1s; }
.fade-up:nth-child(2) { animation-delay: 0.2s; }
.fade-up:nth-child(3) { animation-delay: 0.3s; }
.fade-up:nth-child(4) { animation-delay: 0.4s; }

/* === PRODUCT HEADER SECTION === */

.product-header-section {
  padding: var(--space-8) 0 var(--space-6);
  background: var(--color-bg-body);
}

.product-category {
  margin-bottom: var(--space-4);
}

.category-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: var(--color-primary-alpha);
  border: 1px solid var(--color-primary);
  border-radius: var(--radius-full);
  color: var(--color-text-primary);
  text-decoration: none;
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  transition: var(--transition-all);
}

.category-link:hover {
  background: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  text-decoration: none;
}

.category-icon {
  font-size: var(--font-size-base);
}

.product-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: var(--font-weight-extrabold);
  color: var(--color-text-primary);
  margin-bottom: var(--space-3);
  line-height: var(--line-height-tight);
}

.product-tagline {
  font-size: var(--font-size-lg);
  color: var(--color-text-secondary);
  font-style: italic;
  margin-bottom: 0;
}

/* === HERO IMAGE SECTION === */

.product-hero-image-section {
  padding: var(--space-8) 0;
  background: var(--color-bg-white);
}

.product-hero-image {
  position: relative;
  margin-bottom: var(--space-6);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  background: var(--color-bg-gray-light);
}

.hero-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  object-position: center;
  transition: var(--transition-all);
}

.hero-img:hover {
  transform: scale(1.02);
}

/* Gallery thumbnails */
.hero-gallery-thumbnails {
  display: flex;
  gap: var(--space-3);
  justify-content: center;
  flex-wrap: wrap;
  padding: var(--space-4);
}

.gallery-thumb {
  width: 80px;
  height: 80px;
  border: 3px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition-all);
  background: var(--color-bg-white);
  padding: 0;
}

.gallery-thumb:hover,
.gallery-thumb.active {
  border-color: var(--color-primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Desktop hero adjustments */
@media (min-width: 768px) {
  .hero-img {
    height: 500px;
  }
  
  .hero-gallery-thumbnails {
    gap: var(--space-4);
  }
  
  .gallery-thumb {
    width: 120px;
    height: 120px;
  }
}

@media (min-width: 1024px) {
  .hero-img {
    height: 600px;
  }
}

/* === MENU CARD SECTION === */

.product-menu-card-section {
  padding: var(--space-8) 0;
  background: var(--color-bg-gray-light);
}

.menu-card {
  background: var(--color-bg-white);
  border-radius: var(--radius-2xl);
  border: 2px solid var(--color-primary);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  max-width: 800px;
  margin: 0 auto;
}

.menu-card-row {
  padding: var(--space-6);
  border-bottom: 1px solid var(--color-border-light);
}

.menu-card-row:last-child {
  border-bottom: none;
}

/* Price Row */
.price-row {
  background: var(--color-primary-alpha);
  text-align: center;
}

.price-display {
  margin-bottom: var(--space-4);
}

.product-price {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: var(--font-weight-extrabold);
  color: var(--color-accent-pink);
  display: inline-block;
  margin-right: var(--space-2);
}

.price-note {
  font-size: var(--font-size-lg);
  color: var(--color-text-muted);
  font-weight: var(--font-weight-medium);
}

/* Size Options */
.size-options {
  display: flex;
  gap: var(--space-3);
  justify-content: center;
  flex-wrap: wrap;
}

.product-size-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-1);
  padding: var(--space-3) var(--space-4);
  background: var(--color-bg-white);
  border: 2px solid var(--color-primary);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: var(--transition-all);
  min-width: 100px;
  min-height: 44px;
}

.product-size-option:hover,
.product-size-option.active {
  background: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.size-name {
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-primary);
}

.size-price {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-bold);
  color: var(--color-accent-pink);
}

.product-size-option:hover .size-name,
.product-size-option.active .size-name,
.product-size-option:hover .size-price,
.product-size-option.active .size-price {
  color: var(--color-text-primary);
}

/* Specs Row */
.specs-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  justify-content: center;
}

.product-spec {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3);
  background: var(--color-bg-gray-light);
  border-radius: var(--radius-lg);
  min-width: 110px;
  text-align: center;
}

.spec-icon {
  font-size: var(--font-size-xl);
}

.spec-value {
  font-size: var(--font-size-sm);
  line-height: 1;
  margin-bottom: var(--space-1);
}

.spec-label {
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-primary);
  text-align: center;
}

/* Specific spec styling */
.product-spec-spice {
  background: var(--color-accent-pink-alpha);
}

.product-spec-sweetness {
  background: var(--color-primary-alpha);
}

.product-spec-temp {
  background: var(--color-accent-blue-alpha);
}

.product-spec-time {
  background: var(--color-cone-brown-alpha);
}

.product-spec-popularity {
  background: var(--color-accent-pink-alpha);
  animation: pulse 2s infinite;
}

/* Actions Row */
.actions-row {
  background: var(--color-bg-white);
  text-align: center;
}

.actions-row .btn {
  margin: 0 var(--space-2) var(--space-2) 0;
}

.product-order-btn {
  min-width: 200px;
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-bold);
}

/* Desktop menu card layout */
@media (min-width: 768px) {
  .menu-card {
    max-width: 1000px;
  }
  
  .menu-card-row {
    padding: var(--space-8);
  }
  
  .size-options {
    gap: var(--space-4);
  }
  
  .product-size-option {
    min-width: 120px;
  }
  
  .specs-row {
    gap: var(--space-6);
  }
  
  .product-spec {
    min-width: 100px;
    padding: var(--space-4);
  }
}

/* === TAGS SECTION === */

.product-tags-section {
  padding: var(--space-6) 0;
  background: var(--color-bg-body);
}

.product-tags-wrapper {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  align-items: center;
}

/* Status badges */
.status-badges {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
  justify-content: center;
}

.status-badge {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-inverse);
  animation: slideIn 0.5s ease forwards;
}

.badge-featured {
  background: var(--color-accent-blue);
}

.badge-new {
  background: var(--color-accent-pink);
}

.badge-seasonal {
  background: var(--color-cone-brown);
}

.badge-icon {
  font-size: var(--font-size-base);
}

/* Dietary tags */
.dietary-tags {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
  justify-content: center;
}

.tag {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-3);
  background: var(--color-bg-white);
  border: 2px solid var(--color-border-light);
  border-radius: var(--radius-full);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  color: var(--color-text-primary);
  transition: var(--transition-all);
}

.tag:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

/* Specific tag colors */
.tag-vegan {
  border-color: #4ade80;
  background: rgba(74, 222, 128, 0.1);
}

.tag-gluten-free {
  border-color: #f59e0b;
  background: rgba(245, 158, 11, 0.1);
}

.tag-dairy-free {
  border-color: #06b6d4;
  background: rgba(6, 182, 212, 0.1);
}

.tag-nut-free {
  border-color: #8b5cf6;
  background: rgba(139, 92, 246, 0.1);
}

.tag-icon {
  font-size: var(--font-size-base);
}

/* Allergen warning */
.allergen-warning {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-4);
  background: var(--color-error-bg);
  border: 2px solid var(--color-error);
  border-radius: var(--radius-lg);
  color: var(--color-error);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
}

.allergen-icon {
  font-size: var(--font-size-lg);
}

.allergen-item {
  font-weight: var(--font-weight-bold);
}

/* Desktop tags layout */
@media (min-width: 768px) {
  .product-tags-wrapper {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--space-6);
  }
}

/* === PRODUCT DETAILS SECTION (ENHANCED TABS) === */

.product-details-section {
  padding: var(--space-16) 0;
  background: var(--color-bg-white);
}

.section-container-wide {
  max-width: 1200px; /* 80% wider than standard */
  margin: 0 auto;
  padding: 0 var(--space-6);
}

/* Enhanced tabs */
.details-tabs {
  display: flex;
  gap: var(--space-2);
  margin-bottom: var(--space-8);
  border-bottom: 2px solid var(--color-border-light);
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.details-tabs::-webkit-scrollbar {
  display: none;
}

.tab-btn {
  padding: var(--space-4) var(--space-6);
  background: none;
  border: none;
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-muted);
  cursor: pointer;
  transition: var(--transition-all);
  border-bottom: 3px solid transparent;
  white-space: nowrap;
  position: relative;
}

.tab-btn:hover {
  color: var(--color-text-primary);
  background: var(--color-primary-alpha);
}

.tab-btn.active {
  color: var(--color-accent-pink);
  border-bottom-color: var(--color-accent-pink);
  background: var(--color-primary-alpha);
}

.tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 6px solid var(--color-accent-pink);
}

/* Tab content */
.tab-content {
  min-height: 300px;
}

.tab-panel {
  display: none;
  animation: fadeUp 0.4s ease forwards;
}

.tab-panel.active {
  display: block;
}

/* Section styling */
.section-subtitle {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-text-primary);
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-2);
  border-bottom: 2px solid var(--color-primary);
}

.subsection-title {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-primary);
  margin-bottom: var(--space-3);
}

.description-section,
.story-section,
.customization-section {
  margin-bottom: var(--space-8);
}

.description-section p,
.story-section p {
  font-size: var(--font-size-lg);
  line-height: var(--line-height-relaxed);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-4);
}

/* Ingredients styling */
.ingredients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-3);
  margin-bottom: var(--space-6);
}

.ingredient-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3);
  background: var(--color-bg-gray-light);
  border-radius: var(--radius-lg);
  font-size: var(--font-size-base);
}

.ingredient-icon {
  font-size: var(--font-size-lg);
  color: var(--color-primary);
}

.ingredient-name {
  font-weight: var(--font-weight-medium);
  color: var(--color-text-primary);
}

/* Removable ingredients */
.removable-ingredients {
  margin-top: var(--space-6);
}

.removable-grid {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
  margin-top: var(--space-3);
}

.removable-tag {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  padding: var(--space-2) var(--space-3);
  background: var(--color-error-bg);
  border: 1px solid var(--color-error);
  border-radius: var(--radius-full);
  color: var(--color-error);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
}

.remove-icon {
  font-size: var(--font-size-sm);
}

/* Customization styling */
.toppings-grid,
.customization-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-4);
  margin-top: var(--space-4);
}

.topping-item,
.customization-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4);
  background: var(--color-bg-gray-light);
  border: 2px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  transition: var(--transition-all);
}

.topping-item:hover,
.customization-item:hover {
  border-color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.topping-icon,
.custom-icon {
  font-size: var(--font-size-xl);
  color: var(--color-primary);
}

.topping-name,
.custom-text {
  flex: 1;
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-medium);
  color: var(--color-text-primary);
}

.topping-price {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-bold);
  color: var(--color-accent-pink);
}

/* Customization note */
.customization-note {
  margin-top: var(--space-8);
  padding: var(--space-6);
  background: var(--color-primary-alpha);
  border: 2px solid var(--color-primary);
  border-radius: var(--radius-xl);
}

.note-content {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
}

.note-icon {
  font-size: var(--font-size-2xl);
  color: var(--color-primary);
  flex-shrink: 0;
}

.note-content p {
  font-size: var(--font-size-base);
  color: var(--color-text-primary);
  margin: 0;
  line-height: var(--line-height-relaxed);
}

/* Owner quote styling */
.owner-quote-section {
  margin-top: var(--space-8);
}

.owner-quote {
  position: relative;
  padding: var(--space-8);
  background: linear-gradient(135deg, var(--color-primary-alpha) 0%, var(--color-accent-blue-alpha) 100%);
  border-radius: var(--radius-2xl);
  border-left: 6px solid var(--color-accent-pink);
  text-align: center;
  margin: 0;
}

.quote-icon {
  font-size: 3rem;
  color: var(--color-accent-pink);
  margin-bottom: var(--space-4);
  opacity: 0.7;
}

.quote-text {
  font-size: var(--font-size-lg);
  font-style: italic;
  line-height: var(--line-height-relaxed);
  color: var(--color-text-primary);
  margin-bottom: var(--space-4);
  font-weight: var(--font-weight-medium);
}

.quote-author {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-bold);
  color: var(--color-accent-pink);
  font-style: normal;
}

/* Desktop details layout */
@media (min-width: 768px) {
  .section-container-wide {
    padding: 0 var(--space-8);
  }
  
  .details-tabs {
    justify-content: center;
    gap: var(--space-4);
  }
  
  .tab-btn {
    padding: var(--space-4) var(--space-8);
    font-size: var(--font-size-lg);
  }
  
  .ingredients-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-4);
  }
  
  .toppings-grid,
  .customization-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-6);
  }
}

/* === RELATED PRODUCTS SECTION === */

.related-products-section {
  padding: var(--space-16) 0;
  background: var(--color-bg-gray-light);
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-12);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.section-title {
  font-size: var(--font-size-3xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-text-primary);
  margin-bottom: var(--space-4);
}

.section-description {
  font-size: var(--font-size-lg);
  color: var(--color-text-secondary);
  line-height: var(--line-height-relaxed);
}

.related-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-8);
  margin-bottom: var(--space-8);
}

.section-cta {
  text-align: center;
}

/* Desktop related products */
@media (min-width: 768px) {
  .related-products-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-10);
  }
}

/* === PRODUCT NOT FOUND === */

.product-not-found-section {
  padding: var(--space-20) 0;
  text-align: center;
  background: var(--color-bg-body);
}

.not-found-content {
  max-width: 600px;
  margin: 0 auto;
}

.not-found-icon {
  font-size: 6rem;
  margin-bottom: var(--space-6);
  opacity: 0.6;
}

.not-found-title {
  font-size: var(--font-size-3xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-text-primary);
  margin-bottom: var(--space-4);
}

.not-found-message {
  font-size: var(--font-size-lg);
  color: var(--color-text-secondary);
  line-height: var(--line-height-relaxed);
  margin-bottom: var(--space-8);
}

.not-found-actions {
  display: flex;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

/* === LOADING STATES === */

.loading-shimmer {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200px 100%;
  animation: shimmer 2s infinite;
}

.hero-img-loading {
  background: var(--color-bg-gray-light);
  height: 400px;
  border-radius: var(--radius-2xl);
}

/* === MOBILE OPTIMIZATIONS === */

@media (max-width: 480px) {
  .product-header-section {
    padding: var(--space-6) 0 var(--space-4);
  }
  
  .product-title {
    font-size: 2rem;
  }
  
  .menu-card-row {
    padding: var(--space-4);
  }
  
  .product-price {
    font-size: 2rem;
  }
  
  .size-options {
    flex-direction: column;
    align-items: center;
  }
  
  .product-size-option {
    min-width: 200px;
  }
  
  .specs-row {
    justify-content: center;
  }
  
  .details-tabs {
    gap: 0;
  }
  
  .tab-btn {
    padding: var(--space-3) var(--space-4);
    font-size: var(--font-size-sm);
  }
  
  .ingredients-grid,
  .toppings-grid,
  .customization-grid {
    grid-template-columns: 1fr;
  }
  
  .related-products-grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }
}

/* === ACCESSIBILITY === */

.tab-btn:focus,
.gallery-thumb:focus,
.product-size-option:focus {
  outline: 2px solid var(--color-accent-blue);
  outline-offset: 2px;
}

/* High contrast support */
@media (prefers-contrast: high) {
  .menu-card {
    border-width: 3px;
  }
  
  .product-size-option {
    border-width: 3px;
  }
  
  .tab-btn.active {
    border-bottom-width: 4px;
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  .fade-up,
  .hero-img,
  .gallery-thumb,
  .product-size-option,
  .topping-item,
  .customization-item {
    animation: none;
    transform: none;
    transition: none;
  }
  
  .product-spec-popularity {
    animation: none;
  }
}

/* === PRINT STYLES === */

@media print {
  .product-hero-image-section,
  .product-menu-card-section,
  .product-details-section {
    background: none !important;
    box-shadow: none !important;
    padding: var(--space-4) 0;
  }
  
  .menu-card {
    box-shadow: none;
    border: 2px solid #000;
  }
  
  .hero-gallery-thumbnails,
  .actions-row {
    display: none;
  }
  
  .tab-content .tab-panel {
    display: block !important;
  }
  
  .details-tabs {
    display: none;
  }
}

/* === LIGHTBOX STYLES === */

.product-lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: var(--z-modal);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lightbox-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  cursor: pointer;
}

.lightbox-container {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.lightbox-content {
  position: relative;
  text-align: center;
  max-width: 100%;
  max-height: 100%;
}

.lightbox-image {
  max-width: 80vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-2xl);
  transition: transform 0.3s ease;
}

.lightbox-info {
  position: absolute;
  bottom: -60px;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  text-align: center;
  min-width: 200px;
}

.lightbox-title {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--space-2);
}

.lightbox-counter {
  font-size: var(--font-size-base);
  opacity: 0.8;
  margin-bottom: var(--space-3);
}

.lightbox-actions {
  display: flex;
  gap: var(--space-3);
  justify-content: center;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next,
.lightbox-zoom-in,
.lightbox-zoom-out {
  position: absolute;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-xl);
  cursor: pointer;
  transition: var(--transition-all);
  z-index: 2;
}

.lightbox-close {
  top: 20px;
  right: 20px;
}

.lightbox-prev {
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-next {
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-zoom-in,
.lightbox-zoom-out {
  position: static;
  width: 40px;
  height: 40px;
  font-size: var(--font-size-base);
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover,
.lightbox-zoom-in:hover,
.lightbox-zoom-out:hover {
  background: rgba(0, 0, 0, 0.9);
  transform: scale(1.1);
}

.lightbox-prev:hover,
.lightbox-next:hover {
  transform: translateY(-50%) scale(1.1);
}

/* Prevent body scroll when lightbox is open */
body.lightbox-open {
  overflow: hidden;
}

/* Mobile lightbox adjustments */
@media (max-width: 768px) {
  .lightbox-image {
    max-width: 95vw;
    max-height: 70vh;
  }
  
  .lightbox-close,
  .lightbox-prev,
  .lightbox-next {
    width: 44px;
    height: 44px;
  }
  
  .lightbox-close {
    top: 10px;
    right: 10px;
  }
  
  .lightbox-prev {
    left: 10px;
  }
  
  .lightbox-next {
    right: 10px;
  }
  
  .lightbox-info {
    bottom: -80px;
  }
  
  .lightbox-actions {
    flex-direction: row;
    gap: var(--space-2);
  }
}

/* Toast notification styles */
.product-toast {
  position: fixed;
  top: 20px;
  right: 20px;
  background: var(--color-bg-white);
  border: 2px solid var(--color-primary);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  display: flex;
  align-items: center;
  gap: var(--space-2);
  box-shadow: var(--shadow-xl);
  z-index: var(--z-toast);
  opacity: 0;
  transform: translateY(-20px);
  transition: var(--transition-all);
}

.toast-success {
  border-color: var(--color-success);
  background: var(--color-success-bg);
}

.toast-error {
  border-color: var(--color-error);
  background: var(--color-error-bg);
}

.toast-icon {
  font-size: var(--font-size-lg);
}

.toast-message {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-medium);
}