:root {
  --gold: #FFB800;
  --gold-light: #FFD04D;
  --gold-dim: rgba(255, 184, 0, 0.15);
  --gold-border: rgba(255, 184, 0, 0.25);
  --dark: #1a1a1a;
  --dark2: #212121;
  --dark3: #2a2a2a;
  --dark4: #333333;
  --text: #f0f0f0;
  --text-muted: #8a8a8a;
  --radius: 12px;
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Jost", sans-serif;
  background: var(--dark);
  color: var(--text);
  overflow-x: hidden;
}

/* ===== HEADER ===== */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 40px;
  background: rgba(26, 26, 26, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 184, 0, 0.2);
  gap: 20px;
}

.logo a {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.logo img {
  height: 48px;
  object-fit: contain;
}
.logo-text {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 3px;
}

.main-nav {
  display: flex;
  gap: 30px;
}
.main-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: color 0.3s;
  position: relative;
}
.main-nav a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s;
}
.main-nav a:hover,
.main-nav a.active {
  color: var(--gold);
}
.main-nav a:hover::after,
.main-nav a.active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.search-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.search-wrap input {
  background: var(--dark3);
  border: 1px solid rgba(255, 184, 0, 0.2);
  border-radius: 8px;
  color: var(--text);
  padding: 8px 36px 8px 14px;
  font-family: "Jost", sans-serif;
  font-size: 0.85rem;
  width: 200px;
  transition:
    border-color 0.3s,
    width 0.3s;
  outline: none;
}
.search-wrap input:focus {
  border-color: var(--gold);
  width: 240px;
}
.search-icon {
  position: absolute;
  right: 10px;
  color: var(--text-muted);
  font-size: 1.1rem;
  pointer-events: none;
}

.cart-btn {
  position: relative;
  background: transparent;
  border: 1px solid rgba(255, 184, 0, 0.3);
  border-radius: 8px;
  color: var(--text);
  padding: 8px 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.3s;
}
.cart-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.cart-count {
  background: var(--gold);
  color: #000;
  font-size: 0.7rem;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.auth-btn {
  background: var(--gold);
  color: #000;
  border: none;
  border-radius: 8px;
  padding: 8px 18px;
  font-family: "Jost", sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition:
    background 0.3s,
    transform 0.2s;
  white-space: nowrap;
}
.auth-btn:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: 0.3s;
}

/* MOBILE MENU */
.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--dark2);
  border-bottom: 1px solid rgba(255, 184, 0, 0.15);
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.4s ease,
    padding 0.3s;
}
.mobile-menu.open {
  display: flex;
  max-height: 300px;
  padding: 10px 0;
}
.mobile-menu a {
  color: var(--text);
  text-decoration: none;
  padding: 14px 30px;
  font-size: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition:
    color 0.2s,
    padding-left 0.2s;
}
.mobile-menu a:hover {
  color: var(--gold);
  padding-left: 40px;
}

/* ===== HERO ===== */
.hero-wrap {
  display: flex;
  justify-content: center;
  padding: 30px 40px;
  background: var(--dark);
}

.hero {
  position: relative;
  width: 100%;
  max-width: 1200px;
  height: 460px;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
  background: var(--dark);
}

/* Diagonal yellow shape on right side */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gold);
  clip-path: polygon(40% 0%, 100% 0%, 82% 100%, 22% 100%);
  z-index: 0;
}

.hero input {
  display: none;
}

.slider {
  position: relative;
  z-index: 1;
  width: 300%;
  height: 100%;
  display: flex;
  transition: transform 0.8s cubic-bezier(0.77, 0, 0.175, 1);
}

.slide {
  width: 33.333%;
  height: 100%;
  flex-shrink: 0;
  overflow: hidden;
  background: transparent;
}
.slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: right center;
  padding-left: 35%;
  display: block;
  filter: drop-shadow(0 10px 30px rgba(0,0,0,0.4));
}

#s1:checked ~ .slider {
  transform: translateX(0);
}
#s2:checked ~ .slider {
  transform: translateX(-33.333%);
}
#s3:checked ~ .slider {
  transform: translateX(-66.666%);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    to right,
    rgba(26, 26, 26, 0.97) 0%,
    rgba(26, 26, 26, 0.85) 30%,
    rgba(26, 26, 26, 0.1) 50%,
    transparent 65%
  );
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 50px;
  pointer-events: none;
}
.hero-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.8);
}
.hero-title span {
  color: var(--gold);
}
.hero-cta {
  pointer-events: all;
  display: inline-block;
  margin-top: 24px;
  background: var(--gold);
  color: #000;
  text-decoration: none;
  padding: 13px 30px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 1px;
  width: fit-content;
  transition:
    background 0.3s,
    transform 0.2s,
    box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(255, 184, 0, 0.3);
}
.hero-cta:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(255, 184, 0, 0.5);
}

/* ===== HERO SLIDE PRODUCT ===== */
.hero-slide-product {
  cursor: pointer;
  position: relative;
}
.hero-slide-product img {
  transition: transform 0.5s cubic-bezier(0.34,1.2,0.64,1);
}
.hero-slide-product:hover img {
  transform: scale(1.06) !important;
}
.slide-info {
  position: absolute;
  bottom: 28px;
  right: 28px;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,184,0,0.3);
  border-radius: 10px;
  padding: 10px 16px;
  text-align: right;
  pointer-events: none;
  z-index: 3;
}
.slide-name {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2px;
}
.slide-price {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold);
}

