/* ====================================================
   NEXOJUEGO.COM — Premium Gaming Chairs Store
   Main Stylesheet
   ==================================================== */

:root {
  --primary: #0A0A0F;
  --accent: #C8A96E;
  --accent-light: #E2C99A;
  --accent-dark: #9A7A45;
  --white: #FFFFFF;
  --off-white: #F8F7F5;
  --light-gray: #EFEFEF;
  --mid-gray: #999999;
  --dark-gray: #444444;
  --text: #1A1A2E;
  --text-light: #666677;
  --border: #E0DDD8;
  --success: #22C55E;
  --error: #EF4444;
  --nav-height: 80px;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-md: 0 8px 40px rgba(0,0,0,0.14);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.18);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

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

ul { list-style: none; }

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  outline: none;
}

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4, h5 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.2rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); }
h4 { font-size: 1.2rem; }

.accent-text { color: var(--accent); }
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

/* ── CONTAINER ── */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── SECTIONS ── */
.section {
  padding: 100px 0;
}

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

.section-header p {
  color: var(--text-light);
  font-size: 1.1rem;
  max-width: 560px;
  margin: 16px auto 0;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition: all var(--transition);
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: var(--primary);
}
.btn-primary:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(200, 169, 110, 0.4);
}

.btn-dark {
  background: var(--primary);
  color: var(--white);
}
.btn-dark:hover {
  background: #1a1a2e;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

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

/* ── TOP BAR ── */
.top-bar {
  background: var(--primary);
  color: rgba(255,255,255,0.75);
  font-size: 0.8rem;
  padding: 8px 0;
  text-align: center;
  letter-spacing: 0.05em;
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

.top-bar-inner span {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ── NAVBAR ── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: var(--nav-height);
  transition: box-shadow var(--transition);
}

.navbar.scrolled {
  box-shadow: var(--shadow);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.03em;
}

.nav-logo img {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  object-fit: cover;
}

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

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

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  position: relative;
  padding-bottom: 4px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--accent);
  transition: width var(--transition);
}

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

.nav-links a:hover,
.nav-links a.active { color: var(--accent-dark); }

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

.cart-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  background: var(--off-white);
  border-radius: 50%;
  font-size: 1.2rem;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
}

.cart-btn:hover {
  background: var(--accent);
}

.cart-count {
  position: absolute;
  top: -4px; right: -4px;
  background: var(--accent);
  color: var(--primary);
  font-size: 0.65rem;
  font-weight: 700;
  width: 18px; height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--white);
  opacity: 0;
  transition: opacity var(--transition);
}

.cart-count.visible { opacity: 1; }

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

.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ── HERO ── */
.hero {
  position: relative;
  min-height: calc(100vh - var(--nav-height));
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--primary);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/hero-banner.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.35;
  transform: scale(1.05);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,10,15,0.85) 0%, rgba(10,10,15,0.4) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  padding: 80px 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(200,169,110,0.15);
  border: 1px solid rgba(200,169,110,0.4);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 50px;
  margin-bottom: 24px;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 24px;
}

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

.hero-desc {
  color: rgba(255,255,255,0.72);
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-stats {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 40px;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.12);
}

.hero-stat-value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  margin-top: 4px;
  letter-spacing: 0.04em;
}

/* ── FEATURES BAND ── */
.features-band {
  background: var(--off-white);
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
}

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

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

.feature-icon {
  width: 44px; height: 44px;
  background: var(--accent);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.feature-item h4 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
}

.feature-item p {
  font-size: 0.78rem;
  color: var(--text-light);
  margin-top: 2px;
}

/* ── PRODUCTS ── */
.products-section {
  background: var(--white);
  padding: 100px 0;
}

.filter-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.filter-tab {
  padding: 10px 24px;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 600;
  border: 2px solid var(--border);
  background: transparent;
  color: var(--text-light);
  cursor: pointer;
  transition: all var(--transition);
}

.filter-tab:hover {
  border-color: var(--accent);
  color: var(--accent-dark);
}

.filter-tab.active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--primary);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}

.product-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  position: relative;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.product-img-wrap {
  position: relative;
  background: var(--off-white);
  height: 280px;
  overflow: hidden;
}

.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 20px;
  transition: transform 0.5s ease;
}

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

.product-badge {
  position: absolute;
  top: 16px; left: 16px;
  padding: 5px 12px;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.badge-new {
  background: var(--accent);
  color: var(--primary);
}
.badge-hot {
  background: #EF4444;
  color: white;
}
.badge-bestseller {
  background: var(--primary);
  color: var(--accent);
}

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

.product-category {
  font-size: 0.73rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mid-gray);
  margin-bottom: 6px;
}

