/* PUMA Clone - Global Styles */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap");

:root {
  --puma-black: #000000;
  --puma-white: #ffffff;
  --puma-red: #e30613;
  --puma-gray: #767677;
  --puma-light-gray: #f5f5f5;
  --puma-border: #e5e5e5;
  --puma-hover: #333333;
  --font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  font-size: 14px;
  line-height: 1.5;
  color: var(--puma-black);
  background-color: var(--puma-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
}

ul,
ol {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input,
select {
  font-family: inherit;
}

.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ========== TOP BAR ========== */
.top-bar {
  background-color: var(--puma-black);
  color: var(--puma-white);
  text-align: center;
  padding: 10px 24px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.top-bar a {
  color: var(--puma-white);
  text-decoration: underline;
  font-weight: 700;
}

.top-bar a:hover {
  opacity: 0.8;
}

/* ========== HEADER ========== */
.header {
  background-color: var(--puma-white);
  border-bottom: 1px solid var(--puma-border);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: 1440px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
}

.logo svg {
  height: 70px;
  width: auto;
}

.logo img {
  height: 70px;
  width: auto;
}

/* Main Navigation */
.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.main-nav a {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 8px 0;
  position: relative;
}

.main-nav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--puma-black);
  transition: width 0.3s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 100%;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-action {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  transition: background-color 0.2s ease;
  position: relative;
}

.header-action:hover {
  background-color: var(--puma-light-gray);
}

.header-action svg {
  width: 24px;
  height: 24px;
}

.cart-count {
  position: absolute;
  top: 0;
  right: 0;
  background-color: var(--puma-red);
  color: var(--puma-white);
  font-size: 10px;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Search Bar */
.search-bar {
  display: flex;
  align-items: center;
  background-color: var(--puma-light-gray);
  border-radius: 24px;
  padding: 10px 16px;
  width: 280px;
}

.search-bar input {
  border: none;
  background: none;
  outline: none;
  width: 100%;
  font-size: 14px;
  margin-left: 8px;
}

.search-bar svg {
  width: 20px;
  height: 20px;
  color: var(--puma-gray);
}

/* ========== HERO SECTION ========== */
.hero {
  position: relative;
  height: 600px;
  overflow: hidden;
  background-color: var(--puma-light-gray);
}

.hero-slide {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-image video,
.hero video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: relative;
  z-index: 10;
  padding: 0 80px;
  max-width: 600px;
}

.hero-content.light-text {
  color: var(--puma-white);
}

.hero-content.dark-text {
  color: var(--puma-black);
}

.hero-subtitle {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.hero-title {
  font-size: 56px;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 24px;
  text-transform: uppercase;
}

.hero-description {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 32px;
  opacity: 0.9;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 0;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-primary {
  background-color: var(--puma-black);
  color: var(--puma-white);
  border: 2px solid var(--puma-black);
}

.btn-primary:hover {
  background-color: var(--puma-white);
  color: var(--puma-black);
}

.btn-secondary {
  background-color: var(--puma-white);
  color: var(--puma-black);
  border: 2px solid var(--puma-black);
}

.btn-secondary:hover {
  background-color: var(--puma-black);
  color: var(--puma-white);
}

.btn-white {
  background-color: var(--puma-white);
  color: var(--puma-black);
  border: 2px solid var(--puma-white);
}

.btn-white:hover {
  background-color: transparent;
  color: var(--puma-white);
}

/* ========== CATEGORIES SECTION ========== */
.categories-section {
  padding: 60px 24px;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}

.section-title {
  font-size: 28px;
  font-weight: 800;
  text-transform: uppercase;
}

.section-link {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  border-bottom: 2px solid var(--puma-black);
  padding-bottom: 2px;
}

.section-link:hover {
  opacity: 0.7;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.category-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  background-color: var(--puma-light-gray);
}

.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.category-card:hover img {
  transform: scale(1.05);
}

.category-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 100%);
}

.category-name {
  font-size: 24px;
  font-weight: 800;
  color: var(--puma-white);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.category-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--puma-white);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.category-cta svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}

.category-card:hover .category-cta svg {
  transform: translateX(4px);
}

/* ========== PRODUCTS SECTION ========== */
.products-section {
  padding: 60px 24px;
  background-color: var(--puma-white);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.product-card {
  position: relative;
  background-color: var(--puma-light-gray);
  transition: box-shadow 0.3s ease;
}

.product-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.product-image-wrapper {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-image {
  transform: scale(1.05);
}

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background-color: var(--puma-red);
  color: var(--puma-white);
  padding: 4px 8px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.product-badge.new {
  background-color: var(--puma-black);
}

.product-info {
  padding: 16px;
  background-color: var(--puma-white);
}

.product-category {
  font-size: 11px;
  color: var(--puma-gray);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.product-name {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  line-height: 1.3;
}

.product-colors {
  display: flex;
  gap: 6px;
  margin-bottom: 8px;
}

.color-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid var(--puma-border);
}

.product-price {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.price-current {
  font-size: 16px;
  font-weight: 700;
  color: #000;
}

.price-original {
  font-size: 14px;
  color: #999;
  text-decoration: line-through;
}

.price-discount {
  font-size: 12px;
  font-weight: 700;
  color: #d71921;
  background-color: #ffebee;
  padding: 2px 6px;
  border-radius: 3px;
}

.price-original {
  font-size: 12px;
  color: var(--puma-gray);
  text-decoration: line-through;
}

.price-discount {
  font-size: 12px;
  color: var(--puma-red);
  font-weight: 600;
}

/* Quick Add Button */
.quick-add {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--puma-black);
  color: var(--puma-white);
  padding: 12px;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.product-image-wrapper:hover .quick-add {
  transform: translateY(0);
}

/* ========== PROMO BANNER ========== */
.promo-banner {
  background-color: var(--puma-black);
  color: var(--puma-white);
  padding: 80px 24px;
  text-align: center;
}

.promo-content {
  max-width: 800px;
  margin: 0 auto;
}

.promo-title {
  font-size: 48px;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.promo-text {
  font-size: 18px;
  opacity: 0.9;
  margin-bottom: 32px;
}

/* ========== NEWSLETTER ========== */
.newsletter {
  padding: 60px 24px;
  background-color: var(--puma-light-gray);
}

.newsletter-content {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.newsletter-title {
  font-size: 24px;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.newsletter-text {
  font-size: 14px;
  color: var(--puma-gray);
  margin-bottom: 24px;
}

.newsletter-form {
  display: flex;
  gap: 12px;
}

.newsletter-form input {
  flex: 1;
  padding: 14px 20px;
  border: 2px solid var(--puma-black);
  font-size: 14px;
  outline: none;
}

.newsletter-form input:focus {
  border-color: var(--puma-gray);
}

/* ========== FOOTER ========== */
.footer {
  background-color: var(--puma-black);
  color: var(--puma-white);
  padding: 60px 24px 24px;
}

.footer-main {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  max-width: 1440px;
  margin: 0 auto 40px;
}

.footer-column h4 {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.footer-column ul li {
  margin-bottom: 12px;
}

.footer-column ul li a {
  font-size: 13px;
  opacity: 0.8;
  transition: opacity 0.2s ease;
}

.footer-column ul li a:hover {
  opacity: 1;
}

.footer-social {
  display: flex;
  gap: 16px;
  margin-top: 20px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background-color: var(--puma-white);
  color: var(--puma-black);
}

.footer-social svg {
  width: 18px;
  height: 18px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1440px;
  margin: 0 auto;
}

.footer-copyright {
  font-size: 12px;
  opacity: 0.6;
}

.footer-payments {
  display: flex;
  gap: 12px;
}

.footer-payments img {
  height: 24px;
}

/* ========== CATEGORY PAGE ========== */
.page-header {
  background-color: var(--puma-light-gray);
  padding: 40px 24px;
  text-align: center;
}

.page-title {
  font-size: 36px;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.page-breadcrumb {
  font-size: 12px;
  color: var(--puma-gray);
}

.page-breadcrumb a:hover {
  text-decoration: underline;
}

.page-breadcrumb span {
  margin: 0 8px;
}

/* Filters */
.filters-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--puma-border);
  max-width: 1440px;
  margin: 0 auto;
}

.filters-left {
  display: flex;
  align-items: center;
  gap: 24px;
}

.filter-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 16px;
  border: 1px solid var(--puma-border);
  background: var(--puma-white);
  color: var(--puma-black) !important;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-btn * {
  color: var(--puma-black) !important;
}

.filter-btn:hover {
  border-color: var(--puma-black);
}

.filter-btn svg {
  width: 16px;
  height: 16px;
}

.results-count {
  font-size: 14px;
  color: var(--puma-gray);
}

.sort-select {
  padding: 10px 16px;
  font-size: 14px;
  border: 1px solid var(--puma-border);
  background: var(--puma-white);
  color: var(--puma-black) !important;
  cursor: pointer;
  min-width: 200px;
}

.sort-select option {
  color: var(--puma-black) !important;
}

.category-content {
  max-width: 1440px;
  margin: 0 auto;
  padding: 40px 24px;
}

/* ========== PRODUCT PAGE ========== */
.product-page {
  max-width: 1440px;
  margin: 0 auto;
  padding: 40px 24px;
}

.product-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.product-gallery {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 16px;
}

.gallery-thumbs {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.gallery-thumb {
  width: 80px;
  height: 80px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: border-color 0.2s ease;
  background-color: var(--puma-light-gray);
}

.gallery-thumb:hover,
.gallery-thumb.active {
  border-color: var(--puma-black);
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-main {
  aspect-ratio: 1;
  background-color: var(--puma-light-gray);
  overflow: hidden;
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-details {
  padding-top: 20px;
}

.product-details .product-category {
  font-size: 12px;
  color: var(--puma-gray);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.product-details .product-title {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 16px;
}

.product-details .product-price {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 24px;
}

.product-details .price-original {
  font-size: 18px;
}

.size-selector {
  margin-bottom: 24px;
}

.size-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.size-label span {
  font-size: 14px;
  font-weight: 600;
}

.size-guide {
  font-size: 12px;
  text-decoration: underline;
  cursor: pointer;
}

.size-options {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}

.size-option {
  padding: 14px;
  border: 1px solid var(--puma-border);
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.size-option:hover {
  border-color: var(--puma-black);
}

.size-option.selected {
  background-color: var(--puma-black);
  color: var(--puma-white);
  border-color: var(--puma-black);
}

.size-option.disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.add-to-cart-section {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
}

.add-to-cart-btn {
  flex: 1;
  padding: 18px 32px;
  background-color: var(--puma-black);
  color: var(--puma-white);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 2px solid var(--puma-black);
  cursor: pointer;
  transition: all 0.3s ease;
}

.add-to-cart-btn:hover {
  background-color: var(--puma-white);
  color: var(--puma-black);
}

.product-description {
  border-top: 1px solid var(--puma-border);
  padding-top: 24px;
}

.description-title {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 12px;
}

.description-text {
  font-size: 14px;
  line-height: 1.7;
  color: var(--puma-gray);
}

.product-code {
  font-size: 12px;
  color: #999;
  margin-top: 12px;
  font-family: monospace;
}

/* ========== CART PAGE ========== */
.cart-page {
  max-width: 1440px;
  margin: 0 auto;
  padding: 40px 24px;
}

.cart-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 40px;
}

.cart-items {
  border-top: 1px solid var(--puma-border);
}

.cart-item {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--puma-border);
}

.cart-item-image {
  background-color: var(--puma-light-gray);
}

.cart-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item-details h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}

.cart-item-meta {
  font-size: 13px;
  color: var(--puma-gray);
  margin-bottom: 16px;
}

.cart-item-meta span {
  display: block;
  margin-bottom: 4px;
}

.quantity-selector {
  display: flex;
  align-items: center;
  border: 1px solid var(--puma-border);
  width: fit-content;
}

.quantity-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.quantity-btn:hover {
  background-color: var(--puma-light-gray);
}

.quantity-value {
  width: 48px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
}

.cart-item-actions {
  text-align: right;
}

.cart-item-price {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
}

.remove-item {
  font-size: 12px;
  text-decoration: underline;
  cursor: pointer;
  color: var(--puma-gray);
}

.remove-item:hover {
  color: var(--puma-black);
}

/* Cart Summary */
.cart-summary {
  background-color: var(--puma-light-gray);
  padding: 32px;
  height: fit-content;
  position: sticky;
  top: 100px;
}

.summary-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 24px;
  text-transform: uppercase;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 16px;
  font-size: 14px;
}

.summary-row.total {
  border-top: 1px solid var(--puma-border);
  padding-top: 16px;
  margin-top: 16px;
  font-weight: 700;
  font-size: 18px;
}

.checkout-btn {
  width: 100%;
  padding: 18px;
  background-color: var(--puma-black);
  color: var(--puma-white);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  cursor: pointer;
  margin-top: 24px;
  transition: opacity 0.2s ease;
}

.checkout-btn:hover {
  opacity: 0.9;
}

.payment-methods {
  margin-top: 24px;
  text-align: center;
}

.payment-methods p {
  font-size: 12px;
  color: var(--puma-gray);
  margin-bottom: 12px;
}

.payment-icons {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.payment-icons img {
  height: 24px;
}

/* Empty Cart */
.empty-cart {
  text-align: center;
  padding: 80px 24px;
}

.empty-cart-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  opacity: 0.3;
}

.empty-cart h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
}

.empty-cart p {
  color: var(--puma-gray);
  margin-bottom: 32px;
}

/* ========== MOBILE MENU ========== */
.mobile-menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.mobile-menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--puma-black);
  position: relative;
  transition: background-color 0.3s ease;
}

.mobile-menu-toggle span::before,
.mobile-menu-toggle span::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: var(--puma-black);
  left: 0;
  transition: all 0.3s ease;
}

.mobile-menu-toggle span::before {
  top: -7px;
}

.mobile-menu-toggle span::after {
  top: 7px;
}

/* ========== FILTERS ========== */
.filter-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.filter-modal-content {
  background-color: var(--puma-white);
  width: 90%;
  max-width: 500px;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.filter-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--puma-border);
}

.filter-modal-header h3 {
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
}

.filter-modal-close {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--puma-gray);
  cursor: pointer;
  transition: color 0.2s ease;
}

.filter-modal-close:hover {
  color: var(--puma-black);
}

.filter-modal-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px 24px;
}

.filter-option {
  display: flex;
  align-items: center;
  padding: 12px 0;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.filter-option:hover {
  background-color: var(--puma-light-gray);
  padding-left: 8px;
  margin-left: -8px;
  padding-right: 8px;
  margin-right: -8px;
}

.filter-option input[type="radio"] {
  width: 18px;
  height: 18px;
  margin-right: 12px;
  cursor: pointer;
}

.filter-option span {
  font-size: 14px;
  font-weight: 500;
}

.filter-modal-footer {
  padding: 20px 24px;
  border-top: 1px solid var(--puma-border);
  display: flex;
  gap: 12px;
}

.filter-modal-footer button {
  flex: 1;
  padding: 12px 24px;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-main {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-layout {
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
    position: fixed;
    top: 140px;
    left: 0;
    right: 0;
    background-color: var(--puma-white);
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 999;
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }

  .main-nav.active {
    display: flex;
    opacity: 1;
    transform: translateY(0);
  }

  .main-nav a {
    padding: 16px 0;
    border-bottom: 1px solid var(--puma-border);
    font-size: 16px;
  }

  .main-nav a:last-child {
    border-bottom: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .mobile-menu-toggle.active span {
    background-color: transparent;
  }

  .mobile-menu-toggle.active span::before {
    transform: rotate(45deg);
    top: 0;
  }

  .mobile-menu-toggle.active span::after {
    transform: rotate(-45deg);
    top: 0;
  }

  .search-bar {
    display: none;
  }

  .hero {
    height: 450px;
  }

  .hero-title {
    font-size: 36px;
  }

  .hero-content {
    padding: 0 24px;
  }

  .categories-grid {
    grid-template-columns: 1fr;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .product-layout {
    grid-template-columns: 1fr;
  }

  .product-gallery {
    grid-template-columns: 1fr;
  }

  .gallery-thumbs {
    flex-direction: row;
    order: 2;
  }

  .cart-layout {
    grid-template-columns: 1fr;
  }

  .cart-item {
    grid-template-columns: 100px 1fr;
  }

  .cart-item-actions {
    grid-column: 2;
  }

  .footer-main {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .filters-bar {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }

  .filters-left {
    flex-wrap: wrap;
  }
}

@media (max-width: 480px) {
  .products-grid {
    grid-template-columns: 1fr;
  }

  .size-options {
    grid-template-columns: repeat(4, 1fr);
  }

  .promo-title {
    font-size: 32px;
  }

  .page-title {
    font-size: 28px;
  }
}

/* ========== ANIMATIONS ========== */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-in {
  animation: fadeIn 0.6s ease forwards;
}

/* Loading State */
.loading {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--puma-light-gray);
  border-top-color: var(--puma-black);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Toast Notifications */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background-color: var(--puma-black);
  color: var(--puma-white);
  padding: 16px 24px;
  font-size: 14px;
  font-weight: 500;
  z-index: 9999;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s ease;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* Color swatch options */
.color-options {
  margin-bottom: 24px;
}

.color-label {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--puma-black);
}

.color-swatches {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.color-swatch {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  border: 2px solid #e0e0e0;
  cursor: pointer;
  transition: all 0.2s ease;
  overflow: hidden;
  position: relative;
}

.color-swatch img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.color-swatch:hover {
  border-color: var(--puma-black);
  transform: scale(1.05);
}

.color-swatch.selected {
  border-color: var(--puma-black);
  border-width: 3px;
  box-shadow: 0 0 0 2px var(--puma-white), 0 0 0 4px var(--puma-black);
}

/* Old color options (for backward compatibility) */
.color-option {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}

.color-option:hover,
.color-option.selected {
  border-color: var(--puma-black);
}

.color-option.selected {
  box-shadow: 0 0 0 2px var(--puma-white), 0 0 0 4px var(--puma-black);
}
