:root {
  --primary: #1A1F2E;
  --primary-dark: #0F1419;
  --primary-light: #2A3441;
  --secondary: #B8860B;
  --secondary-dark: #8B6914;
  --secondary-light: #D4AF37;
  --accent: #CD853F;
  --accent-dark: #A0522D;
  --text: #1A1A1A;
  --text-light: #5A5A5A;
  --text-lighter: #8A8A8A;
  --bg: #FFFFFF;
  --bg-light: #F5F5F5;
  --bg-warm: #F8F6F2;
  --bg-dark: #1E1E1E;
  --border: #D0D0D0;
  --border-dark: #3A3A3A;
  --success: #2D8659;
  --error: #C0392B;
  --gold: #D4AF37;
  --bronze: #CD7F32;
  
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 3rem;
  --spacing-xl: 5rem;
  
  --radius: 8px;
  --radius-lg: 16px;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
  
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Raleway', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background-color: var(--bg);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  line-height: 1.2;
  color: var(--primary-dark);
  margin-bottom: var(--spacing-md);
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
}

p {
  margin-bottom: var(--spacing-md);
  color: var(--text-light);
  font-size: 1.0625rem;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover,
a:focus {
  color: var(--secondary);
}

ul, ol {
  margin-bottom: var(--spacing-md);
  padding-left: 1.5rem;
}

li {
  margin-bottom: var(--spacing-xs);
  color: var(--text-light);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.section {
  padding: var(--spacing-xl) 0;
}

.section--lg {
  padding: var(--spacing-xl) 0;
}

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

.subtitle {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--secondary-dark);
  margin-bottom: var(--spacing-sm);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(26, 31, 46, 0.98);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--secondary);
  z-index: 1000;
  transition: var(--transition);
}

.site-header.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  background: rgba(26, 31, 46, 0.99);
}

.flex-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--spacing-md) 0;
}

.site-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: -0.02em;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.nav-toggle {
  display: none;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--gold);
  transition: var(--transition);
}

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

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

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

.site-nav {
  display: flex;
}

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

.nav-item {
  margin: 0;
}

.nav-link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--gold);
  padding: var(--spacing-xs) 0;
  position: relative;
  transition: var(--transition);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--secondary-light);
  transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link:hover,
.nav-link.active {
  color: var(--secondary-light);
}

.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  position: relative;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
  padding-top: 80px;
  overflow: hidden;
  color: var(--bg);
}

.hero h1,
.hero p,
.hero .subtitle {
  color: var(--bg);
}

.hero .subtitle {
  color: var(--gold);
}

.hero-bg-parallax {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.03;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-title-line {
  display: block;
  animation: fadeInUp 0.8s ease-out forwards;
  opacity: 0;
}

.hero-title-line:nth-child(1) {
  animation-delay: 0.1s;
}

.hero-title-line:nth-child(2) {
  animation-delay: 0.3s;
}

.hero-title-line:nth-child(3) {
  animation-delay: 0.5s;
}

.particles-container {
  position: relative;
  z-index: 1;
}

.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  border: 2px solid var(--secondary);
  background: transparent;
  color: var(--secondary);
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 8px rgba(184, 134, 11, 0.2);
}

.btn:hover,
.btn:focus {
  background: var(--secondary);
  color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(184, 134, 11, 0.4);
}

.btn--primary {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
  border-color: var(--secondary);
  color: var(--primary-dark);
  box-shadow: 0 4px 16px rgba(184, 134, 11, 0.3);
}

.btn--primary:hover,
.btn--primary:focus {
  background: linear-gradient(135deg, var(--secondary-light) 0%, var(--gold) 100%);
  border-color: var(--secondary-light);
  color: var(--primary-dark);
  box-shadow: 0 6px 24px rgba(184, 134, 11, 0.5);
  transform: translateY(-3px);
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-lg);
}

.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-md);
}

.collection-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-lg);
}

.card {
  background: var(--bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(26, 31, 46, 0.1);
  transition: var(--transition);
  border: 2px solid var(--border);
  background: linear-gradient(to bottom, var(--bg) 0%, var(--bg-warm) 100%);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(184, 134, 11, 0.25);
  border-color: var(--secondary);
}

.card-img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: var(--transition);
}

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

.card-content {
  padding: var(--spacing-md);
}

.card-title {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-sm);
  color: var(--primary-dark);
  font-weight: 600;
}

