:root {
  --ink:#19352e;
  --paper:#f4f0e8;
  --warm:#e7dccb;
  --sage:#bfcfbd;
  --peach:#d87552;
  --line:rgba(25,53,46,.18)
}

* {
  box-sizing:border-box
}

html {
  scroll-behavior:smooth
}

body {
  margin:0;
  color:var(--ink);
  background:var(--paper);
  font-family:'DM Sans',sans-serif;
  font-size:14px
}

a {
  color:inherit;
  text-decoration:none
}

.announcement {
  padding:10px 20px;
  background:var(--ink);
  color:#f8f4ed;
  text-align:center;
  font-size:11px;
  letter-spacing:.07em;
  text-transform:uppercase
}

.announcement span {
  margin:0 12px;
  color:#d9b098
}

.site-header {
  min-height:78px;
  display:grid;
  grid-template-columns:1fr auto 1fr;
  align-items:center;
  padding:0 clamp(20px,5vw,76px);
  border-bottom:1px solid var(--line)
}

.nav {
  display:flex;
  gap:30px;
  font-size:12px;
  font-weight:600
}

.nav a,
.header-actions a {
  transition:opacity .2s
}

.nav a:hover,
.header-actions a:hover {
  opacity:.55
}

.header-actions {
  justify-self:end;
  display:flex;
  align-items:center;
  gap:22px;
  font-size:12px
}

.bag {
  border:0;
  background:transparent;
  color:var(--ink);
  font:inherit;
  cursor:pointer
}

.bag span {
  display:inline-grid;
  place-items:center;
  width:20px;
  height:20px;
  margin-left:5px;
  border:1px solid var(--ink);
  border-radius:50%;
  font-size:10px
}

.stories h2 {
  margin:0;
  font-family:'DM Serif Display',serif;
  font-size:clamp(47px,5.1vw,76px);
  font-weight:400;
  line-height:.98;
  letter-spacing:-.05em
}

.button {
  display:inline-flex;
  align-items:center;
  gap:17px;
  padding:15px 18px;
  font-size:12px;
  font-weight:700
}

.button span {
  font-size:18px
}

