/*
Theme Name: MANE Hair Shop
Theme URI: https://example.com/
Author: MANE Hair Shop
Description: Luxury WooCommerce-ready online hair store for MANE Hair Shop.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: mane-hair-shop
*/

:root{--black:#050505;--dark:#0d0d0d;--gold:#c9a24d;--gold2:#e2c77d;--cream:#f2eee7;--white:#fff;--muted:#aaa}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--black);color:#fff;font-family:Montserrat,Arial,sans-serif}
a{color:inherit;text-decoration:none}
img{max-width:100%;height:auto}
button,input{font-family:inherit}
.mane-topbar{height:40px;background:#000;border-bottom:1px solid #242424;display:flex;align-items:center;justify-content:space-around;font-size:12px}
.mane-topbar i{color:var(--gold);margin-right:7px}
.mane-header{height:92px;background:#050505;border-bottom:1px solid #171717;display:flex;align-items:center;padding:0 4%;gap:25px;position:relative;z-index:20}
.mane-logo img{width:190px;height:76px;object-fit:contain}
.mane-nav{display:flex;align-items:center;gap:28px;margin-left:auto}
.mane-nav a{font-size:12px;letter-spacing:1px}
.mane-nav a:hover,.mane-nav .current{color:var(--gold)}
.mane-actions{display:flex;align-items:center;gap:18px;margin-left:15px}
.mane-actions a{font-size:18px}
.mane-cart-count{display:inline-flex;width:18px;height:18px;border-radius:50%;background:var(--gold);color:#000;align-items:center;justify-content:center;font-size:10px;margin-left:-12px;margin-top:-18px}
.mane-menu{display:none;background:none;border:0;color:#fff;font-size:22px}
.mane-hero{height:500px;min-height:500px;display:flex;overflow:hidden;position:relative;background:radial-gradient(circle at 65% 50%,#1c1a17 0,#080808 55%,#000 100%)}
.mane-hero-left{width:43%;display:flex;align-items:flex-end;justify-content:center;overflow:hidden}
.mane-hero-left img{height:440px;width:auto;object-fit:contain;object-position:center bottom;display:block}
.mane-hero-content{width:57%;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:20px 8% 20px 0}
.mane-title{font-family:"Cormorant Garamond",Georgia,serif;font-size:100px;line-height:.8;letter-spacing:9px;font-weight:500}
.mane-script{font-family:"Cormorant Garamond",Georgia,serif;font-style:italic;font-size:62px;color:var(--gold);margin-top:12px}
.mane-tagline{font-size:16px;letter-spacing:3px;margin:20px 0 0}
.mane-bullets{font-size:11px;letter-spacing:1px;margin-top:17px;display:flex;gap:10px;flex-wrap:wrap;justify-content:center}
.mane-buttons{display:flex;gap:16px;margin-top:30px}
.mane-btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-width:200px;padding:16px 22px;font-size:12px;letter-spacing:1px}
.mane-btn-gold{background:var(--gold);color:#000}
.mane-btn-outline{border:1px solid var(--gold);color:var(--gold)}
.mane-btn-outline:hover{background:var(--gold);color:#000}
.mane-badge{position:absolute;right:4%;top:50%;transform:translateY(-50%);width:125px;height:125px;border:1px solid var(--gold);border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center;color:var(--gold);font-size:11px;letter-spacing:1px;text-align:center}
.mane-badge:before{content:"";position:absolute;inset:7px;border:1px dashed var(--gold);border-radius:50%}
.mane-features{background:var(--cream);color:#111;display:grid;grid-template-columns:repeat(4,1fr);padding:24px 5%}
.mane-feature{display:flex;align-items:center;justify-content:center;gap:15px;border-right:1px solid #c8c1b5}
.mane-feature:last-child{border:0}
.mane-feature i{color:#a17d2f;font-size:27px}
.mane-feature h3{font-size:12px;letter-spacing:1px;margin:0 0 4px}
.mane-feature p{font-size:11px;color:#777;margin:0}
.mane-section{padding:70px 6%}
.mane-dark{background:#050505}
.mane-light{background:var(--cream);color:#111}
.mane-heading{text-align:center;margin-bottom:42px}
.mane-heading span{color:var(--gold);font-size:11px;letter-spacing:4px}
.mane-heading h2{font-family:"Cormorant Garamond",Georgia,serif;font-size:42px;font-weight:500;letter-spacing:2px;margin:8px 0 0}
.mane-products{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.mane-product{background:var(--cream);color:#111;overflow:hidden;border-radius:4px}
.mane-product-image{height:340px;background:#eee;display:flex;align-items:center;justify-content:center;overflow:hidden}
.mane-product-image img{width:100%;height:100%;object-fit:contain}
.mane-product-info{text-align:center;padding:22px}
.mane-product-info h3{font-family:"Cormorant Garamond",Georgia,serif;font-size:27px;margin:0}
.mane-product-info p{color:#777;font-size:13px}
.mane-line{height:1px;width:40px;background:var(--gold);margin:14px auto}
.mane-price{font-weight:600;color:#8b6c2b}
.mane-shop-row{margin-top:18px}
.mane-small-btn{display:inline-block;background:#050505;color:#fff;padding:12px 20px;font-size:10px;letter-spacing:1px}
.mane-small-btn:hover{background:var(--gold);color:#000}
.mane-view{text-align:center;margin-top:40px}
.mane-view a{display:inline-flex;gap:12px;background:var(--gold);color:#000;padding:15px 30px;font-size:11px;letter-spacing:1px}
.mane-categories{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.mane-category{min-height:250px;background:#151515 center/cover no-repeat;display:flex;align-items:flex-end;padding:24px;position:relative;overflow:hidden}
.mane-category:after{content:"";position:absolute;inset:0;background:linear-gradient(transparent,rgba(0,0,0,.8))}
.mane-category-content{position:relative;z-index:2}
.mane-category h3{font-family:"Cormorant Garamond",Georgia,serif;font-size:30px;margin:0 0 5px}
.mane-category a{font-size:10px;color:var(--gold2);letter-spacing:1px}
.mane-brand{min-height:420px;background:linear-gradient(90deg,rgba(0,0,0,.15),#000 72%),url("assets/images/collection.jpg") center/cover no-repeat;display:flex;align-items:center;justify-content:flex-end;padding:60px 10%}
.mane-brand-text{max-width:520px}
.mane-brand-text span{color:var(--gold);font-size:11px;letter-spacing:3px}
.mane-brand-text h2{font-family:"Cormorant Garamond",Georgia,serif;font-size:53px;margin:15px 0}
.mane-brand-text p{color:#bbb;line-height:1.8;font-size:14px}
.mane-newsletter{text-align:center;background:var(--cream);color:#111;padding:65px 20px}
.mane-newsletter h2{font-family:"Cormorant Garamond",Georgia,serif;font-size:40px;margin:0}
.mane-newsletter p{color:#777}
.mane-newsletter form{max-width:500px;margin:25px auto 0;display:flex}
.mane-newsletter input{flex:1;border:1px solid #ccc;padding:15px;outline:0}
.mane-newsletter button{border:0;background:#050505;color:#fff;padding:0 25px}
.mane-footer{background:#050505;padding:55px 8%;display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:35px}
.mane-footer img{width:190px}
.mane-footer h3{font-size:11px;letter-spacing:2px;color:var(--gold)}
.mane-footer a{display:block;color:#aaa;font-size:12px;margin:11px 0}
.mane-social{display:flex;gap:15px}
.mane-social a{font-size:18px}
.mane-copy{text-align:center;border-top:1px solid #222;background:#000;color:#666;padding:16px;font-size:10px}
.woocommerce .site-main,.woocommerce-page .site-main{padding:60px 6%}
.woocommerce ul.products{display:grid!important;grid-template-columns:repeat(3,1fr);gap:25px}
.woocommerce ul.products:before,.woocommerce ul.products:after{display:none!important}
.woocommerce ul.products li.product{width:auto!important;float:none!important;margin:0!important;background:var(--cream);color:#111;padding-bottom:20px;text-align:center}
.woocommerce ul.products li.product a img{margin:0!important;width:100%;height:330px;object-fit:contain;background:#eee}
.woocommerce ul.products li.product .button{background:#050505;color:#fff;border-radius:0;font-size:11px;letter-spacing:1px}
.woocommerce span.onsale{background:var(--gold);color:#000}
.woocommerce div.product{color:#111}
.woocommerce-cart,.woocommerce-checkout{background:var(--cream)}
@media(max-width:1050px){.mane-nav{gap:15px}.mane-nav a{font-size:10px}.mane-badge{display:none}.mane-hero-content{padding-right:4%}}
@media(max-width:780px){
 .mane-topbar{display:none}.mane-header{height:75px;padding:0 18px}.mane-logo img{width:160px}.mane-nav,.mane-actions{display:none}.mane-menu{display:block;margin-left:auto}
 .mane-hero{height:auto;min-height:700px;flex-direction:column}.mane-hero-left{width:100%;height:330px}.mane-hero-left img{height:310px}.mane-hero-content{width:100%;padding:30px 20px}.mane-title{font-size:65px}.mane-script{font-size:45px}.mane-tagline{font-size:12px}.mane-buttons{width:100%;flex-direction:column}.mane-btn{width:100%}
 .mane-features{grid-template-columns:1fr 1fr;gap:20px}.mane-feature{border:0}
 .mane-products{grid-template-columns:1fr}.mane-categories{grid-template-columns:1fr 1fr}.mane-brand{justify-content:center;text-align:center;padding:55px 25px}.mane-brand-text h2{font-size:42px}
 .mane-footer{grid-template-columns:1fr 1fr}
 .woocommerce ul.products{grid-template-columns:1fr!important}
}
@media(max-width:480px){.mane-features{grid-template-columns:1fr}.mane-categories{grid-template-columns:1fr}.mane-footer{grid-template-columns:1fr;text-align:center}.mane-social{justify-content:center}.mane-newsletter form{flex-direction:column;gap:10px}.mane-newsletter button{padding:15px}}


/* =====================================================
   MANE BRAND TYPOGRAPHY
   Inspired by the thin, editorial lettering in the
   MANE HAIR STUDIO logo. Layout remains unchanged.
===================================================== */

.mane-title,
.mane-heading h2,
.mane-script,
.mane-product-info h3,
.mane-brand-text h2,
.mane-newsletter h2,
.mane-category h3 {
    font-family: "Italiana", "Cormorant Garamond", Georgia, serif;
    font-weight: 400;
    letter-spacing: 2px;
}

.mane-title {
    letter-spacing: 8px;
    font-weight: 400;
}

.mane-script {
    letter-spacing: 3px;
}

/* Elementor pages inherit MANE styling and remain full-width. */
.mane-elementor-page {
    width: 100%;
}

.elementor-page .mane-header,
.elementor-page .mane-topbar {
    z-index: 999;
}

.elementor-page img {
    max-width: 100%;
}

/* WooCommerce product titles use the MANE editorial font. */
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce div.product .product_title {
    font-family: "Italiana", "Cormorant Garamond", Georgia, serif;
    font-weight: 400;
    letter-spacing: 1px;
}

/* Keep Elementor's editing canvas comfortable without changing frontend. */
.elementor-editor-active .mane-topbar,
.elementor-editor-active .mane-header {
    z-index: 1;
}
