:root {
  /* Color Palette */
  --deg-acc: #393B65;
  --deg-sub: #A294C7;
  --deg-sup: #F8F5FF;
  --deg-bg: #F1E3F0;
  --bg: #ffffff;
  --text: #222222;
  --muted: rgba(0,0,0,0.55);
  
  /* Semantic Colors */
  --success: #10b981;
  --error: #830000;
  --warning: #f59e0b;
  --info: #ef4444;
  
  /* Spacing System */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  
  /* Typography Scale */
  --text-xs: 12px;
  --text-sm: 14px;
  --text-base: 16px;
  --text-lg: 18px;
  --text-xl: 20px;
  --text-2xl: 24px;
  --text-3xl: 30px;
  --text-4xl: 36px;
  
  /* Layout */
  --radius: 12px;
  --container: 1200px;
  --card-gap: 20px;
  --page-size: 6;
  
  /* Animation */
  --anim-duration: 175ms;
  --anim-duration-slow: 250ms;
  --anim-easing: ease-in-out;
  
  /* Z-index Management */
  --z-dropdown: 200;
  --z-modal: 300;
  --z-gallery: 350;
  --z-toast: 400;
  --z-preloader: 9999;
  
  /* Focus & Accessibility */
  --focus-ring: 0 0 0 2px rgba(57, 59, 101, 0.3);
  --focus-ring-visible: 0 0 0 3px rgba(57, 59, 101, 0.4);
}

/* Respect User's Motion Preferences */
@media (prefers-reduced-motion: reduce) {
  :root {
    --anim-duration: 0ms;
    --anim-duration-slow: 0ms;
  }
  
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ===== RESET & BASE STYLES ===== */
* {
  box-sizing: border-box;
}

img {
  outline: none;
  border: 0;
  -webkit-user-select: none;
  user-select: none;
}

html, body {
  height: 100%;
}

*:not(svg,.fas, .social-icon i){
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif !important;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--deg-sup);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
  font-size: var(--text-base);
}

/* ===== LAYOUT & CONTAINERS ===== */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.page.blurred {
  filter: blur(4px);
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  margin: 0 0 var(--space-md);
  color: var(--deg-acc);
  font-weight: 700;
  line-height: 1.2;
}

h1 { font-size: var(--text-4xl); }
h2 { font-size: var(--text-3xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }
h5 { font-size: var(--text-lg); }
h6 { font-size: var(--text-base); }

p {
  margin: 0 0 var(--space-md);
  line-height: 1.6;
}

.section-title {
  text-align: center;
  margin-bottom: var(--space-2xl);
  color: var(--deg-acc);
  font-weight: 800;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-lg);
  border: none;
  border-radius: var(--radius);
  font-size: var(--text-base);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--anim-duration) var(--anim-easing);
  white-space: nowrap;
  min-height: 44px; /* Accessibility */
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(57, 59, 101, 0.15);
}

.btn:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring-visible);
}

.btn-primary {
  background: var(--deg-acc);
  color: white;
}

.btn-primary:hover {
  background: #2d2f4f;
}

.btn-secondary {
  background: var(--deg-sup);
  color: var(--deg-acc);
  border: 2px solid var(--deg-acc);
}

.btn-secondary:hover {
  background: var(--deg-acc);
  color: white;
}

.btn-quantity {
  background: transparent;
  border: 1px solid rgba(57, 59, 101, 0.2);
  color: var(--deg-acc);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--anim-duration) var(--anim-easing);
  font-weight: 600;
  font-size: var(--text-lg);
}

.btn-quantity:hover {
  background: var(--deg-acc);
  color: white;
  border-color: var(--deg-acc);
}

/* ===== HEADER ===== */
.site-header {
  background: var(--deg-sup);
  box-shadow: 0 0px 10px var(--deg-acc);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  position: sticky;
  top: 0;
  z-index: var(--z-dropdown);
  transition: box-shadow var(--anim-duration) var(--anim-easing), background-color var(--anim-duration) var(--anim-easing);
}

.site-header.scrolled {
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-xs) var(--space-xl);
}

.brand {
  display: flex;
  align-items: center;
}

.logo-link {
  text-decoration: none;
  color: inherit;
}

