:root{
  --bg: #CCD8E4;
  --ink: #375270;
  --rose: #B6553B;
  --cookie: #D6A766;
  --card: rgba(255,255,255,.85);
  --shadow: 0 10px 30px rgba(55,82,112,.16);
  --radius: 18px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: "Playfair Display", Georgia, serif;
  color:var(--ink);
  background:var(--bg);
  overflow-x:hidden;
}

.petal-bg{
  position:fixed; inset:0;
  pointer-events:none;
  background:
    radial-gradient(12px 12px at 10% 20%, rgba(182,85,59,.18), transparent 60%),
    radial-gradient(14px 14px at 80% 10%, rgba(214,167,102,.18), transparent 60%),
    radial-gradient(16px 16px at 70% 75%, rgba(182,85,59,.12), transparent 60%),
    radial-gradient(18px 18px at 20% 80%, rgba(214,167,102,.14), transparent 60%);
  opacity:.8;
  filter: blur(.2px);
}

.wrap{
  width:min(1060px, 100%);
  margin:0 auto;
  padding:16px 14px 86px;
}

.topbar{
  position:sticky; top:0; z-index:30;
  display:flex; align-items:center; justify-content:space-between;
  padding:12px 14px;
  background:rgba(204,216,228,.75);
  backdrop-filter: blur(10px);
  border-bottom:1px solid rgba(55,82,112,.12);
}

.brand{
  display:flex; gap:10px; align-items:center;
  text-decoration:none; color:var(--ink);
}
.brand-flower{font-size:22px}
.brand-name{display:block; font-weight:700; letter-spacing:.2px}
.brand-sub{display:block; font-size:12px; opacity:.75; margin-top:2px}

.nav{display:flex; gap:14px}
.nav a{
  text-decoration:none; color:var(--ink);
  font-size:14px;
  padding:8px 10px;
  border-radius:999px;
  transition: transform .18s ease, background .18s ease;
}
.nav a:hover{background:rgba(255,255,255,.55); transform:translateY(-1px)}

.card{
  background:var(--card);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  border:1px solid rgba(55,82,112,.10);
}

.hero{
  margin-top:14px;
  padding:18px;
  position:relative;
  overflow:hidden;
}
.hero::before{
  content:"";
  position:absolute; inset:-40px;
  background: radial-gradient(closest-side, rgba(255,255,255,.7), transparent 70%);
  transform: rotate(8deg);
  opacity:.55;
}
.hero-inner{position:relative}
.h-title{
  font-size:32px;
  line-height:1.1;
  margin:0;
  letter-spacing:.2px;
}
.h-tag{
  margin:10px 0 0;
  font-size:15px;
  opacity:.86;
  max-width:52ch;
  font-family: Georgia, serif;
}
.hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:14px;
}
.btn{
  border:0;
  border-radius:999px;
  padding:11px 14px;
  font-weight:700;
  cursor:pointer;
  text-decoration:none;
  display:inline-flex;
  gap:8px;
  align-items:center;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
  box-shadow:0 8px 18px rgba(55,82,112,.18);
  font-size:14px;
}
.btn:active{transform: translateY(1px) scale(.99)}
.btn-primary{
  background:linear-gradient(135deg, rgba(182,85,59,.92), rgba(214,167,102,.85));
  color:#fff;
}
.btn-soft{
  background:rgba(255,255,255,.72);
  color:var(--ink);
  border:1px solid rgba(55,82,112,.12);
}
.section-title{
  margin:18px 4px 10px;
  font-size:18px;
}
.grid{
  display:grid;
  grid-template-columns:1fr;
  gap:12px;
}

@media (min-width: 780px){
  .grid{grid-template-columns:repeat(2, 1fr)}
}
@media (min-width: 1020px){
  .grid{grid-template-columns:repeat(3, 1fr)}
}

.product{
  padding:12px;
  display:flex;
  flex-direction:column;
  gap:10px;
}

.p-name{margin:0; font-size:18px}
.p-desc{
  margin:0;
  font-size:13.5px;
  opacity:.86;
  font-family: Georgia, serif;
  line-height:1.45;
}
.p-row{display:flex; gap:10px; align-items:center; flex-wrap:wrap}

.select, .input, textarea{
  width:100%;
  padding:12px 12px;
  border-radius:14px;
  border:1px solid rgba(55,82,112,.16);
  background:rgba(255,255,255,.78);
  color:var(--ink);
  font-family: Georgia, serif;
  outline:none;
}
textarea{min-height:110px; resize:vertical}

label{font-size:12px; opacity:.8; display:block; margin:0 0 6px 2px; font-family: Georgia, serif}

.p-meta{display:grid; grid-template-columns:1fr; gap:10px}
@media(min-width:420px){ .p-meta{grid-template-columns:1fr 1fr} }

