/* ===== CSS Reset & Base ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #B8860B;
  --primary-dark: #8B6508;
  --primary-light: #DAA520;
  --accent: #CD853F;
  --bg-dark: #1a1a2e;
  --bg-darker: #0f0f1a;
  --bg-card: #16213e;
  --bg-card-hover: #1c2a4a;
  --text-primary: #f0e6d3;
  --text-secondary: #c4b998;
  --text-muted: #8a7e6b;
  --border: #2a2a4a;
  --success: #2ecc71;
  --danger: #e74c3c;
  --warning: #f39c12;
  --gold-gradient: linear-gradient(135deg, #B8860B, #DAA520, #CD853F);
  --font-main: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

ul { list-style: none; }

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

/* ===== Toast Notification ===== */
.toast-notification {
  position: fixed;
  top: 20px;
  right: 20px;
  background: var(--success);
  color: white;
  padding: 14px 24px;
  border-radius: 8px;
  font-weight: 600;
  z-index: 10000;
  transform: translateX(120%);
  transition: transform 0.3s ease;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

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

.toast-notification.show {
  transform: translateX(0);
}

/* ===== Navigation ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(15, 15, 26, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
}

.navbar .container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.navbar .logo {
  font-size: 1.5rem;
  font-weight: 800;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.navbar .nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.navbar .nav-links a {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.3s;
  position: relative;
}

.navbar .nav-links a:hover {
  color: var(--primary-light);
}

.navbar .nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold-gradient);
  transition: width 0.3s;
}

.navbar .nav-links a:hover::after {
  width: 100%;
}

.cart-icon {
  position: relative;
  font-size: 1.4rem !important;
  color: var(--text-primary) !important;
}

#cartCount {
  position: absolute;
  top: -8px;
  right: -10px;
  background: var(--danger);
  color: white;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 700;
  display: none;
  align-items: center;
  justify-content: center;
  -webkit-text-fill-color: white;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.hamburger span {
  width: 25px;
  height: 2px;
  background: var(--text-primary);
  transition: all 0.3s;
}

/* ===== Hero Section ===== */
.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, var(--bg-darker) 0%, var(--bg-card) 50%, var(--bg-darker) 100%);
  position: relative;
  overflow: hidden;
  padding: 100px 24px 60px;
}

.hero::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(184,134,11,0.08) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
  50% { transform: translate(-50%, -50%) scale(1.2); opacity: 1; }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero-content h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  margin-bottom: 20px;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: fadeInUp 0.8s ease;
}

.hero-content p {
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: var(--text-secondary);
  margin-bottom: 40px;
  line-height: 1.8;
  animation: fadeInUp 0.8s ease 0.2s backwards;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.4s backwards;
}

.btn {
  padding: 14px 36px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary {
  background: var(--gold-gradient);
  color: #1a1a2e;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(184,134,11,0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid var(--border);
}

.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary-light);
  transform: translateY(-2px);
}

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

.btn-danger:hover {
  background: #c0392b;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== Section Common ===== */
.section {
  padding: 80px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.section-header p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ===== Featured Carousel ===== */
.featured-carousel {
  position: relative;
  overflow: hidden;
  margin-bottom: 40px;
}

.carousel-wrapper {
  overflow: hidden;
  border-radius: 16px;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-slide {
  min-width: 100%;
  padding: 40px;
  background: linear-gradient(135deg, var(--bg-card), var(--bg-card-hover));
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.carousel-slide .slide-image {
  width: 100%;
  height: 350px;
  object-fit: contain;
  border-radius: 12px;
  background: rgba(255,255,255,0.03);
  padding: 20px;
}

.carousel-slide .slide-info h3 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--primary-light);
}

.carousel-slide .slide-info p {
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.7;
}

.carousel-slide .slide-info .price {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 1px solid var(--border);
  color: var(--text-primary);
  font-size: 1.3rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  z-index: 10;
}

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

.carousel-btn.prev { left: 10px; }
.carousel-btn.next { right: 10px; }

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: all 0.3s;
  border: none;
}

.carousel-dot.active {
  background: var(--primary);
  width: 30px;
  border-radius: 5px;
}

/* ===== Category Grid ===== */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 20px;
  margin: 50px 0;
}

.category-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 30px 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.category-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--primary);
  transform: translateY(-5px);
}

.category-card .icon {
  font-size: 2.5rem;
  margin-bottom: 10px;
  display: block;
}

