/* SEED MARKET + PRODUCE STOREHOUSE R1
   Cozy market presentation only. Gameplay/economy stays in Crop DNA. */
.seed-market-dialog{width:min(820px,calc(100% - 28px));padding:26px 28px 24px;background:#fffaf0}
.seed-market-head{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:stretch;margin:16px 0}
.seed-market-head .shop-balance{margin:0;display:flex;align-items:center;justify-content:flex-start;gap:7px;min-height:62px;padding:12px 16px;border-radius:16px;background:#f6e8c4}
.seed-market-head .shop-balance>span{font-size:12px;color:#786f55}.seed-market-head .shop-balance strong{font-size:25px;color:#315b43}.seed-market-head .shop-balance b{font-size:12px;color:#786f55}
.seed-market-note{display:grid;align-content:center;min-width:210px;padding:10px 14px;border:1px solid #dde3c8;border-radius:16px;background:#f2f4df}.seed-market-note strong{font-size:12px}.seed-market-note span{font-size:10px;color:#77806c;margin-top:2px}
.seed-aisle{position:relative;border:1px solid #e5ddc6;border-radius:20px;background:linear-gradient(180deg,#faf6e7 0,#f3ecd7 100%);padding:14px;box-shadow:inset 0 1px #fff}
.seed-shelf-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;max-height:48vh;overflow:auto;padding:2px 4px 10px;overscroll-behavior:contain;scrollbar-width:thin}
.seed-product-card{position:relative;display:grid!important;grid-template-columns:86px minmax(0,1fr);grid-template-rows:auto auto;column-gap:12px;row-gap:9px;min-height:170px;padding:13px!important;border:1px solid #ded8c4!important;border-bottom:8px solid #cda46d!important;border-radius:15px!important;background:linear-gradient(180deg,#fffdf6 0,#fff8e8 100%)!important;box-shadow:0 6px 14px #695b3611,inset 0 -2px #ead6ad!important}
.seed-product-card::after{content:"";position:absolute;left:8px;right:8px;bottom:-10px;height:4px;border-radius:0 0 7px 7px;background:#9b7449;opacity:.25}
.seed-product-visual{grid-row:1/3;display:grid;align-content:center;justify-items:center;gap:4px;min-height:130px;border-radius:13px;background:linear-gradient(180deg,#f6edcf,#f1e1b6);border:1px solid #ead6a9}
.seed-product-label{font:800 8px/1 system-ui;letter-spacing:.13em;color:#8a7042}.seed-product-card .shop-crop{width:74px;height:82px;padding:4px;border-radius:15px;background:transparent!important}.seed-product-card .shop-crop .crop-art{width:68px;height:68px}
.seed-product-card .shop-copy{min-width:0;align-self:start}.seed-product-title{display:flex;align-items:center;justify-content:space-between;gap:8px}.seed-product-title h3{font-size:16px!important;margin:0!important;color:#2e5a42}.seed-product-title>span{flex:none;padding:3px 6px;border-radius:999px;background:#edf1d9;color:#657152;font:800 9px/1 system-ui}
.seed-product-specs{display:flex;flex-wrap:wrap;gap:5px;margin:7px 0 6px}.seed-product-specs>span{display:inline-flex;align-items:center;gap:3px;padding:4px 6px;border-radius:7px;background:#f1f2df;color:#65715b;font:700 9px/1.2 system-ui}.seed-product-specs b{font-size:10px}.seed-product-card .shop-copy>small{display:block;font-size:10px;color:#65715b;line-height:1.4}.seed-product-card .shop-copy>small strong{color:#315b43}.seed-product-card .owned{display:block;margin-top:4px;font-size:10px!important;color:#5f704f}
.seed-product-actions{grid-column:2;display:grid;grid-template-columns:minmax(100px,1fr) auto;gap:7px;align-items:stretch}.seed-product-actions .buy-button{min-width:0;min-height:46px;display:flex;flex-direction:row;justify-content:space-between;padding:8px 10px;border-radius:10px}.seed-product-actions .buy-button span{font-size:10px}.seed-product-actions .buy-button strong{font-size:14px}.seed-product-actions .choose-seed{min-height:46px;padding:7px 9px;font:800 10px/1.15 system-ui;white-space:nowrap}
.organic-endcap{margin-top:15px;padding:14px 15px!important;border:1px solid #d9e1c5!important;border-radius:17px;background:linear-gradient(90deg,#f2f0da,#f8f4e5);box-shadow:0 5px 14px #4e6a3210}.organic-endcap .organic-shop-icon{width:62px;height:62px;background:#e5edcf}.organic-endcap .organic-shop-icon img{width:58px;height:58px;object-fit:contain}.organic-endcap .buy-button{min-height:54px}

.produce-storehouse-dialog{width:min(780px,calc(100% - 28px));padding:26px 28px 24px;background:#fffaf0}.warehouse-summary-rich{display:grid!important;grid-template-columns:1.15fr .95fr .8fr;gap:9px;padding:0!important;background:transparent!important}.warehouse-summary-main,.warehouse-summary-stat{display:flex;align-items:center;gap:10px;min-height:68px;padding:11px 13px;border:1px solid #dce2c8;border-radius:15px;background:#eff1dc}.warehouse-summary-main>span{width:42px;height:42px;display:grid;place-items:center;border-radius:12px;background:#fff7df;color:#55734c}.warehouse-summary-main>div,.warehouse-summary-stat{display:grid;align-content:center}.warehouse-summary-main strong{font-size:22px;line-height:1}.warehouse-summary-main small{font-size:10px;color:#77806c;margin-top:4px}.warehouse-summary-stat span{font-size:9px;text-transform:uppercase;letter-spacing:.08em;color:#7c846e}.warehouse-summary-stat strong{font-size:14px;color:#315b43;margin-top:3px}
.warehouse-sections{display:grid;gap:14px;max-height:48vh;overflow:auto;padding:2px 4px 10px;overscroll-behavior:contain}.warehouse-shelf-section{padding:12px;border:1px solid #e2dcc8;border-radius:17px;background:linear-gradient(180deg,#faf6e8,#f4ecd7)}.warehouse-section-title{display:flex;align-items:center;justify-content:space-between;padding:0 2px 9px}.warehouse-section-title strong,.warehouse-section-title span{display:block}.warehouse-section-title strong{font-size:12px;color:#315b43}.warehouse-section-title span{font-size:9px;color:#7d826f;margin-top:2px}.warehouse-archive-section{background:#f3f1e8;border-style:dashed}.warehouse-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;max-height:none!important;overflow:visible!important;padding:0!important}
.produce-crate{position:relative;display:grid!important;grid-template-columns:58px minmax(0,1fr);grid-template-rows:auto auto;gap:8px 10px;padding:12px!important;border:1px solid #d9d5c2!important;border-bottom:7px solid #b68c58!important;border-radius:13px!important;background:linear-gradient(180deg,#fffdf6,#fff7e7)!important;box-shadow:0 5px 12px #59492b0e}.produce-crate.stored-only{filter:saturate(.75);border-bottom-color:#aaa18d!important}.produce-crate .warehouse-art{grid-row:1/3;width:58px;height:58px;border-radius:12px;background:#f1ecd6}.produce-crate .warehouse-art .crop-art{width:54px;height:54px}.warehouse-product-title{display:flex;align-items:center;justify-content:space-between;gap:6px}.warehouse-product-title>strong{font-size:13px}.warehouse-qty{flex:none;padding:4px 6px;border-radius:8px;background:#e9eed7;color:#315b43;font:850 11px/1 system-ui}.produce-crate .warehouse-item-copy>span{font-size:9px;color:#6f7865;margin-top:4px}.produce-crate .warehouse-item-copy>small{font-size:9px;color:#878b78;margin-top:2px}.produce-crate .warehouse-actions{grid-column:2;display:grid;grid-template-columns:1fr 1fr;gap:6px;min-width:0}.produce-crate .warehouse-actions button{min-height:34px;padding:6px 7px}.produce-crate .warehouse-actions.warehouse-legacy{display:flex;justify-content:flex-start}.produce-crate .warehouse-actions.warehouse-legacy span{padding:7px 10px}.produce-storehouse-dialog .warehouse-empty{min-height:210px;background:#f8f4e5}

@media(max-width:760px){
 .seed-market-dialog,.produce-storehouse-dialog{width:min(600px,calc(100% - 18px));padding:20px 15px}
 .seed-market-head{grid-template-columns:1fr}.seed-market-note{display:none}.seed-shelf-grid{grid-template-columns:1fr;max-height:52vh;padding-right:2px}.seed-product-card{grid-template-columns:76px minmax(0,1fr);min-height:154px;padding:11px!important}.seed-product-visual{min-height:118px}.seed-product-card .shop-crop{width:67px;height:72px}.seed-product-card .shop-crop .crop-art{width:62px;height:62px}.seed-product-actions{grid-template-columns:1fr auto}.organic-endcap{grid-template-columns:52px minmax(0,1fr);gap:10px}.organic-endcap .organic-shop-icon{width:52px;height:52px}.organic-endcap .organic-shop-icon img{width:50px;height:50px}.organic-endcap .buy-button{grid-column:1/-1;min-height:44px;flex-direction:row;justify-content:center;gap:8px}
 .warehouse-summary-rich{grid-template-columns:1fr 1fr}.warehouse-summary-main{grid-column:1/-1}.warehouse-grid{grid-template-columns:1fr}.warehouse-sections{max-height:51vh}
}
@media(max-width:420px){
 .seed-product-card{grid-template-columns:66px minmax(0,1fr);column-gap:8px}.seed-product-title h3{font-size:14px!important}.seed-product-specs>span{font-size:8px}.seed-product-actions .buy-button{padding:7px 8px}.seed-product-actions .choose-seed{padding:6px 7px}.warehouse-summary-stat strong{font-size:12px}
}
/* Merchandising polish: each card behaves like a product bay sitting on a wooden shelf. */
.seed-product-card{transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease}.seed-product-card:hover{transform:translateY(-2px);border-color:#cfbe93!important;box-shadow:0 10px 20px #5f4d2717,inset 0 -2px #ead6ad!important}.seed-aisle::before{content:"KỆ HẠT GIỐNG · CHỌN THEO VỤ";display:block;margin:0 4px 10px;padding:7px 10px;border-radius:9px;background:#315b43;color:#fff8e7;font:850 9px/1 system-ui;letter-spacing:.13em;text-align:center}.warehouse-shelf-section::after{content:"";display:block;height:5px;margin:11px -5px -7px;border-radius:3px;background:linear-gradient(90deg,#9d7446,#c49a62 45%,#9d7446);opacity:.58}.produce-crate{transition:transform .16s ease,box-shadow .16s ease}.produce-crate:hover{transform:translateY(-1px);box-shadow:0 8px 17px #59492b16!important}
@media(prefers-reduced-motion:reduce){.seed-product-card,.produce-crate{transition:none}.seed-product-card:hover,.produce-crate:hover{transform:none}}

/* Registry-driven seed shelves. Hidden panels retain their native buy handlers. */
.seed-bulk-controls{grid-column:1/-1;display:grid;gap:6px;padding:9px;border:1px solid #e0dcc4;border-radius:11px;background:#f5f2df}
.seed-product-card .seed-product-visual{grid-row:1}.seed-market-dialog .seed-product-actions{grid-column:1/-1}.seed-product-actions .buy-button{flex-wrap:wrap;gap:3px}.seed-product-actions .buy-button strong{overflow-wrap:anywhere}
.seed-quantity-row{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px}.seed-quantity-row label{font-size:11px;font-weight:800;color:#496344}
.seed-quantity-label{display:flex;align-items:center;gap:6px;min-width:0}.seed-bulk-icon{display:block;flex:none;width:40px;height:40px;background-size:200% 200%;background-position:0 0;background-repeat:no-repeat}
.seed-quantity-stepper{display:grid;grid-template-columns:34px minmax(48px,64px) 34px;gap:4px;min-width:0}.seed-quantity-stepper button,.seed-quantity-presets button{min-height:34px;border:1px solid #c9d3b5;border-radius:8px;background:#fffaf0;font-weight:800}
.seed-quantity-stepper input{width:100%;min-width:0;min-height:34px;border:1px solid #c9d3b5;border-radius:8px;background:#fffdf6;color:#315b43;font:800 16px/1 system-ui;text-align:center;touch-action:manipulation}.seed-quantity-stepper input[aria-invalid="true"]{border-color:#a4553d}.seed-quantity-stepper input:focus-visible{outline:3px solid #c7923a;outline-offset:2px}
.seed-quantity-presets{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}.seed-quantity-presets button{font-size:11px}.seed-quantity-presets button[aria-pressed="true"]{background:#416848;border-color:#416848;color:#fff}
.seed-bulk-controls>small{font-size:10px;line-height:1.45;color:#627451}.seed-bulk-controls>small.seed-total-short{color:#934b36}
@media(max-width:420px){.seed-product-actions{grid-column:1/-1}.seed-quantity-stepper{grid-template-columns:38px 68px 38px}.seed-quantity-stepper button,.seed-quantity-presets button{min-height:44px}}
.seed-category-tabs{display:flex;gap:8px;margin:16px 0 10px;flex-wrap:wrap}
.seed-category-tabs button{display:inline-flex;align-items:center;gap:9px;min-height:44px;padding:9px 16px;border:1px solid #d8d8ba;border-radius:14px;background:#f8f7e8;color:#4b6241;font:inherit;font-weight:700;cursor:pointer}
.seed-category-tabs button[aria-selected="true"]{background:#416848;color:#fff;border-color:#416848;box-shadow:0 3px 8px #304b3420}
.seed-category-tabs span{min-width:20px;padding:2px 5px;border-radius:8px;background:#ffffff26;font-size:.78em;text-align:center}
.seed-category-tabs button:focus-visible{outline:3px solid #c7923a;outline-offset:3px}
.seed-category-panel[hidden]{display:none!important}
.seed-shelf-title{padding:4px 2px 12px}.seed-shelf-title h3{margin:0 0 4px;font-size:1.06rem;color:#39563a}.seed-shelf-title p{margin:0;color:#70775e;font-size:.84rem}
.seed-shelf-empty{padding:20px;background:#f8f7ed;border:1px dashed #d8d8bb;border-radius:14px;color:#617653;line-height:1.6}
@media(max-width:420px){.seed-category-tabs{gap:6px}.seed-category-tabs button{padding:9px 11px;flex:1;justify-content:center;font-size:.84rem}}

/* Seed shop R2: native purchases, compact shelves, one persistent quantity bar. */
#shop-dialog{width:min(1010px,calc(100vw - 28px));height:min(780px,calc(100dvh - 32px));max-height:calc(var(--r33-viewport-height,100dvh) - var(--r33-safe-top,env(safe-area-inset-top,0px)) - var(--r33-safe-bottom,env(safe-area-inset-bottom,0px)) - 20px)!important;padding:0;overflow:hidden!important;background:#fffaf0;border:2px solid #b5975e;border-radius:24px}
#shop-dialog[open]{display:flex;flex-direction:column}#shop-dialog:not([open]){display:none}
#shop-dialog .seed-shop-header{position:relative!important;top:auto;z-index:2;flex:none;padding:17px 20px 10px;background:#fffaf0;border-bottom:1px solid #e2d9b9}
#shop-dialog .seed-shop-top{display:flex;gap:12px;align-items:center;margin-bottom:12px}#shop-dialog h2{font-size:26px;letter-spacing:-.055em;margin:0;white-space:nowrap}
#shop-dialog .shop-balance{margin:0 0 0 auto;min-height:44px;display:flex;gap:6px;padding:8px 12px;border:1px solid #eddeb2;border-radius:12px;background:#f6ebcc;white-space:nowrap}#shop-dialog .shop-balance>span,#shop-dialog .shop-balance>b{font-size:11px;color:#756743}#shop-dialog .shop-balance strong{font-size:20px;color:#294f3d}#shop-dialog .shop-balance svg,#shop-dialog .shop-balance img{width:23px;height:23px;object-fit:contain}#shop-dialog .seed-shop-top>.icon-button{width:44px;height:44px;min-width:44px;border-radius:12px}
#shop-dialog .seed-shop-tools{display:grid;grid-template-columns:1fr 1fr;gap:10px}#shop-dialog .seed-search{display:flex;align-items:center;gap:8px;min-width:0;border:1px solid #d8d5b8;border-radius:11px;background:#fffdf7;padding:0 11px}#shop-dialog .seed-search>svg{width:19px;height:19px;color:#778369;flex:none}#shop-dialog .seed-search input{min-width:0;width:100%;min-height:44px;border:0;background:transparent;font:inherit;font-size:14px;color:#294f3d;outline:0}#shop-dialog .seed-search:focus-within{outline:3px solid #bb8b36;outline-offset:2px}
#shop-dialog .seed-category-tabs{display:grid;grid-template-columns:1.5fr 1fr;gap:6px;margin:0}#shop-dialog .seed-category-tabs button{display:flex;align-items:center;justify-content:center;gap:5px;min-height:44px;margin:0;padding:8px 10px;border-radius:11px;font-size:13px;white-space:nowrap}#shop-dialog .seed-category-tabs span{padding:0;min-width:0;background:transparent;font-size:10px}
#shop-dialog .seed-filter-line{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:10px 0}#shop-dialog .seed-filters{display:flex;gap:6px}#shop-dialog .seed-filters button{min-height:44px;border:1px solid #d9d6b7;border-radius:999px;background:#faf8e9;color:#48683f;font-size:12px;font-weight:750;padding:8px 15px;white-space:nowrap}#shop-dialog .seed-filters button[aria-pressed=true]{background:#416b46;border-color:#416b46;color:#fff}
#shop-dialog .seed-sort{display:flex;align-items:center;gap:8px;min-width:0;border:1px solid #d8d5b8;border-radius:10px;padding-left:11px;background:#fbfaed}#shop-dialog .seed-sort>span{font-size:11px;color:#71775f;white-space:nowrap}#shop-dialog .seed-sort select{font:inherit;font-size:12px;font-weight:750;color:#365d3b;min-height:44px;min-width:0;max-width:100%;border:0;background:transparent;padding-right:8px}
#shop-dialog .seed-shop-results{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:12px}#shop-dialog .seed-shop-results>span{font-size:11px;color:#7a816a}
#shop-dialog .seed-shop-scroll{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;touch-action:pan-y;padding:13px 20px 15px;scrollbar-width:thin}
#shop-dialog .seed-shelf-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px;max-height:none;overflow:visible;padding:1px 1px 4px}
#shop-dialog .seed-product-card{position:relative;display:grid!important;grid-template-columns:64px minmax(0,1fr);grid-template-rows:auto;align-items:center;gap:10px;min-width:0;min-height:173px;padding:11px!important;text-align:left;color:#294f3d;border:1px solid #ded9bd!important;border-bottom:5px solid #d5b47b!important;border-radius:13px!important;background:linear-gradient(145deg,#fffdf7,#fbf6e6)!important;box-shadow:0 4px 9px #6e5e2e09;transform:none}
#shop-dialog .seed-product-card:after{display:none}#shop-dialog .seed-product-card[hidden]{display:none!important}#shop-dialog .seed-product-card[aria-pressed=true]{border-color:#42864e!important;border-bottom-color:#8ca965!important;box-shadow:0 0 0 1px #42864e,0 5px 12px #496d3010}#shop-dialog .seed-product-card:hover{transform:none;border-color:#a5b17a!important}
#shop-dialog .seed-product-card .shop-crop{align-self:stretch;display:flex;align-items:center;justify-content:center;width:auto;height:auto;min-height:120px;margin:0;padding:0;border:1px solid #eddfb4;border-radius:10px;background:linear-gradient(#fff4d8,#f3e3b5)!important;overflow:hidden}#shop-dialog .seed-product-card .crop-art{display:grid;place-items:center;width:62px;height:100px;font-size:40px}#shop-dialog .seed-product-card .crop-art img{width:100%!important;height:100%!important;object-fit:contain}
#shop-dialog .seed-product-card .shop-copy{display:flex;flex-direction:column;gap:0;min-width:0;align-self:center}#shop-dialog .seed-product-title{display:flex;flex-wrap:wrap;gap:4px;justify-content:space-between;align-items:center}#shop-dialog .seed-product-title>strong{font-size:16px;line-height:1.2;letter-spacing:-.03em}#shop-dialog .seed-product-title>span{font-size:10px;font-weight:750;padding:3px 5px;background:#edf0d7;color:#60734b;border-radius:999px;white-space:nowrap}
#shop-dialog .seed-card-price{display:block;font-size:12px;font-weight:800;color:#42633b;margin-top:8px}#shop-dialog .seed-card-stock{display:block;font-size:10px;color:#79806b;margin-top:3px}#shop-dialog .seed-card-stats{display:grid;gap:7px;margin-top:9px;padding-top:8px;border-top:1px solid #e7e2ca;font-size:12px;line-height:1.35;color:#68745a}#shop-dialog .seed-card-stats>span{display:flex;align-items:center;gap:4px;min-width:0}#shop-dialog .seed-card-stats b{color:#3a5d3d;font-weight:750}#shop-dialog .seed-card-stats small{font-size:10px;font-weight:400;margin-left:2px}#shop-dialog .seed-card-stats svg,#shop-dialog .seed-card-stats img{width:15px;height:15px;object-fit:contain;flex:none}
#shop-dialog .seed-new-badge{position:absolute;z-index:1;top:7px;left:7px;padding:4px 6px;border-radius:5px 5px 5px 0;background:linear-gradient(#77a744,#56832d);color:#fff9de;font-size:10px;font-weight:850;line-height:1.1;box-shadow:0 2px 4px #3f592624}
#shop-dialog .seed-shelf-empty{margin:0;padding:20px;text-align:center;font-size:13px}#shop-dialog .seed-shelf-empty strong{display:block;font-size:16px}#shop-dialog .seed-shelf-empty p{margin:8px 0 12px}#shop-dialog .seed-shelf-empty .return-button{max-width:260px;margin:auto}
#shop-dialog .seed-selected-details,#shop-dialog .seed-care-disclosure{margin-top:12px;border:1px solid #e2dcc0;border-radius:11px;background:#f9f6e7;padding:0 11px}#shop-dialog details>summary{display:flex;align-items:center;min-height:44px;cursor:pointer;font-size:12px;font-weight:750;color:#5c704b;list-style:none}#shop-dialog details>summary:after{content:'+';margin-left:auto;font-size:19px;padding-left:8px}#shop-dialog details[open]>summary:after{content:'−'}#shop-dialog .seed-selected-details>p{font-size:11px;color:#7b816c;line-height:1.5;margin:9px 0 11px}#shop-dialog #seed-details-copy{display:grid;gap:5px;font-size:12px;line-height:1.5;color:#627153}#shop-dialog #seed-detail-balance{display:block;font-size:11px;line-height:1.5;margin:8px 0;color:#866231}#shop-dialog .seed-return{margin-top:12px}#shop-dialog .seed-care-disclosure .organic-endcap{margin-top:2px}#shop-dialog .seed-care-disclosure .premium-shop{margin-bottom:12px}
#shop-dialog .seed-purchase-bar{flex:none;position:relative;z-index:2;border-top:1px solid #ddd4af;background:#fffaed;padding:12px 20px 10px;box-shadow:0 -5px 14px #6e5a2d08}#shop-dialog .seed-purchase-main{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:14px;align-items:center}#shop-dialog .seed-selected-crop{display:flex;align-items:center;gap:9px;min-width:0}#shop-dialog #seed-selected-art{display:grid;place-items:center;width:51px;height:54px;flex:none;border:1px solid #eddfb4;border-radius:10px;background:#f8ebc9}#shop-dialog #seed-selected-art .crop-art{width:47px;height:49px;font-size:30px}#shop-dialog #seed-selected-art img{width:100%!important;height:100%!important;object-fit:contain}#shop-dialog .seed-selected-crop>div{display:grid;gap:3px;min-width:0}#shop-dialog #seed-selected-name{font-size:15px;line-height:1.2}#shop-dialog #seed-selected-price,#shop-dialog #seed-selected-stock{font-size:11px;color:#6d775c;line-height:1.3}
#shop-dialog .seed-quantity-stepper{display:grid;grid-template-columns:44px 58px 44px;gap:4px}#shop-dialog .seed-quantity-stepper button{width:44px;min-height:44px;padding:0;font-size:23px;background:#f5f2dd;border-color:#d7d7b4;color:#365f3b}#shop-dialog .seed-quantity-stepper input{font:800 17px/1 system-ui;width:100%;min-height:44px;min-width:0;padding:0;text-align:center;background:#fffdf6;-moz-appearance:textfield}#shop-dialog .seed-quantity-stepper input::-webkit-inner-spin-button,#shop-dialog .seed-quantity-stepper input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
#shop-dialog .seed-purchase-buttons{display:grid;grid-template-columns:minmax(175px,1fr) auto;gap:7px}#shop-dialog .seed-purchase-buttons .buy-button{display:flex;flex-direction:row;gap:8px;min-width:0;min-height:46px;padding:8px 12px;font-size:12px;border:1px solid #2b5c37;border-radius:10px;background:linear-gradient(#568447,#35663e)}#shop-dialog .seed-purchase-buttons .buy-button strong{font-size:14px;white-space:nowrap}#shop-dialog .seed-purchase-buttons .choose-seed{min-height:44px;border:1px solid #d5d8b5;border-radius:10px;background:#eef0d9;color:#47623d;font-size:12px;font-weight:750;padding:7px 10px}
#shop-dialog .seed-purchase-total{font-size:11px;color:#7c7d63;line-height:1.4;margin:7px 0 0;min-height:15px}#shop-dialog .seed-total-short{color:#985235}#shop-dialog .shop-feedback{font-size:12px;text-align:left;min-height:16px;line-height:1.4;margin:4px 0 0;color:#4d7049}
#shop-dialog .seed-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}#shop-dialog button:focus-visible,#shop-dialog select:focus-visible,#shop-dialog summary:focus-visible{outline:3px solid #bb8b36;outline-offset:2px}
#shop-dialog .seed-selected-details .seed-quantity-presets{margin:10px 0;gap:6px}#shop-dialog .seed-selected-details .seed-quantity-presets button{min-height:44px;font-size:12px}
#shop-dialog #seed-unlock-retry{min-height:44px;margin-top:8px;font-size:12px;background:#f4e6be;border-color:#d7bd80;color:#72551d}
@media(max-width:959px){#shop-dialog .seed-shelf-grid{grid-template-columns:repeat(2,minmax(0,1fr))}#shop-dialog .seed-purchase-main{grid-template-columns:minmax(0,1fr) auto}#shop-dialog .seed-purchase-buttons{grid-column:1/-1;grid-template-columns:minmax(0,1fr) auto}}
@media(max-width:600px){#shop-dialog{width:calc(100vw - 20px);height:calc(var(--r33-viewport-height,100dvh) - 20px);border-radius:18px}#shop-dialog .seed-shop-header{padding:10px 10px 8px}#shop-dialog .seed-shop-top{gap:6px;margin-bottom:8px}#shop-dialog h2{font-size:20px}#shop-dialog .shop-balance{gap:3px;padding:5px 6px;min-height:36px;border-radius:9px}#shop-dialog .shop-balance>span{display:none}#shop-dialog .shop-balance strong{font-size:16px}#shop-dialog .shop-balance>b{font-size:9px}#shop-dialog .shop-balance svg,#shop-dialog .shop-balance img{width:18px;height:18px}#shop-dialog .seed-shop-tools{grid-template-columns:1fr;gap:6px}#shop-dialog .seed-search input{font-size:16px}#shop-dialog .seed-category-tabs button{font-size:12px;padding:7px 6px}#shop-dialog .seed-filter-line{flex-wrap:wrap;gap:6px;margin:7px 0}#shop-dialog .seed-filters{width:100%;gap:5px}#shop-dialog .seed-filters button{flex:1;padding:7px 6px;font-size:11px}#shop-dialog .seed-sort{width:100%;gap:7px}#shop-dialog .seed-sort select{flex:1;font-size:12px}#shop-dialog .seed-shop-results{font-size:12px}#shop-dialog .seed-shop-results>span{font-size:10px}#shop-dialog .seed-shop-scroll{padding:10px 10px 12px}#shop-dialog .seed-shelf-grid{gap:9px}#shop-dialog .seed-product-card{display:flex!important;flex-direction:column;gap:8px;padding:9px 8px!important;min-height:0;border-radius:12px!important;align-items:stretch}#shop-dialog .seed-product-card .shop-crop{height:86px;min-height:86px;margin:0 4px}#shop-dialog .seed-product-card .crop-art{width:90px;height:84px}#shop-dialog .seed-product-card .shop-copy{align-self:stretch;flex:1}#shop-dialog .seed-product-title>strong{font-size:14px}#shop-dialog .seed-product-title>span{font-size:10px}#shop-dialog .seed-card-price{font-size:12px;margin-top:6px}#shop-dialog .seed-card-stock{font-size:10px}#shop-dialog .seed-card-stats{font-size:12px;gap:6px;margin-top:7px;padding-top:7px}#shop-dialog .seed-card-stats small{font-size:10px}#shop-dialog .seed-card-stats>span{flex-wrap:wrap}#shop-dialog .seed-card-stats>span:last-child{flex-wrap:nowrap}#shop-dialog .seed-purchase-bar{padding:9px 10px 8px}#shop-dialog .seed-purchase-main{gap:8px}#shop-dialog .seed-selected-crop{gap:6px}#shop-dialog #seed-selected-art{width:43px;height:47px}#shop-dialog #seed-selected-art .crop-art{width:40px;height:44px}#shop-dialog #seed-selected-name{font-size:14px}#shop-dialog #seed-selected-price,#shop-dialog #seed-selected-stock{font-size:10px}#shop-dialog .seed-quantity-stepper{grid-template-columns:44px 48px 44px}#shop-dialog .seed-purchase-buttons .buy-button{min-height:44px;padding:7px 9px;font-size:12px}#shop-dialog .seed-purchase-buttons .buy-button strong{font-size:13px}#shop-dialog .seed-purchase-buttons .choose-seed{font-size:11px;padding:7px 9px}#shop-dialog .seed-purchase-total{font-size:10px;margin-top:6px}#shop-dialog .shop-feedback{font-size:11px}}
@media(max-width:359px){#shop-dialog h2{font-size:18px}#shop-dialog .shop-balance strong{font-size:14px}#shop-dialog .shop-balance svg,#shop-dialog .shop-balance img{display:none}#shop-dialog .seed-product-title>strong{font-size:13px}#shop-dialog .seed-card-stats{font-size:11px}#shop-dialog #seed-selected-art{display:none}#shop-dialog .seed-quantity-stepper{grid-template-columns:44px 44px 44px}#shop-dialog .seed-selected-crop{gap:0}}
@media(prefers-reduced-motion:reduce){#shop-dialog .seed-product-card{transition:none}}
