@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600&family=Playfair+Display:ital,wght@0,400;0,500;1,400&display=swap');

:root{
  --cream:#fcf7ed;
  --paper:#f7ecde;
  --pink:#e8b5aa;
  --blush:#f3dfcd;
  --red:#7b201a;
  --red-dark:#5d1713;
  --brown:#4e281f;
  --muted:#76574c;
  --line:#e8dac8;
}

*{
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  margin:0;
  background:var(--cream);
  color:var(--brown);
  font-family:'DM Sans',sans-serif;
}

body.cart-open,
body.menu-open,
body.search-open{
  overflow:hidden;
}

a{
  color:inherit;
  text-decoration:none;
}

button,
input,
select,
textarea{
  font:inherit;
}

button{
  cursor:pointer;
}

.page-width{
  max-width:1280px;
  margin:auto;
  padding-left:40px;
  padding-right:40px;
}

/* ANNOUNCEMENT */

.announcement{
  background:var(--red);
  color:#fff4df;
  text-align:center;
  padding:9px 16px;
  font-size:11px;
  letter-spacing:.16em;
}

.announcement span{
  margin:0 10px;
}

/* HEADER */

.site-header{
  position:sticky;
  top:0;
  z-index:20;
  background:rgba(252,247,237,.95);
  border-bottom:1px solid var(--line);
  backdrop-filter:blur(12px);
}

.nav-wrap{
  max-width:1280px;
  margin:auto;
  height:72px;
  padding:0 40px;
  display:flex;
  align-items:center;
  justify-content:space-between;
}

.desktop-nav{
  display:flex;
  gap:28px;
  font-size:11px;
  text-transform:uppercase;
  letter-spacing:.18em;
}

.brand,
.footer-brand{
  position:absolute;
  left:50%;
  transform:translateX(-50%);
  font-family:'Playfair Display',serif;
  font-size:27px;
  font-weight:500;
  letter-spacing:-.06em;
  color:var(--red);
}

.brand span,
.footer-brand span{
  font-weight:400;
}

.actions{
  display:flex;
  align-items:center;
  gap:4px;
  margin-left:auto;
}

.icon-button{
  border:0;
  background:transparent;
  border-radius:50%;
  padding:9px;
  font-size:23px;
  color:var(--brown);
}

.icon-button:hover{
  background:#f3e5d2;
}

.cart-count{
  background:var(--red);
  color:#fff;
  border-radius:50%;
  font-size:10px;
  width:17px;
  height:17px;
  display:grid;
  place-items:center;
  margin-left:-8px;
  margin-top:-20px;
}

.mobile-only{
  display:none;
}

/* PREMIUM SEARCH */

.search-overlay{
  position:fixed;
  inset:0;
  z-index:200;
  background:rgba(252,247,237,.97);
  backdrop-filter:blur(18px);
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transition:opacity .3s ease,visibility .3s ease;
}

.search-overlay.open{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
}

.search-overlay-inner{
  width:min(900px,92%);
  margin:0 auto;
  padding-top:90px;
}

.search-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:28px;
}

.search-top .eyebrow{
  margin:0;
}

.search-close{
  width:46px;
  height:46px;
  border:1px solid var(--line);
  background:#fffaf2;
  border-radius:50%;
  font-size:28px;
  line-height:1;
  color:var(--brown);
  transition:.2s;
}

.search-close:hover{
  background:var(--red);
  color:#fff;
  border-color:var(--red);
}

.search-box{
  display:flex;
  align-items:center;
  gap:14px;
  background:#fffaf2;
  border:1px solid var(--line);
  border-radius:20px;
  padding:7px 12px 7px 20px;
  box-shadow:0 15px 45px rgba(78,40,31,.08);
}

.search-symbol{
  font-size:27px;
  color:var(--red);
}

#product-search{
  flex:1;
  border:0;
  outline:0;
  background:transparent;
  color:var(--brown);
  font-size:18px;
  padding:15px 0;
}

#product-search::placeholder{
  color:#aa8b7d;
}

#search-clear{
  border:0;
  background:transparent;
  width:40px;
  height:40px;
  border-radius:50%;
  font-size:24px;
  color:#8d6b60;
}

#search-clear:hover{
  background:#f3dfd2;
}

.search-hint{
  padding:18px 4px;
  color:#98766a;
  font-size:12px;
  letter-spacing:.04em;
}

.search-results{
  display:grid;
  gap:12px;
  max-height:58vh;
  overflow-y:auto;
  padding-right:5px;
}

