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

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

/* =====================================
   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 !important;
  font-size: 12px;
  opacity: .55;
  display: inline-block;
  transition: opacity .25s ease, letter-spacing .25s ease;
  letter-spacing: 1.6px;
  text-align: right;
}

.nav .fa {
  direction: rtl;
}

.nav a span {
  display: block;
}

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

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

.productSpecList {
  list-style-type: none;
  padding: 0;
  margin: 20px 0 0 0;
}

.productSpecList li {
  margin-bottom: 6px;
}


/* =============================
   GLOBAL LINK RESET (iOS FIX)
============================= */

a,
a:link,
a:visited,
a:hover,
a:active{
  color:#1a1a1a !important;
  text-decoration:none !important;
}

/* iOS data detector override */
a[x-apple-data-detectors],
a[x-apple-data-detectors]:link,
a[x-apple-data-detectors]:visited,
a[x-apple-data-detectors]:hover,
a[x-apple-data-detectors]:active{
  color:#1a1a1a !important;
  text-decoration:none !important;
  font-weight:inherit !important;
}

button{
  color:#1a1a1a;
  background:none;
  border:none;
  -webkit-appearance:none;
  appearance:none;
  border-radius:0;
}

/* =====================================
   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;
  will-change:transform;
}

.product:visited{
  color:inherit;
}

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

.productImage img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  image-rendering:auto;
  transform:translateZ(0);
}

/* Prevent image drag + allow horizontal swipe */
.productImage img,
.lightboxImg{
  user-select:none;
  -webkit-user-drag:none;
  touch-action:pan-y;
}

/* =====================================
   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;
  z-index:5;   /* ADD THIS */

}

.arrow:hover{
  opacity:1;
}

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

/* =========================
   PRODUCT THUMBNAIL SCROLLER
========================= */

.thumbRow{
  display:flex;
  gap:10px;
  margin-top:14px;
  overflow-x:auto;
  -webkit-overflow-scrolling:touch;
  scroll-behavior:smooth;

  /* hide scrollbar */
  scrollbar-width:none;
  
}

.thumbRow::-webkit-scrollbar{
  display:none;
}

.thumb{
  flex:0 0 auto;
}



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

.cartText {
  display: inline-block;
  text-align: center;
  letter-spacing: 1.6px;
  transition: opacity .25s ease, letter-spacing .25s ease;
  opacity: .55;
}

.cartText > span {
  display: block;
  text-align: right;
}

.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;
  font-size: 16px;
}

.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;
}

.reviewBasket{
  display:block;
  text-align:center;
  margin-top:16px;
  font-size:12px;
  letter-spacing:2px;
  text-transform:uppercase;
  text-decoration:none;
  color:#1a1a1a;
  opacity:.55;
  transition:.2s ease;
}

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

/* =====================================
   FOOTER
===================================== */
.footer{
  margin-top:140px;
  border-top:1px solid rgba(0,0,0,0.08);
  padding:60px 40px;
  background:#f2f0ef;
}

.footerInner{
  max-width:1320px;
  margin:0 auto;
  display:flex;
  flex-direction:column;        /* KEY CHANGE */
  align-items:center;           /* center horizontally */
  justify-content:center;
  gap:20px;
  text-align:center;            /* center text */
}

.footerText{
  font-size:14px;
  letter-spacing:.3px;
  opacity:.65;
}

.paymentIcons{
  display:flex;
  gap:16px;
  align-items:center;
  justify-content:center;
  flex-wrap:wrap;   /* keeps it clean on smaller screens */
}

.paymentIcons img{
  height:18px;
  width: auto;
  max-width: 100%;
  display: block;
  opacity:0.7;
}

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

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

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

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

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

.primaryBtn{
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;
display:inline-block;
text-decoration:none;
margin-top:20px;
}

.primaryBtn:hover{
opacity:.85;
}

.secondaryBtn{
border:1px solid #1a1a1a;
padding:14px 22px;
font-family:Advercase;
font-size:12px;
letter-spacing:2px;
text-transform:uppercase;
background:transparent;
color:#1a1a1a;
cursor:pointer;
transition:all .2s ease;
display:inline-block;
text-decoration:none;
margin-top:20px;
}

.secondaryBtn:hover{
background:#1a1a1a;
color:#fff;
}

.sold-dot{
  width:12px;
  height:12px;
  border-radius:50%;
  background:#c74939;
  display:inline-block;
}

/* =========================
   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;
}

/* NEW scrollable zoom wrapper */
.lightboxZoomWrap{
  position:absolute;
  inset:0;
  overflow:auto;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:zoom-in;
}

/* image */
.lightboxImg{
  max-width:90vw;
  max-height:85vh;
  object-fit:contain;
  transition:transform .35s ease;
}

/* zoomed state */
.lightboxImg.zoomed{
  transform:scale(2.4);
  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:34px;
  color:#fff;
  cursor:pointer;
  padding:8px;
  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;
  }
}