/* ===== SLIDER ARROWS ===== */
.slide-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  background: rgba(0, 0, 0, 0.45);
  border: none;
  color: #fff;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(6px);
  transition: background 0.25s, color 0.25s, transform 0.2s;
}
.slide-arrow:hover {
  background: var(--gold);
  color: #000;
  transform: translateY(-50%) scale(1.1);
}
.slide-prev { left: 16px; }
.slide-next { right: 16px; }

.nav-dots {
  position: absolute;
  bottom: 20px;
  width: 100%;
  text-align: center;
  z-index: 3;
}
.nav-dots label {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  margin: 4px;
  cursor: pointer;
  transition: all 0.3s;
}
#s1:checked ~ .nav-dots label:nth-child(1),
#s2:checked ~ .nav-dots label:nth-child(2),
#s3:checked ~ .nav-dots label:nth-child(3) {
  background: var(--gold);
  transform: scale(1.4);
}

/* ===== FEATURES ===== */
.features {
  display: flex;
  justify-content: center;
  gap: 0;
  background: #111;
  border-top: 2px solid rgba(255, 184, 0, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.feature-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 40px;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  flex: 1;
  justify-content: center;
  transition: background 0.2s;
}
.feature-item:hover {
  background: rgba(255, 184, 0, 0.04);
}
.feature-item:last-child {
  border-right: none;
}
.feature-item span {
  font-size: 1.6rem;
  filter: drop-shadow(0 0 6px rgba(255,184,0,0.4));
}
.feature-item div {
  display: flex;
  flex-direction: column;
}
.feature-item strong {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
}
.feature-item p {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 400;
  margin-top: 2px;
}

/* ===== PRODUCTS ===== */
.products-section {
  padding: 50px 40px 80px;
  max-width: 1400px;
  margin: 0 auto;
}

.shop-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 40px;
  align-items: start;
}

/* --- SIDEBAR --- */
.shop-sidebar {
  position: sticky;
  top: 80px;
}

.sidebar-block {
  background: var(--dark2);
  border: 1px solid rgba(255, 184, 0,0.12);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 16px;
}

.sidebar-block-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 1rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 14px;
  font-weight: 600;
}

.sidebar-acc-btn {
  width: 100%;
  background: none;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 0 14px 0;
  border-bottom: 1px solid rgba(255, 184, 0,0.12);
  margin-bottom: 14px;
  cursor: pointer;
  font-family: "Jost", sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: color 0.2s;
}
.sidebar-acc-btn:hover {
  color: var(--gold);
}
.acc-arrow {
  font-size: 1rem;
  transition: transform 0.3s;
  color: var(--gold);
}
.sidebar-acc-btn:not(.open) .acc-arrow {
  transform: rotate(-90deg);
}

.sidebar-acc-body {
  overflow: hidden;
  max-height: 400px;
  transition: max-height 0.35s ease, opacity 0.3s;
  opacity: 1;
}
.sidebar-acc-body.closed {
  max-height: 0;
  opacity: 0;
}

.cat-list {
  list-style: none;
}

.cat-item {
  padding: 9px 12px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: all 0.2s;
  margin-bottom: 2px;
}
.cat-item:hover {
  background: rgba(255, 184, 0,0.08);
  color: var(--text);
}
.cat-item.active {
  background: rgba(255, 184, 0,0.15);
  color: var(--gold);
  font-weight: 600;
}

.price-range-wrap {
  padding-top: 4px;
}
.price-vals {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.price-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  border-radius: 2px;
  background: var(--dark4);
  outline: none;
  cursor: pointer;
}
.price-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--gold);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(255, 184, 0,0.4);
}
.price-slider::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--gold);
  border: none;
  cursor: pointer;
}

/* --- SHOP MAIN --- */
.shop-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  gap: 16px;
}

.shop-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text);
}

.sort-select {
  background: var(--dark2);
  border: 1px solid rgba(255, 184, 0,0.2);
  border-radius: 8px;
  color: var(--text-muted);
  padding: 9px 14px;
  font-family: "Jost", sans-serif;
  font-size: 0.85rem;
  outline: none;
  cursor: pointer;
  transition: border-color 0.2s;
  white-space: nowrap;
}
.sort-select:hover, .sort-select:focus {
  border-color: var(--gold);
  color: var(--text);
}

.shop-search-wrap {
  position: relative;
  margin-bottom: 28px;
}
.shop-search-wrap input {
  width: 100%;
  background: var(--dark2);
  border: 1px solid rgba(255, 184, 0,0.2);
  border-radius: 10px;
  color: var(--text);
  padding: 13px 44px 13px 18px;
  font-family: "Jost", sans-serif;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.3s;
}
.shop-search-wrap input::placeholder {
  color: var(--text-muted);
}
.shop-search-wrap input:focus {
  border-color: var(--gold);
}
.shop-search-icon {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 1.2rem;
  pointer-events: none;
}

@media (max-width: 900px) {
  .shop-layout {
    grid-template-columns: 1fr;
  }
  .shop-sidebar {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .sidebar-block {
    margin-bottom: 0;
  }
}

.section-header {
  text-align: center;
  margin-bottom: 40px;
}
.section-header h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 1px;
}
.section-header p {
  color: var(--text-muted);
  margin-top: 8px;
  font-size: 0.95rem;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
  justify-content: center;
}
.filter-btn {
  background: transparent;
  border: 1px solid rgba(255, 184, 0, 0.3);
  color: var(--text-muted);
  padding: 8px 22px;
  border-radius: 50px;
  cursor: pointer;
  font-family: "Jost", sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: all 0.3s;
}
.filter-btn:hover,
.filter-btn.active {
  background: var(--gold);
  color: #000;
  border-color: var(--gold);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
}
@media (max-width: 1100px) {
  .products-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}
