/*
Theme Name: Luxaveli
Theme URI: https://luxaveli.com
Author: Diajem Digital
Author URI: https://diajemdigital.com
Description: Luxury African-inspired fashion e-commerce theme for Luxaveli. Fashion. Culture. Elevated.
Version: 1.0
License: Private
Text Domain: luxaveli
Tags: woocommerce, luxury, fashion, ecommerce
*/

/* ── RESET & BASE ── */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }

:root {
  --gold: #C9A84C;
  --gold-light: #E8C96A;
  --gold-dark: #A67C32;
  --black: #111111;
  --white: #FFFFFF;
  --cream: #FAF8F5;
  --light-grey: #F4F2EF;
  --mid-grey: #E5E0D8;
  --text: #1A1A1A;
  --muted: #888888;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Montserrat', Arial, sans-serif;
  --transition: 0.3s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--text);
  font-size: 14px;
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width:100%; height:auto; display:block; }
a { text-decoration:none; color:inherit; transition:var(--transition); }
ul { list-style:none; }

/* ── TYPOGRAPHY ── */
h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-heading);
  color: var(--black);
  line-height: 1.2;
  font-weight: 700;
}

/* ── UTILITY ── */
.container { max-width:1260px; margin:0 auto; padding:0 24px; }
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(26px, 4vw, 42px);
  color: var(--black);
  text-align: center;
  margin-bottom: 8px;
  letter-spacing: 1px;
}
.section-subtitle {
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 48px;
}
.gold-line {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  margin: 16px auto 12px;
}
.btn {
  display: inline-block;
  padding: 14px 36px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}
.btn-primary {
  background: var(--black);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--gold);
  color: var(--black);
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--black);
}
.btn-gold:hover {
  background: var(--black);
  color: var(--gold);
}
.btn-outline {
  background: transparent;
  color: var(--black);
  border: 1.5px solid var(--black);
}
.btn-outline:hover {
  background: var(--black);
  color: var(--white);
}

/* ── ANNOUNCEMENT BAR ── */
.announcement-bar {
  background: var(--black);
  color: var(--gold-light);
  text-align: center;
  padding: 10px 20px;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 500;
}

/* ── HEADER ── */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--mid-grey);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: box-shadow 0.3s;
}
.site-header.scrolled {
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  max-width: 1260px;
  margin: 0 auto;
}
.site-logo img {
  height: 32px !important;
  width: auto !important;
  max-width: 140px !important;
}
.main-nav ul {
  display: flex;
  gap: 36px;
  align-items: center;
}
.main-nav a {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--black);
  position: relative;
  padding-bottom: 4px;
}
.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--gold);
  transition: width 0.3s;
}
.main-nav a:hover::after { width: 100%; }
.main-nav a:hover { color: var(--gold-dark); }

.header-icons {
  display: flex;
  align-items: center;
  gap: 20px;
}
.header-icon {
  font-size: 20px;
  cursor: pointer;
  color: var(--black);
  position: relative;
  transition: var(--transition);
}
.header-icon:hover { color: var(--gold); }
.cart-count {
  position: absolute;
  top: -8px;
  right: -8px;
  background: var(--gold);
  color: var(--black);
  font-size: 9px;
  font-weight: 700;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--black);
}

/* ── HERO ── */
.hero {
  display: none;
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2415 50%, #1a1a1a 100%);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('assets/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.4;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 80px 48px;
}
.hero-eyebrow {
  font-size: 11px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  font-weight: 600;
}
.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(42px, 7vw, 80px);
  color: var(--white);
  line-height: 1.05;
  margin-bottom: 24px;
}
.hero h1 span { color: var(--gold-light); }
.hero-desc {
  font-size: 15px;
  color: rgba(255,255,255,0.75);
  margin-bottom: 36px;
  max-width: 480px;
  line-height: 1.8;
}
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-badge {
  position: absolute;
  right: 80px;
  bottom: 80px;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--black);
  line-height: 1.3;
  animation: rotate 12s linear infinite;
  z-index: 2;
}
@keyframes rotate { from{transform:rotate(0deg)} to{transform:rotate(360deg)} }

/* ── CATEGORIES ── */
.categories { padding: 80px 0; background: var(--cream); }
.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.category-card {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  aspect-ratio: 3/4;
  cursor: pointer;
  background: var(--light-grey);
}
.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.category-card:hover img { transform: scale(1.06); }
.category-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, transparent 50%);
  display: flex;
  align-items: flex-end;
  padding: 24px;
}
.category-name {
  font-family: var(--font-heading);
  font-size: 20px;
  color: var(--white);
  font-weight: 700;
}
.category-count {
  font-size: 11px;
  color: var(--gold-light);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 4px;
}

