:root {
  --color-primary: #4a6741;
  --color-secondary: #ff8fb1;
  --color-accent: #ffe5d9;
  --color-text: #2c3e50;
  --color-background: #ffffff;
  --color-overlay: rgba(74, 103, 65, 0.85);
  --color-green-light: #7da671;
  --color-green-dark: #2d4424;
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --swiper-theme-color: #4a6741;
}


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0px);
  }
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

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

@keyframes slideBg {
  from {
    background-position: 0 0;
  }
  to {
    background-position: -400px 0;
  }
}

@keyframes gradientBG {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes floatingShapes {
  0% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(2%, 2%) rotate(5deg); }
  66% { transform: translate(-2%, -1%) rotate(-3deg); }
  100% { transform: translate(0, 0) rotate(0deg); }
}

@keyframes floatingLeaves {
  0% { 
    transform: translate(0, 0) rotate(0deg) scale(1);
    opacity: 0.3;
  }
  33% { 
    transform: translate(20px, -20px) rotate(120deg) scale(1.1);
    opacity: 0.6;
  }
  66% { 
    transform: translate(-10px, 10px) rotate(240deg) scale(0.9);
    opacity: 0.4;
  }
  100% { 
    transform: translate(0, 0) rotate(360deg) scale(1);
    opacity: 0.3;
  }
}

@keyframes heroZoom {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.1);
  }
}

body {
  font-family: 'Montserrat', sans-serif;
  color: var(--color-text);
  background-color: var(--color-background);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  text-align: center;
  margin-bottom: 3.5rem;
  color: var(--color-primary);
  position: relative;
  padding-bottom: 1rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: var(--color-secondary);
  border-radius: 2px;
}

.main {
  position: relative;
  background-size: 400% 400%;
}

.city-selector {
  position: relative;
  cursor: pointer;
}

.selected-city {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-text);
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.selected-city:hover {
  background-color: var(--color-accent);
}

.selected-city::after {
  content: '▼';
  font-size: 0.8em;
  transition: transform 0.3s ease;
}

.city-selector.active .selected-city::after {
  transform: rotate(180deg);
}

.city-select {
  position: absolute;
  top: 100%;
  right: 0;
  width: 200px;
  max-height: 300px;
  overflow-y: auto;
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  padding: 0.5rem;
  margin-top: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 1000;
}

.city-selector.active .city-select {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.city-option {
  padding: 0.75rem 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 4px;
}

.city-option:hover {
  background: var(--color-accent);
  color: var(--color-primary);
}

/* Header Styles */
.header {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  transition: var(--transition-smooth);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 10px 0;
}

.logo img {
  height: 100%;
  width: auto;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-item {
  position: relative;
}

.nav-link {
  color: var(--color-text);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition-smooth);
  padding: 0.5rem 0;
  display: block;
}

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

/* Enhanced Catalog Dropdown */
.catalog-btn {
  position: relative;
  cursor: pointer;
}

.catalog-dropdown {
  display: none;
}

.catalog-filters {
  background: white;
  border-radius: 16px;
  padding: 2.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.filters-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 2fr;
  gap: 1rem;
  align-items: start;
}


.filter-group {
  margin-bottom: 1.5rem;
}

.filter-group h3 {
  font-size: 1rem;
  margin-bottom: 0.75rem;
  color: #333;
}

.price-inputs {
  display: flex;
  gap: 1rem;
}

.price-inputs input {
  flex: 1;
  padding: 0.75rem;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: 1rem;
}

.filter-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.75rem;
  letter-spacing: 0.01em;
}

.btn-reset {
  background: #f8fafc;
  color: var(--color-text);
  border: 1.5px solid #e2e8f0;
}

.btn-reset:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
}

.btn-apply {
  background: var(--color-primary);
  color: white;
  border: none;
}

.btn-apply:hover {
  background: var(--color-primary-dark);
  transform: translateY(-1px);
}



