/* КУБАНЬСАД 1.3: compact catalog, focused search and an anchored cart. */
html{scrollbar-gutter:stable}.site-header{position:relative;z-index:30}
.site-header .masthead{display:grid;grid-template-columns:150px auto minmax(140px,1fr) 64px;align-items:center;gap:20px;min-height:104px;padding-block:10px}
.site-header .masthead .brand-clean{width:136px;min-width:0;height:84px;padding:0;margin:0;background:none;clip-path:none;filter:none;display:flex;align-items:center;justify-content:flex-start;border:0;flex-basis:auto}
.site-header .brand-clean img{background:transparent!important;border-radius:0;padding:0;box-shadow:none;width:119px;height:84px;object-fit:contain;filter:none}
:root[data-theme=dark] .site-header .brand-clean img{content:url('logo-dark.svg');filter:none}
.site-header .masthead .catalog-button{margin:0;min-width:127px;min-height:52px}
.site-header .masthead .cart-button{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;justify-self:end;order:0;margin:0!important;padding:0!important;width:54px;min-width:54px;height:52px;border:0;gap:3px;flex-basis:auto}
.site-header .cart-button>.cart-label{display:block;font-size:10px;font-weight:550}.site-header .cart-button>svg{width:25px;height:25px}
.site-header .cart-button .ksc-cart-count{position:absolute;top:-1px;right:0;min-width:19px;height:19px;border:2px solid var(--bg);border-radius:20px;display:grid;place-items:center;padding:0 4px;background:var(--green);color:var(--button-ink);font:700 10px/1 system-ui;box-shadow:0 2px 8px #0001}
.site-header .cart-button .ksc-cart-count[hidden]{display:none}.cart-button.has-items>svg{color:var(--green)}
.header-search-shell{min-width:0;position:relative}.header-search-shell .header-search{margin:0;width:100%;height:54px}.header-search-shell:focus-within{z-index:32}
.suggestions{position:absolute;left:0;right:0;top:calc(100% + 10px);z-index:40;background:var(--surface);color:var(--ink);border:1px solid var(--line);border-radius:22px;padding:8px;box-shadow:0 18px 65px #10192f22;max-height:min(520px,70dvh);overflow:auto;overscroll-behavior:contain}
.suggestions[hidden]{display:none}.suggestions [role=option]{display:flex;align-items:center;gap:12px;border:0;background:none;color:inherit;width:100%;text-align:left;padding:10px 12px;border-radius:14px;text-decoration:none;font:inherit;cursor:pointer;min-height:44px}
.suggestions [role=option]:hover,.suggestions [role=option][aria-selected=true]{background:var(--soft)}.suggestions [role=option] img{width:45px;height:45px;border-radius:12px;object-fit:cover;flex-shrink:0}.suggestions strong{display:block;font-size:13px;font-weight:600;line-height:1.3}.suggestions small{display:block;font-size:11px;color:var(--muted);margin-top:4px;line-height:1.4}.suggestion-copy{flex:1;min-width:0}.suggestion-price{font-size:12px;white-space:nowrap;font-weight:600}.suggestion-heading{display:block;padding:10px 12px 4px;font-size:10px;letter-spacing:.1em;text-transform:uppercase;color:var(--muted)}.suggestions .suggestion-all{justify-content:center;border-top:1px solid var(--line);border-radius:0;color:var(--green);font-size:12px;margin-top:5px}.suggestions .suggestion-message{padding:12px;font-size:12px;line-height:1.5;color:var(--muted)}
.category-tiles{grid-template-columns:repeat(5,minmax(0,1fr));gap:15px}.category-tiles>a{padding:23px 20px}.category-tiles h3{font:600 21px/1.16 system-ui;letter-spacing:-.04em}.category-tiles svg{width:32px;height:32px;stroke-width:1.5}.category-tiles span{font-size:12px;line-height:1.6}
.finder{padding:24px;margin-bottom:24px}.finder h1{font-size:31px}.finder .eyebrow{font-size:9px}.finder>p{font-size:12px;margin-bottom:14px}.filter-row{display:grid;grid-template-columns:minmax(210px,1.5fr) repeat(4,minmax(110px,1fr));align-items:start;gap:12px}.filter-row>label{min-width:0;margin:0}.filter-row label>span{display:block;font:650 9px/1.4 system-ui;letter-spacing:.07em;margin-bottom:7px;color:var(--muted)}.filter-row select{width:100%;height:44px;padding:10px;font:12px system-ui;min-width:0}.filter-row>.button{grid-column:1;padding:10px 22px;min-height:42px;justify-content:center;font-size:12px}.filter-row>.filter-reset{grid-column:2;min-height:42px;font-size:12px;justify-content:flex-start}.settlement-field{min-width:0}.settlement-input{position:relative}.settlement-input input[type=search]{width:100%;min-width:0;height:44px;border:1px solid var(--line);border-radius:12px;background:var(--bg);color:var(--ink);padding:10px 12px;font:12px system-ui;outline-offset:2px}.settlement-field>small{display:block;color:var(--muted);font-size:10px;line-height:1.5;margin-top:6px;min-height:15px}.settlement-field .settlement-options{width:max(100%,350px);max-width:calc(100vw - 50px)}.settlement-options [role=option]{display:block}.settlement-options .suggestion-source{font-size:9px;line-height:1.5;padding:8px 12px;border-top:1px solid var(--line);color:var(--muted)}.settlement-options .suggestion-source a{text-decoration:underline}.catalog-groups{display:flex;flex-wrap:wrap;gap:8px;margin-top:20px;padding-top:18px;border-top:1px solid var(--line)}.catalog-group{display:flex;align-items:center;gap:7px;font-size:11px;font-weight:600;border:1px solid var(--line);padding:9px 12px;border-radius:12px;background:var(--bg)}.catalog-group svg{width:18px;height:18px;color:var(--green)}.catalog-group:hover,.catalog-group.is-active{background:var(--soft);border-color:var(--green)}.catalog-subgroups{display:flex;flex-wrap:wrap;gap:8px 18px;padding:15px 3px 0;font-size:12px;color:var(--green)}
/* More plants per screen; home collections retain four columns. */
.woocommerce .woo-page ul.products{grid-template-columns:repeat(5,minmax(0,1fr));gap:18px 15px}
.woocommerce ul.products li.product{display:flex;flex-direction:column}
.woocommerce .woo-page ul.products li.product{padding:7px 7px 15px!important;border-radius:22px}
.woocommerce .woo-page ul.products li.product h3{font-family:inherit;font-size:18px;line-height:1.3;min-height:47px;margin:5px 9px!important}
.woocommerce .woo-page ul.products li.product .card-category{font-size:9px;margin:13px 9px 0!important}
.woocommerce .woo-page ul.products li.product .card-stock{font-size:11px;margin:8px 9px 11px!important}
.woocommerce ul.products li.product .card-bottom{margin-top:auto!important}.woocommerce .woo-page ul.products li.product .card-bottom{margin-inline:9px!important;padding-top:12px;gap:10px;flex-wrap:wrap}
.woocommerce .woo-page ul.products li.product .price{font-size:17px;gap:5px;letter-spacing:-.035em}
.woocommerce ul.products li.product .card-bottom .purchase-open{display:inline-flex;align-items:center;justify-content:space-between;gap:14px;width:auto;background:var(--soft);color:var(--green);border:1px solid color-mix(in srgb,var(--green) 23%,transparent);border-radius:50px;padding:5px 5px 5px 15px;font:650 12px/1.2 system-ui;transition:background .2s,transform .2s,box-shadow .2s;margin:0}
.purchase-open .buy-plus{width:29px;height:29px;border-radius:50%;display:grid;place-items:center;background:var(--green);color:var(--button-ink);transition:transform .25s}.purchase-open .buy-plus svg{width:15px;height:15px;stroke-width:2}.woocommerce ul.products li.product .card-bottom .purchase-open:hover{background:color-mix(in srgb,var(--green) 12%,var(--surface));box-shadow:0 3px 10px #15221812}.purchase-open:hover .buy-plus{transform:rotate(90deg)}
.woocommerce div.product div.images .woocommerce-product-gallery__image>.plant-photo{height:clamp(300px,33vw,430px)}
.woocommerce div.product div.images .woocommerce-product-gallery__image img:not(.zoomImg){object-fit:cover;object-position:center;width:100%;height:100%;max-height:none}
/* Success occupies the existing heading; adding never grows the dialog. */
#purchase-dialog{width:min(850px,calc(100% - 24px));max-height:calc(100dvh - 24px);scrollbar-width:none}
#purchase-dialog::-webkit-scrollbar{width:0;height:0}
#purchase-dialog .dialog-panel{padding:24px}
#purchase-dialog .dialog-heading{margin-bottom:16px;min-height:36px}
#purchase-dialog [data-purchase-status]{font-size:10px;font-weight:650;letter-spacing:.09em}
#purchase-dialog .purchase-layout{grid-template-columns:minmax(160px,.75fr) minmax(0,1.25fr);gap:24px}
#purchase-dialog .purchase-visual img{height:clamp(170px,29vh,270px);aspect-ratio:auto;object-fit:cover;object-position:center;border-radius:19px}
#purchase-dialog .purchase-visual p{font-size:10px;line-height:1.5;margin:9px 0 0}
#purchase-dialog .purchase-details h2{font-size:25px;line-height:1.12;margin:0 0 7px}
#purchase-dialog .purchase-sku{margin:0 0 13px;font-size:10px}
#purchase-dialog .purchase-details h3{margin-bottom:9px;font-size:13px}
#purchase-dialog .purchase-facts>div{padding:8px 0;gap:12px;font-size:11px;line-height:1.4;grid-template-columns:1fr 1.2fr}
#purchase-dialog .purchase-help{font-size:10px;margin-top:12px}
#purchase-dialog .purchase-order{margin-top:18px;padding-top:16px;gap:15px}
#purchase-dialog .purchase-order .eyebrow{font-size:8px}
#purchase-dialog .purchase-order .price,#purchase-dialog .purchase-total strong{font-size:22px;margin-top:5px}
#purchase-dialog .purchase-quantity input{padding:8px 9px;width:70px}
#purchase-dialog .purchase-actions{margin-top:17px;gap:18px}
#purchase-dialog .purchase-actions .purchase-confirm{min-height:46px;font:600 13px/1.4 system-ui;padding:12px 18px;border-radius:50px}
#purchase-dialog .purchase-actions .added_to_cart{display:none!important}
#purchase-dialog .purchase-full-link{font-size:11px}
#purchase-dialog.purchase-success [data-purchase-status]{color:var(--green)}
#purchase-dialog.purchase-success .dialog-close{background:var(--soft);color:var(--green);border-color:var(--green);animation:close-nudge 1.4s ease-in-out 2}
@keyframes close-nudge{0%,100%{box-shadow:0 0 0 0 transparent}50%{box-shadow:0 0 0 7px color-mix(in srgb,var(--green) 15%,transparent);transform:scale(1.04)}}
#purchase-dialog.purchase-compact .dialog-panel{padding:17px 21px}
#purchase-dialog.purchase-compact .purchase-visual img{height:150px}
#purchase-dialog.purchase-compact .purchase-layout{grid-template-columns:160px minmax(0,1fr);gap:20px}
#purchase-dialog.purchase-compact .purchase-details h2{font-size:21px}
#purchase-dialog.purchase-compact .purchase-facts>div{padding:6px 0;font-size:10px}
#purchase-dialog.purchase-compact .purchase-sku{margin-bottom:9px}
#purchase-dialog.purchase-compact .purchase-order{margin-top:12px;padding-top:10px}
#purchase-dialog.purchase-compact .purchase-actions{margin-top:12px}
@media(max-width:1150px){.site-header .masthead{grid-template-columns:125px auto minmax(140px,1fr) 54px;gap:14px}.category-tiles{grid-template-columns:repeat(3,minmax(0,1fr))}.woocommerce .woo-page ul.products{grid-template-columns:repeat(4,minmax(0,1fr))}.filter-row{grid-template-columns:repeat(3,minmax(0,1fr))}.settlement-field{grid-column:span 1}.filter-row>.button,.filter-row>.filter-reset{grid-column:auto}.category-tiles>a{min-height:180px}}
@media(max-width:850px){.site-header .masthead{grid-template-columns:minmax(110px,1fr) auto 45px;gap:12px;min-height:0;padding-block:7px 14px}.site-header .masthead .brand-clean{height:76px;width:110px;min-width:0}.site-header .brand-clean img{width:106px;height:76px}.site-header .masthead .catalog-button{min-width:115px;min-height:45px;justify-self:end}.site-header .masthead .cart-button{width:40px;min-width:40px;height:45px}.header-search-shell{grid-row:2;grid-column:1/-1;width:100%}.header-search-shell .header-search{height:51px}.woocommerce .woo-page ul.products{grid-template-columns:repeat(3,minmax(0,1fr));gap:15px 12px}.filter-row{grid-template-columns:repeat(2,minmax(0,1fr))}.settlement-field{grid-column:1/-1}.settlement-field .settlement-options{width:100%}.catalog-groups{gap:6px}.catalog-group{padding:8px 10px;font-size:10px}.category-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}.category-tiles>a:last-child{grid-column:1/-1;min-height:0}.category-tiles h3{font-size:20px}.woocommerce .woo-page ul.products li.product h3{font-size:16px}.woocommerce .woo-page ul.products li.product .price{font-size:16px}.woocommerce ul.products li.product .card-bottom .purchase-open{font-size:11px;gap:10px;padding-left:12px}.purchase-open .buy-plus{width:25px;height:25px}}
@media(max-width:560px){.woocommerce .woo-page ul.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px 10px}.woocommerce .woo-page ul.products li.product{padding:5px 5px 12px!important;border-radius:19px}.woocommerce .woo-page ul.products li.product h3{font-size:14px;min-height:55px;margin-inline:6px!important;letter-spacing:-.025em}.woocommerce .woo-page ul.products li.product .card-category{font-size:8px;margin-inline:6px!important}.woocommerce .woo-page ul.products li.product .card-stock{font-size:10px;margin-inline:6px!important}.woocommerce .woo-page ul.products li.product .price{font-size:15px}.woocommerce .woo-page ul.products li.product .card-bottom{margin-inline:6px!important;gap:8px}.woocommerce ul.products li.product .card-bottom .purchase-open{width:100%;padding:5px 5px 5px 13px;font-size:11px}.finder{padding:17px;margin:12px 0 22px}.finder h1{font-size:25px}.finder>.eyebrow{font-size:8px}.finder>p{font-size:11px}.catalog-group svg{width:15px;height:15px}.catalog-group{font-size:9px;gap:5px;padding:7px 9px}.filter-row{gap:10px}.filter-row select{font-size:11px}.settlement-input input[type=search]{font-size:13px}.suggestions{border-radius:19px}.suggestions strong{font-size:12px}.suggestions [role=option]{padding:9px;gap:9px}.suggestion-price{font-size:10px}.suggestions [role=option] img{width:39px;height:43px}.category-tiles h3{font-size:19px}.category-tiles>a{min-height:182px;padding:19px}.category-tiles span{font-size:11px}
#purchase-dialog .dialog-panel{padding:18px}#purchase-dialog .dialog-heading{margin-bottom:13px}#purchase-dialog [data-purchase-status]{font-size:8px;letter-spacing:.04em}#purchase-dialog .purchase-layout{grid-template-columns:76px minmax(0,1fr);gap:15px}#purchase-dialog .purchase-visual img{height:100px;border-radius:14px}#purchase-dialog .purchase-visual p{font-size:8px;line-height:1.45}#purchase-dialog .purchase-details h2{font-size:20px}#purchase-dialog .purchase-sku{font-size:9px;margin-bottom:10px}#purchase-dialog .purchase-details h3{font-size:12px}#purchase-dialog .purchase-facts>div{display:block;font-size:10px;padding:6px 0}#purchase-dialog .purchase-facts dd{margin-top:2px;text-align:left}#purchase-dialog .purchase-help{font-size:9px;line-height:1.45;margin-top:9px}#purchase-dialog .purchase-order{margin-top:13px;padding-top:12px;gap:8px}#purchase-dialog .purchase-order .price,#purchase-dialog .purchase-total strong{font-size:18px}#purchase-dialog .purchase-quantity input{width:56px;padding:7px;font-size:14px}#purchase-dialog .purchase-quantity{font-size:9px!important}#purchase-dialog .purchase-order .eyebrow{font-size:7px}#purchase-dialog .purchase-actions{gap:10px;margin-top:13px}#purchase-dialog .purchase-full-link{font-size:10px}#purchase-dialog .purchase-actions .purchase-confirm{font-size:12px;min-height:44px}
#purchase-dialog.purchase-compact .purchase-layout{grid-template-columns:60px minmax(0,1fr);gap:12px}#purchase-dialog.purchase-compact .purchase-visual img{height:75px}#purchase-dialog.purchase-compact .purchase-details h2{font-size:17px}#purchase-dialog.purchase-compact .purchase-facts>div{display:grid;grid-template-columns:1fr 1fr;font-size:9px;padding:5px 0;gap:7px}#purchase-dialog.purchase-compact .purchase-facts dd{margin:0}#purchase-dialog.purchase-compact .purchase-visual p{font-size:7px}#purchase-dialog.purchase-compact .dialog-panel{padding:14px}#purchase-dialog.purchase-compact .purchase-sku{margin-bottom:7px}}
@media(prefers-reduced-motion:reduce){.purchase-open .buy-plus{transition:none}#purchase-dialog.purchase-success .dialog-close{animation:none;box-shadow:0 0 0 4px color-mix(in srgb,var(--green) 15%,transparent)}}

.woocommerce .woo-page ul.products .product-image{aspect-ratio:1.05;flex-shrink:0}

:root[data-theme=dark] .site-header .brand-clean img{background:transparent;border-radius:0;padding:0}
.finder h1{margin:9px 0 18px;line-height:1.12;letter-spacing:-.04em}.finder .catalog-groups{border:0;padding:0;margin:0}.catalog-filters{margin-top:19px;border-top:1px solid var(--line);padding-top:15px}.catalog-filters>summary{cursor:pointer;font-size:12px;font-weight:650;color:var(--green)}.catalog-filters>summary>span{font-weight:400;color:var(--muted);font-size:10px;margin-left:15px}.catalog-filters[open]>summary{margin-bottom:15px}.woocommerce .woocommerce-result-count{font-size:12px}.woocommerce .woo-page>h1{display:none}
@media(max-width:560px){.finder h1{font-size:25px;max-width:320px}.catalog-filters>summary>span{display:block;margin-left:16px;margin-top:3px;font-size:9px}.catalog-filters{margin-top:13px;padding-top:12px}.catalog-filters>summary{font-size:11px}.finder .catalog-groups{gap:6px}}
