@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

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

:root {
  --primary: #1a1a2e;
  --secondary: #16213e;
  --accent: #e94560;
  --accent-hover: #d63851;
  --light: #f8f9fa;
  --gray: #6c757d;
  --gray-light: #e9ecef;
  --white: #ffffff;
  --shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.12);
  --transition: all 0.3s ease;
  --radius: 8px;
}

body {
  font-family: 'Inter', sans-serif;
  color: #333;
  background: var(--light);
  line-height: 1.6;
}

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

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

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

/* ===== Top Bar ===== */
.top-bar {
  background: var(--primary);
  color: var(--white);
  font-size: 13px;
  padding: 8px 0;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar a {
  color: rgba(255, 255, 255, 0.8);
  margin-left: 15px;
}

.top-bar a:hover {
  color: var(--white);
}

/* ===== Header ===== */
.header {
  background: var(--white);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0;
  padding-bottom: 0;
  height: 72px;
}

.logo {
  font-size: 28px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.5px;
}

.logo span {
  color: var(--accent);
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav a {
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  color: #555;
  border-radius: var(--radius);
}

.nav a:hover,
.nav a.active {
  color: var(--accent);
  background: rgba(233, 69, 96, 0.06);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.search-box {
  display: flex;
  align-items: center;
  background: var(--light);
  border-radius: 50px;
  padding: 8px 16px;
  border: 1px solid var(--gray-light);
}

.search-box input {
  border: none;
  background: none;
  outline: none;
  font-size: 14px;
  width: 180px;
  font-family: 'Inter', sans-serif;
}

.search-box button {
  border: none;
  background: none;
  cursor: pointer;
  font-size: 16px;
  color: var(--gray);
}

.cart-btn {
  position: relative;
  font-size: 22px;
  color: #555;
  cursor: pointer;
}

.cart-btn .badge {
  position: absolute;
  top: -8px;
  right: -10px;
  background: var(--accent);
  color: var(--white);
  font-size: 11px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}

/* ===== Hero Banner ===== */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 50%, #0f3460 100%);
  color: var(--white);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(233, 69, 96, 0.15), transparent 70%);
  border-radius: 50%;
}

.hero .container {
  display: flex;
  align-items: center;
  gap: 60px;
}

.hero-content {
  flex: 1;
}

.hero-content h1 {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-content h1 span {
  color: var(--accent);
}

.hero-content p {
  font-size: 18px;
  opacity: 0.85;
  margin-bottom: 32px;
  max-width: 500px;
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.hero-image-placeholder {
  width: 400px;
  height: 400px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px dashed rgba(255, 255, 255, 0.15);
  font-size: 15px;
  opacity: 0.6;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  font-family: 'Inter', sans-serif;
  transition: var(--transition);
}

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

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(233, 69, 96, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--primary);
}

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

.btn-dark:hover {
  background: var(--secondary);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 20px;
  font-size: 13px;
}

/* ===== Section ===== */
.section {
  padding: 60px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 40px;
}

.section-title h2 {
  font-size: 32px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

.section-title p {
  color: var(--gray);
  font-size: 16px;
}

.section-title .line {
  width: 60px;
  height: 3px;
  background: var(--accent);
  margin: 12px auto 0;
  border-radius: 3px;
}

/* ===== Category Grid ===== */
.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.category-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px 20px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  cursor: pointer;
}

.category-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.category-card .icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, rgba(233, 69, 96, 0.1), rgba(233, 69, 96, 0.05));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 28px;
}

.category-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 4px;
}

.category-card .count {
  font-size: 13px;
  color: var(--gray);
}

/* ===== Brand Grid ===== */
.brand-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.brand-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px 16px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
}

.brand-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}

.brand-card .brand-logo {
  width: 80px;
  height: 40px;
  background: var(--light);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
  font-size: 11px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 1px;
}

.brand-card .brand-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
}

.brand-card .brand-count {
  font-size: 12px;
  color: var(--gray);
}

/* ===== Product Grid ===== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  display: block;
  color: inherit;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.product-card .product-image {
  width: 100%;
  height: 280px;
  background: linear-gradient(135deg, #f0f0f0, #e8e8e8);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

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

.product-card .product-image .img-placeholder {
  font-size: 13px;
  color: #bbb;
}

.product-card .product-image .tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--accent);
  color: var(--white);
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
}

.product-card .product-image .tag.new {
  background: #28a745;
}

.product-card .product-image .tag.hot {
  background: #fd7e14;
}

.product-card .product-info {
  padding: 16px;
}

.product-card .product-id {
  font-size: 12px;
  color: var(--gray);
  margin-bottom: 6px;
}

.product-card .product-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card .product-price {
  font-size: 18px;
  font-weight: 700;
  color: var(--accent);
}

.product-card .product-price .original {
  font-size: 13px;
  color: var(--gray);
  text-decoration: line-through;
  font-weight: 400;
  margin-left: 8px;
}

.product-card .product-actions {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.product-card .product-actions .btn {
  flex: 1;
  justify-content: center;
  padding: 8px 12px;
  font-size: 12px;
  border-radius: 6px;
}

/* ===== Sidebar + Content Layout ===== */
.page-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 30px;
  padding: 30px 0;
}

