@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Sora:wght@300;400;500;600&display=swap');

:root {
    --bg: #05070f;
    --panel: rgba(12, 16, 27, 0.92);
    --card: rgba(16, 21, 34, 0.92);
    --stroke: rgba(255, 255, 255, 0.08);
    --accent: #53f3c3;
    --accent-2: #6fc1ff;
    --text: #e9f1ff;
    --muted: #9fb2d9;
    --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
    --glow: 0 15px 50px rgba(83, 243, 195, 0.25);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Sora', 'Space Grotesk', sans-serif;
    background: radial-gradient(circle at 20% 20%, rgba(83, 243, 195, 0.06), transparent 36%), var(--bg);
    color: var(--text);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

.ambient {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.ambient span {
    position: absolute;
    filter: blur(80px);
    opacity: 0.35;
}

.ambient .blur-1 {
    width: 380px;
    height: 380px;
    background: var(--accent);
    top: -80px;
    left: -60px;
}

.ambient .blur-2 {
    width: 320px;
    height: 320px;
    background: var(--accent-2);
    bottom: -60px;
    right: 0;
}

.wrapper {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 28px 20px 80px;
    overflow-x: hidden;
}

html, body {
    overflow-x: hidden;
}

.hero {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 20px;
    margin-bottom: 24px;
}

.hero-card,
.hero-copy {
    background: linear-gradient(145deg, rgba(14, 18, 32, 0.95), rgba(11, 15, 26, 0.9));
    border: 1px solid var(--stroke);
    border-radius: 18px;
    padding: 22px 20px;
    box-shadow: var(--shadow), var(--glow);
    backdrop-filter: blur(12px);
}

.hero-copy h1 {
    font-family: 'Space Grotesk', 'Sora', sans-serif;
    font-size: clamp(32px, 4vw, 44px);
    margin: 6px 0 10px;
    letter-spacing: -0.02em;
}

.hero-copy p {
    color: var(--muted);
    line-height: 1.6;
    margin: 0 0 14px;
}

.eyebrow {
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-size: 12px;
    color: var(--accent);
    margin: 0;
}

.hero-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 12px 0;
}

.hero-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.hero-card h3 {
    margin: 8px 0 6px;
    font-size: 18px;
    letter-spacing: -0.01em;
}

.hero-card p {
    color: var(--muted);
    margin: 0 0 14px;
    line-height: 1.5;
}

.hero-card__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 10px;
}

.hero-card__list li {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text);
    font-weight: 500;
}

.hero-card__list li span {
    display: inline-flex;
    width: 28px;
    height: 28px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--stroke);
}

.toolbar {
    position: sticky;
    top: 0;
    z-index: 15;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    background: rgba(7, 10, 18, 0.9);
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid var(--stroke);
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
    margin-bottom: 18px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}

.logo-img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    display: block;
}

.logo-title {
    margin: 0;
    font-weight: 700;
    font-size: 14px;
}

.categories {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    flex: 1;
}

.toolbar-actions {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: flex-end;
}

.toolbar-actions input[type="search"] {
    max-width: 260px;
    width: 100%;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid var(--stroke);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
}

.toolbar-actions input[type="search"]::placeholder {
    color: var(--muted);
}

.autoplay-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.segmented {
    display: inline-flex;
    border: 1px solid var(--stroke);
    border-radius: 12px;
    overflow: hidden;
}

.seg-option {
    background: rgba(255, 255, 255, 0.03);
    color: var(--text);
    border: none;
    padding: 8px 12px;
    cursor: pointer;
    font-weight: 700;
    letter-spacing: 0.02em;
    transition: all 0.2s ease;
}

.seg-option:hover {
    color: var(--accent);
}

.seg-option.active {
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #05070f;
    box-shadow: var(--glow);
}

.theme-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.floating-autoplay {
    position: fixed;
    right: 20px;
    bottom: 140px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 14px;
    background: rgba(7, 10, 18, 0.9);
    border: 1px solid var(--stroke);
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
    z-index: 32;
}

.floating-autoplay .label {
    font-size: 13px;
}

.floating-layout {
    position: fixed;
    right: 20px;
    bottom: 200px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 14px;
    background: rgba(7, 10, 18, 0.9);
    border: 1px solid var(--stroke);
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
    z-index: 32;
}

.floating-layout .label {
    font-size: 13px;
}

.mobile-dock {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 12px;
    background: rgba(7, 10, 18, 0.9);
    border-top: 1px solid var(--stroke);
    box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(12px);
    z-index: 35;
}

.mobile-dock .dock-group {
    display: grid;
    gap: 6px;
    min-width: 0;
}