.search-result-card{
  display:flex;
  align-items:center;
  gap:18px;
  background:#fffaf2;
  border:1px solid var(--line);
  border-radius:18px;
  padding:12px;
  cursor:pointer;
  transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease;
}

.search-result-card:hover{
  transform:translateY(-2px);
  border-color:#d9b6a8;
  box-shadow:0 12px 30px rgba(78,40,31,.08);
}

.search-result-card img{
  width:76px;
  height:86px;
  object-fit:cover;
  border-radius:12px;
  flex-shrink:0;
}

.search-result-info{
  flex:1;
  min-width:0;
}

.search-result-info span{
  display:inline-block;
  font-size:9px;
  text-transform:uppercase;
  letter-spacing:.13em;
  color:var(--red);
  margin-bottom:5px;
}

.search-result-info h3{
  margin:0;
  font-family:'Playfair Display',serif;
  font-size:20px;
  font-weight:400;
  color:var(--brown);
}

.search-result-info p{
  margin:6px 0 0;
  color:#8b6b5e;
  font-size:13px;
}

.search-add-button{
  width:42px;
  height:42px;
  flex-shrink:0;
  border:0;
  border-radius:50%;
  background:var(--red);
  color:#fff;
  font-size:25px;
  line-height:1;
  transition:.2s;
}

.search-add-button:hover{
  background:var(--red-dark);
  transform:scale(1.05);
}

.search-no-results{
  text-align:center;
  padding:70px 20px;
  background:#fffaf2;
  border:1px solid var(--line);
  border-radius:22px;
}

.search-no-icon{
  font-family:'Playfair Display',serif;
  font-size:42px;
  color:var(--red);
  margin-bottom:10px;
}

.search-no-results h3{
  margin:0 0 8px;
  font-family:'Playfair Display',serif;
  font-size:28px;
  font-weight:400;
}

.search-no-results p{
  margin:0;
  color:#8d6b60;
  font-size:14px;
}

/* HERO */

.hero{
  display:grid;
  grid-template-columns:1.05fr .95fr;
  align-items:center;
  gap:40px;
  padding-top:80px;
  padding-bottom:112px;
}

.eyebrow{
  font-size:11px;
  letter-spacing:.22em;
  text-transform:uppercase;
  color:#a05a4b;
  margin:0 0 16px;
}

.hero h1,
.story h2,
.custom-copy h2,
h2{
  font-family:'Playfair Display',serif;
  font-weight:400;
  letter-spacing:-.055em;
}

.hero h1{
  font-size:clamp(62px,8vw,112px);
  line-height:.86;
  color:var(--red);
  margin:0;
}

.hero h1 em,
h2 em{
  color:#c96868;
  font-weight:400;
}

.lead{
  font-size:16px;
  line-height:1.8;
  color:var(--muted);
  max-width:520px;
}

.button-row{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:28px;
}

.button{
  border-radius:999px;
  border:1px solid var(--red);
  padding:13px 24px;
  font-size:14px;
  display:inline-block;
  transition:.2s;
}

.button span{
  margin-left:8px;
}

.button.primary{
  background:var(--red);
  color:#fff;
  border-color:var(--red);
}

.button.primary:hover{
  background:var(--red-dark);
}

.button.outline:hover{
  background:#f4dfd2;
}


/* HERO ART */

.hero-art{
  position:relative;
  max-width:540px;
  margin:auto;
  width:100%;
}

.orb{
  position:absolute;
  left:-12px;
  top:40px;
  width:96px;
  height:96px;
  border-radius:50%;
  background:#f2c4ba;
  filter:blur(25px);
}

.logo-frame{
  position:relative;
  aspect-ratio:.9;
  overflow:hidden;
  border-radius:48% 48% 8% 8%;
  background:#1d428d;
  box-shadow:16px 20px 0 #e7bfae;
}

.logo-frame img,
.story-image img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
}

.hero-art>p{
  position:absolute;
  bottom:-32px;
  left:-16px;
  transform:rotate(-8deg);
  font:20px 'Playfair Display',serif;
  color:var(--red);
}


/* SHOP */

.shop-section{
  background:var(--paper);
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
  padding:96px 0;
}

.section-heading{
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:20px;
  margin-bottom:36px;
}

.section-heading h2{
  font-size:52px;
  margin:0;
}

.section-heading>a{
  text-decoration:underline;
  text-underline-offset:5px;
  font-size:14px;
}


/* PRODUCTS */

.products{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:20px;
}

.product-card{
  min-width:0;
}

.product-image-wrap{
  position:relative;
  aspect-ratio:.82;
  border-radius:22px;
  overflow:hidden;
  background:#e6d2bd;
}

