.mwi-cellar-v2{--ink:#18211d;--muted:#69736e;--line:#e4e8e5;--paper:#fff;--wash:#f5f7f5;--green:#214f3d;--green2:#2f7457;--gold:#b58a42;--danger:#a53a3a;position:relative;color:var(--ink);font-family:inherit;max-width:1500px;margin:0 auto 80px}.mwi-cellar-v2 *{box-sizing:border-box}.mwi-v2-previewbar{display:flex;gap:12px;align-items:center;justify-content:center;padding:10px 18px;background:#17251f;color:#fff;border-radius:14px 14px 0 0;font-size:13px}.mwi-v2-previewbar span{opacity:.72}.mwi-v2-hero{position:relative;overflow:hidden;display:flex;justify-content:space-between;gap:28px;padding:34px;border:1px solid #dfe7e1;background:radial-gradient(circle at 80% 0,rgba(181,138,66,.18),transparent 35%),linear-gradient(135deg,#f9fbf9,#eef4ef);border-radius:0 0 24px 24px}.mwi-v2-hero:after{content:"";position:absolute;width:260px;height:260px;right:-90px;bottom:-170px;border:48px solid rgba(33,79,61,.05);border-radius:50%}.mwi-v2-identity{display:flex;align-items:center;gap:18px;min-width:0;z-index:1}.mwi-v2-avatar{width:76px;height:76px;border-radius:22px;object-fit:cover;background:#dfe8e2;border:4px solid rgba(255,255,255,.9);box-shadow:0 12px 30px rgba(31,57,46,.13)}.mwi-v2-kicker{text-transform:uppercase;letter-spacing:.12em;font-size:11px;font-weight:800;color:var(--green2);margin-bottom:7px}.mwi-v2-hero h1{font-size:clamp(28px,4vw,45px);line-height:1.05;margin:0 0 8px;font-weight:750;letter-spacing:-.035em}.mwi-v2-hero p{margin:0;color:var(--muted)}.mwi-v2-hero-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;align-items:flex-end;gap:10px;z-index:1}.mwi-v2-select-label{display:grid;gap:5px;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.07em;color:var(--muted)}.mwi-v2-select-label select,.mwi-v2-toolbar select{height:42px;border:1px solid var(--line);border-radius:12px;background:#fff;padding:0 34px 0 12px;color:var(--ink);font:inherit}.mwi-v2-segment,.mwi-v2-view-toggle{display:flex;padding:4px;background:rgba(33,79,61,.08);border-radius:13px}.mwi-v2-segment button,.mwi-v2-view-toggle button{border:0;background:transparent;border-radius:9px;padding:9px 13px;color:var(--muted);font-weight:700;cursor:pointer}.mwi-v2-segment button.is-active,.mwi-v2-view-toggle button.is-active{background:#fff;color:var(--green);box-shadow:0 2px 9px rgba(20,48,36,.1)}.mwi-v2-btn{height:42px;border-radius:12px;padding:0 16px;border:1px solid var(--line);font:inherit;font-weight:750;cursor:pointer}.mwi-v2-btn--primary{background:var(--green);border-color:var(--green);color:#fff}.mwi-v2-btn--ghost{background:rgba(255,255,255,.7);color:var(--ink)}.mwi-v2-btn:disabled{opacity:.55;cursor:not-allowed}.mwi-v2-stats{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;margin:18px 0}.mwi-v2-stat{padding:17px 18px;background:#fff;border:1px solid var(--line);border-radius:17px;box-shadow:0 8px 24px rgba(24,33,29,.035)}.mwi-v2-stat__value{font-size:25px;font-weight:800;letter-spacing:-.03em}.mwi-v2-stat__label{font-size:12px;color:var(--muted);margin-top:2px}.mwi-v2-tabs{display:flex;gap:5px;overflow:auto;padding:5px;background:var(--wash);border-radius:15px;margin-bottom:14px}.mwi-v2-tabs button{white-space:nowrap;border:0;background:transparent;border-radius:11px;padding:10px 15px;font:inherit;color:var(--muted);font-weight:700;cursor:pointer}.mwi-v2-tabs button.is-active{background:#fff;color:var(--green);box-shadow:0 3px 12px rgba(24,33,29,.08)}.mwi-v2-tabs small{display:inline-grid;place-items:center;min-width:20px;height:20px;padding:0 6px;margin-left:6px;border-radius:999px;background:rgba(33,79,61,.08);font-size:10px}.mwi-v2-toolbar{display:grid;grid-template-columns:minmax(260px,1fr) repeat(3,minmax(150px,auto)) auto;gap:10px;align-items:center;margin-bottom:10px}.mwi-v2-search{display:flex;align-items:center;gap:8px;height:46px;padding:0 14px;border:1px solid var(--line);border-radius:14px;background:#fff}.mwi-v2-search input{width:100%;border:0!important;outline:0!important;box-shadow:none!important;background:transparent;font:inherit}.mwi-v2-resultline{display:flex;justify-content:space-between;align-items:center;color:var(--muted);font-size:13px;margin:14px 2px}.mwi-v2-resultline button{border:0;background:none;color:var(--green2);font-weight:700;cursor:pointer}.mwi-v2-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.mwi-v2-grid.is-list{grid-template-columns:1fr}.mwi-v2-card{position:relative;display:flex;flex-direction:column;min-width:0;background:#fff;border:1px solid var(--line);border-radius:20px;overflow:hidden;box-shadow:0 10px 30px rgba(24,33,29,.045);transition:.2s ease;cursor:pointer}.mwi-v2-card:hover{transform:translateY(-3px);box-shadow:0 18px 38px rgba(24,33,29,.09);border-color:#ccd7cf}.mwi-v2-card__media{position:relative;aspect-ratio:4/3;background:linear-gradient(145deg,#f0f4f1,#e6ece8);display:grid;place-items:center;overflow:hidden}.mwi-v2-card__media img{width:100%;height:100%;object-fit:contain;padding:14px}.mwi-v2-card__placeholder{font-size:54px;opacity:.3}.mwi-v2-card__badges{position:absolute;left:12px;top:12px;display:flex;gap:6px;flex-wrap:wrap}.mwi-v2-badge{display:inline-flex;align-items:center;min-height:25px;padding:4px 9px;border-radius:999px;background:rgba(255,255,255,.92);backdrop-filter:blur(8px);font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.05em}.mwi-v2-badge--ready{background:#e6f4eb;color:#23633f}.mwi-v2-badge--hold{background:#f5eedf;color:#815e20}.mwi-v2-fav{position:absolute;right:12px;top:12px;width:36px;height:36px;border-radius:50%;border:0;background:rgba(255,255,255,.92);font-size:20px;cursor:pointer}.mwi-v2-fav.is-active{color:#b43c48}.mwi-v2-card__body{display:flex;flex-direction:column;gap:8px;padding:17px;flex:1}.mwi-v2-card__producer{color:var(--green2);font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.06em}.mwi-v2-card h3{font-size:18px;line-height:1.25;margin:0;letter-spacing:-.02em}.mwi-v2-card__meta{font-size:13px;color:var(--muted);line-height:1.45}.mwi-v2-card__footer{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:auto;padding-top:8px}.mwi-v2-qty{font-weight:800}.mwi-v2-note-indicator{font-size:12px;color:var(--muted)}.mwi-v2-grid.is-list .mwi-v2-card{display:grid;grid-template-columns:150px 1fr}.mwi-v2-grid.is-list .mwi-v2-card__media{aspect-ratio:auto;min-height:150px}.mwi-v2-empty{padding:60px 25px;text-align:center;border:1px dashed #cad4cd;border-radius:20px;background:var(--wash);color:var(--muted)}.mwi-v2-overlay{position:fixed;inset:0;background:rgba(12,20,16,.48);backdrop-filter:blur(3px);z-index:99990}.mwi-v2-drawer{position:fixed;top:0;right:0;width:min(680px,94vw);height:100dvh;background:#fff;z-index:99991;transform:translateX(105%);transition:transform .25s ease;box-shadow:-20px 0 60px rgba(10,20,15,.18);overflow:auto}.mwi-v2-drawer.is-open{transform:none}.mwi-v2-drawer__hero{position:relative;display:grid;grid-template-columns:120px 1fr auto;gap:20px;align-items:center;padding:28px;background:linear-gradient(135deg,#eff5f0,#faf7f0);border-bottom:1px solid var(--line)}.mwi-v2-drawer__image{width:120px;height:140px;border-radius:18px;background:#fff;object-fit:contain;padding:10px}.mwi-v2-drawer__image--placeholder{display:grid;place-items:center;font-size:42px}.mwi-v2-drawer__close{width:40px;height:40px;border-radius:50%;border:1px solid var(--line);background:#fff;font-size:20px;cursor:pointer;align-self:start}.mwi-v2-drawer__hero h2{margin:5px 0 8px;font-size:27px;line-height:1.1}.mwi-v2-drawer__tabs{position:sticky;top:0;z-index:3;display:flex;gap:4px;padding:10px 18px;background:rgba(255,255,255,.94);backdrop-filter:blur(10px);border-bottom:1px solid var(--line)}.mwi-v2-drawer__tabs button{border:0;background:transparent;padding:10px 13px;border-radius:10px;font:inherit;font-weight:750;color:var(--muted);cursor:pointer}.mwi-v2-drawer__tabs button.is-active{background:var(--wash);color:var(--green)}.mwi-v2-drawer__body{padding:24px 28px 50px}.mwi-v2-panel{display:none}.mwi-v2-panel.is-active{display:block}.mwi-v2-info-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.mwi-v2-info{padding:14px;border:1px solid var(--line);border-radius:14px}.mwi-v2-info label,.mwi-v2-field label{display:block;font-size:11px;text-transform:uppercase;letter-spacing:.06em;font-weight:800;color:var(--muted);margin-bottom:6px}.mwi-v2-info div{font-weight:650}.mwi-v2-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.mwi-v2-field--full{grid-column:1/-1}.mwi-v2-field input,.mwi-v2-field select,.mwi-v2-field textarea{width:100%;border:1px solid var(--line)!important;border-radius:12px!important;padding:11px 12px!important;background:#fff!important;color:var(--ink)!important;font:inherit!important;box-shadow:none!important}.mwi-v2-field textarea{min-height:120px;resize:vertical}.mwi-v2-check{display:flex;gap:9px;align-items:center;padding:12px;border:1px solid var(--line);border-radius:12px}.mwi-v2-form-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:20px}.mwi-v2-note-section{margin:15px 0;border:1px solid var(--line);border-radius:15px;overflow:hidden}.mwi-v2-note-section summary{padding:14px 16px;background:var(--wash);font-weight:800;cursor:pointer}.mwi-v2-note-section>div{padding:16px}.mwi-v2-note-section .mwi-v2-form-grid{gap:12px}.mwi-v2-danger{color:var(--danger);border-color:#eccaca;background:#fff}.mwi-v2-locked{padding:75px 25px;text-align:center;border:1px dashed #cbd5ce;border-radius:22px;background:var(--wash)}.mwi-v2-locked__icon{font-size:45px;margin-bottom:12px}.mwi-v2-toast{position:fixed;left:50%;bottom:25px;transform:translate(-50%,120px);z-index:100000;padding:12px 18px;border-radius:12px;background:#17251f;color:#fff;box-shadow:0 12px 30px rgba(0,0,0,.18);opacity:0;transition:.2s}.mwi-v2-toast.is-visible{transform:translate(-50%,0);opacity:1}.mwi-v2-loading{grid-column:1/-1;padding:70px;text-align:center;color:var(--muted)}.mwi-v2-price-row{display:grid;grid-template-columns:1fr 90px;gap:8px}.mwi-v2-note-score{display:flex;align-items:center;gap:14px}.mwi-v2-note-score input[type=range]{flex:1}.mwi-v2-note-score output{font-size:22px;font-weight:800;min-width:52px}.mwi-v2-inline-link{color:var(--green2);font-weight:750;text-decoration:none}.mwi-v2-readonly-note{white-space:pre-wrap;line-height:1.7;padding:16px;border-radius:14px;background:var(--wash)}
@media(max-width:1100px){.mwi-v2-stats{grid-template-columns:repeat(3,1fr)}.mwi-v2-grid{grid-template-columns:repeat(3,1fr)}.mwi-v2-toolbar{grid-template-columns:1fr 1fr 1fr}.mwi-v2-search{grid-column:1/-1}.mwi-v2-view-toggle{justify-self:end}}
@media(max-width:760px){.mwi-cellar-v2{margin-bottom:40px}.mwi-v2-previewbar{align-items:flex-start;flex-direction:column;gap:2px;border-radius:12px 12px 0 0}.mwi-v2-hero{padding:22px;display:block}.mwi-v2-identity{align-items:flex-start}.mwi-v2-avatar{width:60px;height:60px;border-radius:17px}.mwi-v2-hero-actions{justify-content:flex-start;margin-top:20px}.mwi-v2-select-label{width:100%}.mwi-v2-select-label select{width:100%}.mwi-v2-stats{grid-template-columns:repeat(2,1fr)}.mwi-v2-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.mwi-v2-card__body{padding:13px}.mwi-v2-card h3{font-size:15px}.mwi-v2-card__meta{font-size:12px}.mwi-v2-toolbar{grid-template-columns:1fr 1fr}.mwi-v2-search{grid-column:1/-1}.mwi-v2-toolbar select{width:100%;min-width:0}.mwi-v2-view-toggle{display:none}.mwi-v2-drawer{width:100vw}.mwi-v2-drawer__hero{grid-template-columns:85px 1fr auto;padding:18px;gap:13px}.mwi-v2-drawer__image{width:85px;height:105px}.mwi-v2-drawer__hero h2{font-size:21px}.mwi-v2-drawer__body{padding:20px 17px 40px}.mwi-v2-form-grid,.mwi-v2-info-grid{grid-template-columns:1fr}.mwi-v2-field--full{grid-column:auto}}
@media(max-width:480px){.mwi-v2-grid{grid-template-columns:1fr}.mwi-v2-stats{gap:8px}.mwi-v2-stat{padding:14px}.mwi-v2-toolbar{grid-template-columns:1fr}.mwi-v2-toolbar select{grid-column:1}.mwi-v2-tabs{margin-left:-3px;margin-right:-3px}.mwi-v2-btn{flex:1}.mwi-v2-segment{width:100%}.mwi-v2-segment button{flex:1}}
.mwi-cellar-v2>.mwi-v2-hero{border-radius:24px}.mwi-cellar-v2-login{padding:22px;border:1px solid #e4e8e5;border-radius:16px;background:#f5f7f5}.mwi-cellar-v2-login a{font-weight:750}.mwi-v2-hero-actions [data-add-wine]{order:-1}

/* Phase 3: shared catalog and Add Any Wine */
.mwi-v2-catalog-search{display:grid;grid-template-columns:1fr auto;gap:10px;position:sticky;top:0;z-index:2;padding:0 0 16px;background:#fff}.mwi-v2-catalog-search input{width:100%;height:46px;border:1px solid var(--line)!important;border-radius:14px!important;padding:0 14px!important;background:#fff!important;color:var(--ink)!important;font:inherit!important;box-shadow:none!important}.mwi-v2-catalog-results{display:grid;gap:12px}.mwi-v2-catalog-intro,.mwi-v2-catalog-message{padding:28px;border:1px dashed #cbd5ce;border-radius:18px;background:var(--wash);text-align:center;color:var(--muted)}.mwi-v2-catalog-intro h3,.mwi-v2-catalog-message strong{color:var(--ink)}.mwi-v2-catalog-message.is-error{border-color:#e8bcbc;background:#fff6f6;color:var(--danger)}.mwi-v2-catalog-result{display:grid;grid-template-columns:78px minmax(0,1fr) auto;gap:14px;align-items:center;padding:13px;border:1px solid var(--line);border-radius:16px;background:#fff}.mwi-v2-catalog-result>img,.mwi-v2-catalog-result__placeholder{width:78px;height:92px;object-fit:contain;border-radius:11px;background:var(--wash);padding:7px}.mwi-v2-catalog-result__placeholder{display:grid;place-items:center;font-size:30px;opacity:.55}.mwi-v2-catalog-result__body{min-width:0}.mwi-v2-catalog-result__body h3{margin:5px 0;font-size:16px;line-height:1.25}.mwi-v2-catalog-result__body p{margin:0;color:var(--muted);font-size:12px;line-height:1.45}.mwi-v2-catalog-result__top{display:flex;align-items:center;gap:8px;flex-wrap:wrap;color:var(--muted);font-size:11px}.mwi-v2-catalog-badge{display:inline-flex;padding:4px 8px;border-radius:999px;background:#f5eedf;color:#815e20;font-size:9px;text-transform:uppercase;letter-spacing:.06em;font-weight:800}.mwi-v2-catalog-badge.is-store{background:#eaf1f8;color:#315d84}.mwi-v2-create-new{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:8px;padding:18px;border-radius:17px;background:linear-gradient(135deg,#eef5ef,#faf7f0);border:1px solid #dbe5dd}.mwi-v2-create-new strong,.mwi-v2-create-new span{display:block}.mwi-v2-create-new span{color:var(--muted);font-size:12px;margin-top:3px}.mwi-v2-image-upload{display:grid;grid-template-columns:150px 1fr;gap:18px;align-items:center;margin-bottom:22px;padding:16px;border:1px solid var(--line);border-radius:18px;background:var(--wash)}.mwi-v2-image-preview{width:150px;height:180px;display:grid;place-items:center;overflow:hidden;border:1px dashed #bbc8bf;border-radius:15px;background:#fff;color:var(--muted);font-weight:750}.mwi-v2-image-preview img{width:100%;height:100%;object-fit:contain;padding:8px}.mwi-v2-upload-button{display:inline-flex;align-items:center;justify-content:center;height:42px;padding:0 16px;border-radius:12px;background:var(--green);color:#fff;font-weight:750;cursor:pointer}.mwi-v2-upload-button input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.mwi-v2-image-upload p{margin:9px 0 0;color:var(--muted);font-size:12px}.mwi-v2-vintage-row{display:grid;grid-template-columns:1fr auto;gap:8px}.mwi-v2-vintage-row .mwi-v2-check{padding:10px;white-space:nowrap}.mwi-v2-community-note,.mwi-v2-shared-status{margin-top:18px;padding:15px 16px;border-radius:14px;background:#f8f3e9;border:1px solid #eadfc9}.mwi-v2-community-note strong,.mwi-v2-community-note p{display:block;margin:0}.mwi-v2-community-note p{color:var(--muted);font-size:12px;margin-top:4px;line-height:1.5}.mwi-v2-shared-status{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 16px}.mwi-v2-shared-status span{font-size:11px;text-transform:uppercase;letter-spacing:.06em;font-weight:800;color:#815e20}
@media(max-width:760px){.mwi-v2-catalog-result{grid-template-columns:64px minmax(0,1fr)}.mwi-v2-catalog-result>img,.mwi-v2-catalog-result__placeholder{width:64px;height:78px}.mwi-v2-catalog-result>.mwi-v2-btn{grid-column:1/-1;width:100%}.mwi-v2-create-new{align-items:stretch;flex-direction:column}.mwi-v2-image-upload{grid-template-columns:105px 1fr}.mwi-v2-image-preview{width:105px;height:132px}.mwi-v2-vintage-row{grid-template-columns:1fr}.mwi-v2-catalog-search{grid-template-columns:1fr}.mwi-v2-catalog-search .mwi-v2-btn{width:100%}}
.mwi-v2-vendor{display:flex;align-items:center;gap:11px;margin-top:18px;padding:11px 13px;border:1px solid var(--line);border-radius:14px;background:var(--wash);color:var(--muted)}.mwi-v2-vendor.is-compact{margin-top:1px;padding:7px 0;border:0;border-radius:0;background:transparent;gap:8px}.mwi-v2-vendor__avatar{display:grid;place-items:center;width:38px;height:38px;flex:0 0 38px;border-radius:50%;overflow:hidden;background:#e8eeea;color:var(--green);font-size:12px;font-weight:800;text-decoration:none}.mwi-v2-vendor.is-compact .mwi-v2-vendor__avatar{width:28px;height:28px;flex-basis:28px}.mwi-v2-vendor__avatar img{width:100%;height:100%;object-fit:cover}.mwi-v2-vendor__body{display:grid;grid-template-columns:auto 1fr;align-items:baseline;gap:2px 5px;min-width:0;font-size:12px;line-height:1.25}.mwi-v2-vendor__body>span{font-size:10px;text-transform:uppercase;letter-spacing:.05em;color:var(--muted)}.mwi-v2-vendor__name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--ink);font-weight:750;text-decoration:none}.mwi-v2-vendor__links{grid-column:1/-1;display:flex;align-items:center;gap:6px;margin-top:2px}.mwi-v2-vendor__links a{color:var(--green2);font-size:11px;font-weight:750;text-decoration:none}.mwi-v2-vendor__links a:hover,.mwi-v2-vendor__name:hover{text-decoration:underline}.mwi-v2-vendor.is-compact .mwi-v2-vendor__body{font-size:11px}.mwi-v2-vendor.is-compact .mwi-v2-vendor__body>span{font-size:9px}.mwi-v2-vendor.is-compact .mwi-v2-vendor__links a{font-size:10px}.mwi-v2-catalog-result .mwi-v2-vendor{margin-top:7px}

.mwi-v2-remove-zone{margin-top:28px;padding-top:18px;border-top:1px solid var(--line);text-align:right}.mwi-v2-remove-zone p{max-width:460px;margin:7px 0 0 auto;color:var(--muted);font-size:12px;line-height:1.5}.mwi-v2-remove-link{border:0;background:transparent;padding:4px 0;color:var(--danger);font:inherit;font-weight:750;cursor:pointer;text-decoration:underline;text-decoration-color:transparent;text-underline-offset:3px}.mwi-v2-remove-link:hover,.mwi-v2-remove-link:focus-visible{text-decoration-color:currentColor}.mwi-v2-remove-confirm{max-width:520px;margin:12px auto;padding:28px;border:1px solid #efd0d0;border-radius:20px;background:#fff8f8;text-align:center}.mwi-v2-remove-confirm__icon{display:grid;place-items:center;width:54px;height:54px;margin:0 auto 14px;border-radius:50%;background:#f8dfdf;color:var(--danger);font-size:30px;line-height:1}.mwi-v2-remove-confirm h3{margin:0 0 10px;font-size:23px}.mwi-v2-remove-confirm>p{margin:0 0 20px;color:var(--muted);line-height:1.65}.mwi-v2-check--danger{margin-top:16px;background:#fff;border-color:#e7c3c3;text-align:left;color:var(--ink)}.mwi-v2-remove-confirm__note{margin-top:16px;padding:12px;border-radius:12px;background:#fff;color:var(--muted);font-size:13px}.mwi-v2-btn--danger{background:var(--danger);border-color:var(--danger);color:#fff}.mwi-v2-btn--danger:hover,.mwi-v2-btn--danger:focus-visible{filter:brightness(.92)}

/* === my Wination Cellar full UI replacement 1 === */

/* Core brand reset */
.mwi-cellar-v2 {
  --ink: #272932 !important;
  --muted: #747484 !important;
  --line: #e2e6eb !important;
  --paper: #ffffff !important;
  --wash: #f5f8fc !important;
  --green: #2F88FF !important;
  --green2: #2F88FF !important;
  --gold: #8B5CF6 !important;
  --danger: #B42318 !important;
  color: #272932 !important;
}

/* Remove redundant stat chart */
.mwi-cellar-v2 .mwi-v2-stats,
.mwi-cellar-v2 .mwi-v2-stat {
  display: none !important;
}

/* Owner-only settings */
.mwi-cellar-v2 [data-profile-settings][hidden] {
  display: none !important;
}

/* New header */
.mwi-cellar-v2 .mwi-v2-hero {
  position: relative !important;
  min-height: 0 !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 28px !important;
  margin: 18px 0 18px !important;
  padding: 28px 32px !important;
  border: 1px solid #e2e6eb !important;
  border-radius: 22px !important;
  background: #ffffff !important;
  box-shadow: 0 14px 34px rgba(39, 41, 50, 0.06) !important;
  overflow: hidden !important;
}

.mwi-cellar-v2 .mwi-v2-hero::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 auto 0 0 !important;
  width: 5px !important;
  background: linear-gradient(180deg, #2F88FF, #8B5CF6) !important;
}

.mwi-cellar-v2 .mwi-v2-hero::after {
  display: none !important;
}

.mwi-cellar-v2 .mwi-v2-hero .mwi-v2-avatar {
  display: none !important;
}

.mwi-cellar-v2 .mwi-v2-identity {
  gap: 0 !important;
  align-items: center !important;
  min-width: 0 !important;
}

.mwi-cellar-v2 .mwi-v2-kicker {
  margin: 0 0 6px !important;
  color: #2F88FF !important;
  font-size: 10px !important;
  font-weight: 900 !important;
  letter-spacing: 0.14em !important;
}

.mwi-cellar-v2 .mwi-v2-hero h1 {
  margin: 0 0 8px !important;
  max-width: 620px !important;
  color: #272932 !important;
  font-size: clamp(32px, 4.4vw, 50px) !important;
  line-height: 1 !important;
  letter-spacing: -0.055em !important;
}

.mwi-cellar-v2 .mwi-v2-hero p {
  margin: 0 !important;
  color: #747484 !important;
  font-size: 16px !important;
  font-weight: 700 !important;
}

/* Actions */
.mwi-cellar-v2 .mwi-v2-hero-actions {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(130px, auto)) !important;
  gap: 10px !important;
  justify-content: end !important;
  align-items: center !important;
  min-width: 300px !important;
}

.mwi-cellar-v2 .mwi-v2-hero-actions .mwi-v2-btn {
  height: 44px !important;
  border-radius: 13px !important;
  padding: 0 16px !important;
  font-size: 14px !important;
  font-weight: 900 !important;
}

.mwi-cellar-v2 .mwi-v2-btn--primary,
.mwi-cellar-v2 button.mwi-v2-btn--primary,
.mwi-cellar-v2 a.mwi-v2-btn--primary {
  background: #2F88FF !important;
  border-color: #2F88FF !important;
  color: #ffffff !important;
  box-shadow: none !important;
}

.mwi-cellar-v2 .mwi-v2-btn--ghost {
  background: #ffffff !important;
  border-color: #e2e6eb !important;
  color: #272932 !important;
  box-shadow: none !important;
}

.mwi-cellar-v2 .mwi-v2-hero-actions button:last-child,
.mwi-cellar-v2 .mwi-v2-hero-actions a:last-child {
  grid-column: 1 / -1 !important;
  justify-self: end !important;
  min-width: 165px !important;
}

/* Filter tabs */
.mwi-cellar-v2 .mwi-v2-tabs {
  position: relative !important;
  top: auto !important;
  margin: 0 0 12px !important;
  padding: 4px !important;
  gap: 4px !important;
  border: 1px solid #e2e6eb !important;
  border-radius: 16px !important;
  background: #ffffff !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.mwi-cellar-v2 .mwi-v2-tabs button {
  min-height: 38px !important;
  padding: 0 13px !important;
  border-radius: 12px !important;
  color: #747484 !important;
  font-size: 13px !important;
  font-weight: 900 !important;
}

.mwi-cellar-v2 .mwi-v2-tabs button.is-active {
  background: #f5f8fc !important;
  color: #2F88FF !important;
  box-shadow: none !important;
}

.mwi-cellar-v2 .mwi-v2-tabs small {
  min-width: 20px !important;
  height: 20px !important;
  background: rgba(47, 136, 255, 0.10) !important;
  color: #2F88FF !important;
  font-weight: 900 !important;
}

/* Toolbar */
.mwi-cellar-v2 .mwi-v2-toolbar {
  display: grid !important;
  grid-template-columns: minmax(320px, 1.4fr) minmax(150px, 0.7fr) minmax(150px, 0.7fr) minmax(170px, 0.75fr) auto !important;
  gap: 12px !important;
  align-items: center !important;
  margin: 0 0 12px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.mwi-cellar-v2 .mwi-v2-search,
.mwi-cellar-v2 .mwi-v2-toolbar select,
.mwi-cellar-v2 .mwi-v2-view-toggle {
  height: 46px !important;
  border: 1px solid #e2e6eb !important;
  border-radius: 13px !important;
  background: #ffffff !important;
  box-shadow: none !important;
}

.mwi-cellar-v2 .mwi-v2-search {
  padding: 0 14px !important;
}

.mwi-cellar-v2 .mwi-v2-search input,
.mwi-cellar-v2 .mwi-v2-toolbar select {
  color: #272932 !important;
  font-size: 14px !important;
  font-weight: 650 !important;
}

.mwi-cellar-v2 .mwi-v2-search input::placeholder {
  color: #91919d !important;
}

.mwi-cellar-v2 .mwi-v2-search:focus-within,
.mwi-cellar-v2 .mwi-v2-toolbar select:focus {
  border-color: rgba(47, 136, 255, 0.56) !important;
  outline: 3px solid rgba(47, 136, 255, 0.16) !important;
}

.mwi-cellar-v2 .mwi-v2-view-toggle {
  display: flex !important;
  padding: 4px !important;
}

.mwi-cellar-v2 .mwi-v2-view-toggle button {
  min-width: 36px !important;
  height: 36px !important;
  border-radius: 10px !important;
  color: #747484 !important;
}

.mwi-cellar-v2 .mwi-v2-view-toggle button.is-active {
  background: rgba(47, 136, 255, 0.10) !important;
  color: #2F88FF !important;
  box-shadow: none !important;
}

.mwi-cellar-v2 .mwi-v2-resultline {
  margin: 12px 2px 18px !important;
  color: #747484 !important;
  font-size: 13px !important;
  font-weight: 650 !important;
}

.mwi-cellar-v2 .mwi-v2-resultline button {
  color: #2F88FF !important;
  font-weight: 900 !important;
}

/* Cards */
.mwi-cellar-v2 .mwi-v2-grid:not(.is-list) {
  grid-template-columns: repeat(auto-fill, minmax(222px, 1fr)) !important;
  gap: 22px !important;
}

.mwi-cellar-v2 .mwi-v2-card {
  min-height: 0 !important;
  border: 1px solid #e2e6eb !important;
  border-radius: 20px !important;
  background: #ffffff !important;
  box-shadow: 0 10px 26px rgba(39, 41, 50, 0.055) !important;
  overflow: hidden !important;
}

.mwi-cellar-v2 .mwi-v2-card:hover {
  transform: translateY(-2px) !important;
  border-color: rgba(47, 136, 255, 0.28) !important;
  box-shadow: 0 18px 42px rgba(39, 41, 50, 0.10) !important;
}

.mwi-cellar-v2 .mwi-v2-card__media {
  aspect-ratio: 9 / 16 !important;
  min-height: 0 !important;
  background: #f8fafc !important;
  border-bottom: 1px solid #e2e6eb !important;
  display: grid !important;
  place-items: center !important;
  overflow: hidden !important;
}

.mwi-cellar-v2 .mwi-v2-card__media img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  padding: 12px !important;
  filter: none !important;
}

.mwi-cellar-v2 .mwi-v2-card__placeholder {
  color: #c5cbd3 !important;
  opacity: 1 !important;
  font-size: 36px !important;
}

.mwi-cellar-v2 .mwi-v2-card__body {
  display: flex !important;
  flex-direction: column !important;
  gap: 7px !important;
  padding: 14px 16px 0 !important;
}

.mwi-cellar-v2 .mwi-v2-card__producer {
  color: #2F88FF !important;
  font-size: 10px !important;
  font-weight: 900 !important;
  letter-spacing: 0.105em !important;
}

.mwi-cellar-v2 .mwi-v2-card h3 {
  margin: 0 !important;
  color: #272932 !important;
  font-size: 17px !important;
  line-height: 1.16 !important;
  letter-spacing: -0.03em !important;
}

.mwi-cellar-v2 .mwi-v2-card__meta {
  color: #747484 !important;
  font-size: 12px !important;
  line-height: 1.35 !important;
}

/* Keep the first useful meta row. Hide only the second noisy meta row in grid view. */
.mwi-cellar-v2 .mwi-v2-grid:not(.is-list) .mwi-v2-card__meta + .mwi-v2-card__meta {
  display: none !important;
}

.mwi-cellar-v2 .mwi-v2-fav {
  top: 10px !important;
  right: 10px !important;
  width: 34px !important;
  height: 34px !important;
  display: grid !important;
  place-items: center !important;
  border: 1px solid rgba(226, 230, 235, 0.82) !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.92) !important;
  color: #a0a7b2 !important;
  font-size: 18px !important;
  line-height: 1 !important;
  box-shadow: none !important;
}

.mwi-cellar-v2 .mwi-v2-fav.is-active {
  color: #E04F6A !important;
}

.mwi-cellar-v2 .mwi-v2-card__footer {
  margin: 12px -16px 0 !important;
  padding: 11px 16px !important;
  border-top: 1px solid #e2e6eb !important;
  background: #ffffff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}

.mwi-cellar-v2 .mwi-v2-qty {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 24px !important;
  padding: 0 9px !important;
  border-radius: 999px !important;
  background: rgba(47, 136, 255, 0.10) !important;
  color: #2F88FF !important;
  font-size: 12px !important;
  font-weight: 900 !important;
}

.mwi-cellar-v2 .mwi-v2-note-indicator {
  color: #747484 !important;
  font-size: 11px !important;
  font-weight: 800 !important;
}

.mwi-cellar-v2 .mwi-v2-vendor__links a,
.mwi-cellar-v2 .mwi-v2-inline-link {
  color: #2F88FF !important;
}

/* Drawer */
.mwi-cellar-v2 .mwi-v2-overlay {
  background: rgba(18, 20, 28, 0.50) !important;
  backdrop-filter: blur(8px) saturate(1.05) !important;
  -webkit-backdrop-filter: blur(8px) saturate(1.05) !important;
}

.mwi-cellar-v2 .mwi-v2-drawer {
  top: auto !important;
  right: auto !important;
  left: 50% !important;
  bottom: 0 !important;
  width: min(920px, calc(100vw - 32px)) !important;
  height: calc(100dvh - 36px) !important;
  max-height: 940px !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
  border: 1px solid rgba(226, 230, 235, 0.92) !important;
  border-bottom: 0 !important;
  border-radius: 24px 24px 0 0 !important;
  background: #ffffff !important;
  box-shadow: 0 -28px 90px rgba(39, 41, 50, 0.28) !important;
  transform: translate(-50%, calc(100% + 32px)) !important;
  transition: transform 260ms cubic-bezier(0.2, 0.8, 0.2, 1) !important;
}

.mwi-cellar-v2 .mwi-v2-drawer.is-open {
  transform: translate(-50%, 0) !important;
}

.mwi-cellar-v2 .mwi-v2-drawer::before {
  content: "" !important;
  position: absolute !important;
  top: 10px !important;
  left: 50% !important;
  z-index: 9 !important;
  width: 48px !important;
  height: 5px !important;
  border-radius: 999px !important;
  background: rgba(39, 41, 50, 0.18) !important;
  transform: translateX(-50%) !important;
}

.mwi-cellar-v2 .mwi-v2-drawer > [data-drawer-content] {
  height: 100% !important;
  min-height: 0 !important;
  display: flex !important;
  flex-direction: column !important;
}

.mwi-cellar-v2 .mwi-v2-drawer__hero {
  flex: 0 0 auto !important;
  padding: 30px 26px 18px !important;
  background: #ffffff !important;
  border-bottom: 1px solid #e2e6eb !important;
}

.mwi-cellar-v2 .mwi-v2-drawer__tabs {
  flex: 0 0 auto !important;
  position: static !important;
  padding: 11px 20px !important;
  background: #ffffff !important;
  border-bottom: 1px solid #e2e6eb !important;
}

.mwi-cellar-v2 .mwi-v2-drawer__tabs button.is-active {
  background: rgba(47, 136, 255, 0.10) !important;
  color: #2F88FF !important;
}

.mwi-cellar-v2 .mwi-v2-drawer__body {
  flex: 1 1 auto !important;
  min-height: 0 !important;
  overflow: auto !important;
  padding: 22px 26px 30px !important;
}

/* Mobile */
@media (max-width: 760px) {
  .mwi-cellar-v2 .mwi-v2-hero {
    display: block !important;
    margin: 14px 0 14px !important;
    padding: 22px !important;
    border-radius: 20px !important;
  }

  .mwi-cellar-v2 .mwi-v2-hero h1 {
    font-size: 32px !important;
    line-height: 1.02 !important;
  }

  .mwi-cellar-v2 .mwi-v2-hero p {
    font-size: 14px !important;
  }

  .mwi-cellar-v2 .mwi-v2-hero-actions {
    grid-template-columns: 1fr 1fr !important;
    min-width: 0 !important;
    margin-top: 18px !important;
  }

  .mwi-cellar-v2 .mwi-v2-hero-actions .mwi-v2-btn {
    width: 100% !important;
    height: 44px !important;
    font-size: 14px !important;
  }

  .mwi-cellar-v2 .mwi-v2-hero-actions button:last-child,
  .mwi-cellar-v2 .mwi-v2-hero-actions a:last-child {
    grid-column: 1 / -1 !important;
    justify-self: stretch !important;
    min-width: 0 !important;
  }

  .mwi-cellar-v2 .mwi-v2-toolbar {
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
  }

  .mwi-cellar-v2 .mwi-v2-search {
    grid-column: 1 / -1 !important;
  }

  .mwi-cellar-v2 .mwi-v2-view-toggle {
    display: none !important;
  }

  .mwi-cellar-v2 .mwi-v2-grid:not(.is-list) {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }

  .mwi-cellar-v2 .mwi-v2-card__media {
    aspect-ratio: 9 / 16 !important;
  }

  .mwi-cellar-v2 .mwi-v2-card__media img {
    padding: 8px !important;
  }

  .mwi-cellar-v2 .mwi-v2-card__body {
    padding: 12px 12px 0 !important;
  }

  .mwi-cellar-v2 .mwi-v2-card h3 {
    font-size: 13.5px !important;
    line-height: 1.16 !important;
  }

  .mwi-cellar-v2 .mwi-v2-card__footer {
    margin-left: -12px !important;
    margin-right: -12px !important;
    padding: 10px 12px !important;
  }

  .mwi-cellar-v2 .mwi-v2-drawer {
    left: 0 !important;
    width: 100vw !important;
    height: calc(100dvh - 24px) !important;
    max-height: none !important;
    border-radius: 22px 22px 0 0 !important;
    transform: translateY(calc(100% + 32px)) !important;
  }

  .mwi-cellar-v2 .mwi-v2-drawer.is-open {
    transform: translateY(0) !important;
  }
}
/* === end my Wination Cellar full UI replacement 1 === */

/* === my Wination Cellar hero tabs toolbar full redesign v1 === */

/* Scope: hero, tabs, toolbar only. */
.mwi-cellar-v2 {
  --ink: #272932 !important;
  --muted: #747484 !important;
  --line: #e2e6eb !important;
  --paper: #ffffff !important;
  --wash: #f5f8fc !important;
  --green: #2F88FF !important;
  --green2: #2F88FF !important;
}

/* Owner-only settings safety. */
.mwi-cellar-v2 [data-profile-settings][hidden],
.mwi-cellar-v2 [data-profile-settings][aria-hidden="true"] {
  display: none !important;
}

/* HERO: full replacement. */
.mwi-cellar-v2 .mwi-v2-hero {
  position: relative !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 280px !important;
  gap: 18px !important;
  align-items: stretch !important;
  min-height: 0 !important;
  margin: 18px 0 18px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
}

.mwi-cellar-v2 .mwi-v2-hero::before,
.mwi-cellar-v2 .mwi-v2-hero::after {
  display: none !important;
}

/* Left identity card. */
.mwi-cellar-v2 .mwi-v2-identity {
  position: relative !important;
  display: grid !important;
  grid-template-columns: 88px minmax(0, 1fr) !important;
  align-items: center !important;
  gap: 22px !important;
  min-width: 0 !important;
  padding: 28px 30px !important;
  border: 1px solid #e2e6eb !important;
  border-radius: 26px !important;
  background:
    linear-gradient(135deg, #ffffff 0%, #f7f9fc 100%) !important;
  box-shadow:
    0 16px 40px rgba(39, 41, 50, 0.065),
    inset 0 1px 0 rgba(255, 255, 255, 0.95) !important;
  overflow: hidden !important;
}

.mwi-cellar-v2 .mwi-v2-identity::before {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  top: 22px !important;
  bottom: 22px !important;
  width: 5px !important;
  border-radius: 0 999px 999px 0 !important;
  background: linear-gradient(180deg, #2F88FF 0%, #8B5CF6 100%) !important;
}

.mwi-cellar-v2 .mwi-v2-avatar {
  display: block !important;
  width: 88px !important;
  height: 88px !important;
  border-radius: 28px !important;
  object-fit: cover !important;
  border: 4px solid #ffffff !important;
  background: #f5f8fc !important;
  box-shadow: 0 14px 28px rgba(39, 41, 50, 0.14) !important;
}

.mwi-cellar-v2 .mwi-v2-kicker {
  margin: 0 0 7px !important;
  color: #2F88FF !important;
  font-size: 10px !important;
  line-height: 1 !important;
  font-weight: 950 !important;
  letter-spacing: 0.15em !important;
  text-transform: uppercase !important;
}

.mwi-cellar-v2 .mwi-v2-hero h1 {
  margin: 0 0 8px !important;
  max-width: 680px !important;
  color: #272932 !important;
  font-size: clamp(34px, 4.35vw, 54px) !important;
  line-height: 0.98 !important;
  letter-spacing: -0.06em !important;
  font-weight: 950 !important;
}

.mwi-cellar-v2 .mwi-v2-hero p {
  margin: 0 !important;
  color: #747484 !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  letter-spacing: -0.015em !important;
}

/* Right action card. */
.mwi-cellar-v2 .mwi-v2-hero-actions {
  display: grid !important;
  grid-template-columns: 1fr !important;
  align-content: center !important;
  gap: 10px !important;
  min-width: 0 !important;
  padding: 18px !important;
  border: 1px solid #e2e6eb !important;
  border-radius: 26px !important;
  background: #272932 !important;
  box-shadow: 0 16px 40px rgba(39, 41, 50, 0.12) !important;
}

.mwi-cellar-v2 .mwi-v2-hero-actions .mwi-v2-btn {
  width: 100% !important;
  height: 46px !important;
  border-radius: 14px !important;
  padding: 0 18px !important;
  font-size: 14px !important;
  font-weight: 950 !important;
  letter-spacing: -0.01em !important;
  box-shadow: none !important;
}

.mwi-cellar-v2 .mwi-v2-hero-actions .mwi-v2-btn--primary,
.mwi-cellar-v2 .mwi-v2-hero-actions button[data-add-wine],
.mwi-cellar-v2 .mwi-v2-hero-actions button[data-bacchus] {
  background: #2F88FF !important;
  border-color: #2F88FF !important;
  color: #ffffff !important;
}

.mwi-cellar-v2 .mwi-v2-hero-actions .mwi-v2-btn--ghost,
.mwi-cellar-v2 .mwi-v2-hero-actions button[data-profile-settings] {
  background: rgba(255, 255, 255, 0.96) !important;
  border-color: rgba(255, 255, 255, 0.96) !important;
  color: #272932 !important;
}

/* TABS: full replacement. */
.mwi-cellar-v2 .mwi-v2-tabs {
  display: grid !important;
  grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
  gap: 0 !important;
  margin: 18px 0 14px !important;
  padding: 0 !important;
  border: 1px solid #e2e6eb !important;
  border-radius: 22px !important;
  background: #ffffff !important;
  box-shadow: 0 10px 26px rgba(39, 41, 50, 0.045) !important;
  overflow: hidden !important;
}

.mwi-cellar-v2 .mwi-v2-tabs button {
  position: relative !important;
  min-height: 58px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 5px !important;
  padding: 9px 8px !important;
  border-radius: 0 !important;
  border-right: 1px solid #edf0f4 !important;
  background: #ffffff !important;
  color: #747484 !important;
  font-size: 13px !important;
  line-height: 1.1 !important;
  font-weight: 900 !important;
  text-align: center !important;
  box-shadow: none !important;
}

.mwi-cellar-v2 .mwi-v2-tabs button:last-child {
  border-right: 0 !important;
}

.mwi-cellar-v2 .mwi-v2-tabs button::after {
  content: "" !important;
  position: absolute !important;
  left: 18px !important;
  right: 18px !important;
  bottom: 0 !important;
  height: 3px !important;
  border-radius: 999px 999px 0 0 !important;
  background: transparent !important;
}

.mwi-cellar-v2 .mwi-v2-tabs button.is-active {
  background: #f5f8fc !important;
  color: #2F88FF !important;
}

.mwi-cellar-v2 .mwi-v2-tabs button.is-active::after {
  background: #2F88FF !important;
}

.mwi-cellar-v2 .mwi-v2-tabs small {
  display: inline-grid !important;
  place-items: center !important;
  min-width: 22px !important;
  height: 22px !important;
  margin: 0 !important;
  padding: 0 6px !important;
  border-radius: 999px !important;
  background: rgba(47, 136, 255, 0.10) !important;
  color: #2F88FF !important;
  font-size: 10px !important;
  font-weight: 950 !important;
}

/* TOOLBAR: full replacement. */
.mwi-cellar-v2 .mwi-v2-toolbar {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(160px, 190px) minmax(160px, 190px) minmax(170px, 205px) 56px !important;
  grid-template-areas: "search type region sort view" !important;
  gap: 10px !important;
  align-items: center !important;
  margin: 0 0 10px !important;
  padding: 12px !important;
  border: 1px solid #e2e6eb !important;
  border-radius: 22px !important;
  background: #f5f8fc !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95) !important;
}

.mwi-cellar-v2 .mwi-v2-search {
  grid-area: search !important;
  height: 48px !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 0 15px !important;
  border: 1px solid #e2e6eb !important;
  border-radius: 16px !important;
  background: #ffffff !important;
  box-shadow: none !important;
}

.mwi-cellar-v2 .mwi-v2-search span {
  color: #2F88FF !important;
  font-weight: 950 !important;
}

.mwi-cellar-v2 .mwi-v2-search input {
  color: #272932 !important;
  font-size: 15px !important;
  font-weight: 700 !important;
}

.mwi-cellar-v2 .mwi-v2-search input::placeholder {
  color: #91919d !important;
}

.mwi-cellar-v2 .mwi-v2-toolbar select {
  height: 48px !important;
  min-width: 0 !important;
  width: 100% !important;
  padding-left: 14px !important;
  border: 1px solid #e2e6eb !important;
  border-radius: 16px !important;
  background-color: #ffffff !important;
  color: #272932 !important;
  font-size: 14px !important;
  font-weight: 850 !important;
  box-shadow: none !important;
}

.mwi-cellar-v2 .mwi-v2-toolbar select[data-type-filter] {
  grid-area: type !important;
}

.mwi-cellar-v2 .mwi-v2-toolbar select[data-region-filter] {
  grid-area: region !important;
}

.mwi-cellar-v2 .mwi-v2-toolbar select[data-sort] {
  grid-area: sort !important;
}

.mwi-cellar-v2 .mwi-v2-search:focus-within,
.mwi-cellar-v2 .mwi-v2-toolbar select:focus {
  border-color: rgba(47, 136, 255, 0.62) !important;
  outline: 3px solid rgba(47, 136, 255, 0.16) !important;
  outline-offset: 0 !important;
}

.mwi-cellar-v2 .mwi-v2-view-toggle {
  grid-area: view !important;
  width: 56px !important;
  height: 48px !important;
  display: grid !important;
  grid-template-columns: 1fr !important;
  grid-template-rows: 1fr 1fr !important;
  gap: 3px !important;
  padding: 4px !important;
  border: 1px solid #e2e6eb !important;
  border-radius: 16px !important;
  background: #ffffff !important;
  box-shadow: none !important;
}

.mwi-cellar-v2 .mwi-v2-view-toggle button {
  min-width: 0 !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  padding: 0 !important;
  border-radius: 10px !important;
  color: #747484 !important;
  font-size: 13px !important;
  line-height: 1 !important;
}

.mwi-cellar-v2 .mwi-v2-view-toggle button.is-active {
  background: rgba(47, 136, 255, 0.12) !important;
  color: #2F88FF !important;
  box-shadow: none !important;
}

.mwi-cellar-v2 .mwi-v2-resultline {
  margin: 10px 2px 18px !important;
  color: #747484 !important;
  font-size: 13px !important;
  font-weight: 700 !important;
}

.mwi-cellar-v2 .mwi-v2-resultline button {
  color: #2F88FF !important;
  font-weight: 950 !important;
}

/* Mobile */
@media (max-width: 900px) {
  .mwi-cellar-v2 .mwi-v2-hero {
    grid-template-columns: 1fr !important;
  }

  .mwi-cellar-v2 .mwi-v2-hero-actions {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 760px) {
  .mwi-cellar-v2 .mwi-v2-identity {
    grid-template-columns: 58px minmax(0, 1fr) !important;
    gap: 14px !important;
    padding: 20px !important;
    border-radius: 22px !important;
  }

  .mwi-cellar-v2 .mwi-v2-avatar {
    width: 58px !important;
    height: 58px !important;
    border-radius: 18px !important;
  }

  .mwi-cellar-v2 .mwi-v2-kicker {
    font-size: 9px !important;
  }

  .mwi-cellar-v2 .mwi-v2-hero h1 {
    font-size: 30px !important;
    line-height: 1.02 !important;
  }

  .mwi-cellar-v2 .mwi-v2-hero p {
    font-size: 13px !important;
  }

  .mwi-cellar-v2 .mwi-v2-hero-actions {
    grid-template-columns: 1fr 1fr !important;
    padding: 12px !important;
    border-radius: 22px !important;
  }

  .mwi-cellar-v2 .mwi-v2-hero-actions button[data-bacchus],
  .mwi-cellar-v2 .mwi-v2-hero-actions a[data-bacchus] {
    grid-column: 1 / -1 !important;
  }

  .mwi-cellar-v2 .mwi-v2-tabs {
    display: flex !important;
    overflow-x: auto !important;
  }

  .mwi-cellar-v2 .mwi-v2-tabs button {
    min-width: 118px !important;
  }

  .mwi-cellar-v2 .mwi-v2-toolbar {
    grid-template-columns: 1fr 1fr !important;
    grid-template-areas:
      "search search"
      "type region"
      "sort sort" !important;
    padding: 10px !important;
  }

  .mwi-cellar-v2 .mwi-v2-view-toggle {
    display: none !important;
  }
}
/* === end my Wination Cellar hero tabs toolbar full redesign v1 === */

/* === my Wination Cellar HERO HARD OVERRIDE v3 === */

/*
  This targets the exact hero markup directly:
  <section class="mwi-v2-hero">

  No parent wrapper required.
  Scope is still safe because these classes belong to Cellar V2.
*/

.mwi-v2-hero {
  position: relative !important;
  isolation: isolate !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 320px) !important;
  align-items: stretch !important;
  gap: 18px !important;
  min-height: 0 !important;
  margin: 18px 0 18px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
}

.mwi-v2-hero::before,
.mwi-v2-hero::after {
  display: none !important;
}

/* Left profile card */
.mwi-v2-hero > .mwi-v2-identity {
  position: relative !important;
  display: grid !important;
  grid-template-columns: 92px minmax(0, 1fr) !important;
  align-items: center !important;
  gap: 24px !important;
  min-width: 0 !important;
  padding: 30px 32px !important;
  border: 1px solid #e2e6eb !important;
  border-radius: 26px !important;
  background: #ffffff !important;
  box-shadow:
    0 16px 42px rgba(39, 41, 50, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.95) !important;
  overflow: hidden !important;
}

.mwi-v2-hero > .mwi-v2-identity::before {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  top: 22px !important;
  bottom: 22px !important;
  width: 6px !important;
  border-radius: 0 999px 999px 0 !important;
  background: #2F88FF !important;
}

.mwi-v2-hero .mwi-v2-avatar {
  display: block !important;
  width: 92px !important;
  height: 92px !important;
  border-radius: 26px !important;
  object-fit: cover !important;
  border: 4px solid #ffffff !important;
  background: #f5f8fc !important;
  box-shadow: 0 14px 30px rgba(39, 41, 50, 0.16) !important;
}

.mwi-v2-hero .mwi-v2-kicker {
  margin: 0 0 8px !important;
  color: #2F88FF !important;
  font-size: 10px !important;
  line-height: 1 !important;
  font-weight: 950 !important;
  letter-spacing: 0.16em !important;
  text-transform: uppercase !important;
}

.mwi-v2-hero h1 {
  margin: 0 0 10px !important;
  max-width: 760px !important;
  color: #272932 !important;
  font-size: clamp(36px, 4.5vw, 56px) !important;
  line-height: 0.98 !important;
  letter-spacing: -0.06em !important;
  font-weight: 950 !important;
}

.mwi-v2-hero p {
  display: inline-flex !important;
  align-items: center !important;
  width: fit-content !important;
  min-height: 32px !important;
  margin: 0 !important;
  padding: 0 13px !important;
  border: 1px solid #e2e6eb !important;
  border-radius: 999px !important;
  background: #f5f8fc !important;
  color: #747484 !important;
  font-size: 14px !important;
  line-height: 1 !important;
  font-weight: 850 !important;
  letter-spacing: -0.01em !important;
}

/* Right action card */
.mwi-v2-hero > .mwi-v2-hero-actions {
  display: grid !important;
  grid-template-columns: 1fr !important;
  align-content: center !important;
  gap: 10px !important;
  min-width: 0 !important;
  padding: 18px !important;
  border: 1px solid #e2e6eb !important;
  border-radius: 26px !important;
  background: #272932 !important;
  box-shadow: 0 16px 42px rgba(39, 41, 50, 0.16) !important;
}

.mwi-v2-hero > .mwi-v2-hero-actions .mwi-v2-btn {
  width: 100% !important;
  height: 48px !important;
  border-radius: 15px !important;
  padding: 0 18px !important;
  font-size: 14px !important;
  line-height: 1 !important;
  font-weight: 950 !important;
  letter-spacing: -0.01em !important;
  box-shadow: none !important;
  transform: none !important;
}

.mwi-v2-hero > .mwi-v2-hero-actions .mwi-v2-btn--primary,
.mwi-v2-hero > .mwi-v2-hero-actions button[data-add-wine],
.mwi-v2-hero > .mwi-v2-hero-actions button[data-bacchus] {
  background: #2F88FF !important;
  border-color: #2F88FF !important;
  color: #ffffff !important;
}

.mwi-v2-hero > .mwi-v2-hero-actions .mwi-v2-btn--ghost,
.mwi-v2-hero > .mwi-v2-hero-actions button[data-profile-settings] {
  background: #ffffff !important;
  border-color: #ffffff !important;
  color: #272932 !important;
}

.mwi-v2-hero [data-profile-settings][hidden],
.mwi-v2-hero [data-profile-settings][aria-hidden="true"] {
  display: none !important;
}

/* Mobile */
@media (max-width: 900px) {
  .mwi-v2-hero {
    grid-template-columns: 1fr !important;
  }

  .mwi-v2-hero > .mwi-v2-hero-actions {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 760px) {
  .mwi-v2-hero {
    gap: 12px !important;
    margin: 14px 0 14px !important;
  }

  .mwi-v2-hero > .mwi-v2-identity {
    grid-template-columns: 62px minmax(0, 1fr) !important;
    gap: 14px !important;
    padding: 20px !important;
    border-radius: 22px !important;
  }

  .mwi-v2-hero .mwi-v2-avatar {
    width: 62px !important;
    height: 62px !important;
    border-radius: 18px !important;
  }

  .mwi-v2-hero .mwi-v2-kicker {
    font-size: 9px !important;
  }

  .mwi-v2-hero h1 {
    font-size: 30px !important;
    line-height: 1.02 !important;
  }

  .mwi-v2-hero p {
    min-height: 28px !important;
    padding: 0 10px !important;
    font-size: 12px !important;
  }

  .mwi-v2-hero > .mwi-v2-hero-actions {
    grid-template-columns: 1fr 1fr !important;
    padding: 12px !important;
    border-radius: 22px !important;
  }

  .mwi-v2-hero > .mwi-v2-hero-actions button[data-bacchus],
  .mwi-v2-hero > .mwi-v2-hero-actions a[data-bacchus] {
    grid-column: 1 / -1 !important;
  }

  .mwi-v2-hero > .mwi-v2-hero-actions .mwi-v2-btn {
    height: 44px !important;
    font-size: 13px !important;
  }
}
/* === end my Wination Cellar HERO HARD OVERRIDE v3 === */

/* === my Wination Cellar HERO OPTION 3 FORCE v5 === */

/*
  This is intentionally stronger than all previous hero CSS.
  It only targets the hero block and its direct children.
*/

html body .mwi-cellar-v2 .mwi-v2-hero,
html body .mwi-v2-hero.mwi-v2-hero {
  position: relative !important;
  display: grid !important;
  grid-template-columns: 86px minmax(0, 1fr) auto !important;
  grid-template-areas:
    "avatar kicker kicker"
    "avatar title title"
    "stats stats actions" !important;
  column-gap: 20px !important;
  row-gap: 0 !important;
  align-items: center !important;
  min-height: 0 !important;
  margin: 18px 0 18px !important;
  padding: 24px 26px 18px !important;
  border: 1px solid #e2e6eb !important;
  border-radius: 28px !important;
  background: #ffffff !important;
  box-shadow: 0 18px 48px rgba(39, 41, 50, 0.08) !important;
  overflow: hidden !important;
}

html body .mwi-cellar-v2 .mwi-v2-hero::before,
html body .mwi-v2-hero.mwi-v2-hero::before {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  top: 24px !important;
  bottom: 24px !important;
  width: 5px !important;
  border-radius: 0 999px 999px 0 !important;
  background: #2F88FF !important;
}

html body .mwi-cellar-v2 .mwi-v2-hero::after,
html body .mwi-v2-hero.mwi-v2-hero::after {
  display: none !important;
}

/* Turn the existing wrapper into layout-only contents. */
html body .mwi-cellar-v2 .mwi-v2-hero > .mwi-v2-identity,
html body .mwi-cellar-v2 .mwi-v2-hero > .mwi-v2-identity > div,
html body .mwi-v2-hero.mwi-v2-hero > .mwi-v2-identity,
html body .mwi-v2-hero.mwi-v2-hero > .mwi-v2-identity > div {
  display: contents !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body .mwi-cellar-v2 .mwi-v2-hero > .mwi-v2-identity::before,
html body .mwi-cellar-v2 .mwi-v2-hero > .mwi-v2-identity::after,
html body .mwi-v2-hero.mwi-v2-hero > .mwi-v2-identity::before,
html body .mwi-v2-hero.mwi-v2-hero > .mwi-v2-identity::after {
  display: none !important;
}

html body .mwi-cellar-v2 .mwi-v2-hero .mwi-v2-avatar,
html body .mwi-v2-hero.mwi-v2-hero .mwi-v2-avatar {
  grid-area: avatar !important;
  display: block !important;
  width: 86px !important;
  height: 86px !important;
  border-radius: 24px !important;
  object-fit: cover !important;
  border: 4px solid #ffffff !important;
  background: #f5f8fc !important;
  box-shadow: 0 14px 30px rgba(39, 41, 50, 0.15) !important;
}

html body .mwi-cellar-v2 .mwi-v2-hero .mwi-v2-kicker,
html body .mwi-v2-hero.mwi-v2-hero .mwi-v2-kicker {
  grid-area: kicker !important;
  align-self: end !important;
  margin: 0 0 8px !important;
  color: #2F88FF !important;
  font-size: 10px !important;
  line-height: 1 !important;
  font-weight: 950 !important;
  letter-spacing: 0.16em !important;
  text-transform: uppercase !important;
}

html body .mwi-cellar-v2 .mwi-v2-hero h1,
html body .mwi-v2-hero.mwi-v2-hero h1 {
  grid-area: title !important;
  align-self: start !important;
  max-width: 760px !important;
  margin: 0 !important;
  color: #272932 !important;
  font-size: clamp(36px, 4.5vw, 56px) !important;
  line-height: 0.98 !important;
  letter-spacing: -0.06em !important;
  font-weight: 950 !important;
}

html body .mwi-cellar-v2 .mwi-v2-hero p,
html body .mwi-v2-hero.mwi-v2-hero p {
  grid-area: stats !important;
  display: block !important;
  width: auto !important;
  min-height: 0 !important;
  margin: 18px 0 0 !important;
  padding: 16px 0 0 !important;
  border-top: 1px solid #e2e6eb !important;
  border-left: 0 !important;
  border-right: 0 !important;
  border-bottom: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #747484 !important;
  font-size: 14px !important;
  line-height: 1.2 !important;
  font-weight: 850 !important;
  letter-spacing: -0.01em !important;
}

html body .mwi-cellar-v2 .mwi-v2-hero > .mwi-v2-hero-actions,
html body .mwi-v2-hero.mwi-v2-hero > .mwi-v2-hero-actions {
  grid-area: actions !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 10px !important;
  min-width: 0 !important;
  margin: 18px 0 0 !important;
  padding: 16px 0 0 !important;
  border-top: 1px solid #e2e6eb !important;
  border-left: 0 !important;
  border-right: 0 !important;
  border-bottom: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body .mwi-cellar-v2 .mwi-v2-hero > .mwi-v2-hero-actions .mwi-v2-btn,
html body .mwi-v2-hero.mwi-v2-hero > .mwi-v2-hero-actions .mwi-v2-btn {
  width: auto !important;
  min-width: 118px !important;
  height: 42px !important;
  border-radius: 13px !important;
  padding: 0 15px !important;
  font-size: 14px !important;
  line-height: 1 !important;
  font-weight: 950 !important;
  letter-spacing: -0.01em !important;
  box-shadow: none !important;
  transform: none !important;
}

html body .mwi-cellar-v2 .mwi-v2-hero > .mwi-v2-hero-actions .mwi-v2-btn--primary,
html body .mwi-cellar-v2 .mwi-v2-hero > .mwi-v2-hero-actions button[data-add-wine],
html body .mwi-cellar-v2 .mwi-v2-hero > .mwi-v2-hero-actions button[data-bacchus],
html body .mwi-v2-hero.mwi-v2-hero > .mwi-v2-hero-actions .mwi-v2-btn--primary,
html body .mwi-v2-hero.mwi-v2-hero > .mwi-v2-hero-actions button[data-add-wine],
html body .mwi-v2-hero.mwi-v2-hero > .mwi-v2-hero-actions button[data-bacchus] {
  background: #2F88FF !important;
  border-color: #2F88FF !important;
  color: #ffffff !important;
}

html body .mwi-cellar-v2 .mwi-v2-hero > .mwi-v2-hero-actions .mwi-v2-btn--ghost,
html body .mwi-cellar-v2 .mwi-v2-hero > .mwi-v2-hero-actions button[data-profile-settings],
html body .mwi-v2-hero.mwi-v2-hero > .mwi-v2-hero-actions .mwi-v2-btn--ghost,
html body .mwi-v2-hero.mwi-v2-hero > .mwi-v2-hero-actions button[data-profile-settings] {
  background: #ffffff !important;
  border-color: #e2e6eb !important;
  color: #272932 !important;
}

/* Owner-only hidden state. */
html body .mwi-cellar-v2 .mwi-v2-hero [data-profile-settings][hidden],
html body .mwi-cellar-v2 .mwi-v2-hero [data-profile-settings][aria-hidden="true"],
html body .mwi-v2-hero.mwi-v2-hero [data-profile-settings][hidden],
html body .mwi-v2-hero.mwi-v2-hero [data-profile-settings][aria-hidden="true"] {
  display: none !important;
}

@media (max-width: 900px) {
  html body .mwi-cellar-v2 .mwi-v2-hero,
  html body .mwi-v2-hero.mwi-v2-hero {
    grid-template-columns: 70px minmax(0, 1fr) !important;
    grid-template-areas:
      "avatar kicker"
      "avatar title"
      "stats stats"
      "actions actions" !important;
  }

  html body .mwi-cellar-v2 .mwi-v2-hero > .mwi-v2-hero-actions,
  html body .mwi-v2-hero.mwi-v2-hero > .mwi-v2-hero-actions {
    justify-content: flex-start !important;
  }
}

@media (max-width: 760px) {
  html body .mwi-cellar-v2 .mwi-v2-hero,
  html body .mwi-v2-hero.mwi-v2-hero {
    grid-template-columns: 58px minmax(0, 1fr) !important;
    column-gap: 14px !important;
    margin: 14px 0 14px !important;
    padding: 18px !important;
    border-radius: 22px !important;
  }

  html body .mwi-cellar-v2 .mwi-v2-hero .mwi-v2-avatar,
  html body .mwi-v2-hero.mwi-v2-hero .mwi-v2-avatar {
    width: 58px !important;
    height: 58px !important;
    border-radius: 18px !important;
  }

  html body .mwi-cellar-v2 .mwi-v2-hero h1,
  html body .mwi-v2-hero.mwi-v2-hero h1 {
    font-size: 30px !important;
    line-height: 1.02 !important;
  }

  html body .mwi-cellar-v2 .mwi-v2-hero > .mwi-v2-hero-actions,
  html body .mwi-v2-hero.mwi-v2-hero > .mwi-v2-hero-actions {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 9px !important;
    margin-top: 10px !important;
    padding-top: 0 !important;
    border-top: 0 !important;
  }

  html body .mwi-cellar-v2 .mwi-v2-hero > .mwi-v2-hero-actions .mwi-v2-btn,
  html body .mwi-v2-hero.mwi-v2-hero > .mwi-v2-hero-actions .mwi-v2-btn {
    width: 100% !important;
    min-width: 0 !important;
    height: 42px !important;
    font-size: 13px !important;
  }

  html body .mwi-cellar-v2 .mwi-v2-hero > .mwi-v2-hero-actions button[data-bacchus],
  html body .mwi-v2-hero.mwi-v2-hero > .mwi-v2-hero-actions button[data-bacchus] {
    grid-column: 1 / -1 !important;
  }
}

/* === end my Wination Cellar HERO OPTION 3 FORCE v5 === */

/* === my Wination Cellar typography soften v1 === */

/*
  Typography only.
  No layout.
  No card structure.
  No drawer structure.
  This lowers the heavy 900/950 weights across the Cellar UI.
*/

html body .mwi-cellar-v2,
html body .mwi-v2-hero,
html body .mwi-v2-tabs,
html body .mwi-v2-toolbar,
html body .mwi-v2-card,
html body .mwi-v2-drawer {
  font-weight: 400 !important;
}

/* Hero title */
html body .mwi-cellar-v2 .mwi-v2-hero h1,
html body .mwi-v2-hero.mwi-v2-hero h1 {
  font-weight: 760 !important;
  letter-spacing: -0.045em !important;
}

/* Hero kicker */
html body .mwi-cellar-v2 .mwi-v2-kicker,
html body .mwi-v2-hero.mwi-v2-hero .mwi-v2-kicker {
  font-weight: 700 !important;
  letter-spacing: 0.12em !important;
}

/* Hero subtitle / count line */
html body .mwi-cellar-v2 .mwi-v2-hero p,
html body .mwi-v2-hero.mwi-v2-hero p {
  font-weight: 560 !important;
}

/* All Cellar buttons */
html body .mwi-cellar-v2 .mwi-v2-btn,
html body .mwi-cellar-v2 button,
html body .mwi-v2-hero.mwi-v2-hero .mwi-v2-btn,
html body .mwi-v2-hero.mwi-v2-hero button {
  font-weight: 650 !important;
  letter-spacing: -0.005em !important;
}

/* Tabs */
html body .mwi-cellar-v2 .mwi-v2-tabs button,
html body .mwi-v2-tabs.mwi-v2-tabs button {
  font-weight: 620 !important;
}

html body .mwi-cellar-v2 .mwi-v2-tabs small,
html body .mwi-v2-tabs.mwi-v2-tabs small {
  font-weight: 650 !important;
}

/* Search and filters */
html body .mwi-cellar-v2 .mwi-v2-search input,
html body .mwi-cellar-v2 .mwi-v2-toolbar select,
html body .mwi-v2-toolbar.mwi-v2-toolbar input,
html body .mwi-v2-toolbar.mwi-v2-toolbar select {
  font-weight: 500 !important;
}

html body .mwi-cellar-v2 .mwi-v2-search input::placeholder,
html body .mwi-v2-toolbar.mwi-v2-toolbar input::placeholder {
  font-weight: 500 !important;
}

/* Result line and clear filters */
html body .mwi-cellar-v2 .mwi-v2-resultline {
  font-weight: 500 !important;
}

html body .mwi-cellar-v2 .mwi-v2-resultline button {
  font-weight: 620 !important;
}

/* Wine cards */
html body .mwi-cellar-v2 .mwi-v2-card__producer,
html body .mwi-v2-card.mwi-v2-card .mwi-v2-card__producer {
  font-weight: 650 !important;
  letter-spacing: 0.08em !important;
}

html body .mwi-cellar-v2 .mwi-v2-card h3,
html body .mwi-v2-card.mwi-v2-card h3 {
  font-weight: 650 !important;
  letter-spacing: -0.025em !important;
}

html body .mwi-cellar-v2 .mwi-v2-card__meta,
html body .mwi-v2-card.mwi-v2-card .mwi-v2-card__meta {
  font-weight: 400 !important;
}

html body .mwi-cellar-v2 .mwi-v2-qty,
html body .mwi-v2-card.mwi-v2-card .mwi-v2-qty {
  font-weight: 620 !important;
}

html body .mwi-cellar-v2 .mwi-v2-note-indicator,
html body .mwi-v2-card.mwi-v2-card .mwi-v2-note-indicator {
  font-weight: 560 !important;
}

/* Vendor/action links inside cards, leave layout alone */
html body .mwi-cellar-v2 .mwi-v2-vendor,
html body .mwi-cellar-v2 .mwi-v2-vendor *,
html body .mwi-cellar-v2 .mwi-v2-inline-link {
  font-weight: 500 !important;
}

html body .mwi-cellar-v2 .mwi-v2-vendor__links a {
  font-weight: 600 !important;
}

/* Drawer */
html body .mwi-cellar-v2 .mwi-v2-drawer h2,
html body .mwi-cellar-v2 .mwi-v2-drawer h3,
html body .mwi-v2-drawer.mwi-v2-drawer h2,
html body .mwi-v2-drawer.mwi-v2-drawer h3 {
  font-weight: 680 !important;
  letter-spacing: -0.025em !important;
}

html body .mwi-cellar-v2 .mwi-v2-drawer__tabs button,
html body .mwi-v2-drawer.mwi-v2-drawer .mwi-v2-drawer__tabs button {
  font-weight: 620 !important;
}

html body .mwi-cellar-v2 .mwi-v2-field label,
html body .mwi-v2-drawer.mwi-v2-drawer .mwi-v2-field label {
  font-weight: 600 !important;
}

html body .mwi-cellar-v2 .mwi-v2-field input,
html body .mwi-cellar-v2 .mwi-v2-field select,
html body .mwi-cellar-v2 .mwi-v2-field textarea,
html body .mwi-v2-drawer.mwi-v2-drawer input,
html body .mwi-v2-drawer.mwi-v2-drawer select,
html body .mwi-v2-drawer.mwi-v2-drawer textarea {
  font-weight: 400 !important;
}

/* Generic strong text inside Cellar, but do not crush actual headings too much */
html body .mwi-cellar-v2 strong,
html body .mwi-cellar-v2 b {
  font-weight: 650 !important;
}

/* === end my Wination Cellar typography soften v1 === */

/* === my Wination Cellar card images absolute contain v2 === */

/*
  Image display only.
  Fixes the real issue:
  image element was taller than the media box, then clipped.
*/

html body .mwi-cellar-v2 .mwi-v2-grid:not(.is-list) .mwi-v2-card__media,
html body .mwi-v2-grid:not(.is-list) .mwi-v2-card .mwi-v2-card__media {
  position: relative !important;
  aspect-ratio: 9 / 16 !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow: hidden !important;
  background: #ffffff !important;
  border-bottom: 1px solid #e2e6eb !important;
}

/* This is the important part. The image is forced INSIDE the media box. */
html body .mwi-cellar-v2 .mwi-v2-grid:not(.is-list) .mwi-v2-card__media img,
html body .mwi-v2-grid:not(.is-list) .mwi-v2-card .mwi-v2-card__media img {
  position: absolute !important;
  inset: 14px !important;
  display: block !important;
  width: calc(100% - 28px) !important;
  height: calc(100% - 28px) !important;
  max-width: none !important;
  max-height: none !important;
  min-width: 0 !important;
  min-height: 0 !important;
  object-fit: contain !important;
  object-position: center center !important;
  padding: 0 !important;
  margin: 0 !important;
  transform: none !important;
  filter: none !important;
}

/* Placeholder stays centered. */
html body .mwi-cellar-v2 .mwi-v2-grid:not(.is-list) .mwi-v2-card__placeholder,
html body .mwi-v2-grid:not(.is-list) .mwi-v2-card .mwi-v2-card__placeholder {
  position: absolute !important;
  inset: 14px !important;
  display: grid !important;
  place-items: center !important;
}

/* Mobile */
@media (max-width: 760px) {
  html body .mwi-cellar-v2 .mwi-v2-grid:not(.is-list) .mwi-v2-card__media img,
  html body .mwi-v2-grid:not(.is-list) .mwi-v2-card .mwi-v2-card__media img {
    inset: 10px !important;
    width: calc(100% - 20px) !important;
    height: calc(100% - 20px) !important;
  }

  html body .mwi-cellar-v2 .mwi-v2-grid:not(.is-list) .mwi-v2-card__placeholder,
  html body .mwi-v2-grid:not(.is-list) .mwi-v2-card .mwi-v2-card__placeholder {
    inset: 10px !important;
  }
}

/* === end my Wination Cellar card images absolute contain v2 === */

/* === my Wination Cellar split hero menu with count v3 === */

/*
  Scope:
  Only the separate sidebar shortcode:
  [mwi_cellar_hero]

  Keeps:
  - count line / subtitle

  Removes visually:
  - avatar
  - kicker
  - title

  Converts:
  - hero action buttons into PeepSo-style sidebar menu items
*/

html body .mwi-cellar-split-hero {
  width: 100% !important;
  margin: 0 0 22px !important;
  padding: 0 !important;
}

/* Remove hero card styling. */
html body .mwi-cellar-split-hero .mwi-v2-hero,
html body .mwi-cellar-split-hero .mwi-v2-hero.mwi-v2-hero--split-copy {
  display: block !important;
  width: 100% !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
}

html body .mwi-cellar-split-hero .mwi-v2-hero::before,
html body .mwi-cellar-split-hero .mwi-v2-hero::after {
  display: none !important;
}

/* Keep the identity wrapper only so the count can display. */
html body .mwi-cellar-split-hero .mwi-v2-identity,
html body .mwi-cellar-split-hero .mwi-v2-hero > .mwi-v2-identity {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 0 10px !important;
  padding: 0 12px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  text-align: left !important;
}

html body .mwi-cellar-split-hero .mwi-v2-identity::before,
html body .mwi-cellar-split-hero .mwi-v2-identity::after {
  display: none !important;
}

html body .mwi-cellar-split-hero .mwi-v2-identity > div {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
}

/* Hide only what you asked removed. */
html body .mwi-cellar-split-hero .mwi-v2-avatar,
html body .mwi-cellar-split-hero .mwi-v2-kicker,
html body .mwi-cellar-split-hero .mwi-v2-hero h1 {
  display: none !important;
}

/* Keep the count line. */
html body .mwi-cellar-split-hero .mwi-v2-hero p,
html body .mwi-cellar-split-hero .mwi-v2-identity p,
html body .mwi-cellar-split-hero [data-subtitle] {
  display: block !important;
  width: 100% !important;
  min-height: 0 !important;
  margin: 0 0 8px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #747484 !important;
  font-size: 13px !important;
  line-height: 1.35 !important;
  font-weight: 500 !important;
  text-align: left !important;
}

/* Action buttons become the sidebar menu. */
html body .mwi-cellar-split-hero .mwi-v2-hero-actions,
html body .mwi-cellar-split-hero .mwi-v2-hero > .mwi-v2-hero-actions {
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* Make each button look like .psw-profile__menu-item */
html body .mwi-cellar-split-hero .mwi-v2-hero-actions .mwi-v2-btn {
  position: relative !important;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 44px !important;
  height: 44px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 12px !important;
  margin: 0 !important;
  padding: 0 12px !important;
  border: 0 !important;
  border-radius: 12px !important;
  background: transparent !important;
  color: #494954 !important;
  font-size: 14px !important;
  line-height: 1 !important;
  font-weight: 500 !important;
  letter-spacing: -0.005em !important;
  text-align: left !important;
  box-shadow: none !important;
  transform: none !important;
  cursor: pointer !important;
}

html body .mwi-cellar-split-hero .mwi-v2-hero-actions .mwi-v2-btn:hover {
  background: #f5f8fc !important;
  color: #2F88FF !important;
}

/* Icon bubble, like the sidebar menu. */
html body .mwi-cellar-split-hero .mwi-v2-hero-actions .mwi-v2-btn::before {
  width: 32px !important;
  height: 32px !important;
  min-width: 32px !important;
  display: inline-grid !important;
  place-items: center !important;
  border-radius: 999px !important;
  background: rgba(47, 136, 255, 0.10) !important;
  color: #2F88FF !important;
  font-size: 15px !important;
  font-weight: 650 !important;
  line-height: 1 !important;
}

html body .mwi-cellar-split-hero .mwi-v2-hero-actions button[data-add-wine]::before {
  content: "＋" !important;
}

html body .mwi-cellar-split-hero .mwi-v2-hero-actions button[data-profile-settings]::before {
  content: "⚙" !important;
}

html body .mwi-cellar-split-hero .mwi-v2-hero-actions button[data-bacchus]::before {
  content: "✦" !important;
}

/* Hidden owner-only setting button stays hidden. */
html body .mwi-cellar-split-hero [data-profile-settings][hidden],
html body .mwi-cellar-split-hero [data-profile-settings][aria-hidden="true"] {
  display: none !important;
}

@media (max-width: 760px) {
  html body .mwi-cellar-split-hero {
    margin-bottom: 16px !important;
  }

  html body .mwi-cellar-split-hero .mwi-v2-hero-actions .mwi-v2-btn {
    min-height: 42px !important;
    height: 42px !important;
    font-size: 13.5px !important;
  }

  html body .mwi-cellar-split-hero .mwi-v2-hero-actions .mwi-v2-btn::before {
    width: 30px !important;
    height: 30px !important;
    min-width: 30px !important;
  }
}

/* === end my Wination Cellar split hero menu with count v3 === */