.active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}


.filter-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.5rem 0.875rem;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 6px;
  font-size: 0.875rem;
  color: var(--color-text);
  transition: all 0.2s ease;
}

.filter-tag:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
}

.filter-tag button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
  padding: 0;
  border-radius: 4px;
  background: #e2e8f0;
  color: #475569;
  font-size: 0.875rem;
  line-height: 1;
  transition: all 0.2s ease;
  margin-left: 0.25rem;
}


.filter-tag button:hover {
  background: #cbd5e1;
  color: #1e293b;
}


.filter-group select,
.filter-group input[type="text"],
.filter-group input[type="number"] {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  font-size: 0.9375rem;
  color: var(--color-text);
  background-color: white;
  transition: all 0.2s ease;
  appearance: none;
  -webkit-appearance: none;
}

.filter-group select:focus,
.filter-group input[type="text"]:focus,
.filter-group input[type="number"]:focus {
  border-color: var(--color-primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(var(--color-primary-rgb), 0.12);
}

.price-range {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}


.price-range input {
  text-align: center;
}

.search-group {
  grid-column: 1 / -1;
  width: 100%;
}

.search-group input {
  padding-left: 2.75rem;
  background-repeat: no-repeat;
  background-position: 1rem center;
  background-size: 1.125rem;
}


.price-group {
  grid-column: 4;
}


.search-icon {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.25rem;
  height: 1.25rem;
  color: #94a3b8;
}

.filter-actions {
  grid-column: 1 / -1;
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
  margin-top: 1rem;
}

.search-bar {
  margin-bottom: 2rem;
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
  background-color: #e2e8f0;
  color: #4a5568;
}

.btn-secondary:hover {
  background-color: #cbd5e0;
}


.search-input-wrapper {
  display: flex;
  align-items: center;
  padding: 1rem;
  border-bottom: 1px solid #eee;
}

.filter-toggle {
  position: absolute;
  right: 0.75rem;
  background: none;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
  color: #666;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
}


.filter-toggle:hover {
  background: #f5f5f5;
  color: var(--color-primary);
}

.filter-toggle.active {
  color: var(--color-primary);
  background: #f5f5f5;
}

.advanced-filters {
  margin-top: 1rem;
  padding: 1rem;
  background: #f8f9fa;
  border-radius: 8px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.search-input {
  flex: 1;
  padding: 0.75rem;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s;
}

.search-input:focus {
  border-color: var(--color-primary);
}


.filter-actions button {
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9375rem;
  transition: all 0.2s ease;
}


.filter-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: 0.5rem;
}

.nav-item:hover .catalog-dropdown {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.catalog-dropdown .category-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-left: 1px solid #eee;
}


.catalog-dropdown ul {
  list-style: none;
  margin: 0;
  padding: 0;
  grid-column: span 2;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
}

.catalog-dropdown .category-list,
.catalog-dropdown .subcategory-list {
  list-style: none;
  margin: 0;
  padding: 0;
  min-width: 220px;
}

.subcategory-list {
  position: absolute;
  right: 100%;
  top: 0;
  width: 100%;
  padding: 0;
  margin: 0;
  list-style: none;
  display: none;
}

.subcategory-list.active {
  display: block;
}

.catalog-dropdown li {
  animation: slideInRight 0.3s ease forwards;
  opacity: 0;
}


.catalog-dropdown li:nth-child(2n) {
  animation-delay: 0.1s;
}

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

.catalog-dropdown a {
  color: var(--color-text);
  text-decoration: none;
  transition: var(--transition-smooth);
  display: block;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  background: transparent;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.catalog-dropdown a:hover {
  background-color: #f5f5f5;
  color: var(--color-text);
  transform: translateX(5px);
}

.category-item {
  position: relative;
}

.category-item > a {
  display: block;
  padding: 1rem;
  color: var(--color-text);
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
  font-weight: 500;
}

.category-item > a:hover,
.category-item:hover > a {
  background: #f5f5f5;
  color: var(--color-primary);
}

.category-item > a:hover {
  background: #f5f5f5;
  color: var(--color-primary);
}


.category-item .subcategory-list {
  position: absolute;
  left: 100%;
  top: 0;
  background: white;
  width: 300px;
  padding: 1rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  visibility: hidden;
  opacity: 0;
  transform: translateX(10px);
  transition: all 0.3s ease;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.5rem;
}

.category-item:hover .subcategory-list {
  display: block;
}



.subcategory-list li {
  margin-bottom: 0.5rem;
}

.subcategory-list a {
  display: block;
  padding: 0.75rem 1rem;
  color: var(--color-text);
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.subcategory-list a:hover {
  background: #f5f5f5;
  color: var(--color-primary);
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}


.category-card {
  background: var(--color-background);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.category-card-content {
  padding: 1.5rem;
}

.category-card h3 {
  margin: 0 0 1rem;
  font-size: 1.25rem;
  color: var(--color-text);
}

.subcategories-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.subcategories-list li {
  margin-bottom: 0.5rem;
}

.subcategories-list a {
  color: var(--color-text);
  text-decoration: none;
  transition: color 0.3s ease;
  display: block;
  padding: 0.5rem;
  border-radius: 6px;
}

.subcategories-list a:hover {
  color: var(--color-primary);
  background: #f5f5f5;
}


.category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.catalog-section {
  padding: 3rem 0;
}


.mobile-catalog {
  display: none;
}


.category-item.active > a {
  background-color: #f5f5f5;
  color: var(--color-text);
}


.filters {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  padding-top: 1.5rem;
  animation: fadeInScale 0.3s ease forwards 0.5s;
  opacity: 0;
}

.filter-group {
  margin-bottom: 1.5rem;
}

.filter-group:last-child {
  margin-bottom: 0;
}

.filter-group label {
  display: block;
  margin-bottom: 0.75rem;
  font-weight: 500;
  color: var(--color-primary);
}

.filter-group input[type='range'] {
  width: 100%;
  height: 6px;
  background: var(--color-accent);
  border-radius: 3px;
  outline: none;
  transition: var(--transition-smooth);
}

.filter-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 1rem;
  padding-right: 2.5rem;
}

.filter-group select:hover {
  border-color: var(--color-primary);
}

/* Cart and City Selector */
.cart-city {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.cart-link {
  position: relative;
  text-decoration: none;
  color: var(--color-text);
  transition: var(--transition-smooth);
}

.cart-link:hover {
  color: var(--color-primary);
  transform: scale(1.1);
}

.cart-icon {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.cart-count {
  position: absolute;
  top: -8px;
  right: -8px;
  background: var(--color-secondary);
  color: white;
  font-size: 12px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: float 3s ease-in-out infinite;
}

/* Hero Section with Enhanced Animations */
.hero {
  height: 90vh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  margin-top: 80px;
  background-size: 300% 300%;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--color-overlay);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--color-background);
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
  animation: fadeInScale 1s ease-out;
}

.hero-title {
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
  animation: slideInRight 1s ease-out;
}

.hero-subtitle {
  font-size: 1.8rem;
  margin-bottom: 2rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
  animation: slideInRight 1s ease-out 0.3s backwards;
}

/* Weekly Bouquets Section */
.weekly-bouquets {
  padding: 8rem 0;
  background: linear-gradient(
    to bottom,
    var(--color-background),
    rgba(245, 230, 211, 0.3)
  );
  position: relative;
  overflow: hidden;
}

.weekly-bouquets-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 60px;
}

.weekly-bouquets-slider {
  padding: 20px 0;
}

.weekly-bouquet {
  background: var(--color-background);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  color: inherit;
  display: block;
  height: 100%;
  position: relative;
}

.weekly-bouquet-image {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.weekly-bouquet:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.weekly-bouquet:hover .weekly-bouquet-image {
  transform: scale(1.1);
}

.weekly-bouquet-description.truncated::after {
  content: "...";
  position: absolute;
  bottom: 0;
  right: 0;
  padding-left: 0.5rem;
  background: linear-gradient(to right, transparent, white 50%);
}

.weekly-bouquet-info {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.weekly-bouquet-info h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-text);
  margin: 0;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-card .product-info h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-text);
  margin: 0;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.weekly-bouquet-description {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  position: relative;
  max-height: 4.8em;
  margin: 0;
}

.weekly-bouquet-description::after {
  content: "...";
  position: absolute;
  bottom: 0;
  right: 0;
  padding-left: 0.5rem;
  background: linear-gradient(to right, transparent, white 50%);
}

.weekly-bouquet-description.has-overflow::after {
  content: "...";
  position: absolute;
  bottom: 0;
  right: 0;
  padding-left: 0.5rem;
  background: linear-gradient(to right, transparent, white 50%);
}

.weekly-bouquet-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.weekly-bouquet-price::after {
  content: "₴";
  font-size: 1rem;
  opacity: 0.8;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
  background: var(--color-primary);
  color: white;
}

.swiper-button-prev:after,
.swiper-button-next:after {
  font-size: 18px;
}

.swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: var(--color-primary);
  opacity: 0.3;
}

.swiper-pagination-bullet-active {
  opacity: 1;
  background: var(--color-primary);
}

/* Product Card Styles */
.product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--color-background);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: var(--transition-smooth);
  text-decoration: none;
  position: relative;
  color: var(--color-text);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.product-image-wrapper {
  position: relative;
  width: 100%;
  height: 300px;
  overflow: hidden;
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.product-card:hover .product-image {
  transform: scale(1.1);
}

.discount-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--color-secondary);
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.9rem;
  z-index: 1;
  box-shadow: 0 4px 12px rgba(255, 143, 177, 0.3);
}

