/*
Theme Name: Lash Up Editorial
Theme URI: https://lashup.com
Author: We Design by SR
Author URI: https://wedesignbysr.com
Description: A modern, high-end, editorial-inspired WooCommerce theme for Lash Up — premium fake eyelashes, cosmetic accessories, and lash application tools. Bone-white and blush-pink palette, Playfair Display and Alex Brush headings, Lato body copy.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Tested up to: 6.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: lash-up-editorial
Tags: e-commerce, custom-colors, custom-menu, editor-style, featured-images, threaded-comments, translation-ready
*/

/* =========================================================
   1. ROOT VARIABLES
   ========================================================= */
:root {
  --lush-pink: #f6d9d9;
  --dusty-rose: #b98a8a;
  --editorial-black: #1c1917;
  --pure-white: #ffffff;
  --bone-white: #faf7f3;
  --border-hairline: #f2e6e6;

  --font-cursive: 'Alex Brush', cursive;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Lato', Helvetica, Arial, sans-serif;

  --section-padding: 3rem;
  --container-max: 1280px;
}

/* =========================================================
   2. RESET & BASE
   ========================================================= */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background-color: var(--pure-white);
  color: var(--editorial-black);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  font-weight: 400;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color 0.25s ease, opacity 0.25s ease; }
ul { list-style: none; margin: 0; padding: 0; }

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 2rem;
}

/* =========================================================
   3. TYPOGRAPHY
   ========================================================= */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--editorial-black);
  margin: 0 0 1rem;
}

h1 { font-size: clamp(2.5rem, 5vw, 4.25rem); line-height: 1.1; }
h2 { font-size: clamp(2rem, 3.5vw, 2.75rem); line-height: 1.2; }
h3 { font-size: 1.5rem; line-height: 1.3; }

.cursive,
.script-accent {
  font-family: var(--font-cursive);
  font-weight: 400;
  color: var(--dusty-rose);
  font-size: 1.75em;
  line-height: 1;
  display: inline-block;
}

.eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  color: var(--dusty-rose);
  font-weight: 700;
  margin-bottom: 0.75rem;
  display: block;
}

p { margin: 0 0 1.25rem; color: #3d3835; }

.section-title { text-align: center; margin-bottom: 3rem; }

/* =========================================================
   4. BUTTONS
   ========================================================= */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 1rem 2.25rem;
  border: 1px solid var(--editorial-black);
  background: transparent;
  color: var(--editorial-black);
  cursor: pointer;
  transition: all 0.3s ease;
}
.btn:hover { background: var(--editorial-black); color: var(--pure-white); }

.btn-fill {
  background: var(--dusty-rose);
  border-color: var(--dusty-rose);
  color: var(--pure-white);
}
.btn-fill:hover { background: var(--editorial-black); border-color: var(--editorial-black); }

/* =========================================================
   5. SITE HEADER
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-hairline);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}

.site-logo {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  letter-spacing: 0.04em;
  font-weight: 700;
  color: var(--editorial-black);
}
.site-logo span { font-family: var(--font-cursive); color: var(--dusty-rose); font-size: 1.3em; margin-left: 0.15rem; }

.primary-navigation ul { display: flex; gap: 2.25rem; }
.primary-navigation a {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 700;
}
.primary-navigation a:hover { color: var(--dusty-rose); }

.header-icons { display: flex; align-items: center; gap: 1.5rem; }
.header-icons a { font-size: 0.85rem; }

/* =========================================================
   6. HERO SECTION
   ========================================================= */
.hero {
  background: var(--bone-white);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3rem;
  min-height: 640px;
}
.hero-content { padding: var(--section-padding) 2rem; }
.hero-content h1 { margin-bottom: 1.5rem; }
.hero-content .lede {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.15rem;
  color: #55504c;
  max-width: 30ch;
  margin-bottom: 2.25rem;
}
.hero-video-wrap {
  position: relative;
  height: 100%;
  min-height: 480px;
  overflow: hidden;
}
.hero-video-wrap video,
.hero-video-wrap .hero-fallback-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; min-height: auto; }
  .hero-video-wrap { min-height: 380px; order: -1; }
}

/* =========================================================
   7. COLLECTIONS GRID
   ========================================================= */
