/* ===== Little Tail SA - Toy Store ===== */
/* Color Theme: Light Yellow, Simple & Clean */

:root {
  --yellow-primary: #F8E988;
  --yellow-dark: #C9A84C;
  --yellow-light: #FFFEF5;
  --yellow-bg: #FFFDF2;
  --yellow-border: #F5EDC8;
  --text-dark: #333333;
  --text-medium: #666666;
  --text-light: #999999;
  --white: #FFFFFF;
  --gray-bg: #FAFAFA;
  --border: #EEEEEE;
  --shadow: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-hover: 0 4px 16px rgba(248,233,136,0.25);
  --radius: 10px;
  --radius-sm: 6px;
  --transition: all 0.25s ease;
}

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

body {
  font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  color: var(--text-dark);
  background: var(--yellow-bg);
  line-height: 1.6;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

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

/* ===== Header ===== */
.header-top {
  background: var(--yellow-primary);
  color: var(--text-dark);
  text-align: center;
  padding: 7px 0;
  font-size: 13px;
  font-weight: 500;
}

.header-main {
  background: var(--white);
  padding: 14px 0;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

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

.logo {
  font-size: 26px;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.5px;
}

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

.search-bar {
  flex: 1;
  max-width: 480px;
  margin: 0 30px;
  position: relative;
}

.search-bar input {
  width: 100%;
  padding: 9px 40px 9px 16px;
  border: 1.5px solid var(--yellow-border);
  border-radius: 22px;
  font-size: 14px;
  outline: none;
  transition: var(--transition);
  background: var(--yellow-light);
}

.search-bar input:focus {
  border-color: var(--yellow-primary);
  background: var(--white);
}

.search-bar button {
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--yellow-primary);
  border: none;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  color: var(--text-dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-icons {
  display: flex;
  gap: 20px;
  align-items: center;
}

.header-icons a {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 12px;
  color: var(--text-medium);
  gap: 2px;
  transition: var(--transition);
}

.header-icons a:hover { color: var(--yellow-dark); }
.header-icons .icon { font-size: 21px; }

.cart-count {
  background: var(--yellow-dark);
  color: var(--white);
  border-radius: 50%;
  width: 18px;
  height: 18px;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: -5px;
  right: -5px;
}

/* ===== Navigation ===== */
.nav {
  background: var(--white);
  border-bottom: 1.5px solid var(--yellow-border);
  padding: 10px 0;
}

.nav .container {
  display: flex;
  gap: 25px;
  justify-content: center;
  flex-wrap: wrap;
}

.nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dark);
  padding: 5px 14px;
  border-radius: 18px;
  transition: var(--transition);
}

.nav a:hover, .nav a.active {
  background: var(--yellow-light);
  color: var(--yellow-dark);
}

/* ===== Hero Banner ===== */
.hero {
  background: var(--yellow-light);
  padding: 50px 0;
}

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

.hero-text { flex: 1; }

.hero-text h1 {
  font-size: 38px;
  line-height: 1.25;
  margin-bottom: 14px;
  color: var(--text-dark);
}

.hero-text h1 span { color: var(--yellow-dark); }

.hero-text p {
  font-size: 16px;
  color: var(--text-medium);
  margin-bottom: 24px;
}

.hero-btns { display: flex; gap: 12px; }

.btn {
  padding: 11px 28px;
  border-radius: 22px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  display: inline-block;
  text-align: center;
}

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

.btn-primary:hover {
  background: var(--yellow-dark);
  color: var(--white);
  transform: translateY(-1px);
}

.btn-primary:disabled,
.btn-primary[disabled] {
  opacity: 0.5 !important;
  cursor: not-allowed;
  transform: none;
}

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--yellow-primary);
  color: var(--yellow-dark);
}

.btn-outline:hover {
  background: var(--yellow-light);
}

.hero-image {
  flex: 1;
  text-align: center;
}

.hero-image .placeholder {
  width: 100%;
  max-width: 400px;
  aspect-ratio: 1;
  background: var(--yellow-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 72px;
  margin: 0 auto;
  box-shadow: 0 6px 24px rgba(248,233,136,0.3);
}

/* ===== Features Bar ===== */
.features {
  background: var(--white);
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
}

.features .container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 20px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}