@media (max-width: 480px) {
  .products-grid { grid-template-columns: 1fr; }
}

.card {
  background: var(--dark3);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.07);
  cursor: pointer;
  transition: transform 0.32s cubic-bezier(0.34,1.2,0.64,1), box-shadow 0.3s, border-color 0.3s;
  animation: fadeInUp 0.45s ease both;
  position: relative;
}
.card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  opacity: 0;
  transition: opacity 0.3s;
  background: radial-gradient(circle at 50% 0%, rgba(255,184,0,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 28px 60px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,184,0,0.35);
  border-color: rgba(255,184,0,0.4);
}
.card:hover::after { opacity: 1; }
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0);    }
}
@keyframes popIn {
  from { transform: translate(-50%,-50%) scale(0.85); opacity: 0; }
  to   { transform: translate(-50%,-50%) scale(1);    opacity: 1; }
}
@keyframes cartPulse {
  0%,100% { transform: scale(1); }
  40%     { transform: scale(1.25); }
  70%     { transform: scale(0.92); }
}
@keyframes glowPulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(255,184,0,0); }
  50%     { box-shadow: 0 0 18px 4px rgba(255,184,0,0.35); }
}
.cart-count.bump { animation: cartPulse 0.5s ease; }

.card-img {
  width: 100%;
  height: 220px;
  object-fit: contain;
  background: var(--dark4);
  display: block;
  padding: 10px;
  transition: transform 0.45s cubic-bezier(0.34,1.2,0.64,1);
}
.card:hover .card-img {
  transform: scale(1.08);
}

.card-body {
  padding: 18px;
}
.card-cat {
  font-size: 0.72rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 600;
}
.card-name {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.2rem;
  font-weight: 600;
  margin: 6px 0;
  color: var(--text);
}
.card-price {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--gold-light);
  margin-bottom: 14px;
}
.card-btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.card-btn {
  background: var(--dark4);
  border: 1px solid rgba(255,184,0,0.3);
  color: var(--text);
  padding: 10px 8px;
  border-radius: 8px;
  cursor: pointer;
  font-family: "Jost", sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  transition: background 0.25s, color 0.25s, transform 0.2s, border-color 0.25s;
}
.card-btn:hover {
  background: var(--gold);
  color: #000;
  border-color: var(--gold);
  transform: translateY(-1px);
}
.card-btn-buy {
  background: var(--gold);
  border: none;
  color: #000;
  padding: 10px 8px;
  border-radius: 8px;
  cursor: pointer;
  font-family: "Jost", sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  transition: background 0.25s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 3px 12px rgba(255,184,0,0.3);
}
.card-btn-buy:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255,184,0,0.45);
  animation: glowPulse 1.2s ease infinite;
}

.no-results {
  text-align: center;
  padding: 60px;
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* ===== CONTACT ===== */
.contact-section {
  padding: 70px 40px;
  text-align: center;
  background: var(--dark2);
  border-top: 1px solid rgba(255, 184, 0, 0.1);
}
.contact-section h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: 2.2rem;
  color: var(--gold);
  margin-bottom: 40px;
}
.contact-grid {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
}
.contact-item span {
  font-size: 1.4rem;
}
.contact-item a {
  color: var(--text);
  text-decoration: none;
  transition: color 0.3s;
}
.contact-item a:hover {
  color: var(--gold);
}

/* ===== FOOTER ===== */
footer {
  text-align: center;
  padding: 40px 20px;
  background: #080808;
  border-top: 2px solid rgba(255, 184, 0, 0.2);
}
.footer-brand {
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  color: var(--gold);
  letter-spacing: 4px;
  margin-bottom: 10px;
}
.footer-copy {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 14px;
}
footer a {
  color: var(--gold);
  text-decoration: none;
  font-size: 0.9rem;
}
footer a:hover {
  text-decoration: underline;
}

/* ===== FLOATING BUTTONS ===== */
.floating-btns {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 200;
}
.float-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}
.float-btn:hover {
  transform: scale(1.12) translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.5);
}
.float-btn svg {
  width: 26px;
  height: 26px;
}
.whatsapp {
  background: #25d366;
}
.messenger {
  background: #0084ff;
}

/* ===== OVERLAYS ===== */
.overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 300;
  backdrop-filter: blur(4px);
}
.overlay.active {
  display: block;
}

/* ===== CART SIDEBAR ===== */
.cart-sidebar {
  position: fixed;
  top: 0;
  right: -420px;
  width: 400px;
  height: 100vh;
  background: var(--dark2);
  z-index: 400;
  display: flex;
  flex-direction: column;
  transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
  border-left: 1px solid rgba(255, 184, 0, 0.15);
}
.cart-sidebar.open {
  right: 0;
}

.sidebar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.sidebar-header h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.5rem;
  color: var(--gold);
}
.sidebar-header button {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.3rem;
  cursor: pointer;
  transition: color 0.2s;
}
.sidebar-header button:hover {
  color: var(--text);
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
}
.empty-msg {
  text-align: center;
  color: var(--text-muted);
  padding: 40px 0;
}

.cart-item {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  align-items: center;
}
.cart-item img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  border-radius: 8px;
  background: var(--dark4);
}
.cart-item-info {
  flex: 1;
}
.cart-item-name {
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 4px;
}
.cart-item-price {
  font-size: 0.85rem;
  color: var(--gold);
}
.cart-item-remove {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1rem;
  transition: color 0.2s;
}
.cart-item-remove:hover {
  color: #e55;
}

