:root{
  --paper:#f6efe5;
  --paper-2:#fbf6ef;
  --ink:#261a14;
  --muted:#75665b;
  --wine:#4d2818;
  --wine-dark:#32180f;
  --gold:#b1844d;
  --line:#dfd0c0;
  --card:#fbf7f1;
  --shadow:0 12px 34px rgba(70,43,25,.12);
  --serif:'Playfair Display',Georgia,serif;
  --sans:'DM Sans',Arial,sans-serif;
}
*{box-sizing:border-box}
html{background:#e4d9cc}
body{margin:0;background:linear-gradient(90deg,#e4d8ca 0,#f1e8dd 50%,#e4d8ca 100%);color:var(--ink);font-family:var(--sans);-webkit-font-smoothing:antialiased}
button,input{font:inherit}
button{color:inherit}
.svg-sprite{position:absolute;width:0;height:0;overflow:hidden}
svg{fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.app-shell{width:100%;max-width:460px;min-height:100vh;margin:0 auto;background:var(--paper);position:relative;overflow:hidden;box-shadow:0 0 70px rgba(44,30,20,.13)}
.view{display:none;min-height:100vh;background:var(--paper)}
.view.active{display:block}
.premium-header{height:94px;padding:calc(12px + env(safe-area-inset-top)) 18px 11px;display:grid;grid-template-columns:78px minmax(0,1fr) 78px;align-items:center;background:rgba(249,244,236,.985);border-bottom:1px solid rgba(158,112,70,.22);position:relative;z-index:20}
.home-header{position:relative}
.lang-switch{height:35px;border:1px solid #c8b8a4;border-radius:999px;padding:3px 5px;display:flex;align-items:center;justify-content:center;gap:5px;width:76px;background:#fffaf2}
.lang-switch button{border:0;background:transparent;padding:0;width:26px;height:27px;border-radius:999px;font-size:10px;font-weight:700;letter-spacing:.5px;cursor:pointer}
.lang-switch button.active{background:var(--wine);color:#fff}
.lang-switch>span{width:1px;height:14px;background:#d8ccbd}
.brand-lockup{border:0;background:transparent;display:flex;align-items:center;justify-content:center;gap:9px;min-width:0;padding:0;cursor:pointer}
.brand-lockup img{width:32px;height:32px;object-fit:contain}
.brand-lockup div{min-width:0;text-align:center}
.brand-lockup b{display:block;font:600 19px/1 var(--serif);letter-spacing:1.9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-transform:uppercase}
.brand-lockup small{display:block;margin-top:5px;font-size:7px;line-height:1;letter-spacing:2.25px;color:#8f7d6b;font-weight:700;text-transform:uppercase}
.favorite-top,.icon-btn{width:43px;height:43px;border:0;background:transparent;display:grid;place-items:center;position:relative;cursor:pointer;justify-self:end}
.favorite-top svg,.icon-btn svg{width:24px;height:24px;stroke-width:1.65}
.favorite-top.active svg,#detailTopFavorite.active svg{fill:var(--wine);stroke:var(--wine)}
.favorite-badge{position:absolute;right:3px;top:1px;min-width:18px;height:18px;padding:0 4px;border-radius:999px;display:grid;place-items:center;background:var(--wine);color:#fff;border:2px solid var(--paper);font-style:normal;font-size:9px;font-weight:700}
.hero-card{height:405px;position:relative;overflow:hidden;background:#2e1d14}
.hero-card>img{width:100%;height:100%;object-fit:cover;display:block}
.hero-shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(32,25,19,.68) 0%,rgba(32,25,19,.28) 60%,rgba(32,25,19,.12) 100%),linear-gradient(0deg,rgba(31,23,17,.18),transparent 45%)}
.hero-copy{position:absolute;left:28px;right:54px;top:50%;transform:translateY(-48%);color:#fff;text-shadow:0 2px 18px rgba(0,0,0,.32)}
.hero-copy small{display:block;font-size:10px;letter-spacing:2.3px;font-weight:700;text-transform:uppercase;margin-bottom:12px;color:#ead6b6}
.hero-copy h1{font:600 47px/.98 var(--serif);letter-spacing:-1.2px;margin:0 0 14px;max-width:315px}
.hero-copy p{margin:0;max-width:285px;font-size:13px;line-height:1.5;font-weight:500;color:rgba(255,255,255,.94)}
.hero-copy .ornament{display:block;font-style:normal;color:#c79a5d;margin-top:18px;font-size:17px}
.home-section{padding:20px 19px 0;background:var(--paper)}
.section-rule{display:flex;align-items:center;justify-content:center;gap:10px;color:#ad7f48;margin-bottom:14px}
.section-rule b{color:#49392f;font-size:10px;letter-spacing:1.8px;font-weight:700;white-space:nowrap}
.section-rule span{font-family:serif;font-size:16px}
.category-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.category-card{min-width:0;height:78px;border:1px solid #e3d8cb;border-radius:13px;background:rgba(255,251,245,.88);box-shadow:0 5px 18px rgba(76,49,26,.05);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;padding:7px 5px;cursor:pointer;transition:.18s ease}
.category-card:active{transform:scale(.975)}
.category-card svg{width:25px;height:25px;color:#70462c;stroke-width:1.45}
.category-card:nth-child(3n+2) svg{color:#b07c38}
.category-card b{font-size:10.5px;font-weight:600;line-height:1.1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.category-card small{display:none}
.loading,.empty-state{grid-column:1/-1;padding:30px 10px;text-align:center;color:#8a7d72;font-size:13px}
.commitment-section{padding-top:19px}
.commitment-grid{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid #e1d4c6;border-radius:14px;overflow:hidden;background:rgba(255,251,245,.82)}
.commitment-grid>div,.commitment-grid>a{min-height:82px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:8px 5px;position:relative;text-align:center}
.commitment-grid>div:not(:last-child):after,.commitment-grid>a:not(:last-child):after{content:"";position:absolute;right:0;top:18px;bottom:18px;width:1px;background:#ded2c4}
.commitment-grid svg{width:25px;height:25px;color:#ac7d35;stroke-width:1.45}
.commitment-grid b{font-size:8.8px;line-height:1.15;font-weight:600;max-width:72px}
.info-link{color:inherit;text-decoration:none;transition:opacity .18s ease,transform .18s ease}
.info-link:active{transform:scale(.97)}
.info-link.disabled{opacity:.42;pointer-events:none}
.info-section{padding-bottom:28px}
.home-cta-wrap{padding:16px 19px calc(22px + env(safe-area-inset-bottom));text-align:center;background:var(--paper)}
.primary-btn{border:0;width:100%;min-height:48px;border-radius:7px;background:linear-gradient(135deg,#2f180f,#55301f);color:#fff;display:flex;align-items:center;justify-content:center;gap:14px;font-size:12px;font-weight:600;letter-spacing:.7px;box-shadow:0 8px 22px rgba(71,39,24,.18);cursor:pointer}
.primary-btn svg{width:19px;height:19px}
.home-cta-wrap>small{display:block;margin-top:10px;font-size:8.5px;color:#75695e}
.list-header,.detail-header{position:sticky;top:0;height:82px;padding-top:calc(9px + env(safe-area-inset-top));grid-template-columns:54px minmax(0,1fr) 54px}
.icon-btn{justify-self:start;width:42px;height:42px}
.screen-title{text-align:center;min-width:0}
.screen-title h2{margin:0;font:600 27px/1 var(--serif);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.screen-title i{font-style:normal;color:#b58b4e;font-size:11px;line-height:1;display:block;margin-top:5px}
.header-spacer{width:42px}
.screen-intro{text-align:center;padding:10px 28px 13px;border-bottom:1px solid #e6dccf;background:var(--paper)}
.screen-intro p{margin:0;color:#5f534a;font:500 11.5px/1.45 var(--serif)}
.list-main{padding:10px 12px 90px}
.product-list{display:flex;flex-direction:column;gap:10px}
.product-card{min-height:156px;border:1px solid #e5d9cc;border-radius:17px;background:rgba(255,251,246,.92);box-shadow:0 5px 16px rgba(64,42,27,.055);display:grid;grid-template-columns:105px minmax(0,1fr);gap:13px;padding:10px 11px;position:relative;cursor:pointer;overflow:hidden}
.product-image-wrap{width:105px;height:136px;border-radius:11px;overflow:hidden;background:#eee7dd;align-self:center}
.product-image-wrap img{width:100%;height:100%;display:block;object-fit:cover}
.product-copy{min-width:0;padding:4px 28px 4px 0;display:flex;flex-direction:column}
.product-badge{align-self:flex-start;display:inline-flex;max-width:118px;padding:4px 7px;border-radius:3px;background:var(--wine);color:#fff;text-transform:uppercase;font-size:7.5px;line-height:1;font-weight:700;letter-spacing:.45px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-bottom:6px}
.product-copy h3{font:600 18.5px/1.07 var(--serif);margin:0 0 4px;letter-spacing:-.25px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.product-copy p{font-size:10.2px;line-height:1.34;color:#4f4740;margin:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.product-price{margin-top:auto;padding-top:8px;display:flex;align-items:flex-end;justify-content:space-between;gap:8px}
.product-price small{font-size:7.5px;color:#7d7064;text-transform:uppercase;letter-spacing:.7px}
.product-price strong{font:600 17px/1 var(--serif);white-space:nowrap}
.card-favorite{position:absolute;right:8px;top:8px;width:30px;height:30px;border:0;background:transparent;display:grid;place-items:center;cursor:pointer;z-index:2}
.card-favorite svg{width:19px;height:19px;color:#b59a72;stroke-width:1.4}
.card-favorite.active svg{fill:var(--wine);stroke:var(--wine)}
.filter-bar{position:fixed;z-index:25;bottom:calc(12px + env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);width:min(calc(100% - 34px),426px);height:50px;border:0;border-radius:7px;background:linear-gradient(135deg,#2f180f,#55301f);color:#fff;display:flex;align-items:center;justify-content:center;gap:10px;box-shadow:0 10px 26px rgba(69,10,19,.25);font-size:12px;font-weight:600;letter-spacing:.5px;cursor:pointer}
.filter-bar svg{width:18px;height:18px}
.filter-bar small{position:absolute;right:12px;font-size:8px;opacity:.76;letter-spacing:0}
.detail-header{grid-template-columns:54px minmax(0,1fr) 54px}
.compact-brand b{font-size:16px;letter-spacing:1.4px}.compact-brand small{font-size:6px;letter-spacing:1.6px}
.detail-main{padding-bottom:88px}
.detail-image-wrap{height:365px;position:relative;background:#3a2b22;overflow:hidden}
.detail-image-wrap img{width:100%;height:100%;object-fit:cover;display:block}
.detail-image-wrap span{position:absolute;inset:0;background:linear-gradient(0deg,rgba(38,22,14,.16),transparent 38%)}
.detail-content{padding:18px 18px 28px;background:var(--paper);min-height:360px}
.detail-title-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px;align-items:start}
.detail-title-row small{display:block;color:var(--wine);font-size:10px;line-height:1.15;font-weight:600;text-transform:uppercase;margin-bottom:5px}
.detail-title-row h1{font:600 24px/1.08 var(--serif);margin:0;letter-spacing:-.4px}
.detail-title-row strong{font:600 22px/1 var(--serif);white-space:nowrap;padding-top:3px}
.detail-tags{display:flex;align-items:center;gap:8px;overflow-x:auto;padding:15px 0 14px;scrollbar-width:none;border-bottom:1px solid #dfd2c4}
.detail-tags::-webkit-scrollbar{display:none}
.detail-tag{flex:0 0 auto;min-width:74px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;padding:6px 9px;border-right:1px solid #e0d5c8;font-size:8px;text-align:center;color:#3d352f}
.detail-tag:last-child{border-right:0}
.detail-tag svg{width:23px;height:23px;color:#755039;stroke-width:1.45}
.detail-description{font-size:11.4px;line-height:1.55;margin:16px 0;color:#3d352f}
.detail-meta{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:12px}
.meta-box{border:1px solid #e1d6c8;border-radius:10px;padding:10px;background:#fff9f2;display:flex;align-items:center;gap:9px;min-width:0}
.meta-box svg{width:19px;height:19px;color:#91663e;flex:0 0 auto}
.meta-box div{min-width:0}.meta-box small{display:block;font-size:7px;text-transform:uppercase;letter-spacing:.6px;color:#8a7a6c}.meta-box b{display:block;margin-top:3px;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.detail-ornament{text-align:center;color:#b07f46;margin:25px 0 0;font-family:serif;font-size:14px}
.detail-action-wrap{position:fixed;z-index:25;bottom:0;left:50%;transform:translateX(-50%);width:min(100%,460px);padding:10px 18px calc(10px + env(safe-area-inset-bottom));background:linear-gradient(0deg,var(--paper) 72%,rgba(247,241,232,.1));}
.favorite-primary{height:52px}.favorite-primary.active{background:#fdf3e9;color:var(--wine);border:1px solid var(--wine);box-shadow:none}.favorite-primary.active svg{fill:var(--wine)}
.favorites-main{padding-bottom:28px}
.empty-favorites{padding:60px 20px;text-align:center}.empty-favorites svg{width:46px;height:46px;color:#b99e7d;margin-bottom:14px}.empty-favorites h3{font:600 25px/1.1 var(--serif);margin:0 0 8px}.empty-favorites p{font-size:12px;color:#796b60;line-height:1.5;margin:0}
.backdrop{position:fixed;inset:0;background:rgba(36,23,16,.45);z-index:60;opacity:0;pointer-events:none;transition:.22s}
.backdrop.open{opacity:1;pointer-events:auto}
.filter-sheet{position:fixed;left:50%;bottom:0;z-index:65;width:min(100%,460px);transform:translate(-50%,105%);transition:.28s cubic-bezier(.22,.85,.35,1);background:var(--paper-2);border-radius:24px 24px 0 0;padding:10px 20px calc(24px + env(safe-area-inset-bottom));box-shadow:0 -16px 45px rgba(46,31,22,.22)}
.filter-sheet.open{transform:translate(-50%,0)}
.sheet-handle{width:42px;height:4px;border-radius:99px;background:#d1c3b4;margin:0 auto 16px}
.filter-head{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:16px}.filter-head small{display:block;font-size:8px;letter-spacing:1.4px;color:#a27a3c;font-weight:700;margin-bottom:3px}.filter-head h3{font:600 27px/1 var(--serif);margin:0}.filter-head button{width:34px;height:34px;border:0;background:#eee4d8;border-radius:50%;font-size:22px;line-height:1;cursor:pointer}
.search-box{height:48px;border:1px solid #daccbd;border-radius:11px;background:#fff;display:flex;align-items:center;gap:10px;padding:0 13px}.search-box svg{width:18px;height:18px;color:#806f61}.search-box input{flex:1;min-width:0;border:0;outline:0;background:transparent;font-size:12px;color:var(--ink)}
.sort-options{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;margin-top:12px}.sort-options button{min-height:44px;border:1px solid #ddcfc0;border-radius:10px;background:#fff9f2;font-size:10px;font-weight:600;padding:7px;cursor:pointer}.sort-options button.active{border-color:var(--wine);color:var(--wine);background:#fdf3e9}
.text-btn{width:100%;border:0;background:transparent;color:#806f61;font-size:10px;font-weight:600;text-decoration:underline;margin-top:14px;cursor:pointer}
.toast{position:fixed;left:50%;bottom:92px;z-index:100;transform:translate(-50%,20px);opacity:0;pointer-events:none;background:#2e1d15;color:#fff;padding:10px 14px;border-radius:999px;font-size:10px;box-shadow:0 10px 25px rgba(0,0,0,.18);transition:.2s;white-space:nowrap}.toast.show{opacity:1;transform:translate(-50%,0)}
@media(max-width:380px){
  .premium-header{padding-left:13px;padding-right:13px;grid-template-columns:72px minmax(0,1fr) 72px}
  .brand-lockup b{font-size:16px}.hero-card{height:370px}.hero-copy h1{font-size:42px}.category-card{height:73px}.product-card{grid-template-columns:96px minmax(0,1fr)}.product-image-wrap{width:96px;height:132px}.product-copy h3{font-size:17px}.detail-image-wrap{height:335px}
}
@media(min-width:700px){body{padding:20px 0}.app-shell{border-radius:28px;min-height:calc(100vh - 40px)}.view{min-height:calc(100vh - 40px)}.filter-bar{bottom:28px}.filter-sheet{bottom:20px;border-radius:24px}.detail-action-wrap{bottom:20px;border-radius:0 0 28px 28px}.backdrop{background:rgba(35,24,18,.38)}}


/* CAFE THEME v22 */
.brand-lockup b{font-weight:500;letter-spacing:2.1px;color:#7a5b45}
.brand-lockup small{color:#9a7d68;letter-spacing:1.9px}
.hero-card{height:420px}
.hero-shade{background:linear-gradient(90deg,rgba(31,20,14,.62) 0%,rgba(31,20,14,.28) 58%,rgba(31,20,14,.08) 100%),linear-gradient(0deg,rgba(31,20,14,.26),transparent 46%)}
.hero-copy{left:30px;right:36px;top:49%}
.hero-copy h1{font-size:46px;line-height:1.02;font-weight:500;max-width:330px}
.hero-copy p{font-size:12.5px;max-width:300px;line-height:1.55}
.section-rule b{letter-spacing:1.95px;color:#4a392f}
.category-card{height:86px;border-color:#e4d6c6;border-radius:14px;background:linear-gradient(180deg,#fffaf4,#faf2e8);box-shadow:0 7px 18px rgba(64,42,27,.055)}
.category-card svg{width:29px;height:29px;color:#7b4d2d}
.category-card:nth-child(3n+2) svg{color:#a56e2e}
.category-card b{font-size:10.2px;letter-spacing:.05px}
.info-section{padding-bottom:30px}
.info-grid{background:linear-gradient(180deg,#fffaf4,#f8eee2)}
.info-grid svg{color:#8a5d39}
.product-card{min-height:166px;border-radius:15px;border-color:#e5d8ca;background:linear-gradient(180deg,rgba(255,252,248,.96),rgba(251,245,237,.96));box-shadow:0 6px 18px rgba(59,36,22,.06);grid-template-columns:112px minmax(0,1fr)}
.product-image-wrap{width:112px;height:146px;border-radius:10px}
.product-copy{padding-top:5px;padding-bottom:5px}
.product-badge{background:#7c4b25;border-radius:3px}
.product-copy h3{font-size:19px;font-weight:500}
.product-copy p{font-size:10.4px;line-height:1.4;color:#51443b;-webkit-line-clamp:3}
.product-price strong{font-size:17.5px;font-weight:500;color:#352117}
.card-favorite svg{color:#a88d72}
.filter-bar{background:linear-gradient(135deg,#2d160e,#52301f);box-shadow:0 10px 26px rgba(61,34,20,.25)}
.detail-image-wrap{height:380px;background:#2c1c14}
.detail-content{background:linear-gradient(180deg,#f8f1e8,#f5ecdf)}
.detail-title-row small{color:#8a5a34}
.detail-title-row h1,.detail-title-row strong{font-weight:500}
.detail-tag svg{color:#77513a}
.favorite-primary.active{background:#fff8ef;color:#4d2818;border-color:#4d2818}
.sort-options button.active{border-color:#5a3422;color:#5a3422;background:#fbf0e5}
.lang-switch button.active{background:#4d2818}
.favorite-top.active svg,#detailTopFavorite.active svg,.card-favorite.active svg{fill:#4d2818;stroke:#4d2818}
.favorite-badge{background:#4d2818}
@media(max-width:380px){.hero-card{height:390px}.hero-copy h1{font-size:41px}.category-card{height:82px}.product-card{grid-template-columns:100px minmax(0,1fr)}.product-image-wrap{width:100px;height:140px}}
