@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  /* Static palette from COLORS.png */
  --surface-900: #0A0A0A; /* darkest */
  --surface-800: #141414; /* dark */
  --text-100: #FFFFFF; /* light text */
  --text-300: #C0C0C0; /* light grey */
  --text-400: #9A9A9A; /* medium grey */
  --muted-600: #9A9A9A; /* control borders */
  --line-600: rgba(154,154,154,0.3);
  --line-500: rgba(154,154,154,0.2);
  --accent-700: #FF4B4B; /* primary red */
  --accent-800: #D50000; /* darker red */
}

/* General Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Touch-friendly interactions */
button, 
.category, 
.brand, 
.hamburger,
.basket,
.sidebar ul li,
.add-to-cart,
.shop-search button,
.apply-filters,
.brands-dot {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

/* Prevent zoom on input focus for mobile */
input[type="text"], 
input[type="number"] {
  font-size: 16px;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--surface-900);
  color: var(--text-100);
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  width: 100%;
}

/* Header - Clean and minimal */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px 0 110px;
  background: var(--surface-900);
  color: white;
  height: 80px;
  position: sticky;
  top: 0;
  z-index: 999;
  border-bottom: 1px solid var(--line-500);
  backdrop-filter: blur(10px);
  background: rgba(10, 10, 10, 0.95);
}

.logo {
  font-weight: 600;
  font-size: 24px;
  color: var(--text-100);
  cursor: pointer;
  user-select: none;
  height: 48px;
  display: flex;
  align-items: center;
  transition: opacity 0.2s ease;
}

.logo:hover {
  opacity: 0.8;
}

.logo img {
  height: 48px;
  width: auto;
}

.search-bar {
  flex-grow: 1;
  margin: 0 40px;
  max-width: 600px;
  height: 48px;
  display: flex;
  align-items: center;
}

.search-bar input[type="text"] {
  width: 100%;
  height: 48px;
  padding: 0 20px;
  border-radius: 24px;
  border: 1px solid var(--line-600);
  font-size: 15px;
  background-color: var(--surface-800);
  color: var(--text-100);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-weight: 400;
}

.search-bar input[type="text"]:focus {
  outline: none;
  border-color: var(--accent-700);
  background-color: rgba(20, 20, 20, 0.8);
  box-shadow: 0 0 0 3px rgba(255, 75, 75, 0.1);
}

.search-bar input[type="text"]::placeholder {
  color: var(--text-400);
}

.header-right-group {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  flex-wrap: nowrap;
  flex-shrink: 0;
}

.lang-switcher {
  margin: 0;
  flex-shrink: 0;
}

.lang-select {
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--line-600);
  background: var(--surface-800);
  color: var(--text-100);
  font-size: 13px;
  cursor: pointer;
}

.lang-select:focus {
  outline: none;
  border-color: var(--accent-700);
  box-shadow: 0 0 0 2px rgba(255, 75, 75, 0.35);
}

.basket-container {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: 0;
  flex-shrink: 0;
}

.login-indicator {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--text-400);
  border-radius: 999px;
  border: 1px solid var(--line-600);
  padding: 4px 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.login-indicator__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--muted-600);
}

.login-indicator--on .login-indicator__dot {
  background: #2ecc71;
}

.login-indicator--on {
  color: var(--text-100);
  border-color: rgba(46, 204, 113, 0.7);
}

.basket-total {
  padding: 10px 20px;
  font-weight: 600;
  border-radius: 24px;
  background: var(--accent-700);
  color: var(--text-100);
  user-select: none;
  font-size: 14px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  letter-spacing: 0.3px;
}

.basket-total:hover {
  background: var(--accent-800);
  transform: translateY(-1px);
}