.logo-circle {
  width: 200px;
  height: 100px;
  max-height: 90px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.logo-circle.small {
  width: 200px;
  height: 80px;
}

.logo-small {
  width: 250%;
  height: 100%;
  object-fit: cover;
}

.nav {
  display: flex;
  gap: var(--space-xl);
}

.nav-link {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius);
  transition: all var(--anim-duration) var(--anim-easing);
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--deg-acc);
  background: var(--bg);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: var(--deg-acc);
  border-radius: 1px;
}

.actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.icon-btn {
  background: transparent;
  border: none;
  padding: var(--space-sm);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--anim-duration) var(--anim-easing);
  color: var(--text);
  font-size: 25px;
  position: relative;
}

.icon-btn:hover {
  background: var(--deg-sup);
  color: var(--deg-acc);
}

.badge {
  position: absolute;
  top: -12.5px;
  right: -12.5px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  align-content: center;
  justify-content: center;
  text-align: center;
  background: var(--deg-acc);
  color: white;
  opacity: 0.75;
  padding: var(--space-xs);
  font-size: var(--text-xs);
  font-weight: 700;
  border-radius: 50%;
  min-width: 20px;
  max-height: 20px;
  aspect-ratio: 1/1;
}

/* ===== MOBILE MENU ===== */
.hamburger {
  display: none;
  background: transparent;
  border: none;
  padding: var(--space-md);
  cursor: pointer;
  color: var(--text);
}

