/*
Theme Name: JustLuxe Boutique
Theme URI: https://justluxeboutique.pl
Author: JustLuxe Boutique
Description: Custom butikowy motyw WordPress + WooCommerce dla JustLuxe Boutique — luksusowa moda, futra, obuwie i dodatki. Jasna, kremowo-złota stylistyka.
Version: 1.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: justluxe-boutique
*/

:root{
  --white:#ffffff;
  --paper:#faf7f2;
  --paper-2:#f3ede2;
  --black:#171310;
  --ink-soft:#5c5347;
  --gold:#b8935a;
  --gold-deep:#8c6d3f;
  --gold-light:#e3cd9f;
  --beige:#ece1cd;
  --beige-deep:#ddccac;
  --line: rgba(184,147,90,0.28);
  --line-soft: #e9e2d4;
  --serif: "Cormorant Garamond", serif;
  --script: "Alex Brush", cursive;
  --sans: "Manrope", sans-serif;

  /* aliasy zgodne z konwencją skilla (text/text-muted/border) */
  --text: var(--black);
  --text-muted: var(--ink-soft);
  --border: var(--line-soft);
}

*{box-sizing:border-box; margin:0; padding:0;}
html{scroll-behavior:smooth;}
body{
  background:var(--white);
  color:var(--black);
  font-family:var(--sans);
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
a{color:inherit; text-decoration:none;}
img,svg{display:block; max-width:100%;}
button{font-family:inherit;}
ul{list-style:none;}
.eyebrow{
  font-size:11px; letter-spacing:0.32em; text-transform:uppercase;
  color:var(--gold-deep); font-weight:700;
}
h1,h2,h3{font-family:var(--serif); font-weight:500; line-height:1.05; color:var(--black);}
.wrap{max-width:1180px; margin:0 auto; padding:0 32px;}
::selection{background:var(--gold-light); color:var(--black);}
:focus-visible{outline:1.5px solid var(--gold-deep); outline-offset:3px;}
.screen-reader-text{position:absolute; left:-9999px;}

@media (prefers-reduced-motion: reduce){
  *{animation-duration:0.001ms !important; animation-iteration-count:1 !important; transition-duration:0.001ms !important; scroll-behavior:auto !important;}
}

/* ---------- announcement bar ---------- */
.announce{
  background:var(--black);
  color:var(--gold-light);
  text-align:center;
  font-size:11.5px;
  letter-spacing:0.16em;
  text-transform:uppercase;
  font-weight:600;
  padding:9px 12px;
}

/* ---------- header ---------- */
header{
  position:sticky; top:0; z-index:60;
  background:rgba(255,255,255,0.92);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line-soft);
}
.nav{
  display:grid; grid-template-columns:1fr auto 1fr; align-items:center;
  padding:20px 32px;
  max-width:1180px; margin:0 auto;
}
.nav-left, .nav-icons{display:flex; align-items:center; gap:22px;}
.nav-icons{justify-content:flex-end; position:relative;}
.icon-btn{background:none; border:none; cursor:pointer; display:flex; align-items:center; justify-content:center; padding:2px;}
.icon-btn svg{width:19px; height:19px; stroke:var(--black); stroke-width:1.4; transition:stroke .2s;}
.icon-btn:hover svg{stroke:var(--gold-deep);}
.nav-categories-btn{gap:9px; padding:6px 4px;}
.nav-categories-btn span{
  font-size:11.5px; letter-spacing:0.1em; text-transform:uppercase; font-weight:700; color:var(--black);
}
.nav-categories-btn:hover span{color:var(--gold-deep);}
@media (max-width:560px){
  .nav-categories-btn span{display:none;}
}
.bag-wrap{position:relative;}
.bag-count, .nav-cart-count{
  position:absolute; top:-7px; right:-9px;
  background:var(--gold-deep); color:var(--white);
  font-size:9px; font-weight:700;
  width:16px; height:16px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
}
.brand{display:flex; align-items:center; justify-content:center; gap:8px;}
.wordmark{font-family:var(--script); font-size:46px; color:var(--black); line-height:1.1; white-space:nowrap; padding:0 4px;}
.wordmark sup{font-family:var(--sans); font-size:11px; vertical-align:super; color:var(--gold-deep);}
.brand a{display:flex; align-items:center; justify-content:center;}