.product-image{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  transition:transform .5s;
}

.product-card:hover .product-image{
  transform:scale(1.05);
}

.product-image-wrap:after{
  content:'';
  position:absolute;
  inset:0;
  box-shadow:inset 0 0 0 1px rgba(78,40,31,.04);
  pointer-events:none;
}

.product-tag{
  position:absolute;
  top:12px;
  left:12px;
  z-index:2;
  border-radius:999px;
  background:var(--cream);
  padding:6px 12px;
  font-size:10px;
  text-transform:uppercase;
  letter-spacing:.12em;
  color:var(--red);
}

.product-heart{
  position:absolute;
  top:12px;
  right:12px;
  z-index:3;
  border:0;
  background:rgba(255,255,255,.92);
  border-radius:50%;
  width:42px;
  height:42px;
  font-size:20px;
  color:var(--red);
}

.product-heart.saved{
  color:var(--red);
}

.product-info{
  padding-top:12px;
}

.product-info h3{
  font:18px 'Playfair Display',serif;
  margin:0;
}

.product-bottom{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
}

.product-price{
  color:#8b6b5e;
  font-size:14px;
  margin-top:5px;
}

.add-to-bag{
  border:0;
  background:rgba(255,255,255,.92);
  border-radius:50%;
  width:42px;
  height:42px;
  font-size:21px;
  color:var(--brown);
  flex-shrink:0;
}

.add-to-bag:hover{
  background:#fff;
}


/* STORY */

.story{
  display:grid;
  grid-template-columns:.8fr 1.2fr;
  align-items:center;
  gap:80px;
  padding-top:112px;
  padding-bottom:112px;
}

.story-image{
  position:relative;
  max-width:390px;
  aspect-ratio:1;
  overflow:hidden;
  border-radius:24px;
}

.story-image span{
  position:absolute;
  left:16px;
  bottom:16px;
  background:var(--cream);
  padding:8px 14px;
  border-radius:999px;
  font:14px 'Playfair Display',serif;
  color:var(--red);
}

.story h2{
  font-size:64px;
  line-height:.95;
  margin:0 0 24px;
}

.signature{
  font:20px 'Playfair Display',serif;
  color:var(--red);
}


/* CUSTOM ORDER */

.custom-section{
  background:var(--paper);
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
  padding:96px 0;
}

.custom-grid{
  display:grid;
  grid-template-columns:.9fr 1.1fr;
  gap:70px;
  align-items:start;
}

.custom-copy h2{
  font-size:64px;
  line-height:.95;
  margin:0 0 24px;
}

.custom-copy>p:not(.eyebrow):not(.signature){
  color:var(--muted);
  line-height:1.8;
  max-width:480px;
}


/* CUSTOM FORM */

.custom-form{
  background:var(--cream);
  border:1px solid var(--line);
  border-radius:24px;
  padding:30px;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
}

.custom-form label{
  display:flex;
  flex-direction:column;
  gap:7px;
  font-size:12px;
  color:var(--brown);
}

.custom-form .full{
  grid-column:1 / -1;
}

.custom-form input,
.custom-form select,
.custom-form textarea{
  width:100%;
  border:1px solid var(--line);
  background:#fffaf2;
  color:var(--brown);
  border-radius:12px;
  padding:13px 14px;
  outline:none;
}

.custom-form input:focus,
.custom-form select:focus,
.custom-form textarea:focus{
  border-color:#b77a6d;
}

.custom-form textarea{
  min-height:120px;
  resize:vertical;
}

.custom-form input[type="file"]{
  padding:10px;
}

#form-success{
  background:#e7f1df;
  color:#38552d;
  border-radius:12px;
  padding:12px 14px;
  font-size:13px;
}

/* REVIEWS */

.reviews{
  padding-top:90px;
  padding-bottom:100px;
}

.reviews .section-heading{
  margin-bottom:38px;
}

.review-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:22px;
}

.review-grid article{
  position:relative;
  background:#fffaf5;
  border:1px solid rgba(111,58,45,.12);
  border-radius:24px;
  padding:30px 28px 27px;
  min-height:205px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  box-shadow:0 10px 30px rgba(79,42,31,.06);
  transition:transform .25s ease,box-shadow .25s ease;
}

.review-grid article:hover{
  transform:translateY(-5px);
  box-shadow:0 16px 35px rgba(79,42,31,.10);
}

.stars{
  font-size:15px;
  letter-spacing:3px;
  margin-bottom:18px;
}