.product-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.3;
}

.product-stars {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 12px;
}

.product-stars .stars {
  color: var(--accent);
  font-size: 0.85rem;
}

.product-stars .count {
  font-size: 0.78rem;
  color: var(--mid-gray);
}

.product-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
}

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

.product-price-old {
  font-size: 0.9rem;
  color: var(--mid-gray);
  text-decoration: line-through;
  margin-left: 8px;
}

.add-cart-btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: all var(--transition);
  flex-shrink: 0;
}

.add-cart-btn:hover {
  background: var(--accent);
  color: var(--primary);
  transform: scale(1.1);
}

/* ── ABOUT / LIFESTYLE ── */
.about-section {
  background: var(--off-white);
  padding: 100px 0;
  overflow: hidden;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-img-wrap img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}

.about-img-badge {
  position: absolute;
  bottom: 24px; right: 24px;
  background: var(--primary);
  color: var(--white);
  padding: 16px 20px;
  border-radius: var(--radius);
  text-align: center;
}

.about-img-badge .num {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}

.about-img-badge .lbl {
  font-size: 0.75rem;
  opacity: 0.75;
  margin-top: 4px;
}

.about-text h2 { margin-bottom: 20px; }

.about-text p {
  color: var(--text-light);
  margin-bottom: 20px;
  line-height: 1.75;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 32px 0;
}

.about-feat-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.about-feat-icon {
  width: 36px; height: 36px;
  background: rgba(200,169,110,0.12);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1rem;
  flex-shrink: 0;
}

.about-feat-item h4 {
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.about-feat-item p {
  font-size: 0.8rem;
  color: var(--text-light);
  margin: 0;
}

/* ── TESTIMONIALS ── */
.testimonials-section {
  background: var(--primary);
  padding: 100px 0;
  overflow: hidden;
}

.testimonials-section .section-label { color: var(--accent); }
.testimonials-section h2 { color: var(--white); }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.testimonial-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all var(--transition);
}

.testimonial-card:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-4px);
}

.testimonial-stars {
  color: var(--accent);
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.testimonial-text {
  color: rgba(255,255,255,0.82);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  color: var(--primary);
  flex-shrink: 0;
}

.author-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--white);
}

.author-location {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  margin-top: 2px;
}

/* ── PROMO BANNER ── */
.promo-banner {
  background: var(--accent);
  padding: 60px 0;
}

.promo-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.promo-text h2 {
  color: var(--primary);
  margin-bottom: 8px;
}

.promo-text p {
  color: rgba(10,10,15,0.7);
  font-size: 1rem;
}

/* ── FOOTER ── */
footer {
  background: var(--primary);
  color: rgba(255,255,255,0.65);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand .nav-logo {
  margin-bottom: 20px;
  color: var(--white);
}

.footer-desc {
  font-size: 0.88rem;
  line-height: 1.75;
  max-width: 280px;
  margin-bottom: 24px;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.footer-social-link {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.08);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: all var(--transition);
  color: rgba(255,255,255,0.65);
}

.footer-social-link:hover {
  background: var(--accent);
  color: var(--primary);
}

.footer-col h5 {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
}

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

.footer-col ul li a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  transition: color var(--transition);
}

.footer-col ul li a:hover {
  color: var(--accent);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.85rem;
}

.footer-contact-item .ic {
  color: var(--accent);
  margin-top: 2px;
  flex-shrink: 0;
}

.footer-bottom {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  color: rgba(255,255,255,0.45);
  transition: color var(--transition);
}

.footer-bottom-links a:hover { color: var(--accent); }

/* ── CART SIDEBAR ── */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1999;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

.cart-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.cart-sidebar {
  position: fixed;
  top: 0; right: -100%;
  width: 440px;
  max-width: 100vw;
  height: 100%;
  background: var(--white);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -8px 0 40px rgba(0,0,0,0.15);
}

.cart-sidebar.open { right: 0; }

.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px;
  border-bottom: 1px solid var(--border);
}

.cart-header h3 {
  font-size: 1.1rem;
}

.cart-close {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--off-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
}

.cart-close:hover {
  background: var(--border);
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 20px 28px;
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  animation: slideIn 0.3s ease;
}

@keyframes slideIn {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}