.card-price {
  display: block;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--secondary-dark);
  margin: var(--spacing-sm) 0;
}

.workshop-section {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: var(--bg);
  position: relative;
}

.workshop-section h2,
.workshop-section h3,
.workshop-section p,
.workshop-section li {
  color: var(--bg);
}

.workshop-section .subtitle {
  color: var(--gold);
}

.workshop-divider {
  display: none;
}

.workshop-item {
  background: rgba(255, 255, 255, 0.95);
  padding: var(--spacing-lg);
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  transition: var(--transition);
  border: 2px solid var(--border);
}

.workshop-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(184, 134, 11, 0.3);
  border-color: var(--secondary);
  background: var(--bg);
}

.workshop-item i {
  display: block;
  margin: 0 auto var(--spacing-md);
  color: var(--secondary);
}

.workshop-item h3 {
  margin-bottom: var(--spacing-sm);
}

.testimonials {
  background: linear-gradient(135deg, var(--bg-warm) 0%, var(--bg-light) 100%);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-lg);
}

.testimonial-card {
  background: var(--bg);
  padding: var(--spacing-lg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--secondary);
  transition: var(--transition);
}

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

.testimonial-text {
  font-style: italic;
  font-size: 1.0625rem;
  color: var(--text-light);
  margin-bottom: var(--spacing-md);
  position: relative;
  padding-left: var(--spacing-md);
}

.testimonial-text::before {
  content: '"';
  position: absolute;
  left: 0;
  top: -10px;
  font-size: 3rem;
  color: var(--secondary);
  opacity: 0.3;
  font-family: 'Playfair Display', serif;
}

.testimonial-author {
  font-weight: 600;
  color: var(--primary-dark);
}

.contact-section {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
  color: var(--bg);
  position: relative;
}

.contact-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 50%, rgba(212, 175, 55, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.contact-section h2,
.contact-section .subtitle,
.contact-section p {
  color: var(--bg);
}

.contact-section .btn {
  border-color: var(--bg);
  color: var(--bg);
}

.contact-section .btn:hover {
  background: var(--bg);
  color: var(--primary);
}

.contact-form {
  background: var(--bg);
  padding: var(--spacing-lg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.form-group {
  margin-bottom: var(--spacing-md);
}

.form-label {
  display: block;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: var(--spacing-xs);
  font-size: 0.9375rem;
}

.form-control {
  width: 100%;
  padding: 0.875rem;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
  background: var(--bg);
}

.form-control:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(212, 165, 116, 0.1);
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-xs);
}

.form-checkbox input {
  margin-top: 4px;
}

.site-footer {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: var(--bg);
  padding: var(--spacing-xl) 0 var(--spacing-md);
  border-top: 3px solid var(--secondary);
  position: relative;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--bg);
  margin-bottom: var(--spacing-md);
  display: inline-block;
}

.footer-contact {
  margin: var(--spacing-md) 0;
}

.footer-contact p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: var(--spacing-xs);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-md);
  margin: var(--spacing-md) 0;
}

.footer-link {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9375rem;
  transition: var(--transition);
}

.footer-link:hover {
  color: var(--secondary);
}

.copyright {
  margin-top: var(--spacing-lg);
  padding-top: var(--spacing-md);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
  text-align: center;
}

.cookie-popup {
  position: fixed;
  bottom: var(--spacing-md);
  left: var(--spacing-md);
  right: var(--spacing-md);
  max-width: 500px;
  background: var(--bg);
  padding: var(--spacing-md);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  z-index: 9999;
  transform: translateY(200%);
  transition: var(--transition);
  border: 1px solid var(--border);
}

.cookie-popup.active {
  transform: translateY(0);
}

.cookie-popup p {
  margin-bottom: var(--spacing-md);
  font-size: 0.9375rem;
}

.cookie-buttons {
  display: flex;
  gap: var(--spacing-sm);
}

.cookie-buttons .btn {
  flex: 1;
  padding: 0.75rem 1.5rem;
  font-size: 0.9375rem;
}

.hidden {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.catalog-header {
  text-align: center;
  margin-bottom: var(--spacing-xl);
}

.catalog-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-lg);
}

.catalog-filter {
  padding: 0.75rem 1.5rem;
  background: var(--bg);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
  font-weight: 500;
}