.product-info {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex: 1;
}

.product-info h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-text);
  margin: 0;
  line-height: 1.4;
}

.product-price-block {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0.5rem 0;
  flex-wrap: nowrap;
}

.price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.price::after {
  content: "₴";
  font-size: 1rem;
  opacity: 0.8;
}

.ruble-sign {
  display: none; /* Hide the extra ruble sign */
}

.discounted-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-secondary);
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.discounted-price::after {
  content: "₴";
  font-size: 1rem;
  opacity: 0.8;
}

.original-price {
  font-size: 1.2rem;
  color: #999;
  text-decoration: line-through;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.order-count {
  font-size: 0.9rem;
  color: #666;
  margin-top: auto;
  padding-top: 0.5rem;
  border-top: 1px solid #eee;
}

.product-card .product-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.product-card .product-info {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding: 1.5rem;
}

.product-card .product-description {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 1rem 0;
  color: #666;
  line-height: 1.6;
  height: 4.8em;
}

.product-description {
  margin: 1rem 0;
  color: #666;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  height: 4.8em;
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
  .weekly-bouquets-container {
    padding: 0 20px;
  }

  .weekly-bouquet-info {
    padding: 1.25rem;
    gap: 0.75rem;
  }

  .weekly-bouquet-info h3 {
    font-size: 1.1rem;
  }

  .weekly-bouquet-description {
    font-size: 0.9rem;
    -webkit-line-clamp: 2;
    max-height: 3.2em;
  }

  .weekly-bouquets-slider {
    overflow: hidden;
    margin: 0 -20px;
    padding: 20px;
  }

  .weekly-bouquets-track {
    gap: 1rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    overflow-x: auto;
    padding: 0 20px;
  }

  .weekly-bouquets-track::-webkit-scrollbar {
    display: none;
  }

  .weekly-bouquet {
    flex: 0 0 calc(100% - 2rem);
    min-width: calc(100% - 2rem);
    scroll-snap-align: center;
  }

  .slider-controls {
    display: none;
  }

  .weekly-bouquet-image {
    aspect-ratio: 3/2;
    width: 100%;
    height: auto;
  }

  .weekly-bouquet-price {
    font-size: 1.25rem;
  }

  .swiper-button-prev,
  .swiper-button-next {
    display: none;
  }

  .btn.add-to-cart {
    font-size: 1rem;
    padding: 0.875rem 1.75rem;
  }
  
  .collapsible-header {
    padding: 1.25rem;
  }
  
  .collapsible-inner {
    padding: 0 1.25rem 1.25rem;
  }
}

/* How to Order Section */
.how-to-order {
  padding: 8rem 0;
  background: var(--color-accent);
  position: relative;
}

.order-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.order-step {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: var(--transition-smooth);
}

.order-step:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.step-number {
  width: 40px;
  height: 40px;
  background: var(--color-primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0 auto 1.5rem;
}

.step-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
  color: #000;
}

.step-icon svg {
  width: 100%;
  height: 100%;
}

/* Reviews Section */
.reviews {
  padding: 8rem 0;
  background: linear-gradient(
    to bottom,
    var(--color-background),
    var(--color-accent)
  );
  position: relative;
  overflow: hidden;
}

.reviews::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.8), transparent);
  pointer-events: none;
}

