/*
Theme Name: Pyjammin Atelier
Theme URI: https://pyjammin.com/
Author: Pyjammin
Description: Complete boutique WooCommerce storefront with photographic homepage, editorial pages, and responsive navigation.
Version: 1.0.0
Requires PHP: 7.4
Text Domain: pyjammin-atelier
*/
:root{--wine:#850b3c;--berry:#ad1654;--plum:#45172f;--blush:#fce3e8;--ivory:#fffaf7;--gold:#d4a56e;--ink:#361829}*{box-sizing:border-box}body{margin:0;background:var(--ivory);color:var(--ink);font:16px/1.6 'Segoe UI',Arial,sans-serif}a{color:inherit;text-decoration:none}img{max-width:100%;height:auto}button,input,textarea{font:inherit}.container{width:min(1240px,92%);margin:auto}.announcement{background:linear-gradient(95deg,#650a35,#a31c51,#dc6a81);color:#fff;text-align:center;padding:8px;font-size:12px;letter-spacing:.06em}.site-header{background:#fffaf9;position:relative;z-index:10;border-bottom:1px solid #f3dce2}.header-inner{min-height:84px;display:flex;align-items:center;justify-content:space-between;gap:24px}.logo{font:italic 46px Georgia,serif;color:var(--wine);line-height:1}.logo small{display:block;text-align:center;font:600 10px Arial;letter-spacing:.33em;margin-top:6px}.site-nav{display:flex;gap:24px;align-items:center}.site-nav a{font-size:14px;font-weight:600}.site-nav a:hover,.footer a:hover{color:var(--berry)}.header-actions{display:flex;gap:18px;font-size:22px}.menu-toggle{display:none;border:0;background:none;font-size:25px}.hero{background:linear-gradient(90deg,#ffe8e8,#f5c6c8);display:grid;grid-template-columns:46% 54%;min-height:490px}.hero-copy{padding:65px max(30px,calc((100vw - 1240px)/2)) 55px max(4%,calc((100vw - 1240px)/2));align-self:center}.eyebrow{font-size:12px;font-weight:800;letter-spacing:.28em;color:#a32456;text-transform:uppercase}.hero h1{font:700 clamp(46px,5vw,80px)/.98 Georgia,serif;color:var(--plum);margin:22px 0}.hero h1 em{color:var(--wine);font-style:normal}.hero p{max-width:420px}.hero-photo{background:center 32%/cover no-repeat;min-height:440px}.btn,.button,button.button{display:inline-flex;justify-content:center;align-items:center;border:0;background:var(--wine);color:#fff;padding:13px 27px;border-radius:28px;font-weight:700;cursor:pointer}.btn:hover,.button:hover{background:#5c0b2e;color:white}.hero-perks{display:flex;gap:22px;margin-top:30px;font-size:12px;font-weight:700}.hero-perks span:before{content:'♡ ';font-size:22px;color:var(--berry)}.categories{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;padding:20px 0}.category{overflow:hidden;border-radius:12px;background:#fae5e7}.category img{display:block;width:100%;aspect-ratio:1.48;object-fit:cover}.category .cat-body{padding:16px 18px}.category h3{font:700 25px Georgia,serif;margin:0;color:var(--plum)}.category p{font-size:13px;margin:2px 0 0}.benefits{background:#f9e9e8;padding:24px 0}.benefit-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}.benefit{display:flex;align-items:center;gap:14px;font-size:13px}.benefit b{font-size:28px;color:var(--wine)}.benefit strong{display:block}.section{padding:52px 0}.section-heading{display:flex;justify-content:space-between;align-items:end;margin-bottom:22px}.section h2,.page-title{font:700 clamp(34px,4vw,50px) Georgia,serif;color:var(--plum);margin:3px 0}.products{display:grid;grid-template-columns:repeat(5,1fr);gap:20px}.product-card img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:8px}.product-card h3{font-size:14px;line-height:1.35;margin:9px 0 2px}.price{color:var(--wine);font-weight:700}.product-card .btn{width:100%;padding:9px 8px;font-size:12px;border-radius:5px;margin-top:8px}.club{display:grid;grid-template-columns:1fr 1fr 1fr;background:#650d38;color:white;min-height:245px}.club img{width:100%;height:100%;object-fit:cover}.club-center{text-align:center;padding:32px 20px}.club h2{font:44px Georgia,serif;color:#f6cf99;margin:8px 0}.club form{display:flex;gap:8px;margin-top:15px}.club input{width:100%;min-width:0;border:0;padding:11px;border-radius:5px}.club button{border:0;border-radius:5px;padding:10px 14px;background:#db4772;color:white}.footer{background:#fff0ee;padding:40px 0 18px}.footer-grid{display:grid;grid-template-columns:2fr repeat(3,1fr) 1.5fr;gap:30px}.footer h4{margin:0 0 12px}.footer a{display:block;font-size:13px;margin:6px 0}.footer-bottom{border-top:1px solid #e9cfd2;padding-top:15px;margin-top:35px;font-size:12px}.page-wrap{min-height:55vh;padding:65px 0}.page-wrap .narrow{max-width:850px}.page-wrap h2{font:30px Georgia,serif;color:var(--wine)}.page-wrap details{border-bottom:1px solid #e6cad2;padding:16px 0}.page-wrap summary{cursor:pointer;font-weight:700}.contact-form{display:grid;gap:12px;max-width:600px}.contact-form input,.contact-form textarea{width:100%;padding:12px;border:1px solid #ddbfc8;border-radius:6px}.notice{padding:12px;background:#f9e6ed;border-left:4px solid var(--wine)}.woocommerce ul.products li.product .button{border-radius:5px}.woocommerce .button,.woocommerce button.button,.woocommerce input.button{background:var(--wine)!important;color:white!important}.site-main{min-height:40vh}@media(max-width:900px){.products{grid-template-columns:repeat(3,1fr)}.categories{grid-template-columns:repeat(2,1fr)}.footer-grid{grid-template-columns:repeat(3,1fr)}.hero-copy{padding:45px 6%}}@media(max-width:650px){.menu-toggle{display:block}.header-inner{min-height:72px}.logo{font-size:33px}.site-nav{display:none;position:absolute;left:0;right:0;top:100%;background:white;padding:20px;box-shadow:0 12px 22px #0002;flex-direction:column}.site-nav.open{display:flex}.hero{grid-template-columns:1fr}.hero-photo{min-height:360px;order:-1}.hero-copy{padding:35px 6%}.hero h1{font-size:48px}.hero-perks{flex-wrap:wrap}.categories{gap:10px}.category h3{font-size:19px}.benefit-grid{grid-template-columns:repeat(2,1fr)}.products{grid-template-columns:repeat(2,1fr);gap:12px}.club{grid-template-columns:1fr}.club img{height:180px}.footer-grid{grid-template-columns:repeat(2,1fr)}.section-heading{align-items:start;gap:10px}.section-heading .btn{font-size:12px;padding:9px 12px}}

/* PYJAMMIN HEADER — single desktop row; royal blue SEARCH BUTTON ONLY */
.site-header .header-inner{display:flex;align-items:center;gap:clamp(10px,1.2vw,20px);width:min(1600px,98%);max-width:none;margin:auto;flex-wrap:nowrap}
.site-header .logo{flex:0 0 auto}
.site-header .site-nav{display:flex;align-items:center;justify-content:center;gap:clamp(8px,1vw,20px);min-width:0;flex:1 1 auto;white-space:nowrap}
.site-header .site-nav a{font-size:clamp(11px,.82vw,14px)}
.site-header .pyj-header-actions{display:flex;align-items:center;gap:clamp(5px,.6vw,12px);flex:0 0 auto;margin-left:auto}
.site-header .pyj-header-icon{position:relative;display:inline-flex;align-items:center;justify-content:center;width:30px;height:36px;padding:3px;border:0;background:transparent;color:#222;text-decoration:none;cursor:pointer;box-sizing:border-box}
.site-header .pyj-header-icon svg{display:block;width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.site-header .pyj-header-icon:hover{color:#850b3c}
.site-header .pyj-cart-count{position:absolute;top:-3px;right:-4px;min-width:16px;height:16px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:#850b3c;color:#fff;font-size:10px;padding:0 3px}
.site-header .pyj-icon-unavailable{opacity:.45;cursor:not-allowed}
/* Compact search stays INSIDE the header row; no second-row search */
.site-header .pyj-header-actions .pyj-header-search{display:flex!important;align-items:stretch;flex:0 1 185px;width:clamp(115px,13vw,185px);min-width:110px;margin:0!important;padding:0!important;border:1px solid #d8d8d8;border-radius:4px;overflow:hidden;background:#fff;box-sizing:border-box}
.site-header .pyj-header-actions .pyj-header-search input[type=search]{min-width:0;width:100%;flex:1 1 auto;border:0!important;background:#fff!important;color:#222!important;font-size:12px;padding:8px 9px;outline-offset:-2px;box-shadow:none!important;min-height:35px}
.site-header .pyj-header-actions .pyj-header-search button{display:inline-flex;align-items:center;justify-content:center;flex:0 0 39px;width:39px;min-height:35px;padding:0;border:0;border-radius:0!important;background:#4169e1!important;color:#fff!important;cursor:pointer}
.site-header .pyj-header-actions .pyj-header-search button:hover{background:#3154c3!important}
.site-header .pyj-header-actions .pyj-header-search button svg{width:21px;height:21px;fill:none;stroke:#fff;stroke-width:2;stroke-linecap:round}
/* Currency dropdown: selection is disabled unless a genuine multicurrency switcher is installed */
.site-header .pyj-currency-control{position:relative;flex:0 0 auto}
.site-header .pyj-currency-trigger{display:inline-flex;align-items:center;gap:3px;border:0;background:transparent;padding:5px 3px;cursor:pointer;color:#222;font-size:19px}
.site-header .pyj-currency-trigger svg{width:12px;height:12px;fill:none;stroke:currentColor;stroke-width:2}
.site-header .pyj-currency-panel{position:absolute;top:calc(100% + 10px);right:0;width:310px;max-width:calc(100vw - 24px);z-index:9999;background:#fff;border:1px solid #e5e1dc;box-shadow:0 12px 30px rgba(0,0,0,.12);border-radius:6px;padding:14px}
.site-header .pyj-currency-panel[hidden]{display:none!important}
.site-header .pyj-currency-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.site-header .pyj-currency-option{display:flex;align-items:center;gap:6px;font-size:13px;padding:7px 4px;white-space:nowrap;color:#444}
.site-header .pyj-currency-option[aria-disabled=true]{opacity:.58}
.site-header .pyj-currency-option span:first-child{font-size:20px}
.site-header .pyj-currency-note{font-size:11px;color:#666;margin:10px 0 0}
@media(max-width:1150px){.site-header .header-inner{flex-wrap:wrap}.site-header .site-nav{order:3;flex-basis:100%;justify-content:center}.site-header .pyj-header-actions{margin-left:auto}}
@media(max-width:767px){.site-header .header-inner{flex-wrap:wrap}.site-header .site-nav{display:none}.site-header .site-nav.is-open,.site-header .site-nav.open,.site-header .site-nav.active{display:flex;flex-direction:column;align-items:flex-start;order:3;flex-basis:100%}.site-header .pyj-header-actions{gap:3px}.site-header .pyj-header-actions .pyj-header-search{width:clamp(90px,24vw,150px);min-width:80px}.site-header .pyj-header-icon{width:26px}.site-header .pyj-header-icon svg{width:20px;height:20px}.site-header .pyj-currency-trigger{font-size:17px}}

.pyj-payment-methods {
    margin: 18px 0 22px;
    padding: 16px 0;
    border-top: 1px solid #eee;
}

.pyj-payment-heading {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
}

.pyj-payment-methods p {
    color: #777;
    font-size: 14px;
    margin: 0 0 14px;
}

.pyj-payment-brands {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pyj-payment-brands span {
    border: 1px solid #e5e5e5;
    border-radius: 5px;
    padding: 8px 10px;
    font-size: 12px;
    font-weight: 700;
    background: #fff;
}


/* Pyjammin Buy Now button */
.single-product form.cart .pyj-buy-now {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    background: #0A8800 !important;
    color: #fff !important;
    border: 0 !important;
    border-radius: 10px !important;
    min-height: 64px;
    padding: 0 36px !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    cursor: pointer;
    margin-left: 12px;
    transition: background .2s ease;
}

.single-product form.cart .pyj-buy-now:hover {
    background: #0A8800 !important;
    color: #fff !important;
}

@media (max-width: 1600px) {
    .single-product form.cart .pyj-buy-now {
        margin-left: 8px;
        min-height: 64px;
        padding: 0 18px !important;
        font-size: 15px !important;
    }
}

/* PYJAMMIN — MATCHING GREEN PURCHASE BUTTONS */

body.single-product form.cart button.single_add_to_cart_button,
body.single-product form.cart button.pyj-buy-now {
    background: #0A8800 !important;
    background-color: #0A8800 !important;
    color: #FFFFFF !important;

    border: none !important;
    border-radius: 0px !important;

    width: 290px !important;
    max-width: 100% !important;
    height: 44px !important;
    min-height: 44px !important;

    padding: 0 20px !important;
    margin: 0 !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    font-size: 20px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    text-align: center !important;

    box-shadow: none !important;
    opacity: 1 !important;
    cursor: pointer;
    transition: background-color .2s ease;
}

/* Same green on hover */
body.single-product form.cart button.single_add_to_cart_button:hover,
body.single-product form.cart button.pyj-buy-now:hover {
    background: #076B00 !important;
    background-color: #076B00 !important;
    color: #FFFFFF !important;
}

/* Space between the two buttons */
body.single-product form.cart button.pyj-buy-now {
    margin-left: 12px !important;
}

/* Responsive sizes */
@media (max-width: 700px) {
    body.single-product form.cart button.single_add_to_cart_button,
    body.single-product form.cart button.pyj-buy-now {
        width: 160px !important;
        height: 44px !important;
        min-height: 44px !important;
        padding: 0 12px !important;
        font-size: 15px !important;
    }

    body.single-product form.cart button.pyj-buy-now {
        margin-left: 8px !important;
    }
}

/* Pyjammin — payment logos above color and size */
.single-product .pyj-payment-methods {
    margin-top: 12px !important;
    margin-bottom: 18px !important;
    padding-top: 12px !important;
    padding-bottom: 0 !important;
}

.single-product .pyj-payment-methods p {
    margin-bottom: 12px !important;
}


.woocommerce ul.products li.product img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* New white product information area */
.woocommerce ul.products li.product .pyj-shop-info {
    background: #fff;
    color: #222;
    padding: 12px 14px;
    border-radius: 0 0 9px 9px;
}


.pyj-shop-sold {
    color: #666;
    font-size: 13px;
}

.pyj-shop-lowstock {
    color: #f36a00;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
}

.pyj-shop-rating .star-rating {
    float: none !important;
    margin: 2px 0 !important;
}

/* PYJAMMIN — CLEAN WHITE SHOP PRODUCT CARDS */

body.woocommerce-shop ul.products li.product,
body.post-type-archive-product ul.products li.product {
    background: #fff !important;
    background-color: #fff !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    box-shadow: none !important;
}

/* Product photos remain separate from information */
body.woocommerce-shop ul.products li.product img,
body.post-type-archive-product ul.products li.product img {
    display: block;
    width: 100%;
    height: auto;
    margin-bottom: 0 !important;
}

/* White product title */
body.woocommerce-shop ul.products li.product .woocommerce-loop-product__title,
body.post-type-archive-product ul.products li.product .woocommerce-loop-product__title {
    color: #222 !important;
    background: transparent !important;
    padding: 12px 14px 4px !important;
}

/* Product price */
body.woocommerce-shop ul.products li.product .price,
body.post-type-archive-product ul.products li.product .price {
    color: #222 !important;
    background: transparent !important;
    padding: 0 14px 8px !important;
}

/* Remove black backgrounds from common information wrappers */
body.woocommerce-shop ul.products li.product .product-info,
body.woocommerce-shop ul.products li.product .product-details,
body.woocommerce-shop ul.products li.product .product-content,
body.post-type-archive-product ul.products li.product .product-info,
body.post-type-archive-product ul.products li.product .product-details,
body.post-type-archive-product ul.products li.product .product-content {
    background: #fff !important;
    color: #222 !important;
}

/* Keep Select Options visible */
body.woocommerce-shop ul.products li.product a.button,
body.post-type-archive-product ul.products li.product a.button {
    margin: 8px 14px 14px !important;
    width: calc(100% - 28px) !important;
    box-sizing: border-box;
}

/* Prevent decorative triangles */
body.woocommerce-shop ul.products li.product::before,
body.woocommerce-shop ul.products li.product::after {
    content: none !important;
}

/* PYJAMMIN — SQUARE SHOP PRODUCT CARDS */

body.woocommerce-shop ul.products li.product,
body.woocommerce-shop ul.products li.product *,
body.post-type-archive-product ul.products li.product,
body.post-type-archive-product ul.products li.product * {
    border-radius: 0 !important;
}

body.woocommerce-shop ul.products li.product,
body.post-type-archive-product ul.products li.product {
    background: #fff !important;
    box-shadow: none !important;
    border: none !important;
    overflow: hidden !important;
}