.review-grid article p{
  margin:0;
  color:#4d3932;
  font-size:16px;
  line-height:1.7;
}

.review-grid article small{
  display:block;
  margin-top:24px;
  padding-top:17px;
  border-top:1px solid rgba(111,58,45,.10);
  color:#876b60;
  font-size:12px;
  letter-spacing:.4px;
}

.review-grid article::after{
  content:"♡";
  position:absolute;
  right:22px;
  top:18px;
  font-size:25px;
  opacity:.18;
}


/* INSTAGRAM */

.instagram{
  background:var(--blush);
  padding:96px 0;
  text-align:center;
}

.center h2{
  font-size:52px;
  margin:0;
}

.instagram-grid{
  display:grid;
  grid-template-columns:repeat(6,1fr);
  gap:16px;
  margin:40px auto;
  max-width:1000px;
}

.instagram-grid a{
  aspect-ratio:1;
  overflow:hidden;
  border-radius:14px;
}

.instagram-grid img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:.5s;
}

.instagram-grid a:hover img{
  transform:scale(1.1);
}


/* FOOTER */

footer{
  background:var(--red);
  color:#f8e9d6;
  padding:48px 0 22px;
}

.footer-inner{
  display:flex;
  justify-content:space-between;
  align-items:end;
  gap:30px;
}

.footer-brand{
  position:static;
  transform:none;
  color:#f8e9d6;
  margin:0;
  font-size:34px;
}

.footer-inner p{
  line-height:1.7;
  color:#e6c4ae;
}

.footer-links{
  display:flex;
  gap:24px;
  font-size:14px;
}

.copyright{
  border-top:1px solid #a64b42;
  margin-top:38px;
  padding-top:18px;
  color:#d6a99b;
  font-size:12px;
}


/* CART DRAWER */

.cart-backdrop{
  position:fixed;
  inset:0;
  background:rgba(40,20,15,.38);
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  z-index:90;
  transition:.3s ease;
}

.cart-backdrop.open{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
}

.cart-drawer{
  position:fixed;
  top:0;
  right:0;
  bottom:0;
  width:420px;
  max-width:92vw;
  background:var(--cream);
  z-index:100;
  transform:translateX(105%);
  visibility:hidden;
  transition:transform .35s ease,visibility .35s ease;
  display:flex;
  flex-direction:column;
  box-shadow:-12px 0 35px rgba(50,25,15,.15);
}

.cart-drawer.open{
  transform:translateX(0);
  visibility:visible;
}

.cart-header{
  flex-shrink:0;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:24px;
  border-bottom:1px solid var(--line);
}

.cart-header h2{
  margin:0;
  font-family:'Playfair Display',serif;
  font-size:30px;
  font-weight:400;
}

.cart-close{
  border:0;
  background:transparent;
  font-size:32px;
  line-height:1;
  color:var(--brown);
  padding:4px 8px;
}

.cart-items{
  flex:1;
  min-height:0;
  overflow-y:auto;
  padding:20px;
}

.cart-empty{
  text-align:center;
  padding:60px 10px;
}

.cart-empty p{
  font-family:'Playfair Display',serif;
  font-size:22px;
  margin:0 0 24px;
}

.cart-item{
  display:flex;
  gap:14px;
  padding:14px 0;
  border-bottom:1px solid var(--line);
}

.cart-item-image{
  width:82px;
  height:100px;
  object-fit:cover;
  border-radius:12px;
  flex-shrink:0;
}

.cart-item-info{
  flex:1;
  min-width:0;
}

.cart-item-info h3{
  margin:0 0 5px;
  font-family:'Playfair Display',serif;
  font-size:17px;
  font-weight:400;
}

.cart-item-info p{
  margin:0 0 12px;
  font-size:14px;
  color:var(--muted);
}

.cart-item-bottom{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}

.quantity-controls{
  display:flex;
  align-items:center;
  gap:12px;
  border:1px solid var(--line);
  border-radius:999px;
  padding:4px 8px;
}

.quantity-controls button{
  border:0;
  background:transparent;
  font-size:18px;
  width:24px;
  height:24px;
  padding:0;
  color:var(--brown);
}

.quantity-controls span{
  font-size:13px;
  min-width:12px;
  text-align:center;
}

.cart-remove{
  border:0;
  background:transparent;
  color:#9b6257;
  font-size:11px;
  text-decoration:underline;
  padding:4px;
}

.cart-footer{
  flex-shrink:0;
  border-top:1px solid var(--line);
  padding:20px;
  background:var(--paper);
}

.cart-total-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:16px;
  font-size:15px;
}

