/* =========================================================
   TOKENS
   ========================================================= */
:root{
  --zs-bg:        #F2ECE0;
  --zs-bg-card:   #FFFDF9;
  --zs-dark:      #1F3B2C;
  --zs-dark-2:    #16291D;
  --zs-maroon:    #6B2737;
  --zs-gold:      #B08D57;
  --zs-text:      #241F1A;
  --zs-text-soft: #5A5347;
  --zs-border:    #E1D8C4;

  --zs-font-display: 'Cormorant Garamond', serif;
  --zs-font-body: 'Jost', sans-serif;
}

*{ box-sizing: border-box; }

body{
  background: var(--zs-bg);
  color: var(--zs-text);
  font-family: var(--zs-font-body);
  font-weight: 400;
  line-height: 1.6;
}

h1,h2,h3,h4,.zs-brand{
  font-family: var(--zs-font-display);
  color: var(--zs-dark);
  letter-spacing: 0.2px;
}

a{ text-decoration: none; }

::selection{ background: var(--zs-gold); color: #fff; }

/* Focus visibility (accessibility) */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible{
  outline: 2px solid var(--zs-maroon);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce){
  *{ animation: none !important; transition: none !important; }
}

/* =========================================================
   NAVBAR
   ========================================================= */
.zs-navbar{
  background: var(--zs-bg);
  border-bottom: 1px solid var(--zs-border);
  padding: 0.9rem 0;
}

.zs-brand{
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--zs-dark) !important;
}
.zs-brand span{ color: var(--zs-maroon); font-style: italic; }
.zs-brand-footer{ font-size: 1.5rem; }

.zs-cat-nav{
  gap: 1.75rem;
}
.zs-cat-nav .nav-link{
  font-family: var(--zs-font-body);
  color: var(--zs-text);
  font-size: 0.95rem;
  padding: 0;
  position: relative;
  transition: color .15s ease;
}
.zs-cat-nav .nav-link.active{ color: var(--zs-maroon); font-weight: 500; }
.zs-cat-nav .nav-link.zs-soon::after{
  content: "soon";
  font-size: 0.62rem;
  color: var(--zs-gold);
  margin-left: 0.35rem;
  vertical-align: super;
  font-style: italic;
}

.zs-icon-btn{
  background: transparent;
  border: none;
  position: relative;
  font-size: 1.35rem;
  color: var(--zs-dark);
  padding: 0.2rem 0.4rem;
}
.zs-cart-count{
  position: absolute;
  top: -2px;
  right: -6px;
  background: var(--zs-maroon);
  color: #fff;
  font-size: 0.65rem;
  font-family: var(--zs-font-body);
  min-width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
}

/* =========================================================
   HERO
   ========================================================= */
.zs-hero{
  padding: 5rem 0 6rem;
}

.zs-kicker{
  font-size: 0.85rem;
  color: var(--zs-maroon);
  font-style: italic;
  margin-bottom: 0.75rem;
}
.zs-kicker-light{ color: var(--zs-gold); }

.zs-hero-title{
  font-size: clamp(2.6rem, 5vw, 3.8rem);
  font-weight: 600;
  line-height: 1.08;
  margin-bottom: 1.5rem;
}
.zs-hero-title em{ color: var(--zs-maroon); font-style: italic; }

.zs-hero-copy{
  max-width: 42ch;
  color: var(--zs-text-soft);
  font-size: 1.05rem;
}

.zs-hero-frame{
  position: relative;
  max-width: 460px;
  margin: 0 auto;
}
.zs-frame-main{
  width: 100%;
  border-radius: 4px;
  border: 10px solid var(--zs-bg-card);
  box-shadow: 0 20px 40px -12px rgba(31,59,44,0.35);
  transform: rotate(-1.5deg);
}
.zs-frame-float{
  position: absolute;
  width: 38%;
  bottom: -8%;
  left: -12%;
  border-radius: 4px;
  border: 8px solid var(--zs-bg-card);
  box-shadow: 0 16px 30px -10px rgba(107,39,55,0.4);
  transform: rotate(4deg);
}

/* =========================================================
   BUTTONS
   ========================================================= */