.floating-stealth {
    position: fixed;
    right: 20px;
    bottom: 70px;
    display: grid;
    gap: 8px;
    align-items: center;
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(7, 10, 18, 0.9);
    border: 1px solid var(--stroke);
    box-shadow: var(--shadow);
    z-index: 33;
}

.vibe-control {
    display: grid;
    gap: 6px;
}

#vibe-overlay {
    position: fixed;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(circle at 30% 30%, rgba(83, 243, 195, 0.07), transparent 40%),
        radial-gradient(circle at 70% 70%, rgba(111, 193, 255, 0.07), transparent 40%);
    mix-blend-mode: screen;
    opacity: 0;
    transition: opacity 0.4s ease, filter 0.4s ease;
    z-index: 3;
}

#vibe-overlay.rain {
    opacity: 0.65;
    background: repeating-linear-gradient(
        120deg,
        rgba(83, 243, 195, 0.08),
        rgba(83, 243, 195, 0.08) 2px,
        rgba(83, 243, 195, 0.01) 6px,
        rgba(83, 243, 195, 0.01) 12px
    );
    filter: blur(1px);
}

#vibe-overlay.desert {
    opacity: 0.55;
    background: radial-gradient(circle at 20% 20%, rgba(255, 200, 120, 0.12), transparent 35%),
        radial-gradient(circle at 70% 60%, rgba(255, 130, 80, 0.1), transparent 45%);
    filter: blur(0.5px) saturate(1.1);
}

.stealth-active body,
.stealth-active .wrapper,
.stealth-active .hero,
.stealth-active main,
.stealth-active .toolbar,
.stealth-active .product-grid,
.stealth-active .cart-panel {
    filter: blur(10px);
    pointer-events: none;
}

.stealth-active #stealth-banner {
    opacity: 1;
    visibility: visible;
}

#stealth-banner {
    position: fixed;
    inset: 0;
    background: rgba(5, 7, 15, 0.96);
    color: var(--text);
    display: grid;
    place-items: center;
    z-index: 40;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.stealth-hint {
    padding: 16px 20px;
    border: 1px solid var(--stroke);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    text-align: center;
    max-width: 360px;
}
.disclaimer-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(5, 7, 15, 0.82);
    backdrop-filter: blur(10px);
    display: grid;
    place-items: center;
    z-index: 50;
    padding: 16px;
}

.disclaimer-modal {
    max-width: 520px;
    width: 100%;
    background: rgba(14, 17, 28, 0.95);
    border: 1px solid var(--stroke);
    border-radius: 16px;
    padding: 20px;
    box-shadow: var(--shadow), var(--glow);
    display: grid;
    gap: 12px;
}

.disclaimer-modal h3 {
    margin: 0;
}

.disclaimer-modal p {
    margin: 0;
    color: var(--muted);
    line-height: 1.5;
}

.disclaimer-actions {
    display: grid;
    gap: 8px;
}
.category-btn {
    border: 1px solid var(--stroke);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text);
    border-radius: 12px;
    padding: 9px 12px;
    cursor: pointer;
    font-weight: 600;
    letter-spacing: 0.01em;
    transition: all 0.25s ease, transform 0.2s ease;
}

.category-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-1px);
}

.category-btn.active-category {
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #05070f;
    border-color: transparent;
    box-shadow: var(--glow);
}

.cart-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--stroke);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
    border-radius: 14px;
    padding: 10px 12px;
    cursor: pointer;
    font-weight: 700;
    transition: all 0.25s ease, transform 0.2s ease;
}

.cart-icon:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-1px);
}

.cart-count {
    display: inline-flex;
    min-width: 24px;
    height: 24px;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #05070f;
    font-size: 13px;
    font-weight: 800;
    box-shadow: var(--glow);
}

.cart-label {
    font-size: 13px;
    letter-spacing: 0.01em;
}

.section {
    margin-top: 12px;
}

.section-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.section-head h2 {
    margin: 6px 0 4px;
    font-size: 26px;
    letter-spacing: -0.01em;
}

.muted {
    color: var(--muted);
    margin: 0;
}

.legend {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 10px;
    border-radius: 999px;
    border: 1px solid var(--stroke);
    color: var(--text);
    background: rgba(255, 255, 255, 0.03);
    font-weight: 600;
    font-size: 13px;
}

.pill.accent {
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #05070f;
    border-color: transparent;
}

.pill.outline {
    border-color: rgba(255, 255, 255, 0.12);
    color: var(--muted);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 14px;
    width: 100%;
    align-items: stretch;
}