.cart-total-row strong{
  font-size:18px;
  color:var(--red);
}

.cart-footer .full{
  width:100%;
  text-align:center;
}


/* MOBILE MENU */

.mobile-drawer,
.drawer-backdrop{
  display:none;
}


/* MOBILE */

@media(max-width:800px){

  .page-width{
    padding-left:20px;
    padding-right:20px;
  }

  .nav-wrap{
    height:64px;
    padding:0 18px;
  }

  .desktop-nav{
    display:none;
  }

  .search-button{
    display:block;
  }

  .mobile-only{
    display:block;
  }

  .brand{
    font-size:23px;
  }

  .hero,
  .story,
  .custom-grid{
    grid-template-columns:1fr;
  }

  .hero{
    padding-top:56px;
    padding-bottom:80px;
  }

  .hero h1{
    font-size:64px;
  }

  .hero-art{
    margin-top:24px;
  }

  .shop-section,
  .custom-section,
  .instagram{
    padding:64px 0;
  }

  .section-heading{
    align-items:start;
    flex-direction:column;
  }

  .section-heading h2,
  .center h2{
    font-size:40px;
  }

  .section-heading>a{
    display:block;
  }

  .products{
    grid-template-columns:repeat(2,1fr);
    gap:28px 12px;
  }

  .product-image-wrap{
    border-radius:16px;
  }

  .product-info h3{
    font-size:16px;
  }

  .add-to-bag{
    width:38px;
    height:38px;
  }

  .story{
    gap:42px;
    padding-top:72px;
    padding-bottom:72px;
  }

  .story-image{
    max-width:none;
  }

  .story h2,
  .custom-copy h2{
    font-size:52px;
  }

  .custom-grid{
    gap:38px;
  }

  .custom-form{
    padding:22px;
    grid-template-columns:1fr;
  }

  .custom-form .full{
    grid-column:auto;
  }

  .review-grid{
    grid-template-columns:1fr;
    gap:14px;
  }

  .reviews{
    padding-top:65px;
    padding-bottom:70px;
  }

  .reviews .section-heading{
    margin-bottom:28px;
  }

  .reviews .section-heading>a{
    display:none;
  }

  .review-grid article{
    min-height:auto;
    padding:25px 22px;
    border-radius:20px;
  }

  .review-grid article p{
    font-size:15px;
    line-height:1.65;
  }

  .review-grid article small{
    margin-top:20px;
    padding-top:14px;
  }

  .instagram-grid{
    grid-template-columns:repeat(3,1fr);
    gap:7px;
    margin:30px auto;
  }

  .footer-inner{
    align-items:start;
    flex-direction:column;
  }

  .footer-links{
    flex-wrap:wrap;
  }


  /* CART */

  .cart-drawer{
    width:92vw;
    max-width:none;
  }

  .cart-header{
    padding:20px;
  }

  .cart-items{
    padding:16px;
  }

  .cart-footer{
    padding:16px;
  }

  .cart-item-image{
    width:72px;
    height:88px;
  }


  /* SEARCH */

  .search-overlay-inner{
    width:calc(100% - 32px);
    padding-top:30px;
  }

  .search-top{
    margin-bottom:20px;
  }

  .search-top .eyebrow{
    font-size:9px;
  }

  .search-close{
    width:42px;
    height:42px;
  }

  .search-box{
    border-radius:16px;
    padding-left:15px;
  }

  .search-symbol{
    font-size:23px;
  }

  #product-search{
    font-size:16px;
    padding:13px 0;
  }

  .search-results{
    max-height:65vh;
  }

  .search-result-card{
    gap:12px;
    padding:9px;
  }

  .search-result-card img{
    width:62px;
    height:72px;
    border-radius:10px;
  }

  .search-result-info h3{
    font-size:17px;
  }

  .search-add-button{
    width:38px;
    height:38px;
    font-size:22px;
  }
}

/* SMALL PHONES */

@media(max-width:380px){

  .hero h1{
    font-size:55px;
  }

  .products{
    gap:22px 10px;
  }

  .product-info h3{
    font-size:15px;
  }

  .product-price{
    font-size:13px;
  }

  .add-to-bag{
    width:34px;
    height:34px;
    font-size:18px;
  }

  .cart-drawer{
    width:96vw;
  }

  .search-overlay-inner{
    width:calc(100% - 24px);
  }

  .search-result-card img{
    width:56px;
    height:66px;
  }

  .search-result-info h3{
    font-size:15px;
  }

  .search-add-button{
    width:34px;
    height:34px;
  }

}