.sidebar-toggle {
  display: none;
  width: 100%;
  padding: 12px 16px;
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  cursor: pointer;
  text-align: left;
  margin-bottom: 12px;
}

.sidebar {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
  height: fit-content;
  position: sticky;
  top: 90px;
}

.sidebar h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--gray-light);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

.sidebar h3 .arrow {
  font-size: 12px;
  transition: transform 0.3s ease;
}

.sidebar h3 .arrow.collapsed {
  transform: rotate(-90deg);
}

.sidebar-section-content {
  overflow: hidden;
  transition: max-height 0.3s ease;
  max-height: 600px;
}

.sidebar-section-content.collapsed {
  max-height: 0;
}

.sidebar .category-list {
  list-style: none;
}

.sidebar .category-list li a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  border-radius: 6px;
  font-size: 14px;
  color: #555;
}

.sidebar .category-list li a:hover,
.sidebar .category-list li a.active {
  background: rgba(233, 69, 96, 0.06);
  color: var(--accent);
}

.sidebar .category-list li a .count {
  font-size: 12px;
  color: var(--gray);
  background: var(--light);
  padding: 2px 8px;
  border-radius: 10px;
}

.sidebar .sidebar-section {
  margin-bottom: 24px;
}

.sidebar .sidebar-section:last-child {
  margin-bottom: 0;
}

/* ===== Breadcrumb ===== */
.breadcrumb {
  padding: 16px 0;
  font-size: 14px;
  color: var(--gray);
}

.breadcrumb a {
  color: var(--gray);
}

.breadcrumb a:hover {
  color: var(--accent);
}

.breadcrumb span {
  margin: 0 8px;
}

/* ===== Product Detail ===== */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  padding: 30px 0;
}

.product-gallery {
  position: sticky;
  top: 90px;
}

.product-gallery .main-image {
  width: 100%;
  height: 500px;
  background: linear-gradient(135deg, #f0f0f0, #e8e8e8);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: #bbb;
  margin-bottom: 16px;
}

.product-gallery .thumbnails {
  display: flex;
  gap: 12px;
}

.product-gallery .thumbnails .thumb {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #f0f0f0, #e8e8e8);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: #bbb;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
}

.product-gallery .thumbnails .thumb:hover,
.product-gallery .thumbnails .thumb.active {
  border-color: var(--accent);
}

.product-info-detail h1 {
  font-size: 28px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

.product-info-detail .product-sku {
  font-size: 14px;
  color: var(--gray);
  margin-bottom: 20px;
}

.product-info-detail .price-box {
  background: #fff5f6;
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 24px;
}

.product-info-detail .price-box .price {
  font-size: 32px;
  font-weight: 700;
  color: var(--accent);
}

.product-info-detail .price-box .original-price {
  font-size: 16px;
  color: var(--gray);
  text-decoration: line-through;
  margin-left: 12px;
}

.product-info-detail .price-box .discount {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  margin-left: 8px;
}

.product-info-detail .meta {
  margin-bottom: 24px;
}

.product-info-detail .meta .item {
  display: flex;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--gray-light);
  font-size: 14px;
}

.product-info-detail .meta .item .label {
  width: 100px;
  color: var(--gray);
  flex-shrink: 0;
}

.product-info-detail .meta .item .value {
  color: var(--primary);
  font-weight: 500;
}

.product-info-detail .size-options {
  margin-bottom: 24px;
}

.product-info-detail .size-options h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--primary);
}

.product-info-detail .size-options .sizes {
  display: flex;
  gap: 8px;
}

.product-info-detail .size-options .sizes .size-btn {
  width: 44px;
  height: 44px;
  border: 1px solid var(--gray-light);
  border-radius: 6px;
  background: var(--white);
  font-size: 13px;
  cursor: pointer;
  transition: var(--transition);
  font-family: 'Inter', sans-serif;
}

.product-info-detail .size-options .sizes .size-btn:hover,
.product-info-detail .size-options .sizes .size-btn.active {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(233, 69, 96, 0.06);
}

.product-info-detail .quantity-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 30px;
}

