/* kissme.euw — shared styles, tokens lifted from the approved design mockups */

:root{
--ink:oklch(24% 0.02 30); --ink-soft:oklch(45% 0.02 30);
--bg:oklch(97% 0.012 60); --surface:oklch(99% 0.006 60);
--line:oklch(89% 0.015 50);
--wine:oklch(33% 0.09 20); --wine-dark:oklch(22% 0.07 18); --wine-soft:oklch(93% 0.025 20);
--gold:oklch(74% 0.09 78); --gold-dark:oklch(55% 0.09 75);
--danger:oklch(55% 0.18 25);
--ok:oklch(60% 0.14 150);
}

*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
margin:0; font-family:'Manrope',-apple-system,BlinkMacSystemFont,sans-serif;
color:var(--ink); background:var(--bg); -webkit-font-smoothing:antialiased;
}
a{color:var(--wine); text-decoration:none;}
a:hover{color:var(--wine-dark);}
h1,h2,h3{font-family:'Cormorant Garamond',Georgia,serif; font-weight:500; margin:0;}
img{max-width:100%; display:block;}
button{font-family:inherit;}

.wrap{max-width:1280px; margin:0 auto; padding:0 24px;}
@media (max-width:640px){ .wrap{padding:0 16px;} }

/* ---------- buttons / chips ---------- */
.btn{
display:inline-flex; align-items:center; justify-content:center; height:48px; padding:0 28px;
border-radius:2px; font-family:'Manrope',sans-serif; font-weight:700; font-size:13px;
letter-spacing:.04em; text-transform:uppercase; cursor:pointer; border:1px solid transparent;
transition:background .15s ease, color .15s ease, opacity .15s ease;
}
.btn-primary{background:var(--wine); color:var(--surface);}
.btn-primary:hover{background:var(--wine-dark);}
.btn-primary:disabled,.btn-primary[disabled]{opacity:.5; cursor:not-allowed;}
.btn-outline{background:transparent; color:var(--wine); border-color:var(--line);}
.btn-outline:hover{background:var(--wine-soft);}
.btn-gold{background:var(--gold); color:var(--wine-dark);}
.btn-gold:hover{background:var(--gold-dark); color:white;}
.btn-block{width:100%;}

.eyebrow{font-size:12px; font-weight:700; letter-spacing:.14em; text-transform:uppercase; color:var(--gold-dark);}

.chip{
height:38px; padding:0 18px; border-radius:19px; border:1px solid var(--line);
display:inline-flex; align-items:center; font-size:13px; font-weight:600; color:var(--ink-soft);
background:var(--surface); cursor:pointer; white-space:nowrap;
}
.chip.active{background:var(--wine); border-color:var(--wine); color:var(--surface);}

/* ---------- header ---------- */
.site-header{
display:flex; align-items:center; justify-content:space-between; min-height:80px;
padding:14px 0; border-bottom:1px solid var(--line); background:var(--surface);
position:sticky; top:0; z-index:40; gap:16px; flex-wrap:wrap;
}
.site-header .inner{
max-width:1280px; margin:0 auto; padding:0 24px; width:100%;
display:flex; align-items:center; justify-content:space-between; gap:24px; flex-wrap:wrap;
}
.logo{font-family:'Playball',cursive; font-size:32px; color:var(--wine); line-height:1;}
.nav{display:flex; gap:24px; font-size:14px; font-weight:600; color:var(--ink-soft); flex-wrap:wrap;}
.nav a{color:var(--ink-soft);}
.nav a.current{color:var(--wine);}
.header-left{display:flex; align-items:center; gap:36px; flex-wrap:wrap;}
.header-right{display:flex; align-items:center; gap:18px;}
.icon-btn{
width:38px; height:38px; border-radius:50%; display:flex; align-items:center; justify-content:center;
cursor:pointer; position:relative; border:1px solid transparent;
}
.icon-btn:hover{background:var(--wine-soft);}
.cart-badge{
position:absolute; top:-2px; right:-2px; background:var(--wine); color:white; font-size:10px;
font-weight:700; width:17px; height:17px; border-radius:50%; display:flex; align-items:center; justify-content:center;
}
.cart-badge[hidden]{display:none;}

/* ---------- breadcrumb ---------- */
.breadcrumb{padding:20px 0 0; font-size:13px; color:var(--ink-soft);}
.breadcrumb .current{color:var(--ink); font-weight:600;}