.view-more-btn {
  display: block;
  width: fit-content;
  margin: 2rem auto 2rem;
  padding: 1rem 2.5rem;
  background: var(--color-primary);
  color: white;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.view-more-btn:hover {
  transform: translateY(-2px);
  background: var(--color-green-light);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.review-card {
  background: white;
  padding: 2.5rem;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.review-card::before {
  content: '"';
  position: absolute;
  top: 1rem;
  left: 1.5rem;
  font-size: 4rem;
  font-family: Georgia, serif;
  color: var(--color-primary);
  opacity: 0.1;
  line-height: 1;
}

.review-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.review-rating {
  margin-bottom: 1.5rem;
  display: flex;
  gap: 0.25rem;
}

.star {
  color: #e2e8f0;
  font-size: 1.25rem;
  transition: color 0.3s ease;
}


.star.active {
  color: #ffd700;
}


.review-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--color-text);
  margin-bottom: 2rem;
  position: relative;
  font-style: italic;
}

.review-author {
  font-weight: 600;
  color: var(--color-primary);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.review-author::before {
  content: '';
  width: 3px;
  height: 3px;
  background: var(--color-primary);
  border-radius: 50%;
  opacity: 0.5;
}


.review-product {
  font-size: 0.95rem;
  color: #64748b;
}

.review-product a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.review-product a:hover {
  color: var(--color-green-light);
}




/* CTA Section */
.cta {
  padding: 8rem 0;
  text-align: center;
  background: linear-gradient(var(--color-overlay), var(--color-overlay)),
    url('../images/cta-bg.jpg') center/cover fixed;
  color: var(--color-background);
  position: relative;
}

.newsletter-form {
  max-width: 500px;
  margin: 2rem auto 0;
  display: flex;
  gap: 1rem;
}

.newsletter-form input {
  flex: 1;
  padding: 1rem 1.5rem;
  border: none;
  border-radius: 30px;
  outline: none;
  font-size: 1rem;
}

.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: var(--color-secondary);
  color: white;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 600;
  transition: var(--transition-smooth);
  border: none;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  background: #ff7a9e;
}

.btn.add-to-cart {
  background: var(--color-secondary);
  color: white;
}

.btn.add-to-cart:hover {
  background: #ff7a9e;
  transform: translateY(-2px);
}

.product-section {
  margin-bottom: 2rem;
}

.product-section h3 {
  color: var(--color-primary);
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.section-content {
  color: #4a5568;
  line-height: 1.6;
}

.btn.order-now {
  background: var(--color-primary);
  color: white;
}

.btn.order-now:hover {
  background: var(--color-green-light);
}

.btn.add-to-cart::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.add-to-cart:active::before {
  width: 200%;
  height: 200%;
}

.btn.add-to-cart.in-cart {
  background: var(--color-green-dark);
  cursor: default;
}

.btn.add-to-cart.in-cart:hover {
  transform: none;
  box-shadow: none;
}

/* Mobile styles for product guarantee */
.mobile-only {
  display: none;
}

@media (max-width: 768px) {
  .mobile-only {
    display: block;
    margin-top: 2rem;
  }
  
  .desktop-only {
    display: none;
  }
  
  .product-buttons {
    margin-bottom: 2rem;
  }
}

/* Footer */
.footer {
  background: var(--color-primary);
  color: var(--color-background);
  padding: 5rem 0 3rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
}

.footer-links h3 {
  margin-bottom: 1.5rem;
  font-size: 1.4rem;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: var(--color-background);
  text-decoration: none;
  opacity: 0.8;
  transition: var(--transition-smooth);
}

.footer-links a:hover {
  opacity: 1;
  transform: translateX(5px);
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  opacity: 0.8;
}

/* Mobile Menu */
.hamburger {
  display: none;
  cursor: pointer;
  width: 30px;
  height: 20px;
  position: relative;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-text);
  position: absolute;
  transition: var(--transition-smooth);
}

.hamburger span:first-child {
  top: 0;
}

.hamburger span:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}