.catalog-filter:hover,
.catalog-filter.active {
  background: var(--secondary);
  border-color: var(--secondary);
  color: var(--bg);
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--spacing-lg);
}

.timeline {
  position: relative;
  padding: var(--spacing-lg) 0;
}

.timeline-item {
  display: flex;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
  position: relative;
}

.timeline-number {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
  color: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(184, 134, 11, 0.3);
}

.timeline-content h3 {
  margin-bottom: var(--spacing-xs);
}

.error-page,
.thank-you-page {
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--spacing-xl) var(--spacing-md);
}

.error-illustration,
.thank-you-illustration {
  margin-bottom: var(--spacing-lg);
}

.accordion {
  max-width: 800px;
  margin: 0 auto;
}

.accordion-item {
  border-bottom: 1px solid var(--border);
  margin-bottom: var(--spacing-sm);
}

.accordion-header {
  padding: var(--spacing-md);
  cursor: pointer;
  font-weight: 600;
  color: var(--primary-dark);
  position: relative;
  transition: var(--transition);
}

.accordion-header:hover {
  color: var(--secondary-dark);
  background: var(--bg-warm);
}

.accordion-header::after {
  content: '+';
  position: absolute;
  right: var(--spacing-md);
  font-size: 1.5rem;
  transition: var(--transition);
}

.accordion-header.active::after {
  content: '−';
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 var(--spacing-md);
}

.accordion-content p {
  padding: var(--spacing-md);
  margin: 0;
}

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

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

@media (min-width: 768px) {
  .grid-2 {
    grid-template-columns: 1fr 1fr;
  }
  
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .nav-toggle {
    display: none;
  }
  
  .site-nav {
    position: static;
    width: auto;
    height: auto;
    background: none;
    transform: none;
  }
  
  .nav-list {
    display: flex;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 var(--spacing-sm);
  }
  
  .section {
    padding: var(--spacing-lg) 0;
  }
  
  .section--lg {
    padding: var(--spacing-xl) 0;
  }
  
  .nav-toggle {
    display: flex;
  }
  
  .site-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100vh;
    background: var(--primary-dark);
    transform: translateX(100%);
    transition: var(--transition);
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.4);
    z-index: 1000;
    padding: var(--spacing-xl) var(--spacing-md);
    border-left: 2px solid var(--secondary);
  }
  
  .site-nav.active {
    transform: translateX(0);
  }
  
  .nav-list {
    flex-direction: column;
    gap: var(--spacing-md);
  }
  
  .nav-link {
    font-size: 1.125rem;
    color: var(--gold);
    padding: var(--spacing-sm) 0;
  }
  
  .nav-link::after {
    background: var(--secondary-light);
  }
  
  .hero {
    min-height: 70vh;
    padding-top: 100px;
    text-align: center;
  }
  
  .hero-content {
    text-align: center;
  }
  
  h1 {
    font-size: 2.25rem;
    margin-bottom: var(--spacing-sm);
  }
  
  h2 {
    font-size: 1.875rem;
    margin-bottom: var(--spacing-sm);
  }
  
  h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-xs);
  }
  
  h4 {
    font-size: 1.25rem;
  }
  
  p {
    font-size: 1rem;
    margin-bottom: var(--spacing-sm);
  }
  
  .subtitle {
    font-size: 0.8125rem;
  }
  
  .collection-grid,
  .catalog-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }
  
  .testimonial-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }
  
  .card-img {
    height: 240px;
  }
  
  .card-content {
    padding: var(--spacing-sm);
  }
  
  .btn {
    width: 100%;
    text-align: center;
    padding: 0.875rem 1.5rem;
    font-size: 0.9375rem;
  }
  
  .footer-nav {
    flex-direction: column;
    gap: var(--spacing-sm);
    text-align: center;
  }
  
  .footer-contact {
    text-align: center;
  }
  
  .cookie-popup {
    left: var(--spacing-sm);
    right: var(--spacing-sm);
    max-width: none;
    bottom: var(--spacing-sm);
  }
  
  .cookie-buttons {
    flex-direction: column;
  }
  
  .cookie-buttons .btn {
    width: 100%;
  }
  
  .workshop-item {
    padding: var(--spacing-md);
    margin-bottom: var(--spacing-md);
  }
  
  .workshop-item i {
    font-size: 2rem;
  }
  
  .timeline-item {
    flex-direction: column;
    text-align: center;
    padding: var(--spacing-md);
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius);
    margin-bottom: var(--spacing-md);
  }
  
  .timeline-number {
    margin: 0 auto var(--spacing-sm);
  }
  
  .grid-2 {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }
  
  .grid-3 {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }
  
  .contact-form {
    padding: var(--spacing-md);
  }
  
  .form-control {
    font-size: 1rem;
  }
  
  .testimonial-card {
    padding: var(--spacing-md);
  }
  
  .accordion-header {
    padding: var(--spacing-sm);
    font-size: 1rem;
  }
  
  .accordion-content {
    padding: 0 var(--spacing-sm);
  }
  
  .catalog-nav {
    gap: var(--spacing-xs);
  }
  
  .catalog-filter {
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
  }
}