.zs-btn-primary{
  background: var(--zs-dark);
  color: #fff;
  border: 1px solid var(--zs-dark);
  border-radius: 2px;
  padding: 0.65rem 1.6rem;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
  transition: background .15s ease, transform .1s ease;
}
.zs-btn-primary:hover{ background: var(--zs-dark-2); color: #fff; }
.zs-btn-primary:active{ transform: scale(0.98); }

.zs-btn-ghost{
  background: transparent;
  color: var(--zs-dark);
  border: 1px solid var(--zs-dark);
  border-radius: 2px;
  padding: 0.65rem 1.6rem;
  font-size: 0.95rem;
}
.zs-btn-ghost:hover{ background: var(--zs-dark); color: #fff; }

/* =========================================================
   SHOP SECTION
   ========================================================= */
.zs-shop{ padding: 2rem 0 5rem; }

.zs-shop-heading{
  max-width: 46ch;
  margin-bottom: 2.5rem;
}
.zs-shop-heading h2{ font-size: 2.1rem; margin-bottom: 0.5rem; }
.zs-shop-heading p{ color: var(--zs-text-soft); }

.zs-pill-row{
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2.5rem;
}
.zs-pill{
  border: 1px solid var(--zs-dark);
  background: transparent;
  color: var(--zs-dark);
  border-radius: 20px;
  padding: 0.45rem 1.1rem;
  font-size: 0.88rem;
  font-family: var(--zs-font-body);
  position: relative;
  transition: background .15s ease, color .15s ease;
}
.zs-pill:hover{ background: rgba(31,59,44,0.08); }
.zs-pill.active{
  background: var(--zs-dark);
  color: #fff;
}
.zs-pill .zs-pill-soon{
  font-size: 0.62rem;
  font-style: italic;
  opacity: 0.75;
  margin-left: 0.3rem;
}

/* =========================================================
   PRODUCT CARDS
   ========================================================= */
.zs-card{
  background: var(--zs-bg-card);
  border: 1px solid var(--zs-border);
  border-radius: 4px;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.zs-card-img-wrap{
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/5;
}
.zs-card-img-wrap img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}
.zs-card:hover .zs-card-img-wrap img{ transform: scale(1.04); }

.zs-card-tag{
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--zs-dark);
  color: #fff;
  font-size: 0.7rem;
  padding: 0.25rem 0.6rem;
  border-radius: 2px;
  font-family: var(--zs-font-body);
}

.zs-card-body{
  padding: 1.1rem 1.2rem 1.3rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.zs-card-title{
  font-size: 1.25rem;
  margin-bottom: 0.15rem;
}
.zs-card-sub{
  font-size: 0.8rem;
  color: var(--zs-text-soft);
  margin-bottom: 0.5rem;
  font-style: italic;
}
.zs-card-price{
  font-family: var(--zs-font-display);
  font-size: 1.15rem;
  color: var(--zs-maroon);
  margin-bottom: 1rem;
}

.zs-card-actions{
  margin-top: auto;
  display: flex;
  gap: 0.6rem;
}
.zs-card-actions .btn{
  flex: 1;
  font-size: 0.85rem;
  padding: 0.5rem 0.6rem;
  border-radius: 2px;
}
.zs-view-btn{
  background: transparent;
  border: 1px solid var(--zs-dark);
  color: var(--zs-dark);
}
.zs-view-btn:hover{ background: var(--zs-dark); color: #fff; }
.zs-add-btn{
  background: var(--zs-maroon);
  border: 1px solid var(--zs-maroon);
  color: #fff;
}
.zs-add-btn:hover{ background: #57202D; }

/* Empty state */
.zs-empty{
  text-align: center;
  padding: 4rem 1rem;
  max-width: 460px;
  margin: 0 auto;
}
.zs-empty i{ font-size: 2rem; color: var(--zs-gold); margin-bottom: 1rem; display: inline-block; }
.zs-empty h3{ margin-bottom: 0.6rem; }
.zs-empty p{ color: var(--zs-text-soft); margin-bottom: 1.5rem; }

/* =========================================================
   ARTISAN STRIP
   ========================================================= */
.zs-artisans{
  background: var(--zs-dark);
  color: #EFE9DC;
  padding: 5rem 0;
}
.zs-artisans h2{ color: #fff; font-size: 2rem; margin-bottom: 1rem; }
.zs-artisan-copy{ color: #C9CFC5; max-width: 42ch; }
.zs-artisan-img{
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: 4px;
}
.zs-mt{ margin-top: 1.5rem; }

/* =========================================================
   FOOTER
   ========================================================= */
.zs-footer{
  background: var(--zs-dark-2);
  color: #C9CFC5;
  padding: 4rem 0 2rem;
}
.zs-footer h6{
  color: #EFE9DC;
  font-family: var(--zs-font-body);
  font-size: 0.85rem;
  letter-spacing: 0.4px;
  margin-bottom: 1rem;
}
.zs-footer-copy{ font-size: 0.9rem; color: #A9B0A2; }
.zs-footer-links{ list-style: none; padding: 0; margin: 0; }
.zs-footer-links li{ margin-bottom: 0.5rem; }
.zs-footer-links a{ color: #C9CFC5; font-size: 0.9rem; }
.zs-footer-links a:hover{ color: var(--zs-gold); }
.zs-insta-link{ color: #EFE9DC; font-size: 0.95rem; display: inline-flex; align-items: center; gap: 0.4rem; }
.zs-insta-link:hover{ color: var(--zs-gold); }
.zs-footer hr{ border-color: #33453A; margin: 2.5rem 0 1.5rem; }
.zs-fine-print{ font-size: 0.8rem; color: #7F8A78; margin: 0; }

/* =========================================================
   PRODUCT MODAL
   ========================================================= */
.zs-modal{
  border-radius: 6px;
  overflow: hidden;
  border: none;
  position: relative;
}
.zs-modal-close{ position: absolute; top: 14px; right: 14px; z-index: 5; }
.zs-modal-img{ width: 100%; height: 100%; min-height: 320px; object-fit: cover; }
.zs-modal-body{ padding: 2.2rem; }
.zs-modal-tag{
  display: inline-block;
  font-size: 0.72rem;
  color: var(--zs-maroon);
  text-transform: capitalize;
  font-style: italic;
  margin-bottom: 0.5rem;
}
.zs-modal-price{
  font-family: var(--zs-font-display);
  color: var(--zs-maroon);
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
}
.zs-modal-desc{ color: var(--zs-text-soft); font-size: 0.95rem; margin-bottom: 1.4rem; }
.zs-modal-option{ margin-bottom: 1rem; }
.zs-modal-option label{ font-size: 0.85rem; margin-bottom: 0.3rem; display: block; color: var(--zs-text); }
.zs-modal-note{ font-size: 0.8rem; color: var(--zs-gold); margin: 1rem 0; }

/* =========================================================
   CART OFFCANVAS
   ========================================================= */
.zs-cart{ background: var(--zs-bg); width: 400px; }
.zs-cart-items{ overflow-y: auto; }

.zs-cart-item{
  display: flex;
  gap: 0.8rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--zs-border);
}
.zs-cart-item img{
  width: 64px;
  height: 76px;
  object-fit: cover;
  border-radius: 3px;
  flex-shrink: 0;
}
.zs-cart-item-info{ flex-grow: 1; }
.zs-cart-item-info h6{ font-family: var(--zs-font-display); font-size: 1.05rem; margin-bottom: 0.1rem; }
.zs-cart-item-meta{ font-size: 0.78rem; color: var(--zs-text-soft); margin-bottom: 0.4rem; }
.zs-cart-qty{
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.zs-cart-qty button{
  width: 22px; height: 22px;
  border: 1px solid var(--zs-border);
  background: #fff;
  border-radius: 50%;
  font-size: 0.75rem;
  line-height: 1;
  padding: 0;
}
.zs-cart-remove{
  border: none;
  background: transparent;
  color: var(--zs-text-soft);
  font-size: 0.85rem;
}
.zs-cart-remove:hover{ color: var(--zs-maroon); }

.zs-cart-empty{ padding: 3rem 1rem; color: var(--zs-text-soft); }
.zs-cart-empty i{ font-size: 1.8rem; color: var(--zs-gold); margin-bottom: 0.8rem; display: inline-block; }

.zs-cart-footer{ border-top: 1px solid var(--zs-border); padding-top: 1rem; margin-top: 0.5rem; }
.zs-cart-total{ font-family: var(--zs-font-display); font-size: 1.2rem; margin-bottom: 0.6rem; }
.zs-cart-note{ font-size: 0.78rem; color: var(--zs-text-soft); margin-bottom: 0.8rem; }

/* =========================================================
   TOAST
   ========================================================= */
.zs-toast-wrap{
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 1080;
}
.zs-toast{
  background: var(--zs-dark);
  color: #fff;
  border: none;
  min-width: 240px;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 991px){
  .zs-cat-nav{ margin: 1rem 0; gap: 1rem; }
  .zs-icon-btn{ align-self: flex-end; }
  .zs-hero{ padding: 3rem 0 3.5rem; text-align: left; }
  .zs-hero-frame{ margin-top: 2rem; }
}

@media (max-width: 575px){
  .zs-cart{ width: 100%; }
  .zs-modal-img{ min-height: 220px; }
  .zs-hero-title{ font-size: 2.2rem; }
}
