:root{
 --burgundy:#761a37;--burgundy-deep:#4d1027;--burgundy-dark:#3d0a21;--gold:#ce9948;--cream:#fbf6f1;
 --white:#fffefd;--ink:#2b2026;--muted:#847471;--line:#e5d8ce;--warm:#f3e8de;--rose:#f6e1dc;
 --shadow:0 14px 36px rgba(75,32,37,.10),0 3px 10px rgba(75,32,37,.025);
 --serif:Georgia,'Times New Roman',serif;--sans:system-ui,-apple-system,'Segoe UI',Roboto,Arial,sans-serif;
}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--cream);color:var(--ink);font-family:var(--sans);-webkit-font-smoothing:antialiased}a{color:inherit;text-decoration:none}button,input,select{font:inherit}button{cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #d29b51;outline-offset:3px}.design-icon{width:21px;height:21px;flex:0 0 auto}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.topbar{height:83px;position:relative;z-index:20;background:rgba(255,251,247,.97);border-bottom:1px solid #ecdcd1}.topbar-inner{height:100%;max-width:1500px;margin:auto;padding:0 36px;display:flex;align-items:center;justify-content:space-between;gap:25px}.brand{display:flex;align-items:center;min-width:260px;gap:10px}.brand-icon{height:61px;width:43px;object-fit:contain}.brand-words{display:flex;flex-direction:column;justify-content:center}.brand-words strong{font-family:var(--serif);font-size:34px;letter-spacing:-1.7px;white-space:nowrap;color:#2c2226}.brand-words strong span{font-style:italic;color:var(--burgundy)}.brand-words small{font-size:9px;letter-spacing:1.4px;margin-left:5px;color:#7f706c}.topnav{display:flex;align-items:center;justify-content:center;gap:12px;flex:1}.topnav a{font-size:17px;font-weight:700;border-radius:30px;padding:11px 28px;white-space:nowrap;color:#443338}.topnav a.active{color:white;background:var(--burgundy);box-shadow:0 5px 12px #761a3722}.topnav a:hover:not(.active){color:var(--burgundy);background:#f3e7e2}.top-actions{display:flex;align-items:center;gap:14px}.icon-btn{width:40px;height:40px;display:flex;align-items:center;justify-content:center;border:1px solid #e8d9d2;border-radius:14px;background:white;color:var(--burgundy)}.icon-btn:hover{background:var(--warm)}.profile-wrap{position:relative}.profile-btn{display:flex;align-items:center;gap:10px;border:1px solid #e4d6cb;border-radius:24px;background:#fff9f4;padding:6px 11px 6px 6px;color:#3c2a2d;font-size:14px;font-weight:700;white-space:nowrap}.profile-btn .design-icon{height:16px;width:16px;color:var(--burgundy)}.avatar{height:34px;width:34px;border-radius:50%;background:var(--burgundy);color:white;display:flex;align-items:center;justify-content:center;font-size:11px}.avatar>.design-icon{color:white}.profile-dropdown{position:absolute;right:0;top:calc(100% + 9px);width:270px;border:1px solid #e5d3c9;background:#fffbf8;padding:9px;border-radius:16px;box-shadow:0 18px 60px #36151c40;z-index:100}.profile-dropdown[hidden]{display:none}.profile-dropdown a{display:flex;align-items:center;gap:11px;padding:10px 12px;font-size:13px;font-weight:600;border-radius:8px}.profile-dropdown a:hover{background:#f4e7e0}.profile-dropdown .design-icon{width:18px;height:18px;color:var(--burgundy)}.profile-dropdown hr{border:0;border-top:1px solid #e9dad1}.admin-label{font-size:10px;letter-spacing:1.2px;color:#b58750;font-weight:800;margin:8px 12px;display:block}.content-wrap{width:min(1440px,calc(100% - 70px));margin:0 auto}.site-footer{display:flex;justify-content:space-between;align-items:center;gap:12px;border-top:1px solid #e5d8d0;color:#8e7c77;margin:55px auto 0;padding:28px 38px;width:min(1440px,calc(100% - 55px));font-size:12px}.footer-links{display:flex;gap:20px;font-weight:650}.hero-kicker,.eyebrow{font-size:12px;font-weight:800;letter-spacing:2px;color:#a57350}.hero-kicker.inverse,.eyebrow.inverse{color:#f6d7a0}.btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;padding:13px 21px;border-radius:15px;font-size:15px;line-height:1.2;font-weight:750;border:1px solid transparent;white-space:nowrap;min-height:48px}.btn-primary{background:linear-gradient(135deg,#8c1c3c,#67152f);color:white;box-shadow:0 6px 13px #68173025}.btn-primary:hover,.btn-scan:hover{filter:brightness(1.1)}.btn-scan{background:#fff8f3;border-color:#e4cec2;color:var(--burgundy)}.btn-outline-cream{background:rgba(255,247,239,.95);border-color:#fffaf3;color:var(--burgundy)}
/* DISCOVER – public, single search + six wine cards, no community or action tiles */
.discover-hero{min-height:368px;background:linear-gradient(90deg,rgba(255,245,231,.91),rgba(255,237,218,.52) 48%,rgba(255,238,221,.03) 91%),url('/assets/design/hero-entdecken-20261112.webp') center center/cover no-repeat;position:relative;overflow:hidden;border-bottom:2px solid #eee0d0}.discover-hero:after{position:absolute;content:'';inset:auto 0 0;height:58px;background:linear-gradient(0deg,rgba(249,240,229,.15),transparent);pointer-events:none}.discover-hero-inner{max-width:1400px;padding:38px 40px 35px;margin:auto;position:relative;z-index:1}.discover-hero h1{font-family:var(--serif);font-size:clamp(45px,4.5vw,73px);line-height:1.05;color:#66172f;letter-spacing:-1.8px;margin:9px 0 14px}.discover-hero h1 em{font-weight:400}.discover-hero p{line-height:1.5;font-size:17px;max-width:780px;color:#574746;text-shadow:0 1px 12px #fff9}.hero-search{display:flex;align-items:center;gap:10px;max-width:980px;margin-top:23px;padding:7px;background:rgba(255,253,250,.92);border-radius:24px;box-shadow:0 8px 25px #57332620;border:1px solid #eedacb}.hero-search>.design-icon{color:var(--burgundy);margin:0 7px 0 13px;width:25px;height:25px}.hero-search input{border:0;min-width:0;flex:1;background:transparent;color:#382a2c;outline:0;padding:13px 5px;font-size:16px}.hero-search .btn{border-radius:17px;padding:14px 20px;min-height:53px}.filter-chips{display:flex;align-items:center;gap:12px;overflow:auto;padding:19px 0 14px;margin-bottom:13px;scrollbar-width:thin}.filter-chips button{display:flex;align-items:center;gap:8px;border:1px solid #e8d7ca;background:#fff9f5;color:#53333b;padding:10px 17px;border-radius:99px;white-space:nowrap;font-weight:650;font-size:13px;box-shadow:0 3px 9px #633d2420}.filter-chips button:hover,.filter-chips button.chosen{background:var(--burgundy);color:#fff;border-color:var(--burgundy)}.filter-chips .design-icon{width:18px;height:18px}.filter-chips .clear-filters{background:transparent;border:0;box-shadow:none;color:var(--burgundy)}.discover-section{padding:7px 0 10px}.section-titlebar{display:flex;align-items:end;justify-content:space-between;gap:25px;margin-bottom:19px}.section-titlebar h2,.member-section h2,.storage-section h2,.guest-info h2{font-family:var(--serif);font-size:clamp(30px,3vw,44px);font-weight:650;line-height:1.1;color:var(--burgundy);letter-spacing:-.6px;margin:7px 0}.section-titlebar p{font-size:14px;color:#7d6b66;margin:7px 0}.section-actions select{border:1px solid #e9d9ce;border-radius:14px;background:#fffaf5;color:var(--burgundy);padding:10px 12px;font-size:14px;font-weight:700}.wine-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:15px}.wine-card{min-width:0;display:flex;flex-direction:column;background:#fffdfb;border:1px solid #e9d7cb;box-shadow:var(--shadow);overflow:hidden;border-radius:18px}.wine-card-picture{height:180px;position:relative;overflow:hidden}.wine-card-picture img{display:block;height:100%;width:100%;object-fit:cover}.wine-chip{position:absolute;left:10px;top:10px;background:#6c1832e6;border-radius:13px;color:#fff;padding:7px 9px;font-size:9px;line-height:1.25;font-weight:750;max-width:90%;text-transform:uppercase}.wine-card-content{display:flex;flex-direction:column;flex:1;padding:14px 13px 12px}.wine-card-content h2{font-family:var(--serif);font-size:18px;line-height:1.12;min-height:41px;font-weight:700;color:#432127;margin:0 0 7px}.year{font-weight:700;color:#402e2f;margin:0 0 10px;font-size:14px}.wine-detail{display:flex;align-items:start;gap:6px;color:#76665f;margin:0 0 7px;font-size:11px}.wine-detail .design-icon{width:14px;height:14px;color:#7f2b43}.rating{display:flex;align-items:center;gap:5px;margin-top:auto;padding-top:10px;color:#6c1831}.rating .design-icon{width:18px;height:18px;color:#d79b36;fill:#eab456;stroke:#eab456}.rating strong{font-size:13px}.rating span{color:#8f8280;font-size:10px;line-height:1.15}.add-cellar{display:flex;align-items:center;justify-content:center;gap:3px;border:1px solid #b9697d;color:var(--burgundy);border-radius:13px;font-size:11px;font-weight:800;padding:10px 7px;margin-top:13px;min-height:37px;text-align:center}.add-cellar:hover{background:#f7e8e6}.add-cellar .design-icon{width:14px;height:14px}.public-note{display:flex;gap:8px;margin-top:25px;align-items:center;color:#a08c84;font-size:12px}.public-note .design-icon{width:17px;height:17px}.empty-message{padding:25px;border:1px dashed #bc8e91;background:#fff8f5;color:#76455b;border-radius:16px;margin-top:15px}
/* Guest cellar */
.guest-main{margin:0}.guest-hero{position:relative;min-height:618px;color:#fffaf3;background:linear-gradient(90deg,rgba(36,9,17,.96),rgba(49,18,21,.92) 30%,rgba(69,29,29,.66) 55%,rgba(56,22,16,.06) 96%),url('/assets/design/hero-weinkeller-20261112.webp') center center/cover no-repeat}.guest-hero-inner{width:min(1350px,calc(100% - 75px));margin:auto;padding:90px 20px 65px}.guest-hero h1{font-family:var(--serif);font-size:clamp(50px,5.9vw,88px);line-height:1.03;font-weight:500;letter-spacing:-1.8px;margin:14px 0 19px}.guest-hero h1 em{font-weight:400}.guest-intro{font-size:18px;line-height:1.55;max-width:620px;color:#f7e7dd;margin:0 0 24px}.guest-benefits{list-style:none;margin:0 0 28px;padding:0;display:grid;gap:14px}.guest-benefits li{display:flex;align-items:center;gap:12px;font-size:15px;color:#fff5e9}.guest-benefits .design-icon{width:23px;height:23px;border:1px solid #cfa966;border-radius:50%;padding:3px;color:#f3cc89}.guest-cta{display:flex;flex-wrap:wrap;gap:12px}.guest-cta .btn{min-height:52px}.demo-hint{font-size:10px;font-weight:500;opacity:.8}.guest-info{text-align:center;padding:43px 0 6px}.guest-info>p{max-width:790px;line-height:1.65;color:#79645f;margin:15px auto 22px}.guest-feature-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;text-align:left;margin-top:28px}.guest-feature-grid article{padding:24px;background:#fffefa;border:1px solid #e8dbd2;border-radius:20px;box-shadow:var(--shadow)}.guest-feature-grid .design-icon{width:31px;height:31px;color:var(--burgundy)}.guest-feature-grid h3{font-family:var(--serif);color:var(--burgundy);font-size:23px;margin:12px 0 7px}.guest-feature-grid p{font-size:14px;color:#827570;line-height:1.5;margin:0}.preview-note{font-size:12px!important;color:#998681!important}
/* Logged-in dashboard */
.member-layout{min-height:800px;display:grid;grid-template-columns:240px minmax(0,1fr);max-width:1580px;margin:0 auto}.sidebar{background:linear-gradient(170deg,#68152e 10%,#541126 58%,#3b1021 100%);color:#fff8f2;padding:31px 13px;min-height:1040px;display:flex;flex-direction:column;justify-content:space-between}.sidebar-top{display:flex;flex-direction:column;gap:4px}.side-kicker{margin:8px 15px 11px;color:#e9bb79;font-size:11px;letter-spacing:1.5px;font-weight:800}.side-link{display:flex;align-items:center;gap:11px;padding:14px 16px;font-size:14px;font-weight:650;border-radius:13px;white-space:nowrap;color:#fff9f5}.side-link .design-icon{width:20px;height:20px}.side-link:hover,.side-link.active{background:#a33a52}.side-link.active{box-shadow:inset 4px 0 #ecc076}.sidebar hr{margin:18px 17px 14px;width:calc(100% - 34px);border:0;border-top:1px solid #a75b68}.sidebar-bottom{padding:30px 12px;color:#eac89b;font-family:var(--serif);font-size:19px;font-style:italic;line-height:1.5}.sidebar-bottom small{display:block;font-family:var(--sans);color:#c49588;font-size:10px;margin-top:13px;font-style:normal}.member-content{min-width:0;background:linear-gradient(180deg,#fff9f2,#faf4ee);padding-bottom:60px}.member-hero{background:linear-gradient(90deg,rgba(30,12,19,.79),rgba(36,14,19,.51) 43%,rgba(36,14,19,.08)),url('/assets/design/hero-weinkeller-20261112.webp') center 43%/cover no-repeat;min-height:344px;padding:35px 37px 34px}.member-hero h1{font-family:var(--serif);color:white;font-size:clamp(36px,3.9vw,59px);line-height:1.15;font-weight:600;margin:12px 0 7px}.member-hero p{color:#ffebdb;margin:0;font-size:16px}.stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr)) 240px;gap:14px;margin-top:45px;align-items:stretch}.stats article{min-height:91px;display:grid;grid-template-columns:55px 1fr;grid-template-rows:1fr 1fr;align-items:center;column-gap:10px;background:rgba(255,251,245,.96);border:1px solid #fff5eb;border-radius:16px;padding:13px 11px;box-shadow:var(--shadow)}.stat-icon{height:51px;width:51px;display:flex;grid-row:1/3;align-items:center;justify-content:center;background:#7a1b38;border-radius:12px;color:white}.stat-icon .design-icon{width:31px;height:31px}.stats article strong{font-family:var(--serif);font-size:39px;line-height:1;color:var(--burgundy)}.stats article>span:last-child{font-size:13px;color:#60413d}.stats .stat-scan{align-self:stretch;border-radius:16px;padding:12px;font-size:16px}.stats .stat-scan .design-icon{width:24px;height:24px}.member-section,.storage-section{padding:28px 33px 0}.member-section-head{display:flex;align-items:end;justify-content:space-between;gap:12px;margin:0 0 14px}.member-section h2{margin:6px 0 0}.count-tag{font-family:var(--sans);color:var(--burgundy);background:#f5e1d9;border-radius:50px;font-size:15px;padding:4px 11px;vertical-align:middle}.private-note{color:#7e6b68;display:flex;align-items:center;gap:7px;font-size:12px}.private-note .design-icon{width:15px;height:15px}.member-tabs{display:flex;align-items:center;border-bottom:1px solid #e0d1c6;gap:10px}.tab{display:flex;align-items:center;gap:9px;background:transparent;border:0;border-bottom:3px solid transparent;color:#695150;padding:15px 19px;font-weight:650;font-size:14px;white-space:nowrap}.tab.active{border-bottom-color:var(--burgundy);color:var(--burgundy);background:#f4e6e0;border-radius:11px 11px 0 0}.tab .design-icon{width:19px;height:19px}.member-filter{display:flex;align-items:center;gap:11px;flex-wrap:wrap;margin:20px 0}.member-search{display:flex;align-items:center;gap:8px;flex:1;min-width:210px;padding:0 14px;background:white;border:1px solid #e8d4c6;border-radius:13px;min-height:47px}.member-search .design-icon{color:var(--burgundy)}.member-search input{flex:1;border:0;background:transparent;outline:0;min-width:0;color:var(--ink);font-size:14px}.member-filter select{border:1px solid #e8d4c6;min-height:47px;background:white;color:#574241;padding:9px 12px;border-radius:12px;font-size:13px}.member-clear{border:0;background:transparent;color:var(--burgundy);font-weight:700;font-size:12px}.cellar-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.cellar-wine-card{display:grid;grid-template-columns:35% 65%;background:#fffdfa;border:1px solid #e7d6cb;border-radius:19px;box-shadow:var(--shadow);overflow:hidden;min-height:300px}.cellar-art{overflow:hidden;min-height:300px;background:#f6ebdf}.cellar-art img{width:100%;height:100%;object-fit:cover;display:block}.cellar-detail{padding:20px 19px 13px;display:flex;flex-direction:column;min-width:0}.cellar-title{display:flex;justify-content:space-between;align-items:start;gap:8px}.cellar-title h3{font-family:var(--serif);font-size:clamp(19px,1.7vw,25px);color:#6b1631;line-height:1.12;margin:0 0 6px}.winery{font-size:13px;color:#6d5652}.outline-icon{background:transparent;border:0;color:var(--burgundy);padding:3px}.outline-icon .design-icon{width:20px;height:20px}.cellar-year{font-family:var(--serif);font-size:19px;font-weight:700;color:#783146;margin:9px 0 6px}.cellar-data{display:grid;gap:8px;margin:7px 0 15px}.cellar-data span{display:flex;align-items:center;gap:8px;color:#6d5651;font-size:13px}.cellar-data .design-icon{color:#8a3d4f;width:17px;height:17px}.cellar-bottom{margin-top:auto;display:flex;align-items:center;justify-content:space-between;gap:6px;border-top:1px solid #e8d6cd;padding-top:12px}.storage,.bottle-count{display:flex;align-items:center;gap:5px;color:#7b3144;font-weight:650;font-size:12px}.storage{background:#f6e7dc;border-radius:30px;padding:7px 10px}.cellar-bottom .design-icon{width:17px;height:17px}.storage-section{margin-top:4px}.text-link{background:transparent;border:0;color:var(--burgundy);font-size:13px;font-weight:750;display:flex;align-items:center;gap:4px}.text-link .design-icon{width:16px;height:16px}.storage-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.storage-grid article{display:flex;align-items:center;gap:14px;background:white;border:1px solid #e7d7cc;border-radius:16px;padding:18px;box-shadow:var(--shadow)}.storage-grid article>.design-icon:first-child{width:36px;height:36px;color:var(--burgundy);background:#f7e5df;border-radius:9px;padding:7px}.storage-grid article>.design-icon:last-child{margin-left:auto;color:#9b7878}.storage-grid h3{font-family:var(--serif);margin:0;color:#6d1a35;font-size:19px}.storage-grid p{margin:4px 0 0;font-size:12px;color:#83716f}.demo-toast{position:fixed;bottom:25px;right:25px;background:#521427;color:#fff;border-radius:14px;padding:14px 18px;max-width:360px;z-index:200;box-shadow:var(--shadow);display:none;font-size:13px}.demo-toast.show{display:block}
@media(max-width:1250px){.wine-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.stats{grid-template-columns:repeat(3,minmax(0,1fr))}.stat-scan{grid-column:1/-1}.cellar-grid{grid-template-columns:1fr}.cellar-wine-card{grid-template-columns:230px minmax(0,1fr)}.sidebar{min-height:0}.member-layout{grid-template-columns:215px 1fr}.wine-card-picture{height:200px}}
@media(max-width:900px){.topbar-inner{padding:0 19px}.brand{min-width:0}.brand-words strong{font-size:27px}.brand-icon{height:53px;width:35px}.topnav a{font-size:14px;padding:10px 13px}.profile-name{display:none}.profile-btn{padding:4px}.profile-btn>.design-icon{display:none}.top-search{display:none}.discover-hero-inner{padding:34px 25px}.content-wrap{width:calc(100% - 36px)}.hero-search{max-width:740px}.guest-hero-inner{width:calc(100% - 40px);padding:68px 10px}.member-layout{grid-template-columns:1fr}.sidebar{min-height:0;display:block;padding:6px 15px}.sidebar-top{flex-direction:row;flex-wrap:wrap;gap:3px;align-items:center}.side-kicker,.sidebar hr,.sidebar-bottom{display:none}.side-link{padding:10px;font-size:12px}.side-link .design-icon{height:16px;width:16px}.member-hero{padding:30px 24px}.member-section,.storage-section{padding-left:20px;padding-right:20px}}
@media(max-width:640px){.topbar{height:71px}.topbar-inner{gap:7px;padding:0 10px}.brand-words strong{font-size:23px;letter-spacing:-1px}.brand-icon{height:47px;width:31px}.brand-words small{font-size:6px;letter-spacing:.6px}.topnav{gap:1px}.topnav a{font-size:11px;padding:10px 9px}.top-actions{gap:0}.profile-btn{border:0;background:transparent}.avatar{height:29px;width:29px}.profile-dropdown{right:0;width:235px}.discover-hero{min-height:430px;background-position:center;background-image:linear-gradient(90deg,rgba(255,245,231,.95),rgba(255,238,221,.82) 78%,rgba(255,238,221,.12)),url('/assets/design/hero-entdecken-20261112.webp')}.discover-hero-inner{padding:35px 19px 25px}.discover-hero h1{font-size:48px;letter-spacing:-1.4px}.discover-hero p{font-size:15px;line-height:1.45}.desktop-only{display:none}.hero-search{gap:7px;padding:5px;flex-wrap:wrap;margin-top:23px;border-radius:16px}.hero-search>.design-icon{width:19px;height:19px}.hero-search input{font-size:13px;width:calc(100% - 70px);flex:1;padding:10px 2px}.hero-search .btn{flex:1;min-height:41px;font-size:13px;padding:11px 8px}.hero-search .btn:first-of-type{margin-left:6px}.filter-chips{padding:15px 0 9px}.filter-chips button{padding:9px 12px;font-size:12px}.section-titlebar{align-items:start;flex-direction:column;gap:9px}.section-titlebar h2{font-size:36px}.wine-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.wine-card-picture{height:155px}.wine-card-content{padding:12px 10px}.wine-card-content h2{font-size:16px;min-height:36px}.wine-detail{font-size:10px}.rating span{font-size:9px}.add-cellar{font-size:10px}.guest-hero{min-height:650px;background-position:59% center;background-image:linear-gradient(90deg,rgba(37,10,19,.96),rgba(56,17,27,.82) 71%,rgba(45,18,17,.45)),url('/assets/design/hero-weinkeller-20261112.webp')}.guest-hero-inner{width:calc(100% - 28px);padding:55px 7px 48px}.guest-hero h1{font-size:52px}.guest-intro{font-size:16px}.guest-benefits li{font-size:13px}.guest-cta{flex-direction:column;max-width:350px}.guest-feature-grid{grid-template-columns:1fr}.guest-info{padding-top:35px}.member-hero{padding:25px 16px}.member-hero h1{font-size:41px}.stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin-top:27px}.stats article{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:108px;padding:7px 2px;gap:2px}.stat-icon{width:32px;height:32px}.stat-icon .design-icon{width:21px;height:21px}.stats article strong{font-size:30px}.stats article>span:last-child{font-size:10px}.stats .stat-scan{grid-column:1/-1;min-height:55px}.member-section,.storage-section{padding:22px 12px 0}.member-section h2{font-size:32px}.private-note{font-size:0}.private-note .design-icon{font-size:13px}.member-tabs{overflow-x:auto;scrollbar-width:none}.tab{font-size:12px;padding:11px}.tab .design-icon{height:16px;width:16px}.member-filter{gap:7px}.member-search{flex:1 1 100%}.member-filter label{flex:1}.member-filter select{width:100%;font-size:12px}.cellar-wine-card{grid-template-columns:38% 62%;min-height:290px}.cellar-art{min-height:290px}.cellar-detail{padding:11px}.cellar-title h3{font-size:19px}.winery{font-size:11px}.cellar-year{font-size:16px}.cellar-data span{font-size:11px}.cellar-bottom{flex-wrap:wrap}.storage,.bottle-count{font-size:10px}.storage-grid{grid-template-columns:1fr}.site-footer{width:calc(100% - 30px);padding:22px 0;flex-direction:column;text-align:center;line-height:1.5}}
/* Finishing details: match reference composition and avoid hidden controls bleeding through. */
[hidden]{display:none!important}
.cellar-art img{object-position:12% center}
@media(max-width:640px){
 .topbar-inner{padding:0 8px;gap:2px}
 .brand{gap:3px;flex:0 0 auto}
 .brand-icon{width:25px;height:40px}
 .brand-words strong{font-size:19px;letter-spacing:-.8px}
 .brand-words small{display:none}
 .topnav{flex:1;gap:0}
 .topnav a{font-size:10px;padding:10px 6px}
 .top-actions{gap:0}
 .topbar .notifications{display:none}
 .avatar{height:27px;width:27px}
 .hero-search{display:grid;grid-template-columns:25px minmax(0,1fr) minmax(0,1fr);gap:6px}
 .hero-search>.design-icon{grid-column:1;grid-row:1;margin-left:9px}
 .hero-search input{grid-column:2/4;grid-row:1;width:100%;min-width:0}
 .hero-search .btn{width:100%;margin:0!important;min-height:42px}
 .hero-search .btn-primary{grid-column:1/3;grid-row:2}
 .hero-search .btn-scan{grid-column:3/4;grid-row:2}
}

/* Integration with the existing PHP application. Native bridges and safe-area
   variables remain authoritative; these rules only replace presentation. */
.design-view{--wine:#761a37;--ink:#2b2026;background:#fbf6f1;color:#2b2026;min-height:100dvh}
.design-view .app-shell{width:100%;max-width:none;margin:0;padding:0;min-height:100dvh}
.design-view .page{width:100%;max-width:none;margin:0;padding:0}
.design-view .topbar,.design-view.welcome-view .topbar{position:relative;top:auto;left:auto;right:auto;transform:none;max-width:none;width:100%;margin:0;padding:0;height:83px;background:#fffbf7;border-bottom:1px solid #ecdcd1}
.design-view .topbar-inner{max-width:1500px;gap:25px}
.design-view .brand{width:236px;min-width:236px;height:auto;aspect-ratio:340/76}
.design-view .brand img{display:block;width:100%;height:auto;object-fit:contain}
.design-view .main-nav{display:flex;flex-wrap:nowrap}
.design-view .topnav a{font-size:16px;padding:11px 25px}
.design-view .profile-btn{list-style:none;cursor:pointer;min-height:46px}
.design-view summary::-webkit-details-marker{display:none}
.design-view .profile-wrap[open]>.profile-btn{box-shadow:0 0 0 3px #ead6d5}
.design-view .profile-dropdown{display:block;max-height:75vh;overflow-y:auto}
.design-view .profile-wrap:not([open])>.profile-dropdown{display:none}
.design-view .language-menu summary{padding:8px;min-height:40px;gap:5px;border-radius:12px}
.design-view .language-menu{flex-shrink:0}
.design-view .top-actions{gap:10px}
.design-view .wine-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:15px}
.design-view .catalog-card{padding:0;margin:0;border-radius:18px}
.design-view .wine-card-picture{display:block;height:180px}
.design-view .wine-card-content h2{font-family:var(--serif);font-size:18px;line-height:1.12;min-height:41px;font-weight:700;color:#432127;margin:0 0 7px}
.design-view .wine-card-content h2 a{color:inherit;text-decoration:none}
.design-view .wine-card-content h2 a:hover{text-decoration:underline}
.design-view .wine-card-content .design-icon{width:14px;height:14px;flex-shrink:0}
.design-view .rating .design-icon{width:18px;height:18px;color:#d79b36;fill:#eab456;stroke:#eab456}
.design-view .rating-space{margin-top:auto;min-height:27px}
.design-view .add-cellar{min-height:34px;margin-top:12px;white-space:normal;text-align:center}
.design-view .filter-chip{display:inline-flex;align-items:center;gap:8px;border:1px solid #e8d7ca;background:#fff9f5;color:#53333b;padding:10px 17px;border-radius:99px;white-space:nowrap;font-weight:650;font-size:13px;box-shadow:0 3px 9px #633d2420}
.design-view .filter-chip.chosen,.design-view .filter-chip:hover{background:var(--burgundy);color:white;border-color:var(--burgundy)}
.design-view .filter-chip .design-icon{width:18px;height:18px}
.design-view .hero-search input{box-shadow:none;border:0;border-radius:0}
.design-view .hero-search input:focus-visible{outline:2px solid #ce9948;outline-offset:1px;border-radius:8px}
.design-view .hero-search .btn{font-size:14px}
.design-view .hero-search p{margin:0}
.design-view .discovery-filter-panel{border:1px solid #e5d8ce;border-radius:18px;background:#fffefd;margin-bottom:22px;padding:15px 20px}
.design-view .discovery-filter-panel:not([open]){display:none}
.design-view .discovery-filter-panel>summary{font-weight:700;color:var(--burgundy);cursor:pointer}
.design-view .design-filter-form{display:block;padding:10px 0 0;margin:0;border:0;box-shadow:none;background:none}
.design-view .filter-selects{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}
.design-view .design-filter-form label{display:block;margin:0 0 12px}
.design-view .catalog-options{display:flex;gap:8px;flex-wrap:wrap}
.design-view .catalog-options label{display:flex;align-items:center;gap:7px;font-size:13px;border-radius:30px;background:#f8eee8;padding:8px 12px;margin:0}
.design-view .catalog-options input{width:16px;height:16px;margin:0;accent-color:#761a37}
.design-view .design-filter-form fieldset{border:0;margin:10px 0 16px;padding:0}
.design-view .design-filter-form legend{margin-bottom:8px;font-weight:650}
.design-view select,.design-view input,.design-view textarea{border-color:#e5d8ce;background-color:#fffefd}
.design-view .library-empty-state{padding:50px 24px;text-align:center;border:1px dashed #d9c5bb;border-radius:20px;background:#fffaf5;margin:20px 0 0}
.design-view .library-empty-state>.design-icon{width:42px;height:42px;color:var(--burgundy)}
.design-view .library-empty-state h3{font-family:var(--serif);color:var(--burgundy);font-size:26px}
.design-view .library-empty-state p{color:#847471;max-width:600px;margin:15px auto 24px;line-height:1.6}
.design-view .member-layout{max-width:1600px;margin:auto;display:grid;grid-template-columns:235px minmax(0,1fr);align-items:stretch}
.design-view .sidebar{height:auto;min-height:calc(100dvh - 83px);position:relative;top:auto}
.design-view .private-content{min-width:0;padding:0 0 36px}
.design-view .private-content>.hero-card,.design-view .private-content>.form-card,.design-view .private-content>.detail-card,.design-view .private-content>.section-head,.design-view .private-content>.grid,.design-view .private-content>.library-results,.design-view .private-content>.catalog-editor-layout{margin:24px;max-width:calc(100% - 48px)}
.design-view .private-content>.hero-card{padding:26px 30px;gap:22px}
.design-view .hero-card h1,.design-view .detail-card h2,.design-view .form-card h2{font-family:var(--serif);color:var(--burgundy)}
.design-view .hero-card h1{font-size:clamp(30px,3.2vw,48px);line-height:1.1}
.design-view .private-content>.form-card{width:auto}
.design-view .private-content .catalog-editor-layout{display:grid;grid-template-columns:230px minmax(0,1fr);gap:20px}
.design-view .editorial-main,.design-view .editorial-content,.design-view .editorial-facts{min-width:0}
.design-view .stats{margin-bottom:0}
.design-view .stats article{border-radius:16px}
.design-view .member-hero{background-position:center center}
.design-view .member-hero h1{font-family:var(--serif);line-height:1.1}
.design-view .member-section-head{display:flex;justify-content:space-between;align-items:center;gap:15px}
.design-view .member-tabs{display:flex;white-space:nowrap}
.design-view .member-tabs .tab{display:inline-flex;align-items:center;gap:7px}
.design-view .member-search{display:flex;flex-direction:row;align-items:center}
.design-view .member-search input{border:0;box-shadow:none;padding:0}
.design-view .member-search .design-icon{width:20px;height:20px}
.design-view .member-filter label{margin:0}
.design-view .member-filter .btn{padding:10px;font-size:12px;min-height:42px}
.design-view .cellar-title h3 a{color:inherit}
.design-view .cellar-detail .design-icon{width:17px;height:17px;flex-shrink:0}
.design-view .real-wine-photo img{object-fit:contain;background:#f8f1eb;object-position:center}
.design-view .cellar-bottom .storage{max-width:70%;overflow-wrap:anywhere;white-space:normal}
.design-view .storage-grid>a{display:flex;align-items:center;gap:14px;background:#fffefd;border:1px solid #e7d7cc;border-radius:16px;padding:18px;box-shadow:var(--shadow)}
.design-view .storage-grid>a>.design-icon:first-child{width:36px;height:36px;color:var(--burgundy);background:#f7e5df;border-radius:9px;padding:7px}
.design-view .storage-grid>a>.design-icon:last-child{margin-left:auto;color:#9b7878}
.design-view .guest-info{padding-bottom:0}
.design-view .welcome-benefits{width:min(1300px,calc(100% - 70px));margin:0 auto;padding:40px 0}
.design-view .welcome-benefits h2,.design-view .welcome-feature h3{font-family:var(--serif);color:var(--burgundy)}
.design-view .welcome-feature{background:#fffefd;border:1px solid #e5d8ce;border-radius:24px;box-shadow:var(--shadow);overflow:hidden}
.design-view .welcome-feature-media img{display:block;width:100%;height:100%;object-fit:cover}
.design-view .welcome-page{padding:0}
.design-view .welcome-hero{border-radius:0}
.design-view .welcome-auth{background:#fffaf7}
.design-view .catalog-profile{max-width:1300px;margin:32px auto;gap:30px;padding:0 24px;grid-template-columns:330px minmax(0,1fr)}
.design-view .catalog-profile .detail-card{margin:0;min-width:0;background:#fffefd;border-radius:22px;border-color:#e5d8ce}
.design-view .catalog-profile .wine-photo{width:100%;height:320px;object-fit:contain;background:#f8f0e8;border-radius:14px}
.design-view .catalog-article{line-height:1.8;font-size:16px}
.design-view .catalog-article h2,.design-view .catalog-article h3{font-family:var(--serif);color:var(--burgundy);line-height:1.25}
.design-view .public-profile-hero{max-width:1250px;margin:32px auto;padding:32px}
.design-view .public-profile-hero h1{font-family:var(--serif);color:var(--burgundy);font-size:clamp(32px,4vw,54px)}
.design-view .site-footer{max-width:1440px;margin:55px auto 0;width:calc(100% - 70px)}
.design-view .site-footer p{margin:0}
.design-view .site-footer nav{display:flex;gap:18px;flex-wrap:wrap;justify-content:center}
.design-view .site-footer nav a{font-size:12px}
.design-view .btn.primary{background:linear-gradient(135deg,#8c1c3c,#67152f);border-color:#761a37;border-radius:15px}
.design-view .btn.dark{background:#f5e8df;color:#761a37;border:1px solid #e5d8ce}
.design-view input:focus,.design-view textarea:focus,.design-view select:focus{border-color:#b47887;box-shadow:0 0 0 3px #761a3710}
@media(min-width:1500px){.design-view .wine-card-picture{height:210px}}
@media(max-width:1250px){.design-view .wine-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.design-view .private-content .catalog-editor-layout{grid-template-columns:200px minmax(0,1fr)}}
@media(max-width:1000px){.design-view .brand{width:205px;min-width:205px}.design-view .topbar-inner{gap:12px;padding:0 20px}.design-view .topnav a{padding:10px 16px}.design-view .member-layout{grid-template-columns:200px minmax(0,1fr)}.design-view .filter-selects{grid-template-columns:repeat(2,minmax(0,1fr))}.design-view .private-content .catalog-editor-layout{grid-template-columns:1fr}.design-view .editorial-wines{display:flex;overflow-x:auto;gap:8px}.design-view .editorial-wines h2{display:none}.design-view .editorial-wine{min-width:190px}}
@media(max-width:900px){.design-view .member-layout{grid-template-columns:1fr}.design-view .sidebar{min-height:0}.design-view .profile-name{display:none}.design-view .brand{width:190px;min-width:190px}.design-view .topnav a{font-size:14px;padding:10px 13px}.design-view .private-content>.hero-card,.design-view .private-content>.form-card,.design-view .private-content>.detail-card,.design-view .private-content>.section-head,.design-view .private-content>.grid,.design-view .private-content>.library-results,.design-view .private-content>.catalog-editor-layout{margin:20px;max-width:calc(100% - 40px)}.design-view .catalog-profile{grid-template-columns:260px minmax(0,1fr)}}
@media(max-width:640px){.design-view .topbar,.design-view.welcome-view .topbar{height:71px}.design-view .topbar-inner{gap:3px;padding:0 12px}.design-view .brand{width:128px;min-width:128px}.design-view .topnav{flex:1}.design-view .topnav a{font-size:11px;padding:10px 8px}.design-view .top-actions{gap:3px}.design-view .language-menu summary{border:0;background:none;min-height:32px;padding:4px;font-size:10px}.design-view .language-menu summary svg{display:none}.design-view .profile-btn{min-height:32px;padding:2px}.design-view .profile-btn>span:last-child{display:none}.design-view .avatar{width:27px;height:27px}.design-view .wine-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.design-view .wine-card-picture{height:155px}.design-view .wine-card-content h2{font-size:16px;min-height:36px}.design-view .hero-search .btn{font-size:12px;min-height:44px}.design-view .hero-search{grid-template-columns:23px minmax(0,1fr) minmax(0,1fr)}.design-view .filter-chip{padding:9px 12px;font-size:12px}.design-view .catalog-profile{grid-template-columns:1fr;padding:0 14px;margin:20px 0}.design-view .public-profile-hero{margin:20px 14px;padding:24px}.design-view .welcome-benefits{width:calc(100% - 28px)}.design-view .welcome-feature{grid-template-columns:1fr}.design-view .welcome-feature-media{min-height:220px}.design-view .private-content>.hero-card,.design-view .private-content>.form-card,.design-view .private-content>.detail-card,.design-view .private-content>.section-head,.design-view .private-content>.grid,.design-view .private-content>.library-results,.design-view .private-content>.catalog-editor-layout{margin:14px;max-width:calc(100% - 28px)}.design-view .private-content>.hero-card{padding:24px;flex-wrap:wrap}.design-view .site-footer{width:calc(100% - 30px)}.design-view .filter-selects{gap:10px}.design-view .member-tabs .tab{font-size:12px;padding:11px}.design-view .member-section-head{align-items:flex-start}.design-view .member-filter{flex-wrap:wrap}.design-view .member-filter .member-search{flex-basis:100%}.design-view .member-filter label{min-width:0}.design-view .cellar-bottom{gap:8px}}
body.design-view.native-app .topnav{display:none}
body.design-view.native-app .sidebar{display:none}
body.design-view.native-app .member-layout{grid-template-columns:1fr}
body.design-view.native-app .topbar-inner{justify-content:space-between}
body.design-view.native-app .top-actions{margin-left:auto}
body.design-view.native-app .mobile-tabs{background:#fffbf7ed;backdrop-filter:blur(18px);border-top:1px solid #e5d8ce;box-shadow:0 -5px 24px #4d10270c}
body.design-view.native-app .mobile-tabs a{color:#847471}
body.design-view.native-app .mobile-tabs a[aria-current=page]{color:#761a37;background:#f6e1dc88;border-radius:13px}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

.design-view .wine-detail-image img{display:block;width:100%;max-width:320px;height:320px;object-fit:contain;border-radius:14px;margin:auto;background:#f8f0e8}

.design-view .topbar{display:block}
.design-view .topbar-inner{width:100%}
@media(max-width:359px){.design-view .brand{width:107px;min-width:107px}.design-view .topbar-inner{padding:0 8px}.design-view .topnav a{font-size:10px;padding:10px 6px}}

.design-view .hero-search input{background:transparent;font-weight:400}
.design-view .member-search input{font-weight:400;background:transparent}
.design-view .wine-card-content p{line-height:1.3}
.design-view select{appearance:none;-webkit-appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23761a37' stroke-width='1.6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center;padding-right:34px}
.design-view .language-menu summary span{display:inline}
@media(max-width:640px){.design-view .discover-hero h1{font-size:clamp(34px,11.2vw,48px)}.design-view .language-menu summary{width:28px;min-width:28px}}
@media(max-width:359px){.design-view .hero-search .btn{font-size:11px;gap:5px;padding:10px 6px}.design-view .hero-search .btn .design-icon{width:18px;height:18px}}

.design-view .welcome-feature{gap:0}
.design-view .welcome-feature-copy{padding:32px}
.design-view .welcome-feature-media{border-radius:0;align-self:stretch;min-height:300px;aspect-ratio:auto}
@media(max-width:640px){.design-view .welcome-feature-copy{padding:24px}.design-view .welcome-feature-media{height:240px;min-height:0}}
