/* ===== TASTING FLOW SAFE ===== */

.ech-tasting-auto-hidden{
  display: none !important;
}

.tasting-selected-cigar-summary{
  margin-top: 14px;
  margin-bottom: 18px;
  padding: 18px 18px 16px;
  border: 1px solid rgba(200,169,106,.16);
  border-radius: 18px;
  background: rgba(255,255,255,.02);
}

.tasting-selected-cigar-head{
  margin-bottom: 14px;
}

.tasting-selected-cigar-title{
  font-family: var(--font-serif);
  font-size: 22px;
  color: var(--gold-2);
  line-height: 1.1;
}

.tasting-selected-cigar-subtitle{
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.tasting-selected-cigar-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.tasting-summary-item{
  border: 1px solid rgba(200,169,106,.10);
  border-radius: 14px;
  background: rgba(0,0,0,.12);
  padding: 12px 14px;
}

.tasting-summary-item.full{
  grid-column: 1 / -1;
}

.tasting-summary-label{
  margin-bottom: 6px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: #b8a27b;
}

.tasting-summary-value{
  color: var(--text);
  font-size: 15px;
  line-height: 1.5;
  min-height: 22px;
}

.tasting-selected-cigar-warning{
  margin-top: 14px;
  color: #ffd0d0;
  background: #3a1f1f;
  border: 1px solid #6a3030;
  padding: 10px 12px;
  border-radius: 12px;
  line-height: 1.5;
  font-size: 14px;
}

.btn-disabled-soft{
  opacity: .55 !important;
  cursor: not-allowed !important;
}

.tasting-wizard-root{
  display:flex;
  flex-direction:column;
  gap:18px;
}

.tasting-wizard-progress-card{
  padding:18px 20px;
  border:1px solid rgba(163,126,67,.18);
  border-radius:22px;
  background:linear-gradient(180deg, #fffaf2 0%, #f2eadf 100%);
  box-shadow:0 14px 26px rgba(53,39,20,.06);
}

.tasting-wizard-progress-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
}

.tasting-wizard-progress-eyebrow{
  font-size:11px;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:#80602F;
}

.tasting-wizard-progress-title{
  margin-top:6px;
  font-family:var(--font-serif);
  font-size:32px;
  line-height:1.08;
  color:#17362C;
}

.tasting-wizard-progress-copy{
  margin-top:8px;
  color:#5f5a50;
  font-size:14px;
  line-height:1.7;
  max-width:720px;
}

.tasting-wizard-progress-pill{
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:42px;
  padding:10px 16px;
  border-radius:999px;
  border:1px solid rgba(163,126,67,.18);
  background:#fff8ef;
  color:#80602F;
  font-size:12px;
  font-weight:700;
  letter-spacing:.14em;
  text-transform:uppercase;
}

.tasting-wizard-progress-track{
  margin-top:16px;
  height:10px;
  border-radius:999px;
  background:rgba(163,126,67,.12);
  overflow:hidden;
}

.tasting-wizard-progress-track span{
  display:block;
  width:12.5%;
  height:100%;
  border-radius:inherit;
  background:linear-gradient(90deg, #1b5140 0%, #2f6b58 45%, #d9be88 100%);
  transition:width .24s ease;
}

.tasting-wizard-pages{
  position:relative;
}

.tasting-wizard-step[hidden]{
  display:none !important;
}

.tasting-wizard-step{
  display:flex;
  flex-direction:column;
  gap:18px;
}

.tasting-wizard-section{
  padding:20px;
  border:1px solid rgba(163,126,67,.18);
  border-radius:22px;
  background:linear-gradient(180deg, #fffaf2 0%, #f4ecdf 100%);
  box-shadow:0 14px 26px rgba(53,39,20,.05);
}

.tasting-wizard-section-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
  margin-bottom:16px;
}

.tasting-wizard-section-head-main{
  flex:1 1 auto;
  min-width:0;
}

.tasting-wizard-progress-head-actions{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:10px;
  flex:0 0 auto;
}

.tasting-wizard-progress-close{
  width:40px;
  height:40px;
  font-size:24px;
  box-shadow:0 8px 16px rgba(82,60,34,.07);
}

.tasting-wizard-section-title{
  font-family:var(--font-serif);
  font-size:24px;
  line-height:1.12;
  color:#17362C;
}

.tasting-wizard-section-copy{
  margin-top:8px;
  color:#5f5a50;
  font-size:13px;
  line-height:1.7;
}

.tasting-wizard-hidden-fields{
  display:none !important;
}

.tasting-wizard-start-card{
  position:relative;
  padding:32px 26px;
  border:1px solid rgba(163,126,67,.18);
  border-radius:26px;
  background:linear-gradient(180deg, #fffaf2 0%, #efe5d6 100%);
  box-shadow:0 18px 34px rgba(53,39,20,.08);
}

.tasting-wizard-inline-close{
  flex:0 0 auto;
  width:42px;
  height:42px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  border:1px solid rgba(163,126,67,.18);
  background:linear-gradient(180deg, #f8f1e6 0%, #efe4d3 100%);
  color:#1b5140;
  font-size:26px;
  line-height:1;
  cursor:pointer;
  box-shadow:0 10px 18px rgba(82,60,34,.08);
}

.tasting-wizard-inline-close:hover{
  background:linear-gradient(180deg, #f2e8da 0%, #e8dcc8 100%);
  color:#143d31;
}

.tasting-wizard-start-close{
  position:absolute;
  top:22px;
  right:22px;
}

.tasting-wizard-start-eyebrow{
  font-size:11px;
  letter-spacing:.22em;
  text-transform:uppercase;
  color:#80602F;
}

.tasting-wizard-start-title{
  margin-top:10px;
  font-family:var(--font-serif);
  font-size:34px;
  line-height:1.08;
  color:#17362C;
}

.tasting-wizard-start-copy{
  margin-top:12px;
  max-width:720px;
  color:#5f5a50;
  font-size:15px;
  line-height:1.8;
}

.tasting-wizard-start-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:20px;
  justify-content:center;
}

.tasting-wizard-start-actions .btn{
  min-width:220px;
}

.tasting-wizard-start-note{
  margin-top:18px;
  padding:12px 14px;
  border-radius:16px;
  border:1px solid rgba(163,126,67,.14);
  background:#f8f1e6;
  color:#6c614f;
  font-size:12px;
  line-height:1.7;
}

.tasting-wizard-footer{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:12px;
  padding-top:6px;
  flex-wrap:wrap;
}

.tasting-wizard-footer .btn{
  min-width:170px;
}

.tasting-wizard-footer[hidden]{
  display:none !important;
}

.tasting-session-duration .input[readonly]{
  background:linear-gradient(180deg, #ede4d7 0%, #e4d7c6 100%);
  color:#6b5b48;
  box-shadow:inset 0 0 0 1px rgba(163,126,67,.08);
}

.tasting-session-duration-field label{
  color:#80602F;
}

.tasting-session-duration-review{
  display:flex;
  flex-direction:column;
  gap:10px;
}

.tasting-session-duration-display{
  min-height:60px;
  display:flex;
  align-items:center;
  padding:16px 18px;
  border-radius:18px;
  border:1px solid rgba(163,126,67,.16);
  background:linear-gradient(180deg, #efe7da 0%, #e5dbc9 100%);
  color:#6b5b48;
  font-size:15px;
  line-height:1.5;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.35);
}

.tasting-context-grid{
  align-items:start;
  grid-template-columns:repeat(2,minmax(0,1fr));
}

.tasting-context-stack{
  display:flex;
  flex-direction:column;
  gap:14px;
}

.tasting-context-stack > .field,
.tasting-context-stack .field.full{
  width:100%;
}

.tasting-context-stack #t_context_notes{
  min-height:110px;
}

.tasting-context-grid-primary{
  grid-template-columns:repeat(2,minmax(0,1fr));
}

.tasting-context-grid-secondary{
  grid-template-columns:repeat(3,minmax(0,1fr));
}

.tasting-context-grid > .field:nth-child(5){
  grid-column:1 / -1;
}

.tasting-sensory-profiles-toolbar{
  display:flex;
  justify-content:flex-end;
  margin-bottom:14px;
}

.tasting-profiles-collapse{
  margin-bottom:14px;
  border:1px solid rgba(163,126,67,.16);
  border-radius:20px;
  background:linear-gradient(180deg, #fffaf2 0%, #f5ecdf 100%);
  overflow:hidden;
  box-shadow:0 10px 22px rgba(53,39,20,.04);
}

.tasting-profiles-collapse-toggle{
  width:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:16px 18px;
  border:0;
  background:transparent;
  cursor:pointer;
  text-align:left;
}

.tasting-profiles-collapse-copy{
  display:flex;
  flex-direction:column;
  gap:6px;
}

.tasting-profiles-collapse-title{
  font-family:var(--font-serif);
  font-size:20px;
  line-height:1.1;
  color:#17362C;
}

.tasting-profiles-collapse-subtitle{
  color:#6b5b48;
  font-size:12px;
  line-height:1.6;
}

.tasting-profiles-collapse-chevron{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:42px;
  height:42px;
  border-radius:999px;
  border:1px solid rgba(27,81,64,.16);
  background:linear-gradient(180deg, #f4ecde 0%, #ecdfcb 100%);
  color:#1b5140;
  font-size:22px;
  font-weight:700;
  box-shadow:0 8px 18px rgba(53,39,20,.08);
  transition:transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.tasting-profiles-collapse-toggle:hover .tasting-profiles-collapse-chevron{
  background:linear-gradient(180deg, #efe4d1 0%, #e6d7bf 100%);
}

.tasting-profiles-collapse.is-open .tasting-profiles-collapse-chevron{
  transform:rotate(180deg);
}

.tasting-profiles-collapse-body{
  padding:0 18px 18px;
}

.tasting-custom-profiles-mural{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
}

.tasting-custom-profile-card{
  padding:16px;
  border-radius:18px;
  border:1px solid rgba(163,126,67,.16);
  background:linear-gradient(180deg, #fffaf2 0%, #f5ecdf 100%);
  box-shadow:0 10px 18px rgba(53,39,20,.04);
}

.tasting-custom-profile-card.is-active{
  border-color:rgba(27,81,64,.24);
  box-shadow:0 14px 24px rgba(27,81,64,.08);
}

.tasting-custom-profile-card-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:10px;
}

.tasting-custom-profile-emoji{
  font-size:20px;
  line-height:1;
}

.tasting-custom-profile-badge{
  padding:5px 10px;
  border-radius:999px;
  border:1px solid rgba(163,126,67,.18);
  background:#fff8ef;
  color:#80602F;
  font-size:11px;
  letter-spacing:.08em;
}

.tasting-custom-profile-name{
  font-family:var(--font-serif);
  font-size:20px;
  line-height:1.15;
  color:#17362C;
}

.tasting-custom-profile-copy,
.aroma-mural-copy{
  margin-top:8px;
  color:#6b5b48;
  font-size:12px;
  line-height:1.65;
}

.tasting-pre-layout{
  display:grid;
  grid-template-columns:minmax(260px, 1.05fr) minmax(0, 1.25fr);
  gap:16px;
  align-items:start;
}

.tasting-pre-layout-main,
.tasting-pre-layout-side{
  display:flex;
  flex-direction:column;
  gap:14px;
}

.tasting-pre-layout-stack{
  display:flex;
  flex-direction:column;
  gap:14px;
}

.tasting-pre-layout-main .field,
.tasting-pre-layout-side .field{
  margin:0;
}

.tasting-pre-layout-bottom{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
}

.tasting-pairing-grid{
  grid-template-columns:repeat(2,minmax(0,1fr));
}

.tasting-third-accordion{
  display:flex;
  flex-direction:column;
  gap:16px;
}

.tasting-third-panel{
  border:1px solid rgba(163,126,67,.18);
  border-radius:22px;
  background:linear-gradient(180deg, #fffaf2 0%, #f5ecdf 100%);
  overflow:hidden;
  box-shadow:0 10px 22px rgba(53,39,20,.05);
}

.tasting-third-panel-toggle{
  width:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:18px 20px;
  border:0;
  background:transparent;
  cursor:pointer;
  text-align:left;
}

.tasting-third-panel-toggle:hover{
  background:rgba(255,255,255,.22);
}

.tasting-third-panel-title{
  font-family:var(--font-serif);
  font-size:24px;
  line-height:1.1;
  color:#17362C;
}

.tasting-third-panel-summary{
  display:inline-flex;
  align-items:center;
  gap:10px;
  color:#6b5b48;
  font-size:13px;
  line-height:1.6;
  text-align:right;
  max-width:58%;
  justify-content:flex-end;
}

.tasting-third-panel-summary-copy{
  display:inline-block;
}

.tasting-third-panel-chevron{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:42px;
  height:42px;
  border-radius:999px;
  border:1px solid rgba(27,81,64,.16);
  background:linear-gradient(180deg, #f4ecde 0%, #ecdfcb 100%);
  color:#1b5140;
  font-size:22px;
  font-weight:700;
  box-shadow:0 8px 18px rgba(53,39,20,.08);
  transition:transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.tasting-third-panel-toggle:hover .tasting-third-panel-chevron{
  background:linear-gradient(180deg, #efe4d1 0%, #e6d7bf 100%);
}

.tasting-third-panel.is-open .tasting-third-panel-chevron{
  transform:rotate(180deg);
}

.tasting-third-panel-body{
  padding:0 20px 20px;
}

.tasting-third-panel-field{
  display:flex;
  flex-direction:column;
  gap:16px;
}

.tasting-third-sensory-shell{
  border-top:1px solid rgba(163,126,67,.12);
  padding-top:14px;
}

.tasting-third-sensory-toggle{
  width:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:0;
  border:0;
  background:transparent;
  cursor:pointer;
  text-align:left;
}

.tasting-third-sensory-toggle-copy{
  display:flex;
  flex-direction:column;
  gap:6px;
  min-width:0;
}

.tasting-third-sensory-head{
  margin-bottom:12px;
}

.tasting-third-sensory-title{
  font-size:12px;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:#80602F;
}

.tasting-third-sensory-copy{
  margin-top:6px;
  color:#6b5b48;
  font-size:12px;
  line-height:1.6;
}

.tasting-third-sensory-chevron{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:36px;
  height:36px;
  border-radius:999px;
  border:1px solid rgba(27,81,64,.16);
  background:linear-gradient(180deg, #f4ecde 0%, #ecdfcb 100%);
  color:#1b5140;
  font-size:20px;
  font-weight:700;
  box-shadow:0 8px 18px rgba(53,39,20,.08);
  transition:transform .2s ease, background .2s ease;
}

.tasting-third-sensory-shell.is-open .tasting-third-sensory-chevron{
  transform:rotate(180deg);
}

.tasting-third-sensory-collapse-body{
  margin-top:14px;
}

.tasting-third-sensory-summary{
  padding:16px 18px;
  border-radius:18px;
  border:1px solid rgba(163,126,67,.14);
  background:linear-gradient(180deg, #fff9f0 0%, #f5ede0 100%);
  box-shadow:0 10px 18px rgba(53,39,20,.04);
  margin-bottom:14px;
}

.tasting-third-sensory-summary-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
}

.tasting-third-sensory-summary-label{
  font-size:11px;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:#80602F;
}

.tasting-third-sensory-summary-title{
  margin-top:8px;
  font-family:var(--font-serif);
  font-size:28px;
  line-height:1.05;
  color:#17362C;
}

.tasting-third-sensory-summary-pill{
  flex:0 0 auto;
  padding:8px 14px;
  border-radius:999px;
  border:1px solid rgba(163,126,67,.18);
  background:#fff8ef;
  color:#80602F;
  font-size:11px;
  letter-spacing:.12em;
  text-transform:uppercase;
}

.tasting-third-sensory-summary-copy{
  margin-top:10px;
  color:#6b5b48;
  font-size:13px;
  line-height:1.7;
}

.tasting-third-sensory-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
}

.tasting-third-custom-profiles-block{
  grid-column:1 / -1;
  margin-top:8px;
}

.tasting-third-custom-profiles-head{
  margin-bottom:12px;
  font-size:12px;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:#80602F;
}

.tasting-third-custom-profiles-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
}

.tasting-third-sensory-card{
  padding:12px;
  border-radius:16px;
  border:1px solid rgba(163,126,67,.12);
  background:#fbf4e8;
}

#tasting .tasting-rating-field{
  display:flex;
  flex-direction:column;
  justify-content:flex-start;
}

#tasting .tasting-rating-field .rating-pills-premium{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:184px;
  width:100%;
}

#tasting .tasting-rating-field .rating-slider{
  width:min(100%, 320px);
  margin:0 auto;
  padding:16px 18px;
}

.tasting-third-sensory-card-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:10px;
  margin-bottom:10px;
}

.tasting-third-sensory-card-name{
  color:#17362C;
  font-size:13px;
  line-height:1.5;
}

.tasting-third-sensory-card-badge{
  flex:0 0 auto;
  padding:4px 8px;
  border-radius:999px;
  border:1px solid rgba(163,126,67,.18);
  background:#fff9f0;
  color:#80602F;
  font-size:11px;
  letter-spacing:.08em;
}

.tasting-third-sensory-slider{
  width:100%;
  accent-color:#1b5140;
  cursor:pointer;
}

.tasting-third-sensory-legend{
  margin-top:8px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  color:#80602F;
  font-size:11px;
}

.tasting-band-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:12px;
}

.tasting-band-actions .btn{
  min-width:160px;
}

.tasting-session-end-grid{
  grid-template-columns:minmax(220px, 340px);
  justify-content:center;
}

.tasting-final-pairing-block{
  display:flex;
  flex-direction:column;
  gap:12px;
  padding:16px 18px;
  border:1px solid rgba(163,126,67,.16);
  border-radius:20px;
  background:linear-gradient(180deg, #fff9f0 0%, #f3ebde 100%);
}

.tasting-final-pairing-copy{
  color:#5f5a50;
  font-size:13px;
  line-height:1.7;
}

.tasting-final-pairing-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:12px;
}

#tastingWizardClosingGrid .field:has(#t_date),
#tastingWizardClosingGrid .field:has(#t_session_end),
#tastingWizardClosingGrid .field:has(#t_smoking_time){
  display:none !important;
}

.tasting-wizard-step[data-step="6"] .field:has(#t_date),
.tasting-wizard-step[data-step="6"] .field:has(#t_session_end),
.tasting-wizard-step[data-step="6"] .field:has(#t_smoking_time){
  display:none !important;
}

.tasting-save-actions-inline{
  display:flex;
  justify-content:center;
  margin-top:22px;
}

.tasting-save-actions-inline .btn{
  min-width:220px;
}

.tasting-modal-backdrop{
  position:fixed;
  inset:0;
  z-index:2200;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:20px;
  background:rgba(17,14,10,.55);
  backdrop-filter:blur(8px);
}

.tasting-modal-backdrop[hidden]{
  display:none !important;
}

.tasting-modal-card{
  width:min(640px, 100%);
  padding:24px;
  border-radius:26px;
  border:1px solid rgba(163,126,67,.18);
  background:linear-gradient(180deg, #fffaf2 0%, #efe4d4 100%);
  box-shadow:0 24px 48px rgba(53,39,20,.18);
}

.tasting-modal-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
}

.tasting-modal-eyebrow{
  font-size:11px;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:#80602F;
}

.tasting-modal-title{
  margin-top:8px;
  font-family:var(--font-serif);
  font-size:30px;
  line-height:1.08;
  color:#17362C;
}

.tasting-modal-copy{
  margin-top:8px;
  color:#5f5a50;
  font-size:14px;
  line-height:1.7;
}

.tasting-modal-grid{
  display:grid;
  grid-template-columns:180px minmax(0,1fr);
  gap:14px;
  margin-top:20px;
}

.tasting-modal-footer{
  display:flex;
  justify-content:flex-end;
  gap:12px;
  margin-top:20px;
}

.ech-auto-readonly{
  pointer-events: none;
}

.ech-native-select-hidden{
  position:absolute !important;
  width:1px !important;
  height:1px !important;
  padding:0 !important;
  margin:-1px !important;
  overflow:hidden !important;
  clip:rect(0,0,0,0) !important;
  border:0 !important;
  opacity:0 !important;
}

.tasting-inventory-picker{
  position:relative;
  margin-top:10px;
}

.tasting-inventory-trigger{
  width:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:16px 18px;
  border-radius:18px;
  border:1px solid rgba(163,126,67,.18);
  background:linear-gradient(180deg, #fffaf2 0%, #f3ece1 100%);
  box-shadow:0 12px 24px rgba(53,39,20,.06);
  text-align:left;
  cursor:pointer;
}

.tasting-inventory-trigger.is-open{
  border-color:rgba(27,81,64,.28);
  box-shadow:0 16px 28px rgba(27,81,64,.10);
}

.tasting-inventory-trigger-copy{
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:6px;
}

.tasting-inventory-trigger-label{
  font-size:11px;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:#80602F;
}

.tasting-inventory-trigger-value{
  color:#17362C;
  font-size:15px;
  line-height:1.5;
  font-weight:600;
}

.tasting-inventory-trigger-icon{
  flex:0 0 auto;
  color:#A37E43;
  font-size:18px;
}

.tasting-inventory-panel{
  position:absolute;
  top:calc(100% + 10px);
  left:0;
  right:0;
  z-index:40;
  display:flex;
  flex-direction:column;
  gap:14px;
  padding:16px;
  border-radius:20px;
  border:1px solid rgba(163,126,67,.18);
  background:linear-gradient(180deg, #fffaf2 0%, #f5ede2 100%);
  box-shadow:0 18px 40px rgba(53,39,20,.16);
}

@media (max-width: 900px){
  .tasting-pre-layout{
    grid-template-columns:1fr;
  }

  .tasting-third-sensory-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .tasting-custom-profiles-mural,
  .tasting-third-custom-profiles-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .tasting-third-panel-summary{
    max-width:none;
  }

  .tasting-context-grid{
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }

  .tasting-context-grid-secondary{
    grid-template-columns:1fr;
  }

  .tasting-pairing-grid{
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px){
  .tasting-pre-layout-bottom{
    grid-template-columns:1fr;
  }

  .tasting-third-sensory-grid{
    grid-template-columns:1fr;
  }

  .tasting-custom-profiles-mural,
  .tasting-third-custom-profiles-grid,
  .tasting-modal-grid{
    grid-template-columns:1fr;
  }

  .tasting-third-panel-toggle{
    flex-direction:column;
    align-items:flex-start;
  }

  .tasting-third-panel-summary{
    text-align:left;
    max-width:none;
  }

  .tasting-context-grid{
    grid-template-columns:1fr;
  }

  .tasting-context-grid-primary,
  .tasting-context-grid-secondary{
    grid-template-columns:1fr;
  }

  .tasting-pairing-grid{
    grid-template-columns:1fr;
  }

  .tasting-session-end-grid{
    grid-template-columns:1fr;
    justify-content:stretch;
  }

  .tasting-band-actions{
    flex-direction:column;
  }

  .tasting-band-actions .btn{
    width:100%;
    min-width:0;
  }

  .tasting-sensory-profiles-toolbar{
    justify-content:stretch;
  }

  .tasting-sensory-profiles-toolbar .btn{
    width:100%;
  }
}

.tasting-inventory-panel[hidden]{
  display:none !important;
}

.tasting-inventory-panel-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}

.tasting-inventory-panel-title{
  font-family:var(--font-serif);
  font-size:22px;
  color:#17362C;
}

.tasting-inventory-close{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 14px;
  border-radius:999px;
  border:1px solid rgba(163,126,67,.18);
  background:#fff9f0;
  color:#80602F;
  font-size:12px;
  letter-spacing:.12em;
  text-transform:uppercase;
  cursor:pointer;
}

.tasting-inventory-search-shell{
  position:sticky;
  top:0;
  z-index:2;
  background:transparent;
}

.tasting-inventory-search{
  min-height:48px;
}

.tasting-inventory-results{
  display:grid;
  gap:10px;
  max-height:360px;
  overflow:auto;
  padding-right:2px;
}

.tasting-inventory-option{
  width:100%;
  display:grid;
  grid-template-columns:72px minmax(0, 1fr);
  gap:14px;
  align-items:center;
  padding:12px;
  border-radius:18px;
  border:1px solid rgba(163,126,67,.16);
  background:rgba(255,255,255,.52);
  text-align:left;
  cursor:pointer;
  transition:border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.tasting-inventory-option:hover,
.tasting-inventory-option.is-selected{
  border-color:rgba(27,81,64,.26);
  transform:translateY(-1px);
  box-shadow:0 12px 22px rgba(27,81,64,.08);
}

.tasting-inventory-option-photo{
  width:72px;
  height:92px;
  border-radius:14px;
  overflow:hidden;
  background:#f3eee5;
  border:1px solid rgba(163,126,67,.14);
  display:flex;
  align-items:center;
  justify-content:center;
}

.tasting-inventory-option-photo-img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.tasting-inventory-option-photo-empty{
  color:#80602F;
  font-size:12px;
  text-align:center;
  padding:10px;
  line-height:1.4;
}

.tasting-inventory-option-body{
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:6px;
}

.tasting-inventory-option-title{
  font-family:var(--font-serif);
  font-size:22px;
  line-height:1.05;
  color:#17362C;
}

.tasting-inventory-option-meta{
  color:#5F5A50;
  font-size:13px;
  line-height:1.5;
}

.tasting-inventory-option-foot{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}

.tasting-inventory-chip{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:30px;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(163,126,67,.16);
  background:#fff9f0;
  color:#80602F;
  font-size:11px;
  letter-spacing:.12em;
  text-transform:uppercase;
}

.tasting-inventory-empty{
  padding:28px 20px;
  border-radius:18px;
  border:1px dashed rgba(163,126,67,.18);
  background:rgba(255,255,255,.45);
}

.tasting-inventory-empty-title{
  font-family:var(--font-serif);
  font-size:20px;
  color:#17362C;
  margin-bottom:6px;
}

.tasting-inventory-empty-copy{
  color:#5F5A50;
  font-size:14px;
  line-height:1.6;
}

/* ===== ECH EDITORIAL COLOR REMODEL 2026-07 ROUND 2 ===== */
#tasting .tasting-summary-item{
  border-color:rgba(163,126,67,.16) !important;
  background:rgba(255,255,255,.34) !important;
}

#tasting .tasting-summary-label,
#tasting .tasting-third-score-label{
  color:#80602F !important;
}

#tasting .tasting-summary-value{
  color:#171613 !important;
}

#tasting .tasting-selected-cigar-warning{
  color:#87453B !important;
  background:#F2E3E0 !important;
  border-color:#D1A19A !important;
}

#tasting .tasting-third-score-wrap{
  background:#F6F1E8 !important;
  border-color:rgba(163,126,67,.16) !important;
}

#tasting .rating-pills-premium .rating-pill{
  background:#F3EEE5 !important;
  border-color:rgba(163,126,67,.16) !important;
  color:#5F5A50 !important;
}

#tasting .rating-slider,
#tasting .tasting-auto-score-card{
  background:#F6F1E8 !important;
  border-color:rgba(163,126,67,.16) !important;
}

#tasting .rating-slider-value,
#tasting .tasting-auto-score-value{
  color:#17362C !important;
}

#tasting .aroma-card{
  background:linear-gradient(180deg, #FCF8F1 0%, #F2EBE0 100%) !important;
  border-color:rgba(163,126,67,.16) !important;
}

#tasting .aroma-name{
  color:#17362C !important;
}

#tasting .aroma-badge,
#tasting .rating-slider-scale{
  background:#FFF9F0 !important;
  border-color:rgba(163,126,67,.18) !important;
  color:#A37E43 !important;
}

