/*
Theme Name: Luxe Boutique
Theme URI: http://example.com/luxe
Author: Antigravity
Author URI: http://example.com
Description: A premium, minimalist eCommerce theme for WordPress, built with Tailwind CSS and fully compatible with WooCommerce.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: luxe
Tags: e-commerce, two-columns, custom-colors, custom-menu, featured-images, footer-widgets, full-width-template, theme-options, translation-ready

This theme uses Tailwind CSS via CDN for development.
*/

/* ============================================
   GLOBAL HELPERS
   ============================================ */
*, *::before, *::after { box-sizing: border-box; }

.lx-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.lx-btn {
  display: inline-block;
  padding: 14px 32px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  border-radius: 2px;
  cursor: pointer;
  transition: opacity .2s, transform .15s;
  text-decoration: none;
}
.lx-btn:hover { opacity: .85; transform: translateY(-1px); }
.lx-btn--primary { background: #111; color: #fff; }
.lx-btn--outline { background: transparent; color: #111; border: 2px solid #111; }

/* ============================================
   HERO SLIDER
   ============================================ */
.lx-hero {
  position: relative;
  overflow: hidden;
  height: 88vh;
  min-height: 520px;
  max-height: 900px;
}

.lx-hero__slides { position: relative; width: 100%; height: 100%; }

.lx-hero__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity .7s ease;
  display: flex;
  align-items: center;
}
.lx-hero__slide--active { opacity: 1; z-index: 1; }

.lx-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.1) 70%);
}

.lx-hero__content {
  position: relative;
  z-index: 2;
  padding: 0 80px;
  max-width: 640px;
  color: #fff;
  animation: lxFadeUp .6s ease both;
}
@keyframes lxFadeUp {
  from { opacity:0; transform:translateY(24px); }
  to   { opacity:1; transform:translateY(0); }
}

.lx-hero__label {
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-bottom: 16px;
  color: rgba(255,255,255,.75);
}
.lx-hero__title {
  font-family: 'Noto Serif', serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 400;
  line-height: 1.15;
  margin: 0 0 16px;
}
.lx-hero__sub {
  font-size: 16px;
  margin-bottom: 32px;
  color: rgba(255,255,255,.85);
}

.lx-hero__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(6px);
  border: none;
  color: #fff;
  width: 48px; height: 48px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  transition: background .2s;
}
.lx-hero__arrow:hover { background: rgba(255,255,255,.3); }
.lx-hero__arrow--prev { left: 24px; }
.lx-hero__arrow--next { right: 24px; }

.lx-hero__dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 8px;
}
.lx-hero__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.4);
  cursor: pointer;
  transition: background .2s, transform .2s;
}
.lx-hero__dot--active { background: #fff; transform: scale(1.3); }

/* ============================================
   TRUST STRIP
   ============================================ */
.lx-trust {
  background: #111;
  color: #fff;
  padding: 20px 0;
}
.lx-trust__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 16px;
}
.lx-trust__item {
  display: flex;
  align-items: center;
  gap: 14px;
}
.lx-trust__item svg { flex-shrink: 0; opacity: .8; }
.lx-trust__item div { display: flex; flex-direction: column; }
.lx-trust__item strong { font-size: 14px; font-weight: 600; }
.lx-trust__item span { font-size: 12px; opacity: .6; }

/* ============================================
   SECTIONS
   ============================================ */
.lx-section { padding: 72px 0; }
.lx-section--gray { background: #f7f7f7; }

.lx-section__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 36px;
}
.lx-section__title {
  font-family: 'Noto Serif', serif;
  font-size: 28px;
  font-weight: 400;
  color: #111;
}
.lx-section__link {
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #555;
  text-decoration: none;
  border-bottom: 1px solid #ccc;
  padding-bottom: 2px;
  transition: color .2s, border-color .2s;
}
.lx-section__link:hover { color: #111; border-color: #111; }

/* ============================================
   CATEGORY CARDS
   ============================================ */
.lx-categories {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.lx-cat-card {
  display: block;
  text-decoration: none;
  overflow: hidden;
  border-radius: 4px;
  position: relative;
  background: #f0f0f0;
  transition: transform .3s, box-shadow .3s;
}
.lx-cat-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,.12); }

.lx-cat-card__img-wrap {
  aspect-ratio: 1;
  overflow: hidden;
}
.lx-cat-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.lx-cat-card:hover .lx-cat-card__img-wrap img { transform: scale(1.06); }

