/*
Theme Name: Lumsoo
Theme URI: https://lumsoo.com
Author: Lumsoo
Author URI: https://lumsoo.com
Description: Lumsoo — a luxury Korean skincare & makeup boutique theme for WooCommerce. Editorial, minimal, and fully responsive, inspired by high-fashion houses. Includes a curated brand directory so shoppers can browse by brand.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: lumsoo
WC requires at least: 6.0
WC tested up to: 9.9
*/

/* ============================================================
   LUMSOO — Design tokens
   ============================================================ */
:root{
  --ink:#1a1714;            /* near-black text */
  --ink-soft:#5b554e;       /* muted text */
  --cream:#faf7f2;          /* page background */
  --cream-2:#f3eee6;        /* alt surface */
  --line:#e5ddd1;           /* hairline borders */
  --gold:#a9893f;           /* champagne gold accent */
  --gold-deep:#8a6d2c;
  --white:#ffffff;
  --max:1320px;
  --serif:"Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans:"Jost","Helvetica Neue", Arial, sans-serif;
  --shadow:0 18px 50px -28px rgba(26,23,20,.35);
  --ease:cubic-bezier(.22,.61,.36,1);
}

*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{
  margin:0;
  background:var(--cream);
  color:var(--ink);
  font-family:var(--sans);
  font-size:16px;
  line-height:1.65;
  font-weight:300;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;height:auto;display:block}
a{color:inherit;text-decoration:none;transition:color .25s var(--ease),opacity .25s var(--ease)}
h1,h2,h3,h4{font-family:var(--serif);font-weight:500;line-height:1.12;margin:0 0 .4em;letter-spacing:.01em}
p{margin:0 0 1em}
.wrap{max-width:var(--max);margin:0 auto;padding:0 28px}
.eyebrow{font-family:var(--sans);font-size:11px;letter-spacing:.32em;text-transform:uppercase;color:var(--gold-deep);font-weight:400}
.center{text-align:center}

/* Buttons */
.btn,
.lum a.button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce a.button.alt,
.woocommerce button.button.alt{
  display:inline-block;
  font-family:var(--sans);
  font-size:12px;
  letter-spacing:.22em;
  text-transform:uppercase;
  font-weight:400;
  padding:15px 34px;
  background:var(--ink);
  color:var(--white);
  border:1px solid var(--ink);
  border-radius:0;
  cursor:pointer;
  transition:all .3s var(--ease);
  line-height:1;
}
.btn:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover{background:var(--gold);border-color:var(--gold);color:var(--white)}
.btn--ghost{background:transparent;color:var(--ink)}
.btn--ghost:hover{background:var(--ink);color:var(--white)}

/* ============================================================
   Header
   ============================================================ */
