/*
Theme Name: TL Co. Lashes
Theme URI: https://tlcolashes.com
Author: TL Co. Lashes
Description: Premium eyelash brand theme with elegant pink and black aesthetic
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tlco-lashes
Tags: ecommerce, beauty, pink, elegant, woocommerce
*/

/* ============================================================
   TOKENS
   ============================================================ */
:root {
  --pink-hero:    #e8a0b0;
  --pink-mid:     #d4748a;
  --pink-soft:    #f5dde4;
  --pink-pale:    #fdf0f3;
  --black:        #111111;
  --charcoal:     #2a2a2a;
  --mid-grey:     #7a7a7a;
  --light-grey:   #f0f0f0;
  --white:        #ffffff;
  --gold-star:    #f0a500;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Jost', 'Helvetica Neue', Arial, sans-serif;

  --radius-btn:   2px;
  --radius-card:  4px;
  --shadow-card:  0 2px 16px rgba(0,0,0,.07);
  --transition:   0.22s ease;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--charcoal);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.15;
}

h1 { font-size: clamp(2rem, 4vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 2.5vw, 2.2rem); letter-spacing: 0.06em; text-transform: uppercase; }
h3 { font-size: 1rem; font-family: var(--font-body); font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; }
p  { line-height: 1.7; color: var(--mid-grey); }

/* ============================================================
   LAYOUT HELPERS
   ============================================================ */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 72px 0; }
.section--tight { padding: 48px 0; }
.section--flush { padding: 0; }

.section-title {
  text-align: center;
  margin-bottom: 48px;
  color: var(--black);
}

.section-title::after {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: var(--pink-mid);
  margin: 12px auto 0;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-block;
  padding: 13px 32px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: var(--radius-btn);
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
  border: 2px solid transparent;
}

.btn--primary {
  background: var(--pink-mid);
  color: var(--white);
  border-color: var(--pink-mid);
}
.btn--primary:hover {
  background: var(--pink-hero);
  border-color: var(--pink-hero);
}

.btn--outline {
  background: transparent;
  color: var(--black);
  border-color: var(--black);
}
.btn--outline:hover {
  background: var(--black);
  color: var(--white);
}

.btn--outline-white {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn--outline-white:hover {
  background: var(--white);
  color: var(--pink-mid);
}

.btn--small {
  padding: 9px 20px;
  font-size: 10px;
}

/* ============================================================
   TOP BAR
   ============================================================ */
.top-bar {
  background: var(--black);
  color: var(--white);
  text-align: center;
  padding: 9px 24px;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--light-grey);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 8px rgba(0,0,0,.05);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.site-logo {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--black);
  letter-spacing: 0.04em;
}

.site-logo span {
  color: var(--pink-mid);
}

.site-logo small {
  display: block;
  font-size: 0.45rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--mid-grey);
  margin-top: -4px;
}

/* Primary Nav */
.primary-nav {
  display: flex;
  gap: 32px;
}

.primary-nav a {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--charcoal);
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: border-color var(--transition), color var(--transition);
}

.primary-nav a:hover,
.primary-nav a.current-menu-item {
  color: var(--pink-mid);
  border-bottom-color: var(--pink-mid);
}

/* Pink highlight for SALE */
.primary-nav a.sale-link { color: var(--pink-mid); }

/* Header Icons */
.header-icons {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-icons a {
  color: var(--charcoal);
  font-size: 18px;
  transition: color var(--transition);
  position: relative;
}

.header-icons a:hover { color: var(--pink-mid); }

.cart-count {
  position: absolute;
  top: -6px;
  right: -8px;
  background: var(--pink-mid);
  color: var(--white);
  font-size: 9px;
  font-weight: 700;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Mobile hamburger */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--black);
  margin: 5px 0;
  transition: transform 0.2s;
}

/* ============================================================
   HERO BANNER
   ============================================================ */
.hero {
  position: relative;
  min-height: 520px;
  background: var(--pink-soft);
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero__bg {
  position: absolute;
  inset: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
  opacity: 0.55;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.52) 0%, rgba(0,0,0,.18) 60%, transparent 100%);
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 560px;
  padding: 60px 0;
}

.hero__eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--pink-hero);
  margin-bottom: 16px;
}

.hero__title {
  color: var(--white);
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.05;
  margin-bottom: 20px;
  font-weight: 700;
}

.hero__subtitle {
  color: rgba(255,255,255,.8);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 36px;
}

