:root{
  --primary:#3a4422;
  --secondary:#50413c;
  --body:#F4EDE5;
  --text:#333333;
  --muted:#777;
  --green:#7e967c;
  --gold:#b88b5f;
  --white:#fff;
  --line:#dfd7cf;
  --staff-bg:#f5f3ef;
  --sidebar:#293018;
}
*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{font-family:Arial,Helvetica,sans-serif;color:var(--text);background:var(--body)}
a{color:inherit;text-decoration:none}
h1,h2,h3{font-family:"Cormorant Garamond",Georgia,serif;color:var(--primary);font-weight:600}
h1{font-size:3rem;margin:.15rem 0 .75rem}
h2{font-size:1.8rem}
.dev-strip{background:#1f2417;color:#fff;text-align:center;padding:7px 15px;font-size:.72rem;letter-spacing:.08em}
.site-header{height:112px;display:flex;align-items:center;justify-content:space-between;padding:0 4%;background:#f8f1e9;position:sticky;top:0;z-index:30;box-shadow:0 2px 10px rgba(0,0,0,.06)}
.brand{width:170px;line-height:.82}.brand-script{display:block;font-family:"Cormorant Garamond",serif;font-size:2.35rem;font-style:italic;color:#111}.brand-sub{font-size:.62rem;letter-spacing:.22em;margin-left:48px}
.main-nav{display:flex;gap:27px;font-size:.82rem;letter-spacing:.2em;font-weight:700}.main-nav a.active{color:var(--green);border-bottom:2px solid var(--green);padding-bottom:9px}
.header-actions{display:flex;align-items:center;gap:18px}.account-icon{font-size:1.7rem}.bookings{background:var(--secondary);color:#fff;border-radius:28px;padding:15px 23px;font-weight:700;font-size:.8rem}
.flash-wrap{position:fixed;top:148px;right:22px;z-index:50}.flash{background:#fff;border-left:4px solid var(--primary);padding:14px 18px;box-shadow:0 6px 25px rgba(0,0,0,.14);max-width:430px;margin-bottom:8px}
.site-footer{background:var(--green);color:#fff;padding:38px 5%;display:flex;justify-content:space-between;gap:30px}.footer-brand{font-family:"Cormorant Garamond",serif;font-size:2rem;font-style:italic}.footer-links{display:flex;gap:24px;flex-wrap:wrap;align-content:center}
.join-shell{max-width:1500px;margin:0 auto;display:grid;grid-template-columns:44% 56%;min-height:820px;background:#fff}.join-copy{background:linear-gradient(rgba(37,30,23,.35),rgba(37,30,23,.52)),url("https://bendooley-bucket.s3.ap-southeast-2.amazonaws.com/wp-content/uploads/2025/11/22141049/0010-1-scaled.jpg") center/cover no-repeat;color:#fff}.join-copy-inner{padding:55px 17%}.join-copy h1{color:#fff;font-size:4rem;line-height:.96}.join-copy p{font-size:1rem;line-height:1.55;max-width:530px}.join-copy .small{font-size:.82rem;opacity:.8}.divider{width:70px;height:2px;background:var(--gold);margin:16px 0 28px}
.join-form{padding:48px 7%;background:#fff}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.span-2{grid-column:1/-1}.field-label{font-size:.72rem;color:#777;letter-spacing:.04em}
input,select,textarea{width:100%;border:1px solid #aaa;background:#fff;border-radius:26px;padding:15px 21px;font-size:.92rem;outline:none}textarea{border-radius:14px;min-height:105px;resize:vertical}.field-label input,.field-label select,.field-label textarea{margin-top:7px}.full{margin:8px 0 14px}.join-form h2{font-family:Arial,sans-serif;font-size:1.08rem;margin-top:23px}.privacy{line-height:1.45}.check{display:flex;gap:10px;align-items:flex-start;margin:16px 0;line-height:1.42}.check input{width:21px;height:21px;flex:0 0 21px}.check.compact{margin:0}
.primary-btn{background:var(--primary);color:#fff;border:0;border-radius:28px;padding:14px 34px;font-weight:700;cursor:pointer;display:block;margin:21px auto}.primary-btn.left{margin-left:0}.secondary-btn{display:inline-block;background:#ede7df;border:1px solid #c9beb3;border-radius:24px;padding:11px 18px;cursor:pointer}.center{text-align:center}.center a,.forgot{color:var(--gold)}.error-box{background:#faeeee;border:1px solid #e7bdbd;padding:12px;margin-top:16px;font-size:.8rem}
.account-login{min-height:700px;position:relative;background:#eadfd3}.login-bg{position:absolute;inset:0;background:linear-gradient(rgba(0,0,0,.08),rgba(0,0,0,.08)),url("https://bendooley-bucket.s3.ap-southeast-2.amazonaws.com/wp-content/uploads/2025/11/22141049/0010-1-scaled.jpg") center/cover no-repeat}.login-card{position:relative;width:470px;background:#fff;margin:0 auto;padding:28px 56px 40px;text-align:center;z-index:2}.login-card h1{font-size:2.5rem}.login-card input{margin:10px 0}.forgot{display:block;text-align:left;font-size:.85rem;margin:4px 0 12px}
.account-dashboard{max-width:1150px;margin:70px auto;display:grid;grid-template-columns:250px 1fr;gap:55px}.account-menu{display:flex;flex-direction:column;gap:7px}.account-menu a{padding:16px;border-left:2px solid transparent}.account-menu a.selected{background:#fff;border-left-color:var(--primary)}.danger{color:#b8432f}.summary-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.summary-card{background:#eee3d7;padding:24px;border-radius:10px}.summary-card span{display:block;color:var(--muted);font-size:.85rem}.summary-card strong{display:block;font-family:"Cormorant Garamond",serif;font-size:1.65rem;color:var(--primary);margin-top:7px}.portal-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin:28px 0}.portal-card{height:155px;background:#efe5da;border-radius:10px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;color:#999}.portal-icon{font-size:2.3rem;color:var(--gold)}
.wine-hero{height:190px;background:linear-gradient(90deg,#272920,#52463b);display:flex;flex-direction:column;align-items:center;justify-content:center}.wine-hero h1{color:#fff;margin:0}.wine-layout{max-width:1160px;margin:60px auto;display:grid;grid-template-columns:230px 1fr;gap:55px}.filter-panel h3{font-size:1.6rem}.filter-panel hr{border:0;border-top:1px solid #7f755f}.filter-panel p{display:flex;justify-content:space-between}.products{display:grid;grid-template-columns:repeat(3,1fr);gap:38px}.product-card{text-align:center}.bottle{height:310px;width:86px;background:linear-gradient(90deg,#20251d,#73805f 45%,#374130);border-radius:16px 16px 24px 24px;margin:42px auto 20px;position:relative}.neck{position:absolute;width:35px;height:82px;background:#1d2219;left:50%;transform:translateX(-50%);top:-47px;border-radius:8px}.wine-label{position:absolute;bottom:72px;left:8px;right:8px;background:#f9f6ee;padding:18px 3px;font-family:"Cormorant Garamond",serif;font-size:.72rem}.product-card h3{font-family:Arial,sans-serif;color:var(--gold);font-size:1.02rem;margin:5px 0}.product-card p{font-size:1.1rem;margin-top:5px}.member-price{color:var(--primary);font-size:.8rem}.empty-state{grid-column:1/-1;background:#fff;padding:40px;border-radius:12px}
.staff-shell{min-height:calc(100vh - 145px);display:grid;grid-template-columns:255px 1fr;background:var(--staff-bg)}.staff-sidebar{background:var(--sidebar);color:#fff;padding:27px 20px;display:flex;flex-direction:column}.staff-logo{font-family:"Cormorant Garamond",serif;font-size:1.75rem;padding:8px 11px 3px}.staff-dev{font-size:.65rem;letter-spacing:.18em;opacity:.58;padding:0 11px 25px}.staff-sidebar nav{display:flex;flex-direction:column;gap:5px}.staff-sidebar nav a{padding:13px 12px;border-radius:8px}.staff-sidebar nav a:hover{background:rgba(255,255,255,.08)}.back-site{margin-top:auto;padding:13px 12px;opacity:.8}.staff-main{padding:40px 48px;min-width:0}.staff-top{display:flex;justify-content:space-between;gap:24px;align-items:flex-start;margin-bottom:28px}.staff-top h1{font-size:2.7rem;margin:0}.staff-top p{margin:.2rem 0;color:#706a64}.eyebrow{font-size:.7rem;letter-spacing:.2em;font-weight:700;color:var(--gold)!important}.metric-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:16px;margin-bottom:25px}.profile-summary{display:grid;grid-template-columns:repeat(5,1fr);gap:16px;margin-bottom:25px}.metric{background:#fff;border:1px solid #e4ddd6;border-radius:11px;padding:20px}.metric span{display:block;color:#7a746e;font-size:.77rem}.metric strong{display:block;font-family:"Cormorant Garamond",serif;color:var(--primary);font-size:1.7rem;margin-top:6px}.panel{background:#fff;border:1px solid #e4ddd6;border-radius:12px;padding:23px;margin-bottom:23px;overflow:auto}.panel.white{background:#fff}.panel h2{margin-top:0}.panel-head{display:flex;justify-content:space-between;align-items:center}.two-col{display:grid;grid-template-columns:1fr 1fr;gap:22px}.report-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.searchbar{display:flex;gap:10px;margin-bottom:20px}.searchbar input{border-radius:10px;background:#fff}.table{width:100%;border-collapse:collapse}.table th,.table td{text-align:left;padding:12px 9px;border-bottom:1px solid #eee;font-size:.88rem;white-space:nowrap}.table th{color:#756f69;font-size:.72rem;text-transform:uppercase;letter-spacing:.05em}.status{display:inline-block;padding:6px 10px;border-radius:14px;background:#eee;font-size:.72rem}.status.active{background:#e3efdf;color:#355128}.status.lapsed,.status.cancelled{background:#f2dfdc;color:#7f382d}.status.paused,.status.pending{background:#f5ecd2;color:#725f22}.status.none{background:#eee;color:#666}.muted{color:#777;font-size:.85rem;line-height:1.5}.payment-card,.record-block{display:flex;flex-direction:column;gap:5px;background:#f8f5f2;padding:15px;border-radius:9px;margin-bottom:10px}.payment-card small,.record-block span{color:#6f6963}.empty-mini{background:#f8f5f2;padding:18px;border-radius:8px;color:#777}.record-row{display:grid;grid-template-columns:1fr auto;gap:4px 15px;padding:11px 0;border-bottom:1px solid #eee}.record-row small{grid-column:1/-1;color:#888}.note{border-left:3px solid #bbb;padding:4px 0 4px 15px;margin-bottom:18px}.note.important{border-left-color:var(--gold);background:#fbf5ec;padding:12px 15px}.note p{margin:.45rem 0}.note small{color:#888}.report-row{display:flex;justify-content:space-between;gap:20px;border-bottom:1px solid #eee;padding:12px 0}
@media (max-width:1150px){
 .main-nav{display:none}.join-shell{grid-template-columns:1fr}.join-copy{min-height:450px}.join-copy-inner{padding:45px 9%}.staff-shell{grid-template-columns:1fr}.staff-sidebar{display:none}.metric-grid,.profile-summary{grid-template-columns:repeat(2,1fr)}.two-col,.report-grid{grid-template-columns:1fr}.products{grid-template-columns:repeat(2,1fr)}.account-dashboard{grid-template-columns:1fr;padding:0 24px}
}
@media (max-width:700px){
 .site-header{height:86px}.bookings{display:none}.brand{width:auto}.join-form{padding:35px 6%}.form-grid{grid-template-columns:1fr}.span-2{grid-column:auto}.join-copy h1{font-size:3rem}.staff-main{padding:25px 17px}.metric-grid,.profile-summary,.summary-grid,.portal-grid{grid-template-columns:1fr}.wine-layout{grid-template-columns:1fr;padding:0 20px}.filter-panel{display:none}.products{grid-template-columns:1fr 1fr}.site-footer{flex-direction:column}.login-card{width:min(94%,470px);padding:28px 35px}
}


/* CELLAR v2 - Club Runs */
.staff-subtitle{font-size:.73rem;padding:0 11px 2px;opacity:.9}
.staff-dev{padding-top:2px}
.status.large{font-size:.82rem;padding:9px 15px}
.status.draft{background:#eee;color:#555}
.status.open{background:#dfeadd;color:#34512b}
.status.processing{background:#e5e2f2;color:#514b7a}
.status.completed{background:#dce9ee;color:#315766}
.status.cancelled{background:#f1dddd;color:#7d3939}
.narrow-panel{max-width:850px}
.top-gap{margin-top:16px}
.allocation-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:16px 0 20px}
.allocation-product{display:flex;align-items:center;justify-content:space-between;gap:15px;background:#f8f6f2;border:1px solid #e8e0d9;border-radius:10px;padding:12px 14px}
.allocation-product div{display:flex;flex-direction:column;gap:3px}
.allocation-product small{color:#817a73}
.allocation-product span{font-size:.78rem;color:#3a4422}
.qty-input{width:72px!important;border-radius:10px!important;padding:10px!important;text-align:center;font-weight:700}
.bottle-counter{background:#ece7df;border-radius:18px;padding:8px 13px;font-size:.78rem;white-space:nowrap}
.action-block{margin:14px 0}
.action-block small{display:block;color:#8a8178;margin-top:6px;line-height:1.4}
.wide{width:100%;text-align:center}
.warning-action{border-color:#d6b88c;background:#fbf4e9}
.soft-rule{border:0;border-top:1px solid #eee;margin:24px 0}
.order-generation{display:flex;align-items:center;justify-content:space-between;gap:30px;border-left:4px solid #3a4422}
.order-generation .primary-btn{margin:0}
.locked-banner{background:#f6e8db;border:1px solid #e4c7ac;padding:13px 16px;border-radius:8px;margin-bottom:18px}
.allocation-callout{display:flex;align-items:center;justify-content:space-between;gap:25px;background:#fff;border:1px solid #d7cfbf;border-left:5px solid #7e967c;padding:20px 23px;border-radius:10px;margin-bottom:22px}
.allocation-callout h2{margin:.2rem 0;font-size:1.7rem}
.allocation-callout p{margin:.2rem 0;color:#6f6962}
.inline-btn{display:inline-block;margin:0;white-space:nowrap}
.selection-page{max-width:1200px;margin:55px auto;padding:0 25px}
.selection-header{margin-bottom:25px}
.selection-header h1{margin-bottom:4px}
.selection-card{background:#fff;border-radius:12px;padding:25px}
.customer-allocation-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}
.customer-wine{display:grid;grid-template-columns:52px 1fr auto;gap:15px;align-items:center;border:1px solid #e6ded5;background:#faf8f5;padding:14px;border-radius:11px}
.mini-bottle{width:28px;height:72px;background:linear-gradient(90deg,#20251d,#66725b,#31392a);border-radius:5px 5px 9px 9px;margin:auto;position:relative}
.mini-bottle:before{content:"";position:absolute;width:12px;height:21px;left:8px;top:-14px;background:#1d2219;border-radius:3px}
.customer-wine-copy h3{font-family:Arial,sans-serif;font-size:.95rem;margin:0;color:#3a4422}
.customer-wine-copy p{font-size:.76rem;color:#817a73;margin:5px 0}
.customer-wine-copy strong{font-size:.86rem}
.customer-wine label{font-size:.7rem;color:#777;text-align:center}
.customer-wine .qty-input{display:block;margin-top:5px}
.selection-footer{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:25px;padding-top:20px;border-top:1px solid #eee}
.selection-footer .primary-btn{margin:0}
@media (max-width:900px){
  .allocation-grid,.customer-allocation-grid{grid-template-columns:1fr}
  .order-generation,.allocation-callout,.selection-footer{align-items:flex-start;flex-direction:column}
}


/* CELLAR v2.1 - Club Run date validation / editing */
.club-run-header-actions{display:flex;align-items:center;gap:12px}
.date-warning{
  background:#fff1d9;
  border:1px solid #e5c58e;
  border-left:5px solid #b88b5f;
  border-radius:9px;
  padding:14px 17px;
  margin:0 0 22px;
  line-height:1.45;
}
.date-warning a{color:#6d4c1d;text-decoration:underline;font-weight:700}
.edit-actions{display:flex;align-items:center;gap:12px;margin-top:18px}
.edit-actions .primary-btn{margin:0}
@media (max-width:700px){
  .club-run-header-actions,.edit-actions{align-items:flex-start;flex-direction:column}
}


/* CELLAR v3 - Mock payment simulator */
.metric-grid{grid-template-columns:repeat(6,1fr)}
.payment-summary{grid-template-columns:repeat(4,1fr)}
.simulation-badge{
  background:#f8e7c8;
  border:1px solid #dfba78;
  color:#6b4a12;
  border-radius:22px;
  padding:10px 15px;
  font-size:.72rem;
  font-weight:700;
  letter-spacing:.05em;
  white-space:nowrap
}
.mock-info-box{
  display:flex;
  flex-wrap:wrap;
  gap:10px 18px;
  background:#fff8eb;
  border:1px solid #e5c58e;
  border-left:5px solid #b88b5f;
  padding:14px 17px;
  border-radius:9px;
  margin-bottom:22px;
  font-size:.82rem
}
.mock-info-box strong{width:100%}
.mock-payment-form{display:flex;align-items:end;gap:10px;margin:14px 0}
.mock-payment-form .field-label{flex:1}
.mock-warning{
  background:#f7f3ed;
  border:1px solid #e5ddd4;
  padding:10px 12px;
  border-radius:8px;
  font-size:.77rem;
  margin-bottom:13px
}
.mock-token-label{color:#6d4c1d!important;font-weight:700}
.method-missing{color:#9b3e31;font-weight:700}
.compact-btn{padding:8px 11px;font-size:.7rem;white-space:nowrap}
.table-action{
  border:1px solid #c9beb3;
  background:#f1ebe4;
  border-radius:15px;
  padding:6px 9px;
  font-size:.68rem;
  cursor:pointer
}
.status.paid,.status.succeeded,.status.resolved{background:#dfeedd;color:#31562b}
.status.failed,.status.abandoned{background:#f2dddd;color:#7f352e}
.status.pending,.status.ready{background:#f6ecd0;color:#725d1c}
.mock-batch-panel{
  display:flex;
  justify-content:space-between;
  gap:24px;
  align-items:center;
  border-left:4px solid #b88b5f
}
.mock-batch-actions{display:flex;align-items:center;gap:10px}
.mock-batch-actions .primary-btn{margin:0}
@media (max-width:1150px){
  .metric-grid{grid-template-columns:repeat(3,1fr)}
}
@media (max-width:800px){
  .mock-payment-form,.mock-batch-panel,.mock-batch-actions{align-items:stretch;flex-direction:column}
  .payment-summary{grid-template-columns:repeat(2,1fr)}
}


/* CELLAR v3.1 - member identity on customer dashboard */
.customer-dashboard-heading{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:24px;
  margin-bottom:22px;
}
.member-identity-card{
  min-width:245px;
  background:#fff;
  border:1px solid #dfd7cf;
  border-left:4px solid #7e967c;
  border-radius:10px;
  padding:15px 17px;
}
.member-identity-card span{
  display:block;
  color:#7b756f;
  font-size:.7rem;
  text-transform:uppercase;
  letter-spacing:.08em;
  margin-bottom:5px;
}
.member-identity-card strong{
  display:block;
  font-family:"Cormorant Garamond",Georgia,serif;
  color:#3a4422;
  font-size:1.45rem;
  line-height:1.1;
}
.member-identity-card small{
  display:block;
  margin-top:5px;
  color:#807972;
}
@media (max-width:800px){
  .customer-dashboard-heading{flex-direction:column}
  .member-identity-card{width:100%;min-width:0}
}


/* CELLAR v3.2 - Australian date standard */
input[placeholder="dd/mm/yyyy"]{
  font-variant-numeric: tabular-nums;
}


/* CELLAR v3.3 - safe Club Run deletion */
.danger-zone{
  margin-top:24px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:32px;
  border:1px solid #ddb9b2;
  border-left:5px solid #a84436;
  background:#fffafa;
}
.danger-zone-copy{max-width:720px}
.danger-zone-copy h2{color:#73342b}
.danger-eyebrow{color:#a84436!important}
.delete-club-run-form{
  min-width:280px;
  display:flex;
  flex-direction:column;
  gap:10px;
}
.delete-club-run-form input{
  border-color:#cf9e96!important;
  background:#fff!important;
}
.danger-btn{
  border:1px solid #8f352a;
  background:#9f3d31;
  color:#fff;
  border-radius:22px;
  padding:11px 17px;
  font-weight:700;
  cursor:pointer;
}
.danger-btn:hover{filter:brightness(.94)}
@media (max-width:850px){
  .danger-zone{align-items:stretch;flex-direction:column}
  .delete-club-run-form{min-width:0;width:100%}
}


/* CELLAR v3.4 - privacy request / erasure workflow */
.privacy-summary{grid-template-columns:repeat(4,1fr)}
.privacy-principle-box{
  margin:0 0 22px;
  padding:14px 18px;
  border-radius:9px;
  border:1px solid #cbd6c8;
  border-left:5px solid #718a70;
  background:#f4f8f3;
  font-size:.84rem
}
.narrow-panel{max-width:850px}
.inline-filter select{min-width:190px}
.privacy-stage-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:10px;
  margin-bottom:22px
}
.privacy-stage{
  display:flex;
  gap:10px;
  align-items:center;
  padding:12px;
  border:1px solid #ded7cf;
  border-radius:9px;
  background:#f7f4f0
}
.privacy-stage span{
  width:25px;height:25px;border-radius:50%;
  display:grid;place-items:center;
  background:#d8d0c8;font-weight:700;font-size:.75rem
}
.privacy-stage.done{background:#edf4eb;border-color:#bfd0ba}
.privacy-stage.done span{background:#6f876d;color:#fff}
.privacy-inventory{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:10px
}
.privacy-inventory div{
  padding:12px;
  background:#f7f4ef;
  border-radius:8px
}
.privacy-inventory span{display:block;font-size:.72rem;color:#746f68}
.privacy-inventory strong{font-size:1.25rem;color:#394126}
.privacy-warning{
  margin:10px 0 14px;
  padding:11px 13px;
  background:#fff6e6;
  border:1px solid #e5c58e;
  border-radius:8px;
  font-size:.78rem
}
.privacy-danger-zone{
  border:1px solid #ddb9b2;
  border-left:5px solid #a84436;
  background:#fffafa
}
.privacy-erasure-form{
  max-width:360px;
  margin-top:18px;
  padding-top:18px;
  border-top:1px solid #ead0cb
}
.privacy-result{
  margin-top:15px;
  background:#eaf4e8;
  border:1px solid #bdd2b7;
  border-radius:8px;
  padding:12px
}
.privacy-complete-panel{border-left:5px solid #718a70}
.privacy-audit-note{background:#f8f6f2}
.privacy-customer-panel{border-left:4px solid #718a70}
.status.identitycheck,.status.verified,.status.retentionreview,.status.approved{
  background:#f6ecd0;color:#725d1c
}
.status.completed{background:#dfeedd;color:#31562b}
.status.cancelled,.status.refused{background:#eeeeee;color:#555}
@media(max-width:850px){
  .privacy-stage-grid,.privacy-inventory,.privacy-summary{grid-template-columns:repeat(2,1fr)}
}


/* CELLAR v3.5 - membership scheduling, payment hold and retry links */
.membership-rule-summary{grid-template-columns:repeat(4,1fr)}
.rules-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:12px
}
.rule-card{
  border:1px solid #ded7cf;
  border-radius:9px;
  padding:15px;
  background:#f8f5f0
}
.rule-card span{
  display:block;
  text-transform:uppercase;
  letter-spacing:.07em;
  font-size:.68rem;
  color:#7a746c;
  margin-bottom:5px
}
.rule-card strong{display:block;color:#394126;margin-bottom:7px}
.rule-card p{margin:0;font-size:.78rem;color:#706a63}
.rule-choice{
  display:flex;
  gap:12px;
  align-items:flex-start;
  border:1px solid #ded7cf;
  border-radius:9px;
  padding:14px;
  margin:10px 0;
  cursor:pointer
}
.rule-choice input{margin-top:4px}
.rule-choice strong,.rule-choice small{display:block}
.rule-choice small{margin-top:5px;color:#777069}
.apply-existing-rule{
  margin:20px 0!important;
  padding:14px!important;
  background:#fff6e6;
  border:1px solid #e5c58e;
  border-radius:8px
}
.membership-schedule-panel{border-left:4px solid #718a70}
.schedule-facts{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:10px;
  margin-bottom:16px
}
.schedule-facts div{
  background:#f7f4ef;
  border-radius:8px;
  padding:12px
}
.schedule-facts span{display:block;font-size:.7rem;color:#777069}
.schedule-facts strong{display:block;margin-top:4px;color:#394126}
.schedule-note{
  margin:12px 0;
  padding:10px 12px;
  border-radius:8px;
  background:#f7f4ef;
  font-size:.78rem
}
.retry-payment-shell{
  min-height:70vh;
  display:grid;
  place-items:center;
  padding:40px 20px;
  background:#efe9df
}
.retry-payment-card{
  width:min(620px,100%);
  background:#fff;
  border:1px solid #ddd4ca;
  border-radius:12px;
  padding:34px
}
.retry-order-summary{
  display:flex;
  justify-content:space-between;
  align-items:center;
  background:#f7f4ef;
  border-radius:8px;
  padding:14px 16px;
  margin:20px 0
}
.retry-success{
  margin-top:18px;
  padding:13px;
  background:#eaf4e8;
  border:1px solid #bdd2b7;
  border-radius:8px;
  color:#31562b;
  font-weight:700
}
.status.queued{background:#f6ecd0;color:#725d1c}
@media(max-width:950px){
  .rules-grid,.schedule-facts,.membership-rule-summary{grid-template-columns:repeat(2,1fr)}
}


/* CELLAR v3.6 - editable member-since + monthly processing option */
.member-since-editor{
  margin:16px 0 20px;
  padding:15px;
  border:1px solid #d8d1c9;
  border-radius:9px;
  background:#fbf8f3;
}
.schedule-recalc-check{
  align-self:end;
  margin-bottom:8px!important;
}
.processing-mode-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:12px;
  margin-bottom:18px;
}
.monthly-batch-day-field{
  max-width:420px;
}
.monthly-batch-day-field small{
  display:block;
  margin-top:6px;
  color:#746f68;
}
.monthly-batch-example{
  margin:14px 0 20px;
  padding:12px 14px;
  background:#f4f7f1;
  border:1px solid #cbd8c6;
  border-radius:8px;
  font-size:.8rem;
}
.soft-rule{
  border:0;
  border-top:1px solid #e2dbd3;
  margin:24px 0;
}
@media(max-width:850px){
  .processing-mode-grid{grid-template-columns:1fr}
}


/* CELLAR v3.7 - recurring selection window / reminder workflow */
.reminder-preference-form{
  margin-top:18px;
  padding-top:16px;
  border-top:1px solid #e2dbd3;
}
.selection-window-summary{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:8px;
  margin:12px 0 16px;
}
.selection-window-summary div{
  background:#f7f4ef;
  border-radius:8px;
  padding:10px 12px;
}
.selection-window-summary span{
  display:block;
  font-size:.68rem;
  text-transform:uppercase;
  letter-spacing:.05em;
  color:#777069;
}
.selection-window-summary strong{
  display:block;
  margin-top:4px;
  color:#394126;
}
.first-order-callout{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  margin-bottom:20px;
  padding:18px 20px;
  background:#f7f0e5;
  border:1px solid #ddcfbc;
  border-left:4px solid #b88b5f;
  border-radius:10px;
}
.portal-link{text-decoration:none;color:inherit}
.staff-edit-banner{
  margin:10px 0 16px;
  padding:11px 13px;
  background:#f4f7f1;
  border:1px solid #cbd8c6;
  border-radius:8px;
  font-size:.8rem;
}
@media(max-width:850px){
  .selection-window-summary{grid-template-columns:1fr}
  .first-order-callout{align-items:stretch;flex-direction:column}
}


/* CELLAR v3.8 - member store testing */
.member-store-order{display:flex;justify-content:space-between;gap:24px;align-items:center;width:min(1180px,calc(100% - 40px));margin:0 auto 20px;padding:20px 22px;border:1px solid #d8d0c5;border-left:4px solid #66765b;border-radius:10px;background:#f7f3ec}
.member-store-summary{min-width:150px;padding:14px 18px;text-align:center;background:#fff;border:1px solid #ddd5ca;border-radius:9px}.member-store-summary span,.member-store-summary small{display:block}.member-store-summary strong{display:block;font-family:"Cormorant Garamond",serif;font-size:2.4rem;color:#34452d;line-height:1;margin:4px 0}
.store-login-notice,.store-lock-notice{width:min(1180px,calc(100% - 40px));margin:0 auto 20px;padding:13px 16px;border-radius:8px;background:#f7f3ec;border:1px solid #ddd5ca}.store-lock-notice{background:#fff3df;border-color:#e4c89b}
.store-qty-label{display:flex;align-items:center;justify-content:center;gap:8px;margin-top:12px;font-size:.78rem;font-weight:700}.store-qty-input{width:68px;padding:8px;text-align:center;border:1px solid #bdb6ad;border-radius:6px;background:#fff}
.store-side-summary{margin-top:20px;padding:12px;border:1px solid #ddd5ca;border-radius:8px;background:#fff}.store-side-summary span,.store-side-summary strong{display:block}.store-side-summary span{margin-top:7px;font-size:.68rem;color:#777069;text-transform:uppercase;letter-spacing:.04em}
.store-selection-bar{position:sticky;bottom:0;z-index:15;display:flex;justify-content:space-between;align-items:center;gap:20px;width:min(1180px,calc(100% - 40px));margin:20px auto;padding:16px 20px;background:#fff;border:1px solid #cfc7bc;border-radius:10px;box-shadow:0 -5px 22px rgba(0,0,0,.08)}.store-selection-bar span,.store-selection-bar strong,.store-selection-bar small{display:block}.store-selection-bar strong{font-size:1.15rem;color:#34452d}.store-selection-bar button:disabled{opacity:.55;cursor:not-allowed}@media(max-width:800px){.member-store-order,.store-selection-bar{flex-direction:column;align-items:stretch}}


/* CELLAR v3.9 - operational order calendar */
.calendar-top{align-items:center}
.calendar-view-toggle{
  display:flex;
  border:1px solid #cfc7bc;
  border-radius:8px;
  overflow:hidden;
  background:#fff;
}
.calendar-view-toggle a{
  padding:9px 14px;
  text-decoration:none;
  color:#4a5140;
  border-right:1px solid #dcd4ca;
  font-weight:700;
  font-size:.78rem;
}
.calendar-view-toggle a:last-child{border-right:0}
.calendar-view-toggle a.active{background:#45563d;color:#fff}
.calendar-toolbar{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:16px;
  margin:18px 0;
}
.calendar-toolbar h2{margin:0}
.calendar-nav{display:flex;gap:8px;flex-wrap:wrap}
.calendar-summary{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:12px;
  margin-bottom:18px;
}
.calendar-week{
  display:grid;
  grid-template-columns:repeat(7,minmax(150px,1fr));
  gap:8px;
  overflow-x:auto;
}
.calendar-day-column{
  min-height:460px;
  border:1px solid #ddd5ca;
  border-radius:9px;
  background:#fff;
}
.calendar-day-column>header{
  padding:11px;
  border-bottom:1px solid #e6ded4;
  background:#f7f3ed;
}
.calendar-day-column>header span,.calendar-day-column>header strong{display:block}
.calendar-day-column.today,.calendar-month-day.today{
  outline:2px solid #71866a;
  outline-offset:-2px;
}
.calendar-day-events{
  display:flex;
  flex-direction:column;
  gap:6px;
  padding:8px;
}
.calendar-member{
  display:block;
  width:100%;
  border:1px solid #ccd4c8;
  background:#edf3ea;
  color:#31422d;
  border-radius:6px;
  padding:7px 8px;
  text-align:left;
  cursor:pointer;
  font:inherit;
  font-size:.74rem;
  font-weight:700;
}
.calendar-member:hover{background:#dde9d9;border-color:#9eb096}
.calendar-member.compact{padding:4px 6px;font-size:.68rem;margin:3px 0}
.calendar-empty{padding:10px;color:#999189;font-size:.72rem}
.calendar-month{
  border:1px solid #d8d0c5;
  border-radius:10px;
  overflow:hidden;
  background:#fff;
}
.calendar-month-head,.calendar-month-row{
  display:grid;
  grid-template-columns:repeat(7,1fr);
}
.calendar-month-head{
  background:#46553e;
  color:#fff;
  font-size:.74rem;
  font-weight:700;
}
.calendar-month-head>div{
  padding:9px 10px;
  border-right:1px solid rgba(255,255,255,.12);
}
.calendar-month-day{
  min-height:145px;
  border-right:1px solid #e6ded4;
  border-top:1px solid #e6ded4;
  background:#fff;
}
.calendar-month-day.outside{background:#f7f5f2;opacity:.6}
.calendar-date-number{
  padding:7px 8px 0;
  font-weight:700;
  color:#5b6154;
}
.calendar-year{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:14px;
}
.calendar-year-month{
  border:1px solid #ddd5ca;
  border-radius:9px;
  background:#fff;
  overflow:hidden;
}
.calendar-year-month>header{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:10px 12px;
  background:#f7f3ed;
  border-bottom:1px solid #e5ddd3;
}
.calendar-year-month h3{margin:0}
.calendar-year-month>header span{font-size:.7rem;color:#777069}
.calendar-year-events{
  padding:8px 10px 12px;
  max-height:300px;
  overflow:auto;
}
.calendar-year-day{
  display:grid;
  grid-template-columns:30px 1fr;
  gap:6px;
  padding:5px 0;
  border-bottom:1px solid #f0ebe5;
}
.calendar-year-day>strong{
  font-size:.72rem;
  color:#6c7466;
  padding-top:4px;
}
.calendar-tooltip{
  position:fixed;
  z-index:1000;
  width:330px;
  max-width:calc(100vw - 28px);
  background:#243221;
  color:#fff;
  border-radius:9px;
  padding:14px;
  box-shadow:0 12px 35px rgba(0,0,0,.25);
  pointer-events:none;
}
.calendar-tooltip-title{
  font-family:"Cormorant Garamond",serif;
  font-size:1.25rem;
  font-weight:700;
  margin-bottom:9px;
}
.calendar-tooltip-grid>div{
  display:grid;
  grid-template-columns:105px 1fr;
  gap:8px;
  margin:4px 0;
}
.calendar-tooltip-grid span{color:#c8d1c4;font-size:.7rem}
.calendar-tooltip-grid strong{font-size:.72rem}
.calendar-tooltip-note{
  margin:10px 0 3px;
  padding-top:9px;
  border-top:1px solid rgba(255,255,255,.18);
  font-size:.72rem;
  line-height:1.45;
}
.calendar-tooltip small{display:block;margin-top:9px;color:#c8d1c4}
@media(max-width:1100px){
  .calendar-year{grid-template-columns:repeat(2,1fr)}
  .calendar-summary{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:760px){
  .calendar-top,.calendar-toolbar{align-items:stretch;flex-direction:column}
  .calendar-year{grid-template-columns:1fr}
}


/* CELLAR v3.10 - first-selection onboarding and dashboard allocation summary */
.next-selection-detail{
  margin:0 0 18px;
  padding:18px 20px;
  border:1px solid #d7d0c6;
  border-radius:10px;
  background:#fff;
}
.next-selection-detail-head{
  display:flex;
  justify-content:space-between;
  gap:20px;
  align-items:flex-start;
  margin-bottom:14px;
}
.next-selection-detail-head h2{margin:3px 0 5px}
.next-selection-count{
  min-width:118px;
  padding:10px 14px;
  text-align:center;
  background:#f4efe6;
  border-radius:8px;
}
.next-selection-count strong{
  display:block;
  font-family:"Cormorant Garamond",serif;
  font-size:2rem;
  color:#3f512f;
  line-height:1;
}
.next-selection-count span{
  display:block;
  margin-top:3px;
  font-size:.72rem;
  color:#6e675f;
}
.next-selection-list{border-top:1px solid #ece5dc}
.next-selection-row{
  display:flex;
  justify-content:space-between;
  gap:18px;
  padding:10px 0;
  border-bottom:1px solid #ece5dc;
}
.next-selection-row strong,
.next-selection-row small{display:block}
.next-selection-row small{margin-top:2px;color:#7b746c}
.next-selection-row>span{
  white-space:nowrap;
  font-weight:700;
  color:#3f512f;
}
.next-selection-empty{
  padding:12px 0;
  color:#756f68;
}
.selection-change-btn{
  display:inline-block;
  margin-top:14px;
}
@media(max-width:760px){
  .next-selection-detail-head{flex-direction:column}
  .next-selection-count{width:100%}
}


/* CELLAR v3.10.2 - welcoming first Wine Club selection */
.member-store-order.first-selection-welcome{
  border-left-width:5px;
  background:linear-gradient(135deg,#fbf7ef 0%,#f2e8d8 100%);
}
.first-selection-welcome h2{
  font-size:2rem;
  margin:4px 0 8px;
}
.first-selection-lead{
  margin:0 0 8px;
  font-family:"Cormorant Garamond",serif;
  font-size:1.35rem;
  font-weight:600;
  color:#455630;
}
.member-store-dates{
  margin-top:13px;
  color:#6f685f;
  font-size:.82rem;
}


/* CELLAR v3.10.3 - allocation counter / confirm state */
#allocate-button:disabled{
  opacity:.55;
  cursor:not-allowed;
}
#allocate-button:not(:disabled){
  opacity:1;
  cursor:pointer;
}


/* CELLAR v4.0 - staff security, operations, calendar states, CRM and reporting */
.staff-auth-page{
  min-height:100vh;display:grid;place-items:center;background:#f3eee6;padding:30px;
}
.staff-auth-card{
  width:min(460px,100%);background:#fff;border:1px solid #d8d0c5;border-radius:12px;
  padding:28px;box-shadow:0 15px 45px rgba(0,0,0,.08);
}
.staff-auth-card h1{margin-top:4px}
.sidebar-search{margin:14px 0}
.sidebar-search input{
  width:100%;box-sizing:border-box;padding:9px 10px;border:1px solid rgba(255,255,255,.18);
  border-radius:6px;background:rgba(255,255,255,.08);color:#fff;
}
.sidebar-search input::placeholder{color:rgba(255,255,255,.62)}
.staff-account{
  margin-top:auto;padding-top:15px;border-top:1px solid rgba(255,255,255,.15);
  display:flex;flex-direction:column;gap:3px;
}
.staff-account small{opacity:.7}.staff-account a{color:#fff;font-size:.76rem;margin-top:5px}

.calendar-legend{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 14px}
.legend-chip{padding:6px 9px;border-radius:6px;font-size:.72rem;font-weight:700}
.calendar-member{display:flex!important;justify-content:space-between;align-items:center;gap:6px}
.calendar-state-staff-pending{background:#f5dfbd!important;border-color:#ddb878!important;color:#6e4b19!important}
.calendar-state-member-selected{background:#dceaf7!important;border-color:#9bbbd8!important;color:#294f73!important}
.calendar-state-shipped{background:#dcefdc!important;border-color:#94bf93!important;color:#28562b!important}
.calendar-state-payment-failed{background:#f5dada!important;border-color:#d99b9b!important;color:#772e2e!important}
.calendar-payment-icon{font-size:1rem;font-weight:900}
.calendar-state-shipped .calendar-payment-icon{color:#168b27}
.calendar-state-payment-failed .calendar-payment-icon{color:#d30d0d}

.staff-user-row{display:grid;grid-template-columns:1fr auto auto;gap:8px;align-items:center;padding:10px 0;border-bottom:1px solid #ece6df}
.staff-user-row small{display:block;color:#777}
.inline-reset{display:flex;gap:5px}.inline-reset input{max-width:150px}

.flag-form{display:grid;grid-template-columns:220px 1fr auto;gap:8px}
.member-flag{display:flex;justify-content:space-between;gap:16px;padding:11px 13px;margin:7px 0;border-radius:8px;background:#fff1d6;border:1px solid #e2c78d}
.member-flag strong,.member-flag span,.member-flag small{display:block}
.member-flag small{margin-top:3px;color:#766b59}

.current-wineclub-order{border-left:4px solid #65785a}
.order-money{text-align:right}.order-money span,.order-money strong{display:block}.order-money strong{font-size:1.6rem;color:#39502e}
.order-state-alert{padding:10px 12px;border-radius:7px;margin:10px 0;font-weight:700}
.order-state-alert.failed{background:#f8dddd;color:#822e2e}.order-state-alert.paid{background:#e1f0df;color:#315d31}
.staff-current-selection-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:7px;margin:13px 0}
.staff-wine-row{display:flex;justify-content:space-between;align-items:center;gap:12px;border:1px solid #ddd6cd;border-radius:7px;padding:9px 10px}
.staff-wine-row span,.staff-wine-row small{display:block}.staff-wine-row small{color:#777}.staff-wine-row input{width:62px}
.staff-wine-row.low-stock{background:#fff1dc;border-color:#e1b875}
.current-order-lines>div{display:flex;justify-content:space-between;padding:8px 0;border-bottom:1px solid #eee8e1}
.current-order-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:15px}
.stock-low{color:#b65016;font-weight:800}

.report-filter select[multiple]{min-height:160px}
.report-actions{display:flex;gap:8px;margin-top:12px}
.global-search-page{display:flex;gap:8px}.global-search-page input{flex:1;padding:10px}
@media(max-width:800px){
  .flag-form,.staff-current-selection-grid{grid-template-columns:1fr}
  .staff-user-row{grid-template-columns:1fr}
}


/* CELLAR v4.0.1 - staff identity/password reset + flash auto-dismiss */
.staff-forgot-link{
  display:inline-block;
  margin-top:12px;
  color:#4c5c39;
  font-size:.82rem;
}
.dev-reset-preview{
  margin-top:18px;
  padding:12px 14px;
  border:1px solid #d9cba9;
  border-radius:8px;
  background:#faf4e7;
}
.dev-reset-preview strong,
.dev-reset-preview span,
.dev-reset-preview a{display:block}
.dev-reset-preview span{margin:4px 0 8px;font-size:.78rem;color:#70695f}

.auto-dismiss-flash{
  transition:opacity .45s ease, transform .45s ease;
}
.flash-fade-out{
  opacity:0!important;
  transform:translateY(-6px);
  pointer-events:none;
}


/* CELLAR v4.0.4 - Communications / Email Templates */
.staff-nav-section{
  display:block;
  margin:16px 14px 5px;
  font-size:.62rem;
  letter-spacing:.14em;
  opacity:.55;
  font-weight:700;
}
.email-template-metrics{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
  margin-bottom:18px;
}
.email-tabs{
  display:flex;
  gap:8px;
  margin-bottom:18px;
  border-bottom:1px solid #ddd3bd;
}
.email-tabs a{
  padding:10px 16px;
  text-decoration:none;
  color:#4e553f;
  border-bottom:3px solid transparent;
  font-weight:700;
}
.email-tabs a.active{
  border-bottom-color:#4e5d3c;
}
.assignment-list{
  display:grid;
  gap:10px;
}
.assignment-row{
  display:grid;
  grid-template-columns:minmax(280px,1.5fr) minmax(240px,1fr) 110px;
  gap:18px;
  align-items:center;
  padding:14px;
  border:1px solid #e1d8c4;
  border-radius:9px;
  background:#fffdf8;
}
.assignment-copy{
  display:grid;
  gap:4px;
}
.assignment-copy small{
  color:#786f62;
}
.assignment-copy code{
  width:max-content;
  font-size:.68rem;
  color:#756e64;
}
.wired-badge,.future-badge{
  width:max-content;
  padding:2px 7px;
  border-radius:999px;
  font-size:.58rem;
  letter-spacing:.08em;
  font-weight:800;
}
.wired-badge{
  background:#e4eddb;
  color:#3d5b35;
}
.future-badge{
  background:#efede7;
  color:#777168;
}
.assignment-toggle{
  display:flex;
  align-items:center;
  gap:7px;
  font-size:.8rem;
  font-weight:700;
}
.email-editor-layout{
  display:grid;
  grid-template-columns:minmax(0,1.7fr) minmax(330px,.85fr);
  gap:18px;
  align-items:start;
}
.two-col-fields{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
}
.email-format-toolbar{
  display:flex;
  gap:5px;
  padding:7px;
  background:#f3efe5;
  border:1px solid #ddd3bd;
  border-bottom:0;
  border-radius:7px 7px 0 0;
}
.email-format-toolbar button{
  border:1px solid #cec4ae;
  background:#fffdf9;
  border-radius:5px;
  padding:5px 9px;
  cursor:pointer;
}
.email-format-toolbar + textarea{
  border-radius:0 0 7px 7px;
  font-family:ui-monospace,SFMono-Regular,Consolas,monospace;
  font-size:.78rem;
}
.checkbox-card{
  display:flex;
  gap:10px;
  padding:12px;
  border:1px solid #dcd2bd;
  border-radius:8px;
  margin:12px 0;
  background:#faf7ef;
}
.checkbox-card span{
  display:grid;
  gap:2px;
}
.checkbox-card small{
  color:#746d62;
}
.email-editor-actions{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}
.variable-list{
  display:grid;
  gap:7px;
  max-height:430px;
  overflow:auto;
}
.variable-chip{
  text-align:left;
  display:grid;
  gap:2px;
  padding:9px;
  border:1px solid #ddd4c2;
  border-radius:7px;
  background:#fffdf9;
  cursor:pointer;
}
.variable-chip:hover{
  background:#f5f0e5;
}
.variable-chip code{
  font-size:.72rem;
  color:#46543a;
}
.variable-chip small{
  color:#776f64;
}
.small-note{
  margin-top:12px;
  font-size:.72rem;
}
.email-preview-subject{
  display:grid;
  gap:3px;
  margin-bottom:9px;
}
.email-preview-subject span{
  text-transform:uppercase;
  letter-spacing:.09em;
  font-size:.62rem;
  color:#81786d;
}
#email-preview-frame{
  width:100%;
  min-height:360px;
  border:1px solid #dcd3c1;
  border-radius:7px;
  background:#fff;
}
#preview-text{
  white-space:pre-wrap;
  font-size:.72rem;
  background:#f7f4ed;
  padding:10px;
  border-radius:6px;
}
.email-assigned-banner{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  align-items:center;
  padding:10px 14px;
  margin-bottom:14px;
  background:#eef2e9;
  border:1px solid #d3dcc9;
  border-radius:8px;
}
.email-assigned-banner span{
  padding:3px 7px;
  border-radius:999px;
  background:#fff;
  font-size:.72rem;
}
@media (max-width: 1000px){
  .email-editor-layout{grid-template-columns:1fr}
  .assignment-row{grid-template-columns:1fr}
  .email-template-metrics{grid-template-columns:repeat(2,1fr)}
}

/* CELLAR v4.0.5 - communications history, product management, dev purge */
.staff-top-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.email-transport-state{display:flex;gap:12px;align-items:center;padding:12px 14px;border-radius:8px;margin-bottom:14px;border:1px solid #d9d0bd}
.email-transport-state span{font-size:.78rem;color:#696358}
.email-transport-state.ok{background:#edf3e8;border-color:#ccd9c2}
.email-transport-state.warning{background:#fbf1df;border-color:#ead4aa}
.email-history-filter{display:flex;gap:7px;margin:0 0 14px;flex-wrap:wrap}
.email-history-filter a{padding:6px 10px;border:1px solid #d8cfbc;border-radius:999px;text-decoration:none;color:#535a46;font-size:.75rem;background:#fffdf8}
.email-history-filter a.active{background:#4e5d3c;color:#fff;border-color:#4e5d3c}
.email-history-table td{vertical-align:top}
.email-history-table td small{display:block;margin-top:3px;color:#777064}
.group-email-row{background:#faf7ef}
.danger-text{color:#9d3f38!important}
.product-admin-table td{vertical-align:middle}
.product-admin-table td small{display:block;margin-top:3px;color:#777064}
.product-thumb-cell{width:58px}
.product-thumb{width:48px;height:58px;object-fit:contain;border-radius:5px;background:#f6f1e7;border:1px solid #ddd3bd}
.product-thumb.placeholder{display:flex;align-items:center;justify-content:center;font-size:.55rem;letter-spacing:.08em;color:#80786c}
.product-editor-layout{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(300px,.7fr);gap:18px;align-items:start}
.product-image-panel{position:sticky;top:18px}
.product-edit-image{display:block;width:100%;max-height:460px;object-fit:contain;background:#f7f2e8;border:1px solid #ded4bf;border-radius:8px;margin:10px 0 14px}
.product-image-empty{min-height:240px;display:flex;align-items:center;justify-content:center;background:#f7f2e8;border:1px dashed #d1c7b1;border-radius:8px;color:#827a6e;margin:10px 0 14px}
.product-toggles{margin:12px 0}
.wine-product-image-wrap{height:260px;display:flex;align-items:center;justify-content:center;padding:8px;background:#f6f1e7;border-radius:6px}
.wine-product-image{max-width:100%;max-height:100%;object-fit:contain}
.wine-card-description{font-size:.78rem;color:#6f685d;line-height:1.45;min-height:2.4em}
.dev-purge-panel{border:1px solid #d9a4a0;background:#fff7f6}
.dev-purge-panel h2{color:#8d332e}
.dev-purge-form{display:grid;grid-template-columns:1fr 1fr auto;gap:10px;align-items:end}
.danger-btn{border:0;border-radius:6px;padding:11px 14px;background:#8e302c;color:#fff;font-weight:800;letter-spacing:.03em;cursor:pointer}
.danger-btn:hover{background:#762722}
@media (max-width:1000px){.product-editor-layout{grid-template-columns:1fr}.product-image-panel{position:static}.dev-purge-form{grid-template-columns:1fr}}

.customer-wine-image{width:54px;height:88px;object-fit:contain;background:#f6f1e7;border-radius:5px}


/* CELLAR v4.0.6 - Email Settings */
.email-settings-layout{
  display:grid;
  grid-template-columns:minmax(0,1.7fr) minmax(300px,.8fr);
  gap:18px;
  align-items:start;
}
.settings-facts{
  display:grid;
  gap:10px;
}
.settings-facts div{
  display:grid;
  gap:3px;
  padding:9px 0;
  border-bottom:1px solid #e6decd;
}
.settings-facts span{
  color:#81786d;
  font-size:.68rem;
  text-transform:uppercase;
  letter-spacing:.08em;
}
.settings-facts strong{
  font-size:.84rem;
}
.email-transport-state a{
  color:inherit;
  font-weight:800;
}
@media (max-width: 900px){
  .email-settings-layout{grid-template-columns:1fr}
}


/* CELLAR v4.0.6.1 - dynamic staff member wine selection */
.staff-selection-toolbar,
.staff-selection-savebar{
  display:flex;
  justify-content:space-between;
  gap:18px;
  align-items:center;
  margin:14px 0;
}
.staff-selection-toolbar > div:first-child{
  display:grid;
  gap:3px;
}
.staff-selection-toolbar small{
  color:#746f67;
}
.staff-selection-counter{
  min-width:120px;
  text-align:center;
  padding:9px 14px;
  background:#f3eee3;
  border-radius:9px;
}
.staff-selection-counter span,
.staff-selection-counter strong,
.staff-selection-counter small{
  display:block;
}
.staff-selection-counter strong{
  font-size:1.45rem;
  color:#3b512f;
}
.staff-current-selection-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(360px,1fr));
  gap:10px;
  margin:13px 0;
}
.staff-wine-card{
  display:grid;
  grid-template-columns:70px minmax(0,1fr) auto;
  gap:12px;
  align-items:center;
  border:1px solid #ddd6cd;
  border-radius:9px;
  padding:10px;
  background:#fff;
  min-width:0;
}
.staff-wine-card.low-stock{
  background:#fff7e8;
  border-color:#e1b875;
}
.staff-wine-image{
  width:70px;
  height:86px;
  border-radius:7px;
  overflow:hidden;
  background:#f1ede4;
  display:grid;
  place-items:center;
}
.staff-wine-image img{
  width:100%;
  height:100%;
  object-fit:contain;
  background:#fff;
}
.staff-wine-image-placeholder{
  font-size:.62rem;
  letter-spacing:.12em;
  color:#948a78;
  font-weight:800;
}
.staff-wine-copy{
  min-width:0;
}
.staff-wine-copy > strong{
  display:block;
  font-size:.98rem;
  line-height:1.15;
}
.staff-wine-copy > small{
  display:block;
  color:#777;
  margin-top:3px;
}
.staff-wine-copy p{
  margin:6px 0;
  color:#655f56;
  font-size:.76rem;
  line-height:1.3;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.staff-wine-facts{
  display:flex;
  flex-wrap:wrap;
  gap:6px 14px;
  font-size:.75rem;
  margin-top:6px;
}
.staff-wine-qty{
  min-width:124px;
  text-align:center;
}
.staff-wine-qty > span{
  display:block;
  font-size:.62rem;
  text-transform:uppercase;
  letter-spacing:.08em;
  color:#81786d;
  margin-bottom:4px;
}
.quantity-stepper{
  display:grid;
  grid-template-columns:34px 54px 34px;
  align-items:stretch;
  border:1px solid #cfc8be;
  border-radius:999px;
  overflow:hidden;
  background:#fff;
}
.quantity-stepper button{
  border:0;
  background:#f5f1e8;
  font-size:1.05rem;
  cursor:pointer;
  min-height:38px;
}
.quantity-stepper button:hover{
  background:#ebe4d6;
}
.quantity-stepper input{
  width:54px!important;
  min-width:54px;
  border:0!important;
  border-left:1px solid #ded6ca!important;
  border-right:1px solid #ded6ca!important;
  border-radius:0!important;
  text-align:center;
  font-size:.9rem;
  font-weight:700;
  padding:6px 2px!important;
  appearance:textfield;
}
.quantity-stepper input::-webkit-outer-spin-button,
.quantity-stepper input::-webkit-inner-spin-button{
  -webkit-appearance:none;
  margin:0;
}
.staff-selection-savebar{
  padding-top:4px;
  margin-bottom:0;
}
.staff-selection-savebar span{
  color:#665f55;
  font-size:.8rem;
}
.dev-purge-disabled code{
  background:#f2eee6;
  padding:2px 5px;
  border-radius:4px;
}
@media(max-width:760px){
  .staff-selection-toolbar,
  .staff-selection-savebar{align-items:flex-start;flex-direction:column}
  .staff-current-selection-grid{grid-template-columns:1fr}
  .staff-wine-card{grid-template-columns:58px minmax(0,1fr)}
  .staff-wine-image{width:58px;height:74px}
  .staff-wine-qty{grid-column:1 / -1;justify-self:end}
}


/* CELLAR v4.0.7 - Cellar Door processing notifications */
.cellar-door-email-settings{
  margin-top:22px;
  padding-top:20px;
  border-top:1px solid #dfd5c2;
}
.processing-email-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
  margin:12px 0 18px;
}
.processing-email-card{
  border:1px solid #ddd4c1;
  border-radius:9px;
  padding:12px;
  background:#fbf8f1;
}
.compact-check{
  margin-top:9px;
}
.stacked-actions{
  display:grid;
  gap:8px;
}
.stacked-actions form,
.stacked-actions button{
  width:100%;
}
@media(max-width:800px){
  .processing-email-grid{grid-template-columns:1fr}
}


/* CELLAR v4.0.7.5 - public member email link status */
.public-link-state{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:16px;
  margin:0 0 16px;
  padding:12px 14px;
  border:1px solid #d8d0c1;
  border-radius:9px;
}
.public-link-state > div{
  display:grid;
  gap:3px;
}
.public-link-state span{
  overflow-wrap:anywhere;
}
.public-link-state.ok{
  background:#eef5e8;
  border-color:#cddcbd;
}
.public-link-state.warning{
  background:#fff5e3;
  border-color:#e6c98f;
}
@media(max-width:720px){
  .public-link-state{align-items:flex-start;flex-direction:column}
}


/* CELLAR v4.0.8 - wine catalogue actions */
.product-admin-actions,
.product-row-actions,
.product-list-tabs{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
}
.product-admin-actions form,
.product-row-actions form{margin:0}
.product-list-tabs{margin:0 0 14px}
.product-list-tabs a{
  display:inline-flex;
  gap:8px;
  align-items:center;
  padding:9px 14px;
  border:1px solid #d8d0c1;
  border-radius:999px;
  text-decoration:none;
  color:inherit;
  background:#fff;
}
.product-list-tabs a.active{
  background:#35451f;
  color:#fff;
  border-color:#35451f;
}
.product-list-tabs span{
  min-width:22px;
  text-align:center;
  border-radius:999px;
  padding:1px 6px;
  background:rgba(128,128,128,.15);
}
.info-strip{
  margin:0 0 14px;
  padding:12px 14px;
  background:#f7f2e9;
  border:1px solid #dfd3bf;
  border-radius:9px;
}
.link-button{
  border:0;
  padding:0;
  background:none;
  font:inherit;
  text-decoration:underline;
  cursor:pointer;
}


/* CELLAR v4.0.9 - demonstration dataset */
.demo-badge{
  display:inline-block;
  margin-left:6px;
  padding:2px 7px;
  border-radius:999px;
  font:700 10px/1.4 Arial,sans-serif;
  letter-spacing:.08em;
  vertical-align:middle;
  background:#efe2b7;
  color:#5e4713;
  border:1px solid #d9c37e;
}
.demo-warning{
  display:flex;
  flex-direction:column;
  gap:4px;
  margin:0 0 16px;
  padding:13px 15px;
  border:1px solid #d9c37e;
  border-radius:9px;
  background:#fff8df;
}
.demo-summary{margin-bottom:16px}
.demo-status-grid{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:8px;
  margin:14px 0;
}
.demo-status-grid > div{
  display:grid;
  gap:2px;
  padding:10px;
  border:1px solid #ddd4c1;
  border-radius:8px;
  background:#faf7f0;
  text-align:center;
}
.demo-status-grid strong{font-size:20px}
.demo-status-grid span{font-size:12px;color:#6c665c}
.danger-panel{border-color:#d8b3ae}
.danger-btn{
  border:1px solid #9f3f35;
  border-radius:999px;
  padding:11px 18px;
  background:#9f3f35;
  color:#fff;
  cursor:pointer;
}
.confirm-form{display:grid;gap:12px;margin-top:14px}
.table td small{display:block;margin-top:3px}
@media(max-width:800px){
  .demo-status-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}


/* CELLAR v4.0.10 - order history and order detail */
.order-row{cursor:pointer}
.order-row:hover td{background:#faf7f1}
.order-row:focus{outline:2px solid #8da483;outline-offset:-2px}
.order-row-actions{display:flex;align-items:center;gap:9px}
.order-row-actions form{margin:0}
.order-table-hint{
  margin:8px 0 12px;
  color:#756f69;
  font-size:.82rem;
}
.order-detail-heading,
.staff-order-state{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:22px;
}
.order-detail-heading{margin-bottom:22px}
.order-detail-heading h1{margin:.2rem 0}
.order-detail-state,
.staff-order-state{
  flex-direction:column;
  align-items:flex-end;
}
.order-detail-state strong,
.staff-order-state strong{
  font-family:"Cormorant Garamond",serif;
  font-size:2rem;
  color:var(--primary);
}
.order-detail-summary{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
  margin-bottom:20px;
}
.order-detail-summary > div{
  padding:16px;
  border-radius:9px;
  background:#eee3d7;
}
.order-detail-summary span{
  display:block;
  color:#756f69;
  font-size:.8rem;
  margin-bottom:5px;
}
.order-detail-summary strong{
  font-family:"Cormorant Garamond",serif;
  font-size:1.25rem;
  color:var(--primary);
}
.order-totals{
  width:min(420px,100%);
  margin:20px 0 0 auto;
}
.order-totals > div{
  display:flex;
  justify-content:space-between;
  gap:20px;
  padding:7px 0;
  border-bottom:1px solid #eee;
}
.order-totals .grand{
  margin-top:4px;
  padding-top:12px;
  border-top:2px solid #d8d0c1;
  border-bottom:0;
  font-size:1.12rem;
}
.back-link{
  display:inline-block;
  margin-bottom:8px;
  color:#53613b;
  text-decoration:none;
}
.table td small{
  display:block;
  margin-top:3px;
  color:#756f69;
}
@media(max-width:800px){
  .order-detail-summary{grid-template-columns:1fr 1fr}
  .order-detail-heading{flex-direction:column}
  .order-detail-state{align-items:flex-start}
}

/* CELLAR v4.1.0 - Stripe Test gateway */
.saved-card-row{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:14px 0;border-bottom:1px solid #e8e0d4}.saved-card-row small{display:block;margin-top:4px;color:#756f69}.stripe-payment-element{margin:14px 0 18px;padding:16px;border:1px solid #ddd4c1;border-radius:9px;background:#fff}.stripe-test-note,.stripe-security-note{margin:16px 0;padding:13px 15px;border:1px solid #d9c37e;border-radius:9px;background:#fff8df}.stripe-security-note{display:flex;flex-direction:column;gap:4px}.stripe-webhook-url{display:block;padding:12px 14px;overflow-wrap:anywhere;border:1px solid #d8d0c1;border-radius:7px;background:#faf7f0}.settings-form{display:grid;gap:14px;max-width:760px}


/* ========================================================================== */
/* CELLAR v4.1.1 - RESPONSIVE UI & MEMBER EXPERIENCE                          */
/* ========================================================================== */
html{scroll-padding-top:120px}
body{overflow-x:hidden}
img{max-width:100%}
button,a,input,select,textarea{touch-action:manipulation}
.mobile-nav-toggle,.mobile-site-nav,.staff-mobile-bar,.staff-sidebar-backdrop,.wine-mobile-toolbar,.filter-close{display:none}

/* Public navigation */
.mobile-nav-toggle{
  border:1px solid #bfb4a6;
  border-radius:999px;
  background:#fff;
  color:#3a4422;
  min-height:44px;
  padding:0 15px;
  font-weight:700;
  letter-spacing:.08em;
}
.mobile-site-nav{
  position:sticky;
  top:86px;
  z-index:29;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:1px;
  background:#ddd3c7;
  border-bottom:1px solid #d5cabc;
  box-shadow:0 8px 18px rgba(0,0,0,.08);
}
.mobile-site-nav:not([hidden]){display:grid}
.mobile-site-nav a{
  min-height:48px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#f8f1e9;
  font-size:.73rem;
  letter-spacing:.13em;
  font-weight:700;
}
.mobile-site-nav a.active{color:#66765b;background:#f2eadf}

/* Wine store */
.wine-hero{
  min-height:176px;
  height:auto;
  padding:35px 20px;
  text-align:center;
}
.wine-hero-kicker{
  margin:0 0 7px;
  color:#d4b493;
  font-size:.66rem;
  letter-spacing:.26em;
  font-weight:700;
}
.wine-hero h1{font-size:clamp(2.2rem,4vw,3.25rem)}
.wine-hero .divider{margin:13px auto 12px}
.wine-hero-subtitle{margin:0;color:rgba(255,255,255,.78);font-size:.9rem}

.member-store-order{
  width:min(1180px,calc(100% - 48px));
  margin:28px auto 22px;
  padding:26px 28px;
  border-radius:14px;
  box-shadow:0 8px 26px rgba(58,45,32,.04);
}
.member-store-copy{max-width:780px}
.member-store-order.first-selection-welcome{
  position:relative;
  overflow:hidden;
  background:linear-gradient(135deg,#fffaf2 0%,#f3e7d5 100%);
  border-color:#d9cdb9;
  border-left-color:#7e967c;
}
.member-store-order.first-selection-welcome::after{
  content:"";
  position:absolute;
  width:230px;
  height:230px;
  right:-100px;
  top:-120px;
  border-radius:50%;
  background:rgba(126,150,124,.09);
  pointer-events:none;
}
.first-selection-welcome h2{font-size:clamp(2rem,3.5vw,2.7rem);line-height:1.02}
.first-selection-lead{font-size:clamp(1.22rem,2vw,1.55rem)}
.welcome-benefits{display:flex;gap:9px;flex-wrap:wrap;margin:15px 0 5px}
.welcome-benefits span{
  display:inline-flex;
  align-items:center;
  min-height:34px;
  padding:7px 11px;
  border:1px solid #d9cfbd;
  border-radius:999px;
  background:rgba(255,255,255,.7);
  color:#526047;
  font-size:.75rem;
  font-weight:700;
}
.member-store-summary{
  position:relative;
  z-index:2;
  min-width:170px;
  padding:18px 20px;
  border-radius:12px;
  box-shadow:0 6px 18px rgba(0,0,0,.04);
}

#wine-selection-form{padding-bottom:105px}
.wine-layout{
  width:min(1180px,calc(100% - 48px));
  max-width:none;
  margin:38px auto 0;
  grid-template-columns:210px minmax(0,1fr);
  gap:38px;
  align-items:start;
}
.filter-panel{position:sticky;top:138px}
.filter-panel-head{display:flex;justify-content:space-between;align-items:center}
.products{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.product-card{
  display:flex;
  min-width:0;
  flex-direction:column;
  text-align:left;
  overflow:hidden;
  border:1px solid #e1d8ca;
  border-radius:14px;
  background:#fffaf3;
  box-shadow:0 8px 24px rgba(51,41,30,.045);
}
.wine-product-image-wrap{
  width:100%;
  height:clamp(330px,31vw,410px);
  padding:22px 18px 14px;
  border-radius:0;
  background:linear-gradient(180deg,#fff 0%,#f7f2e8 100%);
  overflow:hidden;
}
.wine-product-image{
  display:block;
  width:100%;
  height:100%;
  max-width:100%;
  max-height:100%;
  object-fit:contain;
  object-position:center center;
}
.wine-product-content{display:flex;flex:1;flex-direction:column;padding:16px 18px 18px}
.product-card h3{margin:0 0 6px;color:#3a4422;font-size:1rem;line-height:1.25}
.wine-card-description{min-height:0;margin:0 0 12px;font-size:.78rem;line-height:1.45;color:#716a61}
.wine-product-price{margin-top:auto;padding-top:4px;color:#3a4422}
.wine-product-price .member-price{display:block;font-size:.9rem;font-weight:700;color:#3a4422}
.wine-product-price small{display:block;margin-top:3px;color:#857c72;font-size:.72rem}
.store-qty-label{
  width:100%;
  margin:14px 0 0;
  justify-content:space-between;
  border-top:1px solid #e5ddd2;
  padding-top:13px;
  font-size:.78rem;
}
.store-qty-input{width:76px;min-height:42px;font-size:1rem;font-weight:700}
.bottle{margin:42px auto 20px}
.store-selection-bar{
  width:min(1180px,calc(100% - 48px));
  bottom:14px;
  border-radius:14px;
  box-shadow:0 12px 36px rgba(40,31,22,.16);
}
.store-selection-bar .primary-btn{min-width:225px;margin:0}

/* Member account */
.account-dashboard{width:min(1180px,calc(100% - 48px));max-width:none}
.customer-dashboard-heading{gap:24px}
.member-identity-card{min-width:230px}
.summary-card,.portal-card{box-shadow:0 7px 22px rgba(51,41,30,.035)}
.account-menu a{min-height:48px;display:flex;align-items:center}
.account-dashboard .panel{max-width:100%}

/* Staff responsive navigation */
.staff-mobile-bar{
  position:sticky;
  top:0;
  z-index:46;
  min-height:64px;
  align-items:center;
  gap:13px;
  padding:9px 16px;
  background:#293018;
  color:#fff;
  box-shadow:0 4px 14px rgba(0,0,0,.14);
}
.staff-mobile-bar>div{display:flex;flex-direction:column;min-width:0}
.staff-mobile-bar small{font-size:.67rem;opacity:.7}
.staff-mobile-user{margin-left:auto;max-width:32vw;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.75rem}
.staff-nav-toggle{
  min-width:48px;
  min-height:44px;
  padding:0 12px;
  border:1px solid rgba(255,255,255,.25);
  border-radius:8px;
  background:rgba(255,255,255,.08);
  color:#fff;
  font-weight:700;
}
.staff-sidebar-backdrop{
  position:fixed;
  inset:0;
  z-index:43;
  background:rgba(20,22,15,.44);
  backdrop-filter:blur(2px);
}
.staff-sidebar-backdrop:not([hidden]){display:block}
.staff-main{min-width:0}
.staff-main .panel{max-width:100%}
.staff-main .table{width:100%}
.staff-top-actions{justify-content:flex-end}
.metric strong{overflow-wrap:anywhere}

/* Tables stay usable on iPad/phone without crushing columns. */
.table-responsive,.panel{scrollbar-width:thin}
.staff-main .table{min-width:680px}
.account-dashboard .table{min-width:680px}

/* General touch / layout polish */
.primary-btn,.secondary-btn,.danger-btn,.table-action{min-height:44px}
.table-action{display:inline-flex;align-items:center}
input,select,textarea{min-height:46px}

@media (max-width:1150px){
  .site-header{height:86px;padding:0 24px}
  .main-nav{display:none}
  .mobile-nav-toggle{display:inline-flex;align-items:center;justify-content:center}
  .brand-script{font-size:2rem}
  .brand-sub{margin-left:40px}
  .header-actions{gap:12px}
  .bookings{display:none}
  .mobile-site-nav{top:86px}

  .wine-layout{grid-template-columns:180px minmax(0,1fr);gap:26px}
  .products{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}
  .wine-product-image-wrap{height:390px}

  .join-shell{grid-template-columns:1fr;min-height:auto}
  .join-copy{min-height:400px}
  .join-copy-inner{padding:58px 9%;max-width:760px}
  .join-form{padding:45px clamp(28px,8vw,90px)}

  .account-dashboard{grid-template-columns:1fr;gap:22px;margin:34px auto}
  .account-menu{
    flex-direction:row;
    overflow-x:auto;
    gap:6px;
    padding:4px 0 10px;
    scroll-snap-type:x proximity;
    -webkit-overflow-scrolling:touch;
  }
  .account-menu a{
    flex:0 0 auto;
    min-height:44px;
    padding:11px 15px;
    border:1px solid #d9d0c4;
    border-left-width:1px;
    border-radius:999px;
    background:#fff;
    scroll-snap-align:start;
    white-space:nowrap;
  }
  .account-menu a.selected{border-color:#7e967c;background:#eef3eb}

  .staff-mobile-bar{display:flex}
  .staff-shell{display:block;min-height:calc(100vh - 64px)}
  .staff-sidebar{
    display:flex;
    position:fixed;
    inset:64px auto 0 0;
    z-index:44;
    width:min(330px,88vw);
    transform:translateX(-104%);
    transition:transform .22s ease;
    overflow-y:auto;
    box-shadow:12px 0 35px rgba(0,0,0,.22);
  }
  .staff-sidebar.mobile-open{transform:translateX(0)}
  .staff-main{padding:30px 28px}
  .metric-grid,.profile-summary{grid-template-columns:repeat(2,minmax(0,1fr))}
  .report-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .two-col{grid-template-columns:1fr}
}

@media (max-width:820px){
  .wine-hero{min-height:148px;padding:28px 18px}
  .member-store-order{
    width:calc(100% - 32px);
    margin:20px auto 16px;
    padding:22px;
    flex-direction:column;
    align-items:stretch;
  }
  .member-store-summary{
    display:grid;
    grid-template-columns:1fr auto;
    align-items:center;
    gap:3px 12px;
    min-width:0;
    text-align:left;
  }
  .member-store-summary strong{grid-row:1/3;grid-column:2;font-size:2.7rem}
  .welcome-benefits{gap:7px}

  .wine-mobile-toolbar{
    display:flex;
    width:calc(100% - 32px);
    margin:18px auto 0;
    align-items:center;
    justify-content:space-between;
    gap:12px;
  }
  .wine-filter-toggle{
    min-height:44px;
    padding:0 16px;
    border:1px solid #cfc5b8;
    border-radius:999px;
    background:#fff;
    color:#3a4422;
    font-weight:700;
  }
  .wine-mobile-toolbar>span{font-size:.78rem;color:#6f685f}
  .wine-layout{display:block;width:calc(100% - 32px);margin:20px auto 0}
  .filter-panel{
    display:block;
    position:fixed;
    inset:0 auto 0 0;
    z-index:55;
    width:min(340px,90vw);
    padding:26px 22px;
    overflow-y:auto;
    background:#f8f1e9;
    box-shadow:12px 0 35px rgba(0,0,0,.2);
    transform:translateX(-105%);
    transition:transform .22s ease;
  }
  .filter-panel.mobile-open{transform:translateX(0)}
  .filter-close{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:44px;
    height:44px;
    border:1px solid #cfc5b8;
    border-radius:50%;
    background:#fff;
    color:#3a4422;
    font-size:1.45rem;
  }
  body.wine-filter-open::after{
    content:"";
    position:fixed;
    inset:0;
    z-index:54;
    background:rgba(20,22,15,.35);
  }
  .store-side-summary{margin-top:25px}
  .products{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
  .wine-product-image-wrap{height:350px;padding:18px 14px 12px}
  .wine-product-content{padding:14px 15px 16px}

  #wine-selection-form{padding-bottom:135px}
  .store-selection-bar{
    width:calc(100% - 28px);
    margin:16px auto;
    bottom:8px;
    display:grid;
    grid-template-columns:1fr auto;
    gap:12px 16px;
    padding:14px 15px;
  }
  .store-selection-bar>div{min-width:0}
  .store-selection-bar small{font-size:.7rem;line-height:1.35}
  .store-selection-bar .primary-btn{min-width:0;margin:0;padding:12px 16px;white-space:nowrap}

  .customer-dashboard-heading,.order-detail-heading,.staff-top{flex-direction:column;align-items:stretch}
  .member-identity-card{min-width:0;width:100%}
  .summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .portal-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .portal-card{height:125px}
  .allocation-callout,.next-selection-detail-head{flex-direction:column;align-items:stretch}

  .staff-main{padding:24px 18px}
  .staff-top-actions{justify-content:flex-start}
  .report-grid{grid-template-columns:1fr}
  .panel{padding:18px}
  .searchbar{flex-wrap:wrap}
  .searchbar input{flex:1 1 100%}
  .searchbar .secondary-btn,.searchbar .primary-btn{flex:1 1 auto;text-align:center}
}

@media (max-width:560px){
  h1{font-size:2.2rem}
  h2{font-size:1.55rem}
  .site-header{height:76px;padding:0 14px}
  .mobile-site-nav{top:76px}
  .brand-script{font-size:1.7rem}
  .brand-sub{font-size:.52rem;margin-left:33px}
  .account-icon,.cart-link{display:none}
  .mobile-nav-toggle{min-height:42px;padding:0 13px;font-size:.72rem}

  .wine-hero{min-height:126px;padding:23px 14px}
  .wine-hero-subtitle{display:none}
  .member-store-order{width:calc(100% - 22px);padding:19px 17px}
  .member-store-order p{line-height:1.45}
  .welcome-benefits span{width:100%;justify-content:flex-start}
  .member-store-summary{padding:13px 15px}
  .member-store-summary strong{font-size:2.35rem}

  .wine-mobile-toolbar,.wine-layout{width:calc(100% - 22px)}
  .products{grid-template-columns:1fr;gap:16px}
  .product-card{border-radius:12px}
  .wine-product-image-wrap{height:390px;padding:20px 16px 12px}
  .wine-product-content{padding:15px 17px 17px}
  .product-card h3{font-size:1.08rem}
  .store-qty-label{font-size:.86rem}
  .store-qty-input{width:84px}

  #wine-selection-form{padding-bottom:170px}
  .store-selection-bar{
    width:calc(100% - 18px);
    grid-template-columns:1fr;
    gap:9px;
    padding:12px 14px;
  }
  .store-selection-bar small{display:none}
  .store-selection-bar .primary-btn{width:100%;white-space:normal}

  .join-copy{min-height:330px}
  .join-copy-inner{padding:42px 25px}
  .join-copy h1{font-size:2.8rem}
  .join-form{padding:32px 18px}
  .form-grid{grid-template-columns:1fr}
  .span-2{grid-column:auto}
  .check{font-size:.9rem}

  .account-dashboard{width:calc(100% - 24px);margin:20px auto}
  .account-menu{margin:0 -1px}
  .summary-grid,.portal-grid,.order-detail-summary{grid-template-columns:1fr}
  .summary-card{padding:18px}
  .portal-card{height:108px}
  .customer-dashboard-heading h1{font-size:2.25rem}

  .staff-mobile-user{display:none}
  .staff-nav-toggle span{display:none}
  .staff-main{padding:18px 12px}
  .metric-grid,.profile-summary{grid-template-columns:1fr}
  .metric{padding:16px}
  .staff-top h1{font-size:2.2rem}
  .staff-main .table,.account-dashboard .table{min-width:640px}
  .panel{padding:15px;border-radius:10px}
  .record-row{grid-template-columns:1fr;gap:5px}
  .record-row strong{text-align:left;overflow-wrap:anywhere}
  .order-totals{width:100%}
  .demo-status-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media (min-width:821px) and (max-width:1150px){
  /* iPad/tablet polish */
  .products{grid-template-columns:repeat(2,minmax(0,1fr))}
  .wine-product-image-wrap{height:410px}
  .summary-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .portal-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}

@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}
}


/* CELLAR v4.1.2 - navigation cleanup, mobile profile polish and direct member email */
html,body{max-width:100%}
body{overflow-x:hidden}
.account-dashboard>main,.staff-main,.customer-dashboard-heading>div{min-width:0}
.customer-dashboard-heading p{max-width:760px;overflow-wrap:anywhere}
.customer-dashboard-heading h1{overflow-wrap:anywhere}
.member-identity-card strong,.member-identity-card small{overflow-wrap:anywhere;word-break:break-word}
.table-scroll{width:100%;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
.table-scroll>.table{margin-bottom:0}
.account-menu-mobile{display:none}
.member-store-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}
.member-store-actions .primary-btn,.member-store-actions .secondary-btn{margin:0;display:inline-flex;align-items:center;justify-content:center;text-decoration:none}
.member-store-complete{align-items:center}
.staff-profile-actions{display:flex;align-items:center;justify-content:flex-end;gap:12px;flex-wrap:wrap}
.staff-profile-actions .primary-btn{margin:0}
.communication-row{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:13px 0;border-bottom:1px solid #eee7df}
.communication-row:last-child{border-bottom:0}
.communication-row div{min-width:0}
.communication-row strong,.communication-row small{display:block;overflow-wrap:anywhere}
.communication-row small{margin-top:4px;color:var(--muted)}
.settings-hub-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.settings-group-card{padding:24px;border:1px solid #ddd5ca;border-radius:12px;background:#fff;box-shadow:0 7px 22px rgba(51,41,30,.035)}
.settings-group-card h2{margin:4px 0 8px}
.settings-group-card>p:not(.eyebrow){color:var(--muted);line-height:1.5}
.settings-link-list{display:grid;gap:8px;margin-top:18px}
.settings-link-list a{display:flex;flex-direction:column;gap:3px;padding:14px 15px;border:1px solid #e2dbd0;border-radius:9px;background:#faf7f1;text-decoration:none;color:inherit;transition:.15s ease}
.settings-link-list a:hover{border-color:#9cad94;background:#f2f6ef;transform:translateY(-1px)}
.settings-link-list strong{color:var(--primary)}
.settings-link-list span{font-size:.78rem;color:var(--muted);line-height:1.4}
.settings-nav-link{font-weight:700}
.email-compose-layout{align-items:start}
.member-email-recipient{position:sticky;top:82px}
.member-email-form textarea{min-height:250px;resize:vertical;line-height:1.55}
.compose-actions{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap;margin-top:16px}
.compose-actions .primary-btn,.compose-actions .secondary-btn{margin:0}
.payment-setup-shell{width:min(760px,calc(100% - 32px));margin:48px auto 80px}
.payment-setup-card{padding:34px;border:1px solid #d9d0c4;border-radius:14px;background:#fff;box-shadow:0 12px 35px rgba(55,45,35,.08)}
.payment-setup-heading h1{margin:5px 0 10px}
.payment-setup-heading p{line-height:1.55;color:#55504a}

@media(max-width:820px){
  .settings-hub-grid{grid-template-columns:1fr}
  .staff-profile-actions{justify-content:flex-start}
  .member-email-recipient{position:static}
  .member-store-complete{padding-top:19px;padding-bottom:19px}
  .member-store-actions{display:grid;grid-template-columns:1fr 1fr}
  .member-store-actions a{width:100%;min-width:0;text-align:center}

  /* Member account: replace the overflowing row of pills with one compact menu. */
  .account-menu-desktop{display:none!important}
  .account-menu-mobile{display:block;width:100%;margin:0 0 4px;border:1px solid #d9d0c4;border-radius:11px;background:#fff;overflow:hidden}
  .account-menu-mobile summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:56px;padding:12px 16px;color:var(--primary)}
  .account-menu-mobile summary::-webkit-details-marker{display:none}
  .account-menu-mobile summary span{font-size:.78rem;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
  .account-menu-mobile summary strong{font-size:1rem}
  .account-menu-mobile summary::after{content:'⌄';font-size:1.25rem;margin-left:auto}
  .account-menu-mobile[open] summary::after{content:'⌃'}
  .account-menu-mobile nav{display:grid;border-top:1px solid #ece5dc;padding:8px}
  .account-menu-mobile nav a{padding:13px 12px;border-radius:8px;text-decoration:none;color:inherit}
  .account-menu-mobile nav a.selected{background:#eef3eb;color:var(--primary);font-weight:700}
  .account-menu-mobile nav a.danger{color:#a94331}

  .account-dashboard{width:calc(100% - 28px);max-width:100%;margin:18px auto;gap:18px;padding:0!important}
  .account-dashboard>main{width:100%;max-width:100%}
  .customer-dashboard-heading{gap:16px;margin-top:4px}
  .customer-dashboard-heading h1{font-size:clamp(2rem,9vw,2.7rem);line-height:.98;margin-bottom:12px}
  .customer-dashboard-heading p{font-size:1rem;line-height:1.5}
  .member-identity-card{width:100%;padding:16px 18px}
  .summary-grid,.portal-grid{gap:12px}
  .summary-card{min-width:0;padding:18px}
  .summary-card strong{font-size:1.45rem;overflow-wrap:anywhere}
  .portal-card{height:auto;min-height:100px;padding:16px}
  .allocation-callout,.next-selection-detail{max-width:100%;overflow:hidden}
  .next-selection-row{gap:12px}
  .next-selection-row>div{min-width:0}
  .next-selection-row strong{overflow-wrap:anywhere}
}

@media(max-width:560px){
  .account-dashboard{width:calc(100% - 24px);margin:14px auto 30px}
  .customer-dashboard-heading h1{font-size:2.05rem}
  .member-identity-card{padding:14px 15px}
  .summary-card{padding:16px}
  .member-store-actions{grid-template-columns:1fr}
  .member-store-actions .primary-btn,.member-store-actions .secondary-btn{width:100%}
  .member-store-complete .member-store-summary{margin-top:4px}
  .communication-row{align-items:flex-start;flex-direction:column}
  .settings-group-card{padding:18px}
  .payment-setup-shell{width:calc(100% - 22px);margin:22px auto 50px}
  .payment-setup-card{padding:20px 17px;border-radius:12px}
  .compose-actions{display:grid;grid-template-columns:1fr}
  .compose-actions .primary-btn,.compose-actions .secondary-btn{width:100%;text-align:center;justify-content:center}
}


/* CELLAR v4.1.3 - member password recovery */
.member-password-recovery .login-card p:not(.eyebrow){
  max-width:34rem;
  line-height:1.55;
}
.member-password-recovery .field-label{
  width:100%;
  text-align:left;
}
.member-password-recovery .field-label input{
  width:100%;
  box-sizing:border-box;
  margin-top:7px;
}
.member-password-recovery .recovery-button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  margin-top:8px;
}
.member-password-recovery .recovery-back{
  display:inline-block;
  margin-top:12px;
}
.password-reset-help{color:#6f675e}
@media (max-width: 640px){
  .member-password-recovery .login-card{
    width:calc(100% - 28px);
    max-width:none;
    box-sizing:border-box;
    padding:28px 20px;
  }
  .member-password-recovery .login-card h1{
    font-size:clamp(2rem, 10vw, 2.75rem);
    line-height:1.02;
  }
  .member-password-recovery .primary-btn{
    width:100%;
    box-sizing:border-box;
  }
}


/* CELLAR v4.1.4 - Australia Post calculated shipping */
.shipping-selection-card{overflow:visible}
.shipping-review-panel{margin:26px 0 0;padding:26px;border:1px solid #d8d0c5;border-radius:13px;background:#fbf8f2}
.shipping-review-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:20px}
.shipping-review-heading h2{margin:3px 0 7px}
.shipping-review-heading p:last-child{margin:0;color:var(--muted)}
.shipping-test-badge{display:inline-flex;align-items:center;justify-content:center;padding:7px 10px;border-radius:999px;background:#f0dfaa;color:#604f1e;font-size:.7rem;font-weight:800;letter-spacing:.08em;white-space:nowrap}
.shipping-destination{display:flex;flex-direction:column;gap:5px;padding:15px 16px;margin-bottom:14px;border:1px solid #e3dbd0;border-radius:9px;background:#fff}
.shipping-destination span{color:var(--muted);line-height:1.45}
.shipping-quote-detail{display:grid;gap:8px;margin-bottom:20px}
.shipping-quote-detail>div{display:flex;justify-content:space-between;gap:18px;padding:10px 0;border-bottom:1px solid #e9e2d8}
.shipping-quote-detail span{color:var(--muted)}
.shipping-quote-detail strong{text-align:right}
.shipping-order-totals{width:min(480px,100%);margin-left:auto;display:grid;gap:8px}
.shipping-order-totals>div{display:flex;justify-content:space-between;gap:20px}
.shipping-order-totals .grand{margin-top:5px;padding-top:12px;border-top:2px solid #d7d0c5;font-size:1.12rem}
.shipping-test-note{margin:18px 0 0;padding:10px 12px;border-radius:8px;background:#fff4d6;color:#675623;font-size:.82rem;line-height:1.45}
.shipping-review-actions{display:flex;gap:10px;justify-content:flex-end;flex-wrap:wrap}
.shipping-review-actions .primary-btn,.shipping-review-actions .secondary-btn{margin:0}
.customer-wine.review-locked .qty-input{background:#f3f0eb;color:#5d5851}
.shipping-profile-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:18px 0 22px}
.shipping-profile-card{padding:18px;border:1px solid #ddd5ca;border-radius:11px;background:#faf8f4}
.shipping-profile-title{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;margin-bottom:14px}
.shipping-profile-title strong,.shipping-profile-title span{display:block}
.shipping-profile-title span{margin-top:3px;color:var(--muted);font-size:.78rem}
.shipping-active{display:flex;gap:7px;align-items:center;font-size:.8rem;font-weight:700;white-space:nowrap}
.shipping-dimensions-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.shipping-test-form{display:flex;align-items:end;gap:12px;flex-wrap:wrap}
.shipping-test-form .field-label{min-width:170px;flex:0 1 220px}
.shipping-test-form .secondary-btn{margin:0 0 1px}
.shipping-test-result{display:flex;flex-direction:column;gap:5px;margin-top:18px;padding:17px;border:1px solid #ced8c8;border-radius:10px;background:#f4f8f1}
.shipping-test-result strong{font-size:1.7rem;color:var(--primary)}
.shipping-test-result span{font-weight:700}
.shipping-test-result small{color:var(--muted)}
@media(max-width:820px){
  .shipping-review-heading,.shipping-quote-detail>div{flex-direction:column;align-items:flex-start;gap:5px}
  .shipping-quote-detail strong{text-align:left}
  .shipping-profile-grid{grid-template-columns:1fr}
  .shipping-review-actions{display:grid;grid-template-columns:1fr 1fr}
  .shipping-review-actions button{width:100%}
}
@media(max-width:560px){
  .shipping-review-panel{padding:18px 15px;margin-top:18px}
  .shipping-review-actions{grid-template-columns:1fr}
  .shipping-order-totals{width:100%}
  .shipping-dimensions-grid{grid-template-columns:1fr}
  .shipping-test-form{display:grid;grid-template-columns:1fr}
  .shipping-test-form .field-label{min-width:0;width:100%}
  .shipping-test-form .secondary-btn{width:100%}
}

.store-review-notice{margin-top:15px;padding:12px 14px;border:1px solid #d9d0c4;border-radius:9px;background:#fff;color:#4d493f;line-height:1.45}
.store-shipping-review{width:min(1180px,calc(100% - 40px));margin:22px auto 8px;box-sizing:border-box}
.store-selection-review-bar{grid-template-columns:minmax(0,1fr) auto}
.store-review-actions{display:flex;gap:10px;align-items:center;justify-content:flex-end}
.store-review-actions .primary-btn,.store-review-actions .secondary-btn{margin:0;white-space:nowrap}
@media(max-width:820px){
  .store-shipping-review{width:calc(100% - 28px)}
  .store-selection-review-bar{grid-template-columns:1fr}
  .store-review-actions{display:grid;grid-template-columns:1fr 1fr;width:100%}
  .store-review-actions button{width:100%;white-space:normal}
}
@media(max-width:560px){
  .store-shipping-review{width:calc(100% - 22px)}
  .store-review-actions{grid-template-columns:1fr}
}


/* CELLAR v4.1.6 - first-order membership finalisation + review-first flow */
.membership-finalisation-callout{
  display:grid;
  gap:5px;
  margin:17px 0 14px;
  padding:14px 16px;
  border:1px solid #cfd8c8;
  border-left:4px solid #66765b;
  border-radius:10px;
  background:#fff;
  color:#45483f;
  line-height:1.45;
}
.membership-finalisation-callout strong{color:#34452d;font-size:.95rem}
.membership-finalisation-callout span{font-size:.9rem}
.store-shipping-review-top{
  margin-top:4px;
  margin-bottom:22px;
  box-shadow:0 8px 28px rgba(52,69,45,.08);
}
.membership-review-note{
  display:flex;
  flex-direction:column;
  gap:4px;
  margin:-3px 0 17px;
  padding:13px 15px;
  border-radius:9px;
  background:#eef3ea;
  border:1px solid #d2ddcb;
  color:#45523f;
  line-height:1.42;
}
.membership-review-note strong{color:#34452d}
.membership-review-note span{font-size:.88rem}
.store-review-top-actions{
  display:flex;
  justify-content:flex-end;
  gap:10px;
  flex-wrap:wrap;
  margin-top:22px;
  padding-top:18px;
  border-top:1px solid #e3dbd0;
}
.store-review-top-actions .primary-btn,
.store-review-top-actions .secondary-btn{margin:0}
@media(max-width:820px){
  .store-review-top-actions{display:grid;grid-template-columns:1fr 1fr}
  .store-review-top-actions button{width:100%}
}
@media(max-width:560px){
  .membership-finalisation-callout{padding:13px 14px}
  .store-review-top-actions{grid-template-columns:1fr}
}


/* CELLAR v4.1.8.2 - polished Wine Club checkout review */
.order-review-grid{
  display:grid;
  grid-template-columns:minmax(0,1.65fr) minmax(300px,.75fr);
  gap:28px;
  align-items:start;
  margin-top:18px;
}
.order-review-main{min-width:0}
.order-review-section-title{
  margin:0 0 11px;
  color:#b77443;
  font-size:.72rem;
  font-weight:700;
  letter-spacing:.18em;
  text-transform:uppercase;
}
.order-review-items{
  overflow:hidden;
  border:1px solid #e1d9ce;
  border-radius:12px;
  background:#fff;
}
.order-review-items .order-review-section-title{padding:17px 18px 0}
.order-review-items table{width:100%;border-collapse:collapse;table-layout:auto}
.order-review-items th{
  padding:10px 18px;
  border-bottom:1px solid #e7dfd5;
  background:#f6f1e9;
  color:#6f675f;
  font-size:.75rem;
  font-weight:700;
  letter-spacing:.04em;
  text-align:left;
  white-space:nowrap;
}
.order-review-items td{
  padding:14px 18px;
  border-bottom:1px solid #eee7de;
  vertical-align:middle;
}
.order-review-items tbody tr:last-child td{border-bottom:0}
.order-review-items th:nth-child(n+2),
.order-review-items td:nth-child(n+2){text-align:right}
.order-review-items td:first-child{width:58%}
.order-review-delivery{margin-top:20px}
.order-review-delivery .shipping-destination{
  display:grid;
  grid-template-columns:130px 1fr;
  gap:14px;
  align-items:start;
  margin-bottom:0;
  border-radius:12px 12px 0 0;
  border-bottom:0;
}
.order-review-delivery .shipping-destination span{color:var(--muted)}
.order-review-delivery .shipping-destination strong{font-weight:600;line-height:1.45}
.order-review-delivery .shipping-quote-detail{
  margin:0;
  padding:0 16px 7px;
  border:1px solid #e3dbd0;
  border-top:0;
  border-radius:0 0 12px 12px;
  background:#fff;
}
.order-review-summary{
  position:sticky;
  top:20px;
  padding:20px;
  border:1px solid #d8d0c5;
  border-radius:12px;
  background:#fff;
  box-shadow:0 8px 24px rgba(52,69,45,.07);
}
.order-review-summary .shipping-order-totals{width:100%;margin:0;gap:0}
.order-review-summary .shipping-order-totals>div{
  padding:10px 0;
  border-bottom:1px solid #eee7de;
  align-items:flex-start;
}
.order-review-summary .shipping-order-totals .discount strong{color:#526747}
.order-review-summary .shipping-order-totals span small{
  display:block;
  margin-top:2px;
  color:var(--muted);
  font-size:.72rem;
}
.order-review-summary .shipping-order-totals .grand{
  margin:4px 0 0;
  padding:15px 0 4px;
  border-top:1px solid #cfc5b8;
  border-bottom:0;
  font-size:1.2rem;
}
.order-review-summary .shipping-order-totals .grand strong{color:#34452d;font-size:1.28rem}
.order-review-payment-note{
  margin:15px 0 0;
  padding:12px 13px;
  border-radius:8px;
  background:#f3f0e8;
  color:#5d5a52;
  font-size:.82rem;
  line-height:1.45;
}
@media(max-width:900px){
  .order-review-grid{grid-template-columns:1fr}
  .order-review-summary{position:static}
}
@media(max-width:620px){
  .order-review-items{overflow-x:auto}
  .order-review-items table{min-width:570px}
  .order-review-items th,.order-review-items td{padding:11px 12px}
  .order-review-delivery .shipping-destination{grid-template-columns:1fr;gap:5px}
}

/* v4.1.9 — Purchase Now + fulfilment choice */
.wine-order-mode{width:min(1180px,calc(100% - 40px));margin:18px auto 16px;display:flex;gap:10px;justify-content:flex-end}
.wine-order-mode a{display:inline-flex;align-items:center;justify-content:center;padding:11px 18px;border:1px solid #bdb2a5;border-radius:999px;background:#fff;color:#314025;font-weight:700;font-size:.8rem;letter-spacing:.04em;text-decoration:none}
.wine-order-mode a.active{background:#34491f;border-color:#34491f;color:#fff}
.fulfilment-choice-panel{width:min(1180px,calc(100% - 40px));margin:18px auto 0;padding:18px 20px;border:1px solid #d7cfc4;border-radius:14px;background:#fbf8f3;display:flex;align-items:center;justify-content:space-between;gap:24px}
.fulfilment-choice-panel h3{margin:2px 0 0;color:#2f3d25;font-family:Georgia,serif;font-size:1.25rem;font-weight:500}
.fulfilment-choice-options{display:grid;grid-template-columns:repeat(2,minmax(220px,1fr));gap:12px;min-width:min(620px,60%)}
.fulfilment-option{display:flex;align-items:flex-start;gap:11px;padding:14px 15px;border:1px solid #d9d0c4;border-radius:12px;background:#fff;cursor:pointer}
.fulfilment-option:has(input:checked){border-color:#6f815b;box-shadow:0 0 0 2px rgba(111,129,91,.13)}
.fulfilment-option input{margin-top:3px;accent-color:#415726}
.fulfilment-option span,.fulfilment-option strong,.fulfilment-option small{display:block}
.fulfilment-option strong{color:#2f3d25}
.fulfilment-option small{margin-top:4px;color:#6f6a63;line-height:1.3}
@media(max-width:850px){.wine-order-mode{justify-content:stretch}.wine-order-mode a{flex:1}.fulfilment-choice-panel{flex-direction:column;align-items:stretch}.fulfilment-choice-options{grid-template-columns:1fr;min-width:0}}
@media(max-width:520px){.wine-order-mode{width:calc(100% - 22px);flex-direction:column}.fulfilment-choice-panel{width:calc(100% - 22px);padding:16px}}

/* v4.1.9.1 - review-page fulfilment selector */
.review-fulfilment-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:10px 0 10px}
.review-fulfilment-options .fulfilment-option{min-width:0}
.review-fulfilment-hint{margin:0 0 14px;color:var(--muted);font-size:.78rem;line-height:1.45}
@media(max-width:720px){.review-fulfilment-options{grid-template-columns:1fr}}

/* v5.0.4 — staff member status filters */
.member-status-filters{display:flex;flex-wrap:wrap;gap:8px;margin:-3px 0 18px}
.member-status-filter{display:inline-flex;align-items:center;min-height:38px;border:1px solid #d8cfbc;border-radius:999px;padding:8px 16px;text-decoration:none;color:#4b5740;background:#fffdf8;font-size:.87rem;font-weight:600}
.member-status-filter:hover,.member-status-filter:focus-visible{border-color:#637253;background:#f3f4ee}
.member-status-filter.is-selected{background:#4e5d3c;border-color:#4e5d3c;color:white}
.member-status-note{background:#f8f6f0;border-left:3px solid #9c8155;padding:12px 16px;margin:0 0 17px;color:#62594e;font-size:.85rem;line-height:1.5}
.status.deleted{background:#e9e6ec;color:#61576b}
@media(max-width:640px){.member-status-filters{gap:6px}.member-status-filter{min-height:36px;padding:7px 12px;font-size:.8rem}}

/* CELLAR v5.0.12 — coherent member-facing checkout. No changes to staff pages. */
.cellar-checkout .payment-setup-heading{margin-bottom:20px}
.cellar-checkout .payment-setup-heading h1{font-size:clamp(1.6rem,3vw,2.1rem)}
.checkout-steps{list-style:none;padding:0;margin:16px 0 20px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.checkout-steps li{display:flex;align-items:center;gap:7px;padding:10px 6px;color:#605d57;font-size:.81rem;border-bottom:2px solid #e4ded3}
.checkout-steps li span{display:grid;place-items:center;flex:0 0 24px;height:24px;border-radius:50%;background:#e8e4dd;font-weight:700}
.checkout-steps .is-complete,.checkout-steps .is-active{color:#38553e;font-weight:700;border-color:#789079}
.checkout-steps .is-active span{background:#38553e;color:white}
.checkout-test-notice{padding:12px 14px;border-radius:8px;border:1px solid #e4c77e;background:#fff7dc;color:#665124}
.cellar-checkout .checkout-order-review{margin:18px 0;padding:22px}
.checkout-order-review .shipping-quote-detail{margin-bottom:14px}
.checkout-order-review .shipping-quote-detail>div{align-items:flex-start}
.checkout-order-review .shipping-quote-detail strong{overflow-wrap:anywhere;max-width:65%}
.checkout-discount strong{color:#395e3e}
.checkout-total-breakdown .grand{border-top:2px solid #38553e;padding-top:14px;margin-top:9px;font-size:1.15rem}
.checkout-total-breakdown .grand strong{font-size:1.25rem;color:#38553e}
.checkout-helper{font-size:.88rem;line-height:1.55;color:#625f59;margin:10px 0}
.checkout-payment-panel{margin-top:22px;padding:22px;border:1px solid #ded4c4;border-radius:12px;background:#fdfbf8}
.checkout-payment-panel>h2{margin:0 0 10px}
.checkout-payment-panel input[type=text]{width:100%;max-width:350px;padding:12px;border:1px solid #ada69c;border-radius:8px}
.checkout-optional{font-weight:400;color:#665f55}
.checkout-methods{padding:0;margin:22px 0;border:0;min-width:0}
.checkout-methods legend{font-weight:700;font-size:1.1rem;padding:0}
.checkout-method-option{display:flex;gap:12px;align-items:flex-start;padding:14px 15px;margin-top:9px;background:white;border:1px solid #d5ccbd;border-radius:9px;cursor:pointer;line-height:1.4}
.checkout-method-option:has(input:checked){background:#f0f5ef;border-color:#52775b;box-shadow:0 0 0 1px #52775b}
.checkout-method-option input{margin:4px 2px 0 0;accent-color:#38553e;flex-shrink:0}
.checkout-method-copy{display:grid;gap:4px;min-width:0}
.checkout-method-copy strong{font-size:.95rem;overflow-wrap:anywhere}
.checkout-method-copy small{color:#69645d;font-size:.82rem}
.checkout-save-choice{padding:8px 3px;color:#524d45;font-size:.87rem;line-height:1.5}
.checkout-save-choice label{display:flex;align-items:flex-start;gap:8px}
.checkout-save-choice input{margin-top:4px}
.checkout-save-choice[hidden]{display:none}
.checkout-card-manage{margin:8px 0;color:#514c47;font-size:.87rem}
.checkout-full-button{display:block;width:100%;max-width:100%;margin-top:16px;min-height:50px}
.checkout-full-button:disabled{opacity:.7;cursor:wait}
.checkout-chosen-method{display:flex;gap:12px;align-items:center;justify-content:space-between;background:white;border:1px solid #d5ccbd;border-radius:8px;padding:15px}
.checkout-chosen-method span{color:#625d56}
.checkout-chosen-method strong{text-align:right}
.checkout-security-note{font-size:.79rem;color:#69645c;line-height:1.5;margin:16px 0 0}
.checkout-feedback[hidden],#stripe-working[hidden]{display:none}
@media(max-width:650px){
 .checkout-steps li{display:block;font-size:.74rem;text-align:center}
 .checkout-steps li span{margin:0 auto 6px}
 .cellar-checkout .checkout-order-review,.checkout-payment-panel{padding:15px}
 .checkout-item-table{overflow-x:auto}
 .checkout-item-table table{min-width:370px}
 .checkout-total-breakdown>div{gap:10px}
 .checkout-total-breakdown span{max-width:66%}
 .checkout-order-review .shipping-quote-detail strong{max-width:58%}
}


/* v5.0.12.5 — Compact fulfilment, correct radio sizing and four-card member overview. */
.fulfilment-option{align-items:center;gap:10px;padding:10px 12px;min-height:64px;border-radius:9px;min-width:0}
.fulfilment-option input[type="radio"],
.checkout-method-option input[type="radio"]{
  appearance:auto;-webkit-appearance:radio;display:block;
  width:18px;height:18px;min-width:18px;min-height:18px;
  max-width:18px;max-height:18px;flex:0 0 18px;
  margin:1px 0 0;padding:0;border:0;border-radius:50%;
  background:transparent;box-shadow:none;cursor:pointer;
}
.fulfilment-option span{flex:1;min-width:0;line-height:1.3}
.fulfilment-option strong{font-size:.86rem;font-weight:700}
.fulfilment-option small{font-size:.73rem;margin-top:2px}
.review-fulfilment-options{gap:9px;margin:8px 0}
.review-fulfilment-options .fulfilment-option{min-height:58px}
.fulfilment-choice-panel{padding:13px 16px;gap:16px}
.fulfilment-choice-options{gap:9px;min-width:min(540px,60%)}
.checkout-method-option{align-items:center;padding:11px 13px;gap:12px;min-height:58px;max-width:100%;min-width:0}
.checkout-method-copy{flex:1;min-width:0;line-height:1.3}
.checkout-method-copy strong{overflow-wrap:normal;word-break:normal;font-size:.9rem}
.checkout-method-copy small{overflow-wrap:anywhere;font-size:.8rem}
.checkout-onboarding-card{padding:14px 16px;background:#f2f5ef;border:1px solid #cbd6c5;border-radius:9px;margin:18px 0;color:#3f4a34}
.checkout-onboarding-card p{margin:0;line-height:1.5;font-size:.9rem}
.checkout-onboarding-card p+p{margin-top:7px;font-size:.84rem}
.member-overview-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:19px 0}
.member-overview-grid .summary-card{min-width:0;min-height:105px;padding:21px 23px;display:flex;flex-direction:column;justify-content:center}
.member-overview-grid .summary-card strong{font-size:1.7rem;overflow-wrap:anywhere;line-height:1.2}
.member-reschedule-panel .secondary-btn{margin:8px 0 5px}
.member-reschedule-success{color:#39563a}
@media(max-width:650px){
  .member-overview-grid{grid-template-columns:1fr 1fr;gap:10px}
  .member-overview-grid .summary-card{padding:15px;min-height:95px}
  .member-overview-grid .summary-card strong{font-size:1.37rem}
  .review-fulfilment-options{grid-template-columns:1fr}
  .checkout-method-option{align-items:flex-start}
}
@media(max-width:390px){.member-overview-grid{grid-template-columns:1fr}}


/* v5.0.12.6 — Purchase Now first, recurring selection after member summary cards. */
.account-dashboard .member-purchase-callout{
  border-left-color:#b39366;
  background:#fffdfa;
  margin-bottom:19px;
  padding:22px 24px;
}
.account-dashboard .member-purchase-callout .member-purchase-copy{flex:1;min-width:0}
.account-dashboard .member-purchase-callout h2{margin:4px 0 8px;font-size:1.85rem;line-height:1.1}
.account-dashboard .member-purchase-callout p{font-size:.92rem;line-height:1.5;max-width:550px}
.account-dashboard .member-purchase-callout .primary-btn{flex-shrink:0;text-align:center}
.account-dashboard .member-overview-grid{margin:0 0 19px}
.account-dashboard .member-scheduled-selection{margin:0 0 24px}
@media(max-width:760px){
  .account-dashboard .member-purchase-callout{align-items:stretch;gap:14px;padding:19px}
  .account-dashboard .member-purchase-callout .primary-btn{width:100%;white-space:normal}
}

/* v5.0.12.8: code application is a separate, pre-payment action. */
.cellar-checkout .checkout-promo-row{display:flex;align-items:stretch;gap:10px;max-width:100%;margin:7px 0 0}
.cellar-checkout .checkout-promo-row input[type=text]{flex:1 1 200px;min-width:0;width:auto;max-width:none;border-radius:8px}
.cellar-checkout .checkout-promo-apply{flex:0 0 auto;padding:10px 18px;border:1px solid #384c2a;border-radius:8px;background:#394923;color:white;font-weight:700;font-size:.82rem;letter-spacing:.025em;cursor:pointer}
.cellar-checkout .checkout-promo-apply:hover{background:#28361a}
.cellar-checkout .checkout-promo-apply:focus-visible{outline:3px solid #b38850;outline-offset:2px}
.cellar-checkout .checkout-promo-applied{padding:10px 12px;border:1px solid #b7ceb9;border-radius:8px;background:#edf5ee;color:#24523a;font-size:.87rem;line-height:1.5}
.cellar-checkout .checkout-promo-error{padding:10px 12px;border:1px solid #d7a7a7;border-radius:8px;background:#fff1f1;color:#872e2e;font-size:.88rem;line-height:1.5}
@media(max-width:480px){.cellar-checkout .checkout-promo-row{flex-wrap:wrap}.cellar-checkout .checkout-promo-row input[type=text]{flex-basis:100%}.cellar-checkout .checkout-promo-apply{width:100%;min-height:42px}}

/* CELLAR v5.0.13.0 visual email composer */
.cellar-builder-shell{border:1px solid #d9d1c4;border-radius:14px;padding:18px;margin:18px 0;background:#faf7f1}.cellar-builder-top{display:flex;justify-content:space-between;gap:15px;align-items:center}.cellar-builder-top p{margin:5px 0;color:#666}.cellar-builder-tools{display:flex;align-items:center;gap:7px;flex-wrap:wrap;padding:17px 0}.cellar-builder-tools button,.cellar-builder-footer button,.cellar-prop-actions button,.cellar-smart-links button{border:1px solid #b9b5a8;border-radius:7px;background:white;padding:8px 10px;cursor:pointer;color:#334120}.cellar-builder-workspace{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(180px,1fr);gap:15px}.cellar-builder-workspace>div{background:white;border-radius:10px;padding:14px;min-width:0}.cellar-block{margin-top:8px;border:1px dashed #c2b5a2;border-radius:8px;padding:10px 12px;cursor:grab;min-height:48px}.cellar-block.is-selected{border:2px solid #516432;background:#f6f9f1}.cellar-block-name{font-size:10px;letter-spacing:1px;color:#7c674e}.cellar-block-preview{overflow-wrap:anywhere;padding-top:6px}.cellar-prop-label{display:block;margin:10px 0;font-size:13px}.cellar-prop-label input,.cellar-prop-label textarea,.cellar-prop-label select{display:block;width:100%;margin-top:5px;box-sizing:border-box}.cellar-smart-links,.cellar-prop-actions,.cellar-builder-footer{display:flex;flex-wrap:wrap;gap:7px;margin-top:12px}.cellar-builder-footer{align-items:center}@media(max-width:800px){.cellar-builder-workspace{grid-template-columns:1fr}.cellar-builder-top{flex-wrap:wrap}}


/* CELLAR v5.0.13.4 — standard form selection controls.
   Override the generic text-field styles, without enlarging the native check mark. */
input[type="checkbox"] {
  appearance: auto;
  -webkit-appearance: checkbox;
  box-sizing: border-box;
  display: inline-block;
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  min-height: 18px !important;
  max-width: 18px;
  max-height: 18px;
  flex: 0 0 18px;
  margin: 0 8px 0 0;
  padding: 0 !important;
  border-radius: 3px;
  vertical-align: middle;
  accent-color: #394824;
  cursor: pointer;
}
/* Keep checkboxes attached to their label text in grid-based editor fields. */
.cellar-layout-fields label:has(> input[type="checkbox"]),
.checkbox-card {
  display: flex !important;
  flex-direction: row !important;
  justify-content: flex-start;
  align-items: center;
  gap: 8px;
}
.cellar-layout-fields input[type="checkbox"] { width: 18px !important; margin: 0; }

/* One consistent action-button language throughout the staff email workspace.
   Excludes quantity controls and custom radio/checkbox selectors. */
.email-editor-layout button:not(.variable-chip),
.email-editor-layout .primary-btn,
.email-editor-layout .secondary-btn,
.staff-top > .secondary-btn {
  box-sizing: border-box;
  width: auto;
  min-height: 42px;
  padding: 10px 18px;
  border-radius: 22px;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  letter-spacing: .01em;
  vertical-align: middle;
  cursor: pointer;
  white-space: normal;
}
.email-editor-layout .primary-btn {
  background: #394824;
  border: 1px solid #394824;
  color: #fff;
}
.email-editor-layout button:not(.primary-btn):not(.variable-chip),
.email-editor-layout .secondary-btn,
.staff-top > .secondary-btn {
  background: #eee9e1;
  border: 1px solid #c9beb3;
  color: #2f3b25;
}
.email-editor-layout .email-editor-actions {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 12px;
}
.email-editor-layout .email-editor-actions .primary-btn,
.email-editor-layout .email-editor-actions .secondary-btn { margin: 0; }
.email-editor-layout button:hover:not(:disabled),
.email-editor-layout .secondary-btn:hover { filter: brightness(.95); }
.email-editor-layout button:focus-visible,
.email-editor-layout .secondary-btn:focus-visible,
.email-editor-layout input[type="checkbox"]:focus-visible { outline: 2px solid #3d5b27; outline-offset: 3px; }

/* CELLAR v5.0.14.0: compact, responsive member marketing offers */
.marketing-member-offers{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr));gap:16px}
.marketing-offer-card{padding:16px;border:1px solid #e1ddd5;border-radius:12px;background:#fbf9f5}
.marketing-offer-card h3{margin:12px 0 6px}.marketing-offer-card p{margin-bottom:16px}

.marketing-offer-modal[hidden]{display:none!important}
.marketing-offer-modal{position:fixed;inset:0;z-index:1500;display:flex;justify-content:center;align-items:center;padding:20px;background:rgba(20,28,20,.56)}
.marketing-offer-modal-card{max-width:540px;width:100%;max-height:92vh;overflow:auto;background:#fbf8f3;color:#293320;border-radius:14px;padding:22px;box-shadow:0 15px 50px rgba(0,0,0,.2)}
.marketing-offer-modal-card img{width:100%;max-height:220px;object-fit:cover;border-radius:10px;margin:12px 0}
.marketing-offer-modal-card #marketing-modal-close{float:right;min-height:36px}


/* CELLAR v5.0.14.1 — marketing segment picker + media library */
.marketing-audience-panel .marketing-filter-numbers{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px 18px;margin:20px 0}
.marketing-audience-panel .marketing-filter-numbers .field-label{min-width:0}
.marketing-filter-group{background:#faf8f5;border:1px solid #e5dcd0;border-radius:14px;margin:16px 0;padding:18px}
.marketing-group-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:14px}
.marketing-group-heading h3{font-size:1.06rem;color:#304020;margin:0 0 3px}
.marketing-group-heading p{font-size:.82rem;color:#6c645c;margin:0}
.marketing-clear-group{border:1px solid #d9cdbf;border-radius:20px;padding:7px 14px;font-size:.73rem;font-weight:700;color:#3b492e;background:#fff;cursor:pointer;flex-shrink:0}
.marketing-checkbox-grid,.marketing-search-items{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:10px}
.marketing-search-grid{display:block}
.marketing-search-label{display:block;margin-bottom:12px;color:#655e56;font-size:.83rem}
.marketing-search-label input{display:block;max-width:420px;width:100%;min-height:40px;margin-top:6px;padding:8px 12px;border:1px solid #cabdb1;border-radius:12px;background:#fff}
.marketing-check{display:flex;align-items:center;gap:11px;min-height:46px;padding:10px 12px;border:1px solid #e2d6c9;border-radius:10px;background:#fff;font-size:.85rem;cursor:pointer}
.marketing-check:has(input:checked){background:#ecf1e8;border-color:#718664}
.marketing-check input[type="checkbox"]{flex:0 0 18px;width:18px!important;height:18px!important;min-width:18px!important;min-height:18px!important;margin:0!important;padding:0!important;accent-color:#374822}
.marketing-check[hidden]{display:none!important}
.marketing-advanced{border:1px solid #e2d6c9;border-radius:12px;margin:16px 0;padding:14px 17px}
.marketing-advanced summary{cursor:pointer;font-weight:700;color:#334320}
.marketing-filter-note{padding-top:10px;font-size:.82rem}
.marketing-image-selection{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin-top:8px;padding:16px;background:#f9f6f1;border:1px solid #e4dbcf;border-radius:12px}
.marketing-image-selected{width:230px;height:140px;object-fit:contain;border-radius:10px;background:#eee7dd}
.marketing-image-placeholder{width:230px;min-height:130px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;text-align:center;color:#776e62;border:1px dashed #beb5a8;border-radius:10px}
.marketing-image-placeholder span:first-child{font-size:2.2rem}
.marketing-image-placeholder span:last-child{font-size:.77rem}
.marketing-image-actions{display:flex;gap:9px;align-items:center;flex-wrap:wrap}
.marketing-image-actions .secondary-btn:disabled{opacity:.4;cursor:not-allowed}
.marketing-media-backdrop[hidden],.marketing-image-selected[hidden],.marketing-image-placeholder[hidden],.marketing-media-side img[hidden]{display:none!important}
.marketing-media-backdrop{position:fixed;inset:0;z-index:9999;background:rgba(24,27,20,.62);display:flex;align-items:center;justify-content:center;padding:20px}
.marketing-media-open{overflow:hidden}
.marketing-media-dialog{background:#fffaf5;border-radius:17px;box-shadow:0 20px 65px #151b1773;width:min(1040px,100%);max-height:calc(100vh - 40px);display:flex;flex-direction:column;overflow:hidden}
.marketing-media-top,.marketing-media-tools,.marketing-media-bottom{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:17px 22px;border-bottom:1px solid #e8e0d5}
.marketing-media-top h2{margin:0;font-size:1.45rem}
.marketing-close-modal{border:1px solid #ddd2c4;background:#fff;border-radius:50%;font-size:1.8rem;width:40px;height:40px;cursor:pointer;line-height:1}
.marketing-media-tools{flex-wrap:wrap}
.marketing-media-tools input[type="search"]{flex:1 1 200px;max-width:450px;padding:10px 14px;border:1px solid #cabeae;border-radius:12px;min-height:43px;background:white}
.marketing-upload-label{display:inline-flex;align-items:center;justify-content:center;cursor:pointer;min-height:43px}
.marketing-media-dialog #marketing-library-message{margin:8px 22px;font-size:.78rem}
.marketing-media-body{padding:12px 22px 22px;display:grid;grid-template-columns:minmax(0,2fr) minmax(230px,1fr);gap:20px;min-height:0;overflow:auto}
.marketing-media-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:12px;align-content:start}
.marketing-media-tile{display:flex;flex-direction:column;gap:6px;min-width:0;border:2px solid #e4d9cd;border-radius:11px;background:white;padding:6px;text-align:left;cursor:pointer}
.marketing-media-tile.selected{border-color:#385126;background:#e9f0e6}
.marketing-media-tile img{width:100%;height:100px;object-fit:cover;border-radius:6px}
.marketing-media-tile span{font-size:.68rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}
.marketing-media-side{border:1px solid #e5dcd0;border-radius:12px;background:#f5f0e9;padding:12px;min-width:0;align-self:start}
.marketing-media-side img{display:block;max-width:100%;max-height:290px;object-fit:contain;margin:auto}
.marketing-media-side p{word-break:break-all;margin:8px 0 0;font-size:.72rem}
.marketing-media-preview-empty{height:180px;display:grid;place-items:center;color:#777066;font-size:.8rem;text-align:center}
.marketing-media-bottom{border-top:1px solid #e8e0d5;border-bottom:0;justify-content:flex-end}
.marketing-media-bottom .primary-btn:disabled{opacity:.4;cursor:not-allowed}
@media(max-width:760px){.marketing-audience-panel .marketing-filter-numbers{grid-template-columns:1fr}.marketing-media-body{grid-template-columns:1fr}.marketing-media-dialog{max-height:calc(100vh - 18px)}.marketing-media-backdrop{padding:9px}.marketing-media-side{max-height:200px}.marketing-media-side img{max-height:135px}}

/* CELLAR v5.0.14.2: marketing recipient channel review and overrides */
.marketing-recipient-tabs{display:flex;flex-wrap:wrap;gap:10px;margin:12px 0 20px}
.marketing-recipient-tabs a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:9px 22px;border:1px solid #d2c6b9;border-radius:24px;background:#fff;color:#39462b;text-decoration:none;font-weight:700}
.marketing-recipient-tabs a.selected{background:#344422;color:#fff;border-color:#344422}
.marketing-recipient-tabs a:focus-visible,.marketing-recipient-table button:focus-visible{outline:3px solid #a58a4f;outline-offset:3px}
.marketing-recipient-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:18px}
.marketing-recipient-summary>div{background:#f4eee7;padding:16px;border-radius:12px;min-width:0;display:flex;flex-direction:column;gap:6px}
.marketing-recipient-summary span{font-size:.78rem;color:#665f57}
.marketing-recipient-summary strong{font-size:1.6rem;color:#334421}
.marketing-recipient-summary strong.marketing-channel-status{font-size:1rem}
.marketing-recipient-guidance{background:#f6f2e8;border-left:4px solid #a48f67;padding:12px 15px;font-size:.83rem}
.marketing-recipient-search-label{display:block;margin:16px 0;color:#635e56;font-size:.85rem;max-width:460px}
.marketing-recipient-search-label input{display:block;width:100%;margin-top:6px;min-height:43px;border:1px solid #cec3b8;border-radius:12px;background:#fff;padding:8px 13px}
.marketing-recipient-list-title{display:flex;justify-content:space-between;align-items:baseline;gap:12px;flex-wrap:wrap;margin:22px 0 10px}
.marketing-recipient-list-title h2{margin:0}
.marketing-recipient-table{min-width:730px;width:100%;border-collapse:collapse}
.marketing-recipient-table td{vertical-align:middle;padding:12px 9px}
.marketing-recipient-table td small{display:block;color:#80776d;margin-top:3px}
.marketing-recipient-table [data-recipient][hidden]{display:none!important}
.marketing-recipient-actions{white-space:nowrap}
.marketing-recipient-actions a{display:inline-block;margin-right:9px}
.marketing-recipient-actions form{display:inline-block;margin:0}
.marketing-recipient-actions button{min-height:36px!important;padding:7px 12px!important;font-size:.76rem;font-weight:700;cursor:pointer;border-radius:20px;white-space:nowrap}
.marketing-recipient-remove{background:#fff7f5;color:#884138;border:1px solid #d7aaa4}
.marketing-recipient-restore{background:#e7eddf;color:#30461f;border:1px solid #a5b393}
@media(max-width:700px){.marketing-recipient-summary{grid-template-columns:1fr 1fr}.marketing-recipient-summary>div:last-child{grid-column:1/-1}}

/* CELLAR v5.0.14.3 — marketing campaign controls and statuses */
.marketing-audience-actions,.marketing-table-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:12px 0}
.marketing-table-actions .secondary-btn{font-size:12px;padding:9px 12px;white-space:nowrap}
.marketing-status{display:inline-block;border-radius:999px;padding:6px 12px;font-size:12px;font-weight:700;border:1px solid #d0d1cb;background:#f3f3ef;color:#323a29}
.marketing-status-live{background:#e6f2e7;border-color:#b3d0b8;color:#245a30}
.marketing-status-scheduled{background:#e9eef5;border-color:#bed0df;color:#25425d}
.marketing-status-finished{background:#eeeeee;color:#555}
.marketing-status-disabled{background:#fcefed;border-color:#ebc7bd;color:#803c2c}
.marketing-status-draft{background:#f7f3e9;color:#6b5a34}


/* CELLAR v5.0.14.4 — in-editor dual marketing campaign previews */
.marketing-preview-section{margin-top:28px;clear:both}
.marketing-preview-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;margin-bottom:14px}
.marketing-preview-heading h2{margin:5px 0 9px}.marketing-preview-heading p{margin:0}
.marketing-preview-info{min-height:24px;font-size:13px;color:#4c5e3d}
.marketing-preview-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;align-items:start}
.marketing-preview-pane{border:1px solid #ddd4c9;background:#faf7f2;border-radius:15px;padding:18px;min-width:0}
.marketing-preview-top{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:10px;margin:0 0 12px}
.marketing-preview-label{font-size:10px;letter-spacing:2px;color:#b27851;font-weight:700}
.marketing-preview-top h3{margin:5px 0 0;font:normal 23px Georgia,serif;color:#354625}
.marketing-preview-modes{display:flex;align-items:center;gap:5px;border:1px solid #dbd0c4;padding:3px;border-radius:24px;background:white}
.marketing-preview-modes button{border:0;border-radius:20px;background:transparent;padding:8px 10px;cursor:pointer;color:#4b493d;font-size:10px;font-weight:700;min-height:33px}
.marketing-preview-modes button.selected{background:#354622;color:white}
.marketing-preview-modes button:focus-visible{outline:3px solid #bc8e58;outline-offset:2px}
.marketing-preview-subject{padding:10px 13px;border:1px solid #ebe3da;border-radius:8px;background:#fff;margin:0 0 11px;font-size:13px;overflow-wrap:anywhere;min-height:43px}
.marketing-preview-viewport{min-width:0;min-height:440px;border:1px solid #d6d0c4;background:#eae4dc;border-radius:12px;padding:12px;display:flex;justify-content:center}
.marketing-preview-viewport iframe{display:block;flex:none;width:100%;max-width:100%;height:440px;border:1px solid #ddd;background:white;border-radius:7px;transition:width .2s}
.marketing-preview-viewport iframe.marketing-preview-mobile{width:340px;max-width:100%}
.marketing-preview-hint{font-size:12px;color:#736d64;margin:11px 0 0;line-height:1.5}
.marketing-preview-disclaimer{font-size:12px;line-height:1.6;color:#6d655c;margin:19px 0 0;border-top:1px solid #e7dfd4;padding-top:14px}
@media(max-width:1160px){.marketing-preview-columns{grid-template-columns:1fr}.marketing-preview-viewport{min-height:410px}.marketing-preview-viewport iframe{height:410px}}
@media(max-width:570px){.marketing-preview-pane{padding:12px}.marketing-preview-viewport{padding:7px}.marketing-preview-heading .secondary-btn{width:100%;text-align:center}.marketing-preview-modes button{padding:7px 9px}}


/* v5.1.13.2 — Standard-sized signup radios. Override the global full-width
   text input rule without altering checkboxes or other site radio controls. */
.join-form .membership-first-order-note { margin:4px 0 12px; line-height:1.5; }
.join-form .membership-case-options { display:flex; flex-wrap:wrap; gap:12px 26px; margin-bottom:8px; }
.join-form .membership-case-option { display:inline-flex; flex:0 1 auto; align-items:center; gap:9px; min-width:0; cursor:pointer; line-height:1.4; font-size:.93rem; }
.join-form input[type="radio"].membership-case-radio {
  appearance:auto; -webkit-appearance:radio; box-sizing:border-box;
  width:17px !important; min-width:17px; max-width:17px;
  height:17px !important; min-height:17px; max-height:17px;
  padding:0 !important; margin:0; border:0; border-radius:50%;
  flex:0 0 17px; box-shadow:none; background:transparent;
  accent-color:#394824; cursor:pointer;
}
.join-form input[type="radio"].membership-case-radio:focus-visible { outline:2px solid #b38850; outline-offset:3px; }


/* CELLAR v5.1.13.3 — Member dashboard visual refresh. Scoped to dashboard only. */
.account-dashboard-refined{width:min(1350px,calc(100% - 72px));max-width:1350px;grid-template-columns:215px minmax(0,1fr);gap:34px;margin:46px auto 76px;align-items:start}
.account-dashboard-refined > main{width:100%;min-width:0}
.account-dashboard-refined .account-menu-desktop{position:sticky;top:140px;padding:18px 12px;background:#fffcf8;border:1px solid #e7ded2;border-radius:17px;box-shadow:0 10px 25px rgba(50,39,27,.035);gap:3px}
.account-dashboard-refined .account-menu-desktop::before{content:'MY ACCOUNT';display:block;font-size:.68rem;font-weight:700;letter-spacing:.19em;color:#937653;padding:7px 13px 15px}
.account-dashboard-refined .account-menu-desktop a{border:0;border-radius:9px;padding:12px 15px;font-size:.91rem;color:#384033;transition:background .15s,color .15s}
.account-dashboard-refined .account-menu-desktop a.selected{background:#edf0e8;color:#2e411d;font-weight:700;box-shadow:inset 3px 0 #3a4b2e}
.account-dashboard-refined .account-menu-desktop a:hover{background:#f0ede6}
.account-dashboard-refined .account-menu-desktop .inline-logout-form{margin:8px 9px 0;padding:13px 4px 2px;border-top:1px solid #e6ddd1}
.account-dashboard-refined .account-menu-desktop .link-button{background:transparent;border:0;padding:3px 0;font:inherit;font-size:.88rem;text-decoration:underline;cursor:pointer}
.account-dashboard-refined .customer-dashboard-heading.member-welcome-hero{display:flex;align-items:stretch;justify-content:space-between;gap:26px;background:linear-gradient(115deg,#29371e 0%,#38472a 67%,#526042 100%);border-radius:18px;padding:clamp(26px,3.5vw,42px);margin:0 0 18px;min-height:232px;box-shadow:0 16px 35px rgba(32,43,22,.11);overflow:hidden;position:relative}
.account-dashboard-refined .customer-dashboard-heading.member-welcome-hero::before{content:'';position:absolute;top:-100px;right:-65px;width:300px;height:300px;border:1px solid rgba(255,255,255,.14);border-radius:50%;pointer-events:none}
.account-dashboard-refined .customer-dashboard-heading.member-welcome-hero::after{content:'';position:absolute;bottom:-176px;right:135px;width:250px;height:250px;border:1px solid rgba(255,255,255,.085);border-radius:50%;pointer-events:none}
.account-dashboard-refined .member-welcome-copy{position:relative;z-index:1;flex:1;min-width:0}
.account-dashboard-refined .member-hero-eyebrow{font-size:.67rem;font-weight:700;letter-spacing:.23em;color:#d9c49c;margin:0 0 17px;line-height:1.5}
.account-dashboard-refined .member-welcome-hero h1{font-size:clamp(2.5rem,4.2vw,4.05rem);line-height:.93;color:#fff;margin:0 0 16px;font-weight:500;letter-spacing:-.02em}
.account-dashboard-refined .member-welcome-hero h1 em{color:#f1e6cf;font-style:normal}
.account-dashboard-refined .member-welcome-hero .member-welcome-copy>p:not(.member-hero-eyebrow){max-width:480px;color:#e8ecdd;line-height:1.58;font-size:.92rem;margin:0 0 18px}
.account-dashboard-refined .member-hero-status{display:inline-flex;align-items:center;gap:8px;border:1px solid rgba(255,255,255,.25);border-radius:25px;padding:7px 12px;font-size:.78rem;color:#f6f2e8;background:rgba(255,255,255,.08)}
.account-dashboard-refined .member-status-light{height:8px;width:8px;border-radius:50%;background:#d9db9d;box-shadow:0 0 0 3px rgba(217,219,157,.13)}
.account-dashboard-refined .member-identity-card{position:relative;z-index:1;flex:0 1 245px;min-width:0;display:flex;align-items:center;align-self:center;gap:13px;border:1px solid rgba(255,255,255,.27);border-radius:14px;background:rgba(255,255,255,.12);padding:16px 15px;color:white;box-shadow:none}
.account-dashboard-refined .member-avatar{width:48px;height:48px;flex:0 0 48px;border-radius:50%;display:grid;place-items:center;background:#ece1c8;color:#334120;font-family:'Cormorant Garamond',Georgia,serif;font-weight:700;font-size:1.4rem}
.account-dashboard-refined .member-identity-copy{min-width:0}
.account-dashboard-refined .member-identity-card span{display:block;font-size:.58rem;letter-spacing:.17em;color:#e1d7c1;font-weight:700;margin:0 0 5px}
.account-dashboard-refined .member-identity-card strong{display:block;color:#fff;font-size:1rem;line-height:1.22;font-family:'Cormorant Garamond',Georgia,serif;font-weight:600;letter-spacing:0}
.account-dashboard-refined .member-identity-card small{display:block;font-size:.72rem;line-height:1.4;color:#eee9db;margin-top:4px;word-break:break-word}
.account-dashboard-refined .member-quick-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:0 0 31px}
.account-dashboard-refined .member-action-card{display:flex;flex-direction:column;align-items:flex-start;gap:20px;justify-content:space-between;background:#fffcf8;border:1px solid #e2d8ca;border-radius:15px;padding:25px 27px;min-width:0;box-shadow:0 5px 18px rgba(40,38,24,.028)}
.account-dashboard-refined .member-action-wine{border-left:4px solid #b9955c}
.account-dashboard-refined .member-action-gift{background:#f4efe6;border-left:4px solid #667c58}
.account-dashboard-refined .member-action-card .eyebrow{margin:0 0 8px;font-size:.65rem;color:#9b724f!important}
.account-dashboard-refined .member-action-card h2{font-size:clamp(1.55rem,2.4vw,2rem);margin:0 0 7px;line-height:1}
.account-dashboard-refined .member-action-card p:not(.eyebrow){font-size:.84rem;line-height:1.55;color:#6e695f;margin:0;max-width:370px}
.account-dashboard-refined .member-action-button{display:inline-flex;gap:16px;align-items:center;justify-content:space-between;min-height:42px;max-width:100%;padding:10px 18px;border-radius:99px;font-size:.73rem;font-weight:700;letter-spacing:.035em;transition:transform .15s,background .15s}
.account-dashboard-refined .member-action-button:hover{transform:translateY(-1px)}
.account-dashboard-refined .member-action-button-primary{color:white;background:#334520}
.account-dashboard-refined .member-action-button-outline{border:1px solid #556745;color:#334520;background:#fffaf2}
.account-dashboard-refined .member-action-button-primary:hover{background:#223413}
.account-dashboard-refined .member-action-button-outline:hover{background:#eef1e8}
.account-dashboard-refined .member-section-heading{display:flex;justify-content:space-between;align-items:end;gap:15px;margin:0 0 15px}
.account-dashboard-refined .member-section-heading .eyebrow{margin:0 0 5px;font-size:.64rem;color:#a06e47!important}
.account-dashboard-refined .member-section-heading h2{font-size:clamp(1.8rem,2.7vw,2.25rem);line-height:1.05;margin:0}
.account-dashboard-refined .member-overview-caption{font-size:.76rem;color:#847b6f;text-align:right;line-height:1.4}
.account-dashboard-refined .member-account-overview{margin:0 0 28px}
.account-dashboard-refined .member-overview-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;margin:0}
.account-dashboard-refined .member-overview-grid .summary-card{grid-column:span 2;display:flex;flex-direction:column;justify-content:flex-start;min-height:120px;padding:20px 21px;border-radius:13px;background:#fffdf9;border:1px solid #e4dbd0;box-shadow:0 4px 15px rgba(40,38,24,.026)}
.account-dashboard-refined .member-overview-grid .summary-card:nth-child(n+4){grid-column:span 3;background:#eee9e0}
.account-dashboard-refined .member-overview-grid .summary-card span{font-size:.76rem;color:#766f63;margin:0 0 9px}
.account-dashboard-refined .member-overview-grid .summary-card strong{font-size:clamp(1.55rem,2.65vw,2.05rem);line-height:1.03;color:#30411f;margin:0;overflow-wrap:anywhere}
.account-dashboard-refined .member-overview-grid .summary-card small{font-size:.71rem;color:#80776a;line-height:1.35;margin:10px 0 0}
.account-dashboard-refined .member-offer-section{padding:26px;border:1px solid #e4dbd0;border-radius:15px;margin-bottom:25px}
.account-dashboard-refined .member-scheduled-selection{background:#fffdf9;border:1px solid #e1d8ca;border-left:4px solid #82936c;border-radius:14px;padding:24px;margin-bottom:22px;box-shadow:0 6px 20px rgba(42,36,24,.025)}
.account-dashboard-refined .member-scheduled-selection h2{font-size:1.95rem}
.account-dashboard-refined .member-scheduled-selection .primary-btn{margin:0}
.account-dashboard-refined .member-recent-orders{margin-top:27px}
.account-dashboard-refined .member-text-action{display:inline-flex;gap:11px;align-items:center;padding:10px 15px;border:1px solid #d6c9b8;border-radius:99px;font-size:.72rem;letter-spacing:.03em;font-weight:700;color:#344626;background:#fffdf9;white-space:nowrap}
.account-dashboard-refined .member-text-action:hover{background:#f0ede4}
.account-dashboard-refined .member-orders-panel{padding:0;border:1px solid #e3d8cd;border-radius:14px;overflow:hidden;background:#fffdfb;box-shadow:0 4px 17px rgba(55,44,31,.035)}
.account-dashboard-refined .member-orders-panel .table-scroll{overflow-x:auto}
.account-dashboard-refined .member-orders-panel .table{min-width:700px;border-collapse:collapse}
.account-dashboard-refined .member-orders-panel .table th{background:#f3eee7;color:#716454;font-size:.67rem;letter-spacing:.08em;padding:17px 16px}
.account-dashboard-refined .member-orders-panel .table td{padding:17px 16px;color:#4a463f;border-color:#ece6de;font-size:.83rem}
.account-dashboard-refined .member-orders-panel .table td strong{color:#304020}
.account-dashboard-refined .member-order-state{color:#565249}
.account-dashboard-refined .member-table-link{font-size:.76rem;font-weight:700;color:#344b27;white-space:nowrap;text-decoration:underline;text-underline-offset:3px}
.account-dashboard-refined .member-orders-empty{text-align:center;color:#746f67;padding:30px 0}
.account-dashboard-refined .visually-hidden{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.account-dashboard-refined a:focus-visible,.account-dashboard-refined button:focus-visible{outline:3px solid #b4975c;outline-offset:3px}
@media(max-width:1150px){
 .account-dashboard-refined{grid-template-columns:1fr;gap:18px;width:min(1050px,calc(100% - 48px));margin:28px auto 60px}
 .account-dashboard-refined .account-menu-desktop{position:static;display:flex;flex-direction:row;flex-wrap:wrap;gap:5px;padding:10px}
 .account-dashboard-refined .account-menu-desktop::before{display:none}
 .account-dashboard-refined .account-menu-desktop a{min-height:43px;border-radius:9px;padding:11px 13px}
 .account-dashboard-refined .account-menu-desktop .inline-logout-form{padding:5px;margin:0 0 0 auto;border:0}
}
@media(max-width:820px){
 .account-dashboard-refined{width:calc(100% - 32px);margin:18px auto 50px;gap:15px}
 .account-dashboard-refined .customer-dashboard-heading.member-welcome-hero{padding:26px 24px;gap:19px}
 .account-dashboard-refined .member-identity-card{flex:0 1 210px}
 .account-dashboard-refined .member-quick-actions{gap:12px}
 .account-dashboard-refined .member-action-card{padding:22px 20px}
 .account-dashboard-refined .member-overview-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .account-dashboard-refined .member-overview-grid .summary-card,.account-dashboard-refined .member-overview-grid .summary-card:nth-child(n+4){grid-column:span 1;min-height:115px}
 .account-dashboard-refined .member-overview-grid .summary-card:last-child{grid-column:span 2}
}
@media(max-width:620px){
 .account-dashboard-refined{width:calc(100% - 22px);margin:12px auto 42px}
 .account-dashboard-refined .customer-dashboard-heading.member-welcome-hero{flex-direction:column;align-items:stretch;min-height:auto;padding:27px 21px;border-radius:14px;gap:19px}
 .account-dashboard-refined .member-welcome-hero h1{font-size:clamp(2.4rem,10vw,3.15rem)}
 .account-dashboard-refined .member-identity-card{flex:initial;width:100%;align-self:auto;padding:12px 14px}
 .account-dashboard-refined .member-quick-actions{grid-template-columns:1fr;gap:11px;margin-bottom:23px}
 .account-dashboard-refined .member-action-card{padding:23px 20px;gap:16px}
 .account-dashboard-refined .member-overview-grid{gap:9px}
 .account-dashboard-refined .member-overview-grid .summary-card{padding:17px 16px;min-height:110px}
 .account-dashboard-refined .member-overview-grid .summary-card strong{font-size:1.55rem}
 .account-dashboard-refined .member-section-heading{align-items:flex-start;gap:11px;flex-wrap:wrap}
 .account-dashboard-refined .member-overview-caption{font-size:.74rem;text-align:left}
 .account-dashboard-refined .member-text-action{font-size:.68rem}
 .account-dashboard-refined .member-scheduled-selection{padding:18px}
}
@media(max-width:390px){
 .account-dashboard-refined .member-overview-grid{grid-template-columns:1fr}
 .account-dashboard-refined .member-overview-grid .summary-card,.account-dashboard-refined .member-overview-grid .summary-card:last-child{grid-column:span 1}
}

/* v5.1.14.6: refined Wine Club invitation on the join page only. */
.join-copy .join-copy-heading {
  font-family:"Cormorant Garamond", Georgia, serif;
  font-weight:600;
  font-size:clamp(1.7rem, 2vw, 2.05rem);
  line-height:1.1;
  color:#fff;
  margin:0 0 16px;
}
.join-copy-inner > p:not(.small){margin:0 0 16px;}
.join-copy-inner > p:not(.small) strong{font-weight:700;}
.join-copy-inner > p.small{margin-top:20px;}

/* CELLAR v5.1.14.8 — accessible birthday calendar and delivery address review. */
.join-form .join-birthdate input[type="date"] {
  box-sizing:border-box; width:100%; min-height:48px; color:#313a2a; font:inherit;
  cursor:pointer; background-color:#fff; color-scheme:light;
}
.join-form .join-birthdate input[type="date"]::-webkit-calendar-picker-indicator {
  cursor:pointer; width:20px; height:20px; opacity:.85;
}
.join-form .join-birthdate small {display:block; margin:6px 5px 0; font-size:12px; letter-spacing:0; line-height:1.35;}
.join-address-lookup {border:1px solid #ddd4c8; border-radius:13px; background:#faf8f4; padding:16px 18px; margin-top:7px;}
.join-address-lookup strong {font-size:.95rem;color:#354723;}
.join-address-lookup p,.join-address-fallback {margin:6px 0 12px; font-size:.86rem; line-height:1.4; color:#655e54;}
.join-address-fallback {margin:0;}
#join-google-places {min-height:0;max-width:100%;}
#join-google-places gmp-place-autocomplete {display:block;width:100%;max-width:100%;--gmpx-color-surface:#fff;}

/* CELLAR v5.1.15.4 — Bendooley Estate member portal, consistent with dashboard */
.member-inner-page .member-page-hero{margin-bottom:20px}
.member-inner-page .member-page-hero .member-identity-card{flex:0 1 240px}
.member-inner-page .member-page-section-title{margin-top:28px}
.member-inner-page .member-page-section-title .eyebrow{color:#956c4b}
.member-page-summary{display:grid;grid-template-columns:1fr 1fr;gap:13px;margin-bottom:24px}
.member-stat-tile{background:#fffdfa;border:1px solid #e4d9ca;border-radius:14px;padding:22px 25px;box-shadow:0 6px 19px rgba(45,38,24,.025)}
.member-stat-tile-soft{background:#f1ece3}
.member-stat-tile span{display:block;color:#96704b;letter-spacing:.15em;font-size:.65rem;font-weight:700}
.member-stat-tile strong{display:block;margin:6px 0 3px;color:#31451f;font:600 clamp(1.7rem,3vw,2.45rem)/1.1 'Cormorant Garamond',Georgia,serif}
.member-stat-tile small{color:#797268;font-size:.77rem}
.member-content-card{background:#fffdfa;border:1px solid #e1d8cc;border-radius:16px;padding:clamp(20px,3vw,31px);box-shadow:0 7px 26px rgba(47,42,30,.038);min-width:0}
.member-inner-page .member-content-card.panel{margin:0 0 18px}
.member-card-heading{display:flex;align-items:start;justify-content:space-between;gap:18px;flex-wrap:wrap;padding-bottom:19px;margin-bottom:18px;border-bottom:1px solid #e9e3d9}
.member-card-heading .eyebrow,.member-content-card>.eyebrow{margin:0 0 7px;color:#a4764e!important;font-size:.66rem;font-weight:700;letter-spacing:.15em}
.member-card-heading h2,.member-content-card h2{color:#30451f;font-size:clamp(1.65rem,2.5vw,2.2rem);font-weight:600;line-height:1.06;margin:0 0 8px}
.member-card-heading p:not(.eyebrow),.member-content-card>p:not(.eyebrow){margin:4px 0 0;color:#756d61;font-size:.87rem;line-height:1.6}
.member-count-pill{display:inline-flex;align-items:center;padding:8px 13px;border:1px solid #d8d2c2;border-radius:99px;background:#f3f0e9;color:#38502d;font-size:.7rem;white-space:nowrap;font-weight:700;letter-spacing:.055em}
.member-table-card{padding:0;overflow:hidden}
.member-table-card .member-card-heading{padding:27px 29px 21px;margin:0}
.member-table-card .table-scroll{overflow-x:auto}
.member-data-table{min-width:790px;border-collapse:collapse;width:100%}
.member-data-table thead th{background:#f2ede5;padding:17px 15px;color:#6f6253;font-size:.68rem;letter-spacing:.075em;text-transform:uppercase}
.member-data-table tbody td{padding:19px 15px;font-size:.82rem;color:#504d43;border-bottom:1px solid #e9e2d7;vertical-align:middle}
.member-data-table tbody tr:last-child td{border-bottom:0}
.member-data-table tbody td strong{color:#30431e}
.member-pill-link,.member-outline-button,.member-solid-button{display:inline-flex;align-items:center;justify-content:center;gap:13px;min-height:43px;border-radius:99px;padding:11px 19px;font-size:.73rem;font-weight:700;letter-spacing:.045em;text-decoration:none;cursor:pointer;transition:transform .16s,background .16s;max-width:100%;font-family:inherit}
.member-pill-link{color:#334a25;background:#f3f2eb;border:1px solid #d9d4c7;white-space:nowrap}
.member-outline-button{color:#334822;background:#fffefa;border:1px solid #788668}
.member-solid-button{color:white;background:#334720;border:1px solid #334720}
.member-pill-link:hover,.member-outline-button:hover{background:#edf0e8;transform:translateY(-1px)}
.member-solid-button:hover{background:#243713;transform:translateY(-1px)}
.member-empty-state{text-align:center;padding:45px 20px 50px}
.member-empty-state h3{font:600 2rem 'Cormorant Garamond',Georgia,serif;color:#344928;margin:12px 0 5px}
.member-empty-state p{color:#736e65;margin:0 auto 20px;max-width:360px}
.member-empty-mark{display:grid;place-items:center;margin:auto;width:55px;height:55px;border-radius:50%;background:#eff0e8;color:#5b7145;font-size:1.9rem}
.member-details-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:start}
.member-details-grid .member-detail-wide{grid-column:1/-1}
.member-profile-summary{background:#f4f0e8;border-radius:12px;padding:16px 18px;display:flex;flex-direction:column;gap:3px;margin-bottom:13px}
.member-profile-summary strong{color:#33451e;font:600 1.55rem 'Cormorant Garamond',Georgia,serif}
.member-profile-summary span{color:#6f6b64;font-size:.84rem;overflow-wrap:anywhere}
.member-form{display:flex;flex-direction:column;align-items:stretch;gap:13px;margin-top:14px}
.member-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px 16px}
.member-form .field-label{display:flex;flex-direction:column;gap:7px;color:#5b584e;font-size:.78rem;font-weight:600;margin:0}
.member-form .field-label input{width:100%;box-sizing:border-box;min-height:47px;padding:12px 14px;border:1px solid #d7d3ca;border-radius:9px;background:#fff;color:#333d2e;outline-offset:2px;font:inherit;font-size:.91rem}
.member-form .field-label input:focus{outline:2px solid #a3b398;border-color:#536b4b}
.member-form>.member-solid-button{align-self:flex-start;margin-top:7px}
.member-helper{color:#7b7369!important;font-size:.79rem!important;line-height:1.55!important;margin:10px 0!important}
.member-check-card{display:flex;gap:12px;align-items:flex-start;background:#f5f0e7;border:1px solid #e2d8ca;border-radius:12px;padding:14px;color:#4b5145;font-size:.86rem;line-height:1.45;cursor:pointer}
.member-check-card input{accent-color:#40552e;width:19px;height:19px;flex-shrink:0;margin:0}
.member-date-note{background:#f0f1e7;padding:14px;border-radius:10px;margin:16px 0!important}
.member-success-note{background:#f1f6ee;color:#33582a;padding:14px;border-radius:10px}
.member-settings-stat{display:flex;justify-content:space-between;gap:12px;align-items:center;border-bottom:1px solid #e9e3d9;padding:12px 0;color:#6c675d;font-size:.82rem}
.member-settings-stat strong{font:600 1.35rem 'Cormorant Garamond',Georgia,serif;color:#3c4e2c;text-align:right}
.member-payment-method{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:16px 0;border-bottom:1px solid #e9e3d9}
.member-payment-method>div:first-child{display:flex;flex-direction:column;gap:5px}
.member-payment-method strong{color:#344822}
.member-payment-method small{font-size:.77rem;color:#797268}
.member-payment-method .status{align-self:flex-start}
.member-card-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.member-card-actions form{margin:0}
.member-card-actions .member-outline-button{font-size:.68rem;min-height:38px}
.member-danger-button{color:#a23e34;border-color:#dcada5}
.member-danger-button:hover{background:#fff2ef}
.member-password-layout{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(230px,1fr);gap:17px;align-items:start}
.member-password-form{max-width:470px;gap:15px}
.member-security-advice{background:#f3eee5}
.member-security-icon{display:grid;place-items:center;margin:4px 0 19px;width:58px;height:58px;border-radius:50%;background:#e5e9dc;color:#456037;font-size:2rem}
.member-security-advice .member-outline-button{margin-top:23px}
.member-order-detail-banner{background:linear-gradient(113deg,#2c3b22,#4d6040);color:#f6f4eb;border-radius:17px;padding:clamp(24px,3vw,36px);margin:0 0 18px}
.member-order-detail-banner .back-link,.member-order-detail-banner .eyebrow{color:#e2d3b4}
.member-order-detail-banner h1{color:white;font-size:clamp(2.7rem,4vw,3.7rem);line-height:.98}
.member-order-detail-banner p{color:#e4e5d9}
.member-order-detail-banner .order-detail-heading{margin:0}
.member-order-detail-banner .order-detail-state strong{color:#fff;font-size:clamp(2rem,3.5vw,3rem)}
.member-order-detail-page .order-detail-summary{gap:12px}
.member-order-detail-page .order-detail-summary>div{background:#fffdfa;border:1px solid #e4dbd0;border-radius:13px;padding:20px}
.member-order-detail-page .order-detail-summary strong{font-size:1.4rem;overflow-wrap:anywhere}
.member-order-detail-page .member-content-card{margin-bottom:17px}
.member-order-detail-page .table-scroll{overflow-x:auto}
.member-order-detail-page .table{min-width:660px}
.member-order-detail-page .order-totals .grand strong{color:#304a24}
.member-inner-page a:focus-visible,.member-inner-page button:focus-visible,.member-curated-shell button:focus-visible,.member-curated-shell a:focus-visible{outline:3px solid #b69a65;outline-offset:3px}

/* Curated case: elegant, dedicated onboarding presentation */
.member-curated-shell{width:min(1220px,calc(100% - 64px));margin:44px auto 84px}
.member-curated-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(200px,280px);align-items:center;gap:30px;padding:clamp(29px,5vw,65px);border-radius:22px;color:#fff;background:linear-gradient(115deg,#29391f,#3b4b2d 68%,#59674a);position:relative;overflow:hidden;box-shadow:0 17px 40px rgba(34,47,25,.13)}
.member-curated-hero::before{content:'';position:absolute;right:-80px;top:-180px;width:500px;height:500px;border:1px solid rgba(236,235,219,.14);border-radius:50%;pointer-events:none}
.member-curated-copy{position:relative;z-index:1}
.member-curated-hero .member-hero-eyebrow{letter-spacing:.19em;color:#decaa9;font-size:.7rem;font-weight:700;margin:0 0 22px}
.member-curated-hero h1{font:500 clamp(3rem,5vw,5rem)/.93 'Cormorant Garamond',Georgia,serif;margin:0 0 22px;letter-spacing:-.02em;color:#fff}
.member-curated-hero h1 em{font-style:italic;color:#e8d6b8}
.member-curated-copy>p:not(.member-hero-eyebrow){color:#e6e8da;font-size:.98rem;line-height:1.66;max-width:540px}
.member-curated-copy strong{color:#fff}
.member-curated-tags{display:flex;flex-wrap:wrap;gap:9px;margin-top:26px}
.member-curated-tags span{border:1px solid rgba(255,255,255,.26);background:rgba(255,255,255,.085);border-radius:99px;padding:8px 13px;color:#f4eee2;font-size:.77rem}
.member-curated-feature{position:relative;z-index:1;background:rgba(250,251,240,.11);border:1px solid rgba(253,253,236,.27);border-radius:16px;padding:25px;display:flex;flex-direction:column;gap:5px;min-width:0}
.member-curated-feature span{letter-spacing:.15em;font-size:.62rem;font-weight:700;color:#e5d7bb}
.member-curated-feature strong{font:600 clamp(2.15rem,3vw,2.9rem)/1 'Cormorant Garamond',Georgia,serif;color:#fff;margin:2px 0 6px}
.member-curated-feature small{color:#e0e6d8;font-size:.77rem}
.member-curated-feature-line{height:1px;background:rgba(255,255,255,.25);margin:18px 0}
.member-curated-layout{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(300px,1fr);align-items:start;gap:19px;margin:23px 0}
.member-curated-layout .member-content-card{background:#fffefa;border-radius:18px;padding:clamp(22px,3vw,34px)}
.member-curated-selection .member-card-heading{align-items:center}
.member-curated-wines{list-style:none;margin:0;padding:0}
.member-curated-wines li{display:flex;align-items:center;gap:15px;padding:16px 0;border-bottom:1px solid #ede5da}
.member-curated-wines li:first-child{padding-top:6px}
.member-curated-wine-number{display:grid;place-items:center;width:35px;height:35px;flex:0 0 35px;border:1px solid #dfd5c5;background:#f6f2ea;border-radius:50%;font-size:.65rem;font-weight:700;color:#8c775f}
.member-curated-wine-info{flex:1;min-width:0}
.member-curated-wine-info strong{display:block;color:#314421;font-size:.95rem;line-height:1.3}
.member-curated-wine-info small{display:block;color:#807a6e;font-size:.76rem;margin-top:4px}
.member-curated-quantity{white-space:nowrap;background:#f2eee5;border-radius:99px;padding:7px 11px;font-size:.74rem;color:#5b5d4e}
.member-curated-note{display:flex;align-items:flex-start;gap:14px;padding:20px;margin-top:24px;background:#f5f0e7;border-radius:12px;color:#646155}
.member-curated-note>span{color:#8c7958;font-size:1.45rem}
.member-curated-note p{font-size:.82rem;line-height:1.55;margin:0}
.member-curated-summary{position:sticky;top:130px}
.member-curated-summary h2{font-size:clamp(2rem,3vw,2.6rem);margin-bottom:13px}
.member-curated-summary-intro{color:#746e62!important;font-size:.85rem!important;line-height:1.5}
.member-curated-price-lines{margin-top:28px;padding-top:8px;border-top:1px solid #e6dfd4}
.member-curated-price-lines>div{display:flex;justify-content:space-between;gap:17px;align-items:baseline;padding:11px 0;color:#656056;font-size:.86rem}
.member-curated-price-lines strong{color:#37472b;white-space:nowrap}
.member-curated-price-lines small{display:block;font-size:.73rem;color:#877e71;margin:4px 0}
.member-curated-price-lines .member-curated-savings{color:#37653d}
.member-curated-price-lines .member-curated-savings strong{color:#32613c}
.member-curated-total{display:flex;align-items:baseline;justify-content:space-between;gap:10px;padding:20px 0 23px;border-top:2px solid #d3c9b9;margin-top:10px}
.member-curated-total span{color:#334724;font-weight:700;font-size:.9rem}
.member-curated-total small{display:block;margin-top:5px;color:#7a7368;font-weight:400;font-size:.72rem}
.member-curated-total strong{color:#2e4524;font:700 clamp(2rem,3.5vw,2.6rem)/1 'Cormorant Garamond',Georgia,serif;white-space:nowrap}
.member-curated-checkout .member-solid-button{width:100%;min-height:53px;border-radius:11px;white-space:normal;text-align:center;font-size:.77rem}
.member-curated-secure{color:#7d776e!important;font-size:.76rem!important;line-height:1.55;text-align:center;margin:14px 4px 0!important}
.member-curated-unavailable{max-width:900px;margin:25px auto;border-left:4px solid #b49362}
@media(max-width:1050px){.member-curated-layout{grid-template-columns:minmax(0,1.3fr) minmax(270px,1fr)}.member-curated-shell{width:calc(100% - 40px)}}
@media(max-width:820px){.member-curated-hero{grid-template-columns:1fr;padding:35px}.member-curated-feature{display:grid;grid-template-columns:1fr 1fr;gap:5px 17px}.member-curated-feature .member-curated-feature-line{display:none}.member-curated-layout{grid-template-columns:1fr}.member-curated-summary{position:static}.member-password-layout{grid-template-columns:1fr}.member-details-grid{grid-template-columns:1fr}.member-details-grid .member-detail-wide{grid-column:auto}}
@media(max-width:620px){.member-curated-shell{width:calc(100% - 22px);margin:15px auto 55px}.member-curated-hero{padding:30px 24px;border-radius:15px}.member-curated-hero h1{font-size:3.2rem}.member-curated-feature{grid-template-columns:1fr 1fr;padding:20px}.member-curated-tags{margin-top:20px}.member-curated-layout{margin-top:12px;gap:12px}.member-curated-layout .member-content-card{padding:23px 19px}.member-curated-quantity{font-size:.69rem}.member-curated-wines li{gap:10px}.member-page-summary,.member-form-grid{grid-template-columns:1fr}.member-card-heading{gap:10px}.member-table-card .member-card-heading{padding:22px 20px}.member-payment-method{align-items:flex-start;flex-direction:column}.member-inner-page .member-page-hero{margin-bottom:12px}.member-order-detail-banner{padding:23px}.member-order-detail-page .order-detail-summary{grid-template-columns:1fr 1fr}}
@media(max-width:390px){.member-curated-feature{grid-template-columns:1fr}.member-curated-feature strong{font-size:2.3rem}.member-order-detail-page .order-detail-summary{grid-template-columns:1fr}}

/* CELLAR Gift Subscriptions | v5.1.15.10
   Public gift journey — scoped so staff and member forms retain their styling. */
.gift-public-hero{position:relative;isolation:isolate;min-height:305px;background:#2d3424;color:#fff;overflow:hidden}
.gift-public-hero:before{content:"";position:absolute;inset:0;z-index:-2;background:linear-gradient(90deg,rgba(28,37,25,.97) 0%,rgba(39,45,31,.87) 52%,rgba(45,40,28,.60) 100%),url("https://bendooley-bucket.s3.ap-southeast-2.amazonaws.com/wp-content/uploads/2025/11/22141049/0010-1-scaled.jpg") center 58%/cover no-repeat}
.gift-public-hero:after{content:"";position:absolute;width:400px;height:400px;right:8%;top:-165px;border:1px solid rgba(212,185,129,.17);border-radius:50%;z-index:-1;box-shadow:0 0 0 70px rgba(210,185,132,.032),0 0 0 150px rgba(210,185,132,.025)}
.gift-public-hero-inner{max-width:1280px;margin:0 auto;padding:50px 32px;display:flex;align-items:center;justify-content:space-between;gap:38px;min-height:305px}
.gift-hero-copy{max-width:830px}
.gift-kicker{color:#b67d4b;font-size:11px;font-weight:700;letter-spacing:.21em;text-transform:uppercase;line-height:1.4;margin:0 0 14px}
.gift-public-hero .gift-kicker{color:#e5be85}
.gift-public-hero h1{font-family:'Cormorant Garamond',Georgia,serif;font-size:clamp(3.2rem,5.1vw,5rem);line-height:.96;letter-spacing:-.018em;font-weight:500;color:#fff;margin:0 0 18px}
.gift-public-hero h1 em{font-style:italic;color:#e2c29a;font-weight:400}
.gift-hero-lead{color:#f0e9e0;font-size:15px;line-height:1.75;max-width:660px;margin:0}
.gift-hero-points{display:flex;gap:24px;flex-wrap:wrap;margin:26px 0 0;font-size:11px;color:#f5eae0;letter-spacing:.035em}
.gift-hero-points span{display:flex;align-items:center;gap:10px}
.gift-hero-points span:before{content:'✦';color:#e2c29a;font-size:10px}
.gift-hero-seal{width:180px;height:180px;border:1px solid rgba(239,218,186,.56);border-radius:50%;flex:0 0 auto;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;transform:rotate(-8deg);background:rgba(32,33,22,.20);box-shadow:inset 0 0 0 8px rgba(226,194,154,.07)}
.gift-hero-seal span{color:#ebd1b3;letter-spacing:.19em;font-size:9px}
.gift-hero-seal strong{font-family:'Cormorant Garamond',Georgia,serif;color:#fff;font-size:40px;font-style:italic;font-weight:500;line-height:1}
.gift-public-hero-compact,.gift-public-hero-compact .gift-public-hero-inner{min-height:210px}
.gift-public-hero-compact .gift-public-hero-inner{padding-top:40px;padding-bottom:40px}
.gift-public-hero-compact h1{font-size:clamp(3rem,4.7vw,4.1rem)}
.gift-public-shell{max-width:1270px;margin:0 auto;padding:0 32px 90px;color:#37402e}
.gift-progress{display:flex;align-items:center;gap:17px;padding:30px 0 29px;border-bottom:1px solid #ded7cd;margin-bottom:31px}
.gift-progress-step{display:flex;align-items:center;gap:10px;color:#999285;font-weight:700;font-size:11px;text-transform:uppercase;letter-spacing:.08em;white-space:nowrap}
.gift-progress-step b{font-size:11px;width:33px;height:33px;border:1px solid #d5cabd;border-radius:50%;display:grid;place-items:center;color:#938774}
.gift-progress-step.is-current{color:#39492a}.gift-progress-step.is-current b,.gift-progress-step.is-done b{border-color:#344525;background:#344525;color:white}
.gift-progress-step.is-done{color:#4c6340}.gift-progress-line{height:1px;min-width:20px;max-width:88px;flex:1;background:#d8cfc2}
.gift-intro-row{display:flex;justify-content:space-between;align-items:flex-end;gap:35px;margin-bottom:28px}
.gift-intro-row>div:first-child{max-width:710px}
.gift-intro-row h2{font-size:clamp(2.4rem,3.4vw,3.25rem);line-height:1.02;margin:0 0 10px;color:#344323}
.gift-intro-row>div>p:last-child{color:#797369;font-size:14px;line-height:1.6;margin:0}
.gift-member-login{font-size:12px;color:#817568;text-align:right;line-height:1.7;flex-shrink:0}
.gift-member-login a{display:inline-block;font-weight:700;color:#354622;border-bottom:1px solid #354622;margin-top:4px}
.gift-member-ribbon{border:1px solid #d7d8c6;background:#f1f1e9;padding:15px 17px;border-radius:12px;display:flex;align-items:center;gap:12px;max-width:326px;flex:0 0 auto}
.gift-member-ribbon-icon{color:#92743d;font-size:28px}.gift-member-ribbon strong{display:block;font-size:13px;color:#304222;margin-bottom:4px}.gift-member-ribbon small{display:block;color:#766e62;font-size:12px;line-height:1.4}
.gift-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(290px,345px);align-items:start;gap:25px}
.gift-form-column{display:flex;flex-direction:column;gap:19px;min-width:0}
.gift-form-card{border:1px solid #e4dcd1;background:#fff;border-radius:16px;padding:28px 30px;box-shadow:0 7px 24px rgba(53,48,37,.035)}
.gift-card-header{display:flex;gap:17px;align-items:flex-start;margin-bottom:23px}
.gift-card-number{border:1px solid #e8dccc;background:#f8f3ed;border-radius:50%;width:44px;height:44px;display:flex;justify-content:center;align-items:center;flex:0 0 44px;color:#ae7d52;font-family:'Cormorant Garamond',Georgia,serif;font-size:24px;font-weight:600}
.gift-card-header .gift-kicker{margin:1px 0 5px;font-size:10px}
.gift-card-header h3{font-family:'Cormorant Garamond',Georgia,serif;color:#344323;font-size:32px;line-height:1;margin:0 0 8px;font-weight:600}
.gift-card-header p:last-child{font-size:13px;color:#79756d;line-height:1.5;margin:0}
.gift-fields{display:grid;gap:17px 14px}.gift-fields-two{grid-template-columns:repeat(2,minmax(0,1fr))}.gift-fields-three{grid-template-columns:repeat(3,minmax(0,1fr))}
.gift-field{display:flex;flex-direction:column;gap:7px;min-width:0}.gift-field.gift-wide{grid-column:1/-1}
.gift-field>span{font-size:12px;font-weight:700;color:#4b5044}.gift-field>span em,.gift-check-required em{font-style:normal;color:#a46f42}.gift-field>span small{font-weight:400;color:#928a81}
.gift-field input,.gift-field select,.gift-field textarea{width:100%;border:1px solid #dcd5cc;background:#fcfbf9;color:#373b33;padding:12px 14px;font-size:14px;border-radius:9px;min-height:47px;font-family:Arial,Helvetica,sans-serif;transition:box-shadow .18s,border-color .18s}
.gift-field input:focus,.gift-field select:focus,.gift-field textarea:focus{border-color:#70805f;outline:0;box-shadow:0 0 0 3px rgba(82,114,65,.12)}
.gift-field input::placeholder,.gift-field textarea::placeholder{color:#a49c90}.gift-field textarea{resize:vertical;line-height:1.55;min-height:100px}
.gift-field>small{color:#8e8479;font-size:11px;line-height:1.45}.gift-field .gift-character-counter{text-align:right}
.gift-info-strip{background:#f8f6ef;border:1px solid #e9e4d7;padding:12px 14px;border-radius:10px;display:flex;gap:12px;align-items:flex-start;margin-top:22px}.gift-info-strip>span{color:#a4774a;font-size:18px;line-height:1.1}
.gift-info-strip p{margin:0;color:#6f7064;font-size:12px;line-height:1.55}
.gift-check-row{display:flex;align-items:flex-start;gap:12px;margin:22px 0 0;font-size:13px;line-height:1.55;color:#4b5046;cursor:pointer}
.gift-check-row input{appearance:auto;width:18px;height:18px;flex:0 0 18px;margin:1px 0 0;accent-color:#344323;padding:0}
.gift-check-row small{display:block;color:#8c847a;line-height:1.5;font-size:11px;margin-top:3px}
.gift-check-required{background:#f7f7f0;border-radius:10px;padding:13px;margin-top:20px}
.gift-small-note{font-size:12px;color:#7c756c;line-height:1.55;margin:18px 0 0}
.gift-order-aside{position:sticky;top:128px;min-width:0}.gift-summary-card{background:#fff;border:1px solid #e1d8cd;border-radius:16px;overflow:hidden;box-shadow:0 9px 28px rgba(56,47,31,.065)}
.gift-summary-top{padding:27px 25px 22px;background:#344324;color:#fff;position:relative;overflow:hidden}
.gift-summary-top:after{content:'';width:180px;height:180px;position:absolute;top:-90px;right:-85px;border:1px solid rgba(244,231,203,.32);border-radius:50%;box-shadow:0 0 0 38px rgba(245,220,192,.04)}
.gift-summary-top .gift-kicker{color:#e6c196;font-size:10px;margin-bottom:8px}.gift-summary-top h3{font-family:'Cormorant Garamond',Georgia,serif;color:white;font-size:32px;font-weight:500;line-height:1.02;margin:0 0 20px}
.gift-summary-divider{width:46px;height:2px;background:#c69f72}.gift-summary-content{padding:23px 24px 7px}
.gift-summary-line{display:flex;justify-content:space-between;align-items:baseline;gap:10px;margin-bottom:17px}.gift-summary-line span{font-size:12px;color:#827b71;line-height:1.4}.gift-summary-line strong{font-size:13px;color:#344323;white-space:nowrap;text-align:right}.gift-summary-saving strong{color:#658052}
.gift-summary-rule{height:1px;background:#e6ded4;margin:18px 0 23px}.gift-summary-total{border-top:1px solid #ded6ca;padding:20px 0 4px;display:flex;flex-direction:column;gap:8px}.gift-summary-total span{font-size:12px;color:#4c5542;font-weight:700}.gift-summary-total strong{font:600 39px/.95 'Cormorant Garamond',Georgia,serif;color:#344323}
.gift-summary-footnote{font-size:11px;color:#8b8378;line-height:1.6;margin:17px 0 0}
.gift-summary-action{margin:0 24px;padding:20px 0 24px;border-top:1px solid #eee9e2}.gift-action-primary{width:100%;min-height:49px;padding:13px 19px;display:flex;align-items:center;justify-content:center;gap:9px;background:#344323;color:#fff;text-decoration:none;border:1px solid #344323;border-radius:999px;text-transform:uppercase;letter-spacing:.055em;font-size:11px;font-weight:700;cursor:pointer;transition:background .18s,transform .18s}
.gift-action-primary:hover,.gift-action-primary:focus-visible{background:#4e6039;transform:translateY(-1px)}.gift-summary-action p{font-size:11px;color:#807a70;text-align:center;margin:12px 0 0}.gift-summary-action p span{color:#5b8050}
.gift-help-card{border:1px solid #e6dccd;background:#f8f3ec;padding:23px 24px;border-radius:14px;margin-top:16px;color:#394530}
.gift-help-card>strong{display:block;font:600 22px/1.1 'Cormorant Garamond',Georgia,serif}.gift-help-card>p{color:#777169;font-size:12px;line-height:1.55;margin:9px 0 11px}.gift-help-card>span{display:block;font-size:10px;color:#9b8269;letter-spacing:.1em;text-transform:uppercase}
.gift-mobile-submit{display:none}.gift-mobile-submit p{color:#80786e;font-size:12px;text-align:center}
.gift-alert-error,.gift-alert-warning,.gift-alert-success{padding:16px 20px;border-radius:12px;line-height:1.5;font-size:13px;margin:0 0 20px;background:#fff4ed;color:#8b442d;border:1px solid #edcbbb}
.gift-alert-error strong{display:block;font-size:15px}.gift-alert-error ul{margin:7px 0;padding-left:20px}.gift-alert-error p{margin:8px 0 0}.gift-alert-warning{background:#fff7ea;color:#725326;border-color:#ecdbbd}.gift-alert-success{background:#eff4e8;color:#365b2d;border-color:#d1dfc6}
.gift-simple-shell{max-width:1100px}.gift-quote-layout{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(260px,.7fr);gap:24px;align-items:start}
.gift-quote-card{padding:37px 40px}.gift-quote-card h2{font-size:43px;line-height:1.04;margin:0 0 14px}.gift-quote-lead{color:#747066;font-size:14px;line-height:1.6;max-width:500px;margin:0 0 22px}
.gift-reference{display:inline-block;background:#f6f1ea;padding:8px 13px;border-radius:7px;font-size:12px;color:#6d675c}.gift-reference strong{color:#354723;font-size:13px}
.gift-quote-lines{margin:25px 0;border-top:1px solid #e6ded5}.gift-quote-lines>div{display:flex;justify-content:space-between;gap:12px;align-items:baseline;padding:17px 0;border-bottom:1px solid #e6ded5;font-size:14px;color:#67655d}.gift-quote-lines strong{color:#344323;font-size:15px;white-space:nowrap}.gift-quote-lines .gift-quote-discount strong{color:#63804b}
.gift-quote-lines .gift-quote-total{background:#f5f4ed;border-bottom:none;border-radius:10px;padding:19px 17px;align-items:center;color:#39492a;font-weight:700}.gift-quote-total strong{font:600 35px/1 'Cormorant Garamond',Georgia,serif;color:#344323}
.gift-quote-fineprint,.gift-secure-footnote,.gift-quote-pending-note{font-size:12px;line-height:1.6;color:#82796f}.gift-checkout-form{margin:20px 0 0}.gift-secure-footnote{margin:18px 0 0}.gift-quote-side .gift-help-card{margin:0}.gift-quote-side .gift-help-card h3{font:600 31px/1.02 'Cormorant Garamond',Georgia,serif;margin:5px 0 20px}
.gift-quote-side .gift-help-card ol{counter-reset:step;list-style:none;padding:0;margin:0}.gift-quote-side .gift-help-card li{display:grid;grid-template-columns:28px 1fr;column-gap:11px;align-items:start;margin-bottom:23px}.gift-quote-side .gift-help-card li:before{counter-increment:step;content:counter(step,decimal-leading-zero);color:#b17d50;font:600 21px/1 'Cormorant Garamond',Georgia,serif;grid-row:1/3}.gift-quote-side .gift-help-card li strong{font-size:12px;color:#344323}.gift-quote-side .gift-help-card li span{font-size:12px;color:#777169;line-height:1.5;margin-top:3px}
.gift-quote-pending-note{text-align:center;margin-top:16px}.gift-status-shell{max-width:760px}.gift-status-card{text-align:center;margin:45px 0 20px;padding:42px}.gift-status-icon{display:grid;place-items:center;background:#f7f1e4;color:#ab844e;width:60px;height:60px;border-radius:50%;margin:0 auto 22px;font-size:28px}.gift-status-icon.is-active{background:#e9f1e5;color:#4b6b40}.gift-status-card h2{font-size:44px;line-height:1.04;margin:10px 0 12px}.gift-status-card>p:not(.gift-kicker){line-height:1.65;font-size:14px;color:#777169}.gift-status-card .gift-alert-warning,.gift-status-card .gift-alert-success{margin:25px 0}.gift-action-secondary{display:inline-flex;padding:14px 24px;border:1px solid #cfc5b7;border-radius:99px;align-items:center;justify-content:center;gap:10px;font-size:11px;font-weight:700;letter-spacing:.05em;margin:15px auto 0;color:#344323;text-decoration:none;background:#f6f2ec}
/* Compact gift account/contact forms */
.gift-account-shell{max-width:920px;margin:0 auto;padding:38px 24px 80px}.gift-account-shell .gift-form-card{margin:0 auto}.gift-account-shell h1{font-size:43px;line-height:1.05;margin:0 0 14px}.gift-account-lead{color:#777169;line-height:1.6;font-size:14px}.gift-account-main{margin-top:24px}.gift-account-card{max-width:700px;padding:35px}.gift-account-card .gift-action-primary{margin-top:22px}.gift-account-card .gift-fields{margin-top:23px}.gift-account-label{color:#a67a4d;font-size:11px;font-weight:700;letter-spacing:.17em;text-transform:uppercase}.gift-delivery-list{margin:15px 0 0;border-top:1px solid #eee5db}.gift-delivery-row{display:flex;align-items:center;justify-content:space-between;gap:15px;border-bottom:1px solid #eee5db;padding:17px 0}.gift-delivery-row strong{font-size:13px;color:#334325}.gift-delivery-row small{display:block;font-size:12px;color:#857f74;margin-top:5px}.gift-delivery-row>span{padding:7px 11px;border-radius:99px;background:#f3eee5;color:#70644e;font-size:11px;font-weight:700}.gift-account-grid{display:grid;grid-template-columns:1.4fr 1fr;gap:22px;margin-top:25px}.gift-account-grid .gift-form-card{padding:25px}.gift-account-grid h2{font-size:28px;margin:0 0 12px}.gift-account-grid .gift-action-primary{margin-top:19px}
@media(max-width:1060px){.gift-layout{grid-template-columns:minmax(0,1fr) 300px;gap:16px}.gift-form-card{padding:24px}.gift-summary-content,.gift-summary-top{padding-left:20px;padding-right:20px}.gift-summary-action{margin-left:20px;margin-right:20px}}
@media(max-width:850px){.gift-hero-seal{display:none}.gift-layout,.gift-quote-layout,.gift-account-grid{grid-template-columns:1fr}.gift-order-aside{position:static}.gift-summary-card{max-width:none}.gift-order-aside .gift-summary-action{display:none}.gift-mobile-submit{display:block}.gift-summary-content{padding-bottom:24px}.gift-intro-row{align-items:start}.gift-quote-side{order:2}}
@media(max-width:620px){.gift-public-hero,.gift-public-hero-inner{min-height:258px}.gift-public-hero-inner{padding:38px 22px}.gift-public-hero h1{font-size:3.35rem}.gift-hero-lead{font-size:13px}.gift-hero-points{gap:10px 15px;font-size:10px}.gift-public-shell{padding:0 16px 60px}.gift-progress{gap:7px;padding:21px 0;margin-bottom:24px}.gift-progress-step{font-size:9px;letter-spacing:0;gap:5px}.gift-progress-step b{width:25px;height:25px;font-size:10px}.gift-progress-line{min-width:7px}.gift-intro-row{display:block}.gift-member-login{text-align:left;margin-top:18px}.gift-member-ribbon{margin-top:16px;max-width:none}.gift-form-card{padding:21px 18px;border-radius:13px}.gift-card-number{width:37px;height:37px;flex-basis:37px;font-size:21px}.gift-card-header{gap:12px}.gift-card-header h3{font-size:28px}.gift-fields-two,.gift-fields-three{grid-template-columns:1fr}.gift-form-column{gap:14px}.gift-summary-top h3{font-size:28px}.gift-quote-card{padding:25px 20px}.gift-quote-card h2,.gift-status-card h2{font-size:35px}.gift-status-card{margin-top:28px}.gift-quote-total strong{font-size:30px}.gift-account-shell{padding:24px 15px 55px}.gift-account-card{padding:24px 20px}.gift-account-shell h1{font-size:37px}}
@media(prefers-reduced-motion:reduce){.gift-action-primary,.gift-field input,.gift-field select,.gift-field textarea{transition:none}}

/* CELLAR 5.1.15.17 — discreet member support widget */
.cellar-member-support{position:fixed;z-index:100;left:18px;bottom:20px;max-width:min(390px,calc(100vw - 36px));font-family:inherit}
.cellar-member-support summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:9px;padding:13px 19px;border:1px solid #b8aa88;background:#314129;color:#fff;border-radius:999px;box-shadow:0 11px 35px rgba(21,30,20,.22);font-size:.88rem;font-weight:700;letter-spacing:.02em}
.cellar-member-support summary::-webkit-details-marker{display:none}
.cellar-member-support summary span{font-size:1.2rem}
.cellar-member-support[open] summary{border-radius:12px 12px 0 0;width:100%;box-sizing:border-box}
.member-support-panel{background:#fffcf8;border:1px solid #dfd4c4;border-radius:0 0 16px 16px;box-shadow:0 12px 38px rgba(31,32,23,.22);padding:20px;max-height:min(70vh,630px);overflow:auto}
.member-support-panel .member-support-eyebrow{color:#9f8551;letter-spacing:.15em;font-size:.67rem;font-weight:700;margin:0 0 5px}
.member-support-panel h2{font-family:Georgia,serif;color:#324328;margin:0 0 8px;font-size:1.5rem}
.member-support-panel p{font-size:.88rem;color:#655f52;margin:0 0 15px;line-height:1.5}
.member-support-panel form{display:grid;gap:8px}
.member-support-panel label{font-size:.8rem;font-weight:700;color:#324328}
.member-support-panel select,.member-support-panel textarea{width:100%;box-sizing:border-box;border:1px solid #cfc4b2;border-radius:9px;background:white;font:inherit;font-size:.89rem;color:#273421;padding:11px;resize:vertical}
.member-support-panel small{font-size:.75rem;color:#777268;line-height:1.45}
.member-support-panel button{margin-top:6px;width:100%}
.dispatch-weekdays{display:flex;flex-wrap:wrap;gap:8px;margin-top:9px}
.dispatch-weekdays label{border:1px solid #d5cbb9;border-radius:7px;padding:9px 12px;background:#fff;display:flex;align-items:center;gap:6px;font-size:.87rem}
@media(max-width:620px){.cellar-member-support{left:12px;bottom:12px;max-width:calc(100vw - 24px)}.member-support-panel{max-height:69vh}}

/* v5.1.15.19 — consolidated Aramex shipping configuration */
.aramex-settings-layout{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(290px,1fr);gap:20px;align-items:start}
.aramex-settings-layout .panel{min-width:0;overflow:visible}
.aramex-settings-layout .field-label{line-height:1.5}
.aramex-settings-layout .field-label small{display:block;margin-top:7px;color:var(--muted)}
.aramex-settings-layout textarea{width:100%;min-height:112px}
.aramex-settings-layout .two-col-fields{align-items:start}
.aramex-actions{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin-top:20px}
.aramex-actions .primary-btn,.aramex-actions .secondary-btn{margin:0}
.aramex-integrations-note{margin-top:22px;padding:16px;background:#f9f6f0;border:1px solid #e6ddcf;border-radius:10px}
.aramex-integrations-note h3{margin-top:0}
@media(max-width:1080px){.aramex-settings-layout{grid-template-columns:1fr}}
@media(max-width:660px){.aramex-settings-layout .two-col-fields{grid-template-columns:1fr}.aramex-actions{align-items:stretch}.aramex-actions button{width:100%}}