.hamburger i {
  display: inline-block;
  width: 30px;
  height: 30px;
  line-height: 30px;
  font-size: 30px;
  text-align: center;
  vertical-align: middle;
  object-fit: contain;
  transform-origin: center center;
  transition: transform var(--anim-duration-slow) var(--anim-easing), opacity var(--anim-duration-slow) var(--anim-easing);
  will-change: transform, opacity;
  backface-visibility: hidden;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

.hamburger i.fade-out {
  opacity: 0;
  transform: rotate(90deg);
}

.hamburger i.fade-in {
  opacity: 1;
  transform: rotate(0deg);
}

.site-header:has(.mobile-menu.open) .hamburger i img {
  filter: invert(19%) sepia(9%) saturate(3617%) hue-rotate(199deg) brightness(93%) contrast(81%);
  transition: filter var(--anim-duration) var(--anim-easing);
}

.mobile-menu {
  background: var(--deg-sup);
  border-top: 1px solid rgba(0,0,0,0.06);
  padding: 0;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transform: translateY(-8px);
  visibility: hidden;
  pointer-events: none;
  transition: max-height var(--anim-duration-slow) var(--anim-easing), opacity var(--anim-duration-slow) var(--anim-easing), transform var(--anim-duration-slow) var(--anim-easing), padding var(--anim-duration-slow) var(--anim-easing);
  will-change: max-height, opacity, transform;
}

.mobile-menu.hidden {
  display: none;
  transition: all var(--anim-duration) var(--anim-easing);
}

.mobile-menu.open {
  max-height: 400px;
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
  pointer-events: auto;
  padding: var(--space-md) 0;
}

.mobile-link {
  display: block;
  padding: var(--space-md);
  margin: var(--space-md);
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  text-align: right;
  border-radius: var(--radius);
  transition: all var(--anim-duration) var(--anim-easing);
}

.mobile-link:hover,
.mobile-link.active {
  background: var(--deg-bg);
  color: var(--deg-acc);
}

/* ===== HERO SECTION ===== */
.hero {
  padding: var(--space-2xl) 0;
  background: linear-gradient(135deg, var(--deg-acc), var(--deg-sub));
  color: white;
  text-align: center;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

.hero-text h1 {
  color: white;
  margin-bottom: var(--space-lg);
}

.hero-text p {
  font-size: var(--text-xl);
  margin-bottom: var(--space-xl);
  opacity: 0.9;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-img {
  max-width: 50%;
  height: auto;
  border-radius: 50%;
  background-color: var(--deg-bg);
  box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

/* ===== PRODUCTS SECTION ===== */
.products {
  padding: var(--space-2xl) 0;
}

.grid {
  display: grid;
  direction: rtl;
  align-content: center;
  justify-content: center;
  justify-items: center;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
  gap: var(--card-gap);
  margin-bottom: var(--space-xl);
}

/* ===== PRODUCT CARDS ===== */
.product-card {
  background: var(--bg);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 0px 40px rgba(0,0,0,0.125);
  display: flex;
  flex-direction: column;
  transition: all var(--anim-duration) var(--anim-easing);
  will-change: transform;
  border: 1px solid rgba(0,0,0,0.04);
  position: relative;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 80px rgba(57,59,101,0.12);
}

.product-media {
  width: 100%;
  aspect-ratio: 1/1;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  cursor: pointer;
}

.product-media::before {
  content: "";
  position: absolute;
  inset: 0;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  background: linear-gradient(120deg, var(--deg-acc), var(--deg-sub), var(--deg-bg));
  opacity: 0.5;
  z-index: -1;
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all var(--anim-duration-slow) var(--anim-easing) !important;
}

.product-media:hover img {
  transform: scale(1.1);
}

.product-media::after {
  content: '🔍';
  position: absolute;
  top: var(--space-sm);
  right: var(--space-sm);
  background: rgba(255,255,255,0.9);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-sm);
  opacity: 0;
  transition: opacity var(--anim-duration) var(--anim-easing);
}

.product-media:hover::after {
  opacity: 1;
}

.product-badge {
  position: absolute;
  top: var(--space-sm);
  left: var(--space-sm);
  background: var(--deg-acc);
  color: white;
  padding: var(--space-xs) var(--space-sm);
  border-radius: 12px;
  font-size: var(--text-xs);
  font-weight: 600;
  z-index: 1;
}

.product-body {
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  flex: 1;
  text-align: right;
}

.product-title {
  margin: 0;
  font-size: var(--text-lg);
  color: var(--deg-acc);
  font-weight: 700;
  line-height: 1.3;
}

.product-desc {
  margin: 0;
  color: var(--muted);
  font-size: var(--text-sm);
  line-height: 1.5;
  flex: 1;
}

.product-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
}

.product-price {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.product-price s {
  color: var(--muted);
  font-size: var(--text-sm);
  text-decoration: line-through;
}

.product-price strong {
  color: var(--deg-acc);
  font-size: var(--text-lg);
  font-weight: 700;
}

.product-actions {
  display: flex;
  gap: var(--space-sm);
  align-items: center;
  justify-content: center;
}

.quantity-display {
  background: var(--deg-sup);
  color: var(--deg-acc);
  padding: var(--space-xs) var(--space-sm);
  border-radius: 16px;
  font-weight: 600;
  font-size: var(--text-sm);
  min-width: 40px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-content: center;
  flex-wrap: wrap;
}

.add-to-cart-btn {
  background: var(--deg-acc);
  color: white;
  border: none;
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--anim-duration) var(--anim-easing);
  white-space: nowrap;
}

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

/* ===== PAGER ===== */
.pager {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  margin-top: var(--space-xl);
}

.pager button {
  background: var(--deg-sup);
  border: 1px solid rgba(57,59,101,0.2);
  color: var(--deg-acc);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--anim-duration) var(--anim-easing);
  font-weight: 500;
  min-width: 40px;
}

.pager button:hover,
.pager button.active {
  background: var(--deg-acc);
  color: white;
  border-color: var(--deg-acc);
}

/* ===== ABOUT SECTION ===== */
.about {
  padding: var(--space-2xl) 0;
  background: linear-gradient(180deg, var(--deg-sup) 0%, rgba(255,255,255,0.8) 100%);
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: start;
}

.about-card {
  background: var(--bg);
  padding: var(--space-xl);
  border-radius: 20px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.08);
  border: 1px solid rgba(0,0,0,0.04);
  text-align: right;
}

.about-card h3 {
  color: var(--deg-acc);
  margin-bottom: var(--space-md);
}

.about-card p {
  color: var(--muted);
  margin-bottom: var(--space-lg);
}

.contacts {
  background: var(--bg);
  padding: var(--space-xl);
  border-radius: 20px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.08);
  border: 1px solid rgba(0,0,0,0.04);
  text-align: right;
}

.contacts h4 {
  color: var(--deg-acc);
  margin-bottom: var(--space-lg);
}