.site-topbar{background:var(--ink);color:#f0e9da;text-align:center;font-size:11px;letter-spacing:.26em;text-transform:uppercase;padding:9px 12px}
.site-header{position:sticky;top:0;z-index:60;background:rgba(250,247,242,.92);backdrop-filter:blur(10px);border-bottom:1px solid var(--line)}
.header-inner{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:18px;min-height:84px}
.header-left{display:flex;align-items:center;gap:22px}
.header-right{display:flex;align-items:center;justify-content:flex-end;gap:22px}

/* Logo: intentionally minimal wordmark — empty for now, ready for a custom logo */
.brand-logo{justify-self:center;text-align:center}
.brand-logo a{display:inline-block}
.brand-wordmark{font-family:var(--serif);font-weight:500;font-size:30px;letter-spacing:.42em;text-transform:uppercase;padding-left:.42em;color:var(--ink)}
.brand-tag{display:block;font-family:var(--sans);font-size:9px;letter-spacing:.46em;text-transform:uppercase;color:var(--gold-deep);margin-top:2px}
.custom-logo{max-height:54px;width:auto}

.main-nav ul{list-style:none;display:flex;gap:26px;margin:0;padding:0}
.main-nav a{font-size:12px;letter-spacing:.18em;text-transform:uppercase;font-weight:400;position:relative;padding:6px 0}
.main-nav a::after{content:"";position:absolute;left:0;bottom:0;height:1px;width:0;background:var(--gold);transition:width .3s var(--ease)}
.main-nav a:hover{color:var(--gold-deep)}
.main-nav a:hover::after{width:100%}

.icon-btn{background:none;border:0;cursor:pointer;padding:6px;color:var(--ink);font-size:12px;letter-spacing:.16em;text-transform:uppercase;display:inline-flex;align-items:center;gap:7px}
.icon-btn:hover{color:var(--gold-deep)}
.cart-count{display:inline-flex;min-width:18px;height:18px;padding:0 5px;align-items:center;justify-content:center;background:var(--gold);color:#fff;border-radius:999px;font-size:10px;letter-spacing:0}
.nav-toggle{display:none}

/* Mobile drawer */
.mobile-drawer{position:fixed;inset:0 0 0 auto;width:min(86vw,360px);background:var(--cream);transform:translateX(100%);transition:transform .4s var(--ease);z-index:120;padding:28px;box-shadow:var(--shadow);overflow-y:auto}
.mobile-drawer.open{transform:translateX(0)}
.mobile-backdrop{position:fixed;inset:0;background:rgba(20,17,14,.45);opacity:0;visibility:hidden;transition:opacity .4s var(--ease);z-index:110}
.mobile-backdrop.open{opacity:1;visibility:visible}
.mobile-drawer ul{list-style:none;margin:18px 0 0;padding:0}
.mobile-drawer li{border-bottom:1px solid var(--line)}
.mobile-drawer a{display:block;padding:16px 4px;font-size:14px;letter-spacing:.14em;text-transform:uppercase}
.drawer-close{background:none;border:0;font-size:13px;letter-spacing:.2em;text-transform:uppercase;cursor:pointer}

/* ============================================================
   Hero
   ============================================================ */
.hero{position:relative;overflow:hidden;background:#efe3d0 url(assets/img/hero.jpg) center right/cover no-repeat}
.hero::before{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(90deg,rgba(249,244,236,.94) 0%,rgba(249,244,236,.78) 32%,rgba(249,244,236,.15) 58%,rgba(249,244,236,0) 75%)}
.hero-inner{position:relative;z-index:2;max-width:var(--max);margin:0 auto;padding:128px 28px;min-height:580px;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;text-align:left}
.hero h1{font-size:clamp(44px,7vw,92px);font-weight:500;letter-spacing:.01em;margin:.16em 0 .3em}
.hero p{max-width:460px;margin:0 0 2em;color:var(--ink-soft);font-size:18px}
.hero .eyebrow{display:block;margin-bottom:8px}
.hero-actions{display:flex;gap:16px;justify-content:flex-start;flex-wrap:wrap}

/* ============================================================
   Section scaffolding
   ============================================================ */
.section{padding:84px 0}
.section--tight{padding:56px 0}
.section-head{text-align:center;max-width:640px;margin:0 auto 50px}
.section-head h2{font-size:clamp(28px,4vw,44px)}
.section-head p{color:var(--ink-soft)}
.divider-mark{display:inline-block;width:42px;height:1px;background:var(--gold);margin:14px auto}

/* ============================================================
   Category strip
   ============================================================ */
.cat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}
.cat-card{position:relative;display:block;aspect-ratio:3/4;overflow:hidden;background:var(--cream-2)}
.cat-card img{width:100%;height:100%;object-fit:cover;transition:transform .8s var(--ease)}
.cat-card:hover img{transform:scale(1.05)}
.cat-card span{position:absolute;left:0;right:0;bottom:0;padding:20px;background:linear-gradient(to top,rgba(20,17,14,.62),transparent);color:#fff;font-family:var(--serif);font-size:22px;letter-spacing:.02em}

/* ============================================================
   Brand directory
   ============================================================ */
.brand-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:16px}
.brand-card{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:9px;min-height:150px;background:var(--white);border:1px solid var(--line);transition:all .35s var(--ease);padding:22px 18px}
.brand-card:hover{border-color:var(--gold);box-shadow:var(--shadow);transform:translateY(-3px)}
.brand-card .b-logo{max-height:52px;max-width:78%;width:auto;object-fit:contain;mix-blend-mode:multiply}
.brand-card .b-name{font-family:var(--serif);font-size:21px;letter-spacing:.02em;color:var(--ink);line-height:1.1}
.brand-card .b-name--sm{font-family:var(--sans);font-size:11px;letter-spacing:.13em;text-transform:uppercase;color:var(--ink-soft)}
.brand-card .b-count{font-size:10px;letter-spacing:.2em;text-transform:uppercase;color:var(--gold-deep)}
.brand-cta{text-align:center;margin-top:42px}

/* Brand directory page (A–Z) */
.brand-az{margin-top:30px}
.brand-az-group{border-top:1px solid var(--line);padding:26px 0;display:grid;grid-template-columns:80px 1fr;gap:20px}
.brand-az-letter{font-family:var(--serif);font-size:40px;color:var(--gold)}
.brand-az-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:10px 26px}
.brand-az-list a{display:flex;justify-content:space-between;align-items:baseline;padding:7px 0;border-bottom:1px dotted transparent;font-size:15px}
.brand-az-list a:hover{color:var(--gold-deep);border-bottom-color:var(--line)}
.brand-az-list .c{font-size:11px;color:var(--ink-soft);letter-spacing:.08em}

/* ============================================================
   WooCommerce — products grid
   ============================================================ */
.woocommerce ul.products,
ul.products{display:grid !important;grid-template-columns:repeat(4,1fr);gap:30px 26px;margin:0 !important;padding:0 !important;list-style:none}
/* WooCommerce adds clearfix ::before/::after — in a grid they become empty cells. Kill them. */
.woocommerce ul.products::before,
.woocommerce ul.products::after,
ul.products::before,
ul.products::after{content:none !important;display:none !important}

/* Constrain WooCommerce shop / category / single / cart pages to the site container */
body.woocommerce-page:not(.home) #site-content{max-width:var(--max);margin:0 auto;padding:0 28px 56px}
.woocommerce ul.products li.product,
ul.products li.product{width:auto !important;margin:0 !important;float:none !important;text-align:left}
.home ul.products,
.cols-4 ul.products{grid-template-columns:repeat(4,1fr)}
.woocommerce ul.products li.product a img,
ul.products li.product img{margin:0 0 16px;background:#fff;aspect-ratio:1/1;object-fit:contain;width:100%;padding:16px;border:1px solid var(--line);transition:transform .5s var(--ease)}
.woocommerce ul.products li.product:hover a img{transform:scale(1.03)}
.woocommerce ul.products li.product .woocommerce-loop-product__title,
ul.products li.product .woocommerce-loop-product__title{font-family:var(--serif) !important;font-size:17px !important;font-weight:500 !important;padding:0 !important;color:var(--ink);line-height:1.3;margin:0 0 5px}
.woocommerce ul.products li.product .price{color:var(--ink) !important;font-family:var(--sans);font-size:14px;font-weight:400}
.woocommerce ul.products li.product .price del{color:var(--ink-soft);opacity:.6;margin-right:8px}
.woocommerce ul.products li.product .price ins{text-decoration:none;color:var(--gold-deep)}
.woocommerce ul.products li.product .button{margin-top:14px}
.woocommerce span.onsale,
.onsale{background:var(--gold) !important;color:#fff !important;border-radius:0 !important;min-height:auto !important;min-width:auto !important;padding:6px 12px !important;font-size:10px;letter-spacing:.18em;text-transform:uppercase;line-height:1 !important;top:10px;left:10px;margin:0 !important}

/* brand line under product title */
.lum-loop-brand{display:block;font-size:10px;letter-spacing:.2em;text-transform:uppercase;color:var(--gold-deep);margin:0 0 4px}

/* Shop header / result bar */
.woocommerce-products-header{text-align:center;padding:64px 0 8px}
.woocommerce-products-header__title.page-title{font-size:clamp(30px,5vw,52px) !important}
.term-description{text-align:center;max-width:620px;margin:8px auto 0;color:var(--ink-soft)}
.woocommerce .woocommerce-result-count{color:var(--ink-soft);font-size:13px;letter-spacing:.04em}
.woocommerce .woocommerce-ordering select{font-family:var(--sans);border:1px solid var(--line);background:var(--white);padding:10px 14px;border-radius:0;font-size:12px;letter-spacing:.1em;text-transform:uppercase}
.shop-toolbar{display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:14px 0;margin:18px 0 34px;flex-wrap:wrap;gap:12px}

/* Single product */
.woocommerce div.product{display:grid;grid-template-columns:minmax(0,460px) 1fr;gap:54px;padding-top:48px}
.woocommerce div.product .woocommerce-product-gallery{margin:0;width:100% !important;float:none !important}
.woocommerce div.product .woocommerce-product-gallery .woocommerce-product-gallery__image img{background:#fff;border:1px solid var(--line)}
.woocommerce div.product .flex-control-thumbs li img{border:1px solid var(--line);background:#fff}
.woocommerce div.product .product_title{font-size:clamp(28px,4vw,44px) !important}
.woocommerce div.product p.price,
.woocommerce div.product span.price{color:var(--ink) !important;font-size:24px !important;font-weight:400}
.woocommerce div.product .woocommerce-product-details__short-description{color:var(--ink-soft)}
.woocommerce div.product form.cart{margin:26px 0}
.woocommerce div.product .quantity input.qty{border:1px solid var(--line);padding:14px 10px;width:72px;border-radius:0;background:var(--white)}
.single-product-brand{font-size:11px;letter-spacing:.24em;text-transform:uppercase;color:var(--gold-deep);margin-bottom:10px}
.woocommerce-tabs{grid-column:1/-1;margin-top:30px}
.woocommerce div.product .woocommerce-tabs ul.tabs{padding:0;border-bottom:1px solid var(--line)}
.woocommerce div.product .woocommerce-tabs ul.tabs::before{border-color:var(--line)}
.woocommerce div.product .woocommerce-tabs ul.tabs li{background:none;border:0;border-radius:0;margin:0 22px 0 0}
.woocommerce div.product .woocommerce-tabs ul.tabs li a{font-size:12px;letter-spacing:.16em;text-transform:uppercase;padding:14px 0}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a{color:var(--gold-deep)}

/* Notices / messages */
.woocommerce-message,.woocommerce-info,.woocommerce-error{border-top-color:var(--gold) !important;border-radius:0;background:var(--white)}
.woocommerce-message::before,.woocommerce-info::before{color:var(--gold) !important}

/* Sidebar widgets (filters) */
.woocommerce .widget-area .widget-title,
.widget-area .widget h2{font-family:var(--serif);font-size:20px;margin-bottom:14px}

/* ============================================================
   Editorial / value props
   ============================================================ */
.values{display:grid;grid-template-columns:repeat(4,1fr);gap:30px;text-align:center}
.value h3{font-size:20px}
.value .ic{font-size:24px;color:var(--gold);margin-bottom:8px}
.value p{font-size:14px;color:var(--ink-soft)}

.split{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:0}
.split .media{aspect-ratio:4/3;background:var(--cream-2);overflow:hidden}
.split .media img{width:100%;height:100%;object-fit:cover}
.split .body{padding:64px}
.split--reverse .media{order:2}
/* Famous-brand logo wall inside the editorial block */
.media--brands{display:flex;align-items:center;justify-content:center;background:linear-gradient(140deg,#f5edde,#e7d6bb) !important}
.brand-wall{display:grid;grid-template-columns:repeat(3,1fr);width:100%;height:100%}
.bw-cell{display:flex;align-items:center;justify-content:center;padding:12% 9%;border:1px solid rgba(169,137,63,.16)}
.bw-cell img{max-width:100%;max-height:44px;width:auto;object-fit:contain;mix-blend-mode:multiply}

/* Newsletter */
.newsletter{background:var(--ink);color:#f3ecdd;text-align:center}
.newsletter h2{color:#fff}
.newsletter form{display:flex;gap:0;max-width:480px;margin:22px auto 0}
.newsletter input[type=email]{flex:1;border:1px solid #4a443b;background:transparent;color:#fff;padding:15px 18px;font-family:var(--sans);letter-spacing:.06em}
.newsletter input[type=email]::placeholder{color:#9a9384}
.newsletter button{border:1px solid var(--gold);background:var(--gold);color:#fff;padding:15px 26px;font-size:12px;letter-spacing:.2em;text-transform:uppercase;cursor:pointer}
.newsletter button:hover{background:var(--gold-deep);border-color:var(--gold-deep)}

/* ============================================================
   Footer
   ============================================================ */
.site-footer{background:var(--cream-2);border-top:1px solid var(--line);padding:70px 0 30px;margin-top:30px}
.footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:40px}
.footer-col h4{font-family:var(--sans);font-size:11px;letter-spacing:.24em;text-transform:uppercase;color:var(--gold-deep);margin-bottom:16px}
.footer-col ul{list-style:none;margin:0;padding:0}
.footer-col li{margin-bottom:10px}
.footer-col a{font-size:14px;color:var(--ink-soft)}
.footer-col a:hover{color:var(--ink)}
.footer-brand .brand-wordmark{font-size:24px}
.footer-brand p{font-size:14px;color:var(--ink-soft);max-width:300px;margin-top:14px}
.footer-bottom{border-top:1px solid var(--line);margin-top:46px;padding-top:22px;display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap;font-size:12px;color:var(--ink-soft);letter-spacing:.06em}

/* ============================================================
   Generic page content
   ============================================================ */
.page-shell{padding:60px 0}
.entry-content{max-width:760px;margin:0 auto}
.page-title-block{text-align:center;padding:60px 0 10px}

/* ============================================================
   Responsive
   ============================================================ */
@media(max-width:1024px){
  .cat-grid{grid-template-columns:repeat(2,1fr)}
  .brand-grid{grid-template-columns:repeat(3,1fr)}
  .home ul.products,.cols-4 ul.products,.woocommerce ul.products{grid-template-columns:repeat(3,1fr)}
  .values{grid-template-columns:repeat(2,1fr)}
  .footer-grid{grid-template-columns:1fr 1fr}
  .woocommerce div.product{grid-template-columns:1fr;gap:30px}
}
@media(max-width:760px){
  .wrap{padding:0 18px}
  .main-nav,.header-right .icon-btn .label{display:none}
  .header-inner{grid-template-columns:auto 1fr auto;min-height:66px}
  .header-left{gap:10px}
  .nav-toggle{display:inline-flex}
  .brand-wordmark{font-size:22px;letter-spacing:.3em}
  .section{padding:54px 0}
  .hero{background-position:center bottom;background-size:170%}
  .hero::before{background:linear-gradient(180deg,rgba(249,244,236,.97) 0%,rgba(249,244,236,.86) 42%,rgba(249,244,236,.3) 100%)}
  .hero-inner{min-height:auto;padding:62px 20px 230px;text-align:center;align-items:center}
  .hero p{margin-left:auto;margin-right:auto}
  .hero-actions{justify-content:center}
  .cat-grid{grid-template-columns:repeat(2,1fr);gap:12px}
  .brand-grid{grid-template-columns:repeat(2,1fr)}
  .home ul.products,.cols-4 ul.products,.woocommerce ul.products{grid-template-columns:repeat(2,1fr);gap:22px 14px}
  .values{grid-template-columns:1fr 1fr}
  .split{grid-template-columns:1fr}
  .split .body{padding:36px 22px}
  .split--reverse .media{order:0}
  .footer-grid{grid-template-columns:1fr 1fr}
  .brand-az-group{grid-template-columns:1fr;gap:6px}
  .newsletter form{flex-direction:column}
}
@media(max-width:420px){
  .home ul.products,.woocommerce ul.products{grid-template-columns:1fr 1fr;gap:18px 12px}
  .footer-grid{grid-template-columns:1fr}
}
