/*
   Fallback base styles copied from css/style.css.
   This ensures the site remains styled even if css/style.css is absent from the published branch.
*/

:root {
  --bg: #050608;
  --text: #f7f1df;
  --muted: rgba(255, 255, 255, 0.7);
  --gold: #d1b26d;
  --gold-soft: rgba(209, 178, 109, 0.18);
  --border: rgba(255, 255, 255, 0.12);
  --shadow: rgba(0, 0, 0, 0.35);
}

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

html {
  scroll-behavior: smooth;
  font-size: 15px; /* slightly smaller base (default 16px) */
  scroll-padding-top: 90px; /* account for fixed header (70px) + padding */
}

body {
  font-family: 'Poppins', sans-serif;
  background: radial-gradient(circle at top, rgba(255, 255, 255, 0.05), transparent 35%),
              linear-gradient(135deg, #090a0d 0%, #050608 100%);
  color: var(--text);
  min-height: 100vh;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("../bg-pattern.png") center/cover repeat fixed;
  opacity: 0.8;
  pointer-events: none;
  z-index: -1;
}

header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  height: 70px; /* fixed header height to keep icons aligned consistently */
  padding: 0 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  background: linear-gradient(to bottom, #050608 80%, rgba(5, 6, 8, 0.95));
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.logo-mark {
  font-family: 'Oswald', sans-serif;
  font-size: 1.4rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0;
}

.logo-text {
  font-size: 0.68rem;
  letter-spacing: 0.45em;
  color: rgba(255, 255, 255, 0.75);
}

nav {
  flex: 1;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav li {
  margin: 0;
}

.main-nav a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 0.25s ease, transform 0.25s ease;
  white-space: nowrap;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--gold);
}

.icon-item {
  display: flex;
  align-items: center;
}

.icon-btn {
  width: 16px;
  height: 16px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  font-size: 0.55rem;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  position: relative;
}

.icon-btn:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.24);
}

.icon-btn.cart span {
  position: absolute;
  top: -8px;
  right: -8px;
  min-width: 14px;
  height: 14px;
  padding: 0 3px;
  border-radius: 999px;
  background: var(--gold);
  color: #050608;
  font-size: 0.55rem;
  display: grid;
  place-items: center;
  font-weight: 700;
}

.hero-home {
  position: relative;
  min-height: calc(100vh - 140px);
  padding: 2rem 1.5rem 2.5rem;
  margin-top: 0;
  display: grid;
  grid-template-columns: minmax(320px, 1fr);
  align-items: center;
  gap: 2.5rem;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 620px;
}

.top-text {
  font-size: 0.8rem;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.hero-home h1 {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(4.2rem, 12vw, 7rem);
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0;
  line-height: 0.95;
}

.hero-home h2 {
  font-size: clamp(1.9rem, 4vw, 3rem);
  letter-spacing: 0.55em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
  margin: 1rem 0 1.5rem;
}

/* Compact shop hero title: much smaller and force single-line */
.shop-hero {
  display: none;
}

.shop-hero h1 {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(1.6rem, 4.5vw, 2.4rem);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 0.35rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.shop-hero h2 {
  font-size: clamp(1rem, 3vw, 1.6rem);
  letter-spacing: 0.28em;
}

.description {
  max-width: 520px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
  margin-bottom: 1.8rem;
  font-size: 0.98rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  margin-bottom: 2.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 0.92rem;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.btn-primary {
  background: linear-gradient(135deg, rgba(209, 178, 109, 0.95), rgba(255, 214, 133, 0.85));
  color: #050608;
}

.btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.btn:hover {
  transform: translateY(-2px);
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2.5rem;
}

.hero-note span {
  letter-spacing: 0.3em;
  font-size: 0.75rem;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}

.note-line {
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
}

.hero-image {
  display: none;
}

.hero-home {
  justify-items: start;
}

.hero-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(209, 178, 109, 0.18), transparent 35%),
    radial-gradient(circle at bottom left, rgba(255, 255, 255, 0.08), transparent 25%);
}

/* background title removed */

.scroll-indicator { display: none; }
.scroll-dot { display: none; }

.services {
  display: none;
}

/* Mobile product grid: show 2 items per row on small screens */
@media (max-width: 820px) {
  /* stronger selector + important to override style.css mobile rule - apply up to 820px (phones/tablets) */
  body .products-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.9rem !important;
    padding: 0 0.9rem !important;
    grid-auto-flow: dense !important;
  }

  .product-card {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    border-radius: 12px;
    overflow: hidden;
    padding: 0.6rem;
  }

  .product-card img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 8px;
  }

  .product-info { padding: 0.4rem 0.4rem 0.8rem; }

  /* show filters as 3 columns grid on phone/tablet widths */
  .filters {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 0.75rem !important;
    padding-bottom: 0.5rem !important;
  }

  .filters .filter-button {
    display: inline-flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    min-width: unset !important;
    max-width: unset !important;
    padding: 0.9rem 0.8rem !important;
    white-space: normal !important;
    text-align: center !important;
  }

  .filter-button.active {
    min-width: unset !important;
  }

  .product-actions {
    flex-direction: column;
  }
}