.cart-footer {
  padding: 20px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.cart-total {
  font-size: 1.1rem;
  margin-bottom: 14px;
  color: var(--text-muted);
}
.cart-total strong {
  color: var(--gold);
  font-size: 1.3rem;
}
.checkout-btn {
  width: 100%;
  background: var(--gold);
  color: #000;
  border: none;
  padding: 14px;
  border-radius: 10px;
  font-family: "Jost", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition:
    background 0.3s,
    transform 0.2s;
  letter-spacing: 1px;
}
.checkout-btn:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
}

/* ===== PRODUCT POPUP ===== */
.product-popup {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  width: 90%;
  max-width: 820px;
  background: var(--dark2);
  z-index: 500;
  border-radius: 20px;
  border: 1px solid rgba(255, 184, 0, 0.2);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7);
  overflow: hidden;
  display: none;
  transition:
    transform 0.3s,
    opacity 0.3s;
}
.product-popup.open {
  display: flex;
  animation: popIn 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}
@keyframes popIn {
  from {
    transform: translate(-50%, -50%) scale(0.85);
    opacity: 0;
  }
  to {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
}

.popup-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(0, 0, 0, 0.5);
  border: none;
  color: white;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1rem;
  cursor: pointer;
  z-index: 10;
  transition: background 0.2s;
}
.popup-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.popup-img-wrap {
  width: 45%;
  background: var(--dark4);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  flex-shrink: 0;
}
.popup-img-wrap img {
  width: 100%;
  max-height: 340px;
  object-fit: contain;
}

.popup-info {
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}
.popup-cat {
  font-size: 0.72rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
}
.popup-info h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text);
}
.popup-price {
  font-size: 1.5rem;
  color: var(--gold-light);
  font-weight: 600;
}
.popup-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.qty-control {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 6px;
}
.qty-control button {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--dark4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text);
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.qty-control button:hover {
  background: var(--gold);
  color: #000;
  border-color: var(--gold);
}
.qty-control span {
  font-size: 1.1rem;
  font-weight: 600;
  min-width: 24px;
  text-align: center;
}

.add-to-cart-big {
  background: var(--gold);
  color: #000;
  border: none;
  padding: 14px 24px;
  border-radius: 10px;
  font-family: "Jost", sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition:
    background 0.3s,
    transform 0.2s;
  margin-top: 6px;
  letter-spacing: 0.5px;
}
.add-to-cart-big:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
}

/* ===== MODALS ===== */
.modal {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 92%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--dark2);
  z-index: 500;
  border-radius: 20px;
  border: 1px solid rgba(255, 184, 0, 0.2);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7);
  padding: 36px;
}
.modal.open {
  display: block;
  animation: popIn 0.3s ease forwards;
}
.modal h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.8rem;
  color: var(--gold);
  margin-bottom: 24px;
}
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.2rem;
  cursor: pointer;
}

.form-group {
  margin-bottom: 18px;
}
.form-group label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 7px;
}
.form-group input,
.form-group textarea {
  width: 100%;
  background: var(--dark4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: var(--text);
  padding: 12px 14px;
  font-family: "Jost", sans-serif;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.3s;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--gold);
}
.form-group textarea {
  resize: vertical;
  min-height: 80px;
}

.form-error {
  color: #e55;
  font-size: 0.82rem;
  margin-bottom: 10px;
  min-height: 18px;
}

.submit-btn {
  width: 100%;
  background: var(--gold);
  color: #000;
  border: none;
  padding: 14px;
  border-radius: 10px;
  font-family: "Jost", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.3s;
  letter-spacing: 0.5px;
}
.submit-btn:hover {
  background: var(--gold-light);
}

.auth-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.auth-tab {
  background: none;
  border: none;
  color: var(--text-muted);
  padding: 10px 24px;
  cursor: pointer;
  font-family: "Jost", sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition:
    color 0.3s,
    border-color 0.3s;
}
.auth-tab.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.checkout-summary {
  background: var(--dark4);
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 24px;
  font-size: 0.88rem;
}
.checkout-summary-item {
  display: flex;
  justify-content: space-between;
  padding: 5px 0;
  color: var(--text-muted);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.checkout-summary-item:last-child {
  border: none;
  font-weight: 600;
  color: var(--gold);
}

/* ===== TOAST ===== */
.toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: var(--dark3);
  color: var(--text);
  border: 1px solid rgba(255, 184, 0, 0.3);
  border-left: 4px solid var(--gold);
  padding: 14px 24px;
  border-radius: 10px;
  font-size: 0.9rem;
  z-index: 1000;
  transition:
    transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
    opacity 0.3s;
  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
}
.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  header {
    padding: 14px 20px;
  }
  .main-nav {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .search-wrap input {
    width: 150px;
  }
  .hero-title {
    font-size: 2rem;
  }
  .hero-wrap {
    padding: 20px;
  }
  .hero {
    height: 320px;
  }
  .hero-overlay {
    padding: 30px;
  }
  .features {
    flex-wrap: wrap;
  }
  .feature-item {
    padding: 16px 20px;
  }
  .products-section {
    padding: 40px 20px;
  }
  .contact-section {
    padding: 50px 20px;
  }
  .product-popup.open {
    flex-direction: column;
  }
  .popup-img-wrap {
    width: 100%;
    height: 220px;
  }
  .cart-sidebar {
    width: 100%;
    right: -100%;
  }
}

