:root {
  --ink: #2a2623;
  --brown: #7c6754;
  --gold: #c4a574;
  --paper: #f7f3ee;
  --line: #e4d8cc;
  --muted: #6b5d54;
}
/* Homepage hero carousel: fixed height, cover crop */
#carousel_g .carousel-inner {
  height: clamp(220px, 32vw, 420px);
  overflow: hidden;
}
#carousel_g .carousel-item {
  height: 100%;
}
#carousel_g .carousel-item > a {
  display: block;
  height: 100%;
}
#carousel_g .carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.vape-pdp h1 {
  font-size: 22px;
  line-height: 1.4;
  color: var(--ink);
}
/* PDP: keep space between gallery and copy */
.vape-wrap > .row {
  align-items: flex-start;
}
.vape-wrap > .row > .col-12.col-lg-6 {
  padding-left: 16px;
  padding-right: 16px;
}
@media (min-width: 992px) {
  .vape-wrap > .row > .col-12.col-lg-6:first-child {
    padding-right: 28px;
  }
  .vape-wrap > .row > .col-12.col-lg-6:last-child {
    padding-left: 28px;
  }
}
@media (max-width: 991px) {
  .vape-wrap > .row > .col-12.col-lg-6:last-child {
    margin-top: 20px;
  }
}
.vape-static-gallery__frame {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #fff;
  position: relative;
}
.vape-static-gallery__main {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.vape-static-gallery__thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.vape-static-gallery__thumbs button {
  width: 72px;
  height: 72px;
  padding: 0;
  border: 1px solid var(--line);
  background: #fff;
  overflow: hidden;
  cursor: pointer;
}
.vape-static-gallery__thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.vape-buybox { margin: 12px 0 4px; }
.vape-buybox__qty {
  display: inline-flex;
  align-items: center;
  margin-bottom: 12px;
  border: 1px solid var(--ink);
  overflow: hidden;
  background: #fff;
}
.vape-buybox__qty button {
  width: 38px;
  height: 38px;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 18px;
}
.vape-buybox__qty input {
  width: 52px;
  height: 38px;
  border: 0;
  text-align: center;
  font-size: 15px;
  background: transparent;
}
.vape-buybox__btns { display: flex; flex-wrap: wrap; gap: 10px; }
.vape-btn-cart, .vape-btn-buy {
  min-width: 150px;
  height: 46px;
  border: 0;
  cursor: pointer;
  font-size: 15px;
}
.vape-btn-cart { background: var(--ink); color: #fff; }
.vape-btn-buy { background: var(--brown); color: #fff; }
.vape-cart-mask {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(42, 38, 35, .45);
  z-index: 1080;
}
.vape-cart-panel {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  width: min(420px, 100%);
  height: 100%;
  background: #fff;
  z-index: 1090;
  box-shadow: -12px 0 30px rgba(0,0,0,.12);
  overflow: auto;
}
.vape-cart-mask.is-show,
.vape-cart-panel.is-show { display: block; }
.vape-cart-panel header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  background: var(--ink);
  color: #fff;
}
.vape-cart-close {
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 22px;
  cursor: pointer;
}
.vape-local-cart { padding: 8px 18px 24px; }
.vape-local-cart-empty { color: var(--muted); padding: 24px 0; text-align: center; }
.vape-local-cart-item {
  display: flex;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.vape-local-cart-item img { width: 64px; height: 64px; object-fit: cover; background: #eee; flex: 0 0 64px; }
.vape-local-cart-item .meta { flex: 1; min-width: 0; }
.vape-local-cart-item .title { font-size: 13px; margin-bottom: 4px; }
.vape-local-cart-item .row { display: flex; justify-content: space-between; align-items: center; font-size: 13px; }
.vape-local-cart-item .remove { color: var(--muted); cursor: pointer; }
.vape-local-cart-total { text-align: right; font-weight: 700; padding: 14px 0; color: var(--ink); }
.vape-checkout-form label { display: block; font-size: 13px; margin: 10px 0 4px; }
.vape-checkout-form input {
  width: 100%;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 0 10px;
}
.vape-checkout-btn {
  width: 100%;
  height: 46px;
  margin-top: 14px;
  border: 0;
  background: var(--ink);
  color: #fff;
  cursor: pointer;
  font-size: 16px;
}
#vape-cart-toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%) translateY(20px);
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: 999px;
  opacity: 0;
  pointer-events: none;
  z-index: 99999;
  transition: all .2s;
}
#vape-cart-toast.is-show { opacity: 1; transform: translateX(-50%) translateY(0); }
.vape-cart-toggle { position: relative; }
.g-nav1-right .vape-cart-toggle { display: inline-block; }
/* LANAVAPE wordmark on dark header */
.g-logo {
  width: auto !important;
  max-width: 148px;
  height: 28px !important;
  object-fit: contain;
}
@media (max-width: 991px) {
  .g-logo {
    max-width: 34vw;
    height: 7vw !important;
  }
}