/* ---------- hero ---------- */
.hero{display:flex; min-height:460px; flex-wrap:wrap;}
.hero-copy{
flex:1 1 420px; background:linear-gradient(150deg, var(--wine) 0%, var(--wine-dark) 78%);
display:flex; flex-direction:column; justify-content:center; padding:56px; color:var(--surface); position:relative; overflow:hidden;
}
.hero-copy h1{font-size:44px; line-height:1.12; margin-top:14px; max-width:520px;}
.hero-copy p{font-size:15px; line-height:1.6; color:oklch(96% 0.01 20 / .82); max-width:440px; margin-top:18px;}
.hero-actions{margin-top:30px; display:flex; gap:14px; flex-wrap:wrap;}
.hero-carousel{
flex:1 1 320px; min-height:280px; position:relative; background:linear-gradient(135deg, oklch(78% 0.05 40), oklch(58% 0.07 30));
}
.hero-slide{
position:absolute; inset:0; background-size:cover; background-position:center 20%; background-repeat:no-repeat;
display:flex; align-items:flex-end; text-decoration:none; color:inherit;
opacity:0; pointer-events:none; transition:opacity .7s ease;
}
.hero-slide.active{opacity:1; pointer-events:auto;}
.hero-slide-info{padding:22px 26px; position:relative; z-index:1;}
.hero-slide-eyebrow{font-size:11px; font-weight:700; letter-spacing:.14em; text-transform:uppercase; color:var(--gold);}
.hero-slide-title{font-family:'Cormorant Garamond',serif; font-size:22px; line-height:1.25; margin-top:6px; max-width:320px; color:var(--surface);}
.hero-slide-cta{
display:inline-flex; align-items:center; gap:6px; margin-top:14px; font-size:12px; font-weight:700;
padding:9px 16px; border-radius:999px; background:var(--gold); color:var(--wine-dark);
}
.hero-dots{position:absolute; bottom:16px; right:20px; display:flex; gap:6px; z-index:2;}
.hero-dot{width:7px; height:7px; border-radius:50%; background:oklch(99% 0 0 / .4); cursor:pointer; transition:background .2s;}
.hero-dot.active{background:var(--gold);}

/* ---------- category grid ---------- */
.section{padding:56px 0 20px;}
.section-head{display:flex; align-items:baseline; justify-content:space-between; margin-bottom:26px; gap:12px; flex-wrap:wrap;}
.section-head h2{font-size:30px;}
.cat-grid{display:grid; grid-template-columns:repeat(4, minmax(0,1fr)); gap:18px;}
@media (max-width:900px){ .cat-grid{grid-template-columns:repeat(2,minmax(0,1fr));} }
@media (max-width:520px){ .cat-grid{grid-template-columns:1fr;} }
.cat-tile{
grid-column:span 1; min-height:150px; border-radius:2px; position:relative; overflow:hidden;
display:flex; align-items:flex-end; padding:20px; color:white; background-color:var(--wine-dark);
background-size:cover; background-position:center 25%; cursor:pointer;
}
.cat-tile.wide{grid-column:span 2;}
.cat-tile::before{
content:""; position:absolute; inset:0;
background:linear-gradient(0deg, oklch(20% 0.05 20 / .62), oklch(20% 0.05 20 / .05) 60%);
}
.cat-tile .cat-body{position:relative;}
.cat-tile .cat-name{font-family:'Cormorant Garamond',serif; font-size:21px;}
.cat-tile .cat-count{font-size:11px; opacity:.85; margin-top:4px;}
.cat-tile.plain{background:var(--wine-soft); color:var(--wine-dark); align-items:center; justify-content:space-around; flex-direction:row;}
.cat-tile.plain::before{content:none;}

/* ---------- product grid / card ---------- */
.product-grid{display:grid; grid-template-columns:repeat(4, minmax(0,1fr)); gap:26px 20px;}
@media (max-width:900px){ .product-grid{grid-template-columns:repeat(2,minmax(0,1fr));} }
@media (max-width:480px){ .product-grid{grid-template-columns:1fr 1fr; gap:16px 12px;} }
.product-card{cursor:pointer;}
.product-photo{
position:relative; aspect-ratio:3/4; border-radius:2px; background-size:cover; background-position:center;
background-color:var(--wine-soft); overflow:hidden;
}
.product-photo .badge{
position:absolute; top:10px; left:10px; background:var(--wine); color:white; font-size:10px; font-weight:700;
letter-spacing:.05em; text-transform:uppercase; padding:4px 9px; border-radius:2px;
}
.product-name{margin-top:12px; font-size:14px; font-weight:600; line-height:1.35;}
.swatch-row{display:flex; gap:6px; margin-top:7px; align-items:center; flex-wrap:wrap;}
.swatch{width:12px; height:12px; border-radius:50%; border:1px solid var(--line); flex-shrink:0;}
.swatch-more{font-size:11px; color:var(--ink-soft);}
.product-price{margin-top:6px; font-family:'Cormorant Garamond',serif; font-size:19px; color:var(--wine);}

