/*
Theme Name: LX Beauty Storefront
Description: A custom pink-and-ivory WooCommerce storefront for LX Beauty Cosmetics.
Author: LCServers
Template: storefront
Version: 1.0.0
Text Domain: lx-beauty
*/

:root {
  --lx-ink: #33232a;
  --lx-muted: #75656c;
  --lx-rose: #b94e70;
  --lx-rose-dark: #8f3452;
  --lx-blush: #f8e8ed;
  --lx-blush-deep: #f1d3dd;
  --lx-cream: #fffdfc;
  --lx-line: #eadde1;
  --lx-content: 1240px;
}

html { scroll-behavior: smooth; }
body { color: var(--lx-ink); background: var(--lx-cream); font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
h1, h2, h3, .site-branding .site-title { color: var(--lx-ink); font-family: Georgia, "Times New Roman", serif; font-weight: 500; letter-spacing: -.025em; }
a { color: var(--lx-rose-dark); }
a:hover, a:focus { color: var(--lx-ink); }
button, input[type="button"], input[type="reset"], input[type="submit"], .button, .added_to_cart { border-radius: 2px; background-color: var(--lx-rose); color: #fff; font-weight: 650; letter-spacing: .04em; transition: background-color .18s ease, transform .18s ease; }
button:hover, input[type="button"]:hover, input[type="reset"]:hover, input[type="submit"]:hover, .button:hover, .added_to_cart:hover { background-color: var(--lx-rose-dark); color: #fff; transform: translateY(-1px); }

.site-header { background: rgba(255,253,252,.98); border-bottom: 1px solid var(--lx-line); padding-top: 1.25rem; padding-bottom: 1.25rem; }
.site-branding .site-title a { color: var(--lx-ink); font-size: 1.75rem; letter-spacing: .08em; text-transform: uppercase; }
.site-branding .site-description { color: var(--lx-muted); font-size: .76rem; letter-spacing: .13em; text-transform: uppercase; }
.main-navigation ul li a { color: var(--lx-ink); font-size: .82rem; font-weight: 650; letter-spacing: .1em; text-transform: uppercase; }
.main-navigation ul li a:hover { color: var(--lx-rose-dark); }
.site-header-cart .cart-contents { color: var(--lx-ink); }
.storefront-breadcrumb { max-width: var(--lx-content); margin: 1rem auto; padding-left: 1.5rem; padding-right: 1.5rem; }

.lx-home { overflow: hidden; }
.lx-hero { position: relative; display: flex; align-items: center; min-height: clamp(440px, 54vw, 680px); background-color: var(--lx-blush); background-image: linear-gradient(90deg, rgba(255,250,250,.88) 0%, rgba(255,250,250,.71) 36%, rgba(255,250,250,.04) 70%), var(--lx-hero-image); background-position: center, center right; background-size: cover; }
.lx-hero__inner { width: min(var(--lx-content), calc(100% - 3rem)); margin: 0 auto; padding: 5rem 0; }
.lx-eyebrow { margin: 0 0 .9rem; color: var(--lx-rose-dark); font-size: .74rem; font-weight: 750; letter-spacing: .22em; text-transform: uppercase; }
.lx-hero h1 { max-width: 590px; margin: 0; font-size: clamp(3.6rem, 7vw, 6.5rem); line-height: .98; }
.lx-hero__copy { max-width: 430px; margin: 1.35rem 0 1.8rem; color: #51434a; font-size: clamp(1rem, 1.5vw, 1.15rem); line-height: 1.7; }
.lx-button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; padding: .85rem 1.65rem; background: var(--lx-rose); color: #fff; font-size: .76rem; font-weight: 750; letter-spacing: .13em; text-decoration: none; text-transform: uppercase; }
.lx-button:hover, .lx-button:focus { background: var(--lx-rose-dark); color: #fff; }

.lx-intro { max-width: 760px; margin: 0 auto; padding: 5.5rem 1.5rem 2.2rem; text-align: center; }
.lx-intro h2, .lx-collection h2, .lx-note h2 { margin: 0 0 .8rem; font-size: clamp(2.2rem, 4vw, 3.5rem); line-height: 1.1; }
.lx-intro p:not(.lx-eyebrow), .lx-note p { color: var(--lx-muted); font-size: 1rem; line-height: 1.8; }
.lx-collection { max-width: var(--lx-content); margin: 0 auto; padding: 1.5rem 1.5rem 5rem; }
.lx-collection__head { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1.7rem; }
.lx-collection__head .lx-eyebrow { margin-bottom: .5rem; }
.lx-collection__link { color: var(--lx-rose-dark); font-size: .78rem; font-weight: 750; letter-spacing: .1em; text-decoration: none; text-transform: uppercase; }
.lx-empty { padding: 3rem 1.5rem; border-top: 1px solid var(--lx-line); border-bottom: 1px solid var(--lx-line); background: #fff; text-align: center; }
.lx-empty p { margin: .4rem 0; color: var(--lx-muted); }
.lx-empty strong { display: block; color: var(--lx-ink); font-family: Georgia, "Times New Roman", serif; font-size: 1.7rem; font-weight: 500; }
.lx-note { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 2rem; padding: clamp(2.5rem, 6vw, 5.5rem) max(calc((100vw - var(--lx-content)) / 2), 1.5rem); background: var(--lx-blush); }
.lx-note__mark { color: var(--lx-rose); font-family: Georgia, "Times New Roman", serif; font-size: clamp(3.5rem, 8vw, 7rem); line-height: .95; text-align: center; }
.lx-note__text { max-width: 510px; }
.lx-note__text p:last-child { margin-bottom: 0; }

.woocommerce ul.products li.product .woocommerce-loop-product__title { color: var(--lx-ink); font-family: Georgia, "Times New Roman", serif; font-size: 1.25rem; }
.woocommerce ul.products li.product .price { color: var(--lx-rose-dark); }
.woocommerce div.product .product_title { font-size: clamp(2.2rem, 4vw, 3.5rem); }
.woocommerce div.product form.cart .variations select, .woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select { min-height: 46px; border: 1px solid var(--lx-line); border-radius: 2px; background: #fff; }
.woocommerce div.product form.cart .variations th, .woocommerce div.product form.cart .variations td { padding-top: .6rem; padding-bottom: .6rem; }
.woocommerce div.product form.cart .variations label { color: var(--lx-ink); font-weight: 650; }
.woocommerce-message, .woocommerce-info { border-top-color: var(--lx-rose); }
.woocommerce-message::before, .woocommerce-info::before { color: var(--lx-rose); }
.woocommerce-cart .cart-collaterals .cart_totals, .woocommerce-checkout #order_review { border: 1px solid var(--lx-line); padding: 1.25rem; background: #fff; }
.site-footer { background: #fff; border-top: 1px solid var(--lx-line); color: var(--lx-muted); }
.site-info { color: var(--lx-muted); }

@media (max-width: 760px) {
  .site-header { padding-top: .8rem; padding-bottom: .8rem; }
  .site-branding .site-title a { font-size: 1.35rem; }
  .lx-hero { min-height: 610px; align-items: end; background-image: linear-gradient(0deg, rgba(255,250,250,.96) 0%, rgba(255,250,250,.82) 42%, rgba(255,250,250,.05) 100%), var(--lx-hero-image); background-position: center, 67% center; }
  .lx-hero__inner { width: min(100% - 2rem, var(--lx-content)); padding: 2rem 0 2.5rem; }
  .lx-hero h1 { max-width: 430px; font-size: clamp(3.2rem, 15vw, 5rem); }
  .lx-hero__copy { max-width: 320px; font-size: .98rem; }
  .lx-intro { padding-top: 3.7rem; }
  .lx-collection { padding-left: 1rem; padding-right: 1rem; }
  .lx-collection__head { align-items: start; flex-direction: column; }
  .lx-note { grid-template-columns: 1fr; text-align: center; }
  .lx-note__text { margin: 0 auto; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; } }