.hamburger span:last-child {
  bottom: 0;
}

.hamburger.active span:first-child {
  transform: translateY(9px) rotate(45deg);
}

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

.hamburger.active span:last-child {
  transform: translateY(-9px) rotate(-45deg);
}

/* Responsive Design */
@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: white;
    flex-direction: column;
    padding: 2rem;
    transition: var(--transition-smooth);
  }

  .nav-menu.active {
    left: 0;
  }

  .mobile-category-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    text-decoration: none;
    color: var(--color-text);
    transition: all 0.3s ease;
  }

  .mobile-category-card:hover,
  .mobile-category-card:active {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  }

  .mobile-category-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
  }

  .mobile-subcategories {
    margin-top: 1rem;
    display: grid;
    gap: 0.75rem;
  }

  .mobile-subcategory-card {
    background: #f5f5f5;
    border-radius: 8px;
    padding: 1rem;
    text-decoration: none;
    color: var(--color-text);
    transition: all 0.3s ease;
  }

  .mobile-subcategory-card:hover,
  .mobile-subcategory-card:active {
    background: var(--color-primary);
    color: white;
  }

  .mobile-catalog-grid {
    display: grid;
    gap: 1rem;
  }

  .mobile-catalog {
    display: block;
    padding: 2rem 0;
  }

  .catalog-dropdown {
    display: none;
  }

  .catalog-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .nav-item.active .catalog-dropdown {
    max-height: 2000px;
    padding: 1rem 0;
  }

  
    
  .hero {
    height: 80vh;
  }

  .category-list,
  .subcategory-list {
    width: 100%;
  }

  .video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-overlay);
    z-index: 1;
  }
    
  .section-title {
    font-size: 2.2rem;
    margin-bottom: 2.5rem;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }

  .weekly-bouquet {
    flex: 0 0 100%;
  }

  .order-steps {
    grid-template-columns: 1fr;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-form input,
  .newsletter-form .btn {
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

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

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

/* Product Detail Page */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  padding: 4rem 0;
  margin-top: 80px;
}

.product-features {
  margin-top: 2rem;
  padding: 2rem;
  background: #f8f9fa;
  border-radius: 12px;
}

.product-features h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: var(--color-primary);
}

