*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#f4efe5;color:#211f1b;font-family:"Avenir Next",Avenir,"Helvetica Neue",Helvetica,Arial,sans-serif;line-height:1.6}.official-bar{display:flex;justify-content:center;gap:10px;align-items:center;background:#211f1b;color:#fff;padding:10px 16px;font-size:13px;flex-wrap:wrap}.shield{display:inline-grid;place-items:center;width:20px;height:20px;border:1px solid #fff;border-radius:50%}.link-button{border:0;background:none;color:#fff;text-decoration:underline;cursor:pointer}.site-header{max-width:1080px;margin:auto;padding:24px;display:flex;justify-content:space-between;align-items:center}.brand{text-decoration:none;color:inherit;display:flex;gap:10px;align-items:center}.brand-mark{border:2px solid #211f1b;padding:6px 8px;font-weight:800;letter-spacing:.08em}.brand-text{font-weight:700;letter-spacing:.18em}.header-actions{display:flex;align-items:center;gap:16px}.admin-button{border:1px solid #211f1b;border-radius:999px;background:transparent;padding:8px 13px;cursor:pointer}.ig-link{color:inherit;font-size:14px}.hero{max-width:1080px;margin:auto;padding:70px 24px 90px}.eyebrow{font-size:12px;letter-spacing:.18em;font-weight:700;text-transform:uppercase}.hero h1{font-family:Baskerville,"Iowan Old Style","Palatino Linotype",Palatino,Georgia,serif;font-size:clamp(52px,10vw,104px);line-height:.95;margin:18px 0 28px;font-weight:500}.hero-copy{max-width:560px;font-size:18px}.primary-button{display:inline-block;border:0;background:#211f1b;color:#fff;padding:15px 24px;border-radius:999px;text-decoration:none;font-weight:700;cursor:pointer}.trust-strip{max-width:1080px;margin:auto;display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid #c8c0b3;border-bottom:1px solid #c8c0b3}.trust-strip div{padding:24px;text-align:center}.trust-strip strong,.trust-strip span{display:block}.trust-strip span{font-size:13px;color:#696257}.products,.checkout{max-width:1080px;margin:auto;padding:80px 24px}.section-heading h2{font-family:Baskerville,"Iowan Old Style","Palatino Linotype",Palatino,Georgia,serif;font-size:42px;margin:6px 0}.section-heading p:last-child{color:#696257}.product-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:20px;margin-top:32px}.product-card{display:grid;grid-template-columns:145px 1fr auto;gap:20px;align-items:center;border:1px solid #c8c0b3;border-radius:22px;padding:20px;background:#faf7f0}.product-image-wrap{width:145px;height:180px;border-radius:16px;overflow:hidden;background:#e7dfd2;position:relative}.product-image{width:100%;height:100%;object-fit:cover;display:none}.image-placeholder{position:absolute;inset:0;display:grid;place-items:center;text-align:center;font-family:Baskerville,"Iowan Old Style","Palatino Linotype",Palatino,Georgia,serif;font-size:22px;background:#554037;color:white}.lemon-placeholder{background:#d0b63e;color:#211f1b}.batch-tag{display:inline-block;background:#211f1b;color:white;border-radius:999px;padding:4px 10px;font-size:11px;margin-bottom:8px}.batch-tag.special{background:#d0b63e;color:#211f1b}.product-copy h3{margin:0 0 4px;font-size:21px}.product-copy p{color:#696257;margin:5px 0}.bean-name{font-size:13px;font-weight:700}.bundle-note{display:block;margin-top:8px;color:#696257}.qty-control{display:flex;align-items:center;gap:10px}.qty-control button{width:38px;height:38px;border-radius:50%;border:1px solid #aaa093;background:#fff;font-size:20px;cursor:pointer}.qty-value{min-width:20px;text-align:center;font-weight:700}.checkout{padding-top:40px}.delivery-options{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:24px 0 55px}.choice-card{border:1px solid #c8c0b3;border-radius:16px;padding:18px;background:#faf7f0;display:flex;gap:12px;cursor:pointer}.choice-card small{display:block;color:#696257}.compact{margin-top:20px}form{max-width:760px}.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}label{display:block;font-weight:700;margin-bottom:16px}input,textarea{width:100%;margin-top:7px;padding:14px;border:1px solid #bcb3a5;border-radius:12px;background:#fff;font:inherit}.summary-card,.payment-box{border:1px solid #c8c0b3;background:#faf7f0;border-radius:18px;padding:22px;margin:26px 0}.summary-row,.summary-total{display:flex;justify-content:space-between;gap:20px}.summary-row{padding:8px 0}.discount-row{color:#86710f}.summary-total{border-top:1px solid #c8c0b3;margin-top:10px;padding-top:16px;font-size:20px}.paynow-grid{display:grid;grid-template-columns:180px 1fr;gap:20px;align-items:center}.qr-wrap{width:180px;height:180px;position:relative;background:white;border-radius:16px;overflow:hidden}.qr-image{width:100%;height:100%;object-fit:contain;display:none}.qr-placeholder{position:absolute;inset:0;display:grid;place-items:center;text-align:center;border:2px dashed #bcb3a5;color:#696257}.payee{background:#fff;border-radius:12px;padding:14px 16px}.payee span,.payee strong{display:block}.warning{font-size:13px;color:#8a5c19}.consent{display:flex;gap:10px;align-items:flex-start;font-weight:400}.consent input{width:auto;margin-top:5px}.full{width:100%;font-size:16px}.form-note{text-align:center;color:#696257;font-size:13px}footer{text-align:center;border-top:1px solid #c8c0b3;padding:45px 20px}.domain-note{font-size:13px;color:#696257}dialog{max-width:600px;border:0;border-radius:20px;padding:30px;box-shadow:0 25px 80px rgba(0,0,0,.25)}dialog::backdrop{background:rgba(0,0,0,.55)}.dialog-close{float:right;border:0;background:none;font-size:28px;cursor:pointer}.admin-dialog{width:min(680px,92vw)}.admin-note{background:#f4efe5;padding:12px;border-radius:10px}.admin-section{border-top:1px solid #ddd2c3;padding-top:18px;margin-top:18px}pre{white-space:pre-wrap;background:#f4efe5;border-radius:12px;padding:14px}@media(max-width:800px){.site-header{padding:18px 16px}.brand-text{display:none}.ig-link{display:none}.hero{padding:45px 18px 65px}.hero h1{font-size:58px}.trust-strip{grid-template-columns:1fr}.trust-strip div{border-bottom:1px solid #c8c0b3}.product-grid,.delivery-options,.field-grid,.paynow-grid{grid-template-columns:1fr}.products,.checkout{padding:60px 18px}.product-card{grid-template-columns:100px 1fr}.product-image-wrap{width:100px;height:135px}.qty-control{grid-column:1/-1;justify-content:flex-end}.section-heading h2{font-size:36px}.qr-wrap{margin:auto}}
.admin-section.highlighted{background:#fff8d9;padding:18px;border-radius:16px;border:1px solid #d8c77c}.upload-help{font-size:13px;color:#6b6257;margin-top:-4px}

/* HSU BREW LAB typography refinements */
body{
  letter-spacing:.005em;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
.hero h1{
  letter-spacing:-.025em;
  font-weight:400;
}
.section-heading h2{
  letter-spacing:-.015em;
  font-weight:400;
}
.brand-text,.eyebrow{
  letter-spacing:.2em;
}
.product-copy h3{
  font-family:Baskerville,"Iowan Old Style","Palatino Linotype",Palatino,Georgia,serif;
  font-weight:400;
  letter-spacing:.01em;
}
/* Fallback used when Safari does not support dialog.showModal correctly */
dialog.dialog-fallback-open{
  display:block;
  position:fixed;
  z-index:9999;
  left:50%;
  top:50%;
  transform:translate(-50%,-50%);
  max-height:88vh;
  overflow:auto;
}
.dialog-fallback-backdrop{
  position:fixed;
  z-index:9998;
  inset:0;
  background:rgba(0,0,0,.55);
}

:root{
  --site-bg:#f4efe5;
  --site-text:#211f1b;
  --site-accent:#211f1b;
  --hero-overlay:.18;
  --hero-text:#211f1b;
}

body{
  background:var(--site-bg);
  color:var(--site-text);
  transition:background-color .25s ease,color .25s ease;
}

.hero{
  position:relative;
  min-height:650px;
  display:flex;
  align-items:center;
  overflow:hidden;
  background-color:var(--site-bg);
  background-size:cover;
  background-position:center;
  isolation:isolate;
}

.hero::before{
  content:"";
  position:absolute;
  inset:0;
  background:rgba(0,0,0,var(--hero-overlay));
  opacity:0;
  z-index:-1;
  transition:opacity .25s ease;
}

.hero.has-background::before{opacity:1}

.hero-content{
  max-width:720px;
  color:var(--hero-text);
  position:relative;
}

.hero.has-background .hero-content{
  text-shadow:0 2px 24px rgba(0,0,0,.28);
}

.hero.layout-center{
  justify-content:center;
  text-align:center;
}
.hero.layout-center .hero-content{margin-inline:auto}
.hero.layout-center .hero-copy{margin-inline:auto}
.hero.layout-center .primary-button{margin-inline:auto}

.hero.layout-compact{
  min-height:520px;
}
.hero.layout-compact .hero-content{max-width:620px}
.hero.layout-compact h1{font-size:clamp(48px,8vw,86px)}

body.headline-modern .hero h1,
body.headline-modern .section-heading h2,
body.headline-modern .product-copy h3{
  font-family:"Avenir Next",Avenir,"Helvetica Neue",Helvetica,Arial,sans-serif;
  font-weight:500;
  letter-spacing:-.04em;
}
body.headline-classic .hero h1,
body.headline-classic .section-heading h2,
body.headline-classic .product-copy h3{
  font-family:Georgia,"Times New Roman",serif;
  font-weight:400;
}
body.headline-editorial .hero h1,
body.headline-editorial .section-heading h2,
body.headline-editorial .product-copy h3{
  font-family:Baskerville,"Iowan Old Style","Palatino Linotype",Palatino,Georgia,serif;
}

.primary-button,
.batch-tag,
.official-bar{
  background:var(--site-accent);
}
.brand-mark{
  border-color:var(--site-text);
}
.admin-button{
  border-color:var(--site-text);
  color:var(--site-text);
}

.appearance-admin{
  background:linear-gradient(180deg,rgba(255,255,255,.7),rgba(255,255,255,.28));
  border:1px solid #d8cfbf;
  border-radius:18px;
  padding:20px;
}
.admin-section-title{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:18px;
}
.admin-section-title h3{margin-top:0}
.secondary-button{
  border:1px solid #8f8577;
  background:transparent;
  border-radius:999px;
  padding:9px 14px;
  cursor:pointer;
  white-space:nowrap;
}
.appearance-preview{
  min-height:120px;
  display:grid;
  place-items:center;
  border-radius:14px;
  margin:12px 0 20px;
  padding:20px;
  background:
    linear-gradient(rgba(0,0,0,.18),rgba(0,0,0,.18)),
    linear-gradient(135deg,#4a4036,#bbb09f);
  color:white;
  background-size:cover;
  background-position:center;
  font-family:Baskerville,"Iowan Old Style",Georgia,serif;
  font-size:22px;
  text-align:center;
}
select{
  width:100%;
  margin-top:7px;
  padding:14px;
  border:1px solid #bcb3a5;
  border-radius:12px;
  background:#fff;
  font:inherit;
}
input[type="color"]{
  min-height:52px;
  padding:5px;
}
input[type="range"]{
  padding:0;
}
.range-value{
  display:inline-block;
  margin-top:5px;
  font-size:13px;
  color:#696257;
}
.inline-check{
  display:flex;
  gap:10px;
  align-items:center;
  font-weight:400;
}
.inline-check input{
  width:auto;
  margin:0;
}

@media(max-width:800px){
  .hero{min-height:560px}
  .admin-section-title{display:block}
  .secondary-button{margin-bottom:12px}
}

/* V6 admin dashboard */
.admin-v6{
  width:min(1180px,96vw);
  max-width:none;
  padding:0;
  border-radius:22px;
  overflow:hidden;
}
.admin-shell{display:grid;grid-template-columns:220px 1fr;min-height:82vh;background:#f7f3eb}
.admin-sidebar{background:#1f1f1d;color:#fff;padding:26px 18px}
.admin-brand strong{font-family:Baskerville,Georgia,serif;font-size:24px;line-height:.95;letter-spacing:.08em}
.admin-brand small{display:block;margin-top:12px;letter-spacing:.16em;color:#aaa;font-size:10px}
.admin-nav{display:grid;gap:7px;margin-top:38px}
.admin-nav button{border:0;background:transparent;color:#bbb;text-align:left;padding:12px 14px;border-radius:10px;cursor:pointer}
.admin-nav button.active{background:#6d5948;color:#fff}
.admin-main{padding:28px;overflow:auto;max-height:90vh;position:relative}
.admin-topbar{display:flex;justify-content:space-between;align-items:flex-start}
.admin-top-actions{display:flex;gap:10px;align-items:center}
.admin-notice{background:#ebe6dc;padding:12px 14px;border-radius:12px;margin:16px 0 22px}
.admin-tab{display:none}.admin-tab.active{display:block}
.admin-card{background:#fff;border:1px solid #ddd4c7;border-radius:18px;padding:22px;margin-bottom:18px}
.editor-grid{display:grid;grid-template-columns:1fr 280px;gap:22px}
.crop-editor{height:360px;border-radius:16px;overflow:hidden;position:relative;background:#ddd;cursor:grab;touch-action:none}
.crop-editor:active{cursor:grabbing}
.crop-image{position:absolute;inset:0;background-position:center;background-repeat:no-repeat;background-size:100%;transform-origin:center}
.crop-overlay{position:absolute;inset:0;background:rgba(0,0,0,.2);pointer-events:none}
.crop-safe-area{position:absolute;inset:10%;border:1px dashed rgba(255,255,255,.75);pointer-events:none}
.crop-help{position:absolute;bottom:12px;left:50%;transform:translateX(-50%);font-size:12px;color:white;background:rgba(0,0,0,.45);padding:6px 10px;border-radius:999px;white-space:nowrap}
.editor-controls{display:grid;align-content:start;gap:10px}
.position-pad{display:grid;grid-template-columns:repeat(3,42px);justify-content:center;gap:6px;margin:4px 0 10px}
.position-pad button{width:42px;height:42px;border:1px solid #bbb;border-radius:10px;background:#fff;cursor:pointer}
.position-pad button:nth-child(1){grid-column:2}.position-pad button:nth-child(5){grid-column:2}
.product-admin-head{display:flex;justify-content:space-between;align-items:center}
.switch-label{display:flex;align-items:center;gap:8px;font-weight:600}
.switch-label input{width:auto;margin:0}
.orders-list{display:grid;gap:12px}
.order-card{border:1px solid #ddd4c7;border-radius:14px;padding:16px;background:#faf8f3}
.order-card-head{display:flex;justify-content:space-between;gap:16px}
.order-meta{font-size:13px;color:#6d655c}
.order-status{display:flex;gap:8px;align-items:center;margin-top:12px}
.order-status select{max-width:180px}
.system-actions{display:flex;gap:10px;flex-wrap:wrap}
.import-label{cursor:pointer}.import-label input{display:none}
.danger-button{border:1px solid #a33;background:#fff;color:#a33;border-radius:999px;padding:10px 16px;cursor:pointer}
.admin-savebar{position:sticky;bottom:-28px;background:rgba(247,243,235,.95);backdrop-filter:blur(10px);padding:16px 0 0;display:flex;justify-content:space-between;align-items:center}
.sold-out-badge{position:absolute;top:14px;right:14px;background:#8b2f2f;color:#fff;padding:7px 10px;border-radius:999px;font-size:11px;z-index:2}
.product-card{position:relative}
.product-card.is-sold-out{opacity:.65}
@media(max-width:900px){
  .admin-shell{grid-template-columns:1fr}
  .admin-sidebar{padding:16px}
  .admin-nav{grid-template-columns:repeat(5,1fr);margin-top:16px;overflow:auto}
  .admin-nav button{text-align:center;padding:10px 8px}
  .editor-grid{grid-template-columns:1fr}
}

/* V7 order tracking and chat */
.order-dialog{
  width:min(760px,94vw);
  max-width:none;
  max-height:92vh;
  overflow:auto;
}
.order-number-card{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
  background:#f4efe5;
  border:1px solid #d8cfbf;
  border-radius:16px;
  padding:18px;
  margin:18px 0;
}
.order-number-card span{color:#6d655c}
.order-number-card strong{font-size:24px}
.order-dialog-copy{color:#5f584f}
.tracking-card,.chat-card{
  border:1px solid #d8cfbf;
  border-radius:18px;
  padding:20px;
  margin-top:18px;
  background:#fffdf9;
}
.tracking-steps{display:grid;gap:12px;margin-top:16px}
.tracking-step{display:grid;grid-template-columns:36px 1fr;gap:12px;align-items:center;color:#9a9288}
.tracking-step span{
  width:30px;height:30px;border-radius:50%;
  display:grid;place-items:center;border:1px solid #c9c0b4;
  font-size:13px
}
.tracking-step.active{color:#211f1b}
.tracking-step.active span{background:#211f1b;color:#fff;border-color:#211f1b}
.tracking-step.completed span{background:#6e7d67;color:#fff;border-color:#6e7d67}
.chat-head{display:flex;justify-content:space-between;gap:18px;align-items:flex-start}
.chat-head h3{margin:3px 0}
.chat-status{font-size:12px;background:#eee5d7;padding:6px 10px;border-radius:999px}
.chat-messages{
  min-height:150px;
  max-height:300px;
  overflow:auto;
  background:#f5f1e9;
  border-radius:14px;
  padding:14px;
  margin:16px 0;
  display:grid;
  gap:10px;
}
.chat-empty{color:#8b8378;text-align:center;padding:28px 10px}
.chat-message{display:flex}
.chat-message.customer{justify-content:flex-end}
.chat-bubble{
  max-width:78%;
  border-radius:16px;
  padding:10px 12px;
  background:#fff;
  border:1px solid #ddd4c7;
}
.chat-message.customer .chat-bubble{background:#211f1b;color:#fff;border-color:#211f1b}
.chat-bubble small{display:block;opacity:.68;margin-top:5px}
.chat-image{
  display:block;
  width:min(220px,100%);
  border-radius:12px;
  margin-top:8px;
}
.chat-upload{
  border:1px dashed #bcb3a5;
  border-radius:14px;
  padding:14px;
  background:#faf8f3;
}
.admin-order-detail{
  margin-top:18px;
  border-top:1px solid #ddd4c7;
  padding-top:18px;
}
.order-card{cursor:pointer}
.order-card:hover{border-color:#8d7966}
.admin-chat{max-height:360px}
.payment-thumb{
  width:100px;height:100px;object-fit:cover;border-radius:10px;border:1px solid #ccc
}

/* V8 required markers and post-order PayNow */
.required-star{
  color:#b3261e;
  font-weight:700;
}

.required-label input:invalid,
.required-label textarea:invalid{
  border-color:#b3261e;
}

.required-label input:focus:invalid,
.required-label textarea:focus:invalid{
  outline:2px solid rgba(179,38,30,.12);
  outline-offset:1px;
}

.post-order-paynow{
  border:1px solid #d8cfbf;
  border-radius:18px;
  padding:20px;
  margin-top:18px;
  background:#fffdf9;
}

.post-order-paynow h3{
  margin:4px 0 6px;
}

.post-order-paynow-grid{
  display:grid;
  grid-template-columns:240px 1fr;
  gap:22px;
  align-items:center;
  margin-top:16px;
}

.post-order-qr-wrap{
  width:240px;
  height:240px;
  border-radius:16px;
  overflow:hidden;
  position:relative;
  background:#fff;
  border:1px solid #d8cfbf;
}

.post-order-qr-image{
  width:100%;
  height:100%;
  object-fit:contain;
  display:none;
}

.post-order-qr-placeholder{
  position:absolute;
  inset:0;
  display:grid;
  place-items:center;
  text-align:center;
  border:2px dashed #bcb3a5;
  color:#6f675e;
  letter-spacing:.08em;
}

.post-order-payment-info{
  display:grid;
  gap:12px;
}

.payment-info-row{
  background:#f4efe5;
  border-radius:12px;
  padding:14px 16px;
}

.payment-info-row span,
.payment-info-row strong{
  display:block;
}

.payment-info-row span{
  color:#6d655c;
  font-size:13px;
}

.payment-info-row strong{
  font-size:20px;
  margin-top:3px;
}

.payment-reminder{
  font-size:13px;
  color:#8a5c19;
  margin:0;
}

@media(max-width:700px){
  .post-order-paynow-grid{
    grid-template-columns:1fr;
  }
  .post-order-qr-wrap{
    width:min(240px,100%);
    margin:auto;
  }
}

.field-required-missing{
  border-color:#b3261e !important;
  box-shadow:0 0 0 2px rgba(179,38,30,.08);
}

/* V9 dynamic products */
.delivery-address-wrap{
  max-width:760px;
  margin:-34px 0 42px;
  padding:18px;
  border:1px solid #d8cfbf;
  border-radius:16px;
  background:#faf7f0;
}
.product-admin-list{display:grid;gap:16px}
.product-editor{
  border:1px solid #d8cfbf;
  border-radius:16px;
  padding:18px;
  background:#faf8f3;
}
.product-editor-head{
  display:flex;
  justify-content:space-between;
  gap:14px;
  align-items:center;
  margin-bottom:14px;
}
.product-editor-head h4{margin:0;font-size:18px}
.product-editor-actions{display:flex;gap:7px;flex-wrap:wrap}
.icon-button{
  border:1px solid #bdb3a6;
  background:#fff;
  border-radius:9px;
  padding:7px 10px;
  cursor:pointer;
}
.icon-button.delete{color:#a33;border-color:#d7aaaa}
.product-image-admin-preview{
  width:100px;height:120px;object-fit:cover;border-radius:12px;
  border:1px solid #d8cfbf;background:#eee7dc;margin-top:8px;
}
.bundle-admin{
  border-left:3px solid #d0b63e;
  padding-left:14px;
}
.product-empty{
  text-align:center;padding:35px;border:1px dashed #bcb3a5;border-radius:14px;color:#6d655c;
}
.product-card .product-copy .product-extra{
  font-size:13px;font-weight:700;color:#4f4942;
}
.product-card .bundle-note{font-weight:600}
.product-card .batch-tag:empty{display:none}
.field-required-missing{border-color:#b3261e!important;box-shadow:0 0 0 2px rgba(179,38,30,.08)}
.required-star{color:#b3261e;font-weight:700}
@media(max-width:700px){
  .product-editor-head{align-items:flex-start}
  .product-editor-actions{justify-content:flex-end}
}
