/* =====================================
   GLOBAL RESET
===================================== */
*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

html,body{
  width:100%;
  background:#f2f0ef;
  font-family:Advercase, serif;
  color:#1a1a1a;
}

/* =====================================
   HEADER
===================================== */
.header{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  height:120px;
  background:#f2f0ef;
  z-index:5000;

  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 40px;
}

.logo{
  display:flex;
  align-items:center;
}

.logo img{
  height:80px;
  width:auto;
  display:block;
}

.headerRight{
  display:flex;
  align-items:center;
  gap:30px;
}

.nav{
  display:flex;
  gap:30px;
}

.nav a{
  text-decoration:none;
  color:#1a1a1a;
  font-size:12px;
  letter-spacing:1.6px;
  text-transform:uppercase;
  opacity:.55;
  transition:opacity .25s ease, letter-spacing .25s ease;
}

.nav a:hover{
  opacity:1;
  letter-spacing:2px;
}

.productSpec{
  opacity:.6;
  margin-top:1.5em;
}

/* Remove default mobile link styling */
a{
  color: inherit;
  text-decoration: none;
}

a:visited{
  color: inherit;
}

a:active{
  color: inherit;
}

*{
  -webkit-tap-highlight-color: transparent;
}

/* =====================================
   BURGER
===================================== */
.burger{
  display:none;
  width:26px;
  height:18px;
  flex-direction:column;
  justify-content:space-between;
  cursor:pointer;
}

.burger div{
  height:2px;
  background:#1a1a1a;
  width:100%;
}

/* =====================================
   PRODUCT CARD SYSTEM (SHOP)
===================================== */

.product{
  display:block;
  text-decoration:none;
  color:inherit;
  cursor:pointer;
  transition:opacity .25s ease, transform .25s ease;
}

.product:visited{
  color:inherit;
}

.product:hover{
  opacity:.85;
  transform:translateY(-3px);
}

.productImage img{
  width:100%;
  height:100%;
  object-fit:contain;
  display:block;
}

/* =====================================
   PRODUCT GALLERY ARROWS
===================================== */

.arrow{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  font-size:34px;
  cursor:pointer;
  padding:12px 18px;
  opacity:.35;
  transition:.2s;
  user-select:none;
}

.arrow:hover{
  opacity:1;
}

.arrow.left{ left:10px; }
.arrow.right{ right:10px; }



/* =====================================
   CART (DESKTOP + MOBILE)
===================================== */
.cartIcon{
  cursor:pointer;
  position:relative;
  font-size:12px;
  letter-spacing:1.6px;
  text-transform:uppercase;
}

.cartText{
  opacity:.55;
  transition:opacity .25s ease, letter-spacing .25s ease;
}

.cartText:hover{
  opacity:1;
  letter-spacing:2px;
}

#cartBody{
  transition: fill .2s ease;
}

/* Mobile cart icon */
.cartMobile{
  display:none;
  position:relative;
  font-size:24px;
}

.cartMobile svg{
  width:1em;
  height:1em;
  display:block;
  transform:translateY(2px);
}



/* =====================================
   CART DRAWER
===================================== */
.cartDrawer{
  position:fixed;
  right:-400px;
  top:0;
  width:380px;
  height:100vh;
  background:#f2f0ef;
  box-shadow:-2px 0 20px rgba(0,0,0,0.1);
  transition:.35s ease;
  z-index:6000;
  display:flex;
  flex-direction:column;
}

.cartDrawer.open{
  right:0;
}

.cartHeader{
  padding:30px;
  display:flex;
  justify-content:space-between;
  border-bottom:1px solid rgba(0,0,0,0.1);
}

#cartItems{
  flex:1;
  overflow-y:auto;
  padding:20px 30px;
}

.cartItemLink{
  color:#1a1a1a;
  text-decoration:none;
  opacity:.75;
  transition:.2s;
}

.cartItemLink:hover{
  opacity:1;
}


.cartRow{
  display:flex;
  gap:14px;
  margin-bottom:18px;
}