.features-list {
  list-style: none;
  padding: 0;
}

.features-list li {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  color: #4a5568;
}

.features-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: bold;
}

.product-care {
  margin-top: 2rem;
  padding: 2rem;
  background: var(--color-accent);
  border-radius: 12px;
}

.product-care h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: var(--color-primary);
}

.care-tips {
  list-style: none;
  padding: 0;
}

.care-tips li {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
  position: relative;
  color: #4a5568;
}

.care-tips li::before {
  content: "•";
  position: absolute;
  left: 0.5rem;
  color: var(--color-primary);
  font-weight: bold;
}

.features-list,
.care-tips {
  list-style: none;
  padding: 0;
  margin: 0;
}

.features-list li,
.care-tips li {
  padding-left: 1.8rem;
  position: relative;
  margin-bottom: 1rem;
  line-height: 1.6;
  color: #4a5568;
}

.product-guarantee {
  background: #f0f9ff;
  border-radius: 12px;
  padding: 1.5rem;
  margin-top: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.product-guarantee h3 {
  color: var(--color-primary);
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.guarantee-text {
  color: #4a5568;
  line-height: 1.6;
}

.product-gallery {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.product-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
}

.btn.add-to-cart,
.btn.order-now {
  width: 100%;
  padding: 1rem;
  font-size: 1.1rem;
  text-align: center;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.main-image {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.main-image:hover img {
  transform: scale(1.05);
}

.thumbnail-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.thumbnail {
  aspect-ratio: 1;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  opacity: 0.6;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border: 2px solid transparent;
}

.thumbnail:hover,
.thumbnail.active {
  opacity: 1;
  transform: translateY(-2px);
  border-color: var(--color-primary);
}

.thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.breadcrumbs {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 1rem;
}

.search-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
}

.search-wrapper input {
  width: 100%;
  padding: 0.875rem 3rem 0.875rem 1rem;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  font-size: 0.9375rem;
  color: var(--color-text);
  transition: all 0.2s ease;
}

.search-wrapper input:focus {
  border-color: var(--color-primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(74, 103, 65, 0.12);
}


.breadcrumbs a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.breadcrumbs span {
  margin: 0 0.5rem;
}

.product-title {
  font-size: 2.5rem;
  color: var(--color-text);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.btn.view-all:hover {
  background: var(--color-green-light);
  transform: translateY(-2px);
}

.view-all-container {
  text-align: center;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.btn.view-all {
  display: inline-block;
  background: var(--color-primary);
  color: white;
  padding: 1rem 2.5rem;
  border-radius: 30px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.product-sku {
    font-size: 0.9rem;
    color: #6b7280;
    margin: -0.5rem 0 1rem;
}

.original-price::after {
  content: "₴";
  font-size: 0.9rem;
  opacity: 0.8;
}

.product-detail .product-price-block {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin: 1rem 0;
}

.product-detail .discounted-price {
  font-size: 2rem;
}

.product-detail .discounted-price::after {
  font-size: 1.4rem;
}

.product-detail .original-price {
  font-size: 1.4rem;
}

.product-detail .original-price::after {
  font-size: 1rem;
}

.product-detail .product-price {
  font-size: 2rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.product-detail .product-price::after {
  content: "₴";
  font-size: 1.4rem;
  opacity: 0.8;
}

.product-price {
  font-size: 2.2rem;
  color: var(--color-primary);
  font-weight: 600;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.product-price::after {
  content: "₴";
  font-size: 1.4rem;
  opacity: 0.8;
}

.product-description {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #4a5568;
  margin-bottom: 2rem;
}

.desktop-only {
  display: block;
}

.mobile-only {
  display: none;
}

@media (max-width: 1024px) {
  .product-detail {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .product-title {
    font-size: 2rem;
  }
  
  .product-price {
    font-size: 1.8rem;
  }

  .desktop-only {
    display: none;
  }

  .mobile-only {
    display: block;
  }

  .filters-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .search-group {
    grid-column: 1 / -1;
  }
  
  .price-group {
    grid-column: 1 / -1;
  }
}

/* Rest of the CSS remains unchanged */

@media (max-width: 768px) {
  .products-grid {
    grid-template-columns: 1fr;
  }

  .subcategories-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 1rem;
  }

  .subcategory-card {
    background: var(--color-bg);
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    color: var(--color-text);
    transition: all 0.3s ease;
  }

  .subcategory-card:hover {
    transform: translateY(-2px);
    background: var(--color-primary);
    color: white;
  }

  .product-buttons {
    grid-template-columns: 1fr;
  }

  .thumbnail-gallery {
    grid-template-columns: repeat(3);
  }

  .category-item {
    margin-bottom: 0.5rem;
  }
  
  .catalog-dropdown .category-list {
    width: 100%;
    border-right: none;
  }

  .category-item .subcategory-list {
    position: static;
    width: 100%;
    box-shadow: none;
    padding: 0 0 0 1.5rem;
    margin-top: 0.5rem;
    transform: none;
    display: none;
    grid-template-columns: 1fr;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .search-input-wrapper {
    flex-direction: row;
  }

  .price-inputs {
    flex-direction: column;
  }

  .filter-actions {
    flex-direction: column;
  }

  .filter-actions button {
    width: 100%;
  }

  .catalog-filters {
    padding: 1rem;
    border-radius: 12px;
    margin: 2rem 0;
  }

  .filters-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .filter-group select,
  .filter-group input[type="text"],
  .filter-group input[type="number"] {
    padding: 0.875rem 1rem;
    font-size: 0.9rem;
  }

  .reviews {
    padding: 4rem 0;
  }
  .reviews-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
  }

  .review-card {
    padding: 2rem;
  }

  .review-author {
    font-size: 1rem;
  }

  .review-text {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }

  .filter-actions button {
    width: 100%;
  }

  .active-filters {
    margin: 0.75rem 0;
  }

  .category-item.active .subcategory-list {
    display: grid;
    visibility: visible;
    opacity: 1;
    max-height: 1000px;
  }

  .category-item > a,
  .subcategory-list a {
    padding: 1rem;
    background: #f5f5f5;
    margin-bottom: 0.5rem;
  }

  .product-detail .product-price-block {
    flex-direction: row;
    align-items: baseline;
  }

  .subcategory-list {
    position: static;
    width: 100%;
    padding: 0 0 0 1.5rem;
    display: none;
    grid-template-columns: 1fr;
  }

  .catalog-dropdown a {
    padding: 1rem;
    border-radius: 8px;
    background: #f5f5f5;
    margin-bottom: 0.5rem;
  }

  .category-card {
    margin-bottom: 1rem;
  }

  .catalog-dropdown ul {
    grid-template-columns: 1fr;
  }
  
  .catalog-dropdown li {
    animation: none;
    opacity: 1;
  }

  .product-detail {
    padding: 1rem;
  }

  .catalog-dropdown a {
    padding: 1rem;
    border-radius: 8px;
    background: #f5f5f5;
    margin-bottom: 0.5rem;
  }

  .catalog-dropdown a:hover {
    transform: none;
    background: #ebebeb;
  }

  .category-item.active .subcategory-list {
    display: grid;
  }

  .thumbnail-gallery {
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
  }

  .weekly-bouquet-image {
    aspect-ratio: 3/2;
  }

  .advanced-filters {
    grid-template-columns: 1fr;
  }

  .main-image {
    aspect-ratio: 3/2;
  }

  .product-title {
    font-size: 1.8rem;
  }

  .product-description {
    font-size: 1rem;
  }

  .product-price {
    font-size: 1.6rem;
  }
  

  .thumbnail {
    width: 60px;
    height: 60px;
  }
}

@media (max-width: 480px) {
  .thumbnail-gallery {
    grid-template-columns: repeat(3);
  }

  .product-detail {
    padding: 1rem;
  }

  .product-price-block {
    flex-direction: row;
    align-items: baseline;
  }

  .product-title {
    font-size: 1.5rem;
  }

  .product-price {
    font-size: 1.4rem;
  }
}