/*
Theme Name: CELPIL Luxe
Theme URI: https://celpil.com
Author: CELPIL
Description: Luxury WooCommerce-ready theme for CELPIL beauty, shapewear and human hair.
Version: 1.3.1
Text Domain: celpil-luxe
Requires at least: 6.0
Requires PHP: 7.4
*/

:root{
  --celpil-black:#0b0b0c;
  --celpil-charcoal:#161618;
  --celpil-rose:#b77868;
  --celpil-rose2:#d2a091;
  --celpil-cream:#f6f1ed;
  --celpil-muted:#c8c3bf;
  --celpil-white:#ffffff;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:Arial,Helvetica,sans-serif;
  background:var(--celpil-black);
  color:var(--celpil-white);
  line-height:1.6;
}
a{color:inherit}
img{max-width:100%;height:auto}
.wrap{width:min(1120px,92%);margin:auto}
.narrow{width:min(760px,92%);margin:auto}
.site-header{
  position:sticky;top:0;z-index:50;
  background:rgba(11,11,12,.94);
  border-bottom:1px solid rgba(255,255,255,.08);
  backdrop-filter:blur(12px);
}
.nav{
  min-height:74px;display:flex;align-items:center;justify-content:space-between;gap:24px;
}
.brand-wrap{display:flex;align-items:center;gap:14px;text-decoration:none}
.brand-logo{width:54px;height:54px;object-fit:cover;border-radius:50%}
.brand-text{
  font-family:Georgia,serif;
  letter-spacing:.16em;
  color:var(--celpil-rose2);
  font-size:25px;
}
.main-nav ul{display:flex;gap:22px;list-style:none;margin:0;padding:0}
.main-nav a{text-decoration:none;font-size:14px;color:#eee}
.main-nav a:hover{color:var(--celpil-rose2)}
.hero{
  padding:74px 0 94px;
  background:radial-gradient(circle at 78% 35%,rgba(183,120,104,.15),transparent 31%);
}
.hero-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:56px;align-items:center}
.eyebrow{
  color:var(--celpil-rose2);
  text-transform:uppercase;
  letter-spacing:.18em;
  font-size:12px;
  font-weight:700;
}
h1,h2,h3{
  font-family:Georgia,'Times New Roman',serif;
  margin:0 0 18px;
}
h1{font-size:clamp(48px,7vw,86px);line-height:.98;font-weight:500}
h1 span{color:var(--celpil-rose2)}
h2{font-size:clamp(34px,5vw,54px);font-weight:500}
h3{font-size:28px;font-weight:500}
.lead{font-size:18px;color:#d8d5d2;max-width:650px}
.actions{display:flex;gap:14px;flex-wrap:wrap;margin-top:28px}
.btn{
  display:inline-block;padding:14px 22px;border-radius:999px;
  text-decoration:none;font-weight:700;font-size:14px;
}
.btn-primary{background:var(--celpil-rose);color:#fff}
.btn-ghost{border:1px solid rgba(255,255,255,.18);color:#fff}
.hero-logo img{
  width:100%;display:block;border-radius:28px;
  box-shadow:0 28px 70px rgba(0,0,0,.45);
}
.section{padding:90px 0}
.section-alt{background:#101012}
.center{text-align:center}
.collection-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;margin-top:42px}
.collection-card{
  background:#171719;border:1px solid rgba(255,255,255,.07);
  border-radius:24px;padding:22px;
}
.collection-card p{color:#cfcac7}
.card-art{height:220px;border-radius:18px;margin-bottom:20px}
.card-makeup{background:linear-gradient(135deg,#432420,#c78976 60%,#2c1716)}
.card-shape{background:linear-gradient(135deg,#2a2322,#8e6459 58%,#181516)}
.card-hair{background:linear-gradient(135deg,#171313,#5d3d38 50%,#0c0a0a)}
.chip{
  display:inline-block;padding:7px 12px;border-radius:999px;
  background:rgba(183,120,104,.15);color:var(--celpil-rose2);
  font-size:12px;font-weight:700
}
.promise-grid{display:grid;grid-template-columns:.8fr 1.2fr;gap:70px}
.promise-list{display:grid;gap:24px}
.promise-list div{display:grid;gap:4px;padding-bottom:20px;border-bottom:1px solid rgba(255,255,255,.08)}
.promise-list strong{font-size:18px}
.promise-list span{color:#cfcac7}
.light-section{background:var(--celpil-cream);color:#171719}
.light-section .eyebrow{color:#9f6151}
.light-section p{color:#4f4b49}
.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:50px;align-items:start}
.contact-box{
  background:#171719;border:1px solid rgba(255,255,255,.08);
  border-radius:24px;padding:28px
}
.contact-box a{color:var(--celpil-rose2);text-decoration:none}
.site-footer{
  border-top:1px solid rgba(255,255,255,.08);
  padding:28px 0;color:#a9a5a2;font-size:13px
}
.footer-row{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap}

/* WooCommerce */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product{
  background:#171719;
  border:1px solid rgba(255,255,255,.08);
  border-radius:18px;
  padding:14px;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product .price,
.woocommerce div.product p.price,
.woocommerce div.product span.price{
  color:#fff;
}
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit{
  background:var(--celpil-rose)!important;
  color:#fff!important;
  border-radius:999px!important;
}
.woocommerce-message,
.woocommerce-info{
  border-top-color:var(--celpil-rose)!important;
}
.content-area{padding:70px 0}
.page-title{font-size:44px}

@media (max-width:800px){
  .hero-grid,.promise-grid,.contact-grid,.collection-grid{grid-template-columns:1fr}
  .hero-logo{order:-1}
  .main-nav ul{gap:12px;flex-wrap:wrap;justify-content:flex-end}
  .brand-text{font-size:20px}
}

/* CELPIL contact + category refinements */
.collection-link{
  display:inline-block;
  margin-top:8px;
  color:var(--celpil-rose2);
  text-decoration:none;
  font-weight:700;
  border-bottom:1px solid rgba(210,160,145,.55);
}
.collection-link:hover{color:#fff}
.homepage-contact{
  background:linear-gradient(180deg,#0b0b0c,#111012);
  border-top:1px solid rgba(255,255,255,.06);
}
.contact-intro{max-width:620px;margin:0 auto 24px;color:#d0cbc8}
.contact-page-head{max-width:760px;margin:0 auto 42px}
.contact-page-head p{color:#cfcac7}
.contact-details-card{
  width:min(760px,100%);
  margin:0 auto;
  background:#171719;
  border:1px solid rgba(210,160,145,.32);
  border-radius:26px;
  padding:12px 34px;
  box-shadow:0 24px 65px rgba(0,0,0,.3);
}
.contact-detail-item{
  padding:24px 0;
  border-bottom:1px solid rgba(255,255,255,.08);
  display:grid;
  gap:5px;
}
.contact-detail-item:last-child{border-bottom:0}
.contact-detail-label{
  color:var(--celpil-rose2);
  text-transform:uppercase;
  letter-spacing:.13em;
  font-size:12px;
  font-weight:700;
}
.contact-detail-item a{color:#fff;text-decoration:none;font-size:18px}
.contact-detail-item a:hover{color:var(--celpil-rose2)}
.contact-detail-item address{font-style:normal;color:#fff;font-size:18px}
.contact-detail-item small{color:#aaa39f;margin-top:6px}
.footer-main{
  display:grid;
  grid-template-columns:1.1fr 1fr 1fr;
  gap:40px;
  align-items:start;
}
.footer-brand-block,.footer-service-block{display:grid;gap:9px}
.footer-brand-block strong,.footer-service-block strong{color:#fff;font-size:14px}
.footer-service-block a{color:#bdb7b3;text-decoration:none}
.footer-service-block a:hover{color:var(--celpil-rose2)}
.footer-menu{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.footer-menu a{color:#bdb7b3;text-decoration:none}
.footer-menu a:hover{color:var(--celpil-rose2)}
@media (max-width:800px){
  .footer-main{grid-template-columns:1fr;gap:28px}
  .contact-details-card{padding:8px 22px}
}

/* Separate CELPIL collection landing pages */
.collection-landing-page{min-height:70vh}
.collection-landing-hero{
  padding:72px 0 58px;
  background:radial-gradient(circle at 50% 15%,rgba(183,120,104,.19),transparent 38%),#0b0b0c;
  border-bottom:1px solid rgba(255,255,255,.07);
}
.collection-page-logo{
  width:min(250px,56vw);
  border-radius:28px;
  margin:0 auto 28px;
  box-shadow:0 20px 60px rgba(0,0,0,.42);
}
.collection-landing-hero .lead{margin-left:auto;margin-right:auto}
.category-heading-row{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:28px}
.coming-soon-card{
  width:min(760px,100%);
  margin:0 auto;
  padding:50px 36px;
  text-align:center;
  background:#171719;
  border:1px solid rgba(210,160,145,.28);
  border-radius:28px;
  box-shadow:0 24px 70px rgba(0,0,0,.28);
}
.coming-soon-card img{width:150px;border-radius:50%;margin-bottom:20px}
.coming-soon-card p:not(.eyebrow){color:#cfcac7;max-width:600px;margin:0 auto 24px}
.about-grid{display:grid;grid-template-columns:.8fr 1.2fr;gap:64px;align-items:center}
.about-logo-panel img{width:100%;border-radius:28px;box-shadow:0 28px 70px rgba(0,0,0,.45)}
.about-page p{color:#d2cecb}
@media (max-width:900px){
  .about-grid{grid-template-columns:1fr;gap:34px}
  .about-logo-panel{max-width:480px;margin:auto}
  .category-heading-row{align-items:start;flex-direction:column}
  .main-nav ul{gap:10px}
  .main-nav a{font-size:13px}
}

/* CELPIL collection product-card spacing + mobile polish */
.category-products-section ul.products{
  display:grid !important;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:34px 26px !important;
  margin:0 !important;
  padding:0 !important;
  list-style:none !important;
}
.category-products-section ul.products::before,
.category-products-section ul.products::after{display:none !important;content:none !important;}
.category-products-section ul.products li.product,
.category-products-section.woocommerce ul.products li.product,
.woocommerce .category-products-section ul.products li.product{
  float:none !important;
  width:100% !important;
  margin:0 !important;
  padding:18px !important;
  list-style:none !important;
  background:#171719 !important;
  border:1px solid rgba(255,255,255,.09) !important;
  border-radius:22px !important;
  overflow:hidden;
}
.category-products-section ul.products li.product > a.woocommerce-LoopProduct-link{
  display:block;
  text-decoration:none;
}
.category-products-section ul.products li.product img{
  width:100% !important;
  aspect-ratio:1/1;
  object-fit:cover;
  display:block;
  margin:0 0 18px !important;
  border-radius:14px;
  background:#f3f3f3;
}
.category-products-section ul.products li.product .woocommerce-loop-product__title{
  font-family:Georgia,'Times New Roman',serif !important;
  font-size:23px !important;
  line-height:1.2 !important;
  font-weight:500 !important;
  margin:0 0 12px !important;
  padding:0 !important;
  color:#fff !important;
  text-decoration:none !important;
}
.category-products-section ul.products li.product .price{
  display:block !important;
  font-size:17px !important;
  line-height:1.35 !important;
  margin:0 0 16px !important;
  color:#fff !important;
}
.category-products-section ul.products li.product .button{
  display:inline-block !important;
  margin:0 !important;
  padding:12px 18px !important;
  font-size:14px !important;
  line-height:1.2 !important;
  text-decoration:none !important;
}
.category-products-section ul.products li.product + li.product{margin-top:0 !important;}

@media (max-width:900px){
  .category-products-section ul.products{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:26px 18px !important;
  }
  .category-products-section ul.products li.product{padding:14px !important;}
  .category-products-section ul.products li.product .woocommerce-loop-product__title{
    font-size:20px !important;
  }
}
@media (max-width:560px){
  .category-products-section{padding-top:52px;padding-bottom:64px;}
  .category-products-section ul.products{
    grid-template-columns:1fr;
    gap:34px !important;
  }
  .category-products-section ul.products li.product{
    padding:16px !important;
    border-radius:20px !important;
  }
  .category-products-section ul.products li.product img{
    margin-bottom:16px !important;
    border-radius:12px;
  }
  .category-products-section ul.products li.product .woocommerce-loop-product__title{
    font-size:26px !important;
    line-height:1.16 !important;
    margin-bottom:10px !important;
  }
  .category-products-section ul.products li.product .price{
    font-size:18px !important;
    margin-bottom:14px !important;
  }
  .category-products-section ul.products li.product .button{
    margin-top:2px !important;
  }
}