.cartThumb{
  width:70px;
  height:70px;
  object-fit:cover;
  background:#e7e5e4;
}

.cartDetails{
  flex:1;
  font-size:13px;
}

.qtyRow{
  display:flex;
  align-items:center;
  gap:10px;
  margin:6px 0;
}

.qtyRow button{
  border:none;
  background:none;
  font-family:Advercase;
  font-size:14px;
  cursor:pointer;
  opacity:.6;
  transition:opacity .2s ease;
}

.qtyRow button:hover{
  opacity:1;
}

.removeBtn{
  font-size:11px;
  opacity:.6;
  cursor:pointer;
  margin-top:6px;
}

.removeBtn:hover{
  opacity:1;
}

.cartFooter{
  padding:30px;
  border-top:1px solid rgba(0,0,0,0.1);
}

.fullWidthBtn{
  width:100%;
  margin-top:20px;
}

.checkoutBtn{
  border:1px solid #1a1a1a;
  padding:14px 22px;
  font-family:Advercase;
  font-size:12px;
  letter-spacing:2px;
  text-transform:uppercase;
  background:#1a1a1a;
  color:#fff;
  cursor:pointer;
  transition:all .2s ease;
  width:100%;
  margin-top:14px;
}


.checkoutBtn:hover{
  opacity:.85;
}

/* =====================================
   FOOTER
===================================== */
.footer{
  margin-top:140px;
  height:240px;
  background:#f2f0ef;
  border-top:1px solid rgba(0,0,0,0.08);
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding-left: var(--page-margin);
  padding-right: var(--page-margin);
  
}

.footerText{
  font-size:13px;
  letter-spacing:1px;
  opacity:.7;
}

/* =====================================
   PAGE WRAPPER
===================================== */
.page{
  padding-top:160px;
}

/* =====================================
   CUSTOM LINK STYLE
===================================== */

.custom-link{
  color:#1a1a1a;
  text-decoration:none;
}

.custom-link:visited{
  color:#1a1a1a;
}

.custom-link:hover{
  text-decoration:underline;
}

/* =========================
   LIGHTBOX
========================= */

.lightbox{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,0.92);
  display:flex;
  align-items:center;
  justify-content:center;
  z-index:8000;
  opacity:0;
  pointer-events:none;
  transition:.3s ease;
}

.lightbox.open{
  opacity:1;
  pointer-events:auto;
}

/* Zoom behaviour */
.lightboxImg{
  max-width:90%;
  max-height:85%;
  object-fit:contain;
  cursor:zoom-in;
  transition:transform .35s ease;
}

.lightboxImg.zoomed{
  transform:scale(2);
  cursor:zoom-out;
}

.lightboxClose{
  position:absolute;
  top:30px;
  right:40px;
  font-size:20px;
  color:#fff;
  cursor:pointer;
  opacity:.6;
}

.lightboxClose:hover{ opacity:1; }

.lightboxArrow{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  font-size:50px;
  color:#fff;
  cursor:pointer;
  padding:20px;
  opacity:.4;
  user-select:none;
}

.lightboxArrow:hover{ opacity:1; }

.lightboxArrow.left{ left:40px; }
.lightboxArrow.right{ right:40px; }



/* =====================================
   RESPONSIVE
===================================== */
@media(max-width:768px){

.header{
  padding:0 20px;
}

.headerRight{
  gap:18px;
}

.logo img{
  height:72px;
}

.nav{
  position:fixed;
  top:120px;
  right:-100%;
  width:220px;
  height:100vh;
  background:#f2f0ef;
  flex-direction:column;
  padding:40px;
  transition:.35s ease;
}

.nav.open{
  right:0;
}

.burger{
  display:flex;
}

.cartText{
  display:none;
}

.cartMobile{
  display:inline-block;
}

}


/* Extra small phones */
@media(max-width:390px){

  .logo img{
    height:60px;
  }

  .burger{
    width:22px;
    height:14px;
  }

  .burger div{
    height:1.6px;
  }
}