.hero__promo {
  font-size: 12px;
  color: rgba(255,255,255,.75);
  margin-top: 16px;
  letter-spacing: 0.08em;
}

.hero__promo strong {
  color: var(--pink-hero);
}

/* ============================================================
   FEATURED COLLECTIONS GRID
   ============================================================ */
.collections-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.collection-card {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  cursor: pointer;
  background: var(--light-grey);
}

.collection-card__img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.collection-card:hover .collection-card__img {
  transform: scale(1.04);
}

.collection-card__label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 28px 16px 16px;
  background: linear-gradient(transparent, rgba(0,0,0,.62));
  text-align: center;
}

.collection-card__name {
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.collection-card .btn--outline-white {
  font-size: 9px;
  padding: 7px 18px;
}

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

.product-card {
  background: var(--white);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: box-shadow var(--transition), transform var(--transition);
  position: relative;
}

.product-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,.12);
  transform: translateY(-3px);
}

.product-card__img-wrap {
  position: relative;
  overflow: hidden;
  background: var(--pink-pale);
}

.product-card__img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.product-card:hover .product-card__img {
  transform: scale(1.05);
}

.product-card__wishlist {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--white);
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 1px 6px rgba(0,0,0,.12);
  transition: background var(--transition);
  font-size: 14px;
  color: var(--mid-grey);
}

.product-card__wishlist:hover {
  background: var(--pink-soft);
  color: var(--pink-mid);
}

.product-card__body {
  padding: 16px 16px 20px;
}

.product-card__name {
  font-size: 13px;
  font-weight: 500;
  color: var(--black);
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}

.product-card__stars {
  color: var(--gold-star);
  font-size: 12px;
  margin-bottom: 6px;
  display: flex;
  gap: 1px;
}

.product-card__price {
  font-size: 14px;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 14px;
}

.product-card__price .original {
  text-decoration: line-through;
  color: var(--mid-grey);
  font-weight: 400;
  margin-right: 6px;
  font-size: 12px;
}

.product-card .btn--primary {
  width: 100%;
  text-align: center;
  font-size: 10px;
  padding: 11px 16px;
}

/* Badge */
.product-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--pink-mid);
  color: var(--white);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 2px;
}

/* ============================================================
   PINK BANNER (promo strip)
   ============================================================ */
.promo-strip {
  background: var(--pink-soft);
  padding: 48px 0;
  text-align: center;
}

.promo-strip__title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--black);
  margin-bottom: 12px;
}

.promo-strip__sub {
  font-size: 13px;
  color: var(--mid-grey);
  margin-bottom: 28px;
  max-width: 440px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================================
   LASH CARE GUIDE BANNER
   ============================================================ */
.guide-banner {
  background: var(--pink-pale);
  border-radius: var(--radius-card);
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 0;
  max-width: 900px;
  margin: 0 auto;
}

.guide-banner__img {
  width: 240px;
  flex-shrink: 0;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.guide-banner__content {
  padding: 32px 32px 32px 0;
}

.guide-banner__content h3 {
  font-size: 14px;
  margin-bottom: 10px;
  color: var(--black);
}

.guide-banner__content a {
  font-size: 12px;
  color: var(--pink-mid);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials { background: var(--white); }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--pink-pale);
  border-radius: var(--radius-card);
  padding: 28px;
  position: relative;
}

.testimonial-card::before {
  content: '\201C';
  font-family: var(--font-display);
  font-size: 4rem;
  color: var(--pink-mid);
  opacity: 0.4;
  position: absolute;
  top: 12px;
  left: 20px;
  line-height: 1;
}

.testimonial-card__text {
  font-size: 13px;
  color: var(--charcoal);
  line-height: 1.75;
  margin-bottom: 20px;
  padding-top: 28px;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-card__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--pink-mid);
}

.testimonial-card__name {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--black);
}

.testimonial-card__stars {
  color: var(--gold-star);
  font-size: 11px;
}

/* ============================================================
   NEWSLETTER / JOIN SQUAD
   ============================================================ */
.newsletter {
  background: linear-gradient(135deg, var(--pink-mid) 0%, var(--pink-hero) 100%);
  padding: 72px 0;
  text-align: center;
}

.newsletter__title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  color: var(--white);
  margin-bottom: 10px;
}

.newsletter__sub {
  font-size: 13px;
  color: rgba(255,255,255,.85);
  margin-bottom: 36px;
}

.newsletter__form {
  display: flex;
  justify-content: center;
  gap: 0;
  max-width: 480px;
  margin: 0 auto;
}

