:root {
  --black: #050505;
  --off-white: #f5f5f5;
  --gold: #c5a059;
  --accent: #e56b1f;
  /* A cleaner rust/orange */
  --gray: #888;
  --dark-gray: #1a1a1a;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  font-family: inherit;
}

body {
  background: var(--black);
  color: var(--off-white);
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
}

/* Global Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(5, 5, 5, 0.4); /* Much more transparent */
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2.5rem;
  min-height: 80px;
  gap: 1.5rem;
}

.nav-container {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
  justify-content: center;
  gap: 0.5rem;
}

.logo {
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  letter-spacing: 0.1em;
  font-weight: 700;
  flex-shrink: 0;
  text-decoration: none;
  color: var(--off-white);
}

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

nav {
  display: flex;
  align-items: center;
  gap: 2.22rem;
  background: transparent;
  padding: 0.5rem 0;
  border: none;
  overflow-x: auto;
  scrollbar-width: none; 
  scroll-behavior: smooth;
  min-width: 0;
  width: auto;
  -webkit-overflow-scrolling: touch;
}

nav::-webkit-scrollbar {
  display: none;
}

.nav-arrow {
  color: var(--gray);
  background: transparent;
  border: none;
  padding: 0 1rem;
  font-size: 1.2rem;
  font-weight: 300;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
  line-height: 1;
}

.nav-arrow:hover {
  color: var(--accent);
}

nav a {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.2rem;
  text-transform: uppercase;
  color: var(--off-white);
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
  opacity: 0.85; /* Much clearer */
}

nav a:hover, nav a.active {
  color: #fff;
  opacity: 1;
  letter-spacing: 0.24rem;
}

nav a.active {
  transform: translateY(-1px);
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.2rem;
  flex-shrink: 0;
}

.search-box {
  display: flex;
  align-items: center;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  padding: 0.4rem 0.8rem;
  width: 220px;
  transition: all 0.3s;
  justify-self: end;
}

.search-box:focus-within {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--accent);
}

.search-box input {
  background: transparent;
  border: none;
  color: var(--off-white);
  font-size: 0.8rem;
  width: 100%;
  outline: none;
}

.cart-btn {
  background: transparent;
  border: none;
  padding: 0.5rem;
  color: var(--off-white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  cursor: pointer;
}

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

.cart-btn:active, .nav-arrow:active, button:active {
  transform: scale(0.92);
  opacity: 0.7;
}


/* Marquee */
.marquee-bar {
  background: var(--accent);
  padding: 8px 0;
  overflow: hidden;
}

.marquee-inner {
  display: inline-block;
  white-space: nowrap;
  animation: marquee 25s linear infinite;
}

.marquee-inner span {
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--black);
  margin: 0 3rem;
  font-weight: 600;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* Reveal Animations */
.reveal {
  opacity: 0;
  transform: translateY(40px) scale(0.95);
  transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.product-card {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.2, 0, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0, 0.2, 1);
}

.product-card.active {
  opacity: 1;
  transform: translateY(0);
}


/* Admin UI */
.admin-trigger {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--accent);
  color: var(--black);
  padding: 10px 20px;
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  cursor: pointer;
  z-index: 2000;
  border: none;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

#admin-panel {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 480px;
  max-height: 85vh;
  overflow-y: auto;
  background: #0d0d0d;
  padding: 2rem;
  border: 1px solid #222;
  z-index: 3000;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.9);
  scrollbar-width: thin;
  scrollbar-color: var(--accent) #111;
}

#admin-panel.visible {
  display: block;
}

#admin-panel h1,
h2,
h3 {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 2rem;
}

#admin-panel input,
#admin-panel select {
  width: 100%;
  background: #151515;
  border: 1px solid var(--dark-gray);
  color: var(--off-white);
  padding: 0.8rem;
  margin-bottom: 1rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
}

#admin-panel button {
  background: var(--accent);
  color: white;
  padding: 1rem 2rem;
  border: none;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  width: 100%;
  text-transform: uppercase;
  transition: 0.3s;
}

#admin-panel button:hover {
  filter: brightness(1.1);
  box-shadow: 0 0 20px rgba(229, 107, 31, 0.4);
}


.preview-strip {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding: 1rem 0;
}

.preview-thumb {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid #333;
}

.admin-delete-btn,
.admin-edit-btn {
  position: absolute;
  top: 10px;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  color: white;
  border: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: none;
  /* Hidden by default */
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 50;
  font-size: 1rem;
  line-height: 1;
  transition: 0.3s;
}