.cart-item-img {
  width: 72px; height: 72px;
  border-radius: 10px;
  background: var(--off-white);
  object-fit: contain;
  padding: 6px;
  flex-shrink: 0;
}

.cart-item-info { flex: 1; min-width: 0; }

.cart-item-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-item-price {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--accent-dark);
}

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

.qty-btn {
  width: 26px; height: 26px;
  border-radius: 6px;
  background: var(--off-white);
  border: none;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.qty-btn:hover { background: var(--accent); }

.qty-num {
  font-size: 0.88rem;
  font-weight: 600;
  min-width: 20px;
  text-align: center;
}

.cart-item-remove {
  color: var(--mid-gray);
  cursor: pointer;
  font-size: 1rem;
  padding: 4px;
  transition: color var(--transition);
  background: none;
  border: none;
}

.cart-item-remove:hover { color: var(--error); }

.cart-empty {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: var(--text-light);
  padding: 40px;
  text-align: center;
}

.cart-empty-icon {
  font-size: 3rem;
  opacity: 0.3;
}

.cart-footer {
  padding: 24px 28px;
  border-top: 1px solid var(--border);
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.cart-total-label {
  font-size: 0.9rem;
  color: var(--text-light);
}

.cart-total-value {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary);
}

.checkout-btn {
  width: 100%;
  padding: 16px;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

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

/* ── ORDER MODAL ── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 2100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.order-modal {
  background: var(--white);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 500px;
  overflow: hidden;
  transform: scale(0.95) translateY(20px);
  transition: transform var(--transition);
}

.modal-overlay.open .order-modal {
  transform: scale(1) translateY(0);
}

.modal-header {
  background: var(--primary);
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-header h3 {
  color: var(--white);
  font-size: 1.1rem;
}

.modal-close {
  color: rgba(255,255,255,0.7);
  cursor: pointer;
  font-size: 1.2rem;
  background: none;
  border: none;
  transition: color var(--transition);
}

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

.modal-body {
  padding: 32px 28px;
}

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

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

.form-group input {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--text);
  transition: border-color var(--transition);
  background: var(--white);
}

.form-group input:focus {
  outline: none;
  border-color: var(--accent);
}

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

.submit-order-btn {
  width: 100%;
  padding: 16px;
  background: var(--accent);
  color: var(--primary);
  border: none;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.submit-order-btn:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(200,169,110,0.4);
}

.submit-order-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

/* ── LOADING SPINNER ── */
.spinner {
  width: 20px; height: 20px;
  border: 3px solid rgba(10,10,15,0.2);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ── SUCCESS MESSAGE ── */
.success-state {
  text-align: center;
  padding: 40px 20px;
}

.success-icon {
  font-size: 4rem;
  margin-bottom: 16px;
  animation: popIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes popIn {
  from { transform: scale(0); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.success-state h3 {
  font-size: 1.4rem;
  color: var(--text);
  margin-bottom: 12px;
}

.success-state p {
  color: var(--text-light);
  line-height: 1.65;
}

/* ── COOKIE BANNER ── */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--primary);
  color: var(--white);
  padding: 20px 0;
  z-index: 1500;
  transform: translateY(100%);
  transition: transform 0.5s ease;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
}

.cookie-banner.visible {
  transform: translateY(0);
}

.cookie-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cookie-text {
  font-size: 0.88rem;
  opacity: 0.82;
  flex: 1;
  min-width: 240px;
}

.cookie-text a {
  color: var(--accent);
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  gap: 12px;
}

.cookie-accept {
  padding: 10px 24px;
  background: var(--accent);
  color: var(--primary);
  border: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all var(--transition);
}

.cookie-accept:hover { background: var(--accent-light); }

.cookie-decline {
  padding: 10px 20px;
  background: transparent;
  color: rgba(255,255,255,0.6);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 8px;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all var(--transition);
}

.cookie-decline:hover {
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  background: var(--primary);
  padding: 80px 0 60px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(200,169,110,0.1) 0%, transparent 70%);
}

.page-hero .container { position: relative; z-index: 1; }

.page-hero .section-label { color: var(--accent); }

.page-hero h1 {
  color: var(--white);
  margin: 8px 0 16px;
  font-size: clamp(2rem, 4vw, 3rem);
}

.page-hero p {
  color: rgba(255,255,255,0.65);
  font-size: 1.05rem;
  max-width: 540px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  margin-top: 24px;
}

.breadcrumb a {
  color: rgba(255,255,255,0.45);
  transition: color var(--transition);
}

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

/* ── CONTENT SECTIONS (inner pages) ── */
.content-section {
  padding: 80px 0;
}

.content-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  margin-bottom: 24px;
}

.content-card h3 {
  font-size: 1.15rem;
  margin-bottom: 16px;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 10px;
}

.content-card h3 .ic {
  color: var(--accent);
  font-size: 1.2rem;
}

.content-card p, .content-card li {
  color: var(--text-light);
  line-height: 1.75;
  margin-bottom: 12px;
  font-size: 0.95rem;
}

.content-card ul {
  list-style: none;
  padding: 0;
}

.content-card ul li {
  padding-left: 20px;
  position: relative;
}

.content-card ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent);
}