.featured {
  width: min(1200px, 100%);
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

.featured h2 {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2.5rem;
  text-align: center;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.card:hover {
  transform: translateY(-8px);
  border-color: rgba(209, 178, 109, 0.35);
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card h3 {
  padding: 1.5rem 1.5rem 0.5rem;
  font-size: 1.2rem;
  color: var(--gold);
  margin: 0;
}

.card p {
  padding: 0 1.5rem 1.5rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  margin: 0;
}

.footer-content {
  padding: 4rem 1.5rem 4.5rem;
}

.shop-controls {
  width: min(1200px, 100%);
  margin: 0 auto;
  padding: 3rem 1.5rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.controls-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.controls-heading h2,
.controls-heading p {
  color: rgba(255, 255, 255, 0.92);
}

.shop-badge {
  padding: 0.85rem 1.2rem;
  border-radius: 999px;
  background: rgba(209, 178, 109, 0.14);
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.3rem;
}

.search-bar {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-top: 1.4rem;
  width: 100%;
  flex-wrap: wrap;
}

.search-bar input {
  flex: 1;
  min-width: 220px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  padding: 1rem 1.2rem;
  border-radius: 999px;
  font-size: 0.95rem;
}

.search-bar input::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

.search-bar button {
  padding: 1rem 1.3rem;
}

.filter-button {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  padding: 0.9rem 1.3rem;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
}

.filter-button.active,
.filter-button:hover {
  background: rgba(209, 178, 109, 0.16);
  border-color: rgba(209, 178, 109, 0.4);
  color: var(--gold);
}

.filter-button.pre-order {
  background: linear-gradient(135deg, #ff8a8a 0%, #ff4d4d 45%, #d62828 100%);
  border-color: #ff6b6b;
  color: #fff5f5;
  box-shadow: 0 0 0 1px rgba(255, 77, 77, 0.18), 0 8px 20px rgba(220, 53, 69, 0.3);
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.25);
}

.filter-button.pre-order.active,
.filter-button.pre-order:hover {
  background: linear-gradient(135deg, #ffb3b3 0%, #ff6b6b 45%, #ff1f1f 100%);
  border-color: #ff4d4d;
  color: #fff8f8;
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px rgba(255, 102, 102, 0.3), 0 10px 24px rgba(255, 53, 53, 0.38);
}

.filter-button.ps-plus {
  background: linear-gradient(135deg, #ffe082 0%, #ffca28 35%, #ff9800 100%);
  border-color: #ffd54f;
  color: #4a2b00;
  box-shadow: 0 0 0 1px rgba(255, 204, 0, 0.18), 0 8px 20px rgba(255, 152, 0, 0.28);
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.3);
}

.filter-button.ps-plus.active,
.filter-button.ps-plus:hover {
  background: linear-gradient(135deg, #fff3b0 0%, #ffd54f 35%, #ffb300 100%);
  border-color: #ffeb3b;
  color: #3d2400;
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px rgba(255, 235, 59, 0.3), 0 10px 24px rgba(255, 183, 0, 0.35);
}

.products-grid {
  width: min(1000px, 100%);
  margin: 0 auto 1.2rem;
  padding: 0 0.4rem;
  display: grid;
  gap: 0.4rem;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.product-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.12);
  display: flex;
  flex-direction: column;
  transition: transform 0.16s ease, border-color 0.16s ease;
}

.product-card:hover {
  transform: translateY(-3px);
  border-color: rgba(209, 178, 109, 0.35);
}

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

.product-info {
  padding: 0.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1;
}

.product-title {
  font-size: 0.78rem;
  letter-spacing: 0.01em;
  color: var(--text);
  margin-bottom: 0.12rem;
}

.product-desc {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.35;
  font-size: 0.68rem;
}

.product-price {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--gold);
}

.version-label {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.95rem;
}

.version-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.75rem;
}

.version-button {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  padding: 0.26rem 0.45rem;
  border-radius: 999px;
  font-size: 0.64rem;
  cursor: pointer;
  transition: all 0.16s ease;
}

.version-button.active {
  background: rgba(209, 178, 109, 0.16);
  color: var(--gold);
  border-color: rgba(209, 178, 109, 0.35);
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.2rem;
}

.button-wa,
.button-cart {
  flex: 1;
  min-width: 76px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 0.32rem 0.48rem;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-weight: 700;
  font-size: 0.68rem;
  transition: all 0.16s ease;
}

/* Responsive grid breakpoints: 5 -> 4 -> 3 -> 2 -> 1 */
@media (max-width: 1300px) {
  .products-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 1024px) {
  .products-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .product-card img { height: 100px; }
}

@media (max-width: 820px) {
  .products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-card img { height: 90px; }
}

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

.button-wa:hover,
.button-cart:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.28);
  transform: translateY(-1px);
}

.empty-state {
  color: rgba(255, 255, 255, 0.7);
  padding: 3rem;
  text-align: center;
  grid-column: 1 / -1;
  font-size: 1rem;
}

.footer-content {
  padding: 1.6rem 1.5rem 2.4rem;
  width: min(1200px, 100%);
  margin: 0 auto;
  text-align: left;
}

/* Special footer styling for HOME page only */
.home-footer .footer-content {
  padding: 1.6rem 1.5rem 2.4rem;
  width: min(1200px, 100%);
  margin: 0 auto;
  text-align: center;
  margin-top: -10rem;
}

.footer-content h2 {
  letter-spacing: 0.4em;
  font-size: 1.3rem;
  color: var(--gold);
  margin-bottom: 0.85rem;
}

.social {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin: 1.4rem 0;
}

.social a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  transition: color 0.25s ease;
}