@media (max-width: 600px) {
  .search-wrap {
    display: none;
  }
  .hero {
    height: 260px;
  }
  .hero-title {
    font-size: 1.5rem;
  }
  .hero-cta {
    padding: 10px 20px;
    font-size: 0.82rem;
  }
  .feature-item p {
    display: none;
  }
}

/* ===== STOCK BADGES ===== */
.stock-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 10px;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  z-index: 2;
}
.stock-badge.low {
  background: #f39c12;
  color: #000;
}
.stock-badge.out {
  background: #e74c3c;
  color: #fff;
}
.out-of-stock {
  opacity: 0.6;
  pointer-events: none;
}
.out-of-stock .card-img {
  filter: grayscale(60%);
}

/* ===== POPUP IMAGE GALLERY ===== */
.popup-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  flex-wrap: wrap;
  justify-content: center;
}
.popup-thumb {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  border: 2px solid transparent;
  transition:
    border-color 0.2s,
    transform 0.2s;
  opacity: 0.7;
}
.popup-thumb:hover {
  opacity: 1;
  transform: scale(1.05);
}
.popup-thumb.active {
  border-color: var(--gold);
  opacity: 1;
}

/* ===== COLOR SWATCHES ===== */
.popup-colors {
  margin: 10px 0;
}
.color-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.color-label strong {
  color: var(--gold);
}
.color-swatches {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.color-swatch {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.15);
  cursor: pointer;
  transition:
    transform 0.2s,
    border-color 0.2s,
    box-shadow 0.2s;
}
.color-swatch:hover {
  transform: scale(1.15);
  border-color: rgba(255, 255, 255, 0.4);
}
.color-swatch.active {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(255, 184, 0, 0.3);
  transform: scale(1.1);
}

/* hero-overlay gradient already defined above */

/* ===== FILTER BUTTONS ===== */
.filter-btn:hover,
.filter-btn.active {
  background: var(--gold);
  color: #000;
  border-color: var(--gold);
}

/* ===== CONTACT SECTION ===== */
.contact-section {
  background: linear-gradient(135deg, var(--dark2) 0%, #161006 50%, var(--dark2) 100%);
}

/* ===== CARD CATEGORY ===== */
.card-cat {
  font-size: 0.72rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 600;
}

/* ===== PRODUCT DETAIL PAGE ===== */
.product-page {
  max-width: 1280px;
  margin: 0 auto 80px;
  padding: 0 32px;
}

/* Search bar at top */
.pd-search-top {
  background: var(--dark2);
  border-bottom: 1px solid rgba(255,184,0,0.12);
  padding: 18px 0;
  margin: 0 -32px 32px;
  padding-left: 32px;
  padding-right: 32px;
}
.pd-search-inner {
  display: flex;
  gap: 10px;
  max-width: 700px;
}
.pd-search-inner input {
  flex: 1;
  background: var(--dark4);
  border: 1px solid rgba(255,184,0,0.2);
  border-radius: 10px;
  color: var(--text);
  padding: 12px 18px;
  font-family: "Jost", sans-serif;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.3s;
}
.pd-search-inner input:focus { border-color: var(--gold); }
.pd-search-inner input::placeholder { color: var(--text-muted); }
.pd-search-btn {
  background: var(--gold);
  color: #000;
  border: none;
  border-radius: 10px;
  padding: 12px 22px;
  font-family: "Jost", sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  transition: background 0.2s, transform 0.2s;
}
.pd-search-btn:hover { background: var(--gold-light); transform: translateY(-1px); }

/* Main layout */
.pd-main-layout {
  display: grid;
  grid-template-columns: 1fr 290px;
  gap: 36px;
  align-items: start;
}
.pd-left-col { min-width: 0; }

/* Right sidebar */
.pd-right-sidebar {
  position: sticky;
  top: 80px;
}
.pd-sidebar-block {
  background: var(--dark2);
  border: 1px solid rgba(255,184,0,0.12);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 16px;
}
.pd-sidebar-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.1rem;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,184,0,0.12);
}
.pd-sidebar-product {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 10px 8px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s;
  margin-bottom: 4px;
}
.pd-sidebar-product:hover { background: rgba(255,184,0,0.07); }
.pd-sidebar-product img {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 8px;
  background: var(--dark4);
  flex-shrink: 0;
}
.pd-sbar-name {
  font-size: 0.85rem;
  color: var(--text);
  font-weight: 500;
  line-height: 1.3;
}
.pd-sbar-price {
  font-size: 0.82rem;
  color: var(--gold);
  font-weight: 600;
  margin-top: 3px;
}

/* Similar products section */
.pd-similar-section {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,184,0,0.12);
}
.pd-similar-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 28px;
}

@media (max-width: 960px) {
  .pd-main-layout {
    grid-template-columns: 1fr;
  }
  .pd-right-sidebar {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .pd-sidebar-block { margin-bottom: 0; }
}
@media (max-width: 600px) {
  .pd-right-sidebar { grid-template-columns: 1fr; }
  .pd-search-top { margin: 0 -20px 24px; padding-left: 20px; padding-right: 20px; }
  .product-page { padding: 0 20px; }
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.88rem;
  letter-spacing: 0.5px;
  margin-bottom: 40px;
  transition: color 0.2s;
}
.back-link:hover {
  color: var(--gold);
}

.pd-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.pd-loading {
  grid-column: 1 / -1;
  text-align: center;
  padding: 80px 0;
  color: var(--text-muted);
}

.pd-main-img {
  width: 100%;
  max-height: 520px;
  object-fit: contain;
  border-radius: var(--radius);
  background: var(--dark3);
  padding: 20px;
}

.pd-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.pd-thumb {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  border: 2px solid transparent;
  opacity: 0.65;
  transition: border-color 0.2s, opacity 0.2s, transform 0.2s;
  background: var(--dark4);
}
.pd-thumb:hover {
  opacity: 1;
  transform: scale(1.05);
}
.pd-thumb.active {
  border-color: var(--gold);
  opacity: 1;
}

.pd-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pd-name {
  font-family: "Cormorant Garamond", serif;
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
}

.pd-price {
  font-size: 2rem;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 1px;
}

.pd-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.75;
  margin-top: 4px;
}

