/* ============================================================
   LASHOLUTELY — Product Template CSS v1.0.0
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;1,400;1,500&family=DM+Sans:wght@300;400;500&display=swap');

:root {
  --lash-cream:        #FAF8F5;
  --lash-nude:         #F0E8E0;
  --lash-nude-dark:    #E4D8CC;
  --lash-purple:       #9B8BB4;
  --lash-purple-light: #EEE9F5;
  --lash-purple-dark:  #6B5A8A;
  --lash-charcoal:     #2C2824;
  --lash-muted:        #8A7F78;
  --lash-border:       #E8E0D8;
  --lash-white:        #FFFFFF;
  --lash-green:        #4A7C59;
  --lash-red:          #A33D3D;
  --lash-font-serif:   'Cormorant Garamond', Georgia, serif;
  --lash-font-sans:    'DM Sans', sans-serif;
}

/* ---- Page Wrapper ---- */
.lash-product-page {
  font-family: var(--lash-font-sans);
  color: var(--lash-charcoal);
  background: var(--lash-cream);
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 80px;
}

/* ---- Breadcrumb ---- */
.lash-breadcrumb {
  padding: 16px 0;
  font-size: 12px;
  letter-spacing: 1px;
  color: var(--lash-muted);
  border-bottom: 1px solid var(--lash-border);
  margin-bottom: 48px;
}
.lash-breadcrumb a { color: var(--lash-muted); text-decoration: none; }
.lash-breadcrumb a:hover { color: var(--lash-purple-dark); }
.woocommerce-breadcrumb { font-size: 12px; color: var(--lash-muted); }

/* ============================================================
   HERO
   ============================================================ */
.lash-product-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
  margin-bottom: 80px;
}

/* ---- Gallery ---- */
.lash-gallery { position: relative; }

.lash-gallery__badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  background: var(--lash-purple);
  color: #fff;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 20px;
}

.lash-gallery__main {
  background: var(--lash-nude);
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 1/1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.lash-gallery__main-img,
.lash-gallery__main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease, opacity 0.25s ease;
}

.lash-gallery__thumbs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 24px; }
.lash-gallery__thumb {
  width: 72px;
  height: 72px;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.2s;
}
.lash-gallery__thumb.active,
.lash-gallery__thumb:hover { border-color: var(--lash-purple); }
.lash-gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }

/* Trust Row */
.lash-trust-row { display: flex; gap: 20px; flex-wrap: wrap; padding: 16px 0; border-top: 1px solid var(--lash-border); }
.lash-trust-item { display: flex; align-items: center; gap: 7px; font-size: 12px; color: var(--lash-muted); }
.lash-trust-item svg { color: var(--lash-purple); flex-shrink: 0; }

/* ---- Product Info ---- */
.lash-product-info__category { font-size: 10px; letter-spacing: 3px; text-transform: uppercase; color: var(--lash-purple); margin-bottom: 10px; }
.lash-product-info__category a { color: var(--lash-purple); text-decoration: none; }

.lash-product-info__name {
  font-family: var(--lash-font-serif);
  font-size: 42px;
  font-weight: 400;
  line-height: 1.15;
  color: var(--lash-charcoal);
  margin: 0 0 10px;
}

.lash-product-info__tagline {
  font-family: var(--lash-font-serif);
  font-size: 20px;
  font-style: italic;
  color: var(--lash-muted);
  margin: 0 0 14px;
}

.lash-product-info__rating { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.lash-product-info__rating .star-rating { font-size: 14px; }
.lash-rating-count { font-size: 12px; color: var(--lash-muted); }

.lash-divider { width: 40px; height: 1px; background: var(--lash-purple); margin: 20px 0; }

.lash-product-info__short-desc { font-size: 14px; line-height: 1.85; color: var(--lash-muted); margin-bottom: 24px; }

/* Price */
.lash-product-info__price { margin-bottom: 10px; }
.lash-product-info__price .price { font-family: var(--lash-font-serif); font-size: 32px; font-weight: 500; color: var(--lash-charcoal); }
.lash-product-info__price del { font-size: 20px; color: var(--lash-muted); margin-right: 8px; }
.lash-product-info__price ins { text-decoration: none; color: var(--lash-purple-dark); }

/* Stock */
.lash-product-info__stock { display: flex; align-items: center; gap: 8px; font-size: 12px; letter-spacing: 1px; color: var(--lash-green); margin-bottom: 24px; }
.lash-product-info__stock.outofstock { color: var(--lash-red); }
.lash-stock-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--lash-green); display: inline-block; }
.lash-stock-dot.out { background: var(--lash-red); }

/* ATC Button Override */
.lash-product-info__atc { margin-bottom: 20px; }
.lash-product-info__atc .qty {
  border: 1px solid var(--lash-border) !important;
  border-radius: 8px !important;
  padding: 12px 16px !important;
  font-family: var(--lash-font-sans) !important;
  font-size: 14px !important;
  width: 80px !important;
  background: var(--lash-white) !important;
  color: var(--lash-charcoal) !important;
}
.lash-product-info__atc .single_add_to_cart_button,
.lash-product-info__atc .button {
  background: var(--lash-charcoal) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 6px !important;
  padding: 14px 36px !important;
  font-family: var(--lash-font-sans) !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  letter-spacing: 2px !important;
  text-transform: uppercase !important;
  cursor: pointer !important;
  transition: background 0.2s, transform 0.1s !important;
}
.lash-product-info__atc .single_add_to_cart_button:hover { background: var(--lash-purple-dark) !important; }