/* ---------- product detail ---------- */
.product-detail{display:grid; grid-template-columns:1fr; gap:44px; padding:24px 0 72px;}
@media (min-width:860px){ .product-detail{grid-template-columns:520px 1fr;} }
.product-gallery-col{display:flex; flex-direction:column; gap:12px;}
.product-gallery{
position:relative; aspect-ratio:4/5; border-radius:2px; overflow:hidden; background:var(--wine-soft);
display:flex; align-items:center; justify-content:center; touch-action:pan-y;
}
.product-gallery img{width:100%; height:100%; object-fit:cover; user-select:none;}
.gallery-arrow{
position:absolute; top:50%; transform:translateY(-50%); width:36px; height:36px; border-radius:50%;
background:oklch(99% 0.006 60 / .82); color:var(--wine-dark); display:flex; align-items:center; justify-content:center;
cursor:pointer; box-shadow:0 2px 8px oklch(20% 0.02 30 / .18); transition:background .15s ease, opacity .15s ease;
}
.gallery-arrow:hover{background:var(--surface);}
.gallery-arrow-prev{left:10px;}
.gallery-arrow-next{right:10px;}
.gallery-counter{
position:absolute; right:10px; bottom:10px; background:oklch(20% 0.02 30 / .55); color:white; font-size:11px;
font-weight:700; padding:4px 9px; border-radius:12px; letter-spacing:.03em;
}
.gallery-thumbs{display:flex; gap:10px; flex-wrap:wrap;}
.gallery-thumb{
width:64px; height:80px; border-radius:2px; background-size:cover; background-position:center;
background-color:var(--wine-soft); cursor:pointer; border:1px solid var(--line); flex-shrink:0;
transition:box-shadow .15s ease;
}
.gallery-thumb.selected{box-shadow:0 0 0 2px var(--surface), 0 0 0 4px var(--wine); border-color:transparent;}
.product-gallery iframe.gallery-video{width:100%; height:100%; border:0;}
.gallery-thumb-video{display:flex; align-items:center; justify-content:center; background:var(--wine-dark);}
.gallery-thumb-play{color:#fff; font-size:18px; line-height:1;}
.product-info h1{font-size:30px; margin-top:10px; max-width:520px;}
.price-big{font-family:'Cormorant Garamond',serif; font-size:28px; color:var(--wine); margin-top:14px;}
.option-label{font-size:13px; font-weight:700; color:var(--ink-soft); margin-bottom:10px; margin-top:26px;}
.color-row{display:flex; gap:12px; flex-wrap:wrap;}
.color-dot{
width:34px; height:34px; border-radius:50%; cursor:pointer; border:1px solid var(--line);
background-size:cover; background-position:center; transition:box-shadow .15s ease;
}
.color-dot.selected{box-shadow:0 0 0 2px var(--surface), 0 0 0 4px var(--wine);}
.size-row{display:flex; gap:10px; flex-wrap:wrap;}
.size-pill{
min-width:46px; height:42px; padding:0 10px; border-radius:2px; display:flex; align-items:center; justify-content:center;
font-size:13px; font-weight:700; cursor:pointer; background:var(--surface); border:1px solid var(--line); color:var(--ink);
}
.size-pill.selected{background:var(--wine); color:var(--surface); border-color:var(--wine);}
.size-pill.unavailable{opacity:.35; cursor:not-allowed;}
.product-actions{margin-top:32px; display:flex; gap:14px;}
.product-desc{margin-top:36px; padding-top:24px; border-top:1px solid var(--line); font-size:14px; line-height:1.75; color:var(--ink-soft); white-space:pre-line;}
.shipping-note{
margin-top:22px; padding:14px 16px; border-radius:2px; background:var(--wine-soft); font-size:12px;
color:var(--wine-dark); display:flex; align-items:center; gap:10px;
}

/* ---------- AI teaser ---------- */
.ai-teaser{
margin:48px 0; padding:32px 36px; border-radius:2px; background:var(--wine-soft); border:1px solid var(--line);
display:flex; align-items:center; justify-content:space-between; gap:24px; flex-wrap:wrap;
}
.ai-teaser h3{font-size:21px; color:var(--wine-dark); margin-top:6px;}
.ai-teaser p{font-size:13px; color:var(--ink-soft); margin-top:6px; max-width:520px;}

/* ---------- footer ---------- */
.site-footer{background:var(--wine-dark); color:oklch(96% 0.01 20 / .85); padding:48px 0 28px; margin-top:40px;}
.footer-grid{display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:32px;}
@media (max-width:760px){ .footer-grid{grid-template-columns:1fr 1fr;} }
.footer-grid .logo{color:white;}
.footer-head{font-size:11px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color:var(--gold); margin-bottom:12px;}
.footer-body{font-size:13px; line-height:1.9;}
.footer-bottom{margin-top:36px; padding-top:18px; border-top:1px solid oklch(99% 0 0 / .12); font-size:12px; opacity:.6;}

/* ---------- cart / checkout ---------- */
.checkout-grid{display:grid; grid-template-columns:1fr; gap:48px; padding:36px 0 72px;}
@media (min-width:900px){ .checkout-grid{grid-template-columns:1fr 380px;} }
.cart-line{display:flex; gap:16px; padding:18px 0; border-bottom:1px solid var(--line);}
.cart-line img{width:80px; height:100px; border-radius:2px; object-fit:cover; background:var(--wine-soft); flex-shrink:0;}
.qty-control{display:flex; align-items:center; gap:14px; border:1px solid var(--line); border-radius:2px; padding:4px 12px; font-size:14px; width:fit-content;}
.qty-control span[data-role]{cursor:pointer; color:var(--ink-soft); user-select:none; width:16px; text-align:center;}
.field{display:flex; flex-direction:column; gap:6px;}
.field label{font-size:12px; font-weight:700; color:var(--ink-soft);}
.field input,.field select{
height:46px; border:1px solid var(--line); border-radius:2px; padding:0 14px; font-size:14px;
font-family:'Manrope',sans-serif; background:var(--surface); color:var(--ink);
}
.field.span2{grid-column:span 2;}
.form-grid{display:grid; grid-template-columns:1fr 1fr; gap:16px;}
@media (max-width:480px){ .form-grid{grid-template-columns:1fr;} .field.span2{grid-column:span 1;} }
.pay-option{
display:flex; align-items:center; gap:14px; padding:16px 18px; border-radius:2px; cursor:pointer;
border:1px solid var(--line); background:var(--surface);
}
.pay-option.selected{border-color:var(--wine); background:var(--wine-soft);}
.pay-dot{width:18px; height:18px; border-radius:50%; border:1px solid var(--line); background:var(--surface); flex-shrink:0;}
.pay-option.selected .pay-dot{border:5px solid var(--wine); background:var(--surface);}
.summary-card{background:var(--surface); border:1px solid var(--line); border-radius:2px; padding:26px; position:sticky; top:96px;}
.summary-row{display:flex; justify-content:space-between; font-size:14px; color:var(--ink-soft); margin-bottom:10px;}
.summary-total{display:flex; justify-content:space-between; align-items:baseline; margin:18px 0 22px;}
.summary-total .amount{font-family:'Cormorant Garamond',serif; font-size:26px; color:var(--wine);}
.empty-state{padding:60px 0; text-align:center; color:var(--ink-soft);}
.error-text{color:var(--danger); font-size:13px; margin-top:10px;}
.success-panel{text-align:center; padding:70px 20px; max-width:520px; margin:0 auto;}
.success-panel .ok-circle{
width:64px; height:64px; border-radius:50%; background:var(--wine-soft); color:var(--wine); display:flex;
align-items:center; justify-content:center; margin:0 auto 22px; font-size:30px;
}

/* ---------- skeleton loading ---------- */
.skeleton{background:linear-gradient(90deg, var(--line) 25%, oklch(93% 0.012 55) 37%, var(--line) 63%); background-size:400% 100%; animation:shimmer 1.4s ease infinite;}
@keyframes shimmer{0%{background-position:100% 0;} 100%{background-position:0 0;}}

/* ---------- chat widget ---------- */
#kw-chat-bubble{
position:fixed; right:22px; bottom:22px; width:58px; height:58px; border-radius:50%; background:var(--wine);
display:flex; align-items:center; justify-content:center; cursor:pointer; box-shadow:0 10px 24px oklch(20% 0.02 30 / .28);
z-index:100;
}
#kw-chat-panel{
position:fixed; right:20px; bottom:92px; width:min(360px, calc(100vw - 40px)); height:min(520px, calc(100vh - 140px));
background:var(--surface); border-radius:12px; box-shadow:0 18px 40px oklch(20% 0.02 30 / .22);
display:none; flex-direction:column; overflow:hidden; border:1px solid var(--line); z-index:100;
}
#kw-chat-panel.open{display:flex;}
.kw-chat-head{background:var(--wine); color:white; padding:14px 16px; display:flex; align-items:center; gap:10px;}
.kw-chat-avatar{width:32px; height:32px; border-radius:50%; background:var(--wine-dark); display:flex; align-items:center; justify-content:center; font-family:'Playball',cursive; font-size:17px;}
.kw-chat-title{font-size:13px; font-weight:700;}
.kw-chat-status{font-size:11px; opacity:.75; display:flex; align-items:center; gap:5px;}
.kw-chat-status .dot{width:6px; height:6px; border-radius:50%; background:oklch(78% 0.16 140); display:inline-block;}
.kw-chat-close{cursor:pointer; opacity:.85; font-size:16px; margin-left:auto;}
.kw-chat-body{flex:1; padding:16px; display:flex; flex-direction:column; gap:12px; overflow-y:auto; background:var(--bg);}
.kw-msg{max-width:84%; border-radius:12px; padding:10px 13px; font-size:13px; line-height:1.5; white-space:pre-wrap;}
.kw-msg.bot{background:var(--surface); border:1px solid var(--line); border-radius:12px 12px 12px 2px; align-self:flex-start;}
.kw-msg.user{background:var(--wine); color:white; border-radius:12px 12px 2px 12px; align-self:flex-end;}
.kw-msg.typing{color:var(--ink-soft); font-style:italic;}
.kw-msg-photos{display:flex; gap:6px; flex-wrap:wrap; margin-top:8px;}
.kw-msg-photos img{width:64px; height:80px; object-fit:cover; border-radius:6px; background:var(--wine-soft);}
.kw-chat-input-row{padding:12px; border-top:1px solid var(--line); display:flex; gap:8px; background:var(--surface);}
.kw-chat-input-row input{
flex:1; height:38px; border:1px solid var(--line); border-radius:20px; padding:0 14px; font-size:13px;
font-family:'Manrope',sans-serif; background:var(--bg); color:var(--ink);
}
.kw-chat-send{
width:38px; height:38px; border-radius:50%; background:var(--wine); border:none; display:flex; align-items:center;
justify-content:center; flex-shrink:0; cursor:pointer;
}