.product-info-detail .quantity-row h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
}

.product-info-detail .quantity-row .qty-control {
  display: flex;
  align-items: center;
  border: 1px solid var(--gray-light);
  border-radius: 6px;
  overflow: hidden;
}

.product-info-detail .quantity-row .qty-control button {
  width: 40px;
  height: 40px;
  border: none;
  background: var(--light);
  cursor: pointer;
  font-size: 16px;
  transition: var(--transition);
}

.product-info-detail .quantity-row .qty-control button:hover {
  background: var(--gray-light);
}

.product-info-detail .quantity-row .qty-control input {
  width: 60px;
  height: 40px;
  border: none;
  text-align: center;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  outline: none;
}

.product-info-detail .action-buttons {
  display: flex;
  gap: 12px;
}

.product-info-detail .action-buttons .btn {
  flex: 1;
  justify-content: center;
  padding: 14px 24px;
  font-size: 15px;
}

/* ===== Product Description Tabs ===== */
.product-tabs {
  margin-top: 40px;
  margin-bottom: 40px;
}

.product-tabs .tab-nav {
  display: flex;
  border-bottom: 2px solid var(--gray-light);
  margin-bottom: 24px;
}

.product-tabs .tab-nav button {
  padding: 12px 24px;
  border: none;
  background: none;
  font-size: 15px;
  font-weight: 500;
  color: var(--gray);
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  position: relative;
  transition: var(--transition);
}

.product-tabs .tab-nav button.active {
  color: var(--accent);
}

.product-tabs .tab-nav button.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
}

.product-tabs .tab-content {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
}

.product-tabs .tab-content p {
  font-size: 14px;
  line-height: 1.8;
  color: #555;
  margin-bottom: 16px;
}

.product-tabs .tab-content table {
  width: 100%;
  border-collapse: collapse;
}

.product-tabs .tab-content table th,
.product-tabs .tab-content table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--gray-light);
  font-size: 14px;
}

.product-tabs .tab-content table th {
  background: var(--light);
  font-weight: 600;
  color: var(--primary);
}

/* ===== About Page ===== */
.about-hero {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
  padding: 80px 0;
  text-align: center;
}

.about-hero h1 {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 12px;
}

.about-hero p {
  font-size: 18px;
  opacity: 0.8;
}

.about-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 20px;
}

.about-content h2 {
  font-size: 24px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 16px;
  margin-top: 40px;
}

.about-content p {
  font-size: 15px;
  line-height: 1.8;
  color: #555;
  margin-bottom: 16px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin: 40px 0;
}

.stat-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px;
  text-align: center;
  box-shadow: var(--shadow);
}

.stat-card .number {
  font-size: 36px;
  font-weight: 700;
  color: var(--accent);
}

.stat-card .label {
  font-size: 14px;
  color: var(--gray);
  margin-top: 4px;
}

/* ===== Contact Page ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding: 40px 0;
}

.contact-info-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}

.contact-info-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 20px;
}

.contact-info-card .info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
  align-items: flex-start;
}

.contact-info-card .info-item .icon {
  width: 44px;
  height: 44px;
  background: rgba(233, 69, 96, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.contact-info-card .info-item .text h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 2px;
}

.contact-info-card .info-item .text p {
  font-size: 14px;
  color: var(--gray);
}

.contact-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
}

.contact-form h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--gray-light);
  border-radius: 6px;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  outline: none;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(233, 69, 96, 0.1);
}

.form-group textarea {
  height: 120px;
  resize: vertical;
}

/* ===== Footer ===== */
.footer {
  background: var(--primary);
  color: rgba(255, 255, 255, 0.8);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer h4 {
  color: var(--white);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 20px;
}

.footer .about-col p {
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 16px;
}

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

.footer .footer-links li {
  margin-bottom: 10px;
}

.footer .footer-links li a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}

.footer .footer-links li a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
  text-align: center;
  font-size: 13px;
}

/* ===== Pagination ===== */
.pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 40px;
}

.pagination a,
.pagination span {
  padding: 10px 14px;
  border: 1px solid var(--gray-light);
  border-radius: 6px;
  font-size: 14px;
  color: #555;
  transition: var(--transition);
}

.pagination a:hover,
.pagination span.active {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}

/* ===== Filter Bar ===== */
.filter-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  background: var(--white);
  padding: 16px 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.filter-bar .result-count {
  font-size: 14px;
  color: var(--gray);
}

.filter-bar .result-count strong {
  color: var(--primary);
}

.filter-bar .sort-options {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
}

.filter-bar .sort-options select {
  padding: 6px 12px;
  border: 1px solid var(--gray-light);
  border-radius: 6px;
  font-size: 13px;
  font-family: 'Inter', sans-serif;
  outline: none;
}