.pd-colors {
  margin: 8px 0;
}

.pd-qty {
  margin-top: 8px;
}

.pd-stock-badge {
  position: static;
  display: inline-block;
  margin-top: 4px;
}

@media (max-width: 800px) {
  .pd-wrap { grid-template-columns: 1fr; gap: 32px; }
  .product-page { margin-top: 80px; padding: 0 20px; }
  .pd-name { font-size: 1.8rem; }
  .pd-price { font-size: 1.6rem; }
}

/* ===== BUY NOW button on product detail page ===== */
.pd-action-btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 8px;
}
.buy-now-btn {
  background: var(--gold);
  color: #000;
  border: none;
  padding: 14px 20px;
  border-radius: 10px;
  font-family: "Jost", sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 0.5px;
  transition: background 0.25s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 16px rgba(255,184,0,0.35);
}
.buy-now-btn:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(255,184,0,0.5);
}

/* ===== REVIEWS SECTION ===== */
.reviews-section {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,184,0,0.12);
}
.reviews-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.reviews-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
}
.reviews-avg {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--dark2);
  border: 1px solid rgba(255,184,0,0.15);
  padding: 6px 16px;
  border-radius: 50px;
}
.reviews-avg-score {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gold);
}
.reviews-avg-count {
  font-size: 0.82rem;
  color: var(--text-muted);
}
.stars {
  display: flex;
  gap: 3px;
}
.star {
  font-size: 1.1rem;
  color: #444;
  cursor: pointer;
  transition: color 0.15s, transform 0.15s;
  line-height: 1;
}
.star.filled { color: var(--gold); }
.star.hovered { color: var(--gold-light); transform: scale(1.2); }

.review-card {
  background: var(--dark2);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 14px;
  transition: border-color 0.25s, box-shadow 0.25s;
  animation: fadeInUp 0.4s ease both;
}
.review-card:hover {
  border-color: rgba(255,184,0,0.2);
  box-shadow: 0 6px 24px rgba(0,0,0,0.3);
}
.review-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 10px;
  gap: 12px;
  flex-wrap: wrap;
}
.review-author {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
}
.review-date {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 2px;
}
.review-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}
.no-reviews {
  text-align: center;
  padding: 36px;
  color: var(--text-muted);
  font-size: 0.95rem;
  background: var(--dark2);
  border-radius: var(--radius);
  border: 1px dashed rgba(255,184,0,0.15);
}

/* Review form */
.review-form-wrap {
  background: var(--dark2);
  border: 1px solid rgba(255,184,0,0.15);
  border-radius: var(--radius);
  padding: 28px;
  margin-top: 24px;
}
.review-form-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.3rem;
  color: var(--text);
  margin-bottom: 20px;
  font-weight: 600;
}
.star-select {
  display: flex;
  gap: 6px;
  margin-bottom: 18px;
}
.star-select .star { font-size: 1.6rem; }
.review-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}
@media (max-width: 600px) {
  .review-form-row { grid-template-columns: 1fr; }
  .pd-action-btns { grid-template-columns: 1fr; }
}

/* ===== LIGHTBOX ===== */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.93);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}
.lightbox.open {
  opacity: 1;
  pointer-events: all;
}
.lightbox img {
  max-width: 90vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 20px 80px rgba(0,0,0,0.8);
  transform: scale(0.93);
  transition: transform 0.25s;
}
.lightbox.open img { transform: scale(1); }
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: rgba(255,255,255,0.1);
  border: none;
  color: #fff;
  font-size: 1.5rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  line-height: 1;
}
.lightbox-close:hover { background: rgba(255,255,255,0.22); }
.pd-main-img { cursor: zoom-in; }

/* ===== SHARE / WHATSAPP BUTTONS ===== */
.pd-share-row {
  display: flex;
  gap: 10px;
  margin-top: 4px;
  flex-wrap: wrap;
}
.pd-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  border-radius: 8px;
  font-family: "Jost", sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
  text-decoration: none;
}
.pd-share-btn:hover { transform: translateY(-2px); }
.pd-share-btn.share {
  background: var(--dark3);
  color: var(--text);
  border: 1px solid rgba(255,184,0,0.25);
}
.pd-share-btn.share:hover { border-color: rgba(255,184,0,0.5); }
.pd-share-btn.whatsapp {
  background: #25D366;
  color: #fff;
  box-shadow: 0 4px 14px rgba(37,211,102,0.3);
}
.pd-share-btn.whatsapp:hover { box-shadow: 0 6px 22px rgba(37,211,102,0.5); }

