* {
  box-sizing:border-box
}

body {
  margin:0;
  background:#fcfbf7;
  color:#263d33;
  font:15px/1.7 "Microsoft YaHei",sans-serif
}

a {
  color:inherit;
  text-decoration:none
}

button,input,select,textarea {
  font:inherit
}

button,a,input,select,textarea {
  outline-offset:5px
}

button {
  cursor:pointer
}

img {
  width:100%;
  height:100%;
  object-fit:cover
}

.wrap {
  max-width:1200px;
  margin:auto;
  padding:0 28px
}

.top {
  font-size:12px;
  background:#e9eee8;
  text-align:center;
  padding:7px
}

.header {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:25px;
  padding-top:23px;
  padding-bottom:23px
}

.logo {
  font:27px Georgia,serif;
  letter-spacing:3px
}

.logo small {
  display:block;
  font:10px/1.8 sans-serif;
  letter-spacing:4px
}

nav {
  display:flex;
  gap:30px
}

nav a:hover,nav a.active {
  color:#b36d73
}

.pill {
  border:1px solid #bdc6bb;
  padding:9px 20px;
  border-radius:30px
}

.hero {
  display:grid;
  grid-template-columns:1fr 1.1fr;
  min-height:540px;
  background:#eeeae1;
  margin:8px 0 0
}

.hero-copy {
  padding:65px 55px;
  align-self:center
}

.eyebrow {
  font-size:11px;
  letter-spacing:4px;
  color:#8a7d67
}

h1 {
  font:54px/1.3 Georgia,"Microsoft YaHei",serif;
  font-weight:400;
  letter-spacing:3px;
  margin:22px 0
}

p {
  color:#748075
}

.hero-copy p {
  max-width:330px
}

.btn {
  display:inline-block;
  border:1px solid #29483a;
  background:#29483a;
  color:#fff;
  padding:13px 28px;
  margin-top:20px
}

.btn.light {
  background:transparent;
  color:#29483a
}

.hero-photo {
  position:relative;
  min-height:460px
}

.hero-photo:after {
  content:'A LITTLE FLOWER, A LOT OF LOVE.';
  position:absolute;
  bottom:22px;
  right:25px;
  color:white;
  letter-spacing:3px;
  font-size:10px
}

.benefits {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  border-bottom:1px solid #ddd;
  padding:23px 0;
  font-size:13px;
  text-align:center
}

.benefits span {
  color:#899284;
  margin-right:9px
}

section {
  padding:55px 0
}

.section-title {
  display:flex;
  align-items:end;
  justify-content:space-between;
  margin-bottom:27px
}

h2 {
  font-size:29px;
  font-weight:400;
  margin:0 0 4px
}

.section-title p {
  margin:0;
  font-size:12px;
  letter-spacing:2px
}

.grid {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:24px
}

.card .photo {
  height:290px;
  overflow:hidden;
  background:#eee
}

.card img {
  transition:transform .4s
}

.card:hover img {
  transform:scale(1.05)
}

.card h3 {
  font-size:16px;
  font-weight:400;
  margin:15px 0 0
}

.card p {
  font-size:12px;
  margin:4px 0
}

.price {
  color:#ad6d70;
  font-size:19px
}

.tag {
  font-size:10px;
  border:1px solid #d9dcd1;
  padding:3px 7px;
  float:right;
  color:#748075
}

.occasions {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:20px
}

.occasion {
  background:#eee8df;
  padding:30px;
  min-height:170px
}

.occasion:nth-child(2) {
  background:#e5ebe2
}

.occasion:nth-child(3) {
  background:#f3e5e2
}

.occasion h3 {
  font-size:21px;
  font-weight:400
}

.story {
  background:#e9eee8;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:60px;
  padding:45px;
  margin-bottom:55px;
  align-items:center
}

.story img {
  height:280px
}

.story h2 {
  font-size:32px
}

.footer {
  border-top:1px solid #ddd;
  padding:35px 0;
  color:#7c857b;
  font-size:12px
}

.footgrid {
  display:flex;
  justify-content:space-between;
  gap:30px
}

.breadcrumb {
  font-size:12px;
  color:#889080;
  margin:24px 0
}

.banner {
  background:#e9eee8;
  text-align:center;
  padding:35px
}

.banner h1 {
  font-size:36px;
  margin:10px
}

.filters {
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  padding:25px 0
}

.filters button,.size {
  background:none;
  border:1px solid #d2d8cc;
  padding:8px 22px;
  color:#4c5b4e
}

.filters button.selected,.size.selected {
  background:#29483a;
  color:white
}

.listbar {
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:24px
}

.detail {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:65px;
  padding:12px 0 55px
}

.detail-photo {
  height:600px
}

.detail h1 {
  font-size:36px
}

.detail .price {
  font-size:32px
}

.detail hr {
  border:0;
  border-top:1px solid #ddd;
  margin:25px 0
}

.sizes {
  display:flex;
  gap:10px
}

.muted {
  font-size:12px;
  color:#89917f
}

.info {
  background:#f0f1e9;
  padding:25px
}

.checkout {
  display:grid;
  grid-template-columns:1.5fr 1fr;
  gap:40px;
  padding:35px 0 70px
}

.panel {
  border:1px solid #e0e2d8;
  padding:30px;
  background:white
}

.panel h2 {
  font-size:22px;
  margin-bottom:20px
}

label {
  display:block;
  margin:15px 0 6px;
  font-size:13px
}

input,select,textarea {
  width:100%;
  padding:11px;
  border:1px solid #d6dbd0;
  background:#fff;
  color:#334638
}

textarea {
  min-height:100px
}

.row {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px
}

.order-product {
  display:flex;
  gap:20px
}

.order-product img {
  width:110px;
  height:130px
}

.total {
  border-top:1px solid #ddd;
  margin-top:20px;
  padding-top:20px;
  display:flex;
  justify-content:space-between
}

.notice {
  background:#f5eee5;
  padding:15px;
  font-size:12px;
  margin:20px 0;
  color:#8b785e
}

dialog {
  border:1px solid #ccd3c6;
  max-width:440px;
  padding:35px
}

dialog::backdrop {
  background:#18332670
}

.empty {
  padding:50px;
  text-align:center
}

@media(max-width:800px) {
  .wrap {
  padding:0 18px
}

.header {
  flex-wrap:wrap
}

nav {
  gap:18px;
  font-size:13px;
  order:3;
  width:100%;
  justify-content:center
}

.header .pill {
  font-size:12px
}

.hero {
  grid-template-columns:1fr
}

.hero-copy {
  padding:35px
}

.hero h1 {
  font-size:39px
}

.hero-photo {
  min-height:330px;
  height:330px
}

.grid {
  grid-template-columns:repeat(2,1fr);
  gap:16px
}

.card .photo {
  height:230px
}

.benefits {
  grid-template-columns:1fr 1fr;
  gap:15px;
  font-size:11px
}

.occasions {
  grid-template-columns:1fr
}

.story,.detail,.checkout {
  grid-template-columns:1fr;
  gap:25px
}

.story {
  padding:25px
}

.detail-photo {
  height:420px
}

.footgrid {
  flex-direction:column;
  gap:10px
}

.row {
  grid-template-columns:1fr
}

section {
  padding:35px 0
}

.section-title h2 {
  font-size:24px
}


}
