/* ==========================================================================
   NEW LOOK READYMADE - Salemabad | Master Stylesheet
   Theme: Luxury Dark Gold (#d4af37) & Cream/White
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,600;0,700;1,600&display=swap');

:root {
  --primary-gold: #d4af37;
  --gold-glow: rgba(212, 175, 55, 0.35);
  --gold-light: #f7e396;
  --dark-bg: #0d0f12;
  --dark-card: #15181e;
  --dark-border: rgba(255, 255, 255, 0.1);
  --text-main: #17191c;
  --text-light: #f5f6f8;
  --muted: #6b7280;
  --bg-light: #f8fafc;
  --card-light: #ffffff;
  --whatsapp-green: #25d366;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --shadow-subtle: 0 4px 20px rgba(0,0,0,0.06);
  --shadow-hover: 0 12px 30px rgba(0,0,0,0.12);
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Outfit', sans-serif;
  background-color: var(--bg-light);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

/* --- TOP ANNOUNCEMENT BAR --- */
.top-bar {
  background: linear-gradient(90deg, #090a0c, #1a1e27, #090a0c);
  color: var(--gold-light);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 8px 5%;
  text-align: center;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-info span {
  margin-right: 15px;
}

.top-bar-contact a {
  color: #ffffff;
  font-weight: 600;
}
.top-bar-contact a:hover {
  color: var(--primary-gold);
}

/* --- NAVIGATION HEADER --- */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 2px 15px rgba(0,0,0,0.04);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 5%;
  max-width: 1350px;
  margin: 0 auto;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  height: 52px;
  width: auto;
  object-fit: contain;
  border-radius: var(--radius-sm);
  background: #000;
  padding: 2px;
}

.brand-text b {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  line-height: 1.1;
  color: #111;
  letter-spacing: 0.5px;
}

.brand-text span {
  font-size: 0.72rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--primary-gold);
  font-weight: 700;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-menu a {
  font-weight: 600;
  font-size: 0.95rem;
  color: #333;
  position: relative;
  padding: 6px 0;
}

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

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

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

.search-box {
  position: relative;
  display: flex;
  align-items: center;
}

.search-box input {
  padding: 9px 16px 9px 36px;
  border-radius: 20px;
  border: 1px solid #e2e8f0;
  background: #f1f5f9;
  font-size: 0.88rem;
  width: 160px;
  transition: var(--transition);
  font-family: inherit;
}

.search-box input:focus {
  outline: none;
  border-color: var(--primary-gold);
  width: 220px;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

.search-icon {
  position: absolute;
  left: 12px;
  font-size: 0.9rem;
  color: var(--muted);
  pointer-events: none;
}

.icon-btn {
  background: #f1f5f9;
  border: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  font-size: 1.1rem;
  transition: var(--transition);
}

.icon-btn:hover {
  background: var(--primary-gold);
  color: #000;
  transform: translateY(-2px);
}

.badge-count {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #ef4444;
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid white;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: #111;
  padding: 4px;
}

/* --- MOBILE DRAWER MENU --- */
.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.mobile-nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: -300px;
  width: 280px;
  height: 100%;
  background: var(--dark-bg);
  color: var(--text-light);
  z-index: 201;
  padding: 25px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
}

.mobile-nav-overlay.active .mobile-drawer {
  right: 0;
}

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

.close-drawer {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
}

.mobile-links {
  list-style: none;
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mobile-links a {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-light);
  display: block;
}
.mobile-links a:hover {
  color: var(--primary-gold);
}

/* --- HERO SECTION --- */
.hero-section {
  position: relative;
  min-height: 540px;
  background: linear-gradient(135deg, rgba(13, 15, 18, 0.92) 0%, rgba(26, 30, 39, 0.85) 100%),
              url('logo.png') center/cover no-repeat;
  color: white;
  display: flex;
  align-items: center;
  padding: 60px 7%;
  overflow: hidden;
}

.hero-container {
  max-width: 1250px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid var(--primary-gold);
  color: var(--gold-light);
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem;
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero-title span {
  color: var(--primary-gold);
  display: block;
  font-style: italic;
}

.hero-desc {
  font-size: 1.15rem;
  color: #cbd5e1;
  margin-bottom: 32px;
  max-width: 540px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

.btn-gold {
  background: linear-gradient(135deg, var(--primary-gold), #b89228);
  color: #0d0f12;
  box-shadow: 0 4px 15px var(--gold-glow);
}

.btn-gold:hover {
  background: linear-gradient(135deg, #f4d068, var(--primary-gold));
  transform: translateY(-3px);
  box-shadow: 0 8px 25px var(--gold-glow);
}

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

.btn-whatsapp:hover {
  background: #1ebc57;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

.btn-outline {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.3);
  color: white;
}

.btn-outline:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.1);
}

.hero-card {
  background: rgba(21, 24, 30, 0.7);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
  text-align: center;
}

.hero-card-title {
  font-size: 1.3rem;
  font-family: 'Playfair Display', serif;
  color: var(--gold-light);
  margin-bottom: 12px;
}

.hero-features-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
  margin-top: 15px;
}

.hero-feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.92rem;
  color: #e2e8f0;
}

.hero-feature-icon {
  background: rgba(212, 175, 55, 0.2);
  color: var(--primary-gold);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

/* --- SECTION COMMON --- */
section {
  padding: 70px 5%;
  max-width: 1350px;
  margin: 0 auto;
}

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

.section-subtitle {
  color: var(--primary-gold);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 8px;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  color: #0f172a;
}

/* --- CATEGORIES SECTION --- */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.category-card {
  position: relative;
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 30px 24px;
  border: 1px solid #e2e8f0;
  box-shadow: var(--shadow-subtle);
  transition: var(--transition);
  cursor: pointer;
  overflow: hidden;
  text-align: center;
}

.category-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary-gold);
}