body[data-cols="1"] .product-grid {
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

body[data-cols="2"] .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

body[data-cols="4"] .product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

body[data-cols="6"] .product-grid {
    grid-template-columns: repeat(6, minmax(180px, 1fr));
    gap: 10px;
}

body[data-cols="6"] .product-card {
    padding: 12px;
    gap: 8px;
}

body[data-cols="6"] .product-card h3 {
    font-size: 15px;
}

body[data-cols="6"] .product-card p {
    font-size: 12px;
}

body[data-cols="6"] .pill {
    padding: 5px 8px;
    font-size: 12px;
}

body[data-cols="6"] .card-media {
    height: 140px;
}

body[data-cols="6"] .card-bottom {
    gap: 8px;
}

body[data-cols="6"] .card-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
}

body[data-cols="6"] .btn {
    padding: 9px 10px;
    font-size: 12px;
}

body[data-cols="6"] .price {
    font-size: 15px;
}

/* Hard cap for mobile to avoid horizontal scroll */
body.is-mobile .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

body.is-mobile[data-cols="1"] .product-grid {
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

body.is-mobile[data-cols="2"] .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.is-mobile[data-cols="4"] .product-grid,
body.is-mobile[data-cols="6"] .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.is-mobile .product-card {
    padding: 12px;
    gap: 8px;
}

body.is-mobile .product-card h3 {
    font-size: 16px;
    line-height: 1.2;
}

body.is-mobile .product-card p {
    font-size: 13px;
    line-height: 1.35;
}

.product-card {
    position: relative;
    background: var(--card);
    border: 1px solid var(--stroke);
    border-radius: 16px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    box-shadow: var(--shadow);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
    overflow: hidden;
    min-width: 0;
}

.product-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
    box-shadow: var(--shadow), var(--glow);
}

.product-card h3 {
    margin: 0;
    letter-spacing: -0.01em;
    font-size: 18px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.45;
    font-size: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-top {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    align-items: center;
}

.pill-group {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.fav-btn {
    border: 1px solid var(--stroke);
    background: rgba(255, 255, 255, 0.04);
    color: var(--muted);
    border-radius: 10px;
    width: 36px;
    height: 36px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.fav-btn.active {
    color: #ff8db7;
    border-color: #ff8db7;
    box-shadow: 0 0 0 4px rgba(255, 141, 183, 0.15);
}

.fav-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.card-media {
    width: 100%;
    aspect-ratio: 4 / 3;
    height: 220px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--stroke);
    background: radial-gradient(circle at 20% 20%, rgba(111, 193, 255, 0.2), rgba(83, 243, 195, 0.05));
    position: relative;
}

body.is-mobile .card-media {
    aspect-ratio: 4 / 5;
    height: 260px;
}

.card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    user-select: none;
    -webkit-user-drag: none;
}

.card-media video {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border: none;
    user-select: none;
}

.card-media::after {
    content: '';
    position: absolute;
    right: 8px;
    bottom: 8px;
    width: 110px;
    height: 54px;
    background: url('assets/tuscany-watermark.png') center center / contain no-repeat;
    opacity: 0.72;
    pointer-events: none;
    filter: drop-shadow(0 0 4px rgba(0,0,0,0.25));
}

.card-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    position: relative;
    margin-top: auto;
}

.card-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.options-menu {
    display: grid;
    gap: 6px;
    margin-top: 8px;
    padding: 8px;
    border-radius: 12px;
    border: 1px solid var(--stroke);
    background: rgba(255, 255, 255, 0.03);
}

.option-btn {
    width: 100%;
    text-align: left;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid var(--stroke);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
    cursor: pointer;
    font-weight: 700;
    transition: all 0.2s ease;
}

.option-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.option-btn:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.option-btn[aria-checked="true"] {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(83, 243, 195, 0.08);
}

.option-btn.best::after {
    content: '💎 best';
    float: right;
    font-size: 12px;
    color: #ffd166;
    font-weight: 800;
}

.price {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.01em;
    display: flex;
    align-items: center;
    gap: 6px;
}

.price::after {
    content: attr(data-badge);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 6px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--accent);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: 1px solid var(--stroke);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text);
    padding: 10px 14px;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
}

.btn:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-1px);
}

.btn.primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #05070f;
    border-color: transparent;
    box-shadow: var(--glow);
}

.btn.primary:hover {
    filter: brightness(1.05);
}

.btn.ghost {
    background: rgba(255, 255, 255, 0.04);
}

.btn.wide {
    width: 100%;
    justify-content: center;
}

.cart-panel {
    position: fixed;
    top: 96px;
    right: 24px;
    width: min(380px, calc(100% - 36px));
    max-height: calc(100vh - 120px);
    overflow: hidden;
    background: var(--panel);
    border: 1px solid var(--stroke);
    border-radius: 18px;
    box-shadow: var(--shadow), var(--glow);
    padding: 18px 16px;
    display: none;
    flex-direction: column;
    gap: 12px;
    backdrop-filter: blur(12px);
    z-index: 25;
}