.newsletter__input {
  flex: 1;
  padding: 14px 20px;
  font-size: 13px;
  border: none;
  border-radius: var(--radius-btn) 0 0 var(--radius-btn);
  outline: none;
  font-family: var(--font-body);
}

.newsletter__input::placeholder { color: #aaa; }

.newsletter__btn {
  background: var(--black);
  color: var(--white);
  padding: 14px 28px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: none;
  border-radius: 0 var(--radius-btn) var(--radius-btn) 0;
  cursor: pointer;
  font-family: var(--font-body);
  transition: background var(--transition);
}

.newsletter__btn:hover { background: var(--charcoal); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--black);
  color: rgba(255,255,255,.7);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer-brand .site-logo { color: var(--white); margin-bottom: 16px; }
.footer-brand p { font-size: 13px; max-width: 260px; margin-bottom: 24px; }

.footer-social {
  display: flex;
  gap: 14px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  color: rgba(255,255,255,.7);
  transition: border-color var(--transition), color var(--transition);
}

.footer-social a:hover {
  border-color: var(--pink-mid);
  color: var(--pink-mid);
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
}

.footer-col ul li { margin-bottom: 10px; }

.footer-col ul li a {
  font-size: 13px;
  color: rgba(255,255,255,.6);
  transition: color var(--transition);
}

.footer-col ul li a:hover { color: var(--pink-hero); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(255,255,255,.4);
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  color: rgba(255,255,255,.4);
  transition: color var(--transition);
}

.footer-bottom-links a:hover { color: var(--pink-hero); }

/* ============================================================
   BESTSELLERS SIDEBAR (right-column layout)
   ============================================================ */
.bestsellers-sidebar {
  background: var(--pink-pale);
  border-radius: var(--radius-card);
  padding: 32px 24px;
}

.bestsellers-sidebar h3 {
  margin-bottom: 24px;
  color: var(--black);
}

.bs-item {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--pink-soft);
}

.bs-item:last-child { border-bottom: none; }

.bs-item__img {
  width: 68px;
  height: 68px;
  object-fit: cover;
  border-radius: var(--radius-card);
  flex-shrink: 0;
}

.bs-item__name {
  font-size: 12px;
  font-weight: 500;
  color: var(--black);
  margin-bottom: 4px;
}

.bs-item__price {
  font-size: 12px;
  font-weight: 600;
  color: var(--pink-mid);
}

/* ============================================================
   WooCommerce resets
   ============================================================ */
.woocommerce ul.products li.product { margin-bottom: 0 !important; }
.woocommerce .woocommerce-message { border-top-color: var(--pink-mid); }
.woocommerce a.button, .woocommerce button.button {
  background: var(--pink-mid) !important;
  color: var(--white) !important;
  border-radius: var(--radius-btn) !important;
  font-family: var(--font-body) !important;
  font-size: 11px !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  padding: 12px 24px !important;
}
.woocommerce a.button:hover, .woocommerce button.button:hover {
  background: var(--pink-hero) !important;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .collections-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid    { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid      { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 768px) {
  .primary-nav { display: none; }
  .menu-toggle { display: block; }

  .mobile-nav-open .primary-nav {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 70px 0 0 0;
    background: var(--white);
    padding: 32px 24px;
    gap: 24px;
    overflow-y: auto;
    z-index: 99;
  }

  .collections-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .products-grid    { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .footer-grid      { grid-template-columns: 1fr; gap: 28px; }

  .hero { min-height: 400px; }
  .section { padding: 48px 0; }

  .guide-banner { flex-direction: column; }
  .guide-banner__img { width: 100%; }
  .guide-banner__content { padding: 0 24px 24px; }

  .newsletter__form { flex-direction: column; }
  .newsletter__input { border-radius: var(--radius-btn); }
  .newsletter__btn   { border-radius: var(--radius-btn); }
}

@media (max-width: 480px) {
  .collections-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid    { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .hero__content    { max-width: 100%; }
  .footer-bottom    { flex-direction: column; gap: 12px; text-align: center; }
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.animate-fade-up {
  animation: fadeUp 0.5s ease both;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ============================================================
   HERO VIDEO
============================================================ */
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.hero__placeholder-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--pink-mid) 0%, #3a1a22 100%);
}

/* ============================================================
   TWO-COL SECTION (lash care + testimonials)
============================================================ */
.two-col-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

@media (max-width: 768px) {
  .two-col-section {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}