.collections {
  padding: calc(var(--section-padding) * 1.5) 0;
}
.collections-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.collection-card {
  position: relative;
  border: 1px solid var(--border-hairline);
  padding: 2.5rem 2rem;
  text-align: center;
  background: var(--pure-white);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.collection-card:hover {
  box-shadow: 0 20px 40px -20px rgba(28, 25, 23, 0.15);
  transform: translateY(-4px);
}
.collection-card .collection-image {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  margin-bottom: 1.5rem;
  background: var(--lush-pink);
}
.collection-card h3 { margin-bottom: 0.5rem; }
.collection-card p { font-size: 0.9rem; margin-bottom: 1.25rem; }

@media (max-width: 900px) {
  .collections-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   8. WOOCOMMERCE PRODUCT GRID
   ========================================================= */
.shop-wrapper { padding: var(--section-padding) 0; }
.shop-header { text-align: center; margin-bottom: 3rem; }

ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 2.5rem !important;
}
ul.products li.product {
  list-style: none;
  border: 1px solid var(--border-hairline);
  padding: 1.5rem;
  text-align: center;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  background: var(--pure-white);
}
ul.products li.product:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -22px rgba(28, 25, 23, 0.18);
}
ul.products li.product img {
  aspect-ratio: 3 / 4;
  object-fit: cover;
  margin-bottom: 1.25rem;
}
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  margin: 0.5rem 0 0.25rem;
  color: var(--editorial-black);
}
ul.products li.product .price {
  font-family: var(--font-body);
  color: #6b6560;
  font-weight: 700;
  font-size: 0.95rem;
}
ul.products li.product .button {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  border: 1px solid var(--editorial-black);
  padding: 0.75rem 1.5rem;
  background: transparent;
  color: var(--editorial-black);
}
ul.products li.product .button:hover {
  background: var(--dusty-rose);
  border-color: var(--dusty-rose);
  color: var(--pure-white);
}
ul.products li.product .onsale {
  background: var(--dusty-rose);
  color: var(--pure-white);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.35rem 0.75rem;
  border-radius: 0;
  font-weight: 700;
}

.woocommerce-pagination { text-align: center; margin-top: 3rem; }

@media (max-width: 1100px) { ul.products { grid-template-columns: repeat(3, 1fr) !important; } }
@media (max-width: 780px)  { ul.products { grid-template-columns: repeat(2, 1fr) !important; } }
@media (max-width: 480px)  { ul.products { grid-template-columns: 1fr !important; } }

/* Single product */
.single-product .summary .price { font-family: var(--font-body); font-size: 1.4rem; color: var(--dusty-rose); font-weight: 700; }
.single-product .summary .single_add_to_cart_button {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  padding: 1rem 2.5rem;
  background: var(--editorial-black);
  border: 1px solid var(--editorial-black);
  color: var(--pure-white);
}
.single-product .summary .single_add_to_cart_button:hover { background: var(--dusty-rose); border-color: var(--dusty-rose); }

/* =========================================================
   9. COURSES GRID
   ========================================================= */
.courses-hero { text-align: center; padding: var(--section-padding) 0 2rem; background: var(--bone-white); }
.courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  padding: var(--section-padding) 0;
}
.course-card {
  display: block;
  border: 1px solid var(--border-hairline);
  background: var(--pure-white);
  overflow: hidden;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.course-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -22px rgba(28,25,23,0.18); }
.course-card .course-image { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--lush-pink); }
.course-card .course-body { padding: 1.75rem; }
.course-card .course-level {
  font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--dusty-rose); font-weight: 700; margin-bottom: 0.5rem; display: block;
}
.course-card h3 { margin-bottom: 0.5rem; }
.course-card .course-price { font-weight: 700; color: var(--editorial-black); margin-top: 1rem; }

@media (max-width: 900px) { .courses-grid { grid-template-columns: 1fr; } }

/* =========================================================
   10. GENERIC PAGE TEMPLATE
   ========================================================= */
.page-hero { text-align: center; padding: var(--section-padding) 0 2rem; border-bottom: 1px solid var(--border-hairline); }
.page-content-wrap { max-width: 800px; margin: 0 auto; padding: var(--section-padding) 2rem; line-height: 1.9; }
.page-content-wrap h2 { margin-top: 2.5rem; }
.page-content-wrap img { margin: 2rem 0; }

/* =========================================================
   11. FOOTER
   ========================================================= */
.site-footer {
  background: var(--editorial-black);
  color: var(--bone-white);
  padding: calc(var(--section-padding) * 1.25) 0 2rem;
  margin-top: var(--section-padding);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-brand .site-logo { color: var(--pure-white); }
.footer-brand p { color: #cfc8c2; font-size: 0.9rem; margin-top: 1rem; max-width: 32ch; }
.footer-col h4 {
  font-family: var(--font-body);
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  color: var(--dusty-rose);
  margin-bottom: 1.25rem;
}
.footer-col ul li { margin-bottom: 0.65rem; }
.footer-col a { color: #cfc8c2; font-size: 0.9rem; }
.footer-col a:hover { color: var(--pure-white); }

.footer-social { display: flex; gap: 1rem; }
.footer-social a {
  border: 1px solid rgba(255,255,255,0.25);
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem;
}
.footer-social a:hover { border-color: var(--dusty-rose); color: var(--dusty-rose); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.75rem;
  font-size: 0.8rem;
  color: #a89f98;
}

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 0.75rem; text-align: center; }
}

/* =========================================================
   12. RESPONSIVE NAV COLLAPSE (basic)
   ========================================================= */
@media (max-width: 900px) {
  .primary-navigation ul { gap: 1.25rem; flex-wrap: wrap; justify-content: center; }
  .site-header .container { flex-direction: column; gap: 1rem; }
}