.pillow {
  position:absolute;
  z-index:2;
  right:16%;
  bottom:22%;
  width:365px;
  height:205px;
  border-radius:46% 54% 47% 53%/60% 38% 62% 40%;
  background:linear-gradient(145deg,#fffef8,#cfcabf);
  box-shadow:-20px 25px 34px rgba(71,61,45,.16);
  transform:rotate(-14deg)
}

.pillow i {
  position:absolute;
  top:46px;
  left:64px;
  width:153px;
  height:100px;
  border:22px solid rgba(216,211,196,.88);
  border-radius:50%;
  transform:rotate(10deg)
}

.pillow b {
  position:absolute;
  right:48px;
  bottom:35px;
  width:72px;
  height:20px;
  border-radius:50%;
  background:rgba(183,176,164,.35)
}

.products {
  padding:0 clamp(20px,7vw,130px) 140px
}

.product-art {
  position:relative;
  height:350px;
  overflow:hidden
}

.stories {
  padding:135px clamp(20px,7vw,130px);
  text-align:center
}

.stories h2 {
  font-size:clamp(46px,5vw,68px)
}

form {
  max-width:450px;
  display:flex;
  margin:35px auto 0;
  border-bottom:1px solid var(--ink)
}

input {
  flex:1;
  min-width:0;
  padding:14px 4px;
  border:0;
  background:transparent;
  color:var(--ink);
  font:inherit;
  outline:0
}

input::placeholder {
  color:#68786f
}

form button {
  padding:10px 4px;
  border:0;
  background:transparent;
  color:var(--ink);
  font:700 12px 'DM Sans';
  cursor:pointer
}

footer {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:25px;
  padding:27px clamp(20px,5vw,76px);
  background:var(--ink);
  color:#dce4d9;
  font-size:10px
}

footer div {
  display:flex;
  gap:16px
}

@media(max-width:800px) {
  .site-header {
    grid-template-columns:1fr auto;
    min-height:65px
  }
  .nav {
    display:none
  }
  .product-art {
    height:340px
  }
  .stories {
    padding:90px 25px
  }
  .products {
    padding:0 20px 90px
  }
  footer {
    align-items:flex-start;
    flex-direction:column
  }
  .header-actions>a {
    display:none
  }
}

@media(max-width:430px) {
  .announcement {
    font-size:9px
  }
  .announcement span {
    margin:0 4px
  }
  .pillow {
    right:4%;
    width:325px
  }
}

.shop-grid {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:20px;
  padding:0 clamp(20px,7vw,130px) 130px
}

.shop-card {
  background:#fbf8f1;
  padding-bottom:21px
}

.shop-card>.product-art {
  display:block;
  height:360px
}

.shop-card>p {
  margin:20px 20px 5px;
  color:#718078;
  font-size:9px;
  font-weight:700;
  letter-spacing:.12em
}

.shop-card h2 {
  margin:0 20px 5px;
  font-family:'DM Serif Display';
  font-size:27px;
  font-weight:400
}

.shop-card>span {
  margin:0 20px;
  color:#63746c;
  font-size:11px
}

.shop-card__bottom {
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin:25px 20px 0;
  padding-top:15px;
  border-top:1px solid var(--line)
}

.shop-card__bottom strong {
  font-size:14px
}

.shop-card__bottom button,
.checkout-button {
  padding:10px 13px;
  border:0;
  background:var(--ink);
  color:#fff;
  font:700 11px 'DM Sans';
  cursor:pointer
}

.cart-drawer {
  position:fixed;
  z-index:200;
  top:0;
  right:0;
  width:min(385px,100%);
  height:100vh;
  padding:26px;
  background:#faf7f0;
  box-shadow:-15px 0 35px rgba(25,53,46,.18);
  transform:translateX(105%);
  transition:transform .25s ease
}

.cart-drawer.is-open {
  transform:translateX(0)
}

.cart-drawer__head {
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding-bottom:20px;
  border-bottom:1px solid var(--line)
}

.cart-drawer h2 {
  margin:0;
  font-family:'DM Serif Display';
  font-size:32px;
  font-weight:400
}

.cart-drawer__head button {
  border:0;
  background:transparent;
  color:var(--ink);
  font-size:28px;
  cursor:pointer
}

.cart-total {
  display:flex;
  justify-content:space-between;
  margin-top:20px;
  font-size:14px
}

.checkout-button {
  width:100%;
  margin-top:20px;
  padding:15px
}

@media(max-width:800px) {
  .shop-grid {
    grid-template-columns:1fr;
    padding:0 20px 80px
  }
  .shop-card>.product-art {
    height:330px
  }
}

.shop-photo {
  width:100%;
  height:100%;
  display:block;
  object-fit:cover
}

.shop-photo {
  object-position:center
}

.shop-card>.product-art {
  background:#ddd
}

@media(max-width:800px) {
  .shop-photo {
    height:330px
  }
}

.announcement {
  padding:8px 20px;
  background:#2e465b;
  font-size:10px;
  letter-spacing:.03em;
  text-transform:none
}

.site-header {
  position:relative;
  z-index:10;
  min-height:48px;
  background:#f7f3eb;
  padding:0 clamp(20px,13vw,185px);
  grid-template-columns:1fr auto 1fr
}

.site-header .brand-logo {
  grid-column:2;
  grid-row:1;
  justify-self:center
}

.brand-logo img {
  display:block;
  width:87px;
  height:auto
}

.site-header .nav {
  grid-column:1;
  grid-row:1;
  gap:22px;
  font-size:10px;
  white-space:nowrap
}

.site-header .header-actions {
  grid-column:3;
  grid-row:1;
  font-size:11px
}

.site-header .header-actions>a {
  font-size:19px;
  line-height:1
}

.site-header .bag {
  font-size:0
}

.site-header .bag:before {
  content:'🛒';
  font-size:15px;
  filter:grayscale(1)
}

.site-header .bag span {
  width:14px;
  height:14px;
  margin-left:1px;
  font-size:8px
}

@media(max-width:800px) {
  .site-header {
    padding:0 18px;
    min-height:54px
  }
  .site-header .nav {
    display:none
  }
  .site-header .brand-logo {
    grid-column:1
  }
  .site-header .header-actions {
    grid-column:2
  }
}

.mobile-menu {
  display:none
}

.community h2 {
  margin:0;
  font-family:"Libre Baskerville",serif;
  font-weight:400;
  letter-spacing:-.04em
}

.community {
  display:grid;
  grid-template-columns:.9fr 1.1fr;
  min-height:700px;
  background:#dce3dc
}

.community h2 {
  font-size:clamp(42px,4.6vw,65px);
  line-height:1.05
}

.callixe-footer {
  display:block;
  padding:0;
  background:#263c52;
  color:#fff;
  font-family:Montserrat,sans-serif;
  font-size:11px
}

.footer-links {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:55px;
  padding:38px clamp(25px,11.5vw,155px)
}

.callixe-footer .footer-links>div {
  display:block
}

.callixe-footer h3 {
  margin:0 0 15px;
  font-family:"Libre Baskerville",serif;
  font-size:20px;
  font-weight:700
}

.callixe-footer a {
  display:block;
  margin:0 0 14px;
  color:#fff
}

.callixe-footer p {
  max-width:290px;
  margin:0 0 20px;
  color:#fff;
  line-height:1.5
}

.footer-bottom {
  display:grid;
  grid-template-columns:100px repeat(4,1fr) 1.4fr;
  align-items:center;
  gap:22px;
  padding:25px clamp(25px,11.5vw,155px);
  border-top:1px solid rgba(255,255,255,.12);
  font-size:8px
}

.footer-bottom>a {
  margin:0;
  text-align:center
}

.footer-bottom>span {
  text-align:right
}

.social-links {
  display:flex;
  align-items:center;
  gap:18px
}

.social-links a {
  margin:0;
  font-size:14px;
  font-weight:700
}

@media(max-width:900px) {
  .mobile-menu {
    grid-column:1;
    display:block;
    width:28px;
    padding:5px 0;
    border:0;
    background:transparent
  }
  .mobile-menu span {
    display:block;
    width:20px;
    height:1px;
    margin:5px 0;
    background:currentColor
  }
  .community {
    grid-template-columns:1fr
  }
  .footer-links {
    grid-template-columns:repeat(2,1fr)
  }
  .footer-bottom {
    grid-template-columns:repeat(3,1fr)
  }
  .footer-bottom>span {
    text-align:left
  }
  .social-links {
    grid-column:1/-1
  }
}

.callixe-shop {
  padding:0 0 90px
}

.callixe-shop .shop-grid {
  max-width:1025px;
  padding:38px 0 0
}

.shop-collection-hero {
  position:relative;
  display:flex;
  align-items:center;
  min-height:300px;
  margin:0;
  padding:35px 20px;
  overflow:hidden;
  background:url('../assets/hero-relief.jpg') center 48%/cover no-repeat;
  color:#fff
}

.shop-collection-hero:before {
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(90deg,rgba(20,31,28,.52),rgba(20,31,28,.05) 68%)
}

.shop-collection-hero>div {
  position:relative;
  z-index:1;
  width:100%;
  margin:0 auto
}

.shop-collection-hero h1 {
  margin:0 0 15px;
  font-family:'Libre Baskerville',serif;
  font-size:clamp(30px,3vw,40px);
  line-height:1.1
}

.shop-collection-hero p {
  margin:0;
  font-size:13px
}

@media(max-width:600px) {
  .shop-collection-hero {
    min-height:220px;
    padding:28px 22px;
    background-position:58% center
  }
  .callixe-shop .shop-grid {
    padding:18px 14px 0
  }
}

@media(max-width:620px) {
  .footer-links {
    grid-template-columns:1fr 1fr;
    gap:35px;
    padding:35px 25px
  }
  .callixe-footer h3 {
    font-size:18px
  }
  .footer-bottom {
    grid-template-columns:1fr 1fr;
    padding:25px
  }
  .social-links {
    grid-column:1/-1
  }
  .footer-bottom>span {
    grid-column:1/-1
  }
}

@media(max-width:800px) {
  body:not(.home-page) .site-header {
    grid-template-columns:auto 1fr auto;
    gap:14px;
    padding:0 16px;
  }
  body:not(.home-page) .nav {
    display:flex;
    justify-content:center;
    gap:14px;
    font-size:10px;
  }
}

@media(max-width:430px) {
  body:not(.home-page) .site-header {
    grid-template-columns:1fr auto;
    padding:9px 14px;
  }
  body:not(.home-page) .nav {
    grid-column:1 / -1;
    grid-row:2;
    order:3;
    padding:8px 0 2px;
    border-top:1px solid var(--line);
  }
}

.callixe-shop {
  min-height:70vh;
  padding:0 0 90px;
  background:#eee8de
}

.callixe-shop .shop-grid {
  width:calc(100% - 64px);
  max-width:none;
  margin:0 auto;
  padding:38px 0 0;
  gap:26px
}

.callixe-shop .shop-card {
  padding:0;
  background:transparent
}

.callixe-shop .shop-card>.product-art {
  height:auto;
  aspect-ratio:1/1;
  overflow:hidden;
  border-radius:11px;
  background:#f8f6f2
}

.callixe-shop .shop-photo {
  object-fit:contain
}

.callixe-shop .shop-card h2 {
  min-height:58px;
  margin:12px 0 4px;
  color:#071b18;
  font-family:'Libre Baskerville',serif;
  font-size:19px;
  font-weight:700;
  line-height:1.25
}

.callixe-shop .shop-card__bottom {
  justify-content:flex-start;
  gap:18px;
  margin:0;
  padding:0;
  border:0
}

.callixe-shop .shop-card__bottom strong {
  color:#071b18;
  font-size:12px;
  font-weight:500
}

.callixe-shop .shop-card__bottom del {
  color:#9b9b97;
  font-size:11px
}

@media(max-width:800px) {
  .callixe-shop .shop-grid {
    grid-template-columns:1fr 1fr
  }
}

@media(max-width:520px) {
  .callixe-shop {
    padding:0 0 60px
  }
  .callixe-shop .shop-grid {
    width:calc(100% - 28px);
    grid-template-columns:1fr;
    gap:32px;
    padding:18px 0 0
  }
  .callixe-shop .shop-card h2 {
    min-height:0;
    font-size:17px
  }
}

.site-page .announcement {
  height:29px;
  display:grid;
  place-items:center;
  padding:0 20px;
  background:#263c52;
  color:#fff;
  font:500 10px Montserrat,sans-serif;
  letter-spacing:.02em;
  text-transform:none
}

.site-page .site-header {
  position:sticky;
  top:0;
  z-index:50;
  min-height:64px;
  display:grid;
  grid-template-columns:1fr auto 1fr;
  align-items:center;
  padding:0 clamp(24px,5.8vw,90px);
  border:0;
  border-bottom:1px solid rgba(28,40,37,.1);
  background:rgba(248,246,240,.96);
  backdrop-filter:blur(14px)
}

.site-page .nav {
  grid-column:1;
  grid-row:1;
  display:flex;
  justify-content:flex-start;
  gap:clamp(18px,2.2vw,34px);
  font:500 11px Montserrat,sans-serif
}

.site-page .nav a {
  position:relative;
  padding:25px 0
}

.site-page .nav a:after {
  content:"";
  position:absolute;
  right:0;
  bottom:18px;
  left:0;
  height:1px;
  background:currentColor;
  transform:scaleX(0);
  transition:transform .2s
}

.site-page .nav a:hover:after,
.site-page .nav a.is-active:after {
  transform:scaleX(1)
}

.site-page .brand-logo {
  grid-column:2;
  grid-row:1;
  justify-self:center
}

.site-page .brand-logo img {
  display:block;
  width:112px;
  height:auto
}

.site-page .header-actions {
  grid-column:3;
  grid-row:1;
  justify-self:end;
  display:flex;
  align-items:center;
  gap:18px
}

.site-page .header-icon,
.site-page .bag {
  position:relative;
  display:grid;
  place-items:center;
  width:22px;
  height:22px;
  padding:0;
  border:0;
  background:transparent;
  color:#1d2926
}

.site-page .header-icon svg,
.site-page .bag svg {
  width:20px;
  height:20px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.5
}

.site-page .bag:before {
  display:none
}

.site-page .bag span {
  position:absolute;
  top:-1px;
  right:-8px;
  width:15px;
  height:15px;
  display:grid;
  place-items:center;
  margin:0;
  border:0;
  border-radius:50%;
  background:#263c52;
  color:#fff;
  font-size:8px
}

@media(max-width:900px) {
  .site-page .site-header {
    grid-template-columns:auto 1fr auto;
    padding:0 20px
  }
  .site-page .mobile-menu {
    display:flex
  }
  .site-page .brand-logo {
    grid-column:2
  }
  .site-page .brand-logo img {
    width:98px
  }
  .site-page .header-actions {
    grid-column:3
  }
  .site-page .nav {
    position:absolute;
    top:64px;
    right:0;
    left:0;
    display:none;
    padding:20px;
    background:#f8f6f0;
    border-top:1px solid rgba(0,0,0,.08);
    box-shadow:0 14px 25px rgba(0,0,0,.08)
  }
  .site-page.menu-open .nav {
    display:grid
  }
  .site-page .nav a {
    padding:9px
  }
}

/* Final mobile responsive rules */
@media(max-width:600px) {
  html,body{width:100%;max-width:100%;overflow-x:hidden}
  body *{min-width:0}
  img,video{max-width:100%}
  .announcement{height:auto!important;min-height:29px;padding:6px 12px!important;line-height:1.35;text-align:center}
  .site-header{min-height:58px!important;grid-template-columns:auto 1fr auto!important;gap:10px!important;padding:0 14px!important}
  .brand-logo{grid-column:2!important;grid-row:1!important}
  .brand-logo img{width:88px!important}
  .header-actions{grid-column:3!important;grid-row:1!important;gap:9px!important}
  .header-icon{display:none!important}
  .nav{position:absolute!important;top:58px!important;right:0!important;left:0!important;grid-column:auto!important;grid-row:auto!important;display:none!important;padding:14px 18px!important;border-top:1px solid rgba(0,0,0,.08)!important;background:#f8f6f0!important;box-shadow:0 14px 25px rgba(0,0,0,.08)!important}
  .menu-open .nav{display:grid!important;gap:2px!important}
  .nav a{padding:10px!important;font-size:13px!important}
  .nav a:after{right:auto!important;bottom:3px!important;left:10px!important;width:28px!important}
  .shop-collection-hero{min-height:205px;padding:26px 18px;background-position:58% center}
  .shop-collection-hero h1{font-size:30px}
  .callixe-shop .shop-grid{width:100%;grid-template-columns:1fr!important;padding:20px 14px 0}
  .footer-links{grid-template-columns:1fr!important;gap:28px!important;padding:34px 20px!important}
  .footer-bottom{grid-template-columns:1fr!important;gap:14px!important;padding:22px 20px!important}
  .footer-bottom>*{grid-column:auto!important;text-align:left!important;overflow-wrap:anywhere}
}