.social a:hover {
  color: var(--gold);
}

.copy {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  margin-top: 1rem;
}

.hero .content,
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
}

.small {
  font-size: 0.78rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.4rem;
}

.hero h1 {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(5rem, 12vw, 8rem);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0;
}

.hero h2 {
  font-size: 2rem;
  letter-spacing: 0.55em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  margin: 1rem 0 2rem;
}

.text {
  font-size: 1rem;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 2.4rem;
}

button {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-weight: 700;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

button:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.28);
}

.bg-text {
  position: absolute;
  right: 5%;
  top: 30%;
  font-family: 'Oswald', sans-serif;
  font-size: clamp(2.8rem, 6vw, 4rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.04);
  z-index: 1;
  pointer-events: none;
}

/* Force compact shop hero title (overrides generic .hero h1) */
.hero.shop-hero h1 {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(1.4rem, 3.6vw, 1.9rem);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 0.25rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.smoke {
  position: absolute;
  right: 4%;
  top: 22%;
  width: 520px;
  height: 420px;
  background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.08), transparent 55%);
  filter: blur(28px);
  opacity: 0.35;
  z-index: 1;
}

.scroll {
  position: absolute;
  left: 50%;
  bottom: 2.2rem;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  z-index: 2;
}

.scroll i {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.72);
}

@media (max-width: 1024px) {
  .hero {
    min-height: calc(100vh - 100px);
  }

  /* Allow header to expand on medium screens (keep icons consistent) */
  header { height: auto; padding: 1rem 0.85rem; }
}

@media (max-width: 860px) {
  header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.2rem;
    padding: 1.5rem 1rem 0;
  }

  nav {
    width: 100%;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .icons {
    order: 3;
  }
}

@media (max-width: 680px) {
  header {
    padding: 1.2rem 0.9rem 0;
  }

  .hero {
    padding: 0 0.9rem 2rem;
  }

  .hero h1 {
    font-size: clamp(4rem, 18vw, 6rem);
  }

  .hero h2 {
    font-size: 1.8rem;
  }

  .bg-text {
    right: 1rem;
    font-size: clamp(5rem, 24vw, 8rem);
  }

  .scroll {
    bottom: 1.8rem;
  }
}

.contact-form-section {
  width: min(900px, 100%);
  margin: 0 auto 3rem;
  padding: 2rem 1.5rem;
}

.contact-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  padding: 2rem;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.18);
}

.contact-card h3 {
  color: var(--text);
  margin-bottom: 1.2rem;
}

.contact-card form {
  display: grid;
  gap: 1rem;
}

.contact-card input,
.contact-card textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  color: var(--text);
  padding: 1rem 1.2rem;
  font-size: 1rem;
}