/* Meta Pills */
.lash-meta-pills { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.lash-pill { background: var(--lash-purple-light); color: var(--lash-purple-dark); font-size: 11px; letter-spacing: 0.5px; padding: 6px 14px; border-radius: 20px; }

/* Benefits */
.lash-benefits { margin-bottom: 12px; }
.lash-benefits__title { font-size: 10px; letter-spacing: 2.5px; text-transform: uppercase; font-weight: 500; margin-bottom: 14px; color: var(--lash-charcoal); }
.lash-benefits__list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.lash-benefits__list li { font-size: 13px; color: var(--lash-muted); display: flex; align-items: flex-start; gap: 10px; line-height: 1.6; }
.lash-benefits__list li::before { content: ''; width: 5px; height: 5px; min-width: 5px; background: var(--lash-purple); border-radius: 50%; margin-top: 6px; }

/* ============================================================
   TABS
   ============================================================ */
.lash-tabs-section { border-top: 1px solid var(--lash-border); margin-bottom: 80px; }
.lash-tabs-nav { display: flex; overflow-x: auto; border-bottom: 1px solid var(--lash-border); }
.lash-tab {
  padding: 16px 28px;
  font-family: var(--lash-font-sans);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--lash-muted);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
}
.lash-tab:hover { color: var(--lash-charcoal); }
.lash-tab.active { color: var(--lash-purple-dark); border-bottom-color: var(--lash-purple); }

.lash-tab-panel { display: none; padding: 40px 0; }
.lash-tab-panel.active { display: block; }

.lash-desc-body { font-size: 14px; line-height: 1.9; color: var(--lash-muted); max-width: 720px; }
.lash-desc-body h2, .lash-desc-body h3 { font-family: var(--lash-font-serif); font-weight: 400; color: var(--lash-charcoal); margin: 24px 0 12px; }

.lash-ingredients-box { background: var(--lash-nude); border-radius: 12px; padding: 24px 28px; max-width: 720px; }
.lash-ingredients-box__label { font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--lash-muted); margin-bottom: 12px; }
.lash-ingredients-box__text { font-size: 13px; line-height: 1.9; color: var(--lash-charcoal); }

.lash-howtouse-box { border-left: 2px solid var(--lash-purple); padding-left: 24px; max-width: 720px; font-size: 14px; line-height: 1.9; color: var(--lash-muted); }

/* ============================================================
   RELATED PRODUCTS
   ============================================================ */
.lash-related-section { padding: 48px 0 0; }
.lash-related-section__title { font-family: var(--lash-font-serif); font-size: 32px; font-weight: 400; color: var(--lash-charcoal); margin-bottom: 6px; text-align: center; }
.lash-related-section__sub { font-size: 13px; color: var(--lash-muted); text-align: center; margin-bottom: 36px; }

.lash-related-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.lash-related-card { background: var(--lash-white); border: 1px solid var(--lash-border); border-radius: 14px; overflow: hidden; transition: transform 0.2s; }
.lash-related-card:hover { transform: translateY(-4px); }

.lash-related-card__img-wrap { display: block; position: relative; background: var(--lash-nude); aspect-ratio: 1/1; overflow: hidden; }
.lash-related-card__img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.lash-related-card:hover .lash-related-card__img-wrap img { transform: scale(1.05); }

.lash-related-card__badge { position: absolute; top: 10px; left: 10px; background: var(--lash-purple); color: #fff; font-size: 9px; letter-spacing: 1.5px; text-transform: uppercase; padding: 4px 10px; border-radius: 20px; z-index: 1; }
.lash-related-card__body { padding: 16px; }
.lash-related-card__name { display: block; font-family: var(--lash-font-serif); font-size: 17px; font-weight: 400; color: var(--lash-charcoal); text-decoration: none; margin-bottom: 6px; line-height: 1.3; }
.lash-related-card__price { font-size: 14px; color: var(--lash-muted); margin-bottom: 12px; }
.lash-related-card__btn { display: inline-block; font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--lash-purple-dark); text-decoration: none; border-bottom: 1px solid var(--lash-purple); padding-bottom: 2px; transition: color 0.2s; }
.lash-related-card__btn:hover { color: var(--lash-charcoal); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 992px) {
  .lash-product-hero { grid-template-columns: 1fr; gap: 40px; }
  .lash-related-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 600px) {
  .lash-product-info__name { font-size: 30px; }
  .lash-related-grid { grid-template-columns: repeat(2,1fr); gap: 14px; }
  .lash-tab { padding: 12px 16px; font-size: 10px; }
  .lash-product-page { padding: 0 16px 60px; }
  .lash-product-hero { gap: 28px; }
}