/* ── DELIVERY PAGE ── */
.delivery-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin: 48px 0;
}

.delivery-step {
  text-align: center;
  padding: 32px 20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  position: relative;
  transition: all var(--transition);
}

.delivery-step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}

.delivery-step-num {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  width: 28px; height: 28px;
  background: var(--accent);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.delivery-step-icon {
  font-size: 2.2rem;
  margin: 12px 0 16px;
}

.delivery-step h4 {
  font-size: 0.95rem;
  margin-bottom: 8px;
}

.delivery-step p {
  font-size: 0.82rem;
  color: var(--text-light);
}

.delivery-img-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.delivery-img-wrap img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

/* ── CONTACTS PAGE ── */
.contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: start;
}

.contact-info-card {
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.contact-info-card h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.contact-info-card > p {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  margin-bottom: 32px;
}

.contact-detail {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  align-items: flex-start;
}

.contact-detail-icon {
  width: 44px; height: 44px;
  background: rgba(200,169,110,0.15);
  border: 1px solid rgba(200,169,110,0.3);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-detail-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.contact-detail-value {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--white);
}

.contact-form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.contact-form-card h3 {
  margin-bottom: 28px;
}

.contact-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--text);
  resize: vertical;
  min-height: 130px;
  transition: border-color var(--transition);
}

.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
}

/* ── LEGAL PAGES ── */
.legal-content {
  max-width: 860px;
  margin: 0 auto;
}

.legal-content h2 {
  font-size: 1.5rem;
  margin: 40px 0 16px;
  color: var(--text);
}

.legal-content h3 {
  font-size: 1.1rem;
  margin: 28px 0 12px;
  color: var(--text);
}

.legal-content p, .legal-content li {
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 14px;
  font-size: 0.95rem;
}

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

.legal-date {
  font-size: 0.82rem;
  color: var(--mid-gray);
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ── MOBILE NAV ── */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0; right: 0;
  background: var(--white);
  z-index: 999;
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  transform: translateY(-100%);
  opacity: 0;
  transition: all var(--transition);
  padding: 16px 0;
}

.mobile-nav.open {
  transform: translateY(0);
  opacity: 1;
}

.mobile-nav a {
  display: block;
  padding: 12px 24px;
  font-size: 0.95rem;
  font-weight: 500;
  border-bottom: 1px solid var(--light-gray);
  transition: all var(--transition);
}

.mobile-nav a:hover {
  color: var(--accent-dark);
  background: var(--off-white);
}

/* ── SCROLL TO TOP ── */
.scroll-top {
  position: fixed;
  bottom: 32px; right: 32px;
  width: 44px; height: 44px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 900;
  opacity: 0;
  transform: translateY(20px);
  transition: all var(--transition);
  box-shadow: var(--shadow-md);
  border: none;
  font-size: 1rem;
}

.scroll-top.visible {
  opacity: 1;
  transform: translateY(0);
}

.scroll-top:hover {
  background: var(--accent);
  color: var(--primary);
}

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .mobile-nav { display: block; }

  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-img-wrap img { height: 360px; }
  .testimonials-grid { grid-template-columns: 1fr; gap: 20px; }
  .delivery-steps { grid-template-columns: repeat(2, 1fr); }
  .contacts-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 24px; }
}

@media (max-width: 640px) {
  .section { padding: 60px 0; }
  .features-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-stats { flex-direction: column; gap: 16px; }
  .delivery-steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .promo-inner { flex-direction: column; align-items: flex-start; }
  .top-bar-inner { flex-direction: column; gap: 4px; }
  .content-card { padding: 24px 20px; }
  .contact-info-card, .contact-form-card { padding: 28px 20px; }
  .modal-body { padding: 24px 20px; }
  .scroll-top { bottom: 80px; right: 16px; }
}