.contact-card input::placeholder,
.contact-card textarea::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

.cart-page {
  width: min(1200px, 100%);
  margin: 0 auto 3rem;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1.5rem;
}

.cart-items,
.cart-summary {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 28px;
  padding: 1.5rem;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.2rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.cart-item:last-child {
  border-bottom: none;
}

.cart-item-info h3 {
  margin-bottom: 0.45rem;
  color: var(--text);
}

.cart-item-info p {
  color: rgba(255, 255, 255, 0.7);
  margin: 0.25rem 0;
}

.cart-item-controls {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  align-items: flex-end;
}

.quantity-control {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.quantity-control span {
  min-width: 40px;
  text-align: center;
  color: var(--text);
  font-weight: 700;
}

.cart-summary-card {
  display: grid;
  gap: 1rem;
}

.cart-summary-card h3 {
  color: var(--gold);
}

.cart-line {
  display: flex;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
}

.cart-empty {
  color: rgba(255, 255, 255, 0.75);
  padding: 3rem 1rem;
  text-align: center;
}

@media (max-width: 1024px) {
  .cart-page {
    grid-template-columns: 1fr;
  }
}

/* Center main nav at top-center (marked area) - override */
.main-header, header {
  position: relative;
}

.main-nav {
  position: absolute;
  top: 1.2rem; /* ???? 1rem / 1.4rem ??? ?????? */
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 1rem;
  z-index: 40;
}

.main-nav ul { white-space: nowrap; }

.main-nav ul {
  display: flex;
  gap: 0.9rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.logo {
  position: absolute;
  left: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
}

.header-icons, .icon-btn {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
}

.main-nav a {
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  padding: 0.15rem 0.35rem;
}

@media (max-width: 860px) {
  .main-nav { position: static; transform: none; justify-content: center; margin: 0.3rem 0; }
  .logo, .header-icons, .icon-btn { position: static; transform: none; display: inline-flex; vertical-align: middle; }
  .main-nav ul { flex-wrap: wrap; justify-content: center; gap: 0.6rem; }
}

/* Header icons group - top-right, show three icons inline */
.header-icons {
  position: absolute; /* position relative to the header container for consistency */
  right: 1.5rem;
  top: 65%;
  transform: translateY(-50%);
  display: flex;
  gap: 0.5rem;
  align-items: center;
  z-index: 120; /* sit above nav */
  white-space: nowrap;
}

.header-icons a,
.header-icons button,
.header-icons .icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; /* consistent size across pages */
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--text);
  transition: transform 0.18s ease, background 0.18s ease;
}

.header-icons a:hover,
.header-icons .icon-btn:hover { transform: translateY(-2px); background: rgba(255,255,255,0.12); }

.header-icons .cart { position: relative; }

.header-icons .cart span {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--gold);
  color: #050608;
  font-size: 0.7rem;
  display: grid;
  place-items: center;
  font-weight: 700;
}

@media (max-width: 860px) {
  /* on narrow screens keep icons inside header flow */
  .header-icons { position: static; right: auto; top: auto; transform: none; gap: 0.5rem; margin-left: auto; }
  .header-icons a, .header-icons .icon-btn { width: 36px; height: 36px; }
  .header-icons .cart span { top: -5px; right: -5px; }
}

/* Ensure all header icons use same visual style across site */
.header-icons .icon-btn, .header-icons a { box-shadow: none; }

/* Ensure icon buttons are positioned inline (override earlier combined rule) */
.header-icons a, .header-icons .icon-btn { position: relative; }

/* Contact Social Section */
.contact-social-section {
  padding: 4rem 1.5rem;
  background: rgba(209, 178, 109, 0.05);
  border-top: 1px solid rgba(209, 178, 109, 0.2);
  border-bottom: 1px solid rgba(209, 178, 109, 0.2);
}

.contact-container {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.contact-container h2 {
  font-size: clamp(1.8rem, 5vw, 2.5rem);
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
  color: var(--gold);
  text-transform: uppercase;
}

.contact-container > p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 3rem;
}

.social-contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  justify-items: center;
}

.social-contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 280px;
  padding: 2.5rem 2rem;
  border: 2px solid rgba(209, 178, 109, 0.3);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  text-decoration: none;
  color: var(--text);
  transition: all 0.35s ease;
  cursor: pointer;
}

.social-contact-card:hover {
  transform: translateY(-8px);
  border-color: var(--gold);
  background: rgba(209, 178, 109, 0.15);
}