.admin-delete-btn {
  right: 10px;
  color: #ff4444;
}

.admin-edit-btn {
  right: 45px;
  color: #44aaff;
}

.admin-delete-btn:hover {
  background: #ff4444;
  color: white;
}

.admin-edit-btn:hover {
  background: #44aaff;
  color: white;
}

.close-admin {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  cursor: pointer;
  color: var(--gray);
}

/* Hero / Featured */
.featured {
  padding-top: 180px;
  padding-bottom: 100px;
  background: var(--black);
}

.featured-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: center;
  margin-bottom: 3rem;
  padding: 0 2rem;
}

.featured-item:nth-child(even) {
  direction: rtl;
}

.featured-item:nth-child(even) .featured-info {
  direction: ltr;
}

.featured-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/5;
  max-width: 280px;
  margin: 0 auto;
}

.featured-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.featured-item:hover img {
  transform: scale(1.05);
}

.featured-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 2rem;
}

.featured-brand {
  font-size: 0.7rem;
  letter-spacing: 0.4em;
  color: var(--accent);
  text-transform: uppercase;
}

.featured-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-style: normal;
  line-height: 1.1;
}

.featured-desc {
  font-size: 0.8rem;
  color: var(--gray);
  max-width: 400px;
  line-height: 1.8;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding: 0 5%;
  margin-top: 4rem;
}

.featured-item-grid {
  position: relative;
  aspect-ratio: 1/1;
  overflow: hidden;
  border-radius: 4px;
  background: #111;
}

.featured-item-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.featured-item-grid:hover img {
  transform: scale(1.08);
}

.featured-item-grid .item-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 1rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  opacity: 0;
  transition: opacity 0.5s ease;
}

.featured-item-grid:hover .item-overlay {
  opacity: 1;
}

/* Products Section */
.products {
  background: #080808;
  padding: 120px 2rem 100px;
}

.section-header {
  margin-bottom: 3rem;
}

.featured .section-header {
  text-align: center;
  margin-top: 8rem;
}

.products .section-header {
  text-align: center;
}

.section-title {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-style: normal;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
  line-height: 1;
  color: var(--accent);
}


.featured .section-title {
  font-size: 4rem;
}

.products .section-title {
  font-size: 6rem;
}

.section-sub {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  color: var(--gray);
  text-transform: uppercase;
}

/* Product Grid Fixes */
.product-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.8rem;
}

.product-card {
  position: relative;
  background: transparent;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.product-img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
  background: #151515;
  border-radius: 8px;
}

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

.product-info {
  padding: 1rem 0;
}

.product-name {
  font-family: 'Outfit', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  font-style: normal;
  margin-bottom: 0.1rem;
  line-height: 1.1;
}

.product-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.7rem;
  font-family: 'Inter', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gray);
}

.product-status {
  color: var(--accent);
  font-weight: bold;
}

.product-views {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.55rem;
  color: #555;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 4px;
}

.product-views svg {
  opacity: 0.6;
}


/* About Section Grid */
.about {
  padding: 120px 4rem;
  border-top: 1px solid var(--dark-gray);
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.about-text h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 4rem;
  font-weight: 700;
  font-style: normal;
  margin-bottom: 2rem;
  line-height: 1.1;
}

.about-text p {
  color: var(--gray);
  margin-bottom: 1.5rem;
  max-width: 500px;
  font-size: 1rem;
}

.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.tag {
  font-family: 'Inter', sans-serif;
  font-size: 0.65rem;
  padding: 0.4rem 1rem;
  border: 1px solid var(--accent);
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.tag:hover {
  background: var(--accent);
  color: var(--black);
}

.tag.active {
  background: var(--accent);
  color: var(--black);
}

.about-visual {
  position: relative;
  padding: 2rem;
}

.about-big-text {
  font-family: 'Outfit', sans-serif;
  font-size: 10rem;
  color: rgba(255, 255, 255, 0.03);
  position: absolute;
  top: -2rem;
  left: 0;
  z-index: -1;
  pointer-events: none;
}

.about-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.about-stat {
  border-left: 1px solid var(--accent);
  padding-left: 1.5rem;
}

.about-stat-num {
  font-family: 'Outfit', sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  font-style: normal;
  color: var(--off-white);
}

.about-stat-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gray);
}

/* Contact Section */
.contact {
  background: var(--black);
  text-align: center;
  padding: 150px 2rem;
  border-top: 1px solid var(--dark-gray);
}