/* ===== RECENTLY VIEWED ===== */
.recently-viewed {
  padding: 60px 40px;
  background: var(--dark2);
  border-top: 1px solid rgba(255,184,0,0.1);
}
.recently-viewed h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 28px;
}
.recently-viewed-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 16px;
}
.rv-card {
  background: var(--dark3);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  animation: fadeInUp 0.35s ease both;
}
.rv-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.45);
  border-color: rgba(255,184,0,0.28);
}
.rv-card img {
  width: 100%;
  height: 130px;
  object-fit: cover;
}
.rv-card-body { padding: 10px 12px 12px; }
.rv-card-name {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rv-card-price {
  font-size: 0.85rem;
  color: var(--gold);
  margin-top: 3px;
  font-weight: 600;
}
@media (max-width: 768px) {
  .recently-viewed { padding: 40px 20px; }
  .recently-viewed-grid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
}

/* ===== POPULAR BADGE ===== */
.popular-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: linear-gradient(135deg, #ff6b35, #f7931e);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 50px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(255,107,53,0.45);
  animation: popIn 0.3s ease;
}

/* ===== FLASH SALE BANNER ===== */
.flash-banner {
  background: linear-gradient(135deg, #c0392b, #e74c3c, #c0392b);
  background-size: 200% 100%;
  animation: flashPulse 3s ease-in-out infinite;
  padding: 12px 40px;
  position: relative;
  z-index: 90;
}
@keyframes flashPulse {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
.flash-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
}
.flash-badge {
  background: rgba(255,255,255,0.2);
  padding: 4px 12px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.78rem;
  color: #fff;
  letter-spacing: 1px;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
}
.flash-label {
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
}
.flash-timer {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.85);
  font-size: 0.83rem;
  flex-shrink: 0;
}
.countdown {
  background: rgba(0,0,0,0.3);
  color: #fff;
  padding: 5px 12px;
  border-radius: 7px;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 2px;
  min-width: 88px;
  text-align: center;
}
.flash-cta {
  background: #fff;
  color: #c0392b;
  padding: 7px 18px;
  border-radius: 7px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.85rem;
  transition: transform 0.2s, box-shadow 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
}
.flash-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}
@media (max-width: 600px) {
  .flash-banner { padding: 10px 16px; }
  .flash-label { display: none; }
}

/* ===== WISHLIST HEART BUTTON ===== */
.wish-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  background: rgba(20,20,20,0.82);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.95rem;
  color: var(--text-muted);
  transition: all 0.2s;
  z-index: 4;
  line-height: 1;
}
.wish-btn:hover { background: rgba(220,38,38,0.18); border-color: rgba(220,38,38,0.4); color: #ef4444; }
.wish-btn.active { background: rgba(220,38,38,0.18); border-color: rgba(220,38,38,0.5); color: #ef4444; }

/* Wishlist button on product detail page */
.pd-wish-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px;
  border-radius: 8px;
  font-family: "Jost", sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid rgba(220,38,38,0.3);
  background: rgba(220,38,38,0.08);
  color: #ef4444;
  transition: all 0.2s;
  margin-top: 4px;
}
.pd-wish-btn:hover { background: rgba(220,38,38,0.18); border-color: rgba(220,38,38,0.5); }
.pd-wish-btn.active { background: rgba(220,38,38,0.25); border-color: rgba(220,38,38,0.7); }

/* ===== WISHLIST MODAL ===== */
.wishlist-modal { max-width: 740px; }
.wishlist-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}
.wishlist-empty p:first-child { font-size: 2.5rem; margin-bottom: 12px; }
.wishlist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(155px, 1fr));
  gap: 14px;
  margin-top: 20px;
  max-height: 58vh;
  overflow-y: auto;
  padding-right: 4px;
}
.wish-card {
  background: var(--dark3);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s, border-color 0.2s;
  position: relative;
  animation: fadeInUp 0.3s ease both;
}
.wish-card:hover { transform: translateY(-4px); border-color: rgba(255,184,0,0.28); }
.wish-card img { width: 100%; height: 118px; object-fit: cover; }
.wish-card-body { padding: 10px 12px 12px; }
.wish-card-name { font-size: 0.81rem; font-weight: 600; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wish-card-price { font-size: 0.84rem; color: var(--gold); margin-top: 3px; font-weight: 600; }
.wish-card-remove {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 24px;
  height: 24px;
  background: rgba(0,0,0,0.72);
  border: none;
  color: #fff;
  border-radius: 50%;
  cursor: pointer;
  font-size: 0.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  line-height: 1;
}
.wish-card-remove:hover { background: rgba(220,38,38,0.85); }

/* ===== BOTTOM NAVIGATION (mobile) ===== */
.bottom-nav { display: none; }
@media (max-width: 768px) {
  .bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(18,18,18,0.97);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-top: 1px solid rgba(255,184,0,0.15);
    z-index: 400;
    height: 58px;
  }
  body { padding-bottom: 58px; }
  header { z-index: 350; }
}
.bn-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.6rem;
  font-weight: 500;
  cursor: pointer;
  background: none;
  border: none;
  transition: color 0.2s;
  font-family: "Jost", sans-serif;
  position: relative;
  padding: 6px 4px 4px;
  letter-spacing: 0.2px;
}
.bn-item:hover, .bn-item.active { color: var(--gold); }
.bn-item svg { width: 20px; height: 20px; }
.bn-icon { font-size: 1.15rem; line-height: 1; }
.bn-badge {
  position: absolute;
  top: 5px;
  right: calc(50% - 18px);
  background: #ef4444;
  color: #fff;
  font-size: 0.58rem;
  font-weight: 700;
  min-width: 15px;
  height: 15px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
  pointer-events: none;
}

/* ===== PRODUCT IMAGE ZOOM ===== */
.pd-gallery { overflow: hidden; border-radius: var(--radius); }
.pd-main-img { transition: transform 0.38s ease; }
.pd-main-img:hover { transform: scale(1.07); }