.feature-item .icon { font-size: 26px; }
.feature-item strong { display: block; color: var(--text-dark); }
.feature-item span { color: var(--text-light); font-size: 12px; }

/* ===== Section Title ===== */
.section-title {
  text-align: center;
  margin: 45px 0 25px;
}

.section-title h2 {
  font-size: 28px;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.section-title h2 span { color: var(--yellow-dark); }
.section-title p { color: var(--text-light); font-size: 14px; }

/* ===== Product Grid ===== */
.products-section { padding: 20px 0 50px; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 25px;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  cursor: pointer;
  position: relative;
  border: 1px solid var(--border);
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  border-color: var(--yellow-border);
}

.product-card .badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--yellow-primary);
  color: var(--text-dark);
  padding: 3px 10px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 600;
  z-index: 2;
}

.product-card .badge.bestseller { background: var(--yellow-dark); color: var(--white); }
.product-card .badge.new { background: #4CAF50; color: var(--white); }

.product-image {
  width: 100%;
  aspect-ratio: 1;
  background: var(--gray-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  overflow: hidden;
}

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

.product-info { padding: 14px; }

.product-name {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 5px;
  color: var(--text-dark);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 7px;
  font-size: 12px;
  color: var(--text-light);
}

.stars { color: var(--yellow-dark); font-size: 13px; }

.product-price {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 10px;
}

.price-now {
  font-size: 19px;
  font-weight: 700;
  color: var(--yellow-dark);
}

.price-old {
  font-size: 13px;
  color: var(--text-light);
  text-decoration: line-through;
}

.product-actions { display: flex; gap: 7px; }

.btn-add-cart {
  flex: 1;
  background: var(--yellow-primary);
  color: var(--text-dark);
  border: none;
  padding: 8px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.btn-add-cart:hover { background: var(--yellow-dark); color: var(--white); }

.btn-wishlist {
  background: var(--yellow-light);
  border: 1px solid var(--yellow-border);
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 15px;
  transition: var(--transition);
}

.btn-wishlist:hover { background: var(--yellow-primary); }

/* ===== Product List View ===== */
.product-list { display: flex; flex-direction: column; gap: 16px; }

.product-list .product-card {
  display: flex;
  flex-direction: row;
}

.product-list .product-image {
  width: 180px;
  min-width: 180px;
  aspect-ratio: 1;
}

.product-list .product-info { flex: 1; padding: 18px; }
.product-list .product-name { font-size: 16px; -webkit-line-clamp: 1; }

.product-list .product-desc {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.view-toggle {
  display: flex;
  gap: 7px;
  align-items: center;
  margin-bottom: 18px;
}

.view-toggle button {
  background: var(--gray-bg);
  border: 1px solid var(--border);
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 17px;
  transition: var(--transition);
}

.view-toggle button.active {
  background: var(--yellow-primary);
  color: var(--text-dark);
  border-color: var(--yellow-primary);
}

.view-toggle span {
  font-size: 13px;
  color: var(--text-light);
  margin-left: auto;
}

/* ===== Best Sellers Section ===== */
.bestsellers {
  background: var(--yellow-light);
  padding: 45px 0;
}

.bestsellers .product-grid { grid-template-columns: repeat(4, 1fr); }

.rank-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  color: var(--white);
  z-index: 2;
}

.rank-1 { background: #FFD700; color: var(--text-dark); }
.rank-2 { background: #C0C0C0; color: var(--text-dark); }
.rank-3 { background: #CD7F32; }
.rank-4, .rank-5 { background: var(--yellow-dark); }

/* ===== Reviews Section ===== */
.reviews-section {
  padding: 45px 0;
  background: var(--white);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 25px;
}

.review-card {
  background: var(--yellow-bg);
  padding: 22px;
  border-radius: var(--radius);
  border: 1px solid var(--yellow-border);
}

.review-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--yellow-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
  font-weight: 700;
  font-size: 17px;
}

.review-name { font-weight: 600; font-size: 14px; }
.review-date { font-size: 12px; color: var(--text-light); }

.review-stars { color: var(--yellow-dark); margin-bottom: 7px; font-size: 14px; }
.review-text { font-size: 14px; color: var(--text-medium); line-height: 1.6; }

/* ===== Newsletter ===== */
.newsletter {
  background: var(--yellow-primary);
  padding: 45px 0;
  text-align: center;
  color: var(--text-dark);
}

.newsletter h2 { font-size: 26px; margin-bottom: 8px; }
.newsletter p { margin-bottom: 22px; opacity: 0.8; }

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

.newsletter-form input {
  flex: 1;
  padding: 11px 18px;
  border: none;
  border-radius: 22px;
  font-size: 14px;
  outline: none;
}

.newsletter-form button {
  background: var(--text-dark);
  color: var(--white);
  border: none;
  padding: 11px 26px;
  border-radius: 22px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.newsletter-form button:hover { background: #1a1a1a; }

/* ===== Footer ===== */
.footer {
  background: var(--text-dark);
  color: #aaa;
  padding: 45px 0 20px;
}

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

.footer-col h3 { color: var(--white); font-size: 15px; margin-bottom: 14px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 7px; }

.footer-col ul li a {
  font-size: 13px;
  color: #aaa;
  transition: var(--transition);
}

.footer-col ul li a:hover { color: var(--yellow-primary); }
.footer-col p { font-size: 13px; line-height: 1.8; }

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  transition: var(--transition);
}

.footer-social a:hover { background: var(--yellow-primary); color: var(--text-dark); }

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

/* ===== Cart Page ===== */
.cart-page { padding: 35px 0 50px; }

.cart-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}

.cart-table th {
  background: var(--yellow-light);
  padding: 12px;
  text-align: left;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
}

.cart-table td {
  padding: 14px 12px;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}

.cart-product {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cart-product img, .cart-product .cart-thumb {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-sm);
  background: var(--gray-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
}

.qty-control { display: flex; align-items: center; }

.qty-control button {
  width: 28px;
  height: 28px;
  border: 1px solid var(--border);
  background: var(--white);
  cursor: pointer;
  font-size: 15px;
  transition: var(--transition);
}

.qty-control button:hover { background: var(--yellow-light); }

.qty-control input {
  width: 42px;
  height: 28px;
  text-align: center;
  border: 1px solid var(--border);
  border-left: none;
  border-right: none;
  font-size: 14px;
  outline: none;
}

.cart-summary {
  background: var(--yellow-light);
  padding: 22px;
  border-radius: var(--radius);
  border: 1px solid var(--yellow-border);
}

.cart-summary h3 { font-size: 17px; margin-bottom: 14px; }

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 14px;
}

.cart-summary-row.total {
  border-top: 2px solid var(--yellow-primary);
  padding-top: 10px;
  font-size: 19px;
  font-weight: 700;
  color: var(--yellow-dark);
}

.cart-summary .btn { width: 100%; margin-top: 14px; }

/* ===== Product Detail Page ===== */
.product-detail { padding: 25px 0 50px; }

.breadcrumb {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 18px;
}

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

.product-detail-main {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 35px;
}

.product-detail-gallery {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.gallery-thumbs {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 56px;
  flex-shrink: 0;
}

.gallery-thumb {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  background: var(--white);
  cursor: pointer;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  transition: var(--transition);
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-thumb.active,
.gallery-thumb:hover {
  border-color: var(--yellow-dark);
}

.product-detail-image {
  flex: 1;
  background: var(--gray-bg);
  border-radius: var(--radius);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 90px;
  overflow: hidden;
  border: 1px solid var(--border);
}

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

.product-detail-info h1 { font-size: 26px; margin-bottom: 10px; }

.product-detail-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-size: 14px;
  color: var(--text-light);
}

.product-detail-price {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}

.product-detail-price .price-now { font-size: 30px; }

.product-detail-desc {
  font-size: 14px;
  color: var(--text-medium);
  margin-bottom: 18px;
  line-height: 1.8;
}

.product-detail-options { margin-bottom: 18px; }

.product-detail-options label {
  display: block;
  font-weight: 600;
  margin-bottom: 7px;
  font-size: 14px;
}

.option-buttons { display: flex; gap: 8px; flex-wrap: wrap; }

.option-btn {
  padding: 7px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  cursor: pointer;
  font-size: 14px;
  transition: var(--transition);
}

.option-btn.active, .option-btn:hover {
  border-color: var(--yellow-primary);
  background: var(--yellow-light);
}

.color-option {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid var(--border);
  cursor: pointer;
  transition: var(--transition);
}

.color-option.active, .color-option:hover {
  border-color: var(--yellow-primary);
  transform: scale(1.1);
}

.qty-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.qty-row label { font-weight: 600; font-size: 14px; }

.detail-actions {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.detail-actions .btn { flex: 1; padding: 13px; font-size: 15px; }

.product-meta {
  font-size: 13px;
  color: var(--text-light);
  line-height: 2;
}

.product-meta span { color: var(--text-dark); }

.variant-list {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.variant-option {
  width: 76px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  cursor: pointer;
  padding: 4px;
  text-align: center;
  transition: var(--transition);
}

.variant-option:hover,
.variant-option.active {
  border-color: var(--yellow-dark);
  background: var(--yellow-light);
}

.variant-thumb {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 5px;
  background: var(--gray-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  overflow: hidden;
  margin-bottom: 5px;
}

.variant-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.variant-name {
  font-size: 11px;
  color: var(--text-dark);
  line-height: 1.25;
  min-height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.variant-price {
  font-size: 11px;
  font-weight: 700;
  color: var(--yellow-dark);
  margin-top: 2px;
}

.variant-packaging {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  color: #8a6d3b;
  background: #FCF6E3;
  border: 1px solid var(--yellow-border);
  border-radius: 8px;
  padding: 1px 6px;
  margin-top: 3px;
  line-height: 1.4;
}

.type-label-row { margin-bottom: 5px; }

.type-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 10px;
  background: var(--yellow-light);
  color: var(--yellow-dark);
  border: 1px solid var(--yellow-border);
}

/* Tabs */
.product-tabs { margin-top: 45px; }

.tab-headers {
  display: flex;
  border-bottom: 2px solid var(--border);
  margin-bottom: 20px;
}

.tab-header {
  padding: 10px 22px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: var(--transition);
  color: var(--text-light);
}

.tab-header.active {
  color: var(--yellow-dark);
  border-bottom-color: var(--yellow-primary);
}

.tab-content {
  display: none;
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-medium);
}

.tab-content.active { display: block; }

/* ===== Checkout Form ===== */
.checkout-form-wrap {
  background: var(--white);
  padding: 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

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

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 5px;
  font-size: 14px;
  color: var(--text-dark);
}

.form-group select:disabled {
  background: #f0f0f0;
  color: #999;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px;
  border: 1.5px solid var(--yellow-border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  outline: none;
  background: var(--yellow-light);
  font-family: inherit;
  transition: var(--transition);
  box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--yellow-primary);
  background: var(--white);
}

.form-group textarea {
  resize: vertical;
}

.checkout-order-summary {
  background: var(--yellow-light);
  border: 1px solid var(--yellow-border);
  border-radius: var(--radius-sm);
  padding: 18px;
  margin-top: 20px;
}

.checkout-order-summary h4 {
  font-size: 15px;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.co-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: var(--text-medium);
  margin-bottom: 8px;
}

.co-row.co-total {
  border-top: 2px solid var(--yellow-primary);
  padding-top: 10px;
  margin-top: 6px;
  font-size: 18px;
  font-weight: 700;
  color: var(--yellow-dark);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .hero .container { flex-direction: column; text-align: center; }
  .hero-text h1 { font-size: 28px; }
  .search-bar { display: none; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: 1fr; }
  .product-detail-main { grid-template-columns: 1fr; }
  .product-detail-gallery { flex-direction: column-reverse; align-items: center; }
  .gallery-thumbs { flex-direction: row; width: 100%; justify-content: center; }
  .product-detail-image { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .nav .container { gap: 5px; }
  .nav a { font-size: 13px; padding: 5px 10px; }
  .features .container { flex-direction: column; align-items: center; }
  .product-list .product-card { flex-direction: column; }
  .product-list .product-image { width: 100%; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .product-grid { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; }
}