#tasting .rating-slider-scale,
#tasting .rating-slider-legend,
#tasting .aroma-slider-legend,
#tasting .tasting-auto-score-label{
  color:#80602F !important;
}

#tasting .tasting-auto-score-copy{
  color:#5F5A50 !important;
}

#tasting .aroma-slider-input,
#tasting .rating-slider-input{
  accent-color:#1B5140;
  touch-action:pan-y;
  background:
    linear-gradient(90deg, #1B5140 0%, #1B5140 var(--slider-fill, 0%), #D6C7B4 var(--slider-fill, 0%), #D6C7B4 100%) !important;
}

#tasting .card:has(#t_final_score),
#tasting .card:has(#t_pairing_name),
#tasting .card:has(#t_burn_line){
  background:linear-gradient(180deg, #F6F1E8 0%, #ECE4D8 100%) !important;
}

@media (max-width: 760px){
  #tasting{
    overflow:visible;
  }

  #tasting .card-content{
    padding-left:16px !important;
    padding-right:16px !important;
  }

  #tasting .section-subtitle{
    line-height:1.6;
  }

  .tasting-inventory-trigger{
    padding:16px;
    border-radius:20px;
  }

  .tasting-inventory-trigger-value{
    font-size:14px;
    line-height:1.5;
  }

  .tasting-inventory-panel{
    position:fixed;
    left:12px;
    right:12px;
    bottom:12px;
    top:auto;
    max-height:84vh;
    border-radius:24px;
    padding:16px 14px 18px;
  }

  .tasting-inventory-panel-title{
    font-size:20px;
  }

  .tasting-inventory-close{
    min-height:42px;
    padding:10px 14px;
  }

  .tasting-inventory-search{
    min-height:52px;
    font-size:16px;
  }

  .tasting-inventory-results{
    max-height:none;
    min-height:220px;
    padding-bottom:4px;
  }

  .tasting-inventory-option{
    grid-template-columns:64px minmax(0, 1fr);
    gap:12px;
    padding:12px;
    border-radius:18px;
  }

  .tasting-inventory-option-photo{
    width:64px;
    height:84px;
  }

  .tasting-inventory-option-title{
    font-size:19px;
  }

  .tasting-wizard-progress-head{
    flex-direction:column;
    align-items:flex-start;
  }

  .tasting-wizard-progress-title{
    font-size:27px;
  }

  .tasting-wizard-progress-pill{
    width:100%;
    justify-content:center;
  }

  .tasting-wizard-section,
  .tasting-wizard-start-card,
  .tasting-wizard-progress-card{
    padding:16px;
    border-radius:20px;
  }

  .tasting-wizard-start-title{
    font-size:28px;
  }

  .tasting-wizard-start-actions{
    flex-direction:column;
  }

  .tasting-wizard-start-actions .btn,
  .tasting-wizard-footer .btn{
    width:100%;
    min-width:0;
  }

  .tasting-wizard-footer{
    flex-direction:column-reverse;
  }

  .tasting-selected-cigar-grid{
    grid-template-columns: 1fr;
  }

  .tasting-summary-item.full{
    grid-column: auto;
  }

  .tasting-selected-cigar-shell{
    grid-template-columns:1fr !important;
    gap:14px;
  }

  .tasting-selected-cigar-photo{
    min-height:220px;
  }

  .tasting-summary-item,
  .tasting-selected-cigar-warning{
    border-radius:16px;
  }
}