.filter-bar .view-toggle {
  display: flex;
  gap: 4px;
}

.filter-bar .view-toggle button {
  width: 36px;
  height: 36px;
  border: 1px solid var(--gray-light);
  border-radius: 6px;
  background: var(--white);
  cursor: pointer;
  font-size: 14px;
  transition: var(--transition);
}

.filter-bar .view-toggle button.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .category-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .brand-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .page-layout {
    grid-template-columns: 220px 1fr;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 12px;
  }
  .hero .container {
    flex-direction: column;
    text-align: center;
  }
  .hero-content h1 {
    font-size: 32px;
  }
  .hero-content p {
    margin: 0 auto 32px;
  }
  .hero-image-placeholder {
    width: 280px;
    height: 280px;
  }
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .brand-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .product-card .product-image {
    height: auto;
    aspect-ratio: 1;
  }
  .product-card .product-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .product-card .product-name {
    padding: 6px 8px 8px;
    font-size: 12px;
    -webkit-line-clamp: 1;
  }
  .product-detail {
    grid-template-columns: 1fr;
  }
  .page-layout {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .sidebar-toggle {
    display: block;
  }
  .sidebar {
    position: static;
    display: none;
    margin-bottom: 16px;
  }
  .sidebar.open {
    display: block;
  }
  .sidebar .sidebar-section-content {
    max-height: 0;
  }
  .sidebar .sidebar-section-content.expanded {
    max-height: 600px;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .nav {
    display: none;
  }
  .search-box input {
    width: 120px;
  }
  .filter-bar {
    flex-wrap: wrap;
    gap: 8px;
  }
  .filter-bar .result-count {
    width: 100%;
    font-size: 13px;
  }
  .filter-bar .view-toggle {
    display: none;
  }
  .pagination {
    flex-wrap: wrap;
  }
  .pagination a,
  .pagination span {
    padding: 8px 10px;
    font-size: 12px;
  }
}

/* ===== Language Toggle ===== */
.nav .lang-toggle {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 4px 12px;
  border-radius: 20px;
  margin-left: 8px;
}

.nav .lang-toggle:hover {
  background: var(--accent);
  color: var(--white);
}

.lang-toggle-mobile {
  display: none;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 4px 10px;
  border-radius: 20px;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .lang-toggle-mobile {
    display: inline-block;
  }
}

/* ===== Simple Footer ===== */
.footer-simple {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 16px 0;
}

.footer-simple .logo {
  font-size: 20px;
  color: var(--white);
}

.footer-simple .logo span {
  color: var(--accent);
}

.footer-links-row {
  display: flex;
  gap: 20px;
  font-size: 13px;
}

.footer-links-row a {
  color: rgba(255, 255, 255, 0.6);
}

.footer-links-row a:hover {
  color: var(--white);
}

.footer-simple p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  width: 100%;
  text-align: center;
  margin-top: 4px;
}

@media (max-width: 768px) {
  .footer-simple {
    flex-direction: column;
    text-align: center;
  }
  .footer-links-row {
    gap: 12px;
    font-size: 12px;
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* ===== Mobile Menu ===== */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--primary);
}

@media (max-width: 768px) {
  .mobile-menu-btn {
    display: block;
  }
  .header-actions .search-box {
    display: none;
  }
}

/* ===== Animations ===== */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-in {
  animation: fadeIn 0.5s ease forwards;
}

/* ===== Features Row ===== */
.features {
  background: var(--white);
  padding: 40px 0;
  border-bottom: 1px solid var(--gray-light);
}

.features .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.feature-item .icon {
  width: 50px;
  height: 50px;
  background: rgba(233, 69, 96, 0.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.feature-item .text h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
}

.feature-item .text p {
  font-size: 12px;
  color: var(--gray);
}

/* ===== Newsletter ===== */
.newsletter {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  padding: 60px 0;
  text-align: center;
  color: var(--white);
}

.newsletter h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 12px;
}

.newsletter p {
  font-size: 16px;
  opacity: 0.8;
  margin-bottom: 24px;
}

.newsletter .newsletter-form {
  display: flex;
  max-width: 460px;
  margin: 0 auto;
  gap: 8px;
}

.newsletter .newsletter-form input {
  flex: 1;
  padding: 14px 20px;
  border: none;
  border-radius: 50px;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  outline: none;
}

.newsletter .newsletter-form button {
  padding: 14px 30px;
  border: none;
  background: var(--accent);
  color: var(--white);
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  transition: var(--transition);
}

.newsletter .newsletter-form button:hover {
  background: var(--accent-hover);
}