.carousel{
  position:relative;
  border-radius:16px;
  overflow:hidden;
  border:1px solid rgba(55,82,112,.12);
  background:rgba(255,255,255,.65);
}
.carousel-track{
  display:flex;
  width:100%;
  transform: translateX(0);
  transition: transform .35s ease;
}
.carousel-slide{
  min-width:100%;
  aspect-ratio: 4/3;
  display:flex;
  align-items:center;
  justify-content:center;
  background: rgba(204,216,228,.6);
}
.carousel-slide img{
  width:100%; height:100%;
  object-fit:cover;
  display:block;
}
.carousel-dots{
  position:absolute;
  bottom:8px; left:0; right:0;
  display:flex; justify-content:center; gap:6px;
}
.dot{
  width:8px; height:8px;
  border-radius:999px;
  background:rgba(255,255,255,.75);
  border:1px solid rgba(55,82,112,.18);
  opacity:.9;
}
.dot.active{
  background: rgba(182,85,59,.75);
}

.cart-line{
  display:flex; gap:12px; align-items:flex-start;
  padding:12px;
}
.cart-line + .cart-line{border-top:1px dashed rgba(55,82,112,.16)}
.cart-left{flex:1}
.cart-right{width:110px; text-align:right}
.small{font-size:12px; opacity:.8; font-family: Georgia, serif}
.total-box{padding:14px; display:grid; gap:8px}
.total-row{display:flex; justify-content:space-between; gap:12px; font-family: Georgia, serif}
.total-row strong{font-family:"Playfair Display", Georgia, serif}

.sticky-cart{
  position:fixed;
  right:14px; bottom:14px;
  z-index:60;
  display:flex; align-items:center; gap:8px;
  padding:12px 12px;
  border-radius:999px;
  background:rgba(255,255,255,.85);
  border:1px solid rgba(55,82,112,.14);
  box-shadow: var(--shadow);
  text-decoration:none;
  color:var(--ink);
  transition: transform .18s ease;
}
.sticky-cart.wiggle{ animation: wiggle .38s ease; }
@keyframes wiggle{
  0%{transform:rotate(0)}
  25%{transform:rotate(-6deg)}
  50%{transform:rotate(6deg)}
  75%{transform:rotate(-4deg)}
  100%{transform:rotate(0)}
}
.cart-count{
  min-width:22px;
  height:22px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  background:rgba(182,85,59,.9);
  color:#fff;
  font-weight:700;
  font-size:12px;
}

.footer{
  margin-top:24px;
  padding:18px 14px;
  border-top:1px solid rgba(55,82,112,.12);
  background:rgba(204,216,228,.68);
}
.footer-inner{width:min(1060px, 100%); margin:0 auto; text-align:center}
.footer-note{font-weight:700}
.footer-mini{margin-top:4px; font-size:12px; opacity:.78; font-family: Georgia, serif}

.toast{
  position:fixed;
  left:50%;
  bottom:78px;
  transform: translateX(-50%);
  background:rgba(255,255,255,.92);
  border:1px solid rgba(55,82,112,.14);
  box-shadow: var(--shadow);
  padding:10px 12px;
  border-radius:999px;
  z-index:80;
  font-size:13px;
  opacity:0;
  pointer-events:none;
  transition: opacity .25s ease, transform .25s ease;
  font-family: Georgia, serif;
}
.toast.show{
  opacity:1;
  transform: translateX(-50%) translateY(-2px);
}
.toast-soft{
  bottom:14px;
}
.toast-success{border-color: rgba(214,167,102,.5)}
.toast-error{border-color: rgba(182,85,59,.45)}

.fade-up{
  opacity:0;
  transform: translateY(10px);
  transition: opacity .55s ease, transform .55s ease;
}
.fade-up.in{
  opacity:1;
  transform: translateY(0);
}

.progress{
  display:flex; gap:8px; flex-wrap:wrap;
  padding:12px;
  margin:12px 0;
}
.step{
  flex:1;
  min-width:160px;
  padding:10px 12px;
  border-radius:16px;
  border:1px solid rgba(55,82,112,.12);
  background:rgba(255,255,255,.72);
  font-family: Georgia, serif;
}
.step b{font-family:"Playfair Display", Georgia, serif}
.step.on{
  background:linear-gradient(135deg, rgba(182,85,59,.14), rgba(214,167,102,.18));
  border-color: rgba(182,85,59,.18);
}

.helper{
  padding:10px 12px;
  border-radius:16px;
  background:rgba(255,255,255,.62);
  border:1px solid rgba(55,82,112,.12);
  font-family: Georgia, serif;
  font-size:13px;
  line-height:1.45;
}

.badge{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:6px 10px;
  border-radius:999px;
  background:rgba(255,255,255,.62);
  border:1px solid rgba(55,82,112,.12);
  font-size:12px;
  font-family: Georgia, serif;
}

hr.sep{
  border:0;
  border-top:1px dashed rgba(55,82,112,.18);
  margin:14px 0;
}

.brand-logo{
  width:34px;
  height:34px;
  object-fit:contain;
  flex:0 0 auto;
  filter: drop-shadow(0 6px 10px rgba(55,82,112,.16));
}
@media (min-width: 780px){
  .brand-logo{ width:38px; height:38px; }
}