.basket {
  width: 48px;
  height: 48px;
  background: var(--surface-800);
  color: var(--text-100);
  border-radius: 50%;
  font-size: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  user-select: none;
  border: 1px solid var(--line-600);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.basket:hover {
  background: var(--surface-800);
  border-color: var(--accent-700);
  transform: scale(1.05);
}

.basket.bounce {
  animation: cartBounce 0.6s ease;
}

main {
  max-width: 1500px;
  margin: 0 auto;
  padding: 60px 40px;
  width: 100%;
  box-sizing: border-box;
}

/* Featured Section - Clean and spacious */
.featured-items {
  background: transparent;
  color: var(--text-100);
  border-radius: 16px;
  padding: 110px 0;
  min-height: 360px;
  text-align: center;
  font-size: 28px;
  font-weight: 300;
  margin-bottom: 80px;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-bottom: 1px solid var(--line-500);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.featured-items::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-image: var(--hero-bg, none);
  opacity: 0.32;
  transition: opacity 0.7s ease;
  z-index: 0;
}

.featured-items.hero-fade::before {
  opacity: 0;
}

.featured-items > * {
  position: relative;
  z-index: 1;
}

/* Brands - Minimal and clean */
.brands-container {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 60px auto;
  overflow: visible;
  padding: 10px 0;
}

.brands-scroll {
  display: flex;
  gap: 0;
  width: max-content;
  position: relative;
  padding: 0;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
  will-change: transform;
}

.brands-scroll::-webkit-scrollbar {
  display: none;
}

.brands-scroll.dragging {
  cursor: grabbing;
}

.brand {
  width: 200px;
  height: 120px;
  flex: 0 0 auto;
  margin-right: 24px;
  background: var(--surface-800);
  text-align: center;
  font-weight: 500;
  font-size: 14px;
  border-radius: 18px;
  color: var(--text-300);
  user-select: none;
  cursor: pointer;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.3s ease;
  scroll-snap-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  border: 1px solid var(--line-600);
  text-transform: uppercase;
  letter-spacing: 1px;
  gap: 12px;
  padding: 18px 20px;
  position: relative;
  z-index: 1;
}

.brand:last-child {
  margin-right: 0;
}

.brand:hover {
  color: var(--text-100);
  border-color: var(--accent-700);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
  transform: translateY(-6px);
  z-index: 10;
}

.brand span {
  font-size: 12px;
  letter-spacing: 1.6px;
  color: var(--text-400);
}

.brand:hover span {
  color: var(--text-100);
}

.brand.active {
  border-color: var(--accent-700);
  color: var(--text-100);
  box-shadow: 0 12px 32px rgba(255, 75, 75, 0.35);
  transform: translateY(-6px);
  background: linear-gradient(135deg, rgba(255, 75, 75, 0.18), rgba(213, 0, 0, 0.12));
  z-index: 10;
}

.brand.active span {
  color: var(--text-100);
}

.brand.active .brand-logo {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
}

.brand.active .brand-logo img {
  filter: grayscale(0) brightness(1.08);
}

.brand-logo {
  width: 120px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 12px;
  border: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.brand:hover .brand-logo {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: grayscale(0.15) brightness(0.95);
  transition: filter 0.3s ease;
}

.brand:hover .brand-logo img {
  filter: grayscale(0) brightness(1.05);
}

.brands-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 30px;
  margin-bottom: 40px;
}

.brands-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--muted-600);
  opacity: 0.4;
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.brands-dot.active {
  opacity: 1;
  background: var(--accent-700);
  width: 24px;
  border-radius: 3px;
}

/* Categories - Clean and minimal */
.categories {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 80px;
}

/* Videos Section */
.videos-section {
  margin-bottom: 80px;
  padding: 0;
}

.videos-section h2 {
  color: var(--text-100);
  font-size: 32px;
  font-weight: 300;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 50px;
  text-align: center;
}