/* ---------- drawer menu (nawigacja mobilna) ---------- */
.drawer-overlay{
  position:fixed; inset:0; background:rgba(23,19,16,0.35);
  opacity:0; pointer-events:none; transition:opacity .3s ease; z-index:70;
}
.drawer-overlay.open{opacity:1; pointer-events:auto;}
.drawer{
  position:fixed; top:0; left:0; height:100%; width:min(360px, 88vw);
  background:var(--white);
  transform:translateX(-100%);
  transition:transform .35s cubic-bezier(.2,.8,.2,1);
  z-index:80;
  display:flex; flex-direction:column;
  box-shadow:0 0 60px rgba(0,0,0,0.15);
}
.drawer.open{transform:translateX(0);}
.drawer-top{
  display:flex; align-items:center; justify-content:space-between;
  padding:22px 24px; border-bottom:1px solid var(--line-soft);
}
.drawer-langs{display:flex; gap:16px; font-size:12px; letter-spacing:0.08em; color:var(--ink-soft); font-weight:600;}
.drawer-langs b{color:var(--black);}
.drawer-close{background:none; border:none; cursor:pointer;}
.drawer-close svg{width:18px; height:18px; stroke:var(--black); stroke-width:1.4;}
.drawer-body{overflow-y:auto; padding:10px 0 30px;}
.drawer-link{
  display:block; padding:16px 24px; font-size:14px; letter-spacing:0.1em; text-transform:uppercase; font-weight:600;
  border-bottom:1px solid var(--line-soft); color:var(--black);
}
.drawer-link.sale{color:#b5504a;}
.accordion-item{border-bottom:1px solid var(--line-soft);}
.accordion-head{
  width:100%; display:flex; align-items:center; justify-content:space-between;
  padding:16px 24px; background:none; border:none; cursor:pointer; text-align:left;
  font-size:14px; letter-spacing:0.1em; text-transform:uppercase; font-weight:600; color:var(--black);
}
.accordion-head svg{width:13px; height:13px; stroke:var(--gold-deep); stroke-width:2; transition:transform .3s;}
.accordion-item.open .accordion-head svg{transform:rotate(45deg);}
.accordion-panel{max-height:0; overflow:hidden; transition:max-height .35s ease; background:var(--paper);}
.accordion-item.open .accordion-panel{max-height:400px;}
.accordion-panel ul{list-style:none; padding:6px 24px 16px 34px; display:flex; flex-direction:column; gap:11px;}
.accordion-panel a{font-size:13px; color:var(--ink-soft); font-weight:400;}
.accordion-panel a:hover{color:var(--gold-deep);}

body.mobile-menu-open{overflow:hidden;}

/* ---------- hero ---------- */
.hero{
  text-align:center;
  padding:70px 24px 10px;
}
.hero .wordmark{font-size:64px;}
.hero-rule{
  width:260px; height:2px; margin:22px auto 0;
  background:linear-gradient(90deg, transparent, var(--gold) 20%, var(--gold-deep) 50%, var(--gold) 80%, transparent);
  border-radius:2px;
}
.hero h1{
  font-size:clamp(42px, 8vw, 76px);
  letter-spacing:0.02em;
  margin-top:56px;
}
.hero .sub{
  font-size:clamp(14px,2vw,17px); letter-spacing:0.42em; text-transform:uppercase;
  color:var(--ink-soft); font-weight:500; margin-top:16px;
}
.pill-btn{
  display:inline-flex; align-items:center; gap:8px;
  margin-top:34px;
  background:var(--beige);
  color:var(--black);
  padding:16px 36px;
  border-radius:40px;
  font-size:12.5px; letter-spacing:0.14em; text-transform:uppercase; font-weight:700;
  border:none; cursor:pointer;
  transition:background .3s ease, transform .2s ease;
}
.pill-btn:hover{background:var(--beige-deep); transform:translateY(-1px);}
.pill-btn.ghost{background:transparent; border:1.5px solid var(--black);}
.pill-btn.ghost:hover{background:var(--black); color:var(--white);}

/* ---------- featured carousel ---------- */
.carousel{
  position:relative;
  padding:56px 0 100px;
}
.carousel-track{
  display:flex; gap:20px;
  overflow-x:auto; scroll-snap-type:x mandatory;
  max-width:760px; margin:0 auto;
  padding:4px 2px 10px;
  scrollbar-width:none;
}
.carousel-track::-webkit-scrollbar{display:none;}
.carousel-track .feat-card{
  flex:0 0 calc(50% - 10px); scroll-snap-align:start;
}
.arrow{
  position:absolute; top:38%; transform:translateY(-50%);
  width:46px; height:46px; border-radius:50%;
  background:var(--beige); border:none; cursor:pointer;
  display:flex; align-items:center; justify-content:center;
  transition:background .25s;
}
.arrow:hover{background:var(--beige-deep);}
.arrow svg{width:16px; height:16px; stroke:var(--black); stroke-width:1.6;}
.arrow.left{left:2%;}
.arrow.right{right:2%;}

.feat-card{text-align:center;}
.feat-media{
  position:relative; aspect-ratio:3/4; border-radius:30px;
  overflow:hidden;
  display:flex; align-items:center; justify-content:center;
  background:var(--paper-2);
}
.feat-media img{width:100%; height:100%; object-fit:cover;}
.feat-media svg{width:30%; height:30%; stroke:var(--gold-deep); opacity:.5;}
.feat-heart{
  position:absolute; top:16px; right:16px;
  width:34px; height:34px; border-radius:50%; background:rgba(255,255,255,0.85);
  display:flex; align-items:center; justify-content:center; cursor:pointer;
  z-index:2;
}
.feat-heart svg{width:17px; height:17px; stroke:var(--black); stroke-width:1.5;}
.feat-badges{
  position:absolute; bottom:14px; left:14px; display:flex; gap:8px; z-index:2;
}
.badge{
  background:var(--black); color:var(--white);
  font-size:9.5px; font-weight:700; letter-spacing:0.03em; text-transform:lowercase;
  width:44px; height:44px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
}
.feat-name{
  font-family:var(--serif); font-style:italic; font-size:17px;
  margin-top:18px; line-height:1.35; padding:0 10px;
}
.feat-price{
  display:inline-block; margin-top:12px;
  background:var(--beige); border-radius:20px; padding:8px 20px;
  font-size:14px; font-weight:700;
}
.feat-size{margin-top:8px; font-size:11px; letter-spacing:0.14em; color:var(--ink-soft); font-weight:600;}

.swatch-a{background:linear-gradient(150deg,#f2ece0,#e4d6bd 55%,#c9b48b);}
.swatch-b{background:linear-gradient(150deg,#efe7d8,#ddd0b6 55%,#b89c74);}
.swatch-c{background:linear-gradient(150deg,#f4eee3,#e6dcc7 55%,#cbb693);}
.swatch-d{background:linear-gradient(150deg,#f0e9db,#dfd1b2 55%,#c1a877);}
.swatch-e{background:linear-gradient(150deg,#f3ede1,#e2d5b9 55%,#c6ac7e);}
.swatch-f{background:linear-gradient(150deg,#efe8da,#ddceb0 55%,#bda179);}

/* ---------- section shell ---------- */
section{padding:100px 0;}
section.on-paper{background:var(--paper);}
.section-head{text-align:center; max-width:560px; margin:0 auto 56px;}
.section-head h2{font-size:clamp(30px,4vw,46px); margin-top:14px;}
.section-head p{color:var(--ink-soft); margin-top:16px; font-weight:300; font-size:15px; line-height:1.7;}

.divider{display:flex; align-items:center; justify-content:center; gap:18px;}
.divider .stem{width:64px; height:1px; background:linear-gradient(90deg, transparent, var(--gold));}
.divider .stem.right{background:linear-gradient(270deg, transparent, var(--gold));}
.divider svg{width:22px; height:22px;}

/* ---------- categories ---------- */
.categories{display:grid; grid-template-columns:repeat(4,1fr); gap:20px;}
.cat-card{
  position:relative; border:1px solid var(--line-soft); border-radius:24px;
  background:var(--white);
  padding:48px 20px;
  display:flex; flex-direction:column; align-items:center; text-align:center; gap:14px;
  transition:border-color .3s ease, box-shadow .3s ease, transform .3s ease;
}
.cat-card:hover{border-color:var(--gold); box-shadow:0 18px 40px rgba(184,147,90,0.14); transform:translateY(-4px);}
.cat-card svg{width:32px; height:32px; stroke:var(--gold-deep); stroke-width:1.3;}
.cat-card h3{font-size:22px;}
.cat-card span{font-size:11px; letter-spacing:0.12em; text-transform:uppercase; color:var(--ink-soft);}

/* ---------- product card (współdzielony: karuzela homepage + archiwum sklepu) ---------- */
.products{display:grid; grid-template-columns:repeat(3,1fr); gap:30px;}
.product-card{text-align:center; position:relative;}
.view-all{display:flex; justify-content:center; margin-top:50px;}

/* ---------- story ---------- */
.story{display:grid; grid-template-columns:1fr 1fr; gap:70px; align-items:center;}
.story-visual{
  position:relative; aspect-ratio:3/4; border-radius:28px;
  background:linear-gradient(160deg, var(--paper-2), var(--white) 70%);
  border:1px solid var(--line-soft);
  display:flex; align-items:center; justify-content:center;
}
.story-visual .wingmark{width:120px; height:120px; opacity:.9;}
.story-copy .eyebrow{margin-bottom:16px;}
.story-copy h2{font-size:clamp(28px,3.6vw,42px); margin-bottom:22px;}
.story-copy p{color:var(--ink-soft); font-weight:300; line-height:1.85; font-size:15.5px; margin-bottom:18px;}
.stat-row{display:flex; gap:44px; margin-top:34px; flex-wrap:wrap;}
.stat b{display:block; font-family:var(--serif); font-size:30px; color:var(--gold-deep);}
.stat span{font-size:11px; letter-spacing:0.12em; text-transform:uppercase; color:var(--ink-soft);}

.story-socials{display:flex; gap:14px; margin-top:32px;}
.story-socials a{
  width:44px; height:44px; border-radius:50%; border:1px solid var(--line-soft);
  display:flex; align-items:center; justify-content:center;
  transition:border-color .25s, background .25s;
}
.story-socials a:hover{border-color:var(--gold); background:var(--paper-2);}
.story-socials svg{width:18px; height:18px; stroke:var(--gold-deep);}

/* ---------- opinie ---------- */
.reviews{display:grid; grid-template-columns:repeat(3,1fr); gap:24px;}
.review-card{
  background:var(--white); border:1px solid var(--line-soft); border-radius:24px;
  padding:32px 28px; display:flex; flex-direction:column; gap:14px;
}
.review-stars{color:var(--gold); font-size:15px; letter-spacing:2px;}
.review-text{color:var(--ink-soft); font-size:14.5px; line-height:1.75; font-weight:300; font-style:italic;}
.review-author{font-family:var(--serif); font-size:16px; font-weight:600; color:var(--black);}

/* ---------- instagram ---------- */
.insta-head{display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:20px; margin-bottom:40px;}
.insta-head .handle{font-family:var(--script); font-size:44px;}
.insta-head .handle span{color:var(--gold-deep);}
.insta-head a{
  font-size:12px; letter-spacing:0.14em; text-transform:uppercase; font-weight:700; color:var(--gold-deep);
  border-bottom:1px solid var(--gold-deep); padding-bottom:3px;
}
.insta-grid{display:grid; grid-template-columns:repeat(6,1fr); gap:8px;}
.insta-tile{
  aspect-ratio:1/1; border-radius:16px; overflow:hidden;
  display:flex; align-items:center; justify-content:center;
  border:1px solid var(--line-soft);
}
.insta-tile svg{width:24px; height:24px; stroke:var(--gold-deep); stroke-width:1.3;}
.it1{background:linear-gradient(135deg,#f5f0e6,#e3d6b9);}
.it2{background:linear-gradient(135deg,#f2ece0,#dccca6);}
.it3{background:linear-gradient(135deg,#f6f1e7,#e8dabe);}
.it4{background:linear-gradient(135deg,#f1ebdd,#dccca4);}
.it5{background:linear-gradient(135deg,#f4efe3,#e0d1ac);}
.it6{background:linear-gradient(135deg,#f0e9db,#d8c69b);}

/* ---------- newsletter ---------- */
.newsletter{ background:var(--black); color:var(--white); padding:70px 0;}
.newsletter .wrap{display:flex; align-items:center; justify-content:space-between; gap:40px; flex-wrap:wrap;}
.newsletter h2{font-size:clamp(26px,3.2vw,36px); color:var(--white); max-width:420px;}
.newsletter p{margin-top:10px; font-size:13px; color:#c9beac; max-width:420px;}
.nl-form{display:flex; gap:0; max-width:380px; width:100%;}
.nl-form input{
  flex:1; border:1.5px solid var(--gold-light); background:transparent; border-radius:30px 0 0 30px;
  padding:15px 18px; font-family:var(--sans); font-size:13px; color:var(--white);
}
.nl-form input::placeholder{color:#a89d8b;}
.nl-form button{
  border:1.5px solid var(--gold-light); border-left:none; border-radius:0 30px 30px 0;
  background:var(--gold-light); color:var(--black);
  padding:0 26px; font-size:12px; letter-spacing:0.14em; text-transform:uppercase; font-weight:700; cursor:pointer;
  transition:opacity .25s;
}
.nl-form button:hover{opacity:.85;}

/* ---------- footer ---------- */
footer{padding:80px 0 30px;}
.foot-grid{display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:50px; padding-bottom:60px;}
.foot-brand .wordmark{font-size:40px; margin-bottom:12px;}
.foot-brand p{color:var(--ink-soft); font-size:13.5px; line-height:1.8; max-width:280px; font-weight:300;}
.foot-social{display:flex; gap:14px; margin-top:22px;}
.foot-social a{
  width:36px; height:36px; border-radius:50%; border:1px solid var(--line-soft); display:flex; align-items:center; justify-content:center;
  transition:border-color .25s, background .25s;
}
.foot-social a:hover{border-color:var(--gold); background:var(--paper-2);}
.foot-social svg{width:15px; height:15px; stroke:var(--gold-deep);}
.foot-col h5{font-size:11px; letter-spacing:0.16em; text-transform:uppercase; color:var(--gold-deep); margin-bottom:20px; font-weight:700;}
.foot-col ul{list-style:none; display:flex; flex-direction:column; gap:12px;}
.foot-col a, .foot-col li{font-size:13.5px; color:var(--ink-soft); font-weight:400;}
.foot-col a:hover{color:var(--gold-deep);}
.foot-bottom{
  border-top:1px solid var(--line-soft); padding-top:26px;
  display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:14px;
  font-size:11.5px; color:var(--ink-soft); letter-spacing:0.04em;
}

@media (max-width: 1100px){
  .categories{grid-template-columns:repeat(3,1fr);}
}
@media (max-width: 900px){
  .categories{grid-template-columns:repeat(2,1fr);}
  .products{grid-template-columns:repeat(2,1fr);}
  .reviews{grid-template-columns:1fr;}
  .story{grid-template-columns:1fr;}
  .foot-grid{grid-template-columns:1fr 1fr; gap:36px;}
  .insta-grid{grid-template-columns:repeat(3,1fr);}
  .carousel-track{max-width:420px;}
  .arrow{display:none;}
  section{padding:70px 0;}
}
@media (max-width: 560px){
  .wrap{padding:0 20px;}
  .products{grid-template-columns:1fr;}
  .categories{grid-template-columns:1fr;}
  .foot-grid{grid-template-columns:1fr;}
  .newsletter .wrap{flex-direction:column; align-items:flex-start;}
  .carousel-track{max-width:280px;}
  .carousel-track .feat-card{flex:0 0 100%;}
  .hero .wordmark{font-size:44px;}
}