/* ── PRODUCTS ── */
.products-section { padding: 80px 0; }
.products-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 16px;
}
.filter-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.filter-tab {
  padding: 8px 20px;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 600;
  border: 1.5px solid var(--mid-grey);
  background: transparent;
  cursor: pointer;
  transition: var(--transition);
  border-radius: 2px;
}
.filter-tab:hover, .filter-tab.active {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.product-card {
  position: relative;
  cursor: pointer;
}
.product-image {
  position: relative;
  overflow: hidden;
  background: var(--light-grey);
  aspect-ratio: 3/4;
  margin-bottom: 16px;
}
.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.product-card:hover .product-image img { transform: scale(1.04); }
.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--gold);
  color: var(--black);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 10px;
  z-index: 1;
}
.product-badge.new { background: var(--black); color: var(--white); }
.product-actions {
  position: absolute;
  bottom: -60px;
  left: 0;
  right: 0;
  padding: 0 12px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: bottom 0.3s ease;
  z-index: 2;
}
.product-card:hover .product-actions { bottom: 0; }
.product-info { text-align: left; }
.product-name {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 6px;
}
.product-price {
  font-size: 15px;
  font-weight: 700;
  color: var(--black);
}
.product-price .original {
  font-size: 13px;
  color: var(--muted);
  text-decoration: line-through;
  margin-left: 8px;
  font-weight: 400;
}
.product-price .sale { color: #C0392B; }
.wishlist-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  background: var(--white);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 16px;
  transition: var(--transition);
  z-index: 1;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.wishlist-btn:hover { background: var(--gold); }

/* ── BANNER ── */
.promo-banner {
  background: linear-gradient(135deg, #1a1a1a, #2d2415);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.promo-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23C9A84C' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.promo-banner .container { position: relative; z-index: 1; }
.promo-tag {
  font-size: 11px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  font-weight: 600;
}
.promo-banner h2 {
  font-family: var(--font-heading);
  font-size: clamp(32px, 5vw, 58px);
  color: var(--white);
  margin-bottom: 16px;
}
.promo-banner h2 span { color: var(--gold-light); }
.promo-banner p {
  color: rgba(255,255,255,0.7);
  font-size: 15px;
  margin-bottom: 36px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* ── FEATURED / NEW ARRIVALS ── */
.new-arrivals { padding: 80px 0; background: var(--cream); }
.arrivals-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.arrival-featured {
  grid-row: span 2;
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  background: var(--light-grey);
  min-height: 500px;
}
.arrival-featured img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
}
.arrival-featured:hover img { transform: scale(1.04); }
.arrival-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 32px;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
}
.arrival-small {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  background: var(--light-grey);
  aspect-ratio: 4/3;
}
.arrival-small img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
}
.arrival-small:hover img { transform: scale(1.04); }
.arrival-small-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
}

/* ── NEWSLETTER ── */
.newsletter {
  padding: 80px 0;
  background: var(--white);
  border-top: 1px solid var(--mid-grey);
  text-align: center;
}
.newsletter-inner {
  max-width: 560px;
  margin: 0 auto;
}
.newsletter h3 {
  font-family: var(--font-heading);
  font-size: 32px;
  margin-bottom: 12px;
}
.newsletter p {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 28px;
}
.newsletter-form {
  display: flex;
  gap: 0;
  max-width: 460px;
  margin: 0 auto;
}
.newsletter-form input {
  flex: 1;
  padding: 14px 20px;
  border: 1.5px solid var(--mid-grey);
  border-right: none;
  font-family: var(--font-body);
  font-size: 13px;
  outline: none;
  transition: border-color 0.2s;
  background: var(--cream);
}
.newsletter-form input:focus { border-color: var(--gold); }
.newsletter-form button {
  padding: 14px 28px;
  background: var(--black);
  color: var(--white);
  border: 1.5px solid var(--black);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition);
}
.newsletter-form button:hover { background: var(--gold); border-color: var(--gold); color: var(--black); }

/* ── TRUST BADGES ── */
.trust-bar {
  background: var(--light-grey);
  padding: 32px 0;
  border-top: 1px solid var(--mid-grey);
  border-bottom: 1px solid var(--mid-grey);
}
.trust-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}
.trust-item { display: flex; align-items: center; justify-content: center; gap: 12px; }
.trust-icon { font-size: 28px; color: var(--gold-dark); }
.trust-text strong { display: block; font-size: 13px; font-weight: 700; color: var(--black); }
.trust-text span { font-size: 11px; color: var(--muted); letter-spacing: 1px; }

/* ── INSTAGRAM ── */
.instagram-feed { padding: 60px 0; }
.instagram-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 6px;
}
.instagram-item {
  aspect-ratio: 1;
  background: var(--light-grey);
  overflow: hidden;
  position: relative;
  cursor: pointer;
}
.instagram-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.instagram-item:hover img { transform: scale(1.08); }
.instagram-item::after {
  content: '📷';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  opacity: 0;
  transition: opacity 0.3s;
}
.instagram-item:hover::after { opacity: 1; }