/* Table responsive styles for medium-small screens */
@media (min-width: 321px) and (max-width: 480px) {
  .table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  .table-wrapper table {
    min-width: 500px;
    font-size: 0.875rem;
  }
  
  .table-wrapper table th,
  .table-wrapper table td {
    padding: 8px !important;
    font-size: 0.8125rem;
  }
}

@media (max-width: 320px) {
  .container {
    padding: 0 var(--spacing-xs);
  }
  
  .site-logo {
    font-size: 1.125rem;
  }
  
  .site-header {
    padding: var(--spacing-xs) 0;
  }
  
  .flex-between {
    padding: var(--spacing-xs) 0;
  }
  
  .nav-toggle {
    width: 28px;
    height: 28px;
  }
  
  .site-nav {
    width: 100%;
    padding: var(--spacing-lg) var(--spacing-sm);
  }
  
  .nav-link {
    font-size: 1rem;
    padding: var(--spacing-xs) 0;
  }
  
  h1 {
    font-size: 1.5rem;
    line-height: 1.2;
    margin-bottom: var(--spacing-xs);
  }
  
  h2 {
    font-size: 1.5rem;
    line-height: 1.3;
    margin-bottom: var(--spacing-xs);
  }
  
  h3 {
    font-size: 1.25rem;
    line-height: 1.3;
    margin-bottom: var(--spacing-xs);
  }
  
  h4 {
    font-size: 1.125rem;
  }
  
  .subtitle {
    font-size: 0.75rem;
    margin-bottom: var(--spacing-xs);
  }
  
  p {
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: var(--spacing-sm);
  }
  
  .btn {
    padding: 0.75rem 1.25rem;
    font-size: 0.875rem;
    width: 100%;
  }
  
  .section {
    padding: var(--spacing-md) 0;
  }
  
  .section--lg {
    padding: var(--spacing-lg) 0;
  }
  
  .hero {
    min-height: 60vh;
    padding-top: 80px;
    padding-bottom: var(--spacing-md);
  }
  
  .hero-title-line {
    font-size: 1.875rem;
  }
  
  .card-img {
    height: 180px;
  }
  
  .card-content {
    padding: var(--spacing-xs);
  }
  
  .card-title {
    font-size: 1.125rem;
  }
  
  .card-price {
    font-size: 1rem;
  }
  
  .workshop-item {
    padding: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
  }
  
  .workshop-item i {
    font-size: 1.75rem;
    margin-bottom: var(--spacing-xs);
  }
  
  .workshop-item h3 {
    font-size: 1.125rem;
  }
  
  .workshop-item p {
    font-size: 0.875rem;
  }
  
  .testimonial-card {
    padding: var(--spacing-sm);
  }
  
  .testimonial-text {
    font-size: 0.9375rem;
    padding-left: var(--spacing-sm);
  }
  
  .testimonial-text::before {
    font-size: 2.5rem;
    top: -8px;
  }
  
  .testimonial-author {
    font-size: 0.875rem;
  }
  
  .contact-form {
    padding: var(--spacing-sm);
  }
  
  .form-label {
    font-size: 0.875rem;
  }
  
  .form-control {
    padding: 0.75rem;
    font-size: 0.9375rem;
  }
  
  .footer-logo {
    font-size: 1.5rem;
  }
  
  .footer-contact p {
    font-size: 0.875rem;
  }
  
  .footer-link {
    font-size: 0.875rem;
  }
  
  .copyright {
    font-size: 0.75rem;
  }
  
  .cookie-popup {
    padding: var(--spacing-sm);
    font-size: 0.875rem;
    left: var(--spacing-xs);
    right: var(--spacing-xs);
    bottom: var(--spacing-xs);
  }
  
  .cookie-popup p {
    font-size: 0.8125rem;
    margin-bottom: var(--spacing-sm);
  }
  
  .cookie-buttons .btn {
    padding: 0.625rem 1rem;
    font-size: 0.8125rem;
  }
  
  .catalog-filter {
    padding: 0.5rem 1rem;
    font-size: 0.8125rem;
  }
  
  .timeline-item {
    padding: var(--spacing-sm);
  }
  
  .timeline-number {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  
  .timeline-content h3 {
    font-size: 1.125rem;
  }
  
  .timeline-content p {
    font-size: 0.875rem;
  }
  
  .accordion-header {
    padding: var(--spacing-xs);
    font-size: 0.9375rem;
  }
  
  .accordion-content p {
    padding: var(--spacing-sm);
    font-size: 0.875rem;
  }
  
  .error-page,
  .thank-you-page {
    padding: var(--spacing-md) var(--spacing-xs);
  }
  
  .error-illustration,
  .thank-you-illustration {
    max-width: 200px;
  }
  
  ul, ol {
    padding-left: 1.25rem;
  }
  
  li {
    font-size: 0.875rem;
    margin-bottom: var(--spacing-xs);
  }
  
  /* About page specific styles for 320px */
  .section[style*="padding-top: 120px"] {
    padding-top: 80px !important;
  }
  
  .grid-2[style*="gap: var(--spacing-lg)"] {
    gap: var(--spacing-sm) !important;
  }
  
  .grid-2[style*="align-items: center"] {
    align-items: flex-start !important;
  }
  
  /* Ensure images in about page don't overflow */
  .grid-2 img {
    width: 100%;
    max-width: 100%;
    height: auto;
    margin-bottom: var(--spacing-sm);
  }
  
  /* Better spacing for process sections */
  .grid .grid-2 {
    margin-bottom: var(--spacing-md);
  }
  
  /* Improve text readability */
  .grid-2 p {
    font-size: 0.875rem;
    line-height: 1.6;
  }
  
  /* Ensure headings don't overflow */
  .grid-2 h3 {
    font-size: 1.125rem;
    word-wrap: break-word;
  }
  
  /* Cookies page specific styles for 320px */
  .table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    margin: var(--spacing-sm) 0;
  }
  
  .table-wrapper table {
    display: block;
    min-width: 100%;
    font-size: 0.8125rem;
  }
  
  .table-wrapper table thead {
    display: none;
  }
  
  .table-wrapper table tbody {
    display: block;
    width: 100%;
  }
  
  .table-wrapper table tr {
    display: block;
    margin-bottom: var(--spacing-sm);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: var(--spacing-xs);
    background: var(--bg-warm);
  }
  
  .table-wrapper table td {
    display: block;
    text-align: left !important;
    padding: var(--spacing-xs) !important;
    border: none !important;
    border-bottom: 1px solid var(--border) !important;
    position: relative;
    padding-left: 35% !important;
    font-size: 0.75rem;
  }
  
  .table-wrapper table td:last-child {
    border-bottom: none !important;
  }
  
  .table-wrapper table td::before {
    content: attr(data-label);
    font-weight: 600;
    color: var(--primary-dark);
    position: absolute;
    left: var(--spacing-xs);
    width: 30%;
    white-space: nowrap;
    font-size: 0.75rem;
  }
  
  /* Ensure all images scale properly */
  img {
    max-width: 100%;
    height: auto;
  }
  
  /* Adjust inline style gaps */
  [style*="gap: var(--spacing-lg)"] {
    gap: var(--spacing-sm) !important;
  }
  
  /* Better text wrapping */
  h1, h2, h3, h4, h5, h6 {
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  
  /* Ensure links are touch-friendly */
  a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    word-break: break-word;
  }
  
  /* Handle long URLs */
  a[href^="http"] {
    word-break: break-all;
    overflow-wrap: break-word;
  }
  
  /* Better paragraph text wrapping */
  p {
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
  }
  
  /* Adjust section padding */
  .section {
    padding-left: var(--spacing-xs) !important;
    padding-right: var(--spacing-xs) !important;
  }
  
  /* Better list spacing */
  ul, ol {
    padding-left: 1rem;
    margin-bottom: var(--spacing-sm);
  }
}