/* ===== PROFILE PAGE ===== */
.profile-page {
  max-width: 860px;
  margin: 100px auto 60px;
  padding: 0 24px;
}
.profile-header {
  background: var(--dark2);
  border: 1px solid rgba(255,184,0,0.15);
  border-radius: var(--radius);
  padding: 26px 30px;
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.profile-avatar {
  width: 60px;
  height: 60px;
  background: var(--gold-dim);
  border: 2px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gold);
  flex-shrink: 0;
}
.profile-info { flex: 1; min-width: 0; }
.profile-info h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.55rem;
  color: var(--text);
}
.profile-info p { color: var(--text-muted); font-size: 0.87rem; margin-top: 3px; }
.profile-logout {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--text-muted);
  padding: 9px 18px;
  border-radius: 8px;
  font-family: "Jost", sans-serif;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s;
}
.profile-logout:hover { border-color: rgba(220,38,38,0.4); color: #ef4444; }
.profile-orders-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 20px;
}
.order-card {
  background: var(--dark2);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 18px 22px;
  margin-bottom: 12px;
  transition: border-color 0.2s;
  animation: fadeInUp 0.35s ease both;
}
.order-card:hover { border-color: rgba(255,184,0,0.2); }
.order-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}
.order-card-id { font-size: 0.8rem; color: var(--text-muted); font-weight: 600; }
.order-card-date { font-size: 0.78rem; color: var(--text-muted); }
.order-status-badge {
  padding: 3px 10px;
  border-radius: 50px;
  font-size: 0.74rem;
  font-weight: 600;
}
.order-status-badge.new { background: rgba(255,184,0,0.15); color: var(--gold); }
.order-status-badge.processing { background: rgba(59,130,246,0.15); color: #60a5fa; }
.order-status-badge.sent { background: rgba(34,197,94,0.15); color: #4ade80; }
.order-status-badge.done { background: rgba(34,197,94,0.22); color: #22c55e; }
.order-items-text { font-size: 0.87rem; color: var(--text-muted); line-height: 1.7; }
.order-total-text { margin-top: 8px; font-weight: 700; color: var(--gold); font-size: 0.95rem; }
.profile-loading, .no-orders {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
  font-size: 0.95rem;
}
.no-orders p:first-child { font-size: 2.5rem; margin-bottom: 12px; }

/* ===== CART SWIPE TO DELETE ===== */
.cart-item {
  position: relative;
  transition: transform 0.3s ease, opacity 0.3s ease;
  touch-action: pan-y;
}

/* ===== SKELETON LOADING ===== */
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
.skeleton-card {
  background: var(--dark2);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.05);
}
.sk-img {
  width: 100%;
  height: 210px;
  background: linear-gradient(90deg, var(--dark3) 25%, var(--dark4) 50%, var(--dark3) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}
.sk-body { padding: 14px 16px; }
.sk-line {
  height: 11px;
  border-radius: 6px;
  background: linear-gradient(90deg, var(--dark3) 25%, var(--dark4) 50%, var(--dark3) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  margin-bottom: 10px;
}
.sk-line.short { width: 42%; }
.sk-line.medium { width: 68%; }
.sk-line.full { width: 100%; }
.sk-btn {
  height: 38px;
  border-radius: 8px;
  margin-top: 14px;
  background: linear-gradient(90deg, var(--dark3) 25%, var(--dark4) 50%, var(--dark3) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

/* ===== STICKY BUY BAR ===== */
.sticky-buy-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(18,18,18,0.97);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-top: 1px solid rgba(255,184,0,0.2);
  z-index: 250;
  padding: 10px 24px;
  display: flex;
  align-items: center;
  gap: 14px;
  transform: translateY(110%);
  transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1);
  box-shadow: 0 -4px 24px rgba(0,0,0,0.4);
}
.sticky-buy-bar.visible { transform: translateY(0); }
.sticky-buy-info { flex: 1; min-width: 0; }
.sticky-buy-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 2px;
}
.sticky-buy-price { font-size: 1rem; color: var(--gold); font-weight: 700; }
.sticky-buy-btns { display: flex; gap: 8px; flex-shrink: 0; }
.sticky-buy-btns button { padding: 10px 16px; font-size: 0.85rem; }
@media (max-width: 768px) {
  .sticky-buy-bar { bottom: 58px; padding: 8px 16px; }
}

/* ===== NOTIFY ME FORM ===== */
.notify-form {
  background: var(--dark2);
  border: 1px solid rgba(255,184,0,0.15);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin-top: 10px;
}
.notify-form-title {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  line-height: 1.5;
}
.notify-form-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.notify-input {
  flex: 1;
  min-width: 160px;
  background: var(--dark4);
  border: 1px solid rgba(255,184,0,0.2);
  border-radius: 8px;
  color: var(--text);
  padding: 10px 14px;
  font-family: "Jost", sans-serif;
  font-size: 0.88rem;
  outline: none;
  transition: border-color 0.2s;
}
.notify-input:focus { border-color: rgba(255,184,0,0.5); }
.notify-input:disabled { opacity: 0.5; }
.notify-submit-btn {
  background: var(--dark3);
  border: 1px solid rgba(255,184,0,0.3);
  color: var(--gold);
  padding: 10px 18px;
  border-radius: 8px;
  font-family: "Jost", sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}
.notify-submit-btn:hover { background: rgba(255,184,0,0.1); border-color: rgba(255,184,0,0.6); }
.notify-submit-btn:disabled { opacity: 0.5; cursor: not-allowed; }