.social-contact-card i {
  font-size: 4rem;
  margin-bottom: 1rem;
  transition: all 0.35s ease;
}

.social-contact-card.whatsapp i {
  color: #25D366;
}

.social-contact-card.whatsapp:hover i {
  color: #1fbf50;
  transform: scale(1.15);
}

.social-contact-card.facebook i {
  color: #1877F2;
}

.social-contact-card.facebook:hover i {
  color: #0a66c2;
  transform: scale(1.15);
}

.social-contact-card.instagram i {
  color: #E4405F;
}

.social-contact-card.instagram:hover i {
  color: #d9366a;
  transform: scale(1.15);
}

.social-contact-card h3 {
  font-size: 1.4rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.social-contact-card p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.65);
}

/* Language Switcher Button */
.language-switcher {
  margin-left: 0.75rem;
}

.language-switcher .lang-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.45rem;
  min-width: 32px;
  height: 26px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.75);
  font-weight: 700;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.25s ease;
  line-height: 1;
}

.language-switcher .lang-btn:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(209, 178, 109, 0.45);
  color: var(--gold);
}

.lang-text {
  display: inline-block;
}

html[dir="rtl"] .main-nav {
  flex-direction: row-reverse;
}


/* Responsive layout adjustments */

@media (max-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .social-contact-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .contact-social-section {
    padding: 3rem 1.5rem;
  }

  .social-contact-card {
    max-width: 100%;
    padding: 2rem 1.5rem;
  }

  footer {
    display: none;
  }

  .header-icons {
    top: 50%;
    transform: translateY(20px);
  }

  .icon-btn {
    width: 20px;
    height: 20px;
    font-size: 0.7rem;
  }
}

@media (max-width: 860px) {
  header {
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 70px;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    background: linear-gradient(to bottom, #050608 80%, rgba(5, 6, 8, 0.95));
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .main-nav {
    gap: 1.2rem;
  }

  .icon-btn {
    width: 15px;
    height: 15px;
    font-size: 0.5rem;
  }

  .icon-item {
    display: flex;
    align-items: center;
  }

  .logo-mark {
    font-size: 1.2rem;
  }

  .logo-text {
    font-size: 0.6rem;
  }

  .main-nav {
    gap: 1.2rem;
  }

  .main-nav a {
    font-size: 0.7rem;
  }

  nav {
    flex: 1;
  }

  .hero {
    flex-direction: column;
    justify-content: center;
    min-height: auto;
    padding-bottom: 2rem;
    padding-top: 2rem;
  }

  .hero-image,
  .shop-hero-image {
    width: 100%;
    min-height: 320px;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .shop-controls {
    padding: 2rem 1rem 1rem;
  }

  .social-contact-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .contact-social-section {
    padding: 2.5rem 1rem;
  }

  .social-contact-card {
    max-width: 100%;
    padding: 1.8rem 1.2rem;
  }

  .social-contact-card i {
    font-size: 2.8rem;
  }

  .social-contact-card h3 {
    font-size: 1.1rem;
  }

  .social-contact-card p {
    font-size: 0.9rem;
  }

  footer {
    display: none;
  }
}

@media (max-width: 640px) {
  header {
    height: 70px;
    padding: 0 0.8rem;
  }

  .main-nav {
    gap: 1rem;
  }

  .icon-btn {
    width: 14px;
    height: 14px;
    font-size: 0.48rem;
  }

  .logo-mark {
    font-size: 1rem;
  }

  .logo-text {
    font-size: 0.55rem;
  }

  .main-nav {
    gap: 0.8rem;
  }

  .main-nav a {
    font-size: 0.65rem;
  }

  .icon-btn {
    width: 32px;
    height: 32px;
  }

  .filters {
    justify-content: center;
  }

  .product-card {
    border-radius: 24px;
  }

  .button-wa,
  .button-cart,
  .filter-button,
  .version-button {
    width: 100%;
  }

  .product-actions {
    flex-direction: column;
  }

  .contact-social-section {
    padding: 2rem 0.8rem;
  }

  .social-contact-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .social-contact-card {
    max-width: 100%;
    padding: 1.5rem 1rem;
  }

  .social-contact-card i {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
  }

  .social-contact-card h3 {
    font-size: 1rem;
    margin-bottom: 0.35rem;
  }

  .social-contact-card p {
    font-size: 0.85rem;
  }

  .contact-container h2 {
    font-size: 1.5rem;
  }

  .contact-container > p {
    font-size: 0.95rem;
    margin-bottom: 2rem;
  }

  footer {
    display: none;
  }
}