.contacts ul {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-lg);
}

.contacts li {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
  color: var(--muted);
}

.contacts i {
  color: var(--deg-acc);
  width: 20px;
  text-align: center;
}

.contact-link {
  color: var(--deg-sub);
  text-decoration: none;
  transition: color var(--anim-duration) var(--anim-easing);
}

.contact-link:hover {
  color: var(--deg-acc);
}

/* ===== SHOP PAGE SPECIFIC ===== */
.shop-header {
  background: linear-gradient(135deg, var(--deg-acc), var(--deg-sub));
  color: white;
  padding: var(--space-2xl) 0;
  text-align: center;
}

.shop-header h1 {
  color: white;
  margin-bottom: var(--space-md);
}

.shop-header p {
  font-size: var(--text-xl);
  opacity: 0.9;
}

.products-section {
  padding: var(--space-2xl) 0;
}

.products-header {
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-xl);
  flex-wrap: wrap;
  gap: var(--space-md);
}

.products-count {
  background: var(--deg-sup);
  padding: var(--space-sm) var(--space-md);
  border-radius: 20px;
  color: var(--deg-acc);
  font-weight: 600;
  font-size: var(--text-sm);
}

/* ===== CART DROPDOWN ===== */
.cart-dropdown {
  position: fixed;
  top: 100px;
  width: 100dvw !important;
  height: 100%;
  z-index: var(--z-dropdown);
  overflow: hidden;
  display: block;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.cart-dropdown-container {
  position: fixed;
  right: 10vw;
  top: 10px;
  width: 400px;
  max-width: 90vw;
  background: var(--bg);
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
  border: 1px solid rgba(0,0,0,0.08);
  z-index: var(--z-dropdown);
  overflow: hidden;
  display: block;
}

.cart-dropdown .btn {
  width: 100%;
}

.cart-dropdown.hidden {
  display: none;
}

.cart-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-lg);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  background: var(--deg-sup);
}

.cart-head h4 {
  margin: 0;
  color: var(--deg-acc);
}

.cart-items {
  max-height: 300px;
  overflow-y: auto;
  padding: var(--space-lg);
}

.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-md) 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.cart-item:last-child {
  border-bottom: none;
}

.remove-item {
  background: transparent;
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: var(--error);
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius);
  cursor: pointer;
  font-size: var(--text-sm);
  transition: all var(--anim-duration) var(--anim-easing);
}

.remove-item:hover {
  background: var(--error);
  color: white;
  border-color: var(--error);
}

.cart-footer {
  padding: var(--space-lg);
  border-top: 1px solid rgba(0,0,0,0.06);
  background: var(--deg-sup);
}

.totals {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-md);
  font-weight: 600;
  color: var(--deg-acc);
}

.empty {
  text-align: center;
  color: var(--muted);
  padding: var(--space-xl);
}

/* ===== MODALS ===== */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: var(--z-modal);
  padding: var(--space-md);
}

.modal.hidden {
  display: none;
}

.modal-inner {
  background: var(--bg);
  border-radius: 20px;
  padding: var(--space-xl);
  max-width: 500px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 24px 80px rgba(0,0,0,0.2);
}

.close-modal {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  background: transparent;
  border: none;
  font-size: var(--text-xl);
  cursor: pointer;
  color: var(--muted);
  transition: color var(--anim-duration) var(--anim-easing);
}

.close-modal:hover {
  color: var(--deg-acc);
}

.modal h3 {
  margin-bottom: var(--space-lg);
  text-align: center;
}

/* ===== CHECKOUT FORM ===== */
.checkout-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.form-group label {
  font-weight: 600;
  color: var(--deg-acc);
  font-size: var(--text-sm);
}

.form-group input,
.form-group textarea {
  padding: var(--space-md);
  border: 2px solid rgba(0,0,0,0.08);
  border-radius: var(--radius);
  font-size: var(--text-base);
  transition: all var(--anim-duration) var(--anim-easing);
  background: var(--bg);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--deg-acc);
  box-shadow: var(--focus-ring);
  transform: translateY(-1px);
}

.form-group input:hover,
.form-group textarea:hover {
  border-color: rgba(57,59,101,0.2);
}