.category-card span {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* ===== Product Grid ===== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
}

.product-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.product-card .product-image {
  width: 100%;
  height: 240px;
  object-fit: contain;
  background: rgba(255,255,255,0.02);
  padding: 20px;
  transition: transform 0.5s ease;
}

.product-card:hover .product-image {
  transform: scale(1.05);
}

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

.product-card .product-category {
  color: var(--primary-light);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

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

.product-card .product-price {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary-light);
}

.product-card .add-to-cart-btn {
  width: 100%;
  padding: 12px;
  margin-top: 12px;
  background: var(--gold-gradient);
  color: #1a1a2e;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s;
}

.product-card .add-to-cart-btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

/* ===== Trust Badges ===== */
.trust-badges {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px;
  margin: 50px 0;
}

.trust-badges-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  text-align: center;
}

.trust-badge {
  padding: 20px;
}

.trust-badge .badge-icon {
  font-size: 2.5rem;
  margin-bottom: 12px;
  display: block;
}

.trust-badge h4 {
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text-primary);
}

.trust-badge p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ===== Footer ===== */
.footer {
  background: var(--bg-darker);
  border-top: 1px solid var(--border);
  padding: 60px 24px 30px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}

.footer-col h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 20px;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-col h4 {
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.footer-col p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.footer-col a {
  color: var(--text-secondary);
  display: block;
  margin-bottom: 10px;
  transition: color 0.3s;
  font-size: 0.95rem;
}

.footer-col a:hover {
  color: var(--primary-light);
}

.footer-bottom {
  max-width: 1200px;
  margin: 40px auto 0;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ===== Product Detail Page ===== */
.detail-page {
  padding: 100px 24px 60px;
  max-width: 1200px;
  margin: 0 auto;
}

.breadcrumb {
  margin-bottom: 30px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

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

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

.detail-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

.detail-image-container {
  background: var(--bg-card);
  border-radius: 16px;
  border: 1px solid var(--border);
  padding: 30px;
  position: sticky;
  top: 100px;
}

.detail-image-container img {
  width: 100%;
  height: 450px;
  object-fit: contain;
}

.detail-info h1 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.detail-info .detail-category {
  color: var(--primary-light);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
  display: block;
}

.detail-info .detail-price {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-light);
  margin-bottom: 20px;
}

.detail-info .detail-description {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 30px;
}

.detail-specs {
  margin-bottom: 30px;
}

.detail-specs h3 {
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.detail-specs ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.detail-specs li {
  color: var(--text-secondary);
  font-size: 0.9rem;
  padding: 8px 12px;
  background: rgba(255,255,255,0.03);
  border-radius: 6px;
}

.detail-actions {
  display: flex;
  gap: 16px;
  margin-top: 30px;
}

.detail-actions .btn {
  flex: 1;
  text-align: center;
  justify-content: center;
}

/* ===== Cart Page ===== */
.cart-page {
  padding: 100px 24px 60px;
  max-width: 1200px;
  margin: 0 auto;
  min-height: 60vh;
}

.cart-page h1 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 40px;
}

.cart-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 40px;
}

.cart-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cart-item {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  gap: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  align-items: center;
}

.cart-item-image {
  width: 100px;
  height: 100px;
  object-fit: contain;
  background: rgba(255,255,255,0.03);
  border-radius: 8px;
  padding: 10px;
}

.cart-item-info h3 {
  font-weight: 700;
  margin-bottom: 4px;
}

.cart-item-info .cart-item-price {
  color: var(--primary-light);
  font-weight: 600;
}

.cart-item-quantity {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
}

.cart-item-quantity button {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-primary);
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.cart-item-quantity button:hover {
  border-color: var(--primary);
  background: rgba(184,134,11,0.1);
}

.cart-item-quantity span {
  font-weight: 700;
  min-width: 24px;
  text-align: center;
}

.cart-item-total {
  text-align: right;
}

.cart-item-total .item-total-price {
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.cart-item-total .remove-btn {
  background: none;
  border: none;
  color: var(--danger);
  cursor: pointer;
  font-size: 0.85rem;
  transition: opacity 0.3s;
}

.cart-item-total .remove-btn:hover {
  opacity: 0.7;
}

.cart-summary {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 30px;
  position: sticky;
  top: 100px;
}

.cart-summary h2 {
  font-weight: 800;
  margin-bottom: 24px;
  font-size: 1.3rem;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 14px;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.summary-row.total {
  border-top: 1px solid var(--border);
  padding-top: 14px;
  margin-top: 14px;
  color: var(--text-primary);
  font-size: 1.2rem;
  font-weight: 800;
}

.checkout-btn {
  width: 100%;
  padding: 16px;
  background: var(--gold-gradient);
  color: #1a1a2e;
  border: none;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s;
  margin-top: 20px;
}

.checkout-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(184,134,11,0.3);
}

.continue-shopping {
  display: block;
  text-align: center;
  margin-top: 16px;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.continue-shopping:hover {
  color: var(--primary-light);
}

/* ===== Modal (Email Verification & Payment) ===== */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.7);
  z-index: 5000;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(5px);
}

.modal-overlay.active {
  display: flex;
}

.modal {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px;
  width: 90%;
  max-width: 440px;
  position: relative;
  animation: modalIn 0.3s ease;
  max-height: 90vh;
  overflow-y: auto;
}

@keyframes modalIn {
  from { opacity: 0; transform: scale(0.9) translateY(20px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
  transition: color 0.3s;
}

.modal-close:hover {
  color: var(--text-primary);
}

.modal h2 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 8px;
  text-align: center;
}

.modal p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  text-align: center;
  margin-bottom: 24px;
}

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

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.form-group input {
  width: 100%;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.05);
  color: var(--text-primary);
  font-size: 1rem;
  transition: border-color 0.3s;
  outline: none;
}