.contact h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 3.5rem;
  font-weight: 700;
  font-style: normal;
  margin-bottom: 1.5rem;
}

.contact p {
  color: var(--gray);
  margin-bottom: 2.5rem;
}

.contact-ig {
  display: inline-block;
  color: var(--accent);
  font-size: 1rem;
  text-decoration: none;
  letter-spacing: 0.2em;
  border: 1px solid var(--accent);
  padding: 1rem 2.5rem;
  transition: all 0.3s;
}

.contact-ig:hover {
  background: var(--accent);
  color: var(--black);
}

/* Footer Enhancements */
footer {
  padding: 120px 4rem 60px;
  border-top: 1px solid var(--dark-gray);
  background: #080808;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  max-width: 1400px;
  margin: 0 auto;
  text-align: left;
}

.footer-logo {
  font-family: 'Outfit', sans-serif;
  font-size: 3rem;
  letter-spacing: -0.02em;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 2rem;
  font-style: normal;
  text-align: left;
}

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

.footer-brand-statement {
  font-size: 0.95rem;
  color: var(--gray);
  max-width: 400px;
  margin-bottom: 2rem;
  line-height: 1.8;
}

.footer-column h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--off-white);
  margin-bottom: 1.5rem;
}

.footer-column ul {
  list-style: none;
}

.footer-column ul li {
  margin-bottom: 0.8rem;
}

.footer-column ul li a {
  color: var(--gray);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s;
}

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

.footer-bottom {
  margin-top: 80px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Inter', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: #555;
}

@media (max-width: 900px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .footer-logo {
    font-size: 2.5rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

@media (max-width: 1024px) {
  .featured-item {
    grid-template-columns: 1fr;
    padding: 0 2rem;
    gap: 2rem;
  }

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

  .about-inner {
    grid-template-columns: 1fr;
  }
}

/* ── Tablet ── */
@media (max-width: 768px) {
  .header-top {
    flex-wrap: wrap;
    padding: 0.8rem 1.2rem;
    min-height: auto;
    gap: 0.6rem;
  }

  .logo {
    font-size: 1.2rem;
    flex: 0 0 auto;
  }

  .nav-container {
    order: 3;
    width: 100%;
    flex: 0 0 100%;
    gap: 0.2rem;
  }

  nav {
    gap: 1.2rem;
    padding: 0.3rem 0;
  }

  nav a {
    font-size: 0.7rem;
    letter-spacing: 0.12rem;
  }

  .nav-arrow {
    padding: 0 0.5rem;
    font-size: 1rem;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem;
  }

  .about {
    padding: 80px 1.5rem;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  footer {
    padding: 80px 1.5rem 40px;
  }

  .featured {
    padding-top: 160px;
  }

  .products {
    padding: 80px 1rem 80px;
  }

  .section-title {
    font-size: 3rem !important;
  }
}

/* ── Mobile ── */
@media (max-width: 480px) {
  .header-top {
    padding: 0.7rem 1rem;
    gap: 0.4rem;
  }

  .logo {
    font-size: 1rem;
  }

  nav a {
    font-size: 0.65rem;
    letter-spacing: 0.1rem;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }

  .featured .section-title {
    font-size: 2rem;
  }

  .products .section-title {
    font-size: 2.5rem;
  }

  .featured {
    padding-top: 140px;
    padding-bottom: 60px;
  }

  .featured-item {
    padding: 0 1rem;
  }

  .featured-info {
    padding: 1rem;
    gap: 1rem;
  }

  .featured-title {
    font-size: clamp(1.4rem, 7vw, 2rem);
  }

  .about {
    padding: 60px 1rem;
  }

  .about-text h2 {
    font-size: 2.5rem;
  }

  .about-stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }

  .contact {
    padding: 80px 1rem;
  }

  .contact h2 {
    font-size: 2rem;
  }

  footer {
    padding: 60px 1rem 30px;
  }

  .featured-grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 0 1rem;
  }
}

@keyframes pulse {
  0% {
    opacity: 0.5;
  }

  50% {
    opacity: 1;
  }

  100% {
    opacity: 0.5;
  }
}

.status-active {
  animation: pulse 1.5s infinite ease-in-out;
}

/* Hover Image Effect */
.product-img-container.has-hover-img:hover .primary-img {
  opacity: 0 !important;
}

.product-img-container.has-hover-img:hover .hover-img {
  opacity: 1 !important;
}

.product-img-container:not(.has-hover-img):hover .primary-img {
  opacity: 0.8 !important;
}
