.cart-open{font:inherit;cursor:pointer;border:1px solid #dedbd7;background:#fff;border-radius:30px;padding:10px 15px;white-space:nowrap}.cart-count{display:inline-grid;place-items:center;background:#1b1b1b;color:#fff;border-radius:50%;font-size:11px;width:20px;height:20px;margin-left:4px}.cart-open:hover{background:#eeeae5}.cart-add{font:inherit;cursor:pointer}.mobile-cart{display:none}@media(max-width:700px){.mobile-cart{display:block}.bottom-nav a[href='#about']{display:none}}
/* Спокойная компактная карточка каталога. */
.card{display:flex;flex-direction:column}
.card>a{display:block}
.card-art{border-radius:12px}
.card .brand{margin-top:16px}
.card h3{line-height:1.25;margin:7px 0 14px;overflow-wrap:anywhere}
.card .flavor{line-height:1.45;margin:-5px 0 13px}
.card .image-disclosure{margin:-5px 0 14px;min-height:1.4em}
.spec-mini{gap:12px 10px;padding:14px 0 0;line-height:1.4;grid-template-columns:repeat(2,minmax(0,1fr))}
.spec-mini>div{min-width:0;overflow-wrap:break-word}
.spec-mini strong{margin-top:3px}
.card .cart-add{display:flex;justify-content:space-between;align-items:center;gap:6px;min-height:42px;margin-top:auto;padding:10px 12px;border:1px solid #dcd9d3;border-radius:10px;background:#fff;font-size:12px;font-weight:600;line-height:1.2;text-align:left;transition:background .2s,border-color .2s}
.card .cart-add::after{content:'+';display:grid;place-items:center;flex:none;width:23px;height:23px;border-radius:50%;background:#f2f0ed;font-size:17px;font-weight:400;line-height:1}
.card .cart-add:hover{background:#f2f0ed;border-color:#aaa6a0}
.card .cart-add:focus-visible{outline:2px solid #242424;outline-offset:3px}
.card .spec-mini{margin-bottom:16px}
@media(max-width:700px){.card-art{border-radius:9px}.card .brand{margin-top:13px}.card h3{font-size:14px}.card .flavor{font-size:11px}.card .cart-add{font-size:11px;padding:9px 10px;min-height:40px}.spec-mini{gap:10px 8px}}

/* Чёткие контуры сохраняют лёгкий чёрно-белый стиль. */
.card-art{border:1px solid #242424}
.card .spec-mini{border-top-color:#777}
.card .cart-add{border-color:#222;color:#151515}
.card .cart-add::after{background:#1d1d1d;color:#fff}
.card .cart-add:hover{background:#1d1d1d;border-color:#1d1d1d;color:#fff}
.card .cart-add:hover::after{background:#fff;color:#1d1d1d}

/* Изображение и описание объединены в единую карточку. */
.card{background:#fff;border:1px solid #242424;border-radius:12px;overflow:hidden}
.card-art{border:0;border-radius:0;border-bottom:1px solid #dedbd6}
.card .brand,.card h3,.card .flavor,.card .image-disclosure{margin-left:12px;margin-right:12px}
.card .brand{margin-top:11px}
.card h3{margin-top:6px;margin-bottom:10px}
.card .flavor{margin-top:0;margin-bottom:7px}
.card .image-disclosure{margin-top:0;margin-bottom:10px}
.card .spec-mini{margin:0 12px 12px;padding-top:10px}
.card .cart-add{width:calc(100% - 24px);margin: auto 12px 12px}
@media(max-width:700px){.card{border-radius:10px}.card-art{border-radius:0}.card .brand{margin-top:9px}.card .brand,.card h3,.card .flavor,.card .image-disclosure{margin-left:10px;margin-right:10px}.card .spec-mini{margin:0 10px 10px}.card .cart-add{width:calc(100% - 20px);margin: auto 10px 10px}}

@media(max-width:700px){
  .card-art{aspect-ratio:1.2 / 1}
  .card .brand{margin-top:8px}
  .card h3{margin-top:4px;margin-bottom:6px;line-height:1.2}
  .card .flavor{margin-bottom:5px}
  .card .image-disclosure{margin-bottom:7px}
  .card .spec-mini{display:block;padding-top:7px;margin-bottom:9px}
  .card .spec-mini>div:not(:first-child){display:none}
  .card .spec-mini strong{display:inline;margin-left:4px}
  .card .cart-add{min-height:36px;padding:7px 9px}
  .card .cart-add::after{width:21px;height:21px}
}

/* Плавающая корзина и мобильная панель */
.floating-cart{position:fixed;right:24px;bottom:24px;z-index:20;display:grid;place-items:center;width:54px;height:54px;padding:0;border:1px solid #745196;border-radius:50%;background:#674589;color:#fff;box-shadow:0 8px 24px #39224f42;cursor:pointer}
.floating-cart[hidden]{display:none}
.floating-cart svg{width:25px;height:25px}
.floating-cart .cart-count{position:absolute;top:-4px;right:-4px;margin:0;min-width:20px;height:20px;width:auto;padding:0 5px;background:#fff;color:#51346d;border:1px solid #674589;font-size:10px;font-weight:700}
.floating-cart:focus-visible,.cart-continue:focus-visible,.cart-remove:focus-visible,.qty button:focus-visible{outline:2px solid #674589;outline-offset:3px}
.floating-cart{width:62px;border-radius:999px}
@media(max-width:700px){.floating-cart{width:58px}}