.form-group input:focus {
  border-color: var(--primary);
}

.verify-code-row {
  display: flex;
  gap: 10px;
}

.verify-code-row input {
  flex: 1;
}

.verify-code-row button {
  padding: 14px 20px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.3s;
}

.verify-code-row button:hover {
  background: var(--primary-dark);
}

.verify-code-row button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ===== Payment Methods ===== */
.payment-methods {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 24px 0;
}

.payment-method {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s;
}

.payment-method:hover {
  border-color: var(--primary);
  background: rgba(184,134,11,0.1);
}

.payment-method.selected {
  border-color: var(--primary);
  background: rgba(184,134,11,0.15);
}

.payment-method .pay-icon {
  font-size: 2.5rem;
  margin-bottom: 8px;
  display: block;
}

.payment-method h4 {
  font-weight: 700;
  margin-bottom: 4px;
}

.payment-method p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ===== Policy Pages ===== */
.policy-page {
  padding: 100px 24px 60px;
  max-width: 860px;
  margin: 0 auto;
}

.policy-page h1 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 30px;
  color: var(--primary-light);
}

.policy-page h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 30px 0 12px;
}

.policy-page h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 20px 0 10px;
}

.policy-page p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
}

.policy-page ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 16px;
}

.policy-page ul li {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 6px;
}

/* ===== Empty Cart ===== */
.empty-cart {
  text-align: center;
  padding: 60px 24px;
}

.empty-cart .empty-icon {
  font-size: 4rem;
  margin-bottom: 20px;
  display: block;
}

.empty-cart h2 {
  font-weight: 700;
  margin-bottom: 8px;
}

.empty-cart p {
  color: var(--text-secondary);
  margin-bottom: 24px;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .navbar .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(15,15,26,0.98);
    flex-direction: column;
    padding: 20px;
    border-bottom: 1px solid var(--border);
    gap: 16px;
  }

  .navbar .nav-links.open {
    display: flex;
  }

  .hamburger {
    display: flex;
  }

  .carousel-slide {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .carousel-slide .slide-image {
    height: 220px;
  }

  .carousel-btn {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .detail-layout {
    grid-template-columns: 1fr;
  }

  .detail-image-container {
    position: static;
  }

  .cart-layout {
    grid-template-columns: 1fr;
  }

  .cart-item {
    grid-template-columns: 80px 1fr;
    gap: 12px;
  }

  .cart-item-total {
    grid-column: 1 / -1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    border-top: 1px solid var(--border);
  }

  .cart-summary {
    position: static;
  }

  .detail-specs ul {
    grid-template-columns: 1fr;
  }

  .verify-code-row {
    flex-direction: column;
  }

  .payment-methods {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 50px 16px;
  }
}

@media (max-width: 480px) {
  .products-grid {
    grid-template-columns: 1fr;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .categories-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  .category-card {
    padding: 20px 12px;
  }

  .category-card .icon {
    font-size: 1.8rem;
  }
}