.summary {
  background: var(--deg-sup);
  padding: var(--space-lg);
  border-radius: var(--radius);
  margin-top: var(--space-lg);
}

.line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-md);
  font-weight: 600;
  color: var(--deg-acc);
}

/* ===== GALLERY MODAL ===== */
.gallery-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: var(--z-gallery);
  padding: var(--space-md);
}

.gallery-modal.hidden {
  display: none;
}

.gallery-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}

.gallery-main {
  width: 35%;
  height: 35%;
  object-fit: contain;
  border-radius: var(--radius);
}

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.9);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-lg);
  color: var(--deg-acc);
  transition: all var(--anim-duration) var(--anim-easing);
}

.gallery-nav:hover {
  background: white;
  transform: translateY(-50%) scale(1.1);
}

.gallery-prev {
  left: -25px;
}

.gallery-next {
  right: -25px;
}

.gallery-close {
  position: absolute;
  top: -60px;
  right: 0;
  background: rgba(255,255,255,0.9);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-lg);
  color: var(--deg-acc);
  transition: all var(--anim-duration) var(--anim-easing);
}

.gallery-close:hover {
  background: white;
  transform: scale(1.1);
}

.gallery-thumbnails {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  margin-top: var(--space-md);
}

.gallery-thumb {
  width: 60px;
  height: 60px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--anim-duration) var(--anim-easing);
  border: 2px solid transparent;
}

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

.gallery-thumb.active {
  border-color: var(--deg-acc);
  transform: scale(1.1);
}

/* ===== GO TO TOP BUTTON ===== */
.go-to-top {
  position: fixed;
  bottom: var(--space-lg);
  right: var(--space-lg);
  width: 50px;
  height: 50px;
  background: var(--deg-acc);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-lg);
  transition: all var(--anim-duration) var(--anim-easing);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  z-index: var(--z-toast);
}

.go-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.go-to-top:hover {
  background: #2d2f4f;
  transform: translateY(-2px);
}

.progress-circle {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.progress-bg {
  fill: none;
  stroke: rgba(255,255,255,0.3);
  stroke-width: 2;
}

.progress-fill {
  fill: none;
  stroke: white;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 0 100;
  transform: rotate(-90deg);
  transform-origin: 50% 50%;
}

/* ===== TOAST NOTIFICATIONS ===== */
.toast {
  position: fixed;
  bottom: var(--space-lg);
  right: var(--space-lg);
  left: 25%;
  background: var(--success);
  width: 50%;
  max-width: 50%;
  color: white;
  text-align: center;
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  z-index: var(--z-toast);
  font-weight: 600;
  transform: translateY(100%);
  transition: transform var(--anim-duration) var(--anim-easing);
}

.toast.hidden {
  transform: translateY(100%);
}

.toast:not(.hidden) {
  transform: translateY(0);
}

.toast.error {
  background: var(--error);
}

.toast.warning {
  background: var(--warning);
}

.toast.info {
  background: var(--info);
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--deg-acc);
  color: white;
  padding: var(--space-xl) 0;
  margin-top: auto;
}

.footer-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  flex-wrap: wrap;
}

footer .social-grid-footer {
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 5%;
  margin-bottom: 5%;
}

footer .social-grid-footer .social-card {
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  min-width: 35px;
  width: 25%;
  max-width: 50px;
  aspect-ratio: 1/1;
  border-radius: 50%;
  background-color: var(--deg-sub);
  transition: all var(--anim-duration-slow) var(--anim-easing);
}

footer .social-grid-footer .social-card:hover {
  transform: translateY(-5px);
  box-shadow: 0px 0px 5px var(--deg-bg);
}

footer .social-grid-footer .social-card .social-icon {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

footer .social-grid-footer .social-card .social-icon i {
  font-size: clamp(25px, 4dvw, 30px);
  color: var(--deg-acc);
}

.copy {
  color: rgba(255,255,255,0.8);
  font-size: var(--text-sm);
}
 
.footer-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.watermark a{
  text-decoration: none;
  color: rgba(255,255,255,0.6);
  font-size: var(--text-xs);
}

/* ===== UTILITY CLASSES ===== */
.hidden {
  display: none !important;
}

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

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1200px) {
  .container {
    max-width: 100%;
    padding: 0 var(--space-lg);
  }
}