.video-player-container {
  max-width: 1000px;
  margin: 0 auto;
  background: var(--surface-800);
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line-600);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.video-player-container:hover {
  border-color: var(--accent-700);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

.video-player-container video {
  width: 100%;
  height: auto;
  display: block;
  background: var(--surface-900);
}

.category {
  background: transparent;
  color: var(--text-100);
  flex: 0 1 auto;
  min-width: 200px;
  border-radius: 0;
  padding: 30px 40px;
  text-align: center;
  font-weight: 500;
  font-size: 18px;
  cursor: pointer;
  user-select: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-bottom: 2px solid transparent;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  position: relative;
}

.category:hover {
  color: var(--accent-700);
  border-bottom-color: var(--accent-700);
}

.category:active {
  transform: translateY(1px);
}

.category.active {
  color: var(--accent-700);
  border-bottom-color: var(--accent-700);
  background: linear-gradient(135deg, rgba(255,75,75,0.07), rgba(213,0,0,0.05));
  font-weight: 600;
  transition: background 0.28s, border-color 0.28s, color 0.28s;
}

/* Hamburger Menu */
.hamburger {
  position: fixed;
  left: 40px;
  top: 20px;
  z-index: 1001;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  border-radius: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  gap: 5px;
}

.hamburger:hover {
  opacity: 0.7;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-100);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Sidebar */
.sidebar {
  position: fixed;
  top: 0;
  left: -320px;
  width: 300px;
  height: 100%;
  background: var(--surface-900);
  color: var(--text-100);
  box-shadow: 2px 0 20px rgba(0, 0, 0, 0.5);
  z-index: 1000;
  transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding-top: 100px;
  border-right: 1px solid var(--line-600);
}

.sidebar.open {
  left: 0;
}

.sidebar h2 {
  margin: 0 0 40px 40px;
  font-size: 20px;
  font-weight: 600;
  color: var(--text-100);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.sidebar ul {
  list-style: none;
  padding: 0;
}

.sidebar ul li {
  padding: 18px 40px;
  cursor: pointer;
  border-bottom: 1px solid var(--line-500);
  font-size: 15px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 400;
}

.sidebar ul li:hover {
  background: var(--surface-800);
  color: var(--text-100);
  padding-left: 50px;
}

.sidebar ul li a {
  color: var(--text-100);
  text-decoration: none;
  display: block;
  width: 100%;
}

.sidebar ul li a:hover {
  color: var(--text-100);
}

/* Shop Section */
.popular-items {
  margin-top: 0;
  background: transparent;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  border: none;
}

/* Simple page-section visibility control */
.page-section {
  display: none;
}

.page-section.active-page {
  display: block;
}

/* Static content pages (Shop hero, About, Contact, Account) */
.static-page {
  max-width: 900px;
  margin: 40px auto 80px;
  padding: 40px 0;
  color: var(--text-100);
}

.static-page--center {
  text-align: center;
}

.static-page h2 {
  font-size: 32px;
  font-weight: 300;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.static-page p {
  color: var(--text-300);
  font-size: 15px;
  max-width: 640px;
  line-height: 1.7;
  margin-bottom: 32px;
}

.static-page__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.static-card {
  padding: 22px 24px;
  border-radius: 18px;
  background: var(--surface-800);
  border: 1px solid var(--line-600);
}

.static-card h3 {
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.static-card p {
  margin: 0;
  color: var(--text-400);
  font-size: 14px;
}

.static-page__cta {
  padding: 12px 28px;
  border: none;
  border-radius: 999px;
  background: var(--accent-700);
  color: var(--text-100);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.static-page__cta:hover {
  background: var(--accent-800);
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(255, 75, 75, 0.35);
}

.static-page__cta:active {
  transform: translateY(0);
  box-shadow: none;
}

/* Contact form */
.contact-form {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-field label {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  color: var(--text-400);
}

.form-field input,
.form-field select,
.form-field textarea {
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid var(--line-600);
  background: var(--surface-800);
  color: var(--text-100);
  font-size: 14px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  resize: vertical;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--text-400);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--accent-700);
  box-shadow: 0 0 0 3px rgba(255, 75, 75, 0.16);
  background: rgba(20, 20, 20, 0.95);
}

/* Account layout */
.account-layout {
  margin-top: 32px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 30px;
}

.account-form {
  padding: 22px 24px;
  border-radius: 18px;
  background: var(--surface-800);
  border: 1px solid var(--line-600);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.account-form h3 {
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
}

.account-highlight {
  padding: 22px 24px;
  border-radius: 18px;
  background: var(--surface-800);
  border: 1px solid var(--line-600);
}

.account-highlight h3 {
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 10px;
}

.account-highlight ul {
  margin: 0;
  padding-left: 18px;
  color: var(--text-300);
  font-size: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.account-link {
  margin-top: 4px;
  border: none;
  background: transparent;
  color: var(--text-300);
  font-size: 13px;
  text-align: left;
  padding: 0;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.account-link:hover {
  color: var(--accent-700);
}

.shop-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 50px;
  flex-wrap: wrap;
  gap: 30px;
}

.shop-header h2 {
  color: var(--text-100);
  font-size: 32px;
  font-weight: 300;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.shop-controls {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.sort-container {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sort-label {
  color: var(--text-300);
  font-size: 14px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.sort-select {
  padding: 10px 20px;
  border-radius: 0;
  border: 1px solid var(--line-600);
  background: var(--surface-800);
  color: var(--text-100);
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-weight: 400;
  min-width: 180px;
}

.sort-select:focus {
  outline: none;
  border-color: var(--accent-700);
  box-shadow: 0 0 0 3px rgba(255, 75, 75, 0.1);
}

.sort-select option {
  background: var(--surface-800);
  color: var(--text-100);
}

.shop-search {
  display: flex;
  gap: 0;
  width: 320px;
  border: 1px solid var(--line-600);
  border-radius: 24px;
  overflow: hidden;
  background: var(--surface-800);
}

.shop-search input {
  flex-grow: 1;
  padding: 12px 20px;
  border: none;
  background: transparent;
  color: var(--text-100);
  font-size: 14px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.shop-search input:focus {
  outline: none;
}

.shop-search input::placeholder {
  color: var(--text-400);
}

.shop-search button {
  padding: 12px 20px;
  border: none;
  background: transparent;
  color: var(--text-300);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 18px;
  border-left: 1px solid var(--line-600);
}

.shop-search button:hover {
  color: var(--accent-700);
  background: var(--surface-900);
}

.shop-container {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 60px;
  margin-top: 40px;
}

/* Filters Sidebar */
.filters-sidebar {
  background: transparent;
  border-radius: 0;
  padding: 0;
  border: none;
  color: var(--text-100);
}

.filters-sidebar h3 {
  margin-bottom: 40px;
  font-size: 18px;
  color: var(--text-100);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  border-bottom: 1px solid var(--line-600);
  padding-bottom: 15px;
}

.filter-group {
  margin-bottom: 40px;
}

.filter-group h4 {
  margin-bottom: 20px;
  color: var(--text-300);
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.price-range {
  margin-bottom: 20px;
}

.price-range input[type="range"] {
  width: 100%;
  margin-bottom: 15px;
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  background: var(--line-600);
  border-radius: 0;
  outline: none;
}

.price-range input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent-700);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.price-range input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.2);
  box-shadow: 0 0 0 4px rgba(255, 75, 75, 0.2);
}

.price-inputs {
  display: flex;
  gap: 15px;
  align-items: center;
  color: var(--text-100);
}

.price-inputs input {
  width: 90px;
  padding: 10px 15px;
  border-radius: 0;
  border: 1px solid var(--line-600);
  background: var(--surface-800);
  color: var(--text-100);
  font-size: 14px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.price-inputs input:focus {
  outline: none;
  border-color: var(--accent-700);
  box-shadow: 0 0 0 3px rgba(255, 75, 75, 0.1);
}

.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.checkbox-group label {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 400;
  color: var(--text-300);
  transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.checkbox-group label:hover {
  color: var(--text-100);
}

.checkbox-group input[type="checkbox"] {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border: 2px solid var(--line-600);
  border-radius: 0;
  background-color: transparent;
  cursor: pointer;
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.checkbox-group input[type="checkbox"]:checked {
  background-color: var(--accent-700);
  border-color: var(--accent-700);
}

.checkbox-group input[type="checkbox"]:checked::after {
  content: '✓';
  color: var(--text-100);
  font-size: 12px;
  font-weight: bold;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Products Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 40px;
}

.product-card {
  background: transparent;
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
  border: none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  position: relative;
  display: flex;
  flex-direction: column;
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border: 1px solid var(--line-500);
  opacity: 0;
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.product-card.added-product::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid var(--accent-700);
  opacity: 0;
  pointer-events: none;
  animation: cardFlash 0.6s ease;
}

.product-card:hover::before {
  opacity: 1;
}

.product-card:hover {
  transform: translateY(-8px);
}

.product-image {
  width: 100%;
  height: 320px;
  overflow: hidden;
  border: none;
  background: var(--surface-800);
  position: relative;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover .product-image img {
  transform: scale(1.05);
}

.product-info {
  padding: 24px 0;
  color: var(--text-100);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.product-info h3 {
  margin-bottom: 8px;
  font-size: 16px;
  font-weight: 400;
  color: var(--text-100);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.product-info h3 a {
  color: var(--text-100);
  text-decoration: none;
}

.product-info h3 a:hover {
  color: var(--accent-700);
}

.product-info a {
  color: var(--text-100);
}

.product-info a:hover {
  color: var(--accent-700);
}

.product-brand {
  color: var(--text-400);
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.product-category {
  color: var(--accent-700);
  font-size: 11px;
  margin-bottom: 12px;
  padding: 0;
  background: transparent;
  border-radius: 0;
  display: inline-block;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.product-rating .stars {
  color: #ffc107;
  font-size: 13px;
  letter-spacing: 2px;
}

.product-rating .rating-value {
  color: var(--text-400);
  font-size: 12px;
  font-weight: 400;
}

.product-price {
  font-weight: 500;
  font-size: 18px;
  margin-bottom: 20px;
  color: var(--text-100);
  letter-spacing: 0.5px;
}

.add-to-cart {
  width: 100%;
  padding: 14px;
  background: var(--accent-700);
  color: var(--text-100);
  border: none;
  border-radius: 0;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-weight: 500;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.cart-fly-ball {
  position: fixed;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent-700);
  box-shadow: 0 0 15px rgba(255, 75, 75, 0.85), 0 0 30px rgba(255, 75, 75, 0.45);
  pointer-events: none;
  z-index: 1500;
  opacity: 1;
  transform: translate3d(0, 0, 0);
  will-change: transform, opacity;
  transition: transform 0.85s cubic-bezier(0.55, 0, 0.1, 1),
              opacity 0.85s cubic-bezier(0.55, 0, 0.1, 1);
}

.add-to-cart:hover {
  background: var(--accent-800);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 75, 75, 0.3);
}

.add-to-cart.adding {
  animation: buttonPop 0.45s ease;
  background: var(--accent-800);
}

.product-detail-cta {
  display: flex;
  gap: 16px;
  align-items: center;
}

.product-detail-cta a {
  color: var(--text-100);
}

/* Product detail page */
.product-detail-page {
  max-width: 1280px;
  margin: 40px auto 120px;
  padding: 0 24px;
}

.product-detail-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.product-detail-header h2 {
  margin: 0;
  font-size: 28px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.product-back-link {
  color: var(--text-100);
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 1px;
}

.product-back-link:hover {
  color: var(--accent-700);
}

.product-detail {
  margin-top: 24px;
}

.product-card--detail {
  display: grid;
  grid-template-columns: minmax(280px, 420px) 1fr;
  gap: 32px;
  align-items: start;
  padding: 20px;
  border: 1px solid var(--line-500);
  background: var(--surface-800);
}

.product-card--detail .product-image {
  height: 100%;
  min-height: 320px;
  max-height: 520px;
  background: var(--surface-900);
}

.product-card--detail .product-image img {
  object-fit: contain;
}

.product-card--detail .product-info {
  padding: 0;
  gap: 10px;
}

.product-card--detail .product-detail-cta {
  gap: 12px;
  flex-wrap: wrap;
}

.product-reviews {
  margin-top: 16px;
  border-top: 1px solid var(--line-600);
  padding-top: 16px;
}

.product-reviews__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  gap: 12px;
}

.product-reviews__title {
  font-size: 16px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.product-reviews__avg {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-400);
}

.product-reviews__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.product-review__meta {
  display: flex;
  gap: 10px;
  align-items: center;
  color: var(--text-400);
  font-size: 12px;
}

.product-review__name {
  color: var(--text-100);
  font-weight: 600;
  letter-spacing: 0.5px;
}

.product-review__rating {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-400);
  font-size: 12px;
}

.product-review__body {
  margin: 6px 0 0;
  color: var(--text-300);
  line-height: 1.5;
  font-size: 13px;
}

/* Secret easter egg modal */
.secret-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 1200;
}

.secret-modal-backdrop.active {
  opacity: 1;
  pointer-events: all;
}

.secret-modal {
  background: var(--surface-900);
  border: 1px solid var(--line-600);
  border-radius: 16px;
  padding: 18px;
  max-width: 520px;
  width: 90%;
  box-shadow: 0 18px 40px rgba(0,0,0,0.55);
  color: var(--text-100);
}

.secret-modal__img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 14px;
  object-fit: cover;
  background: var(--surface-800);
}

.secret-modal__title {
  font-size: 16px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin: 0 0 8px;
}

.secret-modal__code {
  font-family: 'Inter', monospace;
  font-size: 15px;
  letter-spacing: 1.5px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--surface-800);
  border: 1px solid var(--line-600);
  display: inline-block;
  margin-bottom: 12px;
}

.secret-modal__hint {
  color: var(--text-400);
  font-size: 13px;
}

@media (max-width: 900px) {
  .product-card--detail {
    grid-template-columns: 1fr;
  }

  .product-card--detail .product-image {
    max-height: 420px;
  }
}
.cart-panel-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 998;
}

.cart-panel-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.cart-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: min(420px, 90vw);
  height: 100vh;
  background: var(--surface-900);
  border-left: 1px solid var(--line-600);
  box-shadow: -15px 0 35px rgba(0, 0, 0, 0.65);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 999;
  display: flex;
  flex-direction: column;
  padding: 24px 28px;
  gap: 20px;
}

.cart-panel.open {
  transform: translateX(0);
}

.cart-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line-500);
  padding-bottom: 12px;
}

.cart-panel__header h3 {
  font-size: 18px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 500;
}

.cart-panel__close {
  border: none;
  background: transparent;
  color: var(--text-300);
  font-size: 24px;
  cursor: pointer;
  transition: color 0.2s ease;
}

.cart-panel__close:hover {
  color: var(--text-100);
}

.cart-panel__body {
  flex: 1;
  overflow-y: auto;
  padding-right: 6px;
}

.cart-items-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cart-item {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 15px;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line-500);
}

.cart-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.cart-item__thumb {
  width: 64px;
  height: 64px;
  border: 1px solid var(--line-500);
  border-radius: 8px;
  overflow: hidden;
  background: var(--surface-800);
}

.cart-item__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item__info h4 {
  font-size: 14px;
  text-transform: uppercase;
  margin-bottom: 4px;
  letter-spacing: 0.5px;
}

.cart-item__info p {
  font-size: 12px;
  color: var(--text-400);
}

.cart-item__meta {
  text-align: right;
}

.cart-item__price {
  font-weight: 600;
  margin-bottom: 6px;
}

.cart-item__qty {
  font-size: 12px;
  color: var(--text-400);
  letter-spacing: 0.5px;
}

.cart-item__remove {
  margin-top: 6px;
  padding: 4px 8px;
  border: none;
  background: transparent;
  color: var(--text-400);
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease;
}

.cart-item__remove:hover {
  color: var(--accent-700);
  background: rgba(255, 75, 75, 0.08);
}

.cart-panel__footer {
  border-top: 1px solid var(--line-500);
  padding-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cart-subtotal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.cart-subtotal-value {
  font-size: 18px;
}

.cart-checkout {
  padding: 14px;
  border: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  border-radius: 0;
  background: var(--accent-700);
  color: var(--text-100);
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

.cart-checkout:hover {
  background: var(--accent-800);
  transform: translateY(-1px);
}

.cart-empty-state {
  color: var(--text-400);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 13px;
  text-align: center;
  padding: 40px 10px;
}

.add-to-cart:active {
  transform: translateY(0);
}

.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 80px 20px;
  color: var(--text-400);
  font-size: 16px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Responsive Design */
@media (max-width: 1100px) {
  .shop-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .filters-sidebar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
    border-top: 1px solid var(--line-600);
    padding-top: 40px;
  }
}

@media (max-width: 900px) {
  .sidebar {
    width: 280px;
    left: -280px;
    padding-top: 80px;
  }

  .hamburger {
    left: 20px;
    top: 20px;
    width: 36px;
    height: 36px;
  }

  .hamburger span {
    width: 22px;
  }

  .hamburger.open span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .hamburger.open span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }
}

@media (max-width: 768px) {
  header {
    padding: 0 20px 0 80px;
    height: 70px;
  }

  .logo {
    font-size: 20px;
    height: 40px;
  }

  .logo img {
    height: 40px;
  }

  .search-bar {
    margin: 0 15px;
    height: 40px;
    max-width: none;
  }

  .search-bar input[type="text"] {
    height: 40px;
    font-size: 14px;
    padding: 0 15px;
  }

  .basket-container {
    gap: 8px;
  }

  .basket-total {
    padding: 8px 16px;
    font-size: 13px;
  }

  .basket {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }

  main {
    padding: 40px 20px;
  }

  .featured-items {
    padding: 80px 0;
    min-height: 300px;
    font-size: 22px;
    margin-bottom: 60px;
  }

  .categories {
    flex-direction: column;
    gap: 20px;
    margin-bottom: 60px;
  }

  .category {
    min-width: auto;
    width: 100%;
    padding: 25px 30px;
    font-size: 16px;
  }

  .brands-container {
    margin: 40px auto;
  }

  .brand {
    width: 140px;
    height: 50px;
    font-size: 14px;
    margin-right: 15px;
  }

  .hamburger {
    left: 15px;
    top: 15px;
    width: 36px;
    height: 36px;
  }

  .hamburger span {
    width: 20px;
  }

  .sidebar {
    width: 280px;
    padding-top: 70px;
  }

  .sidebar h2 {
    margin: 0 0 30px 30px;
    font-size: 18px;
  }

  .sidebar ul li {
    padding: 15px 30px;
    font-size: 14px;
  }

  .popular-items {
    margin-top: 0;
  }

  .videos-section {
    margin-bottom: 60px;
  }

  .videos-section h2 {
    font-size: 24px;
    margin-bottom: 40px;
  }

  .video-player-container {
    max-width: 100%;
  }

  .shop-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 25px;
    margin-bottom: 40px;
  }

  .shop-header h2 {
    font-size: 24px;
  }

  .shop-controls {
    flex-direction: column;
    gap: 20px;
    width: 100%;
  }

  .sort-container {
    width: 100%;
    justify-content: space-between;
  }

  .sort-select {
    flex: 1;
    max-width: none;
  }

  .shop-search {
    width: 100%;
  }

  .filters-sidebar {
    padding: 0;
    display: block;
    grid-template-columns: none;
    border-top: 1px solid var(--line-600);
    padding-top: 30px;
  }

  .filters-sidebar h3 {
    font-size: 16px;
    margin-bottom: 30px;
  }

  .filter-group {
    margin-bottom: 30px;
  }

  .filter-group h4 {
    font-size: 12px;
    margin-bottom: 15px;
  }

  .price-inputs input {
    width: 80px;
    padding: 8px 12px;
    font-size: 13px;
  }

  .checkbox-group {
    gap: 12px;
  }

  .checkbox-group label {
    font-size: 13px;
  }

  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 25px;
  }

  .product-image {
    height: 220px;
  }

  .product-info {
    padding: 20px 0;
  }

  .product-info h3 {
    font-size: 14px;
  }

  .product-brand {
    font-size: 12px;
    margin-bottom: 8px;
  }

  .product-category {
    font-size: 10px;
    margin-bottom: 10px;
  }

  .product-price {
    font-size: 16px;
    margin-bottom: 15px;
  }

  .add-to-cart {
    padding: 12px;
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  header {
    padding: 0 15px 0 70px;
    height: 60px;
  }

  .logo {
    font-size: 18px;
    height: 35px;
  }

  .logo img {
    height: 35px;
  }

  .search-bar {
    margin: 0 10px;
    height: 35px;
  }

  .search-bar input[type="text"] {
    height: 35px;
    font-size: 13px;
    padding: 0 12px;
  }

  .basket {
    width: 35px;
    height: 35px;
    font-size: 16px;
  }

  .basket-total {
    padding: 6px 12px;
    font-size: 12px;
  }

  .hamburger {
    width: 32px;
    height: 32px;
  }

  .hamburger span {
    width: 18px;
  }

  main {
    padding: 30px 15px;
  }

  .featured-items {
    padding: 60px 0;
    min-height: 260px;
    font-size: 18px;
    margin-bottom: 40px;
  }

  .category {
    padding: 20px 25px;
    font-size: 14px;
  }

  .brand {
    width: 120px;
    height: 45px;
    font-size: 12px;
  }

  .sidebar {
    width: 260px;
  }

  .popular-items {
    padding: 0;
  }

  .videos-section {
    margin-bottom: 40px;
  }

  .videos-section h2 {
    font-size: 20px;
    margin-bottom: 30px;
  }

  .shop-header h2 {
    font-size: 20px;
  }

  .filters-sidebar {
    padding-top: 25px;
  }

  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 20px;
  }

  .product-image {
    height: 180px;
  }

  .product-info {
    padding: 15px 0;
  }

  .product-info h3 {
    font-size: 13px;
  }

  .product-price {
    font-size: 15px;
  }

  .add-to-cart {
    font-size: 11px;
    padding: 10px;
  }
}

@keyframes cartBounce {
  0% {
    transform: scale(1);
  }
  30% {
    transform: scale(1.2);
  }
  55% {
    transform: scale(0.9);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes buttonPop {
  0% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-2px) scale(1.05);
  }
  100% {
    transform: translateY(0) scale(1);
  }
}

@keyframes cardFlash {
  0% {
    opacity: 0;
  }
  40% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