.category-icon {
  font-size: 3rem;
  margin-bottom: 16px;
  display: inline-block;
  transition: var(--transition);
}

.category-card:hover .category-icon {
  transform: scale(1.15);
}

.category-card h3 {
  font-size: 1.4rem;
  margin-bottom: 8px;
  font-family: 'Playfair Display', serif;
}

.category-card p {
  font-size: 0.9rem;
  color: var(--muted);
}

/* --- PRODUCT FILTERS & DYNAMIC CATALOG --- */
.filter-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 35px;
}

.filter-btn {
  padding: 10px 22px;
  border-radius: 30px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: var(--text-main);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--dark-bg);
  color: var(--gold-light);
  border-color: var(--dark-bg);
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

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

.product-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid #e2e8f0;
  box-shadow: var(--shadow-subtle);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
}

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

.product-image-wrap {
  position: relative;
  height: 280px;
  background: #f1f5f9;
  overflow: hidden;
}

.product-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.wishlist-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.1rem;
  color: #94a3b8;
  transition: var(--transition);
  z-index: 2;
}

.wishlist-btn.active,
.wishlist-btn:hover {
  color: #ef4444;
  background: #ffffff;
  transform: scale(1.1);
}

.product-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--dark-bg);
  color: var(--gold-light);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.product-details {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-category-lbl {
  font-size: 0.75rem;
  color: var(--primary-gold);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.product-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 8px;
}

.size-pills {
  display: flex;
  gap: 6px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.size-pill {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 2px 8px;
  background: #f1f5f9;
  border-radius: 4px;
  color: #475569;
}

.product-price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 16px;
  margin-top: auto;
}

.current-price {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
}

.original-price {
  font-size: 0.9rem;
  color: var(--muted);
  text-decoration: line-through;
}

.discount-badge {
  font-size: 0.75rem;
  font-weight: 700;
  color: #16a34a;
}

.product-actions {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 8px;
}

.btn-sm {
  padding: 8px 12px;
  font-size: 0.82rem;
  border-radius: 6px;
}

/* --- ADMIN PANEL MODAL STYLES --- */
.admin-modal-container {
  background: #ffffff;
  border-radius: var(--radius-lg);
  max-width: 650px;
  width: 100%;
  padding: 30px;
  box-shadow: 0 25px 50px rgba(0,0,0,0.3);
  position: relative;
}

.admin-tabs-row {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 10px;
}

.admin-tab-btn {
  padding: 8px 16px;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
}

.admin-tab-btn.active {
  background: var(--dark-bg);
  color: var(--gold-light);
  border-color: var(--dark-bg);
}

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

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.88rem;
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  font-size: 0.9rem;
  font-family: inherit;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-gold);
  box-shadow: 0 0 0 3px rgba(212,175,55,0.15);
}

/* --- FLOATING WHATSAPP BUTTON --- */
.whatsapp-float {
  position: fixed;
  right: 25px;
  bottom: 25px;
  background: var(--whatsapp-green);
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  z-index: 99;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
  transition: var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
}

/* --- FOOTER --- */
footer {
  background: var(--dark-bg);
  color: var(--text-light);
  padding: 50px 5% 25px;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.footer-container {
  max-width: 1350px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  color: var(--gold-light);
  margin-bottom: 18px;
}

.footer-col p {
  color: #94a3b8;
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: #cbd5e1;
  font-size: 0.9rem;
}
.footer-links a:hover {
  color: var(--primary-gold);
}

.footer-bottom {
  text-align: center;
  padding-top: 25px;
  border-top: 1px solid var(--dark-border);
  color: #64748b;
  font-size: 0.85rem;
}

/* --- RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 950px) {
  .hero-container {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .footer-container {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 800px) {
  .nav-menu, .search-box {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
  .hero-title {
    font-size: 2.5rem;
  }
}

@media (max-width: 500px) {
  .footer-container {
    grid-template-columns: 1fr;
  }
  .product-grid {
    grid-template-columns: 1fr;
  }
}
