
/* =========================================================
   HIGH JOINT — ORDERING SYSTEM SKIN
========================================================= */
.hj-order-section{position:relative;padding:100px 6%;background:#070707;color:#f7f1df;border-top:1px solid rgba(255,213,74,.12)}
.hj-order-head{text-align:center;max-width:760px;margin:0 auto 34px}.hj-order-head span{color:#ffd54a;letter-spacing:.22em;font-size:12px}.hj-order-head h2{font-size:clamp(34px,5vw,58px);margin:10px 0}.hj-order-head p{opacity:.65}
.hj-toolbar{max-width:1180px;margin:0 auto 30px;display:grid;grid-template-columns:1fr 240px;gap:12px}
.hj-toolbar input,.hj-toolbar select,.hj-fields input,.hj-address input,.hj-address textarea{width:100%;box-sizing:border-box;background:#0e0e0e;color:#fff;border:1px solid rgba(255,213,74,.2);border-radius:13px;padding:14px 15px;outline:none}
.hj-toolbar input:focus,.hj-toolbar select:focus,.hj-fields input:focus,.hj-address input:focus,.hj-address textarea:focus{border-color:#ffd54a}
.hj-products{max-width:1180px;margin:auto;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.hj-product{background:linear-gradient(145deg,#111,#090909);border:1px solid rgba(255,213,74,.15);border-radius:22px;padding:18px;display:flex;flex-direction:column;min-height:220px;box-shadow:0 18px 50px rgba(0,0,0,.3)}
.hj-product .cat{font-size:10px;color:#ffd54a;letter-spacing:.15em;text-transform:uppercase}.hj-product h3{font-size:21px;margin:9px 0}.hj-product p{font-size:13px;line-height:1.65;opacity:.62;flex:1}.hj-product-bottom{display:flex;align-items:center;justify-content:space-between;gap:10px}.hj-price{font-weight:800;color:#ffd54a}.hj-add{border:1px solid rgba(255,213,74,.45);background:#ffd54a;color:#070707;border-radius:12px;padding:11px 15px;font-weight:800;cursor:pointer}.hj-add:active{transform:scale(.97)}
.hj-cart-fab{position:fixed;right:22px;bottom:22px;z-index:10001;border:1px solid rgba(255,213,74,.55);background:#ffd54a;color:#050505;border-radius:999px;padding:13px 17px;display:flex;gap:8px;align-items:center;box-shadow:0 12px 35px rgba(0,0,0,.45);cursor:pointer}.hj-cart-fab b{background:#070707;color:#ffd54a;border-radius:50%;min-width:22px;height:22px;display:grid;place-items:center;font-size:11px}
.hj-backdrop{position:fixed;inset:0;background:rgba(0,0,0,.72);z-index:9998;opacity:0;pointer-events:none;transition:.25s}.hj-backdrop.open{opacity:1;pointer-events:auto}
.hj-cart{position:fixed;right:0;top:0;height:100dvh;width:min(440px,94vw);background:#0b0b0b;border-left:1px solid rgba(255,213,74,.18);z-index:9999;transform:translateX(105%);transition:.35s cubic-bezier(.2,.8,.2,1);display:flex;flex-direction:column}.hj-cart.open{transform:none}.hj-cart-top{padding:22px;border-bottom:1px solid #222;display:flex;justify-content:space-between;align-items:center}.hj-cart-top small,.hj-modal-title small{color:#ffd54a;letter-spacing:.16em}.hj-cart-top h3{margin:5px 0 0;font-size:25px}.hj-cart-top button,.hj-x{background:none;border:0;color:#fff;font-size:30px;cursor:pointer}.hj-cart-items{padding:15px 20px;overflow:auto;flex:1}.hj-cart-item{border-bottom:1px solid #242424;padding:14px 0;display:grid;grid-template-columns:1fr auto;gap:10px}.hj-cart-item h4{margin:0 0 5px}.hj-cart-item small{opacity:.55}.hj-qty{display:flex;align-items:center;gap:8px}.hj-qty button{width:28px;height:28px;border-radius:50%;border:1px solid #5b4917;background:#111;color:#ffd54a}.hj-cart-summary{padding:18px 20px;border-top:1px solid #222}.hj-cart-summary>div,.hj-final-summary>div{display:flex;justify-content:space-between;margin:9px 0}.hj-cart-summary .total,.hj-final-summary .total{font-size:20px;padding-top:10px;border-top:1px solid #333}.hj-primary{width:100%;border:0;border-radius:13px;background:#ffd54a;color:#060606;padding:15px;font-weight:900;cursor:pointer;margin-top:12px}
.hj-modal{position:fixed;inset:0;z-index:10010;background:rgba(0,0,0,.8);backdrop-filter:blur(8px);display:none;align-items:center;justify-content:center;padding:18px}.hj-modal.open{display:flex}.hj-modal-box,.hj-success-box{position:relative;width:min(700px,100%);max-height:92dvh;overflow:auto;background:#0c0c0c;border:1px solid rgba(255,213,74,.22);border-radius:26px;padding:28px;box-shadow:0 30px 100px rgba(0,0,0,.65)}.hj-step{display:flex;align-items:center;gap:8px;margin-bottom:22px}.hj-step span{width:29px;height:29px;border:1px solid #555;border-radius:50%;display:grid;place-items:center;font-size:11px}.hj-step span.active{background:#ffd54a;color:#050505;border-color:#ffd54a}.hj-step i{height:1px;background:#333;flex:1}.hj-modal-title h2{margin:8px 0 24px}.hj-choice{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:15px}.hj-choice label{border:1px solid #2b2b2b;border-radius:14px;padding:14px;cursor:pointer}.hj-choice input{accent-color:#ffd54a}.hj-choice small{display:block;opacity:.5;margin:5px 0 0 24px}.hj-fields{display:grid;grid-template-columns:1fr 1fr;gap:10px}.hj-fields input:first-child{grid-column:1/-1}.hj-address{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:10px}.hj-address textarea{min-height:75px;resize:vertical}.hj-address textarea:last-child{grid-column:1/-1}.hj-pickup-note{padding:14px;border:1px solid rgba(255,213,74,.2);border-radius:13px;margin-top:10px}.hj-pickup-note span{display:block;opacity:.6;margin-top:5px}.hj-final-summary{background:#090909;border-radius:16px;padding:15px;margin-top:18px}.hj-terms{display:block;font-size:12px;opacity:.7;margin-top:15px}.hj-secure{text-align:center;font-size:11px;opacity:.45}.hj-toast{position:fixed;left:50%;bottom:24px;transform:translate(-50%,20px);z-index:10020;background:#ffd54a;color:#050505;padding:12px 18px;border-radius:999px;font-weight:800;opacity:0;pointer-events:none;transition:.25s}.hj-toast.show{opacity:1;transform:translate(-50%,0)}.hj-success-box{text-align:center;max-width:460px}.hj-check{width:70px;height:70px;border-radius:50%;background:#ffd54a;color:#050505;display:grid;place-items:center;font-size:40px;font-weight:900;margin:0 auto 20px}.hj-success-box h2{font-size:34px;margin:8px}.hj-success-box p{opacity:.7;line-height:1.7}
@media(max-width:900px){.hj-products{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.hj-order-section{padding:70px 4%}.hj-toolbar{grid-template-columns:1fr}.hj-products{grid-template-columns:1fr}.hj-fields,.hj-address{grid-template-columns:1fr}.hj-address textarea:last-child{grid-column:auto}.hj-modal-box{padding:20px}.hj-cart-fab{right:14px;bottom:14px}}

/* ================= HIGH JOINT MENU V9 FIXES ================= */
.hj-order-section{padding:80px 5% 110px;background:#080808;position:relative;}
.hj-order-head{max-width:1000px;margin:0 auto 34px;text-align:center;}
.hj-toolbar{max-width:1200px;margin:0 auto 42px;display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:14px;}
.hj-toolbar input,.hj-toolbar select{min-width:0;width:100%;box-sizing:border-box;}
#hj-products{max-width:1280px;margin:0 auto;}
.hj-menu-category{margin:0 0 64px;}
.hj-category-heading{display:flex;align-items:end;gap:14px;margin:0 0 22px;padding-left:14px;border-left:4px solid #ffd54a;}
.hj-category-heading span{display:block;position:absolute;transform:translateY(-28px);font-size:11px;letter-spacing:4px;font-weight:800;color:#ffd54a;}
.hj-category-heading h3{margin:0;font-family:Georgia,serif;font-size:34px;line-height:1.05;color:#fff;}
.hj-category-heading b{font-size:14px;opacity:.45;font-weight:500;}
.hj-products-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;align-items:stretch;}
.hj-product{min-width:0;overflow:hidden;border:1px solid rgba(255,213,74,.16);border-radius:28px;background:linear-gradient(180deg,#0c0c0c,#11110e);box-shadow:0 18px 55px rgba(0,0,0,.22);display:flex;flex-direction:column;}
.hj-product-media{position:relative;aspect-ratio:1.18/1;overflow:hidden;background:#101010;border-bottom:1px solid rgba(255,213,74,.1);}
.hj-product-media img{width:100%;height:100%;display:block;object-fit:cover;object-position:center;transition:transform .45s ease;}
.hj-product:hover .hj-product-media img{transform:scale(1.035);}
.hj-product-media .cat{position:absolute;left:14px;top:14px;padding:7px 12px;border:1px solid rgba(255,213,74,.35);border-radius:999px;background:rgba(0,0,0,.62);color:#ffd54a;font-size:10px;letter-spacing:1.5px;font-weight:800;}
.hj-product-media .hj-price{position:absolute;right:14px;bottom:14px;background:#ffd54a;color:#090909;border-radius:16px;padding:12px 16px;font-size:18px;font-weight:900;box-shadow:0 8px 25px rgba(255,213,74,.18);}
.hj-product-content{padding:20px 20px 22px;display:flex;flex:1;flex-direction:column;}
.hj-product-content h3{margin:0 0 9px;font-family:Georgia,serif;font-size:25px;color:#fff;line-height:1.15;}
.hj-product-content p{margin:0 0 18px;color:rgba(255,255,255,.62);line-height:1.65;font-size:14px;flex:1;}
.hj-add{width:100%;border:1px solid rgba(255,213,74,.38);background:#ffd54a;color:#090909;border-radius:15px;padding:13px 15px;font-weight:900;font-size:15px;cursor:pointer;}
.hj-add b{font-size:20px;margin-left:5px;}
.hj-empty,.hj-empty-cart{text-align:center;opacity:.55;padding:50px 20px;}
.hj-secondary{width:100%;margin-top:10px;border:1px solid rgba(255,213,74,.28);background:transparent;color:#ffd54a;border-radius:14px;padding:12px 15px;font-weight:800;cursor:pointer;}
.hj-checkout-back{width:auto;margin:0 0 14px;}
.hj-lock{overflow:hidden;}
@media(max-width:1000px){.hj-products-grid{grid-template-columns:repeat(2,minmax(0,1fr));}.hj-toolbar{grid-template-columns:1fr 220px;}}
@media(max-width:680px){.hj-order-section{padding:62px 4% 90px;}.hj-toolbar{grid-template-columns:1fr;gap:10px;margin-bottom:34px;}.hj-products-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;}.hj-category-heading h3{font-size:27px;}.hj-product{border-radius:20px;}.hj-product-media{aspect-ratio:1/1;}.hj-product-media .hj-price{font-size:14px;padding:9px 10px;border-radius:12px;}.hj-product-media .cat{font-size:8px;padding:6px 8px;max-width:65%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}.hj-product-content{padding:14px 13px 15px;}.hj-product-content h3{font-size:19px;}.hj-product-content p{font-size:12px;line-height:1.5;}.hj-add{font-size:12px;padding:11px 8px;border-radius:12px;}.hj-category-heading{margin-bottom:18px;}.hj-category-heading b{font-size:12px;}}
@media(max-width:430px){.hj-products-grid{grid-template-columns:1fr 1fr;gap:10px;}.hj-product-content h3{font-size:17px;}.hj-product-content p{font-size:11px;}.hj-product-media .hj-price{font-size:12px;padding:8px;}.hj-add{font-size:11px;}}

.hj-products-grid{grid-template-columns:repeat(2,minmax(0,1fr)) !important;}
.hj-category-heading{display:block !important;}
.hj-category-heading span{position:static !important;transform:none !important;display:block !important;margin-bottom:8px !important;}
.hj-category-title-row{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap;}
.hj-secure-panel{position:relative;}
@media(max-width:1000px){.hj-products-grid{grid-template-columns:repeat(2,minmax(0,1fr)) !important;}}
@media(max-width:560px){.hj-products-grid{grid-template-columns:repeat(2,minmax(0,1fr)) !important;gap:10px;}.hj-product-content h3{font-size:17px;}.hj-product-content p{font-size:11px;}.hj-add{font-size:11px;padding:10px 7px;}.hj-product-media .hj-price{font-size:12px;padding:8px 9px;}}

/* V16 payment + two-card menu hardening */
.hj-payment-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:18px 0;}
.hj-payment-method{border:1px solid rgba(255,213,74,.22);background:#101010;color:#fff;border-radius:14px;padding:13px 10px;cursor:pointer;text-align:center;font-weight:800;transition:.2s;}
.hj-payment-method:hover,.hj-payment-method:focus-visible{border-color:#ffd54a;transform:translateY(-1px);outline:none;}
.hj-payment-method small{display:block;color:#ffd54a;opacity:.7;font-size:10px;margin-top:4px;}
.hj-payment-status{font-size:11px;opacity:.65;margin-top:10px;min-height:16px;}
.hj-product-media img.image-missing{display:none;}
@media(max-width:560px){.hj-payment-options{grid-template-columns:1fr 1fr 1fr;gap:7px}.hj-payment-method{font-size:11px;padding:11px 6px}}

/* V18 — live-looking payment brand icons; no broken glyph placeholders */
.hj-payment-method{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-height:92px;}
.hj-payment-method .hj-pay-icon{display:flex;align-items:center;justify-content:center;height:32px;min-width:54px;font-size:29px;line-height:1;transition:transform .25s ease,filter .25s ease;}
.hj-payment-method .hj-pay-icon i{display:block;}
.hj-payment-method .hj-pay-label{font-size:13px;line-height:1.15;letter-spacing:.15px;}
.hj-payment-method:hover .hj-pay-icon,.hj-payment-method:focus-visible .hj-pay-icon{transform:translateY(-2px) scale(1.06);filter:drop-shadow(0 0 7px rgba(255,213,74,.45));}
.hj-payment-method .hj-pay-icon::after{content:"";position:absolute;width:38px;height:38px;border-radius:50%;border:1px solid rgba(255,213,74,.22);animation:hjPayPulse 2.2s ease-in-out infinite;pointer-events:none;}
.hj-payment-method:nth-child(2) .hj-pay-icon::after{animation-delay:.25s}
.hj-payment-method:nth-child(3) .hj-pay-icon::after{animation-delay:.5s}
@keyframes hjPayPulse{0%,100%{transform:scale(.82);opacity:.15}50%{transform:scale(1.08);opacity:.55}}
@media(max-width:560px){.hj-payment-method{min-height:86px}.hj-payment-method .hj-pay-icon{font-size:26px}.hj-payment-method .hj-pay-label{font-size:11px}.hj-payment-method small{font-size:9px}}

/* V19 — explicit return path from checkout opened by any payment method */
.hj-checkout-menu-back{
  display:inline-flex;align-items:center;gap:7px;margin:0 0 12px;
  border:1px solid rgba(255,213,74,.28);background:transparent;color:#ffd54a;
  border-radius:999px;padding:8px 13px;font-weight:800;font-size:12px;cursor:pointer;
}
.hj-checkout-menu-back:hover{border-color:#ffd54a;background:rgba(255,213,74,.06);}


/* ==========================================================
   HIGH JOINT V24 — FINAL RESPONSIVE HARDENING
   Desktop + tablet + mobile
   Restores full page structure and prevents stretched cards.
========================================================== */

/* Global width/overflow guard */
html,body{width:100%;max-width:100%;overflow-x:hidden;}
*,*::before,*::after{box-sizing:border-box;}

/* ---------------- MENU 2: PRODUCT CARDS ---------------- */
#online-order .hj-products-grid{
  width:min(1180px,100%);
  margin-inline:auto;
  display:grid !important;
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  gap:22px !important;
  align-items:stretch;
}
#online-order .hj-product{
  width:100%;
  min-width:0;
  min-height:0;
  height:auto;
  display:flex;
  flex-direction:column;
  overflow:hidden;
  border-radius:22px;
}
#online-order .hj-product-media{
  width:100%;
  height:auto !important;
  aspect-ratio:1.45 / 1 !important;
  min-height:0 !important;
  flex:none;
  overflow:hidden;
}
#online-order .hj-product-media img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
#online-order .hj-product-media .hj-price{
  position:absolute;
  right:12px;
  bottom:12px;
  z-index:4;
  font-size:14px;
  line-height:1;
  padding:9px 11px;
  border-radius:11px;
  white-space:nowrap;
}
#online-order .hj-product-content{
  flex:1 1 auto;
  min-height:0;
  padding:16px 17px 17px;
}
#online-order .hj-product-content h3{
  font-family:'Poppins',sans-serif;
  font-size:19px;
  font-weight:700;
  line-height:1.3;
  margin:0 0 7px;
}
#online-order .hj-product-content p{
  font-family:'Poppins',sans-serif;
  font-size:13px;
  font-weight:400;
  line-height:1.55;
  margin:0 0 13px;
  opacity:.82;
}
#online-order .hj-product-bottom{margin-top:auto;}
#online-order .hj-add{font-size:12px;padding:10px 13px;}

/* ---------------- GALLERY BOOK ---------------- */
.cinematic-book-gallery{
  position:relative;
  min-height:900px;
  padding:145px 20px 80px !important;
  overflow:hidden;
}
.gallery-heading{
  position:absolute;
  top:34px !important;
  left:50%;
  transform:translateX(-50%);
  width:min(92%,900px);
  z-index:50;
  text-align:center;
}
.gallery-heading span{display:block;margin-bottom:8px;}
.gallery-heading h2{margin:0;}
.book-stage{
  position:relative;
  z-index:5;
  width:min(400px,55vw) !important;
  margin:78px auto 0 !important;
}

/* ---------------- CART DRAWER ---------------- */
.hj-cart{
  top:auto !important;
  bottom:0 !important;
  height:auto !important;
  max-height:min(82vh,760px) !important;
  width:min(440px,94vw) !important;
  overflow:hidden !important;
  display:flex !important;
  flex-direction:column !important;
  border-radius:24px 0 0 0;
}
.hj-cart-items{
  flex:1 1 auto !important;
  min-height:60px;
  max-height:min(45vh,390px);
  overflow-y:auto !important;
  overscroll-behavior:contain;
}
.hj-cart-summary{flex:none !important;}

/* ---------------- SIGNATURE ---------------- */
.signature-grid,.signature-cards{
  max-width:1180px;
  margin-inline:auto;
}
@media (min-width:1001px){
  .signature-grid,.signature-cards{grid-template-columns:repeat(3,minmax(0,1fr)) !important;}
}

/* ---------------- TABLET ---------------- */
@media (max-width:1000px){
  #online-order .hj-products-grid{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:16px !important;
  }
  .cinematic-book-gallery{min-height:820px;padding-top:135px !important;}
  .book-stage{width:min(380px,64vw) !important;margin-top:65px !important;}
}

/* ---------------- MOBILE ---------------- */
@media (max-width:680px){
  #online-order .hj-products-grid{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:10px !important;
  }
  #online-order .hj-product{border-radius:17px;}
  #online-order .hj-product-media{aspect-ratio:1.18 / 1 !important;}
  #online-order .hj-product-media .hj-price{
    right:8px;bottom:8px;font-size:11px;padding:7px 8px;
  }
  #online-order .hj-product-content{padding:11px 10px 12px;}
  #online-order .hj-product-content h3{font-size:15px;line-height:1.28;}
  #online-order .hj-product-content p{font-size:10.5px;line-height:1.45;}
  #online-order .hj-add{font-size:10px;padding:9px 7px;}
  .cinematic-book-gallery{
    min-height:760px;
    padding:125px 14px 55px !important;
  }
  .gallery-heading{top:28px !important;width:94%;}
  .gallery-heading span{font-size:12px;letter-spacing:2.5px;}
  .gallery-heading h2{font-size:clamp(22px,7vw,30px);}
  .book-stage{width:min(360px,78vw) !important;margin-top:58px !important;}
  .hj-cart{
    left:3vw;
    width:94vw !important;
    max-height:86vh !important;
    border-radius:22px 22px 0 0;
  }
  .hj-cart-items{max-height:42vh;}
}

@media (max-width:430px){
  #online-order .hj-products-grid{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:8px !important;
  }
  #online-order .hj-product-content h3{font-size:14px;}
  #online-order .hj-product-content p{font-size:10px;}
  #online-order .hj-add{font-size:9.5px;}
}

/* Hero video fallback: no broken native control/play icon */
.hero-video-cover{z-index:2;}
#heroVideo{z-index:1;}

/* ==========================================================
   V27 — TRUE MOBILE/TABLET ORDER LAYOUT
   Categories stack vertically so product cards are actually readable.
========================================================== */
@media (max-width:1000px){
  #online-order .hj-products{
    width:min(760px,100%) !important;
    max-width:none !important;
    margin-inline:auto !important;
    display:grid !important;
    grid-template-columns:1fr !important;
    gap:46px !important;
  }
  #online-order .hj-menu-category{width:100% !important;}
  #online-order .hj-products-grid{
    width:100% !important;
    display:grid !important;
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:16px !important;
  }
  #online-order .hj-product-media{
    aspect-ratio:1.18 / 1 !important;
  }
  #online-order .hj-product-content{
    padding:15px 14px 16px !important;
  }
  #online-order .hj-product-content h3{
    font-size:18px !important;
    line-height:1.28 !important;
  }
  #online-order .hj-product-content p{
    font-size:12px !important;
    line-height:1.55 !important;
  }
  #online-order .hj-add{
    min-height:40px !important;
    font-size:11.5px !important;
    padding:10px 12px !important;
  }
}

@media (max-width:680px){
  #online-order .hj-products{gap:40px !important;}
  #online-order .hj-products-grid{gap:12px !important;}
  #online-order .hj-category-heading{margin-bottom:22px !important;}
  #online-order .hj-category-heading h3{font-size:28px !important;}
  #online-order .hj-product-content{padding:13px 12px 14px !important;}
  #online-order .hj-product-content h3{font-size:17px !important;}
  #online-order .hj-product-content p{font-size:11.5px !important;}
  #online-order .hj-product-media .hj-price{font-size:12px !important;padding:8px 9px !important;}
  #online-order .hj-add{font-size:11px !important;padding:10px 8px !important;}
}

@media (max-width:430px){
  #online-order .hj-products-grid{gap:10px !important;}
  #online-order .hj-category-heading h3{font-size:25px !important;}
  #online-order .hj-product-content h3{font-size:16px !important;}
  #online-order .hj-product-content p{font-size:10.5px !important;}
  #online-order .hj-add{font-size:10px !important;}
}