.cart-panel.open {
    display: flex;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-header h3 {
    margin: 4px 0 0;
    letter-spacing: -0.01em;
}

.icon-btn {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    border: 1px solid var(--stroke);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
    cursor: pointer;
    transition: all 0.2s ease;
}

.icon-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.cart-items {
    overflow-y: auto;
    max-height: 380px;
    display: grid;
    gap: 10px;
    padding-right: 4px;
}

.cart-item {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 10px;
    padding: 10px;
    border: 1px solid var(--stroke);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
}

.cart-item img {
    width: 64px;
    height: 64px;
    border-radius: 10px;
    object-fit: cover;
    border: 1px solid var(--stroke);
}

.cart-info {
    display: grid;
    gap: 6px;
}

.cart-title {
    font-weight: 700;
    margin: 0;
}

.cart-meta {
    color: var(--muted);
    font-size: 13px;
}

.cart-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: space-between;
    flex-wrap: wrap;
}

.qty-btn {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    border: 1px solid var(--stroke);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
    font-weight: 800;
    cursor: pointer;
    transition: all 0.2s ease;
}

.qty-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.line-total {
    font-weight: 700;
    font-size: 15px;
}

.remove-btn {
    border: none;
    background: transparent;
    color: #ff7b7b;
    cursor: pointer;
    font-weight: 700;
}

.cart-footer {
    border-top: 1px solid var(--stroke);
    padding-top: 12px;
    display: grid;
    gap: 8px;
}

.total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    letter-spacing: -0.01em;
    font-size: 18px;
}

.empty {
    text-align: center;
    color: var(--muted);
    padding: 20px;
}

.floating-cta {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 14px;
    border: none;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #05070f;
    box-shadow: var(--glow), var(--shadow);
    cursor: pointer;
    z-index: 30;
}

.floating-telegram {
    position: fixed;
    bottom: 20px;
    left: 20px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 14px;
    border: 1px solid var(--stroke);
    background: rgba(7, 10, 18, 0.92);
    box-shadow: var(--shadow);
    color: var(--text);
    text-decoration: none;
    font-weight: 700;
    letter-spacing: -0.01em;
    z-index: 31;
    transition: all 0.2s ease;
}

.floating-telegram .tg-icon {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: linear-gradient(135deg, #2aabee, #0098d3);
    color: #05070f;
    font-weight: 800;
    box-shadow: var(--glow);
}

.floating-telegram .tg-label {
    font-size: 14px;
}

.floating-telegram:hover {
    border-color: var(--accent);
    color: var(--accent);
}

#toast-container {
    position: fixed;
    bottom: 90px;
    right: 20px;
    display: grid;
    gap: 8px;
    z-index: 40;
}

.toast {
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--stroke);
    color: var(--text);
    box-shadow: var(--shadow);
    animation: slide-up 0.25s ease;
}

/* Mobile mode tweak */
body.is-mobile .toolbar {
    position: static;
    top: auto;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 8px 0;
    margin-bottom: 10px;
}

body.is-mobile .categories {
    width: 100%;
    overflow-x: auto;
    gap: 8px;
    padding-bottom: 6px;
}

body.is-mobile .hero-actions {
    flex-direction: column;
    width: 100%;
}

body.is-mobile .mobile-dock {
    display: flex;
}

body.is-mobile .wrapper {
    padding-bottom: 160px;
}

body.is-mobile .mobile-dock [data-layout-cols="4"],
body.is-mobile .mobile-dock [data-layout-cols="6"] {
    display: none;
}
body.is-mobile .floating-cta {
    right: 12px;
    bottom: 12px;
}

body.is-mobile .floating-telegram {
    left: 12px;
    bottom: 90px;
}

body.is-mobile .floating-autoplay,
body.is-mobile .floating-layout {
    display: none;
}

@keyframes slide-up {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.hidden {
    display: none !important;
}

@media (max-width: 900px) {
    .hero {
        grid-template-columns: 1fr;
    }
    .toolbar {
        flex-direction: column;
        align-items: flex-start;
    }
    .toolbar-actions {
        width: 100%;
        gap: 10px;
        flex-wrap: wrap;
    }
    .toolbar-actions input[type="search"] {
        max-width: 100%;
    }
    .floating-autoplay {
        right: 12px;
        bottom: 140px;
        flex-wrap: wrap;
    }
    .cart-panel {
        right: 12px;
        left: 12px;
        width: auto;
    }
}

@media (max-width: 600px) {
    .hero-actions {
        flex-direction: column;
    }
    .card-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
    .cart-item {
        grid-template-columns: 1fr;
    }

    .card-media {
        aspect-ratio: 3 / 4;
    }
}