/* ── FOOTER ── */
.site-footer {
  background: var(--black);
  color: rgba(255,255,255,0.7);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand img { height: 60px; margin-bottom: 20px; filter: brightness(0) invert(1); }
.footer-brand p { font-size: 13px; line-height: 1.8; max-width: 280px; }
.footer-social { display: flex; gap: 12px; margin-top: 20px; }
.social-link {
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  transition: var(--transition);
}
.social-link:hover { border-color: var(--gold); color: var(--gold); }
.footer-col h4 {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a { font-size: 13px; color: rgba(255,255,255,0.6); transition: var(--transition); }
.footer-col ul a:hover { color: var(--gold-light); }
.footer-bottom {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  flex-wrap: wrap;
  gap: 12px;
}
.payment-icons { display: flex; gap: 8px; font-size: 20px; }

/* ── CART SIDEBAR ── */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}
.cart-overlay.open { opacity: 1; visibility: visible; }
.cart-sidebar {
  position: fixed;
  top: 0;
  right: -440px;
  width: 420px;
  height: 100vh;
  background: var(--white);
  z-index: 2001;
  transition: right 0.4s cubic-bezier(0.4,0,0.2,1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.cart-sidebar.open { right: 0; }
.cart-header {
  padding: 24px;
  border-bottom: 1px solid var(--mid-grey);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cart-header h3 {
  font-family: var(--font-heading);
  font-size: 22px;
}
.cart-close {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--black);
  transition: var(--transition);
}
.cart-close:hover { color: var(--gold); }
.cart-items { flex: 1; overflow-y: auto; padding: 20px; }
.cart-empty { text-align: center; padding: 60px 20px; color: var(--muted); }
.cart-empty-icon { font-size: 48px; margin-bottom: 16px; }
.cart-footer {
  padding: 24px;
  border-top: 1px solid var(--mid-grey);
  background: var(--cream);
}
.cart-total {
  display: flex;
  justify-content: space-between;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 20px;
  font-family: var(--font-heading);
}
.cart-footer .btn { width: 100%; text-align: center; margin-bottom: 10px; display: block; }

/* ── WOOCOMMERCE OVERRIDES ── */
.woocommerce .button,
.woocommerce button.button,
.woocommerce input.button {
  background: var(--black) !important;
  color: var(--white) !important;
  font-family: var(--font-body) !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 2px !important;
  text-transform: uppercase !important;
  padding: 14px 28px !important;
  border-radius: 0 !important;
  border: none !important;
  transition: var(--transition) !important;
}
.woocommerce .button:hover,
.woocommerce button.button:hover { background: var(--gold) !important; color: var(--black) !important; }
.woocommerce .button.alt,
.woocommerce button.button.alt {
  background: linear-gradient(135deg, var(--gold), var(--gold-light)) !important;
  color: var(--black) !important;
}
.woocommerce-page .woocommerce { max-width: 1260px; margin: 0 auto; padding: 60px 24px; }
.woocommerce span.onsale { background: var(--gold) !important; color: var(--black) !important; border-radius: 0 !important; }
.woocommerce ul.products li.product .price { color: var(--black) !important; font-weight: 700; }
.woocommerce .star-rating span::before { color: var(--gold) !important; }
.woocommerce-checkout #payment { background: var(--cream) !important; }
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea {
  border: 1.5px solid var(--mid-grey) !important;
  border-radius: 0 !important;
  padding: 12px 16px !important;
  font-family: var(--font-body) !important;
}
.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus { border-color: var(--gold) !important; outline: none !important; box-shadow: none !important; }

/* ── MOBILE ── */
@media(max-width:900px){
  .main-nav { display:none; }
  .mobile-menu-btn { display:block; }
  .category-grid { grid-template-columns: repeat(2,1fr); }
  .product-grid { grid-template-columns: repeat(2,1fr); gap:16px; }
  .trust-inner { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap:32px; }
  .instagram-grid { grid-template-columns: repeat(3,1fr); }
  .arrivals-grid { grid-template-columns: 1fr; }
  .arrival-featured { grid-row: span 1; min-height: 300px; }
  .cart-sidebar { width: 100%; right: -100%; }
  .hero-badge { display:none; }
  .hero-content { padding: 60px 24px; }
}
@media(max-width:480px){
  .product-grid { grid-template-columns: repeat(2,1fr); gap:12px; }
  .category-grid { grid-template-columns: repeat(2,1fr); gap:12px; }
  .trust-inner { grid-template-columns: 1fr 1fr; }
  .instagram-grid { grid-template-columns: repeat(3,1fr); }
  .newsletter-form { flex-direction:column; }
  .newsletter-form input { border-right: 1.5px solid var(--mid-grey); border-bottom: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .header-inner { padding: 14px 16px; }
}