/* ---------- trust strip ---------- */
.trust-strip{background:var(--wine-soft); border-top:1px solid var(--line); border-bottom:1px solid var(--line);}
.trust-grid{display:grid; grid-template-columns:repeat(4, minmax(0,1fr)); gap:18px; padding:26px 0;}
@media (max-width:900px){ .trust-grid{grid-template-columns:repeat(2,minmax(0,1fr));} }
@media (max-width:520px){ .trust-grid{grid-template-columns:1fr;} }
.trust-item{display:flex; align-items:flex-start; gap:12px;}
.trust-item svg{flex-shrink:0; color:var(--wine-dark); margin-top:2px;}
.trust-title{font-size:13px; font-weight:700; color:var(--wine-dark);}
.trust-sub{font-size:12px; color:var(--ink-soft); margin-top:2px; line-height:1.5;}
.trust-strip-note{text-align:center; padding-bottom:18px; font-size:12px;}
.trust-strip-note a{font-weight:700; color:var(--wine-dark);}
.trust-mini{display:flex; flex-wrap:wrap; gap:16px 22px; padding:14px 18px; background:var(--wine-soft); border-radius:2px; margin-bottom:24px; font-size:12px; font-weight:700; color:var(--wine-dark);}
.trust-mini span{display:flex; align-items:center; gap:6px;}
.trust-mini svg{flex-shrink:0;}

/* ---------- rules / delivery page ---------- */
.rules-page h1{font-size:32px; margin-bottom:8px;}
.rules-page .rules-intro{color:var(--ink-soft); font-size:14px; margin-bottom:36px; max-width:640px; line-height:1.6;}
.rules-block{margin-bottom:32px; max-width:720px;}
.rules-block h2{font-size:19px; color:var(--wine-dark); margin-bottom:10px;}
.rules-block p, .rules-block li{font-size:14px; line-height:1.7; color:var(--ink);}
.rules-block ul, .rules-block ol{padding-left:20px; margin:8px 0;}
.rules-note{background:var(--wine-soft); border-radius:2px; padding:16px 20px; font-size:13px; line-height:1.7; margin-top:10px;}