@media (max-width: 768px) {
  :root {
    --space-2xl: 32px;
    --space-xl: 24px;
    --space-lg: 20px;
    --space-md: 12px;
  }
  
  .hamburger {
    display: block;
  }
  
  .nav {
    display: none;
  }
  
  .hero-inner {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    text-align: center;
  }
  
  .hero-text h1 {
    font-size: var(--text-3xl);
  }
  
  .hero-text p {
    font-size: var(--text-lg);
  }
  
  .about-inner {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  
  .grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  
  .product-card {
    max-width: 90dvw;
  }

  .filter-group {
    flex-direction: column;
    align-items: stretch;
  }
  
  .filter-label {
    margin-left: auto;
  }
  
  .products-header {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
  
  .cart-dropdown {
    position: fixed;
    top: 78px;
    width: 100dvw !important;
    height: 100%;
    z-index: var(--z-dropdown);
    overflow: hidden;
    display: block;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
  }
  
  .cart-dropdown-container {
    right: 5vw;
    width: 90vw;
  }
  
  .cart-dropdown .btn {
    width: 100%;
  }

  .modal-inner {
    padding: var(--space-lg);
    margin: var(--space-md);
  }

  .gallery-main {
    width: 60%;
    height: 60%;
  }

  .gallery-nav {
    width: 40px;
    height: 40px;
    font-size: var(--text-base);
  }
  
  .gallery-prev {
    left: 0px;
  }
  
  .gallery-next {
    right: 0px;
  }
  
  .go-to-top {
    bottom: var(--space-md);
    right: var(--space-md);
    width: 45px;
    height: 45px;
  }
  
  .toast {
    bottom: var(--space-md);
    right: var(--space-md);
    left: 5%;
    width: 90%;
    max-width: 90%;
  }
}

@media (max-width: 480px) {
  :root {
    --space-2xl: 24px;
    --space-xl: 20px;
    --space-lg: 16px;
    --space-md: 8px;
  }
  
  .header-inner {
    padding: var(--space-md) var(--space-xl);
  }
  
  .logo-circle {
    width: 125px;
    height: 60px;
  }
  
  .hero {
    padding: var(--space-xl) 0;
  }
  
  .hero-text h1 {
    font-size: var(--text-2xl);
  }
  
  .hero-text p {
    font-size: var(--text-base);
  }
  
  .products {
    padding: var(--space-xl) 0;
  }
  
  .about {
    padding: var(--space-xl) 0;
  }
  
  .about-card,
  .contacts {
    padding: var(--space-lg);
  }
  
  .product-card {
    border-radius: 12px;
  }
  
  .product-body {
    padding: var(--space-md);
  }
  
  .product-actions {
    flex-direction: row;
    flex-wrap: wrap;
    gap: var(--space-sm);
  }
  
  .btn {
    padding: var(--space-sm) var(--space-lg);
    font-size: var(--text-sm);
  }
  
  .modal-inner {
    padding: var(--space-md);
    margin: var(--space-sm);
  }
  
  .gallery-thumb {
    width: 50px;
    height: 50px;
  }
}

/* ===== PRINT STYLES ===== */
@media print {
  .site-header,
  .site-footer,
  .btn,
  .cart-dropdown,
  .modal,
  .gallery-modal,
  .go-to-top,
  .toast {
    display: none !important;
  }
  
  body {
    background: white !important;
    color: black !important;
  }
  
  .container {
    max-width: none;
    padding: 0;
  }
  
  .grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
  }
  
  .product-card {
    break-inside: avoid;
    box-shadow: none;
    border: 1px solid #ccc;
  }
}

@media (hover: none) and (pointer: coarse) {
  * {
    -webkit-tap-highlight-color: transparent;
  }

  a:focus,
  button:focus,
  .btn:focus,
  .icon-btn:focus,
  .mobile-link:focus,
  .nav-link:focus,
  .product-media:focus,
  .gallery-nav:focus,
  .gallery-close:focus,
  .go-to-top:focus,
  .filter-btn:focus,
  .pager button:focus {
    outline: none;
    box-shadow: none;
  }

  img {
    -webkit-touch-callout: none;
  }
}