.lx-cat-card__label {
  padding: 14px 16px;
  background: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.lx-cat-card__label span { font-size: 14px; font-weight: 600; color: #111; }
.lx-cat-card__label small { font-size: 11px; color: #999; }

/* ============================================
   PRODUCT CARDS
   ============================================ */
.lx-products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.lx-product-card {
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  transition: box-shadow .3s, transform .3s;
  position: relative;
}
.lx-product-card:hover { box-shadow: 0 8px 28px rgba(0,0,0,.1); transform: translateY(-4px); }

.lx-product-card__img-wrap {
  display: block;
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: #f5f5f5;
}
.lx-product-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.lx-product-card:hover .lx-product-card__img { transform: scale(1.05); }

.lx-product-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #e95d2a;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 2px;
  z-index: 2;
}
.lx-product-card__badge--new { background: #11a45d; }

.lx-product-card__actions {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px;
  background: linear-gradient(to top, rgba(0,0,0,.5) 0%, transparent 100%);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .3s, transform .3s;
  z-index: 3;
}
.lx-product-card:hover .lx-product-card__actions { opacity: 1; transform: translateY(0); }

.lx-product-card__btn {
  display: block;
  text-align: center;
  background: #fff;
  color: #111;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 10px;
  border-radius: 2px;
  text-decoration: none;
  transition: background .2s, color .2s;
}
.lx-product-card__btn:hover { background: #111; color: #fff; }

.lx-product-card__body { padding: 16px; }
.lx-product-card__cats { font-size: 11px; color: #999; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 6px; }
.lx-product-card__cats a { color: inherit; text-decoration: none; }
.lx-product-card__name { font-size: 15px; font-weight: 500; color: #111; margin: 0 0 8px; line-height: 1.4; }
.lx-product-card__name a { text-decoration: none; color: inherit; }
.lx-product-card__name a:hover { color: #e95d2a; }
.lx-product-card__price { font-size: 15px; font-weight: 600; color: #111; }
.lx-product-card__price del { color: #bbb; font-weight: 400; margin-right: 6px; }
.lx-product-card__price ins { text-decoration: none; color: #e95d2a; }
.lx-product-card__rating .star-rating { font-size: 13px; margin-top: 6px; }

/* ============================================
   FEATURE BANNERS
   ============================================ */
.lx-banners { padding: 0 0 72px; }
.lx-banners__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.lx-banners__stack { display: flex; flex-direction: column; gap: 16px; }

.lx-banner {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  background-size: cover;
  background-position: center;
  text-decoration: none;
  transition: transform .3s;
}
.lx-banner:hover { transform: scale(1.01); }
.lx-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.35);
  transition: background .3s;
}
.lx-banner:hover::before { background: rgba(0,0,0,.45); }

.lx-banner--large { min-height: 400px; }
.lx-banner--small { flex: 1; min-height: 190px; }

.lx-banner__body {
  position: relative;
  z-index: 1;
  padding: 32px;
  color: #fff;
}
.lx-banner__tag { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; opacity: .8; }
.lx-banner__title { font-family: 'Noto Serif', serif; font-size: 24px; font-weight: 400; margin: 8px 0 12px; }
.lx-banner__cta { font-size: 13px; font-weight: 600; letter-spacing: .06em; border-bottom: 1px solid rgba(255,255,255,.6); padding-bottom: 2px; }

/* ============================================
   DEAL BANNER
   ============================================ */
.lx-deal {
  background: #0a0a0a;
  padding: 72px 0;
  overflow: hidden;
}
.lx-deal__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.lx-deal__tag {
  display: inline-block;
  background: #e95d2a;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 2px;
  margin-bottom: 20px;
}
.lx-deal__title {
  font-family: 'Noto Serif', serif;
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  font-weight: 400;
  color: #fff;
  margin: 0 0 16px;
  line-height: 1.25;
}
.lx-deal__desc {
  font-size: 16px;
  color: rgba(255,255,255,.6);
  line-height: 1.7;
  margin-bottom: 32px;
}
.lx-deal__desc strong { color: #fff; }
.lx-deal__img img {
  width: 100%;
  border-radius: 4px;
  object-fit: cover;
  max-height: 380px;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .lx-categories { grid-template-columns: repeat(3, 1fr); }
  .lx-products { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .lx-hero__content { padding: 0 24px; }
  .lx-hero__title { font-size: 2rem; }
  .lx-categories { grid-template-columns: repeat(2, 1fr); }
  .lx-products { grid-template-columns: repeat(2, 1fr); }
  .lx-banners__grid { grid-template-columns: 1fr; }
  .lx-deal__inner { grid-template-columns: 1fr; }
  .lx-deal__img { display: none; }
  .lx-trust__inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .lx-categories { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .lx-products { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}
